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.
Files changed (201) hide show
  1. package/.openapi-generator/FILES +37 -22
  2. package/README.md +2 -2
  3. package/dist/apis/DefaultApi.d.ts +236 -235
  4. package/dist/apis/DefaultApi.js +926 -786
  5. package/dist/models/ApiInvitesIdParticipantInvitesGet200Response.d.ts +51 -0
  6. package/dist/models/ApiInvitesIdParticipantInvitesGet200Response.js +64 -0
  7. package/dist/models/ApiInvitesIdResponsesGet200Response.d.ts +3 -3
  8. package/dist/models/ApiInvitesIdResponsesGet200Response.js +3 -3
  9. package/dist/models/Attribute.d.ts +65 -0
  10. package/dist/models/Attribute.js +68 -0
  11. package/dist/models/AttributeFilterGroupSchemaInner.d.ts +23 -0
  12. package/dist/models/AttributeFilterGroupSchemaInner.js +58 -0
  13. package/dist/models/AttributeKind.d.ts +76 -0
  14. package/dist/models/AttributeKind.js +75 -0
  15. package/dist/models/AttributeSource.d.ts +25 -0
  16. package/dist/models/AttributeSource.js +51 -0
  17. package/dist/models/AttributeStatsSchemaInner.d.ts +40 -0
  18. package/dist/models/AttributeStatsSchemaInner.js +57 -0
  19. package/dist/models/AttributeStatsSchemaInnerKind.d.ts +57 -0
  20. package/dist/models/AttributeStatsSchemaInnerKind.js +64 -0
  21. package/dist/models/AttributeStatsSchemaInnerValuesInner.d.ts +38 -0
  22. package/dist/models/AttributeStatsSchemaInnerValuesInner.js +55 -0
  23. package/dist/models/AttributeValueKind.d.ts +26 -0
  24. package/dist/models/AttributeValueKind.js +52 -0
  25. package/dist/models/CallSummary.d.ts +46 -0
  26. package/dist/models/CallSummary.js +61 -0
  27. package/dist/models/CodeInvite.d.ts +10 -3
  28. package/dist/models/CodeInvite.js +8 -3
  29. package/dist/models/CodeInviteConfig.d.ts +30 -0
  30. package/dist/models/CodeInviteConfig.js +59 -0
  31. package/dist/models/CodeInviteConfigContacts.d.ts +75 -0
  32. package/dist/models/CodeInviteConfigContacts.js +72 -0
  33. package/dist/models/CodeInviteConfigKeplarPanel.d.ts +82 -0
  34. package/dist/models/CodeInviteConfigKeplarPanel.js +77 -0
  35. package/dist/models/CreateCodeInviteResponseRequest.d.ts +40 -0
  36. package/dist/models/CreateCodeInviteResponseRequest.js +53 -0
  37. package/dist/models/GetCodeInvite200Response.d.ts +83 -0
  38. package/dist/models/{ApiInviteCodeCodeGet200Response.js → GetCodeInvite200Response.js} +21 -16
  39. package/dist/models/GetCodeInviteResponseRedirect200Response.d.ts +32 -0
  40. package/dist/models/GetCodeInviteResponseRedirect200Response.js +51 -0
  41. package/dist/models/InviteConfig.d.ts +12 -70
  42. package/dist/models/InviteConfig.js +23 -37
  43. package/dist/models/InviteConfigContacts.d.ts +75 -0
  44. package/dist/models/InviteConfigContacts.js +72 -0
  45. package/dist/models/InviteConfigKeplarPanel.d.ts +95 -0
  46. package/dist/models/InviteConfigKeplarPanel.js +82 -0
  47. package/dist/models/InviteConfigPublic.d.ts +81 -0
  48. package/dist/models/InviteConfigPublic.js +74 -0
  49. package/dist/models/InviteResponse.d.ts +7 -0
  50. package/dist/models/InviteResponse.js +3 -0
  51. package/dist/models/InviteResponseAttribute.d.ts +71 -0
  52. package/dist/models/InviteResponseAttribute.js +74 -0
  53. package/dist/models/InviteResponseData.d.ts +3 -3
  54. package/dist/models/InviteResponseData.js +3 -3
  55. package/dist/models/InviteResponseWithCallSummary.d.ts +118 -0
  56. package/dist/models/InviteResponseWithCallSummary.js +97 -0
  57. package/dist/models/JoinCodeInvite302Response.d.ts +83 -0
  58. package/dist/models/{ApiInviteCodeCodeStartGet302Response.js → JoinCodeInvite302Response.js} +21 -16
  59. package/dist/models/JoinCodeInvite302ResponseSettings.d.ts +46 -0
  60. package/dist/models/JoinCodeInvite302ResponseSettings.js +57 -0
  61. package/dist/models/NumberFilterSchema.d.ts +57 -0
  62. package/dist/models/NumberFilterSchema.js +66 -0
  63. package/dist/models/PanelQualification.d.ts +38 -0
  64. package/dist/models/{ProjectPanelQualification.js → PanelQualification.js} +13 -13
  65. package/dist/models/PanelRespondentAttribute.d.ts +45 -0
  66. package/dist/models/PanelRespondentAttribute.js +60 -0
  67. package/dist/models/PanelSettings.d.ts +63 -0
  68. package/dist/models/{ProjectPanelSettings.js → PanelSettings.js} +16 -16
  69. package/dist/models/Participant.d.ts +7 -0
  70. package/dist/models/Participant.js +3 -0
  71. package/dist/models/ParticipantAttribute.d.ts +77 -0
  72. package/dist/models/ParticipantAttribute.js +78 -0
  73. package/dist/models/ProjectAudience.d.ts +3 -3
  74. package/dist/models/ProjectAudience.js +3 -3
  75. package/dist/models/ProjectConfig.d.ts +3 -3
  76. package/dist/models/ProjectConfig.js +3 -3
  77. package/dist/models/ResponseSubmitScreenerEvent.d.ts +3 -3
  78. package/dist/models/ResponseSubmitScreenerEvent.js +3 -3
  79. package/dist/models/ScreenerQuestionChooseOne.d.ts +57 -0
  80. package/dist/models/{ProjectScreenerQuestionChooseOne.js → ScreenerQuestionChooseOne.js} +15 -15
  81. package/dist/models/ScreenerQuestionChooseOnePublic.d.ts +51 -0
  82. package/dist/models/ScreenerQuestionChooseOnePublic.js +66 -0
  83. package/dist/models/ScreenerQuestionResponse.d.ts +44 -0
  84. package/dist/models/{ProjectScreenerQuestionResponse.js → ScreenerQuestionResponse.js} +13 -13
  85. package/dist/models/SelectFilterSchema.d.ts +45 -0
  86. package/dist/models/SelectFilterSchema.js +60 -0
  87. package/dist/models/SelectFilterSchemaKind.d.ts +26 -0
  88. package/dist/models/SelectFilterSchemaKind.js +39 -0
  89. package/dist/models/StartPhoneCallForCodeInviteResponseRequest.d.ts +32 -0
  90. package/dist/models/StartPhoneCallForCodeInviteResponseRequest.js +51 -0
  91. package/dist/models/UpdateCallForCodeInviteResponseRequest.d.ts +39 -0
  92. package/dist/models/UpdateCallForCodeInviteResponseRequest.js +56 -0
  93. package/dist/models/UpdateCallForCodeInviteResponseRequestCall.d.ts +39 -0
  94. package/dist/models/UpdateCallForCodeInviteResponseRequestCall.js +56 -0
  95. package/dist/models/UpdateCodeInviteResponse404Response.d.ts +32 -0
  96. package/dist/models/UpdateCodeInviteResponse404Response.js +51 -0
  97. package/dist/models/index.d.ts +37 -22
  98. package/dist/models/index.js +37 -22
  99. package/package.json +1 -1
  100. package/src/apis/DefaultApi.ts +1126 -991
  101. package/src/models/ApiInvitesIdParticipantInvitesGet200Response.ts +101 -0
  102. package/src/models/ApiInvitesIdResponsesGet200Response.ts +10 -10
  103. package/src/models/Attribute.ts +130 -0
  104. package/src/models/AttributeFilterGroupSchemaInner.ts +76 -0
  105. package/src/models/AttributeKind.ts +143 -0
  106. package/src/models/AttributeSource.ts +53 -0
  107. package/src/models/AttributeStatsSchemaInner.ts +90 -0
  108. package/src/models/AttributeStatsSchemaInnerKind.ts +110 -0
  109. package/src/models/AttributeStatsSchemaInnerValuesInner.ts +75 -0
  110. package/src/models/AttributeValueKind.ts +54 -0
  111. package/src/models/CallSummary.ts +101 -0
  112. package/src/models/CodeInvite.ts +27 -11
  113. package/src/models/CodeInviteConfig.ts +83 -0
  114. package/src/models/CodeInviteConfigContacts.ts +125 -0
  115. package/src/models/CodeInviteConfigKeplarPanel.ts +142 -0
  116. package/src/models/CreateCodeInviteResponseRequest.ts +90 -0
  117. package/src/models/{ApiInviteCodeCodeGet200Response.ts → GetCodeInvite200Response.ts} +45 -29
  118. package/src/models/GetCodeInviteResponseRedirect200Response.ts +66 -0
  119. package/src/models/InviteConfig.ts +42 -113
  120. package/src/models/InviteConfigContacts.ts +125 -0
  121. package/src/models/InviteConfigKeplarPanel.ts +165 -0
  122. package/src/models/InviteConfigPublic.ts +133 -0
  123. package/src/models/InviteResponse.ts +15 -0
  124. package/src/models/InviteResponseAttribute.ts +142 -0
  125. package/src/models/InviteResponseData.ts +10 -10
  126. package/src/models/InviteResponseWithCallSummary.ts +235 -0
  127. package/src/models/{ApiInviteCodeCodeStartGet302Response.ts → JoinCodeInvite302Response.ts} +45 -29
  128. package/src/models/JoinCodeInvite302ResponseSettings.ts +97 -0
  129. package/src/models/NumberFilterSchema.ts +101 -0
  130. package/src/models/{ProjectPanelQualification.ts → PanelQualification.ts} +12 -12
  131. package/src/models/PanelRespondentAttribute.ts +92 -0
  132. package/src/models/{ProjectPanelSettings.ts → PanelSettings.ts} +26 -26
  133. package/src/models/Participant.ts +15 -0
  134. package/src/models/ParticipantAttribute.ts +151 -0
  135. package/src/models/ProjectAudience.ts +10 -10
  136. package/src/models/ProjectConfig.ts +11 -11
  137. package/src/models/ResponseSubmitScreenerEvent.ts +10 -10
  138. package/src/models/{ProjectScreenerQuestionChooseOne.ts → ScreenerQuestionChooseOne.ts} +17 -17
  139. package/src/models/ScreenerQuestionChooseOnePublic.ts +94 -0
  140. package/src/models/{ProjectScreenerQuestionResponse.ts → ScreenerQuestionResponse.ts} +13 -13
  141. package/src/models/SelectFilterSchema.ts +92 -0
  142. package/src/models/SelectFilterSchemaKind.ts +46 -0
  143. package/src/models/StartPhoneCallForCodeInviteResponseRequest.ts +66 -0
  144. package/src/models/UpdateCallForCodeInviteResponseRequest.ts +83 -0
  145. package/src/models/UpdateCallForCodeInviteResponseRequestCall.ts +85 -0
  146. package/src/models/UpdateCodeInviteResponse404Response.ts +66 -0
  147. package/src/models/index.ts +37 -22
  148. package/dist/models/ApiInviteCodeCodeGet200Response.d.ts +0 -76
  149. package/dist/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.d.ts +0 -32
  150. package/dist/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.js +0 -51
  151. package/dist/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.d.ts +0 -32
  152. package/dist/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.js +0 -51
  153. package/dist/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.d.ts +0 -32
  154. package/dist/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.js +0 -51
  155. package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.d.ts +0 -39
  156. package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.js +0 -56
  157. package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.d.ts +0 -39
  158. package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.js +0 -56
  159. package/dist/models/ApiInviteCodeCodeStartGet302Response.d.ts +0 -76
  160. package/dist/models/ApiInviteCodeCodeStartGet302ResponseSettings.d.ts +0 -64
  161. package/dist/models/ApiInviteCodeCodeStartGet302ResponseSettings.js +0 -63
  162. package/dist/models/GetParticipantInvitesResponse.d.ts +0 -39
  163. package/dist/models/GetParticipantInvitesResponse.js +0 -56
  164. package/dist/models/ProjectPanelQualification.d.ts +0 -38
  165. package/dist/models/ProjectPanelRespondentAttribute.d.ts +0 -45
  166. package/dist/models/ProjectPanelRespondentAttribute.js +0 -60
  167. package/dist/models/ProjectPanelSettings.d.ts +0 -63
  168. package/dist/models/ProjectScreenerQuestionChooseOne.d.ts +0 -57
  169. package/dist/models/ProjectScreenerQuestionChooseOnePublic.d.ts +0 -51
  170. package/dist/models/ProjectScreenerQuestionChooseOnePublic.js +0 -66
  171. package/dist/models/ProjectScreenerQuestionResponse.d.ts +0 -44
  172. package/dist/models/RepDataConfigLegacy.d.ts +0 -59
  173. package/dist/models/RepDataConfigLegacy.js +0 -62
  174. package/dist/models/RepDataProjectLegacy.d.ts +0 -32
  175. package/dist/models/RepDataProjectLegacy.js +0 -51
  176. package/dist/models/RepDataStudyLegacy.d.ts +0 -93
  177. package/dist/models/RepDataStudyLegacy.js +0 -92
  178. package/dist/models/RepDataStudyLegacyQualificationsInner.d.ts +0 -38
  179. package/dist/models/RepDataStudyLegacyQualificationsInner.js +0 -55
  180. package/dist/models/RepDataSurveyLegacy.d.ts +0 -46
  181. package/dist/models/RepDataSurveyLegacy.js +0 -59
  182. package/dist/models/RepDataSurveyLegacyProject.d.ts +0 -32
  183. package/dist/models/RepDataSurveyLegacyProject.js +0 -51
  184. package/dist/models/RepDataSurveyStatusLegacy.d.ts +0 -26
  185. package/dist/models/RepDataSurveyStatusLegacy.js +0 -52
  186. package/src/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.ts +0 -66
  187. package/src/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.ts +0 -66
  188. package/src/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.ts +0 -66
  189. package/src/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.ts +0 -83
  190. package/src/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.ts +0 -85
  191. package/src/models/ApiInviteCodeCodeStartGet302ResponseSettings.ts +0 -121
  192. package/src/models/GetParticipantInvitesResponse.ts +0 -83
  193. package/src/models/ProjectPanelRespondentAttribute.ts +0 -92
  194. package/src/models/ProjectScreenerQuestionChooseOnePublic.ts +0 -94
  195. package/src/models/RepDataConfigLegacy.ts +0 -120
  196. package/src/models/RepDataProjectLegacy.ts +0 -66
  197. package/src/models/RepDataStudyLegacy.ts +0 -164
  198. package/src/models/RepDataStudyLegacyQualificationsInner.ts +0 -75
  199. package/src/models/RepDataSurveyLegacy.ts +0 -100
  200. package/src/models/RepDataSurveyLegacyProject.ts +0 -66
  201. 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 ProjectScreenerQuestionResponse
