@thera-hr/api-sdk 1.1.1-prerelease2430-staging → 1.1.1-prerelease2430-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 +36 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +175 -43
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/EditWithdrawalMethodRequest.d.ts +11 -3
- 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/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/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -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 +36 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +175 -43
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/EditWithdrawalMethodRequest.d.ts +11 -3
- 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/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/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -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/client/requests/EditWithdrawalMethodRequest.d.ts +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/EditWithdrawalMethodRequest.js +2 -1
- 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/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -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 +177 -2
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/EditWithdrawalMethodRequest.d.ts +2 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/EditWithdrawalMethodRequest.js +2 -1
- 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/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -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
package/reference.md
CHANGED
|
@@ -2130,6 +2130,7 @@ await client.api.thera.bank.bankApi.deleteWithdrawalMethod("string", "string");
|
|
|
2130
2130
|
```typescript
|
|
2131
2131
|
await client.api.thera.bank.bankApi.editWithdrawalMethod("string", "string", {
|
|
2132
2132
|
preferred: true,
|
|
2133
|
+
forceOffPlatformReason: "string",
|
|
2133
2134
|
});
|
|
2134
2135
|
```
|
|
2135
2136
|
|
|
@@ -2518,10 +2519,174 @@ await client.api.thera.bank.bankApi.getWorkerBalance("string", "string");
|
|
|
2518
2519
|
</dl>
|
|
2519
2520
|
</details>
|
|
2520
2521
|
|
|
2521
|
-
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getWorkerTransactions</a>(userId, companyId) -> TheraApi.GetWorkerTransactionsResponse</code></summary>
|
|
2522
|
+
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getWorkerTransactions</a>(userId, companyId, { ...params }) -> TheraApi.GetWorkerTransactionsResponse</code></summary>
|
|
2523
|
+
<dl>
|
|
2524
|
+
<dd>
|
|
2525
|
+
|
|
2526
|
+
#### 🔌 Usage
|
|
2527
|
+
|
|
2528
|
+
<dl>
|
|
2529
|
+
<dd>
|
|
2530
|
+
|
|
2531
|
+
<dl>
|
|
2532
|
+
<dd>
|
|
2533
|
+
|
|
2534
|
+
```typescript
|
|
2535
|
+
await client.api.thera.bank.bankApi.getWorkerTransactions("string", "string", {
|
|
2536
|
+
afterCursor: "string",
|
|
2537
|
+
});
|
|
2538
|
+
```
|
|
2539
|
+
|
|
2540
|
+
</dd>
|
|
2541
|
+
</dl>
|
|
2542
|
+
</dd>
|
|
2543
|
+
</dl>
|
|
2544
|
+
|
|
2545
|
+
#### ⚙️ Parameters
|
|
2546
|
+
|
|
2547
|
+
<dl>
|
|
2548
|
+
<dd>
|
|
2549
|
+
|
|
2550
|
+
<dl>
|
|
2551
|
+
<dd>
|
|
2552
|
+
|
|
2553
|
+
**userId:** `string`
|
|
2554
|
+
|
|
2555
|
+
</dd>
|
|
2556
|
+
</dl>
|
|
2557
|
+
|
|
2558
|
+
<dl>
|
|
2559
|
+
<dd>
|
|
2560
|
+
|
|
2561
|
+
**companyId:** `string`
|
|
2562
|
+
|
|
2563
|
+
</dd>
|
|
2564
|
+
</dl>
|
|
2565
|
+
|
|
2566
|
+
<dl>
|
|
2567
|
+
<dd>
|
|
2568
|
+
|
|
2569
|
+
**request:** `TheraApi.api.thera.bank.GetWorkerTransactionsRequest`
|
|
2570
|
+
|
|
2571
|
+
</dd>
|
|
2572
|
+
</dl>
|
|
2573
|
+
|
|
2574
|
+
<dl>
|
|
2575
|
+
<dd>
|
|
2576
|
+
|
|
2577
|
+
**requestOptions:** `BankApi.RequestOptions`
|
|
2578
|
+
|
|
2579
|
+
</dd>
|
|
2580
|
+
</dl>
|
|
2581
|
+
</dd>
|
|
2582
|
+
</dl>
|
|
2583
|
+
|
|
2584
|
+
</dd>
|
|
2585
|
+
</dl>
|
|
2586
|
+
</details>
|
|
2587
|
+
|
|
2588
|
+
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getWorkerTransactionsRange</a>(userId, companyId, { ...params }) -> TheraApi.GetWorkerTransactionsRangeResponse</code></summary>
|
|
2589
|
+
<dl>
|
|
2590
|
+
<dd>
|
|
2591
|
+
|
|
2592
|
+
#### 📝 Description
|
|
2593
|
+
|
|
2594
|
+
<dl>
|
|
2595
|
+
<dd>
|
|
2596
|
+
|
|
2597
|
+
<dl>
|
|
2598
|
+
<dd>
|
|
2599
|
+
|
|
2600
|
+
Get all worker transactions within a date range. Uses autoPager to fetch all results (no pagination).
|
|
2601
|
+
|
|
2602
|
+
</dd>
|
|
2603
|
+
</dl>
|
|
2604
|
+
</dd>
|
|
2605
|
+
</dl>
|
|
2606
|
+
|
|
2607
|
+
#### 🔌 Usage
|
|
2608
|
+
|
|
2609
|
+
<dl>
|
|
2610
|
+
<dd>
|
|
2611
|
+
|
|
2612
|
+
<dl>
|
|
2613
|
+
<dd>
|
|
2614
|
+
|
|
2615
|
+
```typescript
|
|
2616
|
+
await client.api.thera.bank.bankApi.getWorkerTransactionsRange("string", "string", {
|
|
2617
|
+
startDate: "string",
|
|
2618
|
+
endDate: "string",
|
|
2619
|
+
exportAs: "string",
|
|
2620
|
+
});
|
|
2621
|
+
```
|
|
2622
|
+
|
|
2623
|
+
</dd>
|
|
2624
|
+
</dl>
|
|
2625
|
+
</dd>
|
|
2626
|
+
</dl>
|
|
2627
|
+
|
|
2628
|
+
#### ⚙️ Parameters
|
|
2629
|
+
|
|
2630
|
+
<dl>
|
|
2631
|
+
<dd>
|
|
2632
|
+
|
|
2633
|
+
<dl>
|
|
2634
|
+
<dd>
|
|
2635
|
+
|
|
2636
|
+
**userId:** `string`
|
|
2637
|
+
|
|
2638
|
+
</dd>
|
|
2639
|
+
</dl>
|
|
2640
|
+
|
|
2641
|
+
<dl>
|
|
2642
|
+
<dd>
|
|
2643
|
+
|
|
2644
|
+
**companyId:** `string`
|
|
2645
|
+
|
|
2646
|
+
</dd>
|
|
2647
|
+
</dl>
|
|
2648
|
+
|
|
2649
|
+
<dl>
|
|
2650
|
+
<dd>
|
|
2651
|
+
|
|
2652
|
+
**request:** `TheraApi.api.thera.bank.GetWorkerTransactionsRangeRequest`
|
|
2653
|
+
|
|
2654
|
+
</dd>
|
|
2655
|
+
</dl>
|
|
2656
|
+
|
|
2657
|
+
<dl>
|
|
2658
|
+
<dd>
|
|
2659
|
+
|
|
2660
|
+
**requestOptions:** `BankApi.RequestOptions`
|
|
2661
|
+
|
|
2662
|
+
</dd>
|
|
2663
|
+
</dl>
|
|
2664
|
+
</dd>
|
|
2665
|
+
</dl>
|
|
2666
|
+
|
|
2667
|
+
</dd>
|
|
2668
|
+
</dl>
|
|
2669
|
+
</details>
|
|
2670
|
+
|
|
2671
|
+
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getWorkerTransactionById</a>(userId, companyId, transactionId) -> TheraApi.WorkerTransaction</code></summary>
|
|
2522
2672
|
<dl>
|
|
2523
2673
|
<dd>
|
|
2524
2674
|
|
|
2675
|
+
#### 📝 Description
|
|
2676
|
+
|
|
2677
|
+
<dl>
|
|
2678
|
+
<dd>
|
|
2679
|
+
|
|
2680
|
+
<dl>
|
|
2681
|
+
<dd>
|
|
2682
|
+
|
|
2683
|
+
Get a specific worker transaction by its ledger transaction ID
|
|
2684
|
+
|
|
2685
|
+
</dd>
|
|
2686
|
+
</dl>
|
|
2687
|
+
</dd>
|
|
2688
|
+
</dl>
|
|
2689
|
+
|
|
2525
2690
|
#### 🔌 Usage
|
|
2526
2691
|
|
|
2527
2692
|
<dl>
|
|
@@ -2531,7 +2696,7 @@ await client.api.thera.bank.bankApi.getWorkerBalance("string", "string");
|
|
|
2531
2696
|
<dd>
|
|
2532
2697
|
|
|
2533
2698
|
```typescript
|
|
2534
|
-
await client.api.thera.bank.bankApi.
|
|
2699
|
+
await client.api.thera.bank.bankApi.getWorkerTransactionById("string", "string", "string");
|
|
2535
2700
|
```
|
|
2536
2701
|
|
|
2537
2702
|
</dd>
|
|
@@ -2563,6 +2728,14 @@ await client.api.thera.bank.bankApi.getWorkerTransactions("string", "string");
|
|
|
2563
2728
|
<dl>
|
|
2564
2729
|
<dd>
|
|
2565
2730
|
|
|
2731
|
+
**transactionId:** `string`
|
|
2732
|
+
|
|
2733
|
+
</dd>
|
|
2734
|
+
</dl>
|
|
2735
|
+
|
|
2736
|
+
<dl>
|
|
2737
|
+
<dd>
|
|
2738
|
+
|
|
2566
2739
|
**requestOptions:** `BankApi.RequestOptions`
|
|
2567
2740
|
|
|
2568
2741
|
</dd>
|
|
@@ -6327,6 +6500,7 @@ Check that a new user is authorized to create a new account. This is determined
|
|
|
6327
6500
|
```typescript
|
|
6328
6501
|
await client.api.thera.company.companyApi.checkCanCreateAccount({
|
|
6329
6502
|
email: "string",
|
|
6503
|
+
onlyCheckAllowlist: true,
|
|
6330
6504
|
});
|
|
6331
6505
|
```
|
|
6332
6506
|
|
|
@@ -7298,6 +7472,7 @@ await client.api.thera.disbursement.disbursementApi.uploadCsvInvoice("string", {
|
|
|
7298
7472
|
workUnitTotal: 1.1,
|
|
7299
7473
|
type: "ONCYCLE",
|
|
7300
7474
|
userId: "string",
|
|
7475
|
+
itemType: "string",
|
|
7301
7476
|
custom: {
|
|
7302
7477
|
string: "string",
|
|
7303
7478
|
},
|
|
@@ -7,6 +7,7 @@ import * as core from "../../../../../../../../../../../core";
|
|
|
7
7
|
export declare const EditWithdrawalMethodRequest: core.serialization.Schema<serializers.api.thera.bank.EditWithdrawalMethodRequest.Raw, TheraApi.api.thera.bank.EditWithdrawalMethodRequest>;
|
|
8
8
|
export declare namespace EditWithdrawalMethodRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
-
preferred
|
|
10
|
+
preferred?: boolean | null;
|
|
11
|
+
forceOffPlatformReason?: string | null;
|
|
11
12
|
}
|
|
12
13
|
}
|
|
@@ -39,5 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.EditWithdrawalMethodRequest = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../../../../../core"));
|
|
41
41
|
exports.EditWithdrawalMethodRequest = core.serialization.object({
|
|
42
|
-
preferred: core.serialization.boolean(),
|
|
42
|
+
preferred: core.serialization.boolean().optional(),
|
|
43
|
+
forceOffPlatformReason: core.serialization.string().optional(),
|
|
43
44
|
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { WorkerTransaction } from "./WorkerTransaction";
|
|
8
|
+
export declare const GetWorkerTransactionsRangeResponse: core.serialization.ObjectSchema<serializers.api.thera.bank.GetWorkerTransactionsRangeResponse.Raw, TheraApi.api.thera.bank.GetWorkerTransactionsRangeResponse>;
|
|
9
|
+
export declare namespace GetWorkerTransactionsRangeResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
transactions: WorkerTransaction.Raw[];
|
|
12
|
+
csv?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.GetWorkerTransactionsRangeResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const WorkerTransaction_1 = require("./WorkerTransaction");
|
|
42
|
+
exports.GetWorkerTransactionsRangeResponse = core.serialization.object({
|
|
43
|
+
transactions: core.serialization.list(WorkerTransaction_1.WorkerTransaction),
|
|
44
|
+
csv: core.serialization.string().optional(),
|
|
45
|
+
});
|
|
@@ -41,4 +41,5 @@ const core = __importStar(require("../../../../../../../../../../core"));
|
|
|
41
41
|
const WorkerTransaction_1 = require("./WorkerTransaction");
|
|
42
42
|
exports.GetWorkerTransactionsResponse = core.serialization.object({
|
|
43
43
|
transactions: core.serialization.list(WorkerTransaction_1.WorkerTransaction),
|
|
44
|
+
nextCursor: core.serialization.string().optional(),
|
|
44
45
|
});
|
|
@@ -61,6 +61,7 @@ export * from "./HistoricalInvoice";
|
|
|
61
61
|
export * from "./GetWorkerBalancesResponse";
|
|
62
62
|
export * from "./WorkerBalance";
|
|
63
63
|
export * from "./GetWorkerTransactionsResponse";
|
|
64
|
+
export * from "./GetWorkerTransactionsRangeResponse";
|
|
64
65
|
export * from "./WorkerTransaction";
|
|
65
66
|
export * from "./WorkerTransactionDetails";
|
|
66
67
|
export * from "./WorkerWithdrawalTransaction";
|
package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js
CHANGED
|
@@ -77,6 +77,7 @@ __exportStar(require("./HistoricalInvoice"), exports);
|
|
|
77
77
|
__exportStar(require("./GetWorkerBalancesResponse"), exports);
|
|
78
78
|
__exportStar(require("./WorkerBalance"), exports);
|
|
79
79
|
__exportStar(require("./GetWorkerTransactionsResponse"), exports);
|
|
80
|
+
__exportStar(require("./GetWorkerTransactionsRangeResponse"), exports);
|
|
80
81
|
__exportStar(require("./WorkerTransaction"), exports);
|
|
81
82
|
__exportStar(require("./WorkerTransactionDetails"), exports);
|
|
82
83
|
__exportStar(require("./WorkerWithdrawalTransaction"), exports);
|
|
@@ -49,5 +49,6 @@ exports.CreateInvoiceCsvRecord = core.serialization.object({
|
|
|
49
49
|
workUnitTotal: core.serialization.property("work_unit_total", core.serialization.number()),
|
|
50
50
|
type: InvoiceTypeCsvRecord_1.InvoiceTypeCsvRecord,
|
|
51
51
|
userId: core.serialization.property("user_id", core.serialization.string().optional()),
|
|
52
|
+
itemType: core.serialization.property("item_type", core.serialization.string().optional()),
|
|
52
53
|
custom: core.serialization.property("$custom", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
|
|
53
54
|
});
|
|
@@ -18,6 +18,7 @@ import { MercoaCompanyDetails } from "./MercoaCompanyDetails";
|
|
|
18
18
|
import { CompanyAccountingInformation } from "./CompanyAccountingInformation";
|
|
19
19
|
import { CompanyBankingDetails } from "./CompanyBankingDetails";
|
|
20
20
|
import { IncorporationDetails } from "./IncorporationDetails";
|
|
21
|
+
import { LastContractorBillingInfo } from "./LastContractorBillingInfo";
|
|
21
22
|
export declare const Company: core.serialization.ObjectSchema<serializers.db.Company.Raw, TheraApi.db.Company>;
|
|
22
23
|
export declare namespace Company {
|
|
23
24
|
interface Raw {
|
|
@@ -25,6 +26,7 @@ export declare namespace Company {
|
|
|
25
26
|
companyName: string;
|
|
26
27
|
dbaName: string;
|
|
27
28
|
email: string;
|
|
29
|
+
payInRequestProcessing?: boolean | null;
|
|
28
30
|
stripeCustomerId: string;
|
|
29
31
|
defaultCurrency: string;
|
|
30
32
|
defaultPaymentMethodID: string;
|
|
@@ -54,5 +56,6 @@ export declare namespace Company {
|
|
|
54
56
|
companyAccountingInformation?: CompanyAccountingInformation.Raw | null;
|
|
55
57
|
companyBankingDetails?: CompanyBankingDetails.Raw | null;
|
|
56
58
|
incorporationDetails?: IncorporationDetails.Raw | null;
|
|
59
|
+
lastContractorsBillingInfo?: LastContractorBillingInfo.Raw | null;
|
|
57
60
|
}
|
|
58
61
|
}
|
|
@@ -52,11 +52,13 @@ const MercoaCompanyDetails_1 = require("./MercoaCompanyDetails");
|
|
|
52
52
|
const CompanyAccountingInformation_1 = require("./CompanyAccountingInformation");
|
|
53
53
|
const CompanyBankingDetails_1 = require("./CompanyBankingDetails");
|
|
54
54
|
const IncorporationDetails_1 = require("./IncorporationDetails");
|
|
55
|
+
const LastContractorBillingInfo_1 = require("./LastContractorBillingInfo");
|
|
55
56
|
exports.Company = core.serialization.object({
|
|
56
57
|
companyId: core.serialization.property("companyID", core.serialization.string()),
|
|
57
58
|
companyName: core.serialization.string(),
|
|
58
59
|
dbaName: core.serialization.string(),
|
|
59
60
|
email: core.serialization.string(),
|
|
61
|
+
payInRequestProcessing: core.serialization.boolean().optional(),
|
|
60
62
|
stripeCustomerId: core.serialization.string(),
|
|
61
63
|
defaultCurrency: core.serialization.string(),
|
|
62
64
|
defaultPaymentMethodId: core.serialization.property("defaultPaymentMethodID", core.serialization.string()),
|
|
@@ -86,4 +88,5 @@ exports.Company = core.serialization.object({
|
|
|
86
88
|
companyAccountingInformation: CompanyAccountingInformation_1.CompanyAccountingInformation.optional(),
|
|
87
89
|
companyBankingDetails: CompanyBankingDetails_1.CompanyBankingDetails.optional(),
|
|
88
90
|
incorporationDetails: IncorporationDetails_1.IncorporationDetails.optional(),
|
|
91
|
+
lastContractorsBillingInfo: LastContractorBillingInfo_1.LastContractorBillingInfo.optional(),
|
|
89
92
|
});
|
|
@@ -9,6 +9,7 @@ import { CustomContract } from "./CustomContract";
|
|
|
9
9
|
export declare const Flags: core.serialization.ObjectSchema<serializers.db.Flags.Raw, TheraApi.db.Flags>;
|
|
10
10
|
export declare namespace Flags {
|
|
11
11
|
interface Raw {
|
|
12
|
+
isActive?: boolean | null;
|
|
12
13
|
paymentsVersion: number;
|
|
13
14
|
csv: boolean;
|
|
14
15
|
cards: boolean;
|
|
@@ -23,6 +24,6 @@ export declare namespace Flags {
|
|
|
23
24
|
autoPayExposed: boolean;
|
|
24
25
|
mfaEnabled: boolean;
|
|
25
26
|
separateRevenue?: boolean | null;
|
|
26
|
-
|
|
27
|
+
chargeCompanyWithActiveWorkersModel?: boolean | null;
|
|
27
28
|
}
|
|
28
29
|
}
|
|
@@ -41,6 +41,7 @@ const core = __importStar(require("../../../../../../core"));
|
|
|
41
41
|
const CompanyStatus_1 = require("./CompanyStatus");
|
|
42
42
|
const CustomContract_1 = require("./CustomContract");
|
|
43
43
|
exports.Flags = core.serialization.object({
|
|
44
|
+
isActive: core.serialization.boolean().optional(),
|
|
44
45
|
paymentsVersion: core.serialization.number(),
|
|
45
46
|
csv: core.serialization.boolean(),
|
|
46
47
|
cards: core.serialization.boolean(),
|
|
@@ -55,5 +56,5 @@ exports.Flags = core.serialization.object({
|
|
|
55
56
|
autoPayExposed: core.serialization.boolean(),
|
|
56
57
|
mfaEnabled: core.serialization.boolean(),
|
|
57
58
|
separateRevenue: core.serialization.boolean().optional(),
|
|
58
|
-
|
|
59
|
+
chargeCompanyWithActiveWorkersModel: core.serialization.boolean().optional(),
|
|
59
60
|
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const LastContractorBillingInfo: core.serialization.ObjectSchema<serializers.db.LastContractorBillingInfo.Raw, TheraApi.db.LastContractorBillingInfo>;
|
|
8
|
+
export declare namespace LastContractorBillingInfo {
|
|
9
|
+
interface Raw {
|
|
10
|
+
contractorCount: number;
|
|
11
|
+
recentInvoicePaidMonth: string;
|
|
12
|
+
amountInCompanyCurrency: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.LastContractorBillingInfo = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.LastContractorBillingInfo = core.serialization.object({
|
|
42
|
+
contractorCount: core.serialization.number(),
|
|
43
|
+
recentInvoicePaidMonth: core.serialization.date(),
|
|
44
|
+
amountInCompanyCurrency: core.serialization.string(),
|
|
45
|
+
});
|
|
@@ -71,3 +71,4 @@ __exportStar(require("./AssociateUsersToHolidayPolicyResponse"), exports);
|
|
|
71
71
|
__exportStar(require("./DeleteCustomHolidayResponse"), exports);
|
|
72
72
|
__exportStar(require("./StripeMultipleAccountCustomerInfo"), exports);
|
|
73
73
|
__exportStar(require("./StripeAccountInfo"), exports);
|
|
74
|
+
__exportStar(require("./LastContractorBillingInfo"), exports);
|
|
@@ -88,4 +88,5 @@ exports.Contract = core.serialization.object({
|
|
|
88
88
|
customFields: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
89
89
|
customContractTemplateId: core.serialization.property("customContractTemplateID", core.serialization.string().optional()),
|
|
90
90
|
renewalDetails: ContractRenewalDetails_1.ContractRenewalDetails.optional(),
|
|
91
|
+
companySubscriptionChargedLast: core.serialization.date().optional(),
|
|
91
92
|
});
|
|
@@ -9,6 +9,7 @@ export declare const GenericType: core.serialization.ObjectSchema<serializers.db
|
|
|
9
9
|
export declare namespace GenericType {
|
|
10
10
|
interface Raw {
|
|
11
11
|
key: GenericTypeKey.Raw;
|
|
12
|
+
processPayouts: boolean;
|
|
12
13
|
fxLedgerAccountIdByCurrency: Record<string, string>;
|
|
13
14
|
stripeFxAccountIdByCurrency: Record<string, string>;
|
|
14
15
|
theraApAccountIdByCurrency: Record<string, string>;
|
|
@@ -41,6 +41,7 @@ const core = __importStar(require("../../../../../../core"));
|
|
|
41
41
|
const GenericTypeKey_1 = require("./GenericTypeKey");
|
|
42
42
|
exports.GenericType = core.serialization.object({
|
|
43
43
|
key: GenericTypeKey_1.GenericTypeKey,
|
|
44
|
+
processPayouts: core.serialization.boolean(),
|
|
44
45
|
fxLedgerAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
45
46
|
stripeFxAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
46
47
|
theraApAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
@@ -16,5 +16,7 @@ export * as migrations from "./migrations";
|
|
|
16
16
|
export * from "./migrations/types";
|
|
17
17
|
export * as paymentMethod from "./paymentMethod";
|
|
18
18
|
export * from "./paymentMethod/types";
|
|
19
|
+
export * as payoutQueue from "./payoutQueue";
|
|
20
|
+
export * from "./payoutQueue/types";
|
|
19
21
|
export * as user from "./user";
|
|
20
22
|
export * from "./user/types";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.user = exports.paymentMethod = exports.migrations = exports.invoice = exports.generic = exports.expense = exports.employment = exports.document = exports.contract = exports.company = void 0;
|
|
39
|
+
exports.user = exports.payoutQueue = exports.paymentMethod = exports.migrations = exports.invoice = exports.generic = exports.expense = exports.employment = exports.document = exports.contract = exports.company = void 0;
|
|
40
40
|
exports.company = __importStar(require("./company"));
|
|
41
41
|
__exportStar(require("./company/types"), exports);
|
|
42
42
|
exports.contract = __importStar(require("./contract"));
|
|
@@ -55,5 +55,7 @@ exports.migrations = __importStar(require("./migrations"));
|
|
|
55
55
|
__exportStar(require("./migrations/types"), exports);
|
|
56
56
|
exports.paymentMethod = __importStar(require("./paymentMethod"));
|
|
57
57
|
__exportStar(require("./paymentMethod/types"), exports);
|
|
58
|
+
exports.payoutQueue = __importStar(require("./payoutQueue"));
|
|
59
|
+
__exportStar(require("./payoutQueue/types"), exports);
|
|
58
60
|
exports.user = __importStar(require("./user"));
|
|
59
61
|
__exportStar(require("./user/types"), exports);
|
|
@@ -9,6 +9,8 @@ export declare const PlaidPostVerificationPaymentMethodDetails: core.serializati
|
|
|
9
9
|
export declare namespace PlaidPostVerificationPaymentMethodDetails {
|
|
10
10
|
interface Raw {
|
|
11
11
|
stripePaymentMethodId: string;
|
|
12
|
+
revenueStripePaymentMethodId?: string | null;
|
|
13
|
+
eorStripePaymentMethodId?: string | null;
|
|
12
14
|
stripeBankAccountToken: string;
|
|
13
15
|
tpPlaidProcessorToken?: string | null;
|
|
14
16
|
tpCounterPartyId?: string | null;
|
|
@@ -41,6 +41,8 @@ const core = __importStar(require("../../../../../../core"));
|
|
|
41
41
|
const StripeAccountType_1 = require("./StripeAccountType");
|
|
42
42
|
exports.PlaidPostVerificationPaymentMethodDetails = core.serialization.object({
|
|
43
43
|
stripePaymentMethodId: core.serialization.string(),
|
|
44
|
+
revenueStripePaymentMethodId: core.serialization.string().optional(),
|
|
45
|
+
eorStripePaymentMethodId: core.serialization.string().optional(),
|
|
44
46
|
stripeBankAccountToken: core.serialization.string(),
|
|
45
47
|
tpPlaidProcessorToken: core.serialization.string().optional(),
|
|
46
48
|
tpCounterPartyId: core.serialization.string().optional(),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const PayoutProvider: core.serialization.Schema<serializers.db.PayoutProvider.Raw, TheraApi.db.PayoutProvider>;
|
|
8
|
+
export declare namespace PayoutProvider {
|
|
9
|
+
type Raw = "WISE" | "DLOCAL" | "OFFPLATFORM";
|
|
10
|
+
}
|