@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,157 @@
|
|
|
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.AccountingAgedCreditorsOneResponse$ = exports.AccountingAgedCreditorsOneResponse$outboundSchema = exports.AccountingAgedCreditorsOneResponse$inboundSchema = exports.AccountingAgedCreditorsOneRequest$ = exports.AccountingAgedCreditorsOneRequest$outboundSchema = exports.AccountingAgedCreditorsOneRequest$inboundSchema = exports.AccountingAgedCreditorsOneGlobals$ = exports.AccountingAgedCreditorsOneGlobals$outboundSchema = exports.AccountingAgedCreditorsOneGlobals$inboundSchema = void 0;
|
|
30
|
+
exports.accountingAgedCreditorsOneGlobalsToJSON = accountingAgedCreditorsOneGlobalsToJSON;
|
|
31
|
+
exports.accountingAgedCreditorsOneGlobalsFromJSON = accountingAgedCreditorsOneGlobalsFromJSON;
|
|
32
|
+
exports.accountingAgedCreditorsOneRequestToJSON = accountingAgedCreditorsOneRequestToJSON;
|
|
33
|
+
exports.accountingAgedCreditorsOneRequestFromJSON = accountingAgedCreditorsOneRequestFromJSON;
|
|
34
|
+
exports.accountingAgedCreditorsOneResponseToJSON = accountingAgedCreditorsOneResponseToJSON;
|
|
35
|
+
exports.accountingAgedCreditorsOneResponseFromJSON = accountingAgedCreditorsOneResponseFromJSON;
|
|
36
|
+
const z = __importStar(require("zod"));
|
|
37
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
38
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
39
|
+
const components = __importStar(require("../components/index.js"));
|
|
40
|
+
/** @internal */
|
|
41
|
+
exports.AccountingAgedCreditorsOneGlobals$inboundSchema = z.object({
|
|
42
|
+
consumerId: z.string().optional(),
|
|
43
|
+
appId: z.string().optional(),
|
|
44
|
+
});
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.AccountingAgedCreditorsOneGlobals$outboundSchema = z.object({
|
|
47
|
+
consumerId: z.string().optional(),
|
|
48
|
+
appId: z.string().optional(),
|
|
49
|
+
});
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
53
|
+
*/
|
|
54
|
+
var AccountingAgedCreditorsOneGlobals$;
|
|
55
|
+
(function (AccountingAgedCreditorsOneGlobals$) {
|
|
56
|
+
/** @deprecated use `AccountingAgedCreditorsOneGlobals$inboundSchema` instead. */
|
|
57
|
+
AccountingAgedCreditorsOneGlobals$.inboundSchema = exports.AccountingAgedCreditorsOneGlobals$inboundSchema;
|
|
58
|
+
/** @deprecated use `AccountingAgedCreditorsOneGlobals$outboundSchema` instead. */
|
|
59
|
+
AccountingAgedCreditorsOneGlobals$.outboundSchema = exports.AccountingAgedCreditorsOneGlobals$outboundSchema;
|
|
60
|
+
})(AccountingAgedCreditorsOneGlobals$ || (exports.AccountingAgedCreditorsOneGlobals$ = AccountingAgedCreditorsOneGlobals$ = {}));
|
|
61
|
+
function accountingAgedCreditorsOneGlobalsToJSON(accountingAgedCreditorsOneGlobals) {
|
|
62
|
+
return JSON.stringify(exports.AccountingAgedCreditorsOneGlobals$outboundSchema.parse(accountingAgedCreditorsOneGlobals));
|
|
63
|
+
}
|
|
64
|
+
function accountingAgedCreditorsOneGlobalsFromJSON(jsonString) {
|
|
65
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingAgedCreditorsOneGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingAgedCreditorsOneGlobals' from JSON`);
|
|
66
|
+
}
|
|
67
|
+
/** @internal */
|
|
68
|
+
exports.AccountingAgedCreditorsOneRequest$inboundSchema = z.object({
|
|
69
|
+
raw: z.boolean().default(false),
|
|
70
|
+
consumerId: z.string().optional(),
|
|
71
|
+
appId: z.string().optional(),
|
|
72
|
+
serviceId: z.string().optional(),
|
|
73
|
+
filter: components.AgedReportFilter$inboundSchema.optional(),
|
|
74
|
+
pass_through: z.record(z.any()).optional(),
|
|
75
|
+
fields: z.nullable(z.string()).optional(),
|
|
76
|
+
}).transform((v) => {
|
|
77
|
+
return (0, primitives_js_1.remap)(v, {
|
|
78
|
+
"pass_through": "passThrough",
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
/** @internal */
|
|
82
|
+
exports.AccountingAgedCreditorsOneRequest$outboundSchema = z.object({
|
|
83
|
+
raw: z.boolean().default(false),
|
|
84
|
+
consumerId: z.string().optional(),
|
|
85
|
+
appId: z.string().optional(),
|
|
86
|
+
serviceId: z.string().optional(),
|
|
87
|
+
filter: components.AgedReportFilter$outboundSchema.optional(),
|
|
88
|
+
passThrough: z.record(z.any()).optional(),
|
|
89
|
+
fields: z.nullable(z.string()).optional(),
|
|
90
|
+
}).transform((v) => {
|
|
91
|
+
return (0, primitives_js_1.remap)(v, {
|
|
92
|
+
passThrough: "pass_through",
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
98
|
+
*/
|
|
99
|
+
var AccountingAgedCreditorsOneRequest$;
|
|
100
|
+
(function (AccountingAgedCreditorsOneRequest$) {
|
|
101
|
+
/** @deprecated use `AccountingAgedCreditorsOneRequest$inboundSchema` instead. */
|
|
102
|
+
AccountingAgedCreditorsOneRequest$.inboundSchema = exports.AccountingAgedCreditorsOneRequest$inboundSchema;
|
|
103
|
+
/** @deprecated use `AccountingAgedCreditorsOneRequest$outboundSchema` instead. */
|
|
104
|
+
AccountingAgedCreditorsOneRequest$.outboundSchema = exports.AccountingAgedCreditorsOneRequest$outboundSchema;
|
|
105
|
+
})(AccountingAgedCreditorsOneRequest$ || (exports.AccountingAgedCreditorsOneRequest$ = AccountingAgedCreditorsOneRequest$ = {}));
|
|
106
|
+
function accountingAgedCreditorsOneRequestToJSON(accountingAgedCreditorsOneRequest) {
|
|
107
|
+
return JSON.stringify(exports.AccountingAgedCreditorsOneRequest$outboundSchema.parse(accountingAgedCreditorsOneRequest));
|
|
108
|
+
}
|
|
109
|
+
function accountingAgedCreditorsOneRequestFromJSON(jsonString) {
|
|
110
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingAgedCreditorsOneRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingAgedCreditorsOneRequest' from JSON`);
|
|
111
|
+
}
|
|
112
|
+
/** @internal */
|
|
113
|
+
exports.AccountingAgedCreditorsOneResponse$inboundSchema = z.object({
|
|
114
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
115
|
+
GetAgedCreditorsResponse: components.GetAgedCreditorsResponse$inboundSchema
|
|
116
|
+
.optional(),
|
|
117
|
+
UnexpectedErrorResponse: components.UnexpectedErrorResponse$inboundSchema
|
|
118
|
+
.optional(),
|
|
119
|
+
}).transform((v) => {
|
|
120
|
+
return (0, primitives_js_1.remap)(v, {
|
|
121
|
+
"HttpMeta": "httpMeta",
|
|
122
|
+
"GetAgedCreditorsResponse": "getAgedCreditorsResponse",
|
|
123
|
+
"UnexpectedErrorResponse": "unexpectedErrorResponse",
|
|
124
|
+
});
|
|
125
|
+
});
|
|
126
|
+
/** @internal */
|
|
127
|
+
exports.AccountingAgedCreditorsOneResponse$outboundSchema = z.object({
|
|
128
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
129
|
+
getAgedCreditorsResponse: components.GetAgedCreditorsResponse$outboundSchema
|
|
130
|
+
.optional(),
|
|
131
|
+
unexpectedErrorResponse: components.UnexpectedErrorResponse$outboundSchema
|
|
132
|
+
.optional(),
|
|
133
|
+
}).transform((v) => {
|
|
134
|
+
return (0, primitives_js_1.remap)(v, {
|
|
135
|
+
httpMeta: "HttpMeta",
|
|
136
|
+
getAgedCreditorsResponse: "GetAgedCreditorsResponse",
|
|
137
|
+
unexpectedErrorResponse: "UnexpectedErrorResponse",
|
|
138
|
+
});
|
|
139
|
+
});
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
143
|
+
*/
|
|
144
|
+
var AccountingAgedCreditorsOneResponse$;
|
|
145
|
+
(function (AccountingAgedCreditorsOneResponse$) {
|
|
146
|
+
/** @deprecated use `AccountingAgedCreditorsOneResponse$inboundSchema` instead. */
|
|
147
|
+
AccountingAgedCreditorsOneResponse$.inboundSchema = exports.AccountingAgedCreditorsOneResponse$inboundSchema;
|
|
148
|
+
/** @deprecated use `AccountingAgedCreditorsOneResponse$outboundSchema` instead. */
|
|
149
|
+
AccountingAgedCreditorsOneResponse$.outboundSchema = exports.AccountingAgedCreditorsOneResponse$outboundSchema;
|
|
150
|
+
})(AccountingAgedCreditorsOneResponse$ || (exports.AccountingAgedCreditorsOneResponse$ = AccountingAgedCreditorsOneResponse$ = {}));
|
|
151
|
+
function accountingAgedCreditorsOneResponseToJSON(accountingAgedCreditorsOneResponse) {
|
|
152
|
+
return JSON.stringify(exports.AccountingAgedCreditorsOneResponse$outboundSchema.parse(accountingAgedCreditorsOneResponse));
|
|
153
|
+
}
|
|
154
|
+
function accountingAgedCreditorsOneResponseFromJSON(jsonString) {
|
|
155
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingAgedCreditorsOneResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingAgedCreditorsOneResponse' from JSON`);
|
|
156
|
+
}
|
|
157
|
+
//# sourceMappingURL=accountingagedcreditorsone.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountingagedcreditorsone.js","sourceRoot":"","sources":["../../src/models/operations/accountingagedcreditorsone.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAuGH,0FAQC;AAED,8FAQC;AAiED,0FAQC;AAED,8FAQC;AAiED,4FAQC;AAED,gGASC;AA9RD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAyDrD,gBAAgB;AACH,QAAA,+CAA+C,GAIxD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,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AAE,0BAA0B;QACpD,uBAAuB,EAAE,yBAAyB;KACnD,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,mCAAmC,CAQnD;AARD,WAAiB,mCAAmC;IAClD,kFAAkF;IACrE,iDAAa,GAAG,wDAAgD,CAAC;IAC9E,mFAAmF;IACtE,kDAAc,GACzB,yDAAiD,CAAC;AAGtD,CAAC,EARgB,mCAAmC,mDAAnC,mCAAmC,QAQnD;AAED,SAAgB,wCAAwC,CACtD,kCAAsE;IAEtE,OAAO,IAAI,CAAC,SAAS,CACnB,yDAAiD,CAAC,KAAK,CACrD,kCAAkC,CACnC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,0CAA0C,CACxD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,wDAAgD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,gEAAgE,CACjE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export declare const AccountingAttachmentsUploadServerList: readonly ["https://upload.apideck.com"];
|
|
6
|
+
export type AccountingAttachmentsUploadGlobals = {
|
|
7
|
+
/**
|
|
8
|
+
* ID of the consumer which you want to get or push data from
|
|
9
|
+
*/
|
|
10
|
+
consumerId?: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* The ID of your Unify application
|
|
13
|
+
*/
|
|
14
|
+
appId?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
export type AccountingAttachmentsUploadRequest = {
|
|
17
|
+
/**
|
|
18
|
+
* The reference type of the document.
|
|
19
|
+
*/
|
|
20
|
+
referenceType: components.AttachmentReferenceType;
|
|
21
|
+
/**
|
|
22
|
+
* The reference id of the object to retrieve.
|
|
23
|
+
*/
|
|
24
|
+
referenceId: string;
|
|
25
|
+
/**
|
|
26
|
+
* Include raw response. Mostly used for debugging purposes
|
|
27
|
+
*/
|
|
28
|
+
raw?: boolean | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Metadata to attach to the attachment file (JSON string)
|
|
31
|
+
*/
|
|
32
|
+
xApideckMetadata?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* ID of the consumer which you want to get or push data from
|
|
35
|
+
*/
|
|
36
|
+
consumerId?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* The ID of your Unify application
|
|
39
|
+
*/
|
|
40
|
+
appId?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
|
|
43
|
+
*/
|
|
44
|
+
serviceId?: string | undefined;
|
|
45
|
+
requestBody: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Uint8Array;
|
|
46
|
+
};
|
|
47
|
+
export type AccountingAttachmentsUploadResponse = {
|
|
48
|
+
httpMeta: components.HTTPMetadata;
|
|
49
|
+
/**
|
|
50
|
+
* Attachments
|
|
51
|
+
*/
|
|
52
|
+
createAttachmentResponse?: components.CreateAttachmentResponse | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Unexpected error
|
|
55
|
+
*/
|
|
56
|
+
unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
|
|
57
|
+
};
|
|
58
|
+
/** @internal */
|
|
59
|
+
export declare const AccountingAttachmentsUploadGlobals$inboundSchema: z.ZodType<AccountingAttachmentsUploadGlobals, z.ZodTypeDef, unknown>;
|
|
60
|
+
/** @internal */
|
|
61
|
+
export type AccountingAttachmentsUploadGlobals$Outbound = {
|
|
62
|
+
consumerId?: string | undefined;
|
|
63
|
+
appId?: string | undefined;
|
|
64
|
+
};
|
|
65
|
+
/** @internal */
|
|
66
|
+
export declare const AccountingAttachmentsUploadGlobals$outboundSchema: z.ZodType<AccountingAttachmentsUploadGlobals$Outbound, z.ZodTypeDef, AccountingAttachmentsUploadGlobals>;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
70
|
+
*/
|
|
71
|
+
export declare namespace AccountingAttachmentsUploadGlobals$ {
|
|
72
|
+
/** @deprecated use `AccountingAttachmentsUploadGlobals$inboundSchema` instead. */
|
|
73
|
+
const inboundSchema: z.ZodType<AccountingAttachmentsUploadGlobals, z.ZodTypeDef, unknown>;
|
|
74
|
+
/** @deprecated use `AccountingAttachmentsUploadGlobals$outboundSchema` instead. */
|
|
75
|
+
const outboundSchema: z.ZodType<AccountingAttachmentsUploadGlobals$Outbound, z.ZodTypeDef, AccountingAttachmentsUploadGlobals>;
|
|
76
|
+
/** @deprecated use `AccountingAttachmentsUploadGlobals$Outbound` instead. */
|
|
77
|
+
type Outbound = AccountingAttachmentsUploadGlobals$Outbound;
|
|
78
|
+
}
|
|
79
|
+
export declare function accountingAttachmentsUploadGlobalsToJSON(accountingAttachmentsUploadGlobals: AccountingAttachmentsUploadGlobals): string;
|
|
80
|
+
export declare function accountingAttachmentsUploadGlobalsFromJSON(jsonString: string): SafeParseResult<AccountingAttachmentsUploadGlobals, SDKValidationError>;
|
|
81
|
+
/** @internal */
|
|
82
|
+
export declare const AccountingAttachmentsUploadRequest$inboundSchema: z.ZodType<AccountingAttachmentsUploadRequest, z.ZodTypeDef, unknown>;
|
|
83
|
+
/** @internal */
|
|
84
|
+
export type AccountingAttachmentsUploadRequest$Outbound = {
|
|
85
|
+
reference_type: string;
|
|
86
|
+
reference_id: string;
|
|
87
|
+
raw: boolean;
|
|
88
|
+
"x-apideck-metadata"?: string | undefined;
|
|
89
|
+
consumerId?: string | undefined;
|
|
90
|
+
appId?: string | undefined;
|
|
91
|
+
serviceId?: string | undefined;
|
|
92
|
+
RequestBody: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Uint8Array;
|
|
93
|
+
};
|
|
94
|
+
/** @internal */
|
|
95
|
+
export declare const AccountingAttachmentsUploadRequest$outboundSchema: z.ZodType<AccountingAttachmentsUploadRequest$Outbound, z.ZodTypeDef, AccountingAttachmentsUploadRequest>;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
99
|
+
*/
|
|
100
|
+
export declare namespace AccountingAttachmentsUploadRequest$ {
|
|
101
|
+
/** @deprecated use `AccountingAttachmentsUploadRequest$inboundSchema` instead. */
|
|
102
|
+
const inboundSchema: z.ZodType<AccountingAttachmentsUploadRequest, z.ZodTypeDef, unknown>;
|
|
103
|
+
/** @deprecated use `AccountingAttachmentsUploadRequest$outboundSchema` instead. */
|
|
104
|
+
const outboundSchema: z.ZodType<AccountingAttachmentsUploadRequest$Outbound, z.ZodTypeDef, AccountingAttachmentsUploadRequest>;
|
|
105
|
+
/** @deprecated use `AccountingAttachmentsUploadRequest$Outbound` instead. */
|
|
106
|
+
type Outbound = AccountingAttachmentsUploadRequest$Outbound;
|
|
107
|
+
}
|
|
108
|
+
export declare function accountingAttachmentsUploadRequestToJSON(accountingAttachmentsUploadRequest: AccountingAttachmentsUploadRequest): string;
|
|
109
|
+
export declare function accountingAttachmentsUploadRequestFromJSON(jsonString: string): SafeParseResult<AccountingAttachmentsUploadRequest, SDKValidationError>;
|
|
110
|
+
/** @internal */
|
|
111
|
+
export declare const AccountingAttachmentsUploadResponse$inboundSchema: z.ZodType<AccountingAttachmentsUploadResponse, z.ZodTypeDef, unknown>;
|
|
112
|
+
/** @internal */
|
|
113
|
+
export type AccountingAttachmentsUploadResponse$Outbound = {
|
|
114
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
115
|
+
CreateAttachmentResponse?: components.CreateAttachmentResponse$Outbound | undefined;
|
|
116
|
+
UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined;
|
|
117
|
+
};
|
|
118
|
+
/** @internal */
|
|
119
|
+
export declare const AccountingAttachmentsUploadResponse$outboundSchema: z.ZodType<AccountingAttachmentsUploadResponse$Outbound, z.ZodTypeDef, AccountingAttachmentsUploadResponse>;
|
|
120
|
+
/**
|
|
121
|
+
* @internal
|
|
122
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
123
|
+
*/
|
|
124
|
+
export declare namespace AccountingAttachmentsUploadResponse$ {
|
|
125
|
+
/** @deprecated use `AccountingAttachmentsUploadResponse$inboundSchema` instead. */
|
|
126
|
+
const inboundSchema: z.ZodType<AccountingAttachmentsUploadResponse, z.ZodTypeDef, unknown>;
|
|
127
|
+
/** @deprecated use `AccountingAttachmentsUploadResponse$outboundSchema` instead. */
|
|
128
|
+
const outboundSchema: z.ZodType<AccountingAttachmentsUploadResponse$Outbound, z.ZodTypeDef, AccountingAttachmentsUploadResponse>;
|
|
129
|
+
/** @deprecated use `AccountingAttachmentsUploadResponse$Outbound` instead. */
|
|
130
|
+
type Outbound = AccountingAttachmentsUploadResponse$Outbound;
|
|
131
|
+
}
|
|
132
|
+
export declare function accountingAttachmentsUploadResponseToJSON(accountingAttachmentsUploadResponse: AccountingAttachmentsUploadResponse): string;
|
|
133
|
+
export declare function accountingAttachmentsUploadResponseFromJSON(jsonString: string): SafeParseResult<AccountingAttachmentsUploadResponse, SDKValidationError>;
|
|
134
|
+
//# sourceMappingURL=accountingattachmentsupload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountingattachmentsupload.d.ts","sourceRoot":"","sources":["../../src/models/operations/accountingattachmentsupload.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB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E,kBAAkB,CAAC,CAO1E"}
|
|
@@ -0,0 +1,178 @@
|
|
|
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.AccountingAttachmentsUploadResponse$ = exports.AccountingAttachmentsUploadResponse$outboundSchema = exports.AccountingAttachmentsUploadResponse$inboundSchema = exports.AccountingAttachmentsUploadRequest$ = exports.AccountingAttachmentsUploadRequest$outboundSchema = exports.AccountingAttachmentsUploadRequest$inboundSchema = exports.AccountingAttachmentsUploadGlobals$ = exports.AccountingAttachmentsUploadGlobals$outboundSchema = exports.AccountingAttachmentsUploadGlobals$inboundSchema = exports.AccountingAttachmentsUploadServerList = void 0;
|
|
30
|
+
exports.accountingAttachmentsUploadGlobalsToJSON = accountingAttachmentsUploadGlobalsToJSON;
|
|
31
|
+
exports.accountingAttachmentsUploadGlobalsFromJSON = accountingAttachmentsUploadGlobalsFromJSON;
|
|
32
|
+
exports.accountingAttachmentsUploadRequestToJSON = accountingAttachmentsUploadRequestToJSON;
|
|
33
|
+
exports.accountingAttachmentsUploadRequestFromJSON = accountingAttachmentsUploadRequestFromJSON;
|
|
34
|
+
exports.accountingAttachmentsUploadResponseToJSON = accountingAttachmentsUploadResponseToJSON;
|
|
35
|
+
exports.accountingAttachmentsUploadResponseFromJSON = accountingAttachmentsUploadResponseFromJSON;
|
|
36
|
+
const z = __importStar(require("zod"));
|
|
37
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
38
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
39
|
+
const components = __importStar(require("../components/index.js"));
|
|
40
|
+
exports.AccountingAttachmentsUploadServerList = [
|
|
41
|
+
"https://upload.apideck.com",
|
|
42
|
+
];
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.AccountingAttachmentsUploadGlobals$inboundSchema = z.object({
|
|
45
|
+
consumerId: z.string().optional(),
|
|
46
|
+
appId: z.string().optional(),
|
|
47
|
+
});
|
|
48
|
+
/** @internal */
|
|
49
|
+
exports.AccountingAttachmentsUploadGlobals$outboundSchema = z.object({
|
|
50
|
+
consumerId: z.string().optional(),
|
|
51
|
+
appId: z.string().optional(),
|
|
52
|
+
});
|
|
53
|
+
/**
|
|
54
|
+
* @internal
|
|
55
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
56
|
+
*/
|
|
57
|
+
var AccountingAttachmentsUploadGlobals$;
|
|
58
|
+
(function (AccountingAttachmentsUploadGlobals$) {
|
|
59
|
+
/** @deprecated use `AccountingAttachmentsUploadGlobals$inboundSchema` instead. */
|
|
60
|
+
AccountingAttachmentsUploadGlobals$.inboundSchema = exports.AccountingAttachmentsUploadGlobals$inboundSchema;
|
|
61
|
+
/** @deprecated use `AccountingAttachmentsUploadGlobals$outboundSchema` instead. */
|
|
62
|
+
AccountingAttachmentsUploadGlobals$.outboundSchema = exports.AccountingAttachmentsUploadGlobals$outboundSchema;
|
|
63
|
+
})(AccountingAttachmentsUploadGlobals$ || (exports.AccountingAttachmentsUploadGlobals$ = AccountingAttachmentsUploadGlobals$ = {}));
|
|
64
|
+
function accountingAttachmentsUploadGlobalsToJSON(accountingAttachmentsUploadGlobals) {
|
|
65
|
+
return JSON.stringify(exports.AccountingAttachmentsUploadGlobals$outboundSchema.parse(accountingAttachmentsUploadGlobals));
|
|
66
|
+
}
|
|
67
|
+
function accountingAttachmentsUploadGlobalsFromJSON(jsonString) {
|
|
68
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingAttachmentsUploadGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingAttachmentsUploadGlobals' from JSON`);
|
|
69
|
+
}
|
|
70
|
+
/** @internal */
|
|
71
|
+
exports.AccountingAttachmentsUploadRequest$inboundSchema = z.object({
|
|
72
|
+
reference_type: components.AttachmentReferenceType$inboundSchema,
|
|
73
|
+
reference_id: z.string(),
|
|
74
|
+
raw: z.boolean().default(false),
|
|
75
|
+
"x-apideck-metadata": z.string().optional(),
|
|
76
|
+
consumerId: z.string().optional(),
|
|
77
|
+
appId: z.string().optional(),
|
|
78
|
+
serviceId: z.string().optional(),
|
|
79
|
+
RequestBody: z.union([
|
|
80
|
+
z.instanceof((ReadableStream)),
|
|
81
|
+
z.instanceof(Blob),
|
|
82
|
+
z.instanceof(ArrayBuffer),
|
|
83
|
+
z.instanceof(Uint8Array),
|
|
84
|
+
]),
|
|
85
|
+
}).transform((v) => {
|
|
86
|
+
return (0, primitives_js_1.remap)(v, {
|
|
87
|
+
"reference_type": "referenceType",
|
|
88
|
+
"reference_id": "referenceId",
|
|
89
|
+
"x-apideck-metadata": "xApideckMetadata",
|
|
90
|
+
"RequestBody": "requestBody",
|
|
91
|
+
});
|
|
92
|
+
});
|
|
93
|
+
/** @internal */
|
|
94
|
+
exports.AccountingAttachmentsUploadRequest$outboundSchema = z.object({
|
|
95
|
+
referenceType: components.AttachmentReferenceType$outboundSchema,
|
|
96
|
+
referenceId: z.string(),
|
|
97
|
+
raw: z.boolean().default(false),
|
|
98
|
+
xApideckMetadata: z.string().optional(),
|
|
99
|
+
consumerId: z.string().optional(),
|
|
100
|
+
appId: z.string().optional(),
|
|
101
|
+
serviceId: z.string().optional(),
|
|
102
|
+
requestBody: z.union([
|
|
103
|
+
z.instanceof((ReadableStream)),
|
|
104
|
+
z.instanceof(Blob),
|
|
105
|
+
z.instanceof(ArrayBuffer),
|
|
106
|
+
z.instanceof(Uint8Array),
|
|
107
|
+
]),
|
|
108
|
+
}).transform((v) => {
|
|
109
|
+
return (0, primitives_js_1.remap)(v, {
|
|
110
|
+
referenceType: "reference_type",
|
|
111
|
+
referenceId: "reference_id",
|
|
112
|
+
xApideckMetadata: "x-apideck-metadata",
|
|
113
|
+
requestBody: "RequestBody",
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
119
|
+
*/
|
|
120
|
+
var AccountingAttachmentsUploadRequest$;
|
|
121
|
+
(function (AccountingAttachmentsUploadRequest$) {
|
|
122
|
+
/** @deprecated use `AccountingAttachmentsUploadRequest$inboundSchema` instead. */
|
|
123
|
+
AccountingAttachmentsUploadRequest$.inboundSchema = exports.AccountingAttachmentsUploadRequest$inboundSchema;
|
|
124
|
+
/** @deprecated use `AccountingAttachmentsUploadRequest$outboundSchema` instead. */
|
|
125
|
+
AccountingAttachmentsUploadRequest$.outboundSchema = exports.AccountingAttachmentsUploadRequest$outboundSchema;
|
|
126
|
+
})(AccountingAttachmentsUploadRequest$ || (exports.AccountingAttachmentsUploadRequest$ = AccountingAttachmentsUploadRequest$ = {}));
|
|
127
|
+
function accountingAttachmentsUploadRequestToJSON(accountingAttachmentsUploadRequest) {
|
|
128
|
+
return JSON.stringify(exports.AccountingAttachmentsUploadRequest$outboundSchema.parse(accountingAttachmentsUploadRequest));
|
|
129
|
+
}
|
|
130
|
+
function accountingAttachmentsUploadRequestFromJSON(jsonString) {
|
|
131
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingAttachmentsUploadRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingAttachmentsUploadRequest' from JSON`);
|
|
132
|
+
}
|
|
133
|
+
/** @internal */
|
|
134
|
+
exports.AccountingAttachmentsUploadResponse$inboundSchema = z.object({
|
|
135
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
136
|
+
CreateAttachmentResponse: components.CreateAttachmentResponse$inboundSchema
|
|
137
|
+
.optional(),
|
|
138
|
+
UnexpectedErrorResponse: components.UnexpectedErrorResponse$inboundSchema
|
|
139
|
+
.optional(),
|
|
140
|
+
}).transform((v) => {
|
|
141
|
+
return (0, primitives_js_1.remap)(v, {
|
|
142
|
+
"HttpMeta": "httpMeta",
|
|
143
|
+
"CreateAttachmentResponse": "createAttachmentResponse",
|
|
144
|
+
"UnexpectedErrorResponse": "unexpectedErrorResponse",
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
/** @internal */
|
|
148
|
+
exports.AccountingAttachmentsUploadResponse$outboundSchema = z.object({
|
|
149
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
150
|
+
createAttachmentResponse: components.CreateAttachmentResponse$outboundSchema
|
|
151
|
+
.optional(),
|
|
152
|
+
unexpectedErrorResponse: components.UnexpectedErrorResponse$outboundSchema
|
|
153
|
+
.optional(),
|
|
154
|
+
}).transform((v) => {
|
|
155
|
+
return (0, primitives_js_1.remap)(v, {
|
|
156
|
+
httpMeta: "HttpMeta",
|
|
157
|
+
createAttachmentResponse: "CreateAttachmentResponse",
|
|
158
|
+
unexpectedErrorResponse: "UnexpectedErrorResponse",
|
|
159
|
+
});
|
|
160
|
+
});
|
|
161
|
+
/**
|
|
162
|
+
* @internal
|
|
163
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
164
|
+
*/
|
|
165
|
+
var AccountingAttachmentsUploadResponse$;
|
|
166
|
+
(function (AccountingAttachmentsUploadResponse$) {
|
|
167
|
+
/** @deprecated use `AccountingAttachmentsUploadResponse$inboundSchema` instead. */
|
|
168
|
+
AccountingAttachmentsUploadResponse$.inboundSchema = exports.AccountingAttachmentsUploadResponse$inboundSchema;
|
|
169
|
+
/** @deprecated use `AccountingAttachmentsUploadResponse$outboundSchema` instead. */
|
|
170
|
+
AccountingAttachmentsUploadResponse$.outboundSchema = exports.AccountingAttachmentsUploadResponse$outboundSchema;
|
|
171
|
+
})(AccountingAttachmentsUploadResponse$ || (exports.AccountingAttachmentsUploadResponse$ = AccountingAttachmentsUploadResponse$ = {}));
|
|
172
|
+
function accountingAttachmentsUploadResponseToJSON(accountingAttachmentsUploadResponse) {
|
|
173
|
+
return JSON.stringify(exports.AccountingAttachmentsUploadResponse$outboundSchema.parse(accountingAttachmentsUploadResponse));
|
|
174
|
+
}
|
|
175
|
+
function accountingAttachmentsUploadResponseFromJSON(jsonString) {
|
|
176
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingAttachmentsUploadResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingAttachmentsUploadResponse' from JSON`);
|
|
177
|
+
}
|
|
178
|
+
//# sourceMappingURL=accountingattachmentsupload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountingattachmentsupload.js","sourceRoot":"","sources":["../../src/models/operations/accountingattachmentsupload.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA4GH,4FAQC;AAED,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,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type CrmPipelinesAddGlobals = {
|
|
6
|
+
/**
|
|
7
|
+
* ID of the consumer which you want to get or push data from
|
|
8
|
+
*/
|
|
9
|
+
consumerId?: string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* The ID of your Unify application
|
|
12
|
+
*/
|
|
13
|
+
appId?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
export type CrmPipelinesAddRequest = {
|
|
16
|
+
/**
|
|
17
|
+
* Include raw response. Mostly used for debugging purposes
|
|
18
|
+
*/
|
|
19
|
+
raw?: boolean | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* ID of the consumer which you want to get or push data from
|
|
22
|
+
*/
|
|
23
|
+
consumerId?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* The ID of your Unify application
|
|
26
|
+
*/
|
|
27
|
+
appId?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
|
|
30
|
+
*/
|
|
31
|
+
serviceId?: string | undefined;
|
|
32
|
+
pipeline: components.PipelineInput;
|
|
33
|
+
};
|
|
34
|
+
export type CrmPipelinesAddResponse = {
|
|
35
|
+
httpMeta: components.HTTPMetadata;
|
|
36
|
+
/**
|
|
37
|
+
* Pipeline created
|
|
38
|
+
*/
|
|
39
|
+
createPipelineResponse?: components.CreatePipelineResponse | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Unexpected error
|
|
42
|
+
*/
|
|
43
|
+
unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
|
|
44
|
+
};
|
|
45
|
+
/** @internal */
|
|
46
|
+
export declare const CrmPipelinesAddGlobals$inboundSchema: z.ZodType<CrmPipelinesAddGlobals, z.ZodTypeDef, unknown>;
|
|
47
|
+
/** @internal */
|
|
48
|
+
export type CrmPipelinesAddGlobals$Outbound = {
|
|
49
|
+
consumerId?: string | undefined;
|
|
50
|
+
appId?: string | undefined;
|
|
51
|
+
};
|
|
52
|
+
/** @internal */
|
|
53
|
+
export declare const CrmPipelinesAddGlobals$outboundSchema: z.ZodType<CrmPipelinesAddGlobals$Outbound, z.ZodTypeDef, CrmPipelinesAddGlobals>;
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
+
*/
|
|
58
|
+
export declare namespace CrmPipelinesAddGlobals$ {
|
|
59
|
+
/** @deprecated use `CrmPipelinesAddGlobals$inboundSchema` instead. */
|
|
60
|
+
const inboundSchema: z.ZodType<CrmPipelinesAddGlobals, z.ZodTypeDef, unknown>;
|
|
61
|
+
/** @deprecated use `CrmPipelinesAddGlobals$outboundSchema` instead. */
|
|
62
|
+
const outboundSchema: z.ZodType<CrmPipelinesAddGlobals$Outbound, z.ZodTypeDef, CrmPipelinesAddGlobals>;
|
|
63
|
+
/** @deprecated use `CrmPipelinesAddGlobals$Outbound` instead. */
|
|
64
|
+
type Outbound = CrmPipelinesAddGlobals$Outbound;
|
|
65
|
+
}
|
|
66
|
+
export declare function crmPipelinesAddGlobalsToJSON(crmPipelinesAddGlobals: CrmPipelinesAddGlobals): string;
|
|
67
|
+
export declare function crmPipelinesAddGlobalsFromJSON(jsonString: string): SafeParseResult<CrmPipelinesAddGlobals, SDKValidationError>;
|
|
68
|
+
/** @internal */
|
|
69
|
+
export declare const CrmPipelinesAddRequest$inboundSchema: z.ZodType<CrmPipelinesAddRequest, z.ZodTypeDef, unknown>;
|
|
70
|
+
/** @internal */
|
|
71
|
+
export type CrmPipelinesAddRequest$Outbound = {
|
|
72
|
+
raw: boolean;
|
|
73
|
+
consumerId?: string | undefined;
|
|
74
|
+
appId?: string | undefined;
|
|
75
|
+
serviceId?: string | undefined;
|
|
76
|
+
Pipeline: components.PipelineInput$Outbound;
|
|
77
|
+
};
|
|
78
|
+
/** @internal */
|
|
79
|
+
export declare const CrmPipelinesAddRequest$outboundSchema: z.ZodType<CrmPipelinesAddRequest$Outbound, z.ZodTypeDef, CrmPipelinesAddRequest>;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
83
|
+
*/
|
|
84
|
+
export declare namespace CrmPipelinesAddRequest$ {
|
|
85
|
+
/** @deprecated use `CrmPipelinesAddRequest$inboundSchema` instead. */
|
|
86
|
+
const inboundSchema: z.ZodType<CrmPipelinesAddRequest, z.ZodTypeDef, unknown>;
|
|
87
|
+
/** @deprecated use `CrmPipelinesAddRequest$outboundSchema` instead. */
|
|
88
|
+
const outboundSchema: z.ZodType<CrmPipelinesAddRequest$Outbound, z.ZodTypeDef, CrmPipelinesAddRequest>;
|
|
89
|
+
/** @deprecated use `CrmPipelinesAddRequest$Outbound` instead. */
|
|
90
|
+
type Outbound = CrmPipelinesAddRequest$Outbound;
|
|
91
|
+
}
|
|
92
|
+
export declare function crmPipelinesAddRequestToJSON(crmPipelinesAddRequest: CrmPipelinesAddRequest): string;
|
|
93
|
+
export declare function crmPipelinesAddRequestFromJSON(jsonString: string): SafeParseResult<CrmPipelinesAddRequest, SDKValidationError>;
|
|
94
|
+
/** @internal */
|
|
95
|
+
export declare const CrmPipelinesAddResponse$inboundSchema: z.ZodType<CrmPipelinesAddResponse, z.ZodTypeDef, unknown>;
|
|
96
|
+
/** @internal */
|
|
97
|
+
export type CrmPipelinesAddResponse$Outbound = {
|
|
98
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
99
|
+
CreatePipelineResponse?: components.CreatePipelineResponse$Outbound | undefined;
|
|
100
|
+
UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined;
|
|
101
|
+
};
|
|
102
|
+
/** @internal */
|
|
103
|
+
export declare const CrmPipelinesAddResponse$outboundSchema: z.ZodType<CrmPipelinesAddResponse$Outbound, z.ZodTypeDef, CrmPipelinesAddResponse>;
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
107
|
+
*/
|
|
108
|
+
export declare namespace CrmPipelinesAddResponse$ {
|
|
109
|
+
/** @deprecated use `CrmPipelinesAddResponse$inboundSchema` instead. */
|
|
110
|
+
const inboundSchema: z.ZodType<CrmPipelinesAddResponse, z.ZodTypeDef, unknown>;
|
|
111
|
+
/** @deprecated use `CrmPipelinesAddResponse$outboundSchema` instead. */
|
|
112
|
+
const outboundSchema: z.ZodType<CrmPipelinesAddResponse$Outbound, z.ZodTypeDef, CrmPipelinesAddResponse>;
|
|
113
|
+
/** @deprecated use `CrmPipelinesAddResponse$Outbound` instead. */
|
|
114
|
+
type Outbound = CrmPipelinesAddResponse$Outbound;
|
|
115
|
+
}
|
|
116
|
+
export declare function crmPipelinesAddResponseToJSON(crmPipelinesAddResponse: CrmPipelinesAddResponse): string;
|
|
117
|
+
export declare function crmPipelinesAddResponseFromJSON(jsonString: string): SafeParseResult<CrmPipelinesAddResponse, SDKValidationError>;
|
|
118
|
+
//# sourceMappingURL=crmpipelinesadd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crmpipelinesadd.d.ts","sourceRoot":"","sources":["../../src/models/operations/crmpipelinesadd.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,E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