diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c88582..a066c7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ Значимые изменения proto-схемы Simple API. +## 2026-06-25 +### Добавлено +- `Maps.Sector.type` — тип сектора (CHAIRS/TABLES/UNKNOWN). + ## v3 — 2026-06-16 ### Добавлено diff --git a/doc/docs.md b/doc/docs.md index cdc6cbe..d3228e8 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -82,6 +82,7 @@ - [MapsRequest](#v3-MapsRequest) - [Venue](#v3-Venue) - [VenuesRequest](#v3-VenuesRequest) + - [Map.Sector.Type](#v3-Map-Sector-Type) - [Scalar Value Types](#scalar-value-types) @@ -1135,6 +1136,7 @@ | name | [string](#string) | | название сектора | | description | [string](#string) | | [O] описание сектора | | with_seats | [bool](#bool) | | признак сектора с рассадкой | +| type | [Map.Sector.Type](#v3-Map-Sector-Type) | optional | тип сектора | @@ -1210,6 +1212,19 @@ + + + +### Map.Sector.Type + + +| Name | Number | Description | +| ---- | ------ | ----------- | +| CHAIRS | 0 | сектор с креслами | +| TABLES | 1 | сектор с столами | +| UNKNOWN | 2 | неизвестный тип сектора | + + @@ -1237,4 +1252,3 @@ | bool | | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass | | string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) | | bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) | - diff --git a/proto/venues.proto b/proto/venues.proto index 20aef5d..433af97 100644 --- a/proto/venues.proto +++ b/proto/venues.proto @@ -25,10 +25,17 @@ message MapsRequest { message Map { message Sector { + enum Type { + CHAIRS = 0; // сектор с креслами + TABLES = 1; // сектор с столами + UNKNOWN = 2; // неизвестный тип сектора + } + string id = 1; // id сектора string name = 2; // название сектора string description = 3; // [O] описание сектора bool with_seats = 4; // признак сектора с рассадкой + optional Type type = 5; // тип сектора } message Seat {