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,78 @@
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.instanceOfParticipantAttribute = instanceOfParticipantAttribute;
17
+ exports.ParticipantAttributeFromJSON = ParticipantAttributeFromJSON;
18
+ exports.ParticipantAttributeFromJSONTyped = ParticipantAttributeFromJSONTyped;
19
+ exports.ParticipantAttributeToJSON = ParticipantAttributeToJSON;
20
+ exports.ParticipantAttributeToJSONTyped = ParticipantAttributeToJSONTyped;
21
+ var AttributeSource_1 = require("./AttributeSource");
22
+ var Participant_1 = require("./Participant");
23
+ var Attribute_1 = require("./Attribute");
24
+ /**
25
+ * Check if a given object implements the ParticipantAttribute interface.
26
+ */
27
+ function instanceOfParticipantAttribute(value) {
28
+ if (!('participantId' in value) || value['participantId'] === undefined)
29
+ return false;
30
+ if (!('attributeKindKey' in value) || value['attributeKindKey'] === undefined)
31
+ return false;
32
+ if (!('attributeValue' in value) || value['attributeValue'] === undefined)
33
+ return false;
34
+ if (!('source' in value) || value['source'] === undefined)
35
+ return false;
36
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
37
+ return false;
38
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function ParticipantAttributeFromJSON(json) {
43
+ return ParticipantAttributeFromJSONTyped(json, false);
44
+ }
45
+ function ParticipantAttributeFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'participantId': json['participantId'],
51
+ 'attributeKindKey': json['attributeKindKey'],
52
+ 'attributeValue': json['attributeValue'],
53
+ 'source': (0, AttributeSource_1.AttributeSourceFromJSON)(json['source']),
54
+ 'createdAt': (new Date(json['createdAt'])),
55
+ 'updatedAt': (new Date(json['updatedAt'])),
56
+ 'participant': json['participant'] == null ? undefined : (0, Participant_1.ParticipantFromJSON)(json['participant']),
57
+ 'attribute': json['attribute'] == null ? undefined : (0, Attribute_1.AttributeFromJSON)(json['attribute']),
58
+ };
59
+ }
60
+ function ParticipantAttributeToJSON(json) {
61
+ return ParticipantAttributeToJSONTyped(json, false);
62
+ }
63
+ function ParticipantAttributeToJSONTyped(value, ignoreDiscriminator) {
64
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+ return {
69
+ 'participantId': value['participantId'],
70
+ 'attributeKindKey': value['attributeKindKey'],
71
+ 'attributeValue': value['attributeValue'],
72
+ 'source': (0, AttributeSource_1.AttributeSourceToJSON)(value['source']),
73
+ 'createdAt': ((value['createdAt']).toISOString()),
74
+ 'updatedAt': ((value['updatedAt']).toISOString()),
75
+ 'participant': (0, Participant_1.ParticipantToJSON)(value['participant']),
76
+ 'attribute': (0, Attribute_1.AttributeToJSON)(value['attribute']),
77
+ };
78
+ }
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { ParticipantCreate } from './ParticipantCreate';
13
- import type { ProjectPanelSettings } from './ProjectPanelSettings';
13
+ import type { PanelSettings } from './PanelSettings';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -31,10 +31,10 @@ export interface ProjectAudience {
31
31
  participants?: Array<ParticipantCreate> | null;
32
32
  /**
33
33
  *
34
- * @type {ProjectPanelSettings}
34
+ * @type {PanelSettings}
35
35
  * @memberof ProjectAudience
36
36
  */
37
- panelSettings?: ProjectPanelSettings | null;
37
+ panelSettings?: PanelSettings | null;
38
38
  }
