@apideck/unify 0.23.2 → 0.23.4
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/activities/README.md +38 -78
- package/docs/sdks/apideckcompanies/README.md +76 -66
- package/docs/sdks/apideckdepartments/README.md +10 -132
- package/docs/sdks/applicants/README.md +138 -102
- package/docs/sdks/applications/README.md +32 -42
- package/docs/sdks/bankfeedaccounts/README.md +20 -26
- package/docs/sdks/bankfeedstatements/README.md +20 -20
- package/docs/sdks/billpayments/README.md +30 -174
- package/docs/sdks/bills/README.md +206 -218
- package/docs/sdks/collectionticketcomments/README.md +32 -100
- package/docs/sdks/collectiontickets/README.md +112 -12
- package/docs/sdks/companies/README.md +166 -286
- package/docs/sdks/connections/README.md +30 -196
- package/docs/sdks/connectionsettings/README.md +20 -194
- package/docs/sdks/contacts/README.md +210 -190
- package/docs/sdks/creditnotes/README.md +37 -525
- package/docs/sdks/customers/README.md +110 -328
- package/docs/sdks/departments/README.md +10 -84
- package/docs/sdks/drivegroups/README.md +0 -16
- package/docs/sdks/drives/README.md +10 -132
- package/docs/sdks/employees/README.md +266 -296
- package/docs/sdks/expenses/README.md +42 -136
- package/docs/sdks/files/README.md +0 -116
- package/docs/sdks/folders/README.md +0 -264
- package/docs/sdks/invoiceitems/README.md +4 -112
- package/docs/sdks/invoices/README.md +210 -316
- package/docs/sdks/journalentries/README.md +272 -476
- package/docs/sdks/leads/README.md +216 -64
- package/docs/sdks/ledgeraccounts/README.md +58 -78
- package/docs/sdks/locations/README.md +6 -120
- package/docs/sdks/messages/README.md +0 -90
- package/docs/sdks/notes/README.md +46 -16
- package/docs/sdks/opportunities/README.md +38 -42
- package/docs/sdks/payments/README.md +24 -200
- package/docs/sdks/pipelines/README.md +16 -28
- package/docs/sdks/purchaseorders/README.md +212 -294
- package/docs/sdks/sharedlinks/README.md +10 -74
- package/docs/sdks/subsidiaries/README.md +10 -116
- package/docs/sdks/suppliers/README.md +24 -322
- package/docs/sdks/taxrates/README.md +32 -26
- package/docs/sdks/timeoffrequests/README.md +0 -142
- package/docs/sdks/trackingcategories/README.md +32 -100
- package/docs/sdks/uploadsessions/README.md +90 -0
- package/docs/sdks/users/README.md +124 -136
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/models/components/accountingdepartment.d.ts +6 -3
- package/models/components/accountingdepartment.d.ts.map +1 -1
- package/models/components/accountingdepartment.js +2 -3
- package/models/components/accountingdepartment.js.map +1 -1
- package/models/components/accountinglocation.d.ts +6 -3
- package/models/components/accountinglocation.d.ts.map +1 -1
- package/models/components/accountinglocation.js +2 -3
- package/models/components/accountinglocation.js.map +1 -1
- package/models/components/activity.d.ts +6 -3
- package/models/components/activity.d.ts.map +1 -1
- package/models/components/activity.js +2 -3
- package/models/components/activity.js.map +1 -1
- package/models/components/applicant.d.ts +6 -3
- package/models/components/applicant.d.ts.map +1 -1
- package/models/components/applicant.js +2 -3
- package/models/components/applicant.js.map +1 -1
- package/models/components/application.d.ts +6 -3
- package/models/components/application.d.ts.map +1 -1
- package/models/components/application.js +2 -3
- package/models/components/application.js.map +1 -1
- package/models/components/balancesheet.d.ts +6 -3
- package/models/components/balancesheet.d.ts.map +1 -1
- package/models/components/balancesheet.js +2 -3
- package/models/components/balancesheet.js.map +1 -1
- package/models/components/bankfeedaccount.d.ts +6 -3
- package/models/components/bankfeedaccount.d.ts.map +1 -1
- package/models/components/bankfeedaccount.js +2 -3
- package/models/components/bankfeedaccount.js.map +1 -1
- package/models/components/bill.d.ts +6 -3
- package/models/components/bill.d.ts.map +1 -1
- package/models/components/bill.js +2 -3
- package/models/components/bill.js.map +1 -1
- package/models/components/billpayment.d.ts +6 -3
- package/models/components/billpayment.d.ts.map +1 -1
- package/models/components/billpayment.js +2 -3
- package/models/components/billpayment.js.map +1 -1
- package/models/components/collection.d.ts +6 -3
- package/models/components/collection.d.ts.map +1 -1
- package/models/components/collection.js +2 -3
- package/models/components/collection.js.map +1 -1
- package/models/components/collectiontag.d.ts +6 -3
- package/models/components/collectiontag.d.ts.map +1 -1
- package/models/components/collectiontag.js +2 -3
- package/models/components/collectiontag.js.map +1 -1
- package/models/components/collectionticketcomment.d.ts +6 -3
- package/models/components/collectionticketcomment.d.ts.map +1 -1
- package/models/components/collectionticketcomment.js +2 -3
- package/models/components/collectionticketcomment.js.map +1 -1
- package/models/components/collectionuser.d.ts +6 -3
- package/models/components/collectionuser.d.ts.map +1 -1
- package/models/components/collectionuser.js +2 -3
- package/models/components/collectionuser.js.map +1 -1
- package/models/components/company.d.ts +6 -3
- package/models/components/company.d.ts.map +1 -1
- package/models/components/company.js +2 -3
- package/models/components/company.js.map +1 -1
- package/models/components/companyinfo.d.ts +6 -3
- package/models/components/companyinfo.d.ts.map +1 -1
- package/models/components/companyinfo.js +2 -3
- package/models/components/companyinfo.js.map +1 -1
- package/models/components/contact.d.ts +10 -7
- package/models/components/contact.d.ts.map +1 -1
- package/models/components/contact.js +6 -7
- package/models/components/contact.js.map +1 -1
- package/models/components/creditnote.d.ts +6 -3
- package/models/components/creditnote.d.ts.map +1 -1
- package/models/components/creditnote.js +2 -3
- package/models/components/creditnote.js.map +1 -1
- package/models/components/customer.d.ts +6 -3
- package/models/components/customer.d.ts.map +1 -1
- package/models/components/customer.js +2 -3
- package/models/components/customer.js.map +1 -1
- package/models/components/department.d.ts +6 -3
- package/models/components/department.d.ts.map +1 -1
- package/models/components/department.js +2 -3
- package/models/components/department.js.map +1 -1
- package/models/components/drive.d.ts +6 -3
- package/models/components/drive.d.ts.map +1 -1
- package/models/components/drive.js +2 -3
- package/models/components/drive.js.map +1 -1
- package/models/components/drivegroup.d.ts +6 -3
- package/models/components/drivegroup.d.ts.map +1 -1
- package/models/components/drivegroup.js +2 -3
- package/models/components/drivegroup.js.map +1 -1
- package/models/components/ecommercecustomer.d.ts +6 -3
- package/models/components/ecommercecustomer.d.ts.map +1 -1
- package/models/components/ecommercecustomer.js +2 -3
- package/models/components/ecommercecustomer.js.map +1 -1
- package/models/components/ecommerceorder.d.ts +9 -3
- package/models/components/ecommerceorder.d.ts.map +1 -1
- package/models/components/ecommerceorder.js +5 -3
- package/models/components/ecommerceorder.js.map +1 -1
- package/models/components/ecommerceorderrefund.d.ts +56 -0
- package/models/components/ecommerceorderrefund.d.ts.map +1 -0
- package/models/components/ecommerceorderrefund.js +77 -0
- package/models/components/ecommerceorderrefund.js.map +1 -0
- package/models/components/ecommerceproduct.d.ts +6 -3
- package/models/components/ecommerceproduct.d.ts.map +1 -1
- package/models/components/ecommerceproduct.js +2 -3
- package/models/components/ecommerceproduct.js.map +1 -1
- package/models/components/ecommercestore.d.ts +6 -3
- package/models/components/ecommercestore.d.ts.map +1 -1
- package/models/components/ecommercestore.js +2 -3
- package/models/components/ecommercestore.js.map +1 -1
- package/models/components/employee.d.ts +6 -3
- package/models/components/employee.d.ts.map +1 -1
- package/models/components/employee.js +2 -3
- package/models/components/employee.js.map +1 -1
- package/models/components/expense.d.ts +16 -3
- package/models/components/expense.d.ts.map +1 -1
- package/models/components/expense.js +10 -3
- package/models/components/expense.js.map +1 -1
- package/models/components/expenselineitem.d.ts +5 -0
- package/models/components/expenselineitem.d.ts.map +1 -1
- package/models/components/expenselineitem.js +4 -0
- package/models/components/expenselineitem.js.map +1 -1
- package/models/components/expenselineiteminput.d.ts +5 -0
- package/models/components/expenselineiteminput.d.ts.map +1 -1
- package/models/components/expenselineiteminput.js +4 -0
- package/models/components/expenselineiteminput.js.map +1 -1
- package/models/components/folder.d.ts +6 -3
- package/models/components/folder.d.ts.map +1 -1
- package/models/components/folder.js +2 -3
- package/models/components/folder.js.map +1 -1
- package/models/components/hriscompany.d.ts +6 -3
- package/models/components/hriscompany.d.ts.map +1 -1
- package/models/components/hriscompany.js +2 -3
- package/models/components/hriscompany.js.map +1 -1
- package/models/components/index.d.ts +1 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -1
- package/models/components/index.js.map +1 -1
- package/models/components/invoice.d.ts +6 -3
- package/models/components/invoice.d.ts.map +1 -1
- package/models/components/invoice.js +2 -3
- package/models/components/invoice.js.map +1 -1
- package/models/components/invoiceitem.d.ts +6 -3
- package/models/components/invoiceitem.d.ts.map +1 -1
- package/models/components/invoiceitem.js +2 -3
- package/models/components/invoiceitem.js.map +1 -1
- package/models/components/job.d.ts +6 -3
- package/models/components/job.d.ts.map +1 -1
- package/models/components/job.js +2 -3
- package/models/components/job.js.map +1 -1
- package/models/components/journalentry.d.ts +6 -3
- package/models/components/journalentry.d.ts.map +1 -1
- package/models/components/journalentry.js +2 -3
- package/models/components/journalentry.js.map +1 -1
- package/models/components/lead.d.ts +10 -7
- package/models/components/lead.d.ts.map +1 -1
- package/models/components/lead.js +6 -7
- package/models/components/lead.js.map +1 -1
- package/models/components/leadinput.d.ts +4 -4
- package/models/components/leadinput.d.ts.map +1 -1
- package/models/components/leadinput.js +4 -4
- package/models/components/leadinput.js.map +1 -1
- package/models/components/ledgeraccount.d.ts +6 -3
- package/models/components/ledgeraccount.d.ts.map +1 -1
- package/models/components/ledgeraccount.js +2 -3
- package/models/components/ledgeraccount.js.map +1 -1
- package/models/components/message.d.ts +6 -3
- package/models/components/message.d.ts.map +1 -1
- package/models/components/message.js +2 -3
- package/models/components/message.js.map +1 -1
- package/models/components/note.d.ts +6 -3
- package/models/components/note.d.ts.map +1 -1
- package/models/components/note.js +2 -3
- package/models/components/note.js.map +1 -1
- package/models/components/opportunity.d.ts +6 -3
- package/models/components/opportunity.d.ts.map +1 -1
- package/models/components/opportunity.js +2 -3
- package/models/components/opportunity.js.map +1 -1
- package/models/components/payment.d.ts +6 -3
- package/models/components/payment.d.ts.map +1 -1
- package/models/components/payment.js +2 -3
- package/models/components/payment.js.map +1 -1
- package/models/components/paymentsfilter.d.ts +2 -0
- package/models/components/paymentsfilter.d.ts.map +1 -1
- package/models/components/paymentsfilter.js +4 -0
- package/models/components/paymentsfilter.js.map +1 -1
- package/models/components/payroll.d.ts +6 -3
- package/models/components/payroll.d.ts.map +1 -1
- package/models/components/payroll.js +2 -3
- package/models/components/payroll.js.map +1 -1
- package/models/components/person.d.ts +6 -3
- package/models/components/person.d.ts.map +1 -1
- package/models/components/person.js +2 -3
- package/models/components/person.js.map +1 -1
- package/models/components/profitandloss.d.ts +10 -7
- package/models/components/profitandloss.d.ts.map +1 -1
- package/models/components/profitandloss.js +6 -7
- package/models/components/profitandloss.js.map +1 -1
- package/models/components/purchaseorder.d.ts +16 -3
- package/models/components/purchaseorder.d.ts.map +1 -1
- package/models/components/purchaseorder.js +10 -3
- package/models/components/purchaseorder.js.map +1 -1
- package/models/components/subsidiary.d.ts +6 -3
- package/models/components/subsidiary.d.ts.map +1 -1
- package/models/components/subsidiary.js +2 -3
- package/models/components/subsidiary.js.map +1 -1
- package/models/components/supplier.d.ts +6 -3
- package/models/components/supplier.d.ts.map +1 -1
- package/models/components/supplier.js +2 -3
- package/models/components/supplier.js.map +1 -1
- package/models/components/taxrate.d.ts +6 -3
- package/models/components/taxrate.d.ts.map +1 -1
- package/models/components/taxrate.js +2 -3
- package/models/components/taxrate.js.map +1 -1
- package/models/components/ticket.d.ts +6 -3
- package/models/components/ticket.d.ts.map +1 -1
- package/models/components/ticket.js +2 -3
- package/models/components/ticket.js.map +1 -1
- package/models/components/timeoffrequest.d.ts +6 -3
- package/models/components/timeoffrequest.d.ts.map +1 -1
- package/models/components/timeoffrequest.js +2 -3
- package/models/components/timeoffrequest.js.map +1 -1
- package/models/components/trackingcategory.d.ts +6 -3
- package/models/components/trackingcategory.d.ts.map +1 -1
- package/models/components/trackingcategory.js +2 -3
- package/models/components/trackingcategory.js.map +1 -1
- package/models/components/unifiedfile.d.ts +6 -3
- package/models/components/unifiedfile.d.ts.map +1 -1
- package/models/components/unifiedfile.js +2 -3
- package/models/components/unifiedfile.js.map +1 -1
- package/models/components/user.d.ts +6 -3
- package/models/components/user.d.ts.map +1 -1
- package/models/components/user.js +2 -3
- package/models/components/user.js.map +1 -1
- package/package.json +2 -2
- package/src/lib/config.ts +4 -4
- package/src/models/components/accountingdepartment.ts +4 -10
- package/src/models/components/accountinglocation.ts +4 -10
- package/src/models/components/activity.ts +4 -10
- package/src/models/components/applicant.ts +4 -10
- package/src/models/components/application.ts +4 -10
- package/src/models/components/balancesheet.ts +4 -10
- package/src/models/components/bankfeedaccount.ts +4 -10
- package/src/models/components/bill.ts +4 -10
- package/src/models/components/billpayment.ts +4 -10
- package/src/models/components/collection.ts +4 -10
- package/src/models/components/collectiontag.ts +4 -10
- package/src/models/components/collectionticketcomment.ts +4 -10
- package/src/models/components/collectionuser.ts +4 -10
- package/src/models/components/company.ts +4 -10
- package/src/models/components/companyinfo.ts +4 -10
- package/src/models/components/contact.ts +12 -18
- package/src/models/components/creditnote.ts +4 -10
- package/src/models/components/customer.ts +4 -10
- package/src/models/components/department.ts +4 -10
- package/src/models/components/drive.ts +4 -10
- package/src/models/components/drivegroup.ts +4 -10
- package/src/models/components/ecommercecustomer.ts +4 -10
- package/src/models/components/ecommerceorder.ts +14 -10
- package/src/models/components/ecommerceorderrefund.ts +116 -0
- package/src/models/components/ecommerceproduct.ts +4 -10
- package/src/models/components/ecommercestore.ts +4 -10
- package/src/models/components/employee.ts +4 -10
- package/src/models/components/expense.ts +22 -10
- package/src/models/components/expenselineitem.ts +9 -0
- package/src/models/components/expenselineiteminput.ts +9 -0
- package/src/models/components/folder.ts +4 -10
- package/src/models/components/hriscompany.ts +4 -10
- package/src/models/components/index.ts +1 -1
- package/src/models/components/invoice.ts +4 -10
- package/src/models/components/invoiceitem.ts +4 -10
- package/src/models/components/job.ts +4 -10
- package/src/models/components/journalentry.ts +4 -10
- package/src/models/components/lead.ts +12 -18
- package/src/models/components/leadinput.ts +8 -8
- package/src/models/components/ledgeraccount.ts +4 -10
- package/src/models/components/message.ts +4 -10
- package/src/models/components/note.ts +4 -10
- package/src/models/components/opportunity.ts +4 -10
- package/src/models/components/payment.ts +4 -10
- package/src/models/components/paymentsfilter.ts +6 -0
- package/src/models/components/payroll.ts +4 -10
- package/src/models/components/person.ts +4 -10
- package/src/models/components/profitandloss.ts +12 -18
- package/src/models/components/purchaseorder.ts +22 -10
- package/src/models/components/subsidiary.ts +4 -10
- package/src/models/components/supplier.ts +4 -10
- package/src/models/components/taxrate.ts +4 -10
- package/src/models/components/ticket.ts +4 -10
- package/src/models/components/timeoffrequest.ts +4 -10
- package/src/models/components/trackingcategory.ts +4 -10
- package/src/models/components/unifiedfile.ts +4 -10
- package/src/models/components/user.ts +4 -10
- package/models/components/custommappings.d.ts +0 -28
- package/models/components/custommappings.d.ts.map +0 -1
- package/models/components/custommappings.js +0 -55
- package/models/components/custommappings.js.map +0 -1
- package/src/models/components/custommappings.ts +0 -57
|
@@ -34,7 +34,6 @@ exports.unifiedFileFromJSON = unifiedFileFromJSON;
|
|
|
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");
|
|
37
|
-
const custommappings_js_1 = require("./custommappings.js");
|
|
38
37
|
const filetype_js_1 = require("./filetype.js");
|
|
39
38
|
const linkedfolder_js_1 = require("./linkedfolder.js");
|
|
40
39
|
const owner_js_1 = require("./owner.js");
|
|
@@ -80,7 +79,7 @@ exports.UnifiedFile$inboundSchema = z.object({
|
|
|
80
79
|
permissions: z.lazy(() => exports.Permissions$inboundSchema).optional(),
|
|
81
80
|
exportable: z.boolean().optional(),
|
|
82
81
|
export_formats: z.nullable(z.array(z.string())).optional(),
|
|
83
|
-
custom_mappings: z.nullable(
|
|
82
|
+
custom_mappings: z.nullable(z.record(z.any())).optional(),
|
|
84
83
|
updated_by: z.nullable(z.string()).optional(),
|
|
85
84
|
created_by: z.nullable(z.string()).optional(),
|
|
86
85
|
updated_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
@@ -116,7 +115,7 @@ exports.UnifiedFile$outboundSchema = z.object({
|
|
|
116
115
|
permissions: z.lazy(() => exports.Permissions$outboundSchema).optional(),
|
|
117
116
|
exportable: z.boolean().optional(),
|
|
118
117
|
exportFormats: z.nullable(z.array(z.string())).optional(),
|
|
119
|
-
customMappings: z.nullable(
|
|
118
|
+
customMappings: z.nullable(z.record(z.any())).optional(),
|
|
120
119
|
updatedBy: z.nullable(z.string()).optional(),
|
|
121
120
|
createdBy: z.nullable(z.string()).optional(),
|
|
122
121
|
updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unifiedfile.js","sourceRoot":"","sources":["../../src/models/components/unifiedfile.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"unifiedfile.js","sourceRoot":"","sources":["../../src/models/components/unifiedfile.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAuJH,8CAEC;AAED,kDAQC;AA6HD,8CAEC;AAED,kDAQC;AA1SD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,+CAIuB;AACvB,uDAK2B;AAC3B,yCAKoB;AA4FpB,gBAAgB;AACH,QAAA,yBAAyB,GAIlC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,YAAY,CAO5B;AAPD,WAAiB,YAAY;IAC3B,2DAA2D;IAC9C,0BAAa,GAAG,iCAAyB,CAAC;IACvD,4DAA4D;IAC/C,2BAAc,GAAG,kCAA0B,CAAC;AAG3D,CAAC,EAPgB,YAAY,4BAAZ,YAAY,QAO5B;AAED,SAAgB,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AAE,YAAY;QACvB,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,YAAY,CAO5B;AAPD,WAAiB,YAAY;IAC3B,2DAA2D;IAC9C,0BAAa,GAAG,iCAAyB,CAAC;IACvD,4DAA4D;IAC/C,2BAAc,GAAG,kCAA0B,CAAC;AAG3D,CAAC,EAPgB,YAAY,4BAAZ,YAAY,QAO5B;AAED,SAAgB,iBAAiB,CAAC,WAAwB;IACxD,OAAO,IAAI,CAAC,SAAS,CAAC,kCAA0B,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;AACvE,CAAC;AAED,SAAgB,mBAAmB,CACjC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAyB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrD,yCAAyC,CAC1C,CAAC;AACJ,CAAC"}
|
|
@@ -2,7 +2,6 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { Address, Address$Outbound } from "./address.js";
|
|
5
|
-
import { CustomMappings, CustomMappings$Outbound } from "./custommappings.js";
|
|
6
5
|
import { Email, Email$Outbound } from "./email.js";
|
|
7
6
|
import { PassThroughBody, PassThroughBody$Outbound } from "./passthroughbody.js";
|
|
8
7
|
import { PhoneNumber, PhoneNumber$Outbound } from "./phonenumber.js";
|
|
@@ -71,7 +70,9 @@ export type User = {
|
|
|
71
70
|
/**
|
|
72
71
|
* When custom mappings are configured on the resource, the result is included here.
|
|
73
72
|
*/
|
|
74
|
-
customMappings?:
|
|
73
|
+
customMappings?: {
|
|
74
|
+
[k: string]: any;
|
|
75
|
+
} | null | undefined;
|
|
75
76
|
/**
|
|
76
77
|
* The date and time when the user was last updated.
|
|
77
78
|
*/
|
|
@@ -106,7 +107,9 @@ export type User$Outbound = {
|
|
|
106
107
|
addresses?: Array<Address$Outbound> | undefined;
|
|
107
108
|
phone_numbers?: Array<PhoneNumber$Outbound> | undefined;
|
|
108
109
|
emails: Array<Email$Outbound>;
|
|
109
|
-
custom_mappings?:
|
|
110
|
+
custom_mappings?: {
|
|
111
|
+
[k: string]: any;
|
|
112
|
+
} | null | undefined;
|
|
110
113
|
updated_at?: string | null | undefined;
|
|
111
114
|
created_at?: string | null | undefined;
|
|
112
115
|
pass_through?: Array<PassThroughBody$Outbound> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/models/components/user.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,OAAO,EAEP,gBAAgB,EAEjB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/models/components/user.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,OAAO,EAEP,gBAAgB,EAEjB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,KAAK,EAEL,cAAc,EAEf,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,WAAW,EAEX,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAE1B,MAA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CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC,SAAS,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;IAChD,aAAa,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC;IACxD,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAC9B,eAAe,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1D,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,YAAY,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC;CAC5D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC,CAAC,UAAU,EAAE,IAAI,CAoCzE,CAAC;AAEL;;;GAGG;AACH,yBAAiB,KAAK,CAAC;IACrB,oDAAoD;IAC7C,MAAM,aAAa,wCAAqB,CAAC;IAChD,qDAAqD;IAC9C,MAAM,cAAc,8CAAsB,CAAC;IAClD,+CAA+C;IAC/C,KAAY,QAAQ,GAAG,aAAa,CAAC;CACtC;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAE7C;AAED,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAM3C"}
|
|
@@ -33,7 +33,6 @@ const z = __importStar(require("zod"));
|
|
|
33
33
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
34
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
35
|
const address_js_1 = require("./address.js");
|
|
36
|
-
const custommappings_js_1 = require("./custommappings.js");
|
|
37
36
|
const email_js_1 = require("./email.js");
|
|
38
37
|
const passthroughbody_js_1 = require("./passthroughbody.js");
|
|
39
38
|
const phonenumber_js_1 = require("./phonenumber.js");
|
|
@@ -57,7 +56,7 @@ exports.User$inboundSchema = z
|
|
|
57
56
|
addresses: z.array(address_js_1.Address$inboundSchema).optional(),
|
|
58
57
|
phone_numbers: z.array(phonenumber_js_1.PhoneNumber$inboundSchema).optional(),
|
|
59
58
|
emails: z.array(email_js_1.Email$inboundSchema),
|
|
60
|
-
custom_mappings: z.nullable(
|
|
59
|
+
custom_mappings: z.nullable(z.record(z.any())).optional(),
|
|
61
60
|
updated_at: z.nullable(z.string()).optional(),
|
|
62
61
|
created_at: z.nullable(z.string()).optional(),
|
|
63
62
|
pass_through: z.array(passthroughbody_js_1.PassThroughBody$inboundSchema).optional(),
|
|
@@ -94,7 +93,7 @@ exports.User$outboundSchema = z.object({
|
|
|
94
93
|
addresses: z.array(address_js_1.Address$outboundSchema).optional(),
|
|
95
94
|
phoneNumbers: z.array(phonenumber_js_1.PhoneNumber$outboundSchema).optional(),
|
|
96
95
|
emails: z.array(email_js_1.Email$outboundSchema),
|
|
97
|
-
customMappings: z.nullable(
|
|
96
|
+
customMappings: z.nullable(z.record(z.any())).optional(),
|
|
98
97
|
updatedAt: z.nullable(z.string()).optional(),
|
|
99
98
|
createdAt: z.nullable(z.string()).optional(),
|
|
100
99
|
passThrough: z.array(passthroughbody_js_1.PassThroughBody$outboundSchema).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../src/models/components/user.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../src/models/components/user.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA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,GAAG,2BAAmB,CAAC;AAGpD,CAAC,EAPgB,KAAK,qBAAL,KAAK,QAOrB;AAED,SAAgB,UAAU,CAAC,IAAU;IACnC,OAAO,IAAI,CAAC,SAAS,CAAC,2BAAmB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;AACzD,CAAC;AAED,SAAgB,YAAY,CAC1B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0BAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,kCAAkC,CACnC,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apideck/unify",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.4",
|
|
4
4
|
"author": "Speakeasy",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"typescript": "^5.4.5",
|
|
27
27
|
"typescript-eslint": "^8.22.0",
|
|
28
28
|
"vitest": "^3.0.2",
|
|
29
|
-
"zod": "^3.
|
|
29
|
+
"zod": "^3.25.17"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
|
package/src/lib/config.ts
CHANGED
|
@@ -63,8 +63,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
63
63
|
|
|
64
64
|
export const SDK_METADATA = {
|
|
65
65
|
language: "typescript",
|
|
66
|
-
openapiDocVersion: "10.16.
|
|
67
|
-
sdkVersion: "0.23.
|
|
68
|
-
genVersion: "2.
|
|
69
|
-
userAgent: "speakeasy-sdk/typescript 0.23.
|
|
66
|
+
openapiDocVersion: "10.16.8",
|
|
67
|
+
sdkVersion: "0.23.4",
|
|
68
|
+
genVersion: "2.610.0",
|
|
69
|
+
userAgent: "speakeasy-sdk/typescript 0.23.4 2.610.0 10.16.8 @apideck/unify",
|
|
70
70
|
} as const;
|
|
@@ -8,12 +8,6 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
8
8
|
import { ClosedEnum } from "../../types/enums.js";
|
|
9
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
import {
|
|
12
|
-
CustomMappings,
|
|
13
|
-
CustomMappings$inboundSchema,
|
|
14
|
-
CustomMappings$Outbound,
|
|
15
|
-
CustomMappings$outboundSchema,
|
|
16
|
-
} from "./custommappings.js";
|
|
17
11
|
import {
|
|
18
12
|
PassThroughBody,
|
|
19
13
|
PassThroughBody$inboundSchema,
|
|
@@ -70,7 +64,7 @@ export type AccountingDepartment = {
|
|
|
70
64
|
/**
|
|
71
65
|
* When custom mappings are configured on the resource, the result is included here.
|
|
72
66
|
*/
|
|
73
|
-
customMappings?:
|
|
67
|
+
customMappings?: { [k: string]: any } | null | undefined;
|
|
74
68
|
/**
|
|
75
69
|
* 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.
|
|
76
70
|
*/
|
|
@@ -158,7 +152,7 @@ export const AccountingDepartment$inboundSchema: z.ZodType<
|
|
|
158
152
|
status: DepartmentStatus$inboundSchema.optional(),
|
|
159
153
|
subsidiaries: z.array(SubsidiaryReference$inboundSchema).optional(),
|
|
160
154
|
code: z.string().optional(),
|
|
161
|
-
custom_mappings: z.nullable(
|
|
155
|
+
custom_mappings: z.nullable(z.record(z.any())).optional(),
|
|
162
156
|
row_version: z.nullable(z.string()).optional(),
|
|
163
157
|
updated_by: z.nullable(z.string()).optional(),
|
|
164
158
|
created_by: z.nullable(z.string()).optional(),
|
|
@@ -190,7 +184,7 @@ export type AccountingDepartment$Outbound = {
|
|
|
190
184
|
status?: string | undefined;
|
|
191
185
|
subsidiaries?: Array<SubsidiaryReference$Outbound> | undefined;
|
|
192
186
|
code?: string | undefined;
|
|
193
|
-
custom_mappings?:
|
|
187
|
+
custom_mappings?: { [k: string]: any } | null | undefined;
|
|
194
188
|
row_version?: string | null | undefined;
|
|
195
189
|
updated_by?: string | null | undefined;
|
|
196
190
|
created_by?: string | null | undefined;
|
|
@@ -211,7 +205,7 @@ export const AccountingDepartment$outboundSchema: z.ZodType<
|
|
|
211
205
|
status: DepartmentStatus$outboundSchema.optional(),
|
|
212
206
|
subsidiaries: z.array(SubsidiaryReference$outboundSchema).optional(),
|
|
213
207
|
code: z.string().optional(),
|
|
214
|
-
customMappings: z.nullable(
|
|
208
|
+
customMappings: z.nullable(z.record(z.any())).optional(),
|
|
215
209
|
rowVersion: z.nullable(z.string()).optional(),
|
|
216
210
|
updatedBy: z.nullable(z.string()).optional(),
|
|
217
211
|
createdBy: z.nullable(z.string()).optional(),
|
|
@@ -14,12 +14,6 @@ import {
|
|
|
14
14
|
Address$Outbound,
|
|
15
15
|
Address$outboundSchema,
|
|
16
16
|
} from "./address.js";
|
|
17
|
-
import {
|
|
18
|
-
CustomMappings,
|
|
19
|
-
CustomMappings$inboundSchema,
|
|
20
|
-
CustomMappings$Outbound,
|
|
21
|
-
CustomMappings$outboundSchema,
|
|
22
|
-
} from "./custommappings.js";
|
|
23
17
|
import {
|
|
24
18
|
PassThroughBody,
|
|
25
19
|
PassThroughBody$inboundSchema,
|
|
@@ -77,7 +71,7 @@ export type AccountingLocation = {
|
|
|
77
71
|
/**
|
|
78
72
|
* When custom mappings are configured on the resource, the result is included here.
|
|
79
73
|
*/
|
|
80
|
-
customMappings?:
|
|
74
|
+
customMappings?: { [k: string]: any } | null | undefined;
|
|
81
75
|
/**
|
|
82
76
|
* 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.
|
|
83
77
|
*/
|
|
@@ -167,7 +161,7 @@ export const AccountingLocation$inboundSchema: z.ZodType<
|
|
|
167
161
|
status: LocationStatus$inboundSchema.optional(),
|
|
168
162
|
addresses: z.array(Address$inboundSchema).optional(),
|
|
169
163
|
subsidiaries: z.array(SubsidiaryReference$inboundSchema).optional(),
|
|
170
|
-
custom_mappings: z.nullable(
|
|
164
|
+
custom_mappings: z.nullable(z.record(z.any())).optional(),
|
|
171
165
|
row_version: z.nullable(z.string()).optional(),
|
|
172
166
|
updated_by: z.nullable(z.string()).optional(),
|
|
173
167
|
created_by: z.nullable(z.string()).optional(),
|
|
@@ -202,7 +196,7 @@ export type AccountingLocation$Outbound = {
|
|
|
202
196
|
status?: string | undefined;
|
|
203
197
|
addresses?: Array<Address$Outbound> | undefined;
|
|
204
198
|
subsidiaries?: Array<SubsidiaryReference$Outbound> | undefined;
|
|
205
|
-
custom_mappings?:
|
|
199
|
+
custom_mappings?: { [k: string]: any } | null | undefined;
|
|
206
200
|
row_version?: string | null | undefined;
|
|
207
201
|
updated_by?: string | null | undefined;
|
|
208
202
|
created_by?: string | null | undefined;
|
|
@@ -224,7 +218,7 @@ export const AccountingLocation$outboundSchema: z.ZodType<
|
|
|
224
218
|
status: LocationStatus$outboundSchema.optional(),
|
|
225
219
|
addresses: z.array(Address$outboundSchema).optional(),
|
|
226
220
|
subsidiaries: z.array(SubsidiaryReference$outboundSchema).optional(),
|
|
227
|
-
customMappings: z.nullable(
|
|
221
|
+
customMappings: z.nullable(z.record(z.any())).optional(),
|
|
228
222
|
rowVersion: z.nullable(z.string()).optional(),
|
|
229
223
|
updatedBy: z.nullable(z.string()).optional(),
|
|
230
224
|
createdBy: z.nullable(z.string()).optional(),
|
|
@@ -30,12 +30,6 @@ import {
|
|
|
30
30
|
CustomField$Outbound,
|
|
31
31
|
CustomField$outboundSchema,
|
|
32
32
|
} from "./customfield.js";
|
|
33
|
-
import {
|
|
34
|
-
CustomMappings,
|
|
35
|
-
CustomMappings$inboundSchema,
|
|
36
|
-
CustomMappings$Outbound,
|
|
37
|
-
CustomMappings$outboundSchema,
|
|
38
|
-
} from "./custommappings.js";
|
|
39
33
|
import {
|
|
40
34
|
PassThroughBody,
|
|
41
35
|
PassThroughBody$inboundSchema,
|
|
@@ -247,7 +241,7 @@ export type Activity = {
|
|
|
247
241
|
/**
|
|
248
242
|
* When custom mappings are configured on the resource, the result is included here.
|
|
249
243
|
*/
|
|
250
|
-
customMappings?:
|
|
244
|
+
customMappings?: { [k: string]: any } | null | undefined;
|
|
251
245
|
/**
|
|
252
246
|
* The user who last updated the activity
|
|
253
247
|
*/
|
|
@@ -530,7 +524,7 @@ export const Activity$inboundSchema: z.ZodType<
|
|
|
530
524
|
video_conference_id: z.nullable(z.string()).optional(),
|
|
531
525
|
custom_fields: z.array(CustomField$inboundSchema).optional(),
|
|
532
526
|
attendees: z.array(ActivityAttendee$inboundSchema).optional(),
|
|
533
|
-
custom_mappings: z.nullable(
|
|
527
|
+
custom_mappings: z.nullable(z.record(z.any())).optional(),
|
|
534
528
|
updated_by: z.nullable(z.string()).optional(),
|
|
535
529
|
created_by: z.nullable(z.string()).optional(),
|
|
536
530
|
updated_at: z.nullable(z.string()).optional(),
|
|
@@ -628,7 +622,7 @@ export type Activity$Outbound = {
|
|
|
628
622
|
video_conference_id?: string | null | undefined;
|
|
629
623
|
custom_fields?: Array<CustomField$Outbound> | undefined;
|
|
630
624
|
attendees?: Array<ActivityAttendee$Outbound> | undefined;
|
|
631
|
-
custom_mappings?:
|
|
625
|
+
custom_mappings?: { [k: string]: any } | null | undefined;
|
|
632
626
|
updated_by?: string | null | undefined;
|
|
633
627
|
created_by?: string | null | undefined;
|
|
634
628
|
updated_at?: string | null | undefined;
|
|
@@ -688,7 +682,7 @@ export const Activity$outboundSchema: z.ZodType<
|
|
|
688
682
|
videoConferenceId: z.nullable(z.string()).optional(),
|
|
689
683
|
customFields: z.array(CustomField$outboundSchema).optional(),
|
|
690
684
|
attendees: z.array(ActivityAttendee$outboundSchema).optional(),
|
|
691
|
-
customMappings: z.nullable(
|
|
685
|
+
customMappings: z.nullable(z.record(z.any())).optional(),
|
|
692
686
|
updatedBy: z.nullable(z.string()).optional(),
|
|
693
687
|
createdBy: z.nullable(z.string()).optional(),
|
|
694
688
|
updatedAt: z.nullable(z.string()).optional(),
|
|
@@ -21,12 +21,6 @@ import {
|
|
|
21
21
|
CustomField$Outbound,
|
|
22
22
|
CustomField$outboundSchema,
|
|
23
23
|
} from "./customfield.js";
|
|
24
|
-
import {
|
|
25
|
-
CustomMappings,
|
|
26
|
-
CustomMappings$inboundSchema,
|
|
27
|
-
CustomMappings$Outbound,
|
|
28
|
-
CustomMappings$outboundSchema,
|
|
29
|
-
} from "./custommappings.js";
|
|
30
24
|
import {
|
|
31
25
|
Email,
|
|
32
26
|
Email$inboundSchema,
|
|
@@ -161,7 +155,7 @@ export type Applicant = {
|
|
|
161
155
|
/**
|
|
162
156
|
* When custom mappings are configured on the resource, the result is included here.
|
|
163
157
|
*/
|
|
164
|
-
customMappings?:
|
|
158
|
+
customMappings?: { [k: string]: any } | null | undefined;
|
|
165
159
|
/**
|
|
166
160
|
* Flag to indicate if the object is deleted.
|
|
167
161
|
*/
|
|
@@ -442,7 +436,7 @@ export const Applicant$inboundSchema: z.ZodType<
|
|
|
442
436
|
rejected_at: z.nullable(
|
|
443
437
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
444
438
|
).optional(),
|
|
445
|
-
custom_mappings: z.nullable(
|
|
439
|
+
custom_mappings: z.nullable(z.record(z.any())).optional(),
|
|
446
440
|
deleted: z.nullable(z.boolean()).optional(),
|
|
447
441
|
deleted_by: z.nullable(z.string()).optional(),
|
|
448
442
|
deleted_at: z.nullable(
|
|
@@ -528,7 +522,7 @@ export type Applicant$Outbound = {
|
|
|
528
522
|
cv_url?: string | undefined;
|
|
529
523
|
record_url?: string | null | undefined;
|
|
530
524
|
rejected_at?: string | null | undefined;
|
|
531
|
-
custom_mappings?:
|
|
525
|
+
custom_mappings?: { [k: string]: any } | null | undefined;
|
|
532
526
|
deleted?: boolean | null | undefined;
|
|
533
527
|
deleted_by?: string | null | undefined;
|
|
534
528
|
deleted_at?: string | null | undefined;
|
|
@@ -583,7 +577,7 @@ export const Applicant$outboundSchema: z.ZodType<
|
|
|
583
577
|
cvUrl: z.string().optional(),
|
|
584
578
|
recordUrl: z.nullable(z.string()).optional(),
|
|
585
579
|
rejectedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
586
|
-
customMappings: z.nullable(
|
|
580
|
+
customMappings: z.nullable(z.record(z.any())).optional(),
|
|
587
581
|
deleted: z.nullable(z.boolean()).optional(),
|
|
588
582
|
deletedBy: z.nullable(z.string()).optional(),
|
|
589
583
|
deletedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
@@ -8,12 +8,6 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
8
8
|
import { ClosedEnum } from "../../types/enums.js";
|
|
9
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
import {
|
|
12
|
-
CustomMappings,
|
|
13
|
-
CustomMappings$inboundSchema,
|
|
14
|
-
CustomMappings$Outbound,
|
|
15
|
-
CustomMappings$outboundSchema,
|
|
16
|
-
} from "./custommappings.js";
|
|
17
11
|
import {
|
|
18
12
|
PassThroughBody,
|
|
19
13
|
PassThroughBody$inboundSchema,
|
|
@@ -50,7 +44,7 @@ export type Application = {
|
|
|
50
44
|
/**
|
|
51
45
|
* When custom mappings are configured on the resource, the result is included here.
|
|
52
46
|
*/
|
|
53
|
-
customMappings?:
|
|
47
|
+
customMappings?: { [k: string]: any } | null | undefined;
|
|
54
48
|
/**
|
|
55
49
|
* The user who last updated the object.
|
|
56
50
|
*/
|
|
@@ -166,7 +160,7 @@ export const Application$inboundSchema: z.ZodType<
|
|
|
166
160
|
job_id: z.nullable(z.string()),
|
|
167
161
|
status: z.nullable(ApplicationStatus$inboundSchema).optional(),
|
|
168
162
|
stage: z.lazy(() => Stage$inboundSchema).optional(),
|
|
169
|
-
custom_mappings: z.nullable(
|
|
163
|
+
custom_mappings: z.nullable(z.record(z.any())).optional(),
|
|
170
164
|
updated_by: z.nullable(z.string()).optional(),
|
|
171
165
|
created_by: z.nullable(z.string()).optional(),
|
|
172
166
|
updated_at: z.nullable(
|
|
@@ -196,7 +190,7 @@ export type Application$Outbound = {
|
|
|
196
190
|
job_id: string | null;
|
|
197
191
|
status?: string | null | undefined;
|
|
198
192
|
stage?: Stage$Outbound | undefined;
|
|
199
|
-
custom_mappings?:
|
|
193
|
+
custom_mappings?: { [k: string]: any } | null | undefined;
|
|
200
194
|
updated_by?: string | null | undefined;
|
|
201
195
|
created_by?: string | null | undefined;
|
|
202
196
|
updated_at?: string | null | undefined;
|
|
@@ -215,7 +209,7 @@ export const Application$outboundSchema: z.ZodType<
|
|
|
215
209
|
jobId: z.nullable(z.string()),
|
|
216
210
|
status: z.nullable(ApplicationStatus$outboundSchema).optional(),
|
|
217
211
|
stage: z.lazy(() => Stage$outboundSchema).optional(),
|
|
218
|
-
customMappings: z.nullable(
|
|
212
|
+
customMappings: z.nullable(z.record(z.any())).optional(),
|
|
219
213
|
updatedBy: z.nullable(z.string()).optional(),
|
|
220
214
|
createdBy: z.nullable(z.string()).optional(),
|
|
221
215
|
updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
@@ -12,12 +12,6 @@ import {
|
|
|
12
12
|
Currency$inboundSchema,
|
|
13
13
|
Currency$outboundSchema,
|
|
14
14
|
} from "./currency.js";
|
|
15
|
-
import {
|
|
16
|
-
CustomMappings,
|
|
17
|
-
CustomMappings$inboundSchema,
|
|
18
|
-
CustomMappings$Outbound,
|
|
19
|
-
CustomMappings$outboundSchema,
|
|
20
|
-
} from "./custommappings.js";
|
|
21
15
|
|
|
22
16
|
/**
|
|
23
17
|
* A balance sheet assets account represents the financial position of a company at a specific point in time.
|
|
@@ -163,7 +157,7 @@ export type Reports = {
|
|
|
163
157
|
/**
|
|
164
158
|
* When custom mappings are configured on the resource, the result is included here.
|
|
165
159
|
*/
|
|
166
|
-
customMappings?:
|
|
160
|
+
customMappings?: { [k: string]: any } | null | undefined;
|
|
167
161
|
/**
|
|
168
162
|
* The user who last updated the object.
|
|
169
163
|
*/
|
|
@@ -505,7 +499,7 @@ export const Reports$inboundSchema: z.ZodType<Reports, z.ZodTypeDef, unknown> =
|
|
|
505
499
|
liabilities: z.lazy(() => BalanceSheetLiabilitiesAccount$inboundSchema),
|
|
506
500
|
equity: z.lazy(() => BalanceSheetEquityAccount$inboundSchema),
|
|
507
501
|
net_assets: z.number().optional(),
|
|
508
|
-
custom_mappings: z.nullable(
|
|
502
|
+
custom_mappings: z.nullable(z.record(z.any())).optional(),
|
|
509
503
|
updated_by: z.nullable(z.string()).optional(),
|
|
510
504
|
created_by: z.nullable(z.string()).optional(),
|
|
511
505
|
updated_at: z.nullable(
|
|
@@ -543,7 +537,7 @@ export type Reports$Outbound = {
|
|
|
543
537
|
liabilities: BalanceSheetLiabilitiesAccount$Outbound;
|
|
544
538
|
equity: BalanceSheetEquityAccount$Outbound;
|
|
545
539
|
net_assets?: number | undefined;
|
|
546
|
-
custom_mappings?:
|
|
540
|
+
custom_mappings?: { [k: string]: any } | null | undefined;
|
|
547
541
|
updated_by?: string | null | undefined;
|
|
548
542
|
created_by?: string | null | undefined;
|
|
549
543
|
updated_at?: string | null | undefined;
|
|
@@ -568,7 +562,7 @@ export const Reports$outboundSchema: z.ZodType<
|
|
|
568
562
|
liabilities: z.lazy(() => BalanceSheetLiabilitiesAccount$outboundSchema),
|
|
569
563
|
equity: z.lazy(() => BalanceSheetEquityAccount$outboundSchema),
|
|
570
564
|
netAssets: z.number().optional(),
|
|
571
|
-
customMappings: z.nullable(
|
|
565
|
+
customMappings: z.nullable(z.record(z.any())).optional(),
|
|
572
566
|
updatedBy: z.nullable(z.string()).optional(),
|
|
573
567
|
createdBy: z.nullable(z.string()).optional(),
|
|
574
568
|
updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
@@ -19,12 +19,6 @@ import {
|
|
|
19
19
|
CustomField$Outbound,
|
|
20
20
|
CustomField$outboundSchema,
|
|
21
21
|
} from "./customfield.js";
|
|
22
|
-
import {
|
|
23
|
-
CustomMappings,
|
|
24
|
-
CustomMappings$inboundSchema,
|
|
25
|
-
CustomMappings$Outbound,
|
|
26
|
-
CustomMappings$outboundSchema,
|
|
27
|
-
} from "./custommappings.js";
|
|
28
22
|
|
|
29
23
|
/**
|
|
30
24
|
* Type of the bank account.
|
|
@@ -91,7 +85,7 @@ export type BankFeedAccount = {
|
|
|
91
85
|
/**
|
|
92
86
|
* When custom mappings are configured on the resource, the result is included here.
|
|
93
87
|
*/
|
|
94
|
-
customMappings?:
|
|
88
|
+
customMappings?: { [k: string]: any } | null | undefined;
|
|
95
89
|
/**
|
|
96
90
|
* The date and time when the object was created.
|
|
97
91
|
*/
|
|
@@ -202,7 +196,7 @@ export const BankFeedAccount$inboundSchema: z.ZodType<
|
|
|
202
196
|
feed_status: FeedStatus$inboundSchema.optional(),
|
|
203
197
|
country: z.nullable(z.string()).optional(),
|
|
204
198
|
custom_fields: z.array(CustomField$inboundSchema).optional(),
|
|
205
|
-
custom_mappings: z.nullable(
|
|
199
|
+
custom_mappings: z.nullable(z.record(z.any())).optional(),
|
|
206
200
|
created_at: z.nullable(
|
|
207
201
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
208
202
|
).optional(),
|
|
@@ -240,7 +234,7 @@ export type BankFeedAccount$Outbound = {
|
|
|
240
234
|
feed_status?: string | undefined;
|
|
241
235
|
country?: string | null | undefined;
|
|
242
236
|
custom_fields?: Array<CustomField$Outbound> | undefined;
|
|
243
|
-
custom_mappings?:
|
|
237
|
+
custom_mappings?: { [k: string]: any } | null | undefined;
|
|
244
238
|
created_at?: string | null | undefined;
|
|
245
239
|
updated_at?: string | null | undefined;
|
|
246
240
|
updated_by?: string | null | undefined;
|
|
@@ -263,7 +257,7 @@ export const BankFeedAccount$outboundSchema: z.ZodType<
|
|
|
263
257
|
feedStatus: FeedStatus$outboundSchema.optional(),
|
|
264
258
|
country: z.nullable(z.string()).optional(),
|
|
265
259
|
customFields: z.array(CustomField$outboundSchema).optional(),
|
|
266
|
-
customMappings: z.nullable(
|
|
260
|
+
customMappings: z.nullable(z.record(z.any())).optional(),
|
|
267
261
|
createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
268
262
|
updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
269
263
|
updatedBy: z.nullable(z.string()).optional(),
|
|
@@ -36,12 +36,6 @@ import {
|
|
|
36
36
|
CustomField$Outbound,
|
|
37
37
|
CustomField$outboundSchema,
|
|
38
38
|
} from "./customfield.js";
|
|
39
|
-
import {
|
|
40
|
-
CustomMappings,
|
|
41
|
-
CustomMappings$inboundSchema,
|
|
42
|
-
CustomMappings$Outbound,
|
|
43
|
-
CustomMappings$outboundSchema,
|
|
44
|
-
} from "./custommappings.js";
|
|
45
39
|
import {
|
|
46
40
|
LinkedLedgerAccount,
|
|
47
41
|
LinkedLedgerAccount$inboundSchema,
|
|
@@ -238,7 +232,7 @@ export type Bill = {
|
|
|
238
232
|
/**
|
|
239
233
|
* When custom mappings are configured on the resource, the result is included here.
|
|
240
234
|
*/
|
|
241
|
-
customMappings?:
|
|
235
|
+
customMappings?: { [k: string]: any } | null | undefined;
|
|
242
236
|
/**
|
|
243
237
|
* The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.
|
|
244
238
|
*/
|
|
@@ -439,7 +433,7 @@ export const Bill$inboundSchema: z.ZodType<Bill, z.ZodTypeDef, unknown> = z
|
|
|
439
433
|
).optional(),
|
|
440
434
|
row_version: z.nullable(z.string()).optional(),
|
|
441
435
|
custom_fields: z.array(CustomField$inboundSchema).optional(),
|
|
442
|
-
custom_mappings: z.nullable(
|
|
436
|
+
custom_mappings: z.nullable(z.record(z.any())).optional(),
|
|
443
437
|
pass_through: z.array(PassThroughBody$inboundSchema).optional(),
|
|
444
438
|
accounting_period: z.nullable(z.string()).optional(),
|
|
445
439
|
}).transform((v) => {
|
|
@@ -519,7 +513,7 @@ export type Bill$Outbound = {
|
|
|
519
513
|
created_at?: string | null | undefined;
|
|
520
514
|
row_version?: string | null | undefined;
|
|
521
515
|
custom_fields?: Array<CustomField$Outbound> | undefined;
|
|
522
|
-
custom_mappings?:
|
|
516
|
+
custom_mappings?: { [k: string]: any } | null | undefined;
|
|
523
517
|
pass_through?: Array<PassThroughBody$Outbound> | undefined;
|
|
524
518
|
accounting_period?: string | null | undefined;
|
|
525
519
|
};
|
|
@@ -570,7 +564,7 @@ export const Bill$outboundSchema: z.ZodType<Bill$Outbound, z.ZodTypeDef, Bill> =
|
|
|
570
564
|
createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
571
565
|
rowVersion: z.nullable(z.string()).optional(),
|
|
572
566
|
customFields: z.array(CustomField$outboundSchema).optional(),
|
|
573
|
-
customMappings: z.nullable(
|
|
567
|
+
customMappings: z.nullable(z.record(z.any())).optional(),
|
|
574
568
|
passThrough: z.array(PassThroughBody$outboundSchema).optional(),
|
|
575
569
|
accountingPeriod: z.nullable(z.string()).optional(),
|
|
576
570
|
}).transform((v) => {
|
|
@@ -19,12 +19,6 @@ import {
|
|
|
19
19
|
CustomField$Outbound,
|
|
20
20
|
CustomField$outboundSchema,
|
|
21
21
|
} from "./customfield.js";
|
|
22
|
-
import {
|
|
23
|
-
CustomMappings,
|
|
24
|
-
CustomMappings$inboundSchema,
|
|
25
|
-
CustomMappings$Outbound,
|
|
26
|
-
CustomMappings$outboundSchema,
|
|
27
|
-
} from "./custommappings.js";
|
|
28
22
|
import {
|
|
29
23
|
LinkedLedgerAccount,
|
|
30
24
|
LinkedLedgerAccount$inboundSchema,
|
|
@@ -207,7 +201,7 @@ export type BillPayment = {
|
|
|
207
201
|
/**
|
|
208
202
|
* When custom mappings are configured on the resource, the result is included here.
|
|
209
203
|
*/
|
|
210
|
-
customMappings?:
|
|
204
|
+
customMappings?: { [k: string]: any } | null | undefined;
|
|
211
205
|
/**
|
|
212
206
|
* The user who last updated the object.
|
|
213
207
|
*/
|
|
@@ -476,7 +470,7 @@ export const BillPayment$inboundSchema: z.ZodType<
|
|
|
476
470
|
custom_fields: z.array(CustomField$inboundSchema).optional(),
|
|
477
471
|
row_version: z.nullable(z.string()).optional(),
|
|
478
472
|
display_id: z.nullable(z.string()).optional(),
|
|
479
|
-
custom_mappings: z.nullable(
|
|
473
|
+
custom_mappings: z.nullable(z.record(z.any())).optional(),
|
|
480
474
|
updated_by: z.nullable(z.string()).optional(),
|
|
481
475
|
created_by: z.nullable(z.string()).optional(),
|
|
482
476
|
created_at: z.nullable(
|
|
@@ -537,7 +531,7 @@ export type BillPayment$Outbound = {
|
|
|
537
531
|
custom_fields?: Array<CustomField$Outbound> | undefined;
|
|
538
532
|
row_version?: string | null | undefined;
|
|
539
533
|
display_id?: string | null | undefined;
|
|
540
|
-
custom_mappings?:
|
|
534
|
+
custom_mappings?: { [k: string]: any } | null | undefined;
|
|
541
535
|
updated_by?: string | null | undefined;
|
|
542
536
|
created_by?: string | null | undefined;
|
|
543
537
|
created_at?: string | null | undefined;
|
|
@@ -576,7 +570,7 @@ export const BillPayment$outboundSchema: z.ZodType<
|
|
|
576
570
|
customFields: z.array(CustomField$outboundSchema).optional(),
|
|
577
571
|
rowVersion: z.nullable(z.string()).optional(),
|
|
578
572
|
displayId: z.nullable(z.string()).optional(),
|
|
579
|
-
customMappings: z.nullable(
|
|
573
|
+
customMappings: z.nullable(z.record(z.any())).optional(),
|
|
580
574
|
updatedBy: z.nullable(z.string()).optional(),
|
|
581
575
|
createdBy: z.nullable(z.string()).optional(),
|
|
582
576
|
createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|