@sellout/models 0.0.199 → 0.0.200

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.
@@ -24842,6 +24842,7 @@ $root.UpdateGuestOrderRequest = (function() {
24842
24842
  * @interface IUpdateGuestOrderRequest
24843
24843
  * @property {string|null} [spanContext] UpdateGuestOrderRequest spanContext
24844
24844
  * @property {IUpdateGuestOrderParams|null} [params] UpdateGuestOrderRequest params
24845
+ * @property {string|null} [requestorId] UpdateGuestOrderRequest requestorId
24845
24846
  */
24846
24847
 
24847
24848
  /**
@@ -24875,6 +24876,14 @@ $root.UpdateGuestOrderRequest = (function() {
24875
24876
  */
24876
24877
  UpdateGuestOrderRequest.prototype.params = null;
24877
24878
 
24879
+ /**
24880
+ * UpdateGuestOrderRequest requestorId.
24881
+ * @member {string} requestorId
24882
+ * @memberof UpdateGuestOrderRequest
24883
+ * @instance
24884
+ */
24885
+ UpdateGuestOrderRequest.prototype.requestorId = "";
24886
+
24878
24887
  /**
24879
24888
  * Creates a new UpdateGuestOrderRequest instance using the specified properties.
24880
24889
  * @function create
@@ -24903,6 +24912,8 @@ $root.UpdateGuestOrderRequest = (function() {
24903
24912
  writer.uint32(/* id 0, wireType 2 =*/2).string(message.spanContext);
24904
24913
  if (message.params != null && Object.hasOwnProperty.call(message, "params"))
24905
24914
  $root.UpdateGuestOrderParams.encode(message.params, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
24915
+ if (message.requestorId != null && Object.hasOwnProperty.call(message, "requestorId"))
24916
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.requestorId);
24906
24917
  return writer;
24907
24918
  };
24908
24919
 
