@thera-hr/api-sdk 0.0.1-prerelease3205-dev-3 → 0.0.1-prerelease3205-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +37 -37
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.d.ts +45 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +106 -5
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/requests/CreatePayrollCsvRequest.d.ts +48 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/requests/CreatePayrollCsvRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/requests/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/CreatePayrollCsvRecord.d.ts +27 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/CreatePayrollCsvRecord.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/index.js +1 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +8 -8
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
- package/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/index.js +1 -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.d.ts +14 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +58 -5
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +15 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.d.ts +12 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.js +2 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/company/types/Flags.d.ts +2 -0
- package/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +1 -0
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +37 -37
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.d.ts +45 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +106 -5
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/requests/CreatePayrollCsvRequest.d.ts +48 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/requests/CreatePayrollCsvRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/requests/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/CreatePayrollCsvRecord.d.ts +27 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/CreatePayrollCsvRecord.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/index.js +1 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +8 -8
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +1 -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.d.ts +14 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +58 -5
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +15 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/company/types/Flags.d.ts +2 -0
- package/dist/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/requests/CreatePayrollCsvRequest.d.ts +15 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/requests/CreatePayrollCsvRequest.js +46 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/requests/index.js +3 -1
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/CreatePayrollCsvRecord.d.ts +33 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/CreatePayrollCsvRecord.js +64 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/index.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +4 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.js +5 -0
- package/dist/serialization/resources/db/resources/company/types/Flags.d.ts +2 -0
- package/dist/serialization/resources/db/resources/company/types/Flags.js +2 -0
- package/dist/serialization/resources/db/resources/user/types/BridgeUserDetails.d.ts +1 -0
- package/dist/serialization/resources/db/resources/user/types/BridgeUserDetails.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +179 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/requests/CreatePayrollCsvRequest.d.ts +15 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/requests/CreatePayrollCsvRequest.js +46 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/requests/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/requests/index.js +3 -1
- package/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/CreatePayrollCsvRecord.d.ts +33 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/CreatePayrollCsvRecord.js +64 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/index.js +1 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +1 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +4 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.js +43 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.js +5 -0
- package/serialization/resources/db/resources/company/types/Flags.d.ts +2 -0
- package/serialization/resources/db/resources/company/types/Flags.js +2 -0
- package/serialization/resources/db/resources/user/types/BridgeUserDetails.d.ts +1 -0
- package/serialization/resources/db/resources/user/types/BridgeUserDetails.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -20,3 +20,4 @@ __exportStar(require("./OnboardW2PayrollRequest"), exports);
|
|
|
20
20
|
__exportStar(require("./OnboardW2PayrollUpdateCompany"), exports);
|
|
21
21
|
__exportStar(require("./OnboardW2PayrollSettings"), exports);
|
|
22
22
|
__exportStar(require("./OnboardW2PayrollResponse"), exports);
|
|
23
|
+
__exportStar(require("./CreatePayrollCsvRecord"), exports);
|
package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts
CHANGED
|
@@ -7,4 +7,5 @@ export * from "./oncycleApi/types";
|
|
|
7
7
|
export * as payscheduleApi from "./payscheduleApi";
|
|
8
8
|
export * from "./payscheduleApi/types";
|
|
9
9
|
export * from "./expenseApi/client/requests";
|
|
10
|
+
export * from "./oncycleApi/client/requests";
|
|
10
11
|
export * from "./payscheduleApi/client/requests";
|
package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js
CHANGED
|
@@ -46,4 +46,5 @@ __exportStar(require("./oncycleApi/types"), exports);
|
|
|
46
46
|
exports.payscheduleApi = __importStar(require("./payscheduleApi"));
|
|
47
47
|
__exportStar(require("./payscheduleApi/types"), exports);
|
|
48
48
|
__exportStar(require("./expenseApi/client/requests"), exports);
|
|
49
|
+
__exportStar(require("./oncycleApi/client/requests"), exports);
|
|
49
50
|
__exportStar(require("./payscheduleApi/client/requests"), exports);
|
|
@@ -32,7 +32,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
35
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
39
|
exports.getOnCycleCheckDetails = exports.getOnCycleChecks = void 0;
|
|
37
40
|
exports.getOnCycleChecks = __importStar(require("./getOnCycleChecks"));
|
|
38
41
|
exports.getOnCycleCheckDetails = __importStar(require("./getOnCycleCheckDetails"));
|
|
42
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -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 AddEmployeeToOncycleChecksRequest: core.serialization.Schema<serializers.api.thera.payroll.AddEmployeeToOncycleChecksRequest.Raw, TheraApi.api.thera.payroll.AddEmployeeToOncycleChecksRequest>;
|
|
8
|
+
export declare namespace AddEmployeeToOncycleChecksRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
contractId: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AddEmployeeToOncycleChecksRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../../core"));
|
|
41
|
+
exports.AddEmployeeToOncycleChecksRequest = core.serialization.object({
|
|
42
|
+
contractId: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AddEmployeeToOncycleChecksRequest } from "./AddEmployeeToOncycleChecksRequest";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddEmployeeToOncycleChecksRequest = void 0;
|
|
4
|
+
var AddEmployeeToOncycleChecksRequest_1 = require("./AddEmployeeToOncycleChecksRequest");
|
|
5
|
+
Object.defineProperty(exports, "AddEmployeeToOncycleChecksRequest", { enumerable: true, get: function () { return AddEmployeeToOncycleChecksRequest_1.AddEmployeeToOncycleChecksRequest; } });
|
|
@@ -54,4 +54,6 @@ exports.Flags = core.serialization.object({
|
|
|
54
54
|
customContract: CustomContract_1.CustomContract.optional(),
|
|
55
55
|
autoPayExposed: core.serialization.boolean(),
|
|
56
56
|
mfaEnabled: core.serialization.boolean(),
|
|
57
|
+
separateRevenue: core.serialization.boolean().optional(),
|
|
58
|
+
chargeActiveWorkersMonthly: core.serialization.boolean().optional(),
|
|
57
59
|
});
|
|
@@ -48,4 +48,5 @@ exports.BridgeUserDetails = core.serialization.object({
|
|
|
48
48
|
ledgerAccount: core.serialization.string(),
|
|
49
49
|
externalAccount: core.serialization.list(ExternalAccount_1.ExternalAccount),
|
|
50
50
|
virtualAccount: core.serialization.list(VirtualAccount_1.VirtualAccount),
|
|
51
|
+
rejectionReason: core.serialization.string().optional(),
|
|
51
52
|
});
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.1-prerelease3205-dev
|
|
1
|
+
export declare const SDK_VERSION = "0.0.1-prerelease3205-dev";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -6642,6 +6642,106 @@ await client.api.thera.company.companyW2PayrollApi.deletePayrollItem("string", "
|
|
|
6642
6642
|
</dl>
|
|
6643
6643
|
</details>
|
|
6644
6644
|
|
|
6645
|
+
<details><summary><code>client.api.thera.company.companyW2PayrollApi.<a href="/src/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.ts">uploadCsvPayroll</a>(companyId, checkPayScheduleId, { ...params }) -> unknown</code></summary>
|
|
6646
|
+
<dl>
|
|
6647
|
+
<dd>
|
|
6648
|
+
|
|
6649
|
+
#### 🔌 Usage
|
|
6650
|
+
|
|
6651
|
+
<dl>
|
|
6652
|
+
<dd>
|
|
6653
|
+
|
|
6654
|
+
<dl>
|
|
6655
|
+
<dd>
|
|
6656
|
+
|
|
6657
|
+
```typescript
|
|
6658
|
+
await client.api.thera.company.companyW2PayrollApi.uploadCsvPayroll("string", "string", {
|
|
6659
|
+
preview: true,
|
|
6660
|
+
columns: [{
|
|
6661
|
+
sheetColumnName: "string",
|
|
6662
|
+
templateColumnName: "string",
|
|
6663
|
+
templateColumnKey: "string",
|
|
6664
|
+
isCustom: true,
|
|
6665
|
+
customColumnName: "string"
|
|
6666
|
+
}],
|
|
6667
|
+
records: [{
|
|
6668
|
+
email: "string",
|
|
6669
|
+
contractId: "string",
|
|
6670
|
+
userId: "string",
|
|
6671
|
+
regularHours: 1.1,
|
|
6672
|
+
overtimeHours: 1.1,
|
|
6673
|
+
doubleOvertimeHours: 1.1,
|
|
6674
|
+
paidHolidayHours: 1.1,
|
|
6675
|
+
ptoHours: 1.1,
|
|
6676
|
+
sickHours: 1.1,
|
|
6677
|
+
restAndRecoveryHours: 1.1,
|
|
6678
|
+
nonProductiveHours: 1.1,
|
|
6679
|
+
bonus: 1.1,
|
|
6680
|
+
commission: 1.1,
|
|
6681
|
+
severance: 1.1,
|
|
6682
|
+
cashTips: 1.1,
|
|
6683
|
+
paycheckTips: 1.1,
|
|
6684
|
+
groupTermLife: 1.1,
|
|
6685
|
+
otherImputed: 1.1,
|
|
6686
|
+
nonHourlyRegular: 1.1,
|
|
6687
|
+
2PercentShareholderBenefits: 1.1,
|
|
6688
|
+
2PercentShareholderHsa: 1.1,
|
|
6689
|
+
custom: {
|
|
6690
|
+
"string": "string"
|
|
6691
|
+
}
|
|
6692
|
+
}]
|
|
6693
|
+
});
|
|
6694
|
+
|
|
6695
|
+
```
|
|
6696
|
+
|
|
6697
|
+
</dd>
|
|
6698
|
+
</dl>
|
|
6699
|
+
</dd>
|
|
6700
|
+
</dl>
|
|
6701
|
+
|
|
6702
|
+
#### ⚙️ Parameters
|
|
6703
|
+
|
|
6704
|
+
<dl>
|
|
6705
|
+
<dd>
|
|
6706
|
+
|
|
6707
|
+
<dl>
|
|
6708
|
+
<dd>
|
|
6709
|
+
|
|
6710
|
+
**companyId:** `string`
|
|
6711
|
+
|
|
6712
|
+
</dd>
|
|
6713
|
+
</dl>
|
|
6714
|
+
|
|
6715
|
+
<dl>
|
|
6716
|
+
<dd>
|
|
6717
|
+
|
|
6718
|
+
**checkPayScheduleId:** `string`
|
|
6719
|
+
|
|
6720
|
+
</dd>
|
|
6721
|
+
</dl>
|
|
6722
|
+
|
|
6723
|
+
<dl>
|
|
6724
|
+
<dd>
|
|
6725
|
+
|
|
6726
|
+
**request:** `TheraApi.api.thera.company.CreatePayrollCsvRequest`
|
|
6727
|
+
|
|
6728
|
+
</dd>
|
|
6729
|
+
</dl>
|
|
6730
|
+
|
|
6731
|
+
<dl>
|
|
6732
|
+
<dd>
|
|
6733
|
+
|
|
6734
|
+
**requestOptions:** `CompanyW2PayrollApi.RequestOptions`
|
|
6735
|
+
|
|
6736
|
+
</dd>
|
|
6737
|
+
</dl>
|
|
6738
|
+
</dd>
|
|
6739
|
+
</dl>
|
|
6740
|
+
|
|
6741
|
+
</dd>
|
|
6742
|
+
</dl>
|
|
6743
|
+
</details>
|
|
6744
|
+
|
|
6645
6745
|
## Contractor API
|
|
6646
6746
|
|
|
6647
6747
|
<details><summary><code>client.api.thera.contractor.contractorApi.<a href="/src/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.ts">getUsContractorsTaxInfo</a>(companyId, { ...params }) -> TheraApi.GetUsContractorsTaxInfoResponse</code></summary>
|
|
@@ -9823,6 +9923,85 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
|
|
|
9823
9923
|
|
|
9824
9924
|
## Oncycle API
|
|
9825
9925
|
|
|
9926
|
+
<details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">addEmployeeToOnCycleChecks</a>(companyId, checkPayScheduleId, { ...params }) -> void</code></summary>
|
|
9927
|
+
<dl>
|
|
9928
|
+
<dd>
|
|
9929
|
+
|
|
9930
|
+
#### 📝 Description
|
|
9931
|
+
|
|
9932
|
+
<dl>
|
|
9933
|
+
<dd>
|
|
9934
|
+
|
|
9935
|
+
<dl>
|
|
9936
|
+
<dd>
|
|
9937
|
+
|
|
9938
|
+
</dd>
|
|
9939
|
+
</dl>
|
|
9940
|
+
</dd>
|
|
9941
|
+
</dl>
|
|
9942
|
+
|
|
9943
|
+
#### 🔌 Usage
|
|
9944
|
+
|
|
9945
|
+
<dl>
|
|
9946
|
+
<dd>
|
|
9947
|
+
|
|
9948
|
+
<dl>
|
|
9949
|
+
<dd>
|
|
9950
|
+
|
|
9951
|
+
```typescript
|
|
9952
|
+
await client.api.thera.payroll.oncycleApi.addEmployeeToOnCycleChecks("string", "string", {
|
|
9953
|
+
contractId: "string",
|
|
9954
|
+
});
|
|
9955
|
+
```
|
|
9956
|
+
|
|
9957
|
+
</dd>
|
|
9958
|
+
</dl>
|
|
9959
|
+
</dd>
|
|
9960
|
+
</dl>
|
|
9961
|
+
|
|
9962
|
+
#### ⚙️ Parameters
|
|
9963
|
+
|
|
9964
|
+
<dl>
|
|
9965
|
+
<dd>
|
|
9966
|
+
|
|
9967
|
+
<dl>
|
|
9968
|
+
<dd>
|
|
9969
|
+
|
|
9970
|
+
**companyId:** `string`
|
|
9971
|
+
|
|
9972
|
+
</dd>
|
|
9973
|
+
</dl>
|
|
9974
|
+
|
|
9975
|
+
<dl>
|
|
9976
|
+
<dd>
|
|
9977
|
+
|
|
9978
|
+
**checkPayScheduleId:** `string`
|
|
9979
|
+
|
|
9980
|
+
</dd>
|
|
9981
|
+
</dl>
|
|
9982
|
+
|
|
9983
|
+
<dl>
|
|
9984
|
+
<dd>
|
|
9985
|
+
|
|
9986
|
+
**request:** `TheraApi.api.thera.payroll.AddEmployeeToOncycleChecksRequest`
|
|
9987
|
+
|
|
9988
|
+
</dd>
|
|
9989
|
+
</dl>
|
|
9990
|
+
|
|
9991
|
+
<dl>
|
|
9992
|
+
<dd>
|
|
9993
|
+
|
|
9994
|
+
**requestOptions:** `OncycleApi.RequestOptions`
|
|
9995
|
+
|
|
9996
|
+
</dd>
|
|
9997
|
+
</dl>
|
|
9998
|
+
</dd>
|
|
9999
|
+
</dl>
|
|
10000
|
+
|
|
10001
|
+
</dd>
|
|
10002
|
+
</dl>
|
|
10003
|
+
</details>
|
|
10004
|
+
|
|
9826
10005
|
<details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">approveOncycleChecks</a>(companyId, checkPayScheduleId) -> TheraApi.ApproveOnCycleChecksResponse</code></summary>
|
|
9827
10006
|
<dl>
|
|
9828
10007
|
<dd>
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { OneSchemaCsvColumn } from "../../../../../../../oneschema/resources/model/types/OneSchemaCsvColumn";
|
|
8
|
+
import { CreatePayrollCsvRecord } from "../../types/CreatePayrollCsvRecord";
|
|
9
|
+
export declare const CreatePayrollCsvRequest: core.serialization.Schema<serializers.api.thera.company.CreatePayrollCsvRequest.Raw, Omit<TheraApi.api.thera.company.CreatePayrollCsvRequest, "preview">>;
|
|
10
|
+
export declare namespace CreatePayrollCsvRequest {
|
|
11
|
+
interface Raw {
|
|
12
|
+
columns: OneSchemaCsvColumn.Raw[];
|
|
13
|
+
records: CreatePayrollCsvRecord.Raw[];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreatePayrollCsvRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../../core"));
|
|
41
|
+
const OneSchemaCsvColumn_1 = require("../../../../../../../oneschema/resources/model/types/OneSchemaCsvColumn");
|
|
42
|
+
const CreatePayrollCsvRecord_1 = require("../../types/CreatePayrollCsvRecord");
|
|
43
|
+
exports.CreatePayrollCsvRequest = core.serialization.object({
|
|
44
|
+
columns: core.serialization.list(OneSchemaCsvColumn_1.OneSchemaCsvColumn),
|
|
45
|
+
records: core.serialization.list(CreatePayrollCsvRecord_1.CreatePayrollCsvRecord),
|
|
46
|
+
});
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ToggleW2PayrollOnboardingFlowCompleteRequest = void 0;
|
|
3
|
+
exports.CreatePayrollCsvRequest = exports.ToggleW2PayrollOnboardingFlowCompleteRequest = void 0;
|
|
4
4
|
var ToggleW2PayrollOnboardingFlowCompleteRequest_1 = require("./ToggleW2PayrollOnboardingFlowCompleteRequest");
|
|
5
5
|
Object.defineProperty(exports, "ToggleW2PayrollOnboardingFlowCompleteRequest", { enumerable: true, get: function () { return ToggleW2PayrollOnboardingFlowCompleteRequest_1.ToggleW2PayrollOnboardingFlowCompleteRequest; } });
|
|
6
|
+
var CreatePayrollCsvRequest_1 = require("./CreatePayrollCsvRequest");
|
|
7
|
+
Object.defineProperty(exports, "CreatePayrollCsvRequest", { enumerable: true, get: function () { return CreatePayrollCsvRequest_1.CreatePayrollCsvRequest; } });
|
|
@@ -0,0 +1,33 @@
|
|
|
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 CreatePayrollCsvRecord: core.serialization.ObjectSchema<serializers.api.thera.company.CreatePayrollCsvRecord.Raw, TheraApi.api.thera.company.CreatePayrollCsvRecord>;
|
|
8
|
+
export declare namespace CreatePayrollCsvRecord {
|
|
9
|
+
interface Raw {
|
|
10
|
+
email?: string | null;
|
|
11
|
+
contract_id?: string | null;
|
|
12
|
+
user_id?: string | null;
|
|
13
|
+
regular_hours?: number | null;
|
|
14
|
+
overtime_hours?: number | null;
|
|
15
|
+
double_overtime_hours?: number | null;
|
|
16
|
+
paid_holiday_hours?: number | null;
|
|
17
|
+
pto_hours?: number | null;
|
|
18
|
+
sick_hours?: number | null;
|
|
19
|
+
rest_and_recovery_hours?: number | null;
|
|
20
|
+
non_productive_hours?: number | null;
|
|
21
|
+
bonus?: number | null;
|
|
22
|
+
commission?: number | null;
|
|
23
|
+
severance?: number | null;
|
|
24
|
+
cash_tips?: number | null;
|
|
25
|
+
paycheck_tips?: number | null;
|
|
26
|
+
group_term_life?: number | null;
|
|
27
|
+
other_imputed?: number | null;
|
|
28
|
+
non_hourly_regular?: number | null;
|
|
29
|
+
"2_percent_shareholder_benefits"?: number | null;
|
|
30
|
+
"2_percent_shareholder_hsa"?: number | null;
|
|
31
|
+
$custom?: Record<string, string> | null;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreatePayrollCsvRecord = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.CreatePayrollCsvRecord = core.serialization.object({
|
|
42
|
+
email: core.serialization.string().optional(),
|
|
43
|
+
contractId: core.serialization.property("contract_id", core.serialization.string().optional()),
|
|
44
|
+
userId: core.serialization.property("user_id", core.serialization.string().optional()),
|
|
45
|
+
regularHours: core.serialization.property("regular_hours", core.serialization.number().optional()),
|
|
46
|
+
overtimeHours: core.serialization.property("overtime_hours", core.serialization.number().optional()),
|
|
47
|
+
doubleOvertimeHours: core.serialization.property("double_overtime_hours", core.serialization.number().optional()),
|
|
48
|
+
paidHolidayHours: core.serialization.property("paid_holiday_hours", core.serialization.number().optional()),
|
|
49
|
+
ptoHours: core.serialization.property("pto_hours", core.serialization.number().optional()),
|
|
50
|
+
sickHours: core.serialization.property("sick_hours", core.serialization.number().optional()),
|
|
51
|
+
restAndRecoveryHours: core.serialization.property("rest_and_recovery_hours", core.serialization.number().optional()),
|
|
52
|
+
nonProductiveHours: core.serialization.property("non_productive_hours", core.serialization.number().optional()),
|
|
53
|
+
bonus: core.serialization.number().optional(),
|
|
54
|
+
commission: core.serialization.number().optional(),
|
|
55
|
+
severance: core.serialization.number().optional(),
|
|
56
|
+
cashTips: core.serialization.property("cash_tips", core.serialization.number().optional()),
|
|
57
|
+
paycheckTips: core.serialization.property("paycheck_tips", core.serialization.number().optional()),
|
|
58
|
+
groupTermLife: core.serialization.property("group_term_life", core.serialization.number().optional()),
|
|
59
|
+
otherImputed: core.serialization.property("other_imputed", core.serialization.number().optional()),
|
|
60
|
+
nonHourlyRegular: core.serialization.property("non_hourly_regular", core.serialization.number().optional()),
|
|
61
|
+
"2PercentShareholderBenefits": core.serialization.property("2_percent_shareholder_benefits", core.serialization.number().optional()),
|
|
62
|
+
"2PercentShareholderHsa": core.serialization.property("2_percent_shareholder_hsa", core.serialization.number().optional()),
|
|
63
|
+
custom: core.serialization.property("$custom", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
|
|
64
|
+
});
|
|
@@ -20,3 +20,4 @@ __exportStar(require("./OnboardW2PayrollRequest"), exports);
|
|
|
20
20
|
__exportStar(require("./OnboardW2PayrollUpdateCompany"), exports);
|
|
21
21
|
__exportStar(require("./OnboardW2PayrollSettings"), exports);
|
|
22
22
|
__exportStar(require("./OnboardW2PayrollResponse"), exports);
|
|
23
|
+
__exportStar(require("./CreatePayrollCsvRecord"), exports);
|
|
@@ -7,4 +7,5 @@ export * from "./oncycleApi/types";
|
|
|
7
7
|
export * as payscheduleApi from "./payscheduleApi";
|
|
8
8
|
export * from "./payscheduleApi/types";
|
|
9
9
|
export * from "./expenseApi/client/requests";
|
|
10
|
+
export * from "./oncycleApi/client/requests";
|
|
10
11
|
export * from "./payscheduleApi/client/requests";
|
|
@@ -46,4 +46,5 @@ __exportStar(require("./oncycleApi/types"), exports);
|
|
|
46
46
|
exports.payscheduleApi = __importStar(require("./payscheduleApi"));
|
|
47
47
|
__exportStar(require("./payscheduleApi/types"), exports);
|
|
48
48
|
__exportStar(require("./expenseApi/client/requests"), exports);
|
|
49
|
+
__exportStar(require("./oncycleApi/client/requests"), exports);
|
|
49
50
|
__exportStar(require("./payscheduleApi/client/requests"), exports);
|
|
@@ -32,7 +32,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
35
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
39
|
exports.getOnCycleCheckDetails = exports.getOnCycleChecks = void 0;
|
|
37
40
|
exports.getOnCycleChecks = __importStar(require("./getOnCycleChecks"));
|
|
38
41
|
exports.getOnCycleCheckDetails = __importStar(require("./getOnCycleCheckDetails"));
|
|
42
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -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 AddEmployeeToOncycleChecksRequest: core.serialization.Schema<serializers.api.thera.payroll.AddEmployeeToOncycleChecksRequest.Raw, TheraApi.api.thera.payroll.AddEmployeeToOncycleChecksRequest>;
|
|
8
|
+
export declare namespace AddEmployeeToOncycleChecksRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
contractId: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AddEmployeeToOncycleChecksRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../../core"));
|
|
41
|
+
exports.AddEmployeeToOncycleChecksRequest = core.serialization.object({
|
|
42
|
+
contractId: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AddEmployeeToOncycleChecksRequest } from "./AddEmployeeToOncycleChecksRequest";
|