@smartytalent/api-client 0.1.33-dev.36 → 0.1.33-dev.38
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 +23 -23
- package/dist/apis/AttemptsApi.d.ts.map +1 -1
- package/dist/apis/AttemptsApi.js +30 -22
- 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/CreateAttemptRequestBody.d.ts +34 -0
- package/dist/models/CreateAttemptRequestBody.d.ts.map +1 -0
- package/dist/models/CreateAttemptRequestBody.js +52 -0
- package/dist/models/CreateAttemptRequestBody.js.map +1 -0
- package/dist/models/CreateAttemptRequestBodyData.d.ts +54 -0
- package/dist/models/CreateAttemptRequestBodyData.d.ts.map +1 -0
- package/dist/models/CreateAttemptRequestBodyData.js +66 -0
- package/dist/models/CreateAttemptRequestBodyData.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/UpdateAttemptRequestBody.d.ts +34 -0
- package/dist/models/UpdateAttemptRequestBody.d.ts.map +1 -0
- package/dist/models/UpdateAttemptRequestBody.js +52 -0
- package/dist/models/UpdateAttemptRequestBody.js.map +1 -0
- package/dist/models/UpdateAttemptRequestBodyData.d.ts +53 -0
- package/dist/models/UpdateAttemptRequestBodyData.d.ts.map +1 -0
- package/dist/models/UpdateAttemptRequestBodyData.js +65 -0
- package/dist/models/UpdateAttemptRequestBodyData.js.map +1 -0
- 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 +28 -7
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +28 -7
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/models/CreateAttemptRequest.d.ts +0 -34
- package/dist/models/CreateAttemptRequest.d.ts.map +0 -1
- package/dist/models/CreateAttemptRequest.js +0 -52
- package/dist/models/CreateAttemptRequest.js.map +0 -1
- package/dist/models/CreateAttemptRequestData.d.ts +0 -54
- package/dist/models/CreateAttemptRequestData.d.ts.map +0 -1
- package/dist/models/CreateAttemptRequestData.js +0 -66
- package/dist/models/CreateAttemptRequestData.js.map +0 -1
- package/dist/models/CreateAttemptRequestDataAttributes.d.ts +0 -45
- package/dist/models/CreateAttemptRequestDataAttributes.d.ts.map +0 -1
- package/dist/models/CreateAttemptRequestDataAttributes.js +0 -53
- package/dist/models/CreateAttemptRequestDataAttributes.js.map +0 -1
- package/dist/models/CreateAttemptRequestDataRelationships.d.ts +0 -45
- package/dist/models/CreateAttemptRequestDataRelationships.d.ts.map +0 -1
- package/dist/models/CreateAttemptRequestDataRelationships.js +0 -57
- package/dist/models/CreateAttemptRequestDataRelationships.js.map +0 -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
- package/dist/models/UpdateAttemptRequest.d.ts +0 -34
- package/dist/models/UpdateAttemptRequest.d.ts.map +0 -1
- package/dist/models/UpdateAttemptRequest.js +0 -52
- package/dist/models/UpdateAttemptRequest.js.map +0 -1
- package/dist/models/UpdateAttemptRequestData.d.ts +0 -58
- package/dist/models/UpdateAttemptRequestData.d.ts.map +0 -1
- package/dist/models/UpdateAttemptRequestData.js +0 -66
- package/dist/models/UpdateAttemptRequestData.js.map +0 -1
|
@@ -0,0 +1,75 @@
|
|
|
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.AttemptResourceSchemaTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfAttemptResourceSchema = instanceOfAttemptResourceSchema;
|
|
18
|
+
exports.AttemptResourceSchemaFromJSON = AttemptResourceSchemaFromJSON;
|
|
19
|
+
exports.AttemptResourceSchemaFromJSONTyped = AttemptResourceSchemaFromJSONTyped;
|
|
20
|
+
exports.AttemptResourceSchemaToJSON = AttemptResourceSchemaToJSON;
|
|
21
|
+
exports.AttemptResourceSchemaToJSONTyped = AttemptResourceSchemaToJSONTyped;
|
|
22
|
+
const AttemptRelationshipsSchema_1 = require("./AttemptRelationshipsSchema");
|
|
23
|
+
const ResourceLinksSchema_1 = require("./ResourceLinksSchema");
|
|
24
|
+
const AttemptAttributesSchema_1 = require("./AttemptAttributesSchema");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.AttemptResourceSchemaTypeEnum = {
|
|
29
|
+
Attempts: 'attempts'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AttemptResourceSchema interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfAttemptResourceSchema(value) {
|
|
35
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('attributes' in value) || value['attributes'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function AttemptResourceSchemaFromJSON(json) {
|
|
44
|
+
return AttemptResourceSchemaFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function AttemptResourceSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'type': json['type'],
|
|
52
|
+
'id': json['id'],
|
|
53
|
+
'attributes': (0, AttemptAttributesSchema_1.AttemptAttributesSchemaFromJSON)(json['attributes']),
|
|
54
|
+
'relationships': json['relationships'] == null ? undefined : (0, AttemptRelationshipsSchema_1.AttemptRelationshipsSchemaFromJSON)(json['relationships']),
|
|
55
|
+
'links': json['links'] == null ? undefined : (0, ResourceLinksSchema_1.ResourceLinksSchemaFromJSON)(json['links']),
|
|
56
|
+
'meta': json['meta'] == null ? undefined : json['meta'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function AttemptResourceSchemaToJSON(json) {
|
|
60
|
+
return AttemptResourceSchemaToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function AttemptResourceSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'type': value['type'],
|
|
68
|
+
'id': value['id'],
|
|
69
|
+
'attributes': (0, AttemptAttributesSchema_1.AttemptAttributesSchemaToJSON)(value['attributes']),
|
|
70
|
+
'relationships': (0, AttemptRelationshipsSchema_1.AttemptRelationshipsSchemaToJSON)(value['relationships']),
|
|
71
|
+
'links': (0, ResourceLinksSchema_1.ResourceLinksSchemaToJSON)(value['links']),
|
|
72
|
+
'meta': value['meta'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=AttemptResourceSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttemptResourceSchema.js","sourceRoot":"","sources":["../../src/models/AttemptResourceSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAkFH,0EAKC;AAED,sEAEC;AAED,gFAaC;AAED,kEAEC;AAED,4EAcC;AA1HD,6EAKsC;AAEtC,+DAK+B;AAE/B,uEAKmC;AA+CnC;;GAEG;AACU,QAAA,6BAA6B,GAAG;IACzC,QAAQ,EAAE,UAAU;CACd,CAAC;AAIX;;GAEG;AACH,SAAgB,+BAA+B,CAAC,KAAa;IACzD,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,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,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS,EAAE,mBAA4B;IACtF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,YAAY,EAAE,IAAA,yDAA+B,EAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACjE,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,+DAAkC,EAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACtH,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,2BAA2B,CAAC,IAAS;IACjD,OAAO,gCAAgC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzD,CAAC;AAED,SAAgB,gCAAgC,CAAC,KAAoC,EAAE,sBAA+B,KAAK;IACvH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,YAAY,EAAE,IAAA,uDAA6B,EAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QAChE,eAAe,EAAE,IAAA,6DAAgC,EAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QACzE,OAAO,EAAE,IAAA,+CAAyB,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAClD,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AttemptSchema
|
|
18
|
+
*/
|
|
19
|
+
export interface AttemptSchema {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {AttemptResourceSchema}
|
|
23
|
+
* @memberof AttemptSchema
|
|
24
|
+
*/
|
|
25
|
+
data?: AttemptResourceSchema;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ResourceLinksSchema}
|
|
29
|
+
* @memberof AttemptSchema
|
|
30
|
+
*/
|
|
31
|
+
links?: ResourceLinksSchema;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {{ [key: string]: any; }}
|
|
35
|
+
* @memberof AttemptSchema
|
|
36
|
+
*/
|
|
37
|
+
meta?: {
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the AttemptSchema interface.
|
|
43
|
+
*/
|
|
44
|
+
export declare function instanceOfAttemptSchema(value: object): value is AttemptSchema;
|
|
45
|
+
export declare function AttemptSchemaFromJSON(json: any): AttemptSchema;
|
|
46
|
+
export declare function AttemptSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttemptSchema;
|
|
47
|
+
export declare function AttemptSchemaToJSON(json: any): AttemptSchema;
|
|
48
|
+
export declare function AttemptSchemaToJSONTyped(value?: AttemptSchema | null, ignoreDiscriminator?: boolean): any;
|
|
49
|
+
//# sourceMappingURL=AttemptSchema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttemptSchema.d.ts","sourceRoot":"","sources":["../../src/models/AttemptSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAC7B;;;;OAIG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;CAClC;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAE7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAUjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhH"}
|
|
@@ -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,34 @@
|
|
|
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 { CreateAttemptRequestBodyData } from './CreateAttemptRequestBodyData';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateAttemptRequestBody
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateAttemptRequestBody {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CreateAttemptRequestBodyData}
|
|
22
|
+
* @memberof CreateAttemptRequestBody
|
|
23
|
+
*/
|
|
24
|
+
data: CreateAttemptRequestBodyData;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the CreateAttemptRequestBody interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfCreateAttemptRequestBody(value: object): value is CreateAttemptRequestBody;
|
|
30
|
+
export declare function CreateAttemptRequestBodyFromJSON(json: any): CreateAttemptRequestBody;
|
|
31
|
+
export declare function CreateAttemptRequestBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAttemptRequestBody;
|
|
32
|
+
export declare function CreateAttemptRequestBodyToJSON(json: any): CreateAttemptRequestBody;
|
|
33
|
+
export declare function CreateAttemptRequestBodyToJSONTyped(value?: CreateAttemptRequestBody | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=CreateAttemptRequestBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateAttemptRequestBody.d.ts","sourceRoot":"","sources":["../../src/models/CreateAttemptRequestBody.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAQnF;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,IAAI,EAAE,4BAA4B,CAAC;CACtC;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wBAAwB,CAGnG;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAQvH;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAElF;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAStI"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfCreateAttemptRequestBody = instanceOfCreateAttemptRequestBody;
|
|
17
|
+
exports.CreateAttemptRequestBodyFromJSON = CreateAttemptRequestBodyFromJSON;
|
|
18
|
+
exports.CreateAttemptRequestBodyFromJSONTyped = CreateAttemptRequestBodyFromJSONTyped;
|
|
19
|
+
exports.CreateAttemptRequestBodyToJSON = CreateAttemptRequestBodyToJSON;
|
|
20
|
+
exports.CreateAttemptRequestBodyToJSONTyped = CreateAttemptRequestBodyToJSONTyped;
|
|
21
|
+
const CreateAttemptRequestBodyData_1 = require("./CreateAttemptRequestBodyData");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CreateAttemptRequestBody interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCreateAttemptRequestBody(value) {
|
|
26
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function CreateAttemptRequestBodyFromJSON(json) {
|
|
31
|
+
return CreateAttemptRequestBodyFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function CreateAttemptRequestBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'data': (0, CreateAttemptRequestBodyData_1.CreateAttemptRequestBodyDataFromJSON)(json['data']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function CreateAttemptRequestBodyToJSON(json) {
|
|
42
|
+
return CreateAttemptRequestBodyToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function CreateAttemptRequestBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'data': (0, CreateAttemptRequestBodyData_1.CreateAttemptRequestBodyDataToJSON)(value['data']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=CreateAttemptRequestBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateAttemptRequestBody.js","sourceRoot":"","sources":["../../src/models/CreateAttemptRequestBody.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4BH,gFAGC;AAED,4EAEC;AAED,sFAQC;AAED,wEAEC;AAED,kFASC;AAxDD,iFAKwC;AAgBxC;;GAEG;AACH,SAAgB,kCAAkC,CAAC,KAAa;IAC5D,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,gCAAgC,CAAC,IAAS;IACtD,OAAO,qCAAqC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9D,CAAC;AAED,SAAgB,qCAAqC,CAAC,IAAS,EAAE,mBAA4B;IACzF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAA,mEAAoC,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KAC7D,CAAC;AACN,CAAC;AAED,SAAgB,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED,SAAgB,mCAAmC,CAAC,KAAuC,EAAE,sBAA+B,KAAK;IAC7H,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,IAAA,iEAAkC,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KAC5D,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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 { AttemptRelationshipsSchema } from './AttemptRelationshipsSchema';
|
|
13
|
+
import type { AttemptAttributesSchema } from './AttemptAttributesSchema';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CreateAttemptRequestBodyData
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateAttemptRequestBodyData {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {CreateAttemptRequestBodyDataTypeEnum}
|
|
23
|
+
* @memberof CreateAttemptRequestBodyData
|
|
24
|
+
*/
|
|
25
|
+
type: CreateAttemptRequestBodyDataTypeEnum;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {AttemptAttributesSchema}
|
|
29
|
+
* @memberof CreateAttemptRequestBodyData
|
|
30
|
+
*/
|
|
31
|
+
attributes?: AttemptAttributesSchema;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {AttemptRelationshipsSchema}
|
|
35
|
+
* @memberof CreateAttemptRequestBodyData
|
|
36
|
+
*/
|
|
37
|
+
relationships: AttemptRelationshipsSchema;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
export declare const CreateAttemptRequestBodyDataTypeEnum: {
|
|
43
|
+
readonly Attempts: "attempts";
|
|
44
|
+
};
|
|
45
|
+
export type CreateAttemptRequestBodyDataTypeEnum = typeof CreateAttemptRequestBodyDataTypeEnum[keyof typeof CreateAttemptRequestBodyDataTypeEnum];
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the CreateAttemptRequestBodyData interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfCreateAttemptRequestBodyData(value: object): value is CreateAttemptRequestBodyData;
|
|
50
|
+
export declare function CreateAttemptRequestBodyDataFromJSON(json: any): CreateAttemptRequestBodyData;
|
|
51
|
+
export declare function CreateAttemptRequestBodyDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAttemptRequestBodyData;
|
|
52
|
+
export declare function CreateAttemptRequestBodyDataToJSON(json: any): CreateAttemptRequestBodyData;
|
|
53
|
+
export declare function CreateAttemptRequestBodyDataToJSONTyped(value?: CreateAttemptRequestBodyData | null, ignoreDiscriminator?: boolean): any;
|
|
54
|
+
//# sourceMappingURL=CreateAttemptRequestBodyData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateAttemptRequestBodyData.d.ts","sourceRoot":"","sources":["../../src/models/CreateAttemptRequestBodyData.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAO/E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAQzE;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,IAAI,EAAE,oCAAoC,CAAC;IAC3C;;;;OAIG;IACH,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC;;;;OAIG;IACH,aAAa,EAAE,0BAA0B,CAAC;CAC7C;AAGD;;GAEG;AACH,eAAO,MAAM,oCAAoC;;CAEvC,CAAC;AACX,MAAM,MAAM,oCAAoC,GAAG,OAAO,oCAAoC,CAAC,MAAM,OAAO,oCAAoC,CAAC,CAAC;AAGlJ;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAI3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAU/H;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW9I"}
|
|
@@ -0,0 +1,66 @@
|
|
|
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.CreateAttemptRequestBodyDataTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfCreateAttemptRequestBodyData = instanceOfCreateAttemptRequestBodyData;
|
|
18
|
+
exports.CreateAttemptRequestBodyDataFromJSON = CreateAttemptRequestBodyDataFromJSON;
|
|
19
|
+
exports.CreateAttemptRequestBodyDataFromJSONTyped = CreateAttemptRequestBodyDataFromJSONTyped;
|
|
20
|
+
exports.CreateAttemptRequestBodyDataToJSON = CreateAttemptRequestBodyDataToJSON;
|
|
21
|
+
exports.CreateAttemptRequestBodyDataToJSONTyped = CreateAttemptRequestBodyDataToJSONTyped;
|
|
22
|
+
const AttemptRelationshipsSchema_1 = require("./AttemptRelationshipsSchema");
|
|
23
|
+
const AttemptAttributesSchema_1 = require("./AttemptAttributesSchema");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.CreateAttemptRequestBodyDataTypeEnum = {
|
|
28
|
+
Attempts: 'attempts'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the CreateAttemptRequestBodyData interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfCreateAttemptRequestBodyData(value) {
|
|
34
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('relationships' in value) || value['relationships'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function CreateAttemptRequestBodyDataFromJSON(json) {
|
|
41
|
+
return CreateAttemptRequestBodyDataFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function CreateAttemptRequestBodyDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'type': json['type'],
|
|
49
|
+
'attributes': json['attributes'] == null ? undefined : (0, AttemptAttributesSchema_1.AttemptAttributesSchemaFromJSON)(json['attributes']),
|
|
50
|
+
'relationships': (0, AttemptRelationshipsSchema_1.AttemptRelationshipsSchemaFromJSON)(json['relationships']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function CreateAttemptRequestBodyDataToJSON(json) {
|
|
54
|
+
return CreateAttemptRequestBodyDataToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function CreateAttemptRequestBodyDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'type': value['type'],
|
|
62
|
+
'attributes': (0, AttemptAttributesSchema_1.AttemptAttributesSchemaToJSON)(value['attributes']),
|
|
63
|
+
'relationships': (0, AttemptRelationshipsSchema_1.AttemptRelationshipsSchemaToJSON)(value['relationships']),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=CreateAttemptRequestBodyData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateAttemptRequestBodyData.js","sourceRoot":"","sources":["../../src/models/CreateAttemptRequestBodyData.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAyDH,wFAIC;AAED,oFAEC;AAED,8FAUC;AAED,gFAEC;AAED,0FAWC;AA1FD,6EAKsC;AAEtC,uEAKmC;AA6BnC;;GAEG;AACU,QAAA,oCAAoC,GAAG;IAChD,QAAQ,EAAE,UAAU;CACd,CAAC;AAIX;;GAEG;AACH,SAAgB,sCAAsC,CAAC,KAAa;IAChE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,eAAe,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,oCAAoC,CAAC,IAAS;IAC1D,OAAO,yCAAyC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAED,SAAgB,yCAAyC,CAAC,IAAS,EAAE,mBAA4B;IAC7F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,yDAA+B,EAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1G,eAAe,EAAE,IAAA,+DAAkC,EAAC,IAAI,CAAC,eAAe,CAAC,CAAC;KAC7E,CAAC;AACN,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,SAAgB,uCAAuC,CAAC,KAA2C,EAAE,sBAA+B,KAAK;IACrI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,YAAY,EAAE,IAAA,uDAA6B,EAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QAChE,eAAe,EAAE,IAAA,6DAAgC,EAAC,KAAK,CAAC,eAAe,CAAC,CAAC;KAC5E,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
|