@apideck/unify 0.20.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +68 -51
- package/docs/sdks/agedcreditors/README.md +115 -0
- package/docs/sdks/attachments/README.md +97 -0
- package/docs/sdks/bills/README.md +24 -20
- package/docs/sdks/connections/README.md +100 -80
- package/docs/sdks/connectionsettings/README.md +100 -80
- package/docs/sdks/creditnotes/README.md +20 -20
- package/docs/sdks/expenses/README.md +8 -0
- package/docs/sdks/invoiceitems/README.md +16 -0
- package/docs/sdks/invoices/README.md +16 -16
- package/docs/sdks/journalentries/README.md +20 -0
- package/docs/sdks/pipelines/README.md +632 -0
- package/docs/sdks/purchaseorders/README.md +106 -186
- package/docs/sdks/uploadsessions/README.md +95 -0
- package/funcs/accountingAgedCreditorsGet.d.ts +17 -0
- package/funcs/accountingAgedCreditorsGet.d.ts.map +1 -0
- package/funcs/accountingAgedCreditorsGet.js +128 -0
- package/funcs/accountingAgedCreditorsGet.js.map +1 -0
- package/funcs/accountingAttachmentsUpload.d.ts +17 -0
- package/funcs/accountingAttachmentsUpload.d.ts.map +1 -0
- package/funcs/accountingAttachmentsUpload.js +141 -0
- package/funcs/accountingAttachmentsUpload.js.map +1 -0
- package/funcs/crmPipelinesCreate.d.ts +17 -0
- package/funcs/crmPipelinesCreate.d.ts.map +1 -0
- package/funcs/crmPipelinesCreate.js +127 -0
- package/funcs/crmPipelinesCreate.js.map +1 -0
- package/funcs/crmPipelinesDelete.d.ts +17 -0
- package/funcs/crmPipelinesDelete.d.ts.map +1 -0
- package/funcs/crmPipelinesDelete.js +132 -0
- package/funcs/crmPipelinesDelete.js.map +1 -0
- package/funcs/crmPipelinesGet.d.ts +17 -0
- package/funcs/crmPipelinesGet.d.ts.map +1 -0
- package/funcs/crmPipelinesGet.js +133 -0
- package/funcs/crmPipelinesGet.js.map +1 -0
- package/funcs/crmPipelinesUpdate.d.ts +17 -0
- package/funcs/crmPipelinesUpdate.d.ts.map +1 -0
- package/funcs/crmPipelinesUpdate.js +133 -0
- package/funcs/crmPipelinesUpdate.js.map +1 -0
- package/funcs/fileStorageUploadSessionsUpload.d.ts +17 -0
- package/funcs/fileStorageUploadSessionsUpload.d.ts.map +1 -0
- package/funcs/fileStorageUploadSessionsUpload.js +139 -0
- package/funcs/fileStorageUploadSessionsUpload.js.map +1 -0
- package/hooks/types.d.ts +1 -1
- package/hooks/types.d.ts.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/lib/security.d.ts +4 -3
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +6 -1
- package/lib/security.js.map +1 -1
- package/models/components/{accountinglocation.d.ts → accountinglocationinput.d.ts} +58 -58
- package/models/components/accountinglocationinput.d.ts.map +1 -0
- package/models/components/{accountinglocation.js → accountinglocationinput.js} +56 -56
- package/models/components/accountinglocationinput.js.map +1 -0
- package/models/components/address.d.ts +8 -8
- package/models/components/address.d.ts.map +1 -1
- package/models/components/address.js +13 -14
- package/models/components/address.js.map +1 -1
- package/models/components/agedcreditors.d.ts +51 -0
- package/models/components/agedcreditors.d.ts.map +1 -0
- package/models/components/agedcreditors.js +88 -0
- package/models/components/agedcreditors.js.map +1 -0
- package/models/components/{applicant.d.ts → applicantinput.d.ts} +79 -79
- package/models/components/applicantinput.d.ts.map +1 -0
- package/models/components/{applicant.js → applicantinput.js} +85 -85
- package/models/components/applicantinput.js.map +1 -0
- package/models/components/billlineitem.d.ts +4 -4
- package/models/components/{billpayment.d.ts → billpaymentinput.d.ts} +102 -102
- package/models/components/billpaymentinput.d.ts.map +1 -0
- package/models/components/{billpayment.js → billpaymentinput.js} +100 -100
- package/models/components/billpaymentinput.js.map +1 -0
- package/models/components/connectionimportdata.d.ts +15 -15
- package/models/components/connectionimportdata.d.ts.map +1 -1
- package/models/components/connectionimportdata.js +18 -19
- package/models/components/connectionimportdata.js.map +1 -1
- package/models/components/{connection.d.ts → connectioninput.d.ts} +139 -139
- package/models/components/connectioninput.d.ts.map +1 -0
- package/models/components/{connection.js → connectioninput.js} +150 -150
- package/models/components/connectioninput.js.map +1 -0
- package/models/components/consumerconnection.d.ts +6 -26
- package/models/components/consumerconnection.d.ts.map +1 -1
- package/models/components/consumerconnection.js +3 -26
- package/models/components/consumerconnection.js.map +1 -1
- package/models/components/{contact.d.ts → contactinput.d.ts} +71 -71
- package/models/components/contactinput.d.ts.map +1 -0
- package/models/components/{contact.js → contactinput.js} +72 -71
- package/models/components/{contact.js.map → contactinput.js.map} +1 -1
- package/models/components/createattachmentresponse.d.ts +70 -0
- package/models/components/createattachmentresponse.d.ts.map +1 -0
- package/models/components/createattachmentresponse.js +83 -0
- package/models/components/createattachmentresponse.js.map +1 -0
- package/models/components/createconnectionresponse.d.ts +1 -1
- package/models/components/createconnectionresponse.d.ts.map +1 -1
- package/models/components/createconnectionresponse.js +3 -3
- package/models/components/createconnectionresponse.js.map +1 -1
- package/models/components/createpipelineresponse.d.ts +70 -0
- package/models/components/createpipelineresponse.d.ts.map +1 -0
- package/models/components/createpipelineresponse.js +83 -0
- package/models/components/createpipelineresponse.js.map +1 -0
- package/models/components/{creditnote.d.ts → creditnoteinput.d.ts} +74 -74
- package/models/components/creditnoteinput.d.ts.map +1 -0
- package/models/components/{creditnote.js → creditnoteinput.js} +69 -69
- package/models/components/creditnoteinput.js.map +1 -0
- package/models/components/{customer.d.ts → customerinput.d.ts} +70 -70
- package/models/components/customerinput.d.ts.map +1 -0
- package/models/components/{customer.js → customerinput.js} +64 -64
- package/models/components/customerinput.js.map +1 -0
- package/models/components/deletepipelineresponse.d.ts +70 -0
- package/models/components/deletepipelineresponse.d.ts.map +1 -0
- package/models/components/deletepipelineresponse.js +83 -0
- package/models/components/deletepipelineresponse.js.map +1 -0
- package/models/components/{employeecompensation.d.ts → employeecompensationinput.d.ts} +37 -37
- package/models/components/employeecompensationinput.d.ts.map +1 -0
- package/models/components/{employeecompensation.js → employeecompensationinput.js} +36 -36
- package/models/components/employeecompensationinput.js.map +1 -0
- package/models/components/{employee.d.ts → employeeinput.d.ts} +70 -65
- package/models/components/employeeinput.d.ts.map +1 -0
- package/models/components/{employee.js → employeeinput.js} +67 -63
- package/models/components/employeeinput.js.map +1 -0
- package/models/components/employeeschedules.d.ts +1 -1
- package/models/components/employeeschedules.d.ts.map +1 -1
- package/models/components/employeeschedules.js +3 -3
- package/models/components/employeeschedules.js.map +1 -1
- package/models/components/employeesfilter.d.ts +5 -0
- package/models/components/employeesfilter.d.ts.map +1 -1
- package/models/components/employeesfilter.js +2 -0
- package/models/components/employeesfilter.js.map +1 -1
- package/models/components/{expense.d.ts → expenseinput.d.ts} +61 -61
- package/models/components/expenseinput.d.ts.map +1 -0
- package/models/components/{expense.js → expenseinput.js} +56 -56
- package/models/components/expenseinput.js.map +1 -0
- package/models/components/expenselineitem.d.ts +11 -6
- package/models/components/expenselineitem.d.ts.map +1 -1
- package/models/components/expenselineitem.js +8 -4
- package/models/components/expenselineitem.js.map +1 -1
- package/models/components/expenselineiteminput.d.ts +11 -6
- package/models/components/expenselineiteminput.d.ts.map +1 -1
- package/models/components/expenselineiteminput.js +8 -4
- package/models/components/expenselineiteminput.js.map +1 -1
- package/models/components/formfieldoption.d.ts +10 -2
- package/models/components/formfieldoption.d.ts.map +1 -1
- package/models/components/formfieldoption.js +12 -4
- package/models/components/formfieldoption.js.map +1 -1
- package/models/components/formfieldoptiongroup.d.ts +29 -4
- package/models/components/formfieldoptiongroup.d.ts.map +1 -1
- package/models/components/formfieldoptiongroup.js +34 -5
- package/models/components/formfieldoptiongroup.js.map +1 -1
- package/models/components/getaccountinglocationresponse.d.ts +1 -1
- package/models/components/getaccountinglocationresponse.d.ts.map +1 -1
- package/models/components/getaccountinglocationresponse.js +3 -3
- package/models/components/getaccountinglocationresponse.js.map +1 -1
- package/models/components/getaccountinglocationsresponse.d.ts +1 -1
- package/models/components/getaccountinglocationsresponse.d.ts.map +1 -1
- package/models/components/getaccountinglocationsresponse.js +3 -3
- package/models/components/getaccountinglocationsresponse.js.map +1 -1
- package/models/components/getagedcreditorsresponse.d.ts +67 -0
- package/models/components/getagedcreditorsresponse.d.ts.map +1 -0
- package/models/components/getagedcreditorsresponse.js +83 -0
- package/models/components/getagedcreditorsresponse.js.map +1 -0
- package/models/components/getapplicantresponse.d.ts +1 -1
- package/models/components/getapplicantresponse.d.ts.map +1 -1
- package/models/components/getapplicantresponse.js +3 -3
- package/models/components/getapplicantresponse.js.map +1 -1
- package/models/components/getapplicantsresponse.d.ts +1 -1
- package/models/components/getapplicantsresponse.d.ts.map +1 -1
- package/models/components/getapplicantsresponse.js +3 -3
- package/models/components/getapplicantsresponse.js.map +1 -1
- package/models/components/getbillpaymentresponse.d.ts +1 -1
- package/models/components/getbillpaymentresponse.d.ts.map +1 -1
- package/models/components/getbillpaymentresponse.js +3 -3
- package/models/components/getbillpaymentresponse.js.map +1 -1
- package/models/components/getbillpaymentsresponse.d.ts +1 -1
- package/models/components/getbillpaymentsresponse.d.ts.map +1 -1
- package/models/components/getbillpaymentsresponse.js +3 -3
- package/models/components/getbillpaymentsresponse.js.map +1 -1
- package/models/components/getconnectionresponse.d.ts +1 -1
- package/models/components/getconnectionresponse.d.ts.map +1 -1
- package/models/components/getconnectionresponse.js +3 -3
- package/models/components/getconnectionresponse.js.map +1 -1
- package/models/components/getconnectionsresponse.d.ts +1 -1
- package/models/components/getconnectionsresponse.d.ts.map +1 -1
- package/models/components/getconnectionsresponse.js +3 -3
- package/models/components/getconnectionsresponse.js.map +1 -1
- package/models/components/getcontactresponse.d.ts +1 -1
- package/models/components/getcontactresponse.d.ts.map +1 -1
- package/models/components/getcontactresponse.js +3 -3
- package/models/components/getcontactresponse.js.map +1 -1
- package/models/components/getcontactsresponse.d.ts +1 -1
- package/models/components/getcontactsresponse.d.ts.map +1 -1
- package/models/components/getcontactsresponse.js +3 -3
- package/models/components/getcontactsresponse.js.map +1 -1
- package/models/components/getcreditnoteresponse.d.ts +1 -1
- package/models/components/getcreditnoteresponse.d.ts.map +1 -1
- package/models/components/getcreditnoteresponse.js +3 -3
- package/models/components/getcreditnoteresponse.js.map +1 -1
- package/models/components/getcreditnotesresponse.d.ts +1 -1
- package/models/components/getcreditnotesresponse.d.ts.map +1 -1
- package/models/components/getcreditnotesresponse.js +3 -3
- package/models/components/getcreditnotesresponse.js.map +1 -1
- package/models/components/getcustomerresponse.d.ts +1 -1
- package/models/components/getcustomerresponse.d.ts.map +1 -1
- package/models/components/getcustomerresponse.js +3 -3
- package/models/components/getcustomerresponse.js.map +1 -1
- package/models/components/getcustomersresponse.d.ts +1 -1
- package/models/components/getcustomersresponse.d.ts.map +1 -1
- package/models/components/getcustomersresponse.js +3 -3
- package/models/components/getcustomersresponse.js.map +1 -1
- package/models/components/getemployeeresponse.d.ts +1 -1
- package/models/components/getemployeeresponse.d.ts.map +1 -1
- package/models/components/getemployeeresponse.js +3 -3
- package/models/components/getemployeeresponse.js.map +1 -1
- package/models/components/getemployeesresponse.d.ts +1 -1
- package/models/components/getemployeesresponse.d.ts.map +1 -1
- package/models/components/getemployeesresponse.js +3 -3
- package/models/components/getemployeesresponse.js.map +1 -1
- package/models/components/getexpenseresponse.d.ts +1 -1
- package/models/components/getexpenseresponse.d.ts.map +1 -1
- package/models/components/getexpenseresponse.js +3 -3
- package/models/components/getexpenseresponse.js.map +1 -1
- package/models/components/getexpensesresponse.d.ts +1 -1
- package/models/components/getexpensesresponse.d.ts.map +1 -1
- package/models/components/getexpensesresponse.js +3 -3
- package/models/components/getexpensesresponse.js.map +1 -1
- package/models/components/gethriscompaniesresponse.d.ts +1 -1
- package/models/components/gethriscompaniesresponse.d.ts.map +1 -1
- package/models/components/gethriscompaniesresponse.js +3 -3
- package/models/components/gethriscompaniesresponse.js.map +1 -1
- package/models/components/gethriscompanyresponse.d.ts +1 -1
- package/models/components/gethriscompanyresponse.d.ts.map +1 -1
- package/models/components/gethriscompanyresponse.js +3 -3
- package/models/components/gethriscompanyresponse.js.map +1 -1
- package/models/components/getinvoiceresponse.d.ts +1 -1
- package/models/components/getinvoiceresponse.d.ts.map +1 -1
- package/models/components/getinvoiceresponse.js +3 -3
- package/models/components/getinvoiceresponse.js.map +1 -1
- package/models/components/getinvoicesresponse.d.ts +1 -1
- package/models/components/getinvoicesresponse.d.ts.map +1 -1
- package/models/components/getinvoicesresponse.js +3 -3
- package/models/components/getinvoicesresponse.js.map +1 -1
- package/models/components/getledgeraccountresponse.d.ts +1 -1
- package/models/components/getledgeraccountresponse.d.ts.map +1 -1
- package/models/components/getledgeraccountresponse.js +3 -3
- package/models/components/getledgeraccountresponse.js.map +1 -1
- package/models/components/getledgeraccountsresponse.d.ts +1 -1
- package/models/components/getledgeraccountsresponse.d.ts.map +1 -1
- package/models/components/getledgeraccountsresponse.js +3 -3
- package/models/components/getledgeraccountsresponse.js.map +1 -1
- package/models/components/getpipelineresponse.d.ts +67 -0
- package/models/components/getpipelineresponse.d.ts.map +1 -0
- package/models/components/getpipelineresponse.js +83 -0
- package/models/components/getpipelineresponse.js.map +1 -0
- package/models/components/getsupplierresponse.d.ts +1 -1
- package/models/components/getsupplierresponse.d.ts.map +1 -1
- package/models/components/getsupplierresponse.js +3 -3
- package/models/components/getsupplierresponse.js.map +1 -1
- package/models/components/getsuppliersresponse.d.ts +1 -1
- package/models/components/getsuppliersresponse.d.ts.map +1 -1
- package/models/components/getsuppliersresponse.js +3 -3
- package/models/components/getsuppliersresponse.js.map +1 -1
- package/models/components/getticketresponse.d.ts +1 -1
- package/models/components/getticketresponse.d.ts.map +1 -1
- package/models/components/getticketresponse.js +3 -3
- package/models/components/getticketresponse.js.map +1 -1
- package/models/components/getticketsresponse.d.ts +1 -1
- package/models/components/getticketsresponse.d.ts.map +1 -1
- package/models/components/getticketsresponse.js +3 -3
- package/models/components/getticketsresponse.js.map +1 -1
- package/models/components/{hriscompany.d.ts → hriscompanyinput.d.ts} +55 -55
- package/models/components/hriscompanyinput.d.ts.map +1 -0
- package/models/components/{hriscompany.js → hriscompanyinput.js} +54 -54
- package/models/components/hriscompanyinput.js.map +1 -0
- package/models/components/index.d.ts +26 -16
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +26 -16
- package/models/components/index.js.map +1 -1
- package/models/components/{invoice.d.ts → invoiceinput.d.ts} +74 -74
- package/models/components/invoiceinput.d.ts.map +1 -0
- package/models/components/{invoice.js → invoiceinput.js} +72 -72
- package/models/components/{invoice.js.map → invoiceinput.js.map} +1 -1
- package/models/components/invoiceitem.d.ts +46 -0
- package/models/components/invoiceitem.d.ts.map +1 -1
- package/models/components/invoiceitem.js +34 -0
- package/models/components/invoiceitem.js.map +1 -1
- package/models/components/{invoicelineitem.d.ts → invoicelineiteminput.d.ts} +59 -59
- package/models/components/invoicelineiteminput.d.ts.map +1 -0
- package/models/components/{invoicelineitem.js → invoicelineiteminput.js} +54 -54
- package/models/components/invoicelineiteminput.js.map +1 -0
- package/models/components/journalentrylineitem.d.ts +16 -6
- package/models/components/journalentrylineitem.d.ts.map +1 -1
- package/models/components/journalentrylineitem.js +12 -4
- package/models/components/journalentrylineitem.js.map +1 -1
- package/models/components/{ledgeraccount.d.ts → ledgeraccountinput.d.ts} +129 -129
- package/models/components/ledgeraccountinput.d.ts.map +1 -0
- package/models/components/{ledgeraccount.js → ledgeraccountinput.js} +128 -128
- package/models/components/ledgeraccountinput.js.map +1 -0
- package/models/components/linkedecommercecustomer.d.ts +6 -6
- package/models/components/linkedecommercecustomer.d.ts.map +1 -1
- package/models/components/linkedecommercecustomer.js +6 -6
- package/models/components/linkedecommercecustomer.js.map +1 -1
- package/models/components/outstandingbalancebysupplier.d.ts +40 -0
- package/models/components/outstandingbalancebysupplier.d.ts.map +1 -0
- package/models/components/outstandingbalancebysupplier.js +77 -0
- package/models/components/outstandingbalancebysupplier.js.map +1 -0
- package/models/components/pipelineinput.d.ts +117 -0
- package/models/components/pipelineinput.d.ts.map +1 -0
- package/models/components/pipelineinput.js +133 -0
- package/models/components/pipelineinput.js.map +1 -0
- package/models/components/purchaseorder.d.ts +6 -1
- package/models/components/purchaseorder.d.ts.map +1 -1
- package/models/components/purchaseorder.js +14 -5
- package/models/components/purchaseorder.js.map +1 -1
- package/models/components/simpleformfieldoption.d.ts +27 -2
- package/models/components/simpleformfieldoption.d.ts.map +1 -1
- package/models/components/simpleformfieldoption.js +33 -3
- package/models/components/simpleformfieldoption.js.map +1 -1
- package/models/components/{supplier.d.ts → supplierinput.d.ts} +70 -70
- package/models/components/supplierinput.d.ts.map +1 -0
- package/models/components/{supplier.js → supplierinput.js} +64 -64
- package/models/components/supplierinput.js.map +1 -0
- package/models/components/{ticket.d.ts → ticketinput.d.ts} +66 -66
- package/models/components/ticketinput.d.ts.map +1 -0
- package/models/components/{ticket.js → ticketinput.js} +59 -59
- package/models/components/ticketinput.js.map +1 -0
- package/models/components/updateconnectionresponse.d.ts +1 -1
- package/models/components/updateconnectionresponse.d.ts.map +1 -1
- package/models/components/updateconnectionresponse.js +3 -3
- package/models/components/updateconnectionresponse.js.map +1 -1
- package/models/components/updatepipelineresponse.d.ts +70 -0
- package/models/components/updatepipelineresponse.d.ts.map +1 -0
- package/models/components/updatepipelineresponse.js +83 -0
- package/models/components/updatepipelineresponse.js.map +1 -0
- package/models/components/updateuploadsessionresponse.d.ts +70 -0
- package/models/components/updateuploadsessionresponse.d.ts.map +1 -0
- package/models/components/updateuploadsessionresponse.js +83 -0
- package/models/components/updateuploadsessionresponse.js.map +1 -0
- package/models/operations/accountingagedcreditorsone.d.ts +135 -0
- package/models/operations/accountingagedcreditorsone.d.ts.map +1 -0
- package/models/operations/accountingagedcreditorsone.js +157 -0
- package/models/operations/accountingagedcreditorsone.js.map +1 -0
- package/models/operations/accountingattachmentsupload.d.ts +134 -0
- package/models/operations/accountingattachmentsupload.d.ts.map +1 -0
- package/models/operations/accountingattachmentsupload.js +178 -0
- package/models/operations/accountingattachmentsupload.js.map +1 -0
- package/models/operations/crmpipelinesadd.d.ts +118 -0
- package/models/operations/crmpipelinesadd.d.ts.map +1 -0
- package/models/operations/crmpipelinesadd.js +153 -0
- package/models/operations/crmpipelinesadd.js.map +1 -0
- package/models/operations/crmpipelinesdelete.d.ts +121 -0
- package/models/operations/crmpipelinesdelete.d.ts.map +1 -0
- package/models/operations/crmpipelinesdelete.js +145 -0
- package/models/operations/crmpipelinesdelete.js.map +1 -0
- package/models/operations/crmpipelinesone.d.ts +126 -0
- package/models/operations/crmpipelinesone.d.ts.map +1 -0
- package/models/operations/crmpipelinesone.js +145 -0
- package/models/operations/crmpipelinesone.js.map +1 -0
- package/models/operations/crmpipelinesupdate.d.ts +123 -0
- package/models/operations/crmpipelinesupdate.d.ts.map +1 -0
- package/models/operations/crmpipelinesupdate.js +155 -0
- package/models/operations/crmpipelinesupdate.js.map +1 -0
- package/models/operations/filestorageuploadsessionsupload.d.ts +134 -0
- package/models/operations/filestorageuploadsessionsupload.d.ts.map +1 -0
- package/models/operations/filestorageuploadsessionsupload.js +174 -0
- package/models/operations/filestorageuploadsessionsupload.js.map +1 -0
- package/models/operations/index.d.ts +7 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +7 -0
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/accounting.d.ts +3 -0
- package/sdk/accounting.d.ts.map +1 -1
- package/sdk/accounting.js +4 -0
- package/sdk/accounting.js.map +1 -1
- package/sdk/agedcreditors.d.ts +12 -0
- package/sdk/agedcreditors.d.ts.map +1 -0
- package/sdk/agedcreditors.js +22 -0
- package/sdk/agedcreditors.js.map +1 -0
- package/sdk/attachments.d.ts +7 -0
- package/sdk/attachments.d.ts.map +1 -1
- package/sdk/attachments.js +10 -0
- package/sdk/attachments.js.map +1 -1
- package/sdk/pipelines.d.ts +28 -0
- package/sdk/pipelines.d.ts.map +1 -1
- package/sdk/pipelines.js +41 -0
- package/sdk/pipelines.js.map +1 -1
- package/sdk/uploadsessions.d.ts +7 -0
- package/sdk/uploadsessions.d.ts.map +1 -1
- package/sdk/uploadsessions.js +10 -0
- package/sdk/uploadsessions.js.map +1 -1
- package/src/funcs/accountingAgedCreditorsGet.ts +228 -0
- package/src/funcs/accountingAttachmentsUpload.ts +241 -0
- package/src/funcs/crmPipelinesCreate.ts +214 -0
- package/src/funcs/crmPipelinesDelete.ts +220 -0
- package/src/funcs/crmPipelinesGet.ts +221 -0
- package/src/funcs/crmPipelinesUpdate.ts +221 -0
- package/src/funcs/fileStorageUploadSessionsUpload.ts +239 -0
- package/src/hooks/types.ts +1 -1
- package/src/lib/config.ts +4 -4
- package/src/lib/security.ts +11 -3
- package/src/models/components/address.ts +15 -14
- package/src/models/components/agedcreditors.ts +120 -0
- package/src/models/components/billlineitem.ts +4 -4
- package/src/models/components/connectionimportdata.ts +24 -33
- package/src/models/components/consumerconnection.ts +4 -53
- package/src/models/components/{contact.ts → contactinput.ts} +232 -233
- package/src/models/components/createattachmentresponse.ts +131 -0
- package/src/models/components/createconnectionresponse.ts +1 -1
- package/src/models/components/createpipelineresponse.ts +131 -0
- package/src/models/components/{creditnote.ts → creditnoteinput.ts} +131 -131
- package/src/models/components/deletepipelineresponse.ts +131 -0
- package/src/models/components/{employee.ts → employeeinput.ts} +123 -114
- package/src/models/components/employeeschedules.ts +1 -1
- package/src/models/components/employeesfilter.ts +7 -0
- package/src/models/components/{expense.ts → expenseinput.ts} +166 -166
- package/src/models/components/expenselineitem.ts +19 -10
- package/src/models/components/expenselineiteminput.ts +19 -10
- package/src/models/components/formfieldoption.ts +25 -7
- package/src/models/components/formfieldoptiongroup.ts +50 -8
- package/src/models/components/getaccountinglocationresponse.ts +1 -1
- package/src/models/components/getaccountinglocationsresponse.ts +1 -1
- package/src/models/components/getagedcreditorsresponse.ts +128 -0
- package/src/models/components/getapplicantresponse.ts +1 -1
- package/src/models/components/getapplicantsresponse.ts +1 -1
- package/src/models/components/getbillpaymentresponse.ts +1 -1
- package/src/models/components/getbillpaymentsresponse.ts +1 -1
- package/src/models/components/getconnectionresponse.ts +1 -1
- package/src/models/components/getconnectionsresponse.ts +1 -1
- package/src/models/components/getcontactresponse.ts +1 -1
- package/src/models/components/getcontactsresponse.ts +1 -1
- package/src/models/components/getcreditnoteresponse.ts +1 -1
- package/src/models/components/getcreditnotesresponse.ts +1 -1
- package/src/models/components/getcustomerresponse.ts +1 -1
- package/src/models/components/getcustomersresponse.ts +1 -1
- package/src/models/components/getemployeeresponse.ts +1 -1
- package/src/models/components/getemployeesresponse.ts +1 -1
- package/src/models/components/getexpenseresponse.ts +1 -1
- package/src/models/components/getexpensesresponse.ts +1 -1
- package/src/models/components/gethriscompaniesresponse.ts +1 -1
- package/src/models/components/gethriscompanyresponse.ts +1 -1
- package/src/models/components/getinvoiceresponse.ts +1 -1
- package/src/models/components/getinvoicesresponse.ts +1 -1
- package/src/models/components/getledgeraccountresponse.ts +1 -1
- package/src/models/components/getledgeraccountsresponse.ts +1 -1
- package/src/models/components/getpipelineresponse.ts +128 -0
- package/src/models/components/getsupplierresponse.ts +1 -1
- package/src/models/components/getsuppliersresponse.ts +1 -1
- package/src/models/components/getticketresponse.ts +1 -1
- package/src/models/components/getticketsresponse.ts +1 -1
- package/src/models/components/index.ts +26 -16
- package/src/models/components/{invoice.ts → invoiceinput.ts} +274 -274
- package/src/models/components/invoiceitem.ts +74 -0
- package/src/models/components/{invoicelineitem.ts → invoicelineiteminput.ts} +104 -104
- package/src/models/components/journalentrylineitem.ts +28 -10
- package/src/models/components/linkedecommercecustomer.ts +12 -12
- package/src/models/components/outstandingbalancebysupplier.ts +109 -0
- package/src/models/components/pipelineinput.ts +233 -0
- package/src/models/components/purchaseorder.ts +19 -1
- package/src/models/components/simpleformfieldoption.ts +42 -4
- package/src/models/components/updateconnectionresponse.ts +1 -1
- package/src/models/components/updatepipelineresponse.ts +131 -0
- package/src/models/components/updateuploadsessionresponse.ts +133 -0
- package/src/models/operations/accountingagedcreditorsone.ts +291 -0
- package/src/models/operations/accountingattachmentsupload.ts +318 -0
- package/src/models/operations/crmpipelinesadd.ts +264 -0
- package/src/models/operations/crmpipelinesdelete.ts +259 -0
- package/src/models/operations/crmpipelinesone.ts +262 -0
- package/src/models/operations/crmpipelinesupdate.ts +271 -0
- package/src/models/operations/filestorageuploadsessionsupload.ts +326 -0
- package/src/models/operations/index.ts +7 -0
- package/src/sdk/accounting.ts +6 -0
- package/src/sdk/agedcreditors.ts +27 -0
- package/src/sdk/attachments.ts +18 -0
- package/src/sdk/pipelines.ts +73 -0
- package/src/sdk/uploadsessions.ts +18 -0
- package/models/components/accountinglocation.d.ts.map +0 -1
- package/models/components/accountinglocation.js.map +0 -1
- package/models/components/applicant.d.ts.map +0 -1
- package/models/components/applicant.js.map +0 -1
- package/models/components/billpayment.d.ts.map +0 -1
- package/models/components/billpayment.js.map +0 -1
- package/models/components/connection.d.ts.map +0 -1
- package/models/components/connection.js.map +0 -1
- package/models/components/contact.d.ts.map +0 -1
- package/models/components/creditnote.d.ts.map +0 -1
- package/models/components/creditnote.js.map +0 -1
- package/models/components/customer.d.ts.map +0 -1
- package/models/components/customer.js.map +0 -1
- package/models/components/employee.d.ts.map +0 -1
- package/models/components/employee.js.map +0 -1
- package/models/components/employeecompensation.d.ts.map +0 -1
- package/models/components/employeecompensation.js.map +0 -1
- package/models/components/expense.d.ts.map +0 -1
- package/models/components/expense.js.map +0 -1
- package/models/components/hriscompany.d.ts.map +0 -1
- package/models/components/hriscompany.js.map +0 -1
- package/models/components/invoice.d.ts.map +0 -1
- package/models/components/invoicelineitem.d.ts.map +0 -1
- package/models/components/invoicelineitem.js.map +0 -1
- package/models/components/ledgeraccount.d.ts.map +0 -1
- package/models/components/ledgeraccount.js.map +0 -1
- package/models/components/supplier.d.ts.map +0 -1
- package/models/components/supplier.js.map +0 -1
- package/models/components/ticket.d.ts.map +0 -1
- package/models/components/ticket.js.map +0 -1
- package/src/models/components/{accountinglocation.ts → accountinglocationinput.ts} +106 -106
- package/src/models/components/{applicant.ts → applicantinput.ts} +157 -157
- package/src/models/components/{billpayment.ts → billpaymentinput.ts} +183 -183
- package/src/models/components/{connection.ts → connectioninput.ts} +347 -347
- package/src/models/components/{customer.ts → customerinput.ts} +121 -121
- package/src/models/components/{employeecompensation.ts → employeecompensationinput.ts} +58 -58
- package/src/models/components/{hriscompany.ts → hriscompanyinput.ts} +101 -101
- package/src/models/components/{ledgeraccount.ts → ledgeraccountinput.ts} +253 -253
- package/src/models/components/{supplier.ts → supplierinput.ts} +121 -121
- package/src/models/components/{ticket.ts → ticketinput.ts} +125 -125
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { UnifiedId, UnifiedId$Outbound } from "./unifiedid.js";
|
|
5
|
+
/**
|
|
6
|
+
* Attachments
|
|
7
|
+
*/
|
|
8
|
+
export type CreateAttachmentResponse = {
|
|
9
|
+
/**
|
|
10
|
+
* HTTP Response Status Code
|
|
11
|
+
*/
|
|
12
|
+
statusCode: number;
|
|
13
|
+
/**
|
|
14
|
+
* HTTP Response Status
|
|
15
|
+
*/
|
|
16
|
+
status: string;
|
|
17
|
+
/**
|
|
18
|
+
* Apideck ID of service provider
|
|
19
|
+
*/
|
|
20
|
+
service: string;
|
|
21
|
+
/**
|
|
22
|
+
* Unified API resource name
|
|
23
|
+
*/
|
|
24
|
+
resource: string;
|
|
25
|
+
/**
|
|
26
|
+
* Operation performed
|
|
27
|
+
*/
|
|
28
|
+
operation: string;
|
|
29
|
+
/**
|
|
30
|
+
* A object containing a unique identifier for the resource that was created, updated, or deleted.
|
|
31
|
+
*/
|
|
32
|
+
data: UnifiedId;
|
|
33
|
+
/**
|
|
34
|
+
* Raw response from the integration when raw=true query param is provided
|
|
35
|
+
*/
|
|
36
|
+
raw?: {
|
|
37
|
+
[k: string]: any;
|
|
38
|
+
} | null | undefined;
|
|
39
|
+
};
|
|
40
|
+
/** @internal */
|
|
41
|
+
export declare const CreateAttachmentResponse$inboundSchema: z.ZodType<CreateAttachmentResponse, z.ZodTypeDef, unknown>;
|
|
42
|
+
/** @internal */
|
|
43
|
+
export type CreateAttachmentResponse$Outbound = {
|
|
44
|
+
status_code: number;
|
|
45
|
+
status: string;
|
|
46
|
+
service: string;
|
|
47
|
+
resource: string;
|
|
48
|
+
operation: string;
|
|
49
|
+
data: UnifiedId$Outbound;
|
|
50
|
+
_raw?: {
|
|
51
|
+
[k: string]: any;
|
|
52
|
+
} | null | undefined;
|
|
53
|
+
};
|
|
54
|
+
/** @internal */
|
|
55
|
+
export declare const CreateAttachmentResponse$outboundSchema: z.ZodType<CreateAttachmentResponse$Outbound, z.ZodTypeDef, CreateAttachmentResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
|
+
*/
|
|
60
|
+
export declare namespace CreateAttachmentResponse$ {
|
|
61
|
+
/** @deprecated use `CreateAttachmentResponse$inboundSchema` instead. */
|
|
62
|
+
const inboundSchema: z.ZodType<CreateAttachmentResponse, z.ZodTypeDef, unknown>;
|
|
63
|
+
/** @deprecated use `CreateAttachmentResponse$outboundSchema` instead. */
|
|
64
|
+
const outboundSchema: z.ZodType<CreateAttachmentResponse$Outbound, z.ZodTypeDef, CreateAttachmentResponse>;
|
|
65
|
+
/** @deprecated use `CreateAttachmentResponse$Outbound` instead. */
|
|
66
|
+
type Outbound = CreateAttachmentResponse$Outbound;
|
|
67
|
+
}
|
|
68
|
+
export declare function createAttachmentResponseToJSON(createAttachmentResponse: CreateAttachmentResponse): string;
|
|
69
|
+
export declare function createAttachmentResponseFromJSON(jsonString: string): SafeParseResult<CreateAttachmentResponse, SDKValidationError>;
|
|
70
|
+
//# sourceMappingURL=createattachmentresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createattachmentresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/createattachmentresponse.ts"],"names":[],"mappings":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C,UAAU,EACZ,wBAAwB,CAcxB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,yBAAyB,CAAC;IACzC,wEAAwE;IACjE,MAAM,aAAa,4DAAyC,CAAC;IACpE,yEAAyE;IAClE,MAAM,cAAc,sFAA0C,CAAC;IACtE,mEAAmE;IACnE,KAAY,QAAQ,GAAG,iCAAiC,CAAC;CAC1D;AAED,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR;AAED,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CreateAttachmentResponse$ = exports.CreateAttachmentResponse$outboundSchema = exports.CreateAttachmentResponse$inboundSchema = void 0;
|
|
30
|
+
exports.createAttachmentResponseToJSON = createAttachmentResponseToJSON;
|
|
31
|
+
exports.createAttachmentResponseFromJSON = createAttachmentResponseFromJSON;
|
|
32
|
+
const z = __importStar(require("zod"));
|
|
33
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
|
+
const unifiedid_js_1 = require("./unifiedid.js");
|
|
36
|
+
/** @internal */
|
|
37
|
+
exports.CreateAttachmentResponse$inboundSchema = z.object({
|
|
38
|
+
status_code: z.number().int(),
|
|
39
|
+
status: z.string(),
|
|
40
|
+
service: z.string(),
|
|
41
|
+
resource: z.string(),
|
|
42
|
+
operation: z.string(),
|
|
43
|
+
data: unifiedid_js_1.UnifiedId$inboundSchema,
|
|
44
|
+
_raw: z.nullable(z.record(z.any())).optional(),
|
|
45
|
+
}).transform((v) => {
|
|
46
|
+
return (0, primitives_js_1.remap)(v, {
|
|
47
|
+
"status_code": "statusCode",
|
|
48
|
+
"_raw": "raw",
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
/** @internal */
|
|
52
|
+
exports.CreateAttachmentResponse$outboundSchema = z.object({
|
|
53
|
+
statusCode: z.number().int(),
|
|
54
|
+
status: z.string(),
|
|
55
|
+
service: z.string(),
|
|
56
|
+
resource: z.string(),
|
|
57
|
+
operation: z.string(),
|
|
58
|
+
data: unifiedid_js_1.UnifiedId$outboundSchema,
|
|
59
|
+
raw: z.nullable(z.record(z.any())).optional(),
|
|
60
|
+
}).transform((v) => {
|
|
61
|
+
return (0, primitives_js_1.remap)(v, {
|
|
62
|
+
statusCode: "status_code",
|
|
63
|
+
raw: "_raw",
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
69
|
+
*/
|
|
70
|
+
var CreateAttachmentResponse$;
|
|
71
|
+
(function (CreateAttachmentResponse$) {
|
|
72
|
+
/** @deprecated use `CreateAttachmentResponse$inboundSchema` instead. */
|
|
73
|
+
CreateAttachmentResponse$.inboundSchema = exports.CreateAttachmentResponse$inboundSchema;
|
|
74
|
+
/** @deprecated use `CreateAttachmentResponse$outboundSchema` instead. */
|
|
75
|
+
CreateAttachmentResponse$.outboundSchema = exports.CreateAttachmentResponse$outboundSchema;
|
|
76
|
+
})(CreateAttachmentResponse$ || (exports.CreateAttachmentResponse$ = CreateAttachmentResponse$ = {}));
|
|
77
|
+
function createAttachmentResponseToJSON(createAttachmentResponse) {
|
|
78
|
+
return JSON.stringify(exports.CreateAttachmentResponse$outboundSchema.parse(createAttachmentResponse));
|
|
79
|
+
}
|
|
80
|
+
function createAttachmentResponseFromJSON(jsonString) {
|
|
81
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateAttachmentResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateAttachmentResponse' from JSON`);
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=createattachmentresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createattachmentresponse.js","sourceRoot":"","sources":["../../src/models/components/createattachmentresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAgHH,wEAMC;AAED,4EAQC;AA9HD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,iDAKwB;AAoCxB,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MA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ACxC,wEAAwE;IAC3D,uCAAa,GAAG,8CAAsC,CAAC;IACpE,yEAAyE;IAC5D,wCAAc,GAAG,+CAAuC,CAAC;AAGxE,CAAC,EAPgB,yBAAyB,yCAAzB,yBAAyB,QAOzC;AAED,SAAgB,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,+CAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC;AAED,SAAgB,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { Connection, Connection$Outbound } from "./
|
|
4
|
+
import { Connection, Connection$Outbound } from "./connectioninput.js";
|
|
5
5
|
/**
|
|
6
6
|
* Connection created
|
|
7
7
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createconnectionresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/createconnectionresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,
|
|
1
|
+
{"version":3,"file":"createconnectionresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/createconnectionresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,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AAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR;AAED,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
|
|
@@ -32,12 +32,12 @@ exports.createConnectionResponseFromJSON = createConnectionResponseFromJSON;
|
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
33
33
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
34
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
|
-
const
|
|
35
|
+
const connectioninput_js_1 = require("./connectioninput.js");
|
|
36
36
|
/** @internal */
|
|
37
37
|
exports.CreateConnectionResponse$inboundSchema = z.object({
|
|
38
38
|
status_code: z.number().int(),
|
|
39
39
|
status: z.string(),
|
|
40
|
-
data:
|
|
40
|
+
data: connectioninput_js_1.Connection$inboundSchema,
|
|
41
41
|
_raw: z.nullable(z.record(z.any())).optional(),
|
|
42
42
|
}).transform((v) => {
|
|
43
43
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -49,7 +49,7 @@ exports.CreateConnectionResponse$inboundSchema = z.object({
|
|
|
49
49
|
exports.CreateConnectionResponse$outboundSchema = z.object({
|
|
50
50
|
statusCode: z.number().int(),
|
|
51
51
|
status: z.string(),
|
|
52
|
-
data:
|
|
52
|
+
data: connectioninput_js_1.Connection$outboundSchema,
|
|
53
53
|
raw: z.nullable(z.record(z.any())).optional(),
|
|
54
54
|
}).transform((v) => {
|
|
55
55
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createconnectionresponse.js","sourceRoot":"","sources":["../../src/models/components/createconnectionresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAwFH,wEAMC;AAED,4EAQC;AAtGD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,
|
|
1
|
+
{"version":3,"file":"createconnectionresponse.js","sourceRoot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APD,WAAiB,yBAAyB;IACxC,wEAAwE;IAC3D,uCAAa,GAAG,8CAAsC,CAAC;IACpE,yEAAyE;IAC5D,wCAAc,GAAG,+CAAuC,CAAC;AAGxE,CAAC,EAPgB,yBAAyB,yCAAzB,yBAAyB,QAOzC;AAED,SAAgB,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,+CAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC;AAED,SAAgB,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { UnifiedId, UnifiedId$Outbound } from "./unifiedid.js";
|
|
5
|
+
/**
|
|
6
|
+
* Pipeline created
|
|
7
|
+
*/
|
|
8
|
+
export type CreatePipelineResponse = {
|
|
9
|
+
/**
|
|
10
|
+
* HTTP Response Status Code
|
|
11
|
+
*/
|
|
12
|
+
statusCode: number;
|
|
13
|
+
/**
|
|
14
|
+
* HTTP Response Status
|
|
15
|
+
*/
|
|
16
|
+
status: string;
|
|
17
|
+
/**
|
|
18
|
+
* Apideck ID of service provider
|
|
19
|
+
*/
|
|
20
|
+
service: string;
|
|
21
|
+
/**
|
|
22
|
+
* Unified API resource name
|
|
23
|
+
*/
|
|
24
|
+
resource: string;
|
|
25
|
+
/**
|
|
26
|
+
* Operation performed
|
|
27
|
+
*/
|
|
28
|
+
operation: string;
|
|
29
|
+
/**
|
|
30
|
+
* A object containing a unique identifier for the resource that was created, updated, or deleted.
|
|
31
|
+
*/
|
|
32
|
+
data: UnifiedId;
|
|
33
|
+
/**
|
|
34
|
+
* Raw response from the integration when raw=true query param is provided
|
|
35
|
+
*/
|
|
36
|
+
raw?: {
|
|
37
|
+
[k: string]: any;
|
|
38
|
+
} | null | undefined;
|
|
39
|
+
};
|
|
40
|
+
/** @internal */
|
|
41
|
+
export declare const CreatePipelineResponse$inboundSchema: z.ZodType<CreatePipelineResponse, z.ZodTypeDef, unknown>;
|
|
42
|
+
/** @internal */
|
|
43
|
+
export type CreatePipelineResponse$Outbound = {
|
|
44
|
+
status_code: number;
|
|
45
|
+
status: string;
|
|
46
|
+
service: string;
|
|
47
|
+
resource: string;
|
|
48
|
+
operation: string;
|
|
49
|
+
data: UnifiedId$Outbound;
|
|
50
|
+
_raw?: {
|
|
51
|
+
[k: string]: any;
|
|
52
|
+
} | null | undefined;
|
|
53
|
+
};
|
|
54
|
+
/** @internal */
|
|
55
|
+
export declare const CreatePipelineResponse$outboundSchema: z.ZodType<CreatePipelineResponse$Outbound, z.ZodTypeDef, CreatePipelineResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
|
+
*/
|
|
60
|
+
export declare namespace CreatePipelineResponse$ {
|
|
61
|
+
/** @deprecated use `CreatePipelineResponse$inboundSchema` instead. */
|
|
62
|
+
const inboundSchema: z.ZodType<CreatePipelineResponse, z.ZodTypeDef, unknown>;
|
|
63
|
+
/** @deprecated use `CreatePipelineResponse$outboundSchema` instead. */
|
|
64
|
+
const outboundSchema: z.ZodType<CreatePipelineResponse$Outbound, z.ZodTypeDef, CreatePipelineResponse>;
|
|
65
|
+
/** @deprecated use `CreatePipelineResponse$Outbound` instead. */
|
|
66
|
+
type Outbound = CreatePipelineResponse$Outbound;
|
|
67
|
+
}
|
|
68
|
+
export declare function createPipelineResponseToJSON(createPipelineResponse: CreatePipelineResponse): string;
|
|
69
|
+
export declare function createPipelineResponseFromJSON(jsonString: string): SafeParseResult<CreatePipelineResponse, SDKValidationError>;
|
|
70
|
+
//# sourceMappingURL=createpipelineresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createpipelineresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/createpipelineresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,SAAS,EAET,kBAAkB,EAEnB,MAAM,gBAAgB,CAAC;AAExB;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB;;OAEG;IACH,GAAG,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;CAC/C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CAcP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,kBAAkB,CAAC;IACzB,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,sBAAsB,CActB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,uBAAuB,CAAC;IACvC,sEAAsE;IAC/D,MAAM,aAAa,0DAAuC,CAAC;IAClE,uEAAuE;IAChE,MAAM,cAAc,kFAAwC,CAAC;IACpE,iEAAiE;IACjE,KAAY,QAAQ,GAAG,+BAA+B,CAAC;CACxD;AAED,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AAED,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CreatePipelineResponse$ = exports.CreatePipelineResponse$outboundSchema = exports.CreatePipelineResponse$inboundSchema = void 0;
|
|
30
|
+
exports.createPipelineResponseToJSON = createPipelineResponseToJSON;
|
|
31
|
+
exports.createPipelineResponseFromJSON = createPipelineResponseFromJSON;
|
|
32
|
+
const z = __importStar(require("zod"));
|
|
33
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
|
+
const unifiedid_js_1 = require("./unifiedid.js");
|
|
36
|
+
/** @internal */
|
|
37
|
+
exports.CreatePipelineResponse$inboundSchema = z.object({
|
|
38
|
+
status_code: z.number().int(),
|
|
39
|
+
status: z.string(),
|
|
40
|
+
service: z.string(),
|
|
41
|
+
resource: z.string(),
|
|
42
|
+
operation: z.string(),
|
|
43
|
+
data: unifiedid_js_1.UnifiedId$inboundSchema,
|
|
44
|
+
_raw: z.nullable(z.record(z.any())).optional(),
|
|
45
|
+
}).transform((v) => {
|
|
46
|
+
return (0, primitives_js_1.remap)(v, {
|
|
47
|
+
"status_code": "statusCode",
|
|
48
|
+
"_raw": "raw",
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
/** @internal */
|
|
52
|
+
exports.CreatePipelineResponse$outboundSchema = z.object({
|
|
53
|
+
statusCode: z.number().int(),
|
|
54
|
+
status: z.string(),
|
|
55
|
+
service: z.string(),
|
|
56
|
+
resource: z.string(),
|
|
57
|
+
operation: z.string(),
|
|
58
|
+
data: unifiedid_js_1.UnifiedId$outboundSchema,
|
|
59
|
+
raw: z.nullable(z.record(z.any())).optional(),
|
|
60
|
+
}).transform((v) => {
|
|
61
|
+
return (0, primitives_js_1.remap)(v, {
|
|
62
|
+
statusCode: "status_code",
|
|
63
|
+
raw: "_raw",
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
69
|
+
*/
|
|
70
|
+
var CreatePipelineResponse$;
|
|
71
|
+
(function (CreatePipelineResponse$) {
|
|
72
|
+
/** @deprecated use `CreatePipelineResponse$inboundSchema` instead. */
|
|
73
|
+
CreatePipelineResponse$.inboundSchema = exports.CreatePipelineResponse$inboundSchema;
|
|
74
|
+
/** @deprecated use `CreatePipelineResponse$outboundSchema` instead. */
|
|
75
|
+
CreatePipelineResponse$.outboundSchema = exports.CreatePipelineResponse$outboundSchema;
|
|
76
|
+
})(CreatePipelineResponse$ || (exports.CreatePipelineResponse$ = CreatePipelineResponse$ = {}));
|
|
77
|
+
function createPipelineResponseToJSON(createPipelineResponse) {
|
|
78
|
+
return JSON.stringify(exports.CreatePipelineResponse$outboundSchema.parse(createPipelineResponse));
|
|
79
|
+
}
|
|
80
|
+
function createPipelineResponseFromJSON(jsonString) {
|
|
81
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreatePipelineResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePipelineResponse' from JSON`);
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=createpipelineresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createpipelineresponse.js","sourceRoot":"","sources":["../../src/models/components/createpipelineresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;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AAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,aAAa;QACzB,GAAG,EAAE,MAAM;KACZ,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,uBAAuB,CAOvC;AAPD,WAAiB,uBAAuB;IACtC,sEAAsE;IACzD,qCAAa,GAAG,4CAAoC,CAAC;IAClE,uEAAuE;IAC1D,sCAAc,GAAG,6CAAqC,CAAC;AAGtE,CAAC,EAPgB,uBAAuB,uCAAvB,uBAAuB,QAOvC;AAED,SAAgB,4BAA4B,CAC1C,sBAA8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,6CAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AACJ,CAAC;AAED,SAAgB,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
|
|
@@ -7,7 +7,7 @@ import { Allocation, Allocation$Outbound, AllocationInput, AllocationInput$Outbo
|
|
|
7
7
|
import { Currency } from "./currency.js";
|
|
8
8
|
import { CustomField, CustomField$Outbound } from "./customfield.js";
|
|
9
9
|
import { CustomMappings, CustomMappings$Outbound } from "./custommappings.js";
|
|
10
|
-
import { InvoiceLineItem, InvoiceLineItem$Outbound, InvoiceLineItemInput, InvoiceLineItemInput$Outbound } from "./
|
|
10
|
+
import { InvoiceLineItem, InvoiceLineItem$Outbound, InvoiceLineItemInput, InvoiceLineItemInput$Outbound } from "./invoicelineiteminput.js";
|
|
11
11
|
import { LinkedCustomer, LinkedCustomer$Outbound } from "./linkedcustomer.js";
|
|
12
12
|
import { LinkedCustomerInput, LinkedCustomerInput$Outbound } from "./linkedcustomerinput.js";
|
|
13
13
|
import { LinkedLedgerAccount, LinkedLedgerAccount$Outbound } from "./linkedledgeraccount.js";
|
|
@@ -39,11 +39,7 @@ export declare const CreditNoteType: {
|
|
|
39
39
|
* Type of payment
|
|
40
40
|
*/
|
|
41
41
|
export type CreditNoteType = ClosedEnum<typeof CreditNoteType>;
|
|
42
|
-
export type
|
|
43
|
-
/**
|
|
44
|
-
* Unique identifier representing the entity
|
|
45
|
-
*/
|
|
46
|
-
id: string;
|
|
42
|
+
export type CreditNoteInput = {
|
|
47
43
|
/**
|
|
48
44
|
* Credit note number.
|
|
49
45
|
*/
|
|
@@ -51,7 +47,7 @@ export type CreditNote = {
|
|
|
51
47
|
/**
|
|
52
48
|
* The customer this entity is linked to.
|
|
53
49
|
*/
|
|
54
|
-
customer?:
|
|
50
|
+
customer?: LinkedCustomerInput | null | undefined;
|
|
55
51
|
/**
|
|
56
52
|
* The company or subsidiary id the transaction belongs to
|
|
57
53
|
*/
|
|
@@ -112,9 +108,9 @@ export type CreditNote = {
|
|
|
112
108
|
* Type of payment
|
|
113
109
|
*/
|
|
114
110
|
type?: CreditNoteType | undefined;
|
|
115
|
-
account?:
|
|
116
|
-
lineItems?: Array<
|
|
117
|
-
allocations?: Array<
|
|
111
|
+
account?: LinkedLedgerAccountInput | null | undefined;
|
|
112
|
+
lineItems?: Array<InvoiceLineItemInput> | undefined;
|
|
113
|
+
allocations?: Array<AllocationInput> | undefined;
|
|
118
114
|
/**
|
|
119
115
|
* Optional note to be associated with the credit note.
|
|
120
116
|
*/
|
|
@@ -129,37 +125,21 @@ export type CreditNote = {
|
|
|
129
125
|
* A list of linked tracking categories.
|
|
130
126
|
*/
|
|
131
127
|
trackingCategories?: Array<LinkedTrackingCategory | null> | null | undefined;
|
|
132
|
-
/**
|
|
133
|
-
* When custom mappings are configured on the resource, the result is included here.
|
|
134
|
-
*/
|
|
135
|
-
customMappings?: CustomMappings | null | undefined;
|
|
136
128
|
customFields?: Array<CustomField> | undefined;
|
|
137
129
|
/**
|
|
138
130
|
* A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.
|
|
139
131
|
*/
|
|
140
132
|
rowVersion?: string | null | undefined;
|
|
141
|
-
/**
|
|
142
|
-
* The user who last updated the object.
|
|
143
|
-
*/
|
|
144
|
-
updatedBy?: string | null | undefined;
|
|
145
|
-
/**
|
|
146
|
-
* The user who created the object.
|
|
147
|
-
*/
|
|
148
|
-
createdBy?: string | null | undefined;
|
|
149
|
-
/**
|
|
150
|
-
* The date and time when the object was last updated.
|
|
151
|
-
*/
|
|
152
|
-
updatedAt?: Date | null | undefined;
|
|
153
|
-
/**
|
|
154
|
-
* The date and time when the object was created.
|
|
155
|
-
*/
|
|
156
|
-
createdAt?: Date | null | undefined;
|
|
157
133
|
/**
|
|
158
134
|
* The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.
|
|
159
135
|
*/
|
|
160
136
|
passThrough?: Array<PassThroughBody> | undefined;
|
|
161
137
|
};
|
|
162
|
-
export type
|
|
138
|
+
export type CreditNote = {
|
|
139
|
+
/**
|
|
140
|
+
* Unique identifier representing the entity
|
|
141
|
+
*/
|
|
142
|
+
id: string;
|
|
163
143
|
/**
|
|
164
144
|
* Credit note number.
|
|
165
145
|
*/
|
|
@@ -167,7 +147,7 @@ export type CreditNoteInput = {
|
|
|
167
147
|
/**
|
|
168
148
|
* The customer this entity is linked to.
|
|
169
149
|
*/
|
|
170
|
-
customer?:
|
|
150
|
+
customer?: LinkedCustomer | null | undefined;
|
|
171
151
|
/**
|
|
172
152
|
* The company or subsidiary id the transaction belongs to
|
|
173
153
|
*/
|
|
@@ -228,9 +208,9 @@ export type CreditNoteInput = {
|
|
|
228
208
|
* Type of payment
|
|
229
209
|
*/
|
|
230
210
|
type?: CreditNoteType | undefined;
|
|
231
|
-
account?:
|
|
232
|
-
lineItems?: Array<
|
|
233
|
-
allocations?: Array<
|
|
211
|
+
account?: LinkedLedgerAccount | null | undefined;
|
|
212
|
+
lineItems?: Array<InvoiceLineItem> | undefined;
|
|
213
|
+
allocations?: Array<Allocation> | undefined;
|
|
234
214
|
/**
|
|
235
215
|
* Optional note to be associated with the credit note.
|
|
236
216
|
*/
|
|
@@ -245,11 +225,31 @@ export type CreditNoteInput = {
|
|
|
245
225
|
* A list of linked tracking categories.
|
|
246
226
|
*/
|
|
247
227
|
trackingCategories?: Array<LinkedTrackingCategory | null> | null | undefined;
|
|
228
|
+
/**
|
|
229
|
+
* When custom mappings are configured on the resource, the result is included here.
|
|
230
|
+
*/
|
|
231
|
+
customMappings?: CustomMappings | null | undefined;
|
|
248
232
|
customFields?: Array<CustomField> | undefined;
|
|
249
233
|
/**
|
|
250
234
|
* A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.
|
|
251
235
|
*/
|
|
252
236
|
rowVersion?: string | null | undefined;
|
|
237
|
+
/**
|
|
238
|
+
* The user who last updated the object.
|
|
239
|
+
*/
|
|
240
|
+
updatedBy?: string | null | undefined;
|
|
241
|
+
/**
|
|
242
|
+
* The user who created the object.
|
|
243
|
+
*/
|
|
244
|
+
createdBy?: string | null | undefined;
|
|
245
|
+
/**
|
|
246
|
+
* The date and time when the object was last updated.
|
|
247
|
+
*/
|
|
248
|
+
updatedAt?: Date | null | undefined;
|
|
249
|
+
/**
|
|
250
|
+
* The date and time when the object was created.
|
|
251
|
+
*/
|
|
252
|
+
createdAt?: Date | null | undefined;
|
|
253
253
|
/**
|
|
254
254
|
* The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.
|
|
255
255
|
*/
|
|
@@ -302,12 +302,11 @@ export declare namespace CreditNoteType$ {
|
|
|
302
302
|
}>;
|
|
303
303
|
}
|
|
304
304
|
/** @internal */
|
|
305
|
-
export declare const
|
|
305
|
+
export declare const CreditNoteInput$inboundSchema: z.ZodType<CreditNoteInput, z.ZodTypeDef, unknown>;
|
|
306
306
|
/** @internal */
|
|
307
|
-
export type
|
|
308
|
-
id: string;
|
|
307
|
+
export type CreditNoteInput$Outbound = {
|
|
309
308
|
number?: string | null | undefined;
|
|
310
|
-
customer?:
|
|
309
|
+
customer?: LinkedCustomerInput$Outbound | null | undefined;
|
|
311
310
|
company_id?: string | null | undefined;
|
|
312
311
|
currency?: string | null | undefined;
|
|
313
312
|
currency_rate?: number | null | undefined;
|
|
@@ -323,45 +322,41 @@ export type CreditNote$Outbound = {
|
|
|
323
322
|
date_issued?: string | undefined;
|
|
324
323
|
date_paid?: string | null | undefined;
|
|
325
324
|
type?: string | undefined;
|
|
326
|
-
account?:
|
|
327
|
-
line_items?: Array<
|
|
328
|
-
allocations?: Array<
|
|
325
|
+
account?: LinkedLedgerAccountInput$Outbound | null | undefined;
|
|
326
|
+
line_items?: Array<InvoiceLineItemInput$Outbound> | undefined;
|
|
327
|
+
allocations?: Array<AllocationInput$Outbound> | undefined;
|
|
329
328
|
note?: string | null | undefined;
|
|
330
329
|
terms?: string | null | undefined;
|
|
331
330
|
billing_address?: Address$Outbound | undefined;
|
|
332
331
|
shipping_address?: Address$Outbound | undefined;
|
|
333
332
|
tracking_categories?: Array<LinkedTrackingCategory$Outbound | null> | null | undefined;
|
|
334
|
-
custom_mappings?: CustomMappings$Outbound | null | undefined;
|
|
335
333
|
custom_fields?: Array<CustomField$Outbound> | undefined;
|
|
336
334
|
row_version?: string | null | undefined;
|
|
337
|
-
updated_by?: string | null | undefined;
|
|
338
|
-
created_by?: string | null | undefined;
|
|
339
|
-
updated_at?: string | null | undefined;
|
|
340
|
-
created_at?: string | null | undefined;
|
|
341
335
|
pass_through?: Array<PassThroughBody$Outbound> | undefined;
|
|
342
336
|
};
|
|
343
337
|
/** @internal */
|
|
344
|
-
export declare const
|
|
338
|
+
export declare const CreditNoteInput$outboundSchema: z.ZodType<CreditNoteInput$Outbound, z.ZodTypeDef, CreditNoteInput>;
|
|
345
339
|
/**
|
|
346
340
|
* @internal
|
|
347
341
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
348
342
|
*/
|
|
349
|
-
export declare namespace
|
|
350
|
-
/** @deprecated use `
|
|
351
|
-
const inboundSchema: z.ZodType<
|
|
352
|
-
/** @deprecated use `
|
|
353
|
-
const outboundSchema: z.ZodType<
|
|
354
|
-
/** @deprecated use `
|
|
355
|
-
type Outbound =
|
|
343
|
+
export declare namespace CreditNoteInput$ {
|
|
344
|
+
/** @deprecated use `CreditNoteInput$inboundSchema` instead. */
|
|
345
|
+
const inboundSchema: z.ZodType<CreditNoteInput, z.ZodTypeDef, unknown>;
|
|
346
|
+
/** @deprecated use `CreditNoteInput$outboundSchema` instead. */
|
|
347
|
+
const outboundSchema: z.ZodType<CreditNoteInput$Outbound, z.ZodTypeDef, CreditNoteInput>;
|
|
348
|
+
/** @deprecated use `CreditNoteInput$Outbound` instead. */
|
|
349
|
+
type Outbound = CreditNoteInput$Outbound;
|
|
356
350
|
}
|
|
357
|
-
export declare function
|
|
358
|
-
export declare function
|
|
351
|
+
export declare function creditNoteInputToJSON(creditNoteInput: CreditNoteInput): string;
|
|
352
|
+
export declare function creditNoteInputFromJSON(jsonString: string): SafeParseResult<CreditNoteInput, SDKValidationError>;
|
|
359
353
|
/** @internal */
|
|
360
|
-
export declare const
|
|
354
|
+
export declare const CreditNote$inboundSchema: z.ZodType<CreditNote, z.ZodTypeDef, unknown>;
|
|
361
355
|
/** @internal */
|
|
362
|
-
export type
|
|
356
|
+
export type CreditNote$Outbound = {
|
|
357
|
+
id: string;
|
|
363
358
|
number?: string | null | undefined;
|
|
364
|
-
customer?:
|
|
359
|
+
customer?: LinkedCustomer$Outbound | null | undefined;
|
|
365
360
|
company_id?: string | null | undefined;
|
|
366
361
|
currency?: string | null | undefined;
|
|
367
362
|
currency_rate?: number | null | undefined;
|
|
@@ -377,32 +372,37 @@ export type CreditNoteInput$Outbound = {
|
|
|
377
372
|
date_issued?: string | undefined;
|
|
378
373
|
date_paid?: string | null | undefined;
|
|
379
374
|
type?: string | undefined;
|
|
380
|
-
account?:
|
|
381
|
-
line_items?: Array<
|
|
382
|
-
allocations?: Array<
|
|
375
|
+
account?: LinkedLedgerAccount$Outbound | null | undefined;
|
|
376
|
+
line_items?: Array<InvoiceLineItem$Outbound> | undefined;
|
|
377
|
+
allocations?: Array<Allocation$Outbound> | undefined;
|
|
383
378
|
note?: string | null | undefined;
|
|
384
379
|
terms?: string | null | undefined;
|
|
385
380
|
billing_address?: Address$Outbound | undefined;
|
|
386
381
|
shipping_address?: Address$Outbound | undefined;
|
|
387
382
|
tracking_categories?: Array<LinkedTrackingCategory$Outbound | null> | null | undefined;
|
|
383
|
+
custom_mappings?: CustomMappings$Outbound | null | undefined;
|
|
388
384
|
custom_fields?: Array<CustomField$Outbound> | undefined;
|
|
389
385
|
row_version?: string | null | undefined;
|
|
386
|
+
updated_by?: string | null | undefined;
|
|
387
|
+
created_by?: string | null | undefined;
|
|
388
|
+
updated_at?: string | null | undefined;
|
|
389
|
+
created_at?: string | null | undefined;
|
|
390
390
|
pass_through?: Array<PassThroughBody$Outbound> | undefined;
|
|
391
391
|
};
|
|
392
392
|
/** @internal */
|
|
393
|
-
export declare const
|
|
393
|
+
export declare const CreditNote$outboundSchema: z.ZodType<CreditNote$Outbound, z.ZodTypeDef, CreditNote>;
|
|
394
394
|
/**
|
|
395
395
|
* @internal
|
|
396
396
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
397
397
|
*/
|
|
398
|
-
export declare namespace
|
|
399
|
-
/** @deprecated use `
|
|
400
|
-
const inboundSchema: z.ZodType<
|
|
401
|
-
/** @deprecated use `
|
|
402
|
-
const outboundSchema: z.ZodType<
|
|
403
|
-
/** @deprecated use `
|
|
404
|
-
type Outbound =
|
|
398
|
+
export declare namespace CreditNote$ {
|
|
399
|
+
/** @deprecated use `CreditNote$inboundSchema` instead. */
|
|
400
|
+
const inboundSchema: z.ZodType<CreditNote, z.ZodTypeDef, unknown>;
|
|
401
|
+
/** @deprecated use `CreditNote$outboundSchema` instead. */
|
|
402
|
+
const outboundSchema: z.ZodType<CreditNote$Outbound, z.ZodTypeDef, CreditNote>;
|
|
403
|
+
/** @deprecated use `CreditNote$Outbound` instead. */
|
|
404
|
+
type Outbound = CreditNote$Outbound;
|
|
405
405
|
}
|
|
406
|
-
export declare function
|
|
407
|
-
export declare function
|
|
408
|
-
//# sourceMappingURL=
|
|
406
|
+
export declare function creditNoteToJSON(creditNote: CreditNote): string;
|
|
407
|
+
export declare function creditNoteFromJSON(jsonString: string): SafeParseResult<CreditNote, SDKValidationError>;
|
|
408
|
+
//# sourceMappingURL=creditnoteinput.d.ts.map
|