@sellout/models 0.0.146 → 0.0.147
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/.dist/sellout-proto.js +44 -0
- package/package.json +3 -3
- package/src/proto/email.proto +1 -0
- package/src/proto/order.proto +2 -0
package/.dist/sellout-proto.js
CHANGED
|
@@ -16197,6 +16197,7 @@ $root.CreateOrderTicketParams = (function() {
|
|
|
16197
16197
|
* @property {string|null} [seat] CreateOrderTicketParams seat
|
|
16198
16198
|
* @property {string|null} [values] CreateOrderTicketParams values
|
|
16199
16199
|
* @property {string|null} [description] CreateOrderTicketParams description
|
|
16200
|
+
* @property {string|null} [type] CreateOrderTicketParams type
|
|
16200
16201
|
*/
|
|
16201
16202
|
|
|
16202
16203
|
/**
|
|
@@ -16278,6 +16279,14 @@ $root.CreateOrderTicketParams = (function() {
|
|
|
16278
16279
|
*/
|
|
16279
16280
|
CreateOrderTicketParams.prototype.description = "";
|
|
16280
16281
|
|
|
16282
|
+
/**
|
|
16283
|
+
* CreateOrderTicketParams type.
|
|
16284
|
+
* @member {string} type
|
|
16285
|
+
* @memberof CreateOrderTicketParams
|
|
16286
|
+
* @instance
|
|
16287
|
+
*/
|
|
16288
|
+
CreateOrderTicketParams.prototype.type = "";
|
|
16289
|
+
|
|
16281
16290
|
/**
|
|
16282
16291
|
* Creates a new CreateOrderTicketParams instance using the specified properties.
|
|
16283
16292
|
* @function create
|
|
@@ -16318,6 +16327,8 @@ $root.CreateOrderTicketParams = (function() {
|
|
|
16318
16327
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.values);
|
|
16319
16328
|
if (message.description != null && Object.hasOwnProperty.call(message, "description"))
|
|
16320
16329
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.description);
|
|
16330
|
+
if (message.type != null && Object.hasOwnProperty.call(message, "type"))
|
|
16331
|
+
writer.uint32(/* id 8, wireType 2 =*/66).string(message.type);
|
|
16321
16332
|
return writer;
|
|
16322
16333
|
};
|
|
16323
16334
|
|
|
@@ -16376,6 +16387,9 @@ $root.CreateOrderTicketParams = (function() {
|
|
|
16376
16387
|
case 7:
|
|
16377
16388
|
message.description = reader.string();
|
|
16378
16389
|
break;
|
|
16390
|
+
case 8:
|
|
16391
|
+
message.type = reader.string();
|
|
16392
|
+
break;
|
|
16379
16393
|
default:
|
|
16380
16394
|
reader.skipType(tag & 7);
|
|
16381
16395
|
break;
|
|
@@ -16435,6 +16449,9 @@ $root.CreateOrderTicketParams = (function() {
|
|
|
16435
16449
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
16436
16450
|
if (!$util.isString(message.description))
|
|
16437
16451
|
return "description: string expected";
|
|
16452
|
+
if (message.type != null && message.hasOwnProperty("type"))
|
|
16453
|
+
if (!$util.isString(message.type))
|
|
16454
|
+
return "type: string expected";
|
|
16438
16455
|
return null;
|
|
16439
16456
|
};
|
|
16440
16457
|
|
|
@@ -16466,6 +16483,8 @@ $root.CreateOrderTicketParams = (function() {
|
|
|
16466
16483
|
message.values = String(object.values);
|
|
16467
16484
|
if (object.description != null)
|
|
16468
16485
|
message.description = String(object.description);
|
|
16486
|
+
if (object.type != null)
|
|
16487
|
+
message.type = String(object.type);
|
|
16469
16488
|
return message;
|
|
16470
16489
|
};
|
|
16471
16490
|
|
|
@@ -16491,6 +16510,7 @@ $root.CreateOrderTicketParams = (function() {
|
|
|
16491
16510
|
object.seat = "";
|
|
16492
16511
|
object.values = "";
|
|
16493
16512
|
object.description = "";
|
|
16513
|
+
object.type = "";
|
|
16494
16514
|
}
|
|
16495
16515
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
16496
16516
|
object.name = message.name;
|
|
@@ -16508,6 +16528,8 @@ $root.CreateOrderTicketParams = (function() {
|
|
|
16508
16528
|
object.values = message.values;
|
|
16509
16529
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
16510
16530
|
object.description = message.description;
|
|
16531
|
+
if (message.type != null && message.hasOwnProperty("type"))
|
|
16532
|
+
object.type = message.type;
|
|
16511
16533
|
return object;
|
|
16512
16534
|
};
|
|
16513
16535
|
|
|
@@ -28994,6 +29016,7 @@ $root.OrderSummaryItem = (function() {
|
|
|
28994
29016
|
* @property {string|null} [fee] OrderSummaryItem fee
|
|
28995
29017
|
* @property {string|null} [seats] OrderSummaryItem seats
|
|
28996
29018
|
* @property {string|null} [description] OrderSummaryItem description
|
|
29019
|
+
* @property {string|null} [type] OrderSummaryItem type
|
|
28997
29020
|
*/
|
|
28998
29021
|
|
|
28999
29022
|
/**
|
|
@@ -29051,6 +29074,14 @@ $root.OrderSummaryItem = (function() {
|
|
|
29051
29074
|
*/
|
|
29052
29075
|
OrderSummaryItem.prototype.description = "";
|
|
29053
29076
|
|
|
29077
|
+
/**
|
|
29078
|
+
* OrderSummaryItem type.
|
|
29079
|
+
* @member {string} type
|
|
29080
|
+
* @memberof OrderSummaryItem
|
|
29081
|
+
* @instance
|
|
29082
|
+
*/
|
|
29083
|
+
OrderSummaryItem.prototype.type = "";
|
|
29084
|
+
|
|
29054
29085
|
/**
|
|
29055
29086
|
* Creates a new OrderSummaryItem instance using the specified properties.
|
|
29056
29087
|
* @function create
|
|
@@ -29085,6 +29116,8 @@ $root.OrderSummaryItem = (function() {
|
|
|
29085
29116
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.seats);
|
|
29086
29117
|
if (message.description != null && Object.hasOwnProperty.call(message, "description"))
|
|
29087
29118
|
writer.uint32(/* id 4, wireType 2 =*/34).string(message.description);
|
|
29119
|
+
if (message.type != null && Object.hasOwnProperty.call(message, "type"))
|
|
29120
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.type);
|
|
29088
29121
|
return writer;
|
|
29089
29122
|
};
|
|
29090
29123
|
|
|
@@ -29134,6 +29167,9 @@ $root.OrderSummaryItem = (function() {
|
|
|
29134
29167
|
case 4:
|
|
29135
29168
|
message.description = reader.string();
|
|
29136
29169
|
break;
|
|
29170
|
+
case 5:
|
|
29171
|
+
message.type = reader.string();
|
|
29172
|
+
break;
|
|
29137
29173
|
default:
|
|
29138
29174
|
reader.skipType(tag & 7);
|
|
29139
29175
|
break;
|
|
@@ -29184,6 +29220,9 @@ $root.OrderSummaryItem = (function() {
|
|
|
29184
29220
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
29185
29221
|
if (!$util.isString(message.description))
|
|
29186
29222
|
return "description: string expected";
|
|
29223
|
+
if (message.type != null && message.hasOwnProperty("type"))
|
|
29224
|
+
if (!$util.isString(message.type))
|
|
29225
|
+
return "type: string expected";
|
|
29187
29226
|
return null;
|
|
29188
29227
|
};
|
|
29189
29228
|
|
|
@@ -29209,6 +29248,8 @@ $root.OrderSummaryItem = (function() {
|
|
|
29209
29248
|
message.seats = String(object.seats);
|
|
29210
29249
|
if (object.description != null)
|
|
29211
29250
|
message.description = String(object.description);
|
|
29251
|
+
if (object.type != null)
|
|
29252
|
+
message.type = String(object.type);
|
|
29212
29253
|
return message;
|
|
29213
29254
|
};
|
|
29214
29255
|
|
|
@@ -29231,6 +29272,7 @@ $root.OrderSummaryItem = (function() {
|
|
|
29231
29272
|
object.fee = "";
|
|
29232
29273
|
object.seats = "";
|
|
29233
29274
|
object.description = "";
|
|
29275
|
+
object.type = "";
|
|
29234
29276
|
}
|
|
29235
29277
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
29236
29278
|
object.name = message.name;
|
|
@@ -29242,6 +29284,8 @@ $root.OrderSummaryItem = (function() {
|
|
|
29242
29284
|
object.seats = message.seats;
|
|
29243
29285
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
29244
29286
|
object.description = message.description;
|
|
29287
|
+
if (message.type != null && message.hasOwnProperty("type"))
|
|
29288
|
+
object.type = message.type;
|
|
29245
29289
|
return object;
|
|
29246
29290
|
};
|
|
29247
29291
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellout/models",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.147",
|
|
4
4
|
"description": "Sellout.io models",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@hapi/joi": "^16.1.7",
|
|
20
|
-
"@sellout/utils": "^0.0.
|
|
20
|
+
"@sellout/utils": "^0.0.147",
|
|
21
21
|
"@types/hapi__joi": "^16.0.1",
|
|
22
22
|
"@types/shortid": "^0.0.29",
|
|
23
23
|
"apollo-link-debounce": "^2.1.0",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"protobufjs": "^6.11.2",
|
|
32
32
|
"typescript": "^4.4.2"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "fe5b924b3cc0ece6643e89f63a9688a366f28710"
|
|
35
35
|
}
|
package/src/proto/email.proto
CHANGED