@smartytalent/api-client 0.1.33-dev.36 → 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.
- package/dist/apis/AssessmentsApi.d.ts +28 -2
- package/dist/apis/AssessmentsApi.d.ts.map +1 -1
- package/dist/apis/AssessmentsApi.js +41 -3
- package/dist/apis/AssessmentsApi.js.map +1 -1
- package/dist/apis/AttemptsApi.d.ts +17 -17
- package/dist/apis/AttemptsApi.d.ts.map +1 -1
- package/dist/apis/AttemptsApi.js +24 -16
- package/dist/apis/AttemptsApi.js.map +1 -1
- package/dist/models/AnswerFileSchema.d.ts +51 -0
- package/dist/models/AnswerFileSchema.d.ts.map +1 -0
- package/dist/models/AnswerFileSchema.js +55 -0
- package/dist/models/AnswerFileSchema.js.map +1 -0
- package/dist/models/AnswerSchema.d.ts +76 -0
- package/dist/models/AnswerSchema.d.ts.map +1 -0
- package/dist/models/AnswerSchema.js +73 -0
- package/dist/models/AnswerSchema.js.map +1 -0
- package/dist/models/AnswerSchemaValue.d.ts +31 -0
- package/dist/models/AnswerSchemaValue.d.ts.map +1 -0
- package/dist/models/AnswerSchemaValue.js +73 -0
- package/dist/models/AnswerSchemaValue.js.map +1 -0
- package/dist/models/AnswerSchemaValueOneOf.d.ts +39 -0
- package/dist/models/AnswerSchemaValueOneOf.d.ts.map +1 -0
- package/dist/models/AnswerSchemaValueOneOf.js +51 -0
- package/dist/models/AnswerSchemaValueOneOf.js.map +1 -0
- package/dist/models/AssessmentAttributesSchema.d.ts +34 -19
- package/dist/models/AssessmentAttributesSchema.d.ts.map +1 -1
- package/dist/models/AssessmentAttributesSchema.js +12 -10
- package/dist/models/AssessmentAttributesSchema.js.map +1 -1
- package/dist/models/AttemptAttributesSchema.d.ts +128 -0
- package/dist/models/AttemptAttributesSchema.d.ts.map +1 -0
- package/dist/models/AttemptAttributesSchema.js +92 -0
- package/dist/models/AttemptAttributesSchema.js.map +1 -0
- package/dist/models/AttemptEvaluationSchema.d.ts +94 -0
- package/dist/models/AttemptEvaluationSchema.d.ts.map +1 -0
- package/dist/models/AttemptEvaluationSchema.js +76 -0
- package/dist/models/AttemptEvaluationSchema.js.map +1 -0
- package/dist/models/AttemptEvaluationSchemaPerQuestionInner.d.ts +57 -0
- package/dist/models/AttemptEvaluationSchemaPerQuestionInner.d.ts.map +1 -0
- package/dist/models/AttemptEvaluationSchemaPerQuestionInner.js +61 -0
- package/dist/models/AttemptEvaluationSchemaPerQuestionInner.js.map +1 -0
- package/dist/models/AttemptProctoringSchema.d.ts +51 -0
- package/dist/models/AttemptProctoringSchema.d.ts.map +1 -0
- package/dist/models/AttemptProctoringSchema.js +55 -0
- package/dist/models/AttemptProctoringSchema.js.map +1 -0
- package/dist/models/AttemptRelationshipsAssessmentDataSchema.d.ts +46 -0
- package/dist/models/AttemptRelationshipsAssessmentDataSchema.d.ts.map +1 -0
- package/dist/models/AttemptRelationshipsAssessmentDataSchema.js +58 -0
- package/dist/models/AttemptRelationshipsAssessmentDataSchema.js.map +1 -0
- package/dist/models/AttemptRelationshipsAssessmentSchema.d.ts +34 -0
- package/dist/models/AttemptRelationshipsAssessmentSchema.d.ts.map +1 -0
- package/dist/models/AttemptRelationshipsAssessmentSchema.js +50 -0
- package/dist/models/AttemptRelationshipsAssessmentSchema.js.map +1 -0
- package/dist/models/AttemptRelationshipsCandidateDataSchema.d.ts +46 -0
- package/dist/models/AttemptRelationshipsCandidateDataSchema.d.ts.map +1 -0
- package/dist/models/AttemptRelationshipsCandidateDataSchema.js +58 -0
- package/dist/models/AttemptRelationshipsCandidateDataSchema.js.map +1 -0
- package/dist/models/AttemptRelationshipsCandidateSchema.d.ts +34 -0
- package/dist/models/AttemptRelationshipsCandidateSchema.d.ts.map +1 -0
- package/dist/models/AttemptRelationshipsCandidateSchema.js +50 -0
- package/dist/models/AttemptRelationshipsCandidateSchema.js.map +1 -0
- package/dist/models/AttemptRelationshipsJobDataSchema.d.ts +46 -0
- package/dist/models/AttemptRelationshipsJobDataSchema.d.ts.map +1 -0
- package/dist/models/AttemptRelationshipsJobDataSchema.js +58 -0
- package/dist/models/AttemptRelationshipsJobDataSchema.js.map +1 -0
- package/dist/models/AttemptRelationshipsJobSchema.d.ts +34 -0
- package/dist/models/AttemptRelationshipsJobSchema.d.ts.map +1 -0
- package/dist/models/AttemptRelationshipsJobSchema.js +50 -0
- package/dist/models/AttemptRelationshipsJobSchema.js.map +1 -0
- package/dist/models/AttemptRelationshipsReportDataSchema.d.ts +46 -0
- package/dist/models/AttemptRelationshipsReportDataSchema.d.ts.map +1 -0
- package/dist/models/AttemptRelationshipsReportDataSchema.js +58 -0
- package/dist/models/AttemptRelationshipsReportDataSchema.js.map +1 -0
- package/dist/models/AttemptRelationshipsReportSchema.d.ts +34 -0
- package/dist/models/AttemptRelationshipsReportSchema.d.ts.map +1 -0
- package/dist/models/AttemptRelationshipsReportSchema.js +50 -0
- package/dist/models/AttemptRelationshipsReportSchema.js.map +1 -0
- package/dist/models/AttemptRelationshipsSchema.d.ts +55 -0
- package/dist/models/AttemptRelationshipsSchema.d.ts.map +1 -0
- package/dist/models/AttemptRelationshipsSchema.js +59 -0
- package/dist/models/AttemptRelationshipsSchema.js.map +1 -0
- package/dist/models/AttemptResourceSchema.d.ts +75 -0
- package/dist/models/AttemptResourceSchema.d.ts.map +1 -0
- package/dist/models/AttemptResourceSchema.js +75 -0
- package/dist/models/AttemptResourceSchema.js.map +1 -0
- package/dist/models/AttemptSchema.d.ts +49 -0
- package/dist/models/AttemptSchema.d.ts.map +1 -0
- package/dist/models/AttemptSchema.js +55 -0
- package/dist/models/AttemptSchema.js.map +1 -0
- package/dist/models/AttemptsSchema.d.ts +48 -0
- package/dist/models/AttemptsSchema.d.ts.map +1 -0
- package/dist/models/AttemptsSchema.js +56 -0
- package/dist/models/AttemptsSchema.js.map +1 -0
- package/dist/models/GuestAttemptSchema.d.ts +51 -0
- package/dist/models/GuestAttemptSchema.d.ts.map +1 -0
- package/dist/models/GuestAttemptSchema.js +56 -0
- package/dist/models/GuestAttemptSchema.js.map +1 -0
- package/dist/models/GuestMetaSchema.d.ts +43 -0
- package/dist/models/GuestMetaSchema.d.ts.map +1 -0
- package/dist/models/{StartGuestAttemptRequestMeta.js → GuestMetaSchema.js} +14 -14
- package/dist/models/GuestMetaSchema.js.map +1 -0
- package/dist/models/QuestionSchema.d.ts +190 -0
- package/dist/models/QuestionSchema.d.ts.map +1 -0
- package/dist/models/QuestionSchema.js +112 -0
- package/dist/models/QuestionSchema.js.map +1 -0
- package/dist/models/QuestionSchemaOptionsInner.d.ts +47 -0
- package/dist/models/QuestionSchemaOptionsInner.d.ts.map +1 -0
- package/dist/models/QuestionSchemaOptionsInner.js +53 -0
- package/dist/models/QuestionSchemaOptionsInner.js.map +1 -0
- package/dist/models/StartGuestAttemptRequest.d.ts +3 -3
- package/dist/models/StartGuestAttemptRequest.d.ts.map +1 -1
- package/dist/models/StartGuestAttemptRequest.js +3 -3
- package/dist/models/StartGuestAttemptRequest.js.map +1 -1
- package/dist/models/UpdateGuestAttemptRequest.d.ts +3 -3
- package/dist/models/UpdateGuestAttemptRequest.d.ts.map +1 -1
- package/dist/models/UpdateGuestAttemptRequest.js +3 -3
- package/dist/models/UpdateGuestAttemptRequest.js.map +1 -1
- package/dist/models/index.d.ts +24 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +24 -1
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/models/StartGuestAttemptRequestMeta.d.ts +0 -39
- package/dist/models/StartGuestAttemptRequestMeta.d.ts.map +0 -1
- package/dist/models/StartGuestAttemptRequestMeta.js.map +0 -1
|
@@ -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.instanceOfAttemptSchema = instanceOfAttemptSchema;
|
|
17
|
+
exports.AttemptSchemaFromJSON = AttemptSchemaFromJSON;
|
|
18
|
+
exports.AttemptSchemaFromJSONTyped = AttemptSchemaFromJSONTyped;
|
|
19
|
+
exports.AttemptSchemaToJSON = AttemptSchemaToJSON;
|
|
20
|
+
exports.AttemptSchemaToJSONTyped = AttemptSchemaToJSONTyped;
|
|
21
|
+
const ResourceLinksSchema_1 = require("./ResourceLinksSchema");
|
|
22
|
+
const AttemptResourceSchema_1 = require("./AttemptResourceSchema");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AttemptSchema interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfAttemptSchema(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AttemptSchemaFromJSON(json) {
|
|
30
|
+
return AttemptSchemaFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AttemptSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'data': json['data'] == null ? undefined : (0, AttemptResourceSchema_1.AttemptResourceSchemaFromJSON)(json['data']),
|
|
38
|
+
'links': json['links'] == null ? undefined : (0, ResourceLinksSchema_1.ResourceLinksSchemaFromJSON)(json['links']),
|
|
39
|
+
'meta': json['meta'] == null ? undefined : json['meta'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function AttemptSchemaToJSON(json) {
|
|
43
|
+
return AttemptSchemaToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function AttemptSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'data': (0, AttemptResourceSchema_1.AttemptResourceSchemaToJSON)(value['data']),
|
|
51
|
+
'links': (0, ResourceLinksSchema_1.ResourceLinksSchemaToJSON)(value['links']),
|
|
52
|
+
'meta': value['meta'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=AttemptSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttemptSchema.js","sourceRoot":"","sources":["../../src/models/AttemptSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA+CH,0DAEC;AAED,sDAEC;AAED,gEAUC;AAED,kDAEC;AAED,4DAWC;AA9ED,+DAK+B;AAE/B,mEAKiC;AA4BjC;;GAEG;AACH,SAAgB,uBAAuB,CAAC,KAAa;IACjD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,qBAAqB,CAAC,IAAS;IAC3C,OAAO,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnD,CAAC;AAED,SAAgB,0BAA0B,CAAC,IAAS,EAAE,mBAA4B;IAC9E,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,qDAA6B,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACtF,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,iDAA2B,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;KAC1D,CAAC;AACN,CAAC;AAED,SAAgB,mBAAmB,CAAC,IAAS;IACzC,OAAO,wBAAwB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjD,CAAC;AAED,SAAgB,wBAAwB,CAAC,KAA4B,EAAE,sBAA+B,KAAK;IACvG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,IAAA,mDAA2B,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClD,OAAO,EAAE,IAAA,+CAAyB,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAClD,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { ResourcesMetaSchema } from './ResourcesMetaSchema';
|
|
13
|
+
import type { AttemptResourceSchema } from './AttemptResourceSchema';
|
|
14
|
+
import type { ResourcesLinksSchema } from './ResourcesLinksSchema';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface AttemptsSchema
|
|
19
|
+
*/
|
|
20
|
+
export interface AttemptsSchema {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<AttemptResourceSchema>}
|
|
24
|
+
* @memberof AttemptsSchema
|
|
25
|
+
*/
|
|
26
|
+
data?: Array<AttemptResourceSchema>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {ResourcesLinksSchema}
|
|
30
|
+
* @memberof AttemptsSchema
|
|
31
|
+
*/
|
|
32
|
+
links?: ResourcesLinksSchema;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {ResourcesMetaSchema}
|
|
36
|
+
* @memberof AttemptsSchema
|
|
37
|
+
*/
|
|
38
|
+
meta?: ResourcesMetaSchema;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the AttemptsSchema interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfAttemptsSchema(value: object): value is AttemptsSchema;
|
|
44
|
+
export declare function AttemptsSchemaFromJSON(json: any): AttemptsSchema;
|
|
45
|
+
export declare function AttemptsSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttemptsSchema;
|
|
46
|
+
export declare function AttemptsSchemaToJSON(json: any): AttemptsSchema;
|
|
47
|
+
export declare function AttemptsSchemaToJSONTyped(value?: AttemptsSchema | null, ignoreDiscriminator?: boolean): any;
|
|
48
|
+
//# sourceMappingURL=AttemptsSchema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttemptsSchema.d.ts","sourceRoot":"","sources":["../../src/models/AttemptsSchema.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,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACpC;;;;OAIG;IACH,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B;;;;OAIG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAC;CAC9B;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAE/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAUnG;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,CAWlH"}
|
|
@@ -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.instanceOfAttemptsSchema = instanceOfAttemptsSchema;
|
|
17
|
+
exports.AttemptsSchemaFromJSON = AttemptsSchemaFromJSON;
|
|
18
|
+
exports.AttemptsSchemaFromJSONTyped = AttemptsSchemaFromJSONTyped;
|
|
19
|
+
exports.AttemptsSchemaToJSON = AttemptsSchemaToJSON;
|
|
20
|
+
exports.AttemptsSchemaToJSONTyped = AttemptsSchemaToJSONTyped;
|
|
21
|
+
const ResourcesMetaSchema_1 = require("./ResourcesMetaSchema");
|
|
22
|
+
const AttemptResourceSchema_1 = require("./AttemptResourceSchema");
|
|
23
|
+
const ResourcesLinksSchema_1 = require("./ResourcesLinksSchema");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the AttemptsSchema interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfAttemptsSchema(value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function AttemptsSchemaFromJSON(json) {
|
|
31
|
+
return AttemptsSchemaFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function AttemptsSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'data': json['data'] == null ? undefined : (json['data'].map(AttemptResourceSchema_1.AttemptResourceSchemaFromJSON)),
|
|
39
|
+
'links': json['links'] == null ? undefined : (0, ResourcesLinksSchema_1.ResourcesLinksSchemaFromJSON)(json['links']),
|
|
40
|
+
'meta': json['meta'] == null ? undefined : (0, ResourcesMetaSchema_1.ResourcesMetaSchemaFromJSON)(json['meta']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function AttemptsSchemaToJSON(json) {
|
|
44
|
+
return AttemptsSchemaToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function AttemptsSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'data': value['data'] == null ? undefined : (value['data'].map(AttemptResourceSchema_1.AttemptResourceSchemaToJSON)),
|
|
52
|
+
'links': (0, ResourcesLinksSchema_1.ResourcesLinksSchemaToJSON)(value['links']),
|
|
53
|
+
'meta': (0, ResourcesMetaSchema_1.ResourcesMetaSchemaToJSON)(value['meta']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=AttemptsSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttemptsSchema.js","sourceRoot":"","sources":["../../src/models/AttemptsSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAsDH,4DAEC;AAED,wDAEC;AAED,kEAUC;AAED,oDAEC;AAED,8DAWC;AArFD,+DAK+B;AAE/B,mEAKiC;AAEjC,iEAKgC;AA4BhC;;GAEG;AACH,SAAgB,wBAAwB,CAAC,KAAa;IAClD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,sBAAsB,CAAC,IAAS;IAC5C,OAAO,2BAA2B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC;AAED,SAAgB,2BAA2B,CAAC,IAAS,EAAE,mBAA4B;IAC/E,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,MAAM,CAAgB,CAAC,GAAG,CAAC,qDAA6B,CAAC,CAAC;QAC5G,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,mDAA4B,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxF,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,iDAA2B,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KACvF,CAAC;AACN,CAAC;AAED,SAAgB,oBAAoB,CAAC,IAAS;IAC1C,OAAO,yBAAyB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,SAAgB,yBAAyB,CAAC,KAA6B,EAAE,sBAA+B,KAAK;IACzG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,MAAM,CAAgB,CAAC,GAAG,CAAC,mDAA2B,CAAC,CAAC;QAC5G,OAAO,EAAE,IAAA,iDAA0B,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACnD,MAAM,EAAE,IAAA,+CAAyB,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KACnD,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,CAAC;AACxD,CAAC;AAED,SAAgB,+BAA+B,CAAC,IAAS,EAAE,mBAA4B;IACnF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,qDAA6B,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACtF,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,UAAU,CAAgB,CAAC,GAAG,CAAC,2DAAgC,CAAC,CAAC;QAC3H,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,iDAA2B,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KAC1F,CAAC;AACN,CAAC;AAED,SAAgB,wBAAwB,CAAC,IAAS;IAC9C,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAED,SAAgB,6BAA6B,CAAC,KAAiC,EAAE,sBAA+B,KAAK;IACjH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,IAAA,mDAA2B,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClD,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,UAAU,CAAgB,CAAC,GAAG,CAAC,yDAA8B,CAAC,CAAC;QAC3H,OAAO,EAAE,IAAA,+CAAyB,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;KACrD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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"}
|
|
@@ -13,25 +13,25 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfGuestMetaSchema = instanceOfGuestMetaSchema;
|
|
17
|
+
exports.GuestMetaSchemaFromJSON = GuestMetaSchemaFromJSON;
|
|
18
|
+
exports.GuestMetaSchemaFromJSONTyped = GuestMetaSchemaFromJSONTyped;
|
|
19
|
+
exports.GuestMetaSchemaToJSON = GuestMetaSchemaToJSON;
|
|
20
|
+
exports.GuestMetaSchemaToJSONTyped = GuestMetaSchemaToJSONTyped;
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the GuestMetaSchema interface.
|
|
23
23
|
*/
|
|
24
|
-
function
|
|
24
|
+
function instanceOfGuestMetaSchema(value) {
|
|
25
25
|
if (!('tenantId' in value) || value['tenantId'] === undefined)
|
|
26
26
|
return false;
|
|
27
27
|
if (!('accessToken' in value) || value['accessToken'] === undefined)
|
|
28
28
|
return false;
|
|
29
29
|
return true;
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
return
|
|
31
|
+
function GuestMetaSchemaFromJSON(json) {
|
|
32
|
+
return GuestMetaSchemaFromJSONTyped(json, false);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function GuestMetaSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
35
|
if (json == null) {
|
|
36
36
|
return json;
|
|
37
37
|
}
|
|
@@ -40,10 +40,10 @@ function StartGuestAttemptRequestMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'accessToken': json['accessToken'],
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
return
|
|
43
|
+
function GuestMetaSchemaToJSON(json) {
|
|
44
|
+
return GuestMetaSchemaToJSONTyped(json, false);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function GuestMetaSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
47
|
if (value == null) {
|
|
48
48
|
return value;
|
|
49
49
|
}
|
|
@@ -52,4 +52,4 @@ function StartGuestAttemptRequestMetaToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
52
52
|
'accessToken': value['accessToken'],
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
//# sourceMappingURL=
|
|
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,KAAK,CAAC,0BAA0B,CAAC,CAAC;IAC5C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,WAAW,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;SAAE,CAAC;KAAE,CAAC;IAC7D;;;;OAIG;IACH,WAAW,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACzC;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACtC;;;;OAIG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACzC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AAGD;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;CASzB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC;AAExG;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;;CAI/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC;AAG1H;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAI/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"}
|