39
39
  /**
40
40
  * Check if a given object implements the ProjectAudience interface.
@@ -19,7 +19,7 @@ exports.ProjectAudienceFromJSONTyped = ProjectAudienceFromJSONTyped;
19
19
  exports.ProjectAudienceToJSON = ProjectAudienceToJSON;
20
20
  exports.ProjectAudienceToJSONTyped = ProjectAudienceToJSONTyped;
21
21
  var ParticipantCreate_1 = require("./ParticipantCreate");
22
- var ProjectPanelSettings_1 = require("./ProjectPanelSettings");
22
+ var PanelSettings_1 = require("./PanelSettings");
23
23
  /**
24
24
  * Check if a given object implements the ProjectAudience interface.
25
25
  */
@@ -38,7 +38,7 @@ function ProjectAudienceFromJSONTyped(json, ignoreDiscriminator) {
38
38
  return {
39
39
  'sampleSize': json['sampleSize'],
40
40
  'participants': json['participants'] == null ? undefined : (json['participants'].map(ParticipantCreate_1.ParticipantCreateFromJSON)),
41
- 'panelSettings': json['panelSettings'] == null ? undefined : (0, ProjectPanelSettings_1.ProjectPanelSettingsFromJSON)(json['panelSettings']),
41
+ 'panelSettings': json['panelSettings'] == null ? undefined : (0, PanelSettings_1.PanelSettingsFromJSON)(json['panelSettings']),
42
42
  };
43
43
  }
44
44
  function ProjectAudienceToJSON(json) {
@@ -52,6 +52,6 @@ function ProjectAudienceToJSONTyped(value, ignoreDiscriminator) {
52
52
  return {
53
53
  'sampleSize': value['sampleSize'],
54
54
  'participants': value['participants'] == null ? undefined : (value['participants'].map(ParticipantCreate_1.ParticipantCreateToJSON)),
55
- 'panelSettings': (0, ProjectPanelSettings_1.ProjectPanelSettingsToJSON)(value['panelSettings']),
55
+ 'panelSettings': (0, PanelSettings_1.PanelSettingsToJSON)(value['panelSettings']),
56
56
  };
57
57
  }
@@ -9,9 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { ScreenerQuestionChooseOne } from './ScreenerQuestionChooseOne';
12
13
  import type { ProjectBrief } from './ProjectBrief';
13
14
  import type { ProjectAudience } from './ProjectAudience';
14
- import type { ProjectScreenerQuestionChooseOne } from './ProjectScreenerQuestionChooseOne';
15
15
  import type { ProjectKind } from './ProjectKind';
16
16
  /**
17
17
  *
@@ -53,10 +53,10 @@ export interface ProjectConfig {
53
53
  briefDocument?: string;
54
54
  /**
55
55
  *
56
- * @type {Array<ProjectScreenerQuestionChooseOne>}
56
+ * @type {Array<ScreenerQuestionChooseOne>}
57
57
  * @memberof ProjectConfig
58
58
  */
59
- screenerQuestions?: Array<ProjectScreenerQuestionChooseOne>;
59
+ screenerQuestions?: Array<ScreenerQuestionChooseOne>;
60
60
  /**
61
61
  *
62
62
  * @type {ProjectAudience}
@@ -18,9 +18,9 @@ exports.ProjectConfigFromJSON = ProjectConfigFromJSON;
18
18
  exports.ProjectConfigFromJSONTyped = ProjectConfigFromJSONTyped;
19
19
  exports.ProjectConfigToJSON = ProjectConfigToJSON;
20
20
  exports.ProjectConfigToJSONTyped = ProjectConfigToJSONTyped;
21
+ var ScreenerQuestionChooseOne_1 = require("./ScreenerQuestionChooseOne");
21
22
  var ProjectBrief_1 = require("./ProjectBrief");
22
23
  var ProjectAudience_1 = require("./ProjectAudience");
23
- var ProjectScreenerQuestionChooseOne_1 = require("./ProjectScreenerQuestionChooseOne");
24
24
  var ProjectKind_1 = require("./ProjectKind");
25
25
  /**
26
26
  * Check if a given object implements the ProjectConfig interface.
@@ -45,7 +45,7 @@ function ProjectConfigFromJSONTyped(json, ignoreDiscriminator) {
45
45
  'learningPlan': json['learningPlan'],
46
46
  'brief': json['brief'] == null ? undefined : (0, ProjectBrief_1.ProjectBriefFromJSON)(json['brief']),
47
47
  'briefDocument': json['briefDocument'] == null ? undefined : json['briefDocument'],
48
- 'screenerQuestions': json['screenerQuestions'] == null ? undefined : (json['screenerQuestions'].map(ProjectScreenerQuestionChooseOne_1.ProjectScreenerQuestionChooseOneFromJSON)),
48
+ 'screenerQuestions': json['screenerQuestions'] == null ? undefined : (json['screenerQuestions'].map(ScreenerQuestionChooseOne_1.ScreenerQuestionChooseOneFromJSON)),
49
49
  'audienceSettings': json['audienceSettings'] == null ? undefined : (0, ProjectAudience_1.ProjectAudienceFromJSON)(json['audienceSettings']),
50
50
  };
51
51
  }
@@ -63,7 +63,7 @@ function ProjectConfigToJSONTyped(value, ignoreDiscriminator) {
63
63
  'learningPlan': value['learningPlan'],
64
64
  'brief': (0, ProjectBrief_1.ProjectBriefToJSON)(value['brief']),
65
65
  'briefDocument': value['briefDocument'],
66
- 'screenerQuestions': value['screenerQuestions'] == null ? undefined : (value['screenerQuestions'].map(ProjectScreenerQuestionChooseOne_1.ProjectScreenerQuestionChooseOneToJSON)),
66
+ 'screenerQuestions': value['screenerQuestions'] == null ? undefined : (value['screenerQuestions'].map(ScreenerQuestionChooseOne_1.ScreenerQuestionChooseOneToJSON)),
67
67
  'audienceSettings': (0, ProjectAudience_1.ProjectAudienceToJSON)(value['audienceSettings']),
68
68
  };
69
69
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ProjectScreenerQuestionResponse } from './ProjectScreenerQuestionResponse';
12
+ import type { ScreenerQuestionResponse } from './ScreenerQuestionResponse';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -24,10 +24,10 @@ export interface ResponseSubmitScreenerEvent {
24
24
  type: ResponseSubmitScreenerEventTypeEnum;
25
25
  /**
26
26
  *
27
- * @type {Array<ProjectScreenerQuestionResponse>}
27
+ * @type {Array<ScreenerQuestionResponse>}
28
28
  * @memberof ResponseSubmitScreenerEvent
29
29
  */
30
- screenerQuestionsResponses: Array<ProjectScreenerQuestionResponse>;
30
+ screenerQuestionsResponses: Array<ScreenerQuestionResponse>;
31
31
  }
