@thera-hr/api-sdk 0.0.2209 → 0.0.2233
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/api/client/Client.d.ts +0 -3
- package/api/resources/api/client/Client.js +6 -11
- package/api/resources/api/resources/index.d.ts +0 -1
- package/api/resources/api/resources/index.js +1 -2
- package/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
- package/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
- package/api/resources/api/resources/thera/client/Client.d.ts +0 -3
- package/api/resources/api/resources/thera/client/Client.js +0 -5
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +0 -6
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +10 -151
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerTransaction.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -4
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +1 -7
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +1 -7
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOnCycleInvoiceDetail.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.d.ts +2 -6
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +4 -50
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/types/{GetPayCycleResponse.d.ts → GetCurrentPayCycleResponse.d.ts} +1 -1
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/types/index.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/types/index.js +1 -1
- package/api/resources/api/resources/thera/resources/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/index.js +1 -2
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
- package/api/resources/db/resources/index.d.ts +0 -4
- package/api/resources/db/resources/index.js +1 -5
- package/api/resources/db/resources/user/types/EmployeeInformation.d.ts +0 -3
- package/api/resources/db/resources/user/types/index.d.ts +0 -5
- package/api/resources/db/resources/user/types/index.js +0 -5
- package/dist/api/resources/api/client/Client.d.ts +0 -3
- package/dist/api/resources/api/client/Client.js +6 -11
- package/dist/api/resources/api/resources/index.d.ts +0 -1
- package/dist/api/resources/api/resources/index.js +1 -2
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
- package/dist/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/client/Client.d.ts +0 -3
- package/dist/api/resources/api/resources/thera/client/Client.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +0 -6
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +10 -151
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerTransaction.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -4
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +1 -7
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +1 -7
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOnCycleInvoiceDetail.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.d.ts +2 -6
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +4 -50
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/types/{GetPayCycleResponse.d.ts → GetCurrentPayCycleResponse.d.ts} +1 -1
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/types/index.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/types/index.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/index.js +1 -2
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
- package/dist/api/resources/db/resources/index.d.ts +0 -4
- package/dist/api/resources/db/resources/index.js +1 -5
- package/dist/api/resources/db/resources/user/types/EmployeeInformation.d.ts +0 -3
- package/dist/api/resources/db/resources/user/types/index.d.ts +0 -5
- package/dist/api/resources/db/resources/user/types/index.js +0 -5
- package/dist/serialization/resources/api/resources/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/index.js +1 -2
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +0 -4
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerTransaction.d.ts +0 -2
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerTransaction.js +0 -2
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -4
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -4
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/index.js +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyPayFrequency.d.ts +10 -0
- package/{serialization/resources/db/resources/company → dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi}/types/CompanyPayFrequency.js +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +1 -7
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +1 -7
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOnCycleInvoiceDetail.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOnCycleInvoiceDetail.js +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/{GetPayCycleResponse.d.ts → GetCurrentPayCycleResponse.d.ts} +2 -2
- package/{serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/GetPayCycleResponse.js → dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/GetCurrentPayCycleResponse.js} +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/index.d.ts +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/index.js +1 -1
- package/dist/serialization/resources/db/resources/index.d.ts +0 -4
- package/dist/serialization/resources/db/resources/index.js +1 -5
- package/dist/serialization/resources/db/resources/user/types/EmployeeInformation.d.ts +0 -2
- package/dist/serialization/resources/db/resources/user/types/EmployeeInformation.js +0 -2
- package/dist/serialization/resources/db/resources/user/types/index.d.ts +0 -5
- package/dist/serialization/resources/db/resources/user/types/index.js +0 -5
- package/package.json +1 -1
- package/serialization/resources/api/resources/index.d.ts +0 -1
- package/serialization/resources/api/resources/index.js +1 -2
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +0 -4
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +0 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerTransaction.d.ts +0 -2
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerTransaction.js +0 -2
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -4
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -4
- package/serialization/resources/api/resources/thera/resources/bank/resources/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/index.js +0 -1
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyPayFrequency.d.ts +10 -0
- package/{dist/serialization/resources/db/resources/company → serialization/resources/api/resources/thera/resources/company/resources/companyApi}/types/CompanyPayFrequency.js +1 -1
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +1 -7
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +1 -7
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOnCycleInvoiceDetail.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOnCycleInvoiceDetail.js +0 -1
- package/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/{GetPayCycleResponse.d.ts → GetCurrentPayCycleResponse.d.ts} +2 -2
- package/{dist/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/GetPayCycleResponse.js → serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/GetCurrentPayCycleResponse.js} +2 -2
- package/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/index.d.ts +1 -1
- package/serialization/resources/api/resources/thera/resources/employment/resources/employmentApi/types/index.js +1 -1
- package/serialization/resources/db/resources/index.d.ts +0 -4
- package/serialization/resources/db/resources/index.js +1 -5
- package/serialization/resources/db/resources/user/types/EmployeeInformation.d.ts +0 -2
- package/serialization/resources/db/resources/user/types/EmployeeInformation.js +0 -2
- package/serialization/resources/db/resources/user/types/index.d.ts +0 -5
- package/serialization/resources/db/resources/user/types/index.js +0 -5
- package/api/resources/api/resources/aiprise/client/Client.d.ts +0 -17
- package/api/resources/api/resources/aiprise/client/Client.js +0 -17
- package/api/resources/api/resources/aiprise/client/index.d.ts +0 -1
- package/api/resources/api/resources/aiprise/client/index.js +0 -2
- package/api/resources/api/resources/aiprise/index.d.ts +0 -2
- package/api/resources/api/resources/aiprise/index.js +0 -18
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.d.ts +0 -20
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +0 -104
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/index.d.ts +0 -1
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/index.js +0 -2
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/index.d.ts +0 -2
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/index.js +0 -18
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationCallback.d.ts +0 -12
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationIdInfo.d.ts +0 -8
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationResultStatus.d.ts +0 -10
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationResultStatus.js +0 -12
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationSummary.d.ts +0 -7
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationSummary.js +0 -5
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/index.d.ts +0 -4
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/index.js +0 -20
- package/api/resources/api/resources/aiprise/resources/index.d.ts +0 -2
- package/api/resources/api/resources/aiprise/resources/index.js +0 -31
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/EditWithdrawalMethodRequest.d.ts +0 -7
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/EditWithdrawalMethodRequest.js +0 -5
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetCurrencyConversionRequest.d.ts +0 -8
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetCurrencyConversionRequest.js +0 -5
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/EditWithdrawalMethodResponse.d.ts +0 -5
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/EditWithdrawalMethodResponse.js +0 -5
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.d.ts +0 -7
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.js +0 -5
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWithdrawalMethodCurrenciesResponse.d.ts +0 -7
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWithdrawalMethodCurrenciesResponse.js +0 -5
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodCurrency.d.ts +0 -6
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodCurrency.js +0 -5
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.d.ts +0 -24
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.js +0 -5
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanySettings.d.ts +0 -6
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanySettings.js +0 -5
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +0 -15
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +0 -5
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Flags.d.ts +0 -7
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Flags.js +0 -5
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/PaymentMethodStatus.d.ts +0 -8
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/PaymentMethodStatus.js +0 -10
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/SubscriptionPricing.d.ts +0 -6
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/SubscriptionPricing.js +0 -5
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/W2Payroll.d.ts +0 -15
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/W2Payroll.js +0 -5
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/types/GetPayCycleResponse.js +0 -5
- package/api/resources/api/resources/thera/resources/user/client/Client.d.ts +0 -17
- package/api/resources/api/resources/thera/resources/user/client/Client.js +0 -17
- package/api/resources/api/resources/thera/resources/user/client/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/user/client/index.js +0 -2
- package/api/resources/api/resources/thera/resources/user/index.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/user/index.js +0 -18
- package/api/resources/api/resources/thera/resources/user/resources/index.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/user/resources/index.js +0 -31
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.d.ts +0 -20
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +0 -111
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/index.js +0 -17
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/requests/GetUserRequest.d.ts +0 -6
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/requests/GetUserRequest.js +0 -5
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/requests/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/requests/index.js +0 -2
- package/api/resources/api/resources/thera/resources/user/resources/userApi/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/user/resources/userApi/index.js +0 -17
- package/api/resources/db/resources/company/index.d.ts +0 -1
- package/api/resources/db/resources/company/index.js +0 -17
- package/api/resources/db/resources/company/types/FernCompany.d.ts +0 -8
- package/api/resources/db/resources/company/types/FernCompany.js +0 -5
- package/api/resources/db/resources/company/types/PayrollRun.d.ts +0 -10
- package/api/resources/db/resources/company/types/PayrollRun.js +0 -5
- package/api/resources/db/resources/company/types/W2Payroll.d.ts +0 -15
- package/api/resources/db/resources/company/types/W2Payroll.js +0 -5
- package/api/resources/db/resources/company/types/index.d.ts +0 -4
- package/api/resources/db/resources/company/types/index.js +0 -20
- package/api/resources/db/resources/generic/index.d.ts +0 -1
- package/api/resources/db/resources/generic/index.js +0 -17
- package/api/resources/db/resources/generic/types/GenericType.d.ts +0 -8
- package/api/resources/db/resources/generic/types/GenericType.js +0 -5
- package/api/resources/db/resources/generic/types/GenericTypeKey.d.ts +0 -7
- package/api/resources/db/resources/generic/types/GenericTypeKey.js +0 -9
- package/api/resources/db/resources/generic/types/index.d.ts +0 -2
- package/api/resources/db/resources/generic/types/index.js +0 -18
- package/api/resources/db/resources/user/types/AiPriseVerificationResult.d.ts +0 -8
- package/api/resources/db/resources/user/types/AiPriseVerificationResult.js +0 -5
- package/api/resources/db/resources/user/types/AiPriseVerificationStatus.d.ts +0 -10
- package/api/resources/db/resources/user/types/AiPriseVerificationStatus.js +0 -12
- package/api/resources/db/resources/user/types/KycDocument.d.ts +0 -11
- package/api/resources/db/resources/user/types/KycDocument.js +0 -5
- package/api/resources/db/resources/user/types/KycDocumentFile.d.ts +0 -8
- package/api/resources/db/resources/user/types/KycDocumentFile.js +0 -5
- package/api/resources/db/resources/user/types/KycDocumentType.d.ts +0 -11
- package/api/resources/db/resources/user/types/KycDocumentType.js +0 -13
- package/dist/api/resources/api/resources/aiprise/client/Client.d.ts +0 -17
- package/dist/api/resources/api/resources/aiprise/client/Client.js +0 -17
- package/dist/api/resources/api/resources/aiprise/client/index.d.ts +0 -1
- package/dist/api/resources/api/resources/aiprise/client/index.js +0 -2
- package/dist/api/resources/api/resources/aiprise/index.d.ts +0 -2
- package/dist/api/resources/api/resources/aiprise/index.js +0 -18
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.d.ts +0 -20
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +0 -104
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/index.d.ts +0 -1
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/index.js +0 -2
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/index.d.ts +0 -2
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/index.js +0 -18
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationCallback.d.ts +0 -12
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationCallback.js +0 -5
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationIdInfo.d.ts +0 -8
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationIdInfo.js +0 -5
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationResultStatus.d.ts +0 -10
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationResultStatus.js +0 -12
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationSummary.d.ts +0 -7
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationSummary.js +0 -5
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/index.d.ts +0 -4
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/index.js +0 -20
- package/dist/api/resources/api/resources/aiprise/resources/index.d.ts +0 -2
- package/dist/api/resources/api/resources/aiprise/resources/index.js +0 -31
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/EditWithdrawalMethodRequest.d.ts +0 -7
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/EditWithdrawalMethodRequest.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetCurrencyConversionRequest.d.ts +0 -8
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetCurrencyConversionRequest.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/EditWithdrawalMethodResponse.d.ts +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/EditWithdrawalMethodResponse.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.d.ts +0 -7
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWithdrawalMethodCurrenciesResponse.d.ts +0 -7
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWithdrawalMethodCurrenciesResponse.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodCurrency.d.ts +0 -6
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodCurrency.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.d.ts +0 -24
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanySettings.d.ts +0 -6
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanySettings.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +0 -15
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Flags.d.ts +0 -7
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Flags.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/PaymentMethodStatus.d.ts +0 -8
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/PaymentMethodStatus.js +0 -10
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/SubscriptionPricing.d.ts +0 -6
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/SubscriptionPricing.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/W2Payroll.d.ts +0 -15
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/W2Payroll.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/types/GetPayCycleResponse.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/user/client/Client.d.ts +0 -17
- package/dist/api/resources/api/resources/thera/resources/user/client/Client.js +0 -17
- package/dist/api/resources/api/resources/thera/resources/user/client/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/user/client/index.js +0 -2
- package/dist/api/resources/api/resources/thera/resources/user/index.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/user/index.js +0 -18
- package/dist/api/resources/api/resources/thera/resources/user/resources/index.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/user/resources/index.js +0 -31
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.d.ts +0 -20
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +0 -111
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/index.js +0 -17
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/requests/GetUserRequest.d.ts +0 -6
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/requests/GetUserRequest.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/requests/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/requests/index.js +0 -2
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/index.js +0 -17
- package/dist/api/resources/db/resources/company/index.d.ts +0 -1
- package/dist/api/resources/db/resources/company/index.js +0 -17
- package/dist/api/resources/db/resources/company/types/FernCompany.d.ts +0 -8
- package/dist/api/resources/db/resources/company/types/FernCompany.js +0 -5
- package/dist/api/resources/db/resources/company/types/PayrollRun.d.ts +0 -10
- package/dist/api/resources/db/resources/company/types/PayrollRun.js +0 -5
- package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +0 -15
- package/dist/api/resources/db/resources/company/types/W2Payroll.js +0 -5
- package/dist/api/resources/db/resources/company/types/index.d.ts +0 -4
- package/dist/api/resources/db/resources/company/types/index.js +0 -20
- package/dist/api/resources/db/resources/generic/index.d.ts +0 -1
- package/dist/api/resources/db/resources/generic/index.js +0 -17
- package/dist/api/resources/db/resources/generic/types/GenericType.d.ts +0 -8
- package/dist/api/resources/db/resources/generic/types/GenericType.js +0 -5
- package/dist/api/resources/db/resources/generic/types/GenericTypeKey.d.ts +0 -7
- package/dist/api/resources/db/resources/generic/types/GenericTypeKey.js +0 -9
- package/dist/api/resources/db/resources/generic/types/index.d.ts +0 -2
- package/dist/api/resources/db/resources/generic/types/index.js +0 -18
- package/dist/api/resources/db/resources/user/types/AiPriseVerificationResult.d.ts +0 -8
- package/dist/api/resources/db/resources/user/types/AiPriseVerificationResult.js +0 -5
- package/dist/api/resources/db/resources/user/types/AiPriseVerificationStatus.d.ts +0 -10
- package/dist/api/resources/db/resources/user/types/AiPriseVerificationStatus.js +0 -12
- package/dist/api/resources/db/resources/user/types/KycDocument.d.ts +0 -11
- package/dist/api/resources/db/resources/user/types/KycDocument.js +0 -5
- package/dist/api/resources/db/resources/user/types/KycDocumentFile.d.ts +0 -8
- package/dist/api/resources/db/resources/user/types/KycDocumentFile.js +0 -5
- package/dist/api/resources/db/resources/user/types/KycDocumentType.d.ts +0 -11
- package/dist/api/resources/db/resources/user/types/KycDocumentType.js +0 -13
- package/dist/serialization/resources/api/resources/aiprise/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/aiprise/index.js +0 -17
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/index.js +0 -17
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationCallback.d.ts +0 -16
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationCallback.js +0 -46
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationIdInfo.d.ts +0 -14
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationIdInfo.js +0 -35
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationResultStatus.d.ts +0 -10
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationResultStatus.js +0 -31
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationSummary.d.ts +0 -12
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationSummary.js +0 -42
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/index.d.ts +0 -4
- package/dist/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/index.js +0 -20
- package/dist/serialization/resources/api/resources/aiprise/resources/index.d.ts +0 -2
- package/dist/serialization/resources/api/resources/aiprise/resources/index.js +0 -31
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/EditWithdrawalMethodRequest.d.ts +0 -12
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/EditWithdrawalMethodRequest.js +0 -33
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.js +0 -5
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EditWithdrawalMethodResponse.d.ts +0 -11
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EditWithdrawalMethodResponse.js +0 -31
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.d.ts +0 -13
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.js +0 -34
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWithdrawalMethodCurrenciesResponse.d.ts +0 -12
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWithdrawalMethodCurrenciesResponse.js +0 -42
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodCurrency.d.ts +0 -12
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodCurrency.js +0 -33
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.d.ts +0 -29
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.js +0 -59
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanySettings.d.ts +0 -12
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanySettings.js +0 -33
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +0 -20
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +0 -50
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Flags.d.ts +0 -13
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Flags.js +0 -34
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/PaymentMethodStatus.d.ts +0 -10
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/PaymentMethodStatus.js +0 -31
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/SubscriptionPricing.d.ts +0 -12
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/SubscriptionPricing.js +0 -33
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/W2Payroll.d.ts +0 -20
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/W2Payroll.js +0 -50
- package/dist/serialization/resources/db/resources/company/index.d.ts +0 -1
- package/dist/serialization/resources/db/resources/company/index.js +0 -17
- package/dist/serialization/resources/db/resources/company/types/CompanyPayFrequency.d.ts +0 -10
- package/dist/serialization/resources/db/resources/company/types/FernCompany.d.ts +0 -13
- package/dist/serialization/resources/db/resources/company/types/FernCompany.js +0 -43
- package/dist/serialization/resources/db/resources/company/types/PayrollRun.d.ts +0 -16
- package/dist/serialization/resources/db/resources/company/types/PayrollRun.js +0 -37
- package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +0 -20
- package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +0 -50
- package/dist/serialization/resources/db/resources/company/types/index.d.ts +0 -4
- package/dist/serialization/resources/db/resources/company/types/index.js +0 -20
- package/dist/serialization/resources/db/resources/generic/index.d.ts +0 -1
- package/dist/serialization/resources/db/resources/generic/index.js +0 -17
- package/dist/serialization/resources/db/resources/generic/types/GenericType.d.ts +0 -13
- package/dist/serialization/resources/db/resources/generic/types/GenericType.js +0 -43
- package/dist/serialization/resources/db/resources/generic/types/GenericTypeKey.d.ts +0 -10
- package/dist/serialization/resources/db/resources/generic/types/GenericTypeKey.js +0 -31
- package/dist/serialization/resources/db/resources/generic/types/index.d.ts +0 -2
- package/dist/serialization/resources/db/resources/generic/types/index.js +0 -18
- package/dist/serialization/resources/db/resources/user/types/AiPriseVerificationResult.d.ts +0 -13
- package/dist/serialization/resources/db/resources/user/types/AiPriseVerificationResult.js +0 -43
- package/dist/serialization/resources/db/resources/user/types/AiPriseVerificationStatus.d.ts +0 -10
- package/dist/serialization/resources/db/resources/user/types/AiPriseVerificationStatus.js +0 -31
- package/dist/serialization/resources/db/resources/user/types/KycDocument.d.ts +0 -15
- package/dist/serialization/resources/db/resources/user/types/KycDocument.js +0 -45
- package/dist/serialization/resources/db/resources/user/types/KycDocumentFile.d.ts +0 -14
- package/dist/serialization/resources/db/resources/user/types/KycDocumentFile.js +0 -35
- package/dist/serialization/resources/db/resources/user/types/KycDocumentType.d.ts +0 -10
- package/dist/serialization/resources/db/resources/user/types/KycDocumentType.js +0 -31
- package/serialization/resources/api/resources/aiprise/index.d.ts +0 -1
- package/serialization/resources/api/resources/aiprise/index.js +0 -17
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/index.d.ts +0 -1
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/index.js +0 -17
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationCallback.d.ts +0 -16
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationCallback.js +0 -46
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationIdInfo.d.ts +0 -14
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationIdInfo.js +0 -35
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationResultStatus.d.ts +0 -10
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationResultStatus.js +0 -31
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationSummary.d.ts +0 -12
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationSummary.js +0 -42
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/index.d.ts +0 -4
- package/serialization/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/index.js +0 -20
- package/serialization/resources/api/resources/aiprise/resources/index.d.ts +0 -2
- package/serialization/resources/api/resources/aiprise/resources/index.js +0 -31
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/EditWithdrawalMethodRequest.d.ts +0 -12
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/EditWithdrawalMethodRequest.js +0 -33
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.js +0 -5
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EditWithdrawalMethodResponse.d.ts +0 -11
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EditWithdrawalMethodResponse.js +0 -31
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.d.ts +0 -13
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.js +0 -34
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWithdrawalMethodCurrenciesResponse.d.ts +0 -12
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWithdrawalMethodCurrenciesResponse.js +0 -42
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodCurrency.d.ts +0 -12
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodCurrency.js +0 -33
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.d.ts +0 -29
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.js +0 -59
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanySettings.d.ts +0 -12
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanySettings.js +0 -33
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +0 -20
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +0 -50
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Flags.d.ts +0 -13
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Flags.js +0 -34
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/PaymentMethodStatus.d.ts +0 -10
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/PaymentMethodStatus.js +0 -31
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/SubscriptionPricing.d.ts +0 -12
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/SubscriptionPricing.js +0 -33
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/W2Payroll.d.ts +0 -20
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/W2Payroll.js +0 -50
- package/serialization/resources/db/resources/company/index.d.ts +0 -1
- package/serialization/resources/db/resources/company/index.js +0 -17
- package/serialization/resources/db/resources/company/types/CompanyPayFrequency.d.ts +0 -10
- package/serialization/resources/db/resources/company/types/FernCompany.d.ts +0 -13
- package/serialization/resources/db/resources/company/types/FernCompany.js +0 -43
- package/serialization/resources/db/resources/company/types/PayrollRun.d.ts +0 -16
- package/serialization/resources/db/resources/company/types/PayrollRun.js +0 -37
- package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +0 -20
- package/serialization/resources/db/resources/company/types/W2Payroll.js +0 -50
- package/serialization/resources/db/resources/company/types/index.d.ts +0 -4
- package/serialization/resources/db/resources/company/types/index.js +0 -20
- package/serialization/resources/db/resources/generic/index.d.ts +0 -1
- package/serialization/resources/db/resources/generic/index.js +0 -17
- package/serialization/resources/db/resources/generic/types/GenericType.d.ts +0 -13
- package/serialization/resources/db/resources/generic/types/GenericType.js +0 -43
- package/serialization/resources/db/resources/generic/types/GenericTypeKey.d.ts +0 -10
- package/serialization/resources/db/resources/generic/types/GenericTypeKey.js +0 -31
- package/serialization/resources/db/resources/generic/types/index.d.ts +0 -2
- package/serialization/resources/db/resources/generic/types/index.js +0 -18
- package/serialization/resources/db/resources/user/types/AiPriseVerificationResult.d.ts +0 -13
- package/serialization/resources/db/resources/user/types/AiPriseVerificationResult.js +0 -43
- package/serialization/resources/db/resources/user/types/AiPriseVerificationStatus.d.ts +0 -10
- package/serialization/resources/db/resources/user/types/AiPriseVerificationStatus.js +0 -31
- package/serialization/resources/db/resources/user/types/KycDocument.d.ts +0 -15
- package/serialization/resources/db/resources/user/types/KycDocument.js +0 -45
- package/serialization/resources/db/resources/user/types/KycDocumentFile.d.ts +0 -14
- package/serialization/resources/db/resources/user/types/KycDocumentFile.js +0 -35
- package/serialization/resources/db/resources/user/types/KycDocumentType.d.ts +0 -10
- package/serialization/resources/db/resources/user/types/KycDocumentType.js +0 -31
- /package/api/resources/{db/resources/company → api/resources/thera/resources/company/resources/companyApi}/types/CompanyPayFrequency.d.ts +0 -0
- /package/api/resources/{db/resources/company → api/resources/thera/resources/company/resources/companyApi}/types/CompanyPayFrequency.js +0 -0
- /package/api/resources/api/resources/{aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationCallback.js → thera/resources/employment/resources/employmentApi/types/GetCurrentPayCycleResponse.js} +0 -0
- /package/dist/api/resources/{db/resources/company → api/resources/thera/resources/company/resources/companyApi}/types/CompanyPayFrequency.d.ts +0 -0
- /package/dist/api/resources/{db/resources/company → api/resources/thera/resources/company/resources/companyApi}/types/CompanyPayFrequency.js +0 -0
- /package/{api/resources/api/resources/aiprise/resources/aipriseWebhookApi/types/AiPriseVerificationIdInfo.js → dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/types/GetCurrentPayCycleResponse.js} +0 -0
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as core from "../../../../core";
|
|
5
|
-
import { Aiprise } from "../resources/aiprise/client/Client";
|
|
6
5
|
import { Services } from "../resources/services/client/Client";
|
|
7
6
|
import { Test } from "../resources/test/client/Client";
|
|
8
7
|
import { Thera } from "../resources/thera/client/Client";
|
|
@@ -15,8 +14,6 @@ export declare namespace Api {
|
|
|
15
14
|
export declare class Api {
|
|
16
15
|
protected readonly _options: Api.Options;
|
|
17
16
|
constructor(_options: Api.Options);
|
|
18
|
-
protected _aiprise: Aiprise | undefined;
|
|
19
|
-
get aiprise(): Aiprise;
|
|
20
17
|
protected _services: Services | undefined;
|
|
21
18
|
get services(): Services;
|
|
22
19
|
protected _test: Test | undefined;
|
|
@@ -4,29 +4,24 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Api = void 0;
|
|
7
|
-
const Client_1 = require("../resources/
|
|
8
|
-
const Client_2 = require("../resources/
|
|
9
|
-
const Client_3 = require("../resources/
|
|
10
|
-
const Client_4 = require("../resources/thera/client/Client");
|
|
7
|
+
const Client_1 = require("../resources/services/client/Client");
|
|
8
|
+
const Client_2 = require("../resources/test/client/Client");
|
|
9
|
+
const Client_3 = require("../resources/thera/client/Client");
|
|
11
10
|
class Api {
|
|
12
11
|
constructor(_options) {
|
|
13
12
|
this._options = _options;
|
|
14
13
|
}
|
|
15
|
-
get aiprise() {
|
|
16
|
-
var _a;
|
|
17
|
-
return ((_a = this._aiprise) !== null && _a !== void 0 ? _a : (this._aiprise = new Client_1.Aiprise(this._options)));
|
|
18
|
-
}
|
|
19
14
|
get services() {
|
|
20
15
|
var _a;
|
|
21
|
-
return ((_a = this._services) !== null && _a !== void 0 ? _a : (this._services = new
|
|
16
|
+
return ((_a = this._services) !== null && _a !== void 0 ? _a : (this._services = new Client_1.Services(this._options)));
|
|
22
17
|
}
|
|
23
18
|
get test() {
|
|
24
19
|
var _a;
|
|
25
|
-
return ((_a = this._test) !== null && _a !== void 0 ? _a : (this._test = new
|
|
20
|
+
return ((_a = this._test) !== null && _a !== void 0 ? _a : (this._test = new Client_2.Test(this._options)));
|
|
26
21
|
}
|
|
27
22
|
get thera() {
|
|
28
23
|
var _a;
|
|
29
|
-
return ((_a = this._thera) !== null && _a !== void 0 ? _a : (this._thera = new
|
|
24
|
+
return ((_a = this._thera) !== null && _a !== void 0 ? _a : (this._thera = new Client_3.Thera(this._options)));
|
|
30
25
|
}
|
|
31
26
|
}
|
|
32
27
|
exports.Api = Api;
|
|
@@ -23,8 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.zeal = exports.thera = exports.test = exports.services = exports.response = exports.request =
|
|
27
|
-
exports.aiprise = __importStar(require("./aiprise"));
|
|
26
|
+
exports.zeal = exports.thera = exports.test = exports.services = exports.response = exports.request = void 0;
|
|
28
27
|
exports.request = __importStar(require("./request"));
|
|
29
28
|
exports.response = __importStar(require("./response"));
|
|
30
29
|
exports.services = __importStar(require("./services"));
|
|
@@ -56,7 +56,7 @@ class File_ {
|
|
|
56
56
|
Authorization: yield this._getAuthorizationHeader(),
|
|
57
57
|
"X-Fern-Language": "JavaScript",
|
|
58
58
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
59
|
-
"X-Fern-SDK-Version": "0.0.
|
|
59
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
60
60
|
},
|
|
61
61
|
contentType: "application/json",
|
|
62
62
|
body: yield serializers.api.services.AttachDocumentToEmploymentRequest.jsonOrThrow(request, {
|
|
@@ -97,7 +97,7 @@ class File_ {
|
|
|
97
97
|
Authorization: yield this._getAuthorizationHeader(),
|
|
98
98
|
"X-Fern-Language": "JavaScript",
|
|
99
99
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
100
|
-
"X-Fern-SDK-Version": "0.0.
|
|
100
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
101
101
|
},
|
|
102
102
|
contentType: "application/json",
|
|
103
103
|
body: yield serializers.api.services.DeleteDocumentFromEmploymentRequest.jsonOrThrow(request, {
|
|
@@ -138,7 +138,7 @@ class File_ {
|
|
|
138
138
|
Authorization: yield this._getAuthorizationHeader(),
|
|
139
139
|
"X-Fern-Language": "JavaScript",
|
|
140
140
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
141
|
-
"X-Fern-SDK-Version": "0.0.
|
|
141
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
142
142
|
},
|
|
143
143
|
contentType: "application/json",
|
|
144
144
|
timeoutMs: 60000,
|
|
@@ -181,7 +181,7 @@ class File_ {
|
|
|
181
181
|
Authorization: yield this._getAuthorizationHeader(),
|
|
182
182
|
"X-Fern-Language": "JavaScript",
|
|
183
183
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
184
|
-
"X-Fern-SDK-Version": "0.0.
|
|
184
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
185
185
|
},
|
|
186
186
|
contentType: "application/json",
|
|
187
187
|
timeoutMs: 60000,
|
|
@@ -56,7 +56,7 @@ class Invoices {
|
|
|
56
56
|
Authorization: yield this._getAuthorizationHeader(),
|
|
57
57
|
"X-Fern-Language": "JavaScript",
|
|
58
58
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
59
|
-
"X-Fern-SDK-Version": "0.0.
|
|
59
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
60
60
|
},
|
|
61
61
|
contentType: "application/json",
|
|
62
62
|
body: yield serializers.api.test.VoidInvoiceRequest.jsonOrThrow(request, {
|
|
@@ -7,7 +7,6 @@ import { Company } from "../resources/company/client/Client";
|
|
|
7
7
|
import { Disbursement } from "../resources/disbursement/client/Client";
|
|
8
8
|
import { Employment } from "../resources/employment/client/Client";
|
|
9
9
|
import { Payroll } from "../resources/payroll/client/Client";
|
|
10
|
-
import { User } from "../resources/user/client/Client";
|
|
11
10
|
export declare namespace Thera {
|
|
12
11
|
interface Options {
|
|
13
12
|
environment: core.Supplier<string>;
|
|
@@ -27,6 +26,4 @@ export declare class Thera {
|
|
|
27
26
|
get employment(): Employment;
|
|
28
27
|
protected _payroll: Payroll | undefined;
|
|
29
28
|
get payroll(): Payroll;
|
|
30
|
-
protected _user: User | undefined;
|
|
31
|
-
get user(): User;
|
|
32
29
|
}
|
|
@@ -9,7 +9,6 @@ const Client_2 = require("../resources/company/client/Client");
|
|
|
9
9
|
const Client_3 = require("../resources/disbursement/client/Client");
|
|
10
10
|
const Client_4 = require("../resources/employment/client/Client");
|
|
11
11
|
const Client_5 = require("../resources/payroll/client/Client");
|
|
12
|
-
const Client_6 = require("../resources/user/client/Client");
|
|
13
12
|
class Thera {
|
|
14
13
|
constructor(_options) {
|
|
15
14
|
this._options = _options;
|
|
@@ -34,9 +33,5 @@ class Thera {
|
|
|
34
33
|
var _a;
|
|
35
34
|
return ((_a = this._payroll) !== null && _a !== void 0 ? _a : (this._payroll = new Client_5.Payroll(this._options)));
|
|
36
35
|
}
|
|
37
|
-
get user() {
|
|
38
|
-
var _a;
|
|
39
|
-
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_6.User(this._options)));
|
|
40
|
-
}
|
|
41
36
|
}
|
|
42
37
|
exports.Thera = Thera;
|
package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts
CHANGED
|
@@ -28,10 +28,6 @@ export declare class BankApi {
|
|
|
28
28
|
* Verify Microdeposit for company's bank account during W2 onboarding for Zeal API
|
|
29
29
|
*/
|
|
30
30
|
verifyMicrodeposit(request: TheraApi.api.thera.bank.VerifyMicrodepositRequest): Promise<void>;
|
|
31
|
-
/**
|
|
32
|
-
* Get the Supported Currencies for Each Withdrawal Method
|
|
33
|
-
*/
|
|
34
|
-
getWithdrawalMethodCurrencies(): Promise<TheraApi.api.thera.bank.GetWithdrawalMethodCurrenciesResponse>;
|
|
35
31
|
/**
|
|
36
32
|
* This endpoint should be used to dynamically create a form that allows a worker to enter their withdrawal method information. The user should initially be prompted to provide their `currency`. FE should then pass this with user's address that we've already saved in their `employeeInformation` for `recipientAddress`, and the user's first name and last name for `accountHolderName`. A response will be returned a list of `type`s that the user should select from, then provide the corresponding `details` for in the form. This is the same response returned by [this endpoint] (https://docs.wise.com/api-docs/api-reference/recipient#account-requirements) in Wise. These `details` should continue to be posted to this endpoint whenever a field with `refreshRequirementsOnChange = true` is changed to get the most up to date requirements, just like the Wise endpoint.
|
|
37
33
|
*/
|
|
@@ -41,10 +37,8 @@ export declare class BankApi {
|
|
|
41
37
|
*/
|
|
42
38
|
saveWithdrawalMethod(userId: string, request: TheraApi.api.thera.bank.WithdrawalMethodsRequest): Promise<TheraApi.api.thera.bank.SaveWithdrawalMethodResponse>;
|
|
43
39
|
deleteWithdrawalMethod(userId: string, withdrawalMethodId: string): Promise<TheraApi.api.thera.bank.DeleteWithdrawalMethodResponse>;
|
|
44
|
-
editWithdrawalMethod(userId: string, withdrawalMethodId: string, request: TheraApi.api.thera.bank.EditWithdrawalMethodRequest): Promise<TheraApi.api.thera.bank.EditWithdrawalMethodResponse>;
|
|
45
40
|
initiateWorkerWithdrawal(userId: string, companyId: string, request: TheraApi.api.thera.bank.InitiateWorkerWithdrawalRequest): Promise<TheraApi.api.thera.bank.InitiateWorkerWithdrawalResponse>;
|
|
46
41
|
getWorkerBalance(userId: string, companyId: string): Promise<TheraApi.api.thera.bank.GetWorkerBalancesResponse>;
|
|
47
42
|
getWorkerTransactions(userId: string, companyId: string): Promise<TheraApi.api.thera.bank.GetWorkerTransactionsResponse>;
|
|
48
|
-
getCurrencyConversion(request: TheraApi.api.thera.bank.GetCurrencyConversionRequest): Promise<TheraApi.api.thera.bank.GetCurrencyConversionResponse>;
|
|
49
43
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
50
44
|
}
|
|
@@ -65,7 +65,7 @@ class BankApi {
|
|
|
65
65
|
Authorization: yield this._getAuthorizationHeader(),
|
|
66
66
|
"X-Fern-Language": "JavaScript",
|
|
67
67
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
68
|
-
"X-Fern-SDK-Version": "0.0.
|
|
68
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
69
69
|
},
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
queryParameters: _queryParams,
|
|
@@ -112,7 +112,7 @@ class BankApi {
|
|
|
112
112
|
Authorization: yield this._getAuthorizationHeader(),
|
|
113
113
|
"X-Fern-Language": "JavaScript",
|
|
114
114
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
115
|
-
"X-Fern-SDK-Version": "0.0.
|
|
115
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
116
116
|
},
|
|
117
117
|
contentType: "application/json",
|
|
118
118
|
body: yield serializers.api.thera.bank.VerifyAccountSignupRequest.jsonOrThrow(request, {
|
|
@@ -156,7 +156,7 @@ class BankApi {
|
|
|
156
156
|
Authorization: yield this._getAuthorizationHeader(),
|
|
157
157
|
"X-Fern-Language": "JavaScript",
|
|
158
158
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
159
|
-
"X-Fern-SDK-Version": "0.0.
|
|
159
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
160
160
|
},
|
|
161
161
|
contentType: "application/json",
|
|
162
162
|
timeoutMs: 60000,
|
|
@@ -197,7 +197,7 @@ class BankApi {
|
|
|
197
197
|
Authorization: yield this._getAuthorizationHeader(),
|
|
198
198
|
"X-Fern-Language": "JavaScript",
|
|
199
199
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
200
|
-
"X-Fern-SDK-Version": "0.0.
|
|
200
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
201
201
|
},
|
|
202
202
|
contentType: "application/json",
|
|
203
203
|
body: yield serializers.api.thera.bank.VerifyMicrodepositRequest.jsonOrThrow(request, {
|
|
@@ -229,52 +229,6 @@ class BankApi {
|
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
}
|
|
232
|
-
/**
|
|
233
|
-
* Get the Supported Currencies for Each Withdrawal Method
|
|
234
|
-
*/
|
|
235
|
-
getWithdrawalMethodCurrencies() {
|
|
236
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
237
|
-
const _response = yield core.fetcher({
|
|
238
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), "worker/supported-withdrawal-method-currencies"),
|
|
239
|
-
method: "GET",
|
|
240
|
-
headers: {
|
|
241
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
242
|
-
"X-Fern-Language": "JavaScript",
|
|
243
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
244
|
-
"X-Fern-SDK-Version": "0.0.2209",
|
|
245
|
-
},
|
|
246
|
-
contentType: "application/json",
|
|
247
|
-
timeoutMs: 60000,
|
|
248
|
-
});
|
|
249
|
-
if (_response.ok) {
|
|
250
|
-
return yield serializers.api.thera.bank.GetWithdrawalMethodCurrenciesResponse.parseOrThrow(_response.body, {
|
|
251
|
-
unrecognizedObjectKeys: "passthrough",
|
|
252
|
-
allowUnrecognizedUnionMembers: true,
|
|
253
|
-
allowUnrecognizedEnumValues: true,
|
|
254
|
-
breadcrumbsPrefix: ["response"],
|
|
255
|
-
});
|
|
256
|
-
}
|
|
257
|
-
if (_response.error.reason === "status-code") {
|
|
258
|
-
throw new errors.TheraApiError({
|
|
259
|
-
statusCode: _response.error.statusCode,
|
|
260
|
-
body: _response.error.body,
|
|
261
|
-
});
|
|
262
|
-
}
|
|
263
|
-
switch (_response.error.reason) {
|
|
264
|
-
case "non-json":
|
|
265
|
-
throw new errors.TheraApiError({
|
|
266
|
-
statusCode: _response.error.statusCode,
|
|
267
|
-
body: _response.error.rawBody,
|
|
268
|
-
});
|
|
269
|
-
case "timeout":
|
|
270
|
-
throw new errors.TheraApiTimeoutError();
|
|
271
|
-
case "unknown":
|
|
272
|
-
throw new errors.TheraApiError({
|
|
273
|
-
message: _response.error.errorMessage,
|
|
274
|
-
});
|
|
275
|
-
}
|
|
276
|
-
});
|
|
277
|
-
}
|
|
278
232
|
/**
|
|
279
233
|
* This endpoint should be used to dynamically create a form that allows a worker to enter their withdrawal method information. The user should initially be prompted to provide their `currency`. FE should then pass this with user's address that we've already saved in their `employeeInformation` for `recipientAddress`, and the user's first name and last name for `accountHolderName`. A response will be returned a list of `type`s that the user should select from, then provide the corresponding `details` for in the form. This is the same response returned by [this endpoint] (https://docs.wise.com/api-docs/api-reference/recipient#account-requirements) in Wise. These `details` should continue to be posted to this endpoint whenever a field with `refreshRequirementsOnChange = true` is changed to get the most up to date requirements, just like the Wise endpoint.
|
|
280
234
|
*/
|
|
@@ -287,7 +241,7 @@ class BankApi {
|
|
|
287
241
|
Authorization: yield this._getAuthorizationHeader(),
|
|
288
242
|
"X-Fern-Language": "JavaScript",
|
|
289
243
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
290
|
-
"X-Fern-SDK-Version": "0.0.
|
|
244
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
291
245
|
},
|
|
292
246
|
contentType: "application/json",
|
|
293
247
|
body: yield serializers.api.thera.bank.WithdrawalMethodsRequest.jsonOrThrow(request, {
|
|
@@ -336,7 +290,7 @@ class BankApi {
|
|
|
336
290
|
Authorization: yield this._getAuthorizationHeader(),
|
|
337
291
|
"X-Fern-Language": "JavaScript",
|
|
338
292
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
339
|
-
"X-Fern-SDK-Version": "0.0.
|
|
293
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
340
294
|
},
|
|
341
295
|
contentType: "application/json",
|
|
342
296
|
body: yield serializers.api.thera.bank.WithdrawalMethodsRequest.jsonOrThrow(request, {
|
|
@@ -382,7 +336,7 @@ class BankApi {
|
|
|
382
336
|
Authorization: yield this._getAuthorizationHeader(),
|
|
383
337
|
"X-Fern-Language": "JavaScript",
|
|
384
338
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
385
|
-
"X-Fern-SDK-Version": "0.0.
|
|
339
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
386
340
|
},
|
|
387
341
|
contentType: "application/json",
|
|
388
342
|
timeoutMs: 60000,
|
|
@@ -416,52 +370,6 @@ class BankApi {
|
|
|
416
370
|
}
|
|
417
371
|
});
|
|
418
372
|
}
|
|
419
|
-
editWithdrawalMethod(userId, withdrawalMethodId, request) {
|
|
420
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
421
|
-
const _response = yield core.fetcher({
|
|
422
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `worker/${userId}/withdrawal-method/${withdrawalMethodId}`),
|
|
423
|
-
method: "PATCH",
|
|
424
|
-
headers: {
|
|
425
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
426
|
-
"X-Fern-Language": "JavaScript",
|
|
427
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
428
|
-
"X-Fern-SDK-Version": "0.0.2209",
|
|
429
|
-
},
|
|
430
|
-
contentType: "application/json",
|
|
431
|
-
body: yield serializers.api.thera.bank.EditWithdrawalMethodRequest.jsonOrThrow(request, {
|
|
432
|
-
unrecognizedObjectKeys: "strip",
|
|
433
|
-
}),
|
|
434
|
-
timeoutMs: 60000,
|
|
435
|
-
});
|
|
436
|
-
if (_response.ok) {
|
|
437
|
-
return yield serializers.api.thera.bank.EditWithdrawalMethodResponse.parseOrThrow(_response.body, {
|
|
438
|
-
unrecognizedObjectKeys: "passthrough",
|
|
439
|
-
allowUnrecognizedUnionMembers: true,
|
|
440
|
-
allowUnrecognizedEnumValues: true,
|
|
441
|
-
breadcrumbsPrefix: ["response"],
|
|
442
|
-
});
|
|
443
|
-
}
|
|
444
|
-
if (_response.error.reason === "status-code") {
|
|
445
|
-
throw new errors.TheraApiError({
|
|
446
|
-
statusCode: _response.error.statusCode,
|
|
447
|
-
body: _response.error.body,
|
|
448
|
-
});
|
|
449
|
-
}
|
|
450
|
-
switch (_response.error.reason) {
|
|
451
|
-
case "non-json":
|
|
452
|
-
throw new errors.TheraApiError({
|
|
453
|
-
statusCode: _response.error.statusCode,
|
|
454
|
-
body: _response.error.rawBody,
|
|
455
|
-
});
|
|
456
|
-
case "timeout":
|
|
457
|
-
throw new errors.TheraApiTimeoutError();
|
|
458
|
-
case "unknown":
|
|
459
|
-
throw new errors.TheraApiError({
|
|
460
|
-
message: _response.error.errorMessage,
|
|
461
|
-
});
|
|
462
|
-
}
|
|
463
|
-
});
|
|
464
|
-
}
|
|
465
373
|
initiateWorkerWithdrawal(userId, companyId, request) {
|
|
466
374
|
return __awaiter(this, void 0, void 0, function* () {
|
|
467
375
|
const _response = yield core.fetcher({
|
|
@@ -471,7 +379,7 @@ class BankApi {
|
|
|
471
379
|
Authorization: yield this._getAuthorizationHeader(),
|
|
472
380
|
"X-Fern-Language": "JavaScript",
|
|
473
381
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
474
|
-
"X-Fern-SDK-Version": "0.0.
|
|
382
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
475
383
|
},
|
|
476
384
|
contentType: "application/json",
|
|
477
385
|
body: yield serializers.api.thera.bank.InitiateWorkerWithdrawalRequest.jsonOrThrow(request, {
|
|
@@ -517,7 +425,7 @@ class BankApi {
|
|
|
517
425
|
Authorization: yield this._getAuthorizationHeader(),
|
|
518
426
|
"X-Fern-Language": "JavaScript",
|
|
519
427
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
520
|
-
"X-Fern-SDK-Version": "0.0.
|
|
428
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
521
429
|
},
|
|
522
430
|
contentType: "application/json",
|
|
523
431
|
timeoutMs: 60000,
|
|
@@ -560,7 +468,7 @@ class BankApi {
|
|
|
560
468
|
Authorization: yield this._getAuthorizationHeader(),
|
|
561
469
|
"X-Fern-Language": "JavaScript",
|
|
562
470
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
563
|
-
"X-Fern-SDK-Version": "0.0.
|
|
471
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
564
472
|
},
|
|
565
473
|
contentType: "application/json",
|
|
566
474
|
timeoutMs: 60000,
|
|
@@ -594,55 +502,6 @@ class BankApi {
|
|
|
594
502
|
}
|
|
595
503
|
});
|
|
596
504
|
}
|
|
597
|
-
getCurrencyConversion(request) {
|
|
598
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
599
|
-
const { from: from_, to, amount } = request;
|
|
600
|
-
const _queryParams = new url_search_params_1.default();
|
|
601
|
-
_queryParams.append("from", from_);
|
|
602
|
-
_queryParams.append("to", to);
|
|
603
|
-
_queryParams.append("amount", amount.toString());
|
|
604
|
-
const _response = yield core.fetcher({
|
|
605
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), "currency/convert"),
|
|
606
|
-
method: "GET",
|
|
607
|
-
headers: {
|
|
608
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
609
|
-
"X-Fern-Language": "JavaScript",
|
|
610
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
611
|
-
"X-Fern-SDK-Version": "0.0.2209",
|
|
612
|
-
},
|
|
613
|
-
contentType: "application/json",
|
|
614
|
-
queryParameters: _queryParams,
|
|
615
|
-
timeoutMs: 60000,
|
|
616
|
-
});
|
|
617
|
-
if (_response.ok) {
|
|
618
|
-
return yield serializers.api.thera.bank.GetCurrencyConversionResponse.parseOrThrow(_response.body, {
|
|
619
|
-
unrecognizedObjectKeys: "passthrough",
|
|
620
|
-
allowUnrecognizedUnionMembers: true,
|
|
621
|
-
allowUnrecognizedEnumValues: true,
|
|
622
|
-
breadcrumbsPrefix: ["response"],
|
|
623
|
-
});
|
|
624
|
-
}
|
|
625
|
-
if (_response.error.reason === "status-code") {
|
|
626
|
-
throw new errors.TheraApiError({
|
|
627
|
-
statusCode: _response.error.statusCode,
|
|
628
|
-
body: _response.error.body,
|
|
629
|
-
});
|
|
630
|
-
}
|
|
631
|
-
switch (_response.error.reason) {
|
|
632
|
-
case "non-json":
|
|
633
|
-
throw new errors.TheraApiError({
|
|
634
|
-
statusCode: _response.error.statusCode,
|
|
635
|
-
body: _response.error.rawBody,
|
|
636
|
-
});
|
|
637
|
-
case "timeout":
|
|
638
|
-
throw new errors.TheraApiTimeoutError();
|
|
639
|
-
case "unknown":
|
|
640
|
-
throw new errors.TheraApiError({
|
|
641
|
-
message: _response.error.errorMessage,
|
|
642
|
-
});
|
|
643
|
-
}
|
|
644
|
-
});
|
|
645
|
-
}
|
|
646
505
|
_getAuthorizationHeader() {
|
|
647
506
|
return __awaiter(this, void 0, void 0, function* () {
|
|
648
507
|
const bearer = yield core.Supplier.get(this._options.token);
|
|
@@ -9,6 +9,4 @@ export interface WithdrawalMethodsRequest {
|
|
|
9
9
|
type?: string;
|
|
10
10
|
title?: string;
|
|
11
11
|
details: Record<string, string>;
|
|
12
|
-
/** If true, sets this withdrawal method the default payment method. If this is false and there is no preferred payment method, it will be set to preferred method anyways. */
|
|
13
|
-
preferred: boolean;
|
|
14
12
|
}
|
|
@@ -2,10 +2,7 @@ export * from "./VerifyMicrodepositRequest";
|
|
|
2
2
|
export * from "./VerifyAccountSignupRequest";
|
|
3
3
|
export * from "./GetSandboxPublicKey";
|
|
4
4
|
export * from "./GetBankAccountSignupKey";
|
|
5
|
-
export * from "./GetWithdrawalMethodCurrenciesResponse";
|
|
6
|
-
export * from "./WithdrawalMethodCurrency";
|
|
7
5
|
export * from "./WithdrawalMethodsRequest";
|
|
8
|
-
export * from "./EditWithdrawalMethodResponse";
|
|
9
6
|
export * from "./SingleWithdrawalMethodResponse";
|
|
10
7
|
export * from "./WithdrawalMethodField";
|
|
11
8
|
export * from "./WithdrawalMethodGroup";
|
|
@@ -16,7 +13,6 @@ export * from "./SaveWithdrawalMethodResponse";
|
|
|
16
13
|
export * from "./DeleteWithdrawalMethodResponse";
|
|
17
14
|
export * from "./InitiateWorkerWithdrawalRequest";
|
|
18
15
|
export * from "./InitiateWorkerWithdrawalResponse";
|
|
19
|
-
export * from "./GetCurrencyConversionResponse";
|
|
20
16
|
export * from "./GetWorkerBalancesResponse";
|
|
21
17
|
export * from "./WorkerBalance";
|
|
22
18
|
export * from "./GetWorkerTransactionsResponse";
|
|
@@ -18,10 +18,7 @@ __exportStar(require("./VerifyMicrodepositRequest"), exports);
|
|
|
18
18
|
__exportStar(require("./VerifyAccountSignupRequest"), exports);
|
|
19
19
|
__exportStar(require("./GetSandboxPublicKey"), exports);
|
|
20
20
|
__exportStar(require("./GetBankAccountSignupKey"), exports);
|
|
21
|
-
__exportStar(require("./GetWithdrawalMethodCurrenciesResponse"), exports);
|
|
22
|
-
__exportStar(require("./WithdrawalMethodCurrency"), exports);
|
|
23
21
|
__exportStar(require("./WithdrawalMethodsRequest"), exports);
|
|
24
|
-
__exportStar(require("./EditWithdrawalMethodResponse"), exports);
|
|
25
22
|
__exportStar(require("./SingleWithdrawalMethodResponse"), exports);
|
|
26
23
|
__exportStar(require("./WithdrawalMethodField"), exports);
|
|
27
24
|
__exportStar(require("./WithdrawalMethodGroup"), exports);
|
|
@@ -32,7 +29,6 @@ __exportStar(require("./SaveWithdrawalMethodResponse"), exports);
|
|
|
32
29
|
__exportStar(require("./DeleteWithdrawalMethodResponse"), exports);
|
|
33
30
|
__exportStar(require("./InitiateWorkerWithdrawalRequest"), exports);
|
|
34
31
|
__exportStar(require("./InitiateWorkerWithdrawalResponse"), exports);
|
|
35
|
-
__exportStar(require("./GetCurrencyConversionResponse"), exports);
|
|
36
32
|
__exportStar(require("./GetWorkerBalancesResponse"), exports);
|
|
37
33
|
__exportStar(require("./WorkerBalance"), exports);
|
|
38
34
|
__exportStar(require("./GetWorkerTransactionsResponse"), exports);
|
package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare class CompanyApi {
|
|
|
13
13
|
protected readonly _options: CompanyApi.Options;
|
|
14
14
|
constructor(_options: CompanyApi.Options);
|
|
15
15
|
/**
|
|
16
|
-
* Invite Contractor or Create Contract
|
|
16
|
+
* In Staging. Invite Contractor or Create Contract
|
|
17
17
|
*/
|
|
18
18
|
inviteContractor(request: TheraApi.api.thera.company.InviteContractorReq): Promise<TheraApi.api.thera.company.InviteContractorResponse>;
|
|
19
19
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js
CHANGED
|
@@ -49,7 +49,7 @@ class CompanyApi {
|
|
|
49
49
|
this._options = _options;
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
|
-
* Invite Contractor or Create Contract
|
|
52
|
+
* In Staging. Invite Contractor or Create Contract
|
|
53
53
|
*/
|
|
54
54
|
inviteContractor(request) {
|
|
55
55
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -65,7 +65,7 @@ class CompanyApi {
|
|
|
65
65
|
Authorization: yield this._getAuthorizationHeader(),
|
|
66
66
|
"X-Fern-Language": "JavaScript",
|
|
67
67
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
68
|
-
"X-Fern-SDK-Version": "0.0.
|
|
68
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
69
69
|
},
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
queryParameters: _queryParams,
|
package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts
CHANGED
|
@@ -5,10 +5,4 @@ export * from "./CreateEmployment";
|
|
|
5
5
|
export * from "./CreateMilestoneDetails";
|
|
6
6
|
export * from "./CreateMilestone";
|
|
7
7
|
export * from "./InviteContractorResponse";
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./CompanyApiResponse";
|
|
10
|
-
export * from "./CompanySettings";
|
|
11
|
-
export * from "./SubscriptionPricing";
|
|
12
|
-
export * from "./Flags";
|
|
13
|
-
export * from "./W2Payroll";
|
|
14
|
-
export * from "./PaymentMethodStatus";
|
|
8
|
+
export * from "./CompanyPayFrequency";
|
package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js
CHANGED
|
@@ -21,10 +21,4 @@ __exportStar(require("./CreateEmployment"), exports);
|
|
|
21
21
|
__exportStar(require("./CreateMilestoneDetails"), exports);
|
|
22
22
|
__exportStar(require("./CreateMilestone"), exports);
|
|
23
23
|
__exportStar(require("./InviteContractorResponse"), exports);
|
|
24
|
-
__exportStar(require("./
|
|
25
|
-
__exportStar(require("./CompanyApiResponse"), exports);
|
|
26
|
-
__exportStar(require("./CompanySettings"), exports);
|
|
27
|
-
__exportStar(require("./SubscriptionPricing"), exports);
|
|
28
|
-
__exportStar(require("./Flags"), exports);
|
|
29
|
-
__exportStar(require("./W2Payroll"), exports);
|
|
30
|
-
__exportStar(require("./PaymentMethodStatus"), exports);
|
|
24
|
+
__exportStar(require("./CompanyPayFrequency"), exports);
|
|
@@ -59,7 +59,7 @@ class CompanyW2PayrollApi {
|
|
|
59
59
|
Authorization: yield this._getAuthorizationHeader(),
|
|
60
60
|
"X-Fern-Language": "JavaScript",
|
|
61
61
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
62
|
-
"X-Fern-SDK-Version": "0.0.
|
|
62
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
63
63
|
},
|
|
64
64
|
contentType: "application/json",
|
|
65
65
|
body: yield serializers.api.thera.company.OnboardW2PayrollRequest.jsonOrThrow(request, {
|
|
@@ -59,7 +59,7 @@ class DisbursementApi {
|
|
|
59
59
|
Authorization: yield this._getAuthorizationHeader(),
|
|
60
60
|
"X-Fern-Language": "JavaScript",
|
|
61
61
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
62
|
-
"X-Fern-SDK-Version": "0.0.
|
|
62
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
63
63
|
},
|
|
64
64
|
contentType: "application/json",
|
|
65
65
|
body: yield serializers.api.thera.disbursement.CreateDisbursementRequest.jsonOrThrow(request, {
|
|
@@ -103,7 +103,7 @@ class DisbursementApi {
|
|
|
103
103
|
Authorization: yield this._getAuthorizationHeader(),
|
|
104
104
|
"X-Fern-Language": "JavaScript",
|
|
105
105
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
106
|
-
"X-Fern-SDK-Version": "0.0.
|
|
106
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
107
107
|
},
|
|
108
108
|
contentType: "application/json",
|
|
109
109
|
timeoutMs: 60000,
|
|
@@ -60,7 +60,7 @@ class DisbursementWebhookApi {
|
|
|
60
60
|
Authorization: yield this._getAuthorizationHeader(),
|
|
61
61
|
"X-Fern-Language": "JavaScript",
|
|
62
62
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
63
|
-
"X-Fern-SDK-Version": "0.0.
|
|
63
|
+
"X-Fern-SDK-Version": "0.0.2233",
|
|
64
64
|
"Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
|
|
65
65
|
},
|
|
66
66
|
contentType: "application/json",
|
|
@@ -17,12 +17,8 @@ export declare class EmploymentApi {
|
|
|
17
17
|
*/
|
|
18
18
|
estimateContract(request: TheraApi.api.thera.employment.CreateContractEstimateRequest): Promise<TheraApi.api.thera.employment.CreateContractEstimateResponse>;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Get Current Cycle for this contract
|
|
21
21
|
*/
|
|
22
|
-
getCurrentPayCycle(contractId: string): Promise<TheraApi.api.thera.employment.
|
|
23
|
-
/**
|
|
24
|
-
* Get Cycle for this contract given a date
|
|
25
|
-
*/
|
|
26
|
-
getPayCycle(contractId: string, baseDate: string): Promise<TheraApi.api.thera.employment.GetPayCycleResponse>;
|
|
22
|
+
getCurrentPayCycle(contractId: string): Promise<TheraApi.api.thera.employment.GetCurrentPayCycleResponse>;
|
|
27
23
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
28
24
|
}
|