@thera-hr/api-sdk 0.0.1-prerelease2623-dev-2 → 0.0.1-prerelease2624-dev-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +31 -31
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/Template.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/index.js +0 -1
- 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/misc/resources/misc/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +31 -31
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +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/customtheradocuments/resources/customtheradocumentsApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/Template.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/index.js +0 -1
- 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/misc/resources/misc/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/Template.d.ts +0 -2
- package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/Template.js +0 -2
- package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/index.js +0 -1
- package/package.json +1 -1
- package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/Template.d.ts +0 -2
- package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/Template.js +0 -2
- package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/index.js +0 -1
- package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/TemplateField.d.ts +0 -11
- package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/TemplateField.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/TemplateField.d.ts +0 -11
- package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/TemplateField.js +0 -5
- package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/TemplateField.d.ts +0 -17
- package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/TemplateField.js +0 -38
- package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/TemplateField.d.ts +0 -17
- package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/TemplateField.js +0 -38
package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js
CHANGED
|
@@ -103,7 +103,7 @@ class TpApi {
|
|
|
103
103
|
Authorization: yield this._getAuthorizationHeader(),
|
|
104
104
|
"X-Fern-Language": "JavaScript",
|
|
105
105
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
106
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
106
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
|
|
107
107
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
108
108
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
109
109
|
},
|
|
@@ -162,7 +162,7 @@ class TpApi {
|
|
|
162
162
|
Authorization: yield this._getAuthorizationHeader(),
|
|
163
163
|
"X-Fern-Language": "JavaScript",
|
|
164
164
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
165
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
165
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
|
|
166
166
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
167
167
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
168
168
|
},
|
|
@@ -227,7 +227,7 @@ class TpApi {
|
|
|
227
227
|
Authorization: yield this._getAuthorizationHeader(),
|
|
228
228
|
"X-Fern-Language": "JavaScript",
|
|
229
229
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
230
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
230
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
|
|
231
231
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
232
232
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
233
233
|
},
|
|
@@ -284,7 +284,7 @@ class TpApi {
|
|
|
284
284
|
Authorization: yield this._getAuthorizationHeader(),
|
|
285
285
|
"X-Fern-Language": "JavaScript",
|
|
286
286
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
287
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
287
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
|
|
288
288
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
289
289
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
290
290
|
},
|
|
@@ -338,7 +338,7 @@ class TpApi {
|
|
|
338
338
|
Authorization: yield this._getAuthorizationHeader(),
|
|
339
339
|
"X-Fern-Language": "JavaScript",
|
|
340
340
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
341
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
341
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
|
|
342
342
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
343
343
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
344
344
|
},
|
|
@@ -396,7 +396,7 @@ class TpApi {
|
|
|
396
396
|
Authorization: yield this._getAuthorizationHeader(),
|
|
397
397
|
"X-Fern-Language": "JavaScript",
|
|
398
398
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
399
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
399
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
|
|
400
400
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
401
401
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
402
402
|
},
|
|
@@ -452,7 +452,7 @@ class TpApi {
|
|
|
452
452
|
Authorization: yield this._getAuthorizationHeader(),
|
|
453
453
|
"X-Fern-Language": "JavaScript",
|
|
454
454
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
455
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
455
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
|
|
456
456
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
457
457
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
458
458
|
},
|
|
@@ -507,7 +507,7 @@ class TpApi {
|
|
|
507
507
|
Authorization: yield this._getAuthorizationHeader(),
|
|
508
508
|
"X-Fern-Language": "JavaScript",
|
|
509
509
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
510
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
510
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
|
|
511
511
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
512
512
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
513
513
|
},
|
|
@@ -565,7 +565,7 @@ class TpApi {
|
|
|
565
565
|
Authorization: yield this._getAuthorizationHeader(),
|
|
566
566
|
"X-Fern-Language": "JavaScript",
|
|
567
567
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
568
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
568
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
|
|
569
569
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
570
570
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
571
571
|
},
|
|
@@ -634,7 +634,7 @@ class TpApi {
|
|
|
634
634
|
Authorization: yield this._getAuthorizationHeader(),
|
|
635
635
|
"X-Fern-Language": "JavaScript",
|
|
636
636
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
637
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
637
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
|
|
638
638
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
639
639
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
640
640
|
},
|
package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js
CHANGED
|
@@ -71,7 +71,7 @@ class UserApi {
|
|
|
71
71
|
Authorization: yield this._getAuthorizationHeader(),
|
|
72
72
|
"X-Fern-Language": "JavaScript",
|
|
73
73
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
74
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
74
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
|
|
75
75
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
76
76
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
77
77
|
},
|
|
@@ -137,7 +137,7 @@ class UserApi {
|
|
|
137
137
|
Authorization: yield this._getAuthorizationHeader(),
|
|
138
138
|
"X-Fern-Language": "JavaScript",
|
|
139
139
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
140
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
140
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
|
|
141
141
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
142
142
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
143
143
|
},
|
|
@@ -200,7 +200,7 @@ class UserApi {
|
|
|
200
200
|
Authorization: yield this._getAuthorizationHeader(),
|
|
201
201
|
"X-Fern-Language": "JavaScript",
|
|
202
202
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
203
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
203
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
|
|
204
204
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
205
205
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
206
206
|
},
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../../../../index";
|
|
5
5
|
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../../../core";
|
|
7
|
-
import { TemplateField } from "./TemplateField";
|
|
8
7
|
export declare const Template: core.serialization.ObjectSchema<serializers.api.thera.customtheratemplates.Template.Raw, TheraApi.api.thera.customtheratemplates.Template>;
|
|
9
8
|
export declare namespace Template {
|
|
10
9
|
interface Raw {
|
|
@@ -16,7 +15,6 @@ export declare namespace Template {
|
|
|
16
15
|
createdBy: string;
|
|
17
16
|
createdAt: number;
|
|
18
17
|
lastModified: number;
|
|
19
|
-
fields: TemplateField.Raw[];
|
|
20
18
|
lastUsedAt?: number | null;
|
|
21
19
|
}
|
|
22
20
|
}
|
|
@@ -28,7 +28,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Template = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
-
const TemplateField_1 = require("./TemplateField");
|
|
32
31
|
exports.Template = core.serialization.object({
|
|
33
32
|
id: core.serialization.string(),
|
|
34
33
|
companyId: core.serialization.string(),
|
|
@@ -38,6 +37,5 @@ exports.Template = core.serialization.object({
|
|
|
38
37
|
createdBy: core.serialization.string(),
|
|
39
38
|
createdAt: core.serialization.number(),
|
|
40
39
|
lastModified: core.serialization.number(),
|
|
41
|
-
fields: core.serialization.list(TemplateField_1.TemplateField),
|
|
42
40
|
lastUsedAt: core.serialization.number().optional(),
|
|
43
41
|
});
|
|
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./Template"), exports);
|
|
18
|
-
__exportStar(require("./TemplateField"), exports);
|
|
19
18
|
__exportStar(require("./FieldType"), exports);
|
|
20
19
|
__exportStar(require("./CreateTemplateResponse"), exports);
|
|
21
20
|
__exportStar(require("./TemplateListResponse"), exports);
|
package/package.json
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../../../../index";
|
|
5
5
|
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../../../core";
|
|
7
|
-
import { TemplateField } from "./TemplateField";
|
|
8
7
|
export declare const Template: core.serialization.ObjectSchema<serializers.api.thera.customtheratemplates.Template.Raw, TheraApi.api.thera.customtheratemplates.Template>;
|
|
9
8
|
export declare namespace Template {
|
|
10
9
|
interface Raw {
|
|
@@ -16,7 +15,6 @@ export declare namespace Template {
|
|
|
16
15
|
createdBy: string;
|
|
17
16
|
createdAt: number;
|
|
18
17
|
lastModified: number;
|
|
19
|
-
fields: TemplateField.Raw[];
|
|
20
18
|
lastUsedAt?: number | null;
|
|
21
19
|
}
|
|
22
20
|
}
|
|
@@ -28,7 +28,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Template = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
-
const TemplateField_1 = require("./TemplateField");
|
|
32
31
|
exports.Template = core.serialization.object({
|
|
33
32
|
id: core.serialization.string(),
|
|
34
33
|
companyId: core.serialization.string(),
|
|
@@ -38,6 +37,5 @@ exports.Template = core.serialization.object({
|
|
|
38
37
|
createdBy: core.serialization.string(),
|
|
39
38
|
createdAt: core.serialization.number(),
|
|
40
39
|
lastModified: core.serialization.number(),
|
|
41
|
-
fields: core.serialization.list(TemplateField_1.TemplateField),
|
|
42
40
|
lastUsedAt: core.serialization.number().optional(),
|
|
43
41
|
});
|
|
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./Template"), exports);
|
|
18
|
-
__exportStar(require("./TemplateField"), exports);
|
|
19
18
|
__exportStar(require("./FieldType"), exports);
|
|
20
19
|
__exportStar(require("./CreateTemplateResponse"), exports);
|
|
21
20
|
__exportStar(require("./TemplateListResponse"), exports);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as TheraApi from "../../../../../../../../../index";
|
|
5
|
-
export interface TemplateField {
|
|
6
|
-
id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
type: TheraApi.api.thera.customtheratemplates.FieldType;
|
|
9
|
-
required: boolean;
|
|
10
|
-
defaultValue?: string;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as TheraApi from "../../../../../../../../../index";
|
|
5
|
-
export interface TemplateField {
|
|
6
|
-
id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
type: TheraApi.api.thera.customtheratemplates.FieldType;
|
|
9
|
-
required: boolean;
|
|
10
|
-
defaultValue?: string;
|
|
11
|
-
}
|
|
@@ -1,17 +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 { FieldType } from "./FieldType";
|
|
8
|
-
export declare const TemplateField: core.serialization.ObjectSchema<serializers.api.thera.customtheratemplates.TemplateField.Raw, TheraApi.api.thera.customtheratemplates.TemplateField>;
|
|
9
|
-
export declare namespace TemplateField {
|
|
10
|
-
interface Raw {
|
|
11
|
-
id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
type: FieldType.Raw;
|
|
14
|
-
required: boolean;
|
|
15
|
-
defaultValue?: string | null;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,38 +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 (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.TemplateField = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
-
const FieldType_1 = require("./FieldType");
|
|
32
|
-
exports.TemplateField = core.serialization.object({
|
|
33
|
-
id: core.serialization.string(),
|
|
34
|
-
name: core.serialization.string(),
|
|
35
|
-
type: FieldType_1.FieldType,
|
|
36
|
-
required: core.serialization.boolean(),
|
|
37
|
-
defaultValue: core.serialization.string().optional(),
|
|
38
|
-
});
|
|
@@ -1,17 +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 { FieldType } from "./FieldType";
|
|
8
|
-
export declare const TemplateField: core.serialization.ObjectSchema<serializers.api.thera.customtheratemplates.TemplateField.Raw, TheraApi.api.thera.customtheratemplates.TemplateField>;
|
|
9
|
-
export declare namespace TemplateField {
|
|
10
|
-
interface Raw {
|
|
11
|
-
id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
type: FieldType.Raw;
|
|
14
|
-
required: boolean;
|
|
15
|
-
defaultValue?: string | null;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,38 +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 (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.TemplateField = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
-
const FieldType_1 = require("./FieldType");
|
|
32
|
-
exports.TemplateField = core.serialization.object({
|
|
33
|
-
id: core.serialization.string(),
|
|
34
|
-
name: core.serialization.string(),
|
|
35
|
-
type: FieldType_1.FieldType,
|
|
36
|
-
required: core.serialization.boolean(),
|
|
37
|
-
defaultValue: core.serialization.string().optional(),
|
|
38
|
-
});
|