32
32
  /**
33
33
  * @export
@@ -19,7 +19,7 @@ exports.ResponseSubmitScreenerEventFromJSON = ResponseSubmitScreenerEventFromJSO
19
19
  exports.ResponseSubmitScreenerEventFromJSONTyped = ResponseSubmitScreenerEventFromJSONTyped;
20
20
  exports.ResponseSubmitScreenerEventToJSON = ResponseSubmitScreenerEventToJSON;
21
21
  exports.ResponseSubmitScreenerEventToJSONTyped = ResponseSubmitScreenerEventToJSONTyped;
22
- var ProjectScreenerQuestionResponse_1 = require("./ProjectScreenerQuestionResponse");
22
+ var ScreenerQuestionResponse_1 = require("./ScreenerQuestionResponse");
23
23
  /**
24
24
  * @export
25
25
  */
@@ -45,7 +45,7 @@ function ResponseSubmitScreenerEventFromJSONTyped(json, ignoreDiscriminator) {
45
45
  }
46
46
  return {
47
47
  'type': json['type'],
48
- 'screenerQuestionsResponses': (json['screenerQuestionsResponses'].map(ProjectScreenerQuestionResponse_1.ProjectScreenerQuestionResponseFromJSON)),
48
+ 'screenerQuestionsResponses': (json['screenerQuestionsResponses'].map(ScreenerQuestionResponse_1.ScreenerQuestionResponseFromJSON)),
49
49
  };
