Partner DTO
Описание сущностей и типов из src/dto/partner/.
Обогащено snapshot-данными бэкенд-DTO (10 из 16 типов сопоставлено, snapshot от 2026-05-05T13:21:51.699Z).
Содержание
- ActivateWithFlyerRequestDto
- AddPartnerFilesRecordRequestDto
- AddPartnerFilesRequestDto
- CreatePartnerRequestDto · backend ✓
- CreatePartnerResponseDto · backend ✓
- GetPartnerFilesRequestDto
- GetPartnerResponseDto · backend ✓
- GetPartnersRequestDto · backend ✓
- PartnerCategoryDto · backend ✓
- PartnerDto · backend ✓
- PartnerFileTypeDto
- PartnerStatusDto · backend ✓
- UpdatePartnerFileTypeRequestDto
- UpdatePartnerPartialRequestDto · backend ✓
- UpdatePartnerRequestDto · backend ✓
- UpdatePartnerStatusRequestParam · backend ✓
ActivateWithFlyerRequestDto
Поля
| Поле | Тип | Обязательное | Описание |
|---|---|---|---|
partnerId | number | да | — |
sentDate | string | да | — |
Пример
{
"partnerId": 0,
"sentDate": "2026-05-05T08:00:00Z"
}AddPartnerFilesRecordRequestDto
Поля
| Поле | Тип | Обязательное | Описание |
|---|---|---|---|
fileType | PartnerFileTypeDto | да | — |
file | File | Blob | да | — |
Пример
{
"fileType": "<PartnerFileTypeDto>",
"file": "<File | Blob>"
}AddPartnerFilesRequestDto
Поля
| Поле | Тип | Обязательное | Описание |
|---|---|---|---|
partnerId | number | да | — |
files | AddPartnerFilesRecordRequestDto[] | да | — |
Пример
{
"partnerId": 0,
"files": []
}CreatePartnerRequestDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Partner/Request/CreatePartnerRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
phoneNumber | string | да | — | string |
name | string | да | — | string |
googlePlaceId | string | null | нет | — | string? |
country | string | null | нет | — | string? |
region | string | null | нет | — | string? |
city | string | null | нет | — | string? |
street | string | null | нет | — | string? |
house | string | null | нет | — | string? |
flat | string | null | нет | — | string? |
postalCode | string | null | нет | — | string? |
address | string | null | нет | — | string? |
email | string | null | нет | — | string? |
site | string | null | нет | — | string? |
description | string | null | нет | — | string? |
location | PointDto | null | нет | — | PointDto? |
tags | TagDto[] | да | — | List<TagDto> |
partnerStatus | PartnerStatusDto | да | — | PartnerStatusDto |
category | PartnerCategoryDto | да | — | PartnerCategoryDto |
regionCodeId | number | null | нет | — | int? |
Пример
{
"phoneNumber": "+49123456789",
"name": "string",
"googlePlaceId": "uuid",
"country": "string",
"region": "string",
"city": "string",
"street": "string",
"house": "string",
"flat": "2026-05-05T08:00:00Z",
"postalCode": "string",
"address": "string",
"email": "user@example.com",
"site": "string",
"description": "string",
"location": "<pointdto>",
"tags": [],
"partnerStatus": "<PartnerStatusDto>",
"category": "<PartnerCategoryDto>",
"regionCodeId": 0
}CreatePartnerResponseDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Partner/Responses/CreatePartnerResponseDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
partner | PartnerDto | да | — | PartnerDto |
Пример
{
"partner": "<PartnerDto>"
}GetPartnerFilesRequestDto
Поля
| Поле | Тип | Обязательное | Описание |
|---|---|---|---|
partnerId | number | да | — |
Пример
{
"partnerId": 0
}GetPartnerResponseDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Partner/Responses/GetPartnerResponseDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
partner | PartnerDto | да | — | PartnerDto |
Пример
{
"partner": "<PartnerDto>"
}GetPartnersRequestDto
Filters for GET Api/Partners. Every field except pagination is optional — an absent field means the condition is not applied.
statusFilter.available is the universe the counts are computed over, statusFilter.selected is the choice; an absent or empty selected means every status. The counts describe the slice left by the other filters, not the whole table.
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Partner/Request/GetPartnersRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
pagination | Pagination | да | — | Pagination |
statusFilter | PaginationFilter<PartnerStatusDto> | нет | Status facet. available is the universe the counts are computed over, selected is the choice; an absent or empty selected means every status, so no condition is applied. | — |
tagFilters | number[] | нет | — | List<int>? |
categoryFilters | PartnerCategoryDto[] | нет | — | — |
regionCodeIds | number[] | нет | — | — |
city | string | нет | Full-text match on the city, with a trigram fallback for typos. | — |
hasFlyer | boolean | нет | — | — |
flyerSentFrom | string | нет | ISO date (yyyy-MM-dd). | — |
flyerSentTo | string | нет | ISO date (yyyy-MM-dd). | — |
name | string | нет | Prefix match on the partner name. | — |
createdAt | PaginationRangeFilter<string> | нет | ISO 8601 range over the creation timestamp. | — |
updatedAt | PaginationRangeFilter<string> | нет | ISO 8601 range over the last-update timestamp. Partners never updated are excluded. | — |
postalCode | string | нет | Prefix match on the postal code. | — |
street | string | нет | Prefix match on the street. | — |
house | string | нет | Prefix match on the house number. | — |
region | string | нет | Prefix match on the free-text region field, independent of regionCodeIds. | — |
country | string | нет | Prefix match on the country. | — |
site | string | нет | Prefix match on the web site. | — |
email | string | нет | Exact match against the partner email and its linked email contacts. Stored as a value object, so a partial address does not match — pass the full address. | — |
phoneNumber | string | нет | Exact match against the linked phone contacts. Normalized before comparison (digits only, 49-prefixed), so +49 221 12345 and 0221 12345 both work, but a partial number does not match. | — |
flyersCount | PaginationRangeFilter<number> | нет | Range over the number of flyers sent to the partner. | — |
Пример
{
"pagination": "<Pagination>",
"statusFilter": "<PaginationFilter<PartnerStatusDto>>",
"tagFilters": [],
"categoryFilters": [],
"regionCodeIds": [],
"city": "string",
"hasFlyer": false,
"flyerSentFrom": "2026-05-05T08:00:00Z",
"flyerSentTo": "2026-05-05T08:00:00Z",
"name": "string",
"createdAt": "<PaginationRangeFilter<string>>",
"updatedAt": "<PaginationRangeFilter<string>>",
"postalCode": "string",
"street": "string",
"house": "string",
"region": "string",
"country": "string",
"site": "string",
"email": "user@example.com",
"phoneNumber": "+49123456789",
"flyersCount": "<PaginationRangeFilter<number>>"
}PartnerCategoryDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Partner/Enums/PartnerCategoryDto.cs (core.businesslogicservice).
Значения
| Имя | Значение (TS) | Описание | Код (C#) |
|---|---|---|---|
NotFound | 0 | — | 0 |
Pflegeberatung | 2 | — | — |
HomeCareService | 3 | Pflegedienst | 3 |
GeneralMedicine | 4 | Allgemeinmedizin | 4 |
DayCareService | 5 | Tagespflege und so weiter | 5 |
Physiotherapists | 9 | Physiotherapeuten | 9 |
Пример
0PartnerDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Partner/PartnerDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
name | string | да | — | string |
address | string | null | нет | — | string? |
email | string | null | нет | — | string? |
site | string | null | нет | — | string? |
description | string | null | нет | — | string? |
city | string | null | нет | — | string? |
postalCode | string | null | нет | — | string? |
street | string | null | нет | — | — |
house | string | null | нет | — | — |
flat | string | null | нет | — | — |
region | string | null | нет | — | — |
country | string | null | нет | — | — |
partnerStatus | PartnerStatusDto | да | — | PartnerStatusDto |
category | PartnerCategoryDto | да | — | PartnerCategoryDto |
location | PointDto | null | нет | — | PointDto? |
tags | TagDto[] | да | — | List<TagDto> |
phoneLinkContacts | PhoneLinkContactDto[] | да | — | List<PhoneLinkContactDto> |
emailLinkContacts | EmailLinkContactDto[] | да | — | List<EmailLinkContactDto> |
Пример
{
"id": 0,
"name": "string",
"address": "string",
"email": "user@example.com",
"site": "string",
"description": "string",
"city": "string",
"postalCode": "string",
"street": "string",
"house": "string",
"flat": "2026-05-05T08:00:00Z",
"region": "string",
"country": "string",
"partnerStatus": "<PartnerStatusDto>",
"category": "<PartnerCategoryDto>",
"location": "<pointdto>",
"tags": [],
"phoneLinkContacts": [],
"emailLinkContacts": []
}PartnerFileTypeDto
Значения
| Имя | Значение | Описание |
|---|---|---|
NotFound | 0 | — |
Flyer | 1 | — |
Others | 2 | — |
Пример
0PartnerStatusDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Partner/Enums/PartnerStatusDto.cs (core.businesslogicservice).
Значения
| Имя | Значение (TS) | Описание | Код (C#) |
|---|---|---|---|
NotFound | 0 | — | 0 |
New | 1 | — | 1 |
Active | 2 | — | 2 |
Unsuitable | 3 | — | 3 |
NoAnswer | 4 | — | — |
Thinking | 5 | — | — |
FlyerNeeded | 6 | — | — |
NeedPhoneContact | 7 | — | — |
Пример
0UpdatePartnerFileTypeRequestDto
Поля
| Поле | Тип | Обязательное | Описание |
|---|---|---|---|
fileId | number | да | — |
fileType | PartnerFileTypeDto | да | — |
Пример
{
"fileId": 0,
"fileType": "<PartnerFileTypeDto>"
}UpdatePartnerPartialRequestDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Partner/Request/UpdatePartnerPartialRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
name | string | null | нет | — | string? |
googlePlaceId | string | null | нет | — | string? |
country | string | null | нет | — | string? |
region | string | null | нет | — | string? |
city | string | null | нет | — | string? |
street | string | null | нет | — | string? |
house | string | null | нет | — | string? |
flat | string | null | нет | — | string? |
postalCode | string | null | нет | — | string? |
address | string | null | нет | — | string? |
email | string | null | нет | — | string? |
site | string | null | нет | — | string? |
description | string | null | нет | — | string? |
partnerStatus | PartnerStatusDto | null | нет | — | PartnerStatusDto? |
category | PartnerCategoryDto | null | нет | — | PartnerCategoryDto? |
location | PointDto | null | нет | — | PointDto? |
regionCodeId | number | null | нет | — | int? |
Пример
{
"id": 0,
"name": "string",
"googlePlaceId": "uuid",
"country": "string",
"region": "string",
"city": "string",
"street": "string",
"house": "string",
"flat": "2026-05-05T08:00:00Z",
"postalCode": "string",
"address": "string",
"email": "user@example.com",
"site": "string",
"description": "string",
"partnerStatus": "<partnerstatusdto>",
"category": "<partnercategorydto>",
"location": "<pointdto>",
"regionCodeId": 0
}UpdatePartnerRequestDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Partner/Request/UpdatePartnerRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
name | string | да | — | string |
googlePlaceId | string | null | нет | — | string? |
country | string | null | нет | — | string? |
region | string | null | нет | — | string? |
city | string | null | нет | — | string? |
street | string | null | нет | — | string? |
house | string | null | нет | — | string? |
flat | string | null | нет | — | string? |
postalCode | string | null | нет | — | string? |
address | string | null | нет | — | string? |
email | string | null | нет | — | string? |
site | string | null | нет | — | string? |
description | string | null | нет | — | string? |
location | PointDto | null | нет | — | PointDto? |
partnerStatus | PartnerStatusDto | да | — | PartnerStatusDto |
category | PartnerCategoryDto | да | — | PartnerCategoryDto |
tags | TagDto[] | да | — | List<TagDto> |
regionCodeId | number | null | нет | — | int? |
Пример
{
"id": 0,
"name": "string",
"googlePlaceId": "uuid",
"country": "string",
"region": "string",
"city": "string",
"street": "string",
"house": "string",
"flat": "2026-05-05T08:00:00Z",
"postalCode": "string",
"address": "string",
"email": "user@example.com",
"site": "string",
"description": "string",
"location": "<pointdto>",
"partnerStatus": "<PartnerStatusDto>",
"category": "<PartnerCategoryDto>",
"tags": [],
"regionCodeId": 0
}UpdatePartnerStatusRequestParam
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Partner/Request/UpdatePartnerStatusRequestParam.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
partnerId | number | да | — | int |
status | PartnerStatusDto | да | — | PartnerStatusDto |
Пример
{
"partnerId": 0,
"status": "<PartnerStatusDto>"
}