keplar-api 0.0.2 → 0.0.5
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/.openapi-generator/FILES +6 -5
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +39 -1
- package/dist/apis/DefaultApi.js +179 -0
- package/dist/models/ApiCallMessagesSearchPost200ResponseInner.d.ts +1 -1
- package/dist/models/ApiCallMessagesSearchPost200ResponseInner.js +2 -2
- package/dist/models/ApiFilesFileIdSignedUrlPost200Response.d.ts +1 -1
- package/dist/models/ApiFilesFileIdSignedUrlPost200Response.js +2 -2
- package/dist/models/ApiInviteCodeCodeGet200Response.d.ts +3 -35
- package/dist/models/ApiInviteCodeCodeGet200Response.js +4 -24
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.d.ts +32 -0
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.js +51 -0
- package/dist/models/ApiInviteCodeCodeStartGet302Response.d.ts +3 -35
- package/dist/models/ApiInviteCodeCodeStartGet302Response.js +4 -24
- package/dist/models/ApiInviteCodeCodeStartGet302ResponseSettings.d.ts +64 -0
- package/dist/models/ApiInviteCodeCodeStartGet302ResponseSettings.js +63 -0
- package/dist/models/ApiInvitesPostRequest.d.ts +1 -1
- package/dist/models/ApiInvitesPostRequest.js +1 -2
- package/dist/models/ApiThreadsThreadIdProjectBriefVersionsGet200Response.d.ts +33 -0
- package/dist/models/ApiThreadsThreadIdProjectBriefVersionsGet200Response.js +52 -0
- package/dist/models/ChatSession.d.ts +2 -2
- package/dist/models/CodeInvite.d.ts +3 -35
- package/dist/models/CodeInvite.js +4 -24
- package/dist/models/CodeInviteResponse.d.ts +0 -7
- package/dist/models/CodeInviteResponse.js +0 -3
- package/dist/models/InviteResponse.d.ts +7 -0
- package/dist/models/InviteResponse.js +3 -0
- package/dist/models/InviteResponseData.d.ts +5 -13
- package/dist/models/InviteResponseData.js +2 -4
- package/dist/models/InviteResponseMetadata.d.ts +34 -0
- package/dist/models/InviteResponseMetadata.js +49 -0
- package/dist/models/InviteResponseUpdateEvent.d.ts +21 -1
- package/dist/models/InviteResponseUpdateEvent.js +46 -66
- package/dist/models/Moderator.d.ts +2 -2
- package/dist/models/ProjectBrief.d.ts +68 -0
- package/dist/models/ProjectBrief.js +71 -0
- package/dist/models/ProjectConfig.d.ts +18 -5
- package/dist/models/ProjectConfig.js +8 -3
- package/dist/models/ProjectKind.d.ts +26 -0
- package/dist/models/ProjectKind.js +52 -0
- package/dist/models/RepdataQualificationAllowedOptionIdsInner.d.ts +8 -3
- package/dist/models/RepdataQualificationAllowedOptionIdsInner.js +9 -8
- package/dist/models/ThreadMetadata.d.ts +7 -0
- package/dist/models/ThreadMetadata.js +3 -0
- package/dist/models/TranscriptMessage.d.ts +1 -1
- package/dist/models/TranscriptMessage.js +2 -2
- package/dist/models/index.d.ts +6 -5
- package/dist/models/index.js +6 -5
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +176 -0
- package/src/models/ApiCallMessagesSearchPost200ResponseInner.ts +3 -3
- package/src/models/ApiFilesFileIdSignedUrlPost200Response.ts +3 -3
- package/src/models/ApiInviteCodeCodeGet200Response.ts +11 -69
- package/src/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.ts +66 -0
- package/src/models/ApiInviteCodeCodeStartGet302Response.ts +11 -69
- package/src/models/ApiInviteCodeCodeStartGet302ResponseSettings.ts +121 -0
- package/src/models/ApiInvitesPostRequest.ts +2 -2
- package/src/models/ApiThreadsThreadIdProjectBriefVersionsGet200Response.ts +74 -0
- package/src/models/ChatSession.ts +2 -2
- package/src/models/CodeInvite.ts +11 -69
- package/src/models/CodeInviteResponse.ts +0 -15
- package/src/models/InviteResponse.ts +15 -0
- package/src/models/InviteResponseData.ts +7 -15
- package/src/models/InviteResponseMetadata.ts +65 -0
- package/src/models/InviteResponseUpdateEvent.ts +47 -69
- package/src/models/Moderator.ts +2 -2
- package/src/models/ProjectBrief.ts +118 -0
- package/src/models/ProjectConfig.ts +37 -12
- package/src/models/ProjectKind.ts +54 -0
- package/src/models/RepdataQualificationAllowedOptionIdsInner.ts +14 -13
- package/src/models/ThreadMetadata.ts +16 -0
- package/src/models/TranscriptMessage.ts +3 -3
- package/src/models/index.ts +6 -5
- package/dist/models/ApiInviteCodeCodeStartGet302ResponseProjectConfig.d.ts +0 -45
- package/dist/models/ApiInviteCodeCodeStartGet302ResponseProjectConfig.js +0 -56
- package/dist/models/ProjectTemplateSettings.d.ts +0 -24
- package/dist/models/ProjectTemplateSettings.js +0 -65
- package/dist/models/TemplateConceptTest.d.ts +0 -45
- package/dist/models/TemplateConceptTest.js +0 -62
- package/dist/models/TemplateCustom.d.ts +0 -45
- package/dist/models/TemplateCustom.js +0 -62
- package/dist/models/TemplateInterview.d.ts +0 -51
- package/dist/models/TemplateInterview.js +0 -66
- package/src/models/ApiInviteCodeCodeStartGet302ResponseProjectConfig.ts +0 -90
- package/src/models/ProjectTemplateSettings.ts +0 -91
- package/src/models/TemplateConceptTest.ts +0 -85
- package/src/models/TemplateCustom.ts +0 -85
- package/src/models/TemplateInterview.ts +0 -94
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Fastify Template API
|
|
3
|
-
* API documentation using Swagger
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface TemplateCustom
|
|
16
|
-
*/
|
|
17
|
-
export interface TemplateCustom {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof TemplateCustom
|
|
22
|
-
*/
|
|
23
|
-
description: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof TemplateCustom
|
|
28
|
-
*/
|
|
29
|
-
kind: TemplateCustomKindEnum;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* @export
|
|
33
|
-
*/
|
|
34
|
-
export declare const TemplateCustomKindEnum: {
|
|
35
|
-
readonly Custom: "custom";
|
|
36
|
-
};
|
|
37
|
-
export type TemplateCustomKindEnum = typeof TemplateCustomKindEnum[keyof typeof TemplateCustomKindEnum];
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the TemplateCustom interface.
|
|
40
|
-
*/
|
|
41
|
-
export declare function instanceOfTemplateCustom(value: object): value is TemplateCustom;
|
|
42
|
-
export declare function TemplateCustomFromJSON(json: any): TemplateCustom;
|
|
43
|
-
export declare function TemplateCustomFromJSONTyped(json: any, ignoreDiscriminator: boolean): TemplateCustom;
|
|
44
|
-
export declare function TemplateCustomToJSON(json: any): TemplateCustom;
|
|
45
|
-
export declare function TemplateCustomToJSONTyped(value?: TemplateCustom | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Fastify Template API
|
|
6
|
-
* API documentation using Swagger
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.TemplateCustomKindEnum = void 0;
|
|
17
|
-
exports.instanceOfTemplateCustom = instanceOfTemplateCustom;
|
|
18
|
-
exports.TemplateCustomFromJSON = TemplateCustomFromJSON;
|
|
19
|
-
exports.TemplateCustomFromJSONTyped = TemplateCustomFromJSONTyped;
|
|
20
|
-
exports.TemplateCustomToJSON = TemplateCustomToJSON;
|
|
21
|
-
exports.TemplateCustomToJSONTyped = TemplateCustomToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.TemplateCustomKindEnum = {
|
|
26
|
-
Custom: 'custom'
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* Check if a given object implements the TemplateCustom interface.
|
|
30
|
-
*/
|
|
31
|
-
function instanceOfTemplateCustom(value) {
|
|
32
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('kind' in value) || value['kind'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
return true;
|
|
37
|
-
}
|
|
38
|
-
function TemplateCustomFromJSON(json) {
|
|
39
|
-
return TemplateCustomFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
function TemplateCustomFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
-
if (json == null) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
'description': json['description'],
|
|
47
|
-
'kind': json['kind'],
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
function TemplateCustomToJSON(json) {
|
|
51
|
-
return TemplateCustomToJSONTyped(json, false);
|
|
52
|
-
}
|
|
53
|
-
function TemplateCustomToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
55
|
-
if (value == null) {
|
|
56
|
-
return value;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
'description': value['description'],
|
|
60
|
-
'kind': value['kind'],
|
|
61
|
-
};
|
|
62
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Fastify Template API
|
|
3
|
-
* API documentation using Swagger
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface TemplateInterview
|
|
16
|
-
*/
|
|
17
|
-
export interface TemplateInterview {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof TemplateInterview
|
|
22
|
-
*/
|
|
23
|
-
description: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof TemplateInterview
|
|
28
|
-
*/
|
|
29
|
-
kind: TemplateInterviewKindEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof TemplateInterview
|
|
34
|
-
*/
|
|
35
|
-
topic: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const TemplateInterviewKindEnum: {
|
|
41
|
-
readonly Interview: "interview";
|
|
42
|
-
};
|
|
43
|
-
export type TemplateInterviewKindEnum = typeof TemplateInterviewKindEnum[keyof typeof TemplateInterviewKindEnum];
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the TemplateInterview interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfTemplateInterview(value: object): value is TemplateInterview;
|
|
48
|
-
export declare function TemplateInterviewFromJSON(json: any): TemplateInterview;
|
|
49
|
-
export declare function TemplateInterviewFromJSONTyped(json: any, ignoreDiscriminator: boolean): TemplateInterview;
|
|
50
|
-
export declare function TemplateInterviewToJSON(json: any): TemplateInterview;
|
|
51
|
-
export declare function TemplateInterviewToJSONTyped(value?: TemplateInterview | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Fastify Template API
|
|
6
|
-
* API documentation using Swagger
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.TemplateInterviewKindEnum = void 0;
|
|
17
|
-
exports.instanceOfTemplateInterview = instanceOfTemplateInterview;
|
|
18
|
-
exports.TemplateInterviewFromJSON = TemplateInterviewFromJSON;
|
|
19
|
-
exports.TemplateInterviewFromJSONTyped = TemplateInterviewFromJSONTyped;
|
|
20
|
-
exports.TemplateInterviewToJSON = TemplateInterviewToJSON;
|
|
21
|
-
exports.TemplateInterviewToJSONTyped = TemplateInterviewToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.TemplateInterviewKindEnum = {
|
|
26
|
-
Interview: 'interview'
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* Check if a given object implements the TemplateInterview interface.
|
|
30
|
-
*/
|
|
31
|
-
function instanceOfTemplateInterview(value) {
|
|
32
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('kind' in value) || value['kind'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('topic' in value) || value['topic'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
return true;
|
|
39
|
-
}
|
|
40
|
-
function TemplateInterviewFromJSON(json) {
|
|
41
|
-
return TemplateInterviewFromJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function TemplateInterviewFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
-
if (json == null) {
|
|
45
|
-
return json;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'description': json['description'],
|
|
49
|
-
'kind': json['kind'],
|
|
50
|
-
'topic': json['topic'],
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
function TemplateInterviewToJSON(json) {
|
|
54
|
-
return TemplateInterviewToJSONTyped(json, false);
|
|
55
|
-
}
|
|
56
|
-
function TemplateInterviewToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
|
-
if (value == null) {
|
|
59
|
-
return value;
|
|
60
|
-
}
|
|
61
|
-
return {
|
|
62
|
-
'description': value['description'],
|
|
63
|
-
'kind': value['kind'],
|
|
64
|
-
'topic': value['topic'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Fastify Template API
|
|
5
|
-
* API documentation using Swagger
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ProjectScreenerQuestionChooseOnePublic } from './ProjectScreenerQuestionChooseOnePublic';
|
|
17
|
-
import {
|
|
18
|
-
ProjectScreenerQuestionChooseOnePublicFromJSON,
|
|
19
|
-
ProjectScreenerQuestionChooseOnePublicFromJSONTyped,
|
|
20
|
-
ProjectScreenerQuestionChooseOnePublicToJSON,
|
|
21
|
-
ProjectScreenerQuestionChooseOnePublicToJSONTyped,
|
|
22
|
-
} from './ProjectScreenerQuestionChooseOnePublic';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ApiInviteCodeCodeStartGet302ResponseProjectConfig
|
|
28
|
-
*/
|
|
29
|
-
export interface ApiInviteCodeCodeStartGet302ResponseProjectConfig {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof ApiInviteCodeCodeStartGet302ResponseProjectConfig
|
|
34
|
-
*/
|
|
35
|
-
maxDurationSeconds: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {boolean}
|
|
39
|
-
* @memberof ApiInviteCodeCodeStartGet302ResponseProjectConfig
|
|
40
|
-
*/
|
|
41
|
-
collectEmail?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {Array<ProjectScreenerQuestionChooseOnePublic>}
|
|
45
|
-
* @memberof ApiInviteCodeCodeStartGet302ResponseProjectConfig
|
|
46
|
-
*/
|
|
47
|
-
screenerQuestions?: Array<ProjectScreenerQuestionChooseOnePublic>;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Check if a given object implements the ApiInviteCodeCodeStartGet302ResponseProjectConfig interface.
|
|
52
|
-
*/
|
|
53
|
-
export function instanceOfApiInviteCodeCodeStartGet302ResponseProjectConfig(value: object): value is ApiInviteCodeCodeStartGet302ResponseProjectConfig {
|
|
54
|
-
if (!('maxDurationSeconds' in value) || value['maxDurationSeconds'] === undefined) return false;
|
|
55
|
-
return true;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export function ApiInviteCodeCodeStartGet302ResponseProjectConfigFromJSON(json: any): ApiInviteCodeCodeStartGet302ResponseProjectConfig {
|
|
59
|
-
return ApiInviteCodeCodeStartGet302ResponseProjectConfigFromJSONTyped(json, false);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export function ApiInviteCodeCodeStartGet302ResponseProjectConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiInviteCodeCodeStartGet302ResponseProjectConfig {
|
|
63
|
-
if (json == null) {
|
|
64
|
-
return json;
|
|
65
|
-
}
|
|
66
|
-
return {
|
|
67
|
-
|
|
68
|
-
'maxDurationSeconds': json['maxDurationSeconds'],
|
|
69
|
-
'collectEmail': json['collectEmail'] == null ? undefined : json['collectEmail'],
|
|
70
|
-
'screenerQuestions': json['screenerQuestions'] == null ? undefined : ((json['screenerQuestions'] as Array<any>).map(ProjectScreenerQuestionChooseOnePublicFromJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export function ApiInviteCodeCodeStartGet302ResponseProjectConfigToJSON(json: any): ApiInviteCodeCodeStartGet302ResponseProjectConfig {
|
|
75
|
-
return ApiInviteCodeCodeStartGet302ResponseProjectConfigToJSONTyped(json, false);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export function ApiInviteCodeCodeStartGet302ResponseProjectConfigToJSONTyped(value?: ApiInviteCodeCodeStartGet302ResponseProjectConfig | null, ignoreDiscriminator: boolean = false): any {
|
|
79
|
-
if (value == null) {
|
|
80
|
-
return value;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
return {
|
|
84
|
-
|
|
85
|
-
'maxDurationSeconds': value['maxDurationSeconds'],
|
|
86
|
-
'collectEmail': value['collectEmail'],
|
|
87
|
-
'screenerQuestions': value['screenerQuestions'] == null ? undefined : ((value['screenerQuestions'] as Array<any>).map(ProjectScreenerQuestionChooseOnePublicToJSON)),
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Fastify Template API
|
|
5
|
-
* API documentation using Swagger
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import type { TemplateConceptTest } from './TemplateConceptTest';
|
|
16
|
-
import {
|
|
17
|
-
instanceOfTemplateConceptTest,
|
|
18
|
-
TemplateConceptTestFromJSON,
|
|
19
|
-
TemplateConceptTestFromJSONTyped,
|
|
20
|
-
TemplateConceptTestToJSON,
|
|
21
|
-
} from './TemplateConceptTest';
|
|
22
|
-
import type { TemplateCustom } from './TemplateCustom';
|
|
23
|
-
import {
|
|
24
|
-
instanceOfTemplateCustom,
|
|
25
|
-
TemplateCustomFromJSON,
|
|
26
|
-
TemplateCustomFromJSONTyped,
|
|
27
|
-
TemplateCustomToJSON,
|
|
28
|
-
} from './TemplateCustom';
|
|
29
|
-
import type { TemplateInterview } from './TemplateInterview';
|
|
30
|
-
import {
|
|
31
|
-
instanceOfTemplateInterview,
|
|
32
|
-
TemplateInterviewFromJSON,
|
|
33
|
-
TemplateInterviewFromJSONTyped,
|
|
34
|
-
TemplateInterviewToJSON,
|
|
35
|
-
} from './TemplateInterview';
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @type ProjectTemplateSettings
|
|
39
|
-
*
|
|
40
|
-
* @export
|
|
41
|
-
*/
|
|
42
|
-
export type ProjectTemplateSettings = TemplateConceptTest | TemplateCustom | TemplateInterview;
|
|
43
|
-
|
|
44
|
-
export function ProjectTemplateSettingsFromJSON(json: any): ProjectTemplateSettings {
|
|
45
|
-
return ProjectTemplateSettingsFromJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export function ProjectTemplateSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectTemplateSettings {
|
|
49
|
-
if (json == null) {
|
|
50
|
-
return json;
|
|
51
|
-
}
|
|
52
|
-
if (typeof json !== 'object') {
|
|
53
|
-
return json;
|
|
54
|
-
}
|
|
55
|
-
if (instanceOfTemplateConceptTest(json)) {
|
|
56
|
-
return TemplateConceptTestFromJSONTyped(json, true);
|
|
57
|
-
}
|
|
58
|
-
if (instanceOfTemplateCustom(json)) {
|
|
59
|
-
return TemplateCustomFromJSONTyped(json, true);
|
|
60
|
-
}
|
|
61
|
-
if (instanceOfTemplateInterview(json)) {
|
|
62
|
-
return TemplateInterviewFromJSONTyped(json, true);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
return {} as any;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function ProjectTemplateSettingsToJSON(json: any): any {
|
|
69
|
-
return ProjectTemplateSettingsToJSONTyped(json, false);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function ProjectTemplateSettingsToJSONTyped(value?: ProjectTemplateSettings | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
-
if (value == null) {
|
|
74
|
-
return value;
|
|
75
|
-
}
|
|
76
|
-
if (typeof value !== 'object') {
|
|
77
|
-
return value;
|
|
78
|
-
}
|
|
79
|
-
if (instanceOfTemplateConceptTest(value)) {
|
|
80
|
-
return TemplateConceptTestToJSON(value as TemplateConceptTest);
|
|
81
|
-
}
|
|
82
|
-
if (instanceOfTemplateCustom(value)) {
|
|
83
|
-
return TemplateCustomToJSON(value as TemplateCustom);
|
|
84
|
-
}
|
|
85
|
-
if (instanceOfTemplateInterview(value)) {
|
|
86
|
-
return TemplateInterviewToJSON(value as TemplateInterview);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
return {};
|
|
90
|
-
}
|
|
91
|
-
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Fastify Template API
|
|
5
|
-
* API documentation using Swagger
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface TemplateConceptTest
|
|
20
|
-
*/
|
|
21
|
-
export interface TemplateConceptTest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof TemplateConceptTest
|
|
26
|
-
*/
|
|
27
|
-
description: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof TemplateConceptTest
|
|
32
|
-
*/
|
|
33
|
-
kind: TemplateConceptTestKindEnum;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export const TemplateConceptTestKindEnum = {
|
|
41
|
-
ConceptTest: 'concept_test'
|
|
42
|
-
} as const;
|
|
43
|
-
export type TemplateConceptTestKindEnum = typeof TemplateConceptTestKindEnum[keyof typeof TemplateConceptTestKindEnum];
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Check if a given object implements the TemplateConceptTest interface.
|
|
48
|
-
*/
|
|
49
|
-
export function instanceOfTemplateConceptTest(value: object): value is TemplateConceptTest {
|
|
50
|
-
if (!('description' in value) || value['description'] === undefined) return false;
|
|
51
|
-
if (!('kind' in value) || value['kind'] === undefined) return false;
|
|
52
|
-
return true;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function TemplateConceptTestFromJSON(json: any): TemplateConceptTest {
|
|
56
|
-
return TemplateConceptTestFromJSONTyped(json, false);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function TemplateConceptTestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TemplateConceptTest {
|
|
60
|
-
if (json == null) {
|
|
61
|
-
return json;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
|
|
65
|
-
'description': json['description'],
|
|
66
|
-
'kind': json['kind'],
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function TemplateConceptTestToJSON(json: any): TemplateConceptTest {
|
|
71
|
-
return TemplateConceptTestToJSONTyped(json, false);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export function TemplateConceptTestToJSONTyped(value?: TemplateConceptTest | null, ignoreDiscriminator: boolean = false): any {
|
|
75
|
-
if (value == null) {
|
|
76
|
-
return value;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
return {
|
|
80
|
-
|
|
81
|
-
'description': value['description'],
|
|
82
|
-
'kind': value['kind'],
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Fastify Template API
|
|
5
|
-
* API documentation using Swagger
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface TemplateCustom
|
|
20
|
-
*/
|
|
21
|
-
export interface TemplateCustom {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof TemplateCustom
|
|
26
|
-
*/
|
|
27
|
-
description: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof TemplateCustom
|
|
32
|
-
*/
|
|
33
|
-
kind: TemplateCustomKindEnum;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export const TemplateCustomKindEnum = {
|
|
41
|
-
Custom: 'custom'
|
|
42
|
-
} as const;
|
|
43
|
-
export type TemplateCustomKindEnum = typeof TemplateCustomKindEnum[keyof typeof TemplateCustomKindEnum];
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Check if a given object implements the TemplateCustom interface.
|
|
48
|
-
*/
|
|
49
|
-
export function instanceOfTemplateCustom(value: object): value is TemplateCustom {
|
|
50
|
-
if (!('description' in value) || value['description'] === undefined) return false;
|
|
51
|
-
if (!('kind' in value) || value['kind'] === undefined) return false;
|
|
52
|
-
return true;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function TemplateCustomFromJSON(json: any): TemplateCustom {
|
|
56
|
-
return TemplateCustomFromJSONTyped(json, false);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function TemplateCustomFromJSONTyped(json: any, ignoreDiscriminator: boolean): TemplateCustom {
|
|
60
|
-
if (json == null) {
|
|
61
|
-
return json;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
|
|
65
|
-
'description': json['description'],
|
|
66
|
-
'kind': json['kind'],
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function TemplateCustomToJSON(json: any): TemplateCustom {
|
|
71
|
-
return TemplateCustomToJSONTyped(json, false);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export function TemplateCustomToJSONTyped(value?: TemplateCustom | null, ignoreDiscriminator: boolean = false): any {
|
|
75
|
-
if (value == null) {
|
|
76
|
-
return value;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
return {
|
|
80
|
-
|
|
81
|
-
'description': value['description'],
|
|
82
|
-
'kind': value['kind'],
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Fastify Template API
|
|
5
|
-
* API documentation using Swagger
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface TemplateInterview
|
|
20
|
-
*/
|
|
21
|
-
export interface TemplateInterview {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof TemplateInterview
|
|
26
|
-
*/
|
|
27
|
-
description: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof TemplateInterview
|
|
32
|
-
*/
|
|
33
|
-
kind: TemplateInterviewKindEnum;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof TemplateInterview
|
|
38
|
-
*/
|
|
39
|
-
topic: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export const TemplateInterviewKindEnum = {
|
|
47
|
-
Interview: 'interview'
|
|
48
|
-
} as const;
|
|
49
|
-
export type TemplateInterviewKindEnum = typeof TemplateInterviewKindEnum[keyof typeof TemplateInterviewKindEnum];
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Check if a given object implements the TemplateInterview interface.
|
|
54
|
-
*/
|
|
55
|
-
export function instanceOfTemplateInterview(value: object): value is TemplateInterview {
|
|
56
|
-
if (!('description' in value) || value['description'] === undefined) return false;
|
|
57
|
-
if (!('kind' in value) || value['kind'] === undefined) return false;
|
|
58
|
-
if (!('topic' in value) || value['topic'] === undefined) return false;
|
|
59
|
-
return true;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export function TemplateInterviewFromJSON(json: any): TemplateInterview {
|
|
63
|
-
return TemplateInterviewFromJSONTyped(json, false);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function TemplateInterviewFromJSONTyped(json: any, ignoreDiscriminator: boolean): TemplateInterview {
|
|
67
|
-
if (json == null) {
|
|
68
|
-
return json;
|
|
69
|
-
}
|
|
70
|
-
return {
|
|
71
|
-
|
|
72
|
-
'description': json['description'],
|
|
73
|
-
'kind': json['kind'],
|
|
74
|
-
'topic': json['topic'],
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export function TemplateInterviewToJSON(json: any): TemplateInterview {
|
|
79
|
-
return TemplateInterviewToJSONTyped(json, false);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export function TemplateInterviewToJSONTyped(value?: TemplateInterview | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
-
if (value == null) {
|
|
84
|
-
return value;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
return {
|
|
88
|
-
|
|
89
|
-
'description': value['description'],
|
|
90
|
-
'kind': value['kind'],
|
|
91
|
-
'topic': value['topic'],
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
|