keplar-api 0.0.9 → 0.0.11

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 (216) hide show
  1. package/.openapi-generator/FILES +43 -23
  2. package/README.md +2 -2
  3. package/dist/apis/DefaultApi.d.ts +413 -251
  4. package/dist/apis/DefaultApi.js +1749 -799
  5. package/dist/models/ApiInvitesIdParticipantInvitesGet200Response.d.ts +51 -0
  6. package/dist/models/ApiInvitesIdParticipantInvitesGet200Response.js +64 -0
  7. package/dist/models/AttributeStatsSchemaInnerValuesInner.d.ts +6 -0
  8. package/dist/models/AttributeStatsSchemaInnerValuesInner.js +4 -0
  9. package/dist/models/CallSummary.d.ts +46 -0
  10. package/dist/models/CallSummary.js +61 -0
  11. package/dist/models/CodeInvite.d.ts +10 -3
  12. package/dist/models/CodeInvite.js +8 -3
  13. package/dist/models/CodeInviteConfig.d.ts +30 -0
  14. package/dist/models/CodeInviteConfig.js +59 -0
  15. package/dist/models/CodeInviteConfigContacts.d.ts +75 -0
  16. package/dist/models/CodeInviteConfigContacts.js +72 -0
  17. package/dist/models/CodeInviteConfigKeplarPanel.d.ts +82 -0
  18. package/dist/models/CodeInviteConfigKeplarPanel.js +77 -0
  19. package/dist/models/CreateCodeInviteResponseRequest.d.ts +40 -0
  20. package/dist/models/CreateCodeInviteResponseRequest.js +53 -0
  21. package/dist/models/CreateEmailShareRequest.d.ts +38 -0
  22. package/dist/models/CreateEmailShareRequest.js +53 -0
  23. package/dist/models/CreateProjectShareRequest.d.ts +38 -0
  24. package/dist/models/CreateProjectShareRequest.js +51 -0
  25. package/dist/models/CreateProjectShareResponse.d.ts +45 -0
  26. package/dist/models/CreateProjectShareResponse.js +60 -0
  27. package/dist/models/DeleteEmailShare200Response.d.ts +32 -0
  28. package/dist/models/DeleteEmailShare200Response.js +51 -0
  29. package/dist/models/EmailShare.d.ts +75 -0
  30. package/dist/models/EmailShare.js +77 -0
  31. package/dist/models/GetCodeInvite200Response.d.ts +83 -0
  32. package/dist/models/{ApiInviteCodeCodeGet200Response.js → GetCodeInvite200Response.js} +21 -16
  33. package/dist/models/GetCodeInviteResponseRedirect200Response.d.ts +32 -0
  34. package/dist/models/GetCodeInviteResponseRedirect200Response.js +51 -0
  35. package/dist/models/GetShareEntities200Response.d.ts +39 -0
  36. package/dist/models/GetShareEntities200Response.js +56 -0
  37. package/dist/models/GetSharedInviteResponses200Response.d.ts +51 -0
  38. package/dist/models/GetSharedInviteResponses200Response.js +64 -0
  39. package/dist/models/GetSharedInviteResponsesStatusesParameterInner.d.ts +26 -0
  40. package/dist/models/GetSharedInviteResponsesStatusesParameterInner.js +39 -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/InviteResponseData.d.ts +3 -3
  50. package/dist/models/InviteResponseData.js +3 -3
  51. package/dist/models/InviteResponseShareConfig.d.ts +39 -0
  52. package/dist/models/InviteResponseShareConfig.js +58 -0
  53. package/dist/models/InviteResponseWithCallSummary.d.ts +118 -0
  54. package/dist/models/InviteResponseWithCallSummary.js +97 -0
  55. package/dist/models/JoinCodeInvite302Response.d.ts +83 -0
  56. package/dist/models/{ApiInviteCodeCodeStartGet302Response.js → JoinCodeInvite302Response.js} +21 -16
  57. package/dist/models/JoinCodeInvite302ResponseSettings.d.ts +46 -0
  58. package/dist/models/JoinCodeInvite302ResponseSettings.js +57 -0
  59. package/dist/models/PanelQualification.d.ts +38 -0
  60. package/dist/models/{ProjectPanelQualification.js → PanelQualification.js} +13 -13
  61. package/dist/models/PanelRespondentAttribute.d.ts +45 -0
  62. package/dist/models/PanelRespondentAttribute.js +60 -0
  63. package/dist/models/PanelSettings.d.ts +63 -0
  64. package/dist/models/{ProjectPanelSettings.js → PanelSettings.js} +16 -16
  65. package/dist/models/ProjectAudience.d.ts +3 -3
  66. package/dist/models/ProjectAudience.js +3 -3
  67. package/dist/models/ProjectConfig.d.ts +3 -3
  68. package/dist/models/ProjectConfig.js +3 -3
  69. package/dist/models/ProjectShareConfig.d.ts +39 -0
  70. package/dist/models/ProjectShareConfig.js +58 -0
  71. package/dist/models/RequestShareAccess200Response.d.ts +38 -0
  72. package/dist/models/RequestShareAccess200Response.js +55 -0
  73. package/dist/models/RequestShareAccessRequest.d.ts +32 -0
  74. package/dist/models/RequestShareAccessRequest.js +51 -0
  75. package/dist/models/ResponseSubmitScreenerEvent.d.ts +3 -3
  76. package/dist/models/ResponseSubmitScreenerEvent.js +3 -3
  77. package/dist/models/ScreenerQuestionChooseOne.d.ts +57 -0
  78. package/dist/models/{ProjectScreenerQuestionChooseOne.js → ScreenerQuestionChooseOne.js} +15 -15
  79. package/dist/models/ScreenerQuestionChooseOnePublic.d.ts +51 -0
  80. package/dist/models/ScreenerQuestionChooseOnePublic.js +66 -0
  81. package/dist/models/ScreenerQuestionResponse.d.ts +44 -0
  82. package/dist/models/{ProjectScreenerQuestionResponse.js → ScreenerQuestionResponse.js} +13 -13
  83. package/dist/models/ShareEntity.d.ts +102 -0
  84. package/dist/models/ShareEntity.js +92 -0
  85. package/dist/models/ShareEntityConfig.d.ts +27 -0
  86. package/dist/models/ShareEntityConfig.js +54 -0
  87. package/dist/models/ShareEntityCreatedByKind.d.ts +26 -0
  88. package/dist/models/ShareEntityCreatedByKind.js +52 -0
  89. package/dist/models/ShareEntityKind.d.ts +25 -0
  90. package/dist/models/ShareEntityKind.js +51 -0
  91. package/dist/models/StartPhoneCallForCodeInviteResponseRequest.d.ts +32 -0
  92. package/dist/models/StartPhoneCallForCodeInviteResponseRequest.js +51 -0
  93. package/dist/models/UpdateCallForCodeInviteResponseRequest.d.ts +39 -0
  94. package/dist/models/UpdateCallForCodeInviteResponseRequest.js +56 -0
  95. package/dist/models/UpdateCallForCodeInviteResponseRequestCall.d.ts +39 -0
  96. package/dist/models/UpdateCallForCodeInviteResponseRequestCall.js +56 -0
  97. package/dist/models/UpdateCodeInviteResponse404Response.d.ts +32 -0
  98. package/dist/models/UpdateCodeInviteResponse404Response.js +51 -0
  99. package/dist/models/UpdateShareEntityRequest.d.ts +38 -0
  100. package/dist/models/UpdateShareEntityRequest.js +52 -0
  101. package/dist/models/VerifyEmailAccessForShare200Response.d.ts +38 -0
  102. package/dist/models/VerifyEmailAccessForShare200Response.js +55 -0
  103. package/dist/models/VerifyEmailAccessForShareRequest.d.ts +32 -0
  104. package/dist/models/VerifyEmailAccessForShareRequest.js +51 -0
  105. package/dist/models/index.d.ts +43 -23
  106. package/dist/models/index.js +43 -23
  107. package/package.json +1 -1
  108. package/src/apis/DefaultApi.ts +1991 -1038
  109. package/src/models/ApiInvitesIdParticipantInvitesGet200Response.ts +101 -0
  110. package/src/models/AttributeStatsSchemaInnerValuesInner.ts +9 -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/CreateEmailShareRequest.ts +74 -0
  118. package/src/models/CreateProjectShareRequest.ts +73 -0
  119. package/src/models/CreateProjectShareResponse.ts +92 -0
  120. package/src/models/DeleteEmailShare200Response.ts +66 -0
  121. package/src/models/EmailShare.ts +135 -0
  122. package/src/models/{ApiInviteCodeCodeGet200Response.ts → GetCodeInvite200Response.ts} +45 -29
  123. package/src/models/GetCodeInviteResponseRedirect200Response.ts +66 -0
  124. package/src/models/GetShareEntities200Response.ts +83 -0
  125. package/src/models/GetSharedInviteResponses200Response.ts +101 -0
  126. package/src/models/GetSharedInviteResponsesStatusesParameterInner.ts +46 -0
  127. package/src/models/InviteConfig.ts +42 -113
  128. package/src/models/InviteConfigContacts.ts +125 -0
  129. package/src/models/InviteConfigKeplarPanel.ts +165 -0
  130. package/src/models/InviteConfigPublic.ts +133 -0
  131. package/src/models/InviteResponseData.ts +10 -10
  132. package/src/models/InviteResponseShareConfig.ts +76 -0
  133. package/src/models/InviteResponseWithCallSummary.ts +235 -0
  134. package/src/models/{ApiInviteCodeCodeStartGet302Response.ts → JoinCodeInvite302Response.ts} +45 -29
  135. package/src/models/JoinCodeInvite302ResponseSettings.ts +97 -0
  136. package/src/models/{ProjectPanelQualification.ts → PanelQualification.ts} +12 -12
  137. package/src/models/PanelRespondentAttribute.ts +92 -0
  138. package/src/models/{ProjectPanelSettings.ts → PanelSettings.ts} +26 -26
  139. package/src/models/ProjectAudience.ts +10 -10
  140. package/src/models/ProjectConfig.ts +11 -11
  141. package/src/models/ProjectShareConfig.ts +76 -0
  142. package/src/models/RequestShareAccess200Response.ts +75 -0
  143. package/src/models/RequestShareAccessRequest.ts +66 -0
  144. package/src/models/ResponseSubmitScreenerEvent.ts +10 -10
  145. package/src/models/{ProjectScreenerQuestionChooseOne.ts → ScreenerQuestionChooseOne.ts} +17 -17
  146. package/src/models/ScreenerQuestionChooseOnePublic.ts +94 -0
  147. package/src/models/{ProjectScreenerQuestionResponse.ts → ScreenerQuestionResponse.ts} +13 -13
  148. package/src/models/ShareEntity.ts +192 -0
  149. package/src/models/ShareEntityConfig.ts +72 -0
  150. package/src/models/ShareEntityCreatedByKind.ts +54 -0
  151. package/src/models/ShareEntityKind.ts +53 -0
  152. package/src/models/StartPhoneCallForCodeInviteResponseRequest.ts +66 -0
  153. package/src/models/UpdateCallForCodeInviteResponseRequest.ts +83 -0
  154. package/src/models/UpdateCallForCodeInviteResponseRequestCall.ts +85 -0
  155. package/src/models/UpdateCodeInviteResponse404Response.ts +66 -0
  156. package/src/models/UpdateShareEntityRequest.ts +73 -0
  157. package/src/models/VerifyEmailAccessForShare200Response.ts +75 -0
  158. package/src/models/VerifyEmailAccessForShareRequest.ts +66 -0
  159. package/src/models/index.ts +43 -23
  160. package/dist/models/ApiInviteCodeCodeGet200Response.d.ts +0 -76
  161. package/dist/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.d.ts +0 -32
  162. package/dist/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.js +0 -51
  163. package/dist/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.d.ts +0 -32
  164. package/dist/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.js +0 -51
  165. package/dist/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.d.ts +0 -32
  166. package/dist/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.js +0 -51
  167. package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.d.ts +0 -39
  168. package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.js +0 -56
  169. package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.d.ts +0 -39
  170. package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.js +0 -56
  171. package/dist/models/ApiInviteCodeCodeStartGet302Response.d.ts +0 -76
  172. package/dist/models/ApiInviteCodeCodeStartGet302ResponseSettings.d.ts +0 -64
  173. package/dist/models/ApiInviteCodeCodeStartGet302ResponseSettings.js +0 -63
  174. package/dist/models/ApiInvitesIdResponsesGet200Response.d.ts +0 -51
  175. package/dist/models/ApiInvitesIdResponsesGet200Response.js +0 -64
  176. package/dist/models/GetParticipantInvitesResponse.d.ts +0 -39
  177. package/dist/models/GetParticipantInvitesResponse.js +0 -56
  178. package/dist/models/ProjectPanelQualification.d.ts +0 -38
  179. package/dist/models/ProjectPanelRespondentAttribute.d.ts +0 -45
  180. package/dist/models/ProjectPanelRespondentAttribute.js +0 -60
  181. package/dist/models/ProjectPanelSettings.d.ts +0 -63
  182. package/dist/models/ProjectScreenerQuestionChooseOne.d.ts +0 -57
  183. package/dist/models/ProjectScreenerQuestionChooseOnePublic.d.ts +0 -51
  184. package/dist/models/ProjectScreenerQuestionChooseOnePublic.js +0 -66
  185. package/dist/models/ProjectScreenerQuestionResponse.d.ts +0 -44
  186. package/dist/models/RepDataConfigLegacy.d.ts +0 -59
  187. package/dist/models/RepDataConfigLegacy.js +0 -62
  188. package/dist/models/RepDataProjectLegacy.d.ts +0 -32
  189. package/dist/models/RepDataProjectLegacy.js +0 -51
  190. package/dist/models/RepDataStudyLegacy.d.ts +0 -93
  191. package/dist/models/RepDataStudyLegacy.js +0 -92
  192. package/dist/models/RepDataStudyLegacyQualificationsInner.d.ts +0 -38
  193. package/dist/models/RepDataStudyLegacyQualificationsInner.js +0 -55
  194. package/dist/models/RepDataSurveyLegacy.d.ts +0 -46
  195. package/dist/models/RepDataSurveyLegacy.js +0 -59
  196. package/dist/models/RepDataSurveyLegacyProject.d.ts +0 -32
  197. package/dist/models/RepDataSurveyLegacyProject.js +0 -51
  198. package/dist/models/RepDataSurveyStatusLegacy.d.ts +0 -26
  199. package/dist/models/RepDataSurveyStatusLegacy.js +0 -52
  200. package/src/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.ts +0 -66
  201. package/src/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.ts +0 -66
  202. package/src/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.ts +0 -66
  203. package/src/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.ts +0 -83
  204. package/src/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.ts +0 -85
  205. package/src/models/ApiInviteCodeCodeStartGet302ResponseSettings.ts +0 -121
  206. package/src/models/ApiInvitesIdResponsesGet200Response.ts +0 -101
  207. package/src/models/GetParticipantInvitesResponse.ts +0 -83
  208. package/src/models/ProjectPanelRespondentAttribute.ts +0 -92
  209. package/src/models/ProjectScreenerQuestionChooseOnePublic.ts +0 -94
  210. package/src/models/RepDataConfigLegacy.ts +0 -120
  211. package/src/models/RepDataProjectLegacy.ts +0 -66
  212. package/src/models/RepDataStudyLegacy.ts +0 -164
  213. package/src/models/RepDataStudyLegacyQualificationsInner.ts +0 -75
  214. package/src/models/RepDataSurveyLegacy.ts +0 -100
  215. package/src/models/RepDataSurveyLegacyProject.ts +0 -66
  216. package/src/models/RepDataSurveyStatusLegacy.ts +0 -54
