@thera-hr/api-sdk 1.1.1-prerelease2483-dev-3 → 1.1.1-prerelease2492-dev-4
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 +12 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +91 -37
- 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.js +18 -18
- 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 +1 -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 +12 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +91 -37
- 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.js +18 -18
- 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 +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 +1 -0
- package/dist/serialization/resources/db/resources/company/types/Company.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +80 -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 +1 -0
- package/serialization/resources/db/resources/company/types/Company.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -7,6 +7,7 @@ export interface Company {
|
|
|
7
7
|
companyName: string;
|
|
8
8
|
dbaName: string;
|
|
9
9
|
email: string;
|
|
10
|
+
payInRequestProcessing?: boolean;
|
|
10
11
|
stripeCustomerId: string;
|
|
11
12
|
/** The currency of the bank accounts that have been or will be attached to Thera to pay their employees. */
|
|
12
13
|
defaultCurrency: string;
|
|
@@ -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
|
});
|
|
@@ -57,6 +57,7 @@ exports.Company = core.serialization.object({
|
|
|
57
57
|
companyName: core.serialization.string(),
|
|
58
58
|
dbaName: core.serialization.string(),
|
|
59
59
|
email: core.serialization.string(),
|
|
60
|
+
payInRequestProcessing: core.serialization.boolean().optional(),
|
|
60
61
|
stripeCustomerId: core.serialization.string(),
|
|
61
62
|
defaultCurrency: core.serialization.string(),
|
|
62
63
|
defaultPaymentMethodId: core.serialization.property("defaultPaymentMethodID", core.serialization.string()),
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.1.1-
|
|
1
|
+
export declare const SDK_VERSION = "1.1.1-prerelease2492-dev-4";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -2585,6 +2585,85 @@ await client.api.thera.bank.bankApi.getWorkerTransactions("string", "string", {
|
|
|
2585
2585
|
</dl>
|
|
2586
2586
|
</details>
|
|
2587
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">getWorkerTransactionById</a>(userId, companyId, transactionId) -> TheraApi.WorkerTransaction</code></summary>
|
|
2589
|
+
<dl>
|
|
2590
|
+
<dd>
|
|
2591
|
+
|
|
2592
|
+
#### 📝 Description
|
|
2593
|
+
|
|
2594
|
+
<dl>
|
|
2595
|
+
<dd>
|
|
2596
|
+
|
|
2597
|
+
<dl>
|
|
2598
|
+
<dd>
|
|
2599
|
+
|
|
2600
|
+
Get a specific worker transaction by its ledger transaction ID
|
|
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.getWorkerTransactionById("string", "string", "string");
|
|
2617
|
+
```
|
|
2618
|
+
|
|
2619
|
+
</dd>
|
|
2620
|
+
</dl>
|
|
2621
|
+
</dd>
|
|
2622
|
+
</dl>
|
|
2623
|
+
|
|
2624
|
+
#### ⚙️ Parameters
|
|
2625
|
+
|
|
2626
|
+
<dl>
|
|
2627
|
+
<dd>
|
|
2628
|
+
|
|
2629
|
+
<dl>
|
|
2630
|
+
<dd>
|
|
2631
|
+
|
|
2632
|
+
**userId:** `string`
|
|
2633
|
+
|
|
2634
|
+
</dd>
|
|
2635
|
+
</dl>
|
|
2636
|
+
|
|
2637
|
+
<dl>
|
|
2638
|
+
<dd>
|
|
2639
|
+
|
|
2640
|
+
**companyId:** `string`
|
|
2641
|
+
|
|
2642
|
+
</dd>
|
|
2643
|
+
</dl>
|
|
2644
|
+
|
|
2645
|
+
<dl>
|
|
2646
|
+
<dd>
|
|
2647
|
+
|
|
2648
|
+
**transactionId:** `string`
|
|
2649
|
+
|
|
2650
|
+
</dd>
|
|
2651
|
+
</dl>
|
|
2652
|
+
|
|
2653
|
+
<dl>
|
|
2654
|
+
<dd>
|
|
2655
|
+
|
|
2656
|
+
**requestOptions:** `BankApi.RequestOptions`
|
|
2657
|
+
|
|
2658
|
+
</dd>
|
|
2659
|
+
</dl>
|
|
2660
|
+
</dd>
|
|
2661
|
+
</dl>
|
|
2662
|
+
|
|
2663
|
+
</dd>
|
|
2664
|
+
</dl>
|
|
2665
|
+
</details>
|
|
2666
|
+
|
|
2588
2667
|
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getWorkerWithdrawalDeliveryEstimate</a>(withdrawalId) -> TheraApi.GetWorkerWithdrawalDeliveryEstimate</code></summary>
|
|
2589
2668
|
<dl>
|
|
2590
2669
|
<dd>
|
|
@@ -7309,6 +7388,7 @@ await client.api.thera.disbursement.disbursementApi.uploadCsvInvoice("string", {
|
|
|
7309
7388
|
workUnitTotal: 1.1,
|
|
7310
7389
|
type: "ONCYCLE",
|
|
7311
7390
|
userId: "string",
|
|
7391
|
+
itemType: "string",
|
|
7312
7392
|
custom: {
|
|
7313
7393
|
string: "string",
|
|
7314
7394
|
},
|
|
@@ -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
|
});
|
|
@@ -57,6 +57,7 @@ exports.Company = core.serialization.object({
|
|
|
57
57
|
companyName: core.serialization.string(),
|
|
58
58
|
dbaName: core.serialization.string(),
|
|
59
59
|
email: core.serialization.string(),
|
|
60
|
+
payInRequestProcessing: core.serialization.boolean().optional(),
|
|
60
61
|
stripeCustomerId: core.serialization.string(),
|
|
61
62
|
defaultCurrency: core.serialization.string(),
|
|
62
63
|
defaultPaymentMethodId: core.serialization.property("defaultPaymentMethodID", core.serialization.string()),
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.1.1-
|
|
1
|
+
export declare const SDK_VERSION = "1.1.1-prerelease2492-dev-4";
|
package/version.js
CHANGED