@smartytalent/api-client 0.1.33-dev.35 → 0.1.33-dev.37

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 (169) hide show
  1. package/dist/apis/AssessmentsApi.d.ts +28 -2
  2. package/dist/apis/AssessmentsApi.d.ts.map +1 -1
  3. package/dist/apis/AssessmentsApi.js +41 -3
  4. package/dist/apis/AssessmentsApi.js.map +1 -1
  5. package/dist/apis/AttemptsApi.d.ts +287 -0
  6. package/dist/apis/AttemptsApi.d.ts.map +1 -0
  7. package/dist/apis/AttemptsApi.js +651 -0
  8. package/dist/apis/AttemptsApi.js.map +1 -0
  9. package/dist/apis/index.d.ts +1 -0
  10. package/dist/apis/index.d.ts.map +1 -1
  11. package/dist/apis/index.js +1 -0
  12. package/dist/apis/index.js.map +1 -1
  13. package/dist/models/AnswerFileSchema.d.ts +51 -0
  14. package/dist/models/AnswerFileSchema.d.ts.map +1 -0
  15. package/dist/models/AnswerFileSchema.js +55 -0
  16. package/dist/models/AnswerFileSchema.js.map +1 -0
  17. package/dist/models/AnswerSchema.d.ts +76 -0
  18. package/dist/models/AnswerSchema.d.ts.map +1 -0
  19. package/dist/models/AnswerSchema.js +73 -0
  20. package/dist/models/AnswerSchema.js.map +1 -0
  21. package/dist/models/AnswerSchemaValue.d.ts +31 -0
  22. package/dist/models/AnswerSchemaValue.d.ts.map +1 -0
  23. package/dist/models/AnswerSchemaValue.js +73 -0
  24. package/dist/models/AnswerSchemaValue.js.map +1 -0
  25. package/dist/models/AnswerSchemaValueOneOf.d.ts +39 -0
  26. package/dist/models/AnswerSchemaValueOneOf.d.ts.map +1 -0
  27. package/dist/models/AnswerSchemaValueOneOf.js +51 -0
  28. package/dist/models/AnswerSchemaValueOneOf.js.map +1 -0
  29. package/dist/models/AssessmentAttributesSchema.d.ts +34 -19
  30. package/dist/models/AssessmentAttributesSchema.d.ts.map +1 -1
  31. package/dist/models/AssessmentAttributesSchema.js +12 -10
  32. package/dist/models/AssessmentAttributesSchema.js.map +1 -1
  33. package/dist/models/AttemptAttributesSchema.d.ts +128 -0
  34. package/dist/models/AttemptAttributesSchema.d.ts.map +1 -0
  35. package/dist/models/AttemptAttributesSchema.js +92 -0
  36. package/dist/models/AttemptAttributesSchema.js.map +1 -0
  37. package/dist/models/AttemptEvaluationSchema.d.ts +94 -0
  38. package/dist/models/AttemptEvaluationSchema.d.ts.map +1 -0
  39. package/dist/models/AttemptEvaluationSchema.js +76 -0
  40. package/dist/models/AttemptEvaluationSchema.js.map +1 -0
  41. package/dist/models/AttemptEvaluationSchemaPerQuestionInner.d.ts +57 -0
  42. package/dist/models/AttemptEvaluationSchemaPerQuestionInner.d.ts.map +1 -0
  43. package/dist/models/AttemptEvaluationSchemaPerQuestionInner.js +61 -0
  44. package/dist/models/AttemptEvaluationSchemaPerQuestionInner.js.map +1 -0
  45. package/dist/models/AttemptProctoringSchema.d.ts +51 -0
  46. package/dist/models/AttemptProctoringSchema.d.ts.map +1 -0
  47. package/dist/models/AttemptProctoringSchema.js +55 -0
  48. package/dist/models/AttemptProctoringSchema.js.map +1 -0
  49. package/dist/models/AttemptRelationshipsAssessmentDataSchema.d.ts +46 -0
  50. package/dist/models/AttemptRelationshipsAssessmentDataSchema.d.ts.map +1 -0
  51. package/dist/models/AttemptRelationshipsAssessmentDataSchema.js +58 -0
  52. package/dist/models/AttemptRelationshipsAssessmentDataSchema.js.map +1 -0
  53. package/dist/models/AttemptRelationshipsAssessmentSchema.d.ts +34 -0
  54. package/dist/models/AttemptRelationshipsAssessmentSchema.d.ts.map +1 -0
  55. package/dist/models/AttemptRelationshipsAssessmentSchema.js +50 -0
  56. package/dist/models/AttemptRelationshipsAssessmentSchema.js.map +1 -0
  57. package/dist/models/AttemptRelationshipsCandidateDataSchema.d.ts +46 -0
  58. package/dist/models/AttemptRelationshipsCandidateDataSchema.d.ts.map +1 -0
  59. package/dist/models/AttemptRelationshipsCandidateDataSchema.js +58 -0
  60. package/dist/models/AttemptRelationshipsCandidateDataSchema.js.map +1 -0
  61. package/dist/models/AttemptRelationshipsCandidateSchema.d.ts +34 -0
  62. package/dist/models/AttemptRelationshipsCandidateSchema.d.ts.map +1 -0
  63. package/dist/models/AttemptRelationshipsCandidateSchema.js +50 -0
  64. package/dist/models/AttemptRelationshipsCandidateSchema.js.map +1 -0
  65. package/dist/models/AttemptRelationshipsJobDataSchema.d.ts +46 -0
  66. package/dist/models/AttemptRelationshipsJobDataSchema.d.ts.map +1 -0
  67. package/dist/models/AttemptRelationshipsJobDataSchema.js +58 -0
  68. package/dist/models/AttemptRelationshipsJobDataSchema.js.map +1 -0
  69. package/dist/models/AttemptRelationshipsJobSchema.d.ts +34 -0
  70. package/dist/models/AttemptRelationshipsJobSchema.d.ts.map +1 -0
  71. package/dist/models/AttemptRelationshipsJobSchema.js +50 -0
  72. package/dist/models/AttemptRelationshipsJobSchema.js.map +1 -0
  73. package/dist/models/AttemptRelationshipsReportDataSchema.d.ts +46 -0
  74. package/dist/models/AttemptRelationshipsReportDataSchema.d.ts.map +1 -0
  75. package/dist/models/AttemptRelationshipsReportDataSchema.js +58 -0
  76. package/dist/models/AttemptRelationshipsReportDataSchema.js.map +1 -0
  77. package/dist/models/AttemptRelationshipsReportSchema.d.ts +34 -0
  78. package/dist/models/AttemptRelationshipsReportSchema.d.ts.map +1 -0
  79. package/dist/models/AttemptRelationshipsReportSchema.js +50 -0
  80. package/dist/models/AttemptRelationshipsReportSchema.js.map +1 -0
  81. package/dist/models/AttemptRelationshipsSchema.d.ts +55 -0
  82. package/dist/models/AttemptRelationshipsSchema.d.ts.map +1 -0
  83. package/dist/models/AttemptRelationshipsSchema.js +59 -0
  84. package/dist/models/AttemptRelationshipsSchema.js.map +1 -0
  85. package/dist/models/AttemptResourceSchema.d.ts +75 -0
  86. package/dist/models/AttemptResourceSchema.d.ts.map +1 -0
  87. package/dist/models/AttemptResourceSchema.js +75 -0
  88. package/dist/models/AttemptResourceSchema.js.map +1 -0
  89. package/dist/models/AttemptSchema.d.ts +49 -0
  90. package/dist/models/AttemptSchema.d.ts.map +1 -0
  91. package/dist/models/AttemptSchema.js +55 -0
  92. package/dist/models/AttemptSchema.js.map +1 -0
  93. package/dist/models/AttemptsSchema.d.ts +48 -0
  94. package/dist/models/AttemptsSchema.d.ts.map +1 -0
  95. package/dist/models/AttemptsSchema.js +56 -0
  96. package/dist/models/AttemptsSchema.js.map +1 -0
  97. package/dist/models/CreateAttemptRequest.d.ts +34 -0
  98. package/dist/models/CreateAttemptRequest.d.ts.map +1 -0
  99. package/dist/models/CreateAttemptRequest.js +52 -0
  100. package/dist/models/CreateAttemptRequest.js.map +1 -0
  101. package/dist/models/CreateAttemptRequestData.d.ts +54 -0
  102. package/dist/models/CreateAttemptRequestData.d.ts.map +1 -0
  103. package/dist/models/CreateAttemptRequestData.js +66 -0
  104. package/dist/models/CreateAttemptRequestData.js.map +1 -0
  105. package/dist/models/CreateAttemptRequestDataAttributes.d.ts +45 -0
  106. package/dist/models/CreateAttemptRequestDataAttributes.d.ts.map +1 -0
  107. package/dist/models/CreateAttemptRequestDataAttributes.js +53 -0
  108. package/dist/models/CreateAttemptRequestDataAttributes.js.map +1 -0
  109. package/dist/models/CreateAttemptRequestDataRelationships.d.ts +45 -0
  110. package/dist/models/CreateAttemptRequestDataRelationships.d.ts.map +1 -0
  111. package/dist/models/CreateAttemptRequestDataRelationships.js +57 -0
  112. package/dist/models/CreateAttemptRequestDataRelationships.js.map +1 -0
  113. package/dist/models/GuestAttemptSchema.d.ts +51 -0
  114. package/dist/models/GuestAttemptSchema.d.ts.map +1 -0
  115. package/dist/models/GuestAttemptSchema.js +56 -0
  116. package/dist/models/GuestAttemptSchema.js.map +1 -0
  117. package/dist/models/GuestMetaSchema.d.ts +43 -0
  118. package/dist/models/GuestMetaSchema.d.ts.map +1 -0
  119. package/dist/models/GuestMetaSchema.js +55 -0
  120. package/dist/models/GuestMetaSchema.js.map +1 -0
  121. package/dist/models/QuestionSchema.d.ts +190 -0
  122. package/dist/models/QuestionSchema.d.ts.map +1 -0
  123. package/dist/models/QuestionSchema.js +112 -0
  124. package/dist/models/QuestionSchema.js.map +1 -0
  125. package/dist/models/QuestionSchemaOptionsInner.d.ts +47 -0
  126. package/dist/models/QuestionSchemaOptionsInner.d.ts.map +1 -0
  127. package/dist/models/QuestionSchemaOptionsInner.js +53 -0
  128. package/dist/models/QuestionSchemaOptionsInner.js.map +1 -0
  129. package/dist/models/StartGuestAttemptRequest.d.ts +41 -0
  130. package/dist/models/StartGuestAttemptRequest.d.ts.map +1 -0
  131. package/dist/models/StartGuestAttemptRequest.js +57 -0
  132. package/dist/models/StartGuestAttemptRequest.js.map +1 -0
  133. package/dist/models/StartGuestAttemptRequestData.d.ts +46 -0
  134. package/dist/models/StartGuestAttemptRequestData.d.ts.map +1 -0
  135. package/dist/models/StartGuestAttemptRequestData.js +62 -0
  136. package/dist/models/StartGuestAttemptRequestData.js.map +1 -0
  137. package/dist/models/UpdateAttemptRequest.d.ts +34 -0
  138. package/dist/models/UpdateAttemptRequest.d.ts.map +1 -0
  139. package/dist/models/UpdateAttemptRequest.js +52 -0
  140. package/dist/models/UpdateAttemptRequest.js.map +1 -0
  141. package/dist/models/UpdateAttemptRequestData.d.ts +58 -0
  142. package/dist/models/UpdateAttemptRequestData.d.ts.map +1 -0
  143. package/dist/models/UpdateAttemptRequestData.js +66 -0
  144. package/dist/models/UpdateAttemptRequestData.js.map +1 -0
  145. package/dist/models/UpdateGuestAttemptRequest.d.ts +41 -0
  146. package/dist/models/UpdateGuestAttemptRequest.d.ts.map +1 -0
  147. package/dist/models/UpdateGuestAttemptRequest.js +57 -0
  148. package/dist/models/UpdateGuestAttemptRequest.js.map +1 -0
  149. package/dist/models/UpdateGuestAttemptRequestData.d.ts +53 -0
  150. package/dist/models/UpdateGuestAttemptRequestData.d.ts.map +1 -0
  151. package/dist/models/UpdateGuestAttemptRequestData.js +65 -0
  152. package/dist/models/UpdateGuestAttemptRequestData.js.map +1 -0
  153. package/dist/models/UpdateGuestAttemptRequestDataAttributes.d.ts +53 -0
  154. package/dist/models/UpdateGuestAttemptRequestDataAttributes.d.ts.map +1 -0
  155. package/dist/models/UpdateGuestAttemptRequestDataAttributes.js +61 -0
  156. package/dist/models/UpdateGuestAttemptRequestDataAttributes.js.map +1 -0
  157. package/dist/models/UpdateGuestAttemptRequestDataAttributesAnswersInner.d.ts +46 -0
  158. package/dist/models/UpdateGuestAttemptRequestDataAttributesAnswersInner.d.ts.map +1 -0
  159. package/dist/models/UpdateGuestAttemptRequestDataAttributesAnswersInner.js +54 -0
  160. package/dist/models/UpdateGuestAttemptRequestDataAttributesAnswersInner.js.map +1 -0
  161. package/dist/models/UpdateGuestAttemptRequestDataAttributesAnswersInnerFilesInner.d.ts +51 -0
  162. package/dist/models/UpdateGuestAttemptRequestDataAttributesAnswersInnerFilesInner.d.ts.map +1 -0
  163. package/dist/models/UpdateGuestAttemptRequestDataAttributesAnswersInnerFilesInner.js +55 -0
  164. package/dist/models/UpdateGuestAttemptRequestDataAttributesAnswersInnerFilesInner.js.map +1 -0
  165. package/dist/models/index.d.ts +37 -0
  166. package/dist/models/index.d.ts.map +1 -1
  167. package/dist/models/index.js +37 -0
  168. package/dist/models/index.js.map +1 -1
  169. package/package.json +1 -1
