feature/H-2624 #28
@@ -1877,6 +1877,9 @@ paths:
|
|||||||
myFavorites:
|
myFavorites:
|
||||||
# description: User feed - Favorites (in development, not used)
|
# description: User feed - Favorites (in development, not used)
|
||||||
$ref: '#/components/schemas/dashboardWidget'
|
$ref: '#/components/schemas/dashboardWidget'
|
||||||
|
myVacations:
|
||||||
|
# description: User feed - Vacations of current user and subordinates and team
|
||||||
|
$ref: '#/components/schemas/dashboardVacationsWidget'
|
||||||
myPostcards:
|
myPostcards:
|
||||||
# description: User feed - Received postcards
|
# description: User feed - Received postcards
|
||||||
$ref: '#/components/schemas/dashboardWidget'
|
$ref: '#/components/schemas/dashboardWidget'
|
||||||
@@ -7422,6 +7425,31 @@ components:
|
|||||||
description: Идеи которые еще не были просмотрены пользователем
|
description: Идеи которые еще не были просмотрены пользователем
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/updIdeaWidgetItem'
|
$ref: '#/components/schemas/updIdeaWidgetItem'
|
||||||
|
|
||||||
|
dashboardVacationsWidget:
|
||||||
|
allOf:
|
||||||
|
- $ref: '#/components/schemas/dashboardWidget'
|
||||||
|
- type: object
|
||||||
|
properties:
|
||||||
|
items:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/myVacationsWidgetItem'
|
||||||
|
- type: object
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
vacationsTeam:
|
||||||
|
type: array
|
||||||
|
description: Отпуска коллег (в одном отделе с юзером)
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/myVacationsWidgetItem'
|
||||||
|
vacationsSubordinates:
|
||||||
|
type: array
|
||||||
|
description: Отпуска подчиненных
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/myVacationsWidgetItem'
|
||||||
|
|
||||||
updIdeaWidgetItem:
|
updIdeaWidgetItem:
|
||||||
allOf:
|
allOf:
|
||||||
@@ -7435,6 +7463,51 @@ components:
|
|||||||
type: integer
|
type: integer
|
||||||
description: Количество пользователей проголосовавших за идею
|
description: Количество пользователей проголосовавших за идею
|
||||||
|
|
||||||
|
myVacationsWidgetItem:
|
||||||
|
allOf:
|
||||||
|
- $ref: '#/components/schemas/dashboardWidgetItem'
|
||||||
|
- type: object
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
vacation_planned_status_id:
|
||||||
|
type: integer
|
||||||
|
description: Статус отпуска (1-Согласование, 2-Согласован, 5-Отклонен, 3-Открыта заявка, 4-Обработан, 6-Перенос)
|
||||||
|
vacation_type_id:
|
||||||
|
type: integer
|
||||||
|
description: Тип отпуска (1-Ежегодный оплачиваемый, 2-Другой)
|
||||||
|
date_from:
|
||||||
|
type: string
|
||||||
|
format: 'date'
|
||||||
|
example: 2025-04-27
|
||||||
|
description: Дана начала отпуска
|
||||||
|
date_to:
|
||||||
|
type: string
|
||||||
|
format: 'date'
|
||||||
|
example: 2025-04-27
|
||||||
|
description: Дата окончания отпуска
|
||||||
|
periodLength:
|
||||||
|
type: integer
|
||||||
|
description: Продолжительность отпуска в днях
|
||||||
|
dateFrom:
|
||||||
|
type: string
|
||||||
|
description: Дана начала отпуска
|
||||||
|
dateTo:
|
||||||
|
type: string
|
||||||
|
description: Дата окончания отпуска
|
||||||
|
vacationStatusName:
|
||||||
|
type: string
|
||||||
|
description: Текстовый стату отпуска
|
||||||
|
vacationTypeName:
|
||||||
|
type: string
|
||||||
|
description: Текстовый тип отпуска
|
||||||
|
vacationSubtypeName:
|
||||||
|
type: string
|
||||||
|
description: Текстовый подтип отпуска (если тип "Другой")
|
||||||
|
periodLengthText:
|
||||||
|
type: integer
|
||||||
|
description: Продолжительность отпуска в днях
|
||||||
feedback:
|
feedback:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
Reference in New Issue
Block a user