@unified-api/typescript-sdk 2.85.37 → 2.85.38
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/README.md +12 -0
- package/dist/commonjs/funcs/accountingCreateAccountingPaymentterm.d.ts +15 -0
- package/dist/commonjs/funcs/accountingCreateAccountingPaymentterm.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingCreateAccountingPaymentterm.js +125 -0
- package/dist/commonjs/funcs/accountingCreateAccountingPaymentterm.js.map +1 -0
- package/dist/commonjs/funcs/accountingGetAccountingPaymentterm.d.ts +15 -0
- package/dist/commonjs/funcs/accountingGetAccountingPaymentterm.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingGetAccountingPaymentterm.js +126 -0
- package/dist/commonjs/funcs/accountingGetAccountingPaymentterm.js.map +1 -0
- package/dist/commonjs/funcs/accountingListAccountingPaymentterms.d.ts +15 -0
- package/dist/commonjs/funcs/accountingListAccountingPaymentterms.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingListAccountingPaymentterms.js +131 -0
- package/dist/commonjs/funcs/accountingListAccountingPaymentterms.js.map +1 -0
- package/dist/commonjs/funcs/accountingPatchAccountingPaymentterm.d.ts +15 -0
- package/dist/commonjs/funcs/accountingPatchAccountingPaymentterm.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingPatchAccountingPaymentterm.js +129 -0
- package/dist/commonjs/funcs/accountingPatchAccountingPaymentterm.js.map +1 -0
- package/dist/commonjs/funcs/accountingRemoveAccountingPaymentterm.d.ts +14 -0
- package/dist/commonjs/funcs/accountingRemoveAccountingPaymentterm.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingRemoveAccountingPaymentterm.js +123 -0
- package/dist/commonjs/funcs/accountingRemoveAccountingPaymentterm.js.map +1 -0
- package/dist/commonjs/funcs/accountingUpdateAccountingPaymentterm.d.ts +15 -0
- package/dist/commonjs/funcs/accountingUpdateAccountingPaymentterm.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingUpdateAccountingPaymentterm.js +129 -0
- package/dist/commonjs/funcs/accountingUpdateAccountingPaymentterm.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/sdk/accounting.d.ts +24 -0
- package/dist/commonjs/sdk/accounting.d.ts.map +1 -1
- package/dist/commonjs/sdk/accounting.js +42 -0
- package/dist/commonjs/sdk/accounting.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/createaccountingbill.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountingbill.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/createaccountingbill.js +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountingbill.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/createaccountingcontact.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountingcontact.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/createaccountingcontact.js +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountingcontact.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/createaccountinginvoice.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountinginvoice.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/createaccountinginvoice.js +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountinginvoice.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/createaccountingpaymentterm.d.ts +51 -0
- package/dist/commonjs/sdk/models/operations/createaccountingpaymentterm.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountingpaymentterm.js +82 -0
- package/dist/commonjs/sdk/models/operations/createaccountingpaymentterm.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountingbill.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountingbill.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getaccountingbill.js +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountingbill.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getaccountingcontact.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountingcontact.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getaccountingcontact.js +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountingcontact.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getaccountinginvoice.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountinginvoice.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getaccountinginvoice.js +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountinginvoice.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getaccountingpaymentterm.d.ts +53 -0
- package/dist/commonjs/sdk/models/operations/getaccountingpaymentterm.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountingpaymentterm.js +80 -0
- package/dist/commonjs/sdk/models/operations/getaccountingpaymentterm.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts +6 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +6 -0
- package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listaccountingbills.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/listaccountingbills.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listaccountingbills.js +1 -0
- package/dist/commonjs/sdk/models/operations/listaccountingbills.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listaccountingcontacts.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/listaccountingcontacts.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listaccountingcontacts.js +1 -0
- package/dist/commonjs/sdk/models/operations/listaccountingcontacts.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listaccountinginvoices.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/listaccountinginvoices.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listaccountinginvoices.js +1 -0
- package/dist/commonjs/sdk/models/operations/listaccountinginvoices.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listaccountingpaymentterms.d.ts +73 -0
- package/dist/commonjs/sdk/models/operations/listaccountingpaymentterms.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listaccountingpaymentterms.js +89 -0
- package/dist/commonjs/sdk/models/operations/listaccountingpaymentterms.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingbill.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingbill.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchaccountingbill.js +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingbill.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchaccountingcontact.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingcontact.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchaccountingcontact.js +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingcontact.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchaccountinginvoice.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountinginvoice.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchaccountinginvoice.js +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountinginvoice.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchaccountingpaymentterm.d.ts +56 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingpaymentterm.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingpaymentterm.js +83 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingpaymentterm.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/removeaccountingpaymentterm.d.ts +30 -0
- package/dist/commonjs/sdk/models/operations/removeaccountingpaymentterm.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/removeaccountingpaymentterm.js +68 -0
- package/dist/commonjs/sdk/models/operations/removeaccountingpaymentterm.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingbill.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingbill.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateaccountingbill.js +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingbill.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateaccountingcontact.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingcontact.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateaccountingcontact.js +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingcontact.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateaccountinginvoice.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountinginvoice.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateaccountinginvoice.js +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountinginvoice.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateaccountingpaymentterm.d.ts +56 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingpaymentterm.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingpaymentterm.js +83 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingpaymentterm.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/accountingbill.d.ts +2 -0
- package/dist/commonjs/sdk/models/shared/accountingbill.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/accountingbill.js +4 -0
- package/dist/commonjs/sdk/models/shared/accountingbill.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/accountingcontact.d.ts +2 -0
- package/dist/commonjs/sdk/models/shared/accountingcontact.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/accountingcontact.js +4 -0
- package/dist/commonjs/sdk/models/shared/accountingcontact.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/accountinginvoice.d.ts +2 -0
- package/dist/commonjs/sdk/models/shared/accountinginvoice.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/accountinginvoice.js +4 -0
- package/dist/commonjs/sdk/models/shared/accountinginvoice.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/accountingpaymentterm.d.ts +83 -0
- package/dist/commonjs/sdk/models/shared/accountingpaymentterm.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/accountingpaymentterm.js +147 -0
- package/dist/commonjs/sdk/models/shared/accountingpaymentterm.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts +1 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +1 -0
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js +2 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/webhook.d.ts +1 -0
- package/dist/commonjs/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/webhook.js +1 -0
- package/dist/commonjs/sdk/models/shared/webhook.js.map +1 -1
- package/dist/commonjs/sdk/paymentterm.d.ts +30 -0
- package/dist/commonjs/sdk/paymentterm.d.ts.map +1 -0
- package/dist/commonjs/sdk/paymentterm.js +54 -0
- package/dist/commonjs/sdk/paymentterm.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/accountingCreateAccountingPaymentterm.d.ts +15 -0
- package/dist/esm/funcs/accountingCreateAccountingPaymentterm.d.ts.map +1 -0
- package/dist/esm/funcs/accountingCreateAccountingPaymentterm.js +89 -0
- package/dist/esm/funcs/accountingCreateAccountingPaymentterm.js.map +1 -0
- package/dist/esm/funcs/accountingGetAccountingPaymentterm.d.ts +15 -0
- package/dist/esm/funcs/accountingGetAccountingPaymentterm.d.ts.map +1 -0
- package/dist/esm/funcs/accountingGetAccountingPaymentterm.js +90 -0
- package/dist/esm/funcs/accountingGetAccountingPaymentterm.js.map +1 -0
- package/dist/esm/funcs/accountingListAccountingPaymentterms.d.ts +15 -0
- package/dist/esm/funcs/accountingListAccountingPaymentterms.d.ts.map +1 -0
- package/dist/esm/funcs/accountingListAccountingPaymentterms.js +95 -0
- package/dist/esm/funcs/accountingListAccountingPaymentterms.js.map +1 -0
- package/dist/esm/funcs/accountingPatchAccountingPaymentterm.d.ts +15 -0
- package/dist/esm/funcs/accountingPatchAccountingPaymentterm.d.ts.map +1 -0
- package/dist/esm/funcs/accountingPatchAccountingPaymentterm.js +93 -0
- package/dist/esm/funcs/accountingPatchAccountingPaymentterm.js.map +1 -0
- package/dist/esm/funcs/accountingRemoveAccountingPaymentterm.d.ts +14 -0
- package/dist/esm/funcs/accountingRemoveAccountingPaymentterm.d.ts.map +1 -0
- package/dist/esm/funcs/accountingRemoveAccountingPaymentterm.js +87 -0
- package/dist/esm/funcs/accountingRemoveAccountingPaymentterm.js.map +1 -0
- package/dist/esm/funcs/accountingUpdateAccountingPaymentterm.d.ts +15 -0
- package/dist/esm/funcs/accountingUpdateAccountingPaymentterm.d.ts.map +1 -0
- package/dist/esm/funcs/accountingUpdateAccountingPaymentterm.js +93 -0
- package/dist/esm/funcs/accountingUpdateAccountingPaymentterm.js.map +1 -0
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/sdk/accounting.d.ts +24 -0
- package/dist/esm/sdk/accounting.d.ts.map +1 -1
- package/dist/esm/sdk/accounting.js +42 -0
- package/dist/esm/sdk/accounting.js.map +1 -1
- package/dist/esm/sdk/models/operations/createaccountingbill.d.ts +1 -0
- package/dist/esm/sdk/models/operations/createaccountingbill.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/createaccountingbill.js +1 -0
- package/dist/esm/sdk/models/operations/createaccountingbill.js.map +1 -1
- package/dist/esm/sdk/models/operations/createaccountingcontact.d.ts +1 -0
- package/dist/esm/sdk/models/operations/createaccountingcontact.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/createaccountingcontact.js +1 -0
- package/dist/esm/sdk/models/operations/createaccountingcontact.js.map +1 -1
- package/dist/esm/sdk/models/operations/createaccountinginvoice.d.ts +1 -0
- package/dist/esm/sdk/models/operations/createaccountinginvoice.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/createaccountinginvoice.js +1 -0
- package/dist/esm/sdk/models/operations/createaccountinginvoice.js.map +1 -1
- package/dist/esm/sdk/models/operations/createaccountingpaymentterm.d.ts +51 -0
- package/dist/esm/sdk/models/operations/createaccountingpaymentterm.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/createaccountingpaymentterm.js +45 -0
- package/dist/esm/sdk/models/operations/createaccountingpaymentterm.js.map +1 -0
- package/dist/esm/sdk/models/operations/getaccountingbill.d.ts +1 -0
- package/dist/esm/sdk/models/operations/getaccountingbill.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getaccountingbill.js +1 -0
- package/dist/esm/sdk/models/operations/getaccountingbill.js.map +1 -1
- package/dist/esm/sdk/models/operations/getaccountingcontact.d.ts +1 -0
- package/dist/esm/sdk/models/operations/getaccountingcontact.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getaccountingcontact.js +1 -0
- package/dist/esm/sdk/models/operations/getaccountingcontact.js.map +1 -1
- package/dist/esm/sdk/models/operations/getaccountinginvoice.d.ts +1 -0
- package/dist/esm/sdk/models/operations/getaccountinginvoice.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getaccountinginvoice.js +1 -0
- package/dist/esm/sdk/models/operations/getaccountinginvoice.js.map +1 -1
- package/dist/esm/sdk/models/operations/getaccountingpaymentterm.d.ts +53 -0
- package/dist/esm/sdk/models/operations/getaccountingpaymentterm.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getaccountingpaymentterm.js +43 -0
- package/dist/esm/sdk/models/operations/getaccountingpaymentterm.js.map +1 -0
- package/dist/esm/sdk/models/operations/index.d.ts +6 -0
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +6 -0
- package/dist/esm/sdk/models/operations/index.js.map +1 -1
- package/dist/esm/sdk/models/operations/listaccountingbills.d.ts +1 -0
- package/dist/esm/sdk/models/operations/listaccountingbills.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listaccountingbills.js +1 -0
- package/dist/esm/sdk/models/operations/listaccountingbills.js.map +1 -1
- package/dist/esm/sdk/models/operations/listaccountingcontacts.d.ts +1 -0
- package/dist/esm/sdk/models/operations/listaccountingcontacts.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listaccountingcontacts.js +1 -0
- package/dist/esm/sdk/models/operations/listaccountingcontacts.js.map +1 -1
- package/dist/esm/sdk/models/operations/listaccountinginvoices.d.ts +1 -0
- package/dist/esm/sdk/models/operations/listaccountinginvoices.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listaccountinginvoices.js +1 -0
- package/dist/esm/sdk/models/operations/listaccountinginvoices.js.map +1 -1
- package/dist/esm/sdk/models/operations/listaccountingpaymentterms.d.ts +73 -0
- package/dist/esm/sdk/models/operations/listaccountingpaymentterms.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listaccountingpaymentterms.js +52 -0
- package/dist/esm/sdk/models/operations/listaccountingpaymentterms.js.map +1 -0
- package/dist/esm/sdk/models/operations/patchaccountingbill.d.ts +1 -0
- package/dist/esm/sdk/models/operations/patchaccountingbill.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/patchaccountingbill.js +1 -0
- package/dist/esm/sdk/models/operations/patchaccountingbill.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchaccountingcontact.d.ts +1 -0
- package/dist/esm/sdk/models/operations/patchaccountingcontact.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/patchaccountingcontact.js +1 -0
- package/dist/esm/sdk/models/operations/patchaccountingcontact.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchaccountinginvoice.d.ts +1 -0
- package/dist/esm/sdk/models/operations/patchaccountinginvoice.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/patchaccountinginvoice.js +1 -0
- package/dist/esm/sdk/models/operations/patchaccountinginvoice.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchaccountingpaymentterm.d.ts +56 -0
- package/dist/esm/sdk/models/operations/patchaccountingpaymentterm.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/patchaccountingpaymentterm.js +46 -0
- package/dist/esm/sdk/models/operations/patchaccountingpaymentterm.js.map +1 -0
- package/dist/esm/sdk/models/operations/removeaccountingpaymentterm.d.ts +30 -0
- package/dist/esm/sdk/models/operations/removeaccountingpaymentterm.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/removeaccountingpaymentterm.js +30 -0
- package/dist/esm/sdk/models/operations/removeaccountingpaymentterm.js.map +1 -0
- package/dist/esm/sdk/models/operations/updateaccountingbill.d.ts +1 -0
- package/dist/esm/sdk/models/operations/updateaccountingbill.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/updateaccountingbill.js +1 -0
- package/dist/esm/sdk/models/operations/updateaccountingbill.js.map +1 -1
- package/dist/esm/sdk/models/operations/updateaccountingcontact.d.ts +1 -0
- package/dist/esm/sdk/models/operations/updateaccountingcontact.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/updateaccountingcontact.js +1 -0
- package/dist/esm/sdk/models/operations/updateaccountingcontact.js.map +1 -1
- package/dist/esm/sdk/models/operations/updateaccountinginvoice.d.ts +1 -0
- package/dist/esm/sdk/models/operations/updateaccountinginvoice.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/updateaccountinginvoice.js +1 -0
- package/dist/esm/sdk/models/operations/updateaccountinginvoice.js.map +1 -1
- package/dist/esm/sdk/models/operations/updateaccountingpaymentterm.d.ts +56 -0
- package/dist/esm/sdk/models/operations/updateaccountingpaymentterm.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/updateaccountingpaymentterm.js +46 -0
- package/dist/esm/sdk/models/operations/updateaccountingpaymentterm.js.map +1 -0
- package/dist/esm/sdk/models/shared/accountingbill.d.ts +2 -0
- package/dist/esm/sdk/models/shared/accountingbill.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/accountingbill.js +4 -0
- package/dist/esm/sdk/models/shared/accountingbill.js.map +1 -1
- package/dist/esm/sdk/models/shared/accountingcontact.d.ts +2 -0
- package/dist/esm/sdk/models/shared/accountingcontact.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/accountingcontact.js +4 -0
- package/dist/esm/sdk/models/shared/accountingcontact.js.map +1 -1
- package/dist/esm/sdk/models/shared/accountinginvoice.d.ts +2 -0
- package/dist/esm/sdk/models/shared/accountinginvoice.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/accountinginvoice.js +4 -0
- package/dist/esm/sdk/models/shared/accountinginvoice.js.map +1 -1
- package/dist/esm/sdk/models/shared/accountingpaymentterm.d.ts +83 -0
- package/dist/esm/sdk/models/shared/accountingpaymentterm.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/accountingpaymentterm.js +109 -0
- package/dist/esm/sdk/models/shared/accountingpaymentterm.js.map +1 -0
- package/dist/esm/sdk/models/shared/index.d.ts +1 -0
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +1 -0
- package/dist/esm/sdk/models/shared/index.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js +2 -0
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/dist/esm/sdk/models/shared/webhook.d.ts +1 -0
- package/dist/esm/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/webhook.js +1 -0
- package/dist/esm/sdk/models/shared/webhook.js.map +1 -1
- package/dist/esm/sdk/paymentterm.d.ts +30 -0
- package/dist/esm/sdk/paymentterm.d.ts.map +1 -0
- package/dist/esm/sdk/paymentterm.js +50 -0
- package/dist/esm/sdk/paymentterm.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/accountingCreateAccountingPaymentterm.ts +176 -0
- package/src/funcs/accountingGetAccountingPaymentterm.ts +177 -0
- package/src/funcs/accountingListAccountingPaymentterms.ts +182 -0
- package/src/funcs/accountingPatchAccountingPaymentterm.ts +180 -0
- package/src/funcs/accountingRemoveAccountingPaymentterm.ts +182 -0
- package/src/funcs/accountingUpdateAccountingPaymentterm.ts +180 -0
- package/src/lib/config.ts +2 -2
- package/src/sdk/accounting.ts +90 -0
- package/src/sdk/models/operations/createaccountingbill.ts +1 -0
- package/src/sdk/models/operations/createaccountingcontact.ts +1 -0
- package/src/sdk/models/operations/createaccountinginvoice.ts +1 -0
- package/src/sdk/models/operations/createaccountingpaymentterm.ts +88 -0
- package/src/sdk/models/operations/getaccountingbill.ts +1 -0
- package/src/sdk/models/operations/getaccountingcontact.ts +1 -0
- package/src/sdk/models/operations/getaccountinginvoice.ts +1 -0
- package/src/sdk/models/operations/getaccountingpaymentterm.ts +89 -0
- package/src/sdk/models/operations/index.ts +6 -0
- package/src/sdk/models/operations/listaccountingbills.ts +1 -0
- package/src/sdk/models/operations/listaccountingcontacts.ts +1 -0
- package/src/sdk/models/operations/listaccountinginvoices.ts +1 -0
- package/src/sdk/models/operations/listaccountingpaymentterms.ts +118 -0
- package/src/sdk/models/operations/patchaccountingbill.ts +1 -0
- package/src/sdk/models/operations/patchaccountingcontact.ts +1 -0
- package/src/sdk/models/operations/patchaccountinginvoice.ts +1 -0
- package/src/sdk/models/operations/patchaccountingpaymentterm.ts +94 -0
- package/src/sdk/models/operations/removeaccountingpaymentterm.ts +78 -0
- package/src/sdk/models/operations/updateaccountingbill.ts +1 -0
- package/src/sdk/models/operations/updateaccountingcontact.ts +1 -0
- package/src/sdk/models/operations/updateaccountinginvoice.ts +1 -0
- package/src/sdk/models/operations/updateaccountingpaymentterm.ts +94 -0
- package/src/sdk/models/shared/accountingbill.ts +6 -0
- package/src/sdk/models/shared/accountingcontact.ts +6 -0
- package/src/sdk/models/shared/accountinginvoice.ts +6 -0
- package/src/sdk/models/shared/accountingpaymentterm.ts +202 -0
- package/src/sdk/models/shared/index.ts +1 -0
- package/src/sdk/models/shared/propertyconnectionpermissions.ts +2 -0
- package/src/sdk/models/shared/webhook.ts +1 -0
- package/src/sdk/paymentterm.ts +100 -0
- package/src/sdk/sdk.ts +6 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
|
|
9
|
+
export const GetAccountingPaymenttermQueryParamFields = {
|
|
10
|
+
Id: "id",
|
|
11
|
+
CreatedAt: "created_at",
|
|
12
|
+
UpdatedAt: "updated_at",
|
|
13
|
+
Name: "name",
|
|
14
|
+
Description: "description",
|
|
15
|
+
Type: "type",
|
|
16
|
+
Category: "category",
|
|
17
|
+
IsActive: "is_active",
|
|
18
|
+
DueDays: "due_days",
|
|
19
|
+
DiscountDays: "discount_days",
|
|
20
|
+
DiscountPercent: "discount_percent",
|
|
21
|
+
DayOfMonthDue: "day_of_month_due",
|
|
22
|
+
DiscountDayOfMonth: "discount_day_of_month",
|
|
23
|
+
DueNextMonthDays: "due_next_month_days",
|
|
24
|
+
OrganizationId: "organization_id",
|
|
25
|
+
Metadata: "metadata",
|
|
26
|
+
Raw: "raw",
|
|
27
|
+
} as const;
|
|
28
|
+
export type GetAccountingPaymenttermQueryParamFields = ClosedEnum<
|
|
29
|
+
typeof GetAccountingPaymenttermQueryParamFields
|
|
30
|
+
>;
|
|
31
|
+
|
|
32
|
+
export type GetAccountingPaymenttermRequest = {
|
|
33
|
+
/**
|
|
34
|
+
* ID of the connection
|
|
35
|
+
*/
|
|
36
|
+
connectionId: string;
|
|
37
|
+
/**
|
|
38
|
+
* Fields to return
|
|
39
|
+
*/
|
|
40
|
+
fields?: Array<GetAccountingPaymenttermQueryParamFields> | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* ID of the Paymentterm
|
|
43
|
+
*/
|
|
44
|
+
id: string;
|
|
45
|
+
/**
|
|
46
|
+
* Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
|
|
47
|
+
*/
|
|
48
|
+
raw?: string | undefined;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const GetAccountingPaymenttermQueryParamFields$outboundSchema:
|
|
53
|
+
z.ZodNativeEnum<typeof GetAccountingPaymenttermQueryParamFields> = z
|
|
54
|
+
.nativeEnum(GetAccountingPaymenttermQueryParamFields);
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export type GetAccountingPaymenttermRequest$Outbound = {
|
|
58
|
+
connection_id: string;
|
|
59
|
+
fields?: Array<string> | undefined;
|
|
60
|
+
id: string;
|
|
61
|
+
raw?: string | undefined;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/** @internal */
|
|
65
|
+
export const GetAccountingPaymenttermRequest$outboundSchema: z.ZodType<
|
|
66
|
+
GetAccountingPaymenttermRequest$Outbound,
|
|
67
|
+
z.ZodTypeDef,
|
|
68
|
+
GetAccountingPaymenttermRequest
|
|
69
|
+
> = z.object({
|
|
70
|
+
connectionId: z.string(),
|
|
71
|
+
fields: z.array(GetAccountingPaymenttermQueryParamFields$outboundSchema)
|
|
72
|
+
.optional(),
|
|
73
|
+
id: z.string(),
|
|
74
|
+
raw: z.string().optional(),
|
|
75
|
+
}).transform((v) => {
|
|
76
|
+
return remap$(v, {
|
|
77
|
+
connectionId: "connection_id",
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
export function getAccountingPaymenttermRequestToJSON(
|
|
82
|
+
getAccountingPaymenttermRequest: GetAccountingPaymenttermRequest,
|
|
83
|
+
): string {
|
|
84
|
+
return JSON.stringify(
|
|
85
|
+
GetAccountingPaymenttermRequest$outboundSchema.parse(
|
|
86
|
+
getAccountingPaymenttermRequest,
|
|
87
|
+
),
|
|
88
|
+
);
|
|
89
|
+
}
|
|
@@ -13,6 +13,7 @@ export * from "./createaccountingexpense.js";
|
|
|
13
13
|
export * from "./createaccountinginvoice.js";
|
|
14
14
|
export * from "./createaccountingjournal.js";
|
|
15
15
|
export * from "./createaccountingorder.js";
|
|
16
|
+
export * from "./createaccountingpaymentterm.js";
|
|
16
17
|
export * from "./createaccountingproject.js";
|
|
17
18
|
export * from "./createaccountingpurchaseorder.js";
|
|
18
19
|
export * from "./createaccountingquote.js";
|
|
@@ -146,6 +147,7 @@ export * from "./getaccountinginvoice.js";
|
|
|
146
147
|
export * from "./getaccountingjournal.js";
|
|
147
148
|
export * from "./getaccountingorder.js";
|
|
148
149
|
export * from "./getaccountingorganization.js";
|
|
150
|
+
export * from "./getaccountingpaymentterm.js";
|
|
149
151
|
export * from "./getaccountingprofitloss.js";
|
|
150
152
|
export * from "./getaccountingproject.js";
|
|
151
153
|
export * from "./getaccountingpurchaseorder.js";
|
|
@@ -306,6 +308,7 @@ export * from "./listaccountinginvoices.js";
|
|
|
306
308
|
export * from "./listaccountingjournals.js";
|
|
307
309
|
export * from "./listaccountingorders.js";
|
|
308
310
|
export * from "./listaccountingorganizations.js";
|
|
311
|
+
export * from "./listaccountingpaymentterms.js";
|
|
309
312
|
export * from "./listaccountingprofitlosses.js";
|
|
310
313
|
export * from "./listaccountingprojects.js";
|
|
311
314
|
export * from "./listaccountingpurchaseorders.js";
|
|
@@ -471,6 +474,7 @@ export * from "./patchaccountingexpense.js";
|
|
|
471
474
|
export * from "./patchaccountinginvoice.js";
|
|
472
475
|
export * from "./patchaccountingjournal.js";
|
|
473
476
|
export * from "./patchaccountingorder.js";
|
|
477
|
+
export * from "./patchaccountingpaymentterm.js";
|
|
474
478
|
export * from "./patchaccountingproject.js";
|
|
475
479
|
export * from "./patchaccountingpurchaseorder.js";
|
|
476
480
|
export * from "./patchaccountingquote.js";
|
|
@@ -596,6 +600,7 @@ export * from "./removeaccountingexpense.js";
|
|
|
596
600
|
export * from "./removeaccountinginvoice.js";
|
|
597
601
|
export * from "./removeaccountingjournal.js";
|
|
598
602
|
export * from "./removeaccountingorder.js";
|
|
603
|
+
export * from "./removeaccountingpaymentterm.js";
|
|
599
604
|
export * from "./removeaccountingproject.js";
|
|
600
605
|
export * from "./removeaccountingpurchaseorder.js";
|
|
601
606
|
export * from "./removeaccountingquote.js";
|
|
@@ -719,6 +724,7 @@ export * from "./updateaccountingexpense.js";
|
|
|
719
724
|
export * from "./updateaccountinginvoice.js";
|
|
720
725
|
export * from "./updateaccountingjournal.js";
|
|
721
726
|
export * from "./updateaccountingorder.js";
|
|
727
|
+
export * from "./updateaccountingpaymentterm.js";
|
|
722
728
|
export * from "./updateaccountingproject.js";
|
|
723
729
|
export * from "./updateaccountingpurchaseorder.js";
|
|
724
730
|
export * from "./updateaccountingquote.js";
|
|
@@ -35,6 +35,7 @@ export const ListAccountingBillsQueryParamFields = {
|
|
|
35
35
|
OrganizationId: "organization_id",
|
|
36
36
|
Term: "term",
|
|
37
37
|
PaymentTerms: "payment_terms",
|
|
38
|
+
PaymenttermId: "paymentterm_id",
|
|
38
39
|
Payments: "payments",
|
|
39
40
|
CategoryIds: "category_ids",
|
|
40
41
|
ProjectId: "project_id",
|
|
@@ -30,6 +30,7 @@ export const ListAccountingContactsQueryParamFields = {
|
|
|
30
30
|
AssociatedContacts: "associated_contacts",
|
|
31
31
|
OrganizationId: "organization_id",
|
|
32
32
|
PaymentTerms: "payment_terms",
|
|
33
|
+
PaymenttermId: "paymentterm_id",
|
|
33
34
|
Raw: "raw",
|
|
34
35
|
} as const;
|
|
35
36
|
export type ListAccountingContactsQueryParamFields = ClosedEnum<
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
|
|
9
|
+
export const ListAccountingPaymenttermsQueryParamFields = {
|
|
10
|
+
Id: "id",
|
|
11
|
+
CreatedAt: "created_at",
|
|
12
|
+
UpdatedAt: "updated_at",
|
|
13
|
+
Name: "name",
|
|
14
|
+
Description: "description",
|
|
15
|
+
Type: "type",
|
|
16
|
+
Category: "category",
|
|
17
|
+
IsActive: "is_active",
|
|
18
|
+
DueDays: "due_days",
|
|
19
|
+
DiscountDays: "discount_days",
|
|
20
|
+
DiscountPercent: "discount_percent",
|
|
21
|
+
DayOfMonthDue: "day_of_month_due",
|
|
22
|
+
DiscountDayOfMonth: "discount_day_of_month",
|
|
23
|
+
DueNextMonthDays: "due_next_month_days",
|
|
24
|
+
OrganizationId: "organization_id",
|
|
25
|
+
Metadata: "metadata",
|
|
26
|
+
Raw: "raw",
|
|
27
|
+
} as const;
|
|
28
|
+
export type ListAccountingPaymenttermsQueryParamFields = ClosedEnum<
|
|
29
|
+
typeof ListAccountingPaymenttermsQueryParamFields
|
|
30
|
+
>;
|
|
31
|
+
|
|
32
|
+
export type ListAccountingPaymenttermsRequest = {
|
|
33
|
+
/**
|
|
34
|
+
* ID of the connection
|
|
35
|
+
*/
|
|
36
|
+
connectionId: string;
|
|
37
|
+
/**
|
|
38
|
+
* Fields to return
|
|
39
|
+
*/
|
|
40
|
+
fields?: Array<ListAccountingPaymenttermsQueryParamFields> | undefined;
|
|
41
|
+
limit?: number | undefined;
|
|
42
|
+
offset?: number | undefined;
|
|
43
|
+
order?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* The org ID to filter by (reference to AccountingOrganization)
|
|
46
|
+
*/
|
|
47
|
+
orgId?: string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Query string to search. eg. email address or name
|
|
50
|
+
*/
|
|
51
|
+
query?: string | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
|
|
54
|
+
*/
|
|
55
|
+
raw?: string | undefined;
|
|
56
|
+
sort?: string | undefined;
|
|
57
|
+
type?: string | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
60
|
+
*/
|
|
61
|
+
updatedGte?: string | undefined;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/** @internal */
|
|
65
|
+
export const ListAccountingPaymenttermsQueryParamFields$outboundSchema:
|
|
66
|
+
z.ZodNativeEnum<typeof ListAccountingPaymenttermsQueryParamFields> = z
|
|
67
|
+
.nativeEnum(ListAccountingPaymenttermsQueryParamFields);
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export type ListAccountingPaymenttermsRequest$Outbound = {
|
|
71
|
+
connection_id: string;
|
|
72
|
+
fields?: Array<string> | undefined;
|
|
73
|
+
limit?: number | undefined;
|
|
74
|
+
offset?: number | undefined;
|
|
75
|
+
order?: string | undefined;
|
|
76
|
+
org_id?: string | undefined;
|
|
77
|
+
query?: string | undefined;
|
|
78
|
+
raw?: string | undefined;
|
|
79
|
+
sort?: string | undefined;
|
|
80
|
+
type?: string | undefined;
|
|
81
|
+
updated_gte?: string | undefined;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
/** @internal */
|
|
85
|
+
export const ListAccountingPaymenttermsRequest$outboundSchema: z.ZodType<
|
|
86
|
+
ListAccountingPaymenttermsRequest$Outbound,
|
|
87
|
+
z.ZodTypeDef,
|
|
88
|
+
ListAccountingPaymenttermsRequest
|
|
89
|
+
> = z.object({
|
|
90
|
+
connectionId: z.string(),
|
|
91
|
+
fields: z.array(ListAccountingPaymenttermsQueryParamFields$outboundSchema)
|
|
92
|
+
.optional(),
|
|
93
|
+
limit: z.number().optional(),
|
|
94
|
+
offset: z.number().optional(),
|
|
95
|
+
order: z.string().optional(),
|
|
96
|
+
orgId: z.string().optional(),
|
|
97
|
+
query: z.string().optional(),
|
|
98
|
+
raw: z.string().optional(),
|
|
99
|
+
sort: z.string().optional(),
|
|
100
|
+
type: z.string().optional(),
|
|
101
|
+
updatedGte: z.string().optional(),
|
|
102
|
+
}).transform((v) => {
|
|
103
|
+
return remap$(v, {
|
|
104
|
+
connectionId: "connection_id",
|
|
105
|
+
orgId: "org_id",
|
|
106
|
+
updatedGte: "updated_gte",
|
|
107
|
+
});
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
export function listAccountingPaymenttermsRequestToJSON(
|
|
111
|
+
listAccountingPaymenttermsRequest: ListAccountingPaymenttermsRequest,
|
|
112
|
+
): string {
|
|
113
|
+
return JSON.stringify(
|
|
114
|
+
ListAccountingPaymenttermsRequest$outboundSchema.parse(
|
|
115
|
+
listAccountingPaymenttermsRequest,
|
|
116
|
+
),
|
|
117
|
+
);
|
|
118
|
+
}
|
|
@@ -36,6 +36,7 @@ export const PatchAccountingBillQueryParamFields = {
|
|
|
36
36
|
OrganizationId: "organization_id",
|
|
37
37
|
Term: "term",
|
|
38
38
|
PaymentTerms: "payment_terms",
|
|
39
|
+
PaymenttermId: "paymentterm_id",
|
|
39
40
|
Payments: "payments",
|
|
40
41
|
CategoryIds: "category_ids",
|
|
41
42
|
ProjectId: "project_id",
|
|
@@ -31,6 +31,7 @@ export const PatchAccountingContactQueryParamFields = {
|
|
|
31
31
|
AssociatedContacts: "associated_contacts",
|
|
32
32
|
OrganizationId: "organization_id",
|
|
33
33
|
PaymentTerms: "payment_terms",
|
|
34
|
+
PaymenttermId: "paymentterm_id",
|
|
34
35
|
Raw: "raw",
|
|
35
36
|
} as const;
|
|
36
37
|
export type PatchAccountingContactQueryParamFields = ClosedEnum<
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import * as shared from "../shared/index.js";
|
|
9
|
+
|
|
10
|
+
export const PatchAccountingPaymenttermQueryParamFields = {
|
|
11
|
+
Id: "id",
|
|
12
|
+
CreatedAt: "created_at",
|
|
13
|
+
UpdatedAt: "updated_at",
|
|
14
|
+
Name: "name",
|
|
15
|
+
Description: "description",
|
|
16
|
+
Type: "type",
|
|
17
|
+
Category: "category",
|
|
18
|
+
IsActive: "is_active",
|
|
19
|
+
DueDays: "due_days",
|
|
20
|
+
DiscountDays: "discount_days",
|
|
21
|
+
DiscountPercent: "discount_percent",
|
|
22
|
+
DayOfMonthDue: "day_of_month_due",
|
|
23
|
+
DiscountDayOfMonth: "discount_day_of_month",
|
|
24
|
+
DueNextMonthDays: "due_next_month_days",
|
|
25
|
+
OrganizationId: "organization_id",
|
|
26
|
+
Metadata: "metadata",
|
|
27
|
+
Raw: "raw",
|
|
28
|
+
} as const;
|
|
29
|
+
export type PatchAccountingPaymenttermQueryParamFields = ClosedEnum<
|
|
30
|
+
typeof PatchAccountingPaymenttermQueryParamFields
|
|
31
|
+
>;
|
|
32
|
+
|
|
33
|
+
export type PatchAccountingPaymenttermRequest = {
|
|
34
|
+
accountingPaymentterm: shared.AccountingPaymentterm;
|
|
35
|
+
/**
|
|
36
|
+
* ID of the connection
|
|
37
|
+
*/
|
|
38
|
+
connectionId: string;
|
|
39
|
+
/**
|
|
40
|
+
* Fields to return
|
|
41
|
+
*/
|
|
42
|
+
fields?: Array<PatchAccountingPaymenttermQueryParamFields> | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* ID of the Paymentterm
|
|
45
|
+
*/
|
|
46
|
+
id: string;
|
|
47
|
+
/**
|
|
48
|
+
* Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
|
|
49
|
+
*/
|
|
50
|
+
raw?: string | undefined;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export const PatchAccountingPaymenttermQueryParamFields$outboundSchema:
|
|
55
|
+
z.ZodNativeEnum<typeof PatchAccountingPaymenttermQueryParamFields> = z
|
|
56
|
+
.nativeEnum(PatchAccountingPaymenttermQueryParamFields);
|
|
57
|
+
|
|
58
|
+
/** @internal */
|
|
59
|
+
export type PatchAccountingPaymenttermRequest$Outbound = {
|
|
60
|
+
AccountingPaymentterm: shared.AccountingPaymentterm$Outbound;
|
|
61
|
+
connection_id: string;
|
|
62
|
+
fields?: Array<string> | undefined;
|
|
63
|
+
id: string;
|
|
64
|
+
raw?: string | undefined;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
/** @internal */
|
|
68
|
+
export const PatchAccountingPaymenttermRequest$outboundSchema: z.ZodType<
|
|
69
|
+
PatchAccountingPaymenttermRequest$Outbound,
|
|
70
|
+
z.ZodTypeDef,
|
|
71
|
+
PatchAccountingPaymenttermRequest
|
|
72
|
+
> = z.object({
|
|
73
|
+
accountingPaymentterm: shared.AccountingPaymentterm$outboundSchema,
|
|
74
|
+
connectionId: z.string(),
|
|
75
|
+
fields: z.array(PatchAccountingPaymenttermQueryParamFields$outboundSchema)
|
|
76
|
+
.optional(),
|
|
77
|
+
id: z.string(),
|
|
78
|
+
raw: z.string().optional(),
|
|
79
|
+
}).transform((v) => {
|
|
80
|
+
return remap$(v, {
|
|
81
|
+
accountingPaymentterm: "AccountingPaymentterm",
|
|
82
|
+
connectionId: "connection_id",
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
export function patchAccountingPaymenttermRequestToJSON(
|
|
87
|
+
patchAccountingPaymenttermRequest: PatchAccountingPaymenttermRequest,
|
|
88
|
+
): string {
|
|
89
|
+
return JSON.stringify(
|
|
90
|
+
PatchAccountingPaymenttermRequest$outboundSchema.parse(
|
|
91
|
+
patchAccountingPaymenttermRequest,
|
|
92
|
+
),
|
|
93
|
+
);
|
|
94
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type RemoveAccountingPaymenttermRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* ID of the connection
|
|
14
|
+
*/
|
|
15
|
+
connectionId: string;
|
|
16
|
+
/**
|
|
17
|
+
* ID of the Paymentterm
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type RemoveAccountingPaymenttermResponse = {
|
|
23
|
+
headers: { [k: string]: Array<string> };
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export type RemoveAccountingPaymenttermRequest$Outbound = {
|
|
28
|
+
connection_id: string;
|
|
29
|
+
id: string;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const RemoveAccountingPaymenttermRequest$outboundSchema: z.ZodType<
|
|
34
|
+
RemoveAccountingPaymenttermRequest$Outbound,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
RemoveAccountingPaymenttermRequest
|
|
37
|
+
> = z.object({
|
|
38
|
+
connectionId: z.string(),
|
|
39
|
+
id: z.string(),
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
connectionId: "connection_id",
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export function removeAccountingPaymenttermRequestToJSON(
|
|
47
|
+
removeAccountingPaymenttermRequest: RemoveAccountingPaymenttermRequest,
|
|
48
|
+
): string {
|
|
49
|
+
return JSON.stringify(
|
|
50
|
+
RemoveAccountingPaymenttermRequest$outboundSchema.parse(
|
|
51
|
+
removeAccountingPaymenttermRequest,
|
|
52
|
+
),
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export const RemoveAccountingPaymenttermResponse$inboundSchema: z.ZodType<
|
|
58
|
+
RemoveAccountingPaymenttermResponse,
|
|
59
|
+
z.ZodTypeDef,
|
|
60
|
+
unknown
|
|
61
|
+
> = z.object({
|
|
62
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
63
|
+
}).transform((v) => {
|
|
64
|
+
return remap$(v, {
|
|
65
|
+
"Headers": "headers",
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
export function removeAccountingPaymenttermResponseFromJSON(
|
|
70
|
+
jsonString: string,
|
|
71
|
+
): SafeParseResult<RemoveAccountingPaymenttermResponse, SDKValidationError> {
|
|
72
|
+
return safeParse(
|
|
73
|
+
jsonString,
|
|
74
|
+
(x) =>
|
|
75
|
+
RemoveAccountingPaymenttermResponse$inboundSchema.parse(JSON.parse(x)),
|
|
76
|
+
`Failed to parse 'RemoveAccountingPaymenttermResponse' from JSON`,
|
|
77
|
+
);
|
|
78
|
+
}
|
|
@@ -36,6 +36,7 @@ export const UpdateAccountingBillQueryParamFields = {
|
|
|
36
36
|
OrganizationId: "organization_id",
|
|
37
37
|
Term: "term",
|
|
38
38
|
PaymentTerms: "payment_terms",
|
|
39
|
+
PaymenttermId: "paymentterm_id",
|
|
39
40
|
Payments: "payments",
|
|
40
41
|
CategoryIds: "category_ids",
|
|
41
42
|
ProjectId: "project_id",
|
|
@@ -31,6 +31,7 @@ export const UpdateAccountingContactQueryParamFields = {
|
|
|
31
31
|
AssociatedContacts: "associated_contacts",
|
|
32
32
|
OrganizationId: "organization_id",
|
|
33
33
|
PaymentTerms: "payment_terms",
|
|
34
|
+
PaymenttermId: "paymentterm_id",
|
|
34
35
|
Raw: "raw",
|
|
35
36
|
} as const;
|
|
36
37
|
export type UpdateAccountingContactQueryParamFields = ClosedEnum<
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import * as shared from "../shared/index.js";
|
|
9
|
+
|
|
10
|
+
export const UpdateAccountingPaymenttermQueryParamFields = {
|
|
11
|
+
Id: "id",
|
|
12
|
+
CreatedAt: "created_at",
|
|
13
|
+
UpdatedAt: "updated_at",
|
|
14
|
+
Name: "name",
|
|
15
|
+
Description: "description",
|
|
16
|
+
Type: "type",
|
|
17
|
+
Category: "category",
|
|
18
|
+
IsActive: "is_active",
|
|
19
|
+
DueDays: "due_days",
|
|
20
|
+
DiscountDays: "discount_days",
|
|
21
|
+
DiscountPercent: "discount_percent",
|
|
22
|
+
DayOfMonthDue: "day_of_month_due",
|
|
23
|
+
DiscountDayOfMonth: "discount_day_of_month",
|
|
24
|
+
DueNextMonthDays: "due_next_month_days",
|
|
25
|
+
OrganizationId: "organization_id",
|
|
26
|
+
Metadata: "metadata",
|
|
27
|
+
Raw: "raw",
|
|
28
|
+
} as const;
|
|
29
|
+
export type UpdateAccountingPaymenttermQueryParamFields = ClosedEnum<
|
|
30
|
+
typeof UpdateAccountingPaymenttermQueryParamFields
|
|
31
|
+
>;
|
|
32
|
+
|
|
33
|
+
export type UpdateAccountingPaymenttermRequest = {
|
|
34
|
+
accountingPaymentterm: shared.AccountingPaymentterm;
|
|
35
|
+
/**
|
|
36
|
+
* ID of the connection
|
|
37
|
+
*/
|
|
38
|
+
connectionId: string;
|
|
39
|
+
/**
|
|
40
|
+
* Fields to return
|
|
41
|
+
*/
|
|
42
|
+
fields?: Array<UpdateAccountingPaymenttermQueryParamFields> | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* ID of the Paymentterm
|
|
45
|
+
*/
|
|
46
|
+
id: string;
|
|
47
|
+
/**
|
|
48
|
+
* Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
|
|
49
|
+
*/
|
|
50
|
+
raw?: string | undefined;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export const UpdateAccountingPaymenttermQueryParamFields$outboundSchema:
|
|
55
|
+
z.ZodNativeEnum<typeof UpdateAccountingPaymenttermQueryParamFields> = z
|
|
56
|
+
.nativeEnum(UpdateAccountingPaymenttermQueryParamFields);
|
|
57
|
+
|
|
58
|
+
/** @internal */
|
|
59
|
+
export type UpdateAccountingPaymenttermRequest$Outbound = {
|
|
60
|
+
AccountingPaymentterm: shared.AccountingPaymentterm$Outbound;
|
|
61
|
+
connection_id: string;
|
|
62
|
+
fields?: Array<string> | undefined;
|
|
63
|
+
id: string;
|
|
64
|
+
raw?: string | undefined;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
/** @internal */
|
|
68
|
+
export const UpdateAccountingPaymenttermRequest$outboundSchema: z.ZodType<
|
|
69
|
+
UpdateAccountingPaymenttermRequest$Outbound,
|
|
70
|
+
z.ZodTypeDef,
|
|
71
|
+
UpdateAccountingPaymenttermRequest
|
|
72
|
+
> = z.object({
|
|
73
|
+
accountingPaymentterm: shared.AccountingPaymentterm$outboundSchema,
|
|
74
|
+
connectionId: z.string(),
|
|
75
|
+
fields: z.array(UpdateAccountingPaymenttermQueryParamFields$outboundSchema)
|
|
76
|
+
.optional(),
|
|
77
|
+
id: z.string(),
|
|
78
|
+
raw: z.string().optional(),
|
|
79
|
+
}).transform((v) => {
|
|
80
|
+
return remap$(v, {
|
|
81
|
+
accountingPaymentterm: "AccountingPaymentterm",
|
|
82
|
+
connectionId: "connection_id",
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
export function updateAccountingPaymenttermRequestToJSON(
|
|
87
|
+
updateAccountingPaymenttermRequest: UpdateAccountingPaymenttermRequest,
|
|
88
|
+
): string {
|
|
89
|
+
return JSON.stringify(
|
|
90
|
+
UpdateAccountingPaymenttermRequest$outboundSchema.parse(
|
|
91
|
+
updateAccountingPaymenttermRequest,
|
|
92
|
+
),
|
|
93
|
+
);
|
|
94
|
+
}
|
|
@@ -108,6 +108,7 @@ export type AccountingBill = {
|
|
|
108
108
|
* read-only reciprocal of PaymentPayment.allocations; payments applied to this invoice
|
|
109
109
|
*/
|
|
110
110
|
payments?: Array<AccountingPaymentReference> | undefined;
|
|
111
|
+
paymenttermId?: string | undefined;
|
|
111
112
|
postedAt?: Date | undefined;
|
|
112
113
|
projectId?: string | undefined;
|
|
113
114
|
raw?: { [k: string]: any } | undefined;
|
|
@@ -200,6 +201,7 @@ export const AccountingBill$inboundSchema: z.ZodType<
|
|
|
200
201
|
payment_collection_method: PaymentCollectionMethod$inboundSchema.optional(),
|
|
201
202
|
payment_terms: PaymentTerms$inboundSchema.optional(),
|
|
202
203
|
payments: z.array(AccountingPaymentReference$inboundSchema).optional(),
|
|
204
|
+
paymentterm_id: z.string().optional(),
|
|
203
205
|
posted_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
204
206
|
.optional(),
|
|
205
207
|
project_id: z.string().optional(),
|
|
@@ -231,6 +233,7 @@ export const AccountingBill$inboundSchema: z.ZodType<
|
|
|
231
233
|
"paid_at": "paidAt",
|
|
232
234
|
"payment_collection_method": "paymentCollectionMethod",
|
|
233
235
|
"payment_terms": "paymentTerms",
|
|
236
|
+
"paymentterm_id": "paymenttermId",
|
|
234
237
|
"posted_at": "postedAt",
|
|
235
238
|
"project_id": "projectId",
|
|
236
239
|
"refund_amount": "refundAmount",
|
|
@@ -263,6 +266,7 @@ export type AccountingBill$Outbound = {
|
|
|
263
266
|
payment_collection_method?: string | undefined;
|
|
264
267
|
payment_terms?: string | undefined;
|
|
265
268
|
payments?: Array<AccountingPaymentReference$Outbound> | undefined;
|
|
269
|
+
paymentterm_id?: string | undefined;
|
|
266
270
|
posted_at?: string | undefined;
|
|
267
271
|
project_id?: string | undefined;
|
|
268
272
|
raw?: { [k: string]: any } | undefined;
|
|
@@ -304,6 +308,7 @@ export const AccountingBill$outboundSchema: z.ZodType<
|
|
|
304
308
|
paymentCollectionMethod: PaymentCollectionMethod$outboundSchema.optional(),
|
|
305
309
|
paymentTerms: PaymentTerms$outboundSchema.optional(),
|
|
306
310
|
payments: z.array(AccountingPaymentReference$outboundSchema).optional(),
|
|
311
|
+
paymenttermId: z.string().optional(),
|
|
307
312
|
postedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
308
313
|
projectId: z.string().optional(),
|
|
309
314
|
raw: z.record(z.any()).optional(),
|
|
@@ -332,6 +337,7 @@ export const AccountingBill$outboundSchema: z.ZodType<
|
|
|
332
337
|
paidAt: "paid_at",
|
|
333
338
|
paymentCollectionMethod: "payment_collection_method",
|
|
334
339
|
paymentTerms: "payment_terms",
|
|
340
|
+
paymenttermId: "paymentterm_id",
|
|
335
341
|
postedAt: "posted_at",
|
|
336
342
|
projectId: "project_id",
|
|
337
343
|
refundAmount: "refund_amount",
|