@sellout/models 0.0.175 → 0.0.177

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 (33) hide show
  1. package/.dist/graphql/mutations/createEventOrSeasonFee.mutation.d.ts +2 -0
  2. package/.dist/graphql/mutations/createEventOrSeasonFee.mutation.js +31 -0
  3. package/.dist/graphql/mutations/createEventOrSeasonFee.mutation.js.map +1 -0
  4. package/.dist/graphql/mutations/deleteEventOrSeasonFee.mutation.d.ts +2 -0
  5. package/.dist/graphql/mutations/deleteEventOrSeasonFee.mutation.js +13 -0
  6. package/.dist/graphql/mutations/deleteEventOrSeasonFee.mutation.js.map +1 -0
  7. package/.dist/graphql/mutations/multipleBreakApartSeasonOrder.mutation.js +4 -0
  8. package/.dist/graphql/mutations/multipleBreakApartSeasonOrder.mutation.js.map +1 -1
  9. package/.dist/graphql/mutations/updateEventOrSeasonFee.mutation.d.ts +2 -0
  10. package/.dist/graphql/mutations/updateEventOrSeasonFee.mutation.js +31 -0
  11. package/.dist/graphql/mutations/updateEventOrSeasonFee.mutation.js.map +1 -0
  12. package/.dist/graphql/queries/eventFees.query.d.ts +2 -0
  13. package/.dist/graphql/queries/eventFees.query.js +30 -0
  14. package/.dist/graphql/queries/eventFees.query.js.map +1 -0
  15. package/.dist/graphql/queries/season.query.js +1 -0
  16. package/.dist/graphql/queries/season.query.js.map +1 -1
  17. package/.dist/graphql/queries/seasonFees.query.d.ts +2 -0
  18. package/.dist/graphql/queries/seasonFees.query.js +31 -0
  19. package/.dist/graphql/queries/seasonFees.query.js.map +1 -0
  20. package/.dist/graphql/queries/seasons.query.js +1 -0
  21. package/.dist/graphql/queries/seasons.query.js.map +1 -1
  22. package/.dist/sellout-proto.js +1157 -155
  23. package/package.json +3 -3
  24. package/src/graphql/mutations/createEventOrSeasonFee.mutation.ts +27 -0
  25. package/src/graphql/mutations/deleteEventOrSeasonFee.mutation.ts +9 -0
  26. package/src/graphql/mutations/multipleBreakApartSeasonOrder.mutation.ts +4 -0
  27. package/src/graphql/mutations/updateEventOrSeasonFee.mutation.ts +27 -0
  28. package/src/graphql/queries/eventFees.query.ts +26 -0
  29. package/src/graphql/queries/season.query.ts +1 -0
  30. package/src/graphql/queries/seasonFees.query.ts +27 -0
  31. package/src/graphql/queries/seasons.query.ts +1 -0
  32. package/src/proto/fee.proto +21 -0
  33. package/src/proto/order.proto +6 -0
@@ -26811,6 +26811,216 @@ $root.FindOrderByIdRequest = (function() {
26811
26811
  return FindOrderByIdRequest;
26812
26812
  })();
26813
26813
 
