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
@@ -9,80 +9,22 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { RepDataConfigLegacy } from './RepDataConfigLegacy';
13
- import type { RepdataSurvey } from './RepdataSurvey';
12
+ import type { InviteConfigContacts } from './InviteConfigContacts';
13
+ import type { InviteConfigKeplarPanel } from './InviteConfigKeplarPanel';
14
+ import type { InviteConfigPublic } from './InviteConfigPublic';
14
15
  /**
16
+ * @type InviteConfig
15
17
  *
16
18
  * @export
17
- * @interface InviteConfig
18
19
  */
19
- export interface InviteConfig {
20
- /**
21
- *
22
- * @type {number}
23
- * @memberof InviteConfig
24
- */
25
- maxResponses?: number;
26
- /**
27
- *
28
- * @type {number}
29
- * @memberof InviteConfig
30
- */
31
- maxResponsesPerParticipant?: number;
32
- /**
33
- *
34
- * @type {Array<string>}
35
- * @memberof InviteConfig
36
- */
37
- allowedOrigins: Array<string>;
38
- /**
39
- *
40
- * @type {boolean}
41
- * @memberof InviteConfig
42
- */
43
- allowAnonymousResponses: boolean;
44
- /**
45
- *
46
- * @type {boolean}
47
- * @memberof InviteConfig
48
- */
49
- collectEmail?: boolean;
50
- /**
51
- *
52
- * @type {string}
53
- * @memberof InviteConfig
54
- */
55
- privacyNotice?: string;
56
- /**
57
- *
58
- * @type {boolean}
59
- * @memberof InviteConfig
60
- */
61
- showCallMetadata?: boolean;
62
- /**
63
- *
64
- * @type {RepDataConfigLegacy}
65
- * @memberof InviteConfig
66
- */
67
- repData?: RepDataConfigLegacy;
68
- /**
69
- *
70
- * @type {RepdataSurvey}
71
- * @memberof InviteConfig
72
- */
73
- repDataSurvey?: RepdataSurvey;
74
- /**
75
- *
76
- * @type {string}
77
- * @memberof InviteConfig
78
- */
79
- testParticipantInviteCode?: string;
80
- }
81
- /**
82
- * Check if a given object implements the InviteConfig interface.
83
- */
84
- export declare function instanceOfInviteConfig(value: object): value is InviteConfig;
20
+ export type InviteConfig = {
21
+ kind: 'CONTACTS';
22
+ } & InviteConfigContacts | {
23
+ kind: 'KEPLAR_PANEL';
24
+ } & InviteConfigKeplarPanel | {
25
+ kind: 'PUBLIC';
26
+ } & InviteConfigPublic;
85
27
  export declare function InviteConfigFromJSON(json: any): InviteConfig;
86
28
  export declare function InviteConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteConfig;
87
- export declare function InviteConfigToJSON(json: any): InviteConfig;
29
+ export declare function InviteConfigToJSON(json: any): any;
88
30
  export declare function InviteConfigToJSONTyped(value?: InviteConfig | null, ignoreDiscriminator?: boolean): any;
@@ -13,23 +13,13 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfInviteConfig = instanceOfInviteConfig;
17
16
  exports.InviteConfigFromJSON = InviteConfigFromJSON;
18
17
  exports.InviteConfigFromJSONTyped = InviteConfigFromJSONTyped;
19
18
  exports.InviteConfigToJSON = InviteConfigToJSON;
20
19
  exports.InviteConfigToJSONTyped = InviteConfigToJSONTyped;
21
- var RepDataConfigLegacy_1 = require("./RepDataConfigLegacy");
22
- var RepdataSurvey_1 = require("./RepdataSurvey");
23
- /**
24
- * Check if a given object implements the InviteConfig interface.
25
- */
26
- function instanceOfInviteConfig(value) {
27
- if (!('allowedOrigins' in value) || value['allowedOrigins'] === undefined)
28
- return false;
29
- if (!('allowAnonymousResponses' in value) || value['allowAnonymousResponses'] === undefined)
30
- return false;
31
- return true;
32
- }
20
+ var InviteConfigContacts_1 = require("./InviteConfigContacts");
21
+ var InviteConfigKeplarPanel_1 = require("./InviteConfigKeplarPanel");
22
+ var InviteConfigPublic_1 = require("./InviteConfigPublic");
33
23
  function InviteConfigFromJSON(json) {
34
24
  return InviteConfigFromJSONTyped(json, false);
35
25
  }
