@profcomff/api-uilib 2025.12.21-test → 2026.2.28
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/rental.ts +51 -1
package/package.json
CHANGED
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;
|