Для AI-агентов: markdown этой страницы — /docs/schema-81d3f51274e3efd1fc31ee7875194896dafd36e57243465464124a2447df4d3b.mdиндекс документации — /llms.txt
Схема: UserDetail
Обновлено
| Поле | Значение |
|---|---|
| additionalProperties | false |
| properties.bookings.items.$ref | Booking |
| properties.bookings.type | "array" |
| properties.channel.enum | ["telegram","max","vk"] |
| properties.channel.type | "string" |
| properties.channel_user_id.maxLength | 128 |
| properties.channel_user_id.minLength | 1 |
| properties.channel_user_id.type | "string" |
| properties.chat_status.description | "Who answers the customer now: the bot, an AI agent or a human manager" |
| properties.chat_status.enum | ["bot","ai_qualifier","ai_manager","ai_coach","manager"] |
| properties.chat_status.type | "string" |
| properties.created_at.format | "date-time" |
| properties.created_at.type | "string" |
| properties.email.type | ["string","null"] |
| properties.first_name.type | ["string","null"] |
| properties.has_coach_access.type | "boolean" |
| properties.id.maximum | 2147483647 |
| properties.id.minimum | 1 |
| properties.id.type | "integer" |
| properties.invite_code.description | "The customer personal invitation code when they have one" |
| properties.invite_code.maxLength | 64 |
| properties.invite_code.minLength | 1 |
| properties.invite_code.type | ["string","null"] |
| properties.invite_links.description | "The site invite page (invite/index.html) on behalf of this user: one invite code in the ref parameter of the page address, the universal link, the mini app and the bot of each connected messenger. Present with include=invite_links." |
| properties.invite_links.items.additionalProperties | false |
| properties.invite_links.items.properties.channel.enum | ["telegram","max","vk"] |
| properties.invite_links.items.properties.channel.type | "string" |
| properties.invite_links.items.properties.description.minLength | 1 |
| properties.invite_links.items.properties.description.type | "string" |
| properties.invite_links.items.properties.kind.enum | ["web","universal","mini_app","bot"] |
| properties.invite_links.items.properties.kind.type | "string" |
| properties.invite_links.items.properties.url.minLength | 1 |
| properties.invite_links.items.properties.url.type | "string" |
| properties.invite_links.items.required | ["kind","url","description"] |
| properties.invite_links.items.type | "object" |
| properties.invite_links.type | "array" |
| properties.invite_links_recovery.description | "What to do while invite_links is empty; null while it lists links." |
| properties.invite_links_recovery.type | ["string","null"] |
| properties.invited_at.format | "date-time" |
| properties.invited_at.type | ["string","null"] |
| properties.inviter_id.description | "Who invited the customer (the referral program); set once and never changed; null when none" |
| properties.inviter_id.maximum | 2147483647 |
| properties.inviter_id.minimum | 1 |
| properties.inviter_id.type | ["integer","null"] |
| properties.is_banned.type | "boolean" |
| properties.is_bot_blocked.description | "The customer blocked the bot; messages to them are not delivered" |
| properties.is_bot_blocked.type | "boolean" |
| properties.is_premium.type | "boolean" |
| properties.is_restricted.type | "boolean" |
| properties.language_code.type | ["string","null"] |
| properties.last_activity_at.format | "date-time" |
| properties.last_activity_at.type | ["string","null"] |
| properties.last_message_at.format | "date-time" |
| properties.last_message_at.type | ["string","null"] |
| properties.last_name.type | ["string","null"] |
| properties.last_paid_at.format | "date-time" |
| properties.last_paid_at.type | ["string","null"] |
| properties.marketing_consent.description | "The newest answer to the marketing consent: true granted, false refused, null never asked. A refusal excludes the customer from broadcasts only" |
| properties.marketing_consent.type | ["boolean","null"] |
| properties.orders.items.$ref | PullOrderProjection |
| properties.orders.type | "array" |
| properties.partner_assigned_at.format | "date-time" |
| properties.partner_assigned_at.type | ["string","null"] |
| properties.partner_id.description | "The partner the customer is attached to now for payouts (the partner program); null when none" |
| properties.partner_id.maximum | 2147483647 |
| properties.partner_id.minimum | 1 |
| properties.partner_id.type | ["integer","null"] |
| properties.phone.type | ["string","null"] |
| properties.registrations.items.$ref | EventRegistration |
| properties.registrations.type | "array" |
| properties.registrations_next_cursor.type | ["string","null"] |
| properties.stat_payments_amount.description | "Decimal string, sum of paid amounts" |
| properties.stat_payments_amount.type | "string" |
| properties.stat_payments_count.minimum | 0 |
| properties.stat_payments_count.type | "integer" |
| properties.stat_referrals_count.minimum | 0 |
| properties.stat_referrals_count.type | "integer" |
| properties.subscription.$ref | PullSubscriptionProjection |
| properties.tags.items.type | "string" |
| properties.tags.type | "array" |
| properties.topic_url.description | "Link to the customer topic in the Open Lines supergroup; null until the topic exists" |
| properties.topic_url.format | "uri" |
| properties.topic_url.type | ["string","null"] |
| properties.updated_at.format | "date-time" |
| properties.updated_at.type | "string" |
| properties.username.type | ["string","null"] |
| required | ["id","channel","channel_user_id","username","first_name","last_name","language_code","email","phone","is_premium","chat_status","is_banned","is_restricted","is_bot_blocked","has_coach_access","tags","stat_payments_count","stat_payments_amount","stat_referrals_count","partner_id","partner_assigned_at","inviter_id","invited_at","marketing_consent","topic_url","invite_code","last_message_at","last_activity_at","last_paid_at","created_at","updated_at"] |
| type | "object" |