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,57 @@
|
|
|
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.instanceOfAttributeStatsSchemaInner = instanceOfAttributeStatsSchemaInner;
|
|
17
|
+
exports.AttributeStatsSchemaInnerFromJSON = AttributeStatsSchemaInnerFromJSON;
|
|
18
|
+
exports.AttributeStatsSchemaInnerFromJSONTyped = AttributeStatsSchemaInnerFromJSONTyped;
|
|
19
|
+
exports.AttributeStatsSchemaInnerToJSON = AttributeStatsSchemaInnerToJSON;
|
|
20
|
+
exports.AttributeStatsSchemaInnerToJSONTyped = AttributeStatsSchemaInnerToJSONTyped;
|
|
21
|
+
var AttributeStatsSchemaInnerKind_1 = require("./AttributeStatsSchemaInnerKind");
|
|
22
|
+
var AttributeStatsSchemaInnerValuesInner_1 = require("./AttributeStatsSchemaInnerValuesInner");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AttributeStatsSchemaInner interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfAttributeStatsSchemaInner(value) {
|
|
27
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('values' in value) || value['values'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function AttributeStatsSchemaInnerFromJSON(json) {
|
|
34
|
+
return AttributeStatsSchemaInnerFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function AttributeStatsSchemaInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'kind': (0, AttributeStatsSchemaInnerKind_1.AttributeStatsSchemaInnerKindFromJSON)(json['kind']),
|
|
42
|
+
'values': (json['values'].map(AttributeStatsSchemaInnerValuesInner_1.AttributeStatsSchemaInnerValuesInnerFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function AttributeStatsSchemaInnerToJSON(json) {
|
|
46
|
+
return AttributeStatsSchemaInnerToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function AttributeStatsSchemaInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'kind': (0, AttributeStatsSchemaInnerKind_1.AttributeStatsSchemaInnerKindToJSON)(value['kind']),
|
|
55
|
+
'values': (value['values'].map(AttributeStatsSchemaInnerValuesInner_1.AttributeStatsSchemaInnerValuesInnerToJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AttributeValueKind } from './AttributeValueKind';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AttributeStatsSchemaInnerKind
|
|
17
|
+
*/
|
|
18
|
+
export interface AttributeStatsSchemaInnerKind {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AttributeStatsSchemaInnerKind
|
|
23
|
+
*/
|
|
24
|
+
key: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AttributeStatsSchemaInnerKind
|
|
29
|
+
*/
|
|
30
|
+
label: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof AttributeStatsSchemaInnerKind
|
|
35
|
+
*/
|
|
36
|
+
description?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AttributeStatsSchemaInnerKind
|
|
41
|
+
*/
|
|
42
|
+
category?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {AttributeValueKind}
|
|
46
|
+
* @memberof AttributeStatsSchemaInnerKind
|
|
47
|
+
*/
|
|
48
|
+
valueKind: AttributeValueKind;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the AttributeStatsSchemaInnerKind interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfAttributeStatsSchemaInnerKind(value: object): value is AttributeStatsSchemaInnerKind;
|
|
54
|
+
export declare function AttributeStatsSchemaInnerKindFromJSON(json: any): AttributeStatsSchemaInnerKind;
|
|
55
|
+
export declare function AttributeStatsSchemaInnerKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeStatsSchemaInnerKind;
|
|
56
|
+
export declare function AttributeStatsSchemaInnerKindToJSON(json: any): AttributeStatsSchemaInnerKind;
|
|
57
|
+
export declare function AttributeStatsSchemaInnerKindToJSONTyped(value?: AttributeStatsSchemaInnerKind | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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.instanceOfAttributeStatsSchemaInnerKind = instanceOfAttributeStatsSchemaInnerKind;
|
|
17
|
+
exports.AttributeStatsSchemaInnerKindFromJSON = AttributeStatsSchemaInnerKindFromJSON;
|
|
18
|
+
exports.AttributeStatsSchemaInnerKindFromJSONTyped = AttributeStatsSchemaInnerKindFromJSONTyped;
|
|
19
|
+
exports.AttributeStatsSchemaInnerKindToJSON = AttributeStatsSchemaInnerKindToJSON;
|
|
20
|
+
exports.AttributeStatsSchemaInnerKindToJSONTyped = AttributeStatsSchemaInnerKindToJSONTyped;
|
|
21
|
+
var AttributeValueKind_1 = require("./AttributeValueKind");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AttributeStatsSchemaInnerKind interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAttributeStatsSchemaInnerKind(value) {
|
|
26
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('valueKind' in value) || value['valueKind'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function AttributeStatsSchemaInnerKindFromJSON(json) {
|
|
35
|
+
return AttributeStatsSchemaInnerKindFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function AttributeStatsSchemaInnerKindFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'key': json['key'],
|
|
43
|
+
'label': json['label'],
|
|
44
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
45
|
+
'category': json['category'] == null ? undefined : json['category'],
|
|
46
|
+
'valueKind': (0, AttributeValueKind_1.AttributeValueKindFromJSON)(json['valueKind']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function AttributeStatsSchemaInnerKindToJSON(json) {
|
|
50
|
+
return AttributeStatsSchemaInnerKindToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function AttributeStatsSchemaInnerKindToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'key': value['key'],
|
|
59
|
+
'label': value['label'],
|
|
60
|
+
'description': value['description'],
|
|
61
|
+
'category': value['category'],
|
|
62
|
+
'valueKind': (0, AttributeValueKind_1.AttributeValueKindToJSON)(value['valueKind']),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 AttributeStatsSchemaInnerValuesInner
|
|
16
|
+
*/
|
|
17
|
+
export interface AttributeStatsSchemaInnerValuesInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AttributeStatsSchemaInnerValuesInner
|
|
22
|
+
*/
|
|
23
|
+
value: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AttributeStatsSchemaInnerValuesInner
|
|
28
|
+
*/
|
|
29
|
+
count: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AttributeStatsSchemaInnerValuesInner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAttributeStatsSchemaInnerValuesInner(value: object): value is AttributeStatsSchemaInnerValuesInner;
|
|
35
|
+
export declare function AttributeStatsSchemaInnerValuesInnerFromJSON(json: any): AttributeStatsSchemaInnerValuesInner;
|
|
36
|
+
export declare function AttributeStatsSchemaInnerValuesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeStatsSchemaInnerValuesInner;
|
|
37
|
+
export declare function AttributeStatsSchemaInnerValuesInnerToJSON(json: any): AttributeStatsSchemaInnerValuesInner;
|
|
38
|
+
export declare function AttributeStatsSchemaInnerValuesInnerToJSONTyped(value?: AttributeStatsSchemaInnerValuesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfAttributeStatsSchemaInnerValuesInner = instanceOfAttributeStatsSchemaInnerValuesInner;
|
|
17
|
+
exports.AttributeStatsSchemaInnerValuesInnerFromJSON = AttributeStatsSchemaInnerValuesInnerFromJSON;
|
|
18
|
+
exports.AttributeStatsSchemaInnerValuesInnerFromJSONTyped = AttributeStatsSchemaInnerValuesInnerFromJSONTyped;
|
|
19
|
+
exports.AttributeStatsSchemaInnerValuesInnerToJSON = AttributeStatsSchemaInnerValuesInnerToJSON;
|
|
20
|
+
exports.AttributeStatsSchemaInnerValuesInnerToJSONTyped = AttributeStatsSchemaInnerValuesInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AttributeStatsSchemaInnerValuesInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAttributeStatsSchemaInnerValuesInner(value) {
|
|
25
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function AttributeStatsSchemaInnerValuesInnerFromJSON(json) {
|
|
32
|
+
return AttributeStatsSchemaInnerValuesInnerFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function AttributeStatsSchemaInnerValuesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'value': json['value'],
|
|
40
|
+
'count': json['count'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function AttributeStatsSchemaInnerValuesInnerToJSON(json) {
|
|
44
|
+
return AttributeStatsSchemaInnerValuesInnerToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function AttributeStatsSchemaInnerValuesInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'value': value['value'],
|
|
53
|
+
'count': value['count'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const AttributeValueKind: {
|
|
17
|
+
readonly Single: "single";
|
|
18
|
+
readonly Multi: "multi";
|
|
19
|
+
readonly Numeric: "numeric";
|
|
20
|
+
};
|
|
21
|
+
export type AttributeValueKind = typeof AttributeValueKind[keyof typeof AttributeValueKind];
|
|
22
|
+
export declare function instanceOfAttributeValueKind(value: any): boolean;
|
|
23
|
+
export declare function AttributeValueKindFromJSON(json: any): AttributeValueKind;
|
|
24
|
+
export declare function AttributeValueKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeValueKind;
|
|
25
|
+
export declare function AttributeValueKindToJSON(value?: AttributeValueKind | null): any;
|
|
26
|
+
export declare function AttributeValueKindToJSONTyped(value: any, ignoreDiscriminator: boolean): AttributeValueKind;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.AttributeValueKind = void 0;
|
|
17
|
+
exports.instanceOfAttributeValueKind = instanceOfAttributeValueKind;
|
|
18
|
+
exports.AttributeValueKindFromJSON = AttributeValueKindFromJSON;
|
|
19
|
+
exports.AttributeValueKindFromJSONTyped = AttributeValueKindFromJSONTyped;
|
|
20
|
+
exports.AttributeValueKindToJSON = AttributeValueKindToJSON;
|
|
21
|
+
exports.AttributeValueKindToJSONTyped = AttributeValueKindToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.AttributeValueKind = {
|
|
27
|
+
Single: 'single',
|
|
28
|
+
Multi: 'multi',
|
|
29
|
+
Numeric: 'numeric'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfAttributeValueKind(value) {
|
|
32
|
+
for (var key in exports.AttributeValueKind) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.AttributeValueKind, key)) {
|
|
34
|
+
if (exports.AttributeValueKind[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function AttributeValueKindFromJSON(json) {
|
|
42
|
+
return AttributeValueKindFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AttributeValueKindFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function AttributeValueKindToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function AttributeValueKindToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { CallMetadata } from './CallMetadata';
|
|
13
|
+
import type { CallStatus } from './CallStatus';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CallSummary
|
|
18
|
+
*/
|
|
19
|
+
export interface CallSummary {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof CallSummary
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {CallStatus}
|
|
29
|
+
* @memberof CallSummary
|
|
30
|
+
*/
|
|
31
|
+
status: CallStatus | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {CallMetadata}
|
|
35
|
+
* @memberof CallSummary
|
|
36
|
+
*/
|
|
37
|
+
metadata: CallMetadata | null;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the CallSummary interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfCallSummary(value: object): value is CallSummary;
|
|
43
|
+
export declare function CallSummaryFromJSON(json: any): CallSummary;
|
|
44
|
+
export declare function CallSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): CallSummary;
|
|
45
|
+
export declare function CallSummaryToJSON(json: any): CallSummary;
|
|
46
|
+
export declare function CallSummaryToJSONTyped(value?: CallSummary | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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.instanceOfCallSummary = instanceOfCallSummary;
|
|
17
|
+
exports.CallSummaryFromJSON = CallSummaryFromJSON;
|
|
18
|
+
exports.CallSummaryFromJSONTyped = CallSummaryFromJSONTyped;
|
|
19
|
+
exports.CallSummaryToJSON = CallSummaryToJSON;
|
|
20
|
+
exports.CallSummaryToJSONTyped = CallSummaryToJSONTyped;
|
|
21
|
+
var CallMetadata_1 = require("./CallMetadata");
|
|
22
|
+
var CallStatus_1 = require("./CallStatus");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the CallSummary interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfCallSummary(value) {
|
|
27
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function CallSummaryFromJSON(json) {
|
|
36
|
+
return CallSummaryFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function CallSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'status': (0, CallStatus_1.CallStatusFromJSON)(json['status']),
|
|
45
|
+
'metadata': (0, CallMetadata_1.CallMetadataFromJSON)(json['metadata']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function CallSummaryToJSON(json) {
|
|
49
|
+
return CallSummaryToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function CallSummaryToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'id': value['id'],
|
|
58
|
+
'status': (0, CallStatus_1.CallStatusToJSON)(value['status']),
|
|
59
|
+
'metadata': (0, CallMetadata_1.CallMetadataToJSON)(value['metadata']),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { ApiInviteCodeCodeStartGet302ResponseSettings } from './ApiInviteCodeCodeStartGet302ResponseSettings';
|
|
13
12
|
import type { InviteStatus } from './InviteStatus';
|
|
13
|
+
import type { CodeInviteConfig } from './CodeInviteConfig';
|
|
14
|
+
import type { JoinCodeInvite302ResponseSettings } from './JoinCodeInvite302ResponseSettings';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -61,10 +62,16 @@ export interface CodeInvite {
|
|
|
61
62
|
projectId: string;
|
|
62
63
|
/**
|
|
63
64
|
*
|
|
64
|
-
* @type {
|
|
65
|
+
* @type {CodeInviteConfig}
|
|
65
66
|
* @memberof CodeInvite
|
|
66
67
|
*/
|
|
67
|
-
|
|
68
|
+
config: CodeInviteConfig;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {JoinCodeInvite302ResponseSettings}
|
|
72
|
+
* @memberof CodeInvite
|
|
73
|
+
*/
|
|
74
|
+
settings: JoinCodeInvite302ResponseSettings;
|
|
68
75
|
}
|
|
69
76
|
/**
|
|
70
77
|
* Check if a given object implements the CodeInvite interface.
|
|
@@ -18,8 +18,9 @@ exports.CodeInviteFromJSON = CodeInviteFromJSON;
|
|
|
18
18
|
exports.CodeInviteFromJSONTyped = CodeInviteFromJSONTyped;
|
|
19
19
|
exports.CodeInviteToJSON = CodeInviteToJSON;
|
|
20
20
|
exports.CodeInviteToJSONTyped = CodeInviteToJSONTyped;
|
|
21
|
-
var ApiInviteCodeCodeStartGet302ResponseSettings_1 = require("./ApiInviteCodeCodeStartGet302ResponseSettings");
|
|
22
21
|
var InviteStatus_1 = require("./InviteStatus");
|
|
22
|
+
var CodeInviteConfig_1 = require("./CodeInviteConfig");
|
|
23
|
+
var JoinCodeInvite302ResponseSettings_1 = require("./JoinCodeInvite302ResponseSettings");
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the CodeInvite interface.
|
|
25
26
|
*/
|
|
@@ -34,6 +35,8 @@ function instanceOfCodeInvite(value) {
|
|
|
34
35
|
return false;
|
|
35
36
|
if (!('projectId' in value) || value['projectId'] === undefined)
|
|
36
37
|
return false;
|
|
38
|
+
if (!('config' in value) || value['config'] === undefined)
|
|
39
|
+
return false;
|
|
37
40
|
if (!('settings' in value) || value['settings'] === undefined)
|
|
38
41
|
return false;
|
|
39
42
|
return true;
|
|
@@ -53,7 +56,8 @@ function CodeInviteFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
56
|
'status': (0, InviteStatus_1.InviteStatusFromJSON)(json['status']),
|
|
54
57
|
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
55
58
|
'projectId': json['projectId'],
|
|
56
|
-
'
|
|
59
|
+
'config': (0, CodeInviteConfig_1.CodeInviteConfigFromJSON)(json['config']),
|
|
60
|
+
'settings': (0, JoinCodeInvite302ResponseSettings_1.JoinCodeInvite302ResponseSettingsFromJSON)(json['settings']),
|
|
57
61
|
};
|
|
58
62
|
}
|
|
59
63
|
function CodeInviteToJSON(json) {
|
|
@@ -73,6 +77,7 @@ function CodeInviteToJSONTyped(value, ignoreDiscriminator) {
|
|
|
73
77
|
'status': (0, InviteStatus_1.InviteStatusToJSON)(value['status']),
|
|
74
78
|
'expiresAt': value['expiresAt'] === null ? null : ((_a = value['expiresAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
75
79
|
'projectId': value['projectId'],
|
|
76
|
-
'
|
|
80
|
+
'config': (0, CodeInviteConfig_1.CodeInviteConfigToJSON)(value['config']),
|
|
81
|
+
'settings': (0, JoinCodeInvite302ResponseSettings_1.JoinCodeInvite302ResponseSettingsToJSON)(value['settings']),
|
|
77
82
|
};
|
|
78
83
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { CodeInviteConfigContacts } from './CodeInviteConfigContacts';
|
|
13
|
+
import type { CodeInviteConfigKeplarPanel } from './CodeInviteConfigKeplarPanel';
|
|
14
|
+
import type { InviteConfigPublic } from './InviteConfigPublic';
|
|
15
|
+
/**
|
|
16
|
+
* @type CodeInviteConfig
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export type CodeInviteConfig = {
|
|
21
|
+
kind: 'CONTACTS';
|
|
22
|
+
} & CodeInviteConfigContacts | {
|
|
23
|
+
kind: 'KEPLAR_PANEL';
|
|
24
|
+
} & CodeInviteConfigKeplarPanel | {
|
|
25
|
+
kind: 'PUBLIC';
|
|
26
|
+
} & InviteConfigPublic;
|
|
27
|
+
export declare function CodeInviteConfigFromJSON(json: any): CodeInviteConfig;
|
|
28
|
+
export declare function CodeInviteConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeInviteConfig;
|
|
29
|
+
export declare function CodeInviteConfigToJSON(json: any): any;
|
|
30
|
+
export declare function CodeInviteConfigToJSONTyped(value?: CodeInviteConfig | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.CodeInviteConfigFromJSON = CodeInviteConfigFromJSON;
|
|
17
|
+
exports.CodeInviteConfigFromJSONTyped = CodeInviteConfigFromJSONTyped;
|
|
18
|
+
exports.CodeInviteConfigToJSON = CodeInviteConfigToJSON;
|
|
19
|
+
exports.CodeInviteConfigToJSONTyped = CodeInviteConfigToJSONTyped;
|
|
20
|
+
var CodeInviteConfigContacts_1 = require("./CodeInviteConfigContacts");
|
|
21
|
+
var CodeInviteConfigKeplarPanel_1 = require("./CodeInviteConfigKeplarPanel");
|
|
22
|
+
var InviteConfigPublic_1 = require("./InviteConfigPublic");
|
|
23
|
+
function CodeInviteConfigFromJSON(json) {
|
|
24
|
+
return CodeInviteConfigFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
function CodeInviteConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
switch (json['kind']) {
|
|
31
|
+
case 'CONTACTS':
|
|
32
|
+
return Object.assign({}, (0, CodeInviteConfigContacts_1.CodeInviteConfigContactsFromJSONTyped)(json, true), { kind: 'CONTACTS' });
|
|
33
|
+
case 'KEPLAR_PANEL':
|
|
34
|
+
return Object.assign({}, (0, CodeInviteConfigKeplarPanel_1.CodeInviteConfigKeplarPanelFromJSONTyped)(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
|
+
}
|
|
40
|
+
}
|
|
41
|
+
function CodeInviteConfigToJSON(json) {
|
|
42
|
+
return CodeInviteConfigToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function CodeInviteConfigToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
switch (value['kind']) {
|
|
50
|
+
case 'CONTACTS':
|
|
51
|
+
return Object.assign({}, (0, CodeInviteConfigContacts_1.CodeInviteConfigContactsToJSON)(value), { kind: 'CONTACTS' });
|
|
52
|
+
case 'KEPLAR_PANEL':
|
|
53
|
+
return Object.assign({}, (0, CodeInviteConfigKeplarPanel_1.CodeInviteConfigKeplarPanelToJSON)(value), { kind: 'KEPLAR_PANEL' });
|
|
54
|
+
case 'PUBLIC':
|
|
55
|
+
return Object.assign({}, (0, InviteConfigPublic_1.InviteConfigPublicToJSON)(value), { kind: 'PUBLIC' });
|
|
56
|
+
default:
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
}
|