@unified-api/typescript-sdk 2.85.36 → 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 +14 -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/funcs/unifiedListUnifiedNotifications.d.ts +15 -0
- package/dist/commonjs/funcs/unifiedListUnifiedNotifications.d.ts.map +1 -0
- package/dist/commonjs/funcs/unifiedListUnifiedNotifications.js +120 -0
- package/dist/commonjs/funcs/unifiedListUnifiedNotifications.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 +7 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +7 -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/listunifiednotifications.d.ts +23 -0
- package/dist/commonjs/sdk/models/operations/listunifiednotifications.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiednotifications.js +58 -0
- package/dist/commonjs/sdk/models/operations/listunifiednotifications.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 +2 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +2 -0
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/notification.d.ts +52 -0
- package/dist/commonjs/sdk/models/shared/notification.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/notification.js +106 -0
- package/dist/commonjs/sdk/models/shared/notification.js.map +1 -0
- 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 +6 -5
- package/dist/commonjs/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/webhook.js +7 -6
- package/dist/commonjs/sdk/models/shared/webhook.js.map +1 -1
- package/dist/commonjs/sdk/notification.d.ts +10 -0
- package/dist/commonjs/sdk/notification.d.ts.map +1 -0
- package/dist/commonjs/sdk/notification.js +19 -0
- package/dist/commonjs/sdk/notification.js.map +1 -0
- 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 +6 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +8 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/unified.d.ts +4 -0
- package/dist/commonjs/sdk/unified.d.ts.map +1 -1
- package/dist/commonjs/sdk/unified.js +7 -0
- package/dist/commonjs/sdk/unified.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/funcs/unifiedListUnifiedNotifications.d.ts +15 -0
- package/dist/esm/funcs/unifiedListUnifiedNotifications.d.ts.map +1 -0
- package/dist/esm/funcs/unifiedListUnifiedNotifications.js +84 -0
- package/dist/esm/funcs/unifiedListUnifiedNotifications.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 +7 -0
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +7 -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/listunifiednotifications.d.ts +23 -0
- package/dist/esm/sdk/models/operations/listunifiednotifications.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listunifiednotifications.js +21 -0
- package/dist/esm/sdk/models/operations/listunifiednotifications.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 +2 -0
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +2 -0
- package/dist/esm/sdk/models/shared/index.js.map +1 -1
- package/dist/esm/sdk/models/shared/notification.d.ts +52 -0
- package/dist/esm/sdk/models/shared/notification.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/notification.js +69 -0
- package/dist/esm/sdk/models/shared/notification.js.map +1 -0
- 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 +6 -5
- package/dist/esm/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/webhook.js +6 -5
- package/dist/esm/sdk/models/shared/webhook.js.map +1 -1
- package/dist/esm/sdk/notification.d.ts +10 -0
- package/dist/esm/sdk/notification.d.ts.map +1 -0
- package/dist/esm/sdk/notification.js +15 -0
- package/dist/esm/sdk/notification.js.map +1 -0
- 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 +6 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +8 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/unified.d.ts +4 -0
- package/dist/esm/sdk/unified.d.ts.map +1 -1
- package/dist/esm/sdk/unified.js +7 -0
- package/dist/esm/sdk/unified.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/funcs/unifiedListUnifiedNotifications.ts +169 -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 +7 -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/listunifiednotifications.ts +53 -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 +2 -0
- package/src/sdk/models/shared/notification.ts +108 -0
- package/src/sdk/models/shared/propertyconnectionpermissions.ts +2 -0
- package/src/sdk/models/shared/webhook.ts +16 -9
- package/src/sdk/notification.ts +25 -0
- package/src/sdk/paymentterm.ts +100 -0
- package/src/sdk/sdk.ts +12 -0
- package/src/sdk/unified.ts +15 -0
|
@@ -0,0 +1,108 @@
|
|
|
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 * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
10
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
+
|
|
13
|
+
export const Event = {
|
|
14
|
+
UserCreated: "USER_CREATED",
|
|
15
|
+
UserDeleted: "USER_DELETED",
|
|
16
|
+
ConnectionHealthy: "CONNECTION_HEALTHY",
|
|
17
|
+
ConnectionUnhealthy: "CONNECTION_UNHEALTHY",
|
|
18
|
+
ConnectionCreated: "CONNECTION_CREATED",
|
|
19
|
+
ConnectionUpdated: "CONNECTION_UPDATED",
|
|
20
|
+
ConnectionDeleted: "CONNECTION_DELETED",
|
|
21
|
+
ConnectionPaused: "CONNECTION_PAUSED",
|
|
22
|
+
ConnectionUnpaused: "CONNECTION_UNPAUSED",
|
|
23
|
+
IntegrationActivated: "INTEGRATION_ACTIVATED",
|
|
24
|
+
IntegrationDeactivated: "INTEGRATION_DEACTIVATED",
|
|
25
|
+
IntegrationUpdated: "INTEGRATION_UPDATED",
|
|
26
|
+
WorkspaceUpdated: "WORKSPACE_UPDATED",
|
|
27
|
+
WorkspaceOverLimit: "WORKSPACE_OVER_LIMIT",
|
|
28
|
+
Workspace80PercentLimit: "WORKSPACE_80PERCENT_LIMIT",
|
|
29
|
+
WebhookCreated: "WEBHOOK_CREATED",
|
|
30
|
+
WebhookDeleted: "WEBHOOK_DELETED",
|
|
31
|
+
WebhookUnhealthy: "WEBHOOK_UNHEALTHY",
|
|
32
|
+
WebhookPaused: "WEBHOOK_PAUSED",
|
|
33
|
+
WebhookUnpaused: "WEBHOOK_UNPAUSED",
|
|
34
|
+
} as const;
|
|
35
|
+
export type Event = OpenEnum<typeof Event>;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* A notification of an event that occurred in you account.
|
|
39
|
+
*/
|
|
40
|
+
export type Notification = {
|
|
41
|
+
connectionId?: string | undefined;
|
|
42
|
+
createdAt?: Date | undefined;
|
|
43
|
+
description?: string | undefined;
|
|
44
|
+
event?: Event | undefined;
|
|
45
|
+
id?: string | undefined;
|
|
46
|
+
integrationName?: string | undefined;
|
|
47
|
+
integrationType?: string | undefined;
|
|
48
|
+
sentAt?: Date | undefined;
|
|
49
|
+
updatedAt?: Date | undefined;
|
|
50
|
+
userId?: string | undefined;
|
|
51
|
+
userName?: string | undefined;
|
|
52
|
+
webhookId?: string | undefined;
|
|
53
|
+
workspaceId?: string | undefined;
|
|
54
|
+
workspaceName?: string | undefined;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
/** @internal */
|
|
58
|
+
export const Event$inboundSchema: z.ZodType<Event, z.ZodTypeDef, unknown> =
|
|
59
|
+
openEnums.inboundSchema(Event);
|
|
60
|
+
|
|
61
|
+
/** @internal */
|
|
62
|
+
export const Notification$inboundSchema: z.ZodType<
|
|
63
|
+
Notification,
|
|
64
|
+
z.ZodTypeDef,
|
|
65
|
+
unknown
|
|
66
|
+
> = z.object({
|
|
67
|
+
connection_id: z.string().optional(),
|
|
68
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
69
|
+
.optional(),
|
|
70
|
+
description: z.string().optional(),
|
|
71
|
+
event: Event$inboundSchema.optional(),
|
|
72
|
+
id: z.string().optional(),
|
|
73
|
+
integration_name: z.string().optional(),
|
|
74
|
+
integration_type: z.string().optional(),
|
|
75
|
+
sent_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
76
|
+
.optional(),
|
|
77
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
78
|
+
.optional(),
|
|
79
|
+
user_id: z.string().optional(),
|
|
80
|
+
user_name: z.string().optional(),
|
|
81
|
+
webhook_id: z.string().optional(),
|
|
82
|
+
workspace_id: z.string().optional(),
|
|
83
|
+
workspace_name: z.string().optional(),
|
|
84
|
+
}).transform((v) => {
|
|
85
|
+
return remap$(v, {
|
|
86
|
+
"connection_id": "connectionId",
|
|
87
|
+
"created_at": "createdAt",
|
|
88
|
+
"integration_name": "integrationName",
|
|
89
|
+
"integration_type": "integrationType",
|
|
90
|
+
"sent_at": "sentAt",
|
|
91
|
+
"updated_at": "updatedAt",
|
|
92
|
+
"user_id": "userId",
|
|
93
|
+
"user_name": "userName",
|
|
94
|
+
"webhook_id": "webhookId",
|
|
95
|
+
"workspace_id": "workspaceId",
|
|
96
|
+
"workspace_name": "workspaceName",
|
|
97
|
+
});
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
export function notificationFromJSON(
|
|
101
|
+
jsonString: string,
|
|
102
|
+
): SafeParseResult<Notification, SDKValidationError> {
|
|
103
|
+
return safeParse(
|
|
104
|
+
jsonString,
|
|
105
|
+
(x) => Notification$inboundSchema.parse(JSON.parse(x)),
|
|
106
|
+
`Failed to parse 'Notification' from JSON`,
|
|
107
|
+
);
|
|
108
|
+
}
|
|
@@ -27,6 +27,8 @@ export const PropertyConnectionPermissions = {
|
|
|
27
27
|
AccountingExpenseWrite: "accounting_expense_write",
|
|
28
28
|
AccountingTaxrateRead: "accounting_taxrate_read",
|
|
29
29
|
AccountingTaxrateWrite: "accounting_taxrate_write",
|
|
30
|
+
AccountingPaymenttermRead: "accounting_paymentterm_read",
|
|
31
|
+
AccountingPaymenttermWrite: "accounting_paymentterm_write",
|
|
30
32
|
AccountingOrganizationRead: "accounting_organization_read",
|
|
31
33
|
AccountingOrderRead: "accounting_order_read",
|
|
32
34
|
AccountingOrderWrite: "accounting_order_write",
|
|
@@ -21,12 +21,12 @@ export const DbType = {
|
|
|
21
21
|
} as const;
|
|
22
22
|
export type DbType = OpenEnum<typeof DbType>;
|
|
23
23
|
|
|
24
|
-
export const
|
|
24
|
+
export const WebhookEvent = {
|
|
25
25
|
Updated: "updated",
|
|
26
26
|
Created: "created",
|
|
27
27
|
Deleted: "deleted",
|
|
28
28
|
} as const;
|
|
29
|
-
export type
|
|
29
|
+
export type WebhookEvent = OpenEnum<typeof WebhookEvent>;
|
|
30
30
|
|
|
31
31
|
export const WebhookObjectType = {
|
|
32
32
|
AccountingAccount: "accounting_account",
|
|
@@ -38,6 +38,7 @@ export const WebhookObjectType = {
|
|
|
38
38
|
AccountingVendorcredit: "accounting_vendorcredit",
|
|
39
39
|
AccountingCreditmemo: "accounting_creditmemo",
|
|
40
40
|
AccountingTaxrate: "accounting_taxrate",
|
|
41
|
+
AccountingPaymentterm: "accounting_paymentterm",
|
|
41
42
|
AccountingOrganization: "accounting_organization",
|
|
42
43
|
AccountingOrder: "accounting_order",
|
|
43
44
|
AccountingSalesorder: "accounting_salesorder",
|
|
@@ -218,7 +219,7 @@ export type Webhook = {
|
|
|
218
219
|
dbType?: DbType | undefined;
|
|
219
220
|
dbUrl?: string | undefined;
|
|
220
221
|
environment?: string | undefined;
|
|
221
|
-
event:
|
|
222
|
+
event: WebhookEvent;
|
|
222
223
|
fields?: string | undefined;
|
|
223
224
|
filters?: { [k: string]: string } | undefined;
|
|
224
225
|
hookUrl?: string | undefined;
|
|
@@ -247,11 +248,17 @@ export const DbType$outboundSchema: z.ZodType<string, z.ZodTypeDef, DbType> =
|
|
|
247
248
|
openEnums.outboundSchema(DbType);
|
|
248
249
|
|
|
249
250
|
/** @internal */
|
|
250
|
-
export const
|
|
251
|
-
|
|
251
|
+
export const WebhookEvent$inboundSchema: z.ZodType<
|
|
252
|
+
WebhookEvent,
|
|
253
|
+
z.ZodTypeDef,
|
|
254
|
+
unknown
|
|
255
|
+
> = openEnums.inboundSchema(WebhookEvent);
|
|
252
256
|
/** @internal */
|
|
253
|
-
export const
|
|
254
|
-
|
|
257
|
+
export const WebhookEvent$outboundSchema: z.ZodType<
|
|
258
|
+
string,
|
|
259
|
+
z.ZodTypeDef,
|
|
260
|
+
WebhookEvent
|
|
261
|
+
> = openEnums.outboundSchema(WebhookEvent);
|
|
255
262
|
|
|
256
263
|
/** @internal */
|
|
257
264
|
export const WebhookObjectType$inboundSchema: z.ZodType<
|
|
@@ -294,7 +301,7 @@ export const Webhook$inboundSchema: z.ZodType<Webhook, z.ZodTypeDef, unknown> =
|
|
|
294
301
|
db_type: DbType$inboundSchema.optional(),
|
|
295
302
|
db_url: z.string().optional(),
|
|
296
303
|
environment: z.string().default("Production"),
|
|
297
|
-
event:
|
|
304
|
+
event: WebhookEvent$inboundSchema,
|
|
298
305
|
fields: z.string().optional(),
|
|
299
306
|
filters: z.record(z.string()).optional(),
|
|
300
307
|
hook_url: z.string().optional(),
|
|
@@ -375,7 +382,7 @@ export const Webhook$outboundSchema: z.ZodType<
|
|
|
375
382
|
dbType: DbType$outboundSchema.optional(),
|
|
376
383
|
dbUrl: z.string().optional(),
|
|
377
384
|
environment: z.string().default("Production"),
|
|
378
|
-
event:
|
|
385
|
+
event: WebhookEvent$outboundSchema,
|
|
379
386
|
fields: z.string().optional(),
|
|
380
387
|
filters: z.record(z.string()).optional(),
|
|
381
388
|
hookUrl: z.string().optional(),
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { unifiedListUnifiedNotifications } from "../funcs/unifiedListUnifiedNotifications.js";
|
|
6
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
|
+
import * as operations from "./models/operations/index.js";
|
|
8
|
+
import * as shared from "./models/shared/index.js";
|
|
9
|
+
import { unwrapAsync } from "./types/fp.js";
|
|
10
|
+
|
|
11
|
+
export class Notification extends ClientSDK {
|
|
12
|
+
/**
|
|
13
|
+
* List event notifications
|
|
14
|
+
*/
|
|
15
|
+
async listUnifiedNotifications(
|
|
16
|
+
request: operations.ListUnifiedNotificationsRequest,
|
|
17
|
+
options?: RequestOptions,
|
|
18
|
+
): Promise<Array<shared.Notification>> {
|
|
19
|
+
return unwrapAsync(unifiedListUnifiedNotifications(
|
|
20
|
+
this,
|
|
21
|
+
request,
|
|
22
|
+
options,
|
|
23
|
+
));
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { accountingCreateAccountingPaymentterm } from "../funcs/accountingCreateAccountingPaymentterm.js";
|
|
6
|
+
import { accountingGetAccountingPaymentterm } from "../funcs/accountingGetAccountingPaymentterm.js";
|
|
7
|
+
import { accountingListAccountingPaymentterms } from "../funcs/accountingListAccountingPaymentterms.js";
|
|
8
|
+
import { accountingPatchAccountingPaymentterm } from "../funcs/accountingPatchAccountingPaymentterm.js";
|
|
9
|
+
import { accountingRemoveAccountingPaymentterm } from "../funcs/accountingRemoveAccountingPaymentterm.js";
|
|
10
|
+
import { accountingUpdateAccountingPaymentterm } from "../funcs/accountingUpdateAccountingPaymentterm.js";
|
|
11
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
12
|
+
import * as operations from "./models/operations/index.js";
|
|
13
|
+
import * as shared from "./models/shared/index.js";
|
|
14
|
+
import { unwrapAsync } from "./types/fp.js";
|
|
15
|
+
|
|
16
|
+
export class Paymentterm extends ClientSDK {
|
|
17
|
+
/**
|
|
18
|
+
* Create a paymentterm
|
|
19
|
+
*/
|
|
20
|
+
async createAccountingPaymentterm(
|
|
21
|
+
request: operations.CreateAccountingPaymenttermRequest,
|
|
22
|
+
options?: RequestOptions,
|
|
23
|
+
): Promise<shared.AccountingPaymentterm> {
|
|
24
|
+
return unwrapAsync(accountingCreateAccountingPaymentterm(
|
|
25
|
+
this,
|
|
26
|
+
request,
|
|
27
|
+
options,
|
|
28
|
+
));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Retrieve a paymentterm
|
|
33
|
+
*/
|
|
34
|
+
async getAccountingPaymentterm(
|
|
35
|
+
request: operations.GetAccountingPaymenttermRequest,
|
|
36
|
+
options?: RequestOptions,
|
|
37
|
+
): Promise<shared.AccountingPaymentterm> {
|
|
38
|
+
return unwrapAsync(accountingGetAccountingPaymentterm(
|
|
39
|
+
this,
|
|
40
|
+
request,
|
|
41
|
+
options,
|
|
42
|
+
));
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* List all paymentterms
|
|
47
|
+
*/
|
|
48
|
+
async listAccountingPaymentterms(
|
|
49
|
+
request: operations.ListAccountingPaymenttermsRequest,
|
|
50
|
+
options?: RequestOptions,
|
|
51
|
+
): Promise<Array<shared.AccountingPaymentterm>> {
|
|
52
|
+
return unwrapAsync(accountingListAccountingPaymentterms(
|
|
53
|
+
this,
|
|
54
|
+
request,
|
|
55
|
+
options,
|
|
56
|
+
));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Update a paymentterm
|
|
61
|
+
*/
|
|
62
|
+
async patchAccountingPaymentterm(
|
|
63
|
+
request: operations.PatchAccountingPaymenttermRequest,
|
|
64
|
+
options?: RequestOptions,
|
|
65
|
+
): Promise<shared.AccountingPaymentterm> {
|
|
66
|
+
return unwrapAsync(accountingPatchAccountingPaymentterm(
|
|
67
|
+
this,
|
|
68
|
+
request,
|
|
69
|
+
options,
|
|
70
|
+
));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Remove a paymentterm
|
|
75
|
+
*/
|
|
76
|
+
async removeAccountingPaymentterm(
|
|
77
|
+
request: operations.RemoveAccountingPaymenttermRequest,
|
|
78
|
+
options?: RequestOptions,
|
|
79
|
+
): Promise<operations.RemoveAccountingPaymenttermResponse | undefined> {
|
|
80
|
+
return unwrapAsync(accountingRemoveAccountingPaymentterm(
|
|
81
|
+
this,
|
|
82
|
+
request,
|
|
83
|
+
options,
|
|
84
|
+
));
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Update a paymentterm
|
|
89
|
+
*/
|
|
90
|
+
async updateAccountingPaymentterm(
|
|
91
|
+
request: operations.UpdateAccountingPaymenttermRequest,
|
|
92
|
+
options?: RequestOptions,
|
|
93
|
+
): Promise<shared.AccountingPaymentterm> {
|
|
94
|
+
return unwrapAsync(accountingUpdateAccountingPaymentterm(
|
|
95
|
+
this,
|
|
96
|
+
request,
|
|
97
|
+
options,
|
|
98
|
+
));
|
|
99
|
+
}
|
|
100
|
+
}
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -102,12 +102,14 @@ import { Messaging } from "./messaging.js";
|
|
|
102
102
|
import { Metadata } from "./metadata.js";
|
|
103
103
|
import { Model } from "./model.js";
|
|
104
104
|
import { Note } from "./note.js";
|
|
105
|
+
import { Notification } from "./notification.js";
|
|
105
106
|
import { Order } from "./order.js";
|
|
106
107
|
import { Organization } from "./organization.js";
|
|
107
108
|
import { Package } from "./package.js";
|
|
108
109
|
import { Page } from "./page.js";
|
|
109
110
|
import { Passthrough } from "./passthrough.js";
|
|
110
111
|
import { Payment } from "./payment.js";
|
|
112
|
+
import { Paymentterm } from "./paymentterm.js";
|
|
111
113
|
import { Payout } from "./payout.js";
|
|
112
114
|
import { Payslip } from "./payslip.js";
|
|
113
115
|
import { Performance } from "./performance.js";
|
|
@@ -262,6 +264,11 @@ export class UnifiedTo extends ClientSDK {
|
|
|
262
264
|
return (this._organization ??= new Organization(this._options));
|
|
263
265
|
}
|
|
264
266
|
|
|
267
|
+
private _paymentterm?: Paymentterm;
|
|
268
|
+
get paymentterm(): Paymentterm {
|
|
269
|
+
return (this._paymentterm ??= new Paymentterm(this._options));
|
|
270
|
+
}
|
|
271
|
+
|
|
265
272
|
private _profitloss?: Profitloss;
|
|
266
273
|
get profitloss(): Profitloss {
|
|
267
274
|
return (this._profitloss ??= new Profitloss(this._options));
|
|
@@ -1007,6 +1014,11 @@ export class UnifiedTo extends ClientSDK {
|
|
|
1007
1014
|
return (this._issue ??= new Issue(this._options));
|
|
1008
1015
|
}
|
|
1009
1016
|
|
|
1017
|
+
private _notification?: Notification;
|
|
1018
|
+
get notification(): Notification {
|
|
1019
|
+
return (this._notification ??= new Notification(this._options));
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1010
1022
|
private _webhook?: Webhook;
|
|
1011
1023
|
get webhook(): Webhook {
|
|
1012
1024
|
return (this._webhook ??= new Webhook(this._options));
|
package/src/sdk/unified.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { unifiedListUnifiedEnvironments } from "../funcs/unifiedListUnifiedEnvir
|
|
|
18
18
|
import { unifiedListUnifiedIntegrations } from "../funcs/unifiedListUnifiedIntegrations.js";
|
|
19
19
|
import { unifiedListUnifiedIntegrationWorkspaces } from "../funcs/unifiedListUnifiedIntegrationWorkspaces.js";
|
|
20
20
|
import { unifiedListUnifiedIssues } from "../funcs/unifiedListUnifiedIssues.js";
|
|
21
|
+
import { unifiedListUnifiedNotifications } from "../funcs/unifiedListUnifiedNotifications.js";
|
|
21
22
|
import { unifiedListUnifiedWebhooks } from "../funcs/unifiedListUnifiedWebhooks.js";
|
|
22
23
|
import { unifiedListUnifiedWorkspaceSecretsmanagers } from "../funcs/unifiedListUnifiedWorkspaceSecretsmanagers.js";
|
|
23
24
|
import { unifiedPatchUnifiedConnection } from "../funcs/unifiedPatchUnifiedConnection.js";
|
|
@@ -270,6 +271,20 @@ export class Unified extends ClientSDK {
|
|
|
270
271
|
));
|
|
271
272
|
}
|
|
272
273
|
|
|
274
|
+
/**
|
|
275
|
+
* List event notifications
|
|
276
|
+
*/
|
|
277
|
+
async listUnifiedNotifications(
|
|
278
|
+
request: operations.ListUnifiedNotificationsRequest,
|
|
279
|
+
options?: RequestOptions,
|
|
280
|
+
): Promise<Array<shared.Notification>> {
|
|
281
|
+
return unwrapAsync(unifiedListUnifiedNotifications(
|
|
282
|
+
this,
|
|
283
|
+
request,
|
|
284
|
+
options,
|
|
285
|
+
));
|
|
286
|
+
}
|
|
287
|
+
|
|
273
288
|
/**
|
|
274
289
|
* Returns all registered webhooks
|
|
275
290
|
*/
|