@thera-hr/api-sdk 0.0.1-prerelease2813-staging → 0.0.1-prerelease2857-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/Client.d.ts +8 -1
- package/api/resources/api/client/Client.d.ts +6 -9
- package/api/resources/api/resources/aiprise/client/Client.d.ts +3 -6
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.d.ts +8 -1
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +24 -19
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationResultStatus.d.ts +1 -1
- package/api/resources/api/resources/aiprise/resources/index.js +17 -7
- package/api/resources/api/resources/dev/client/Client.d.ts +3 -6
- package/api/resources/api/resources/dev/resources/dev/client/Client.d.ts +8 -1
- package/api/resources/api/resources/dev/resources/dev/client/Client.js +24 -21
- package/api/resources/api/resources/dev/resources/dev/client/requests/AddEorEmployeeRequest.d.ts +1 -1
- package/api/resources/api/resources/dev/resources/index.js +17 -7
- package/api/resources/api/resources/index.js +17 -7
- package/api/resources/api/resources/oneschema/resources/index.js +17 -7
- package/api/resources/api/resources/request/resources/index.js +17 -7
- package/api/resources/api/resources/request/resources/thera/resources/document/types/CreateDocumentDetail.d.ts +1 -1
- package/api/resources/api/resources/request/resources/thera/resources/document/types/Irs1099NecFormType.d.ts +1 -1
- package/api/resources/api/resources/request/resources/thera/resources/document/types/W8BenEEntityType.d.ts +1 -1
- package/api/resources/api/resources/request/resources/thera/resources/index.js +17 -7
- package/api/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/ContributionType.d.ts +1 -1
- package/api/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/DeductionType.d.ts +1 -1
- package/api/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/DisbursementMethod.d.ts +1 -1
- package/api/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/DisbursementStatus.d.ts +1 -1
- package/api/resources/api/resources/request/resources/zeal/resources/check/resources/index.js +17 -7
- package/api/resources/api/resources/request/resources/zeal/resources/check/resources/reportingPeriod/types/ReportingPeriodPaySchedule.d.ts +1 -1
- package/api/resources/api/resources/request/resources/zeal/resources/deduction/resources/index.js +17 -7
- package/api/resources/api/resources/request/resources/zeal/resources/employee/resources/index.js +17 -7
- package/api/resources/api/resources/request/resources/zeal/resources/index.js +17 -7
- package/api/resources/api/resources/response/resources/index.js +17 -7
- package/api/resources/api/resources/response/resources/thera/resources/index.js +17 -7
- package/api/resources/api/resources/services/client/Client.d.ts +3 -6
- package/api/resources/api/resources/services/resources/file/client/Client.d.ts +7 -0
- package/api/resources/api/resources/services/resources/file/client/Client.js +47 -62
- package/api/resources/api/resources/services/resources/index.js +17 -7
- package/api/resources/api/resources/thera/client/Client.d.ts +18 -21
- package/api/resources/api/resources/thera/resources/accounting/client/Client.d.ts +3 -6
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.d.ts +8 -1
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +42 -52
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/requests/ModifyAccountingIntegrationSetting.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/types/CompanyAccountingIntegrationsStatusResponse.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/accounting/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/bank/client/Client.d.ts +3 -6
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +12 -5
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +236 -387
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWithdrawalMethodCurrenciesRequest.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethod.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodProvider.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/StripeUsBankAccountStatusResponse.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/TransactionStatus.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/UsBankAccountProviderDetails.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerTransactionDetails.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerTransactionStatus.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/bridge/client/Client.d.ts +3 -6
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +53 -3
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +350 -228
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/TransferFundsRequest.d.ts +3 -1
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Address.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountDestination.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountDestination.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountRequest.d.ts +9 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountSource.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountSource.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsFlow.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsResponse.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccount.d.ts +13 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccount.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountDestination.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountDestination.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistory.d.ts +20 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistory.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistoryResponse.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistoryResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistorySource.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistorySource.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountResponse.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountSource.d.ts +16 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountSource.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +10 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/common/resources/common/types/CardDisplayBrand.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/common/resources/common/types/PlaidVerificationStatus.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/common/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/company/client/Client.d.ts +4 -7
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +15 -8
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +151 -231
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.d.ts +2 -2
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/ContractPermission.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/ContractRole.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/GetContractorCsvResponse.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/GetContractsCsvResponse.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InvoicePermission.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InvoiceRole.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgPermission.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamPermission.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/WarrantObjectType.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +38 -41
- package/api/resources/api/resources/thera/resources/company/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/contractor/client/Client.d.ts +3 -6
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.d.ts +12 -5
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +41 -46
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.d.ts +5 -5
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/ContractorsOnboardCsvUploadContractDocumentType.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/WorkSubmitterType.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/contractor/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/disbursement/client/Client.d.ts +4 -7
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.d.ts +9 -2
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +59 -84
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementDetail.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/InvoiceTypeCsvRecord.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/InvoiceWorkUnitType.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +24 -20
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/InvoiceWebhookEvent.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/document/client/Client.d.ts +3 -6
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.d.ts +9 -2
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +37 -42
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/requests/BulkFileUsIrs1099NecDocumentRequest.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/requests/GetUsIrs1099NecDocumentRequest.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/types/UsIrs1099NecFormStatusRequest.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/types/UsIrs1099NecFormStatusResponse.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/email/client/Client.d.ts +3 -6
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +29 -29
- package/api/resources/api/resources/thera/resources/email/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/employment/client/Client.d.ts +3 -6
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.d.ts +9 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +55 -68
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/types/ContractEstimateCalculationType.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/types/WorkingWeekSelectionType.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/employment/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/eor/client/Client.d.ts +3 -6
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +29 -29
- package/api/resources/api/resources/thera/resources/eor/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/misc/client/Client.d.ts +3 -6
- package/api/resources/api/resources/thera/resources/misc/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +50 -76
- package/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +4 -7
- package/api/resources/api/resources/thera/resources/payroll/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +23 -18
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +34 -39
- package/api/resources/api/resources/thera/resources/timeoff/client/Client.d.ts +3 -6
- package/api/resources/api/resources/thera/resources/timeoff/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.d.ts +21 -14
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +124 -182
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/GetAllContractorsTimeOffHistoryByCompanyRequest.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/ContractTypeResponse.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetTimeOffStatusDtoRequest.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/TimeOffAllowanceType.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/TimeOffLengthTypeRequest.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/TimeOffStatusDtoRequest.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/TimeOffStatusDtoResponse.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/timetracking/client/Client.d.ts +3 -6
- package/api/resources/api/resources/thera/resources/timetracking/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +77 -112
- package/api/resources/api/resources/thera/resources/tp/client/Client.d.ts +3 -6
- package/api/resources/api/resources/thera/resources/tp/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +9 -2
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +81 -121
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/AddCompanyBankingDetailsRequest.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/TpAccountRequest.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/FboType.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/user/client/Client.d.ts +3 -6
- package/api/resources/api/resources/thera/resources/user/resources/index.js +17 -7
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +37 -42
- package/api/resources/api/resources/zeal/resources/company/resources/index.js +17 -7
- package/api/resources/api/resources/zeal/resources/index.js +17 -7
- package/api/resources/db/resources/company/types/AccrualType.d.ts +1 -1
- package/api/resources/db/resources/company/types/AllowanceType.d.ts +1 -1
- package/api/resources/db/resources/company/types/CompanyLegalStructure.d.ts +1 -1
- package/api/resources/db/resources/company/types/CompanyPayFrequency.d.ts +1 -1
- package/api/resources/db/resources/company/types/CompanyStatus.d.ts +1 -1
- package/api/resources/db/resources/company/types/MidYearJoiningAllowanceType.d.ts +1 -1
- package/api/resources/db/resources/company/types/PayCycleType.d.ts +1 -1
- package/api/resources/db/resources/company/types/PaymentMethodStatus.d.ts +1 -1
- package/api/resources/db/resources/company/types/TheraBillingType.d.ts +1 -1
- package/api/resources/db/resources/company/types/TimeOffType.d.ts +1 -1
- package/api/resources/db/resources/company/types/TpCompanyOnboardingStage.d.ts +1 -1
- package/api/resources/db/resources/company/types/W2ImplementationStatus.d.ts +1 -1
- package/api/resources/db/resources/company/types/W2OnboardStatus.d.ts +1 -1
- package/api/resources/db/resources/contract/types/Earning.d.ts +1 -1
- package/api/resources/db/resources/contract/types/EmploymentStatus.d.ts +1 -1
- package/api/resources/db/resources/contract/types/Frequency.d.ts +1 -1
- package/api/resources/db/resources/contract/types/MilestoneStatus.d.ts +1 -1
- package/api/resources/db/resources/contract/types/RecurrenceDetails.d.ts +1 -1
- package/api/resources/db/resources/document/types/DocumentMetadata.d.ts +1 -1
- package/api/resources/db/resources/document/types/DocumentRecipientRole.d.ts +1 -1
- package/api/resources/db/resources/document/types/DocumentType.d.ts +1 -1
- package/api/resources/db/resources/document/types/UsIrs1099NecFormStatus.d.ts +1 -1
- package/api/resources/db/resources/document/types/UsIrsDocumentMetadata.d.ts +1 -1
- package/api/resources/db/resources/generic/types/GenericTypeKey.d.ts +1 -1
- package/api/resources/db/resources/index.js +17 -7
- package/api/resources/db/resources/invoice/types/InvoiceType.d.ts +1 -1
- package/api/resources/db/resources/invoice/types/Status.d.ts +1 -1
- package/api/resources/db/resources/migrations/types/LedgerMigrationType.d.ts +1 -1
- package/api/resources/db/resources/migrations/types/LedgerTrxStatus.d.ts +1 -1
- package/api/resources/db/resources/migrations/types/MigrationMetadata.d.ts +1 -1
- package/api/resources/db/resources/migrations/types/MigrationStatus.d.ts +1 -1
- package/api/resources/db/resources/migrations/types/MigrationType.d.ts +1 -1
- package/api/resources/db/resources/paymentMethod/types/PaymentMethodDetails.d.ts +1 -1
- package/api/resources/db/resources/paymentMethod/types/StripeBankAccountVerificationStatus.d.ts +1 -1
- package/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -1
- package/api/resources/db/resources/paymentMethod/types/StripeMandateStatus.d.ts +1 -1
- package/api/resources/db/resources/user/types/AiPriseVerificationStatus.d.ts +1 -1
- package/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +1 -0
- package/api/resources/db/resources/user/types/ComplianceDocumentType.d.ts +1 -1
- package/api/resources/db/resources/user/types/EmployeeOnboardingStatus.d.ts +1 -1
- package/api/resources/db/resources/user/types/EntityType.d.ts +1 -1
- package/api/resources/db/resources/user/types/KycDocumentType.d.ts +1 -1
- package/api/resources/db/resources/user/types/MfaType.d.ts +1 -1
- package/api/resources/db/resources/user/types/PoweredBy.d.ts +1 -1
- package/api/resources/db/resources/user/types/TimeOffLength.d.ts +1 -1
- package/api/resources/db/resources/user/types/TimeOffStatus.d.ts +1 -1
- package/api/resources/db/resources/user/types/UserType.d.ts +1 -1
- package/api/resources/db/resources/user/types/WithdrawalMethod.d.ts +1 -1
- package/api/resources/db/resources/user/types/WithdrawalMethodAccountType.d.ts +2 -1
- package/api/resources/db/resources/user/types/WithdrawalMethodAccountType.js +1 -0
- package/api/resources/index.js +17 -7
- package/api/resources/model/resources/index.js +17 -7
- package/api/resources/model/resources/thera/resources/contract/types/ContractDocumentType.d.ts +1 -1
- package/api/resources/model/resources/thera/resources/contract/types/ContractType.d.ts +1 -1
- package/api/resources/model/resources/thera/resources/contract/types/DayOfWeek.d.ts +1 -1
- package/api/resources/model/resources/thera/resources/contract/types/EmploymentType.d.ts +1 -1
- package/api/resources/model/resources/thera/resources/contract/types/MonthlyPayCycleEnd.d.ts +1 -1
- package/api/resources/model/resources/thera/resources/contract/types/PayCycleEnd.d.ts +1 -1
- package/api/resources/model/resources/thera/resources/contract/types/SemiMonthlyPayCycleEnd.d.ts +1 -1
- package/api/resources/model/resources/thera/resources/contract/types/WageType.d.ts +1 -1
- package/api/resources/model/resources/thera/resources/disbursement/types/DisbursementItemType.d.ts +1 -1
- package/api/resources/model/resources/thera/resources/document/types/W9TaxClassificationType.d.ts +1 -1
- package/api/resources/model/resources/thera/resources/index.js +17 -7
- package/core/auth/BearerToken.d.ts +1 -1
- package/core/fetcher/APIResponse.d.ts +1 -1
- package/core/fetcher/Fetcher.d.ts +6 -3
- package/core/fetcher/Fetcher.js +20 -185
- package/core/fetcher/Supplier.d.ts +1 -1
- package/core/fetcher/createRequestUrl.d.ts +1 -0
- package/core/fetcher/createRequestUrl.js +12 -0
- package/core/fetcher/getFetchFn.d.ts +4 -0
- package/core/fetcher/getFetchFn.js +68 -0
- package/core/fetcher/getHeader.js +1 -2
- package/core/fetcher/getRequestBody.d.ts +7 -0
- package/core/fetcher/getRequestBody.js +23 -0
- package/core/fetcher/getResponseBody.d.ts +1 -0
- package/core/fetcher/getResponseBody.js +54 -0
- package/core/fetcher/makeRequest.d.ts +1 -0
- package/core/fetcher/makeRequest.js +42 -0
- package/core/fetcher/requestWithRetries.d.ts +1 -0
- package/core/fetcher/requestWithRetries.js +40 -0
- package/core/fetcher/signals.d.ts +11 -0
- package/core/fetcher/signals.js +36 -0
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +21 -0
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +126 -0
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +59 -0
- package/core/index.js +17 -7
- package/core/json.d.ts +15 -0
- package/core/json.js +24 -0
- package/core/runtime/runtime.d.ts +2 -1
- package/core/runtime/runtime.js +52 -41
- package/core/schemas/Schema.d.ts +15 -9
- package/core/schemas/Schema.js +3 -0
- package/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/core/schemas/builders/bigint/bigint.js +53 -0
- package/core/schemas/builders/bigint/index.d.ts +1 -0
- package/core/schemas/builders/bigint/index.js +5 -0
- package/core/schemas/builders/date/date.js +1 -2
- package/core/schemas/builders/enum/enum.js +1 -2
- package/core/schemas/builders/index.d.ts +1 -0
- package/core/schemas/builders/index.js +1 -0
- package/core/schemas/builders/lazy/lazy.d.ts +2 -2
- package/core/schemas/builders/lazy/lazy.js +11 -23
- package/core/schemas/builders/lazy/lazyObject.js +2 -12
- package/core/schemas/builders/list/list.js +32 -46
- package/core/schemas/builders/literals/booleanLiteral.js +1 -2
- package/core/schemas/builders/literals/stringLiteral.js +1 -2
- package/core/schemas/builders/object/object.d.ts +1 -1
- package/core/schemas/builders/object/object.js +121 -114
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +3 -3
- package/core/schemas/builders/object/objectWithoutOptionalProperties.js +1 -2
- package/core/schemas/builders/object/property.js +2 -3
- package/core/schemas/builders/object/types.d.ts +18 -13
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +5 -15
- package/core/schemas/builders/object-like/types.d.ts +1 -1
- package/core/schemas/builders/record/record.js +49 -62
- package/core/schemas/builders/record/types.d.ts +2 -2
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +6 -2
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +85 -25
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +1 -2
- package/core/schemas/builders/set/set.js +7 -17
- package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -4
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +22 -34
- package/core/schemas/builders/union/discriminant.js +1 -2
- package/core/schemas/builders/union/types.d.ts +6 -6
- package/core/schemas/builders/union/union.d.ts +1 -1
- package/core/schemas/builders/union/union.js +52 -64
- package/core/schemas/utils/MaybePromise.d.ts +1 -1
- package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +4 -4
- package/core/schemas/utils/createIdentitySchemaCreator.js +1 -2
- package/core/schemas/utils/entries.d.ts +1 -1
- package/core/schemas/utils/entries.js +1 -2
- package/core/schemas/utils/filterObject.d.ts +1 -1
- package/core/schemas/utils/filterObject.js +1 -2
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +5 -2
- package/core/schemas/utils/isPlainObject.js +1 -2
- package/core/schemas/utils/keys.d.ts +1 -1
- package/core/schemas/utils/keys.js +1 -2
- package/core/schemas/utils/maybeSkipValidation.js +4 -14
- package/core/schemas/utils/partition.js +1 -2
- package/dist/Client.d.ts +8 -1
- package/dist/api/resources/api/client/Client.d.ts +6 -9
- package/dist/api/resources/api/resources/aiprise/client/Client.d.ts +3 -6
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.d.ts +8 -1
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +24 -19
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationResultStatus.d.ts +1 -1
- package/dist/api/resources/api/resources/aiprise/resources/index.js +17 -7
- package/dist/api/resources/api/resources/dev/client/Client.d.ts +3 -6
- package/dist/api/resources/api/resources/dev/resources/dev/client/Client.d.ts +8 -1
- package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +24 -21
- package/dist/api/resources/api/resources/dev/resources/dev/client/requests/AddEorEmployeeRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/dev/resources/index.js +17 -7
- package/dist/api/resources/api/resources/index.js +17 -7
- package/dist/api/resources/api/resources/oneschema/resources/index.js +17 -7
- package/dist/api/resources/api/resources/request/resources/index.js +17 -7
- package/dist/api/resources/api/resources/request/resources/thera/resources/document/types/CreateDocumentDetail.d.ts +1 -1
- package/dist/api/resources/api/resources/request/resources/thera/resources/document/types/Irs1099NecFormType.d.ts +1 -1
- package/dist/api/resources/api/resources/request/resources/thera/resources/document/types/W8BenEEntityType.d.ts +1 -1
- package/dist/api/resources/api/resources/request/resources/thera/resources/index.js +17 -7
- package/dist/api/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/ContributionType.d.ts +1 -1
- package/dist/api/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/DeductionType.d.ts +1 -1
- package/dist/api/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/DisbursementMethod.d.ts +1 -1
- package/dist/api/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/DisbursementStatus.d.ts +1 -1
- package/dist/api/resources/api/resources/request/resources/zeal/resources/check/resources/index.js +17 -7
- package/dist/api/resources/api/resources/request/resources/zeal/resources/check/resources/reportingPeriod/types/ReportingPeriodPaySchedule.d.ts +1 -1
- package/dist/api/resources/api/resources/request/resources/zeal/resources/deduction/resources/index.js +17 -7
- package/dist/api/resources/api/resources/request/resources/zeal/resources/employee/resources/index.js +17 -7
- package/dist/api/resources/api/resources/request/resources/zeal/resources/index.js +17 -7
- package/dist/api/resources/api/resources/response/resources/index.js +17 -7
- package/dist/api/resources/api/resources/response/resources/thera/resources/index.js +17 -7
- package/dist/api/resources/api/resources/services/client/Client.d.ts +3 -6
- package/dist/api/resources/api/resources/services/resources/file/client/Client.d.ts +7 -0
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +47 -62
- package/dist/api/resources/api/resources/services/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/client/Client.d.ts +18 -21
- package/dist/api/resources/api/resources/thera/resources/accounting/client/Client.d.ts +3 -6
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.d.ts +8 -1
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +42 -52
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/requests/ModifyAccountingIntegrationSetting.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/types/CompanyAccountingIntegrationsStatusResponse.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/bank/client/Client.d.ts +3 -6
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +12 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +236 -387
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWithdrawalMethodCurrenciesRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethod.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodProvider.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/StripeUsBankAccountStatusResponse.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/TransactionStatus.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/UsBankAccountProviderDetails.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerTransactionDetails.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerTransactionStatus.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/bridge/client/Client.d.ts +3 -6
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +53 -3
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +350 -228
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/TransferFundsRequest.d.ts +3 -1
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Address.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountDestination.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountDestination.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountRequest.d.ts +9 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountSource.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountSource.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsFlow.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsResponse.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccount.d.ts +13 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccount.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountDestination.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountDestination.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistory.d.ts +20 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistory.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistoryResponse.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistoryResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistorySource.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistorySource.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountResponse.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountSource.d.ts +16 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountSource.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +10 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/common/resources/common/types/CardDisplayBrand.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/common/resources/common/types/PlaidVerificationStatus.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/common/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/company/client/Client.d.ts +4 -7
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +15 -8
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +151 -231
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.d.ts +2 -2
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/ContractPermission.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/ContractRole.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/GetContractorCsvResponse.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/GetContractsCsvResponse.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InvoicePermission.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InvoiceRole.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgPermission.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamPermission.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/WarrantObjectType.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +38 -41
- package/dist/api/resources/api/resources/thera/resources/company/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/contractor/client/Client.d.ts +3 -6
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.d.ts +12 -5
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +41 -46
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.d.ts +5 -5
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/ContractorsOnboardCsvUploadContractDocumentType.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/WorkSubmitterType.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/client/Client.d.ts +4 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.d.ts +9 -2
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +59 -84
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementDetail.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/InvoiceTypeCsvRecord.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/InvoiceWorkUnitType.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +24 -20
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/InvoiceWebhookEvent.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/document/client/Client.d.ts +3 -6
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.d.ts +9 -2
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +37 -42
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/requests/BulkFileUsIrs1099NecDocumentRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/requests/GetUsIrs1099NecDocumentRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/types/UsIrs1099NecFormStatusRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/types/UsIrs1099NecFormStatusResponse.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/email/client/Client.d.ts +3 -6
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +29 -29
- package/dist/api/resources/api/resources/thera/resources/email/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/employment/client/Client.d.ts +3 -6
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.d.ts +9 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +55 -68
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/types/ContractEstimateCalculationType.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/types/WorkingWeekSelectionType.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/employment/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/eor/client/Client.d.ts +3 -6
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +29 -29
- package/dist/api/resources/api/resources/thera/resources/eor/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/misc/client/Client.d.ts +3 -6
- package/dist/api/resources/api/resources/thera/resources/misc/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +50 -76
- package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +4 -7
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +23 -18
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +34 -39
- package/dist/api/resources/api/resources/thera/resources/timeoff/client/Client.d.ts +3 -6
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.d.ts +21 -14
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +124 -182
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/GetAllContractorsTimeOffHistoryByCompanyRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/ContractTypeResponse.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetTimeOffStatusDtoRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/TimeOffAllowanceType.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/TimeOffLengthTypeRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/TimeOffStatusDtoRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/TimeOffStatusDtoResponse.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/timetracking/client/Client.d.ts +3 -6
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +77 -112
- package/dist/api/resources/api/resources/thera/resources/tp/client/Client.d.ts +3 -6
- package/dist/api/resources/api/resources/thera/resources/tp/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +9 -2
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +81 -121
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/AddCompanyBankingDetailsRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/TpAccountRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/FboType.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/user/client/Client.d.ts +3 -6
- package/dist/api/resources/api/resources/thera/resources/user/resources/index.js +17 -7
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +37 -42
- package/dist/api/resources/api/resources/zeal/resources/company/resources/index.js +17 -7
- package/dist/api/resources/api/resources/zeal/resources/index.js +17 -7
- package/dist/api/resources/db/resources/company/types/AccrualType.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/AllowanceType.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/CompanyLegalStructure.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/CompanyPayFrequency.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/CompanyStatus.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/MidYearJoiningAllowanceType.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/PayCycleType.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/PaymentMethodStatus.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/TheraBillingType.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/TimeOffType.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/TpCompanyOnboardingStage.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/W2ImplementationStatus.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/W2OnboardStatus.d.ts +1 -1
- package/dist/api/resources/db/resources/contract/types/Earning.d.ts +1 -1
- package/dist/api/resources/db/resources/contract/types/EmploymentStatus.d.ts +1 -1
- package/dist/api/resources/db/resources/contract/types/Frequency.d.ts +1 -1
- package/dist/api/resources/db/resources/contract/types/MilestoneStatus.d.ts +1 -1
- package/dist/api/resources/db/resources/contract/types/RecurrenceDetails.d.ts +1 -1
- package/dist/api/resources/db/resources/document/types/DocumentMetadata.d.ts +1 -1
- package/dist/api/resources/db/resources/document/types/DocumentRecipientRole.d.ts +1 -1
- package/dist/api/resources/db/resources/document/types/DocumentType.d.ts +1 -1
- package/dist/api/resources/db/resources/document/types/UsIrs1099NecFormStatus.d.ts +1 -1
- package/dist/api/resources/db/resources/document/types/UsIrsDocumentMetadata.d.ts +1 -1
- package/dist/api/resources/db/resources/generic/types/GenericTypeKey.d.ts +1 -1
- package/dist/api/resources/db/resources/index.js +17 -7
- package/dist/api/resources/db/resources/invoice/types/InvoiceType.d.ts +1 -1
- package/dist/api/resources/db/resources/invoice/types/Status.d.ts +1 -1
- package/dist/api/resources/db/resources/migrations/types/LedgerMigrationType.d.ts +1 -1
- package/dist/api/resources/db/resources/migrations/types/LedgerTrxStatus.d.ts +1 -1
- package/dist/api/resources/db/resources/migrations/types/MigrationMetadata.d.ts +1 -1
- package/dist/api/resources/db/resources/migrations/types/MigrationStatus.d.ts +1 -1
- package/dist/api/resources/db/resources/migrations/types/MigrationType.d.ts +1 -1
- package/dist/api/resources/db/resources/paymentMethod/types/PaymentMethodDetails.d.ts +1 -1
- package/dist/api/resources/db/resources/paymentMethod/types/StripeBankAccountVerificationStatus.d.ts +1 -1
- package/dist/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -1
- package/dist/api/resources/db/resources/paymentMethod/types/StripeMandateStatus.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/AiPriseVerificationStatus.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +1 -0
- package/dist/api/resources/db/resources/user/types/ComplianceDocumentType.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/EmployeeOnboardingStatus.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/EntityType.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/KycDocumentType.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/MfaType.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/PoweredBy.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/TimeOffLength.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/TimeOffStatus.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/UserType.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/WithdrawalMethod.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/WithdrawalMethodAccountType.d.ts +2 -1
- package/dist/api/resources/db/resources/user/types/WithdrawalMethodAccountType.js +1 -0
- package/dist/api/resources/index.js +17 -7
- package/dist/api/resources/model/resources/index.js +17 -7
- package/dist/api/resources/model/resources/thera/resources/contract/types/ContractDocumentType.d.ts +1 -1
- package/dist/api/resources/model/resources/thera/resources/contract/types/ContractType.d.ts +1 -1
- package/dist/api/resources/model/resources/thera/resources/contract/types/DayOfWeek.d.ts +1 -1
- package/dist/api/resources/model/resources/thera/resources/contract/types/EmploymentType.d.ts +1 -1
- package/dist/api/resources/model/resources/thera/resources/contract/types/MonthlyPayCycleEnd.d.ts +1 -1
- package/dist/api/resources/model/resources/thera/resources/contract/types/PayCycleEnd.d.ts +1 -1
- package/dist/api/resources/model/resources/thera/resources/contract/types/SemiMonthlyPayCycleEnd.d.ts +1 -1
- package/dist/api/resources/model/resources/thera/resources/contract/types/WageType.d.ts +1 -1
- package/dist/api/resources/model/resources/thera/resources/disbursement/types/DisbursementItemType.d.ts +1 -1
- package/dist/api/resources/model/resources/thera/resources/document/types/W9TaxClassificationType.d.ts +1 -1
- package/dist/api/resources/model/resources/thera/resources/index.js +17 -7
- package/dist/core/auth/BearerToken.d.ts +1 -1
- package/dist/core/fetcher/APIResponse.d.ts +1 -1
- package/dist/core/fetcher/Fetcher.d.ts +6 -3
- package/dist/core/fetcher/Fetcher.js +20 -185
- package/dist/core/fetcher/Supplier.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/core/fetcher/createRequestUrl.js +12 -0
- package/dist/core/fetcher/getFetchFn.d.ts +4 -0
- package/dist/core/fetcher/getFetchFn.js +68 -0
- package/dist/core/fetcher/getHeader.js +1 -2
- package/dist/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/core/fetcher/getRequestBody.js +23 -0
- package/dist/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getResponseBody.js +54 -0
- package/dist/core/fetcher/makeRequest.d.ts +1 -0
- package/dist/core/fetcher/makeRequest.js +42 -0
- package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/core/fetcher/requestWithRetries.js +40 -0
- package/dist/core/fetcher/signals.d.ts +11 -0
- package/dist/core/fetcher/signals.js +36 -0
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +21 -0
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +126 -0
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +59 -0
- package/dist/core/index.js +17 -7
- package/dist/core/json.d.ts +15 -0
- package/dist/core/json.js +24 -0
- package/dist/core/runtime/runtime.d.ts +2 -1
- package/dist/core/runtime/runtime.js +52 -41
- package/dist/core/schemas/Schema.d.ts +15 -9
- package/dist/core/schemas/Schema.js +3 -0
- package/dist/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/dist/core/schemas/builders/bigint/bigint.js +53 -0
- package/dist/core/schemas/builders/bigint/index.d.ts +1 -0
- package/dist/core/schemas/builders/bigint/index.js +5 -0
- package/dist/core/schemas/builders/date/date.js +1 -2
- package/dist/core/schemas/builders/enum/enum.js +1 -2
- package/dist/core/schemas/builders/index.d.ts +1 -0
- package/dist/core/schemas/builders/index.js +1 -0
- package/dist/core/schemas/builders/lazy/lazy.d.ts +2 -2
- package/dist/core/schemas/builders/lazy/lazy.js +11 -23
- package/dist/core/schemas/builders/lazy/lazyObject.js +2 -12
- package/dist/core/schemas/builders/list/list.js +32 -46
- package/dist/core/schemas/builders/literals/booleanLiteral.js +1 -2
- package/dist/core/schemas/builders/literals/stringLiteral.js +1 -2
- package/dist/core/schemas/builders/object/object.d.ts +1 -1
- package/dist/core/schemas/builders/object/object.js +121 -114
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +3 -3
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +1 -2
- package/dist/core/schemas/builders/object/property.js +2 -3
- package/dist/core/schemas/builders/object/types.d.ts +18 -13
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +5 -15
- package/dist/core/schemas/builders/object-like/types.d.ts +1 -1
- package/dist/core/schemas/builders/record/record.js +49 -62
- package/dist/core/schemas/builders/record/types.d.ts +2 -2
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +6 -2
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +85 -25
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +1 -2
- package/dist/core/schemas/builders/set/set.js +7 -17
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -4
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +22 -34
- package/dist/core/schemas/builders/union/discriminant.js +1 -2
- package/dist/core/schemas/builders/union/types.d.ts +6 -6
- package/dist/core/schemas/builders/union/union.d.ts +1 -1
- package/dist/core/schemas/builders/union/union.js +52 -64
- package/dist/core/schemas/utils/MaybePromise.d.ts +1 -1
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +4 -4
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +1 -2
- package/dist/core/schemas/utils/entries.d.ts +1 -1
- package/dist/core/schemas/utils/entries.js +1 -2
- package/dist/core/schemas/utils/filterObject.d.ts +1 -1
- package/dist/core/schemas/utils/filterObject.js +1 -2
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +5 -2
- package/dist/core/schemas/utils/isPlainObject.js +1 -2
- package/dist/core/schemas/utils/keys.d.ts +1 -1
- package/dist/core/schemas/utils/keys.js +1 -2
- package/dist/core/schemas/utils/maybeSkipValidation.js +4 -14
- package/dist/core/schemas/utils/partition.js +1 -2
- package/dist/errors/TheraApiError.js +2 -1
- package/dist/errors/TheraApiTimeoutError.d.ts +1 -1
- package/dist/errors/TheraApiTimeoutError.js +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +19 -8
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseAmlInfo.js +17 -7
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseFaceLivenessInfo.js +17 -7
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseFaceMatchInfo.js +17 -7
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseLookupDetails.js +17 -7
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationCallback.js +17 -7
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationIdInfo.js +17 -7
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationResultStatus.js +17 -7
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationSummary.js +17 -7
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseWarningMessage.js +17 -7
- package/dist/serialization/resources/api/resources/aiprise/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/dev/resources/dev/client/requests/AddEorEmployeeRequest.js +17 -7
- package/dist/serialization/resources/api/resources/dev/resources/dev/types/AddEorEmployment.js +17 -7
- package/dist/serialization/resources/api/resources/dev/resources/dev/types/AddEorUser.js +17 -7
- package/dist/serialization/resources/api/resources/dev/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/oneschema/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/oneschema/resources/model/types/OneSchemaCsvColumn.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/thera/resources/document/types/CreateDocumentDetail.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/thera/resources/document/types/CreateDocumentRequest.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/thera/resources/document/types/Irs1099NecFormRequest.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/thera/resources/document/types/Irs1099NecFormType.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/thera/resources/document/types/W8Ben.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/thera/resources/document/types/W8BenE.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/thera/resources/document/types/W8BenEEntityType.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/thera/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/AdditionalFields.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/Agency.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/ContributionType.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/Deduction.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/DeductionType.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/EmployeeContribution.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/EmployerContribution.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/Disbursement.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/DisbursementMethod.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/DisbursementStatus.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/EmployeeCheck.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/Tax.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/reportingPeriod/types/ReportingPeriod.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/reportingPeriod/types/ReportingPeriodPaySchedule.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/shift/types/FlatEarning.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/shift/types/HourlyEarning.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/shift/types/ReimbursementEarning.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/shift/types/Shift.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/deduction/resources/create/types/CreateDeduction.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/deduction/resources/create/types/CreateDeductionDetails.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/deduction/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/Autopilot.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/ZealEmployee.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/employee/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/response/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/response/resources/thera/resources/disbursement/types/CreateDocumentResponse.js +17 -7
- package/dist/serialization/resources/api/resources/response/resources/thera/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.js +17 -7
- package/dist/serialization/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.js +17 -7
- package/dist/serialization/resources/api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.js +17 -7
- package/dist/serialization/resources/api/resources/services/resources/file/types/LoadPayInForEorResponse.js +17 -7
- package/dist/serialization/resources/api/resources/services/resources/file/types/LoadPayslipForEorEmployeeResponse.js +17 -7
- package/dist/serialization/resources/api/resources/services/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/requests/CompleteAccountingIntegrationAuth.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/requests/ModifyAccountingIntegrationSetting.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/accounting/resources/accountingApi/types/CompanyAccountingInfo.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/accounting/resources/accountingApi/types/CompanyAccountingIntegrationsInfoResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/accounting/resources/accountingApi/types/CompanyAccountingIntegrationsStatusResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/accounting/resources/accountingApi/types/CompanyAccountingMappingDetailsResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/accounting/resources/accountingApi/types/RutterAccountInfoResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/accounting/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/getSupportedWithdrawalMethods.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/CreateCheckPaymentMethodFromPlaidRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/CreateStripePaymentMethodFromPlaidRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/EditWithdrawalMethodRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/PlaidUpdateFlowLinkTokenRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/SetAutoWithdrawalRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/VerifyAccountSignupRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AchPaymentMethod.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AcssDebitPaymentMethodResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/CardPaymentMethodResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/CompleteAccountSignupRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/DeleteOffPlatformPaymentResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/DeleteWithdrawalMethodResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EditWithdrawalMethodResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetBankAccountDetailsResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetBankAccountSignupKey.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetBankAccountVerificationToken.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetBankTransferCurrenciesByCountryResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInDetailsResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPaymentMethodsResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetSandboxPublicKey.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWithdrawalLimitsByMethodResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWithdrawalMethodCurrenciesResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWithdrawalMinimumByCurrencyResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWithdrawalMinimumByMethodResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerBalancesResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerWithdrawalDeliveryEstimate.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPayment.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/InitiateWorkerWithdrawalRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/InitiateWorkerWithdrawalRequestDebugSettings.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/InitiateWorkerWithdrawalResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/InvoicePayment.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/MiscellaneousWorkerCreditTransaction.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/OffPlatformPaymentMethod.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethod.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodProvider.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PlaidUpdateFlowLinkTokenResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PlaidUsBankAccountProviderDetails.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ReattachStripeAccountMandateRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SepaPaymentMethodResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetAutoPayRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetAutoWithdrawalResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/StripeUsBankAccountProviderDetails.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/StripeUsBankAccountStatusResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/TransactionStatus.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/UsBankAccountPaymentMethodResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/UsBankAccountProviderDetails.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodCurrency.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerBalance.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerInvoicePaymentTransaction.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerTransaction.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerTransactionDetails.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerTransactionStatus.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalPreviewResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalTransaction.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalTransactionBreakdown.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/getAllCustomers.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listExternalAccounts.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listTransfers.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listWallets.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/CreateWalletRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/TransferFundsRequest.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/TransferFundsRequest.js +18 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Address.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Address.js +18 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeAccountDetails.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeCustomerDocument.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeIbanBankAccount.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeIdentifyingInformation.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeSwiftBankAccount.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomer.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomerResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountDestination.d.ts +16 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountDestination.js +47 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountRequest.d.ts +16 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountRequest.js +47 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountSource.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountSource.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoPayout.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CustomerDetails.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountDetails.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LinkExternalAccountResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutStatus.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TosLinkResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferDestination.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferDetails.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsFlow.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsResponse.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsResponse.js +19 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferSource.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/UpdateExternalAccountRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/UpdateExternalAccountResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccount.d.ts +20 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccount.js +51 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountDestination.d.ts +16 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountDestination.js +47 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistory.d.ts +26 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistory.js +57 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistoryResponse.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistoryResponse.js +45 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistorySource.d.ts +16 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistorySource.js +47 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountResponse.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountResponse.js +45 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountSource.d.ts +22 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountSource.js +53 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/common/resources/common/types/Address.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/common/resources/common/types/CardDisplayBrand.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/common/resources/common/types/PlaidVerificationStatus.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/common/resources/common/types/RequestAddress.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/common/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddEorEmployeeRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditOrgRolesRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditTeamRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/GetMercoaTokenRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/GetMoniteTokenRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/AddEorEmployeeResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CheckCanCreateAccountResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyAffiliation.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyPermissions.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ContractPermission.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ContractRole.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ContractorAndContracts.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateContractor.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployeeInformation.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestone.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestoneDetails.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/DeleteTeamResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditOrgRolesResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditTeamResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetAllCompanyAffiliationsResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetAllCompanyPermissionsForUserResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetContractorCsvResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetContractsCsvResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetMercoaTokenResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetMoniteTokenResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetTeamsResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorDebugSettings.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InvoicePermission.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InvoiceRole.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgManager.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgPermission.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Team.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamAndDetails.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamPermission.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/WarrantObjectType.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/requests/ToggleW2PayrollOnboardingFlowCompleteRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/CheckCreatePayScheduleRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/OnboardW2PayrollRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/OnboardW2PayrollResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/OnboardW2PayrollSettings.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/OnboardW2PayrollUpdateCompany.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/SetupW2PayrollRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/UpdateUsContractorsTaxInfoRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/ContractorsOnboardCsvUploadContractDocumentType.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/GetUsContractorsTaxInfoResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/UpdateUsContractorsTaxInfoResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/UsContractorPay.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/UsContractorTaxInfo.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/WorkSubmitterType.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementDetail.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateGeneralItemDetail.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvRecord.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceDeductionRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOnCycleInvoiceDetail.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/GetInvoicesCsvResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/InvoiceTypeCsvRecord.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/InvoiceWorkUnit.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/InvoiceWorkUnitType.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/AutoCreateInvoicePayCycleResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/CreateScheduledInvoiceEvent.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/InvoiceWebhookEvent.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/document/resources/documentApi/client/requests/BulkFileUsIrs1099NecDocumentRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/document/resources/documentApi/types/BulkFileUsIrs1099NecDocumentResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/document/resources/documentApi/types/GeneralDocumentResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/document/resources/documentApi/types/GetUsIrs1099NecDocumentResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/document/resources/documentApi/types/UsIrs1099NecDocumentResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/document/resources/documentApi/types/UsIrs1099NecFormStatusRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/document/resources/documentApi/types/UsIrs1099NecFormStatusResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/document/resources/documentApi/types/UsIrs1099NecGroupDocumentResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/document/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/email/resources/emailApi/client/requests/UpdateEmailRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/email/resources/emailApi/types/SendAdminWelcomeEmailRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/email/resources/emailApi/types/SendInviteEmailRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/email/resources/emailApi/types/SendLoginEmailRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/email/resources/emailApi/types/SendVerifyEmailRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/email/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/client/requests/CancelContractTerminationRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/client/requests/DeleteContractInvoiceItemRecurrenceRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/CalendarDaysCalculationType.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/ContractEstimateCalculationType.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/ContractEstimateRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/CreateContractEstimateRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/CreateContractEstimateResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/GetPayCycleResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/PayCycleEstimate.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/PayCycleEstimateRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/ProRata.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/WorkingDaysCalculationType.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/WorkingWeekSelectionType.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/employment/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/AutoWithdrawalResults.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/ContractRenewalCronResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/TriggeredWithdrawal.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/offcycleApi/types/CheckPayrollResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/ApproveOnCycleChecksResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/bulkModifyTimeOffStatuses.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AccrualLimitExceeded.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AssociateTimeOffPoliciesToContractorRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/BulkModifyTimeOffStatusesRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/ContractTypeResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/ContractorPolicyDetailsResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/CreatePtoForContractorRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetContractorPoliciesDetailsByContractor.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetContractorPoliciesDetailsByPolicy.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetContractorsTimeOffsByCompany.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetTimeOffHistoryByContractorResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetTimeOffStatusDtoRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/ModifyTimeOffStatusRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/PaidTimeOffDetailsResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/PaidTimeOffResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/PtoDateDetailsRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/PtoRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/SuggestedDeductionResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/TimeOffAllowanceType.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/TimeOffLengthTypeRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/TimeOffStatusDtoRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/TimeOffStatusDtoResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdatePtoRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timetracking/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/bulkUpdateTimeEntries.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/BulkTimeEntryUpdateRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/CreateTimeEntryRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/MonthTimeTracking.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/StartTimeTrackingRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/StopTimeTrackingRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/TimeTrackingEntry.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/TimeTrackingHistory.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/UpdateTimeTrackingRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/WeekTimeTracking.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/YearTimeTracking.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/client/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/AddCompanyBankingDetailsRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/client/transactionHistory.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AddCompanyBankingDetailsResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/CreateCounterPartyForBankingRequest.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ExternalTransferFund.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/FboType.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/GetIndustryCodesResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/IndustryCodes.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/SubmitCompanyBeneficiariesResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/TpTransactionHistory.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/TransferFundsToOmnibusAccount.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/user/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/GetUserComplianceSettingsResponse.js +17 -7
- package/dist/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/SetUserComplianceSettingsRequest.js +17 -7
- package/dist/serialization/resources/api/resources/zeal/resources/company/resources/create/types/ZealCreateCompanyRequest.js +17 -7
- package/dist/serialization/resources/api/resources/zeal/resources/company/resources/create/types/ZealCreateCompanyResponse.js +17 -7
- package/dist/serialization/resources/api/resources/zeal/resources/company/resources/index.js +17 -7
- package/dist/serialization/resources/api/resources/zeal/resources/company/resources/model/types/ZealCompany.js +17 -7
- package/dist/serialization/resources/api/resources/zeal/resources/index.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/AccrualType.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/AddCompanyBeneficiary.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/AllowanceType.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/BankAccountResponseMetadata.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/Company.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/CompanyAccountingInformation.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/CompanyAccountingSetting.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/CompanyAccountingSyncSetting.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/CompanyBankingDetails.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/CompanyBeneficiary.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/CompanyLegalStructure.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/CompanyPayFrequency.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/CompanySettings.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/CompanyStatus.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/CustomContract.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/DefaultPayCycle.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/EnabledApps.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/Flags.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/LimitedAllowanceType.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/MercoaCompanyDetails.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/MidYearJoiningAllowanceType.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/PandadocTemplates.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/PayCycleType.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/PaymentMethodStatus.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/PayrollRun.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/RequestedToEnableApps.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/SubscriptionPrice.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/SubscriptionPricing.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/Team.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/TeamAutoPay.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/TheraBillingType.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/TimeOffPolicy.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/TimeOffSettings.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/TimeOffTerminationDetails.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/TimeOffType.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/TpAccountInfo.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/TpCompanyOnboardingStage.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/TpDepositAccount.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/TpDisbursementAccount.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/UnlimitedAllowanceType.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/W2ImplementationStatus.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/W2OnboardStatus.js +17 -7
- package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/Contract.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/ContractApiResponse.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/ContractRenewalDetails.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/ContractSetting.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/ContractTerminationDetails.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/Deduction.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/Earning.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/EmploymentDocuments.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/EmploymentStatus.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/EmploymentW2PayrollDetails.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/EorDetails.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/EorPayslip.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/Frequency.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/GenericEmploymentDocument.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/Milestone.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/MilestoneDetails.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/MilestoneStatus.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/ModifyRecurrencesRequest.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/ModifyRecurrencesResponse.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/PerPaycheckFrequency.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/Recurrence.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/RecurrenceDetails.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/RecurrenceModifications.js +17 -7
- package/dist/serialization/resources/db/resources/contract/types/Reimbursement.js +17 -7
- package/dist/serialization/resources/db/resources/document/types/Document.js +17 -7
- package/dist/serialization/resources/db/resources/document/types/DocumentMetadata.js +17 -7
- package/dist/serialization/resources/db/resources/document/types/DocumentRecipient.js +17 -7
- package/dist/serialization/resources/db/resources/document/types/DocumentRecipientRole.js +17 -7
- package/dist/serialization/resources/db/resources/document/types/DocumentType.js +17 -7
- package/dist/serialization/resources/db/resources/document/types/UsIrs1099NecDocumentMetadata.js +17 -7
- package/dist/serialization/resources/db/resources/document/types/UsIrs1099NecFormStatus.js +17 -7
- package/dist/serialization/resources/db/resources/document/types/UsIrsDocumentMetadata.js +17 -7
- package/dist/serialization/resources/db/resources/document/types/UsIrsW9DocumentMetadata.js +17 -7
- package/dist/serialization/resources/db/resources/employment/types/Employment.js +17 -7
- package/dist/serialization/resources/db/resources/generic/types/GenericType.js +17 -7
- package/dist/serialization/resources/db/resources/generic/types/GenericTypeKey.js +17 -7
- package/dist/serialization/resources/db/resources/index.js +17 -7
- package/dist/serialization/resources/db/resources/invoice/types/InvoiceDeduction.js +17 -7
- package/dist/serialization/resources/db/resources/invoice/types/InvoiceType.js +17 -7
- package/dist/serialization/resources/db/resources/invoice/types/Status.js +17 -7
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.js +17 -7
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +17 -7
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationType.js +17 -7
- package/dist/serialization/resources/db/resources/migrations/types/LedgerTrxStatus.js +17 -7
- package/dist/serialization/resources/db/resources/migrations/types/MigrationLog.js +17 -7
- package/dist/serialization/resources/db/resources/migrations/types/MigrationMetadata.js +17 -7
- package/dist/serialization/resources/db/resources/migrations/types/MigrationStatus.js +17 -7
- package/dist/serialization/resources/db/resources/migrations/types/MigrationType.js +17 -7
- package/dist/serialization/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.js +17 -7
- package/dist/serialization/resources/db/resources/paymentMethod/types/CompanyPaymentMethodDeletionDetails.js +17 -7
- package/dist/serialization/resources/db/resources/paymentMethod/types/PaymentMethodDetails.js +17 -7
- package/dist/serialization/resources/db/resources/paymentMethod/types/PlaidPaymentMethod.js +17 -7
- package/dist/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.js +17 -7
- package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAcssDebitAccountPaymentMethodDetails.js +17 -7
- package/dist/serialization/resources/db/resources/paymentMethod/types/StripeBankAccountVerificationStatus.js +17 -7
- package/dist/serialization/resources/db/resources/paymentMethod/types/StripeCardPaymentMethodDetails.js +17 -7
- package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +17 -7
- package/dist/serialization/resources/db/resources/paymentMethod/types/StripeMandateStatus.js +17 -7
- package/dist/serialization/resources/db/resources/paymentMethod/types/StripeSepaPaymentMethodDetails.js +17 -7
- package/dist/serialization/resources/db/resources/paymentMethod/types/StripeUsBankAccountPaymentMethodDetails.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/AiPriseVerificationResult.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/AiPriseVerificationStatus.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/AiPriseWarnings.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/BankAddress.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/BankTransfer.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/BridgeUserDetails.d.ts +2 -0
- package/dist/serialization/resources/db/resources/user/types/BridgeUserDetails.js +19 -7
- package/dist/serialization/resources/db/resources/user/types/ComplianceDocument.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/ComplianceDocumentType.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/ComplianceInformation.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/EmployeeInformation.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/EmployeeInformationResponse.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/EmployeeOnboardingStatus.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/EntityDocuments.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/EntityInformation.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/EntityType.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/KycDocument.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/KycDocumentFile.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/KycDocumentType.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/MercoaUserDetails.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/MfaType.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/MfaUserDetails.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/NotificationAlerts.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/PaidTimeOff.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/PaidTimeOffDetails.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/PoweredBy.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/TimeOffHistory.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/TimeOffLength.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/TimeOffStatus.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/UnpaidTimeOff.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/UsIrs1099NecDocumentIds.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/User.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/UserApiResponse.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/UserCompanyDocuments.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/UserCompanySettings.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/UserDocuments.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/UserType.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/WithdrawalMethod.js +17 -7
- package/dist/serialization/resources/db/resources/user/types/WithdrawalMethodAccountType.d.ts +1 -1
- package/dist/serialization/resources/db/resources/user/types/WithdrawalMethodAccountType.js +27 -8
- package/dist/serialization/resources/db/resources/user/types/WorkerTaxData.js +17 -7
- package/dist/serialization/resources/index.js +17 -7
- package/dist/serialization/resources/model/resources/index.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/contract/types/BiWeeklyPayCycleEnd.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/contract/types/ContractDocumentType.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/contract/types/ContractType.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/contract/types/DayOfWeek.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/contract/types/EmploymentType.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/contract/types/FifteenthAndEndOfMonth.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/contract/types/ItemRecurrence.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/contract/types/LastDayOfMonth.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/contract/types/MonthlyPayCycleEnd.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/contract/types/PayCycle.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/contract/types/PayCycleEnd.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/contract/types/SemiMonthlyPayCycleEnd.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/contract/types/WageType.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/contract/types/WeeklyPayCycleEnd.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/disbursement/types/DisbursementItemType.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/document/types/UsIrs1099NecDocumentData.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/document/types/W9FormData.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/document/types/W9TaxClassificationType.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/index.js +17 -7
- package/dist/serialization/resources/model/resources/thera/resources/setting/types/VerificationSetting.js +17 -7
- package/dist/version.d.ts +1 -0
- package/dist/version.js +4 -0
- package/errors/TheraApiError.js +2 -1
- package/errors/TheraApiTimeoutError.d.ts +1 -1
- package/errors/TheraApiTimeoutError.js +2 -2
- package/index.d.ts +1 -0
- package/index.js +19 -8
- package/{jest.config.js → jest.config.mjs} +4 -1
- package/package.json +18 -14
- package/reference.md +11170 -0
- package/scripts/rename-to-esm-files.js +115 -0
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseAmlInfo.js +17 -7
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseFaceLivenessInfo.js +17 -7
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseFaceMatchInfo.js +17 -7
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseLookupDetails.js +17 -7
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationCallback.js +17 -7
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationIdInfo.js +17 -7
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationResultStatus.js +17 -7
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationSummary.js +17 -7
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseWarningMessage.js +17 -7
- package/serialization/resources/api/resources/aiprise/resources/index.js +17 -7
- package/serialization/resources/api/resources/dev/resources/dev/client/requests/AddEorEmployeeRequest.js +17 -7
- package/serialization/resources/api/resources/dev/resources/dev/types/AddEorEmployment.js +17 -7
- package/serialization/resources/api/resources/dev/resources/dev/types/AddEorUser.js +17 -7
- package/serialization/resources/api/resources/dev/resources/index.js +17 -7
- package/serialization/resources/api/resources/index.js +17 -7
- package/serialization/resources/api/resources/oneschema/resources/index.js +17 -7
- package/serialization/resources/api/resources/oneschema/resources/model/types/OneSchemaCsvColumn.js +17 -7
- package/serialization/resources/api/resources/request/resources/index.js +17 -7
- package/serialization/resources/api/resources/request/resources/thera/resources/document/types/CreateDocumentDetail.js +17 -7
- package/serialization/resources/api/resources/request/resources/thera/resources/document/types/CreateDocumentRequest.js +17 -7
- package/serialization/resources/api/resources/request/resources/thera/resources/document/types/Irs1099NecFormRequest.js +17 -7
- package/serialization/resources/api/resources/request/resources/thera/resources/document/types/Irs1099NecFormType.js +17 -7
- package/serialization/resources/api/resources/request/resources/thera/resources/document/types/W8Ben.js +17 -7
- package/serialization/resources/api/resources/request/resources/thera/resources/document/types/W8BenE.js +17 -7
- package/serialization/resources/api/resources/request/resources/thera/resources/document/types/W8BenEEntityType.js +17 -7
- package/serialization/resources/api/resources/request/resources/thera/resources/index.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/AdditionalFields.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/Agency.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/ContributionType.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/Deduction.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/DeductionType.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/EmployeeContribution.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/EmployerContribution.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/Disbursement.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/DisbursementMethod.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/DisbursementStatus.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/EmployeeCheck.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/Tax.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/index.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/reportingPeriod/types/ReportingPeriod.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/reportingPeriod/types/ReportingPeriodPaySchedule.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/shift/types/FlatEarning.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/shift/types/HourlyEarning.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/shift/types/ReimbursementEarning.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/shift/types/Shift.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/deduction/resources/create/types/CreateDeduction.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/deduction/resources/create/types/CreateDeductionDetails.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/deduction/resources/index.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/Autopilot.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/ZealEmployee.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/employee/resources/index.js +17 -7
- package/serialization/resources/api/resources/request/resources/zeal/resources/index.js +17 -7
- package/serialization/resources/api/resources/response/resources/index.js +17 -7
- package/serialization/resources/api/resources/response/resources/thera/resources/disbursement/types/CreateDocumentResponse.js +17 -7
- package/serialization/resources/api/resources/response/resources/thera/resources/index.js +17 -7
- package/serialization/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.js +17 -7
- package/serialization/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.js +17 -7
- package/serialization/resources/api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.js +17 -7
- package/serialization/resources/api/resources/services/resources/file/types/LoadPayInForEorResponse.js +17 -7
- package/serialization/resources/api/resources/services/resources/file/types/LoadPayslipForEorEmployeeResponse.js +17 -7
- package/serialization/resources/api/resources/services/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/requests/CompleteAccountingIntegrationAuth.js +17 -7
- package/serialization/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/requests/ModifyAccountingIntegrationSetting.js +17 -7
- package/serialization/resources/api/resources/thera/resources/accounting/resources/accountingApi/types/CompanyAccountingInfo.js +17 -7
- package/serialization/resources/api/resources/thera/resources/accounting/resources/accountingApi/types/CompanyAccountingIntegrationsInfoResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/accounting/resources/accountingApi/types/CompanyAccountingIntegrationsStatusResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/accounting/resources/accountingApi/types/CompanyAccountingMappingDetailsResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/accounting/resources/accountingApi/types/RutterAccountInfoResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/accounting/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/getSupportedWithdrawalMethods.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/CreateCheckPaymentMethodFromPlaidRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/CreateStripePaymentMethodFromPlaidRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/EditWithdrawalMethodRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/PlaidUpdateFlowLinkTokenRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/SetAutoWithdrawalRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/VerifyAccountSignupRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AchPaymentMethod.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AcssDebitPaymentMethodResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/CardPaymentMethodResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/CompleteAccountSignupRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/DeleteOffPlatformPaymentResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/DeleteWithdrawalMethodResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EditWithdrawalMethodResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetBankAccountDetailsResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetBankAccountSignupKey.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetBankAccountVerificationToken.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetBankTransferCurrenciesByCountryResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInDetailsResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPaymentMethodsResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetSandboxPublicKey.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWithdrawalLimitsByMethodResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWithdrawalMethodCurrenciesResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWithdrawalMinimumByCurrencyResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWithdrawalMinimumByMethodResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerBalancesResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerWithdrawalDeliveryEstimate.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPayment.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/InitiateWorkerWithdrawalRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/InitiateWorkerWithdrawalRequestDebugSettings.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/InitiateWorkerWithdrawalResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/InvoicePayment.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/MiscellaneousWorkerCreditTransaction.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/OffPlatformPaymentMethod.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethod.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodProvider.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PlaidUpdateFlowLinkTokenResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PlaidUsBankAccountProviderDetails.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ReattachStripeAccountMandateRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SepaPaymentMethodResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetAutoPayRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetAutoWithdrawalResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/StripeUsBankAccountProviderDetails.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/StripeUsBankAccountStatusResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/TransactionStatus.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/UsBankAccountPaymentMethodResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/UsBankAccountProviderDetails.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodCurrency.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerBalance.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerInvoicePaymentTransaction.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerTransaction.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerTransactionDetails.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerTransactionStatus.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalPreviewResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalTransaction.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalTransactionBreakdown.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bank/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/getAllCustomers.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listExternalAccounts.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listTransfers.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listWallets.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/CreateWalletRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/TransferFundsRequest.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/TransferFundsRequest.js +18 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Address.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Address.js +18 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeAccountDetails.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeCustomerDocument.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeIbanBankAccount.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeIdentifyingInformation.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeSwiftBankAccount.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomer.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomerResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountDestination.d.ts +16 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountDestination.js +47 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountRequest.d.ts +16 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountRequest.js +47 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountSource.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateVirtualAccountSource.js +43 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoPayout.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CustomerDetails.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountDetails.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LinkExternalAccountResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutStatus.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TosLinkResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferDestination.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferDetails.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsFlow.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsResponse.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsResponse.js +19 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferSource.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/UpdateExternalAccountRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/UpdateExternalAccountResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccount.d.ts +20 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccount.js +51 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountDestination.d.ts +16 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountDestination.js +47 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistory.d.ts +26 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistory.js +57 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistoryResponse.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistoryResponse.js +45 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistorySource.d.ts +16 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountHistorySource.js +47 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountResponse.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountResponse.js +45 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountSource.d.ts +22 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccountSource.js +53 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.js +17 -7
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +10 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/common/resources/common/types/Address.js +17 -7
- package/serialization/resources/api/resources/thera/resources/common/resources/common/types/CardDisplayBrand.js +17 -7
- package/serialization/resources/api/resources/thera/resources/common/resources/common/types/PlaidVerificationStatus.js +17 -7
- package/serialization/resources/api/resources/thera/resources/common/resources/common/types/RequestAddress.js +17 -7
- package/serialization/resources/api/resources/thera/resources/common/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddEorEmployeeRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditOrgRolesRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditTeamRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/GetMercoaTokenRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/GetMoniteTokenRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/AddEorEmployeeResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CheckCanCreateAccountResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyAffiliation.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyPermissions.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ContractPermission.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ContractRole.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ContractorAndContracts.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateContractor.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployeeInformation.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestone.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestoneDetails.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/DeleteTeamResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditOrgRolesResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditTeamResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetAllCompanyAffiliationsResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetAllCompanyPermissionsForUserResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetContractorCsvResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetContractsCsvResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetMercoaTokenResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetMoniteTokenResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetTeamsResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorDebugSettings.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InvoicePermission.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InvoiceRole.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgManager.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgPermission.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Team.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamAndDetails.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamPermission.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/WarrantObjectType.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/requests/ToggleW2PayrollOnboardingFlowCompleteRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/CheckCreatePayScheduleRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/OnboardW2PayrollRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/OnboardW2PayrollResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/OnboardW2PayrollSettings.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/OnboardW2PayrollUpdateCompany.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/SetupW2PayrollRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/UpdateUsContractorsTaxInfoRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/ContractorsOnboardCsvUploadContractDocumentType.js +17 -7
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.js +17 -7
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/GetUsContractorsTaxInfoResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.js +17 -7
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.js +17 -7
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/UpdateUsContractorsTaxInfoResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/UsContractorPay.js +17 -7
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/UsContractorTaxInfo.js +17 -7
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/WorkSubmitterType.js +17 -7
- package/serialization/resources/api/resources/thera/resources/contractor/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementDetail.js +17 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateGeneralItemDetail.js +17 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvRecord.js +17 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceDeductionRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.js +17 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOnCycleInvoiceDetail.js +17 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/GetInvoicesCsvResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/InvoiceTypeCsvRecord.js +17 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/InvoiceWorkUnit.js +17 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/InvoiceWorkUnitType.js +17 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/AutoCreateInvoicePayCycleResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/CreateScheduledInvoiceEvent.js +17 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/InvoiceWebhookEvent.js +17 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/document/resources/documentApi/client/requests/BulkFileUsIrs1099NecDocumentRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/document/resources/documentApi/types/BulkFileUsIrs1099NecDocumentResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/document/resources/documentApi/types/GeneralDocumentResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/document/resources/documentApi/types/GetUsIrs1099NecDocumentResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/document/resources/documentApi/types/UsIrs1099NecDocumentResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/document/resources/documentApi/types/UsIrs1099NecFormStatusRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/document/resources/documentApi/types/UsIrs1099NecFormStatusResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/document/resources/documentApi/types/UsIrs1099NecGroupDocumentResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/document/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/email/resources/emailApi/client/requests/UpdateEmailRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/email/resources/emailApi/types/SendAdminWelcomeEmailRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/email/resources/emailApi/types/SendInviteEmailRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/email/resources/emailApi/types/SendLoginEmailRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/email/resources/emailApi/types/SendVerifyEmailRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/email/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/client/requests/CancelContractTerminationRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/client/requests/DeleteContractInvoiceItemRecurrenceRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/CalendarDaysCalculationType.js +17 -7
- package/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/ContractEstimateCalculationType.js +17 -7
- package/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/ContractEstimateRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/CreateContractEstimateRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/CreateContractEstimateResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/GetPayCycleResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/PayCycleEstimate.js +17 -7
- package/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/PayCycleEstimateRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/ProRata.js +17 -7
- package/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/WorkingDaysCalculationType.js +17 -7
- package/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/WorkingWeekSelectionType.js +17 -7
- package/serialization/resources/api/resources/thera/resources/employment/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/eor/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/misc/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/AutoWithdrawalResults.js +17 -7
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/ContractRenewalCronResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/TriggeredWithdrawal.js +17 -7
- package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/payroll/resources/offcycleApi/types/CheckPayrollResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/ApproveOnCycleChecksResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/bulkModifyTimeOffStatuses.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AccrualLimitExceeded.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AssociateTimeOffPoliciesToContractorRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/BulkModifyTimeOffStatusesRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/ContractTypeResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/ContractorPolicyDetailsResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/CreatePtoForContractorRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetContractorPoliciesDetailsByContractor.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetContractorPoliciesDetailsByPolicy.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetContractorsTimeOffsByCompany.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetTimeOffHistoryByContractorResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetTimeOffStatusDtoRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/ModifyTimeOffStatusRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/PaidTimeOffDetailsResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/PaidTimeOffResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/PtoDateDetailsRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/PtoRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/SuggestedDeductionResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/TimeOffAllowanceType.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/TimeOffLengthTypeRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/TimeOffStatusDtoRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/TimeOffStatusDtoResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdatePtoRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timetracking/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/bulkUpdateTimeEntries.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/BulkTimeEntryUpdateRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/CreateTimeEntryRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/MonthTimeTracking.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/StartTimeTrackingRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/StopTimeTrackingRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/TimeTrackingEntry.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/TimeTrackingHistory.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/UpdateTimeTrackingRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/WeekTimeTracking.js +17 -7
- package/serialization/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/types/YearTimeTracking.js +17 -7
- package/serialization/resources/api/resources/thera/resources/tp/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/client/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/AddCompanyBankingDetailsRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/client/transactionHistory.js +17 -7
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AddCompanyBankingDetailsResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/CreateCounterPartyForBankingRequest.js +17 -7
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ExternalTransferFund.js +17 -7
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/FboType.js +17 -7
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/GetIndustryCodesResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/IndustryCodes.js +17 -7
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.js +17 -7
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/SubmitCompanyBeneficiariesResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/TpTransactionHistory.js +17 -7
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/TransferFundsToOmnibusAccount.js +17 -7
- package/serialization/resources/api/resources/thera/resources/user/resources/index.js +17 -7
- package/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/GetUserComplianceSettingsResponse.js +17 -7
- package/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/SetUserComplianceSettingsRequest.js +17 -7
- package/serialization/resources/api/resources/zeal/resources/company/resources/create/types/ZealCreateCompanyRequest.js +17 -7
- package/serialization/resources/api/resources/zeal/resources/company/resources/create/types/ZealCreateCompanyResponse.js +17 -7
- package/serialization/resources/api/resources/zeal/resources/company/resources/index.js +17 -7
- package/serialization/resources/api/resources/zeal/resources/company/resources/model/types/ZealCompany.js +17 -7
- package/serialization/resources/api/resources/zeal/resources/index.js +17 -7
- package/serialization/resources/db/resources/company/types/AccrualType.js +17 -7
- package/serialization/resources/db/resources/company/types/AddCompanyBeneficiary.js +17 -7
- package/serialization/resources/db/resources/company/types/AllowanceType.js +17 -7
- package/serialization/resources/db/resources/company/types/BankAccountResponseMetadata.js +17 -7
- package/serialization/resources/db/resources/company/types/Company.js +17 -7
- package/serialization/resources/db/resources/company/types/CompanyAccountingInformation.js +17 -7
- package/serialization/resources/db/resources/company/types/CompanyAccountingSetting.js +17 -7
- package/serialization/resources/db/resources/company/types/CompanyAccountingSyncSetting.js +17 -7
- package/serialization/resources/db/resources/company/types/CompanyBankingDetails.js +17 -7
- package/serialization/resources/db/resources/company/types/CompanyBeneficiary.js +17 -7
- package/serialization/resources/db/resources/company/types/CompanyLegalStructure.js +17 -7
- package/serialization/resources/db/resources/company/types/CompanyPayFrequency.js +17 -7
- package/serialization/resources/db/resources/company/types/CompanySettings.js +17 -7
- package/serialization/resources/db/resources/company/types/CompanyStatus.js +17 -7
- package/serialization/resources/db/resources/company/types/CustomContract.js +17 -7
- package/serialization/resources/db/resources/company/types/DefaultPayCycle.js +17 -7
- package/serialization/resources/db/resources/company/types/EnabledApps.js +17 -7
- package/serialization/resources/db/resources/company/types/Flags.js +17 -7
- package/serialization/resources/db/resources/company/types/LimitedAllowanceType.js +17 -7
- package/serialization/resources/db/resources/company/types/MercoaCompanyDetails.js +17 -7
- package/serialization/resources/db/resources/company/types/MidYearJoiningAllowanceType.js +17 -7
- package/serialization/resources/db/resources/company/types/PandadocTemplates.js +17 -7
- package/serialization/resources/db/resources/company/types/PayCycleType.js +17 -7
- package/serialization/resources/db/resources/company/types/PaymentMethodStatus.js +17 -7
- package/serialization/resources/db/resources/company/types/PayrollRun.js +17 -7
- package/serialization/resources/db/resources/company/types/RequestedToEnableApps.js +17 -7
- package/serialization/resources/db/resources/company/types/SubscriptionPrice.js +17 -7
- package/serialization/resources/db/resources/company/types/SubscriptionPricing.js +17 -7
- package/serialization/resources/db/resources/company/types/Team.js +17 -7
- package/serialization/resources/db/resources/company/types/TeamAutoPay.js +17 -7
- package/serialization/resources/db/resources/company/types/TheraBillingType.js +17 -7
- package/serialization/resources/db/resources/company/types/TimeOffPolicy.js +17 -7
- package/serialization/resources/db/resources/company/types/TimeOffSettings.js +17 -7
- package/serialization/resources/db/resources/company/types/TimeOffTerminationDetails.js +17 -7
- package/serialization/resources/db/resources/company/types/TimeOffType.js +17 -7
- package/serialization/resources/db/resources/company/types/TpAccountInfo.js +17 -7
- package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +17 -7
- package/serialization/resources/db/resources/company/types/TpCompanyOnboardingStage.js +17 -7
- package/serialization/resources/db/resources/company/types/TpDepositAccount.js +17 -7
- package/serialization/resources/db/resources/company/types/TpDisbursementAccount.js +17 -7
- package/serialization/resources/db/resources/company/types/UnlimitedAllowanceType.js +17 -7
- package/serialization/resources/db/resources/company/types/W2ImplementationStatus.js +17 -7
- package/serialization/resources/db/resources/company/types/W2OnboardStatus.js +17 -7
- package/serialization/resources/db/resources/company/types/W2Payroll.js +17 -7
- package/serialization/resources/db/resources/contract/types/Contract.js +17 -7
- package/serialization/resources/db/resources/contract/types/ContractApiResponse.js +17 -7
- package/serialization/resources/db/resources/contract/types/ContractRenewalDetails.js +17 -7
- package/serialization/resources/db/resources/contract/types/ContractSetting.js +17 -7
- package/serialization/resources/db/resources/contract/types/ContractTerminationDetails.js +17 -7
- package/serialization/resources/db/resources/contract/types/Deduction.js +17 -7
- package/serialization/resources/db/resources/contract/types/Earning.js +17 -7
- package/serialization/resources/db/resources/contract/types/EmploymentDocuments.js +17 -7
- package/serialization/resources/db/resources/contract/types/EmploymentStatus.js +17 -7
- package/serialization/resources/db/resources/contract/types/EmploymentW2PayrollDetails.js +17 -7
- package/serialization/resources/db/resources/contract/types/EorDetails.js +17 -7
- package/serialization/resources/db/resources/contract/types/EorPayslip.js +17 -7
- package/serialization/resources/db/resources/contract/types/Frequency.js +17 -7
- package/serialization/resources/db/resources/contract/types/GenericEmploymentDocument.js +17 -7
- package/serialization/resources/db/resources/contract/types/Milestone.js +17 -7
- package/serialization/resources/db/resources/contract/types/MilestoneDetails.js +17 -7
- package/serialization/resources/db/resources/contract/types/MilestoneStatus.js +17 -7
- package/serialization/resources/db/resources/contract/types/ModifyRecurrencesRequest.js +17 -7
- package/serialization/resources/db/resources/contract/types/ModifyRecurrencesResponse.js +17 -7
- package/serialization/resources/db/resources/contract/types/PerPaycheckFrequency.js +17 -7
- package/serialization/resources/db/resources/contract/types/Recurrence.js +17 -7
- package/serialization/resources/db/resources/contract/types/RecurrenceDetails.js +17 -7
- package/serialization/resources/db/resources/contract/types/RecurrenceModifications.js +17 -7
- package/serialization/resources/db/resources/contract/types/Reimbursement.js +17 -7
- package/serialization/resources/db/resources/document/types/Document.js +17 -7
- package/serialization/resources/db/resources/document/types/DocumentMetadata.js +17 -7
- package/serialization/resources/db/resources/document/types/DocumentRecipient.js +17 -7
- package/serialization/resources/db/resources/document/types/DocumentRecipientRole.js +17 -7
- package/serialization/resources/db/resources/document/types/DocumentType.js +17 -7
- package/serialization/resources/db/resources/document/types/UsIrs1099NecDocumentMetadata.js +17 -7
- package/serialization/resources/db/resources/document/types/UsIrs1099NecFormStatus.js +17 -7
- package/serialization/resources/db/resources/document/types/UsIrsDocumentMetadata.js +17 -7
- package/serialization/resources/db/resources/document/types/UsIrsW9DocumentMetadata.js +17 -7
- package/serialization/resources/db/resources/employment/types/Employment.js +17 -7
- package/serialization/resources/db/resources/generic/types/GenericType.js +17 -7
- package/serialization/resources/db/resources/generic/types/GenericTypeKey.js +17 -7
- package/serialization/resources/db/resources/index.js +17 -7
- package/serialization/resources/db/resources/invoice/types/InvoiceDeduction.js +17 -7
- package/serialization/resources/db/resources/invoice/types/InvoiceType.js +17 -7
- package/serialization/resources/db/resources/invoice/types/Status.js +17 -7
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.js +17 -7
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +17 -7
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationType.js +17 -7
- package/serialization/resources/db/resources/migrations/types/LedgerTrxStatus.js +17 -7
- package/serialization/resources/db/resources/migrations/types/MigrationLog.js +17 -7
- package/serialization/resources/db/resources/migrations/types/MigrationMetadata.js +17 -7
- package/serialization/resources/db/resources/migrations/types/MigrationStatus.js +17 -7
- package/serialization/resources/db/resources/migrations/types/MigrationType.js +17 -7
- package/serialization/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.js +17 -7
- package/serialization/resources/db/resources/paymentMethod/types/CompanyPaymentMethodDeletionDetails.js +17 -7
- package/serialization/resources/db/resources/paymentMethod/types/PaymentMethodDetails.js +17 -7
- package/serialization/resources/db/resources/paymentMethod/types/PlaidPaymentMethod.js +17 -7
- package/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.js +17 -7
- package/serialization/resources/db/resources/paymentMethod/types/StripeAcssDebitAccountPaymentMethodDetails.js +17 -7
- package/serialization/resources/db/resources/paymentMethod/types/StripeBankAccountVerificationStatus.js +17 -7
- package/serialization/resources/db/resources/paymentMethod/types/StripeCardPaymentMethodDetails.js +17 -7
- package/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +17 -7
- package/serialization/resources/db/resources/paymentMethod/types/StripeMandateStatus.js +17 -7
- package/serialization/resources/db/resources/paymentMethod/types/StripeSepaPaymentMethodDetails.js +17 -7
- package/serialization/resources/db/resources/paymentMethod/types/StripeUsBankAccountPaymentMethodDetails.js +17 -7
- package/serialization/resources/db/resources/user/types/AiPriseVerificationResult.js +17 -7
- package/serialization/resources/db/resources/user/types/AiPriseVerificationStatus.js +17 -7
- package/serialization/resources/db/resources/user/types/AiPriseWarnings.js +17 -7
- package/serialization/resources/db/resources/user/types/BankAddress.js +17 -7
- package/serialization/resources/db/resources/user/types/BankTransfer.js +17 -7
- package/serialization/resources/db/resources/user/types/BridgeUserDetails.d.ts +2 -0
- package/serialization/resources/db/resources/user/types/BridgeUserDetails.js +19 -7
- package/serialization/resources/db/resources/user/types/ComplianceDocument.js +17 -7
- package/serialization/resources/db/resources/user/types/ComplianceDocumentType.js +17 -7
- package/serialization/resources/db/resources/user/types/ComplianceInformation.js +17 -7
- package/serialization/resources/db/resources/user/types/EmployeeInformation.js +17 -7
- package/serialization/resources/db/resources/user/types/EmployeeInformationResponse.js +17 -7
- package/serialization/resources/db/resources/user/types/EmployeeOnboardingStatus.js +17 -7
- package/serialization/resources/db/resources/user/types/EntityDocuments.js +17 -7
- package/serialization/resources/db/resources/user/types/EntityInformation.js +17 -7
- package/serialization/resources/db/resources/user/types/EntityType.js +17 -7
- package/serialization/resources/db/resources/user/types/KycDocument.js +17 -7
- package/serialization/resources/db/resources/user/types/KycDocumentFile.js +17 -7
- package/serialization/resources/db/resources/user/types/KycDocumentType.js +17 -7
- package/serialization/resources/db/resources/user/types/MercoaUserDetails.js +17 -7
- package/serialization/resources/db/resources/user/types/MfaType.js +17 -7
- package/serialization/resources/db/resources/user/types/MfaUserDetails.js +17 -7
- package/serialization/resources/db/resources/user/types/NotificationAlerts.js +17 -7
- package/serialization/resources/db/resources/user/types/PaidTimeOff.js +17 -7
- package/serialization/resources/db/resources/user/types/PaidTimeOffDetails.js +17 -7
- package/serialization/resources/db/resources/user/types/PoweredBy.js +17 -7
- package/serialization/resources/db/resources/user/types/TimeOffHistory.js +17 -7
- package/serialization/resources/db/resources/user/types/TimeOffLength.js +17 -7
- package/serialization/resources/db/resources/user/types/TimeOffStatus.js +17 -7
- package/serialization/resources/db/resources/user/types/UnpaidTimeOff.js +17 -7
- package/serialization/resources/db/resources/user/types/UsIrs1099NecDocumentIds.js +17 -7
- package/serialization/resources/db/resources/user/types/User.js +17 -7
- package/serialization/resources/db/resources/user/types/UserApiResponse.js +17 -7
- package/serialization/resources/db/resources/user/types/UserCompanyDocuments.js +17 -7
- package/serialization/resources/db/resources/user/types/UserCompanySettings.js +17 -7
- package/serialization/resources/db/resources/user/types/UserDocuments.js +17 -7
- package/serialization/resources/db/resources/user/types/UserType.js +17 -7
- package/serialization/resources/db/resources/user/types/WithdrawalMethod.js +17 -7
- package/serialization/resources/db/resources/user/types/WithdrawalMethodAccountType.d.ts +1 -1
- package/serialization/resources/db/resources/user/types/WithdrawalMethodAccountType.js +27 -8
- package/serialization/resources/db/resources/user/types/WorkerTaxData.js +17 -7
- package/serialization/resources/index.js +17 -7
- package/serialization/resources/model/resources/index.js +17 -7
- package/serialization/resources/model/resources/thera/resources/contract/types/BiWeeklyPayCycleEnd.js +17 -7
- package/serialization/resources/model/resources/thera/resources/contract/types/ContractDocumentType.js +17 -7
- package/serialization/resources/model/resources/thera/resources/contract/types/ContractType.js +17 -7
- package/serialization/resources/model/resources/thera/resources/contract/types/DayOfWeek.js +17 -7
- package/serialization/resources/model/resources/thera/resources/contract/types/EmploymentType.js +17 -7
- package/serialization/resources/model/resources/thera/resources/contract/types/FifteenthAndEndOfMonth.js +17 -7
- package/serialization/resources/model/resources/thera/resources/contract/types/ItemRecurrence.js +17 -7
- package/serialization/resources/model/resources/thera/resources/contract/types/LastDayOfMonth.js +17 -7
- package/serialization/resources/model/resources/thera/resources/contract/types/MonthlyPayCycleEnd.js +17 -7
- package/serialization/resources/model/resources/thera/resources/contract/types/PayCycle.js +17 -7
- package/serialization/resources/model/resources/thera/resources/contract/types/PayCycleEnd.js +17 -7
- package/serialization/resources/model/resources/thera/resources/contract/types/SemiMonthlyPayCycleEnd.js +17 -7
- package/serialization/resources/model/resources/thera/resources/contract/types/WageType.js +17 -7
- package/serialization/resources/model/resources/thera/resources/contract/types/WeeklyPayCycleEnd.js +17 -7
- package/serialization/resources/model/resources/thera/resources/disbursement/types/DisbursementItemType.js +17 -7
- package/serialization/resources/model/resources/thera/resources/document/types/UsIrs1099NecDocumentData.js +17 -7
- package/serialization/resources/model/resources/thera/resources/document/types/W9FormData.js +17 -7
- package/serialization/resources/model/resources/thera/resources/document/types/W9TaxClassificationType.js +17 -7
- package/serialization/resources/model/resources/thera/resources/index.js +17 -7
- package/serialization/resources/model/resources/thera/resources/setting/types/VerificationSetting.js +17 -7
- package/version.d.ts +1 -0
- package/version.js +4 -0
package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js
CHANGED
|
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
18
18
|
}) : function(o, v) {
|
|
19
19
|
o["default"] = v;
|
|
20
20
|
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
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
|
+
})();
|
|
28
38
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
39
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
40
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -57,24 +67,19 @@ class BridgeApi {
|
|
|
57
67
|
*/
|
|
58
68
|
requestTosLink(requestOptions) {
|
|
59
69
|
return __awaiter(this, void 0, void 0, function* () {
|
|
70
|
+
var _a;
|
|
60
71
|
const _response = yield core.fetcher({
|
|
61
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), "/bridge/customers/tos_links"),
|
|
72
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/bridge/customers/tos_links"),
|
|
62
73
|
method: "POST",
|
|
63
|
-
headers: {
|
|
64
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
65
|
-
"X-Fern-Language": "JavaScript",
|
|
66
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
67
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
68
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
69
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
70
|
-
},
|
|
74
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
71
75
|
contentType: "application/json",
|
|
76
|
+
requestType: "json",
|
|
72
77
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
73
78
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
74
79
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
75
80
|
});
|
|
76
81
|
if (_response.ok) {
|
|
77
|
-
return
|
|
82
|
+
return serializers.api.thera.bridge.TosLinkResponse.parseOrThrow(_response.body, {
|
|
78
83
|
unrecognizedObjectKeys: "passthrough",
|
|
79
84
|
allowUnrecognizedUnionMembers: true,
|
|
80
85
|
allowUnrecognizedEnumValues: true,
|
|
@@ -95,7 +100,7 @@ class BridgeApi {
|
|
|
95
100
|
body: _response.error.rawBody,
|
|
96
101
|
});
|
|
97
102
|
case "timeout":
|
|
98
|
-
throw new errors.TheraApiTimeoutError();
|
|
103
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling POST /bridge/customers/tos_links.");
|
|
99
104
|
case "unknown":
|
|
100
105
|
throw new errors.TheraApiError({
|
|
101
106
|
message: _response.error.errorMessage,
|
|
@@ -122,7 +127,8 @@ class BridgeApi {
|
|
|
122
127
|
* city: "string",
|
|
123
128
|
* state: "string",
|
|
124
129
|
* postalCode: "string",
|
|
125
|
-
* country: "string"
|
|
130
|
+
* country: "string",
|
|
131
|
+
* subdivision: "string"
|
|
126
132
|
* },
|
|
127
133
|
* signedAgreementId: "string",
|
|
128
134
|
* birthDate: "string",
|
|
@@ -153,34 +159,28 @@ class BridgeApi {
|
|
|
153
159
|
* city: "string",
|
|
154
160
|
* state: "string",
|
|
155
161
|
* postalCode: "string",
|
|
156
|
-
* country: "string"
|
|
162
|
+
* country: "string",
|
|
163
|
+
* subdivision: "string"
|
|
157
164
|
* },
|
|
158
165
|
* documentIdentificationNumber: "string"
|
|
159
166
|
* })
|
|
160
167
|
*/
|
|
161
168
|
createCustomer(request, requestOptions) {
|
|
162
169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
170
|
+
var _a;
|
|
163
171
|
const _response = yield core.fetcher({
|
|
164
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), "/bridge/customers"),
|
|
172
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/bridge/customers"),
|
|
165
173
|
method: "POST",
|
|
166
|
-
headers: {
|
|
167
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
168
|
-
"X-Fern-Language": "JavaScript",
|
|
169
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
170
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
171
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
172
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
173
|
-
},
|
|
174
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
174
175
|
contentType: "application/json",
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
}),
|
|
176
|
+
requestType: "json",
|
|
177
|
+
body: serializers.api.thera.bridge.CreateCustomer.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
178
178
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
179
179
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
180
180
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
181
181
|
});
|
|
182
182
|
if (_response.ok) {
|
|
183
|
-
return
|
|
183
|
+
return serializers.db.User.parseOrThrow(_response.body, {
|
|
184
184
|
unrecognizedObjectKeys: "passthrough",
|
|
185
185
|
allowUnrecognizedUnionMembers: true,
|
|
186
186
|
allowUnrecognizedEnumValues: true,
|
|
@@ -201,7 +201,59 @@ class BridgeApi {
|
|
|
201
201
|
body: _response.error.rawBody,
|
|
202
202
|
});
|
|
203
203
|
case "timeout":
|
|
204
|
-
throw new errors.TheraApiTimeoutError();
|
|
204
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling POST /bridge/customers.");
|
|
205
|
+
case "unknown":
|
|
206
|
+
throw new errors.TheraApiError({
|
|
207
|
+
message: _response.error.errorMessage,
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Retrieve Customer's Kyc link
|
|
214
|
+
*
|
|
215
|
+
* @param {string} userId
|
|
216
|
+
* @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
217
|
+
*
|
|
218
|
+
* @example
|
|
219
|
+
* await client.api.thera.bridge.bridgeApi.retrieveCustomerKycLink("string")
|
|
220
|
+
*/
|
|
221
|
+
retrieveCustomerKycLink(userId, requestOptions) {
|
|
222
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
223
|
+
var _a;
|
|
224
|
+
const _response = yield core.fetcher({
|
|
225
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/customers/${encodeURIComponent(userId)}/kyc-link`),
|
|
226
|
+
method: "GET",
|
|
227
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
228
|
+
contentType: "application/json",
|
|
229
|
+
requestType: "json",
|
|
230
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
231
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
232
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
233
|
+
});
|
|
234
|
+
if (_response.ok) {
|
|
235
|
+
return serializers.api.thera.bridge.TosLinkResponse.parseOrThrow(_response.body, {
|
|
236
|
+
unrecognizedObjectKeys: "passthrough",
|
|
237
|
+
allowUnrecognizedUnionMembers: true,
|
|
238
|
+
allowUnrecognizedEnumValues: true,
|
|
239
|
+
skipValidation: true,
|
|
240
|
+
breadcrumbsPrefix: ["response"],
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
if (_response.error.reason === "status-code") {
|
|
244
|
+
throw new errors.TheraApiError({
|
|
245
|
+
statusCode: _response.error.statusCode,
|
|
246
|
+
body: _response.error.body,
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
switch (_response.error.reason) {
|
|
250
|
+
case "non-json":
|
|
251
|
+
throw new errors.TheraApiError({
|
|
252
|
+
statusCode: _response.error.statusCode,
|
|
253
|
+
body: _response.error.rawBody,
|
|
254
|
+
});
|
|
255
|
+
case "timeout":
|
|
256
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /bridge/customers/{userId}/kyc-link.");
|
|
205
257
|
case "unknown":
|
|
206
258
|
throw new errors.TheraApiError({
|
|
207
259
|
message: _response.error.errorMessage,
|
|
@@ -225,19 +277,14 @@ class BridgeApi {
|
|
|
225
277
|
*/
|
|
226
278
|
createExternalAccount(customerId, request, requestOptions) {
|
|
227
279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
280
|
+
var _a;
|
|
228
281
|
const _response = yield core.fetcher({
|
|
229
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `/bridge/external-accounts/${encodeURIComponent(customerId)}/accounts`),
|
|
282
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/external-accounts/${encodeURIComponent(customerId)}/accounts`),
|
|
230
283
|
method: "POST",
|
|
231
|
-
headers: {
|
|
232
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
233
|
-
"X-Fern-Language": "JavaScript",
|
|
234
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
235
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
236
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
237
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
238
|
-
},
|
|
284
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
239
285
|
contentType: "application/json",
|
|
240
|
-
|
|
286
|
+
requestType: "json",
|
|
287
|
+
body: serializers.api.thera.bridge.ExternalAccount.jsonOrThrow(request, {
|
|
241
288
|
unrecognizedObjectKeys: "strip",
|
|
242
289
|
}),
|
|
243
290
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -245,7 +292,7 @@ class BridgeApi {
|
|
|
245
292
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
246
293
|
});
|
|
247
294
|
if (_response.ok) {
|
|
248
|
-
return
|
|
295
|
+
return serializers.api.thera.bridge.LinkExternalAccountResponse.parseOrThrow(_response.body, {
|
|
249
296
|
unrecognizedObjectKeys: "passthrough",
|
|
250
297
|
allowUnrecognizedUnionMembers: true,
|
|
251
298
|
allowUnrecognizedEnumValues: true,
|
|
@@ -266,7 +313,7 @@ class BridgeApi {
|
|
|
266
313
|
body: _response.error.rawBody,
|
|
267
314
|
});
|
|
268
315
|
case "timeout":
|
|
269
|
-
throw new errors.TheraApiTimeoutError();
|
|
316
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling POST /bridge/external-accounts/{customerId}/accounts.");
|
|
270
317
|
case "unknown":
|
|
271
318
|
throw new errors.TheraApiError({
|
|
272
319
|
message: _response.error.errorMessage,
|
|
@@ -285,24 +332,19 @@ class BridgeApi {
|
|
|
285
332
|
*/
|
|
286
333
|
getCustomerDetails(customerId, requestOptions) {
|
|
287
334
|
return __awaiter(this, void 0, void 0, function* () {
|
|
335
|
+
var _a;
|
|
288
336
|
const _response = yield core.fetcher({
|
|
289
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `/bridge/customers/${encodeURIComponent(customerId)}`),
|
|
337
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/customers/${encodeURIComponent(customerId)}`),
|
|
290
338
|
method: "GET",
|
|
291
|
-
headers: {
|
|
292
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
293
|
-
"X-Fern-Language": "JavaScript",
|
|
294
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
295
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
296
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
297
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
298
|
-
},
|
|
339
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
299
340
|
contentType: "application/json",
|
|
341
|
+
requestType: "json",
|
|
300
342
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
301
343
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
302
344
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
303
345
|
});
|
|
304
346
|
if (_response.ok) {
|
|
305
|
-
return
|
|
347
|
+
return serializers.api.thera.bridge.CustomerDetails.parseOrThrow(_response.body, {
|
|
306
348
|
unrecognizedObjectKeys: "passthrough",
|
|
307
349
|
allowUnrecognizedUnionMembers: true,
|
|
308
350
|
allowUnrecognizedEnumValues: true,
|
|
@@ -323,7 +365,7 @@ class BridgeApi {
|
|
|
323
365
|
body: _response.error.rawBody,
|
|
324
366
|
});
|
|
325
367
|
case "timeout":
|
|
326
|
-
throw new errors.TheraApiTimeoutError();
|
|
368
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /bridge/customers/{customerId}.");
|
|
327
369
|
case "unknown":
|
|
328
370
|
throw new errors.TheraApiError({
|
|
329
371
|
message: _response.error.errorMessage,
|
|
@@ -341,24 +383,19 @@ class BridgeApi {
|
|
|
341
383
|
*/
|
|
342
384
|
getAllCustomers(requestOptions) {
|
|
343
385
|
return __awaiter(this, void 0, void 0, function* () {
|
|
386
|
+
var _a;
|
|
344
387
|
const _response = yield core.fetcher({
|
|
345
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), "/bridge/customers"),
|
|
388
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/bridge/customers"),
|
|
346
389
|
method: "GET",
|
|
347
|
-
headers: {
|
|
348
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
349
|
-
"X-Fern-Language": "JavaScript",
|
|
350
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
351
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
352
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
353
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
354
|
-
},
|
|
390
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
355
391
|
contentType: "application/json",
|
|
392
|
+
requestType: "json",
|
|
356
393
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
357
394
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
358
395
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
359
396
|
});
|
|
360
397
|
if (_response.ok) {
|
|
361
|
-
return
|
|
398
|
+
return serializers.api.thera.bridge.bridgeApi.getAllCustomers.Response.parseOrThrow(_response.body, {
|
|
362
399
|
unrecognizedObjectKeys: "passthrough",
|
|
363
400
|
allowUnrecognizedUnionMembers: true,
|
|
364
401
|
allowUnrecognizedEnumValues: true,
|
|
@@ -379,7 +416,7 @@ class BridgeApi {
|
|
|
379
416
|
body: _response.error.rawBody,
|
|
380
417
|
});
|
|
381
418
|
case "timeout":
|
|
382
|
-
throw new errors.TheraApiTimeoutError();
|
|
419
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /bridge/customers.");
|
|
383
420
|
case "unknown":
|
|
384
421
|
throw new errors.TheraApiError({
|
|
385
422
|
message: _response.error.errorMessage,
|
|
@@ -404,27 +441,20 @@ class BridgeApi {
|
|
|
404
441
|
*/
|
|
405
442
|
processCryptoPayout(request, requestOptions) {
|
|
406
443
|
return __awaiter(this, void 0, void 0, function* () {
|
|
444
|
+
var _a;
|
|
407
445
|
const _response = yield core.fetcher({
|
|
408
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), "/bridge/payments/crypto"),
|
|
446
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/bridge/payments/crypto"),
|
|
409
447
|
method: "POST",
|
|
410
|
-
headers: {
|
|
411
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
412
|
-
"X-Fern-Language": "JavaScript",
|
|
413
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
414
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
415
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
416
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
417
|
-
},
|
|
448
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
418
449
|
contentType: "application/json",
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
}),
|
|
450
|
+
requestType: "json",
|
|
451
|
+
body: serializers.api.thera.bridge.CryptoPayout.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
422
452
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
423
453
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
424
454
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
425
455
|
});
|
|
426
456
|
if (_response.ok) {
|
|
427
|
-
return
|
|
457
|
+
return serializers.api.thera.bridge.PayoutResponse.parseOrThrow(_response.body, {
|
|
428
458
|
unrecognizedObjectKeys: "passthrough",
|
|
429
459
|
allowUnrecognizedUnionMembers: true,
|
|
430
460
|
allowUnrecognizedEnumValues: true,
|
|
@@ -445,7 +475,7 @@ class BridgeApi {
|
|
|
445
475
|
body: _response.error.rawBody,
|
|
446
476
|
});
|
|
447
477
|
case "timeout":
|
|
448
|
-
throw new errors.TheraApiTimeoutError();
|
|
478
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling POST /bridge/payments/crypto.");
|
|
449
479
|
case "unknown":
|
|
450
480
|
throw new errors.TheraApiError({
|
|
451
481
|
message: _response.error.errorMessage,
|
|
@@ -464,24 +494,19 @@ class BridgeApi {
|
|
|
464
494
|
*/
|
|
465
495
|
getPayoutStatus(transactionId, requestOptions) {
|
|
466
496
|
return __awaiter(this, void 0, void 0, function* () {
|
|
497
|
+
var _a;
|
|
467
498
|
const _response = yield core.fetcher({
|
|
468
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `/bridge/payments/crypto/${encodeURIComponent(transactionId)}`),
|
|
499
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/payments/crypto/${encodeURIComponent(transactionId)}`),
|
|
469
500
|
method: "GET",
|
|
470
|
-
headers: {
|
|
471
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
472
|
-
"X-Fern-Language": "JavaScript",
|
|
473
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
474
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
475
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
476
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
477
|
-
},
|
|
501
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
478
502
|
contentType: "application/json",
|
|
503
|
+
requestType: "json",
|
|
479
504
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
480
505
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
481
506
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
482
507
|
});
|
|
483
508
|
if (_response.ok) {
|
|
484
|
-
return
|
|
509
|
+
return serializers.api.thera.bridge.PayoutStatus.parseOrThrow(_response.body, {
|
|
485
510
|
unrecognizedObjectKeys: "passthrough",
|
|
486
511
|
allowUnrecognizedUnionMembers: true,
|
|
487
512
|
allowUnrecognizedEnumValues: true,
|
|
@@ -502,7 +527,7 @@ class BridgeApi {
|
|
|
502
527
|
body: _response.error.rawBody,
|
|
503
528
|
});
|
|
504
529
|
case "timeout":
|
|
505
|
-
throw new errors.TheraApiTimeoutError();
|
|
530
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /bridge/payments/crypto/{transactionId}.");
|
|
506
531
|
case "unknown":
|
|
507
532
|
throw new errors.TheraApiError({
|
|
508
533
|
message: _response.error.errorMessage,
|
|
@@ -524,19 +549,14 @@ class BridgeApi {
|
|
|
524
549
|
*/
|
|
525
550
|
createWallet(request, requestOptions) {
|
|
526
551
|
return __awaiter(this, void 0, void 0, function* () {
|
|
552
|
+
var _a;
|
|
527
553
|
const _response = yield core.fetcher({
|
|
528
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), "/bridge/wallets"),
|
|
554
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/bridge/wallets"),
|
|
529
555
|
method: "POST",
|
|
530
|
-
headers: {
|
|
531
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
532
|
-
"X-Fern-Language": "JavaScript",
|
|
533
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
534
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
535
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
536
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
537
|
-
},
|
|
556
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
538
557
|
contentType: "application/json",
|
|
539
|
-
|
|
558
|
+
requestType: "json",
|
|
559
|
+
body: serializers.api.thera.bridge.CreateWalletRequest.jsonOrThrow(request, {
|
|
540
560
|
unrecognizedObjectKeys: "strip",
|
|
541
561
|
}),
|
|
542
562
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -544,7 +564,7 @@ class BridgeApi {
|
|
|
544
564
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
545
565
|
});
|
|
546
566
|
if (_response.ok) {
|
|
547
|
-
return
|
|
567
|
+
return serializers.api.thera.bridge.WalletDetails.parseOrThrow(_response.body, {
|
|
548
568
|
unrecognizedObjectKeys: "passthrough",
|
|
549
569
|
allowUnrecognizedUnionMembers: true,
|
|
550
570
|
allowUnrecognizedEnumValues: true,
|
|
@@ -565,7 +585,7 @@ class BridgeApi {
|
|
|
565
585
|
body: _response.error.rawBody,
|
|
566
586
|
});
|
|
567
587
|
case "timeout":
|
|
568
|
-
throw new errors.TheraApiTimeoutError();
|
|
588
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling POST /bridge/wallets.");
|
|
569
589
|
case "unknown":
|
|
570
590
|
throw new errors.TheraApiError({
|
|
571
591
|
message: _response.error.errorMessage,
|
|
@@ -584,24 +604,19 @@ class BridgeApi {
|
|
|
584
604
|
*/
|
|
585
605
|
getWalletDetails(walletId, requestOptions) {
|
|
586
606
|
return __awaiter(this, void 0, void 0, function* () {
|
|
607
|
+
var _a;
|
|
587
608
|
const _response = yield core.fetcher({
|
|
588
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `/bridge/wallets/${encodeURIComponent(walletId)}`),
|
|
609
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/wallets/${encodeURIComponent(walletId)}`),
|
|
589
610
|
method: "GET",
|
|
590
|
-
headers: {
|
|
591
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
592
|
-
"X-Fern-Language": "JavaScript",
|
|
593
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
594
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
595
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
596
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
597
|
-
},
|
|
611
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
598
612
|
contentType: "application/json",
|
|
613
|
+
requestType: "json",
|
|
599
614
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
600
615
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
601
616
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
602
617
|
});
|
|
603
618
|
if (_response.ok) {
|
|
604
|
-
return
|
|
619
|
+
return serializers.api.thera.bridge.WalletDetails.parseOrThrow(_response.body, {
|
|
605
620
|
unrecognizedObjectKeys: "passthrough",
|
|
606
621
|
allowUnrecognizedUnionMembers: true,
|
|
607
622
|
allowUnrecognizedEnumValues: true,
|
|
@@ -622,7 +637,7 @@ class BridgeApi {
|
|
|
622
637
|
body: _response.error.rawBody,
|
|
623
638
|
});
|
|
624
639
|
case "timeout":
|
|
625
|
-
throw new errors.TheraApiTimeoutError();
|
|
640
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /bridge/wallets/{walletId}.");
|
|
626
641
|
case "unknown":
|
|
627
642
|
throw new errors.TheraApiError({
|
|
628
643
|
message: _response.error.errorMessage,
|
|
@@ -641,24 +656,19 @@ class BridgeApi {
|
|
|
641
656
|
*/
|
|
642
657
|
listWallets(customerId, requestOptions) {
|
|
643
658
|
return __awaiter(this, void 0, void 0, function* () {
|
|
659
|
+
var _a;
|
|
644
660
|
const _response = yield core.fetcher({
|
|
645
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `/bridge/customers/${encodeURIComponent(customerId)}/wallets`),
|
|
661
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/customers/${encodeURIComponent(customerId)}/wallets`),
|
|
646
662
|
method: "GET",
|
|
647
|
-
headers: {
|
|
648
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
649
|
-
"X-Fern-Language": "JavaScript",
|
|
650
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
651
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
652
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
653
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
654
|
-
},
|
|
663
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
655
664
|
contentType: "application/json",
|
|
665
|
+
requestType: "json",
|
|
656
666
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
657
667
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
658
668
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
659
669
|
});
|
|
660
670
|
if (_response.ok) {
|
|
661
|
-
return
|
|
671
|
+
return serializers.api.thera.bridge.bridgeApi.listWallets.Response.parseOrThrow(_response.body, {
|
|
662
672
|
unrecognizedObjectKeys: "passthrough",
|
|
663
673
|
allowUnrecognizedUnionMembers: true,
|
|
664
674
|
allowUnrecognizedEnumValues: true,
|
|
@@ -679,7 +689,7 @@ class BridgeApi {
|
|
|
679
689
|
body: _response.error.rawBody,
|
|
680
690
|
});
|
|
681
691
|
case "timeout":
|
|
682
|
-
throw new errors.TheraApiTimeoutError();
|
|
692
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /bridge/customers/{customerId}/wallets.");
|
|
683
693
|
case "unknown":
|
|
684
694
|
throw new errors.TheraApiError({
|
|
685
695
|
message: _response.error.errorMessage,
|
|
@@ -699,24 +709,20 @@ class BridgeApi {
|
|
|
699
709
|
* toWalletId: "string",
|
|
700
710
|
* amount: "string",
|
|
701
711
|
* currency: "string",
|
|
702
|
-
* flow:
|
|
712
|
+
* flow: "payout_wallet",
|
|
713
|
+
* preview: true
|
|
703
714
|
* })
|
|
704
715
|
*/
|
|
705
716
|
transferFunds(request, requestOptions) {
|
|
706
717
|
return __awaiter(this, void 0, void 0, function* () {
|
|
718
|
+
var _a;
|
|
707
719
|
const _response = yield core.fetcher({
|
|
708
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), "/bridge/wallets/transfer"),
|
|
720
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/bridge/wallets/transfer"),
|
|
709
721
|
method: "POST",
|
|
710
|
-
headers: {
|
|
711
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
712
|
-
"X-Fern-Language": "JavaScript",
|
|
713
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
714
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
715
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
716
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
717
|
-
},
|
|
722
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
718
723
|
contentType: "application/json",
|
|
719
|
-
|
|
724
|
+
requestType: "json",
|
|
725
|
+
body: serializers.api.thera.bridge.TransferFundsRequest.jsonOrThrow(request, {
|
|
720
726
|
unrecognizedObjectKeys: "strip",
|
|
721
727
|
}),
|
|
722
728
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -724,7 +730,7 @@ class BridgeApi {
|
|
|
724
730
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
725
731
|
});
|
|
726
732
|
if (_response.ok) {
|
|
727
|
-
return
|
|
733
|
+
return serializers.api.thera.bridge.TransferFundsResponse.parseOrThrow(_response.body, {
|
|
728
734
|
unrecognizedObjectKeys: "passthrough",
|
|
729
735
|
allowUnrecognizedUnionMembers: true,
|
|
730
736
|
allowUnrecognizedEnumValues: true,
|
|
@@ -745,7 +751,7 @@ class BridgeApi {
|
|
|
745
751
|
body: _response.error.rawBody,
|
|
746
752
|
});
|
|
747
753
|
case "timeout":
|
|
748
|
-
throw new errors.TheraApiTimeoutError();
|
|
754
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling POST /bridge/wallets/transfer.");
|
|
749
755
|
case "unknown":
|
|
750
756
|
throw new errors.TheraApiError({
|
|
751
757
|
message: _response.error.errorMessage,
|
|
@@ -764,24 +770,19 @@ class BridgeApi {
|
|
|
764
770
|
*/
|
|
765
771
|
getExternalAccount(accountId, requestOptions) {
|
|
766
772
|
return __awaiter(this, void 0, void 0, function* () {
|
|
773
|
+
var _a;
|
|
767
774
|
const _response = yield core.fetcher({
|
|
768
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `/bridge/external-accounts/${encodeURIComponent(accountId)}`),
|
|
775
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/external-accounts/${encodeURIComponent(accountId)}`),
|
|
769
776
|
method: "GET",
|
|
770
|
-
headers: {
|
|
771
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
772
|
-
"X-Fern-Language": "JavaScript",
|
|
773
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
774
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
775
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
776
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
777
|
-
},
|
|
777
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
778
778
|
contentType: "application/json",
|
|
779
|
+
requestType: "json",
|
|
779
780
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
780
781
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
781
782
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
782
783
|
});
|
|
783
784
|
if (_response.ok) {
|
|
784
|
-
return
|
|
785
|
+
return serializers.api.thera.bridge.ExternalAccount.parseOrThrow(_response.body, {
|
|
785
786
|
unrecognizedObjectKeys: "passthrough",
|
|
786
787
|
allowUnrecognizedUnionMembers: true,
|
|
787
788
|
allowUnrecognizedEnumValues: true,
|
|
@@ -802,7 +803,7 @@ class BridgeApi {
|
|
|
802
803
|
body: _response.error.rawBody,
|
|
803
804
|
});
|
|
804
805
|
case "timeout":
|
|
805
|
-
throw new errors.TheraApiTimeoutError();
|
|
806
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /bridge/external-accounts/{accountId}.");
|
|
806
807
|
case "unknown":
|
|
807
808
|
throw new errors.TheraApiError({
|
|
808
809
|
message: _response.error.errorMessage,
|
|
@@ -821,24 +822,19 @@ class BridgeApi {
|
|
|
821
822
|
*/
|
|
822
823
|
listExternalAccounts(customerId, requestOptions) {
|
|
823
824
|
return __awaiter(this, void 0, void 0, function* () {
|
|
825
|
+
var _a;
|
|
824
826
|
const _response = yield core.fetcher({
|
|
825
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `/bridge/${encodeURIComponent(customerId)}/external-accounts`),
|
|
827
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/${encodeURIComponent(customerId)}/external-accounts`),
|
|
826
828
|
method: "GET",
|
|
827
|
-
headers: {
|
|
828
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
829
|
-
"X-Fern-Language": "JavaScript",
|
|
830
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
831
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
832
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
833
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
834
|
-
},
|
|
829
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
835
830
|
contentType: "application/json",
|
|
831
|
+
requestType: "json",
|
|
836
832
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
837
833
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
838
834
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
839
835
|
});
|
|
840
836
|
if (_response.ok) {
|
|
841
|
-
return
|
|
837
|
+
return serializers.api.thera.bridge.bridgeApi.listExternalAccounts.Response.parseOrThrow(_response.body, {
|
|
842
838
|
unrecognizedObjectKeys: "passthrough",
|
|
843
839
|
allowUnrecognizedUnionMembers: true,
|
|
844
840
|
allowUnrecognizedEnumValues: true,
|
|
@@ -859,7 +855,7 @@ class BridgeApi {
|
|
|
859
855
|
body: _response.error.rawBody,
|
|
860
856
|
});
|
|
861
857
|
case "timeout":
|
|
862
|
-
throw new errors.TheraApiTimeoutError();
|
|
858
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /bridge/{customerId}/external-accounts.");
|
|
863
859
|
case "unknown":
|
|
864
860
|
throw new errors.TheraApiError({
|
|
865
861
|
message: _response.error.errorMessage,
|
|
@@ -882,19 +878,14 @@ class BridgeApi {
|
|
|
882
878
|
*/
|
|
883
879
|
updateExternalAccount(accountId, request, requestOptions) {
|
|
884
880
|
return __awaiter(this, void 0, void 0, function* () {
|
|
881
|
+
var _a;
|
|
885
882
|
const _response = yield core.fetcher({
|
|
886
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `/bridge/external-accounts/${encodeURIComponent(accountId)}`),
|
|
883
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/external-accounts/${encodeURIComponent(accountId)}`),
|
|
887
884
|
method: "PUT",
|
|
888
|
-
headers: {
|
|
889
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
890
|
-
"X-Fern-Language": "JavaScript",
|
|
891
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
892
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
893
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
894
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
895
|
-
},
|
|
885
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
896
886
|
contentType: "application/json",
|
|
897
|
-
|
|
887
|
+
requestType: "json",
|
|
888
|
+
body: serializers.api.thera.bridge.UpdateExternalAccountRequest.jsonOrThrow(request, {
|
|
898
889
|
unrecognizedObjectKeys: "strip",
|
|
899
890
|
}),
|
|
900
891
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -902,7 +893,7 @@ class BridgeApi {
|
|
|
902
893
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
903
894
|
});
|
|
904
895
|
if (_response.ok) {
|
|
905
|
-
return
|
|
896
|
+
return serializers.api.thera.bridge.UpdateExternalAccountResponse.parseOrThrow(_response.body, {
|
|
906
897
|
unrecognizedObjectKeys: "passthrough",
|
|
907
898
|
allowUnrecognizedUnionMembers: true,
|
|
908
899
|
allowUnrecognizedEnumValues: true,
|
|
@@ -923,7 +914,7 @@ class BridgeApi {
|
|
|
923
914
|
body: _response.error.rawBody,
|
|
924
915
|
});
|
|
925
916
|
case "timeout":
|
|
926
|
-
throw new errors.TheraApiTimeoutError();
|
|
917
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling PUT /bridge/external-accounts/{accountId}.");
|
|
927
918
|
case "unknown":
|
|
928
919
|
throw new errors.TheraApiError({
|
|
929
920
|
message: _response.error.errorMessage,
|
|
@@ -942,18 +933,13 @@ class BridgeApi {
|
|
|
942
933
|
*/
|
|
943
934
|
unlinkExternalAccount(accountId, requestOptions) {
|
|
944
935
|
return __awaiter(this, void 0, void 0, function* () {
|
|
936
|
+
var _a;
|
|
945
937
|
const _response = yield core.fetcher({
|
|
946
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `/bridge/external-accounts/${encodeURIComponent(accountId)}`),
|
|
938
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/external-accounts/${encodeURIComponent(accountId)}`),
|
|
947
939
|
method: "DELETE",
|
|
948
|
-
headers: {
|
|
949
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
950
|
-
"X-Fern-Language": "JavaScript",
|
|
951
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
952
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
953
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
954
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
955
|
-
},
|
|
940
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
956
941
|
contentType: "application/json",
|
|
942
|
+
requestType: "json",
|
|
957
943
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
958
944
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
959
945
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -974,7 +960,7 @@ class BridgeApi {
|
|
|
974
960
|
body: _response.error.rawBody,
|
|
975
961
|
});
|
|
976
962
|
case "timeout":
|
|
977
|
-
throw new errors.TheraApiTimeoutError();
|
|
963
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling DELETE /bridge/external-accounts/{accountId}.");
|
|
978
964
|
case "unknown":
|
|
979
965
|
throw new errors.TheraApiError({
|
|
980
966
|
message: _response.error.errorMessage,
|
|
@@ -993,18 +979,13 @@ class BridgeApi {
|
|
|
993
979
|
*/
|
|
994
980
|
reactivateExternalAccount(accountId, requestOptions) {
|
|
995
981
|
return __awaiter(this, void 0, void 0, function* () {
|
|
982
|
+
var _a;
|
|
996
983
|
const _response = yield core.fetcher({
|
|
997
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `/bridge/external-accounts/${encodeURIComponent(accountId)}/reactivate`),
|
|
984
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/external-accounts/${encodeURIComponent(accountId)}/reactivate`),
|
|
998
985
|
method: "POST",
|
|
999
|
-
headers: {
|
|
1000
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
1001
|
-
"X-Fern-Language": "JavaScript",
|
|
1002
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1003
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
1004
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1005
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1006
|
-
},
|
|
986
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1007
987
|
contentType: "application/json",
|
|
988
|
+
requestType: "json",
|
|
1008
989
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1009
990
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1010
991
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1025,7 +1006,7 @@ class BridgeApi {
|
|
|
1025
1006
|
body: _response.error.rawBody,
|
|
1026
1007
|
});
|
|
1027
1008
|
case "timeout":
|
|
1028
|
-
throw new errors.TheraApiTimeoutError();
|
|
1009
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling POST /bridge/external-accounts/{accountId}/reactivate.");
|
|
1029
1010
|
case "unknown":
|
|
1030
1011
|
throw new errors.TheraApiError({
|
|
1031
1012
|
message: _response.error.errorMessage,
|
|
@@ -1068,25 +1049,20 @@ class BridgeApi {
|
|
|
1068
1049
|
*/
|
|
1069
1050
|
createTransfer(request, requestOptions) {
|
|
1070
1051
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1052
|
+
var _a;
|
|
1071
1053
|
const _response = yield core.fetcher({
|
|
1072
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), "/bridge/transfers"),
|
|
1054
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/bridge/transfers"),
|
|
1073
1055
|
method: "POST",
|
|
1074
|
-
headers: {
|
|
1075
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
1076
|
-
"X-Fern-Language": "JavaScript",
|
|
1077
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1078
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
1079
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1080
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1081
|
-
},
|
|
1056
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1082
1057
|
contentType: "application/json",
|
|
1083
|
-
|
|
1058
|
+
requestType: "json",
|
|
1059
|
+
body: serializers.api.thera.bridge.Transfer.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
1084
1060
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1085
1061
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1086
1062
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1087
1063
|
});
|
|
1088
1064
|
if (_response.ok) {
|
|
1089
|
-
return
|
|
1065
|
+
return serializers.api.thera.bridge.TransferFundsResponse.parseOrThrow(_response.body, {
|
|
1090
1066
|
unrecognizedObjectKeys: "passthrough",
|
|
1091
1067
|
allowUnrecognizedUnionMembers: true,
|
|
1092
1068
|
allowUnrecognizedEnumValues: true,
|
|
@@ -1107,7 +1083,7 @@ class BridgeApi {
|
|
|
1107
1083
|
body: _response.error.rawBody,
|
|
1108
1084
|
});
|
|
1109
1085
|
case "timeout":
|
|
1110
|
-
throw new errors.TheraApiTimeoutError();
|
|
1086
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling POST /bridge/transfers.");
|
|
1111
1087
|
case "unknown":
|
|
1112
1088
|
throw new errors.TheraApiError({
|
|
1113
1089
|
message: _response.error.errorMessage,
|
|
@@ -1126,24 +1102,19 @@ class BridgeApi {
|
|
|
1126
1102
|
*/
|
|
1127
1103
|
getTransferDetails(transactionId, requestOptions) {
|
|
1128
1104
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1105
|
+
var _a;
|
|
1129
1106
|
const _response = yield core.fetcher({
|
|
1130
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `/bridge/transfers/${encodeURIComponent(transactionId)}`),
|
|
1107
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/transfers/${encodeURIComponent(transactionId)}`),
|
|
1131
1108
|
method: "GET",
|
|
1132
|
-
headers: {
|
|
1133
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
1134
|
-
"X-Fern-Language": "JavaScript",
|
|
1135
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1136
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
1137
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1138
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1139
|
-
},
|
|
1109
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1140
1110
|
contentType: "application/json",
|
|
1111
|
+
requestType: "json",
|
|
1141
1112
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1142
1113
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1143
1114
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1144
1115
|
});
|
|
1145
1116
|
if (_response.ok) {
|
|
1146
|
-
return
|
|
1117
|
+
return serializers.api.thera.bridge.TransferDetails.parseOrThrow(_response.body, {
|
|
1147
1118
|
unrecognizedObjectKeys: "passthrough",
|
|
1148
1119
|
allowUnrecognizedUnionMembers: true,
|
|
1149
1120
|
allowUnrecognizedEnumValues: true,
|
|
@@ -1164,7 +1135,7 @@ class BridgeApi {
|
|
|
1164
1135
|
body: _response.error.rawBody,
|
|
1165
1136
|
});
|
|
1166
1137
|
case "timeout":
|
|
1167
|
-
throw new errors.TheraApiTimeoutError();
|
|
1138
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /bridge/transfers/{transactionId}.");
|
|
1168
1139
|
case "unknown":
|
|
1169
1140
|
throw new errors.TheraApiError({
|
|
1170
1141
|
message: _response.error.errorMessage,
|
|
@@ -1183,24 +1154,175 @@ class BridgeApi {
|
|
|
1183
1154
|
*/
|
|
1184
1155
|
listTransfers(customerId, requestOptions) {
|
|
1185
1156
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1157
|
+
var _a;
|
|
1158
|
+
const _response = yield core.fetcher({
|
|
1159
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/${encodeURIComponent(customerId)}/transfers`),
|
|
1160
|
+
method: "GET",
|
|
1161
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1162
|
+
contentType: "application/json",
|
|
1163
|
+
requestType: "json",
|
|
1164
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1165
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1166
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1167
|
+
});
|
|
1168
|
+
if (_response.ok) {
|
|
1169
|
+
return serializers.api.thera.bridge.bridgeApi.listTransfers.Response.parseOrThrow(_response.body, {
|
|
1170
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1171
|
+
allowUnrecognizedUnionMembers: true,
|
|
1172
|
+
allowUnrecognizedEnumValues: true,
|
|
1173
|
+
skipValidation: true,
|
|
1174
|
+
breadcrumbsPrefix: ["response"],
|
|
1175
|
+
});
|
|
1176
|
+
}
|
|
1177
|
+
if (_response.error.reason === "status-code") {
|
|
1178
|
+
throw new errors.TheraApiError({
|
|
1179
|
+
statusCode: _response.error.statusCode,
|
|
1180
|
+
body: _response.error.body,
|
|
1181
|
+
});
|
|
1182
|
+
}
|
|
1183
|
+
switch (_response.error.reason) {
|
|
1184
|
+
case "non-json":
|
|
1185
|
+
throw new errors.TheraApiError({
|
|
1186
|
+
statusCode: _response.error.statusCode,
|
|
1187
|
+
body: _response.error.rawBody,
|
|
1188
|
+
});
|
|
1189
|
+
case "timeout":
|
|
1190
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /bridge/{customerId}/transfers.");
|
|
1191
|
+
case "unknown":
|
|
1192
|
+
throw new errors.TheraApiError({
|
|
1193
|
+
message: _response.error.errorMessage,
|
|
1194
|
+
});
|
|
1195
|
+
}
|
|
1196
|
+
});
|
|
1197
|
+
}
|
|
1198
|
+
/**
|
|
1199
|
+
* Creates a new virtual account for a customer.
|
|
1200
|
+
*
|
|
1201
|
+
* @param {string} userId
|
|
1202
|
+
* @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
1203
|
+
*
|
|
1204
|
+
* @example
|
|
1205
|
+
* await client.api.thera.bridge.bridgeApi.createVirtualAccount("string")
|
|
1206
|
+
*/
|
|
1207
|
+
createVirtualAccount(userId, requestOptions) {
|
|
1208
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1209
|
+
var _a;
|
|
1210
|
+
const _response = yield core.fetcher({
|
|
1211
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/users/${encodeURIComponent(userId)}/virtual-accounts`),
|
|
1212
|
+
method: "POST",
|
|
1213
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1214
|
+
contentType: "application/json",
|
|
1215
|
+
requestType: "json",
|
|
1216
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1217
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1218
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1219
|
+
});
|
|
1220
|
+
if (_response.ok) {
|
|
1221
|
+
return serializers.api.thera.bridge.VirtualAccount.parseOrThrow(_response.body, {
|
|
1222
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1223
|
+
allowUnrecognizedUnionMembers: true,
|
|
1224
|
+
allowUnrecognizedEnumValues: true,
|
|
1225
|
+
skipValidation: true,
|
|
1226
|
+
breadcrumbsPrefix: ["response"],
|
|
1227
|
+
});
|
|
1228
|
+
}
|
|
1229
|
+
if (_response.error.reason === "status-code") {
|
|
1230
|
+
throw new errors.TheraApiError({
|
|
1231
|
+
statusCode: _response.error.statusCode,
|
|
1232
|
+
body: _response.error.body,
|
|
1233
|
+
});
|
|
1234
|
+
}
|
|
1235
|
+
switch (_response.error.reason) {
|
|
1236
|
+
case "non-json":
|
|
1237
|
+
throw new errors.TheraApiError({
|
|
1238
|
+
statusCode: _response.error.statusCode,
|
|
1239
|
+
body: _response.error.rawBody,
|
|
1240
|
+
});
|
|
1241
|
+
case "timeout":
|
|
1242
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling POST /bridge/users/{userId}/virtual-accounts.");
|
|
1243
|
+
case "unknown":
|
|
1244
|
+
throw new errors.TheraApiError({
|
|
1245
|
+
message: _response.error.errorMessage,
|
|
1246
|
+
});
|
|
1247
|
+
}
|
|
1248
|
+
});
|
|
1249
|
+
}
|
|
1250
|
+
/**
|
|
1251
|
+
* Retrieves all virtual accounts associated with a customer.
|
|
1252
|
+
*
|
|
1253
|
+
* @param {string} userId
|
|
1254
|
+
* @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
1255
|
+
*
|
|
1256
|
+
* @example
|
|
1257
|
+
* await client.api.thera.bridge.bridgeApi.listVirtualAccounts("string")
|
|
1258
|
+
*/
|
|
1259
|
+
listVirtualAccounts(userId, requestOptions) {
|
|
1260
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1261
|
+
var _a;
|
|
1262
|
+
const _response = yield core.fetcher({
|
|
1263
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/users/${encodeURIComponent(userId)}/virtual-accounts`),
|
|
1264
|
+
method: "GET",
|
|
1265
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1266
|
+
contentType: "application/json",
|
|
1267
|
+
requestType: "json",
|
|
1268
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1269
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1270
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1271
|
+
});
|
|
1272
|
+
if (_response.ok) {
|
|
1273
|
+
return serializers.api.thera.bridge.VirtualAccount.parseOrThrow(_response.body, {
|
|
1274
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1275
|
+
allowUnrecognizedUnionMembers: true,
|
|
1276
|
+
allowUnrecognizedEnumValues: true,
|
|
1277
|
+
skipValidation: true,
|
|
1278
|
+
breadcrumbsPrefix: ["response"],
|
|
1279
|
+
});
|
|
1280
|
+
}
|
|
1281
|
+
if (_response.error.reason === "status-code") {
|
|
1282
|
+
throw new errors.TheraApiError({
|
|
1283
|
+
statusCode: _response.error.statusCode,
|
|
1284
|
+
body: _response.error.body,
|
|
1285
|
+
});
|
|
1286
|
+
}
|
|
1287
|
+
switch (_response.error.reason) {
|
|
1288
|
+
case "non-json":
|
|
1289
|
+
throw new errors.TheraApiError({
|
|
1290
|
+
statusCode: _response.error.statusCode,
|
|
1291
|
+
body: _response.error.rawBody,
|
|
1292
|
+
});
|
|
1293
|
+
case "timeout":
|
|
1294
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /bridge/users/{userId}/virtual-accounts.");
|
|
1295
|
+
case "unknown":
|
|
1296
|
+
throw new errors.TheraApiError({
|
|
1297
|
+
message: _response.error.errorMessage,
|
|
1298
|
+
});
|
|
1299
|
+
}
|
|
1300
|
+
});
|
|
1301
|
+
}
|
|
1302
|
+
/**
|
|
1303
|
+
* List all transactions of Virtual Accounts.
|
|
1304
|
+
*
|
|
1305
|
+
* @param {string} userId
|
|
1306
|
+
* @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
1307
|
+
*
|
|
1308
|
+
* @example
|
|
1309
|
+
* await client.api.thera.bridge.bridgeApi.listHistoryOfVirtualAccounts("string")
|
|
1310
|
+
*/
|
|
1311
|
+
listHistoryOfVirtualAccounts(userId, requestOptions) {
|
|
1312
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1313
|
+
var _a;
|
|
1186
1314
|
const _response = yield core.fetcher({
|
|
1187
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `/bridge/${encodeURIComponent(
|
|
1315
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/users/${encodeURIComponent(userId)}/virtual-accounts-history`),
|
|
1188
1316
|
method: "GET",
|
|
1189
|
-
headers: {
|
|
1190
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
1191
|
-
"X-Fern-Language": "JavaScript",
|
|
1192
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1193
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2813-staging",
|
|
1194
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1195
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1196
|
-
},
|
|
1317
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2857-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2857-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1197
1318
|
contentType: "application/json",
|
|
1319
|
+
requestType: "json",
|
|
1198
1320
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1199
1321
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1200
1322
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1201
1323
|
});
|
|
1202
1324
|
if (_response.ok) {
|
|
1203
|
-
return
|
|
1325
|
+
return serializers.api.thera.bridge.VirtualAccountHistoryResponse.parseOrThrow(_response.body, {
|
|
1204
1326
|
unrecognizedObjectKeys: "passthrough",
|
|
1205
1327
|
allowUnrecognizedUnionMembers: true,
|
|
1206
1328
|
allowUnrecognizedEnumValues: true,
|
|
@@ -1221,7 +1343,7 @@ class BridgeApi {
|
|
|
1221
1343
|
body: _response.error.rawBody,
|
|
1222
1344
|
});
|
|
1223
1345
|
case "timeout":
|
|
1224
|
-
throw new errors.TheraApiTimeoutError();
|
|
1346
|
+
throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /bridge/users/{userId}/virtual-accounts-history.");
|
|
1225
1347
|
case "unknown":
|
|
1226
1348
|
throw new errors.TheraApiError({
|
|
1227
1349
|
message: _response.error.errorMessage,
|