@sellout/models 0.0.185-alpha.0 → 0.0.186-alpha.0

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.
@@ -44523,6 +44523,8 @@ $root.PublicEvent = (function() {
44523
44523
  * @property {number|null} [endsAt] PublicEvent endsAt
44524
44524
  * @property {string|null} [venue] PublicEvent venue
44525
44525
  * @property {string|null} [status] PublicEvent status
44526
+ * @property {string|null} [venueTimezone] PublicEvent venueTimezone
44527
+ * @property {number|null} [announceAt] PublicEvent announceAt
44526
44528
  */
44527
44529
 
44528
44530
  /**
@@ -44740,6 +44742,22 @@ $root.PublicEvent = (function() {
44740
44742
  */
44741
44743
  PublicEvent.prototype.status = "";
44742
44744
 
44745
+ /**
44746
+ * PublicEvent venueTimezone.
44747
+ * @member {string} venueTimezone
44748
+ * @memberof PublicEvent
44749
+ * @instance
44750
+ */
44751
+ PublicEvent.prototype.venueTimezone = "";
44752
+
44753
+ /**
44754
+ * PublicEvent announceAt.
44755
+ * @member {number} announceAt
44756
+ * @memberof PublicEvent
44757
+ * @instance
44758
+ */
44759
+ PublicEvent.prototype.announceAt = 0;
44760
+
44743
44761
  /**
44744
44762
  * Creates a new PublicEvent instance using the specified properties.
44745
44763
  * @function create
@@ -44814,6 +44832,10 @@ $root.PublicEvent = (function() {
44814
44832
  writer.uint32(/* id 24, wireType 2 =*/194).string(message.venue);
44815
44833
  if (message.status != null && Object.hasOwnProperty.call(message, "status"))
44816
44834
  writer.uint32(/* id 25, wireType 2 =*/202).string(message.status);
44835
+ if (message.venueTimezone != null && Object.hasOwnProperty.call(message, "venueTimezone"))
44836
+ writer.uint32(/* id 26, wireType 2 =*/210).string(message.venueTimezone);
44837
+ if (message.announceAt != null && Object.hasOwnProperty.call(message, "announceAt"))
44838
+ writer.uint32(/* id 27, wireType 0 =*/216).int32(message.announceAt);
44817
44839
  return writer;
44818
44840
  };
44819
44841
 
