keplar-api 0.0.17 → 0.0.19

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 (147) hide show
  1. package/.openapi-generator/FILES +9 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +2 -2
  4. package/dist/models/ApiFilesFileIdSignedUrlPost200Response.js +1 -1
  5. package/dist/models/ApiInvitesIdPutRequest.js +2 -3
  6. package/dist/models/ApiInvitesPostRequest.js +1 -1
  7. package/dist/models/Artifact.js +2 -2
  8. package/dist/models/Attribute.js +1 -1
  9. package/dist/models/AttributeKind.js +2 -2
  10. package/dist/models/AttributeKindGroup.js +2 -2
  11. package/dist/models/ByoPanelRepdataConfig.d.ts +46 -0
  12. package/dist/models/ByoPanelRepdataConfig.js +63 -0
  13. package/dist/models/Call.js +4 -5
  14. package/dist/models/CallEvent.js +1 -1
  15. package/dist/models/ChatMessage.js +2 -2
  16. package/dist/models/ChatSession.js +2 -2
  17. package/dist/models/CodeInvite.js +1 -2
  18. package/dist/models/CodeInviteConfig.d.ts +3 -0
  19. package/dist/models/CodeInviteConfig.js +5 -0
  20. package/dist/models/CodeInviteResponse.js +2 -2
  21. package/dist/models/ConversationMessage.js +2 -2
  22. package/dist/models/CreateEmailShareRequest.js +1 -1
  23. package/dist/models/CreateProjectShareRequest.js +1 -1
  24. package/dist/models/EmailShare.js +3 -4
  25. package/dist/models/GetCodeInvite200Response.js +1 -2
  26. package/dist/models/Invite.js +4 -5
  27. package/dist/models/InviteConfig.d.ts +3 -0
  28. package/dist/models/InviteConfig.js +5 -0
  29. package/dist/models/InviteConfigByoPanel.d.ts +70 -0
  30. package/dist/models/InviteConfigByoPanel.js +73 -0
  31. package/dist/models/InviteResponse.js +2 -2
  32. package/dist/models/InviteResponseAttribute.js +1 -1
  33. package/dist/models/InviteResponseWithCallSummary.js +2 -2
  34. package/dist/models/InviteWithAnalytics.js +4 -5
  35. package/dist/models/JoinCodeInvite302Response.js +1 -2
  36. package/dist/models/JoinCodeInvite302ResponseSettings.d.ts +3 -3
  37. package/dist/models/JoinCodeInvite302ResponseSettings.js +3 -3
  38. package/dist/models/Login200Response.js +4 -4
  39. package/dist/models/ModelFile.js +4 -5
  40. package/dist/models/Moderator.js +2 -2
  41. package/dist/models/OptionKind.d.ts +26 -0
  42. package/dist/models/OptionKind.js +52 -0
  43. package/dist/models/Org.js +2 -2
  44. package/dist/models/Participant.js +2 -2
  45. package/dist/models/ParticipantAttribute.js +2 -2
  46. package/dist/models/ParticipantInvite.js +2 -2
  47. package/dist/models/ParticipantInviteData.js +1 -1
  48. package/dist/models/PhoneCallStartResponse.js +1 -1
  49. package/dist/models/Project.js +2 -2
  50. package/dist/models/ProjectConfig.d.ts +3 -3
  51. package/dist/models/ProjectConfig.js +3 -3
  52. package/dist/models/ProjectFile.js +2 -2
  53. package/dist/models/ProjectFilePublicFile.js +1 -2
  54. package/dist/models/ProjectSummaryWithAnalytics.js +2 -2
  55. package/dist/models/ProjectWithAnalytics.js +2 -2
  56. package/dist/models/ScreenerQuestion.d.ts +27 -0
  57. package/dist/models/ScreenerQuestion.js +54 -0
  58. package/dist/models/ScreenerQuestionChooseMultiple.d.ts +78 -0
  59. package/dist/models/ScreenerQuestionChooseMultiple.js +82 -0
  60. package/dist/models/ScreenerQuestionChooseMultipleOptionsValue.d.ts +53 -0
  61. package/dist/models/ScreenerQuestionChooseMultipleOptionsValue.js +66 -0
  62. package/dist/models/ScreenerQuestionChooseMultiplePublic.d.ts +72 -0
  63. package/dist/models/ScreenerQuestionChooseMultiplePublic.js +78 -0
  64. package/dist/models/ScreenerQuestionOption.d.ts +53 -0
  65. package/dist/models/ScreenerQuestionOption.js +66 -0
  66. package/dist/models/ScreenerQuestionPublic.d.ts +23 -0
  67. package/dist/models/ScreenerQuestionPublic.js +58 -0
  68. package/dist/models/ScreenerQuestionResponse.d.ts +2 -8
  69. package/dist/models/ScreenerQuestionResponse.js +0 -4
  70. package/dist/models/SearchSharedResponseMessages200ResponseInner.js +1 -1
  71. package/dist/models/ShareEntity.js +2 -3
  72. package/dist/models/Thread.js +2 -2
  73. package/dist/models/ThreadFile.js +1 -1
  74. package/dist/models/TranscriptMessage.js +1 -1
  75. package/dist/models/TranscriptMessagesInner.js +1 -1
  76. package/dist/models/UpdateShareEntityRequest.js +1 -2
  77. package/dist/models/User.js +4 -5
  78. package/dist/models/UserWithConfig.js +4 -5
  79. package/dist/models/Workspace.js +2 -2
  80. package/dist/models/WorkspaceMember.js +2 -2
  81. package/dist/models/index.d.ts +9 -0
  82. package/dist/models/index.js +9 -0
  83. package/package.json +1 -1
  84. package/src/models/ApiFilesFileIdSignedUrlPost200Response.ts +1 -1
  85. package/src/models/ApiInvitesIdPutRequest.ts +2 -2
  86. package/src/models/ApiInvitesPostRequest.ts +1 -1
  87. package/src/models/Artifact.ts +2 -2
  88. package/src/models/Attribute.ts +1 -1
  89. package/src/models/AttributeKind.ts +2 -2
  90. package/src/models/AttributeKindGroup.ts +2 -2
  91. package/src/models/ByoPanelRepdataConfig.ts +93 -0
  92. package/src/models/Call.ts +4 -4
  93. package/src/models/CallEvent.ts +1 -1
  94. package/src/models/ChatMessage.ts +2 -2
  95. package/src/models/ChatSession.ts +2 -2
  96. package/src/models/CodeInvite.ts +1 -1
  97. package/src/models/CodeInviteConfig.ts +12 -1
  98. package/src/models/CodeInviteResponse.ts +2 -2
  99. package/src/models/ConversationMessage.ts +2 -2
  100. package/src/models/CreateEmailShareRequest.ts +1 -1
  101. package/src/models/CreateProjectShareRequest.ts +1 -1
  102. package/src/models/EmailShare.ts +3 -3
  103. package/src/models/GetCodeInvite200Response.ts +1 -1
  104. package/src/models/Invite.ts +4 -4
  105. package/src/models/InviteConfig.ts +12 -1
  106. package/src/models/InviteConfigByoPanel.ts +126 -0
  107. package/src/models/InviteResponse.ts +2 -2
  108. package/src/models/InviteResponseAttribute.ts +1 -1
  109. package/src/models/InviteResponseWithCallSummary.ts +2 -2
  110. package/src/models/InviteWithAnalytics.ts +4 -4
  111. package/src/models/JoinCodeInvite302Response.ts +1 -1
  112. package/src/models/JoinCodeInvite302ResponseSettings.ts +11 -11
  113. package/src/models/Login200Response.ts +4 -4
  114. package/src/models/ModelFile.ts +4 -4
  115. package/src/models/Moderator.ts +2 -2
  116. package/src/models/OptionKind.ts +54 -0
  117. package/src/models/Org.ts +2 -2
  118. package/src/models/Participant.ts +2 -2
  119. package/src/models/ParticipantAttribute.ts +2 -2
  120. package/src/models/ParticipantInvite.ts +2 -2
  121. package/src/models/ParticipantInviteData.ts +1 -1
  122. package/src/models/PhoneCallStartResponse.ts +1 -1
  123. package/src/models/Project.ts +2 -2
  124. package/src/models/ProjectConfig.ts +11 -11
  125. package/src/models/ProjectFile.ts +2 -2
  126. package/src/models/ProjectFilePublicFile.ts +1 -1
  127. package/src/models/ProjectSummaryWithAnalytics.ts +2 -2
  128. package/src/models/ProjectWithAnalytics.ts +2 -2
  129. package/src/models/ScreenerQuestion.ts +72 -0
  130. package/src/models/ScreenerQuestionChooseMultiple.ts +137 -0
  131. package/src/models/ScreenerQuestionChooseMultipleOptionsValue.ts +95 -0
  132. package/src/models/ScreenerQuestionChooseMultiplePublic.ts +128 -0
  133. package/src/models/ScreenerQuestionOption.ts +95 -0
  134. package/src/models/ScreenerQuestionPublic.ts +76 -0
  135. package/src/models/ScreenerQuestionResponse.ts +2 -11
  136. package/src/models/SearchSharedResponseMessages200ResponseInner.ts +1 -1
  137. package/src/models/ShareEntity.ts +2 -2
  138. package/src/models/Thread.ts +2 -2
  139. package/src/models/ThreadFile.ts +1 -1
  140. package/src/models/TranscriptMessage.ts +1 -1
  141. package/src/models/TranscriptMessagesInner.ts +1 -1
  142. package/src/models/UpdateShareEntityRequest.ts +1 -1
  143. package/src/models/User.ts +4 -4
  144. package/src/models/UserWithConfig.ts +4 -4
  145. package/src/models/Workspace.ts +2 -2
  146. package/src/models/WorkspaceMember.ts +2 -2
  147. package/src/models/index.ts +9 -0
