CRM client model.
| Name | Type | Description |
|---|---|---|
| created_user_id | Int64 | ID of the user who created the client. |
| deleted | Boolean | Indicates whether the client is soft-deleted. |
| description | String | Client comment or description. |
| String | Client email address. Maximum length is 150 characters. | |
| external_id | String | External client ID. Maximum length is 150 characters. |
| fields | Array of FieldValue | Custom field values. |
| id | Int64 | Client ID. |
| last_update | Int64 | Last update date as Unix time in seconds. |
| name | String | Client name. Maximum length is 200 characters. |
| phone | String | Client phone number. Maximum length is 50 characters. |
| photo_url | String | Avatar URL. Maximum length is 500 characters. |
| responsible_user_id | Int64 | Responsible user ID. |
| sentiment_score_avg | Decimal | Average operator sentiment score for the client. |
| sentiment_score_count | Int32 | Number of client sentiment scores. |
| sentiment_score_rolling_avg | Decimal | Rolling average sentiment score based on recent leads. |