@sellout/models 0.0.185 → 0.0.186-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13009,7 +13009,6 @@ $root.Order = (function() {
13009
13009
  * @property {boolean|null} [hidden] Order hidden
13010
13010
  * @property {boolean|null} [printed] Order printed
13011
13011
  * @property {string|null} [parentSeasonOrderId] Order parentSeasonOrderId
13012
- * @property {Array.<IorderFees>|null} [fees] Order fees
13013
13012
  */
13014
13013
 
13015
13014
  /**
@@ -13029,7 +13028,6 @@ $root.Order = (function() {
13029
13028
  this.recipientEmails = [];
13030
13029
  this.customFields = [];
13031
13030
  this.payments = [];
13032
- this.fees = [];
13033
13031
  if (properties)
13034
13032
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
13035
13033
  if (properties[keys[i]] != null)
@@ -13284,14 +13282,6 @@ $root.Order = (function() {
13284
13282
  */
13285
13283
  Order.prototype.parentSeasonOrderId = "";
13286
13284
 
13287
- /**
13288
- * Order fees.
13289
- * @member {Array.<IorderFees>} fees
13290
- * @memberof Order
13291
- * @instance
13292
- */
13293
- Order.prototype.fees = $util.emptyArray;
13294
-
13295
13285
  /**
13296
13286
  * Creates a new Order instance using the specified properties.
13297
13287
  * @function create
@@ -13386,9 +13376,6 @@ $root.Order = (function() {
13386
13376
  writer.uint32(/* id 29, wireType 0 =*/232).bool(message.printed);
13387
13377
  if (message.parentSeasonOrderId != null && Object.hasOwnProperty.call(message, "parentSeasonOrderId"))
13388
13378
  writer.uint32(/* id 30, wireType 2 =*/242).string(message.parentSeasonOrderId);
13389
- if (message.fees != null && message.fees.length)
13390
- for (var i = 0; i < message.fees.length; ++i)
13391
- $root.orderFees.encode(message.fees[i], writer.uint32(/* id 31, wireType 2 =*/250).fork()).ldelim();
13392
13379
  return writer;
13393
13380
  };
13394
13381
 
