@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,120 @@
|
|
|
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 ProposalStatus = {
|
|
14
|
+
Draft: "draft",
|
|
15
|
+
Sent: "sent",
|
|
16
|
+
Accepted: "accepted",
|
|
17
|
+
Rejected: "rejected",
|
|
18
|
+
Expired: "expired",
|
|
19
|
+
Void: "void",
|
|
20
|
+
} as const;
|
|
21
|
+
export type ProposalStatus = OpenEnum<typeof ProposalStatus>;
|
|
22
|
+
|
|
23
|
+
export const ProposalSendMode = {
|
|
24
|
+
Proposal: "proposal",
|
|
25
|
+
Agreement: "agreement",
|
|
26
|
+
} as const;
|
|
27
|
+
export type ProposalSendMode = OpenEnum<typeof ProposalSendMode>;
|
|
28
|
+
|
|
29
|
+
export type Proposal = {
|
|
30
|
+
/**
|
|
31
|
+
* UUID v4
|
|
32
|
+
*/
|
|
33
|
+
id: string;
|
|
34
|
+
proposalNumber: string;
|
|
35
|
+
title: string;
|
|
36
|
+
/**
|
|
37
|
+
* UUID v4
|
|
38
|
+
*/
|
|
39
|
+
clientId: string;
|
|
40
|
+
/**
|
|
41
|
+
* UUID v4
|
|
42
|
+
*/
|
|
43
|
+
billingContactId: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* UUID v4
|
|
46
|
+
*/
|
|
47
|
+
projectId: string | null;
|
|
48
|
+
status: ProposalStatus;
|
|
49
|
+
sendMode: ProposalSendMode;
|
|
50
|
+
issueDate: Date | null;
|
|
51
|
+
expirationDate: Date | null;
|
|
52
|
+
eventDate: Date | null;
|
|
53
|
+
currency: string;
|
|
54
|
+
subtotal: number;
|
|
55
|
+
discountAmount: number;
|
|
56
|
+
taxAmount: number;
|
|
57
|
+
total: number;
|
|
58
|
+
notes: string | null;
|
|
59
|
+
archived: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* UUID v4
|
|
62
|
+
*/
|
|
63
|
+
linkedContractId: string | null;
|
|
64
|
+
/**
|
|
65
|
+
* ISO 8601 timestamp (UTC)
|
|
66
|
+
*/
|
|
67
|
+
createdAt: Date;
|
|
68
|
+
/**
|
|
69
|
+
* ISO 8601 timestamp (UTC)
|
|
70
|
+
*/
|
|
71
|
+
updatedAt: Date;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
/** @internal */
|
|
75
|
+
export const ProposalStatus$inboundSchema: z.ZodMiniType<
|
|
76
|
+
ProposalStatus,
|
|
77
|
+
unknown
|
|
78
|
+
> = openEnums.inboundSchema(ProposalStatus);
|
|
79
|
+
|
|
80
|
+
/** @internal */
|
|
81
|
+
export const ProposalSendMode$inboundSchema: z.ZodMiniType<
|
|
82
|
+
ProposalSendMode,
|
|
83
|
+
unknown
|
|
84
|
+
> = openEnums.inboundSchema(ProposalSendMode);
|
|
85
|
+
|
|
86
|
+
/** @internal */
|
|
87
|
+
export const Proposal$inboundSchema: z.ZodMiniType<Proposal, unknown> = z
|
|
88
|
+
.object({
|
|
89
|
+
id: types.string(),
|
|
90
|
+
proposalNumber: types.string(),
|
|
91
|
+
title: types.string(),
|
|
92
|
+
clientId: types.string(),
|
|
93
|
+
billingContactId: types.nullable(types.string()),
|
|
94
|
+
projectId: types.nullable(types.string()),
|
|
95
|
+
status: ProposalStatus$inboundSchema,
|
|
96
|
+
sendMode: ProposalSendMode$inboundSchema,
|
|
97
|
+
issueDate: types.nullable(types.date()),
|
|
98
|
+
expirationDate: types.nullable(types.date()),
|
|
99
|
+
eventDate: types.nullable(types.date()),
|
|
100
|
+
currency: types.string(),
|
|
101
|
+
subtotal: types.number(),
|
|
102
|
+
discountAmount: types.number(),
|
|
103
|
+
taxAmount: types.number(),
|
|
104
|
+
total: types.number(),
|
|
105
|
+
notes: types.nullable(types.string()),
|
|
106
|
+
archived: types.boolean(),
|
|
107
|
+
linkedContractId: types.nullable(types.string()),
|
|
108
|
+
createdAt: types.date(),
|
|
109
|
+
updatedAt: types.date(),
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
export function proposalFromJSON(
|
|
113
|
+
jsonString: string,
|
|
114
|
+
): SafeParseResult<Proposal, SDKValidationError> {
|
|
115
|
+
return safeParse(
|
|
116
|
+
jsonString,
|
|
117
|
+
(x) => Proposal$inboundSchema.parse(JSON.parse(x)),
|
|
118
|
+
`Failed to parse 'Proposal' from JSON`,
|
|
119
|
+
);
|
|
120
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 Security = {
|
|
8
|
+
apiKey?: string | undefined;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
/** @internal */
|
|
12
|
+
export type Security$Outbound = {
|
|
13
|
+
apiKey?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const Security$outboundSchema: z.ZodMiniType<
|
|
18
|
+
Security$Outbound,
|
|
19
|
+
Security
|
|
20
|
+
> = z.object({
|
|
21
|
+
apiKey: z.optional(z.string()),
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export function securityToJSON(security: Security): string {
|
|
25
|
+
return JSON.stringify(Security$outboundSchema.parse(security));
|
|
26
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
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 TimeEntryCreateRateType = {
|
|
9
|
+
Standard: "standard",
|
|
10
|
+
Overtime: "overtime",
|
|
11
|
+
Emergency: "emergency",
|
|
12
|
+
Custom: "custom",
|
|
13
|
+
} as const;
|
|
14
|
+
export type TimeEntryCreateRateType = ClosedEnum<
|
|
15
|
+
typeof TimeEntryCreateRateType
|
|
16
|
+
>;
|
|
17
|
+
|
|
18
|
+
export type TimeEntryCreate = {
|
|
19
|
+
/**
|
|
20
|
+
* UUID v4
|
|
21
|
+
*/
|
|
22
|
+
projectId: string;
|
|
23
|
+
/**
|
|
24
|
+
* UUID v4
|
|
25
|
+
*/
|
|
26
|
+
memberId: string;
|
|
27
|
+
/**
|
|
28
|
+
* UUID v4
|
|
29
|
+
*/
|
|
30
|
+
catalogItemId?: string | undefined;
|
|
31
|
+
date: Date;
|
|
32
|
+
hours: number;
|
|
33
|
+
description?: string | undefined;
|
|
34
|
+
billable?: boolean | undefined;
|
|
35
|
+
rateType?: TimeEntryCreateRateType | undefined;
|
|
36
|
+
customMultiplierName?: string | undefined;
|
|
37
|
+
rateOverride?: number | undefined;
|
|
38
|
+
discountPercent?: number | undefined;
|
|
39
|
+
workerName?: string | undefined;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
export const TimeEntryCreateRateType$outboundSchema: z.ZodMiniEnum<
|
|
44
|
+
typeof TimeEntryCreateRateType
|
|
45
|
+
> = z.enum(TimeEntryCreateRateType);
|
|
46
|
+
|
|
47
|
+
/** @internal */
|
|
48
|
+
export type TimeEntryCreate$Outbound = {
|
|
49
|
+
projectId: string;
|
|
50
|
+
memberId: string;
|
|
51
|
+
catalogItemId?: string | undefined;
|
|
52
|
+
date: string;
|
|
53
|
+
hours: number;
|
|
54
|
+
description?: string | undefined;
|
|
55
|
+
billable: boolean;
|
|
56
|
+
rateType: string;
|
|
57
|
+
customMultiplierName?: string | undefined;
|
|
58
|
+
rateOverride?: number | undefined;
|
|
59
|
+
discountPercent?: number | undefined;
|
|
60
|
+
workerName?: string | undefined;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/** @internal */
|
|
64
|
+
export const TimeEntryCreate$outboundSchema: z.ZodMiniType<
|
|
65
|
+
TimeEntryCreate$Outbound,
|
|
66
|
+
TimeEntryCreate
|
|
67
|
+
> = z.object({
|
|
68
|
+
projectId: z.string(),
|
|
69
|
+
memberId: z.string(),
|
|
70
|
+
catalogItemId: z.optional(z.string()),
|
|
71
|
+
date: z.pipe(
|
|
72
|
+
z.date(),
|
|
73
|
+
z.transform(v => v.toISOString().slice(0, "YYYY-MM-DD".length)),
|
|
74
|
+
),
|
|
75
|
+
hours: z.number(),
|
|
76
|
+
description: z.optional(z.string()),
|
|
77
|
+
billable: z._default(z.boolean(), true),
|
|
78
|
+
rateType: z._default(TimeEntryCreateRateType$outboundSchema, "standard"),
|
|
79
|
+
customMultiplierName: z.optional(z.string()),
|
|
80
|
+
rateOverride: z.optional(z.number()),
|
|
81
|
+
discountPercent: z.optional(z.number()),
|
|
82
|
+
workerName: z.optional(z.string()),
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
export function timeEntryCreateToJSON(
|
|
86
|
+
timeEntryCreate: TimeEntryCreate,
|
|
87
|
+
): string {
|
|
88
|
+
return JSON.stringify(TimeEntryCreate$outboundSchema.parse(timeEntryCreate));
|
|
89
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
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 TimeEntryUpdateRateType = {
|
|
9
|
+
Standard: "standard",
|
|
10
|
+
Overtime: "overtime",
|
|
11
|
+
Emergency: "emergency",
|
|
12
|
+
Custom: "custom",
|
|
13
|
+
} as const;
|
|
14
|
+
export type TimeEntryUpdateRateType = ClosedEnum<
|
|
15
|
+
typeof TimeEntryUpdateRateType
|
|
16
|
+
>;
|
|
17
|
+
|
|
18
|
+
export type TimeEntryUpdate = {
|
|
19
|
+
/**
|
|
20
|
+
* UUID v4
|
|
21
|
+
*/
|
|
22
|
+
projectId?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* UUID v4
|
|
25
|
+
*/
|
|
26
|
+
memberId?: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* UUID v4
|
|
29
|
+
*/
|
|
30
|
+
catalogItemId?: string | undefined;
|
|
31
|
+
date?: Date | undefined;
|
|
32
|
+
hours?: number | undefined;
|
|
33
|
+
description?: string | undefined;
|
|
34
|
+
billable?: boolean | undefined;
|
|
35
|
+
rateType?: TimeEntryUpdateRateType | undefined;
|
|
36
|
+
customMultiplierName?: string | undefined;
|
|
37
|
+
rateOverride?: number | undefined;
|
|
38
|
+
discountPercent?: number | undefined;
|
|
39
|
+
workerName?: string | undefined;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
export const TimeEntryUpdateRateType$outboundSchema: z.ZodMiniEnum<
|
|
44
|
+
typeof TimeEntryUpdateRateType
|
|
45
|
+
> = z.enum(TimeEntryUpdateRateType);
|
|
46
|
+
|
|
47
|
+
/** @internal */
|
|
48
|
+
export type TimeEntryUpdate$Outbound = {
|
|
49
|
+
projectId?: string | undefined;
|
|
50
|
+
memberId?: string | undefined;
|
|
51
|
+
catalogItemId?: string | undefined;
|
|
52
|
+
date?: string | undefined;
|
|
53
|
+
hours?: number | undefined;
|
|
54
|
+
description?: string | undefined;
|
|
55
|
+
billable: boolean;
|
|
56
|
+
rateType: string;
|
|
57
|
+
customMultiplierName?: string | undefined;
|
|
58
|
+
rateOverride?: number | undefined;
|
|
59
|
+
discountPercent?: number | undefined;
|
|
60
|
+
workerName?: string | undefined;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/** @internal */
|
|
64
|
+
export const TimeEntryUpdate$outboundSchema: z.ZodMiniType<
|
|
65
|
+
TimeEntryUpdate$Outbound,
|
|
66
|
+
TimeEntryUpdate
|
|
67
|
+
> = z.object({
|
|
68
|
+
projectId: z.optional(z.string()),
|
|
69
|
+
memberId: z.optional(z.string()),
|
|
70
|
+
catalogItemId: z.optional(z.string()),
|
|
71
|
+
date: z.optional(
|
|
72
|
+
z.pipe(
|
|
73
|
+
z.date(),
|
|
74
|
+
z.transform(v => v.toISOString().slice(0, "YYYY-MM-DD".length)),
|
|
75
|
+
),
|
|
76
|
+
),
|
|
77
|
+
hours: z.optional(z.number()),
|
|
78
|
+
description: z.optional(z.string()),
|
|
79
|
+
billable: z._default(z.boolean(), true),
|
|
80
|
+
rateType: z._default(TimeEntryUpdateRateType$outboundSchema, "standard"),
|
|
81
|
+
customMultiplierName: z.optional(z.string()),
|
|
82
|
+
rateOverride: z.optional(z.number()),
|
|
83
|
+
discountPercent: z.optional(z.number()),
|
|
84
|
+
workerName: z.optional(z.string()),
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
export function timeEntryUpdateToJSON(
|
|
88
|
+
timeEntryUpdate: TimeEntryUpdate,
|
|
89
|
+
): string {
|
|
90
|
+
return JSON.stringify(TimeEntryUpdate$outboundSchema.parse(timeEntryUpdate));
|
|
91
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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 TimeEntryRateType = {
|
|
14
|
+
Standard: "standard",
|
|
15
|
+
Overtime: "overtime",
|
|
16
|
+
Emergency: "emergency",
|
|
17
|
+
Custom: "custom",
|
|
18
|
+
} as const;
|
|
19
|
+
export type TimeEntryRateType = OpenEnum<typeof TimeEntryRateType>;
|
|
20
|
+
|
|
21
|
+
export type TimeEntry = {
|
|
22
|
+
/**
|
|
23
|
+
* UUID v4
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* UUID v4
|
|
28
|
+
*/
|
|
29
|
+
projectId: string;
|
|
30
|
+
/**
|
|
31
|
+
* UUID v4
|
|
32
|
+
*/
|
|
33
|
+
clientId: string;
|
|
34
|
+
/**
|
|
35
|
+
* UUID v4
|
|
36
|
+
*/
|
|
37
|
+
memberId: string;
|
|
38
|
+
/**
|
|
39
|
+
* UUID v4
|
|
40
|
+
*/
|
|
41
|
+
catalogItemId: string | null;
|
|
42
|
+
date: Date;
|
|
43
|
+
hours: number;
|
|
44
|
+
description: string | null;
|
|
45
|
+
billable: boolean;
|
|
46
|
+
rateType: TimeEntryRateType;
|
|
47
|
+
customMultiplierName: string | null;
|
|
48
|
+
rateOverride: number | null;
|
|
49
|
+
effectiveRate: number | null;
|
|
50
|
+
discountPercent: number | null;
|
|
51
|
+
workerName: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* ISO 8601 timestamp (UTC)
|
|
54
|
+
*/
|
|
55
|
+
createdAt: Date;
|
|
56
|
+
/**
|
|
57
|
+
* ISO 8601 timestamp (UTC)
|
|
58
|
+
*/
|
|
59
|
+
updatedAt: Date;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/** @internal */
|
|
63
|
+
export const TimeEntryRateType$inboundSchema: z.ZodMiniType<
|
|
64
|
+
TimeEntryRateType,
|
|
65
|
+
unknown
|
|
66
|
+
> = openEnums.inboundSchema(TimeEntryRateType);
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export const TimeEntry$inboundSchema: z.ZodMiniType<TimeEntry, unknown> = z
|
|
70
|
+
.object({
|
|
71
|
+
id: types.string(),
|
|
72
|
+
projectId: types.string(),
|
|
73
|
+
clientId: types.string(),
|
|
74
|
+
memberId: types.string(),
|
|
75
|
+
catalogItemId: types.nullable(types.string()),
|
|
76
|
+
date: types.date(),
|
|
77
|
+
hours: types.number(),
|
|
78
|
+
description: types.nullable(types.string()),
|
|
79
|
+
billable: types.boolean(),
|
|
80
|
+
rateType: TimeEntryRateType$inboundSchema,
|
|
81
|
+
customMultiplierName: types.nullable(types.string()),
|
|
82
|
+
rateOverride: types.nullable(types.number()),
|
|
83
|
+
effectiveRate: types.nullable(types.number()),
|
|
84
|
+
discountPercent: types.nullable(types.number()),
|
|
85
|
+
workerName: types.nullable(types.string()),
|
|
86
|
+
createdAt: types.date(),
|
|
87
|
+
updatedAt: types.date(),
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
export function timeEntryFromJSON(
|
|
91
|
+
jsonString: string,
|
|
92
|
+
): SafeParseResult<TimeEntry, SDKValidationError> {
|
|
93
|
+
return safeParse(
|
|
94
|
+
jsonString,
|
|
95
|
+
(x) => TimeEntry$inboundSchema.parse(JSON.parse(x)),
|
|
96
|
+
`Failed to parse 'TimeEntry' from JSON`,
|
|
97
|
+
);
|
|
98
|
+
}
|
|
@@ -0,0 +1,215 @@
|
|
|
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 TransactionCreateFrequency = {
|
|
9
|
+
OneTime: "one-time",
|
|
10
|
+
Monthly: "monthly",
|
|
11
|
+
Quarterly: "quarterly",
|
|
12
|
+
Annual: "annual",
|
|
13
|
+
} as const;
|
|
14
|
+
export type TransactionCreateFrequency = ClosedEnum<
|
|
15
|
+
typeof TransactionCreateFrequency
|
|
16
|
+
>;
|
|
17
|
+
|
|
18
|
+
export const TransactionCreateDirection = {
|
|
19
|
+
Cost: "cost",
|
|
20
|
+
Revenue: "revenue",
|
|
21
|
+
} as const;
|
|
22
|
+
export type TransactionCreateDirection = ClosedEnum<
|
|
23
|
+
typeof TransactionCreateDirection
|
|
24
|
+
>;
|
|
25
|
+
|
|
26
|
+
export const TransactionCreateMode = {
|
|
27
|
+
Each: "each",
|
|
28
|
+
Split: "split",
|
|
29
|
+
Global: "global",
|
|
30
|
+
} as const;
|
|
31
|
+
export type TransactionCreateMode = ClosedEnum<typeof TransactionCreateMode>;
|
|
32
|
+
|
|
33
|
+
export type TransactionCreateAssignment = {
|
|
34
|
+
/**
|
|
35
|
+
* UUID v4
|
|
36
|
+
*/
|
|
37
|
+
projectId?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* UUID v4
|
|
40
|
+
*/
|
|
41
|
+
clientId?: string | undefined;
|
|
42
|
+
amount?: number | undefined;
|
|
43
|
+
percentage?: number | undefined;
|
|
44
|
+
fixedAmount?: number | undefined;
|
|
45
|
+
startDate?: Date | undefined;
|
|
46
|
+
endDate?: Date | undefined;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export const TransactionCreateStatus = {
|
|
50
|
+
Active: "active",
|
|
51
|
+
Paused: "paused",
|
|
52
|
+
Archived: "archived",
|
|
53
|
+
} as const;
|
|
54
|
+
export type TransactionCreateStatus = ClosedEnum<
|
|
55
|
+
typeof TransactionCreateStatus
|
|
56
|
+
>;
|
|
57
|
+
|
|
58
|
+
export type TransactionCreate = {
|
|
59
|
+
name: string;
|
|
60
|
+
/**
|
|
61
|
+
* UUID v4
|
|
62
|
+
*/
|
|
63
|
+
catalogItemId?: string | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* UUID v4
|
|
66
|
+
*/
|
|
67
|
+
taxCategoryId?: string | undefined;
|
|
68
|
+
amount: number;
|
|
69
|
+
frequency?: TransactionCreateFrequency | undefined;
|
|
70
|
+
direction: TransactionCreateDirection;
|
|
71
|
+
mode?: TransactionCreateMode | undefined;
|
|
72
|
+
splitEvenly?: boolean | undefined;
|
|
73
|
+
assignments?: Array<TransactionCreateAssignment> | undefined;
|
|
74
|
+
passThrough?: boolean | undefined;
|
|
75
|
+
markupPercent?: number | undefined;
|
|
76
|
+
startDate?: Date | undefined;
|
|
77
|
+
endDate?: Date | undefined;
|
|
78
|
+
notes?: string | undefined;
|
|
79
|
+
vendorName?: string | undefined;
|
|
80
|
+
vendorEmail?: string | undefined;
|
|
81
|
+
vendorTaxId?: string | undefined;
|
|
82
|
+
status?: TransactionCreateStatus | undefined;
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
/** @internal */
|
|
86
|
+
export const TransactionCreateFrequency$outboundSchema: z.ZodMiniEnum<
|
|
87
|
+
typeof TransactionCreateFrequency
|
|
88
|
+
> = z.enum(TransactionCreateFrequency);
|
|
89
|
+
|
|
90
|
+
/** @internal */
|
|
91
|
+
export const TransactionCreateDirection$outboundSchema: z.ZodMiniEnum<
|
|
92
|
+
typeof TransactionCreateDirection
|
|
93
|
+
> = z.enum(TransactionCreateDirection);
|
|
94
|
+
|
|
95
|
+
/** @internal */
|
|
96
|
+
export const TransactionCreateMode$outboundSchema: z.ZodMiniEnum<
|
|
97
|
+
typeof TransactionCreateMode
|
|
98
|
+
> = z.enum(TransactionCreateMode);
|
|
99
|
+
|
|
100
|
+
/** @internal */
|
|
101
|
+
export type TransactionCreateAssignment$Outbound = {
|
|
102
|
+
projectId?: string | undefined;
|
|
103
|
+
clientId?: string | undefined;
|
|
104
|
+
amount?: number | undefined;
|
|
105
|
+
percentage?: number | undefined;
|
|
106
|
+
fixedAmount?: number | undefined;
|
|
107
|
+
startDate?: string | undefined;
|
|
108
|
+
endDate?: string | undefined;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
/** @internal */
|
|
112
|
+
export const TransactionCreateAssignment$outboundSchema: z.ZodMiniType<
|
|
113
|
+
TransactionCreateAssignment$Outbound,
|
|
114
|
+
TransactionCreateAssignment
|
|
115
|
+
> = z.object({
|
|
116
|
+
projectId: z.optional(z.string()),
|
|
117
|
+
clientId: z.optional(z.string()),
|
|
118
|
+
amount: z.optional(z.number()),
|
|
119
|
+
percentage: z.optional(z.number()),
|
|
120
|
+
fixedAmount: z.optional(z.number()),
|
|
121
|
+
startDate: z.optional(
|
|
122
|
+
z.pipe(
|
|
123
|
+
z.date(),
|
|
124
|
+
z.transform(v => v.toISOString().slice(0, "YYYY-MM-DD".length)),
|
|
125
|
+
),
|
|
126
|
+
),
|
|
127
|
+
endDate: z.optional(
|
|
128
|
+
z.pipe(
|
|
129
|
+
z.date(),
|
|
130
|
+
z.transform(v => v.toISOString().slice(0, "YYYY-MM-DD".length)),
|
|
131
|
+
),
|
|
132
|
+
),
|
|
133
|
+
});
|
|
134
|
+
|
|
135
|
+
export function transactionCreateAssignmentToJSON(
|
|
136
|
+
transactionCreateAssignment: TransactionCreateAssignment,
|
|
137
|
+
): string {
|
|
138
|
+
return JSON.stringify(
|
|
139
|
+
TransactionCreateAssignment$outboundSchema.parse(
|
|
140
|
+
transactionCreateAssignment,
|
|
141
|
+
),
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/** @internal */
|
|
146
|
+
export const TransactionCreateStatus$outboundSchema: z.ZodMiniEnum<
|
|
147
|
+
typeof TransactionCreateStatus
|
|
148
|
+
> = z.enum(TransactionCreateStatus);
|
|
149
|
+
|
|
150
|
+
/** @internal */
|
|
151
|
+
export type TransactionCreate$Outbound = {
|
|
152
|
+
name: string;
|
|
153
|
+
catalogItemId?: string | undefined;
|
|
154
|
+
taxCategoryId?: string | undefined;
|
|
155
|
+
amount: number;
|
|
156
|
+
frequency: string;
|
|
157
|
+
direction: string;
|
|
158
|
+
mode: string;
|
|
159
|
+
splitEvenly?: boolean | undefined;
|
|
160
|
+
assignments?: Array<TransactionCreateAssignment$Outbound> | undefined;
|
|
161
|
+
passThrough?: boolean | undefined;
|
|
162
|
+
markupPercent?: number | undefined;
|
|
163
|
+
startDate?: string | undefined;
|
|
164
|
+
endDate?: string | undefined;
|
|
165
|
+
notes?: string | undefined;
|
|
166
|
+
vendorName?: string | undefined;
|
|
167
|
+
vendorEmail?: string | undefined;
|
|
168
|
+
vendorTaxId?: string | undefined;
|
|
169
|
+
status: string;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
/** @internal */
|
|
173
|
+
export const TransactionCreate$outboundSchema: z.ZodMiniType<
|
|
174
|
+
TransactionCreate$Outbound,
|
|
175
|
+
TransactionCreate
|
|
176
|
+
> = z.object({
|
|
177
|
+
name: z.string(),
|
|
178
|
+
catalogItemId: z.optional(z.string()),
|
|
179
|
+
taxCategoryId: z.optional(z.string()),
|
|
180
|
+
amount: z.number(),
|
|
181
|
+
frequency: z._default(TransactionCreateFrequency$outboundSchema, "one-time"),
|
|
182
|
+
direction: TransactionCreateDirection$outboundSchema,
|
|
183
|
+
mode: z._default(TransactionCreateMode$outboundSchema, "each"),
|
|
184
|
+
splitEvenly: z.optional(z.boolean()),
|
|
185
|
+
assignments: z.optional(
|
|
186
|
+
z.array(z.lazy(() => TransactionCreateAssignment$outboundSchema)),
|
|
187
|
+
),
|
|
188
|
+
passThrough: z.optional(z.boolean()),
|
|
189
|
+
markupPercent: z.optional(z.number()),
|
|
190
|
+
startDate: z.optional(
|
|
191
|
+
z.pipe(
|
|
192
|
+
z.date(),
|
|
193
|
+
z.transform(v => v.toISOString().slice(0, "YYYY-MM-DD".length)),
|
|
194
|
+
),
|
|
195
|
+
),
|
|
196
|
+
endDate: z.optional(
|
|
197
|
+
z.pipe(
|
|
198
|
+
z.date(),
|
|
199
|
+
z.transform(v => v.toISOString().slice(0, "YYYY-MM-DD".length)),
|
|
200
|
+
),
|
|
201
|
+
),
|
|
202
|
+
notes: z.optional(z.string()),
|
|
203
|
+
vendorName: z.optional(z.string()),
|
|
204
|
+
vendorEmail: z.optional(z.string()),
|
|
205
|
+
vendorTaxId: z.optional(z.string()),
|
|
206
|
+
status: z._default(TransactionCreateStatus$outboundSchema, "active"),
|
|
207
|
+
});
|
|
208
|
+
|
|
209
|
+
export function transactionCreateToJSON(
|
|
210
|
+
transactionCreate: TransactionCreate,
|
|
211
|
+
): string {
|
|
212
|
+
return JSON.stringify(
|
|
213
|
+
TransactionCreate$outboundSchema.parse(transactionCreate),
|
|
214
|
+
);
|
|
215
|
+
}
|