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
@@ -13,13 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { ProjectScreenerQuestionResponse } from './ProjectScreenerQuestionResponse';
16
+ import type { ScreenerQuestionResponse } from './ScreenerQuestionResponse';
17
17
  import {
18
- ProjectScreenerQuestionResponseFromJSON,
19
- ProjectScreenerQuestionResponseFromJSONTyped,
20
- ProjectScreenerQuestionResponseToJSON,
21
- ProjectScreenerQuestionResponseToJSONTyped,
22
- } from './ProjectScreenerQuestionResponse';
18
+ ScreenerQuestionResponseFromJSON,
19
+ ScreenerQuestionResponseFromJSONTyped,
20
+ ScreenerQuestionResponseToJSON,
21
+ ScreenerQuestionResponseToJSONTyped,
22
+ } from './ScreenerQuestionResponse';
23
23
 
24
24
  /**
25
25
  *
@@ -35,10 +35,10 @@ export interface ResponseSubmitScreenerEvent {
35
35
  type: ResponseSubmitScreenerEventTypeEnum;
36
36
  /**
37
37
  *
38
- * @type {Array<ProjectScreenerQuestionResponse>}
38
+ * @type {Array<ScreenerQuestionResponse>}
39
39
  * @memberof ResponseSubmitScreenerEvent
40
40
  */
41
- screenerQuestionsResponses: Array<ProjectScreenerQuestionResponse>;
41
+ screenerQuestionsResponses: Array<ScreenerQuestionResponse>;
42
42
  }
43
43
 
44
44
 
@@ -71,7 +71,7 @@ export function ResponseSubmitScreenerEventFromJSONTyped(json: any, ignoreDiscri
71
71
  return {
72
72
 
73
73
  'type': json['type'],
74
- 'screenerQuestionsResponses': ((json['screenerQuestionsResponses'] as Array<any>).map(ProjectScreenerQuestionResponseFromJSON)),
74
+ 'screenerQuestionsResponses': ((json['screenerQuestionsResponses'] as Array<any>).map(ScreenerQuestionResponseFromJSON)),
75
75
  };
76
76
  }
77
77
 
@@ -87,7 +87,7 @@ export function ResponseSubmitScreenerEventToJSONTyped(value?: ResponseSubmitScr
87
87
  return {
88
88
 
89
89
  'type': value['type'],
90
- 'screenerQuestionsResponses': ((value['screenerQuestionsResponses'] as Array<any>).map(ProjectScreenerQuestionResponseToJSON)),
90
+ 'screenerQuestionsResponses': ((value['screenerQuestionsResponses'] as Array<any>).map(ScreenerQuestionResponseToJSON)),
91
91
  };
92
92
  }
93
93
 
