keplar-api 0.0.3 → 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 -7
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +25 -10
- package/dist/apis/DefaultApi.js +80 -15
- 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/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/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 +3 -3
- package/dist/models/ThreadMetadata.js +3 -3
- package/dist/models/TranscriptMessage.d.ts +1 -1
- package/dist/models/TranscriptMessage.js +2 -2
- package/dist/models/index.d.ts +6 -7
- package/dist/models/index.js +6 -7
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +92 -24
- 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/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/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 +10 -10
- package/src/models/TranscriptMessage.ts +3 -3
- package/src/models/index.ts +6 -7
- package/dist/models/ApiInviteCodeCodeStartGet302ResponseProjectConfig.d.ts +0 -45
- package/dist/models/ApiInviteCodeCodeStartGet302ResponseProjectConfig.js +0 -56
- package/dist/models/ApiThreadsThreadIdProjectDraftVersionsGet200Response.d.ts +0 -33
- package/dist/models/ApiThreadsThreadIdProjectDraftVersionsGet200Response.js +0 -52
- package/dist/models/ProjectDraftVersion.d.ts +0 -68
- package/dist/models/ProjectDraftVersion.js +0 -63
- 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/ApiThreadsThreadIdProjectDraftVersionsGet200Response.ts +0 -74
- package/src/models/ProjectDraftVersion.ts +0 -114
- 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,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,74 +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 { ProjectDraftVersion } from './ProjectDraftVersion';
|
|
17
|
-
import {
|
|
18
|
-
ProjectDraftVersionFromJSON,
|
|
19
|
-
ProjectDraftVersionFromJSONTyped,
|
|
20
|
-
ProjectDraftVersionToJSON,
|
|
21
|
-
ProjectDraftVersionToJSONTyped,
|
|
22
|
-
} from './ProjectDraftVersion';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ApiThreadsThreadIdProjectDraftVersionsGet200Response
|
|
28
|
-
*/
|
|
29
|
-
export interface ApiThreadsThreadIdProjectDraftVersionsGet200Response {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ProjectDraftVersion>}
|
|
33
|
-
* @memberof ApiThreadsThreadIdProjectDraftVersionsGet200Response
|
|
34
|
-
*/
|
|
35
|
-
versions: Array<ProjectDraftVersion>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the ApiThreadsThreadIdProjectDraftVersionsGet200Response interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfApiThreadsThreadIdProjectDraftVersionsGet200Response(value: object): value is ApiThreadsThreadIdProjectDraftVersionsGet200Response {
|
|
42
|
-
if (!('versions' in value) || value['versions'] === undefined) return false;
|
|
43
|
-
return true;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export function ApiThreadsThreadIdProjectDraftVersionsGet200ResponseFromJSON(json: any): ApiThreadsThreadIdProjectDraftVersionsGet200Response {
|
|
47
|
-
return ApiThreadsThreadIdProjectDraftVersionsGet200ResponseFromJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function ApiThreadsThreadIdProjectDraftVersionsGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiThreadsThreadIdProjectDraftVersionsGet200Response {
|
|
51
|
-
if (json == null) {
|
|
52
|
-
return json;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
|
|
56
|
-
'versions': ((json['versions'] as Array<any>).map(ProjectDraftVersionFromJSON)),
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function ApiThreadsThreadIdProjectDraftVersionsGet200ResponseToJSON(json: any): ApiThreadsThreadIdProjectDraftVersionsGet200Response {
|
|
61
|
-
return ApiThreadsThreadIdProjectDraftVersionsGet200ResponseToJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function ApiThreadsThreadIdProjectDraftVersionsGet200ResponseToJSONTyped(value?: ApiThreadsThreadIdProjectDraftVersionsGet200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
-
if (value == null) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'versions': ((value['versions'] as Array<any>).map(ProjectDraftVersionToJSON)),
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
@@ -1,114 +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 ProjectDraftVersion
|
|
20
|
-
*/
|
|
21
|
-
export interface ProjectDraftVersion {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof ProjectDraftVersion
|
|
26
|
-
*/
|
|
27
|
-
version: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ProjectDraftVersion
|
|
32
|
-
*/
|
|
33
|
-
business_context?: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof ProjectDraftVersion
|
|
38
|
-
*/
|
|
39
|
-
learning_goals?: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof ProjectDraftVersion
|
|
44
|
-
*/
|
|
45
|
-
interview_questions?: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {Array<any>}
|
|
49
|
-
* @memberof ProjectDraftVersion
|
|
50
|
-
*/
|
|
51
|
-
assets?: Array<any>;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof ProjectDraftVersion
|
|
56
|
-
*/
|
|
57
|
-
name?: string;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof ProjectDraftVersion
|
|
62
|
-
*/
|
|
63
|
-
description?: string;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Check if a given object implements the ProjectDraftVersion interface.
|
|
68
|
-
*/
|
|
69
|
-
export function instanceOfProjectDraftVersion(value: object): value is ProjectDraftVersion {
|
|
70
|
-
if (!('version' in value) || value['version'] === undefined) return false;
|
|
71
|
-
return true;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export function ProjectDraftVersionFromJSON(json: any): ProjectDraftVersion {
|
|
75
|
-
return ProjectDraftVersionFromJSONTyped(json, false);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export function ProjectDraftVersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectDraftVersion {
|
|
79
|
-
if (json == null) {
|
|
80
|
-
return json;
|
|
81
|
-
}
|
|
82
|
-
return {
|
|
83
|
-
|
|
84
|
-
'version': json['version'],
|
|
85
|
-
'business_context': json['business_context'] == null ? undefined : json['business_context'],
|
|
86
|
-
'learning_goals': json['learning_goals'] == null ? undefined : json['learning_goals'],
|
|
87
|
-
'interview_questions': json['interview_questions'] == null ? undefined : json['interview_questions'],
|
|
88
|
-
'assets': json['assets'] == null ? undefined : json['assets'],
|
|
89
|
-
'name': json['name'] == null ? undefined : json['name'],
|
|
90
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export function ProjectDraftVersionToJSON(json: any): ProjectDraftVersion {
|
|
95
|
-
return ProjectDraftVersionToJSONTyped(json, false);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export function ProjectDraftVersionToJSONTyped(value?: ProjectDraftVersion | null, ignoreDiscriminator: boolean = false): any {
|
|
99
|
-
if (value == null) {
|
|
100
|
-
return value;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
return {
|
|
104
|
-
|
|
105
|
-
'version': value['version'],
|
|
106
|
-
'business_context': value['business_context'],
|
|
107
|
-
'learning_goals': value['learning_goals'],
|
|
108
|
-
'interview_questions': value['interview_questions'],
|
|
109
|
-
'assets': value['assets'],
|
|
110
|
-
'name': value['name'],
|
|
111
|
-
'description': value['description'],
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
|
|
@@ -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
|
-
|