@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
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
8
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
@@ -38,12 +39,8 @@ export type ListMilestonesRequest = {
|
|
|
38
39
|
status?: ListMilestonesStatus | undefined;
|
|
39
40
|
};
|
|
40
41
|
|
|
41
|
-
/**
|
|
42
|
-
* OK
|
|
43
|
-
*/
|
|
44
42
|
export type ListMilestonesResponse = {
|
|
45
|
-
|
|
46
|
-
pagination: models.PaginationMeta;
|
|
43
|
+
result: models.MilestoneList;
|
|
47
44
|
};
|
|
48
45
|
|
|
49
46
|
/** @internal */
|
|
@@ -111,10 +108,16 @@ export function listMilestonesRequestToJSON(
|
|
|
111
108
|
export const ListMilestonesResponse$inboundSchema: z.ZodMiniType<
|
|
112
109
|
ListMilestonesResponse,
|
|
113
110
|
unknown
|
|
114
|
-
> = z.
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
})
|
|
111
|
+
> = z.pipe(
|
|
112
|
+
z.object({
|
|
113
|
+
Result: models.MilestoneList$inboundSchema,
|
|
114
|
+
}),
|
|
115
|
+
z.transform((v) => {
|
|
116
|
+
return remap$(v, {
|
|
117
|
+
"Result": "result",
|
|
118
|
+
});
|
|
119
|
+
}),
|
|
120
|
+
);
|
|
118
121
|
|
|
119
122
|
export function listMilestonesResponseFromJSON(
|
|
120
123
|
jsonString: string,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
8
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
@@ -46,12 +47,8 @@ export type ListPaymentsRequest = {
|
|
|
46
47
|
kind?: Kind | undefined;
|
|
47
48
|
};
|
|
48
49
|
|
|
49
|
-
/**
|
|
50
|
-
* OK
|
|
51
|
-
*/
|
|
52
50
|
export type ListPaymentsResponse = {
|
|
53
|
-
|
|
54
|
-
pagination: models.PaginationMeta;
|
|
51
|
+
result: models.PaymentList;
|
|
55
52
|
};
|
|
56
53
|
|
|
57
54
|
/** @internal */
|
|
@@ -120,10 +117,16 @@ export function listPaymentsRequestToJSON(
|
|
|
120
117
|
export const ListPaymentsResponse$inboundSchema: z.ZodMiniType<
|
|
121
118
|
ListPaymentsResponse,
|
|
122
119
|
unknown
|
|
123
|
-
> = z.
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
})
|
|
120
|
+
> = z.pipe(
|
|
121
|
+
z.object({
|
|
122
|
+
Result: models.PaymentList$inboundSchema,
|
|
123
|
+
}),
|
|
124
|
+
z.transform((v) => {
|
|
125
|
+
return remap$(v, {
|
|
126
|
+
"Result": "result",
|
|
127
|
+
});
|
|
128
|
+
}),
|
|
129
|
+
);
|
|
127
130
|
|
|
128
131
|
export function listPaymentsResponseFromJSON(
|
|
129
132
|
jsonString: string,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
8
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
@@ -31,12 +32,8 @@ export type ListPayoutsRequest = {
|
|
|
31
32
|
arrivalDateTo?: Date | undefined;
|
|
32
33
|
};
|
|
33
34
|
|
|
34
|
-
/**
|
|
35
|
-
* OK
|
|
36
|
-
*/
|
|
37
35
|
export type ListPayoutsResponse = {
|
|
38
|
-
|
|
39
|
-
pagination: models.PaginationMeta;
|
|
36
|
+
result: models.PayoutList;
|
|
40
37
|
};
|
|
41
38
|
|
|
42
39
|
/** @internal */
|
|
@@ -110,10 +107,16 @@ export function listPayoutsRequestToJSON(
|
|
|
110
107
|
export const ListPayoutsResponse$inboundSchema: z.ZodMiniType<
|
|
111
108
|
ListPayoutsResponse,
|
|
112
109
|
unknown
|
|
113
|
-
> = z.
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
})
|
|
110
|
+
> = z.pipe(
|
|
111
|
+
z.object({
|
|
112
|
+
Result: models.PayoutList$inboundSchema,
|
|
113
|
+
}),
|
|
114
|
+
z.transform((v) => {
|
|
115
|
+
return remap$(v, {
|
|
116
|
+
"Result": "result",
|
|
117
|
+
});
|
|
118
|
+
}),
|
|
119
|
+
);
|
|
117
120
|
|
|
118
121
|
export function listPayoutsResponseFromJSON(
|
|
119
122
|
jsonString: string,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
8
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
@@ -31,12 +32,8 @@ export type ListProjectsRequest = {
|
|
|
31
32
|
status?: ListProjectsStatus | undefined;
|
|
32
33
|
};
|
|
33
34
|
|
|
34
|
-
/**
|
|
35
|
-
* OK
|
|
36
|
-
*/
|
|
37
35
|
export type ListProjectsResponse = {
|
|
38
|
-
|
|
39
|
-
pagination: models.PaginationMeta;
|
|
36
|
+
result: models.ProjectList;
|
|
40
37
|
};
|
|
41
38
|
|
|
42
39
|
/** @internal */
|
|
@@ -98,10 +95,16 @@ export function listProjectsRequestToJSON(
|
|
|
98
95
|
export const ListProjectsResponse$inboundSchema: z.ZodMiniType<
|
|
99
96
|
ListProjectsResponse,
|
|
100
97
|
unknown
|
|
101
|
-
> = z.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
})
|
|
98
|
+
> = z.pipe(
|
|
99
|
+
z.object({
|
|
100
|
+
Result: models.ProjectList$inboundSchema,
|
|
101
|
+
}),
|
|
102
|
+
z.transform((v) => {
|
|
103
|
+
return remap$(v, {
|
|
104
|
+
"Result": "result",
|
|
105
|
+
});
|
|
106
|
+
}),
|
|
107
|
+
);
|
|
105
108
|
|
|
106
109
|
export function listProjectsResponseFromJSON(
|
|
107
110
|
jsonString: string,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
8
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
@@ -35,12 +36,8 @@ export type ListProposalsRequest = {
|
|
|
35
36
|
archived?: boolean | null | undefined;
|
|
36
37
|
};
|
|
37
38
|
|
|
38
|
-
/**
|
|
39
|
-
* OK
|
|
40
|
-
*/
|
|
41
39
|
export type ListProposalsResponse = {
|
|
42
|
-
|
|
43
|
-
pagination: models.PaginationMeta;
|
|
40
|
+
result: models.ProposalList;
|
|
44
41
|
};
|
|
45
42
|
|
|
46
43
|
/** @internal */
|
|
@@ -104,10 +101,16 @@ export function listProposalsRequestToJSON(
|
|
|
104
101
|
export const ListProposalsResponse$inboundSchema: z.ZodMiniType<
|
|
105
102
|
ListProposalsResponse,
|
|
106
103
|
unknown
|
|
107
|
-
> = z.
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
})
|
|
104
|
+
> = z.pipe(
|
|
105
|
+
z.object({
|
|
106
|
+
Result: models.ProposalList$inboundSchema,
|
|
107
|
+
}),
|
|
108
|
+
z.transform((v) => {
|
|
109
|
+
return remap$(v, {
|
|
110
|
+
"Result": "result",
|
|
111
|
+
});
|
|
112
|
+
}),
|
|
113
|
+
);
|
|
111
114
|
|
|
112
115
|
export function listProposalsResponseFromJSON(
|
|
113
116
|
jsonString: string,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
9
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
@@ -33,12 +34,8 @@ export type ListTimeEntriesRequest = {
|
|
|
33
34
|
billable?: boolean | null | undefined;
|
|
34
35
|
};
|
|
35
36
|
|
|
36
|
-
/**
|
|
37
|
-
* OK
|
|
38
|
-
*/
|
|
39
37
|
export type ListTimeEntriesResponse = {
|
|
40
|
-
|
|
41
|
-
pagination: models.PaginationMeta;
|
|
38
|
+
result: models.TimeEntryList;
|
|
42
39
|
};
|
|
43
40
|
|
|
44
41
|
/** @internal */
|
|
@@ -113,10 +110,16 @@ export function listTimeEntriesRequestToJSON(
|
|
|
113
110
|
export const ListTimeEntriesResponse$inboundSchema: z.ZodMiniType<
|
|
114
111
|
ListTimeEntriesResponse,
|
|
115
112
|
unknown
|
|
116
|
-
> = z.
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
})
|
|
113
|
+
> = z.pipe(
|
|
114
|
+
z.object({
|
|
115
|
+
Result: models.TimeEntryList$inboundSchema,
|
|
116
|
+
}),
|
|
117
|
+
z.transform((v) => {
|
|
118
|
+
return remap$(v, {
|
|
119
|
+
"Result": "result",
|
|
120
|
+
});
|
|
121
|
+
}),
|
|
122
|
+
);
|
|
120
123
|
|
|
121
124
|
export function listTimeEntriesResponseFromJSON(
|
|
122
125
|
jsonString: string,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
8
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
@@ -43,12 +44,8 @@ export type ListTransactionsRequest = {
|
|
|
43
44
|
frequency?: Frequency | undefined;
|
|
44
45
|
};
|
|
45
46
|
|
|
46
|
-
/**
|
|
47
|
-
* OK
|
|
48
|
-
*/
|
|
49
47
|
export type ListTransactionsResponse = {
|
|
50
|
-
|
|
51
|
-
pagination: models.PaginationMeta;
|
|
48
|
+
result: models.TransactionList;
|
|
52
49
|
};
|
|
53
50
|
|
|
54
51
|
/** @internal */
|
|
@@ -122,10 +119,16 @@ export function listTransactionsRequestToJSON(
|
|
|
122
119
|
export const ListTransactionsResponse$inboundSchema: z.ZodMiniType<
|
|
123
120
|
ListTransactionsResponse,
|
|
124
121
|
unknown
|
|
125
|
-
> = z.
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
})
|
|
122
|
+
> = z.pipe(
|
|
123
|
+
z.object({
|
|
124
|
+
Result: models.TransactionList$inboundSchema,
|
|
125
|
+
}),
|
|
126
|
+
z.transform((v) => {
|
|
127
|
+
return remap$(v, {
|
|
128
|
+
"Result": "result",
|
|
129
|
+
});
|
|
130
|
+
}),
|
|
131
|
+
);
|
|
129
132
|
|
|
130
133
|
export function listTransactionsResponseFromJSON(
|
|
131
134
|
jsonString: string,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
8
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
@@ -77,12 +78,8 @@ export type ListWebhooksRequest = {
|
|
|
77
78
|
event?: Event | undefined;
|
|
78
79
|
};
|
|
79
80
|
|
|
80
|
-
/**
|
|
81
|
-
* OK
|
|
82
|
-
*/
|
|
83
81
|
export type ListWebhooksResponse = {
|
|
84
|
-
|
|
85
|
-
pagination: models.PaginationMeta;
|
|
82
|
+
result: models.WebhookList;
|
|
86
83
|
};
|
|
87
84
|
|
|
88
85
|
/** @internal */
|
|
@@ -142,10 +139,16 @@ export function listWebhooksRequestToJSON(
|
|
|
142
139
|
export const ListWebhooksResponse$inboundSchema: z.ZodMiniType<
|
|
143
140
|
ListWebhooksResponse,
|
|
144
141
|
unknown
|
|
145
|
-
> = z.
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
})
|
|
142
|
+
> = z.pipe(
|
|
143
|
+
z.object({
|
|
144
|
+
Result: models.WebhookList$inboundSchema,
|
|
145
|
+
}),
|
|
146
|
+
z.transform((v) => {
|
|
147
|
+
return remap$(v, {
|
|
148
|
+
"Result": "result",
|
|
149
|
+
});
|
|
150
|
+
}),
|
|
151
|
+
);
|
|
149
152
|
|
|
150
153
|
export function listWebhooksResponseFromJSON(
|
|
151
154
|
jsonString: string,
|
|
@@ -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 {
|
|
10
|
+
PaginationMeta,
|
|
11
|
+
PaginationMeta$inboundSchema,
|
|
12
|
+
} from "./pagination-meta.js";
|
|
13
|
+
import { Payment, Payment$inboundSchema } from "./payment.js";
|
|
14
|
+
|
|
15
|
+
export type PaymentList = {
|
|
16
|
+
data: Array<Payment>;
|
|
17
|
+
pagination: PaginationMeta;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const PaymentList$inboundSchema: z.ZodMiniType<PaymentList, unknown> = z
|
|
22
|
+
.object({
|
|
23
|
+
data: z.array(Payment$inboundSchema),
|
|
24
|
+
pagination: PaginationMeta$inboundSchema,
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function paymentListFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<PaymentList, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => PaymentList$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'PaymentList' 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 {
|
|
10
|
+
PaginationMeta,
|
|
11
|
+
PaginationMeta$inboundSchema,
|
|
12
|
+
} from "./pagination-meta.js";
|
|
13
|
+
import { Payout, Payout$inboundSchema } from "./payout.js";
|
|
14
|
+
|
|
15
|
+
export type PayoutList = {
|
|
16
|
+
data: Array<Payout>;
|
|
17
|
+
pagination: PaginationMeta;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const PayoutList$inboundSchema: z.ZodMiniType<PayoutList, unknown> = z
|
|
22
|
+
.object({
|
|
23
|
+
data: z.array(Payout$inboundSchema),
|
|
24
|
+
pagination: PaginationMeta$inboundSchema,
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function payoutListFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<PayoutList, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => PayoutList$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'PayoutList' 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 {
|
|
10
|
+
PaginationMeta,
|
|
11
|
+
PaginationMeta$inboundSchema,
|
|
12
|
+
} from "./pagination-meta.js";
|
|
13
|
+
import { Project, Project$inboundSchema } from "./project.js";
|
|
14
|
+
|
|
15
|
+
export type ProjectList = {
|
|
16
|
+
data: Array<Project>;
|
|
17
|
+
pagination: PaginationMeta;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const ProjectList$inboundSchema: z.ZodMiniType<ProjectList, unknown> = z
|
|
22
|
+
.object({
|
|
23
|
+
data: z.array(Project$inboundSchema),
|
|
24
|
+
pagination: PaginationMeta$inboundSchema,
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function projectListFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<ProjectList, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => ProjectList$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'ProjectList' 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 {
|
|
10
|
+
PaginationMeta,
|
|
11
|
+
PaginationMeta$inboundSchema,
|
|
12
|
+
} from "./pagination-meta.js";
|
|
13
|
+
import { Proposal, Proposal$inboundSchema } from "./proposal.js";
|
|
14
|
+
|
|
15
|
+
export type ProposalList = {
|
|
16
|
+
data: Array<Proposal>;
|
|
17
|
+
pagination: PaginationMeta;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const ProposalList$inboundSchema: z.ZodMiniType<ProposalList, unknown> =
|
|
22
|
+
z.object({
|
|
23
|
+
data: z.array(Proposal$inboundSchema),
|
|
24
|
+
pagination: PaginationMeta$inboundSchema,
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function proposalListFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<ProposalList, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => ProposalList$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'ProposalList' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -35,7 +35,6 @@ export type TimeEntryCreate = {
|
|
|
35
35
|
rateType?: TimeEntryCreateRateType | undefined;
|
|
36
36
|
customMultiplierName?: string | undefined;
|
|
37
37
|
rateOverride?: number | undefined;
|
|
38
|
-
discountPercent?: number | undefined;
|
|
39
38
|
workerName?: string | undefined;
|
|
40
39
|
};
|
|
41
40
|
|
|
@@ -56,7 +55,6 @@ export type TimeEntryCreate$Outbound = {
|
|
|
56
55
|
rateType: string;
|
|
57
56
|
customMultiplierName?: string | undefined;
|
|
58
57
|
rateOverride?: number | undefined;
|
|
59
|
-
discountPercent?: number | undefined;
|
|
60
58
|
workerName?: string | undefined;
|
|
61
59
|
};
|
|
62
60
|
|
|
@@ -78,7 +76,6 @@ export const TimeEntryCreate$outboundSchema: z.ZodMiniType<
|
|
|
78
76
|
rateType: z._default(TimeEntryCreateRateType$outboundSchema, "standard"),
|
|
79
77
|
customMultiplierName: z.optional(z.string()),
|
|
80
78
|
rateOverride: z.optional(z.number()),
|
|
81
|
-
discountPercent: z.optional(z.number()),
|
|
82
79
|
workerName: z.optional(z.string()),
|
|
83
80
|
});
|
|
84
81
|
|
|
@@ -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 {
|
|
10
|
+
PaginationMeta,
|
|
11
|
+
PaginationMeta$inboundSchema,
|
|
12
|
+
} from "./pagination-meta.js";
|
|
13
|
+
import { TimeEntry, TimeEntry$inboundSchema } from "./time-entry.js";
|
|
14
|
+
|
|
15
|
+
export type TimeEntryList = {
|
|
16
|
+
data: Array<TimeEntry>;
|
|
17
|
+
pagination: PaginationMeta;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const TimeEntryList$inboundSchema: z.ZodMiniType<
|
|
22
|
+
TimeEntryList,
|
|
23
|
+
unknown
|
|
24
|
+
> = z.object({
|
|
25
|
+
data: z.array(TimeEntry$inboundSchema),
|
|
26
|
+
pagination: PaginationMeta$inboundSchema,
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export function timeEntryListFromJSON(
|
|
30
|
+
jsonString: string,
|
|
31
|
+
): SafeParseResult<TimeEntryList, SDKValidationError> {
|
|
32
|
+
return safeParse(
|
|
33
|
+
jsonString,
|
|
34
|
+
(x) => TimeEntryList$inboundSchema.parse(JSON.parse(x)),
|
|
35
|
+
`Failed to parse 'TimeEntryList' from JSON`,
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -35,7 +35,6 @@ export type TimeEntryUpdate = {
|
|
|
35
35
|
rateType?: TimeEntryUpdateRateType | undefined;
|
|
36
36
|
customMultiplierName?: string | undefined;
|
|
37
37
|
rateOverride?: number | undefined;
|
|
38
|
-
discountPercent?: number | undefined;
|
|
39
38
|
workerName?: string | undefined;
|
|
40
39
|
};
|
|
41
40
|
|
|
@@ -56,7 +55,6 @@ export type TimeEntryUpdate$Outbound = {
|
|
|
56
55
|
rateType: string;
|
|
57
56
|
customMultiplierName?: string | undefined;
|
|
58
57
|
rateOverride?: number | undefined;
|
|
59
|
-
discountPercent?: number | undefined;
|
|
60
58
|
workerName?: string | undefined;
|
|
61
59
|
};
|
|
62
60
|
|
|
@@ -80,7 +78,6 @@ export const TimeEntryUpdate$outboundSchema: z.ZodMiniType<
|
|
|
80
78
|
rateType: z._default(TimeEntryUpdateRateType$outboundSchema, "standard"),
|
|
81
79
|
customMultiplierName: z.optional(z.string()),
|
|
82
80
|
rateOverride: z.optional(z.number()),
|
|
83
|
-
discountPercent: z.optional(z.number()),
|
|
84
81
|
workerName: z.optional(z.string()),
|
|
85
82
|
});
|
|
86
83
|
|
package/src/models/time-entry.ts
CHANGED
|
@@ -47,7 +47,6 @@ export type TimeEntry = {
|
|
|
47
47
|
customMultiplierName: string | null;
|
|
48
48
|
rateOverride: number | null;
|
|
49
49
|
effectiveRate: number | null;
|
|
50
|
-
discountPercent: number | null;
|
|
51
50
|
workerName: string | null;
|
|
52
51
|
/**
|
|
53
52
|
* ISO 8601 timestamp (UTC)
|
|
@@ -81,7 +80,6 @@ export const TimeEntry$inboundSchema: z.ZodMiniType<TimeEntry, unknown> = z
|
|
|
81
80
|
customMultiplierName: types.nullable(types.string()),
|
|
82
81
|
rateOverride: types.nullable(types.number()),
|
|
83
82
|
effectiveRate: types.nullable(types.number()),
|
|
84
|
-
discountPercent: types.nullable(types.number()),
|
|
85
83
|
workerName: types.nullable(types.string()),
|
|
86
84
|
createdAt: types.date(),
|
|
87
85
|
updatedAt: types.date(),
|
|
@@ -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 {
|
|
10
|
+
PaginationMeta,
|
|
11
|
+
PaginationMeta$inboundSchema,
|
|
12
|
+
} from "./pagination-meta.js";
|
|
13
|
+
import { Transaction, Transaction$inboundSchema } from "./transaction.js";
|
|
14
|
+
|
|
15
|
+
export type TransactionList = {
|
|
16
|
+
data: Array<Transaction>;
|
|
17
|
+
pagination: PaginationMeta;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const TransactionList$inboundSchema: z.ZodMiniType<
|
|
22
|
+
TransactionList,
|
|
23
|
+
unknown
|
|
24
|
+
> = z.object({
|
|
25
|
+
data: z.array(Transaction$inboundSchema),
|
|
26
|
+
pagination: PaginationMeta$inboundSchema,
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export function transactionListFromJSON(
|
|
30
|
+
jsonString: string,
|
|
31
|
+
): SafeParseResult<TransactionList, SDKValidationError> {
|
|
32
|
+
return safeParse(
|
|
33
|
+
jsonString,
|
|
34
|
+
(x) => TransactionList$inboundSchema.parse(JSON.parse(x)),
|
|
35
|
+
`Failed to parse 'TransactionList' from JSON`,
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -68,7 +68,7 @@ export type Transaction = {
|
|
|
68
68
|
* UUID v4
|
|
69
69
|
*/
|
|
70
70
|
taxCategoryId: string | null;
|
|
71
|
-
amount: number;
|
|
71
|
+
amount: number | null;
|
|
72
72
|
frequency: TransactionFrequency;
|
|
73
73
|
direction: TransactionDirection;
|
|
74
74
|
mode: TransactionMode;
|
|
@@ -150,7 +150,7 @@ export const Transaction$inboundSchema: z.ZodMiniType<Transaction, unknown> = z
|
|
|
150
150
|
name: types.string(),
|
|
151
151
|
catalogItemId: types.nullable(types.string()),
|
|
152
152
|
taxCategoryId: types.nullable(types.string()),
|
|
153
|
-
amount: types.number(),
|
|
153
|
+
amount: types.nullable(types.number()),
|
|
154
154
|
frequency: TransactionFrequency$inboundSchema,
|
|
155
155
|
direction: TransactionDirection$inboundSchema,
|
|
156
156
|
mode: TransactionMode$inboundSchema,
|
|
@@ -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 {
|
|
10
|
+
PaginationMeta,
|
|
11
|
+
PaginationMeta$inboundSchema,
|
|
12
|
+
} from "./pagination-meta.js";
|
|
13
|
+
import { Webhook, Webhook$inboundSchema } from "./webhook.js";
|
|
14
|
+
|
|
15
|
+
export type WebhookList = {
|
|
16
|
+
data: Array<Webhook>;
|
|
17
|
+
pagination: PaginationMeta;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const WebhookList$inboundSchema: z.ZodMiniType<WebhookList, unknown> = z
|
|
22
|
+
.object({
|
|
23
|
+
data: z.array(Webhook$inboundSchema),
|
|
24
|
+
pagination: PaginationMeta$inboundSchema,
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function webhookListFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<WebhookList, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => WebhookList$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'WebhookList' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|