50
50
  }
51
51
  function ResponseSubmitScreenerEventToJSON(json) {
@@ -58,6 +58,6 @@ function ResponseSubmitScreenerEventToJSONTyped(value, ignoreDiscriminator) {
58
58
  }
59
59
  return {
60
60
  'type': value['type'],
61
- 'screenerQuestionsResponses': (value['screenerQuestionsResponses'].map(ProjectScreenerQuestionResponse_1.ProjectScreenerQuestionResponseToJSON)),
61
+ 'screenerQuestionsResponses': (value['screenerQuestionsResponses'].map(ScreenerQuestionResponse_1.ScreenerQuestionResponseToJSON)),
62
62
  };
63
63
  }
@@ -0,0 +1,57 @@
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 ScreenerQuestionChooseOne
16
+ */
17
+ export interface ScreenerQuestionChooseOne {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ScreenerQuestionChooseOne
22
+ */
23
+ type: ScreenerQuestionChooseOneTypeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ScreenerQuestionChooseOne
28
+ */
29
+ question: string;
30
+ /**
31
+ *
32
+ * @type {Array<string>}
33
+ * @memberof ScreenerQuestionChooseOne
34
+ */
35
+ options: Array<string>;
36
+ /**
37
+ *
38
+ * @type {Array<string>}
39
+ * @memberof ScreenerQuestionChooseOne
40
+ */
41
+ passingOptions: Array<string>;
42
+ }
43
+ /**
44
+ * @export
45
+ */
46
+ export declare const ScreenerQuestionChooseOneTypeEnum: {
47
+ readonly ChooseOne: "chooseOne";
48
+ };
49
+ export type ScreenerQuestionChooseOneTypeEnum = typeof ScreenerQuestionChooseOneTypeEnum[keyof typeof ScreenerQuestionChooseOneTypeEnum];
50
+ /**
51
+ * Check if a given object implements the ScreenerQuestionChooseOne interface.
52
+ */
53
+ export declare function instanceOfScreenerQuestionChooseOne(value: object): value is ScreenerQuestionChooseOne;
54
+ export declare function ScreenerQuestionChooseOneFromJSON(json: any): ScreenerQuestionChooseOne;
55
+ export declare function ScreenerQuestionChooseOneFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseOne;
56
+ export declare function ScreenerQuestionChooseOneToJSON(json: any): ScreenerQuestionChooseOne;
57
+ export declare function ScreenerQuestionChooseOneToJSONTyped(value?: ScreenerQuestionChooseOne | null, ignoreDiscriminator?: boolean): any;
@@ -13,22 +13,22 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ProjectScreenerQuestionChooseOneTypeEnum = void 0;
17
- exports.instanceOfProjectScreenerQuestionChooseOne = instanceOfProjectScreenerQuestionChooseOne;
18
- exports.ProjectScreenerQuestionChooseOneFromJSON = ProjectScreenerQuestionChooseOneFromJSON;
19
- exports.ProjectScreenerQuestionChooseOneFromJSONTyped = ProjectScreenerQuestionChooseOneFromJSONTyped;
20
- exports.ProjectScreenerQuestionChooseOneToJSON = ProjectScreenerQuestionChooseOneToJSON;
21
- exports.ProjectScreenerQuestionChooseOneToJSONTyped = ProjectScreenerQuestionChooseOneToJSONTyped;
16
+ exports.ScreenerQuestionChooseOneTypeEnum = void 0;
17
+ exports.instanceOfScreenerQuestionChooseOne = instanceOfScreenerQuestionChooseOne;
18
+ exports.ScreenerQuestionChooseOneFromJSON = ScreenerQuestionChooseOneFromJSON;
19
+ exports.ScreenerQuestionChooseOneFromJSONTyped = ScreenerQuestionChooseOneFromJSONTyped;
20
+ exports.ScreenerQuestionChooseOneToJSON = ScreenerQuestionChooseOneToJSON;
21
+ exports.ScreenerQuestionChooseOneToJSONTyped = ScreenerQuestionChooseOneToJSONTyped;
22
22
  /**
23
23
  * @export
24
24
  */
