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
@@ -1,66 +0,0 @@
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.ProjectScreenerQuestionChooseOnePublicTypeEnum = void 0;
17
- exports.instanceOfProjectScreenerQuestionChooseOnePublic = instanceOfProjectScreenerQuestionChooseOnePublic;
18
- exports.ProjectScreenerQuestionChooseOnePublicFromJSON = ProjectScreenerQuestionChooseOnePublicFromJSON;
19
- exports.ProjectScreenerQuestionChooseOnePublicFromJSONTyped = ProjectScreenerQuestionChooseOnePublicFromJSONTyped;
20
- exports.ProjectScreenerQuestionChooseOnePublicToJSON = ProjectScreenerQuestionChooseOnePublicToJSON;
21
- exports.ProjectScreenerQuestionChooseOnePublicToJSONTyped = ProjectScreenerQuestionChooseOnePublicToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.ProjectScreenerQuestionChooseOnePublicTypeEnum = {
26
- ChooseOne: 'chooseOne'
27
- };
28
- /**
29
- * Check if a given object implements the ProjectScreenerQuestionChooseOnePublic interface.
30
- */
31
- function instanceOfProjectScreenerQuestionChooseOnePublic(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 ProjectScreenerQuestionChooseOnePublicFromJSON(json) {
41
- return ProjectScreenerQuestionChooseOnePublicFromJSONTyped(json, false);
42
- }
43
- function ProjectScreenerQuestionChooseOnePublicFromJSONTyped(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 ProjectScreenerQuestionChooseOnePublicToJSON(json) {
54
- return ProjectScreenerQuestionChooseOnePublicToJSONTyped(json, false);
55
- }
56
- function ProjectScreenerQuestionChooseOnePublicToJSONTyped(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
- }
@@ -1,44 +0,0 @@
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 ProjectScreenerQuestionResponse
16
- */
17
- export interface ProjectScreenerQuestionResponse {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof ProjectScreenerQuestionResponse
22
- */
23
- question: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ProjectScreenerQuestionResponse
28
- */
29
- response: string;
30
- /**
31
- *
32
- * @type {boolean}
33
- * @memberof ProjectScreenerQuestionResponse
34
- */
35
- passing: boolean;
36
- }
37
- /**
38
- * Check if a given object implements the ProjectScreenerQuestionResponse interface.
39
- */
40
- export declare function instanceOfProjectScreenerQuestionResponse(value: object): value is ProjectScreenerQuestionResponse;
41
- export declare function ProjectScreenerQuestionResponseFromJSON(json: any): ProjectScreenerQuestionResponse;
42
- export declare function ProjectScreenerQuestionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectScreenerQuestionResponse;
43
- export declare function ProjectScreenerQuestionResponseToJSON(json: any): ProjectScreenerQuestionResponse;
44
- export declare function ProjectScreenerQuestionResponseToJSONTyped(value?: ProjectScreenerQuestionResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,59 +0,0 @@
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 { RepDataStudyLegacy } from './RepDataStudyLegacy';
13
- import type { RepDataProjectLegacy } from './RepDataProjectLegacy';
14
- import type { RepDataSurveyLegacy } from './RepDataSurveyLegacy';
15
- /**
16
- *
17
- * @export
18
- * @interface RepDataConfigLegacy
19
- */
20
- export interface RepDataConfigLegacy {
21
- /**
22
- *
23
- * @type {boolean}
24
- * @memberof RepDataConfigLegacy
25
- */
26
- enabled: boolean;
27
- /**
28
- *
29
- * @type {object}
30
- * @memberof RepDataConfigLegacy
31
- */
32
- config?: object;
33
- /**
34
- *
35
- * @type {RepDataStudyLegacy}
36
- * @memberof RepDataConfigLegacy
37
- */
38
- study?: RepDataStudyLegacy;
39
- /**
40
- *
41
- * @type {RepDataSurveyLegacy}
42
- * @memberof RepDataConfigLegacy
43
- */
44
- survey?: RepDataSurveyLegacy | null;
45
- /**
46
- *
47
- * @type {RepDataProjectLegacy}
48
- * @memberof RepDataConfigLegacy
49
- */
50
- project?: RepDataProjectLegacy;
51
- }
52
- /**
53
- * Check if a given object implements the RepDataConfigLegacy interface.
54
- */
55
- export declare function instanceOfRepDataConfigLegacy(value: object): value is RepDataConfigLegacy;
56
- export declare function RepDataConfigLegacyFromJSON(json: any): RepDataConfigLegacy;
57
- export declare function RepDataConfigLegacyFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepDataConfigLegacy;
58
- export declare function RepDataConfigLegacyToJSON(json: any): RepDataConfigLegacy;
59
- export declare function RepDataConfigLegacyToJSONTyped(value?: RepDataConfigLegacy | null, ignoreDiscriminator?: boolean): any;
@@ -1,62 +0,0 @@
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.instanceOfRepDataConfigLegacy = instanceOfRepDataConfigLegacy;
17
- exports.RepDataConfigLegacyFromJSON = RepDataConfigLegacyFromJSON;
18
- exports.RepDataConfigLegacyFromJSONTyped = RepDataConfigLegacyFromJSONTyped;
19
- exports.RepDataConfigLegacyToJSON = RepDataConfigLegacyToJSON;
20
- exports.RepDataConfigLegacyToJSONTyped = RepDataConfigLegacyToJSONTyped;
21
- var RepDataStudyLegacy_1 = require("./RepDataStudyLegacy");
22
- var RepDataProjectLegacy_1 = require("./RepDataProjectLegacy");
23
- var RepDataSurveyLegacy_1 = require("./RepDataSurveyLegacy");
24
- /**
25
- * Check if a given object implements the RepDataConfigLegacy interface.
26
- */
27
- function instanceOfRepDataConfigLegacy(value) {
28
- if (!('enabled' in value) || value['enabled'] === undefined)
29
- return false;
30
- return true;
31
- }
32
- function RepDataConfigLegacyFromJSON(json) {
33
- return RepDataConfigLegacyFromJSONTyped(json, false);
34
- }
35
- function RepDataConfigLegacyFromJSONTyped(json, ignoreDiscriminator) {
36
- if (json == null) {
37
- return json;
38
- }
39
- return {
40
- 'enabled': json['enabled'],
41
- 'config': json['config'] == null ? undefined : json['config'],
42
- 'study': json['study'] == null ? undefined : (0, RepDataStudyLegacy_1.RepDataStudyLegacyFromJSON)(json['study']),
43
- 'survey': json['survey'] == null ? undefined : (0, RepDataSurveyLegacy_1.RepDataSurveyLegacyFromJSON)(json['survey']),
44
- 'project': json['project'] == null ? undefined : (0, RepDataProjectLegacy_1.RepDataProjectLegacyFromJSON)(json['project']),
45
- };
46
- }
47
- function RepDataConfigLegacyToJSON(json) {
48
- return RepDataConfigLegacyToJSONTyped(json, false);
49
- }
50
- function RepDataConfigLegacyToJSONTyped(value, ignoreDiscriminator) {
51
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
52
- if (value == null) {
53
- return value;
54
- }
55
- return {
56
- 'enabled': value['enabled'],
57
- 'config': value['config'],
58
- 'study': (0, RepDataStudyLegacy_1.RepDataStudyLegacyToJSON)(value['study']),
59
- 'survey': (0, RepDataSurveyLegacy_1.RepDataSurveyLegacyToJSON)(value['survey']),
60
- 'project': (0, RepDataProjectLegacy_1.RepDataProjectLegacyToJSON)(value['project']),
61
- };
62
- }
@@ -1,32 +0,0 @@
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 RepDataProjectLegacy
16
- */
17
- export interface RepDataProjectLegacy {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof RepDataProjectLegacy
22
- */
23
- id: string;
24
- }
25
- /**
26
- * Check if a given object implements the RepDataProjectLegacy interface.
27
- */
28
- export declare function instanceOfRepDataProjectLegacy(value: object): value is RepDataProjectLegacy;
29
- export declare function RepDataProjectLegacyFromJSON(json: any): RepDataProjectLegacy;
30
- export declare function RepDataProjectLegacyFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepDataProjectLegacy;
31
- export declare function RepDataProjectLegacyToJSON(json: any): RepDataProjectLegacy;
32
- export declare function RepDataProjectLegacyToJSONTyped(value?: RepDataProjectLegacy | null, ignoreDiscriminator?: boolean): any;
@@ -1,51 +0,0 @@
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.instanceOfRepDataProjectLegacy = instanceOfRepDataProjectLegacy;
17
- exports.RepDataProjectLegacyFromJSON = RepDataProjectLegacyFromJSON;
18
- exports.RepDataProjectLegacyFromJSONTyped = RepDataProjectLegacyFromJSONTyped;
19
- exports.RepDataProjectLegacyToJSON = RepDataProjectLegacyToJSON;
20
- exports.RepDataProjectLegacyToJSONTyped = RepDataProjectLegacyToJSONTyped;
21
- /**
22
- * Check if a given object implements the RepDataProjectLegacy interface.
23
- */
24
- function instanceOfRepDataProjectLegacy(value) {
25
- if (!('id' in value) || value['id'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function RepDataProjectLegacyFromJSON(json) {
30
- return RepDataProjectLegacyFromJSONTyped(json, false);
31
- }
32
- function RepDataProjectLegacyFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'id': json['id'],
38
- };
39
- }
40
- function RepDataProjectLegacyToJSON(json) {
41
- return RepDataProjectLegacyToJSONTyped(json, false);
42
- }
43
- function RepDataProjectLegacyToJSONTyped(value, ignoreDiscriminator) {
44
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'id': value['id'],
50
- };
51
- }
@@ -1,93 +0,0 @@
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 { RepDataStudyLegacyQualificationsInner } from './RepDataStudyLegacyQualificationsInner';
13
- /**
14
- *
15
- * @export
16
- * @interface RepDataStudyLegacy
17
- */
18
- export interface RepDataStudyLegacy {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof RepDataStudyLegacy
23
- */
24
- name: string;
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof RepDataStudyLegacy
29
- */
30
- compensation: number;
31
- /**
32
- *
33
- * @type {number}
34
- * @memberof RepDataStudyLegacy
35
- */
36
- lengthOfInterview: number;
37
- /**
38
- *
39
- * @type {number}
40
- * @memberof RepDataStudyLegacy
41
- */
42
- incidenceRate: number;
43
- /**
44
- *
45
- * @type {string}
46
- * @memberof RepDataStudyLegacy
47
- */
48
- countryCode: string;
49
- /**
50
- *
51
- * @type {string}
52
- * @memberof RepDataStudyLegacy
53
- */
54
- languageCode: string;
55
- /**
56
- *
57
- * @type {Array<string>}
58
- * @memberof RepDataStudyLegacy
59
- */
60
- deviceCompatibility: Array<string>;
61
- /**
62
- *
63
- * @type {number}
64
- * @memberof RepDataStudyLegacy
65
- */
66
- minAge: number;
67
- /**
68
- *
69
- * @type {number}
70
- * @memberof RepDataStudyLegacy
71
- */
72
- maxAge: number;
73
- /**
74
- *
75
- * @type {Array<string>}
76
- * @memberof RepDataStudyLegacy
77
- */
78
- genders: Array<string>;
79
- /**
80
- *
81
- * @type {Array<RepDataStudyLegacyQualificationsInner>}
82
- * @memberof RepDataStudyLegacy
83
- */
84
- qualifications: Array<RepDataStudyLegacyQualificationsInner>;
85
- }
86
- /**
87
- * Check if a given object implements the RepDataStudyLegacy interface.
88
- */
89
- export declare function instanceOfRepDataStudyLegacy(value: object): value is RepDataStudyLegacy;
90
- export declare function RepDataStudyLegacyFromJSON(json: any): RepDataStudyLegacy;
91
- export declare function RepDataStudyLegacyFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepDataStudyLegacy;
92
- export declare function RepDataStudyLegacyToJSON(json: any): RepDataStudyLegacy;
93
- export declare function RepDataStudyLegacyToJSONTyped(value?: RepDataStudyLegacy | null, ignoreDiscriminator?: boolean): any;
@@ -1,92 +0,0 @@
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.instanceOfRepDataStudyLegacy = instanceOfRepDataStudyLegacy;
17
- exports.RepDataStudyLegacyFromJSON = RepDataStudyLegacyFromJSON;
18
- exports.RepDataStudyLegacyFromJSONTyped = RepDataStudyLegacyFromJSONTyped;
19
- exports.RepDataStudyLegacyToJSON = RepDataStudyLegacyToJSON;
20
- exports.RepDataStudyLegacyToJSONTyped = RepDataStudyLegacyToJSONTyped;
21
- var RepDataStudyLegacyQualificationsInner_1 = require("./RepDataStudyLegacyQualificationsInner");
22
- /**
23
- * Check if a given object implements the RepDataStudyLegacy interface.
24
- */
25
- function instanceOfRepDataStudyLegacy(value) {
26
- if (!('name' in value) || value['name'] === undefined)
27
- return false;
28
- if (!('compensation' in value) || value['compensation'] === undefined)
29
- return false;
30
- if (!('lengthOfInterview' in value) || value['lengthOfInterview'] === undefined)
31
- return false;
32
- if (!('incidenceRate' in value) || value['incidenceRate'] === undefined)
33
- return false;
34
- if (!('countryCode' in value) || value['countryCode'] === undefined)
35
- return false;
36
- if (!('languageCode' in value) || value['languageCode'] === undefined)
37
- return false;
38
- if (!('deviceCompatibility' in value) || value['deviceCompatibility'] === undefined)
39
- return false;
40
- if (!('minAge' in value) || value['minAge'] === undefined)
41
- return false;
42
- if (!('maxAge' in value) || value['maxAge'] === undefined)
43
- return false;
44
- if (!('genders' in value) || value['genders'] === undefined)
45
- return false;
46
- if (!('qualifications' in value) || value['qualifications'] === undefined)
47
- return false;
48
- return true;
49
- }
50
- function RepDataStudyLegacyFromJSON(json) {
51
- return RepDataStudyLegacyFromJSONTyped(json, false);
52
- }
53
- function RepDataStudyLegacyFromJSONTyped(json, ignoreDiscriminator) {
54
- if (json == null) {
55
- return json;
56
- }
57
- return {
58
- 'name': json['name'],
59
- 'compensation': json['compensation'],
60
- 'lengthOfInterview': json['lengthOfInterview'],
61
- 'incidenceRate': json['incidenceRate'],
62
- 'countryCode': json['countryCode'],
63
- 'languageCode': json['languageCode'],
64
- 'deviceCompatibility': json['deviceCompatibility'],
65
- 'minAge': json['minAge'],
66
- 'maxAge': json['maxAge'],
67
- 'genders': json['genders'],
68
- 'qualifications': (json['qualifications'].map(RepDataStudyLegacyQualificationsInner_1.RepDataStudyLegacyQualificationsInnerFromJSON)),
69
- };
70
- }
71
- function RepDataStudyLegacyToJSON(json) {
72
- return RepDataStudyLegacyToJSONTyped(json, false);
73
- }
74
- function RepDataStudyLegacyToJSONTyped(value, ignoreDiscriminator) {
75
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
76
- if (value == null) {
77
- return value;
78
- }
79
- return {
80
- 'name': value['name'],
81
- 'compensation': value['compensation'],
82
- 'lengthOfInterview': value['lengthOfInterview'],
83
- 'incidenceRate': value['incidenceRate'],
84
- 'countryCode': value['countryCode'],
85
- 'languageCode': value['languageCode'],
86
- 'deviceCompatibility': value['deviceCompatibility'],
87
- 'minAge': value['minAge'],
88
- 'maxAge': value['maxAge'],
89
- 'genders': value['genders'],
90
- 'qualifications': (value['qualifications'].map(RepDataStudyLegacyQualificationsInner_1.RepDataStudyLegacyQualificationsInnerToJSON)),
91
- };
92
- }
@@ -1,38 +0,0 @@
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 RepDataStudyLegacyQualificationsInner
16
- */
17
- export interface RepDataStudyLegacyQualificationsInner {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof RepDataStudyLegacyQualificationsInner
22
- */
23
- qualificationId: number;
24
- /**
25
- *
26
- * @type {Array<number>}
27
- * @memberof RepDataStudyLegacyQualificationsInner
28
- */
29
- qualificationOptions: Array<number>;
30
- }
31
- /**
32
- * Check if a given object implements the RepDataStudyLegacyQualificationsInner interface.
33
- */
34
- export declare function instanceOfRepDataStudyLegacyQualificationsInner(value: object): value is RepDataStudyLegacyQualificationsInner;
35
- export declare function RepDataStudyLegacyQualificationsInnerFromJSON(json: any): RepDataStudyLegacyQualificationsInner;
36
- export declare function RepDataStudyLegacyQualificationsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepDataStudyLegacyQualificationsInner;
37
- export declare function RepDataStudyLegacyQualificationsInnerToJSON(json: any): RepDataStudyLegacyQualificationsInner;
38
- export declare function RepDataStudyLegacyQualificationsInnerToJSONTyped(value?: RepDataStudyLegacyQualificationsInner | null, ignoreDiscriminator?: boolean): any;
@@ -1,55 +0,0 @@
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.instanceOfRepDataStudyLegacyQualificationsInner = instanceOfRepDataStudyLegacyQualificationsInner;
17
- exports.RepDataStudyLegacyQualificationsInnerFromJSON = RepDataStudyLegacyQualificationsInnerFromJSON;
18
- exports.RepDataStudyLegacyQualificationsInnerFromJSONTyped = RepDataStudyLegacyQualificationsInnerFromJSONTyped;
19
- exports.RepDataStudyLegacyQualificationsInnerToJSON = RepDataStudyLegacyQualificationsInnerToJSON;
20
- exports.RepDataStudyLegacyQualificationsInnerToJSONTyped = RepDataStudyLegacyQualificationsInnerToJSONTyped;
21
- /**
22
- * Check if a given object implements the RepDataStudyLegacyQualificationsInner interface.
23
- */
24
- function instanceOfRepDataStudyLegacyQualificationsInner(value) {
25
- if (!('qualificationId' in value) || value['qualificationId'] === undefined)
26
- return false;
27
- if (!('qualificationOptions' in value) || value['qualificationOptions'] === undefined)
28
- return false;
29
- return true;
30
- }
31
- function RepDataStudyLegacyQualificationsInnerFromJSON(json) {
32
- return RepDataStudyLegacyQualificationsInnerFromJSONTyped(json, false);
33
- }
34
- function RepDataStudyLegacyQualificationsInnerFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'qualificationId': json['qualificationId'],
40
- 'qualificationOptions': json['qualificationOptions'],
41
- };
42
- }
43
- function RepDataStudyLegacyQualificationsInnerToJSON(json) {
44
- return RepDataStudyLegacyQualificationsInnerToJSONTyped(json, false);
45
- }
46
- function RepDataStudyLegacyQualificationsInnerToJSONTyped(value, ignoreDiscriminator) {
47
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
- if (value == null) {
49
- return value;
50
- }
51
- return {
52
- 'qualificationId': value['qualificationId'],
53
- 'qualificationOptions': value['qualificationOptions'],
54
- };
55
- }
@@ -1,46 +0,0 @@
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 { RepDataSurveyLegacyProject } from './RepDataSurveyLegacyProject';
13
- import type { RepDataSurveyStatusLegacy } from './RepDataSurveyStatusLegacy';
14
- /**
15
- *
16
- * @export
17
- * @interface RepDataSurveyLegacy
18
- */
19
- export interface RepDataSurveyLegacy {
20
- /**
21
- *
22
- * @type {string}
23
- * @memberof RepDataSurveyLegacy
24
- */
25
- id: string;
26
- /**
27
- *
28
- * @type {RepDataSurveyStatusLegacy}
29
- * @memberof RepDataSurveyLegacy
30
- */
31
- status: RepDataSurveyStatusLegacy;
32
- /**
33
- *
34
- * @type {RepDataSurveyLegacyProject}
35
- * @memberof RepDataSurveyLegacy
36
- */
37
- project?: RepDataSurveyLegacyProject;
38
- }
39
- /**
40
- * Check if a given object implements the RepDataSurveyLegacy interface.
41
- */
42
- export declare function instanceOfRepDataSurveyLegacy(value: object): value is RepDataSurveyLegacy;
43
- export declare function RepDataSurveyLegacyFromJSON(json: any): RepDataSurveyLegacy;
44
- export declare function RepDataSurveyLegacyFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepDataSurveyLegacy;
45
- export declare function RepDataSurveyLegacyToJSON(json: any): RepDataSurveyLegacy;
46
- export declare function RepDataSurveyLegacyToJSONTyped(value?: RepDataSurveyLegacy | null, ignoreDiscriminator?: boolean): any;