@@ -37,18 +27,16 @@ function InviteConfigFromJSONTyped(json, ignoreDiscriminator) {
37
27
  if (json == null) {
38
28
  return json;
39
29
  }
40
- return {
41
- 'maxResponses': json['maxResponses'] == null ? undefined : json['maxResponses'],
42
- 'maxResponsesPerParticipant': json['maxResponsesPerParticipant'] == null ? undefined : json['maxResponsesPerParticipant'],
43
- 'allowedOrigins': json['allowedOrigins'],
44
- 'allowAnonymousResponses': json['allowAnonymousResponses'],
45
- 'collectEmail': json['collectEmail'] == null ? undefined : json['collectEmail'],
46
- 'privacyNotice': json['privacyNotice'] == null ? undefined : json['privacyNotice'],
47
- 'showCallMetadata': json['showCallMetadata'] == null ? undefined : json['showCallMetadata'],
48
- 'repData': json['repData'] == null ? undefined : (0, RepDataConfigLegacy_1.RepDataConfigLegacyFromJSON)(json['repData']),
49
- 'repDataSurvey': json['repDataSurvey'] == null ? undefined : (0, RepdataSurvey_1.RepdataSurveyFromJSON)(json['repDataSurvey']),
50
- 'testParticipantInviteCode': json['testParticipantInviteCode'] == null ? undefined : json['testParticipantInviteCode'],
51
- };
30
+ switch (json['kind']) {
31
+ case 'CONTACTS':
32
+ return Object.assign({}, (0, InviteConfigContacts_1.InviteConfigContactsFromJSONTyped)(json, true), { kind: 'CONTACTS' });
33
+ case 'KEPLAR_PANEL':
34
+ return Object.assign({}, (0, InviteConfigKeplarPanel_1.InviteConfigKeplarPanelFromJSONTyped)(json, true), { kind: 'KEPLAR_PANEL' });
35
+ case 'PUBLIC':
36
+ return Object.assign({}, (0, InviteConfigPublic_1.InviteConfigPublicFromJSONTyped)(json, true), { kind: 'PUBLIC' });
37
+ default:
38
+ return json;
39
+ }
52
40
  }
