keplar-api 0.0.9 → 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 (156) hide show
  1. package/.openapi-generator/FILES +24 -22
  2. package/README.md +2 -2
  3. package/dist/apis/DefaultApi.d.ts +236 -249
  4. package/dist/apis/DefaultApi.js +878 -803
  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/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/GetCodeInvite200Response.d.ts +83 -0
  22. package/dist/models/{ApiInviteCodeCodeGet200Response.js → GetCodeInvite200Response.js} +21 -16
  23. package/dist/models/GetCodeInviteResponseRedirect200Response.d.ts +32 -0
  24. package/dist/models/GetCodeInviteResponseRedirect200Response.js +51 -0
  25. package/dist/models/InviteConfig.d.ts +12 -70
  26. package/dist/models/InviteConfig.js +23 -37
  27. package/dist/models/InviteConfigContacts.d.ts +75 -0
  28. package/dist/models/InviteConfigContacts.js +72 -0
  29. package/dist/models/InviteConfigKeplarPanel.d.ts +95 -0
  30. package/dist/models/InviteConfigKeplarPanel.js +82 -0
  31. package/dist/models/InviteConfigPublic.d.ts +81 -0
  32. package/dist/models/InviteConfigPublic.js +74 -0
  33. package/dist/models/InviteResponseData.d.ts +3 -3
  34. package/dist/models/InviteResponseData.js +3 -3
  35. package/dist/models/InviteResponseWithCallSummary.d.ts +118 -0
  36. package/dist/models/InviteResponseWithCallSummary.js +97 -0
  37. package/dist/models/JoinCodeInvite302Response.d.ts +83 -0
  38. package/dist/models/{ApiInviteCodeCodeStartGet302Response.js → JoinCodeInvite302Response.js} +21 -16
  39. package/dist/models/JoinCodeInvite302ResponseSettings.d.ts +46 -0
  40. package/dist/models/JoinCodeInvite302ResponseSettings.js +57 -0
  41. package/dist/models/PanelQualification.d.ts +38 -0
  42. package/dist/models/{ProjectPanelQualification.js → PanelQualification.js} +13 -13
  43. package/dist/models/PanelRespondentAttribute.d.ts +45 -0
  44. package/dist/models/PanelRespondentAttribute.js +60 -0
  45. package/dist/models/PanelSettings.d.ts +63 -0
  46. package/dist/models/{ProjectPanelSettings.js → PanelSettings.js} +16 -16
  47. package/dist/models/ProjectAudience.d.ts +3 -3
  48. package/dist/models/ProjectAudience.js +3 -3
  49. package/dist/models/ProjectConfig.d.ts +3 -3
  50. package/dist/models/ProjectConfig.js +3 -3
  51. package/dist/models/ResponseSubmitScreenerEvent.d.ts +3 -3
  52. package/dist/models/ResponseSubmitScreenerEvent.js +3 -3
  53. package/dist/models/ScreenerQuestionChooseOne.d.ts +57 -0
  54. package/dist/models/{ProjectScreenerQuestionChooseOne.js → ScreenerQuestionChooseOne.js} +15 -15
  55. package/dist/models/ScreenerQuestionChooseOnePublic.d.ts +51 -0
  56. package/dist/models/ScreenerQuestionChooseOnePublic.js +66 -0
  57. package/dist/models/ScreenerQuestionResponse.d.ts +44 -0
  58. package/dist/models/{ProjectScreenerQuestionResponse.js → ScreenerQuestionResponse.js} +13 -13
  59. package/dist/models/StartPhoneCallForCodeInviteResponseRequest.d.ts +32 -0
  60. package/dist/models/StartPhoneCallForCodeInviteResponseRequest.js +51 -0
  61. package/dist/models/UpdateCallForCodeInviteResponseRequest.d.ts +39 -0
  62. package/dist/models/UpdateCallForCodeInviteResponseRequest.js +56 -0
  63. package/dist/models/UpdateCallForCodeInviteResponseRequestCall.d.ts +39 -0
  64. package/dist/models/UpdateCallForCodeInviteResponseRequestCall.js +56 -0
  65. package/dist/models/UpdateCodeInviteResponse404Response.d.ts +32 -0
  66. package/dist/models/UpdateCodeInviteResponse404Response.js +51 -0
  67. package/dist/models/index.d.ts +24 -22
  68. package/dist/models/index.js +24 -22
  69. package/package.json +1 -1
  70. package/src/apis/DefaultApi.ts +1094 -1026
  71. package/src/models/ApiInvitesIdParticipantInvitesGet200Response.ts +101 -0
  72. package/src/models/ApiInvitesIdResponsesGet200Response.ts +10 -10
  73. package/src/models/CallSummary.ts +101 -0
  74. package/src/models/CodeInvite.ts +27 -11
  75. package/src/models/CodeInviteConfig.ts +83 -0
  76. package/src/models/CodeInviteConfigContacts.ts +125 -0
  77. package/src/models/CodeInviteConfigKeplarPanel.ts +142 -0
  78. package/src/models/CreateCodeInviteResponseRequest.ts +90 -0
  79. package/src/models/{ApiInviteCodeCodeGet200Response.ts → GetCodeInvite200Response.ts} +45 -29
  80. package/src/models/GetCodeInviteResponseRedirect200Response.ts +66 -0
  81. package/src/models/InviteConfig.ts +42 -113
  82. package/src/models/InviteConfigContacts.ts +125 -0
  83. package/src/models/InviteConfigKeplarPanel.ts +165 -0
  84. package/src/models/InviteConfigPublic.ts +133 -0
  85. package/src/models/InviteResponseData.ts +10 -10
  86. package/src/models/InviteResponseWithCallSummary.ts +235 -0
  87. package/src/models/{ApiInviteCodeCodeStartGet302Response.ts → JoinCodeInvite302Response.ts} +45 -29
  88. package/src/models/JoinCodeInvite302ResponseSettings.ts +97 -0
  89. package/src/models/{ProjectPanelQualification.ts → PanelQualification.ts} +12 -12
  90. package/src/models/PanelRespondentAttribute.ts +92 -0
  91. package/src/models/{ProjectPanelSettings.ts → PanelSettings.ts} +26 -26
  92. package/src/models/ProjectAudience.ts +10 -10
  93. package/src/models/ProjectConfig.ts +11 -11
  94. package/src/models/ResponseSubmitScreenerEvent.ts +10 -10
  95. package/src/models/{ProjectScreenerQuestionChooseOne.ts → ScreenerQuestionChooseOne.ts} +17 -17
  96. package/src/models/ScreenerQuestionChooseOnePublic.ts +94 -0
  97. package/src/models/{ProjectScreenerQuestionResponse.ts → ScreenerQuestionResponse.ts} +13 -13
  98. package/src/models/StartPhoneCallForCodeInviteResponseRequest.ts +66 -0
  99. package/src/models/UpdateCallForCodeInviteResponseRequest.ts +83 -0
  100. package/src/models/UpdateCallForCodeInviteResponseRequestCall.ts +85 -0
  101. package/src/models/UpdateCodeInviteResponse404Response.ts +66 -0
  102. package/src/models/index.ts +24 -22
  103. package/dist/models/ApiInviteCodeCodeGet200Response.d.ts +0 -76
  104. package/dist/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.d.ts +0 -32
  105. package/dist/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.js +0 -51
  106. package/dist/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.d.ts +0 -32
  107. package/dist/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.js +0 -51
  108. package/dist/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.d.ts +0 -32
  109. package/dist/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.js +0 -51
  110. package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.d.ts +0 -39
  111. package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.js +0 -56
  112. package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.d.ts +0 -39
  113. package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.js +0 -56
  114. package/dist/models/ApiInviteCodeCodeStartGet302Response.d.ts +0 -76
  115. package/dist/models/ApiInviteCodeCodeStartGet302ResponseSettings.d.ts +0 -64
  116. package/dist/models/ApiInviteCodeCodeStartGet302ResponseSettings.js +0 -63
  117. package/dist/models/GetParticipantInvitesResponse.d.ts +0 -39
  118. package/dist/models/GetParticipantInvitesResponse.js +0 -56
  119. package/dist/models/ProjectPanelQualification.d.ts +0 -38
  120. package/dist/models/ProjectPanelRespondentAttribute.d.ts +0 -45
  121. package/dist/models/ProjectPanelRespondentAttribute.js +0 -60
  122. package/dist/models/ProjectPanelSettings.d.ts +0 -63
  123. package/dist/models/ProjectScreenerQuestionChooseOne.d.ts +0 -57
  124. package/dist/models/ProjectScreenerQuestionChooseOnePublic.d.ts +0 -51
  125. package/dist/models/ProjectScreenerQuestionChooseOnePublic.js +0 -66
  126. package/dist/models/ProjectScreenerQuestionResponse.d.ts +0 -44
  127. package/dist/models/RepDataConfigLegacy.d.ts +0 -59
  128. package/dist/models/RepDataConfigLegacy.js +0 -62
  129. package/dist/models/RepDataProjectLegacy.d.ts +0 -32
  130. package/dist/models/RepDataProjectLegacy.js +0 -51
  131. package/dist/models/RepDataStudyLegacy.d.ts +0 -93
  132. package/dist/models/RepDataStudyLegacy.js +0 -92
  133. package/dist/models/RepDataStudyLegacyQualificationsInner.d.ts +0 -38
  134. package/dist/models/RepDataStudyLegacyQualificationsInner.js +0 -55
  135. package/dist/models/RepDataSurveyLegacy.d.ts +0 -46
  136. package/dist/models/RepDataSurveyLegacy.js +0 -59
  137. package/dist/models/RepDataSurveyLegacyProject.d.ts +0 -32
  138. package/dist/models/RepDataSurveyLegacyProject.js +0 -51
  139. package/dist/models/RepDataSurveyStatusLegacy.d.ts +0 -26
  140. package/dist/models/RepDataSurveyStatusLegacy.js +0 -52
  141. package/src/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.ts +0 -66
  142. package/src/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.ts +0 -66
  143. package/src/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.ts +0 -66
  144. package/src/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.ts +0 -83
  145. package/src/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.ts +0 -85
  146. package/src/models/ApiInviteCodeCodeStartGet302ResponseSettings.ts +0 -121
  147. package/src/models/GetParticipantInvitesResponse.ts +0 -83
  148. package/src/models/ProjectPanelRespondentAttribute.ts +0 -92
  149. package/src/models/ProjectScreenerQuestionChooseOnePublic.ts +0 -94
  150. package/src/models/RepDataConfigLegacy.ts +0 -120
  151. package/src/models/RepDataProjectLegacy.ts +0 -66
  152. package/src/models/RepDataStudyLegacy.ts +0 -164
  153. package/src/models/RepDataStudyLegacyQualificationsInner.ts +0 -75
  154. package/src/models/RepDataSurveyLegacy.ts +0 -100
  155. package/src/models/RepDataSurveyLegacyProject.ts +0 -66
  156. package/src/models/RepDataSurveyStatusLegacy.ts +0 -54