@@ -13532,11 +13519,6 @@ $root.Order = (function() {
13532
13519
  case 30:
13533
13520
  message.parentSeasonOrderId = reader.string();
13534
13521
  break;
13535
- case 31:
13536
- if (!(message.fees && message.fees.length))
13537
- message.fees = [];
13538
- message.fees.push($root.orderFees.decode(reader, reader.uint32()));
13539
- break;
13540
13522
  default:
13541
13523
  reader.skipType(tag & 7);
13542
13524
  break;
@@ -13709,15 +13691,6 @@ $root.Order = (function() {
13709
13691
  if (message.parentSeasonOrderId != null && message.hasOwnProperty("parentSeasonOrderId"))
13710
13692
  if (!$util.isString(message.parentSeasonOrderId))
13711
13693
  return "parentSeasonOrderId: string expected";
13712
- if (message.fees != null && message.hasOwnProperty("fees")) {
13713
- if (!Array.isArray(message.fees))
13714
- return "fees: array expected";
13715
- for (var i = 0; i < message.fees.length; ++i) {
13716
- var error = $root.orderFees.verify(message.fees[i]);
13717
- if (error)
13718
- return "fees." + error;
13719
- }
13720
- }
13721
13694
  return null;
13722
13695
  };
13723
13696
 
@@ -13853,16 +13826,6 @@ $root.Order = (function() {
13853
13826
  message.printed = Boolean(object.printed);
13854
13827
  if (object.parentSeasonOrderId != null)
13855
13828
  message.parentSeasonOrderId = String(object.parentSeasonOrderId);
13856
- if (object.fees) {
13857
- if (!Array.isArray(object.fees))
13858
- throw TypeError(".Order.fees: array expected");
13859
- message.fees = [];
13860
- for (var i = 0; i < object.fees.length; ++i) {
13861
- if (typeof object.fees[i] !== "object")
13862
- throw TypeError(".Order.fees: object expected");
13863
- message.fees[i] = $root.orderFees.fromObject(object.fees[i]);
13864
- }
13865
- }
13866
13829
  return message;
13867
13830
  };
13868
13831
 
@@ -13888,7 +13851,6 @@ $root.Order = (function() {
13888
13851
  object.recipientEmails = [];
13889
13852
  object.customFields = [];
13890
13853
  object.payments = [];
13891
- object.fees = [];
13892
13854
  }
13893
13855
  if (options.defaults) {
13894
13856
  object._id = "";
@@ -14001,11 +13963,6 @@ $root.Order = (function() {
14001
13963
  object.printed = message.printed;
14002
13964
  if (message.parentSeasonOrderId != null && message.hasOwnProperty("parentSeasonOrderId"))
14003
13965
  object.parentSeasonOrderId = message.parentSeasonOrderId;
14004
- if (message.fees && message.fees.length) {
14005
- object.fees = [];
14006
- for (var j = 0; j < message.fees.length; ++j)
14007
- object.fees[j] = $root.orderFees.toObject(message.fees[j], options);
14008
- }
14009
13966
  return object;
14010
13967
  };
14011
13968
 
@@ -14871,585 +14828,6 @@ $root.OrderTicket = (function() {
14871
14828
  return OrderTicket;
14872
14829
  })();
14873
14830
 
14874
- $root.orderFees = (function() {
14875
-
14876
- /**
14877
- * Properties of an orderFees.
14878
- * @exports IorderFees
14879
- * @interface IorderFees
14880
- * @property {string|null} [_id] orderFees _id
14881
- * @property {string|null} [name] orderFees name
14882
- * @property {string|null} [orgId] orderFees orgId
14883
- * @property {string|null} [eventId] orderFees eventId
14884
- * @property {string|null} [type] orderFees type
14885
- * @property {number|null} [value] orderFees value
14886
- * @property {string|null} [appliedTo] orderFees appliedTo
14887
- * @property {string|null} [appliedBy] orderFees appliedBy
14888
- * @property {number|null} [minAppliedToPrice] orderFees minAppliedToPrice
14889
- * @property {number|null} [maxAppliedToPrice] orderFees maxAppliedToPrice
14890
- * @property {Array.<string>|null} [filters] orderFees filters
14891
- * @property {string|null} [createdBy] orderFees createdBy
14892
- * @property {number|null} [createdAt] orderFees createdAt
14893
- * @property {string|null} [updatedBy] orderFees updatedBy
14894
- * @property {number|null} [updatedAt] orderFees updatedAt
14895
- * @property {boolean|null} [disabled] orderFees disabled
14896
- * @property {string|null} [seasonId] orderFees seasonId
14897
- * @property {number|null} [amount] orderFees amount
14898
- */
14899
-
14900
- /**
14901
- * Constructs a new orderFees.
14902
- * @exports orderFees
14903
- * @classdesc Represents an orderFees.
14904
- * @implements IorderFees
14905
- * @constructor
14906
- * @param {IorderFees=} [properties] Properties to set
14907
- */
14908
- function orderFees(properties) {
14909
- this.filters = [];
14910
- if (properties)
14911
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
14912
- if (properties[keys[i]] != null)
14913
- this[keys[i]] = properties[keys[i]];
14914
- }
14915
-
14916
- /**
14917
- * orderFees _id.
14918
- * @member {string} _id
14919
- * @memberof orderFees
14920
- * @instance
14921
- */
14922
- orderFees.prototype._id = "";
14923
-
14924
- /**
14925
- * orderFees name.
14926
- * @member {string} name
14927
- * @memberof orderFees
14928
- * @instance
14929
- */
14930
- orderFees.prototype.name = "";
14931
-
14932
- /**
14933
- * orderFees orgId.
14934
- * @member {string} orgId
14935
- * @memberof orderFees
14936
- * @instance
14937
- */
14938
- orderFees.prototype.orgId = "";
14939
-
14940
- /**
14941
- * orderFees eventId.
14942
- * @member {string} eventId
14943
- * @memberof orderFees
14944
- * @instance
14945
- */
14946
- orderFees.prototype.eventId = "";
14947
-
14948
- /**
14949
- * orderFees type.
14950
- * @member {string} type
14951
- * @memberof orderFees
14952
- * @instance
14953
- */
14954
- orderFees.prototype.type = "";
14955
-
14956
- /**
14957
- * orderFees value.
14958
- * @member {number} value
14959
- * @memberof orderFees
14960
- * @instance
14961
- */
14962
- orderFees.prototype.value = 0;
14963
-
14964
- /**
14965
- * orderFees appliedTo.
14966
- * @member {string} appliedTo
14967
- * @memberof orderFees
14968
- * @instance
14969
- */
14970
- orderFees.prototype.appliedTo = "";
14971
-
14972
- /**
14973
- * orderFees appliedBy.
14974
- * @member {string} appliedBy
14975
- * @memberof orderFees
14976
- * @instance
14977
- */
14978
- orderFees.prototype.appliedBy = "";
14979
-
14980
- /**
14981
- * orderFees minAppliedToPrice.
14982
- * @member {number} minAppliedToPrice
14983
- * @memberof orderFees
14984
- * @instance
14985
- */
14986
- orderFees.prototype.minAppliedToPrice = 0;
14987
-
14988
- /**
14989
- * orderFees maxAppliedToPrice.
14990
- * @member {number} maxAppliedToPrice
14991
- * @memberof orderFees
14992
- * @instance
14993
- */
14994
- orderFees.prototype.maxAppliedToPrice = 0;
14995
-
14996
- /**
14997
- * orderFees filters.
14998
- * @member {Array.<string>} filters
14999
- * @memberof orderFees
15000
- * @instance
15001
- */
15002
- orderFees.prototype.filters = $util.emptyArray;
15003
-
15004
- /**
15005
- * orderFees createdBy.
15006
- * @member {string} createdBy
15007
- * @memberof orderFees
15008
- * @instance
15009
- */
15010
- orderFees.prototype.createdBy = "";
15011
-
15012
- /**
15013
- * orderFees createdAt.
15014
- * @member {number} createdAt
15015
- * @memberof orderFees
15016
- * @instance
15017
- */
15018
- orderFees.prototype.createdAt = 0;
15019
-
15020
- /**
15021
- * orderFees updatedBy.
15022
- * @member {string} updatedBy
15023
- * @memberof orderFees
15024
- * @instance
15025
- */
15026
- orderFees.prototype.updatedBy = "";
15027
-
15028
- /**
15029
- * orderFees updatedAt.
15030
- * @member {number} updatedAt
15031
- * @memberof orderFees
15032
- * @instance
15033
- */
15034
- orderFees.prototype.updatedAt = 0;
15035
-
15036
- /**
15037
- * orderFees disabled.
15038
- * @member {boolean} disabled
15039
- * @memberof orderFees
15040
- * @instance
15041
- */
15042
- orderFees.prototype.disabled = false;
15043
-
15044
- /**
15045
- * orderFees seasonId.
15046
- * @member {string} seasonId
15047
- * @memberof orderFees
15048
- * @instance
15049
- */
15050
- orderFees.prototype.seasonId = "";
15051
-
15052
- /**
15053
- * orderFees amount.
15054
- * @member {number} amount
15055
- * @memberof orderFees
15056
- * @instance
15057
- */
15058
- orderFees.prototype.amount = 0;
15059
-
15060
- /**
15061
- * Creates a new orderFees instance using the specified properties.
15062
- * @function create
15063
- * @memberof orderFees
15064
- * @static
15065
- * @param {IorderFees=} [properties] Properties to set
15066
- * @returns {orderFees} orderFees instance
15067
- */
15068
- orderFees.create = function create(properties) {
15069
- return new orderFees(properties);
15070
- };
15071
-
15072
- /**
15073
- * Encodes the specified orderFees message. Does not implicitly {@link orderFees.verify|verify} messages.
15074
- * @function encode
15075
- * @memberof orderFees
15076
- * @static
15077
- * @param {IorderFees} message orderFees message or plain object to encode
15078
- * @param {$protobuf.Writer} [writer] Writer to encode to
15079
- * @returns {$protobuf.Writer} Writer
15080
- */
15081
- orderFees.encode = function encode(message, writer) {
15082
- if (!writer)
15083
- writer = $Writer.create();
15084
- if (message._id != null && Object.hasOwnProperty.call(message, "_id"))
15085
- writer.uint32(/* id 0, wireType 2 =*/2).string(message._id);
15086
- if (message.name != null && Object.hasOwnProperty.call(message, "name"))
15087
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
15088
- if (message.orgId != null && Object.hasOwnProperty.call(message, "orgId"))
15089
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.orgId);
15090
- if (message.eventId != null && Object.hasOwnProperty.call(message, "eventId"))
15091
- writer.uint32(/* id 3, wireType 2 =*/26).string(message.eventId);
15092
- if (message.type != null && Object.hasOwnProperty.call(message, "type"))
15093
- writer.uint32(/* id 4, wireType 2 =*/34).string(message.type);
15094
- if (message.value != null && Object.hasOwnProperty.call(message, "value"))
15095
- writer.uint32(/* id 5, wireType 1 =*/41).double(message.value);
15096
- if (message.appliedTo != null && Object.hasOwnProperty.call(message, "appliedTo"))
15097
- writer.uint32(/* id 6, wireType 2 =*/50).string(message.appliedTo);
15098
- if (message.appliedBy != null && Object.hasOwnProperty.call(message, "appliedBy"))
15099
- writer.uint32(/* id 7, wireType 2 =*/58).string(message.appliedBy);
15100
- if (message.minAppliedToPrice != null && Object.hasOwnProperty.call(message, "minAppliedToPrice"))
15101
- writer.uint32(/* id 8, wireType 0 =*/64).int32(message.minAppliedToPrice);
15102
- if (message.maxAppliedToPrice != null && Object.hasOwnProperty.call(message, "maxAppliedToPrice"))
15103
- writer.uint32(/* id 9, wireType 0 =*/72).int32(message.maxAppliedToPrice);
15104
- if (message.filters != null && message.filters.length)
15105
- for (var i = 0; i < message.filters.length; ++i)
15106
- writer.uint32(/* id 10, wireType 2 =*/82).string(message.filters[i]);
15107
- if (message.createdBy != null && Object.hasOwnProperty.call(message, "createdBy"))
15108
- writer.uint32(/* id 11, wireType 2 =*/90).string(message.createdBy);
15109
- if (message.createdAt != null && Object.hasOwnProperty.call(message, "createdAt"))
15110
- writer.uint32(/* id 12, wireType 0 =*/96).int32(message.createdAt);
15111
- if (message.updatedBy != null && Object.hasOwnProperty.call(message, "updatedBy"))
15112
- writer.uint32(/* id 13, wireType 2 =*/106).string(message.updatedBy);
15113
- if (message.updatedAt != null && Object.hasOwnProperty.call(message, "updatedAt"))
15114
- writer.uint32(/* id 14, wireType 0 =*/112).int32(message.updatedAt);
15115
- if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled"))
15116
- writer.uint32(/* id 15, wireType 0 =*/120).bool(message.disabled);
15117
- if (message.seasonId != null && Object.hasOwnProperty.call(message, "seasonId"))
15118
- writer.uint32(/* id 16, wireType 2 =*/130).string(message.seasonId);
15119
- if (message.amount != null && Object.hasOwnProperty.call(message, "amount"))
15120
- writer.uint32(/* id 17, wireType 0 =*/136).int32(message.amount);
15121
- return writer;
15122
- };
15123
-
15124
- /**
15125
- * Encodes the specified orderFees message, length delimited. Does not implicitly {@link orderFees.verify|verify} messages.
15126
- * @function encodeDelimited
15127
- * @memberof orderFees
15128
- * @static
15129
- * @param {IorderFees} message orderFees message or plain object to encode
15130
- * @param {$protobuf.Writer} [writer] Writer to encode to
15131
- * @returns {$protobuf.Writer} Writer
15132
- */
15133
- orderFees.encodeDelimited = function encodeDelimited(message, writer) {
15134
- return this.encode(message, writer).ldelim();
15135
- };
15136
-
15137
- /**
15138
- * Decodes an orderFees message from the specified reader or buffer.
15139
- * @function decode
15140
- * @memberof orderFees
15141
- * @static
15142
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
15143
- * @param {number} [length] Message length if known beforehand
15144
- * @returns {orderFees} orderFees
15145
- * @throws {Error} If the payload is not a reader or valid buffer
15146
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
15147
- */
15148
- orderFees.decode = function decode(reader, length) {
15149
- if (!(reader instanceof $Reader))
15150
- reader = $Reader.create(reader);
15151
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.orderFees();
15152
- while (reader.pos < end) {
15153
- var tag = reader.uint32();
15154
- switch (tag >>> 3) {
15155
- case 0:
15156
- message._id = reader.string();
15157
- break;
15158
- case 1:
15159
- message.name = reader.string();
15160
- break;
15161
- case 2:
15162
- message.orgId = reader.string();
15163
- break;
15164
- case 3:
15165
- message.eventId = reader.string();
15166
- break;
15167
- case 4:
15168
- message.type = reader.string();
15169
- break;
15170
- case 5:
15171
- message.value = reader.double();
15172
- break;
15173
- case 6:
15174
- message.appliedTo = reader.string();
15175
- break;
15176
- case 7:
15177
- message.appliedBy = reader.string();
15178
- break;
15179
- case 8:
15180
- message.minAppliedToPrice = reader.int32();
15181
- break;
15182
- case 9:
15183
- message.maxAppliedToPrice = reader.int32();
15184
- break;
15185
- case 10:
15186
- if (!(message.filters && message.filters.length))
15187
- message.filters = [];
15188
- message.filters.push(reader.string());
15189
- break;
15190
- case 11:
15191
- message.createdBy = reader.string();
15192
- break;
15193
- case 12:
15194
- message.createdAt = reader.int32();
15195
- break;
15196
- case 13:
15197
- message.updatedBy = reader.string();
15198
- break;
15199
- case 14:
15200
- message.updatedAt = reader.int32();
15201
- break;
15202
- case 15:
15203
- message.disabled = reader.bool();
15204
- break;
15205
- case 16:
15206
- message.seasonId = reader.string();
15207
- break;
15208
- case 17:
15209
- message.amount = reader.int32();
15210
- break;
15211
- default:
15212
- reader.skipType(tag & 7);
15213
- break;
15214
- }
15215
- }
15216
- return message;
15217
- };
15218
-
15219
- /**
15220
- * Decodes an orderFees message from the specified reader or buffer, length delimited.
15221
- * @function decodeDelimited
15222
- * @memberof orderFees
15223
- * @static
15224
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
15225
- * @returns {orderFees} orderFees
15226
- * @throws {Error} If the payload is not a reader or valid buffer
15227
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
15228
- */
15229
- orderFees.decodeDelimited = function decodeDelimited(reader) {
15230
- if (!(reader instanceof $Reader))
15231
- reader = new $Reader(reader);
15232
- return this.decode(reader, reader.uint32());
15233
- };
15234
-
15235
- /**
15236
- * Verifies an orderFees message.
15237
- * @function verify
15238
- * @memberof orderFees
15239
- * @static
15240
- * @param {Object.<string,*>} message Plain object to verify
15241
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
15242
- */
15243
- orderFees.verify = function verify(message) {
15244
- if (typeof message !== "object" || message === null)
15245
- return "object expected";
15246
- if (message._id != null && message.hasOwnProperty("_id"))
15247
- if (!$util.isString(message._id))
15248
- return "_id: string expected";
15249
- if (message.name != null && message.hasOwnProperty("name"))
15250
- if (!$util.isString(message.name))
15251
- return "name: string expected";
15252
- if (message.orgId != null && message.hasOwnProperty("orgId"))
15253
- if (!$util.isString(message.orgId))
15254
- return "orgId: string expected";
15255
- if (message.eventId != null && message.hasOwnProperty("eventId"))
15256
- if (!$util.isString(message.eventId))
15257
- return "eventId: string expected";
15258
- if (message.type != null && message.hasOwnProperty("type"))
15259
- if (!$util.isString(message.type))
15260
- return "type: string expected";
15261
- if (message.value != null && message.hasOwnProperty("value"))
15262
- if (typeof message.value !== "number")
15263
- return "value: number expected";
15264
- if (message.appliedTo != null && message.hasOwnProperty("appliedTo"))
15265
- if (!$util.isString(message.appliedTo))
15266
- return "appliedTo: string expected";
15267
- if (message.appliedBy != null && message.hasOwnProperty("appliedBy"))
15268
- if (!$util.isString(message.appliedBy))
15269
- return "appliedBy: string expected";
15270
- if (message.minAppliedToPrice != null && message.hasOwnProperty("minAppliedToPrice"))
15271
- if (!$util.isInteger(message.minAppliedToPrice))
15272
- return "minAppliedToPrice: integer expected";
15273
- if (message.maxAppliedToPrice != null && message.hasOwnProperty("maxAppliedToPrice"))
15274
- if (!$util.isInteger(message.maxAppliedToPrice))
15275
- return "maxAppliedToPrice: integer expected";
15276
- if (message.filters != null && message.hasOwnProperty("filters")) {
15277
- if (!Array.isArray(message.filters))
15278
- return "filters: array expected";
15279
- for (var i = 0; i < message.filters.length; ++i)
15280
- if (!$util.isString(message.filters[i]))
15281
- return "filters: string[] expected";
15282
- }
15283
- if (message.createdBy != null && message.hasOwnProperty("createdBy"))
15284
- if (!$util.isString(message.createdBy))
15285
- return "createdBy: string expected";
15286
- if (message.createdAt != null && message.hasOwnProperty("createdAt"))
15287
- if (!$util.isInteger(message.createdAt))
15288
- return "createdAt: integer expected";
15289
- if (message.updatedBy != null && message.hasOwnProperty("updatedBy"))
15290
- if (!$util.isString(message.updatedBy))
15291
- return "updatedBy: string expected";
15292
- if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
15293
- if (!$util.isInteger(message.updatedAt))
15294
- return "updatedAt: integer expected";
15295
- if (message.disabled != null && message.hasOwnProperty("disabled"))
15296
- if (typeof message.disabled !== "boolean")
15297
- return "disabled: boolean expected";
15298
- if (message.seasonId != null && message.hasOwnProperty("seasonId"))
15299
- if (!$util.isString(message.seasonId))
15300
- return "seasonId: string expected";
15301
- if (message.amount != null && message.hasOwnProperty("amount"))
15302
- if (!$util.isInteger(message.amount))
15303
- return "amount: integer expected";
15304
- return null;
15305
- };
15306
-
15307
- /**
15308
- * Creates an orderFees message from a plain object. Also converts values to their respective internal types.
15309
- * @function fromObject
15310
- * @memberof orderFees
15311
- * @static
15312
- * @param {Object.<string,*>} object Plain object
15313
- * @returns {orderFees} orderFees
15314
- */
15315
- orderFees.fromObject = function fromObject(object) {
15316
- if (object instanceof $root.orderFees)
15317
- return object;
15318
- var message = new $root.orderFees();
15319
- if (object._id != null)
15320
- message._id = String(object._id);
15321
- if (object.name != null)
15322
- message.name = String(object.name);
15323
- if (object.orgId != null)
15324
- message.orgId = String(object.orgId);
15325
- if (object.eventId != null)
15326
- message.eventId = String(object.eventId);
15327
- if (object.type != null)
15328
- message.type = String(object.type);
15329
- if (object.value != null)
15330
- message.value = Number(object.value);
15331
- if (object.appliedTo != null)
15332
- message.appliedTo = String(object.appliedTo);
15333
- if (object.appliedBy != null)
15334
- message.appliedBy = String(object.appliedBy);
15335
- if (object.minAppliedToPrice != null)
15336
- message.minAppliedToPrice = object.minAppliedToPrice | 0;
15337
- if (object.maxAppliedToPrice != null)
15338
- message.maxAppliedToPrice = object.maxAppliedToPrice | 0;
15339
- if (object.filters) {
15340
- if (!Array.isArray(object.filters))
15341
- throw TypeError(".orderFees.filters: array expected");
15342
- message.filters = [];
15343
- for (var i = 0; i < object.filters.length; ++i)
15344
- message.filters[i] = String(object.filters[i]);
15345
- }
15346
- if (object.createdBy != null)
15347
- message.createdBy = String(object.createdBy);
15348
- if (object.createdAt != null)
15349
- message.createdAt = object.createdAt | 0;
15350
- if (object.updatedBy != null)
15351
- message.updatedBy = String(object.updatedBy);
15352
- if (object.updatedAt != null)
15353
- message.updatedAt = object.updatedAt | 0;
15354
- if (object.disabled != null)
15355
- message.disabled = Boolean(object.disabled);
15356
- if (object.seasonId != null)
15357
- message.seasonId = String(object.seasonId);
15358
- if (object.amount != null)
15359
- message.amount = object.amount | 0;
15360
- return message;
15361
- };
15362
-
15363
- /**
15364
- * Creates a plain object from an orderFees message. Also converts values to other types if specified.
15365
- * @function toObject
15366
- * @memberof orderFees
15367
- * @static
15368
- * @param {orderFees} message orderFees
15369
- * @param {$protobuf.IConversionOptions} [options] Conversion options
15370
- * @returns {Object.<string,*>} Plain object
15371
- */
15372
- orderFees.toObject = function toObject(message, options) {
15373
- if (!options)
15374
- options = {};
15375
- var object = {};
15376
- if (options.arrays || options.defaults)
15377
- object.filters = [];
15378
- if (options.defaults) {
15379
- object._id = "";
15380
- object.name = "";
15381
- object.orgId = "";
15382
- object.eventId = "";
15383
- object.type = "";
15384
- object.value = 0;
15385
- object.appliedTo = "";
15386
- object.appliedBy = "";
15387
- object.minAppliedToPrice = 0;
15388
- object.maxAppliedToPrice = 0;
15389
- object.createdBy = "";
15390
- object.createdAt = 0;
15391
- object.updatedBy = "";
15392
- object.updatedAt = 0;
15393
- object.disabled = false;
15394
- object.seasonId = "";
15395
- object.amount = 0;
15396
- }
15397
- if (message._id != null && message.hasOwnProperty("_id"))
15398
- object._id = message._id;
15399
- if (message.name != null && message.hasOwnProperty("name"))
15400
- object.name = message.name;
15401
- if (message.orgId != null && message.hasOwnProperty("orgId"))
15402
- object.orgId = message.orgId;
15403
- if (message.eventId != null && message.hasOwnProperty("eventId"))
15404
- object.eventId = message.eventId;
15405
- if (message.type != null && message.hasOwnProperty("type"))
15406
- object.type = message.type;
15407
- if (message.value != null && message.hasOwnProperty("value"))
15408
- object.value = options.json && !isFinite(message.value) ? String(message.value) : message.value;
15409
- if (message.appliedTo != null && message.hasOwnProperty("appliedTo"))
15410
- object.appliedTo = message.appliedTo;
15411
- if (message.appliedBy != null && message.hasOwnProperty("appliedBy"))
15412
- object.appliedBy = message.appliedBy;
15413
- if (message.minAppliedToPrice != null && message.hasOwnProperty("minAppliedToPrice"))
15414
- object.minAppliedToPrice = message.minAppliedToPrice;
15415
- if (message.maxAppliedToPrice != null && message.hasOwnProperty("maxAppliedToPrice"))
15416
- object.maxAppliedToPrice = message.maxAppliedToPrice;
15417
- if (message.filters && message.filters.length) {
15418
- object.filters = [];
15419
- for (var j = 0; j < message.filters.length; ++j)
15420
- object.filters[j] = message.filters[j];
15421
- }
15422
- if (message.createdBy != null && message.hasOwnProperty("createdBy"))
15423
- object.createdBy = message.createdBy;
15424
- if (message.createdAt != null && message.hasOwnProperty("createdAt"))
15425
- object.createdAt = message.createdAt;
15426
- if (message.updatedBy != null && message.hasOwnProperty("updatedBy"))
15427
- object.updatedBy = message.updatedBy;
15428
- if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
15429
- object.updatedAt = message.updatedAt;
15430
- if (message.disabled != null && message.hasOwnProperty("disabled"))
15431
- object.disabled = message.disabled;
15432
- if (message.seasonId != null && message.hasOwnProperty("seasonId"))
15433
- object.seasonId = message.seasonId;
15434
- if (message.amount != null && message.hasOwnProperty("amount"))
15435
- object.amount = message.amount;
15436
- return object;
15437
- };
15438
-
15439
- /**
15440
- * Converts this orderFees to JSON.
15441
- * @function toJSON
15442
- * @memberof orderFees
15443
- * @instance
15444
- * @returns {Object.<string,*>} JSON object
15445
- */
15446
- orderFees.prototype.toJSON = function toJSON() {
15447
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
15448
- };
15449
-
15450
- return orderFees;
15451
- })();
15452
-
15453
14831
  $root.TeiMemberInfoParams = (function() {
15454
14832
 
15455
14833
  /**
@@ -35185,7 +34563,7 @@ $root.OrderService = (function() {
35185
34563
  * @typedef sendSeasonOrderReceiptEmailCallback
35186
34564
  * @type {function}
35187
34565
  * @param {Error|null} error Error, if any
35188
- * @param {SendOrderReceiptEmailResponse} [response] SendOrderReceiptEmailResponse
34566
+ * @param {SendOrderQRCodeEmailResponse} [response] SendOrderQRCodeEmailResponse
35189
34567
  */
35190
34568
 
35191
34569
  /**
@@ -35193,13 +34571,13 @@ $root.OrderService = (function() {
35193
34571
  * @function sendSeasonOrderReceiptEmail
35194
34572
  * @memberof OrderService
35195
34573
  * @instance
35196
- * @param {ISendOrderReceiptEmailRequest} request SendOrderReceiptEmailRequest message or plain object
35197
- * @param {OrderService.sendSeasonOrderReceiptEmailCallback} callback Node-style callback called with the error, if any, and SendOrderReceiptEmailResponse
34574
+ * @param {ISendOrderQRCodeEmailRequest} request SendOrderQRCodeEmailRequest message or plain object
34575
+ * @param {OrderService.sendSeasonOrderReceiptEmailCallback} callback Node-style callback called with the error, if any, and SendOrderQRCodeEmailResponse
35198
34576
  * @returns {undefined}
35199
34577
  * @variation 1
35200
34578
  */
35201
34579
  Object.defineProperty(OrderService.prototype.sendSeasonOrderReceiptEmail = function sendSeasonOrderReceiptEmail(request, callback) {
35202
- return this.rpcCall(sendSeasonOrderReceiptEmail, $root.SendOrderReceiptEmailRequest, $root.SendOrderReceiptEmailResponse, request, callback);
34580
+ return this.rpcCall(sendSeasonOrderReceiptEmail, $root.SendOrderQRCodeEmailRequest, $root.SendOrderQRCodeEmailResponse, request, callback);
35203
34581
  }, "name", { value: "sendSeasonOrderReceiptEmail" });
35204
34582
 
35205
34583
  /**
@@ -35207,8 +34585,8 @@ $root.OrderService = (function() {
35207
34585
  * @function sendSeasonOrderReceiptEmail
35208
34586
  * @memberof OrderService
35209
34587
  * @instance
35210
- * @param {ISendOrderReceiptEmailRequest} request SendOrderReceiptEmailRequest message or plain object
35211
- * @returns {Promise<SendOrderReceiptEmailResponse>} Promise
34588
+ * @param {ISendOrderQRCodeEmailRequest} request SendOrderQRCodeEmailRequest message or plain object
34589
+ * @returns {Promise<SendOrderQRCodeEmailResponse>} Promise
35212
34590
  * @variation 2
35213
34591
  */
35214
34592
 
@@ -41457,6 +40835,7 @@ $root.QueueOrderRefundEmailRequest = (function() {
41457
40835
  * @property {string|null} [refundReason] QueueOrderRefundEmailRequest refundReason
41458
40836
  * @property {Array.<IdayIdsTimeObj>|null} [dayIdsTime] QueueOrderRefundEmailRequest dayIdsTime
41459
40837
  * @property {Array.<IdayIdsTimeObj>|null} [dayIdsTimeCalendar] QueueOrderRefundEmailRequest dayIdsTimeCalendar
40838
+ * @property {string|null} [timezone] QueueOrderRefundEmailRequest timezone
41460
40839
  */
41461
40840
 
41462
40841
  /**
@@ -41717,6 +41096,14 @@ $root.QueueOrderRefundEmailRequest = (function() {
41717
41096
  */
41718
41097
  QueueOrderRefundEmailRequest.prototype.dayIdsTimeCalendar = $util.emptyArray;
41719
41098
 
41099
+ /**
41100
+ * QueueOrderRefundEmailRequest timezone.
41101
+ * @member {string} timezone
41102
+ * @memberof QueueOrderRefundEmailRequest
41103
+ * @instance
41104
+ */
41105
+ QueueOrderRefundEmailRequest.prototype.timezone = "";
41106
+
41720
41107
  /**
41721
41108
  * Creates a new QueueOrderRefundEmailRequest instance using the specified properties.
41722
41109
  * @function create
@@ -41804,6 +41191,8 @@ $root.QueueOrderRefundEmailRequest = (function() {
41804
41191
  if (message.dayIdsTimeCalendar != null && message.dayIdsTimeCalendar.length)
41805
41192
  for (var i = 0; i < message.dayIdsTimeCalendar.length; ++i)
41806
41193
  $root.dayIdsTimeObj.encode(message.dayIdsTimeCalendar[i], writer.uint32(/* id 29, wireType 2 =*/234).fork()).ldelim();
41194
+ if (message.timezone != null && Object.hasOwnProperty.call(message, "timezone"))
41195
+ writer.uint32(/* id 30, wireType 2 =*/242).string(message.timezone);
41807
41196
  return writer;
41808
41197
  };
41809
41198
 
@@ -41934,6 +41323,9 @@ $root.QueueOrderRefundEmailRequest = (function() {
41934
41323
  message.dayIdsTimeCalendar = [];
41935
41324
  message.dayIdsTimeCalendar.push($root.dayIdsTimeObj.decode(reader, reader.uint32()));
41936
41325
  break;
41326
+ case 30:
41327
+ message.timezone = reader.string();
41328
+ break;
41937
41329
  default:
41938
41330
  reader.skipType(tag & 7);
41939
41331
  break;
@@ -42077,6 +41469,9 @@ $root.QueueOrderRefundEmailRequest = (function() {
42077
41469
  return "dayIdsTimeCalendar." + error;
42078
41470
  }
42079
41471
  }
41472
+ if (message.timezone != null && message.hasOwnProperty("timezone"))
41473
+ if (!$util.isString(message.timezone))
41474
+ return "timezone: string expected";
42080
41475
  return null;
42081
41476
  };
42082
41477
 
@@ -42176,6 +41571,8 @@ $root.QueueOrderRefundEmailRequest = (function() {
42176
41571
  message.dayIdsTimeCalendar[i] = $root.dayIdsTimeObj.fromObject(object.dayIdsTimeCalendar[i]);
42177
41572
  }
42178
41573
  }
41574
+ if (object.timezone != null)
41575
+ message.timezone = String(object.timezone);
42179
41576
  return message;
42180
41577
  };
42181
41578
 
@@ -42225,6 +41622,7 @@ $root.QueueOrderRefundEmailRequest = (function() {
42225
41622
  object.orderFeesRefunded = "";
42226
41623
  object.orderTotalRefunded = "";
42227
41624
  object.refundReason = "";
41625
+ object.timezone = "";
42228
41626
  }
42229
41627
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
42230
41628
  object.spanContext = message.spanContext;
@@ -42295,6 +41693,8 @@ $root.QueueOrderRefundEmailRequest = (function() {
42295
41693
  for (var j = 0; j < message.dayIdsTimeCalendar.length; ++j)
42296
41694
  object.dayIdsTimeCalendar[j] = $root.dayIdsTimeObj.toObject(message.dayIdsTimeCalendar[j], options);
42297
41695
  }
41696
+ if (message.timezone != null && message.hasOwnProperty("timezone"))
41697
+ object.timezone = message.timezone;
42298
41698
  return object;
42299
41699
  };
42300
41700
 
@@ -42348,6 +41748,7 @@ $root.QueueOrderCanceledEmailRequest = (function() {
42348
41748
  * @property {string|null} [refundReason] QueueOrderCanceledEmailRequest refundReason
42349
41749
  * @property {Array.<IdayIdsTimeObj>|null} [dayIdsTime] QueueOrderCanceledEmailRequest dayIdsTime
42350
41750
  * @property {Array.<IdayIdsTimeObj>|null} [dayIdsTimeCalendar] QueueOrderCanceledEmailRequest dayIdsTimeCalendar
41751
+ * @property {string|null} [timezone] QueueOrderCanceledEmailRequest timezone
42351
41752
  */
42352
41753
 
42353
41754
  /**
@@ -42608,6 +42009,14 @@ $root.QueueOrderCanceledEmailRequest = (function() {
42608
42009
  */
42609
42010
  QueueOrderCanceledEmailRequest.prototype.dayIdsTimeCalendar = $util.emptyArray;
42610
42011
 
42012
+ /**
42013
+ * QueueOrderCanceledEmailRequest timezone.
42014
+ * @member {string} timezone
42015
+ * @memberof QueueOrderCanceledEmailRequest
42016
+ * @instance
42017
+ */
42018
+ QueueOrderCanceledEmailRequest.prototype.timezone = "";
42019
+
42611
42020
  /**
42612
42021
  * Creates a new QueueOrderCanceledEmailRequest instance using the specified properties.
42613
42022
  * @function create
@@ -42695,6 +42104,8 @@ $root.QueueOrderCanceledEmailRequest = (function() {
42695
42104
  if (message.dayIdsTimeCalendar != null && message.dayIdsTimeCalendar.length)
42696
42105
  for (var i = 0; i < message.dayIdsTimeCalendar.length; ++i)
42697
42106
  $root.dayIdsTimeObj.encode(message.dayIdsTimeCalendar[i], writer.uint32(/* id 29, wireType 2 =*/234).fork()).ldelim();
42107
+ if (message.timezone != null && Object.hasOwnProperty.call(message, "timezone"))
42108
+ writer.uint32(/* id 30, wireType 2 =*/242).string(message.timezone);
42698
42109
  return writer;
42699
42110
  };
42700
42111
 
@@ -42825,6 +42236,9 @@ $root.QueueOrderCanceledEmailRequest = (function() {
42825
42236
  message.dayIdsTimeCalendar = [];
42826
42237
  message.dayIdsTimeCalendar.push($root.dayIdsTimeObj.decode(reader, reader.uint32()));
42827
42238
  break;
42239
+ case 30:
42240
+ message.timezone = reader.string();
42241
+ break;
42828
42242
  default:
42829
42243
  reader.skipType(tag & 7);
42830
42244
  break;
@@ -42968,6 +42382,9 @@ $root.QueueOrderCanceledEmailRequest = (function() {
42968
42382
  return "dayIdsTimeCalendar." + error;
42969
42383
  }
42970
42384
  }
42385
+ if (message.timezone != null && message.hasOwnProperty("timezone"))
42386
+ if (!$util.isString(message.timezone))
42387
+ return "timezone: string expected";
42971
42388
  return null;
42972
42389
  };
42973
42390
 
@@ -43067,6 +42484,8 @@ $root.QueueOrderCanceledEmailRequest = (function() {
43067
42484
  message.dayIdsTimeCalendar[i] = $root.dayIdsTimeObj.fromObject(object.dayIdsTimeCalendar[i]);
43068
42485
  }
43069
42486
  }
42487
+ if (object.timezone != null)
42488
+ message.timezone = String(object.timezone);
43070
42489
  return message;
43071
42490
  };
43072
42491
 
@@ -43116,6 +42535,7 @@ $root.QueueOrderCanceledEmailRequest = (function() {
43116
42535
  object.orderFeesRefunded = "";
43117
42536
  object.orderTotalRefunded = "";
43118
42537
  object.refundReason = "";
42538
+ object.timezone = "";
43119
42539
  }
43120
42540
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
43121
42541
  object.spanContext = message.spanContext;
@@ -43186,6 +42606,8 @@ $root.QueueOrderCanceledEmailRequest = (function() {
43186
42606
  for (var j = 0; j < message.dayIdsTimeCalendar.length; ++j)
43187
42607
  object.dayIdsTimeCalendar[j] = $root.dayIdsTimeObj.toObject(message.dayIdsTimeCalendar[j], options);
43188
42608
  }
42609
+ if (message.timezone != null && message.hasOwnProperty("timezone"))
42610
+ object.timezone = message.timezone;
43189
42611
  return object;
43190
42612
  };
43191
42613
 
@@ -45101,6 +44523,8 @@ $root.PublicEvent = (function() {
45101
44523
  * @property {number|null} [endsAt] PublicEvent endsAt
45102
44524
  * @property {string|null} [venue] PublicEvent venue
45103
44525
  * @property {string|null} [status] PublicEvent status
44526
+ * @property {string|null} [venueTimezone] PublicEvent venueTimezone
44527
+ * @property {number|null} [announceAt] PublicEvent announceAt
45104
44528
  */
45105
44529
 
45106
44530
  /**
@@ -45318,6 +44742,22 @@ $root.PublicEvent = (function() {
45318
44742
  */
45319
44743
  PublicEvent.prototype.status = "";
45320
44744
 
44745
+ /**
44746
+ * PublicEvent venueTimezone.
44747
+ * @member {string} venueTimezone
44748
+ * @memberof PublicEvent
44749
+ * @instance
44750
+ */
44751
+ PublicEvent.prototype.venueTimezone = "";
44752
+
44753
+ /**
44754
+ * PublicEvent announceAt.
44755
+ * @member {number} announceAt
44756
+ * @memberof PublicEvent
44757
+ * @instance
44758
+ */
44759
+ PublicEvent.prototype.announceAt = 0;
44760
+
45321
44761
  /**
45322
44762
  * Creates a new PublicEvent instance using the specified properties.
45323
44763
  * @function create
@@ -45392,6 +44832,10 @@ $root.PublicEvent = (function() {
45392
44832
  writer.uint32(/* id 24, wireType 2 =*/194).string(message.venue);
45393
44833
  if (message.status != null && Object.hasOwnProperty.call(message, "status"))
45394
44834
  writer.uint32(/* id 25, wireType 2 =*/202).string(message.status);
44835
+ if (message.venueTimezone != null && Object.hasOwnProperty.call(message, "venueTimezone"))
44836
+ writer.uint32(/* id 26, wireType 2 =*/210).string(message.venueTimezone);
44837
+ if (message.announceAt != null && Object.hasOwnProperty.call(message, "announceAt"))
44838
+ writer.uint32(/* id 27, wireType 0 =*/216).int32(message.announceAt);
45395
44839
  return writer;
45396
44840
  };
45397
44841
 
@@ -45501,6 +44945,12 @@ $root.PublicEvent = (function() {
45501
44945
  case 25:
45502
44946
  message.status = reader.string();
45503
44947
  break;
44948
+ case 26:
44949
+ message.venueTimezone = reader.string();
44950
+ break;
44951
+ case 27:
44952
+ message.announceAt = reader.int32();
44953
+ break;
45504
44954
  default:
45505
44955
  reader.skipType(tag & 7);
45506
44956
  break;
@@ -45613,6 +45063,12 @@ $root.PublicEvent = (function() {
45613
45063
  if (message.status != null && message.hasOwnProperty("status"))
45614
45064
  if (!$util.isString(message.status))
45615
45065
  return "status: string expected";
45066
+ if (message.venueTimezone != null && message.hasOwnProperty("venueTimezone"))
45067
+ if (!$util.isString(message.venueTimezone))
45068
+ return "venueTimezone: string expected";
45069
+ if (message.announceAt != null && message.hasOwnProperty("announceAt"))
45070
+ if (!$util.isInteger(message.announceAt))
45071
+ return "announceAt: integer expected";
45616
45072
  return null;
45617
45073
  };
45618
45074
 
@@ -45681,6 +45137,10 @@ $root.PublicEvent = (function() {
45681
45137
  message.venue = String(object.venue);
45682
45138
  if (object.status != null)
45683
45139
  message.status = String(object.status);
45140
+ if (object.venueTimezone != null)
45141
+ message.venueTimezone = String(object.venueTimezone);
45142
+ if (object.announceAt != null)
45143
+ message.announceAt = object.announceAt | 0;
45684
45144
  return message;
45685
45145
  };
45686
45146
 
@@ -45723,6 +45183,8 @@ $root.PublicEvent = (function() {
45723
45183
  object.endsAt = 0;
45724
45184
  object.venue = "";
45725
45185
  object.status = "";
45186
+ object.venueTimezone = "";
45187
+ object.announceAt = 0;
45726
45188
  }
45727
45189
  if (message._id != null && message.hasOwnProperty("_id"))
45728
45190
  object._id = message._id;
@@ -45774,6 +45236,10 @@ $root.PublicEvent = (function() {
45774
45236
  object.venue = message.venue;
45775
45237
  if (message.status != null && message.hasOwnProperty("status"))
45776
45238
  object.status = message.status;
45239
+ if (message.venueTimezone != null && message.hasOwnProperty("venueTimezone"))
45240
+ object.venueTimezone = message.venueTimezone;
45241
+ if (message.announceAt != null && message.hasOwnProperty("announceAt"))
45242
+ object.announceAt = message.announceAt;
45777
45243
  return object;
45778
45244
  };
45779
45245
 
@@ -53372,6 +52838,7 @@ $root.QueryEventsListRequest = (function() {
53372
52838
  * @exports IQueryEventsListRequest
53373
52839
  * @interface IQueryEventsListRequest
53374
52840
  * @property {string|null} [spanContext] QueryEventsListRequest spanContext
52841
+ * @property {string|null} [orgId] QueryEventsListRequest orgId
53375
52842
  */
53376
52843
 
53377
52844
  /**
@@ -53397,6 +52864,14 @@ $root.QueryEventsListRequest = (function() {
53397
52864
  */
53398
52865
  QueryEventsListRequest.prototype.spanContext = "";
53399
52866
 
52867
+ /**
52868
+ * QueryEventsListRequest orgId.
52869
+ * @member {string} orgId
52870
+ * @memberof QueryEventsListRequest
52871
+ * @instance
52872
+ */
52873
+ QueryEventsListRequest.prototype.orgId = "";
52874
+
53400
52875
  /**
53401
52876
  * Creates a new QueryEventsListRequest instance using the specified properties.
53402
52877
  * @function create
@@ -53423,6 +52898,8 @@ $root.QueryEventsListRequest = (function() {
53423
52898
  writer = $Writer.create();
53424
52899
  if (message.spanContext != null && Object.hasOwnProperty.call(message, "spanContext"))
53425
52900
  writer.uint32(/* id 0, wireType 2 =*/2).string(message.spanContext);
52901
+ if (message.orgId != null && Object.hasOwnProperty.call(message, "orgId"))
52902
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.orgId);
53426
52903
  return writer;
53427
52904
  };
53428
52905
 
@@ -53460,6 +52937,9 @@ $root.QueryEventsListRequest = (function() {
53460
52937
  case 0:
53461
52938
  message.spanContext = reader.string();
53462
52939
  break;
52940
+ case 1:
52941
+ message.orgId = reader.string();
52942
+ break;
53463
52943
  default:
53464
52944
  reader.skipType(tag & 7);
53465
52945
  break;
@@ -53498,6 +52978,9 @@ $root.QueryEventsListRequest = (function() {
53498
52978
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
53499
52979
  if (!$util.isString(message.spanContext))
53500
52980
  return "spanContext: string expected";
52981
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
52982
+ if (!$util.isString(message.orgId))
52983
+ return "orgId: string expected";
53501
52984
  return null;
53502
52985
  };
53503
52986
 
@@ -53515,6 +52998,8 @@ $root.QueryEventsListRequest = (function() {
53515
52998
  var message = new $root.QueryEventsListRequest();
53516
52999
  if (object.spanContext != null)
53517
53000
  message.spanContext = String(object.spanContext);
53001
+ if (object.orgId != null)
53002
+ message.orgId = String(object.orgId);
53518
53003
  return message;
53519
53004
  };
53520
53005
 
@@ -53531,10 +53016,14 @@ $root.QueryEventsListRequest = (function() {
53531
53016
  if (!options)
53532
53017
  options = {};
53533
53018
  var object = {};
53534
- if (options.defaults)
53019
+ if (options.defaults) {
53535
53020
  object.spanContext = "";
53021
+ object.orgId = "";
53022
+ }
53536
53023
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
53537
53024
  object.spanContext = message.spanContext;
53025
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
53026
+ object.orgId = message.orgId;
53538
53027
  return object;
53539
53028
  };
53540
53029