@clientcasa/sdk 0.1.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 +87 -0
- package/LICENSE +21 -0
- package/README.md +739 -0
- package/RUNTIMES.md +48 -0
- package/esm/core.d.ts +10 -0
- package/esm/core.d.ts.map +1 -0
- package/esm/core.js +13 -0
- package/esm/core.js.map +1 -0
- package/esm/funcs/calendar-events-create-calendar-event.d.ts +18 -0
- package/esm/funcs/calendar-events-create-calendar-event.d.ts.map +1 -0
- package/esm/funcs/calendar-events-create-calendar-event.js +90 -0
- package/esm/funcs/calendar-events-create-calendar-event.js.map +1 -0
- package/esm/funcs/calendar-events-delete-calendar-event.d.ts +14 -0
- package/esm/funcs/calendar-events-delete-calendar-event.d.ts.map +1 -0
- package/esm/funcs/calendar-events-delete-calendar-event.js +92 -0
- package/esm/funcs/calendar-events-delete-calendar-event.js.map +1 -0
- package/esm/funcs/calendar-events-get-calendar-event.d.ts +15 -0
- package/esm/funcs/calendar-events-get-calendar-event.d.ts.map +1 -0
- package/esm/funcs/calendar-events-get-calendar-event.js +93 -0
- package/esm/funcs/calendar-events-get-calendar-event.js.map +1 -0
- package/esm/funcs/calendar-events-list-calendar-events.d.ts +14 -0
- package/esm/funcs/calendar-events-list-calendar-events.d.ts.map +1 -0
- package/esm/funcs/calendar-events-list-calendar-events.js +95 -0
- package/esm/funcs/calendar-events-list-calendar-events.js.map +1 -0
- package/esm/funcs/calendar-events-update-calendar-event.d.ts +18 -0
- package/esm/funcs/calendar-events-update-calendar-event.d.ts.map +1 -0
- package/esm/funcs/calendar-events-update-calendar-event.js +97 -0
- package/esm/funcs/calendar-events-update-calendar-event.js.map +1 -0
- package/esm/funcs/catalog-items-create-catalog-item.d.ts +18 -0
- package/esm/funcs/catalog-items-create-catalog-item.d.ts.map +1 -0
- package/esm/funcs/catalog-items-create-catalog-item.js +90 -0
- package/esm/funcs/catalog-items-create-catalog-item.js.map +1 -0
- package/esm/funcs/catalog-items-delete-catalog-item.d.ts +14 -0
- package/esm/funcs/catalog-items-delete-catalog-item.d.ts.map +1 -0
- package/esm/funcs/catalog-items-delete-catalog-item.js +92 -0
- package/esm/funcs/catalog-items-delete-catalog-item.js.map +1 -0
- package/esm/funcs/catalog-items-get-catalog-item.d.ts +15 -0
- package/esm/funcs/catalog-items-get-catalog-item.d.ts.map +1 -0
- package/esm/funcs/catalog-items-get-catalog-item.js +93 -0
- package/esm/funcs/catalog-items-get-catalog-item.js.map +1 -0
- package/esm/funcs/catalog-items-list-catalog-items.d.ts +14 -0
- package/esm/funcs/catalog-items-list-catalog-items.d.ts.map +1 -0
- package/esm/funcs/catalog-items-list-catalog-items.js +94 -0
- package/esm/funcs/catalog-items-list-catalog-items.js.map +1 -0
- package/esm/funcs/catalog-items-update-catalog-item.d.ts +15 -0
- package/esm/funcs/catalog-items-update-catalog-item.d.ts.map +1 -0
- package/esm/funcs/catalog-items-update-catalog-item.js +94 -0
- package/esm/funcs/catalog-items-update-catalog-item.js.map +1 -0
- package/esm/funcs/clients-create-client.d.ts +15 -0
- package/esm/funcs/clients-create-client.d.ts.map +1 -0
- package/esm/funcs/clients-create-client.js +87 -0
- package/esm/funcs/clients-create-client.js.map +1 -0
- package/esm/funcs/clients-delete-client.d.ts +14 -0
- package/esm/funcs/clients-delete-client.d.ts.map +1 -0
- package/esm/funcs/clients-delete-client.js +92 -0
- package/esm/funcs/clients-delete-client.js.map +1 -0
- package/esm/funcs/clients-get-client.d.ts +15 -0
- package/esm/funcs/clients-get-client.d.ts.map +1 -0
- package/esm/funcs/clients-get-client.js +93 -0
- package/esm/funcs/clients-get-client.js.map +1 -0
- package/esm/funcs/clients-list-clients.d.ts +14 -0
- package/esm/funcs/clients-list-clients.d.ts.map +1 -0
- package/esm/funcs/clients-list-clients.js +92 -0
- package/esm/funcs/clients-list-clients.js.map +1 -0
- package/esm/funcs/clients-update-client.d.ts +15 -0
- package/esm/funcs/clients-update-client.d.ts.map +1 -0
- package/esm/funcs/clients-update-client.js +94 -0
- package/esm/funcs/clients-update-client.js.map +1 -0
- package/esm/funcs/contacts-create-contact.d.ts +15 -0
- package/esm/funcs/contacts-create-contact.d.ts.map +1 -0
- package/esm/funcs/contacts-create-contact.js +87 -0
- package/esm/funcs/contacts-create-contact.js.map +1 -0
- package/esm/funcs/contacts-delete-contact.d.ts +14 -0
- package/esm/funcs/contacts-delete-contact.d.ts.map +1 -0
- package/esm/funcs/contacts-delete-contact.js +92 -0
- package/esm/funcs/contacts-delete-contact.js.map +1 -0
- package/esm/funcs/contacts-get-contact.d.ts +15 -0
- package/esm/funcs/contacts-get-contact.d.ts.map +1 -0
- package/esm/funcs/contacts-get-contact.js +93 -0
- package/esm/funcs/contacts-get-contact.js.map +1 -0
- package/esm/funcs/contacts-list-contacts.d.ts +14 -0
- package/esm/funcs/contacts-list-contacts.d.ts.map +1 -0
- package/esm/funcs/contacts-list-contacts.js +93 -0
- package/esm/funcs/contacts-list-contacts.js.map +1 -0
- package/esm/funcs/contacts-update-contact.d.ts +15 -0
- package/esm/funcs/contacts-update-contact.d.ts.map +1 -0
- package/esm/funcs/contacts-update-contact.js +94 -0
- package/esm/funcs/contacts-update-contact.js.map +1 -0
- package/esm/funcs/contracts-create-contract.d.ts +18 -0
- package/esm/funcs/contracts-create-contract.d.ts.map +1 -0
- package/esm/funcs/contracts-create-contract.js +90 -0
- package/esm/funcs/contracts-create-contract.js.map +1 -0
- package/esm/funcs/contracts-delete-contract.d.ts +14 -0
- package/esm/funcs/contracts-delete-contract.d.ts.map +1 -0
- package/esm/funcs/contracts-delete-contract.js +92 -0
- package/esm/funcs/contracts-delete-contract.js.map +1 -0
- package/esm/funcs/contracts-get-contract.d.ts +15 -0
- package/esm/funcs/contracts-get-contract.d.ts.map +1 -0
- package/esm/funcs/contracts-get-contract.js +93 -0
- package/esm/funcs/contracts-get-contract.js.map +1 -0
- package/esm/funcs/contracts-list-contracts.d.ts +14 -0
- package/esm/funcs/contracts-list-contracts.d.ts.map +1 -0
- package/esm/funcs/contracts-list-contracts.js +93 -0
- package/esm/funcs/contracts-list-contracts.js.map +1 -0
- package/esm/funcs/contracts-update-contract.d.ts +18 -0
- package/esm/funcs/contracts-update-contract.d.ts.map +1 -0
- package/esm/funcs/contracts-update-contract.js +97 -0
- package/esm/funcs/contracts-update-contract.js.map +1 -0
- package/esm/funcs/inquiries-create-inquiry.d.ts +18 -0
- package/esm/funcs/inquiries-create-inquiry.d.ts.map +1 -0
- package/esm/funcs/inquiries-create-inquiry.js +90 -0
- package/esm/funcs/inquiries-create-inquiry.js.map +1 -0
- package/esm/funcs/inquiries-delete-inquiry.d.ts +14 -0
- package/esm/funcs/inquiries-delete-inquiry.d.ts.map +1 -0
- package/esm/funcs/inquiries-delete-inquiry.js +92 -0
- package/esm/funcs/inquiries-delete-inquiry.js.map +1 -0
- package/esm/funcs/inquiries-get-inquiry.d.ts +15 -0
- package/esm/funcs/inquiries-get-inquiry.d.ts.map +1 -0
- package/esm/funcs/inquiries-get-inquiry.js +93 -0
- package/esm/funcs/inquiries-get-inquiry.js.map +1 -0
- package/esm/funcs/inquiries-list-inquiries.d.ts +14 -0
- package/esm/funcs/inquiries-list-inquiries.d.ts.map +1 -0
- package/esm/funcs/inquiries-list-inquiries.js +93 -0
- package/esm/funcs/inquiries-list-inquiries.js.map +1 -0
- package/esm/funcs/inquiries-update-inquiry.d.ts +18 -0
- package/esm/funcs/inquiries-update-inquiry.d.ts.map +1 -0
- package/esm/funcs/inquiries-update-inquiry.js +97 -0
- package/esm/funcs/inquiries-update-inquiry.js.map +1 -0
- package/esm/funcs/invoices-create-invoice.d.ts +18 -0
- package/esm/funcs/invoices-create-invoice.d.ts.map +1 -0
- package/esm/funcs/invoices-create-invoice.js +90 -0
- package/esm/funcs/invoices-create-invoice.js.map +1 -0
- package/esm/funcs/invoices-delete-invoice.d.ts +14 -0
- package/esm/funcs/invoices-delete-invoice.d.ts.map +1 -0
- package/esm/funcs/invoices-delete-invoice.js +92 -0
- package/esm/funcs/invoices-delete-invoice.js.map +1 -0
- package/esm/funcs/invoices-get-invoice.d.ts +15 -0
- package/esm/funcs/invoices-get-invoice.d.ts.map +1 -0
- package/esm/funcs/invoices-get-invoice.js +93 -0
- package/esm/funcs/invoices-get-invoice.js.map +1 -0
- package/esm/funcs/invoices-list-invoices.d.ts +14 -0
- package/esm/funcs/invoices-list-invoices.d.ts.map +1 -0
- package/esm/funcs/invoices-list-invoices.js +93 -0
- package/esm/funcs/invoices-list-invoices.js.map +1 -0
- package/esm/funcs/invoices-update-invoice.d.ts +15 -0
- package/esm/funcs/invoices-update-invoice.d.ts.map +1 -0
- package/esm/funcs/invoices-update-invoice.js +94 -0
- package/esm/funcs/invoices-update-invoice.js.map +1 -0
- package/esm/funcs/milestones-create-milestone.d.ts +18 -0
- package/esm/funcs/milestones-create-milestone.d.ts.map +1 -0
- package/esm/funcs/milestones-create-milestone.js +90 -0
- package/esm/funcs/milestones-create-milestone.js.map +1 -0
- package/esm/funcs/milestones-delete-milestone.d.ts +14 -0
- package/esm/funcs/milestones-delete-milestone.d.ts.map +1 -0
- package/esm/funcs/milestones-delete-milestone.js +92 -0
- package/esm/funcs/milestones-delete-milestone.js.map +1 -0
- package/esm/funcs/milestones-get-milestone.d.ts +15 -0
- package/esm/funcs/milestones-get-milestone.d.ts.map +1 -0
- package/esm/funcs/milestones-get-milestone.js +93 -0
- package/esm/funcs/milestones-get-milestone.js.map +1 -0
- package/esm/funcs/milestones-list-milestones.d.ts +14 -0
- package/esm/funcs/milestones-list-milestones.d.ts.map +1 -0
- package/esm/funcs/milestones-list-milestones.js +94 -0
- package/esm/funcs/milestones-list-milestones.js.map +1 -0
- package/esm/funcs/milestones-update-milestone.d.ts +15 -0
- package/esm/funcs/milestones-update-milestone.d.ts.map +1 -0
- package/esm/funcs/milestones-update-milestone.js +94 -0
- package/esm/funcs/milestones-update-milestone.js.map +1 -0
- package/esm/funcs/payments-create-payment.d.ts +18 -0
- package/esm/funcs/payments-create-payment.d.ts.map +1 -0
- package/esm/funcs/payments-create-payment.js +90 -0
- package/esm/funcs/payments-create-payment.js.map +1 -0
- package/esm/funcs/payments-get-payment.d.ts +15 -0
- package/esm/funcs/payments-get-payment.d.ts.map +1 -0
- package/esm/funcs/payments-get-payment.js +93 -0
- package/esm/funcs/payments-get-payment.js.map +1 -0
- package/esm/funcs/payments-list-payments.d.ts +14 -0
- package/esm/funcs/payments-list-payments.d.ts.map +1 -0
- package/esm/funcs/payments-list-payments.js +95 -0
- package/esm/funcs/payments-list-payments.js.map +1 -0
- package/esm/funcs/payments-update-payment.d.ts +15 -0
- package/esm/funcs/payments-update-payment.d.ts.map +1 -0
- package/esm/funcs/payments-update-payment.js +94 -0
- package/esm/funcs/payments-update-payment.js.map +1 -0
- package/esm/funcs/payouts-get-payout.d.ts +15 -0
- package/esm/funcs/payouts-get-payout.d.ts.map +1 -0
- package/esm/funcs/payouts-get-payout.js +93 -0
- package/esm/funcs/payouts-get-payout.js.map +1 -0
- package/esm/funcs/payouts-list-payouts.d.ts +14 -0
- package/esm/funcs/payouts-list-payouts.d.ts.map +1 -0
- package/esm/funcs/payouts-list-payouts.js +94 -0
- package/esm/funcs/payouts-list-payouts.js.map +1 -0
- package/esm/funcs/projects-create-project.d.ts +15 -0
- package/esm/funcs/projects-create-project.d.ts.map +1 -0
- package/esm/funcs/projects-create-project.js +87 -0
- package/esm/funcs/projects-create-project.js.map +1 -0
- package/esm/funcs/projects-delete-project.d.ts +14 -0
- package/esm/funcs/projects-delete-project.d.ts.map +1 -0
- package/esm/funcs/projects-delete-project.js +92 -0
- package/esm/funcs/projects-delete-project.js.map +1 -0
- package/esm/funcs/projects-get-project.d.ts +15 -0
- package/esm/funcs/projects-get-project.d.ts.map +1 -0
- package/esm/funcs/projects-get-project.js +93 -0
- package/esm/funcs/projects-get-project.js.map +1 -0
- package/esm/funcs/projects-list-projects.d.ts +14 -0
- package/esm/funcs/projects-list-projects.d.ts.map +1 -0
- package/esm/funcs/projects-list-projects.js +93 -0
- package/esm/funcs/projects-list-projects.js.map +1 -0
- package/esm/funcs/projects-update-project.d.ts +15 -0
- package/esm/funcs/projects-update-project.d.ts.map +1 -0
- package/esm/funcs/projects-update-project.js +94 -0
- package/esm/funcs/projects-update-project.js.map +1 -0
- package/esm/funcs/proposals-create-proposal.d.ts +18 -0
- package/esm/funcs/proposals-create-proposal.d.ts.map +1 -0
- package/esm/funcs/proposals-create-proposal.js +90 -0
- package/esm/funcs/proposals-create-proposal.js.map +1 -0
- package/esm/funcs/proposals-delete-proposal.d.ts +14 -0
- package/esm/funcs/proposals-delete-proposal.d.ts.map +1 -0
- package/esm/funcs/proposals-delete-proposal.js +92 -0
- package/esm/funcs/proposals-delete-proposal.js.map +1 -0
- package/esm/funcs/proposals-get-proposal.d.ts +15 -0
- package/esm/funcs/proposals-get-proposal.d.ts.map +1 -0
- package/esm/funcs/proposals-get-proposal.js +93 -0
- package/esm/funcs/proposals-get-proposal.js.map +1 -0
- package/esm/funcs/proposals-list-proposals.d.ts +14 -0
- package/esm/funcs/proposals-list-proposals.d.ts.map +1 -0
- package/esm/funcs/proposals-list-proposals.js +94 -0
- package/esm/funcs/proposals-list-proposals.js.map +1 -0
- package/esm/funcs/proposals-update-proposal.d.ts +18 -0
- package/esm/funcs/proposals-update-proposal.d.ts.map +1 -0
- package/esm/funcs/proposals-update-proposal.js +97 -0
- package/esm/funcs/proposals-update-proposal.js.map +1 -0
- package/esm/funcs/time-entries-create-time-entry.d.ts +15 -0
- package/esm/funcs/time-entries-create-time-entry.d.ts.map +1 -0
- package/esm/funcs/time-entries-create-time-entry.js +87 -0
- package/esm/funcs/time-entries-create-time-entry.js.map +1 -0
- package/esm/funcs/time-entries-delete-time-entry.d.ts +17 -0
- package/esm/funcs/time-entries-delete-time-entry.d.ts.map +1 -0
- package/esm/funcs/time-entries-delete-time-entry.js +95 -0
- package/esm/funcs/time-entries-delete-time-entry.js.map +1 -0
- package/esm/funcs/time-entries-get-time-entry.d.ts +15 -0
- package/esm/funcs/time-entries-get-time-entry.d.ts.map +1 -0
- package/esm/funcs/time-entries-get-time-entry.js +93 -0
- package/esm/funcs/time-entries-get-time-entry.js.map +1 -0
- package/esm/funcs/time-entries-list-time-entries.d.ts +14 -0
- package/esm/funcs/time-entries-list-time-entries.d.ts.map +1 -0
- package/esm/funcs/time-entries-list-time-entries.js +97 -0
- package/esm/funcs/time-entries-list-time-entries.js.map +1 -0
- package/esm/funcs/time-entries-update-time-entry.d.ts +18 -0
- package/esm/funcs/time-entries-update-time-entry.d.ts.map +1 -0
- package/esm/funcs/time-entries-update-time-entry.js +97 -0
- package/esm/funcs/time-entries-update-time-entry.js.map +1 -0
- package/esm/funcs/transactions-create-transaction.d.ts +15 -0
- package/esm/funcs/transactions-create-transaction.d.ts.map +1 -0
- package/esm/funcs/transactions-create-transaction.js +87 -0
- package/esm/funcs/transactions-create-transaction.js.map +1 -0
- package/esm/funcs/transactions-delete-transaction.d.ts +17 -0
- package/esm/funcs/transactions-delete-transaction.d.ts.map +1 -0
- package/esm/funcs/transactions-delete-transaction.js +95 -0
- package/esm/funcs/transactions-delete-transaction.js.map +1 -0
- package/esm/funcs/transactions-get-transaction.d.ts +15 -0
- package/esm/funcs/transactions-get-transaction.d.ts.map +1 -0
- package/esm/funcs/transactions-get-transaction.js +93 -0
- package/esm/funcs/transactions-get-transaction.js.map +1 -0
- package/esm/funcs/transactions-list-transactions.d.ts +14 -0
- package/esm/funcs/transactions-list-transactions.d.ts.map +1 -0
- package/esm/funcs/transactions-list-transactions.js +94 -0
- package/esm/funcs/transactions-list-transactions.js.map +1 -0
- package/esm/funcs/transactions-update-transaction.d.ts +18 -0
- package/esm/funcs/transactions-update-transaction.d.ts.map +1 -0
- package/esm/funcs/transactions-update-transaction.js +97 -0
- package/esm/funcs/transactions-update-transaction.js.map +1 -0
- package/esm/funcs/webhooks-create-webhook.d.ts +18 -0
- package/esm/funcs/webhooks-create-webhook.d.ts.map +1 -0
- package/esm/funcs/webhooks-create-webhook.js +90 -0
- package/esm/funcs/webhooks-create-webhook.js.map +1 -0
- package/esm/funcs/webhooks-delete-webhook.d.ts +14 -0
- package/esm/funcs/webhooks-delete-webhook.d.ts.map +1 -0
- package/esm/funcs/webhooks-delete-webhook.js +92 -0
- package/esm/funcs/webhooks-delete-webhook.js.map +1 -0
- package/esm/funcs/webhooks-get-webhook.d.ts +15 -0
- package/esm/funcs/webhooks-get-webhook.d.ts.map +1 -0
- package/esm/funcs/webhooks-get-webhook.js +93 -0
- package/esm/funcs/webhooks-get-webhook.js.map +1 -0
- package/esm/funcs/webhooks-list-webhooks.d.ts +14 -0
- package/esm/funcs/webhooks-list-webhooks.d.ts.map +1 -0
- package/esm/funcs/webhooks-list-webhooks.js +93 -0
- package/esm/funcs/webhooks-list-webhooks.js.map +1 -0
- package/esm/funcs/webhooks-update-webhook.d.ts +18 -0
- package/esm/funcs/webhooks-update-webhook.d.ts.map +1 -0
- package/esm/funcs/webhooks-update-webhook.js +97 -0
- package/esm/funcs/webhooks-update-webhook.js.map +1 -0
- package/esm/hooks/hooks.d.ts +25 -0
- package/esm/hooks/hooks.d.ts.map +1 -0
- package/esm/hooks/hooks.js +80 -0
- package/esm/hooks/hooks.js.map +1 -0
- package/esm/hooks/index.d.ts +3 -0
- package/esm/hooks/index.d.ts.map +1 -0
- package/esm/hooks/index.js +6 -0
- package/esm/hooks/index.js.map +1 -0
- package/esm/hooks/types.d.ts +76 -0
- package/esm/hooks/types.d.ts.map +1 -0
- package/esm/hooks/types.js +5 -0
- package/esm/hooks/types.js.map +1 -0
- package/esm/index.d.ts +6 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +8 -0
- package/esm/index.js.map +1 -0
- package/esm/lib/base64.d.ts +10 -0
- package/esm/lib/base64.d.ts.map +1 -0
- package/esm/lib/base64.js +31 -0
- package/esm/lib/base64.js.map +1 -0
- package/esm/lib/config.d.ts +38 -0
- package/esm/lib/config.d.ts.map +1 -0
- package/esm/lib/config.js +34 -0
- package/esm/lib/config.js.map +1 -0
- package/esm/lib/dlv.d.ts +14 -0
- package/esm/lib/dlv.d.ts.map +1 -0
- package/esm/lib/dlv.js +46 -0
- package/esm/lib/dlv.js.map +1 -0
- package/esm/lib/encodings.d.ts +54 -0
- package/esm/lib/encodings.d.ts.map +1 -0
- package/esm/lib/encodings.js +391 -0
- package/esm/lib/encodings.js.map +1 -0
- package/esm/lib/env.d.ts +15 -0
- package/esm/lib/env.d.ts.map +1 -0
- package/esm/lib/env.js +44 -0
- package/esm/lib/env.js.map +1 -0
- package/esm/lib/files.d.ts +26 -0
- package/esm/lib/files.d.ts.map +1 -0
- package/esm/lib/files.js +91 -0
- package/esm/lib/files.js.map +1 -0
- package/esm/lib/http.d.ts +67 -0
- package/esm/lib/http.d.ts.map +1 -0
- package/esm/lib/http.js +209 -0
- package/esm/lib/http.js.map +1 -0
- package/esm/lib/is-plain-object.d.ts +2 -0
- package/esm/lib/is-plain-object.d.ts.map +1 -0
- package/esm/lib/is-plain-object.js +38 -0
- package/esm/lib/is-plain-object.js.map +1 -0
- package/esm/lib/logger.d.ts +6 -0
- package/esm/lib/logger.d.ts.map +1 -0
- package/esm/lib/logger.js +5 -0
- package/esm/lib/logger.js.map +1 -0
- package/esm/lib/matchers.d.ts +59 -0
- package/esm/lib/matchers.d.ts.map +1 -0
- package/esm/lib/matchers.js +202 -0
- package/esm/lib/matchers.js.map +1 -0
- package/esm/lib/primitives.d.ts +26 -0
- package/esm/lib/primitives.d.ts.map +1 -0
- package/esm/lib/primitives.js +103 -0
- package/esm/lib/primitives.js.map +1 -0
- package/esm/lib/retries.d.ts +38 -0
- package/esm/lib/retries.d.ts.map +1 -0
- package/esm/lib/retries.js +150 -0
- package/esm/lib/retries.js.map +1 -0
- package/esm/lib/schemas.d.ts +21 -0
- package/esm/lib/schemas.d.ts.map +1 -0
- package/esm/lib/schemas.js +57 -0
- package/esm/lib/schemas.js.map +1 -0
- package/esm/lib/sdks.d.ts +63 -0
- package/esm/lib/sdks.d.ts.map +1 -0
- package/esm/lib/sdks.js +260 -0
- package/esm/lib/sdks.js.map +1 -0
- package/esm/lib/security.d.ts +83 -0
- package/esm/lib/security.d.ts.map +1 -0
- package/esm/lib/security.js +149 -0
- package/esm/lib/security.js.map +1 -0
- package/esm/lib/url.d.ts +5 -0
- package/esm/lib/url.d.ts.map +1 -0
- package/esm/lib/url.js +24 -0
- package/esm/lib/url.js.map +1 -0
- package/esm/models/calendar-event-create.d.ts +47 -0
- package/esm/models/calendar-event-create.d.ts.map +1 -0
- package/esm/models/calendar-event-create.js +22 -0
- package/esm/models/calendar-event-create.js.map +1 -0
- package/esm/models/calendar-event-update.d.ts +52 -0
- package/esm/models/calendar-event-update.d.ts.map +1 -0
- package/esm/models/calendar-event-update.js +23 -0
- package/esm/models/calendar-event-update.js.map +1 -0
- package/esm/models/calendar-event.d.ts +63 -0
- package/esm/models/calendar-event.d.ts.map +1 -0
- package/esm/models/calendar-event.js +39 -0
- package/esm/models/calendar-event.js.map +1 -0
- package/esm/models/catalog-item-create.d.ts +71 -0
- package/esm/models/catalog-item-create.d.ts.map +1 -0
- package/esm/models/catalog-item-create.js +50 -0
- package/esm/models/catalog-item-create.js.map +1 -0
- package/esm/models/catalog-item-update.d.ts +71 -0
- package/esm/models/catalog-item-update.d.ts.map +1 -0
- package/esm/models/catalog-item-update.js +50 -0
- package/esm/models/catalog-item-update.js.map +1 -0
- package/esm/models/catalog-item.d.ts +71 -0
- package/esm/models/catalog-item.d.ts.map +1 -0
- package/esm/models/catalog-item.js +57 -0
- package/esm/models/catalog-item.js.map +1 -0
- package/esm/models/client-create.d.ts +25 -0
- package/esm/models/client-create.d.ts.map +1 -0
- package/esm/models/client-create.js +21 -0
- package/esm/models/client-create.js.map +1 -0
- package/esm/models/client-update.d.ts +25 -0
- package/esm/models/client-update.d.ts.map +1 -0
- package/esm/models/client-update.js +21 -0
- package/esm/models/client-update.js.map +1 -0
- package/esm/models/client.d.ts +33 -0
- package/esm/models/client.d.ts.map +1 -0
- package/esm/models/client.js +27 -0
- package/esm/models/client.js.map +1 -0
- package/esm/models/contact-create.d.ts +36 -0
- package/esm/models/contact-create.d.ts.map +1 -0
- package/esm/models/contact-create.js +25 -0
- package/esm/models/contact-create.js.map +1 -0
- package/esm/models/contact-update.d.ts +36 -0
- package/esm/models/contact-update.d.ts.map +1 -0
- package/esm/models/contact-update.js +25 -0
- package/esm/models/contact-update.js.map +1 -0
- package/esm/models/contact.d.ts +44 -0
- package/esm/models/contact.d.ts.map +1 -0
- package/esm/models/contact.js +32 -0
- package/esm/models/contact.js.map +1 -0
- package/esm/models/contract-create.d.ts +45 -0
- package/esm/models/contract-create.d.ts.map +1 -0
- package/esm/models/contract-create.js +21 -0
- package/esm/models/contract-create.js.map +1 -0
- package/esm/models/contract-update.d.ts +18 -0
- package/esm/models/contract-update.d.ts.map +1 -0
- package/esm/models/contract-update.js +15 -0
- package/esm/models/contract-update.js.map +1 -0
- package/esm/models/contract.d.ts +113 -0
- package/esm/models/contract.d.ts.map +1 -0
- package/esm/models/contract.js +87 -0
- package/esm/models/contract.js.map +1 -0
- package/esm/models/errors/client-casa-default-error.d.ts +10 -0
- package/esm/models/errors/client-casa-default-error.d.ts.map +1 -0
- package/esm/models/errors/client-casa-default-error.js +30 -0
- package/esm/models/errors/client-casa-default-error.js.map +1 -0
- package/esm/models/errors/client-casa-error.d.ts +19 -0
- package/esm/models/errors/client-casa-error.d.ts.map +1 -0
- package/esm/models/errors/client-casa-error.js +26 -0
- package/esm/models/errors/client-casa-error.js.map +1 -0
- package/esm/models/errors/http-client-errors.d.ts +44 -0
- package/esm/models/errors/http-client-errors.d.ts.map +1 -0
- package/esm/models/errors/http-client-errors.js +56 -0
- package/esm/models/errors/http-client-errors.js.map +1 -0
- package/esm/models/errors/index.d.ts +6 -0
- package/esm/models/errors/index.d.ts.map +1 -0
- package/esm/models/errors/index.js +9 -0
- package/esm/models/errors/index.js.map +1 -0
- package/esm/models/errors/response-validation-error.d.ts +26 -0
- package/esm/models/errors/response-validation-error.d.ts.map +1 -0
- package/esm/models/errors/response-validation-error.js +37 -0
- package/esm/models/errors/response-validation-error.js.map +1 -0
- package/esm/models/errors/sdk-validation-error.d.ts +21 -0
- package/esm/models/errors/sdk-validation-error.d.ts.map +1 -0
- package/esm/models/errors/sdk-validation-error.js +52 -0
- package/esm/models/errors/sdk-validation-error.js.map +1 -0
- package/esm/models/index.d.ts +47 -0
- package/esm/models/index.d.ts.map +1 -0
- package/esm/models/index.js +50 -0
- package/esm/models/index.js.map +1 -0
- package/esm/models/inquiry-create.d.ts +45 -0
- package/esm/models/inquiry-create.d.ts.map +1 -0
- package/esm/models/inquiry-create.js +28 -0
- package/esm/models/inquiry-create.js.map +1 -0
- package/esm/models/inquiry-update.d.ts +45 -0
- package/esm/models/inquiry-update.d.ts.map +1 -0
- package/esm/models/inquiry-update.js +29 -0
- package/esm/models/inquiry-update.js.map +1 -0
- package/esm/models/inquiry.d.ts +78 -0
- package/esm/models/inquiry.d.ts.map +1 -0
- package/esm/models/inquiry.js +51 -0
- package/esm/models/inquiry.js.map +1 -0
- package/esm/models/invoice-create.d.ts +63 -0
- package/esm/models/invoice-create.d.ts.map +1 -0
- package/esm/models/invoice-create.js +39 -0
- package/esm/models/invoice-create.js.map +1 -0
- package/esm/models/invoice-line-item.d.ts +19 -0
- package/esm/models/invoice-line-item.d.ts.map +1 -0
- package/esm/models/invoice-line-item.js +20 -0
- package/esm/models/invoice-line-item.js.map +1 -0
- package/esm/models/invoice-update.d.ts +38 -0
- package/esm/models/invoice-update.d.ts.map +1 -0
- package/esm/models/invoice-update.js +26 -0
- package/esm/models/invoice-update.js.map +1 -0
- package/esm/models/invoice.d.ts +62 -0
- package/esm/models/invoice.d.ts.map +1 -0
- package/esm/models/invoice.js +47 -0
- package/esm/models/invoice.js.map +1 -0
- package/esm/models/milestone-create.d.ts +55 -0
- package/esm/models/milestone-create.d.ts.map +1 -0
- package/esm/models/milestone-create.js +34 -0
- package/esm/models/milestone-create.js.map +1 -0
- package/esm/models/milestone-update.d.ts +41 -0
- package/esm/models/milestone-update.d.ts.map +1 -0
- package/esm/models/milestone-update.js +26 -0
- package/esm/models/milestone-update.js.map +1 -0
- package/esm/models/milestone.d.ts +60 -0
- package/esm/models/milestone.d.ts.map +1 -0
- package/esm/models/milestone.js +42 -0
- package/esm/models/milestone.js.map +1 -0
- package/esm/models/operations/create-calendar-event.d.ts +14 -0
- package/esm/models/operations/create-calendar-event.d.ts.map +1 -0
- package/esm/models/operations/create-calendar-event.js +13 -0
- package/esm/models/operations/create-calendar-event.js.map +1 -0
- package/esm/models/operations/create-catalog-item.d.ts +14 -0
- package/esm/models/operations/create-catalog-item.d.ts.map +1 -0
- package/esm/models/operations/create-catalog-item.js +13 -0
- package/esm/models/operations/create-catalog-item.js.map +1 -0
- package/esm/models/operations/create-client.d.ts +14 -0
- package/esm/models/operations/create-client.d.ts.map +1 -0
- package/esm/models/operations/create-client.js +13 -0
- package/esm/models/operations/create-client.js.map +1 -0
- package/esm/models/operations/create-contact.d.ts +14 -0
- package/esm/models/operations/create-contact.d.ts.map +1 -0
- package/esm/models/operations/create-contact.js +13 -0
- package/esm/models/operations/create-contact.js.map +1 -0
- package/esm/models/operations/create-contract.d.ts +14 -0
- package/esm/models/operations/create-contract.d.ts.map +1 -0
- package/esm/models/operations/create-contract.js +13 -0
- package/esm/models/operations/create-contract.js.map +1 -0
- package/esm/models/operations/create-inquiry.d.ts +14 -0
- package/esm/models/operations/create-inquiry.d.ts.map +1 -0
- package/esm/models/operations/create-inquiry.js +13 -0
- package/esm/models/operations/create-inquiry.js.map +1 -0
- package/esm/models/operations/create-invoice.d.ts +14 -0
- package/esm/models/operations/create-invoice.d.ts.map +1 -0
- package/esm/models/operations/create-invoice.js +13 -0
- package/esm/models/operations/create-invoice.js.map +1 -0
- package/esm/models/operations/create-milestone.d.ts +14 -0
- package/esm/models/operations/create-milestone.d.ts.map +1 -0
- package/esm/models/operations/create-milestone.js +13 -0
- package/esm/models/operations/create-milestone.js.map +1 -0
- package/esm/models/operations/create-payment.d.ts +14 -0
- package/esm/models/operations/create-payment.d.ts.map +1 -0
- package/esm/models/operations/create-payment.js +13 -0
- package/esm/models/operations/create-payment.js.map +1 -0
- package/esm/models/operations/create-project.d.ts +14 -0
- package/esm/models/operations/create-project.d.ts.map +1 -0
- package/esm/models/operations/create-project.js +13 -0
- package/esm/models/operations/create-project.js.map +1 -0
- package/esm/models/operations/create-proposal.d.ts +14 -0
- package/esm/models/operations/create-proposal.d.ts.map +1 -0
- package/esm/models/operations/create-proposal.js +13 -0
- package/esm/models/operations/create-proposal.js.map +1 -0
- package/esm/models/operations/create-time-entry.d.ts +14 -0
- package/esm/models/operations/create-time-entry.d.ts.map +1 -0
- package/esm/models/operations/create-time-entry.js +13 -0
- package/esm/models/operations/create-time-entry.js.map +1 -0
- package/esm/models/operations/create-transaction.d.ts +14 -0
- package/esm/models/operations/create-transaction.d.ts.map +1 -0
- package/esm/models/operations/create-transaction.js +13 -0
- package/esm/models/operations/create-transaction.js.map +1 -0
- package/esm/models/operations/create-webhook.d.ts +14 -0
- package/esm/models/operations/create-webhook.d.ts.map +1 -0
- package/esm/models/operations/create-webhook.js +13 -0
- package/esm/models/operations/create-webhook.js.map +1 -0
- package/esm/models/operations/delete-calendar-event.d.ts +27 -0
- package/esm/models/operations/delete-calendar-event.d.ts.map +1 -0
- package/esm/models/operations/delete-calendar-event.js +20 -0
- package/esm/models/operations/delete-calendar-event.js.map +1 -0
- package/esm/models/operations/delete-catalog-item.d.ts +27 -0
- package/esm/models/operations/delete-catalog-item.d.ts.map +1 -0
- package/esm/models/operations/delete-catalog-item.js +20 -0
- package/esm/models/operations/delete-catalog-item.js.map +1 -0
- package/esm/models/operations/delete-client.d.ts +27 -0
- package/esm/models/operations/delete-client.d.ts.map +1 -0
- package/esm/models/operations/delete-client.js +20 -0
- package/esm/models/operations/delete-client.js.map +1 -0
- package/esm/models/operations/delete-contact.d.ts +27 -0
- package/esm/models/operations/delete-contact.d.ts.map +1 -0
- package/esm/models/operations/delete-contact.js +20 -0
- package/esm/models/operations/delete-contact.js.map +1 -0
- package/esm/models/operations/delete-contract.d.ts +27 -0
- package/esm/models/operations/delete-contract.d.ts.map +1 -0
- package/esm/models/operations/delete-contract.js +20 -0
- package/esm/models/operations/delete-contract.js.map +1 -0
- package/esm/models/operations/delete-inquiry.d.ts +27 -0
- package/esm/models/operations/delete-inquiry.d.ts.map +1 -0
- package/esm/models/operations/delete-inquiry.js +20 -0
- package/esm/models/operations/delete-inquiry.js.map +1 -0
- package/esm/models/operations/delete-invoice.d.ts +27 -0
- package/esm/models/operations/delete-invoice.d.ts.map +1 -0
- package/esm/models/operations/delete-invoice.js +20 -0
- package/esm/models/operations/delete-invoice.js.map +1 -0
- package/esm/models/operations/delete-milestone.d.ts +27 -0
- package/esm/models/operations/delete-milestone.d.ts.map +1 -0
- package/esm/models/operations/delete-milestone.js +20 -0
- package/esm/models/operations/delete-milestone.js.map +1 -0
- package/esm/models/operations/delete-project.d.ts +27 -0
- package/esm/models/operations/delete-project.d.ts.map +1 -0
- package/esm/models/operations/delete-project.js +20 -0
- package/esm/models/operations/delete-project.js.map +1 -0
- package/esm/models/operations/delete-proposal.d.ts +27 -0
- package/esm/models/operations/delete-proposal.d.ts.map +1 -0
- package/esm/models/operations/delete-proposal.js +20 -0
- package/esm/models/operations/delete-proposal.js.map +1 -0
- package/esm/models/operations/delete-time-entry.d.ts +27 -0
- package/esm/models/operations/delete-time-entry.d.ts.map +1 -0
- package/esm/models/operations/delete-time-entry.js +20 -0
- package/esm/models/operations/delete-time-entry.js.map +1 -0
- package/esm/models/operations/delete-transaction.d.ts +27 -0
- package/esm/models/operations/delete-transaction.d.ts.map +1 -0
- package/esm/models/operations/delete-transaction.js +20 -0
- package/esm/models/operations/delete-transaction.js.map +1 -0
- package/esm/models/operations/delete-webhook.d.ts +27 -0
- package/esm/models/operations/delete-webhook.d.ts.map +1 -0
- package/esm/models/operations/delete-webhook.js +20 -0
- package/esm/models/operations/delete-webhook.js.map +1 -0
- package/esm/models/operations/get-calendar-event.d.ts +27 -0
- package/esm/models/operations/get-calendar-event.d.ts.map +1 -0
- package/esm/models/operations/get-calendar-event.js +20 -0
- package/esm/models/operations/get-calendar-event.js.map +1 -0
- package/esm/models/operations/get-catalog-item.d.ts +27 -0
- package/esm/models/operations/get-catalog-item.d.ts.map +1 -0
- package/esm/models/operations/get-catalog-item.js +20 -0
- package/esm/models/operations/get-catalog-item.js.map +1 -0
- package/esm/models/operations/get-client.d.ts +27 -0
- package/esm/models/operations/get-client.d.ts.map +1 -0
- package/esm/models/operations/get-client.js +20 -0
- package/esm/models/operations/get-client.js.map +1 -0
- package/esm/models/operations/get-contact.d.ts +27 -0
- package/esm/models/operations/get-contact.d.ts.map +1 -0
- package/esm/models/operations/get-contact.js +20 -0
- package/esm/models/operations/get-contact.js.map +1 -0
- package/esm/models/operations/get-contract.d.ts +27 -0
- package/esm/models/operations/get-contract.d.ts.map +1 -0
- package/esm/models/operations/get-contract.js +20 -0
- package/esm/models/operations/get-contract.js.map +1 -0
- package/esm/models/operations/get-inquiry.d.ts +27 -0
- package/esm/models/operations/get-inquiry.d.ts.map +1 -0
- package/esm/models/operations/get-inquiry.js +20 -0
- package/esm/models/operations/get-inquiry.js.map +1 -0
- package/esm/models/operations/get-invoice.d.ts +27 -0
- package/esm/models/operations/get-invoice.d.ts.map +1 -0
- package/esm/models/operations/get-invoice.js +20 -0
- package/esm/models/operations/get-invoice.js.map +1 -0
- package/esm/models/operations/get-milestone.d.ts +27 -0
- package/esm/models/operations/get-milestone.d.ts.map +1 -0
- package/esm/models/operations/get-milestone.js +20 -0
- package/esm/models/operations/get-milestone.js.map +1 -0
- package/esm/models/operations/get-payment.d.ts +27 -0
- package/esm/models/operations/get-payment.d.ts.map +1 -0
- package/esm/models/operations/get-payment.js +20 -0
- package/esm/models/operations/get-payment.js.map +1 -0
- package/esm/models/operations/get-payout.d.ts +27 -0
- package/esm/models/operations/get-payout.d.ts.map +1 -0
- package/esm/models/operations/get-payout.js +20 -0
- package/esm/models/operations/get-payout.js.map +1 -0
- package/esm/models/operations/get-project.d.ts +27 -0
- package/esm/models/operations/get-project.d.ts.map +1 -0
- package/esm/models/operations/get-project.js +20 -0
- package/esm/models/operations/get-project.js.map +1 -0
- package/esm/models/operations/get-proposal.d.ts +27 -0
- package/esm/models/operations/get-proposal.d.ts.map +1 -0
- package/esm/models/operations/get-proposal.js +20 -0
- package/esm/models/operations/get-proposal.js.map +1 -0
- package/esm/models/operations/get-time-entry.d.ts +27 -0
- package/esm/models/operations/get-time-entry.d.ts.map +1 -0
- package/esm/models/operations/get-time-entry.js +20 -0
- package/esm/models/operations/get-time-entry.js.map +1 -0
- package/esm/models/operations/get-transaction.d.ts +27 -0
- package/esm/models/operations/get-transaction.d.ts.map +1 -0
- package/esm/models/operations/get-transaction.js +20 -0
- package/esm/models/operations/get-transaction.js.map +1 -0
- package/esm/models/operations/get-webhook.d.ts +27 -0
- package/esm/models/operations/get-webhook.d.ts.map +1 -0
- package/esm/models/operations/get-webhook.js +20 -0
- package/esm/models/operations/get-webhook.js.map +1 -0
- package/esm/models/operations/index.d.ts +72 -0
- package/esm/models/operations/index.d.ts.map +1 -0
- package/esm/models/operations/index.js +75 -0
- package/esm/models/operations/index.js.map +1 -0
- package/esm/models/operations/list-calendar-events.d.ts +59 -0
- package/esm/models/operations/list-calendar-events.d.ts.map +1 -0
- package/esm/models/operations/list-calendar-events.js +35 -0
- package/esm/models/operations/list-calendar-events.js.map +1 -0
- package/esm/models/operations/list-catalog-items.d.ts +64 -0
- package/esm/models/operations/list-catalog-items.d.ts.map +1 -0
- package/esm/models/operations/list-catalog-items.js +47 -0
- package/esm/models/operations/list-catalog-items.js.map +1 -0
- package/esm/models/operations/list-clients.d.ts +50 -0
- package/esm/models/operations/list-clients.d.ts.map +1 -0
- package/esm/models/operations/list-clients.js +39 -0
- package/esm/models/operations/list-clients.js.map +1 -0
- package/esm/models/operations/list-contacts.d.ts +55 -0
- package/esm/models/operations/list-contacts.d.ts.map +1 -0
- package/esm/models/operations/list-contacts.js +40 -0
- package/esm/models/operations/list-contacts.js.map +1 -0
- package/esm/models/operations/list-contracts.d.ts +59 -0
- package/esm/models/operations/list-contracts.d.ts.map +1 -0
- package/esm/models/operations/list-contracts.js +44 -0
- package/esm/models/operations/list-contracts.js.map +1 -0
- package/esm/models/operations/list-inquiries.d.ts +64 -0
- package/esm/models/operations/list-inquiries.d.ts.map +1 -0
- package/esm/models/operations/list-inquiries.js +51 -0
- package/esm/models/operations/list-inquiries.js.map +1 -0
- package/esm/models/operations/list-invoices.d.ts +58 -0
- package/esm/models/operations/list-invoices.d.ts.map +1 -0
- package/esm/models/operations/list-invoices.js +43 -0
- package/esm/models/operations/list-invoices.js.map +1 -0
- package/esm/models/operations/list-milestones.d.ts +64 -0
- package/esm/models/operations/list-milestones.d.ts.map +1 -0
- package/esm/models/operations/list-milestones.js +48 -0
- package/esm/models/operations/list-milestones.js.map +1 -0
- package/esm/models/operations/list-payments.d.ts +73 -0
- package/esm/models/operations/list-payments.d.ts.map +1 -0
- package/esm/models/operations/list-payments.js +52 -0
- package/esm/models/operations/list-payments.js.map +1 -0
- package/esm/models/operations/list-payouts.d.ts +56 -0
- package/esm/models/operations/list-payouts.d.ts.map +1 -0
- package/esm/models/operations/list-payouts.js +43 -0
- package/esm/models/operations/list-payouts.js.map +1 -0
- package/esm/models/operations/list-projects.d.ts +55 -0
- package/esm/models/operations/list-projects.d.ts.map +1 -0
- package/esm/models/operations/list-projects.js +40 -0
- package/esm/models/operations/list-projects.js.map +1 -0
- package/esm/models/operations/list-proposals.d.ts +60 -0
- package/esm/models/operations/list-proposals.d.ts.map +1 -0
- package/esm/models/operations/list-proposals.js +44 -0
- package/esm/models/operations/list-proposals.js.map +1 -0
- package/esm/models/operations/list-time-entries.d.ts +60 -0
- package/esm/models/operations/list-time-entries.d.ts.map +1 -0
- package/esm/models/operations/list-time-entries.js +37 -0
- package/esm/models/operations/list-time-entries.js.map +1 -0
- package/esm/models/operations/list-transactions.d.ts +70 -0
- package/esm/models/operations/list-transactions.d.ts.map +1 -0
- package/esm/models/operations/list-transactions.js +55 -0
- package/esm/models/operations/list-transactions.js.map +1 -0
- package/esm/models/operations/list-webhooks.d.ts +101 -0
- package/esm/models/operations/list-webhooks.d.ts.map +1 -0
- package/esm/models/operations/list-webhooks.js +89 -0
- package/esm/models/operations/list-webhooks.js.map +1 -0
- package/esm/models/operations/update-calendar-event.d.ts +30 -0
- package/esm/models/operations/update-calendar-event.d.ts.map +1 -0
- package/esm/models/operations/update-calendar-event.js +22 -0
- package/esm/models/operations/update-calendar-event.js.map +1 -0
- package/esm/models/operations/update-catalog-item.d.ts +30 -0
- package/esm/models/operations/update-catalog-item.d.ts.map +1 -0
- package/esm/models/operations/update-catalog-item.js +22 -0
- package/esm/models/operations/update-catalog-item.js.map +1 -0
- package/esm/models/operations/update-client.d.ts +30 -0
- package/esm/models/operations/update-client.d.ts.map +1 -0
- package/esm/models/operations/update-client.js +22 -0
- package/esm/models/operations/update-client.js.map +1 -0
- package/esm/models/operations/update-contact.d.ts +30 -0
- package/esm/models/operations/update-contact.d.ts.map +1 -0
- package/esm/models/operations/update-contact.js +22 -0
- package/esm/models/operations/update-contact.js.map +1 -0
- package/esm/models/operations/update-contract.d.ts +30 -0
- package/esm/models/operations/update-contract.d.ts.map +1 -0
- package/esm/models/operations/update-contract.js +22 -0
- package/esm/models/operations/update-contract.js.map +1 -0
- package/esm/models/operations/update-inquiry.d.ts +30 -0
- package/esm/models/operations/update-inquiry.d.ts.map +1 -0
- package/esm/models/operations/update-inquiry.js +22 -0
- package/esm/models/operations/update-inquiry.js.map +1 -0
- package/esm/models/operations/update-invoice.d.ts +30 -0
- package/esm/models/operations/update-invoice.d.ts.map +1 -0
- package/esm/models/operations/update-invoice.js +22 -0
- package/esm/models/operations/update-invoice.js.map +1 -0
- package/esm/models/operations/update-milestone.d.ts +30 -0
- package/esm/models/operations/update-milestone.d.ts.map +1 -0
- package/esm/models/operations/update-milestone.js +22 -0
- package/esm/models/operations/update-milestone.js.map +1 -0
- package/esm/models/operations/update-payment.d.ts +30 -0
- package/esm/models/operations/update-payment.d.ts.map +1 -0
- package/esm/models/operations/update-payment.js +22 -0
- package/esm/models/operations/update-payment.js.map +1 -0
- package/esm/models/operations/update-project.d.ts +30 -0
- package/esm/models/operations/update-project.d.ts.map +1 -0
- package/esm/models/operations/update-project.js +22 -0
- package/esm/models/operations/update-project.js.map +1 -0
- package/esm/models/operations/update-proposal.d.ts +30 -0
- package/esm/models/operations/update-proposal.d.ts.map +1 -0
- package/esm/models/operations/update-proposal.js +22 -0
- package/esm/models/operations/update-proposal.js.map +1 -0
- package/esm/models/operations/update-time-entry.d.ts +30 -0
- package/esm/models/operations/update-time-entry.d.ts.map +1 -0
- package/esm/models/operations/update-time-entry.js +22 -0
- package/esm/models/operations/update-time-entry.js.map +1 -0
- package/esm/models/operations/update-transaction.d.ts +30 -0
- package/esm/models/operations/update-transaction.d.ts.map +1 -0
- package/esm/models/operations/update-transaction.js +22 -0
- package/esm/models/operations/update-transaction.js.map +1 -0
- package/esm/models/operations/update-webhook.d.ts +30 -0
- package/esm/models/operations/update-webhook.d.ts.map +1 -0
- package/esm/models/operations/update-webhook.js +22 -0
- package/esm/models/operations/update-webhook.js.map +1 -0
- package/esm/models/pagination-meta.d.ts +14 -0
- package/esm/models/pagination-meta.d.ts.map +1 -0
- package/esm/models/pagination-meta.js +18 -0
- package/esm/models/pagination-meta.js.map +1 -0
- package/esm/models/payment-create.d.ts +61 -0
- package/esm/models/payment-create.d.ts.map +1 -0
- package/esm/models/payment-create.js +40 -0
- package/esm/models/payment-create.js.map +1 -0
- package/esm/models/payment-update.d.ts +14 -0
- package/esm/models/payment-update.d.ts.map +1 -0
- package/esm/models/payment-update.js +13 -0
- package/esm/models/payment-update.js.map +1 -0
- package/esm/models/payment.d.ts +80 -0
- package/esm/models/payment.d.ts.map +1 -0
- package/esm/models/payment.js +60 -0
- package/esm/models/payment.js.map +1 -0
- package/esm/models/payout.d.ts +48 -0
- package/esm/models/payout.d.ts.map +1 -0
- package/esm/models/payout.js +42 -0
- package/esm/models/payout.js.map +1 -0
- package/esm/models/project-create.d.ts +41 -0
- package/esm/models/project-create.d.ts.map +1 -0
- package/esm/models/project-create.js +26 -0
- package/esm/models/project-create.js.map +1 -0
- package/esm/models/project-update.d.ts +41 -0
- package/esm/models/project-update.d.ts.map +1 -0
- package/esm/models/project-update.js +26 -0
- package/esm/models/project-update.js.map +1 -0
- package/esm/models/project.d.ts +44 -0
- package/esm/models/project.d.ts.map +1 -0
- package/esm/models/project.js +32 -0
- package/esm/models/project.js.map +1 -0
- package/esm/models/proposal-create.d.ts +45 -0
- package/esm/models/proposal-create.d.ts.map +1 -0
- package/esm/models/proposal-create.js +26 -0
- package/esm/models/proposal-create.js.map +1 -0
- package/esm/models/proposal-update.d.ts +43 -0
- package/esm/models/proposal-update.d.ts.map +1 -0
- package/esm/models/proposal-update.js +27 -0
- package/esm/models/proposal-update.js.map +1 -0
- package/esm/models/proposal.d.ts +70 -0
- package/esm/models/proposal.d.ts.map +1 -0
- package/esm/models/proposal.js +52 -0
- package/esm/models/proposal.js.map +1 -0
- package/esm/models/security.d.ts +12 -0
- package/esm/models/security.d.ts.map +1 -0
- package/esm/models/security.js +12 -0
- package/esm/models/security.js.map +1 -0
- package/esm/models/time-entry-create.d.ts +53 -0
- package/esm/models/time-entry-create.d.ts.map +1 -0
- package/esm/models/time-entry-create.js +31 -0
- package/esm/models/time-entry-create.js.map +1 -0
- package/esm/models/time-entry-update.d.ts +53 -0
- package/esm/models/time-entry-update.d.ts.map +1 -0
- package/esm/models/time-entry-update.js +31 -0
- package/esm/models/time-entry-update.js.map +1 -0
- package/esm/models/time-entry.d.ts +57 -0
- package/esm/models/time-entry.d.ts.map +1 -0
- package/esm/models/time-entry.js +40 -0
- package/esm/models/time-entry.js.map +1 -0
- package/esm/models/transaction-create.d.ts +113 -0
- package/esm/models/transaction-create.d.ts.map +1 -0
- package/esm/models/transaction-create.js +70 -0
- package/esm/models/transaction-create.js.map +1 -0
- package/esm/models/transaction-update.d.ts +113 -0
- package/esm/models/transaction-update.d.ts.map +1 -0
- package/esm/models/transaction-update.js +70 -0
- package/esm/models/transaction-update.js.map +1 -0
- package/esm/models/transaction.d.ts +98 -0
- package/esm/models/transaction.d.ts.map +1 -0
- package/esm/models/transaction.js +79 -0
- package/esm/models/transaction.js.map +1 -0
- package/esm/models/webhook-create.d.ts +78 -0
- package/esm/models/webhook-create.d.ts.map +1 -0
- package/esm/models/webhook-create.js +72 -0
- package/esm/models/webhook-create.js.map +1 -0
- package/esm/models/webhook-update.d.ts +78 -0
- package/esm/models/webhook-update.d.ts.map +1 -0
- package/esm/models/webhook-update.js +72 -0
- package/esm/models/webhook-update.js.map +1 -0
- package/esm/models/webhook.d.ts +100 -0
- package/esm/models/webhook.d.ts.map +1 -0
- package/esm/models/webhook.js +90 -0
- package/esm/models/webhook.js.map +1 -0
- package/esm/sdk/calendar-events.d.ts +32 -0
- package/esm/sdk/calendar-events.d.ts.map +1 -0
- package/esm/sdk/calendar-events.js +49 -0
- package/esm/sdk/calendar-events.js.map +1 -0
- package/esm/sdk/catalog-items.d.ts +29 -0
- package/esm/sdk/catalog-items.d.ts.map +1 -0
- package/esm/sdk/catalog-items.js +46 -0
- package/esm/sdk/catalog-items.js.map +1 -0
- package/esm/sdk/clients.d.ts +26 -0
- package/esm/sdk/clients.d.ts.map +1 -0
- package/esm/sdk/clients.js +43 -0
- package/esm/sdk/clients.js.map +1 -0
- package/esm/sdk/contacts.d.ts +26 -0
- package/esm/sdk/contacts.d.ts.map +1 -0
- package/esm/sdk/contacts.js +43 -0
- package/esm/sdk/contacts.js.map +1 -0
- package/esm/sdk/contracts.d.ts +32 -0
- package/esm/sdk/contracts.d.ts.map +1 -0
- package/esm/sdk/contracts.js +49 -0
- package/esm/sdk/contracts.js.map +1 -0
- package/esm/sdk/index.d.ts +2 -0
- package/esm/sdk/index.d.ts.map +1 -0
- package/esm/sdk/index.js +5 -0
- package/esm/sdk/index.js.map +1 -0
- package/esm/sdk/inquiries.d.ts +32 -0
- package/esm/sdk/inquiries.d.ts.map +1 -0
- package/esm/sdk/inquiries.js +49 -0
- package/esm/sdk/inquiries.js.map +1 -0
- package/esm/sdk/invoices.d.ts +29 -0
- package/esm/sdk/invoices.d.ts.map +1 -0
- package/esm/sdk/invoices.js +46 -0
- package/esm/sdk/invoices.js.map +1 -0
- package/esm/sdk/milestones.d.ts +29 -0
- package/esm/sdk/milestones.d.ts.map +1 -0
- package/esm/sdk/milestones.js +46 -0
- package/esm/sdk/milestones.js.map +1 -0
- package/esm/sdk/payments.d.ts +25 -0
- package/esm/sdk/payments.d.ts.map +1 -0
- package/esm/sdk/payments.js +39 -0
- package/esm/sdk/payments.js.map +1 -0
- package/esm/sdk/payouts.d.ts +14 -0
- package/esm/sdk/payouts.d.ts.map +1 -0
- package/esm/sdk/payouts.js +22 -0
- package/esm/sdk/payouts.js.map +1 -0
- package/esm/sdk/projects.d.ts +26 -0
- package/esm/sdk/projects.d.ts.map +1 -0
- package/esm/sdk/projects.js +43 -0
- package/esm/sdk/projects.js.map +1 -0
- package/esm/sdk/proposals.d.ts +32 -0
- package/esm/sdk/proposals.d.ts.map +1 -0
- package/esm/sdk/proposals.js +49 -0
- package/esm/sdk/proposals.js.map +1 -0
- package/esm/sdk/sdk.d.ts +49 -0
- package/esm/sdk/sdk.d.ts.map +1 -0
- package/esm/sdk/sdk.js +82 -0
- package/esm/sdk/sdk.js.map +1 -0
- package/esm/sdk/time-entries.d.ts +32 -0
- package/esm/sdk/time-entries.d.ts.map +1 -0
- package/esm/sdk/time-entries.js +49 -0
- package/esm/sdk/time-entries.js.map +1 -0
- package/esm/sdk/transactions.d.ts +32 -0
- package/esm/sdk/transactions.d.ts.map +1 -0
- package/esm/sdk/transactions.js +49 -0
- package/esm/sdk/transactions.js.map +1 -0
- package/esm/sdk/webhooks.d.ts +32 -0
- package/esm/sdk/webhooks.d.ts.map +1 -0
- package/esm/sdk/webhooks.js +49 -0
- package/esm/sdk/webhooks.js.map +1 -0
- package/esm/types/async.d.ts +23 -0
- package/esm/types/async.d.ts.map +1 -0
- package/esm/types/async.js +28 -0
- package/esm/types/async.js.map +1 -0
- package/esm/types/blobs.d.ts +4 -0
- package/esm/types/blobs.d.ts.map +1 -0
- package/esm/types/blobs.js +25 -0
- package/esm/types/blobs.js.map +1 -0
- package/esm/types/const-date-time.d.ts +3 -0
- package/esm/types/const-date-time.d.ts.map +1 -0
- package/esm/types/const-date-time.js +10 -0
- package/esm/types/const-date-time.js.map +1 -0
- package/esm/types/default-to-zero-value.d.ts +12 -0
- package/esm/types/default-to-zero-value.d.ts.map +1 -0
- package/esm/types/default-to-zero-value.js +31 -0
- package/esm/types/default-to-zero-value.js.map +1 -0
- package/esm/types/enums.d.ts +9 -0
- package/esm/types/enums.d.ts.map +1 -0
- package/esm/types/enums.js +27 -0
- package/esm/types/enums.js.map +1 -0
- package/esm/types/fp.d.ts +31 -0
- package/esm/types/fp.d.ts.map +1 -0
- package/esm/types/fp.js +31 -0
- package/esm/types/fp.js.map +1 -0
- package/esm/types/index.d.ts +10 -0
- package/esm/types/index.d.ts.map +1 -0
- package/esm/types/index.js +10 -0
- package/esm/types/index.js.map +1 -0
- package/esm/types/operations.d.ts +27 -0
- package/esm/types/operations.d.ts.map +1 -0
- package/esm/types/operations.js +77 -0
- package/esm/types/operations.js.map +1 -0
- package/esm/types/primitives.d.ts +11 -0
- package/esm/types/primitives.d.ts.map +1 -0
- package/esm/types/primitives.js +131 -0
- package/esm/types/primitives.js.map +1 -0
- package/esm/types/rfcdate.d.ts +21 -0
- package/esm/types/rfcdate.d.ts.map +1 -0
- package/esm/types/rfcdate.js +43 -0
- package/esm/types/rfcdate.js.map +1 -0
- package/esm/types/smart-union.d.ts +7 -0
- package/esm/types/smart-union.d.ts.map +1 -0
- package/esm/types/smart-union.js +117 -0
- package/esm/types/smart-union.js.map +1 -0
- package/esm/types/streams.d.ts +2 -0
- package/esm/types/streams.d.ts.map +1 -0
- package/esm/types/streams.js +15 -0
- package/esm/types/streams.js.map +1 -0
- package/esm/types/unrecognized.d.ts +16 -0
- package/esm/types/unrecognized.d.ts.map +1 -0
- package/esm/types/unrecognized.js +31 -0
- package/esm/types/unrecognized.js.map +1 -0
- package/examples/clientsListClients.example.ts +26 -0
- package/jsr.json +27 -0
- package/package.json +84 -0
- package/src/core.ts +13 -0
- package/src/funcs/calendar-events-create-calendar-event.ts +180 -0
- package/src/funcs/calendar-events-delete-calendar-event.ts +182 -0
- package/src/funcs/calendar-events-get-calendar-event.ts +183 -0
- package/src/funcs/calendar-events-list-calendar-events.ts +189 -0
- package/src/funcs/calendar-events-update-calendar-event.ts +187 -0
- package/src/funcs/catalog-items-create-catalog-item.ts +180 -0
- package/src/funcs/catalog-items-delete-catalog-item.ts +182 -0
- package/src/funcs/catalog-items-get-catalog-item.ts +182 -0
- package/src/funcs/catalog-items-list-catalog-items.ts +188 -0
- package/src/funcs/catalog-items-update-catalog-item.ts +184 -0
- package/src/funcs/clients-create-client.ts +177 -0
- package/src/funcs/clients-delete-client.ts +181 -0
- package/src/funcs/clients-get-client.ts +182 -0
- package/src/funcs/clients-list-clients.ts +183 -0
- package/src/funcs/clients-update-client.ts +183 -0
- package/src/funcs/contacts-create-contact.ts +177 -0
- package/src/funcs/contacts-delete-contact.ts +181 -0
- package/src/funcs/contacts-get-contact.ts +182 -0
- package/src/funcs/contacts-list-contacts.ts +184 -0
- package/src/funcs/contacts-update-contact.ts +183 -0
- package/src/funcs/contracts-create-contract.ts +180 -0
- package/src/funcs/contracts-delete-contract.ts +181 -0
- package/src/funcs/contracts-get-contract.ts +182 -0
- package/src/funcs/contracts-list-contracts.ts +187 -0
- package/src/funcs/contracts-update-contract.ts +186 -0
- package/src/funcs/inquiries-create-inquiry.ts +180 -0
- package/src/funcs/inquiries-delete-inquiry.ts +181 -0
- package/src/funcs/inquiries-get-inquiry.ts +182 -0
- package/src/funcs/inquiries-list-inquiries.ts +187 -0
- package/src/funcs/inquiries-update-inquiry.ts +186 -0
- package/src/funcs/invoices-create-invoice.ts +180 -0
- package/src/funcs/invoices-delete-invoice.ts +181 -0
- package/src/funcs/invoices-get-invoice.ts +182 -0
- package/src/funcs/invoices-list-invoices.ts +184 -0
- package/src/funcs/invoices-update-invoice.ts +183 -0
- package/src/funcs/milestones-create-milestone.ts +180 -0
- package/src/funcs/milestones-delete-milestone.ts +181 -0
- package/src/funcs/milestones-get-milestone.ts +182 -0
- package/src/funcs/milestones-list-milestones.ts +188 -0
- package/src/funcs/milestones-update-milestone.ts +183 -0
- package/src/funcs/payments-create-payment.ts +180 -0
- package/src/funcs/payments-get-payment.ts +182 -0
- package/src/funcs/payments-list-payments.ts +186 -0
- package/src/funcs/payments-update-payment.ts +183 -0
- package/src/funcs/payouts-get-payout.ts +182 -0
- package/src/funcs/payouts-list-payouts.ts +185 -0
- package/src/funcs/projects-create-project.ts +177 -0
- package/src/funcs/projects-delete-project.ts +181 -0
- package/src/funcs/projects-get-project.ts +182 -0
- package/src/funcs/projects-list-projects.ts +184 -0
- package/src/funcs/projects-update-project.ts +183 -0
- package/src/funcs/proposals-create-proposal.ts +180 -0
- package/src/funcs/proposals-delete-proposal.ts +181 -0
- package/src/funcs/proposals-get-proposal.ts +182 -0
- package/src/funcs/proposals-list-proposals.ts +188 -0
- package/src/funcs/proposals-update-proposal.ts +186 -0
- package/src/funcs/time-entries-create-time-entry.ts +177 -0
- package/src/funcs/time-entries-delete-time-entry.ts +184 -0
- package/src/funcs/time-entries-get-time-entry.ts +182 -0
- package/src/funcs/time-entries-list-time-entries.ts +191 -0
- package/src/funcs/time-entries-update-time-entry.ts +186 -0
- package/src/funcs/transactions-create-transaction.ts +177 -0
- package/src/funcs/transactions-delete-transaction.ts +185 -0
- package/src/funcs/transactions-get-transaction.ts +182 -0
- package/src/funcs/transactions-list-transactions.ts +188 -0
- package/src/funcs/transactions-update-transaction.ts +187 -0
- package/src/funcs/webhooks-create-webhook.ts +180 -0
- package/src/funcs/webhooks-delete-webhook.ts +181 -0
- package/src/funcs/webhooks-get-webhook.ts +182 -0
- package/src/funcs/webhooks-list-webhooks.ts +184 -0
- package/src/funcs/webhooks-update-webhook.ts +186 -0
- package/src/hooks/hooks.ts +129 -0
- package/src/hooks/index.ts +6 -0
- package/src/hooks/types.ts +107 -0
- package/src/index.ts +9 -0
- package/src/lib/base64.ts +39 -0
- package/src/lib/config.ts +67 -0
- package/src/lib/dlv.ts +53 -0
- package/src/lib/encodings.ts +529 -0
- package/src/lib/env.ts +57 -0
- package/src/lib/files.ts +104 -0
- package/src/lib/http.ts +323 -0
- package/src/lib/is-plain-object.ts +43 -0
- package/src/lib/logger.ts +9 -0
- package/src/lib/matchers.ts +353 -0
- package/src/lib/primitives.ts +150 -0
- package/src/lib/retries.ts +218 -0
- package/src/lib/schemas.ts +94 -0
- package/src/lib/sdks.ts +405 -0
- package/src/lib/security.ts +275 -0
- package/src/lib/url.ts +35 -0
- package/src/models/calendar-event-create.ts +77 -0
- package/src/models/calendar-event-update.ts +87 -0
- package/src/models/calendar-event.ts +106 -0
- package/src/models/catalog-item-create.ts +122 -0
- package/src/models/catalog-item-update.ts +122 -0
- package/src/models/catalog-item.ts +126 -0
- package/src/models/client-create.ts +45 -0
- package/src/models/client-update.ts +45 -0
- package/src/models/client.ts +60 -0
- package/src/models/contact-create.ts +60 -0
- package/src/models/contact-update.ts +60 -0
- package/src/models/contact.ts +76 -0
- package/src/models/contract-create.ts +83 -0
- package/src/models/contract-update.ts +45 -0
- package/src/models/contract.ts +202 -0
- package/src/models/errors/client-casa-default-error.ts +40 -0
- package/src/models/errors/client-casa-error.ts +35 -0
- package/src/models/errors/http-client-errors.ts +62 -0
- package/src/models/errors/index.ts +9 -0
- package/src/models/errors/response-validation-error.ts +50 -0
- package/src/models/errors/sdk-validation-error.ts +54 -0
- package/src/models/index.ts +50 -0
- package/src/models/inquiry-create.ts +72 -0
- package/src/models/inquiry-update.ts +80 -0
- package/src/models/inquiry.ts +123 -0
- package/src/models/invoice-create.ts +115 -0
- package/src/models/invoice-line-item.ts +46 -0
- package/src/models/invoice-update.ts +73 -0
- package/src/models/invoice.ts +110 -0
- package/src/models/milestone-create.ts +93 -0
- package/src/models/milestone-update.ts +73 -0
- package/src/models/milestone.ts +103 -0
- package/src/models/operations/create-calendar-event.ts +35 -0
- package/src/models/operations/create-catalog-item.ts +33 -0
- package/src/models/operations/create-client.ts +33 -0
- package/src/models/operations/create-contact.ts +33 -0
- package/src/models/operations/create-contract.ts +33 -0
- package/src/models/operations/create-inquiry.ts +33 -0
- package/src/models/operations/create-invoice.ts +33 -0
- package/src/models/operations/create-milestone.ts +33 -0
- package/src/models/operations/create-payment.ts +33 -0
- package/src/models/operations/create-project.ts +33 -0
- package/src/models/operations/create-proposal.ts +33 -0
- package/src/models/operations/create-time-entry.ts +33 -0
- package/src/models/operations/create-transaction.ts +33 -0
- package/src/models/operations/create-webhook.ts +33 -0
- package/src/models/operations/delete-calendar-event.ts +63 -0
- package/src/models/operations/delete-catalog-item.ts +61 -0
- package/src/models/operations/delete-client.ts +61 -0
- package/src/models/operations/delete-contact.ts +61 -0
- package/src/models/operations/delete-contract.ts +61 -0
- package/src/models/operations/delete-inquiry.ts +61 -0
- package/src/models/operations/delete-invoice.ts +61 -0
- package/src/models/operations/delete-milestone.ts +61 -0
- package/src/models/operations/delete-project.ts +61 -0
- package/src/models/operations/delete-proposal.ts +61 -0
- package/src/models/operations/delete-time-entry.ts +61 -0
- package/src/models/operations/delete-transaction.ts +61 -0
- package/src/models/operations/delete-webhook.ts +61 -0
- package/src/models/operations/get-calendar-event.ts +61 -0
- package/src/models/operations/get-catalog-item.ts +61 -0
- package/src/models/operations/get-client.ts +61 -0
- package/src/models/operations/get-contact.ts +61 -0
- package/src/models/operations/get-contract.ts +61 -0
- package/src/models/operations/get-inquiry.ts +61 -0
- package/src/models/operations/get-invoice.ts +61 -0
- package/src/models/operations/get-milestone.ts +61 -0
- package/src/models/operations/get-payment.ts +61 -0
- package/src/models/operations/get-payout.ts +61 -0
- package/src/models/operations/get-project.ts +61 -0
- package/src/models/operations/get-proposal.ts +61 -0
- package/src/models/operations/get-time-entry.ts +61 -0
- package/src/models/operations/get-transaction.ts +61 -0
- package/src/models/operations/get-webhook.ts +61 -0
- package/src/models/operations/index.ts +75 -0
- package/src/models/operations/list-calendar-events.ts +116 -0
- package/src/models/operations/list-catalog-items.ts +126 -0
- package/src/models/operations/list-clients.ts +108 -0
- package/src/models/operations/list-contacts.ts +112 -0
- package/src/models/operations/list-contracts.ts +118 -0
- package/src/models/operations/list-inquiries.ts +127 -0
- package/src/models/operations/list-invoices.ts +117 -0
- package/src/models/operations/list-milestones.ts +127 -0
- package/src/models/operations/list-payments.ts +136 -0
- package/src/models/operations/list-payouts.ts +126 -0
- package/src/models/operations/list-projects.ts +114 -0
- package/src/models/operations/list-proposals.ts +120 -0
- package/src/models/operations/list-time-entries.ts +129 -0
- package/src/models/operations/list-transactions.ts +138 -0
- package/src/models/operations/list-webhooks.ts +158 -0
- package/src/models/operations/update-calendar-event.ts +67 -0
- package/src/models/operations/update-catalog-item.ts +65 -0
- package/src/models/operations/update-client.ts +65 -0
- package/src/models/operations/update-contact.ts +65 -0
- package/src/models/operations/update-contract.ts +65 -0
- package/src/models/operations/update-inquiry.ts +65 -0
- package/src/models/operations/update-invoice.ts +65 -0
- package/src/models/operations/update-milestone.ts +65 -0
- package/src/models/operations/update-payment.ts +65 -0
- package/src/models/operations/update-project.ts +65 -0
- package/src/models/operations/update-proposal.ts +65 -0
- package/src/models/operations/update-time-entry.ts +65 -0
- package/src/models/operations/update-transaction.ts +65 -0
- package/src/models/operations/update-webhook.ts +65 -0
- package/src/models/pagination-meta.ts +39 -0
- package/src/models/payment-create.ts +95 -0
- package/src/models/payment-update.ts +29 -0
- package/src/models/payment.ts +127 -0
- package/src/models/payout.ts +88 -0
- package/src/models/project-create.ts +81 -0
- package/src/models/project-update.ts +81 -0
- package/src/models/project.ts +78 -0
- package/src/models/proposal-create.ts +86 -0
- package/src/models/proposal-update.ts +84 -0
- package/src/models/proposal.ts +120 -0
- package/src/models/security.ts +26 -0
- package/src/models/time-entry-create.ts +89 -0
- package/src/models/time-entry-update.ts +91 -0
- package/src/models/time-entry.ts +98 -0
- package/src/models/transaction-create.ts +215 -0
- package/src/models/transaction-update.ts +215 -0
- package/src/models/transaction.ts +182 -0
- package/src/models/webhook-create.ts +100 -0
- package/src/models/webhook-update.ts +100 -0
- package/src/models/webhook.ts +138 -0
- package/src/sdk/calendar-events.ts +101 -0
- package/src/sdk/catalog-items.ts +98 -0
- package/src/sdk/clients.ts +95 -0
- package/src/sdk/contacts.ts +95 -0
- package/src/sdk/contracts.ts +101 -0
- package/src/sdk/index.ts +5 -0
- package/src/sdk/inquiries.ts +101 -0
- package/src/sdk/invoices.ts +98 -0
- package/src/sdk/milestones.ts +98 -0
- package/src/sdk/payments.ts +81 -0
- package/src/sdk/payouts.ts +44 -0
- package/src/sdk/projects.ts +95 -0
- package/src/sdk/proposals.ts +101 -0
- package/src/sdk/sdk.ts +97 -0
- package/src/sdk/time-entries.ts +101 -0
- package/src/sdk/transactions.ts +101 -0
- package/src/sdk/webhooks.ts +101 -0
- package/src/types/async.ts +68 -0
- package/src/types/blobs.ts +33 -0
- package/src/types/const-date-time.ts +15 -0
- package/src/types/default-to-zero-value.ts +33 -0
- package/src/types/enums.ts +45 -0
- package/src/types/fp.ts +50 -0
- package/src/types/index.ts +13 -0
- package/src/types/operations.ts +105 -0
- package/src/types/primitives.ts +166 -0
- package/src/types/rfcdate.ts +54 -0
- package/src/types/smart-union.ts +153 -0
- package/src/types/streams.ts +21 -0
- package/src/types/unrecognized.ts +35 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const InquiryUpdateStatus = {
|
|
9
|
+
New: "new",
|
|
10
|
+
Contacted: "contacted",
|
|
11
|
+
Qualified: "qualified",
|
|
12
|
+
Declined: "declined",
|
|
13
|
+
Spam: "spam",
|
|
14
|
+
} as const;
|
|
15
|
+
export type InquiryUpdateStatus = ClosedEnum<typeof InquiryUpdateStatus>;
|
|
16
|
+
|
|
17
|
+
export type InquiryUpdate = {
|
|
18
|
+
status?: InquiryUpdateStatus | undefined;
|
|
19
|
+
name?: string | undefined;
|
|
20
|
+
email?: string | null | undefined;
|
|
21
|
+
phone?: string | null | undefined;
|
|
22
|
+
preferredDate?: Date | null | undefined;
|
|
23
|
+
message?: string | null | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* ISO 8601 timestamp (UTC)
|
|
26
|
+
*/
|
|
27
|
+
lastContactedAt?: Date | null | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* ISO 8601 timestamp (UTC)
|
|
30
|
+
*/
|
|
31
|
+
nextFollowUpAt?: Date | null | undefined;
|
|
32
|
+
notes?: string | null | undefined;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const InquiryUpdateStatus$outboundSchema: z.ZodMiniEnum<
|
|
37
|
+
typeof InquiryUpdateStatus
|
|
38
|
+
> = z.enum(InquiryUpdateStatus);
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export type InquiryUpdate$Outbound = {
|
|
42
|
+
status?: string | undefined;
|
|
43
|
+
name?: string | undefined;
|
|
44
|
+
email?: string | null | undefined;
|
|
45
|
+
phone?: string | null | undefined;
|
|
46
|
+
preferredDate?: string | null | undefined;
|
|
47
|
+
message?: string | null | undefined;
|
|
48
|
+
lastContactedAt?: string | null | undefined;
|
|
49
|
+
nextFollowUpAt?: string | null | undefined;
|
|
50
|
+
notes?: string | null | undefined;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export const InquiryUpdate$outboundSchema: z.ZodMiniType<
|
|
55
|
+
InquiryUpdate$Outbound,
|
|
56
|
+
InquiryUpdate
|
|
57
|
+
> = z.object({
|
|
58
|
+
status: z.optional(InquiryUpdateStatus$outboundSchema),
|
|
59
|
+
name: z.optional(z.string()),
|
|
60
|
+
email: z.optional(z.nullable(z.string())),
|
|
61
|
+
phone: z.optional(z.nullable(z.string())),
|
|
62
|
+
preferredDate: z.optional(
|
|
63
|
+
z.nullable(z.pipe(
|
|
64
|
+
z.date(),
|
|
65
|
+
z.transform(v => v.toISOString().slice(0, "YYYY-MM-DD".length)),
|
|
66
|
+
)),
|
|
67
|
+
),
|
|
68
|
+
message: z.optional(z.nullable(z.string())),
|
|
69
|
+
lastContactedAt: z.optional(
|
|
70
|
+
z.nullable(z.pipe(z.date(), z.transform(v => v.toISOString()))),
|
|
71
|
+
),
|
|
72
|
+
nextFollowUpAt: z.optional(
|
|
73
|
+
z.nullable(z.pipe(z.date(), z.transform(v => v.toISOString()))),
|
|
74
|
+
),
|
|
75
|
+
notes: z.optional(z.nullable(z.string())),
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
export function inquiryUpdateToJSON(inquiryUpdate: InquiryUpdate): string {
|
|
79
|
+
return JSON.stringify(InquiryUpdate$outboundSchema.parse(inquiryUpdate));
|
|
80
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
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 InquiryStatus = {
|
|
14
|
+
New: "new",
|
|
15
|
+
Contacted: "contacted",
|
|
16
|
+
Qualified: "qualified",
|
|
17
|
+
Converted: "converted",
|
|
18
|
+
Declined: "declined",
|
|
19
|
+
Spam: "spam",
|
|
20
|
+
} as const;
|
|
21
|
+
export type InquiryStatus = OpenEnum<typeof InquiryStatus>;
|
|
22
|
+
|
|
23
|
+
export const InquirySource = {
|
|
24
|
+
InquiryForm: "inquiry_form",
|
|
25
|
+
Manual: "manual",
|
|
26
|
+
Referral: "referral",
|
|
27
|
+
Other: "other",
|
|
28
|
+
} as const;
|
|
29
|
+
export type InquirySource = OpenEnum<typeof InquirySource>;
|
|
30
|
+
|
|
31
|
+
export type Inquiry = {
|
|
32
|
+
/**
|
|
33
|
+
* UUID v4
|
|
34
|
+
*/
|
|
35
|
+
id: string;
|
|
36
|
+
name: string;
|
|
37
|
+
email: string | null;
|
|
38
|
+
phone: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* UUID v4
|
|
41
|
+
*/
|
|
42
|
+
contactId: string | null;
|
|
43
|
+
inquirySlug: string | null;
|
|
44
|
+
preferredDate: Date | null;
|
|
45
|
+
message: string | null;
|
|
46
|
+
status: InquiryStatus;
|
|
47
|
+
source: InquirySource;
|
|
48
|
+
customAnswers: { [k: string]: any } | null;
|
|
49
|
+
/**
|
|
50
|
+
* UUID v4
|
|
51
|
+
*/
|
|
52
|
+
convertedClientId: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* UUID v4
|
|
55
|
+
*/
|
|
56
|
+
convertedProjectId: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* ISO 8601 timestamp (UTC)
|
|
59
|
+
*/
|
|
60
|
+
convertedAt: Date | null;
|
|
61
|
+
/**
|
|
62
|
+
* ISO 8601 timestamp (UTC)
|
|
63
|
+
*/
|
|
64
|
+
lastContactedAt: Date | null;
|
|
65
|
+
/**
|
|
66
|
+
* ISO 8601 timestamp (UTC)
|
|
67
|
+
*/
|
|
68
|
+
nextFollowUpAt: Date | null;
|
|
69
|
+
notes: string | null;
|
|
70
|
+
/**
|
|
71
|
+
* ISO 8601 timestamp (UTC)
|
|
72
|
+
*/
|
|
73
|
+
createdAt: Date;
|
|
74
|
+
/**
|
|
75
|
+
* ISO 8601 timestamp (UTC)
|
|
76
|
+
*/
|
|
77
|
+
updatedAt: Date;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
/** @internal */
|
|
81
|
+
export const InquiryStatus$inboundSchema: z.ZodMiniType<
|
|
82
|
+
InquiryStatus,
|
|
83
|
+
unknown
|
|
84
|
+
> = openEnums.inboundSchema(InquiryStatus);
|
|
85
|
+
|
|
86
|
+
/** @internal */
|
|
87
|
+
export const InquirySource$inboundSchema: z.ZodMiniType<
|
|
88
|
+
InquirySource,
|
|
89
|
+
unknown
|
|
90
|
+
> = openEnums.inboundSchema(InquirySource);
|
|
91
|
+
|
|
92
|
+
/** @internal */
|
|
93
|
+
export const Inquiry$inboundSchema: z.ZodMiniType<Inquiry, unknown> = z.object({
|
|
94
|
+
id: types.string(),
|
|
95
|
+
name: types.string(),
|
|
96
|
+
email: types.nullable(types.string()),
|
|
97
|
+
phone: types.nullable(types.string()),
|
|
98
|
+
contactId: types.nullable(types.string()),
|
|
99
|
+
inquirySlug: types.nullable(types.string()),
|
|
100
|
+
preferredDate: types.nullable(types.date()),
|
|
101
|
+
message: types.nullable(types.string()),
|
|
102
|
+
status: InquiryStatus$inboundSchema,
|
|
103
|
+
source: InquirySource$inboundSchema,
|
|
104
|
+
customAnswers: types.nullable(z.record(z.string(), z.any())),
|
|
105
|
+
convertedClientId: types.nullable(types.string()),
|
|
106
|
+
convertedProjectId: types.nullable(types.string()),
|
|
107
|
+
convertedAt: types.nullable(types.date()),
|
|
108
|
+
lastContactedAt: types.nullable(types.date()),
|
|
109
|
+
nextFollowUpAt: types.nullable(types.date()),
|
|
110
|
+
notes: types.nullable(types.string()),
|
|
111
|
+
createdAt: types.date(),
|
|
112
|
+
updatedAt: types.date(),
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
export function inquiryFromJSON(
|
|
116
|
+
jsonString: string,
|
|
117
|
+
): SafeParseResult<Inquiry, SDKValidationError> {
|
|
118
|
+
return safeParse(
|
|
119
|
+
jsonString,
|
|
120
|
+
(x) => Inquiry$inboundSchema.parse(JSON.parse(x)),
|
|
121
|
+
`Failed to parse 'Inquiry' from JSON`,
|
|
122
|
+
);
|
|
123
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const InvoiceCreateStatus = {
|
|
9
|
+
Draft: "draft",
|
|
10
|
+
Sent: "sent",
|
|
11
|
+
Void: "void",
|
|
12
|
+
} as const;
|
|
13
|
+
export type InvoiceCreateStatus = ClosedEnum<typeof InvoiceCreateStatus>;
|
|
14
|
+
|
|
15
|
+
export type LineItem = {
|
|
16
|
+
description: string;
|
|
17
|
+
quantity: number;
|
|
18
|
+
unitPrice: number;
|
|
19
|
+
taxable?: boolean | undefined;
|
|
20
|
+
discountPercent?: number | undefined;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type InvoiceCreate = {
|
|
24
|
+
/**
|
|
25
|
+
* UUID v4
|
|
26
|
+
*/
|
|
27
|
+
clientId: string;
|
|
28
|
+
/**
|
|
29
|
+
* UUID v4
|
|
30
|
+
*/
|
|
31
|
+
billingContactId?: string | undefined;
|
|
32
|
+
projectIds?: Array<string> | undefined;
|
|
33
|
+
status?: InvoiceCreateStatus | undefined;
|
|
34
|
+
subject?: string | undefined;
|
|
35
|
+
issueDate?: Date | undefined;
|
|
36
|
+
dueDate?: Date | undefined;
|
|
37
|
+
paymentTerms?: string | undefined;
|
|
38
|
+
notes?: string | undefined;
|
|
39
|
+
lineItems: Array<LineItem>;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
export const InvoiceCreateStatus$outboundSchema: z.ZodMiniEnum<
|
|
44
|
+
typeof InvoiceCreateStatus
|
|
45
|
+
> = z.enum(InvoiceCreateStatus);
|
|
46
|
+
|
|
47
|
+
/** @internal */
|
|
48
|
+
export type LineItem$Outbound = {
|
|
49
|
+
description: string;
|
|
50
|
+
quantity: number;
|
|
51
|
+
unitPrice: number;
|
|
52
|
+
taxable: boolean;
|
|
53
|
+
discountPercent?: number | undefined;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export const LineItem$outboundSchema: z.ZodMiniType<
|
|
58
|
+
LineItem$Outbound,
|
|
59
|
+
LineItem
|
|
60
|
+
> = z.object({
|
|
61
|
+
description: z.string(),
|
|
62
|
+
quantity: z.number(),
|
|
63
|
+
unitPrice: z.number(),
|
|
64
|
+
taxable: z._default(z.boolean(), false),
|
|
65
|
+
discountPercent: z.optional(z.number()),
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
export function lineItemToJSON(lineItem: LineItem): string {
|
|
69
|
+
return JSON.stringify(LineItem$outboundSchema.parse(lineItem));
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/** @internal */
|
|
73
|
+
export type InvoiceCreate$Outbound = {
|
|
74
|
+
clientId: string;
|
|
75
|
+
billingContactId?: string | undefined;
|
|
76
|
+
projectIds?: Array<string> | undefined;
|
|
77
|
+
status: string;
|
|
78
|
+
subject?: string | undefined;
|
|
79
|
+
issueDate?: string | undefined;
|
|
80
|
+
dueDate?: string | undefined;
|
|
81
|
+
paymentTerms?: string | undefined;
|
|
82
|
+
notes?: string | undefined;
|
|
83
|
+
lineItems: Array<LineItem$Outbound>;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/** @internal */
|
|
87
|
+
export const InvoiceCreate$outboundSchema: z.ZodMiniType<
|
|
88
|
+
InvoiceCreate$Outbound,
|
|
89
|
+
InvoiceCreate
|
|
90
|
+
> = z.object({
|
|
91
|
+
clientId: z.string(),
|
|
92
|
+
billingContactId: z.optional(z.string()),
|
|
93
|
+
projectIds: z.optional(z.array(z.string())),
|
|
94
|
+
status: z._default(InvoiceCreateStatus$outboundSchema, "draft"),
|
|
95
|
+
subject: z.optional(z.string()),
|
|
96
|
+
issueDate: z.optional(
|
|
97
|
+
z.pipe(
|
|
98
|
+
z.date(),
|
|
99
|
+
z.transform(v => v.toISOString().slice(0, "YYYY-MM-DD".length)),
|
|
100
|
+
),
|
|
101
|
+
),
|
|
102
|
+
dueDate: z.optional(
|
|
103
|
+
z.pipe(
|
|
104
|
+
z.date(),
|
|
105
|
+
z.transform(v => v.toISOString().slice(0, "YYYY-MM-DD".length)),
|
|
106
|
+
),
|
|
107
|
+
),
|
|
108
|
+
paymentTerms: z.optional(z.string()),
|
|
109
|
+
notes: z.optional(z.string()),
|
|
110
|
+
lineItems: z.array(z.lazy(() => LineItem$outboundSchema)),
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
export function invoiceCreateToJSON(invoiceCreate: InvoiceCreate): string {
|
|
114
|
+
return JSON.stringify(InvoiceCreate$outboundSchema.parse(invoiceCreate));
|
|
115
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 * as types from "../types/primitives.js";
|
|
9
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
10
|
+
|
|
11
|
+
export type InvoiceLineItem = {
|
|
12
|
+
/**
|
|
13
|
+
* UUID v4
|
|
14
|
+
*/
|
|
15
|
+
id: string;
|
|
16
|
+
description: string;
|
|
17
|
+
quantity: number;
|
|
18
|
+
unitPrice: number;
|
|
19
|
+
taxable: boolean;
|
|
20
|
+
discountPercent: number | null;
|
|
21
|
+
total: number;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const InvoiceLineItem$inboundSchema: z.ZodMiniType<
|
|
26
|
+
InvoiceLineItem,
|
|
27
|
+
unknown
|
|
28
|
+
> = z.object({
|
|
29
|
+
id: types.string(),
|
|
30
|
+
description: types.string(),
|
|
31
|
+
quantity: types.number(),
|
|
32
|
+
unitPrice: types.number(),
|
|
33
|
+
taxable: types.boolean(),
|
|
34
|
+
discountPercent: types.nullable(types.number()),
|
|
35
|
+
total: types.number(),
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export function invoiceLineItemFromJSON(
|
|
39
|
+
jsonString: string,
|
|
40
|
+
): SafeParseResult<InvoiceLineItem, SDKValidationError> {
|
|
41
|
+
return safeParse(
|
|
42
|
+
jsonString,
|
|
43
|
+
(x) => InvoiceLineItem$inboundSchema.parse(JSON.parse(x)),
|
|
44
|
+
`Failed to parse 'InvoiceLineItem' from JSON`,
|
|
45
|
+
);
|
|
46
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const InvoiceUpdateStatus = {
|
|
9
|
+
Draft: "draft",
|
|
10
|
+
Sent: "sent",
|
|
11
|
+
Void: "void",
|
|
12
|
+
} as const;
|
|
13
|
+
export type InvoiceUpdateStatus = ClosedEnum<typeof InvoiceUpdateStatus>;
|
|
14
|
+
|
|
15
|
+
export type InvoiceUpdate = {
|
|
16
|
+
/**
|
|
17
|
+
* UUID v4
|
|
18
|
+
*/
|
|
19
|
+
billingContactId?: string | null | undefined;
|
|
20
|
+
projectIds?: Array<string> | undefined;
|
|
21
|
+
status?: InvoiceUpdateStatus | undefined;
|
|
22
|
+
subject?: string | null | undefined;
|
|
23
|
+
issueDate?: Date | undefined;
|
|
24
|
+
dueDate?: Date | undefined;
|
|
25
|
+
paymentTerms?: string | null | undefined;
|
|
26
|
+
notes?: string | null | undefined;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const InvoiceUpdateStatus$outboundSchema: z.ZodMiniEnum<
|
|
31
|
+
typeof InvoiceUpdateStatus
|
|
32
|
+
> = z.enum(InvoiceUpdateStatus);
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export type InvoiceUpdate$Outbound = {
|
|
36
|
+
billingContactId?: string | null | undefined;
|
|
37
|
+
projectIds?: Array<string> | undefined;
|
|
38
|
+
status?: string | undefined;
|
|
39
|
+
subject?: string | null | undefined;
|
|
40
|
+
issueDate?: string | undefined;
|
|
41
|
+
dueDate?: string | undefined;
|
|
42
|
+
paymentTerms?: string | null | undefined;
|
|
43
|
+
notes?: string | null | undefined;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const InvoiceUpdate$outboundSchema: z.ZodMiniType<
|
|
48
|
+
InvoiceUpdate$Outbound,
|
|
49
|
+
InvoiceUpdate
|
|
50
|
+
> = z.object({
|
|
51
|
+
billingContactId: z.optional(z.nullable(z.string())),
|
|
52
|
+
projectIds: z.optional(z.array(z.string())),
|
|
53
|
+
status: z.optional(InvoiceUpdateStatus$outboundSchema),
|
|
54
|
+
subject: z.optional(z.nullable(z.string())),
|
|
55
|
+
issueDate: z.optional(
|
|
56
|
+
z.pipe(
|
|
57
|
+
z.date(),
|
|
58
|
+
z.transform(v => v.toISOString().slice(0, "YYYY-MM-DD".length)),
|
|
59
|
+
),
|
|
60
|
+
),
|
|
61
|
+
dueDate: z.optional(
|
|
62
|
+
z.pipe(
|
|
63
|
+
z.date(),
|
|
64
|
+
z.transform(v => v.toISOString().slice(0, "YYYY-MM-DD".length)),
|
|
65
|
+
),
|
|
66
|
+
),
|
|
67
|
+
paymentTerms: z.optional(z.nullable(z.string())),
|
|
68
|
+
notes: z.optional(z.nullable(z.string())),
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
export function invoiceUpdateToJSON(invoiceUpdate: InvoiceUpdate): string {
|
|
72
|
+
return JSON.stringify(InvoiceUpdate$outboundSchema.parse(invoiceUpdate));
|
|
73
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
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
|
+
import {
|
|
13
|
+
InvoiceLineItem,
|
|
14
|
+
InvoiceLineItem$inboundSchema,
|
|
15
|
+
} from "./invoice-line-item.js";
|
|
16
|
+
|
|
17
|
+
export const InvoiceStatus = {
|
|
18
|
+
Draft: "draft",
|
|
19
|
+
Sent: "sent",
|
|
20
|
+
Partial: "partial",
|
|
21
|
+
Paid: "paid",
|
|
22
|
+
Overdue: "overdue",
|
|
23
|
+
Void: "void",
|
|
24
|
+
} as const;
|
|
25
|
+
export type InvoiceStatus = OpenEnum<typeof InvoiceStatus>;
|
|
26
|
+
|
|
27
|
+
export type Invoice = {
|
|
28
|
+
/**
|
|
29
|
+
* UUID v4
|
|
30
|
+
*/
|
|
31
|
+
id: string;
|
|
32
|
+
invoiceNumber: string;
|
|
33
|
+
/**
|
|
34
|
+
* UUID v4
|
|
35
|
+
*/
|
|
36
|
+
clientId: string;
|
|
37
|
+
/**
|
|
38
|
+
* UUID v4
|
|
39
|
+
*/
|
|
40
|
+
billingContactId: string | null;
|
|
41
|
+
projectIds: Array<string>;
|
|
42
|
+
status: InvoiceStatus;
|
|
43
|
+
subject: string | null;
|
|
44
|
+
issueDate: Date;
|
|
45
|
+
dueDate: Date;
|
|
46
|
+
currency: string;
|
|
47
|
+
subtotal: number;
|
|
48
|
+
discountAmount: number;
|
|
49
|
+
taxAmount: number;
|
|
50
|
+
total: number;
|
|
51
|
+
amountPaid: number;
|
|
52
|
+
balanceDue: number;
|
|
53
|
+
paymentTerms: string | null;
|
|
54
|
+
notes: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* ISO 8601 timestamp (UTC)
|
|
57
|
+
*/
|
|
58
|
+
paidAt: Date | null;
|
|
59
|
+
lineItems: Array<InvoiceLineItem>;
|
|
60
|
+
/**
|
|
61
|
+
* ISO 8601 timestamp (UTC)
|
|
62
|
+
*/
|
|
63
|
+
createdAt: Date;
|
|
64
|
+
/**
|
|
65
|
+
* ISO 8601 timestamp (UTC)
|
|
66
|
+
*/
|
|
67
|
+
updatedAt: Date;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
/** @internal */
|
|
71
|
+
export const InvoiceStatus$inboundSchema: z.ZodMiniType<
|
|
72
|
+
InvoiceStatus,
|
|
73
|
+
unknown
|
|
74
|
+
> = openEnums.inboundSchema(InvoiceStatus);
|
|
75
|
+
|
|
76
|
+
/** @internal */
|
|
77
|
+
export const Invoice$inboundSchema: z.ZodMiniType<Invoice, unknown> = z.object({
|
|
78
|
+
id: types.string(),
|
|
79
|
+
invoiceNumber: types.string(),
|
|
80
|
+
clientId: types.string(),
|
|
81
|
+
billingContactId: types.nullable(types.string()),
|
|
82
|
+
projectIds: z.array(types.string()),
|
|
83
|
+
status: InvoiceStatus$inboundSchema,
|
|
84
|
+
subject: types.nullable(types.string()),
|
|
85
|
+
issueDate: types.date(),
|
|
86
|
+
dueDate: types.date(),
|
|
87
|
+
currency: types.string(),
|
|
88
|
+
subtotal: types.number(),
|
|
89
|
+
discountAmount: types.number(),
|
|
90
|
+
taxAmount: types.number(),
|
|
91
|
+
total: types.number(),
|
|
92
|
+
amountPaid: types.number(),
|
|
93
|
+
balanceDue: types.number(),
|
|
94
|
+
paymentTerms: types.nullable(types.string()),
|
|
95
|
+
notes: types.nullable(types.string()),
|
|
96
|
+
paidAt: types.nullable(types.date()),
|
|
97
|
+
lineItems: z.array(InvoiceLineItem$inboundSchema),
|
|
98
|
+
createdAt: types.date(),
|
|
99
|
+
updatedAt: types.date(),
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
export function invoiceFromJSON(
|
|
103
|
+
jsonString: string,
|
|
104
|
+
): SafeParseResult<Invoice, SDKValidationError> {
|
|
105
|
+
return safeParse(
|
|
106
|
+
jsonString,
|
|
107
|
+
(x) => Invoice$inboundSchema.parse(JSON.parse(x)),
|
|
108
|
+
`Failed to parse 'Invoice' from JSON`,
|
|
109
|
+
);
|
|
110
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const MilestoneCreateParentType = {
|
|
9
|
+
Proposals: "proposals",
|
|
10
|
+
Projects: "projects",
|
|
11
|
+
} as const;
|
|
12
|
+
export type MilestoneCreateParentType = ClosedEnum<
|
|
13
|
+
typeof MilestoneCreateParentType
|
|
14
|
+
>;
|
|
15
|
+
|
|
16
|
+
export const MilestoneCreateStatus = {
|
|
17
|
+
Pending: "pending",
|
|
18
|
+
InProgress: "in-progress",
|
|
19
|
+
Completed: "completed",
|
|
20
|
+
} as const;
|
|
21
|
+
export type MilestoneCreateStatus = ClosedEnum<typeof MilestoneCreateStatus>;
|
|
22
|
+
|
|
23
|
+
export type MilestoneCreate = {
|
|
24
|
+
parentType: MilestoneCreateParentType;
|
|
25
|
+
/**
|
|
26
|
+
* UUID v4
|
|
27
|
+
*/
|
|
28
|
+
parentId: string;
|
|
29
|
+
title: string;
|
|
30
|
+
description?: string | undefined;
|
|
31
|
+
date: Date;
|
|
32
|
+
time?: string | undefined;
|
|
33
|
+
status?: MilestoneCreateStatus | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* UUID v4
|
|
36
|
+
*/
|
|
37
|
+
assigneeId?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* UUID v4
|
|
40
|
+
*/
|
|
41
|
+
catalogItemId?: string | undefined;
|
|
42
|
+
sortOrder?: number | undefined;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const MilestoneCreateParentType$outboundSchema: z.ZodMiniEnum<
|
|
47
|
+
typeof MilestoneCreateParentType
|
|
48
|
+
> = z.enum(MilestoneCreateParentType);
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export const MilestoneCreateStatus$outboundSchema: z.ZodMiniEnum<
|
|
52
|
+
typeof MilestoneCreateStatus
|
|
53
|
+
> = z.enum(MilestoneCreateStatus);
|
|
54
|
+
|
|
55
|
+
/** @internal */
|
|
56
|
+
export type MilestoneCreate$Outbound = {
|
|
57
|
+
parentType: string;
|
|
58
|
+
parentId: string;
|
|
59
|
+
title: string;
|
|
60
|
+
description?: string | undefined;
|
|
61
|
+
date: string;
|
|
62
|
+
time?: string | undefined;
|
|
63
|
+
status: string;
|
|
64
|
+
assigneeId?: string | undefined;
|
|
65
|
+
catalogItemId?: string | undefined;
|
|
66
|
+
sortOrder?: number | undefined;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const MilestoneCreate$outboundSchema: z.ZodMiniType<
|
|
71
|
+
MilestoneCreate$Outbound,
|
|
72
|
+
MilestoneCreate
|
|
73
|
+
> = z.object({
|
|
74
|
+
parentType: MilestoneCreateParentType$outboundSchema,
|
|
75
|
+
parentId: z.string(),
|
|
76
|
+
title: z.string(),
|
|
77
|
+
description: z.optional(z.string()),
|
|
78
|
+
date: z.pipe(
|
|
79
|
+
z.date(),
|
|
80
|
+
z.transform(v => v.toISOString().slice(0, "YYYY-MM-DD".length)),
|
|
81
|
+
),
|
|
82
|
+
time: z.optional(z.string()),
|
|
83
|
+
status: z._default(MilestoneCreateStatus$outboundSchema, "pending"),
|
|
84
|
+
assigneeId: z.optional(z.string()),
|
|
85
|
+
catalogItemId: z.optional(z.string()),
|
|
86
|
+
sortOrder: z.optional(z.int()),
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
export function milestoneCreateToJSON(
|
|
90
|
+
milestoneCreate: MilestoneCreate,
|
|
91
|
+
): string {
|
|
92
|
+
return JSON.stringify(MilestoneCreate$outboundSchema.parse(milestoneCreate));
|
|
93
|
+
}
|