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
|
@@ -0,0 +1,101 @@
|
|
|
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 { ParticipantInvite } from './ParticipantInvite';
|
|
17
|
+
import {
|
|
18
|
+
ParticipantInviteFromJSON,
|
|
19
|
+
ParticipantInviteFromJSONTyped,
|
|
20
|
+
ParticipantInviteToJSON,
|
|
21
|
+
ParticipantInviteToJSONTyped,
|
|
22
|
+
} from './ParticipantInvite';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiInvitesIdParticipantInvitesGet200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiInvitesIdParticipantInvitesGet200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<ParticipantInvite>}
|
|
33
|
+
* @memberof ApiInvitesIdParticipantInvitesGet200Response
|
|
34
|
+
*/
|
|
35
|
+
items: Array<ParticipantInvite>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ApiInvitesIdParticipantInvitesGet200Response
|
|
40
|
+
*/
|
|
41
|
+
total: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ApiInvitesIdParticipantInvitesGet200Response
|
|
46
|
+
*/
|
|
47
|
+
page: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiInvitesIdParticipantInvitesGet200Response
|
|
52
|
+
*/
|
|
53
|
+
limit: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ApiInvitesIdParticipantInvitesGet200Response interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfApiInvitesIdParticipantInvitesGet200Response(value: object): value is ApiInvitesIdParticipantInvitesGet200Response {
|
|
60
|
+
if (!('items' in value) || value['items'] === undefined) return false;
|
|
61
|
+
if (!('total' in value) || value['total'] === undefined) return false;
|
|
62
|
+
if (!('page' in value) || value['page'] === undefined) return false;
|
|
63
|
+
if (!('limit' in value) || value['limit'] === undefined) return false;
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function ApiInvitesIdParticipantInvitesGet200ResponseFromJSON(json: any): ApiInvitesIdParticipantInvitesGet200Response {
|
|
68
|
+
return ApiInvitesIdParticipantInvitesGet200ResponseFromJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function ApiInvitesIdParticipantInvitesGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiInvitesIdParticipantInvitesGet200Response {
|
|
72
|
+
if (json == null) {
|
|
73
|
+
return json;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'items': ((json['items'] as Array<any>).map(ParticipantInviteFromJSON)),
|
|
78
|
+
'total': json['total'],
|
|
79
|
+
'page': json['page'],
|
|
80
|
+
'limit': json['limit'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function ApiInvitesIdParticipantInvitesGet200ResponseToJSON(json: any): ApiInvitesIdParticipantInvitesGet200Response {
|
|
85
|
+
return ApiInvitesIdParticipantInvitesGet200ResponseToJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function ApiInvitesIdParticipantInvitesGet200ResponseToJSONTyped(value?: ApiInvitesIdParticipantInvitesGet200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
+
if (value == null) {
|
|
90
|
+
return value;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'items': ((value['items'] as Array<any>).map(ParticipantInviteToJSON)),
|
|
96
|
+
'total': value['total'],
|
|
97
|
+
'page': value['page'],
|
|
98
|
+
'limit': value['limit'],
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
@@ -31,6 +31,12 @@ export interface AttributeStatsSchemaInnerValuesInner {
|
|
|
31
31
|
* @memberof AttributeStatsSchemaInnerValuesInner
|
|
32
32
|
*/
|
|
33
33
|
count: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof AttributeStatsSchemaInnerValuesInner
|
|
38
|
+
*/
|
|
39
|
+
totalCount: number;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
/**
|
|
@@ -39,6 +45,7 @@ export interface AttributeStatsSchemaInnerValuesInner {
|
|
|
39
45
|
export function instanceOfAttributeStatsSchemaInnerValuesInner(value: object): value is AttributeStatsSchemaInnerValuesInner {
|
|
40
46
|
if (!('value' in value) || value['value'] === undefined) return false;
|
|
41
47
|
if (!('count' in value) || value['count'] === undefined) return false;
|
|
48
|
+
if (!('totalCount' in value) || value['totalCount'] === undefined) return false;
|
|
42
49
|
return true;
|
|
43
50
|
}
|
|
44
51
|
|
|
@@ -54,6 +61,7 @@ export function AttributeStatsSchemaInnerValuesInnerFromJSONTyped(json: any, ign
|
|
|
54
61
|
|
|
55
62
|
'value': json['value'],
|
|
56
63
|
'count': json['count'],
|
|
64
|
+
'totalCount': json['totalCount'],
|
|
57
65
|
};
|
|
58
66
|
}
|
|
59
67
|
|
|
@@ -70,6 +78,7 @@ export function AttributeStatsSchemaInnerValuesInnerToJSONTyped(value?: Attribut
|
|
|
70
78
|
|
|
71
79
|
'value': value['value'],
|
|
72
80
|
'count': value['count'],
|
|
81
|
+
'totalCount': value['totalCount'],
|
|
73
82
|
};
|
|
74
83
|
}
|
|
75
84
|
|
|
@@ -0,0 +1,101 @@
|
|
|
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 { CallMetadata } from './CallMetadata';
|
|
17
|
+
import {
|
|
18
|
+
CallMetadataFromJSON,
|
|
19
|
+
CallMetadataFromJSONTyped,
|
|
20
|
+
CallMetadataToJSON,
|
|
21
|
+
CallMetadataToJSONTyped,
|
|
22
|
+
} from './CallMetadata';
|
|
23
|
+
import type { CallStatus } from './CallStatus';
|
|
24
|
+
import {
|
|
25
|
+
CallStatusFromJSON,
|
|
26
|
+
CallStatusFromJSONTyped,
|
|
27
|
+
CallStatusToJSON,
|
|
28
|
+
CallStatusToJSONTyped,
|
|
29
|
+
} from './CallStatus';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface CallSummary
|
|
35
|
+
*/
|
|
36
|
+
export interface CallSummary {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CallSummary
|
|
41
|
+
*/
|
|
42
|
+
id: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {CallStatus}
|
|
46
|
+
* @memberof CallSummary
|
|
47
|
+
*/
|
|
48
|
+
status: CallStatus | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {CallMetadata}
|
|
52
|
+
* @memberof CallSummary
|
|
53
|
+
*/
|
|
54
|
+
metadata: CallMetadata | null;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the CallSummary interface.
|
|
61
|
+
*/
|
|
62
|
+
export function instanceOfCallSummary(value: object): value is CallSummary {
|
|
63
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
64
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
65
|
+
if (!('metadata' in value) || value['metadata'] === undefined) return false;
|
|
66
|
+
return true;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function CallSummaryFromJSON(json: any): CallSummary {
|
|
70
|
+
return CallSummaryFromJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function CallSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): CallSummary {
|
|
74
|
+
if (json == null) {
|
|
75
|
+
return json;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'id': json['id'],
|
|
80
|
+
'status': CallStatusFromJSON(json['status']),
|
|
81
|
+
'metadata': CallMetadataFromJSON(json['metadata']),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function CallSummaryToJSON(json: any): CallSummary {
|
|
86
|
+
return CallSummaryToJSONTyped(json, false);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function CallSummaryToJSONTyped(value?: CallSummary | null, ignoreDiscriminator: boolean = false): any {
|
|
90
|
+
if (value == null) {
|
|
91
|
+
return value;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
return {
|
|
95
|
+
|
|
96
|
+
'id': value['id'],
|
|
97
|
+
'status': CallStatusToJSON(value['status']),
|
|
98
|
+
'metadata': CallMetadataToJSON(value['metadata']),
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
package/src/models/CodeInvite.ts
CHANGED
|
@@ -13,13 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ApiInviteCodeCodeStartGet302ResponseSettings } from './ApiInviteCodeCodeStartGet302ResponseSettings';
|
|
17
|
-
import {
|
|
18
|
-
ApiInviteCodeCodeStartGet302ResponseSettingsFromJSON,
|
|
19
|
-
ApiInviteCodeCodeStartGet302ResponseSettingsFromJSONTyped,
|
|
20
|
-
ApiInviteCodeCodeStartGet302ResponseSettingsToJSON,
|
|
21
|
-
ApiInviteCodeCodeStartGet302ResponseSettingsToJSONTyped,
|
|
22
|
-
} from './ApiInviteCodeCodeStartGet302ResponseSettings';
|
|
23
16
|
import type { InviteStatus } from './InviteStatus';
|
|
24
17
|
import {
|
|
25
18
|
InviteStatusFromJSON,
|
|
@@ -27,6 +20,20 @@ import {
|
|
|
27
20
|
InviteStatusToJSON,
|
|
28
21
|
InviteStatusToJSONTyped,
|
|
29
22
|
} from './InviteStatus';
|
|
23
|
+
import type { CodeInviteConfig } from './CodeInviteConfig';
|
|
24
|
+
import {
|
|
25
|
+
CodeInviteConfigFromJSON,
|
|
26
|
+
CodeInviteConfigFromJSONTyped,
|
|
27
|
+
CodeInviteConfigToJSON,
|
|
28
|
+
CodeInviteConfigToJSONTyped,
|
|
29
|
+
} from './CodeInviteConfig';
|
|
30
|
+
import type { JoinCodeInvite302ResponseSettings } from './JoinCodeInvite302ResponseSettings';
|
|
31
|
+
import {
|
|
32
|
+
JoinCodeInvite302ResponseSettingsFromJSON,
|
|
33
|
+
JoinCodeInvite302ResponseSettingsFromJSONTyped,
|
|
34
|
+
JoinCodeInvite302ResponseSettingsToJSON,
|
|
35
|
+
JoinCodeInvite302ResponseSettingsToJSONTyped,
|
|
36
|
+
} from './JoinCodeInvite302ResponseSettings';
|
|
30
37
|
|
|
31
38
|
/**
|
|
32
39
|
*
|
|
@@ -78,10 +85,16 @@ export interface CodeInvite {
|
|
|
78
85
|
projectId: string;
|
|
79
86
|
/**
|
|
80
87
|
*
|
|
81
|
-
* @type {
|
|
88
|
+
* @type {CodeInviteConfig}
|
|
89
|
+
* @memberof CodeInvite
|
|
90
|
+
*/
|
|
91
|
+
config: CodeInviteConfig;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {JoinCodeInvite302ResponseSettings}
|
|
82
95
|
* @memberof CodeInvite
|
|
83
96
|
*/
|
|
84
|
-
settings:
|
|
97
|
+
settings: JoinCodeInvite302ResponseSettings;
|
|
85
98
|
}
|
|
86
99
|
|
|
87
100
|
|
|
@@ -95,6 +108,7 @@ export function instanceOfCodeInvite(value: object): value is CodeInvite {
|
|
|
95
108
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
96
109
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
97
110
|
if (!('projectId' in value) || value['projectId'] === undefined) return false;
|
|
111
|
+
if (!('config' in value) || value['config'] === undefined) return false;
|
|
98
112
|
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
99
113
|
return true;
|
|
100
114
|
}
|
|
@@ -116,7 +130,8 @@ export function CodeInviteFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
116
130
|
'status': InviteStatusFromJSON(json['status']),
|
|
117
131
|
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
118
132
|
'projectId': json['projectId'],
|
|
119
|
-
'
|
|
133
|
+
'config': CodeInviteConfigFromJSON(json['config']),
|
|
134
|
+
'settings': JoinCodeInvite302ResponseSettingsFromJSON(json['settings']),
|
|
120
135
|
};
|
|
121
136
|
}
|
|
122
137
|
|
|
@@ -138,7 +153,8 @@ export function CodeInviteToJSONTyped(value?: CodeInvite | null, ignoreDiscrimin
|
|
|
138
153
|
'status': InviteStatusToJSON(value['status']),
|
|
139
154
|
'expiresAt': value['expiresAt'] === null ? null : ((value['expiresAt'] as any)?.toISOString()),
|
|
140
155
|
'projectId': value['projectId'],
|
|
141
|
-
'
|
|
156
|
+
'config': CodeInviteConfigToJSON(value['config']),
|
|
157
|
+
'settings': JoinCodeInvite302ResponseSettingsToJSON(value['settings']),
|
|
142
158
|
};
|
|
143
159
|
}
|
|
144
160
|
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Fastify Template API
|
|
5
|
+
* API documentation using Swagger
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import type { CodeInviteConfigContacts } from './CodeInviteConfigContacts';
|
|
16
|
+
import {
|
|
17
|
+
instanceOfCodeInviteConfigContacts,
|
|
18
|
+
CodeInviteConfigContactsFromJSON,
|
|
19
|
+
CodeInviteConfigContactsFromJSONTyped,
|
|
20
|
+
CodeInviteConfigContactsToJSON,
|
|
21
|
+
} from './CodeInviteConfigContacts';
|
|
22
|
+
import type { CodeInviteConfigKeplarPanel } from './CodeInviteConfigKeplarPanel';
|
|
23
|
+
import {
|
|
24
|
+
instanceOfCodeInviteConfigKeplarPanel,
|
|
25
|
+
CodeInviteConfigKeplarPanelFromJSON,
|
|
26
|
+
CodeInviteConfigKeplarPanelFromJSONTyped,
|
|
27
|
+
CodeInviteConfigKeplarPanelToJSON,
|
|
28
|
+
} from './CodeInviteConfigKeplarPanel';
|
|
29
|
+
import type { InviteConfigPublic } from './InviteConfigPublic';
|
|
30
|
+
import {
|
|
31
|
+
instanceOfInviteConfigPublic,
|
|
32
|
+
InviteConfigPublicFromJSON,
|
|
33
|
+
InviteConfigPublicFromJSONTyped,
|
|
34
|
+
InviteConfigPublicToJSON,
|
|
35
|
+
} from './InviteConfigPublic';
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @type CodeInviteConfig
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
export type CodeInviteConfig = { kind: 'CONTACTS' } & CodeInviteConfigContacts | { kind: 'KEPLAR_PANEL' } & CodeInviteConfigKeplarPanel | { kind: 'PUBLIC' } & InviteConfigPublic;
|
|
43
|
+
|
|
44
|
+
export function CodeInviteConfigFromJSON(json: any): CodeInviteConfig {
|
|
45
|
+
return CodeInviteConfigFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function CodeInviteConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeInviteConfig {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
switch (json['kind']) {
|
|
53
|
+
case 'CONTACTS':
|
|
54
|
+
return Object.assign({}, CodeInviteConfigContactsFromJSONTyped(json, true), { kind: 'CONTACTS' } as const);
|
|
55
|
+
case 'KEPLAR_PANEL':
|
|
56
|
+
return Object.assign({}, CodeInviteConfigKeplarPanelFromJSONTyped(json, true), { kind: 'KEPLAR_PANEL' } as const);
|
|
57
|
+
case 'PUBLIC':
|
|
58
|
+
return Object.assign({}, InviteConfigPublicFromJSONTyped(json, true), { kind: 'PUBLIC' } as const);
|
|
59
|
+
default:
|
|
60
|
+
return json;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function CodeInviteConfigToJSON(json: any): any {
|
|
65
|
+
return CodeInviteConfigToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function CodeInviteConfigToJSONTyped(value?: CodeInviteConfig | null, ignoreDiscriminator: boolean = false): any {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
switch (value['kind']) {
|
|
73
|
+
case 'CONTACTS':
|
|
74
|
+
return Object.assign({}, CodeInviteConfigContactsToJSON(value), { kind: 'CONTACTS' } as const);
|
|
75
|
+
case 'KEPLAR_PANEL':
|
|
76
|
+
return Object.assign({}, CodeInviteConfigKeplarPanelToJSON(value), { kind: 'KEPLAR_PANEL' } as const);
|
|
77
|
+
case 'PUBLIC':
|
|
78
|
+
return Object.assign({}, InviteConfigPublicToJSON(value), { kind: 'PUBLIC' } as const);
|
|
79
|
+
default:
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -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 CodeInviteConfigContacts
|
|
20
|
+
*/
|
|
21
|
+
export interface CodeInviteConfigContacts {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CodeInviteConfigContacts
|
|
26
|
+
*/
|
|
27
|
+
kind: CodeInviteConfigContactsKindEnum;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof CodeInviteConfigContacts
|
|
32
|
+
*/
|
|
33
|
+
isTest?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof CodeInviteConfigContacts
|
|
38
|
+
*/
|
|
39
|
+
showCallMetadata?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof CodeInviteConfigContacts
|
|
44
|
+
*/
|
|
45
|
+
title: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof CodeInviteConfigContacts
|
|
50
|
+
*/
|
|
51
|
+
description?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof CodeInviteConfigContacts
|
|
56
|
+
*/
|
|
57
|
+
maxResponses?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof CodeInviteConfigContacts
|
|
62
|
+
*/
|
|
63
|
+
maxResponsesPerParticipant?: number;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export const CodeInviteConfigContactsKindEnum = {
|
|
71
|
+
Contacts: 'CONTACTS'
|
|
72
|
+
} as const;
|
|
73
|
+
export type CodeInviteConfigContactsKindEnum = typeof CodeInviteConfigContactsKindEnum[keyof typeof CodeInviteConfigContactsKindEnum];
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the CodeInviteConfigContacts interface.
|
|
78
|
+
*/
|
|
79
|
+
export function instanceOfCodeInviteConfigContacts(value: object): value is CodeInviteConfigContacts {
|
|
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 CodeInviteConfigContactsFromJSON(json: any): CodeInviteConfigContacts {
|
|
86
|
+
return CodeInviteConfigContactsFromJSONTyped(json, false);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function CodeInviteConfigContactsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeInviteConfigContacts {
|
|
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 CodeInviteConfigContactsToJSON(json: any): CodeInviteConfigContacts {
|
|
106
|
+
return CodeInviteConfigContactsToJSONTyped(json, false);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function CodeInviteConfigContactsToJSONTyped(value?: CodeInviteConfigContacts | 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,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 { PanelSettings } from './PanelSettings';
|
|
17
|
+
import {
|
|
18
|
+
PanelSettingsFromJSON,
|
|
19
|
+
PanelSettingsFromJSONTyped,
|
|
20
|
+
PanelSettingsToJSON,
|
|
21
|
+
PanelSettingsToJSONTyped,
|
|
22
|
+
} from './PanelSettings';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface CodeInviteConfigKeplarPanel
|
|
28
|
+
*/
|
|
29
|
+
export interface CodeInviteConfigKeplarPanel {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CodeInviteConfigKeplarPanel
|
|
34
|
+
*/
|
|
35
|
+
kind: CodeInviteConfigKeplarPanelKindEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof CodeInviteConfigKeplarPanel
|
|
40
|
+
*/
|
|
41
|
+
collectEmail?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof CodeInviteConfigKeplarPanel
|
|
46
|
+
*/
|
|
47
|
+
requireEmail?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {PanelSettings}
|
|
51
|
+
* @memberof CodeInviteConfigKeplarPanel
|
|
52
|
+
*/
|
|
53
|
+
panelSettings: PanelSettings;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CodeInviteConfigKeplarPanel
|
|
58
|
+
*/
|
|
59
|
+
title: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CodeInviteConfigKeplarPanel
|
|
64
|
+
*/
|
|
65
|
+
description?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof CodeInviteConfigKeplarPanel
|
|
70
|
+
*/
|
|
71
|
+
maxResponses?: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof CodeInviteConfigKeplarPanel
|
|
76
|
+
*/
|
|
77
|
+
maxResponsesPerParticipant?: number;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @export
|
|
83
|
+
*/
|
|
84
|
+
export const CodeInviteConfigKeplarPanelKindEnum = {
|
|
85
|
+
KeplarPanel: 'KEPLAR_PANEL'
|
|
86
|
+
} as const;
|
|
87
|
+
export type CodeInviteConfigKeplarPanelKindEnum = typeof CodeInviteConfigKeplarPanelKindEnum[keyof typeof CodeInviteConfigKeplarPanelKindEnum];
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Check if a given object implements the CodeInviteConfigKeplarPanel interface.
|
|
92
|
+
*/
|
|
93
|
+
export function instanceOfCodeInviteConfigKeplarPanel(value: object): value is CodeInviteConfigKeplarPanel {
|
|
94
|
+
if (!('kind' in value) || value['kind'] === undefined) return false;
|
|
95
|
+
if (!('panelSettings' in value) || value['panelSettings'] === undefined) return false;
|
|
96
|
+
if (!('title' in value) || value['title'] === undefined) return false;
|
|
97
|
+
return true;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function CodeInviteConfigKeplarPanelFromJSON(json: any): CodeInviteConfigKeplarPanel {
|
|
101
|
+
return CodeInviteConfigKeplarPanelFromJSONTyped(json, false);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function CodeInviteConfigKeplarPanelFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeInviteConfigKeplarPanel {
|
|
105
|
+
if (json == null) {
|
|
106
|
+
return json;
|
|
107
|
+
}
|
|
108
|
+
return {
|
|
109
|
+
|
|
110
|
+
'kind': json['kind'],
|
|
111
|
+
'collectEmail': json['collectEmail'] == null ? undefined : json['collectEmail'],
|
|
112
|
+
'requireEmail': json['requireEmail'] == null ? undefined : json['requireEmail'],
|
|
113
|
+
'panelSettings': PanelSettingsFromJSON(json['panelSettings']),
|
|
114
|
+
'title': json['title'],
|
|
115
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
116
|
+
'maxResponses': json['maxResponses'] == null ? undefined : json['maxResponses'],
|
|
117
|
+
'maxResponsesPerParticipant': json['maxResponsesPerParticipant'] == null ? undefined : json['maxResponsesPerParticipant'],
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export function CodeInviteConfigKeplarPanelToJSON(json: any): CodeInviteConfigKeplarPanel {
|
|
122
|
+
return CodeInviteConfigKeplarPanelToJSONTyped(json, false);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export function CodeInviteConfigKeplarPanelToJSONTyped(value?: CodeInviteConfigKeplarPanel | null, ignoreDiscriminator: boolean = false): any {
|
|
126
|
+
if (value == null) {
|
|
127
|
+
return value;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
return {
|
|
131
|
+
|
|
132
|
+
'kind': value['kind'],
|
|
133
|
+
'collectEmail': value['collectEmail'],
|
|
134
|
+
'requireEmail': value['requireEmail'],
|
|
135
|
+
'panelSettings': PanelSettingsToJSON(value['panelSettings']),
|
|
136
|
+
'title': value['title'],
|
|
137
|
+
'description': value['description'],
|
|
138
|
+
'maxResponses': value['maxResponses'],
|
|
139
|
+
'maxResponsesPerParticipant': value['maxResponsesPerParticipant'],
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|