@thera-hr/api-sdk 0.0.4273 → 0.0.4483
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 +3 -0
- package/api/resources/api/client/Client.d.ts +3 -0
- package/api/resources/api/resources/aiprise/client/Client.d.ts +3 -0
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.d.ts +4 -1
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +3 -3
- package/api/resources/api/resources/index.d.ts +1 -0
- package/api/resources/api/resources/index.js +2 -1
- package/api/resources/api/resources/oneschema/index.d.ts +1 -0
- package/api/resources/api/resources/oneschema/index.js +17 -0
- package/api/resources/api/resources/oneschema/resources/index.d.ts +2 -0
- package/api/resources/api/resources/oneschema/resources/index.js +31 -0
- package/api/resources/api/resources/oneschema/resources/model/index.d.ts +1 -0
- package/api/resources/api/resources/oneschema/resources/model/index.js +17 -0
- package/api/resources/api/resources/{thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.d.ts → oneschema/resources/model/types/OneSchemaCsvColumn.d.ts} +1 -1
- package/api/resources/api/resources/oneschema/resources/model/types/index.d.ts +1 -0
- package/api/resources/api/resources/oneschema/resources/model/types/index.js +17 -0
- package/api/resources/api/resources/services/client/Client.d.ts +3 -0
- package/api/resources/api/resources/services/resources/file/client/Client.d.ts +7 -4
- package/api/resources/api/resources/services/resources/file/client/Client.js +12 -12
- package/api/resources/api/resources/thera/client/Client.d.ts +6 -0
- package/api/resources/api/resources/thera/client/Client.js +17 -12
- package/api/resources/api/resources/thera/resources/bank/client/Client.d.ts +3 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +24 -19
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +149 -58
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWithdrawalMethodCurrenciesRequest.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInDetailsResponse.d.ts +18 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.d.ts +24 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +4 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +4 -0
- package/api/resources/api/resources/thera/resources/company/client/Client.d.ts +3 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +16 -13
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +41 -47
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.d.ts +4 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/contractor/client/Client.d.ts +20 -0
- package/api/resources/api/resources/thera/resources/contractor/client/Client.js +17 -0
- package/api/resources/api/resources/thera/resources/contractor/client/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/contractor/client/index.js +2 -0
- package/api/resources/api/resources/thera/resources/contractor/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/contractor/index.js +18 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.d.ts +20 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +101 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/index.js +17 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/index.js +2 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/index.js +18 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.d.ts +24 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.js +5 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.js +12 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.js +12 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/index.d.ts +3 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/index.js +19 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/index.d.ts +3 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/index.js +32 -0
- package/api/resources/api/resources/thera/resources/disbursement/client/Client.d.ts +3 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.d.ts +6 -3
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +9 -9
- 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/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +0 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.d.ts +4 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/email/client/Client.d.ts +3 -0
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.d.ts +4 -1
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/employment/client/Client.d.ts +3 -0
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.d.ts +6 -3
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/index.js +2 -1
- package/api/resources/api/resources/thera/resources/misc/client/Client.d.ts +3 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +4 -1
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +4 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/user/client/Client.d.ts +3 -0
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.d.ts +4 -1
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/company/types/PayCycleType.d.ts +10 -0
- package/api/resources/db/resources/company/types/PayCycleType.js +12 -0
- package/api/resources/db/resources/company/types/Team.d.ts +1 -1
- package/api/resources/db/resources/company/types/index.d.ts +1 -0
- package/api/resources/db/resources/company/types/index.js +1 -0
- package/api/resources/db/resources/generic/types/GenericType.d.ts +0 -5
- package/api/resources/db/resources/index.d.ts +2 -0
- package/api/resources/db/resources/index.js +3 -1
- package/api/resources/db/resources/invoice/index.d.ts +1 -0
- package/api/resources/db/resources/invoice/index.js +17 -0
- package/api/resources/db/resources/invoice/types/InvoiceType.d.ts +13 -0
- package/api/resources/db/resources/invoice/types/InvoiceType.js +15 -0
- package/api/resources/db/resources/invoice/types/index.d.ts +1 -0
- package/api/resources/db/resources/invoice/types/index.js +17 -0
- package/api/resources/db/resources/user/types/AiPriseVerificationResult.d.ts +2 -1
- package/api/resources/db/resources/user/types/BankTransfer.d.ts +1 -0
- package/api/resources/db/resources/user/types/PoweredBy.d.ts +8 -0
- package/api/resources/db/resources/user/types/PoweredBy.js +10 -0
- package/api/resources/db/resources/user/types/index.d.ts +1 -0
- package/api/resources/db/resources/user/types/index.js +1 -0
- package/core/fetcher/Fetcher.d.ts +2 -2
- package/core/index.d.ts +1 -1
- package/core/index.js +4 -4
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +5 -5
- package/dist/Client.d.ts +3 -0
- package/dist/api/resources/api/client/Client.d.ts +3 -0
- package/dist/api/resources/api/resources/aiprise/client/Client.d.ts +3 -0
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.d.ts +4 -1
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/index.d.ts +1 -0
- package/dist/api/resources/api/resources/index.js +2 -1
- package/dist/api/resources/api/resources/oneschema/index.d.ts +1 -0
- package/dist/api/resources/api/resources/oneschema/index.js +17 -0
- package/dist/api/resources/api/resources/oneschema/resources/index.d.ts +2 -0
- package/dist/api/resources/api/resources/oneschema/resources/index.js +31 -0
- package/dist/api/resources/api/resources/oneschema/resources/model/index.d.ts +1 -0
- package/dist/api/resources/api/resources/oneschema/resources/model/index.js +17 -0
- package/dist/api/resources/api/resources/{thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.d.ts → oneschema/resources/model/types/OneSchemaCsvColumn.d.ts} +1 -1
- package/dist/api/resources/api/resources/oneschema/resources/model/types/OneSchemaCsvColumn.js +5 -0
- package/dist/api/resources/api/resources/oneschema/resources/model/types/index.d.ts +1 -0
- package/dist/api/resources/api/resources/oneschema/resources/model/types/index.js +17 -0
- package/dist/api/resources/api/resources/services/client/Client.d.ts +3 -0
- package/dist/api/resources/api/resources/services/resources/file/client/Client.d.ts +7 -4
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +12 -12
- package/dist/api/resources/api/resources/thera/client/Client.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/client/Client.js +17 -12
- package/dist/api/resources/api/resources/thera/resources/bank/client/Client.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +24 -19
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +149 -58
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWithdrawalMethodCurrenciesRequest.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInDetailsResponse.d.ts +18 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInDetailsResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.d.ts +24 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +4 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +4 -0
- package/dist/api/resources/api/resources/thera/resources/company/client/Client.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +16 -13
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +41 -47
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.d.ts +4 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/contractor/client/Client.d.ts +20 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/client/Client.js +17 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/client/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/index.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.d.ts +20 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +101 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/index.js +17 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/index.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.d.ts +24 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.js +12 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.js +12 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/index.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/index.js +19 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/index.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/index.js +32 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/client/Client.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.d.ts +6 -3
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +9 -9
- 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/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +0 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.d.ts +4 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/email/client/Client.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.d.ts +4 -1
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/employment/client/Client.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.d.ts +6 -3
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/index.js +2 -1
- package/dist/api/resources/api/resources/thera/resources/misc/client/Client.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +4 -1
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +4 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/user/client/Client.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.d.ts +4 -1
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/company/types/PayCycleType.d.ts +10 -0
- package/dist/api/resources/db/resources/company/types/PayCycleType.js +12 -0
- package/dist/api/resources/db/resources/company/types/Team.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/index.d.ts +1 -0
- package/dist/api/resources/db/resources/company/types/index.js +1 -0
- package/dist/api/resources/db/resources/generic/types/GenericType.d.ts +0 -5
- package/dist/api/resources/db/resources/index.d.ts +2 -0
- package/dist/api/resources/db/resources/index.js +3 -1
- package/dist/api/resources/db/resources/invoice/index.d.ts +1 -0
- package/dist/api/resources/db/resources/invoice/index.js +17 -0
- package/dist/api/resources/db/resources/invoice/types/InvoiceType.d.ts +13 -0
- package/dist/api/resources/db/resources/invoice/types/InvoiceType.js +15 -0
- package/dist/api/resources/db/resources/invoice/types/index.d.ts +1 -0
- package/dist/api/resources/db/resources/invoice/types/index.js +17 -0
- package/dist/api/resources/db/resources/user/types/AiPriseVerificationResult.d.ts +2 -1
- package/dist/api/resources/db/resources/user/types/BankTransfer.d.ts +1 -0
- package/dist/api/resources/db/resources/user/types/PoweredBy.d.ts +8 -0
- package/dist/api/resources/db/resources/user/types/PoweredBy.js +10 -0
- package/dist/api/resources/db/resources/user/types/index.d.ts +1 -0
- package/dist/api/resources/db/resources/user/types/index.js +1 -0
- package/dist/core/fetcher/Fetcher.d.ts +2 -2
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +4 -4
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +5 -5
- package/dist/serialization/resources/api/resources/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/index.js +2 -1
- package/dist/serialization/resources/api/resources/oneschema/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/oneschema/index.js +17 -0
- package/dist/serialization/resources/api/resources/oneschema/resources/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/oneschema/resources/index.js +31 -0
- package/dist/serialization/resources/api/resources/oneschema/resources/model/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/oneschema/resources/model/index.js +17 -0
- package/dist/serialization/resources/api/resources/oneschema/resources/model/types/OneSchemaCsvColumn.d.ts +16 -0
- package/dist/serialization/resources/api/resources/{thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.js → oneschema/resources/model/types/OneSchemaCsvColumn.js} +3 -3
- package/dist/serialization/resources/api/resources/oneschema/resources/model/types/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/oneschema/resources/model/types/index.js +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInDetailsResponse.d.ts +22 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInDetailsResponse.js +52 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +42 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.d.ts +29 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.js +59 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.d.ts +16 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.js +37 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js +3 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +4 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +4 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/index.js +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/index.js +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/index.js +5 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/index.js +18 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.d.ts +29 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.js +61 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.js +31 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.js +31 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/index.d.ts +3 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/index.js +19 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/index.d.ts +3 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/index.js +32 -0
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.d.ts +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.js +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/index.js +2 -1
- package/dist/serialization/resources/db/resources/company/types/PayCycleType.d.ts +10 -0
- package/dist/serialization/resources/db/resources/company/types/PayCycleType.js +31 -0
- package/dist/serialization/resources/db/resources/company/types/Team.d.ts +1 -1
- package/dist/serialization/resources/db/resources/company/types/Team.js +1 -1
- package/dist/serialization/resources/db/resources/company/types/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/company/types/index.js +1 -0
- package/dist/serialization/resources/db/resources/generic/types/GenericType.d.ts +0 -1
- package/dist/serialization/resources/db/resources/generic/types/GenericType.js +0 -1
- package/dist/serialization/resources/db/resources/index.d.ts +2 -0
- package/dist/serialization/resources/db/resources/index.js +3 -1
- package/dist/serialization/resources/db/resources/invoice/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/invoice/index.js +17 -0
- package/dist/serialization/resources/db/resources/invoice/types/InvoiceType.d.ts +10 -0
- package/dist/serialization/resources/db/resources/invoice/types/InvoiceType.js +31 -0
- package/dist/serialization/resources/db/resources/invoice/types/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/invoice/types/index.js +17 -0
- package/dist/serialization/resources/db/resources/user/types/AiPriseVerificationResult.d.ts +1 -1
- package/dist/serialization/resources/db/resources/user/types/AiPriseVerificationResult.js +1 -1
- package/dist/serialization/resources/db/resources/user/types/BankTransfer.d.ts +1 -0
- package/dist/serialization/resources/db/resources/user/types/BankTransfer.js +1 -0
- package/dist/serialization/resources/db/resources/user/types/PoweredBy.d.ts +10 -0
- package/dist/serialization/resources/db/resources/user/types/PoweredBy.js +31 -0
- package/dist/serialization/resources/db/resources/user/types/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/user/types/index.js +1 -0
- package/package.json +2 -2
- package/serialization/resources/api/resources/index.d.ts +1 -0
- package/serialization/resources/api/resources/index.js +2 -1
- package/serialization/resources/api/resources/oneschema/index.d.ts +1 -0
- package/serialization/resources/api/resources/oneschema/index.js +17 -0
- package/serialization/resources/api/resources/oneschema/resources/index.d.ts +2 -0
- package/serialization/resources/api/resources/oneschema/resources/index.js +31 -0
- package/serialization/resources/api/resources/oneschema/resources/model/index.d.ts +1 -0
- package/serialization/resources/api/resources/oneschema/resources/model/index.js +17 -0
- package/serialization/resources/api/resources/oneschema/resources/model/types/OneSchemaCsvColumn.d.ts +16 -0
- package/serialization/resources/api/resources/{thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.js → oneschema/resources/model/types/OneSchemaCsvColumn.js} +3 -3
- package/serialization/resources/api/resources/oneschema/resources/model/types/index.d.ts +1 -0
- package/serialization/resources/api/resources/oneschema/resources/model/types/index.js +17 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInDetailsResponse.d.ts +22 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInDetailsResponse.js +52 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +42 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.d.ts +29 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.js +59 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.d.ts +16 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.js +37 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js +3 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +1 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +4 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +4 -0
- package/serialization/resources/api/resources/thera/resources/contractor/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/contractor/index.js +17 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/index.js +17 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.js +43 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/index.js +5 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/index.js +18 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.d.ts +29 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.js +61 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.js +31 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.js +31 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/index.d.ts +3 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/index.js +19 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/index.d.ts +3 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/index.js +32 -0
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.d.ts +1 -1
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.js +1 -1
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +0 -1
- package/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/index.js +2 -1
- package/serialization/resources/db/resources/company/types/PayCycleType.d.ts +10 -0
- package/serialization/resources/db/resources/company/types/PayCycleType.js +31 -0
- package/serialization/resources/db/resources/company/types/Team.d.ts +1 -1
- package/serialization/resources/db/resources/company/types/Team.js +1 -1
- package/serialization/resources/db/resources/company/types/index.d.ts +1 -0
- package/serialization/resources/db/resources/company/types/index.js +1 -0
- package/serialization/resources/db/resources/generic/types/GenericType.d.ts +0 -1
- package/serialization/resources/db/resources/generic/types/GenericType.js +0 -1
- package/serialization/resources/db/resources/index.d.ts +2 -0
- package/serialization/resources/db/resources/index.js +3 -1
- package/serialization/resources/db/resources/invoice/index.d.ts +1 -0
- package/serialization/resources/db/resources/invoice/index.js +17 -0
- package/serialization/resources/db/resources/invoice/types/InvoiceType.d.ts +10 -0
- package/serialization/resources/db/resources/invoice/types/InvoiceType.js +31 -0
- package/serialization/resources/db/resources/invoice/types/index.d.ts +1 -0
- package/serialization/resources/db/resources/invoice/types/index.js +17 -0
- package/serialization/resources/db/resources/user/types/AiPriseVerificationResult.d.ts +1 -1
- package/serialization/resources/db/resources/user/types/AiPriseVerificationResult.js +1 -1
- package/serialization/resources/db/resources/user/types/BankTransfer.d.ts +1 -0
- package/serialization/resources/db/resources/user/types/BankTransfer.js +1 -0
- package/serialization/resources/db/resources/user/types/PoweredBy.d.ts +10 -0
- package/serialization/resources/db/resources/user/types/PoweredBy.js +31 -0
- package/serialization/resources/db/resources/user/types/index.d.ts +1 -0
- package/serialization/resources/db/resources/user/types/index.js +1 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteContractorReq.d.ts +0 -8
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteContractorReq.d.ts +0 -8
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.d.ts +0 -16
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.d.ts +0 -16
- /package/api/resources/api/resources/{thera/resources/company/resources/companyApi/client/requests/InviteContractorReq.js → oneschema/resources/model/types/OneSchemaCsvColumn.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.js → bank/resources/bankApi/types/GetPayInDetailsResponse.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteContractorReq.js → api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.js → api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.js} +0 -0
@@ -0,0 +1,61 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
+
});
|
36
|
+
};
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
38
|
+
exports.CreateContractorsCsvRecord = void 0;
|
39
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
40
|
+
exports.CreateContractorsCsvRecord = core.serialization.object({
|
41
|
+
teamName: core.serialization.property("team_name", core.serialization.string()),
|
42
|
+
workerFirstName: core.serialization.property("worker_first_name", core.serialization.string()),
|
43
|
+
workerLastName: core.serialization.property("worker_last_name", core.serialization.string()),
|
44
|
+
workerPersonalEmail: core.serialization.property("worker_personal_email", core.serialization.string()),
|
45
|
+
contractName: core.serialization.property("contract_name", core.serialization.string()),
|
46
|
+
workerTaxResidenceCountry: core.serialization.property("worker_tax_residence_country", core.serialization.string()),
|
47
|
+
workerJobTitle: core.serialization.property("worker_job_title", core.serialization.string()),
|
48
|
+
scopeOfWork: core.serialization.property("scope_of_work", core.serialization.string()),
|
49
|
+
contractType: core.serialization.property("contract_type", core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).model.thera.ContractType; }))),
|
50
|
+
contractStartDate: core.serialization.property("contract_start_date", core.serialization.string()),
|
51
|
+
contractCurrency: core.serialization.property("contract_currency", core.serialization.string()),
|
52
|
+
contractRate: core.serialization.property("contract_rate", core.serialization.number()),
|
53
|
+
paymentFrequency: core.serialization.property("payment_frequency", core.serialization
|
54
|
+
.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.contractor.PaymentFrequency; }))
|
55
|
+
.optional()),
|
56
|
+
invoiceCycle: core.serialization.property("invoice_cycle", core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.contractor.InvoiceCycle; }))),
|
57
|
+
invoiceWorkEndsOnXDay: core.serialization.property("invoice_work_ends_on_x_day", core.serialization.number()),
|
58
|
+
paymentDueXDaysAfterWorkCycle: core.serialization.property("payment_due_x_days_after_work_cycle", core.serialization.number()),
|
59
|
+
firstPaymentDate: core.serialization.property("first_payment_date", core.serialization.string()),
|
60
|
+
firstPayTotal: core.serialization.property("first_pay_total", core.serialization.number()),
|
61
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
7
|
+
export declare const InvoiceCycle: core.serialization.Schema<serializers.api.thera.contractor.InvoiceCycle.Raw, TheraApi.api.thera.contractor.InvoiceCycle>;
|
8
|
+
export declare namespace InvoiceCycle {
|
9
|
+
type Raw = "MONTHLY" | "SEMIMONTHLY" | "BIWEEKLY" | "WEEKLY";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.InvoiceCycle = void 0;
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
31
|
+
exports.InvoiceCycle = core.serialization.enum_(["MONTHLY", "SEMIMONTHLY", "BIWEEKLY", "WEEKLY"]);
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
7
|
+
export declare const PaymentFrequency: core.serialization.Schema<serializers.api.thera.contractor.PaymentFrequency.Raw, TheraApi.api.thera.contractor.PaymentFrequency>;
|
8
|
+
export declare namespace PaymentFrequency {
|
9
|
+
type Raw = "DAILY" | "MONTHLY" | "WEEKLY" | "MILESTONE";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.PaymentFrequency = void 0;
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
31
|
+
exports.PaymentFrequency = core.serialization.enum_(["DAILY", "MONTHLY", "WEEKLY", "MILESTONE"]);
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./PaymentFrequency"), exports);
|
18
|
+
__exportStar(require("./InvoiceCycle"), exports);
|
19
|
+
__exportStar(require("./CreateContractorsCsvRecord"), exports);
|
package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/index.js
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
25
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.contractorApi = void 0;
|
30
|
+
exports.contractorApi = __importStar(require("./contractorApi"));
|
31
|
+
__exportStar(require("./contractorApi/types"), exports);
|
32
|
+
__exportStar(require("./contractorApi/client/requests"), exports);
|
@@ -7,7 +7,7 @@ import * as core from "../../../../../../../../../../../core";
|
|
7
7
|
export declare const CreateInvoiceCsvRequest: core.serialization.Schema<serializers.api.thera.disbursement.CreateInvoiceCsvRequest.Raw, Omit<TheraApi.api.thera.disbursement.CreateInvoiceCsvRequest, "preview">>;
|
8
8
|
export declare namespace CreateInvoiceCsvRequest {
|
9
9
|
interface Raw {
|
10
|
-
columns: serializers.api.
|
10
|
+
columns: serializers.api.oneschema.OneSchemaCsvColumn.Raw[];
|
11
11
|
records: serializers.api.thera.disbursement.CreateInvoiceCsvRecord.Raw[];
|
12
12
|
}
|
13
13
|
}
|
@@ -38,6 +38,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
38
|
exports.CreateInvoiceCsvRequest = void 0;
|
39
39
|
const core = __importStar(require("../../../../../../../../../../../core"));
|
40
40
|
exports.CreateInvoiceCsvRequest = core.serialization.object({
|
41
|
-
columns: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../../..")))).api.
|
41
|
+
columns: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../../..")))).api.oneschema.OneSchemaCsvColumn; }))),
|
42
42
|
records: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../../..")))).api.thera.disbursement.CreateInvoiceCsvRecord; }))),
|
43
43
|
});
|
@@ -5,6 +5,5 @@ export * from "./CreateGeneralItemDetail";
|
|
5
5
|
export * from "./DisbursementItemType";
|
6
6
|
export * from "./CreateOffCycleInvoiceDetail";
|
7
7
|
export * from "./CreateDisbursementDetail";
|
8
|
-
export * from "./CreateInvoiceCsvColumn";
|
9
8
|
export * from "./CreateInvoiceCsvRecord";
|
10
9
|
export * from "./CreateDisbursementRequest";
|
@@ -21,6 +21,5 @@ __exportStar(require("./CreateGeneralItemDetail"), exports);
|
|
21
21
|
__exportStar(require("./DisbursementItemType"), exports);
|
22
22
|
__exportStar(require("./CreateOffCycleInvoiceDetail"), exports);
|
23
23
|
__exportStar(require("./CreateDisbursementDetail"), exports);
|
24
|
-
__exportStar(require("./CreateInvoiceCsvColumn"), exports);
|
25
24
|
__exportStar(require("./CreateInvoiceCsvRecord"), exports);
|
26
25
|
__exportStar(require("./CreateDisbursementRequest"), exports);
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export * as bank from "./bank";
|
2
2
|
export * as common from "./common";
|
3
3
|
export * as company from "./company";
|
4
|
+
export * as contractor from "./contractor";
|
4
5
|
export * as disbursement from "./disbursement";
|
5
6
|
export * as email from "./email";
|
6
7
|
export * as employment from "./employment";
|
@@ -23,10 +23,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
23
|
return result;
|
24
24
|
};
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
-
exports.payroll = exports.misc = exports.employment = exports.email = exports.disbursement = exports.company = exports.common = exports.bank = void 0;
|
26
|
+
exports.payroll = exports.misc = exports.employment = exports.email = exports.disbursement = exports.contractor = exports.company = exports.common = exports.bank = void 0;
|
27
27
|
exports.bank = __importStar(require("./bank"));
|
28
28
|
exports.common = __importStar(require("./common"));
|
29
29
|
exports.company = __importStar(require("./company"));
|
30
|
+
exports.contractor = __importStar(require("./contractor"));
|
30
31
|
exports.disbursement = __importStar(require("./disbursement"));
|
31
32
|
exports.email = __importStar(require("./email"));
|
32
33
|
exports.employment = __importStar(require("./employment"));
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../api";
|
6
|
+
import * as core from "../../../../../../core";
|
7
|
+
export declare const PayCycleType: core.serialization.Schema<serializers.db.PayCycleType.Raw, TheraApi.db.PayCycleType>;
|
8
|
+
export declare namespace PayCycleType {
|
9
|
+
type Raw = "WEEKLY" | "BIWEEKLY" | "SEMIMONTHLY" | "MONTHLY";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.PayCycleType = void 0;
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
31
|
+
exports.PayCycleType = core.serialization.enum_(["WEEKLY", "BIWEEKLY", "SEMIMONTHLY", "MONTHLY"]);
|
@@ -8,6 +8,6 @@ export declare const Team: core.serialization.ObjectSchema<serializers.db.Team.R
|
|
8
8
|
export declare namespace Team {
|
9
9
|
interface Raw {
|
10
10
|
name: string;
|
11
|
-
defaultPayCycles: Record<serializers.
|
11
|
+
defaultPayCycles: Record<serializers.db.PayCycleType.Raw, serializers.db.DefaultPayCycle.Raw | null | undefined>;
|
12
12
|
}
|
13
13
|
}
|
@@ -39,5 +39,5 @@ exports.Team = void 0;
|
|
39
39
|
const core = __importStar(require("../../../../../../core"));
|
40
40
|
exports.Team = core.serialization.object({
|
41
41
|
name: core.serialization.string(),
|
42
|
-
defaultPayCycles: core.serialization.record(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).
|
42
|
+
defaultPayCycles: core.serialization.record(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).db.PayCycleType; })), core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).db.DefaultPayCycle; })).optional()),
|
43
43
|
});
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./Company"), exports);
|
18
18
|
__exportStar(require("./Team"), exports);
|
19
|
+
__exportStar(require("./PayCycleType"), exports);
|
19
20
|
__exportStar(require("./DefaultPayCycle"), exports);
|
20
21
|
__exportStar(require("./BankAccountResponseMetadata"), exports);
|
21
22
|
__exportStar(require("./CompanySettings"), exports);
|
@@ -40,5 +40,4 @@ const core = __importStar(require("../../../../../../core"));
|
|
40
40
|
exports.GenericType = core.serialization.object({
|
41
41
|
key: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).db.GenericTypeKey; })),
|
42
42
|
fxLedgerAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
43
|
-
createAccountEmailAllowList: core.serialization.set(core.serialization.string()),
|
44
43
|
});
|
@@ -6,5 +6,7 @@ export * as employment from "./employment";
|
|
6
6
|
export * from "./employment/types";
|
7
7
|
export * as generic from "./generic";
|
8
8
|
export * from "./generic/types";
|
9
|
+
export * as invoice from "./invoice";
|
10
|
+
export * from "./invoice/types";
|
9
11
|
export * as user from "./user";
|
10
12
|
export * from "./user/types";
|
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.user = exports.generic = exports.employment = exports.contract = exports.company = void 0;
|
29
|
+
exports.user = exports.invoice = exports.generic = exports.employment = exports.contract = exports.company = void 0;
|
30
30
|
exports.company = __importStar(require("./company"));
|
31
31
|
__exportStar(require("./company/types"), exports);
|
32
32
|
exports.contract = __importStar(require("./contract"));
|
@@ -35,5 +35,7 @@ exports.employment = __importStar(require("./employment"));
|
|
35
35
|
__exportStar(require("./employment/types"), exports);
|
36
36
|
exports.generic = __importStar(require("./generic"));
|
37
37
|
__exportStar(require("./generic/types"), exports);
|
38
|
+
exports.invoice = __importStar(require("./invoice"));
|
39
|
+
__exportStar(require("./invoice/types"), exports);
|
38
40
|
exports.user = __importStar(require("./user"));
|
39
41
|
__exportStar(require("./user/types"), exports);
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./types";
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./types"), exports);
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../api";
|
6
|
+
import * as core from "../../../../../../core";
|
7
|
+
export declare const InvoiceType: core.serialization.Schema<serializers.db.InvoiceType.Raw, TheraApi.db.InvoiceType>;
|
8
|
+
export declare namespace InvoiceType {
|
9
|
+
type Raw = "INVOICE" | "MILESTONE" | "EXPENSE" | "BONUS" | "COMMISSION" | "OTHER" | "OVERTIME";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.InvoiceType = void 0;
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
31
|
+
exports.InvoiceType = core.serialization.enum_(["INVOICE", "MILESTONE", "EXPENSE", "BONUS", "COMMISSION", "OTHER", "OVERTIME"]);
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./InvoiceType";
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./InvoiceType"), exports);
|
@@ -8,6 +8,6 @@ export declare const AiPriseVerificationResult: core.serialization.ObjectSchema<
|
|
8
8
|
export declare namespace AiPriseVerificationResult {
|
9
9
|
interface Raw {
|
10
10
|
status: serializers.db.AiPriseVerificationStatus.Raw;
|
11
|
-
sessionId
|
11
|
+
sessionId?: string | null;
|
12
12
|
}
|
13
13
|
}
|
@@ -39,5 +39,5 @@ exports.AiPriseVerificationResult = void 0;
|
|
39
39
|
const core = __importStar(require("../../../../../../core"));
|
40
40
|
exports.AiPriseVerificationResult = core.serialization.object({
|
41
41
|
status: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).db.AiPriseVerificationStatus; })),
|
42
|
-
sessionId: core.serialization.string(),
|
42
|
+
sessionId: core.serialization.string().optional(),
|
43
43
|
});
|
@@ -46,4 +46,5 @@ exports.BankTransfer = core.serialization.object({
|
|
46
46
|
details: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
47
47
|
wiseRecipientAccountId: core.serialization.number().optional(),
|
48
48
|
accountType: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).db.WithdrawalMethodAccountType; })),
|
49
|
+
poweredBy: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).db.PoweredBy; })).optional(),
|
49
50
|
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../api";
|
6
|
+
import * as core from "../../../../../../core";
|
7
|
+
export declare const PoweredBy: core.serialization.Schema<serializers.db.PoweredBy.Raw, TheraApi.db.PoweredBy>;
|
8
|
+
export declare namespace PoweredBy {
|
9
|
+
type Raw = "dlocal" | "wise";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.PoweredBy = void 0;
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
31
|
+
exports.PoweredBy = core.serialization.enum_(["dlocal", "wise"]);
|
@@ -11,6 +11,7 @@ export * from "./AiPriseVerificationStatus";
|
|
11
11
|
export * from "./UserCompanySettings";
|
12
12
|
export * from "./WithdrawalMethod";
|
13
13
|
export * from "./BankTransfer";
|
14
|
+
export * from "./PoweredBy";
|
14
15
|
export * from "./BankAddress";
|
15
16
|
export * from "./WithdrawalMethodAccountType";
|
16
17
|
export * from "./User";
|
@@ -27,6 +27,7 @@ __exportStar(require("./AiPriseVerificationStatus"), exports);
|
|
27
27
|
__exportStar(require("./UserCompanySettings"), exports);
|
28
28
|
__exportStar(require("./WithdrawalMethod"), exports);
|
29
29
|
__exportStar(require("./BankTransfer"), exports);
|
30
|
+
__exportStar(require("./PoweredBy"), exports);
|
30
31
|
__exportStar(require("./BankAddress"), exports);
|
31
32
|
__exportStar(require("./WithdrawalMethodAccountType"), exports);
|
32
33
|
__exportStar(require("./User"), exports);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@thera-hr/api-sdk",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.4483",
|
4
4
|
"private": false,
|
5
5
|
"repository": "https://github.com/CarbonNYC/thera-typescript-sdk",
|
6
6
|
"main": "./index.js",
|
@@ -14,7 +14,7 @@
|
|
14
14
|
"url-join": "4.0.1",
|
15
15
|
"@types/url-join": "4.0.1",
|
16
16
|
"@ungap/url-search-params": "0.2.2",
|
17
|
-
"axios": "
|
17
|
+
"axios": "0.27.2",
|
18
18
|
"js-base64": "3.7.2"
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
@@ -23,8 +23,9 @@ 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.services = exports.response = exports.request = exports.aiprise = void 0;
|
26
|
+
exports.zeal = exports.thera = exports.services = exports.response = exports.request = exports.oneschema = exports.aiprise = void 0;
|
27
27
|
exports.aiprise = __importStar(require("./aiprise"));
|
28
|
+
exports.oneschema = __importStar(require("./oneschema"));
|
28
29
|
exports.request = __importStar(require("./request"));
|
29
30
|
exports.response = __importStar(require("./response"));
|
30
31
|
exports.services = __importStar(require("./services"));
|