25
- exports.ProjectScreenerQuestionChooseOneTypeEnum = {
25
+ exports.ScreenerQuestionChooseOneTypeEnum = {
26
26
  ChooseOne: 'chooseOne'
27
27
  };
28
28
  /**
29
- * Check if a given object implements the ProjectScreenerQuestionChooseOne interface.
29
+ * Check if a given object implements the ScreenerQuestionChooseOne interface.
30
30
  */
31
- function instanceOfProjectScreenerQuestionChooseOne(value) {
31
+ function instanceOfScreenerQuestionChooseOne(value) {
32
32
  if (!('type' in value) || value['type'] === undefined)
33
33
  return false;
34
34
  if (!('question' in value) || value['question'] === undefined)
@@ -39,10 +39,10 @@ function instanceOfProjectScreenerQuestionChooseOne(value) {
39
39
  return false;
40
40
  return true;
41
41
  }
42
- function ProjectScreenerQuestionChooseOneFromJSON(json) {
43
- return ProjectScreenerQuestionChooseOneFromJSONTyped(json, false);
42
+ function ScreenerQuestionChooseOneFromJSON(json) {
43
+ return ScreenerQuestionChooseOneFromJSONTyped(json, false);
44
44
  }
45
- function ProjectScreenerQuestionChooseOneFromJSONTyped(json, ignoreDiscriminator) {
45
+ function ScreenerQuestionChooseOneFromJSONTyped(json, ignoreDiscriminator) {
46
46
  if (json == null) {
47
47
  return json;
48
48
  }
@@ -53,10 +53,10 @@ function ProjectScreenerQuestionChooseOneFromJSONTyped(json, ignoreDiscriminator
53
53
  'passingOptions': json['passingOptions'],
54
54
  };
55
55
  }
56
- function ProjectScreenerQuestionChooseOneToJSON(json) {
57
- return ProjectScreenerQuestionChooseOneToJSONTyped(json, false);
56
+ function ScreenerQuestionChooseOneToJSON(json) {
57
+ return ScreenerQuestionChooseOneToJSONTyped(json, false);
58
58
  }
59
- function ProjectScreenerQuestionChooseOneToJSONTyped(value, ignoreDiscriminator) {
59
+ function ScreenerQuestionChooseOneToJSONTyped(value, ignoreDiscriminator) {
60
60
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
61
  if (value == null) {
62
62
  return value;
@@ -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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ScreenerQuestionChooseOnePublic
16
+ */
17
+ export interface ScreenerQuestionChooseOnePublic {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ScreenerQuestionChooseOnePublic
22
+ */
23
+ type: ScreenerQuestionChooseOnePublicTypeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ScreenerQuestionChooseOnePublic
28
+ */
29
+ question: string;
30
+ /**
31
+ *
32
+ * @type {Array<string>}
33
+ * @memberof ScreenerQuestionChooseOnePublic
34
+ */
35
+ options: Array<string>;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const ScreenerQuestionChooseOnePublicTypeEnum: {
41
+ readonly ChooseOne: "chooseOne";
42
+ };
43
+ export type ScreenerQuestionChooseOnePublicTypeEnum = typeof ScreenerQuestionChooseOnePublicTypeEnum[keyof typeof ScreenerQuestionChooseOnePublicTypeEnum];
44
+ /**
45
+ * Check if a given object implements the ScreenerQuestionChooseOnePublic interface.
46
+ */
47
+ export declare function instanceOfScreenerQuestionChooseOnePublic(value: object): value is ScreenerQuestionChooseOnePublic;
48
+ export declare function ScreenerQuestionChooseOnePublicFromJSON(json: any): ScreenerQuestionChooseOnePublic;
49
+ export declare function ScreenerQuestionChooseOnePublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseOnePublic;
50
+ export declare function ScreenerQuestionChooseOnePublicToJSON(json: any): ScreenerQuestionChooseOnePublic;
51
+ export declare function ScreenerQuestionChooseOnePublicToJSONTyped(value?: ScreenerQuestionChooseOnePublic | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,66 @@
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.ScreenerQuestionChooseOnePublicTypeEnum = void 0;
17
+ exports.instanceOfScreenerQuestionChooseOnePublic = instanceOfScreenerQuestionChooseOnePublic;
18
+ exports.ScreenerQuestionChooseOnePublicFromJSON = ScreenerQuestionChooseOnePublicFromJSON;
19
+ exports.ScreenerQuestionChooseOnePublicFromJSONTyped = ScreenerQuestionChooseOnePublicFromJSONTyped;
20
+ exports.ScreenerQuestionChooseOnePublicToJSON = ScreenerQuestionChooseOnePublicToJSON;
21
+ exports.ScreenerQuestionChooseOnePublicToJSONTyped = ScreenerQuestionChooseOnePublicToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ScreenerQuestionChooseOnePublicTypeEnum = {
26
+ ChooseOne: 'chooseOne'
27
+ };
28
+ /**
29
+ * Check if a given object implements the ScreenerQuestionChooseOnePublic interface.
30
+ */
31
+ function instanceOfScreenerQuestionChooseOnePublic(value) {
32
+ if (!('type' in value) || value['type'] === undefined)
33
+ return false;
34
+ if (!('question' in value) || value['question'] === undefined)
35
+ return false;
36
+ if (!('options' in value) || value['options'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function ScreenerQuestionChooseOnePublicFromJSON(json) {
41
+ return ScreenerQuestionChooseOnePublicFromJSONTyped(json, false);
42
+ }
43
+ function ScreenerQuestionChooseOnePublicFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'type': json['type'],
49
+ 'question': json['question'],
50
+ 'options': json['options'],
51
+ };
52
+ }
53
+ function ScreenerQuestionChooseOnePublicToJSON(json) {
54
+ return ScreenerQuestionChooseOnePublicToJSONTyped(json, false);
55
+ }
56
+ function ScreenerQuestionChooseOnePublicToJSONTyped(value, ignoreDiscriminator) {
57
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'type': value['type'],
63
+ 'question': value['question'],
64
+ 'options': value['options'],
65
+ };
66
+ }
@@ -0,0 +1,44 @@
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 ScreenerQuestionResponse
16
+ */
17
+ export interface ScreenerQuestionResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ScreenerQuestionResponse
22
+ */
23
+ question: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ScreenerQuestionResponse
28
+ */
29
+ response: string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ScreenerQuestionResponse
34
+ */
35
+ passing: boolean;
36
+ }
37
+ /**
38
+ * Check if a given object implements the ScreenerQuestionResponse interface.
39
+ */
40
+ export declare function instanceOfScreenerQuestionResponse(value: object): value is ScreenerQuestionResponse;
41
+ export declare function ScreenerQuestionResponseFromJSON(json: any): ScreenerQuestionResponse;
42
+ export declare function ScreenerQuestionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionResponse;
43
+ export declare function ScreenerQuestionResponseToJSON(json: any): ScreenerQuestionResponse;
44
+ export declare function ScreenerQuestionResponseToJSONTyped(value?: ScreenerQuestionResponse | null, ignoreDiscriminator?: boolean): any;
@@ -13,15 +13,15 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfProjectScreenerQuestionResponse = instanceOfProjectScreenerQuestionResponse;
17
- exports.ProjectScreenerQuestionResponseFromJSON = ProjectScreenerQuestionResponseFromJSON;
18
- exports.ProjectScreenerQuestionResponseFromJSONTyped = ProjectScreenerQuestionResponseFromJSONTyped;
19
- exports.ProjectScreenerQuestionResponseToJSON = ProjectScreenerQuestionResponseToJSON;
20
- exports.ProjectScreenerQuestionResponseToJSONTyped = ProjectScreenerQuestionResponseToJSONTyped;
16
+ exports.instanceOfScreenerQuestionResponse = instanceOfScreenerQuestionResponse;
17
+ exports.ScreenerQuestionResponseFromJSON = ScreenerQuestionResponseFromJSON;
18
+ exports.ScreenerQuestionResponseFromJSONTyped = ScreenerQuestionResponseFromJSONTyped;
19
+ exports.ScreenerQuestionResponseToJSON = ScreenerQuestionResponseToJSON;
20
+ exports.ScreenerQuestionResponseToJSONTyped = ScreenerQuestionResponseToJSONTyped;
21
21
  /**
22
- * Check if a given object implements the ProjectScreenerQuestionResponse interface.
22
+ * Check if a given object implements the ScreenerQuestionResponse interface.
23
23
  */
24
- function instanceOfProjectScreenerQuestionResponse(value) {
24
+ function instanceOfScreenerQuestionResponse(value) {
25
25
  if (!('question' in value) || value['question'] === undefined)
26
26
  return false;
27
27
  if (!('response' in value) || value['response'] === undefined)
@@ -30,10 +30,10 @@ function instanceOfProjectScreenerQuestionResponse(value) {
30
30
  return false;
31
31
  return true;
32
32
  }
33
- function ProjectScreenerQuestionResponseFromJSON(json) {
34
- return ProjectScreenerQuestionResponseFromJSONTyped(json, false);
33
+ function ScreenerQuestionResponseFromJSON(json) {
34
+ return ScreenerQuestionResponseFromJSONTyped(json, false);
35
35
  }
36
- function ProjectScreenerQuestionResponseFromJSONTyped(json, ignoreDiscriminator) {
36
+ function ScreenerQuestionResponseFromJSONTyped(json, ignoreDiscriminator) {
37
37
  if (json == null) {
38
38
  return json;
39
39
  }
@@ -43,10 +43,10 @@ function ProjectScreenerQuestionResponseFromJSONTyped(json, ignoreDiscriminator)
43
43
  'passing': json['passing'],
44
44
  };
45
45
  }
46
- function ProjectScreenerQuestionResponseToJSON(json) {
47
- return ProjectScreenerQuestionResponseToJSONTyped(json, false);
46
+ function ScreenerQuestionResponseToJSON(json) {
47
+ return ScreenerQuestionResponseToJSONTyped(json, false);
48
48
  }
49
- function ProjectScreenerQuestionResponseToJSONTyped(value, ignoreDiscriminator) {
49
+ function ScreenerQuestionResponseToJSONTyped(value, ignoreDiscriminator) {
50
50
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
51
51
  if (value == null) {
52
52
  return value;
@@ -0,0 +1,45 @@
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 { SelectFilterSchemaKind } from './SelectFilterSchemaKind';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SelectFilterSchema
17
+ */
18
+ export interface SelectFilterSchema {
19
+ /**
20
+ *
21
+ * @type {SelectFilterSchemaKind}
22
+ * @memberof SelectFilterSchema
23
+ */
24
+ kind: SelectFilterSchemaKind;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SelectFilterSchema
29
+ */
30
+ key: string;
31
+ /**
32
+ *
33
+ * @type {Array<string>}
34
+ * @memberof SelectFilterSchema
35
+ */
36
+ values: Array<string>;
37
+ }
38
+ /**
39
+ * Check if a given object implements the SelectFilterSchema interface.
40
+ */
41
+ export declare function instanceOfSelectFilterSchema(value: object): value is SelectFilterSchema;
42
+ export declare function SelectFilterSchemaFromJSON(json: any): SelectFilterSchema;
43
+ export declare function SelectFilterSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): SelectFilterSchema;
44
+ export declare function SelectFilterSchemaToJSON(json: any): SelectFilterSchema;
45
+ export declare function SelectFilterSchemaToJSONTyped(value?: SelectFilterSchema | null, ignoreDiscriminator?: boolean): any;