@@ -0,0 +1,78 @@
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 { ScreenerQuestionChooseMultipleOptionsValue } from './ScreenerQuestionChooseMultipleOptionsValue';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ScreenerQuestionChooseMultiple
17
+ */
18
+ export interface ScreenerQuestionChooseMultiple {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ScreenerQuestionChooseMultiple
23
+ */
24
+ type: ScreenerQuestionChooseMultipleTypeEnum;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ScreenerQuestionChooseMultiple
29
+ */
30
+ question: string;
31
+ /**
32
+ *
33
+ * @type {{ [key: string]: ScreenerQuestionChooseMultipleOptionsValue; }}
34
+ * @memberof ScreenerQuestionChooseMultiple
35
+ */
36
+ options: {
37
+ [key: string]: ScreenerQuestionChooseMultipleOptionsValue;
38
+ };
39
+ /**
40
+ *
41
+ * @type {number}
42
+ * @memberof ScreenerQuestionChooseMultiple
43
+ */
44
+ minPassingOptions: number;
45
+ /**
46
+ *
47
+ * @type {boolean}
48
+ * @memberof ScreenerQuestionChooseMultiple
49
+ */
50
+ randomizeOrder?: boolean;
51
+ /**
52
+ *
53
+ * @type {boolean}
54
+ * @memberof ScreenerQuestionChooseMultiple
55
+ */
56
+ showSelectAllOfAbove: boolean;
57
+ /**
58
+ *
59
+ * @type {boolean}
60
+ * @memberof ScreenerQuestionChooseMultiple
61
+ */
62
+ showSelectNoneOfAbove: boolean;
63
+ }
64
+ /**
65
+ * @export
66
+ */
67
+ export declare const ScreenerQuestionChooseMultipleTypeEnum: {
68
+ readonly ChooseMultiple: "chooseMultiple";
69
+ };
70
+ export type ScreenerQuestionChooseMultipleTypeEnum = typeof ScreenerQuestionChooseMultipleTypeEnum[keyof typeof ScreenerQuestionChooseMultipleTypeEnum];
71
+ /**
72
+ * Check if a given object implements the ScreenerQuestionChooseMultiple interface.
73
+ */
74
+ export declare function instanceOfScreenerQuestionChooseMultiple(value: object): value is ScreenerQuestionChooseMultiple;
75
+ export declare function ScreenerQuestionChooseMultipleFromJSON(json: any): ScreenerQuestionChooseMultiple;
76
+ export declare function ScreenerQuestionChooseMultipleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseMultiple;
77
+ export declare function ScreenerQuestionChooseMultipleToJSON(json: any): ScreenerQuestionChooseMultiple;
78
+ export declare function ScreenerQuestionChooseMultipleToJSONTyped(value?: ScreenerQuestionChooseMultiple | 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.ScreenerQuestionChooseMultipleTypeEnum = void 0;
17
+ exports.instanceOfScreenerQuestionChooseMultiple = instanceOfScreenerQuestionChooseMultiple;
18
+ exports.ScreenerQuestionChooseMultipleFromJSON = ScreenerQuestionChooseMultipleFromJSON;
19
+ exports.ScreenerQuestionChooseMultipleFromJSONTyped = ScreenerQuestionChooseMultipleFromJSONTyped;
20
+ exports.ScreenerQuestionChooseMultipleToJSON = ScreenerQuestionChooseMultipleToJSON;
21
+ exports.ScreenerQuestionChooseMultipleToJSONTyped = ScreenerQuestionChooseMultipleToJSONTyped;
22
+ var runtime_1 = require("../runtime");
23
+ var ScreenerQuestionChooseMultipleOptionsValue_1 = require("./ScreenerQuestionChooseMultipleOptionsValue");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.ScreenerQuestionChooseMultipleTypeEnum = {
28
+ ChooseMultiple: 'chooseMultiple'
29
+ };
30
+ /**
31
+ * Check if a given object implements the ScreenerQuestionChooseMultiple interface.
32
+ */
33
+ function instanceOfScreenerQuestionChooseMultiple(value) {
34
+ if (!('type' in value) || value['type'] === undefined)
35
+ return false;
36
+ if (!('question' in value) || value['question'] === undefined)
37
+ return false;
38
+ if (!('options' in value) || value['options'] === undefined)
39
+ return false;
40
+ if (!('minPassingOptions' in value) || value['minPassingOptions'] === undefined)
41
+ return false;
42
+ if (!('showSelectAllOfAbove' in value) || value['showSelectAllOfAbove'] === undefined)
43
+ return false;
44
+ if (!('showSelectNoneOfAbove' in value) || value['showSelectNoneOfAbove'] === undefined)
45
+ return false;
46
+ return true;
47
+ }
48
+ function ScreenerQuestionChooseMultipleFromJSON(json) {
49
+ return ScreenerQuestionChooseMultipleFromJSONTyped(json, false);
50
+ }
51
+ function ScreenerQuestionChooseMultipleFromJSONTyped(json, ignoreDiscriminator) {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+ 'type': json['type'],
57
+ 'question': json['question'],
58
+ 'options': ((0, runtime_1.mapValues)(json['options'], ScreenerQuestionChooseMultipleOptionsValue_1.ScreenerQuestionChooseMultipleOptionsValueFromJSON)),
59
+ 'minPassingOptions': json['minPassingOptions'],
60
+ 'randomizeOrder': json['randomizeOrder'] == null ? undefined : json['randomizeOrder'],
61
+ 'showSelectAllOfAbove': json['showSelectAllOfAbove'],
62
+ 'showSelectNoneOfAbove': json['showSelectNoneOfAbove'],
63
+ };
64
+ }
65
+ function ScreenerQuestionChooseMultipleToJSON(json) {
66
+ return ScreenerQuestionChooseMultipleToJSONTyped(json, false);
67
+ }
68
+ function ScreenerQuestionChooseMultipleToJSONTyped(value, ignoreDiscriminator) {
69
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
70
+ if (value == null) {
71
+ return value;
72
+ }
73
+ return {
74
+ 'type': value['type'],
75
+ 'question': value['question'],
76
+ 'options': ((0, runtime_1.mapValues)(value['options'], ScreenerQuestionChooseMultipleOptionsValue_1.ScreenerQuestionChooseMultipleOptionsValueToJSON)),
77
+ 'minPassingOptions': value['minPassingOptions'],
78
+ 'randomizeOrder': value['randomizeOrder'],
79
+ 'showSelectAllOfAbove': value['showSelectAllOfAbove'],
80
+ 'showSelectNoneOfAbove': value['showSelectNoneOfAbove'],
81
+ };
82
+ }
@@ -0,0 +1,53 @@
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 ScreenerQuestionChooseMultipleOptionsValue
16
+ */
17
+ export interface ScreenerQuestionChooseMultipleOptionsValue {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ScreenerQuestionChooseMultipleOptionsValue
22
+ */
23
+ optionText: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ScreenerQuestionChooseMultipleOptionsValue
28
+ */
29
+ optionKind?: ScreenerQuestionChooseMultipleOptionsValueOptionKindEnum;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof ScreenerQuestionChooseMultipleOptionsValue
34
+ */
35
+ index: number;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const ScreenerQuestionChooseMultipleOptionsValueOptionKindEnum: {
41
+ readonly Neutral: "neutral";
42
+ readonly ScreenOutIfSelected: "screenOutIfSelected";
43
+ readonly PassingOption: "passingOption";
44
+ };
45
+ export type ScreenerQuestionChooseMultipleOptionsValueOptionKindEnum = typeof ScreenerQuestionChooseMultipleOptionsValueOptionKindEnum[keyof typeof ScreenerQuestionChooseMultipleOptionsValueOptionKindEnum];
46
+ /**
47
+ * Check if a given object implements the ScreenerQuestionChooseMultipleOptionsValue interface.
48
+ */
49
+ export declare function instanceOfScreenerQuestionChooseMultipleOptionsValue(value: object): value is ScreenerQuestionChooseMultipleOptionsValue;
50
+ export declare function ScreenerQuestionChooseMultipleOptionsValueFromJSON(json: any): ScreenerQuestionChooseMultipleOptionsValue;
51
+ export declare function ScreenerQuestionChooseMultipleOptionsValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseMultipleOptionsValue;
52
+ export declare function ScreenerQuestionChooseMultipleOptionsValueToJSON(json: any): ScreenerQuestionChooseMultipleOptionsValue;
53
+ export declare function ScreenerQuestionChooseMultipleOptionsValueToJSONTyped(value?: ScreenerQuestionChooseMultipleOptionsValue | 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.ScreenerQuestionChooseMultipleOptionsValueOptionKindEnum = void 0;
17
+ exports.instanceOfScreenerQuestionChooseMultipleOptionsValue = instanceOfScreenerQuestionChooseMultipleOptionsValue;
18
+ exports.ScreenerQuestionChooseMultipleOptionsValueFromJSON = ScreenerQuestionChooseMultipleOptionsValueFromJSON;
19
+ exports.ScreenerQuestionChooseMultipleOptionsValueFromJSONTyped = ScreenerQuestionChooseMultipleOptionsValueFromJSONTyped;
20
+ exports.ScreenerQuestionChooseMultipleOptionsValueToJSON = ScreenerQuestionChooseMultipleOptionsValueToJSON;
21
+ exports.ScreenerQuestionChooseMultipleOptionsValueToJSONTyped = ScreenerQuestionChooseMultipleOptionsValueToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ScreenerQuestionChooseMultipleOptionsValueOptionKindEnum = {
26
+ Neutral: 'neutral',
27
+ ScreenOutIfSelected: 'screenOutIfSelected',
28
+ PassingOption: 'passingOption'
29
+ };
30
+ /**
31
+ * Check if a given object implements the ScreenerQuestionChooseMultipleOptionsValue interface.
32
+ */
33
+ function instanceOfScreenerQuestionChooseMultipleOptionsValue(value) {
34
+ if (!('optionText' in value) || value['optionText'] === undefined)
35
+ return false;
36
+ if (!('index' in value) || value['index'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function ScreenerQuestionChooseMultipleOptionsValueFromJSON(json) {
41
+ return ScreenerQuestionChooseMultipleOptionsValueFromJSONTyped(json, false);
42
+ }
43
+ function ScreenerQuestionChooseMultipleOptionsValueFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'optionText': json['optionText'],
49
+ 'optionKind': json['optionKind'] == null ? undefined : json['optionKind'],
50
+ 'index': json['index'],
51
+ };
52
+ }
53
+ function ScreenerQuestionChooseMultipleOptionsValueToJSON(json) {
54
+ return ScreenerQuestionChooseMultipleOptionsValueToJSONTyped(json, false);
55
+ }
56
+ function ScreenerQuestionChooseMultipleOptionsValueToJSONTyped(value, ignoreDiscriminator) {
57
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'optionText': value['optionText'],
63
+ 'optionKind': value['optionKind'],
64
+ 'index': value['index'],
65
+ };
66
+ }
@@ -0,0 +1,72 @@
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 { ScreenerQuestionChooseMultipleOptionsValue } from './ScreenerQuestionChooseMultipleOptionsValue';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ScreenerQuestionChooseMultiplePublic
17
+ */
18
+ export interface ScreenerQuestionChooseMultiplePublic {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ScreenerQuestionChooseMultiplePublic
23
+ */
24
+ type: ScreenerQuestionChooseMultiplePublicTypeEnum;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ScreenerQuestionChooseMultiplePublic
29
+ */
30
+ question: string;
31
+ /**
32
+ *
33
+ * @type {{ [key: string]: ScreenerQuestionChooseMultipleOptionsValue; }}
34
+ * @memberof ScreenerQuestionChooseMultiplePublic
35
+ */
36
+ options: {
37
+ [key: string]: ScreenerQuestionChooseMultipleOptionsValue;
38
+ };
39
+ /**
40
+ *
41
+ * @type {boolean}
42
+ * @memberof ScreenerQuestionChooseMultiplePublic
43
+ */
44
+ randomizeOrder?: boolean;
45
+ /**
46
+ *
47
+ * @type {boolean}
48
+ * @memberof ScreenerQuestionChooseMultiplePublic
49
+ */
50
+ showSelectAllOfAbove: boolean;
51
+ /**
52
+ *
53
+ * @type {boolean}
54
+ * @memberof ScreenerQuestionChooseMultiplePublic
55
+ */
56
+ showSelectNoneOfAbove: boolean;
57
+ }
58
+ /**
59
+ * @export
60
+ */
61
+ export declare const ScreenerQuestionChooseMultiplePublicTypeEnum: {
62
+ readonly ChooseMultiple: "chooseMultiple";
63
+ };
64
+ export type ScreenerQuestionChooseMultiplePublicTypeEnum = typeof ScreenerQuestionChooseMultiplePublicTypeEnum[keyof typeof ScreenerQuestionChooseMultiplePublicTypeEnum];
65
+ /**
66
+ * Check if a given object implements the ScreenerQuestionChooseMultiplePublic interface.
67
+ */
68
+ export declare function instanceOfScreenerQuestionChooseMultiplePublic(value: object): value is ScreenerQuestionChooseMultiplePublic;
69
+ export declare function ScreenerQuestionChooseMultiplePublicFromJSON(json: any): ScreenerQuestionChooseMultiplePublic;
70
+ export declare function ScreenerQuestionChooseMultiplePublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseMultiplePublic;
71
+ export declare function ScreenerQuestionChooseMultiplePublicToJSON(json: any): ScreenerQuestionChooseMultiplePublic;
72
+ export declare function ScreenerQuestionChooseMultiplePublicToJSONTyped(value?: ScreenerQuestionChooseMultiplePublic | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,78 @@
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.ScreenerQuestionChooseMultiplePublicTypeEnum = void 0;
17
+ exports.instanceOfScreenerQuestionChooseMultiplePublic = instanceOfScreenerQuestionChooseMultiplePublic;
18
+ exports.ScreenerQuestionChooseMultiplePublicFromJSON = ScreenerQuestionChooseMultiplePublicFromJSON;
19
+ exports.ScreenerQuestionChooseMultiplePublicFromJSONTyped = ScreenerQuestionChooseMultiplePublicFromJSONTyped;
20
+ exports.ScreenerQuestionChooseMultiplePublicToJSON = ScreenerQuestionChooseMultiplePublicToJSON;
21
+ exports.ScreenerQuestionChooseMultiplePublicToJSONTyped = ScreenerQuestionChooseMultiplePublicToJSONTyped;
22
+ var runtime_1 = require("../runtime");
23
+ var ScreenerQuestionChooseMultipleOptionsValue_1 = require("./ScreenerQuestionChooseMultipleOptionsValue");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.ScreenerQuestionChooseMultiplePublicTypeEnum = {
28
+ ChooseMultiple: 'chooseMultiple'
29
+ };
30
+ /**
31
+ * Check if a given object implements the ScreenerQuestionChooseMultiplePublic interface.
32
+ */
33
+ function instanceOfScreenerQuestionChooseMultiplePublic(value) {
34
+ if (!('type' in value) || value['type'] === undefined)
35
+ return false;
36
+ if (!('question' in value) || value['question'] === undefined)
37
+ return false;
38
+ if (!('options' in value) || value['options'] === undefined)
39
+ return false;
40
+ if (!('showSelectAllOfAbove' in value) || value['showSelectAllOfAbove'] === undefined)
41
+ return false;
42
+ if (!('showSelectNoneOfAbove' in value) || value['showSelectNoneOfAbove'] === undefined)
43
+ return false;
44
+ return true;
45
+ }
46
+ function ScreenerQuestionChooseMultiplePublicFromJSON(json) {
47
+ return ScreenerQuestionChooseMultiplePublicFromJSONTyped(json, false);
48
+ }
49
+ function ScreenerQuestionChooseMultiplePublicFromJSONTyped(json, ignoreDiscriminator) {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+ 'type': json['type'],
55
+ 'question': json['question'],
56
+ 'options': ((0, runtime_1.mapValues)(json['options'], ScreenerQuestionChooseMultipleOptionsValue_1.ScreenerQuestionChooseMultipleOptionsValueFromJSON)),
57
+ 'randomizeOrder': json['randomizeOrder'] == null ? undefined : json['randomizeOrder'],
58
+ 'showSelectAllOfAbove': json['showSelectAllOfAbove'],
59
+ 'showSelectNoneOfAbove': json['showSelectNoneOfAbove'],
60
+ };
61
+ }
62
+ function ScreenerQuestionChooseMultiplePublicToJSON(json) {
63
+ return ScreenerQuestionChooseMultiplePublicToJSONTyped(json, false);
64
+ }
65
+ function ScreenerQuestionChooseMultiplePublicToJSONTyped(value, ignoreDiscriminator) {
66
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
67
+ if (value == null) {
68
+ return value;
69
+ }
70
+ return {
71
+ 'type': value['type'],
72
+ 'question': value['question'],
73
+ 'options': ((0, runtime_1.mapValues)(value['options'], ScreenerQuestionChooseMultipleOptionsValue_1.ScreenerQuestionChooseMultipleOptionsValueToJSON)),
74
+ 'randomizeOrder': value['randomizeOrder'],
75
+ 'showSelectAllOfAbove': value['showSelectAllOfAbove'],
76
+ 'showSelectNoneOfAbove': value['showSelectNoneOfAbove'],
77
+ };
78
+ }
@@ -0,0 +1,53 @@
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 ScreenerQuestionOption
16
+ */
17
+ export interface ScreenerQuestionOption {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ScreenerQuestionOption
22
+ */
23
+ optionText: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ScreenerQuestionOption
28
+ */
29
+ optionKind?: ScreenerQuestionOptionOptionKindEnum;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof ScreenerQuestionOption
34
+ */
35
+ index: number;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const ScreenerQuestionOptionOptionKindEnum: {
41
+ readonly Neutral: "neutral";
42
+ readonly ScreenOutIfSelected: "screenOutIfSelected";
43
+ readonly PassingOption: "passingOption";
44
+ };
45
+ export type ScreenerQuestionOptionOptionKindEnum = typeof ScreenerQuestionOptionOptionKindEnum[keyof typeof ScreenerQuestionOptionOptionKindEnum];
46
+ /**
47
+ * Check if a given object implements the ScreenerQuestionOption interface.
48
+ */
49
+ export declare function instanceOfScreenerQuestionOption(value: object): value is ScreenerQuestionOption;
50
+ export declare function ScreenerQuestionOptionFromJSON(json: any): ScreenerQuestionOption;
51
+ export declare function ScreenerQuestionOptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionOption;
52
+ export declare function ScreenerQuestionOptionToJSON(json: any): ScreenerQuestionOption;
53
+ export declare function ScreenerQuestionOptionToJSONTyped(value?: ScreenerQuestionOption | 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.ScreenerQuestionOptionOptionKindEnum = void 0;
17
+ exports.instanceOfScreenerQuestionOption = instanceOfScreenerQuestionOption;
18
+ exports.ScreenerQuestionOptionFromJSON = ScreenerQuestionOptionFromJSON;
19
+ exports.ScreenerQuestionOptionFromJSONTyped = ScreenerQuestionOptionFromJSONTyped;
20
+ exports.ScreenerQuestionOptionToJSON = ScreenerQuestionOptionToJSON;
21
+ exports.ScreenerQuestionOptionToJSONTyped = ScreenerQuestionOptionToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ScreenerQuestionOptionOptionKindEnum = {
26
+ Neutral: 'neutral',
27
+ ScreenOutIfSelected: 'screenOutIfSelected',
28
+ PassingOption: 'passingOption'
29
+ };
30
+ /**
31
+ * Check if a given object implements the ScreenerQuestionOption interface.
32
+ */
33
+ function instanceOfScreenerQuestionOption(value) {
34
+ if (!('optionText' in value) || value['optionText'] === undefined)
35
+ return false;
36
+ if (!('index' in value) || value['index'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function ScreenerQuestionOptionFromJSON(json) {
41
+ return ScreenerQuestionOptionFromJSONTyped(json, false);
42
+ }
43
+ function ScreenerQuestionOptionFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'optionText': json['optionText'],
49
+ 'optionKind': json['optionKind'] == null ? undefined : json['optionKind'],
50
+ 'index': json['index'],
51
+ };
52
+ }
53
+ function ScreenerQuestionOptionToJSON(json) {
54
+ return ScreenerQuestionOptionToJSONTyped(json, false);
55
+ }
56
+ function ScreenerQuestionOptionToJSONTyped(value, ignoreDiscriminator) {
57
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'optionText': value['optionText'],
63
+ 'optionKind': value['optionKind'],
64
+ 'index': value['index'],
65
+ };
66
+ }
@@ -0,0 +1,23 @@
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 { ScreenerQuestionChooseMultiplePublic } from './ScreenerQuestionChooseMultiplePublic';
13
+ import type { ScreenerQuestionChooseOnePublic } from './ScreenerQuestionChooseOnePublic';
14
+ /**
15
+ * @type ScreenerQuestionPublic
16
+ *
17
+ * @export
18
+ */
19
+ export type ScreenerQuestionPublic = ScreenerQuestionChooseMultiplePublic | ScreenerQuestionChooseOnePublic;
20
+ export declare function ScreenerQuestionPublicFromJSON(json: any): ScreenerQuestionPublic;
21
+ export declare function ScreenerQuestionPublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionPublic;
22
+ export declare function ScreenerQuestionPublicToJSON(json: any): any;
23
+ export declare function ScreenerQuestionPublicToJSONTyped(value?: ScreenerQuestionPublic | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Fastify Template API
6
+ * API documentation using Swagger
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ScreenerQuestionPublicFromJSON = ScreenerQuestionPublicFromJSON;
17
+ exports.ScreenerQuestionPublicFromJSONTyped = ScreenerQuestionPublicFromJSONTyped;
18
+ exports.ScreenerQuestionPublicToJSON = ScreenerQuestionPublicToJSON;
19
+ exports.ScreenerQuestionPublicToJSONTyped = ScreenerQuestionPublicToJSONTyped;
20
+ var ScreenerQuestionChooseMultiplePublic_1 = require("./ScreenerQuestionChooseMultiplePublic");
21
+ var ScreenerQuestionChooseOnePublic_1 = require("./ScreenerQuestionChooseOnePublic");
22
+ function ScreenerQuestionPublicFromJSON(json) {
23
+ return ScreenerQuestionPublicFromJSONTyped(json, false);
24
+ }
25
+ function ScreenerQuestionPublicFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ if (typeof json !== 'object') {
30
+ return json;
31
+ }
32
+ if ((0, ScreenerQuestionChooseMultiplePublic_1.instanceOfScreenerQuestionChooseMultiplePublic)(json)) {
33
+ return (0, ScreenerQuestionChooseMultiplePublic_1.ScreenerQuestionChooseMultiplePublicFromJSONTyped)(json, true);
34
+ }
35
+ if ((0, ScreenerQuestionChooseOnePublic_1.instanceOfScreenerQuestionChooseOnePublic)(json)) {
36
+ return (0, ScreenerQuestionChooseOnePublic_1.ScreenerQuestionChooseOnePublicFromJSONTyped)(json, true);
37
+ }
38
+ return {};
39
+ }
40
+ function ScreenerQuestionPublicToJSON(json) {
41
+ return ScreenerQuestionPublicToJSONTyped(json, false);
42
+ }
43
+ function ScreenerQuestionPublicToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ if (typeof value !== 'object') {
49
+ return value;
50
+ }
51
+ if ((0, ScreenerQuestionChooseMultiplePublic_1.instanceOfScreenerQuestionChooseMultiplePublic)(value)) {
52
+ return (0, ScreenerQuestionChooseMultiplePublic_1.ScreenerQuestionChooseMultiplePublicToJSON)(value);
53
+ }
54
+ if ((0, ScreenerQuestionChooseOnePublic_1.instanceOfScreenerQuestionChooseOnePublic)(value)) {
55
+ return (0, ScreenerQuestionChooseOnePublic_1.ScreenerQuestionChooseOnePublicToJSON)(value);
56
+ }
57
+ return {};
58
+ }
@@ -23,16 +23,10 @@ export interface ScreenerQuestionResponse {
23
23
  question: string;
24
24
  /**
25
25
  *
26
- * @type {string}
27
- * @memberof ScreenerQuestionResponse
28
- */
29
- response: string;
30
- /**
31
- *
32
- * @type {boolean}
26
+ * @type {Array<string>}
33
27
  * @memberof ScreenerQuestionResponse
34
28
  */
35
- passing: boolean;
29
+ response: Array<string>;
36
30
  }
37
31
  /**
38
32
  * Check if a given object implements the ScreenerQuestionResponse interface.
@@ -26,8 +26,6 @@ function instanceOfScreenerQuestionResponse(value) {
26
26
  return false;
27
27
  if (!('response' in value) || value['response'] === undefined)
28
28
  return false;
29
- if (!('passing' in value) || value['passing'] === undefined)
30
- return false;
31
29
  return true;
32
30
  }
33
31
  function ScreenerQuestionResponseFromJSON(json) {
@@ -40,7 +38,6 @@ function ScreenerQuestionResponseFromJSONTyped(json, ignoreDiscriminator) {
40
38
  return {
41
39
  'question': json['question'],
42
40
  'response': json['response'],
43
- 'passing': json['passing'],
44
41
  };
45
42
  }
46
43
  function ScreenerQuestionResponseToJSON(json) {
@@ -54,6 +51,5 @@ function ScreenerQuestionResponseToJSONTyped(value, ignoreDiscriminator) {
54
51
  return {
55
52
  'question': value['question'],
56
53
  'response': value['response'],
57
- 'passing': value['passing'],
58
54
  };
59
55
  }