@@ -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,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 StartPhoneCallForCodeInviteResponseRequest
16
+ */
17
+ export interface StartPhoneCallForCodeInviteResponseRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof StartPhoneCallForCodeInviteResponseRequest
22
+ */
23
+ phoneNumber: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the StartPhoneCallForCodeInviteResponseRequest interface.
27
+ */
28
+ export declare function instanceOfStartPhoneCallForCodeInviteResponseRequest(value: object): value is StartPhoneCallForCodeInviteResponseRequest;
29
+ export declare function StartPhoneCallForCodeInviteResponseRequestFromJSON(json: any): StartPhoneCallForCodeInviteResponseRequest;
30
+ export declare function StartPhoneCallForCodeInviteResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StartPhoneCallForCodeInviteResponseRequest;
31
+ export declare function StartPhoneCallForCodeInviteResponseRequestToJSON(json: any): StartPhoneCallForCodeInviteResponseRequest;
32
+ export declare function StartPhoneCallForCodeInviteResponseRequestToJSONTyped(value?: StartPhoneCallForCodeInviteResponseRequest | 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.instanceOfStartPhoneCallForCodeInviteResponseRequest = instanceOfStartPhoneCallForCodeInviteResponseRequest;
17
+ exports.StartPhoneCallForCodeInviteResponseRequestFromJSON = StartPhoneCallForCodeInviteResponseRequestFromJSON;
18
+ exports.StartPhoneCallForCodeInviteResponseRequestFromJSONTyped = StartPhoneCallForCodeInviteResponseRequestFromJSONTyped;
19
+ exports.StartPhoneCallForCodeInviteResponseRequestToJSON = StartPhoneCallForCodeInviteResponseRequestToJSON;
20
+ exports.StartPhoneCallForCodeInviteResponseRequestToJSONTyped = StartPhoneCallForCodeInviteResponseRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the StartPhoneCallForCodeInviteResponseRequest interface.
23
+ */
24
+ function instanceOfStartPhoneCallForCodeInviteResponseRequest(value) {
25
+ if (!('phoneNumber' in value) || value['phoneNumber'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function StartPhoneCallForCodeInviteResponseRequestFromJSON(json) {
30
+ return StartPhoneCallForCodeInviteResponseRequestFromJSONTyped(json, false);
31
+ }
32
+ function StartPhoneCallForCodeInviteResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'phoneNumber': json['phoneNumber'],
38
+ };
39
+ }
40
+ function StartPhoneCallForCodeInviteResponseRequestToJSON(json) {
41
+ return StartPhoneCallForCodeInviteResponseRequestToJSONTyped(json, false);
42
+ }
43
+ function StartPhoneCallForCodeInviteResponseRequestToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'phoneNumber': value['phoneNumber'],
50
+ };
51
+ }
@@ -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
+ import type { UpdateCallForCodeInviteResponseRequestCall } from './UpdateCallForCodeInviteResponseRequestCall';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateCallForCodeInviteResponseRequest
17
+ */
18
+ export interface UpdateCallForCodeInviteResponseRequest {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof UpdateCallForCodeInviteResponseRequest
23
+ */
24
+ callId: string;
25
+ /**
26
+ *
27
+ * @type {UpdateCallForCodeInviteResponseRequestCall}
28
+ * @memberof UpdateCallForCodeInviteResponseRequest
29
+ */
30
+ call: UpdateCallForCodeInviteResponseRequestCall;
31
+ }
32
+ /**
33
+ * Check if a given object implements the UpdateCallForCodeInviteResponseRequest interface.
34
+ */
35
+ export declare function instanceOfUpdateCallForCodeInviteResponseRequest(value: object): value is UpdateCallForCodeInviteResponseRequest;
36
+ export declare function UpdateCallForCodeInviteResponseRequestFromJSON(json: any): UpdateCallForCodeInviteResponseRequest;
37
+ export declare function UpdateCallForCodeInviteResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateCallForCodeInviteResponseRequest;
38
+ export declare function UpdateCallForCodeInviteResponseRequestToJSON(json: any): UpdateCallForCodeInviteResponseRequest;
39
+ export declare function UpdateCallForCodeInviteResponseRequestToJSONTyped(value?: UpdateCallForCodeInviteResponseRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
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.instanceOfUpdateCallForCodeInviteResponseRequest = instanceOfUpdateCallForCodeInviteResponseRequest;
17
+ exports.UpdateCallForCodeInviteResponseRequestFromJSON = UpdateCallForCodeInviteResponseRequestFromJSON;
18
+ exports.UpdateCallForCodeInviteResponseRequestFromJSONTyped = UpdateCallForCodeInviteResponseRequestFromJSONTyped;
19
+ exports.UpdateCallForCodeInviteResponseRequestToJSON = UpdateCallForCodeInviteResponseRequestToJSON;
20
+ exports.UpdateCallForCodeInviteResponseRequestToJSONTyped = UpdateCallForCodeInviteResponseRequestToJSONTyped;
21
+ var UpdateCallForCodeInviteResponseRequestCall_1 = require("./UpdateCallForCodeInviteResponseRequestCall");
22
+ /**
23
+ * Check if a given object implements the UpdateCallForCodeInviteResponseRequest interface.
24
+ */
25
+ function instanceOfUpdateCallForCodeInviteResponseRequest(value) {
26
+ if (!('callId' in value) || value['callId'] === undefined)
27
+ return false;
28
+ if (!('call' in value) || value['call'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function UpdateCallForCodeInviteResponseRequestFromJSON(json) {
33
+ return UpdateCallForCodeInviteResponseRequestFromJSONTyped(json, false);
34
+ }
35
+ function UpdateCallForCodeInviteResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'callId': json['callId'],
41
+ 'call': (0, UpdateCallForCodeInviteResponseRequestCall_1.UpdateCallForCodeInviteResponseRequestCallFromJSON)(json['call']),
42
+ };
43
+ }
44
+ function UpdateCallForCodeInviteResponseRequestToJSON(json) {
45
+ return UpdateCallForCodeInviteResponseRequestToJSONTyped(json, false);
46
+ }
47
+ function UpdateCallForCodeInviteResponseRequestToJSONTyped(value, ignoreDiscriminator) {
48
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'callId': value['callId'],
54
+ 'call': (0, UpdateCallForCodeInviteResponseRequestCall_1.UpdateCallForCodeInviteResponseRequestCallToJSON)(value['call']),
55
+ };
56
+ }
@@ -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
+ import type { CallStatus } from './CallStatus';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateCallForCodeInviteResponseRequestCall
17
+ */
18
+ export interface UpdateCallForCodeInviteResponseRequestCall {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof UpdateCallForCodeInviteResponseRequestCall
23
+ */
24
+ vendorCallId: string;
25
+ /**
26
+ *
27
+ * @type {CallStatus}
28
+ * @memberof UpdateCallForCodeInviteResponseRequestCall
29
+ */
30
+ status: CallStatus | null;
31
+ }
32
+ /**
33
+ * Check if a given object implements the UpdateCallForCodeInviteResponseRequestCall interface.
34
+ */
35
+ export declare function instanceOfUpdateCallForCodeInviteResponseRequestCall(value: object): value is UpdateCallForCodeInviteResponseRequestCall;
36
+ export declare function UpdateCallForCodeInviteResponseRequestCallFromJSON(json: any): UpdateCallForCodeInviteResponseRequestCall;
37
+ export declare function UpdateCallForCodeInviteResponseRequestCallFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateCallForCodeInviteResponseRequestCall;
38
+ export declare function UpdateCallForCodeInviteResponseRequestCallToJSON(json: any): UpdateCallForCodeInviteResponseRequestCall;
39
+ export declare function UpdateCallForCodeInviteResponseRequestCallToJSONTyped(value?: UpdateCallForCodeInviteResponseRequestCall | null, ignoreDiscriminator?: boolean): any;