@unified-api/typescript-sdk 2.83.4 → 2.83.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/commonjs/funcs/hrisCreateHrisBankaccount.d.ts +15 -0
- package/dist/commonjs/funcs/hrisCreateHrisBankaccount.d.ts.map +1 -0
- package/dist/commonjs/funcs/hrisCreateHrisBankaccount.js +122 -0
- package/dist/commonjs/funcs/hrisCreateHrisBankaccount.js.map +1 -0
- package/dist/commonjs/funcs/hrisGetHrisBankaccount.d.ts +15 -0
- package/dist/commonjs/funcs/hrisGetHrisBankaccount.d.ts.map +1 -0
- package/dist/commonjs/funcs/hrisGetHrisBankaccount.js +125 -0
- package/dist/commonjs/funcs/hrisGetHrisBankaccount.js.map +1 -0
- package/dist/commonjs/funcs/hrisListHrisBankaccounts.d.ts +15 -0
- package/dist/commonjs/funcs/hrisListHrisBankaccounts.d.ts.map +1 -0
- package/dist/commonjs/funcs/hrisListHrisBankaccounts.js +130 -0
- package/dist/commonjs/funcs/hrisListHrisBankaccounts.js.map +1 -0
- package/dist/commonjs/funcs/hrisPatchHrisBankaccount.d.ts +15 -0
- package/dist/commonjs/funcs/hrisPatchHrisBankaccount.d.ts.map +1 -0
- package/dist/commonjs/funcs/hrisPatchHrisBankaccount.js +126 -0
- package/dist/commonjs/funcs/hrisPatchHrisBankaccount.js.map +1 -0
- package/dist/commonjs/funcs/hrisRemoveHrisBankaccount.d.ts +14 -0
- package/dist/commonjs/funcs/hrisRemoveHrisBankaccount.d.ts.map +1 -0
- package/dist/commonjs/funcs/hrisRemoveHrisBankaccount.js +122 -0
- package/dist/commonjs/funcs/hrisRemoveHrisBankaccount.js.map +1 -0
- package/dist/commonjs/funcs/hrisUpdateHrisBankaccount.d.ts +15 -0
- package/dist/commonjs/funcs/hrisUpdateHrisBankaccount.d.ts.map +1 -0
- package/dist/commonjs/funcs/hrisUpdateHrisBankaccount.js +126 -0
- package/dist/commonjs/funcs/hrisUpdateHrisBankaccount.js.map +1 -0
- package/dist/commonjs/funcs/reportListAdsReports.js +4 -0
- package/dist/commonjs/funcs/reportListAdsReports.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/sdk/bankaccount.d.ts +30 -0
- package/dist/commonjs/sdk/bankaccount.d.ts.map +1 -0
- package/dist/commonjs/sdk/bankaccount.js +54 -0
- package/dist/commonjs/sdk/bankaccount.js.map +1 -0
- package/dist/commonjs/sdk/hris.d.ts +24 -0
- package/dist/commonjs/sdk/hris.d.ts.map +1 -1
- package/dist/commonjs/sdk/hris.js +42 -0
- package/dist/commonjs/sdk/hris.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/createhrisbankaccount.d.ts +50 -0
- package/dist/commonjs/sdk/models/operations/createhrisbankaccount.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/createhrisbankaccount.js +77 -0
- package/dist/commonjs/sdk/models/operations/createhrisbankaccount.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/createhrisdeduction.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/createhrisdeduction.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/createhrisdeduction.js +1 -0
- package/dist/commonjs/sdk/models/operations/createhrisdeduction.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/gethrisbankaccount.d.ts +49 -0
- package/dist/commonjs/sdk/models/operations/gethrisbankaccount.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/gethrisbankaccount.js +74 -0
- package/dist/commonjs/sdk/models/operations/gethrisbankaccount.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/gethrisdeduction.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/gethrisdeduction.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/gethrisdeduction.js +1 -0
- package/dist/commonjs/sdk/models/operations/gethrisdeduction.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.d.ts +6 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +6 -0
- package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listadsreports.d.ts +20 -0
- package/dist/commonjs/sdk/models/operations/listadsreports.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listadsreports.js +8 -0
- package/dist/commonjs/sdk/models/operations/listadsreports.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listhrisbankaccounts.d.ts +72 -0
- package/dist/commonjs/sdk/models/operations/listhrisbankaccounts.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listhrisbankaccounts.js +85 -0
- package/dist/commonjs/sdk/models/operations/listhrisbankaccounts.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listhrisdeductions.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/listhrisdeductions.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listhrisdeductions.js +1 -0
- package/dist/commonjs/sdk/models/operations/listhrisdeductions.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchhrisbankaccount.d.ts +55 -0
- package/dist/commonjs/sdk/models/operations/patchhrisbankaccount.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchhrisbankaccount.js +78 -0
- package/dist/commonjs/sdk/models/operations/patchhrisbankaccount.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchhrisdeduction.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/patchhrisdeduction.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchhrisdeduction.js +1 -0
- package/dist/commonjs/sdk/models/operations/patchhrisdeduction.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/removehrisbankaccount.d.ts +30 -0
- package/dist/commonjs/sdk/models/operations/removehrisbankaccount.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/removehrisbankaccount.js +68 -0
- package/dist/commonjs/sdk/models/operations/removehrisbankaccount.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/updatehrisbankaccount.d.ts +55 -0
- package/dist/commonjs/sdk/models/operations/updatehrisbankaccount.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/updatehrisbankaccount.js +78 -0
- package/dist/commonjs/sdk/models/operations/updatehrisbankaccount.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/updatehrisdeduction.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/updatehrisdeduction.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/updatehrisdeduction.js +1 -0
- package/dist/commonjs/sdk/models/operations/updatehrisdeduction.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/hrisbankaccount.d.ts +58 -0
- package/dist/commonjs/sdk/models/shared/hrisbankaccount.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/hrisbankaccount.js +120 -0
- package/dist/commonjs/sdk/models/shared/hrisbankaccount.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/hriscompensation.d.ts +2 -0
- package/dist/commonjs/sdk/models/shared/hriscompensation.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/hriscompensation.js +2 -0
- package/dist/commonjs/sdk/models/shared/hriscompensation.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/hrisdeduction.d.ts +2 -0
- package/dist/commonjs/sdk/models/shared/hrisdeduction.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/hrisdeduction.js +2 -0
- package/dist/commonjs/sdk/models/shared/hrisdeduction.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/hrispayslip.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/index.d.ts +1 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +1 -0
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js +2 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyhrispayslipdeduction.d.ts +2 -1
- package/dist/commonjs/sdk/models/shared/propertyhrispayslipdeduction.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyhrispayslipdeduction.js +1 -0
- package/dist/commonjs/sdk/models/shared/propertyhrispayslipdeduction.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/taskcomment.d.ts +2 -2
- package/dist/commonjs/sdk/models/shared/taskcomment.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/taskcomment.js +2 -2
- package/dist/commonjs/sdk/models/shared/taskcomment.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/webhook.d.ts +1 -0
- package/dist/commonjs/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/webhook.js +1 -0
- package/dist/commonjs/sdk/models/shared/webhook.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/hrisCreateHrisBankaccount.d.ts +15 -0
- package/dist/esm/funcs/hrisCreateHrisBankaccount.d.ts.map +1 -0
- package/dist/esm/funcs/hrisCreateHrisBankaccount.js +86 -0
- package/dist/esm/funcs/hrisCreateHrisBankaccount.js.map +1 -0
- package/dist/esm/funcs/hrisGetHrisBankaccount.d.ts +15 -0
- package/dist/esm/funcs/hrisGetHrisBankaccount.d.ts.map +1 -0
- package/dist/esm/funcs/hrisGetHrisBankaccount.js +89 -0
- package/dist/esm/funcs/hrisGetHrisBankaccount.js.map +1 -0
- package/dist/esm/funcs/hrisListHrisBankaccounts.d.ts +15 -0
- package/dist/esm/funcs/hrisListHrisBankaccounts.d.ts.map +1 -0
- package/dist/esm/funcs/hrisListHrisBankaccounts.js +94 -0
- package/dist/esm/funcs/hrisListHrisBankaccounts.js.map +1 -0
- package/dist/esm/funcs/hrisPatchHrisBankaccount.d.ts +15 -0
- package/dist/esm/funcs/hrisPatchHrisBankaccount.d.ts.map +1 -0
- package/dist/esm/funcs/hrisPatchHrisBankaccount.js +90 -0
- package/dist/esm/funcs/hrisPatchHrisBankaccount.js.map +1 -0
- package/dist/esm/funcs/hrisRemoveHrisBankaccount.d.ts +14 -0
- package/dist/esm/funcs/hrisRemoveHrisBankaccount.d.ts.map +1 -0
- package/dist/esm/funcs/hrisRemoveHrisBankaccount.js +86 -0
- package/dist/esm/funcs/hrisRemoveHrisBankaccount.js.map +1 -0
- package/dist/esm/funcs/hrisUpdateHrisBankaccount.d.ts +15 -0
- package/dist/esm/funcs/hrisUpdateHrisBankaccount.d.ts.map +1 -0
- package/dist/esm/funcs/hrisUpdateHrisBankaccount.js +90 -0
- package/dist/esm/funcs/hrisUpdateHrisBankaccount.js.map +1 -0
- package/dist/esm/funcs/reportListAdsReports.js +4 -0
- package/dist/esm/funcs/reportListAdsReports.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/sdk/bankaccount.d.ts +30 -0
- package/dist/esm/sdk/bankaccount.d.ts.map +1 -0
- package/dist/esm/sdk/bankaccount.js +50 -0
- package/dist/esm/sdk/bankaccount.js.map +1 -0
- package/dist/esm/sdk/hris.d.ts +24 -0
- package/dist/esm/sdk/hris.d.ts.map +1 -1
- package/dist/esm/sdk/hris.js +42 -0
- package/dist/esm/sdk/hris.js.map +1 -1
- package/dist/esm/sdk/models/operations/createhrisbankaccount.d.ts +50 -0
- package/dist/esm/sdk/models/operations/createhrisbankaccount.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/createhrisbankaccount.js +40 -0
- package/dist/esm/sdk/models/operations/createhrisbankaccount.js.map +1 -0
- package/dist/esm/sdk/models/operations/createhrisdeduction.d.ts +1 -0
- package/dist/esm/sdk/models/operations/createhrisdeduction.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/createhrisdeduction.js +1 -0
- package/dist/esm/sdk/models/operations/createhrisdeduction.js.map +1 -1
- package/dist/esm/sdk/models/operations/gethrisbankaccount.d.ts +49 -0
- package/dist/esm/sdk/models/operations/gethrisbankaccount.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/gethrisbankaccount.js +37 -0
- package/dist/esm/sdk/models/operations/gethrisbankaccount.js.map +1 -0
- package/dist/esm/sdk/models/operations/gethrisdeduction.d.ts +1 -0
- package/dist/esm/sdk/models/operations/gethrisdeduction.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/gethrisdeduction.js +1 -0
- package/dist/esm/sdk/models/operations/gethrisdeduction.js.map +1 -1
- package/dist/esm/sdk/models/operations/index.d.ts +6 -0
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +6 -0
- package/dist/esm/sdk/models/operations/index.js.map +1 -1
- package/dist/esm/sdk/models/operations/listadsreports.d.ts +20 -0
- package/dist/esm/sdk/models/operations/listadsreports.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listadsreports.js +8 -0
- package/dist/esm/sdk/models/operations/listadsreports.js.map +1 -1
- package/dist/esm/sdk/models/operations/listhrisbankaccounts.d.ts +72 -0
- package/dist/esm/sdk/models/operations/listhrisbankaccounts.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listhrisbankaccounts.js +48 -0
- package/dist/esm/sdk/models/operations/listhrisbankaccounts.js.map +1 -0
- package/dist/esm/sdk/models/operations/listhrisdeductions.d.ts +1 -0
- package/dist/esm/sdk/models/operations/listhrisdeductions.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listhrisdeductions.js +1 -0
- package/dist/esm/sdk/models/operations/listhrisdeductions.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchhrisbankaccount.d.ts +55 -0
- package/dist/esm/sdk/models/operations/patchhrisbankaccount.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/patchhrisbankaccount.js +41 -0
- package/dist/esm/sdk/models/operations/patchhrisbankaccount.js.map +1 -0
- package/dist/esm/sdk/models/operations/patchhrisdeduction.d.ts +1 -0
- package/dist/esm/sdk/models/operations/patchhrisdeduction.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/patchhrisdeduction.js +1 -0
- package/dist/esm/sdk/models/operations/patchhrisdeduction.js.map +1 -1
- package/dist/esm/sdk/models/operations/removehrisbankaccount.d.ts +30 -0
- package/dist/esm/sdk/models/operations/removehrisbankaccount.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/removehrisbankaccount.js +30 -0
- package/dist/esm/sdk/models/operations/removehrisbankaccount.js.map +1 -0
- package/dist/esm/sdk/models/operations/updatehrisbankaccount.d.ts +55 -0
- package/dist/esm/sdk/models/operations/updatehrisbankaccount.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/updatehrisbankaccount.js +41 -0
- package/dist/esm/sdk/models/operations/updatehrisbankaccount.js.map +1 -0
- package/dist/esm/sdk/models/operations/updatehrisdeduction.d.ts +1 -0
- package/dist/esm/sdk/models/operations/updatehrisdeduction.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/updatehrisdeduction.js +1 -0
- package/dist/esm/sdk/models/operations/updatehrisdeduction.js.map +1 -1
- package/dist/esm/sdk/models/shared/hrisbankaccount.d.ts +58 -0
- package/dist/esm/sdk/models/shared/hrisbankaccount.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/hrisbankaccount.js +82 -0
- package/dist/esm/sdk/models/shared/hrisbankaccount.js.map +1 -0
- package/dist/esm/sdk/models/shared/hriscompensation.d.ts +2 -0
- package/dist/esm/sdk/models/shared/hriscompensation.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/hriscompensation.js +2 -0
- package/dist/esm/sdk/models/shared/hriscompensation.js.map +1 -1
- package/dist/esm/sdk/models/shared/hrisdeduction.d.ts +2 -0
- package/dist/esm/sdk/models/shared/hrisdeduction.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/hrisdeduction.js +2 -0
- package/dist/esm/sdk/models/shared/hrisdeduction.js.map +1 -1
- package/dist/esm/sdk/models/shared/hrispayslip.d.ts +1 -1
- package/dist/esm/sdk/models/shared/index.d.ts +1 -0
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +1 -0
- package/dist/esm/sdk/models/shared/index.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js +2 -0
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyhrispayslipdeduction.d.ts +2 -1
- package/dist/esm/sdk/models/shared/propertyhrispayslipdeduction.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyhrispayslipdeduction.js +1 -0
- package/dist/esm/sdk/models/shared/propertyhrispayslipdeduction.js.map +1 -1
- package/dist/esm/sdk/models/shared/taskcomment.d.ts +2 -2
- package/dist/esm/sdk/models/shared/taskcomment.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/taskcomment.js +2 -2
- package/dist/esm/sdk/models/shared/taskcomment.js.map +1 -1
- package/dist/esm/sdk/models/shared/webhook.d.ts +1 -0
- package/dist/esm/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/webhook.js +1 -0
- package/dist/esm/sdk/models/shared/webhook.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/hrisCreateHrisBankaccount.ts +171 -0
- package/src/funcs/hrisGetHrisBankaccount.ts +173 -0
- package/src/funcs/hrisListHrisBankaccounts.ts +179 -0
- package/src/funcs/hrisPatchHrisBankaccount.ts +175 -0
- package/src/funcs/hrisRemoveHrisBankaccount.ts +179 -0
- package/src/funcs/hrisUpdateHrisBankaccount.ts +175 -0
- package/src/funcs/reportListAdsReports.ts +4 -0
- package/src/lib/config.ts +3 -3
- package/src/sdk/bankaccount.ts +100 -0
- package/src/sdk/hris.ts +90 -0
- package/src/sdk/models/operations/createhrisbankaccount.ts +88 -0
- package/src/sdk/models/operations/createhrisdeduction.ts +1 -0
- package/src/sdk/models/operations/gethrisbankaccount.ts +82 -0
- package/src/sdk/models/operations/gethrisdeduction.ts +1 -0
- package/src/sdk/models/operations/index.ts +6 -0
- package/src/sdk/models/operations/listadsreports.ts +28 -0
- package/src/sdk/models/operations/listhrisbankaccounts.ts +119 -0
- package/src/sdk/models/operations/listhrisdeductions.ts +1 -0
- package/src/sdk/models/operations/patchhrisbankaccount.ts +94 -0
- package/src/sdk/models/operations/patchhrisdeduction.ts +1 -0
- package/src/sdk/models/operations/removehrisbankaccount.ts +77 -0
- package/src/sdk/models/operations/updatehrisbankaccount.ts +94 -0
- package/src/sdk/models/operations/updatehrisdeduction.ts +1 -0
- package/src/sdk/models/shared/hrisbankaccount.ts +150 -0
- package/src/sdk/models/shared/hriscompensation.ts +4 -0
- package/src/sdk/models/shared/hrisdeduction.ts +4 -0
- package/src/sdk/models/shared/hrispayslip.ts +1 -1
- package/src/sdk/models/shared/index.ts +1 -0
- package/src/sdk/models/shared/propertyconnectionpermissions.ts +2 -0
- package/src/sdk/models/shared/propertyhrispayslipdeduction.ts +3 -1
- package/src/sdk/models/shared/taskcomment.ts +4 -4
- package/src/sdk/models/shared/webhook.ts +1 -0
- package/src/sdk/sdk.ts +6 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
|
|
9
|
+
export const ListHrisBankaccountsQueryParamFields = {
|
|
10
|
+
Id: "id",
|
|
11
|
+
CreatedAt: "created_at",
|
|
12
|
+
UpdatedAt: "updated_at",
|
|
13
|
+
UserId: "user_id",
|
|
14
|
+
CompanyId: "company_id",
|
|
15
|
+
AccountType: "account_type",
|
|
16
|
+
BankName: "bank_name",
|
|
17
|
+
RoutingNumber: "routing_number",
|
|
18
|
+
AccountNumber: "account_number",
|
|
19
|
+
AccountNumberLast4: "account_number_last4",
|
|
20
|
+
Name: "name",
|
|
21
|
+
IsPrimary: "is_primary",
|
|
22
|
+
Raw: "raw",
|
|
23
|
+
} as const;
|
|
24
|
+
export type ListHrisBankaccountsQueryParamFields = ClosedEnum<
|
|
25
|
+
typeof ListHrisBankaccountsQueryParamFields
|
|
26
|
+
>;
|
|
27
|
+
|
|
28
|
+
export type ListHrisBankaccountsRequest = {
|
|
29
|
+
/**
|
|
30
|
+
* The company ID to filter by (reference to HrisCompany)
|
|
31
|
+
*/
|
|
32
|
+
companyId?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* ID of the connection
|
|
35
|
+
*/
|
|
36
|
+
connectionId: string;
|
|
37
|
+
/**
|
|
38
|
+
* Fields to return
|
|
39
|
+
*/
|
|
40
|
+
fields?: Array<ListHrisBankaccountsQueryParamFields> | undefined;
|
|
41
|
+
limit?: number | undefined;
|
|
42
|
+
offset?: number | undefined;
|
|
43
|
+
order?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Query string to search. eg. email address or name
|
|
46
|
+
*/
|
|
47
|
+
query?: string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
|
|
50
|
+
*/
|
|
51
|
+
raw?: string | undefined;
|
|
52
|
+
sort?: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
55
|
+
*/
|
|
56
|
+
updatedGte?: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* The user/employee ID to filter by (reference to HrisEmployee)
|
|
59
|
+
*/
|
|
60
|
+
userId?: string | undefined;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/** @internal */
|
|
64
|
+
export const ListHrisBankaccountsQueryParamFields$outboundSchema:
|
|
65
|
+
z.ZodNativeEnum<typeof ListHrisBankaccountsQueryParamFields> = z.nativeEnum(
|
|
66
|
+
ListHrisBankaccountsQueryParamFields,
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export type ListHrisBankaccountsRequest$Outbound = {
|
|
71
|
+
company_id?: string | undefined;
|
|
72
|
+
connection_id: string;
|
|
73
|
+
fields?: Array<string> | undefined;
|
|
74
|
+
limit?: number | undefined;
|
|
75
|
+
offset?: number | undefined;
|
|
76
|
+
order?: string | undefined;
|
|
77
|
+
query?: string | undefined;
|
|
78
|
+
raw?: string | undefined;
|
|
79
|
+
sort?: string | undefined;
|
|
80
|
+
updated_gte?: string | undefined;
|
|
81
|
+
user_id?: string | undefined;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
/** @internal */
|
|
85
|
+
export const ListHrisBankaccountsRequest$outboundSchema: z.ZodType<
|
|
86
|
+
ListHrisBankaccountsRequest$Outbound,
|
|
87
|
+
z.ZodTypeDef,
|
|
88
|
+
ListHrisBankaccountsRequest
|
|
89
|
+
> = z.object({
|
|
90
|
+
companyId: z.string().optional(),
|
|
91
|
+
connectionId: z.string(),
|
|
92
|
+
fields: z.array(ListHrisBankaccountsQueryParamFields$outboundSchema)
|
|
93
|
+
.optional(),
|
|
94
|
+
limit: z.number().optional(),
|
|
95
|
+
offset: z.number().optional(),
|
|
96
|
+
order: z.string().optional(),
|
|
97
|
+
query: z.string().optional(),
|
|
98
|
+
raw: z.string().optional(),
|
|
99
|
+
sort: z.string().optional(),
|
|
100
|
+
updatedGte: z.string().optional(),
|
|
101
|
+
userId: z.string().optional(),
|
|
102
|
+
}).transform((v) => {
|
|
103
|
+
return remap$(v, {
|
|
104
|
+
companyId: "company_id",
|
|
105
|
+
connectionId: "connection_id",
|
|
106
|
+
updatedGte: "updated_gte",
|
|
107
|
+
userId: "user_id",
|
|
108
|
+
});
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
export function listHrisBankaccountsRequestToJSON(
|
|
112
|
+
listHrisBankaccountsRequest: ListHrisBankaccountsRequest,
|
|
113
|
+
): string {
|
|
114
|
+
return JSON.stringify(
|
|
115
|
+
ListHrisBankaccountsRequest$outboundSchema.parse(
|
|
116
|
+
listHrisBankaccountsRequest,
|
|
117
|
+
),
|
|
118
|
+
);
|
|
119
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import * as shared from "../shared/index.js";
|
|
9
|
+
|
|
10
|
+
export const PatchHrisBankaccountQueryParamFields = {
|
|
11
|
+
Id: "id",
|
|
12
|
+
CreatedAt: "created_at",
|
|
13
|
+
UpdatedAt: "updated_at",
|
|
14
|
+
UserId: "user_id",
|
|
15
|
+
CompanyId: "company_id",
|
|
16
|
+
AccountType: "account_type",
|
|
17
|
+
BankName: "bank_name",
|
|
18
|
+
RoutingNumber: "routing_number",
|
|
19
|
+
AccountNumber: "account_number",
|
|
20
|
+
AccountNumberLast4: "account_number_last4",
|
|
21
|
+
Name: "name",
|
|
22
|
+
IsPrimary: "is_primary",
|
|
23
|
+
Raw: "raw",
|
|
24
|
+
} as const;
|
|
25
|
+
export type PatchHrisBankaccountQueryParamFields = ClosedEnum<
|
|
26
|
+
typeof PatchHrisBankaccountQueryParamFields
|
|
27
|
+
>;
|
|
28
|
+
|
|
29
|
+
export type PatchHrisBankaccountRequest = {
|
|
30
|
+
/**
|
|
31
|
+
* Employee payroll bank account for direct deposit.
|
|
32
|
+
*/
|
|
33
|
+
hrisBankaccount: shared.HrisBankaccount;
|
|
34
|
+
/**
|
|
35
|
+
* ID of the connection
|
|
36
|
+
*/
|
|
37
|
+
connectionId: string;
|
|
38
|
+
/**
|
|
39
|
+
* Fields to return
|
|
40
|
+
*/
|
|
41
|
+
fields?: Array<PatchHrisBankaccountQueryParamFields> | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* ID of the Bankaccount
|
|
44
|
+
*/
|
|
45
|
+
id: string;
|
|
46
|
+
/**
|
|
47
|
+
* Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
|
|
48
|
+
*/
|
|
49
|
+
raw?: string | undefined;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const PatchHrisBankaccountQueryParamFields$outboundSchema:
|
|
54
|
+
z.ZodNativeEnum<typeof PatchHrisBankaccountQueryParamFields> = z.nativeEnum(
|
|
55
|
+
PatchHrisBankaccountQueryParamFields,
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
/** @internal */
|
|
59
|
+
export type PatchHrisBankaccountRequest$Outbound = {
|
|
60
|
+
HrisBankaccount: shared.HrisBankaccount$Outbound;
|
|
61
|
+
connection_id: string;
|
|
62
|
+
fields?: Array<string> | undefined;
|
|
63
|
+
id: string;
|
|
64
|
+
raw?: string | undefined;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
/** @internal */
|
|
68
|
+
export const PatchHrisBankaccountRequest$outboundSchema: z.ZodType<
|
|
69
|
+
PatchHrisBankaccountRequest$Outbound,
|
|
70
|
+
z.ZodTypeDef,
|
|
71
|
+
PatchHrisBankaccountRequest
|
|
72
|
+
> = z.object({
|
|
73
|
+
hrisBankaccount: shared.HrisBankaccount$outboundSchema,
|
|
74
|
+
connectionId: z.string(),
|
|
75
|
+
fields: z.array(PatchHrisBankaccountQueryParamFields$outboundSchema)
|
|
76
|
+
.optional(),
|
|
77
|
+
id: z.string(),
|
|
78
|
+
raw: z.string().optional(),
|
|
79
|
+
}).transform((v) => {
|
|
80
|
+
return remap$(v, {
|
|
81
|
+
hrisBankaccount: "HrisBankaccount",
|
|
82
|
+
connectionId: "connection_id",
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
export function patchHrisBankaccountRequestToJSON(
|
|
87
|
+
patchHrisBankaccountRequest: PatchHrisBankaccountRequest,
|
|
88
|
+
): string {
|
|
89
|
+
return JSON.stringify(
|
|
90
|
+
PatchHrisBankaccountRequest$outboundSchema.parse(
|
|
91
|
+
patchHrisBankaccountRequest,
|
|
92
|
+
),
|
|
93
|
+
);
|
|
94
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type RemoveHrisBankaccountRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* ID of the connection
|
|
14
|
+
*/
|
|
15
|
+
connectionId: string;
|
|
16
|
+
/**
|
|
17
|
+
* ID of the Bankaccount
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type RemoveHrisBankaccountResponse = {
|
|
23
|
+
headers: { [k: string]: Array<string> };
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export type RemoveHrisBankaccountRequest$Outbound = {
|
|
28
|
+
connection_id: string;
|
|
29
|
+
id: string;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const RemoveHrisBankaccountRequest$outboundSchema: z.ZodType<
|
|
34
|
+
RemoveHrisBankaccountRequest$Outbound,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
RemoveHrisBankaccountRequest
|
|
37
|
+
> = z.object({
|
|
38
|
+
connectionId: z.string(),
|
|
39
|
+
id: z.string(),
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
connectionId: "connection_id",
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export function removeHrisBankaccountRequestToJSON(
|
|
47
|
+
removeHrisBankaccountRequest: RemoveHrisBankaccountRequest,
|
|
48
|
+
): string {
|
|
49
|
+
return JSON.stringify(
|
|
50
|
+
RemoveHrisBankaccountRequest$outboundSchema.parse(
|
|
51
|
+
removeHrisBankaccountRequest,
|
|
52
|
+
),
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export const RemoveHrisBankaccountResponse$inboundSchema: z.ZodType<
|
|
58
|
+
RemoveHrisBankaccountResponse,
|
|
59
|
+
z.ZodTypeDef,
|
|
60
|
+
unknown
|
|
61
|
+
> = z.object({
|
|
62
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
63
|
+
}).transform((v) => {
|
|
64
|
+
return remap$(v, {
|
|
65
|
+
"Headers": "headers",
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
export function removeHrisBankaccountResponseFromJSON(
|
|
70
|
+
jsonString: string,
|
|
71
|
+
): SafeParseResult<RemoveHrisBankaccountResponse, SDKValidationError> {
|
|
72
|
+
return safeParse(
|
|
73
|
+
jsonString,
|
|
74
|
+
(x) => RemoveHrisBankaccountResponse$inboundSchema.parse(JSON.parse(x)),
|
|
75
|
+
`Failed to parse 'RemoveHrisBankaccountResponse' from JSON`,
|
|
76
|
+
);
|
|
77
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import * as shared from "../shared/index.js";
|
|
9
|
+
|
|
10
|
+
export const UpdateHrisBankaccountQueryParamFields = {
|
|
11
|
+
Id: "id",
|
|
12
|
+
CreatedAt: "created_at",
|
|
13
|
+
UpdatedAt: "updated_at",
|
|
14
|
+
UserId: "user_id",
|
|
15
|
+
CompanyId: "company_id",
|
|
16
|
+
AccountType: "account_type",
|
|
17
|
+
BankName: "bank_name",
|
|
18
|
+
RoutingNumber: "routing_number",
|
|
19
|
+
AccountNumber: "account_number",
|
|
20
|
+
AccountNumberLast4: "account_number_last4",
|
|
21
|
+
Name: "name",
|
|
22
|
+
IsPrimary: "is_primary",
|
|
23
|
+
Raw: "raw",
|
|
24
|
+
} as const;
|
|
25
|
+
export type UpdateHrisBankaccountQueryParamFields = ClosedEnum<
|
|
26
|
+
typeof UpdateHrisBankaccountQueryParamFields
|
|
27
|
+
>;
|
|
28
|
+
|
|
29
|
+
export type UpdateHrisBankaccountRequest = {
|
|
30
|
+
/**
|
|
31
|
+
* Employee payroll bank account for direct deposit.
|
|
32
|
+
*/
|
|
33
|
+
hrisBankaccount: shared.HrisBankaccount;
|
|
34
|
+
/**
|
|
35
|
+
* ID of the connection
|
|
36
|
+
*/
|
|
37
|
+
connectionId: string;
|
|
38
|
+
/**
|
|
39
|
+
* Fields to return
|
|
40
|
+
*/
|
|
41
|
+
fields?: Array<UpdateHrisBankaccountQueryParamFields> | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* ID of the Bankaccount
|
|
44
|
+
*/
|
|
45
|
+
id: string;
|
|
46
|
+
/**
|
|
47
|
+
* Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
|
|
48
|
+
*/
|
|
49
|
+
raw?: string | undefined;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const UpdateHrisBankaccountQueryParamFields$outboundSchema:
|
|
54
|
+
z.ZodNativeEnum<typeof UpdateHrisBankaccountQueryParamFields> = z.nativeEnum(
|
|
55
|
+
UpdateHrisBankaccountQueryParamFields,
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
/** @internal */
|
|
59
|
+
export type UpdateHrisBankaccountRequest$Outbound = {
|
|
60
|
+
HrisBankaccount: shared.HrisBankaccount$Outbound;
|
|
61
|
+
connection_id: string;
|
|
62
|
+
fields?: Array<string> | undefined;
|
|
63
|
+
id: string;
|
|
64
|
+
raw?: string | undefined;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
/** @internal */
|
|
68
|
+
export const UpdateHrisBankaccountRequest$outboundSchema: z.ZodType<
|
|
69
|
+
UpdateHrisBankaccountRequest$Outbound,
|
|
70
|
+
z.ZodTypeDef,
|
|
71
|
+
UpdateHrisBankaccountRequest
|
|
72
|
+
> = z.object({
|
|
73
|
+
hrisBankaccount: shared.HrisBankaccount$outboundSchema,
|
|
74
|
+
connectionId: z.string(),
|
|
75
|
+
fields: z.array(UpdateHrisBankaccountQueryParamFields$outboundSchema)
|
|
76
|
+
.optional(),
|
|
77
|
+
id: z.string(),
|
|
78
|
+
raw: z.string().optional(),
|
|
79
|
+
}).transform((v) => {
|
|
80
|
+
return remap$(v, {
|
|
81
|
+
hrisBankaccount: "HrisBankaccount",
|
|
82
|
+
connectionId: "connection_id",
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
export function updateHrisBankaccountRequestToJSON(
|
|
87
|
+
updateHrisBankaccountRequest: UpdateHrisBankaccountRequest,
|
|
88
|
+
): string {
|
|
89
|
+
return JSON.stringify(
|
|
90
|
+
UpdateHrisBankaccountRequest$outboundSchema.parse(
|
|
91
|
+
updateHrisBankaccountRequest,
|
|
92
|
+
),
|
|
93
|
+
);
|
|
94
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
10
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
+
|
|
13
|
+
export const AccountType = {
|
|
14
|
+
Checking: "CHECKING",
|
|
15
|
+
Savings: "SAVINGS",
|
|
16
|
+
} as const;
|
|
17
|
+
export type AccountType = OpenEnum<typeof AccountType>;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Employee payroll bank account for direct deposit.
|
|
21
|
+
*/
|
|
22
|
+
export type HrisBankaccount = {
|
|
23
|
+
accountNumber?: string | undefined;
|
|
24
|
+
accountNumberLast4?: string | undefined;
|
|
25
|
+
accountType?: AccountType | undefined;
|
|
26
|
+
bankName?: string | undefined;
|
|
27
|
+
companyId?: string | undefined;
|
|
28
|
+
createdAt?: Date | undefined;
|
|
29
|
+
id?: string | undefined;
|
|
30
|
+
isPrimary?: boolean | undefined;
|
|
31
|
+
name?: string | undefined;
|
|
32
|
+
raw?: { [k: string]: any } | undefined;
|
|
33
|
+
routingNumber?: string | undefined;
|
|
34
|
+
updatedAt?: Date | undefined;
|
|
35
|
+
userId?: string | undefined;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export const AccountType$inboundSchema: z.ZodType<
|
|
40
|
+
AccountType,
|
|
41
|
+
z.ZodTypeDef,
|
|
42
|
+
unknown
|
|
43
|
+
> = openEnums.inboundSchema(AccountType);
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const AccountType$outboundSchema: z.ZodType<
|
|
46
|
+
string,
|
|
47
|
+
z.ZodTypeDef,
|
|
48
|
+
AccountType
|
|
49
|
+
> = openEnums.outboundSchema(AccountType);
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const HrisBankaccount$inboundSchema: z.ZodType<
|
|
53
|
+
HrisBankaccount,
|
|
54
|
+
z.ZodTypeDef,
|
|
55
|
+
unknown
|
|
56
|
+
> = z.object({
|
|
57
|
+
account_number: z.string().optional(),
|
|
58
|
+
account_number_last4: z.string().optional(),
|
|
59
|
+
account_type: AccountType$inboundSchema.optional(),
|
|
60
|
+
bank_name: z.string().optional(),
|
|
61
|
+
company_id: z.string().optional(),
|
|
62
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
63
|
+
.optional(),
|
|
64
|
+
id: z.string().optional(),
|
|
65
|
+
is_primary: z.boolean().optional(),
|
|
66
|
+
name: z.string().optional(),
|
|
67
|
+
raw: z.record(z.any()).optional(),
|
|
68
|
+
routing_number: z.string().optional(),
|
|
69
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
70
|
+
.optional(),
|
|
71
|
+
user_id: z.string().optional(),
|
|
72
|
+
}).transform((v) => {
|
|
73
|
+
return remap$(v, {
|
|
74
|
+
"account_number": "accountNumber",
|
|
75
|
+
"account_number_last4": "accountNumberLast4",
|
|
76
|
+
"account_type": "accountType",
|
|
77
|
+
"bank_name": "bankName",
|
|
78
|
+
"company_id": "companyId",
|
|
79
|
+
"created_at": "createdAt",
|
|
80
|
+
"is_primary": "isPrimary",
|
|
81
|
+
"routing_number": "routingNumber",
|
|
82
|
+
"updated_at": "updatedAt",
|
|
83
|
+
"user_id": "userId",
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
/** @internal */
|
|
87
|
+
export type HrisBankaccount$Outbound = {
|
|
88
|
+
account_number?: string | undefined;
|
|
89
|
+
account_number_last4?: string | undefined;
|
|
90
|
+
account_type?: string | undefined;
|
|
91
|
+
bank_name?: string | undefined;
|
|
92
|
+
company_id?: string | undefined;
|
|
93
|
+
created_at?: string | undefined;
|
|
94
|
+
id?: string | undefined;
|
|
95
|
+
is_primary?: boolean | undefined;
|
|
96
|
+
name?: string | undefined;
|
|
97
|
+
raw?: { [k: string]: any } | undefined;
|
|
98
|
+
routing_number?: string | undefined;
|
|
99
|
+
updated_at?: string | undefined;
|
|
100
|
+
user_id?: string | undefined;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
/** @internal */
|
|
104
|
+
export const HrisBankaccount$outboundSchema: z.ZodType<
|
|
105
|
+
HrisBankaccount$Outbound,
|
|
106
|
+
z.ZodTypeDef,
|
|
107
|
+
HrisBankaccount
|
|
108
|
+
> = z.object({
|
|
109
|
+
accountNumber: z.string().optional(),
|
|
110
|
+
accountNumberLast4: z.string().optional(),
|
|
111
|
+
accountType: AccountType$outboundSchema.optional(),
|
|
112
|
+
bankName: z.string().optional(),
|
|
113
|
+
companyId: z.string().optional(),
|
|
114
|
+
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
115
|
+
id: z.string().optional(),
|
|
116
|
+
isPrimary: z.boolean().optional(),
|
|
117
|
+
name: z.string().optional(),
|
|
118
|
+
raw: z.record(z.any()).optional(),
|
|
119
|
+
routingNumber: z.string().optional(),
|
|
120
|
+
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
121
|
+
userId: z.string().optional(),
|
|
122
|
+
}).transform((v) => {
|
|
123
|
+
return remap$(v, {
|
|
124
|
+
accountNumber: "account_number",
|
|
125
|
+
accountNumberLast4: "account_number_last4",
|
|
126
|
+
accountType: "account_type",
|
|
127
|
+
bankName: "bank_name",
|
|
128
|
+
companyId: "company_id",
|
|
129
|
+
createdAt: "created_at",
|
|
130
|
+
isPrimary: "is_primary",
|
|
131
|
+
routingNumber: "routing_number",
|
|
132
|
+
updatedAt: "updated_at",
|
|
133
|
+
userId: "user_id",
|
|
134
|
+
});
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
export function hrisBankaccountToJSON(
|
|
138
|
+
hrisBankaccount: HrisBankaccount,
|
|
139
|
+
): string {
|
|
140
|
+
return JSON.stringify(HrisBankaccount$outboundSchema.parse(hrisBankaccount));
|
|
141
|
+
}
|
|
142
|
+
export function hrisBankaccountFromJSON(
|
|
143
|
+
jsonString: string,
|
|
144
|
+
): SafeParseResult<HrisBankaccount, SDKValidationError> {
|
|
145
|
+
return safeParse(
|
|
146
|
+
jsonString,
|
|
147
|
+
(x) => HrisBankaccount$inboundSchema.parse(JSON.parse(x)),
|
|
148
|
+
`Failed to parse 'HrisBankaccount' from JSON`,
|
|
149
|
+
);
|
|
150
|
+
}
|
|
@@ -37,6 +37,7 @@ export type HrisCompensation = {
|
|
|
37
37
|
currency?: string | undefined;
|
|
38
38
|
frequency?: HrisCompensationFrequency | undefined;
|
|
39
39
|
groupId?: string | undefined;
|
|
40
|
+
notes?: string | undefined;
|
|
40
41
|
type?: HrisCompensationType | undefined;
|
|
41
42
|
};
|
|
42
43
|
|
|
@@ -76,6 +77,7 @@ export const HrisCompensation$inboundSchema: z.ZodType<
|
|
|
76
77
|
currency: z.string().optional(),
|
|
77
78
|
frequency: HrisCompensationFrequency$inboundSchema.optional(),
|
|
78
79
|
group_id: z.string().optional(),
|
|
80
|
+
notes: z.string().optional(),
|
|
79
81
|
type: HrisCompensationType$inboundSchema.optional(),
|
|
80
82
|
}).transform((v) => {
|
|
81
83
|
return remap$(v, {
|
|
@@ -88,6 +90,7 @@ export type HrisCompensation$Outbound = {
|
|
|
88
90
|
currency?: string | undefined;
|
|
89
91
|
frequency?: string | undefined;
|
|
90
92
|
group_id?: string | undefined;
|
|
93
|
+
notes?: string | undefined;
|
|
91
94
|
type?: string | undefined;
|
|
92
95
|
};
|
|
93
96
|
|
|
@@ -101,6 +104,7 @@ export const HrisCompensation$outboundSchema: z.ZodType<
|
|
|
101
104
|
currency: z.string().optional(),
|
|
102
105
|
frequency: HrisCompensationFrequency$outboundSchema.optional(),
|
|
103
106
|
groupId: z.string().optional(),
|
|
107
|
+
notes: z.string().optional(),
|
|
104
108
|
type: HrisCompensationType$outboundSchema.optional(),
|
|
105
109
|
}).transform((v) => {
|
|
106
110
|
return remap$(v, {
|
|
@@ -53,6 +53,7 @@ export type HrisDeduction = {
|
|
|
53
53
|
frequency?: HrisDeductionFrequency | undefined;
|
|
54
54
|
id?: string | undefined;
|
|
55
55
|
isActive?: boolean | undefined;
|
|
56
|
+
notes?: string | undefined;
|
|
56
57
|
raw?: { [k: string]: any } | undefined;
|
|
57
58
|
startAt?: Date | undefined;
|
|
58
59
|
type?: HrisDeductionType | undefined;
|
|
@@ -116,6 +117,7 @@ export const HrisDeduction$inboundSchema: z.ZodType<
|
|
|
116
117
|
frequency: HrisDeductionFrequency$inboundSchema.optional(),
|
|
117
118
|
id: z.string().optional(),
|
|
118
119
|
is_active: z.boolean().optional(),
|
|
120
|
+
notes: z.string().optional(),
|
|
119
121
|
raw: z.record(z.any()).optional(),
|
|
120
122
|
start_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
121
123
|
.optional(),
|
|
@@ -147,6 +149,7 @@ export type HrisDeduction$Outbound = {
|
|
|
147
149
|
frequency?: string | undefined;
|
|
148
150
|
id?: string | undefined;
|
|
149
151
|
is_active?: boolean | undefined;
|
|
152
|
+
notes?: string | undefined;
|
|
150
153
|
raw?: { [k: string]: any } | undefined;
|
|
151
154
|
start_at?: string | undefined;
|
|
152
155
|
type?: string | undefined;
|
|
@@ -169,6 +172,7 @@ export const HrisDeduction$outboundSchema: z.ZodType<
|
|
|
169
172
|
frequency: HrisDeductionFrequency$outboundSchema.optional(),
|
|
170
173
|
id: z.string().optional(),
|
|
171
174
|
isActive: z.boolean().optional(),
|
|
175
|
+
notes: z.string().optional(),
|
|
172
176
|
raw: z.record(z.any()).optional(),
|
|
173
177
|
startAt: z.date().transform(v => v.toISOString()).optional(),
|
|
174
178
|
type: HrisDeductionType$outboundSchema.optional(),
|
|
@@ -30,7 +30,7 @@ export type HrisPayslip = {
|
|
|
30
30
|
createdAt?: Date | undefined;
|
|
31
31
|
currency?: string | undefined;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* The ID (and optionally name) of the employee deduction (if this detail represents a deduction)
|
|
34
34
|
*/
|
|
35
35
|
deduction?: PropertyHrisPayslipDeduction | undefined;
|
|
36
36
|
details?: Array<HrisPayslipDetail> | undefined;
|
|
@@ -137,6 +137,7 @@ export * from "./genaiembedding.js";
|
|
|
137
137
|
export * from "./genaiembeddingcontent.js";
|
|
138
138
|
export * from "./genaimodel.js";
|
|
139
139
|
export * from "./genaiprompt.js";
|
|
140
|
+
export * from "./hrisbankaccount.js";
|
|
140
141
|
export * from "./hrisbenefit.js";
|
|
141
142
|
export * from "./hriscompany.js";
|
|
142
143
|
export * from "./hriscompensation.js";
|
|
@@ -137,6 +137,8 @@ export const PropertyConnectionPermissions = {
|
|
|
137
137
|
HrisDeductionWrite: "hris_deduction_write",
|
|
138
138
|
HrisBenefitRead: "hris_benefit_read",
|
|
139
139
|
HrisBenefitWrite: "hris_benefit_write",
|
|
140
|
+
HrisBankaccountRead: "hris_bankaccount_read",
|
|
141
|
+
HrisBankaccountWrite: "hris_bankaccount_write",
|
|
140
142
|
UcCallRead: "uc_call_read",
|
|
141
143
|
UcContactRead: "uc_contact_read",
|
|
142
144
|
UcContactWrite: "uc_contact_write",
|
|
@@ -45,7 +45,7 @@ export type PropertyHrisPayslipDeductionType = OpenEnum<
|
|
|
45
45
|
>;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* The ID (and optionally name) of the employee deduction (if this detail represents a deduction)
|
|
49
49
|
*/
|
|
50
50
|
export type PropertyHrisPayslipDeduction = {
|
|
51
51
|
amount?: number | undefined;
|
|
@@ -57,6 +57,7 @@ export type PropertyHrisPayslipDeduction = {
|
|
|
57
57
|
frequency?: PropertyHrisPayslipDeductionFrequency | undefined;
|
|
58
58
|
id?: string | undefined;
|
|
59
59
|
isActive?: boolean | undefined;
|
|
60
|
+
notes?: string | undefined;
|
|
60
61
|
raw?: { [k: string]: any } | undefined;
|
|
61
62
|
startAt?: Date | undefined;
|
|
62
63
|
type?: PropertyHrisPayslipDeductionType | undefined;
|
|
@@ -103,6 +104,7 @@ export const PropertyHrisPayslipDeduction$inboundSchema: z.ZodType<
|
|
|
103
104
|
frequency: PropertyHrisPayslipDeductionFrequency$inboundSchema.optional(),
|
|
104
105
|
id: z.string().optional(),
|
|
105
106
|
is_active: z.boolean().optional(),
|
|
107
|
+
notes: z.string().optional(),
|
|
106
108
|
raw: z.record(z.any()).optional(),
|
|
107
109
|
start_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
108
110
|
.optional(),
|