@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,193 @@
|
|
|
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
|
+
* Create a transaction (expense or charge)
|
|
33
|
+
*/
|
|
34
|
+
export function transactionsCreate(
|
|
35
|
+
client: ClientCasaCore,
|
|
36
|
+
security: operations.CreateTransactionSecurity,
|
|
37
|
+
request: operations.CreateTransactionRequest,
|
|
38
|
+
options?: RequestOptions,
|
|
39
|
+
): APIPromise<
|
|
40
|
+
Result<
|
|
41
|
+
models.Transaction,
|
|
42
|
+
| errors.ApiError
|
|
43
|
+
| ClientCasaError
|
|
44
|
+
| ResponseValidationError
|
|
45
|
+
| ConnectionError
|
|
46
|
+
| RequestAbortedError
|
|
47
|
+
| RequestTimeoutError
|
|
48
|
+
| InvalidRequestError
|
|
49
|
+
| UnexpectedClientError
|
|
50
|
+
| SDKValidationError
|
|
51
|
+
>
|
|
52
|
+
> {
|
|
53
|
+
return new APIPromise($do(
|
|
54
|
+
client,
|
|
55
|
+
security,
|
|
56
|
+
request,
|
|
57
|
+
options,
|
|
58
|
+
));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
async function $do(
|
|
62
|
+
client: ClientCasaCore,
|
|
63
|
+
security: operations.CreateTransactionSecurity,
|
|
64
|
+
request: operations.CreateTransactionRequest,
|
|
65
|
+
options?: RequestOptions,
|
|
66
|
+
): Promise<
|
|
67
|
+
[
|
|
68
|
+
Result<
|
|
69
|
+
models.Transaction,
|
|
70
|
+
| errors.ApiError
|
|
71
|
+
| ClientCasaError
|
|
72
|
+
| ResponseValidationError
|
|
73
|
+
| ConnectionError
|
|
74
|
+
| RequestAbortedError
|
|
75
|
+
| RequestTimeoutError
|
|
76
|
+
| InvalidRequestError
|
|
77
|
+
| UnexpectedClientError
|
|
78
|
+
| SDKValidationError
|
|
79
|
+
>,
|
|
80
|
+
APICall,
|
|
81
|
+
]
|
|
82
|
+
> {
|
|
83
|
+
const parsed = safeParse(
|
|
84
|
+
request,
|
|
85
|
+
(value) =>
|
|
86
|
+
z.parse(operations.CreateTransactionRequest$outboundSchema, value),
|
|
87
|
+
"Input validation failed",
|
|
88
|
+
);
|
|
89
|
+
if (!parsed.ok) {
|
|
90
|
+
return [parsed, { status: "invalid" }];
|
|
91
|
+
}
|
|
92
|
+
const payload = parsed.value;
|
|
93
|
+
const body = encodeJSON("body", payload.body, { explode: true });
|
|
94
|
+
|
|
95
|
+
const path = pathToFunc("/api/v1/transactions")();
|
|
96
|
+
|
|
97
|
+
const headers = new Headers(compactMap({
|
|
98
|
+
"Content-Type": "application/json",
|
|
99
|
+
Accept: "application/json",
|
|
100
|
+
"Idempotency-Key": encodeSimple(
|
|
101
|
+
"Idempotency-Key",
|
|
102
|
+
payload["Idempotency-Key"],
|
|
103
|
+
{ explode: false, charEncoding: "none" },
|
|
104
|
+
),
|
|
105
|
+
}));
|
|
106
|
+
|
|
107
|
+
const requestSecurity = resolveSecurity(
|
|
108
|
+
[
|
|
109
|
+
{
|
|
110
|
+
fieldName: "x-api-key",
|
|
111
|
+
type: "apiKey:header",
|
|
112
|
+
value: security?.apiKey,
|
|
113
|
+
},
|
|
114
|
+
],
|
|
115
|
+
[
|
|
116
|
+
{
|
|
117
|
+
fieldName: "Authorization",
|
|
118
|
+
type: "http:bearer",
|
|
119
|
+
value: security?.bearer,
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
);
|
|
123
|
+
|
|
124
|
+
const context = {
|
|
125
|
+
options: client._options,
|
|
126
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
127
|
+
operationID: "createTransaction",
|
|
128
|
+
oAuth2Scopes: null,
|
|
129
|
+
|
|
130
|
+
resolvedSecurity: requestSecurity,
|
|
131
|
+
|
|
132
|
+
securitySource: security,
|
|
133
|
+
retryConfig: options?.retries
|
|
134
|
+
|| client._options.retryConfig
|
|
135
|
+
|| { strategy: "none" },
|
|
136
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
const requestRes = client._createRequest(context, {
|
|
140
|
+
security: requestSecurity,
|
|
141
|
+
method: "POST",
|
|
142
|
+
baseURL: options?.serverURL,
|
|
143
|
+
path: path,
|
|
144
|
+
headers: headers,
|
|
145
|
+
body: body,
|
|
146
|
+
userAgent: client._options.userAgent,
|
|
147
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
148
|
+
}, options);
|
|
149
|
+
if (!requestRes.ok) {
|
|
150
|
+
return [requestRes, { status: "invalid" }];
|
|
151
|
+
}
|
|
152
|
+
const req = requestRes.value;
|
|
153
|
+
|
|
154
|
+
const doResult = await client._do(req, {
|
|
155
|
+
context,
|
|
156
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
157
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
158
|
+
retryConfig: context.retryConfig,
|
|
159
|
+
retryCodes: context.retryCodes,
|
|
160
|
+
});
|
|
161
|
+
if (!doResult.ok) {
|
|
162
|
+
return [doResult, { status: "request-error", request: req }];
|
|
163
|
+
}
|
|
164
|
+
const response = doResult.value;
|
|
165
|
+
|
|
166
|
+
const responseFields = {
|
|
167
|
+
HttpMeta: { Response: response, Request: req },
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
const [result] = await M.match<
|
|
171
|
+
models.Transaction,
|
|
172
|
+
| errors.ApiError
|
|
173
|
+
| ClientCasaError
|
|
174
|
+
| ResponseValidationError
|
|
175
|
+
| ConnectionError
|
|
176
|
+
| RequestAbortedError
|
|
177
|
+
| RequestTimeoutError
|
|
178
|
+
| InvalidRequestError
|
|
179
|
+
| UnexpectedClientError
|
|
180
|
+
| SDKValidationError
|
|
181
|
+
>(
|
|
182
|
+
M.json(201, models.Transaction$inboundSchema),
|
|
183
|
+
M.jsonErr([400, 401, 403, 409, 429], errors.ApiError$inboundSchema),
|
|
184
|
+
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
185
|
+
M.fail("4XX"),
|
|
186
|
+
M.fail("5XX"),
|
|
187
|
+
)(response, req, { extraFields: responseFields });
|
|
188
|
+
if (!result.ok) {
|
|
189
|
+
return [result, { status: "complete", request: req, response }];
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
return [result, { status: "complete", request: req, response }];
|
|
193
|
+
}
|
|
@@ -0,0 +1,205 @@
|
|
|
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 { 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 operations from "../models/operations/index.js";
|
|
27
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
28
|
+
import { Result } from "../types/fp.js";
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Delete a transaction
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* Transactions billed to a sent/paid invoice cannot be deleted.
|
|
35
|
+
*/
|
|
36
|
+
export function transactionsDelete(
|
|
37
|
+
client: ClientCasaCore,
|
|
38
|
+
security: operations.DeleteTransactionSecurity,
|
|
39
|
+
request: operations.DeleteTransactionRequest,
|
|
40
|
+
options?: RequestOptions,
|
|
41
|
+
): APIPromise<
|
|
42
|
+
Result<
|
|
43
|
+
void,
|
|
44
|
+
| errors.ApiError
|
|
45
|
+
| ClientCasaError
|
|
46
|
+
| ResponseValidationError
|
|
47
|
+
| ConnectionError
|
|
48
|
+
| RequestAbortedError
|
|
49
|
+
| RequestTimeoutError
|
|
50
|
+
| InvalidRequestError
|
|
51
|
+
| UnexpectedClientError
|
|
52
|
+
| SDKValidationError
|
|
53
|
+
>
|
|
54
|
+
> {
|
|
55
|
+
return new APIPromise($do(
|
|
56
|
+
client,
|
|
57
|
+
security,
|
|
58
|
+
request,
|
|
59
|
+
options,
|
|
60
|
+
));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
async function $do(
|
|
64
|
+
client: ClientCasaCore,
|
|
65
|
+
security: operations.DeleteTransactionSecurity,
|
|
66
|
+
request: operations.DeleteTransactionRequest,
|
|
67
|
+
options?: RequestOptions,
|
|
68
|
+
): Promise<
|
|
69
|
+
[
|
|
70
|
+
Result<
|
|
71
|
+
void,
|
|
72
|
+
| errors.ApiError
|
|
73
|
+
| ClientCasaError
|
|
74
|
+
| ResponseValidationError
|
|
75
|
+
| ConnectionError
|
|
76
|
+
| RequestAbortedError
|
|
77
|
+
| RequestTimeoutError
|
|
78
|
+
| InvalidRequestError
|
|
79
|
+
| UnexpectedClientError
|
|
80
|
+
| SDKValidationError
|
|
81
|
+
>,
|
|
82
|
+
APICall,
|
|
83
|
+
]
|
|
84
|
+
> {
|
|
85
|
+
const parsed = safeParse(
|
|
86
|
+
request,
|
|
87
|
+
(value) =>
|
|
88
|
+
z.parse(operations.DeleteTransactionRequest$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 = null;
|
|
96
|
+
|
|
97
|
+
const pathParams = {
|
|
98
|
+
id: encodeSimple("id", payload.id, {
|
|
99
|
+
explode: false,
|
|
100
|
+
charEncoding: "percent",
|
|
101
|
+
}),
|
|
102
|
+
};
|
|
103
|
+
const path = pathToFunc("/api/v1/transactions/{id}")(pathParams);
|
|
104
|
+
|
|
105
|
+
const headers = new Headers(compactMap({
|
|
106
|
+
Accept: "application/json",
|
|
107
|
+
}));
|
|
108
|
+
|
|
109
|
+
const requestSecurity = resolveSecurity(
|
|
110
|
+
[
|
|
111
|
+
{
|
|
112
|
+
fieldName: "x-api-key",
|
|
113
|
+
type: "apiKey:header",
|
|
114
|
+
value: security?.apiKey,
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
[
|
|
118
|
+
{
|
|
119
|
+
fieldName: "Authorization",
|
|
120
|
+
type: "http:bearer",
|
|
121
|
+
value: security?.bearer,
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
);
|
|
125
|
+
|
|
126
|
+
const context = {
|
|
127
|
+
options: client._options,
|
|
128
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
129
|
+
operationID: "deleteTransaction",
|
|
130
|
+
oAuth2Scopes: null,
|
|
131
|
+
|
|
132
|
+
resolvedSecurity: requestSecurity,
|
|
133
|
+
|
|
134
|
+
securitySource: security,
|
|
135
|
+
retryConfig: options?.retries
|
|
136
|
+
|| client._options.retryConfig
|
|
137
|
+
|| {
|
|
138
|
+
strategy: "backoff",
|
|
139
|
+
backoff: {
|
|
140
|
+
initialInterval: 500,
|
|
141
|
+
maxInterval: 30000,
|
|
142
|
+
exponent: 1.5,
|
|
143
|
+
maxElapsedTime: 30000,
|
|
144
|
+
},
|
|
145
|
+
retryConnectionErrors: true,
|
|
146
|
+
}
|
|
147
|
+
|| { strategy: "none" },
|
|
148
|
+
retryCodes: options?.retryCodes || ["429", "5XX"],
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
const requestRes = client._createRequest(context, {
|
|
152
|
+
security: requestSecurity,
|
|
153
|
+
method: "DELETE",
|
|
154
|
+
baseURL: options?.serverURL,
|
|
155
|
+
path: path,
|
|
156
|
+
headers: headers,
|
|
157
|
+
body: body,
|
|
158
|
+
userAgent: client._options.userAgent,
|
|
159
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
160
|
+
}, options);
|
|
161
|
+
if (!requestRes.ok) {
|
|
162
|
+
return [requestRes, { status: "invalid" }];
|
|
163
|
+
}
|
|
164
|
+
const req = requestRes.value;
|
|
165
|
+
|
|
166
|
+
const doResult = await client._do(req, {
|
|
167
|
+
context,
|
|
168
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
169
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
170
|
+
retryConfig: context.retryConfig,
|
|
171
|
+
retryCodes: context.retryCodes,
|
|
172
|
+
});
|
|
173
|
+
if (!doResult.ok) {
|
|
174
|
+
return [doResult, { status: "request-error", request: req }];
|
|
175
|
+
}
|
|
176
|
+
const response = doResult.value;
|
|
177
|
+
|
|
178
|
+
const responseFields = {
|
|
179
|
+
HttpMeta: { Response: response, Request: req },
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
const [result] = await M.match<
|
|
183
|
+
void,
|
|
184
|
+
| errors.ApiError
|
|
185
|
+
| ClientCasaError
|
|
186
|
+
| ResponseValidationError
|
|
187
|
+
| ConnectionError
|
|
188
|
+
| RequestAbortedError
|
|
189
|
+
| RequestTimeoutError
|
|
190
|
+
| InvalidRequestError
|
|
191
|
+
| UnexpectedClientError
|
|
192
|
+
| SDKValidationError
|
|
193
|
+
>(
|
|
194
|
+
M.nil(204, z.void()),
|
|
195
|
+
M.jsonErr([401, 403, 404, 429], errors.ApiError$inboundSchema),
|
|
196
|
+
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
197
|
+
M.fail("4XX"),
|
|
198
|
+
M.fail("5XX"),
|
|
199
|
+
)(response, req, { extraFields: responseFields });
|
|
200
|
+
if (!result.ok) {
|
|
201
|
+
return [result, { status: "complete", request: req, response }];
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
return [result, { status: "complete", request: req, response }];
|
|
205
|
+
}
|
|
@@ -0,0 +1,202 @@
|
|
|
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 { 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
|
+
* Get a transaction
|
|
33
|
+
*/
|
|
34
|
+
export function transactionsGet(
|
|
35
|
+
client: ClientCasaCore,
|
|
36
|
+
security: operations.GetTransactionSecurity,
|
|
37
|
+
request: operations.GetTransactionRequest,
|
|
38
|
+
options?: RequestOptions,
|
|
39
|
+
): APIPromise<
|
|
40
|
+
Result<
|
|
41
|
+
models.Transaction,
|
|
42
|
+
| errors.ApiError
|
|
43
|
+
| ClientCasaError
|
|
44
|
+
| ResponseValidationError
|
|
45
|
+
| ConnectionError
|
|
46
|
+
| RequestAbortedError
|
|
47
|
+
| RequestTimeoutError
|
|
48
|
+
| InvalidRequestError
|
|
49
|
+
| UnexpectedClientError
|
|
50
|
+
| SDKValidationError
|
|
51
|
+
>
|
|
52
|
+
> {
|
|
53
|
+
return new APIPromise($do(
|
|
54
|
+
client,
|
|
55
|
+
security,
|
|
56
|
+
request,
|
|
57
|
+
options,
|
|
58
|
+
));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
async function $do(
|
|
62
|
+
client: ClientCasaCore,
|
|
63
|
+
security: operations.GetTransactionSecurity,
|
|
64
|
+
request: operations.GetTransactionRequest,
|
|
65
|
+
options?: RequestOptions,
|
|
66
|
+
): Promise<
|
|
67
|
+
[
|
|
68
|
+
Result<
|
|
69
|
+
models.Transaction,
|
|
70
|
+
| errors.ApiError
|
|
71
|
+
| ClientCasaError
|
|
72
|
+
| ResponseValidationError
|
|
73
|
+
| ConnectionError
|
|
74
|
+
| RequestAbortedError
|
|
75
|
+
| RequestTimeoutError
|
|
76
|
+
| InvalidRequestError
|
|
77
|
+
| UnexpectedClientError
|
|
78
|
+
| SDKValidationError
|
|
79
|
+
>,
|
|
80
|
+
APICall,
|
|
81
|
+
]
|
|
82
|
+
> {
|
|
83
|
+
const parsed = safeParse(
|
|
84
|
+
request,
|
|
85
|
+
(value) => z.parse(operations.GetTransactionRequest$outboundSchema, value),
|
|
86
|
+
"Input validation failed",
|
|
87
|
+
);
|
|
88
|
+
if (!parsed.ok) {
|
|
89
|
+
return [parsed, { status: "invalid" }];
|
|
90
|
+
}
|
|
91
|
+
const payload = parsed.value;
|
|
92
|
+
const body = null;
|
|
93
|
+
|
|
94
|
+
const pathParams = {
|
|
95
|
+
id: encodeSimple("id", payload.id, {
|
|
96
|
+
explode: false,
|
|
97
|
+
charEncoding: "percent",
|
|
98
|
+
}),
|
|
99
|
+
};
|
|
100
|
+
const path = pathToFunc("/api/v1/transactions/{id}")(pathParams);
|
|
101
|
+
|
|
102
|
+
const headers = new Headers(compactMap({
|
|
103
|
+
Accept: "application/json",
|
|
104
|
+
}));
|
|
105
|
+
|
|
106
|
+
const requestSecurity = resolveSecurity(
|
|
107
|
+
[
|
|
108
|
+
{
|
|
109
|
+
fieldName: "x-api-key",
|
|
110
|
+
type: "apiKey:header",
|
|
111
|
+
value: security?.apiKey,
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
[
|
|
115
|
+
{
|
|
116
|
+
fieldName: "Authorization",
|
|
117
|
+
type: "http:bearer",
|
|
118
|
+
value: security?.bearer,
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
);
|
|
122
|
+
|
|
123
|
+
const context = {
|
|
124
|
+
options: client._options,
|
|
125
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
126
|
+
operationID: "getTransaction",
|
|
127
|
+
oAuth2Scopes: null,
|
|
128
|
+
|
|
129
|
+
resolvedSecurity: requestSecurity,
|
|
130
|
+
|
|
131
|
+
securitySource: security,
|
|
132
|
+
retryConfig: options?.retries
|
|
133
|
+
|| client._options.retryConfig
|
|
134
|
+
|| {
|
|
135
|
+
strategy: "backoff",
|
|
136
|
+
backoff: {
|
|
137
|
+
initialInterval: 500,
|
|
138
|
+
maxInterval: 30000,
|
|
139
|
+
exponent: 1.5,
|
|
140
|
+
maxElapsedTime: 30000,
|
|
141
|
+
},
|
|
142
|
+
retryConnectionErrors: true,
|
|
143
|
+
}
|
|
144
|
+
|| { strategy: "none" },
|
|
145
|
+
retryCodes: options?.retryCodes || ["429", "5XX"],
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
const requestRes = client._createRequest(context, {
|
|
149
|
+
security: requestSecurity,
|
|
150
|
+
method: "GET",
|
|
151
|
+
baseURL: options?.serverURL,
|
|
152
|
+
path: path,
|
|
153
|
+
headers: headers,
|
|
154
|
+
body: body,
|
|
155
|
+
userAgent: client._options.userAgent,
|
|
156
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
157
|
+
}, options);
|
|
158
|
+
if (!requestRes.ok) {
|
|
159
|
+
return [requestRes, { status: "invalid" }];
|
|
160
|
+
}
|
|
161
|
+
const req = requestRes.value;
|
|
162
|
+
|
|
163
|
+
const doResult = await client._do(req, {
|
|
164
|
+
context,
|
|
165
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
166
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
167
|
+
retryConfig: context.retryConfig,
|
|
168
|
+
retryCodes: context.retryCodes,
|
|
169
|
+
});
|
|
170
|
+
if (!doResult.ok) {
|
|
171
|
+
return [doResult, { status: "request-error", request: req }];
|
|
172
|
+
}
|
|
173
|
+
const response = doResult.value;
|
|
174
|
+
|
|
175
|
+
const responseFields = {
|
|
176
|
+
HttpMeta: { Response: response, Request: req },
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
const [result] = await M.match<
|
|
180
|
+
models.Transaction,
|
|
181
|
+
| errors.ApiError
|
|
182
|
+
| ClientCasaError
|
|
183
|
+
| ResponseValidationError
|
|
184
|
+
| ConnectionError
|
|
185
|
+
| RequestAbortedError
|
|
186
|
+
| RequestTimeoutError
|
|
187
|
+
| InvalidRequestError
|
|
188
|
+
| UnexpectedClientError
|
|
189
|
+
| SDKValidationError
|
|
190
|
+
>(
|
|
191
|
+
M.json(200, models.Transaction$inboundSchema),
|
|
192
|
+
M.jsonErr([401, 403, 404, 429], errors.ApiError$inboundSchema),
|
|
193
|
+
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
194
|
+
M.fail("4XX"),
|
|
195
|
+
M.fail("5XX"),
|
|
196
|
+
)(response, req, { extraFields: responseFields });
|
|
197
|
+
if (!result.ok) {
|
|
198
|
+
return [result, { status: "complete", request: req, response }];
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
return [result, { status: "complete", request: req, response }];
|
|
202
|
+
}
|