@thera-hr/api-sdk 0.0.1-prerelease3529-dev-2 → 0.0.1-prerelease3530-dev-3
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.js +37 -37
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
- 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.js +7 -7
- 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.d.ts +0 -12
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +8 -57
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +0 -1
- 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.d.ts +1 -3
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +12 -14
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/AddCompanyBankingDetailsRequest.d.ts +1 -3
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/company/types/CompanyBeneficiary.d.ts +2 -2
- package/api/resources/db/resources/company/types/CompanySettings.d.ts +0 -5
- package/api/resources/db/resources/company/types/Flags.d.ts +0 -2
- 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.js +37 -37
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
- 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.js +7 -7
- 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.d.ts +0 -12
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +8 -57
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +0 -1
- 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.d.ts +1 -3
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +12 -14
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/AddCompanyBankingDetailsRequest.d.ts +1 -3
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/company/types/CompanyBeneficiary.d.ts +2 -2
- package/dist/api/resources/db/resources/company/types/CompanySettings.d.ts +0 -5
- package/dist/api/resources/db/resources/company/types/Flags.d.ts +0 -2
- package/dist/serialization/resources/db/resources/company/types/CompanyBeneficiary.d.ts +1 -1
- package/dist/serialization/resources/db/resources/company/types/CompanyBeneficiary.js +1 -1
- package/dist/serialization/resources/db/resources/company/types/CompanySettings.d.ts +0 -1
- package/dist/serialization/resources/db/resources/company/types/CompanySettings.js +0 -1
- package/dist/serialization/resources/db/resources/company/types/Flags.d.ts +0 -2
- package/dist/serialization/resources/db/resources/company/types/Flags.js +0 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1 -68
- package/serialization/resources/db/resources/company/types/CompanyBeneficiary.d.ts +1 -1
- package/serialization/resources/db/resources/company/types/CompanyBeneficiary.js +1 -1
- package/serialization/resources/db/resources/company/types/CompanySettings.d.ts +0 -1
- package/serialization/resources/db/resources/company/types/CompanySettings.js +0 -1
- package/serialization/resources/db/resources/company/types/Flags.d.ts +0 -2
- package/serialization/resources/db/resources/company/types/Flags.js +0 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.d.ts +0 -12
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.d.ts +0 -12
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.js +0 -5
|
@@ -13,8 +13,8 @@ export interface CompanyBeneficiary {
|
|
|
13
13
|
/** Only required if different from physical address */
|
|
14
14
|
mailingAddress?: TheraApi.api.thera.common.RequestAddress;
|
|
15
15
|
physicalAddress: TheraApi.api.thera.common.RequestAddress;
|
|
16
|
-
/** Two-letter ISO country code for person's nationality/citizenship (e.g., "US", "CA", "MX").
|
|
17
|
-
|
|
16
|
+
/** Two-letter ISO country code for person's nationality/citizenship (e.g., "US", "CA", "MX"). */
|
|
17
|
+
nationality: string;
|
|
18
18
|
/** U.S. Social Security or IRS tax ID number of the person (optional for non-US persons, use identificationNumber instead). */
|
|
19
19
|
tin?: string;
|
|
20
20
|
/** International identification number for non-US persons (tax ID, passport number, etc.). Max 30 chars. */
|
|
@@ -12,9 +12,4 @@ export interface CompanySettings {
|
|
|
12
12
|
autoApproveTimeOffRequests: boolean;
|
|
13
13
|
isKycMandated: boolean;
|
|
14
14
|
active?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* If enabled, autopay will run early for invoices that would normally be due on holidays or weekends.
|
|
17
|
-
* The autopay will execute based on the previous valid business day as the effective due date.
|
|
18
|
-
*/
|
|
19
|
-
autoPayAheadOfHolidaysWeekends?: boolean;
|
|
20
15
|
}
|
|
@@ -16,7 +16,7 @@ export declare namespace CompanyBeneficiary {
|
|
|
16
16
|
phoneNumber: string;
|
|
17
17
|
mailingAddress?: RequestAddress.Raw | null;
|
|
18
18
|
physicalAddress: RequestAddress.Raw;
|
|
19
|
-
|
|
19
|
+
nationality: string;
|
|
20
20
|
tin?: string | null;
|
|
21
21
|
identificationNumber?: string | null;
|
|
22
22
|
identificationNumberType?: string | null;
|
|
@@ -48,7 +48,7 @@ exports.CompanyBeneficiary = core.serialization.object({
|
|
|
48
48
|
phoneNumber: core.serialization.string(),
|
|
49
49
|
mailingAddress: RequestAddress_1.RequestAddress.optional(),
|
|
50
50
|
physicalAddress: RequestAddress_1.RequestAddress,
|
|
51
|
-
|
|
51
|
+
nationality: core.serialization.string(),
|
|
52
52
|
tin: core.serialization.string().optional(),
|
|
53
53
|
identificationNumber: core.serialization.string().optional(),
|
|
54
54
|
identificationNumberType: core.serialization.string().optional(),
|
|
@@ -52,5 +52,4 @@ exports.CompanySettings = core.serialization.object({
|
|
|
52
52
|
autoApproveTimeOffRequests: core.serialization.boolean(),
|
|
53
53
|
isKycMandated: core.serialization.property("isKYCMandated", core.serialization.boolean()),
|
|
54
54
|
active: core.serialization.boolean().optional(),
|
|
55
|
-
autoPayAheadOfHolidaysWeekends: core.serialization.boolean().optional(),
|
|
56
55
|
});
|
|
@@ -54,6 +54,4 @@ exports.Flags = core.serialization.object({
|
|
|
54
54
|
customContract: CustomContract_1.CustomContract.optional(),
|
|
55
55
|
autoPayExposed: core.serialization.boolean(),
|
|
56
56
|
mfaEnabled: core.serialization.boolean(),
|
|
57
|
-
separateRevenue: core.serialization.boolean().optional(),
|
|
58
|
-
chargeActiveWorkersMonthly: core.serialization.boolean().optional(),
|
|
59
57
|
});
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.1-
|
|
1
|
+
export declare const SDK_VERSION = "0.0.1-prerelease3530-dev-3";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -8823,71 +8823,6 @@ await client.api.thera.misc.misc.autoPayCron({
|
|
|
8823
8823
|
</dl>
|
|
8824
8824
|
</details>
|
|
8825
8825
|
|
|
8826
|
-
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">distributeTpPayrollAccountCron</a>({ ...params }) -> void</code></summary>
|
|
8827
|
-
<dl>
|
|
8828
|
-
<dd>
|
|
8829
|
-
|
|
8830
|
-
#### 📝 Description
|
|
8831
|
-
|
|
8832
|
-
<dl>
|
|
8833
|
-
<dd>
|
|
8834
|
-
|
|
8835
|
-
<dl>
|
|
8836
|
-
<dd>
|
|
8837
|
-
|
|
8838
|
-
Calling this API will trigger automatic distribution of Tp payroll amount to omnibus.
|
|
8839
|
-
|
|
8840
|
-
</dd>
|
|
8841
|
-
</dl>
|
|
8842
|
-
</dd>
|
|
8843
|
-
</dl>
|
|
8844
|
-
|
|
8845
|
-
#### 🔌 Usage
|
|
8846
|
-
|
|
8847
|
-
<dl>
|
|
8848
|
-
<dd>
|
|
8849
|
-
|
|
8850
|
-
<dl>
|
|
8851
|
-
<dd>
|
|
8852
|
-
|
|
8853
|
-
```typescript
|
|
8854
|
-
await client.api.thera.misc.misc.distributeTpPayrollAccountCron({
|
|
8855
|
-
theraWebhookSignatureHeader: "string",
|
|
8856
|
-
});
|
|
8857
|
-
```
|
|
8858
|
-
|
|
8859
|
-
</dd>
|
|
8860
|
-
</dl>
|
|
8861
|
-
</dd>
|
|
8862
|
-
</dl>
|
|
8863
|
-
|
|
8864
|
-
#### ⚙️ Parameters
|
|
8865
|
-
|
|
8866
|
-
<dl>
|
|
8867
|
-
<dd>
|
|
8868
|
-
|
|
8869
|
-
<dl>
|
|
8870
|
-
<dd>
|
|
8871
|
-
|
|
8872
|
-
**request:** `TheraApi.api.thera.misc.DistributeTpPayrollAccountCronRequest`
|
|
8873
|
-
|
|
8874
|
-
</dd>
|
|
8875
|
-
</dl>
|
|
8876
|
-
|
|
8877
|
-
<dl>
|
|
8878
|
-
<dd>
|
|
8879
|
-
|
|
8880
|
-
**requestOptions:** `Misc.RequestOptions`
|
|
8881
|
-
|
|
8882
|
-
</dd>
|
|
8883
|
-
</dl>
|
|
8884
|
-
</dd>
|
|
8885
|
-
</dl>
|
|
8886
|
-
|
|
8887
|
-
</dd>
|
|
8888
|
-
</dl>
|
|
8889
|
-
</details>
|
|
8890
|
-
|
|
8891
8826
|
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">autoPayEmailNotificationCron</a>({ ...params }) -> void</code></summary>
|
|
8892
8827
|
<dl>
|
|
8893
8828
|
<dd>
|
|
@@ -12909,9 +12844,7 @@ await client.api.thera.tp.tpApi.addCompanyBankingDetails("string", {
|
|
|
12909
12844
|
postalCode: "string",
|
|
12910
12845
|
state: "string",
|
|
12911
12846
|
},
|
|
12912
|
-
|
|
12913
|
-
key: "value",
|
|
12914
|
-
},
|
|
12847
|
+
nationality: "string",
|
|
12915
12848
|
tin: {
|
|
12916
12849
|
key: "value",
|
|
12917
12850
|
},
|
|
@@ -16,7 +16,7 @@ export declare namespace CompanyBeneficiary {
|
|
|
16
16
|
phoneNumber: string;
|
|
17
17
|
mailingAddress?: RequestAddress.Raw | null;
|
|
18
18
|
physicalAddress: RequestAddress.Raw;
|
|
19
|
-
|
|
19
|
+
nationality: string;
|
|
20
20
|
tin?: string | null;
|
|
21
21
|
identificationNumber?: string | null;
|
|
22
22
|
identificationNumberType?: string | null;
|
|
@@ -48,7 +48,7 @@ exports.CompanyBeneficiary = core.serialization.object({
|
|
|
48
48
|
phoneNumber: core.serialization.string(),
|
|
49
49
|
mailingAddress: RequestAddress_1.RequestAddress.optional(),
|
|
50
50
|
physicalAddress: RequestAddress_1.RequestAddress,
|
|
51
|
-
|
|
51
|
+
nationality: core.serialization.string(),
|
|
52
52
|
tin: core.serialization.string().optional(),
|
|
53
53
|
identificationNumber: core.serialization.string().optional(),
|
|
54
54
|
identificationNumberType: core.serialization.string().optional(),
|
|
@@ -52,5 +52,4 @@ exports.CompanySettings = core.serialization.object({
|
|
|
52
52
|
autoApproveTimeOffRequests: core.serialization.boolean(),
|
|
53
53
|
isKycMandated: core.serialization.property("isKYCMandated", core.serialization.boolean()),
|
|
54
54
|
active: core.serialization.boolean().optional(),
|
|
55
|
-
autoPayAheadOfHolidaysWeekends: core.serialization.boolean().optional(),
|
|
56
55
|
});
|
|
@@ -54,6 +54,4 @@ exports.Flags = core.serialization.object({
|
|
|
54
54
|
customContract: CustomContract_1.CustomContract.optional(),
|
|
55
55
|
autoPayExposed: core.serialization.boolean(),
|
|
56
56
|
mfaEnabled: core.serialization.boolean(),
|
|
57
|
-
separateRevenue: core.serialization.boolean().optional(),
|
|
58
|
-
chargeActiveWorkersMonthly: core.serialization.boolean().optional(),
|
|
59
57
|
});
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.1-
|
|
1
|
+
export declare const SDK_VERSION = "0.0.1-prerelease3530-dev-3";
|
package/version.js
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* theraWebhookSignatureHeader: "string"
|
|
8
|
-
* }
|
|
9
|
-
*/
|
|
10
|
-
export interface DistributeTpPayrollAccountCronRequest {
|
|
11
|
-
theraWebhookSignatureHeader: string;
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* theraWebhookSignatureHeader: "string"
|
|
8
|
-
* }
|
|
9
|
-
*/
|
|
10
|
-
export interface DistributeTpPayrollAccountCronRequest {
|
|
11
|
-
theraWebhookSignatureHeader: string;
|
|
12
|
-
}
|