@profcomff/api-uilib 2025.12.21-test → 2026.3.30
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/package.json +1 -1
- package/src/openapi/rating.ts +85 -0
- package/src/openapi/rental.ts +51 -1
- package/src/openapi/userdata.ts +4 -0
package/package.json
CHANGED
package/src/openapi/rating.ts
CHANGED
|
@@ -268,6 +268,26 @@ export interface paths {
|
|
|
268
268
|
patch: operations["update_lecturer_rating_lecturer_import_rating_patch"];
|
|
269
269
|
trace?: never;
|
|
270
270
|
};
|
|
271
|
+
"/rating/lecturer/timetable-id/{timetable_id}": {
|
|
272
|
+
parameters: {
|
|
273
|
+
query?: never;
|
|
274
|
+
header?: never;
|
|
275
|
+
path?: never;
|
|
276
|
+
cookie?: never;
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* Get Lecturer By Timetable Id
|
|
280
|
+
* @description Возвращает преподавателя по его timetable_id
|
|
281
|
+
*/
|
|
282
|
+
get: operations["get_lecturer_by_timetable_id_lecturer_timetable_id__timetable_id__get"];
|
|
283
|
+
put?: never;
|
|
284
|
+
post?: never;
|
|
285
|
+
delete?: never;
|
|
286
|
+
options?: never;
|
|
287
|
+
head?: never;
|
|
288
|
+
patch?: never;
|
|
289
|
+
trace?: never;
|
|
290
|
+
};
|
|
271
291
|
}
|
|
272
292
|
export type webhooks = Record<string, never>;
|
|
273
293
|
export interface components {
|
|
@@ -281,6 +301,16 @@ export interface components {
|
|
|
281
301
|
create_ts: string;
|
|
282
302
|
/** Dislike Count */
|
|
283
303
|
dislike_count: number;
|
|
304
|
+
/**
|
|
305
|
+
* Is Disliked
|
|
306
|
+
* @default false
|
|
307
|
+
*/
|
|
308
|
+
is_disliked: boolean;
|
|
309
|
+
/**
|
|
310
|
+
* Is Liked
|
|
311
|
+
* @default false
|
|
312
|
+
*/
|
|
313
|
+
is_liked: boolean;
|
|
284
314
|
/** Lecturer Id */
|
|
285
315
|
lecturer_id: number;
|
|
286
316
|
/** Like Count */
|
|
@@ -365,6 +395,16 @@ export interface components {
|
|
|
365
395
|
create_ts: string;
|
|
366
396
|
/** Dislike Count */
|
|
367
397
|
dislike_count: number;
|
|
398
|
+
/**
|
|
399
|
+
* Is Disliked
|
|
400
|
+
* @default false
|
|
401
|
+
*/
|
|
402
|
+
is_disliked: boolean;
|
|
403
|
+
/**
|
|
404
|
+
* Is Liked
|
|
405
|
+
* @default false
|
|
406
|
+
*/
|
|
407
|
+
is_liked: boolean;
|
|
368
408
|
/** Lecturer Id */
|
|
369
409
|
lecturer_id: number;
|
|
370
410
|
/** Like Count */
|
|
@@ -406,6 +446,16 @@ export interface components {
|
|
|
406
446
|
create_ts: string;
|
|
407
447
|
/** Dislike Count */
|
|
408
448
|
dislike_count: number;
|
|
449
|
+
/**
|
|
450
|
+
* Is Disliked
|
|
451
|
+
* @default false
|
|
452
|
+
*/
|
|
453
|
+
is_disliked: boolean;
|
|
454
|
+
/**
|
|
455
|
+
* Is Liked
|
|
456
|
+
* @default false
|
|
457
|
+
*/
|
|
458
|
+
is_liked: boolean;
|
|
409
459
|
/** Lecturer Id */
|
|
410
460
|
lecturer_id: number;
|
|
411
461
|
/** Like Count */
|
|
@@ -632,6 +682,10 @@ export interface components {
|
|
|
632
682
|
};
|
|
633
683
|
/** ValidationError */
|
|
634
684
|
ValidationError: {
|
|
685
|
+
/** Context */
|
|
686
|
+
ctx?: Record<string, never>;
|
|
687
|
+
/** Input */
|
|
688
|
+
input?: unknown;
|
|
635
689
|
/** Location */
|
|
636
690
|
loc: (string | number)[];
|
|
637
691
|
/** Message */
|
|
@@ -1118,4 +1172,35 @@ export interface operations {
|
|
|
1118
1172
|
};
|
|
1119
1173
|
};
|
|
1120
1174
|
};
|
|
1175
|
+
get_lecturer_by_timetable_id_lecturer_timetable_id__timetable_id__get: {
|
|
1176
|
+
parameters: {
|
|
1177
|
+
query?: never;
|
|
1178
|
+
header?: never;
|
|
1179
|
+
path: {
|
|
1180
|
+
timetable_id: number;
|
|
1181
|
+
};
|
|
1182
|
+
cookie?: never;
|
|
1183
|
+
};
|
|
1184
|
+
requestBody?: never;
|
|
1185
|
+
responses: {
|
|
1186
|
+
/** @description Successful Response */
|
|
1187
|
+
200: {
|
|
1188
|
+
headers: {
|
|
1189
|
+
[name: string]: unknown;
|
|
1190
|
+
};
|
|
1191
|
+
content: {
|
|
1192
|
+
"application/json": components["schemas"]["LecturerGet"];
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1195
|
+
/** @description Validation Error */
|
|
1196
|
+
422: {
|
|
1197
|
+
headers: {
|
|
1198
|
+
[name: string]: unknown;
|
|
1199
|
+
};
|
|
1200
|
+
content: {
|
|
1201
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1202
|
+
};
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1205
|
+
};
|
|
1121
1206
|
}
|
package/src/openapi/rental.ts
CHANGED
|
@@ -300,7 +300,20 @@ export interface paths {
|
|
|
300
300
|
get: operations["get_rental_session_rental_sessions__session_id__get"];
|
|
301
301
|
put?: never;
|
|
302
302
|
post?: never;
|
|
303
|
-
|
|
303
|
+
/**
|
|
304
|
+
* Delete Rental Session
|
|
305
|
+
* @description Deletes a session.
|
|
306
|
+
*
|
|
307
|
+
* Scopes: `["rental.session.admin"]`
|
|
308
|
+
*
|
|
309
|
+
* - **session_id**: The ID of the rental session to delete.
|
|
310
|
+
*
|
|
311
|
+
* Returns the deleted rental session.
|
|
312
|
+
*
|
|
313
|
+
* Raises **ForbiddenAction** if the session is in RESERVED, ACTIVE, OVERDUE status.
|
|
314
|
+
* Raises **ObjectNotFound** if the session does not exist.
|
|
315
|
+
*/
|
|
316
|
+
delete: operations["delete_rental_session_rental_sessions__session_id__delete"];
|
|
304
317
|
options?: never;
|
|
305
318
|
head?: never;
|
|
306
319
|
/**
|
|
@@ -600,6 +613,8 @@ export interface components {
|
|
|
600
613
|
availability: boolean;
|
|
601
614
|
/** Available Items Count */
|
|
602
615
|
available_items_count?: number | null;
|
|
616
|
+
/** Cool Down End Ts */
|
|
617
|
+
cool_down_end_ts?: string | null;
|
|
603
618
|
/** Description */
|
|
604
619
|
description?: string | null;
|
|
605
620
|
/** Id */
|
|
@@ -708,6 +723,10 @@ export interface components {
|
|
|
708
723
|
};
|
|
709
724
|
/** ValidationError */
|
|
710
725
|
ValidationError: {
|
|
726
|
+
/** Context */
|
|
727
|
+
ctx?: Record<string, never>;
|
|
728
|
+
/** Input */
|
|
729
|
+
input?: unknown;
|
|
711
730
|
/** Location */
|
|
712
731
|
loc: (string | number)[];
|
|
713
732
|
/** Message */
|
|
@@ -1210,6 +1229,37 @@ export interface operations {
|
|
|
1210
1229
|
};
|
|
1211
1230
|
};
|
|
1212
1231
|
};
|
|
1232
|
+
delete_rental_session_rental_sessions__session_id__delete: {
|
|
1233
|
+
parameters: {
|
|
1234
|
+
query?: never;
|
|
1235
|
+
header?: never;
|
|
1236
|
+
path: {
|
|
1237
|
+
session_id: number;
|
|
1238
|
+
};
|
|
1239
|
+
cookie?: never;
|
|
1240
|
+
};
|
|
1241
|
+
requestBody?: never;
|
|
1242
|
+
responses: {
|
|
1243
|
+
/** @description Successful Response */
|
|
1244
|
+
200: {
|
|
1245
|
+
headers: {
|
|
1246
|
+
[name: string]: unknown;
|
|
1247
|
+
};
|
|
1248
|
+
content: {
|
|
1249
|
+
"application/json": components["schemas"]["StatusResponseModel"];
|
|
1250
|
+
};
|
|
1251
|
+
};
|
|
1252
|
+
/** @description Validation Error */
|
|
1253
|
+
422: {
|
|
1254
|
+
headers: {
|
|
1255
|
+
[name: string]: unknown;
|
|
1256
|
+
};
|
|
1257
|
+
content: {
|
|
1258
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1259
|
+
};
|
|
1260
|
+
};
|
|
1261
|
+
};
|
|
1262
|
+
};
|
|
1213
1263
|
update_rental_session_rental_sessions__session_id__patch: {
|
|
1214
1264
|
parameters: {
|
|
1215
1265
|
query?: never;
|
package/src/openapi/userdata.ts
CHANGED