@thera-hr/api-sdk 1.1.1-prerelease2431-staging → 1.1.1-prerelease2432-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +33 -2
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +171 -40
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRangeRequest.d.ts +25 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRangeRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRequest.d.ts +12 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ContractorSubscriptionPayIn.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ContractorSubscriptionPayIn.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsResponse.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +4 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +2 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +24 -20
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CheckCanCreateAccountRequest.d.ts +6 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +8 -7
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvRecord.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
- package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +14 -14
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/company/types/Company.d.ts +2 -0
- package/api/resources/db/resources/company/types/Flags.d.ts +2 -1
- package/api/resources/db/resources/company/types/LastContractorBillingInfo.d.ts +9 -0
- package/api/resources/db/resources/company/types/LastContractorBillingInfo.js +5 -0
- 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/contract/types/Contract.d.ts +2 -0
- package/api/resources/db/resources/generic/types/GenericType.d.ts +1 -0
- package/api/resources/db/resources/index.d.ts +2 -0
- package/api/resources/db/resources/index.js +3 -1
- package/api/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +2 -0
- package/api/resources/db/resources/payoutQueue/index.d.ts +1 -0
- package/api/resources/db/resources/payoutQueue/index.js +17 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutProvider.d.ts +9 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutProvider.js +11 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +50 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutQueueItem.js +5 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutStatus.js +12 -0
- package/api/resources/db/resources/payoutQueue/types/index.d.ts +3 -0
- package/api/resources/db/resources/payoutQueue/types/index.js +19 -0
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +33 -2
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +171 -40
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRangeRequest.d.ts +25 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRangeRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRequest.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ContractorSubscriptionPayIn.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ContractorSubscriptionPayIn.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsResponse.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +4 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +2 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +24 -20
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CheckCanCreateAccountRequest.d.ts +6 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +8 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvRecord.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +14 -14
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/company/types/Company.d.ts +2 -0
- package/dist/api/resources/db/resources/company/types/Flags.d.ts +2 -1
- package/dist/api/resources/db/resources/company/types/LastContractorBillingInfo.d.ts +9 -0
- package/dist/api/resources/db/resources/company/types/LastContractorBillingInfo.js +5 -0
- 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/contract/types/Contract.d.ts +2 -0
- package/dist/api/resources/db/resources/generic/types/GenericType.d.ts +1 -0
- 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/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +2 -0
- package/dist/api/resources/db/resources/payoutQueue/index.d.ts +1 -0
- package/dist/api/resources/db/resources/payoutQueue/index.js +17 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutProvider.d.ts +9 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutProvider.js +11 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +50 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutQueueItem.js +5 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutStatus.js +12 -0
- package/dist/api/resources/db/resources/payoutQueue/types/index.d.ts +3 -0
- package/dist/api/resources/db/resources/payoutQueue/types/index.js +19 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ContractorSubscriptionPayIn.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ContractorSubscriptionPayIn.js +45 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.js +45 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsResponse.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsResponse.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +5 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.js +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvRecord.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvRecord.js +1 -0
- package/dist/serialization/resources/db/resources/company/types/Company.d.ts +3 -0
- package/dist/serialization/resources/db/resources/company/types/Company.js +3 -0
- package/dist/serialization/resources/db/resources/company/types/Flags.d.ts +2 -1
- package/dist/serialization/resources/db/resources/company/types/Flags.js +2 -1
- package/dist/serialization/resources/db/resources/company/types/LastContractorBillingInfo.d.ts +14 -0
- package/dist/serialization/resources/db/resources/company/types/LastContractorBillingInfo.js +45 -0
- 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/contract/types/Contract.d.ts +1 -0
- package/dist/serialization/resources/db/resources/contract/types/Contract.js +1 -0
- package/dist/serialization/resources/db/resources/generic/types/GenericType.d.ts +1 -0
- package/dist/serialization/resources/db/resources/generic/types/GenericType.js +1 -0
- 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/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +2 -0
- package/dist/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.js +2 -0
- package/dist/serialization/resources/db/resources/payoutQueue/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/payoutQueue/index.js +17 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutProvider.d.ts +10 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutProvider.js +41 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +35 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.js +66 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.js +41 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/index.d.ts +3 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/index.js +19 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +176 -2
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ContractorSubscriptionPayIn.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ContractorSubscriptionPayIn.js +45 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.js +45 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsResponse.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsResponse.js +1 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +5 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.js +2 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvRecord.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvRecord.js +1 -0
- package/serialization/resources/db/resources/company/types/Company.d.ts +3 -0
- package/serialization/resources/db/resources/company/types/Company.js +3 -0
- package/serialization/resources/db/resources/company/types/Flags.d.ts +2 -1
- package/serialization/resources/db/resources/company/types/Flags.js +2 -1
- package/serialization/resources/db/resources/company/types/LastContractorBillingInfo.d.ts +14 -0
- package/serialization/resources/db/resources/company/types/LastContractorBillingInfo.js +45 -0
- 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/contract/types/Contract.d.ts +1 -0
- package/serialization/resources/db/resources/contract/types/Contract.js +1 -0
- package/serialization/resources/db/resources/generic/types/GenericType.d.ts +1 -0
- package/serialization/resources/db/resources/generic/types/GenericType.js +1 -0
- package/serialization/resources/db/resources/index.d.ts +2 -0
- package/serialization/resources/db/resources/index.js +3 -1
- package/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +2 -0
- package/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.js +2 -0
- package/serialization/resources/db/resources/payoutQueue/index.d.ts +1 -0
- package/serialization/resources/db/resources/payoutQueue/index.js +17 -0
- package/serialization/resources/db/resources/payoutQueue/types/PayoutProvider.d.ts +10 -0
- package/serialization/resources/db/resources/payoutQueue/types/PayoutProvider.js +41 -0
- package/serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +35 -0
- package/serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.js +66 -0
- package/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
- package/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.js +41 -0
- package/serialization/resources/db/resources/payoutQueue/types/index.d.ts +3 -0
- package/serialization/resources/db/resources/payoutQueue/types/index.js +19 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
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.PayoutProvider = void 0;
|
|
7
|
+
exports.PayoutProvider = {
|
|
8
|
+
Wise: "WISE",
|
|
9
|
+
Dlocal: "DLOCAL",
|
|
10
|
+
Offplatform: "OFFPLATFORM",
|
|
11
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TheraApi from "../../../../../index";
|
|
5
|
+
export interface PayoutQueueItem {
|
|
6
|
+
/** Unique identifier from Modern Treasury ledger transaction (1:1 mapping) */
|
|
7
|
+
ledgerTransactionId: string;
|
|
8
|
+
/** User ID of the contractor receiving the payout */
|
|
9
|
+
userId: string;
|
|
10
|
+
/** Company ID making the payout */
|
|
11
|
+
companyId: string;
|
|
12
|
+
/** ID of the withdrawal method used */
|
|
13
|
+
withdrawalMethodId: string;
|
|
14
|
+
/** Amount in cents (source currency) */
|
|
15
|
+
amount: number;
|
|
16
|
+
/** Source currency code (e.g., USD) */
|
|
17
|
+
currency: string;
|
|
18
|
+
/** Quoted destination amount in cents */
|
|
19
|
+
quotedDestinationAmount: number;
|
|
20
|
+
/** Destination currency code */
|
|
21
|
+
quotedDestinationCurrency: string;
|
|
22
|
+
/** Payment provider used for this payout */
|
|
23
|
+
provider: TheraApi.db.PayoutProvider;
|
|
24
|
+
/** Current status of the payout in the queue */
|
|
25
|
+
status: TheraApi.db.PayoutStatus;
|
|
26
|
+
/** Whether this was an automatic withdrawal */
|
|
27
|
+
autoWithdrawal: boolean;
|
|
28
|
+
/** ISO8601 timestamp when payout was queued */
|
|
29
|
+
createdAt: string;
|
|
30
|
+
/** ISO8601 timestamp of last update */
|
|
31
|
+
updatedAt: string;
|
|
32
|
+
/** ISO8601 timestamp when processing started */
|
|
33
|
+
processingStartedAt?: string;
|
|
34
|
+
/** ISO8601 timestamp when payout completed successfully */
|
|
35
|
+
completedAt?: string;
|
|
36
|
+
/** Number of times this payout has been manually retried */
|
|
37
|
+
retryCount: number;
|
|
38
|
+
/** Last error message if payout failed */
|
|
39
|
+
lastError?: string;
|
|
40
|
+
/** Stack trace of last error for debugging */
|
|
41
|
+
lastErrorStackTrace?: string;
|
|
42
|
+
/** ISO8601 timestamp of last error */
|
|
43
|
+
lastErrorTimestamp?: string;
|
|
44
|
+
/** Provider's transaction/transfer ID after successful completion */
|
|
45
|
+
payoutId?: string;
|
|
46
|
+
/** Wise transfer ID if transfer created but funding failed (for idempotent retry) */
|
|
47
|
+
wiseTransferId?: string;
|
|
48
|
+
/** Server instance ID that processed this item (for debugging concurrent processing) */
|
|
49
|
+
processingInstanceId?: string;
|
|
50
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type PayoutStatus = "QUEUED" | "PROCESSING" | "COMPLETED" | "FAILED";
|
|
5
|
+
export declare const PayoutStatus: {
|
|
6
|
+
readonly Queued: "QUEUED";
|
|
7
|
+
readonly Processing: "PROCESSING";
|
|
8
|
+
readonly Completed: "COMPLETED";
|
|
9
|
+
readonly Failed: "FAILED";
|
|
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.PayoutStatus = void 0;
|
|
7
|
+
exports.PayoutStatus = {
|
|
8
|
+
Queued: "QUEUED",
|
|
9
|
+
Processing: "PROCESSING",
|
|
10
|
+
Completed: "COMPLETED",
|
|
11
|
+
Failed: "FAILED",
|
|
12
|
+
};
|
|
@@ -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("./PayoutProvider"), exports);
|
|
18
|
+
__exportStar(require("./PayoutStatus"), exports);
|
|
19
|
+
__exportStar(require("./PayoutQueueItem"), exports);
|
package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js
CHANGED
|
@@ -108,7 +108,7 @@ class AipriseWebhookApi {
|
|
|
108
108
|
const _response = yield core.fetcher({
|
|
109
109
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/aiprise/webhook/verification/callback"),
|
|
110
110
|
method: "POST",
|
|
111
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-
|
|
111
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-prerelease2432-dev", "User-Agent": "@thera-hr/api-sdk/1.1.1-prerelease2432-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
112
112
|
contentType: "application/json",
|
|
113
113
|
requestType: "json",
|
|
114
114
|
body: serializers.api.aiprise.AiPriseVerificationCallback.jsonOrThrow(request, {
|
|
@@ -87,7 +87,7 @@ class Dev {
|
|
|
87
87
|
const _response = yield core.fetcher({
|
|
88
88
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/dev/eor"),
|
|
89
89
|
method: "POST",
|
|
90
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-
|
|
90
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-prerelease2432-dev", "User-Agent": "@thera-hr/api-sdk/1.1.1-prerelease2432-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
91
91
|
contentType: "application/json",
|
|
92
92
|
requestType: "json",
|
|
93
93
|
body: serializers.api.dev.AddEorEmployeeRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -113,7 +113,7 @@ class ExternalApi {
|
|
|
113
113
|
const _response = yield core.fetcher({
|
|
114
114
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/external/v2/contractor"),
|
|
115
115
|
method: "POST",
|
|
116
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-
|
|
116
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-prerelease2432-dev", "User-Agent": "@thera-hr/api-sdk/1.1.1-prerelease2432-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
117
117
|
contentType: "application/json",
|
|
118
118
|
requestType: "json",
|
|
119
119
|
body: serializers.api.external.ExternalCreateContractorRequestV2.jsonOrThrow(request, {
|
|
@@ -74,7 +74,7 @@ class File_ {
|
|
|
74
74
|
const _response = yield core.fetcher({
|
|
75
75
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/contracts/${encodeURIComponent(contractId)}/generic-document`),
|
|
76
76
|
method: "POST",
|
|
77
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-
|
|
77
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-prerelease2432-dev", "User-Agent": "@thera-hr/api-sdk/1.1.1-prerelease2432-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
requestType: "json",
|
|
80
80
|
body: serializers.api.services.AttachDocumentToEmploymentRequest.jsonOrThrow(request, {
|
|
@@ -125,7 +125,7 @@ class File_ {
|
|
|
125
125
|
const _response = yield core.fetcher({
|
|
126
126
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/contracts/${encodeURIComponent(contractId)}/generic-document/${encodeURIComponent(s3Key)}`),
|
|
127
127
|
method: "DELETE",
|
|
128
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-
|
|
128
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-prerelease2432-dev", "User-Agent": "@thera-hr/api-sdk/1.1.1-prerelease2432-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
129
129
|
contentType: "application/json",
|
|
130
130
|
requestType: "json",
|
|
131
131
|
body: serializers.api.services.DeleteDocumentFromEmploymentRequest.jsonOrThrow(request, {
|
|
@@ -173,7 +173,7 @@ class File_ {
|
|
|
173
173
|
const _response = yield core.fetcher({
|
|
174
174
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/contracts/${encodeURIComponent(contractId)}/generic-document/${encodeURIComponent(s3Key)}/file-url`),
|
|
175
175
|
method: "GET",
|
|
176
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-
|
|
176
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-prerelease2432-dev", "User-Agent": "@thera-hr/api-sdk/1.1.1-prerelease2432-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
177
177
|
contentType: "application/json",
|
|
178
178
|
requestType: "json",
|
|
179
179
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -224,7 +224,7 @@ class File_ {
|
|
|
224
224
|
const _response = yield core.fetcher({
|
|
225
225
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/contracts/eor/${encodeURIComponent(contractId)}/payslips/${encodeURIComponent(s3Key)}/fileUrl`),
|
|
226
226
|
method: "GET",
|
|
227
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-
|
|
227
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-prerelease2432-dev", "User-Agent": "@thera-hr/api-sdk/1.1.1-prerelease2432-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
228
228
|
contentType: "application/json",
|
|
229
229
|
requestType: "json",
|
|
230
230
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -275,7 +275,7 @@ class File_ {
|
|
|
275
275
|
const _response = yield core.fetcher({
|
|
276
276
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/companies/${encodeURIComponent(companyId)}/contracts/eor/pay-in/${encodeURIComponent(s3Key)}/file-url`),
|
|
277
277
|
method: "GET",
|
|
278
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-
|
|
278
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-prerelease2432-dev", "User-Agent": "@thera-hr/api-sdk/1.1.1-prerelease2432-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
279
279
|
contentType: "application/json",
|
|
280
280
|
requestType: "json",
|
|
281
281
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -77,7 +77,7 @@ class AccountingApi {
|
|
|
77
77
|
const _response = yield core.fetcher({
|
|
78
78
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/accounting/settings`),
|
|
79
79
|
method: "PUT",
|
|
80
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-
|
|
80
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-prerelease2432-dev", "User-Agent": "@thera-hr/api-sdk/1.1.1-prerelease2432-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
body: serializers.api.thera.accounting.ModifyAccountingIntegrationSetting.jsonOrThrow(request, {
|
|
@@ -124,7 +124,7 @@ class AccountingApi {
|
|
|
124
124
|
const _response = yield core.fetcher({
|
|
125
125
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/accounting/info`),
|
|
126
126
|
method: "GET",
|
|
127
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-
|
|
127
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-prerelease2432-dev", "User-Agent": "@thera-hr/api-sdk/1.1.1-prerelease2432-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
128
128
|
contentType: "application/json",
|
|
129
129
|
requestType: "json",
|
|
130
130
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -174,7 +174,7 @@ class AccountingApi {
|
|
|
174
174
|
const _response = yield core.fetcher({
|
|
175
175
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/accounting/account-mapping`),
|
|
176
176
|
method: "GET",
|
|
177
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-
|
|
177
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-prerelease2432-dev", "User-Agent": "@thera-hr/api-sdk/1.1.1-prerelease2432-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
178
178
|
contentType: "application/json",
|
|
179
179
|
requestType: "json",
|
|
180
180
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -227,7 +227,7 @@ class AccountingApi {
|
|
|
227
227
|
const _response = yield core.fetcher({
|
|
228
228
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/accounting/authorize`),
|
|
229
229
|
method: "POST",
|
|
230
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-
|
|
230
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "1.1.1-prerelease2432-dev", "User-Agent": "@thera-hr/api-sdk/1.1.1-prerelease2432-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
231
231
|
contentType: "application/json",
|
|
232
232
|
requestType: "json",
|
|
233
233
|
body: serializers.api.thera.accounting.CompleteAccountingIntegrationAuth.jsonOrThrow(request, {
|
package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts
CHANGED
|
@@ -394,12 +394,43 @@ export declare class BankApi {
|
|
|
394
394
|
/**
|
|
395
395
|
* @param {string} userId
|
|
396
396
|
* @param {string} companyId
|
|
397
|
+
* @param {TheraApi.api.thera.bank.GetWorkerTransactionsRequest} request
|
|
397
398
|
* @param {BankApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
398
399
|
*
|
|
399
400
|
* @example
|
|
400
|
-
* await client.api.thera.bank.bankApi.getWorkerTransactions("string", "string"
|
|
401
|
+
* await client.api.thera.bank.bankApi.getWorkerTransactions("string", "string", {
|
|
402
|
+
* afterCursor: "string"
|
|
403
|
+
* })
|
|
404
|
+
*/
|
|
405
|
+
getWorkerTransactions(userId: string, companyId: string, request?: TheraApi.api.thera.bank.GetWorkerTransactionsRequest, requestOptions?: BankApi.RequestOptions): Promise<TheraApi.api.thera.bank.GetWorkerTransactionsResponse>;
|
|
406
|
+
/**
|
|
407
|
+
* Get all worker transactions within a date range. Uses autoPager to fetch all results (no pagination).
|
|
408
|
+
*
|
|
409
|
+
* @param {string} userId
|
|
410
|
+
* @param {string} companyId
|
|
411
|
+
* @param {TheraApi.api.thera.bank.GetWorkerTransactionsRangeRequest} request
|
|
412
|
+
* @param {BankApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
413
|
+
*
|
|
414
|
+
* @example
|
|
415
|
+
* await client.api.thera.bank.bankApi.getWorkerTransactionsRange("string", "string", {
|
|
416
|
+
* startDate: "string",
|
|
417
|
+
* endDate: "string",
|
|
418
|
+
* exportAs: "string"
|
|
419
|
+
* })
|
|
420
|
+
*/
|
|
421
|
+
getWorkerTransactionsRange(userId: string, companyId: string, request: TheraApi.api.thera.bank.GetWorkerTransactionsRangeRequest, requestOptions?: BankApi.RequestOptions): Promise<TheraApi.api.thera.bank.GetWorkerTransactionsRangeResponse>;
|
|
422
|
+
/**
|
|
423
|
+
* Get a specific worker transaction by its ledger transaction ID
|
|
424
|
+
*
|
|
425
|
+
* @param {string} userId
|
|
426
|
+
* @param {string} companyId
|
|
427
|
+
* @param {string} transactionId
|
|
428
|
+
* @param {BankApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
429
|
+
*
|
|
430
|
+
* @example
|
|
431
|
+
* await client.api.thera.bank.bankApi.getWorkerTransactionById("string", "string", "string")
|
|
401
432
|
*/
|
|
402
|
-
|
|
433
|
+
getWorkerTransactionById(userId: string, companyId: string, transactionId: string, requestOptions?: BankApi.RequestOptions): Promise<TheraApi.api.thera.bank.WorkerTransaction>;
|
|
403
434
|
/**
|
|
404
435
|
* @param {string} withdrawalId
|
|
405
436
|
* @param {BankApi.RequestOptions} requestOptions - Request-specific configuration.
|