@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,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
|
+
/**
|
|
13
|
+
* File reference for upload-type answers. fileUrl is the S3 path; FE never writes there directly - server issues presigned PUT.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AnswerFileSchema
|
|
16
|
+
*/
|
|
17
|
+
export interface AnswerFileSchema {
|
|
18
|
+
/**
|
|
19
|
+
* S3 location (s3://bucket/key) - resolves to a presigned download URL on the recruiter review screen.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AnswerFileSchema
|
|
22
|
+
*/
|
|
23
|
+
fileUrl?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AnswerFileSchema
|
|
28
|
+
*/
|
|
29
|
+
originalFilename?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AnswerFileSchema
|
|
34
|
+
*/
|
|
35
|
+
contentType?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Bytes.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof AnswerFileSchema
|
|
40
|
+
*/
|
|
41
|
+
size?: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the AnswerFileSchema interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfAnswerFileSchema(value: object): value is AnswerFileSchema;
|
|
47
|
+
export declare function AnswerFileSchemaFromJSON(json: any): AnswerFileSchema;
|
|
48
|
+
export declare function AnswerFileSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnswerFileSchema;
|
|
49
|
+
export declare function AnswerFileSchemaToJSON(json: any): AnswerFileSchema;
|
|
50
|
+
export declare function AnswerFileSchemaToJSONTyped(value?: AnswerFileSchema | null, ignoreDiscriminator?: boolean): any;
|
|
51
|
+
//# sourceMappingURL=AnswerFileSchema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnswerFileSchema.d.ts","sourceRoot":"","sources":["../../src/models/AnswerFileSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAEnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAWvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYtH"}
|
|
@@ -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.instanceOfAnswerFileSchema = instanceOfAnswerFileSchema;
|
|
17
|
+
exports.AnswerFileSchemaFromJSON = AnswerFileSchemaFromJSON;
|
|
18
|
+
exports.AnswerFileSchemaFromJSONTyped = AnswerFileSchemaFromJSONTyped;
|
|
19
|
+
exports.AnswerFileSchemaToJSON = AnswerFileSchemaToJSON;
|
|
20
|
+
exports.AnswerFileSchemaToJSONTyped = AnswerFileSchemaToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AnswerFileSchema interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAnswerFileSchema(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AnswerFileSchemaFromJSON(json) {
|
|
28
|
+
return AnswerFileSchemaFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AnswerFileSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'fileUrl': json['fileUrl'] == null ? undefined : json['fileUrl'],
|
|
36
|
+
'originalFilename': json['originalFilename'] == null ? undefined : json['originalFilename'],
|
|
37
|
+
'contentType': json['contentType'] == null ? undefined : json['contentType'],
|
|
38
|
+
'size': json['size'] == null ? undefined : json['size'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AnswerFileSchemaToJSON(json) {
|
|
42
|
+
return AnswerFileSchemaToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AnswerFileSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'fileUrl': value['fileUrl'],
|
|
50
|
+
'originalFilename': value['originalFilename'],
|
|
51
|
+
'contentType': value['contentType'],
|
|
52
|
+
'size': value['size'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=AnswerFileSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnswerFileSchema.js","sourceRoot":"","sources":["../../src/models/AnswerFileSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAsCH,gEAEC;AAED,4DAEC;AAED,sEAWC;AAED,wDAEC;AAED,kEAYC;AAxCD;;GAEG;AACH,SAAgB,0BAA0B,CAAC,KAAa;IACpD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,wBAAwB,CAAC,IAAS;IAC9C,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAED,SAAgB,6BAA6B,CAAC,IAAS,EAAE,mBAA4B;IACjF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAChE,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC;QAC3F,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC5E,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,sBAAsB,CAAC,IAAS;IAC5C,OAAO,2BAA2B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC;AAED,SAAgB,2BAA2B,CAAC,KAA+B,EAAE,sBAA+B,KAAK;IAC7G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,kBAAkB,EAAE,KAAK,CAAC,kBAAkB,CAAC;QAC7C,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
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 { AnswerFileSchema } from './AnswerFileSchema';
|
|
13
|
+
import type { AnswerSchemaValue } from './AnswerSchemaValue';
|
|
14
|
+
/**
|
|
15
|
+
* A candidate's answer to one question. The `value` shape depends
|
|
16
|
+
* on the question type - branch on `questionType` to know how to
|
|
17
|
+
* read it. File uploads (file-upload / video-recording question
|
|
18
|
+
* types) live in the separate `files` array, NOT in `value`. This
|
|
19
|
+
* mirrors the wire shape used by /v1/guest/attempts/{id} PATCH
|
|
20
|
+
* and avoids OpenAPI generator collisions on multiple array
|
|
21
|
+
* variants in a single oneOf.
|
|
22
|
+
* @export
|
|
23
|
+
* @interface AnswerSchema
|
|
24
|
+
*/
|
|
25
|
+
export interface AnswerSchema {
|
|
26
|
+
/**
|
|
27
|
+
* References QuestionSchema.questionId.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof AnswerSchema
|
|
30
|
+
*/
|
|
31
|
+
questionId: string;
|
|
32
|
+
/**
|
|
33
|
+
* Mirror of the question's type for client-side discrimination.
|
|
34
|
+
* @type {AnswerSchemaQuestionTypeEnum}
|
|
35
|
+
* @memberof AnswerSchema
|
|
36
|
+
*/
|
|
37
|
+
questionType?: AnswerSchemaQuestionTypeEnum;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {AnswerSchemaValue}
|
|
41
|
+
* @memberof AnswerSchema
|
|
42
|
+
*/
|
|
43
|
+
value?: AnswerSchemaValue;
|
|
44
|
+
/**
|
|
45
|
+
* File / video uploads for `file-upload` and `video-recording`
|
|
46
|
+
* question types. Empty for all other types. Files are uploaded
|
|
47
|
+
* via presigned PUT to S3 first; this carries the resulting
|
|
48
|
+
* references.
|
|
49
|
+
* @type {Array<AnswerFileSchema>}
|
|
50
|
+
* @memberof AnswerSchema
|
|
51
|
+
*/
|
|
52
|
+
files?: Array<AnswerFileSchema>;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* @export
|
|
56
|
+
*/
|
|
57
|
+
export declare const AnswerSchemaQuestionTypeEnum: {
|
|
58
|
+
readonly SingleChoice: "single-choice";
|
|
59
|
+
readonly MultipleChoice: "multiple-choice";
|
|
60
|
+
readonly Scale: "scale";
|
|
61
|
+
readonly OpenText: "open-text";
|
|
62
|
+
readonly Ranking: "ranking";
|
|
63
|
+
readonly SituationalJudgment: "situational-judgment";
|
|
64
|
+
readonly FileUpload: "file-upload";
|
|
65
|
+
readonly VideoRecording: "video-recording";
|
|
66
|
+
};
|
|
67
|
+
export type AnswerSchemaQuestionTypeEnum = typeof AnswerSchemaQuestionTypeEnum[keyof typeof AnswerSchemaQuestionTypeEnum];
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the AnswerSchema interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfAnswerSchema(value: object): value is AnswerSchema;
|
|
72
|
+
export declare function AnswerSchemaFromJSON(json: any): AnswerSchema;
|
|
73
|
+
export declare function AnswerSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnswerSchema;
|
|
74
|
+
export declare function AnswerSchemaToJSON(json: any): AnswerSchema;
|
|
75
|
+
export declare function AnswerSchemaToJSONTyped(value?: AnswerSchema | null, ignoreDiscriminator?: boolean): any;
|
|
76
|
+
//# sourceMappingURL=AnswerSchema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnswerSchema.d.ts","sourceRoot":"","sources":["../../src/models/AnswerSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAO3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAQ7D;;;;;;;;;;GAUG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,4BAA4B,CAAC;IAC5C;;;;OAIG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;CACnC;AAGD;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;CAS/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC;AAG1H;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAG3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAW/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAY9G"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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.AnswerSchemaQuestionTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfAnswerSchema = instanceOfAnswerSchema;
|
|
18
|
+
exports.AnswerSchemaFromJSON = AnswerSchemaFromJSON;
|
|
19
|
+
exports.AnswerSchemaFromJSONTyped = AnswerSchemaFromJSONTyped;
|
|
20
|
+
exports.AnswerSchemaToJSON = AnswerSchemaToJSON;
|
|
21
|
+
exports.AnswerSchemaToJSONTyped = AnswerSchemaToJSONTyped;
|
|
22
|
+
const AnswerFileSchema_1 = require("./AnswerFileSchema");
|
|
23
|
+
const AnswerSchemaValue_1 = require("./AnswerSchemaValue");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.AnswerSchemaQuestionTypeEnum = {
|
|
28
|
+
SingleChoice: 'single-choice',
|
|
29
|
+
MultipleChoice: 'multiple-choice',
|
|
30
|
+
Scale: 'scale',
|
|
31
|
+
OpenText: 'open-text',
|
|
32
|
+
Ranking: 'ranking',
|
|
33
|
+
SituationalJudgment: 'situational-judgment',
|
|
34
|
+
FileUpload: 'file-upload',
|
|
35
|
+
VideoRecording: 'video-recording'
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the AnswerSchema interface.
|
|
39
|
+
*/
|
|
40
|
+
function instanceOfAnswerSchema(value) {
|
|
41
|
+
if (!('questionId' in value) || value['questionId'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function AnswerSchemaFromJSON(json) {
|
|
46
|
+
return AnswerSchemaFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function AnswerSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'questionId': json['questionId'],
|
|
54
|
+
'questionType': json['questionType'] == null ? undefined : json['questionType'],
|
|
55
|
+
'value': json['value'] == null ? undefined : (0, AnswerSchemaValue_1.AnswerSchemaValueFromJSON)(json['value']),
|
|
56
|
+
'files': json['files'] == null ? undefined : (json['files'].map(AnswerFileSchema_1.AnswerFileSchemaFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function AnswerSchemaToJSON(json) {
|
|
60
|
+
return AnswerSchemaToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function AnswerSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'questionId': value['questionId'],
|
|
68
|
+
'questionType': value['questionType'],
|
|
69
|
+
'value': (0, AnswerSchemaValue_1.AnswerSchemaValueToJSON)(value['value']),
|
|
70
|
+
'files': value['files'] == null ? undefined : (value['files'].map(AnswerFileSchema_1.AnswerFileSchemaToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=AnswerSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnswerSchema.js","sourceRoot":"","sources":["../../src/models/AnswerSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA+EH,wDAGC;AAED,oDAEC;AAED,8DAWC;AAED,gDAEC;AAED,0DAYC;AAjHD,yDAK4B;AAE5B,2DAK6B;AA4C7B;;GAEG;AACU,QAAA,4BAA4B,GAAG;IACxC,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,CAAC;AAIX;;GAEG;AACH,SAAgB,sBAAsB,CAAC,KAAa;IAChD,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,oBAAoB,CAAC,IAAS;IAC1C,OAAO,yBAAyB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,SAAgB,yBAAyB,CAAC,IAAS,EAAE,mBAA4B;IAC7E,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;QAChC,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;QAC/E,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,6CAAyB,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACrF,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,2CAAwB,CAAC,CAAC;KAC7G,CAAC;AACN,CAAC;AAED,SAAgB,kBAAkB,CAAC,IAAS;IACxC,OAAO,uBAAuB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChD,CAAC;AAED,SAAgB,uBAAuB,CAAC,KAA2B,EAAE,sBAA+B,KAAK;IACrG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,OAAO,EAAE,IAAA,2CAAuB,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAChD,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,yCAAsB,CAAC,CAAC;KAC7G,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { AnswerSchemaValueOneOf } from './AnswerSchemaValueOneOf';
|
|
13
|
+
/**
|
|
14
|
+
* @type AnswerSchemaValue
|
|
15
|
+
* Non-file answer payload. Discriminated by questionType:
|
|
16
|
+
* single-choice -> string (option id)
|
|
17
|
+
* multiple-choice -> string[] (option ids)
|
|
18
|
+
* scale -> number
|
|
19
|
+
* open-text -> string
|
|
20
|
+
* ranking -> string[] (option ids in order)
|
|
21
|
+
* situational-judgment -> { best: string; worst: string }
|
|
22
|
+
* file-upload -> usually empty / null (use `files`)
|
|
23
|
+
* video-recording -> usually empty / null (use `files`)
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export type AnswerSchemaValue = AnswerSchemaValueOneOf | Array<string> | number | string;
|
|
27
|
+
export declare function AnswerSchemaValueFromJSON(json: any): AnswerSchemaValue;
|
|
28
|
+
export declare function AnswerSchemaValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnswerSchemaValue;
|
|
29
|
+
export declare function AnswerSchemaValueToJSON(json: any): any;
|
|
30
|
+
export declare function AnswerSchemaValueToJSONTyped(value?: AnswerSchemaValue | null, ignoreDiscriminator?: boolean): any;
|
|
31
|
+
//# sourceMappingURL=AnswerSchemaValue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnswerSchemaValue.d.ts","sourceRoot":"","sources":["../../src/models/AnswerSchemaValue.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQvE;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,iBAAiB,GAAG,sBAAsB,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,GAAG,MAAM,CAAC;AAEzF,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CAsBzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAEtD;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAsBxH"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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.AnswerSchemaValueFromJSON = AnswerSchemaValueFromJSON;
|
|
17
|
+
exports.AnswerSchemaValueFromJSONTyped = AnswerSchemaValueFromJSONTyped;
|
|
18
|
+
exports.AnswerSchemaValueToJSON = AnswerSchemaValueToJSON;
|
|
19
|
+
exports.AnswerSchemaValueToJSONTyped = AnswerSchemaValueToJSONTyped;
|
|
20
|
+
const AnswerSchemaValueOneOf_1 = require("./AnswerSchemaValueOneOf");
|
|
21
|
+
function AnswerSchemaValueFromJSON(json) {
|
|
22
|
+
return AnswerSchemaValueFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
function AnswerSchemaValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
if (typeof json !== 'object') {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
if ((0, AnswerSchemaValueOneOf_1.instanceOfAnswerSchemaValueOneOf)(json)) {
|
|
32
|
+
return (0, AnswerSchemaValueOneOf_1.AnswerSchemaValueOneOfFromJSONTyped)(json, true);
|
|
33
|
+
}
|
|
34
|
+
if (Array.isArray(json)) {
|
|
35
|
+
if (json.every(item => typeof item === 'string')) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
if (typeof json === 'string') {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
if (typeof json === 'number') {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {};
|
|
46
|
+
}
|
|
47
|
+
function AnswerSchemaValueToJSON(json) {
|
|
48
|
+
return AnswerSchemaValueToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function AnswerSchemaValueToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
if (typeof value !== 'object') {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
if ((0, AnswerSchemaValueOneOf_1.instanceOfAnswerSchemaValueOneOf)(value)) {
|
|
58
|
+
return (0, AnswerSchemaValueOneOf_1.AnswerSchemaValueOneOfToJSON)(value);
|
|
59
|
+
}
|
|
60
|
+
if (Array.isArray(value)) {
|
|
61
|
+
if (value.every(item => typeof item === 'string')) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
if (typeof value === 'string') {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
if (typeof value === 'number') {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {};
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=AnswerSchemaValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnswerSchemaValue.js","sourceRoot":"","sources":["../../src/models/AnswerSchemaValue.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAyBH,8DAEC;AAED,wEAsBC;AAED,0DAEC;AAED,oEAsBC;AA5ED,qEAKkC;AAiBlC,SAAgB,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,SAAgB,8BAA8B,CAAC,IAAS,EAAE,mBAA4B;IAClF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAI,IAAA,yDAAgC,EAAC,IAAI,CAAC,EAAE,CAAC;QACzC,OAAO,IAAA,4DAAmC,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IACD,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;QACtB,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,IAAI,KAAK,QAAQ,CAAC,EAAE,CAAC;YAC/C,OAAO,IAAI,CAAC;QAChB,CAAC;IACL,CAAC;IACD,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO,EAAS,CAAC;AACrB,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAED,SAAgB,4BAA4B,CAAC,KAAgC,EAAE,sBAA+B,KAAK;IAC/G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC5B,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,IAAI,IAAA,yDAAgC,EAAC,KAAK,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAA,qDAA4B,EAAC,KAA+B,CAAC,CAAC;IACzE,CAAC;IACD,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACvB,IAAI,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,IAAI,KAAK,QAAQ,CAAC,EAAE,CAAC;YAChD,OAAO,KAAK,CAAC;QACjB,CAAC;IACL,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC5B,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC5B,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,OAAO,EAAE,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
* situational-judgment
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AnswerSchemaValueOneOf
|
|
16
|
+
*/
|
|
17
|
+
export interface AnswerSchemaValueOneOf {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AnswerSchemaValueOneOf
|
|
22
|
+
*/
|
|
23
|
+
best?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AnswerSchemaValueOneOf
|
|
28
|
+
*/
|
|
29
|
+
worst?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AnswerSchemaValueOneOf interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAnswerSchemaValueOneOf(value: object): value is AnswerSchemaValueOneOf;
|
|
35
|
+
export declare function AnswerSchemaValueOneOfFromJSON(json: any): AnswerSchemaValueOneOf;
|
|
36
|
+
export declare function AnswerSchemaValueOneOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnswerSchemaValueOneOf;
|
|
37
|
+
export declare function AnswerSchemaValueOneOfToJSON(json: any): AnswerSchemaValueOneOf;
|
|
38
|
+
export declare function AnswerSchemaValueOneOfToJSONTyped(value?: AnswerSchemaValueOneOf | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=AnswerSchemaValueOneOf.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnswerSchemaValueOneOf.d.ts","sourceRoot":"","sources":["../../src/models/AnswerSchemaValueOneOf.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAE/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CASnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUlI"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfAnswerSchemaValueOneOf = instanceOfAnswerSchemaValueOneOf;
|
|
17
|
+
exports.AnswerSchemaValueOneOfFromJSON = AnswerSchemaValueOneOfFromJSON;
|
|
18
|
+
exports.AnswerSchemaValueOneOfFromJSONTyped = AnswerSchemaValueOneOfFromJSONTyped;
|
|
19
|
+
exports.AnswerSchemaValueOneOfToJSON = AnswerSchemaValueOneOfToJSON;
|
|
20
|
+
exports.AnswerSchemaValueOneOfToJSONTyped = AnswerSchemaValueOneOfToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AnswerSchemaValueOneOf interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAnswerSchemaValueOneOf(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AnswerSchemaValueOneOfFromJSON(json) {
|
|
28
|
+
return AnswerSchemaValueOneOfFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AnswerSchemaValueOneOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'best': json['best'] == null ? undefined : json['best'],
|
|
36
|
+
'worst': json['worst'] == null ? undefined : json['worst'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function AnswerSchemaValueOneOfToJSON(json) {
|
|
40
|
+
return AnswerSchemaValueOneOfToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AnswerSchemaValueOneOfToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'best': value['best'],
|
|
48
|
+
'worst': value['worst'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=AnswerSchemaValueOneOf.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnswerSchemaValueOneOf.js","sourceRoot":"","sources":["../../src/models/AnswerSchemaValueOneOf.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,4EAEC;AAED,wEAEC;AAED,kFASC;AAED,oEAEC;AAED,8EAUC;AApCD;;GAEG;AACH,SAAgB,gCAAgC,CAAC,KAAa;IAC1D,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED,SAAgB,mCAAmC,CAAC,IAAS,EAAE,mBAA4B;IACvF,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,IAAI,CAAC,MAAM,CAAC;QACvD,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;KAC7D,CAAC;AACN,CAAC;AAED,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAED,SAAgB,iCAAiC,CAAC,KAAqC,EAAE,sBAA+B,KAAK;IACzH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;KAC1B,CAAC;AACN,CAAC"}
|
|
@@ -9,21 +9,27 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { QuestionSchema } from './QuestionSchema';
|
|
12
13
|
import type { ResourceTimestampsSchema } from './ResourceTimestampsSchema';
|
|
13
14
|
/**
|
|
14
|
-
*
|
|
15
|
+
* Template-only attributes for an assessment. The candidate's run of an
|
|
16
|
+
* assessment (answers, scores, evaluation, proctoring) lives on the
|
|
17
|
+
* Attempt resource - see AttemptAttributesSchema.
|
|
15
18
|
* @export
|
|
16
19
|
* @interface AssessmentAttributesSchema
|
|
17
20
|
*/
|
|
18
21
|
export interface AssessmentAttributesSchema {
|
|
19
22
|
/**
|
|
20
|
-
*
|
|
23
|
+
* Template lifecycle. Candidate-side state (inProgress/submitted/
|
|
24
|
+
* evaluated/etc.) lives on attempts. `pending` is a transient state
|
|
25
|
+
* set when the AI Generate Step Function is in flight - the row
|
|
26
|
+
* flips to `active` once questions land.
|
|
21
27
|
* @type {AssessmentAttributesSchemaStatusEnum}
|
|
22
28
|
* @memberof AssessmentAttributesSchema
|
|
23
29
|
*/
|
|
24
30
|
status?: AssessmentAttributesSchemaStatusEnum;
|
|
25
31
|
/**
|
|
26
|
-
*
|
|
32
|
+
* Time limit for the candidate to complete the assessment, in minutes. Defaults to 30.
|
|
27
33
|
* @type {number}
|
|
28
34
|
* @memberof AssessmentAttributesSchema
|
|
29
35
|
*/
|
|
@@ -35,29 +41,39 @@ export interface AssessmentAttributesSchema {
|
|
|
35
41
|
*/
|
|
36
42
|
antiCheatingLevel?: AssessmentAttributesSchemaAntiCheatingLevelEnum;
|
|
37
43
|
/**
|
|
38
|
-
*
|
|
44
|
+
* Score threshold (0-100) for `evaluation.passed=true` on attempts of this template. Defaults to 60.
|
|
39
45
|
* @type {number}
|
|
40
46
|
* @memberof AssessmentAttributesSchema
|
|
41
47
|
*/
|
|
42
|
-
|
|
48
|
+
passingScore?: number;
|
|
43
49
|
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {
|
|
50
|
+
* Default language tag used when the candidate UI doesn't specify one (e.g. 'en-US', 'pl-PL').
|
|
51
|
+
* @type {string}
|
|
46
52
|
* @memberof AssessmentAttributesSchema
|
|
47
53
|
*/
|
|
48
|
-
|
|
54
|
+
languageCode?: string;
|
|
49
55
|
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {
|
|
56
|
+
* Multilingual template name. Keys are locale tags, values are the localized title.
|
|
57
|
+
* @type {{ [key: string]: string; }}
|
|
52
58
|
* @memberof AssessmentAttributesSchema
|
|
53
59
|
*/
|
|
54
|
-
|
|
60
|
+
name?: {
|
|
61
|
+
[key: string]: string;
|
|
62
|
+
};
|
|
55
63
|
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {string}
|
|
64
|
+
* Multilingual template description shown to the candidate before they start.
|
|
65
|
+
* @type {{ [key: string]: string; }}
|
|
58
66
|
* @memberof AssessmentAttributesSchema
|
|
59
67
|
*/
|
|
60
|
-
|
|
68
|
+
description?: {
|
|
69
|
+
[key: string]: string;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Question bank. See QuestionSchema for per-type schemas.
|
|
73
|
+
* @type {Array<QuestionSchema>}
|
|
74
|
+
* @memberof AssessmentAttributesSchema
|
|
75
|
+
*/
|
|
76
|
+
questions?: Array<QuestionSchema>;
|
|
61
77
|
/**
|
|
62
78
|
*
|
|
63
79
|
* @type {ResourceTimestampsSchema}
|
|
@@ -69,12 +85,11 @@ export interface AssessmentAttributesSchema {
|
|
|
69
85
|
* @export
|
|
70
86
|
*/
|
|
71
87
|
export declare const AssessmentAttributesSchemaStatusEnum: {
|
|
72
|
-
readonly
|
|
73
|
-
readonly
|
|
74
|
-
readonly
|
|
75
|
-
readonly Evaluated: "evaluated";
|
|
76
|
-
readonly Expired: "expired";
|
|
88
|
+
readonly Draft: "draft";
|
|
89
|
+
readonly Active: "active";
|
|
90
|
+
readonly Archived: "archived";
|
|
77
91
|
readonly Failed: "failed";
|
|
92
|
+
readonly Pending: "pending";
|
|
78
93
|
};
|
|
79
94
|
export type AssessmentAttributesSchemaStatusEnum = typeof AssessmentAttributesSchemaStatusEnum[keyof typeof AssessmentAttributesSchemaStatusEnum];
|
|
80
95
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssessmentAttributesSchema.d.ts","sourceRoot":"","sources":["../../src/models/AssessmentAttributesSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E
|
|
1
|
+
{"version":3,"file":"AssessmentAttributesSchema.d.ts","sourceRoot":"","sources":["../../src/models/AssessmentAttributesSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOvD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;;;GAMG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,oCAAoC,CAAC;IAC9C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,+CAA+C,CAAC;IACpE;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACzC;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAClC;;;;OAIG;IACH,UAAU,CAAC,EAAE,wBAAwB,CAAC;CACzC;AAGD;;GAEG;AACH,eAAO,MAAM,oCAAoC;;;;;;CAMvC,CAAC;AACX,MAAM,MAAM,oCAAoC,GAAG,OAAO,oCAAoC,CAAC,MAAM,OAAO,oCAAoC,CAAC,CAAC;AAElJ;;GAEG;AACH,eAAO,MAAM,+CAA+C;;;;CAIlD,CAAC;AACX,MAAM,MAAM,+CAA+C,GAAG,OAAO,+CAA+C,CAAC,MAAM,OAAO,+CAA+C,CAAC,CAAC;AAGnL;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAEvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAgB3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiB1I"}
|
|
@@ -19,17 +19,17 @@ exports.AssessmentAttributesSchemaFromJSON = AssessmentAttributesSchemaFromJSON;
|
|
|
19
19
|
exports.AssessmentAttributesSchemaFromJSONTyped = AssessmentAttributesSchemaFromJSONTyped;
|
|
20
20
|
exports.AssessmentAttributesSchemaToJSON = AssessmentAttributesSchemaToJSON;
|
|
21
21
|
exports.AssessmentAttributesSchemaToJSONTyped = AssessmentAttributesSchemaToJSONTyped;
|
|
22
|
+
const QuestionSchema_1 = require("./QuestionSchema");
|
|
22
23
|
const ResourceTimestampsSchema_1 = require("./ResourceTimestampsSchema");
|
|
23
24
|
/**
|
|
24
25
|
* @export
|
|
25
26
|
*/
|
|
26
27
|
exports.AssessmentAttributesSchemaStatusEnum = {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
Failed: 'failed'
|
|
28
|
+
Draft: 'draft',
|
|
29
|
+
Active: 'active',
|
|
30
|
+
Archived: 'archived',
|
|
31
|
+
Failed: 'failed',
|
|
32
|
+
Pending: 'pending'
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
35
35
|
* @export
|
|
@@ -56,10 +56,11 @@ function AssessmentAttributesSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'status': json['status'] == null ? undefined : json['status'],
|
|
57
57
|
'duration': json['duration'] == null ? undefined : json['duration'],
|
|
58
58
|
'antiCheatingLevel': json['antiCheatingLevel'] == null ? undefined : json['antiCheatingLevel'],
|
|
59
|
-
'totalScore': json['totalScore'] == null ? undefined : json['totalScore'],
|
|
60
59
|
'passingScore': json['passingScore'] == null ? undefined : json['passingScore'],
|
|
61
|
-
'passed': json['passed'] == null ? undefined : json['passed'],
|
|
62
60
|
'languageCode': json['languageCode'] == null ? undefined : json['languageCode'],
|
|
61
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
62
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
63
|
+
'questions': json['questions'] == null ? undefined : (json['questions'].map(QuestionSchema_1.QuestionSchemaFromJSON)),
|
|
63
64
|
'timestamps': json['timestamps'] == null ? undefined : (0, ResourceTimestampsSchema_1.ResourceTimestampsSchemaFromJSON)(json['timestamps']),
|
|
64
65
|
};
|
|
65
66
|
}
|
|
@@ -74,10 +75,11 @@ function AssessmentAttributesSchemaToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
74
75
|
'status': value['status'],
|
|
75
76
|
'duration': value['duration'],
|
|
76
77
|
'antiCheatingLevel': value['antiCheatingLevel'],
|
|
77
|
-
'totalScore': value['totalScore'],
|
|
78
78
|
'passingScore': value['passingScore'],
|
|
79
|
-
'passed': value['passed'],
|
|
80
79
|
'languageCode': value['languageCode'],
|
|
80
|
+
'name': value['name'],
|
|
81
|
+
'description': value['description'],
|
|
82
|
+
'questions': value['questions'] == null ? undefined : (value['questions'].map(QuestionSchema_1.QuestionSchemaToJSON)),
|
|
81
83
|
'timestamps': (0, ResourceTimestampsSchema_1.ResourceTimestampsSchemaToJSON)(value['timestamps']),
|
|
82
84
|
};
|
|
83
85
|
}
|