Skip to content

Common DTO

Описание сущностей и типов из src/dto/common/.

Обогащено snapshot-данными бэкенд-DTO (3 из 7 типов сопоставлено, snapshot от 2026-05-05T13:21:51.699Z).

Содержание


ExternalTypeDto

Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/ExternalTypeDto.cs (core.businesslogicservice).

Также определён в: features.taskservice, integration.callcenternotification.

Значения

ИмяЗначение (TS)ОписаниеКод (C#)
NotFound00
Client33
Worker44
Partner55
PhoneContact66
EmailContact77

Пример

json
0


GenderParam

Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/GenderParams/GenderParam.cs (core.businesslogicservice).

Значения

ИмяЗначение (TS)ОписаниеКод (C#)
NotFound00
Male11
Female22

Пример

json
0


Pagination

Frontend-facing pagination shape used by service methods in this package. Backend wire format is Pagination.CurrentPage / Pagination.RowsPerPage etc. — services map pageCurrentPage internally.

Поля

ПолеТипОбязательноеОписание
pagenumberда1-based page number.
rowsPerPagenumberдаItems per page (sometimes exposed as rowsNumber from q-table).
sortBystringдаServer-side field name to sort by.
descendingbooleanдаtrue for DESC, false for ASC.

Пример

json
{
  "page": 0,
  "rowsPerPage": 0,
  "sortBy": "string",
  "descending": false
}


PaginationFilter

Поля

ПолеТипОбязательноеОписание
availableTFilter[]да
selectedTFilter[]да

Пример

json
{
  "available": [],
  "selected": []
}


PaginationRangeFilter

Поля

ПолеТипОбязательноеОписание
fromTFilter | nullнет
toTFilter | nullнет

Пример

json
{
  "from": "<tfilter>",
  "to": "<tfilter>"
}


PaginationRequestParam

Lightweight pagination request used by a few endpoints (no sort).

Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/PaginationParam/PaginationRequestParam.cs (core.businesslogicservice).

Поля

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
pagenumberдаint
rowsPerPagenumberдаint

Пример

json
{
  "page": 0,
  "rowsPerPage": 0
}


PaginationResult

Paginated response envelope. Mirrors PaginationResult<T> from the backend.

Поля

ПолеТипОбязательноеОписание
valuesT[]да
totalCountnumberда

Пример

json
{
  "values": [],
  "totalCount": 0
}