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