@@ -24943,6 +24954,9 @@ $root.UpdateGuestOrderRequest = (function() {
24943
24954
  case 1:
24944
24955
  message.params = $root.UpdateGuestOrderParams.decode(reader, reader.uint32());
24945
24956
  break;
24957
+ case 2:
24958
+ message.requestorId = reader.string();
24959
+ break;
24946
24960
  default:
24947
24961
  reader.skipType(tag & 7);
24948
24962
  break;
@@ -24986,6 +25000,9 @@ $root.UpdateGuestOrderRequest = (function() {
24986
25000
  if (error)
24987
25001
  return "params." + error;
24988
25002
  }
25003
+ if (message.requestorId != null && message.hasOwnProperty("requestorId"))
25004
+ if (!$util.isString(message.requestorId))
25005
+ return "requestorId: string expected";
24989
25006
  return null;
24990
25007
  };
24991
25008
 
@@ -25008,6 +25025,8 @@ $root.UpdateGuestOrderRequest = (function() {
25008
25025
  throw TypeError(".UpdateGuestOrderRequest.params: object expected");
25009
25026
  message.params = $root.UpdateGuestOrderParams.fromObject(object.params);
25010
25027
  }
25028
+ if (object.requestorId != null)
25029
+ message.requestorId = String(object.requestorId);
25011
25030
  return message;
25012
25031
  };
25013
25032
 
@@ -25027,11 +25046,14 @@ $root.UpdateGuestOrderRequest = (function() {
25027
25046
  if (options.defaults) {
25028
25047
  object.spanContext = "";
25029
25048
  object.params = null;
25049
+ object.requestorId = "";
25030
25050
  }
25031
25051
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
25032
25052
  object.spanContext = message.spanContext;
25033
25053
  if (message.params != null && message.hasOwnProperty("params"))
25034
25054
  object.params = $root.UpdateGuestOrderParams.toObject(message.params, options);
25055
+ if (message.requestorId != null && message.hasOwnProperty("requestorId"))
25056
+ object.requestorId = message.requestorId;
25035
25057
  return object;
25036
25058
  };
25037
25059
 
@@ -25853,6 +25875,7 @@ $root.SendOrderQRCodeEmailRequest = (function() {
25853
25875
  * @interface ISendOrderQRCodeEmailRequest
25854
25876
  * @property {string|null} [spanContext] SendOrderQRCodeEmailRequest spanContext
25855
25877
  * @property {string|null} [orderId] SendOrderQRCodeEmailRequest orderId
25878
+ * @property {string|null} [requestorId] SendOrderQRCodeEmailRequest requestorId
25856
25879
  */
25857
25880
 
25858
25881
  /**
@@ -25886,6 +25909,14 @@ $root.SendOrderQRCodeEmailRequest = (function() {
25886
25909
  */
25887
25910
  SendOrderQRCodeEmailRequest.prototype.orderId = "";
25888
25911
 
25912
+ /**
25913
+ * SendOrderQRCodeEmailRequest requestorId.
25914
+ * @member {string} requestorId
25915
+ * @memberof SendOrderQRCodeEmailRequest
25916
+ * @instance
25917
+ */
25918
+ SendOrderQRCodeEmailRequest.prototype.requestorId = "";
25919
+
25889
25920
  /**
25890
25921
  * Creates a new SendOrderQRCodeEmailRequest instance using the specified properties.
25891
25922
  * @function create
@@ -25914,6 +25945,8 @@ $root.SendOrderQRCodeEmailRequest = (function() {
25914
25945
  writer.uint32(/* id 0, wireType 2 =*/2).string(message.spanContext);
25915
25946
  if (message.orderId != null && Object.hasOwnProperty.call(message, "orderId"))
25916
25947
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.orderId);
25948
+ if (message.requestorId != null && Object.hasOwnProperty.call(message, "requestorId"))
25949
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.requestorId);
25917
25950
  return writer;
25918
25951
  };
25919
25952
 
@@ -25954,6 +25987,9 @@ $root.SendOrderQRCodeEmailRequest = (function() {
25954
25987
  case 1:
25955
25988
  message.orderId = reader.string();
25956
25989
  break;
25990
+ case 2:
25991
+ message.requestorId = reader.string();
25992
+ break;
25957
25993
  default:
25958
25994
  reader.skipType(tag & 7);
25959
25995
  break;
@@ -25995,6 +26031,9 @@ $root.SendOrderQRCodeEmailRequest = (function() {
25995
26031
  if (message.orderId != null && message.hasOwnProperty("orderId"))
25996
26032
  if (!$util.isString(message.orderId))
25997
26033
  return "orderId: string expected";
26034
+ if (message.requestorId != null && message.hasOwnProperty("requestorId"))
26035
+ if (!$util.isString(message.requestorId))
26036
+ return "requestorId: string expected";
25998
26037
  return null;
25999
26038
  };
26000
26039
 
@@ -26014,6 +26053,8 @@ $root.SendOrderQRCodeEmailRequest = (function() {
26014
26053
  message.spanContext = String(object.spanContext);
26015
26054
  if (object.orderId != null)
26016
26055
  message.orderId = String(object.orderId);
26056
+ if (object.requestorId != null)
26057
+ message.requestorId = String(object.requestorId);
26017
26058
  return message;
26018
26059
  };
26019
26060
 
@@ -26033,11 +26074,14 @@ $root.SendOrderQRCodeEmailRequest = (function() {
26033
26074
  if (options.defaults) {
26034
26075
  object.spanContext = "";
26035
26076
  object.orderId = "";
26077
+ object.requestorId = "";
26036
26078
  }
26037
26079
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
26038
26080
  object.spanContext = message.spanContext;
26039
26081
  if (message.orderId != null && message.hasOwnProperty("orderId"))
26040
26082
  object.orderId = message.orderId;
26083
+ if (message.requestorId != null && message.hasOwnProperty("requestorId"))
26084
+ object.requestorId = message.requestorId;
26041
26085
  return object;
26042
26086
  };
26043
26087
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/models",
3
- "version": "0.0.199",
3
+ "version": "0.0.200",
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.199",
20
+ "@sellout/utils": "^0.0.200",
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": "62fea79ebed79746ec9882a730733bc2abaed3a9"
34
+ "gitHead": "6048e59b20c854171f1607f02d2fa0a0037509ef"
35
35
  }
@@ -381,6 +381,7 @@ message UpdateGuestOrderParams {
381
381
  message UpdateGuestOrderRequest {
382
382
  string spanContext = 0;
383
383
  UpdateGuestOrderParams params = 1;
384
+ string requestorId = 2;
384
385
  }
385
386
 
386
387
  message UpdateOrderResponse {
@@ -407,6 +408,7 @@ message SendOrderReceiptEmailResponse {
407
408
  message SendOrderQRCodeEmailRequest {
408
409
  string spanContext = 0;
409
410
  string orderId = 1;
411
+ string requestorId = 2;
410
412
  }
411
413
 
412
414
  message SendOrderQRCodeEmailResponse {