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,51 @@
1
+ /**
2
+ * Fastify Template API
3
+ * API documentation using Swagger
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ParticipantInvite } from './ParticipantInvite';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiInvitesIdParticipantInvitesGet200Response
17
+ */
18
+ export interface ApiInvitesIdParticipantInvitesGet200Response {
19
+ /**
20
+ *
21
+ * @type {Array<ParticipantInvite>}
22
+ * @memberof ApiInvitesIdParticipantInvitesGet200Response
23
+ */
24
+ items: Array<ParticipantInvite>;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof ApiInvitesIdParticipantInvitesGet200Response
29
+ */
30
+ total: number;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof ApiInvitesIdParticipantInvitesGet200Response
35
+ */
36
+ page: number;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ApiInvitesIdParticipantInvitesGet200Response
41
+ */
42
+ limit: number;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ApiInvitesIdParticipantInvitesGet200Response interface.
46
+ */
47
+ export declare function instanceOfApiInvitesIdParticipantInvitesGet200Response(value: object): value is ApiInvitesIdParticipantInvitesGet200Response;
48
+ export declare function ApiInvitesIdParticipantInvitesGet200ResponseFromJSON(json: any): ApiInvitesIdParticipantInvitesGet200Response;
49
+ export declare function ApiInvitesIdParticipantInvitesGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiInvitesIdParticipantInvitesGet200Response;
50
+ export declare function ApiInvitesIdParticipantInvitesGet200ResponseToJSON(json: any): ApiInvitesIdParticipantInvitesGet200Response;
51
+ export declare function ApiInvitesIdParticipantInvitesGet200ResponseToJSONTyped(value?: ApiInvitesIdParticipantInvitesGet200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Fastify Template API
6
+ * API documentation using Swagger
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfApiInvitesIdParticipantInvitesGet200Response = instanceOfApiInvitesIdParticipantInvitesGet200Response;
17
+ exports.ApiInvitesIdParticipantInvitesGet200ResponseFromJSON = ApiInvitesIdParticipantInvitesGet200ResponseFromJSON;
18
+ exports.ApiInvitesIdParticipantInvitesGet200ResponseFromJSONTyped = ApiInvitesIdParticipantInvitesGet200ResponseFromJSONTyped;
19
+ exports.ApiInvitesIdParticipantInvitesGet200ResponseToJSON = ApiInvitesIdParticipantInvitesGet200ResponseToJSON;
20
+ exports.ApiInvitesIdParticipantInvitesGet200ResponseToJSONTyped = ApiInvitesIdParticipantInvitesGet200ResponseToJSONTyped;
21
+ var ParticipantInvite_1 = require("./ParticipantInvite");
22
+ /**
23
+ * Check if a given object implements the ApiInvitesIdParticipantInvitesGet200Response interface.
24
+ */
25
+ function instanceOfApiInvitesIdParticipantInvitesGet200Response(value) {
26
+ if (!('items' in value) || value['items'] === undefined)
27
+ return false;
28
+ if (!('total' in value) || value['total'] === undefined)
29
+ return false;
30
+ if (!('page' in value) || value['page'] === undefined)
31
+ return false;
32
+ if (!('limit' in value) || value['limit'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function ApiInvitesIdParticipantInvitesGet200ResponseFromJSON(json) {
37
+ return ApiInvitesIdParticipantInvitesGet200ResponseFromJSONTyped(json, false);
38
+ }
39
+ function ApiInvitesIdParticipantInvitesGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'items': (json['items'].map(ParticipantInvite_1.ParticipantInviteFromJSON)),
45
+ 'total': json['total'],
46
+ 'page': json['page'],
47
+ 'limit': json['limit'],
48
+ };
49
+ }
50
+ function ApiInvitesIdParticipantInvitesGet200ResponseToJSON(json) {
51
+ return ApiInvitesIdParticipantInvitesGet200ResponseToJSONTyped(json, false);
52
+ }
53
+ function ApiInvitesIdParticipantInvitesGet200ResponseToJSONTyped(value, ignoreDiscriminator) {
54
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'items': (value['items'].map(ParticipantInvite_1.ParticipantInviteToJSON)),
60
+ 'total': value['total'],
61
+ 'page': value['page'],
62
+ 'limit': value['limit'],
63
+ };
64
+ }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { InviteResponse } from './InviteResponse';
12
+ import type { InviteResponseWithCallSummary } from './InviteResponseWithCallSummary';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,10 +18,10 @@ import type { InviteResponse } from './InviteResponse';
18
18
  export interface ApiInvitesIdResponsesGet200Response {
19
19
  /**
20
20
  *
21
- * @type {Array<InviteResponse>}
21
+ * @type {Array<InviteResponseWithCallSummary>}
22
22
  * @memberof ApiInvitesIdResponsesGet200Response
23
23
  */
24
- items: Array<InviteResponse>;
24
+ items: Array<InviteResponseWithCallSummary>;
25
25
  /**
26
26
  *
27
27
  * @type {number}
@@ -18,7 +18,7 @@ exports.ApiInvitesIdResponsesGet200ResponseFromJSON = ApiInvitesIdResponsesGet20
18
18
  exports.ApiInvitesIdResponsesGet200ResponseFromJSONTyped = ApiInvitesIdResponsesGet200ResponseFromJSONTyped;
19
19
  exports.ApiInvitesIdResponsesGet200ResponseToJSON = ApiInvitesIdResponsesGet200ResponseToJSON;
20
20
  exports.ApiInvitesIdResponsesGet200ResponseToJSONTyped = ApiInvitesIdResponsesGet200ResponseToJSONTyped;
21
- var InviteResponse_1 = require("./InviteResponse");
21
+ var InviteResponseWithCallSummary_1 = require("./InviteResponseWithCallSummary");
22
22
  /**
23
23
  * Check if a given object implements the ApiInvitesIdResponsesGet200Response interface.
24
24
  */
@@ -41,7 +41,7 @@ function ApiInvitesIdResponsesGet200ResponseFromJSONTyped(json, ignoreDiscrimina
41
41
  return json;
42
42
  }
43
43
  return {
44
- 'items': (json['items'].map(InviteResponse_1.InviteResponseFromJSON)),
44
+ 'items': (json['items'].map(InviteResponseWithCallSummary_1.InviteResponseWithCallSummaryFromJSON)),
45
45
  'total': json['total'],
46
46
  'page': json['page'],
47
47
  'limit': json['limit'],
@@ -56,7 +56,7 @@ function ApiInvitesIdResponsesGet200ResponseToJSONTyped(value, ignoreDiscriminat
56
56
  return value;
57
57
  }
58
58
  return {
59
- 'items': (value['items'].map(InviteResponse_1.InviteResponseToJSON)),
59
+ 'items': (value['items'].map(InviteResponseWithCallSummary_1.InviteResponseWithCallSummaryToJSON)),
60
60
  'total': value['total'],
61
61
  'page': value['page'],
62
62
  'limit': value['limit'],
@@ -0,0 +1,65 @@
1
+ /**
2
+ * Fastify Template API
3
+ * API documentation using Swagger
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { InviteResponseAttribute } from './InviteResponseAttribute';
13
+ import type { ParticipantAttribute } from './ParticipantAttribute';
14
+ import type { AttributeKind } from './AttributeKind';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface Attribute
19
+ */
20
+ export interface Attribute {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof Attribute
25
+ */
26
+ attributeKindKey: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof Attribute
31
+ */
32
+ value: string;
33
+ /**
34
+ *
35
+ * @type {Date}
36
+ * @memberof Attribute
37
+ */
38
+ createdAt: Date;
39
+ /**
40
+ *
41
+ * @type {AttributeKind}
42
+ * @memberof Attribute
43
+ */
44
+ attributeKind?: AttributeKind;
45
+ /**
46
+ *
47
+ * @type {Array<ParticipantAttribute>}
48
+ * @memberof Attribute
49
+ */
50
+ participantAttributes?: Array<ParticipantAttribute>;
51
+ /**
52
+ *
53
+ * @type {Array<InviteResponseAttribute>}
54
+ * @memberof Attribute
55
+ */
56
+ inviteResponseAttributes?: Array<InviteResponseAttribute>;
57
+ }
58
+ /**
59
+ * Check if a given object implements the Attribute interface.
60
+ */
61
+ export declare function instanceOfAttribute(value: object): value is Attribute;
62
+ export declare function AttributeFromJSON(json: any): Attribute;
63
+ export declare function AttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Attribute;
64
+ export declare function AttributeToJSON(json: any): Attribute;
65
+ export declare function AttributeToJSONTyped(value?: Attribute | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Fastify Template API
6
+ * API documentation using Swagger
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfAttribute = instanceOfAttribute;
17
+ exports.AttributeFromJSON = AttributeFromJSON;
18
+ exports.AttributeFromJSONTyped = AttributeFromJSONTyped;
19
+ exports.AttributeToJSON = AttributeToJSON;
20
+ exports.AttributeToJSONTyped = AttributeToJSONTyped;
21
+ var InviteResponseAttribute_1 = require("./InviteResponseAttribute");
22
+ var ParticipantAttribute_1 = require("./ParticipantAttribute");
23
+ var AttributeKind_1 = require("./AttributeKind");
24
+ /**
25
+ * Check if a given object implements the Attribute interface.
26
+ */
27
+ function instanceOfAttribute(value) {
28
+ if (!('attributeKindKey' in value) || value['attributeKindKey'] === undefined)
29
+ return false;
30
+ if (!('value' in value) || value['value'] === undefined)
31
+ return false;
32
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function AttributeFromJSON(json) {
37
+ return AttributeFromJSONTyped(json, false);
38
+ }
39
+ function AttributeFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'attributeKindKey': json['attributeKindKey'],
45
+ 'value': json['value'],
46
+ 'createdAt': (new Date(json['createdAt'])),
47
+ 'attributeKind': json['attributeKind'] == null ? undefined : (0, AttributeKind_1.AttributeKindFromJSON)(json['attributeKind']),
48
+ 'participantAttributes': json['participantAttributes'] == null ? undefined : (json['participantAttributes'].map(ParticipantAttribute_1.ParticipantAttributeFromJSON)),
49
+ 'inviteResponseAttributes': json['inviteResponseAttributes'] == null ? undefined : (json['inviteResponseAttributes'].map(InviteResponseAttribute_1.InviteResponseAttributeFromJSON)),
50
+ };
51
+ }
52
+ function AttributeToJSON(json) {
53
+ return AttributeToJSONTyped(json, false);
54
+ }
55
+ function AttributeToJSONTyped(value, ignoreDiscriminator) {
56
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'attributeKindKey': value['attributeKindKey'],
62
+ 'value': value['value'],
63
+ 'createdAt': ((value['createdAt']).toISOString()),
64
+ 'attributeKind': (0, AttributeKind_1.AttributeKindToJSON)(value['attributeKind']),
65
+ 'participantAttributes': value['participantAttributes'] == null ? undefined : (value['participantAttributes'].map(ParticipantAttribute_1.ParticipantAttributeToJSON)),
66
+ 'inviteResponseAttributes': value['inviteResponseAttributes'] == null ? undefined : (value['inviteResponseAttributes'].map(InviteResponseAttribute_1.InviteResponseAttributeToJSON)),
67
+ };
68
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Fastify Template API
3
+ * API documentation using Swagger
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { NumberFilterSchema } from './NumberFilterSchema';
13
+ import type { SelectFilterSchema } from './SelectFilterSchema';
14
+ /**
15
+ * @type AttributeFilterGroupSchemaInner
16
+ *
17
+ * @export
18
+ */
19
+ export type AttributeFilterGroupSchemaInner = NumberFilterSchema | SelectFilterSchema;
20
+ export declare function AttributeFilterGroupSchemaInnerFromJSON(json: any): AttributeFilterGroupSchemaInner;
21
+ export declare function AttributeFilterGroupSchemaInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeFilterGroupSchemaInner;
22
+ export declare function AttributeFilterGroupSchemaInnerToJSON(json: any): any;
23
+ export declare function AttributeFilterGroupSchemaInnerToJSONTyped(value?: AttributeFilterGroupSchemaInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Fastify Template API
6
+ * API documentation using Swagger
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AttributeFilterGroupSchemaInnerFromJSON = AttributeFilterGroupSchemaInnerFromJSON;
17
+ exports.AttributeFilterGroupSchemaInnerFromJSONTyped = AttributeFilterGroupSchemaInnerFromJSONTyped;
18
+ exports.AttributeFilterGroupSchemaInnerToJSON = AttributeFilterGroupSchemaInnerToJSON;
19
+ exports.AttributeFilterGroupSchemaInnerToJSONTyped = AttributeFilterGroupSchemaInnerToJSONTyped;
20
+ var NumberFilterSchema_1 = require("./NumberFilterSchema");
21
+ var SelectFilterSchema_1 = require("./SelectFilterSchema");
22
+ function AttributeFilterGroupSchemaInnerFromJSON(json) {
23
+ return AttributeFilterGroupSchemaInnerFromJSONTyped(json, false);
24
+ }
25
+ function AttributeFilterGroupSchemaInnerFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ if (typeof json !== 'object') {
30
+ return json;
31
+ }
32
+ if ((0, NumberFilterSchema_1.instanceOfNumberFilterSchema)(json)) {
33
+ return (0, NumberFilterSchema_1.NumberFilterSchemaFromJSONTyped)(json, true);
34
+ }
35
+ if ((0, SelectFilterSchema_1.instanceOfSelectFilterSchema)(json)) {
36
+ return (0, SelectFilterSchema_1.SelectFilterSchemaFromJSONTyped)(json, true);
37
+ }
38
+ return {};
39
+ }
40
+ function AttributeFilterGroupSchemaInnerToJSON(json) {
41
+ return AttributeFilterGroupSchemaInnerToJSONTyped(json, false);
42
+ }
43
+ function AttributeFilterGroupSchemaInnerToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ if (typeof value !== 'object') {
49
+ return value;
50
+ }
51
+ if ((0, NumberFilterSchema_1.instanceOfNumberFilterSchema)(value)) {
52
+ return (0, NumberFilterSchema_1.NumberFilterSchemaToJSON)(value);
53
+ }
54
+ if ((0, SelectFilterSchema_1.instanceOfSelectFilterSchema)(value)) {
55
+ return (0, SelectFilterSchema_1.SelectFilterSchemaToJSON)(value);
56
+ }
57
+ return {};
58
+ }
@@ -0,0 +1,76 @@
1
+ /**
2
+ * Fastify Template API
3
+ * API documentation using Swagger
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Attribute } from './Attribute';
13
+ import type { AttributeValueKind } from './AttributeValueKind';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AttributeKind
18
+ */
19
+ export interface AttributeKind {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof AttributeKind
24
+ */
25
+ key: string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof AttributeKind
30
+ */
31
+ label: string;
32
+ /**
33
+ *
34
+ * @type {AttributeValueKind}
35
+ * @memberof AttributeKind
36
+ */
37
+ valueKind: AttributeValueKind;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof AttributeKind
42
+ */
43
+ description?: string | null;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof AttributeKind
48
+ */
49
+ category?: string | null;
50
+ /**
51
+ *
52
+ * @type {Date}
53
+ * @memberof AttributeKind
54
+ */
55
+ createdAt: Date;
56
+ /**
57
+ *
58
+ * @type {Date}
59
+ * @memberof AttributeKind
60
+ */
61
+ updatedAt: Date;
62
+ /**
63
+ *
64
+ * @type {Array<Attribute>}
65
+ * @memberof AttributeKind
66
+ */
67
+ attributes?: Array<Attribute>;
68
+ }
69
+ /**
70
+ * Check if a given object implements the AttributeKind interface.
71
+ */
72
+ export declare function instanceOfAttributeKind(value: object): value is AttributeKind;
73
+ export declare function AttributeKindFromJSON(json: any): AttributeKind;
74
+ export declare function AttributeKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeKind;
75
+ export declare function AttributeKindToJSON(json: any): AttributeKind;
76
+ export declare function AttributeKindToJSONTyped(value?: AttributeKind | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Fastify Template API
6
+ * API documentation using Swagger
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfAttributeKind = instanceOfAttributeKind;
17
+ exports.AttributeKindFromJSON = AttributeKindFromJSON;
18
+ exports.AttributeKindFromJSONTyped = AttributeKindFromJSONTyped;
19
+ exports.AttributeKindToJSON = AttributeKindToJSON;
20
+ exports.AttributeKindToJSONTyped = AttributeKindToJSONTyped;
21
+ var Attribute_1 = require("./Attribute");
22
+ var AttributeValueKind_1 = require("./AttributeValueKind");
23
+ /**
24
+ * Check if a given object implements the AttributeKind interface.
25
+ */
26
+ function instanceOfAttributeKind(value) {
27
+ if (!('key' in value) || value['key'] === undefined)
28
+ return false;
29
+ if (!('label' in value) || value['label'] === undefined)
30
+ return false;
31
+ if (!('valueKind' in value) || value['valueKind'] === undefined)
32
+ return false;
33
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
34
+ return false;
35
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
36
+ return false;
37
+ return true;
38
+ }
39
+ function AttributeKindFromJSON(json) {
40
+ return AttributeKindFromJSONTyped(json, false);
41
+ }
42
+ function AttributeKindFromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'key': json['key'],
48
+ 'label': json['label'],
49
+ 'valueKind': (0, AttributeValueKind_1.AttributeValueKindFromJSON)(json['valueKind']),
50
+ 'description': json['description'] == null ? undefined : json['description'],
51
+ 'category': json['category'] == null ? undefined : json['category'],
52
+ 'createdAt': (new Date(json['createdAt'])),
53
+ 'updatedAt': (new Date(json['updatedAt'])),
54
+ 'attributes': json['attributes'] == null ? undefined : (json['attributes'].map(Attribute_1.AttributeFromJSON)),
55
+ };
56
+ }
57
+ function AttributeKindToJSON(json) {
58
+ return AttributeKindToJSONTyped(json, false);
59
+ }
60
+ function AttributeKindToJSONTyped(value, ignoreDiscriminator) {
61
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
62
+ if (value == null) {
63
+ return value;
64
+ }
65
+ return {
66
+ 'key': value['key'],
67
+ 'label': value['label'],
68
+ 'valueKind': (0, AttributeValueKind_1.AttributeValueKindToJSON)(value['valueKind']),
69
+ 'description': value['description'],
70
+ 'category': value['category'],
71
+ 'createdAt': ((value['createdAt']).toISOString()),
72
+ 'updatedAt': ((value['updatedAt']).toISOString()),
73
+ 'attributes': value['attributes'] == null ? undefined : (value['attributes'].map(Attribute_1.AttributeToJSON)),
74
+ };
75
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Fastify Template API
3
+ * API documentation using Swagger
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ */
16
+ export declare const AttributeSource: {
17
+ readonly Panel: "panel";
18
+ readonly Generated: "generated";
19
+ };
20
+ export type AttributeSource = typeof AttributeSource[keyof typeof AttributeSource];
21
+ export declare function instanceOfAttributeSource(value: any): boolean;
22
+ export declare function AttributeSourceFromJSON(json: any): AttributeSource;
23
+ export declare function AttributeSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeSource;
24
+ export declare function AttributeSourceToJSON(value?: AttributeSource | null): any;
25
+ export declare function AttributeSourceToJSONTyped(value: any, ignoreDiscriminator: boolean): AttributeSource;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Fastify Template API
6
+ * API documentation using Swagger
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AttributeSource = void 0;
17
+ exports.instanceOfAttributeSource = instanceOfAttributeSource;
18
+ exports.AttributeSourceFromJSON = AttributeSourceFromJSON;
19
+ exports.AttributeSourceFromJSONTyped = AttributeSourceFromJSONTyped;
20
+ exports.AttributeSourceToJSON = AttributeSourceToJSON;
21
+ exports.AttributeSourceToJSONTyped = AttributeSourceToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.AttributeSource = {
27
+ Panel: 'panel',
28
+ Generated: 'generated'
29
+ };
30
+ function instanceOfAttributeSource(value) {
31
+ for (var key in exports.AttributeSource) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.AttributeSource, key)) {
33
+ if (exports.AttributeSource[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function AttributeSourceFromJSON(json) {
41
+ return AttributeSourceFromJSONTyped(json, false);
42
+ }
43
+ function AttributeSourceFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function AttributeSourceToJSON(value) {
47
+ return value;
48
+ }
49
+ function AttributeSourceToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Fastify Template API
3
+ * API documentation using Swagger
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { AttributeStatsSchemaInnerKind } from './AttributeStatsSchemaInnerKind';
13
+ import type { AttributeStatsSchemaInnerValuesInner } from './AttributeStatsSchemaInnerValuesInner';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AttributeStatsSchemaInner
18
+ */
19
+ export interface AttributeStatsSchemaInner {
20
+ /**
21
+ *
22
+ * @type {AttributeStatsSchemaInnerKind}
23
+ * @memberof AttributeStatsSchemaInner
24
+ */
25
+ kind: AttributeStatsSchemaInnerKind;
26
+ /**
27
+ *
28
+ * @type {Array<AttributeStatsSchemaInnerValuesInner>}
29
+ * @memberof AttributeStatsSchemaInner
30
+ */
31
+ values: Array<AttributeStatsSchemaInnerValuesInner>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the AttributeStatsSchemaInner interface.
35
+ */
36
+ export declare function instanceOfAttributeStatsSchemaInner(value: object): value is AttributeStatsSchemaInner;
37
+ export declare function AttributeStatsSchemaInnerFromJSON(json: any): AttributeStatsSchemaInner;
38
+ export declare function AttributeStatsSchemaInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeStatsSchemaInner;
39
+ export declare function AttributeStatsSchemaInnerToJSON(json: any): AttributeStatsSchemaInner;
40
+ export declare function AttributeStatsSchemaInnerToJSONTyped(value?: AttributeStatsSchemaInner | null, ignoreDiscriminator?: boolean): any;