@sellout/models 0.0.107 → 0.0.108
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.
- package/package.json +4 -4
- package/src/interfaces/IRefund.ts +1 -1
- package/src/proto/seating.proto +13 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellout/models",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.108",
|
|
4
4
|
"description": "Sellout.io models",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@hapi/joi": "^16.1.7",
|
|
20
|
-
"@sellout/service": "^0.0.
|
|
21
|
-
"@sellout/utils": "^0.0.
|
|
20
|
+
"@sellout/service": "^0.0.108",
|
|
21
|
+
"@sellout/utils": "^0.0.108",
|
|
22
22
|
"@types/hapi__joi": "^16.0.1",
|
|
23
23
|
"@types/shortid": "^0.0.29",
|
|
24
24
|
"apollo-link-debounce": "^2.1.0",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"protobufjs": "^6.11.2",
|
|
33
33
|
"typescript": "^4.4.2"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "f64d10d501ae0ff62171846f9c4ce5b83b5bba52"
|
|
36
36
|
}
|
package/src/proto/seating.proto
CHANGED
|
@@ -45,6 +45,18 @@ message BookSeatsResponse {
|
|
|
45
45
|
repeated Error errors = 1;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
message ReleaseSeatsRequest {
|
|
49
|
+
string spanContext = 0;
|
|
50
|
+
string orgId = 1;
|
|
51
|
+
string eventId = 2;
|
|
52
|
+
repeated string seats = 3;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
message ReleaseSeatsResponse {
|
|
56
|
+
StatusCode status = 0;
|
|
57
|
+
repeated Error errors = 1;
|
|
58
|
+
}
|
|
59
|
+
|
|
48
60
|
message FindOrganizationSeatingRequest {
|
|
49
61
|
string spanContext = 0;
|
|
50
62
|
string orgId = 1;
|
|
@@ -60,5 +72,6 @@ service SeatingService {
|
|
|
60
72
|
// Seating
|
|
61
73
|
rpc createSeating(CreateSeatingRequest) returns (CreateSeatingResponse) {}
|
|
62
74
|
rpc bookSeats(BookSeatsRequest) returns (BookSeatsResponse) {}
|
|
75
|
+
rpc releaseSeats(ReleaseSeatsRequest) returns (ReleaseSeatsResponse) {}
|
|
63
76
|
rpc findOrganizationSeating(FindOrganizationSeatingRequest) returns (FindOrganizationSeatingResponse) {}
|
|
64
77
|
}
|