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,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
|
+
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { InviteResponseWithCallSummary } from './InviteResponseWithCallSummary';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
InviteResponseWithCallSummaryFromJSON,
|
|
19
|
+
InviteResponseWithCallSummaryFromJSONTyped,
|
|
20
|
+
InviteResponseWithCallSummaryToJSON,
|
|
21
|
+
InviteResponseWithCallSummaryToJSONTyped,
|
|
22
|
+
} from './InviteResponseWithCallSummary';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
export interface ApiInvitesIdResponsesGet200Response {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {Array<
|
|
32
|
+
* @type {Array<InviteResponseWithCallSummary>}
|
|
33
33
|
* @memberof ApiInvitesIdResponsesGet200Response
|
|
34
34
|
*/
|
|
35
|
-
items: Array<
|
|
35
|
+
items: Array<InviteResponseWithCallSummary>;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {number}
|
|
@@ -74,7 +74,7 @@ export function ApiInvitesIdResponsesGet200ResponseFromJSONTyped(json: any, igno
|
|
|
74
74
|
}
|
|
75
75
|
return {
|
|
76
76
|
|
|
77
|
-
'items': ((json['items'] as Array<any>).map(
|
|
77
|
+
'items': ((json['items'] as Array<any>).map(InviteResponseWithCallSummaryFromJSON)),
|
|
78
78
|
'total': json['total'],
|
|
79
79
|
'page': json['page'],
|
|
80
80
|
'limit': json['limit'],
|
|
@@ -92,7 +92,7 @@ export function ApiInvitesIdResponsesGet200ResponseToJSONTyped(value?: ApiInvite
|
|
|
92
92
|
|
|
93
93
|
return {
|
|
94
94
|
|
|
95
|
-
'items': ((value['items'] as Array<any>).map(
|
|
95
|
+
'items': ((value['items'] as Array<any>).map(InviteResponseWithCallSummaryToJSON)),
|
|
96
96
|
'total': value['total'],
|
|
97
97
|
'page': value['page'],
|
|
98
98
|
'limit': value['limit'],
|
|
@@ -0,0 +1,130 @@
|
|
|
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 { InviteResponseAttribute } from './InviteResponseAttribute';
|
|
17
|
+
import {
|
|
18
|
+
InviteResponseAttributeFromJSON,
|
|
19
|
+
InviteResponseAttributeFromJSONTyped,
|
|
20
|
+
InviteResponseAttributeToJSON,
|
|
21
|
+
InviteResponseAttributeToJSONTyped,
|
|
22
|
+
} from './InviteResponseAttribute';
|
|
23
|
+
import type { ParticipantAttribute } from './ParticipantAttribute';
|
|
24
|
+
import {
|
|
25
|
+
ParticipantAttributeFromJSON,
|
|
26
|
+
ParticipantAttributeFromJSONTyped,
|
|
27
|
+
ParticipantAttributeToJSON,
|
|
28
|
+
ParticipantAttributeToJSONTyped,
|
|
29
|
+
} from './ParticipantAttribute';
|
|
30
|
+
import type { AttributeKind } from './AttributeKind';
|
|
31
|
+
import {
|
|
32
|
+
AttributeKindFromJSON,
|
|
33
|
+
AttributeKindFromJSONTyped,
|
|
34
|
+
AttributeKindToJSON,
|
|
35
|
+
AttributeKindToJSONTyped,
|
|
36
|
+
} from './AttributeKind';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface Attribute
|
|
42
|
+
*/
|
|
43
|
+
export interface Attribute {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof Attribute
|
|
48
|
+
*/
|
|
49
|
+
attributeKindKey: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof Attribute
|
|
54
|
+
*/
|
|
55
|
+
value: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Date}
|
|
59
|
+
* @memberof Attribute
|
|
60
|
+
*/
|
|
61
|
+
createdAt: Date;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {AttributeKind}
|
|
65
|
+
* @memberof Attribute
|
|
66
|
+
*/
|
|
67
|
+
attributeKind?: AttributeKind;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {Array<ParticipantAttribute>}
|
|
71
|
+
* @memberof Attribute
|
|
72
|
+
*/
|
|
73
|
+
participantAttributes?: Array<ParticipantAttribute>;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {Array<InviteResponseAttribute>}
|
|
77
|
+
* @memberof Attribute
|
|
78
|
+
*/
|
|
79
|
+
inviteResponseAttributes?: Array<InviteResponseAttribute>;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Check if a given object implements the Attribute interface.
|
|
84
|
+
*/
|
|
85
|
+
export function instanceOfAttribute(value: object): value is Attribute {
|
|
86
|
+
if (!('attributeKindKey' in value) || value['attributeKindKey'] === undefined) return false;
|
|
87
|
+
if (!('value' in value) || value['value'] === undefined) return false;
|
|
88
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
89
|
+
return true;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function AttributeFromJSON(json: any): Attribute {
|
|
93
|
+
return AttributeFromJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function AttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Attribute {
|
|
97
|
+
if (json == null) {
|
|
98
|
+
return json;
|
|
99
|
+
}
|
|
100
|
+
return {
|
|
101
|
+
|
|
102
|
+
'attributeKindKey': json['attributeKindKey'],
|
|
103
|
+
'value': json['value'],
|
|
104
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
105
|
+
'attributeKind': json['attributeKind'] == null ? undefined : AttributeKindFromJSON(json['attributeKind']),
|
|
106
|
+
'participantAttributes': json['participantAttributes'] == null ? undefined : ((json['participantAttributes'] as Array<any>).map(ParticipantAttributeFromJSON)),
|
|
107
|
+
'inviteResponseAttributes': json['inviteResponseAttributes'] == null ? undefined : ((json['inviteResponseAttributes'] as Array<any>).map(InviteResponseAttributeFromJSON)),
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export function AttributeToJSON(json: any): Attribute {
|
|
112
|
+
return AttributeToJSONTyped(json, false);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export function AttributeToJSONTyped(value?: Attribute | null, ignoreDiscriminator: boolean = false): any {
|
|
116
|
+
if (value == null) {
|
|
117
|
+
return value;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
return {
|
|
121
|
+
|
|
122
|
+
'attributeKindKey': value['attributeKindKey'],
|
|
123
|
+
'value': value['value'],
|
|
124
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
125
|
+
'attributeKind': AttributeKindToJSON(value['attributeKind']),
|
|
126
|
+
'participantAttributes': value['participantAttributes'] == null ? undefined : ((value['participantAttributes'] as Array<any>).map(ParticipantAttributeToJSON)),
|
|
127
|
+
'inviteResponseAttributes': value['inviteResponseAttributes'] == null ? undefined : ((value['inviteResponseAttributes'] as Array<any>).map(InviteResponseAttributeToJSON)),
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
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 { NumberFilterSchema } from './NumberFilterSchema';
|
|
16
|
+
import {
|
|
17
|
+
instanceOfNumberFilterSchema,
|
|
18
|
+
NumberFilterSchemaFromJSON,
|
|
19
|
+
NumberFilterSchemaFromJSONTyped,
|
|
20
|
+
NumberFilterSchemaToJSON,
|
|
21
|
+
} from './NumberFilterSchema';
|
|
22
|
+
import type { SelectFilterSchema } from './SelectFilterSchema';
|
|
23
|
+
import {
|
|
24
|
+
instanceOfSelectFilterSchema,
|
|
25
|
+
SelectFilterSchemaFromJSON,
|
|
26
|
+
SelectFilterSchemaFromJSONTyped,
|
|
27
|
+
SelectFilterSchemaToJSON,
|
|
28
|
+
} from './SelectFilterSchema';
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @type AttributeFilterGroupSchemaInner
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export type AttributeFilterGroupSchemaInner = NumberFilterSchema | SelectFilterSchema;
|
|
36
|
+
|
|
37
|
+
export function AttributeFilterGroupSchemaInnerFromJSON(json: any): AttributeFilterGroupSchemaInner {
|
|
38
|
+
return AttributeFilterGroupSchemaInnerFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function AttributeFilterGroupSchemaInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeFilterGroupSchemaInner {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
if (typeof json !== 'object') {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
if (instanceOfNumberFilterSchema(json)) {
|
|
49
|
+
return NumberFilterSchemaFromJSONTyped(json, true);
|
|
50
|
+
}
|
|
51
|
+
if (instanceOfSelectFilterSchema(json)) {
|
|
52
|
+
return SelectFilterSchemaFromJSONTyped(json, true);
|
|
53
|
+
}
|
|
54
|
+
return {} as any;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function AttributeFilterGroupSchemaInnerToJSON(json: any): any {
|
|
58
|
+
return AttributeFilterGroupSchemaInnerToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function AttributeFilterGroupSchemaInnerToJSONTyped(value?: AttributeFilterGroupSchemaInner | null, ignoreDiscriminator: boolean = false): any {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
if (typeof value !== 'object') {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
if (instanceOfNumberFilterSchema(value)) {
|
|
69
|
+
return NumberFilterSchemaToJSON(value as NumberFilterSchema);
|
|
70
|
+
}
|
|
71
|
+
if (instanceOfSelectFilterSchema(value)) {
|
|
72
|
+
return SelectFilterSchemaToJSON(value as SelectFilterSchema);
|
|
73
|
+
}
|
|
74
|
+
return {};
|
|
75
|
+
}
|
|
76
|
+
|
|
@@ -0,0 +1,143 @@
|
|
|
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 { Attribute } from './Attribute';
|
|
17
|
+
import {
|
|
18
|
+
AttributeFromJSON,
|
|
19
|
+
AttributeFromJSONTyped,
|
|
20
|
+
AttributeToJSON,
|
|
21
|
+
AttributeToJSONTyped,
|
|
22
|
+
} from './Attribute';
|
|
23
|
+
import type { AttributeValueKind } from './AttributeValueKind';
|
|
24
|
+
import {
|
|
25
|
+
AttributeValueKindFromJSON,
|
|
26
|
+
AttributeValueKindFromJSONTyped,
|
|
27
|
+
AttributeValueKindToJSON,
|
|
28
|
+
AttributeValueKindToJSONTyped,
|
|
29
|
+
} from './AttributeValueKind';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface AttributeKind
|
|
35
|
+
*/
|
|
36
|
+
export interface AttributeKind {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AttributeKind
|
|
41
|
+
*/
|
|
42
|
+
key: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof AttributeKind
|
|
47
|
+
*/
|
|
48
|
+
label: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {AttributeValueKind}
|
|
52
|
+
* @memberof AttributeKind
|
|
53
|
+
*/
|
|
54
|
+
valueKind: AttributeValueKind;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof AttributeKind
|
|
59
|
+
*/
|
|
60
|
+
description?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof AttributeKind
|
|
65
|
+
*/
|
|
66
|
+
category?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Date}
|
|
70
|
+
* @memberof AttributeKind
|
|
71
|
+
*/
|
|
72
|
+
createdAt: Date;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {Date}
|
|
76
|
+
* @memberof AttributeKind
|
|
77
|
+
*/
|
|
78
|
+
updatedAt: Date;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {Array<Attribute>}
|
|
82
|
+
* @memberof AttributeKind
|
|
83
|
+
*/
|
|
84
|
+
attributes?: Array<Attribute>;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Check if a given object implements the AttributeKind interface.
|
|
91
|
+
*/
|
|
92
|
+
export function instanceOfAttributeKind(value: object): value is AttributeKind {
|
|
93
|
+
if (!('key' in value) || value['key'] === undefined) return false;
|
|
94
|
+
if (!('label' in value) || value['label'] === undefined) return false;
|
|
95
|
+
if (!('valueKind' in value) || value['valueKind'] === undefined) return false;
|
|
96
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
97
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
98
|
+
return true;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function AttributeKindFromJSON(json: any): AttributeKind {
|
|
102
|
+
return AttributeKindFromJSONTyped(json, false);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function AttributeKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeKind {
|
|
106
|
+
if (json == null) {
|
|
107
|
+
return json;
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'key': json['key'],
|
|
112
|
+
'label': json['label'],
|
|
113
|
+
'valueKind': AttributeValueKindFromJSON(json['valueKind']),
|
|
114
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
115
|
+
'category': json['category'] == null ? undefined : json['category'],
|
|
116
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
117
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
118
|
+
'attributes': json['attributes'] == null ? undefined : ((json['attributes'] as Array<any>).map(AttributeFromJSON)),
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export function AttributeKindToJSON(json: any): AttributeKind {
|
|
123
|
+
return AttributeKindToJSONTyped(json, false);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export function AttributeKindToJSONTyped(value?: AttributeKind | null, ignoreDiscriminator: boolean = false): any {
|
|
127
|
+
if (value == null) {
|
|
128
|
+
return value;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
return {
|
|
132
|
+
|
|
133
|
+
'key': value['key'],
|
|
134
|
+
'label': value['label'],
|
|
135
|
+
'valueKind': AttributeValueKindToJSON(value['valueKind']),
|
|
136
|
+
'description': value['description'],
|
|
137
|
+
'category': value['category'],
|
|
138
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
139
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
140
|
+
'attributes': value['attributes'] == null ? undefined : ((value['attributes'] as Array<any>).map(AttributeToJSON)),
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const AttributeSource = {
|
|
21
|
+
Panel: 'panel',
|
|
22
|
+
Generated: 'generated'
|
|
23
|
+
} as const;
|
|
24
|
+
export type AttributeSource = typeof AttributeSource[keyof typeof AttributeSource];
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export function instanceOfAttributeSource(value: any): boolean {
|
|
28
|
+
for (const key in AttributeSource) {
|
|
29
|
+
if (Object.prototype.hasOwnProperty.call(AttributeSource, key)) {
|
|
30
|
+
if (AttributeSource[key as keyof typeof AttributeSource] === value) {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function AttributeSourceFromJSON(json: any): AttributeSource {
|
|
39
|
+
return AttributeSourceFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function AttributeSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeSource {
|
|
43
|
+
return json as AttributeSource;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function AttributeSourceToJSON(value?: AttributeSource | null): any {
|
|
47
|
+
return value as any;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function AttributeSourceToJSONTyped(value: any, ignoreDiscriminator: boolean): AttributeSource {
|
|
51
|
+
return value as AttributeSource;
|
|
52
|
+
}
|
|
53
|
+
|
|
@@ -0,0 +1,90 @@
|
|
|
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 { AttributeStatsSchemaInnerKind } from './AttributeStatsSchemaInnerKind';
|
|
17
|
+
import {
|
|
18
|
+
AttributeStatsSchemaInnerKindFromJSON,
|
|
19
|
+
AttributeStatsSchemaInnerKindFromJSONTyped,
|
|
20
|
+
AttributeStatsSchemaInnerKindToJSON,
|
|
21
|
+
AttributeStatsSchemaInnerKindToJSONTyped,
|
|
22
|
+
} from './AttributeStatsSchemaInnerKind';
|
|
23
|
+
import type { AttributeStatsSchemaInnerValuesInner } from './AttributeStatsSchemaInnerValuesInner';
|
|
24
|
+
import {
|
|
25
|
+
AttributeStatsSchemaInnerValuesInnerFromJSON,
|
|
26
|
+
AttributeStatsSchemaInnerValuesInnerFromJSONTyped,
|
|
27
|
+
AttributeStatsSchemaInnerValuesInnerToJSON,
|
|
28
|
+
AttributeStatsSchemaInnerValuesInnerToJSONTyped,
|
|
29
|
+
} from './AttributeStatsSchemaInnerValuesInner';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface AttributeStatsSchemaInner
|
|
35
|
+
*/
|
|
36
|
+
export interface AttributeStatsSchemaInner {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {AttributeStatsSchemaInnerKind}
|
|
40
|
+
* @memberof AttributeStatsSchemaInner
|
|
41
|
+
*/
|
|
42
|
+
kind: AttributeStatsSchemaInnerKind;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<AttributeStatsSchemaInnerValuesInner>}
|
|
46
|
+
* @memberof AttributeStatsSchemaInner
|
|
47
|
+
*/
|
|
48
|
+
values: Array<AttributeStatsSchemaInnerValuesInner>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the AttributeStatsSchemaInner interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfAttributeStatsSchemaInner(value: object): value is AttributeStatsSchemaInner {
|
|
55
|
+
if (!('kind' in value) || value['kind'] === undefined) return false;
|
|
56
|
+
if (!('values' in value) || value['values'] === undefined) return false;
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function AttributeStatsSchemaInnerFromJSON(json: any): AttributeStatsSchemaInner {
|
|
61
|
+
return AttributeStatsSchemaInnerFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function AttributeStatsSchemaInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeStatsSchemaInner {
|
|
65
|
+
if (json == null) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'kind': AttributeStatsSchemaInnerKindFromJSON(json['kind']),
|
|
71
|
+
'values': ((json['values'] as Array<any>).map(AttributeStatsSchemaInnerValuesInnerFromJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function AttributeStatsSchemaInnerToJSON(json: any): AttributeStatsSchemaInner {
|
|
76
|
+
return AttributeStatsSchemaInnerToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function AttributeStatsSchemaInnerToJSONTyped(value?: AttributeStatsSchemaInner | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'kind': AttributeStatsSchemaInnerKindToJSON(value['kind']),
|
|
87
|
+
'values': ((value['values'] as Array<any>).map(AttributeStatsSchemaInnerValuesInnerToJSON)),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|