26814
+ $root.FindOrderByFeeIdRequest = (function() {
26815
+
26816
+ /**
26817
+ * Properties of a FindOrderByFeeIdRequest.
26818
+ * @exports IFindOrderByFeeIdRequest
26819
+ * @interface IFindOrderByFeeIdRequest
26820
+ * @property {string|null} [spanContext] FindOrderByFeeIdRequest spanContext
26821
+ * @property {string|null} [feeId] FindOrderByFeeIdRequest feeId
26822
+ */
26823
+
26824
+ /**
26825
+ * Constructs a new FindOrderByFeeIdRequest.
26826
+ * @exports FindOrderByFeeIdRequest
26827
+ * @classdesc Represents a FindOrderByFeeIdRequest.
26828
+ * @implements IFindOrderByFeeIdRequest
26829
+ * @constructor
26830
+ * @param {IFindOrderByFeeIdRequest=} [properties] Properties to set
26831
+ */
26832
+ function FindOrderByFeeIdRequest(properties) {
26833
+ if (properties)
26834
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
26835
+ if (properties[keys[i]] != null)
26836
+ this[keys[i]] = properties[keys[i]];
26837
+ }
26838
+
26839
+ /**
26840
+ * FindOrderByFeeIdRequest spanContext.
26841
+ * @member {string} spanContext
26842
+ * @memberof FindOrderByFeeIdRequest
26843
+ * @instance
26844
+ */
26845
+ FindOrderByFeeIdRequest.prototype.spanContext = "";
26846
+
26847
+ /**
26848
+ * FindOrderByFeeIdRequest feeId.
26849
+ * @member {string} feeId
26850
+ * @memberof FindOrderByFeeIdRequest
26851
+ * @instance
26852
+ */
26853
+ FindOrderByFeeIdRequest.prototype.feeId = "";
26854
+
26855
+ /**
26856
+ * Creates a new FindOrderByFeeIdRequest instance using the specified properties.
26857
+ * @function create
26858
+ * @memberof FindOrderByFeeIdRequest
26859
+ * @static
26860
+ * @param {IFindOrderByFeeIdRequest=} [properties] Properties to set
26861
+ * @returns {FindOrderByFeeIdRequest} FindOrderByFeeIdRequest instance
26862
+ */
26863
+ FindOrderByFeeIdRequest.create = function create(properties) {
26864
+ return new FindOrderByFeeIdRequest(properties);
26865
+ };
26866
+
26867
+ /**
26868
+ * Encodes the specified FindOrderByFeeIdRequest message. Does not implicitly {@link FindOrderByFeeIdRequest.verify|verify} messages.
26869
+ * @function encode
26870
+ * @memberof FindOrderByFeeIdRequest
26871
+ * @static
26872
+ * @param {IFindOrderByFeeIdRequest} message FindOrderByFeeIdRequest message or plain object to encode
26873
+ * @param {$protobuf.Writer} [writer] Writer to encode to
26874
+ * @returns {$protobuf.Writer} Writer
26875
+ */
26876
+ FindOrderByFeeIdRequest.encode = function encode(message, writer) {
26877
+ if (!writer)
26878
+ writer = $Writer.create();
26879
+ if (message.spanContext != null && Object.hasOwnProperty.call(message, "spanContext"))
26880
+ writer.uint32(/* id 0, wireType 2 =*/2).string(message.spanContext);
26881
+ if (message.feeId != null && Object.hasOwnProperty.call(message, "feeId"))
26882
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.feeId);
26883
+ return writer;
26884
+ };
26885
+
26886
+ /**
26887
+ * Encodes the specified FindOrderByFeeIdRequest message, length delimited. Does not implicitly {@link FindOrderByFeeIdRequest.verify|verify} messages.
26888
+ * @function encodeDelimited
26889
+ * @memberof FindOrderByFeeIdRequest
26890
+ * @static
26891
+ * @param {IFindOrderByFeeIdRequest} message FindOrderByFeeIdRequest message or plain object to encode
26892
+ * @param {$protobuf.Writer} [writer] Writer to encode to
26893
+ * @returns {$protobuf.Writer} Writer
26894
+ */
26895
+ FindOrderByFeeIdRequest.encodeDelimited = function encodeDelimited(message, writer) {
26896
+ return this.encode(message, writer).ldelim();
26897
+ };
26898
+
26899
+ /**
26900
+ * Decodes a FindOrderByFeeIdRequest message from the specified reader or buffer.
26901
+ * @function decode
26902
+ * @memberof FindOrderByFeeIdRequest
26903
+ * @static
26904
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
26905
+ * @param {number} [length] Message length if known beforehand
26906
+ * @returns {FindOrderByFeeIdRequest} FindOrderByFeeIdRequest
26907
+ * @throws {Error} If the payload is not a reader or valid buffer
26908
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26909
+ */
26910
+ FindOrderByFeeIdRequest.decode = function decode(reader, length) {
26911
+ if (!(reader instanceof $Reader))
26912
+ reader = $Reader.create(reader);
26913
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.FindOrderByFeeIdRequest();
26914
+ while (reader.pos < end) {
26915
+ var tag = reader.uint32();
26916
+ switch (tag >>> 3) {
26917
+ case 0:
26918
+ message.spanContext = reader.string();
26919
+ break;
26920
+ case 1:
26921
+ message.feeId = reader.string();
26922
+ break;
26923
+ default:
26924
+ reader.skipType(tag & 7);
26925
+ break;
26926
+ }
26927
+ }
26928
+ return message;
26929
+ };
26930
+
26931
+ /**
26932
+ * Decodes a FindOrderByFeeIdRequest message from the specified reader or buffer, length delimited.
26933
+ * @function decodeDelimited
26934
+ * @memberof FindOrderByFeeIdRequest
26935
+ * @static
26936
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
26937
+ * @returns {FindOrderByFeeIdRequest} FindOrderByFeeIdRequest
26938
+ * @throws {Error} If the payload is not a reader or valid buffer
26939
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26940
+ */
26941
+ FindOrderByFeeIdRequest.decodeDelimited = function decodeDelimited(reader) {
26942
+ if (!(reader instanceof $Reader))
26943
+ reader = new $Reader(reader);
26944
+ return this.decode(reader, reader.uint32());
26945
+ };
26946
+
26947
+ /**
26948
+ * Verifies a FindOrderByFeeIdRequest message.
26949
+ * @function verify
26950
+ * @memberof FindOrderByFeeIdRequest
26951
+ * @static
26952
+ * @param {Object.<string,*>} message Plain object to verify
26953
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
26954
+ */
26955
+ FindOrderByFeeIdRequest.verify = function verify(message) {
26956
+ if (typeof message !== "object" || message === null)
26957
+ return "object expected";
26958
+ if (message.spanContext != null && message.hasOwnProperty("spanContext"))
26959
+ if (!$util.isString(message.spanContext))
26960
+ return "spanContext: string expected";
26961
+ if (message.feeId != null && message.hasOwnProperty("feeId"))
26962
+ if (!$util.isString(message.feeId))
26963
+ return "feeId: string expected";
26964
+ return null;
26965
+ };
26966
+
26967
+ /**
26968
+ * Creates a FindOrderByFeeIdRequest message from a plain object. Also converts values to their respective internal types.
26969
+ * @function fromObject
26970
+ * @memberof FindOrderByFeeIdRequest
26971
+ * @static
26972
+ * @param {Object.<string,*>} object Plain object
26973
+ * @returns {FindOrderByFeeIdRequest} FindOrderByFeeIdRequest
26974
+ */
26975
+ FindOrderByFeeIdRequest.fromObject = function fromObject(object) {
26976
+ if (object instanceof $root.FindOrderByFeeIdRequest)
26977
+ return object;
26978
+ var message = new $root.FindOrderByFeeIdRequest();
26979
+ if (object.spanContext != null)
26980
+ message.spanContext = String(object.spanContext);
26981
+ if (object.feeId != null)
26982
+ message.feeId = String(object.feeId);
26983
+ return message;
26984
+ };
26985
+
26986
+ /**
26987
+ * Creates a plain object from a FindOrderByFeeIdRequest message. Also converts values to other types if specified.
26988
+ * @function toObject
26989
+ * @memberof FindOrderByFeeIdRequest
26990
+ * @static
26991
+ * @param {FindOrderByFeeIdRequest} message FindOrderByFeeIdRequest
26992
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
26993
+ * @returns {Object.<string,*>} Plain object
26994
+ */
26995
+ FindOrderByFeeIdRequest.toObject = function toObject(message, options) {
26996
+ if (!options)
26997
+ options = {};
26998
+ var object = {};
26999
+ if (options.defaults) {
27000
+ object.spanContext = "";
27001
+ object.feeId = "";
27002
+ }
27003
+ if (message.spanContext != null && message.hasOwnProperty("spanContext"))
27004
+ object.spanContext = message.spanContext;
27005
+ if (message.feeId != null && message.hasOwnProperty("feeId"))
27006
+ object.feeId = message.feeId;
27007
+ return object;
27008
+ };
27009
+
27010
+ /**
27011
+ * Converts this FindOrderByFeeIdRequest to JSON.
27012
+ * @function toJSON
27013
+ * @memberof FindOrderByFeeIdRequest
27014
+ * @instance
27015
+ * @returns {Object.<string,*>} JSON object
27016
+ */
27017
+ FindOrderByFeeIdRequest.prototype.toJSON = function toJSON() {
27018
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
27019
+ };
27020
+
27021
+ return FindOrderByFeeIdRequest;
27022
+ })();
27023
+
26814
27024
  $root.FindOrderByIdResponse = (function() {
26815
27025
 
26816
27026
  /**
@@ -32787,6 +32997,39 @@ $root.OrderService = (function() {
32787
32997
  * @variation 2
32788
32998
  */
32789
32999
 
33000
+ /**
33001
+ * Callback as used by {@link OrderService#findOrderByFeeId}.
33002
+ * @memberof OrderService
33003
+ * @typedef findOrderByFeeIdCallback
33004
+ * @type {function}
33005
+ * @param {Error|null} error Error, if any
33006
+ * @param {FindOrderByIdResponse} [response] FindOrderByIdResponse
33007
+ */
33008
+
33009
+ /**
33010
+ * Calls findOrderByFeeId.
33011
+ * @function findOrderByFeeId
33012
+ * @memberof OrderService
33013
+ * @instance
33014
+ * @param {IFindOrderByFeeIdRequest} request FindOrderByFeeIdRequest message or plain object
33015
+ * @param {OrderService.findOrderByFeeIdCallback} callback Node-style callback called with the error, if any, and FindOrderByIdResponse
33016
+ * @returns {undefined}
33017
+ * @variation 1
33018
+ */
33019
+ Object.defineProperty(OrderService.prototype.findOrderByFeeId = function findOrderByFeeId(request, callback) {
33020
+ return this.rpcCall(findOrderByFeeId, $root.FindOrderByFeeIdRequest, $root.FindOrderByIdResponse, request, callback);
33021
+ }, "name", { value: "findOrderByFeeId" });
33022
+
33023
+ /**
33024
+ * Calls findOrderByFeeId.
33025
+ * @function findOrderByFeeId
33026
+ * @memberof OrderService
33027
+ * @instance
33028
+ * @param {IFindOrderByFeeIdRequest} request FindOrderByFeeIdRequest message or plain object
33029
+ * @returns {Promise<FindOrderByIdResponse>} Promise
33030
+ * @variation 2
33031
+ */
33032
+
32790
33033
  /**
32791
33034
  * Callback as used by {@link OrderService#findOrderByEmail}.
32792
33035
  * @memberof OrderService
@@ -63774,6 +64017,8 @@ $root.CreateFeeRequest = (function() {
63774
64017
  * @property {string|null} [orgId] CreateFeeRequest orgId
63775
64018
  * @property {string|null} [requestorId] CreateFeeRequest requestorId
63776
64019
  * @property {IFee|null} [fee] CreateFeeRequest fee
64020
+ * @property {string|null} [eventId] CreateFeeRequest eventId
64021
+ * @property {string|null} [seasonId] CreateFeeRequest seasonId
63777
64022
  */
63778
64023
 
63779
64024
  /**
@@ -63823,6 +64068,22 @@ $root.CreateFeeRequest = (function() {
63823
64068
  */
63824
64069
  CreateFeeRequest.prototype.fee = null;
63825
64070
 
64071
+ /**
64072
+ * CreateFeeRequest eventId.
64073
+ * @member {string} eventId
64074
+ * @memberof CreateFeeRequest
64075
+ * @instance
64076
+ */
64077
+ CreateFeeRequest.prototype.eventId = "";
64078
+
64079
+ /**
64080
+ * CreateFeeRequest seasonId.
64081
+ * @member {string} seasonId
64082
+ * @memberof CreateFeeRequest
64083
+ * @instance
64084
+ */
64085
+ CreateFeeRequest.prototype.seasonId = "";
64086
+
63826
64087
  /**
63827
64088
  * Creates a new CreateFeeRequest instance using the specified properties.
63828
64089
  * @function create
@@ -63855,6 +64116,10 @@ $root.CreateFeeRequest = (function() {
63855
64116
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.requestorId);
63856
64117
  if (message.fee != null && Object.hasOwnProperty.call(message, "fee"))
63857
64118
  $root.Fee.encode(message.fee, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
64119
+ if (message.eventId != null && Object.hasOwnProperty.call(message, "eventId"))
64120
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.eventId);
64121
+ if (message.seasonId != null && Object.hasOwnProperty.call(message, "seasonId"))
64122
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.seasonId);
63858
64123
  return writer;
63859
64124
  };
63860
64125
 
@@ -63901,6 +64166,12 @@ $root.CreateFeeRequest = (function() {
63901
64166
  case 3:
63902
64167
  message.fee = $root.Fee.decode(reader, reader.uint32());
63903
64168
  break;
64169
+ case 4:
64170
+ message.eventId = reader.string();
64171
+ break;
64172
+ case 5:
64173
+ message.seasonId = reader.string();
64174
+ break;
63904
64175
  default:
63905
64176
  reader.skipType(tag & 7);
63906
64177
  break;
@@ -63950,6 +64221,12 @@ $root.CreateFeeRequest = (function() {
63950
64221
  if (error)
63951
64222
  return "fee." + error;
63952
64223
  }
64224
+ if (message.eventId != null && message.hasOwnProperty("eventId"))
64225
+ if (!$util.isString(message.eventId))
64226
+ return "eventId: string expected";
64227
+ if (message.seasonId != null && message.hasOwnProperty("seasonId"))
64228
+ if (!$util.isString(message.seasonId))
64229
+ return "seasonId: string expected";
63953
64230
  return null;
63954
64231
  };
63955
64232
 
@@ -63976,6 +64253,10 @@ $root.CreateFeeRequest = (function() {
63976
64253
  throw TypeError(".CreateFeeRequest.fee: object expected");
63977
64254
  message.fee = $root.Fee.fromObject(object.fee);
63978
64255
  }
64256
+ if (object.eventId != null)
64257
+ message.eventId = String(object.eventId);
64258
+ if (object.seasonId != null)
64259
+ message.seasonId = String(object.seasonId);
63979
64260
  return message;
63980
64261
  };
63981
64262
 
@@ -63997,6 +64278,8 @@ $root.CreateFeeRequest = (function() {
63997
64278
  object.orgId = "";
63998
64279
  object.requestorId = "";
63999
64280
  object.fee = null;
64281
+ object.eventId = "";
64282
+ object.seasonId = "";
64000
64283
  }
64001
64284
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
64002
64285
  object.spanContext = message.spanContext;
@@ -64006,6 +64289,10 @@ $root.CreateFeeRequest = (function() {
64006
64289
  object.requestorId = message.requestorId;
64007
64290
  if (message.fee != null && message.hasOwnProperty("fee"))
64008
64291
  object.fee = $root.Fee.toObject(message.fee, options);
64292
+ if (message.eventId != null && message.hasOwnProperty("eventId"))
64293
+ object.eventId = message.eventId;
64294
+ if (message.seasonId != null && message.hasOwnProperty("seasonId"))
64295
+ object.seasonId = message.seasonId;
64009
64296
  return object;
64010
64297
  };
64011
64298
 
@@ -64335,6 +64622,8 @@ $root.UpdateFeeRequest = (function() {
64335
64622
  * @property {string|null} [orgId] UpdateFeeRequest orgId
64336
64623
  * @property {string|null} [requestorId] UpdateFeeRequest requestorId
64337
64624
  * @property {IFee|null} [fee] UpdateFeeRequest fee
64625
+ * @property {string|null} [eventId] UpdateFeeRequest eventId
64626
+ * @property {string|null} [seasonId] UpdateFeeRequest seasonId
64338
64627
  */
64339
64628
 
64340
64629
  /**
@@ -64384,6 +64673,22 @@ $root.UpdateFeeRequest = (function() {
64384
64673
  */
64385
64674
  UpdateFeeRequest.prototype.fee = null;
64386
64675
 
64676
+ /**
64677
+ * UpdateFeeRequest eventId.
64678
+ * @member {string} eventId
64679
+ * @memberof UpdateFeeRequest
64680
+ * @instance
64681
+ */
64682
+ UpdateFeeRequest.prototype.eventId = "";
64683
+
64684
+ /**
64685
+ * UpdateFeeRequest seasonId.
64686
+ * @member {string} seasonId
64687
+ * @memberof UpdateFeeRequest
64688
+ * @instance
64689
+ */
64690
+ UpdateFeeRequest.prototype.seasonId = "";
64691
+
64387
64692
  /**
64388
64693
  * Creates a new UpdateFeeRequest instance using the specified properties.
64389
64694
  * @function create
@@ -64416,6 +64721,10 @@ $root.UpdateFeeRequest = (function() {
64416
64721
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.requestorId);
64417
64722
  if (message.fee != null && Object.hasOwnProperty.call(message, "fee"))
64418
64723
  $root.Fee.encode(message.fee, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
64724
+ if (message.eventId != null && Object.hasOwnProperty.call(message, "eventId"))
64725
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.eventId);
64726
+ if (message.seasonId != null && Object.hasOwnProperty.call(message, "seasonId"))
64727
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.seasonId);
64419
64728
  return writer;
64420
64729
  };
64421
64730
 
@@ -64462,6 +64771,12 @@ $root.UpdateFeeRequest = (function() {
64462
64771
  case 3:
64463
64772
  message.fee = $root.Fee.decode(reader, reader.uint32());
64464
64773
  break;
64774
+ case 4:
64775
+ message.eventId = reader.string();
64776
+ break;
64777
+ case 5:
64778
+ message.seasonId = reader.string();
64779
+ break;
64465
64780
  default:
64466
64781
  reader.skipType(tag & 7);
64467
64782
  break;
@@ -64511,6 +64826,12 @@ $root.UpdateFeeRequest = (function() {
64511
64826
  if (error)
64512
64827
  return "fee." + error;
64513
64828
  }
64829
+ if (message.eventId != null && message.hasOwnProperty("eventId"))
64830
+ if (!$util.isString(message.eventId))
64831
+ return "eventId: string expected";
64832
+ if (message.seasonId != null && message.hasOwnProperty("seasonId"))
64833
+ if (!$util.isString(message.seasonId))
64834
+ return "seasonId: string expected";
64514
64835
  return null;
64515
64836
  };
64516
64837
 
@@ -64537,6 +64858,10 @@ $root.UpdateFeeRequest = (function() {
64537
64858
  throw TypeError(".UpdateFeeRequest.fee: object expected");
64538
64859
  message.fee = $root.Fee.fromObject(object.fee);
64539
64860
  }
64861
+ if (object.eventId != null)
64862
+ message.eventId = String(object.eventId);
64863
+ if (object.seasonId != null)
64864
+ message.seasonId = String(object.seasonId);
64540
64865
  return message;
64541
64866
  };
64542
64867
 
@@ -64558,6 +64883,8 @@ $root.UpdateFeeRequest = (function() {
64558
64883
  object.orgId = "";
64559
64884
  object.requestorId = "";
64560
64885
  object.fee = null;
64886
+ object.eventId = "";
64887
+ object.seasonId = "";
64561
64888
  }
64562
64889
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
64563
64890
  object.spanContext = message.spanContext;
@@ -64567,6 +64894,10 @@ $root.UpdateFeeRequest = (function() {
64567
64894
  object.requestorId = message.requestorId;
64568
64895
  if (message.fee != null && message.hasOwnProperty("fee"))
64569
64896
  object.fee = $root.Fee.toObject(message.fee, options);
64897
+ if (message.eventId != null && message.hasOwnProperty("eventId"))
64898
+ object.eventId = message.eventId;
64899
+ if (message.seasonId != null && message.hasOwnProperty("seasonId"))
64900
+ object.seasonId = message.seasonId;
64570
64901
  return object;
64571
64902
  };
64572
64903
 
@@ -69220,41 +69551,549 @@ $root.DisableFeeResponse = (function() {
69220
69551
  }
69221
69552
  if (object.errors) {
69222
69553
  if (!Array.isArray(object.errors))
69223
- throw TypeError(".DisableFeeResponse.errors: array expected");
69554
+ throw TypeError(".DisableFeeResponse.errors: array expected");
69555
+ message.errors = [];
69556
+ for (var i = 0; i < object.errors.length; ++i) {
69557
+ if (typeof object.errors[i] !== "object")
69558
+ throw TypeError(".DisableFeeResponse.errors: object expected");
69559
+ message.errors[i] = $root.Error.fromObject(object.errors[i]);
69560
+ }
69561
+ }
69562
+ if (object.fee != null) {
69563
+ if (typeof object.fee !== "object")
69564
+ throw TypeError(".DisableFeeResponse.fee: object expected");
69565
+ message.fee = $root.Fee.fromObject(object.fee);
69566
+ }
69567
+ return message;
69568
+ };
69569
+
69570
+ /**
69571
+ * Creates a plain object from a DisableFeeResponse message. Also converts values to other types if specified.
69572
+ * @function toObject
69573
+ * @memberof DisableFeeResponse
69574
+ * @static
69575
+ * @param {DisableFeeResponse} message DisableFeeResponse
69576
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
69577
+ * @returns {Object.<string,*>} Plain object
69578
+ */
69579
+ DisableFeeResponse.toObject = function toObject(message, options) {
69580
+ if (!options)
69581
+ options = {};
69582
+ var object = {};
69583
+ if (options.arrays || options.defaults)
69584
+ object.errors = [];
69585
+ if (options.defaults) {
69586
+ object.status = options.enums === String ? "UNKNOWN_CODE" : 0;
69587
+ object.fee = null;
69588
+ }
69589
+ if (message.status != null && message.hasOwnProperty("status"))
69590
+ object.status = options.enums === String ? $root.StatusCode[message.status] : message.status;
69591
+ if (message.errors && message.errors.length) {
69592
+ object.errors = [];
69593
+ for (var j = 0; j < message.errors.length; ++j)
69594
+ object.errors[j] = $root.Error.toObject(message.errors[j], options);
69595
+ }
69596
+ if (message.fee != null && message.hasOwnProperty("fee"))
69597
+ object.fee = $root.Fee.toObject(message.fee, options);
69598
+ return object;
69599
+ };
69600
+
69601
+ /**
69602
+ * Converts this DisableFeeResponse to JSON.
69603
+ * @function toJSON
69604
+ * @memberof DisableFeeResponse
69605
+ * @instance
69606
+ * @returns {Object.<string,*>} JSON object
69607
+ */
69608
+ DisableFeeResponse.prototype.toJSON = function toJSON() {
69609
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
69610
+ };
69611
+
69612
+ return DisableFeeResponse;
69613
+ })();
69614
+
69615
+ $root.DeleteOrganizationFeeRequest = (function() {
69616
+
69617
+ /**
69618
+ * Properties of a DeleteOrganizationFeeRequest.
69619
+ * @exports IDeleteOrganizationFeeRequest
69620
+ * @interface IDeleteOrganizationFeeRequest
69621
+ * @property {string|null} [spanContext] DeleteOrganizationFeeRequest spanContext
69622
+ * @property {string|null} [orgId] DeleteOrganizationFeeRequest orgId
69623
+ * @property {string|null} [feeId] DeleteOrganizationFeeRequest feeId
69624
+ */
69625
+
69626
+ /**
69627
+ * Constructs a new DeleteOrganizationFeeRequest.
69628
+ * @exports DeleteOrganizationFeeRequest
69629
+ * @classdesc Represents a DeleteOrganizationFeeRequest.
69630
+ * @implements IDeleteOrganizationFeeRequest
69631
+ * @constructor
69632
+ * @param {IDeleteOrganizationFeeRequest=} [properties] Properties to set
69633
+ */
69634
+ function DeleteOrganizationFeeRequest(properties) {
69635
+ if (properties)
69636
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
69637
+ if (properties[keys[i]] != null)
69638
+ this[keys[i]] = properties[keys[i]];
69639
+ }
69640
+
69641
+ /**
69642
+ * DeleteOrganizationFeeRequest spanContext.
69643
+ * @member {string} spanContext
69644
+ * @memberof DeleteOrganizationFeeRequest
69645
+ * @instance
69646
+ */
69647
+ DeleteOrganizationFeeRequest.prototype.spanContext = "";
69648
+
69649
+ /**
69650
+ * DeleteOrganizationFeeRequest orgId.
69651
+ * @member {string} orgId
69652
+ * @memberof DeleteOrganizationFeeRequest
69653
+ * @instance
69654
+ */
69655
+ DeleteOrganizationFeeRequest.prototype.orgId = "";
69656
+
69657
+ /**
69658
+ * DeleteOrganizationFeeRequest feeId.
69659
+ * @member {string} feeId
69660
+ * @memberof DeleteOrganizationFeeRequest
69661
+ * @instance
69662
+ */
69663
+ DeleteOrganizationFeeRequest.prototype.feeId = "";
69664
+
69665
+ /**
69666
+ * Creates a new DeleteOrganizationFeeRequest instance using the specified properties.
69667
+ * @function create
69668
+ * @memberof DeleteOrganizationFeeRequest
69669
+ * @static
69670
+ * @param {IDeleteOrganizationFeeRequest=} [properties] Properties to set
69671
+ * @returns {DeleteOrganizationFeeRequest} DeleteOrganizationFeeRequest instance
69672
+ */
69673
+ DeleteOrganizationFeeRequest.create = function create(properties) {
69674
+ return new DeleteOrganizationFeeRequest(properties);
69675
+ };
69676
+
69677
+ /**
69678
+ * Encodes the specified DeleteOrganizationFeeRequest message. Does not implicitly {@link DeleteOrganizationFeeRequest.verify|verify} messages.
69679
+ * @function encode
69680
+ * @memberof DeleteOrganizationFeeRequest
69681
+ * @static
69682
+ * @param {IDeleteOrganizationFeeRequest} message DeleteOrganizationFeeRequest message or plain object to encode
69683
+ * @param {$protobuf.Writer} [writer] Writer to encode to
69684
+ * @returns {$protobuf.Writer} Writer
69685
+ */
69686
+ DeleteOrganizationFeeRequest.encode = function encode(message, writer) {
69687
+ if (!writer)
69688
+ writer = $Writer.create();
69689
+ if (message.spanContext != null && Object.hasOwnProperty.call(message, "spanContext"))
69690
+ writer.uint32(/* id 0, wireType 2 =*/2).string(message.spanContext);
69691
+ if (message.orgId != null && Object.hasOwnProperty.call(message, "orgId"))
69692
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.orgId);
69693
+ if (message.feeId != null && Object.hasOwnProperty.call(message, "feeId"))
69694
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.feeId);
69695
+ return writer;
69696
+ };
69697
+
69698
+ /**
69699
+ * Encodes the specified DeleteOrganizationFeeRequest message, length delimited. Does not implicitly {@link DeleteOrganizationFeeRequest.verify|verify} messages.
69700
+ * @function encodeDelimited
69701
+ * @memberof DeleteOrganizationFeeRequest
69702
+ * @static
69703
+ * @param {IDeleteOrganizationFeeRequest} message DeleteOrganizationFeeRequest message or plain object to encode
69704
+ * @param {$protobuf.Writer} [writer] Writer to encode to
69705
+ * @returns {$protobuf.Writer} Writer
69706
+ */
69707
+ DeleteOrganizationFeeRequest.encodeDelimited = function encodeDelimited(message, writer) {
69708
+ return this.encode(message, writer).ldelim();
69709
+ };
69710
+
69711
+ /**
69712
+ * Decodes a DeleteOrganizationFeeRequest message from the specified reader or buffer.
69713
+ * @function decode
69714
+ * @memberof DeleteOrganizationFeeRequest
69715
+ * @static
69716
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
69717
+ * @param {number} [length] Message length if known beforehand
69718
+ * @returns {DeleteOrganizationFeeRequest} DeleteOrganizationFeeRequest
69719
+ * @throws {Error} If the payload is not a reader or valid buffer
69720
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
69721
+ */
69722
+ DeleteOrganizationFeeRequest.decode = function decode(reader, length) {
69723
+ if (!(reader instanceof $Reader))
69724
+ reader = $Reader.create(reader);
69725
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.DeleteOrganizationFeeRequest();
69726
+ while (reader.pos < end) {
69727
+ var tag = reader.uint32();
69728
+ switch (tag >>> 3) {
69729
+ case 0:
69730
+ message.spanContext = reader.string();
69731
+ break;
69732
+ case 1:
69733
+ message.orgId = reader.string();
69734
+ break;
69735
+ case 2:
69736
+ message.feeId = reader.string();
69737
+ break;
69738
+ default:
69739
+ reader.skipType(tag & 7);
69740
+ break;
69741
+ }
69742
+ }
69743
+ return message;
69744
+ };
69745
+
69746
+ /**
69747
+ * Decodes a DeleteOrganizationFeeRequest message from the specified reader or buffer, length delimited.
69748
+ * @function decodeDelimited
69749
+ * @memberof DeleteOrganizationFeeRequest
69750
+ * @static
69751
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
69752
+ * @returns {DeleteOrganizationFeeRequest} DeleteOrganizationFeeRequest
69753
+ * @throws {Error} If the payload is not a reader or valid buffer
69754
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
69755
+ */
69756
+ DeleteOrganizationFeeRequest.decodeDelimited = function decodeDelimited(reader) {
69757
+ if (!(reader instanceof $Reader))
69758
+ reader = new $Reader(reader);
69759
+ return this.decode(reader, reader.uint32());
69760
+ };
69761
+
69762
+ /**
69763
+ * Verifies a DeleteOrganizationFeeRequest message.
69764
+ * @function verify
69765
+ * @memberof DeleteOrganizationFeeRequest
69766
+ * @static
69767
+ * @param {Object.<string,*>} message Plain object to verify
69768
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
69769
+ */
69770
+ DeleteOrganizationFeeRequest.verify = function verify(message) {
69771
+ if (typeof message !== "object" || message === null)
69772
+ return "object expected";
69773
+ if (message.spanContext != null && message.hasOwnProperty("spanContext"))
69774
+ if (!$util.isString(message.spanContext))
69775
+ return "spanContext: string expected";
69776
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
69777
+ if (!$util.isString(message.orgId))
69778
+ return "orgId: string expected";
69779
+ if (message.feeId != null && message.hasOwnProperty("feeId"))
69780
+ if (!$util.isString(message.feeId))
69781
+ return "feeId: string expected";
69782
+ return null;
69783
+ };
69784
+
69785
+ /**
69786
+ * Creates a DeleteOrganizationFeeRequest message from a plain object. Also converts values to their respective internal types.
69787
+ * @function fromObject
69788
+ * @memberof DeleteOrganizationFeeRequest
69789
+ * @static
69790
+ * @param {Object.<string,*>} object Plain object
69791
+ * @returns {DeleteOrganizationFeeRequest} DeleteOrganizationFeeRequest
69792
+ */
69793
+ DeleteOrganizationFeeRequest.fromObject = function fromObject(object) {
69794
+ if (object instanceof $root.DeleteOrganizationFeeRequest)
69795
+ return object;
69796
+ var message = new $root.DeleteOrganizationFeeRequest();
69797
+ if (object.spanContext != null)
69798
+ message.spanContext = String(object.spanContext);
69799
+ if (object.orgId != null)
69800
+ message.orgId = String(object.orgId);
69801
+ if (object.feeId != null)
69802
+ message.feeId = String(object.feeId);
69803
+ return message;
69804
+ };
69805
+
69806
+ /**
69807
+ * Creates a plain object from a DeleteOrganizationFeeRequest message. Also converts values to other types if specified.
69808
+ * @function toObject
69809
+ * @memberof DeleteOrganizationFeeRequest
69810
+ * @static
69811
+ * @param {DeleteOrganizationFeeRequest} message DeleteOrganizationFeeRequest
69812
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
69813
+ * @returns {Object.<string,*>} Plain object
69814
+ */
69815
+ DeleteOrganizationFeeRequest.toObject = function toObject(message, options) {
69816
+ if (!options)
69817
+ options = {};
69818
+ var object = {};
69819
+ if (options.defaults) {
69820
+ object.spanContext = "";
69821
+ object.orgId = "";
69822
+ object.feeId = "";
69823
+ }
69824
+ if (message.spanContext != null && message.hasOwnProperty("spanContext"))
69825
+ object.spanContext = message.spanContext;
69826
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
69827
+ object.orgId = message.orgId;
69828
+ if (message.feeId != null && message.hasOwnProperty("feeId"))
69829
+ object.feeId = message.feeId;
69830
+ return object;
69831
+ };
69832
+
69833
+ /**
69834
+ * Converts this DeleteOrganizationFeeRequest to JSON.
69835
+ * @function toJSON
69836
+ * @memberof DeleteOrganizationFeeRequest
69837
+ * @instance
69838
+ * @returns {Object.<string,*>} JSON object
69839
+ */
69840
+ DeleteOrganizationFeeRequest.prototype.toJSON = function toJSON() {
69841
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
69842
+ };
69843
+
69844
+ return DeleteOrganizationFeeRequest;
69845
+ })();
69846
+
69847
+ $root.DeleteOrganizationFeeResponse = (function() {
69848
+
69849
+ /**
69850
+ * Properties of a DeleteOrganizationFeeResponse.
69851
+ * @exports IDeleteOrganizationFeeResponse
69852
+ * @interface IDeleteOrganizationFeeResponse
69853
+ * @property {StatusCode|null} [status] DeleteOrganizationFeeResponse status
69854
+ * @property {Array.<IError>|null} [errors] DeleteOrganizationFeeResponse errors
69855
+ */
69856
+
69857
+ /**
69858
+ * Constructs a new DeleteOrganizationFeeResponse.
69859
+ * @exports DeleteOrganizationFeeResponse
69860
+ * @classdesc Represents a DeleteOrganizationFeeResponse.
69861
+ * @implements IDeleteOrganizationFeeResponse
69862
+ * @constructor
69863
+ * @param {IDeleteOrganizationFeeResponse=} [properties] Properties to set
69864
+ */
69865
+ function DeleteOrganizationFeeResponse(properties) {
69866
+ this.errors = [];
69867
+ if (properties)
69868
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
69869
+ if (properties[keys[i]] != null)
69870
+ this[keys[i]] = properties[keys[i]];
69871
+ }
69872
+
69873
+ /**
69874
+ * DeleteOrganizationFeeResponse status.
69875
+ * @member {StatusCode} status
69876
+ * @memberof DeleteOrganizationFeeResponse
69877
+ * @instance
69878
+ */
69879
+ DeleteOrganizationFeeResponse.prototype.status = 0;
69880
+
69881
+ /**
69882
+ * DeleteOrganizationFeeResponse errors.
69883
+ * @member {Array.<IError>} errors
69884
+ * @memberof DeleteOrganizationFeeResponse
69885
+ * @instance
69886
+ */
69887
+ DeleteOrganizationFeeResponse.prototype.errors = $util.emptyArray;
69888
+
69889
+ /**
69890
+ * Creates a new DeleteOrganizationFeeResponse instance using the specified properties.
69891
+ * @function create
69892
+ * @memberof DeleteOrganizationFeeResponse
69893
+ * @static
69894
+ * @param {IDeleteOrganizationFeeResponse=} [properties] Properties to set
69895
+ * @returns {DeleteOrganizationFeeResponse} DeleteOrganizationFeeResponse instance
69896
+ */
69897
+ DeleteOrganizationFeeResponse.create = function create(properties) {
69898
+ return new DeleteOrganizationFeeResponse(properties);
69899
+ };
69900
+
69901
+ /**
69902
+ * Encodes the specified DeleteOrganizationFeeResponse message. Does not implicitly {@link DeleteOrganizationFeeResponse.verify|verify} messages.
69903
+ * @function encode
69904
+ * @memberof DeleteOrganizationFeeResponse
69905
+ * @static
69906
+ * @param {IDeleteOrganizationFeeResponse} message DeleteOrganizationFeeResponse message or plain object to encode
69907
+ * @param {$protobuf.Writer} [writer] Writer to encode to
69908
+ * @returns {$protobuf.Writer} Writer
69909
+ */
69910
+ DeleteOrganizationFeeResponse.encode = function encode(message, writer) {
69911
+ if (!writer)
69912
+ writer = $Writer.create();
69913
+ if (message.status != null && Object.hasOwnProperty.call(message, "status"))
69914
+ writer.uint32(/* id 0, wireType 0 =*/0).int32(message.status);
69915
+ if (message.errors != null && message.errors.length)
69916
+ for (var i = 0; i < message.errors.length; ++i)
69917
+ $root.Error.encode(message.errors[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
69918
+ return writer;
69919
+ };
69920
+
69921
+ /**
69922
+ * Encodes the specified DeleteOrganizationFeeResponse message, length delimited. Does not implicitly {@link DeleteOrganizationFeeResponse.verify|verify} messages.
69923
+ * @function encodeDelimited
69924
+ * @memberof DeleteOrganizationFeeResponse
69925
+ * @static
69926
+ * @param {IDeleteOrganizationFeeResponse} message DeleteOrganizationFeeResponse message or plain object to encode
69927
+ * @param {$protobuf.Writer} [writer] Writer to encode to
69928
+ * @returns {$protobuf.Writer} Writer
69929
+ */
69930
+ DeleteOrganizationFeeResponse.encodeDelimited = function encodeDelimited(message, writer) {
69931
+ return this.encode(message, writer).ldelim();
69932
+ };
69933
+
69934
+ /**
69935
+ * Decodes a DeleteOrganizationFeeResponse message from the specified reader or buffer.
69936
+ * @function decode
69937
+ * @memberof DeleteOrganizationFeeResponse
69938
+ * @static
69939
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
69940
+ * @param {number} [length] Message length if known beforehand
69941
+ * @returns {DeleteOrganizationFeeResponse} DeleteOrganizationFeeResponse
69942
+ * @throws {Error} If the payload is not a reader or valid buffer
69943
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
69944
+ */
69945
+ DeleteOrganizationFeeResponse.decode = function decode(reader, length) {
69946
+ if (!(reader instanceof $Reader))
69947
+ reader = $Reader.create(reader);
69948
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.DeleteOrganizationFeeResponse();
69949
+ while (reader.pos < end) {
69950
+ var tag = reader.uint32();
69951
+ switch (tag >>> 3) {
69952
+ case 0:
69953
+ message.status = reader.int32();
69954
+ break;
69955
+ case 1:
69956
+ if (!(message.errors && message.errors.length))
69957
+ message.errors = [];
69958
+ message.errors.push($root.Error.decode(reader, reader.uint32()));
69959
+ break;
69960
+ default:
69961
+ reader.skipType(tag & 7);
69962
+ break;
69963
+ }
69964
+ }
69965
+ return message;
69966
+ };
69967
+
69968
+ /**
69969
+ * Decodes a DeleteOrganizationFeeResponse message from the specified reader or buffer, length delimited.
69970
+ * @function decodeDelimited
69971
+ * @memberof DeleteOrganizationFeeResponse
69972
+ * @static
69973
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
69974
+ * @returns {DeleteOrganizationFeeResponse} DeleteOrganizationFeeResponse
69975
+ * @throws {Error} If the payload is not a reader or valid buffer
69976
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
69977
+ */
69978
+ DeleteOrganizationFeeResponse.decodeDelimited = function decodeDelimited(reader) {
69979
+ if (!(reader instanceof $Reader))
69980
+ reader = new $Reader(reader);
69981
+ return this.decode(reader, reader.uint32());
69982
+ };
69983
+
69984
+ /**
69985
+ * Verifies a DeleteOrganizationFeeResponse message.
69986
+ * @function verify
69987
+ * @memberof DeleteOrganizationFeeResponse
69988
+ * @static
69989
+ * @param {Object.<string,*>} message Plain object to verify
69990
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
69991
+ */
69992
+ DeleteOrganizationFeeResponse.verify = function verify(message) {
69993
+ if (typeof message !== "object" || message === null)
69994
+ return "object expected";
69995
+ if (message.status != null && message.hasOwnProperty("status"))
69996
+ switch (message.status) {
69997
+ default:
69998
+ return "status: enum value expected";
69999
+ case 0:
70000
+ case 200:
70001
+ case 400:
70002
+ case 401:
70003
+ case 403:
70004
+ case 422:
70005
+ case 500:
70006
+ case 504:
70007
+ break;
70008
+ }
70009
+ if (message.errors != null && message.hasOwnProperty("errors")) {
70010
+ if (!Array.isArray(message.errors))
70011
+ return "errors: array expected";
70012
+ for (var i = 0; i < message.errors.length; ++i) {
70013
+ var error = $root.Error.verify(message.errors[i]);
70014
+ if (error)
70015
+ return "errors." + error;
70016
+ }
70017
+ }
70018
+ return null;
70019
+ };
70020
+
70021
+ /**
70022
+ * Creates a DeleteOrganizationFeeResponse message from a plain object. Also converts values to their respective internal types.
70023
+ * @function fromObject
70024
+ * @memberof DeleteOrganizationFeeResponse
70025
+ * @static
70026
+ * @param {Object.<string,*>} object Plain object
70027
+ * @returns {DeleteOrganizationFeeResponse} DeleteOrganizationFeeResponse
70028
+ */
70029
+ DeleteOrganizationFeeResponse.fromObject = function fromObject(object) {
70030
+ if (object instanceof $root.DeleteOrganizationFeeResponse)
70031
+ return object;
70032
+ var message = new $root.DeleteOrganizationFeeResponse();
70033
+ switch (object.status) {
70034
+ case "UNKNOWN_CODE":
70035
+ case 0:
70036
+ message.status = 0;
70037
+ break;
70038
+ case "OK":
70039
+ case 200:
70040
+ message.status = 200;
70041
+ break;
70042
+ case "BAD_REQUEST":
70043
+ case 400:
70044
+ message.status = 400;
70045
+ break;
70046
+ case "UNAUTHORIZED":
70047
+ case 401:
70048
+ message.status = 401;
70049
+ break;
70050
+ case "FORBIDDEN":
70051
+ case 403:
70052
+ message.status = 403;
70053
+ break;
70054
+ case "UNPROCESSABLE_ENTITY":
70055
+ case 422:
70056
+ message.status = 422;
70057
+ break;
70058
+ case "INTERNAL_SERVER_ERROR":
70059
+ case 500:
70060
+ message.status = 500;
70061
+ break;
70062
+ case "GATEWAY_TIMEOUT":
70063
+ case 504:
70064
+ message.status = 504;
70065
+ break;
70066
+ }
70067
+ if (object.errors) {
70068
+ if (!Array.isArray(object.errors))
70069
+ throw TypeError(".DeleteOrganizationFeeResponse.errors: array expected");
69224
70070
  message.errors = [];
69225
70071
  for (var i = 0; i < object.errors.length; ++i) {
69226
70072
  if (typeof object.errors[i] !== "object")
69227
- throw TypeError(".DisableFeeResponse.errors: object expected");
70073
+ throw TypeError(".DeleteOrganizationFeeResponse.errors: object expected");
69228
70074
  message.errors[i] = $root.Error.fromObject(object.errors[i]);
69229
70075
  }
69230
70076
  }
69231
- if (object.fee != null) {
69232
- if (typeof object.fee !== "object")
69233
- throw TypeError(".DisableFeeResponse.fee: object expected");
69234
- message.fee = $root.Fee.fromObject(object.fee);
69235
- }
69236
70077
  return message;
69237
70078
  };
69238
70079
 
69239
70080
  /**
69240
- * Creates a plain object from a DisableFeeResponse message. Also converts values to other types if specified.
70081
+ * Creates a plain object from a DeleteOrganizationFeeResponse message. Also converts values to other types if specified.
69241
70082
  * @function toObject
69242
- * @memberof DisableFeeResponse
70083
+ * @memberof DeleteOrganizationFeeResponse
69243
70084
  * @static
69244
- * @param {DisableFeeResponse} message DisableFeeResponse
70085
+ * @param {DeleteOrganizationFeeResponse} message DeleteOrganizationFeeResponse
69245
70086
  * @param {$protobuf.IConversionOptions} [options] Conversion options
69246
70087
  * @returns {Object.<string,*>} Plain object
69247
70088
  */
69248
- DisableFeeResponse.toObject = function toObject(message, options) {
70089
+ DeleteOrganizationFeeResponse.toObject = function toObject(message, options) {
69249
70090
  if (!options)
69250
70091
  options = {};
69251
70092
  var object = {};
69252
70093
  if (options.arrays || options.defaults)
69253
70094
  object.errors = [];
69254
- if (options.defaults) {
70095
+ if (options.defaults)
69255
70096
  object.status = options.enums === String ? "UNKNOWN_CODE" : 0;
69256
- object.fee = null;
69257
- }
69258
70097
  if (message.status != null && message.hasOwnProperty("status"))
69259
70098
  object.status = options.enums === String ? $root.StatusCode[message.status] : message.status;
69260
70099
  if (message.errors && message.errors.length) {
@@ -69262,45 +70101,46 @@ $root.DisableFeeResponse = (function() {
69262
70101
  for (var j = 0; j < message.errors.length; ++j)
69263
70102
  object.errors[j] = $root.Error.toObject(message.errors[j], options);
69264
70103
  }
69265
- if (message.fee != null && message.hasOwnProperty("fee"))
69266
- object.fee = $root.Fee.toObject(message.fee, options);
69267
70104
  return object;
69268
70105
  };
69269
70106
 
69270
70107
  /**
69271
- * Converts this DisableFeeResponse to JSON.
70108
+ * Converts this DeleteOrganizationFeeResponse to JSON.
69272
70109
  * @function toJSON
69273
- * @memberof DisableFeeResponse
70110
+ * @memberof DeleteOrganizationFeeResponse
69274
70111
  * @instance
69275
70112
  * @returns {Object.<string,*>} JSON object
69276
70113
  */
69277
- DisableFeeResponse.prototype.toJSON = function toJSON() {
70114
+ DeleteOrganizationFeeResponse.prototype.toJSON = function toJSON() {
69278
70115
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
69279
70116
  };
69280
70117
 
69281
- return DisableFeeResponse;
70118
+ return DeleteOrganizationFeeResponse;
69282
70119
  })();
69283
70120
 
69284
- $root.DeleteOrganizationFeeRequest = (function() {
70121
+ $root.DeleteEventOrSeasonFeeRequest = (function() {
69285
70122
 
69286
70123
  /**
69287
- * Properties of a DeleteOrganizationFeeRequest.
69288
- * @exports IDeleteOrganizationFeeRequest
69289
- * @interface IDeleteOrganizationFeeRequest
69290
- * @property {string|null} [spanContext] DeleteOrganizationFeeRequest spanContext
69291
- * @property {string|null} [orgId] DeleteOrganizationFeeRequest orgId
69292
- * @property {string|null} [feeId] DeleteOrganizationFeeRequest feeId
70124
+ * Properties of a DeleteEventOrSeasonFeeRequest.
70125
+ * @exports IDeleteEventOrSeasonFeeRequest
70126
+ * @interface IDeleteEventOrSeasonFeeRequest
70127
+ * @property {string|null} [spanContext] DeleteEventOrSeasonFeeRequest spanContext
70128
+ * @property {string|null} [eventId] DeleteEventOrSeasonFeeRequest eventId
70129
+ * @property {string|null} [seasonId] DeleteEventOrSeasonFeeRequest seasonId
70130
+ * @property {string|null} [feeId] DeleteEventOrSeasonFeeRequest feeId
70131
+ * @property {string|null} [orgId] DeleteEventOrSeasonFeeRequest orgId
70132
+ * @property {string|null} [requestorId] DeleteEventOrSeasonFeeRequest requestorId
69293
70133
  */
69294
70134
 
69295
70135
  /**
69296
- * Constructs a new DeleteOrganizationFeeRequest.
69297
- * @exports DeleteOrganizationFeeRequest
69298
- * @classdesc Represents a DeleteOrganizationFeeRequest.
69299
- * @implements IDeleteOrganizationFeeRequest
70136
+ * Constructs a new DeleteEventOrSeasonFeeRequest.
70137
+ * @exports DeleteEventOrSeasonFeeRequest
70138
+ * @classdesc Represents a DeleteEventOrSeasonFeeRequest.
70139
+ * @implements IDeleteEventOrSeasonFeeRequest
69300
70140
  * @constructor
69301
- * @param {IDeleteOrganizationFeeRequest=} [properties] Properties to set
70141
+ * @param {IDeleteEventOrSeasonFeeRequest=} [properties] Properties to set
69302
70142
  */
69303
- function DeleteOrganizationFeeRequest(properties) {
70143
+ function DeleteEventOrSeasonFeeRequest(properties) {
69304
70144
  if (properties)
69305
70145
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
69306
70146
  if (properties[keys[i]] != null)
@@ -69308,90 +70148,120 @@ $root.DeleteOrganizationFeeRequest = (function() {
69308
70148
  }
69309
70149
 
69310
70150
  /**
69311
- * DeleteOrganizationFeeRequest spanContext.
70151
+ * DeleteEventOrSeasonFeeRequest spanContext.
69312
70152
  * @member {string} spanContext
69313
- * @memberof DeleteOrganizationFeeRequest
70153
+ * @memberof DeleteEventOrSeasonFeeRequest
69314
70154
  * @instance
69315
70155
  */
69316
- DeleteOrganizationFeeRequest.prototype.spanContext = "";
70156
+ DeleteEventOrSeasonFeeRequest.prototype.spanContext = "";
69317
70157
 
69318
70158
  /**
69319
- * DeleteOrganizationFeeRequest orgId.
69320
- * @member {string} orgId
69321
- * @memberof DeleteOrganizationFeeRequest
70159
+ * DeleteEventOrSeasonFeeRequest eventId.
70160
+ * @member {string} eventId
70161
+ * @memberof DeleteEventOrSeasonFeeRequest
69322
70162
  * @instance
69323
70163
  */
69324
- DeleteOrganizationFeeRequest.prototype.orgId = "";
70164
+ DeleteEventOrSeasonFeeRequest.prototype.eventId = "";
69325
70165
 
69326
70166
  /**
69327
- * DeleteOrganizationFeeRequest feeId.
70167
+ * DeleteEventOrSeasonFeeRequest seasonId.
70168
+ * @member {string} seasonId
70169
+ * @memberof DeleteEventOrSeasonFeeRequest
70170
+ * @instance
70171
+ */
70172
+ DeleteEventOrSeasonFeeRequest.prototype.seasonId = "";
70173
+
70174
+ /**
70175
+ * DeleteEventOrSeasonFeeRequest feeId.
69328
70176
  * @member {string} feeId
69329
- * @memberof DeleteOrganizationFeeRequest
70177
+ * @memberof DeleteEventOrSeasonFeeRequest
69330
70178
  * @instance
69331
70179
  */
69332
- DeleteOrganizationFeeRequest.prototype.feeId = "";
70180
+ DeleteEventOrSeasonFeeRequest.prototype.feeId = "";
69333
70181
 
69334
70182
  /**
69335
- * Creates a new DeleteOrganizationFeeRequest instance using the specified properties.
70183
+ * DeleteEventOrSeasonFeeRequest orgId.
70184
+ * @member {string} orgId
70185
+ * @memberof DeleteEventOrSeasonFeeRequest
70186
+ * @instance
70187
+ */
70188
+ DeleteEventOrSeasonFeeRequest.prototype.orgId = "";
70189
+
70190
+ /**
70191
+ * DeleteEventOrSeasonFeeRequest requestorId.
70192
+ * @member {string} requestorId
70193
+ * @memberof DeleteEventOrSeasonFeeRequest
70194
+ * @instance
70195
+ */
70196
+ DeleteEventOrSeasonFeeRequest.prototype.requestorId = "";
70197
+
70198
+ /**
70199
+ * Creates a new DeleteEventOrSeasonFeeRequest instance using the specified properties.
69336
70200
  * @function create
69337
- * @memberof DeleteOrganizationFeeRequest
70201
+ * @memberof DeleteEventOrSeasonFeeRequest
69338
70202
  * @static
69339
- * @param {IDeleteOrganizationFeeRequest=} [properties] Properties to set
69340
- * @returns {DeleteOrganizationFeeRequest} DeleteOrganizationFeeRequest instance
70203
+ * @param {IDeleteEventOrSeasonFeeRequest=} [properties] Properties to set
70204
+ * @returns {DeleteEventOrSeasonFeeRequest} DeleteEventOrSeasonFeeRequest instance
69341
70205
  */
69342
- DeleteOrganizationFeeRequest.create = function create(properties) {
69343
- return new DeleteOrganizationFeeRequest(properties);
70206
+ DeleteEventOrSeasonFeeRequest.create = function create(properties) {
70207
+ return new DeleteEventOrSeasonFeeRequest(properties);
69344
70208
  };
69345
70209
 
69346
70210
  /**
69347
- * Encodes the specified DeleteOrganizationFeeRequest message. Does not implicitly {@link DeleteOrganizationFeeRequest.verify|verify} messages.
70211
+ * Encodes the specified DeleteEventOrSeasonFeeRequest message. Does not implicitly {@link DeleteEventOrSeasonFeeRequest.verify|verify} messages.
69348
70212
  * @function encode
69349
- * @memberof DeleteOrganizationFeeRequest
70213
+ * @memberof DeleteEventOrSeasonFeeRequest
69350
70214
  * @static
69351
- * @param {IDeleteOrganizationFeeRequest} message DeleteOrganizationFeeRequest message or plain object to encode
70215
+ * @param {IDeleteEventOrSeasonFeeRequest} message DeleteEventOrSeasonFeeRequest message or plain object to encode
69352
70216
  * @param {$protobuf.Writer} [writer] Writer to encode to
69353
70217
  * @returns {$protobuf.Writer} Writer
69354
70218
  */
69355
- DeleteOrganizationFeeRequest.encode = function encode(message, writer) {
70219
+ DeleteEventOrSeasonFeeRequest.encode = function encode(message, writer) {
69356
70220
  if (!writer)
69357
70221
  writer = $Writer.create();
69358
70222
  if (message.spanContext != null && Object.hasOwnProperty.call(message, "spanContext"))
69359
70223
  writer.uint32(/* id 0, wireType 2 =*/2).string(message.spanContext);
69360
- if (message.orgId != null && Object.hasOwnProperty.call(message, "orgId"))
69361
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.orgId);
70224
+ if (message.eventId != null && Object.hasOwnProperty.call(message, "eventId"))
70225
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.eventId);
70226
+ if (message.seasonId != null && Object.hasOwnProperty.call(message, "seasonId"))
70227
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.seasonId);
69362
70228
  if (message.feeId != null && Object.hasOwnProperty.call(message, "feeId"))
69363
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.feeId);
70229
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.feeId);
70230
+ if (message.orgId != null && Object.hasOwnProperty.call(message, "orgId"))
70231
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.orgId);
70232
+ if (message.requestorId != null && Object.hasOwnProperty.call(message, "requestorId"))
70233
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.requestorId);
69364
70234
  return writer;
69365
70235
  };
69366
70236
 
69367
70237
  /**
69368
- * Encodes the specified DeleteOrganizationFeeRequest message, length delimited. Does not implicitly {@link DeleteOrganizationFeeRequest.verify|verify} messages.
70238
+ * Encodes the specified DeleteEventOrSeasonFeeRequest message, length delimited. Does not implicitly {@link DeleteEventOrSeasonFeeRequest.verify|verify} messages.
69369
70239
  * @function encodeDelimited
69370
- * @memberof DeleteOrganizationFeeRequest
70240
+ * @memberof DeleteEventOrSeasonFeeRequest
69371
70241
  * @static
69372
- * @param {IDeleteOrganizationFeeRequest} message DeleteOrganizationFeeRequest message or plain object to encode
70242
+ * @param {IDeleteEventOrSeasonFeeRequest} message DeleteEventOrSeasonFeeRequest message or plain object to encode
69373
70243
  * @param {$protobuf.Writer} [writer] Writer to encode to
69374
70244
  * @returns {$protobuf.Writer} Writer
69375
70245
  */
69376
- DeleteOrganizationFeeRequest.encodeDelimited = function encodeDelimited(message, writer) {
70246
+ DeleteEventOrSeasonFeeRequest.encodeDelimited = function encodeDelimited(message, writer) {
69377
70247
  return this.encode(message, writer).ldelim();
69378
70248
  };
69379
70249
 
69380
70250
  /**
69381
- * Decodes a DeleteOrganizationFeeRequest message from the specified reader or buffer.
70251
+ * Decodes a DeleteEventOrSeasonFeeRequest message from the specified reader or buffer.
69382
70252
  * @function decode
69383
- * @memberof DeleteOrganizationFeeRequest
70253
+ * @memberof DeleteEventOrSeasonFeeRequest
69384
70254
  * @static
69385
70255
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
69386
70256
  * @param {number} [length] Message length if known beforehand
69387
- * @returns {DeleteOrganizationFeeRequest} DeleteOrganizationFeeRequest
70257
+ * @returns {DeleteEventOrSeasonFeeRequest} DeleteEventOrSeasonFeeRequest
69388
70258
  * @throws {Error} If the payload is not a reader or valid buffer
69389
70259
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
69390
70260
  */
69391
- DeleteOrganizationFeeRequest.decode = function decode(reader, length) {
70261
+ DeleteEventOrSeasonFeeRequest.decode = function decode(reader, length) {
69392
70262
  if (!(reader instanceof $Reader))
69393
70263
  reader = $Reader.create(reader);
69394
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.DeleteOrganizationFeeRequest();
70264
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.DeleteEventOrSeasonFeeRequest();
69395
70265
  while (reader.pos < end) {
69396
70266
  var tag = reader.uint32();
69397
70267
  switch (tag >>> 3) {
@@ -69399,11 +70269,20 @@ $root.DeleteOrganizationFeeRequest = (function() {
69399
70269
  message.spanContext = reader.string();
69400
70270
  break;
69401
70271
  case 1:
69402
- message.orgId = reader.string();
70272
+ message.eventId = reader.string();
69403
70273
  break;
69404
70274
  case 2:
70275
+ message.seasonId = reader.string();
70276
+ break;
70277
+ case 3:
69405
70278
  message.feeId = reader.string();
69406
70279
  break;
70280
+ case 4:
70281
+ message.orgId = reader.string();
70282
+ break;
70283
+ case 5:
70284
+ message.requestorId = reader.string();
70285
+ break;
69407
70286
  default:
69408
70287
  reader.skipType(tag & 7);
69409
70288
  break;
@@ -69413,125 +70292,149 @@ $root.DeleteOrganizationFeeRequest = (function() {
69413
70292
  };
69414
70293
 
69415
70294
  /**
69416
- * Decodes a DeleteOrganizationFeeRequest message from the specified reader or buffer, length delimited.
70295
+ * Decodes a DeleteEventOrSeasonFeeRequest message from the specified reader or buffer, length delimited.
69417
70296
  * @function decodeDelimited
69418
- * @memberof DeleteOrganizationFeeRequest
70297
+ * @memberof DeleteEventOrSeasonFeeRequest
69419
70298
  * @static
69420
70299
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
69421
- * @returns {DeleteOrganizationFeeRequest} DeleteOrganizationFeeRequest
70300
+ * @returns {DeleteEventOrSeasonFeeRequest} DeleteEventOrSeasonFeeRequest
69422
70301
  * @throws {Error} If the payload is not a reader or valid buffer
69423
70302
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
69424
70303
  */
69425
- DeleteOrganizationFeeRequest.decodeDelimited = function decodeDelimited(reader) {
70304
+ DeleteEventOrSeasonFeeRequest.decodeDelimited = function decodeDelimited(reader) {
69426
70305
  if (!(reader instanceof $Reader))
69427
70306
  reader = new $Reader(reader);
69428
70307
  return this.decode(reader, reader.uint32());
69429
70308
  };
69430
70309
 
69431
70310
  /**
69432
- * Verifies a DeleteOrganizationFeeRequest message.
70311
+ * Verifies a DeleteEventOrSeasonFeeRequest message.
69433
70312
  * @function verify
69434
- * @memberof DeleteOrganizationFeeRequest
70313
+ * @memberof DeleteEventOrSeasonFeeRequest
69435
70314
  * @static
69436
70315
  * @param {Object.<string,*>} message Plain object to verify
69437
70316
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
69438
70317
  */
69439
- DeleteOrganizationFeeRequest.verify = function verify(message) {
70318
+ DeleteEventOrSeasonFeeRequest.verify = function verify(message) {
69440
70319
  if (typeof message !== "object" || message === null)
69441
70320
  return "object expected";
69442
70321
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
69443
70322
  if (!$util.isString(message.spanContext))
69444
70323
  return "spanContext: string expected";
69445
- if (message.orgId != null && message.hasOwnProperty("orgId"))
69446
- if (!$util.isString(message.orgId))
69447
- return "orgId: string expected";
70324
+ if (message.eventId != null && message.hasOwnProperty("eventId"))
70325
+ if (!$util.isString(message.eventId))
70326
+ return "eventId: string expected";
70327
+ if (message.seasonId != null && message.hasOwnProperty("seasonId"))
70328
+ if (!$util.isString(message.seasonId))
70329
+ return "seasonId: string expected";
69448
70330
  if (message.feeId != null && message.hasOwnProperty("feeId"))
69449
70331
  if (!$util.isString(message.feeId))
69450
70332
  return "feeId: string expected";
70333
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
70334
+ if (!$util.isString(message.orgId))
70335
+ return "orgId: string expected";
70336
+ if (message.requestorId != null && message.hasOwnProperty("requestorId"))
70337
+ if (!$util.isString(message.requestorId))
70338
+ return "requestorId: string expected";
69451
70339
  return null;
69452
70340
  };
69453
70341
 
69454
70342
  /**
69455
- * Creates a DeleteOrganizationFeeRequest message from a plain object. Also converts values to their respective internal types.
70343
+ * Creates a DeleteEventOrSeasonFeeRequest message from a plain object. Also converts values to their respective internal types.
69456
70344
  * @function fromObject
69457
- * @memberof DeleteOrganizationFeeRequest
70345
+ * @memberof DeleteEventOrSeasonFeeRequest
69458
70346
  * @static
69459
70347
  * @param {Object.<string,*>} object Plain object
69460
- * @returns {DeleteOrganizationFeeRequest} DeleteOrganizationFeeRequest
70348
+ * @returns {DeleteEventOrSeasonFeeRequest} DeleteEventOrSeasonFeeRequest
69461
70349
  */
69462
- DeleteOrganizationFeeRequest.fromObject = function fromObject(object) {
69463
- if (object instanceof $root.DeleteOrganizationFeeRequest)
70350
+ DeleteEventOrSeasonFeeRequest.fromObject = function fromObject(object) {
70351
+ if (object instanceof $root.DeleteEventOrSeasonFeeRequest)
69464
70352
  return object;
69465
- var message = new $root.DeleteOrganizationFeeRequest();
70353
+ var message = new $root.DeleteEventOrSeasonFeeRequest();
69466
70354
  if (object.spanContext != null)
69467
70355
  message.spanContext = String(object.spanContext);
69468
- if (object.orgId != null)
69469
- message.orgId = String(object.orgId);
70356
+ if (object.eventId != null)
70357
+ message.eventId = String(object.eventId);
70358
+ if (object.seasonId != null)
70359
+ message.seasonId = String(object.seasonId);
69470
70360
  if (object.feeId != null)
69471
70361
  message.feeId = String(object.feeId);
70362
+ if (object.orgId != null)
70363
+ message.orgId = String(object.orgId);
70364
+ if (object.requestorId != null)
70365
+ message.requestorId = String(object.requestorId);
69472
70366
  return message;
69473
70367
  };
69474
70368
 
69475
70369
  /**
69476
- * Creates a plain object from a DeleteOrganizationFeeRequest message. Also converts values to other types if specified.
70370
+ * Creates a plain object from a DeleteEventOrSeasonFeeRequest message. Also converts values to other types if specified.
69477
70371
  * @function toObject
69478
- * @memberof DeleteOrganizationFeeRequest
70372
+ * @memberof DeleteEventOrSeasonFeeRequest
69479
70373
  * @static
69480
- * @param {DeleteOrganizationFeeRequest} message DeleteOrganizationFeeRequest
70374
+ * @param {DeleteEventOrSeasonFeeRequest} message DeleteEventOrSeasonFeeRequest
69481
70375
  * @param {$protobuf.IConversionOptions} [options] Conversion options
69482
70376
  * @returns {Object.<string,*>} Plain object
69483
70377
  */
69484
- DeleteOrganizationFeeRequest.toObject = function toObject(message, options) {
70378
+ DeleteEventOrSeasonFeeRequest.toObject = function toObject(message, options) {
69485
70379
  if (!options)
69486
70380
  options = {};
69487
70381
  var object = {};
69488
70382
  if (options.defaults) {
69489
70383
  object.spanContext = "";
69490
- object.orgId = "";
70384
+ object.eventId = "";
70385
+ object.seasonId = "";
69491
70386
  object.feeId = "";
70387
+ object.orgId = "";
70388
+ object.requestorId = "";
69492
70389
  }
69493
70390
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
69494
70391
  object.spanContext = message.spanContext;
69495
- if (message.orgId != null && message.hasOwnProperty("orgId"))
69496
- object.orgId = message.orgId;
70392
+ if (message.eventId != null && message.hasOwnProperty("eventId"))
70393
+ object.eventId = message.eventId;
70394
+ if (message.seasonId != null && message.hasOwnProperty("seasonId"))
70395
+ object.seasonId = message.seasonId;
69497
70396
  if (message.feeId != null && message.hasOwnProperty("feeId"))
69498
70397
  object.feeId = message.feeId;
70398
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
70399
+ object.orgId = message.orgId;
70400
+ if (message.requestorId != null && message.hasOwnProperty("requestorId"))
70401
+ object.requestorId = message.requestorId;
69499
70402
  return object;
69500
70403
  };
69501
70404
 
69502
70405
  /**
69503
- * Converts this DeleteOrganizationFeeRequest to JSON.
70406
+ * Converts this DeleteEventOrSeasonFeeRequest to JSON.
69504
70407
  * @function toJSON
69505
- * @memberof DeleteOrganizationFeeRequest
70408
+ * @memberof DeleteEventOrSeasonFeeRequest
69506
70409
  * @instance
69507
70410
  * @returns {Object.<string,*>} JSON object
69508
70411
  */
69509
- DeleteOrganizationFeeRequest.prototype.toJSON = function toJSON() {
70412
+ DeleteEventOrSeasonFeeRequest.prototype.toJSON = function toJSON() {
69510
70413
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
69511
70414
  };
69512
70415
 
69513
- return DeleteOrganizationFeeRequest;
70416
+ return DeleteEventOrSeasonFeeRequest;
69514
70417
  })();
69515
70418
 
69516
- $root.DeleteOrganizationFeeResponse = (function() {
70419
+ $root.DeleteEventOrSeasonFeeResponse = (function() {
69517
70420
 
69518
70421
  /**
69519
- * Properties of a DeleteOrganizationFeeResponse.
69520
- * @exports IDeleteOrganizationFeeResponse
69521
- * @interface IDeleteOrganizationFeeResponse
69522
- * @property {StatusCode|null} [status] DeleteOrganizationFeeResponse status
69523
- * @property {Array.<IError>|null} [errors] DeleteOrganizationFeeResponse errors
70422
+ * Properties of a DeleteEventOrSeasonFeeResponse.
70423
+ * @exports IDeleteEventOrSeasonFeeResponse
70424
+ * @interface IDeleteEventOrSeasonFeeResponse
70425
+ * @property {StatusCode|null} [status] DeleteEventOrSeasonFeeResponse status
70426
+ * @property {Array.<IError>|null} [errors] DeleteEventOrSeasonFeeResponse errors
69524
70427
  */
69525
70428
 
69526
70429
  /**
69527
- * Constructs a new DeleteOrganizationFeeResponse.
69528
- * @exports DeleteOrganizationFeeResponse
69529
- * @classdesc Represents a DeleteOrganizationFeeResponse.
69530
- * @implements IDeleteOrganizationFeeResponse
70430
+ * Constructs a new DeleteEventOrSeasonFeeResponse.
70431
+ * @exports DeleteEventOrSeasonFeeResponse
70432
+ * @classdesc Represents a DeleteEventOrSeasonFeeResponse.
70433
+ * @implements IDeleteEventOrSeasonFeeResponse
69531
70434
  * @constructor
69532
- * @param {IDeleteOrganizationFeeResponse=} [properties] Properties to set
70435
+ * @param {IDeleteEventOrSeasonFeeResponse=} [properties] Properties to set
69533
70436
  */
69534
- function DeleteOrganizationFeeResponse(properties) {
70437
+ function DeleteEventOrSeasonFeeResponse(properties) {
69535
70438
  this.errors = [];
69536
70439
  if (properties)
69537
70440
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
@@ -69540,43 +70443,43 @@ $root.DeleteOrganizationFeeResponse = (function() {
69540
70443
  }
69541
70444
 
69542
70445
  /**
69543
- * DeleteOrganizationFeeResponse status.
70446
+ * DeleteEventOrSeasonFeeResponse status.
69544
70447
  * @member {StatusCode} status
69545
- * @memberof DeleteOrganizationFeeResponse
70448
+ * @memberof DeleteEventOrSeasonFeeResponse
69546
70449
  * @instance
69547
70450
  */
69548
- DeleteOrganizationFeeResponse.prototype.status = 0;
70451
+ DeleteEventOrSeasonFeeResponse.prototype.status = 0;
69549
70452
 
69550
70453
  /**
69551
- * DeleteOrganizationFeeResponse errors.
70454
+ * DeleteEventOrSeasonFeeResponse errors.
69552
70455
  * @member {Array.<IError>} errors
69553
- * @memberof DeleteOrganizationFeeResponse
70456
+ * @memberof DeleteEventOrSeasonFeeResponse
69554
70457
  * @instance
69555
70458
  */
69556
- DeleteOrganizationFeeResponse.prototype.errors = $util.emptyArray;
70459
+ DeleteEventOrSeasonFeeResponse.prototype.errors = $util.emptyArray;
69557
70460
 
69558
70461
  /**
69559
- * Creates a new DeleteOrganizationFeeResponse instance using the specified properties.
70462
+ * Creates a new DeleteEventOrSeasonFeeResponse instance using the specified properties.
69560
70463
  * @function create
69561
- * @memberof DeleteOrganizationFeeResponse
70464
+ * @memberof DeleteEventOrSeasonFeeResponse
69562
70465
  * @static
69563
- * @param {IDeleteOrganizationFeeResponse=} [properties] Properties to set
69564
- * @returns {DeleteOrganizationFeeResponse} DeleteOrganizationFeeResponse instance
70466
+ * @param {IDeleteEventOrSeasonFeeResponse=} [properties] Properties to set
70467
+ * @returns {DeleteEventOrSeasonFeeResponse} DeleteEventOrSeasonFeeResponse instance
69565
70468
  */
69566
- DeleteOrganizationFeeResponse.create = function create(properties) {
69567
- return new DeleteOrganizationFeeResponse(properties);
70469
+ DeleteEventOrSeasonFeeResponse.create = function create(properties) {
70470
+ return new DeleteEventOrSeasonFeeResponse(properties);
69568
70471
  };
69569
70472
 
69570
70473
  /**
69571
- * Encodes the specified DeleteOrganizationFeeResponse message. Does not implicitly {@link DeleteOrganizationFeeResponse.verify|verify} messages.
70474
+ * Encodes the specified DeleteEventOrSeasonFeeResponse message. Does not implicitly {@link DeleteEventOrSeasonFeeResponse.verify|verify} messages.
69572
70475
  * @function encode
69573
- * @memberof DeleteOrganizationFeeResponse
70476
+ * @memberof DeleteEventOrSeasonFeeResponse
69574
70477
  * @static
69575
- * @param {IDeleteOrganizationFeeResponse} message DeleteOrganizationFeeResponse message or plain object to encode
70478
+ * @param {IDeleteEventOrSeasonFeeResponse} message DeleteEventOrSeasonFeeResponse message or plain object to encode
69576
70479
  * @param {$protobuf.Writer} [writer] Writer to encode to
69577
70480
  * @returns {$protobuf.Writer} Writer
69578
70481
  */
69579
- DeleteOrganizationFeeResponse.encode = function encode(message, writer) {
70482
+ DeleteEventOrSeasonFeeResponse.encode = function encode(message, writer) {
69580
70483
  if (!writer)
69581
70484
  writer = $Writer.create();
69582
70485
  if (message.status != null && Object.hasOwnProperty.call(message, "status"))
@@ -69588,33 +70491,33 @@ $root.DeleteOrganizationFeeResponse = (function() {
69588
70491
  };
69589
70492
 
69590
70493
  /**
69591
- * Encodes the specified DeleteOrganizationFeeResponse message, length delimited. Does not implicitly {@link DeleteOrganizationFeeResponse.verify|verify} messages.
70494
+ * Encodes the specified DeleteEventOrSeasonFeeResponse message, length delimited. Does not implicitly {@link DeleteEventOrSeasonFeeResponse.verify|verify} messages.
69592
70495
  * @function encodeDelimited
69593
- * @memberof DeleteOrganizationFeeResponse
70496
+ * @memberof DeleteEventOrSeasonFeeResponse
69594
70497
  * @static
69595
- * @param {IDeleteOrganizationFeeResponse} message DeleteOrganizationFeeResponse message or plain object to encode
70498
+ * @param {IDeleteEventOrSeasonFeeResponse} message DeleteEventOrSeasonFeeResponse message or plain object to encode
69596
70499
  * @param {$protobuf.Writer} [writer] Writer to encode to
69597
70500
  * @returns {$protobuf.Writer} Writer
69598
70501
  */
69599
- DeleteOrganizationFeeResponse.encodeDelimited = function encodeDelimited(message, writer) {
70502
+ DeleteEventOrSeasonFeeResponse.encodeDelimited = function encodeDelimited(message, writer) {
69600
70503
  return this.encode(message, writer).ldelim();
69601
70504
  };
69602
70505
 
69603
70506
  /**
69604
- * Decodes a DeleteOrganizationFeeResponse message from the specified reader or buffer.
70507
+ * Decodes a DeleteEventOrSeasonFeeResponse message from the specified reader or buffer.
69605
70508
  * @function decode
69606
- * @memberof DeleteOrganizationFeeResponse
70509
+ * @memberof DeleteEventOrSeasonFeeResponse
69607
70510
  * @static
69608
70511
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
69609
70512
  * @param {number} [length] Message length if known beforehand
69610
- * @returns {DeleteOrganizationFeeResponse} DeleteOrganizationFeeResponse
70513
+ * @returns {DeleteEventOrSeasonFeeResponse} DeleteEventOrSeasonFeeResponse
69611
70514
  * @throws {Error} If the payload is not a reader or valid buffer
69612
70515
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
69613
70516
  */
69614
- DeleteOrganizationFeeResponse.decode = function decode(reader, length) {
70517
+ DeleteEventOrSeasonFeeResponse.decode = function decode(reader, length) {
69615
70518
  if (!(reader instanceof $Reader))
69616
70519
  reader = $Reader.create(reader);
69617
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.DeleteOrganizationFeeResponse();
70520
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.DeleteEventOrSeasonFeeResponse();
69618
70521
  while (reader.pos < end) {
69619
70522
  var tag = reader.uint32();
69620
70523
  switch (tag >>> 3) {
@@ -69635,30 +70538,30 @@ $root.DeleteOrganizationFeeResponse = (function() {
69635
70538
  };
69636
70539
 
69637
70540
  /**
69638
- * Decodes a DeleteOrganizationFeeResponse message from the specified reader or buffer, length delimited.
70541
+ * Decodes a DeleteEventOrSeasonFeeResponse message from the specified reader or buffer, length delimited.
69639
70542
  * @function decodeDelimited
69640
- * @memberof DeleteOrganizationFeeResponse
70543
+ * @memberof DeleteEventOrSeasonFeeResponse
69641
70544
  * @static
69642
70545
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
69643
- * @returns {DeleteOrganizationFeeResponse} DeleteOrganizationFeeResponse
70546
+ * @returns {DeleteEventOrSeasonFeeResponse} DeleteEventOrSeasonFeeResponse
69644
70547
  * @throws {Error} If the payload is not a reader or valid buffer
69645
70548
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
69646
70549
  */
69647
- DeleteOrganizationFeeResponse.decodeDelimited = function decodeDelimited(reader) {
70550
+ DeleteEventOrSeasonFeeResponse.decodeDelimited = function decodeDelimited(reader) {
69648
70551
  if (!(reader instanceof $Reader))
69649
70552
  reader = new $Reader(reader);
69650
70553
  return this.decode(reader, reader.uint32());
69651
70554
  };
69652
70555
 
69653
70556
  /**
69654
- * Verifies a DeleteOrganizationFeeResponse message.
70557
+ * Verifies a DeleteEventOrSeasonFeeResponse message.
69655
70558
  * @function verify
69656
- * @memberof DeleteOrganizationFeeResponse
70559
+ * @memberof DeleteEventOrSeasonFeeResponse
69657
70560
  * @static
69658
70561
  * @param {Object.<string,*>} message Plain object to verify
69659
70562
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
69660
70563
  */
69661
- DeleteOrganizationFeeResponse.verify = function verify(message) {
70564
+ DeleteEventOrSeasonFeeResponse.verify = function verify(message) {
69662
70565
  if (typeof message !== "object" || message === null)
69663
70566
  return "object expected";
69664
70567
  if (message.status != null && message.hasOwnProperty("status"))
@@ -69688,17 +70591,17 @@ $root.DeleteOrganizationFeeResponse = (function() {
69688
70591
  };
69689
70592
 
69690
70593
  /**
69691
- * Creates a DeleteOrganizationFeeResponse message from a plain object. Also converts values to their respective internal types.
70594
+ * Creates a DeleteEventOrSeasonFeeResponse message from a plain object. Also converts values to their respective internal types.
69692
70595
  * @function fromObject
69693
- * @memberof DeleteOrganizationFeeResponse
70596
+ * @memberof DeleteEventOrSeasonFeeResponse
69694
70597
  * @static
69695
70598
  * @param {Object.<string,*>} object Plain object
69696
- * @returns {DeleteOrganizationFeeResponse} DeleteOrganizationFeeResponse
70599
+ * @returns {DeleteEventOrSeasonFeeResponse} DeleteEventOrSeasonFeeResponse
69697
70600
  */
69698
- DeleteOrganizationFeeResponse.fromObject = function fromObject(object) {
69699
- if (object instanceof $root.DeleteOrganizationFeeResponse)
70601
+ DeleteEventOrSeasonFeeResponse.fromObject = function fromObject(object) {
70602
+ if (object instanceof $root.DeleteEventOrSeasonFeeResponse)
69700
70603
  return object;
69701
- var message = new $root.DeleteOrganizationFeeResponse();
70604
+ var message = new $root.DeleteEventOrSeasonFeeResponse();
69702
70605
  switch (object.status) {
69703
70606
  case "UNKNOWN_CODE":
69704
70607
  case 0:
@@ -69735,11 +70638,11 @@ $root.DeleteOrganizationFeeResponse = (function() {
69735
70638
  }
69736
70639
  if (object.errors) {
69737
70640
  if (!Array.isArray(object.errors))
69738
- throw TypeError(".DeleteOrganizationFeeResponse.errors: array expected");
70641
+ throw TypeError(".DeleteEventOrSeasonFeeResponse.errors: array expected");
69739
70642
  message.errors = [];
69740
70643
  for (var i = 0; i < object.errors.length; ++i) {
69741
70644
  if (typeof object.errors[i] !== "object")
69742
- throw TypeError(".DeleteOrganizationFeeResponse.errors: object expected");
70645
+ throw TypeError(".DeleteEventOrSeasonFeeResponse.errors: object expected");
69743
70646
  message.errors[i] = $root.Error.fromObject(object.errors[i]);
69744
70647
  }
69745
70648
  }
@@ -69747,15 +70650,15 @@ $root.DeleteOrganizationFeeResponse = (function() {
69747
70650
  };
69748
70651
 
69749
70652
  /**
69750
- * Creates a plain object from a DeleteOrganizationFeeResponse message. Also converts values to other types if specified.
70653
+ * Creates a plain object from a DeleteEventOrSeasonFeeResponse message. Also converts values to other types if specified.
69751
70654
  * @function toObject
69752
- * @memberof DeleteOrganizationFeeResponse
70655
+ * @memberof DeleteEventOrSeasonFeeResponse
69753
70656
  * @static
69754
- * @param {DeleteOrganizationFeeResponse} message DeleteOrganizationFeeResponse
70657
+ * @param {DeleteEventOrSeasonFeeResponse} message DeleteEventOrSeasonFeeResponse
69755
70658
  * @param {$protobuf.IConversionOptions} [options] Conversion options
69756
70659
  * @returns {Object.<string,*>} Plain object
69757
70660
  */
69758
- DeleteOrganizationFeeResponse.toObject = function toObject(message, options) {
70661
+ DeleteEventOrSeasonFeeResponse.toObject = function toObject(message, options) {
69759
70662
  if (!options)
69760
70663
  options = {};
69761
70664
  var object = {};
@@ -69774,17 +70677,17 @@ $root.DeleteOrganizationFeeResponse = (function() {
69774
70677
  };
69775
70678
 
69776
70679
  /**
69777
- * Converts this DeleteOrganizationFeeResponse to JSON.
70680
+ * Converts this DeleteEventOrSeasonFeeResponse to JSON.
69778
70681
  * @function toJSON
69779
- * @memberof DeleteOrganizationFeeResponse
70682
+ * @memberof DeleteEventOrSeasonFeeResponse
69780
70683
  * @instance
69781
70684
  * @returns {Object.<string,*>} JSON object
69782
70685
  */
69783
- DeleteOrganizationFeeResponse.prototype.toJSON = function toJSON() {
70686
+ DeleteEventOrSeasonFeeResponse.prototype.toJSON = function toJSON() {
69784
70687
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
69785
70688
  };
69786
70689
 
69787
- return DeleteOrganizationFeeResponse;
70690
+ return DeleteEventOrSeasonFeeResponse;
69788
70691
  })();
69789
70692
 
69790
70693
  $root.DeletePlatformFeeRequest = (function() {
@@ -70853,6 +71756,39 @@ $root.FeeService = (function() {
70853
71756
  * @variation 2
70854
71757
  */
70855
71758
 
71759
+ /**
71760
+ * Callback as used by {@link FeeService#createEventOrSeasonFee}.
71761
+ * @memberof FeeService
71762
+ * @typedef createEventOrSeasonFeeCallback
71763
+ * @type {function}
71764
+ * @param {Error|null} error Error, if any
71765
+ * @param {CreateFeeResponse} [response] CreateFeeResponse
71766
+ */
71767
+
71768
+ /**
71769
+ * Calls createEventOrSeasonFee.
71770
+ * @function createEventOrSeasonFee
71771
+ * @memberof FeeService
71772
+ * @instance
71773
+ * @param {ICreateFeeRequest} request CreateFeeRequest message or plain object
71774
+ * @param {FeeService.createEventOrSeasonFeeCallback} callback Node-style callback called with the error, if any, and CreateFeeResponse
71775
+ * @returns {undefined}
71776
+ * @variation 1
71777
+ */
71778
+ Object.defineProperty(FeeService.prototype.createEventOrSeasonFee = function createEventOrSeasonFee(request, callback) {
71779
+ return this.rpcCall(createEventOrSeasonFee, $root.CreateFeeRequest, $root.CreateFeeResponse, request, callback);
71780
+ }, "name", { value: "createEventOrSeasonFee" });
71781
+
71782
+ /**
71783
+ * Calls createEventOrSeasonFee.
71784
+ * @function createEventOrSeasonFee
71785
+ * @memberof FeeService
71786
+ * @instance
71787
+ * @param {ICreateFeeRequest} request CreateFeeRequest message or plain object
71788
+ * @returns {Promise<CreateFeeResponse>} Promise
71789
+ * @variation 2
71790
+ */
71791
+
70856
71792
  /**
70857
71793
  * Callback as used by {@link FeeService#createPlatformFee}.
70858
71794
  * @memberof FeeService
@@ -70985,6 +71921,39 @@ $root.FeeService = (function() {
70985
71921
  * @variation 2
70986
71922
  */
70987
71923
 
71924
+ /**
71925
+ * Callback as used by {@link FeeService#updateEventOrSeasonFee}.
71926
+ * @memberof FeeService
71927
+ * @typedef updateEventOrSeasonFeeCallback
71928
+ * @type {function}
71929
+ * @param {Error|null} error Error, if any
71930
+ * @param {UpdateFeeResponse} [response] UpdateFeeResponse
71931
+ */
71932
+
71933
+ /**
71934
+ * Calls updateEventOrSeasonFee.
71935
+ * @function updateEventOrSeasonFee
71936
+ * @memberof FeeService
71937
+ * @instance
71938
+ * @param {IUpdateFeeRequest} request UpdateFeeRequest message or plain object
71939
+ * @param {FeeService.updateEventOrSeasonFeeCallback} callback Node-style callback called with the error, if any, and UpdateFeeResponse
71940
+ * @returns {undefined}
71941
+ * @variation 1
71942
+ */
71943
+ Object.defineProperty(FeeService.prototype.updateEventOrSeasonFee = function updateEventOrSeasonFee(request, callback) {
71944
+ return this.rpcCall(updateEventOrSeasonFee, $root.UpdateFeeRequest, $root.UpdateFeeResponse, request, callback);
71945
+ }, "name", { value: "updateEventOrSeasonFee" });
71946
+
71947
+ /**
71948
+ * Calls updateEventOrSeasonFee.
71949
+ * @function updateEventOrSeasonFee
71950
+ * @memberof FeeService
71951
+ * @instance
71952
+ * @param {IUpdateFeeRequest} request UpdateFeeRequest message or plain object
71953
+ * @returns {Promise<UpdateFeeResponse>} Promise
71954
+ * @variation 2
71955
+ */
71956
+
70988
71957
  /**
70989
71958
  * Callback as used by {@link FeeService#updatePlatformFee}.
70990
71959
  * @memberof FeeService
@@ -71282,6 +72251,39 @@ $root.FeeService = (function() {
71282
72251
  * @variation 2
71283
72252
  */
71284
72253
 
72254
+ /**
72255
+ * Callback as used by {@link FeeService#deleteEventOrSeasonFee}.
72256
+ * @memberof FeeService
72257
+ * @typedef deleteEventOrSeasonFeeCallback
72258
+ * @type {function}
72259
+ * @param {Error|null} error Error, if any
72260
+ * @param {DeleteEventOrSeasonFeeResponse} [response] DeleteEventOrSeasonFeeResponse
72261
+ */
72262
+
72263
+ /**
72264
+ * Calls deleteEventOrSeasonFee.
72265
+ * @function deleteEventOrSeasonFee
72266
+ * @memberof FeeService
72267
+ * @instance
72268
+ * @param {IDeleteEventOrSeasonFeeRequest} request DeleteEventOrSeasonFeeRequest message or plain object
72269
+ * @param {FeeService.deleteEventOrSeasonFeeCallback} callback Node-style callback called with the error, if any, and DeleteEventOrSeasonFeeResponse
72270
+ * @returns {undefined}
72271
+ * @variation 1
72272
+ */
72273
+ Object.defineProperty(FeeService.prototype.deleteEventOrSeasonFee = function deleteEventOrSeasonFee(request, callback) {
72274
+ return this.rpcCall(deleteEventOrSeasonFee, $root.DeleteEventOrSeasonFeeRequest, $root.DeleteEventOrSeasonFeeResponse, request, callback);
72275
+ }, "name", { value: "deleteEventOrSeasonFee" });
72276
+
72277
+ /**
72278
+ * Calls deleteEventOrSeasonFee.
72279
+ * @function deleteEventOrSeasonFee
72280
+ * @memberof FeeService
72281
+ * @instance
72282
+ * @param {IDeleteEventOrSeasonFeeRequest} request DeleteEventOrSeasonFeeRequest message or plain object
72283
+ * @returns {Promise<DeleteEventOrSeasonFeeResponse>} Promise
72284
+ * @variation 2
72285
+ */
72286
+
71285
72287
  /**
71286
72288
  * Callback as used by {@link FeeService#deletePlatformFee}.
71287
72289
  * @memberof FeeService