@thera-hr/api-sdk 0.0.1-prerelease2890-dev-2 → 0.0.1-prerelease2890-dev-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/api/client/Client.d.ts +3 -0
- package/api/resources/api/client/Client.js +9 -4
- 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/client/Client.d.ts +19 -0
- package/api/resources/api/resources/external/client/Client.js +17 -0
- package/api/resources/api/resources/external/client/index.d.ts +1 -0
- package/api/resources/api/resources/external/client/index.js +2 -0
- package/api/resources/api/resources/external/index.d.ts +2 -0
- package/api/resources/api/resources/external/index.js +18 -0
- package/api/resources/api/resources/external/resources/externalApi/client/Client.d.ts +69 -0
- package/api/resources/api/resources/external/resources/externalApi/client/Client.js +156 -0
- package/api/resources/api/resources/external/resources/externalApi/client/index.d.ts +1 -0
- package/api/resources/api/resources/external/resources/externalApi/client/index.js +2 -0
- package/api/resources/api/resources/external/resources/externalApi/index.d.ts +2 -0
- package/api/resources/api/resources/external/resources/externalApi/index.js +18 -0
- package/api/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +16 -0
- package/api/resources/api/resources/{thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts → external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts} +2 -2
- package/api/resources/api/resources/external/resources/externalApi/types/index.d.ts +2 -0
- package/api/resources/api/resources/external/resources/externalApi/types/index.js +18 -0
- package/api/resources/api/resources/external/resources/index.d.ts +2 -0
- package/{serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js → api/resources/api/resources/external/resources/index.js} +6 -9
- package/api/resources/api/resources/index.d.ts +1 -0
- package/api/resources/api/resources/index.js +2 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- 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/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -4
- 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.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +75 -23
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +13 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +4 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +4 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +8 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +26 -19
- 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.d.ts +4 -14
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +9 -61
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByEmailResponse.d.ts → GetEorEmployeeByUserIdResponse.d.ts} +1 -1
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -2
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -2
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +0 -25
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -77
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +0 -2
- 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.js +10 -10
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
- package/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -4
- package/api/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
- package/api/resources/db/resources/paymentMethod/types/index.js +0 -1
- package/dist/api/resources/api/client/Client.d.ts +3 -0
- package/dist/api/resources/api/client/Client.js +9 -4
- 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/client/Client.d.ts +19 -0
- package/dist/api/resources/api/resources/external/client/Client.js +17 -0
- package/dist/api/resources/api/resources/external/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/external/client/index.js +2 -0
- package/dist/api/resources/api/resources/external/index.d.ts +2 -0
- package/dist/api/resources/api/resources/external/index.js +18 -0
- package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.d.ts +69 -0
- package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +156 -0
- package/dist/api/resources/api/resources/external/resources/externalApi/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/external/resources/externalApi/client/index.js +2 -0
- package/dist/api/resources/api/resources/external/resources/externalApi/index.d.ts +2 -0
- package/dist/api/resources/api/resources/external/resources/externalApi/index.js +18 -0
- package/dist/api/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +16 -0
- package/dist/api/resources/api/resources/{thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts → external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts} +2 -2
- package/dist/api/resources/api/resources/external/resources/externalApi/types/index.d.ts +2 -0
- package/dist/api/resources/api/resources/external/resources/externalApi/types/index.js +18 -0
- package/dist/api/resources/api/resources/external/resources/index.d.ts +2 -0
- package/dist/api/resources/api/resources/external/resources/index.js +41 -0
- package/dist/api/resources/api/resources/index.d.ts +1 -0
- package/dist/api/resources/api/resources/index.js +2 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- 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/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -4
- 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.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +75 -23
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +13 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +4 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +4 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +8 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +26 -19
- 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.d.ts +4 -14
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +9 -61
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByEmailResponse.d.ts → GetEorEmployeeByUserIdResponse.d.ts} +1 -1
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -2
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -2
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +0 -25
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -77
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +0 -2
- 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.js +10 -10
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
- package/dist/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -4
- package/dist/api/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
- package/dist/api/resources/db/resources/paymentMethod/types/index.js +0 -1
- package/dist/serialization/resources/api/resources/external/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/external/index.js +17 -0
- package/dist/serialization/resources/api/resources/external/resources/externalApi/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/external/resources/externalApi/index.js +17 -0
- package/dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +23 -0
- package/{serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js → dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.js} +11 -11
- package/dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts +12 -0
- package/{serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js → dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.js} +4 -4
- package/dist/serialization/resources/api/resources/external/resources/externalApi/types/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/external/resources/externalApi/types/index.js +18 -0
- package/dist/serialization/resources/api/resources/external/resources/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/external/resources/index.js +41 -0
- package/dist/serialization/resources/api/resources/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/index.js +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -5
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +0 -2
- 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/bridge/resources/bridgeApi/types/WalletHistory.d.ts +20 -0
- package/dist/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js → bridge/resources/bridgeApi/types/WalletHistory.js} +11 -6
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.js +44 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js +45 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/{eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js → bridge/resources/bridgeApi/types/WalletHistorySource.js} +4 -4
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +4 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +4 -0
- package/{serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.d.ts → dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts} +2 -2
- package/{serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js → dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js} +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -2
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -2
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +0 -2
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +0 -2
- package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
- package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +1 -0
- package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -5
- package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +0 -2
- package/dist/serialization/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
- package/dist/serialization/resources/db/resources/paymentMethod/types/index.js +0 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +158 -146
- package/serialization/resources/api/resources/external/index.d.ts +1 -0
- package/serialization/resources/api/resources/external/index.js +17 -0
- package/serialization/resources/api/resources/external/resources/externalApi/index.d.ts +1 -0
- package/serialization/resources/api/resources/external/resources/externalApi/index.js +17 -0
- package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +23 -0
- package/{dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js → serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.js} +11 -11
- package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts +12 -0
- package/{dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js → serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.js} +4 -4
- package/serialization/resources/api/resources/external/resources/externalApi/types/index.d.ts +2 -0
- package/serialization/resources/api/resources/external/resources/externalApi/types/index.js +18 -0
- package/serialization/resources/api/resources/external/resources/index.d.ts +2 -0
- package/serialization/resources/api/resources/external/resources/index.js +41 -0
- package/serialization/resources/api/resources/index.d.ts +1 -0
- package/serialization/resources/api/resources/index.js +2 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -5
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +0 -2
- 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/bridge/resources/bridgeApi/types/WalletHistory.d.ts +20 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.js +51 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.js +44 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js +45 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.js +44 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +4 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +4 -0
- package/{dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.d.ts → serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts} +2 -2
- package/{dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js → serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js} +2 -2
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -2
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -2
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +0 -2
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +0 -2
- package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
- package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +1 -0
- package/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -5
- package/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +0 -2
- package/serialization/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
- package/serialization/resources/db/resources/paymentMethod/types/index.js +0 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -9
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +0 -7
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +0 -27
- package/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +0 -17
- package/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -10
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -9
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +0 -7
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +0 -27
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +0 -17
- package/dist/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -10
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -15
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +0 -13
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +0 -23
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +0 -12
- package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -16
- package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js +0 -47
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -15
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js +0 -46
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +0 -13
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +0 -23
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +0 -12
- package/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -16
- package/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js +0 -47
- /package/api/resources/api/resources/{thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js → external/resources/externalApi/types/ExternalCreateContractorRequestV2.js} +0 -0
- /package/api/resources/api/resources/{thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js → external/resources/externalApi/types/ExternalSuccessResponseV2.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js → bridge/resources/bridgeApi/types/WalletHistory.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js → bridge/resources/bridgeApi/types/WalletHistoryDestination.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js → bridge/resources/bridgeApi/types/WalletHistoryResponse.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js → bridge/resources/bridgeApi/types/WalletHistorySource.js} +0 -0
- /package/api/resources/{db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js → api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js} +0 -0
- /package/dist/api/resources/api/resources/{thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js → external/resources/externalApi/types/ExternalCreateContractorRequestV2.js} +0 -0
- /package/dist/api/resources/api/resources/{thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js → external/resources/externalApi/types/ExternalSuccessResponseV2.js} +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js → bridge/resources/bridgeApi/types/WalletHistory.js} +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js → bridge/resources/bridgeApi/types/WalletHistoryDestination.js} +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js → bridge/resources/bridgeApi/types/WalletHistoryResponse.js} +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js → bridge/resources/bridgeApi/types/WalletHistorySource.js} +0 -0
- /package/dist/api/resources/{db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js → api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js} +0 -0
package/reference.md
CHANGED
|
@@ -176,6 +176,89 @@ await client.api.dev.dev.uploadEor({
|
|
|
176
176
|
</dl>
|
|
177
177
|
</details>
|
|
178
178
|
|
|
179
|
+
## Api External ExternalApi
|
|
180
|
+
|
|
181
|
+
<details><summary><code>client.api.external.externalApi.<a href="/src/api/resources/api/resources/external/resources/externalApi/client/Client.ts">createContractorV2</a>({ ...params }) -> TheraApi.ExternalSuccessResponseV2</code></summary>
|
|
182
|
+
<dl>
|
|
183
|
+
<dd>
|
|
184
|
+
|
|
185
|
+
#### 🔌 Usage
|
|
186
|
+
|
|
187
|
+
<dl>
|
|
188
|
+
<dd>
|
|
189
|
+
|
|
190
|
+
<dl>
|
|
191
|
+
<dd>
|
|
192
|
+
|
|
193
|
+
```typescript
|
|
194
|
+
await client.api.external.externalApi.createContractorV2({
|
|
195
|
+
email: "string",
|
|
196
|
+
firstName: "string",
|
|
197
|
+
lastName: "string",
|
|
198
|
+
country: "string",
|
|
199
|
+
currency: "string",
|
|
200
|
+
rate: 1000000,
|
|
201
|
+
wageType: "HOURLY",
|
|
202
|
+
payCycle: {
|
|
203
|
+
timezone: "string",
|
|
204
|
+
cycleStartDate: "2023-01-15",
|
|
205
|
+
cycleEnd: {
|
|
206
|
+
type: "weekly",
|
|
207
|
+
},
|
|
208
|
+
paymentDueDays: 1,
|
|
209
|
+
firstPayDate: "2023-01-15",
|
|
210
|
+
lastPayDate: "2023-01-15",
|
|
211
|
+
firstPayTotal: 1000000,
|
|
212
|
+
lastPayTotal: 1000000,
|
|
213
|
+
itemRecurrencesById: {
|
|
214
|
+
string: {
|
|
215
|
+
itemType: "EXPENSE",
|
|
216
|
+
description: "string",
|
|
217
|
+
amount: 1000000,
|
|
218
|
+
firstInvoiceDate: "2023-01-15",
|
|
219
|
+
paymentCurrency: "string",
|
|
220
|
+
deletedDateTime: {
|
|
221
|
+
key: "value",
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
contractType: "FIXED_RATE",
|
|
227
|
+
});
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
</dd>
|
|
231
|
+
</dl>
|
|
232
|
+
</dd>
|
|
233
|
+
</dl>
|
|
234
|
+
|
|
235
|
+
#### ⚙️ Parameters
|
|
236
|
+
|
|
237
|
+
<dl>
|
|
238
|
+
<dd>
|
|
239
|
+
|
|
240
|
+
<dl>
|
|
241
|
+
<dd>
|
|
242
|
+
|
|
243
|
+
**request:** `TheraApi.ExternalCreateContractorRequestV2`
|
|
244
|
+
|
|
245
|
+
</dd>
|
|
246
|
+
</dl>
|
|
247
|
+
|
|
248
|
+
<dl>
|
|
249
|
+
<dd>
|
|
250
|
+
|
|
251
|
+
**requestOptions:** `ExternalApi.RequestOptions`
|
|
252
|
+
|
|
253
|
+
</dd>
|
|
254
|
+
</dl>
|
|
255
|
+
</dd>
|
|
256
|
+
</dl>
|
|
257
|
+
|
|
258
|
+
</dd>
|
|
259
|
+
</dl>
|
|
260
|
+
</details>
|
|
261
|
+
|
|
179
262
|
## Api Services File
|
|
180
263
|
|
|
181
264
|
<details><summary><code>client.api.services.file.<a href="/src/api/resources/api/resources/services/resources/file/client/Client.ts">attachDocumentToEmployment</a>(contractId, { ...params }) -> void</code></summary>
|
|
@@ -3626,6 +3709,69 @@ await client.api.thera.bridge.bridgeApi.listWallets("string");
|
|
|
3626
3709
|
</dl>
|
|
3627
3710
|
</details>
|
|
3628
3711
|
|
|
3712
|
+
<details><summary><code>client.api.thera.bridge.bridgeApi.<a href="/src/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.ts">walletsTransactionHistory</a>(walletId) -> TheraApi.WalletHistoryResponse</code></summary>
|
|
3713
|
+
<dl>
|
|
3714
|
+
<dd>
|
|
3715
|
+
|
|
3716
|
+
#### 📝 Description
|
|
3717
|
+
|
|
3718
|
+
<dl>
|
|
3719
|
+
<dd>
|
|
3720
|
+
|
|
3721
|
+
<dl>
|
|
3722
|
+
<dd>
|
|
3723
|
+
|
|
3724
|
+
Retrieves all wallets associated with a customer.
|
|
3725
|
+
|
|
3726
|
+
</dd>
|
|
3727
|
+
</dl>
|
|
3728
|
+
</dd>
|
|
3729
|
+
</dl>
|
|
3730
|
+
|
|
3731
|
+
#### 🔌 Usage
|
|
3732
|
+
|
|
3733
|
+
<dl>
|
|
3734
|
+
<dd>
|
|
3735
|
+
|
|
3736
|
+
<dl>
|
|
3737
|
+
<dd>
|
|
3738
|
+
|
|
3739
|
+
```typescript
|
|
3740
|
+
await client.api.thera.bridge.bridgeApi.walletsTransactionHistory("string");
|
|
3741
|
+
```
|
|
3742
|
+
|
|
3743
|
+
</dd>
|
|
3744
|
+
</dl>
|
|
3745
|
+
</dd>
|
|
3746
|
+
</dl>
|
|
3747
|
+
|
|
3748
|
+
#### ⚙️ Parameters
|
|
3749
|
+
|
|
3750
|
+
<dl>
|
|
3751
|
+
<dd>
|
|
3752
|
+
|
|
3753
|
+
<dl>
|
|
3754
|
+
<dd>
|
|
3755
|
+
|
|
3756
|
+
**walletId:** `string`
|
|
3757
|
+
|
|
3758
|
+
</dd>
|
|
3759
|
+
</dl>
|
|
3760
|
+
|
|
3761
|
+
<dl>
|
|
3762
|
+
<dd>
|
|
3763
|
+
|
|
3764
|
+
**requestOptions:** `BridgeApi.RequestOptions`
|
|
3765
|
+
|
|
3766
|
+
</dd>
|
|
3767
|
+
</dl>
|
|
3768
|
+
</dd>
|
|
3769
|
+
</dl>
|
|
3770
|
+
|
|
3771
|
+
</dd>
|
|
3772
|
+
</dl>
|
|
3773
|
+
</details>
|
|
3774
|
+
|
|
3629
3775
|
<details><summary><code>client.api.thera.bridge.bridgeApi.<a href="/src/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.ts">transferFunds</a>({ ...params }) -> TheraApi.TransferFundsResponse</code></summary>
|
|
3630
3776
|
<dl>
|
|
3631
3777
|
<dd>
|
|
@@ -4645,7 +4791,14 @@ await client.api.thera.company.companyApi.inviteContractor({
|
|
|
4645
4791
|
lastPayTotal: 1000000,
|
|
4646
4792
|
itemRecurrencesById: {
|
|
4647
4793
|
string: {
|
|
4648
|
-
|
|
4794
|
+
itemType: "EXPENSE",
|
|
4795
|
+
description: "string",
|
|
4796
|
+
amount: 1000000,
|
|
4797
|
+
firstInvoiceDate: "2023-01-15",
|
|
4798
|
+
paymentCurrency: "string",
|
|
4799
|
+
deletedDateTime: {
|
|
4800
|
+
key: "value",
|
|
4801
|
+
},
|
|
4649
4802
|
},
|
|
4650
4803
|
},
|
|
4651
4804
|
},
|
|
@@ -7600,7 +7753,7 @@ await client.api.thera.eor.eorTrackerApi.getEorTracker("string");
|
|
|
7600
7753
|
</dl>
|
|
7601
7754
|
</details>
|
|
7602
7755
|
|
|
7603
|
-
<details><summary><code>client.api.thera.eor.eorTrackerApi.<a href="/src/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.ts">
|
|
7756
|
+
<details><summary><code>client.api.thera.eor.eorTrackerApi.<a href="/src/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.ts">getEorEmployeeByUserId</a>(employeeUserId) -> TheraApi.GetEorEmployeeByUserIdResponse</code></summary>
|
|
7604
7757
|
<dl>
|
|
7605
7758
|
<dd>
|
|
7606
7759
|
|
|
@@ -7612,7 +7765,7 @@ await client.api.thera.eor.eorTrackerApi.getEorTracker("string");
|
|
|
7612
7765
|
<dl>
|
|
7613
7766
|
<dd>
|
|
7614
7767
|
|
|
7615
|
-
Gets EOR employee data from Airtable for a specific employee
|
|
7768
|
+
Gets EOR employee data from Airtable for a specific employee user ID
|
|
7616
7769
|
|
|
7617
7770
|
</dd>
|
|
7618
7771
|
</dl>
|
|
@@ -7628,7 +7781,7 @@ Gets EOR employee data from Airtable for a specific employee email
|
|
|
7628
7781
|
<dd>
|
|
7629
7782
|
|
|
7630
7783
|
```typescript
|
|
7631
|
-
await client.api.thera.eor.eorTrackerApi.
|
|
7784
|
+
await client.api.thera.eor.eorTrackerApi.getEorEmployeeByUserId("string");
|
|
7632
7785
|
```
|
|
7633
7786
|
|
|
7634
7787
|
</dd>
|
|
@@ -7644,70 +7797,7 @@ await client.api.thera.eor.eorTrackerApi.getEorEmployeeByEmail("string");
|
|
|
7644
7797
|
<dl>
|
|
7645
7798
|
<dd>
|
|
7646
7799
|
|
|
7647
|
-
**
|
|
7648
|
-
|
|
7649
|
-
</dd>
|
|
7650
|
-
</dl>
|
|
7651
|
-
|
|
7652
|
-
<dl>
|
|
7653
|
-
<dd>
|
|
7654
|
-
|
|
7655
|
-
**requestOptions:** `EorTrackerApi.RequestOptions`
|
|
7656
|
-
|
|
7657
|
-
</dd>
|
|
7658
|
-
</dl>
|
|
7659
|
-
</dd>
|
|
7660
|
-
</dl>
|
|
7661
|
-
|
|
7662
|
-
</dd>
|
|
7663
|
-
</dl>
|
|
7664
|
-
</details>
|
|
7665
|
-
|
|
7666
|
-
<details><summary><code>client.api.thera.eor.eorTrackerApi.<a href="/src/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.ts">getLatestEorEmployeeEmailByCompanyId</a>(companyId) -> TheraApi.GetLatestEorEmployeeEmailResponse</code></summary>
|
|
7667
|
-
<dl>
|
|
7668
|
-
<dd>
|
|
7669
|
-
|
|
7670
|
-
#### 📝 Description
|
|
7671
|
-
|
|
7672
|
-
<dl>
|
|
7673
|
-
<dd>
|
|
7674
|
-
|
|
7675
|
-
<dl>
|
|
7676
|
-
<dd>
|
|
7677
|
-
|
|
7678
|
-
Gets the email field of the latest EOR employee record added to Airtable for a specific company ID
|
|
7679
|
-
|
|
7680
|
-
</dd>
|
|
7681
|
-
</dl>
|
|
7682
|
-
</dd>
|
|
7683
|
-
</dl>
|
|
7684
|
-
|
|
7685
|
-
#### 🔌 Usage
|
|
7686
|
-
|
|
7687
|
-
<dl>
|
|
7688
|
-
<dd>
|
|
7689
|
-
|
|
7690
|
-
<dl>
|
|
7691
|
-
<dd>
|
|
7692
|
-
|
|
7693
|
-
```typescript
|
|
7694
|
-
await client.api.thera.eor.eorTrackerApi.getLatestEorEmployeeEmailByCompanyId("string");
|
|
7695
|
-
```
|
|
7696
|
-
|
|
7697
|
-
</dd>
|
|
7698
|
-
</dl>
|
|
7699
|
-
</dd>
|
|
7700
|
-
</dl>
|
|
7701
|
-
|
|
7702
|
-
#### ⚙️ Parameters
|
|
7703
|
-
|
|
7704
|
-
<dl>
|
|
7705
|
-
<dd>
|
|
7706
|
-
|
|
7707
|
-
<dl>
|
|
7708
|
-
<dd>
|
|
7709
|
-
|
|
7710
|
-
**companyId:** `string`
|
|
7800
|
+
**employeeUserId:** `string`
|
|
7711
7801
|
|
|
7712
7802
|
</dd>
|
|
7713
7803
|
</dl>
|
|
@@ -8118,84 +8208,6 @@ await client.api.thera.misc.misc.processAchTpInvoices({
|
|
|
8118
8208
|
</dl>
|
|
8119
8209
|
</details>
|
|
8120
8210
|
|
|
8121
|
-
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">filloutEorEmployeeWebhook</a>({ ...params }) -> TheraApi.FilloutEorEmployeeWebhookResponse</code></summary>
|
|
8122
|
-
<dl>
|
|
8123
|
-
<dd>
|
|
8124
|
-
|
|
8125
|
-
#### 📝 Description
|
|
8126
|
-
|
|
8127
|
-
<dl>
|
|
8128
|
-
<dd>
|
|
8129
|
-
|
|
8130
|
-
<dl>
|
|
8131
|
-
<dd>
|
|
8132
|
-
|
|
8133
|
-
Webhook endpoint that receives submissions from Fillout forms to create EOR employees. This endpoint accepts the same request structure as the AddEorEmployeeRequest.
|
|
8134
|
-
|
|
8135
|
-
</dd>
|
|
8136
|
-
</dl>
|
|
8137
|
-
</dd>
|
|
8138
|
-
</dl>
|
|
8139
|
-
|
|
8140
|
-
#### 🔌 Usage
|
|
8141
|
-
|
|
8142
|
-
<dl>
|
|
8143
|
-
<dd>
|
|
8144
|
-
|
|
8145
|
-
<dl>
|
|
8146
|
-
<dd>
|
|
8147
|
-
|
|
8148
|
-
```typescript
|
|
8149
|
-
await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
|
|
8150
|
-
theraWebhookSignatureHeader: "string",
|
|
8151
|
-
body: {
|
|
8152
|
-
firstName: "string",
|
|
8153
|
-
lastName: "string",
|
|
8154
|
-
email: "string",
|
|
8155
|
-
country: "string",
|
|
8156
|
-
companyId: "string",
|
|
8157
|
-
teamId: "string",
|
|
8158
|
-
jobTitle: "string",
|
|
8159
|
-
startDate: "2023-01-15",
|
|
8160
|
-
rate: 1.1,
|
|
8161
|
-
wageType: "HOURLY",
|
|
8162
|
-
currency: "string",
|
|
8163
|
-
},
|
|
8164
|
-
});
|
|
8165
|
-
```
|
|
8166
|
-
|
|
8167
|
-
</dd>
|
|
8168
|
-
</dl>
|
|
8169
|
-
</dd>
|
|
8170
|
-
</dl>
|
|
8171
|
-
|
|
8172
|
-
#### ⚙️ Parameters
|
|
8173
|
-
|
|
8174
|
-
<dl>
|
|
8175
|
-
<dd>
|
|
8176
|
-
|
|
8177
|
-
<dl>
|
|
8178
|
-
<dd>
|
|
8179
|
-
|
|
8180
|
-
**request:** `TheraApi.api.thera.misc.FilloutEorEmployeeRequest`
|
|
8181
|
-
|
|
8182
|
-
</dd>
|
|
8183
|
-
</dl>
|
|
8184
|
-
|
|
8185
|
-
<dl>
|
|
8186
|
-
<dd>
|
|
8187
|
-
|
|
8188
|
-
**requestOptions:** `Misc.RequestOptions`
|
|
8189
|
-
|
|
8190
|
-
</dd>
|
|
8191
|
-
</dl>
|
|
8192
|
-
</dd>
|
|
8193
|
-
</dl>
|
|
8194
|
-
|
|
8195
|
-
</dd>
|
|
8196
|
-
</dl>
|
|
8197
|
-
</details>
|
|
8198
|
-
|
|
8199
8211
|
## Offcycle API
|
|
8200
8212
|
|
|
8201
8213
|
<details><summary><code>client.api.thera.payroll.offcycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.ts">getCurrentOffCycleChecks</a>(companyId) -> TheraApi.CheckPayrollResponse | undefined</code></summary>
|
|
@@ -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);
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { WageType } from "../../../../../../model/resources/thera/resources/contract/types/WageType";
|
|
8
|
+
import { PayCycle } from "../../../../../../model/resources/thera/resources/contract/types/PayCycle";
|
|
9
|
+
import { ContractType } from "../../../../../../model/resources/thera/resources/contract/types/ContractType";
|
|
10
|
+
export declare const ExternalCreateContractorRequestV2: core.serialization.ObjectSchema<serializers.api.external.ExternalCreateContractorRequestV2.Raw, TheraApi.api.external.ExternalCreateContractorRequestV2>;
|
|
11
|
+
export declare namespace ExternalCreateContractorRequestV2 {
|
|
12
|
+
interface Raw {
|
|
13
|
+
email: string;
|
|
14
|
+
firstName: string;
|
|
15
|
+
lastName: string;
|
|
16
|
+
country: string;
|
|
17
|
+
currency: string;
|
|
18
|
+
rate?: number | null;
|
|
19
|
+
wageType: WageType.Raw;
|
|
20
|
+
payCycle: PayCycle.Raw;
|
|
21
|
+
contractType: ContractType.Raw;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -36,19 +36,19 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
const WageType_1 = require("
|
|
42
|
-
|
|
39
|
+
exports.ExternalCreateContractorRequestV2 = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
41
|
+
const WageType_1 = require("../../../../../../model/resources/thera/resources/contract/types/WageType");
|
|
42
|
+
const PayCycle_1 = require("../../../../../../model/resources/thera/resources/contract/types/PayCycle");
|
|
43
|
+
const ContractType_1 = require("../../../../../../model/resources/thera/resources/contract/types/ContractType");
|
|
44
|
+
exports.ExternalCreateContractorRequestV2 = core.serialization.object({
|
|
45
|
+
email: core.serialization.string(),
|
|
43
46
|
firstName: core.serialization.string(),
|
|
44
47
|
lastName: core.serialization.string(),
|
|
45
|
-
email: core.serialization.string(),
|
|
46
48
|
country: core.serialization.string(),
|
|
47
|
-
companyId: core.serialization.property("companyID", core.serialization.string()),
|
|
48
|
-
teamId: core.serialization.string().optional(),
|
|
49
|
-
jobTitle: core.serialization.string(),
|
|
50
|
-
startDate: core.serialization.string(),
|
|
51
|
-
rate: core.serialization.number(),
|
|
52
|
-
wageType: WageType_1.WageType,
|
|
53
49
|
currency: core.serialization.string(),
|
|
50
|
+
rate: core.serialization.number().optional(),
|
|
51
|
+
wageType: WageType_1.WageType,
|
|
52
|
+
payCycle: PayCycle_1.PayCycle,
|
|
53
|
+
contractType: ContractType_1.ContractType,
|
|
54
54
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
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 ExternalSuccessResponseV2: core.serialization.ObjectSchema<serializers.api.external.ExternalSuccessResponseV2.Raw, TheraApi.api.external.ExternalSuccessResponseV2>;
|
|
8
|
+
export declare namespace ExternalSuccessResponseV2 {
|
|
9
|
+
interface Raw {
|
|
10
|
+
success: boolean;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
exports.
|
|
42
|
-
|
|
39
|
+
exports.ExternalSuccessResponseV2 = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
41
|
+
exports.ExternalSuccessResponseV2 = core.serialization.object({
|
|
42
|
+
success: core.serialization.boolean(),
|
|
43
43
|
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ExternalCreateContractorRequestV2"), exports);
|
|
18
|
+
__exportStar(require("./ExternalSuccessResponseV2"), exports);
|
|
@@ -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.externalApi = void 0;
|
|
40
|
+
exports.externalApi = __importStar(require("./externalApi"));
|
|
41
|
+
__exportStar(require("./externalApi/types"), exports);
|
|
@@ -33,9 +33,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.zeal = exports.thera = exports.services = exports.response = exports.request = exports.oneschema = exports.dev = exports.aiprise = void 0;
|
|
36
|
+
exports.zeal = exports.thera = exports.services = exports.response = exports.request = exports.oneschema = exports.external = exports.dev = exports.aiprise = void 0;
|
|
37
37
|
exports.aiprise = __importStar(require("./aiprise"));
|
|
38
38
|
exports.dev = __importStar(require("./dev"));
|
|
39
|
+
exports.external = __importStar(require("./external"));
|
|
39
40
|
exports.oneschema = __importStar(require("./oneschema"));
|
|
40
41
|
exports.request = __importStar(require("./request"));
|
|
41
42
|
exports.response = __importStar(require("./response"));
|
|
@@ -8,10 +8,9 @@ import { CardPaymentMethodResponse } from "./CardPaymentMethodResponse";
|
|
|
8
8
|
import { UsBankAccountPaymentMethodResponse } from "./UsBankAccountPaymentMethodResponse";
|
|
9
9
|
import { SepaPaymentMethodResponse } from "./SepaPaymentMethodResponse";
|
|
10
10
|
import { AcssDebitPaymentMethodResponse } from "./AcssDebitPaymentMethodResponse";
|
|
11
|
-
import { AuBecsDebitPaymentMethodResponse } from "./AuBecsDebitPaymentMethodResponse";
|
|
12
11
|
export declare const PaymentMethodDetailsResponse: core.serialization.Schema<serializers.api.thera.bank.PaymentMethodDetailsResponse.Raw, TheraApi.api.thera.bank.PaymentMethodDetailsResponse>;
|
|
13
12
|
export declare namespace PaymentMethodDetailsResponse {
|
|
14
|
-
type Raw = PaymentMethodDetailsResponse.Card | PaymentMethodDetailsResponse.UsBankAccount | PaymentMethodDetailsResponse.SepaBankAccount | PaymentMethodDetailsResponse.AcssDebit
|
|
13
|
+
type Raw = PaymentMethodDetailsResponse.Card | PaymentMethodDetailsResponse.UsBankAccount | PaymentMethodDetailsResponse.SepaBankAccount | PaymentMethodDetailsResponse.AcssDebit;
|
|
15
14
|
interface Card extends CardPaymentMethodResponse.Raw {
|
|
16
15
|
type: "card";
|
|
17
16
|
}
|
|
@@ -24,7 +23,4 @@ export declare namespace PaymentMethodDetailsResponse {
|
|
|
24
23
|
interface AcssDebit extends AcssDebitPaymentMethodResponse.Raw {
|
|
25
24
|
type: "acssDebit";
|
|
26
25
|
}
|
|
27
|
-
interface AuBecsDebit extends AuBecsDebitPaymentMethodResponse.Raw {
|
|
28
|
-
type: "auBecsDebit";
|
|
29
|
-
}
|
|
30
26
|
}
|
|
@@ -42,14 +42,12 @@ const CardPaymentMethodResponse_1 = require("./CardPaymentMethodResponse");
|
|
|
42
42
|
const UsBankAccountPaymentMethodResponse_1 = require("./UsBankAccountPaymentMethodResponse");
|
|
43
43
|
const SepaPaymentMethodResponse_1 = require("./SepaPaymentMethodResponse");
|
|
44
44
|
const AcssDebitPaymentMethodResponse_1 = require("./AcssDebitPaymentMethodResponse");
|
|
45
|
-
const AuBecsDebitPaymentMethodResponse_1 = require("./AuBecsDebitPaymentMethodResponse");
|
|
46
45
|
exports.PaymentMethodDetailsResponse = core.serialization
|
|
47
46
|
.union("type", {
|
|
48
47
|
card: CardPaymentMethodResponse_1.CardPaymentMethodResponse,
|
|
49
48
|
usBankAccount: UsBankAccountPaymentMethodResponse_1.UsBankAccountPaymentMethodResponse,
|
|
50
49
|
sepaBankAccount: SepaPaymentMethodResponse_1.SepaPaymentMethodResponse,
|
|
51
50
|
acssDebit: AcssDebitPaymentMethodResponse_1.AcssDebitPaymentMethodResponse,
|
|
52
|
-
auBecsDebit: AuBecsDebitPaymentMethodResponse_1.AuBecsDebitPaymentMethodResponse,
|
|
53
51
|
})
|
|
54
52
|
.transform({
|
|
55
53
|
transform: (value) => value,
|
|
@@ -8,7 +8,6 @@ export * from "./PaymentMethodProvider";
|
|
|
8
8
|
export * from "./PaymentMethodDetailsResponse";
|
|
9
9
|
export * from "./SepaPaymentMethodResponse";
|
|
10
10
|
export * from "./AcssDebitPaymentMethodResponse";
|
|
11
|
-
export * from "./AuBecsDebitPaymentMethodResponse";
|
|
12
11
|
export * from "./CardPaymentMethodResponse";
|
|
13
12
|
export * from "./UsBankAccountPaymentMethodResponse";
|
|
14
13
|
export * from "./UsBankAccountProviderDetails";
|
package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js
CHANGED
|
@@ -24,7 +24,6 @@ __exportStar(require("./PaymentMethodProvider"), exports);
|
|
|
24
24
|
__exportStar(require("./PaymentMethodDetailsResponse"), exports);
|
|
25
25
|
__exportStar(require("./SepaPaymentMethodResponse"), exports);
|
|
26
26
|
__exportStar(require("./AcssDebitPaymentMethodResponse"), exports);
|
|
27
|
-
__exportStar(require("./AuBecsDebitPaymentMethodResponse"), exports);
|
|
28
27
|
__exportStar(require("./CardPaymentMethodResponse"), exports);
|
|
29
28
|
__exportStar(require("./UsBankAccountPaymentMethodResponse"), exports);
|
|
30
29
|
__exportStar(require("./UsBankAccountProviderDetails"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { WalletHistorySource } from "./WalletHistorySource";
|
|
8
|
+
import { WalletHistoryDestination } from "./WalletHistoryDestination";
|
|
9
|
+
export declare const WalletHistory: core.serialization.ObjectSchema<serializers.api.thera.bridge.WalletHistory.Raw, TheraApi.api.thera.bridge.WalletHistory>;
|
|
10
|
+
export declare namespace WalletHistory {
|
|
11
|
+
interface Raw {
|
|
12
|
+
amount?: string | null;
|
|
13
|
+
developer_fee?: string | null;
|
|
14
|
+
created_at?: string | null;
|
|
15
|
+
updated_at?: string | null;
|
|
16
|
+
customer_id?: string | null;
|
|
17
|
+
source: WalletHistorySource.Raw;
|
|
18
|
+
destination: WalletHistoryDestination.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|