@apideck/unify 0.21.1 → 0.23.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/docs/sdks/connections/README.md +2 -6
- package/docs/sdks/connectionsettings/README.md +2 -6
- package/docs/sdks/employees/README.md +4 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/lib/matchers.d.ts +3 -1
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +12 -0
- package/lib/matchers.js.map +1 -1
- package/lib/sdks.js +7 -2
- package/lib/sdks.js.map +1 -1
- package/models/components/{accountingdepartmentinput.d.ts → accountingdepartment.d.ts} +61 -51
- package/models/components/accountingdepartment.d.ts.map +1 -0
- package/models/components/{accountingdepartmentinput.js → accountingdepartment.js} +55 -51
- package/models/components/accountingdepartment.js.map +1 -0
- package/models/components/{accountinglocationinput.d.ts → accountinglocation.d.ts} +58 -58
- package/models/components/accountinglocation.d.ts.map +1 -0
- package/models/components/{accountinglocationinput.js → accountinglocation.js} +56 -56
- package/models/components/accountinglocation.js.map +1 -0
- package/models/components/activity.d.ts +1 -1
- package/models/components/activity.d.ts.map +1 -1
- package/models/components/activity.js +5 -5
- package/models/components/activity.js.map +1 -1
- package/models/components/{activityattendeeinput.d.ts → activityattendee.d.ts} +51 -51
- package/models/components/activityattendee.d.ts.map +1 -0
- package/models/components/{activityattendeeinput.js → activityattendee.js} +48 -48
- package/models/components/activityattendee.js.map +1 -0
- package/models/components/{allocationinput.d.ts → allocation.d.ts} +29 -29
- package/models/components/allocation.d.ts.map +1 -0
- package/models/components/{allocationinput.js → allocation.js} +32 -32
- package/models/components/allocation.js.map +1 -0
- package/models/components/{applicationinput.d.ts → application.d.ts} +37 -37
- package/models/components/application.d.ts.map +1 -0
- package/models/components/{applicationinput.js → application.js} +49 -49
- package/models/components/application.js.map +1 -0
- package/models/components/{billpaymentinput.d.ts → billpayment.d.ts} +102 -102
- package/models/components/billpayment.d.ts.map +1 -0
- package/models/components/{billpaymentinput.js → billpayment.js} +100 -100
- package/models/components/billpayment.js.map +1 -0
- package/models/components/companyinfo.d.ts +1 -1
- package/models/components/companyinfo.d.ts.map +1 -1
- package/models/components/companyinfo.js +3 -3
- package/models/components/companyinfo.js.map +1 -1
- package/models/components/{connectioninput.d.ts → connection.d.ts} +139 -139
- package/models/components/connection.d.ts.map +1 -0
- package/models/components/{connectioninput.js → connection.js} +150 -150
- package/models/components/connection.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/creditnote.d.ts +2 -2
- package/models/components/creditnote.d.ts.map +1 -1
- package/models/components/creditnote.js +10 -10
- package/models/components/creditnote.js.map +1 -1
- package/models/components/{employeeinput.d.ts → employee.d.ts} +70 -70
- package/models/components/employee.d.ts.map +1 -0
- package/models/components/{employeeinput.js → employee.js} +67 -67
- package/models/components/employee.js.map +1 -0
- package/models/components/{employeejobinput.d.ts → employeejob.d.ts} +37 -37
- package/models/components/employeejob.d.ts.map +1 -0
- package/models/components/{employeejobinput.js → employeejob.js} +36 -36
- package/models/components/employeejob.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/{expenseinput.d.ts → expense.d.ts} +55 -55
- package/models/components/expense.d.ts.map +1 -0
- package/models/components/{expenseinput.js → expense.js} +52 -52
- package/models/components/expense.js.map +1 -0
- package/models/components/getaccountingdepartmentresponse.d.ts +1 -1
- package/models/components/getaccountingdepartmentresponse.d.ts.map +1 -1
- package/models/components/getaccountingdepartmentresponse.js +3 -3
- package/models/components/getaccountingdepartmentresponse.js.map +1 -1
- package/models/components/getaccountingdepartmentsresponse.d.ts +1 -1
- package/models/components/getaccountingdepartmentsresponse.d.ts.map +1 -1
- package/models/components/getaccountingdepartmentsresponse.js +3 -3
- package/models/components/getaccountingdepartmentsresponse.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/getapplicationresponse.d.ts +1 -1
- package/models/components/getapplicationresponse.d.ts.map +1 -1
- package/models/components/getapplicationresponse.js +3 -3
- package/models/components/getapplicationresponse.js.map +1 -1
- package/models/components/getapplicationsresponse.d.ts +1 -1
- package/models/components/getapplicationsresponse.d.ts.map +1 -1
- package/models/components/getapplicationsresponse.js +3 -3
- package/models/components/getapplicationsresponse.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/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/getmessageresponse.d.ts +1 -1
- package/models/components/getmessageresponse.d.ts.map +1 -1
- package/models/components/getmessageresponse.js +3 -3
- package/models/components/getmessageresponse.js.map +1 -1
- package/models/components/getmessagesresponse.d.ts +1 -1
- package/models/components/getmessagesresponse.d.ts.map +1 -1
- package/models/components/getmessagesresponse.js +3 -3
- package/models/components/getmessagesresponse.js.map +1 -1
- package/models/components/getsharedlinkresponse.d.ts +1 -1
- package/models/components/getsharedlinkresponse.d.ts.map +1 -1
- package/models/components/getsharedlinkresponse.js +3 -3
- package/models/components/getsharedlinkresponse.js.map +1 -1
- package/models/components/getsharedlinksresponse.d.ts +1 -1
- package/models/components/getsharedlinksresponse.d.ts.map +1 -1
- package/models/components/getsharedlinksresponse.js +3 -3
- package/models/components/getsharedlinksresponse.js.map +1 -1
- package/models/components/gettaxrateresponse.d.ts +1 -1
- package/models/components/gettaxrateresponse.d.ts.map +1 -1
- package/models/components/gettaxrateresponse.js +3 -3
- package/models/components/gettaxrateresponse.js.map +1 -1
- package/models/components/gettaxratesresponse.d.ts +1 -1
- package/models/components/gettaxratesresponse.d.ts.map +1 -1
- package/models/components/gettaxratesresponse.js +3 -3
- package/models/components/gettaxratesresponse.js.map +1 -1
- package/models/components/gettimeoffrequestresponse.d.ts +1 -1
- package/models/components/gettimeoffrequestresponse.d.ts.map +1 -1
- package/models/components/gettimeoffrequestresponse.js +3 -3
- package/models/components/gettimeoffrequestresponse.js.map +1 -1
- package/models/components/gettimeoffrequestsresponse.d.ts +1 -1
- package/models/components/gettimeoffrequestsresponse.d.ts.map +1 -1
- package/models/components/gettimeoffrequestsresponse.js +3 -3
- package/models/components/gettimeoffrequestsresponse.js.map +1 -1
- package/models/components/gettrackingcategoriesresponse.d.ts +1 -1
- package/models/components/gettrackingcategoriesresponse.d.ts.map +1 -1
- package/models/components/gettrackingcategoriesresponse.js +3 -3
- package/models/components/gettrackingcategoriesresponse.js.map +1 -1
- package/models/components/gettrackingcategoryresponse.d.ts +1 -1
- package/models/components/gettrackingcategoryresponse.d.ts.map +1 -1
- package/models/components/gettrackingcategoryresponse.js +3 -3
- package/models/components/gettrackingcategoryresponse.js.map +1 -1
- package/models/components/{hriscompanyinput.d.ts → hriscompany.d.ts} +55 -55
- package/models/components/hriscompany.d.ts.map +1 -0
- package/models/components/{hriscompanyinput.js → hriscompany.js} +54 -54
- package/models/components/hriscompany.js.map +1 -0
- package/models/components/index.d.ts +20 -20
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +20 -20
- package/models/components/index.js.map +1 -1
- package/models/components/{invoiceinput.d.ts → invoice.d.ts} +122 -74
- package/models/components/invoice.d.ts.map +1 -0
- package/models/components/{invoiceinput.js → invoice.js} +119 -72
- package/models/components/invoice.js.map +1 -0
- package/models/components/{invoicelineiteminput.d.ts → invoicelineitem.d.ts} +58 -55
- package/models/components/invoicelineitem.d.ts.map +1 -0
- package/models/components/{invoicelineiteminput.js → invoicelineitem.js} +55 -54
- package/models/components/invoicelineitem.js.map +1 -0
- package/models/components/journalentry.d.ts +1 -1
- package/models/components/journalentry.d.ts.map +1 -1
- package/models/components/journalentry.js +3 -3
- package/models/components/journalentry.js.map +1 -1
- package/models/components/journalentryinput.d.ts +1 -1
- package/models/components/journalentryinput.d.ts.map +1 -1
- package/models/components/journalentryinput.js +3 -3
- package/models/components/journalentryinput.js.map +1 -1
- package/models/components/{journalentrylineiteminput.d.ts → journalentrylineitem.d.ts} +48 -48
- package/models/components/journalentrylineitem.d.ts.map +1 -0
- package/models/components/{journalentrylineiteminput.js → journalentrylineitem.js} +48 -48
- package/models/components/journalentrylineitem.js.map +1 -0
- package/models/components/{ledgeraccountinput.d.ts → ledgeraccount.d.ts} +129 -129
- package/models/components/ledgeraccount.d.ts.map +1 -0
- package/models/components/{ledgeraccountinput.js → ledgeraccount.js} +128 -128
- package/models/components/ledgeraccount.js.map +1 -0
- package/models/components/{messageinput.d.ts → message.d.ts} +71 -71
- package/models/components/message.d.ts.map +1 -0
- package/models/components/{messageinput.js → message.js} +61 -61
- package/models/components/message.js.map +1 -0
- package/models/components/payment.d.ts +1 -1
- package/models/components/payment.d.ts.map +1 -1
- package/models/components/payment.js +3 -3
- package/models/components/payment.js.map +1 -1
- package/models/components/paymentinput.d.ts +1 -1
- package/models/components/paymentinput.d.ts.map +1 -1
- package/models/components/paymentinput.js +3 -3
- package/models/components/paymentinput.js.map +1 -1
- package/models/components/purchaseorder.d.ts +1 -1
- package/models/components/purchaseorder.d.ts.map +1 -1
- package/models/components/purchaseorder.js +5 -5
- package/models/components/purchaseorder.js.map +1 -1
- package/models/components/{sharedlinkinput.d.ts → sharedlink.d.ts} +49 -49
- package/models/components/sharedlink.d.ts.map +1 -0
- package/models/components/{sharedlinkinput.js → sharedlink.js} +49 -49
- package/models/components/sharedlink.js.map +1 -0
- package/models/components/{taxrateinput.d.ts → taxrate.d.ts} +52 -52
- package/models/components/taxrate.d.ts.map +1 -0
- package/models/components/{taxrateinput.js → taxrate.js} +50 -50
- package/models/components/taxrate.js.map +1 -0
- package/models/components/{timeoffrequestinput.d.ts → timeoffrequest.d.ts} +57 -57
- package/models/components/timeoffrequest.d.ts.map +1 -0
- package/models/components/{timeoffrequestinput.js → timeoffrequest.js} +52 -52
- package/models/components/timeoffrequest.js.map +1 -0
- package/models/components/{trackingcategoryinput.d.ts → trackingcategory.d.ts} +55 -55
- package/models/components/trackingcategory.d.ts.map +1 -0
- package/models/components/{trackingcategoryinput.js → trackingcategory.js} +52 -52
- package/models/components/trackingcategory.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/package.json +1 -1
- package/src/lib/config.ts +4 -4
- package/src/lib/matchers.ts +20 -0
- package/src/lib/sdks.ts +8 -2
- package/src/models/components/{accountingdepartmentinput.ts → accountingdepartment.ts} +116 -102
- package/src/models/components/activity.ts +1 -1
- package/src/models/components/companyinfo.ts +1 -1
- package/src/models/components/createconnectionresponse.ts +1 -1
- package/src/models/components/creditnote.ts +2 -2
- package/src/models/components/{employeeinput.ts → employee.ts} +123 -123
- package/src/models/components/employeeschedules.ts +1 -1
- package/src/models/components/employeesfilter.ts +7 -0
- package/src/models/components/getaccountingdepartmentresponse.ts +1 -1
- package/src/models/components/getaccountingdepartmentsresponse.ts +1 -1
- package/src/models/components/getaccountinglocationresponse.ts +1 -1
- package/src/models/components/getaccountinglocationsresponse.ts +1 -1
- package/src/models/components/getapplicationresponse.ts +1 -1
- package/src/models/components/getapplicationsresponse.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/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/getmessageresponse.ts +1 -1
- package/src/models/components/getmessagesresponse.ts +1 -1
- package/src/models/components/getsharedlinkresponse.ts +1 -1
- package/src/models/components/getsharedlinksresponse.ts +1 -1
- package/src/models/components/gettaxrateresponse.ts +1 -1
- package/src/models/components/gettaxratesresponse.ts +1 -1
- package/src/models/components/gettimeoffrequestresponse.ts +1 -1
- package/src/models/components/gettimeoffrequestsresponse.ts +1 -1
- package/src/models/components/gettrackingcategoriesresponse.ts +1 -1
- package/src/models/components/gettrackingcategoryresponse.ts +1 -1
- package/src/models/components/index.ts +20 -20
- package/src/models/components/{invoiceinput.ts → invoice.ts} +352 -241
- package/src/models/components/{invoicelineiteminput.ts → invoicelineitem.ts} +101 -100
- package/src/models/components/journalentry.ts +1 -1
- package/src/models/components/journalentryinput.ts +1 -1
- package/src/models/components/payment.ts +1 -1
- package/src/models/components/paymentinput.ts +1 -1
- package/src/models/components/purchaseorder.ts +1 -1
- package/src/models/components/updateconnectionresponse.ts +1 -1
- package/models/components/accountingdepartmentinput.d.ts.map +0 -1
- package/models/components/accountingdepartmentinput.js.map +0 -1
- package/models/components/accountinglocationinput.d.ts.map +0 -1
- package/models/components/accountinglocationinput.js.map +0 -1
- package/models/components/activityattendeeinput.d.ts.map +0 -1
- package/models/components/activityattendeeinput.js.map +0 -1
- package/models/components/allocationinput.d.ts.map +0 -1
- package/models/components/allocationinput.js.map +0 -1
- package/models/components/applicationinput.d.ts.map +0 -1
- package/models/components/applicationinput.js.map +0 -1
- package/models/components/billpaymentinput.d.ts.map +0 -1
- package/models/components/billpaymentinput.js.map +0 -1
- package/models/components/connectioninput.d.ts.map +0 -1
- package/models/components/connectioninput.js.map +0 -1
- package/models/components/employeeinput.d.ts.map +0 -1
- package/models/components/employeeinput.js.map +0 -1
- package/models/components/employeejobinput.d.ts.map +0 -1
- package/models/components/employeejobinput.js.map +0 -1
- package/models/components/expenseinput.d.ts.map +0 -1
- package/models/components/expenseinput.js.map +0 -1
- package/models/components/hriscompanyinput.d.ts.map +0 -1
- package/models/components/hriscompanyinput.js.map +0 -1
- package/models/components/invoiceinput.d.ts.map +0 -1
- package/models/components/invoiceinput.js.map +0 -1
- package/models/components/invoicelineiteminput.d.ts.map +0 -1
- package/models/components/invoicelineiteminput.js.map +0 -1
- package/models/components/journalentrylineiteminput.d.ts.map +0 -1
- package/models/components/journalentrylineiteminput.js.map +0 -1
- package/models/components/ledgeraccountinput.d.ts.map +0 -1
- package/models/components/ledgeraccountinput.js.map +0 -1
- package/models/components/messageinput.d.ts.map +0 -1
- package/models/components/messageinput.js.map +0 -1
- package/models/components/sharedlinkinput.d.ts.map +0 -1
- package/models/components/sharedlinkinput.js.map +0 -1
- package/models/components/taxrateinput.d.ts.map +0 -1
- package/models/components/taxrateinput.js.map +0 -1
- package/models/components/timeoffrequestinput.d.ts.map +0 -1
- package/models/components/timeoffrequestinput.js.map +0 -1
- package/models/components/trackingcategoryinput.d.ts.map +0 -1
- package/models/components/trackingcategoryinput.js.map +0 -1
- package/src/models/components/{accountinglocationinput.ts → accountinglocation.ts} +106 -106
- package/src/models/components/{activityattendeeinput.ts → activityattendee.ts} +89 -89
- package/src/models/components/{allocationinput.ts → allocation.ts} +46 -46
- package/src/models/components/{applicationinput.ts → application.ts} +85 -85
- package/src/models/components/{billpaymentinput.ts → billpayment.ts} +183 -183
- package/src/models/components/{connectioninput.ts → connection.ts} +355 -355
- package/src/models/components/{employeejobinput.ts → employeejob.ts} +60 -60
- package/src/models/components/{expenseinput.ts → expense.ts} +159 -159
- package/src/models/components/{hriscompanyinput.ts → hriscompany.ts} +101 -101
- package/src/models/components/{journalentrylineiteminput.ts → journalentrylineitem.ts} +81 -81
- package/src/models/components/{ledgeraccountinput.ts → ledgeraccount.ts} +253 -253
- package/src/models/components/{messageinput.ts → message.ts} +133 -133
- package/src/models/components/{sharedlinkinput.ts → sharedlink.ts} +99 -99
- package/src/models/components/{taxrateinput.ts → taxrate.ts} +146 -146
- package/src/models/components/{timeoffrequestinput.ts → timeoffrequest.ts} +100 -100
- package/src/models/components/{trackingcategoryinput.ts → trackingcategory.ts} +98 -98
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"journalentrylineitem.d.ts","sourceRoot":"","sources":["../../src/models/components/journalentrylineitem.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE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;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D;AAED,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -26,11 +26,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.journalEntryLineItemInputToJSON = journalEntryLineItemInputToJSON;
|
|
31
|
-
exports.journalEntryLineItemInputFromJSON = journalEntryLineItemInputFromJSON;
|
|
29
|
+
exports.JournalEntryLineItemInput$ = exports.JournalEntryLineItemInput$outboundSchema = exports.JournalEntryLineItemInput$inboundSchema = exports.JournalEntryLineItem$ = exports.JournalEntryLineItem$outboundSchema = exports.JournalEntryLineItem$inboundSchema = exports.JournalEntryLineItemType$ = exports.JournalEntryLineItemType$outboundSchema = exports.JournalEntryLineItemType$inboundSchema = exports.JournalEntryLineItemType = void 0;
|
|
32
30
|
exports.journalEntryLineItemToJSON = journalEntryLineItemToJSON;
|
|
33
31
|
exports.journalEntryLineItemFromJSON = journalEntryLineItemFromJSON;
|
|
32
|
+
exports.journalEntryLineItemInputToJSON = journalEntryLineItemInputToJSON;
|
|
33
|
+
exports.journalEntryLineItemInputFromJSON = journalEntryLineItemInputFromJSON;
|
|
34
34
|
const z = __importStar(require("zod"));
|
|
35
35
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
36
36
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
@@ -67,19 +67,20 @@ var JournalEntryLineItemType$;
|
|
|
67
67
|
JournalEntryLineItemType$.outboundSchema = exports.JournalEntryLineItemType$outboundSchema;
|
|
68
68
|
})(JournalEntryLineItemType$ || (exports.JournalEntryLineItemType$ = JournalEntryLineItemType$ = {}));
|
|
69
69
|
/** @internal */
|
|
70
|
-
exports.
|
|
70
|
+
exports.JournalEntryLineItem$inboundSchema = z.object({
|
|
71
|
+
id: z.string().optional(),
|
|
71
72
|
description: z.nullable(z.string()).optional(),
|
|
72
73
|
tax_amount: z.nullable(z.number()).optional(),
|
|
73
74
|
sub_total: z.nullable(z.number()).optional(),
|
|
74
75
|
total_amount: z.nullable(z.number()).optional(),
|
|
75
76
|
type: exports.JournalEntryLineItemType$inboundSchema,
|
|
76
|
-
tax_rate:
|
|
77
|
+
tax_rate: linkedtaxrate_js_1.LinkedTaxRate$inboundSchema.optional(),
|
|
77
78
|
tracking_category: z.nullable(deprecatedlinkedtrackingcategory_js_1.DeprecatedLinkedTrackingCategory$inboundSchema)
|
|
78
79
|
.optional(),
|
|
79
80
|
tracking_categories: z.nullable(z.array(z.nullable(linkedtrackingcategory_js_1.LinkedTrackingCategory$inboundSchema))).optional(),
|
|
80
|
-
ledger_account: z.nullable(
|
|
81
|
-
customer: z.nullable(
|
|
82
|
-
supplier: z.nullable(
|
|
81
|
+
ledger_account: z.nullable(linkedledgeraccount_js_1.LinkedLedgerAccount$inboundSchema),
|
|
82
|
+
customer: z.nullable(linkedcustomer_js_1.LinkedCustomer$inboundSchema).optional(),
|
|
83
|
+
supplier: z.nullable(linkedsupplier_js_1.LinkedSupplier$inboundSchema).optional(),
|
|
83
84
|
department_id: z.nullable(z.string()).optional(),
|
|
84
85
|
location_id: z.nullable(z.string()).optional(),
|
|
85
86
|
line_number: z.nullable(z.number().int()).optional(),
|
|
@@ -98,19 +99,20 @@ exports.JournalEntryLineItemInput$inboundSchema = z.object({
|
|
|
98
99
|
});
|
|
99
100
|
});
|
|
100
101
|
/** @internal */
|
|
101
|
-
exports.
|
|
102
|
+
exports.JournalEntryLineItem$outboundSchema = z.object({
|
|
103
|
+
id: z.string().optional(),
|
|
102
104
|
description: z.nullable(z.string()).optional(),
|
|
103
105
|
taxAmount: z.nullable(z.number()).optional(),
|
|
104
106
|
subTotal: z.nullable(z.number()).optional(),
|
|
105
107
|
totalAmount: z.nullable(z.number()).optional(),
|
|
106
108
|
type: exports.JournalEntryLineItemType$outboundSchema,
|
|
107
|
-
taxRate:
|
|
109
|
+
taxRate: linkedtaxrate_js_1.LinkedTaxRate$outboundSchema.optional(),
|
|
108
110
|
trackingCategory: z.nullable(deprecatedlinkedtrackingcategory_js_1.DeprecatedLinkedTrackingCategory$outboundSchema)
|
|
109
111
|
.optional(),
|
|
110
112
|
trackingCategories: z.nullable(z.array(z.nullable(linkedtrackingcategory_js_1.LinkedTrackingCategory$outboundSchema))).optional(),
|
|
111
|
-
ledgerAccount: z.nullable(
|
|
112
|
-
customer: z.nullable(
|
|
113
|
-
supplier: z.nullable(
|
|
113
|
+
ledgerAccount: z.nullable(linkedledgeraccount_js_1.LinkedLedgerAccount$outboundSchema),
|
|
114
|
+
customer: z.nullable(linkedcustomer_js_1.LinkedCustomer$outboundSchema).optional(),
|
|
115
|
+
supplier: z.nullable(linkedsupplier_js_1.LinkedSupplier$outboundSchema).optional(),
|
|
114
116
|
departmentId: z.nullable(z.string()).optional(),
|
|
115
117
|
locationId: z.nullable(z.string()).optional(),
|
|
116
118
|
lineNumber: z.nullable(z.number().int()).optional(),
|
|
@@ -132,34 +134,33 @@ exports.JournalEntryLineItemInput$outboundSchema = z.object({
|
|
|
132
134
|
* @internal
|
|
133
135
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
134
136
|
*/
|
|
135
|
-
var
|
|
136
|
-
(function (
|
|
137
|
-
/** @deprecated use `
|
|
138
|
-
|
|
139
|
-
/** @deprecated use `
|
|
140
|
-
|
|
141
|
-
})(
|
|
142
|
-
function
|
|
143
|
-
return JSON.stringify(exports.
|
|
137
|
+
var JournalEntryLineItem$;
|
|
138
|
+
(function (JournalEntryLineItem$) {
|
|
139
|
+
/** @deprecated use `JournalEntryLineItem$inboundSchema` instead. */
|
|
140
|
+
JournalEntryLineItem$.inboundSchema = exports.JournalEntryLineItem$inboundSchema;
|
|
141
|
+
/** @deprecated use `JournalEntryLineItem$outboundSchema` instead. */
|
|
142
|
+
JournalEntryLineItem$.outboundSchema = exports.JournalEntryLineItem$outboundSchema;
|
|
143
|
+
})(JournalEntryLineItem$ || (exports.JournalEntryLineItem$ = JournalEntryLineItem$ = {}));
|
|
144
|
+
function journalEntryLineItemToJSON(journalEntryLineItem) {
|
|
145
|
+
return JSON.stringify(exports.JournalEntryLineItem$outboundSchema.parse(journalEntryLineItem));
|
|
144
146
|
}
|
|
145
|
-
function
|
|
146
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
147
|
+
function journalEntryLineItemFromJSON(jsonString) {
|
|
148
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.JournalEntryLineItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'JournalEntryLineItem' from JSON`);
|
|
147
149
|
}
|
|
148
150
|
/** @internal */
|
|
149
|
-
exports.
|
|
150
|
-
id: z.string().optional(),
|
|
151
|
+
exports.JournalEntryLineItemInput$inboundSchema = z.object({
|
|
151
152
|
description: z.nullable(z.string()).optional(),
|
|
152
153
|
tax_amount: z.nullable(z.number()).optional(),
|
|
153
154
|
sub_total: z.nullable(z.number()).optional(),
|
|
154
155
|
total_amount: z.nullable(z.number()).optional(),
|
|
155
156
|
type: exports.JournalEntryLineItemType$inboundSchema,
|
|
156
|
-
tax_rate:
|
|
157
|
+
tax_rate: linkedtaxrateinput_js_1.LinkedTaxRateInput$inboundSchema.optional(),
|
|
157
158
|
tracking_category: z.nullable(deprecatedlinkedtrackingcategory_js_1.DeprecatedLinkedTrackingCategory$inboundSchema)
|
|
158
159
|
.optional(),
|
|
159
160
|
tracking_categories: z.nullable(z.array(z.nullable(linkedtrackingcategory_js_1.LinkedTrackingCategory$inboundSchema))).optional(),
|
|
160
|
-
ledger_account: z.nullable(
|
|
161
|
-
customer: z.nullable(
|
|
162
|
-
supplier: z.nullable(
|
|
161
|
+
ledger_account: z.nullable(linkedledgeraccountinput_js_1.LinkedLedgerAccountInput$inboundSchema),
|
|
162
|
+
customer: z.nullable(linkedcustomerinput_js_1.LinkedCustomerInput$inboundSchema).optional(),
|
|
163
|
+
supplier: z.nullable(linkedsupplierinput_js_1.LinkedSupplierInput$inboundSchema).optional(),
|
|
163
164
|
department_id: z.nullable(z.string()).optional(),
|
|
164
165
|
location_id: z.nullable(z.string()).optional(),
|
|
165
166
|
line_number: z.nullable(z.number().int()).optional(),
|
|
@@ -178,20 +179,19 @@ exports.JournalEntryLineItem$inboundSchema = z.object({
|
|
|
178
179
|
});
|
|
179
180
|
});
|
|
180
181
|
/** @internal */
|
|
181
|
-
exports.
|
|
182
|
-
id: z.string().optional(),
|
|
182
|
+
exports.JournalEntryLineItemInput$outboundSchema = z.object({
|
|
183
183
|
description: z.nullable(z.string()).optional(),
|
|
184
184
|
taxAmount: z.nullable(z.number()).optional(),
|
|
185
185
|
subTotal: z.nullable(z.number()).optional(),
|
|
186
186
|
totalAmount: z.nullable(z.number()).optional(),
|
|
187
187
|
type: exports.JournalEntryLineItemType$outboundSchema,
|
|
188
|
-
taxRate:
|
|
188
|
+
taxRate: linkedtaxrateinput_js_1.LinkedTaxRateInput$outboundSchema.optional(),
|
|
189
189
|
trackingCategory: z.nullable(deprecatedlinkedtrackingcategory_js_1.DeprecatedLinkedTrackingCategory$outboundSchema)
|
|
190
190
|
.optional(),
|
|
191
191
|
trackingCategories: z.nullable(z.array(z.nullable(linkedtrackingcategory_js_1.LinkedTrackingCategory$outboundSchema))).optional(),
|
|
192
|
-
ledgerAccount: z.nullable(
|
|
193
|
-
customer: z.nullable(
|
|
194
|
-
supplier: z.nullable(
|
|
192
|
+
ledgerAccount: z.nullable(linkedledgeraccountinput_js_1.LinkedLedgerAccountInput$outboundSchema),
|
|
193
|
+
customer: z.nullable(linkedcustomerinput_js_1.LinkedCustomerInput$outboundSchema).optional(),
|
|
194
|
+
supplier: z.nullable(linkedsupplierinput_js_1.LinkedSupplierInput$outboundSchema).optional(),
|
|
195
195
|
departmentId: z.nullable(z.string()).optional(),
|
|
196
196
|
locationId: z.nullable(z.string()).optional(),
|
|
197
197
|
lineNumber: z.nullable(z.number().int()).optional(),
|
|
@@ -213,17 +213,17 @@ exports.JournalEntryLineItem$outboundSchema = z.object({
|
|
|
213
213
|
* @internal
|
|
214
214
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
215
215
|
*/
|
|
216
|
-
var
|
|
217
|
-
(function (
|
|
218
|
-
/** @deprecated use `
|
|
219
|
-
|
|
220
|
-
/** @deprecated use `
|
|
221
|
-
|
|
222
|
-
})(
|
|
223
|
-
function
|
|
224
|
-
return JSON.stringify(exports.
|
|
216
|
+
var JournalEntryLineItemInput$;
|
|
217
|
+
(function (JournalEntryLineItemInput$) {
|
|
218
|
+
/** @deprecated use `JournalEntryLineItemInput$inboundSchema` instead. */
|
|
219
|
+
JournalEntryLineItemInput$.inboundSchema = exports.JournalEntryLineItemInput$inboundSchema;
|
|
220
|
+
/** @deprecated use `JournalEntryLineItemInput$outboundSchema` instead. */
|
|
221
|
+
JournalEntryLineItemInput$.outboundSchema = exports.JournalEntryLineItemInput$outboundSchema;
|
|
222
|
+
})(JournalEntryLineItemInput$ || (exports.JournalEntryLineItemInput$ = JournalEntryLineItemInput$ = {}));
|
|
223
|
+
function journalEntryLineItemInputToJSON(journalEntryLineItemInput) {
|
|
224
|
+
return JSON.stringify(exports.JournalEntryLineItemInput$outboundSchema.parse(journalEntryLineItemInput));
|
|
225
225
|
}
|
|
226
|
-
function
|
|
227
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
226
|
+
function journalEntryLineItemInputFromJSON(jsonString) {
|
|
227
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.JournalEntryLineItemInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'JournalEntryLineItemInput' from JSON`);
|
|
228
228
|
}
|
|
229
|
-
//# sourceMappingURL=
|
|
229
|
+
//# sourceMappingURL=journalentrylineitem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"journalentrylineitem.js","sourceRoot":"","sources":["../../src/models/components/journalentrylineitem.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA0UH,gEAMC;AAED,oEAQC;AAmHD,0EAMC;AAED,8EAQC;AA3dD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAIjD,+FAK+C;AAC/C,2DAK6B;AAC7B,qEAKkC;AAClC,qEAKkC;AAClC,+EAKuC;AACvC,2DAK6B;AAC7B,qEAKkC;AAClC,yDAK4B;AAC5B,mEAKiC;AACjC,2EAKqC;AAErC;;GAEG;AACU,QAAA,wBAAwB,GAAG;IACtC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;CACR,CAAC;AAsHX,gBAAgB;AACH,QAAA,sCAAsC,GAE/C,CAAC,CAAC,UAAU,CAAC,gCAAwB,CAAC,CAAC;AAE3C,gBAAgB;AACH,QAAA,uCAAuC,GAEhD,8CAAsC,CAAC;AAE3C;;;GAGG;AACH,IAAiB,yBAAyB,CAKzC;AALD,WAAiB,yBAAyB;IACxC,wEAAwE;IAC3D,uCAAa,GAAG,8CAAsC,CAAC;IACpE,yEAAyE;IAC5D,wCAAc,GAAG,+CAAuC,CAAC;AACxE,CAAC,EALgB,yBAAyB,yCAAzB,yBAAyB,QAKzC;AAED,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CA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kB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
|
|
@@ -70,6 +70,13 @@ export declare const AccountStatus: {
|
|
|
70
70
|
* The status of the account.
|
|
71
71
|
*/
|
|
72
72
|
export type AccountStatus = ClosedEnum<typeof AccountStatus>;
|
|
73
|
+
export type Categories = {
|
|
74
|
+
id?: string | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* The name of the category.
|
|
77
|
+
*/
|
|
78
|
+
name?: string | undefined;
|
|
79
|
+
};
|
|
73
80
|
export type ParentAccount = {
|
|
74
81
|
/**
|
|
75
82
|
* The ID of the parent account.
|
|
@@ -84,13 +91,27 @@ export type ParentAccount = {
|
|
|
84
91
|
*/
|
|
85
92
|
displayId?: string | undefined;
|
|
86
93
|
};
|
|
94
|
+
export type SubAccounts = {
|
|
95
|
+
/**
|
|
96
|
+
* The ID of the sub account.
|
|
97
|
+
*/
|
|
98
|
+
id?: string | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* The name of the sub account.
|
|
101
|
+
*/
|
|
102
|
+
accountSubName?: string | undefined;
|
|
103
|
+
};
|
|
87
104
|
export type LedgerAccountSubsidiaries = {
|
|
88
105
|
/**
|
|
89
106
|
* The ID of the subsidiary.
|
|
90
107
|
*/
|
|
91
108
|
id?: string | undefined;
|
|
92
109
|
};
|
|
93
|
-
export type
|
|
110
|
+
export type LedgerAccount = {
|
|
111
|
+
/**
|
|
112
|
+
* A unique identifier for an object.
|
|
113
|
+
*/
|
|
114
|
+
id?: string | undefined;
|
|
94
115
|
/**
|
|
95
116
|
* The human readable display ID used when displaying the account
|
|
96
117
|
*/
|
|
@@ -145,7 +166,7 @@ export type LedgerAccountInput = {
|
|
|
145
166
|
* The tax type of the account.
|
|
146
167
|
*/
|
|
147
168
|
taxType?: string | null | undefined;
|
|
148
|
-
taxRate?:
|
|
169
|
+
taxRate?: LinkedTaxRate | undefined;
|
|
149
170
|
level?: number | null | undefined;
|
|
150
171
|
/**
|
|
151
172
|
* Whether the account is active or not.
|
|
@@ -160,11 +181,19 @@ export type LedgerAccountInput = {
|
|
|
160
181
|
*/
|
|
161
182
|
header?: boolean | null | undefined;
|
|
162
183
|
bankAccount?: BankAccount | undefined;
|
|
184
|
+
/**
|
|
185
|
+
* The categories of the account.
|
|
186
|
+
*/
|
|
187
|
+
categories?: Array<Categories> | undefined;
|
|
163
188
|
parentAccount?: ParentAccount | undefined;
|
|
164
189
|
/**
|
|
165
190
|
* Whether the account is a sub account or not.
|
|
166
191
|
*/
|
|
167
192
|
subAccount?: boolean | null | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* The sub accounts of the account.
|
|
195
|
+
*/
|
|
196
|
+
subAccounts?: Array<SubAccounts> | undefined;
|
|
168
197
|
/**
|
|
169
198
|
* Reconciliation Date means the last calendar day of each Reconciliation Period.
|
|
170
199
|
*/
|
|
@@ -173,38 +202,37 @@ export type LedgerAccountInput = {
|
|
|
173
202
|
* The subsidiaries the account belongs to.
|
|
174
203
|
*/
|
|
175
204
|
subsidiaries?: Array<LedgerAccountSubsidiaries> | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* When custom mappings are configured on the resource, the result is included here.
|
|
207
|
+
*/
|
|
208
|
+
customMappings?: CustomMappings | null | undefined;
|
|
176
209
|
customFields?: Array<CustomField> | undefined;
|
|
177
210
|
/**
|
|
178
211
|
* 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.
|
|
179
212
|
*/
|
|
180
213
|
rowVersion?: string | null | undefined;
|
|
181
214
|
/**
|
|
182
|
-
* The
|
|
215
|
+
* The user who last updated the object.
|
|
183
216
|
*/
|
|
184
|
-
|
|
185
|
-
};
|
|
186
|
-
export type Categories = {
|
|
187
|
-
id?: string | undefined;
|
|
217
|
+
updatedBy?: string | null | undefined;
|
|
188
218
|
/**
|
|
189
|
-
* The
|
|
219
|
+
* The user who created the object.
|
|
190
220
|
*/
|
|
191
|
-
|
|
192
|
-
};
|
|
193
|
-
export type SubAccounts = {
|
|
221
|
+
createdBy?: string | null | undefined;
|
|
194
222
|
/**
|
|
195
|
-
* The
|
|
223
|
+
* The date and time when the object was last updated.
|
|
196
224
|
*/
|
|
197
|
-
|
|
225
|
+
updatedAt?: Date | null | undefined;
|
|
198
226
|
/**
|
|
199
|
-
* The
|
|
227
|
+
* The date and time when the object was created.
|
|
200
228
|
*/
|
|
201
|
-
|
|
202
|
-
};
|
|
203
|
-
export type LedgerAccount = {
|
|
229
|
+
createdAt?: Date | null | undefined;
|
|
204
230
|
/**
|
|
205
|
-
*
|
|
231
|
+
* The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.
|
|
206
232
|
*/
|
|
207
|
-
|
|
233
|
+
passThrough?: Array<PassThroughBody> | undefined;
|
|
234
|
+
};
|
|
235
|
+
export type LedgerAccountInput = {
|
|
208
236
|
/**
|
|
209
237
|
* The human readable display ID used when displaying the account
|
|
210
238
|
*/
|
|
@@ -259,7 +287,7 @@ export type LedgerAccount = {
|
|
|
259
287
|
* The tax type of the account.
|
|
260
288
|
*/
|
|
261
289
|
taxType?: string | null | undefined;
|
|
262
|
-
taxRate?:
|
|
290
|
+
taxRate?: LinkedTaxRateInput | undefined;
|
|
263
291
|
level?: number | null | undefined;
|
|
264
292
|
/**
|
|
265
293
|
* Whether the account is active or not.
|
|
@@ -274,19 +302,11 @@ export type LedgerAccount = {
|
|
|
274
302
|
*/
|
|
275
303
|
header?: boolean | null | undefined;
|
|
276
304
|
bankAccount?: BankAccount | undefined;
|
|
277
|
-
/**
|
|
278
|
-
* The categories of the account.
|
|
279
|
-
*/
|
|
280
|
-
categories?: Array<Categories> | undefined;
|
|
281
305
|
parentAccount?: ParentAccount | undefined;
|
|
282
306
|
/**
|
|
283
307
|
* Whether the account is a sub account or not.
|
|
284
308
|
*/
|
|
285
309
|
subAccount?: boolean | null | undefined;
|
|
286
|
-
/**
|
|
287
|
-
* The sub accounts of the account.
|
|
288
|
-
*/
|
|
289
|
-
subAccounts?: Array<SubAccounts> | undefined;
|
|
290
310
|
/**
|
|
291
311
|
* Reconciliation Date means the last calendar day of each Reconciliation Period.
|
|
292
312
|
*/
|
|
@@ -295,31 +315,11 @@ export type LedgerAccount = {
|
|
|
295
315
|
* The subsidiaries the account belongs to.
|
|
296
316
|
*/
|
|
297
317
|
subsidiaries?: Array<LedgerAccountSubsidiaries> | undefined;
|
|
298
|
-
/**
|
|
299
|
-
* When custom mappings are configured on the resource, the result is included here.
|
|
300
|
-
*/
|
|
301
|
-
customMappings?: CustomMappings | null | undefined;
|
|
302
318
|
customFields?: Array<CustomField> | undefined;
|
|
303
319
|
/**
|
|
304
320
|
* 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.
|
|
305
321
|
*/
|
|
306
322
|
rowVersion?: string | null | undefined;
|
|
307
|
-
/**
|
|
308
|
-
* The user who last updated the object.
|
|
309
|
-
*/
|
|
310
|
-
updatedBy?: string | null | undefined;
|
|
311
|
-
/**
|
|
312
|
-
* The user who created the object.
|
|
313
|
-
*/
|
|
314
|
-
createdBy?: string | null | undefined;
|
|
315
|
-
/**
|
|
316
|
-
* The date and time when the object was last updated.
|
|
317
|
-
*/
|
|
318
|
-
updatedAt?: Date | null | undefined;
|
|
319
|
-
/**
|
|
320
|
-
* The date and time when the object was created.
|
|
321
|
-
*/
|
|
322
|
-
createdAt?: Date | null | undefined;
|
|
323
323
|
/**
|
|
324
324
|
* The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.
|
|
325
325
|
*/
|
|
@@ -440,6 +440,29 @@ export declare namespace AccountStatus$ {
|
|
|
440
440
|
}>;
|
|
441
441
|
}
|
|
442
442
|
/** @internal */
|
|
443
|
+
export declare const Categories$inboundSchema: z.ZodType<Categories, z.ZodTypeDef, unknown>;
|
|
444
|
+
/** @internal */
|
|
445
|
+
export type Categories$Outbound = {
|
|
446
|
+
id?: string | undefined;
|
|
447
|
+
name?: string | undefined;
|
|
448
|
+
};
|
|
449
|
+
/** @internal */
|
|
450
|
+
export declare const Categories$outboundSchema: z.ZodType<Categories$Outbound, z.ZodTypeDef, Categories>;
|
|
451
|
+
/**
|
|
452
|
+
* @internal
|
|
453
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
454
|
+
*/
|
|
455
|
+
export declare namespace Categories$ {
|
|
456
|
+
/** @deprecated use `Categories$inboundSchema` instead. */
|
|
457
|
+
const inboundSchema: z.ZodType<Categories, z.ZodTypeDef, unknown>;
|
|
458
|
+
/** @deprecated use `Categories$outboundSchema` instead. */
|
|
459
|
+
const outboundSchema: z.ZodType<Categories$Outbound, z.ZodTypeDef, Categories>;
|
|
460
|
+
/** @deprecated use `Categories$Outbound` instead. */
|
|
461
|
+
type Outbound = Categories$Outbound;
|
|
462
|
+
}
|
|
463
|
+
export declare function categoriesToJSON(categories: Categories): string;
|
|
464
|
+
export declare function categoriesFromJSON(jsonString: string): SafeParseResult<Categories, SDKValidationError>;
|
|
465
|
+
/** @internal */
|
|
443
466
|
export declare const ParentAccount$inboundSchema: z.ZodType<ParentAccount, z.ZodTypeDef, unknown>;
|
|
444
467
|
/** @internal */
|
|
445
468
|
export type ParentAccount$Outbound = {
|
|
@@ -464,6 +487,29 @@ export declare namespace ParentAccount$ {
|
|
|
464
487
|
export declare function parentAccountToJSON(parentAccount: ParentAccount): string;
|
|
465
488
|
export declare function parentAccountFromJSON(jsonString: string): SafeParseResult<ParentAccount, SDKValidationError>;
|
|
466
489
|
/** @internal */
|
|
490
|
+
export declare const SubAccounts$inboundSchema: z.ZodType<SubAccounts, z.ZodTypeDef, unknown>;
|
|
491
|
+
/** @internal */
|
|
492
|
+
export type SubAccounts$Outbound = {
|
|
493
|
+
id?: string | undefined;
|
|
494
|
+
account_sub_name?: string | undefined;
|
|
495
|
+
};
|
|
496
|
+
/** @internal */
|
|
497
|
+
export declare const SubAccounts$outboundSchema: z.ZodType<SubAccounts$Outbound, z.ZodTypeDef, SubAccounts>;
|
|
498
|
+
/**
|
|
499
|
+
* @internal
|
|
500
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
501
|
+
*/
|
|
502
|
+
export declare namespace SubAccounts$ {
|
|
503
|
+
/** @deprecated use `SubAccounts$inboundSchema` instead. */
|
|
504
|
+
const inboundSchema: z.ZodType<SubAccounts, z.ZodTypeDef, unknown>;
|
|
505
|
+
/** @deprecated use `SubAccounts$outboundSchema` instead. */
|
|
506
|
+
const outboundSchema: z.ZodType<SubAccounts$Outbound, z.ZodTypeDef, SubAccounts>;
|
|
507
|
+
/** @deprecated use `SubAccounts$Outbound` instead. */
|
|
508
|
+
type Outbound = SubAccounts$Outbound;
|
|
509
|
+
}
|
|
510
|
+
export declare function subAccountsToJSON(subAccounts: SubAccounts): string;
|
|
511
|
+
export declare function subAccountsFromJSON(jsonString: string): SafeParseResult<SubAccounts, SDKValidationError>;
|
|
512
|
+
/** @internal */
|
|
467
513
|
export declare const LedgerAccountSubsidiaries$inboundSchema: z.ZodType<LedgerAccountSubsidiaries, z.ZodTypeDef, unknown>;
|
|
468
514
|
/** @internal */
|
|
469
515
|
export type LedgerAccountSubsidiaries$Outbound = {
|
|
@@ -486,9 +532,10 @@ export declare namespace LedgerAccountSubsidiaries$ {
|
|
|
486
532
|
export declare function ledgerAccountSubsidiariesToJSON(ledgerAccountSubsidiaries: LedgerAccountSubsidiaries): string;
|
|
487
533
|
export declare function ledgerAccountSubsidiariesFromJSON(jsonString: string): SafeParseResult<LedgerAccountSubsidiaries, SDKValidationError>;
|
|
488
534
|
/** @internal */
|
|
489
|
-
export declare const
|
|
535
|
+
export declare const LedgerAccount$inboundSchema: z.ZodType<LedgerAccount, z.ZodTypeDef, unknown>;
|
|
490
536
|
/** @internal */
|
|
491
|
-
export type
|
|
537
|
+
export type LedgerAccount$Outbound = {
|
|
538
|
+
id?: string | undefined;
|
|
492
539
|
display_id?: string | undefined;
|
|
493
540
|
nominal_code?: string | null | undefined;
|
|
494
541
|
code?: string | null | undefined;
|
|
@@ -502,87 +549,47 @@ export type LedgerAccountInput$Outbound = {
|
|
|
502
549
|
current_balance?: number | null | undefined;
|
|
503
550
|
currency?: string | null | undefined;
|
|
504
551
|
tax_type?: string | null | undefined;
|
|
505
|
-
tax_rate?:
|
|
552
|
+
tax_rate?: LinkedTaxRate$Outbound | undefined;
|
|
506
553
|
level?: number | null | undefined;
|
|
507
554
|
active?: boolean | null | undefined;
|
|
508
555
|
status?: string | null | undefined;
|
|
509
556
|
header?: boolean | null | undefined;
|
|
510
557
|
bank_account?: BankAccount$Outbound | undefined;
|
|
558
|
+
categories?: Array<Categories$Outbound> | undefined;
|
|
511
559
|
parent_account?: ParentAccount$Outbound | undefined;
|
|
512
560
|
sub_account?: boolean | null | undefined;
|
|
561
|
+
sub_accounts?: Array<SubAccounts$Outbound> | undefined;
|
|
513
562
|
last_reconciliation_date?: string | null | undefined;
|
|
514
563
|
subsidiaries?: Array<LedgerAccountSubsidiaries$Outbound> | undefined;
|
|
564
|
+
custom_mappings?: CustomMappings$Outbound | null | undefined;
|
|
515
565
|
custom_fields?: Array<CustomField$Outbound> | undefined;
|
|
516
566
|
row_version?: string | null | undefined;
|
|
567
|
+
updated_by?: string | null | undefined;
|
|
568
|
+
created_by?: string | null | undefined;
|
|
569
|
+
updated_at?: string | null | undefined;
|
|
570
|
+
created_at?: string | null | undefined;
|
|
517
571
|
pass_through?: Array<PassThroughBody$Outbound> | undefined;
|
|
518
572
|
};
|
|
519
573
|
/** @internal */
|
|
520
|
-
export declare const
|
|
521
|
-
/**
|
|
522
|
-
* @internal
|
|
523
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
524
|
-
*/
|
|
525
|
-
export declare namespace LedgerAccountInput$ {
|
|
526
|
-
/** @deprecated use `LedgerAccountInput$inboundSchema` instead. */
|
|
527
|
-
const inboundSchema: z.ZodType<LedgerAccountInput, z.ZodTypeDef, unknown>;
|
|
528
|
-
/** @deprecated use `LedgerAccountInput$outboundSchema` instead. */
|
|
529
|
-
const outboundSchema: z.ZodType<LedgerAccountInput$Outbound, z.ZodTypeDef, LedgerAccountInput>;
|
|
530
|
-
/** @deprecated use `LedgerAccountInput$Outbound` instead. */
|
|
531
|
-
type Outbound = LedgerAccountInput$Outbound;
|
|
532
|
-
}
|
|
533
|
-
export declare function ledgerAccountInputToJSON(ledgerAccountInput: LedgerAccountInput): string;
|
|
534
|
-
export declare function ledgerAccountInputFromJSON(jsonString: string): SafeParseResult<LedgerAccountInput, SDKValidationError>;
|
|
535
|
-
/** @internal */
|
|
536
|
-
export declare const Categories$inboundSchema: z.ZodType<Categories, z.ZodTypeDef, unknown>;
|
|
537
|
-
/** @internal */
|
|
538
|
-
export type Categories$Outbound = {
|
|
539
|
-
id?: string | undefined;
|
|
540
|
-
name?: string | undefined;
|
|
541
|
-
};
|
|
542
|
-
/** @internal */
|
|
543
|
-
export declare const Categories$outboundSchema: z.ZodType<Categories$Outbound, z.ZodTypeDef, Categories>;
|
|
544
|
-
/**
|
|
545
|
-
* @internal
|
|
546
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
547
|
-
*/
|
|
548
|
-
export declare namespace Categories$ {
|
|
549
|
-
/** @deprecated use `Categories$inboundSchema` instead. */
|
|
550
|
-
const inboundSchema: z.ZodType<Categories, z.ZodTypeDef, unknown>;
|
|
551
|
-
/** @deprecated use `Categories$outboundSchema` instead. */
|
|
552
|
-
const outboundSchema: z.ZodType<Categories$Outbound, z.ZodTypeDef, Categories>;
|
|
553
|
-
/** @deprecated use `Categories$Outbound` instead. */
|
|
554
|
-
type Outbound = Categories$Outbound;
|
|
555
|
-
}
|
|
556
|
-
export declare function categoriesToJSON(categories: Categories): string;
|
|
557
|
-
export declare function categoriesFromJSON(jsonString: string): SafeParseResult<Categories, SDKValidationError>;
|
|
558
|
-
/** @internal */
|
|
559
|
-
export declare const SubAccounts$inboundSchema: z.ZodType<SubAccounts, z.ZodTypeDef, unknown>;
|
|
560
|
-
/** @internal */
|
|
561
|
-
export type SubAccounts$Outbound = {
|
|
562
|
-
id?: string | undefined;
|
|
563
|
-
account_sub_name?: string | undefined;
|
|
564
|
-
};
|
|
565
|
-
/** @internal */
|
|
566
|
-
export declare const SubAccounts$outboundSchema: z.ZodType<SubAccounts$Outbound, z.ZodTypeDef, SubAccounts>;
|
|
574
|
+
export declare const LedgerAccount$outboundSchema: z.ZodType<LedgerAccount$Outbound, z.ZodTypeDef, LedgerAccount>;
|
|
567
575
|
/**
|
|
568
576
|
* @internal
|
|
569
577
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
570
578
|
*/
|
|
571
|
-
export declare namespace
|
|
572
|
-
/** @deprecated use `
|
|
573
|
-
const inboundSchema: z.ZodType<
|
|
574
|
-
/** @deprecated use `
|
|
575
|
-
const outboundSchema: z.ZodType<
|
|
576
|
-
/** @deprecated use `
|
|
577
|
-
type Outbound =
|
|
579
|
+
export declare namespace LedgerAccount$ {
|
|
580
|
+
/** @deprecated use `LedgerAccount$inboundSchema` instead. */
|
|
581
|
+
const inboundSchema: z.ZodType<LedgerAccount, z.ZodTypeDef, unknown>;
|
|
582
|
+
/** @deprecated use `LedgerAccount$outboundSchema` instead. */
|
|
583
|
+
const outboundSchema: z.ZodType<LedgerAccount$Outbound, z.ZodTypeDef, LedgerAccount>;
|
|
584
|
+
/** @deprecated use `LedgerAccount$Outbound` instead. */
|
|
585
|
+
type Outbound = LedgerAccount$Outbound;
|
|
578
586
|
}
|
|
579
|
-
export declare function
|
|
580
|
-
export declare function
|
|
587
|
+
export declare function ledgerAccountToJSON(ledgerAccount: LedgerAccount): string;
|
|
588
|
+
export declare function ledgerAccountFromJSON(jsonString: string): SafeParseResult<LedgerAccount, SDKValidationError>;
|
|
581
589
|
/** @internal */
|
|
582
|
-
export declare const
|
|
590
|
+
export declare const LedgerAccountInput$inboundSchema: z.ZodType<LedgerAccountInput, z.ZodTypeDef, unknown>;
|
|
583
591
|
/** @internal */
|
|
584
|
-
export type
|
|
585
|
-
id?: string | undefined;
|
|
592
|
+
export type LedgerAccountInput$Outbound = {
|
|
586
593
|
display_id?: string | undefined;
|
|
587
594
|
nominal_code?: string | null | undefined;
|
|
588
595
|
code?: string | null | undefined;
|
|
@@ -596,41 +603,34 @@ export type LedgerAccount$Outbound = {
|
|
|
596
603
|
current_balance?: number | null | undefined;
|
|
597
604
|
currency?: string | null | undefined;
|
|
598
605
|
tax_type?: string | null | undefined;
|
|
599
|
-
tax_rate?:
|
|
606
|
+
tax_rate?: LinkedTaxRateInput$Outbound | undefined;
|
|
600
607
|
level?: number | null | undefined;
|
|
601
608
|
active?: boolean | null | undefined;
|
|
602
609
|
status?: string | null | undefined;
|
|
603
610
|
header?: boolean | null | undefined;
|
|
604
611
|
bank_account?: BankAccount$Outbound | undefined;
|
|
605
|
-
categories?: Array<Categories$Outbound> | undefined;
|
|
606
612
|
parent_account?: ParentAccount$Outbound | undefined;
|
|
607
613
|
sub_account?: boolean | null | undefined;
|
|
608
|
-
sub_accounts?: Array<SubAccounts$Outbound> | undefined;
|
|
609
614
|
last_reconciliation_date?: string | null | undefined;
|
|
610
615
|
subsidiaries?: Array<LedgerAccountSubsidiaries$Outbound> | undefined;
|
|
611
|
-
custom_mappings?: CustomMappings$Outbound | null | undefined;
|
|
612
616
|
custom_fields?: Array<CustomField$Outbound> | undefined;
|
|
613
617
|
row_version?: string | null | undefined;
|
|
614
|
-
updated_by?: string | null | undefined;
|
|
615
|
-
created_by?: string | null | undefined;
|
|
616
|
-
updated_at?: string | null | undefined;
|
|
617
|
-
created_at?: string | null | undefined;
|
|
618
618
|
pass_through?: Array<PassThroughBody$Outbound> | undefined;
|
|
619
619
|
};
|
|
620
620
|
/** @internal */
|
|
621
|
-
export declare const
|
|
621
|
+
export declare const LedgerAccountInput$outboundSchema: z.ZodType<LedgerAccountInput$Outbound, z.ZodTypeDef, LedgerAccountInput>;
|
|
622
622
|
/**
|
|
623
623
|
* @internal
|
|
624
624
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
625
625
|
*/
|
|
626
|
-
export declare namespace
|
|
627
|
-
/** @deprecated use `
|
|
628
|
-
const inboundSchema: z.ZodType<
|
|
629
|
-
/** @deprecated use `
|
|
630
|
-
const outboundSchema: z.ZodType<
|
|
631
|
-
/** @deprecated use `
|
|
632
|
-
type Outbound =
|
|
626
|
+
export declare namespace LedgerAccountInput$ {
|
|
627
|
+
/** @deprecated use `LedgerAccountInput$inboundSchema` instead. */
|
|
628
|
+
const inboundSchema: z.ZodType<LedgerAccountInput, z.ZodTypeDef, unknown>;
|
|
629
|
+
/** @deprecated use `LedgerAccountInput$outboundSchema` instead. */
|
|
630
|
+
const outboundSchema: z.ZodType<LedgerAccountInput$Outbound, z.ZodTypeDef, LedgerAccountInput>;
|
|
631
|
+
/** @deprecated use `LedgerAccountInput$Outbound` instead. */
|
|
632
|
+
type Outbound = LedgerAccountInput$Outbound;
|
|
633
633
|
}
|
|
634
|
-
export declare function
|
|
635
|
-
export declare function
|
|
636
|
-
//# sourceMappingURL=
|
|
634
|
+
export declare function ledgerAccountInputToJSON(ledgerAccountInput: LedgerAccountInput): string;
|
|
635
|
+
export declare function ledgerAccountInputFromJSON(jsonString: string): SafeParseResult<LedgerAccountInput, SDKValidationError>;
|
|
636
|
+
//# sourceMappingURL=ledgeraccount.d.ts.map
|