@sellout/models 0.0.185 → 0.0.186

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.
@@ -109,6 +109,7 @@ const query = (0, graphql_tag_1.default) `
109
109
  updatedBy
110
110
  updatedAt
111
111
  disabled
112
+ amount
112
113
  }
113
114
  createdAt
114
115
  stripeChargeId
@@ -1 +1 @@
1
- {"version":3,"file":"order.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/order.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyJb,wBAAK,CAAC,SAAS,CAAC,OAAO;IACvB,wBAAK,CAAC,SAAS,CAAC,QAAQ;CAC3B,CAAC;AAEF,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"order.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/order.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0Jb,wBAAK,CAAC,SAAS,CAAC,OAAO;IACvB,wBAAK,CAAC,SAAS,CAAC,QAAQ;CAC3B,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -97,6 +97,7 @@ const query = (0, graphql_tag_1.default) `
97
97
  updatedBy
98
98
  updatedAt
99
99
  disabled
100
+ amount
100
101
  }
101
102
  createdAt
102
103
  stripeChargeId
@@ -1 +1 @@
1
- {"version":3,"file":"orders.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/orders.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2Hb,wBAAK,CAAC,SAAS,CAAC,OAAO;IACvB,wBAAK,CAAC,SAAS,CAAC,QAAQ;CAC3B,CAAC;AAEF,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"orders.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/orders.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4Hb,wBAAK,CAAC,SAAS,CAAC,OAAO;IACvB,wBAAK,CAAC,SAAS,CAAC,QAAQ;CAC3B,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -36,4 +36,5 @@ export default interface IFee {
36
36
  updatedBy?: string;
37
37
  updatedAt?: number;
38
38
  disabled: boolean;
39
+ amount?: string;
39
40
  }
@@ -266,7 +266,7 @@ declare const _default: {
266
266
  default: boolean;
267
267
  };
268
268
  amount: {
269
- type: NumberConstructor;
269
+ type: StringConstructor;
270
270
  required: boolean;
271
271
  };
272
272
  }[];
@@ -125,7 +125,7 @@ const Fees = {
125
125
  default: false,
126
126
  },
127
127
  amount: {
128
- type: Number,
128
+ type: String,
129
129
  required: false,
130
130
  },
131
131
  };
@@ -14894,7 +14894,7 @@ $root.orderFees = (function() {
14894
14894
  * @property {number|null} [updatedAt] orderFees updatedAt
14895
14895
  * @property {boolean|null} [disabled] orderFees disabled
14896
14896
  * @property {string|null} [seasonId] orderFees seasonId
14897
- * @property {number|null} [amount] orderFees amount
14897
+ * @property {string|null} [amount] orderFees amount
14898
14898
  */
14899
14899
 
14900
14900
  /**
@@ -15051,11 +15051,11 @@ $root.orderFees = (function() {
15051
15051
 
15052
15052
  /**
15053
15053
  * orderFees amount.
15054
- * @member {number} amount
15054
+ * @member {string} amount
15055
15055
  * @memberof orderFees
15056
15056
  * @instance
15057
15057
  */
15058
- orderFees.prototype.amount = 0;
15058
+ orderFees.prototype.amount = "";
15059
15059
 
15060
15060
  /**
15061
15061
  * Creates a new orderFees instance using the specified properties.
@@ -15117,7 +15117,7 @@ $root.orderFees = (function() {
15117
15117
  if (message.seasonId != null && Object.hasOwnProperty.call(message, "seasonId"))
15118
15118
  writer.uint32(/* id 16, wireType 2 =*/130).string(message.seasonId);
15119
15119
  if (message.amount != null && Object.hasOwnProperty.call(message, "amount"))
15120
- writer.uint32(/* id 17, wireType 0 =*/136).int32(message.amount);
15120
+ writer.uint32(/* id 17, wireType 2 =*/138).string(message.amount);
15121
15121
  return writer;
15122
15122
  };
15123
15123
 
