@thera-hr/api-sdk 0.0.1-prerelease3033-dev-anthony → 0.0.1-prerelease3033-staging
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/companyApi/types/CreateCompanyRequest.d.ts +2 -0
- 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 +95 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +269 -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/CheckoutSessionRequest.d.ts +11 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +26 -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/PaymentItemResponse.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +15 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/types/index.js +6 -4
- 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.d.ts +40 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
- 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 +24 -0
- package/api/resources/db/resources/company/types/IncorporationDocument.d.ts +7 -0
- package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
- package/api/resources/db/resources/company/types/W2Payroll.d.ts +0 -2
- package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
- package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
- package/api/resources/db/resources/company/types/index.d.ts +3 -0
- package/api/resources/db/resources/company/types/index.js +3 -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/companyApi/types/CreateCompanyRequest.d.ts +2 -0
- 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 +95 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +269 -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/CheckoutSessionRequest.d.ts +11 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +26 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +5 -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/IncorporationSignupResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +15 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/types/index.js +6 -4
- 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.d.ts +40 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
- 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 +24 -0
- package/dist/api/resources/db/resources/company/types/IncorporationDetails.js +5 -0
- package/dist/api/resources/db/resources/company/types/IncorporationDocument.d.ts +7 -0
- package/dist/api/resources/db/resources/company/types/IncorporationDocument.js +5 -0
- package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
- package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +0 -2
- package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
- package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
- package/dist/api/resources/db/resources/company/types/index.d.ts +3 -0
- package/dist/api/resources/db/resources/company/types/index.js +3 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +1 -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/CheckoutSessionRequest.d.ts +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js +48 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +13 -0
- package/{serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js → dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js} +5 -3
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +32 -0
- package/dist/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js → incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js} +23 -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/PaymentItemResponse.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js → incorporation/resources/incorporationApi/types/PaymentItemResponse.js} +5 -2
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +21 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.js +52 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +6 -0
- package/dist/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/types/index.js +6 -4
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/index.js +41 -0
- 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/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js → tp/resources/tpApi/types/WithdrawalWire.js} +8 -11
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
- 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 +31 -0
- package/dist/serialization/resources/{api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js → db/resources/company/types/IncorporationDetails.js} +23 -9
- package/dist/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +13 -0
- package/dist/serialization/resources/db/resources/company/types/IncorporationDocument.js +44 -0
- package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
- package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
- 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/WithdrawalTpBankInfo.d.ts +16 -0
- package/dist/serialization/resources/{api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js → db/resources/company/types/WithdrawalTpBankInfo.js} +8 -4
- package/dist/serialization/resources/db/resources/company/types/index.d.ts +3 -0
- package/dist/serialization/resources/db/resources/company/types/index.js +3 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +236 -440
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +1 -0
- 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/CheckoutSessionRequest.d.ts +17 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js +48 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +13 -0
- package/{dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js → serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js} +5 -3
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +32 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +63 -0
- 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/PaymentItemResponse.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js → incorporation/resources/incorporationApi/types/PaymentItemResponse.js} +5 -2
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +21 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.js +52 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +6 -0
- package/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/types/index.js +6 -4
- 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/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
- package/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js → tp/resources/tpApi/types/WithdrawalWire.js} +8 -11
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
- 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 +31 -0
- package/{dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js → serialization/resources/db/resources/company/types/IncorporationDetails.js} +23 -10
- package/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +13 -0
- package/serialization/resources/db/resources/company/types/IncorporationDocument.js +44 -0
- package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
- package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
- 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/WithdrawalTpBankInfo.d.ts +16 -0
- package/serialization/resources/{api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js → db/resources/company/types/WithdrawalTpBankInfo.js} +8 -4
- package/serialization/resources/db/resources/company/types/index.d.ts +3 -0
- package/serialization/resources/db/resources/company/types/index.js +3 -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/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/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/CheckGetPayScheduleResponse.d.ts +0 -14
- 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/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/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/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/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/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +0 -12
- 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/PaySchedulePayFrequency.d.ts +0 -10
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +0 -4
- /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/CheckoutSessionRequest.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js → incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js → incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js → incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js → incorporation/resources/incorporationApi/types/PaymentItemResponse.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js → incorporation/resources/incorporationApi/types/PaymentStatusResponse.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js → api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js → api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js → api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js → api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js → api/resources/db/resources/company/types/IncorporationDetails.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js → api/resources/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
|
@@ -57,4 +57,5 @@ exports.CreateCompanyRequest = core.serialization.object({
|
|
|
57
57
|
live: core.serialization.boolean().optional(),
|
|
58
58
|
test: core.serialization.boolean().optional(),
|
|
59
59
|
isBankingCompany: core.serialization.boolean().optional(),
|
|
60
|
+
isIncorporationCompany: core.serialization.boolean().optional(),
|
|
60
61
|
});
|
|
@@ -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,17 @@
|
|
|
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 CheckoutSessionRequest: core.serialization.ObjectSchema<serializers.api.thera.incorporation.CheckoutSessionRequest.Raw, TheraApi.api.thera.incorporation.CheckoutSessionRequest>;
|
|
8
|
+
export declare namespace CheckoutSessionRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
amount: number;
|
|
11
|
+
productName: string;
|
|
12
|
+
currency: string;
|
|
13
|
+
successUrl: string;
|
|
14
|
+
cancelUrl: string;
|
|
15
|
+
metadata: Record<string, string>;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CheckoutSessionRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.CheckoutSessionRequest = core.serialization.object({
|
|
42
|
+
amount: core.serialization.number(),
|
|
43
|
+
productName: core.serialization.string(),
|
|
44
|
+
currency: core.serialization.string(),
|
|
45
|
+
successUrl: core.serialization.string(),
|
|
46
|
+
cancelUrl: core.serialization.string(),
|
|
47
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
48
|
+
});
|
|
@@ -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 CheckoutSessionResponse: core.serialization.ObjectSchema<serializers.api.thera.incorporation.CheckoutSessionResponse.Raw, TheraApi.api.thera.incorporation.CheckoutSessionResponse>;
|
|
8
|
+
export declare namespace CheckoutSessionResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
sessionId: string;
|
|
11
|
+
checkoutUrl: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.CheckoutSessionResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
exports.CheckoutSessionResponse = core.serialization.object({
|
|
42
|
+
sessionId: core.serialization.string(),
|
|
43
|
+
checkoutUrl: core.serialization.string(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
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 { Address } from "../../../../common/resources/common/types/Address";
|
|
8
|
+
export declare const IncorporationSignupRequest: core.serialization.ObjectSchema<serializers.api.thera.incorporation.IncorporationSignupRequest.Raw, TheraApi.api.thera.incorporation.IncorporationSignupRequest>;
|
|
9
|
+
export declare namespace IncorporationSignupRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
businessName?: string | null;
|
|
12
|
+
state?: string | null;
|
|
13
|
+
firstName?: string | null;
|
|
14
|
+
lastName?: string | null;
|
|
15
|
+
email: string;
|
|
16
|
+
phone?: string | null;
|
|
17
|
+
experience?: string | null;
|
|
18
|
+
progress?: string | null;
|
|
19
|
+
industry?: string | null;
|
|
20
|
+
agent?: string | null;
|
|
21
|
+
packageType?: string | null;
|
|
22
|
+
dbaService?: boolean | null;
|
|
23
|
+
worryFreeCompliance?: boolean | null;
|
|
24
|
+
einDocuments?: string[] | null;
|
|
25
|
+
tradeMarkCompany?: boolean | null;
|
|
26
|
+
appointedAgent?: boolean | null;
|
|
27
|
+
registrationDate?: string | null;
|
|
28
|
+
status?: string | null;
|
|
29
|
+
userPersonalAddress?: Address.Raw | null;
|
|
30
|
+
password: string;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.IncorporationSignupRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const Address_1 = require("../../../../common/resources/common/types/Address");
|
|
42
|
+
exports.IncorporationSignupRequest = core.serialization.object({
|
|
43
|
+
businessName: core.serialization.string().optional(),
|
|
44
|
+
state: core.serialization.string().optional(),
|
|
45
|
+
firstName: core.serialization.string().optional(),
|
|
46
|
+
lastName: core.serialization.string().optional(),
|
|
47
|
+
email: core.serialization.string(),
|
|
48
|
+
phone: core.serialization.string().optional(),
|
|
49
|
+
experience: core.serialization.string().optional(),
|
|
50
|
+
progress: core.serialization.string().optional(),
|
|
51
|
+
industry: core.serialization.string().optional(),
|
|
52
|
+
agent: core.serialization.string().optional(),
|
|
53
|
+
packageType: core.serialization.string().optional(),
|
|
54
|
+
dbaService: core.serialization.boolean().optional(),
|
|
55
|
+
worryFreeCompliance: core.serialization.boolean().optional(),
|
|
56
|
+
einDocuments: core.serialization.list(core.serialization.string()).optional(),
|
|
57
|
+
tradeMarkCompany: core.serialization.boolean().optional(),
|
|
58
|
+
appointedAgent: core.serialization.boolean().optional(),
|
|
59
|
+
registrationDate: core.serialization.string().optional(),
|
|
60
|
+
status: core.serialization.string().optional(),
|
|
61
|
+
userPersonalAddress: Address_1.Address.optional(),
|
|
62
|
+
password: core.serialization.string(),
|
|
63
|
+
});
|
|
@@ -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,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 PaymentItemResponse: core.serialization.ObjectSchema<serializers.api.thera.incorporation.PaymentItemResponse.Raw, TheraApi.api.thera.incorporation.PaymentItemResponse>;
|
|
8
|
+
export declare namespace PaymentItemResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
value: number;
|
|
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.
|
|
39
|
+
exports.PaymentItemResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
-
exports.
|
|
41
|
+
exports.PaymentItemResponse = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
value: core.serialization.number(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { PaymentItemResponse } from "./PaymentItemResponse";
|
|
8
|
+
export declare const PaymentStatusResponse: core.serialization.ObjectSchema<serializers.api.thera.incorporation.PaymentStatusResponse.Raw, TheraApi.api.thera.incorporation.PaymentStatusResponse>;
|
|
9
|
+
export declare namespace PaymentStatusResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
sessionId: string;
|
|
12
|
+
paymentSuccessful: boolean;
|
|
13
|
+
paymentStatus: string;
|
|
14
|
+
sessionStatus: string;
|
|
15
|
+
amountTotal?: number | null;
|
|
16
|
+
currency?: string | null;
|
|
17
|
+
paymentIntentId?: string | null;
|
|
18
|
+
customerEmail?: string | null;
|
|
19
|
+
items?: PaymentItemResponse.Raw[] | null;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.PaymentStatusResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const PaymentItemResponse_1 = require("./PaymentItemResponse");
|
|
42
|
+
exports.PaymentStatusResponse = core.serialization.object({
|
|
43
|
+
sessionId: core.serialization.string(),
|
|
44
|
+
paymentSuccessful: core.serialization.boolean(),
|
|
45
|
+
paymentStatus: core.serialization.string(),
|
|
46
|
+
sessionStatus: core.serialization.string(),
|
|
47
|
+
amountTotal: core.serialization.number().optional(),
|
|
48
|
+
currency: core.serialization.string().optional(),
|
|
49
|
+
paymentIntentId: core.serialization.string().optional(),
|
|
50
|
+
customerEmail: core.serialization.string().optional(),
|
|
51
|
+
items: core.serialization.list(PaymentItemResponse_1.PaymentItemResponse).optional(),
|
|
52
|
+
});
|
|
@@ -14,7 +14,9 @@ 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("./
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./IncorporationSignupRequest"), exports);
|
|
18
|
+
__exportStar(require("./IncorporationSignupResponse"), exports);
|
|
19
|
+
__exportStar(require("./CheckoutSessionRequest"), exports);
|
|
20
|
+
__exportStar(require("./CheckoutSessionResponse"), exports);
|
|
21
|
+
__exportStar(require("./PaymentItemResponse"), exports);
|
|
22
|
+
__exportStar(require("./PaymentStatusResponse"), 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()),
|
|
@@ -0,0 +1,14 @@
|
|
|
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 WithdrawalAch: core.serialization.ObjectSchema<serializers.api.thera.tp.WithdrawalAch.Raw, TheraApi.api.thera.tp.WithdrawalAch>;
|
|
8
|
+
export declare namespace WithdrawalAch {
|
|
9
|
+
interface Raw {
|
|
10
|
+
account_number: string;
|
|
11
|
+
account_type: string;
|
|
12
|
+
routing_number: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WithdrawalAch = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.WithdrawalAch = core.serialization.object({
|
|
42
|
+
accountNumber: core.serialization.property("account_number", core.serialization.string()),
|
|
43
|
+
accountType: core.serialization.property("account_type", core.serialization.string()),
|
|
44
|
+
routingNumber: core.serialization.property("routing_number", core.serialization.string()),
|
|
45
|
+
});
|