Для AI-агентов: markdown этой страницы — /docs/schema-6020e7c26568a9eea5bc7ab1ec0a690b9632e8b42ea4bdb604384bf2387da5a1.mdиндекс документации — /llms.txt
Схема: prepare_manual_sale: inputSchema
Обновлено
| Поле | Значение |
|---|---|
| $schema | "https://json-schema.org/draft/2020-12/schema" |
| anyOf.0.additionalProperties | false |
| anyOf.0.description | "Value for input option." |
| anyOf.0.properties.bot.description | "Optional slug of the bot you expect to act on (get_active_bot). If the active bot differs, the call is refused with ACTIVE_BOT_CHANGED and nothing runs." |
| anyOf.0.properties.bot.maxLength | 128 |
| anyOf.0.properties.bot.minLength | 1 |
| anyOf.0.properties.bot.type | "string" |
| anyOf.0.properties.comment.description | "Value for comment." |
| anyOf.0.properties.comment.maxLength | 2000 |
| anyOf.0.properties.comment.minLength | 1 |
| anyOf.0.properties.comment.type | "string" |
| anyOf.0.properties.delivery_method_id.description | "Value for delivery method id." |
| anyOf.0.properties.delivery_method_id.maximum | 2147483647 |
| anyOf.0.properties.delivery_method_id.minimum | 1 |
| anyOf.0.properties.delivery_method_id.type | "integer" |
| anyOf.0.properties.lines.description | "Value for lines." |
| anyOf.0.properties.lines.items.additionalProperties | false |
| anyOf.0.properties.lines.items.description | "Value for lines item." |
| anyOf.0.properties.lines.items.properties.booking_slot.additionalProperties | false |
| anyOf.0.properties.lines.items.properties.booking_slot.description | "Value for booking slot." |
| anyOf.0.properties.lines.items.properties.booking_slot.properties.end_at.description | "Value for end at." |
| anyOf.0.properties.lines.items.properties.booking_slot.properties.end_at.format | "date-time" |
| anyOf.0.properties.lines.items.properties.booking_slot.properties.end_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))$" |
| anyOf.0.properties.lines.items.properties.booking_slot.properties.end_at.type | "string" |
| anyOf.0.properties.lines.items.properties.booking_slot.properties.resource_id.description | "Value for resource id." |
| anyOf.0.properties.lines.items.properties.booking_slot.properties.resource_id.maximum | 2147483647 |
| anyOf.0.properties.lines.items.properties.booking_slot.properties.resource_id.minimum | 1 |
| anyOf.0.properties.lines.items.properties.booking_slot.properties.resource_id.type | "integer" |
| anyOf.0.properties.lines.items.properties.booking_slot.properties.start_at.description | "Value for start at." |
| anyOf.0.properties.lines.items.properties.booking_slot.properties.start_at.format | "date-time" |
| anyOf.0.properties.lines.items.properties.booking_slot.properties.start_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))$" |
| anyOf.0.properties.lines.items.properties.booking_slot.properties.start_at.type | "string" |
| anyOf.0.properties.lines.items.properties.booking_slot.required | ["resource_id","start_at"] |
| anyOf.0.properties.lines.items.properties.booking_slot.type | "object" |
| anyOf.0.properties.lines.items.properties.catalog_id.description | "Value for catalog id." |
| anyOf.0.properties.lines.items.properties.catalog_id.maximum | 2147483647 |
| anyOf.0.properties.lines.items.properties.catalog_id.minimum | 1 |
| anyOf.0.properties.lines.items.properties.catalog_id.type | "integer" |
| anyOf.0.properties.lines.items.properties.combination_key.description | "Value for combination key." |
| anyOf.0.properties.lines.items.properties.combination_key.maxLength | 256 |
| anyOf.0.properties.lines.items.properties.combination_key.minLength | 1 |
| anyOf.0.properties.lines.items.properties.combination_key.type | "string" |
| anyOf.0.properties.lines.items.properties.price.additionalProperties | false |
| anyOf.0.properties.lines.items.properties.price.description | "Value for price." |
| anyOf.0.properties.lines.items.properties.price.properties.amount.description | "Value for amount." |
| anyOf.0.properties.lines.items.properties.price.properties.amount.pattern | "^\\d{1,16}(?:\\.\\d{1,2})?$" |
| anyOf.0.properties.lines.items.properties.price.properties.amount.type | "string" |
| anyOf.0.properties.lines.items.properties.price.properties.currency.description | "Value for currency." |
| anyOf.0.properties.lines.items.properties.price.properties.currency.pattern | "^[A-Z]{3,5}$" |
| anyOf.0.properties.lines.items.properties.price.properties.currency.type | "string" |
| anyOf.0.properties.lines.items.properties.price.required | ["amount","currency"] |
| anyOf.0.properties.lines.items.properties.price.type | "object" |
| anyOf.0.properties.lines.items.properties.quantity.description | "Value for quantity." |
| anyOf.0.properties.lines.items.properties.quantity.maximum | 999 |
| anyOf.0.properties.lines.items.properties.quantity.minimum | 1 |
| anyOf.0.properties.lines.items.properties.quantity.type | "integer" |
| anyOf.0.properties.lines.items.properties.ticket_holders.description | "Value for ticket holders." |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.additionalProperties | false |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.description | "Value for ticket holders item option." |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.properties.fields.additionalProperties.maxLength | 256 |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.properties.fields.additionalProperties.type | "string" |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.properties.fields.default | {} |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.properties.fields.description | "Value for fields." |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.properties.fields.propertyNames.maxLength | 64 |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.properties.fields.propertyNames.type | "string" |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.properties.fields.type | "object" |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.properties.first_name.description | "Value for first name." |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.properties.first_name.maxLength | 64 |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.properties.first_name.minLength | 1 |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.properties.first_name.type | "string" |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.properties.last_name.description | "Value for last name." |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.properties.last_name.maxLength | 64 |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.properties.last_name.minLength | 1 |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.properties.last_name.type | "string" |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.required | ["first_name","last_name","fields"] |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.0.type | "object" |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.1.description | "Value for ticket holders item option." |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.anyOf.1.type | "null" |
| anyOf.0.properties.lines.items.properties.ticket_holders.items.description | "Value for ticket holders item." |
| anyOf.0.properties.lines.items.properties.ticket_holders.maxItems | 10 |
| anyOf.0.properties.lines.items.properties.ticket_holders.minItems | 1 |
| anyOf.0.properties.lines.items.properties.ticket_holders.type | "array" |
| anyOf.0.properties.lines.items.required | ["catalog_id","quantity"] |
| anyOf.0.properties.lines.items.type | "object" |
| anyOf.0.properties.lines.maxItems | 50 |
| anyOf.0.properties.lines.minItems | 1 |
| anyOf.0.properties.lines.type | "array" |
| anyOf.0.properties.payment_mode.description | "Value for payment mode." |
| anyOf.0.properties.payment_mode.enum | ["manual","invoice","deferred"] |
| anyOf.0.properties.payment_mode.type | "string" |
| anyOf.0.properties.settlement.additionalProperties | false |
| anyOf.0.properties.settlement.description | "Value for settlement." |
| anyOf.0.properties.settlement.properties.note.description | "Value for note." |
| anyOf.0.properties.settlement.properties.note.maxLength | 500 |
| anyOf.0.properties.settlement.properties.note.minLength | 1 |
| anyOf.0.properties.settlement.properties.note.type | "string" |
| anyOf.0.properties.settlement.properties.type.description | "Value for type." |
| anyOf.0.properties.settlement.properties.type.enum | ["cash","bank_transfer","transfer"] |
| anyOf.0.properties.settlement.properties.type.type | "string" |
| anyOf.0.properties.settlement.required | ["type"] |
| anyOf.0.properties.settlement.type | "object" |
| anyOf.0.properties.user_id.description | "Value for user id." |
| anyOf.0.properties.user_id.maximum | 2147483647 |
| anyOf.0.properties.user_id.minimum | 1 |
| anyOf.0.properties.user_id.type | "integer" |
| anyOf.0.required | ["user_id","lines","payment_mode"] |
| anyOf.0.type | "object" |
| anyOf.1.additionalProperties | false |
| anyOf.1.description | "Value for input option." |
| anyOf.1.properties.bot.description | "Optional slug of the bot you expect to act on (get_active_bot). If the active bot differs, the call is refused with ACTIVE_BOT_CHANGED and nothing runs." |
| anyOf.1.properties.bot.maxLength | 128 |
| anyOf.1.properties.bot.minLength | 1 |
| anyOf.1.properties.bot.type | "string" |
| anyOf.1.properties.comment.description | "Value for comment." |
| anyOf.1.properties.comment.maxLength | 2000 |
| anyOf.1.properties.comment.minLength | 1 |
| anyOf.1.properties.comment.type | "string" |
| anyOf.1.properties.payment_mode.description | "Value for payment mode." |
| anyOf.1.properties.payment_mode.enum | ["manual","invoice","deferred"] |
| anyOf.1.properties.payment_mode.type | "string" |
| anyOf.1.properties.price.additionalProperties | false |
| anyOf.1.properties.price.description | "Value for price." |
| anyOf.1.properties.price.properties.amount.description | "Value for amount." |
| anyOf.1.properties.price.properties.amount.pattern | "^\\d{1,16}(?:\\.\\d{1,2})?$" |
| anyOf.1.properties.price.properties.amount.type | "string" |
| anyOf.1.properties.price.properties.currency.description | "Value for currency." |
| anyOf.1.properties.price.properties.currency.pattern | "^[A-Z]{3,5}$" |
| anyOf.1.properties.price.properties.currency.type | "string" |
| anyOf.1.properties.price.required | ["amount","currency"] |
| anyOf.1.properties.price.type | "object" |
| anyOf.1.properties.registration_id.description | "Value for registration id." |
| anyOf.1.properties.registration_id.maximum | 2147483647 |
| anyOf.1.properties.registration_id.minimum | 1 |
| anyOf.1.properties.registration_id.type | "integer" |
| anyOf.1.properties.settlement.additionalProperties | false |
| anyOf.1.properties.settlement.description | "Value for settlement." |
| anyOf.1.properties.settlement.properties.note.description | "Value for note." |
| anyOf.1.properties.settlement.properties.note.maxLength | 500 |
| anyOf.1.properties.settlement.properties.note.minLength | 1 |
| anyOf.1.properties.settlement.properties.note.type | "string" |
| anyOf.1.properties.settlement.properties.type.description | "Value for type." |
| anyOf.1.properties.settlement.properties.type.enum | ["cash","bank_transfer","transfer"] |
| anyOf.1.properties.settlement.properties.type.type | "string" |
| anyOf.1.properties.settlement.required | ["type"] |
| anyOf.1.properties.settlement.type | "object" |
| anyOf.1.required | ["registration_id","payment_mode"] |
| anyOf.1.type | "object" |