@thera-hr/api-sdk 0.0.1-prerelease3033-dev-anthony → 0.0.1-prerelease3034-dev-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/client/Client.d.ts +3 -0
- package/api/resources/api/resources/thera/client/Client.js +17 -12
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +19 -0
- package/api/resources/api/resources/thera/resources/incorporation/client/Client.js +17 -0
- package/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/incorporation/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/incorporation/index.js +18 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +54 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +141 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +20 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +9 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.js +18 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
- package/{dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client → api/resources/api/resources/thera/resources/incorporation/resources}/index.js +3 -3
- package/api/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/index.js +2 -1
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +0 -3
- package/api/resources/api/resources/thera/resources/payroll/client/Client.js +0 -5
- package/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +0 -3
- package/api/resources/api/resources/thera/resources/payroll/resources/index.js +1 -4
- package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +5 -18
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +11 -66
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/company/types/Company.d.ts +1 -0
- package/api/resources/db/resources/company/types/IncorporationDetails.d.ts +18 -0
- package/api/resources/db/resources/company/types/IncorporationDocument.d.ts +7 -0
- package/api/resources/db/resources/company/types/W2Payroll.d.ts +0 -2
- package/api/resources/db/resources/company/types/index.d.ts +2 -0
- package/api/resources/db/resources/company/types/index.js +2 -0
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/client/Client.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/client/Client.js +17 -12
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +19 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.js +17 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/index.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +54 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +141 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +20 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +9 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
- package/{serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client → dist/api/resources/api/resources/thera/resources/incorporation/resources}/index.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/index.js +2 -1
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +0 -3
- package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +0 -3
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +1 -4
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +5 -18
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +11 -66
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/company/types/Company.d.ts +1 -0
- package/dist/api/resources/db/resources/company/types/IncorporationDetails.d.ts +18 -0
- package/dist/api/resources/db/resources/company/types/IncorporationDocument.d.ts +7 -0
- package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +0 -2
- package/dist/api/resources/db/resources/company/types/index.d.ts +2 -0
- package/dist/api/resources/db/resources/company/types/index.js +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +1 -0
- package/dist/{api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client → serialization/resources/api/resources/thera/resources/incorporation}/index.js +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/index.js +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +26 -0
- package/dist/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js → incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js} +17 -11
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +15 -0
- package/{serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js → dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js} +6 -3
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.js +18 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/client/listW2PaySchedules.js → incorporation/resources/index.js} +6 -7
- package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/index.js +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +0 -3
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +1 -4
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +1 -35
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +1 -2
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +0 -1
- package/dist/serialization/resources/db/resources/company/types/Company.d.ts +2 -0
- package/dist/serialization/resources/db/resources/company/types/Company.js +2 -0
- package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +24 -0
- package/dist/serialization/resources/{api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js → db/resources/company/types/IncorporationDetails.js} +16 -10
- package/dist/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +13 -0
- package/dist/serialization/resources/{api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js → db/resources/company/types/IncorporationDocument.js} +6 -3
- package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
- package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +0 -1
- package/dist/serialization/resources/db/resources/company/types/index.d.ts +2 -0
- package/dist/serialization/resources/db/resources/company/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +80 -531
- package/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +1 -0
- package/{api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client → serialization/resources/api/resources/thera/resources/incorporation}/index.js +1 -1
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/index.js +0 -1
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +26 -0
- package/{dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js → serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js} +17 -11
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +15 -0
- package/{dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js → serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js} +6 -3
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.js +18 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/index.js +41 -0
- package/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/index.js +2 -1
- package/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +0 -3
- package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +1 -4
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +1 -35
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +1 -2
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +0 -1
- package/serialization/resources/db/resources/company/types/Company.d.ts +2 -0
- package/serialization/resources/db/resources/company/types/Company.js +2 -0
- package/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +24 -0
- package/{dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js → serialization/resources/db/resources/company/types/IncorporationDetails.js} +16 -4
- package/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +13 -0
- package/serialization/resources/{api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js → db/resources/company/types/IncorporationDocument.js} +6 -3
- package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
- package/serialization/resources/db/resources/company/types/W2Payroll.js +0 -1
- package/serialization/resources/db/resources/company/types/index.d.ts +2 -0
- package/serialization/resources/db/resources/company/types/index.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +0 -114
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +0 -411
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +0 -14
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +0 -22
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +0 -25
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +0 -3
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +0 -6
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +0 -14
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +0 -14
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +0 -10
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +0 -12
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +0 -4
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +0 -20
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +0 -114
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +0 -411
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +0 -14
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +0 -22
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +0 -25
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +0 -3
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +0 -6
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +0 -14
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +0 -14
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +0 -10
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +0 -12
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +0 -4
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +0 -20
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +0 -11
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +0 -8
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +0 -2
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +0 -11
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +0 -12
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +0 -17
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +0 -48
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +0 -18
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +0 -3
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +0 -9
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +0 -2
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +0 -12
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +0 -20
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +0 -20
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +0 -10
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +0 -4
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +0 -20
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +0 -11
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +0 -8
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +0 -2
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +0 -11
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +0 -42
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +0 -12
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +0 -43
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +0 -17
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +0 -48
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +0 -18
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +0 -49
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +0 -3
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +0 -9
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +0 -2
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +0 -12
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +0 -20
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +0 -51
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +0 -20
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +0 -51
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +0 -10
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +0 -4
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +0 -20
- /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/client/requests → incorporation/client}/index.js +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests → api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client}/index.js +0 -0
- /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/index.d.ts +0 -0
- /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/index.js +0 -0
- /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js → incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js → incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js} +0 -0
- /package/api/resources/{api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js → db/resources/company/types/IncorporationDetails.js} +0 -0
- /package/api/resources/{api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js → db/resources/company/types/IncorporationDocument.js} +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/index.d.ts +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/index.js +0 -0
- /package/{api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js → dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js} +0 -0
- /package/{api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js → dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js} +0 -0
- /package/dist/api/resources/{api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js → db/resources/company/types/IncorporationDetails.js} +0 -0
- /package/dist/api/resources/{api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js → db/resources/company/types/IncorporationDocument.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./resources";
|
|
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const IncorporationSignupRequest: core.serialization.ObjectSchema<serializers.api.thera.incorporation.IncorporationSignupRequest.Raw, TheraApi.api.thera.incorporation.IncorporationSignupRequest>;
|
|
8
|
+
export declare namespace IncorporationSignupRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
businessName?: string | null;
|
|
11
|
+
state?: string | null;
|
|
12
|
+
firstName?: string | null;
|
|
13
|
+
lastName?: string | null;
|
|
14
|
+
email: string;
|
|
15
|
+
phone?: string | null;
|
|
16
|
+
experience?: string | null;
|
|
17
|
+
progress?: string | null;
|
|
18
|
+
industry?: string | null;
|
|
19
|
+
agent?: string | null;
|
|
20
|
+
packageType?: string | null;
|
|
21
|
+
appointedAgent?: boolean | null;
|
|
22
|
+
registrationDate?: string | null;
|
|
23
|
+
status?: string | null;
|
|
24
|
+
password: string;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -36,16 +36,22 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.IncorporationSignupRequest = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
41
|
+
exports.IncorporationSignupRequest = core.serialization.object({
|
|
42
|
+
businessName: core.serialization.string().optional(),
|
|
43
|
+
state: core.serialization.string().optional(),
|
|
44
|
+
firstName: core.serialization.string().optional(),
|
|
45
|
+
lastName: core.serialization.string().optional(),
|
|
46
|
+
email: core.serialization.string(),
|
|
47
|
+
phone: core.serialization.string().optional(),
|
|
48
|
+
experience: core.serialization.string().optional(),
|
|
49
|
+
progress: core.serialization.string().optional(),
|
|
50
|
+
industry: core.serialization.string().optional(),
|
|
51
|
+
agent: core.serialization.string().optional(),
|
|
52
|
+
packageType: core.serialization.string().optional(),
|
|
53
|
+
appointedAgent: core.serialization.boolean().optional(),
|
|
54
|
+
registrationDate: core.serialization.string().optional(),
|
|
55
|
+
status: core.serialization.string().optional(),
|
|
56
|
+
password: core.serialization.string(),
|
|
51
57
|
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const IncorporationSignupResponse: core.serialization.ObjectSchema<serializers.api.thera.incorporation.IncorporationSignupResponse.Raw, TheraApi.api.thera.incorporation.IncorporationSignupResponse>;
|
|
8
|
+
export declare namespace IncorporationSignupResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
success: boolean;
|
|
11
|
+
userId?: string | null;
|
|
12
|
+
companyId?: string | null;
|
|
13
|
+
error?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -36,8 +36,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.IncorporationSignupResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
-
exports.
|
|
42
|
-
|
|
41
|
+
exports.IncorporationSignupResponse = core.serialization.object({
|
|
42
|
+
success: core.serialization.boolean(),
|
|
43
|
+
userId: core.serialization.string().optional(),
|
|
44
|
+
companyId: core.serialization.string().optional(),
|
|
45
|
+
error: core.serialization.string().optional(),
|
|
43
46
|
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./IncorporationSignupRequest"), exports);
|
|
18
|
+
__exportStar(require("./IncorporationSignupResponse"), exports);
|
package/serialization/resources/api/resources/thera/resources/incorporation/resources/index.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.incorporationApi = void 0;
|
|
40
|
+
exports.incorporationApi = __importStar(require("./incorporationApi"));
|
|
41
|
+
__exportStar(require("./incorporationApi/types"), exports);
|
|
@@ -9,6 +9,7 @@ export * as document from "./document";
|
|
|
9
9
|
export * as email from "./email";
|
|
10
10
|
export * as employment from "./employment";
|
|
11
11
|
export * as eor from "./eor";
|
|
12
|
+
export * as incorporation from "./incorporation";
|
|
12
13
|
export * as misc from "./misc";
|
|
13
14
|
export * as payroll from "./payroll";
|
|
14
15
|
export * as timeoff from "./timeoff";
|
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.user = exports.tp = exports.timetracking = exports.timeoff = exports.payroll = exports.misc = exports.eor = exports.employment = exports.email = exports.document = exports.disbursement = exports.contractor = exports.company = exports.common = exports.bridge = exports.bank = exports.accounting = void 0;
|
|
36
|
+
exports.user = exports.tp = exports.timetracking = exports.timeoff = exports.payroll = exports.misc = exports.incorporation = exports.eor = exports.employment = exports.email = exports.document = exports.disbursement = exports.contractor = exports.company = exports.common = exports.bridge = exports.bank = exports.accounting = void 0;
|
|
37
37
|
exports.accounting = __importStar(require("./accounting"));
|
|
38
38
|
exports.bank = __importStar(require("./bank"));
|
|
39
39
|
exports.bridge = __importStar(require("./bridge"));
|
|
@@ -45,6 +45,7 @@ exports.document = __importStar(require("./document"));
|
|
|
45
45
|
exports.email = __importStar(require("./email"));
|
|
46
46
|
exports.employment = __importStar(require("./employment"));
|
|
47
47
|
exports.eor = __importStar(require("./eor"));
|
|
48
|
+
exports.incorporation = __importStar(require("./incorporation"));
|
|
48
49
|
exports.misc = __importStar(require("./misc"));
|
|
49
50
|
exports.payroll = __importStar(require("./payroll"));
|
|
50
51
|
exports.timeoff = __importStar(require("./timeoff"));
|
|
@@ -2,6 +2,3 @@ export * as offcycleApi from "./offcycleApi";
|
|
|
2
2
|
export * from "./offcycleApi/types";
|
|
3
3
|
export * as oncycleApi from "./oncycleApi";
|
|
4
4
|
export * from "./oncycleApi/types";
|
|
5
|
-
export * as payscheduleApi from "./payscheduleApi";
|
|
6
|
-
export * from "./payscheduleApi/types";
|
|
7
|
-
export * from "./payscheduleApi/client/requests";
|
|
@@ -36,11 +36,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.oncycleApi = exports.offcycleApi = void 0;
|
|
40
40
|
exports.offcycleApi = __importStar(require("./offcycleApi"));
|
|
41
41
|
__exportStar(require("./offcycleApi/types"), exports);
|
|
42
42
|
exports.oncycleApi = __importStar(require("./oncycleApi"));
|
|
43
43
|
__exportStar(require("./oncycleApi/types"), exports);
|
|
44
|
-
exports.payscheduleApi = __importStar(require("./payscheduleApi"));
|
|
45
|
-
__exportStar(require("./payscheduleApi/types"), exports);
|
|
46
|
-
__exportStar(require("./payscheduleApi/client/requests"), exports);
|
|
@@ -5,7 +5,7 @@ import * as serializers from "../../../../../../../../../index";
|
|
|
5
5
|
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../../../core";
|
|
7
7
|
import { OnCycleChecksResponse } from "../types/OnCycleChecksResponse";
|
|
8
|
-
export declare const Response: core.serialization.Schema<serializers.api.thera.payroll.oncycleApi.getOnCycleChecks.Response.Raw, TheraApi.api.thera.payroll.OnCycleChecksResponse
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.api.thera.payroll.oncycleApi.getOnCycleChecks.Response.Raw, TheraApi.api.thera.payroll.OnCycleChecksResponse | undefined>;
|
|
9
9
|
export declare namespace Response {
|
|
10
|
-
type Raw = OnCycleChecksResponse.Raw
|
|
10
|
+
type Raw = OnCycleChecksResponse.Raw | null | undefined;
|
|
11
11
|
}
|
|
@@ -2,41 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
6
|
exports.Response = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
7
|
const OnCycleChecksResponse_1 = require("../types/OnCycleChecksResponse");
|
|
42
|
-
exports.Response =
|
|
8
|
+
exports.Response = OnCycleChecksResponse_1.OnCycleChecksResponse.optional();
|
|
@@ -33,6 +33,5 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.getOnCycleChecks = void 0;
|
|
37
37
|
exports.getOnCycleChecks = __importStar(require("./getOnCycleChecks"));
|
|
38
|
-
exports.getOnCycleCheckDetails = __importStar(require("./getOnCycleCheckDetails"));
|
|
@@ -7,7 +7,6 @@ import * as core from "../../../../../../../../../../core";
|
|
|
7
7
|
export declare const OnCycleChecksResponse: core.serialization.ObjectSchema<serializers.api.thera.payroll.OnCycleChecksResponse.Raw, TheraApi.api.thera.payroll.OnCycleChecksResponse>;
|
|
8
8
|
export declare namespace OnCycleChecksResponse {
|
|
9
9
|
interface Raw {
|
|
10
|
-
checkPayrollId: string;
|
|
11
10
|
checkPayrollStatus: string;
|
|
12
11
|
checkItemPayDate: string;
|
|
13
12
|
checkItemIdByContractId: Record<string, string>;
|
|
@@ -39,7 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.OnCycleChecksResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
41
|
exports.OnCycleChecksResponse = core.serialization.object({
|
|
42
|
-
checkPayrollId: core.serialization.string(),
|
|
43
42
|
checkPayrollStatus: core.serialization.string(),
|
|
44
43
|
checkItemPayDate: core.serialization.string(),
|
|
45
44
|
checkItemIdByContractId: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
@@ -16,6 +16,7 @@ import { TpCompanyInformation } from "./TpCompanyInformation";
|
|
|
16
16
|
import { MercoaCompanyDetails } from "./MercoaCompanyDetails";
|
|
17
17
|
import { CompanyAccountingInformation } from "./CompanyAccountingInformation";
|
|
18
18
|
import { CompanyBankingDetails } from "./CompanyBankingDetails";
|
|
19
|
+
import { IncorporationDetails } from "./IncorporationDetails";
|
|
19
20
|
export declare const Company: core.serialization.ObjectSchema<serializers.db.Company.Raw, TheraApi.db.Company>;
|
|
20
21
|
export declare namespace Company {
|
|
21
22
|
interface Raw {
|
|
@@ -50,5 +51,6 @@ export declare namespace Company {
|
|
|
50
51
|
mercoaCompanyDetails?: MercoaCompanyDetails.Raw | null;
|
|
51
52
|
companyAccountingInformation?: CompanyAccountingInformation.Raw | null;
|
|
52
53
|
companyBankingDetails?: CompanyBankingDetails.Raw | null;
|
|
54
|
+
incorporationDetails?: IncorporationDetails.Raw | null;
|
|
53
55
|
}
|
|
54
56
|
}
|
|
@@ -50,6 +50,7 @@ const TpCompanyInformation_1 = require("./TpCompanyInformation");
|
|
|
50
50
|
const MercoaCompanyDetails_1 = require("./MercoaCompanyDetails");
|
|
51
51
|
const CompanyAccountingInformation_1 = require("./CompanyAccountingInformation");
|
|
52
52
|
const CompanyBankingDetails_1 = require("./CompanyBankingDetails");
|
|
53
|
+
const IncorporationDetails_1 = require("./IncorporationDetails");
|
|
53
54
|
exports.Company = core.serialization.object({
|
|
54
55
|
companyId: core.serialization.property("companyID", core.serialization.string()),
|
|
55
56
|
companyName: core.serialization.string(),
|
|
@@ -82,4 +83,5 @@ exports.Company = core.serialization.object({
|
|
|
82
83
|
mercoaCompanyDetails: MercoaCompanyDetails_1.MercoaCompanyDetails.optional(),
|
|
83
84
|
companyAccountingInformation: CompanyAccountingInformation_1.CompanyAccountingInformation.optional(),
|
|
84
85
|
companyBankingDetails: CompanyBankingDetails_1.CompanyBankingDetails.optional(),
|
|
86
|
+
incorporationDetails: IncorporationDetails_1.IncorporationDetails.optional(),
|
|
85
87
|
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { IncorporationDocument } from "./IncorporationDocument";
|
|
8
|
+
export declare const IncorporationDetails: core.serialization.ObjectSchema<serializers.db.IncorporationDetails.Raw, TheraApi.db.IncorporationDetails>;
|
|
9
|
+
export declare namespace IncorporationDetails {
|
|
10
|
+
interface Raw {
|
|
11
|
+
incorporationId: string;
|
|
12
|
+
state?: string | null;
|
|
13
|
+
registrationDate: string;
|
|
14
|
+
appointedAgent: boolean;
|
|
15
|
+
experience?: string | null;
|
|
16
|
+
progress?: string | null;
|
|
17
|
+
industry?: string | null;
|
|
18
|
+
agent?: string | null;
|
|
19
|
+
packageType?: string | null;
|
|
20
|
+
status?: string | null;
|
|
21
|
+
phone?: string | null;
|
|
22
|
+
documents?: IncorporationDocument.Raw[] | null;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -36,8 +36,20 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
exports.IncorporationDetails = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const IncorporationDocument_1 = require("./IncorporationDocument");
|
|
42
|
+
exports.IncorporationDetails = core.serialization.object({
|
|
43
|
+
incorporationId: core.serialization.string(),
|
|
44
|
+
state: core.serialization.string().optional(),
|
|
45
|
+
registrationDate: core.serialization.string(),
|
|
46
|
+
appointedAgent: core.serialization.boolean(),
|
|
47
|
+
experience: core.serialization.string().optional(),
|
|
48
|
+
progress: core.serialization.string().optional(),
|
|
49
|
+
industry: core.serialization.string().optional(),
|
|
50
|
+
agent: core.serialization.string().optional(),
|
|
51
|
+
packageType: core.serialization.string().optional(),
|
|
52
|
+
status: core.serialization.string().optional(),
|
|
53
|
+
phone: core.serialization.string().optional(),
|
|
54
|
+
documents: core.serialization.list(IncorporationDocument_1.IncorporationDocument).optional(),
|
|
43
55
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const IncorporationDocument: core.serialization.ObjectSchema<serializers.db.IncorporationDocument.Raw, TheraApi.db.IncorporationDocument>;
|
|
8
|
+
export declare namespace IncorporationDocument {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
s3Key: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -36,6 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
exports.
|
|
39
|
+
exports.IncorporationDocument = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.IncorporationDocument = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
s3Key: core.serialization.string(),
|
|
44
|
+
});
|
|
@@ -16,7 +16,6 @@ export declare namespace W2Payroll {
|
|
|
16
16
|
migrationRequired: boolean;
|
|
17
17
|
numberOfEmployeesToMigrate?: number | null;
|
|
18
18
|
payFrequency: CompanyPayFrequency.Raw;
|
|
19
|
-
checkPayScheduleIdByUserId: Record<string, string[]>;
|
|
20
19
|
lastSubscriptionPayDate: string;
|
|
21
20
|
autopilotOn: boolean;
|
|
22
21
|
activePaymentMethodId?: string | null;
|
|
@@ -48,7 +48,6 @@ exports.W2Payroll = core.serialization.object({
|
|
|
48
48
|
migrationRequired: core.serialization.boolean(),
|
|
49
49
|
numberOfEmployeesToMigrate: core.serialization.number().optional(),
|
|
50
50
|
payFrequency: CompanyPayFrequency_1.CompanyPayFrequency,
|
|
51
|
-
checkPayScheduleIdByUserId: core.serialization.record(core.serialization.string(), core.serialization.set(core.serialization.string())),
|
|
52
51
|
lastSubscriptionPayDate: core.serialization.string(),
|
|
53
52
|
autopilotOn: core.serialization.boolean(),
|
|
54
53
|
activePaymentMethodId: core.serialization.string().optional(),
|
|
@@ -58,3 +58,5 @@ __exportStar(require("./AddCompanyBeneficiary"), exports);
|
|
|
58
58
|
__exportStar(require("./CompanyBeneficiary"), exports);
|
|
59
59
|
__exportStar(require("./CompanyBankingDetails"), exports);
|
|
60
60
|
__exportStar(require("./CompanyLegalStructure"), exports);
|
|
61
|
+
__exportStar(require("./IncorporationDetails"), exports);
|
|
62
|
+
__exportStar(require("./IncorporationDocument"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.1-
|
|
1
|
+
export declare const SDK_VERSION = "0.0.1-prerelease3034-dev-3";
|
package/version.js
CHANGED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as core from "../../../../../../../../../../core";
|
|
5
|
-
import * as TheraApi from "../../../../../../../../../index";
|
|
6
|
-
export declare namespace PayscheduleApi {
|
|
7
|
-
interface Options {
|
|
8
|
-
environment: core.Supplier<string>;
|
|
9
|
-
/** Specify a custom URL to connect the client to. */
|
|
10
|
-
baseUrl?: core.Supplier<string>;
|
|
11
|
-
token?: core.Supplier<core.BearerToken | undefined>;
|
|
12
|
-
}
|
|
13
|
-
interface RequestOptions {
|
|
14
|
-
/** The maximum time to wait for a response in seconds. */
|
|
15
|
-
timeoutInSeconds?: number;
|
|
16
|
-
/** The number of times to retry the request. Defaults to 2. */
|
|
17
|
-
maxRetries?: number;
|
|
18
|
-
/** A hook to abort the request. */
|
|
19
|
-
abortSignal?: AbortSignal;
|
|
20
|
-
/** Additional headers to include in the request. */
|
|
21
|
-
headers?: Record<string, string>;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
export declare class PayscheduleApi {
|
|
25
|
-
protected readonly _options: PayscheduleApi.Options;
|
|
26
|
-
constructor(_options: PayscheduleApi.Options);
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* @param {string} companyId
|
|
31
|
-
* @param {TheraApi.api.thera.payroll.CreatePayScheduleRequest} request
|
|
32
|
-
* @param {PayscheduleApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* await client.api.thera.payroll.payscheduleApi.createW2PaySchedule("string", {
|
|
36
|
-
* name: "string",
|
|
37
|
-
* payFrequency: "weekly",
|
|
38
|
-
* firstPayDate: "2023-01-15",
|
|
39
|
-
* secondPayDate: "2023-01-15",
|
|
40
|
-
* firstPeriodEndDate: "2023-01-15"
|
|
41
|
-
* })
|
|
42
|
-
*/
|
|
43
|
-
createW2PaySchedule(companyId: string, request: TheraApi.api.thera.payroll.CreatePayScheduleRequest, requestOptions?: PayscheduleApi.RequestOptions): Promise<TheraApi.api.thera.payroll.GetPayScheduleResponse>;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* @param {string} companyId
|
|
48
|
-
* @param {string} checkPayScheduleId
|
|
49
|
-
* @param {PayscheduleApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
50
|
-
*
|
|
51
|
-
* @example
|
|
52
|
-
* await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string")
|
|
53
|
-
*/
|
|
54
|
-
getW2PaySchedule(companyId: string, checkPayScheduleId: string, requestOptions?: PayscheduleApi.RequestOptions): Promise<TheraApi.api.thera.payroll.GetPayScheduleResponse>;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
* @param {string} companyId
|
|
59
|
-
* @param {PayscheduleApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
60
|
-
*
|
|
61
|
-
* @example
|
|
62
|
-
* await client.api.thera.payroll.payscheduleApi.listW2PaySchedules("string")
|
|
63
|
-
*/
|
|
64
|
-
listW2PaySchedules(companyId: string, requestOptions?: PayscheduleApi.RequestOptions): Promise<TheraApi.api.thera.payroll.GetPayScheduleResponse[]>;
|
|
65
|
-
/**
|
|
66
|
-
* Delete W2 Pay Schedule in Check by setting the metadata flag, as we can't delete Check W2 Pay Schedule by API. https://support.checkhq.com/hc/en-us/articles/24948436554263-Pay-Schedules
|
|
67
|
-
*
|
|
68
|
-
* @param {string} companyId
|
|
69
|
-
* @param {string} checkPayScheduleId
|
|
70
|
-
* @param {PayscheduleApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
71
|
-
*
|
|
72
|
-
* @example
|
|
73
|
-
* await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "string")
|
|
74
|
-
*/
|
|
75
|
-
deleteW2PaySchedule(companyId: string, checkPayScheduleId: string, requestOptions?: PayscheduleApi.RequestOptions): Promise<void>;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* @param {string} companyId
|
|
80
|
-
* @param {string} checkPayScheduleId
|
|
81
|
-
* @param {TheraApi.api.thera.payroll.UpdatePayScheduleRequest} request
|
|
82
|
-
* @param {PayscheduleApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
83
|
-
*
|
|
84
|
-
* @example
|
|
85
|
-
* await client.api.thera.payroll.payscheduleApi.updateW2PaySchedule("string", "string", {
|
|
86
|
-
* name: "string",
|
|
87
|
-
* payFrequency: "weekly",
|
|
88
|
-
* firstPeriodEndDate: "2023-01-15",
|
|
89
|
-
* firstPayDate: "2023-01-15",
|
|
90
|
-
* secondPayDate: "2023-01-15",
|
|
91
|
-
* metadata: {
|
|
92
|
-
* "key": "value"
|
|
93
|
-
* }
|
|
94
|
-
* })
|
|
95
|
-
*/
|
|
96
|
-
updateW2PaySchedule(companyId: string, checkPayScheduleId: string, request: TheraApi.api.thera.payroll.UpdatePayScheduleRequest, requestOptions?: PayscheduleApi.RequestOptions): Promise<TheraApi.api.thera.payroll.GetPayScheduleResponse>;
|
|
97
|
-
/**
|
|
98
|
-
* If user ID is not provided in the request, it'll use the old value in DB. The response body always return the schedules for all employees
|
|
99
|
-
*
|
|
100
|
-
* @param {string} companyId
|
|
101
|
-
* @param {string} checkPayScheduleId
|
|
102
|
-
* @param {TheraApi.api.thera.payroll.AssignW2EmployeeToPayScheduleRequest} request
|
|
103
|
-
* @param {PayscheduleApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
104
|
-
*
|
|
105
|
-
* @example
|
|
106
|
-
* await client.api.thera.payroll.payscheduleApi.assignW2EmployeesPaySchedule("string", "string", {
|
|
107
|
-
* checkPayScheduleIdByUserId: {
|
|
108
|
-
* "string": "string"
|
|
109
|
-
* }
|
|
110
|
-
* })
|
|
111
|
-
*/
|
|
112
|
-
assignW2EmployeesPaySchedule(companyId: string, checkPayScheduleId: string, request: TheraApi.api.thera.payroll.AssignW2EmployeeToPayScheduleRequest, requestOptions?: PayscheduleApi.RequestOptions): Promise<TheraApi.api.thera.payroll.AssignW2EmployeeToPayScheduleResponse>;
|
|
113
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
114
|
-
}
|