@profcomff/api-uilib 2025.9.18 → 2025.9.26

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@profcomff/api-uilib",
3
- "version": "2025.09.18",
3
+ "version": "2025.09.26",
4
4
  "description": "API wrappers, autogenerated from openapi.json files",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.d.ts",
@@ -248,6 +248,7 @@ export interface paths {
248
248
  * - **is_overdue**: Filter by overdue sessions.
249
249
  * - **is_returned**: Filter by returned sessions.
250
250
  * - **is_active**: Filter by active sessions.
251
+ * - **is_expired**: Filter by expired sessions.
251
252
  * - **user_id**: User_id to get sessions
252
253
  * Returns a list of rental sessions.
253
254
  */
@@ -272,6 +273,8 @@ export interface paths {
272
273
  /**
273
274
  * Create Rental Session
274
275
  * @description Создает новую сессию аренды для указанного типа предмета.
276
+ *
277
+ * :param item_type_id: Идентификатор типа предмета.
275
278
  * :raises NoneAvailable: Если нет доступных предметов указанного типа.
276
279
  * :raises SessionExists: Если у пользователя уже есть сессия с указанным типом предмета.
277
280
  */
@@ -415,6 +418,7 @@ export interface paths {
415
418
  * - **is_overdue**: Filter by overdue sessions.
416
419
  * - **is_returned**: Filter by returned sessions.
417
420
  * - **is_active**: Filter by active sessions.
421
+ * - **is_expired**: Filter by expired sessions.
418
422
  * Returns a list of rental sessions.
419
423
  */
420
424
  get: operations["get_my_sessions_rental_sessions_user_me_get"];
@@ -633,6 +637,8 @@ export interface components {
633
637
  strike_id?: number | null;
634
638
  /** User Id */
635
639
  user_id: number;
640
+ /** User Phone */
641
+ user_phone?: string | null;
636
642
  };
637
643
  /** RentalSessionPatch */
638
644
  RentalSessionPatch: {
@@ -1084,21 +1090,23 @@ export interface operations {
1084
1090
  get_rental_sessions_rental_sessions_get: {
1085
1091
  parameters: {
1086
1092
  query?: {
1087
- /** @description Filter by active sessions. */
1093
+ /** @description Флаг, показывать активные */
1088
1094
  is_active?: boolean;
1089
- /** @description Filter by canceled sessions. */
1095
+ /** @description Флаг, показывать отмененные */
1090
1096
  is_canceled?: boolean;
1091
- /** @description Filter by dismissed sessions. */
1097
+ /** @description Флаг, показывать отклоненные */
1092
1098
  is_dismissed?: boolean;
1093
- /** @description Filter by overdue sessions. */
1099
+ /** @description Флаг, показывать просроченные */
1100
+ is_expired?: boolean;
1101
+ /** @description Флаг, показывать просроченные */
1094
1102
  is_overdue?: boolean;
1095
- /** @description Filter by reserved sessions. */
1103
+ /** @description флаг, показывать заявки */
1096
1104
  is_reserved?: boolean;
1097
- /** @description Filter by returned sessions. */
1105
+ /** @description Флаг, показывать вернутые */
1098
1106
  is_returned?: boolean;
1099
- /** @description Item_type_id to get sessions */
1107
+ /** @description ID типа предмета */
1100
1108
  item_type_id?: number;
1101
- /** @description User_id to get sessions */
1109
+ /** @description User_id для получения сессий */
1102
1110
  user_id?: number;
1103
1111
  };
1104
1112
  header?: never;
@@ -1332,6 +1340,8 @@ export interface operations {
1332
1340
  /** @description Флаг, показывать отклоненные */
1333
1341
  is_dismissed?: boolean;
1334
1342
  /** @description Флаг, показывать просроченные */
1343
+ is_expired?: boolean;
1344
+ /** @description Флаг, показывать просроченные */
1335
1345
  is_overdue?: boolean;
1336
1346
  /** @description флаг, показывать заявки */
1337
1347
  is_reserved?: boolean;