К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/schema-15edf1ff1505bd8191c2c7ce3f62f8cce2dda337884d4ed28e7991cccaf204e4.mdиндекс документации — /llms.txt

Схема: get_customer: outputSchema

Обновлено

ПолеЗначение
$schema"https://json-schema.org/draft/2020-12/schema"
additionalPropertiesfalse
properties.bookings.items.additionalPropertiesfalse
properties.bookings.items.properties.catalog_item_id.anyOf.0.maximum2147483647
properties.bookings.items.properties.catalog_item_id.anyOf.0.minimum1
properties.bookings.items.properties.catalog_item_id.anyOf.0.type"integer"
properties.bookings.items.properties.catalog_item_id.anyOf.1.type"null"
properties.bookings.items.properties.created_at.format"date-time"
properties.bookings.items.properties.created_at.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
properties.bookings.items.properties.created_at.type"string"
properties.bookings.items.properties.did_attend.type["boolean","null"]
properties.bookings.items.properties.duration_minutes.anyOf.0.exclusiveMinimum0
properties.bookings.items.properties.duration_minutes.anyOf.0.maximum9007199254740991
properties.bookings.items.properties.duration_minutes.anyOf.0.type"integer"
properties.bookings.items.properties.duration_minutes.anyOf.1.type"null"
properties.bookings.items.properties.end_at.anyOf.0.format"date-time"
properties.bookings.items.properties.end_at.anyOf.0.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
properties.bookings.items.properties.end_at.anyOf.0.type"string"
properties.bookings.items.properties.end_at.anyOf.1.type"null"
properties.bookings.items.properties.id.maximum2147483647
properties.bookings.items.properties.id.minimum1
properties.bookings.items.properties.id.type"integer"
properties.bookings.items.properties.quantity.exclusiveMinimum0
properties.bookings.items.properties.quantity.maximum9007199254740991
properties.bookings.items.properties.quantity.type"integer"
properties.bookings.items.properties.resource_id.anyOf.0.maximum2147483647
properties.bookings.items.properties.resource_id.anyOf.0.minimum1
properties.bookings.items.properties.resource_id.anyOf.0.type"integer"
properties.bookings.items.properties.resource_id.anyOf.1.type"null"
properties.bookings.items.properties.resource_name.type["string","null"]
properties.bookings.items.properties.selection_mode.enum["full","time_only","resource_only","open_inquiry"]
properties.bookings.items.properties.selection_mode.type"string"
properties.bookings.items.properties.start_at.anyOf.0.format"date-time"
properties.bookings.items.properties.start_at.anyOf.0.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
properties.bookings.items.properties.start_at.anyOf.0.type"string"
properties.bookings.items.properties.start_at.anyOf.1.type"null"
properties.bookings.items.properties.status.enum["pending","confirmed","completed","cancelled","no_show"]
properties.bookings.items.properties.status.type"string"
properties.bookings.items.properties.user_id.maximum2147483647
properties.bookings.items.properties.user_id.minimum1
properties.bookings.items.properties.user_id.type"integer"
properties.bookings.items.required["id","status","resource_id","resource_name","catalog_item_id","user_id","selection_mode","start_at","end_at","duration_minutes","quantity","did_attend","created_at"]
properties.bookings.items.type"object"
properties.bookings.type"array"
properties.channel.enum["telegram","max","vk"]
properties.channel.type"string"
properties.channel_user_id.maxLength128
properties.channel_user_id.minLength1
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.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
properties.created_at.type"string"
properties.email.type["string","null"]
properties.first_name.type["string","null"]
properties.has_coach_access.type"boolean"
properties.id.maximum2147483647
properties.id.minimum1
properties.id.type"integer"
properties.invite_code.anyOf.0.maxLength64
properties.invite_code.anyOf.0.minLength1
properties.invite_code.anyOf.0.type"string"
properties.invite_code.anyOf.1.type"null"
properties.invite_code.description"The customer personal invitation code when they have one"
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.additionalPropertiesfalse
properties.invite_links.items.properties.channel.enum["telegram","max","vk"]
properties.invite_links.items.properties.channel.type"string"
properties.invite_links.items.properties.description.minLength1
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.minLength1
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.anyOf.0.format"date-time"
properties.invited_at.anyOf.0.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
properties.invited_at.anyOf.0.type"string"
properties.invited_at.anyOf.1.type"null"
properties.inviter_id.anyOf.0.maximum2147483647
properties.inviter_id.anyOf.0.minimum1
properties.inviter_id.anyOf.0.type"integer"
properties.inviter_id.anyOf.1.type"null"
properties.inviter_id.description"Who invited the customer (the referral program); set once and never changed; null when none"
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.anyOf.0.format"date-time"
properties.last_activity_at.anyOf.0.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
properties.last_activity_at.anyOf.0.type"string"
properties.last_activity_at.anyOf.1.type"null"
properties.last_message_at.anyOf.0.format"date-time"
properties.last_message_at.anyOf.0.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
properties.last_message_at.anyOf.0.type"string"
properties.last_message_at.anyOf.1.type"null"
properties.last_name.type["string","null"]
properties.last_paid_at.anyOf.0.format"date-time"
properties.last_paid_at.anyOf.0.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
properties.last_paid_at.anyOf.0.type"string"
properties.last_paid_at.anyOf.1.type"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.additionalPropertiesfalse
properties.orders.items.properties.amount.type"string"
properties.orders.items.properties.created_at.format"date-time"
properties.orders.items.properties.created_at.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
properties.orders.items.properties.created_at.type"string"
properties.orders.items.properties.currency.type"string"
properties.orders.items.properties.external_order_ref.type["string","null"]
properties.orders.items.properties.id.maximum2147483647
properties.orders.items.properties.id.minimum1
properties.orders.items.properties.id.type"integer"
properties.orders.items.properties.status.enum["pending","paid","canceled"]
properties.orders.items.properties.status.type"string"
properties.orders.items.properties.updated_at.format"date-time"
properties.orders.items.properties.updated_at.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
properties.orders.items.properties.updated_at.type"string"
properties.orders.items.required["id","status","amount","currency","external_order_ref","created_at","updated_at"]
properties.orders.items.type"object"
properties.orders.type"array"
properties.partner_assigned_at.anyOf.0.format"date-time"
properties.partner_assigned_at.anyOf.0.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
properties.partner_assigned_at.anyOf.0.type"string"
properties.partner_assigned_at.anyOf.1.type"null"
properties.partner_id.anyOf.0.maximum2147483647
properties.partner_id.anyOf.0.minimum1
properties.partner_id.anyOf.0.type"integer"
properties.partner_id.anyOf.1.type"null"
properties.partner_id.description"The partner the customer is attached to now for payouts (the partner program); null when none"
properties.phone.type["string","null"]
properties.registrations.items.additionalPropertiesfalse
properties.registrations.items.properties.catalog_id.anyOf.0.maximum2147483647
properties.registrations.items.properties.catalog_id.anyOf.0.minimum1
properties.registrations.items.properties.catalog_id.anyOf.0.type"integer"
properties.registrations.items.properties.catalog_id.anyOf.1.type"null"
properties.registrations.items.properties.checked_in_at.anyOf.0.format"date-time"
properties.registrations.items.properties.checked_in_at.anyOf.0.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
properties.registrations.items.properties.checked_in_at.anyOf.0.type"string"
properties.registrations.items.properties.checked_in_at.anyOf.1.type"null"
properties.registrations.items.properties.checked_out_at.anyOf.0.format"date-time"
properties.registrations.items.properties.checked_out_at.anyOf.0.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
properties.registrations.items.properties.checked_out_at.anyOf.0.type"string"
properties.registrations.items.properties.checked_out_at.anyOf.1.type"null"
properties.registrations.items.properties.created_at.format"date-time"
properties.registrations.items.properties.created_at.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
properties.registrations.items.properties.created_at.type"string"
properties.registrations.items.properties.event_id.maximum2147483647
properties.registrations.items.properties.event_id.minimum1
properties.registrations.items.properties.event_id.type"integer"
properties.registrations.items.properties.id.maximum2147483647
properties.registrations.items.properties.id.minimum1
properties.registrations.items.properties.id.type"integer"
properties.registrations.items.properties.is_walkin.type"boolean"
properties.registrations.items.properties.status.enum["registered","attended","cancelled"]
properties.registrations.items.properties.status.type"string"
properties.registrations.items.properties.updated_at.format"date-time"
properties.registrations.items.properties.updated_at.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
properties.registrations.items.properties.updated_at.type"string"
properties.registrations.items.properties.user_id.maximum2147483647
properties.registrations.items.properties.user_id.minimum1
properties.registrations.items.properties.user_id.type"integer"
properties.registrations.items.required["id","event_id","user_id","catalog_id","status","checked_in_at","checked_out_at","is_walkin","created_at","updated_at"]
properties.registrations.items.type"object"
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.maximum9007199254740991
properties.stat_payments_count.minimum0
properties.stat_payments_count.type"integer"
properties.stat_referrals_count.maximum9007199254740991
properties.stat_referrals_count.minimum0
properties.stat_referrals_count.type"integer"
properties.subscription.additionalPropertiesfalse
properties.subscription.properties.amount.type"string"
properties.subscription.properties.currency.type"string"
properties.subscription.properties.current_period_end.format"date-time"
properties.subscription.properties.current_period_end.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
properties.subscription.properties.current_period_end.type"string"
properties.subscription.properties.current_period_start.format"date-time"
properties.subscription.properties.current_period_start.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
properties.subscription.properties.current_period_start.type"string"
properties.subscription.properties.id.maximum2147483647
properties.subscription.properties.id.minimum1
properties.subscription.properties.id.type"integer"
properties.subscription.properties.provider.type"string"
properties.subscription.properties.status.type"string"
properties.subscription.required["id","status","provider","amount","currency","current_period_start","current_period_end"]
properties.subscription.type"object"
properties.tags.items.type"string"
properties.tags.type"array"
properties.topic_url.anyOf.0.format"uri"
properties.topic_url.anyOf.0.type"string"
properties.topic_url.anyOf.1.type"null"
properties.topic_url.description"Link to the customer topic in the Open Lines supergroup; null until the topic exists"
properties.updated_at.format"date-time"
properties.updated_at.pattern"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
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"