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,72 @@
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 type { ScreenerQuestionChooseMultiple } from './ScreenerQuestionChooseMultiple';
16
+ import {
17
+ instanceOfScreenerQuestionChooseMultiple,
18
+ ScreenerQuestionChooseMultipleFromJSON,
19
+ ScreenerQuestionChooseMultipleFromJSONTyped,
20
+ ScreenerQuestionChooseMultipleToJSON,
21
+ } from './ScreenerQuestionChooseMultiple';
22
+ import type { ScreenerQuestionChooseOne } from './ScreenerQuestionChooseOne';
23
+ import {
24
+ instanceOfScreenerQuestionChooseOne,
25
+ ScreenerQuestionChooseOneFromJSON,
26
+ ScreenerQuestionChooseOneFromJSONTyped,
27
+ ScreenerQuestionChooseOneToJSON,
28
+ } from './ScreenerQuestionChooseOne';
29
+
30
+ /**
31
+ * @type ScreenerQuestion
32
+ *
33
+ * @export
34
+ */
35
+ export type ScreenerQuestion = { type: 'chooseMultiple' } & ScreenerQuestionChooseMultiple | { type: 'chooseOne' } & ScreenerQuestionChooseOne;
36
+
37
+ export function ScreenerQuestionFromJSON(json: any): ScreenerQuestion {
38
+ return ScreenerQuestionFromJSONTyped(json, false);
39
+ }
40
+
41
+ export function ScreenerQuestionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestion {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ switch (json['type']) {
46
+ case 'chooseMultiple':
47
+ return Object.assign({}, ScreenerQuestionChooseMultipleFromJSONTyped(json, true), { type: 'chooseMultiple' } as const);
48
+ case 'chooseOne':
49
+ return Object.assign({}, ScreenerQuestionChooseOneFromJSONTyped(json, true), { type: 'chooseOne' } as const);
50
+ default:
51
+ return json;
52
+ }
53
+ }
54
+
55
+ export function ScreenerQuestionToJSON(json: any): any {
56
+ return ScreenerQuestionToJSONTyped(json, false);
57
+ }
58
+
59
+ export function ScreenerQuestionToJSONTyped(value?: ScreenerQuestion | null, ignoreDiscriminator: boolean = false): any {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ switch (value['type']) {
64
+ case 'chooseMultiple':
65
+ return Object.assign({}, ScreenerQuestionChooseMultipleToJSON(value), { type: 'chooseMultiple' } as const);
66
+ case 'chooseOne':
67
+ return Object.assign({}, ScreenerQuestionChooseOneToJSON(value), { type: 'chooseOne' } as const);
68
+ default:
69
+ return value;
70
+ }
71
+ }
72
+
@@ -0,0 +1,137 @@
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 { ScreenerQuestionChooseMultipleOptionsValue } from './ScreenerQuestionChooseMultipleOptionsValue';
17
+ import {
18
+ ScreenerQuestionChooseMultipleOptionsValueFromJSON,
19
+ ScreenerQuestionChooseMultipleOptionsValueFromJSONTyped,
20
+ ScreenerQuestionChooseMultipleOptionsValueToJSON,
21
+ ScreenerQuestionChooseMultipleOptionsValueToJSONTyped,
22
+ } from './ScreenerQuestionChooseMultipleOptionsValue';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ScreenerQuestionChooseMultiple
28
+ */
29
+ export interface ScreenerQuestionChooseMultiple {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ScreenerQuestionChooseMultiple
34
+ */
35
+ type: ScreenerQuestionChooseMultipleTypeEnum;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ScreenerQuestionChooseMultiple
40
+ */
41
+ question: string;
42
+ /**
43
+ *
44
+ * @type {{ [key: string]: ScreenerQuestionChooseMultipleOptionsValue; }}
45
+ * @memberof ScreenerQuestionChooseMultiple
46
+ */
47
+ options: { [key: string]: ScreenerQuestionChooseMultipleOptionsValue; };
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ScreenerQuestionChooseMultiple
52
+ */
53
+ minPassingOptions: number;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof ScreenerQuestionChooseMultiple
58
+ */
59
+ randomizeOrder?: boolean;
60
+ /**
61
+ *
62
+ * @type {boolean}
63
+ * @memberof ScreenerQuestionChooseMultiple
64
+ */
65
+ showSelectAllOfAbove: boolean;
66
+ /**
67
+ *
68
+ * @type {boolean}
69
+ * @memberof ScreenerQuestionChooseMultiple
70
+ */
71
+ showSelectNoneOfAbove: boolean;
72
+ }
73
+
74
+
75
+ /**
76
+ * @export
77
+ */
78
+ export const ScreenerQuestionChooseMultipleTypeEnum = {
79
+ ChooseMultiple: 'chooseMultiple'
80
+ } as const;
81
+ export type ScreenerQuestionChooseMultipleTypeEnum = typeof ScreenerQuestionChooseMultipleTypeEnum[keyof typeof ScreenerQuestionChooseMultipleTypeEnum];
82
+
83
+
84
+ /**
85
+ * Check if a given object implements the ScreenerQuestionChooseMultiple interface.
86
+ */
87
+ export function instanceOfScreenerQuestionChooseMultiple(value: object): value is ScreenerQuestionChooseMultiple {
88
+ if (!('type' in value) || value['type'] === undefined) return false;
89
+ if (!('question' in value) || value['question'] === undefined) return false;
90
+ if (!('options' in value) || value['options'] === undefined) return false;
91
+ if (!('minPassingOptions' in value) || value['minPassingOptions'] === undefined) return false;
92
+ if (!('showSelectAllOfAbove' in value) || value['showSelectAllOfAbove'] === undefined) return false;
93
+ if (!('showSelectNoneOfAbove' in value) || value['showSelectNoneOfAbove'] === undefined) return false;
94
+ return true;
95
+ }
96
+
97
+ export function ScreenerQuestionChooseMultipleFromJSON(json: any): ScreenerQuestionChooseMultiple {
98
+ return ScreenerQuestionChooseMultipleFromJSONTyped(json, false);
99
+ }
100
+
101
+ export function ScreenerQuestionChooseMultipleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseMultiple {
102
+ if (json == null) {
103
+ return json;
104
+ }
105
+ return {
106
+
107
+ 'type': json['type'],
108
+ 'question': json['question'],
109
+ 'options': (mapValues(json['options'], ScreenerQuestionChooseMultipleOptionsValueFromJSON)),
110
+ 'minPassingOptions': json['minPassingOptions'],
111
+ 'randomizeOrder': json['randomizeOrder'] == null ? undefined : json['randomizeOrder'],
112
+ 'showSelectAllOfAbove': json['showSelectAllOfAbove'],
113
+ 'showSelectNoneOfAbove': json['showSelectNoneOfAbove'],
114
+ };
115
+ }
116
+
117
+ export function ScreenerQuestionChooseMultipleToJSON(json: any): ScreenerQuestionChooseMultiple {
118
+ return ScreenerQuestionChooseMultipleToJSONTyped(json, false);
119
+ }
120
+
121
+ export function ScreenerQuestionChooseMultipleToJSONTyped(value?: ScreenerQuestionChooseMultiple | null, ignoreDiscriminator: boolean = false): any {
122
+ if (value == null) {
123
+ return value;
124
+ }
125
+
126
+ return {
127
+
128
+ 'type': value['type'],
129
+ 'question': value['question'],
130
+ 'options': (mapValues(value['options'], ScreenerQuestionChooseMultipleOptionsValueToJSON)),
131
+ 'minPassingOptions': value['minPassingOptions'],
132
+ 'randomizeOrder': value['randomizeOrder'],
133
+ 'showSelectAllOfAbove': value['showSelectAllOfAbove'],
134
+ 'showSelectNoneOfAbove': value['showSelectNoneOfAbove'],
135
+ };
136
+ }
137
+
@@ -0,0 +1,95 @@
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 ScreenerQuestionChooseMultipleOptionsValue
20
+ */
21
+ export interface ScreenerQuestionChooseMultipleOptionsValue {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ScreenerQuestionChooseMultipleOptionsValue
26
+ */
27
+ optionText: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ScreenerQuestionChooseMultipleOptionsValue
32
+ */
33
+ optionKind?: ScreenerQuestionChooseMultipleOptionsValueOptionKindEnum;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof ScreenerQuestionChooseMultipleOptionsValue
38
+ */
39
+ index: number;
40
+ }
41
+
42
+
43
+ /**
44
+ * @export
45
+ */
46
+ export const ScreenerQuestionChooseMultipleOptionsValueOptionKindEnum = {
47
+ Neutral: 'neutral',
48
+ ScreenOutIfSelected: 'screenOutIfSelected',
49
+ PassingOption: 'passingOption'
50
+ } as const;
51
+ export type ScreenerQuestionChooseMultipleOptionsValueOptionKindEnum = typeof ScreenerQuestionChooseMultipleOptionsValueOptionKindEnum[keyof typeof ScreenerQuestionChooseMultipleOptionsValueOptionKindEnum];
52
+
53
+
54
+ /**
55
+ * Check if a given object implements the ScreenerQuestionChooseMultipleOptionsValue interface.
56
+ */
57
+ export function instanceOfScreenerQuestionChooseMultipleOptionsValue(value: object): value is ScreenerQuestionChooseMultipleOptionsValue {
58
+ if (!('optionText' in value) || value['optionText'] === undefined) return false;
59
+ if (!('index' in value) || value['index'] === undefined) return false;
60
+ return true;
61
+ }
62
+
63
+ export function ScreenerQuestionChooseMultipleOptionsValueFromJSON(json: any): ScreenerQuestionChooseMultipleOptionsValue {
64
+ return ScreenerQuestionChooseMultipleOptionsValueFromJSONTyped(json, false);
65
+ }
66
+
67
+ export function ScreenerQuestionChooseMultipleOptionsValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseMultipleOptionsValue {
68
+ if (json == null) {
69
+ return json;
70
+ }
71
+ return {
72
+
73
+ 'optionText': json['optionText'],
74
+ 'optionKind': json['optionKind'] == null ? undefined : json['optionKind'],
75
+ 'index': json['index'],
76
+ };
77
+ }
78
+
79
+ export function ScreenerQuestionChooseMultipleOptionsValueToJSON(json: any): ScreenerQuestionChooseMultipleOptionsValue {
80
+ return ScreenerQuestionChooseMultipleOptionsValueToJSONTyped(json, false);
81
+ }
82
+
83
+ export function ScreenerQuestionChooseMultipleOptionsValueToJSONTyped(value?: ScreenerQuestionChooseMultipleOptionsValue | null, ignoreDiscriminator: boolean = false): any {
84
+ if (value == null) {
85
+ return value;
86
+ }
87
+
88
+ return {
89
+
90
+ 'optionText': value['optionText'],
91
+ 'optionKind': value['optionKind'],
92
+ 'index': value['index'],
93
+ };
94
+ }
95
+
@@ -0,0 +1,128 @@
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 { ScreenerQuestionChooseMultipleOptionsValue } from './ScreenerQuestionChooseMultipleOptionsValue';
17
+ import {
18
+ ScreenerQuestionChooseMultipleOptionsValueFromJSON,
19
+ ScreenerQuestionChooseMultipleOptionsValueFromJSONTyped,
20
+ ScreenerQuestionChooseMultipleOptionsValueToJSON,
21
+ ScreenerQuestionChooseMultipleOptionsValueToJSONTyped,
22
+ } from './ScreenerQuestionChooseMultipleOptionsValue';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ScreenerQuestionChooseMultiplePublic
28
+ */
29
+ export interface ScreenerQuestionChooseMultiplePublic {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ScreenerQuestionChooseMultiplePublic
34
+ */
35
+ type: ScreenerQuestionChooseMultiplePublicTypeEnum;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ScreenerQuestionChooseMultiplePublic
40
+ */
41
+ question: string;
42
+ /**
43
+ *
44
+ * @type {{ [key: string]: ScreenerQuestionChooseMultipleOptionsValue; }}
45
+ * @memberof ScreenerQuestionChooseMultiplePublic
46
+ */
47
+ options: { [key: string]: ScreenerQuestionChooseMultipleOptionsValue; };
48
+ /**
49
+ *
50
+ * @type {boolean}
51
+ * @memberof ScreenerQuestionChooseMultiplePublic
52
+ */
53
+ randomizeOrder?: boolean;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof ScreenerQuestionChooseMultiplePublic
58
+ */
59
+ showSelectAllOfAbove: boolean;
60
+ /**
61
+ *
62
+ * @type {boolean}
63
+ * @memberof ScreenerQuestionChooseMultiplePublic
64
+ */
65
+ showSelectNoneOfAbove: boolean;
66
+ }
67
+
68
+
69
+ /**
70
+ * @export
71
+ */
72
+ export const ScreenerQuestionChooseMultiplePublicTypeEnum = {
73
+ ChooseMultiple: 'chooseMultiple'
74
+ } as const;
75
+ export type ScreenerQuestionChooseMultiplePublicTypeEnum = typeof ScreenerQuestionChooseMultiplePublicTypeEnum[keyof typeof ScreenerQuestionChooseMultiplePublicTypeEnum];
76
+
77
+
78
+ /**
79
+ * Check if a given object implements the ScreenerQuestionChooseMultiplePublic interface.
80
+ */
81
+ export function instanceOfScreenerQuestionChooseMultiplePublic(value: object): value is ScreenerQuestionChooseMultiplePublic {
82
+ if (!('type' in value) || value['type'] === undefined) return false;
83
+ if (!('question' in value) || value['question'] === undefined) return false;
84
+ if (!('options' in value) || value['options'] === undefined) return false;
85
+ if (!('showSelectAllOfAbove' in value) || value['showSelectAllOfAbove'] === undefined) return false;
86
+ if (!('showSelectNoneOfAbove' in value) || value['showSelectNoneOfAbove'] === undefined) return false;
87
+ return true;
88
+ }
89
+
90
+ export function ScreenerQuestionChooseMultiplePublicFromJSON(json: any): ScreenerQuestionChooseMultiplePublic {
91
+ return ScreenerQuestionChooseMultiplePublicFromJSONTyped(json, false);
92
+ }
93
+
94
+ export function ScreenerQuestionChooseMultiplePublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseMultiplePublic {
95
+ if (json == null) {
96
+ return json;
97
+ }
98
+ return {
99
+
100
+ 'type': json['type'],
101
+ 'question': json['question'],
102
+ 'options': (mapValues(json['options'], ScreenerQuestionChooseMultipleOptionsValueFromJSON)),
103
+ 'randomizeOrder': json['randomizeOrder'] == null ? undefined : json['randomizeOrder'],
104
+ 'showSelectAllOfAbove': json['showSelectAllOfAbove'],
105
+ 'showSelectNoneOfAbove': json['showSelectNoneOfAbove'],
106
+ };
107
+ }
108
+
109
+ export function ScreenerQuestionChooseMultiplePublicToJSON(json: any): ScreenerQuestionChooseMultiplePublic {
110
+ return ScreenerQuestionChooseMultiplePublicToJSONTyped(json, false);
111
+ }
112
+
113
+ export function ScreenerQuestionChooseMultiplePublicToJSONTyped(value?: ScreenerQuestionChooseMultiplePublic | null, ignoreDiscriminator: boolean = false): any {
114
+ if (value == null) {
115
+ return value;
116
+ }
117
+
118
+ return {
119
+
120
+ 'type': value['type'],
121
+ 'question': value['question'],
122
+ 'options': (mapValues(value['options'], ScreenerQuestionChooseMultipleOptionsValueToJSON)),
123
+ 'randomizeOrder': value['randomizeOrder'],
124
+ 'showSelectAllOfAbove': value['showSelectAllOfAbove'],
125
+ 'showSelectNoneOfAbove': value['showSelectNoneOfAbove'],
126
+ };
127
+ }
128
+
@@ -0,0 +1,95 @@
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 ScreenerQuestionOption
20
+ */
21
+ export interface ScreenerQuestionOption {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ScreenerQuestionOption
26
+ */
27
+ optionText: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ScreenerQuestionOption
32
+ */
33
+ optionKind?: ScreenerQuestionOptionOptionKindEnum;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof ScreenerQuestionOption
38
+ */
39
+ index: number;
40
+ }
41
+
42
+
43
+ /**
44
+ * @export
45
+ */
46
+ export const ScreenerQuestionOptionOptionKindEnum = {
47
+ Neutral: 'neutral',
48
+ ScreenOutIfSelected: 'screenOutIfSelected',
49
+ PassingOption: 'passingOption'
50
+ } as const;
51
+ export type ScreenerQuestionOptionOptionKindEnum = typeof ScreenerQuestionOptionOptionKindEnum[keyof typeof ScreenerQuestionOptionOptionKindEnum];
52
+
53
+
54
+ /**
55
+ * Check if a given object implements the ScreenerQuestionOption interface.
56
+ */
57
+ export function instanceOfScreenerQuestionOption(value: object): value is ScreenerQuestionOption {
58
+ if (!('optionText' in value) || value['optionText'] === undefined) return false;
59
+ if (!('index' in value) || value['index'] === undefined) return false;
60
+ return true;
61
+ }
62
+
63
+ export function ScreenerQuestionOptionFromJSON(json: any): ScreenerQuestionOption {
64
+ return ScreenerQuestionOptionFromJSONTyped(json, false);
65
+ }
66
+
67
+ export function ScreenerQuestionOptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionOption {
68
+ if (json == null) {
69
+ return json;
70
+ }
71
+ return {
72
+
73
+ 'optionText': json['optionText'],
74
+ 'optionKind': json['optionKind'] == null ? undefined : json['optionKind'],
75
+ 'index': json['index'],
76
+ };
77
+ }
78
+
79
+ export function ScreenerQuestionOptionToJSON(json: any): ScreenerQuestionOption {
80
+ return ScreenerQuestionOptionToJSONTyped(json, false);
81
+ }
82
+
83
+ export function ScreenerQuestionOptionToJSONTyped(value?: ScreenerQuestionOption | null, ignoreDiscriminator: boolean = false): any {
84
+ if (value == null) {
85
+ return value;
86
+ }
87
+
88
+ return {
89
+
90
+ 'optionText': value['optionText'],
91
+ 'optionKind': value['optionKind'],
92
+ 'index': value['index'],
93
+ };
94
+ }
95
+
@@ -0,0 +1,76 @@
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 type { ScreenerQuestionChooseMultiplePublic } from './ScreenerQuestionChooseMultiplePublic';
16
+ import {
17
+ instanceOfScreenerQuestionChooseMultiplePublic,
18
+ ScreenerQuestionChooseMultiplePublicFromJSON,
19
+ ScreenerQuestionChooseMultiplePublicFromJSONTyped,
20
+ ScreenerQuestionChooseMultiplePublicToJSON,
21
+ } from './ScreenerQuestionChooseMultiplePublic';
22
+ import type { ScreenerQuestionChooseOnePublic } from './ScreenerQuestionChooseOnePublic';
23
+ import {
24
+ instanceOfScreenerQuestionChooseOnePublic,
25
+ ScreenerQuestionChooseOnePublicFromJSON,
26
+ ScreenerQuestionChooseOnePublicFromJSONTyped,
27
+ ScreenerQuestionChooseOnePublicToJSON,
28
+ } from './ScreenerQuestionChooseOnePublic';
29
+
30
+ /**
31
+ * @type ScreenerQuestionPublic
32
+ *
33
+ * @export
34
+ */
35
+ export type ScreenerQuestionPublic = ScreenerQuestionChooseMultiplePublic | ScreenerQuestionChooseOnePublic;
36
+
37
+ export function ScreenerQuestionPublicFromJSON(json: any): ScreenerQuestionPublic {
38
+ return ScreenerQuestionPublicFromJSONTyped(json, false);
39
+ }
40
+
41
+ export function ScreenerQuestionPublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionPublic {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ if (typeof json !== 'object') {
46
+ return json;
47
+ }
48
+ if (instanceOfScreenerQuestionChooseMultiplePublic(json)) {
49
+ return ScreenerQuestionChooseMultiplePublicFromJSONTyped(json, true);
50
+ }
51
+ if (instanceOfScreenerQuestionChooseOnePublic(json)) {
52
+ return ScreenerQuestionChooseOnePublicFromJSONTyped(json, true);
53
+ }
54
+ return {} as any;
55
+ }
56
+
57
+ export function ScreenerQuestionPublicToJSON(json: any): any {
58
+ return ScreenerQuestionPublicToJSONTyped(json, false);
59
+ }
60
+
61
+ export function ScreenerQuestionPublicToJSONTyped(value?: ScreenerQuestionPublic | null, ignoreDiscriminator: boolean = false): any {
62
+ if (value == null) {
63
+ return value;
64
+ }
65
+ if (typeof value !== 'object') {
66
+ return value;
67
+ }
68
+ if (instanceOfScreenerQuestionChooseMultiplePublic(value)) {
69
+ return ScreenerQuestionChooseMultiplePublicToJSON(value as ScreenerQuestionChooseMultiplePublic);
70
+ }
71
+ if (instanceOfScreenerQuestionChooseOnePublic(value)) {
72
+ return ScreenerQuestionChooseOnePublicToJSON(value as ScreenerQuestionChooseOnePublic);
73
+ }
74
+ return {};
75
+ }
76
+
@@ -27,16 +27,10 @@ export interface ScreenerQuestionResponse {
27
27
  question: string;
28
28
  /**
29
29
  *
30
- * @type {string}
31
- * @memberof ScreenerQuestionResponse
32
- */
33
- response: string;
34
- /**
35
- *
36
- * @type {boolean}
30
+ * @type {Array<string>}
37
31
  * @memberof ScreenerQuestionResponse
38
32
  */
39
- passing: boolean;
33
+ response: Array<string>;
40
34
  }
