@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
@@ -50,7 +50,7 @@ class EmploymentApi {
|
|
50
50
|
/**
|
51
51
|
* Get estimate for this contract (cycle date, list of cycles, etc) based on provided paycycle
|
52
52
|
*/
|
53
|
-
estimateContract(request) {
|
53
|
+
estimateContract(request, requestOptions) {
|
54
54
|
return __awaiter(this, void 0, void 0, function* () {
|
55
55
|
const _response = yield core.fetcher({
|
56
56
|
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), "contracts/estimate"),
|
@@ -59,13 +59,13 @@ class EmploymentApi {
|
|
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.4483",
|
63
63
|
},
|
64
64
|
contentType: "application/json",
|
65
65
|
body: yield serializers.api.thera.employment.CreateContractEstimateRequest.jsonOrThrow(request, {
|
66
66
|
unrecognizedObjectKeys: "strip",
|
67
67
|
}),
|
68
|
-
timeoutMs: 60000,
|
68
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
69
69
|
});
|
70
70
|
if (_response.ok) {
|
71
71
|
return yield serializers.api.thera.employment.CreateContractEstimateResponse.parseOrThrow(_response.body, {
|
@@ -100,7 +100,7 @@ class EmploymentApi {
|
|
100
100
|
/**
|
101
101
|
* DEPRECATED. Get Current Cycle for this contract
|
102
102
|
*/
|
103
|
-
getCurrentPayCycle(contractId) {
|
103
|
+
getCurrentPayCycle(contractId, requestOptions) {
|
104
104
|
return __awaiter(this, void 0, void 0, function* () {
|
105
105
|
const _response = yield core.fetcher({
|
106
106
|
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `contracts/${contractId}/payCycle`),
|
@@ -109,10 +109,10 @@ class EmploymentApi {
|
|
109
109
|
Authorization: yield this._getAuthorizationHeader(),
|
110
110
|
"X-Fern-Language": "JavaScript",
|
111
111
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
112
|
-
"X-Fern-SDK-Version": "0.0.
|
112
|
+
"X-Fern-SDK-Version": "0.0.4483",
|
113
113
|
},
|
114
114
|
contentType: "application/json",
|
115
|
-
timeoutMs: 60000,
|
115
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
116
116
|
});
|
117
117
|
if (_response.ok) {
|
118
118
|
return yield serializers.api.thera.employment.GetPayCycleResponse.parseOrThrow(_response.body, {
|
@@ -147,7 +147,7 @@ class EmploymentApi {
|
|
147
147
|
/**
|
148
148
|
* Get Cycle for this contract given a date
|
149
149
|
*/
|
150
|
-
getPayCycle(contractId, baseDate) {
|
150
|
+
getPayCycle(contractId, baseDate, requestOptions) {
|
151
151
|
return __awaiter(this, void 0, void 0, function* () {
|
152
152
|
const _response = yield core.fetcher({
|
153
153
|
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `contracts/${contractId}/payCycle/${baseDate}`),
|
@@ -156,10 +156,10 @@ class EmploymentApi {
|
|
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.4483",
|
160
160
|
},
|
161
161
|
contentType: "application/json",
|
162
|
-
timeoutMs: 60000,
|
162
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
163
163
|
});
|
164
164
|
if (_response.ok) {
|
165
165
|
return yield serializers.api.thera.employment.GetPayCycleResponse.parseOrThrow(_response.body, {
|
@@ -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.user = exports.payroll = exports.misc = exports.employment = exports.email = exports.disbursement = exports.company = exports.common = exports.bank = void 0;
|
26
|
+
exports.user = 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"));
|
@@ -8,6 +8,9 @@ export declare namespace Misc {
|
|
8
8
|
environment: core.Supplier<string>;
|
9
9
|
token?: core.Supplier<core.BearerToken | undefined>;
|
10
10
|
}
|
11
|
+
interface RequestOptions {
|
12
|
+
timeoutInSeconds?: number;
|
13
|
+
}
|
11
14
|
}
|
12
15
|
export declare class Misc {
|
13
16
|
protected readonly _options: Misc.Options;
|
package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts
CHANGED
@@ -8,6 +8,9 @@ export declare namespace Misc {
|
|
8
8
|
environment: core.Supplier<string>;
|
9
9
|
token?: core.Supplier<core.BearerToken | undefined>;
|
10
10
|
}
|
11
|
+
interface RequestOptions {
|
12
|
+
timeoutInSeconds?: number;
|
13
|
+
}
|
11
14
|
}
|
12
15
|
export declare class Misc {
|
13
16
|
protected readonly _options: Misc.Options;
|
@@ -16,6 +19,6 @@ export declare class Misc {
|
|
16
19
|
* Calling this API will trigger automatic payouts for all workers that have auto-withdrawals turned on. This cron may be re-used for other daily tasks in the future
|
17
20
|
*
|
18
21
|
*/
|
19
|
-
regularCron(request: TheraApi.api.thera.misc.DailyCronRequest): Promise<TheraApi.api.thera.misc.DailyCronResponse>;
|
22
|
+
regularCron(request: TheraApi.api.thera.misc.DailyCronRequest, requestOptions?: Misc.RequestOptions): Promise<TheraApi.api.thera.misc.DailyCronResponse>;
|
20
23
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
21
24
|
}
|
package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js
CHANGED
@@ -51,7 +51,7 @@ class Misc {
|
|
51
51
|
* Calling this API will trigger automatic payouts for all workers that have auto-withdrawals turned on. This cron may be re-used for other daily tasks in the future
|
52
52
|
*
|
53
53
|
*/
|
54
|
-
regularCron(request) {
|
54
|
+
regularCron(request, requestOptions) {
|
55
55
|
return __awaiter(this, void 0, void 0, function* () {
|
56
56
|
const { theraWebhookSignatureHeader } = request;
|
57
57
|
const _response = yield core.fetcher({
|
@@ -61,11 +61,11 @@ class Misc {
|
|
61
61
|
Authorization: yield this._getAuthorizationHeader(),
|
62
62
|
"X-Fern-Language": "JavaScript",
|
63
63
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
64
|
-
"X-Fern-SDK-Version": "0.0.
|
64
|
+
"X-Fern-SDK-Version": "0.0.4483",
|
65
65
|
"Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
|
66
66
|
},
|
67
67
|
contentType: "application/json",
|
68
|
-
timeoutMs: 60000,
|
68
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
69
69
|
});
|
70
70
|
if (_response.ok) {
|
71
71
|
return yield serializers.api.thera.misc.DailyCronResponse.parseOrThrow(_response.body, {
|
@@ -8,6 +8,9 @@ export declare namespace Payroll {
|
|
8
8
|
environment: core.Supplier<string>;
|
9
9
|
token?: core.Supplier<core.BearerToken | undefined>;
|
10
10
|
}
|
11
|
+
interface RequestOptions {
|
12
|
+
timeoutInSeconds?: number;
|
13
|
+
}
|
11
14
|
}
|
12
15
|
export declare class Payroll {
|
13
16
|
protected readonly _options: Payroll.Options;
|
@@ -8,6 +8,9 @@ export declare namespace OncycleApi {
|
|
8
8
|
environment: core.Supplier<string>;
|
9
9
|
token?: core.Supplier<core.BearerToken | undefined>;
|
10
10
|
}
|
11
|
+
interface RequestOptions {
|
12
|
+
timeoutInSeconds?: number;
|
13
|
+
}
|
11
14
|
}
|
12
15
|
export declare class OncycleApi {
|
13
16
|
protected readonly _options: OncycleApi.Options;
|
@@ -15,6 +18,6 @@ export declare class OncycleApi {
|
|
15
18
|
/**
|
16
19
|
*
|
17
20
|
*/
|
18
|
-
approveOncycleChecks(companyId: string): Promise<TheraApi.api.thera.payroll.ApproveOnCycleChecksResponse>;
|
21
|
+
approveOncycleChecks(companyId: string, requestOptions?: OncycleApi.RequestOptions): Promise<TheraApi.api.thera.payroll.ApproveOnCycleChecksResponse>;
|
19
22
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
20
23
|
}
|
@@ -50,7 +50,7 @@ class OncycleApi {
|
|
50
50
|
/**
|
51
51
|
*
|
52
52
|
*/
|
53
|
-
approveOncycleChecks(companyId) {
|
53
|
+
approveOncycleChecks(companyId, requestOptions) {
|
54
54
|
return __awaiter(this, void 0, void 0, function* () {
|
55
55
|
const _response = yield core.fetcher({
|
56
56
|
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `companies/${companyId}/w2-payroll/on-cycle-checks/approve`),
|
@@ -59,10 +59,10 @@ class OncycleApi {
|
|
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.4483",
|
63
63
|
},
|
64
64
|
contentType: "application/json",
|
65
|
-
timeoutMs: 60000,
|
65
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
66
66
|
});
|
67
67
|
if (_response.ok) {
|
68
68
|
return yield serializers.api.thera.payroll.ApproveOnCycleChecksResponse.parseOrThrow(_response.body, {
|
@@ -8,6 +8,9 @@ export declare namespace User {
|
|
8
8
|
environment: core.Supplier<string>;
|
9
9
|
token?: core.Supplier<core.BearerToken | undefined>;
|
10
10
|
}
|
11
|
+
interface RequestOptions {
|
12
|
+
timeoutInSeconds?: number;
|
13
|
+
}
|
11
14
|
}
|
12
15
|
export declare class User {
|
13
16
|
protected readonly _options: User.Options;
|
package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.d.ts
CHANGED
@@ -8,6 +8,9 @@ export declare namespace UserApi {
|
|
8
8
|
environment: core.Supplier<string>;
|
9
9
|
token?: core.Supplier<core.BearerToken | undefined>;
|
10
10
|
}
|
11
|
+
interface RequestOptions {
|
12
|
+
timeoutInSeconds?: number;
|
13
|
+
}
|
11
14
|
}
|
12
15
|
export declare class UserApi {
|
13
16
|
protected readonly _options: UserApi.Options;
|
@@ -15,6 +18,6 @@ export declare class UserApi {
|
|
15
18
|
/**
|
16
19
|
* Get User API
|
17
20
|
*/
|
18
|
-
getUser(request: TheraApi.api.thera.user.GetUserRequest): Promise<TheraApi.db.User>;
|
21
|
+
getUser(request: TheraApi.api.thera.user.GetUserRequest, requestOptions?: UserApi.RequestOptions): Promise<TheraApi.db.User>;
|
19
22
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
20
23
|
}
|
package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js
CHANGED
@@ -51,7 +51,7 @@ class UserApi {
|
|
51
51
|
/**
|
52
52
|
* Get User API
|
53
53
|
*/
|
54
|
-
getUser(request) {
|
54
|
+
getUser(request, requestOptions) {
|
55
55
|
return __awaiter(this, void 0, void 0, function* () {
|
56
56
|
const { userId } = request;
|
57
57
|
const _queryParams = new url_search_params_1.default();
|
@@ -63,11 +63,11 @@ class UserApi {
|
|
63
63
|
Authorization: yield this._getAuthorizationHeader(),
|
64
64
|
"X-Fern-Language": "JavaScript",
|
65
65
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
66
|
-
"X-Fern-SDK-Version": "0.0.
|
66
|
+
"X-Fern-SDK-Version": "0.0.4483",
|
67
67
|
},
|
68
68
|
contentType: "application/json",
|
69
69
|
queryParameters: _queryParams,
|
70
|
-
timeoutMs: 60000,
|
70
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
71
71
|
});
|
72
72
|
if (_response.ok) {
|
73
73
|
return yield serializers.db.User.parseOrThrow(_response.body, {
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export declare type PayCycleType = "WEEKLY" | "BIWEEKLY" | "SEMIMONTHLY" | "MONTHLY";
|
5
|
+
export declare const PayCycleType: {
|
6
|
+
readonly Weekly: "WEEKLY";
|
7
|
+
readonly Biweekly: "BIWEEKLY";
|
8
|
+
readonly Semimonthly: "SEMIMONTHLY";
|
9
|
+
readonly Monthly: "MONTHLY";
|
10
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.PayCycleType = void 0;
|
7
|
+
exports.PayCycleType = {
|
8
|
+
Weekly: "WEEKLY",
|
9
|
+
Biweekly: "BIWEEKLY",
|
10
|
+
Semimonthly: "SEMIMONTHLY",
|
11
|
+
Monthly: "MONTHLY",
|
12
|
+
};
|
@@ -5,5 +5,5 @@ import * as TheraApi from "../../../../..";
|
|
5
5
|
export interface Team {
|
6
6
|
name: string;
|
7
7
|
/** These pay cycles should be suggested to users in the UI when creating a contract with that `WageType`. */
|
8
|
-
defaultPayCycles: Record<TheraApi.
|
8
|
+
defaultPayCycles: Record<TheraApi.db.PayCycleType, TheraApi.db.DefaultPayCycle | undefined>;
|
9
9
|
}
|
@@ -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);
|
@@ -5,9 +5,4 @@ import * as TheraApi from "../../../../..";
|
|
5
5
|
export interface GenericType {
|
6
6
|
key: TheraApi.db.GenericTypeKey;
|
7
7
|
fxLedgerAccountIdByCurrency: Record<string, string>;
|
8
|
-
/**
|
9
|
-
* In prod, this list is used to determine which users should be able to create new accounts. This prevents unknown people from coming in and snooping on our platform. If a user tries to create an account that is not on this allow list, the FE should prompt them to set up a meeting with Thera.
|
10
|
-
*
|
11
|
-
*/
|
12
|
-
createAccountEmailAllowList: Set<string>;
|
13
8
|
}
|
@@ -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,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export declare type InvoiceType = "INVOICE" | "MILESTONE" | "EXPENSE" | "BONUS" | "COMMISSION" | "OTHER" | "OVERTIME";
|
5
|
+
export declare const InvoiceType: {
|
6
|
+
readonly Invoice: "INVOICE";
|
7
|
+
readonly Milestone: "MILESTONE";
|
8
|
+
readonly Expense: "EXPENSE";
|
9
|
+
readonly Bonus: "BONUS";
|
10
|
+
readonly Commission: "COMMISSION";
|
11
|
+
readonly Other: "OTHER";
|
12
|
+
readonly Overtime: "OVERTIME";
|
13
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.InvoiceType = void 0;
|
7
|
+
exports.InvoiceType = {
|
8
|
+
Invoice: "INVOICE",
|
9
|
+
Milestone: "MILESTONE",
|
10
|
+
Expense: "EXPENSE",
|
11
|
+
Bonus: "BONUS",
|
12
|
+
Commission: "COMMISSION",
|
13
|
+
Other: "OTHER",
|
14
|
+
Overtime: "OVERTIME",
|
15
|
+
};
|
@@ -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);
|
@@ -4,5 +4,6 @@
|
|
4
4
|
import * as TheraApi from "../../../../..";
|
5
5
|
export interface AiPriseVerificationResult {
|
6
6
|
status: TheraApi.db.AiPriseVerificationStatus;
|
7
|
-
|
7
|
+
/** If not present, then verification was uploaded manually and not completed through AiPrise. */
|
8
|
+
sessionId?: string;
|
8
9
|
}
|
@@ -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);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { default as URLSearchParams } from "@ungap/url-search-params";
|
2
|
-
import { AxiosAdapter
|
2
|
+
import { AxiosAdapter } from "axios";
|
3
3
|
import { APIResponse } from "./APIResponse";
|
4
4
|
export declare type FetchFunction = <R = unknown>(args: Fetcher.Args) => Promise<APIResponse<R, Fetcher.Error>>;
|
5
5
|
export declare namespace Fetcher {
|
@@ -14,7 +14,7 @@ export declare namespace Fetcher {
|
|
14
14
|
withCredentials?: boolean;
|
15
15
|
responseType?: "json" | "blob";
|
16
16
|
adapter?: AxiosAdapter;
|
17
|
-
onUploadProgress?: (event:
|
17
|
+
onUploadProgress?: (event: ProgressEvent) => void;
|
18
18
|
}
|
19
19
|
type Error = FailedStatusCodeError | NonJsonError | TimeoutError | UnknownError;
|
20
20
|
interface FailedStatusCodeError {
|
package/dist/core/index.d.ts
CHANGED
package/dist/core/index.js
CHANGED
@@ -15,6 +15,9 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
15
15
|
}) : function(o, v) {
|
16
16
|
o["default"] = v;
|
17
17
|
});
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
20
|
+
};
|
18
21
|
var __importStar = (this && this.__importStar) || function (mod) {
|
19
22
|
if (mod && mod.__esModule) return mod;
|
20
23
|
var result = {};
|
@@ -22,11 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
25
|
__setModuleDefault(result, mod);
|
23
26
|
return result;
|
24
27
|
};
|
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
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.serialization = void 0;
|
30
|
-
exports.serialization = __importStar(require("./schemas"));
|
31
30
|
__exportStar(require("./fetcher"), exports);
|
32
31
|
__exportStar(require("./auth"), exports);
|
32
|
+
exports.serialization = __importStar(require("./schemas"));
|
@@ -16,26 +16,26 @@ const schema_utils_1 = require("../schema-utils");
|
|
16
16
|
function undiscriminatedUnion(schemas) {
|
17
17
|
const baseSchema = {
|
18
18
|
parse: (raw, opts) => __awaiter(this, void 0, void 0, function* () {
|
19
|
-
return validateAndTransformUndiscriminatedUnion((schema) => schema.parse(raw, opts), schemas);
|
19
|
+
return validateAndTransformUndiscriminatedUnion((schema, opts) => schema.parse(raw, opts), schemas, opts);
|
20
20
|
}),
|
21
21
|
json: (parsed, opts) => __awaiter(this, void 0, void 0, function* () {
|
22
|
-
return validateAndTransformUndiscriminatedUnion((schema) => schema.json(parsed, opts), schemas);
|
22
|
+
return validateAndTransformUndiscriminatedUnion((schema, opts) => schema.json(parsed, opts), schemas, opts);
|
23
23
|
}),
|
24
24
|
getType: () => Schema_1.SchemaType.UNDISCRIMINATED_UNION,
|
25
25
|
};
|
26
26
|
return Object.assign(Object.assign({}, (0, maybeSkipValidation_1.maybeSkipValidation)(baseSchema)), (0, schema_utils_1.getSchemaUtils)(baseSchema));
|
27
27
|
}
|
28
28
|
exports.undiscriminatedUnion = undiscriminatedUnion;
|
29
|
-
function validateAndTransformUndiscriminatedUnion(transform, schemas) {
|
29
|
+
function validateAndTransformUndiscriminatedUnion(transform, schemas, opts) {
|
30
30
|
return __awaiter(this, void 0, void 0, function* () {
|
31
31
|
const errors = [];
|
32
32
|
for (const [index, schema] of schemas.entries()) {
|
33
|
-
const transformed = yield transform(schema);
|
33
|
+
const transformed = yield transform(schema, Object.assign(Object.assign({}, opts), { skipValidation: false }));
|
34
34
|
if (transformed.ok) {
|
35
35
|
return transformed;
|
36
36
|
}
|
37
37
|
else {
|
38
|
-
for (const error of errors) {
|
38
|
+
for (const error of transformed.errors) {
|
39
39
|
errors.push({
|
40
40
|
path: error.path,
|
41
41
|
message: `[Variant ${index}] ${error.message}`,
|
@@ -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"));
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./resources";
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./resources"), exports);
|
@@ -0,0 +1,31 @@
|
|
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.model = void 0;
|
30
|
+
exports.model = __importStar(require("./model"));
|
31
|
+
__exportStar(require("./model/types"), exports);
|