@smartytalent/api-client 0.1.33-dev.35 → 0.1.33-dev.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +287 -0
- package/dist/apis/AttemptsApi.d.ts.map +1 -0
- package/dist/apis/AttemptsApi.js +651 -0
- package/dist/apis/AttemptsApi.js.map +1 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.d.ts.map +1 -1
- package/dist/apis/index.js +1 -0
- package/dist/apis/index.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/CreateAttemptRequest.d.ts +34 -0
- package/dist/models/CreateAttemptRequest.d.ts.map +1 -0
- package/dist/models/CreateAttemptRequest.js +52 -0
- package/dist/models/CreateAttemptRequest.js.map +1 -0
- package/dist/models/CreateAttemptRequestData.d.ts +54 -0
- package/dist/models/CreateAttemptRequestData.d.ts.map +1 -0
- package/dist/models/CreateAttemptRequestData.js +66 -0
- package/dist/models/CreateAttemptRequestData.js.map +1 -0
- package/dist/models/CreateAttemptRequestDataAttributes.d.ts +45 -0
- package/dist/models/CreateAttemptRequestDataAttributes.d.ts.map +1 -0
- package/dist/models/CreateAttemptRequestDataAttributes.js +53 -0
- package/dist/models/CreateAttemptRequestDataAttributes.js.map +1 -0
- package/dist/models/CreateAttemptRequestDataRelationships.d.ts +45 -0
- package/dist/models/CreateAttemptRequestDataRelationships.d.ts.map +1 -0
- package/dist/models/CreateAttemptRequestDataRelationships.js +57 -0
- package/dist/models/CreateAttemptRequestDataRelationships.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/GuestMetaSchema.js +55 -0
- 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 +41 -0
- package/dist/models/StartGuestAttemptRequest.d.ts.map +1 -0
- package/dist/models/StartGuestAttemptRequest.js +57 -0
- package/dist/models/StartGuestAttemptRequest.js.map +1 -0
- package/dist/models/StartGuestAttemptRequestData.d.ts +46 -0
- package/dist/models/StartGuestAttemptRequestData.d.ts.map +1 -0
- package/dist/models/StartGuestAttemptRequestData.js +62 -0
- package/dist/models/StartGuestAttemptRequestData.js.map +1 -0
- package/dist/models/UpdateAttemptRequest.d.ts +34 -0
- package/dist/models/UpdateAttemptRequest.d.ts.map +1 -0
- package/dist/models/UpdateAttemptRequest.js +52 -0
- package/dist/models/UpdateAttemptRequest.js.map +1 -0
- package/dist/models/UpdateAttemptRequestData.d.ts +58 -0
- package/dist/models/UpdateAttemptRequestData.d.ts.map +1 -0
- package/dist/models/UpdateAttemptRequestData.js +66 -0
- package/dist/models/UpdateAttemptRequestData.js.map +1 -0
- package/dist/models/UpdateGuestAttemptRequest.d.ts +41 -0
- package/dist/models/UpdateGuestAttemptRequest.d.ts.map +1 -0
- package/dist/models/UpdateGuestAttemptRequest.js +57 -0
- package/dist/models/UpdateGuestAttemptRequest.js.map +1 -0
- package/dist/models/UpdateGuestAttemptRequestData.d.ts +53 -0
- package/dist/models/UpdateGuestAttemptRequestData.d.ts.map +1 -0
- package/dist/models/UpdateGuestAttemptRequestData.js +65 -0
- package/dist/models/UpdateGuestAttemptRequestData.js.map +1 -0
- package/dist/models/UpdateGuestAttemptRequestDataAttributes.d.ts +53 -0
- package/dist/models/UpdateGuestAttemptRequestDataAttributes.d.ts.map +1 -0
- package/dist/models/UpdateGuestAttemptRequestDataAttributes.js +61 -0
- package/dist/models/UpdateGuestAttemptRequestDataAttributes.js.map +1 -0
- package/dist/models/UpdateGuestAttemptRequestDataAttributesAnswersInner.d.ts +46 -0
- package/dist/models/UpdateGuestAttemptRequestDataAttributesAnswersInner.d.ts.map +1 -0
- package/dist/models/UpdateGuestAttemptRequestDataAttributesAnswersInner.js +54 -0
- package/dist/models/UpdateGuestAttemptRequestDataAttributesAnswersInner.js.map +1 -0
- package/dist/models/UpdateGuestAttemptRequestDataAttributesAnswersInnerFilesInner.d.ts +51 -0
- package/dist/models/UpdateGuestAttemptRequestDataAttributesAnswersInnerFilesInner.d.ts.map +1 -0
- package/dist/models/UpdateGuestAttemptRequestDataAttributesAnswersInnerFilesInner.js +55 -0
- package/dist/models/UpdateGuestAttemptRequestDataAttributesAnswersInnerFilesInner.js.map +1 -0
- package/dist/models/index.d.ts +37 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +37 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -19,9 +19,16 @@ export interface CreateAssessmentRequest {
|
|
|
19
19
|
}
|
|
20
20
|
export interface DeleteAssessmentRequest {
|
|
21
21
|
assessmentId: string;
|
|
22
|
+
permanentDelete?: DeleteAssessmentPermanentDeleteEnum;
|
|
22
23
|
}
|
|
23
24
|
export interface ListAssessmentsRequest {
|
|
25
|
+
filterStatus?: ListAssessmentsFilterStatusEnum;
|
|
26
|
+
filterCreatedFrom?: Date;
|
|
27
|
+
filterCreatedTo?: Date;
|
|
28
|
+
filterModifiedFrom?: Date;
|
|
29
|
+
filterModifiedTo?: Date;
|
|
24
30
|
pageSize?: number;
|
|
31
|
+
pageNumber?: number;
|
|
25
32
|
pageAfter?: string;
|
|
26
33
|
pageBefore?: string;
|
|
27
34
|
}
|
|
@@ -83,12 +90,12 @@ export declare class AssessmentsApi extends runtime.BaseAPI {
|
|
|
83
90
|
*/
|
|
84
91
|
deleteAssessmentRequestOpts(requestParameters: DeleteAssessmentRequest): Promise<runtime.RequestOpts>;
|
|
85
92
|
/**
|
|
86
|
-
*
|
|
93
|
+
* Soft-delete by default (sets status to `archived`). Pass `?permanentDelete=true` for hard delete from DynamoDB.
|
|
87
94
|
* Delete Assessment
|
|
88
95
|
*/
|
|
89
96
|
deleteAssessmentRaw(requestParameters: DeleteAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
90
97
|
/**
|
|
91
|
-
*
|
|
98
|
+
* Soft-delete by default (sets status to `archived`). Pass `?permanentDelete=true` for hard delete from DynamoDB.
|
|
92
99
|
* Delete Assessment
|
|
93
100
|
*/
|
|
94
101
|
deleteAssessment(requestParameters: DeleteAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -135,4 +142,23 @@ export declare class AssessmentsApi extends runtime.BaseAPI {
|
|
|
135
142
|
*/
|
|
136
143
|
updateAssessment(requestParameters: UpdateAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AssessmentSchema>;
|
|
137
144
|
}
|
|
145
|
+
/**
|
|
146
|
+
* @export
|
|
147
|
+
*/
|
|
148
|
+
export declare const DeleteAssessmentPermanentDeleteEnum: {
|
|
149
|
+
readonly True: "true";
|
|
150
|
+
readonly False: "false";
|
|
151
|
+
};
|
|
152
|
+
export type DeleteAssessmentPermanentDeleteEnum = typeof DeleteAssessmentPermanentDeleteEnum[keyof typeof DeleteAssessmentPermanentDeleteEnum];
|
|
153
|
+
/**
|
|
154
|
+
* @export
|
|
155
|
+
*/
|
|
156
|
+
export declare const ListAssessmentsFilterStatusEnum: {
|
|
157
|
+
readonly Draft: "draft";
|
|
158
|
+
readonly Active: "active";
|
|
159
|
+
readonly Archived: "archived";
|
|
160
|
+
readonly Failed: "failed";
|
|
161
|
+
readonly Pending: "pending";
|
|
162
|
+
};
|
|
163
|
+
export type ListAssessmentsFilterStatusEnum = typeof ListAssessmentsFilterStatusEnum[keyof typeof ListAssessmentsFilterStatusEnum];
|
|
138
164
|
//# sourceMappingURL=AssessmentsApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssessmentsApi.d.ts","sourceRoot":"","sources":["../../src/apis/AssessmentsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAA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EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAKrJ;;OAEG;IACG,2BAA2B,CAAC,iBAAiB,EAAE,uBAAuB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC;IA2C3G;;;OAGG;IACG,mBAAmB,CAAC,iBAAiB,EAAE,uBAAuB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAOjL;;;OAGG;IACG,gBAAgB,CAAC,iBAAiB,EAAE,uBAAuB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAK5J;AAED;;GAEG;AACH,eAAO,MAAM,mCAAmC;;;CAGtC,CAAC;AACX,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAC,MAAM,OAAO,mCAAmC,CAAC,CAAC;AAC/I;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;;;CAMlC,CAAC;AACX,MAAM,MAAM,+BAA+B,GAAG,OAAO,+BAA+B,CAAC,MAAM,OAAO,+BAA+B,CAAC,CAAC"}
|
|
@@ -46,7 +46,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
46
46
|
};
|
|
47
47
|
})();
|
|
48
48
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
-
exports.AssessmentsApi = void 0;
|
|
49
|
+
exports.ListAssessmentsFilterStatusEnum = exports.DeleteAssessmentPermanentDeleteEnum = exports.AssessmentsApi = void 0;
|
|
50
50
|
const runtime = __importStar(require("../runtime"));
|
|
51
51
|
const index_1 = require("../models/index");
|
|
52
52
|
/**
|
|
@@ -168,6 +168,9 @@ class AssessmentsApi extends runtime.BaseAPI {
|
|
|
168
168
|
throw new runtime.RequiredError('assessmentId', 'Required parameter "assessmentId" was null or undefined when calling deleteAssessment().');
|
|
169
169
|
}
|
|
170
170
|
const queryParameters = {};
|
|
171
|
+
if (requestParameters['permanentDelete'] != null) {
|
|
172
|
+
queryParameters['permanentDelete'] = requestParameters['permanentDelete'];
|
|
173
|
+
}
|
|
171
174
|
const headerParameters = {};
|
|
172
175
|
if (this.configuration && this.configuration.apiKey) {
|
|
173
176
|
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
@@ -186,7 +189,7 @@ class AssessmentsApi extends runtime.BaseAPI {
|
|
|
186
189
|
};
|
|
187
190
|
}
|
|
188
191
|
/**
|
|
189
|
-
*
|
|
192
|
+
* Soft-delete by default (sets status to `archived`). Pass `?permanentDelete=true` for hard delete from DynamoDB.
|
|
190
193
|
* Delete Assessment
|
|
191
194
|
*/
|
|
192
195
|
async deleteAssessmentRaw(requestParameters, initOverrides) {
|
|
@@ -195,7 +198,7 @@ class AssessmentsApi extends runtime.BaseAPI {
|
|
|
195
198
|
return new runtime.VoidApiResponse(response);
|
|
196
199
|
}
|
|
197
200
|
/**
|
|
198
|
-
*
|
|
201
|
+
* Soft-delete by default (sets status to `archived`). Pass `?permanentDelete=true` for hard delete from DynamoDB.
|
|
199
202
|
* Delete Assessment
|
|
200
203
|
*/
|
|
201
204
|
async deleteAssessment(requestParameters, initOverrides) {
|
|
@@ -206,9 +209,27 @@ class AssessmentsApi extends runtime.BaseAPI {
|
|
|
206
209
|
*/
|
|
207
210
|
async listAssessmentsRequestOpts(requestParameters) {
|
|
208
211
|
const queryParameters = {};
|
|
212
|
+
if (requestParameters['filterStatus'] != null) {
|
|
213
|
+
queryParameters['filterStatus'] = requestParameters['filterStatus'];
|
|
214
|
+
}
|
|
215
|
+
if (requestParameters['filterCreatedFrom'] != null) {
|
|
216
|
+
queryParameters['filterCreatedFrom'] = requestParameters['filterCreatedFrom'].toISOString();
|
|
217
|
+
}
|
|
218
|
+
if (requestParameters['filterCreatedTo'] != null) {
|
|
219
|
+
queryParameters['filterCreatedTo'] = requestParameters['filterCreatedTo'].toISOString();
|
|
220
|
+
}
|
|
221
|
+
if (requestParameters['filterModifiedFrom'] != null) {
|
|
222
|
+
queryParameters['filterModifiedFrom'] = requestParameters['filterModifiedFrom'].toISOString();
|
|
223
|
+
}
|
|
224
|
+
if (requestParameters['filterModifiedTo'] != null) {
|
|
225
|
+
queryParameters['filterModifiedTo'] = requestParameters['filterModifiedTo'].toISOString();
|
|
226
|
+
}
|
|
209
227
|
if (requestParameters['pageSize'] != null) {
|
|
210
228
|
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
211
229
|
}
|
|
230
|
+
if (requestParameters['pageNumber'] != null) {
|
|
231
|
+
queryParameters['pageNumber'] = requestParameters['pageNumber'];
|
|
232
|
+
}
|
|
212
233
|
if (requestParameters['pageAfter'] != null) {
|
|
213
234
|
queryParameters['pageAfter'] = requestParameters['pageAfter'];
|
|
214
235
|
}
|
|
@@ -339,4 +360,21 @@ class AssessmentsApi extends runtime.BaseAPI {
|
|
|
339
360
|
}
|
|
340
361
|
}
|
|
341
362
|
exports.AssessmentsApi = AssessmentsApi;
|
|
363
|
+
/**
|
|
364
|
+
* @export
|
|
365
|
+
*/
|
|
366
|
+
exports.DeleteAssessmentPermanentDeleteEnum = {
|
|
367
|
+
True: 'true',
|
|
368
|
+
False: 'false'
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* @export
|
|
372
|
+
*/
|
|
373
|
+
exports.ListAssessmentsFilterStatusEnum = {
|
|
374
|
+
Draft: 'draft',
|
|
375
|
+
Active: 'active',
|
|
376
|
+
Archived: 'archived',
|
|
377
|
+
Failed: 'failed',
|
|
378
|
+
Pending: 'pending'
|
|
379
|
+
};
|
|
342
380
|
//# sourceMappingURL=AssessmentsApi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssessmentsApi.js","sourceRoot":"","sources":["../../src/apis/AssessmentsApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;A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AM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;QAEnE,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,gCAAwB,EAAC,SAAS,CAAC,CAAC,CAAC;IACrG,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,gBAAgB,CAAC,iBAA0C,EAAE,aAA0D;QACzH,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QAClF,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AAzZD,wCAyZC;AAED;;GAEG;AACU,QAAA,mCAAmC,GAAG;IAC/C,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACR,CAAC;AAEX;;GAEG;AACU,QAAA,+BAA+B,GAAG;IAC3C,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACZ,CAAC"}
|
|
@@ -0,0 +1,287 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { AttemptSchema, AttemptsSchema, CreateAttemptRequest, GuestAttemptSchema, StartGuestAttemptRequest, UpdateAttemptRequest, UpdateGuestAttemptRequest } from '../models/index';
|
|
14
|
+
export interface AttemptOptionsRequest {
|
|
15
|
+
attemptId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface CreateAttemptOperationRequest {
|
|
18
|
+
createAttemptRequest: CreateAttemptRequest;
|
|
19
|
+
}
|
|
20
|
+
export interface DeleteAttemptRequest {
|
|
21
|
+
attemptId: string;
|
|
22
|
+
permanentDelete?: DeleteAttemptPermanentDeleteEnum;
|
|
23
|
+
}
|
|
24
|
+
export interface GuestAttemptOptionsRequest {
|
|
25
|
+
attemptId: string;
|
|
26
|
+
}
|
|
27
|
+
export interface ListAttemptsRequest {
|
|
28
|
+
filterStatus?: ListAttemptsFilterStatusEnum;
|
|
29
|
+
filterAssessmentId?: string;
|
|
30
|
+
filterCandidateId?: string;
|
|
31
|
+
filterCreatedFrom?: Date;
|
|
32
|
+
filterCreatedTo?: Date;
|
|
33
|
+
filterModifiedFrom?: Date;
|
|
34
|
+
filterModifiedTo?: Date;
|
|
35
|
+
pageSize?: number;
|
|
36
|
+
pageNumber?: number;
|
|
37
|
+
pageAfter?: string;
|
|
38
|
+
pageBefore?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface ReevaluateAttemptRequest {
|
|
41
|
+
attemptId: string;
|
|
42
|
+
}
|
|
43
|
+
export interface ReevaluateAttemptOptionsRequest {
|
|
44
|
+
attemptId: string;
|
|
45
|
+
}
|
|
46
|
+
export interface ShowAttemptRequest {
|
|
47
|
+
attemptId: string;
|
|
48
|
+
}
|
|
49
|
+
export interface ShowGuestAttemptRequest {
|
|
50
|
+
attemptId: string;
|
|
51
|
+
tenantId: string;
|
|
52
|
+
token: string;
|
|
53
|
+
}
|
|
54
|
+
export interface StartGuestAttemptOperationRequest {
|
|
55
|
+
startGuestAttemptRequest: StartGuestAttemptRequest;
|
|
56
|
+
}
|
|
57
|
+
export interface UpdateAttemptOperationRequest {
|
|
58
|
+
attemptId: string;
|
|
59
|
+
updateAttemptRequest: UpdateAttemptRequest;
|
|
60
|
+
}
|
|
61
|
+
export interface UpdateGuestAttemptOperationRequest {
|
|
62
|
+
attemptId: string;
|
|
63
|
+
updateGuestAttemptRequest: UpdateGuestAttemptRequest;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
export declare class AttemptsApi extends runtime.BaseAPI {
|
|
69
|
+
/**
|
|
70
|
+
* Creates request options for attemptOptions without sending the request
|
|
71
|
+
*/
|
|
72
|
+
attemptOptionsRequestOpts(requestParameters: AttemptOptionsRequest): Promise<runtime.RequestOpts>;
|
|
73
|
+
/**
|
|
74
|
+
* Enable CORS by returning correct headers
|
|
75
|
+
* Attempt Options
|
|
76
|
+
*/
|
|
77
|
+
attemptOptionsRaw(requestParameters: AttemptOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
78
|
+
/**
|
|
79
|
+
* Enable CORS by returning correct headers
|
|
80
|
+
* Attempt Options
|
|
81
|
+
*/
|
|
82
|
+
attemptOptions(requestParameters: AttemptOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
83
|
+
/**
|
|
84
|
+
* Creates request options for attemptsOptions without sending the request
|
|
85
|
+
*/
|
|
86
|
+
attemptsOptionsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
87
|
+
/**
|
|
88
|
+
* Enable CORS by returning correct headers
|
|
89
|
+
* Attempts Options
|
|
90
|
+
*/
|
|
91
|
+
attemptsOptionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
92
|
+
/**
|
|
93
|
+
* Enable CORS by returning correct headers
|
|
94
|
+
* Attempts Options
|
|
95
|
+
*/
|
|
96
|
+
attemptsOptions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
97
|
+
/**
|
|
98
|
+
* Creates request options for createAttempt without sending the request
|
|
99
|
+
*/
|
|
100
|
+
createAttemptRequestOpts(requestParameters: CreateAttemptOperationRequest): Promise<runtime.RequestOpts>;
|
|
101
|
+
/**
|
|
102
|
+
* Assigns an assessment template to a candidate. Generates an access token (returned in meta.accessToken on the response) that the FE composes into a candidate link of shape `https://assess.{domain}/attempts/{attemptId}?token={hex}`. Required relationships: assessment (FK), candidate.
|
|
103
|
+
* Create Attempt
|
|
104
|
+
*/
|
|
105
|
+
createAttemptRaw(requestParameters: CreateAttemptOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AttemptSchema>>;
|
|
106
|
+
/**
|
|
107
|
+
* Assigns an assessment template to a candidate. Generates an access token (returned in meta.accessToken on the response) that the FE composes into a candidate link of shape `https://assess.{domain}/attempts/{attemptId}?token={hex}`. Required relationships: assessment (FK), candidate.
|
|
108
|
+
* Create Attempt
|
|
109
|
+
*/
|
|
110
|
+
createAttempt(requestParameters: CreateAttemptOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AttemptSchema>;
|
|
111
|
+
/**
|
|
112
|
+
* Creates request options for deleteAttempt without sending the request
|
|
113
|
+
*/
|
|
114
|
+
deleteAttemptRequestOpts(requestParameters: DeleteAttemptRequest): Promise<runtime.RequestOpts>;
|
|
115
|
+
/**
|
|
116
|
+
* Soft delete (status=anonymized + drops PII) by default. `?permanentDelete=true` for hard delete (GDPR right to erasure). Soft default keeps evaluation summary for analytics.
|
|
117
|
+
* Delete Attempt
|
|
118
|
+
*/
|
|
119
|
+
deleteAttemptRaw(requestParameters: DeleteAttemptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
120
|
+
/**
|
|
121
|
+
* Soft delete (status=anonymized + drops PII) by default. `?permanentDelete=true` for hard delete (GDPR right to erasure). Soft default keeps evaluation summary for analytics.
|
|
122
|
+
* Delete Attempt
|
|
123
|
+
*/
|
|
124
|
+
deleteAttempt(requestParameters: DeleteAttemptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
125
|
+
/**
|
|
126
|
+
* Creates request options for guestAttemptOptions without sending the request
|
|
127
|
+
*/
|
|
128
|
+
guestAttemptOptionsRequestOpts(requestParameters: GuestAttemptOptionsRequest): Promise<runtime.RequestOpts>;
|
|
129
|
+
/**
|
|
130
|
+
* Enable CORS by returning correct headers
|
|
131
|
+
* Guest Attempt Options
|
|
132
|
+
*/
|
|
133
|
+
guestAttemptOptionsRaw(requestParameters: GuestAttemptOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
134
|
+
/**
|
|
135
|
+
* Enable CORS by returning correct headers
|
|
136
|
+
* Guest Attempt Options
|
|
137
|
+
*/
|
|
138
|
+
guestAttemptOptions(requestParameters: GuestAttemptOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
139
|
+
/**
|
|
140
|
+
* Creates request options for guestAttemptsOptions without sending the request
|
|
141
|
+
*/
|
|
142
|
+
guestAttemptsOptionsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
143
|
+
/**
|
|
144
|
+
* Enable CORS by returning correct headers
|
|
145
|
+
* Guest Attempts Options
|
|
146
|
+
*/
|
|
147
|
+
guestAttemptsOptionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
148
|
+
/**
|
|
149
|
+
* Enable CORS by returning correct headers
|
|
150
|
+
* Guest Attempts Options
|
|
151
|
+
*/
|
|
152
|
+
guestAttemptsOptions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
153
|
+
/**
|
|
154
|
+
* Creates request options for listAttempts without sending the request
|
|
155
|
+
*/
|
|
156
|
+
listAttemptsRequestOpts(requestParameters: ListAttemptsRequest): Promise<runtime.RequestOpts>;
|
|
157
|
+
/**
|
|
158
|
+
* List attempts. Most common queries: - filterAssessmentId=<id> - all attempts of a template - filterCandidateId=<id> - all attempts by a candidate - filterStatus=evaluated - completed evaluations
|
|
159
|
+
* List Attempts
|
|
160
|
+
*/
|
|
161
|
+
listAttemptsRaw(requestParameters: ListAttemptsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AttemptsSchema>>;
|
|
162
|
+
/**
|
|
163
|
+
* List attempts. Most common queries: - filterAssessmentId=<id> - all attempts of a template - filterCandidateId=<id> - all attempts by a candidate - filterStatus=evaluated - completed evaluations
|
|
164
|
+
* List Attempts
|
|
165
|
+
*/
|
|
166
|
+
listAttempts(requestParameters?: ListAttemptsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AttemptsSchema>;
|
|
167
|
+
/**
|
|
168
|
+
* Creates request options for reevaluateAttempt without sending the request
|
|
169
|
+
*/
|
|
170
|
+
reevaluateAttemptRequestOpts(requestParameters: ReevaluateAttemptRequest): Promise<runtime.RequestOpts>;
|
|
171
|
+
/**
|
|
172
|
+
* Re-runs the evaluation Step Function against the same answers (e.g. after the AI evaluator was upgraded). Resets evaluation.status=\'pending\' and emits ATTEMPT_REEVALUATION_REQUESTED. Action-style endpoint (POST + verb suffix) because this triggers work, not just a state mutation.
|
|
173
|
+
* Reevaluate Attempt
|
|
174
|
+
*/
|
|
175
|
+
reevaluateAttemptRaw(requestParameters: ReevaluateAttemptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AttemptSchema>>;
|
|
176
|
+
/**
|
|
177
|
+
* Re-runs the evaluation Step Function against the same answers (e.g. after the AI evaluator was upgraded). Resets evaluation.status=\'pending\' and emits ATTEMPT_REEVALUATION_REQUESTED. Action-style endpoint (POST + verb suffix) because this triggers work, not just a state mutation.
|
|
178
|
+
* Reevaluate Attempt
|
|
179
|
+
*/
|
|
180
|
+
reevaluateAttempt(requestParameters: ReevaluateAttemptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AttemptSchema>;
|
|
181
|
+
/**
|
|
182
|
+
* Creates request options for reevaluateAttemptOptions without sending the request
|
|
183
|
+
*/
|
|
184
|
+
reevaluateAttemptOptionsRequestOpts(requestParameters: ReevaluateAttemptOptionsRequest): Promise<runtime.RequestOpts>;
|
|
185
|
+
/**
|
|
186
|
+
* Enable CORS by returning correct headers
|
|
187
|
+
* Reevaluate Options
|
|
188
|
+
*/
|
|
189
|
+
reevaluateAttemptOptionsRaw(requestParameters: ReevaluateAttemptOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
190
|
+
/**
|
|
191
|
+
* Enable CORS by returning correct headers
|
|
192
|
+
* Reevaluate Options
|
|
193
|
+
*/
|
|
194
|
+
reevaluateAttemptOptions(requestParameters: ReevaluateAttemptOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
195
|
+
/**
|
|
196
|
+
* Creates request options for showAttempt without sending the request
|
|
197
|
+
*/
|
|
198
|
+
showAttemptRequestOpts(requestParameters: ShowAttemptRequest): Promise<runtime.RequestOpts>;
|
|
199
|
+
/**
|
|
200
|
+
* Returns full attempt details including evaluation block (recruiter view).
|
|
201
|
+
* Show Attempt
|
|
202
|
+
*/
|
|
203
|
+
showAttemptRaw(requestParameters: ShowAttemptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AttemptSchema>>;
|
|
204
|
+
/**
|
|
205
|
+
* Returns full attempt details including evaluation block (recruiter view).
|
|
206
|
+
* Show Attempt
|
|
207
|
+
*/
|
|
208
|
+
showAttempt(requestParameters: ShowAttemptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AttemptSchema>;
|
|
209
|
+
/**
|
|
210
|
+
* Creates request options for showGuestAttempt without sending the request
|
|
211
|
+
*/
|
|
212
|
+
showGuestAttemptRequestOpts(requestParameters: ShowGuestAttemptRequest): Promise<runtime.RequestOpts>;
|
|
213
|
+
/**
|
|
214
|
+
* Read-only fetch. tenantId + token via query string. Returns attempt + filtered template (no answer keys). Returns 404 on token mismatch (intentionally - we don\'t leak whether a given attempt exists).
|
|
215
|
+
* Show Guest Attempt
|
|
216
|
+
*/
|
|
217
|
+
showGuestAttemptRaw(requestParameters: ShowGuestAttemptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GuestAttemptSchema>>;
|
|
218
|
+
/**
|
|
219
|
+
* Read-only fetch. tenantId + token via query string. Returns attempt + filtered template (no answer keys). Returns 404 on token mismatch (intentionally - we don\'t leak whether a given attempt exists).
|
|
220
|
+
* Show Guest Attempt
|
|
221
|
+
*/
|
|
222
|
+
showGuestAttempt(requestParameters: ShowGuestAttemptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GuestAttemptSchema>;
|
|
223
|
+
/**
|
|
224
|
+
* Creates request options for startGuestAttempt without sending the request
|
|
225
|
+
*/
|
|
226
|
+
startGuestAttemptRequestOpts(requestParameters: StartGuestAttemptOperationRequest): Promise<runtime.RequestOpts>;
|
|
227
|
+
/**
|
|
228
|
+
* Candidate clicks the assessment link. Validates token and transitions the attempt from pending -> inProgress (idempotent). Returns attempt + filtered template (no answer keys).
|
|
229
|
+
* Start Guest Attempt
|
|
230
|
+
*/
|
|
231
|
+
startGuestAttemptRaw(requestParameters: StartGuestAttemptOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GuestAttemptSchema>>;
|
|
232
|
+
/**
|
|
233
|
+
* Candidate clicks the assessment link. Validates token and transitions the attempt from pending -> inProgress (idempotent). Returns attempt + filtered template (no answer keys).
|
|
234
|
+
* Start Guest Attempt
|
|
235
|
+
*/
|
|
236
|
+
startGuestAttempt(requestParameters: StartGuestAttemptOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GuestAttemptSchema>;
|
|
237
|
+
/**
|
|
238
|
+
* Creates request options for updateAttempt without sending the request
|
|
239
|
+
*/
|
|
240
|
+
updateAttemptRequestOpts(requestParameters: UpdateAttemptOperationRequest): Promise<runtime.RequestOpts>;
|
|
241
|
+
/**
|
|
242
|
+
* Recruiter / admin override path. Allowed updates: status, languageCode, evaluation (manual override), proctoring, expiresAt, durationMinutes, evaluatorVersion. answers is NOT allowed - candidate\'s guest endpoint owns that.
|
|
243
|
+
* Update Attempt
|
|
244
|
+
*/
|
|
245
|
+
updateAttemptRaw(requestParameters: UpdateAttemptOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AttemptSchema>>;
|
|
246
|
+
/**
|
|
247
|
+
* Recruiter / admin override path. Allowed updates: status, languageCode, evaluation (manual override), proctoring, expiresAt, durationMinutes, evaluatorVersion. answers is NOT allowed - candidate\'s guest endpoint owns that.
|
|
248
|
+
* Update Attempt
|
|
249
|
+
*/
|
|
250
|
+
updateAttempt(requestParameters: UpdateAttemptOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AttemptSchema>;
|
|
251
|
+
/**
|
|
252
|
+
* Creates request options for updateGuestAttempt without sending the request
|
|
253
|
+
*/
|
|
254
|
+
updateGuestAttemptRequestOpts(requestParameters: UpdateGuestAttemptOperationRequest): Promise<runtime.RequestOpts>;
|
|
255
|
+
/**
|
|
256
|
+
* Candidate autosave OR finalize. Two flows in one operation: - autosave: data.attributes.answers / proctoring updates while status=inProgress - finalize: data.attributes.status=\'submitted\' transitions attempt and emits ATTEMPT_SUBMITTED (eval SF picks it up)
|
|
257
|
+
* Update Guest Attempt
|
|
258
|
+
*/
|
|
259
|
+
updateGuestAttemptRaw(requestParameters: UpdateGuestAttemptOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GuestAttemptSchema>>;
|
|
260
|
+
/**
|
|
261
|
+
* Candidate autosave OR finalize. Two flows in one operation: - autosave: data.attributes.answers / proctoring updates while status=inProgress - finalize: data.attributes.status=\'submitted\' transitions attempt and emits ATTEMPT_SUBMITTED (eval SF picks it up)
|
|
262
|
+
* Update Guest Attempt
|
|
263
|
+
*/
|
|
264
|
+
updateGuestAttempt(requestParameters: UpdateGuestAttemptOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GuestAttemptSchema>;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* @export
|
|
268
|
+
*/
|
|
269
|
+
export declare const DeleteAttemptPermanentDeleteEnum: {
|
|
270
|
+
readonly True: "true";
|
|
271
|
+
readonly False: "false";
|
|
272
|
+
};
|
|
273
|
+
export type DeleteAttemptPermanentDeleteEnum = typeof DeleteAttemptPermanentDeleteEnum[keyof typeof DeleteAttemptPermanentDeleteEnum];
|
|
274
|
+
/**
|
|
275
|
+
* @export
|
|
276
|
+
*/
|
|
277
|
+
export declare const ListAttemptsFilterStatusEnum: {
|
|
278
|
+
readonly Pending: "pending";
|
|
279
|
+
readonly InProgress: "inProgress";
|
|
280
|
+
readonly Submitted: "submitted";
|
|
281
|
+
readonly Evaluated: "evaluated";
|
|
282
|
+
readonly Reviewed: "reviewed";
|
|
283
|
+
readonly Anonymized: "anonymized";
|
|
284
|
+
readonly Failed: "failed";
|
|
285
|
+
};
|
|
286
|
+
export type ListAttemptsFilterStatusEnum = typeof ListAttemptsFilterStatusEnum[keyof typeof ListAttemptsFilterStatusEnum];
|
|
287
|
+
//# sourceMappingURL=AttemptsApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttemptsApi.d.ts","sourceRoot":"","sources":["../../src/apis/AttemptsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,oBAAoB,EAEpB,kBAAkB,EAClB,wBAAwB,EACxB,oBAAoB,EACpB,yBAAyB,EAC1B,MAAM,iBAAiB,CAAC;AAoBzB,MAAM,WAAW,qBAAqB;IAClC,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,6BAA6B;IAC1C,oBAAoB,EAAE,oBAAoB,CAAC;CAC9C;AAED,MAAM,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