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
@@ -0,0 +1,72 @@
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.InviteConfigContactsKindEnum = void 0;
17
+ exports.instanceOfInviteConfigContacts = instanceOfInviteConfigContacts;
18
+ exports.InviteConfigContactsFromJSON = InviteConfigContactsFromJSON;
19
+ exports.InviteConfigContactsFromJSONTyped = InviteConfigContactsFromJSONTyped;
20
+ exports.InviteConfigContactsToJSON = InviteConfigContactsToJSON;
21
+ exports.InviteConfigContactsToJSONTyped = InviteConfigContactsToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.InviteConfigContactsKindEnum = {
26
+ Contacts: 'CONTACTS'
27
+ };
28
+ /**
29
+ * Check if a given object implements the InviteConfigContacts interface.
30
+ */
31
+ function instanceOfInviteConfigContacts(value) {
32
+ if (!('kind' in value) || value['kind'] === undefined)
33
+ return false;
34
+ if (!('title' in value) || value['title'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ function InviteConfigContactsFromJSON(json) {
39
+ return InviteConfigContactsFromJSONTyped(json, false);
40
+ }
41
+ function InviteConfigContactsFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'kind': json['kind'],
47
+ 'isTest': json['isTest'] == null ? undefined : json['isTest'],
48
+ 'showCallMetadata': json['showCallMetadata'] == null ? undefined : json['showCallMetadata'],
49
+ 'title': json['title'],
50
+ 'description': json['description'] == null ? undefined : json['description'],
51
+ 'maxResponses': json['maxResponses'] == null ? undefined : json['maxResponses'],
52
+ 'maxResponsesPerParticipant': json['maxResponsesPerParticipant'] == null ? undefined : json['maxResponsesPerParticipant'],
53
+ };
54
+ }
55
+ function InviteConfigContactsToJSON(json) {
56
+ return InviteConfigContactsToJSONTyped(json, false);
57
+ }
58
+ function InviteConfigContactsToJSONTyped(value, ignoreDiscriminator) {
59
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'kind': value['kind'],
65
+ 'isTest': value['isTest'],
66
+ 'showCallMetadata': value['showCallMetadata'],
67
+ 'title': value['title'],
68
+ 'description': value['description'],
69
+ 'maxResponses': value['maxResponses'],
70
+ 'maxResponsesPerParticipant': value['maxResponsesPerParticipant'],
71
+ };
72
+ }
@@ -0,0 +1,95 @@
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 { RepdataSurvey } from './RepdataSurvey';
13
+ import type { PanelSettings } from './PanelSettings';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface InviteConfigKeplarPanel
18
+ */
19
+ export interface InviteConfigKeplarPanel {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof InviteConfigKeplarPanel
24
+ */
25
+ kind: InviteConfigKeplarPanelKindEnum;
26
+ /**
27
+ *
28
+ * @type {Array<string>}
29
+ * @memberof InviteConfigKeplarPanel
30
+ */
31
+ allowedOrigins?: Array<string>;
32
+ /**
33
+ *
34
+ * @type {boolean}
35
+ * @memberof InviteConfigKeplarPanel
36
+ */
37
+ collectEmail?: boolean;
38
+ /**
39
+ *
40
+ * @type {boolean}
41
+ * @memberof InviteConfigKeplarPanel
42
+ */
43
+ requireEmail?: boolean;
44
+ /**
45
+ *
46
+ * @type {PanelSettings}
47
+ * @memberof InviteConfigKeplarPanel
48
+ */
49
+ panelSettings: PanelSettings;
50
+ /**
51
+ *
52
+ * @type {RepdataSurvey}
53
+ * @memberof InviteConfigKeplarPanel
54
+ */
55
+ repDataSurvey?: RepdataSurvey;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof InviteConfigKeplarPanel
60
+ */
61
+ title: string;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof InviteConfigKeplarPanel
66
+ */
67
+ description?: string;
68
+ /**
69
+ *
70
+ * @type {number}
71
+ * @memberof InviteConfigKeplarPanel
72
+ */
73
+ maxResponses?: number;
74
+ /**
75
+ *
76
+ * @type {number}
77
+ * @memberof InviteConfigKeplarPanel
78
+ */
79
+ maxResponsesPerParticipant?: number;
80
+ }
81
+ /**
82
+ * @export
83
+ */
84
+ export declare const InviteConfigKeplarPanelKindEnum: {
85
+ readonly KeplarPanel: "KEPLAR_PANEL";
86
+ };
87
+ export type InviteConfigKeplarPanelKindEnum = typeof InviteConfigKeplarPanelKindEnum[keyof typeof InviteConfigKeplarPanelKindEnum];
88
+ /**
89
+ * Check if a given object implements the InviteConfigKeplarPanel interface.
90
+ */
91
+ export declare function instanceOfInviteConfigKeplarPanel(value: object): value is InviteConfigKeplarPanel;
92
+ export declare function InviteConfigKeplarPanelFromJSON(json: any): InviteConfigKeplarPanel;
93
+ export declare function InviteConfigKeplarPanelFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteConfigKeplarPanel;
94
+ export declare function InviteConfigKeplarPanelToJSON(json: any): InviteConfigKeplarPanel;
95
+ export declare function InviteConfigKeplarPanelToJSONTyped(value?: InviteConfigKeplarPanel | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,82 @@
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.InviteConfigKeplarPanelKindEnum = void 0;
17
+ exports.instanceOfInviteConfigKeplarPanel = instanceOfInviteConfigKeplarPanel;
18
+ exports.InviteConfigKeplarPanelFromJSON = InviteConfigKeplarPanelFromJSON;
19
+ exports.InviteConfigKeplarPanelFromJSONTyped = InviteConfigKeplarPanelFromJSONTyped;
20
+ exports.InviteConfigKeplarPanelToJSON = InviteConfigKeplarPanelToJSON;
21
+ exports.InviteConfigKeplarPanelToJSONTyped = InviteConfigKeplarPanelToJSONTyped;
22
+ var RepdataSurvey_1 = require("./RepdataSurvey");
23
+ var PanelSettings_1 = require("./PanelSettings");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.InviteConfigKeplarPanelKindEnum = {
28
+ KeplarPanel: 'KEPLAR_PANEL'
29
+ };
30
+ /**
31
+ * Check if a given object implements the InviteConfigKeplarPanel interface.
32
+ */
33
+ function instanceOfInviteConfigKeplarPanel(value) {
34
+ if (!('kind' in value) || value['kind'] === undefined)
35
+ return false;
36
+ if (!('panelSettings' in value) || value['panelSettings'] === undefined)
37
+ return false;
38
+ if (!('title' in value) || value['title'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function InviteConfigKeplarPanelFromJSON(json) {
43
+ return InviteConfigKeplarPanelFromJSONTyped(json, false);
44
+ }
45
+ function InviteConfigKeplarPanelFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'kind': json['kind'],
51
+ 'allowedOrigins': json['allowedOrigins'] == null ? undefined : json['allowedOrigins'],
52
+ 'collectEmail': json['collectEmail'] == null ? undefined : json['collectEmail'],
53
+ 'requireEmail': json['requireEmail'] == null ? undefined : json['requireEmail'],
54
+ 'panelSettings': (0, PanelSettings_1.PanelSettingsFromJSON)(json['panelSettings']),
55
+ 'repDataSurvey': json['repDataSurvey'] == null ? undefined : (0, RepdataSurvey_1.RepdataSurveyFromJSON)(json['repDataSurvey']),
56
+ 'title': json['title'],
57
+ 'description': json['description'] == null ? undefined : json['description'],
58
+ 'maxResponses': json['maxResponses'] == null ? undefined : json['maxResponses'],
59
+ 'maxResponsesPerParticipant': json['maxResponsesPerParticipant'] == null ? undefined : json['maxResponsesPerParticipant'],
60
+ };
61
+ }
62
+ function InviteConfigKeplarPanelToJSON(json) {
63
+ return InviteConfigKeplarPanelToJSONTyped(json, false);
64
+ }
65
+ function InviteConfigKeplarPanelToJSONTyped(value, ignoreDiscriminator) {
66
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
67
+ if (value == null) {
68
+ return value;
69
+ }
70
+ return {
71
+ 'kind': value['kind'],
72
+ 'allowedOrigins': value['allowedOrigins'],
73
+ 'collectEmail': value['collectEmail'],
74
+ 'requireEmail': value['requireEmail'],
75
+ 'panelSettings': (0, PanelSettings_1.PanelSettingsToJSON)(value['panelSettings']),
76
+ 'repDataSurvey': (0, RepdataSurvey_1.RepdataSurveyToJSON)(value['repDataSurvey']),
77
+ 'title': value['title'],
78
+ 'description': value['description'],
79
+ 'maxResponses': value['maxResponses'],
80
+ 'maxResponsesPerParticipant': value['maxResponsesPerParticipant'],
81
+ };
82
+ }
@@ -0,0 +1,81 @@
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 InviteConfigPublic
16
+ */
17
+ export interface InviteConfigPublic {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof InviteConfigPublic
22
+ */
23
+ kind: InviteConfigPublicKindEnum;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof InviteConfigPublic
28
+ */
29
+ allowedOrigins?: Array<string>;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof InviteConfigPublic
34
+ */
35
+ collectEmail?: boolean;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof InviteConfigPublic
40
+ */
41
+ requireEmail?: boolean;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof InviteConfigPublic
46
+ */
47
+ title: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof InviteConfigPublic
52
+ */
53
+ description?: string;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof InviteConfigPublic
58
+ */
59
+ maxResponses?: number;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof InviteConfigPublic
64
+ */
65
+ maxResponsesPerParticipant?: number;
66
+ }
67
+ /**
68
+ * @export
69
+ */
70
+ export declare const InviteConfigPublicKindEnum: {
71
+ readonly Public: "PUBLIC";
72
+ };
73
+ export type InviteConfigPublicKindEnum = typeof InviteConfigPublicKindEnum[keyof typeof InviteConfigPublicKindEnum];
74
+ /**
75
+ * Check if a given object implements the InviteConfigPublic interface.
76
+ */
77
+ export declare function instanceOfInviteConfigPublic(value: object): value is InviteConfigPublic;
78
+ export declare function InviteConfigPublicFromJSON(json: any): InviteConfigPublic;
79
+ export declare function InviteConfigPublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteConfigPublic;
80
+ export declare function InviteConfigPublicToJSON(json: any): InviteConfigPublic;
81
+ export declare function InviteConfigPublicToJSONTyped(value?: InviteConfigPublic | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,74 @@
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.InviteConfigPublicKindEnum = void 0;
17
+ exports.instanceOfInviteConfigPublic = instanceOfInviteConfigPublic;
18
+ exports.InviteConfigPublicFromJSON = InviteConfigPublicFromJSON;
19
+ exports.InviteConfigPublicFromJSONTyped = InviteConfigPublicFromJSONTyped;
20
+ exports.InviteConfigPublicToJSON = InviteConfigPublicToJSON;
21
+ exports.InviteConfigPublicToJSONTyped = InviteConfigPublicToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.InviteConfigPublicKindEnum = {
26
+ Public: 'PUBLIC'
27
+ };
28
+ /**
29
+ * Check if a given object implements the InviteConfigPublic interface.
30
+ */
31
+ function instanceOfInviteConfigPublic(value) {
32
+ if (!('kind' in value) || value['kind'] === undefined)
33
+ return false;
34
+ if (!('title' in value) || value['title'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ function InviteConfigPublicFromJSON(json) {
39
+ return InviteConfigPublicFromJSONTyped(json, false);
40
+ }
41
+ function InviteConfigPublicFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'kind': json['kind'],
47
+ 'allowedOrigins': json['allowedOrigins'] == null ? undefined : json['allowedOrigins'],
48
+ 'collectEmail': json['collectEmail'] == null ? undefined : json['collectEmail'],
49
+ 'requireEmail': json['requireEmail'] == null ? undefined : json['requireEmail'],
50
+ 'title': json['title'],
51
+ 'description': json['description'] == null ? undefined : json['description'],
52
+ 'maxResponses': json['maxResponses'] == null ? undefined : json['maxResponses'],
53
+ 'maxResponsesPerParticipant': json['maxResponsesPerParticipant'] == null ? undefined : json['maxResponsesPerParticipant'],
54
+ };
55
+ }
56
+ function InviteConfigPublicToJSON(json) {
57
+ return InviteConfigPublicToJSONTyped(json, false);
58
+ }
59
+ function InviteConfigPublicToJSONTyped(value, ignoreDiscriminator) {
60
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'kind': value['kind'],
66
+ 'allowedOrigins': value['allowedOrigins'],
67
+ 'collectEmail': value['collectEmail'],
68
+ 'requireEmail': value['requireEmail'],
69
+ 'title': value['title'],
70
+ 'description': value['description'],
71
+ 'maxResponses': value['maxResponses'],
72
+ 'maxResponsesPerParticipant': value['maxResponsesPerParticipant'],
73
+ };
74
+ }
@@ -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 InviteResponseData {
24
24
  email?: string;
25
25
  /**
26
26
  *
27
- * @type {Array<ProjectScreenerQuestionResponse>}
27
+ * @type {Array<ScreenerQuestionResponse>}
28
28
  * @memberof InviteResponseData
29
29
  */
30
- screenerQuestionsResponses?: Array<ProjectScreenerQuestionResponse>;
30
+ screenerQuestionsResponses?: Array<ScreenerQuestionResponse>;
31
31
  /**
32
32
  *
33
33
  * @type {boolean}
@@ -18,7 +18,7 @@ exports.InviteResponseDataFromJSON = InviteResponseDataFromJSON;
18
18
  exports.InviteResponseDataFromJSONTyped = InviteResponseDataFromJSONTyped;
19
19
  exports.InviteResponseDataToJSON = InviteResponseDataToJSON;
20
20
  exports.InviteResponseDataToJSONTyped = InviteResponseDataToJSONTyped;
21
- var ProjectScreenerQuestionResponse_1 = require("./ProjectScreenerQuestionResponse");
21
+ var ScreenerQuestionResponse_1 = require("./ScreenerQuestionResponse");
22
22
  /**
23
23
  * Check if a given object implements the InviteResponseData interface.
24
24
  */
@@ -34,7 +34,7 @@ function InviteResponseDataFromJSONTyped(json, ignoreDiscriminator) {
34
34
  }
35
35
  return {
36
36
  'email': json['email'] == null ? undefined : json['email'],
37
- 'screenerQuestionsResponses': json['screenerQuestionsResponses'] == null ? undefined : (json['screenerQuestionsResponses'].map(ProjectScreenerQuestionResponse_1.ProjectScreenerQuestionResponseFromJSON)),
37
+ 'screenerQuestionsResponses': json['screenerQuestionsResponses'] == null ? undefined : (json['screenerQuestionsResponses'].map(ScreenerQuestionResponse_1.ScreenerQuestionResponseFromJSON)),
38
38
  'consented': json['consented'] == null ? undefined : json['consented'],
39
39
  'redirected': json['redirected'] == null ? undefined : json['redirected'],
40
40
  };
@@ -49,7 +49,7 @@ function InviteResponseDataToJSONTyped(value, ignoreDiscriminator) {
49
49
  }
50
50
  return {
51
51
  'email': value['email'],
52
- 'screenerQuestionsResponses': value['screenerQuestionsResponses'] == null ? undefined : (value['screenerQuestionsResponses'].map(ProjectScreenerQuestionResponse_1.ProjectScreenerQuestionResponseToJSON)),
52
+ 'screenerQuestionsResponses': value['screenerQuestionsResponses'] == null ? undefined : (value['screenerQuestionsResponses'].map(ScreenerQuestionResponse_1.ScreenerQuestionResponseToJSON)),
53
53
  'consented': value['consented'],
54
54
  'redirected': value['redirected'],
55
55
  };
@@ -0,0 +1,118 @@
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 { InviteResponseAttribute } from './InviteResponseAttribute';
13
+ import type { CallSummary } from './CallSummary';
14
+ import type { Participant } from './Participant';
15
+ import type { InviteResponseStatus } from './InviteResponseStatus';
16
+ import type { InviteResponseData } from './InviteResponseData';
17
+ import type { InviteResponseKind } from './InviteResponseKind';
18
+ import type { InviteResponseMetadata } from './InviteResponseMetadata';
19
+ import type { Invite } from './Invite';
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface InviteResponseWithCallSummary
24
+ */
25
+ export interface InviteResponseWithCallSummary {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof InviteResponseWithCallSummary
30
+ */
31
+ id: string;
32
+ /**
33
+ *
34
+ * @type {InviteResponseKind}
35
+ * @memberof InviteResponseWithCallSummary
36
+ */
37
+ kind: InviteResponseKind;
38
+ /**
39
+ *
40
+ * @type {InviteResponseStatus}
41
+ * @memberof InviteResponseWithCallSummary
42
+ */
43
+ status: InviteResponseStatus;
44
+ /**
45
+ *
46
+ * @type {InviteResponseData}
47
+ * @memberof InviteResponseWithCallSummary
48
+ */
49
+ data?: InviteResponseData | null;
50
+ /**
51
+ *
52
+ * @type {InviteResponseMetadata}
53
+ * @memberof InviteResponseWithCallSummary
54
+ */
55
+ metadata?: InviteResponseMetadata | null;
56
+ /**
57
+ *
58
+ * @type {Date}
59
+ * @memberof InviteResponseWithCallSummary
60
+ */
61
+ createdAt: Date;
62
+ /**
63
+ *
64
+ * @type {Date}
65
+ * @memberof InviteResponseWithCallSummary
66
+ */
67
+ updatedAt: Date;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof InviteResponseWithCallSummary
72
+ */
73
+ inviteId: string;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof InviteResponseWithCallSummary
78
+ */
79
+ vendorParticipantId?: string | null;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof InviteResponseWithCallSummary
84
+ */
85
+ participantId?: string | null;
86
+ /**
87
+ *
88
+ * @type {Invite}
89
+ * @memberof InviteResponseWithCallSummary
90
+ */
91
+ invite?: Invite;
92
+ /**
93
+ *
94
+ * @type {Participant}
95
+ * @memberof InviteResponseWithCallSummary
96
+ */
97
+ participant?: Participant | null;
98
+ /**
99
+ *
100
+ * @type {Array<CallSummary>}
101
+ * @memberof InviteResponseWithCallSummary
102
+ */
103
+ calls: Array<CallSummary>;
104
+ /**
105
+ *
106
+ * @type {Array<InviteResponseAttribute>}
107
+ * @memberof InviteResponseWithCallSummary
108
+ */
109
+ inviteResponseAttributes?: Array<InviteResponseAttribute>;
110
+ }
111
+ /**
112
+ * Check if a given object implements the InviteResponseWithCallSummary interface.
113
+ */
114
+ export declare function instanceOfInviteResponseWithCallSummary(value: object): value is InviteResponseWithCallSummary;
115
+ export declare function InviteResponseWithCallSummaryFromJSON(json: any): InviteResponseWithCallSummary;
116
+ export declare function InviteResponseWithCallSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteResponseWithCallSummary;
117
+ export declare function InviteResponseWithCallSummaryToJSON(json: any): InviteResponseWithCallSummary;
118
+ export declare function InviteResponseWithCallSummaryToJSONTyped(value?: InviteResponseWithCallSummary | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,97 @@
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.instanceOfInviteResponseWithCallSummary = instanceOfInviteResponseWithCallSummary;
17
+ exports.InviteResponseWithCallSummaryFromJSON = InviteResponseWithCallSummaryFromJSON;
18
+ exports.InviteResponseWithCallSummaryFromJSONTyped = InviteResponseWithCallSummaryFromJSONTyped;
19
+ exports.InviteResponseWithCallSummaryToJSON = InviteResponseWithCallSummaryToJSON;
20
+ exports.InviteResponseWithCallSummaryToJSONTyped = InviteResponseWithCallSummaryToJSONTyped;
21
+ var InviteResponseAttribute_1 = require("./InviteResponseAttribute");
22
+ var CallSummary_1 = require("./CallSummary");
23
+ var Participant_1 = require("./Participant");
24
+ var InviteResponseStatus_1 = require("./InviteResponseStatus");
25
+ var InviteResponseData_1 = require("./InviteResponseData");
26
+ var InviteResponseKind_1 = require("./InviteResponseKind");
27
+ var InviteResponseMetadata_1 = require("./InviteResponseMetadata");
28
+ var Invite_1 = require("./Invite");
29
+ /**
30
+ * Check if a given object implements the InviteResponseWithCallSummary interface.
31
+ */
32
+ function instanceOfInviteResponseWithCallSummary(value) {
33
+ if (!('id' in value) || value['id'] === undefined)
34
+ return false;
35
+ if (!('kind' in value) || value['kind'] === undefined)
36
+ return false;
37
+ if (!('status' in value) || value['status'] === undefined)
38
+ return false;
39
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
40
+ return false;
41
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
42
+ return false;
43
+ if (!('inviteId' in value) || value['inviteId'] === undefined)
44
+ return false;
45
+ if (!('calls' in value) || value['calls'] === undefined)
46
+ return false;
47
+ return true;
48
+ }
49
+ function InviteResponseWithCallSummaryFromJSON(json) {
50
+ return InviteResponseWithCallSummaryFromJSONTyped(json, false);
51
+ }
52
+ function InviteResponseWithCallSummaryFromJSONTyped(json, ignoreDiscriminator) {
53
+ if (json == null) {
54
+ return json;
55
+ }
56
+ return {
57
+ 'id': json['id'],
58
+ 'kind': (0, InviteResponseKind_1.InviteResponseKindFromJSON)(json['kind']),
59
+ 'status': (0, InviteResponseStatus_1.InviteResponseStatusFromJSON)(json['status']),
60
+ 'data': json['data'] == null ? undefined : (0, InviteResponseData_1.InviteResponseDataFromJSON)(json['data']),
61
+ 'metadata': json['metadata'] == null ? undefined : (0, InviteResponseMetadata_1.InviteResponseMetadataFromJSON)(json['metadata']),
62
+ 'createdAt': (new Date(json['createdAt'])),
63
+ 'updatedAt': (new Date(json['updatedAt'])),
64
+ 'inviteId': json['inviteId'],
65
+ 'vendorParticipantId': json['vendorParticipantId'] == null ? undefined : json['vendorParticipantId'],
66
+ 'participantId': json['participantId'] == null ? undefined : json['participantId'],
67
+ 'invite': json['invite'] == null ? undefined : (0, Invite_1.InviteFromJSON)(json['invite']),
68
+ 'participant': json['participant'] == null ? undefined : (0, Participant_1.ParticipantFromJSON)(json['participant']),
69
+ 'calls': (json['calls'].map(CallSummary_1.CallSummaryFromJSON)),
70
+ 'inviteResponseAttributes': json['inviteResponseAttributes'] == null ? undefined : (json['inviteResponseAttributes'].map(InviteResponseAttribute_1.InviteResponseAttributeFromJSON)),
71
+ };
72
+ }
73
+ function InviteResponseWithCallSummaryToJSON(json) {
74
+ return InviteResponseWithCallSummaryToJSONTyped(json, false);
75
+ }
76
+ function InviteResponseWithCallSummaryToJSONTyped(value, ignoreDiscriminator) {
77
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
78
+ if (value == null) {
79
+ return value;
80
+ }
81
+ return {
82
+ 'id': value['id'],
83
+ 'kind': (0, InviteResponseKind_1.InviteResponseKindToJSON)(value['kind']),
84
+ 'status': (0, InviteResponseStatus_1.InviteResponseStatusToJSON)(value['status']),
85
+ 'data': (0, InviteResponseData_1.InviteResponseDataToJSON)(value['data']),
86
+ 'metadata': (0, InviteResponseMetadata_1.InviteResponseMetadataToJSON)(value['metadata']),
87
+ 'createdAt': ((value['createdAt']).toISOString()),
88
+ 'updatedAt': ((value['updatedAt']).toISOString()),
89
+ 'inviteId': value['inviteId'],
90
+ 'vendorParticipantId': value['vendorParticipantId'],
91
+ 'participantId': value['participantId'],
92
+ 'invite': (0, Invite_1.InviteToJSON)(value['invite']),
93
+ 'participant': (0, Participant_1.ParticipantToJSON)(value['participant']),
94
+ 'calls': (value['calls'].map(CallSummary_1.CallSummaryToJSON)),
95
+ 'inviteResponseAttributes': value['inviteResponseAttributes'] == null ? undefined : (value['inviteResponseAttributes'].map(InviteResponseAttribute_1.InviteResponseAttributeToJSON)),
96
+ };
97
+ }