@apideck/unify 0.21.1 → 0.22.1
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/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/{accountingdepartmentinput.d.ts → accountingdepartment.d.ts} +51 -51
- package/models/components/accountingdepartment.d.ts.map +1 -0
- package/models/components/{accountingdepartmentinput.js → accountingdepartment.js} +51 -51
- package/models/components/accountingdepartment.js.map +1 -0
- package/models/components/{accountinglocationinput.d.ts → accountinglocation.d.ts} +58 -58
- package/models/components/accountinglocation.d.ts.map +1 -0
- package/models/components/{accountinglocationinput.js → accountinglocation.js} +56 -56
- package/models/components/accountinglocation.js.map +1 -0
- package/models/components/activity.d.ts +1 -1
- package/models/components/activity.d.ts.map +1 -1
- package/models/components/activity.js +5 -5
- package/models/components/activity.js.map +1 -1
- package/models/components/{activityattendeeinput.d.ts → activityattendee.d.ts} +51 -51
- package/models/components/activityattendee.d.ts.map +1 -0
- package/models/components/{activityattendeeinput.js → activityattendee.js} +48 -48
- package/models/components/activityattendee.js.map +1 -0
- package/models/components/{allocationinput.d.ts → allocation.d.ts} +29 -29
- package/models/components/allocation.d.ts.map +1 -0
- package/models/components/{allocationinput.js → allocation.js} +32 -32
- package/models/components/allocation.js.map +1 -0
- package/models/components/{applicationinput.d.ts → application.d.ts} +37 -37
- package/models/components/application.d.ts.map +1 -0
- package/models/components/{applicationinput.js → application.js} +49 -49
- package/models/components/application.js.map +1 -0
- package/models/components/{bill.d.ts → billinput.d.ts} +75 -75
- package/models/components/billinput.d.ts.map +1 -0
- package/models/components/{bill.js → billinput.js} +70 -70
- package/models/components/billinput.js.map +1 -0
- package/models/components/{billlineitem.d.ts → billlineiteminput.d.ts} +59 -59
- package/models/components/billlineiteminput.d.ts.map +1 -0
- package/models/components/{billlineitem.js → billlineiteminput.js} +56 -56
- package/models/components/billlineiteminput.js.map +1 -0
- package/models/components/companyinfo.d.ts +1 -1
- package/models/components/companyinfo.d.ts.map +1 -1
- package/models/components/companyinfo.js +3 -3
- package/models/components/companyinfo.js.map +1 -1
- package/models/components/{company.d.ts → companyinput.d.ts} +77 -77
- package/models/components/companyinput.d.ts.map +1 -0
- package/models/components/{company.js → companyinput.js} +67 -67
- package/models/components/companyinput.js.map +1 -0
- package/models/components/creditnote.d.ts +1 -1
- package/models/components/creditnote.d.ts.map +1 -1
- package/models/components/creditnote.js +5 -5
- package/models/components/creditnote.js.map +1 -1
- package/models/components/employeeinput.d.ts +1 -1
- package/models/components/employeeinput.d.ts.map +1 -1
- package/models/components/employeeinput.js +5 -5
- package/models/components/employeeinput.js.map +1 -1
- package/models/components/{employeejobinput.d.ts → employeejob.d.ts} +37 -37
- package/models/components/employeejob.d.ts.map +1 -0
- package/models/components/{employeejobinput.js → employeejob.js} +36 -36
- package/models/components/employeejob.js.map +1 -0
- package/models/components/{expenseinput.d.ts → expense.d.ts} +55 -55
- package/models/components/expense.d.ts.map +1 -0
- package/models/components/{expenseinput.js → expense.js} +52 -52
- package/models/components/expense.js.map +1 -0
- package/models/components/getaccountingdepartmentresponse.d.ts +1 -1
- package/models/components/getaccountingdepartmentresponse.d.ts.map +1 -1
- package/models/components/getaccountingdepartmentresponse.js +3 -3
- package/models/components/getaccountingdepartmentresponse.js.map +1 -1
- package/models/components/getaccountingdepartmentsresponse.d.ts +1 -1
- package/models/components/getaccountingdepartmentsresponse.d.ts.map +1 -1
- package/models/components/getaccountingdepartmentsresponse.js +3 -3
- package/models/components/getaccountingdepartmentsresponse.js.map +1 -1
- package/models/components/getaccountinglocationresponse.d.ts +1 -1
- package/models/components/getaccountinglocationresponse.d.ts.map +1 -1
- package/models/components/getaccountinglocationresponse.js +3 -3
- package/models/components/getaccountinglocationresponse.js.map +1 -1
- package/models/components/getaccountinglocationsresponse.d.ts +1 -1
- package/models/components/getaccountinglocationsresponse.d.ts.map +1 -1
- package/models/components/getaccountinglocationsresponse.js +3 -3
- package/models/components/getaccountinglocationsresponse.js.map +1 -1
- package/models/components/getapplicationresponse.d.ts +1 -1
- package/models/components/getapplicationresponse.d.ts.map +1 -1
- package/models/components/getapplicationresponse.js +3 -3
- package/models/components/getapplicationresponse.js.map +1 -1
- package/models/components/getapplicationsresponse.d.ts +1 -1
- package/models/components/getapplicationsresponse.d.ts.map +1 -1
- package/models/components/getapplicationsresponse.js +3 -3
- package/models/components/getapplicationsresponse.js.map +1 -1
- package/models/components/getbillresponse.d.ts +1 -1
- package/models/components/getbillresponse.d.ts.map +1 -1
- package/models/components/getbillresponse.js +3 -3
- package/models/components/getbillresponse.js.map +1 -1
- package/models/components/getbillsresponse.d.ts +1 -1
- package/models/components/getbillsresponse.d.ts.map +1 -1
- package/models/components/getbillsresponse.js +3 -3
- package/models/components/getbillsresponse.js.map +1 -1
- package/models/components/getcompaniesresponse.d.ts +1 -1
- package/models/components/getcompaniesresponse.d.ts.map +1 -1
- package/models/components/getcompaniesresponse.js +3 -3
- package/models/components/getcompaniesresponse.js.map +1 -1
- package/models/components/getcompanyresponse.d.ts +1 -1
- package/models/components/getcompanyresponse.d.ts.map +1 -1
- package/models/components/getcompanyresponse.js +3 -3
- package/models/components/getcompanyresponse.js.map +1 -1
- package/models/components/getexpenseresponse.d.ts +1 -1
- package/models/components/getexpenseresponse.d.ts.map +1 -1
- package/models/components/getexpenseresponse.js +3 -3
- package/models/components/getexpenseresponse.js.map +1 -1
- package/models/components/getexpensesresponse.d.ts +1 -1
- package/models/components/getexpensesresponse.d.ts.map +1 -1
- package/models/components/getexpensesresponse.js +3 -3
- package/models/components/getexpensesresponse.js.map +1 -1
- package/models/components/gethriscompaniesresponse.d.ts +1 -1
- package/models/components/gethriscompaniesresponse.d.ts.map +1 -1
- package/models/components/gethriscompaniesresponse.js +3 -3
- package/models/components/gethriscompaniesresponse.js.map +1 -1
- package/models/components/gethriscompanyresponse.d.ts +1 -1
- package/models/components/gethriscompanyresponse.d.ts.map +1 -1
- package/models/components/gethriscompanyresponse.js +3 -3
- package/models/components/gethriscompanyresponse.js.map +1 -1
- package/models/components/getinvoiceresponse.d.ts +1 -1
- package/models/components/getinvoiceresponse.d.ts.map +1 -1
- package/models/components/getinvoiceresponse.js +3 -3
- package/models/components/getinvoiceresponse.js.map +1 -1
- package/models/components/getinvoicesresponse.d.ts +1 -1
- package/models/components/getinvoicesresponse.d.ts.map +1 -1
- package/models/components/getinvoicesresponse.js +3 -3
- package/models/components/getinvoicesresponse.js.map +1 -1
- package/models/components/getledgeraccountresponse.d.ts +1 -1
- package/models/components/getledgeraccountresponse.d.ts.map +1 -1
- package/models/components/getledgeraccountresponse.js +3 -3
- package/models/components/getledgeraccountresponse.js.map +1 -1
- package/models/components/getledgeraccountsresponse.d.ts +1 -1
- package/models/components/getledgeraccountsresponse.d.ts.map +1 -1
- package/models/components/getledgeraccountsresponse.js +3 -3
- package/models/components/getledgeraccountsresponse.js.map +1 -1
- package/models/components/getsharedlinkresponse.d.ts +1 -1
- package/models/components/getsharedlinkresponse.d.ts.map +1 -1
- package/models/components/getsharedlinkresponse.js +3 -3
- package/models/components/getsharedlinkresponse.js.map +1 -1
- package/models/components/getsharedlinksresponse.d.ts +1 -1
- package/models/components/getsharedlinksresponse.d.ts.map +1 -1
- package/models/components/getsharedlinksresponse.js +3 -3
- package/models/components/getsharedlinksresponse.js.map +1 -1
- package/models/components/gettaxrateresponse.d.ts +1 -1
- package/models/components/gettaxrateresponse.d.ts.map +1 -1
- package/models/components/gettaxrateresponse.js +3 -3
- package/models/components/gettaxrateresponse.js.map +1 -1
- package/models/components/gettaxratesresponse.d.ts +1 -1
- package/models/components/gettaxratesresponse.d.ts.map +1 -1
- package/models/components/gettaxratesresponse.js +3 -3
- package/models/components/gettaxratesresponse.js.map +1 -1
- package/models/components/getticketresponse.d.ts +1 -1
- package/models/components/getticketresponse.d.ts.map +1 -1
- package/models/components/getticketresponse.js +3 -3
- package/models/components/getticketresponse.js.map +1 -1
- package/models/components/getticketsresponse.d.ts +1 -1
- package/models/components/getticketsresponse.d.ts.map +1 -1
- package/models/components/getticketsresponse.js +3 -3
- package/models/components/getticketsresponse.js.map +1 -1
- package/models/components/gettimeoffrequestresponse.d.ts +1 -1
- package/models/components/gettimeoffrequestresponse.d.ts.map +1 -1
- package/models/components/gettimeoffrequestresponse.js +3 -3
- package/models/components/gettimeoffrequestresponse.js.map +1 -1
- package/models/components/gettimeoffrequestsresponse.d.ts +1 -1
- package/models/components/gettimeoffrequestsresponse.d.ts.map +1 -1
- package/models/components/gettimeoffrequestsresponse.js +3 -3
- package/models/components/gettimeoffrequestsresponse.js.map +1 -1
- package/models/components/{hriscompanyinput.d.ts → hriscompany.d.ts} +55 -55
- package/models/components/hriscompany.d.ts.map +1 -0
- package/models/components/{hriscompanyinput.js → hriscompany.js} +54 -54
- package/models/components/hriscompany.js.map +1 -0
- package/models/components/index.d.ts +18 -18
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +18 -18
- package/models/components/index.js.map +1 -1
- package/models/components/{invoiceinput.d.ts → invoice.d.ts} +121 -73
- package/models/components/invoice.d.ts.map +1 -0
- package/models/components/{invoiceinput.js → invoice.js} +118 -71
- package/models/components/invoice.js.map +1 -0
- package/models/components/journalentry.d.ts +1 -1
- package/models/components/journalentry.d.ts.map +1 -1
- package/models/components/journalentry.js +3 -3
- package/models/components/journalentry.js.map +1 -1
- package/models/components/journalentryinput.d.ts +1 -1
- package/models/components/journalentryinput.d.ts.map +1 -1
- package/models/components/journalentryinput.js +3 -3
- package/models/components/journalentryinput.js.map +1 -1
- package/models/components/{journalentrylineiteminput.d.ts → journalentrylineitem.d.ts} +48 -48
- package/models/components/journalentrylineitem.d.ts.map +1 -0
- package/models/components/{journalentrylineiteminput.js → journalentrylineitem.js} +48 -48
- package/models/components/journalentrylineitem.js.map +1 -0
- package/models/components/{ledgeraccountinput.d.ts → ledgeraccount.d.ts} +129 -129
- package/models/components/ledgeraccount.d.ts.map +1 -0
- package/models/components/{ledgeraccountinput.js → ledgeraccount.js} +128 -128
- package/models/components/ledgeraccount.js.map +1 -0
- package/models/components/payment.d.ts +1 -1
- package/models/components/payment.d.ts.map +1 -1
- package/models/components/payment.js +3 -3
- package/models/components/payment.js.map +1 -1
- package/models/components/paymentinput.d.ts +1 -1
- package/models/components/paymentinput.d.ts.map +1 -1
- package/models/components/paymentinput.js +3 -3
- package/models/components/paymentinput.js.map +1 -1
- package/models/components/{sharedlinkinput.d.ts → sharedlink.d.ts} +49 -49
- package/models/components/sharedlink.d.ts.map +1 -0
- package/models/components/{sharedlinkinput.js → sharedlink.js} +49 -49
- package/models/components/sharedlink.js.map +1 -0
- package/models/components/{taxrateinput.d.ts → taxrate.d.ts} +52 -52
- package/models/components/taxrate.d.ts.map +1 -0
- package/models/components/{taxrateinput.js → taxrate.js} +50 -50
- package/models/components/taxrate.js.map +1 -0
- package/models/components/{ticket.d.ts → ticketinput.d.ts} +66 -66
- package/models/components/ticketinput.d.ts.map +1 -0
- package/models/components/{ticket.js → ticketinput.js} +59 -59
- package/models/components/ticketinput.js.map +1 -0
- package/models/components/{timeoffrequestinput.d.ts → timeoffrequest.d.ts} +57 -57
- package/models/components/timeoffrequest.d.ts.map +1 -0
- package/models/components/{timeoffrequestinput.js → timeoffrequest.js} +52 -52
- package/models/components/timeoffrequest.js.map +1 -0
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/activity.ts +1 -1
- package/src/models/components/{bill.ts → billinput.ts} +248 -248
- package/src/models/components/companyinfo.ts +1 -1
- package/src/models/components/creditnote.ts +1 -1
- package/src/models/components/employeeinput.ts +1 -1
- package/src/models/components/getaccountingdepartmentresponse.ts +1 -1
- package/src/models/components/getaccountingdepartmentsresponse.ts +1 -1
- package/src/models/components/getaccountinglocationresponse.ts +1 -1
- package/src/models/components/getaccountinglocationsresponse.ts +1 -1
- package/src/models/components/getapplicationresponse.ts +1 -1
- package/src/models/components/getapplicationsresponse.ts +1 -1
- package/src/models/components/getbillresponse.ts +1 -1
- package/src/models/components/getbillsresponse.ts +1 -1
- package/src/models/components/getcompaniesresponse.ts +1 -1
- package/src/models/components/getcompanyresponse.ts +1 -1
- package/src/models/components/getexpenseresponse.ts +1 -1
- package/src/models/components/getexpensesresponse.ts +1 -1
- package/src/models/components/gethriscompaniesresponse.ts +1 -1
- package/src/models/components/gethriscompanyresponse.ts +1 -1
- package/src/models/components/getinvoiceresponse.ts +1 -1
- package/src/models/components/getinvoicesresponse.ts +1 -1
- package/src/models/components/getledgeraccountresponse.ts +1 -1
- package/src/models/components/getledgeraccountsresponse.ts +1 -1
- package/src/models/components/getsharedlinkresponse.ts +1 -1
- package/src/models/components/getsharedlinksresponse.ts +1 -1
- package/src/models/components/gettaxrateresponse.ts +1 -1
- package/src/models/components/gettaxratesresponse.ts +1 -1
- package/src/models/components/getticketresponse.ts +1 -1
- package/src/models/components/getticketsresponse.ts +1 -1
- package/src/models/components/gettimeoffrequestresponse.ts +1 -1
- package/src/models/components/gettimeoffrequestsresponse.ts +1 -1
- package/src/models/components/index.ts +18 -18
- package/src/models/components/{invoiceinput.ts → invoice.ts} +351 -240
- package/src/models/components/journalentry.ts +1 -1
- package/src/models/components/journalentryinput.ts +1 -1
- package/src/models/components/payment.ts +1 -1
- package/src/models/components/paymentinput.ts +1 -1
- package/models/components/accountingdepartmentinput.d.ts.map +0 -1
- package/models/components/accountingdepartmentinput.js.map +0 -1
- package/models/components/accountinglocationinput.d.ts.map +0 -1
- package/models/components/accountinglocationinput.js.map +0 -1
- package/models/components/activityattendeeinput.d.ts.map +0 -1
- package/models/components/activityattendeeinput.js.map +0 -1
- package/models/components/allocationinput.d.ts.map +0 -1
- package/models/components/allocationinput.js.map +0 -1
- package/models/components/applicationinput.d.ts.map +0 -1
- package/models/components/applicationinput.js.map +0 -1
- package/models/components/bill.d.ts.map +0 -1
- package/models/components/bill.js.map +0 -1
- package/models/components/billlineitem.d.ts.map +0 -1
- package/models/components/billlineitem.js.map +0 -1
- package/models/components/company.d.ts.map +0 -1
- package/models/components/company.js.map +0 -1
- package/models/components/employeejobinput.d.ts.map +0 -1
- package/models/components/employeejobinput.js.map +0 -1
- package/models/components/expenseinput.d.ts.map +0 -1
- package/models/components/expenseinput.js.map +0 -1
- package/models/components/hriscompanyinput.d.ts.map +0 -1
- package/models/components/hriscompanyinput.js.map +0 -1
- package/models/components/invoiceinput.d.ts.map +0 -1
- package/models/components/invoiceinput.js.map +0 -1
- package/models/components/journalentrylineiteminput.d.ts.map +0 -1
- package/models/components/journalentrylineiteminput.js.map +0 -1
- package/models/components/ledgeraccountinput.d.ts.map +0 -1
- package/models/components/ledgeraccountinput.js.map +0 -1
- package/models/components/sharedlinkinput.d.ts.map +0 -1
- package/models/components/sharedlinkinput.js.map +0 -1
- package/models/components/taxrateinput.d.ts.map +0 -1
- package/models/components/taxrateinput.js.map +0 -1
- package/models/components/ticket.d.ts.map +0 -1
- package/models/components/ticket.js.map +0 -1
- package/models/components/timeoffrequestinput.d.ts.map +0 -1
- package/models/components/timeoffrequestinput.js.map +0 -1
- package/src/models/components/{accountingdepartmentinput.ts → accountingdepartment.ts} +102 -102
- package/src/models/components/{accountinglocationinput.ts → accountinglocation.ts} +106 -106
- package/src/models/components/{activityattendeeinput.ts → activityattendee.ts} +89 -89
- package/src/models/components/{allocationinput.ts → allocation.ts} +46 -46
- package/src/models/components/{applicationinput.ts → application.ts} +85 -85
- package/src/models/components/{billlineitem.ts → billlineiteminput.ts} +107 -107
- package/src/models/components/{company.ts → companyinput.ts} +226 -226
- package/src/models/components/{employeejobinput.ts → employeejob.ts} +60 -60
- package/src/models/components/{expenseinput.ts → expense.ts} +159 -159
- package/src/models/components/{hriscompanyinput.ts → hriscompany.ts} +101 -101
- package/src/models/components/{journalentrylineiteminput.ts → journalentrylineitem.ts} +81 -81
- package/src/models/components/{ledgeraccountinput.ts → ledgeraccount.ts} +253 -253
- package/src/models/components/{sharedlinkinput.ts → sharedlink.ts} +99 -99
- package/src/models/components/{taxrateinput.ts → taxrate.ts} +146 -146
- package/src/models/components/{ticket.ts → ticketinput.ts} +125 -125
- package/src/models/components/{timeoffrequestinput.ts → timeoffrequest.ts} +100 -100
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { Ticket, Ticket$Outbound } from "./
|
|
4
|
+
import { Ticket, Ticket$Outbound } from "./ticketinput.js";
|
|
5
5
|
/**
|
|
6
6
|
* Get a Ticket
|
|
7
7
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getticketresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getticketresponse.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,MAAM,EAEN,eAAe,EAEhB,MAAM,
|
|
1
|
+
{"version":3,"file":"getticketresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getticketresponse.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,MAAM,EAEN,eAAe,EAEhB,MAAM,kBAAkB,CAAC;AAE1B;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,EAAE,M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__importStar(require("zod"));
|
|
33
33
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
34
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
|
-
const
|
|
35
|
+
const ticketinput_js_1 = require("./ticketinput.js");
|
|
36
36
|
/** @internal */
|
|
37
37
|
exports.GetTicketResponse$inboundSchema = z.object({
|
|
38
38
|
status_code: z.number().int(),
|
|
@@ -40,7 +40,7 @@ exports.GetTicketResponse$inboundSchema = z.object({
|
|
|
40
40
|
service: z.string(),
|
|
41
41
|
resource: z.string(),
|
|
42
42
|
operation: z.string(),
|
|
43
|
-
data:
|
|
43
|
+
data: ticketinput_js_1.Ticket$inboundSchema,
|
|
44
44
|
_raw: z.nullable(z.record(z.any())).optional(),
|
|
45
45
|
}).transform((v) => {
|
|
46
46
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -55,7 +55,7 @@ exports.GetTicketResponse$outboundSchema = z.object({
|
|
|
55
55
|
service: z.string(),
|
|
56
56
|
resource: z.string(),
|
|
57
57
|
operation: z.string(),
|
|
58
|
-
data:
|
|
58
|
+
data: ticketinput_js_1.Ticket$outboundSchema,
|
|
59
59
|
raw: z.nullable(z.record(z.any())).optional(),
|
|
60
60
|
}).transform((v) => {
|
|
61
61
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getticketresponse.js","sourceRoot":"","sources":["../../src/models/components/getticketresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA6GH,0DAMC;AAED,8DAQC;AA3HD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,
|
|
1
|
+
{"version":3,"file":"getticketresponse.js","sourceRoot":"","sources":["../../src/models/components/getticketresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA6GH,0DAMC;AAED,8DAQC;AA3HD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAA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EAAE,MAAM;KACZ,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,kBAAkB,CAOlC;AAPD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AAGjE,CAAC,EAPgB,kBAAkB,kCAAlB,kBAAkB,QAOlC;AAED,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AAED,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { Links, Links$Outbound } from "./links.js";
|
|
5
5
|
import { Meta, Meta$Outbound } from "./meta.js";
|
|
6
|
-
import { Ticket, Ticket$Outbound } from "./
|
|
6
|
+
import { Ticket, Ticket$Outbound } from "./ticketinput.js";
|
|
7
7
|
/**
|
|
8
8
|
* List Tickets
|
|
9
9
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getticketsresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getticketsresponse.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,KAAK,EAEL,cAAc,EAEf,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,IAAI,EAEJ,aAAa,EAEd,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,MAAM,EAEN,eAAe,EAEhB,MAAM,
|
|
1
|
+
{"version":3,"file":"getticketsresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getticketsresponse.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,KAAK,EAEL,cAAc,EAEf,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,IAAI,EAEJ,aAAa,EAEd,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,MAAM,EAEN,eAAe,EAEhB,MAAM,kBAAkB,CAAC;AAE1B;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,GAAG,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;CAC/C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAgBP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAC7B,IAAI,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IACjC,KAAK,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IACnC,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAgBlB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,mBAAmB,CAAC;IACnC,kEAAkE;IAC3D,MAAM,aAAa,sDAAmC,CAAC;IAC9D,mEAAmE;IAC5D,MAAM,cAAc,0EAAoC,CAAC;IAChE,6DAA6D;IAC7D,KAAY,QAAQ,GAAG,2BAA2B,CAAC;CACpD;AAED,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AAED,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -34,7 +34,7 @@ const primitives_js_1 = require("../../lib/primitives.js");
|
|
|
34
34
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
35
|
const links_js_1 = require("./links.js");
|
|
36
36
|
const meta_js_1 = require("./meta.js");
|
|
37
|
-
const
|
|
37
|
+
const ticketinput_js_1 = require("./ticketinput.js");
|
|
38
38
|
/** @internal */
|
|
39
39
|
exports.GetTicketsResponse$inboundSchema = z.object({
|
|
40
40
|
status_code: z.number().int(),
|
|
@@ -42,7 +42,7 @@ exports.GetTicketsResponse$inboundSchema = z.object({
|
|
|
42
42
|
service: z.string(),
|
|
43
43
|
resource: z.string(),
|
|
44
44
|
operation: z.string(),
|
|
45
|
-
data: z.array(
|
|
45
|
+
data: z.array(ticketinput_js_1.Ticket$inboundSchema),
|
|
46
46
|
meta: meta_js_1.Meta$inboundSchema.optional(),
|
|
47
47
|
links: links_js_1.Links$inboundSchema.optional(),
|
|
48
48
|
_raw: z.nullable(z.record(z.any())).optional(),
|
|
@@ -59,7 +59,7 @@ exports.GetTicketsResponse$outboundSchema = z.object({
|
|
|
59
59
|
service: z.string(),
|
|
60
60
|
resource: z.string(),
|
|
61
61
|
operation: z.string(),
|
|
62
|
-
data: z.array(
|
|
62
|
+
data: z.array(ticketinput_js_1.Ticket$outboundSchema),
|
|
63
63
|
meta: meta_js_1.Meta$outboundSchema.optional(),
|
|
64
64
|
links: links_js_1.Links$outboundSchema.optional(),
|
|
65
65
|
raw: z.nullable(z.record(z.any())).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getticketsresponse.js","sourceRoot":"","sources":["../../src/models/components/getticketsresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAuIH,4DAMC;AAED,gEAQC;AArJD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,yCAKoB;AACpB,uCAKmB;AACnB,
|
|
1
|
+
{"version":3,"file":"getticketsresponse.js","sourceRoot":"","sources":["../../src/models/components/getticketsresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAuIH,4DAMC;AAED,gEAQC;AArJD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,yCAKoB;AACpB,uCAKmB;AACnB,qDAK0B;AAyC1B,g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AAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,aAAa;QACzB,GAAG,EAAE,MAAM;KACZ,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,mBAAmB,CAOnC;AAPD,WAAiB,mBAAmB;IAClC,kEAAkE;IACrD,iCAAa,GAAG,wCAAgC,CAAC;IAC9D,mEAAmE;IACtD,kCAAc,GAAG,yCAAiC,CAAC;AAGlE,CAAC,EAPgB,mBAAmB,mCAAnB,mBAAmB,QAOnC;AAED,SAAgB,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC;AAED,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { TimeOffRequest, TimeOffRequest$Outbound } from "./
|
|
4
|
+
import { TimeOffRequest, TimeOffRequest$Outbound } from "./timeoffrequest.js";
|
|
5
5
|
/**
|
|
6
6
|
* TimeOffRequests
|
|
7
7
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gettimeoffrequestresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/gettimeoffrequestresponse.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,cAAc,EAEd,uBAAuB,EAExB,MAAM,
|
|
1
|
+
{"version":3,"file":"gettimeoffrequestresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/gettimeoffrequestresponse.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,cAAc,EAEd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAE7B;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,cAAc,CAAC;IACrB;;OAEG;IACH,GAAG,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;CAC/C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAcP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,uBAAuB,CAAC;IAC9B,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAczB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D;AAED,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -32,7 +32,7 @@ exports.getTimeOffRequestResponseFromJSON = getTimeOffRequestResponseFromJSON;
|
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
33
33
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
34
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
|
-
const
|
|
35
|
+
const timeoffrequest_js_1 = require("./timeoffrequest.js");
|
|
36
36
|
/** @internal */
|
|
37
37
|
exports.GetTimeOffRequestResponse$inboundSchema = z.object({
|
|
38
38
|
status_code: z.number().int(),
|
|
@@ -40,7 +40,7 @@ exports.GetTimeOffRequestResponse$inboundSchema = z.object({
|
|
|
40
40
|
service: z.string(),
|
|
41
41
|
resource: z.string(),
|
|
42
42
|
operation: z.string(),
|
|
43
|
-
data:
|
|
43
|
+
data: timeoffrequest_js_1.TimeOffRequest$inboundSchema,
|
|
44
44
|
_raw: z.nullable(z.record(z.any())).optional(),
|
|
45
45
|
}).transform((v) => {
|
|
46
46
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -55,7 +55,7 @@ exports.GetTimeOffRequestResponse$outboundSchema = z.object({
|
|
|
55
55
|
service: z.string(),
|
|
56
56
|
resource: z.string(),
|
|
57
57
|
operation: z.string(),
|
|
58
|
-
data:
|
|
58
|
+
data: timeoffrequest_js_1.TimeOffRequest$outboundSchema,
|
|
59
59
|
raw: z.nullable(z.record(z.any())).optional(),
|
|
60
60
|
}).transform((v) => {
|
|
61
61
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gettimeoffrequestresponse.js","sourceRoot":"","sources":["../../src/models/components/gettimeoffrequestresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA6GH,0EAMC;AAED,8EAQC;AA3HD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,
|
|
1
|
+
{"version":3,"file":"gettimeoffrequestresponse.js","sourceRoot":"","sources":["../../src/models/components/gettimeoffrequestresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA6GH,0EAMC;AAED,8EAQC;AA3HD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,2DAK6B;AAiC7B,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC7B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,gD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B,gDAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC;AAED,SAAgB,iCAAiC,CAC/C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { Links, Links$Outbound } from "./links.js";
|
|
5
5
|
import { Meta, Meta$Outbound } from "./meta.js";
|
|
6
|
-
import { TimeOffRequest, TimeOffRequest$Outbound } from "./
|
|
6
|
+
import { TimeOffRequest, TimeOffRequest$Outbound } from "./timeoffrequest.js";
|
|
7
7
|
/**
|
|
8
8
|
* TimeOffRequests
|
|
9
9
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gettimeoffrequestsresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/gettimeoffrequestsresponse.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,KAAK,EAEL,cAAc,EAEf,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,IAAI,EAEJ,aAAa,EAEd,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,cAAc,EAEd,uBAAuB,EAExB,MAAM,
|
|
1
|
+
{"version":3,"file":"gettimeoffrequestsresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/gettimeoffrequestsresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAA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AAC,CAAC;IACrC,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C,IAAI,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IACjC,KAAK,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAgB1B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IAC3C,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC5D;AAED,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AAED,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|
|
@@ -34,7 +34,7 @@ const primitives_js_1 = require("../../lib/primitives.js");
|
|
|
34
34
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
35
|
const links_js_1 = require("./links.js");
|
|
36
36
|
const meta_js_1 = require("./meta.js");
|
|
37
|
-
const
|
|
37
|
+
const timeoffrequest_js_1 = require("./timeoffrequest.js");
|
|
38
38
|
/** @internal */
|
|
39
39
|
exports.GetTimeOffRequestsResponse$inboundSchema = z.object({
|
|
40
40
|
status_code: z.number().int(),
|
|
@@ -42,7 +42,7 @@ exports.GetTimeOffRequestsResponse$inboundSchema = z.object({
|
|
|
42
42
|
service: z.string(),
|
|
43
43
|
resource: z.string(),
|
|
44
44
|
operation: z.string(),
|
|
45
|
-
data: z.array(
|
|
45
|
+
data: z.array(timeoffrequest_js_1.TimeOffRequest$inboundSchema),
|
|
46
46
|
_raw: z.nullable(z.record(z.any())).optional(),
|
|
47
47
|
meta: meta_js_1.Meta$inboundSchema.optional(),
|
|
48
48
|
links: links_js_1.Links$inboundSchema.optional(),
|
|
@@ -59,7 +59,7 @@ exports.GetTimeOffRequestsResponse$outboundSchema = z.object({
|
|
|
59
59
|
service: z.string(),
|
|
60
60
|
resource: z.string(),
|
|
61
61
|
operation: z.string(),
|
|
62
|
-
data: z.array(
|
|
62
|
+
data: z.array(timeoffrequest_js_1.TimeOffRequest$outboundSchema),
|
|
63
63
|
raw: z.nullable(z.record(z.any())).optional(),
|
|
64
64
|
meta: meta_js_1.Meta$outboundSchema.optional(),
|
|
65
65
|
links: links_js_1.Links$outboundSchema.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gettimeoffrequestsresponse.js","sourceRoot":"","sources":["../../src/models/components/gettimeoffrequestsresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAuIH,4EAMC;AAED,gFAQC;AArJD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,yCAKoB;AACpB,uCAKmB;AACnB,
|
|
1
|
+
{"version":3,"file":"gettimeoffrequestsresponse.js","sourceRoot":"","sources":["../../src/models/components/gettimeoffrequestsresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAuIH,4EAMC;AAED,gFAQC;AArJD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,yCAKoB;AACpB,uCAKmB;AACnB,2DAK6B;AAyC7B,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC7B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QA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AG,EAAE,MAAM;KACZ,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IAC1C,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG1E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C;AAED,SAAgB,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC;AAED,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
|
|
@@ -16,29 +16,6 @@ export declare const HrisCompanyStatus: {
|
|
|
16
16
|
readonly Other: "other";
|
|
17
17
|
};
|
|
18
18
|
export type HrisCompanyStatus = ClosedEnum<typeof HrisCompanyStatus>;
|
|
19
|
-
export type HrisCompanyInput = {
|
|
20
|
-
legalName: string | null;
|
|
21
|
-
displayName?: string | null | undefined;
|
|
22
|
-
subdomain?: string | null | undefined;
|
|
23
|
-
status?: HrisCompanyStatus | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* An Company Number, Company ID or Company Code, is a unique number that has been assigned to each company.
|
|
26
|
-
*/
|
|
27
|
-
companyNumber?: string | null | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).
|
|
30
|
-
*/
|
|
31
|
-
currency?: Currency | null | undefined;
|
|
32
|
-
addresses?: Array<Address> | undefined;
|
|
33
|
-
phoneNumbers?: Array<PhoneNumber> | undefined;
|
|
34
|
-
emails?: Array<Email> | undefined;
|
|
35
|
-
websites?: Array<Website> | undefined;
|
|
36
|
-
debtorId?: string | null | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.
|
|
39
|
-
*/
|
|
40
|
-
passThrough?: Array<PassThroughBody> | undefined;
|
|
41
|
-
};
|
|
42
19
|
export type HrisCompany = {
|
|
43
20
|
/**
|
|
44
21
|
* A unique identifier for an object.
|
|
@@ -87,6 +64,29 @@ export type HrisCompany = {
|
|
|
87
64
|
*/
|
|
88
65
|
passThrough?: Array<PassThroughBody> | undefined;
|
|
89
66
|
};
|
|
67
|
+
export type HrisCompanyInput = {
|
|
68
|
+
legalName: string | null;
|
|
69
|
+
displayName?: string | null | undefined;
|
|
70
|
+
subdomain?: string | null | undefined;
|
|
71
|
+
status?: HrisCompanyStatus | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* An Company Number, Company ID or Company Code, is a unique number that has been assigned to each company.
|
|
74
|
+
*/
|
|
75
|
+
companyNumber?: string | null | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).
|
|
78
|
+
*/
|
|
79
|
+
currency?: Currency | null | undefined;
|
|
80
|
+
addresses?: Array<Address> | undefined;
|
|
81
|
+
phoneNumbers?: Array<PhoneNumber> | undefined;
|
|
82
|
+
emails?: Array<Email> | undefined;
|
|
83
|
+
websites?: Array<Website> | undefined;
|
|
84
|
+
debtorId?: string | null | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.
|
|
87
|
+
*/
|
|
88
|
+
passThrough?: Array<PassThroughBody> | undefined;
|
|
89
|
+
};
|
|
90
90
|
/** @internal */
|
|
91
91
|
export declare const HrisCompanyStatus$inboundSchema: z.ZodNativeEnum<typeof HrisCompanyStatus>;
|
|
92
92
|
/** @internal */
|
|
@@ -112,9 +112,10 @@ export declare namespace HrisCompanyStatus$ {
|
|
|
112
112
|
}>;
|
|
113
113
|
}
|
|
114
114
|
/** @internal */
|
|
115
|
-
export declare const
|
|
115
|
+
export declare const HrisCompany$inboundSchema: z.ZodType<HrisCompany, z.ZodTypeDef, unknown>;
|
|
116
116
|
/** @internal */
|
|
117
|
-
export type
|
|
117
|
+
export type HrisCompany$Outbound = {
|
|
118
|
+
id?: string | undefined;
|
|
118
119
|
legal_name: string | null;
|
|
119
120
|
display_name?: string | null | undefined;
|
|
120
121
|
subdomain?: string | null | undefined;
|
|
@@ -126,29 +127,34 @@ export type HrisCompanyInput$Outbound = {
|
|
|
126
127
|
emails?: Array<Email$Outbound> | undefined;
|
|
127
128
|
websites?: Array<Website$Outbound> | undefined;
|
|
128
129
|
debtor_id?: string | null | undefined;
|
|
130
|
+
custom_mappings?: CustomMappings$Outbound | null | undefined;
|
|
131
|
+
deleted?: boolean | undefined;
|
|
132
|
+
updated_by?: string | null | undefined;
|
|
133
|
+
created_by?: string | null | undefined;
|
|
134
|
+
updated_at?: string | null | undefined;
|
|
135
|
+
created_at?: string | null | undefined;
|
|
129
136
|
pass_through?: Array<PassThroughBody$Outbound> | undefined;
|
|
130
137
|
};
|
|
131
138
|
/** @internal */
|
|
132
|
-
export declare const
|
|
139
|
+
export declare const HrisCompany$outboundSchema: z.ZodType<HrisCompany$Outbound, z.ZodTypeDef, HrisCompany>;
|
|
133
140
|
/**
|
|
134
141
|
* @internal
|
|
135
142
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
136
143
|
*/
|
|
137
|
-
export declare namespace
|
|
138
|
-
/** @deprecated use `
|
|
139
|
-
const inboundSchema: z.ZodType<
|
|
140
|
-
/** @deprecated use `
|
|
141
|
-
const outboundSchema: z.ZodType<
|
|
142
|
-
/** @deprecated use `
|
|
143
|
-
type Outbound =
|
|
144
|
+
export declare namespace HrisCompany$ {
|
|
145
|
+
/** @deprecated use `HrisCompany$inboundSchema` instead. */
|
|
146
|
+
const inboundSchema: z.ZodType<HrisCompany, z.ZodTypeDef, unknown>;
|
|
147
|
+
/** @deprecated use `HrisCompany$outboundSchema` instead. */
|
|
148
|
+
const outboundSchema: z.ZodType<HrisCompany$Outbound, z.ZodTypeDef, HrisCompany>;
|
|
149
|
+
/** @deprecated use `HrisCompany$Outbound` instead. */
|
|
150
|
+
type Outbound = HrisCompany$Outbound;
|
|
144
151
|
}
|
|
145
|
-
export declare function
|
|
146
|
-
export declare function
|
|
152
|
+
export declare function hrisCompanyToJSON(hrisCompany: HrisCompany): string;
|
|
153
|
+
export declare function hrisCompanyFromJSON(jsonString: string): SafeParseResult<HrisCompany, SDKValidationError>;
|
|
147
154
|
/** @internal */
|
|
148
|
-
export declare const
|
|
155
|
+
export declare const HrisCompanyInput$inboundSchema: z.ZodType<HrisCompanyInput, z.ZodTypeDef, unknown>;
|
|
149
156
|
/** @internal */
|
|
150
|
-
export type
|
|
151
|
-
id?: string | undefined;
|
|
157
|
+
export type HrisCompanyInput$Outbound = {
|
|
152
158
|
legal_name: string | null;
|
|
153
159
|
display_name?: string | null | undefined;
|
|
154
160
|
subdomain?: string | null | undefined;
|
|
@@ -160,28 +166,22 @@ export type HrisCompany$Outbound = {
|
|
|
160
166
|
emails?: Array<Email$Outbound> | undefined;
|
|
161
167
|
websites?: Array<Website$Outbound> | undefined;
|
|
162
168
|
debtor_id?: string | null | undefined;
|
|
163
|
-
custom_mappings?: CustomMappings$Outbound | null | undefined;
|
|
164
|
-
deleted?: boolean | undefined;
|
|
165
|
-
updated_by?: string | null | undefined;
|
|
166
|
-
created_by?: string | null | undefined;
|
|
167
|
-
updated_at?: string | null | undefined;
|
|
168
|
-
created_at?: string | null | undefined;
|
|
169
169
|
pass_through?: Array<PassThroughBody$Outbound> | undefined;
|
|
170
170
|
};
|
|
171
171
|
/** @internal */
|
|
172
|
-
export declare const
|
|
172
|
+
export declare const HrisCompanyInput$outboundSchema: z.ZodType<HrisCompanyInput$Outbound, z.ZodTypeDef, HrisCompanyInput>;
|
|
173
173
|
/**
|
|
174
174
|
* @internal
|
|
175
175
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
176
176
|
*/
|
|
177
|
-
export declare namespace
|
|
178
|
-
/** @deprecated use `
|
|
179
|
-
const inboundSchema: z.ZodType<
|
|
180
|
-
/** @deprecated use `
|
|
181
|
-
const outboundSchema: z.ZodType<
|
|
182
|
-
/** @deprecated use `
|
|
183
|
-
type Outbound =
|
|
177
|
+
export declare namespace HrisCompanyInput$ {
|
|
178
|
+
/** @deprecated use `HrisCompanyInput$inboundSchema` instead. */
|
|
179
|
+
const inboundSchema: z.ZodType<HrisCompanyInput, z.ZodTypeDef, unknown>;
|
|
180
|
+
/** @deprecated use `HrisCompanyInput$outboundSchema` instead. */
|
|
181
|
+
const outboundSchema: z.ZodType<HrisCompanyInput$Outbound, z.ZodTypeDef, HrisCompanyInput>;
|
|
182
|
+
/** @deprecated use `HrisCompanyInput$Outbound` instead. */
|
|
183
|
+
type Outbound = HrisCompanyInput$Outbound;
|
|
184
184
|
}
|
|
185
|
-
export declare function
|
|
186
|
-
export declare function
|
|
187
|
-
//# sourceMappingURL=
|
|
185
|
+
export declare function hrisCompanyInputToJSON(hrisCompanyInput: HrisCompanyInput): string;
|
|
186
|
+
export declare function hrisCompanyInputFromJSON(jsonString: string): SafeParseResult<HrisCompanyInput, SDKValidationError>;
|
|
187
|
+
//# sourceMappingURL=hriscompany.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hriscompany.d.ts","sourceRoot":"","sources":["../../src/models/components/hriscompany.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,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AAM,CAIR;AAED,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
|
|
@@ -26,11 +26,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.hrisCompanyInputToJSON = hrisCompanyInputToJSON;
|
|
31
|
-
exports.hrisCompanyInputFromJSON = hrisCompanyInputFromJSON;
|
|
29
|
+
exports.HrisCompanyInput$ = exports.HrisCompanyInput$outboundSchema = exports.HrisCompanyInput$inboundSchema = exports.HrisCompany$ = exports.HrisCompany$outboundSchema = exports.HrisCompany$inboundSchema = exports.HrisCompanyStatus$ = exports.HrisCompanyStatus$outboundSchema = exports.HrisCompanyStatus$inboundSchema = exports.HrisCompanyStatus = void 0;
|
|
32
30
|
exports.hrisCompanyToJSON = hrisCompanyToJSON;
|
|
33
31
|
exports.hrisCompanyFromJSON = hrisCompanyFromJSON;
|
|
32
|
+
exports.hrisCompanyInputToJSON = hrisCompanyInputToJSON;
|
|
33
|
+
exports.hrisCompanyInputFromJSON = hrisCompanyInputFromJSON;
|
|
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");
|
|
@@ -63,7 +63,8 @@ var HrisCompanyStatus$;
|
|
|
63
63
|
HrisCompanyStatus$.outboundSchema = exports.HrisCompanyStatus$outboundSchema;
|
|
64
64
|
})(HrisCompanyStatus$ || (exports.HrisCompanyStatus$ = HrisCompanyStatus$ = {}));
|
|
65
65
|
/** @internal */
|
|
66
|
-
exports.
|
|
66
|
+
exports.HrisCompany$inboundSchema = z.object({
|
|
67
|
+
id: z.string().optional(),
|
|
67
68
|
legal_name: z.nullable(z.string()),
|
|
68
69
|
display_name: z.nullable(z.string()).optional(),
|
|
69
70
|
subdomain: z.nullable(z.string()).optional(),
|
|
@@ -75,6 +76,12 @@ exports.HrisCompanyInput$inboundSchema = z.object({
|
|
|
75
76
|
emails: z.array(email_js_1.Email$inboundSchema).optional(),
|
|
76
77
|
websites: z.array(website_js_1.Website$inboundSchema).optional(),
|
|
77
78
|
debtor_id: z.nullable(z.string()).optional(),
|
|
79
|
+
custom_mappings: z.nullable(custommappings_js_1.CustomMappings$inboundSchema).optional(),
|
|
80
|
+
deleted: z.boolean().optional(),
|
|
81
|
+
updated_by: z.nullable(z.string()).optional(),
|
|
82
|
+
created_by: z.nullable(z.string()).optional(),
|
|
83
|
+
updated_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
84
|
+
created_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
78
85
|
pass_through: z.array(passthroughbody_js_1.PassThroughBody$inboundSchema).optional(),
|
|
79
86
|
}).transform((v) => {
|
|
80
87
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -83,11 +90,17 @@ exports.HrisCompanyInput$inboundSchema = z.object({
|
|
|
83
90
|
"company_number": "companyNumber",
|
|
84
91
|
"phone_numbers": "phoneNumbers",
|
|
85
92
|
"debtor_id": "debtorId",
|
|
93
|
+
"custom_mappings": "customMappings",
|
|
94
|
+
"updated_by": "updatedBy",
|
|
95
|
+
"created_by": "createdBy",
|
|
96
|
+
"updated_at": "updatedAt",
|
|
97
|
+
"created_at": "createdAt",
|
|
86
98
|
"pass_through": "passThrough",
|
|
87
99
|
});
|
|
88
100
|
});
|
|
89
101
|
/** @internal */
|
|
90
|
-
exports.
|
|
102
|
+
exports.HrisCompany$outboundSchema = z.object({
|
|
103
|
+
id: z.string().optional(),
|
|
91
104
|
legalName: z.nullable(z.string()),
|
|
92
105
|
displayName: z.nullable(z.string()).optional(),
|
|
93
106
|
subdomain: z.nullable(z.string()).optional(),
|
|
@@ -99,6 +112,12 @@ exports.HrisCompanyInput$outboundSchema = z.object({
|
|
|
99
112
|
emails: z.array(email_js_1.Email$outboundSchema).optional(),
|
|
100
113
|
websites: z.array(website_js_1.Website$outboundSchema).optional(),
|
|
101
114
|
debtorId: z.nullable(z.string()).optional(),
|
|
115
|
+
customMappings: z.nullable(custommappings_js_1.CustomMappings$outboundSchema).optional(),
|
|
116
|
+
deleted: z.boolean().optional(),
|
|
117
|
+
updatedBy: z.nullable(z.string()).optional(),
|
|
118
|
+
createdBy: z.nullable(z.string()).optional(),
|
|
119
|
+
updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
120
|
+
createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
102
121
|
passThrough: z.array(passthroughbody_js_1.PassThroughBody$outboundSchema).optional(),
|
|
103
122
|
}).transform((v) => {
|
|
104
123
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -107,6 +126,11 @@ exports.HrisCompanyInput$outboundSchema = z.object({
|
|
|
107
126
|
companyNumber: "company_number",
|
|
108
127
|
phoneNumbers: "phone_numbers",
|
|
109
128
|
debtorId: "debtor_id",
|
|
129
|
+
customMappings: "custom_mappings",
|
|
130
|
+
updatedBy: "updated_by",
|
|
131
|
+
createdBy: "created_by",
|
|
132
|
+
updatedAt: "updated_at",
|
|
133
|
+
createdAt: "created_at",
|
|
110
134
|
passThrough: "pass_through",
|
|
111
135
|
});
|
|
112
136
|
});
|
|
@@ -114,22 +138,21 @@ exports.HrisCompanyInput$outboundSchema = z.object({
|
|
|
114
138
|
* @internal
|
|
115
139
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
116
140
|
*/
|
|
117
|
-
var
|
|
118
|
-
(function (
|
|
119
|
-
/** @deprecated use `
|
|
120
|
-
|
|
121
|
-
/** @deprecated use `
|
|
122
|
-
|
|
123
|
-
})(
|
|
124
|
-
function
|
|
125
|
-
return JSON.stringify(exports.
|
|
141
|
+
var HrisCompany$;
|
|
142
|
+
(function (HrisCompany$) {
|
|
143
|
+
/** @deprecated use `HrisCompany$inboundSchema` instead. */
|
|
144
|
+
HrisCompany$.inboundSchema = exports.HrisCompany$inboundSchema;
|
|
145
|
+
/** @deprecated use `HrisCompany$outboundSchema` instead. */
|
|
146
|
+
HrisCompany$.outboundSchema = exports.HrisCompany$outboundSchema;
|
|
147
|
+
})(HrisCompany$ || (exports.HrisCompany$ = HrisCompany$ = {}));
|
|
148
|
+
function hrisCompanyToJSON(hrisCompany) {
|
|
149
|
+
return JSON.stringify(exports.HrisCompany$outboundSchema.parse(hrisCompany));
|
|
126
150
|
}
|
|
127
|
-
function
|
|
128
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
151
|
+
function hrisCompanyFromJSON(jsonString) {
|
|
152
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCompany$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCompany' from JSON`);
|
|
129
153
|
}
|
|
130
154
|
/** @internal */
|
|
131
|
-
exports.
|
|
132
|
-
id: z.string().optional(),
|
|
155
|
+
exports.HrisCompanyInput$inboundSchema = z.object({
|
|
133
156
|
legal_name: z.nullable(z.string()),
|
|
134
157
|
display_name: z.nullable(z.string()).optional(),
|
|
135
158
|
subdomain: z.nullable(z.string()).optional(),
|
|
@@ -141,12 +164,6 @@ exports.HrisCompany$inboundSchema = z.object({
|
|
|
141
164
|
emails: z.array(email_js_1.Email$inboundSchema).optional(),
|
|
142
165
|
websites: z.array(website_js_1.Website$inboundSchema).optional(),
|
|
143
166
|
debtor_id: z.nullable(z.string()).optional(),
|
|
144
|
-
custom_mappings: z.nullable(custommappings_js_1.CustomMappings$inboundSchema).optional(),
|
|
145
|
-
deleted: z.boolean().optional(),
|
|
146
|
-
updated_by: z.nullable(z.string()).optional(),
|
|
147
|
-
created_by: z.nullable(z.string()).optional(),
|
|
148
|
-
updated_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
149
|
-
created_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
150
167
|
pass_through: z.array(passthroughbody_js_1.PassThroughBody$inboundSchema).optional(),
|
|
151
168
|
}).transform((v) => {
|
|
152
169
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -155,17 +172,11 @@ exports.HrisCompany$inboundSchema = z.object({
|
|
|
155
172
|
"company_number": "companyNumber",
|
|
156
173
|
"phone_numbers": "phoneNumbers",
|
|
157
174
|
"debtor_id": "debtorId",
|
|
158
|
-
"custom_mappings": "customMappings",
|
|
159
|
-
"updated_by": "updatedBy",
|
|
160
|
-
"created_by": "createdBy",
|
|
161
|
-
"updated_at": "updatedAt",
|
|
162
|
-
"created_at": "createdAt",
|
|
163
175
|
"pass_through": "passThrough",
|
|
164
176
|
});
|
|
165
177
|
});
|
|
166
178
|
/** @internal */
|
|
167
|
-
exports.
|
|
168
|
-
id: z.string().optional(),
|
|
179
|
+
exports.HrisCompanyInput$outboundSchema = z.object({
|
|
169
180
|
legalName: z.nullable(z.string()),
|
|
170
181
|
displayName: z.nullable(z.string()).optional(),
|
|
171
182
|
subdomain: z.nullable(z.string()).optional(),
|
|
@@ -177,12 +188,6 @@ exports.HrisCompany$outboundSchema = z.object({
|
|
|
177
188
|
emails: z.array(email_js_1.Email$outboundSchema).optional(),
|
|
178
189
|
websites: z.array(website_js_1.Website$outboundSchema).optional(),
|
|
179
190
|
debtorId: z.nullable(z.string()).optional(),
|
|
180
|
-
customMappings: z.nullable(custommappings_js_1.CustomMappings$outboundSchema).optional(),
|
|
181
|
-
deleted: z.boolean().optional(),
|
|
182
|
-
updatedBy: z.nullable(z.string()).optional(),
|
|
183
|
-
createdBy: z.nullable(z.string()).optional(),
|
|
184
|
-
updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
185
|
-
createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
186
191
|
passThrough: z.array(passthroughbody_js_1.PassThroughBody$outboundSchema).optional(),
|
|
187
192
|
}).transform((v) => {
|
|
188
193
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -191,11 +196,6 @@ exports.HrisCompany$outboundSchema = z.object({
|
|
|
191
196
|
companyNumber: "company_number",
|
|
192
197
|
phoneNumbers: "phone_numbers",
|
|
193
198
|
debtorId: "debtor_id",
|
|
194
|
-
customMappings: "custom_mappings",
|
|
195
|
-
updatedBy: "updated_by",
|
|
196
|
-
createdBy: "created_by",
|
|
197
|
-
updatedAt: "updated_at",
|
|
198
|
-
createdAt: "created_at",
|
|
199
199
|
passThrough: "pass_through",
|
|
200
200
|
});
|
|
201
201
|
});
|
|
@@ -203,17 +203,17 @@ exports.HrisCompany$outboundSchema = z.object({
|
|
|
203
203
|
* @internal
|
|
204
204
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
205
205
|
*/
|
|
206
|
-
var
|
|
207
|
-
(function (
|
|
208
|
-
/** @deprecated use `
|
|
209
|
-
|
|
210
|
-
/** @deprecated use `
|
|
211
|
-
|
|
212
|
-
})(
|
|
213
|
-
function
|
|
214
|
-
return JSON.stringify(exports.
|
|
206
|
+
var HrisCompanyInput$;
|
|
207
|
+
(function (HrisCompanyInput$) {
|
|
208
|
+
/** @deprecated use `HrisCompanyInput$inboundSchema` instead. */
|
|
209
|
+
HrisCompanyInput$.inboundSchema = exports.HrisCompanyInput$inboundSchema;
|
|
210
|
+
/** @deprecated use `HrisCompanyInput$outboundSchema` instead. */
|
|
211
|
+
HrisCompanyInput$.outboundSchema = exports.HrisCompanyInput$outboundSchema;
|
|
212
|
+
})(HrisCompanyInput$ || (exports.HrisCompanyInput$ = HrisCompanyInput$ = {}));
|
|
213
|
+
function hrisCompanyInputToJSON(hrisCompanyInput) {
|
|
214
|
+
return JSON.stringify(exports.HrisCompanyInput$outboundSchema.parse(hrisCompanyInput));
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
216
|
+
function hrisCompanyInputFromJSON(jsonString) {
|
|
217
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCompanyInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCompanyInput' from JSON`);
|
|
218
218
|
}
|
|
219
|
-
//# sourceMappingURL=
|
|
219
|
+
//# sourceMappingURL=hriscompany.js.map
|