@clientcasa/sdk 0.1.3 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +6 -4
- package/README.md +214 -166
- package/esm/funcs/calendar-events-create.d.ts +19 -0
- package/esm/funcs/calendar-events-create.d.ts.map +1 -0
- package/esm/funcs/calendar-events-create.js +96 -0
- package/esm/funcs/calendar-events-create.js.map +1 -0
- package/esm/funcs/calendar-events-delete.d.ts +15 -0
- package/esm/funcs/calendar-events-delete.d.ts.map +1 -0
- package/esm/funcs/calendar-events-delete.js +106 -0
- package/esm/funcs/calendar-events-delete.js.map +1 -0
- package/esm/funcs/calendar-events-get.d.ts +16 -0
- package/esm/funcs/calendar-events-get.d.ts.map +1 -0
- package/esm/funcs/calendar-events-get.js +107 -0
- package/esm/funcs/calendar-events-get.js.map +1 -0
- package/esm/funcs/calendar-events-list.d.ts +18 -0
- package/esm/funcs/calendar-events-list.d.ts.map +1 -0
- package/esm/funcs/calendar-events-list.js +142 -0
- package/esm/funcs/calendar-events-list.js.map +1 -0
- package/esm/funcs/calendar-events-update.d.ts +19 -0
- package/esm/funcs/calendar-events-update.d.ts.map +1 -0
- package/esm/funcs/calendar-events-update.js +111 -0
- package/esm/funcs/calendar-events-update.js.map +1 -0
- package/esm/funcs/catalog-items-create.d.ts +19 -0
- package/esm/funcs/catalog-items-create.d.ts.map +1 -0
- package/esm/funcs/catalog-items-create.js +96 -0
- package/esm/funcs/catalog-items-create.js.map +1 -0
- package/esm/funcs/catalog-items-delete.d.ts +15 -0
- package/esm/funcs/catalog-items-delete.d.ts.map +1 -0
- package/esm/funcs/catalog-items-delete.js +106 -0
- package/esm/funcs/catalog-items-delete.js.map +1 -0
- package/esm/funcs/catalog-items-get.d.ts +16 -0
- package/esm/funcs/catalog-items-get.d.ts.map +1 -0
- package/esm/funcs/catalog-items-get.js +107 -0
- package/esm/funcs/catalog-items-get.js.map +1 -0
- package/esm/funcs/catalog-items-list.d.ts +18 -0
- package/esm/funcs/catalog-items-list.d.ts.map +1 -0
- package/esm/funcs/catalog-items-list.js +142 -0
- package/esm/funcs/catalog-items-list.js.map +1 -0
- package/esm/funcs/catalog-items-update.d.ts +16 -0
- package/esm/funcs/catalog-items-update.d.ts.map +1 -0
- package/esm/funcs/catalog-items-update.js +108 -0
- package/esm/funcs/catalog-items-update.js.map +1 -0
- package/esm/funcs/clients-create.d.ts +16 -0
- package/esm/funcs/clients-create.d.ts.map +1 -0
- package/esm/funcs/clients-create.js +93 -0
- package/esm/funcs/clients-create.js.map +1 -0
- package/esm/funcs/clients-delete.d.ts +15 -0
- package/esm/funcs/clients-delete.d.ts.map +1 -0
- package/esm/funcs/clients-delete.js +106 -0
- package/esm/funcs/clients-delete.js.map +1 -0
- package/esm/funcs/clients-get.d.ts +16 -0
- package/esm/funcs/clients-get.d.ts.map +1 -0
- package/esm/funcs/clients-get.js +107 -0
- package/esm/funcs/clients-get.js.map +1 -0
- package/esm/funcs/clients-list.d.ts +18 -0
- package/esm/funcs/clients-list.d.ts.map +1 -0
- package/esm/funcs/clients-list.js +139 -0
- package/esm/funcs/clients-list.js.map +1 -0
- package/esm/funcs/clients-update.d.ts +16 -0
- package/esm/funcs/clients-update.d.ts.map +1 -0
- package/esm/funcs/clients-update.js +108 -0
- package/esm/funcs/clients-update.js.map +1 -0
- package/esm/funcs/contacts-create.d.ts +16 -0
- package/esm/funcs/contacts-create.d.ts.map +1 -0
- package/esm/funcs/contacts-create.js +93 -0
- package/esm/funcs/contacts-create.js.map +1 -0
- package/esm/funcs/contacts-delete.d.ts +15 -0
- package/esm/funcs/contacts-delete.d.ts.map +1 -0
- package/esm/funcs/contacts-delete.js +106 -0
- package/esm/funcs/contacts-delete.js.map +1 -0
- package/esm/funcs/contacts-get.d.ts +16 -0
- package/esm/funcs/contacts-get.d.ts.map +1 -0
- package/esm/funcs/contacts-get.js +107 -0
- package/esm/funcs/contacts-get.js.map +1 -0
- package/esm/funcs/contacts-list.d.ts +18 -0
- package/esm/funcs/contacts-list.d.ts.map +1 -0
- package/esm/funcs/contacts-list.js +140 -0
- package/esm/funcs/contacts-list.js.map +1 -0
- package/esm/funcs/contacts-update.d.ts +16 -0
- package/esm/funcs/contacts-update.d.ts.map +1 -0
- package/esm/funcs/contacts-update.js +108 -0
- package/esm/funcs/contacts-update.js.map +1 -0
- package/esm/funcs/contracts-create.d.ts +19 -0
- package/esm/funcs/contracts-create.d.ts.map +1 -0
- package/esm/funcs/contracts-create.js +96 -0
- package/esm/funcs/contracts-create.js.map +1 -0
- package/esm/funcs/contracts-delete.d.ts +15 -0
- package/esm/funcs/contracts-delete.d.ts.map +1 -0
- package/esm/funcs/contracts-delete.js +106 -0
- package/esm/funcs/contracts-delete.js.map +1 -0
- package/esm/funcs/contracts-get.d.ts +16 -0
- package/esm/funcs/contracts-get.d.ts.map +1 -0
- package/esm/funcs/contracts-get.js +107 -0
- package/esm/funcs/contracts-get.js.map +1 -0
- package/esm/funcs/contracts-list.d.ts +18 -0
- package/esm/funcs/contracts-list.d.ts.map +1 -0
- package/esm/funcs/contracts-list.js +140 -0
- package/esm/funcs/contracts-list.js.map +1 -0
- package/esm/funcs/contracts-update.d.ts +19 -0
- package/esm/funcs/contracts-update.d.ts.map +1 -0
- package/esm/funcs/contracts-update.js +111 -0
- package/esm/funcs/contracts-update.js.map +1 -0
- package/esm/funcs/form-submissions-get.d.ts +16 -0
- package/esm/funcs/form-submissions-get.d.ts.map +1 -0
- package/esm/funcs/form-submissions-get.js +107 -0
- package/esm/funcs/form-submissions-get.js.map +1 -0
- package/esm/funcs/form-submissions-list.d.ts +21 -0
- package/esm/funcs/form-submissions-list.d.ts.map +1 -0
- package/esm/funcs/form-submissions-list.js +145 -0
- package/esm/funcs/form-submissions-list.js.map +1 -0
- package/esm/funcs/forms-and-agreements-get.d.ts +16 -0
- package/esm/funcs/forms-and-agreements-get.d.ts.map +1 -0
- package/esm/funcs/forms-and-agreements-get.js +107 -0
- package/esm/funcs/forms-and-agreements-get.js.map +1 -0
- package/esm/funcs/forms-and-agreements-list.d.ts +18 -0
- package/esm/funcs/forms-and-agreements-list.d.ts.map +1 -0
- package/esm/funcs/forms-and-agreements-list.js +141 -0
- package/esm/funcs/forms-and-agreements-list.js.map +1 -0
- package/esm/funcs/forms-get.d.ts +16 -0
- package/esm/funcs/forms-get.d.ts.map +1 -0
- package/esm/funcs/forms-get.js +107 -0
- package/esm/funcs/forms-get.js.map +1 -0
- package/esm/funcs/forms-list.d.ts +18 -0
- package/esm/funcs/forms-list.d.ts.map +1 -0
- package/esm/funcs/forms-list.js +138 -0
- package/esm/funcs/forms-list.js.map +1 -0
- package/esm/funcs/invoices-create.d.ts +19 -0
- package/esm/funcs/invoices-create.d.ts.map +1 -0
- package/esm/funcs/invoices-create.js +96 -0
- package/esm/funcs/invoices-create.js.map +1 -0
- package/esm/funcs/invoices-delete.d.ts +15 -0
- package/esm/funcs/invoices-delete.d.ts.map +1 -0
- package/esm/funcs/invoices-delete.js +106 -0
- package/esm/funcs/invoices-delete.js.map +1 -0
- package/esm/funcs/invoices-get.d.ts +16 -0
- package/esm/funcs/invoices-get.d.ts.map +1 -0
- package/esm/funcs/invoices-get.js +107 -0
- package/esm/funcs/invoices-get.js.map +1 -0
- package/esm/funcs/invoices-list.d.ts +18 -0
- package/esm/funcs/invoices-list.d.ts.map +1 -0
- package/esm/funcs/invoices-list.js +140 -0
- package/esm/funcs/invoices-list.js.map +1 -0
- package/esm/funcs/invoices-update.d.ts +16 -0
- package/esm/funcs/invoices-update.d.ts.map +1 -0
- package/esm/funcs/invoices-update.js +108 -0
- package/esm/funcs/invoices-update.js.map +1 -0
- package/esm/funcs/milestones-create.d.ts +19 -0
- package/esm/funcs/milestones-create.d.ts.map +1 -0
- package/esm/funcs/milestones-create.js +96 -0
- package/esm/funcs/milestones-create.js.map +1 -0
- package/esm/funcs/milestones-delete.d.ts +15 -0
- package/esm/funcs/milestones-delete.d.ts.map +1 -0
- package/esm/funcs/milestones-delete.js +106 -0
- package/esm/funcs/milestones-delete.js.map +1 -0
- package/esm/funcs/milestones-get.d.ts +16 -0
- package/esm/funcs/milestones-get.d.ts.map +1 -0
- package/esm/funcs/milestones-get.js +107 -0
- package/esm/funcs/milestones-get.js.map +1 -0
- package/esm/funcs/milestones-list.d.ts +18 -0
- package/esm/funcs/milestones-list.d.ts.map +1 -0
- package/esm/funcs/milestones-list.js +141 -0
- package/esm/funcs/milestones-list.js.map +1 -0
- package/esm/funcs/milestones-update.d.ts +16 -0
- package/esm/funcs/milestones-update.d.ts.map +1 -0
- package/esm/funcs/milestones-update.js +108 -0
- package/esm/funcs/milestones-update.js.map +1 -0
- package/esm/funcs/payments-create.d.ts +19 -0
- package/esm/funcs/payments-create.d.ts.map +1 -0
- package/esm/funcs/payments-create.js +96 -0
- package/esm/funcs/payments-create.js.map +1 -0
- package/esm/funcs/payments-get.d.ts +16 -0
- package/esm/funcs/payments-get.d.ts.map +1 -0
- package/esm/funcs/payments-get.js +107 -0
- package/esm/funcs/payments-get.js.map +1 -0
- package/esm/funcs/payments-list.d.ts +18 -0
- package/esm/funcs/payments-list.d.ts.map +1 -0
- package/esm/funcs/payments-list.js +142 -0
- package/esm/funcs/payments-list.js.map +1 -0
- package/esm/funcs/payments-update.d.ts +16 -0
- package/esm/funcs/payments-update.d.ts.map +1 -0
- package/esm/funcs/payments-update.js +108 -0
- package/esm/funcs/payments-update.js.map +1 -0
- package/esm/funcs/payouts-get.d.ts +16 -0
- package/esm/funcs/payouts-get.d.ts.map +1 -0
- package/esm/funcs/payouts-get.js +107 -0
- package/esm/funcs/payouts-get.js.map +1 -0
- package/esm/funcs/payouts-list.d.ts +18 -0
- package/esm/funcs/payouts-list.d.ts.map +1 -0
- package/esm/funcs/payouts-list.js +141 -0
- package/esm/funcs/payouts-list.js.map +1 -0
- package/esm/funcs/projects-create.d.ts +16 -0
- package/esm/funcs/projects-create.d.ts.map +1 -0
- package/esm/funcs/projects-create.js +93 -0
- package/esm/funcs/projects-create.js.map +1 -0
- package/esm/funcs/projects-delete.d.ts +15 -0
- package/esm/funcs/projects-delete.d.ts.map +1 -0
- package/esm/funcs/projects-delete.js +106 -0
- package/esm/funcs/projects-delete.js.map +1 -0
- package/esm/funcs/projects-get.d.ts +16 -0
- package/esm/funcs/projects-get.d.ts.map +1 -0
- package/esm/funcs/projects-get.js +107 -0
- package/esm/funcs/projects-get.js.map +1 -0
- package/esm/funcs/projects-list.d.ts +18 -0
- package/esm/funcs/projects-list.d.ts.map +1 -0
- package/esm/funcs/projects-list.js +140 -0
- package/esm/funcs/projects-list.js.map +1 -0
- package/esm/funcs/projects-update.d.ts +16 -0
- package/esm/funcs/projects-update.d.ts.map +1 -0
- package/esm/funcs/projects-update.js +108 -0
- package/esm/funcs/projects-update.js.map +1 -0
- package/esm/funcs/time-entries-create.d.ts +16 -0
- package/esm/funcs/time-entries-create.d.ts.map +1 -0
- package/esm/funcs/time-entries-create.js +93 -0
- package/esm/funcs/time-entries-create.js.map +1 -0
- package/esm/funcs/time-entries-delete.d.ts +18 -0
- package/esm/funcs/time-entries-delete.d.ts.map +1 -0
- package/esm/funcs/time-entries-delete.js +109 -0
- package/esm/funcs/time-entries-delete.js.map +1 -0
- package/esm/funcs/time-entries-get.d.ts +16 -0
- package/esm/funcs/time-entries-get.d.ts.map +1 -0
- package/esm/funcs/time-entries-get.js +107 -0
- package/esm/funcs/time-entries-get.js.map +1 -0
- package/esm/funcs/time-entries-list.d.ts +18 -0
- package/esm/funcs/time-entries-list.d.ts.map +1 -0
- package/esm/funcs/time-entries-list.js +144 -0
- package/esm/funcs/time-entries-list.js.map +1 -0
- package/esm/funcs/time-entries-update.d.ts +19 -0
- package/esm/funcs/time-entries-update.d.ts.map +1 -0
- package/esm/funcs/time-entries-update.js +111 -0
- package/esm/funcs/time-entries-update.js.map +1 -0
- package/esm/funcs/transactions-create.d.ts +16 -0
- package/esm/funcs/transactions-create.d.ts.map +1 -0
- package/esm/funcs/transactions-create.js +93 -0
- package/esm/funcs/transactions-create.js.map +1 -0
- package/esm/funcs/transactions-delete.d.ts +18 -0
- package/esm/funcs/transactions-delete.d.ts.map +1 -0
- package/esm/funcs/transactions-delete.js +109 -0
- package/esm/funcs/transactions-delete.js.map +1 -0
- package/esm/funcs/transactions-get.d.ts +16 -0
- package/esm/funcs/transactions-get.d.ts.map +1 -0
- package/esm/funcs/transactions-get.js +107 -0
- package/esm/funcs/transactions-get.js.map +1 -0
- package/esm/funcs/transactions-list.d.ts +18 -0
- package/esm/funcs/transactions-list.d.ts.map +1 -0
- package/esm/funcs/transactions-list.js +141 -0
- package/esm/funcs/transactions-list.js.map +1 -0
- package/esm/funcs/transactions-update.d.ts +19 -0
- package/esm/funcs/transactions-update.d.ts.map +1 -0
- package/esm/funcs/transactions-update.js +111 -0
- package/esm/funcs/transactions-update.js.map +1 -0
- package/esm/funcs/webhooks-create.d.ts +19 -0
- package/esm/funcs/webhooks-create.d.ts.map +1 -0
- package/esm/funcs/webhooks-create.js +96 -0
- package/esm/funcs/webhooks-create.js.map +1 -0
- package/esm/funcs/webhooks-delete.d.ts +15 -0
- package/esm/funcs/webhooks-delete.d.ts.map +1 -0
- package/esm/funcs/webhooks-delete.js +106 -0
- package/esm/funcs/webhooks-delete.js.map +1 -0
- package/esm/funcs/webhooks-get.d.ts +16 -0
- package/esm/funcs/webhooks-get.d.ts.map +1 -0
- package/esm/funcs/webhooks-get.js +107 -0
- package/esm/funcs/webhooks-get.js.map +1 -0
- package/esm/funcs/webhooks-list.d.ts +18 -0
- package/esm/funcs/webhooks-list.d.ts.map +1 -0
- package/esm/funcs/webhooks-list.js +140 -0
- package/esm/funcs/webhooks-list.js.map +1 -0
- package/esm/funcs/webhooks-update.d.ts +19 -0
- package/esm/funcs/webhooks-update.d.ts.map +1 -0
- package/esm/funcs/webhooks-update.js +111 -0
- package/esm/funcs/webhooks-update.js.map +1 -0
- package/esm/hooks/types.d.ts +1 -0
- package/esm/hooks/types.d.ts.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/sdks.d.ts.map +1 -1
- package/esm/lib/sdks.js +13 -4
- package/esm/lib/sdks.js.map +1 -1
- package/esm/models/api-error.d.ts +29 -0
- package/esm/models/api-error.d.ts.map +1 -0
- package/esm/models/api-error.js +31 -0
- package/esm/models/api-error.js.map +1 -0
- package/esm/models/calendar-event-list.d.ts +13 -0
- package/esm/models/calendar-event-list.d.ts.map +1 -0
- package/esm/models/calendar-event-list.js +16 -0
- package/esm/models/calendar-event-list.js.map +1 -0
- package/esm/models/catalog-item-list.d.ts +13 -0
- package/esm/models/catalog-item-list.d.ts.map +1 -0
- package/esm/models/catalog-item-list.js +16 -0
- package/esm/models/catalog-item-list.js.map +1 -0
- package/esm/models/catalog-item.d.ts +17 -0
- package/esm/models/catalog-item.d.ts.map +1 -1
- package/esm/models/catalog-item.js +15 -0
- package/esm/models/catalog-item.js.map +1 -1
- package/esm/models/client-create.d.ts +5 -1
- package/esm/models/client-create.d.ts.map +1 -1
- package/esm/models/client-create.js +5 -1
- package/esm/models/client-create.js.map +1 -1
- package/esm/models/client-document-list.d.ts +13 -0
- package/esm/models/client-document-list.d.ts.map +1 -0
- package/esm/models/client-document-list.js +16 -0
- package/esm/models/client-document-list.js.map +1 -0
- package/esm/models/client-document.d.ts +70 -0
- package/esm/models/client-document.d.ts.map +1 -0
- package/esm/models/client-document.js +45 -0
- package/esm/models/client-document.js.map +1 -0
- package/esm/models/client-list.d.ts +13 -0
- package/esm/models/client-list.d.ts.map +1 -0
- package/esm/models/client-list.js +17 -0
- package/esm/models/client-list.js.map +1 -0
- package/esm/models/client-update.d.ts +5 -1
- package/esm/models/client-update.d.ts.map +1 -1
- package/esm/models/client-update.js +5 -1
- package/esm/models/client-update.js.map +1 -1
- package/esm/models/client.d.ts +5 -1
- package/esm/models/client.d.ts.map +1 -1
- package/esm/models/client.js +5 -1
- package/esm/models/client.js.map +1 -1
- package/esm/models/contact-list.d.ts +13 -0
- package/esm/models/contact-list.d.ts.map +1 -0
- package/esm/models/contact-list.js +17 -0
- package/esm/models/contact-list.js.map +1 -0
- package/esm/models/contact.d.ts +1 -1
- package/esm/models/contact.d.ts.map +1 -1
- package/esm/models/contact.js +1 -1
- package/esm/models/contact.js.map +1 -1
- package/esm/models/contract-create.d.ts +0 -5
- package/esm/models/contract-create.d.ts.map +1 -1
- package/esm/models/contract-create.js +0 -1
- package/esm/models/contract-create.js.map +1 -1
- package/esm/models/contract-list.d.ts +13 -0
- package/esm/models/contract-list.d.ts.map +1 -0
- package/esm/models/contract-list.js +16 -0
- package/esm/models/contract-list.js.map +1 -0
- package/esm/models/contract.d.ts +0 -4
- package/esm/models/contract.d.ts.map +1 -1
- package/esm/models/contract.js +0 -1
- package/esm/models/contract.js.map +1 -1
- package/esm/models/errors/api-error.d.ts +19 -0
- package/esm/models/errors/api-error.d.ts.map +1 -0
- package/esm/models/errors/api-error.js +33 -0
- package/esm/models/errors/api-error.js.map +1 -0
- package/esm/models/errors/index.d.ts +1 -0
- package/esm/models/errors/index.d.ts.map +1 -1
- package/esm/models/errors/index.js +1 -0
- package/esm/models/errors/index.js.map +1 -1
- package/esm/models/form-list.d.ts +13 -0
- package/esm/models/form-list.d.ts.map +1 -0
- package/esm/models/form-list.js +17 -0
- package/esm/models/form-list.js.map +1 -0
- package/esm/models/form-submission-answer.d.ts +12 -0
- package/esm/models/form-submission-answer.d.ts.map +1 -0
- package/esm/models/form-submission-answer.js +16 -0
- package/esm/models/form-submission-answer.js.map +1 -0
- package/esm/models/form-submission-list.d.ts +13 -0
- package/esm/models/form-submission-list.d.ts.map +1 -0
- package/esm/models/form-submission-list.js +16 -0
- package/esm/models/form-submission-list.js.map +1 -0
- package/esm/models/form-submission.d.ts +54 -0
- package/esm/models/form-submission.d.ts.map +1 -0
- package/esm/models/form-submission.js +38 -0
- package/esm/models/form-submission.js.map +1 -0
- package/esm/models/form.d.ts +36 -0
- package/esm/models/form.d.ts.map +1 -0
- package/esm/models/form.js +30 -0
- package/esm/models/form.js.map +1 -0
- package/esm/models/index.d.ts +21 -6
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +21 -6
- package/esm/models/index.js.map +1 -1
- package/esm/models/invoice-list.d.ts +13 -0
- package/esm/models/invoice-list.d.ts.map +1 -0
- package/esm/models/invoice-list.js +17 -0
- package/esm/models/invoice-list.js.map +1 -0
- package/esm/models/milestone-create.d.ts +1 -1
- package/esm/models/milestone-create.js +1 -1
- package/esm/models/milestone-create.js.map +1 -1
- package/esm/models/milestone-list.d.ts +13 -0
- package/esm/models/milestone-list.d.ts.map +1 -0
- package/esm/models/milestone-list.js +16 -0
- package/esm/models/milestone-list.js.map +1 -0
- package/esm/models/milestone.d.ts +1 -1
- package/esm/models/milestone.js +1 -1
- package/esm/models/milestone.js.map +1 -1
- package/esm/models/operations/create-calendar-event.d.ts +16 -0
- package/esm/models/operations/create-calendar-event.d.ts.map +1 -1
- package/esm/models/operations/create-calendar-event.js +14 -0
- package/esm/models/operations/create-calendar-event.js.map +1 -1
- package/esm/models/operations/create-catalog-item.d.ts +16 -0
- package/esm/models/operations/create-catalog-item.d.ts.map +1 -1
- package/esm/models/operations/create-catalog-item.js +14 -0
- package/esm/models/operations/create-catalog-item.js.map +1 -1
- package/esm/models/operations/create-client.d.ts +16 -0
- package/esm/models/operations/create-client.d.ts.map +1 -1
- package/esm/models/operations/create-client.js +14 -0
- package/esm/models/operations/create-client.js.map +1 -1
- package/esm/models/operations/create-contact.d.ts +16 -0
- package/esm/models/operations/create-contact.d.ts.map +1 -1
- package/esm/models/operations/create-contact.js +14 -0
- package/esm/models/operations/create-contact.js.map +1 -1
- package/esm/models/operations/create-contract.d.ts +16 -0
- package/esm/models/operations/create-contract.d.ts.map +1 -1
- package/esm/models/operations/create-contract.js +14 -0
- package/esm/models/operations/create-contract.js.map +1 -1
- package/esm/models/operations/create-invoice.d.ts +16 -0
- package/esm/models/operations/create-invoice.d.ts.map +1 -1
- package/esm/models/operations/create-invoice.js +14 -0
- package/esm/models/operations/create-invoice.js.map +1 -1
- package/esm/models/operations/create-milestone.d.ts +16 -0
- package/esm/models/operations/create-milestone.d.ts.map +1 -1
- package/esm/models/operations/create-milestone.js +14 -0
- package/esm/models/operations/create-milestone.js.map +1 -1
- package/esm/models/operations/create-payment.d.ts +16 -0
- package/esm/models/operations/create-payment.d.ts.map +1 -1
- package/esm/models/operations/create-payment.js +14 -0
- package/esm/models/operations/create-payment.js.map +1 -1
- package/esm/models/operations/create-project.d.ts +16 -0
- package/esm/models/operations/create-project.d.ts.map +1 -1
- package/esm/models/operations/create-project.js +14 -0
- package/esm/models/operations/create-project.js.map +1 -1
- package/esm/models/operations/create-time-entry.d.ts +16 -0
- package/esm/models/operations/create-time-entry.d.ts.map +1 -1
- package/esm/models/operations/create-time-entry.js +14 -0
- package/esm/models/operations/create-time-entry.js.map +1 -1
- package/esm/models/operations/create-transaction.d.ts +16 -0
- package/esm/models/operations/create-transaction.d.ts.map +1 -1
- package/esm/models/operations/create-transaction.js +14 -0
- package/esm/models/operations/create-transaction.js.map +1 -1
- package/esm/models/operations/create-webhook.d.ts +16 -0
- package/esm/models/operations/create-webhook.d.ts.map +1 -1
- package/esm/models/operations/create-webhook.js +14 -0
- package/esm/models/operations/create-webhook.js.map +1 -1
- package/esm/models/operations/get-client-document.d.ts +27 -0
- package/esm/models/operations/get-client-document.d.ts.map +1 -0
- package/esm/models/operations/get-client-document.js +20 -0
- package/esm/models/operations/get-client-document.js.map +1 -0
- package/esm/models/operations/get-form-submission.d.ts +27 -0
- package/esm/models/operations/get-form-submission.d.ts.map +1 -0
- package/esm/models/operations/get-form-submission.js +20 -0
- package/esm/models/operations/get-form-submission.js.map +1 -0
- package/esm/models/operations/get-form.d.ts +27 -0
- package/esm/models/operations/get-form.d.ts.map +1 -0
- package/esm/models/operations/get-form.js +20 -0
- package/esm/models/operations/get-form.js.map +1 -0
- package/esm/models/operations/index.d.ts +6 -10
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +6 -10
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/list-calendar-events.d.ts +1 -5
- package/esm/models/operations/list-calendar-events.d.ts.map +1 -1
- package/esm/models/operations/list-calendar-events.js +8 -4
- package/esm/models/operations/list-calendar-events.js.map +1 -1
- package/esm/models/operations/list-catalog-items.d.ts +10 -5
- package/esm/models/operations/list-catalog-items.d.ts.map +1 -1
- package/esm/models/operations/list-catalog-items.js +16 -4
- package/esm/models/operations/list-catalog-items.js.map +1 -1
- package/esm/models/operations/list-client-documents.d.ts +61 -0
- package/esm/models/operations/list-client-documents.d.ts.map +1 -0
- package/esm/models/operations/list-client-documents.js +50 -0
- package/esm/models/operations/list-client-documents.js.map +1 -0
- package/esm/models/operations/list-clients.d.ts +6 -6
- package/esm/models/operations/list-clients.d.ts.map +1 -1
- package/esm/models/operations/list-clients.js +13 -5
- package/esm/models/operations/list-clients.js.map +1 -1
- package/esm/models/operations/list-contacts.d.ts +1 -5
- package/esm/models/operations/list-contacts.d.ts.map +1 -1
- package/esm/models/operations/list-contacts.js +8 -4
- package/esm/models/operations/list-contacts.js.map +1 -1
- package/esm/models/operations/list-contracts.d.ts +1 -5
- package/esm/models/operations/list-contracts.d.ts.map +1 -1
- package/esm/models/operations/list-contracts.js +8 -4
- package/esm/models/operations/list-contracts.js.map +1 -1
- package/esm/models/operations/list-form-submissions.d.ts +64 -0
- package/esm/models/operations/list-form-submissions.d.ts.map +1 -0
- package/esm/models/operations/list-form-submissions.js +51 -0
- package/esm/models/operations/list-form-submissions.js.map +1 -0
- package/esm/models/operations/list-forms.d.ts +47 -0
- package/esm/models/operations/list-forms.d.ts.map +1 -0
- package/esm/models/operations/list-forms.js +43 -0
- package/esm/models/operations/list-forms.js.map +1 -0
- package/esm/models/operations/list-invoices.d.ts +1 -5
- package/esm/models/operations/list-invoices.d.ts.map +1 -1
- package/esm/models/operations/list-invoices.js +8 -4
- package/esm/models/operations/list-invoices.js.map +1 -1
- package/esm/models/operations/list-milestones.d.ts +2 -6
- package/esm/models/operations/list-milestones.d.ts.map +1 -1
- package/esm/models/operations/list-milestones.js +9 -5
- package/esm/models/operations/list-milestones.js.map +1 -1
- package/esm/models/operations/list-payments.d.ts +5 -9
- package/esm/models/operations/list-payments.d.ts.map +1 -1
- package/esm/models/operations/list-payments.js +11 -7
- package/esm/models/operations/list-payments.js.map +1 -1
- package/esm/models/operations/list-payouts.d.ts +1 -5
- package/esm/models/operations/list-payouts.d.ts.map +1 -1
- package/esm/models/operations/list-payouts.js +8 -4
- package/esm/models/operations/list-payouts.js.map +1 -1
- package/esm/models/operations/list-projects.d.ts +1 -5
- package/esm/models/operations/list-projects.d.ts.map +1 -1
- package/esm/models/operations/list-projects.js +8 -4
- package/esm/models/operations/list-projects.js.map +1 -1
- package/esm/models/operations/list-time-entries.d.ts +1 -5
- package/esm/models/operations/list-time-entries.d.ts.map +1 -1
- package/esm/models/operations/list-time-entries.js +8 -4
- package/esm/models/operations/list-time-entries.js.map +1 -1
- package/esm/models/operations/list-transactions.d.ts +1 -5
- package/esm/models/operations/list-transactions.d.ts.map +1 -1
- package/esm/models/operations/list-transactions.js +8 -4
- package/esm/models/operations/list-transactions.js.map +1 -1
- package/esm/models/operations/list-webhooks.d.ts +11 -16
- package/esm/models/operations/list-webhooks.d.ts.map +1 -1
- package/esm/models/operations/list-webhooks.js +18 -15
- package/esm/models/operations/list-webhooks.js.map +1 -1
- package/esm/models/payment-list.d.ts +13 -0
- package/esm/models/payment-list.d.ts.map +1 -0
- package/esm/models/payment-list.js +17 -0
- package/esm/models/payment-list.js.map +1 -0
- package/esm/models/payout-list.d.ts +13 -0
- package/esm/models/payout-list.d.ts.map +1 -0
- package/esm/models/payout-list.js +17 -0
- package/esm/models/payout-list.js.map +1 -0
- package/esm/models/project-list.d.ts +13 -0
- package/esm/models/project-list.d.ts.map +1 -0
- package/esm/models/project-list.js +17 -0
- package/esm/models/project-list.js.map +1 -0
- package/esm/models/time-entry-list.d.ts +13 -0
- package/esm/models/time-entry-list.d.ts.map +1 -0
- package/esm/models/time-entry-list.js +16 -0
- package/esm/models/time-entry-list.js.map +1 -0
- package/esm/models/transaction-list.d.ts +13 -0
- package/esm/models/transaction-list.d.ts.map +1 -0
- package/esm/models/transaction-list.js +16 -0
- package/esm/models/transaction-list.js.map +1 -0
- package/esm/models/webhook-create.d.ts +10 -11
- package/esm/models/webhook-create.d.ts.map +1 -1
- package/esm/models/webhook-create.js +10 -11
- package/esm/models/webhook-create.js.map +1 -1
- package/esm/models/webhook-list.d.ts +13 -0
- package/esm/models/webhook-list.d.ts.map +1 -0
- package/esm/models/webhook-list.js +17 -0
- package/esm/models/webhook-list.js.map +1 -0
- package/esm/models/webhook-update.d.ts +10 -11
- package/esm/models/webhook-update.d.ts.map +1 -1
- package/esm/models/webhook-update.js +10 -11
- package/esm/models/webhook-update.js.map +1 -1
- package/esm/models/webhook.d.ts +10 -11
- package/esm/models/webhook.d.ts.map +1 -1
- package/esm/models/webhook.js +10 -11
- package/esm/models/webhook.js.map +1 -1
- package/esm/sdk/calendar-events.d.ts +8 -5
- package/esm/sdk/calendar-events.d.ts.map +1 -1
- package/esm/sdk/calendar-events.js +16 -15
- package/esm/sdk/calendar-events.js.map +1 -1
- package/esm/sdk/catalog-items.d.ts +8 -5
- package/esm/sdk/catalog-items.d.ts.map +1 -1
- package/esm/sdk/catalog-items.js +16 -15
- package/esm/sdk/catalog-items.js.map +1 -1
- package/esm/sdk/clients.d.ts +8 -5
- package/esm/sdk/clients.d.ts.map +1 -1
- package/esm/sdk/clients.js +16 -15
- package/esm/sdk/clients.js.map +1 -1
- package/esm/sdk/contacts.d.ts +8 -5
- package/esm/sdk/contacts.d.ts.map +1 -1
- package/esm/sdk/contacts.js +16 -15
- package/esm/sdk/contacts.js.map +1 -1
- package/esm/sdk/contracts.d.ts +8 -5
- package/esm/sdk/contracts.d.ts.map +1 -1
- package/esm/sdk/contracts.js +16 -15
- package/esm/sdk/contracts.js.map +1 -1
- package/esm/sdk/form-submissions.d.ts +20 -0
- package/esm/sdk/form-submissions.d.ts.map +1 -0
- package/esm/sdk/form-submissions.js +26 -0
- package/esm/sdk/form-submissions.js.map +1 -0
- package/esm/sdk/forms-and-agreements.d.ts +17 -0
- package/esm/sdk/forms-and-agreements.d.ts.map +1 -0
- package/esm/sdk/forms-and-agreements.js +23 -0
- package/esm/sdk/forms-and-agreements.js.map +1 -0
- package/esm/sdk/forms.d.ts +17 -0
- package/esm/sdk/forms.d.ts.map +1 -0
- package/esm/sdk/forms.js +23 -0
- package/esm/sdk/forms.js.map +1 -0
- package/esm/sdk/invoices.d.ts +8 -5
- package/esm/sdk/invoices.d.ts.map +1 -1
- package/esm/sdk/invoices.js +16 -15
- package/esm/sdk/invoices.js.map +1 -1
- package/esm/sdk/milestones.d.ts +9 -6
- package/esm/sdk/milestones.d.ts.map +1 -1
- package/esm/sdk/milestones.js +17 -16
- package/esm/sdk/milestones.js.map +1 -1
- package/esm/sdk/payments.d.ts +7 -4
- package/esm/sdk/payments.d.ts.map +1 -1
- package/esm/sdk/payments.js +13 -12
- package/esm/sdk/payments.js.map +1 -1
- package/esm/sdk/payouts.d.ts +5 -2
- package/esm/sdk/payouts.d.ts.map +1 -1
- package/esm/sdk/payouts.js +7 -6
- package/esm/sdk/payouts.js.map +1 -1
- package/esm/sdk/projects.d.ts +8 -5
- package/esm/sdk/projects.d.ts.map +1 -1
- package/esm/sdk/projects.js +16 -15
- package/esm/sdk/projects.js.map +1 -1
- package/esm/sdk/sdk.d.ts +9 -6
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +15 -10
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/time-entries.d.ts +8 -5
- package/esm/sdk/time-entries.d.ts.map +1 -1
- package/esm/sdk/time-entries.js +16 -15
- package/esm/sdk/time-entries.js.map +1 -1
- package/esm/sdk/transactions.d.ts +8 -5
- package/esm/sdk/transactions.d.ts.map +1 -1
- package/esm/sdk/transactions.js +16 -15
- package/esm/sdk/transactions.js.map +1 -1
- package/esm/sdk/webhooks.d.ts +8 -5
- package/esm/sdk/webhooks.d.ts.map +1 -1
- package/esm/sdk/webhooks.js +16 -15
- package/esm/sdk/webhooks.js.map +1 -1
- package/examples/clientsList.example.ts +28 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/calendar-events-create.ts +196 -0
- package/src/funcs/calendar-events-delete.ts +202 -0
- package/src/funcs/calendar-events-get.ts +203 -0
- package/src/funcs/calendar-events-list.ts +281 -0
- package/src/funcs/calendar-events-update.ts +207 -0
- package/src/funcs/catalog-items-create.ts +196 -0
- package/src/funcs/catalog-items-delete.ts +202 -0
- package/src/funcs/catalog-items-get.ts +202 -0
- package/src/funcs/catalog-items-list.ts +281 -0
- package/src/funcs/catalog-items-update.ts +204 -0
- package/src/funcs/clients-create.ts +192 -0
- package/src/funcs/clients-delete.ts +201 -0
- package/src/funcs/clients-get.ts +202 -0
- package/src/funcs/clients-list.ts +275 -0
- package/src/funcs/clients-update.ts +203 -0
- package/src/funcs/contacts-create.ts +192 -0
- package/src/funcs/contacts-delete.ts +201 -0
- package/src/funcs/contacts-get.ts +202 -0
- package/src/funcs/contacts-list.ts +276 -0
- package/src/funcs/contacts-update.ts +203 -0
- package/src/funcs/contracts-create.ts +195 -0
- package/src/funcs/contracts-delete.ts +201 -0
- package/src/funcs/contracts-get.ts +202 -0
- package/src/funcs/contracts-list.ts +279 -0
- package/src/funcs/contracts-update.ts +206 -0
- package/src/funcs/form-submissions-get.ts +203 -0
- package/src/funcs/form-submissions-list.ts +284 -0
- package/src/funcs/forms-and-agreements-get.ts +203 -0
- package/src/funcs/forms-and-agreements-list.ts +280 -0
- package/src/funcs/forms-get.ts +202 -0
- package/src/funcs/forms-list.ts +274 -0
- package/src/funcs/invoices-create.ts +195 -0
- package/src/funcs/invoices-delete.ts +201 -0
- package/src/funcs/invoices-get.ts +202 -0
- package/src/funcs/invoices-list.ts +276 -0
- package/src/funcs/invoices-update.ts +203 -0
- package/src/funcs/milestones-create.ts +195 -0
- package/src/funcs/milestones-delete.ts +201 -0
- package/src/funcs/milestones-get.ts +202 -0
- package/src/funcs/milestones-list.ts +280 -0
- package/src/funcs/milestones-update.ts +203 -0
- package/src/funcs/payments-create.ts +195 -0
- package/src/funcs/payments-get.ts +202 -0
- package/src/funcs/payments-list.ts +278 -0
- package/src/funcs/payments-update.ts +203 -0
- package/src/funcs/payouts-get.ts +202 -0
- package/src/funcs/payouts-list.ts +277 -0
- package/src/funcs/projects-create.ts +192 -0
- package/src/funcs/projects-delete.ts +201 -0
- package/src/funcs/projects-get.ts +202 -0
- package/src/funcs/projects-list.ts +276 -0
- package/src/funcs/projects-update.ts +203 -0
- package/src/funcs/time-entries-create.ts +192 -0
- package/src/funcs/time-entries-delete.ts +204 -0
- package/src/funcs/time-entries-get.ts +202 -0
- package/src/funcs/time-entries-list.ts +283 -0
- package/src/funcs/time-entries-update.ts +206 -0
- package/src/funcs/transactions-create.ts +193 -0
- package/src/funcs/transactions-delete.ts +205 -0
- package/src/funcs/transactions-get.ts +202 -0
- package/src/funcs/transactions-list.ts +280 -0
- package/src/funcs/transactions-update.ts +207 -0
- package/src/funcs/webhooks-create.ts +195 -0
- package/src/funcs/webhooks-delete.ts +201 -0
- package/src/funcs/webhooks-get.ts +202 -0
- package/src/funcs/webhooks-list.ts +276 -0
- package/src/funcs/webhooks-update.ts +206 -0
- package/src/hooks/types.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +13 -4
- package/src/models/api-error.ts +52 -0
- package/src/models/calendar-event-list.ts +40 -0
- package/src/models/catalog-item-list.ts +37 -0
- package/src/models/catalog-item.ts +28 -0
- package/src/models/client-create.ts +5 -1
- package/src/models/client-document-list.ts +40 -0
- package/src/models/client-document.ts +114 -0
- package/src/models/client-list.ts +35 -0
- package/src/models/client-update.ts +5 -1
- package/src/models/client.ts +5 -1
- package/src/models/contact-list.ts +35 -0
- package/src/models/contact.ts +2 -2
- package/src/models/contract-create.ts +0 -6
- package/src/models/contract-list.ts +35 -0
- package/src/models/contract.ts +0 -5
- package/src/models/errors/api-error.ts +48 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/form-list.ts +35 -0
- package/src/models/form-submission-answer.ts +35 -0
- package/src/models/form-submission-list.ts +40 -0
- package/src/models/form-submission.ts +99 -0
- package/src/models/form.ts +67 -0
- package/src/models/index.ts +21 -6
- package/src/models/invoice-list.ts +35 -0
- package/src/models/milestone-create.ts +1 -1
- package/src/models/milestone-list.ts +37 -0
- package/src/models/milestone.ts +1 -1
- package/src/models/operations/create-calendar-event.ts +40 -0
- package/src/models/operations/create-catalog-item.ts +40 -0
- package/src/models/operations/create-client.ts +40 -0
- package/src/models/operations/create-contact.ts +40 -0
- package/src/models/operations/create-contract.ts +40 -0
- package/src/models/operations/create-invoice.ts +40 -0
- package/src/models/operations/create-milestone.ts +40 -0
- package/src/models/operations/create-payment.ts +40 -0
- package/src/models/operations/create-project.ts +40 -0
- package/src/models/operations/create-time-entry.ts +40 -0
- package/src/models/operations/create-transaction.ts +40 -0
- package/src/models/operations/create-webhook.ts +40 -0
- package/src/models/operations/get-client-document.ts +61 -0
- package/src/models/operations/get-form-submission.ts +61 -0
- package/src/models/operations/get-form.ts +55 -0
- package/src/models/operations/index.ts +6 -10
- package/src/models/operations/list-calendar-events.ts +12 -9
- package/src/models/operations/list-catalog-items.ts +25 -9
- package/src/models/operations/list-client-documents.ts +132 -0
- package/src/models/operations/list-clients.ts +17 -10
- package/src/models/operations/list-contacts.ts +12 -9
- package/src/models/operations/list-contracts.ts +12 -9
- package/src/models/operations/list-form-submissions.ts +142 -0
- package/src/models/operations/list-forms.ts +112 -0
- package/src/models/operations/list-invoices.ts +12 -9
- package/src/models/operations/list-milestones.ts +13 -10
- package/src/models/operations/list-payments.ts +19 -14
- package/src/models/operations/list-payouts.ts +12 -9
- package/src/models/operations/list-projects.ts +12 -9
- package/src/models/operations/list-time-entries.ts +12 -9
- package/src/models/operations/list-transactions.ts +12 -9
- package/src/models/operations/list-webhooks.ts +22 -20
- package/src/models/payment-list.ts +35 -0
- package/src/models/payout-list.ts +35 -0
- package/src/models/project-list.ts +35 -0
- package/src/models/time-entry-list.ts +37 -0
- package/src/models/transaction-list.ts +37 -0
- package/src/models/webhook-create.ts +10 -11
- package/src/models/webhook-list.ts +35 -0
- package/src/models/webhook-update.ts +10 -11
- package/src/models/webhook.ts +10 -11
- package/src/sdk/calendar-events.ts +20 -17
- package/src/sdk/catalog-items.ts +20 -17
- package/src/sdk/clients.ts +18 -17
- package/src/sdk/contacts.ts +18 -17
- package/src/sdk/contracts.ts +18 -17
- package/src/sdk/form-submissions.ts +50 -0
- package/src/sdk/forms-and-agreements.ts +47 -0
- package/src/sdk/forms.ts +45 -0
- package/src/sdk/invoices.ts +18 -17
- package/src/sdk/milestones.ts +21 -18
- package/src/sdk/payments.ts +15 -14
- package/src/sdk/payouts.ts +8 -7
- package/src/sdk/projects.ts +18 -17
- package/src/sdk/sdk.ts +18 -12
- package/src/sdk/time-entries.ts +20 -17
- package/src/sdk/transactions.ts +20 -17
- package/src/sdk/webhooks.ts +18 -17
- package/esm/funcs/calendar-events-create-calendar-event.d.ts +0 -18
- package/esm/funcs/calendar-events-create-calendar-event.d.ts.map +0 -1
- package/esm/funcs/calendar-events-create-calendar-event.js +0 -90
- package/esm/funcs/calendar-events-create-calendar-event.js.map +0 -1
- package/esm/funcs/calendar-events-delete-calendar-event.d.ts +0 -14
- package/esm/funcs/calendar-events-delete-calendar-event.d.ts.map +0 -1
- package/esm/funcs/calendar-events-delete-calendar-event.js +0 -92
- package/esm/funcs/calendar-events-delete-calendar-event.js.map +0 -1
- package/esm/funcs/calendar-events-get-calendar-event.d.ts +0 -15
- package/esm/funcs/calendar-events-get-calendar-event.d.ts.map +0 -1
- package/esm/funcs/calendar-events-get-calendar-event.js +0 -93
- package/esm/funcs/calendar-events-get-calendar-event.js.map +0 -1
- package/esm/funcs/calendar-events-list-calendar-events.d.ts +0 -14
- package/esm/funcs/calendar-events-list-calendar-events.d.ts.map +0 -1
- package/esm/funcs/calendar-events-list-calendar-events.js +0 -95
- package/esm/funcs/calendar-events-list-calendar-events.js.map +0 -1
- package/esm/funcs/calendar-events-update-calendar-event.d.ts +0 -18
- package/esm/funcs/calendar-events-update-calendar-event.d.ts.map +0 -1
- package/esm/funcs/calendar-events-update-calendar-event.js +0 -97
- package/esm/funcs/calendar-events-update-calendar-event.js.map +0 -1
- package/esm/funcs/catalog-items-create-catalog-item.d.ts +0 -18
- package/esm/funcs/catalog-items-create-catalog-item.d.ts.map +0 -1
- package/esm/funcs/catalog-items-create-catalog-item.js +0 -90
- package/esm/funcs/catalog-items-create-catalog-item.js.map +0 -1
- package/esm/funcs/catalog-items-delete-catalog-item.d.ts +0 -14
- package/esm/funcs/catalog-items-delete-catalog-item.d.ts.map +0 -1
- package/esm/funcs/catalog-items-delete-catalog-item.js +0 -92
- package/esm/funcs/catalog-items-delete-catalog-item.js.map +0 -1
- package/esm/funcs/catalog-items-get-catalog-item.d.ts +0 -15
- package/esm/funcs/catalog-items-get-catalog-item.d.ts.map +0 -1
- package/esm/funcs/catalog-items-get-catalog-item.js +0 -93
- package/esm/funcs/catalog-items-get-catalog-item.js.map +0 -1
- package/esm/funcs/catalog-items-list-catalog-items.d.ts +0 -14
- package/esm/funcs/catalog-items-list-catalog-items.d.ts.map +0 -1
- package/esm/funcs/catalog-items-list-catalog-items.js +0 -94
- package/esm/funcs/catalog-items-list-catalog-items.js.map +0 -1
- package/esm/funcs/catalog-items-update-catalog-item.d.ts +0 -15
- package/esm/funcs/catalog-items-update-catalog-item.d.ts.map +0 -1
- package/esm/funcs/catalog-items-update-catalog-item.js +0 -94
- package/esm/funcs/catalog-items-update-catalog-item.js.map +0 -1
- package/esm/funcs/clients-create-client.d.ts +0 -15
- package/esm/funcs/clients-create-client.d.ts.map +0 -1
- package/esm/funcs/clients-create-client.js +0 -87
- package/esm/funcs/clients-create-client.js.map +0 -1
- package/esm/funcs/clients-delete-client.d.ts +0 -14
- package/esm/funcs/clients-delete-client.d.ts.map +0 -1
- package/esm/funcs/clients-delete-client.js +0 -92
- package/esm/funcs/clients-delete-client.js.map +0 -1
- package/esm/funcs/clients-get-client.d.ts +0 -15
- package/esm/funcs/clients-get-client.d.ts.map +0 -1
- package/esm/funcs/clients-get-client.js +0 -93
- package/esm/funcs/clients-get-client.js.map +0 -1
- package/esm/funcs/clients-list-clients.d.ts +0 -14
- package/esm/funcs/clients-list-clients.d.ts.map +0 -1
- package/esm/funcs/clients-list-clients.js +0 -92
- package/esm/funcs/clients-list-clients.js.map +0 -1
- package/esm/funcs/clients-update-client.d.ts +0 -15
- package/esm/funcs/clients-update-client.d.ts.map +0 -1
- package/esm/funcs/clients-update-client.js +0 -94
- package/esm/funcs/clients-update-client.js.map +0 -1
- package/esm/funcs/contacts-create-contact.d.ts +0 -15
- package/esm/funcs/contacts-create-contact.d.ts.map +0 -1
- package/esm/funcs/contacts-create-contact.js +0 -87
- package/esm/funcs/contacts-create-contact.js.map +0 -1
- package/esm/funcs/contacts-delete-contact.d.ts +0 -14
- package/esm/funcs/contacts-delete-contact.d.ts.map +0 -1
- package/esm/funcs/contacts-delete-contact.js +0 -92
- package/esm/funcs/contacts-delete-contact.js.map +0 -1
- package/esm/funcs/contacts-get-contact.d.ts +0 -15
- package/esm/funcs/contacts-get-contact.d.ts.map +0 -1
- package/esm/funcs/contacts-get-contact.js +0 -93
- package/esm/funcs/contacts-get-contact.js.map +0 -1
- package/esm/funcs/contacts-list-contacts.d.ts +0 -14
- package/esm/funcs/contacts-list-contacts.d.ts.map +0 -1
- package/esm/funcs/contacts-list-contacts.js +0 -93
- package/esm/funcs/contacts-list-contacts.js.map +0 -1
- package/esm/funcs/contacts-update-contact.d.ts +0 -15
- package/esm/funcs/contacts-update-contact.d.ts.map +0 -1
- package/esm/funcs/contacts-update-contact.js +0 -94
- package/esm/funcs/contacts-update-contact.js.map +0 -1
- package/esm/funcs/contracts-create-contract.d.ts +0 -18
- package/esm/funcs/contracts-create-contract.d.ts.map +0 -1
- package/esm/funcs/contracts-create-contract.js +0 -90
- package/esm/funcs/contracts-create-contract.js.map +0 -1
- package/esm/funcs/contracts-delete-contract.d.ts +0 -14
- package/esm/funcs/contracts-delete-contract.d.ts.map +0 -1
- package/esm/funcs/contracts-delete-contract.js +0 -92
- package/esm/funcs/contracts-delete-contract.js.map +0 -1
- package/esm/funcs/contracts-get-contract.d.ts +0 -15
- package/esm/funcs/contracts-get-contract.d.ts.map +0 -1
- package/esm/funcs/contracts-get-contract.js +0 -93
- package/esm/funcs/contracts-get-contract.js.map +0 -1
- package/esm/funcs/contracts-list-contracts.d.ts +0 -14
- package/esm/funcs/contracts-list-contracts.d.ts.map +0 -1
- package/esm/funcs/contracts-list-contracts.js +0 -93
- package/esm/funcs/contracts-list-contracts.js.map +0 -1
- package/esm/funcs/contracts-update-contract.d.ts +0 -18
- package/esm/funcs/contracts-update-contract.d.ts.map +0 -1
- package/esm/funcs/contracts-update-contract.js +0 -97
- package/esm/funcs/contracts-update-contract.js.map +0 -1
- package/esm/funcs/inquiries-create-inquiry.d.ts +0 -18
- package/esm/funcs/inquiries-create-inquiry.d.ts.map +0 -1
- package/esm/funcs/inquiries-create-inquiry.js +0 -90
- package/esm/funcs/inquiries-create-inquiry.js.map +0 -1
- package/esm/funcs/inquiries-delete-inquiry.d.ts +0 -14
- package/esm/funcs/inquiries-delete-inquiry.d.ts.map +0 -1
- package/esm/funcs/inquiries-delete-inquiry.js +0 -92
- package/esm/funcs/inquiries-delete-inquiry.js.map +0 -1
- package/esm/funcs/inquiries-get-inquiry.d.ts +0 -15
- package/esm/funcs/inquiries-get-inquiry.d.ts.map +0 -1
- package/esm/funcs/inquiries-get-inquiry.js +0 -93
- package/esm/funcs/inquiries-get-inquiry.js.map +0 -1
- package/esm/funcs/inquiries-list-inquiries.d.ts +0 -14
- package/esm/funcs/inquiries-list-inquiries.d.ts.map +0 -1
- package/esm/funcs/inquiries-list-inquiries.js +0 -93
- package/esm/funcs/inquiries-list-inquiries.js.map +0 -1
- package/esm/funcs/inquiries-update-inquiry.d.ts +0 -18
- package/esm/funcs/inquiries-update-inquiry.d.ts.map +0 -1
- package/esm/funcs/inquiries-update-inquiry.js +0 -97
- package/esm/funcs/inquiries-update-inquiry.js.map +0 -1
- package/esm/funcs/invoices-create-invoice.d.ts +0 -18
- package/esm/funcs/invoices-create-invoice.d.ts.map +0 -1
- package/esm/funcs/invoices-create-invoice.js +0 -90
- package/esm/funcs/invoices-create-invoice.js.map +0 -1
- package/esm/funcs/invoices-delete-invoice.d.ts +0 -14
- package/esm/funcs/invoices-delete-invoice.d.ts.map +0 -1
- package/esm/funcs/invoices-delete-invoice.js +0 -92
- package/esm/funcs/invoices-delete-invoice.js.map +0 -1
- package/esm/funcs/invoices-get-invoice.d.ts +0 -15
- package/esm/funcs/invoices-get-invoice.d.ts.map +0 -1
- package/esm/funcs/invoices-get-invoice.js +0 -93
- package/esm/funcs/invoices-get-invoice.js.map +0 -1
- package/esm/funcs/invoices-list-invoices.d.ts +0 -14
- package/esm/funcs/invoices-list-invoices.d.ts.map +0 -1
- package/esm/funcs/invoices-list-invoices.js +0 -93
- package/esm/funcs/invoices-list-invoices.js.map +0 -1
- package/esm/funcs/invoices-update-invoice.d.ts +0 -15
- package/esm/funcs/invoices-update-invoice.d.ts.map +0 -1
- package/esm/funcs/invoices-update-invoice.js +0 -94
- package/esm/funcs/invoices-update-invoice.js.map +0 -1
- package/esm/funcs/milestones-create-milestone.d.ts +0 -18
- package/esm/funcs/milestones-create-milestone.d.ts.map +0 -1
- package/esm/funcs/milestones-create-milestone.js +0 -90
- package/esm/funcs/milestones-create-milestone.js.map +0 -1
- package/esm/funcs/milestones-delete-milestone.d.ts +0 -14
- package/esm/funcs/milestones-delete-milestone.d.ts.map +0 -1
- package/esm/funcs/milestones-delete-milestone.js +0 -92
- package/esm/funcs/milestones-delete-milestone.js.map +0 -1
- package/esm/funcs/milestones-get-milestone.d.ts +0 -15
- package/esm/funcs/milestones-get-milestone.d.ts.map +0 -1
- package/esm/funcs/milestones-get-milestone.js +0 -93
- package/esm/funcs/milestones-get-milestone.js.map +0 -1
- package/esm/funcs/milestones-list-milestones.d.ts +0 -14
- package/esm/funcs/milestones-list-milestones.d.ts.map +0 -1
- package/esm/funcs/milestones-list-milestones.js +0 -94
- package/esm/funcs/milestones-list-milestones.js.map +0 -1
- package/esm/funcs/milestones-update-milestone.d.ts +0 -15
- package/esm/funcs/milestones-update-milestone.d.ts.map +0 -1
- package/esm/funcs/milestones-update-milestone.js +0 -94
- package/esm/funcs/milestones-update-milestone.js.map +0 -1
- package/esm/funcs/payments-create-payment.d.ts +0 -18
- package/esm/funcs/payments-create-payment.d.ts.map +0 -1
- package/esm/funcs/payments-create-payment.js +0 -90
- package/esm/funcs/payments-create-payment.js.map +0 -1
- package/esm/funcs/payments-get-payment.d.ts +0 -15
- package/esm/funcs/payments-get-payment.d.ts.map +0 -1
- package/esm/funcs/payments-get-payment.js +0 -93
- package/esm/funcs/payments-get-payment.js.map +0 -1
- package/esm/funcs/payments-list-payments.d.ts +0 -14
- package/esm/funcs/payments-list-payments.d.ts.map +0 -1
- package/esm/funcs/payments-list-payments.js +0 -95
- package/esm/funcs/payments-list-payments.js.map +0 -1
- package/esm/funcs/payments-update-payment.d.ts +0 -15
- package/esm/funcs/payments-update-payment.d.ts.map +0 -1
- package/esm/funcs/payments-update-payment.js +0 -94
- package/esm/funcs/payments-update-payment.js.map +0 -1
- package/esm/funcs/payouts-get-payout.d.ts +0 -15
- package/esm/funcs/payouts-get-payout.d.ts.map +0 -1
- package/esm/funcs/payouts-get-payout.js +0 -93
- package/esm/funcs/payouts-get-payout.js.map +0 -1
- package/esm/funcs/payouts-list-payouts.d.ts +0 -14
- package/esm/funcs/payouts-list-payouts.d.ts.map +0 -1
- package/esm/funcs/payouts-list-payouts.js +0 -94
- package/esm/funcs/payouts-list-payouts.js.map +0 -1
- package/esm/funcs/projects-create-project.d.ts +0 -15
- package/esm/funcs/projects-create-project.d.ts.map +0 -1
- package/esm/funcs/projects-create-project.js +0 -87
- package/esm/funcs/projects-create-project.js.map +0 -1
- package/esm/funcs/projects-delete-project.d.ts +0 -14
- package/esm/funcs/projects-delete-project.d.ts.map +0 -1
- package/esm/funcs/projects-delete-project.js +0 -92
- package/esm/funcs/projects-delete-project.js.map +0 -1
- package/esm/funcs/projects-get-project.d.ts +0 -15
- package/esm/funcs/projects-get-project.d.ts.map +0 -1
- package/esm/funcs/projects-get-project.js +0 -93
- package/esm/funcs/projects-get-project.js.map +0 -1
- package/esm/funcs/projects-list-projects.d.ts +0 -14
- package/esm/funcs/projects-list-projects.d.ts.map +0 -1
- package/esm/funcs/projects-list-projects.js +0 -93
- package/esm/funcs/projects-list-projects.js.map +0 -1
- package/esm/funcs/projects-update-project.d.ts +0 -15
- package/esm/funcs/projects-update-project.d.ts.map +0 -1
- package/esm/funcs/projects-update-project.js +0 -94
- package/esm/funcs/projects-update-project.js.map +0 -1
- package/esm/funcs/proposals-create-proposal.d.ts +0 -18
- package/esm/funcs/proposals-create-proposal.d.ts.map +0 -1
- package/esm/funcs/proposals-create-proposal.js +0 -90
- package/esm/funcs/proposals-create-proposal.js.map +0 -1
- package/esm/funcs/proposals-delete-proposal.d.ts +0 -14
- package/esm/funcs/proposals-delete-proposal.d.ts.map +0 -1
- package/esm/funcs/proposals-delete-proposal.js +0 -92
- package/esm/funcs/proposals-delete-proposal.js.map +0 -1
- package/esm/funcs/proposals-get-proposal.d.ts +0 -15
- package/esm/funcs/proposals-get-proposal.d.ts.map +0 -1
- package/esm/funcs/proposals-get-proposal.js +0 -93
- package/esm/funcs/proposals-get-proposal.js.map +0 -1
- package/esm/funcs/proposals-list-proposals.d.ts +0 -14
- package/esm/funcs/proposals-list-proposals.d.ts.map +0 -1
- package/esm/funcs/proposals-list-proposals.js +0 -94
- package/esm/funcs/proposals-list-proposals.js.map +0 -1
- package/esm/funcs/proposals-update-proposal.d.ts +0 -18
- package/esm/funcs/proposals-update-proposal.d.ts.map +0 -1
- package/esm/funcs/proposals-update-proposal.js +0 -97
- package/esm/funcs/proposals-update-proposal.js.map +0 -1
- package/esm/funcs/time-entries-create-time-entry.d.ts +0 -15
- package/esm/funcs/time-entries-create-time-entry.d.ts.map +0 -1
- package/esm/funcs/time-entries-create-time-entry.js +0 -87
- package/esm/funcs/time-entries-create-time-entry.js.map +0 -1
- package/esm/funcs/time-entries-delete-time-entry.d.ts +0 -17
- package/esm/funcs/time-entries-delete-time-entry.d.ts.map +0 -1
- package/esm/funcs/time-entries-delete-time-entry.js +0 -95
- package/esm/funcs/time-entries-delete-time-entry.js.map +0 -1
- package/esm/funcs/time-entries-get-time-entry.d.ts +0 -15
- package/esm/funcs/time-entries-get-time-entry.d.ts.map +0 -1
- package/esm/funcs/time-entries-get-time-entry.js +0 -93
- package/esm/funcs/time-entries-get-time-entry.js.map +0 -1
- package/esm/funcs/time-entries-list-time-entries.d.ts +0 -14
- package/esm/funcs/time-entries-list-time-entries.d.ts.map +0 -1
- package/esm/funcs/time-entries-list-time-entries.js +0 -97
- package/esm/funcs/time-entries-list-time-entries.js.map +0 -1
- package/esm/funcs/time-entries-update-time-entry.d.ts +0 -18
- package/esm/funcs/time-entries-update-time-entry.d.ts.map +0 -1
- package/esm/funcs/time-entries-update-time-entry.js +0 -97
- package/esm/funcs/time-entries-update-time-entry.js.map +0 -1
- package/esm/funcs/transactions-create-transaction.d.ts +0 -15
- package/esm/funcs/transactions-create-transaction.d.ts.map +0 -1
- package/esm/funcs/transactions-create-transaction.js +0 -87
- package/esm/funcs/transactions-create-transaction.js.map +0 -1
- package/esm/funcs/transactions-delete-transaction.d.ts +0 -17
- package/esm/funcs/transactions-delete-transaction.d.ts.map +0 -1
- package/esm/funcs/transactions-delete-transaction.js +0 -95
- package/esm/funcs/transactions-delete-transaction.js.map +0 -1
- package/esm/funcs/transactions-get-transaction.d.ts +0 -15
- package/esm/funcs/transactions-get-transaction.d.ts.map +0 -1
- package/esm/funcs/transactions-get-transaction.js +0 -93
- package/esm/funcs/transactions-get-transaction.js.map +0 -1
- package/esm/funcs/transactions-list-transactions.d.ts +0 -14
- package/esm/funcs/transactions-list-transactions.d.ts.map +0 -1
- package/esm/funcs/transactions-list-transactions.js +0 -94
- package/esm/funcs/transactions-list-transactions.js.map +0 -1
- package/esm/funcs/transactions-update-transaction.d.ts +0 -18
- package/esm/funcs/transactions-update-transaction.d.ts.map +0 -1
- package/esm/funcs/transactions-update-transaction.js +0 -97
- package/esm/funcs/transactions-update-transaction.js.map +0 -1
- package/esm/funcs/webhooks-create-webhook.d.ts +0 -18
- package/esm/funcs/webhooks-create-webhook.d.ts.map +0 -1
- package/esm/funcs/webhooks-create-webhook.js +0 -90
- package/esm/funcs/webhooks-create-webhook.js.map +0 -1
- package/esm/funcs/webhooks-delete-webhook.d.ts +0 -14
- package/esm/funcs/webhooks-delete-webhook.d.ts.map +0 -1
- package/esm/funcs/webhooks-delete-webhook.js +0 -92
- package/esm/funcs/webhooks-delete-webhook.js.map +0 -1
- package/esm/funcs/webhooks-get-webhook.d.ts +0 -15
- package/esm/funcs/webhooks-get-webhook.d.ts.map +0 -1
- package/esm/funcs/webhooks-get-webhook.js +0 -93
- package/esm/funcs/webhooks-get-webhook.js.map +0 -1
- package/esm/funcs/webhooks-list-webhooks.d.ts +0 -14
- package/esm/funcs/webhooks-list-webhooks.d.ts.map +0 -1
- package/esm/funcs/webhooks-list-webhooks.js +0 -93
- package/esm/funcs/webhooks-list-webhooks.js.map +0 -1
- package/esm/funcs/webhooks-update-webhook.d.ts +0 -18
- package/esm/funcs/webhooks-update-webhook.d.ts.map +0 -1
- package/esm/funcs/webhooks-update-webhook.js +0 -97
- package/esm/funcs/webhooks-update-webhook.js.map +0 -1
- package/esm/models/inquiry-create.d.ts +0 -45
- package/esm/models/inquiry-create.d.ts.map +0 -1
- package/esm/models/inquiry-create.js +0 -28
- package/esm/models/inquiry-create.js.map +0 -1
- package/esm/models/inquiry-update.d.ts +0 -45
- package/esm/models/inquiry-update.d.ts.map +0 -1
- package/esm/models/inquiry-update.js +0 -29
- package/esm/models/inquiry-update.js.map +0 -1
- package/esm/models/inquiry.d.ts +0 -78
- package/esm/models/inquiry.d.ts.map +0 -1
- package/esm/models/inquiry.js +0 -51
- package/esm/models/inquiry.js.map +0 -1
- package/esm/models/operations/create-inquiry.d.ts +0 -14
- package/esm/models/operations/create-inquiry.d.ts.map +0 -1
- package/esm/models/operations/create-inquiry.js +0 -13
- package/esm/models/operations/create-inquiry.js.map +0 -1
- package/esm/models/operations/create-proposal.d.ts +0 -14
- package/esm/models/operations/create-proposal.d.ts.map +0 -1
- package/esm/models/operations/create-proposal.js +0 -13
- package/esm/models/operations/create-proposal.js.map +0 -1
- package/esm/models/operations/delete-inquiry.d.ts +0 -27
- package/esm/models/operations/delete-inquiry.d.ts.map +0 -1
- package/esm/models/operations/delete-inquiry.js +0 -20
- package/esm/models/operations/delete-inquiry.js.map +0 -1
- package/esm/models/operations/delete-proposal.d.ts +0 -27
- package/esm/models/operations/delete-proposal.d.ts.map +0 -1
- package/esm/models/operations/delete-proposal.js +0 -20
- package/esm/models/operations/delete-proposal.js.map +0 -1
- package/esm/models/operations/get-inquiry.d.ts +0 -27
- package/esm/models/operations/get-inquiry.d.ts.map +0 -1
- package/esm/models/operations/get-inquiry.js +0 -20
- package/esm/models/operations/get-inquiry.js.map +0 -1
- package/esm/models/operations/get-proposal.d.ts +0 -27
- package/esm/models/operations/get-proposal.d.ts.map +0 -1
- package/esm/models/operations/get-proposal.js +0 -20
- package/esm/models/operations/get-proposal.js.map +0 -1
- package/esm/models/operations/list-inquiries.d.ts +0 -64
- package/esm/models/operations/list-inquiries.d.ts.map +0 -1
- package/esm/models/operations/list-inquiries.js +0 -51
- package/esm/models/operations/list-inquiries.js.map +0 -1
- package/esm/models/operations/list-proposals.d.ts +0 -60
- package/esm/models/operations/list-proposals.d.ts.map +0 -1
- package/esm/models/operations/list-proposals.js +0 -44
- package/esm/models/operations/list-proposals.js.map +0 -1
- package/esm/models/operations/update-inquiry.d.ts +0 -30
- package/esm/models/operations/update-inquiry.d.ts.map +0 -1
- package/esm/models/operations/update-inquiry.js +0 -22
- package/esm/models/operations/update-inquiry.js.map +0 -1
- package/esm/models/operations/update-proposal.d.ts +0 -30
- package/esm/models/operations/update-proposal.d.ts.map +0 -1
- package/esm/models/operations/update-proposal.js +0 -22
- package/esm/models/operations/update-proposal.js.map +0 -1
- package/esm/models/proposal-create.d.ts +0 -45
- package/esm/models/proposal-create.d.ts.map +0 -1
- package/esm/models/proposal-create.js +0 -26
- package/esm/models/proposal-create.js.map +0 -1
- package/esm/models/proposal-update.d.ts +0 -43
- package/esm/models/proposal-update.d.ts.map +0 -1
- package/esm/models/proposal-update.js +0 -27
- package/esm/models/proposal-update.js.map +0 -1
- package/esm/models/proposal.d.ts +0 -70
- package/esm/models/proposal.d.ts.map +0 -1
- package/esm/models/proposal.js +0 -52
- package/esm/models/proposal.js.map +0 -1
- package/esm/sdk/inquiries.d.ts +0 -32
- package/esm/sdk/inquiries.d.ts.map +0 -1
- package/esm/sdk/inquiries.js +0 -49
- package/esm/sdk/inquiries.js.map +0 -1
- package/esm/sdk/proposals.d.ts +0 -32
- package/esm/sdk/proposals.d.ts.map +0 -1
- package/esm/sdk/proposals.js +0 -49
- package/esm/sdk/proposals.js.map +0 -1
- package/examples/clientsListClients.example.ts +0 -26
- package/src/funcs/calendar-events-create-calendar-event.ts +0 -180
- package/src/funcs/calendar-events-delete-calendar-event.ts +0 -182
- package/src/funcs/calendar-events-get-calendar-event.ts +0 -183
- package/src/funcs/calendar-events-list-calendar-events.ts +0 -189
- package/src/funcs/calendar-events-update-calendar-event.ts +0 -187
- package/src/funcs/catalog-items-create-catalog-item.ts +0 -180
- package/src/funcs/catalog-items-delete-catalog-item.ts +0 -182
- package/src/funcs/catalog-items-get-catalog-item.ts +0 -182
- package/src/funcs/catalog-items-list-catalog-items.ts +0 -188
- package/src/funcs/catalog-items-update-catalog-item.ts +0 -184
- package/src/funcs/clients-create-client.ts +0 -177
- package/src/funcs/clients-delete-client.ts +0 -181
- package/src/funcs/clients-get-client.ts +0 -182
- package/src/funcs/clients-list-clients.ts +0 -183
- package/src/funcs/clients-update-client.ts +0 -183
- package/src/funcs/contacts-create-contact.ts +0 -177
- package/src/funcs/contacts-delete-contact.ts +0 -181
- package/src/funcs/contacts-get-contact.ts +0 -182
- package/src/funcs/contacts-list-contacts.ts +0 -184
- package/src/funcs/contacts-update-contact.ts +0 -183
- package/src/funcs/contracts-create-contract.ts +0 -180
- package/src/funcs/contracts-delete-contract.ts +0 -181
- package/src/funcs/contracts-get-contract.ts +0 -182
- package/src/funcs/contracts-list-contracts.ts +0 -187
- package/src/funcs/contracts-update-contract.ts +0 -186
- package/src/funcs/inquiries-create-inquiry.ts +0 -180
- package/src/funcs/inquiries-delete-inquiry.ts +0 -181
- package/src/funcs/inquiries-get-inquiry.ts +0 -182
- package/src/funcs/inquiries-list-inquiries.ts +0 -187
- package/src/funcs/inquiries-update-inquiry.ts +0 -186
- package/src/funcs/invoices-create-invoice.ts +0 -180
- package/src/funcs/invoices-delete-invoice.ts +0 -181
- package/src/funcs/invoices-get-invoice.ts +0 -182
- package/src/funcs/invoices-list-invoices.ts +0 -184
- package/src/funcs/invoices-update-invoice.ts +0 -183
- package/src/funcs/milestones-create-milestone.ts +0 -180
- package/src/funcs/milestones-delete-milestone.ts +0 -181
- package/src/funcs/milestones-get-milestone.ts +0 -182
- package/src/funcs/milestones-list-milestones.ts +0 -188
- package/src/funcs/milestones-update-milestone.ts +0 -183
- package/src/funcs/payments-create-payment.ts +0 -180
- package/src/funcs/payments-get-payment.ts +0 -182
- package/src/funcs/payments-list-payments.ts +0 -186
- package/src/funcs/payments-update-payment.ts +0 -183
- package/src/funcs/payouts-get-payout.ts +0 -182
- package/src/funcs/payouts-list-payouts.ts +0 -185
- package/src/funcs/projects-create-project.ts +0 -177
- package/src/funcs/projects-delete-project.ts +0 -181
- package/src/funcs/projects-get-project.ts +0 -182
- package/src/funcs/projects-list-projects.ts +0 -184
- package/src/funcs/projects-update-project.ts +0 -183
- package/src/funcs/proposals-create-proposal.ts +0 -180
- package/src/funcs/proposals-delete-proposal.ts +0 -181
- package/src/funcs/proposals-get-proposal.ts +0 -182
- package/src/funcs/proposals-list-proposals.ts +0 -188
- package/src/funcs/proposals-update-proposal.ts +0 -186
- package/src/funcs/time-entries-create-time-entry.ts +0 -177
- package/src/funcs/time-entries-delete-time-entry.ts +0 -184
- package/src/funcs/time-entries-get-time-entry.ts +0 -182
- package/src/funcs/time-entries-list-time-entries.ts +0 -191
- package/src/funcs/time-entries-update-time-entry.ts +0 -186
- package/src/funcs/transactions-create-transaction.ts +0 -177
- package/src/funcs/transactions-delete-transaction.ts +0 -185
- package/src/funcs/transactions-get-transaction.ts +0 -182
- package/src/funcs/transactions-list-transactions.ts +0 -188
- package/src/funcs/transactions-update-transaction.ts +0 -187
- package/src/funcs/webhooks-create-webhook.ts +0 -180
- package/src/funcs/webhooks-delete-webhook.ts +0 -181
- package/src/funcs/webhooks-get-webhook.ts +0 -182
- package/src/funcs/webhooks-list-webhooks.ts +0 -184
- package/src/funcs/webhooks-update-webhook.ts +0 -186
- package/src/models/inquiry-create.ts +0 -72
- package/src/models/inquiry-update.ts +0 -80
- package/src/models/inquiry.ts +0 -123
- package/src/models/operations/create-inquiry.ts +0 -33
- package/src/models/operations/create-proposal.ts +0 -33
- package/src/models/operations/delete-inquiry.ts +0 -61
- package/src/models/operations/delete-proposal.ts +0 -61
- package/src/models/operations/get-inquiry.ts +0 -61
- package/src/models/operations/get-proposal.ts +0 -61
- package/src/models/operations/list-inquiries.ts +0 -127
- package/src/models/operations/list-proposals.ts +0 -120
- package/src/models/operations/update-inquiry.ts +0 -65
- package/src/models/operations/update-proposal.ts +0 -65
- package/src/models/proposal-create.ts +0 -86
- package/src/models/proposal-update.ts +0 -84
- package/src/models/proposal.ts +0 -120
- package/src/sdk/inquiries.ts +0 -101
- package/src/sdk/proposals.ts +0 -101
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { ClientCasaCore } from "../core.js";
|
|
7
|
+
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
8
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
9
|
+
import * as M from "../lib/matchers.js";
|
|
10
|
+
import { compactMap } from "../lib/primitives.js";
|
|
11
|
+
import { safeParse } from "../lib/schemas.js";
|
|
12
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
+
import { resolveSecurity } from "../lib/security.js";
|
|
14
|
+
import { pathToFunc } from "../lib/url.js";
|
|
15
|
+
import { ClientCasaError } from "../models/errors/client-casa-error.js";
|
|
16
|
+
import {
|
|
17
|
+
ConnectionError,
|
|
18
|
+
InvalidRequestError,
|
|
19
|
+
RequestAbortedError,
|
|
20
|
+
RequestTimeoutError,
|
|
21
|
+
UnexpectedClientError,
|
|
22
|
+
} from "../models/errors/http-client-errors.js";
|
|
23
|
+
import * as errors from "../models/errors/index.js";
|
|
24
|
+
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
25
|
+
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
26
|
+
import * as models from "../models/index.js";
|
|
27
|
+
import * as operations from "../models/operations/index.js";
|
|
28
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
29
|
+
import { Result } from "../types/fp.js";
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Update a webhook
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* Pass `secret: null` to remove the signing secret. Pass a new string to rotate.
|
|
36
|
+
*/
|
|
37
|
+
export function webhooksUpdate(
|
|
38
|
+
client: ClientCasaCore,
|
|
39
|
+
security: operations.UpdateWebhookSecurity,
|
|
40
|
+
request: operations.UpdateWebhookRequest,
|
|
41
|
+
options?: RequestOptions,
|
|
42
|
+
): APIPromise<
|
|
43
|
+
Result<
|
|
44
|
+
models.Webhook,
|
|
45
|
+
| errors.ApiError
|
|
46
|
+
| ClientCasaError
|
|
47
|
+
| ResponseValidationError
|
|
48
|
+
| ConnectionError
|
|
49
|
+
| RequestAbortedError
|
|
50
|
+
| RequestTimeoutError
|
|
51
|
+
| InvalidRequestError
|
|
52
|
+
| UnexpectedClientError
|
|
53
|
+
| SDKValidationError
|
|
54
|
+
>
|
|
55
|
+
> {
|
|
56
|
+
return new APIPromise($do(
|
|
57
|
+
client,
|
|
58
|
+
security,
|
|
59
|
+
request,
|
|
60
|
+
options,
|
|
61
|
+
));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
async function $do(
|
|
65
|
+
client: ClientCasaCore,
|
|
66
|
+
security: operations.UpdateWebhookSecurity,
|
|
67
|
+
request: operations.UpdateWebhookRequest,
|
|
68
|
+
options?: RequestOptions,
|
|
69
|
+
): Promise<
|
|
70
|
+
[
|
|
71
|
+
Result<
|
|
72
|
+
models.Webhook,
|
|
73
|
+
| errors.ApiError
|
|
74
|
+
| ClientCasaError
|
|
75
|
+
| ResponseValidationError
|
|
76
|
+
| ConnectionError
|
|
77
|
+
| RequestAbortedError
|
|
78
|
+
| RequestTimeoutError
|
|
79
|
+
| InvalidRequestError
|
|
80
|
+
| UnexpectedClientError
|
|
81
|
+
| SDKValidationError
|
|
82
|
+
>,
|
|
83
|
+
APICall,
|
|
84
|
+
]
|
|
85
|
+
> {
|
|
86
|
+
const parsed = safeParse(
|
|
87
|
+
request,
|
|
88
|
+
(value) => z.parse(operations.UpdateWebhookRequest$outboundSchema, value),
|
|
89
|
+
"Input validation failed",
|
|
90
|
+
);
|
|
91
|
+
if (!parsed.ok) {
|
|
92
|
+
return [parsed, { status: "invalid" }];
|
|
93
|
+
}
|
|
94
|
+
const payload = parsed.value;
|
|
95
|
+
const body = encodeJSON("body", payload.body, { explode: true });
|
|
96
|
+
|
|
97
|
+
const pathParams = {
|
|
98
|
+
id: encodeSimple("id", payload.id, {
|
|
99
|
+
explode: false,
|
|
100
|
+
charEncoding: "percent",
|
|
101
|
+
}),
|
|
102
|
+
};
|
|
103
|
+
const path = pathToFunc("/api/v1/webhooks/{id}")(pathParams);
|
|
104
|
+
|
|
105
|
+
const headers = new Headers(compactMap({
|
|
106
|
+
"Content-Type": "application/json",
|
|
107
|
+
Accept: "application/json",
|
|
108
|
+
}));
|
|
109
|
+
|
|
110
|
+
const requestSecurity = resolveSecurity(
|
|
111
|
+
[
|
|
112
|
+
{
|
|
113
|
+
fieldName: "x-api-key",
|
|
114
|
+
type: "apiKey:header",
|
|
115
|
+
value: security?.apiKey,
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
[
|
|
119
|
+
{
|
|
120
|
+
fieldName: "Authorization",
|
|
121
|
+
type: "http:bearer",
|
|
122
|
+
value: security?.bearer,
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
);
|
|
126
|
+
|
|
127
|
+
const context = {
|
|
128
|
+
options: client._options,
|
|
129
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
130
|
+
operationID: "updateWebhook",
|
|
131
|
+
oAuth2Scopes: null,
|
|
132
|
+
|
|
133
|
+
resolvedSecurity: requestSecurity,
|
|
134
|
+
|
|
135
|
+
securitySource: security,
|
|
136
|
+
retryConfig: options?.retries
|
|
137
|
+
|| client._options.retryConfig
|
|
138
|
+
|| {
|
|
139
|
+
strategy: "backoff",
|
|
140
|
+
backoff: {
|
|
141
|
+
initialInterval: 500,
|
|
142
|
+
maxInterval: 30000,
|
|
143
|
+
exponent: 1.5,
|
|
144
|
+
maxElapsedTime: 30000,
|
|
145
|
+
},
|
|
146
|
+
retryConnectionErrors: true,
|
|
147
|
+
}
|
|
148
|
+
|| { strategy: "none" },
|
|
149
|
+
retryCodes: options?.retryCodes || ["429", "5XX"],
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
const requestRes = client._createRequest(context, {
|
|
153
|
+
security: requestSecurity,
|
|
154
|
+
method: "PATCH",
|
|
155
|
+
baseURL: options?.serverURL,
|
|
156
|
+
path: path,
|
|
157
|
+
headers: headers,
|
|
158
|
+
body: body,
|
|
159
|
+
userAgent: client._options.userAgent,
|
|
160
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
161
|
+
}, options);
|
|
162
|
+
if (!requestRes.ok) {
|
|
163
|
+
return [requestRes, { status: "invalid" }];
|
|
164
|
+
}
|
|
165
|
+
const req = requestRes.value;
|
|
166
|
+
|
|
167
|
+
const doResult = await client._do(req, {
|
|
168
|
+
context,
|
|
169
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
170
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
171
|
+
retryConfig: context.retryConfig,
|
|
172
|
+
retryCodes: context.retryCodes,
|
|
173
|
+
});
|
|
174
|
+
if (!doResult.ok) {
|
|
175
|
+
return [doResult, { status: "request-error", request: req }];
|
|
176
|
+
}
|
|
177
|
+
const response = doResult.value;
|
|
178
|
+
|
|
179
|
+
const responseFields = {
|
|
180
|
+
HttpMeta: { Response: response, Request: req },
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
const [result] = await M.match<
|
|
184
|
+
models.Webhook,
|
|
185
|
+
| errors.ApiError
|
|
186
|
+
| ClientCasaError
|
|
187
|
+
| ResponseValidationError
|
|
188
|
+
| ConnectionError
|
|
189
|
+
| RequestAbortedError
|
|
190
|
+
| RequestTimeoutError
|
|
191
|
+
| InvalidRequestError
|
|
192
|
+
| UnexpectedClientError
|
|
193
|
+
| SDKValidationError
|
|
194
|
+
>(
|
|
195
|
+
M.json(200, models.Webhook$inboundSchema),
|
|
196
|
+
M.jsonErr([400, 401, 403, 404, 429], errors.ApiError$inboundSchema),
|
|
197
|
+
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
198
|
+
M.fail("4XX"),
|
|
199
|
+
M.fail("5XX"),
|
|
200
|
+
)(response, req, { extraFields: responseFields });
|
|
201
|
+
if (!result.ok) {
|
|
202
|
+
return [result, { status: "complete", request: req, response }];
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
return [result, { status: "complete", request: req, response }];
|
|
206
|
+
}
|
package/src/hooks/types.ts
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "1.0.0",
|
|
64
|
-
sdkVersion: "0.
|
|
65
|
-
genVersion: "2.
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
64
|
+
sdkVersion: "0.4.0",
|
|
65
|
+
genVersion: "2.899.0",
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 0.4.0 2.899.0 1.0.0 @clientcasa/sdk",
|
|
67
67
|
} as const;
|
package/src/lib/sdks.ts
CHANGED
|
@@ -24,6 +24,7 @@ import {
|
|
|
24
24
|
matchContentType,
|
|
25
25
|
} from "./http.js";
|
|
26
26
|
import { Logger } from "./logger.js";
|
|
27
|
+
import { combineSignals } from "./primitives.js";
|
|
27
28
|
import { retry, RetryConfig } from "./retries.js";
|
|
28
29
|
import { SecurityState } from "./security.js";
|
|
29
30
|
|
|
@@ -197,9 +198,8 @@ export class ClientSDK {
|
|
|
197
198
|
...options?.fetchOptions,
|
|
198
199
|
...options,
|
|
199
200
|
};
|
|
200
|
-
if (!fetchOptions?.signal && conf.timeoutMs && conf.timeoutMs > 0) {
|
|
201
|
-
|
|
202
|
-
fetchOptions.signal = timeoutSignal;
|
|
201
|
+
if (!fetchOptions?.signal && conf.timeoutMs != null && conf.timeoutMs > 0) {
|
|
202
|
+
context.timeoutMs = conf.timeoutMs;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
if (conf.body instanceof ReadableStream) {
|
|
@@ -246,10 +246,19 @@ export class ClientSDK {
|
|
|
246
246
|
>
|
|
247
247
|
> {
|
|
248
248
|
const { context, isErrorStatusCode } = options;
|
|
249
|
+
const timeoutMs = context.timeoutMs;
|
|
249
250
|
|
|
250
251
|
return retry(
|
|
251
252
|
async () => {
|
|
252
|
-
const
|
|
253
|
+
const cloned = request.clone();
|
|
254
|
+
let attempt = cloned;
|
|
255
|
+
if (timeoutMs != null && timeoutMs > 0) {
|
|
256
|
+
const timeoutSignal = AbortSignal.timeout(timeoutMs);
|
|
257
|
+
const combined = combineSignals(cloned.signal, timeoutSignal)
|
|
258
|
+
?? timeoutSignal;
|
|
259
|
+
attempt = new Request(cloned, { signal: combined });
|
|
260
|
+
}
|
|
261
|
+
const req = await this.#hooks.beforeRequest(context, attempt);
|
|
253
262
|
await logRequest(this.#logger, req).catch((e) =>
|
|
254
263
|
this.#logger?.log("Failed to log request:", e)
|
|
255
264
|
);
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import * as openEnums from "../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
10
|
+
import * as types from "../types/primitives.js";
|
|
11
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
12
|
+
|
|
13
|
+
export const Code = {
|
|
14
|
+
Unauthorized: "unauthorized",
|
|
15
|
+
Forbidden: "forbidden",
|
|
16
|
+
NotFound: "not_found",
|
|
17
|
+
InvalidRequest: "invalid_request",
|
|
18
|
+
RateLimited: "rate_limited",
|
|
19
|
+
Conflict: "conflict",
|
|
20
|
+
Gone: "gone",
|
|
21
|
+
InternalError: "internal_error",
|
|
22
|
+
} as const;
|
|
23
|
+
export type Code = OpenEnum<typeof Code>;
|
|
24
|
+
|
|
25
|
+
export type ErrorT = {
|
|
26
|
+
code: Code;
|
|
27
|
+
message: string;
|
|
28
|
+
requestId: string;
|
|
29
|
+
details?: { [k: string]: any } | undefined;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const Code$inboundSchema: z.ZodMiniType<Code, unknown> = openEnums
|
|
34
|
+
.inboundSchema(Code);
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const ErrorT$inboundSchema: z.ZodMiniType<ErrorT, unknown> = z.object({
|
|
38
|
+
code: Code$inboundSchema,
|
|
39
|
+
message: types.string(),
|
|
40
|
+
requestId: types.string(),
|
|
41
|
+
details: types.optional(z.record(z.string(), z.any())),
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
export function errorFromJSON(
|
|
45
|
+
jsonString: string,
|
|
46
|
+
): SafeParseResult<ErrorT, SDKValidationError> {
|
|
47
|
+
return safeParse(
|
|
48
|
+
jsonString,
|
|
49
|
+
(x) => ErrorT$inboundSchema.parse(JSON.parse(x)),
|
|
50
|
+
`Failed to parse 'ErrorT' from JSON`,
|
|
51
|
+
);
|
|
52
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import {
|
|
9
|
+
CalendarEvent,
|
|
10
|
+
CalendarEvent$inboundSchema,
|
|
11
|
+
} from "./calendar-event.js";
|
|
12
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
13
|
+
import {
|
|
14
|
+
PaginationMeta,
|
|
15
|
+
PaginationMeta$inboundSchema,
|
|
16
|
+
} from "./pagination-meta.js";
|
|
17
|
+
|
|
18
|
+
export type CalendarEventList = {
|
|
19
|
+
data: Array<CalendarEvent>;
|
|
20
|
+
pagination: PaginationMeta;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const CalendarEventList$inboundSchema: z.ZodMiniType<
|
|
25
|
+
CalendarEventList,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
data: z.array(CalendarEvent$inboundSchema),
|
|
29
|
+
pagination: PaginationMeta$inboundSchema,
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
export function calendarEventListFromJSON(
|
|
33
|
+
jsonString: string,
|
|
34
|
+
): SafeParseResult<CalendarEventList, SDKValidationError> {
|
|
35
|
+
return safeParse(
|
|
36
|
+
jsonString,
|
|
37
|
+
(x) => CalendarEventList$inboundSchema.parse(JSON.parse(x)),
|
|
38
|
+
`Failed to parse 'CalendarEventList' from JSON`,
|
|
39
|
+
);
|
|
40
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import { CatalogItem, CatalogItem$inboundSchema } from "./catalog-item.js";
|
|
9
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
10
|
+
import {
|
|
11
|
+
PaginationMeta,
|
|
12
|
+
PaginationMeta$inboundSchema,
|
|
13
|
+
} from "./pagination-meta.js";
|
|
14
|
+
|
|
15
|
+
export type CatalogItemList = {
|
|
16
|
+
data: Array<CatalogItem>;
|
|
17
|
+
pagination: PaginationMeta;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const CatalogItemList$inboundSchema: z.ZodMiniType<
|
|
22
|
+
CatalogItemList,
|
|
23
|
+
unknown
|
|
24
|
+
> = z.object({
|
|
25
|
+
data: z.array(CatalogItem$inboundSchema),
|
|
26
|
+
pagination: PaginationMeta$inboundSchema,
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export function catalogItemListFromJSON(
|
|
30
|
+
jsonString: string,
|
|
31
|
+
): SafeParseResult<CatalogItemList, SDKValidationError> {
|
|
32
|
+
return safeParse(
|
|
33
|
+
jsonString,
|
|
34
|
+
(x) => CatalogItemList$inboundSchema.parse(JSON.parse(x)),
|
|
35
|
+
`Failed to parse 'CatalogItemList' from JSON`,
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -40,6 +40,18 @@ export const CatalogItemPricingMode = {
|
|
|
40
40
|
} as const;
|
|
41
41
|
export type CatalogItemPricingMode = OpenEnum<typeof CatalogItemPricingMode>;
|
|
42
42
|
|
|
43
|
+
export const Composition = {
|
|
44
|
+
Atom: "atom",
|
|
45
|
+
Bundle: "bundle",
|
|
46
|
+
} as const;
|
|
47
|
+
export type Composition = OpenEnum<typeof Composition>;
|
|
48
|
+
|
|
49
|
+
export const BundlePriceMode = {
|
|
50
|
+
Sum: "sum",
|
|
51
|
+
Fixed: "fixed",
|
|
52
|
+
} as const;
|
|
53
|
+
export type BundlePriceMode = OpenEnum<typeof BundlePriceMode>;
|
|
54
|
+
|
|
43
55
|
export const CatalogItemStatus = {
|
|
44
56
|
Active: "active",
|
|
45
57
|
Paused: "paused",
|
|
@@ -61,6 +73,9 @@ export type CatalogItem = {
|
|
|
61
73
|
defaultFrequency: CatalogItemDefaultFrequency;
|
|
62
74
|
type: CatalogItemType;
|
|
63
75
|
pricingMode: CatalogItemPricingMode;
|
|
76
|
+
composition: Composition;
|
|
77
|
+
bundlePriceMode: BundlePriceMode | null;
|
|
78
|
+
bundleFixedPrice: number | null;
|
|
64
79
|
/**
|
|
65
80
|
* UUID v4
|
|
66
81
|
*/
|
|
@@ -104,6 +119,16 @@ export const CatalogItemPricingMode$inboundSchema: z.ZodMiniType<
|
|
|
104
119
|
unknown
|
|
105
120
|
> = openEnums.inboundSchema(CatalogItemPricingMode);
|
|
106
121
|
|
|
122
|
+
/** @internal */
|
|
123
|
+
export const Composition$inboundSchema: z.ZodMiniType<Composition, unknown> =
|
|
124
|
+
openEnums.inboundSchema(Composition);
|
|
125
|
+
|
|
126
|
+
/** @internal */
|
|
127
|
+
export const BundlePriceMode$inboundSchema: z.ZodMiniType<
|
|
128
|
+
BundlePriceMode,
|
|
129
|
+
unknown
|
|
130
|
+
> = openEnums.inboundSchema(BundlePriceMode);
|
|
131
|
+
|
|
107
132
|
/** @internal */
|
|
108
133
|
export const CatalogItemStatus$inboundSchema: z.ZodMiniType<
|
|
109
134
|
CatalogItemStatus,
|
|
@@ -123,6 +148,9 @@ export const CatalogItem$inboundSchema: z.ZodMiniType<CatalogItem, unknown> = z
|
|
|
123
148
|
defaultFrequency: CatalogItemDefaultFrequency$inboundSchema,
|
|
124
149
|
type: CatalogItemType$inboundSchema,
|
|
125
150
|
pricingMode: CatalogItemPricingMode$inboundSchema,
|
|
151
|
+
composition: Composition$inboundSchema,
|
|
152
|
+
bundlePriceMode: types.nullable(BundlePriceMode$inboundSchema),
|
|
153
|
+
bundleFixedPrice: types.nullable(types.number()),
|
|
126
154
|
taxCategoryId: types.nullable(types.string()),
|
|
127
155
|
status: CatalogItemStatus$inboundSchema,
|
|
128
156
|
clientId: types.nullable(types.string()),
|
|
@@ -6,9 +6,13 @@ import * as z from "zod/v4-mini";
|
|
|
6
6
|
import { ClosedEnum } from "../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const ClientCreateStatus = {
|
|
9
|
-
|
|
9
|
+
New: "new",
|
|
10
|
+
Contacted: "contacted",
|
|
11
|
+
Qualified: "qualified",
|
|
10
12
|
Active: "active",
|
|
11
13
|
Inactive: "inactive",
|
|
14
|
+
Declined: "declined",
|
|
15
|
+
Spam: "spam",
|
|
12
16
|
} as const;
|
|
13
17
|
export type ClientCreateStatus = ClosedEnum<typeof ClientCreateStatus>;
|
|
14
18
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import {
|
|
9
|
+
ClientDocument,
|
|
10
|
+
ClientDocument$inboundSchema,
|
|
11
|
+
} from "./client-document.js";
|
|
12
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
13
|
+
import {
|
|
14
|
+
PaginationMeta,
|
|
15
|
+
PaginationMeta$inboundSchema,
|
|
16
|
+
} from "./pagination-meta.js";
|
|
17
|
+
|
|
18
|
+
export type ClientDocumentList = {
|
|
19
|
+
data: Array<ClientDocument>;
|
|
20
|
+
pagination: PaginationMeta;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const ClientDocumentList$inboundSchema: z.ZodMiniType<
|
|
25
|
+
ClientDocumentList,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
data: z.array(ClientDocument$inboundSchema),
|
|
29
|
+
pagination: PaginationMeta$inboundSchema,
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
export function clientDocumentListFromJSON(
|
|
33
|
+
jsonString: string,
|
|
34
|
+
): SafeParseResult<ClientDocumentList, SDKValidationError> {
|
|
35
|
+
return safeParse(
|
|
36
|
+
jsonString,
|
|
37
|
+
(x) => ClientDocumentList$inboundSchema.parse(JSON.parse(x)),
|
|
38
|
+
`Failed to parse 'ClientDocumentList' from JSON`,
|
|
39
|
+
);
|
|
40
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import * as openEnums from "../types/enums.js";
|
|
8
|
+
import { ClosedEnum, OpenEnum } from "../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
10
|
+
import * as types from "../types/primitives.js";
|
|
11
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
12
|
+
|
|
13
|
+
export const ClientDocumentKind = {
|
|
14
|
+
SmartFile: "smart-file",
|
|
15
|
+
} as const;
|
|
16
|
+
export type ClientDocumentKind = ClosedEnum<typeof ClientDocumentKind>;
|
|
17
|
+
|
|
18
|
+
export const ClientDocumentStatus = {
|
|
19
|
+
Draft: "draft",
|
|
20
|
+
Sent: "sent",
|
|
21
|
+
Viewed: "viewed",
|
|
22
|
+
InProgress: "in_progress",
|
|
23
|
+
Accepted: "accepted",
|
|
24
|
+
Completed: "completed",
|
|
25
|
+
Expired: "expired",
|
|
26
|
+
Void: "void",
|
|
27
|
+
} as const;
|
|
28
|
+
export type ClientDocumentStatus = OpenEnum<typeof ClientDocumentStatus>;
|
|
29
|
+
|
|
30
|
+
export type ClientDocument = {
|
|
31
|
+
/**
|
|
32
|
+
* UUID v4
|
|
33
|
+
*/
|
|
34
|
+
id: string;
|
|
35
|
+
kind: ClientDocumentKind;
|
|
36
|
+
title: string | null;
|
|
37
|
+
status: ClientDocumentStatus;
|
|
38
|
+
/**
|
|
39
|
+
* UUID v4
|
|
40
|
+
*/
|
|
41
|
+
contactId: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* UUID v4
|
|
44
|
+
*/
|
|
45
|
+
clientId: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* UUID v4
|
|
48
|
+
*/
|
|
49
|
+
projectId: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* UUID v4
|
|
52
|
+
*/
|
|
53
|
+
engagementProjectId: string | null;
|
|
54
|
+
isTemplate: boolean;
|
|
55
|
+
clientUrl: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* ISO 8601 timestamp (UTC)
|
|
58
|
+
*/
|
|
59
|
+
quoteConvertedAt: Date | null;
|
|
60
|
+
/**
|
|
61
|
+
* ISO 8601 timestamp (UTC)
|
|
62
|
+
*/
|
|
63
|
+
expiresAt: Date | null;
|
|
64
|
+
/**
|
|
65
|
+
* ISO 8601 timestamp (UTC)
|
|
66
|
+
*/
|
|
67
|
+
createdAt: Date;
|
|
68
|
+
/**
|
|
69
|
+
* ISO 8601 timestamp (UTC)
|
|
70
|
+
*/
|
|
71
|
+
updatedAt: Date;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
/** @internal */
|
|
75
|
+
export const ClientDocumentKind$inboundSchema: z.ZodMiniEnum<
|
|
76
|
+
typeof ClientDocumentKind
|
|
77
|
+
> = z.enum(ClientDocumentKind);
|
|
78
|
+
|
|
79
|
+
/** @internal */
|
|
80
|
+
export const ClientDocumentStatus$inboundSchema: z.ZodMiniType<
|
|
81
|
+
ClientDocumentStatus,
|
|
82
|
+
unknown
|
|
83
|
+
> = openEnums.inboundSchema(ClientDocumentStatus);
|
|
84
|
+
|
|
85
|
+
/** @internal */
|
|
86
|
+
export const ClientDocument$inboundSchema: z.ZodMiniType<
|
|
87
|
+
ClientDocument,
|
|
88
|
+
unknown
|
|
89
|
+
> = z.object({
|
|
90
|
+
id: types.string(),
|
|
91
|
+
kind: ClientDocumentKind$inboundSchema,
|
|
92
|
+
title: types.nullable(types.string()),
|
|
93
|
+
status: ClientDocumentStatus$inboundSchema,
|
|
94
|
+
contactId: types.nullable(types.string()),
|
|
95
|
+
clientId: types.nullable(types.string()),
|
|
96
|
+
projectId: types.nullable(types.string()),
|
|
97
|
+
engagementProjectId: types.nullable(types.string()),
|
|
98
|
+
isTemplate: types.boolean(),
|
|
99
|
+
clientUrl: types.nullable(types.string()),
|
|
100
|
+
quoteConvertedAt: types.nullable(types.date()),
|
|
101
|
+
expiresAt: types.nullable(types.date()),
|
|
102
|
+
createdAt: types.date(),
|
|
103
|
+
updatedAt: types.date(),
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
export function clientDocumentFromJSON(
|
|
107
|
+
jsonString: string,
|
|
108
|
+
): SafeParseResult<ClientDocument, SDKValidationError> {
|
|
109
|
+
return safeParse(
|
|
110
|
+
jsonString,
|
|
111
|
+
(x) => ClientDocument$inboundSchema.parse(JSON.parse(x)),
|
|
112
|
+
`Failed to parse 'ClientDocument' from JSON`,
|
|
113
|
+
);
|
|
114
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import { Client, Client$inboundSchema } from "./client.js";
|
|
9
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
10
|
+
import {
|
|
11
|
+
PaginationMeta,
|
|
12
|
+
PaginationMeta$inboundSchema,
|
|
13
|
+
} from "./pagination-meta.js";
|
|
14
|
+
|
|
15
|
+
export type ClientList = {
|
|
16
|
+
data: Array<Client>;
|
|
17
|
+
pagination: PaginationMeta;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const ClientList$inboundSchema: z.ZodMiniType<ClientList, unknown> = z
|
|
22
|
+
.object({
|
|
23
|
+
data: z.array(Client$inboundSchema),
|
|
24
|
+
pagination: PaginationMeta$inboundSchema,
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function clientListFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<ClientList, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => ClientList$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'ClientList' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -6,9 +6,13 @@ import * as z from "zod/v4-mini";
|
|
|
6
6
|
import { ClosedEnum } from "../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const ClientUpdateStatus = {
|
|
9
|
-
|
|
9
|
+
New: "new",
|
|
10
|
+
Contacted: "contacted",
|
|
11
|
+
Qualified: "qualified",
|
|
10
12
|
Active: "active",
|
|
11
13
|
Inactive: "inactive",
|
|
14
|
+
Declined: "declined",
|
|
15
|
+
Spam: "spam",
|
|
12
16
|
} as const;
|
|
13
17
|
export type ClientUpdateStatus = ClosedEnum<typeof ClientUpdateStatus>;
|
|
14
18
|
|
package/src/models/client.ts
CHANGED
|
@@ -11,9 +11,13 @@ import * as types from "../types/primitives.js";
|
|
|
11
11
|
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
12
12
|
|
|
13
13
|
export const ClientStatus = {
|
|
14
|
-
|
|
14
|
+
New: "new",
|
|
15
|
+
Contacted: "contacted",
|
|
16
|
+
Qualified: "qualified",
|
|
15
17
|
Active: "active",
|
|
16
18
|
Inactive: "inactive",
|
|
19
|
+
Declined: "declined",
|
|
20
|
+
Spam: "spam",
|
|
17
21
|
} as const;
|
|
18
22
|
export type ClientStatus = OpenEnum<typeof ClientStatus>;
|
|
19
23
|
|