@thera-hr/api-sdk 0.0.1-prerelease2888-dev-3 → 0.0.1-prerelease2890-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/client/Client.d.ts +0 -3
- package/api/resources/api/client/Client.js +4 -9
- 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/index.d.ts +0 -1
- package/api/resources/api/resources/index.js +1 -2
- 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 +33 -33
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +23 -23
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +1 -8
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +19 -26
- 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/resources/eorTrackerApi/client/Client.d.ts +14 -4
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +61 -9
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +1 -1
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -1
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +2 -1
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +25 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +77 -6
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +27 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
- package/api/resources/api/resources/{external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts → thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts} +9 -6
- package/{dist/api/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts → api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts} +2 -2
- package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
- 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.d.ts +2 -1
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +15 -11
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/requests/GetAllTimeTrackingRequest.d.ts +3 -1
- 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/dist/api/resources/api/client/Client.d.ts +0 -3
- package/dist/api/resources/api/client/Client.js +4 -9
- 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/index.d.ts +0 -1
- package/dist/api/resources/api/resources/index.js +1 -2
- 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 +33 -33
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +23 -23
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +1 -8
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +19 -26
- 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/resources/eorTrackerApi/client/Client.d.ts +14 -4
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +61 -9
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +1 -1
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -1
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +2 -1
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +25 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +77 -6
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +27 -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/{external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts → thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts} +9 -6
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js +5 -0
- package/{api/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts → dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts} +2 -2
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
- 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.d.ts +2 -1
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +15 -11
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/requests/GetAllTimeTrackingRequest.d.ts +3 -1
- 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/serialization/resources/api/resources/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/index.js +1 -2
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.js → GetEorEmployeeByEmailResponse.js} +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +13 -0
- package/dist/serialization/resources/api/resources/{external/resources/externalApi/types/AddEorUser.js → thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js} +4 -6
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +23 -0
- package/dist/serialization/resources/api/resources/{external/resources/externalApi/types/ExternalCreateContractorRequestV2.js → thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js} +11 -10
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +12 -0
- package/{serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.js → dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js} +4 -4
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +147 -94
- package/serialization/resources/api/resources/index.d.ts +0 -1
- package/serialization/resources/api/resources/index.js +1 -2
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +2 -2
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.js → GetEorEmployeeByEmailResponse.js} +2 -2
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +13 -0
- package/serialization/resources/api/resources/{external/resources/externalApi/types/AddEorUser.js → thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js} +4 -6
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -1
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +2 -1
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +23 -0
- package/serialization/resources/api/resources/{external/resources/externalApi/types/ExternalCreateContractorRequestV2.js → thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js} +11 -10
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +12 -0
- package/{dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.js → serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js} +4 -4
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/api/resources/external/client/Client.d.ts +0 -19
- package/api/resources/api/resources/external/client/Client.js +0 -17
- package/api/resources/api/resources/external/client/index.d.ts +0 -1
- package/api/resources/api/resources/external/client/index.js +0 -2
- package/api/resources/api/resources/external/index.d.ts +0 -2
- package/api/resources/api/resources/external/index.js +0 -18
- package/api/resources/api/resources/external/resources/externalApi/client/Client.d.ts +0 -68
- package/api/resources/api/resources/external/resources/externalApi/client/Client.js +0 -155
- package/api/resources/api/resources/external/resources/externalApi/client/index.d.ts +0 -1
- package/api/resources/api/resources/external/resources/externalApi/client/index.js +0 -2
- package/api/resources/api/resources/external/resources/externalApi/index.d.ts +0 -2
- package/api/resources/api/resources/external/resources/externalApi/index.js +0 -18
- package/api/resources/api/resources/external/resources/externalApi/types/AddEorUser.d.ts +0 -9
- package/api/resources/api/resources/external/resources/externalApi/types/index.d.ts +0 -3
- package/api/resources/api/resources/external/resources/externalApi/types/index.js +0 -19
- package/api/resources/api/resources/external/resources/index.d.ts +0 -2
- package/api/resources/api/resources/external/resources/index.js +0 -41
- package/dist/api/resources/api/resources/external/client/Client.d.ts +0 -19
- package/dist/api/resources/api/resources/external/client/Client.js +0 -17
- package/dist/api/resources/api/resources/external/client/index.d.ts +0 -1
- package/dist/api/resources/api/resources/external/client/index.js +0 -2
- package/dist/api/resources/api/resources/external/index.d.ts +0 -2
- package/dist/api/resources/api/resources/external/index.js +0 -18
- package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.d.ts +0 -68
- package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +0 -155
- package/dist/api/resources/api/resources/external/resources/externalApi/client/index.d.ts +0 -1
- package/dist/api/resources/api/resources/external/resources/externalApi/client/index.js +0 -2
- package/dist/api/resources/api/resources/external/resources/externalApi/index.d.ts +0 -2
- package/dist/api/resources/api/resources/external/resources/externalApi/index.js +0 -18
- package/dist/api/resources/api/resources/external/resources/externalApi/types/AddEorUser.d.ts +0 -9
- package/dist/api/resources/api/resources/external/resources/externalApi/types/index.d.ts +0 -3
- package/dist/api/resources/api/resources/external/resources/externalApi/types/index.js +0 -19
- package/dist/api/resources/api/resources/external/resources/index.d.ts +0 -2
- package/dist/api/resources/api/resources/external/resources/index.js +0 -41
- package/dist/serialization/resources/api/resources/external/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/external/index.js +0 -17
- package/dist/serialization/resources/api/resources/external/resources/externalApi/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/external/resources/externalApi/index.js +0 -17
- package/dist/serialization/resources/api/resources/external/resources/externalApi/types/AddEorUser.d.ts +0 -15
- package/dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +0 -22
- package/dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts +0 -12
- package/dist/serialization/resources/api/resources/external/resources/externalApi/types/index.d.ts +0 -3
- package/dist/serialization/resources/api/resources/external/resources/externalApi/types/index.js +0 -19
- package/dist/serialization/resources/api/resources/external/resources/index.d.ts +0 -2
- package/dist/serialization/resources/api/resources/external/resources/index.js +0 -41
- package/serialization/resources/api/resources/external/index.d.ts +0 -1
- package/serialization/resources/api/resources/external/index.js +0 -17
- package/serialization/resources/api/resources/external/resources/externalApi/index.d.ts +0 -1
- package/serialization/resources/api/resources/external/resources/externalApi/index.js +0 -17
- package/serialization/resources/api/resources/external/resources/externalApi/types/AddEorUser.d.ts +0 -15
- package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +0 -22
- package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts +0 -12
- package/serialization/resources/api/resources/external/resources/externalApi/types/index.d.ts +0 -3
- package/serialization/resources/api/resources/external/resources/externalApi/types/index.js +0 -19
- package/serialization/resources/api/resources/external/resources/index.d.ts +0 -2
- package/serialization/resources/api/resources/external/resources/index.js +0 -41
- /package/api/resources/api/resources/{external/resources/externalApi/types/AddEorUser.js → thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js} +0 -0
- /package/api/resources/api/resources/{external/resources/externalApi/types/ExternalCreateContractorRequestV2.js → thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js} +0 -0
- /package/api/resources/api/resources/{external/resources/externalApi/types/ExternalSuccessResponseV2.js → thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js → misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js} +0 -0
- /package/{dist/api/resources/api/resources/external/resources/externalApi/types/AddEorUser.js → api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js} +0 -0
- /package/dist/api/resources/api/resources/{external/resources/externalApi/types/ExternalCreateContractorRequestV2.js → thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js} +0 -0
- /package/dist/api/resources/api/resources/{external/resources/externalApi/types/ExternalSuccessResponseV2.js → thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js} +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js → misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js} +0 -0
|
@@ -36,11 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
exports.
|
|
42
|
-
firstName: core.serialization.string(),
|
|
43
|
-
lastName: core.serialization.string(),
|
|
39
|
+
exports.GetLatestEorEmployeeEmailResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.GetLatestEorEmployeeEmailResponse = core.serialization.object({
|
|
44
42
|
email: core.serialization.string(),
|
|
45
|
-
|
|
43
|
+
userId: core.serialization.string(),
|
|
46
44
|
});
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./GetEorTrackerResponse"), exports);
|
|
18
|
-
__exportStar(require("./
|
|
18
|
+
__exportStar(require("./GetEorEmployeeByEmailResponse"), exports);
|
|
19
|
+
__exportStar(require("./GetLatestEorEmployeeEmailResponse"), exports);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { WageType } from "../../../../../../../../model/resources/thera/resources/contract/types/WageType";
|
|
8
|
+
export declare const FilloutEorEmployeeWebhookRequest: core.serialization.ObjectSchema<serializers.api.thera.misc.FilloutEorEmployeeWebhookRequest.Raw, TheraApi.api.thera.misc.FilloutEorEmployeeWebhookRequest>;
|
|
9
|
+
export declare namespace FilloutEorEmployeeWebhookRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
firstName: string;
|
|
12
|
+
lastName: string;
|
|
13
|
+
email: string;
|
|
14
|
+
country: string;
|
|
15
|
+
companyID: string;
|
|
16
|
+
teamId?: string | null;
|
|
17
|
+
jobTitle: string;
|
|
18
|
+
startDate: string;
|
|
19
|
+
rate: number;
|
|
20
|
+
wageType: WageType.Raw;
|
|
21
|
+
currency: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -36,18 +36,19 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
const WageType_1 = require("
|
|
42
|
-
|
|
43
|
-
const ContractType_1 = require("../../../../../../model/resources/thera/resources/contract/types/ContractType");
|
|
44
|
-
exports.ExternalCreateContractorRequestV2 = core.serialization.object({
|
|
45
|
-
email: core.serialization.string(),
|
|
39
|
+
exports.FilloutEorEmployeeWebhookRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const WageType_1 = require("../../../../../../../../model/resources/thera/resources/contract/types/WageType");
|
|
42
|
+
exports.FilloutEorEmployeeWebhookRequest = core.serialization.object({
|
|
46
43
|
firstName: core.serialization.string(),
|
|
47
44
|
lastName: core.serialization.string(),
|
|
45
|
+
email: core.serialization.string(),
|
|
48
46
|
country: core.serialization.string(),
|
|
49
|
-
|
|
47
|
+
companyId: core.serialization.property("companyID", core.serialization.string()),
|
|
48
|
+
teamId: core.serialization.string().optional(),
|
|
49
|
+
jobTitle: core.serialization.string(),
|
|
50
|
+
startDate: core.serialization.string(),
|
|
51
|
+
rate: core.serialization.number(),
|
|
50
52
|
wageType: WageType_1.WageType,
|
|
51
|
-
|
|
52
|
-
contractType: ContractType_1.ContractType,
|
|
53
|
+
currency: core.serialization.string(),
|
|
53
54
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const FilloutEorEmployeeWebhookResponse: core.serialization.ObjectSchema<serializers.api.thera.misc.FilloutEorEmployeeWebhookResponse.Raw, TheraApi.api.thera.misc.FilloutEorEmployeeWebhookResponse>;
|
|
8
|
+
export declare namespace FilloutEorEmployeeWebhookResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
exports.
|
|
42
|
-
|
|
39
|
+
exports.FilloutEorEmployeeWebhookResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.FilloutEorEmployeeWebhookResponse = core.serialization.object({
|
|
42
|
+
message: core.serialization.string(),
|
|
43
43
|
});
|
|
@@ -2,3 +2,5 @@ export * from "./DailyCronResponse";
|
|
|
2
2
|
export * from "./AutoWithdrawalResults";
|
|
3
3
|
export * from "./TriggeredWithdrawal";
|
|
4
4
|
export * from "./ContractRenewalCronResponse";
|
|
5
|
+
export * from "./FilloutEorEmployeeWebhookResponse";
|
|
6
|
+
export * from "./FilloutEorEmployeeWebhookRequest";
|
|
@@ -18,3 +18,5 @@ __exportStar(require("./DailyCronResponse"), exports);
|
|
|
18
18
|
__exportStar(require("./AutoWithdrawalResults"), exports);
|
|
19
19
|
__exportStar(require("./TriggeredWithdrawal"), exports);
|
|
20
20
|
__exportStar(require("./ContractRenewalCronResponse"), exports);
|
|
21
|
+
__exportStar(require("./FilloutEorEmployeeWebhookResponse"), exports);
|
|
22
|
+
__exportStar(require("./FilloutEorEmployeeWebhookRequest"), exports);
|
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-prerelease2890-dev-2";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -176,88 +176,6 @@ await client.api.dev.dev.uploadEor({
|
|
|
176
176
|
</dl>
|
|
177
177
|
</details>
|
|
178
178
|
|
|
179
|
-
## Api External ExternalApi
|
|
180
|
-
|
|
181
|
-
<details><summary><code>client.api.external.externalApi.<a href="/src/api/resources/api/resources/external/resources/externalApi/client/Client.ts">createContractorV2</a>({ ...params }) -> TheraApi.ExternalSuccessResponseV2</code></summary>
|
|
182
|
-
<dl>
|
|
183
|
-
<dd>
|
|
184
|
-
|
|
185
|
-
#### 🔌 Usage
|
|
186
|
-
|
|
187
|
-
<dl>
|
|
188
|
-
<dd>
|
|
189
|
-
|
|
190
|
-
<dl>
|
|
191
|
-
<dd>
|
|
192
|
-
|
|
193
|
-
```typescript
|
|
194
|
-
await client.api.external.externalApi.createContractorV2({
|
|
195
|
-
email: "string",
|
|
196
|
-
firstName: "string",
|
|
197
|
-
lastName: "string",
|
|
198
|
-
country: "string",
|
|
199
|
-
currency: "string",
|
|
200
|
-
wageType: "HOURLY",
|
|
201
|
-
payCycle: {
|
|
202
|
-
timezone: "string",
|
|
203
|
-
cycleStartDate: "2023-01-15",
|
|
204
|
-
cycleEnd: {
|
|
205
|
-
type: "weekly",
|
|
206
|
-
},
|
|
207
|
-
paymentDueDays: 1,
|
|
208
|
-
firstPayDate: "2023-01-15",
|
|
209
|
-
lastPayDate: "2023-01-15",
|
|
210
|
-
firstPayTotal: 1000000,
|
|
211
|
-
lastPayTotal: 1000000,
|
|
212
|
-
itemRecurrencesById: {
|
|
213
|
-
string: {
|
|
214
|
-
itemType: "EXPENSE",
|
|
215
|
-
description: "string",
|
|
216
|
-
amount: 1000000,
|
|
217
|
-
firstInvoiceDate: "2023-01-15",
|
|
218
|
-
paymentCurrency: "string",
|
|
219
|
-
deletedDateTime: {
|
|
220
|
-
key: "value",
|
|
221
|
-
},
|
|
222
|
-
},
|
|
223
|
-
},
|
|
224
|
-
},
|
|
225
|
-
contractType: "FIXED_RATE",
|
|
226
|
-
});
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
</dd>
|
|
230
|
-
</dl>
|
|
231
|
-
</dd>
|
|
232
|
-
</dl>
|
|
233
|
-
|
|
234
|
-
#### ⚙️ Parameters
|
|
235
|
-
|
|
236
|
-
<dl>
|
|
237
|
-
<dd>
|
|
238
|
-
|
|
239
|
-
<dl>
|
|
240
|
-
<dd>
|
|
241
|
-
|
|
242
|
-
**request:** `TheraApi.ExternalCreateContractorRequestV2`
|
|
243
|
-
|
|
244
|
-
</dd>
|
|
245
|
-
</dl>
|
|
246
|
-
|
|
247
|
-
<dl>
|
|
248
|
-
<dd>
|
|
249
|
-
|
|
250
|
-
**requestOptions:** `ExternalApi.RequestOptions`
|
|
251
|
-
|
|
252
|
-
</dd>
|
|
253
|
-
</dl>
|
|
254
|
-
</dd>
|
|
255
|
-
</dl>
|
|
256
|
-
|
|
257
|
-
</dd>
|
|
258
|
-
</dl>
|
|
259
|
-
</details>
|
|
260
|
-
|
|
261
179
|
## Api Services File
|
|
262
180
|
|
|
263
181
|
<details><summary><code>client.api.services.file.<a href="/src/api/resources/api/resources/services/resources/file/client/Client.ts">attachDocumentToEmployment</a>(contractId, { ...params }) -> void</code></summary>
|
|
@@ -4727,14 +4645,7 @@ await client.api.thera.company.companyApi.inviteContractor({
|
|
|
4727
4645
|
lastPayTotal: 1000000,
|
|
4728
4646
|
itemRecurrencesById: {
|
|
4729
4647
|
string: {
|
|
4730
|
-
|
|
4731
|
-
description: "string",
|
|
4732
|
-
amount: 1000000,
|
|
4733
|
-
firstInvoiceDate: "2023-01-15",
|
|
4734
|
-
paymentCurrency: "string",
|
|
4735
|
-
deletedDateTime: {
|
|
4736
|
-
key: "value",
|
|
4737
|
-
},
|
|
4648
|
+
key: "value",
|
|
4738
4649
|
},
|
|
4739
4650
|
},
|
|
4740
4651
|
},
|
|
@@ -7689,7 +7600,7 @@ await client.api.thera.eor.eorTrackerApi.getEorTracker("string");
|
|
|
7689
7600
|
</dl>
|
|
7690
7601
|
</details>
|
|
7691
7602
|
|
|
7692
|
-
<details><summary><code>client.api.thera.eor.eorTrackerApi.<a href="/src/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.ts">
|
|
7603
|
+
<details><summary><code>client.api.thera.eor.eorTrackerApi.<a href="/src/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.ts">getEorEmployeeByEmail</a>(email) -> TheraApi.GetEorEmployeeByEmailResponse</code></summary>
|
|
7693
7604
|
<dl>
|
|
7694
7605
|
<dd>
|
|
7695
7606
|
|
|
@@ -7701,7 +7612,7 @@ await client.api.thera.eor.eorTrackerApi.getEorTracker("string");
|
|
|
7701
7612
|
<dl>
|
|
7702
7613
|
<dd>
|
|
7703
7614
|
|
|
7704
|
-
Gets EOR employee data from Airtable for a specific employee
|
|
7615
|
+
Gets EOR employee data from Airtable for a specific employee email
|
|
7705
7616
|
|
|
7706
7617
|
</dd>
|
|
7707
7618
|
</dl>
|
|
@@ -7717,7 +7628,7 @@ Gets EOR employee data from Airtable for a specific employee user ID
|
|
|
7717
7628
|
<dd>
|
|
7718
7629
|
|
|
7719
7630
|
```typescript
|
|
7720
|
-
await client.api.thera.eor.eorTrackerApi.
|
|
7631
|
+
await client.api.thera.eor.eorTrackerApi.getEorEmployeeByEmail("string");
|
|
7721
7632
|
```
|
|
7722
7633
|
|
|
7723
7634
|
</dd>
|
|
@@ -7733,7 +7644,70 @@ await client.api.thera.eor.eorTrackerApi.getEorEmployeeByUserId("string");
|
|
|
7733
7644
|
<dl>
|
|
7734
7645
|
<dd>
|
|
7735
7646
|
|
|
7736
|
-
**
|
|
7647
|
+
**email:** `string`
|
|
7648
|
+
|
|
7649
|
+
</dd>
|
|
7650
|
+
</dl>
|
|
7651
|
+
|
|
7652
|
+
<dl>
|
|
7653
|
+
<dd>
|
|
7654
|
+
|
|
7655
|
+
**requestOptions:** `EorTrackerApi.RequestOptions`
|
|
7656
|
+
|
|
7657
|
+
</dd>
|
|
7658
|
+
</dl>
|
|
7659
|
+
</dd>
|
|
7660
|
+
</dl>
|
|
7661
|
+
|
|
7662
|
+
</dd>
|
|
7663
|
+
</dl>
|
|
7664
|
+
</details>
|
|
7665
|
+
|
|
7666
|
+
<details><summary><code>client.api.thera.eor.eorTrackerApi.<a href="/src/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.ts">getLatestEorEmployeeEmailByCompanyId</a>(companyId) -> TheraApi.GetLatestEorEmployeeEmailResponse</code></summary>
|
|
7667
|
+
<dl>
|
|
7668
|
+
<dd>
|
|
7669
|
+
|
|
7670
|
+
#### 📝 Description
|
|
7671
|
+
|
|
7672
|
+
<dl>
|
|
7673
|
+
<dd>
|
|
7674
|
+
|
|
7675
|
+
<dl>
|
|
7676
|
+
<dd>
|
|
7677
|
+
|
|
7678
|
+
Gets the email field of the latest EOR employee record added to Airtable for a specific company ID
|
|
7679
|
+
|
|
7680
|
+
</dd>
|
|
7681
|
+
</dl>
|
|
7682
|
+
</dd>
|
|
7683
|
+
</dl>
|
|
7684
|
+
|
|
7685
|
+
#### 🔌 Usage
|
|
7686
|
+
|
|
7687
|
+
<dl>
|
|
7688
|
+
<dd>
|
|
7689
|
+
|
|
7690
|
+
<dl>
|
|
7691
|
+
<dd>
|
|
7692
|
+
|
|
7693
|
+
```typescript
|
|
7694
|
+
await client.api.thera.eor.eorTrackerApi.getLatestEorEmployeeEmailByCompanyId("string");
|
|
7695
|
+
```
|
|
7696
|
+
|
|
7697
|
+
</dd>
|
|
7698
|
+
</dl>
|
|
7699
|
+
</dd>
|
|
7700
|
+
</dl>
|
|
7701
|
+
|
|
7702
|
+
#### ⚙️ Parameters
|
|
7703
|
+
|
|
7704
|
+
<dl>
|
|
7705
|
+
<dd>
|
|
7706
|
+
|
|
7707
|
+
<dl>
|
|
7708
|
+
<dd>
|
|
7709
|
+
|
|
7710
|
+
**companyId:** `string`
|
|
7737
7711
|
|
|
7738
7712
|
</dd>
|
|
7739
7713
|
</dl>
|
|
@@ -8144,6 +8118,84 @@ await client.api.thera.misc.misc.processAchTpInvoices({
|
|
|
8144
8118
|
</dl>
|
|
8145
8119
|
</details>
|
|
8146
8120
|
|
|
8121
|
+
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">filloutEorEmployeeWebhook</a>({ ...params }) -> TheraApi.FilloutEorEmployeeWebhookResponse</code></summary>
|
|
8122
|
+
<dl>
|
|
8123
|
+
<dd>
|
|
8124
|
+
|
|
8125
|
+
#### 📝 Description
|
|
8126
|
+
|
|
8127
|
+
<dl>
|
|
8128
|
+
<dd>
|
|
8129
|
+
|
|
8130
|
+
<dl>
|
|
8131
|
+
<dd>
|
|
8132
|
+
|
|
8133
|
+
Webhook endpoint that receives submissions from Fillout forms to create EOR employees. This endpoint accepts the same request structure as the AddEorEmployeeRequest.
|
|
8134
|
+
|
|
8135
|
+
</dd>
|
|
8136
|
+
</dl>
|
|
8137
|
+
</dd>
|
|
8138
|
+
</dl>
|
|
8139
|
+
|
|
8140
|
+
#### 🔌 Usage
|
|
8141
|
+
|
|
8142
|
+
<dl>
|
|
8143
|
+
<dd>
|
|
8144
|
+
|
|
8145
|
+
<dl>
|
|
8146
|
+
<dd>
|
|
8147
|
+
|
|
8148
|
+
```typescript
|
|
8149
|
+
await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
|
|
8150
|
+
theraWebhookSignatureHeader: "string",
|
|
8151
|
+
body: {
|
|
8152
|
+
firstName: "string",
|
|
8153
|
+
lastName: "string",
|
|
8154
|
+
email: "string",
|
|
8155
|
+
country: "string",
|
|
8156
|
+
companyId: "string",
|
|
8157
|
+
teamId: "string",
|
|
8158
|
+
jobTitle: "string",
|
|
8159
|
+
startDate: "2023-01-15",
|
|
8160
|
+
rate: 1.1,
|
|
8161
|
+
wageType: "HOURLY",
|
|
8162
|
+
currency: "string",
|
|
8163
|
+
},
|
|
8164
|
+
});
|
|
8165
|
+
```
|
|
8166
|
+
|
|
8167
|
+
</dd>
|
|
8168
|
+
</dl>
|
|
8169
|
+
</dd>
|
|
8170
|
+
</dl>
|
|
8171
|
+
|
|
8172
|
+
#### ⚙️ Parameters
|
|
8173
|
+
|
|
8174
|
+
<dl>
|
|
8175
|
+
<dd>
|
|
8176
|
+
|
|
8177
|
+
<dl>
|
|
8178
|
+
<dd>
|
|
8179
|
+
|
|
8180
|
+
**request:** `TheraApi.api.thera.misc.FilloutEorEmployeeRequest`
|
|
8181
|
+
|
|
8182
|
+
</dd>
|
|
8183
|
+
</dl>
|
|
8184
|
+
|
|
8185
|
+
<dl>
|
|
8186
|
+
<dd>
|
|
8187
|
+
|
|
8188
|
+
**requestOptions:** `Misc.RequestOptions`
|
|
8189
|
+
|
|
8190
|
+
</dd>
|
|
8191
|
+
</dl>
|
|
8192
|
+
</dd>
|
|
8193
|
+
</dl>
|
|
8194
|
+
|
|
8195
|
+
</dd>
|
|
8196
|
+
</dl>
|
|
8197
|
+
</details>
|
|
8198
|
+
|
|
8147
8199
|
## Offcycle API
|
|
8148
8200
|
|
|
8149
8201
|
<details><summary><code>client.api.thera.payroll.offcycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.ts">getCurrentOffCycleChecks</a>(companyId) -> TheraApi.CheckPayrollResponse | undefined</code></summary>
|
|
@@ -9999,6 +10051,7 @@ Get all time tracking entries for a user within a date range
|
|
|
9999
10051
|
await client.api.thera.timetracking.timetrackingApi.getAllTimeTracking("string", "string", {
|
|
10000
10052
|
startDate: "string",
|
|
10001
10053
|
endDate: "string",
|
|
10054
|
+
timezone: "string",
|
|
10002
10055
|
});
|
|
10003
10056
|
```
|
|
10004
10057
|
|
|
@@ -33,10 +33,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.zeal = exports.thera = exports.services = exports.response = exports.request = exports.oneschema = exports.
|
|
36
|
+
exports.zeal = exports.thera = exports.services = exports.response = exports.request = exports.oneschema = exports.dev = exports.aiprise = void 0;
|
|
37
37
|
exports.aiprise = __importStar(require("./aiprise"));
|
|
38
38
|
exports.dev = __importStar(require("./dev"));
|
|
39
|
-
exports.external = __importStar(require("./external"));
|
|
40
39
|
exports.oneschema = __importStar(require("./oneschema"));
|
|
41
40
|
exports.request = __importStar(require("./request"));
|
|
42
41
|
exports.response = __importStar(require("./response"));
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../../../../index";
|
|
5
5
|
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const GetEorEmployeeByEmailResponse: core.serialization.ObjectSchema<serializers.api.thera.eor.GetEorEmployeeByEmailResponse.Raw, TheraApi.api.thera.eor.GetEorEmployeeByEmailResponse>;
|
|
8
|
+
export declare namespace GetEorEmployeeByEmailResponse {
|
|
9
9
|
interface Raw {
|
|
10
10
|
employee: Record<string, unknown>;
|
|
11
11
|
}
|
|
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.GetEorEmployeeByEmailResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
-
exports.
|
|
41
|
+
exports.GetEorEmployeeByEmailResponse = core.serialization.object({
|
|
42
42
|
employee: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
43
43
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const GetLatestEorEmployeeEmailResponse: core.serialization.ObjectSchema<serializers.api.thera.eor.GetLatestEorEmployeeEmailResponse.Raw, TheraApi.api.thera.eor.GetLatestEorEmployeeEmailResponse>;
|
|
8
|
+
export declare namespace GetLatestEorEmployeeEmailResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
email: string;
|
|
11
|
+
userId: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -36,11 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
exports.
|
|
42
|
-
firstName: core.serialization.string(),
|
|
43
|
-
lastName: core.serialization.string(),
|
|
39
|
+
exports.GetLatestEorEmployeeEmailResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.GetLatestEorEmployeeEmailResponse = core.serialization.object({
|
|
44
42
|
email: core.serialization.string(),
|
|
45
|
-
|
|
43
|
+
userId: core.serialization.string(),
|
|
46
44
|
});
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./GetEorTrackerResponse"), exports);
|
|
18
|
-
__exportStar(require("./
|
|
18
|
+
__exportStar(require("./GetEorEmployeeByEmailResponse"), exports);
|
|
19
|
+
__exportStar(require("./GetLatestEorEmployeeEmailResponse"), exports);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { WageType } from "../../../../../../../../model/resources/thera/resources/contract/types/WageType";
|
|
8
|
+
export declare const FilloutEorEmployeeWebhookRequest: core.serialization.ObjectSchema<serializers.api.thera.misc.FilloutEorEmployeeWebhookRequest.Raw, TheraApi.api.thera.misc.FilloutEorEmployeeWebhookRequest>;
|
|
9
|
+
export declare namespace FilloutEorEmployeeWebhookRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
firstName: string;
|
|
12
|
+
lastName: string;
|
|
13
|
+
email: string;
|
|
14
|
+
country: string;
|
|
15
|
+
companyID: string;
|
|
16
|
+
teamId?: string | null;
|
|
17
|
+
jobTitle: string;
|
|
18
|
+
startDate: string;
|
|
19
|
+
rate: number;
|
|
20
|
+
wageType: WageType.Raw;
|
|
21
|
+
currency: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -36,18 +36,19 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
const WageType_1 = require("
|
|
42
|
-
|
|
43
|
-
const ContractType_1 = require("../../../../../../model/resources/thera/resources/contract/types/ContractType");
|
|
44
|
-
exports.ExternalCreateContractorRequestV2 = core.serialization.object({
|
|
45
|
-
email: core.serialization.string(),
|
|
39
|
+
exports.FilloutEorEmployeeWebhookRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const WageType_1 = require("../../../../../../../../model/resources/thera/resources/contract/types/WageType");
|
|
42
|
+
exports.FilloutEorEmployeeWebhookRequest = core.serialization.object({
|
|
46
43
|
firstName: core.serialization.string(),
|
|
47
44
|
lastName: core.serialization.string(),
|
|
45
|
+
email: core.serialization.string(),
|
|
48
46
|
country: core.serialization.string(),
|
|
49
|
-
|
|
47
|
+
companyId: core.serialization.property("companyID", core.serialization.string()),
|
|
48
|
+
teamId: core.serialization.string().optional(),
|
|
49
|
+
jobTitle: core.serialization.string(),
|
|
50
|
+
startDate: core.serialization.string(),
|
|
51
|
+
rate: core.serialization.number(),
|
|
50
52
|
wageType: WageType_1.WageType,
|
|
51
|
-
|
|
52
|
-
contractType: ContractType_1.ContractType,
|
|
53
|
+
currency: core.serialization.string(),
|
|
53
54
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const FilloutEorEmployeeWebhookResponse: core.serialization.ObjectSchema<serializers.api.thera.misc.FilloutEorEmployeeWebhookResponse.Raw, TheraApi.api.thera.misc.FilloutEorEmployeeWebhookResponse>;
|
|
8
|
+
export declare namespace FilloutEorEmployeeWebhookResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
exports.
|
|
42
|
-
|
|
39
|
+
exports.FilloutEorEmployeeWebhookResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.FilloutEorEmployeeWebhookResponse = core.serialization.object({
|
|
42
|
+
message: core.serialization.string(),
|
|
43
43
|
});
|
package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts
CHANGED
|
@@ -2,3 +2,5 @@ export * from "./DailyCronResponse";
|
|
|
2
2
|
export * from "./AutoWithdrawalResults";
|
|
3
3
|
export * from "./TriggeredWithdrawal";
|
|
4
4
|
export * from "./ContractRenewalCronResponse";
|
|
5
|
+
export * from "./FilloutEorEmployeeWebhookResponse";
|
|
6
|
+
export * from "./FilloutEorEmployeeWebhookRequest";
|
package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js
CHANGED
|
@@ -18,3 +18,5 @@ __exportStar(require("./DailyCronResponse"), exports);
|
|
|
18
18
|
__exportStar(require("./AutoWithdrawalResults"), exports);
|
|
19
19
|
__exportStar(require("./TriggeredWithdrawal"), exports);
|
|
20
20
|
__exportStar(require("./ContractRenewalCronResponse"), exports);
|
|
21
|
+
__exportStar(require("./FilloutEorEmployeeWebhookResponse"), exports);
|
|
22
|
+
__exportStar(require("./FilloutEorEmployeeWebhookRequest"), exports);
|
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-prerelease2890-dev-2";
|
package/version.js
CHANGED