@thera-hr/api-sdk 0.0.1-prerelease3033-dev-2 → 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.d.ts +1 -27
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +35 -155
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -5
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
- 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/client/index.js +2 -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/client/index.js +2 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.js +18 -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/PaymentItemResponse.js +5 -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/PaymentStatusResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.js +22 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/index.js +41 -0
- 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/resources/offcycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- 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/WithdrawalAch.js +5 -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/WithdrawalTheraCash.js +5 -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/WithdrawalWire.js +5 -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/WithdrawalWireAddress.js +5 -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/IncorporationDetails.js +5 -0
- package/api/resources/db/resources/company/types/IncorporationDocument.d.ts +7 -0
- package/api/resources/db/resources/company/types/IncorporationDocument.js +5 -0
- package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
- 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.d.ts +1 -27
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +35 -155
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
- 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/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.js +18 -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/incorporation/resources/incorporationApi/types/index.js +22 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.js +41 -0
- 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/resources/offcycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- 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/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/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
- 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/serialization/resources/api/resources/thera/resources/incorporation/index.js +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.js +17 -0
- 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/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js +44 -0
- 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/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +63 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +15 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js +46 -0
- package/dist/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.d.ts → incorporation/resources/incorporationApi/types/PaymentItemResponse.d.ts} +4 -3
- package/dist/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → incorporation/resources/incorporationApi/types/PaymentItemResponse.js} +4 -3
- 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/incorporation/resources/incorporationApi/types/index.js +22 -0
- 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/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/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
- 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/db/resources/company/types/IncorporationDetails.js +62 -0
- 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/WithdrawalTpBankInfo.d.ts +16 -0
- package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
- 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 +328 -146
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
- 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/serialization/resources/api/resources/thera/resources/incorporation/index.js +17 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.js +17 -0
- 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/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js +44 -0
- 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/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js +46 -0
- package/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.d.ts → incorporation/resources/incorporationApi/types/PaymentItemResponse.d.ts} +4 -3
- package/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → incorporation/resources/incorporationApi/types/PaymentItemResponse.js} +4 -3
- 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/incorporation/resources/incorporationApi/types/index.js +22 -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/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/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
- 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/serialization/resources/db/resources/company/types/IncorporationDetails.js +62 -0
- 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/WithdrawalTpBankInfo.d.ts +16 -0
- package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
- 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/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -6
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -6
- /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js → incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js → api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.js → api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js} +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
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.WithdrawalTpBankInfo = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.WithdrawalTpBankInfo = core.serialization.object({
|
|
42
|
+
counterPartyId: core.serialization.string(),
|
|
43
|
+
accountNumber: core.serialization.string(),
|
|
44
|
+
routingNumber: core.serialization.string(),
|
|
45
|
+
type: core.serialization.string(),
|
|
46
|
+
nameOnAccount: core.serialization.string(),
|
|
47
|
+
});
|
|
@@ -5,6 +5,7 @@ export * from "./CompanyAccountingSyncSetting";
|
|
|
5
5
|
export * from "./TheraBillingType";
|
|
6
6
|
export * from "./TpCompanyInformation";
|
|
7
7
|
export * from "./TpCompanyOnboardingStage";
|
|
8
|
+
export * from "./WithdrawalTpBankInfo";
|
|
8
9
|
export * from "./TpDepositAccount";
|
|
9
10
|
export * from "./TpDisbursementAccount";
|
|
10
11
|
export * from "./TpAccountInfo";
|
|
@@ -42,3 +43,5 @@ export * from "./AddCompanyBeneficiary";
|
|
|
42
43
|
export * from "./CompanyBeneficiary";
|
|
43
44
|
export * from "./CompanyBankingDetails";
|
|
44
45
|
export * from "./CompanyLegalStructure";
|
|
46
|
+
export * from "./IncorporationDetails";
|
|
47
|
+
export * from "./IncorporationDocument";
|
|
@@ -21,6 +21,7 @@ __exportStar(require("./CompanyAccountingSyncSetting"), exports);
|
|
|
21
21
|
__exportStar(require("./TheraBillingType"), exports);
|
|
22
22
|
__exportStar(require("./TpCompanyInformation"), exports);
|
|
23
23
|
__exportStar(require("./TpCompanyOnboardingStage"), exports);
|
|
24
|
+
__exportStar(require("./WithdrawalTpBankInfo"), exports);
|
|
24
25
|
__exportStar(require("./TpDepositAccount"), exports);
|
|
25
26
|
__exportStar(require("./TpDisbursementAccount"), exports);
|
|
26
27
|
__exportStar(require("./TpAccountInfo"), exports);
|
|
@@ -58,3 +59,5 @@ __exportStar(require("./AddCompanyBeneficiary"), exports);
|
|
|
58
59
|
__exportStar(require("./CompanyBeneficiary"), exports);
|
|
59
60
|
__exportStar(require("./CompanyBankingDetails"), exports);
|
|
60
61
|
__exportStar(require("./CompanyLegalStructure"), exports);
|
|
62
|
+
__exportStar(require("./IncorporationDetails"), exports);
|
|
63
|
+
__exportStar(require("./IncorporationDocument"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.1-prerelease3033-
|
|
1
|
+
export declare const SDK_VERSION = "0.0.1-prerelease3033-staging";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -2499,8 +2499,6 @@ await client.api.thera.bank.bankApi.getWorkerWithdrawalDeliveryEstimate("string"
|
|
|
2499
2499
|
await client.api.thera.bank.bankApi.getPayInHistory("string", {
|
|
2500
2500
|
status: "PENDING",
|
|
2501
2501
|
offPlatformOnly: true,
|
|
2502
|
-
pageSize: 1000000,
|
|
2503
|
-
afterCursor: "string",
|
|
2504
2502
|
});
|
|
2505
2503
|
```
|
|
2506
2504
|
|
|
@@ -2967,150 +2965,6 @@ await client.api.thera.bank.bankApi.setAutoApproveInvoiceForTeams("string", {
|
|
|
2967
2965
|
</dl>
|
|
2968
2966
|
</details>
|
|
2969
2967
|
|
|
2970
|
-
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getPaymentByTypeAndId</a>(companyId, paymentId, { ...params }) -> TheraApi.HistoricPayment</code></summary>
|
|
2971
|
-
<dl>
|
|
2972
|
-
<dd>
|
|
2973
|
-
|
|
2974
|
-
#### 📝 Description
|
|
2975
|
-
|
|
2976
|
-
<dl>
|
|
2977
|
-
<dd>
|
|
2978
|
-
|
|
2979
|
-
<dl>
|
|
2980
|
-
<dd>
|
|
2981
|
-
|
|
2982
|
-
Get a specific W2 subscription or EOR payment by its ID. This endpoint is optimized for direct retrieval without pagination concerns.
|
|
2983
|
-
|
|
2984
|
-
</dd>
|
|
2985
|
-
</dl>
|
|
2986
|
-
</dd>
|
|
2987
|
-
</dl>
|
|
2988
|
-
|
|
2989
|
-
#### 🔌 Usage
|
|
2990
|
-
|
|
2991
|
-
<dl>
|
|
2992
|
-
<dd>
|
|
2993
|
-
|
|
2994
|
-
<dl>
|
|
2995
|
-
<dd>
|
|
2996
|
-
|
|
2997
|
-
```typescript
|
|
2998
|
-
await client.api.thera.bank.bankApi.getPaymentByTypeAndId("string", "string", {
|
|
2999
|
-
paymentType: "string",
|
|
3000
|
-
});
|
|
3001
|
-
```
|
|
3002
|
-
|
|
3003
|
-
</dd>
|
|
3004
|
-
</dl>
|
|
3005
|
-
</dd>
|
|
3006
|
-
</dl>
|
|
3007
|
-
|
|
3008
|
-
#### ⚙️ Parameters
|
|
3009
|
-
|
|
3010
|
-
<dl>
|
|
3011
|
-
<dd>
|
|
3012
|
-
|
|
3013
|
-
<dl>
|
|
3014
|
-
<dd>
|
|
3015
|
-
|
|
3016
|
-
**companyId:** `string`
|
|
3017
|
-
|
|
3018
|
-
</dd>
|
|
3019
|
-
</dl>
|
|
3020
|
-
|
|
3021
|
-
<dl>
|
|
3022
|
-
<dd>
|
|
3023
|
-
|
|
3024
|
-
**paymentId:** `string`
|
|
3025
|
-
|
|
3026
|
-
</dd>
|
|
3027
|
-
</dl>
|
|
3028
|
-
|
|
3029
|
-
<dl>
|
|
3030
|
-
<dd>
|
|
3031
|
-
|
|
3032
|
-
**request:** `TheraApi.api.thera.bank.GetPaymentByTypeRequest`
|
|
3033
|
-
|
|
3034
|
-
</dd>
|
|
3035
|
-
</dl>
|
|
3036
|
-
|
|
3037
|
-
<dl>
|
|
3038
|
-
<dd>
|
|
3039
|
-
|
|
3040
|
-
**requestOptions:** `BankApi.RequestOptions`
|
|
3041
|
-
|
|
3042
|
-
</dd>
|
|
3043
|
-
</dl>
|
|
3044
|
-
</dd>
|
|
3045
|
-
</dl>
|
|
3046
|
-
|
|
3047
|
-
</dd>
|
|
3048
|
-
</dl>
|
|
3049
|
-
</details>
|
|
3050
|
-
|
|
3051
|
-
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getPayInCount</a>(companyId) -> TheraApi.GetPayInCountResponse</code></summary>
|
|
3052
|
-
<dl>
|
|
3053
|
-
<dd>
|
|
3054
|
-
|
|
3055
|
-
#### 📝 Description
|
|
3056
|
-
|
|
3057
|
-
<dl>
|
|
3058
|
-
<dd>
|
|
3059
|
-
|
|
3060
|
-
<dl>
|
|
3061
|
-
<dd>
|
|
3062
|
-
|
|
3063
|
-
Get the total count of pay-ins for a company. This endpoint is optimized for counting large datasets efficiently.
|
|
3064
|
-
|
|
3065
|
-
</dd>
|
|
3066
|
-
</dl>
|
|
3067
|
-
</dd>
|
|
3068
|
-
</dl>
|
|
3069
|
-
|
|
3070
|
-
#### 🔌 Usage
|
|
3071
|
-
|
|
3072
|
-
<dl>
|
|
3073
|
-
<dd>
|
|
3074
|
-
|
|
3075
|
-
<dl>
|
|
3076
|
-
<dd>
|
|
3077
|
-
|
|
3078
|
-
```typescript
|
|
3079
|
-
await client.api.thera.bank.bankApi.getPayInCount("string");
|
|
3080
|
-
```
|
|
3081
|
-
|
|
3082
|
-
</dd>
|
|
3083
|
-
</dl>
|
|
3084
|
-
</dd>
|
|
3085
|
-
</dl>
|
|
3086
|
-
|
|
3087
|
-
#### ⚙️ Parameters
|
|
3088
|
-
|
|
3089
|
-
<dl>
|
|
3090
|
-
<dd>
|
|
3091
|
-
|
|
3092
|
-
<dl>
|
|
3093
|
-
<dd>
|
|
3094
|
-
|
|
3095
|
-
**companyId:** `string`
|
|
3096
|
-
|
|
3097
|
-
</dd>
|
|
3098
|
-
</dl>
|
|
3099
|
-
|
|
3100
|
-
<dl>
|
|
3101
|
-
<dd>
|
|
3102
|
-
|
|
3103
|
-
**requestOptions:** `BankApi.RequestOptions`
|
|
3104
|
-
|
|
3105
|
-
</dd>
|
|
3106
|
-
</dl>
|
|
3107
|
-
</dd>
|
|
3108
|
-
</dl>
|
|
3109
|
-
|
|
3110
|
-
</dd>
|
|
3111
|
-
</dl>
|
|
3112
|
-
</details>
|
|
3113
|
-
|
|
3114
2968
|
## Bridge APIs
|
|
3115
2969
|
|
|
3116
2970
|
<details><summary><code>client.api.thera.bridge.bridgeApi.<a href="/src/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.ts">requestTosLink</a>() -> TheraApi.TosLinkResponse</code></summary>
|
|
@@ -8035,6 +7889,234 @@ await client.api.thera.eor.eorTrackerApi.getLatestEorEmployeeEmailByCompanyId("s
|
|
|
8035
7889
|
</dl>
|
|
8036
7890
|
</details>
|
|
8037
7891
|
|
|
7892
|
+
## Incorporation Integration
|
|
7893
|
+
|
|
7894
|
+
<details><summary><code>client.api.thera.incorporation.incorporationApi.<a href="/src/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.ts">incorporationSignup</a>({ ...params }) -> TheraApi.IncorporationSignupResponse</code></summary>
|
|
7895
|
+
<dl>
|
|
7896
|
+
<dd>
|
|
7897
|
+
|
|
7898
|
+
#### 📝 Description
|
|
7899
|
+
|
|
7900
|
+
<dl>
|
|
7901
|
+
<dd>
|
|
7902
|
+
|
|
7903
|
+
<dl>
|
|
7904
|
+
<dd>
|
|
7905
|
+
|
|
7906
|
+
Create a new user account and company for someone who has incorporated
|
|
7907
|
+
|
|
7908
|
+
</dd>
|
|
7909
|
+
</dl>
|
|
7910
|
+
</dd>
|
|
7911
|
+
</dl>
|
|
7912
|
+
|
|
7913
|
+
#### 🔌 Usage
|
|
7914
|
+
|
|
7915
|
+
<dl>
|
|
7916
|
+
<dd>
|
|
7917
|
+
|
|
7918
|
+
<dl>
|
|
7919
|
+
<dd>
|
|
7920
|
+
|
|
7921
|
+
```typescript
|
|
7922
|
+
await client.api.thera.incorporation.incorporationApi.incorporationSignup({
|
|
7923
|
+
businessName: "string",
|
|
7924
|
+
state: "string",
|
|
7925
|
+
firstName: "string",
|
|
7926
|
+
lastName: "string",
|
|
7927
|
+
email: "string",
|
|
7928
|
+
phone: "string",
|
|
7929
|
+
experience: "string",
|
|
7930
|
+
progress: "string",
|
|
7931
|
+
industry: "string",
|
|
7932
|
+
agent: "string",
|
|
7933
|
+
packageType: "string",
|
|
7934
|
+
dbaService: true,
|
|
7935
|
+
worryFreeCompliance: true,
|
|
7936
|
+
einDocuments: ["string"],
|
|
7937
|
+
tradeMarkCompany: true,
|
|
7938
|
+
appointedAgent: true,
|
|
7939
|
+
registrationDate: "string",
|
|
7940
|
+
status: "string",
|
|
7941
|
+
userPersonalAddress: {
|
|
7942
|
+
city: "string",
|
|
7943
|
+
country: "string",
|
|
7944
|
+
line1: "string",
|
|
7945
|
+
line2: "string",
|
|
7946
|
+
postalCode: "string",
|
|
7947
|
+
state: "string",
|
|
7948
|
+
},
|
|
7949
|
+
password: "string",
|
|
7950
|
+
});
|
|
7951
|
+
```
|
|
7952
|
+
|
|
7953
|
+
</dd>
|
|
7954
|
+
</dl>
|
|
7955
|
+
</dd>
|
|
7956
|
+
</dl>
|
|
7957
|
+
|
|
7958
|
+
#### ⚙️ Parameters
|
|
7959
|
+
|
|
7960
|
+
<dl>
|
|
7961
|
+
<dd>
|
|
7962
|
+
|
|
7963
|
+
<dl>
|
|
7964
|
+
<dd>
|
|
7965
|
+
|
|
7966
|
+
**request:** `TheraApi.IncorporationSignupRequest`
|
|
7967
|
+
|
|
7968
|
+
</dd>
|
|
7969
|
+
</dl>
|
|
7970
|
+
|
|
7971
|
+
<dl>
|
|
7972
|
+
<dd>
|
|
7973
|
+
|
|
7974
|
+
**requestOptions:** `IncorporationApi.RequestOptions`
|
|
7975
|
+
|
|
7976
|
+
</dd>
|
|
7977
|
+
</dl>
|
|
7978
|
+
</dd>
|
|
7979
|
+
</dl>
|
|
7980
|
+
|
|
7981
|
+
</dd>
|
|
7982
|
+
</dl>
|
|
7983
|
+
</details>
|
|
7984
|
+
|
|
7985
|
+
<details><summary><code>client.api.thera.incorporation.incorporationApi.<a href="/src/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.ts">createCheckoutSession</a>({ ...params }) -> TheraApi.CheckoutSessionResponse</code></summary>
|
|
7986
|
+
<dl>
|
|
7987
|
+
<dd>
|
|
7988
|
+
|
|
7989
|
+
#### 📝 Description
|
|
7990
|
+
|
|
7991
|
+
<dl>
|
|
7992
|
+
<dd>
|
|
7993
|
+
|
|
7994
|
+
<dl>
|
|
7995
|
+
<dd>
|
|
7996
|
+
|
|
7997
|
+
Create a Stripe checkout session for payment
|
|
7998
|
+
|
|
7999
|
+
</dd>
|
|
8000
|
+
</dl>
|
|
8001
|
+
</dd>
|
|
8002
|
+
</dl>
|
|
8003
|
+
|
|
8004
|
+
#### 🔌 Usage
|
|
8005
|
+
|
|
8006
|
+
<dl>
|
|
8007
|
+
<dd>
|
|
8008
|
+
|
|
8009
|
+
<dl>
|
|
8010
|
+
<dd>
|
|
8011
|
+
|
|
8012
|
+
```typescript
|
|
8013
|
+
await client.api.thera.incorporation.incorporationApi.createCheckoutSession({
|
|
8014
|
+
amount: 1.1,
|
|
8015
|
+
productName: "string",
|
|
8016
|
+
currency: "string",
|
|
8017
|
+
successUrl: "string",
|
|
8018
|
+
cancelUrl: "string",
|
|
8019
|
+
metadata: {
|
|
8020
|
+
string: "string",
|
|
8021
|
+
},
|
|
8022
|
+
});
|
|
8023
|
+
```
|
|
8024
|
+
|
|
8025
|
+
</dd>
|
|
8026
|
+
</dl>
|
|
8027
|
+
</dd>
|
|
8028
|
+
</dl>
|
|
8029
|
+
|
|
8030
|
+
#### ⚙️ Parameters
|
|
8031
|
+
|
|
8032
|
+
<dl>
|
|
8033
|
+
<dd>
|
|
8034
|
+
|
|
8035
|
+
<dl>
|
|
8036
|
+
<dd>
|
|
8037
|
+
|
|
8038
|
+
**request:** `TheraApi.CheckoutSessionRequest`
|
|
8039
|
+
|
|
8040
|
+
</dd>
|
|
8041
|
+
</dl>
|
|
8042
|
+
|
|
8043
|
+
<dl>
|
|
8044
|
+
<dd>
|
|
8045
|
+
|
|
8046
|
+
**requestOptions:** `IncorporationApi.RequestOptions`
|
|
8047
|
+
|
|
8048
|
+
</dd>
|
|
8049
|
+
</dl>
|
|
8050
|
+
</dd>
|
|
8051
|
+
</dl>
|
|
8052
|
+
|
|
8053
|
+
</dd>
|
|
8054
|
+
</dl>
|
|
8055
|
+
</details>
|
|
8056
|
+
|
|
8057
|
+
<details><summary><code>client.api.thera.incorporation.incorporationApi.<a href="/src/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.ts">checkPaymentStatus</a>(sessionId) -> TheraApi.PaymentStatusResponse</code></summary>
|
|
8058
|
+
<dl>
|
|
8059
|
+
<dd>
|
|
8060
|
+
|
|
8061
|
+
#### 📝 Description
|
|
8062
|
+
|
|
8063
|
+
<dl>
|
|
8064
|
+
<dd>
|
|
8065
|
+
|
|
8066
|
+
<dl>
|
|
8067
|
+
<dd>
|
|
8068
|
+
|
|
8069
|
+
Check the status of a Stripe payment session
|
|
8070
|
+
|
|
8071
|
+
</dd>
|
|
8072
|
+
</dl>
|
|
8073
|
+
</dd>
|
|
8074
|
+
</dl>
|
|
8075
|
+
|
|
8076
|
+
#### 🔌 Usage
|
|
8077
|
+
|
|
8078
|
+
<dl>
|
|
8079
|
+
<dd>
|
|
8080
|
+
|
|
8081
|
+
<dl>
|
|
8082
|
+
<dd>
|
|
8083
|
+
|
|
8084
|
+
```typescript
|
|
8085
|
+
await client.api.thera.incorporation.incorporationApi.checkPaymentStatus("string");
|
|
8086
|
+
```
|
|
8087
|
+
|
|
8088
|
+
</dd>
|
|
8089
|
+
</dl>
|
|
8090
|
+
</dd>
|
|
8091
|
+
</dl>
|
|
8092
|
+
|
|
8093
|
+
#### ⚙️ Parameters
|
|
8094
|
+
|
|
8095
|
+
<dl>
|
|
8096
|
+
<dd>
|
|
8097
|
+
|
|
8098
|
+
<dl>
|
|
8099
|
+
<dd>
|
|
8100
|
+
|
|
8101
|
+
**sessionId:** `string`
|
|
8102
|
+
|
|
8103
|
+
</dd>
|
|
8104
|
+
</dl>
|
|
8105
|
+
|
|
8106
|
+
<dl>
|
|
8107
|
+
<dd>
|
|
8108
|
+
|
|
8109
|
+
**requestOptions:** `IncorporationApi.RequestOptions`
|
|
8110
|
+
|
|
8111
|
+
</dd>
|
|
8112
|
+
</dl>
|
|
8113
|
+
</dd>
|
|
8114
|
+
</dl>
|
|
8115
|
+
|
|
8116
|
+
</dd>
|
|
8117
|
+
</dl>
|
|
8118
|
+
</details>
|
|
8119
|
+
|
|
8038
8120
|
## Miscellaneous API
|
|
8039
8121
|
|
|
8040
8122
|
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">regularCron</a>({ ...params }) -> TheraApi.DailyCronResponse</code></summary>
|
|
@@ -11400,6 +11482,106 @@ await client.api.thera.tp.tpApi.externalTransferFund({
|
|
|
11400
11482
|
</dl>
|
|
11401
11483
|
</details>
|
|
11402
11484
|
|
|
11485
|
+
<details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">withdrawalTheraCash</a>(companyId, { ...params }) -> unknown</code></summary>
|
|
11486
|
+
<dl>
|
|
11487
|
+
<dd>
|
|
11488
|
+
|
|
11489
|
+
#### 📝 Description
|
|
11490
|
+
|
|
11491
|
+
<dl>
|
|
11492
|
+
<dd>
|
|
11493
|
+
|
|
11494
|
+
<dl>
|
|
11495
|
+
<dd>
|
|
11496
|
+
|
|
11497
|
+
Withdrawal funds from thera cash to user's personal account via ach or wire
|
|
11498
|
+
|
|
11499
|
+
</dd>
|
|
11500
|
+
</dl>
|
|
11501
|
+
</dd>
|
|
11502
|
+
</dl>
|
|
11503
|
+
|
|
11504
|
+
#### 🔌 Usage
|
|
11505
|
+
|
|
11506
|
+
<dl>
|
|
11507
|
+
<dd>
|
|
11508
|
+
|
|
11509
|
+
<dl>
|
|
11510
|
+
<dd>
|
|
11511
|
+
|
|
11512
|
+
```typescript
|
|
11513
|
+
await client.api.thera.tp.tpApi.withdrawalTheraCash("string", {
|
|
11514
|
+
nameOnAccount: "string",
|
|
11515
|
+
amount: "string",
|
|
11516
|
+
ach: {
|
|
11517
|
+
accountNumber: "string",
|
|
11518
|
+
accountType: "string",
|
|
11519
|
+
routingNumber: "string",
|
|
11520
|
+
},
|
|
11521
|
+
wire: {
|
|
11522
|
+
accountNumber: "string",
|
|
11523
|
+
routingNumber: "string",
|
|
11524
|
+
addressOnAccount: {
|
|
11525
|
+
streetLine1: "string",
|
|
11526
|
+
streetLine2: "string",
|
|
11527
|
+
city: "string",
|
|
11528
|
+
state: "string",
|
|
11529
|
+
postalCode: "string",
|
|
11530
|
+
country: "string",
|
|
11531
|
+
},
|
|
11532
|
+
bankName: "string",
|
|
11533
|
+
bankAddress: {
|
|
11534
|
+
streetLine1: "string",
|
|
11535
|
+
streetLine2: "string",
|
|
11536
|
+
city: "string",
|
|
11537
|
+
state: "string",
|
|
11538
|
+
postalCode: "string",
|
|
11539
|
+
country: "string",
|
|
11540
|
+
},
|
|
11541
|
+
},
|
|
11542
|
+
});
|
|
11543
|
+
```
|
|
11544
|
+
|
|
11545
|
+
</dd>
|
|
11546
|
+
</dl>
|
|
11547
|
+
</dd>
|
|
11548
|
+
</dl>
|
|
11549
|
+
|
|
11550
|
+
#### ⚙️ Parameters
|
|
11551
|
+
|
|
11552
|
+
<dl>
|
|
11553
|
+
<dd>
|
|
11554
|
+
|
|
11555
|
+
<dl>
|
|
11556
|
+
<dd>
|
|
11557
|
+
|
|
11558
|
+
**companyId:** `string`
|
|
11559
|
+
|
|
11560
|
+
</dd>
|
|
11561
|
+
</dl>
|
|
11562
|
+
|
|
11563
|
+
<dl>
|
|
11564
|
+
<dd>
|
|
11565
|
+
|
|
11566
|
+
**request:** `TheraApi.WithdrawalTheraCash`
|
|
11567
|
+
|
|
11568
|
+
</dd>
|
|
11569
|
+
</dl>
|
|
11570
|
+
|
|
11571
|
+
<dl>
|
|
11572
|
+
<dd>
|
|
11573
|
+
|
|
11574
|
+
**requestOptions:** `TpApi.RequestOptions`
|
|
11575
|
+
|
|
11576
|
+
</dd>
|
|
11577
|
+
</dl>
|
|
11578
|
+
</dd>
|
|
11579
|
+
</dl>
|
|
11580
|
+
|
|
11581
|
+
</dd>
|
|
11582
|
+
</dl>
|
|
11583
|
+
</details>
|
|
11584
|
+
|
|
11403
11585
|
## User API
|
|
11404
11586
|
|
|
11405
11587
|
<details><summary><code>client.api.thera.user.userApi.<a href="/src/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.ts">setUserComplianceSetting</a>(userId, companyId, { ...params }) -> void</code></summary>
|
|
@@ -43,5 +43,4 @@ const HistoricPayment_1 = require("./HistoricPayment");
|
|
|
43
43
|
exports.GetPayInHistoryResponse = core.serialization.object({
|
|
44
44
|
history: core.serialization.list(HistoricalPayIn_1.HistoricalPayIn),
|
|
45
45
|
payments: core.serialization.list(HistoricPayment_1.HistoricPayment),
|
|
46
|
-
nextCursor: core.serialization.string().optional(),
|
|
47
46
|
});
|
package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js
CHANGED
|
@@ -83,4 +83,3 @@ __exportStar(require("./GetBankAccountDetailsResponse"), exports);
|
|
|
83
83
|
__exportStar(require("./SetAutoWithdrawalResponse"), exports);
|
|
84
84
|
__exportStar(require("./WorkerTransactionStatus"), exports);
|
|
85
85
|
__exportStar(require("./SetBulkAutoApproveInvoiceForTeamsRequest"), exports);
|
|
86
|
-
__exportStar(require("./GetPayInCountResponse"), exports);
|
|
@@ -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";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./types"), exports);
|