53
41
  function InviteConfigToJSON(json) {
54
42
  return InviteConfigToJSONTyped(json, false);
@@ -58,16 +46,14 @@ function InviteConfigToJSONTyped(value, ignoreDiscriminator) {
58
46
  if (value == null) {
59
47
  return value;
60
48
  }
61
- return {
62
- 'maxResponses': value['maxResponses'],
63
- 'maxResponsesPerParticipant': value['maxResponsesPerParticipant'],
64
- 'allowedOrigins': value['allowedOrigins'],
65
- 'allowAnonymousResponses': value['allowAnonymousResponses'],
66
- 'collectEmail': value['collectEmail'],
67
- 'privacyNotice': value['privacyNotice'],
68
- 'showCallMetadata': value['showCallMetadata'],
69
- 'repData': (0, RepDataConfigLegacy_1.RepDataConfigLegacyToJSON)(value['repData']),
70
- 'repDataSurvey': (0, RepdataSurvey_1.RepdataSurveyToJSON)(value['repDataSurvey']),
71
- 'testParticipantInviteCode': value['testParticipantInviteCode'],
72
- };
49
+ switch (value['kind']) {
50
+ case 'CONTACTS':
51
+ return Object.assign({}, (0, InviteConfigContacts_1.InviteConfigContactsToJSON)(value), { kind: 'CONTACTS' });
52
+ case 'KEPLAR_PANEL':
53
+ return Object.assign({}, (0, InviteConfigKeplarPanel_1.InviteConfigKeplarPanelToJSON)(value), { kind: 'KEPLAR_PANEL' });
54
+ case 'PUBLIC':
55
+ return Object.assign({}, (0, InviteConfigPublic_1.InviteConfigPublicToJSON)(value), { kind: 'PUBLIC' });
56
+ default:
57
+ return value;
58
+ }
73
59
  }
@@ -0,0 +1,75 @@
1
+ /**
2
+ * Fastify Template API
3
+ * API documentation using Swagger
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface InviteConfigContacts
16
+ */
17
+ export interface InviteConfigContacts {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof InviteConfigContacts
22
+ */
23
+ kind: InviteConfigContactsKindEnum;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof InviteConfigContacts
28
+ */
29
+ isTest?: boolean;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof InviteConfigContacts
34
+ */
35
+ showCallMetadata?: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof InviteConfigContacts
40
+ */
41
+ title: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof InviteConfigContacts
46
+ */
47
+ description?: string;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof InviteConfigContacts
52
+ */
53
+ maxResponses?: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof InviteConfigContacts
58
+ */
59
+ maxResponsesPerParticipant?: number;
60
+ }
61
+ /**
62
+ * @export
63
+ */
64
+ export declare const InviteConfigContactsKindEnum: {
65
+ readonly Contacts: "CONTACTS";
66
+ };
67
+ export type InviteConfigContactsKindEnum = typeof InviteConfigContactsKindEnum[keyof typeof InviteConfigContactsKindEnum];
68
+ /**
69
+ * Check if a given object implements the InviteConfigContacts interface.
70
+ */
71
+ export declare function instanceOfInviteConfigContacts(value: object): value is InviteConfigContacts;
72
+ export declare function InviteConfigContactsFromJSON(json: any): InviteConfigContacts;
73
+ export declare function InviteConfigContactsFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteConfigContacts;
74
+ export declare function InviteConfigContactsToJSON(json: any): InviteConfigContacts;
75
+ export declare function InviteConfigContactsToJSONTyped(value?: InviteConfigContacts | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,72 @@
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.InviteConfigContactsKindEnum = void 0;
17
+ exports.instanceOfInviteConfigContacts = instanceOfInviteConfigContacts;
18
+ exports.InviteConfigContactsFromJSON = InviteConfigContactsFromJSON;
19
+ exports.InviteConfigContactsFromJSONTyped = InviteConfigContactsFromJSONTyped;
20
+ exports.InviteConfigContactsToJSON = InviteConfigContactsToJSON;
21
+ exports.InviteConfigContactsToJSONTyped = InviteConfigContactsToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.InviteConfigContactsKindEnum = {
26
+ Contacts: 'CONTACTS'
27
+ };
28
+ /**
29
+ * Check if a given object implements the InviteConfigContacts interface.
30
+ */
31
+ function instanceOfInviteConfigContacts(value) {
32
+ if (!('kind' in value) || value['kind'] === undefined)
33
+ return false;
34
+ if (!('title' in value) || value['title'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ function InviteConfigContactsFromJSON(json) {
39
+ return InviteConfigContactsFromJSONTyped(json, false);
40
+ }
41
+ function InviteConfigContactsFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'kind': json['kind'],
47
+ 'isTest': json['isTest'] == null ? undefined : json['isTest'],
48
+ 'showCallMetadata': json['showCallMetadata'] == null ? undefined : json['showCallMetadata'],
49
+ 'title': json['title'],
50
+ 'description': json['description'] == null ? undefined : json['description'],
51
+ 'maxResponses': json['maxResponses'] == null ? undefined : json['maxResponses'],
52
+ 'maxResponsesPerParticipant': json['maxResponsesPerParticipant'] == null ? undefined : json['maxResponsesPerParticipant'],
53
+ };
54
+ }
55
+ function InviteConfigContactsToJSON(json) {
56
+ return InviteConfigContactsToJSONTyped(json, false);
57
+ }
58
+ function InviteConfigContactsToJSONTyped(value, ignoreDiscriminator) {
59
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'kind': value['kind'],
65
+ 'isTest': value['isTest'],
66
+ 'showCallMetadata': value['showCallMetadata'],
67
+ 'title': value['title'],
68
+ 'description': value['description'],
69
+ 'maxResponses': value['maxResponses'],
70
+ 'maxResponsesPerParticipant': value['maxResponsesPerParticipant'],
71
+ };
72
+ }
@@ -0,0 +1,95 @@
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 { RepdataSurvey } from './RepdataSurvey';
13
+ import type { PanelSettings } from './PanelSettings';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface InviteConfigKeplarPanel
18
+ */
19
+ export interface InviteConfigKeplarPanel {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof InviteConfigKeplarPanel
24
+ */
25
+ kind: InviteConfigKeplarPanelKindEnum;
26
+ /**
27
+ *
28
+ * @type {Array<string>}
29
+ * @memberof InviteConfigKeplarPanel
30
+ */
31
+ allowedOrigins?: Array<string>;
32
+ /**
33
+ *
34
+ * @type {boolean}
35
+ * @memberof InviteConfigKeplarPanel
36
+ */
37
+ collectEmail?: boolean;
38
+ /**
39
+ *
40
+ * @type {boolean}
41
+ * @memberof InviteConfigKeplarPanel
42
+ */
43
+ requireEmail?: boolean;
44
+ /**
45
+ *
46
+ * @type {PanelSettings}
47
+ * @memberof InviteConfigKeplarPanel
48
+ */
49
+ panelSettings: PanelSettings;
50
+ /**
51
+ *
52
+ * @type {RepdataSurvey}
53
+ * @memberof InviteConfigKeplarPanel
54
+ */
55
+ repDataSurvey?: RepdataSurvey;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof InviteConfigKeplarPanel
60
+ */
61
+ title: string;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof InviteConfigKeplarPanel
66
+ */
67
+ description?: string;
68
+ /**
69
+ *
70
+ * @type {number}
71
+ * @memberof InviteConfigKeplarPanel
72
+ */
73
+ maxResponses?: number;
74
+ /**
75
+ *
76
+ * @type {number}
77
+ * @memberof InviteConfigKeplarPanel
78
+ */
79
+ maxResponsesPerParticipant?: number;
80
+ }
81
+ /**
82
+ * @export
83
+ */
84
+ export declare const InviteConfigKeplarPanelKindEnum: {
85
+ readonly KeplarPanel: "KEPLAR_PANEL";
86
+ };
87
+ export type InviteConfigKeplarPanelKindEnum = typeof InviteConfigKeplarPanelKindEnum[keyof typeof InviteConfigKeplarPanelKindEnum];
88
+ /**
89
+ * Check if a given object implements the InviteConfigKeplarPanel interface.
90
+ */
91
+ export declare function instanceOfInviteConfigKeplarPanel(value: object): value is InviteConfigKeplarPanel;
92
+ export declare function InviteConfigKeplarPanelFromJSON(json: any): InviteConfigKeplarPanel;
93
+ export declare function InviteConfigKeplarPanelFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteConfigKeplarPanel;
94
+ export declare function InviteConfigKeplarPanelToJSON(json: any): InviteConfigKeplarPanel;
95
+ export declare function InviteConfigKeplarPanelToJSONTyped(value?: InviteConfigKeplarPanel | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,82 @@
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.InviteConfigKeplarPanelKindEnum = void 0;
17
+ exports.instanceOfInviteConfigKeplarPanel = instanceOfInviteConfigKeplarPanel;
18
+ exports.InviteConfigKeplarPanelFromJSON = InviteConfigKeplarPanelFromJSON;
19
+ exports.InviteConfigKeplarPanelFromJSONTyped = InviteConfigKeplarPanelFromJSONTyped;
20
+ exports.InviteConfigKeplarPanelToJSON = InviteConfigKeplarPanelToJSON;
21
+ exports.InviteConfigKeplarPanelToJSONTyped = InviteConfigKeplarPanelToJSONTyped;
22
+ var RepdataSurvey_1 = require("./RepdataSurvey");
23
+ var PanelSettings_1 = require("./PanelSettings");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.InviteConfigKeplarPanelKindEnum = {
28
+ KeplarPanel: 'KEPLAR_PANEL'
29
+ };
30
+ /**
31
+ * Check if a given object implements the InviteConfigKeplarPanel interface.
32
+ */
33
+ function instanceOfInviteConfigKeplarPanel(value) {
34
+ if (!('kind' in value) || value['kind'] === undefined)
35
+ return false;
36
+ if (!('panelSettings' in value) || value['panelSettings'] === undefined)
37
+ return false;
38
+ if (!('title' in value) || value['title'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function InviteConfigKeplarPanelFromJSON(json) {
43
+ return InviteConfigKeplarPanelFromJSONTyped(json, false);
44
+ }
45
+ function InviteConfigKeplarPanelFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'kind': json['kind'],
51
+ 'allowedOrigins': json['allowedOrigins'] == null ? undefined : json['allowedOrigins'],
52
+ 'collectEmail': json['collectEmail'] == null ? undefined : json['collectEmail'],
53
+ 'requireEmail': json['requireEmail'] == null ? undefined : json['requireEmail'],
54
+ 'panelSettings': (0, PanelSettings_1.PanelSettingsFromJSON)(json['panelSettings']),
55
+ 'repDataSurvey': json['repDataSurvey'] == null ? undefined : (0, RepdataSurvey_1.RepdataSurveyFromJSON)(json['repDataSurvey']),
56
+ 'title': json['title'],
57
+ 'description': json['description'] == null ? undefined : json['description'],
58
+ 'maxResponses': json['maxResponses'] == null ? undefined : json['maxResponses'],
59
+ 'maxResponsesPerParticipant': json['maxResponsesPerParticipant'] == null ? undefined : json['maxResponsesPerParticipant'],
60
+ };
61
+ }
62
+ function InviteConfigKeplarPanelToJSON(json) {
63
+ return InviteConfigKeplarPanelToJSONTyped(json, false);
64
+ }
65
+ function InviteConfigKeplarPanelToJSONTyped(value, ignoreDiscriminator) {
66
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
67
+ if (value == null) {
68
+ return value;
69
+ }
70
+ return {
71
+ 'kind': value['kind'],
72
+ 'allowedOrigins': value['allowedOrigins'],
73
+ 'collectEmail': value['collectEmail'],
74
+ 'requireEmail': value['requireEmail'],
75
+ 'panelSettings': (0, PanelSettings_1.PanelSettingsToJSON)(value['panelSettings']),
76
+ 'repDataSurvey': (0, RepdataSurvey_1.RepdataSurveyToJSON)(value['repDataSurvey']),
77
+ 'title': value['title'],
78
+ 'description': value['description'],
79
+ 'maxResponses': value['maxResponses'],
80
+ 'maxResponsesPerParticipant': value['maxResponsesPerParticipant'],
81
+ };
82
+ }
@@ -0,0 +1,81 @@
1
+ /**
2
+ * Fastify Template API
3
+ * API documentation using Swagger
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface InviteConfigPublic
16
+ */
17
+ export interface InviteConfigPublic {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof InviteConfigPublic
22
+ */
23
+ kind: InviteConfigPublicKindEnum;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof InviteConfigPublic
28
+ */
29
+ allowedOrigins?: Array<string>;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof InviteConfigPublic
34
+ */
35
+ collectEmail?: boolean;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof InviteConfigPublic
40
+ */
41
+ requireEmail?: boolean;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof InviteConfigPublic
46
+ */
47
+ title: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof InviteConfigPublic
52
+ */
53
+ description?: string;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof InviteConfigPublic
58
+ */
59
+ maxResponses?: number;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof InviteConfigPublic
64
+ */
65
+ maxResponsesPerParticipant?: number;
66
+ }
67
+ /**
68
+ * @export
69
+ */
70
+ export declare const InviteConfigPublicKindEnum: {
71
+ readonly Public: "PUBLIC";
72
+ };
73
+ export type InviteConfigPublicKindEnum = typeof InviteConfigPublicKindEnum[keyof typeof InviteConfigPublicKindEnum];
74
+ /**
75
+ * Check if a given object implements the InviteConfigPublic interface.
76
+ */
77
+ export declare function instanceOfInviteConfigPublic(value: object): value is InviteConfigPublic;
78
+ export declare function InviteConfigPublicFromJSON(json: any): InviteConfigPublic;
79
+ export declare function InviteConfigPublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteConfigPublic;
80
+ export declare function InviteConfigPublicToJSON(json: any): InviteConfigPublic;
81
+ export declare function InviteConfigPublicToJSONTyped(value?: InviteConfigPublic | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,74 @@
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.InviteConfigPublicKindEnum = void 0;
17
+ exports.instanceOfInviteConfigPublic = instanceOfInviteConfigPublic;
18
+ exports.InviteConfigPublicFromJSON = InviteConfigPublicFromJSON;
19
+ exports.InviteConfigPublicFromJSONTyped = InviteConfigPublicFromJSONTyped;
20
+ exports.InviteConfigPublicToJSON = InviteConfigPublicToJSON;
21
+ exports.InviteConfigPublicToJSONTyped = InviteConfigPublicToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.InviteConfigPublicKindEnum = {
26
+ Public: 'PUBLIC'
27
+ };
28
+ /**
29
+ * Check if a given object implements the InviteConfigPublic interface.
30
+ */
31
+ function instanceOfInviteConfigPublic(value) {
32
+ if (!('kind' in value) || value['kind'] === undefined)
33
+ return false;
34
+ if (!('title' in value) || value['title'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ function InviteConfigPublicFromJSON(json) {
39
+ return InviteConfigPublicFromJSONTyped(json, false);
40
+ }
41
+ function InviteConfigPublicFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'kind': json['kind'],
47
+ 'allowedOrigins': json['allowedOrigins'] == null ? undefined : json['allowedOrigins'],
48
+ 'collectEmail': json['collectEmail'] == null ? undefined : json['collectEmail'],
49
+ 'requireEmail': json['requireEmail'] == null ? undefined : json['requireEmail'],
50
+ 'title': json['title'],
51
+ 'description': json['description'] == null ? undefined : json['description'],
52
+ 'maxResponses': json['maxResponses'] == null ? undefined : json['maxResponses'],
53
+ 'maxResponsesPerParticipant': json['maxResponsesPerParticipant'] == null ? undefined : json['maxResponsesPerParticipant'],
54
+ };
55
+ }
56
+ function InviteConfigPublicToJSON(json) {
57
+ return InviteConfigPublicToJSONTyped(json, false);
58
+ }
59
+ function InviteConfigPublicToJSONTyped(value, ignoreDiscriminator) {
60
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'kind': value['kind'],
66
+ 'allowedOrigins': value['allowedOrigins'],
67
+ 'collectEmail': value['collectEmail'],
68
+ 'requireEmail': value['requireEmail'],
69
+ 'title': value['title'],
70
+ 'description': value['description'],
71
+ 'maxResponses': value['maxResponses'],
72
+ 'maxResponsesPerParticipant': value['maxResponsesPerParticipant'],
73
+ };
74
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { InviteResponseAttribute } from './InviteResponseAttribute';
12
13
  import type { Call } from './Call';
13
14
  import type { Participant } from './Participant';
14
15
  import type { InviteResponseStatus } from './InviteResponseStatus';
@@ -100,6 +101,12 @@ export interface InviteResponse {
100
101
  * @memberof InviteResponse
101
102
  */
102
103
  calls?: Array<Call>;
104
+ /**
105
+ *
106
+ * @type {Array<InviteResponseAttribute>}
107
+ * @memberof InviteResponse
108
+ */
109
+ inviteResponseAttributes?: Array<InviteResponseAttribute>;
103
110
  }
104
111
  /**
105
112
  * Check if a given object implements the InviteResponse interface.