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
|
@@ -18,9 +18,9 @@ exports.ProjectConfigFromJSON = ProjectConfigFromJSON;
|
|
|
18
18
|
exports.ProjectConfigFromJSONTyped = ProjectConfigFromJSONTyped;
|
|
19
19
|
exports.ProjectConfigToJSON = ProjectConfigToJSON;
|
|
20
20
|
exports.ProjectConfigToJSONTyped = ProjectConfigToJSONTyped;
|
|
21
|
+
var ScreenerQuestionChooseOne_1 = require("./ScreenerQuestionChooseOne");
|
|
21
22
|
var ProjectBrief_1 = require("./ProjectBrief");
|
|
22
23
|
var ProjectAudience_1 = require("./ProjectAudience");
|
|
23
|
-
var ProjectScreenerQuestionChooseOne_1 = require("./ProjectScreenerQuestionChooseOne");
|
|
24
24
|
var ProjectKind_1 = require("./ProjectKind");
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the ProjectConfig interface.
|
|
@@ -45,7 +45,7 @@ function ProjectConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'learningPlan': json['learningPlan'],
|
|
46
46
|
'brief': json['brief'] == null ? undefined : (0, ProjectBrief_1.ProjectBriefFromJSON)(json['brief']),
|
|
47
47
|
'briefDocument': json['briefDocument'] == null ? undefined : json['briefDocument'],
|
|
48
|
-
'screenerQuestions': json['screenerQuestions'] == null ? undefined : (json['screenerQuestions'].map(
|
|
48
|
+
'screenerQuestions': json['screenerQuestions'] == null ? undefined : (json['screenerQuestions'].map(ScreenerQuestionChooseOne_1.ScreenerQuestionChooseOneFromJSON)),
|
|
49
49
|
'audienceSettings': json['audienceSettings'] == null ? undefined : (0, ProjectAudience_1.ProjectAudienceFromJSON)(json['audienceSettings']),
|
|
50
50
|
};
|
|
51
51
|
}
|
|
@@ -63,7 +63,7 @@ function ProjectConfigToJSONTyped(value, ignoreDiscriminator) {
|
|
|
63
63
|
'learningPlan': value['learningPlan'],
|
|
64
64
|
'brief': (0, ProjectBrief_1.ProjectBriefToJSON)(value['brief']),
|
|
65
65
|
'briefDocument': value['briefDocument'],
|
|
66
|
-
'screenerQuestions': value['screenerQuestions'] == null ? undefined : (value['screenerQuestions'].map(
|
|
66
|
+
'screenerQuestions': value['screenerQuestions'] == null ? undefined : (value['screenerQuestions'].map(ScreenerQuestionChooseOne_1.ScreenerQuestionChooseOneToJSON)),
|
|
67
67
|
'audienceSettings': (0, ProjectAudience_1.ProjectAudienceToJSON)(value['audienceSettings']),
|
|
68
68
|
};
|
|
69
69
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { ScreenerQuestionResponse } from './ScreenerQuestionResponse';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -24,10 +24,10 @@ export interface ResponseSubmitScreenerEvent {
|
|
|
24
24
|
type: ResponseSubmitScreenerEventTypeEnum;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {Array<
|
|
27
|
+
* @type {Array<ScreenerQuestionResponse>}
|
|
28
28
|
* @memberof ResponseSubmitScreenerEvent
|
|
29
29
|
*/
|
|
30
|
-
screenerQuestionsResponses: Array<
|
|
30
|
+
screenerQuestionsResponses: Array<ScreenerQuestionResponse>;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* @export
|
|
@@ -19,7 +19,7 @@ exports.ResponseSubmitScreenerEventFromJSON = ResponseSubmitScreenerEventFromJSO
|
|
|
19
19
|
exports.ResponseSubmitScreenerEventFromJSONTyped = ResponseSubmitScreenerEventFromJSONTyped;
|
|
20
20
|
exports.ResponseSubmitScreenerEventToJSON = ResponseSubmitScreenerEventToJSON;
|
|
21
21
|
exports.ResponseSubmitScreenerEventToJSONTyped = ResponseSubmitScreenerEventToJSONTyped;
|
|
22
|
-
var
|
|
22
|
+
var ScreenerQuestionResponse_1 = require("./ScreenerQuestionResponse");
|
|
23
23
|
/**
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
@@ -45,7 +45,7 @@ function ResponseSubmitScreenerEventFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
}
|
|
46
46
|
return {
|
|
47
47
|
'type': json['type'],
|
|
48
|
-
'screenerQuestionsResponses': (json['screenerQuestionsResponses'].map(
|
|
48
|
+
'screenerQuestionsResponses': (json['screenerQuestionsResponses'].map(ScreenerQuestionResponse_1.ScreenerQuestionResponseFromJSON)),
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
function ResponseSubmitScreenerEventToJSON(json) {
|
|
@@ -58,6 +58,6 @@ function ResponseSubmitScreenerEventToJSONTyped(value, ignoreDiscriminator) {
|
|
|
58
58
|
}
|
|
59
59
|
return {
|
|
60
60
|
'type': value['type'],
|
|
61
|
-
'screenerQuestionsResponses': (value['screenerQuestionsResponses'].map(
|
|
61
|
+
'screenerQuestionsResponses': (value['screenerQuestionsResponses'].map(ScreenerQuestionResponse_1.ScreenerQuestionResponseToJSON)),
|
|
62
62
|
};
|
|
63
63
|
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 ScreenerQuestionChooseOne
|
|
16
|
+
*/
|
|
17
|
+
export interface ScreenerQuestionChooseOne {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ScreenerQuestionChooseOne
|
|
22
|
+
*/
|
|
23
|
+
type: ScreenerQuestionChooseOneTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ScreenerQuestionChooseOne
|
|
28
|
+
*/
|
|
29
|
+
question: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof ScreenerQuestionChooseOne
|
|
34
|
+
*/
|
|
35
|
+
options: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof ScreenerQuestionChooseOne
|
|
40
|
+
*/
|
|
41
|
+
passingOptions: Array<string>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const ScreenerQuestionChooseOneTypeEnum: {
|
|
47
|
+
readonly ChooseOne: "chooseOne";
|
|
48
|
+
};
|
|
49
|
+
export type ScreenerQuestionChooseOneTypeEnum = typeof ScreenerQuestionChooseOneTypeEnum[keyof typeof ScreenerQuestionChooseOneTypeEnum];
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ScreenerQuestionChooseOne interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfScreenerQuestionChooseOne(value: object): value is ScreenerQuestionChooseOne;
|
|
54
|
+
export declare function ScreenerQuestionChooseOneFromJSON(json: any): ScreenerQuestionChooseOne;
|
|
55
|
+
export declare function ScreenerQuestionChooseOneFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseOne;
|
|
56
|
+
export declare function ScreenerQuestionChooseOneToJSON(json: any): ScreenerQuestionChooseOne;
|
|
57
|
+
export declare function ScreenerQuestionChooseOneToJSONTyped(value?: ScreenerQuestionChooseOne | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,22 +13,22 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
16
|
+
exports.ScreenerQuestionChooseOneTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfScreenerQuestionChooseOne = instanceOfScreenerQuestionChooseOne;
|
|
18
|
+
exports.ScreenerQuestionChooseOneFromJSON = ScreenerQuestionChooseOneFromJSON;
|
|
19
|
+
exports.ScreenerQuestionChooseOneFromJSONTyped = ScreenerQuestionChooseOneFromJSONTyped;
|
|
20
|
+
exports.ScreenerQuestionChooseOneToJSON = ScreenerQuestionChooseOneToJSON;
|
|
21
|
+
exports.ScreenerQuestionChooseOneToJSONTyped = ScreenerQuestionChooseOneToJSONTyped;
|
|
22
22
|
/**
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
|
-
exports.
|
|
25
|
+
exports.ScreenerQuestionChooseOneTypeEnum = {
|
|
26
26
|
ChooseOne: 'chooseOne'
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* Check if a given object implements the
|
|
29
|
+
* Check if a given object implements the ScreenerQuestionChooseOne interface.
|
|
30
30
|
*/
|
|
31
|
-
function
|
|
31
|
+
function instanceOfScreenerQuestionChooseOne(value) {
|
|
32
32
|
if (!('type' in value) || value['type'] === undefined)
|
|
33
33
|
return false;
|
|
34
34
|
if (!('question' in value) || value['question'] === undefined)
|
|
@@ -39,10 +39,10 @@ function instanceOfProjectScreenerQuestionChooseOne(value) {
|
|
|
39
39
|
return false;
|
|
40
40
|
return true;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
return
|
|
42
|
+
function ScreenerQuestionChooseOneFromJSON(json) {
|
|
43
|
+
return ScreenerQuestionChooseOneFromJSONTyped(json, false);
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function ScreenerQuestionChooseOneFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
46
|
if (json == null) {
|
|
47
47
|
return json;
|
|
48
48
|
}
|
|
@@ -53,10 +53,10 @@ function ProjectScreenerQuestionChooseOneFromJSONTyped(json, ignoreDiscriminator
|
|
|
53
53
|
'passingOptions': json['passingOptions'],
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
return
|
|
56
|
+
function ScreenerQuestionChooseOneToJSON(json) {
|
|
57
|
+
return ScreenerQuestionChooseOneToJSONTyped(json, false);
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function ScreenerQuestionChooseOneToJSONTyped(value, ignoreDiscriminator) {
|
|
60
60
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
61
61
|
if (value == null) {
|
|
62
62
|
return value;
|
|
@@ -0,0 +1,51 @@
|
|
|
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 ScreenerQuestionChooseOnePublic
|
|
16
|
+
*/
|
|
17
|
+
export interface ScreenerQuestionChooseOnePublic {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ScreenerQuestionChooseOnePublic
|
|
22
|
+
*/
|
|
23
|
+
type: ScreenerQuestionChooseOnePublicTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ScreenerQuestionChooseOnePublic
|
|
28
|
+
*/
|
|
29
|
+
question: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof ScreenerQuestionChooseOnePublic
|
|
34
|
+
*/
|
|
35
|
+
options: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const ScreenerQuestionChooseOnePublicTypeEnum: {
|
|
41
|
+
readonly ChooseOne: "chooseOne";
|
|
42
|
+
};
|
|
43
|
+
export type ScreenerQuestionChooseOnePublicTypeEnum = typeof ScreenerQuestionChooseOnePublicTypeEnum[keyof typeof ScreenerQuestionChooseOnePublicTypeEnum];
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ScreenerQuestionChooseOnePublic interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfScreenerQuestionChooseOnePublic(value: object): value is ScreenerQuestionChooseOnePublic;
|
|
48
|
+
export declare function ScreenerQuestionChooseOnePublicFromJSON(json: any): ScreenerQuestionChooseOnePublic;
|
|
49
|
+
export declare function ScreenerQuestionChooseOnePublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseOnePublic;
|
|
50
|
+
export declare function ScreenerQuestionChooseOnePublicToJSON(json: any): ScreenerQuestionChooseOnePublic;
|
|
51
|
+
export declare function ScreenerQuestionChooseOnePublicToJSONTyped(value?: ScreenerQuestionChooseOnePublic | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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.ScreenerQuestionChooseOnePublicTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfScreenerQuestionChooseOnePublic = instanceOfScreenerQuestionChooseOnePublic;
|
|
18
|
+
exports.ScreenerQuestionChooseOnePublicFromJSON = ScreenerQuestionChooseOnePublicFromJSON;
|
|
19
|
+
exports.ScreenerQuestionChooseOnePublicFromJSONTyped = ScreenerQuestionChooseOnePublicFromJSONTyped;
|
|
20
|
+
exports.ScreenerQuestionChooseOnePublicToJSON = ScreenerQuestionChooseOnePublicToJSON;
|
|
21
|
+
exports.ScreenerQuestionChooseOnePublicToJSONTyped = ScreenerQuestionChooseOnePublicToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ScreenerQuestionChooseOnePublicTypeEnum = {
|
|
26
|
+
ChooseOne: 'chooseOne'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the ScreenerQuestionChooseOnePublic interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfScreenerQuestionChooseOnePublic(value) {
|
|
32
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('question' in value) || value['question'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('options' in value) || value['options'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function ScreenerQuestionChooseOnePublicFromJSON(json) {
|
|
41
|
+
return ScreenerQuestionChooseOnePublicFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ScreenerQuestionChooseOnePublicFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'type': json['type'],
|
|
49
|
+
'question': json['question'],
|
|
50
|
+
'options': json['options'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function ScreenerQuestionChooseOnePublicToJSON(json) {
|
|
54
|
+
return ScreenerQuestionChooseOnePublicToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function ScreenerQuestionChooseOnePublicToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'type': value['type'],
|
|
63
|
+
'question': value['question'],
|
|
64
|
+
'options': value['options'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 ScreenerQuestionResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface ScreenerQuestionResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ScreenerQuestionResponse
|
|
22
|
+
*/
|
|
23
|
+
question: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ScreenerQuestionResponse
|
|
28
|
+
*/
|
|
29
|
+
response: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ScreenerQuestionResponse
|
|
34
|
+
*/
|
|
35
|
+
passing: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ScreenerQuestionResponse interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfScreenerQuestionResponse(value: object): value is ScreenerQuestionResponse;
|
|
41
|
+
export declare function ScreenerQuestionResponseFromJSON(json: any): ScreenerQuestionResponse;
|
|
42
|
+
export declare function ScreenerQuestionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionResponse;
|
|
43
|
+
export declare function ScreenerQuestionResponseToJSON(json: any): ScreenerQuestionResponse;
|
|
44
|
+
export declare function ScreenerQuestionResponseToJSONTyped(value?: ScreenerQuestionResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfScreenerQuestionResponse = instanceOfScreenerQuestionResponse;
|
|
17
|
+
exports.ScreenerQuestionResponseFromJSON = ScreenerQuestionResponseFromJSON;
|
|
18
|
+
exports.ScreenerQuestionResponseFromJSONTyped = ScreenerQuestionResponseFromJSONTyped;
|
|
19
|
+
exports.ScreenerQuestionResponseToJSON = ScreenerQuestionResponseToJSON;
|
|
20
|
+
exports.ScreenerQuestionResponseToJSONTyped = ScreenerQuestionResponseToJSONTyped;
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the ScreenerQuestionResponse interface.
|
|
23
23
|
*/
|
|
24
|
-
function
|
|
24
|
+
function instanceOfScreenerQuestionResponse(value) {
|
|
25
25
|
if (!('question' in value) || value['question'] === undefined)
|
|
26
26
|
return false;
|
|
27
27
|
if (!('response' in value) || value['response'] === undefined)
|
|
@@ -30,10 +30,10 @@ function instanceOfProjectScreenerQuestionResponse(value) {
|
|
|
30
30
|
return false;
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
return
|
|
33
|
+
function ScreenerQuestionResponseFromJSON(json) {
|
|
34
|
+
return ScreenerQuestionResponseFromJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function ScreenerQuestionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
37
|
if (json == null) {
|
|
38
38
|
return json;
|
|
39
39
|
}
|
|
@@ -43,10 +43,10 @@ function ProjectScreenerQuestionResponseFromJSONTyped(json, ignoreDiscriminator)
|
|
|
43
43
|
'passing': json['passing'],
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
46
|
+
function ScreenerQuestionResponseToJSON(json) {
|
|
47
|
+
return ScreenerQuestionResponseToJSONTyped(json, false);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function ScreenerQuestionResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
50
50
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
51
|
if (value == null) {
|
|
52
52
|
return value;
|
|
@@ -0,0 +1,32 @@
|
|
|
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 StartPhoneCallForCodeInviteResponseRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface StartPhoneCallForCodeInviteResponseRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StartPhoneCallForCodeInviteResponseRequest
|
|
22
|
+
*/
|
|
23
|
+
phoneNumber: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the StartPhoneCallForCodeInviteResponseRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfStartPhoneCallForCodeInviteResponseRequest(value: object): value is StartPhoneCallForCodeInviteResponseRequest;
|
|
29
|
+
export declare function StartPhoneCallForCodeInviteResponseRequestFromJSON(json: any): StartPhoneCallForCodeInviteResponseRequest;
|
|
30
|
+
export declare function StartPhoneCallForCodeInviteResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StartPhoneCallForCodeInviteResponseRequest;
|
|
31
|
+
export declare function StartPhoneCallForCodeInviteResponseRequestToJSON(json: any): StartPhoneCallForCodeInviteResponseRequest;
|
|
32
|
+
export declare function StartPhoneCallForCodeInviteResponseRequestToJSONTyped(value?: StartPhoneCallForCodeInviteResponseRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfStartPhoneCallForCodeInviteResponseRequest = instanceOfStartPhoneCallForCodeInviteResponseRequest;
|
|
17
|
+
exports.StartPhoneCallForCodeInviteResponseRequestFromJSON = StartPhoneCallForCodeInviteResponseRequestFromJSON;
|
|
18
|
+
exports.StartPhoneCallForCodeInviteResponseRequestFromJSONTyped = StartPhoneCallForCodeInviteResponseRequestFromJSONTyped;
|
|
19
|
+
exports.StartPhoneCallForCodeInviteResponseRequestToJSON = StartPhoneCallForCodeInviteResponseRequestToJSON;
|
|
20
|
+
exports.StartPhoneCallForCodeInviteResponseRequestToJSONTyped = StartPhoneCallForCodeInviteResponseRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StartPhoneCallForCodeInviteResponseRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStartPhoneCallForCodeInviteResponseRequest(value) {
|
|
25
|
+
if (!('phoneNumber' in value) || value['phoneNumber'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function StartPhoneCallForCodeInviteResponseRequestFromJSON(json) {
|
|
30
|
+
return StartPhoneCallForCodeInviteResponseRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function StartPhoneCallForCodeInviteResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'phoneNumber': json['phoneNumber'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function StartPhoneCallForCodeInviteResponseRequestToJSON(json) {
|
|
41
|
+
return StartPhoneCallForCodeInviteResponseRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function StartPhoneCallForCodeInviteResponseRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'phoneNumber': value['phoneNumber'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
import type { UpdateCallForCodeInviteResponseRequestCall } from './UpdateCallForCodeInviteResponseRequestCall';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateCallForCodeInviteResponseRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateCallForCodeInviteResponseRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof UpdateCallForCodeInviteResponseRequest
|
|
23
|
+
*/
|
|
24
|
+
callId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {UpdateCallForCodeInviteResponseRequestCall}
|
|
28
|
+
* @memberof UpdateCallForCodeInviteResponseRequest
|
|
29
|
+
*/
|
|
30
|
+
call: UpdateCallForCodeInviteResponseRequestCall;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the UpdateCallForCodeInviteResponseRequest interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfUpdateCallForCodeInviteResponseRequest(value: object): value is UpdateCallForCodeInviteResponseRequest;
|
|
36
|
+
export declare function UpdateCallForCodeInviteResponseRequestFromJSON(json: any): UpdateCallForCodeInviteResponseRequest;
|
|
37
|
+
export declare function UpdateCallForCodeInviteResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateCallForCodeInviteResponseRequest;
|
|
38
|
+
export declare function UpdateCallForCodeInviteResponseRequestToJSON(json: any): UpdateCallForCodeInviteResponseRequest;
|
|
39
|
+
export declare function UpdateCallForCodeInviteResponseRequestToJSONTyped(value?: UpdateCallForCodeInviteResponseRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfUpdateCallForCodeInviteResponseRequest = instanceOfUpdateCallForCodeInviteResponseRequest;
|
|
17
|
+
exports.UpdateCallForCodeInviteResponseRequestFromJSON = UpdateCallForCodeInviteResponseRequestFromJSON;
|
|
18
|
+
exports.UpdateCallForCodeInviteResponseRequestFromJSONTyped = UpdateCallForCodeInviteResponseRequestFromJSONTyped;
|
|
19
|
+
exports.UpdateCallForCodeInviteResponseRequestToJSON = UpdateCallForCodeInviteResponseRequestToJSON;
|
|
20
|
+
exports.UpdateCallForCodeInviteResponseRequestToJSONTyped = UpdateCallForCodeInviteResponseRequestToJSONTyped;
|
|
21
|
+
var UpdateCallForCodeInviteResponseRequestCall_1 = require("./UpdateCallForCodeInviteResponseRequestCall");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UpdateCallForCodeInviteResponseRequest interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUpdateCallForCodeInviteResponseRequest(value) {
|
|
26
|
+
if (!('callId' in value) || value['callId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('call' in value) || value['call'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function UpdateCallForCodeInviteResponseRequestFromJSON(json) {
|
|
33
|
+
return UpdateCallForCodeInviteResponseRequestFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function UpdateCallForCodeInviteResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'callId': json['callId'],
|
|
41
|
+
'call': (0, UpdateCallForCodeInviteResponseRequestCall_1.UpdateCallForCodeInviteResponseRequestCallFromJSON)(json['call']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function UpdateCallForCodeInviteResponseRequestToJSON(json) {
|
|
45
|
+
return UpdateCallForCodeInviteResponseRequestToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function UpdateCallForCodeInviteResponseRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'callId': value['callId'],
|
|
54
|
+
'call': (0, UpdateCallForCodeInviteResponseRequestCall_1.UpdateCallForCodeInviteResponseRequestCallToJSON)(value['call']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
import type { CallStatus } from './CallStatus';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateCallForCodeInviteResponseRequestCall
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateCallForCodeInviteResponseRequestCall {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof UpdateCallForCodeInviteResponseRequestCall
|
|
23
|
+
*/
|
|
24
|
+
vendorCallId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {CallStatus}
|
|
28
|
+
* @memberof UpdateCallForCodeInviteResponseRequestCall
|
|
29
|
+
*/
|
|
30
|
+
status: CallStatus | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the UpdateCallForCodeInviteResponseRequestCall interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfUpdateCallForCodeInviteResponseRequestCall(value: object): value is UpdateCallForCodeInviteResponseRequestCall;
|
|
36
|
+
export declare function UpdateCallForCodeInviteResponseRequestCallFromJSON(json: any): UpdateCallForCodeInviteResponseRequestCall;
|
|
37
|
+
export declare function UpdateCallForCodeInviteResponseRequestCallFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateCallForCodeInviteResponseRequestCall;
|
|
38
|
+
export declare function UpdateCallForCodeInviteResponseRequestCallToJSON(json: any): UpdateCallForCodeInviteResponseRequestCall;
|
|
39
|
+
export declare function UpdateCallForCodeInviteResponseRequestCallToJSONTyped(value?: UpdateCallForCodeInviteResponseRequestCall | null, ignoreDiscriminator?: boolean): any;
|