@thera-hr/api-sdk 0.0.1-prerelease2895-dev-3 → 0.0.1-prerelease2895-production
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.d.ts +11 -1
- package/api/resources/api/resources/external/resources/externalApi/client/Client.js +12 -2
- package/api/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +7 -0
- 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.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +14 -4
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +61 -9
- package/{dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts → api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.d.ts} +1 -1
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -1
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +2 -1
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +25 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +77 -6
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +27 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +17 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
- 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/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.d.ts +11 -1
- package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +12 -2
- package/dist/api/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +7 -0
- 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/WalletHistory.js +5 -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/WalletHistoryDestination.js +5 -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/WalletHistoryResponse.js +5 -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/WalletHistorySource.js +5 -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.js +18 -18
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +14 -4
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +61 -9
- package/{api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts → dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.d.ts} +1 -1
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -1
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +2 -1
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +25 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +77 -6
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +27 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +17 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
- 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/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +9 -0
- package/dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.js +9 -0
- 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/bridge/resources/bridgeApi/types/WalletHistory.js +51 -0
- 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/{bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js → bridge/resources/bridgeApi/types/WalletHistoryDestination.js} +4 -6
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +14 -0
- package/{serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js → dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js} +5 -6
- 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/bridge/resources/bridgeApi/types/WalletHistorySource.js +44 -0
- 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/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.js → GetEorEmployeeByEmailResponse.js} +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js +44 -0
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +23 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js +54 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
- 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 +218 -4
- package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +9 -0
- package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.js +9 -0
- 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/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +2 -2
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.js → GetEorEmployeeByEmailResponse.js} +2 -2
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js +44 -0
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -1
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +2 -1
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +23 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js +54 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js +43 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
- 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/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/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/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/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 → bridge/resources/bridgeApi/types/WalletHistory.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js → bridge/resources/bridgeApi/types/WalletHistoryDestination.js} +0 -0
- /package/api/resources/{db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js → api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js → api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js → api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js} +0 -0
- /package/{dist/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js → api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js} +0 -0
|
@@ -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
|
+
export declare const FilloutEorEmployeeWebhookRequest: core.serialization.ObjectSchema<serializers.api.thera.misc.FilloutEorEmployeeWebhookRequest.Raw, TheraApi.api.thera.misc.FilloutEorEmployeeWebhookRequest>;
|
|
9
|
+
export declare namespace FilloutEorEmployeeWebhookRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
firstName: string;
|
|
12
|
+
lastName: string;
|
|
13
|
+
email: string;
|
|
14
|
+
country: string;
|
|
15
|
+
companyID: string;
|
|
16
|
+
teamId?: string | null;
|
|
17
|
+
jobTitle: string;
|
|
18
|
+
startDate: string;
|
|
19
|
+
rate: number;
|
|
20
|
+
wageType: WageType.Raw;
|
|
21
|
+
currency: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.FilloutEorEmployeeWebhookRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const WageType_1 = require("../../../../../../../../model/resources/thera/resources/contract/types/WageType");
|
|
42
|
+
exports.FilloutEorEmployeeWebhookRequest = core.serialization.object({
|
|
43
|
+
firstName: core.serialization.string(),
|
|
44
|
+
lastName: core.serialization.string(),
|
|
45
|
+
email: core.serialization.string(),
|
|
46
|
+
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
|
+
currency: core.serialization.string(),
|
|
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 FilloutEorEmployeeWebhookResponse: core.serialization.ObjectSchema<serializers.api.thera.misc.FilloutEorEmployeeWebhookResponse.Raw, TheraApi.api.thera.misc.FilloutEorEmployeeWebhookResponse>;
|
|
8
|
+
export declare namespace FilloutEorEmployeeWebhookResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.FilloutEorEmployeeWebhookResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.FilloutEorEmployeeWebhookResponse = core.serialization.object({
|
|
42
|
+
message: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -2,3 +2,5 @@ export * from "./DailyCronResponse";
|
|
|
2
2
|
export * from "./AutoWithdrawalResults";
|
|
3
3
|
export * from "./TriggeredWithdrawal";
|
|
4
4
|
export * from "./ContractRenewalCronResponse";
|
|
5
|
+
export * from "./FilloutEorEmployeeWebhookResponse";
|
|
6
|
+
export * from "./FilloutEorEmployeeWebhookRequest";
|
|
@@ -18,3 +18,5 @@ __exportStar(require("./DailyCronResponse"), exports);
|
|
|
18
18
|
__exportStar(require("./AutoWithdrawalResults"), exports);
|
|
19
19
|
__exportStar(require("./TriggeredWithdrawal"), exports);
|
|
20
20
|
__exportStar(require("./ContractRenewalCronResponse"), exports);
|
|
21
|
+
__exportStar(require("./FilloutEorEmployeeWebhookResponse"), exports);
|
|
22
|
+
__exportStar(require("./FilloutEorEmployeeWebhookRequest"), exports);
|
|
@@ -15,5 +15,6 @@ export declare namespace TpCompanyInformation {
|
|
|
15
15
|
depositAccount?: TpDepositAccount.Raw | null;
|
|
16
16
|
disbursementAccount?: TpDisbursementAccount.Raw | null;
|
|
17
17
|
payrollFboOnboardingStage: TpCompanyOnboardingStage.Raw;
|
|
18
|
+
lastInterestPaidMonth?: string | null;
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -47,4 +47,5 @@ exports.TpCompanyInformation = core.serialization.object({
|
|
|
47
47
|
depositAccount: TpDepositAccount_1.TpDepositAccount.optional(),
|
|
48
48
|
disbursementAccount: TpDisbursementAccount_1.TpDisbursementAccount.optional(),
|
|
49
49
|
payrollFboOnboardingStage: TpCompanyOnboardingStage_1.TpCompanyOnboardingStage,
|
|
50
|
+
lastInterestPaidMonth: core.serialization.string().optional(),
|
|
50
51
|
});
|
package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts
CHANGED
|
@@ -8,10 +8,9 @@ import { StripeUsBankAccountPaymentMethodDetails } from "./StripeUsBankAccountPa
|
|
|
8
8
|
import { StripeCardPaymentMethodDetails } from "./StripeCardPaymentMethodDetails";
|
|
9
9
|
import { StripeSepaPaymentMethodDetails } from "./StripeSepaPaymentMethodDetails";
|
|
10
10
|
import { StripeAcssDebitAccountPaymentMethodDetails } from "./StripeAcssDebitAccountPaymentMethodDetails";
|
|
11
|
-
import { StripeAuBecsDebitPaymentMethodDetails } from "./StripeAuBecsDebitPaymentMethodDetails";
|
|
12
11
|
export declare const StripeFcPaymentMethod: core.serialization.Schema<serializers.db.StripeFcPaymentMethod.Raw, TheraApi.db.StripeFcPaymentMethod>;
|
|
13
12
|
export declare namespace StripeFcPaymentMethod {
|
|
14
|
-
type Raw = StripeFcPaymentMethod.UsBankAccount | StripeFcPaymentMethod.Card | StripeFcPaymentMethod.Sepa | StripeFcPaymentMethod.AcssDebit
|
|
13
|
+
type Raw = StripeFcPaymentMethod.UsBankAccount | StripeFcPaymentMethod.Card | StripeFcPaymentMethod.Sepa | StripeFcPaymentMethod.AcssDebit;
|
|
15
14
|
interface UsBankAccount extends StripeUsBankAccountPaymentMethodDetails.Raw {
|
|
16
15
|
type: "usBankAccount";
|
|
17
16
|
}
|
|
@@ -24,7 +23,4 @@ export declare namespace StripeFcPaymentMethod {
|
|
|
24
23
|
interface AcssDebit extends StripeAcssDebitAccountPaymentMethodDetails.Raw {
|
|
25
24
|
type: "acssDebit";
|
|
26
25
|
}
|
|
27
|
-
interface AuBecsDebit extends StripeAuBecsDebitPaymentMethodDetails.Raw {
|
|
28
|
-
type: "auBecsDebit";
|
|
29
|
-
}
|
|
30
26
|
}
|
package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js
CHANGED
|
@@ -42,14 +42,12 @@ const StripeUsBankAccountPaymentMethodDetails_1 = require("./StripeUsBankAccount
|
|
|
42
42
|
const StripeCardPaymentMethodDetails_1 = require("./StripeCardPaymentMethodDetails");
|
|
43
43
|
const StripeSepaPaymentMethodDetails_1 = require("./StripeSepaPaymentMethodDetails");
|
|
44
44
|
const StripeAcssDebitAccountPaymentMethodDetails_1 = require("./StripeAcssDebitAccountPaymentMethodDetails");
|
|
45
|
-
const StripeAuBecsDebitPaymentMethodDetails_1 = require("./StripeAuBecsDebitPaymentMethodDetails");
|
|
46
45
|
exports.StripeFcPaymentMethod = core.serialization
|
|
47
46
|
.union("type", {
|
|
48
47
|
usBankAccount: StripeUsBankAccountPaymentMethodDetails_1.StripeUsBankAccountPaymentMethodDetails,
|
|
49
48
|
card: StripeCardPaymentMethodDetails_1.StripeCardPaymentMethodDetails,
|
|
50
49
|
sepa: StripeSepaPaymentMethodDetails_1.StripeSepaPaymentMethodDetails,
|
|
51
50
|
acssDebit: StripeAcssDebitAccountPaymentMethodDetails_1.StripeAcssDebitAccountPaymentMethodDetails,
|
|
52
|
-
auBecsDebit: StripeAuBecsDebitPaymentMethodDetails_1.StripeAuBecsDebitPaymentMethodDetails,
|
|
53
51
|
})
|
|
54
52
|
.transform({
|
|
55
53
|
transform: (value) => value,
|
|
@@ -8,6 +8,5 @@ export * from "./StripeFcPaymentMethod";
|
|
|
8
8
|
export * from "./StripeSepaPaymentMethodDetails";
|
|
9
9
|
export * from "./StripeUsBankAccountPaymentMethodDetails";
|
|
10
10
|
export * from "./StripeAcssDebitAccountPaymentMethodDetails";
|
|
11
|
-
export * from "./StripeAuBecsDebitPaymentMethodDetails";
|
|
12
11
|
export * from "./StripeBankAccountVerificationStatus";
|
|
13
12
|
export * from "./StripeCardPaymentMethodDetails";
|
|
@@ -24,6 +24,5 @@ __exportStar(require("./StripeFcPaymentMethod"), exports);
|
|
|
24
24
|
__exportStar(require("./StripeSepaPaymentMethodDetails"), exports);
|
|
25
25
|
__exportStar(require("./StripeUsBankAccountPaymentMethodDetails"), exports);
|
|
26
26
|
__exportStar(require("./StripeAcssDebitAccountPaymentMethodDetails"), exports);
|
|
27
|
-
__exportStar(require("./StripeAuBecsDebitPaymentMethodDetails"), exports);
|
|
28
27
|
__exportStar(require("./StripeBankAccountVerificationStatus"), exports);
|
|
29
28
|
__exportStar(require("./StripeCardPaymentMethodDetails"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.1-prerelease2895-
|
|
1
|
+
export declare const SDK_VERSION = "0.0.1-prerelease2895-production";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -224,6 +224,16 @@ await client.api.external.externalApi.createContractorV2({
|
|
|
224
224
|
},
|
|
225
225
|
},
|
|
226
226
|
contractType: "FIXED_RATE",
|
|
227
|
+
contractName: "string",
|
|
228
|
+
contractDocumentType: "NO_CONTRACT",
|
|
229
|
+
companySigningAuthorityUserId: "string",
|
|
230
|
+
verificationSetting: {
|
|
231
|
+
kycEnabled: true,
|
|
232
|
+
complianceEnabled: true,
|
|
233
|
+
},
|
|
234
|
+
clientCanSubmitWork: true,
|
|
235
|
+
workerCanSubmitWork: true,
|
|
236
|
+
scopeOfWork: "string",
|
|
227
237
|
});
|
|
228
238
|
```
|
|
229
239
|
|
|
@@ -3709,6 +3719,69 @@ await client.api.thera.bridge.bridgeApi.listWallets("string");
|
|
|
3709
3719
|
</dl>
|
|
3710
3720
|
</details>
|
|
3711
3721
|
|
|
3722
|
+
<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>
|
|
3723
|
+
<dl>
|
|
3724
|
+
<dd>
|
|
3725
|
+
|
|
3726
|
+
#### 📝 Description
|
|
3727
|
+
|
|
3728
|
+
<dl>
|
|
3729
|
+
<dd>
|
|
3730
|
+
|
|
3731
|
+
<dl>
|
|
3732
|
+
<dd>
|
|
3733
|
+
|
|
3734
|
+
Retrieves all wallets associated with a customer.
|
|
3735
|
+
|
|
3736
|
+
</dd>
|
|
3737
|
+
</dl>
|
|
3738
|
+
</dd>
|
|
3739
|
+
</dl>
|
|
3740
|
+
|
|
3741
|
+
#### 🔌 Usage
|
|
3742
|
+
|
|
3743
|
+
<dl>
|
|
3744
|
+
<dd>
|
|
3745
|
+
|
|
3746
|
+
<dl>
|
|
3747
|
+
<dd>
|
|
3748
|
+
|
|
3749
|
+
```typescript
|
|
3750
|
+
await client.api.thera.bridge.bridgeApi.walletsTransactionHistory("string");
|
|
3751
|
+
```
|
|
3752
|
+
|
|
3753
|
+
</dd>
|
|
3754
|
+
</dl>
|
|
3755
|
+
</dd>
|
|
3756
|
+
</dl>
|
|
3757
|
+
|
|
3758
|
+
#### ⚙️ Parameters
|
|
3759
|
+
|
|
3760
|
+
<dl>
|
|
3761
|
+
<dd>
|
|
3762
|
+
|
|
3763
|
+
<dl>
|
|
3764
|
+
<dd>
|
|
3765
|
+
|
|
3766
|
+
**walletId:** `string`
|
|
3767
|
+
|
|
3768
|
+
</dd>
|
|
3769
|
+
</dl>
|
|
3770
|
+
|
|
3771
|
+
<dl>
|
|
3772
|
+
<dd>
|
|
3773
|
+
|
|
3774
|
+
**requestOptions:** `BridgeApi.RequestOptions`
|
|
3775
|
+
|
|
3776
|
+
</dd>
|
|
3777
|
+
</dl>
|
|
3778
|
+
</dd>
|
|
3779
|
+
</dl>
|
|
3780
|
+
|
|
3781
|
+
</dd>
|
|
3782
|
+
</dl>
|
|
3783
|
+
</details>
|
|
3784
|
+
|
|
3712
3785
|
<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>
|
|
3713
3786
|
<dl>
|
|
3714
3787
|
<dd>
|
|
@@ -7690,7 +7763,70 @@ await client.api.thera.eor.eorTrackerApi.getEorTracker("string");
|
|
|
7690
7763
|
</dl>
|
|
7691
7764
|
</details>
|
|
7692
7765
|
|
|
7693
|
-
<details><summary><code>client.api.thera.eor.eorTrackerApi.<a href="/src/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.ts">
|
|
7766
|
+
<details><summary><code>client.api.thera.eor.eorTrackerApi.<a href="/src/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.ts">getEorEmployeeByEmail</a>(email) -> TheraApi.GetEorEmployeeByEmailResponse</code></summary>
|
|
7767
|
+
<dl>
|
|
7768
|
+
<dd>
|
|
7769
|
+
|
|
7770
|
+
#### 📝 Description
|
|
7771
|
+
|
|
7772
|
+
<dl>
|
|
7773
|
+
<dd>
|
|
7774
|
+
|
|
7775
|
+
<dl>
|
|
7776
|
+
<dd>
|
|
7777
|
+
|
|
7778
|
+
Gets EOR employee data from Airtable for a specific employee email
|
|
7779
|
+
|
|
7780
|
+
</dd>
|
|
7781
|
+
</dl>
|
|
7782
|
+
</dd>
|
|
7783
|
+
</dl>
|
|
7784
|
+
|
|
7785
|
+
#### 🔌 Usage
|
|
7786
|
+
|
|
7787
|
+
<dl>
|
|
7788
|
+
<dd>
|
|
7789
|
+
|
|
7790
|
+
<dl>
|
|
7791
|
+
<dd>
|
|
7792
|
+
|
|
7793
|
+
```typescript
|
|
7794
|
+
await client.api.thera.eor.eorTrackerApi.getEorEmployeeByEmail("string");
|
|
7795
|
+
```
|
|
7796
|
+
|
|
7797
|
+
</dd>
|
|
7798
|
+
</dl>
|
|
7799
|
+
</dd>
|
|
7800
|
+
</dl>
|
|
7801
|
+
|
|
7802
|
+
#### ⚙️ Parameters
|
|
7803
|
+
|
|
7804
|
+
<dl>
|
|
7805
|
+
<dd>
|
|
7806
|
+
|
|
7807
|
+
<dl>
|
|
7808
|
+
<dd>
|
|
7809
|
+
|
|
7810
|
+
**email:** `string`
|
|
7811
|
+
|
|
7812
|
+
</dd>
|
|
7813
|
+
</dl>
|
|
7814
|
+
|
|
7815
|
+
<dl>
|
|
7816
|
+
<dd>
|
|
7817
|
+
|
|
7818
|
+
**requestOptions:** `EorTrackerApi.RequestOptions`
|
|
7819
|
+
|
|
7820
|
+
</dd>
|
|
7821
|
+
</dl>
|
|
7822
|
+
</dd>
|
|
7823
|
+
</dl>
|
|
7824
|
+
|
|
7825
|
+
</dd>
|
|
7826
|
+
</dl>
|
|
7827
|
+
</details>
|
|
7828
|
+
|
|
7829
|
+
<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>
|
|
7694
7830
|
<dl>
|
|
7695
7831
|
<dd>
|
|
7696
7832
|
|
|
@@ -7702,7 +7838,7 @@ await client.api.thera.eor.eorTrackerApi.getEorTracker("string");
|
|
|
7702
7838
|
<dl>
|
|
7703
7839
|
<dd>
|
|
7704
7840
|
|
|
7705
|
-
Gets EOR employee
|
|
7841
|
+
Gets the email field of the latest EOR employee record added to Airtable for a specific company ID
|
|
7706
7842
|
|
|
7707
7843
|
</dd>
|
|
7708
7844
|
</dl>
|
|
@@ -7718,7 +7854,7 @@ Gets EOR employee data from Airtable for a specific employee user ID
|
|
|
7718
7854
|
<dd>
|
|
7719
7855
|
|
|
7720
7856
|
```typescript
|
|
7721
|
-
await client.api.thera.eor.eorTrackerApi.
|
|
7857
|
+
await client.api.thera.eor.eorTrackerApi.getLatestEorEmployeeEmailByCompanyId("string");
|
|
7722
7858
|
```
|
|
7723
7859
|
|
|
7724
7860
|
</dd>
|
|
@@ -7734,7 +7870,7 @@ await client.api.thera.eor.eorTrackerApi.getEorEmployeeByUserId("string");
|
|
|
7734
7870
|
<dl>
|
|
7735
7871
|
<dd>
|
|
7736
7872
|
|
|
7737
|
-
**
|
|
7873
|
+
**companyId:** `string`
|
|
7738
7874
|
|
|
7739
7875
|
</dd>
|
|
7740
7876
|
</dl>
|
|
@@ -8145,6 +8281,84 @@ await client.api.thera.misc.misc.processAchTpInvoices({
|
|
|
8145
8281
|
</dl>
|
|
8146
8282
|
</details>
|
|
8147
8283
|
|
|
8284
|
+
<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>
|
|
8285
|
+
<dl>
|
|
8286
|
+
<dd>
|
|
8287
|
+
|
|
8288
|
+
#### 📝 Description
|
|
8289
|
+
|
|
8290
|
+
<dl>
|
|
8291
|
+
<dd>
|
|
8292
|
+
|
|
8293
|
+
<dl>
|
|
8294
|
+
<dd>
|
|
8295
|
+
|
|
8296
|
+
Webhook endpoint that receives submissions from Fillout forms to create EOR employees. This endpoint accepts the same request structure as the AddEorEmployeeRequest.
|
|
8297
|
+
|
|
8298
|
+
</dd>
|
|
8299
|
+
</dl>
|
|
8300
|
+
</dd>
|
|
8301
|
+
</dl>
|
|
8302
|
+
|
|
8303
|
+
#### 🔌 Usage
|
|
8304
|
+
|
|
8305
|
+
<dl>
|
|
8306
|
+
<dd>
|
|
8307
|
+
|
|
8308
|
+
<dl>
|
|
8309
|
+
<dd>
|
|
8310
|
+
|
|
8311
|
+
```typescript
|
|
8312
|
+
await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
|
|
8313
|
+
theraWebhookSignatureHeader: "string",
|
|
8314
|
+
body: {
|
|
8315
|
+
firstName: "string",
|
|
8316
|
+
lastName: "string",
|
|
8317
|
+
email: "string",
|
|
8318
|
+
country: "string",
|
|
8319
|
+
companyId: "string",
|
|
8320
|
+
teamId: "string",
|
|
8321
|
+
jobTitle: "string",
|
|
8322
|
+
startDate: "2023-01-15",
|
|
8323
|
+
rate: 1.1,
|
|
8324
|
+
wageType: "HOURLY",
|
|
8325
|
+
currency: "string",
|
|
8326
|
+
},
|
|
8327
|
+
});
|
|
8328
|
+
```
|
|
8329
|
+
|
|
8330
|
+
</dd>
|
|
8331
|
+
</dl>
|
|
8332
|
+
</dd>
|
|
8333
|
+
</dl>
|
|
8334
|
+
|
|
8335
|
+
#### ⚙️ Parameters
|
|
8336
|
+
|
|
8337
|
+
<dl>
|
|
8338
|
+
<dd>
|
|
8339
|
+
|
|
8340
|
+
<dl>
|
|
8341
|
+
<dd>
|
|
8342
|
+
|
|
8343
|
+
**request:** `TheraApi.api.thera.misc.FilloutEorEmployeeRequest`
|
|
8344
|
+
|
|
8345
|
+
</dd>
|
|
8346
|
+
</dl>
|
|
8347
|
+
|
|
8348
|
+
<dl>
|
|
8349
|
+
<dd>
|
|
8350
|
+
|
|
8351
|
+
**requestOptions:** `Misc.RequestOptions`
|
|
8352
|
+
|
|
8353
|
+
</dd>
|
|
8354
|
+
</dl>
|
|
8355
|
+
</dd>
|
|
8356
|
+
</dl>
|
|
8357
|
+
|
|
8358
|
+
</dd>
|
|
8359
|
+
</dl>
|
|
8360
|
+
</details>
|
|
8361
|
+
|
|
8148
8362
|
## Offcycle API
|
|
8149
8363
|
|
|
8150
8364
|
<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>
|
|
@@ -7,6 +7,8 @@ import * as core from "../../../../../../../../core";
|
|
|
7
7
|
import { WageType } from "../../../../../../model/resources/thera/resources/contract/types/WageType";
|
|
8
8
|
import { PayCycle } from "../../../../../../model/resources/thera/resources/contract/types/PayCycle";
|
|
9
9
|
import { ContractType } from "../../../../../../model/resources/thera/resources/contract/types/ContractType";
|
|
10
|
+
import { ContractDocumentType } from "../../../../../../model/resources/thera/resources/contract/types/ContractDocumentType";
|
|
11
|
+
import { VerificationSetting } from "../../../../../../model/resources/thera/resources/setting/types/VerificationSetting";
|
|
10
12
|
export declare const ExternalCreateContractorRequestV2: core.serialization.ObjectSchema<serializers.api.external.ExternalCreateContractorRequestV2.Raw, TheraApi.api.external.ExternalCreateContractorRequestV2>;
|
|
11
13
|
export declare namespace ExternalCreateContractorRequestV2 {
|
|
12
14
|
interface Raw {
|
|
@@ -19,5 +21,12 @@ export declare namespace ExternalCreateContractorRequestV2 {
|
|
|
19
21
|
wageType: WageType.Raw;
|
|
20
22
|
payCycle: PayCycle.Raw;
|
|
21
23
|
contractType: ContractType.Raw;
|
|
24
|
+
contractName: string;
|
|
25
|
+
contractDocumentType: ContractDocumentType.Raw;
|
|
26
|
+
companySigningAuthorityUserId?: string | null;
|
|
27
|
+
verificationSetting: VerificationSetting.Raw;
|
|
28
|
+
clientCanSubmitWork?: boolean | null;
|
|
29
|
+
workerCanSubmitWork?: boolean | null;
|
|
30
|
+
scopeOfWork?: string | null;
|
|
22
31
|
}
|
|
23
32
|
}
|
|
@@ -41,6 +41,8 @@ const core = __importStar(require("../../../../../../../../core"));
|
|
|
41
41
|
const WageType_1 = require("../../../../../../model/resources/thera/resources/contract/types/WageType");
|
|
42
42
|
const PayCycle_1 = require("../../../../../../model/resources/thera/resources/contract/types/PayCycle");
|
|
43
43
|
const ContractType_1 = require("../../../../../../model/resources/thera/resources/contract/types/ContractType");
|
|
44
|
+
const ContractDocumentType_1 = require("../../../../../../model/resources/thera/resources/contract/types/ContractDocumentType");
|
|
45
|
+
const VerificationSetting_1 = require("../../../../../../model/resources/thera/resources/setting/types/VerificationSetting");
|
|
44
46
|
exports.ExternalCreateContractorRequestV2 = core.serialization.object({
|
|
45
47
|
email: core.serialization.string(),
|
|
46
48
|
firstName: core.serialization.string(),
|
|
@@ -51,4 +53,11 @@ exports.ExternalCreateContractorRequestV2 = core.serialization.object({
|
|
|
51
53
|
wageType: WageType_1.WageType,
|
|
52
54
|
payCycle: PayCycle_1.PayCycle,
|
|
53
55
|
contractType: ContractType_1.ContractType,
|
|
56
|
+
contractName: core.serialization.string(),
|
|
57
|
+
contractDocumentType: ContractDocumentType_1.ContractDocumentType,
|
|
58
|
+
companySigningAuthorityUserId: core.serialization.string().optional(),
|
|
59
|
+
verificationSetting: VerificationSetting_1.VerificationSetting,
|
|
60
|
+
clientCanSubmitWork: core.serialization.boolean().optional(),
|
|
61
|
+
workerCanSubmitWork: core.serialization.boolean().optional(),
|
|
62
|
+
scopeOfWork: core.serialization.string().optional(),
|
|
54
63
|
});
|
|
@@ -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
|
+
}
|