@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
package/src/sdk/invoices.ts
CHANGED
|
@@ -2,26 +2,27 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { invoicesCreate } from "../funcs/invoices-create.js";
|
|
6
|
+
import { invoicesDelete } from "../funcs/invoices-delete.js";
|
|
7
|
+
import { invoicesGet } from "../funcs/invoices-get.js";
|
|
8
|
+
import { invoicesList } from "../funcs/invoices-list.js";
|
|
9
|
+
import { invoicesUpdate } from "../funcs/invoices-update.js";
|
|
10
10
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
11
|
import * as models from "../models/index.js";
|
|
12
12
|
import * as operations from "../models/operations/index.js";
|
|
13
13
|
import { unwrapAsync } from "../types/fp.js";
|
|
14
|
+
import { PageIterator, unwrapResultIterator } from "../types/operations.js";
|
|
14
15
|
|
|
15
16
|
export class Invoices extends ClientSDK {
|
|
16
17
|
/**
|
|
17
18
|
* List invoices
|
|
18
19
|
*/
|
|
19
|
-
async
|
|
20
|
+
async list(
|
|
20
21
|
security: operations.ListInvoicesSecurity,
|
|
21
22
|
request?: operations.ListInvoicesRequest | undefined,
|
|
22
23
|
options?: RequestOptions,
|
|
23
|
-
): Promise<operations.ListInvoicesResponse
|
|
24
|
-
return
|
|
24
|
+
): Promise<PageIterator<operations.ListInvoicesResponse, { page: number }>> {
|
|
25
|
+
return unwrapResultIterator(invoicesList(
|
|
25
26
|
this,
|
|
26
27
|
security,
|
|
27
28
|
request,
|
|
@@ -35,12 +36,12 @@ export class Invoices extends ClientSDK {
|
|
|
35
36
|
* @remarks
|
|
36
37
|
* Status `paid`, `partial`, and `overdue` are system-derived from Payments and the due date; do not set them directly.
|
|
37
38
|
*/
|
|
38
|
-
async
|
|
39
|
+
async create(
|
|
39
40
|
security: operations.CreateInvoiceSecurity,
|
|
40
|
-
request:
|
|
41
|
+
request: operations.CreateInvoiceRequest,
|
|
41
42
|
options?: RequestOptions,
|
|
42
43
|
): Promise<models.Invoice> {
|
|
43
|
-
return unwrapAsync(
|
|
44
|
+
return unwrapAsync(invoicesCreate(
|
|
44
45
|
this,
|
|
45
46
|
security,
|
|
46
47
|
request,
|
|
@@ -51,12 +52,12 @@ export class Invoices extends ClientSDK {
|
|
|
51
52
|
/**
|
|
52
53
|
* Get an invoice
|
|
53
54
|
*/
|
|
54
|
-
async
|
|
55
|
+
async get(
|
|
55
56
|
security: operations.GetInvoiceSecurity,
|
|
56
57
|
request: operations.GetInvoiceRequest,
|
|
57
58
|
options?: RequestOptions,
|
|
58
59
|
): Promise<models.Invoice> {
|
|
59
|
-
return unwrapAsync(
|
|
60
|
+
return unwrapAsync(invoicesGet(
|
|
60
61
|
this,
|
|
61
62
|
security,
|
|
62
63
|
request,
|
|
@@ -67,12 +68,12 @@ export class Invoices extends ClientSDK {
|
|
|
67
68
|
/**
|
|
68
69
|
* Delete an invoice (only drafts)
|
|
69
70
|
*/
|
|
70
|
-
async
|
|
71
|
+
async delete(
|
|
71
72
|
security: operations.DeleteInvoiceSecurity,
|
|
72
73
|
request: operations.DeleteInvoiceRequest,
|
|
73
74
|
options?: RequestOptions,
|
|
74
75
|
): Promise<void> {
|
|
75
|
-
return unwrapAsync(
|
|
76
|
+
return unwrapAsync(invoicesDelete(
|
|
76
77
|
this,
|
|
77
78
|
security,
|
|
78
79
|
request,
|
|
@@ -83,12 +84,12 @@ export class Invoices extends ClientSDK {
|
|
|
83
84
|
/**
|
|
84
85
|
* Update an invoice (line items not editable in v1)
|
|
85
86
|
*/
|
|
86
|
-
async
|
|
87
|
+
async update(
|
|
87
88
|
security: operations.UpdateInvoiceSecurity,
|
|
88
89
|
request: operations.UpdateInvoiceRequest,
|
|
89
90
|
options?: RequestOptions,
|
|
90
91
|
): Promise<models.Invoice> {
|
|
91
|
-
return unwrapAsync(
|
|
92
|
+
return unwrapAsync(invoicesUpdate(
|
|
92
93
|
this,
|
|
93
94
|
security,
|
|
94
95
|
request,
|
package/src/sdk/milestones.ts
CHANGED
|
@@ -2,26 +2,29 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { milestonesCreate } from "../funcs/milestones-create.js";
|
|
6
|
+
import { milestonesDelete } from "../funcs/milestones-delete.js";
|
|
7
|
+
import { milestonesGet } from "../funcs/milestones-get.js";
|
|
8
|
+
import { milestonesList } from "../funcs/milestones-list.js";
|
|
9
|
+
import { milestonesUpdate } from "../funcs/milestones-update.js";
|
|
10
10
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
11
|
import * as models from "../models/index.js";
|
|
12
12
|
import * as operations from "../models/operations/index.js";
|
|
13
13
|
import { unwrapAsync } from "../types/fp.js";
|
|
14
|
+
import { PageIterator, unwrapResultIterator } from "../types/operations.js";
|
|
14
15
|
|
|
15
16
|
export class Milestones extends ClientSDK {
|
|
16
17
|
/**
|
|
17
18
|
* List milestones
|
|
18
19
|
*/
|
|
19
|
-
async
|
|
20
|
+
async list(
|
|
20
21
|
security: operations.ListMilestonesSecurity,
|
|
21
22
|
request?: operations.ListMilestonesRequest | undefined,
|
|
22
23
|
options?: RequestOptions,
|
|
23
|
-
): Promise<
|
|
24
|
-
|
|
24
|
+
): Promise<
|
|
25
|
+
PageIterator<operations.ListMilestonesResponse, { page: number }>
|
|
26
|
+
> {
|
|
27
|
+
return unwrapResultIterator(milestonesList(
|
|
25
28
|
this,
|
|
26
29
|
security,
|
|
27
30
|
request,
|
|
@@ -35,12 +38,12 @@ export class Milestones extends ClientSDK {
|
|
|
35
38
|
* @remarks
|
|
36
39
|
* Milestones attach to either a project or a proposal — `parentType` + `parentId` are both required.
|
|
37
40
|
*/
|
|
38
|
-
async
|
|
41
|
+
async create(
|
|
39
42
|
security: operations.CreateMilestoneSecurity,
|
|
40
|
-
request:
|
|
43
|
+
request: operations.CreateMilestoneRequest,
|
|
41
44
|
options?: RequestOptions,
|
|
42
45
|
): Promise<models.Milestone> {
|
|
43
|
-
return unwrapAsync(
|
|
46
|
+
return unwrapAsync(milestonesCreate(
|
|
44
47
|
this,
|
|
45
48
|
security,
|
|
46
49
|
request,
|
|
@@ -51,12 +54,12 @@ export class Milestones extends ClientSDK {
|
|
|
51
54
|
/**
|
|
52
55
|
* Get a milestone
|
|
53
56
|
*/
|
|
54
|
-
async
|
|
57
|
+
async get(
|
|
55
58
|
security: operations.GetMilestoneSecurity,
|
|
56
59
|
request: operations.GetMilestoneRequest,
|
|
57
60
|
options?: RequestOptions,
|
|
58
61
|
): Promise<models.Milestone> {
|
|
59
|
-
return unwrapAsync(
|
|
62
|
+
return unwrapAsync(milestonesGet(
|
|
60
63
|
this,
|
|
61
64
|
security,
|
|
62
65
|
request,
|
|
@@ -67,12 +70,12 @@ export class Milestones extends ClientSDK {
|
|
|
67
70
|
/**
|
|
68
71
|
* Delete a milestone
|
|
69
72
|
*/
|
|
70
|
-
async
|
|
73
|
+
async delete(
|
|
71
74
|
security: operations.DeleteMilestoneSecurity,
|
|
72
75
|
request: operations.DeleteMilestoneRequest,
|
|
73
76
|
options?: RequestOptions,
|
|
74
77
|
): Promise<void> {
|
|
75
|
-
return unwrapAsync(
|
|
78
|
+
return unwrapAsync(milestonesDelete(
|
|
76
79
|
this,
|
|
77
80
|
security,
|
|
78
81
|
request,
|
|
@@ -83,12 +86,12 @@ export class Milestones extends ClientSDK {
|
|
|
83
86
|
/**
|
|
84
87
|
* Update a milestone
|
|
85
88
|
*/
|
|
86
|
-
async
|
|
89
|
+
async update(
|
|
87
90
|
security: operations.UpdateMilestoneSecurity,
|
|
88
91
|
request: operations.UpdateMilestoneRequest,
|
|
89
92
|
options?: RequestOptions,
|
|
90
93
|
): Promise<models.Milestone> {
|
|
91
|
-
return unwrapAsync(
|
|
94
|
+
return unwrapAsync(milestonesUpdate(
|
|
92
95
|
this,
|
|
93
96
|
security,
|
|
94
97
|
request,
|
package/src/sdk/payments.ts
CHANGED
|
@@ -2,25 +2,26 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { paymentsCreate } from "../funcs/payments-create.js";
|
|
6
|
+
import { paymentsGet } from "../funcs/payments-get.js";
|
|
7
|
+
import { paymentsList } from "../funcs/payments-list.js";
|
|
8
|
+
import { paymentsUpdate } from "../funcs/payments-update.js";
|
|
9
9
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
10
10
|
import * as models from "../models/index.js";
|
|
11
11
|
import * as operations from "../models/operations/index.js";
|
|
12
12
|
import { unwrapAsync } from "../types/fp.js";
|
|
13
|
+
import { PageIterator, unwrapResultIterator } from "../types/operations.js";
|
|
13
14
|
|
|
14
15
|
export class Payments extends ClientSDK {
|
|
15
16
|
/**
|
|
16
17
|
* List payments
|
|
17
18
|
*/
|
|
18
|
-
async
|
|
19
|
+
async list(
|
|
19
20
|
security: operations.ListPaymentsSecurity,
|
|
20
21
|
request?: operations.ListPaymentsRequest | undefined,
|
|
21
22
|
options?: RequestOptions,
|
|
22
|
-
): Promise<operations.ListPaymentsResponse
|
|
23
|
-
return
|
|
23
|
+
): Promise<PageIterator<operations.ListPaymentsResponse, { page: number }>> {
|
|
24
|
+
return unwrapResultIterator(paymentsList(
|
|
24
25
|
this,
|
|
25
26
|
security,
|
|
26
27
|
request,
|
|
@@ -34,12 +35,12 @@ export class Payments extends ClientSDK {
|
|
|
34
35
|
* @remarks
|
|
35
36
|
* Records a manually-collected payment (check, bank transfer, cash, etc.). Stripe payments are recorded automatically via webhooks and cannot be created here. Payments are immutable after creation except for `reference` and `notes`. To reverse a payment, record a refund (kind=refund, negative amount, refundOfId pointing at the original).
|
|
36
37
|
*/
|
|
37
|
-
async
|
|
38
|
+
async create(
|
|
38
39
|
security: operations.CreatePaymentSecurity,
|
|
39
|
-
request:
|
|
40
|
+
request: operations.CreatePaymentRequest,
|
|
40
41
|
options?: RequestOptions,
|
|
41
42
|
): Promise<models.Payment> {
|
|
42
|
-
return unwrapAsync(
|
|
43
|
+
return unwrapAsync(paymentsCreate(
|
|
43
44
|
this,
|
|
44
45
|
security,
|
|
45
46
|
request,
|
|
@@ -50,12 +51,12 @@ export class Payments extends ClientSDK {
|
|
|
50
51
|
/**
|
|
51
52
|
* Get a payment
|
|
52
53
|
*/
|
|
53
|
-
async
|
|
54
|
+
async get(
|
|
54
55
|
security: operations.GetPaymentSecurity,
|
|
55
56
|
request: operations.GetPaymentRequest,
|
|
56
57
|
options?: RequestOptions,
|
|
57
58
|
): Promise<models.Payment> {
|
|
58
|
-
return unwrapAsync(
|
|
59
|
+
return unwrapAsync(paymentsGet(
|
|
59
60
|
this,
|
|
60
61
|
security,
|
|
61
62
|
request,
|
|
@@ -66,12 +67,12 @@ export class Payments extends ClientSDK {
|
|
|
66
67
|
/**
|
|
67
68
|
* Update a payment (notes/reference only — payments are otherwise immutable)
|
|
68
69
|
*/
|
|
69
|
-
async
|
|
70
|
+
async update(
|
|
70
71
|
security: operations.UpdatePaymentSecurity,
|
|
71
72
|
request: operations.UpdatePaymentRequest,
|
|
72
73
|
options?: RequestOptions,
|
|
73
74
|
): Promise<models.Payment> {
|
|
74
|
-
return unwrapAsync(
|
|
75
|
+
return unwrapAsync(paymentsUpdate(
|
|
75
76
|
this,
|
|
76
77
|
security,
|
|
77
78
|
request,
|
package/src/sdk/payouts.ts
CHANGED
|
@@ -2,23 +2,24 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { payoutsGet } from "../funcs/payouts-get.js";
|
|
6
|
+
import { payoutsList } from "../funcs/payouts-list.js";
|
|
7
7
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
8
8
|
import * as models from "../models/index.js";
|
|
9
9
|
import * as operations from "../models/operations/index.js";
|
|
10
10
|
import { unwrapAsync } from "../types/fp.js";
|
|
11
|
+
import { PageIterator, unwrapResultIterator } from "../types/operations.js";
|
|
11
12
|
|
|
12
13
|
export class Payouts extends ClientSDK {
|
|
13
14
|
/**
|
|
14
15
|
* List payouts
|
|
15
16
|
*/
|
|
16
|
-
async
|
|
17
|
+
async list(
|
|
17
18
|
security: operations.ListPayoutsSecurity,
|
|
18
19
|
request?: operations.ListPayoutsRequest | undefined,
|
|
19
20
|
options?: RequestOptions,
|
|
20
|
-
): Promise<operations.ListPayoutsResponse
|
|
21
|
-
return
|
|
21
|
+
): Promise<PageIterator<operations.ListPayoutsResponse, { page: number }>> {
|
|
22
|
+
return unwrapResultIterator(payoutsList(
|
|
22
23
|
this,
|
|
23
24
|
security,
|
|
24
25
|
request,
|
|
@@ -29,12 +30,12 @@ export class Payouts extends ClientSDK {
|
|
|
29
30
|
/**
|
|
30
31
|
* Get a payout
|
|
31
32
|
*/
|
|
32
|
-
async
|
|
33
|
+
async get(
|
|
33
34
|
security: operations.GetPayoutSecurity,
|
|
34
35
|
request: operations.GetPayoutRequest,
|
|
35
36
|
options?: RequestOptions,
|
|
36
37
|
): Promise<models.Payout> {
|
|
37
|
-
return unwrapAsync(
|
|
38
|
+
return unwrapAsync(payoutsGet(
|
|
38
39
|
this,
|
|
39
40
|
security,
|
|
40
41
|
request,
|
package/src/sdk/projects.ts
CHANGED
|
@@ -2,26 +2,27 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { projectsCreate } from "../funcs/projects-create.js";
|
|
6
|
+
import { projectsDelete } from "../funcs/projects-delete.js";
|
|
7
|
+
import { projectsGet } from "../funcs/projects-get.js";
|
|
8
|
+
import { projectsList } from "../funcs/projects-list.js";
|
|
9
|
+
import { projectsUpdate } from "../funcs/projects-update.js";
|
|
10
10
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
11
|
import * as models from "../models/index.js";
|
|
12
12
|
import * as operations from "../models/operations/index.js";
|
|
13
13
|
import { unwrapAsync } from "../types/fp.js";
|
|
14
|
+
import { PageIterator, unwrapResultIterator } from "../types/operations.js";
|
|
14
15
|
|
|
15
16
|
export class Projects extends ClientSDK {
|
|
16
17
|
/**
|
|
17
18
|
* List projects
|
|
18
19
|
*/
|
|
19
|
-
async
|
|
20
|
+
async list(
|
|
20
21
|
security: operations.ListProjectsSecurity,
|
|
21
22
|
request?: operations.ListProjectsRequest | undefined,
|
|
22
23
|
options?: RequestOptions,
|
|
23
|
-
): Promise<operations.ListProjectsResponse
|
|
24
|
-
return
|
|
24
|
+
): Promise<PageIterator<operations.ListProjectsResponse, { page: number }>> {
|
|
25
|
+
return unwrapResultIterator(projectsList(
|
|
25
26
|
this,
|
|
26
27
|
security,
|
|
27
28
|
request,
|
|
@@ -32,12 +33,12 @@ export class Projects extends ClientSDK {
|
|
|
32
33
|
/**
|
|
33
34
|
* Create a project
|
|
34
35
|
*/
|
|
35
|
-
async
|
|
36
|
+
async create(
|
|
36
37
|
security: operations.CreateProjectSecurity,
|
|
37
|
-
request:
|
|
38
|
+
request: operations.CreateProjectRequest,
|
|
38
39
|
options?: RequestOptions,
|
|
39
40
|
): Promise<models.Project> {
|
|
40
|
-
return unwrapAsync(
|
|
41
|
+
return unwrapAsync(projectsCreate(
|
|
41
42
|
this,
|
|
42
43
|
security,
|
|
43
44
|
request,
|
|
@@ -48,12 +49,12 @@ export class Projects extends ClientSDK {
|
|
|
48
49
|
/**
|
|
49
50
|
* Get a project
|
|
50
51
|
*/
|
|
51
|
-
async
|
|
52
|
+
async get(
|
|
52
53
|
security: operations.GetProjectSecurity,
|
|
53
54
|
request: operations.GetProjectRequest,
|
|
54
55
|
options?: RequestOptions,
|
|
55
56
|
): Promise<models.Project> {
|
|
56
|
-
return unwrapAsync(
|
|
57
|
+
return unwrapAsync(projectsGet(
|
|
57
58
|
this,
|
|
58
59
|
security,
|
|
59
60
|
request,
|
|
@@ -64,12 +65,12 @@ export class Projects extends ClientSDK {
|
|
|
64
65
|
/**
|
|
65
66
|
* Delete a project
|
|
66
67
|
*/
|
|
67
|
-
async
|
|
68
|
+
async delete(
|
|
68
69
|
security: operations.DeleteProjectSecurity,
|
|
69
70
|
request: operations.DeleteProjectRequest,
|
|
70
71
|
options?: RequestOptions,
|
|
71
72
|
): Promise<void> {
|
|
72
|
-
return unwrapAsync(
|
|
73
|
+
return unwrapAsync(projectsDelete(
|
|
73
74
|
this,
|
|
74
75
|
security,
|
|
75
76
|
request,
|
|
@@ -80,12 +81,12 @@ export class Projects extends ClientSDK {
|
|
|
80
81
|
/**
|
|
81
82
|
* Update a project
|
|
82
83
|
*/
|
|
83
|
-
async
|
|
84
|
+
async update(
|
|
84
85
|
security: operations.UpdateProjectSecurity,
|
|
85
86
|
request: operations.UpdateProjectRequest,
|
|
86
87
|
options?: RequestOptions,
|
|
87
88
|
): Promise<models.Project> {
|
|
88
|
-
return unwrapAsync(
|
|
89
|
+
return unwrapAsync(projectsUpdate(
|
|
89
90
|
this,
|
|
90
91
|
security,
|
|
91
92
|
request,
|
package/src/sdk/proposals.ts
CHANGED
|
@@ -2,26 +2,27 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { proposalsCreate } from "../funcs/proposals-create.js";
|
|
6
|
+
import { proposalsDelete } from "../funcs/proposals-delete.js";
|
|
7
|
+
import { proposalsGet } from "../funcs/proposals-get.js";
|
|
8
|
+
import { proposalsList } from "../funcs/proposals-list.js";
|
|
9
|
+
import { proposalsUpdate } from "../funcs/proposals-update.js";
|
|
10
10
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
11
|
import * as models from "../models/index.js";
|
|
12
12
|
import * as operations from "../models/operations/index.js";
|
|
13
13
|
import { unwrapAsync } from "../types/fp.js";
|
|
14
|
+
import { PageIterator, unwrapResultIterator } from "../types/operations.js";
|
|
14
15
|
|
|
15
16
|
export class Proposals extends ClientSDK {
|
|
16
17
|
/**
|
|
17
18
|
* List proposals
|
|
18
19
|
*/
|
|
19
|
-
async
|
|
20
|
+
async list(
|
|
20
21
|
security: operations.ListProposalsSecurity,
|
|
21
22
|
request?: operations.ListProposalsRequest | undefined,
|
|
22
23
|
options?: RequestOptions,
|
|
23
|
-
): Promise<operations.ListProposalsResponse
|
|
24
|
-
return
|
|
24
|
+
): Promise<PageIterator<operations.ListProposalsResponse, { page: number }>> {
|
|
25
|
+
return unwrapResultIterator(proposalsList(
|
|
25
26
|
this,
|
|
26
27
|
security,
|
|
27
28
|
request,
|
|
@@ -35,12 +36,12 @@ export class Proposals extends ClientSDK {
|
|
|
35
36
|
* @remarks
|
|
36
37
|
* Creates a draft proposal. The narrative content (Tiptap document) and line items are not editable via the v1 API; use the dashboard.
|
|
37
38
|
*/
|
|
38
|
-
async
|
|
39
|
+
async create(
|
|
39
40
|
security: operations.CreateProposalSecurity,
|
|
40
|
-
request:
|
|
41
|
+
request: operations.CreateProposalRequest,
|
|
41
42
|
options?: RequestOptions,
|
|
42
43
|
): Promise<models.Proposal> {
|
|
43
|
-
return unwrapAsync(
|
|
44
|
+
return unwrapAsync(proposalsCreate(
|
|
44
45
|
this,
|
|
45
46
|
security,
|
|
46
47
|
request,
|
|
@@ -51,12 +52,12 @@ export class Proposals extends ClientSDK {
|
|
|
51
52
|
/**
|
|
52
53
|
* Get a proposal
|
|
53
54
|
*/
|
|
54
|
-
async
|
|
55
|
+
async get(
|
|
55
56
|
security: operations.GetProposalSecurity,
|
|
56
57
|
request: operations.GetProposalRequest,
|
|
57
58
|
options?: RequestOptions,
|
|
58
59
|
): Promise<models.Proposal> {
|
|
59
|
-
return unwrapAsync(
|
|
60
|
+
return unwrapAsync(proposalsGet(
|
|
60
61
|
this,
|
|
61
62
|
security,
|
|
62
63
|
request,
|
|
@@ -67,12 +68,12 @@ export class Proposals extends ClientSDK {
|
|
|
67
68
|
/**
|
|
68
69
|
* Delete a proposal (only drafts)
|
|
69
70
|
*/
|
|
70
|
-
async
|
|
71
|
+
async delete(
|
|
71
72
|
security: operations.DeleteProposalSecurity,
|
|
72
73
|
request: operations.DeleteProposalRequest,
|
|
73
74
|
options?: RequestOptions,
|
|
74
75
|
): Promise<void> {
|
|
75
|
-
return unwrapAsync(
|
|
76
|
+
return unwrapAsync(proposalsDelete(
|
|
76
77
|
this,
|
|
77
78
|
security,
|
|
78
79
|
request,
|
|
@@ -86,12 +87,12 @@ export class Proposals extends ClientSDK {
|
|
|
86
87
|
* @remarks
|
|
87
88
|
* Status transitions to `accepted`/`rejected`/`expired` are system-driven; do not set them directly.
|
|
88
89
|
*/
|
|
89
|
-
async
|
|
90
|
+
async update(
|
|
90
91
|
security: operations.UpdateProposalSecurity,
|
|
91
92
|
request: operations.UpdateProposalRequest,
|
|
92
93
|
options?: RequestOptions,
|
|
93
94
|
): Promise<models.Proposal> {
|
|
94
|
-
return unwrapAsync(
|
|
95
|
+
return unwrapAsync(proposalsUpdate(
|
|
95
96
|
this,
|
|
96
97
|
security,
|
|
97
98
|
request,
|
package/src/sdk/time-entries.ts
CHANGED
|
@@ -2,26 +2,29 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { timeEntriesCreate } from "../funcs/time-entries-create.js";
|
|
6
|
+
import { timeEntriesDelete } from "../funcs/time-entries-delete.js";
|
|
7
|
+
import { timeEntriesGet } from "../funcs/time-entries-get.js";
|
|
8
|
+
import { timeEntriesList } from "../funcs/time-entries-list.js";
|
|
9
|
+
import { timeEntriesUpdate } from "../funcs/time-entries-update.js";
|
|
10
10
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
11
|
import * as models from "../models/index.js";
|
|
12
12
|
import * as operations from "../models/operations/index.js";
|
|
13
13
|
import { unwrapAsync } from "../types/fp.js";
|
|
14
|
+
import { PageIterator, unwrapResultIterator } from "../types/operations.js";
|
|
14
15
|
|
|
15
16
|
export class TimeEntries extends ClientSDK {
|
|
16
17
|
/**
|
|
17
18
|
* List time entries
|
|
18
19
|
*/
|
|
19
|
-
async
|
|
20
|
+
async list(
|
|
20
21
|
security: operations.ListTimeEntriesSecurity,
|
|
21
22
|
request?: operations.ListTimeEntriesRequest | undefined,
|
|
22
23
|
options?: RequestOptions,
|
|
23
|
-
): Promise<
|
|
24
|
-
|
|
24
|
+
): Promise<
|
|
25
|
+
PageIterator<operations.ListTimeEntriesResponse, { page: number }>
|
|
26
|
+
> {
|
|
27
|
+
return unwrapResultIterator(timeEntriesList(
|
|
25
28
|
this,
|
|
26
29
|
security,
|
|
27
30
|
request,
|
|
@@ -32,12 +35,12 @@ export class TimeEntries extends ClientSDK {
|
|
|
32
35
|
/**
|
|
33
36
|
* Create a time entry
|
|
34
37
|
*/
|
|
35
|
-
async
|
|
38
|
+
async create(
|
|
36
39
|
security: operations.CreateTimeEntrySecurity,
|
|
37
|
-
request:
|
|
40
|
+
request: operations.CreateTimeEntryRequest,
|
|
38
41
|
options?: RequestOptions,
|
|
39
42
|
): Promise<models.TimeEntry> {
|
|
40
|
-
return unwrapAsync(
|
|
43
|
+
return unwrapAsync(timeEntriesCreate(
|
|
41
44
|
this,
|
|
42
45
|
security,
|
|
43
46
|
request,
|
|
@@ -48,12 +51,12 @@ export class TimeEntries extends ClientSDK {
|
|
|
48
51
|
/**
|
|
49
52
|
* Get a time entry
|
|
50
53
|
*/
|
|
51
|
-
async
|
|
54
|
+
async get(
|
|
52
55
|
security: operations.GetTimeEntrySecurity,
|
|
53
56
|
request: operations.GetTimeEntryRequest,
|
|
54
57
|
options?: RequestOptions,
|
|
55
58
|
): Promise<models.TimeEntry> {
|
|
56
|
-
return unwrapAsync(
|
|
59
|
+
return unwrapAsync(timeEntriesGet(
|
|
57
60
|
this,
|
|
58
61
|
security,
|
|
59
62
|
request,
|
|
@@ -67,12 +70,12 @@ export class TimeEntries extends ClientSDK {
|
|
|
67
70
|
* @remarks
|
|
68
71
|
* Time entries billed to a paid invoice cannot be deleted.
|
|
69
72
|
*/
|
|
70
|
-
async
|
|
73
|
+
async delete(
|
|
71
74
|
security: operations.DeleteTimeEntrySecurity,
|
|
72
75
|
request: operations.DeleteTimeEntryRequest,
|
|
73
76
|
options?: RequestOptions,
|
|
74
77
|
): Promise<void> {
|
|
75
|
-
return unwrapAsync(
|
|
78
|
+
return unwrapAsync(timeEntriesDelete(
|
|
76
79
|
this,
|
|
77
80
|
security,
|
|
78
81
|
request,
|
|
@@ -86,12 +89,12 @@ export class TimeEntries extends ClientSDK {
|
|
|
86
89
|
* @remarks
|
|
87
90
|
* Time entries billed to a paid invoice cannot be edited (the date field is immutable in that case).
|
|
88
91
|
*/
|
|
89
|
-
async
|
|
92
|
+
async update(
|
|
90
93
|
security: operations.UpdateTimeEntrySecurity,
|
|
91
94
|
request: operations.UpdateTimeEntryRequest,
|
|
92
95
|
options?: RequestOptions,
|
|
93
96
|
): Promise<models.TimeEntry> {
|
|
94
|
-
return unwrapAsync(
|
|
97
|
+
return unwrapAsync(timeEntriesUpdate(
|
|
95
98
|
this,
|
|
96
99
|
security,
|
|
97
100
|
request,
|