@@ -13,25 +13,25 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfProjectPanelQualification = instanceOfProjectPanelQualification;
17
- exports.ProjectPanelQualificationFromJSON = ProjectPanelQualificationFromJSON;
18
- exports.ProjectPanelQualificationFromJSONTyped = ProjectPanelQualificationFromJSONTyped;
19
- exports.ProjectPanelQualificationToJSON = ProjectPanelQualificationToJSON;
20
- exports.ProjectPanelQualificationToJSONTyped = ProjectPanelQualificationToJSONTyped;
16
+ exports.instanceOfPanelQualification = instanceOfPanelQualification;
17
+ exports.PanelQualificationFromJSON = PanelQualificationFromJSON;
18
+ exports.PanelQualificationFromJSONTyped = PanelQualificationFromJSONTyped;
19
+ exports.PanelQualificationToJSON = PanelQualificationToJSON;
20
+ exports.PanelQualificationToJSONTyped = PanelQualificationToJSONTyped;
21
21
  /**
22
- * Check if a given object implements the ProjectPanelQualification interface.
22
+ * Check if a given object implements the PanelQualification interface.
23
23
  */
24
- function instanceOfProjectPanelQualification(value) {
24
+ function instanceOfPanelQualification(value) {
25
25
  if (!('allowed_option_ids' in value) || value['allowed_option_ids'] === undefined)
26
26
  return false;
27
27
  if (!('question_id' in value) || value['question_id'] === undefined)
28
28
  return false;
29
29
  return true;
30
30
  }
31
- function ProjectPanelQualificationFromJSON(json) {
32
- return ProjectPanelQualificationFromJSONTyped(json, false);
31
+ function PanelQualificationFromJSON(json) {
32
+ return PanelQualificationFromJSONTyped(json, false);
33
33
  }
34
- function ProjectPanelQualificationFromJSONTyped(json, ignoreDiscriminator) {
34
+ function PanelQualificationFromJSONTyped(json, ignoreDiscriminator) {
35
35
  if (json == null) {
36
36
  return json;
37
37
  }
@@ -40,10 +40,10 @@ function ProjectPanelQualificationFromJSONTyped(json, ignoreDiscriminator) {
40
40
  'question_id': json['question_id'],
41
41
  };
42
42
  }
43
- function ProjectPanelQualificationToJSON(json) {
44
- return ProjectPanelQualificationToJSONTyped(json, false);
43
+ function PanelQualificationToJSON(json) {
44
+ return PanelQualificationToJSONTyped(json, false);
45
45
  }
46
- function ProjectPanelQualificationToJSONTyped(value, ignoreDiscriminator) {
46
+ function PanelQualificationToJSONTyped(value, ignoreDiscriminator) {
47
47
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
48
  if (value == null) {
49
49
  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 { PanelQualification } from './PanelQualification';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PanelRespondentAttribute
17
+ */
18
+ export interface PanelRespondentAttribute {
19
+ /**
20
+ *
21
+ * @type {Array<PanelQualification>}
22
+ * @memberof PanelRespondentAttribute
23
+ */
24
+ qualifications: Array<PanelQualification>;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof PanelRespondentAttribute
29
+ */
30
+ quota: number;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof PanelRespondentAttribute
35
+ */
36
+ quota_name: string;
37
+ }
38
+ /**
39
+ * Check if a given object implements the PanelRespondentAttribute interface.
40
+ */
41
+ export declare function instanceOfPanelRespondentAttribute(value: object): value is PanelRespondentAttribute;
42
+ export declare function PanelRespondentAttributeFromJSON(json: any): PanelRespondentAttribute;
43
+ export declare function PanelRespondentAttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PanelRespondentAttribute;
44
+ export declare function PanelRespondentAttributeToJSON(json: any): PanelRespondentAttribute;
45
+ export declare function PanelRespondentAttributeToJSONTyped(value?: PanelRespondentAttribute | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,60 @@
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.instanceOfPanelRespondentAttribute = instanceOfPanelRespondentAttribute;
17
+ exports.PanelRespondentAttributeFromJSON = PanelRespondentAttributeFromJSON;
18
+ exports.PanelRespondentAttributeFromJSONTyped = PanelRespondentAttributeFromJSONTyped;
19
+ exports.PanelRespondentAttributeToJSON = PanelRespondentAttributeToJSON;
20
+ exports.PanelRespondentAttributeToJSONTyped = PanelRespondentAttributeToJSONTyped;
21
+ var PanelQualification_1 = require("./PanelQualification");
22
+ /**
23
+ * Check if a given object implements the PanelRespondentAttribute interface.
24
+ */
25
+ function instanceOfPanelRespondentAttribute(value) {
26
+ if (!('qualifications' in value) || value['qualifications'] === undefined)
27
+ return false;
28
+ if (!('quota' in value) || value['quota'] === undefined)
29
+ return false;
30
+ if (!('quota_name' in value) || value['quota_name'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function PanelRespondentAttributeFromJSON(json) {
35
+ return PanelRespondentAttributeFromJSONTyped(json, false);
36
+ }
37
+ function PanelRespondentAttributeFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'qualifications': (json['qualifications'].map(PanelQualification_1.PanelQualificationFromJSON)),
43
+ 'quota': json['quota'],
44
+ 'quota_name': json['quota_name'],
45
+ };
46
+ }
47
+ function PanelRespondentAttributeToJSON(json) {
48
+ return PanelRespondentAttributeToJSONTyped(json, false);
49
+ }
50
+ function PanelRespondentAttributeToJSONTyped(value, ignoreDiscriminator) {
51
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'qualifications': (value['qualifications'].map(PanelQualification_1.PanelQualificationToJSON)),
57
+ 'quota': value['quota'],
58
+ 'quota_name': value['quota_name'],
59
+ };
60
+ }
@@ -0,0 +1,63 @@
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 { PanelRespondentAttribute } from './PanelRespondentAttribute';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PanelSettings
17
+ */
18
+ export interface PanelSettings {
19
+ /**
20
+ *
21
+ * @type {Array<PanelRespondentAttribute>}
22
+ * @memberof PanelSettings
23
+ */
24
+ respondent_attributes: Array<PanelRespondentAttribute>;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof PanelSettings
29
+ */
30
+ country_code?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof PanelSettings
35
+ */
36
+ language_code?: string;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof PanelSettings
41
+ */
42
+ length_of_interview?: number;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof PanelSettings
47
+ */
48
+ incidence_rate?: number;
49
+ /**
50
+ *
51
+ * @type {number}
52
+ * @memberof PanelSettings
53
+ */
54
+ compensation?: number;
55
+ }
56
+ /**
57
+ * Check if a given object implements the PanelSettings interface.
58
+ */
59
+ export declare function instanceOfPanelSettings(value: object): value is PanelSettings;
60
+ export declare function PanelSettingsFromJSON(json: any): PanelSettings;
61
+ export declare function PanelSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PanelSettings;
62
+ export declare function PanelSettingsToJSON(json: any): PanelSettings;
63
+ export declare function PanelSettingsToJSONTyped(value?: PanelSettings | null, ignoreDiscriminator?: boolean): any;
@@ -13,29 +13,29 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfProjectPanelSettings = instanceOfProjectPanelSettings;
17
- exports.ProjectPanelSettingsFromJSON = ProjectPanelSettingsFromJSON;
18
- exports.ProjectPanelSettingsFromJSONTyped = ProjectPanelSettingsFromJSONTyped;
19
- exports.ProjectPanelSettingsToJSON = ProjectPanelSettingsToJSON;
20
- exports.ProjectPanelSettingsToJSONTyped = ProjectPanelSettingsToJSONTyped;
21
- var ProjectPanelRespondentAttribute_1 = require("./ProjectPanelRespondentAttribute");
16
+ exports.instanceOfPanelSettings = instanceOfPanelSettings;
17
+ exports.PanelSettingsFromJSON = PanelSettingsFromJSON;
18
+ exports.PanelSettingsFromJSONTyped = PanelSettingsFromJSONTyped;
19
+ exports.PanelSettingsToJSON = PanelSettingsToJSON;
20
+ exports.PanelSettingsToJSONTyped = PanelSettingsToJSONTyped;
21
+ var PanelRespondentAttribute_1 = require("./PanelRespondentAttribute");
22
22
  /**
23
- * Check if a given object implements the ProjectPanelSettings interface.
23
+ * Check if a given object implements the PanelSettings interface.
24
24
  */
25
- function instanceOfProjectPanelSettings(value) {
25
+ function instanceOfPanelSettings(value) {
26
26
  if (!('respondent_attributes' in value) || value['respondent_attributes'] === undefined)
27
27
  return false;
28
28
  return true;
29
29
  }
30
- function ProjectPanelSettingsFromJSON(json) {
31
- return ProjectPanelSettingsFromJSONTyped(json, false);
30
+ function PanelSettingsFromJSON(json) {
31
+ return PanelSettingsFromJSONTyped(json, false);
32
32
  }
33
- function ProjectPanelSettingsFromJSONTyped(json, ignoreDiscriminator) {
33
+ function PanelSettingsFromJSONTyped(json, ignoreDiscriminator) {
34
34
  if (json == null) {
35
35
  return json;
36
36
  }
37
37
  return {
38
- 'respondent_attributes': (json['respondent_attributes'].map(ProjectPanelRespondentAttribute_1.ProjectPanelRespondentAttributeFromJSON)),
38
+ 'respondent_attributes': (json['respondent_attributes'].map(PanelRespondentAttribute_1.PanelRespondentAttributeFromJSON)),
39
39
  'country_code': json['country_code'] == null ? undefined : json['country_code'],
40
40
  'language_code': json['language_code'] == null ? undefined : json['language_code'],
41
41
  'length_of_interview': json['length_of_interview'] == null ? undefined : json['length_of_interview'],
@@ -43,16 +43,16 @@ function ProjectPanelSettingsFromJSONTyped(json, ignoreDiscriminator) {
43
43
  'compensation': json['compensation'] == null ? undefined : json['compensation'],
44
44
  };
45
45
  }
46
- function ProjectPanelSettingsToJSON(json) {
47
- return ProjectPanelSettingsToJSONTyped(json, false);
46
+ function PanelSettingsToJSON(json) {
47
+ return PanelSettingsToJSONTyped(json, false);
48
48
  }
49
- function ProjectPanelSettingsToJSONTyped(value, ignoreDiscriminator) {
49
+ function PanelSettingsToJSONTyped(value, ignoreDiscriminator) {
50
50
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
51
51
  if (value == null) {
52
52
  return value;
53
53
  }
54
54
  return {
55
- 'respondent_attributes': (value['respondent_attributes'].map(ProjectPanelRespondentAttribute_1.ProjectPanelRespondentAttributeToJSON)),
55
+ 'respondent_attributes': (value['respondent_attributes'].map(PanelRespondentAttribute_1.PanelRespondentAttributeToJSON)),
56
56
  'country_code': value['country_code'],
57
57
  'language_code': value['language_code'],
58
58
  'length_of_interview': value['length_of_interview'],
@@ -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
  }
@@ -0,0 +1,39 @@
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 ProjectShareConfig
16
+ */
17
+ export interface ProjectShareConfig {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ProjectShareConfig
22
+ */
23
+ kind: ProjectShareConfigKindEnum;
24
+ }
25
+ /**
26
+ * @export
27
+ */
28
+ export declare const ProjectShareConfigKindEnum: {
29
+ readonly Project: "project";
30
+ };
31
+ export type ProjectShareConfigKindEnum = typeof ProjectShareConfigKindEnum[keyof typeof ProjectShareConfigKindEnum];
32
+ /**
33
+ * Check if a given object implements the ProjectShareConfig interface.
34
+ */
35
+ export declare function instanceOfProjectShareConfig(value: object): value is ProjectShareConfig;
36
+ export declare function ProjectShareConfigFromJSON(json: any): ProjectShareConfig;
37
+ export declare function ProjectShareConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectShareConfig;
38
+ export declare function ProjectShareConfigToJSON(json: any): ProjectShareConfig;
39
+ export declare function ProjectShareConfigToJSONTyped(value?: ProjectShareConfig | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Fastify Template API
6
+ * API documentation using Swagger
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ProjectShareConfigKindEnum = void 0;
17
+ exports.instanceOfProjectShareConfig = instanceOfProjectShareConfig;
18
+ exports.ProjectShareConfigFromJSON = ProjectShareConfigFromJSON;
19
+ exports.ProjectShareConfigFromJSONTyped = ProjectShareConfigFromJSONTyped;
20
+ exports.ProjectShareConfigToJSON = ProjectShareConfigToJSON;
21
+ exports.ProjectShareConfigToJSONTyped = ProjectShareConfigToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ProjectShareConfigKindEnum = {
26
+ Project: 'project'
27
+ };
28
+ /**
29
+ * Check if a given object implements the ProjectShareConfig interface.
30
+ */
31
+ function instanceOfProjectShareConfig(value) {
32
+ if (!('kind' in value) || value['kind'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function ProjectShareConfigFromJSON(json) {
37
+ return ProjectShareConfigFromJSONTyped(json, false);
38
+ }
39
+ function ProjectShareConfigFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'kind': json['kind'],
45
+ };
46
+ }
47
+ function ProjectShareConfigToJSON(json) {
48
+ return ProjectShareConfigToJSONTyped(json, false);
49
+ }
50
+ function ProjectShareConfigToJSONTyped(value, ignoreDiscriminator) {
51
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'kind': value['kind'],
57
+ };
58
+ }
@@ -0,0 +1,38 @@
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 RequestShareAccess200Response
16
+ */
17
+ export interface RequestShareAccess200Response {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof RequestShareAccess200Response
22
+ */
23
+ success: boolean;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RequestShareAccess200Response
28
+ */
29
+ message: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the RequestShareAccess200Response interface.
33
+ */
34
+ export declare function instanceOfRequestShareAccess200Response(value: object): value is RequestShareAccess200Response;
35
+ export declare function RequestShareAccess200ResponseFromJSON(json: any): RequestShareAccess200Response;
36
+ export declare function RequestShareAccess200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestShareAccess200Response;
37
+ export declare function RequestShareAccess200ResponseToJSON(json: any): RequestShareAccess200Response;
38
+ export declare function RequestShareAccess200ResponseToJSONTyped(value?: RequestShareAccess200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfRequestShareAccess200Response = instanceOfRequestShareAccess200Response;
17
+ exports.RequestShareAccess200ResponseFromJSON = RequestShareAccess200ResponseFromJSON;
18
+ exports.RequestShareAccess200ResponseFromJSONTyped = RequestShareAccess200ResponseFromJSONTyped;
19
+ exports.RequestShareAccess200ResponseToJSON = RequestShareAccess200ResponseToJSON;
20
+ exports.RequestShareAccess200ResponseToJSONTyped = RequestShareAccess200ResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the RequestShareAccess200Response interface.
23
+ */
24
+ function instanceOfRequestShareAccess200Response(value) {
25
+ if (!('success' in value) || value['success'] === undefined)
26
+ return false;
27
+ if (!('message' in value) || value['message'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function RequestShareAccess200ResponseFromJSON(json) {
32
+ return RequestShareAccess200ResponseFromJSONTyped(json, false);
33
+ }
34
+ function RequestShareAccess200ResponseFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'success': json['success'],
40
+ 'message': json['message'],
41
+ };
42
+ }
43
+ function RequestShareAccess200ResponseToJSON(json) {
44
+ return RequestShareAccess200ResponseToJSONTyped(json, false);
45
+ }
46
+ function RequestShareAccess200ResponseToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'success': value['success'],
53
+ 'message': value['message'],
54
+ };
55
+ }
@@ -0,0 +1,32 @@
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 RequestShareAccessRequest
16
+ */
17
+ export interface RequestShareAccessRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RequestShareAccessRequest
22
+ */
23
+ email: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the RequestShareAccessRequest interface.
27
+ */
28
+ export declare function instanceOfRequestShareAccessRequest(value: object): value is RequestShareAccessRequest;
29
+ export declare function RequestShareAccessRequestFromJSON(json: any): RequestShareAccessRequest;
30
+ export declare function RequestShareAccessRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestShareAccessRequest;
31
+ export declare function RequestShareAccessRequestToJSON(json: any): RequestShareAccessRequest;
32
+ export declare function RequestShareAccessRequestToJSONTyped(value?: RequestShareAccessRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Fastify Template API
6
+ * API documentation using Swagger
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfRequestShareAccessRequest = instanceOfRequestShareAccessRequest;
17
+ exports.RequestShareAccessRequestFromJSON = RequestShareAccessRequestFromJSON;
18
+ exports.RequestShareAccessRequestFromJSONTyped = RequestShareAccessRequestFromJSONTyped;
19
+ exports.RequestShareAccessRequestToJSON = RequestShareAccessRequestToJSON;
20
+ exports.RequestShareAccessRequestToJSONTyped = RequestShareAccessRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the RequestShareAccessRequest interface.
23
+ */
24
+ function instanceOfRequestShareAccessRequest(value) {
25
+ if (!('email' in value) || value['email'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function RequestShareAccessRequestFromJSON(json) {
30
+ return RequestShareAccessRequestFromJSONTyped(json, false);
31
+ }
32
+ function RequestShareAccessRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'email': json['email'],
38
+ };
39
+ }
40
+ function RequestShareAccessRequestToJSON(json) {
41
+ return RequestShareAccessRequestToJSONTyped(json, false);
42
+ }
43
+ function RequestShareAccessRequestToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'email': value['email'],
50
+ };
51
+ }