@thera-hr/api-sdk 0.0.1-prerelease2701-dev-anthony → 0.0.1-prerelease2702-dev-2
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/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/client/Client.d.ts +3 -0
- package/api/resources/api/resources/thera/client/Client.js +17 -12
- 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 +32 -32
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- 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/client/Client.d.ts +22 -0
- package/api/resources/api/resources/thera/resources/eor/client/Client.js +17 -0
- package/api/resources/api/resources/thera/resources/eor/client/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/eor/client/index.js +2 -0
- package/api/resources/api/resources/thera/resources/eor/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/eor/index.js +18 -0
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +41 -0
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +174 -0
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/index.js +2 -0
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.js +18 -0
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +18 -0
- package/api/resources/api/resources/thera/resources/eor/resources/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/eor/resources/index.js +31 -0
- package/api/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/index.js +2 -1
- 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 +66 -5
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/AutoWithdrawalCronRequest.d.ts +12 -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/misc/resources/misc/types/DailyCronResponse.d.ts +1 -2
- 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 +3 -3
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- 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 +10 -10
- 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 -1
- package/api/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
- package/api/resources/db/resources/company/types/{MoniteCompanyDetails.d.ts → MercoaCompanyDetails.d.ts} +1 -1
- package/api/resources/db/resources/company/types/index.d.ts +1 -1
- package/api/resources/db/resources/company/types/index.js +1 -1
- package/api/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +1 -0
- package/api/resources/db/resources/migrations/types/LedgerTrxStatus.d.ts +9 -0
- package/api/resources/db/resources/migrations/types/LedgerTrxStatus.js +11 -0
- package/api/resources/db/resources/migrations/types/index.d.ts +1 -0
- package/api/resources/db/resources/migrations/types/index.js +1 -0
- package/api/resources/db/resources/user/types/ComplianceDocumentType.d.ts +20 -1
- package/api/resources/db/resources/user/types/ComplianceDocumentType.js +19 -0
- package/api/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +1 -1
- package/api/resources/db/resources/user/types/MercoaUserDetails.js +5 -0
- package/api/resources/db/resources/user/types/User.d.ts +1 -1
- package/api/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
- package/api/resources/db/resources/user/types/index.d.ts +1 -1
- package/api/resources/db/resources/user/types/index.js +1 -1
- 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/services/resources/file/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/client/Client.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/client/Client.js +17 -12
- 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 +32 -32
- 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/companyApi/types/Manager.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- 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/client/Client.d.ts +22 -0
- package/dist/api/resources/api/resources/thera/resources/eor/client/Client.js +17 -0
- package/dist/api/resources/api/resources/thera/resources/eor/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/eor/client/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/eor/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/eor/index.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +41 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +174 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/index.js +31 -0
- package/dist/api/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/index.js +2 -1
- 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 +66 -5
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/AutoWithdrawalCronRequest.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/AutoWithdrawalCronRequest.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/misc/resources/misc/types/DailyCronResponse.d.ts +1 -2
- 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 +3 -3
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- 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 +10 -10
- 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 -1
- package/dist/api/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
- package/dist/api/resources/db/resources/company/types/{MoniteCompanyDetails.d.ts → MercoaCompanyDetails.d.ts} +1 -1
- package/dist/api/resources/db/resources/company/types/MercoaCompanyDetails.js +5 -0
- package/dist/api/resources/db/resources/company/types/index.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/index.js +1 -1
- package/dist/api/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +1 -0
- package/dist/api/resources/db/resources/migrations/types/LedgerTrxStatus.d.ts +9 -0
- package/dist/api/resources/db/resources/migrations/types/LedgerTrxStatus.js +11 -0
- package/dist/api/resources/db/resources/migrations/types/index.d.ts +1 -0
- package/dist/api/resources/db/resources/migrations/types/index.js +1 -0
- package/dist/api/resources/db/resources/user/types/ComplianceDocumentType.d.ts +20 -1
- package/dist/api/resources/db/resources/user/types/ComplianceDocumentType.js +19 -0
- package/dist/api/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +1 -1
- package/dist/api/resources/db/resources/user/types/MercoaUserDetails.js +5 -0
- package/dist/api/resources/db/resources/user/types/User.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
- package/dist/api/resources/db/resources/user/types/index.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/index.js +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/eor/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/eor/index.js +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.js +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js +33 -0
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js +33 -0
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +18 -0
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/index.js +31 -0
- package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/index.js +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.d.ts +1 -2
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.js +1 -2
- package/dist/serialization/resources/db/resources/company/types/Company.d.ts +2 -2
- package/dist/serialization/resources/db/resources/company/types/Company.js +2 -2
- package/dist/serialization/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
- package/dist/serialization/resources/db/resources/company/types/CompanySettings.js +1 -0
- package/dist/serialization/resources/db/resources/company/types/{MoniteCompanyDetails.d.ts → MercoaCompanyDetails.d.ts} +2 -2
- package/dist/serialization/resources/db/resources/company/types/{MoniteCompanyDetails.js → MercoaCompanyDetails.js} +2 -2
- package/dist/serialization/resources/db/resources/company/types/index.d.ts +1 -1
- package/dist/serialization/resources/db/resources/company/types/index.js +1 -1
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +2 -0
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +2 -0
- package/dist/serialization/resources/db/resources/migrations/types/LedgerTrxStatus.d.ts +10 -0
- package/dist/serialization/resources/db/resources/migrations/types/LedgerTrxStatus.js +31 -0
- package/dist/serialization/resources/db/resources/migrations/types/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/migrations/types/index.js +1 -0
- package/dist/serialization/resources/db/resources/user/types/ComplianceDocumentType.d.ts +1 -1
- package/dist/serialization/resources/db/resources/user/types/ComplianceDocumentType.js +19 -0
- package/dist/serialization/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +2 -2
- package/dist/serialization/resources/db/resources/user/types/{MoniteUserDetails.js → MercoaUserDetails.js} +2 -2
- package/dist/serialization/resources/db/resources/user/types/User.d.ts +2 -2
- package/dist/serialization/resources/db/resources/user/types/User.js +2 -2
- package/dist/serialization/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
- package/dist/serialization/resources/db/resources/user/types/UserCompanySettings.js +0 -1
- package/dist/serialization/resources/db/resources/user/types/index.d.ts +1 -1
- package/dist/serialization/resources/db/resources/user/types/index.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +2 -2
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +2 -2
- package/serialization/resources/api/resources/thera/resources/eor/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/eor/index.js +17 -0
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.js +17 -0
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js +33 -0
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js +33 -0
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +18 -0
- package/serialization/resources/api/resources/thera/resources/eor/resources/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/eor/resources/index.js +31 -0
- package/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/index.js +2 -1
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.d.ts +1 -2
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.js +1 -2
- package/serialization/resources/db/resources/company/types/Company.d.ts +2 -2
- package/serialization/resources/db/resources/company/types/Company.js +2 -2
- package/serialization/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
- package/serialization/resources/db/resources/company/types/CompanySettings.js +1 -0
- package/serialization/resources/db/resources/company/types/{MoniteCompanyDetails.d.ts → MercoaCompanyDetails.d.ts} +2 -2
- package/serialization/resources/db/resources/company/types/{MoniteCompanyDetails.js → MercoaCompanyDetails.js} +2 -2
- package/serialization/resources/db/resources/company/types/index.d.ts +1 -1
- package/serialization/resources/db/resources/company/types/index.js +1 -1
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +2 -0
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +2 -0
- package/serialization/resources/db/resources/migrations/types/LedgerTrxStatus.d.ts +10 -0
- package/serialization/resources/db/resources/migrations/types/LedgerTrxStatus.js +31 -0
- package/serialization/resources/db/resources/migrations/types/index.d.ts +1 -0
- package/serialization/resources/db/resources/migrations/types/index.js +1 -0
- package/serialization/resources/db/resources/user/types/ComplianceDocumentType.d.ts +1 -1
- package/serialization/resources/db/resources/user/types/ComplianceDocumentType.js +19 -0
- package/serialization/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +2 -2
- package/serialization/resources/db/resources/user/types/{MoniteUserDetails.js → MercoaUserDetails.js} +2 -2
- package/serialization/resources/db/resources/user/types/User.d.ts +2 -2
- package/serialization/resources/db/resources/user/types/User.js +2 -2
- package/serialization/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
- package/serialization/resources/db/resources/user/types/UserCompanySettings.js +0 -1
- package/serialization/resources/db/resources/user/types/index.d.ts +1 -1
- package/serialization/resources/db/resources/user/types/index.js +1 -1
- /package/api/resources/{db/resources/company/types/MoniteCompanyDetails.js → api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js} +0 -0
- /package/api/resources/{db/resources/user/types/MoniteUserDetails.js → api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js} +0 -0
- /package/{dist/api/resources/db/resources/company/types/MoniteCompanyDetails.js → api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/AutoWithdrawalCronRequest.js} +0 -0
- /package/{dist/api/resources/db/resources/user/types/MoniteUserDetails.js → api/resources/db/resources/company/types/MercoaCompanyDetails.js} +0 -0
|
@@ -0,0 +1,174 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
38
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.EorTrackerApi = void 0;
|
|
42
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
43
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
44
|
+
const serializers = __importStar(require("../../../../../../../../../../serialization/index"));
|
|
45
|
+
const errors = __importStar(require("../../../../../../../../../../errors/index"));
|
|
46
|
+
class EorTrackerApi {
|
|
47
|
+
constructor(_options) {
|
|
48
|
+
this._options = _options;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Gets EOR employee data from Airtable for a specific company
|
|
52
|
+
*
|
|
53
|
+
* @param {string} companyId
|
|
54
|
+
* @param {EorTrackerApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* await client.api.thera.eor.eorTrackerApi.getEorTracker("string")
|
|
58
|
+
*/
|
|
59
|
+
getEorTracker(companyId, requestOptions) {
|
|
60
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
61
|
+
const _response = yield core.fetcher({
|
|
62
|
+
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `companies/${encodeURIComponent(companyId)}/eor-tracker`),
|
|
63
|
+
method: "GET",
|
|
64
|
+
headers: {
|
|
65
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
66
|
+
"X-Fern-Language": "JavaScript",
|
|
67
|
+
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
68
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev-2",
|
|
69
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
70
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
71
|
+
},
|
|
72
|
+
contentType: "application/json",
|
|
73
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
74
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
75
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
76
|
+
});
|
|
77
|
+
if (_response.ok) {
|
|
78
|
+
return yield serializers.api.thera.eor.GetEorTrackerResponse.parseOrThrow(_response.body, {
|
|
79
|
+
unrecognizedObjectKeys: "passthrough",
|
|
80
|
+
allowUnrecognizedUnionMembers: true,
|
|
81
|
+
allowUnrecognizedEnumValues: true,
|
|
82
|
+
skipValidation: true,
|
|
83
|
+
breadcrumbsPrefix: ["response"],
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
if (_response.error.reason === "status-code") {
|
|
87
|
+
throw new errors.TheraApiError({
|
|
88
|
+
statusCode: _response.error.statusCode,
|
|
89
|
+
body: _response.error.body,
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
switch (_response.error.reason) {
|
|
93
|
+
case "non-json":
|
|
94
|
+
throw new errors.TheraApiError({
|
|
95
|
+
statusCode: _response.error.statusCode,
|
|
96
|
+
body: _response.error.rawBody,
|
|
97
|
+
});
|
|
98
|
+
case "timeout":
|
|
99
|
+
throw new errors.TheraApiTimeoutError();
|
|
100
|
+
case "unknown":
|
|
101
|
+
throw new errors.TheraApiError({
|
|
102
|
+
message: _response.error.errorMessage,
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Gets EOR employee data from Airtable for a specific employee user ID
|
|
109
|
+
*
|
|
110
|
+
* @param {string} employeeUserId
|
|
111
|
+
* @param {EorTrackerApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* await client.api.thera.eor.eorTrackerApi.getEorEmployeeByUserId("string")
|
|
115
|
+
*/
|
|
116
|
+
getEorEmployeeByUserId(employeeUserId, requestOptions) {
|
|
117
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
118
|
+
const _response = yield core.fetcher({
|
|
119
|
+
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `eor-tracker/employee/${encodeURIComponent(employeeUserId)}`),
|
|
120
|
+
method: "GET",
|
|
121
|
+
headers: {
|
|
122
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
123
|
+
"X-Fern-Language": "JavaScript",
|
|
124
|
+
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
125
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev-2",
|
|
126
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
127
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
128
|
+
},
|
|
129
|
+
contentType: "application/json",
|
|
130
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
131
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
132
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
133
|
+
});
|
|
134
|
+
if (_response.ok) {
|
|
135
|
+
return yield serializers.api.thera.eor.GetEorEmployeeByUserIdResponse.parseOrThrow(_response.body, {
|
|
136
|
+
unrecognizedObjectKeys: "passthrough",
|
|
137
|
+
allowUnrecognizedUnionMembers: true,
|
|
138
|
+
allowUnrecognizedEnumValues: true,
|
|
139
|
+
skipValidation: true,
|
|
140
|
+
breadcrumbsPrefix: ["response"],
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
if (_response.error.reason === "status-code") {
|
|
144
|
+
throw new errors.TheraApiError({
|
|
145
|
+
statusCode: _response.error.statusCode,
|
|
146
|
+
body: _response.error.body,
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
switch (_response.error.reason) {
|
|
150
|
+
case "non-json":
|
|
151
|
+
throw new errors.TheraApiError({
|
|
152
|
+
statusCode: _response.error.statusCode,
|
|
153
|
+
body: _response.error.rawBody,
|
|
154
|
+
});
|
|
155
|
+
case "timeout":
|
|
156
|
+
throw new errors.TheraApiTimeoutError();
|
|
157
|
+
case "unknown":
|
|
158
|
+
throw new errors.TheraApiError({
|
|
159
|
+
message: _response.error.errorMessage,
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
_getAuthorizationHeader() {
|
|
165
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
166
|
+
const bearer = yield core.Supplier.get(this._options.token);
|
|
167
|
+
if (bearer != null) {
|
|
168
|
+
return `Bearer ${bearer}`;
|
|
169
|
+
}
|
|
170
|
+
return undefined;
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
exports.EorTrackerApi = EorTrackerApi;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
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);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
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("./GetEorTrackerResponse"), exports);
|
|
18
|
+
__exportStar(require("./GetEorEmployeeByUserIdResponse"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.eorTrackerApi = void 0;
|
|
30
|
+
exports.eorTrackerApi = __importStar(require("./eorTrackerApi"));
|
|
31
|
+
__exportStar(require("./eorTrackerApi/types"), exports);
|
|
@@ -7,6 +7,7 @@ export * as disbursement from "./disbursement";
|
|
|
7
7
|
export * as document from "./document";
|
|
8
8
|
export * as email from "./email";
|
|
9
9
|
export * as employment from "./employment";
|
|
10
|
+
export * as eor from "./eor";
|
|
10
11
|
export * as misc from "./misc";
|
|
11
12
|
export * as payroll from "./payroll";
|
|
12
13
|
export * as timeoff from "./timeoff";
|
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.user = exports.tp = exports.timetracking = exports.timeoff = exports.payroll = exports.misc = exports.employment = exports.email = exports.document = exports.disbursement = exports.contractor = exports.company = exports.common = exports.bank = exports.accounting = void 0;
|
|
26
|
+
exports.user = exports.tp = exports.timetracking = exports.timeoff = exports.payroll = exports.misc = exports.eor = exports.employment = exports.email = exports.document = exports.disbursement = exports.contractor = exports.company = exports.common = exports.bank = exports.accounting = void 0;
|
|
27
27
|
exports.accounting = __importStar(require("./accounting"));
|
|
28
28
|
exports.bank = __importStar(require("./bank"));
|
|
29
29
|
exports.common = __importStar(require("./common"));
|
|
@@ -33,6 +33,7 @@ exports.disbursement = __importStar(require("./disbursement"));
|
|
|
33
33
|
exports.document = __importStar(require("./document"));
|
|
34
34
|
exports.email = __importStar(require("./email"));
|
|
35
35
|
exports.employment = __importStar(require("./employment"));
|
|
36
|
+
exports.eor = __importStar(require("./eor"));
|
|
36
37
|
exports.misc = __importStar(require("./misc"));
|
|
37
38
|
exports.payroll = __importStar(require("./payroll"));
|
|
38
39
|
exports.timeoff = __importStar(require("./timeoff"));
|
package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts
CHANGED
|
@@ -29,6 +29,18 @@ export declare class Misc {
|
|
|
29
29
|
* })
|
|
30
30
|
*/
|
|
31
31
|
regularCron(request: TheraApi.api.thera.misc.DailyCronRequest, requestOptions?: Misc.RequestOptions): Promise<TheraApi.api.thera.misc.DailyCronResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* Calling this API will trigger automatic withdrawals for all workers that have auto-withdrawals turned on.
|
|
34
|
+
*
|
|
35
|
+
* @param {TheraApi.api.thera.misc.AutoWithdrawalCronRequest} request
|
|
36
|
+
* @param {Misc.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* await client.api.thera.misc.misc.autoWithdrawalCron({
|
|
40
|
+
* theraWebhookSignatureHeader: "string"
|
|
41
|
+
* })
|
|
42
|
+
*/
|
|
43
|
+
autoWithdrawalCron(request: TheraApi.api.thera.misc.AutoWithdrawalCronRequest, requestOptions?: Misc.RequestOptions): Promise<TheraApi.api.thera.misc.AutoWithdrawalResults>;
|
|
32
44
|
/**
|
|
33
45
|
* Calling this API will trigger automatic auto payment of invoices for all companies that have auto-pay turned on.
|
|
34
46
|
*
|
package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js
CHANGED
|
@@ -68,7 +68,7 @@ class Misc {
|
|
|
68
68
|
Authorization: yield this._getAuthorizationHeader(),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
71
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
71
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev-2",
|
|
72
72
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
73
73
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
74
74
|
"Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
|
|
@@ -108,6 +108,67 @@ class Misc {
|
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
+
/**
|
|
112
|
+
* Calling this API will trigger automatic withdrawals for all workers that have auto-withdrawals turned on.
|
|
113
|
+
*
|
|
114
|
+
* @param {TheraApi.api.thera.misc.AutoWithdrawalCronRequest} request
|
|
115
|
+
* @param {Misc.RequestOptions} requestOptions - Request-specific configuration.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* await client.api.thera.misc.misc.autoWithdrawalCron({
|
|
119
|
+
* theraWebhookSignatureHeader: "string"
|
|
120
|
+
* })
|
|
121
|
+
*/
|
|
122
|
+
autoWithdrawalCron(request, requestOptions) {
|
|
123
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
124
|
+
const { theraWebhookSignatureHeader } = request;
|
|
125
|
+
const _response = yield core.fetcher({
|
|
126
|
+
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), "webhook/auto-withdrawal-cron"),
|
|
127
|
+
method: "POST",
|
|
128
|
+
headers: {
|
|
129
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
130
|
+
"X-Fern-Language": "JavaScript",
|
|
131
|
+
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
132
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev-2",
|
|
133
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
134
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
135
|
+
"Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
|
|
136
|
+
},
|
|
137
|
+
contentType: "application/json",
|
|
138
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
139
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
140
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
141
|
+
});
|
|
142
|
+
if (_response.ok) {
|
|
143
|
+
return yield serializers.api.thera.misc.AutoWithdrawalResults.parseOrThrow(_response.body, {
|
|
144
|
+
unrecognizedObjectKeys: "passthrough",
|
|
145
|
+
allowUnrecognizedUnionMembers: true,
|
|
146
|
+
allowUnrecognizedEnumValues: true,
|
|
147
|
+
skipValidation: true,
|
|
148
|
+
breadcrumbsPrefix: ["response"],
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
if (_response.error.reason === "status-code") {
|
|
152
|
+
throw new errors.TheraApiError({
|
|
153
|
+
statusCode: _response.error.statusCode,
|
|
154
|
+
body: _response.error.body,
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
switch (_response.error.reason) {
|
|
158
|
+
case "non-json":
|
|
159
|
+
throw new errors.TheraApiError({
|
|
160
|
+
statusCode: _response.error.statusCode,
|
|
161
|
+
body: _response.error.rawBody,
|
|
162
|
+
});
|
|
163
|
+
case "timeout":
|
|
164
|
+
throw new errors.TheraApiTimeoutError();
|
|
165
|
+
case "unknown":
|
|
166
|
+
throw new errors.TheraApiError({
|
|
167
|
+
message: _response.error.errorMessage,
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
}
|
|
111
172
|
/**
|
|
112
173
|
* Calling this API will trigger automatic auto payment of invoices for all companies that have auto-pay turned on.
|
|
113
174
|
*
|
|
@@ -129,7 +190,7 @@ class Misc {
|
|
|
129
190
|
Authorization: yield this._getAuthorizationHeader(),
|
|
130
191
|
"X-Fern-Language": "JavaScript",
|
|
131
192
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
132
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
193
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev-2",
|
|
133
194
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
134
195
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
135
196
|
"Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
|
|
@@ -184,7 +245,7 @@ class Misc {
|
|
|
184
245
|
Authorization: yield this._getAuthorizationHeader(),
|
|
185
246
|
"X-Fern-Language": "JavaScript",
|
|
186
247
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
187
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
248
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev-2",
|
|
188
249
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
189
250
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
190
251
|
"Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
|
|
@@ -239,7 +300,7 @@ class Misc {
|
|
|
239
300
|
Authorization: yield this._getAuthorizationHeader(),
|
|
240
301
|
"X-Fern-Language": "JavaScript",
|
|
241
302
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
242
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
303
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev-2",
|
|
243
304
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
244
305
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
245
306
|
"Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
|
|
@@ -300,7 +361,7 @@ class Misc {
|
|
|
300
361
|
Authorization: yield this._getAuthorizationHeader(),
|
|
301
362
|
"X-Fern-Language": "JavaScript",
|
|
302
363
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
303
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
364
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev-2",
|
|
304
365
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
305
366
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
306
367
|
"Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { type DailyCronRequest } from "./DailyCronRequest";
|
|
2
|
+
export { type AutoWithdrawalCronRequest } from "./AutoWithdrawalCronRequest";
|
|
2
3
|
export { type AutoPayCronRequest } from "./AutoPayCronRequest";
|
|
3
4
|
export { type EmailNotificationCronRequest } from "./EmailNotificationCronRequest";
|
|
4
5
|
export { type ContractRenewalCronRequest } from "./ContractRenewalCronRequest";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as TheraApi from "../../../../../../../../../index";
|
|
5
4
|
export interface DailyCronResponse {
|
|
6
|
-
|
|
5
|
+
message: string;
|
|
7
6
|
}
|
|
@@ -65,7 +65,7 @@ class OffcycleApi {
|
|
|
65
65
|
Authorization: yield this._getAuthorizationHeader(),
|
|
66
66
|
"X-Fern-Language": "JavaScript",
|
|
67
67
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
68
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
68
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev-2",
|
|
69
69
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
70
70
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
71
71
|
},
|
|
@@ -65,7 +65,7 @@ class OncycleApi {
|
|
|
65
65
|
Authorization: yield this._getAuthorizationHeader(),
|
|
66
66
|
"X-Fern-Language": "JavaScript",
|
|
67
67
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
68
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
68
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev-2",
|
|
69
69
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
70
70
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
71
71
|
},
|
|
@@ -122,7 +122,7 @@ class OncycleApi {
|
|
|
122
122
|
Authorization: yield this._getAuthorizationHeader(),
|
|
123
123
|
"X-Fern-Language": "JavaScript",
|
|
124
124
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
125
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
125
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev-2",
|
|
126
126
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
127
127
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
128
128
|
},
|
|
@@ -179,7 +179,7 @@ class OncycleApi {
|
|
|
179
179
|
Authorization: yield this._getAuthorizationHeader(),
|
|
180
180
|
"X-Fern-Language": "JavaScript",
|
|
181
181
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
182
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
182
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev-2",
|
|
183
183
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
184
184
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
185
185
|
},
|