keplar-api 0.0.18 → 0.0.20
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 +7 -7
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +49 -4
- package/dist/apis/DefaultApi.js +43 -1
- package/dist/models/ApiFilesFileIdSignedUrlPostRequest.d.ts +10 -3
- package/dist/models/ApiFilesFileIdSignedUrlPostRequest.js +10 -3
- package/dist/models/ApiProjectsProjectIdAnalysisPostRequest.d.ts +10 -3
- package/dist/models/ApiProjectsProjectIdAnalysisPostRequest.js +10 -3
- package/dist/models/ArtifactMetadata.d.ts +12 -3
- package/dist/models/ArtifactMetadata.js +12 -3
- package/dist/models/JoinCodeInvite302ResponseSettings.d.ts +3 -3
- package/dist/models/JoinCodeInvite302ResponseSettings.js +3 -3
- package/dist/models/Login400Response.d.ts +18 -3
- package/dist/models/Login400Response.js +18 -3
- package/dist/models/Login400ResponseAnyOf.d.ts +18 -3
- package/dist/models/Login400ResponseAnyOf.js +18 -3
- package/dist/models/OpenAiModelConfig.d.ts +10 -3
- package/dist/models/OpenAiModelConfig.js +10 -4
- package/dist/models/OptionKind.d.ts +26 -0
- package/dist/models/OptionKind.js +52 -0
- package/dist/models/ProjectConfig.d.ts +3 -3
- package/dist/models/ProjectConfig.js +3 -3
- package/dist/models/ScreenerQuestion.d.ts +27 -0
- package/dist/models/ScreenerQuestion.js +54 -0
- package/dist/models/ScreenerQuestionChooseMultiple.d.ts +78 -0
- package/dist/models/ScreenerQuestionChooseMultiple.js +82 -0
- package/dist/models/ScreenerQuestionChooseMultipleOptionsValue.d.ts +53 -0
- package/dist/models/ScreenerQuestionChooseMultipleOptionsValue.js +66 -0
- package/dist/models/ScreenerQuestionChooseMultiplePublic.d.ts +72 -0
- package/dist/models/ScreenerQuestionChooseMultiplePublic.js +78 -0
- package/dist/models/ScreenerQuestionOption.d.ts +53 -0
- package/dist/models/ScreenerQuestionOption.js +66 -0
- package/dist/models/ScreenerQuestionPublic.d.ts +23 -0
- package/dist/models/ScreenerQuestionPublic.js +58 -0
- package/dist/models/ScreenerQuestionResponse.d.ts +2 -8
- package/dist/models/ScreenerQuestionResponse.js +0 -4
- package/dist/models/SelectFilterSchema.d.ts +10 -3
- package/dist/models/SelectFilterSchema.js +10 -3
- package/dist/models/index.d.ts +7 -7
- package/dist/models/index.js +7 -7
- package/package.json +2 -2
- package/src/apis/DefaultApi.ts +49 -6
- package/src/models/ApiFilesFileIdSignedUrlPostRequest.ts +15 -12
- package/src/models/ApiProjectsProjectIdAnalysisPostRequest.ts +15 -12
- package/src/models/ArtifactMetadata.ts +17 -12
- package/src/models/JoinCodeInvite302ResponseSettings.ts +11 -11
- package/src/models/Login400Response.ts +23 -11
- package/src/models/Login400ResponseAnyOf.ts +23 -12
- package/src/models/OpenAiModelConfig.ts +13 -12
- package/src/models/OptionKind.ts +54 -0
- package/src/models/ProjectConfig.ts +11 -11
- package/src/models/ScreenerQuestion.ts +72 -0
- package/src/models/ScreenerQuestionChooseMultiple.ts +137 -0
- package/src/models/ScreenerQuestionChooseMultipleOptionsValue.ts +95 -0
- package/src/models/ScreenerQuestionChooseMultiplePublic.ts +128 -0
- package/src/models/ScreenerQuestionOption.ts +95 -0
- package/src/models/ScreenerQuestionPublic.ts +76 -0
- package/src/models/ScreenerQuestionResponse.ts +2 -11
- package/src/models/SelectFilterSchema.ts +15 -12
- package/src/models/index.ts +7 -7
- package/dist/models/ApiFilesFileIdSignedUrlPostRequestAction.d.ts +0 -26
- package/dist/models/ApiFilesFileIdSignedUrlPostRequestAction.js +0 -39
- package/dist/models/ApiProjectsProjectIdAnalysisPostRequestKind.d.ts +0 -26
- package/dist/models/ApiProjectsProjectIdAnalysisPostRequestKind.js +0 -39
- package/dist/models/ArtifactMetadataStatus.d.ts +0 -26
- package/dist/models/ArtifactMetadataStatus.js +0 -39
- package/dist/models/GetSharedInviteResponsesStatusesParameterInner.d.ts +0 -26
- package/dist/models/GetSharedInviteResponsesStatusesParameterInner.js +0 -39
- package/dist/models/Login400ResponseAnyOfError.d.ts +0 -26
- package/dist/models/Login400ResponseAnyOfError.js +0 -39
- package/dist/models/OpenAiModelConfigModel.d.ts +0 -26
- package/dist/models/OpenAiModelConfigModel.js +0 -39
- package/dist/models/SelectFilterSchemaKind.d.ts +0 -26
- package/dist/models/SelectFilterSchemaKind.js +0 -39
- package/src/models/ApiFilesFileIdSignedUrlPostRequestAction.ts +0 -46
- package/src/models/ApiProjectsProjectIdAnalysisPostRequestKind.ts +0 -46
- package/src/models/ArtifactMetadataStatus.ts +0 -46
- package/src/models/GetSharedInviteResponsesStatusesParameterInner.ts +0 -46
- package/src/models/Login400ResponseAnyOfError.ts +0 -46
- package/src/models/OpenAiModelConfigModel.ts +0 -46
- package/src/models/SelectFilterSchemaKind.ts +0 -46
package/src/apis/DefaultApi.ts
CHANGED
|
@@ -59,7 +59,6 @@ import type {
|
|
|
59
59
|
GetProjects200Response,
|
|
60
60
|
GetSharedArtifactVersionGroups200Response,
|
|
61
61
|
GetSharedInviteResponses200Response,
|
|
62
|
-
GetSharedInviteResponsesStatusesParameterInner,
|
|
63
62
|
InboundCallResponse,
|
|
64
63
|
InviteResponse,
|
|
65
64
|
InviteResponseStatus,
|
|
@@ -190,8 +189,6 @@ import {
|
|
|
190
189
|
GetSharedArtifactVersionGroups200ResponseToJSON,
|
|
191
190
|
GetSharedInviteResponses200ResponseFromJSON,
|
|
192
191
|
GetSharedInviteResponses200ResponseToJSON,
|
|
193
|
-
GetSharedInviteResponsesStatusesParameterInnerFromJSON,
|
|
194
|
-
GetSharedInviteResponsesStatusesParameterInnerToJSON,
|
|
195
192
|
InboundCallResponseFromJSON,
|
|
196
193
|
InboundCallResponseToJSON,
|
|
197
194
|
InviteResponseFromJSON,
|
|
@@ -646,7 +643,7 @@ export interface GetSharedCallMetadataRequest {
|
|
|
646
643
|
export interface GetSharedInviteResponseAttributeStatsRequest {
|
|
647
644
|
shareToken: string;
|
|
648
645
|
inviteId: string;
|
|
649
|
-
statuses?: Array<
|
|
646
|
+
statuses?: Array<GetSharedInviteResponseAttributeStatsStatusesEnum>;
|
|
650
647
|
filters?: string;
|
|
651
648
|
}
|
|
652
649
|
|
|
@@ -655,7 +652,7 @@ export interface GetSharedInviteResponsesRequest {
|
|
|
655
652
|
inviteId: string;
|
|
656
653
|
page?: number;
|
|
657
654
|
limit?: number;
|
|
658
|
-
statuses?: Array<
|
|
655
|
+
statuses?: Array<GetSharedInviteResponsesStatusesEnum>;
|
|
659
656
|
filters?: string;
|
|
660
657
|
}
|
|
661
658
|
|
|
@@ -666,7 +663,7 @@ export interface GetSharedProjectRequest {
|
|
|
666
663
|
export interface GetSharedProjectResponseAttributeStatsRequest {
|
|
667
664
|
shareToken: string;
|
|
668
665
|
inviteId?: string;
|
|
669
|
-
statuses?: Array<
|
|
666
|
+
statuses?: Array<GetSharedProjectResponseAttributeStatsStatusesEnum>;
|
|
670
667
|
filters?: string;
|
|
671
668
|
}
|
|
672
669
|
|
|
@@ -6009,3 +6006,49 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
6009
6006
|
}
|
|
6010
6007
|
|
|
6011
6008
|
}
|
|
6009
|
+
|
|
6010
|
+
/**
|
|
6011
|
+
* @export
|
|
6012
|
+
*/
|
|
6013
|
+
export const GetSharedInviteResponseAttributeStatsStatusesEnum = {
|
|
6014
|
+
Pending: 'PENDING',
|
|
6015
|
+
FailedScreener: 'FAILED_SCREENER',
|
|
6016
|
+
PassedScreener: 'PASSED_SCREENER',
|
|
6017
|
+
OptedOut: 'OPTED_OUT',
|
|
6018
|
+
Ready: 'READY',
|
|
6019
|
+
Calling: 'CALLING',
|
|
6020
|
+
Processing: 'PROCESSING',
|
|
6021
|
+
Completed: 'COMPLETED',
|
|
6022
|
+
Failed: 'FAILED'
|
|
6023
|
+
} as const;
|
|
6024
|
+
export type GetSharedInviteResponseAttributeStatsStatusesEnum = typeof GetSharedInviteResponseAttributeStatsStatusesEnum[keyof typeof GetSharedInviteResponseAttributeStatsStatusesEnum];
|
|
6025
|
+
/**
|
|
6026
|
+
* @export
|
|
6027
|
+
*/
|
|
6028
|
+
export const GetSharedInviteResponsesStatusesEnum = {
|
|
6029
|
+
Pending: 'PENDING',
|
|
6030
|
+
FailedScreener: 'FAILED_SCREENER',
|
|
6031
|
+
PassedScreener: 'PASSED_SCREENER',
|
|
6032
|
+
OptedOut: 'OPTED_OUT',
|
|
6033
|
+
Ready: 'READY',
|
|
6034
|
+
Calling: 'CALLING',
|
|
6035
|
+
Processing: 'PROCESSING',
|
|
6036
|
+
Completed: 'COMPLETED',
|
|
6037
|
+
Failed: 'FAILED'
|
|
6038
|
+
} as const;
|
|
6039
|
+
export type GetSharedInviteResponsesStatusesEnum = typeof GetSharedInviteResponsesStatusesEnum[keyof typeof GetSharedInviteResponsesStatusesEnum];
|
|
6040
|
+
/**
|
|
6041
|
+
* @export
|
|
6042
|
+
*/
|
|
6043
|
+
export const GetSharedProjectResponseAttributeStatsStatusesEnum = {
|
|
6044
|
+
Pending: 'PENDING',
|
|
6045
|
+
FailedScreener: 'FAILED_SCREENER',
|
|
6046
|
+
PassedScreener: 'PASSED_SCREENER',
|
|
6047
|
+
OptedOut: 'OPTED_OUT',
|
|
6048
|
+
Ready: 'READY',
|
|
6049
|
+
Calling: 'CALLING',
|
|
6050
|
+
Processing: 'PROCESSING',
|
|
6051
|
+
Completed: 'COMPLETED',
|
|
6052
|
+
Failed: 'FAILED'
|
|
6053
|
+
} as const;
|
|
6054
|
+
export type GetSharedProjectResponseAttributeStatsStatusesEnum = typeof GetSharedProjectResponseAttributeStatsStatusesEnum[keyof typeof GetSharedProjectResponseAttributeStatsStatusesEnum];
|
|
@@ -13,14 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ApiFilesFileIdSignedUrlPostRequestAction } from './ApiFilesFileIdSignedUrlPostRequestAction';
|
|
17
|
-
import {
|
|
18
|
-
ApiFilesFileIdSignedUrlPostRequestActionFromJSON,
|
|
19
|
-
ApiFilesFileIdSignedUrlPostRequestActionFromJSONTyped,
|
|
20
|
-
ApiFilesFileIdSignedUrlPostRequestActionToJSON,
|
|
21
|
-
ApiFilesFileIdSignedUrlPostRequestActionToJSONTyped,
|
|
22
|
-
} from './ApiFilesFileIdSignedUrlPostRequestAction';
|
|
23
|
-
|
|
24
16
|
/**
|
|
25
17
|
*
|
|
26
18
|
* @export
|
|
@@ -29,10 +21,10 @@ import {
|
|
|
29
21
|
export interface ApiFilesFileIdSignedUrlPostRequest {
|
|
30
22
|
/**
|
|
31
23
|
*
|
|
32
|
-
* @type {
|
|
24
|
+
* @type {string}
|
|
33
25
|
* @memberof ApiFilesFileIdSignedUrlPostRequest
|
|
34
26
|
*/
|
|
35
|
-
action?:
|
|
27
|
+
action?: ApiFilesFileIdSignedUrlPostRequestActionEnum;
|
|
36
28
|
/**
|
|
37
29
|
*
|
|
38
30
|
* @type {number}
|
|
@@ -41,6 +33,17 @@ export interface ApiFilesFileIdSignedUrlPostRequest {
|
|
|
41
33
|
expiresIn?: number;
|
|
42
34
|
}
|
|
43
35
|
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const ApiFilesFileIdSignedUrlPostRequestActionEnum = {
|
|
41
|
+
Read: 'read',
|
|
42
|
+
Write: 'write'
|
|
43
|
+
} as const;
|
|
44
|
+
export type ApiFilesFileIdSignedUrlPostRequestActionEnum = typeof ApiFilesFileIdSignedUrlPostRequestActionEnum[keyof typeof ApiFilesFileIdSignedUrlPostRequestActionEnum];
|
|
45
|
+
|
|
46
|
+
|
|
44
47
|
/**
|
|
45
48
|
* Check if a given object implements the ApiFilesFileIdSignedUrlPostRequest interface.
|
|
46
49
|
*/
|
|
@@ -58,7 +61,7 @@ export function ApiFilesFileIdSignedUrlPostRequestFromJSONTyped(json: any, ignor
|
|
|
58
61
|
}
|
|
59
62
|
return {
|
|
60
63
|
|
|
61
|
-
'action': json['action'] == null ? undefined :
|
|
64
|
+
'action': json['action'] == null ? undefined : json['action'],
|
|
62
65
|
'expiresIn': json['expiresIn'] == null ? undefined : json['expiresIn'],
|
|
63
66
|
};
|
|
64
67
|
}
|
|
@@ -74,7 +77,7 @@ export function ApiFilesFileIdSignedUrlPostRequestToJSONTyped(value?: ApiFilesFi
|
|
|
74
77
|
|
|
75
78
|
return {
|
|
76
79
|
|
|
77
|
-
'action':
|
|
80
|
+
'action': value['action'],
|
|
78
81
|
'expiresIn': value['expiresIn'],
|
|
79
82
|
};
|
|
80
83
|
}
|
|
@@ -13,14 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ApiProjectsProjectIdAnalysisPostRequestKind } from './ApiProjectsProjectIdAnalysisPostRequestKind';
|
|
17
|
-
import {
|
|
18
|
-
ApiProjectsProjectIdAnalysisPostRequestKindFromJSON,
|
|
19
|
-
ApiProjectsProjectIdAnalysisPostRequestKindFromJSONTyped,
|
|
20
|
-
ApiProjectsProjectIdAnalysisPostRequestKindToJSON,
|
|
21
|
-
ApiProjectsProjectIdAnalysisPostRequestKindToJSONTyped,
|
|
22
|
-
} from './ApiProjectsProjectIdAnalysisPostRequestKind';
|
|
23
|
-
|
|
24
16
|
/**
|
|
25
17
|
*
|
|
26
18
|
* @export
|
|
@@ -29,12 +21,23 @@ import {
|
|
|
29
21
|
export interface ApiProjectsProjectIdAnalysisPostRequest {
|
|
30
22
|
/**
|
|
31
23
|
*
|
|
32
|
-
* @type {
|
|
24
|
+
* @type {string}
|
|
33
25
|
* @memberof ApiProjectsProjectIdAnalysisPostRequest
|
|
34
26
|
*/
|
|
35
|
-
kind:
|
|
27
|
+
kind: ApiProjectsProjectIdAnalysisPostRequestKindEnum;
|
|
36
28
|
}
|
|
37
29
|
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export const ApiProjectsProjectIdAnalysisPostRequestKindEnum = {
|
|
35
|
+
Codebook: 'codebook',
|
|
36
|
+
Report: 'report'
|
|
37
|
+
} as const;
|
|
38
|
+
export type ApiProjectsProjectIdAnalysisPostRequestKindEnum = typeof ApiProjectsProjectIdAnalysisPostRequestKindEnum[keyof typeof ApiProjectsProjectIdAnalysisPostRequestKindEnum];
|
|
39
|
+
|
|
40
|
+
|
|
38
41
|
/**
|
|
39
42
|
* Check if a given object implements the ApiProjectsProjectIdAnalysisPostRequest interface.
|
|
40
43
|
*/
|
|
@@ -53,7 +56,7 @@ export function ApiProjectsProjectIdAnalysisPostRequestFromJSONTyped(json: any,
|
|
|
53
56
|
}
|
|
54
57
|
return {
|
|
55
58
|
|
|
56
|
-
'kind':
|
|
59
|
+
'kind': json['kind'],
|
|
57
60
|
};
|
|
58
61
|
}
|
|
59
62
|
|
|
@@ -68,7 +71,7 @@ export function ApiProjectsProjectIdAnalysisPostRequestToJSONTyped(value?: ApiPr
|
|
|
68
71
|
|
|
69
72
|
return {
|
|
70
73
|
|
|
71
|
-
'kind':
|
|
74
|
+
'kind': value['kind'],
|
|
72
75
|
};
|
|
73
76
|
}
|
|
74
77
|
|
|
@@ -13,14 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ArtifactMetadataStatus } from './ArtifactMetadataStatus';
|
|
17
|
-
import {
|
|
18
|
-
ArtifactMetadataStatusFromJSON,
|
|
19
|
-
ArtifactMetadataStatusFromJSONTyped,
|
|
20
|
-
ArtifactMetadataStatusToJSON,
|
|
21
|
-
ArtifactMetadataStatusToJSONTyped,
|
|
22
|
-
} from './ArtifactMetadataStatus';
|
|
23
|
-
|
|
24
16
|
/**
|
|
25
17
|
*
|
|
26
18
|
* @export
|
|
@@ -29,10 +21,10 @@ import {
|
|
|
29
21
|
export interface ArtifactMetadata {
|
|
30
22
|
/**
|
|
31
23
|
*
|
|
32
|
-
* @type {
|
|
24
|
+
* @type {string}
|
|
33
25
|
* @memberof ArtifactMetadata
|
|
34
26
|
*/
|
|
35
|
-
status:
|
|
27
|
+
status: ArtifactMetadataStatusEnum;
|
|
36
28
|
/**
|
|
37
29
|
*
|
|
38
30
|
* @type {string}
|
|
@@ -47,6 +39,19 @@ export interface ArtifactMetadata {
|
|
|
47
39
|
progress?: number;
|
|
48
40
|
}
|
|
49
41
|
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export const ArtifactMetadataStatusEnum = {
|
|
47
|
+
Draft: 'draft',
|
|
48
|
+
InProgress: 'in_progress',
|
|
49
|
+
Completed: 'completed',
|
|
50
|
+
Failed: 'failed'
|
|
51
|
+
} as const;
|
|
52
|
+
export type ArtifactMetadataStatusEnum = typeof ArtifactMetadataStatusEnum[keyof typeof ArtifactMetadataStatusEnum];
|
|
53
|
+
|
|
54
|
+
|
|
50
55
|
/**
|
|
51
56
|
* Check if a given object implements the ArtifactMetadata interface.
|
|
52
57
|
*/
|
|
@@ -65,7 +70,7 @@ export function ArtifactMetadataFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
65
70
|
}
|
|
66
71
|
return {
|
|
67
72
|
|
|
68
|
-
'status':
|
|
73
|
+
'status': json['status'],
|
|
69
74
|
'statusMessage': json['statusMessage'] == null ? undefined : json['statusMessage'],
|
|
70
75
|
'progress': json['progress'] == null ? undefined : json['progress'],
|
|
71
76
|
};
|
|
@@ -82,7 +87,7 @@ export function ArtifactMetadataToJSONTyped(value?: ArtifactMetadata | null, ign
|
|
|
82
87
|
|
|
83
88
|
return {
|
|
84
89
|
|
|
85
|
-
'status':
|
|
90
|
+
'status': value['status'],
|
|
86
91
|
'statusMessage': value['statusMessage'],
|
|
87
92
|
'progress': value['progress'],
|
|
88
93
|
};
|
|
@@ -13,13 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ScreenerQuestionChooseOnePublic } from './ScreenerQuestionChooseOnePublic';
|
|
17
|
-
import {
|
|
18
|
-
ScreenerQuestionChooseOnePublicFromJSON,
|
|
19
|
-
ScreenerQuestionChooseOnePublicFromJSONTyped,
|
|
20
|
-
ScreenerQuestionChooseOnePublicToJSON,
|
|
21
|
-
ScreenerQuestionChooseOnePublicToJSONTyped,
|
|
22
|
-
} from './ScreenerQuestionChooseOnePublic';
|
|
23
16
|
import type { ProjectFilePublic } from './ProjectFilePublic';
|
|
24
17
|
import {
|
|
25
18
|
ProjectFilePublicFromJSON,
|
|
@@ -27,6 +20,13 @@ import {
|
|
|
27
20
|
ProjectFilePublicToJSON,
|
|
28
21
|
ProjectFilePublicToJSONTyped,
|
|
29
22
|
} from './ProjectFilePublic';
|
|
23
|
+
import type { ScreenerQuestionPublic } from './ScreenerQuestionPublic';
|
|
24
|
+
import {
|
|
25
|
+
ScreenerQuestionPublicFromJSON,
|
|
26
|
+
ScreenerQuestionPublicFromJSONTyped,
|
|
27
|
+
ScreenerQuestionPublicToJSON,
|
|
28
|
+
ScreenerQuestionPublicToJSONTyped,
|
|
29
|
+
} from './ScreenerQuestionPublic';
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
@@ -42,10 +42,10 @@ export interface JoinCodeInvite302ResponseSettings {
|
|
|
42
42
|
maxDurationSeconds: number;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
|
-
* @type {Array<
|
|
45
|
+
* @type {Array<ScreenerQuestionPublic>}
|
|
46
46
|
* @memberof JoinCodeInvite302ResponseSettings
|
|
47
47
|
*/
|
|
48
|
-
screenerQuestions?: Array<
|
|
48
|
+
screenerQuestions?: Array<ScreenerQuestionPublic>;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {Array<ProjectFilePublic>}
|
|
@@ -73,7 +73,7 @@ export function JoinCodeInvite302ResponseSettingsFromJSONTyped(json: any, ignore
|
|
|
73
73
|
return {
|
|
74
74
|
|
|
75
75
|
'maxDurationSeconds': json['maxDurationSeconds'],
|
|
76
|
-
'screenerQuestions': json['screenerQuestions'] == null ? undefined : ((json['screenerQuestions'] as Array<any>).map(
|
|
76
|
+
'screenerQuestions': json['screenerQuestions'] == null ? undefined : ((json['screenerQuestions'] as Array<any>).map(ScreenerQuestionPublicFromJSON)),
|
|
77
77
|
'files': json['files'] == null ? undefined : ((json['files'] as Array<any>).map(ProjectFilePublicFromJSON)),
|
|
78
78
|
};
|
|
79
79
|
}
|
|
@@ -90,7 +90,7 @@ export function JoinCodeInvite302ResponseSettingsToJSONTyped(value?: JoinCodeInv
|
|
|
90
90
|
return {
|
|
91
91
|
|
|
92
92
|
'maxDurationSeconds': value['maxDurationSeconds'],
|
|
93
|
-
'screenerQuestions': value['screenerQuestions'] == null ? undefined : ((value['screenerQuestions'] as Array<any>).map(
|
|
93
|
+
'screenerQuestions': value['screenerQuestions'] == null ? undefined : ((value['screenerQuestions'] as Array<any>).map(ScreenerQuestionPublicToJSON)),
|
|
94
94
|
'files': value['files'] == null ? undefined : ((value['files'] as Array<any>).map(ProjectFilePublicToJSON)),
|
|
95
95
|
};
|
|
96
96
|
}
|
|
@@ -27,13 +27,6 @@ import {
|
|
|
27
27
|
UpdateCodeInviteResponse404ResponseToJSON,
|
|
28
28
|
UpdateCodeInviteResponse404ResponseToJSONTyped,
|
|
29
29
|
} from './UpdateCodeInviteResponse404Response';
|
|
30
|
-
import type { Login400ResponseAnyOfError } from './Login400ResponseAnyOfError';
|
|
31
|
-
import {
|
|
32
|
-
Login400ResponseAnyOfErrorFromJSON,
|
|
33
|
-
Login400ResponseAnyOfErrorFromJSONTyped,
|
|
34
|
-
Login400ResponseAnyOfErrorToJSON,
|
|
35
|
-
Login400ResponseAnyOfErrorToJSONTyped,
|
|
36
|
-
} from './Login400ResponseAnyOfError';
|
|
37
30
|
|
|
38
31
|
/**
|
|
39
32
|
*
|
|
@@ -43,10 +36,10 @@ import {
|
|
|
43
36
|
export interface Login400Response {
|
|
44
37
|
/**
|
|
45
38
|
*
|
|
46
|
-
* @type {
|
|
39
|
+
* @type {string}
|
|
47
40
|
* @memberof Login400Response
|
|
48
41
|
*/
|
|
49
|
-
error:
|
|
42
|
+
error: Login400ResponseErrorEnum;
|
|
50
43
|
/**
|
|
51
44
|
*
|
|
52
45
|
* @type {string}
|
|
@@ -61,6 +54,25 @@ export interface Login400Response {
|
|
|
61
54
|
email?: string;
|
|
62
55
|
}
|
|
63
56
|
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @export
|
|
60
|
+
*/
|
|
61
|
+
export const Login400ResponseErrorEnum = {
|
|
62
|
+
EmailNotVerified: 'EMAIL_NOT_VERIFIED',
|
|
63
|
+
_2FaRequired: '2FA_REQUIRED',
|
|
64
|
+
EmailAlreadyExists: 'EMAIL_ALREADY_EXISTS',
|
|
65
|
+
InvalidVerificationToken: 'INVALID_VERIFICATION_TOKEN',
|
|
66
|
+
InvalidMagicLink: 'INVALID_MAGIC_LINK',
|
|
67
|
+
BlacklistedDomain: 'BLACKLISTED_DOMAIN',
|
|
68
|
+
MagicLinkDisabled: 'MAGIC_LINK_DISABLED',
|
|
69
|
+
InvalidCredentials: 'INVALID_CREDENTIALS',
|
|
70
|
+
AccountNotActive: 'ACCOUNT_NOT_ACTIVE',
|
|
71
|
+
EmailAlreadyVerified: 'EMAIL_ALREADY_VERIFIED'
|
|
72
|
+
} as const;
|
|
73
|
+
export type Login400ResponseErrorEnum = typeof Login400ResponseErrorEnum[keyof typeof Login400ResponseErrorEnum];
|
|
74
|
+
|
|
75
|
+
|
|
64
76
|
/**
|
|
65
77
|
* Check if a given object implements the Login400Response interface.
|
|
66
78
|
*/
|
|
@@ -80,7 +92,7 @@ export function Login400ResponseFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
80
92
|
}
|
|
81
93
|
return {
|
|
82
94
|
|
|
83
|
-
'error':
|
|
95
|
+
'error': json['error'],
|
|
84
96
|
'message': json['message'],
|
|
85
97
|
'email': json['email'] == null ? undefined : json['email'],
|
|
86
98
|
};
|
|
@@ -97,7 +109,7 @@ export function Login400ResponseToJSONTyped(value?: Login400Response | null, ign
|
|
|
97
109
|
|
|
98
110
|
return {
|
|
99
111
|
|
|
100
|
-
'error':
|
|
112
|
+
'error': value['error'],
|
|
101
113
|
'message': value['message'],
|
|
102
114
|
'email': value['email'],
|
|
103
115
|
};
|
|
@@ -13,14 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { Login400ResponseAnyOfError } from './Login400ResponseAnyOfError';
|
|
17
|
-
import {
|
|
18
|
-
Login400ResponseAnyOfErrorFromJSON,
|
|
19
|
-
Login400ResponseAnyOfErrorFromJSONTyped,
|
|
20
|
-
Login400ResponseAnyOfErrorToJSON,
|
|
21
|
-
Login400ResponseAnyOfErrorToJSONTyped,
|
|
22
|
-
} from './Login400ResponseAnyOfError';
|
|
23
|
-
|
|
24
16
|
/**
|
|
25
17
|
*
|
|
26
18
|
* @export
|
|
@@ -29,10 +21,10 @@ import {
|
|
|
29
21
|
export interface Login400ResponseAnyOf {
|
|
30
22
|
/**
|
|
31
23
|
*
|
|
32
|
-
* @type {
|
|
24
|
+
* @type {string}
|
|
33
25
|
* @memberof Login400ResponseAnyOf
|
|
34
26
|
*/
|
|
35
|
-
error:
|
|
27
|
+
error: Login400ResponseAnyOfErrorEnum;
|
|
36
28
|
/**
|
|
37
29
|
*
|
|
38
30
|
* @type {string}
|
|
@@ -47,6 +39,25 @@ export interface Login400ResponseAnyOf {
|
|
|
47
39
|
email?: string;
|
|
48
40
|
}
|
|
49
41
|
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export const Login400ResponseAnyOfErrorEnum = {
|
|
47
|
+
EmailNotVerified: 'EMAIL_NOT_VERIFIED',
|
|
48
|
+
_2FaRequired: '2FA_REQUIRED',
|
|
49
|
+
EmailAlreadyExists: 'EMAIL_ALREADY_EXISTS',
|
|
50
|
+
InvalidVerificationToken: 'INVALID_VERIFICATION_TOKEN',
|
|
51
|
+
InvalidMagicLink: 'INVALID_MAGIC_LINK',
|
|
52
|
+
BlacklistedDomain: 'BLACKLISTED_DOMAIN',
|
|
53
|
+
MagicLinkDisabled: 'MAGIC_LINK_DISABLED',
|
|
54
|
+
InvalidCredentials: 'INVALID_CREDENTIALS',
|
|
55
|
+
AccountNotActive: 'ACCOUNT_NOT_ACTIVE',
|
|
56
|
+
EmailAlreadyVerified: 'EMAIL_ALREADY_VERIFIED'
|
|
57
|
+
} as const;
|
|
58
|
+
export type Login400ResponseAnyOfErrorEnum = typeof Login400ResponseAnyOfErrorEnum[keyof typeof Login400ResponseAnyOfErrorEnum];
|
|
59
|
+
|
|
60
|
+
|
|
50
61
|
/**
|
|
51
62
|
* Check if a given object implements the Login400ResponseAnyOf interface.
|
|
52
63
|
*/
|
|
@@ -66,7 +77,7 @@ export function Login400ResponseAnyOfFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
66
77
|
}
|
|
67
78
|
return {
|
|
68
79
|
|
|
69
|
-
'error':
|
|
80
|
+
'error': json['error'],
|
|
70
81
|
'message': json['message'],
|
|
71
82
|
'email': json['email'] == null ? undefined : json['email'],
|
|
72
83
|
};
|
|
@@ -83,7 +94,7 @@ export function Login400ResponseAnyOfToJSONTyped(value?: Login400ResponseAnyOf |
|
|
|
83
94
|
|
|
84
95
|
return {
|
|
85
96
|
|
|
86
|
-
'error':
|
|
97
|
+
'error': value['error'],
|
|
87
98
|
'message': value['message'],
|
|
88
99
|
'email': value['email'],
|
|
89
100
|
};
|
|
@@ -13,14 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { OpenAiModelConfigModel } from './OpenAiModelConfigModel';
|
|
17
|
-
import {
|
|
18
|
-
OpenAiModelConfigModelFromJSON,
|
|
19
|
-
OpenAiModelConfigModelFromJSONTyped,
|
|
20
|
-
OpenAiModelConfigModelToJSON,
|
|
21
|
-
OpenAiModelConfigModelToJSONTyped,
|
|
22
|
-
} from './OpenAiModelConfigModel';
|
|
23
|
-
|
|
24
16
|
/**
|
|
25
17
|
*
|
|
26
18
|
* @export
|
|
@@ -35,10 +27,10 @@ export interface OpenAiModelConfig {
|
|
|
35
27
|
provider: OpenAiModelConfigProviderEnum;
|
|
36
28
|
/**
|
|
37
29
|
*
|
|
38
|
-
* @type {
|
|
30
|
+
* @type {string}
|
|
39
31
|
* @memberof OpenAiModelConfig
|
|
40
32
|
*/
|
|
41
|
-
model:
|
|
33
|
+
model: OpenAiModelConfigModelEnum;
|
|
42
34
|
}
|
|
43
35
|
|
|
44
36
|
|
|
@@ -50,6 +42,15 @@ export const OpenAiModelConfigProviderEnum = {
|
|
|
50
42
|
} as const;
|
|
51
43
|
export type OpenAiModelConfigProviderEnum = typeof OpenAiModelConfigProviderEnum[keyof typeof OpenAiModelConfigProviderEnum];
|
|
52
44
|
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export const OpenAiModelConfigModelEnum = {
|
|
49
|
+
Gpt41: 'gpt-4.1',
|
|
50
|
+
Gpt5: 'gpt-5'
|
|
51
|
+
} as const;
|
|
52
|
+
export type OpenAiModelConfigModelEnum = typeof OpenAiModelConfigModelEnum[keyof typeof OpenAiModelConfigModelEnum];
|
|
53
|
+
|
|
53
54
|
|
|
54
55
|
/**
|
|
55
56
|
* Check if a given object implements the OpenAiModelConfig interface.
|
|
@@ -71,7 +72,7 @@ export function OpenAiModelConfigFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
71
72
|
return {
|
|
72
73
|
|
|
73
74
|
'provider': json['provider'],
|
|
74
|
-
'model':
|
|
75
|
+
'model': json['model'],
|
|
75
76
|
};
|
|
76
77
|
}
|
|
77
78
|
|
|
@@ -87,7 +88,7 @@ export function OpenAiModelConfigToJSONTyped(value?: OpenAiModelConfig | null, i
|
|
|
87
88
|
return {
|
|
88
89
|
|
|
89
90
|
'provider': value['provider'],
|
|
90
|
-
'model':
|
|
91
|
+
'model': value['model'],
|
|
91
92
|
};
|
|
92
93
|
}
|
|
93
94
|
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const OptionKind = {
|
|
21
|
+
Neutral: 'neutral',
|
|
22
|
+
ScreenOutIfSelected: 'screenOutIfSelected',
|
|
23
|
+
PassingOption: 'passingOption'
|
|
24
|
+
} as const;
|
|
25
|
+
export type OptionKind = typeof OptionKind[keyof typeof OptionKind];
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export function instanceOfOptionKind(value: any): boolean {
|
|
29
|
+
for (const key in OptionKind) {
|
|
30
|
+
if (Object.prototype.hasOwnProperty.call(OptionKind, key)) {
|
|
31
|
+
if (OptionKind[key as keyof typeof OptionKind] === value) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function OptionKindFromJSON(json: any): OptionKind {
|
|
40
|
+
return OptionKindFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function OptionKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): OptionKind {
|
|
44
|
+
return json as OptionKind;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function OptionKindToJSON(value?: OptionKind | null): any {
|
|
48
|
+
return value as any;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function OptionKindToJSONTyped(value: any, ignoreDiscriminator: boolean): OptionKind {
|
|
52
|
+
return value as OptionKind;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -13,13 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ScreenerQuestionChooseOne } from './ScreenerQuestionChooseOne';
|
|
17
|
-
import {
|
|
18
|
-
ScreenerQuestionChooseOneFromJSON,
|
|
19
|
-
ScreenerQuestionChooseOneFromJSONTyped,
|
|
20
|
-
ScreenerQuestionChooseOneToJSON,
|
|
21
|
-
ScreenerQuestionChooseOneToJSONTyped,
|
|
22
|
-
} from './ScreenerQuestionChooseOne';
|
|
23
16
|
import type { ProjectBrief } from './ProjectBrief';
|
|
24
17
|
import {
|
|
25
18
|
ProjectBriefFromJSON,
|
|
@@ -34,6 +27,13 @@ import {
|
|
|
34
27
|
ProjectAudienceToJSON,
|
|
35
28
|
ProjectAudienceToJSONTyped,
|
|
36
29
|
} from './ProjectAudience';
|
|
30
|
+
import type { ScreenerQuestion } from './ScreenerQuestion';
|
|
31
|
+
import {
|
|
32
|
+
ScreenerQuestionFromJSON,
|
|
33
|
+
ScreenerQuestionFromJSONTyped,
|
|
34
|
+
ScreenerQuestionToJSON,
|
|
35
|
+
ScreenerQuestionToJSONTyped,
|
|
36
|
+
} from './ScreenerQuestion';
|
|
37
37
|
import type { ProjectKind } from './ProjectKind';
|
|
38
38
|
import {
|
|
39
39
|
ProjectKindFromJSON,
|
|
@@ -80,10 +80,10 @@ export interface ProjectConfig {
|
|
|
80
80
|
briefDocument?: string;
|
|
81
81
|
/**
|
|
82
82
|
*
|
|
83
|
-
* @type {Array<
|
|
83
|
+
* @type {Array<ScreenerQuestion>}
|
|
84
84
|
* @memberof ProjectConfig
|
|
85
85
|
*/
|
|
86
|
-
screenerQuestions?: Array<
|
|
86
|
+
screenerQuestions?: Array<ScreenerQuestion>;
|
|
87
87
|
/**
|
|
88
88
|
*
|
|
89
89
|
* @type {ProjectAudience}
|
|
@@ -118,7 +118,7 @@ export function ProjectConfigFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
118
118
|
'learningPlan': json['learningPlan'],
|
|
119
119
|
'brief': json['brief'] == null ? undefined : ProjectBriefFromJSON(json['brief']),
|
|
120
120
|
'briefDocument': json['briefDocument'] == null ? undefined : json['briefDocument'],
|
|
121
|
-
'screenerQuestions': json['screenerQuestions'] == null ? undefined : ((json['screenerQuestions'] as Array<any>).map(
|
|
121
|
+
'screenerQuestions': json['screenerQuestions'] == null ? undefined : ((json['screenerQuestions'] as Array<any>).map(ScreenerQuestionFromJSON)),
|
|
122
122
|
'audienceSettings': json['audienceSettings'] == null ? undefined : ProjectAudienceFromJSON(json['audienceSettings']),
|
|
123
123
|
};
|
|
124
124
|
}
|
|
@@ -139,7 +139,7 @@ export function ProjectConfigToJSONTyped(value?: ProjectConfig | null, ignoreDis
|
|
|
139
139
|
'learningPlan': value['learningPlan'],
|
|
140
140
|
'brief': ProjectBriefToJSON(value['brief']),
|
|
141
141
|
'briefDocument': value['briefDocument'],
|
|
142
|
-
'screenerQuestions': value['screenerQuestions'] == null ? undefined : ((value['screenerQuestions'] as Array<any>).map(
|
|
142
|
+
'screenerQuestions': value['screenerQuestions'] == null ? undefined : ((value['screenerQuestions'] as Array<any>).map(ScreenerQuestionToJSON)),
|
|
143
143
|
'audienceSettings': ProjectAudienceToJSON(value['audienceSettings']),
|
|
144
144
|
};
|
|
145
145
|
}
|