@thera-hr/api-sdk 1.1.1-prerelease2763-dev-2 → 1.1.1-prerelease2777-dev-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +39 -39
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -19
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorRequest.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
- package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +15 -15
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/index.d.ts +0 -2
- package/api/resources/db/resources/index.js +1 -3
- 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 +39 -39
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -19
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorRequest.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +15 -15
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/index.d.ts +0 -2
- package/dist/api/resources/db/resources/index.js +1 -3
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorRequest.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorRequest.js +0 -1
- package/dist/serialization/resources/db/resources/index.d.ts +0 -2
- package/dist/serialization/resources/db/resources/index.js +1 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +0 -1
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorRequest.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorRequest.js +0 -1
- package/serialization/resources/db/resources/index.d.ts +0 -2
- package/serialization/resources/db/resources/index.js +1 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/db/resources/contractorPro/index.d.ts +0 -1
- package/api/resources/db/resources/contractorPro/index.js +0 -17
- package/api/resources/db/resources/contractorPro/types/ContractorPro.d.ts +0 -37
- package/api/resources/db/resources/contractorPro/types/ContractorPro.js +0 -5
- package/api/resources/db/resources/contractorPro/types/ContractorProStatus.d.ts +0 -14
- package/api/resources/db/resources/contractorPro/types/ContractorProStatus.js +0 -10
- package/api/resources/db/resources/contractorPro/types/index.d.ts +0 -2
- package/api/resources/db/resources/contractorPro/types/index.js +0 -18
- package/dist/api/resources/db/resources/contractorPro/index.d.ts +0 -1
- package/dist/api/resources/db/resources/contractorPro/index.js +0 -17
- package/dist/api/resources/db/resources/contractorPro/types/ContractorPro.d.ts +0 -37
- package/dist/api/resources/db/resources/contractorPro/types/ContractorPro.js +0 -5
- package/dist/api/resources/db/resources/contractorPro/types/ContractorProStatus.d.ts +0 -14
- package/dist/api/resources/db/resources/contractorPro/types/ContractorProStatus.js +0 -10
- package/dist/api/resources/db/resources/contractorPro/types/index.d.ts +0 -2
- package/dist/api/resources/db/resources/contractorPro/types/index.js +0 -18
- package/dist/serialization/resources/db/resources/contractorPro/index.d.ts +0 -1
- package/dist/serialization/resources/db/resources/contractorPro/index.js +0 -17
- package/dist/serialization/resources/db/resources/contractorPro/types/ContractorPro.d.ts +0 -21
- package/dist/serialization/resources/db/resources/contractorPro/types/ContractorPro.js +0 -52
- package/dist/serialization/resources/db/resources/contractorPro/types/ContractorProStatus.d.ts +0 -10
- package/dist/serialization/resources/db/resources/contractorPro/types/ContractorProStatus.js +0 -41
- package/dist/serialization/resources/db/resources/contractorPro/types/index.d.ts +0 -2
- package/dist/serialization/resources/db/resources/contractorPro/types/index.js +0 -18
- package/serialization/resources/db/resources/contractorPro/index.d.ts +0 -1
- package/serialization/resources/db/resources/contractorPro/index.js +0 -17
- package/serialization/resources/db/resources/contractorPro/types/ContractorPro.d.ts +0 -21
- package/serialization/resources/db/resources/contractorPro/types/ContractorPro.js +0 -52
- package/serialization/resources/db/resources/contractorPro/types/ContractorProStatus.d.ts +0 -10
- package/serialization/resources/db/resources/contractorPro/types/ContractorProStatus.js +0 -41
- package/serialization/resources/db/resources/contractorPro/types/index.d.ts +0 -2
- package/serialization/resources/db/resources/contractorPro/types/index.js +0 -18
|
@@ -1,21 +0,0 @@
|
|
|
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 { ContractorProStatus } from "./ContractorProStatus";
|
|
8
|
-
export declare const ContractorPro: core.serialization.ObjectSchema<serializers.db.ContractorPro.Raw, TheraApi.db.ContractorPro>;
|
|
9
|
-
export declare namespace ContractorPro {
|
|
10
|
-
interface Raw {
|
|
11
|
-
id: string;
|
|
12
|
-
employeeUserID: string;
|
|
13
|
-
companyID: string;
|
|
14
|
-
status: ContractorProStatus.Raw;
|
|
15
|
-
createdAt: string;
|
|
16
|
-
createdByUserId: string;
|
|
17
|
-
cancelledAt?: string | null;
|
|
18
|
-
cancelledByUserId?: string | null;
|
|
19
|
-
cancellationReason?: string | null;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
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.ContractorPro = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../../../core"));
|
|
41
|
-
const ContractorProStatus_1 = require("./ContractorProStatus");
|
|
42
|
-
exports.ContractorPro = core.serialization.object({
|
|
43
|
-
id: core.serialization.string(),
|
|
44
|
-
employeeUserId: core.serialization.property("employeeUserID", core.serialization.string()),
|
|
45
|
-
companyId: core.serialization.property("companyID", core.serialization.string()),
|
|
46
|
-
status: ContractorProStatus_1.ContractorProStatus,
|
|
47
|
-
createdAt: core.serialization.date(),
|
|
48
|
-
createdByUserId: core.serialization.string(),
|
|
49
|
-
cancelledAt: core.serialization.date().optional(),
|
|
50
|
-
cancelledByUserId: core.serialization.string().optional(),
|
|
51
|
-
cancellationReason: core.serialization.string().optional(),
|
|
52
|
-
});
|
package/dist/serialization/resources/db/resources/contractorPro/types/ContractorProStatus.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
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 ContractorProStatus: core.serialization.Schema<serializers.db.ContractorProStatus.Raw, TheraApi.db.ContractorProStatus>;
|
|
8
|
-
export declare namespace ContractorProStatus {
|
|
9
|
-
type Raw = "ACTIVE" | "CANCELLED";
|
|
10
|
-
}
|
package/dist/serialization/resources/db/resources/contractorPro/types/ContractorProStatus.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
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.ContractorProStatus = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../../../core"));
|
|
41
|
-
exports.ContractorProStatus = core.serialization.enum_(["ACTIVE", "CANCELLED"]);
|
|
@@ -1,18 +0,0 @@
|
|
|
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("./ContractorProStatus"), exports);
|
|
18
|
-
__exportStar(require("./ContractorPro"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./types";
|
|
@@ -1,17 +0,0 @@
|
|
|
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);
|
|
@@ -1,21 +0,0 @@
|
|
|
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 { ContractorProStatus } from "./ContractorProStatus";
|
|
8
|
-
export declare const ContractorPro: core.serialization.ObjectSchema<serializers.db.ContractorPro.Raw, TheraApi.db.ContractorPro>;
|
|
9
|
-
export declare namespace ContractorPro {
|
|
10
|
-
interface Raw {
|
|
11
|
-
id: string;
|
|
12
|
-
employeeUserID: string;
|
|
13
|
-
companyID: string;
|
|
14
|
-
status: ContractorProStatus.Raw;
|
|
15
|
-
createdAt: string;
|
|
16
|
-
createdByUserId: string;
|
|
17
|
-
cancelledAt?: string | null;
|
|
18
|
-
cancelledByUserId?: string | null;
|
|
19
|
-
cancellationReason?: string | null;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
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.ContractorPro = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../../../core"));
|
|
41
|
-
const ContractorProStatus_1 = require("./ContractorProStatus");
|
|
42
|
-
exports.ContractorPro = core.serialization.object({
|
|
43
|
-
id: core.serialization.string(),
|
|
44
|
-
employeeUserId: core.serialization.property("employeeUserID", core.serialization.string()),
|
|
45
|
-
companyId: core.serialization.property("companyID", core.serialization.string()),
|
|
46
|
-
status: ContractorProStatus_1.ContractorProStatus,
|
|
47
|
-
createdAt: core.serialization.date(),
|
|
48
|
-
createdByUserId: core.serialization.string(),
|
|
49
|
-
cancelledAt: core.serialization.date().optional(),
|
|
50
|
-
cancelledByUserId: core.serialization.string().optional(),
|
|
51
|
-
cancellationReason: core.serialization.string().optional(),
|
|
52
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
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 ContractorProStatus: core.serialization.Schema<serializers.db.ContractorProStatus.Raw, TheraApi.db.ContractorProStatus>;
|
|
8
|
-
export declare namespace ContractorProStatus {
|
|
9
|
-
type Raw = "ACTIVE" | "CANCELLED";
|
|
10
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
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.ContractorProStatus = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../../../core"));
|
|
41
|
-
exports.ContractorProStatus = core.serialization.enum_(["ACTIVE", "CANCELLED"]);
|
|
@@ -1,18 +0,0 @@
|
|
|
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("./ContractorProStatus"), exports);
|
|
18
|
-
__exportStar(require("./ContractorPro"), exports);
|