@@ -15206,7 +15206,7 @@ $root.orderFees = (function() {
15206
15206
  message.seasonId = reader.string();
15207
15207
  break;
15208
15208
  case 17:
15209
- message.amount = reader.int32();
15209
+ message.amount = reader.string();
15210
15210
  break;
15211
15211
  default:
15212
15212
  reader.skipType(tag & 7);
@@ -15299,8 +15299,8 @@ $root.orderFees = (function() {
15299
15299
  if (!$util.isString(message.seasonId))
15300
15300
  return "seasonId: string expected";
15301
15301
  if (message.amount != null && message.hasOwnProperty("amount"))
15302
- if (!$util.isInteger(message.amount))
15303
- return "amount: integer expected";
15302
+ if (!$util.isString(message.amount))
15303
+ return "amount: string expected";
15304
15304
  return null;
15305
15305
  };
15306
15306
 
@@ -15356,7 +15356,7 @@ $root.orderFees = (function() {
15356
15356
  if (object.seasonId != null)
15357
15357
  message.seasonId = String(object.seasonId);
15358
15358
  if (object.amount != null)
15359
- message.amount = object.amount | 0;
15359
+ message.amount = String(object.amount);
15360
15360
  return message;
15361
15361
  };
15362
15362
 
@@ -15392,7 +15392,7 @@ $root.orderFees = (function() {
15392
15392
  object.updatedAt = 0;
15393
15393
  object.disabled = false;
15394
15394
  object.seasonId = "";
15395
- object.amount = 0;
15395
+ object.amount = "";
15396
15396
  }
15397
15397
  if (message._id != null && message.hasOwnProperty("_id"))
15398
15398
  object._id = message._id;
@@ -29499,6 +29499,303 @@ $root.FindOrderByEventIdResponse = (function() {
29499
29499
  return FindOrderByEventIdResponse;
29500
29500
  })();
29501
29501
 
29502
+ $root.FindEventOrderCountResponse = (function() {
29503
+
29504
+ /**
29505
+ * Properties of a FindEventOrderCountResponse.
29506
+ * @exports IFindEventOrderCountResponse
29507
+ * @interface IFindEventOrderCountResponse
29508
+ * @property {StatusCode|null} [status] FindEventOrderCountResponse status
29509
+ * @property {Array.<IError>|null} [errors] FindEventOrderCountResponse errors
29510
+ * @property {number|null} [eventOrderCount] FindEventOrderCountResponse eventOrderCount
29511
+ */
29512
+
29513
+ /**
29514
+ * Constructs a new FindEventOrderCountResponse.
29515
+ * @exports FindEventOrderCountResponse
29516
+ * @classdesc Represents a FindEventOrderCountResponse.
29517
+ * @implements IFindEventOrderCountResponse
29518
+ * @constructor
29519
+ * @param {IFindEventOrderCountResponse=} [properties] Properties to set
29520
+ */
29521
+ function FindEventOrderCountResponse(properties) {
29522
+ this.errors = [];
29523
+ if (properties)
29524
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
29525
+ if (properties[keys[i]] != null)
29526
+ this[keys[i]] = properties[keys[i]];
29527
+ }
29528
+
29529
+ /**
29530
+ * FindEventOrderCountResponse status.
29531
+ * @member {StatusCode} status
29532
+ * @memberof FindEventOrderCountResponse
29533
+ * @instance
29534
+ */
29535
+ FindEventOrderCountResponse.prototype.status = 0;
29536
+
29537
+ /**
29538
+ * FindEventOrderCountResponse errors.
29539
+ * @member {Array.<IError>} errors
29540
+ * @memberof FindEventOrderCountResponse
29541
+ * @instance
29542
+ */
29543
+ FindEventOrderCountResponse.prototype.errors = $util.emptyArray;
29544
+
29545
+ /**
29546
+ * FindEventOrderCountResponse eventOrderCount.
29547
+ * @member {number} eventOrderCount
29548
+ * @memberof FindEventOrderCountResponse
29549
+ * @instance
29550
+ */
29551
+ FindEventOrderCountResponse.prototype.eventOrderCount = 0;
29552
+
29553
+ /**
29554
+ * Creates a new FindEventOrderCountResponse instance using the specified properties.
29555
+ * @function create
29556
+ * @memberof FindEventOrderCountResponse
29557
+ * @static
29558
+ * @param {IFindEventOrderCountResponse=} [properties] Properties to set
29559
+ * @returns {FindEventOrderCountResponse} FindEventOrderCountResponse instance
29560
+ */
29561
+ FindEventOrderCountResponse.create = function create(properties) {
29562
+ return new FindEventOrderCountResponse(properties);
29563
+ };
29564
+
29565
+ /**
29566
+ * Encodes the specified FindEventOrderCountResponse message. Does not implicitly {@link FindEventOrderCountResponse.verify|verify} messages.
29567
+ * @function encode
29568
+ * @memberof FindEventOrderCountResponse
29569
+ * @static
29570
+ * @param {IFindEventOrderCountResponse} message FindEventOrderCountResponse message or plain object to encode
29571
+ * @param {$protobuf.Writer} [writer] Writer to encode to
29572
+ * @returns {$protobuf.Writer} Writer
29573
+ */
29574
+ FindEventOrderCountResponse.encode = function encode(message, writer) {
29575
+ if (!writer)
29576
+ writer = $Writer.create();
29577
+ if (message.status != null && Object.hasOwnProperty.call(message, "status"))
29578
+ writer.uint32(/* id 0, wireType 0 =*/0).int32(message.status);
29579
+ if (message.errors != null && message.errors.length)
29580
+ for (var i = 0; i < message.errors.length; ++i)
29581
+ $root.Error.encode(message.errors[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
29582
+ if (message.eventOrderCount != null && Object.hasOwnProperty.call(message, "eventOrderCount"))
29583
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.eventOrderCount);
29584
+ return writer;
29585
+ };
29586
+
29587
+ /**
29588
+ * Encodes the specified FindEventOrderCountResponse message, length delimited. Does not implicitly {@link FindEventOrderCountResponse.verify|verify} messages.
29589
+ * @function encodeDelimited
29590
+ * @memberof FindEventOrderCountResponse
29591
+ * @static
29592
+ * @param {IFindEventOrderCountResponse} message FindEventOrderCountResponse message or plain object to encode
29593
+ * @param {$protobuf.Writer} [writer] Writer to encode to
29594
+ * @returns {$protobuf.Writer} Writer
29595
+ */
29596
+ FindEventOrderCountResponse.encodeDelimited = function encodeDelimited(message, writer) {
29597
+ return this.encode(message, writer).ldelim();
29598
+ };
29599
+
29600
+ /**
29601
+ * Decodes a FindEventOrderCountResponse message from the specified reader or buffer.
29602
+ * @function decode
29603
+ * @memberof FindEventOrderCountResponse
29604
+ * @static
29605
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
29606
+ * @param {number} [length] Message length if known beforehand
29607
+ * @returns {FindEventOrderCountResponse} FindEventOrderCountResponse
29608
+ * @throws {Error} If the payload is not a reader or valid buffer
29609
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29610
+ */
29611
+ FindEventOrderCountResponse.decode = function decode(reader, length) {
29612
+ if (!(reader instanceof $Reader))
29613
+ reader = $Reader.create(reader);
29614
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.FindEventOrderCountResponse();
29615
+ while (reader.pos < end) {
29616
+ var tag = reader.uint32();
29617
+ switch (tag >>> 3) {
29618
+ case 0:
29619
+ message.status = reader.int32();
29620
+ break;
29621
+ case 1:
29622
+ if (!(message.errors && message.errors.length))
29623
+ message.errors = [];
29624
+ message.errors.push($root.Error.decode(reader, reader.uint32()));
29625
+ break;
29626
+ case 2:
29627
+ message.eventOrderCount = reader.int32();
29628
+ break;
29629
+ default:
29630
+ reader.skipType(tag & 7);
29631
+ break;
29632
+ }
29633
+ }
29634
+ return message;
29635
+ };
29636
+
29637
+ /**
29638
+ * Decodes a FindEventOrderCountResponse message from the specified reader or buffer, length delimited.
29639
+ * @function decodeDelimited
29640
+ * @memberof FindEventOrderCountResponse
29641
+ * @static
29642
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
29643
+ * @returns {FindEventOrderCountResponse} FindEventOrderCountResponse
29644
+ * @throws {Error} If the payload is not a reader or valid buffer
29645
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29646
+ */
29647
+ FindEventOrderCountResponse.decodeDelimited = function decodeDelimited(reader) {
29648
+ if (!(reader instanceof $Reader))
29649
+ reader = new $Reader(reader);
29650
+ return this.decode(reader, reader.uint32());
29651
+ };
29652
+
29653
+ /**
29654
+ * Verifies a FindEventOrderCountResponse message.
29655
+ * @function verify
29656
+ * @memberof FindEventOrderCountResponse
29657
+ * @static
29658
+ * @param {Object.<string,*>} message Plain object to verify
29659
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
29660
+ */
29661
+ FindEventOrderCountResponse.verify = function verify(message) {
29662
+ if (typeof message !== "object" || message === null)
29663
+ return "object expected";
29664
+ if (message.status != null && message.hasOwnProperty("status"))
29665
+ switch (message.status) {
29666
+ default:
29667
+ return "status: enum value expected";
29668
+ case 0:
29669
+ case 200:
29670
+ case 400:
29671
+ case 401:
29672
+ case 403:
29673
+ case 422:
29674
+ case 500:
29675
+ case 504:
29676
+ break;
29677
+ }
29678
+ if (message.errors != null && message.hasOwnProperty("errors")) {
29679
+ if (!Array.isArray(message.errors))
29680
+ return "errors: array expected";
29681
+ for (var i = 0; i < message.errors.length; ++i) {
29682
+ var error = $root.Error.verify(message.errors[i]);
29683
+ if (error)
29684
+ return "errors." + error;
29685
+ }
29686
+ }
29687
+ if (message.eventOrderCount != null && message.hasOwnProperty("eventOrderCount"))
29688
+ if (!$util.isInteger(message.eventOrderCount))
29689
+ return "eventOrderCount: integer expected";
29690
+ return null;
29691
+ };
29692
+
29693
+ /**
29694
+ * Creates a FindEventOrderCountResponse message from a plain object. Also converts values to their respective internal types.
29695
+ * @function fromObject
29696
+ * @memberof FindEventOrderCountResponse
29697
+ * @static
29698
+ * @param {Object.<string,*>} object Plain object
29699
+ * @returns {FindEventOrderCountResponse} FindEventOrderCountResponse
29700
+ */
29701
+ FindEventOrderCountResponse.fromObject = function fromObject(object) {
29702
+ if (object instanceof $root.FindEventOrderCountResponse)
29703
+ return object;
29704
+ var message = new $root.FindEventOrderCountResponse();
29705
+ switch (object.status) {
29706
+ case "UNKNOWN_CODE":
29707
+ case 0:
29708
+ message.status = 0;
29709
+ break;
29710
+ case "OK":
29711
+ case 200:
29712
+ message.status = 200;
29713
+ break;
29714
+ case "BAD_REQUEST":
29715
+ case 400:
29716
+ message.status = 400;
29717
+ break;
29718
+ case "UNAUTHORIZED":
29719
+ case 401:
29720
+ message.status = 401;
29721
+ break;
29722
+ case "FORBIDDEN":
29723
+ case 403:
29724
+ message.status = 403;
29725
+ break;
29726
+ case "UNPROCESSABLE_ENTITY":
29727
+ case 422:
29728
+ message.status = 422;
29729
+ break;
29730
+ case "INTERNAL_SERVER_ERROR":
29731
+ case 500:
29732
+ message.status = 500;
29733
+ break;
29734
+ case "GATEWAY_TIMEOUT":
29735
+ case 504:
29736
+ message.status = 504;
29737
+ break;
29738
+ }
29739
+ if (object.errors) {
29740
+ if (!Array.isArray(object.errors))
29741
+ throw TypeError(".FindEventOrderCountResponse.errors: array expected");
29742
+ message.errors = [];
29743
+ for (var i = 0; i < object.errors.length; ++i) {
29744
+ if (typeof object.errors[i] !== "object")
29745
+ throw TypeError(".FindEventOrderCountResponse.errors: object expected");
29746
+ message.errors[i] = $root.Error.fromObject(object.errors[i]);
29747
+ }
29748
+ }
29749
+ if (object.eventOrderCount != null)
29750
+ message.eventOrderCount = object.eventOrderCount | 0;
29751
+ return message;
29752
+ };
29753
+
29754
+ /**
29755
+ * Creates a plain object from a FindEventOrderCountResponse message. Also converts values to other types if specified.
29756
+ * @function toObject
29757
+ * @memberof FindEventOrderCountResponse
29758
+ * @static
29759
+ * @param {FindEventOrderCountResponse} message FindEventOrderCountResponse
29760
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
29761
+ * @returns {Object.<string,*>} Plain object
29762
+ */
29763
+ FindEventOrderCountResponse.toObject = function toObject(message, options) {
29764
+ if (!options)
29765
+ options = {};
29766
+ var object = {};
29767
+ if (options.arrays || options.defaults)
29768
+ object.errors = [];
29769
+ if (options.defaults) {
29770
+ object.status = options.enums === String ? "UNKNOWN_CODE" : 0;
29771
+ object.eventOrderCount = 0;
29772
+ }
29773
+ if (message.status != null && message.hasOwnProperty("status"))
29774
+ object.status = options.enums === String ? $root.StatusCode[message.status] : message.status;
29775
+ if (message.errors && message.errors.length) {
29776
+ object.errors = [];
29777
+ for (var j = 0; j < message.errors.length; ++j)
29778
+ object.errors[j] = $root.Error.toObject(message.errors[j], options);
29779
+ }
29780
+ if (message.eventOrderCount != null && message.hasOwnProperty("eventOrderCount"))
29781
+ object.eventOrderCount = message.eventOrderCount;
29782
+ return object;
29783
+ };
29784
+
29785
+ /**
29786
+ * Converts this FindEventOrderCountResponse to JSON.
29787
+ * @function toJSON
29788
+ * @memberof FindEventOrderCountResponse
29789
+ * @instance
29790
+ * @returns {Object.<string,*>} JSON object
29791
+ */
29792
+ FindEventOrderCountResponse.prototype.toJSON = function toJSON() {
29793
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
29794
+ };
29795
+
29796
+ return FindEventOrderCountResponse;
29797
+ })();
29798
+
29502
29799
  $root.FindOrderByFeeIdRequest = (function() {
29503
29800
 
29504
29801
  /**
@@ -35674,6 +35971,39 @@ $root.OrderService = (function() {
35674
35971
  * @variation 2
35675
35972
  */
35676
35973
 
35974
+ /**
35975
+ * Callback as used by {@link OrderService#generateActivityReport}.
35976
+ * @memberof OrderService
35977
+ * @typedef generateActivityReportCallback
35978
+ * @type {function}
35979
+ * @param {Error|null} error Error, if any
35980
+ * @param {GenerateOrderReportResponse} [response] GenerateOrderReportResponse
35981
+ */
35982
+
35983
+ /**
35984
+ * Calls generateActivityReport.
35985
+ * @function generateActivityReport
35986
+ * @memberof OrderService
35987
+ * @instance
35988
+ * @param {IGenerateOrderReportRequest} request GenerateOrderReportRequest message or plain object
35989
+ * @param {OrderService.generateActivityReportCallback} callback Node-style callback called with the error, if any, and GenerateOrderReportResponse
35990
+ * @returns {undefined}
35991
+ * @variation 1
35992
+ */
35993
+ Object.defineProperty(OrderService.prototype.generateActivityReport = function generateActivityReport(request, callback) {
35994
+ return this.rpcCall(generateActivityReport, $root.GenerateOrderReportRequest, $root.GenerateOrderReportResponse, request, callback);
35995
+ }, "name", { value: "generateActivityReport" });
35996
+
35997
+ /**
35998
+ * Calls generateActivityReport.
35999
+ * @function generateActivityReport
36000
+ * @memberof OrderService
36001
+ * @instance
36002
+ * @param {IGenerateOrderReportRequest} request GenerateOrderReportRequest message or plain object
36003
+ * @returns {Promise<GenerateOrderReportResponse>} Promise
36004
+ * @variation 2
36005
+ */
36006
+
35677
36007
  /**
35678
36008
  * Callback as used by {@link OrderService#queryOrders}.
35679
36009
  * @memberof OrderService
@@ -35773,6 +36103,39 @@ $root.OrderService = (function() {
35773
36103
  * @variation 2
35774
36104
  */
35775
36105
 
36106
+ /**
36107
+ * Callback as used by {@link OrderService#eventOrderCount}.
36108
+ * @memberof OrderService
36109
+ * @typedef eventOrderCountCallback
36110
+ * @type {function}
36111
+ * @param {Error|null} error Error, if any
36112
+ * @param {FindEventOrderCountResponse} [response] FindEventOrderCountResponse
36113
+ */
36114
+
36115
+ /**
36116
+ * Calls eventOrderCount.
36117
+ * @function eventOrderCount
36118
+ * @memberof OrderService
36119
+ * @instance
36120
+ * @param {IFindOrderByEventIdRequest} request FindOrderByEventIdRequest message or plain object
36121
+ * @param {OrderService.eventOrderCountCallback} callback Node-style callback called with the error, if any, and FindEventOrderCountResponse
36122
+ * @returns {undefined}
36123
+ * @variation 1
36124
+ */
36125
+ Object.defineProperty(OrderService.prototype.eventOrderCount = function eventOrderCount(request, callback) {
36126
+ return this.rpcCall(eventOrderCount, $root.FindOrderByEventIdRequest, $root.FindEventOrderCountResponse, request, callback);
36127
+ }, "name", { value: "eventOrderCount" });
36128
+
36129
+ /**
36130
+ * Calls eventOrderCount.
36131
+ * @function eventOrderCount
36132
+ * @memberof OrderService
36133
+ * @instance
36134
+ * @param {IFindOrderByEventIdRequest} request FindOrderByEventIdRequest message or plain object
36135
+ * @returns {Promise<FindEventOrderCountResponse>} Promise
36136
+ * @variation 2
36137
+ */
36138
+
35776
36139
  /**
35777
36140
  * Callback as used by {@link OrderService#findOrderByFeeId}.
35778
36141
  * @memberof OrderService
@@ -68259,6 +68622,7 @@ $root.Fee = (function() {
68259
68622
  * @property {number|null} [updatedAt] Fee updatedAt
68260
68623
  * @property {boolean|null} [disabled] Fee disabled
68261
68624
  * @property {string|null} [seasonId] Fee seasonId
68625
+ * @property {string|null} [amount] Fee amount
68262
68626
  */
68263
68627
 
68264
68628
  /**
@@ -68413,6 +68777,14 @@ $root.Fee = (function() {
68413
68777
  */
68414
68778
  Fee.prototype.seasonId = "";
68415
68779
 
68780
+ /**
68781
+ * Fee amount.
68782
+ * @member {string} amount
68783
+ * @memberof Fee
68784
+ * @instance
68785
+ */
68786
+ Fee.prototype.amount = "";
68787
+
68416
68788
  /**
68417
68789
  * Creates a new Fee instance using the specified properties.
68418
68790
  * @function create
@@ -68472,6 +68844,8 @@ $root.Fee = (function() {
68472
68844
  writer.uint32(/* id 15, wireType 0 =*/120).bool(message.disabled);
68473
68845
  if (message.seasonId != null && Object.hasOwnProperty.call(message, "seasonId"))
68474
68846
  writer.uint32(/* id 16, wireType 2 =*/130).string(message.seasonId);
68847
+ if (message.amount != null && Object.hasOwnProperty.call(message, "amount"))
68848
+ writer.uint32(/* id 17, wireType 2 =*/138).string(message.amount);
68475
68849
  return writer;
68476
68850
  };
68477
68851
 
@@ -68559,6 +68933,9 @@ $root.Fee = (function() {
68559
68933
  case 16:
68560
68934
  message.seasonId = reader.string();
68561
68935
  break;
68936
+ case 17:
68937
+ message.amount = reader.string();
68938
+ break;
68562
68939
  default:
68563
68940
  reader.skipType(tag & 7);
68564
68941
  break;
@@ -68649,6 +69026,9 @@ $root.Fee = (function() {
68649
69026
  if (message.seasonId != null && message.hasOwnProperty("seasonId"))
68650
69027
  if (!$util.isString(message.seasonId))
68651
69028
  return "seasonId: string expected";
69029
+ if (message.amount != null && message.hasOwnProperty("amount"))
69030
+ if (!$util.isString(message.amount))
69031
+ return "amount: string expected";
68652
69032
  return null;
68653
69033
  };
68654
69034
 
@@ -68703,6 +69083,8 @@ $root.Fee = (function() {
68703
69083
  message.disabled = Boolean(object.disabled);
68704
69084
  if (object.seasonId != null)
68705
69085
  message.seasonId = String(object.seasonId);
69086
+ if (object.amount != null)
69087
+ message.amount = String(object.amount);
68706
69088
  return message;
68707
69089
  };
68708
69090
 
@@ -68738,6 +69120,7 @@ $root.Fee = (function() {
68738
69120
  object.updatedAt = 0;
68739
69121
  object.disabled = false;
68740
69122
  object.seasonId = "";
69123
+ object.amount = "";
68741
69124
  }
68742
69125
  if (message._id != null && message.hasOwnProperty("_id"))
68743
69126
  object._id = message._id;
@@ -68776,6 +69159,8 @@ $root.Fee = (function() {
68776
69159
  object.disabled = message.disabled;
68777
69160
  if (message.seasonId != null && message.hasOwnProperty("seasonId"))
68778
69161
  object.seasonId = message.seasonId;
69162
+ if (message.amount != null && message.hasOwnProperty("amount"))
69163
+ object.amount = message.amount;
68779
69164
  return object;
68780
69165
  };
68781
69166