keplar-api 0.0.9 → 0.0.10
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 +24 -22
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +236 -249
- package/dist/apis/DefaultApi.js +878 -803
- package/dist/models/ApiInvitesIdParticipantInvitesGet200Response.d.ts +51 -0
- package/dist/models/ApiInvitesIdParticipantInvitesGet200Response.js +64 -0
- package/dist/models/ApiInvitesIdResponsesGet200Response.d.ts +3 -3
- package/dist/models/ApiInvitesIdResponsesGet200Response.js +3 -3
- package/dist/models/CallSummary.d.ts +46 -0
- package/dist/models/CallSummary.js +61 -0
- package/dist/models/CodeInvite.d.ts +10 -3
- package/dist/models/CodeInvite.js +8 -3
- package/dist/models/CodeInviteConfig.d.ts +30 -0
- package/dist/models/CodeInviteConfig.js +59 -0
- package/dist/models/CodeInviteConfigContacts.d.ts +75 -0
- package/dist/models/CodeInviteConfigContacts.js +72 -0
- package/dist/models/CodeInviteConfigKeplarPanel.d.ts +82 -0
- package/dist/models/CodeInviteConfigKeplarPanel.js +77 -0
- package/dist/models/CreateCodeInviteResponseRequest.d.ts +40 -0
- package/dist/models/CreateCodeInviteResponseRequest.js +53 -0
- package/dist/models/GetCodeInvite200Response.d.ts +83 -0
- package/dist/models/{ApiInviteCodeCodeGet200Response.js → GetCodeInvite200Response.js} +21 -16
- package/dist/models/GetCodeInviteResponseRedirect200Response.d.ts +32 -0
- package/dist/models/GetCodeInviteResponseRedirect200Response.js +51 -0
- package/dist/models/InviteConfig.d.ts +12 -70
- package/dist/models/InviteConfig.js +23 -37
- package/dist/models/InviteConfigContacts.d.ts +75 -0
- package/dist/models/InviteConfigContacts.js +72 -0
- package/dist/models/InviteConfigKeplarPanel.d.ts +95 -0
- package/dist/models/InviteConfigKeplarPanel.js +82 -0
- package/dist/models/InviteConfigPublic.d.ts +81 -0
- package/dist/models/InviteConfigPublic.js +74 -0
- package/dist/models/InviteResponseData.d.ts +3 -3
- package/dist/models/InviteResponseData.js +3 -3
- package/dist/models/InviteResponseWithCallSummary.d.ts +118 -0
- package/dist/models/InviteResponseWithCallSummary.js +97 -0
- package/dist/models/JoinCodeInvite302Response.d.ts +83 -0
- package/dist/models/{ApiInviteCodeCodeStartGet302Response.js → JoinCodeInvite302Response.js} +21 -16
- package/dist/models/JoinCodeInvite302ResponseSettings.d.ts +46 -0
- package/dist/models/JoinCodeInvite302ResponseSettings.js +57 -0
- package/dist/models/PanelQualification.d.ts +38 -0
- package/dist/models/{ProjectPanelQualification.js → PanelQualification.js} +13 -13
- package/dist/models/PanelRespondentAttribute.d.ts +45 -0
- package/dist/models/PanelRespondentAttribute.js +60 -0
- package/dist/models/PanelSettings.d.ts +63 -0
- package/dist/models/{ProjectPanelSettings.js → PanelSettings.js} +16 -16
- package/dist/models/ProjectAudience.d.ts +3 -3
- package/dist/models/ProjectAudience.js +3 -3
- package/dist/models/ProjectConfig.d.ts +3 -3
- package/dist/models/ProjectConfig.js +3 -3
- package/dist/models/ResponseSubmitScreenerEvent.d.ts +3 -3
- package/dist/models/ResponseSubmitScreenerEvent.js +3 -3
- package/dist/models/ScreenerQuestionChooseOne.d.ts +57 -0
- package/dist/models/{ProjectScreenerQuestionChooseOne.js → ScreenerQuestionChooseOne.js} +15 -15
- package/dist/models/ScreenerQuestionChooseOnePublic.d.ts +51 -0
- package/dist/models/ScreenerQuestionChooseOnePublic.js +66 -0
- package/dist/models/ScreenerQuestionResponse.d.ts +44 -0
- package/dist/models/{ProjectScreenerQuestionResponse.js → ScreenerQuestionResponse.js} +13 -13
- package/dist/models/StartPhoneCallForCodeInviteResponseRequest.d.ts +32 -0
- package/dist/models/StartPhoneCallForCodeInviteResponseRequest.js +51 -0
- package/dist/models/UpdateCallForCodeInviteResponseRequest.d.ts +39 -0
- package/dist/models/UpdateCallForCodeInviteResponseRequest.js +56 -0
- package/dist/models/UpdateCallForCodeInviteResponseRequestCall.d.ts +39 -0
- package/dist/models/UpdateCallForCodeInviteResponseRequestCall.js +56 -0
- package/dist/models/UpdateCodeInviteResponse404Response.d.ts +32 -0
- package/dist/models/UpdateCodeInviteResponse404Response.js +51 -0
- package/dist/models/index.d.ts +24 -22
- package/dist/models/index.js +24 -22
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +1094 -1026
- package/src/models/ApiInvitesIdParticipantInvitesGet200Response.ts +101 -0
- package/src/models/ApiInvitesIdResponsesGet200Response.ts +10 -10
- package/src/models/CallSummary.ts +101 -0
- package/src/models/CodeInvite.ts +27 -11
- package/src/models/CodeInviteConfig.ts +83 -0
- package/src/models/CodeInviteConfigContacts.ts +125 -0
- package/src/models/CodeInviteConfigKeplarPanel.ts +142 -0
- package/src/models/CreateCodeInviteResponseRequest.ts +90 -0
- package/src/models/{ApiInviteCodeCodeGet200Response.ts → GetCodeInvite200Response.ts} +45 -29
- package/src/models/GetCodeInviteResponseRedirect200Response.ts +66 -0
- package/src/models/InviteConfig.ts +42 -113
- package/src/models/InviteConfigContacts.ts +125 -0
- package/src/models/InviteConfigKeplarPanel.ts +165 -0
- package/src/models/InviteConfigPublic.ts +133 -0
- package/src/models/InviteResponseData.ts +10 -10
- package/src/models/InviteResponseWithCallSummary.ts +235 -0
- package/src/models/{ApiInviteCodeCodeStartGet302Response.ts → JoinCodeInvite302Response.ts} +45 -29
- package/src/models/JoinCodeInvite302ResponseSettings.ts +97 -0
- package/src/models/{ProjectPanelQualification.ts → PanelQualification.ts} +12 -12
- package/src/models/PanelRespondentAttribute.ts +92 -0
- package/src/models/{ProjectPanelSettings.ts → PanelSettings.ts} +26 -26
- package/src/models/ProjectAudience.ts +10 -10
- package/src/models/ProjectConfig.ts +11 -11
- package/src/models/ResponseSubmitScreenerEvent.ts +10 -10
- package/src/models/{ProjectScreenerQuestionChooseOne.ts → ScreenerQuestionChooseOne.ts} +17 -17
- package/src/models/ScreenerQuestionChooseOnePublic.ts +94 -0
- package/src/models/{ProjectScreenerQuestionResponse.ts → ScreenerQuestionResponse.ts} +13 -13
- package/src/models/StartPhoneCallForCodeInviteResponseRequest.ts +66 -0
- package/src/models/UpdateCallForCodeInviteResponseRequest.ts +83 -0
- package/src/models/UpdateCallForCodeInviteResponseRequestCall.ts +85 -0
- package/src/models/UpdateCodeInviteResponse404Response.ts +66 -0
- package/src/models/index.ts +24 -22
- package/dist/models/ApiInviteCodeCodeGet200Response.d.ts +0 -76
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.d.ts +0 -32
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.js +0 -51
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.d.ts +0 -32
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.js +0 -51
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.d.ts +0 -32
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.js +0 -51
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.d.ts +0 -39
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.js +0 -56
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.d.ts +0 -39
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.js +0 -56
- package/dist/models/ApiInviteCodeCodeStartGet302Response.d.ts +0 -76
- package/dist/models/ApiInviteCodeCodeStartGet302ResponseSettings.d.ts +0 -64
- package/dist/models/ApiInviteCodeCodeStartGet302ResponseSettings.js +0 -63
- package/dist/models/GetParticipantInvitesResponse.d.ts +0 -39
- package/dist/models/GetParticipantInvitesResponse.js +0 -56
- package/dist/models/ProjectPanelQualification.d.ts +0 -38
- package/dist/models/ProjectPanelRespondentAttribute.d.ts +0 -45
- package/dist/models/ProjectPanelRespondentAttribute.js +0 -60
- package/dist/models/ProjectPanelSettings.d.ts +0 -63
- package/dist/models/ProjectScreenerQuestionChooseOne.d.ts +0 -57
- package/dist/models/ProjectScreenerQuestionChooseOnePublic.d.ts +0 -51
- package/dist/models/ProjectScreenerQuestionChooseOnePublic.js +0 -66
- package/dist/models/ProjectScreenerQuestionResponse.d.ts +0 -44
- package/dist/models/RepDataConfigLegacy.d.ts +0 -59
- package/dist/models/RepDataConfigLegacy.js +0 -62
- package/dist/models/RepDataProjectLegacy.d.ts +0 -32
- package/dist/models/RepDataProjectLegacy.js +0 -51
- package/dist/models/RepDataStudyLegacy.d.ts +0 -93
- package/dist/models/RepDataStudyLegacy.js +0 -92
- package/dist/models/RepDataStudyLegacyQualificationsInner.d.ts +0 -38
- package/dist/models/RepDataStudyLegacyQualificationsInner.js +0 -55
- package/dist/models/RepDataSurveyLegacy.d.ts +0 -46
- package/dist/models/RepDataSurveyLegacy.js +0 -59
- package/dist/models/RepDataSurveyLegacyProject.d.ts +0 -32
- package/dist/models/RepDataSurveyLegacyProject.js +0 -51
- package/dist/models/RepDataSurveyStatusLegacy.d.ts +0 -26
- package/dist/models/RepDataSurveyStatusLegacy.js +0 -52
- package/src/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.ts +0 -66
- package/src/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.ts +0 -66
- package/src/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.ts +0 -66
- package/src/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.ts +0 -83
- package/src/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.ts +0 -85
- package/src/models/ApiInviteCodeCodeStartGet302ResponseSettings.ts +0 -121
- package/src/models/GetParticipantInvitesResponse.ts +0 -83
- package/src/models/ProjectPanelRespondentAttribute.ts +0 -92
- package/src/models/ProjectScreenerQuestionChooseOnePublic.ts +0 -94
- package/src/models/RepDataConfigLegacy.ts +0 -120
- package/src/models/RepDataProjectLegacy.ts +0 -66
- package/src/models/RepDataStudyLegacy.ts +0 -164
- package/src/models/RepDataStudyLegacyQualificationsInner.ts +0 -75
- package/src/models/RepDataSurveyLegacy.ts +0 -100
- package/src/models/RepDataSurveyLegacyProject.ts +0 -66
- package/src/models/RepDataSurveyStatusLegacy.ts +0 -54
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { ScreenerQuestionResponse } from './ScreenerQuestionResponse';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
ScreenerQuestionResponseFromJSON,
|
|
19
|
+
ScreenerQuestionResponseFromJSONTyped,
|
|
20
|
+
ScreenerQuestionResponseToJSON,
|
|
21
|
+
ScreenerQuestionResponseToJSONTyped,
|
|
22
|
+
} from './ScreenerQuestionResponse';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -35,10 +35,10 @@ export interface ResponseSubmitScreenerEvent {
|
|
|
35
35
|
type: ResponseSubmitScreenerEventTypeEnum;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {Array<
|
|
38
|
+
* @type {Array<ScreenerQuestionResponse>}
|
|
39
39
|
* @memberof ResponseSubmitScreenerEvent
|
|
40
40
|
*/
|
|
41
|
-
screenerQuestionsResponses: Array<
|
|
41
|
+
screenerQuestionsResponses: Array<ScreenerQuestionResponse>;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
|
|
@@ -71,7 +71,7 @@ export function ResponseSubmitScreenerEventFromJSONTyped(json: any, ignoreDiscri
|
|
|
71
71
|
return {
|
|
72
72
|
|
|
73
73
|
'type': json['type'],
|
|
74
|
-
'screenerQuestionsResponses': ((json['screenerQuestionsResponses'] as Array<any>).map(
|
|
74
|
+
'screenerQuestionsResponses': ((json['screenerQuestionsResponses'] as Array<any>).map(ScreenerQuestionResponseFromJSON)),
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
77
|
|
|
@@ -87,7 +87,7 @@ export function ResponseSubmitScreenerEventToJSONTyped(value?: ResponseSubmitScr
|
|
|
87
87
|
return {
|
|
88
88
|
|
|
89
89
|
'type': value['type'],
|
|
90
|
-
'screenerQuestionsResponses': ((value['screenerQuestionsResponses'] as Array<any>).map(
|
|
90
|
+
'screenerQuestionsResponses': ((value['screenerQuestionsResponses'] as Array<any>).map(ScreenerQuestionResponseToJSON)),
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -16,31 +16,31 @@ import { mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface ScreenerQuestionChooseOne
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface ScreenerQuestionChooseOne {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof ScreenerQuestionChooseOne
|
|
26
26
|
*/
|
|
27
|
-
type:
|
|
27
|
+
type: ScreenerQuestionChooseOneTypeEnum;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof ScreenerQuestionChooseOne
|
|
32
32
|
*/
|
|
33
33
|
question: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {Array<string>}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof ScreenerQuestionChooseOne
|
|
38
38
|
*/
|
|
39
39
|
options: Array<string>;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {Array<string>}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof ScreenerQuestionChooseOne
|
|
44
44
|
*/
|
|
45
45
|
passingOptions: Array<string>;
|
|
46
46
|
}
|
|
@@ -49,16 +49,16 @@ export interface ProjectScreenerQuestionChooseOne {
|
|
|
49
49
|
/**
|
|
50
50
|
* @export
|
|
51
51
|
*/
|
|
52
|
-
export const
|
|
52
|
+
export const ScreenerQuestionChooseOneTypeEnum = {
|
|
53
53
|
ChooseOne: 'chooseOne'
|
|
54
54
|
} as const;
|
|
55
|
-
export type
|
|
55
|
+
export type ScreenerQuestionChooseOneTypeEnum = typeof ScreenerQuestionChooseOneTypeEnum[keyof typeof ScreenerQuestionChooseOneTypeEnum];
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
* Check if a given object implements the
|
|
59
|
+
* Check if a given object implements the ScreenerQuestionChooseOne interface.
|
|
60
60
|
*/
|
|
61
|
-
export function
|
|
61
|
+
export function instanceOfScreenerQuestionChooseOne(value: object): value is ScreenerQuestionChooseOne {
|
|
62
62
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
63
63
|
if (!('question' in value) || value['question'] === undefined) return false;
|
|
64
64
|
if (!('options' in value) || value['options'] === undefined) return false;
|
|
@@ -66,11 +66,11 @@ export function instanceOfProjectScreenerQuestionChooseOne(value: object): value
|
|
|
66
66
|
return true;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export function
|
|
70
|
-
return
|
|
69
|
+
export function ScreenerQuestionChooseOneFromJSON(json: any): ScreenerQuestionChooseOne {
|
|
70
|
+
return ScreenerQuestionChooseOneFromJSONTyped(json, false);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export function
|
|
73
|
+
export function ScreenerQuestionChooseOneFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseOne {
|
|
74
74
|
if (json == null) {
|
|
75
75
|
return json;
|
|
76
76
|
}
|
|
@@ -83,11 +83,11 @@ export function ProjectScreenerQuestionChooseOneFromJSONTyped(json: any, ignoreD
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
export function
|
|
87
|
-
return
|
|
86
|
+
export function ScreenerQuestionChooseOneToJSON(json: any): ScreenerQuestionChooseOne {
|
|
87
|
+
return ScreenerQuestionChooseOneToJSONTyped(json, false);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export function
|
|
90
|
+
export function ScreenerQuestionChooseOneToJSONTyped(value?: ScreenerQuestionChooseOne | null, ignoreDiscriminator: boolean = false): any {
|
|
91
91
|
if (value == null) {
|
|
92
92
|
return value;
|
|
93
93
|
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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 ScreenerQuestionChooseOnePublic
|
|
20
|
+
*/
|
|
21
|
+
export interface ScreenerQuestionChooseOnePublic {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ScreenerQuestionChooseOnePublic
|
|
26
|
+
*/
|
|
27
|
+
type: ScreenerQuestionChooseOnePublicTypeEnum;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ScreenerQuestionChooseOnePublic
|
|
32
|
+
*/
|
|
33
|
+
question: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Array<string>}
|
|
37
|
+
* @memberof ScreenerQuestionChooseOnePublic
|
|
38
|
+
*/
|
|
39
|
+
options: Array<string>;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export const ScreenerQuestionChooseOnePublicTypeEnum = {
|
|
47
|
+
ChooseOne: 'chooseOne'
|
|
48
|
+
} as const;
|
|
49
|
+
export type ScreenerQuestionChooseOnePublicTypeEnum = typeof ScreenerQuestionChooseOnePublicTypeEnum[keyof typeof ScreenerQuestionChooseOnePublicTypeEnum];
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the ScreenerQuestionChooseOnePublic interface.
|
|
54
|
+
*/
|
|
55
|
+
export function instanceOfScreenerQuestionChooseOnePublic(value: object): value is ScreenerQuestionChooseOnePublic {
|
|
56
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
57
|
+
if (!('question' in value) || value['question'] === undefined) return false;
|
|
58
|
+
if (!('options' in value) || value['options'] === undefined) return false;
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function ScreenerQuestionChooseOnePublicFromJSON(json: any): ScreenerQuestionChooseOnePublic {
|
|
63
|
+
return ScreenerQuestionChooseOnePublicFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function ScreenerQuestionChooseOnePublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseOnePublic {
|
|
67
|
+
if (json == null) {
|
|
68
|
+
return json;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
|
|
72
|
+
'type': json['type'],
|
|
73
|
+
'question': json['question'],
|
|
74
|
+
'options': json['options'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function ScreenerQuestionChooseOnePublicToJSON(json: any): ScreenerQuestionChooseOnePublic {
|
|
79
|
+
return ScreenerQuestionChooseOnePublicToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function ScreenerQuestionChooseOnePublicToJSONTyped(value?: ScreenerQuestionChooseOnePublic | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'type': value['type'],
|
|
90
|
+
'question': value['question'],
|
|
91
|
+
'options': value['options'],
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
@@ -16,44 +16,44 @@ import { mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface ScreenerQuestionResponse
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface ScreenerQuestionResponse {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof ScreenerQuestionResponse
|
|
26
26
|
*/
|
|
27
27
|
question: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof ScreenerQuestionResponse
|
|
32
32
|
*/
|
|
33
33
|
response: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {boolean}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof ScreenerQuestionResponse
|
|
38
38
|
*/
|
|
39
39
|
passing: boolean;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Check if a given object implements the
|
|
43
|
+
* Check if a given object implements the ScreenerQuestionResponse interface.
|
|
44
44
|
*/
|
|
45
|
-
export function
|
|
45
|
+
export function instanceOfScreenerQuestionResponse(value: object): value is ScreenerQuestionResponse {
|
|
46
46
|
if (!('question' in value) || value['question'] === undefined) return false;
|
|
47
47
|
if (!('response' in value) || value['response'] === undefined) return false;
|
|
48
48
|
if (!('passing' in value) || value['passing'] === undefined) return false;
|
|
49
49
|
return true;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export function
|
|
53
|
-
return
|
|
52
|
+
export function ScreenerQuestionResponseFromJSON(json: any): ScreenerQuestionResponse {
|
|
53
|
+
return ScreenerQuestionResponseFromJSONTyped(json, false);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
export function
|
|
56
|
+
export function ScreenerQuestionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionResponse {
|
|
57
57
|
if (json == null) {
|
|
58
58
|
return json;
|
|
59
59
|
}
|
|
@@ -65,11 +65,11 @@ export function ProjectScreenerQuestionResponseFromJSONTyped(json: any, ignoreDi
|
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
export function
|
|
69
|
-
return
|
|
68
|
+
export function ScreenerQuestionResponseToJSON(json: any): ScreenerQuestionResponse {
|
|
69
|
+
return ScreenerQuestionResponseToJSONTyped(json, false);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
export function
|
|
72
|
+
export function ScreenerQuestionResponseToJSONTyped(value?: ScreenerQuestionResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
73
73
|
if (value == null) {
|
|
74
74
|
return value;
|
|
75
75
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 StartPhoneCallForCodeInviteResponseRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface StartPhoneCallForCodeInviteResponseRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof StartPhoneCallForCodeInviteResponseRequest
|
|
26
|
+
*/
|
|
27
|
+
phoneNumber: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the StartPhoneCallForCodeInviteResponseRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfStartPhoneCallForCodeInviteResponseRequest(value: object): value is StartPhoneCallForCodeInviteResponseRequest {
|
|
34
|
+
if (!('phoneNumber' in value) || value['phoneNumber'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function StartPhoneCallForCodeInviteResponseRequestFromJSON(json: any): StartPhoneCallForCodeInviteResponseRequest {
|
|
39
|
+
return StartPhoneCallForCodeInviteResponseRequestFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function StartPhoneCallForCodeInviteResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StartPhoneCallForCodeInviteResponseRequest {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'phoneNumber': json['phoneNumber'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function StartPhoneCallForCodeInviteResponseRequestToJSON(json: any): StartPhoneCallForCodeInviteResponseRequest {
|
|
53
|
+
return StartPhoneCallForCodeInviteResponseRequestToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function StartPhoneCallForCodeInviteResponseRequestToJSONTyped(value?: StartPhoneCallForCodeInviteResponseRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'phoneNumber': value['phoneNumber'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
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 { UpdateCallForCodeInviteResponseRequestCall } from './UpdateCallForCodeInviteResponseRequestCall';
|
|
17
|
+
import {
|
|
18
|
+
UpdateCallForCodeInviteResponseRequestCallFromJSON,
|
|
19
|
+
UpdateCallForCodeInviteResponseRequestCallFromJSONTyped,
|
|
20
|
+
UpdateCallForCodeInviteResponseRequestCallToJSON,
|
|
21
|
+
UpdateCallForCodeInviteResponseRequestCallToJSONTyped,
|
|
22
|
+
} from './UpdateCallForCodeInviteResponseRequestCall';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface UpdateCallForCodeInviteResponseRequest
|
|
28
|
+
*/
|
|
29
|
+
export interface UpdateCallForCodeInviteResponseRequest {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateCallForCodeInviteResponseRequest
|
|
34
|
+
*/
|
|
35
|
+
callId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {UpdateCallForCodeInviteResponseRequestCall}
|
|
39
|
+
* @memberof UpdateCallForCodeInviteResponseRequest
|
|
40
|
+
*/
|
|
41
|
+
call: UpdateCallForCodeInviteResponseRequestCall;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the UpdateCallForCodeInviteResponseRequest interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfUpdateCallForCodeInviteResponseRequest(value: object): value is UpdateCallForCodeInviteResponseRequest {
|
|
48
|
+
if (!('callId' in value) || value['callId'] === undefined) return false;
|
|
49
|
+
if (!('call' in value) || value['call'] === undefined) return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function UpdateCallForCodeInviteResponseRequestFromJSON(json: any): UpdateCallForCodeInviteResponseRequest {
|
|
54
|
+
return UpdateCallForCodeInviteResponseRequestFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function UpdateCallForCodeInviteResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateCallForCodeInviteResponseRequest {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'callId': json['callId'],
|
|
64
|
+
'call': UpdateCallForCodeInviteResponseRequestCallFromJSON(json['call']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function UpdateCallForCodeInviteResponseRequestToJSON(json: any): UpdateCallForCodeInviteResponseRequest {
|
|
69
|
+
return UpdateCallForCodeInviteResponseRequestToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function UpdateCallForCodeInviteResponseRequestToJSONTyped(value?: UpdateCallForCodeInviteResponseRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'callId': value['callId'],
|
|
80
|
+
'call': UpdateCallForCodeInviteResponseRequestCallToJSON(value['call']),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
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 { CallStatus } from './CallStatus';
|
|
17
|
+
import {
|
|
18
|
+
CallStatusFromJSON,
|
|
19
|
+
CallStatusFromJSONTyped,
|
|
20
|
+
CallStatusToJSON,
|
|
21
|
+
CallStatusToJSONTyped,
|
|
22
|
+
} from './CallStatus';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface UpdateCallForCodeInviteResponseRequestCall
|
|
28
|
+
*/
|
|
29
|
+
export interface UpdateCallForCodeInviteResponseRequestCall {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateCallForCodeInviteResponseRequestCall
|
|
34
|
+
*/
|
|
35
|
+
vendorCallId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {CallStatus}
|
|
39
|
+
* @memberof UpdateCallForCodeInviteResponseRequestCall
|
|
40
|
+
*/
|
|
41
|
+
status: CallStatus | null;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the UpdateCallForCodeInviteResponseRequestCall interface.
|
|
48
|
+
*/
|
|
49
|
+
export function instanceOfUpdateCallForCodeInviteResponseRequestCall(value: object): value is UpdateCallForCodeInviteResponseRequestCall {
|
|
50
|
+
if (!('vendorCallId' in value) || value['vendorCallId'] === undefined) return false;
|
|
51
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function UpdateCallForCodeInviteResponseRequestCallFromJSON(json: any): UpdateCallForCodeInviteResponseRequestCall {
|
|
56
|
+
return UpdateCallForCodeInviteResponseRequestCallFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function UpdateCallForCodeInviteResponseRequestCallFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateCallForCodeInviteResponseRequestCall {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'vendorCallId': json['vendorCallId'],
|
|
66
|
+
'status': CallStatusFromJSON(json['status']),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function UpdateCallForCodeInviteResponseRequestCallToJSON(json: any): UpdateCallForCodeInviteResponseRequestCall {
|
|
71
|
+
return UpdateCallForCodeInviteResponseRequestCallToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function UpdateCallForCodeInviteResponseRequestCallToJSONTyped(value?: UpdateCallForCodeInviteResponseRequestCall | null, ignoreDiscriminator: boolean = false): any {
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'vendorCallId': value['vendorCallId'],
|
|
82
|
+
'status': CallStatusToJSON(value['status']),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 UpdateCodeInviteResponse404Response
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateCodeInviteResponse404Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateCodeInviteResponse404Response
|
|
26
|
+
*/
|
|
27
|
+
error: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the UpdateCodeInviteResponse404Response interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfUpdateCodeInviteResponse404Response(value: object): value is UpdateCodeInviteResponse404Response {
|
|
34
|
+
if (!('error' in value) || value['error'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function UpdateCodeInviteResponse404ResponseFromJSON(json: any): UpdateCodeInviteResponse404Response {
|
|
39
|
+
return UpdateCodeInviteResponse404ResponseFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function UpdateCodeInviteResponse404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateCodeInviteResponse404Response {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'error': json['error'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function UpdateCodeInviteResponse404ResponseToJSON(json: any): UpdateCodeInviteResponse404Response {
|
|
53
|
+
return UpdateCodeInviteResponse404ResponseToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function UpdateCodeInviteResponse404ResponseToJSONTyped(value?: UpdateCodeInviteResponse404Response | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'error': value['error'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|