feat(js-sdk): Add TurboQuote module
Open
@yacinekahlerras-turbodocx is already working on this.
Since Jul 21, 2026.
- Dominant language
- PHP
- Stars
- 1
- Forks
- 0
- Avg merge
- 12h 19m
- Merged PRs (30d)
- 2
Description
Summary
Add a TurboQuote module to the JS SDK with full UI parity for TurboQuote. This includes:
- 68 static methods across 12 entity groups: Quotes, Line Items, Products, Bundles, Price Books, Companies, Contacts, Templates, Types/Categories, Approval Workflows, and a
createAndSendconvenience method - 11 type files with full TypeScript types for all request/response shapes
- HttpClient extensions:
getRaw()for PDF download,postFormData()/patchFormData()for product image uploads - 70 unit tests covering all methods with mocked HttpClient
- DX-first design: minimal required fields, single-or-batch line items, direct parameters for simple ops, hidden API inconsistencies (e.g., template endpoint path mismatch)
Follow-up work
- Port to Python SDK
- Port to Go SDK
- Port to PHP SDK
- Port to Java SDK
- Add product image upload integration tests
- Add usage examples (
examples/turboquote-*.ts)
Design decisions
See the plan file and PR description for details on architecture choices (single static class, createAndSend convenience, skipSenderValidation, etc.)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.