Contact DTO
Описание сущностей и типов из src/dto/contact/.
Обогащено snapshot-данными бэкенд-DTO (17 из 17 типов сопоставлено, snapshot от 2026-05-05T13:21:51.699Z).
Содержание
- CreateEmailContactRequestDto · backend ✓
- CreateEmailLinkRequestDto · backend ✓
- CreatePhoneContactRequestDto · backend ✓
- CreatePhoneLinkRequestDto · backend ✓
- EmailContactDto · backend ✓
- EmailLinkContactDto · backend ✓
- GetEmailContactByEmailResponseDto · backend ✓
- GetEmailLinksRequestDto · backend ✓
- GetPhoneLinksRequestDto · backend ✓
- OwnerTypeDto · backend ✓
- PhoneContactDto · backend ✓
- PhoneLinkContactDto · backend ✓
- RelationTypeDto · backend ✓
- UpdateEmailContactRequestDto · backend ✓
- UpdateEmailLinkRequestDto · backend ✓
- UpdatePhoneContactRequestDto · backend ✓
- UpdatePhoneLinkRequestDto · backend ✓
CreateEmailContactRequestDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Contacts/Requests/CreateEmailContactRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
email | string | да | — | string |
Пример
{
"email": "user@example.com"
}CreateEmailLinkRequestDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/LinkContact/Request/CreateEmailLinkRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
ownerId | number | да | — | int |
ownerType | OwnerTypeDto | да | — | OwnerTypeDto |
emailContactId | number | да | — | int |
relation | RelationTypeDto | да | — | RelationTypeDto |
Пример
{
"ownerId": 0,
"ownerType": "<OwnerTypeDto>",
"emailContactId": 0,
"relation": "<RelationTypeDto>"
}CreatePhoneContactRequestDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Contacts/Requests/CreatePhoneContactRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
phoneNumber | string | да | — | string |
Пример
{
"phoneNumber": "+49123456789"
}CreatePhoneLinkRequestDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/LinkContact/Request/CreatePhoneLinkRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
ownerId | number | да | — | int |
ownerType | OwnerTypeDto | да | — | OwnerTypeDto |
phoneContactId | number | да | — | int |
relation | RelationTypeDto | да | — | RelationTypeDto |
Пример
{
"ownerId": 0,
"ownerType": "<OwnerTypeDto>",
"phoneContactId": 0,
"relation": "<RelationTypeDto>"
}EmailContactDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Contacts/EmailContactDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
email | string | да | — | string |
linkEmailContacts | EmailLinkContactDto[] | да | — | List<EmailLinkContactDto> |
Пример
{
"id": 0,
"email": "user@example.com",
"linkEmailContacts": []
}EmailLinkContactDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Contacts/EmailLinkContactDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | Link id | int |
emailContactId | number | да | Email contact id | int |
clientId | number | null | нет | Client id | int? |
workerId | number | null | нет | Worker id | int? |
partnerId | number | null | нет | Partner id | int? |
userId | number | null | нет | User id | int? |
ownerType | OwnerTypeDto | да | Owner type | OwnerTypeDto |
relationType | RelationTypeDto | да | Relation type | RelationTypeDto |
client | ClientDto | null | нет | Client | ClientDto? |
worker | WorkerDto | null | нет | Worker | WorkerDto? |
partner | PartnerDto | null | нет | Partner | PartnerDto? |
emailContact | EmailContactDto | null | нет | Email contact | EmailContactDto? |
Пример
{
"id": 0,
"emailContactId": 0,
"clientId": 0,
"workerId": 0,
"partnerId": 0,
"userId": 0,
"ownerType": "<OwnerTypeDto>",
"relationType": "<RelationTypeDto>",
"client": "<clientdto>",
"worker": "<workerdto>",
"partner": "<partnerdto>",
"emailContact": "<emailcontactdto>"
}GetEmailContactByEmailResponseDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Contacts/Responses/GetEmailContactByEmailResponseDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
contact | EmailContactDto | да | — | EmailContactDto |
Пример
{
"contact": "<EmailContactDto>"
}GetEmailLinksRequestDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/LinkContact/Request/GetEmailLinksRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
pagination | Pagination | да | — | Pagination |
email | string | null | нет | — | string? |
Пример
{
"pagination": "<Pagination>",
"email": "user@example.com"
}GetPhoneLinksRequestDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/LinkContact/Request/GetPhoneLinksRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
pagination | Pagination | да | — | Pagination |
phoneNumber | string | null | нет | — | string? |
Пример
{
"pagination": "<Pagination>",
"phoneNumber": "+49123456789"
}OwnerTypeDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/LinkContact/OwnerTypeDto.cs (core.businesslogicservice).
Значения
| Имя | Значение (TS) | Описание | Код (C#) |
|---|---|---|---|
NotFound | 1 | — | 1 |
Client | 1 | — | 1 |
Worker | 2 | — | 2 |
Partner | 3 | — | 3 |
User | 4 | — | 4 |
Пример
1PhoneContactDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Contacts/PhoneContactDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
phoneNumber | string | да | — | string |
linkPhoneContacts | PhoneLinkContactDto[] | да | — | List<PhoneLinkContactDto> |
Пример
{
"id": 0,
"phoneNumber": "+49123456789",
"linkPhoneContacts": []
}PhoneLinkContactDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Contacts/PhoneLinkContactDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | Link id | int |
phoneContactId | number | да | Phone contact id | int |
clientId | number | null | нет | Client id | int? |
workerId | number | null | нет | Worker id | int? |
partnerId | number | null | нет | Partner id | int? |
userId | number | null | нет | User id | int? |
ownerType | OwnerTypeDto | да | Owner type | OwnerTypeDto |
relationType | RelationTypeDto | да | Relation type | RelationTypeDto |
client | ClientDto | null | нет | Client | ClientDto? |
worker | WorkerDto | null | нет | Worker | WorkerDto? |
partner | PartnerDto | null | нет | Partner | PartnerDto? |
phoneContact | PhoneContactDto | null | нет | Phone contact | PhoneContactDto? |
Пример
{
"id": 0,
"phoneContactId": 0,
"clientId": 0,
"workerId": 0,
"partnerId": 0,
"userId": 0,
"ownerType": "<OwnerTypeDto>",
"relationType": "<RelationTypeDto>",
"client": "<clientdto>",
"worker": "<workerdto>",
"partner": "<partnerdto>",
"phoneContact": "<phonecontactdto>"
}RelationTypeDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/LinkContact/RelationTypeDto.cs (core.businesslogicservice).
Значения
| Имя | Значение (TS) | Описание | Код (C#) |
|---|---|---|---|
NotFound | 0 | — | 0 |
Owner | 1 | — | 1 |
Parent | 2 | — | 2 |
Child | 3 | — | 3 |
Friend | 4 | — | 4 |
Пример
0UpdateEmailContactRequestDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Contacts/Requests/UpdateEmailContactRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
email | string | да | — | string |
Пример
{
"id": 0,
"email": "user@example.com"
}UpdateEmailLinkRequestDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/LinkContact/Request/UpdateEmailLinkRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
clientId | number | null | нет | — | int? |
workerId | number | null | нет | — | int? |
partnerId | number | null | нет | — | int? |
userId | number | null | нет | — | int? |
ownerType | OwnerTypeDto | да | — | OwnerTypeDto |
emailContactId | number | да | — | int |
relation | RelationTypeDto | да | — | RelationTypeDto |
Пример
{
"id": 0,
"clientId": 0,
"workerId": 0,
"partnerId": 0,
"userId": 0,
"ownerType": "<OwnerTypeDto>",
"emailContactId": 0,
"relation": "<RelationTypeDto>"
}UpdatePhoneContactRequestDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Contacts/Requests/UpdatePhoneContactRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
phoneNumber | string | да | — | string |
Пример
{
"id": 0,
"phoneNumber": "+49123456789"
}UpdatePhoneLinkRequestDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/LinkContact/Request/UpdatePhoneLinkRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
clientId | number | null | нет | — | int? |
workerId | number | null | нет | — | int? |
partnerId | number | null | нет | — | int? |
userId | number | null | нет | — | int? |
ownerType | OwnerTypeDto | да | — | OwnerTypeDto |
phoneContactId | number | да | — | int |
relation | RelationTypeDto | да | — | RelationTypeDto |
Пример
{
"id": 0,
"clientId": 0,
"workerId": 0,
"partnerId": 0,
"userId": 0,
"ownerType": "<OwnerTypeDto>",
"phoneContactId": 0,
"relation": "<RelationTypeDto>"
}