19
+ * @interface ScreenerQuestionResponse
20
20
  */
21
- export interface ProjectScreenerQuestionResponse {
21
+ export interface ScreenerQuestionResponse {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof ProjectScreenerQuestionResponse
25
+ * @memberof ScreenerQuestionResponse
26
26
  */
27
27
  question: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof ProjectScreenerQuestionResponse
31
+ * @memberof ScreenerQuestionResponse
32
32
  */
33
33
  response: string;
34
34
  /**
35
35
  *
36
36
  * @type {boolean}
37
- * @memberof ProjectScreenerQuestionResponse
37
+ * @memberof ScreenerQuestionResponse
38
38
  */
39
39
  passing: boolean;
40
40
  }
41
41
 
42
42
  /**
43
- * Check if a given object implements the ProjectScreenerQuestionResponse interface.
43
+ * Check if a given object implements the ScreenerQuestionResponse interface.
44
44
  */
45
- export function instanceOfProjectScreenerQuestionResponse(value: object): value is ProjectScreenerQuestionResponse {
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 ProjectScreenerQuestionResponseFromJSON(json: any): ProjectScreenerQuestionResponse {
53
- return ProjectScreenerQuestionResponseFromJSONTyped(json, false);
52
+ export function ScreenerQuestionResponseFromJSON(json: any): ScreenerQuestionResponse {
53
+ return ScreenerQuestionResponseFromJSONTyped(json, false);
54
54
  }
55
55
 
56
- export function ProjectScreenerQuestionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectScreenerQuestionResponse {
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 ProjectScreenerQuestionResponseToJSON(json: any): ProjectScreenerQuestionResponse {
69
- return ProjectScreenerQuestionResponseToJSONTyped(json, false);
68
+ export function ScreenerQuestionResponseToJSON(json: any): ScreenerQuestionResponse {
69
+ return ScreenerQuestionResponseToJSONTyped(json, false);
70
70
  }
71
71
 
72
- export function ProjectScreenerQuestionResponseToJSONTyped(value?: ProjectScreenerQuestionResponse | null, ignoreDiscriminator: boolean = false): any {
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
+