@clientcasa/sdk 0.1.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +6 -4
- package/README.md +303 -232
- package/esm/funcs/{catalog-items-create-catalog-item.d.ts → calendar-events-create.d.ts} +5 -4
- package/esm/funcs/calendar-events-create.d.ts.map +1 -0
- package/esm/funcs/{calendar-events-create-calendar-event.js → calendar-events-create.js} +12 -6
- package/esm/funcs/calendar-events-create.js.map +1 -0
- package/esm/funcs/{calendar-events-delete-calendar-event.d.ts → calendar-events-delete.d.ts} +3 -2
- package/esm/funcs/calendar-events-delete.d.ts.map +1 -0
- package/esm/funcs/{calendar-events-delete-calendar-event.js → calendar-events-delete.js} +19 -5
- package/esm/funcs/calendar-events-delete.js.map +1 -0
- package/esm/funcs/{calendar-events-get-calendar-event.d.ts → calendar-events-get.d.ts} +3 -2
- package/esm/funcs/calendar-events-get.d.ts.map +1 -0
- package/esm/funcs/{calendar-events-get-calendar-event.js → calendar-events-get.js} +18 -4
- package/esm/funcs/calendar-events-get.js.map +1 -0
- package/esm/funcs/{calendar-events-list-calendar-events.d.ts → calendar-events-list.d.ts} +6 -2
- package/esm/funcs/calendar-events-list.d.ts.map +1 -0
- package/esm/funcs/{calendar-events-list-calendar-events.js → calendar-events-list.js} +56 -9
- package/esm/funcs/calendar-events-list.js.map +1 -0
- package/esm/funcs/{calendar-events-update-calendar-event.d.ts → calendar-events-update.d.ts} +3 -2
- package/esm/funcs/calendar-events-update.d.ts.map +1 -0
- package/esm/funcs/{calendar-events-update-calendar-event.js → calendar-events-update.js} +18 -4
- package/esm/funcs/calendar-events-update.js.map +1 -0
- package/esm/funcs/{payments-list-payments.d.ts → catalog-items-create.d.ts} +8 -3
- package/esm/funcs/catalog-items-create.d.ts.map +1 -0
- package/esm/funcs/{catalog-items-create-catalog-item.js → catalog-items-create.js} +12 -6
- package/esm/funcs/catalog-items-create.js.map +1 -0
- package/esm/funcs/{catalog-items-list-catalog-items.d.ts → catalog-items-delete.d.ts} +4 -3
- package/esm/funcs/catalog-items-delete.d.ts.map +1 -0
- package/esm/funcs/{catalog-items-delete-catalog-item.js → catalog-items-delete.js} +19 -5
- package/esm/funcs/catalog-items-delete.js.map +1 -0
- package/esm/funcs/catalog-items-get.d.ts +16 -0
- package/esm/funcs/catalog-items-get.d.ts.map +1 -0
- package/esm/funcs/{catalog-items-get-catalog-item.js → catalog-items-get.js} +18 -4
- package/esm/funcs/catalog-items-get.js.map +1 -0
- package/esm/funcs/catalog-items-list.d.ts +18 -0
- package/esm/funcs/catalog-items-list.d.ts.map +1 -0
- package/esm/funcs/{catalog-items-list-catalog-items.js → catalog-items-list.js} +56 -9
- package/esm/funcs/catalog-items-list.js.map +1 -0
- package/esm/funcs/{contacts-list-contacts.d.ts → catalog-items-update.d.ts} +5 -3
- package/esm/funcs/catalog-items-update.d.ts.map +1 -0
- package/esm/funcs/{catalog-items-update-catalog-item.js → catalog-items-update.js} +18 -4
- package/esm/funcs/catalog-items-update.js.map +1 -0
- package/esm/funcs/{clients-create-client.d.ts → clients-create.d.ts} +3 -2
- package/esm/funcs/clients-create.d.ts.map +1 -0
- package/esm/funcs/clients-create.js +93 -0
- package/esm/funcs/clients-create.js.map +1 -0
- package/esm/funcs/{milestones-delete-milestone.d.ts → clients-delete.d.ts} +4 -3
- package/esm/funcs/clients-delete.d.ts.map +1 -0
- package/esm/funcs/{clients-delete-client.js → clients-delete.js} +19 -5
- package/esm/funcs/clients-delete.js.map +1 -0
- package/esm/funcs/{clients-get-client.d.ts → clients-get.d.ts} +3 -2
- package/esm/funcs/clients-get.d.ts.map +1 -0
- package/esm/funcs/{clients-get-client.js → clients-get.js} +18 -4
- package/esm/funcs/clients-get.js.map +1 -0
- package/esm/funcs/{clients-list-clients.d.ts → clients-list.d.ts} +6 -2
- package/esm/funcs/clients-list.d.ts.map +1 -0
- package/esm/funcs/{clients-list-clients.js → clients-list.js} +56 -9
- package/esm/funcs/clients-list.js.map +1 -0
- package/esm/funcs/{clients-update-client.d.ts → clients-update.d.ts} +3 -2
- package/esm/funcs/clients-update.d.ts.map +1 -0
- package/esm/funcs/{clients-update-client.js → clients-update.js} +18 -4
- package/esm/funcs/clients-update.js.map +1 -0
- package/esm/funcs/{transactions-get-transaction.d.ts → contacts-create.d.ts} +4 -3
- package/esm/funcs/contacts-create.d.ts.map +1 -0
- package/esm/funcs/contacts-create.js +93 -0
- package/esm/funcs/contacts-create.js.map +1 -0
- package/esm/funcs/{milestones-get-milestone.d.ts → contacts-delete.d.ts} +4 -4
- package/esm/funcs/contacts-delete.d.ts.map +1 -0
- package/esm/funcs/{contacts-delete-contact.js → contacts-delete.js} +19 -5
- package/esm/funcs/contacts-delete.js.map +1 -0
- package/esm/funcs/{contacts-get-contact.d.ts → contacts-get.d.ts} +3 -2
- package/esm/funcs/contacts-get.d.ts.map +1 -0
- package/esm/funcs/{contacts-get-contact.js → contacts-get.js} +18 -4
- package/esm/funcs/contacts-get.js.map +1 -0
- package/esm/funcs/{clients-delete-client.d.ts → contacts-list.d.ts} +7 -3
- package/esm/funcs/contacts-list.d.ts.map +1 -0
- package/esm/funcs/{contacts-list-contacts.js → contacts-list.js} +56 -9
- package/esm/funcs/contacts-list.js.map +1 -0
- package/esm/funcs/{catalog-items-get-catalog-item.d.ts → contacts-update.d.ts} +4 -3
- package/esm/funcs/contacts-update.d.ts.map +1 -0
- package/esm/funcs/{contacts-update-contact.js → contacts-update.js} +18 -4
- package/esm/funcs/contacts-update.js.map +1 -0
- package/esm/funcs/{contracts-create-contract.d.ts → contracts-create.d.ts} +3 -2
- package/esm/funcs/contracts-create.d.ts.map +1 -0
- package/esm/funcs/{contracts-create-contract.js → contracts-create.js} +12 -6
- package/esm/funcs/contracts-create.js.map +1 -0
- package/esm/funcs/{contracts-delete-contract.d.ts → contracts-delete.d.ts} +3 -2
- package/esm/funcs/contracts-delete.d.ts.map +1 -0
- package/esm/funcs/{contracts-delete-contract.js → contracts-delete.js} +19 -5
- package/esm/funcs/contracts-delete.js.map +1 -0
- package/esm/funcs/{catalog-items-delete-catalog-item.d.ts → contracts-get.d.ts} +5 -3
- package/esm/funcs/contracts-get.d.ts.map +1 -0
- package/esm/funcs/{contracts-get-contract.js → contracts-get.js} +18 -4
- package/esm/funcs/contracts-get.js.map +1 -0
- package/esm/funcs/{contacts-delete-contact.d.ts → contracts-list.d.ts} +7 -3
- package/esm/funcs/contracts-list.d.ts.map +1 -0
- package/esm/funcs/{contracts-list-contracts.js → contracts-list.js} +56 -9
- package/esm/funcs/contracts-list.js.map +1 -0
- package/esm/funcs/{contracts-update-contract.d.ts → contracts-update.d.ts} +3 -2
- package/esm/funcs/contracts-update.d.ts.map +1 -0
- package/esm/funcs/{contracts-update-contract.js → contracts-update.js} +18 -4
- package/esm/funcs/contracts-update.js.map +1 -0
- package/esm/funcs/{inquiries-create-inquiry.d.ts → inquiries-create.d.ts} +3 -2
- package/esm/funcs/inquiries-create.d.ts.map +1 -0
- package/esm/funcs/{inquiries-create-inquiry.js → inquiries-create.js} +12 -6
- package/esm/funcs/inquiries-create.js.map +1 -0
- package/esm/funcs/{inquiries-delete-inquiry.d.ts → inquiries-delete.d.ts} +3 -2
- package/esm/funcs/inquiries-delete.d.ts.map +1 -0
- package/esm/funcs/{inquiries-delete-inquiry.js → inquiries-delete.js} +19 -5
- package/esm/funcs/inquiries-delete.js.map +1 -0
- package/esm/funcs/{inquiries-get-inquiry.d.ts → inquiries-get.d.ts} +3 -2
- package/esm/funcs/inquiries-get.d.ts.map +1 -0
- package/esm/funcs/{inquiries-get-inquiry.js → inquiries-get.js} +18 -4
- package/esm/funcs/inquiries-get.js.map +1 -0
- package/esm/funcs/inquiries-list.d.ts +18 -0
- package/esm/funcs/inquiries-list.d.ts.map +1 -0
- package/esm/funcs/{inquiries-list-inquiries.js → inquiries-list.js} +56 -9
- package/esm/funcs/inquiries-list.js.map +1 -0
- package/esm/funcs/{inquiries-update-inquiry.d.ts → inquiries-update.d.ts} +3 -2
- package/esm/funcs/inquiries-update.d.ts.map +1 -0
- package/esm/funcs/{inquiries-update-inquiry.js → inquiries-update.js} +18 -4
- package/esm/funcs/inquiries-update.js.map +1 -0
- package/esm/funcs/{invoices-create-invoice.d.ts → invoices-create.d.ts} +3 -2
- package/esm/funcs/invoices-create.d.ts.map +1 -0
- package/esm/funcs/{invoices-create-invoice.js → invoices-create.js} +12 -6
- package/esm/funcs/invoices-create.js.map +1 -0
- package/esm/funcs/{invoices-delete-invoice.d.ts → invoices-delete.d.ts} +3 -2
- package/esm/funcs/invoices-delete.d.ts.map +1 -0
- package/esm/funcs/{invoices-delete-invoice.js → invoices-delete.js} +19 -5
- package/esm/funcs/invoices-delete.js.map +1 -0
- package/esm/funcs/{invoices-get-invoice.d.ts → invoices-get.d.ts} +3 -2
- package/esm/funcs/invoices-get.d.ts.map +1 -0
- package/esm/funcs/{invoices-get-invoice.js → invoices-get.js} +18 -4
- package/esm/funcs/invoices-get.js.map +1 -0
- package/esm/funcs/invoices-list.d.ts +18 -0
- package/esm/funcs/invoices-list.d.ts.map +1 -0
- package/esm/funcs/{invoices-list-invoices.js → invoices-list.js} +56 -9
- package/esm/funcs/invoices-list.js.map +1 -0
- package/esm/funcs/{invoices-update-invoice.d.ts → invoices-update.d.ts} +3 -2
- package/esm/funcs/invoices-update.d.ts.map +1 -0
- package/esm/funcs/{invoices-update-invoice.js → invoices-update.js} +18 -4
- package/esm/funcs/invoices-update.js.map +1 -0
- package/esm/funcs/{milestones-create-milestone.d.ts → milestones-create.d.ts} +3 -2
- package/esm/funcs/milestones-create.d.ts.map +1 -0
- package/esm/funcs/{milestones-create-milestone.js → milestones-create.js} +12 -6
- package/esm/funcs/milestones-create.js.map +1 -0
- package/esm/funcs/milestones-delete.d.ts +15 -0
- package/esm/funcs/milestones-delete.d.ts.map +1 -0
- package/esm/funcs/{milestones-delete-milestone.js → milestones-delete.js} +19 -5
- package/esm/funcs/milestones-delete.js.map +1 -0
- package/esm/funcs/{milestones-update-milestone.d.ts → milestones-get.d.ts} +4 -3
- package/esm/funcs/milestones-get.d.ts.map +1 -0
- package/esm/funcs/{milestones-get-milestone.js → milestones-get.js} +18 -4
- package/esm/funcs/milestones-get.js.map +1 -0
- package/esm/funcs/milestones-list.d.ts +18 -0
- package/esm/funcs/milestones-list.d.ts.map +1 -0
- package/esm/funcs/{milestones-list-milestones.js → milestones-list.js} +56 -9
- package/esm/funcs/milestones-list.js.map +1 -0
- package/esm/funcs/{calendar-events-create-calendar-event.d.ts → milestones-update.d.ts} +4 -6
- package/esm/funcs/milestones-update.d.ts.map +1 -0
- package/esm/funcs/{milestones-update-milestone.js → milestones-update.js} +18 -4
- package/esm/funcs/milestones-update.js.map +1 -0
- package/esm/funcs/{payments-create-payment.d.ts → payments-create.d.ts} +3 -2
- package/esm/funcs/payments-create.d.ts.map +1 -0
- package/esm/funcs/{payments-create-payment.js → payments-create.js} +12 -6
- package/esm/funcs/payments-create.js.map +1 -0
- package/esm/funcs/{payments-get-payment.d.ts → payments-get.d.ts} +3 -2
- package/esm/funcs/payments-get.d.ts.map +1 -0
- package/esm/funcs/{payments-get-payment.js → payments-get.js} +18 -4
- package/esm/funcs/payments-get.js.map +1 -0
- package/esm/funcs/payments-list.d.ts +18 -0
- package/esm/funcs/payments-list.d.ts.map +1 -0
- package/esm/funcs/{payments-list-payments.js → payments-list.js} +56 -9
- package/esm/funcs/payments-list.js.map +1 -0
- package/esm/funcs/{payments-update-payment.d.ts → payments-update.d.ts} +3 -2
- package/esm/funcs/payments-update.d.ts.map +1 -0
- package/esm/funcs/{payments-update-payment.js → payments-update.js} +18 -4
- package/esm/funcs/payments-update.js.map +1 -0
- package/esm/funcs/{payouts-get-payout.d.ts → payouts-get.d.ts} +3 -2
- package/esm/funcs/payouts-get.d.ts.map +1 -0
- package/esm/funcs/{payouts-get-payout.js → payouts-get.js} +18 -4
- package/esm/funcs/payouts-get.js.map +1 -0
- package/esm/funcs/{payouts-list-payouts.d.ts → payouts-list.d.ts} +6 -2
- package/esm/funcs/payouts-list.d.ts.map +1 -0
- package/esm/funcs/{payouts-list-payouts.js → payouts-list.js} +56 -9
- package/esm/funcs/payouts-list.js.map +1 -0
- package/esm/funcs/{projects-create-project.d.ts → projects-create.d.ts} +3 -2
- package/esm/funcs/projects-create.d.ts.map +1 -0
- package/esm/funcs/projects-create.js +93 -0
- package/esm/funcs/projects-create.js.map +1 -0
- package/esm/funcs/{projects-delete-project.d.ts → projects-delete.d.ts} +3 -2
- package/esm/funcs/projects-delete.d.ts.map +1 -0
- package/esm/funcs/{projects-delete-project.js → projects-delete.js} +19 -5
- package/esm/funcs/projects-delete.js.map +1 -0
- package/esm/funcs/{time-entries-get-time-entry.d.ts → projects-get.d.ts} +4 -3
- package/esm/funcs/projects-get.d.ts.map +1 -0
- package/esm/funcs/{projects-get-project.js → projects-get.js} +18 -4
- package/esm/funcs/projects-get.js.map +1 -0
- package/esm/funcs/projects-list.d.ts +18 -0
- package/esm/funcs/projects-list.d.ts.map +1 -0
- package/esm/funcs/{projects-list-projects.js → projects-list.js} +56 -9
- package/esm/funcs/projects-list.js.map +1 -0
- package/esm/funcs/{projects-update-project.d.ts → projects-update.d.ts} +3 -2
- package/esm/funcs/projects-update.d.ts.map +1 -0
- package/esm/funcs/{projects-update-project.js → projects-update.js} +18 -4
- package/esm/funcs/projects-update.js.map +1 -0
- package/esm/funcs/{proposals-create-proposal.d.ts → proposals-create.d.ts} +3 -2
- package/esm/funcs/proposals-create.d.ts.map +1 -0
- package/esm/funcs/{proposals-create-proposal.js → proposals-create.js} +12 -6
- package/esm/funcs/proposals-create.js.map +1 -0
- package/esm/funcs/{proposals-delete-proposal.d.ts → proposals-delete.d.ts} +3 -2
- package/esm/funcs/proposals-delete.d.ts.map +1 -0
- package/esm/funcs/{proposals-delete-proposal.js → proposals-delete.js} +19 -5
- package/esm/funcs/proposals-delete.js.map +1 -0
- package/esm/funcs/{transactions-delete-transaction.d.ts → proposals-get.d.ts} +5 -6
- package/esm/funcs/proposals-get.d.ts.map +1 -0
- package/esm/funcs/{proposals-get-proposal.js → proposals-get.js} +18 -4
- package/esm/funcs/proposals-get.js.map +1 -0
- package/esm/funcs/proposals-list.d.ts +18 -0
- package/esm/funcs/proposals-list.d.ts.map +1 -0
- package/esm/funcs/{proposals-list-proposals.js → proposals-list.js} +56 -9
- package/esm/funcs/proposals-list.js.map +1 -0
- package/esm/funcs/{proposals-update-proposal.d.ts → proposals-update.d.ts} +3 -2
- package/esm/funcs/proposals-update.d.ts.map +1 -0
- package/esm/funcs/{proposals-update-proposal.js → proposals-update.js} +18 -4
- package/esm/funcs/proposals-update.js.map +1 -0
- package/esm/funcs/{catalog-items-update-catalog-item.d.ts → time-entries-create.d.ts} +4 -3
- package/esm/funcs/time-entries-create.d.ts.map +1 -0
- package/esm/funcs/time-entries-create.js +93 -0
- package/esm/funcs/time-entries-create.js.map +1 -0
- package/esm/funcs/{time-entries-delete-time-entry.d.ts → time-entries-delete.d.ts} +3 -2
- package/esm/funcs/time-entries-delete.d.ts.map +1 -0
- package/esm/funcs/{time-entries-delete-time-entry.js → time-entries-delete.js} +19 -5
- package/esm/funcs/time-entries-delete.js.map +1 -0
- package/esm/funcs/time-entries-get.d.ts +16 -0
- package/esm/funcs/time-entries-get.d.ts.map +1 -0
- package/esm/funcs/{time-entries-get-time-entry.js → time-entries-get.js} +18 -4
- package/esm/funcs/time-entries-get.js.map +1 -0
- package/esm/funcs/{time-entries-list-time-entries.d.ts → time-entries-list.d.ts} +6 -2
- package/esm/funcs/time-entries-list.d.ts.map +1 -0
- package/esm/funcs/{time-entries-list-time-entries.js → time-entries-list.js} +56 -9
- package/esm/funcs/time-entries-list.js.map +1 -0
- package/esm/funcs/{transactions-update-transaction.d.ts → time-entries-update.d.ts} +5 -4
- package/esm/funcs/time-entries-update.d.ts.map +1 -0
- package/esm/funcs/{time-entries-update-time-entry.js → time-entries-update.js} +18 -4
- package/esm/funcs/time-entries-update.js.map +1 -0
- package/esm/funcs/{invoices-list-invoices.d.ts → transactions-create.d.ts} +5 -3
- package/esm/funcs/transactions-create.d.ts.map +1 -0
- package/esm/funcs/transactions-create.js +93 -0
- package/esm/funcs/transactions-create.js.map +1 -0
- package/esm/funcs/{webhooks-update-webhook.d.ts → transactions-delete.d.ts} +5 -5
- package/esm/funcs/transactions-delete.d.ts.map +1 -0
- package/esm/funcs/{transactions-delete-transaction.js → transactions-delete.js} +19 -5
- package/esm/funcs/transactions-delete.js.map +1 -0
- package/esm/funcs/transactions-get.d.ts +16 -0
- package/esm/funcs/transactions-get.d.ts.map +1 -0
- package/esm/funcs/{transactions-get-transaction.js → transactions-get.js} +18 -4
- package/esm/funcs/transactions-get.js.map +1 -0
- package/esm/funcs/{transactions-list-transactions.d.ts → transactions-list.d.ts} +6 -2
- package/esm/funcs/transactions-list.d.ts.map +1 -0
- package/esm/funcs/{transactions-list-transactions.js → transactions-list.js} +56 -9
- package/esm/funcs/transactions-list.js.map +1 -0
- package/esm/funcs/{projects-list-projects.d.ts → transactions-update.d.ts} +8 -3
- package/esm/funcs/transactions-update.d.ts.map +1 -0
- package/esm/funcs/{transactions-update-transaction.js → transactions-update.js} +18 -4
- package/esm/funcs/transactions-update.js.map +1 -0
- package/esm/funcs/{webhooks-create-webhook.d.ts → webhooks-create.d.ts} +3 -2
- package/esm/funcs/webhooks-create.d.ts.map +1 -0
- package/esm/funcs/{webhooks-create-webhook.js → webhooks-create.js} +12 -6
- package/esm/funcs/webhooks-create.js.map +1 -0
- package/esm/funcs/{webhooks-delete-webhook.d.ts → webhooks-delete.d.ts} +3 -2
- package/esm/funcs/webhooks-delete.d.ts.map +1 -0
- package/esm/funcs/{webhooks-delete-webhook.js → webhooks-delete.js} +19 -5
- package/esm/funcs/webhooks-delete.js.map +1 -0
- package/esm/funcs/{webhooks-get-webhook.d.ts → webhooks-get.d.ts} +3 -2
- package/esm/funcs/webhooks-get.d.ts.map +1 -0
- package/esm/funcs/{webhooks-get-webhook.js → webhooks-get.js} +18 -4
- package/esm/funcs/webhooks-get.js.map +1 -0
- package/esm/funcs/webhooks-list.d.ts +18 -0
- package/esm/funcs/webhooks-list.d.ts.map +1 -0
- package/esm/funcs/{webhooks-list-webhooks.js → webhooks-list.js} +56 -9
- package/esm/funcs/webhooks-list.js.map +1 -0
- package/esm/funcs/{time-entries-update-time-entry.d.ts → webhooks-update.d.ts} +5 -4
- package/esm/funcs/webhooks-update.d.ts.map +1 -0
- package/esm/funcs/{webhooks-update-webhook.js → webhooks-update.js} +18 -4
- package/esm/funcs/webhooks-update.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/models/api-error.d.ts +28 -0
- package/esm/models/api-error.d.ts.map +1 -0
- package/esm/models/api-error.js +30 -0
- package/esm/models/api-error.js.map +1 -0
- package/esm/models/calendar-event-list.d.ts +13 -0
- package/esm/models/calendar-event-list.d.ts.map +1 -0
- package/esm/models/calendar-event-list.js +16 -0
- package/esm/models/calendar-event-list.js.map +1 -0
- package/esm/models/catalog-item-create.d.ts +10 -0
- package/esm/models/catalog-item-create.d.ts.map +1 -1
- package/esm/models/catalog-item-create.js +8 -0
- package/esm/models/catalog-item-create.js.map +1 -1
- package/esm/models/catalog-item-list.d.ts +13 -0
- package/esm/models/catalog-item-list.d.ts.map +1 -0
- package/esm/models/catalog-item-list.js +16 -0
- package/esm/models/catalog-item-list.js.map +1 -0
- package/esm/models/catalog-item-update.d.ts +10 -0
- package/esm/models/catalog-item-update.d.ts.map +1 -1
- package/esm/models/catalog-item-update.js +8 -0
- package/esm/models/catalog-item-update.js.map +1 -1
- package/esm/models/catalog-item.d.ts +9 -0
- package/esm/models/catalog-item.d.ts.map +1 -1
- package/esm/models/catalog-item.js +8 -0
- package/esm/models/catalog-item.js.map +1 -1
- package/esm/models/client-list.d.ts +13 -0
- package/esm/models/client-list.d.ts.map +1 -0
- package/esm/models/client-list.js +17 -0
- package/esm/models/client-list.js.map +1 -0
- package/esm/models/contact-list.d.ts +13 -0
- package/esm/models/contact-list.d.ts.map +1 -0
- package/esm/models/contact-list.js +17 -0
- package/esm/models/contact-list.js.map +1 -0
- package/esm/models/contract-list.d.ts +13 -0
- package/esm/models/contract-list.d.ts.map +1 -0
- package/esm/models/contract-list.js +16 -0
- package/esm/models/contract-list.js.map +1 -0
- package/esm/models/errors/api-error.d.ts +19 -0
- package/esm/models/errors/api-error.d.ts.map +1 -0
- package/esm/models/errors/api-error.js +33 -0
- package/esm/models/errors/api-error.js.map +1 -0
- package/esm/models/errors/index.d.ts +1 -0
- package/esm/models/errors/index.d.ts.map +1 -1
- package/esm/models/errors/index.js +1 -0
- package/esm/models/errors/index.js.map +1 -1
- package/esm/models/index.d.ts +16 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +16 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/inquiry-list.d.ts +13 -0
- package/esm/models/inquiry-list.d.ts.map +1 -0
- package/esm/models/inquiry-list.js +17 -0
- package/esm/models/inquiry-list.js.map +1 -0
- package/esm/models/invoice-list.d.ts +13 -0
- package/esm/models/invoice-list.d.ts.map +1 -0
- package/esm/models/invoice-list.js +17 -0
- package/esm/models/invoice-list.js.map +1 -0
- package/esm/models/milestone-list.d.ts +13 -0
- package/esm/models/milestone-list.d.ts.map +1 -0
- package/esm/models/milestone-list.js +16 -0
- package/esm/models/milestone-list.js.map +1 -0
- package/esm/models/operations/create-calendar-event.d.ts +16 -0
- package/esm/models/operations/create-calendar-event.d.ts.map +1 -1
- package/esm/models/operations/create-calendar-event.js +14 -0
- package/esm/models/operations/create-calendar-event.js.map +1 -1
- package/esm/models/operations/create-catalog-item.d.ts +16 -0
- package/esm/models/operations/create-catalog-item.d.ts.map +1 -1
- package/esm/models/operations/create-catalog-item.js +14 -0
- package/esm/models/operations/create-catalog-item.js.map +1 -1
- package/esm/models/operations/create-client.d.ts +16 -0
- package/esm/models/operations/create-client.d.ts.map +1 -1
- package/esm/models/operations/create-client.js +14 -0
- package/esm/models/operations/create-client.js.map +1 -1
- package/esm/models/operations/create-contact.d.ts +16 -0
- package/esm/models/operations/create-contact.d.ts.map +1 -1
- package/esm/models/operations/create-contact.js +14 -0
- package/esm/models/operations/create-contact.js.map +1 -1
- package/esm/models/operations/create-contract.d.ts +16 -0
- package/esm/models/operations/create-contract.d.ts.map +1 -1
- package/esm/models/operations/create-contract.js +14 -0
- package/esm/models/operations/create-contract.js.map +1 -1
- package/esm/models/operations/create-inquiry.d.ts +16 -0
- package/esm/models/operations/create-inquiry.d.ts.map +1 -1
- package/esm/models/operations/create-inquiry.js +14 -0
- package/esm/models/operations/create-inquiry.js.map +1 -1
- package/esm/models/operations/create-invoice.d.ts +16 -0
- package/esm/models/operations/create-invoice.d.ts.map +1 -1
- package/esm/models/operations/create-invoice.js +14 -0
- package/esm/models/operations/create-invoice.js.map +1 -1
- package/esm/models/operations/create-milestone.d.ts +16 -0
- package/esm/models/operations/create-milestone.d.ts.map +1 -1
- package/esm/models/operations/create-milestone.js +14 -0
- package/esm/models/operations/create-milestone.js.map +1 -1
- package/esm/models/operations/create-payment.d.ts +16 -0
- package/esm/models/operations/create-payment.d.ts.map +1 -1
- package/esm/models/operations/create-payment.js +14 -0
- package/esm/models/operations/create-payment.js.map +1 -1
- package/esm/models/operations/create-project.d.ts +16 -0
- package/esm/models/operations/create-project.d.ts.map +1 -1
- package/esm/models/operations/create-project.js +14 -0
- package/esm/models/operations/create-project.js.map +1 -1
- package/esm/models/operations/create-proposal.d.ts +16 -0
- package/esm/models/operations/create-proposal.d.ts.map +1 -1
- package/esm/models/operations/create-proposal.js +14 -0
- package/esm/models/operations/create-proposal.js.map +1 -1
- package/esm/models/operations/create-time-entry.d.ts +16 -0
- package/esm/models/operations/create-time-entry.d.ts.map +1 -1
- package/esm/models/operations/create-time-entry.js +14 -0
- package/esm/models/operations/create-time-entry.js.map +1 -1
- package/esm/models/operations/create-transaction.d.ts +16 -0
- package/esm/models/operations/create-transaction.d.ts.map +1 -1
- package/esm/models/operations/create-transaction.js +14 -0
- package/esm/models/operations/create-transaction.js.map +1 -1
- package/esm/models/operations/create-webhook.d.ts +16 -0
- package/esm/models/operations/create-webhook.d.ts.map +1 -1
- package/esm/models/operations/create-webhook.js +14 -0
- package/esm/models/operations/create-webhook.js.map +1 -1
- package/esm/models/operations/list-calendar-events.d.ts +1 -5
- package/esm/models/operations/list-calendar-events.d.ts.map +1 -1
- package/esm/models/operations/list-calendar-events.js +8 -4
- package/esm/models/operations/list-calendar-events.js.map +1 -1
- package/esm/models/operations/list-catalog-items.d.ts +1 -5
- package/esm/models/operations/list-catalog-items.d.ts.map +1 -1
- package/esm/models/operations/list-catalog-items.js +8 -4
- package/esm/models/operations/list-catalog-items.js.map +1 -1
- package/esm/models/operations/list-clients.d.ts +1 -5
- package/esm/models/operations/list-clients.d.ts.map +1 -1
- package/esm/models/operations/list-clients.js +8 -4
- package/esm/models/operations/list-clients.js.map +1 -1
- package/esm/models/operations/list-contacts.d.ts +1 -5
- package/esm/models/operations/list-contacts.d.ts.map +1 -1
- package/esm/models/operations/list-contacts.js +8 -4
- package/esm/models/operations/list-contacts.js.map +1 -1
- package/esm/models/operations/list-contracts.d.ts +1 -5
- package/esm/models/operations/list-contracts.d.ts.map +1 -1
- package/esm/models/operations/list-contracts.js +8 -4
- package/esm/models/operations/list-contracts.js.map +1 -1
- package/esm/models/operations/list-inquiries.d.ts +1 -5
- package/esm/models/operations/list-inquiries.d.ts.map +1 -1
- package/esm/models/operations/list-inquiries.js +8 -4
- package/esm/models/operations/list-inquiries.js.map +1 -1
- package/esm/models/operations/list-invoices.d.ts +1 -5
- package/esm/models/operations/list-invoices.d.ts.map +1 -1
- package/esm/models/operations/list-invoices.js +8 -4
- package/esm/models/operations/list-invoices.js.map +1 -1
- package/esm/models/operations/list-milestones.d.ts +1 -5
- package/esm/models/operations/list-milestones.d.ts.map +1 -1
- package/esm/models/operations/list-milestones.js +8 -4
- package/esm/models/operations/list-milestones.js.map +1 -1
- package/esm/models/operations/list-payments.d.ts +1 -5
- package/esm/models/operations/list-payments.d.ts.map +1 -1
- package/esm/models/operations/list-payments.js +8 -4
- package/esm/models/operations/list-payments.js.map +1 -1
- package/esm/models/operations/list-payouts.d.ts +1 -5
- package/esm/models/operations/list-payouts.d.ts.map +1 -1
- package/esm/models/operations/list-payouts.js +8 -4
- package/esm/models/operations/list-payouts.js.map +1 -1
- package/esm/models/operations/list-projects.d.ts +1 -5
- package/esm/models/operations/list-projects.d.ts.map +1 -1
- package/esm/models/operations/list-projects.js +8 -4
- package/esm/models/operations/list-projects.js.map +1 -1
- package/esm/models/operations/list-proposals.d.ts +1 -5
- package/esm/models/operations/list-proposals.d.ts.map +1 -1
- package/esm/models/operations/list-proposals.js +8 -4
- package/esm/models/operations/list-proposals.js.map +1 -1
- package/esm/models/operations/list-time-entries.d.ts +1 -5
- package/esm/models/operations/list-time-entries.d.ts.map +1 -1
- package/esm/models/operations/list-time-entries.js +8 -4
- package/esm/models/operations/list-time-entries.js.map +1 -1
- package/esm/models/operations/list-transactions.d.ts +1 -5
- package/esm/models/operations/list-transactions.d.ts.map +1 -1
- package/esm/models/operations/list-transactions.js +8 -4
- package/esm/models/operations/list-transactions.js.map +1 -1
- package/esm/models/operations/list-webhooks.d.ts +1 -5
- package/esm/models/operations/list-webhooks.d.ts.map +1 -1
- package/esm/models/operations/list-webhooks.js +8 -4
- package/esm/models/operations/list-webhooks.js.map +1 -1
- package/esm/models/payment-list.d.ts +13 -0
- package/esm/models/payment-list.d.ts.map +1 -0
- package/esm/models/payment-list.js +17 -0
- package/esm/models/payment-list.js.map +1 -0
- package/esm/models/payout-list.d.ts +13 -0
- package/esm/models/payout-list.d.ts.map +1 -0
- package/esm/models/payout-list.js +17 -0
- package/esm/models/payout-list.js.map +1 -0
- package/esm/models/project-list.d.ts +13 -0
- package/esm/models/project-list.d.ts.map +1 -0
- package/esm/models/project-list.js +17 -0
- package/esm/models/project-list.js.map +1 -0
- package/esm/models/proposal-list.d.ts +13 -0
- package/esm/models/proposal-list.d.ts.map +1 -0
- package/esm/models/proposal-list.js +16 -0
- package/esm/models/proposal-list.js.map +1 -0
- package/esm/models/time-entry-create.d.ts +0 -2
- package/esm/models/time-entry-create.d.ts.map +1 -1
- package/esm/models/time-entry-create.js +0 -1
- package/esm/models/time-entry-create.js.map +1 -1
- package/esm/models/time-entry-list.d.ts +13 -0
- package/esm/models/time-entry-list.d.ts.map +1 -0
- package/esm/models/time-entry-list.js +16 -0
- package/esm/models/time-entry-list.js.map +1 -0
- package/esm/models/time-entry-update.d.ts +0 -2
- package/esm/models/time-entry-update.d.ts.map +1 -1
- package/esm/models/time-entry-update.js +0 -1
- package/esm/models/time-entry-update.js.map +1 -1
- package/esm/models/time-entry.d.ts +0 -1
- package/esm/models/time-entry.d.ts.map +1 -1
- package/esm/models/time-entry.js +0 -1
- package/esm/models/time-entry.js.map +1 -1
- package/esm/models/transaction-list.d.ts +13 -0
- package/esm/models/transaction-list.d.ts.map +1 -0
- package/esm/models/transaction-list.js +16 -0
- package/esm/models/transaction-list.js.map +1 -0
- package/esm/models/transaction.d.ts +1 -1
- package/esm/models/transaction.d.ts.map +1 -1
- package/esm/models/transaction.js +1 -1
- package/esm/models/transaction.js.map +1 -1
- package/esm/models/webhook-list.d.ts +13 -0
- package/esm/models/webhook-list.d.ts.map +1 -0
- package/esm/models/webhook-list.js +17 -0
- package/esm/models/webhook-list.js.map +1 -0
- package/esm/sdk/calendar-events.d.ts +8 -5
- package/esm/sdk/calendar-events.d.ts.map +1 -1
- package/esm/sdk/calendar-events.js +16 -15
- package/esm/sdk/calendar-events.js.map +1 -1
- package/esm/sdk/catalog-items.d.ts +8 -5
- package/esm/sdk/catalog-items.d.ts.map +1 -1
- package/esm/sdk/catalog-items.js +16 -15
- package/esm/sdk/catalog-items.js.map +1 -1
- package/esm/sdk/clients.d.ts +8 -5
- package/esm/sdk/clients.d.ts.map +1 -1
- package/esm/sdk/clients.js +16 -15
- package/esm/sdk/clients.js.map +1 -1
- package/esm/sdk/contacts.d.ts +8 -5
- package/esm/sdk/contacts.d.ts.map +1 -1
- package/esm/sdk/contacts.js +16 -15
- package/esm/sdk/contacts.js.map +1 -1
- package/esm/sdk/contracts.d.ts +8 -5
- package/esm/sdk/contracts.d.ts.map +1 -1
- package/esm/sdk/contracts.js +16 -15
- package/esm/sdk/contracts.js.map +1 -1
- package/esm/sdk/inquiries.d.ts +8 -5
- package/esm/sdk/inquiries.d.ts.map +1 -1
- package/esm/sdk/inquiries.js +16 -15
- package/esm/sdk/inquiries.js.map +1 -1
- package/esm/sdk/invoices.d.ts +8 -5
- package/esm/sdk/invoices.d.ts.map +1 -1
- package/esm/sdk/invoices.js +16 -15
- package/esm/sdk/invoices.js.map +1 -1
- package/esm/sdk/milestones.d.ts +8 -5
- package/esm/sdk/milestones.d.ts.map +1 -1
- package/esm/sdk/milestones.js +16 -15
- package/esm/sdk/milestones.js.map +1 -1
- package/esm/sdk/payments.d.ts +7 -4
- package/esm/sdk/payments.d.ts.map +1 -1
- package/esm/sdk/payments.js +13 -12
- package/esm/sdk/payments.js.map +1 -1
- package/esm/sdk/payouts.d.ts +5 -2
- package/esm/sdk/payouts.d.ts.map +1 -1
- package/esm/sdk/payouts.js +7 -6
- package/esm/sdk/payouts.js.map +1 -1
- package/esm/sdk/projects.d.ts +8 -5
- package/esm/sdk/projects.d.ts.map +1 -1
- package/esm/sdk/projects.js +16 -15
- package/esm/sdk/projects.js.map +1 -1
- package/esm/sdk/proposals.d.ts +8 -5
- package/esm/sdk/proposals.d.ts.map +1 -1
- package/esm/sdk/proposals.js +16 -15
- package/esm/sdk/proposals.js.map +1 -1
- package/esm/sdk/time-entries.d.ts +8 -5
- package/esm/sdk/time-entries.d.ts.map +1 -1
- package/esm/sdk/time-entries.js +16 -15
- package/esm/sdk/time-entries.js.map +1 -1
- package/esm/sdk/transactions.d.ts +8 -5
- package/esm/sdk/transactions.d.ts.map +1 -1
- package/esm/sdk/transactions.js +16 -15
- package/esm/sdk/transactions.js.map +1 -1
- package/esm/sdk/webhooks.d.ts +8 -5
- package/esm/sdk/webhooks.d.ts.map +1 -1
- package/esm/sdk/webhooks.js +16 -15
- package/esm/sdk/webhooks.js.map +1 -1
- package/esm/types/async.d.ts.map +1 -1
- package/esm/types/async.js +6 -6
- package/esm/types/async.js.map +1 -1
- package/esm/types/primitives.d.ts +0 -2
- package/esm/types/primitives.d.ts.map +1 -1
- package/esm/types/primitives.js +0 -22
- package/esm/types/primitives.js.map +1 -1
- package/examples/{clientsListClients.example.ts → clientsList.example.ts} +5 -3
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{calendar-events-create-calendar-event.ts → calendar-events-create.ts} +23 -7
- package/src/funcs/{calendar-events-delete-calendar-event.ts → calendar-events-delete.ts} +24 -4
- package/src/funcs/{calendar-events-get-calendar-event.ts → calendar-events-get.ts} +23 -3
- package/src/funcs/{calendar-events-list-calendar-events.ts → calendar-events-list.ts} +122 -30
- package/src/funcs/{calendar-events-update-calendar-event.ts → calendar-events-update.ts} +23 -3
- package/src/funcs/{catalog-items-create-catalog-item.ts → catalog-items-create.ts} +23 -7
- package/src/funcs/{catalog-items-delete-catalog-item.ts → catalog-items-delete.ts} +24 -4
- package/src/funcs/{catalog-items-get-catalog-item.ts → catalog-items-get.ts} +23 -3
- package/src/funcs/{catalog-items-list-catalog-items.ts → catalog-items-list.ts} +122 -30
- package/src/funcs/{catalog-items-update-catalog-item.ts → catalog-items-update.ts} +23 -3
- package/src/funcs/{clients-create-client.ts → clients-create.ts} +22 -7
- package/src/funcs/{clients-delete-client.ts → clients-delete.ts} +24 -4
- package/src/funcs/{clients-get-client.ts → clients-get.ts} +23 -3
- package/src/funcs/{clients-list-clients.ts → clients-list.ts} +122 -30
- package/src/funcs/{clients-update-client.ts → clients-update.ts} +23 -3
- package/src/funcs/{contacts-create-contact.ts → contacts-create.ts} +22 -7
- package/src/funcs/{contacts-delete-contact.ts → contacts-delete.ts} +24 -4
- package/src/funcs/{contacts-get-contact.ts → contacts-get.ts} +23 -3
- package/src/funcs/{contacts-list-contacts.ts → contacts-list.ts} +122 -30
- package/src/funcs/{contacts-update-contact.ts → contacts-update.ts} +23 -3
- package/src/funcs/{contracts-create-contract.ts → contracts-create.ts} +22 -7
- package/src/funcs/{contracts-delete-contract.ts → contracts-delete.ts} +24 -4
- package/src/funcs/{contracts-get-contract.ts → contracts-get.ts} +23 -3
- package/src/funcs/{contracts-list-contracts.ts → contracts-list.ts} +122 -30
- package/src/funcs/{contracts-update-contract.ts → contracts-update.ts} +23 -3
- package/src/funcs/{inquiries-create-inquiry.ts → inquiries-create.ts} +22 -7
- package/src/funcs/{inquiries-delete-inquiry.ts → inquiries-delete.ts} +24 -4
- package/src/funcs/{inquiries-get-inquiry.ts → inquiries-get.ts} +23 -3
- package/src/funcs/{inquiries-list-inquiries.ts → inquiries-list.ts} +122 -30
- package/src/funcs/{inquiries-update-inquiry.ts → inquiries-update.ts} +23 -3
- package/src/funcs/{invoices-create-invoice.ts → invoices-create.ts} +22 -7
- package/src/funcs/{invoices-delete-invoice.ts → invoices-delete.ts} +24 -4
- package/src/funcs/{invoices-get-invoice.ts → invoices-get.ts} +23 -3
- package/src/funcs/{invoices-list-invoices.ts → invoices-list.ts} +122 -30
- package/src/funcs/{invoices-update-invoice.ts → invoices-update.ts} +23 -3
- package/src/funcs/{milestones-create-milestone.ts → milestones-create.ts} +22 -7
- package/src/funcs/{milestones-delete-milestone.ts → milestones-delete.ts} +24 -4
- package/src/funcs/{milestones-get-milestone.ts → milestones-get.ts} +23 -3
- package/src/funcs/{milestones-list-milestones.ts → milestones-list.ts} +122 -30
- package/src/funcs/{milestones-update-milestone.ts → milestones-update.ts} +23 -3
- package/src/funcs/{payments-create-payment.ts → payments-create.ts} +22 -7
- package/src/funcs/{payments-get-payment.ts → payments-get.ts} +23 -3
- package/src/funcs/{payments-list-payments.ts → payments-list.ts} +122 -30
- package/src/funcs/{payments-update-payment.ts → payments-update.ts} +23 -3
- package/src/funcs/{payouts-get-payout.ts → payouts-get.ts} +23 -3
- package/src/funcs/{payouts-list-payouts.ts → payouts-list.ts} +122 -30
- package/src/funcs/{projects-create-project.ts → projects-create.ts} +22 -7
- package/src/funcs/{projects-delete-project.ts → projects-delete.ts} +24 -4
- package/src/funcs/{projects-get-project.ts → projects-get.ts} +23 -3
- package/src/funcs/{projects-list-projects.ts → projects-list.ts} +122 -30
- package/src/funcs/{projects-update-project.ts → projects-update.ts} +23 -3
- package/src/funcs/{proposals-create-proposal.ts → proposals-create.ts} +22 -7
- package/src/funcs/{proposals-delete-proposal.ts → proposals-delete.ts} +24 -4
- package/src/funcs/{proposals-get-proposal.ts → proposals-get.ts} +23 -3
- package/src/funcs/{proposals-list-proposals.ts → proposals-list.ts} +122 -30
- package/src/funcs/{proposals-update-proposal.ts → proposals-update.ts} +23 -3
- package/src/funcs/{time-entries-create-time-entry.ts → time-entries-create.ts} +22 -7
- package/src/funcs/{time-entries-delete-time-entry.ts → time-entries-delete.ts} +24 -4
- package/src/funcs/{time-entries-get-time-entry.ts → time-entries-get.ts} +23 -3
- package/src/funcs/{time-entries-list-time-entries.ts → time-entries-list.ts} +122 -30
- package/src/funcs/{time-entries-update-time-entry.ts → time-entries-update.ts} +23 -3
- package/src/funcs/{transactions-create-transaction.ts → transactions-create.ts} +23 -7
- package/src/funcs/{transactions-delete-transaction.ts → transactions-delete.ts} +24 -4
- package/src/funcs/{transactions-get-transaction.ts → transactions-get.ts} +23 -3
- package/src/funcs/{transactions-list-transactions.ts → transactions-list.ts} +122 -30
- package/src/funcs/{transactions-update-transaction.ts → transactions-update.ts} +23 -3
- package/src/funcs/{webhooks-create-webhook.ts → webhooks-create.ts} +22 -7
- package/src/funcs/{webhooks-delete-webhook.ts → webhooks-delete.ts} +24 -4
- package/src/funcs/{webhooks-get-webhook.ts → webhooks-get.ts} +23 -3
- package/src/funcs/{webhooks-list-webhooks.ts → webhooks-list.ts} +122 -30
- package/src/funcs/{webhooks-update-webhook.ts → webhooks-update.ts} +23 -3
- package/src/lib/config.ts +3 -3
- package/src/models/api-error.ts +51 -0
- package/src/models/calendar-event-list.ts +40 -0
- package/src/models/catalog-item-create.ts +17 -0
- package/src/models/catalog-item-list.ts +37 -0
- package/src/models/catalog-item-update.ts +17 -0
- package/src/models/catalog-item.ts +15 -0
- package/src/models/client-list.ts +35 -0
- package/src/models/contact-list.ts +35 -0
- package/src/models/contract-list.ts +35 -0
- package/src/models/errors/api-error.ts +48 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/index.ts +16 -0
- package/src/models/inquiry-list.ts +35 -0
- package/src/models/invoice-list.ts +35 -0
- package/src/models/milestone-list.ts +37 -0
- package/src/models/operations/create-calendar-event.ts +40 -0
- package/src/models/operations/create-catalog-item.ts +40 -0
- package/src/models/operations/create-client.ts +40 -0
- package/src/models/operations/create-contact.ts +40 -0
- package/src/models/operations/create-contract.ts +40 -0
- package/src/models/operations/create-inquiry.ts +40 -0
- package/src/models/operations/create-invoice.ts +40 -0
- package/src/models/operations/create-milestone.ts +40 -0
- package/src/models/operations/create-payment.ts +40 -0
- package/src/models/operations/create-project.ts +40 -0
- package/src/models/operations/create-proposal.ts +40 -0
- package/src/models/operations/create-time-entry.ts +40 -0
- package/src/models/operations/create-transaction.ts +40 -0
- package/src/models/operations/create-webhook.ts +40 -0
- package/src/models/operations/list-calendar-events.ts +12 -9
- package/src/models/operations/list-catalog-items.ts +12 -9
- package/src/models/operations/list-clients.ts +12 -9
- package/src/models/operations/list-contacts.ts +12 -9
- package/src/models/operations/list-contracts.ts +12 -9
- package/src/models/operations/list-inquiries.ts +12 -9
- package/src/models/operations/list-invoices.ts +12 -9
- package/src/models/operations/list-milestones.ts +12 -9
- package/src/models/operations/list-payments.ts +12 -9
- package/src/models/operations/list-payouts.ts +12 -9
- package/src/models/operations/list-projects.ts +12 -9
- package/src/models/operations/list-proposals.ts +12 -9
- package/src/models/operations/list-time-entries.ts +12 -9
- package/src/models/operations/list-transactions.ts +12 -9
- package/src/models/operations/list-webhooks.ts +12 -9
- package/src/models/payment-list.ts +35 -0
- package/src/models/payout-list.ts +35 -0
- package/src/models/project-list.ts +35 -0
- package/src/models/proposal-list.ts +35 -0
- package/src/models/time-entry-create.ts +0 -3
- package/src/models/time-entry-list.ts +37 -0
- package/src/models/time-entry-update.ts +0 -3
- package/src/models/time-entry.ts +0 -2
- package/src/models/transaction-list.ts +37 -0
- package/src/models/transaction.ts +2 -2
- package/src/models/webhook-list.ts +35 -0
- package/src/sdk/calendar-events.ts +20 -17
- package/src/sdk/catalog-items.ts +20 -17
- package/src/sdk/clients.ts +18 -17
- package/src/sdk/contacts.ts +18 -17
- package/src/sdk/contracts.ts +18 -17
- package/src/sdk/inquiries.ts +18 -17
- package/src/sdk/invoices.ts +18 -17
- package/src/sdk/milestones.ts +20 -17
- package/src/sdk/payments.ts +15 -14
- package/src/sdk/payouts.ts +8 -7
- package/src/sdk/projects.ts +18 -17
- package/src/sdk/proposals.ts +18 -17
- package/src/sdk/time-entries.ts +20 -17
- package/src/sdk/transactions.ts +20 -17
- package/src/sdk/webhooks.ts +18 -17
- package/src/types/async.ts +8 -7
- package/src/types/primitives.ts +0 -26
- package/esm/funcs/calendar-events-create-calendar-event.d.ts.map +0 -1
- package/esm/funcs/calendar-events-create-calendar-event.js.map +0 -1
- package/esm/funcs/calendar-events-delete-calendar-event.d.ts.map +0 -1
- package/esm/funcs/calendar-events-delete-calendar-event.js.map +0 -1
- package/esm/funcs/calendar-events-get-calendar-event.d.ts.map +0 -1
- package/esm/funcs/calendar-events-get-calendar-event.js.map +0 -1
- package/esm/funcs/calendar-events-list-calendar-events.d.ts.map +0 -1
- package/esm/funcs/calendar-events-list-calendar-events.js.map +0 -1
- package/esm/funcs/calendar-events-update-calendar-event.d.ts.map +0 -1
- package/esm/funcs/calendar-events-update-calendar-event.js.map +0 -1
- package/esm/funcs/catalog-items-create-catalog-item.d.ts.map +0 -1
- package/esm/funcs/catalog-items-create-catalog-item.js.map +0 -1
- package/esm/funcs/catalog-items-delete-catalog-item.d.ts.map +0 -1
- package/esm/funcs/catalog-items-delete-catalog-item.js.map +0 -1
- package/esm/funcs/catalog-items-get-catalog-item.d.ts.map +0 -1
- package/esm/funcs/catalog-items-get-catalog-item.js.map +0 -1
- package/esm/funcs/catalog-items-list-catalog-items.d.ts.map +0 -1
- package/esm/funcs/catalog-items-list-catalog-items.js.map +0 -1
- package/esm/funcs/catalog-items-update-catalog-item.d.ts.map +0 -1
- package/esm/funcs/catalog-items-update-catalog-item.js.map +0 -1
- package/esm/funcs/clients-create-client.d.ts.map +0 -1
- package/esm/funcs/clients-create-client.js +0 -87
- package/esm/funcs/clients-create-client.js.map +0 -1
- package/esm/funcs/clients-delete-client.d.ts.map +0 -1
- package/esm/funcs/clients-delete-client.js.map +0 -1
- package/esm/funcs/clients-get-client.d.ts.map +0 -1
- package/esm/funcs/clients-get-client.js.map +0 -1
- package/esm/funcs/clients-list-clients.d.ts.map +0 -1
- package/esm/funcs/clients-list-clients.js.map +0 -1
- package/esm/funcs/clients-update-client.d.ts.map +0 -1
- package/esm/funcs/clients-update-client.js.map +0 -1
- package/esm/funcs/contacts-create-contact.d.ts +0 -15
- package/esm/funcs/contacts-create-contact.d.ts.map +0 -1
- package/esm/funcs/contacts-create-contact.js +0 -87
- package/esm/funcs/contacts-create-contact.js.map +0 -1
- package/esm/funcs/contacts-delete-contact.d.ts.map +0 -1
- package/esm/funcs/contacts-delete-contact.js.map +0 -1
- package/esm/funcs/contacts-get-contact.d.ts.map +0 -1
- package/esm/funcs/contacts-get-contact.js.map +0 -1
- package/esm/funcs/contacts-list-contacts.d.ts.map +0 -1
- package/esm/funcs/contacts-list-contacts.js.map +0 -1
- package/esm/funcs/contacts-update-contact.d.ts +0 -15
- package/esm/funcs/contacts-update-contact.d.ts.map +0 -1
- package/esm/funcs/contacts-update-contact.js.map +0 -1
- package/esm/funcs/contracts-create-contract.d.ts.map +0 -1
- package/esm/funcs/contracts-create-contract.js.map +0 -1
- package/esm/funcs/contracts-delete-contract.d.ts.map +0 -1
- package/esm/funcs/contracts-delete-contract.js.map +0 -1
- package/esm/funcs/contracts-get-contract.d.ts +0 -15
- package/esm/funcs/contracts-get-contract.d.ts.map +0 -1
- package/esm/funcs/contracts-get-contract.js.map +0 -1
- package/esm/funcs/contracts-list-contracts.d.ts +0 -14
- package/esm/funcs/contracts-list-contracts.d.ts.map +0 -1
- package/esm/funcs/contracts-list-contracts.js.map +0 -1
- package/esm/funcs/contracts-update-contract.d.ts.map +0 -1
- package/esm/funcs/contracts-update-contract.js.map +0 -1
- package/esm/funcs/inquiries-create-inquiry.d.ts.map +0 -1
- package/esm/funcs/inquiries-create-inquiry.js.map +0 -1
- package/esm/funcs/inquiries-delete-inquiry.d.ts.map +0 -1
- package/esm/funcs/inquiries-delete-inquiry.js.map +0 -1
- package/esm/funcs/inquiries-get-inquiry.d.ts.map +0 -1
- package/esm/funcs/inquiries-get-inquiry.js.map +0 -1
- package/esm/funcs/inquiries-list-inquiries.d.ts +0 -14
- package/esm/funcs/inquiries-list-inquiries.d.ts.map +0 -1
- package/esm/funcs/inquiries-list-inquiries.js.map +0 -1
- package/esm/funcs/inquiries-update-inquiry.d.ts.map +0 -1
- package/esm/funcs/inquiries-update-inquiry.js.map +0 -1
- package/esm/funcs/invoices-create-invoice.d.ts.map +0 -1
- package/esm/funcs/invoices-create-invoice.js.map +0 -1
- package/esm/funcs/invoices-delete-invoice.d.ts.map +0 -1
- package/esm/funcs/invoices-delete-invoice.js.map +0 -1
- package/esm/funcs/invoices-get-invoice.d.ts.map +0 -1
- package/esm/funcs/invoices-get-invoice.js.map +0 -1
- package/esm/funcs/invoices-list-invoices.d.ts.map +0 -1
- package/esm/funcs/invoices-list-invoices.js.map +0 -1
- package/esm/funcs/invoices-update-invoice.d.ts.map +0 -1
- package/esm/funcs/invoices-update-invoice.js.map +0 -1
- package/esm/funcs/milestones-create-milestone.d.ts.map +0 -1
- package/esm/funcs/milestones-create-milestone.js.map +0 -1
- package/esm/funcs/milestones-delete-milestone.d.ts.map +0 -1
- package/esm/funcs/milestones-delete-milestone.js.map +0 -1
- package/esm/funcs/milestones-get-milestone.d.ts.map +0 -1
- package/esm/funcs/milestones-get-milestone.js.map +0 -1
- package/esm/funcs/milestones-list-milestones.d.ts +0 -14
- package/esm/funcs/milestones-list-milestones.d.ts.map +0 -1
- package/esm/funcs/milestones-list-milestones.js.map +0 -1
- package/esm/funcs/milestones-update-milestone.d.ts.map +0 -1
- package/esm/funcs/milestones-update-milestone.js.map +0 -1
- package/esm/funcs/payments-create-payment.d.ts.map +0 -1
- package/esm/funcs/payments-create-payment.js.map +0 -1
- package/esm/funcs/payments-get-payment.d.ts.map +0 -1
- package/esm/funcs/payments-get-payment.js.map +0 -1
- package/esm/funcs/payments-list-payments.d.ts.map +0 -1
- package/esm/funcs/payments-list-payments.js.map +0 -1
- package/esm/funcs/payments-update-payment.d.ts.map +0 -1
- package/esm/funcs/payments-update-payment.js.map +0 -1
- package/esm/funcs/payouts-get-payout.d.ts.map +0 -1
- package/esm/funcs/payouts-get-payout.js.map +0 -1
- package/esm/funcs/payouts-list-payouts.d.ts.map +0 -1
- package/esm/funcs/payouts-list-payouts.js.map +0 -1
- package/esm/funcs/projects-create-project.d.ts.map +0 -1
- package/esm/funcs/projects-create-project.js +0 -87
- package/esm/funcs/projects-create-project.js.map +0 -1
- package/esm/funcs/projects-delete-project.d.ts.map +0 -1
- package/esm/funcs/projects-delete-project.js.map +0 -1
- package/esm/funcs/projects-get-project.d.ts +0 -15
- package/esm/funcs/projects-get-project.d.ts.map +0 -1
- package/esm/funcs/projects-get-project.js.map +0 -1
- package/esm/funcs/projects-list-projects.d.ts.map +0 -1
- package/esm/funcs/projects-list-projects.js.map +0 -1
- package/esm/funcs/projects-update-project.d.ts.map +0 -1
- package/esm/funcs/projects-update-project.js.map +0 -1
- package/esm/funcs/proposals-create-proposal.d.ts.map +0 -1
- package/esm/funcs/proposals-create-proposal.js.map +0 -1
- package/esm/funcs/proposals-delete-proposal.d.ts.map +0 -1
- package/esm/funcs/proposals-delete-proposal.js.map +0 -1
- package/esm/funcs/proposals-get-proposal.d.ts +0 -15
- package/esm/funcs/proposals-get-proposal.d.ts.map +0 -1
- package/esm/funcs/proposals-get-proposal.js.map +0 -1
- package/esm/funcs/proposals-list-proposals.d.ts +0 -14
- package/esm/funcs/proposals-list-proposals.d.ts.map +0 -1
- package/esm/funcs/proposals-list-proposals.js.map +0 -1
- package/esm/funcs/proposals-update-proposal.d.ts.map +0 -1
- package/esm/funcs/proposals-update-proposal.js.map +0 -1
- package/esm/funcs/time-entries-create-time-entry.d.ts +0 -15
- package/esm/funcs/time-entries-create-time-entry.d.ts.map +0 -1
- package/esm/funcs/time-entries-create-time-entry.js +0 -87
- package/esm/funcs/time-entries-create-time-entry.js.map +0 -1
- package/esm/funcs/time-entries-delete-time-entry.d.ts.map +0 -1
- package/esm/funcs/time-entries-delete-time-entry.js.map +0 -1
- package/esm/funcs/time-entries-get-time-entry.d.ts.map +0 -1
- package/esm/funcs/time-entries-get-time-entry.js.map +0 -1
- package/esm/funcs/time-entries-list-time-entries.d.ts.map +0 -1
- package/esm/funcs/time-entries-list-time-entries.js.map +0 -1
- package/esm/funcs/time-entries-update-time-entry.d.ts.map +0 -1
- package/esm/funcs/time-entries-update-time-entry.js.map +0 -1
- package/esm/funcs/transactions-create-transaction.d.ts +0 -15
- package/esm/funcs/transactions-create-transaction.d.ts.map +0 -1
- package/esm/funcs/transactions-create-transaction.js +0 -87
- package/esm/funcs/transactions-create-transaction.js.map +0 -1
- package/esm/funcs/transactions-delete-transaction.d.ts.map +0 -1
- package/esm/funcs/transactions-delete-transaction.js.map +0 -1
- package/esm/funcs/transactions-get-transaction.d.ts.map +0 -1
- package/esm/funcs/transactions-get-transaction.js.map +0 -1
- package/esm/funcs/transactions-list-transactions.d.ts.map +0 -1
- package/esm/funcs/transactions-list-transactions.js.map +0 -1
- package/esm/funcs/transactions-update-transaction.d.ts.map +0 -1
- package/esm/funcs/transactions-update-transaction.js.map +0 -1
- package/esm/funcs/webhooks-create-webhook.d.ts.map +0 -1
- package/esm/funcs/webhooks-create-webhook.js.map +0 -1
- package/esm/funcs/webhooks-delete-webhook.d.ts.map +0 -1
- package/esm/funcs/webhooks-delete-webhook.js.map +0 -1
- package/esm/funcs/webhooks-get-webhook.d.ts.map +0 -1
- package/esm/funcs/webhooks-get-webhook.js.map +0 -1
- package/esm/funcs/webhooks-list-webhooks.d.ts +0 -14
- package/esm/funcs/webhooks-list-webhooks.d.ts.map +0 -1
- package/esm/funcs/webhooks-list-webhooks.js.map +0 -1
- package/esm/funcs/webhooks-update-webhook.d.ts.map +0 -1
- package/esm/funcs/webhooks-update-webhook.js.map +0 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import { Contract, Contract$inboundSchema } from "./contract.js";
|
|
9
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
10
|
+
import {
|
|
11
|
+
PaginationMeta,
|
|
12
|
+
PaginationMeta$inboundSchema,
|
|
13
|
+
} from "./pagination-meta.js";
|
|
14
|
+
|
|
15
|
+
export type ContractList = {
|
|
16
|
+
data: Array<Contract>;
|
|
17
|
+
pagination: PaginationMeta;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const ContractList$inboundSchema: z.ZodMiniType<ContractList, unknown> =
|
|
22
|
+
z.object({
|
|
23
|
+
data: z.array(Contract$inboundSchema),
|
|
24
|
+
pagination: PaginationMeta$inboundSchema,
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function contractListFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<ContractList, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => ContractList$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'ContractList' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import * as models from "../index.js";
|
|
7
|
+
import { ClientCasaError } from "./client-casa-error.js";
|
|
8
|
+
|
|
9
|
+
export type ApiErrorData = {
|
|
10
|
+
error: models.ErrorT;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export class ApiError extends ClientCasaError {
|
|
14
|
+
error: models.ErrorT;
|
|
15
|
+
|
|
16
|
+
/** The original data that was passed to this error instance. */
|
|
17
|
+
data$: ApiErrorData;
|
|
18
|
+
|
|
19
|
+
constructor(
|
|
20
|
+
err: ApiErrorData,
|
|
21
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
22
|
+
) {
|
|
23
|
+
const message = err.error?.message
|
|
24
|
+
|| `API error occurred: ${JSON.stringify(err)}`;
|
|
25
|
+
super(message, httpMeta);
|
|
26
|
+
this.data$ = err;
|
|
27
|
+
this.error = err.error;
|
|
28
|
+
|
|
29
|
+
this.name = "ApiError";
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const ApiError$inboundSchema: z.ZodMiniType<ApiError, unknown> = z.pipe(
|
|
35
|
+
z.object({
|
|
36
|
+
error: z.lazy(() => models.ErrorT$inboundSchema),
|
|
37
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
38
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
39
|
+
body$: z.string(),
|
|
40
|
+
}),
|
|
41
|
+
z.transform((v) => {
|
|
42
|
+
return new ApiError(v, {
|
|
43
|
+
request: v.request$,
|
|
44
|
+
response: v.response$,
|
|
45
|
+
body: v.body$,
|
|
46
|
+
});
|
|
47
|
+
}),
|
|
48
|
+
);
|
package/src/models/index.ts
CHANGED
|
@@ -2,49 +2,65 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
export * from "./api-error.js";
|
|
5
6
|
export * from "./calendar-event-create.js";
|
|
7
|
+
export * from "./calendar-event-list.js";
|
|
6
8
|
export * from "./calendar-event-update.js";
|
|
7
9
|
export * from "./calendar-event.js";
|
|
8
10
|
export * from "./catalog-item-create.js";
|
|
11
|
+
export * from "./catalog-item-list.js";
|
|
9
12
|
export * from "./catalog-item-update.js";
|
|
10
13
|
export * from "./catalog-item.js";
|
|
11
14
|
export * from "./client-create.js";
|
|
15
|
+
export * from "./client-list.js";
|
|
12
16
|
export * from "./client-update.js";
|
|
13
17
|
export * from "./client.js";
|
|
14
18
|
export * from "./contact-create.js";
|
|
19
|
+
export * from "./contact-list.js";
|
|
15
20
|
export * from "./contact-update.js";
|
|
16
21
|
export * from "./contact.js";
|
|
17
22
|
export * from "./contract-create.js";
|
|
23
|
+
export * from "./contract-list.js";
|
|
18
24
|
export * from "./contract-update.js";
|
|
19
25
|
export * from "./contract.js";
|
|
20
26
|
export * from "./inquiry-create.js";
|
|
27
|
+
export * from "./inquiry-list.js";
|
|
21
28
|
export * from "./inquiry-update.js";
|
|
22
29
|
export * from "./inquiry.js";
|
|
23
30
|
export * from "./invoice-create.js";
|
|
24
31
|
export * from "./invoice-line-item.js";
|
|
32
|
+
export * from "./invoice-list.js";
|
|
25
33
|
export * from "./invoice-update.js";
|
|
26
34
|
export * from "./invoice.js";
|
|
27
35
|
export * from "./milestone-create.js";
|
|
36
|
+
export * from "./milestone-list.js";
|
|
28
37
|
export * from "./milestone-update.js";
|
|
29
38
|
export * from "./milestone.js";
|
|
30
39
|
export * from "./pagination-meta.js";
|
|
31
40
|
export * from "./payment-create.js";
|
|
41
|
+
export * from "./payment-list.js";
|
|
32
42
|
export * from "./payment-update.js";
|
|
33
43
|
export * from "./payment.js";
|
|
44
|
+
export * from "./payout-list.js";
|
|
34
45
|
export * from "./payout.js";
|
|
35
46
|
export * from "./project-create.js";
|
|
47
|
+
export * from "./project-list.js";
|
|
36
48
|
export * from "./project-update.js";
|
|
37
49
|
export * from "./project.js";
|
|
38
50
|
export * from "./proposal-create.js";
|
|
51
|
+
export * from "./proposal-list.js";
|
|
39
52
|
export * from "./proposal-update.js";
|
|
40
53
|
export * from "./proposal.js";
|
|
41
54
|
export * from "./security.js";
|
|
42
55
|
export * from "./time-entry-create.js";
|
|
56
|
+
export * from "./time-entry-list.js";
|
|
43
57
|
export * from "./time-entry-update.js";
|
|
44
58
|
export * from "./time-entry.js";
|
|
45
59
|
export * from "./transaction-create.js";
|
|
60
|
+
export * from "./transaction-list.js";
|
|
46
61
|
export * from "./transaction-update.js";
|
|
47
62
|
export * from "./transaction.js";
|
|
48
63
|
export * from "./webhook-create.js";
|
|
64
|
+
export * from "./webhook-list.js";
|
|
49
65
|
export * from "./webhook-update.js";
|
|
50
66
|
export * from "./webhook.js";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
9
|
+
import { Inquiry, Inquiry$inboundSchema } from "./inquiry.js";
|
|
10
|
+
import {
|
|
11
|
+
PaginationMeta,
|
|
12
|
+
PaginationMeta$inboundSchema,
|
|
13
|
+
} from "./pagination-meta.js";
|
|
14
|
+
|
|
15
|
+
export type InquiryList = {
|
|
16
|
+
data: Array<Inquiry>;
|
|
17
|
+
pagination: PaginationMeta;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const InquiryList$inboundSchema: z.ZodMiniType<InquiryList, unknown> = z
|
|
22
|
+
.object({
|
|
23
|
+
data: z.array(Inquiry$inboundSchema),
|
|
24
|
+
pagination: PaginationMeta$inboundSchema,
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function inquiryListFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<InquiryList, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => InquiryList$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'InquiryList' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
9
|
+
import { Invoice, Invoice$inboundSchema } from "./invoice.js";
|
|
10
|
+
import {
|
|
11
|
+
PaginationMeta,
|
|
12
|
+
PaginationMeta$inboundSchema,
|
|
13
|
+
} from "./pagination-meta.js";
|
|
14
|
+
|
|
15
|
+
export type InvoiceList = {
|
|
16
|
+
data: Array<Invoice>;
|
|
17
|
+
pagination: PaginationMeta;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const InvoiceList$inboundSchema: z.ZodMiniType<InvoiceList, unknown> = z
|
|
22
|
+
.object({
|
|
23
|
+
data: z.array(Invoice$inboundSchema),
|
|
24
|
+
pagination: PaginationMeta$inboundSchema,
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function invoiceListFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<InvoiceList, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => InvoiceList$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'InvoiceList' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
9
|
+
import { Milestone, Milestone$inboundSchema } from "./milestone.js";
|
|
10
|
+
import {
|
|
11
|
+
PaginationMeta,
|
|
12
|
+
PaginationMeta$inboundSchema,
|
|
13
|
+
} from "./pagination-meta.js";
|
|
14
|
+
|
|
15
|
+
export type MilestoneList = {
|
|
16
|
+
data: Array<Milestone>;
|
|
17
|
+
pagination: PaginationMeta;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const MilestoneList$inboundSchema: z.ZodMiniType<
|
|
22
|
+
MilestoneList,
|
|
23
|
+
unknown
|
|
24
|
+
> = z.object({
|
|
25
|
+
data: z.array(Milestone$inboundSchema),
|
|
26
|
+
pagination: PaginationMeta$inboundSchema,
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export function milestoneListFromJSON(
|
|
30
|
+
jsonString: string,
|
|
31
|
+
): SafeParseResult<MilestoneList, SDKValidationError> {
|
|
32
|
+
return safeParse(
|
|
33
|
+
jsonString,
|
|
34
|
+
(x) => MilestoneList$inboundSchema.parse(JSON.parse(x)),
|
|
35
|
+
`Failed to parse 'MilestoneList' from JSON`,
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -3,12 +3,22 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import * as models from "../index.js";
|
|
6
8
|
|
|
7
9
|
export type CreateCalendarEventSecurity = {
|
|
8
10
|
apiKey?: string | undefined;
|
|
9
11
|
bearer?: string | undefined;
|
|
10
12
|
};
|
|
11
13
|
|
|
14
|
+
export type CreateCalendarEventRequest = {
|
|
15
|
+
/**
|
|
16
|
+
* Optional unique key that makes this create safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
|
|
17
|
+
*/
|
|
18
|
+
idempotencyKey?: string | undefined;
|
|
19
|
+
body: models.CalendarEventCreate;
|
|
20
|
+
};
|
|
21
|
+
|
|
12
22
|
/** @internal */
|
|
13
23
|
export type CreateCalendarEventSecurity$Outbound = {
|
|
14
24
|
apiKey?: string | undefined;
|
|
@@ -33,3 +43,33 @@ export function createCalendarEventSecurityToJSON(
|
|
|
33
43
|
),
|
|
34
44
|
);
|
|
35
45
|
}
|
|
46
|
+
|
|
47
|
+
/** @internal */
|
|
48
|
+
export type CreateCalendarEventRequest$Outbound = {
|
|
49
|
+
"Idempotency-Key"?: string | undefined;
|
|
50
|
+
body: models.CalendarEventCreate$Outbound;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export const CreateCalendarEventRequest$outboundSchema: z.ZodMiniType<
|
|
55
|
+
CreateCalendarEventRequest$Outbound,
|
|
56
|
+
CreateCalendarEventRequest
|
|
57
|
+
> = z.pipe(
|
|
58
|
+
z.object({
|
|
59
|
+
idempotencyKey: z.optional(z.string()),
|
|
60
|
+
body: models.CalendarEventCreate$outboundSchema,
|
|
61
|
+
}),
|
|
62
|
+
z.transform((v) => {
|
|
63
|
+
return remap$(v, {
|
|
64
|
+
idempotencyKey: "Idempotency-Key",
|
|
65
|
+
});
|
|
66
|
+
}),
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
export function createCalendarEventRequestToJSON(
|
|
70
|
+
createCalendarEventRequest: CreateCalendarEventRequest,
|
|
71
|
+
): string {
|
|
72
|
+
return JSON.stringify(
|
|
73
|
+
CreateCalendarEventRequest$outboundSchema.parse(createCalendarEventRequest),
|
|
74
|
+
);
|
|
75
|
+
}
|
|
@@ -3,12 +3,22 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import * as models from "../index.js";
|
|
6
8
|
|
|
7
9
|
export type CreateCatalogItemSecurity = {
|
|
8
10
|
apiKey?: string | undefined;
|
|
9
11
|
bearer?: string | undefined;
|
|
10
12
|
};
|
|
11
13
|
|
|
14
|
+
export type CreateCatalogItemRequest = {
|
|
15
|
+
/**
|
|
16
|
+
* Optional unique key that makes this create safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
|
|
17
|
+
*/
|
|
18
|
+
idempotencyKey?: string | undefined;
|
|
19
|
+
body: models.CatalogItemCreate;
|
|
20
|
+
};
|
|
21
|
+
|
|
12
22
|
/** @internal */
|
|
13
23
|
export type CreateCatalogItemSecurity$Outbound = {
|
|
14
24
|
apiKey?: string | undefined;
|
|
@@ -31,3 +41,33 @@ export function createCatalogItemSecurityToJSON(
|
|
|
31
41
|
CreateCatalogItemSecurity$outboundSchema.parse(createCatalogItemSecurity),
|
|
32
42
|
);
|
|
33
43
|
}
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type CreateCatalogItemRequest$Outbound = {
|
|
47
|
+
"Idempotency-Key"?: string | undefined;
|
|
48
|
+
body: models.CatalogItemCreate$Outbound;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const CreateCatalogItemRequest$outboundSchema: z.ZodMiniType<
|
|
53
|
+
CreateCatalogItemRequest$Outbound,
|
|
54
|
+
CreateCatalogItemRequest
|
|
55
|
+
> = z.pipe(
|
|
56
|
+
z.object({
|
|
57
|
+
idempotencyKey: z.optional(z.string()),
|
|
58
|
+
body: models.CatalogItemCreate$outboundSchema,
|
|
59
|
+
}),
|
|
60
|
+
z.transform((v) => {
|
|
61
|
+
return remap$(v, {
|
|
62
|
+
idempotencyKey: "Idempotency-Key",
|
|
63
|
+
});
|
|
64
|
+
}),
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
export function createCatalogItemRequestToJSON(
|
|
68
|
+
createCatalogItemRequest: CreateCatalogItemRequest,
|
|
69
|
+
): string {
|
|
70
|
+
return JSON.stringify(
|
|
71
|
+
CreateCatalogItemRequest$outboundSchema.parse(createCatalogItemRequest),
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -3,12 +3,22 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import * as models from "../index.js";
|
|
6
8
|
|
|
7
9
|
export type CreateClientSecurity = {
|
|
8
10
|
apiKey?: string | undefined;
|
|
9
11
|
bearer?: string | undefined;
|
|
10
12
|
};
|
|
11
13
|
|
|
14
|
+
export type CreateClientRequest = {
|
|
15
|
+
/**
|
|
16
|
+
* Optional unique key that makes this create safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
|
|
17
|
+
*/
|
|
18
|
+
idempotencyKey?: string | undefined;
|
|
19
|
+
body: models.ClientCreate;
|
|
20
|
+
};
|
|
21
|
+
|
|
12
22
|
/** @internal */
|
|
13
23
|
export type CreateClientSecurity$Outbound = {
|
|
14
24
|
apiKey?: string | undefined;
|
|
@@ -31,3 +41,33 @@ export function createClientSecurityToJSON(
|
|
|
31
41
|
CreateClientSecurity$outboundSchema.parse(createClientSecurity),
|
|
32
42
|
);
|
|
33
43
|
}
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type CreateClientRequest$Outbound = {
|
|
47
|
+
"Idempotency-Key"?: string | undefined;
|
|
48
|
+
body: models.ClientCreate$Outbound;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const CreateClientRequest$outboundSchema: z.ZodMiniType<
|
|
53
|
+
CreateClientRequest$Outbound,
|
|
54
|
+
CreateClientRequest
|
|
55
|
+
> = z.pipe(
|
|
56
|
+
z.object({
|
|
57
|
+
idempotencyKey: z.optional(z.string()),
|
|
58
|
+
body: models.ClientCreate$outboundSchema,
|
|
59
|
+
}),
|
|
60
|
+
z.transform((v) => {
|
|
61
|
+
return remap$(v, {
|
|
62
|
+
idempotencyKey: "Idempotency-Key",
|
|
63
|
+
});
|
|
64
|
+
}),
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
export function createClientRequestToJSON(
|
|
68
|
+
createClientRequest: CreateClientRequest,
|
|
69
|
+
): string {
|
|
70
|
+
return JSON.stringify(
|
|
71
|
+
CreateClientRequest$outboundSchema.parse(createClientRequest),
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -3,12 +3,22 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import * as models from "../index.js";
|
|
6
8
|
|
|
7
9
|
export type CreateContactSecurity = {
|
|
8
10
|
apiKey?: string | undefined;
|
|
9
11
|
bearer?: string | undefined;
|
|
10
12
|
};
|
|
11
13
|
|
|
14
|
+
export type CreateContactRequest = {
|
|
15
|
+
/**
|
|
16
|
+
* Optional unique key that makes this create safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
|
|
17
|
+
*/
|
|
18
|
+
idempotencyKey?: string | undefined;
|
|
19
|
+
body: models.ContactCreate;
|
|
20
|
+
};
|
|
21
|
+
|
|
12
22
|
/** @internal */
|
|
13
23
|
export type CreateContactSecurity$Outbound = {
|
|
14
24
|
apiKey?: string | undefined;
|
|
@@ -31,3 +41,33 @@ export function createContactSecurityToJSON(
|
|
|
31
41
|
CreateContactSecurity$outboundSchema.parse(createContactSecurity),
|
|
32
42
|
);
|
|
33
43
|
}
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type CreateContactRequest$Outbound = {
|
|
47
|
+
"Idempotency-Key"?: string | undefined;
|
|
48
|
+
body: models.ContactCreate$Outbound;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const CreateContactRequest$outboundSchema: z.ZodMiniType<
|
|
53
|
+
CreateContactRequest$Outbound,
|
|
54
|
+
CreateContactRequest
|
|
55
|
+
> = z.pipe(
|
|
56
|
+
z.object({
|
|
57
|
+
idempotencyKey: z.optional(z.string()),
|
|
58
|
+
body: models.ContactCreate$outboundSchema,
|
|
59
|
+
}),
|
|
60
|
+
z.transform((v) => {
|
|
61
|
+
return remap$(v, {
|
|
62
|
+
idempotencyKey: "Idempotency-Key",
|
|
63
|
+
});
|
|
64
|
+
}),
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
export function createContactRequestToJSON(
|
|
68
|
+
createContactRequest: CreateContactRequest,
|
|
69
|
+
): string {
|
|
70
|
+
return JSON.stringify(
|
|
71
|
+
CreateContactRequest$outboundSchema.parse(createContactRequest),
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -3,12 +3,22 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import * as models from "../index.js";
|
|
6
8
|
|
|
7
9
|
export type CreateContractSecurity = {
|
|
8
10
|
apiKey?: string | undefined;
|
|
9
11
|
bearer?: string | undefined;
|
|
10
12
|
};
|
|
11
13
|
|
|
14
|
+
export type CreateContractRequest = {
|
|
15
|
+
/**
|
|
16
|
+
* Optional unique key that makes this create safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
|
|
17
|
+
*/
|
|
18
|
+
idempotencyKey?: string | undefined;
|
|
19
|
+
body: models.ContractCreate;
|
|
20
|
+
};
|
|
21
|
+
|
|
12
22
|
/** @internal */
|
|
13
23
|
export type CreateContractSecurity$Outbound = {
|
|
14
24
|
apiKey?: string | undefined;
|
|
@@ -31,3 +41,33 @@ export function createContractSecurityToJSON(
|
|
|
31
41
|
CreateContractSecurity$outboundSchema.parse(createContractSecurity),
|
|
32
42
|
);
|
|
33
43
|
}
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type CreateContractRequest$Outbound = {
|
|
47
|
+
"Idempotency-Key"?: string | undefined;
|
|
48
|
+
body: models.ContractCreate$Outbound;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const CreateContractRequest$outboundSchema: z.ZodMiniType<
|
|
53
|
+
CreateContractRequest$Outbound,
|
|
54
|
+
CreateContractRequest
|
|
55
|
+
> = z.pipe(
|
|
56
|
+
z.object({
|
|
57
|
+
idempotencyKey: z.optional(z.string()),
|
|
58
|
+
body: models.ContractCreate$outboundSchema,
|
|
59
|
+
}),
|
|
60
|
+
z.transform((v) => {
|
|
61
|
+
return remap$(v, {
|
|
62
|
+
idempotencyKey: "Idempotency-Key",
|
|
63
|
+
});
|
|
64
|
+
}),
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
export function createContractRequestToJSON(
|
|
68
|
+
createContractRequest: CreateContractRequest,
|
|
69
|
+
): string {
|
|
70
|
+
return JSON.stringify(
|
|
71
|
+
CreateContractRequest$outboundSchema.parse(createContractRequest),
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -3,12 +3,22 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import * as models from "../index.js";
|
|
6
8
|
|
|
7
9
|
export type CreateInquirySecurity = {
|
|
8
10
|
apiKey?: string | undefined;
|
|
9
11
|
bearer?: string | undefined;
|
|
10
12
|
};
|
|
11
13
|
|
|
14
|
+
export type CreateInquiryRequest = {
|
|
15
|
+
/**
|
|
16
|
+
* Optional unique key that makes this create safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
|
|
17
|
+
*/
|
|
18
|
+
idempotencyKey?: string | undefined;
|
|
19
|
+
body: models.InquiryCreate;
|
|
20
|
+
};
|
|
21
|
+
|
|
12
22
|
/** @internal */
|
|
13
23
|
export type CreateInquirySecurity$Outbound = {
|
|
14
24
|
apiKey?: string | undefined;
|
|
@@ -31,3 +41,33 @@ export function createInquirySecurityToJSON(
|
|
|
31
41
|
CreateInquirySecurity$outboundSchema.parse(createInquirySecurity),
|
|
32
42
|
);
|
|
33
43
|
}
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type CreateInquiryRequest$Outbound = {
|
|
47
|
+
"Idempotency-Key"?: string | undefined;
|
|
48
|
+
body: models.InquiryCreate$Outbound;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const CreateInquiryRequest$outboundSchema: z.ZodMiniType<
|
|
53
|
+
CreateInquiryRequest$Outbound,
|
|
54
|
+
CreateInquiryRequest
|
|
55
|
+
> = z.pipe(
|
|
56
|
+
z.object({
|
|
57
|
+
idempotencyKey: z.optional(z.string()),
|
|
58
|
+
body: models.InquiryCreate$outboundSchema,
|
|
59
|
+
}),
|
|
60
|
+
z.transform((v) => {
|
|
61
|
+
return remap$(v, {
|
|
62
|
+
idempotencyKey: "Idempotency-Key",
|
|
63
|
+
});
|
|
64
|
+
}),
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
export function createInquiryRequestToJSON(
|
|
68
|
+
createInquiryRequest: CreateInquiryRequest,
|
|
69
|
+
): string {
|
|
70
|
+
return JSON.stringify(
|
|
71
|
+
CreateInquiryRequest$outboundSchema.parse(createInquiryRequest),
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -3,12 +3,22 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import * as models from "../index.js";
|
|
6
8
|
|
|
7
9
|
export type CreateInvoiceSecurity = {
|
|
8
10
|
apiKey?: string | undefined;
|
|
9
11
|
bearer?: string | undefined;
|
|
10
12
|
};
|
|
11
13
|
|
|
14
|
+
export type CreateInvoiceRequest = {
|
|
15
|
+
/**
|
|
16
|
+
* Optional unique key that makes this create safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
|
|
17
|
+
*/
|
|
18
|
+
idempotencyKey?: string | undefined;
|
|
19
|
+
body: models.InvoiceCreate;
|
|
20
|
+
};
|
|
21
|
+
|
|
12
22
|
/** @internal */
|
|
13
23
|
export type CreateInvoiceSecurity$Outbound = {
|
|
14
24
|
apiKey?: string | undefined;
|
|
@@ -31,3 +41,33 @@ export function createInvoiceSecurityToJSON(
|
|
|
31
41
|
CreateInvoiceSecurity$outboundSchema.parse(createInvoiceSecurity),
|
|
32
42
|
);
|
|
33
43
|
}
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type CreateInvoiceRequest$Outbound = {
|
|
47
|
+
"Idempotency-Key"?: string | undefined;
|
|
48
|
+
body: models.InvoiceCreate$Outbound;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const CreateInvoiceRequest$outboundSchema: z.ZodMiniType<
|
|
53
|
+
CreateInvoiceRequest$Outbound,
|
|
54
|
+
CreateInvoiceRequest
|
|
55
|
+
> = z.pipe(
|
|
56
|
+
z.object({
|
|
57
|
+
idempotencyKey: z.optional(z.string()),
|
|
58
|
+
body: models.InvoiceCreate$outboundSchema,
|
|
59
|
+
}),
|
|
60
|
+
z.transform((v) => {
|
|
61
|
+
return remap$(v, {
|
|
62
|
+
idempotencyKey: "Idempotency-Key",
|
|
63
|
+
});
|
|
64
|
+
}),
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
export function createInvoiceRequestToJSON(
|
|
68
|
+
createInvoiceRequest: CreateInvoiceRequest,
|
|
69
|
+
): string {
|
|
70
|
+
return JSON.stringify(
|
|
71
|
+
CreateInvoiceRequest$outboundSchema.parse(createInvoiceRequest),
|
|
72
|
+
);
|
|
73
|
+
}
|