keplar-api 0.0.9 → 0.0.11
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 +43 -23
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +413 -251
- package/dist/apis/DefaultApi.js +1749 -799
- package/dist/models/ApiInvitesIdParticipantInvitesGet200Response.d.ts +51 -0
- package/dist/models/ApiInvitesIdParticipantInvitesGet200Response.js +64 -0
- package/dist/models/AttributeStatsSchemaInnerValuesInner.d.ts +6 -0
- package/dist/models/AttributeStatsSchemaInnerValuesInner.js +4 -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/CreateEmailShareRequest.d.ts +38 -0
- package/dist/models/CreateEmailShareRequest.js +53 -0
- package/dist/models/CreateProjectShareRequest.d.ts +38 -0
- package/dist/models/CreateProjectShareRequest.js +51 -0
- package/dist/models/CreateProjectShareResponse.d.ts +45 -0
- package/dist/models/CreateProjectShareResponse.js +60 -0
- package/dist/models/DeleteEmailShare200Response.d.ts +32 -0
- package/dist/models/DeleteEmailShare200Response.js +51 -0
- package/dist/models/EmailShare.d.ts +75 -0
- package/dist/models/EmailShare.js +77 -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/GetShareEntities200Response.d.ts +39 -0
- package/dist/models/GetShareEntities200Response.js +56 -0
- package/dist/models/GetSharedInviteResponses200Response.d.ts +51 -0
- package/dist/models/GetSharedInviteResponses200Response.js +64 -0
- package/dist/models/GetSharedInviteResponsesStatusesParameterInner.d.ts +26 -0
- package/dist/models/GetSharedInviteResponsesStatusesParameterInner.js +39 -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/InviteResponseShareConfig.d.ts +39 -0
- package/dist/models/InviteResponseShareConfig.js +58 -0
- 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/ProjectShareConfig.d.ts +39 -0
- package/dist/models/ProjectShareConfig.js +58 -0
- package/dist/models/RequestShareAccess200Response.d.ts +38 -0
- package/dist/models/RequestShareAccess200Response.js +55 -0
- package/dist/models/RequestShareAccessRequest.d.ts +32 -0
- package/dist/models/RequestShareAccessRequest.js +51 -0
- 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/ShareEntity.d.ts +102 -0
- package/dist/models/ShareEntity.js +92 -0
- package/dist/models/ShareEntityConfig.d.ts +27 -0
- package/dist/models/ShareEntityConfig.js +54 -0
- package/dist/models/ShareEntityCreatedByKind.d.ts +26 -0
- package/dist/models/ShareEntityCreatedByKind.js +52 -0
- package/dist/models/ShareEntityKind.d.ts +25 -0
- package/dist/models/ShareEntityKind.js +51 -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/UpdateShareEntityRequest.d.ts +38 -0
- package/dist/models/UpdateShareEntityRequest.js +52 -0
- package/dist/models/VerifyEmailAccessForShare200Response.d.ts +38 -0
- package/dist/models/VerifyEmailAccessForShare200Response.js +55 -0
- package/dist/models/VerifyEmailAccessForShareRequest.d.ts +32 -0
- package/dist/models/VerifyEmailAccessForShareRequest.js +51 -0
- package/dist/models/index.d.ts +43 -23
- package/dist/models/index.js +43 -23
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +1991 -1038
- package/src/models/ApiInvitesIdParticipantInvitesGet200Response.ts +101 -0
- package/src/models/AttributeStatsSchemaInnerValuesInner.ts +9 -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/CreateEmailShareRequest.ts +74 -0
- package/src/models/CreateProjectShareRequest.ts +73 -0
- package/src/models/CreateProjectShareResponse.ts +92 -0
- package/src/models/DeleteEmailShare200Response.ts +66 -0
- package/src/models/EmailShare.ts +135 -0
- package/src/models/{ApiInviteCodeCodeGet200Response.ts → GetCodeInvite200Response.ts} +45 -29
- package/src/models/GetCodeInviteResponseRedirect200Response.ts +66 -0
- package/src/models/GetShareEntities200Response.ts +83 -0
- package/src/models/GetSharedInviteResponses200Response.ts +101 -0
- package/src/models/GetSharedInviteResponsesStatusesParameterInner.ts +46 -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/InviteResponseShareConfig.ts +76 -0
- 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/ProjectShareConfig.ts +76 -0
- package/src/models/RequestShareAccess200Response.ts +75 -0
- package/src/models/RequestShareAccessRequest.ts +66 -0
- 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/ShareEntity.ts +192 -0
- package/src/models/ShareEntityConfig.ts +72 -0
- package/src/models/ShareEntityCreatedByKind.ts +54 -0
- package/src/models/ShareEntityKind.ts +53 -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/UpdateShareEntityRequest.ts +73 -0
- package/src/models/VerifyEmailAccessForShare200Response.ts +75 -0
- package/src/models/VerifyEmailAccessForShareRequest.ts +66 -0
- package/src/models/index.ts +43 -23
- 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/ApiInvitesIdResponsesGet200Response.d.ts +0 -51
- package/dist/models/ApiInvitesIdResponsesGet200Response.js +0 -64
- 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/ApiInvitesIdResponsesGet200Response.ts +0 -101
- 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
|
@@ -9,80 +9,22 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
12
|
+
import type { InviteConfigContacts } from './InviteConfigContacts';
|
|
13
|
+
import type { InviteConfigKeplarPanel } from './InviteConfigKeplarPanel';
|
|
14
|
+
import type { InviteConfigPublic } from './InviteConfigPublic';
|
|
14
15
|
/**
|
|
16
|
+
* @type InviteConfig
|
|
15
17
|
*
|
|
16
18
|
* @export
|
|
17
|
-
* @interface InviteConfig
|
|
18
19
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {number}
|
|
29
|
-
* @memberof InviteConfig
|
|
30
|
-
*/
|
|
31
|
-
maxResponsesPerParticipant?: number;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {Array<string>}
|
|
35
|
-
* @memberof InviteConfig
|
|
36
|
-
*/
|
|
37
|
-
allowedOrigins: Array<string>;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {boolean}
|
|
41
|
-
* @memberof InviteConfig
|
|
42
|
-
*/
|
|
43
|
-
allowAnonymousResponses: boolean;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {boolean}
|
|
47
|
-
* @memberof InviteConfig
|
|
48
|
-
*/
|
|
49
|
-
collectEmail?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof InviteConfig
|
|
54
|
-
*/
|
|
55
|
-
privacyNotice?: string;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {boolean}
|
|
59
|
-
* @memberof InviteConfig
|
|
60
|
-
*/
|
|
61
|
-
showCallMetadata?: boolean;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {RepDataConfigLegacy}
|
|
65
|
-
* @memberof InviteConfig
|
|
66
|
-
*/
|
|
67
|
-
repData?: RepDataConfigLegacy;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {RepdataSurvey}
|
|
71
|
-
* @memberof InviteConfig
|
|
72
|
-
*/
|
|
73
|
-
repDataSurvey?: RepdataSurvey;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {string}
|
|
77
|
-
* @memberof InviteConfig
|
|
78
|
-
*/
|
|
79
|
-
testParticipantInviteCode?: string;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Check if a given object implements the InviteConfig interface.
|
|
83
|
-
*/
|
|
84
|
-
export declare function instanceOfInviteConfig(value: object): value is InviteConfig;
|
|
20
|
+
export type InviteConfig = {
|
|
21
|
+
kind: 'CONTACTS';
|
|
22
|
+
} & InviteConfigContacts | {
|
|
23
|
+
kind: 'KEPLAR_PANEL';
|
|
24
|
+
} & InviteConfigKeplarPanel | {
|
|
25
|
+
kind: 'PUBLIC';
|
|
26
|
+
} & InviteConfigPublic;
|
|
85
27
|
export declare function InviteConfigFromJSON(json: any): InviteConfig;
|
|
86
28
|
export declare function InviteConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteConfig;
|
|
87
|
-
export declare function InviteConfigToJSON(json: any):
|
|
29
|
+
export declare function InviteConfigToJSON(json: any): any;
|
|
88
30
|
export declare function InviteConfigToJSONTyped(value?: InviteConfig | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,23 +13,13 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfInviteConfig = instanceOfInviteConfig;
|
|
17
16
|
exports.InviteConfigFromJSON = InviteConfigFromJSON;
|
|
18
17
|
exports.InviteConfigFromJSONTyped = InviteConfigFromJSONTyped;
|
|
19
18
|
exports.InviteConfigToJSON = InviteConfigToJSON;
|
|
20
19
|
exports.InviteConfigToJSONTyped = InviteConfigToJSONTyped;
|
|
21
|
-
var
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
* Check if a given object implements the InviteConfig interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfInviteConfig(value) {
|
|
27
|
-
if (!('allowedOrigins' in value) || value['allowedOrigins'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('allowAnonymousResponses' in value) || value['allowAnonymousResponses'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
20
|
+
var InviteConfigContacts_1 = require("./InviteConfigContacts");
|
|
21
|
+
var InviteConfigKeplarPanel_1 = require("./InviteConfigKeplarPanel");
|
|
22
|
+
var InviteConfigPublic_1 = require("./InviteConfigPublic");
|
|
33
23
|
function InviteConfigFromJSON(json) {
|
|
34
24
|
return InviteConfigFromJSONTyped(json, false);
|
|
35
25
|
}
|
|
@@ -37,18 +27,16 @@ function InviteConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
27
|
if (json == null) {
|
|
38
28
|
return json;
|
|
39
29
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
'
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
'testParticipantInviteCode': json['testParticipantInviteCode'] == null ? undefined : json['testParticipantInviteCode'],
|
|
51
|
-
};
|
|
30
|
+
switch (json['kind']) {
|
|
31
|
+
case 'CONTACTS':
|
|
32
|
+
return Object.assign({}, (0, InviteConfigContacts_1.InviteConfigContactsFromJSONTyped)(json, true), { kind: 'CONTACTS' });
|
|
33
|
+
case 'KEPLAR_PANEL':
|
|
34
|
+
return Object.assign({}, (0, InviteConfigKeplarPanel_1.InviteConfigKeplarPanelFromJSONTyped)(json, true), { kind: 'KEPLAR_PANEL' });
|
|
35
|
+
case 'PUBLIC':
|
|
36
|
+
return Object.assign({}, (0, InviteConfigPublic_1.InviteConfigPublicFromJSONTyped)(json, true), { kind: 'PUBLIC' });
|
|
37
|
+
default:
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
52
40
|
}
|
|
53
41
|
function InviteConfigToJSON(json) {
|
|
54
42
|
return InviteConfigToJSONTyped(json, false);
|
|
@@ -58,16 +46,14 @@ function InviteConfigToJSONTyped(value, ignoreDiscriminator) {
|
|
|
58
46
|
if (value == null) {
|
|
59
47
|
return value;
|
|
60
48
|
}
|
|
61
|
-
|
|
62
|
-
'
|
|
63
|
-
|
|
64
|
-
'
|
|
65
|
-
|
|
66
|
-
'
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
'testParticipantInviteCode': value['testParticipantInviteCode'],
|
|
72
|
-
};
|
|
49
|
+
switch (value['kind']) {
|
|
50
|
+
case 'CONTACTS':
|
|
51
|
+
return Object.assign({}, (0, InviteConfigContacts_1.InviteConfigContactsToJSON)(value), { kind: 'CONTACTS' });
|
|
52
|
+
case 'KEPLAR_PANEL':
|
|
53
|
+
return Object.assign({}, (0, InviteConfigKeplarPanel_1.InviteConfigKeplarPanelToJSON)(value), { kind: 'KEPLAR_PANEL' });
|
|
54
|
+
case 'PUBLIC':
|
|
55
|
+
return Object.assign({}, (0, InviteConfigPublic_1.InviteConfigPublicToJSON)(value), { kind: 'PUBLIC' });
|
|
56
|
+
default:
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
73
59
|
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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 InviteConfigContacts
|
|
16
|
+
*/
|
|
17
|
+
export interface InviteConfigContacts {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InviteConfigContacts
|
|
22
|
+
*/
|
|
23
|
+
kind: InviteConfigContactsKindEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof InviteConfigContacts
|
|
28
|
+
*/
|
|
29
|
+
isTest?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof InviteConfigContacts
|
|
34
|
+
*/
|
|
35
|
+
showCallMetadata?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof InviteConfigContacts
|
|
40
|
+
*/
|
|
41
|
+
title: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof InviteConfigContacts
|
|
46
|
+
*/
|
|
47
|
+
description?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof InviteConfigContacts
|
|
52
|
+
*/
|
|
53
|
+
maxResponses?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof InviteConfigContacts
|
|
58
|
+
*/
|
|
59
|
+
maxResponsesPerParticipant?: number;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const InviteConfigContactsKindEnum: {
|
|
65
|
+
readonly Contacts: "CONTACTS";
|
|
66
|
+
};
|
|
67
|
+
export type InviteConfigContactsKindEnum = typeof InviteConfigContactsKindEnum[keyof typeof InviteConfigContactsKindEnum];
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the InviteConfigContacts interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfInviteConfigContacts(value: object): value is InviteConfigContacts;
|
|
72
|
+
export declare function InviteConfigContactsFromJSON(json: any): InviteConfigContacts;
|
|
73
|
+
export declare function InviteConfigContactsFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteConfigContacts;
|
|
74
|
+
export declare function InviteConfigContactsToJSON(json: any): InviteConfigContacts;
|
|
75
|
+
export declare function InviteConfigContactsToJSONTyped(value?: InviteConfigContacts | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,72 @@
|
|
|
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.InviteConfigContactsKindEnum = void 0;
|
|
17
|
+
exports.instanceOfInviteConfigContacts = instanceOfInviteConfigContacts;
|
|
18
|
+
exports.InviteConfigContactsFromJSON = InviteConfigContactsFromJSON;
|
|
19
|
+
exports.InviteConfigContactsFromJSONTyped = InviteConfigContactsFromJSONTyped;
|
|
20
|
+
exports.InviteConfigContactsToJSON = InviteConfigContactsToJSON;
|
|
21
|
+
exports.InviteConfigContactsToJSONTyped = InviteConfigContactsToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.InviteConfigContactsKindEnum = {
|
|
26
|
+
Contacts: 'CONTACTS'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the InviteConfigContacts interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfInviteConfigContacts(value) {
|
|
32
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function InviteConfigContactsFromJSON(json) {
|
|
39
|
+
return InviteConfigContactsFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function InviteConfigContactsFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'kind': json['kind'],
|
|
47
|
+
'isTest': json['isTest'] == null ? undefined : json['isTest'],
|
|
48
|
+
'showCallMetadata': json['showCallMetadata'] == null ? undefined : json['showCallMetadata'],
|
|
49
|
+
'title': json['title'],
|
|
50
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
51
|
+
'maxResponses': json['maxResponses'] == null ? undefined : json['maxResponses'],
|
|
52
|
+
'maxResponsesPerParticipant': json['maxResponsesPerParticipant'] == null ? undefined : json['maxResponsesPerParticipant'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function InviteConfigContactsToJSON(json) {
|
|
56
|
+
return InviteConfigContactsToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function InviteConfigContactsToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'kind': value['kind'],
|
|
65
|
+
'isTest': value['isTest'],
|
|
66
|
+
'showCallMetadata': value['showCallMetadata'],
|
|
67
|
+
'title': value['title'],
|
|
68
|
+
'description': value['description'],
|
|
69
|
+
'maxResponses': value['maxResponses'],
|
|
70
|
+
'maxResponsesPerParticipant': value['maxResponsesPerParticipant'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
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 { RepdataSurvey } from './RepdataSurvey';
|
|
13
|
+
import type { PanelSettings } from './PanelSettings';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface InviteConfigKeplarPanel
|
|
18
|
+
*/
|
|
19
|
+
export interface InviteConfigKeplarPanel {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof InviteConfigKeplarPanel
|
|
24
|
+
*/
|
|
25
|
+
kind: InviteConfigKeplarPanelKindEnum;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<string>}
|
|
29
|
+
* @memberof InviteConfigKeplarPanel
|
|
30
|
+
*/
|
|
31
|
+
allowedOrigins?: Array<string>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof InviteConfigKeplarPanel
|
|
36
|
+
*/
|
|
37
|
+
collectEmail?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof InviteConfigKeplarPanel
|
|
42
|
+
*/
|
|
43
|
+
requireEmail?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {PanelSettings}
|
|
47
|
+
* @memberof InviteConfigKeplarPanel
|
|
48
|
+
*/
|
|
49
|
+
panelSettings: PanelSettings;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {RepdataSurvey}
|
|
53
|
+
* @memberof InviteConfigKeplarPanel
|
|
54
|
+
*/
|
|
55
|
+
repDataSurvey?: RepdataSurvey;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof InviteConfigKeplarPanel
|
|
60
|
+
*/
|
|
61
|
+
title: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof InviteConfigKeplarPanel
|
|
66
|
+
*/
|
|
67
|
+
description?: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {number}
|
|
71
|
+
* @memberof InviteConfigKeplarPanel
|
|
72
|
+
*/
|
|
73
|
+
maxResponses?: number;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {number}
|
|
77
|
+
* @memberof InviteConfigKeplarPanel
|
|
78
|
+
*/
|
|
79
|
+
maxResponsesPerParticipant?: number;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* @export
|
|
83
|
+
*/
|
|
84
|
+
export declare const InviteConfigKeplarPanelKindEnum: {
|
|
85
|
+
readonly KeplarPanel: "KEPLAR_PANEL";
|
|
86
|
+
};
|
|
87
|
+
export type InviteConfigKeplarPanelKindEnum = typeof InviteConfigKeplarPanelKindEnum[keyof typeof InviteConfigKeplarPanelKindEnum];
|
|
88
|
+
/**
|
|
89
|
+
* Check if a given object implements the InviteConfigKeplarPanel interface.
|
|
90
|
+
*/
|
|
91
|
+
export declare function instanceOfInviteConfigKeplarPanel(value: object): value is InviteConfigKeplarPanel;
|
|
92
|
+
export declare function InviteConfigKeplarPanelFromJSON(json: any): InviteConfigKeplarPanel;
|
|
93
|
+
export declare function InviteConfigKeplarPanelFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteConfigKeplarPanel;
|
|
94
|
+
export declare function InviteConfigKeplarPanelToJSON(json: any): InviteConfigKeplarPanel;
|
|
95
|
+
export declare function InviteConfigKeplarPanelToJSONTyped(value?: InviteConfigKeplarPanel | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,82 @@
|
|
|
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.InviteConfigKeplarPanelKindEnum = void 0;
|
|
17
|
+
exports.instanceOfInviteConfigKeplarPanel = instanceOfInviteConfigKeplarPanel;
|
|
18
|
+
exports.InviteConfigKeplarPanelFromJSON = InviteConfigKeplarPanelFromJSON;
|
|
19
|
+
exports.InviteConfigKeplarPanelFromJSONTyped = InviteConfigKeplarPanelFromJSONTyped;
|
|
20
|
+
exports.InviteConfigKeplarPanelToJSON = InviteConfigKeplarPanelToJSON;
|
|
21
|
+
exports.InviteConfigKeplarPanelToJSONTyped = InviteConfigKeplarPanelToJSONTyped;
|
|
22
|
+
var RepdataSurvey_1 = require("./RepdataSurvey");
|
|
23
|
+
var PanelSettings_1 = require("./PanelSettings");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.InviteConfigKeplarPanelKindEnum = {
|
|
28
|
+
KeplarPanel: 'KEPLAR_PANEL'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the InviteConfigKeplarPanel interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfInviteConfigKeplarPanel(value) {
|
|
34
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('panelSettings' in value) || value['panelSettings'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function InviteConfigKeplarPanelFromJSON(json) {
|
|
43
|
+
return InviteConfigKeplarPanelFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function InviteConfigKeplarPanelFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'kind': json['kind'],
|
|
51
|
+
'allowedOrigins': json['allowedOrigins'] == null ? undefined : json['allowedOrigins'],
|
|
52
|
+
'collectEmail': json['collectEmail'] == null ? undefined : json['collectEmail'],
|
|
53
|
+
'requireEmail': json['requireEmail'] == null ? undefined : json['requireEmail'],
|
|
54
|
+
'panelSettings': (0, PanelSettings_1.PanelSettingsFromJSON)(json['panelSettings']),
|
|
55
|
+
'repDataSurvey': json['repDataSurvey'] == null ? undefined : (0, RepdataSurvey_1.RepdataSurveyFromJSON)(json['repDataSurvey']),
|
|
56
|
+
'title': json['title'],
|
|
57
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
58
|
+
'maxResponses': json['maxResponses'] == null ? undefined : json['maxResponses'],
|
|
59
|
+
'maxResponsesPerParticipant': json['maxResponsesPerParticipant'] == null ? undefined : json['maxResponsesPerParticipant'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function InviteConfigKeplarPanelToJSON(json) {
|
|
63
|
+
return InviteConfigKeplarPanelToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function InviteConfigKeplarPanelToJSONTyped(value, ignoreDiscriminator) {
|
|
66
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'kind': value['kind'],
|
|
72
|
+
'allowedOrigins': value['allowedOrigins'],
|
|
73
|
+
'collectEmail': value['collectEmail'],
|
|
74
|
+
'requireEmail': value['requireEmail'],
|
|
75
|
+
'panelSettings': (0, PanelSettings_1.PanelSettingsToJSON)(value['panelSettings']),
|
|
76
|
+
'repDataSurvey': (0, RepdataSurvey_1.RepdataSurveyToJSON)(value['repDataSurvey']),
|
|
77
|
+
'title': value['title'],
|
|
78
|
+
'description': value['description'],
|
|
79
|
+
'maxResponses': value['maxResponses'],
|
|
80
|
+
'maxResponsesPerParticipant': value['maxResponsesPerParticipant'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 InviteConfigPublic
|
|
16
|
+
*/
|
|
17
|
+
export interface InviteConfigPublic {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InviteConfigPublic
|
|
22
|
+
*/
|
|
23
|
+
kind: InviteConfigPublicKindEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof InviteConfigPublic
|
|
28
|
+
*/
|
|
29
|
+
allowedOrigins?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof InviteConfigPublic
|
|
34
|
+
*/
|
|
35
|
+
collectEmail?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof InviteConfigPublic
|
|
40
|
+
*/
|
|
41
|
+
requireEmail?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof InviteConfigPublic
|
|
46
|
+
*/
|
|
47
|
+
title: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof InviteConfigPublic
|
|
52
|
+
*/
|
|
53
|
+
description?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof InviteConfigPublic
|
|
58
|
+
*/
|
|
59
|
+
maxResponses?: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof InviteConfigPublic
|
|
64
|
+
*/
|
|
65
|
+
maxResponsesPerParticipant?: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const InviteConfigPublicKindEnum: {
|
|
71
|
+
readonly Public: "PUBLIC";
|
|
72
|
+
};
|
|
73
|
+
export type InviteConfigPublicKindEnum = typeof InviteConfigPublicKindEnum[keyof typeof InviteConfigPublicKindEnum];
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the InviteConfigPublic interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfInviteConfigPublic(value: object): value is InviteConfigPublic;
|
|
78
|
+
export declare function InviteConfigPublicFromJSON(json: any): InviteConfigPublic;
|
|
79
|
+
export declare function InviteConfigPublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteConfigPublic;
|
|
80
|
+
export declare function InviteConfigPublicToJSON(json: any): InviteConfigPublic;
|
|
81
|
+
export declare function InviteConfigPublicToJSONTyped(value?: InviteConfigPublic | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
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.InviteConfigPublicKindEnum = void 0;
|
|
17
|
+
exports.instanceOfInviteConfigPublic = instanceOfInviteConfigPublic;
|
|
18
|
+
exports.InviteConfigPublicFromJSON = InviteConfigPublicFromJSON;
|
|
19
|
+
exports.InviteConfigPublicFromJSONTyped = InviteConfigPublicFromJSONTyped;
|
|
20
|
+
exports.InviteConfigPublicToJSON = InviteConfigPublicToJSON;
|
|
21
|
+
exports.InviteConfigPublicToJSONTyped = InviteConfigPublicToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.InviteConfigPublicKindEnum = {
|
|
26
|
+
Public: 'PUBLIC'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the InviteConfigPublic interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfInviteConfigPublic(value) {
|
|
32
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function InviteConfigPublicFromJSON(json) {
|
|
39
|
+
return InviteConfigPublicFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function InviteConfigPublicFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'kind': json['kind'],
|
|
47
|
+
'allowedOrigins': json['allowedOrigins'] == null ? undefined : json['allowedOrigins'],
|
|
48
|
+
'collectEmail': json['collectEmail'] == null ? undefined : json['collectEmail'],
|
|
49
|
+
'requireEmail': json['requireEmail'] == null ? undefined : json['requireEmail'],
|
|
50
|
+
'title': json['title'],
|
|
51
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
52
|
+
'maxResponses': json['maxResponses'] == null ? undefined : json['maxResponses'],
|
|
53
|
+
'maxResponsesPerParticipant': json['maxResponsesPerParticipant'] == null ? undefined : json['maxResponsesPerParticipant'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function InviteConfigPublicToJSON(json) {
|
|
57
|
+
return InviteConfigPublicToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function InviteConfigPublicToJSONTyped(value, ignoreDiscriminator) {
|
|
60
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'kind': value['kind'],
|
|
66
|
+
'allowedOrigins': value['allowedOrigins'],
|
|
67
|
+
'collectEmail': value['collectEmail'],
|
|
68
|
+
'requireEmail': value['requireEmail'],
|
|
69
|
+
'title': value['title'],
|
|
70
|
+
'description': value['description'],
|
|
71
|
+
'maxResponses': value['maxResponses'],
|
|
72
|
+
'maxResponsesPerParticipant': value['maxResponsesPerParticipant'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -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 InviteResponseData {
|
|
|
24
24
|
email?: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {Array<
|
|
27
|
+
* @type {Array<ScreenerQuestionResponse>}
|
|
28
28
|
* @memberof InviteResponseData
|
|
29
29
|
*/
|
|
30
|
-
screenerQuestionsResponses?: Array<
|
|
30
|
+
screenerQuestionsResponses?: Array<ScreenerQuestionResponse>;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {boolean}
|