@sellout/models 0.0.363 → 0.0.365

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.
Files changed (94) hide show
  1. package/.dist/graphql/mutations/createEvent.mutation.js +5 -1
  2. package/.dist/graphql/mutations/createEvent.mutation.js.map +1 -1
  3. package/.dist/graphql/mutations/createSeason.mutation.js +5 -1
  4. package/.dist/graphql/mutations/createSeason.mutation.js.map +1 -1
  5. package/.dist/graphql/mutations/duplicateEvent.mutation.js +5 -1
  6. package/.dist/graphql/mutations/duplicateEvent.mutation.js.map +1 -1
  7. package/.dist/graphql/mutations/publishEvent.mutation.js +5 -1
  8. package/.dist/graphql/mutations/publishEvent.mutation.js.map +1 -1
  9. package/.dist/graphql/mutations/publishSeason.mutation.js +5 -1
  10. package/.dist/graphql/mutations/publishSeason.mutation.js.map +1 -1
  11. package/.dist/graphql/mutations/updateEvent.mutation.js +5 -1
  12. package/.dist/graphql/mutations/updateEvent.mutation.js.map +1 -1
  13. package/.dist/graphql/mutations/updateSeason.mutation.js +5 -1
  14. package/.dist/graphql/mutations/updateSeason.mutation.js.map +1 -1
  15. package/.dist/graphql/mutations/uploadFiles.mutation.js +2 -2
  16. package/.dist/graphql/queries/customerOrders.query.js +5 -1
  17. package/.dist/graphql/queries/customerOrders.query.js.map +1 -1
  18. package/.dist/graphql/queries/event.query.js +5 -1
  19. package/.dist/graphql/queries/event.query.js.map +1 -1
  20. package/.dist/graphql/queries/eventCalenderOrganizations.query.d.ts +2 -0
  21. package/.dist/graphql/queries/eventCalenderOrganizations.query.js +17 -0
  22. package/.dist/graphql/queries/eventCalenderOrganizations.query.js.map +1 -0
  23. package/.dist/graphql/queries/events.query.js +5 -1
  24. package/.dist/graphql/queries/events.query.js.map +1 -1
  25. package/.dist/graphql/queries/eventsAdminCalender.query.d.ts +2 -0
  26. package/.dist/graphql/queries/eventsAdminCalender.query.js +62 -0
  27. package/.dist/graphql/queries/eventsAdminCalender.query.js.map +1 -0
  28. package/.dist/graphql/queries/order.query.js +10 -2
  29. package/.dist/graphql/queries/order.query.js.map +1 -1
  30. package/.dist/graphql/queries/orders.query.js +10 -2
  31. package/.dist/graphql/queries/orders.query.js.map +1 -1
  32. package/.dist/graphql/queries/publicEvent.query.js +5 -1
  33. package/.dist/graphql/queries/publicEvent.query.js.map +1 -1
  34. package/.dist/graphql/queries/publicSeason.query.js +5 -1
  35. package/.dist/graphql/queries/publicSeason.query.js.map +1 -1
  36. package/.dist/graphql/queries/season.query.js +5 -1
  37. package/.dist/graphql/queries/season.query.js.map +1 -1
  38. package/.dist/graphql/queries/seasons.query.js +5 -1
  39. package/.dist/graphql/queries/seasons.query.js.map +1 -1
  40. package/.dist/graphql/queries/waitList.query.js +5 -1
  41. package/.dist/graphql/queries/waitList.query.js.map +1 -1
  42. package/.dist/interfaces/IEvent.d.ts +2 -1
  43. package/.dist/interfaces/IEvent.js.map +1 -1
  44. package/.dist/interfaces/IEventPosterUrl.d.ts +5 -0
  45. package/.dist/interfaces/IEventPosterUrl.js +3 -0
  46. package/.dist/interfaces/IEventPosterUrl.js.map +1 -0
  47. package/.dist/interfaces/ISeason.d.ts +2 -1
  48. package/.dist/interfaces/ISeason.js.map +1 -1
  49. package/.dist/interfaces/ISeasonPosterUrl.d.ts +5 -0
  50. package/.dist/interfaces/ISeasonPosterUrl.js +3 -0
  51. package/.dist/interfaces/ISeasonPosterUrl.js.map +1 -0
  52. package/.dist/schemas/Event.d.ts +12 -2
  53. package/.dist/schemas/Event.js +15 -4
  54. package/.dist/schemas/Event.js.map +1 -1
  55. package/.dist/schemas/Season.d.ts +12 -2
  56. package/.dist/schemas/Season.js +15 -4
  57. package/.dist/schemas/Season.js.map +1 -1
  58. package/.dist/sellout-proto.js +355 -48
  59. package/.dist/utils/EventUtil.js +16 -6
  60. package/.dist/utils/EventUtil.js.map +1 -1
  61. package/.dist/utils/SeasonUtil.js +15 -5
  62. package/.dist/utils/SeasonUtil.js.map +1 -1
  63. package/package.json +3 -3
  64. package/src/graphql/mutations/createEvent.mutation.ts +5 -1
  65. package/src/graphql/mutations/createSeason.mutation.ts +5 -1
  66. package/src/graphql/mutations/duplicateEvent.mutation.ts +5 -1
  67. package/src/graphql/mutations/publishEvent.mutation.ts +5 -1
  68. package/src/graphql/mutations/publishSeason.mutation.ts +5 -1
  69. package/src/graphql/mutations/updateEvent.mutation.ts +5 -1
  70. package/src/graphql/mutations/updateSeason.mutation.ts +5 -1
  71. package/src/graphql/mutations/uploadFiles.mutation.ts +2 -2
  72. package/src/graphql/queries/customerOrders.query.ts +5 -1
  73. package/src/graphql/queries/event.query.ts +5 -1
  74. package/src/graphql/queries/eventCalenderOrganizations.query.ts +16 -0
  75. package/src/graphql/queries/events.query.ts +5 -1
  76. package/src/graphql/queries/eventsAdminCalender.query.ts +58 -0
  77. package/src/graphql/queries/order.query.ts +10 -2
  78. package/src/graphql/queries/orders.query.ts +10 -2
  79. package/src/graphql/queries/publicEvent.query.ts +5 -1
  80. package/src/graphql/queries/publicSeason.query.ts +5 -1
  81. package/src/graphql/queries/season.query.ts +5 -1
  82. package/src/graphql/queries/seasons.query.ts +5 -1
  83. package/src/graphql/queries/waitList.query.ts +5 -1
  84. package/src/interfaces/IEvent.ts +2 -1
  85. package/src/interfaces/IEventPosterUrl.ts +5 -0
  86. package/src/interfaces/ISeason.ts +2 -2
  87. package/src/interfaces/ISeasonPosterUrl.ts +5 -0
  88. package/src/proto/event.proto +10 -3
  89. package/src/proto/file-upload.proto +1 -0
  90. package/src/proto/season.proto +2 -2
  91. package/src/schemas/Event.ts +16 -4
  92. package/src/schemas/Season.ts +15 -4
  93. package/src/utils/EventUtil.ts +16 -6
  94. package/src/utils/SeasonUtil.ts +16 -5
