@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,275 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as models from "../models/index.js";
|
|
6
|
+
import { env } from "./env.js";
|
|
7
|
+
|
|
8
|
+
type OAuth2PasswordFlow = {
|
|
9
|
+
username: string;
|
|
10
|
+
password: string;
|
|
11
|
+
clientID?: string | undefined;
|
|
12
|
+
clientSecret?: string | undefined;
|
|
13
|
+
tokenURL: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export enum SecurityErrorCode {
|
|
17
|
+
Incomplete = "incomplete",
|
|
18
|
+
UnrecognisedSecurityType = "unrecognized_security_type",
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export class SecurityError extends Error {
|
|
22
|
+
constructor(
|
|
23
|
+
public code: SecurityErrorCode,
|
|
24
|
+
message: string,
|
|
25
|
+
) {
|
|
26
|
+
super(message);
|
|
27
|
+
this.name = "SecurityError";
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
static incomplete(): SecurityError {
|
|
31
|
+
return new SecurityError(
|
|
32
|
+
SecurityErrorCode.Incomplete,
|
|
33
|
+
"Security requirements not met in order to perform the operation",
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
static unrecognizedType(type: string): SecurityError {
|
|
37
|
+
return new SecurityError(
|
|
38
|
+
SecurityErrorCode.UnrecognisedSecurityType,
|
|
39
|
+
`Unrecognised security type: ${type}`,
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export type SecurityState = {
|
|
45
|
+
basic: { username?: string | undefined; password?: string | undefined };
|
|
46
|
+
headers: Record<string, string>;
|
|
47
|
+
queryParams: Record<string, string>;
|
|
48
|
+
cookies: Record<string, string>;
|
|
49
|
+
oauth2: ({ type: "password" } & OAuth2PasswordFlow) | { type: "none" };
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
type SecurityInputBasic = {
|
|
53
|
+
type: "http:basic";
|
|
54
|
+
value:
|
|
55
|
+
| { username?: string | undefined; password?: string | undefined }
|
|
56
|
+
| null
|
|
57
|
+
| undefined;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
type SecurityInputBearer = {
|
|
61
|
+
type: "http:bearer";
|
|
62
|
+
value: string | null | undefined;
|
|
63
|
+
fieldName: string;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
type SecurityInputAPIKey = {
|
|
67
|
+
type: "apiKey:header" | "apiKey:query" | "apiKey:cookie";
|
|
68
|
+
value: string | null | undefined;
|
|
69
|
+
fieldName: string;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
type SecurityInputOIDC = {
|
|
73
|
+
type: "openIdConnect";
|
|
74
|
+
value: string | null | undefined;
|
|
75
|
+
fieldName: string;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
type SecurityInputOAuth2 = {
|
|
79
|
+
type: "oauth2";
|
|
80
|
+
value: string | null | undefined;
|
|
81
|
+
fieldName: string;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
type SecurityInputOAuth2ClientCredentials = {
|
|
85
|
+
type: "oauth2:client_credentials";
|
|
86
|
+
value:
|
|
87
|
+
| {
|
|
88
|
+
clientID?: string | undefined;
|
|
89
|
+
clientSecret?: string | undefined;
|
|
90
|
+
}
|
|
91
|
+
| null
|
|
92
|
+
| string
|
|
93
|
+
| undefined;
|
|
94
|
+
fieldName?: string;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
type SecurityInputOAuth2PasswordCredentials = {
|
|
98
|
+
type: "oauth2:password";
|
|
99
|
+
value:
|
|
100
|
+
| string
|
|
101
|
+
| null
|
|
102
|
+
| undefined;
|
|
103
|
+
fieldName?: string;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
type SecurityInputCustom = {
|
|
107
|
+
type: "http:custom";
|
|
108
|
+
value: any | null | undefined;
|
|
109
|
+
fieldName?: string;
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
export type SecurityInput =
|
|
113
|
+
| SecurityInputBasic
|
|
114
|
+
| SecurityInputBearer
|
|
115
|
+
| SecurityInputAPIKey
|
|
116
|
+
| SecurityInputOAuth2
|
|
117
|
+
| SecurityInputOAuth2ClientCredentials
|
|
118
|
+
| SecurityInputOAuth2PasswordCredentials
|
|
119
|
+
| SecurityInputOIDC
|
|
120
|
+
| SecurityInputCustom;
|
|
121
|
+
|
|
122
|
+
export function resolveSecurity(
|
|
123
|
+
...options: SecurityInput[][]
|
|
124
|
+
): SecurityState | null {
|
|
125
|
+
const state: SecurityState = {
|
|
126
|
+
basic: {},
|
|
127
|
+
headers: {},
|
|
128
|
+
queryParams: {},
|
|
129
|
+
cookies: {},
|
|
130
|
+
oauth2: { type: "none" },
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
const option = options.find((opts) => {
|
|
134
|
+
return opts.every((o) => {
|
|
135
|
+
if (o.value == null) {
|
|
136
|
+
return false;
|
|
137
|
+
} else if (o.type === "http:basic") {
|
|
138
|
+
return o.value.username != null || o.value.password != null;
|
|
139
|
+
} else if (o.type === "http:custom") {
|
|
140
|
+
return null;
|
|
141
|
+
} else if (o.type === "oauth2:password") {
|
|
142
|
+
return (
|
|
143
|
+
typeof o.value === "string" && !!o.value
|
|
144
|
+
);
|
|
145
|
+
} else if (o.type === "oauth2:client_credentials") {
|
|
146
|
+
if (typeof o.value == "string") {
|
|
147
|
+
return !!o.value;
|
|
148
|
+
}
|
|
149
|
+
return o.value.clientID != null || o.value.clientSecret != null;
|
|
150
|
+
} else if (typeof o.value === "string") {
|
|
151
|
+
return !!o.value;
|
|
152
|
+
} else {
|
|
153
|
+
throw new Error(
|
|
154
|
+
`Unrecognized security type: ${o.type} (value type: ${typeof o
|
|
155
|
+
.value})`,
|
|
156
|
+
);
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
if (option == null) {
|
|
161
|
+
return null;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
option.forEach((spec) => {
|
|
165
|
+
if (spec.value == null) {
|
|
166
|
+
return;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
const { type } = spec;
|
|
170
|
+
|
|
171
|
+
switch (type) {
|
|
172
|
+
case "apiKey:header":
|
|
173
|
+
state.headers[spec.fieldName] = spec.value;
|
|
174
|
+
break;
|
|
175
|
+
case "apiKey:query":
|
|
176
|
+
state.queryParams[spec.fieldName] = spec.value;
|
|
177
|
+
break;
|
|
178
|
+
case "apiKey:cookie":
|
|
179
|
+
state.cookies[spec.fieldName] = spec.value;
|
|
180
|
+
break;
|
|
181
|
+
case "http:basic":
|
|
182
|
+
applyBasic(state, spec);
|
|
183
|
+
break;
|
|
184
|
+
case "http:custom":
|
|
185
|
+
break;
|
|
186
|
+
case "http:bearer":
|
|
187
|
+
applyBearer(state, spec);
|
|
188
|
+
break;
|
|
189
|
+
case "oauth2":
|
|
190
|
+
applyBearer(state, spec);
|
|
191
|
+
break;
|
|
192
|
+
case "oauth2:password":
|
|
193
|
+
applyBearer(state, spec);
|
|
194
|
+
break;
|
|
195
|
+
case "oauth2:client_credentials":
|
|
196
|
+
break;
|
|
197
|
+
case "openIdConnect":
|
|
198
|
+
applyBearer(state, spec);
|
|
199
|
+
break;
|
|
200
|
+
default:
|
|
201
|
+
throw SecurityError.unrecognizedType((spec satisfies never, type));
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
|
|
205
|
+
return state;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
function applyBasic(
|
|
209
|
+
state: SecurityState,
|
|
210
|
+
spec: SecurityInputBasic,
|
|
211
|
+
) {
|
|
212
|
+
if (spec.value == null) {
|
|
213
|
+
return;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
state.basic = spec.value;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
function applyBearer(
|
|
220
|
+
state: SecurityState,
|
|
221
|
+
spec:
|
|
222
|
+
| SecurityInputBearer
|
|
223
|
+
| SecurityInputOAuth2
|
|
224
|
+
| SecurityInputOIDC
|
|
225
|
+
| SecurityInputOAuth2PasswordCredentials,
|
|
226
|
+
) {
|
|
227
|
+
if (typeof spec.value !== "string" || !spec.value) {
|
|
228
|
+
return;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
let value = spec.value;
|
|
232
|
+
if (value.slice(0, 7).toLowerCase() !== "bearer ") {
|
|
233
|
+
value = `Bearer ${value}`;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
if (spec.fieldName !== undefined) {
|
|
237
|
+
state.headers[spec.fieldName] = value;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export function resolveGlobalSecurity(
|
|
242
|
+
security: Partial<models.Security> | null | undefined,
|
|
243
|
+
allowedFields?: number[],
|
|
244
|
+
): SecurityState | null {
|
|
245
|
+
let inputs: SecurityInput[][] = [
|
|
246
|
+
[
|
|
247
|
+
{
|
|
248
|
+
fieldName: "x-api-key",
|
|
249
|
+
type: "apiKey:header",
|
|
250
|
+
value: security?.apiKey ?? env().CLIENTCASA_API_KEY,
|
|
251
|
+
},
|
|
252
|
+
],
|
|
253
|
+
];
|
|
254
|
+
|
|
255
|
+
if (allowedFields) {
|
|
256
|
+
inputs = allowedFields.map((i) => {
|
|
257
|
+
if (i < 0 || i >= inputs.length) {
|
|
258
|
+
throw new RangeError(`invalid allowedFields index ${i}`);
|
|
259
|
+
}
|
|
260
|
+
return inputs[i]!;
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
return resolveSecurity(...inputs);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export async function extractSecurity<
|
|
268
|
+
T extends string | Record<string, unknown>,
|
|
269
|
+
>(sec: T | (() => Promise<T>) | undefined): Promise<T | undefined> {
|
|
270
|
+
if (sec == null) {
|
|
271
|
+
return;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
return typeof sec === "function" ? sec() : sec;
|
|
275
|
+
}
|
package/src/lib/url.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
const hasOwn = Object.prototype.hasOwnProperty;
|
|
6
|
+
|
|
7
|
+
export type Params = Partial<Record<string, string | number>>;
|
|
8
|
+
|
|
9
|
+
export function pathToFunc(
|
|
10
|
+
pathPattern: string,
|
|
11
|
+
options?: { charEncoding?: "percent" | "none" },
|
|
12
|
+
): (params?: Params) => string {
|
|
13
|
+
const paramRE = /\{([a-zA-Z0-9_][a-zA-Z0-9_-]*?)\}/g;
|
|
14
|
+
|
|
15
|
+
return function buildURLPath(params: Record<string, unknown> = {}): string {
|
|
16
|
+
return pathPattern
|
|
17
|
+
.replace(paramRE, function (_, placeholder) {
|
|
18
|
+
if (!hasOwn.call(params, placeholder)) {
|
|
19
|
+
throw new Error(`Parameter '${placeholder}' is required`);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
const value = params[placeholder];
|
|
23
|
+
if (typeof value !== "string" && typeof value !== "number") {
|
|
24
|
+
throw new Error(
|
|
25
|
+
`Parameter '${placeholder}' must be a string or number`,
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
return options?.charEncoding === "percent"
|
|
30
|
+
? encodeURIComponent(`${value}`)
|
|
31
|
+
: `${value}`;
|
|
32
|
+
})
|
|
33
|
+
.replace(/^\/+/, "");
|
|
34
|
+
};
|
|
35
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
|
|
7
|
+
export type CalendarEventCreate = {
|
|
8
|
+
title: string;
|
|
9
|
+
description?: string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* ISO 8601 timestamp (UTC)
|
|
12
|
+
*/
|
|
13
|
+
startDateTime: Date;
|
|
14
|
+
/**
|
|
15
|
+
* ISO 8601 timestamp (UTC)
|
|
16
|
+
*/
|
|
17
|
+
endDateTime: Date;
|
|
18
|
+
allDay?: boolean | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* UUID v4
|
|
21
|
+
*/
|
|
22
|
+
projectId?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* UUID v4
|
|
25
|
+
*/
|
|
26
|
+
clientId?: string | undefined;
|
|
27
|
+
actionable?: boolean | undefined;
|
|
28
|
+
recurring?: boolean | undefined;
|
|
29
|
+
rrule?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* ISO 8601 timestamp (UTC)
|
|
32
|
+
*/
|
|
33
|
+
recurrenceEnd?: Date | undefined;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export type CalendarEventCreate$Outbound = {
|
|
38
|
+
title: string;
|
|
39
|
+
description?: string | undefined;
|
|
40
|
+
startDateTime: string;
|
|
41
|
+
endDateTime: string;
|
|
42
|
+
allDay: boolean;
|
|
43
|
+
projectId?: string | undefined;
|
|
44
|
+
clientId?: string | undefined;
|
|
45
|
+
actionable: boolean;
|
|
46
|
+
recurring: boolean;
|
|
47
|
+
rrule?: string | undefined;
|
|
48
|
+
recurrenceEnd?: string | undefined;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const CalendarEventCreate$outboundSchema: z.ZodMiniType<
|
|
53
|
+
CalendarEventCreate$Outbound,
|
|
54
|
+
CalendarEventCreate
|
|
55
|
+
> = z.object({
|
|
56
|
+
title: z.string(),
|
|
57
|
+
description: z.optional(z.string()),
|
|
58
|
+
startDateTime: z.pipe(z.date(), z.transform(v => v.toISOString())),
|
|
59
|
+
endDateTime: z.pipe(z.date(), z.transform(v => v.toISOString())),
|
|
60
|
+
allDay: z._default(z.boolean(), false),
|
|
61
|
+
projectId: z.optional(z.string()),
|
|
62
|
+
clientId: z.optional(z.string()),
|
|
63
|
+
actionable: z._default(z.boolean(), false),
|
|
64
|
+
recurring: z._default(z.boolean(), false),
|
|
65
|
+
rrule: z.optional(z.string()),
|
|
66
|
+
recurrenceEnd: z.optional(
|
|
67
|
+
z.pipe(z.date(), z.transform(v => v.toISOString())),
|
|
68
|
+
),
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
export function calendarEventCreateToJSON(
|
|
72
|
+
calendarEventCreate: CalendarEventCreate,
|
|
73
|
+
): string {
|
|
74
|
+
return JSON.stringify(
|
|
75
|
+
CalendarEventCreate$outboundSchema.parse(calendarEventCreate),
|
|
76
|
+
);
|
|
77
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
|
|
7
|
+
export type CalendarEventUpdate = {
|
|
8
|
+
title?: string | undefined;
|
|
9
|
+
description?: string | null | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* ISO 8601 timestamp (UTC)
|
|
12
|
+
*/
|
|
13
|
+
startDateTime?: Date | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* ISO 8601 timestamp (UTC)
|
|
16
|
+
*/
|
|
17
|
+
endDateTime?: Date | undefined;
|
|
18
|
+
allDay?: boolean | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* UUID v4
|
|
21
|
+
*/
|
|
22
|
+
projectId?: string | null | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* UUID v4
|
|
25
|
+
*/
|
|
26
|
+
clientId?: string | null | undefined;
|
|
27
|
+
actionable?: boolean | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* ISO 8601 timestamp (UTC)
|
|
30
|
+
*/
|
|
31
|
+
completedAt?: Date | null | undefined;
|
|
32
|
+
recurring?: boolean | undefined;
|
|
33
|
+
rrule?: string | null | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* ISO 8601 timestamp (UTC)
|
|
36
|
+
*/
|
|
37
|
+
recurrenceEnd?: Date | null | undefined;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export type CalendarEventUpdate$Outbound = {
|
|
42
|
+
title?: string | undefined;
|
|
43
|
+
description?: string | null | undefined;
|
|
44
|
+
startDateTime?: string | undefined;
|
|
45
|
+
endDateTime?: string | undefined;
|
|
46
|
+
allDay?: boolean | undefined;
|
|
47
|
+
projectId?: string | null | undefined;
|
|
48
|
+
clientId?: string | null | undefined;
|
|
49
|
+
actionable?: boolean | undefined;
|
|
50
|
+
completedAt?: string | null | undefined;
|
|
51
|
+
recurring?: boolean | undefined;
|
|
52
|
+
rrule?: string | null | undefined;
|
|
53
|
+
recurrenceEnd?: string | null | undefined;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export const CalendarEventUpdate$outboundSchema: z.ZodMiniType<
|
|
58
|
+
CalendarEventUpdate$Outbound,
|
|
59
|
+
CalendarEventUpdate
|
|
60
|
+
> = z.object({
|
|
61
|
+
title: z.optional(z.string()),
|
|
62
|
+
description: z.optional(z.nullable(z.string())),
|
|
63
|
+
startDateTime: z.optional(
|
|
64
|
+
z.pipe(z.date(), z.transform(v => v.toISOString())),
|
|
65
|
+
),
|
|
66
|
+
endDateTime: z.optional(z.pipe(z.date(), z.transform(v => v.toISOString()))),
|
|
67
|
+
allDay: z.optional(z.boolean()),
|
|
68
|
+
projectId: z.optional(z.nullable(z.string())),
|
|
69
|
+
clientId: z.optional(z.nullable(z.string())),
|
|
70
|
+
actionable: z.optional(z.boolean()),
|
|
71
|
+
completedAt: z.optional(
|
|
72
|
+
z.nullable(z.pipe(z.date(), z.transform(v => v.toISOString()))),
|
|
73
|
+
),
|
|
74
|
+
recurring: z.optional(z.boolean()),
|
|
75
|
+
rrule: z.optional(z.nullable(z.string())),
|
|
76
|
+
recurrenceEnd: z.optional(
|
|
77
|
+
z.nullable(z.pipe(z.date(), z.transform(v => v.toISOString()))),
|
|
78
|
+
),
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
export function calendarEventUpdateToJSON(
|
|
82
|
+
calendarEventUpdate: CalendarEventUpdate,
|
|
83
|
+
): string {
|
|
84
|
+
return JSON.stringify(
|
|
85
|
+
CalendarEventUpdate$outboundSchema.parse(calendarEventUpdate),
|
|
86
|
+
);
|
|
87
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
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 CalendarEventSource = {
|
|
14
|
+
Manual: "manual",
|
|
15
|
+
Google: "google",
|
|
16
|
+
Microsoft: "microsoft",
|
|
17
|
+
Apple: "apple",
|
|
18
|
+
} as const;
|
|
19
|
+
export type CalendarEventSource = OpenEnum<typeof CalendarEventSource>;
|
|
20
|
+
|
|
21
|
+
export type CalendarEvent = {
|
|
22
|
+
/**
|
|
23
|
+
* UUID v4
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
title: string;
|
|
27
|
+
description: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* ISO 8601 timestamp (UTC)
|
|
30
|
+
*/
|
|
31
|
+
startDateTime: Date;
|
|
32
|
+
/**
|
|
33
|
+
* ISO 8601 timestamp (UTC)
|
|
34
|
+
*/
|
|
35
|
+
endDateTime: Date;
|
|
36
|
+
allDay: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* UUID v4
|
|
39
|
+
*/
|
|
40
|
+
projectId: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* UUID v4
|
|
43
|
+
*/
|
|
44
|
+
clientId: string | null;
|
|
45
|
+
actionable: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* ISO 8601 timestamp (UTC)
|
|
48
|
+
*/
|
|
49
|
+
completedAt: Date | null;
|
|
50
|
+
recurring: boolean;
|
|
51
|
+
rrule: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* ISO 8601 timestamp (UTC)
|
|
54
|
+
*/
|
|
55
|
+
recurrenceEnd: Date | null;
|
|
56
|
+
source: CalendarEventSource;
|
|
57
|
+
readOnly: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* ISO 8601 timestamp (UTC)
|
|
60
|
+
*/
|
|
61
|
+
createdAt: Date;
|
|
62
|
+
/**
|
|
63
|
+
* ISO 8601 timestamp (UTC)
|
|
64
|
+
*/
|
|
65
|
+
updatedAt: Date;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export const CalendarEventSource$inboundSchema: z.ZodMiniType<
|
|
70
|
+
CalendarEventSource,
|
|
71
|
+
unknown
|
|
72
|
+
> = openEnums.inboundSchema(CalendarEventSource);
|
|
73
|
+
|
|
74
|
+
/** @internal */
|
|
75
|
+
export const CalendarEvent$inboundSchema: z.ZodMiniType<
|
|
76
|
+
CalendarEvent,
|
|
77
|
+
unknown
|
|
78
|
+
> = z.object({
|
|
79
|
+
id: types.string(),
|
|
80
|
+
title: types.string(),
|
|
81
|
+
description: types.nullable(types.string()),
|
|
82
|
+
startDateTime: types.date(),
|
|
83
|
+
endDateTime: types.date(),
|
|
84
|
+
allDay: types.boolean(),
|
|
85
|
+
projectId: types.nullable(types.string()),
|
|
86
|
+
clientId: types.nullable(types.string()),
|
|
87
|
+
actionable: types.boolean(),
|
|
88
|
+
completedAt: types.nullable(types.date()),
|
|
89
|
+
recurring: types.boolean(),
|
|
90
|
+
rrule: types.nullable(types.string()),
|
|
91
|
+
recurrenceEnd: types.nullable(types.date()),
|
|
92
|
+
source: CalendarEventSource$inboundSchema,
|
|
93
|
+
readOnly: types.boolean(),
|
|
94
|
+
createdAt: types.date(),
|
|
95
|
+
updatedAt: types.date(),
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
export function calendarEventFromJSON(
|
|
99
|
+
jsonString: string,
|
|
100
|
+
): SafeParseResult<CalendarEvent, SDKValidationError> {
|
|
101
|
+
return safeParse(
|
|
102
|
+
jsonString,
|
|
103
|
+
(x) => CalendarEvent$inboundSchema.parse(JSON.parse(x)),
|
|
104
|
+
`Failed to parse 'CalendarEvent' from JSON`,
|
|
105
|
+
);
|
|
106
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
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 CatalogItemCreateUnit = {
|
|
9
|
+
Flat: "flat",
|
|
10
|
+
Hour: "hour",
|
|
11
|
+
Each: "each",
|
|
12
|
+
} as const;
|
|
13
|
+
export type CatalogItemCreateUnit = ClosedEnum<typeof CatalogItemCreateUnit>;
|
|
14
|
+
|
|
15
|
+
export const CatalogItemCreateDefaultFrequency = {
|
|
16
|
+
OneTime: "one-time",
|
|
17
|
+
Monthly: "monthly",
|
|
18
|
+
Quarterly: "quarterly",
|
|
19
|
+
Annual: "annual",
|
|
20
|
+
} as const;
|
|
21
|
+
export type CatalogItemCreateDefaultFrequency = ClosedEnum<
|
|
22
|
+
typeof CatalogItemCreateDefaultFrequency
|
|
23
|
+
>;
|
|
24
|
+
|
|
25
|
+
export const CatalogItemCreateType = {
|
|
26
|
+
Expense: "expense",
|
|
27
|
+
Charge: "charge",
|
|
28
|
+
} as const;
|
|
29
|
+
export type CatalogItemCreateType = ClosedEnum<typeof CatalogItemCreateType>;
|
|
30
|
+
|
|
31
|
+
export const CatalogItemCreateStatus = {
|
|
32
|
+
Active: "active",
|
|
33
|
+
Paused: "paused",
|
|
34
|
+
Archived: "archived",
|
|
35
|
+
} as const;
|
|
36
|
+
export type CatalogItemCreateStatus = ClosedEnum<
|
|
37
|
+
typeof CatalogItemCreateStatus
|
|
38
|
+
>;
|
|
39
|
+
|
|
40
|
+
export type CatalogItemCreate = {
|
|
41
|
+
name: string;
|
|
42
|
+
invoiceLabel?: string | undefined;
|
|
43
|
+
description?: string | undefined;
|
|
44
|
+
invoiceDescription?: string | undefined;
|
|
45
|
+
defaultRate?: number | undefined;
|
|
46
|
+
unit?: CatalogItemCreateUnit | undefined;
|
|
47
|
+
defaultFrequency?: CatalogItemCreateDefaultFrequency | undefined;
|
|
48
|
+
type: CatalogItemCreateType;
|
|
49
|
+
/**
|
|
50
|
+
* UUID v4
|
|
51
|
+
*/
|
|
52
|
+
taxCategoryId?: string | undefined;
|
|
53
|
+
status?: CatalogItemCreateStatus | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* UUID v4
|
|
56
|
+
*/
|
|
57
|
+
clientId?: string | undefined;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/** @internal */
|
|
61
|
+
export const CatalogItemCreateUnit$outboundSchema: z.ZodMiniEnum<
|
|
62
|
+
typeof CatalogItemCreateUnit
|
|
63
|
+
> = z.enum(CatalogItemCreateUnit);
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
export const CatalogItemCreateDefaultFrequency$outboundSchema: z.ZodMiniEnum<
|
|
67
|
+
typeof CatalogItemCreateDefaultFrequency
|
|
68
|
+
> = z.enum(CatalogItemCreateDefaultFrequency);
|
|
69
|
+
|
|
70
|
+
/** @internal */
|
|
71
|
+
export const CatalogItemCreateType$outboundSchema: z.ZodMiniEnum<
|
|
72
|
+
typeof CatalogItemCreateType
|
|
73
|
+
> = z.enum(CatalogItemCreateType);
|
|
74
|
+
|
|
75
|
+
/** @internal */
|
|
76
|
+
export const CatalogItemCreateStatus$outboundSchema: z.ZodMiniEnum<
|
|
77
|
+
typeof CatalogItemCreateStatus
|
|
78
|
+
> = z.enum(CatalogItemCreateStatus);
|
|
79
|
+
|
|
80
|
+
/** @internal */
|
|
81
|
+
export type CatalogItemCreate$Outbound = {
|
|
82
|
+
name: string;
|
|
83
|
+
invoiceLabel?: string | undefined;
|
|
84
|
+
description?: string | undefined;
|
|
85
|
+
invoiceDescription?: string | undefined;
|
|
86
|
+
defaultRate?: number | undefined;
|
|
87
|
+
unit: string;
|
|
88
|
+
defaultFrequency: string;
|
|
89
|
+
type: string;
|
|
90
|
+
taxCategoryId?: string | undefined;
|
|
91
|
+
status: string;
|
|
92
|
+
clientId?: string | undefined;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
/** @internal */
|
|
96
|
+
export const CatalogItemCreate$outboundSchema: z.ZodMiniType<
|
|
97
|
+
CatalogItemCreate$Outbound,
|
|
98
|
+
CatalogItemCreate
|
|
99
|
+
> = z.object({
|
|
100
|
+
name: z.string(),
|
|
101
|
+
invoiceLabel: z.optional(z.string()),
|
|
102
|
+
description: z.optional(z.string()),
|
|
103
|
+
invoiceDescription: z.optional(z.string()),
|
|
104
|
+
defaultRate: z.optional(z.number()),
|
|
105
|
+
unit: z._default(CatalogItemCreateUnit$outboundSchema, "flat"),
|
|
106
|
+
defaultFrequency: z._default(
|
|
107
|
+
CatalogItemCreateDefaultFrequency$outboundSchema,
|
|
108
|
+
"one-time",
|
|
109
|
+
),
|
|
110
|
+
type: CatalogItemCreateType$outboundSchema,
|
|
111
|
+
taxCategoryId: z.optional(z.string()),
|
|
112
|
+
status: z._default(CatalogItemCreateStatus$outboundSchema, "active"),
|
|
113
|
+
clientId: z.optional(z.string()),
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
export function catalogItemCreateToJSON(
|
|
117
|
+
catalogItemCreate: CatalogItemCreate,
|
|
118
|
+
): string {
|
|
119
|
+
return JSON.stringify(
|
|
120
|
+
CatalogItemCreate$outboundSchema.parse(catalogItemCreate),
|
|
121
|
+
);
|
|
122
|
+
}
|