@thera-hr/api-sdk 0.0.1-prerelease3524-dev-2 → 0.0.1-prerelease3524-production
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 +12 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +57 -8
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.d.ts +12 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
- 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 +11 -11
- 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 +0 -1
- package/api/resources/db/resources/company/types/CompanySettings.d.ts +6 -2
- package/api/resources/db/resources/company/types/Flags.d.ts +2 -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.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 +12 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +57 -8
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
- 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 +11 -11
- 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 +0 -1
- package/dist/api/resources/db/resources/company/types/CompanySettings.d.ts +6 -2
- package/dist/api/resources/db/resources/company/types/Flags.d.ts +2 -0
- package/dist/serialization/resources/db/resources/company/types/Company.d.ts +0 -1
- package/dist/serialization/resources/db/resources/company/types/Company.js +0 -1
- package/dist/serialization/resources/db/resources/company/types/CompanySettings.d.ts +2 -1
- package/dist/serialization/resources/db/resources/company/types/CompanySettings.js +2 -1
- package/dist/serialization/resources/db/resources/company/types/Flags.d.ts +2 -0
- package/dist/serialization/resources/db/resources/company/types/Flags.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +65 -0
- package/serialization/resources/db/resources/company/types/Company.d.ts +0 -1
- package/serialization/resources/db/resources/company/types/Company.js +0 -1
- package/serialization/resources/db/resources/company/types/CompanySettings.d.ts +2 -1
- package/serialization/resources/db/resources/company/types/CompanySettings.js +2 -1
- package/serialization/resources/db/resources/company/types/Flags.d.ts +2 -0
- package/serialization/resources/db/resources/company/types/Flags.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -68,7 +68,6 @@ exports.Company = core.serialization.object({
|
|
|
68
68
|
phoneNumber: core.serialization.string(),
|
|
69
69
|
subscriptionPricing: SubscriptionPricing_1.SubscriptionPricing.optional(),
|
|
70
70
|
fastPayments: core.serialization.boolean(),
|
|
71
|
-
advancedPayments: core.serialization.boolean(),
|
|
72
71
|
theraBanking: core.serialization.boolean().optional(),
|
|
73
72
|
flags: Flags_1.Flags,
|
|
74
73
|
settings: CompanySettings_1.CompanySettings,
|
|
@@ -19,6 +19,7 @@ export declare namespace CompanySettings {
|
|
|
19
19
|
isTpOnboardingSkipped: boolean;
|
|
20
20
|
autoApproveTimeOffRequests: boolean;
|
|
21
21
|
isKYCMandated: boolean;
|
|
22
|
-
|
|
22
|
+
active?: boolean | null;
|
|
23
|
+
autoPayAheadOfHolidaysWeekends?: boolean | null;
|
|
23
24
|
}
|
|
24
25
|
}
|
|
@@ -51,5 +51,6 @@ exports.CompanySettings = core.serialization.object({
|
|
|
51
51
|
isTpOnboardingSkipped: core.serialization.boolean(),
|
|
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(),
|
|
55
56
|
});
|
|
@@ -54,4 +54,6 @@ 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(),
|
|
57
59
|
});
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.1-prerelease3524-
|
|
1
|
+
export declare const SDK_VERSION = "0.0.1-prerelease3524-production";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -8823,6 +8823,71 @@ 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
|
+
|
|
8826
8891
|
<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>
|
|
8827
8892
|
<dl>
|
|
8828
8893
|
<dd>
|
|
@@ -68,7 +68,6 @@ exports.Company = core.serialization.object({
|
|
|
68
68
|
phoneNumber: core.serialization.string(),
|
|
69
69
|
subscriptionPricing: SubscriptionPricing_1.SubscriptionPricing.optional(),
|
|
70
70
|
fastPayments: core.serialization.boolean(),
|
|
71
|
-
advancedPayments: core.serialization.boolean(),
|
|
72
71
|
theraBanking: core.serialization.boolean().optional(),
|
|
73
72
|
flags: Flags_1.Flags,
|
|
74
73
|
settings: CompanySettings_1.CompanySettings,
|
|
@@ -19,6 +19,7 @@ export declare namespace CompanySettings {
|
|
|
19
19
|
isTpOnboardingSkipped: boolean;
|
|
20
20
|
autoApproveTimeOffRequests: boolean;
|
|
21
21
|
isKYCMandated: boolean;
|
|
22
|
-
|
|
22
|
+
active?: boolean | null;
|
|
23
|
+
autoPayAheadOfHolidaysWeekends?: boolean | null;
|
|
23
24
|
}
|
|
24
25
|
}
|
|
@@ -51,5 +51,6 @@ exports.CompanySettings = core.serialization.object({
|
|
|
51
51
|
isTpOnboardingSkipped: core.serialization.boolean(),
|
|
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(),
|
|
55
56
|
});
|
|
@@ -54,4 +54,6 @@ 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(),
|
|
57
59
|
});
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.1-prerelease3524-
|
|
1
|
+
export declare const SDK_VERSION = "0.0.1-prerelease3524-production";
|
package/version.js
CHANGED