Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Значимые изменения proto-схемы Simple API.

## 2026-06-25
### Добавлено
- `Maps.Sector.type` — тип сектора (CHAIRS/TABLES/UNKNOWN).

## v3 — 2026-06-16

### Добавлено
Expand Down
16 changes: 15 additions & 1 deletion doc/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -1135,6 +1136,7 @@
| name | [string](#string) | | название сектора |
| description | [string](#string) | | [O] описание сектора |
| with_seats | [bool](#bool) | | признак сектора с рассадкой |
| type | [Map.Sector.Type](#v3-Map-Sector-Type) | optional | тип сектора |



Expand Down Expand Up @@ -1210,6 +1212,19 @@




<a name="v3-Map-Sector-Type"></a>

### Map.Sector.Type


| Name | Number | Description |
| ---- | ------ | ----------- |
| CHAIRS | 0 | сектор с креслами |
| TABLES | 1 | сектор с столами |
| UNKNOWN | 2 | неизвестный тип сектора |





Expand Down Expand Up @@ -1237,4 +1252,3 @@
| <a name="bool" /> bool | | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass |
| <a name="string" /> string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) |
| <a name="bytes" /> bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) |

7 changes: 7 additions & 0 deletions proto/venues.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down