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,94 @@
|
|
|
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 ScreenerQuestionChooseOnePublic
|
|
20
|
+
*/
|
|
21
|
+
export interface ScreenerQuestionChooseOnePublic {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ScreenerQuestionChooseOnePublic
|
|
26
|
+
*/
|
|
27
|
+
type: ScreenerQuestionChooseOnePublicTypeEnum;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ScreenerQuestionChooseOnePublic
|
|
32
|
+
*/
|
|
33
|
+
question: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Array<string>}
|
|
37
|
+
* @memberof ScreenerQuestionChooseOnePublic
|
|
38
|
+
*/
|
|
39
|
+
options: Array<string>;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export const ScreenerQuestionChooseOnePublicTypeEnum = {
|
|
47
|
+
ChooseOne: 'chooseOne'
|
|
48
|
+
} as const;
|
|
49
|
+
export type ScreenerQuestionChooseOnePublicTypeEnum = typeof ScreenerQuestionChooseOnePublicTypeEnum[keyof typeof ScreenerQuestionChooseOnePublicTypeEnum];
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the ScreenerQuestionChooseOnePublic interface.
|
|
54
|
+
*/
|
|
55
|
+
export function instanceOfScreenerQuestionChooseOnePublic(value: object): value is ScreenerQuestionChooseOnePublic {
|
|
56
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
57
|
+
if (!('question' in value) || value['question'] === undefined) return false;
|
|
58
|
+
if (!('options' in value) || value['options'] === undefined) return false;
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function ScreenerQuestionChooseOnePublicFromJSON(json: any): ScreenerQuestionChooseOnePublic {
|
|
63
|
+
return ScreenerQuestionChooseOnePublicFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function ScreenerQuestionChooseOnePublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseOnePublic {
|
|
67
|
+
if (json == null) {
|
|
68
|
+
return json;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
|
|
72
|
+
'type': json['type'],
|
|
73
|
+
'question': json['question'],
|
|
74
|
+
'options': json['options'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function ScreenerQuestionChooseOnePublicToJSON(json: any): ScreenerQuestionChooseOnePublic {
|
|
79
|
+
return ScreenerQuestionChooseOnePublicToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function ScreenerQuestionChooseOnePublicToJSONTyped(value?: ScreenerQuestionChooseOnePublic | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'type': value['type'],
|
|
90
|
+
'question': value['question'],
|
|
91
|
+
'options': value['options'],
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
@@ -16,44 +16,44 @@ import { mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface ScreenerQuestionResponse
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface ScreenerQuestionResponse {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof ScreenerQuestionResponse
|
|
26
26
|
*/
|
|
27
27
|
question: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof ScreenerQuestionResponse
|
|
32
32
|
*/
|
|
33
33
|
response: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {boolean}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof ScreenerQuestionResponse
|
|
38
38
|
*/
|
|
39
39
|
passing: boolean;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Check if a given object implements the
|
|
43
|
+
* Check if a given object implements the ScreenerQuestionResponse interface.
|
|
44
44
|
*/
|
|
45
|
-
export function
|
|
45
|
+
export function instanceOfScreenerQuestionResponse(value: object): value is ScreenerQuestionResponse {
|
|
46
46
|
if (!('question' in value) || value['question'] === undefined) return false;
|
|
47
47
|
if (!('response' in value) || value['response'] === undefined) return false;
|
|
48
48
|
if (!('passing' in value) || value['passing'] === undefined) return false;
|
|
49
49
|
return true;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export function
|
|
53
|
-
return
|
|
52
|
+
export function ScreenerQuestionResponseFromJSON(json: any): ScreenerQuestionResponse {
|
|
53
|
+
return ScreenerQuestionResponseFromJSONTyped(json, false);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
export function
|
|
56
|
+
export function ScreenerQuestionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionResponse {
|
|
57
57
|
if (json == null) {
|
|
58
58
|
return json;
|
|
59
59
|
}
|
|
@@ -65,11 +65,11 @@ export function ProjectScreenerQuestionResponseFromJSONTyped(json: any, ignoreDi
|
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
export function
|
|
69
|
-
return
|
|
68
|
+
export function ScreenerQuestionResponseToJSON(json: any): ScreenerQuestionResponse {
|
|
69
|
+
return ScreenerQuestionResponseToJSONTyped(json, false);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
export function
|
|
72
|
+
export function ScreenerQuestionResponseToJSONTyped(value?: ScreenerQuestionResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
73
73
|
if (value == null) {
|
|
74
74
|
return value;
|
|
75
75
|
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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 { SelectFilterSchemaKind } from './SelectFilterSchemaKind';
|
|
17
|
+
import {
|
|
18
|
+
SelectFilterSchemaKindFromJSON,
|
|
19
|
+
SelectFilterSchemaKindFromJSONTyped,
|
|
20
|
+
SelectFilterSchemaKindToJSON,
|
|
21
|
+
SelectFilterSchemaKindToJSONTyped,
|
|
22
|
+
} from './SelectFilterSchemaKind';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface SelectFilterSchema
|
|
28
|
+
*/
|
|
29
|
+
export interface SelectFilterSchema {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {SelectFilterSchemaKind}
|
|
33
|
+
* @memberof SelectFilterSchema
|
|
34
|
+
*/
|
|
35
|
+
kind: SelectFilterSchemaKind;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SelectFilterSchema
|
|
40
|
+
*/
|
|
41
|
+
key: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof SelectFilterSchema
|
|
46
|
+
*/
|
|
47
|
+
values: Array<string>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the SelectFilterSchema interface.
|
|
52
|
+
*/
|
|
53
|
+
export function instanceOfSelectFilterSchema(value: object): value is SelectFilterSchema {
|
|
54
|
+
if (!('kind' in value) || value['kind'] === undefined) return false;
|
|
55
|
+
if (!('key' in value) || value['key'] === undefined) return false;
|
|
56
|
+
if (!('values' in value) || value['values'] === undefined) return false;
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function SelectFilterSchemaFromJSON(json: any): SelectFilterSchema {
|
|
61
|
+
return SelectFilterSchemaFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function SelectFilterSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): SelectFilterSchema {
|
|
65
|
+
if (json == null) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'kind': SelectFilterSchemaKindFromJSON(json['kind']),
|
|
71
|
+
'key': json['key'],
|
|
72
|
+
'values': json['values'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function SelectFilterSchemaToJSON(json: any): SelectFilterSchema {
|
|
77
|
+
return SelectFilterSchemaToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function SelectFilterSchemaToJSONTyped(value?: SelectFilterSchema | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'kind': SelectFilterSchemaKindToJSON(value['kind']),
|
|
88
|
+
'key': value['key'],
|
|
89
|
+
'values': value['values'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
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 SelectFilterSchemaKind
|
|
20
|
+
*/
|
|
21
|
+
export interface SelectFilterSchemaKind {
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the SelectFilterSchemaKind interface.
|
|
26
|
+
*/
|
|
27
|
+
export function instanceOfSelectFilterSchemaKind(value: object): value is SelectFilterSchemaKind {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export function SelectFilterSchemaKindFromJSON(json: any): SelectFilterSchemaKind {
|
|
32
|
+
return SelectFilterSchemaKindFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function SelectFilterSchemaKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): SelectFilterSchemaKind {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function SelectFilterSchemaKindToJSON(json: any): SelectFilterSchemaKind {
|
|
40
|
+
return SelectFilterSchemaKindToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function SelectFilterSchemaKindToJSONTyped(value?: SelectFilterSchemaKind | null, ignoreDiscriminator: boolean = false): any {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 StartPhoneCallForCodeInviteResponseRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface StartPhoneCallForCodeInviteResponseRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof StartPhoneCallForCodeInviteResponseRequest
|
|
26
|
+
*/
|
|
27
|
+
phoneNumber: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the StartPhoneCallForCodeInviteResponseRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfStartPhoneCallForCodeInviteResponseRequest(value: object): value is StartPhoneCallForCodeInviteResponseRequest {
|
|
34
|
+
if (!('phoneNumber' in value) || value['phoneNumber'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function StartPhoneCallForCodeInviteResponseRequestFromJSON(json: any): StartPhoneCallForCodeInviteResponseRequest {
|
|
39
|
+
return StartPhoneCallForCodeInviteResponseRequestFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function StartPhoneCallForCodeInviteResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StartPhoneCallForCodeInviteResponseRequest {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'phoneNumber': json['phoneNumber'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function StartPhoneCallForCodeInviteResponseRequestToJSON(json: any): StartPhoneCallForCodeInviteResponseRequest {
|
|
53
|
+
return StartPhoneCallForCodeInviteResponseRequestToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function StartPhoneCallForCodeInviteResponseRequestToJSONTyped(value?: StartPhoneCallForCodeInviteResponseRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'phoneNumber': value['phoneNumber'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -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 { mapValues } from '../runtime';
|
|
16
|
+
import type { UpdateCallForCodeInviteResponseRequestCall } from './UpdateCallForCodeInviteResponseRequestCall';
|
|
17
|
+
import {
|
|
18
|
+
UpdateCallForCodeInviteResponseRequestCallFromJSON,
|
|
19
|
+
UpdateCallForCodeInviteResponseRequestCallFromJSONTyped,
|
|
20
|
+
UpdateCallForCodeInviteResponseRequestCallToJSON,
|
|
21
|
+
UpdateCallForCodeInviteResponseRequestCallToJSONTyped,
|
|
22
|
+
} from './UpdateCallForCodeInviteResponseRequestCall';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface UpdateCallForCodeInviteResponseRequest
|
|
28
|
+
*/
|
|
29
|
+
export interface UpdateCallForCodeInviteResponseRequest {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateCallForCodeInviteResponseRequest
|
|
34
|
+
*/
|
|
35
|
+
callId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {UpdateCallForCodeInviteResponseRequestCall}
|
|
39
|
+
* @memberof UpdateCallForCodeInviteResponseRequest
|
|
40
|
+
*/
|
|
41
|
+
call: UpdateCallForCodeInviteResponseRequestCall;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the UpdateCallForCodeInviteResponseRequest interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfUpdateCallForCodeInviteResponseRequest(value: object): value is UpdateCallForCodeInviteResponseRequest {
|
|
48
|
+
if (!('callId' in value) || value['callId'] === undefined) return false;
|
|
49
|
+
if (!('call' in value) || value['call'] === undefined) return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function UpdateCallForCodeInviteResponseRequestFromJSON(json: any): UpdateCallForCodeInviteResponseRequest {
|
|
54
|
+
return UpdateCallForCodeInviteResponseRequestFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function UpdateCallForCodeInviteResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateCallForCodeInviteResponseRequest {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'callId': json['callId'],
|
|
64
|
+
'call': UpdateCallForCodeInviteResponseRequestCallFromJSON(json['call']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function UpdateCallForCodeInviteResponseRequestToJSON(json: any): UpdateCallForCodeInviteResponseRequest {
|
|
69
|
+
return UpdateCallForCodeInviteResponseRequestToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function UpdateCallForCodeInviteResponseRequestToJSONTyped(value?: UpdateCallForCodeInviteResponseRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'callId': value['callId'],
|
|
80
|
+
'call': UpdateCallForCodeInviteResponseRequestCallToJSON(value['call']),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
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 { CallStatus } from './CallStatus';
|
|
17
|
+
import {
|
|
18
|
+
CallStatusFromJSON,
|
|
19
|
+
CallStatusFromJSONTyped,
|
|
20
|
+
CallStatusToJSON,
|
|
21
|
+
CallStatusToJSONTyped,
|
|
22
|
+
} from './CallStatus';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface UpdateCallForCodeInviteResponseRequestCall
|
|
28
|
+
*/
|
|
29
|
+
export interface UpdateCallForCodeInviteResponseRequestCall {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateCallForCodeInviteResponseRequestCall
|
|
34
|
+
*/
|
|
35
|
+
vendorCallId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {CallStatus}
|
|
39
|
+
* @memberof UpdateCallForCodeInviteResponseRequestCall
|
|
40
|
+
*/
|
|
41
|
+
status: CallStatus | null;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the UpdateCallForCodeInviteResponseRequestCall interface.
|
|
48
|
+
*/
|
|
49
|
+
export function instanceOfUpdateCallForCodeInviteResponseRequestCall(value: object): value is UpdateCallForCodeInviteResponseRequestCall {
|
|
50
|
+
if (!('vendorCallId' in value) || value['vendorCallId'] === undefined) return false;
|
|
51
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function UpdateCallForCodeInviteResponseRequestCallFromJSON(json: any): UpdateCallForCodeInviteResponseRequestCall {
|
|
56
|
+
return UpdateCallForCodeInviteResponseRequestCallFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function UpdateCallForCodeInviteResponseRequestCallFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateCallForCodeInviteResponseRequestCall {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'vendorCallId': json['vendorCallId'],
|
|
66
|
+
'status': CallStatusFromJSON(json['status']),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function UpdateCallForCodeInviteResponseRequestCallToJSON(json: any): UpdateCallForCodeInviteResponseRequestCall {
|
|
71
|
+
return UpdateCallForCodeInviteResponseRequestCallToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function UpdateCallForCodeInviteResponseRequestCallToJSONTyped(value?: UpdateCallForCodeInviteResponseRequestCall | null, ignoreDiscriminator: boolean = false): any {
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'vendorCallId': value['vendorCallId'],
|
|
82
|
+
'status': CallStatusToJSON(value['status']),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 UpdateCodeInviteResponse404Response
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateCodeInviteResponse404Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateCodeInviteResponse404Response
|
|
26
|
+
*/
|
|
27
|
+
error: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the UpdateCodeInviteResponse404Response interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfUpdateCodeInviteResponse404Response(value: object): value is UpdateCodeInviteResponse404Response {
|
|
34
|
+
if (!('error' in value) || value['error'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function UpdateCodeInviteResponse404ResponseFromJSON(json: any): UpdateCodeInviteResponse404Response {
|
|
39
|
+
return UpdateCodeInviteResponse404ResponseFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function UpdateCodeInviteResponse404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateCodeInviteResponse404Response {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'error': json['error'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function UpdateCodeInviteResponse404ResponseToJSON(json: any): UpdateCodeInviteResponse404Response {
|
|
53
|
+
return UpdateCodeInviteResponse404ResponseToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function UpdateCodeInviteResponse404ResponseToJSONTyped(value?: UpdateCodeInviteResponse404Response | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'error': value['error'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|