@apideck/unify 0.23.2 → 0.23.3
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 +6 -3
- package/models/components/ecommerceorder.d.ts.map +1 -1
- package/models/components/ecommerceorder.js +2 -3
- package/models/components/ecommerceorder.js.map +1 -1
- 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 +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -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 +4 -10
- 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 +0 -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
|
@@ -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(),
|
|
@@ -7,12 +7,6 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
import {
|
|
11
|
-
CustomMappings,
|
|
12
|
-
CustomMappings$inboundSchema,
|
|
13
|
-
CustomMappings$Outbound,
|
|
14
|
-
CustomMappings$outboundSchema,
|
|
15
|
-
} from "./custommappings.js";
|
|
16
10
|
|
|
17
11
|
export type Collection = {
|
|
18
12
|
/**
|
|
@@ -38,7 +32,7 @@ export type Collection = {
|
|
|
38
32
|
/**
|
|
39
33
|
* When custom mappings are configured on the resource, the result is included here.
|
|
40
34
|
*/
|
|
41
|
-
customMappings?:
|
|
35
|
+
customMappings?: { [k: string]: any } | null | undefined;
|
|
42
36
|
/**
|
|
43
37
|
* The date and time when the object was last updated.
|
|
44
38
|
*/
|
|
@@ -60,7 +54,7 @@ export const Collection$inboundSchema: z.ZodType<
|
|
|
60
54
|
type: z.nullable(z.string()).optional(),
|
|
61
55
|
name: z.nullable(z.string()).optional(),
|
|
62
56
|
description: z.nullable(z.string()).optional(),
|
|
63
|
-
custom_mappings: z.nullable(
|
|
57
|
+
custom_mappings: z.nullable(z.record(z.any())).optional(),
|
|
64
58
|
updated_at: z.nullable(
|
|
65
59
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
66
60
|
).optional(),
|
|
@@ -83,7 +77,7 @@ export type Collection$Outbound = {
|
|
|
83
77
|
type?: string | null | undefined;
|
|
84
78
|
name?: string | null | undefined;
|
|
85
79
|
description?: string | null | undefined;
|
|
86
|
-
custom_mappings?:
|
|
80
|
+
custom_mappings?: { [k: string]: any } | null | undefined;
|
|
87
81
|
updated_at?: string | null | undefined;
|
|
88
82
|
created_at?: string | null | undefined;
|
|
89
83
|
};
|
|
@@ -99,7 +93,7 @@ export const Collection$outboundSchema: z.ZodType<
|
|
|
99
93
|
type: z.nullable(z.string()).optional(),
|
|
100
94
|
name: z.nullable(z.string()).optional(),
|
|
101
95
|
description: z.nullable(z.string()).optional(),
|
|
102
|
-
customMappings: z.nullable(
|
|
96
|
+
customMappings: z.nullable(z.record(z.any())).optional(),
|
|
103
97
|
updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
104
98
|
createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
105
99
|
}).transform((v) => {
|
|
@@ -7,12 +7,6 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
import {
|
|
11
|
-
CustomMappings,
|
|
12
|
-
CustomMappings$inboundSchema,
|
|
13
|
-
CustomMappings$Outbound,
|
|
14
|
-
CustomMappings$outboundSchema,
|
|
15
|
-
} from "./custommappings.js";
|
|
16
10
|
|
|
17
11
|
export type CollectionTag = {
|
|
18
12
|
/**
|
|
@@ -26,7 +20,7 @@ export type CollectionTag = {
|
|
|
26
20
|
/**
|
|
27
21
|
* When custom mappings are configured on the resource, the result is included here.
|
|
28
22
|
*/
|
|
29
|
-
customMappings?:
|
|
23
|
+
customMappings?: { [k: string]: any } | null | undefined;
|
|
30
24
|
};
|
|
31
25
|
|
|
32
26
|
/** @internal */
|
|
@@ -37,7 +31,7 @@ export const CollectionTag$inboundSchema: z.ZodType<
|
|
|
37
31
|
> = z.object({
|
|
38
32
|
id: z.nullable(z.string()),
|
|
39
33
|
name: z.nullable(z.string()).optional(),
|
|
40
|
-
custom_mappings: z.nullable(
|
|
34
|
+
custom_mappings: z.nullable(z.record(z.any())).optional(),
|
|
41
35
|
}).transform((v) => {
|
|
42
36
|
return remap$(v, {
|
|
43
37
|
"custom_mappings": "customMappings",
|
|
@@ -48,7 +42,7 @@ export const CollectionTag$inboundSchema: z.ZodType<
|
|
|
48
42
|
export type CollectionTag$Outbound = {
|
|
49
43
|
id: string | null;
|
|
50
44
|
name?: string | null | undefined;
|
|
51
|
-
custom_mappings?:
|
|
45
|
+
custom_mappings?: { [k: string]: any } | null | undefined;
|
|
52
46
|
};
|
|
53
47
|
|
|
54
48
|
/** @internal */
|
|
@@ -59,7 +53,7 @@ export const CollectionTag$outboundSchema: z.ZodType<
|
|
|
59
53
|
> = z.object({
|
|
60
54
|
id: z.nullable(z.string()),
|
|
61
55
|
name: z.nullable(z.string()).optional(),
|
|
62
|
-
customMappings: z.nullable(
|
|
56
|
+
customMappings: z.nullable(z.record(z.any())).optional(),
|
|
63
57
|
}).transform((v) => {
|
|
64
58
|
return remap$(v, {
|
|
65
59
|
customMappings: "custom_mappings",
|
|
@@ -7,12 +7,6 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
import {
|
|
11
|
-
CustomMappings,
|
|
12
|
-
CustomMappings$inboundSchema,
|
|
13
|
-
CustomMappings$Outbound,
|
|
14
|
-
CustomMappings$outboundSchema,
|
|
15
|
-
} from "./custommappings.js";
|
|
16
10
|
import {
|
|
17
11
|
PassThroughBody,
|
|
18
12
|
PassThroughBody$inboundSchema,
|
|
@@ -32,7 +26,7 @@ export type CollectionTicketComment = {
|
|
|
32
26
|
/**
|
|
33
27
|
* When custom mappings are configured on the resource, the result is included here.
|
|
34
28
|
*/
|
|
35
|
-
customMappings?:
|
|
29
|
+
customMappings?: { [k: string]: any } | null | undefined;
|
|
36
30
|
/**
|
|
37
31
|
* The user who created the object.
|
|
38
32
|
*/
|
|
@@ -59,7 +53,7 @@ export const CollectionTicketComment$inboundSchema: z.ZodType<
|
|
|
59
53
|
> = z.object({
|
|
60
54
|
id: z.string().optional(),
|
|
61
55
|
body: z.nullable(z.string()).optional(),
|
|
62
|
-
custom_mappings: z.nullable(
|
|
56
|
+
custom_mappings: z.nullable(z.record(z.any())).optional(),
|
|
63
57
|
created_by: z.nullable(z.string()).optional(),
|
|
64
58
|
updated_at: z.nullable(
|
|
65
59
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -82,7 +76,7 @@ export const CollectionTicketComment$inboundSchema: z.ZodType<
|
|
|
82
76
|
export type CollectionTicketComment$Outbound = {
|
|
83
77
|
id?: string | undefined;
|
|
84
78
|
body?: string | null | undefined;
|
|
85
|
-
custom_mappings?:
|
|
79
|
+
custom_mappings?: { [k: string]: any } | null | undefined;
|
|
86
80
|
created_by?: string | null | undefined;
|
|
87
81
|
updated_at?: string | null | undefined;
|
|
88
82
|
created_at?: string | null | undefined;
|
|
@@ -97,7 +91,7 @@ export const CollectionTicketComment$outboundSchema: z.ZodType<
|
|
|
97
91
|
> = z.object({
|
|
98
92
|
id: z.string().optional(),
|
|
99
93
|
body: z.nullable(z.string()).optional(),
|
|
100
|
-
customMappings: z.nullable(
|
|
94
|
+
customMappings: z.nullable(z.record(z.any())).optional(),
|
|
101
95
|
createdBy: z.nullable(z.string()).optional(),
|
|
102
96
|
updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
103
97
|
createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
@@ -7,12 +7,6 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
import {
|
|
11
|
-
CustomMappings,
|
|
12
|
-
CustomMappings$inboundSchema,
|
|
13
|
-
CustomMappings$Outbound,
|
|
14
|
-
CustomMappings$outboundSchema,
|
|
15
|
-
} from "./custommappings.js";
|
|
16
10
|
|
|
17
11
|
export type CollectionUser = {
|
|
18
12
|
/**
|
|
@@ -42,7 +36,7 @@ export type CollectionUser = {
|
|
|
42
36
|
/**
|
|
43
37
|
* When custom mappings are configured on the resource, the result is included here.
|
|
44
38
|
*/
|
|
45
|
-
customMappings?:
|
|
39
|
+
customMappings?: { [k: string]: any } | null | undefined;
|
|
46
40
|
/**
|
|
47
41
|
* The date and time when the object was last updated.
|
|
48
42
|
*/
|
|
@@ -65,7 +59,7 @@ export const CollectionUser$inboundSchema: z.ZodType<
|
|
|
65
59
|
last_name: z.nullable(z.string()).optional(),
|
|
66
60
|
email: z.nullable(z.string()).optional(),
|
|
67
61
|
photo_url: z.nullable(z.string()).optional(),
|
|
68
|
-
custom_mappings: z.nullable(
|
|
62
|
+
custom_mappings: z.nullable(z.record(z.any())).optional(),
|
|
69
63
|
updated_at: z.nullable(
|
|
70
64
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
71
65
|
).optional(),
|
|
@@ -91,7 +85,7 @@ export type CollectionUser$Outbound = {
|
|
|
91
85
|
last_name?: string | null | undefined;
|
|
92
86
|
email?: string | null | undefined;
|
|
93
87
|
photo_url?: string | null | undefined;
|
|
94
|
-
custom_mappings?:
|
|
88
|
+
custom_mappings?: { [k: string]: any } | null | undefined;
|
|
95
89
|
updated_at?: string | null | undefined;
|
|
96
90
|
created_at?: string | null | undefined;
|
|
97
91
|
};
|
|
@@ -108,7 +102,7 @@ export const CollectionUser$outboundSchema: z.ZodType<
|
|
|
108
102
|
lastName: z.nullable(z.string()).optional(),
|
|
109
103
|
email: z.nullable(z.string()).optional(),
|
|
110
104
|
photoUrl: z.nullable(z.string()).optional(),
|
|
111
|
-
customMappings: z.nullable(
|
|
105
|
+
customMappings: z.nullable(z.record(z.any())).optional(),
|
|
112
106
|
updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
113
107
|
createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
114
108
|
}).transform((v) => {
|
|
@@ -31,12 +31,6 @@ import {
|
|
|
31
31
|
CustomField$Outbound,
|
|
32
32
|
CustomField$outboundSchema,
|
|
33
33
|
} from "./customfield.js";
|
|
34
|
-
import {
|
|
35
|
-
CustomMappings,
|
|
36
|
-
CustomMappings$inboundSchema,
|
|
37
|
-
CustomMappings$Outbound,
|
|
38
|
-
CustomMappings$outboundSchema,
|
|
39
|
-
} from "./custommappings.js";
|
|
40
34
|
import {
|
|
41
35
|
Email,
|
|
42
36
|
Email$inboundSchema,
|
|
@@ -194,7 +188,7 @@ export type Company = {
|
|
|
194
188
|
/**
|
|
195
189
|
* When custom mappings are configured on the resource, the result is included here.
|
|
196
190
|
*/
|
|
197
|
-
customMappings?:
|
|
191
|
+
customMappings?: { [k: string]: any } | null | undefined;
|
|
198
192
|
/**
|
|
199
193
|
* Updated by user ID
|
|
200
194
|
*/
|
|
@@ -415,7 +409,7 @@ export const Company$inboundSchema: z.ZodType<Company, z.ZodTypeDef, unknown> =
|
|
|
415
409
|
deleted: z.boolean().optional(),
|
|
416
410
|
salutation: z.nullable(z.string()).optional(),
|
|
417
411
|
birthday: z.nullable(z.string().transform(v => new RFCDate(v))).optional(),
|
|
418
|
-
custom_mappings: z.nullable(
|
|
412
|
+
custom_mappings: z.nullable(z.record(z.any())).optional(),
|
|
419
413
|
updated_by: z.nullable(z.string()).optional(),
|
|
420
414
|
created_by: z.nullable(z.string()).optional(),
|
|
421
415
|
updated_at: z.nullable(
|
|
@@ -493,7 +487,7 @@ export type Company$Outbound = {
|
|
|
493
487
|
deleted?: boolean | undefined;
|
|
494
488
|
salutation?: string | null | undefined;
|
|
495
489
|
birthday?: string | null | undefined;
|
|
496
|
-
custom_mappings?:
|
|
490
|
+
custom_mappings?: { [k: string]: any } | null | undefined;
|
|
497
491
|
updated_by?: string | null | undefined;
|
|
498
492
|
created_by?: string | null | undefined;
|
|
499
493
|
updated_at?: string | null | undefined;
|
|
@@ -545,7 +539,7 @@ export const Company$outboundSchema: z.ZodType<
|
|
|
545
539
|
salutation: z.nullable(z.string()).optional(),
|
|
546
540
|
birthday: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
|
|
547
541
|
.optional(),
|
|
548
|
-
customMappings: z.nullable(
|
|
542
|
+
customMappings: z.nullable(z.record(z.any())).optional(),
|
|
549
543
|
updatedBy: z.nullable(z.string()).optional(),
|
|
550
544
|
createdBy: z.nullable(z.string()).optional(),
|
|
551
545
|
updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|