@smartytalent/api-client 0.1.33-dev.34 → 0.1.33-dev.36
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/AttemptsApi.d.ts +287 -0
- package/dist/apis/AttemptsApi.d.ts.map +1 -0
- package/dist/apis/AttemptsApi.js +643 -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/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/MeetingRecallSchema.d.ts +8 -0
- package/dist/models/MeetingRecallSchema.d.ts.map +1 -1
- package/dist/models/MeetingRecallSchema.js +2 -0
- package/dist/models/MeetingRecallSchema.js.map +1 -1
- 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/StartGuestAttemptRequestMeta.d.ts +39 -0
- package/dist/models/StartGuestAttemptRequestMeta.d.ts.map +1 -0
- package/dist/models/StartGuestAttemptRequestMeta.js +55 -0
- package/dist/models/StartGuestAttemptRequestMeta.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 +14 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +14 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -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 { CreateAttemptRequest, 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<void>>;
|
|
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<void>;
|
|
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<void>>;
|
|
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<void>;
|
|
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<void>>;
|
|
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<void>;
|
|
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<void>>;
|
|
204
|
+
/**
|
|
205
|
+
* Returns full attempt details including evaluation block (recruiter view).
|
|
206
|
+
* Show Attempt
|
|
207
|
+
*/
|
|
208
|
+
showAttempt(requestParameters: ShowAttemptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
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<void>>;
|
|
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<void>;
|
|
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<void>>;
|
|
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<void>;
|
|
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<void>>;
|
|
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<void>;
|
|
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<void>>;
|
|
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<void>;
|
|
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,oBAAoB,EAEpB,wBAAwB,EACxB,oBAAoB,EACpB,yBAAyB,EAC1B,MAAM,iBAAiB,CAAC;AAczB,MAAM,WAAW,qBAAqB;IAClC,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,6BAA6B;IAC1C,oBAAoB,EAAE,oBAAoB,CAAC;CAC9C;AAED,MAAM,WAAW,oBAAoB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,gCAAgC,CAAC;CACtD;AAED,MAAM,WAAW,0BAA0B;IACvC,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAChC,YAAY,CAAC,EAAE,4BAA4B,CAAC;IAC5C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,IAAI,CAAC;IACzB,eAAe,CAAC,EAAE,IAAI,CAAC;IACvB,kBAAkB,CAAC,EAAE,IAAI,CAAC;IAC1B,gBAAgB,CAAC,EAAE,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,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