@sellout/models 0.0.330 → 0.0.331

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.
@@ -31736,6 +31736,7 @@ $root.OrderQuery = (function() {
31736
31736
  * @property {number|null} [endDate] OrderQuery endDate
31737
31737
  * @property {boolean|null} [any] OrderQuery any
31738
31738
  * @property {Array.<string>|null} [seasonIds] OrderQuery seasonIds
31739
+ * @property {boolean|null} [isCustomerScreen] OrderQuery isCustomerScreen
31739
31740
  */
31740
31741
 
31741
31742
  /**
@@ -31857,6 +31858,14 @@ $root.OrderQuery = (function() {
31857
31858
  */
31858
31859
  OrderQuery.prototype.seasonIds = $util.emptyArray;
31859
31860
 
31861
+ /**
31862
+ * OrderQuery isCustomerScreen.
31863
+ * @member {boolean} isCustomerScreen
31864
+ * @memberof OrderQuery
31865
+ * @instance
31866
+ */
31867
+ OrderQuery.prototype.isCustomerScreen = false;
31868
+
31860
31869
  /**
31861
31870
  * Creates a new OrderQuery instance using the specified properties.
31862
31871
  * @function create
@@ -31913,6 +31922,8 @@ $root.OrderQuery = (function() {
31913
31922
  if (message.seasonIds != null && message.seasonIds.length)
31914
31923
  for (var i = 0; i < message.seasonIds.length; ++i)
31915
31924
  writer.uint32(/* id 11, wireType 2 =*/90).string(message.seasonIds[i]);
31925
+ if (message.isCustomerScreen != null && Object.hasOwnProperty.call(message, "isCustomerScreen"))
31926
+ writer.uint32(/* id 12, wireType 0 =*/96).bool(message.isCustomerScreen);
31916
31927
  return writer;
31917
31928
  };
31918
31929
 
@@ -31999,6 +32010,9 @@ $root.OrderQuery = (function() {
31999
32010
  message.seasonIds = [];
32000
32011
  message.seasonIds.push(reader.string());
32001
32012
  break;
32013
+ case 12:
32014
+ message.isCustomerScreen = reader.bool();
32015
+ break;
32002
32016
  default:
32003
32017
  reader.skipType(tag & 7);
32004
32018
  break;
@@ -32102,6 +32116,9 @@ $root.OrderQuery = (function() {
32102
32116
  if (!$util.isString(message.seasonIds[i]))
32103
32117
  return "seasonIds: string[] expected";
32104
32118
  }
32119
+ if (message.isCustomerScreen != null && message.hasOwnProperty("isCustomerScreen"))
32120
+ if (typeof message.isCustomerScreen !== "boolean")
32121
+ return "isCustomerScreen: boolean expected";
32105
32122
  return null;
32106
32123
  };
32107
32124
 
@@ -32181,6 +32198,8 @@ $root.OrderQuery = (function() {
32181
32198
  for (var i = 0; i < object.seasonIds.length; ++i)
32182
32199
  message.seasonIds[i] = String(object.seasonIds[i]);
32183
32200
  }
32201
+ if (object.isCustomerScreen != null)
32202
+ message.isCustomerScreen = Boolean(object.isCustomerScreen);
32184
32203
  return message;
32185
32204
  };
32186
32205
 
@@ -32212,6 +32231,7 @@ $root.OrderQuery = (function() {
32212
32231
  object.startDate = 0;
32213
32232
  object.endDate = 0;
32214
32233
  object.any = false;
32234
+ object.isCustomerScreen = false;
32215
32235
  }
32216
32236
  if (message.orderIds && message.orderIds.length) {
32217
32237
  object.orderIds = [];
@@ -32261,6 +32281,8 @@ $root.OrderQuery = (function() {
32261
32281
  for (var j = 0; j < message.seasonIds.length; ++j)
32262
32282
  object.seasonIds[j] = message.seasonIds[j];
32263
32283
  }
32284
+ if (message.isCustomerScreen != null && message.hasOwnProperty("isCustomerScreen"))
32285
+ object.isCustomerScreen = message.isCustomerScreen;
32264
32286
  return object;
32265
32287
  };
32266
32288
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/models",
3
- "version": "0.0.330",
3
+ "version": "0.0.331",
4
4
  "description": "Sellout.io models",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -18,7 +18,7 @@
18
18
  "dependencies": {
19
19
  "@apollo/client": "^3.9.6",
20
20
  "@hapi/joi": "^17.1.1",
21
- "@sellout/utils": "^0.0.330",
21
+ "@sellout/utils": "^0.0.331",
22
22
  "@types/hapi__joi": "^16.0.1",
23
23
  "@types/shortid": "^0.0.29",
24
24
  "@types/zen-observable": "^0.8.7",
@@ -32,5 +32,5 @@
32
32
  "protobufjs": "^6.11.2",
33
33
  "typescript": "^4.9.5"
34
34
  },
35
- "gitHead": "8f568663b127f3e4b8cbfa2777c6545f0634a453"
35
+ "gitHead": "2c8e4c556e2a71cd230fde221cbd8763637f9562"
36
36
  }
@@ -579,6 +579,7 @@ message OrderQuery {
579
579
  int32 endDate = 9;
580
580
  bool any = 10;
581
581
  repeated string seasonIds = 11;
582
+ bool isCustomerScreen = 12;
582
583
  }
583
584
 
584
585
  message QueryOrdersRequest {