@@ -44923,6 +44945,12 @@ $root.PublicEvent = (function() {
44923
44945
  case 25:
44924
44946
  message.status = reader.string();
44925
44947
  break;
44948
+ case 26:
44949
+ message.venueTimezone = reader.string();
44950
+ break;
44951
+ case 27:
44952
+ message.announceAt = reader.int32();
44953
+ break;
44926
44954
  default:
44927
44955
  reader.skipType(tag & 7);
44928
44956
  break;
@@ -45035,6 +45063,12 @@ $root.PublicEvent = (function() {
45035
45063
  if (message.status != null && message.hasOwnProperty("status"))
45036
45064
  if (!$util.isString(message.status))
45037
45065
  return "status: string expected";
45066
+ if (message.venueTimezone != null && message.hasOwnProperty("venueTimezone"))
45067
+ if (!$util.isString(message.venueTimezone))
45068
+ return "venueTimezone: string expected";
45069
+ if (message.announceAt != null && message.hasOwnProperty("announceAt"))
45070
+ if (!$util.isInteger(message.announceAt))
45071
+ return "announceAt: integer expected";
45038
45072
  return null;
45039
45073
  };
45040
45074
 
@@ -45103,6 +45137,10 @@ $root.PublicEvent = (function() {
45103
45137
  message.venue = String(object.venue);
45104
45138
  if (object.status != null)
45105
45139
  message.status = String(object.status);
45140
+ if (object.venueTimezone != null)
45141
+ message.venueTimezone = String(object.venueTimezone);
45142
+ if (object.announceAt != null)
45143
+ message.announceAt = object.announceAt | 0;
45106
45144
  return message;
45107
45145
  };
45108
45146
 
@@ -45145,6 +45183,8 @@ $root.PublicEvent = (function() {
45145
45183
  object.endsAt = 0;
45146
45184
  object.venue = "";
45147
45185
  object.status = "";
45186
+ object.venueTimezone = "";
45187
+ object.announceAt = 0;
45148
45188
  }
45149
45189
  if (message._id != null && message.hasOwnProperty("_id"))
45150
45190
  object._id = message._id;
@@ -45196,6 +45236,10 @@ $root.PublicEvent = (function() {
45196
45236
  object.venue = message.venue;
45197
45237
  if (message.status != null && message.hasOwnProperty("status"))
45198
45238
  object.status = message.status;
45239
+ if (message.venueTimezone != null && message.hasOwnProperty("venueTimezone"))
45240
+ object.venueTimezone = message.venueTimezone;
45241
+ if (message.announceAt != null && message.hasOwnProperty("announceAt"))
45242
+ object.announceAt = message.announceAt;
45199
45243
  return object;
45200
45244
  };
45201
45245
 
@@ -52794,6 +52838,7 @@ $root.QueryEventsListRequest = (function() {
52794
52838
  * @exports IQueryEventsListRequest
52795
52839
  * @interface IQueryEventsListRequest
52796
52840
  * @property {string|null} [spanContext] QueryEventsListRequest spanContext
52841
+ * @property {string|null} [orgId] QueryEventsListRequest orgId
52797
52842
  */
52798
52843
 
52799
52844
  /**
@@ -52819,6 +52864,14 @@ $root.QueryEventsListRequest = (function() {
52819
52864
  */
52820
52865
  QueryEventsListRequest.prototype.spanContext = "";
52821
52866
 
52867
+ /**
52868
+ * QueryEventsListRequest orgId.
52869
+ * @member {string} orgId
52870
+ * @memberof QueryEventsListRequest
52871
+ * @instance
52872
+ */
52873
+ QueryEventsListRequest.prototype.orgId = "";
52874
+
52822
52875
  /**
52823
52876
  * Creates a new QueryEventsListRequest instance using the specified properties.
52824
52877
  * @function create
@@ -52845,6 +52898,8 @@ $root.QueryEventsListRequest = (function() {
52845
52898
  writer = $Writer.create();
52846
52899
  if (message.spanContext != null && Object.hasOwnProperty.call(message, "spanContext"))
52847
52900
  writer.uint32(/* id 0, wireType 2 =*/2).string(message.spanContext);
52901
+ if (message.orgId != null && Object.hasOwnProperty.call(message, "orgId"))
52902
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.orgId);
52848
52903
  return writer;
52849
52904
  };
52850
52905
 
@@ -52882,6 +52937,9 @@ $root.QueryEventsListRequest = (function() {
52882
52937
  case 0:
52883
52938
  message.spanContext = reader.string();
52884
52939
  break;
52940
+ case 1:
52941
+ message.orgId = reader.string();
52942
+ break;
52885
52943
  default:
52886
52944
  reader.skipType(tag & 7);
52887
52945
  break;
@@ -52920,6 +52978,9 @@ $root.QueryEventsListRequest = (function() {
52920
52978
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
52921
52979
  if (!$util.isString(message.spanContext))
52922
52980
  return "spanContext: string expected";
52981
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
52982
+ if (!$util.isString(message.orgId))
52983
+ return "orgId: string expected";
52923
52984
  return null;
52924
52985
  };
52925
52986
 
@@ -52937,6 +52998,8 @@ $root.QueryEventsListRequest = (function() {
52937
52998
  var message = new $root.QueryEventsListRequest();
52938
52999
  if (object.spanContext != null)
52939
53000
  message.spanContext = String(object.spanContext);
53001
+ if (object.orgId != null)
53002
+ message.orgId = String(object.orgId);
52940
53003
  return message;
52941
53004
  };
52942
53005
 
@@ -52953,10 +53016,14 @@ $root.QueryEventsListRequest = (function() {
52953
53016
  if (!options)
52954
53017
  options = {};
52955
53018
  var object = {};
52956
- if (options.defaults)
53019
+ if (options.defaults) {
52957
53020
  object.spanContext = "";
53021
+ object.orgId = "";
53022
+ }
52958
53023
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
52959
53024
  object.spanContext = message.spanContext;
53025
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
53026
+ object.orgId = message.orgId;
52960
53027
  return object;
52961
53028
  };
52962
53029
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/models",
3
- "version": "0.0.185-alpha.0",
3
+ "version": "0.0.186-alpha.0",
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.185-alpha.0",
20
+ "@sellout/utils": "^0.0.186-alpha.0",
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": "edc8ba9314446c3f78b7d924dfbce04c0b7fb2a4"
34
+ "gitHead": "0c0e2b0880c745376d9d57950e51b558b49c8a49"
35
35
  }
@@ -72,6 +72,8 @@ message PublicEvent {
72
72
  int32 endsAt = 23;
73
73
  string venue = 24;
74
74
  string status = 25;
75
+ string venueTimezone = 26;
76
+ int32 announceAt = 27;
75
77
  }
76
78
 
77
79
  message PublicEventDetails {
@@ -304,6 +306,7 @@ message QueryEventsResponse {
304
306
 
305
307
  message QueryEventsListRequest {
306
308
  string spanContext = 0;
309
+ string orgId = 1;
307
310
  }
308
311
 
309
312