@@ -0,0 +1,45 @@
1
+ /**
2
+ * SmartyMeet Dev03 API REST
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.1
6
+ * Contact: developer@smartymeet.com
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 CreateAttemptRequestDataRelationships
16
+ */
17
+ export interface CreateAttemptRequestDataRelationships {
18
+ /**
19
+ *
20
+ * @type {object}
21
+ * @memberof CreateAttemptRequestDataRelationships
22
+ */
23
+ assessment: object;
24
+ /**
25
+ *
26
+ * @type {object}
27
+ * @memberof CreateAttemptRequestDataRelationships
28
+ */
29
+ candidate: object;
30
+ /**
31
+ *
32
+ * @type {object}
33
+ * @memberof CreateAttemptRequestDataRelationships
34
+ */
35
+ job?: object;
36
+ }
37
+ /**
38
+ * Check if a given object implements the CreateAttemptRequestDataRelationships interface.
39
+ */
40
+ export declare function instanceOfCreateAttemptRequestDataRelationships(value: object): value is CreateAttemptRequestDataRelationships;
41
+ export declare function CreateAttemptRequestDataRelationshipsFromJSON(json: any): CreateAttemptRequestDataRelationships;
42
+ export declare function CreateAttemptRequestDataRelationshipsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAttemptRequestDataRelationships;
43
+ export declare function CreateAttemptRequestDataRelationshipsToJSON(json: any): CreateAttemptRequestDataRelationships;
44
+ export declare function CreateAttemptRequestDataRelationshipsToJSONTyped(value?: CreateAttemptRequestDataRelationships | null, ignoreDiscriminator?: boolean): any;
45
+ //# sourceMappingURL=CreateAttemptRequestDataRelationships.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateAttemptRequestDataRelationships.d.ts","sourceRoot":"","sources":["../../src/models/CreateAttemptRequestDataRelationships.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qCAAqC;IAClD;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,+CAA+C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qCAAqC,CAI7H;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,GAAG,qCAAqC,CAE9G;AAED,wBAAgB,kDAAkD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qCAAqC,CAUjJ;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,GAAG,qCAAqC,CAE5G;AAED,wBAAgB,gDAAgD,CAAC,KAAK,CAAC,EAAE,qCAAqC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhK"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SmartyMeet Dev03 API REST
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.1
9
+ * Contact: developer@smartymeet.com
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.instanceOfCreateAttemptRequestDataRelationships = instanceOfCreateAttemptRequestDataRelationships;
17
+ exports.CreateAttemptRequestDataRelationshipsFromJSON = CreateAttemptRequestDataRelationshipsFromJSON;
18
+ exports.CreateAttemptRequestDataRelationshipsFromJSONTyped = CreateAttemptRequestDataRelationshipsFromJSONTyped;
19
+ exports.CreateAttemptRequestDataRelationshipsToJSON = CreateAttemptRequestDataRelationshipsToJSON;
20
+ exports.CreateAttemptRequestDataRelationshipsToJSONTyped = CreateAttemptRequestDataRelationshipsToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CreateAttemptRequestDataRelationships interface.
23
+ */
24
+ function instanceOfCreateAttemptRequestDataRelationships(value) {
25
+ if (!('assessment' in value) || value['assessment'] === undefined)
26
+ return false;
27
+ if (!('candidate' in value) || value['candidate'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function CreateAttemptRequestDataRelationshipsFromJSON(json) {
32
+ return CreateAttemptRequestDataRelationshipsFromJSONTyped(json, false);
33
+ }
34
+ function CreateAttemptRequestDataRelationshipsFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'assessment': json['assessment'],
40
+ 'candidate': json['candidate'],
41
+ 'job': json['job'] == null ? undefined : json['job'],
42
+ };
43
+ }
44
+ function CreateAttemptRequestDataRelationshipsToJSON(json) {
45
+ return CreateAttemptRequestDataRelationshipsToJSONTyped(json, false);
46
+ }
47
+ function CreateAttemptRequestDataRelationshipsToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'assessment': value['assessment'],
53
+ 'candidate': value['candidate'],
54
+ 'job': value['job'],
55
+ };
56
+ }
57
+ //# sourceMappingURL=CreateAttemptRequestDataRelationships.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateAttemptRequestDataRelationships.js","sourceRoot":"","sources":["../../src/models/CreateAttemptRequestDataRelationships.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgCH,0GAIC;AAED,sGAEC;AAED,gHAUC;AAED,kGAEC;AAED,4GAWC;AAxCD;;GAEG;AACH,SAAgB,+CAA+C,CAAC,KAAa;IACzE,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,6CAA6C,CAAC,IAAS;IACnE,OAAO,kDAAkD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3E,CAAC;AAED,SAAgB,kDAAkD,CAAC,IAAS,EAAE,mBAA4B;IACtG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;QAChC,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;KACvD,CAAC;AACN,CAAC;AAED,SAAgB,2CAA2C,CAAC,IAAS;IACjE,OAAO,gDAAgD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzE,CAAC;AAED,SAAgB,gDAAgD,CAAC,KAAoD,EAAE,sBAA+B,KAAK;IACvJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;KACtB,CAAC;AACN,CAAC"}
@@ -0,0 +1,51 @@
1
+ /**
2
+ * SmartyMeet Dev03 API REST
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.1
6
+ * Contact: developer@smartymeet.com
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 { ResourceLinksSchema } from './ResourceLinksSchema';
13
+ import type { AttemptResourceSchema } from './AttemptResourceSchema';
14
+ import type { AssessmentResourceSchema } from './AssessmentResourceSchema';
15
+ /**
16
+ * Candidate-facing view of an attempt. Same shape as AttemptSchema
17
+ * but `data.attributes.evaluation` is omitted while status is below
18
+ * `evaluated`, and `included[]` carries the assessment template
19
+ * with answerKey, scoringRubric, and option.isCorrect stripped.
20
+ * @export
21
+ * @interface GuestAttemptSchema
22
+ */
23
+ export interface GuestAttemptSchema {
24
+ /**
25
+ *
26
+ * @type {AttemptResourceSchema}
27
+ * @memberof GuestAttemptSchema
28
+ */
29
+ data?: AttemptResourceSchema;
30
+ /**
31
+ * Bundled template (filtered) - `[{type:'assessments', id, attributes}]`.
32
+ * @type {Array<AssessmentResourceSchema>}
33
+ * @memberof GuestAttemptSchema
34
+ */
35
+ included?: Array<AssessmentResourceSchema>;
36
+ /**
37
+ *
38
+ * @type {ResourceLinksSchema}
39
+ * @memberof GuestAttemptSchema
40
+ */
41
+ links?: ResourceLinksSchema;
42
+ }
43
+ /**
44
+ * Check if a given object implements the GuestAttemptSchema interface.
45
+ */
46
+ export declare function instanceOfGuestAttemptSchema(value: object): value is GuestAttemptSchema;
47
+ export declare function GuestAttemptSchemaFromJSON(json: any): GuestAttemptSchema;
48
+ export declare function GuestAttemptSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): GuestAttemptSchema;
49
+ export declare function GuestAttemptSchemaToJSON(json: any): GuestAttemptSchema;
50
+ export declare function GuestAttemptSchemaToJSONTyped(value?: GuestAttemptSchema | null, ignoreDiscriminator?: boolean): any;
51
+ //# sourceMappingURL=GuestAttemptSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GuestAttemptSchema.d.ts","sourceRoot":"","sources":["../../src/models/GuestAttemptSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;;;;GAOG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAC3C;;;;OAIG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC/B;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kBAAkB,CAEvF;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAU3G;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAEtE;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW1H"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SmartyMeet Dev03 API REST
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.1
9
+ * Contact: developer@smartymeet.com
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.instanceOfGuestAttemptSchema = instanceOfGuestAttemptSchema;
17
+ exports.GuestAttemptSchemaFromJSON = GuestAttemptSchemaFromJSON;
18
+ exports.GuestAttemptSchemaFromJSONTyped = GuestAttemptSchemaFromJSONTyped;
19
+ exports.GuestAttemptSchemaToJSON = GuestAttemptSchemaToJSON;
20
+ exports.GuestAttemptSchemaToJSONTyped = GuestAttemptSchemaToJSONTyped;
21
+ const ResourceLinksSchema_1 = require("./ResourceLinksSchema");
22
+ const AttemptResourceSchema_1 = require("./AttemptResourceSchema");
23
+ const AssessmentResourceSchema_1 = require("./AssessmentResourceSchema");
24
+ /**
25
+ * Check if a given object implements the GuestAttemptSchema interface.
26
+ */
27
+ function instanceOfGuestAttemptSchema(value) {
28
+ return true;
29
+ }
30
+ function GuestAttemptSchemaFromJSON(json) {
31
+ return GuestAttemptSchemaFromJSONTyped(json, false);
32
+ }
33
+ function GuestAttemptSchemaFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'data': json['data'] == null ? undefined : (0, AttemptResourceSchema_1.AttemptResourceSchemaFromJSON)(json['data']),
39
+ 'included': json['included'] == null ? undefined : (json['included'].map(AssessmentResourceSchema_1.AssessmentResourceSchemaFromJSON)),
40
+ 'links': json['links'] == null ? undefined : (0, ResourceLinksSchema_1.ResourceLinksSchemaFromJSON)(json['links']),
41
+ };
42
+ }
43
+ function GuestAttemptSchemaToJSON(json) {
44
+ return GuestAttemptSchemaToJSONTyped(json, false);
45
+ }
46
+ function GuestAttemptSchemaToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'data': (0, AttemptResourceSchema_1.AttemptResourceSchemaToJSON)(value['data']),
52
+ 'included': value['included'] == null ? undefined : (value['included'].map(AssessmentResourceSchema_1.AssessmentResourceSchemaToJSON)),
53
+ 'links': (0, ResourceLinksSchema_1.ResourceLinksSchemaToJSON)(value['links']),
54
+ };
55
+ }
56
+ //# sourceMappingURL=GuestAttemptSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GuestAttemptSchema.js","sourceRoot":"","sources":["../../src/models/GuestAttemptSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAyDH,oEAEC;AAED,gEAEC;AAED,0EAUC;AAED,4DAEC;AAED,sEAWC;AAxFD,+DAK+B;AAE/B,mEAKiC;AAEjC,yEAKoC;AA+BpC;;GAEG;AACH,SAAgB,4BAA4B,CAAC,KAAa;IACtD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,0BAA0B,CAAC,IAAS;IAChD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC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
1
+ /**
2
+ * SmartyMeet Dev03 API REST
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.1
6
+ * Contact: developer@smartymeet.com
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
+ * Auth context for unauthenticated /v1/guest/attempts/* writes.
14
+ * tenantId scopes the call; accessToken is the per-attempt token
15
+ * issued at create time. Token mismatch returns 404 (intentionally
16
+ * indistinguishable from "attempt not found" so we don't leak
17
+ * attempt existence).
18
+ * @export
19
+ * @interface GuestMetaSchema
20
+ */
21
+ export interface GuestMetaSchema {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GuestMetaSchema
26
+ */
27
+ tenantId: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof GuestMetaSchema
32
+ */
33
+ accessToken: string;
34
+ }
35
+ /**
36
+ * Check if a given object implements the GuestMetaSchema interface.
37
+ */
38
+ export declare function instanceOfGuestMetaSchema(value: object): value is GuestMetaSchema;
39
+ export declare function GuestMetaSchemaFromJSON(json: any): GuestMetaSchema;
40
+ export declare function GuestMetaSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): GuestMetaSchema;
41
+ export declare function GuestMetaSchemaToJSON(json: any): GuestMetaSchema;
42
+ export declare function GuestMetaSchemaToJSONTyped(value?: GuestMetaSchema | null, ignoreDiscriminator?: boolean): any;
43
+ //# sourceMappingURL=GuestMetaSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GuestMetaSchema.d.ts","sourceRoot":"","sources":["../../src/models/GuestMetaSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;;;;;GAQG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAIjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CASrG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpH"}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SmartyMeet Dev03 API REST
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.1
9
+ * Contact: developer@smartymeet.com
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.instanceOfGuestMetaSchema = instanceOfGuestMetaSchema;
17
+ exports.GuestMetaSchemaFromJSON = GuestMetaSchemaFromJSON;
18
+ exports.GuestMetaSchemaFromJSONTyped = GuestMetaSchemaFromJSONTyped;
19
+ exports.GuestMetaSchemaToJSON = GuestMetaSchemaToJSON;
20
+ exports.GuestMetaSchemaToJSONTyped = GuestMetaSchemaToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GuestMetaSchema interface.
23
+ */
24
+ function instanceOfGuestMetaSchema(value) {
25
+ if (!('tenantId' in value) || value['tenantId'] === undefined)
26
+ return false;
27
+ if (!('accessToken' in value) || value['accessToken'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function GuestMetaSchemaFromJSON(json) {
32
+ return GuestMetaSchemaFromJSONTyped(json, false);
33
+ }
34
+ function GuestMetaSchemaFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'tenantId': json['tenantId'],
40
+ 'accessToken': json['accessToken'],
41
+ };
42
+ }
43
+ function GuestMetaSchemaToJSON(json) {
44
+ return GuestMetaSchemaToJSONTyped(json, false);
45
+ }
46
+ function GuestMetaSchemaToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'tenantId': value['tenantId'],
52
+ 'accessToken': value['accessToken'],
53
+ };
54
+ }
55
+ //# sourceMappingURL=GuestMetaSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GuestMetaSchema.js","sourceRoot":"","sources":["../../src/models/GuestMetaSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA8BH,8DAIC;AAED,0DAEC;AAED,oEASC;AAED,sDAEC;AAED,gEAUC;AAtCD;;GAEG;AACH,SAAgB,yBAAyB,CAAC,KAAa;IACnD,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAED,SAAgB,4BAA4B,CAAC,IAAS,EAAE,mBAA4B;IAChF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAC5B,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;KACrC,CAAC;AACN,CAAC;AAED,SAAgB,qBAAqB,CAAC,IAAS;IAC3C,OAAO,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnD,CAAC;AAED,SAAgB,0BAA0B,CAAC,KAA8B,EAAE,sBAA+B,KAAK;IAC3G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;KACtC,CAAC;AACN,CAAC"}
@@ -0,0 +1,190 @@
1
+ /**
2
+ * SmartyMeet Dev03 API REST
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.1
6
+ * Contact: developer@smartymeet.com
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 { QuestionSchemaOptionsInner } from './QuestionSchemaOptionsInner';
13
+ /**
14
+ * A single assessment question. Eight question types - the optional
15
+ * fields below are interpreted based on `type`. See
16
+ * `Question.value` shapes in AnswerSchema for what the candidate
17
+ * sends back per type.
18
+ *
19
+ * SECURITY: `answerKey`, `scoringRubric`, and `options[].isCorrect`
20
+ * are stripped server-side before responses are returned to candidates
21
+ * via /v1/guest/attempts/* - they are recruiter-only fields.
22
+ * @export
23
+ * @interface QuestionSchema
24
+ */
25
+ export interface QuestionSchema {
26
+ /**
27
+ * Stable identifier (e.g. 'q1'). Candidates' answers reference this.
28
+ * @type {string}
29
+ * @memberof QuestionSchema
30
+ */
31
+ questionId: string;
32
+ /**
33
+ *
34
+ * @type {QuestionSchemaTypeEnum}
35
+ * @memberof QuestionSchema
36
+ */
37
+ type: QuestionSchemaTypeEnum;
38
+ /**
39
+ * Free-form tag for analytics (e.g. 'soft-skills', 'hard-skills', 'general').
40
+ * @type {string}
41
+ * @memberof QuestionSchema
42
+ */
43
+ category?: string;
44
+ /**
45
+ *
46
+ * @type {QuestionSchemaDifficultyEnum}
47
+ * @memberof QuestionSchema
48
+ */
49
+ difficulty?: QuestionSchemaDifficultyEnum;
50
+ /**
51
+ * Maximum score for this question. Defaults to 1.
52
+ * @type {number}
53
+ * @memberof QuestionSchema
54
+ */
55
+ points?: number;
56
+ /**
57
+ *
58
+ * @type {boolean}
59
+ * @memberof QuestionSchema
60
+ */
61
+ required?: boolean;
62
+ /**
63
+ * Multilingual question text.
64
+ * @type {{ [key: string]: string; }}
65
+ * @memberof QuestionSchema
66
+ */
67
+ text?: {
68
+ [key: string]: string;
69
+ };
70
+ /**
71
+ * Choices for single-choice / multiple-choice / ranking /
72
+ * situational-judgment. Canonical shape is
73
+ * `{ id, text: { locale: string }, isCorrect?: bool }`. Bare
74
+ * locale-map options exist in legacy data but are deprecated.
75
+ * @type {Array<QuestionSchemaOptionsInner>}
76
+ * @memberof QuestionSchema
77
+ */
78
+ options?: Array<QuestionSchemaOptionsInner>;
79
+ /**
80
+ * Lower bound for `scale` type questions.
81
+ * @type {number}
82
+ * @memberof QuestionSchema
83
+ */
84
+ scaleMin?: number;
85
+ /**
86
+ * Upper bound for `scale` type questions.
87
+ * @type {number}
88
+ * @memberof QuestionSchema
89
+ */
90
+ scaleMax?: number;
91
+ /**
92
+ * Optional labels per step value, multilingual.
93
+ * `{ "1": { "en-US": "Strongly disagree" }, "5": { "en-US": "Strongly agree" } }`.
94
+ * @type {{ [key: string]: { [key: string]: string; }; }}
95
+ * @memberof QuestionSchema
96
+ */
97
+ scaleLabels?: {
98
+ [key: string]: {
99
+ [key: string]: string;
100
+ };
101
+ };
102
+ /**
103
+ * Multilingual placeholder text for `open-text` questions.
104
+ * @type {{ [key: string]: string; }}
105
+ * @memberof QuestionSchema
106
+ */
107
+ placeholder?: {
108
+ [key: string]: string;
109
+ };
110
+ /**
111
+ * Multilingual scenario body for `situational-judgment` questions.
112
+ * @type {{ [key: string]: string; }}
113
+ * @memberof QuestionSchema
114
+ */
115
+ scenario?: {
116
+ [key: string]: string;
117
+ };
118
+ /**
119
+ * Accepted MIME or extension list for `file-upload` (e.g. ['.pdf', '.png']).
120
+ * @type {Array<string>}
121
+ * @memberof QuestionSchema
122
+ */
123
+ acceptedFormats?: Array<string>;
124
+ /**
125
+ * Maximum recording length in seconds for `video-recording`.
126
+ * @type {number}
127
+ * @memberof QuestionSchema
128
+ */
129
+ maxDuration?: number;
130
+ /**
131
+ * Maximum recording retakes the candidate may use on `video-recording`.
132
+ * @type {number}
133
+ * @memberof QuestionSchema
134
+ */
135
+ maxAttempts?: number;
136
+ /**
137
+ * Multilingual explanation shown post-submission on review screens.
138
+ * @type {{ [key: string]: string; }}
139
+ * @memberof QuestionSchema
140
+ */
141
+ explanation?: {
142
+ [key: string]: string;
143
+ };
144
+ /**
145
+ * Recruiter-only. The correct option id for `single-choice`. NEVER
146
+ * returned by /v1/guest/attempts/* endpoints.
147
+ * @type {string}
148
+ * @memberof QuestionSchema
149
+ */
150
+ answerKey?: string;
151
+ /**
152
+ * Recruiter-only. Free-form scoring rubric the AI evaluator uses
153
+ * for `open-text`. NEVER returned by guest endpoints.
154
+ * @type {string}
155
+ * @memberof QuestionSchema
156
+ */
157
+ scoringRubric?: string;
158
+ }
159
+ /**
160
+ * @export
161
+ */
162
+ export declare const QuestionSchemaTypeEnum: {
163
+ readonly SingleChoice: "single-choice";
164
+ readonly MultipleChoice: "multiple-choice";
165
+ readonly Scale: "scale";
166
+ readonly OpenText: "open-text";
167
+ readonly Ranking: "ranking";
168
+ readonly SituationalJudgment: "situational-judgment";
169
+ readonly FileUpload: "file-upload";
170
+ readonly VideoRecording: "video-recording";
171
+ };
172
+ export type QuestionSchemaTypeEnum = typeof QuestionSchemaTypeEnum[keyof typeof QuestionSchemaTypeEnum];
173
+ /**
174
+ * @export
175
+ */
176
+ export declare const QuestionSchemaDifficultyEnum: {
177
+ readonly Easy: "easy";
178
+ readonly Medium: "medium";
179
+ readonly Hard: "hard";
180
+ };
181
+ export type QuestionSchemaDifficultyEnum = typeof QuestionSchemaDifficultyEnum[keyof typeof QuestionSchemaDifficultyEnum];
182
+ /**
183
+ * Check if a given object implements the QuestionSchema interface.
184
+ */
185
+ export declare function instanceOfQuestionSchema(value: object): value is QuestionSchema;
186
+ export declare function QuestionSchemaFromJSON(json: any): QuestionSchema;
187
+ export declare function QuestionSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuestionSchema;
188
+ export declare function QuestionSchemaToJSON(json: any): QuestionSchema;
189
+ export declare function QuestionSchemaToJSONTyped(value?: QuestionSchema | null, ignoreDiscriminator?: boolean): any;
190
+ //# sourceMappingURL=QuestionSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuestionSchema.d.ts","sourceRoot":"","sources":["../../src/models/QuestionSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAQ/E;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,IAAI,EAAE,sBAAsB,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,CAAC,EAAE,4BAA4B,CAAC;IAC1C;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAClC;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,KA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I/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CA0BnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA2BlH"}
@@ -0,0 +1,112 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SmartyMeet Dev03 API REST
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.1
9
+ * Contact: developer@smartymeet.com
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.QuestionSchemaDifficultyEnum = exports.QuestionSchemaTypeEnum = void 0;
17
+ exports.instanceOfQuestionSchema = instanceOfQuestionSchema;
18
+ exports.QuestionSchemaFromJSON = QuestionSchemaFromJSON;
19
+ exports.QuestionSchemaFromJSONTyped = QuestionSchemaFromJSONTyped;
20
+ exports.QuestionSchemaToJSON = QuestionSchemaToJSON;
21
+ exports.QuestionSchemaToJSONTyped = QuestionSchemaToJSONTyped;
22
+ const QuestionSchemaOptionsInner_1 = require("./QuestionSchemaOptionsInner");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.QuestionSchemaTypeEnum = {
27
+ SingleChoice: 'single-choice',
28
+ MultipleChoice: 'multiple-choice',
29
+ Scale: 'scale',
30
+ OpenText: 'open-text',
31
+ Ranking: 'ranking',
32
+ SituationalJudgment: 'situational-judgment',
33
+ FileUpload: 'file-upload',
34
+ VideoRecording: 'video-recording'
35
+ };
36
+ /**
37
+ * @export
38
+ */
39
+ exports.QuestionSchemaDifficultyEnum = {
40
+ Easy: 'easy',
41
+ Medium: 'medium',
42
+ Hard: 'hard'
43
+ };
44
+ /**
45
+ * Check if a given object implements the QuestionSchema interface.
46
+ */
47
+ function instanceOfQuestionSchema(value) {
48
+ if (!('questionId' in value) || value['questionId'] === undefined)
49
+ return false;
50
+ if (!('type' in value) || value['type'] === undefined)
51
+ return false;
52
+ return true;
53
+ }
54
+ function QuestionSchemaFromJSON(json) {
55
+ return QuestionSchemaFromJSONTyped(json, false);
56
+ }
57
+ function QuestionSchemaFromJSONTyped(json, ignoreDiscriminator) {
58
+ if (json == null) {
59
+ return json;
60
+ }
61
+ return {
62
+ 'questionId': json['questionId'],
63
+ 'type': json['type'],
64
+ 'category': json['category'] == null ? undefined : json['category'],
65
+ 'difficulty': json['difficulty'] == null ? undefined : json['difficulty'],
66
+ 'points': json['points'] == null ? undefined : json['points'],
67
+ 'required': json['required'] == null ? undefined : json['required'],
68
+ 'text': json['text'] == null ? undefined : json['text'],
69
+ 'options': json['options'] == null ? undefined : (json['options'].map(QuestionSchemaOptionsInner_1.QuestionSchemaOptionsInnerFromJSON)),
70
+ 'scaleMin': json['scaleMin'] == null ? undefined : json['scaleMin'],
71
+ 'scaleMax': json['scaleMax'] == null ? undefined : json['scaleMax'],
72
+ 'scaleLabels': json['scaleLabels'] == null ? undefined : json['scaleLabels'],
73
+ 'placeholder': json['placeholder'] == null ? undefined : json['placeholder'],
74
+ 'scenario': json['scenario'] == null ? undefined : json['scenario'],
75
+ 'acceptedFormats': json['acceptedFormats'] == null ? undefined : json['acceptedFormats'],
76
+ 'maxDuration': json['maxDuration'] == null ? undefined : json['maxDuration'],
77
+ 'maxAttempts': json['maxAttempts'] == null ? undefined : json['maxAttempts'],
78
+ 'explanation': json['explanation'] == null ? undefined : json['explanation'],
79
+ 'answerKey': json['answerKey'] == null ? undefined : json['answerKey'],
80
+ 'scoringRubric': json['scoringRubric'] == null ? undefined : json['scoringRubric'],
81
+ };
82
+ }
83
+ function QuestionSchemaToJSON(json) {
84
+ return QuestionSchemaToJSONTyped(json, false);
85
+ }
86
+ function QuestionSchemaToJSONTyped(value, ignoreDiscriminator = false) {
87
+ if (value == null) {
88
+ return value;
89
+ }
90
+ return {
91
+ 'questionId': value['questionId'],
92
+ 'type': value['type'],
93
+ 'category': value['category'],
94
+ 'difficulty': value['difficulty'],
95
+ 'points': value['points'],
96
+ 'required': value['required'],
97
+ 'text': value['text'],
98
+ 'options': value['options'] == null ? undefined : (value['options'].map(QuestionSchemaOptionsInner_1.QuestionSchemaOptionsInnerToJSON)),
99
+ 'scaleMin': value['scaleMin'],
100
+ 'scaleMax': value['scaleMax'],
101
+ 'scaleLabels': value['scaleLabels'],
102
+ 'placeholder': value['placeholder'],
103
+ 'scenario': value['scenario'],
104
+ 'acceptedFormats': value['acceptedFormats'],
105
+ 'maxDuration': value['maxDuration'],
106
+ 'maxAttempts': value['maxAttempts'],
107
+ 'explanation': value['explanation'],
108
+ 'answerKey': value['answerKey'],
109
+ 'scoringRubric': value['scoringRubric'],
110
+ };
111
+ }
112
+ //# sourceMappingURL=QuestionSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuestionSchema.js","sourceRoot":"","sources":["../../src/models/QuestionSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAgLH,4DAIC;AAED,wDAEC;AAED,kEA0BC;AAED,oDAEC;AAED,8DA2BC;AAjPD,6EAKsC;AA0ItC;;GAEG;AACU,QAAA,sBAAsB,GAAG;IAClC,YAAY,EAAE,eAAe;IAC7B,cAAc,EAAE,iBAAiB;IACjC,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,WAAW;IACrB,OAAO,EAAE,SAAS;IAClB,mBAAmB,EAAE,sBAAsB;IAC3C,UAAU,EAAE,aAAa;IACzB,cAAc,EAAE,iBAAiB;CAC3B,C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