@@ -16,31 +16,31 @@ import { mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
19
- * @interface ProjectScreenerQuestionChooseOne
19
+ * @interface ScreenerQuestionChooseOne
20
20
  */
21
- export interface ProjectScreenerQuestionChooseOne {
21
+ export interface ScreenerQuestionChooseOne {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof ProjectScreenerQuestionChooseOne
25
+ * @memberof ScreenerQuestionChooseOne
26
26
  */
27
- type: ProjectScreenerQuestionChooseOneTypeEnum;
27
+ type: ScreenerQuestionChooseOneTypeEnum;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof ProjectScreenerQuestionChooseOne
31
+ * @memberof ScreenerQuestionChooseOne
32
32
  */
33
33
  question: string;
34
34
  /**
35
35
  *
36
36
  * @type {Array<string>}
37
- * @memberof ProjectScreenerQuestionChooseOne
37
+ * @memberof ScreenerQuestionChooseOne
38
38
  */
39
39
  options: Array<string>;
40
40
  /**
41
41
  *
42
42
  * @type {Array<string>}
43
- * @memberof ProjectScreenerQuestionChooseOne
43
+ * @memberof ScreenerQuestionChooseOne
44
44
  */
45
45
  passingOptions: Array<string>;
46
46
  }
@@ -49,16 +49,16 @@ export interface ProjectScreenerQuestionChooseOne {
49
49
  /**
50
50
  * @export
51
51
  */
52
- export const ProjectScreenerQuestionChooseOneTypeEnum = {
52
+ export const ScreenerQuestionChooseOneTypeEnum = {
53
53
  ChooseOne: 'chooseOne'
54
54
  } as const;
55
- export type ProjectScreenerQuestionChooseOneTypeEnum = typeof ProjectScreenerQuestionChooseOneTypeEnum[keyof typeof ProjectScreenerQuestionChooseOneTypeEnum];
55
+ export type ScreenerQuestionChooseOneTypeEnum = typeof ScreenerQuestionChooseOneTypeEnum[keyof typeof ScreenerQuestionChooseOneTypeEnum];
56
56
 
57
57
 
58
58
  /**
59
- * Check if a given object implements the ProjectScreenerQuestionChooseOne interface.
59
+ * Check if a given object implements the ScreenerQuestionChooseOne interface.
60
60
  */
61
- export function instanceOfProjectScreenerQuestionChooseOne(value: object): value is ProjectScreenerQuestionChooseOne {
61
+ export function instanceOfScreenerQuestionChooseOne(value: object): value is ScreenerQuestionChooseOne {
62
62
  if (!('type' in value) || value['type'] === undefined) return false;
63
63
  if (!('question' in value) || value['question'] === undefined) return false;
64
64
  if (!('options' in value) || value['options'] === undefined) return false;
@@ -66,11 +66,11 @@ export function instanceOfProjectScreenerQuestionChooseOne(value: object): value
66
66
  return true;
67
67
  }
68
68
 
69
- export function ProjectScreenerQuestionChooseOneFromJSON(json: any): ProjectScreenerQuestionChooseOne {
70
- return ProjectScreenerQuestionChooseOneFromJSONTyped(json, false);
69
+ export function ScreenerQuestionChooseOneFromJSON(json: any): ScreenerQuestionChooseOne {
70
+ return ScreenerQuestionChooseOneFromJSONTyped(json, false);
71
71
  }
72
72
 
73
- export function ProjectScreenerQuestionChooseOneFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectScreenerQuestionChooseOne {
73
+ export function ScreenerQuestionChooseOneFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseOne {
74
74
  if (json == null) {
75
75
  return json;
76
76
  }
@@ -83,11 +83,11 @@ export function ProjectScreenerQuestionChooseOneFromJSONTyped(json: any, ignoreD
83
83
  };
84
84
  }
85
85
 
86
- export function ProjectScreenerQuestionChooseOneToJSON(json: any): ProjectScreenerQuestionChooseOne {
87
- return ProjectScreenerQuestionChooseOneToJSONTyped(json, false);
86
+ export function ScreenerQuestionChooseOneToJSON(json: any): ScreenerQuestionChooseOne {
87
+ return ScreenerQuestionChooseOneToJSONTyped(json, false);
88
88
  }
89
89
 
90
- export function ProjectScreenerQuestionChooseOneToJSONTyped(value?: ProjectScreenerQuestionChooseOne | null, ignoreDiscriminator: boolean = false): any {
90
+ export function ScreenerQuestionChooseOneToJSONTyped(value?: ScreenerQuestionChooseOne | null, ignoreDiscriminator: boolean = false): any {
91
91
  if (value == null) {
92
92
  return value;
93
93
  }
@@ -0,0 +1,94 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Fastify Template API
5
+ * API documentation using Swagger
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ScreenerQuestionChooseOnePublic
20
+ */
21
+ export interface ScreenerQuestionChooseOnePublic {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ScreenerQuestionChooseOnePublic
26
+ */
27
+ type: ScreenerQuestionChooseOnePublicTypeEnum;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ScreenerQuestionChooseOnePublic
32
+ */
33
+ question: string;
34
+ /**
35
+ *
36
+ * @type {Array<string>}
37
+ * @memberof ScreenerQuestionChooseOnePublic
38
+ */
39
+ options: Array<string>;
40
+ }
41
+
42
+
43
+ /**
44
+ * @export
45
+ */
46
+ export const ScreenerQuestionChooseOnePublicTypeEnum = {
47
+ ChooseOne: 'chooseOne'
48
+ } as const;
49
+ export type ScreenerQuestionChooseOnePublicTypeEnum = typeof ScreenerQuestionChooseOnePublicTypeEnum[keyof typeof ScreenerQuestionChooseOnePublicTypeEnum];
50
+
51
+
52
+ /**
53
+ * Check if a given object implements the ScreenerQuestionChooseOnePublic interface.
54
+ */
55
+ export function instanceOfScreenerQuestionChooseOnePublic(value: object): value is ScreenerQuestionChooseOnePublic {
56
+ if (!('type' in value) || value['type'] === undefined) return false;
57
+ if (!('question' in value) || value['question'] === undefined) return false;
58
+ if (!('options' in value) || value['options'] === undefined) return false;
59
+ return true;
60
+ }
61
+
62
+ export function ScreenerQuestionChooseOnePublicFromJSON(json: any): ScreenerQuestionChooseOnePublic {
63
+ return ScreenerQuestionChooseOnePublicFromJSONTyped(json, false);
64
+ }
65
+
66
+ export function ScreenerQuestionChooseOnePublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseOnePublic {
67
+ if (json == null) {
68
+ return json;
69
+ }
70
+ return {
71
+
72
+ 'type': json['type'],
73
+ 'question': json['question'],
74
+ 'options': json['options'],
75
+ };
76
+ }
77
+
78
+ export function ScreenerQuestionChooseOnePublicToJSON(json: any): ScreenerQuestionChooseOnePublic {
79
+ return ScreenerQuestionChooseOnePublicToJSONTyped(json, false);
80
+ }
81
+
82
+ export function ScreenerQuestionChooseOnePublicToJSONTyped(value?: ScreenerQuestionChooseOnePublic | null, ignoreDiscriminator: boolean = false): any {
83
+ if (value == null) {
84
+ return value;
85
+ }
86
+
87
+ return {
88
+
89
+ 'type': value['type'],
90
+ 'question': value['question'],
91
+ 'options': value['options'],
92
+ };
93
+ }
94
+
@@ -16,44 +16,44 @@ import { mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
19
- * @interface ProjectScreenerQuestionResponse
19
+ * @interface ScreenerQuestionResponse
20
20
  */
21
- export interface ProjectScreenerQuestionResponse {
21
+ export interface ScreenerQuestionResponse {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof ProjectScreenerQuestionResponse
25
+ * @memberof ScreenerQuestionResponse
26
26
  */
27
27
  question: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof ProjectScreenerQuestionResponse
31
+ * @memberof ScreenerQuestionResponse
32
32
  */
33
33
  response: string;
34
34
  /**
35
35
  *
36
36
  * @type {boolean}
37
- * @memberof ProjectScreenerQuestionResponse
37
+ * @memberof ScreenerQuestionResponse
38
38
  */
39
39
  passing: boolean;
40
40
  }
41
41
 
42
42
  /**
43
- * Check if a given object implements the ProjectScreenerQuestionResponse interface.
43
+ * Check if a given object implements the ScreenerQuestionResponse interface.
44
44
  */
45
- export function instanceOfProjectScreenerQuestionResponse(value: object): value is ProjectScreenerQuestionResponse {
45
+ export function instanceOfScreenerQuestionResponse(value: object): value is ScreenerQuestionResponse {
46
46
  if (!('question' in value) || value['question'] === undefined) return false;
47
47
  if (!('response' in value) || value['response'] === undefined) return false;
48
48
  if (!('passing' in value) || value['passing'] === undefined) return false;
49
49
  return true;
50
50
  }
51
51
 
52
- export function ProjectScreenerQuestionResponseFromJSON(json: any): ProjectScreenerQuestionResponse {
53
- return ProjectScreenerQuestionResponseFromJSONTyped(json, false);
52
+ export function ScreenerQuestionResponseFromJSON(json: any): ScreenerQuestionResponse {
53
+ return ScreenerQuestionResponseFromJSONTyped(json, false);
54
54
  }
55
55
 
56
- export function ProjectScreenerQuestionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectScreenerQuestionResponse {
56
+ export function ScreenerQuestionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionResponse {
57
57
  if (json == null) {
58
58
  return json;
59
59
  }
@@ -65,11 +65,11 @@ export function ProjectScreenerQuestionResponseFromJSONTyped(json: any, ignoreDi
65
65
  };
66
66
  }
67
67
 
68
- export function ProjectScreenerQuestionResponseToJSON(json: any): ProjectScreenerQuestionResponse {
69
- return ProjectScreenerQuestionResponseToJSONTyped(json, false);
68
+ export function ScreenerQuestionResponseToJSON(json: any): ScreenerQuestionResponse {
69
+ return ScreenerQuestionResponseToJSONTyped(json, false);
70
70
  }
71
71
 
72
- export function ProjectScreenerQuestionResponseToJSONTyped(value?: ProjectScreenerQuestionResponse | null, ignoreDiscriminator: boolean = false): any {
72
+ export function ScreenerQuestionResponseToJSONTyped(value?: ScreenerQuestionResponse | null, ignoreDiscriminator: boolean = false): any {
73
73
  if (value == null) {
74
74
  return value;
75
75
  }
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Fastify Template API
5
+ * API documentation using Swagger
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface StartPhoneCallForCodeInviteResponseRequest
20
+ */
21
+ export interface StartPhoneCallForCodeInviteResponseRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof StartPhoneCallForCodeInviteResponseRequest
26
+ */
27
+ phoneNumber: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the StartPhoneCallForCodeInviteResponseRequest interface.
32
+ */
33
+ export function instanceOfStartPhoneCallForCodeInviteResponseRequest(value: object): value is StartPhoneCallForCodeInviteResponseRequest {
34
+ if (!('phoneNumber' in value) || value['phoneNumber'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function StartPhoneCallForCodeInviteResponseRequestFromJSON(json: any): StartPhoneCallForCodeInviteResponseRequest {
39
+ return StartPhoneCallForCodeInviteResponseRequestFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function StartPhoneCallForCodeInviteResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StartPhoneCallForCodeInviteResponseRequest {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'phoneNumber': json['phoneNumber'],
49
+ };
50
+ }
51
+
52
+ export function StartPhoneCallForCodeInviteResponseRequestToJSON(json: any): StartPhoneCallForCodeInviteResponseRequest {
53
+ return StartPhoneCallForCodeInviteResponseRequestToJSONTyped(json, false);
54
+ }
55
+
56
+ export function StartPhoneCallForCodeInviteResponseRequestToJSONTyped(value?: StartPhoneCallForCodeInviteResponseRequest | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'phoneNumber': value['phoneNumber'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,83 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Fastify Template API
5
+ * API documentation using Swagger
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { UpdateCallForCodeInviteResponseRequestCall } from './UpdateCallForCodeInviteResponseRequestCall';
17
+ import {
18
+ UpdateCallForCodeInviteResponseRequestCallFromJSON,
19
+ UpdateCallForCodeInviteResponseRequestCallFromJSONTyped,
20
+ UpdateCallForCodeInviteResponseRequestCallToJSON,
21
+ UpdateCallForCodeInviteResponseRequestCallToJSONTyped,
22
+ } from './UpdateCallForCodeInviteResponseRequestCall';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface UpdateCallForCodeInviteResponseRequest
28
+ */
29
+ export interface UpdateCallForCodeInviteResponseRequest {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof UpdateCallForCodeInviteResponseRequest
34
+ */
35
+ callId: string;
36
+ /**
37
+ *
38
+ * @type {UpdateCallForCodeInviteResponseRequestCall}
39
+ * @memberof UpdateCallForCodeInviteResponseRequest
40
+ */
41
+ call: UpdateCallForCodeInviteResponseRequestCall;
42
+ }
43
+
44
+ /**
45
+ * Check if a given object implements the UpdateCallForCodeInviteResponseRequest interface.
46
+ */
47
+ export function instanceOfUpdateCallForCodeInviteResponseRequest(value: object): value is UpdateCallForCodeInviteResponseRequest {
48
+ if (!('callId' in value) || value['callId'] === undefined) return false;
49
+ if (!('call' in value) || value['call'] === undefined) return false;
50
+ return true;
51
+ }
52
+
53
+ export function UpdateCallForCodeInviteResponseRequestFromJSON(json: any): UpdateCallForCodeInviteResponseRequest {
54
+ return UpdateCallForCodeInviteResponseRequestFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function UpdateCallForCodeInviteResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateCallForCodeInviteResponseRequest {
58
+ if (json == null) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'callId': json['callId'],
64
+ 'call': UpdateCallForCodeInviteResponseRequestCallFromJSON(json['call']),
65
+ };
66
+ }
67
+
68
+ export function UpdateCallForCodeInviteResponseRequestToJSON(json: any): UpdateCallForCodeInviteResponseRequest {
69
+ return UpdateCallForCodeInviteResponseRequestToJSONTyped(json, false);
70
+ }
71
+
72
+ export function UpdateCallForCodeInviteResponseRequestToJSONTyped(value?: UpdateCallForCodeInviteResponseRequest | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'callId': value['callId'],
80
+ 'call': UpdateCallForCodeInviteResponseRequestCallToJSON(value['call']),
81
+ };
82
+ }
83
+
@@ -0,0 +1,85 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Fastify Template API
5
+ * API documentation using Swagger
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { CallStatus } from './CallStatus';
17
+ import {
18
+ CallStatusFromJSON,
19
+ CallStatusFromJSONTyped,
20
+ CallStatusToJSON,
21
+ CallStatusToJSONTyped,
22
+ } from './CallStatus';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface UpdateCallForCodeInviteResponseRequestCall
28
+ */
29
+ export interface UpdateCallForCodeInviteResponseRequestCall {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof UpdateCallForCodeInviteResponseRequestCall
34
+ */
35
+ vendorCallId: string;
36
+ /**
37
+ *
38
+ * @type {CallStatus}
39
+ * @memberof UpdateCallForCodeInviteResponseRequestCall
40
+ */
41
+ status: CallStatus | null;
42
+ }
43
+
44
+
45
+
46
+ /**
47
+ * Check if a given object implements the UpdateCallForCodeInviteResponseRequestCall interface.
48
+ */
49
+ export function instanceOfUpdateCallForCodeInviteResponseRequestCall(value: object): value is UpdateCallForCodeInviteResponseRequestCall {
50
+ if (!('vendorCallId' in value) || value['vendorCallId'] === undefined) return false;
51
+ if (!('status' in value) || value['status'] === undefined) return false;
52
+ return true;
53
+ }
54
+
55
+ export function UpdateCallForCodeInviteResponseRequestCallFromJSON(json: any): UpdateCallForCodeInviteResponseRequestCall {
56
+ return UpdateCallForCodeInviteResponseRequestCallFromJSONTyped(json, false);
57
+ }
58
+
59
+ export function UpdateCallForCodeInviteResponseRequestCallFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateCallForCodeInviteResponseRequestCall {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+
65
+ 'vendorCallId': json['vendorCallId'],
66
+ 'status': CallStatusFromJSON(json['status']),
67
+ };
68
+ }
69
+
70
+ export function UpdateCallForCodeInviteResponseRequestCallToJSON(json: any): UpdateCallForCodeInviteResponseRequestCall {
71
+ return UpdateCallForCodeInviteResponseRequestCallToJSONTyped(json, false);
72
+ }
73
+
74
+ export function UpdateCallForCodeInviteResponseRequestCallToJSONTyped(value?: UpdateCallForCodeInviteResponseRequestCall | null, ignoreDiscriminator: boolean = false): any {
75
+ if (value == null) {
76
+ return value;
77
+ }
78
+
79
+ return {
80
+
81
+ 'vendorCallId': value['vendorCallId'],
82
+ 'status': CallStatusToJSON(value['status']),
83
+ };
84
+ }
85
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Fastify Template API
5
+ * API documentation using Swagger
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface UpdateCodeInviteResponse404Response
20
+ */
21
+ export interface UpdateCodeInviteResponse404Response {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof UpdateCodeInviteResponse404Response
26
+ */
27
+ error: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the UpdateCodeInviteResponse404Response interface.
32
+ */
33
+ export function instanceOfUpdateCodeInviteResponse404Response(value: object): value is UpdateCodeInviteResponse404Response {
34
+ if (!('error' in value) || value['error'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function UpdateCodeInviteResponse404ResponseFromJSON(json: any): UpdateCodeInviteResponse404Response {
39
+ return UpdateCodeInviteResponse404ResponseFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function UpdateCodeInviteResponse404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateCodeInviteResponse404Response {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'error': json['error'],
49
+ };
50
+ }
51
+
52
+ export function UpdateCodeInviteResponse404ResponseToJSON(json: any): UpdateCodeInviteResponse404Response {
53
+ return UpdateCodeInviteResponse404ResponseToJSONTyped(json, false);
54
+ }
55
+
56
+ export function UpdateCodeInviteResponse404ResponseToJSONTyped(value?: UpdateCodeInviteResponse404Response | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'error': value['error'],
64
+ };
65
+ }
66
+