keplar-api 0.0.8 → 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 +37 -22
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +236 -235
- package/dist/apis/DefaultApi.js +926 -786
- 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/Attribute.d.ts +65 -0
- package/dist/models/Attribute.js +68 -0
- package/dist/models/AttributeFilterGroupSchemaInner.d.ts +23 -0
- package/dist/models/AttributeFilterGroupSchemaInner.js +58 -0
- package/dist/models/AttributeKind.d.ts +76 -0
- package/dist/models/AttributeKind.js +75 -0
- package/dist/models/AttributeSource.d.ts +25 -0
- package/dist/models/AttributeSource.js +51 -0
- package/dist/models/AttributeStatsSchemaInner.d.ts +40 -0
- package/dist/models/AttributeStatsSchemaInner.js +57 -0
- package/dist/models/AttributeStatsSchemaInnerKind.d.ts +57 -0
- package/dist/models/AttributeStatsSchemaInnerKind.js +64 -0
- package/dist/models/AttributeStatsSchemaInnerValuesInner.d.ts +38 -0
- package/dist/models/AttributeStatsSchemaInnerValuesInner.js +55 -0
- package/dist/models/AttributeValueKind.d.ts +26 -0
- package/dist/models/AttributeValueKind.js +52 -0
- 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/InviteResponse.d.ts +7 -0
- package/dist/models/InviteResponse.js +3 -0
- package/dist/models/InviteResponseAttribute.d.ts +71 -0
- package/dist/models/InviteResponseAttribute.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/NumberFilterSchema.d.ts +57 -0
- package/dist/models/NumberFilterSchema.js +66 -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/Participant.d.ts +7 -0
- package/dist/models/Participant.js +3 -0
- package/dist/models/ParticipantAttribute.d.ts +77 -0
- package/dist/models/ParticipantAttribute.js +78 -0
- 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/SelectFilterSchema.d.ts +45 -0
- package/dist/models/SelectFilterSchema.js +60 -0
- package/dist/models/SelectFilterSchemaKind.d.ts +26 -0
- package/dist/models/SelectFilterSchemaKind.js +39 -0
- 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 +37 -22
- package/dist/models/index.js +37 -22
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +1126 -991
- package/src/models/ApiInvitesIdParticipantInvitesGet200Response.ts +101 -0
- package/src/models/ApiInvitesIdResponsesGet200Response.ts +10 -10
- package/src/models/Attribute.ts +130 -0
- package/src/models/AttributeFilterGroupSchemaInner.ts +76 -0
- package/src/models/AttributeKind.ts +143 -0
- package/src/models/AttributeSource.ts +53 -0
- package/src/models/AttributeStatsSchemaInner.ts +90 -0
- package/src/models/AttributeStatsSchemaInnerKind.ts +110 -0
- package/src/models/AttributeStatsSchemaInnerValuesInner.ts +75 -0
- package/src/models/AttributeValueKind.ts +54 -0
- 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/InviteResponse.ts +15 -0
- package/src/models/InviteResponseAttribute.ts +142 -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/NumberFilterSchema.ts +101 -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/Participant.ts +15 -0
- package/src/models/ParticipantAttribute.ts +151 -0
- 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/SelectFilterSchema.ts +92 -0
- package/src/models/SelectFilterSchemaKind.ts +46 -0
- 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 +37 -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
|
@@ -0,0 +1,125 @@
|
|
|
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 InviteConfigContacts
|
|
20
|
+
*/
|
|
21
|
+
export interface InviteConfigContacts {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof InviteConfigContacts
|
|
26
|
+
*/
|
|
27
|
+
kind: InviteConfigContactsKindEnum;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof InviteConfigContacts
|
|
32
|
+
*/
|
|
33
|
+
isTest?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof InviteConfigContacts
|
|
38
|
+
*/
|
|
39
|
+
showCallMetadata?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof InviteConfigContacts
|
|
44
|
+
*/
|
|
45
|
+
title: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof InviteConfigContacts
|
|
50
|
+
*/
|
|
51
|
+
description?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof InviteConfigContacts
|
|
56
|
+
*/
|
|
57
|
+
maxResponses?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof InviteConfigContacts
|
|
62
|
+
*/
|
|
63
|
+
maxResponsesPerParticipant?: number;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export const InviteConfigContactsKindEnum = {
|
|
71
|
+
Contacts: 'CONTACTS'
|
|
72
|
+
} as const;
|
|
73
|
+
export type InviteConfigContactsKindEnum = typeof InviteConfigContactsKindEnum[keyof typeof InviteConfigContactsKindEnum];
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the InviteConfigContacts interface.
|
|
78
|
+
*/
|
|
79
|
+
export function instanceOfInviteConfigContacts(value: object): value is InviteConfigContacts {
|
|
80
|
+
if (!('kind' in value) || value['kind'] === undefined) return false;
|
|
81
|
+
if (!('title' in value) || value['title'] === undefined) return false;
|
|
82
|
+
return true;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function InviteConfigContactsFromJSON(json: any): InviteConfigContacts {
|
|
86
|
+
return InviteConfigContactsFromJSONTyped(json, false);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function InviteConfigContactsFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteConfigContacts {
|
|
90
|
+
if (json == null) {
|
|
91
|
+
return json;
|
|
92
|
+
}
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'kind': json['kind'],
|
|
96
|
+
'isTest': json['isTest'] == null ? undefined : json['isTest'],
|
|
97
|
+
'showCallMetadata': json['showCallMetadata'] == null ? undefined : json['showCallMetadata'],
|
|
98
|
+
'title': json['title'],
|
|
99
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
100
|
+
'maxResponses': json['maxResponses'] == null ? undefined : json['maxResponses'],
|
|
101
|
+
'maxResponsesPerParticipant': json['maxResponsesPerParticipant'] == null ? undefined : json['maxResponsesPerParticipant'],
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function InviteConfigContactsToJSON(json: any): InviteConfigContacts {
|
|
106
|
+
return InviteConfigContactsToJSONTyped(json, false);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function InviteConfigContactsToJSONTyped(value?: InviteConfigContacts | null, ignoreDiscriminator: boolean = false): any {
|
|
110
|
+
if (value == null) {
|
|
111
|
+
return value;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
return {
|
|
115
|
+
|
|
116
|
+
'kind': value['kind'],
|
|
117
|
+
'isTest': value['isTest'],
|
|
118
|
+
'showCallMetadata': value['showCallMetadata'],
|
|
119
|
+
'title': value['title'],
|
|
120
|
+
'description': value['description'],
|
|
121
|
+
'maxResponses': value['maxResponses'],
|
|
122
|
+
'maxResponsesPerParticipant': value['maxResponsesPerParticipant'],
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
|
|
@@ -0,0 +1,165 @@
|
|
|
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 { RepdataSurvey } from './RepdataSurvey';
|
|
17
|
+
import {
|
|
18
|
+
RepdataSurveyFromJSON,
|
|
19
|
+
RepdataSurveyFromJSONTyped,
|
|
20
|
+
RepdataSurveyToJSON,
|
|
21
|
+
RepdataSurveyToJSONTyped,
|
|
22
|
+
} from './RepdataSurvey';
|
|
23
|
+
import type { PanelSettings } from './PanelSettings';
|
|
24
|
+
import {
|
|
25
|
+
PanelSettingsFromJSON,
|
|
26
|
+
PanelSettingsFromJSONTyped,
|
|
27
|
+
PanelSettingsToJSON,
|
|
28
|
+
PanelSettingsToJSONTyped,
|
|
29
|
+
} from './PanelSettings';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface InviteConfigKeplarPanel
|
|
35
|
+
*/
|
|
36
|
+
export interface InviteConfigKeplarPanel {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof InviteConfigKeplarPanel
|
|
41
|
+
*/
|
|
42
|
+
kind: InviteConfigKeplarPanelKindEnum;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<string>}
|
|
46
|
+
* @memberof InviteConfigKeplarPanel
|
|
47
|
+
*/
|
|
48
|
+
allowedOrigins?: Array<string>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof InviteConfigKeplarPanel
|
|
53
|
+
*/
|
|
54
|
+
collectEmail?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {boolean}
|
|
58
|
+
* @memberof InviteConfigKeplarPanel
|
|
59
|
+
*/
|
|
60
|
+
requireEmail?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {PanelSettings}
|
|
64
|
+
* @memberof InviteConfigKeplarPanel
|
|
65
|
+
*/
|
|
66
|
+
panelSettings: PanelSettings;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {RepdataSurvey}
|
|
70
|
+
* @memberof InviteConfigKeplarPanel
|
|
71
|
+
*/
|
|
72
|
+
repDataSurvey?: RepdataSurvey;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof InviteConfigKeplarPanel
|
|
77
|
+
*/
|
|
78
|
+
title: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof InviteConfigKeplarPanel
|
|
83
|
+
*/
|
|
84
|
+
description?: string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {number}
|
|
88
|
+
* @memberof InviteConfigKeplarPanel
|
|
89
|
+
*/
|
|
90
|
+
maxResponses?: number;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {number}
|
|
94
|
+
* @memberof InviteConfigKeplarPanel
|
|
95
|
+
*/
|
|
96
|
+
maxResponsesPerParticipant?: number;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @export
|
|
102
|
+
*/
|
|
103
|
+
export const InviteConfigKeplarPanelKindEnum = {
|
|
104
|
+
KeplarPanel: 'KEPLAR_PANEL'
|
|
105
|
+
} as const;
|
|
106
|
+
export type InviteConfigKeplarPanelKindEnum = typeof InviteConfigKeplarPanelKindEnum[keyof typeof InviteConfigKeplarPanelKindEnum];
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Check if a given object implements the InviteConfigKeplarPanel interface.
|
|
111
|
+
*/
|
|
112
|
+
export function instanceOfInviteConfigKeplarPanel(value: object): value is InviteConfigKeplarPanel {
|
|
113
|
+
if (!('kind' in value) || value['kind'] === undefined) return false;
|
|
114
|
+
if (!('panelSettings' in value) || value['panelSettings'] === undefined) return false;
|
|
115
|
+
if (!('title' in value) || value['title'] === undefined) return false;
|
|
116
|
+
return true;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export function InviteConfigKeplarPanelFromJSON(json: any): InviteConfigKeplarPanel {
|
|
120
|
+
return InviteConfigKeplarPanelFromJSONTyped(json, false);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function InviteConfigKeplarPanelFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteConfigKeplarPanel {
|
|
124
|
+
if (json == null) {
|
|
125
|
+
return json;
|
|
126
|
+
}
|
|
127
|
+
return {
|
|
128
|
+
|
|
129
|
+
'kind': json['kind'],
|
|
130
|
+
'allowedOrigins': json['allowedOrigins'] == null ? undefined : json['allowedOrigins'],
|
|
131
|
+
'collectEmail': json['collectEmail'] == null ? undefined : json['collectEmail'],
|
|
132
|
+
'requireEmail': json['requireEmail'] == null ? undefined : json['requireEmail'],
|
|
133
|
+
'panelSettings': PanelSettingsFromJSON(json['panelSettings']),
|
|
134
|
+
'repDataSurvey': json['repDataSurvey'] == null ? undefined : RepdataSurveyFromJSON(json['repDataSurvey']),
|
|
135
|
+
'title': json['title'],
|
|
136
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
137
|
+
'maxResponses': json['maxResponses'] == null ? undefined : json['maxResponses'],
|
|
138
|
+
'maxResponsesPerParticipant': json['maxResponsesPerParticipant'] == null ? undefined : json['maxResponsesPerParticipant'],
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export function InviteConfigKeplarPanelToJSON(json: any): InviteConfigKeplarPanel {
|
|
143
|
+
return InviteConfigKeplarPanelToJSONTyped(json, false);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export function InviteConfigKeplarPanelToJSONTyped(value?: InviteConfigKeplarPanel | null, ignoreDiscriminator: boolean = false): any {
|
|
147
|
+
if (value == null) {
|
|
148
|
+
return value;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
return {
|
|
152
|
+
|
|
153
|
+
'kind': value['kind'],
|
|
154
|
+
'allowedOrigins': value['allowedOrigins'],
|
|
155
|
+
'collectEmail': value['collectEmail'],
|
|
156
|
+
'requireEmail': value['requireEmail'],
|
|
157
|
+
'panelSettings': PanelSettingsToJSON(value['panelSettings']),
|
|
158
|
+
'repDataSurvey': RepdataSurveyToJSON(value['repDataSurvey']),
|
|
159
|
+
'title': value['title'],
|
|
160
|
+
'description': value['description'],
|
|
161
|
+
'maxResponses': value['maxResponses'],
|
|
162
|
+
'maxResponsesPerParticipant': value['maxResponsesPerParticipant'],
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
|
|
@@ -0,0 +1,133 @@
|
|
|
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 InviteConfigPublic
|
|
20
|
+
*/
|
|
21
|
+
export interface InviteConfigPublic {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof InviteConfigPublic
|
|
26
|
+
*/
|
|
27
|
+
kind: InviteConfigPublicKindEnum;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Array<string>}
|
|
31
|
+
* @memberof InviteConfigPublic
|
|
32
|
+
*/
|
|
33
|
+
allowedOrigins?: Array<string>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof InviteConfigPublic
|
|
38
|
+
*/
|
|
39
|
+
collectEmail?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof InviteConfigPublic
|
|
44
|
+
*/
|
|
45
|
+
requireEmail?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof InviteConfigPublic
|
|
50
|
+
*/
|
|
51
|
+
title: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof InviteConfigPublic
|
|
56
|
+
*/
|
|
57
|
+
description?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof InviteConfigPublic
|
|
62
|
+
*/
|
|
63
|
+
maxResponses?: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof InviteConfigPublic
|
|
68
|
+
*/
|
|
69
|
+
maxResponsesPerParticipant?: number;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export const InviteConfigPublicKindEnum = {
|
|
77
|
+
Public: 'PUBLIC'
|
|
78
|
+
} as const;
|
|
79
|
+
export type InviteConfigPublicKindEnum = typeof InviteConfigPublicKindEnum[keyof typeof InviteConfigPublicKindEnum];
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Check if a given object implements the InviteConfigPublic interface.
|
|
84
|
+
*/
|
|
85
|
+
export function instanceOfInviteConfigPublic(value: object): value is InviteConfigPublic {
|
|
86
|
+
if (!('kind' in value) || value['kind'] === undefined) return false;
|
|
87
|
+
if (!('title' in value) || value['title'] === undefined) return false;
|
|
88
|
+
return true;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function InviteConfigPublicFromJSON(json: any): InviteConfigPublic {
|
|
92
|
+
return InviteConfigPublicFromJSONTyped(json, false);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function InviteConfigPublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteConfigPublic {
|
|
96
|
+
if (json == null) {
|
|
97
|
+
return json;
|
|
98
|
+
}
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'kind': json['kind'],
|
|
102
|
+
'allowedOrigins': json['allowedOrigins'] == null ? undefined : json['allowedOrigins'],
|
|
103
|
+
'collectEmail': json['collectEmail'] == null ? undefined : json['collectEmail'],
|
|
104
|
+
'requireEmail': json['requireEmail'] == null ? undefined : json['requireEmail'],
|
|
105
|
+
'title': json['title'],
|
|
106
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
107
|
+
'maxResponses': json['maxResponses'] == null ? undefined : json['maxResponses'],
|
|
108
|
+
'maxResponsesPerParticipant': json['maxResponsesPerParticipant'] == null ? undefined : json['maxResponsesPerParticipant'],
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function InviteConfigPublicToJSON(json: any): InviteConfigPublic {
|
|
113
|
+
return InviteConfigPublicToJSONTyped(json, false);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export function InviteConfigPublicToJSONTyped(value?: InviteConfigPublic | null, ignoreDiscriminator: boolean = false): any {
|
|
117
|
+
if (value == null) {
|
|
118
|
+
return value;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
return {
|
|
122
|
+
|
|
123
|
+
'kind': value['kind'],
|
|
124
|
+
'allowedOrigins': value['allowedOrigins'],
|
|
125
|
+
'collectEmail': value['collectEmail'],
|
|
126
|
+
'requireEmail': value['requireEmail'],
|
|
127
|
+
'title': value['title'],
|
|
128
|
+
'description': value['description'],
|
|
129
|
+
'maxResponses': value['maxResponses'],
|
|
130
|
+
'maxResponsesPerParticipant': value['maxResponsesPerParticipant'],
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { InviteResponseAttribute } from './InviteResponseAttribute';
|
|
17
|
+
import {
|
|
18
|
+
InviteResponseAttributeFromJSON,
|
|
19
|
+
InviteResponseAttributeFromJSONTyped,
|
|
20
|
+
InviteResponseAttributeToJSON,
|
|
21
|
+
InviteResponseAttributeToJSONTyped,
|
|
22
|
+
} from './InviteResponseAttribute';
|
|
16
23
|
import type { Call } from './Call';
|
|
17
24
|
import {
|
|
18
25
|
CallFromJSON,
|
|
@@ -147,6 +154,12 @@ export interface InviteResponse {
|
|
|
147
154
|
* @memberof InviteResponse
|
|
148
155
|
*/
|
|
149
156
|
calls?: Array<Call>;
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @type {Array<InviteResponseAttribute>}
|
|
160
|
+
* @memberof InviteResponse
|
|
161
|
+
*/
|
|
162
|
+
inviteResponseAttributes?: Array<InviteResponseAttribute>;
|
|
150
163
|
}
|
|
151
164
|
|
|
152
165
|
|
|
@@ -187,6 +200,7 @@ export function InviteResponseFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
187
200
|
'invite': json['invite'] == null ? undefined : InviteFromJSON(json['invite']),
|
|
188
201
|
'participant': json['participant'] == null ? undefined : ParticipantFromJSON(json['participant']),
|
|
189
202
|
'calls': json['calls'] == null ? undefined : ((json['calls'] as Array<any>).map(CallFromJSON)),
|
|
203
|
+
'inviteResponseAttributes': json['inviteResponseAttributes'] == null ? undefined : ((json['inviteResponseAttributes'] as Array<any>).map(InviteResponseAttributeFromJSON)),
|
|
190
204
|
};
|
|
191
205
|
}
|
|
192
206
|
|
|
@@ -214,6 +228,7 @@ export function InviteResponseToJSONTyped(value?: InviteResponse | null, ignoreD
|
|
|
214
228
|
'invite': InviteToJSON(value['invite']),
|
|
215
229
|
'participant': ParticipantToJSON(value['participant']),
|
|
216
230
|
'calls': value['calls'] == null ? undefined : ((value['calls'] as Array<any>).map(CallToJSON)),
|
|
231
|
+
'inviteResponseAttributes': value['inviteResponseAttributes'] == null ? undefined : ((value['inviteResponseAttributes'] as Array<any>).map(InviteResponseAttributeToJSON)),
|
|
217
232
|
};
|
|
218
233
|
}
|
|
219
234
|
|
|
@@ -0,0 +1,142 @@
|
|
|
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 { AttributeSource } from './AttributeSource';
|
|
17
|
+
import {
|
|
18
|
+
AttributeSourceFromJSON,
|
|
19
|
+
AttributeSourceFromJSONTyped,
|
|
20
|
+
AttributeSourceToJSON,
|
|
21
|
+
AttributeSourceToJSONTyped,
|
|
22
|
+
} from './AttributeSource';
|
|
23
|
+
import type { Attribute } from './Attribute';
|
|
24
|
+
import {
|
|
25
|
+
AttributeFromJSON,
|
|
26
|
+
AttributeFromJSONTyped,
|
|
27
|
+
AttributeToJSON,
|
|
28
|
+
AttributeToJSONTyped,
|
|
29
|
+
} from './Attribute';
|
|
30
|
+
import type { InviteResponse } from './InviteResponse';
|
|
31
|
+
import {
|
|
32
|
+
InviteResponseFromJSON,
|
|
33
|
+
InviteResponseFromJSONTyped,
|
|
34
|
+
InviteResponseToJSON,
|
|
35
|
+
InviteResponseToJSONTyped,
|
|
36
|
+
} from './InviteResponse';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface InviteResponseAttribute
|
|
42
|
+
*/
|
|
43
|
+
export interface InviteResponseAttribute {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof InviteResponseAttribute
|
|
48
|
+
*/
|
|
49
|
+
inviteResponseId: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof InviteResponseAttribute
|
|
54
|
+
*/
|
|
55
|
+
attributeKindKey: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof InviteResponseAttribute
|
|
60
|
+
*/
|
|
61
|
+
attributeValue: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {AttributeSource}
|
|
65
|
+
* @memberof InviteResponseAttribute
|
|
66
|
+
*/
|
|
67
|
+
source: AttributeSource;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {Date}
|
|
71
|
+
* @memberof InviteResponseAttribute
|
|
72
|
+
*/
|
|
73
|
+
createdAt: Date;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {InviteResponse}
|
|
77
|
+
* @memberof InviteResponseAttribute
|
|
78
|
+
*/
|
|
79
|
+
inviteResponse?: InviteResponse;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {Attribute}
|
|
83
|
+
* @memberof InviteResponseAttribute
|
|
84
|
+
*/
|
|
85
|
+
attribute?: Attribute;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Check if a given object implements the InviteResponseAttribute interface.
|
|
92
|
+
*/
|
|
93
|
+
export function instanceOfInviteResponseAttribute(value: object): value is InviteResponseAttribute {
|
|
94
|
+
if (!('inviteResponseId' in value) || value['inviteResponseId'] === undefined) return false;
|
|
95
|
+
if (!('attributeKindKey' in value) || value['attributeKindKey'] === undefined) return false;
|
|
96
|
+
if (!('attributeValue' in value) || value['attributeValue'] === undefined) return false;
|
|
97
|
+
if (!('source' in value) || value['source'] === undefined) return false;
|
|
98
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
99
|
+
return true;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function InviteResponseAttributeFromJSON(json: any): InviteResponseAttribute {
|
|
103
|
+
return InviteResponseAttributeFromJSONTyped(json, false);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function InviteResponseAttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteResponseAttribute {
|
|
107
|
+
if (json == null) {
|
|
108
|
+
return json;
|
|
109
|
+
}
|
|
110
|
+
return {
|
|
111
|
+
|
|
112
|
+
'inviteResponseId': json['inviteResponseId'],
|
|
113
|
+
'attributeKindKey': json['attributeKindKey'],
|
|
114
|
+
'attributeValue': json['attributeValue'],
|
|
115
|
+
'source': AttributeSourceFromJSON(json['source']),
|
|
116
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
117
|
+
'inviteResponse': json['inviteResponse'] == null ? undefined : InviteResponseFromJSON(json['inviteResponse']),
|
|
118
|
+
'attribute': json['attribute'] == null ? undefined : AttributeFromJSON(json['attribute']),
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export function InviteResponseAttributeToJSON(json: any): InviteResponseAttribute {
|
|
123
|
+
return InviteResponseAttributeToJSONTyped(json, false);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export function InviteResponseAttributeToJSONTyped(value?: InviteResponseAttribute | null, ignoreDiscriminator: boolean = false): any {
|
|
127
|
+
if (value == null) {
|
|
128
|
+
return value;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
return {
|
|
132
|
+
|
|
133
|
+
'inviteResponseId': value['inviteResponseId'],
|
|
134
|
+
'attributeKindKey': value['attributeKindKey'],
|
|
135
|
+
'attributeValue': value['attributeValue'],
|
|
136
|
+
'source': AttributeSourceToJSON(value['source']),
|
|
137
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
138
|
+
'inviteResponse': InviteResponseToJSON(value['inviteResponse']),
|
|
139
|
+
'attribute': AttributeToJSON(value['attribute']),
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
@@ -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 InviteResponseData {
|
|
|
35
35
|
email?: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {Array<
|
|
38
|
+
* @type {Array<ScreenerQuestionResponse>}
|
|
39
39
|
* @memberof InviteResponseData
|
|
40
40
|
*/
|
|
41
|
-
screenerQuestionsResponses?: Array<
|
|
41
|
+
screenerQuestionsResponses?: Array<ScreenerQuestionResponse>;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {boolean}
|
|
@@ -71,7 +71,7 @@ export function InviteResponseDataFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
71
71
|
return {
|
|
72
72
|
|
|
73
73
|
'email': json['email'] == null ? undefined : json['email'],
|
|
74
|
-
'screenerQuestionsResponses': json['screenerQuestionsResponses'] == null ? undefined : ((json['screenerQuestionsResponses'] as Array<any>).map(
|
|
74
|
+
'screenerQuestionsResponses': json['screenerQuestionsResponses'] == null ? undefined : ((json['screenerQuestionsResponses'] as Array<any>).map(ScreenerQuestionResponseFromJSON)),
|
|
75
75
|
'consented': json['consented'] == null ? undefined : json['consented'],
|
|
76
76
|
'redirected': json['redirected'] == null ? undefined : json['redirected'],
|
|
77
77
|
};
|
|
@@ -89,7 +89,7 @@ export function InviteResponseDataToJSONTyped(value?: InviteResponseData | null,
|
|
|
89
89
|
return {
|
|
90
90
|
|
|
91
91
|
'email': value['email'],
|
|
92
|
-
'screenerQuestionsResponses': value['screenerQuestionsResponses'] == null ? undefined : ((value['screenerQuestionsResponses'] as Array<any>).map(
|
|
92
|
+
'screenerQuestionsResponses': value['screenerQuestionsResponses'] == null ? undefined : ((value['screenerQuestionsResponses'] as Array<any>).map(ScreenerQuestionResponseToJSON)),
|
|
93
93
|
'consented': value['consented'],
|
|
94
94
|
'redirected': value['redirected'],
|
|
95
95
|
};
|