41
35
 
42
36
  /**
@@ -45,7 +39,6 @@ export interface ScreenerQuestionResponse {
45
39
  export function instanceOfScreenerQuestionResponse(value: object): value is ScreenerQuestionResponse {
46
40
  if (!('question' in value) || value['question'] === undefined) return false;
47
41
  if (!('response' in value) || value['response'] === undefined) return false;
48
- if (!('passing' in value) || value['passing'] === undefined) return false;
49
42
  return true;
50
43
  }
51
44
 
@@ -61,7 +54,6 @@ export function ScreenerQuestionResponseFromJSONTyped(json: any, ignoreDiscrimin
61
54
 
62
55
  'question': json['question'],
63
56
  'response': json['response'],
64
- 'passing': json['passing'],
65
57
  };
66
58
  }
67
59
 
@@ -78,7 +70,6 @@ export function ScreenerQuestionResponseToJSONTyped(value?: ScreenerQuestionResp
78
70
 
79
71
  'question': value['question'],
80
72
  'response': value['response'],
81
- 'passing': value['passing'],
82
73
  };
83
74
  }
84
75
 
@@ -117,7 +117,7 @@ export function SearchSharedResponseMessages200ResponseInnerToJSONTyped(value?:
117
117
 
118
118
  'callId': value['callId'],
119
119
  'index': value['index'],
120
- 'time': ((value['time']).toISOString()),
120
+ 'time': value['time'].toISOString(),
121
121
  'duration': value['duration'],
122
122
  'secondsFromStart': value['secondsFromStart'],
123
123
  'message': value['message'],
@@ -179,8 +179,8 @@ export function ShareEntityToJSONTyped(value?: ShareEntity | null, ignoreDiscrim
179
179
  'token': value['token'],
180
180
  'entityKind': ShareEntityKindToJSON(value['entityKind']),
181
181
  'entityId': value['entityId'],
182
- 'createdAt': ((value['createdAt']).toISOString()),
183
- 'expiresAt': value['expiresAt'] === null ? null : ((value['expiresAt'] as any)?.toISOString()),
182
+ 'createdAt': value['createdAt'].toISOString(),
183
+ 'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
184
184
  'accessCount': value['accessCount'],
185
185
  'isActive': value['isActive'],
186
186
  'createdByKind': ShareEntityCreatedByKindToJSON(value['createdByKind']),
@@ -202,8 +202,8 @@ export function ThreadToJSONTyped(value?: Thread | null, ignoreDiscriminator: bo
202
202
  return {
203
203
 
204
204
  'id': value['id'],
205
- 'createdAt': ((value['createdAt']).toISOString()),
206
- 'updatedAt': ((value['updatedAt']).toISOString()),
205
+ 'createdAt': value['createdAt'].toISOString(),
206
+ 'updatedAt': value['updatedAt'].toISOString(),
207
207
  'name': value['name'],
208
208
  'kind': ThreadKindToJSON(value['kind']),
209
209
  'description': value['description'],
@@ -114,7 +114,7 @@ export function ThreadFileToJSONTyped(value?: ThreadFile | null, ignoreDiscrimin
114
114
  return {
115
115
 
116
116
  'id': value['id'],
117
- 'createdAt': ((value['createdAt']).toISOString()),
117
+ 'createdAt': value['createdAt'].toISOString(),
118
118
  'threadId': value['threadId'],
119
119
  'fileId': value['fileId'],
120
120
  'thread': ThreadToJSON(value['thread']),