abouolia
2492a5b043
chore(sdk): update OpenAPI spec and generated types
2026-03-27 14:37:15 +00:00
Ahmed Bouhuolia
2f45263263
feat(server): add Query DTOs for consistent filtering across modules
...
- Add GetBillsQuery.dto.ts, GetCreditNotesQuery.dto.ts, GetExpensesQuery.dto.ts
- Add GetItemCategoriesQuery.dto.ts, GetManualJournalsQuery.dto.ts
- Add GetPaymentsReceivedQuery.dto.ts, GetSaleEstimatesQuery.dto.ts
- Add GetSaleInvoicesQuery.dto.ts, GetSaleReceiptsQuery.dto.ts, GetVendorCreditsQuery.dto.ts
- Update DynamicFilterQuery.dto.ts with enhanced filter options
- Refactor controllers and services to use new Query DTOs
- Update SDK schema and sale-estimates types
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-15 08:50:15 +02:00
Ahmed Bouhuolia
6a2edd9417
Merge pull request #1039 from bigcapitalhq/settings-hooks
...
feat(sdk-ts): settings fetch utils
2026-03-14 23:31:14 +02:00
Ahmed Bouhuolia
8685d7ef18
feat(sdk-ts): settings fetch utils
2026-03-14 23:24:31 +02:00
Ahmed Bouhuolia
eff5f6b9f7
feat(sdk-ts): add exchange-rates SDK functions
...
- Add fetchLatestExchangeRate function to retrieve exchange rates
- Add ExchangeRateLatestQuery and ExchangeRateLatestResponse types
- Export exchange-rates module from SDK index
2026-03-14 05:20:12 +02:00
Ahmed Bouhuolia
06d1cf3119
feat: add response DTOs for CreditNoteRefunds and Resource modules
...
- Add ResourceMetaResponse DTO for resource metadata
- Update CreditNoteRefunds service with proper types
- Regenerate SDK types from updated OpenAPI schema
- Update SDK bank-rules, credit-notes, and organization modules
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-10 23:19:22 +02:00
Ahmed Bouhuolia
48e41da345
Merge pull request #1033 from bigcapitalhq/feat/credit-note-sdk-ts-utils
...
feat: add response DTOs for credit note modules and SDK types
2026-03-09 07:18:36 +02:00
Ahmed Bouhuolia
b59f40d295
feat: add response DTOs for credit note modules and SDK types
2026-03-09 07:12:10 +02:00
Ahmed Bouhuolia
dddeb25923
feat(sdk-ts): add Payment Links, Stripe Integration, Plaid, Import and additional modules
2026-03-09 06:35:03 +02:00
Ahmed Bouhuolia
d5ba54fe5e
feat(sdk-ts): add JSON, CSV, XLSX, and PDF support to report functions
...
Add multi-format support to SDK-TS report functions:
- Add utility types: OpResponseBodyCsv, OpResponseBodyXlsx, OpResponseBodyPdf
- Create modular report structure in src/reports/ directory
- Implement 5 format functions for each of 18 reports:
- Table format (existing): fetch*Table()
- JSON format: fetch*Json()
- CSV format: fetch*Csv() (returns Blob)
- XLSX format: fetch*Xlsx() (returns Blob)
- PDF format: fetch*Pdf() (returns Blob)
Reports with multi-format support:
1. Balance Sheet
2. Trial Balance Sheet
3. Profit/Loss Sheet
4. Cashflow Statement
5. General Ledger
6. Journal
7. Receivable Aging Summary
8. Payable Aging Summary
9. Customer Balance Summary
10. Vendor Balance Summary
11. Transactions By Customers
12. Transactions By Vendors
13. Transactions By Reference
14. Sales By Items
15. Purchases By Items
16. Inventory Valuation
17. Inventory Item Details
18. Sales Tax Liability Summary
Backward compatibility maintained via reports.ts re-export.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-08 05:56:16 +02:00
Ahmed Bouhuolia
92363dd204
feat(sdk-ts): add dashboard and reports API clients with OpenAPI schema updates
...
Made-with: Cursor
2026-03-06 05:45:24 +02:00
Ahmed Bouhuolia
631df56cee
feat(sdk): add banking and vendor credits SDK utilities
...
- Add SDK types for bank rules, cashflow accounts, and vendor credits
- Update banking controllers with proper OpenAPI annotations
- Update vendor credits controllers with new endpoints and DTOs
- Enhance banking transaction handling for categorize, recognize, pending, and exclude operations
- Add vendor credit apply bills and refund functionality
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-05 23:06:44 +02:00
Ahmed Bouhuolia
4c059d610e
feat(sdk-ts): add authentication fetch utils
2026-03-05 19:50:38 +02:00
Ahmed Bouhuolia
ac8dcfed67
feat(sdk): enhance authentication and account management API endpoints
...
- Added new authentication routes for user sign-in, sign-up, and password reset functionalities.
- Updated account management routes to include bulk delete and validation for accounts.
- Refactored type definitions to utilize utility functions for better type safety and clarity.
- Introduced new methods for handling user authentication and account operations in the SDK.
2026-03-05 01:07:14 +02:00
Ahmed Bouhuolia
8960ea1ca2
feat(sdk): more sdk ts fetch utils
2026-03-04 06:26:04 +02:00
Ahmed Bouhuolia
e3c55c5d6f
feat(sdk): add OpenAPI export script and TypeScript SDK package
...
- Add export-openapi.ts script for server OpenAPI spec export
- Add shared/sdk-ts package with generated API clients (accounts, bills, customers, vendors, etc.)
- Update Customers and Vendors controllers
- Update ReportsEventsTracker
- Update .gitignore, package.json, and pnpm-lock
Made-with: Cursor
2026-03-03 23:26:24 +02:00
Ahmed Bouhuolia
0ef78a19fe
fix: credit note printing
2026-01-01 17:19:06 +02:00
Ahmed Bouhuolia
339289be9f
refactor(export): move PDF table template to shared package
2025-12-29 23:54:43 +02:00
Ahmed Bouhuolia
3cfb5cdde8
fix: reports pdf template
2025-12-12 23:38:48 +02:00
Ahmed Bouhuolia
8fd2ccc268
chore: update typecheck workflow to include shared packages and build step
2025-10-18 19:13:15 +02:00
Ahmed Bouhuolia
d640dc1f40
feat: add totalExcludingTax property and update GL entry calculations
2024-12-12 12:49:52 +02:00
Ahmed Bouhuolia
6323e2ffec
fix: line-level discount
2024-12-11 11:44:10 +02:00
Ahmed Bouhuolia
beec09788e
fix: discount & adjustment sale transactions bugs
2024-12-05 14:47:11 +02:00
Ahmed Bouhuolia
38f2004e56
fix: total lines style
2024-12-04 15:24:58 +02:00
Ahmed Bouhuolia
fabc88c81a
feat: add adjustment total in estimates, invoices, and receipts pdf templates
2024-12-03 23:38:27 +02:00
Ahmed Bouhuolia
d5dacaa988
feat: add discount and adjustment fields to email templates.
2024-12-03 13:20:19 +02:00
Ahmed Bouhuolia
dd1392cdc8
feat: add discount functionality to sales and purchase transactions
...
- Introduced discount_type and discount fields in Bills and SalesReceipts controllers.
- Updated database migrations to include discount and discount_type in estimates and credit notes tables.
- Enhanced SaleReceipt and SaleEstimate models to support discount attributes.
- Implemented formatting for discount amounts in transformers and PDF templates.
- Updated email templates to display discount information.
This commit enhances the handling of discounts across various transaction types, improving the overall functionality and user experience.
2024-11-30 14:46:56 +02:00
Ahmed Bouhuolia
4f57782be4
feat: change default mail template messages
2024-11-26 13:15:15 +02:00
Ahmed Bouhuolia
ca44d6346d
feat: wip preview mail receipt
2024-11-25 16:18:29 +02:00
Ahmed Bouhuolia
df41de7239
feat: payment received mail receipt
2024-11-25 11:51:13 +02:00
Ahmed Bouhuolia
3537a05ea2
feat: payment received mail preview
2024-11-24 13:19:26 +02:00
Ahmed Bouhuolia
c6db54175f
feat: add ssr email templates rendering
2024-11-19 17:14:13 +02:00
Ahmed Bouhuolia
f7bf24acb3
feat: email templates
2024-11-19 14:21:10 +02:00
Ahmed Bouhuolia
ddffe630ff
feat: email templates
2024-11-19 14:00:25 +02:00
Ahmed Bouhuolia
2c54092591
feat: wip email templates
2024-11-19 11:56:52 +02:00
Ahmed Bouhuolia
53ab40a075
feat: estimate, receipt, credit note mail preview
2024-11-17 15:45:55 +02:00
Ahmed Bouhuolia
d668d60ed5
fix: remove the vite types from pdf-templates package
2024-11-10 11:49:32 +02:00
Ahmed Bouhuolia
a34b7a2106
fix: remove vite from pdf-templates packakge
2024-11-10 11:47:09 +02:00
Ahmed Bouhuolia
b4e5bbf376
fix: invoice payment email storybook
2024-11-10 11:39:03 +02:00
Ahmed Bouhuolia
e9d34e19ad
fix: due invoice server invoice
2024-11-06 17:24:42 +02:00
Ahmed Bouhuolia
17a8aba23f
fix: style ssr invoice paper template
2024-11-06 11:51:04 +02:00
Ahmed Bouhuolia
b2d0f2ed3c
Merge branch 'develop' into add-pdf-templates-package
2024-11-05 17:19:50 +02:00
Ahmed Bouhuolia
d23f33bae4
feat: add style to SSR invoice paper template
2024-11-05 17:09:47 +02:00
Ahmed Bouhuolia
22ea557337
feat: wip invoice paper template server-side
2024-11-05 13:33:22 +02:00
Ahmed Bouhuolia
51aec8d8b3
feat: render server-side invoice pdf template using React server
2024-11-04 12:55:12 +02:00
Ahmed Bouhuolia
f2fcc3a649
fix: change default invoice mail message
2024-11-03 20:56:22 +02:00
Ahmed Bouhuolia
6687db4085
feat: add shared package to pdf templates to render in the server and client side
2024-11-03 17:31:17 +02:00
Ahmed Bouhuolia
12189f018d
feat: wip send invoice mail payment template
2024-10-28 18:33:16 +02:00
Ahmed Bouhuolia
0930b0428d
fix: tsconfig email-components package
2024-10-28 00:28:52 +02:00
Ahmed Bouhuolia
289f40014e
feat: invoice payment email template
2024-10-27 17:20:48 +02:00