@@ -88016,7 +88016,7 @@ $root.Event = (function() {
88016
88016
  * @property {string|null} [name] Event name
88017
88017
  * @property {string|null} [subtitle] Event subtitle
88018
88018
  * @property {string|null} [description] Event description
88019
- * @property {string|null} [posterImageUrl] Event posterImageUrl
88019
+ * @property {IPosterImageUrl|null} [posterImageUrl] Event posterImageUrl
88020
88020
  * @property {string|null} [venueId] Event venueId
88021
88021
  * @property {number|null} [createdAt] Event createdAt
88022
88022
  * @property {boolean|null} [publishable] Event publishable
@@ -88129,11 +88129,11 @@ $root.Event = (function() {
88129
88129
 
88130
88130
  /**
88131
88131
  * Event posterImageUrl.
88132
- * @member {string} posterImageUrl
88132
+ * @member {IPosterImageUrl|null|undefined} posterImageUrl
88133
88133
  * @memberof Event
88134
88134
  * @instance
88135
88135
  */
88136
- Event.prototype.posterImageUrl = "";
88136
+ Event.prototype.posterImageUrl = null;
88137
88137
 
88138
88138
  /**
88139
88139
  * Event venueId.
@@ -88468,7 +88468,7 @@ $root.Event = (function() {
88468
88468
  if (message.description != null && Object.hasOwnProperty.call(message, "description"))
88469
88469
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.description);
88470
88470
  if (message.posterImageUrl != null && Object.hasOwnProperty.call(message, "posterImageUrl"))
88471
- writer.uint32(/* id 7, wireType 2 =*/58).string(message.posterImageUrl);
88471
+ $root.PosterImageUrl.encode(message.posterImageUrl, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
88472
88472
  if (message.venueId != null && Object.hasOwnProperty.call(message, "venueId"))
88473
88473
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.venueId);
88474
88474
  if (message.createdAt != null && Object.hasOwnProperty.call(message, "createdAt"))
@@ -88604,7 +88604,7 @@ $root.Event = (function() {
88604
88604
  message.description = reader.string();
88605
88605
  break;
88606
88606
  case 7:
88607
- message.posterImageUrl = reader.string();
88607
+ message.posterImageUrl = $root.PosterImageUrl.decode(reader, reader.uint32());
88608
88608
  break;
88609
88609
  case 8:
88610
88610
  message.venueId = reader.string();
@@ -88786,9 +88786,11 @@ $root.Event = (function() {
88786
88786
  if (message.description != null && message.hasOwnProperty("description"))
88787
88787
  if (!$util.isString(message.description))
88788
88788
  return "description: string expected";
88789
- if (message.posterImageUrl != null && message.hasOwnProperty("posterImageUrl"))
88790
- if (!$util.isString(message.posterImageUrl))
88791
- return "posterImageUrl: string expected";
88789
+ if (message.posterImageUrl != null && message.hasOwnProperty("posterImageUrl")) {
88790
+ var error = $root.PosterImageUrl.verify(message.posterImageUrl);
88791
+ if (error)
88792
+ return "posterImageUrl." + error;
88793
+ }
88792
88794
  if (message.venueId != null && message.hasOwnProperty("venueId"))
88793
88795
  if (!$util.isString(message.venueId))
88794
88796
  return "venueId: string expected";
@@ -88983,8 +88985,11 @@ $root.Event = (function() {
88983
88985
  message.subtitle = String(object.subtitle);
88984
88986
  if (object.description != null)
88985
88987
  message.description = String(object.description);
88986
- if (object.posterImageUrl != null)
88987
- message.posterImageUrl = String(object.posterImageUrl);
88988
+ if (object.posterImageUrl != null) {
88989
+ if (typeof object.posterImageUrl !== "object")
88990
+ throw TypeError(".Event.posterImageUrl: object expected");
88991
+ message.posterImageUrl = $root.PosterImageUrl.fromObject(object.posterImageUrl);
88992
+ }
88988
88993
  if (object.venueId != null)
88989
88994
  message.venueId = String(object.venueId);
88990
88995
  if (object.createdAt != null)
@@ -89168,7 +89173,7 @@ $root.Event = (function() {
89168
89173
  object.name = "";
89169
89174
  object.subtitle = "";
89170
89175
  object.description = "";
89171
- object.posterImageUrl = "";
89176
+ object.posterImageUrl = null;
89172
89177
  object.venueId = "";
89173
89178
  object.createdAt = 0;
89174
89179
  object.publishable = false;
@@ -89212,7 +89217,7 @@ $root.Event = (function() {
89212
89217
  if (message.description != null && message.hasOwnProperty("description"))
89213
89218
  object.description = message.description;
89214
89219
  if (message.posterImageUrl != null && message.hasOwnProperty("posterImageUrl"))
89215
- object.posterImageUrl = message.posterImageUrl;
89220
+ object.posterImageUrl = $root.PosterImageUrl.toObject(message.posterImageUrl, options);
89216
89221
  if (message.venueId != null && message.hasOwnProperty("venueId"))
89217
89222
  object.venueId = message.venueId;
89218
89223
  if (message.createdAt != null && message.hasOwnProperty("createdAt"))
@@ -89340,7 +89345,7 @@ $root.PublicEvent = (function() {
89340
89345
  * @property {string|null} [name] PublicEvent name
89341
89346
  * @property {string|null} [subtitle] PublicEvent subtitle
89342
89347
  * @property {string|null} [description] PublicEvent description
89343
- * @property {string|null} [posterImageUrl] PublicEvent posterImageUrl
89348
+ * @property {IPosterImageUrl|null} [posterImageUrl] PublicEvent posterImageUrl
89344
89349
  * @property {string|null} [venueId] PublicEvent venueId
89345
89350
  * @property {number|null} [createdAt] PublicEvent createdAt
89346
89351
  * @property {boolean|null} [publishable] PublicEvent publishable
@@ -89432,11 +89437,11 @@ $root.PublicEvent = (function() {
89432
89437
 
89433
89438
  /**
89434
89439
  * PublicEvent posterImageUrl.
89435
- * @member {string} posterImageUrl
89440
+ * @member {IPosterImageUrl|null|undefined} posterImageUrl
89436
89441
  * @memberof PublicEvent
89437
89442
  * @instance
89438
89443
  */
89439
- PublicEvent.prototype.posterImageUrl = "";
89444
+ PublicEvent.prototype.posterImageUrl = null;
89440
89445
 
89441
89446
  /**
89442
89447
  * PublicEvent venueId.
@@ -89659,7 +89664,7 @@ $root.PublicEvent = (function() {
89659
89664
  if (message.description != null && Object.hasOwnProperty.call(message, "description"))
89660
89665
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.description);
89661
89666
  if (message.posterImageUrl != null && Object.hasOwnProperty.call(message, "posterImageUrl"))
89662
- writer.uint32(/* id 7, wireType 2 =*/58).string(message.posterImageUrl);
89667
+ $root.PosterImageUrl.encode(message.posterImageUrl, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
89663
89668
  if (message.venueId != null && Object.hasOwnProperty.call(message, "venueId"))
89664
89669
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.venueId);
89665
89670
  if (message.createdAt != null && Object.hasOwnProperty.call(message, "createdAt"))
@@ -89760,7 +89765,7 @@ $root.PublicEvent = (function() {
89760
89765
  message.description = reader.string();
89761
89766
  break;
89762
89767
  case 7:
89763
- message.posterImageUrl = reader.string();
89768
+ message.posterImageUrl = $root.PosterImageUrl.decode(reader, reader.uint32());
89764
89769
  break;
89765
89770
  case 8:
89766
89771
  message.venueId = reader.string();
@@ -89886,9 +89891,11 @@ $root.PublicEvent = (function() {
89886
89891
  if (message.description != null && message.hasOwnProperty("description"))
89887
89892
  if (!$util.isString(message.description))
89888
89893
  return "description: string expected";
89889
- if (message.posterImageUrl != null && message.hasOwnProperty("posterImageUrl"))
89890
- if (!$util.isString(message.posterImageUrl))
89891
- return "posterImageUrl: string expected";
89894
+ if (message.posterImageUrl != null && message.hasOwnProperty("posterImageUrl")) {
89895
+ var error = $root.PosterImageUrl.verify(message.posterImageUrl);
89896
+ if (error)
89897
+ return "posterImageUrl." + error;
89898
+ }
89892
89899
  if (message.venueId != null && message.hasOwnProperty("venueId"))
89893
89900
  if (!$util.isString(message.venueId))
89894
89901
  return "venueId: string expected";
@@ -89995,8 +90002,11 @@ $root.PublicEvent = (function() {
89995
90002
  message.subtitle = String(object.subtitle);
89996
90003
  if (object.description != null)
89997
90004
  message.description = String(object.description);
89998
- if (object.posterImageUrl != null)
89999
- message.posterImageUrl = String(object.posterImageUrl);
90005
+ if (object.posterImageUrl != null) {
90006
+ if (typeof object.posterImageUrl !== "object")
90007
+ throw TypeError(".PublicEvent.posterImageUrl: object expected");
90008
+ message.posterImageUrl = $root.PosterImageUrl.fromObject(object.posterImageUrl);
90009
+ }
90000
90010
  if (object.venueId != null)
90001
90011
  message.venueId = String(object.venueId);
90002
90012
  if (object.createdAt != null)
@@ -90082,7 +90092,7 @@ $root.PublicEvent = (function() {
90082
90092
  object.name = "";
90083
90093
  object.subtitle = "";
90084
90094
  object.description = "";
90085
- object.posterImageUrl = "";
90095
+ object.posterImageUrl = null;
90086
90096
  object.venueId = "";
90087
90097
  object.createdAt = 0;
90088
90098
  object.publishable = false;
@@ -90119,7 +90129,7 @@ $root.PublicEvent = (function() {
90119
90129
  if (message.description != null && message.hasOwnProperty("description"))
90120
90130
  object.description = message.description;
90121
90131
  if (message.posterImageUrl != null && message.hasOwnProperty("posterImageUrl"))
90122
- object.posterImageUrl = message.posterImageUrl;
90132
+ object.posterImageUrl = $root.PosterImageUrl.toObject(message.posterImageUrl, options);
90123
90133
  if (message.venueId != null && message.hasOwnProperty("venueId"))
90124
90134
  object.venueId = message.venueId;
90125
90135
  if (message.createdAt != null && message.hasOwnProperty("createdAt"))
@@ -90496,7 +90506,7 @@ $root.PublicEventDetails = (function() {
90496
90506
  * @property {string|null} [name] PublicEventDetails name
90497
90507
  * @property {string|null} [subtitle] PublicEventDetails subtitle
90498
90508
  * @property {string|null} [description] PublicEventDetails description
90499
- * @property {string|null} [posterImageUrl] PublicEventDetails posterImageUrl
90509
+ * @property {IPosterImageUrl|null} [posterImageUrl] PublicEventDetails posterImageUrl
90500
90510
  * @property {string|null} [venueId] PublicEventDetails venueId
90501
90511
  * @property {number|null} [createdAt] PublicEventDetails createdAt
90502
90512
  * @property {boolean|null} [publishable] PublicEventDetails publishable
@@ -90588,11 +90598,11 @@ $root.PublicEventDetails = (function() {
90588
90598
 
90589
90599
  /**
90590
90600
  * PublicEventDetails posterImageUrl.
90591
- * @member {string} posterImageUrl
90601
+ * @member {IPosterImageUrl|null|undefined} posterImageUrl
90592
90602
  * @memberof PublicEventDetails
90593
90603
  * @instance
90594
90604
  */
90595
- PublicEventDetails.prototype.posterImageUrl = "";
90605
+ PublicEventDetails.prototype.posterImageUrl = null;
90596
90606
 
90597
90607
  /**
90598
90608
  * PublicEventDetails venueId.
@@ -90815,7 +90825,7 @@ $root.PublicEventDetails = (function() {
90815
90825
  if (message.description != null && Object.hasOwnProperty.call(message, "description"))
90816
90826
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.description);
90817
90827
  if (message.posterImageUrl != null && Object.hasOwnProperty.call(message, "posterImageUrl"))
90818
- writer.uint32(/* id 7, wireType 2 =*/58).string(message.posterImageUrl);
90828
+ $root.PosterImageUrl.encode(message.posterImageUrl, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
90819
90829
  if (message.venueId != null && Object.hasOwnProperty.call(message, "venueId"))
90820
90830
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.venueId);
90821
90831
  if (message.createdAt != null && Object.hasOwnProperty.call(message, "createdAt"))
@@ -90916,7 +90926,7 @@ $root.PublicEventDetails = (function() {
90916
90926
  message.description = reader.string();
90917
90927
  break;
90918
90928
  case 7:
90919
- message.posterImageUrl = reader.string();
90929
+ message.posterImageUrl = $root.PosterImageUrl.decode(reader, reader.uint32());
90920
90930
  break;
90921
90931
  case 8:
90922
90932
  message.venueId = reader.string();
@@ -91042,9 +91052,11 @@ $root.PublicEventDetails = (function() {
91042
91052
  if (message.description != null && message.hasOwnProperty("description"))
91043
91053
  if (!$util.isString(message.description))
91044
91054
  return "description: string expected";
91045
- if (message.posterImageUrl != null && message.hasOwnProperty("posterImageUrl"))
91046
- if (!$util.isString(message.posterImageUrl))
91047
- return "posterImageUrl: string expected";
91055
+ if (message.posterImageUrl != null && message.hasOwnProperty("posterImageUrl")) {
91056
+ var error = $root.PosterImageUrl.verify(message.posterImageUrl);
91057
+ if (error)
91058
+ return "posterImageUrl." + error;
91059
+ }
91048
91060
  if (message.venueId != null && message.hasOwnProperty("venueId"))
91049
91061
  if (!$util.isString(message.venueId))
91050
91062
  return "venueId: string expected";
@@ -91155,8 +91167,11 @@ $root.PublicEventDetails = (function() {
91155
91167
  message.subtitle = String(object.subtitle);
91156
91168
  if (object.description != null)
91157
91169
  message.description = String(object.description);
91158
- if (object.posterImageUrl != null)
91159
- message.posterImageUrl = String(object.posterImageUrl);
91170
+ if (object.posterImageUrl != null) {
91171
+ if (typeof object.posterImageUrl !== "object")
91172
+ throw TypeError(".PublicEventDetails.posterImageUrl: object expected");
91173
+ message.posterImageUrl = $root.PosterImageUrl.fromObject(object.posterImageUrl);
91174
+ }
91160
91175
  if (object.venueId != null)
91161
91176
  message.venueId = String(object.venueId);
91162
91177
  if (object.createdAt != null)
@@ -91248,7 +91263,7 @@ $root.PublicEventDetails = (function() {
91248
91263
  object.name = "";
91249
91264
  object.subtitle = "";
91250
91265
  object.description = "";
91251
- object.posterImageUrl = "";
91266
+ object.posterImageUrl = null;
91252
91267
  object.venueId = "";
91253
91268
  object.createdAt = 0;
91254
91269
  object.publishable = false;
@@ -91285,7 +91300,7 @@ $root.PublicEventDetails = (function() {
91285
91300
  if (message.description != null && message.hasOwnProperty("description"))
91286
91301
  object.description = message.description;
91287
91302
  if (message.posterImageUrl != null && message.hasOwnProperty("posterImageUrl"))
91288
- object.posterImageUrl = message.posterImageUrl;
91303
+ object.posterImageUrl = $root.PosterImageUrl.toObject(message.posterImageUrl, options);
91289
91304
  if (message.venueId != null && message.hasOwnProperty("venueId"))
91290
91305
  object.venueId = message.venueId;
91291
91306
  if (message.createdAt != null && message.hasOwnProperty("createdAt"))
@@ -113351,6 +113366,238 @@ $root.ClearExpiredEventQrCodesResponse = (function() {
113351
113366
  return ClearExpiredEventQrCodesResponse;
113352
113367
  })();
113353
113368
 
113369
+ $root.PosterImageUrl = (function() {
113370
+
113371
+ /**
113372
+ * Properties of a PosterImageUrl.
113373
+ * @exports IPosterImageUrl
113374
+ * @interface IPosterImageUrl
113375
+ * @property {string|null} [original] PosterImageUrl original
113376
+ * @property {string|null} [medium] PosterImageUrl medium
113377
+ * @property {string|null} [small] PosterImageUrl small
113378
+ */
113379
+
113380
+ /**
113381
+ * Constructs a new PosterImageUrl.
113382
+ * @exports PosterImageUrl
113383
+ * @classdesc Represents a PosterImageUrl.
113384
+ * @implements IPosterImageUrl
113385
+ * @constructor
113386
+ * @param {IPosterImageUrl=} [properties] Properties to set
113387
+ */
113388
+ function PosterImageUrl(properties) {
113389
+ if (properties)
113390
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
113391
+ if (properties[keys[i]] != null)
113392
+ this[keys[i]] = properties[keys[i]];
113393
+ }
113394
+
113395
+ /**
113396
+ * PosterImageUrl original.
113397
+ * @member {string} original
113398
+ * @memberof PosterImageUrl
113399
+ * @instance
113400
+ */
113401
+ PosterImageUrl.prototype.original = "";
113402
+
113403
+ /**
113404
+ * PosterImageUrl medium.
113405
+ * @member {string} medium
113406
+ * @memberof PosterImageUrl
113407
+ * @instance
113408
+ */
113409
+ PosterImageUrl.prototype.medium = "";
113410
+
113411
+ /**
113412
+ * PosterImageUrl small.
113413
+ * @member {string} small
113414
+ * @memberof PosterImageUrl
113415
+ * @instance
113416
+ */
113417
+ PosterImageUrl.prototype.small = "";
113418
+
113419
+ /**
113420
+ * Creates a new PosterImageUrl instance using the specified properties.
113421
+ * @function create
113422
+ * @memberof PosterImageUrl
113423
+ * @static
113424
+ * @param {IPosterImageUrl=} [properties] Properties to set
113425
+ * @returns {PosterImageUrl} PosterImageUrl instance
113426
+ */
113427
+ PosterImageUrl.create = function create(properties) {
113428
+ return new PosterImageUrl(properties);
113429
+ };
113430
+
113431
+ /**
113432
+ * Encodes the specified PosterImageUrl message. Does not implicitly {@link PosterImageUrl.verify|verify} messages.
113433
+ * @function encode
113434
+ * @memberof PosterImageUrl
113435
+ * @static
113436
+ * @param {IPosterImageUrl} message PosterImageUrl message or plain object to encode
113437
+ * @param {$protobuf.Writer} [writer] Writer to encode to
113438
+ * @returns {$protobuf.Writer} Writer
113439
+ */
113440
+ PosterImageUrl.encode = function encode(message, writer) {
113441
+ if (!writer)
113442
+ writer = $Writer.create();
113443
+ if (message.original != null && Object.hasOwnProperty.call(message, "original"))
113444
+ writer.uint32(/* id 0, wireType 2 =*/2).string(message.original);
113445
+ if (message.medium != null && Object.hasOwnProperty.call(message, "medium"))
113446
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.medium);
113447
+ if (message.small != null && Object.hasOwnProperty.call(message, "small"))
113448
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.small);
113449
+ return writer;
113450
+ };
113451
+
113452
+ /**
113453
+ * Encodes the specified PosterImageUrl message, length delimited. Does not implicitly {@link PosterImageUrl.verify|verify} messages.
113454
+ * @function encodeDelimited
113455
+ * @memberof PosterImageUrl
113456
+ * @static
113457
+ * @param {IPosterImageUrl} message PosterImageUrl message or plain object to encode
113458
+ * @param {$protobuf.Writer} [writer] Writer to encode to
113459
+ * @returns {$protobuf.Writer} Writer
113460
+ */
113461
+ PosterImageUrl.encodeDelimited = function encodeDelimited(message, writer) {
113462
+ return this.encode(message, writer).ldelim();
113463
+ };
113464
+
113465
+ /**
113466
+ * Decodes a PosterImageUrl message from the specified reader or buffer.
113467
+ * @function decode
113468
+ * @memberof PosterImageUrl
113469
+ * @static
113470
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
113471
+ * @param {number} [length] Message length if known beforehand
113472
+ * @returns {PosterImageUrl} PosterImageUrl
113473
+ * @throws {Error} If the payload is not a reader or valid buffer
113474
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
113475
+ */
113476
+ PosterImageUrl.decode = function decode(reader, length) {
113477
+ if (!(reader instanceof $Reader))
113478
+ reader = $Reader.create(reader);
113479
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.PosterImageUrl();
113480
+ while (reader.pos < end) {
113481
+ var tag = reader.uint32();
113482
+ switch (tag >>> 3) {
113483
+ case 0:
113484
+ message.original = reader.string();
113485
+ break;
113486
+ case 1:
113487
+ message.medium = reader.string();
113488
+ break;
113489
+ case 2:
113490
+ message.small = reader.string();
113491
+ break;
113492
+ default:
113493
+ reader.skipType(tag & 7);
113494
+ break;
113495
+ }
113496
+ }
113497
+ return message;
113498
+ };
113499
+
113500
+ /**
113501
+ * Decodes a PosterImageUrl message from the specified reader or buffer, length delimited.
113502
+ * @function decodeDelimited
113503
+ * @memberof PosterImageUrl
113504
+ * @static
113505
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
113506
+ * @returns {PosterImageUrl} PosterImageUrl
113507
+ * @throws {Error} If the payload is not a reader or valid buffer
113508
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
113509
+ */
113510
+ PosterImageUrl.decodeDelimited = function decodeDelimited(reader) {
113511
+ if (!(reader instanceof $Reader))
113512
+ reader = new $Reader(reader);
113513
+ return this.decode(reader, reader.uint32());
113514
+ };
113515
+
113516
+ /**
113517
+ * Verifies a PosterImageUrl message.
113518
+ * @function verify
113519
+ * @memberof PosterImageUrl
113520
+ * @static
113521
+ * @param {Object.<string,*>} message Plain object to verify
113522
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
113523
+ */
113524
+ PosterImageUrl.verify = function verify(message) {
113525
+ if (typeof message !== "object" || message === null)
113526
+ return "object expected";
113527
+ if (message.original != null && message.hasOwnProperty("original"))
113528
+ if (!$util.isString(message.original))
113529
+ return "original: string expected";
113530
+ if (message.medium != null && message.hasOwnProperty("medium"))
113531
+ if (!$util.isString(message.medium))
113532
+ return "medium: string expected";
113533
+ if (message.small != null && message.hasOwnProperty("small"))
113534
+ if (!$util.isString(message.small))
113535
+ return "small: string expected";
113536
+ return null;
113537
+ };
113538
+
113539
+ /**
113540
+ * Creates a PosterImageUrl message from a plain object. Also converts values to their respective internal types.
113541
+ * @function fromObject
113542
+ * @memberof PosterImageUrl
113543
+ * @static
113544
+ * @param {Object.<string,*>} object Plain object
113545
+ * @returns {PosterImageUrl} PosterImageUrl
113546
+ */
113547
+ PosterImageUrl.fromObject = function fromObject(object) {
113548
+ if (object instanceof $root.PosterImageUrl)
113549
+ return object;
113550
+ var message = new $root.PosterImageUrl();
113551
+ if (object.original != null)
113552
+ message.original = String(object.original);
113553
+ if (object.medium != null)
113554
+ message.medium = String(object.medium);
113555
+ if (object.small != null)
113556
+ message.small = String(object.small);
113557
+ return message;
113558
+ };
113559
+
113560
+ /**
113561
+ * Creates a plain object from a PosterImageUrl message. Also converts values to other types if specified.
113562
+ * @function toObject
113563
+ * @memberof PosterImageUrl
113564
+ * @static
113565
+ * @param {PosterImageUrl} message PosterImageUrl
113566
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
113567
+ * @returns {Object.<string,*>} Plain object
113568
+ */
113569
+ PosterImageUrl.toObject = function toObject(message, options) {
113570
+ if (!options)
113571
+ options = {};
113572
+ var object = {};
113573
+ if (options.defaults) {
113574
+ object.original = "";
113575
+ object.medium = "";
113576
+ object.small = "";
113577
+ }
113578
+ if (message.original != null && message.hasOwnProperty("original"))
113579
+ object.original = message.original;
113580
+ if (message.medium != null && message.hasOwnProperty("medium"))
113581
+ object.medium = message.medium;
113582
+ if (message.small != null && message.hasOwnProperty("small"))
113583
+ object.small = message.small;
113584
+ return object;
113585
+ };
113586
+
113587
+ /**
113588
+ * Converts this PosterImageUrl to JSON.
113589
+ * @function toJSON
113590
+ * @memberof PosterImageUrl
113591
+ * @instance
113592
+ * @returns {Object.<string,*>} JSON object
113593
+ */
113594
+ PosterImageUrl.prototype.toJSON = function toJSON() {
113595
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
113596
+ };
113597
+
113598
+ return PosterImageUrl;
113599
+ })();
113600
+
113354
113601
  $root.EventService = (function() {
113355
113602
 
113356
113603
  /**
@@ -114307,6 +114554,39 @@ $root.EventService = (function() {
114307
114554
  * @variation 2
114308
114555
  */
114309
114556
 
114557
+ /**
114558
+ * Callback as used by {@link EventService#queryEventsAdmin}.
114559
+ * @memberof EventService
114560
+ * @typedef queryEventsAdminCallback
114561
+ * @type {function}
114562
+ * @param {Error|null} error Error, if any
114563
+ * @param {QueryEventsResponse} [response] QueryEventsResponse
114564
+ */
114565
+
114566
+ /**
114567
+ * Calls queryEventsAdmin.
114568
+ * @function queryEventsAdmin
114569
+ * @memberof EventService
114570
+ * @instance
114571
+ * @param {IQueryEventsRequest} request QueryEventsRequest message or plain object
114572
+ * @param {EventService.queryEventsAdminCallback} callback Node-style callback called with the error, if any, and QueryEventsResponse
114573
+ * @returns {undefined}
114574
+ * @variation 1
114575
+ */
114576
+ Object.defineProperty(EventService.prototype.queryEventsAdmin = function queryEventsAdmin(request, callback) {
114577
+ return this.rpcCall(queryEventsAdmin, $root.QueryEventsRequest, $root.QueryEventsResponse, request, callback);
114578
+ }, "name", { value: "queryEventsAdmin" });
114579
+
114580
+ /**
114581
+ * Calls queryEventsAdmin.
114582
+ * @function queryEventsAdmin
114583
+ * @memberof EventService
114584
+ * @instance
114585
+ * @param {IQueryEventsRequest} request QueryEventsRequest message or plain object
114586
+ * @returns {Promise<QueryEventsResponse>} Promise
114587
+ * @variation 2
114588
+ */
114589
+
114310
114590
  return EventService;
114311
114591
  })();
114312
114592
 
@@ -128949,6 +129229,7 @@ $root.UploadFileRequest = (function() {
128949
129229
  * @property {Array.<IFile>|null} [files] UploadFileRequest files
128950
129230
  * @property {string|null} [userId] UploadFileRequest userId
128951
129231
  * @property {boolean|null} [gzip] UploadFileRequest gzip
129232
+ * @property {boolean|null} [isMultiImage] UploadFileRequest isMultiImage
128952
129233
  */
128953
129234
 
128954
129235
  /**
@@ -129007,6 +129288,14 @@ $root.UploadFileRequest = (function() {
129007
129288
  */
129008
129289
  UploadFileRequest.prototype.gzip = false;
129009
129290
 
129291
+ /**
129292
+ * UploadFileRequest isMultiImage.
129293
+ * @member {boolean} isMultiImage
129294
+ * @memberof UploadFileRequest
129295
+ * @instance
129296
+ */
129297
+ UploadFileRequest.prototype.isMultiImage = false;
129298
+
129010
129299
  /**
129011
129300
  * Creates a new UploadFileRequest instance using the specified properties.
129012
129301
  * @function create
@@ -129042,6 +129331,8 @@ $root.UploadFileRequest = (function() {
129042
129331
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.userId);
129043
129332
  if (message.gzip != null && Object.hasOwnProperty.call(message, "gzip"))
129044
129333
  writer.uint32(/* id 4, wireType 0 =*/32).bool(message.gzip);
129334
+ if (message.isMultiImage != null && Object.hasOwnProperty.call(message, "isMultiImage"))
129335
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isMultiImage);
129045
129336
  return writer;
129046
129337
  };
129047
129338
 
@@ -129093,6 +129384,9 @@ $root.UploadFileRequest = (function() {
129093
129384
  case 4:
129094
129385
  message.gzip = reader.bool();
129095
129386
  break;
129387
+ case 5:
129388
+ message.isMultiImage = reader.bool();
129389
+ break;
129096
129390
  default:
129097
129391
  reader.skipType(tag & 7);
129098
129392
  break;
@@ -129149,6 +129443,9 @@ $root.UploadFileRequest = (function() {
129149
129443
  if (message.gzip != null && message.hasOwnProperty("gzip"))
129150
129444
  if (typeof message.gzip !== "boolean")
129151
129445
  return "gzip: boolean expected";
129446
+ if (message.isMultiImage != null && message.hasOwnProperty("isMultiImage"))
129447
+ if (typeof message.isMultiImage !== "boolean")
129448
+ return "isMultiImage: boolean expected";
129152
129449
  return null;
129153
129450
  };
129154
129451
 
@@ -129182,6 +129479,8 @@ $root.UploadFileRequest = (function() {
129182
129479
  message.userId = String(object.userId);
129183
129480
  if (object.gzip != null)
129184
129481
  message.gzip = Boolean(object.gzip);
129482
+ if (object.isMultiImage != null)
129483
+ message.isMultiImage = Boolean(object.isMultiImage);
129185
129484
  return message;
129186
129485
  };
129187
129486
 
@@ -129205,6 +129504,7 @@ $root.UploadFileRequest = (function() {
129205
129504
  object.orgId = "";
129206
129505
  object.userId = "";
129207
129506
  object.gzip = false;
129507
+ object.isMultiImage = false;
129208
129508
  }
129209
129509
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
129210
129510
  object.spanContext = message.spanContext;
@@ -129219,6 +129519,8 @@ $root.UploadFileRequest = (function() {
129219
129519
  object.userId = message.userId;
129220
129520
  if (message.gzip != null && message.hasOwnProperty("gzip"))
129221
129521
  object.gzip = message.gzip;
129522
+ if (message.isMultiImage != null && message.hasOwnProperty("isMultiImage"))
129523
+ object.isMultiImage = message.isMultiImage;
129222
129524
  return object;
129223
129525
  };
129224
129526
 
@@ -138702,7 +139004,7 @@ $root.Season = (function() {
138702
139004
  * @property {string|null} [name] Season name
138703
139005
  * @property {string|null} [subtitle] Season subtitle
138704
139006
  * @property {string|null} [description] Season description
138705
- * @property {string|null} [posterImageUrl] Season posterImageUrl
139007
+ * @property {IPosterImageUrl|null} [posterImageUrl] Season posterImageUrl
138706
139008
  * @property {string|null} [venueId] Season venueId
138707
139009
  * @property {number|null} [createdAt] Season createdAt
138708
139010
  * @property {boolean|null} [publishable] Season publishable
@@ -138803,11 +139105,11 @@ $root.Season = (function() {
138803
139105
 
138804
139106
  /**
138805
139107
  * Season posterImageUrl.
138806
- * @member {string} posterImageUrl
139108
+ * @member {IPosterImageUrl|null|undefined} posterImageUrl
138807
139109
  * @memberof Season
138808
139110
  * @instance
138809
139111
  */
138810
- Season.prototype.posterImageUrl = "";
139112
+ Season.prototype.posterImageUrl = null;
138811
139113
 
138812
139114
  /**
138813
139115
  * Season venueId.
@@ -139054,7 +139356,7 @@ $root.Season = (function() {
139054
139356
  if (message.description != null && Object.hasOwnProperty.call(message, "description"))
139055
139357
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.description);
139056
139358
  if (message.posterImageUrl != null && Object.hasOwnProperty.call(message, "posterImageUrl"))
139057
- writer.uint32(/* id 7, wireType 2 =*/58).string(message.posterImageUrl);
139359
+ $root.PosterImageUrl.encode(message.posterImageUrl, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
139058
139360
  if (message.venueId != null && Object.hasOwnProperty.call(message, "venueId"))
139059
139361
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.venueId);
139060
139362
  if (message.createdAt != null && Object.hasOwnProperty.call(message, "createdAt"))
@@ -139167,7 +139469,7 @@ $root.Season = (function() {
139167
139469
  message.description = reader.string();
139168
139470
  break;
139169
139471
  case 7:
139170
- message.posterImageUrl = reader.string();
139472
+ message.posterImageUrl = $root.PosterImageUrl.decode(reader, reader.uint32());
139171
139473
  break;
139172
139474
  case 8:
139173
139475
  message.venueId = reader.string();
@@ -139314,9 +139616,11 @@ $root.Season = (function() {
139314
139616
  if (message.description != null && message.hasOwnProperty("description"))
139315
139617
  if (!$util.isString(message.description))
139316
139618
  return "description: string expected";
139317
- if (message.posterImageUrl != null && message.hasOwnProperty("posterImageUrl"))
139318
- if (!$util.isString(message.posterImageUrl))
139319
- return "posterImageUrl: string expected";
139619
+ if (message.posterImageUrl != null && message.hasOwnProperty("posterImageUrl")) {
139620
+ var error = $root.PosterImageUrl.verify(message.posterImageUrl);
139621
+ if (error)
139622
+ return "posterImageUrl." + error;
139623
+ }
139320
139624
  if (message.venueId != null && message.hasOwnProperty("venueId"))
139321
139625
  if (!$util.isString(message.venueId))
139322
139626
  return "venueId: string expected";
@@ -139470,8 +139774,11 @@ $root.Season = (function() {
139470
139774
  message.subtitle = String(object.subtitle);
139471
139775
  if (object.description != null)
139472
139776
  message.description = String(object.description);
139473
- if (object.posterImageUrl != null)
139474
- message.posterImageUrl = String(object.posterImageUrl);
139777
+ if (object.posterImageUrl != null) {
139778
+ if (typeof object.posterImageUrl !== "object")
139779
+ throw TypeError(".Season.posterImageUrl: object expected");
139780
+ message.posterImageUrl = $root.PosterImageUrl.fromObject(object.posterImageUrl);
139781
+ }
139475
139782
  if (object.venueId != null)
139476
139783
  message.venueId = String(object.venueId);
139477
139784
  if (object.createdAt != null)
@@ -139621,7 +139928,7 @@ $root.Season = (function() {
139621
139928
  object.name = "";
139622
139929
  object.subtitle = "";
139623
139930
  object.description = "";
139624
- object.posterImageUrl = "";
139931
+ object.posterImageUrl = null;
139625
139932
  object.venueId = "";
139626
139933
  object.createdAt = 0;
139627
139934
  object.publishable = false;
@@ -139655,7 +139962,7 @@ $root.Season = (function() {
139655
139962
  if (message.description != null && message.hasOwnProperty("description"))
139656
139963
  object.description = message.description;
139657
139964
  if (message.posterImageUrl != null && message.hasOwnProperty("posterImageUrl"))
139658
- object.posterImageUrl = message.posterImageUrl;
139965
+ object.posterImageUrl = $root.PosterImageUrl.toObject(message.posterImageUrl, options);
139659
139966
  if (message.venueId != null && message.hasOwnProperty("venueId"))
139660
139967
  object.venueId = message.venueId;
139661
139968
  if (message.createdAt != null && message.hasOwnProperty("createdAt"))