@neo-tickets/contracts 1.19.3 → 1.19.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
1
  export declare enum SeatStatus {
2
2
  SEAT_STATUS_UNSPECIFIED = 0,
3
- AVAILABLE = 1,
4
- UNAVAILABLE = 2,
3
+ SEAT_STATUS_AVAILABLE = 1,
4
+ SEAT_STATUS_UNAVAILABLE = 2,
5
5
  UNRECOGNIZED = -1
6
6
  }
7
7
  export declare enum SeatType {
8
8
  SEAT_TYPE_UNSPECIFIED = 0,
9
- STANDARD = 1,
10
- VIP = 2,
11
- ACCESSIBLE = 3,
9
+ SEAT_TYPE_STANDARD = 1,
10
+ SEAT_TYPE_VIP = 2,
11
+ SEAT_TYPE_ACCESSIBLE = 3,
12
12
  UNRECOGNIZED = -1
13
13
  }
@@ -10,15 +10,15 @@ exports.SeatType = exports.SeatStatus = void 0;
10
10
  var SeatStatus;
11
11
  (function (SeatStatus) {
12
12
  SeatStatus[SeatStatus["SEAT_STATUS_UNSPECIFIED"] = 0] = "SEAT_STATUS_UNSPECIFIED";
13
- SeatStatus[SeatStatus["AVAILABLE"] = 1] = "AVAILABLE";
14
- SeatStatus[SeatStatus["UNAVAILABLE"] = 2] = "UNAVAILABLE";
13
+ SeatStatus[SeatStatus["SEAT_STATUS_AVAILABLE"] = 1] = "SEAT_STATUS_AVAILABLE";
14
+ SeatStatus[SeatStatus["SEAT_STATUS_UNAVAILABLE"] = 2] = "SEAT_STATUS_UNAVAILABLE";
15
15
  SeatStatus[SeatStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
16
16
  })(SeatStatus || (exports.SeatStatus = SeatStatus = {}));
17
17
  var SeatType;
18
18
  (function (SeatType) {
19
19
  SeatType[SeatType["SEAT_TYPE_UNSPECIFIED"] = 0] = "SEAT_TYPE_UNSPECIFIED";
20
- SeatType[SeatType["STANDARD"] = 1] = "STANDARD";
21
- SeatType[SeatType["VIP"] = 2] = "VIP";
22
- SeatType[SeatType["ACCESSIBLE"] = 3] = "ACCESSIBLE";
20
+ SeatType[SeatType["SEAT_TYPE_STANDARD"] = 1] = "SEAT_TYPE_STANDARD";
21
+ SeatType[SeatType["SEAT_TYPE_VIP"] = 2] = "SEAT_TYPE_VIP";
22
+ SeatType[SeatType["SEAT_TYPE_ACCESSIBLE"] = 3] = "SEAT_TYPE_ACCESSIBLE";
23
23
  SeatType[SeatType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
24
24
  })(SeatType || (exports.SeatType = SeatType = {}));
@@ -28,7 +28,6 @@ export interface Seat {
28
28
  x: number;
29
29
  y: number;
30
30
  type: SeatType;
31
- price: number;
32
31
  status: SeatStatus;
33
32
  hallId: string;
34
33
  }
package/gen/ts/common.ts CHANGED
@@ -8,15 +8,15 @@
8
8
 
9
9
  export enum SeatStatus {
10
10
  SEAT_STATUS_UNSPECIFIED = 0,
11
- AVAILABLE = 1,
12
- UNAVAILABLE = 2,
11
+ SEAT_STATUS_AVAILABLE = 1,
12
+ SEAT_STATUS_UNAVAILABLE = 2,
13
13
  UNRECOGNIZED = -1,
14
14
  }
15
15
 
16
16
  export enum SeatType {
17
17
  SEAT_TYPE_UNSPECIFIED = 0,
18
- STANDARD = 1,
19
- VIP = 2,
20
- ACCESSIBLE = 3,
18
+ SEAT_TYPE_STANDARD = 1,
19
+ SEAT_TYPE_VIP = 2,
20
+ SEAT_TYPE_ACCESSIBLE = 3,
21
21
  UNRECOGNIZED = -1,
22
22
  }
package/gen/ts/seat.ts CHANGED
@@ -43,7 +43,6 @@ export interface Seat {
43
43
  x: number;
44
44
  y: number;
45
45
  type: SeatType;
46
- price: number;
47
46
  status: SeatStatus;
48
47
  hallId: string;
49
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neo-tickets/contracts",
3
- "version": "1.19.3",
3
+ "version": "1.19.5",
4
4
  "main": "./dist/src/index.js",
5
5
  "types": "./dist/src/index.d.ts",
6
6
  "scripts": {
@@ -4,13 +4,13 @@ package common.v1;
4
4
 
5
5
  enum SeatStatus {
6
6
  SEAT_STATUS_UNSPECIFIED = 0;
7
- AVAILABLE = 1;
8
- UNAVAILABLE = 2;
7
+ SEAT_STATUS_AVAILABLE = 1;
8
+ SEAT_STATUS_UNAVAILABLE = 2;
9
9
  }
10
10
 
11
11
  enum SeatType {
12
12
  SEAT_TYPE_UNSPECIFIED = 0;
13
- STANDARD = 1;
14
- VIP = 2;
15
- ACCESSIBLE = 3;
13
+ SEAT_TYPE_STANDARD = 1;
14
+ SEAT_TYPE_VIP = 2;
15
+ SEAT_TYPE_ACCESSIBLE = 3;
16
16
  }
package/proto/seat.proto CHANGED
@@ -42,7 +42,6 @@ message Seat {
42
42
  int32 x = 4;
43
43
  int32 y = 5;
44
44
  common.v1.SeatType type = 6;
45
- int32 price = 7;
46
45
  common.v1.SeatStatus status = 8;
47
46
  string hall_id = 9;
48
47
  }