@sellout/models 0.0.414 → 0.0.415
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.
- package/.dist/enums/OrderShareTimestamp.d.ts +5 -1
- package/.dist/enums/OrderShareTimestamp.js +4 -0
- package/.dist/enums/OrderShareTimestamp.js.map +1 -1
- package/.dist/graphql/mutations/sendOrderAddOnAuthentication.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/sendOrderAddOnAuthentication.mutation.js +12 -0
- package/.dist/graphql/mutations/sendOrderAddOnAuthentication.mutation.js.map +1 -0
- package/.dist/graphql/mutations/updateOrganization.mutation.js +1 -0
- package/.dist/graphql/mutations/updateOrganization.mutation.js.map +1 -1
- package/.dist/graphql/mutations/verifyOrderAddOnAuthentication.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/verifyOrderAddOnAuthentication.mutation.js +27 -0
- package/.dist/graphql/mutations/verifyOrderAddOnAuthentication.mutation.js.map +1 -0
- package/.dist/graphql/queries/getSharedTicketsByEmailPhoneNumber.query.js +1 -0
- package/.dist/graphql/queries/getSharedTicketsByEmailPhoneNumber.query.js.map +1 -1
- package/.dist/graphql/queries/order.query.js +2 -0
- package/.dist/graphql/queries/order.query.js.map +1 -1
- package/.dist/graphql/queries/profile.query.js +1 -0
- package/.dist/graphql/queries/profile.query.js.map +1 -1
- package/.dist/interfaces/IOrderShareTimestamp.d.ts +4 -0
- package/.dist/interfaces/IOrderState.d.ts +2 -1
- package/.dist/interfaces/IOrderState.js +1 -0
- package/.dist/interfaces/IOrderState.js.map +1 -1
- package/.dist/interfaces/IOrganization.d.ts +6 -0
- package/.dist/interfaces/IOrganization.js +7 -1
- package/.dist/interfaces/IOrganization.js.map +1 -1
- package/.dist/interfaces/ITask.d.ts +2 -1
- package/.dist/interfaces/ITask.js +1 -0
- package/.dist/interfaces/ITask.js.map +1 -1
- package/.dist/schemas/Order.d.ts +18 -0
- package/.dist/schemas/Order.js +18 -0
- package/.dist/schemas/Order.js.map +1 -1
- package/.dist/schemas/Organization.d.ts +6 -1
- package/.dist/schemas/Organization.js +4 -0
- package/.dist/schemas/Organization.js.map +1 -1
- package/.dist/sellout-proto.js +1731 -0
- package/package.json +3 -3
- package/src/enums/OrderShareTimestamp.ts +4 -1
- package/src/graphql/mutations/sendOrderAddOnAuthentication.mutation.ts +13 -0
- package/src/graphql/mutations/updateOrganization.mutation.ts +1 -0
- package/src/graphql/mutations/verifyOrderAddOnAuthentication.mutation.ts +26 -0
- package/src/graphql/queries/getSharedTicketsByEmailPhoneNumber.query.ts +2 -1
- package/src/graphql/queries/order.query.ts +2 -0
- package/src/graphql/queries/profile.query.ts +1 -0
- package/src/interfaces/IOrderShareTimestamp.ts +5 -1
- package/src/interfaces/IOrderState.ts +2 -1
- package/src/interfaces/IOrganization.ts +8 -0
- package/src/interfaces/ITask.ts +1 -0
- package/src/proto/email.proto +3 -0
- package/src/proto/order.proto +41 -0
- package/src/proto/organization.proto +1 -0
- package/src/schemas/Order.ts +18 -0
- package/src/schemas/Organization.ts +5 -1
package/.dist/sellout-proto.js
CHANGED
|
@@ -28958,6 +28958,539 @@ $root.SharingTicketStatusChangeResponse = (function() {
|
|
|
28958
28958
|
return SharingTicketStatusChangeResponse;
|
|
28959
28959
|
})();
|
|
28960
28960
|
|
|
28961
|
+
$root.ProcessTicketShareLifecycleRequest = (function() {
|
|
28962
|
+
|
|
28963
|
+
/**
|
|
28964
|
+
* Properties of a ProcessTicketShareLifecycleRequest.
|
|
28965
|
+
* @exports IProcessTicketShareLifecycleRequest
|
|
28966
|
+
* @interface IProcessTicketShareLifecycleRequest
|
|
28967
|
+
* @property {string|null} [spanContext] ProcessTicketShareLifecycleRequest spanContext
|
|
28968
|
+
*/
|
|
28969
|
+
|
|
28970
|
+
/**
|
|
28971
|
+
* Constructs a new ProcessTicketShareLifecycleRequest.
|
|
28972
|
+
* @exports ProcessTicketShareLifecycleRequest
|
|
28973
|
+
* @classdesc Represents a ProcessTicketShareLifecycleRequest.
|
|
28974
|
+
* @implements IProcessTicketShareLifecycleRequest
|
|
28975
|
+
* @constructor
|
|
28976
|
+
* @param {IProcessTicketShareLifecycleRequest=} [properties] Properties to set
|
|
28977
|
+
*/
|
|
28978
|
+
function ProcessTicketShareLifecycleRequest(properties) {
|
|
28979
|
+
if (properties)
|
|
28980
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
28981
|
+
if (properties[keys[i]] != null)
|
|
28982
|
+
this[keys[i]] = properties[keys[i]];
|
|
28983
|
+
}
|
|
28984
|
+
|
|
28985
|
+
/**
|
|
28986
|
+
* ProcessTicketShareLifecycleRequest spanContext.
|
|
28987
|
+
* @member {string} spanContext
|
|
28988
|
+
* @memberof ProcessTicketShareLifecycleRequest
|
|
28989
|
+
* @instance
|
|
28990
|
+
*/
|
|
28991
|
+
ProcessTicketShareLifecycleRequest.prototype.spanContext = "";
|
|
28992
|
+
|
|
28993
|
+
/**
|
|
28994
|
+
* Creates a new ProcessTicketShareLifecycleRequest instance using the specified properties.
|
|
28995
|
+
* @function create
|
|
28996
|
+
* @memberof ProcessTicketShareLifecycleRequest
|
|
28997
|
+
* @static
|
|
28998
|
+
* @param {IProcessTicketShareLifecycleRequest=} [properties] Properties to set
|
|
28999
|
+
* @returns {ProcessTicketShareLifecycleRequest} ProcessTicketShareLifecycleRequest instance
|
|
29000
|
+
*/
|
|
29001
|
+
ProcessTicketShareLifecycleRequest.create = function create(properties) {
|
|
29002
|
+
return new ProcessTicketShareLifecycleRequest(properties);
|
|
29003
|
+
};
|
|
29004
|
+
|
|
29005
|
+
/**
|
|
29006
|
+
* Encodes the specified ProcessTicketShareLifecycleRequest message. Does not implicitly {@link ProcessTicketShareLifecycleRequest.verify|verify} messages.
|
|
29007
|
+
* @function encode
|
|
29008
|
+
* @memberof ProcessTicketShareLifecycleRequest
|
|
29009
|
+
* @static
|
|
29010
|
+
* @param {IProcessTicketShareLifecycleRequest} message ProcessTicketShareLifecycleRequest message or plain object to encode
|
|
29011
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
29012
|
+
* @returns {$protobuf.Writer} Writer
|
|
29013
|
+
*/
|
|
29014
|
+
ProcessTicketShareLifecycleRequest.encode = function encode(message, writer) {
|
|
29015
|
+
if (!writer)
|
|
29016
|
+
writer = $Writer.create();
|
|
29017
|
+
if (message.spanContext != null && Object.hasOwnProperty.call(message, "spanContext"))
|
|
29018
|
+
writer.uint32(/* id 0, wireType 2 =*/2).string(message.spanContext);
|
|
29019
|
+
return writer;
|
|
29020
|
+
};
|
|
29021
|
+
|
|
29022
|
+
/**
|
|
29023
|
+
* Encodes the specified ProcessTicketShareLifecycleRequest message, length delimited. Does not implicitly {@link ProcessTicketShareLifecycleRequest.verify|verify} messages.
|
|
29024
|
+
* @function encodeDelimited
|
|
29025
|
+
* @memberof ProcessTicketShareLifecycleRequest
|
|
29026
|
+
* @static
|
|
29027
|
+
* @param {IProcessTicketShareLifecycleRequest} message ProcessTicketShareLifecycleRequest message or plain object to encode
|
|
29028
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
29029
|
+
* @returns {$protobuf.Writer} Writer
|
|
29030
|
+
*/
|
|
29031
|
+
ProcessTicketShareLifecycleRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
29032
|
+
return this.encode(message, writer).ldelim();
|
|
29033
|
+
};
|
|
29034
|
+
|
|
29035
|
+
/**
|
|
29036
|
+
* Decodes a ProcessTicketShareLifecycleRequest message from the specified reader or buffer.
|
|
29037
|
+
* @function decode
|
|
29038
|
+
* @memberof ProcessTicketShareLifecycleRequest
|
|
29039
|
+
* @static
|
|
29040
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
29041
|
+
* @param {number} [length] Message length if known beforehand
|
|
29042
|
+
* @returns {ProcessTicketShareLifecycleRequest} ProcessTicketShareLifecycleRequest
|
|
29043
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29044
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29045
|
+
*/
|
|
29046
|
+
ProcessTicketShareLifecycleRequest.decode = function decode(reader, length) {
|
|
29047
|
+
if (!(reader instanceof $Reader))
|
|
29048
|
+
reader = $Reader.create(reader);
|
|
29049
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProcessTicketShareLifecycleRequest();
|
|
29050
|
+
while (reader.pos < end) {
|
|
29051
|
+
var tag = reader.uint32();
|
|
29052
|
+
switch (tag >>> 3) {
|
|
29053
|
+
case 0:
|
|
29054
|
+
message.spanContext = reader.string();
|
|
29055
|
+
break;
|
|
29056
|
+
default:
|
|
29057
|
+
reader.skipType(tag & 7);
|
|
29058
|
+
break;
|
|
29059
|
+
}
|
|
29060
|
+
}
|
|
29061
|
+
return message;
|
|
29062
|
+
};
|
|
29063
|
+
|
|
29064
|
+
/**
|
|
29065
|
+
* Decodes a ProcessTicketShareLifecycleRequest message from the specified reader or buffer, length delimited.
|
|
29066
|
+
* @function decodeDelimited
|
|
29067
|
+
* @memberof ProcessTicketShareLifecycleRequest
|
|
29068
|
+
* @static
|
|
29069
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
29070
|
+
* @returns {ProcessTicketShareLifecycleRequest} ProcessTicketShareLifecycleRequest
|
|
29071
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29072
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29073
|
+
*/
|
|
29074
|
+
ProcessTicketShareLifecycleRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
29075
|
+
if (!(reader instanceof $Reader))
|
|
29076
|
+
reader = new $Reader(reader);
|
|
29077
|
+
return this.decode(reader, reader.uint32());
|
|
29078
|
+
};
|
|
29079
|
+
|
|
29080
|
+
/**
|
|
29081
|
+
* Verifies a ProcessTicketShareLifecycleRequest message.
|
|
29082
|
+
* @function verify
|
|
29083
|
+
* @memberof ProcessTicketShareLifecycleRequest
|
|
29084
|
+
* @static
|
|
29085
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
29086
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
29087
|
+
*/
|
|
29088
|
+
ProcessTicketShareLifecycleRequest.verify = function verify(message) {
|
|
29089
|
+
if (typeof message !== "object" || message === null)
|
|
29090
|
+
return "object expected";
|
|
29091
|
+
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
29092
|
+
if (!$util.isString(message.spanContext))
|
|
29093
|
+
return "spanContext: string expected";
|
|
29094
|
+
return null;
|
|
29095
|
+
};
|
|
29096
|
+
|
|
29097
|
+
/**
|
|
29098
|
+
* Creates a ProcessTicketShareLifecycleRequest message from a plain object. Also converts values to their respective internal types.
|
|
29099
|
+
* @function fromObject
|
|
29100
|
+
* @memberof ProcessTicketShareLifecycleRequest
|
|
29101
|
+
* @static
|
|
29102
|
+
* @param {Object.<string,*>} object Plain object
|
|
29103
|
+
* @returns {ProcessTicketShareLifecycleRequest} ProcessTicketShareLifecycleRequest
|
|
29104
|
+
*/
|
|
29105
|
+
ProcessTicketShareLifecycleRequest.fromObject = function fromObject(object) {
|
|
29106
|
+
if (object instanceof $root.ProcessTicketShareLifecycleRequest)
|
|
29107
|
+
return object;
|
|
29108
|
+
var message = new $root.ProcessTicketShareLifecycleRequest();
|
|
29109
|
+
if (object.spanContext != null)
|
|
29110
|
+
message.spanContext = String(object.spanContext);
|
|
29111
|
+
return message;
|
|
29112
|
+
};
|
|
29113
|
+
|
|
29114
|
+
/**
|
|
29115
|
+
* Creates a plain object from a ProcessTicketShareLifecycleRequest message. Also converts values to other types if specified.
|
|
29116
|
+
* @function toObject
|
|
29117
|
+
* @memberof ProcessTicketShareLifecycleRequest
|
|
29118
|
+
* @static
|
|
29119
|
+
* @param {ProcessTicketShareLifecycleRequest} message ProcessTicketShareLifecycleRequest
|
|
29120
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
29121
|
+
* @returns {Object.<string,*>} Plain object
|
|
29122
|
+
*/
|
|
29123
|
+
ProcessTicketShareLifecycleRequest.toObject = function toObject(message, options) {
|
|
29124
|
+
if (!options)
|
|
29125
|
+
options = {};
|
|
29126
|
+
var object = {};
|
|
29127
|
+
if (options.defaults)
|
|
29128
|
+
object.spanContext = "";
|
|
29129
|
+
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
29130
|
+
object.spanContext = message.spanContext;
|
|
29131
|
+
return object;
|
|
29132
|
+
};
|
|
29133
|
+
|
|
29134
|
+
/**
|
|
29135
|
+
* Converts this ProcessTicketShareLifecycleRequest to JSON.
|
|
29136
|
+
* @function toJSON
|
|
29137
|
+
* @memberof ProcessTicketShareLifecycleRequest
|
|
29138
|
+
* @instance
|
|
29139
|
+
* @returns {Object.<string,*>} JSON object
|
|
29140
|
+
*/
|
|
29141
|
+
ProcessTicketShareLifecycleRequest.prototype.toJSON = function toJSON() {
|
|
29142
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
29143
|
+
};
|
|
29144
|
+
|
|
29145
|
+
return ProcessTicketShareLifecycleRequest;
|
|
29146
|
+
})();
|
|
29147
|
+
|
|
29148
|
+
$root.ProcessTicketShareLifecycleResponse = (function() {
|
|
29149
|
+
|
|
29150
|
+
/**
|
|
29151
|
+
* Properties of a ProcessTicketShareLifecycleResponse.
|
|
29152
|
+
* @exports IProcessTicketShareLifecycleResponse
|
|
29153
|
+
* @interface IProcessTicketShareLifecycleResponse
|
|
29154
|
+
* @property {StatusCode|null} [status] ProcessTicketShareLifecycleResponse status
|
|
29155
|
+
* @property {Array.<IError>|null} [errors] ProcessTicketShareLifecycleResponse errors
|
|
29156
|
+
* @property {number|null} [remindersSent] ProcessTicketShareLifecycleResponse remindersSent
|
|
29157
|
+
* @property {number|null} [sharesExpired] ProcessTicketShareLifecycleResponse sharesExpired
|
|
29158
|
+
* @property {number|null} [ordersUpdated] ProcessTicketShareLifecycleResponse ordersUpdated
|
|
29159
|
+
*/
|
|
29160
|
+
|
|
29161
|
+
/**
|
|
29162
|
+
* Constructs a new ProcessTicketShareLifecycleResponse.
|
|
29163
|
+
* @exports ProcessTicketShareLifecycleResponse
|
|
29164
|
+
* @classdesc Represents a ProcessTicketShareLifecycleResponse.
|
|
29165
|
+
* @implements IProcessTicketShareLifecycleResponse
|
|
29166
|
+
* @constructor
|
|
29167
|
+
* @param {IProcessTicketShareLifecycleResponse=} [properties] Properties to set
|
|
29168
|
+
*/
|
|
29169
|
+
function ProcessTicketShareLifecycleResponse(properties) {
|
|
29170
|
+
this.errors = [];
|
|
29171
|
+
if (properties)
|
|
29172
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
29173
|
+
if (properties[keys[i]] != null)
|
|
29174
|
+
this[keys[i]] = properties[keys[i]];
|
|
29175
|
+
}
|
|
29176
|
+
|
|
29177
|
+
/**
|
|
29178
|
+
* ProcessTicketShareLifecycleResponse status.
|
|
29179
|
+
* @member {StatusCode} status
|
|
29180
|
+
* @memberof ProcessTicketShareLifecycleResponse
|
|
29181
|
+
* @instance
|
|
29182
|
+
*/
|
|
29183
|
+
ProcessTicketShareLifecycleResponse.prototype.status = 0;
|
|
29184
|
+
|
|
29185
|
+
/**
|
|
29186
|
+
* ProcessTicketShareLifecycleResponse errors.
|
|
29187
|
+
* @member {Array.<IError>} errors
|
|
29188
|
+
* @memberof ProcessTicketShareLifecycleResponse
|
|
29189
|
+
* @instance
|
|
29190
|
+
*/
|
|
29191
|
+
ProcessTicketShareLifecycleResponse.prototype.errors = $util.emptyArray;
|
|
29192
|
+
|
|
29193
|
+
/**
|
|
29194
|
+
* ProcessTicketShareLifecycleResponse remindersSent.
|
|
29195
|
+
* @member {number} remindersSent
|
|
29196
|
+
* @memberof ProcessTicketShareLifecycleResponse
|
|
29197
|
+
* @instance
|
|
29198
|
+
*/
|
|
29199
|
+
ProcessTicketShareLifecycleResponse.prototype.remindersSent = 0;
|
|
29200
|
+
|
|
29201
|
+
/**
|
|
29202
|
+
* ProcessTicketShareLifecycleResponse sharesExpired.
|
|
29203
|
+
* @member {number} sharesExpired
|
|
29204
|
+
* @memberof ProcessTicketShareLifecycleResponse
|
|
29205
|
+
* @instance
|
|
29206
|
+
*/
|
|
29207
|
+
ProcessTicketShareLifecycleResponse.prototype.sharesExpired = 0;
|
|
29208
|
+
|
|
29209
|
+
/**
|
|
29210
|
+
* ProcessTicketShareLifecycleResponse ordersUpdated.
|
|
29211
|
+
* @member {number} ordersUpdated
|
|
29212
|
+
* @memberof ProcessTicketShareLifecycleResponse
|
|
29213
|
+
* @instance
|
|
29214
|
+
*/
|
|
29215
|
+
ProcessTicketShareLifecycleResponse.prototype.ordersUpdated = 0;
|
|
29216
|
+
|
|
29217
|
+
/**
|
|
29218
|
+
* Creates a new ProcessTicketShareLifecycleResponse instance using the specified properties.
|
|
29219
|
+
* @function create
|
|
29220
|
+
* @memberof ProcessTicketShareLifecycleResponse
|
|
29221
|
+
* @static
|
|
29222
|
+
* @param {IProcessTicketShareLifecycleResponse=} [properties] Properties to set
|
|
29223
|
+
* @returns {ProcessTicketShareLifecycleResponse} ProcessTicketShareLifecycleResponse instance
|
|
29224
|
+
*/
|
|
29225
|
+
ProcessTicketShareLifecycleResponse.create = function create(properties) {
|
|
29226
|
+
return new ProcessTicketShareLifecycleResponse(properties);
|
|
29227
|
+
};
|
|
29228
|
+
|
|
29229
|
+
/**
|
|
29230
|
+
* Encodes the specified ProcessTicketShareLifecycleResponse message. Does not implicitly {@link ProcessTicketShareLifecycleResponse.verify|verify} messages.
|
|
29231
|
+
* @function encode
|
|
29232
|
+
* @memberof ProcessTicketShareLifecycleResponse
|
|
29233
|
+
* @static
|
|
29234
|
+
* @param {IProcessTicketShareLifecycleResponse} message ProcessTicketShareLifecycleResponse message or plain object to encode
|
|
29235
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
29236
|
+
* @returns {$protobuf.Writer} Writer
|
|
29237
|
+
*/
|
|
29238
|
+
ProcessTicketShareLifecycleResponse.encode = function encode(message, writer) {
|
|
29239
|
+
if (!writer)
|
|
29240
|
+
writer = $Writer.create();
|
|
29241
|
+
if (message.status != null && Object.hasOwnProperty.call(message, "status"))
|
|
29242
|
+
writer.uint32(/* id 0, wireType 0 =*/0).int32(message.status);
|
|
29243
|
+
if (message.errors != null && message.errors.length)
|
|
29244
|
+
for (var i = 0; i < message.errors.length; ++i)
|
|
29245
|
+
$root.Error.encode(message.errors[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
29246
|
+
if (message.remindersSent != null && Object.hasOwnProperty.call(message, "remindersSent"))
|
|
29247
|
+
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.remindersSent);
|
|
29248
|
+
if (message.sharesExpired != null && Object.hasOwnProperty.call(message, "sharesExpired"))
|
|
29249
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.sharesExpired);
|
|
29250
|
+
if (message.ordersUpdated != null && Object.hasOwnProperty.call(message, "ordersUpdated"))
|
|
29251
|
+
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.ordersUpdated);
|
|
29252
|
+
return writer;
|
|
29253
|
+
};
|
|
29254
|
+
|
|
29255
|
+
/**
|
|
29256
|
+
* Encodes the specified ProcessTicketShareLifecycleResponse message, length delimited. Does not implicitly {@link ProcessTicketShareLifecycleResponse.verify|verify} messages.
|
|
29257
|
+
* @function encodeDelimited
|
|
29258
|
+
* @memberof ProcessTicketShareLifecycleResponse
|
|
29259
|
+
* @static
|
|
29260
|
+
* @param {IProcessTicketShareLifecycleResponse} message ProcessTicketShareLifecycleResponse message or plain object to encode
|
|
29261
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
29262
|
+
* @returns {$protobuf.Writer} Writer
|
|
29263
|
+
*/
|
|
29264
|
+
ProcessTicketShareLifecycleResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
29265
|
+
return this.encode(message, writer).ldelim();
|
|
29266
|
+
};
|
|
29267
|
+
|
|
29268
|
+
/**
|
|
29269
|
+
* Decodes a ProcessTicketShareLifecycleResponse message from the specified reader or buffer.
|
|
29270
|
+
* @function decode
|
|
29271
|
+
* @memberof ProcessTicketShareLifecycleResponse
|
|
29272
|
+
* @static
|
|
29273
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
29274
|
+
* @param {number} [length] Message length if known beforehand
|
|
29275
|
+
* @returns {ProcessTicketShareLifecycleResponse} ProcessTicketShareLifecycleResponse
|
|
29276
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29277
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29278
|
+
*/
|
|
29279
|
+
ProcessTicketShareLifecycleResponse.decode = function decode(reader, length) {
|
|
29280
|
+
if (!(reader instanceof $Reader))
|
|
29281
|
+
reader = $Reader.create(reader);
|
|
29282
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProcessTicketShareLifecycleResponse();
|
|
29283
|
+
while (reader.pos < end) {
|
|
29284
|
+
var tag = reader.uint32();
|
|
29285
|
+
switch (tag >>> 3) {
|
|
29286
|
+
case 0:
|
|
29287
|
+
message.status = reader.int32();
|
|
29288
|
+
break;
|
|
29289
|
+
case 1:
|
|
29290
|
+
if (!(message.errors && message.errors.length))
|
|
29291
|
+
message.errors = [];
|
|
29292
|
+
message.errors.push($root.Error.decode(reader, reader.uint32()));
|
|
29293
|
+
break;
|
|
29294
|
+
case 2:
|
|
29295
|
+
message.remindersSent = reader.int32();
|
|
29296
|
+
break;
|
|
29297
|
+
case 3:
|
|
29298
|
+
message.sharesExpired = reader.int32();
|
|
29299
|
+
break;
|
|
29300
|
+
case 4:
|
|
29301
|
+
message.ordersUpdated = reader.int32();
|
|
29302
|
+
break;
|
|
29303
|
+
default:
|
|
29304
|
+
reader.skipType(tag & 7);
|
|
29305
|
+
break;
|
|
29306
|
+
}
|
|
29307
|
+
}
|
|
29308
|
+
return message;
|
|
29309
|
+
};
|
|
29310
|
+
|
|
29311
|
+
/**
|
|
29312
|
+
* Decodes a ProcessTicketShareLifecycleResponse message from the specified reader or buffer, length delimited.
|
|
29313
|
+
* @function decodeDelimited
|
|
29314
|
+
* @memberof ProcessTicketShareLifecycleResponse
|
|
29315
|
+
* @static
|
|
29316
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
29317
|
+
* @returns {ProcessTicketShareLifecycleResponse} ProcessTicketShareLifecycleResponse
|
|
29318
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29319
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29320
|
+
*/
|
|
29321
|
+
ProcessTicketShareLifecycleResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
29322
|
+
if (!(reader instanceof $Reader))
|
|
29323
|
+
reader = new $Reader(reader);
|
|
29324
|
+
return this.decode(reader, reader.uint32());
|
|
29325
|
+
};
|
|
29326
|
+
|
|
29327
|
+
/**
|
|
29328
|
+
* Verifies a ProcessTicketShareLifecycleResponse message.
|
|
29329
|
+
* @function verify
|
|
29330
|
+
* @memberof ProcessTicketShareLifecycleResponse
|
|
29331
|
+
* @static
|
|
29332
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
29333
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
29334
|
+
*/
|
|
29335
|
+
ProcessTicketShareLifecycleResponse.verify = function verify(message) {
|
|
29336
|
+
if (typeof message !== "object" || message === null)
|
|
29337
|
+
return "object expected";
|
|
29338
|
+
if (message.status != null && message.hasOwnProperty("status"))
|
|
29339
|
+
switch (message.status) {
|
|
29340
|
+
default:
|
|
29341
|
+
return "status: enum value expected";
|
|
29342
|
+
case 0:
|
|
29343
|
+
case 200:
|
|
29344
|
+
case 400:
|
|
29345
|
+
case 401:
|
|
29346
|
+
case 403:
|
|
29347
|
+
case 422:
|
|
29348
|
+
case 404:
|
|
29349
|
+
case 500:
|
|
29350
|
+
case 504:
|
|
29351
|
+
break;
|
|
29352
|
+
}
|
|
29353
|
+
if (message.errors != null && message.hasOwnProperty("errors")) {
|
|
29354
|
+
if (!Array.isArray(message.errors))
|
|
29355
|
+
return "errors: array expected";
|
|
29356
|
+
for (var i = 0; i < message.errors.length; ++i) {
|
|
29357
|
+
var error = $root.Error.verify(message.errors[i]);
|
|
29358
|
+
if (error)
|
|
29359
|
+
return "errors." + error;
|
|
29360
|
+
}
|
|
29361
|
+
}
|
|
29362
|
+
if (message.remindersSent != null && message.hasOwnProperty("remindersSent"))
|
|
29363
|
+
if (!$util.isInteger(message.remindersSent))
|
|
29364
|
+
return "remindersSent: integer expected";
|
|
29365
|
+
if (message.sharesExpired != null && message.hasOwnProperty("sharesExpired"))
|
|
29366
|
+
if (!$util.isInteger(message.sharesExpired))
|
|
29367
|
+
return "sharesExpired: integer expected";
|
|
29368
|
+
if (message.ordersUpdated != null && message.hasOwnProperty("ordersUpdated"))
|
|
29369
|
+
if (!$util.isInteger(message.ordersUpdated))
|
|
29370
|
+
return "ordersUpdated: integer expected";
|
|
29371
|
+
return null;
|
|
29372
|
+
};
|
|
29373
|
+
|
|
29374
|
+
/**
|
|
29375
|
+
* Creates a ProcessTicketShareLifecycleResponse message from a plain object. Also converts values to their respective internal types.
|
|
29376
|
+
* @function fromObject
|
|
29377
|
+
* @memberof ProcessTicketShareLifecycleResponse
|
|
29378
|
+
* @static
|
|
29379
|
+
* @param {Object.<string,*>} object Plain object
|
|
29380
|
+
* @returns {ProcessTicketShareLifecycleResponse} ProcessTicketShareLifecycleResponse
|
|
29381
|
+
*/
|
|
29382
|
+
ProcessTicketShareLifecycleResponse.fromObject = function fromObject(object) {
|
|
29383
|
+
if (object instanceof $root.ProcessTicketShareLifecycleResponse)
|
|
29384
|
+
return object;
|
|
29385
|
+
var message = new $root.ProcessTicketShareLifecycleResponse();
|
|
29386
|
+
switch (object.status) {
|
|
29387
|
+
case "UNKNOWN_CODE":
|
|
29388
|
+
case 0:
|
|
29389
|
+
message.status = 0;
|
|
29390
|
+
break;
|
|
29391
|
+
case "OK":
|
|
29392
|
+
case 200:
|
|
29393
|
+
message.status = 200;
|
|
29394
|
+
break;
|
|
29395
|
+
case "BAD_REQUEST":
|
|
29396
|
+
case 400:
|
|
29397
|
+
message.status = 400;
|
|
29398
|
+
break;
|
|
29399
|
+
case "UNAUTHORIZED":
|
|
29400
|
+
case 401:
|
|
29401
|
+
message.status = 401;
|
|
29402
|
+
break;
|
|
29403
|
+
case "FORBIDDEN":
|
|
29404
|
+
case 403:
|
|
29405
|
+
message.status = 403;
|
|
29406
|
+
break;
|
|
29407
|
+
case "UNPROCESSABLE_ENTITY":
|
|
29408
|
+
case 422:
|
|
29409
|
+
message.status = 422;
|
|
29410
|
+
break;
|
|
29411
|
+
case "NOT_FOUND":
|
|
29412
|
+
case 404:
|
|
29413
|
+
message.status = 404;
|
|
29414
|
+
break;
|
|
29415
|
+
case "INTERNAL_SERVER_ERROR":
|
|
29416
|
+
case 500:
|
|
29417
|
+
message.status = 500;
|
|
29418
|
+
break;
|
|
29419
|
+
case "GATEWAY_TIMEOUT":
|
|
29420
|
+
case 504:
|
|
29421
|
+
message.status = 504;
|
|
29422
|
+
break;
|
|
29423
|
+
}
|
|
29424
|
+
if (object.errors) {
|
|
29425
|
+
if (!Array.isArray(object.errors))
|
|
29426
|
+
throw TypeError(".ProcessTicketShareLifecycleResponse.errors: array expected");
|
|
29427
|
+
message.errors = [];
|
|
29428
|
+
for (var i = 0; i < object.errors.length; ++i) {
|
|
29429
|
+
if (typeof object.errors[i] !== "object")
|
|
29430
|
+
throw TypeError(".ProcessTicketShareLifecycleResponse.errors: object expected");
|
|
29431
|
+
message.errors[i] = $root.Error.fromObject(object.errors[i]);
|
|
29432
|
+
}
|
|
29433
|
+
}
|
|
29434
|
+
if (object.remindersSent != null)
|
|
29435
|
+
message.remindersSent = object.remindersSent | 0;
|
|
29436
|
+
if (object.sharesExpired != null)
|
|
29437
|
+
message.sharesExpired = object.sharesExpired | 0;
|
|
29438
|
+
if (object.ordersUpdated != null)
|
|
29439
|
+
message.ordersUpdated = object.ordersUpdated | 0;
|
|
29440
|
+
return message;
|
|
29441
|
+
};
|
|
29442
|
+
|
|
29443
|
+
/**
|
|
29444
|
+
* Creates a plain object from a ProcessTicketShareLifecycleResponse message. Also converts values to other types if specified.
|
|
29445
|
+
* @function toObject
|
|
29446
|
+
* @memberof ProcessTicketShareLifecycleResponse
|
|
29447
|
+
* @static
|
|
29448
|
+
* @param {ProcessTicketShareLifecycleResponse} message ProcessTicketShareLifecycleResponse
|
|
29449
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
29450
|
+
* @returns {Object.<string,*>} Plain object
|
|
29451
|
+
*/
|
|
29452
|
+
ProcessTicketShareLifecycleResponse.toObject = function toObject(message, options) {
|
|
29453
|
+
if (!options)
|
|
29454
|
+
options = {};
|
|
29455
|
+
var object = {};
|
|
29456
|
+
if (options.arrays || options.defaults)
|
|
29457
|
+
object.errors = [];
|
|
29458
|
+
if (options.defaults) {
|
|
29459
|
+
object.status = options.enums === String ? "UNKNOWN_CODE" : 0;
|
|
29460
|
+
object.remindersSent = 0;
|
|
29461
|
+
object.sharesExpired = 0;
|
|
29462
|
+
object.ordersUpdated = 0;
|
|
29463
|
+
}
|
|
29464
|
+
if (message.status != null && message.hasOwnProperty("status"))
|
|
29465
|
+
object.status = options.enums === String ? $root.StatusCode[message.status] : message.status;
|
|
29466
|
+
if (message.errors && message.errors.length) {
|
|
29467
|
+
object.errors = [];
|
|
29468
|
+
for (var j = 0; j < message.errors.length; ++j)
|
|
29469
|
+
object.errors[j] = $root.Error.toObject(message.errors[j], options);
|
|
29470
|
+
}
|
|
29471
|
+
if (message.remindersSent != null && message.hasOwnProperty("remindersSent"))
|
|
29472
|
+
object.remindersSent = message.remindersSent;
|
|
29473
|
+
if (message.sharesExpired != null && message.hasOwnProperty("sharesExpired"))
|
|
29474
|
+
object.sharesExpired = message.sharesExpired;
|
|
29475
|
+
if (message.ordersUpdated != null && message.hasOwnProperty("ordersUpdated"))
|
|
29476
|
+
object.ordersUpdated = message.ordersUpdated;
|
|
29477
|
+
return object;
|
|
29478
|
+
};
|
|
29479
|
+
|
|
29480
|
+
/**
|
|
29481
|
+
* Converts this ProcessTicketShareLifecycleResponse to JSON.
|
|
29482
|
+
* @function toJSON
|
|
29483
|
+
* @memberof ProcessTicketShareLifecycleResponse
|
|
29484
|
+
* @instance
|
|
29485
|
+
* @returns {Object.<string,*>} JSON object
|
|
29486
|
+
*/
|
|
29487
|
+
ProcessTicketShareLifecycleResponse.prototype.toJSON = function toJSON() {
|
|
29488
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
29489
|
+
};
|
|
29490
|
+
|
|
29491
|
+
return ProcessTicketShareLifecycleResponse;
|
|
29492
|
+
})();
|
|
29493
|
+
|
|
28961
29494
|
$root.SharingOrder = (function() {
|
|
28962
29495
|
|
|
28963
29496
|
/**
|
|
@@ -38397,6 +38930,907 @@ $root.FindOrderByIdResponse = (function() {
|
|
|
38397
38930
|
return FindOrderByIdResponse;
|
|
38398
38931
|
})();
|
|
38399
38932
|
|
|
38933
|
+
$root.OrderAddOnAuthenticationRequest = (function() {
|
|
38934
|
+
|
|
38935
|
+
/**
|
|
38936
|
+
* Properties of an OrderAddOnAuthenticationRequest.
|
|
38937
|
+
* @exports IOrderAddOnAuthenticationRequest
|
|
38938
|
+
* @interface IOrderAddOnAuthenticationRequest
|
|
38939
|
+
* @property {string|null} [spanContext] OrderAddOnAuthenticationRequest spanContext
|
|
38940
|
+
* @property {string|null} [orderId] OrderAddOnAuthenticationRequest orderId
|
|
38941
|
+
* @property {string|null} [eventId] OrderAddOnAuthenticationRequest eventId
|
|
38942
|
+
* @property {string|null} [phoneVerificationToken] OrderAddOnAuthenticationRequest phoneVerificationToken
|
|
38943
|
+
*/
|
|
38944
|
+
|
|
38945
|
+
/**
|
|
38946
|
+
* Constructs a new OrderAddOnAuthenticationRequest.
|
|
38947
|
+
* @exports OrderAddOnAuthenticationRequest
|
|
38948
|
+
* @classdesc Represents an OrderAddOnAuthenticationRequest.
|
|
38949
|
+
* @implements IOrderAddOnAuthenticationRequest
|
|
38950
|
+
* @constructor
|
|
38951
|
+
* @param {IOrderAddOnAuthenticationRequest=} [properties] Properties to set
|
|
38952
|
+
*/
|
|
38953
|
+
function OrderAddOnAuthenticationRequest(properties) {
|
|
38954
|
+
if (properties)
|
|
38955
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
38956
|
+
if (properties[keys[i]] != null)
|
|
38957
|
+
this[keys[i]] = properties[keys[i]];
|
|
38958
|
+
}
|
|
38959
|
+
|
|
38960
|
+
/**
|
|
38961
|
+
* OrderAddOnAuthenticationRequest spanContext.
|
|
38962
|
+
* @member {string} spanContext
|
|
38963
|
+
* @memberof OrderAddOnAuthenticationRequest
|
|
38964
|
+
* @instance
|
|
38965
|
+
*/
|
|
38966
|
+
OrderAddOnAuthenticationRequest.prototype.spanContext = "";
|
|
38967
|
+
|
|
38968
|
+
/**
|
|
38969
|
+
* OrderAddOnAuthenticationRequest orderId.
|
|
38970
|
+
* @member {string} orderId
|
|
38971
|
+
* @memberof OrderAddOnAuthenticationRequest
|
|
38972
|
+
* @instance
|
|
38973
|
+
*/
|
|
38974
|
+
OrderAddOnAuthenticationRequest.prototype.orderId = "";
|
|
38975
|
+
|
|
38976
|
+
/**
|
|
38977
|
+
* OrderAddOnAuthenticationRequest eventId.
|
|
38978
|
+
* @member {string} eventId
|
|
38979
|
+
* @memberof OrderAddOnAuthenticationRequest
|
|
38980
|
+
* @instance
|
|
38981
|
+
*/
|
|
38982
|
+
OrderAddOnAuthenticationRequest.prototype.eventId = "";
|
|
38983
|
+
|
|
38984
|
+
/**
|
|
38985
|
+
* OrderAddOnAuthenticationRequest phoneVerificationToken.
|
|
38986
|
+
* @member {string} phoneVerificationToken
|
|
38987
|
+
* @memberof OrderAddOnAuthenticationRequest
|
|
38988
|
+
* @instance
|
|
38989
|
+
*/
|
|
38990
|
+
OrderAddOnAuthenticationRequest.prototype.phoneVerificationToken = "";
|
|
38991
|
+
|
|
38992
|
+
/**
|
|
38993
|
+
* Creates a new OrderAddOnAuthenticationRequest instance using the specified properties.
|
|
38994
|
+
* @function create
|
|
38995
|
+
* @memberof OrderAddOnAuthenticationRequest
|
|
38996
|
+
* @static
|
|
38997
|
+
* @param {IOrderAddOnAuthenticationRequest=} [properties] Properties to set
|
|
38998
|
+
* @returns {OrderAddOnAuthenticationRequest} OrderAddOnAuthenticationRequest instance
|
|
38999
|
+
*/
|
|
39000
|
+
OrderAddOnAuthenticationRequest.create = function create(properties) {
|
|
39001
|
+
return new OrderAddOnAuthenticationRequest(properties);
|
|
39002
|
+
};
|
|
39003
|
+
|
|
39004
|
+
/**
|
|
39005
|
+
* Encodes the specified OrderAddOnAuthenticationRequest message. Does not implicitly {@link OrderAddOnAuthenticationRequest.verify|verify} messages.
|
|
39006
|
+
* @function encode
|
|
39007
|
+
* @memberof OrderAddOnAuthenticationRequest
|
|
39008
|
+
* @static
|
|
39009
|
+
* @param {IOrderAddOnAuthenticationRequest} message OrderAddOnAuthenticationRequest message or plain object to encode
|
|
39010
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
39011
|
+
* @returns {$protobuf.Writer} Writer
|
|
39012
|
+
*/
|
|
39013
|
+
OrderAddOnAuthenticationRequest.encode = function encode(message, writer) {
|
|
39014
|
+
if (!writer)
|
|
39015
|
+
writer = $Writer.create();
|
|
39016
|
+
if (message.spanContext != null && Object.hasOwnProperty.call(message, "spanContext"))
|
|
39017
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.spanContext);
|
|
39018
|
+
if (message.orderId != null && Object.hasOwnProperty.call(message, "orderId"))
|
|
39019
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.orderId);
|
|
39020
|
+
if (message.eventId != null && Object.hasOwnProperty.call(message, "eventId"))
|
|
39021
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.eventId);
|
|
39022
|
+
if (message.phoneVerificationToken != null && Object.hasOwnProperty.call(message, "phoneVerificationToken"))
|
|
39023
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.phoneVerificationToken);
|
|
39024
|
+
return writer;
|
|
39025
|
+
};
|
|
39026
|
+
|
|
39027
|
+
/**
|
|
39028
|
+
* Encodes the specified OrderAddOnAuthenticationRequest message, length delimited. Does not implicitly {@link OrderAddOnAuthenticationRequest.verify|verify} messages.
|
|
39029
|
+
* @function encodeDelimited
|
|
39030
|
+
* @memberof OrderAddOnAuthenticationRequest
|
|
39031
|
+
* @static
|
|
39032
|
+
* @param {IOrderAddOnAuthenticationRequest} message OrderAddOnAuthenticationRequest message or plain object to encode
|
|
39033
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
39034
|
+
* @returns {$protobuf.Writer} Writer
|
|
39035
|
+
*/
|
|
39036
|
+
OrderAddOnAuthenticationRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
39037
|
+
return this.encode(message, writer).ldelim();
|
|
39038
|
+
};
|
|
39039
|
+
|
|
39040
|
+
/**
|
|
39041
|
+
* Decodes an OrderAddOnAuthenticationRequest message from the specified reader or buffer.
|
|
39042
|
+
* @function decode
|
|
39043
|
+
* @memberof OrderAddOnAuthenticationRequest
|
|
39044
|
+
* @static
|
|
39045
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
39046
|
+
* @param {number} [length] Message length if known beforehand
|
|
39047
|
+
* @returns {OrderAddOnAuthenticationRequest} OrderAddOnAuthenticationRequest
|
|
39048
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39049
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39050
|
+
*/
|
|
39051
|
+
OrderAddOnAuthenticationRequest.decode = function decode(reader, length) {
|
|
39052
|
+
if (!(reader instanceof $Reader))
|
|
39053
|
+
reader = $Reader.create(reader);
|
|
39054
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrderAddOnAuthenticationRequest();
|
|
39055
|
+
while (reader.pos < end) {
|
|
39056
|
+
var tag = reader.uint32();
|
|
39057
|
+
switch (tag >>> 3) {
|
|
39058
|
+
case 1:
|
|
39059
|
+
message.spanContext = reader.string();
|
|
39060
|
+
break;
|
|
39061
|
+
case 2:
|
|
39062
|
+
message.orderId = reader.string();
|
|
39063
|
+
break;
|
|
39064
|
+
case 3:
|
|
39065
|
+
message.eventId = reader.string();
|
|
39066
|
+
break;
|
|
39067
|
+
case 4:
|
|
39068
|
+
message.phoneVerificationToken = reader.string();
|
|
39069
|
+
break;
|
|
39070
|
+
default:
|
|
39071
|
+
reader.skipType(tag & 7);
|
|
39072
|
+
break;
|
|
39073
|
+
}
|
|
39074
|
+
}
|
|
39075
|
+
return message;
|
|
39076
|
+
};
|
|
39077
|
+
|
|
39078
|
+
/**
|
|
39079
|
+
* Decodes an OrderAddOnAuthenticationRequest message from the specified reader or buffer, length delimited.
|
|
39080
|
+
* @function decodeDelimited
|
|
39081
|
+
* @memberof OrderAddOnAuthenticationRequest
|
|
39082
|
+
* @static
|
|
39083
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
39084
|
+
* @returns {OrderAddOnAuthenticationRequest} OrderAddOnAuthenticationRequest
|
|
39085
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39086
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39087
|
+
*/
|
|
39088
|
+
OrderAddOnAuthenticationRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
39089
|
+
if (!(reader instanceof $Reader))
|
|
39090
|
+
reader = new $Reader(reader);
|
|
39091
|
+
return this.decode(reader, reader.uint32());
|
|
39092
|
+
};
|
|
39093
|
+
|
|
39094
|
+
/**
|
|
39095
|
+
* Verifies an OrderAddOnAuthenticationRequest message.
|
|
39096
|
+
* @function verify
|
|
39097
|
+
* @memberof OrderAddOnAuthenticationRequest
|
|
39098
|
+
* @static
|
|
39099
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
39100
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
39101
|
+
*/
|
|
39102
|
+
OrderAddOnAuthenticationRequest.verify = function verify(message) {
|
|
39103
|
+
if (typeof message !== "object" || message === null)
|
|
39104
|
+
return "object expected";
|
|
39105
|
+
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
39106
|
+
if (!$util.isString(message.spanContext))
|
|
39107
|
+
return "spanContext: string expected";
|
|
39108
|
+
if (message.orderId != null && message.hasOwnProperty("orderId"))
|
|
39109
|
+
if (!$util.isString(message.orderId))
|
|
39110
|
+
return "orderId: string expected";
|
|
39111
|
+
if (message.eventId != null && message.hasOwnProperty("eventId"))
|
|
39112
|
+
if (!$util.isString(message.eventId))
|
|
39113
|
+
return "eventId: string expected";
|
|
39114
|
+
if (message.phoneVerificationToken != null && message.hasOwnProperty("phoneVerificationToken"))
|
|
39115
|
+
if (!$util.isString(message.phoneVerificationToken))
|
|
39116
|
+
return "phoneVerificationToken: string expected";
|
|
39117
|
+
return null;
|
|
39118
|
+
};
|
|
39119
|
+
|
|
39120
|
+
/**
|
|
39121
|
+
* Creates an OrderAddOnAuthenticationRequest message from a plain object. Also converts values to their respective internal types.
|
|
39122
|
+
* @function fromObject
|
|
39123
|
+
* @memberof OrderAddOnAuthenticationRequest
|
|
39124
|
+
* @static
|
|
39125
|
+
* @param {Object.<string,*>} object Plain object
|
|
39126
|
+
* @returns {OrderAddOnAuthenticationRequest} OrderAddOnAuthenticationRequest
|
|
39127
|
+
*/
|
|
39128
|
+
OrderAddOnAuthenticationRequest.fromObject = function fromObject(object) {
|
|
39129
|
+
if (object instanceof $root.OrderAddOnAuthenticationRequest)
|
|
39130
|
+
return object;
|
|
39131
|
+
var message = new $root.OrderAddOnAuthenticationRequest();
|
|
39132
|
+
if (object.spanContext != null)
|
|
39133
|
+
message.spanContext = String(object.spanContext);
|
|
39134
|
+
if (object.orderId != null)
|
|
39135
|
+
message.orderId = String(object.orderId);
|
|
39136
|
+
if (object.eventId != null)
|
|
39137
|
+
message.eventId = String(object.eventId);
|
|
39138
|
+
if (object.phoneVerificationToken != null)
|
|
39139
|
+
message.phoneVerificationToken = String(object.phoneVerificationToken);
|
|
39140
|
+
return message;
|
|
39141
|
+
};
|
|
39142
|
+
|
|
39143
|
+
/**
|
|
39144
|
+
* Creates a plain object from an OrderAddOnAuthenticationRequest message. Also converts values to other types if specified.
|
|
39145
|
+
* @function toObject
|
|
39146
|
+
* @memberof OrderAddOnAuthenticationRequest
|
|
39147
|
+
* @static
|
|
39148
|
+
* @param {OrderAddOnAuthenticationRequest} message OrderAddOnAuthenticationRequest
|
|
39149
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
39150
|
+
* @returns {Object.<string,*>} Plain object
|
|
39151
|
+
*/
|
|
39152
|
+
OrderAddOnAuthenticationRequest.toObject = function toObject(message, options) {
|
|
39153
|
+
if (!options)
|
|
39154
|
+
options = {};
|
|
39155
|
+
var object = {};
|
|
39156
|
+
if (options.defaults) {
|
|
39157
|
+
object.spanContext = "";
|
|
39158
|
+
object.orderId = "";
|
|
39159
|
+
object.eventId = "";
|
|
39160
|
+
object.phoneVerificationToken = "";
|
|
39161
|
+
}
|
|
39162
|
+
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
39163
|
+
object.spanContext = message.spanContext;
|
|
39164
|
+
if (message.orderId != null && message.hasOwnProperty("orderId"))
|
|
39165
|
+
object.orderId = message.orderId;
|
|
39166
|
+
if (message.eventId != null && message.hasOwnProperty("eventId"))
|
|
39167
|
+
object.eventId = message.eventId;
|
|
39168
|
+
if (message.phoneVerificationToken != null && message.hasOwnProperty("phoneVerificationToken"))
|
|
39169
|
+
object.phoneVerificationToken = message.phoneVerificationToken;
|
|
39170
|
+
return object;
|
|
39171
|
+
};
|
|
39172
|
+
|
|
39173
|
+
/**
|
|
39174
|
+
* Converts this OrderAddOnAuthenticationRequest to JSON.
|
|
39175
|
+
* @function toJSON
|
|
39176
|
+
* @memberof OrderAddOnAuthenticationRequest
|
|
39177
|
+
* @instance
|
|
39178
|
+
* @returns {Object.<string,*>} JSON object
|
|
39179
|
+
*/
|
|
39180
|
+
OrderAddOnAuthenticationRequest.prototype.toJSON = function toJSON() {
|
|
39181
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
39182
|
+
};
|
|
39183
|
+
|
|
39184
|
+
return OrderAddOnAuthenticationRequest;
|
|
39185
|
+
})();
|
|
39186
|
+
|
|
39187
|
+
$root.SendOrderAddOnAuthenticationResponse = (function() {
|
|
39188
|
+
|
|
39189
|
+
/**
|
|
39190
|
+
* Properties of a SendOrderAddOnAuthenticationResponse.
|
|
39191
|
+
* @exports ISendOrderAddOnAuthenticationResponse
|
|
39192
|
+
* @interface ISendOrderAddOnAuthenticationResponse
|
|
39193
|
+
* @property {StatusCode|null} [status] SendOrderAddOnAuthenticationResponse status
|
|
39194
|
+
* @property {Array.<IError>|null} [errors] SendOrderAddOnAuthenticationResponse errors
|
|
39195
|
+
* @property {Array.<string>|null} [ticketIds] SendOrderAddOnAuthenticationResponse ticketIds
|
|
39196
|
+
*/
|
|
39197
|
+
|
|
39198
|
+
/**
|
|
39199
|
+
* Constructs a new SendOrderAddOnAuthenticationResponse.
|
|
39200
|
+
* @exports SendOrderAddOnAuthenticationResponse
|
|
39201
|
+
* @classdesc Represents a SendOrderAddOnAuthenticationResponse.
|
|
39202
|
+
* @implements ISendOrderAddOnAuthenticationResponse
|
|
39203
|
+
* @constructor
|
|
39204
|
+
* @param {ISendOrderAddOnAuthenticationResponse=} [properties] Properties to set
|
|
39205
|
+
*/
|
|
39206
|
+
function SendOrderAddOnAuthenticationResponse(properties) {
|
|
39207
|
+
this.errors = [];
|
|
39208
|
+
this.ticketIds = [];
|
|
39209
|
+
if (properties)
|
|
39210
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
39211
|
+
if (properties[keys[i]] != null)
|
|
39212
|
+
this[keys[i]] = properties[keys[i]];
|
|
39213
|
+
}
|
|
39214
|
+
|
|
39215
|
+
/**
|
|
39216
|
+
* SendOrderAddOnAuthenticationResponse status.
|
|
39217
|
+
* @member {StatusCode} status
|
|
39218
|
+
* @memberof SendOrderAddOnAuthenticationResponse
|
|
39219
|
+
* @instance
|
|
39220
|
+
*/
|
|
39221
|
+
SendOrderAddOnAuthenticationResponse.prototype.status = 0;
|
|
39222
|
+
|
|
39223
|
+
/**
|
|
39224
|
+
* SendOrderAddOnAuthenticationResponse errors.
|
|
39225
|
+
* @member {Array.<IError>} errors
|
|
39226
|
+
* @memberof SendOrderAddOnAuthenticationResponse
|
|
39227
|
+
* @instance
|
|
39228
|
+
*/
|
|
39229
|
+
SendOrderAddOnAuthenticationResponse.prototype.errors = $util.emptyArray;
|
|
39230
|
+
|
|
39231
|
+
/**
|
|
39232
|
+
* SendOrderAddOnAuthenticationResponse ticketIds.
|
|
39233
|
+
* @member {Array.<string>} ticketIds
|
|
39234
|
+
* @memberof SendOrderAddOnAuthenticationResponse
|
|
39235
|
+
* @instance
|
|
39236
|
+
*/
|
|
39237
|
+
SendOrderAddOnAuthenticationResponse.prototype.ticketIds = $util.emptyArray;
|
|
39238
|
+
|
|
39239
|
+
/**
|
|
39240
|
+
* Creates a new SendOrderAddOnAuthenticationResponse instance using the specified properties.
|
|
39241
|
+
* @function create
|
|
39242
|
+
* @memberof SendOrderAddOnAuthenticationResponse
|
|
39243
|
+
* @static
|
|
39244
|
+
* @param {ISendOrderAddOnAuthenticationResponse=} [properties] Properties to set
|
|
39245
|
+
* @returns {SendOrderAddOnAuthenticationResponse} SendOrderAddOnAuthenticationResponse instance
|
|
39246
|
+
*/
|
|
39247
|
+
SendOrderAddOnAuthenticationResponse.create = function create(properties) {
|
|
39248
|
+
return new SendOrderAddOnAuthenticationResponse(properties);
|
|
39249
|
+
};
|
|
39250
|
+
|
|
39251
|
+
/**
|
|
39252
|
+
* Encodes the specified SendOrderAddOnAuthenticationResponse message. Does not implicitly {@link SendOrderAddOnAuthenticationResponse.verify|verify} messages.
|
|
39253
|
+
* @function encode
|
|
39254
|
+
* @memberof SendOrderAddOnAuthenticationResponse
|
|
39255
|
+
* @static
|
|
39256
|
+
* @param {ISendOrderAddOnAuthenticationResponse} message SendOrderAddOnAuthenticationResponse message or plain object to encode
|
|
39257
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
39258
|
+
* @returns {$protobuf.Writer} Writer
|
|
39259
|
+
*/
|
|
39260
|
+
SendOrderAddOnAuthenticationResponse.encode = function encode(message, writer) {
|
|
39261
|
+
if (!writer)
|
|
39262
|
+
writer = $Writer.create();
|
|
39263
|
+
if (message.status != null && Object.hasOwnProperty.call(message, "status"))
|
|
39264
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.status);
|
|
39265
|
+
if (message.errors != null && message.errors.length)
|
|
39266
|
+
for (var i = 0; i < message.errors.length; ++i)
|
|
39267
|
+
$root.Error.encode(message.errors[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
39268
|
+
if (message.ticketIds != null && message.ticketIds.length)
|
|
39269
|
+
for (var i = 0; i < message.ticketIds.length; ++i)
|
|
39270
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.ticketIds[i]);
|
|
39271
|
+
return writer;
|
|
39272
|
+
};
|
|
39273
|
+
|
|
39274
|
+
/**
|
|
39275
|
+
* Encodes the specified SendOrderAddOnAuthenticationResponse message, length delimited. Does not implicitly {@link SendOrderAddOnAuthenticationResponse.verify|verify} messages.
|
|
39276
|
+
* @function encodeDelimited
|
|
39277
|
+
* @memberof SendOrderAddOnAuthenticationResponse
|
|
39278
|
+
* @static
|
|
39279
|
+
* @param {ISendOrderAddOnAuthenticationResponse} message SendOrderAddOnAuthenticationResponse message or plain object to encode
|
|
39280
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
39281
|
+
* @returns {$protobuf.Writer} Writer
|
|
39282
|
+
*/
|
|
39283
|
+
SendOrderAddOnAuthenticationResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
39284
|
+
return this.encode(message, writer).ldelim();
|
|
39285
|
+
};
|
|
39286
|
+
|
|
39287
|
+
/**
|
|
39288
|
+
* Decodes a SendOrderAddOnAuthenticationResponse message from the specified reader or buffer.
|
|
39289
|
+
* @function decode
|
|
39290
|
+
* @memberof SendOrderAddOnAuthenticationResponse
|
|
39291
|
+
* @static
|
|
39292
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
39293
|
+
* @param {number} [length] Message length if known beforehand
|
|
39294
|
+
* @returns {SendOrderAddOnAuthenticationResponse} SendOrderAddOnAuthenticationResponse
|
|
39295
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39296
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39297
|
+
*/
|
|
39298
|
+
SendOrderAddOnAuthenticationResponse.decode = function decode(reader, length) {
|
|
39299
|
+
if (!(reader instanceof $Reader))
|
|
39300
|
+
reader = $Reader.create(reader);
|
|
39301
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SendOrderAddOnAuthenticationResponse();
|
|
39302
|
+
while (reader.pos < end) {
|
|
39303
|
+
var tag = reader.uint32();
|
|
39304
|
+
switch (tag >>> 3) {
|
|
39305
|
+
case 1:
|
|
39306
|
+
message.status = reader.int32();
|
|
39307
|
+
break;
|
|
39308
|
+
case 2:
|
|
39309
|
+
if (!(message.errors && message.errors.length))
|
|
39310
|
+
message.errors = [];
|
|
39311
|
+
message.errors.push($root.Error.decode(reader, reader.uint32()));
|
|
39312
|
+
break;
|
|
39313
|
+
case 3:
|
|
39314
|
+
if (!(message.ticketIds && message.ticketIds.length))
|
|
39315
|
+
message.ticketIds = [];
|
|
39316
|
+
message.ticketIds.push(reader.string());
|
|
39317
|
+
break;
|
|
39318
|
+
default:
|
|
39319
|
+
reader.skipType(tag & 7);
|
|
39320
|
+
break;
|
|
39321
|
+
}
|
|
39322
|
+
}
|
|
39323
|
+
return message;
|
|
39324
|
+
};
|
|
39325
|
+
|
|
39326
|
+
/**
|
|
39327
|
+
* Decodes a SendOrderAddOnAuthenticationResponse message from the specified reader or buffer, length delimited.
|
|
39328
|
+
* @function decodeDelimited
|
|
39329
|
+
* @memberof SendOrderAddOnAuthenticationResponse
|
|
39330
|
+
* @static
|
|
39331
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
39332
|
+
* @returns {SendOrderAddOnAuthenticationResponse} SendOrderAddOnAuthenticationResponse
|
|
39333
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39334
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39335
|
+
*/
|
|
39336
|
+
SendOrderAddOnAuthenticationResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
39337
|
+
if (!(reader instanceof $Reader))
|
|
39338
|
+
reader = new $Reader(reader);
|
|
39339
|
+
return this.decode(reader, reader.uint32());
|
|
39340
|
+
};
|
|
39341
|
+
|
|
39342
|
+
/**
|
|
39343
|
+
* Verifies a SendOrderAddOnAuthenticationResponse message.
|
|
39344
|
+
* @function verify
|
|
39345
|
+
* @memberof SendOrderAddOnAuthenticationResponse
|
|
39346
|
+
* @static
|
|
39347
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
39348
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
39349
|
+
*/
|
|
39350
|
+
SendOrderAddOnAuthenticationResponse.verify = function verify(message) {
|
|
39351
|
+
if (typeof message !== "object" || message === null)
|
|
39352
|
+
return "object expected";
|
|
39353
|
+
if (message.status != null && message.hasOwnProperty("status"))
|
|
39354
|
+
switch (message.status) {
|
|
39355
|
+
default:
|
|
39356
|
+
return "status: enum value expected";
|
|
39357
|
+
case 0:
|
|
39358
|
+
case 200:
|
|
39359
|
+
case 400:
|
|
39360
|
+
case 401:
|
|
39361
|
+
case 403:
|
|
39362
|
+
case 422:
|
|
39363
|
+
case 404:
|
|
39364
|
+
case 500:
|
|
39365
|
+
case 504:
|
|
39366
|
+
break;
|
|
39367
|
+
}
|
|
39368
|
+
if (message.errors != null && message.hasOwnProperty("errors")) {
|
|
39369
|
+
if (!Array.isArray(message.errors))
|
|
39370
|
+
return "errors: array expected";
|
|
39371
|
+
for (var i = 0; i < message.errors.length; ++i) {
|
|
39372
|
+
var error = $root.Error.verify(message.errors[i]);
|
|
39373
|
+
if (error)
|
|
39374
|
+
return "errors." + error;
|
|
39375
|
+
}
|
|
39376
|
+
}
|
|
39377
|
+
if (message.ticketIds != null && message.hasOwnProperty("ticketIds")) {
|
|
39378
|
+
if (!Array.isArray(message.ticketIds))
|
|
39379
|
+
return "ticketIds: array expected";
|
|
39380
|
+
for (var i = 0; i < message.ticketIds.length; ++i)
|
|
39381
|
+
if (!$util.isString(message.ticketIds[i]))
|
|
39382
|
+
return "ticketIds: string[] expected";
|
|
39383
|
+
}
|
|
39384
|
+
return null;
|
|
39385
|
+
};
|
|
39386
|
+
|
|
39387
|
+
/**
|
|
39388
|
+
* Creates a SendOrderAddOnAuthenticationResponse message from a plain object. Also converts values to their respective internal types.
|
|
39389
|
+
* @function fromObject
|
|
39390
|
+
* @memberof SendOrderAddOnAuthenticationResponse
|
|
39391
|
+
* @static
|
|
39392
|
+
* @param {Object.<string,*>} object Plain object
|
|
39393
|
+
* @returns {SendOrderAddOnAuthenticationResponse} SendOrderAddOnAuthenticationResponse
|
|
39394
|
+
*/
|
|
39395
|
+
SendOrderAddOnAuthenticationResponse.fromObject = function fromObject(object) {
|
|
39396
|
+
if (object instanceof $root.SendOrderAddOnAuthenticationResponse)
|
|
39397
|
+
return object;
|
|
39398
|
+
var message = new $root.SendOrderAddOnAuthenticationResponse();
|
|
39399
|
+
switch (object.status) {
|
|
39400
|
+
case "UNKNOWN_CODE":
|
|
39401
|
+
case 0:
|
|
39402
|
+
message.status = 0;
|
|
39403
|
+
break;
|
|
39404
|
+
case "OK":
|
|
39405
|
+
case 200:
|
|
39406
|
+
message.status = 200;
|
|
39407
|
+
break;
|
|
39408
|
+
case "BAD_REQUEST":
|
|
39409
|
+
case 400:
|
|
39410
|
+
message.status = 400;
|
|
39411
|
+
break;
|
|
39412
|
+
case "UNAUTHORIZED":
|
|
39413
|
+
case 401:
|
|
39414
|
+
message.status = 401;
|
|
39415
|
+
break;
|
|
39416
|
+
case "FORBIDDEN":
|
|
39417
|
+
case 403:
|
|
39418
|
+
message.status = 403;
|
|
39419
|
+
break;
|
|
39420
|
+
case "UNPROCESSABLE_ENTITY":
|
|
39421
|
+
case 422:
|
|
39422
|
+
message.status = 422;
|
|
39423
|
+
break;
|
|
39424
|
+
case "NOT_FOUND":
|
|
39425
|
+
case 404:
|
|
39426
|
+
message.status = 404;
|
|
39427
|
+
break;
|
|
39428
|
+
case "INTERNAL_SERVER_ERROR":
|
|
39429
|
+
case 500:
|
|
39430
|
+
message.status = 500;
|
|
39431
|
+
break;
|
|
39432
|
+
case "GATEWAY_TIMEOUT":
|
|
39433
|
+
case 504:
|
|
39434
|
+
message.status = 504;
|
|
39435
|
+
break;
|
|
39436
|
+
}
|
|
39437
|
+
if (object.errors) {
|
|
39438
|
+
if (!Array.isArray(object.errors))
|
|
39439
|
+
throw TypeError(".SendOrderAddOnAuthenticationResponse.errors: array expected");
|
|
39440
|
+
message.errors = [];
|
|
39441
|
+
for (var i = 0; i < object.errors.length; ++i) {
|
|
39442
|
+
if (typeof object.errors[i] !== "object")
|
|
39443
|
+
throw TypeError(".SendOrderAddOnAuthenticationResponse.errors: object expected");
|
|
39444
|
+
message.errors[i] = $root.Error.fromObject(object.errors[i]);
|
|
39445
|
+
}
|
|
39446
|
+
}
|
|
39447
|
+
if (object.ticketIds) {
|
|
39448
|
+
if (!Array.isArray(object.ticketIds))
|
|
39449
|
+
throw TypeError(".SendOrderAddOnAuthenticationResponse.ticketIds: array expected");
|
|
39450
|
+
message.ticketIds = [];
|
|
39451
|
+
for (var i = 0; i < object.ticketIds.length; ++i)
|
|
39452
|
+
message.ticketIds[i] = String(object.ticketIds[i]);
|
|
39453
|
+
}
|
|
39454
|
+
return message;
|
|
39455
|
+
};
|
|
39456
|
+
|
|
39457
|
+
/**
|
|
39458
|
+
* Creates a plain object from a SendOrderAddOnAuthenticationResponse message. Also converts values to other types if specified.
|
|
39459
|
+
* @function toObject
|
|
39460
|
+
* @memberof SendOrderAddOnAuthenticationResponse
|
|
39461
|
+
* @static
|
|
39462
|
+
* @param {SendOrderAddOnAuthenticationResponse} message SendOrderAddOnAuthenticationResponse
|
|
39463
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
39464
|
+
* @returns {Object.<string,*>} Plain object
|
|
39465
|
+
*/
|
|
39466
|
+
SendOrderAddOnAuthenticationResponse.toObject = function toObject(message, options) {
|
|
39467
|
+
if (!options)
|
|
39468
|
+
options = {};
|
|
39469
|
+
var object = {};
|
|
39470
|
+
if (options.arrays || options.defaults) {
|
|
39471
|
+
object.errors = [];
|
|
39472
|
+
object.ticketIds = [];
|
|
39473
|
+
}
|
|
39474
|
+
if (options.defaults)
|
|
39475
|
+
object.status = options.enums === String ? "UNKNOWN_CODE" : 0;
|
|
39476
|
+
if (message.status != null && message.hasOwnProperty("status"))
|
|
39477
|
+
object.status = options.enums === String ? $root.StatusCode[message.status] : message.status;
|
|
39478
|
+
if (message.errors && message.errors.length) {
|
|
39479
|
+
object.errors = [];
|
|
39480
|
+
for (var j = 0; j < message.errors.length; ++j)
|
|
39481
|
+
object.errors[j] = $root.Error.toObject(message.errors[j], options);
|
|
39482
|
+
}
|
|
39483
|
+
if (message.ticketIds && message.ticketIds.length) {
|
|
39484
|
+
object.ticketIds = [];
|
|
39485
|
+
for (var j = 0; j < message.ticketIds.length; ++j)
|
|
39486
|
+
object.ticketIds[j] = message.ticketIds[j];
|
|
39487
|
+
}
|
|
39488
|
+
return object;
|
|
39489
|
+
};
|
|
39490
|
+
|
|
39491
|
+
/**
|
|
39492
|
+
* Converts this SendOrderAddOnAuthenticationResponse to JSON.
|
|
39493
|
+
* @function toJSON
|
|
39494
|
+
* @memberof SendOrderAddOnAuthenticationResponse
|
|
39495
|
+
* @instance
|
|
39496
|
+
* @returns {Object.<string,*>} JSON object
|
|
39497
|
+
*/
|
|
39498
|
+
SendOrderAddOnAuthenticationResponse.prototype.toJSON = function toJSON() {
|
|
39499
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
39500
|
+
};
|
|
39501
|
+
|
|
39502
|
+
return SendOrderAddOnAuthenticationResponse;
|
|
39503
|
+
})();
|
|
39504
|
+
|
|
39505
|
+
$root.VerifyOrderAddOnAuthenticationResponse = (function() {
|
|
39506
|
+
|
|
39507
|
+
/**
|
|
39508
|
+
* Properties of a VerifyOrderAddOnAuthenticationResponse.
|
|
39509
|
+
* @exports IVerifyOrderAddOnAuthenticationResponse
|
|
39510
|
+
* @interface IVerifyOrderAddOnAuthenticationResponse
|
|
39511
|
+
* @property {StatusCode|null} [status] VerifyOrderAddOnAuthenticationResponse status
|
|
39512
|
+
* @property {Array.<IError>|null} [errors] VerifyOrderAddOnAuthenticationResponse errors
|
|
39513
|
+
* @property {IUser|null} [user] VerifyOrderAddOnAuthenticationResponse user
|
|
39514
|
+
* @property {string|null} [token] VerifyOrderAddOnAuthenticationResponse token
|
|
39515
|
+
*/
|
|
39516
|
+
|
|
39517
|
+
/**
|
|
39518
|
+
* Constructs a new VerifyOrderAddOnAuthenticationResponse.
|
|
39519
|
+
* @exports VerifyOrderAddOnAuthenticationResponse
|
|
39520
|
+
* @classdesc Represents a VerifyOrderAddOnAuthenticationResponse.
|
|
39521
|
+
* @implements IVerifyOrderAddOnAuthenticationResponse
|
|
39522
|
+
* @constructor
|
|
39523
|
+
* @param {IVerifyOrderAddOnAuthenticationResponse=} [properties] Properties to set
|
|
39524
|
+
*/
|
|
39525
|
+
function VerifyOrderAddOnAuthenticationResponse(properties) {
|
|
39526
|
+
this.errors = [];
|
|
39527
|
+
if (properties)
|
|
39528
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
39529
|
+
if (properties[keys[i]] != null)
|
|
39530
|
+
this[keys[i]] = properties[keys[i]];
|
|
39531
|
+
}
|
|
39532
|
+
|
|
39533
|
+
/**
|
|
39534
|
+
* VerifyOrderAddOnAuthenticationResponse status.
|
|
39535
|
+
* @member {StatusCode} status
|
|
39536
|
+
* @memberof VerifyOrderAddOnAuthenticationResponse
|
|
39537
|
+
* @instance
|
|
39538
|
+
*/
|
|
39539
|
+
VerifyOrderAddOnAuthenticationResponse.prototype.status = 0;
|
|
39540
|
+
|
|
39541
|
+
/**
|
|
39542
|
+
* VerifyOrderAddOnAuthenticationResponse errors.
|
|
39543
|
+
* @member {Array.<IError>} errors
|
|
39544
|
+
* @memberof VerifyOrderAddOnAuthenticationResponse
|
|
39545
|
+
* @instance
|
|
39546
|
+
*/
|
|
39547
|
+
VerifyOrderAddOnAuthenticationResponse.prototype.errors = $util.emptyArray;
|
|
39548
|
+
|
|
39549
|
+
/**
|
|
39550
|
+
* VerifyOrderAddOnAuthenticationResponse user.
|
|
39551
|
+
* @member {IUser|null|undefined} user
|
|
39552
|
+
* @memberof VerifyOrderAddOnAuthenticationResponse
|
|
39553
|
+
* @instance
|
|
39554
|
+
*/
|
|
39555
|
+
VerifyOrderAddOnAuthenticationResponse.prototype.user = null;
|
|
39556
|
+
|
|
39557
|
+
/**
|
|
39558
|
+
* VerifyOrderAddOnAuthenticationResponse token.
|
|
39559
|
+
* @member {string} token
|
|
39560
|
+
* @memberof VerifyOrderAddOnAuthenticationResponse
|
|
39561
|
+
* @instance
|
|
39562
|
+
*/
|
|
39563
|
+
VerifyOrderAddOnAuthenticationResponse.prototype.token = "";
|
|
39564
|
+
|
|
39565
|
+
/**
|
|
39566
|
+
* Creates a new VerifyOrderAddOnAuthenticationResponse instance using the specified properties.
|
|
39567
|
+
* @function create
|
|
39568
|
+
* @memberof VerifyOrderAddOnAuthenticationResponse
|
|
39569
|
+
* @static
|
|
39570
|
+
* @param {IVerifyOrderAddOnAuthenticationResponse=} [properties] Properties to set
|
|
39571
|
+
* @returns {VerifyOrderAddOnAuthenticationResponse} VerifyOrderAddOnAuthenticationResponse instance
|
|
39572
|
+
*/
|
|
39573
|
+
VerifyOrderAddOnAuthenticationResponse.create = function create(properties) {
|
|
39574
|
+
return new VerifyOrderAddOnAuthenticationResponse(properties);
|
|
39575
|
+
};
|
|
39576
|
+
|
|
39577
|
+
/**
|
|
39578
|
+
* Encodes the specified VerifyOrderAddOnAuthenticationResponse message. Does not implicitly {@link VerifyOrderAddOnAuthenticationResponse.verify|verify} messages.
|
|
39579
|
+
* @function encode
|
|
39580
|
+
* @memberof VerifyOrderAddOnAuthenticationResponse
|
|
39581
|
+
* @static
|
|
39582
|
+
* @param {IVerifyOrderAddOnAuthenticationResponse} message VerifyOrderAddOnAuthenticationResponse message or plain object to encode
|
|
39583
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
39584
|
+
* @returns {$protobuf.Writer} Writer
|
|
39585
|
+
*/
|
|
39586
|
+
VerifyOrderAddOnAuthenticationResponse.encode = function encode(message, writer) {
|
|
39587
|
+
if (!writer)
|
|
39588
|
+
writer = $Writer.create();
|
|
39589
|
+
if (message.status != null && Object.hasOwnProperty.call(message, "status"))
|
|
39590
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.status);
|
|
39591
|
+
if (message.errors != null && message.errors.length)
|
|
39592
|
+
for (var i = 0; i < message.errors.length; ++i)
|
|
39593
|
+
$root.Error.encode(message.errors[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
39594
|
+
if (message.user != null && Object.hasOwnProperty.call(message, "user"))
|
|
39595
|
+
$root.User.encode(message.user, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
39596
|
+
if (message.token != null && Object.hasOwnProperty.call(message, "token"))
|
|
39597
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.token);
|
|
39598
|
+
return writer;
|
|
39599
|
+
};
|
|
39600
|
+
|
|
39601
|
+
/**
|
|
39602
|
+
* Encodes the specified VerifyOrderAddOnAuthenticationResponse message, length delimited. Does not implicitly {@link VerifyOrderAddOnAuthenticationResponse.verify|verify} messages.
|
|
39603
|
+
* @function encodeDelimited
|
|
39604
|
+
* @memberof VerifyOrderAddOnAuthenticationResponse
|
|
39605
|
+
* @static
|
|
39606
|
+
* @param {IVerifyOrderAddOnAuthenticationResponse} message VerifyOrderAddOnAuthenticationResponse message or plain object to encode
|
|
39607
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
39608
|
+
* @returns {$protobuf.Writer} Writer
|
|
39609
|
+
*/
|
|
39610
|
+
VerifyOrderAddOnAuthenticationResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
39611
|
+
return this.encode(message, writer).ldelim();
|
|
39612
|
+
};
|
|
39613
|
+
|
|
39614
|
+
/**
|
|
39615
|
+
* Decodes a VerifyOrderAddOnAuthenticationResponse message from the specified reader or buffer.
|
|
39616
|
+
* @function decode
|
|
39617
|
+
* @memberof VerifyOrderAddOnAuthenticationResponse
|
|
39618
|
+
* @static
|
|
39619
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
39620
|
+
* @param {number} [length] Message length if known beforehand
|
|
39621
|
+
* @returns {VerifyOrderAddOnAuthenticationResponse} VerifyOrderAddOnAuthenticationResponse
|
|
39622
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39623
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39624
|
+
*/
|
|
39625
|
+
VerifyOrderAddOnAuthenticationResponse.decode = function decode(reader, length) {
|
|
39626
|
+
if (!(reader instanceof $Reader))
|
|
39627
|
+
reader = $Reader.create(reader);
|
|
39628
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.VerifyOrderAddOnAuthenticationResponse();
|
|
39629
|
+
while (reader.pos < end) {
|
|
39630
|
+
var tag = reader.uint32();
|
|
39631
|
+
switch (tag >>> 3) {
|
|
39632
|
+
case 1:
|
|
39633
|
+
message.status = reader.int32();
|
|
39634
|
+
break;
|
|
39635
|
+
case 2:
|
|
39636
|
+
if (!(message.errors && message.errors.length))
|
|
39637
|
+
message.errors = [];
|
|
39638
|
+
message.errors.push($root.Error.decode(reader, reader.uint32()));
|
|
39639
|
+
break;
|
|
39640
|
+
case 3:
|
|
39641
|
+
message.user = $root.User.decode(reader, reader.uint32());
|
|
39642
|
+
break;
|
|
39643
|
+
case 4:
|
|
39644
|
+
message.token = reader.string();
|
|
39645
|
+
break;
|
|
39646
|
+
default:
|
|
39647
|
+
reader.skipType(tag & 7);
|
|
39648
|
+
break;
|
|
39649
|
+
}
|
|
39650
|
+
}
|
|
39651
|
+
return message;
|
|
39652
|
+
};
|
|
39653
|
+
|
|
39654
|
+
/**
|
|
39655
|
+
* Decodes a VerifyOrderAddOnAuthenticationResponse message from the specified reader or buffer, length delimited.
|
|
39656
|
+
* @function decodeDelimited
|
|
39657
|
+
* @memberof VerifyOrderAddOnAuthenticationResponse
|
|
39658
|
+
* @static
|
|
39659
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
39660
|
+
* @returns {VerifyOrderAddOnAuthenticationResponse} VerifyOrderAddOnAuthenticationResponse
|
|
39661
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39662
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39663
|
+
*/
|
|
39664
|
+
VerifyOrderAddOnAuthenticationResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
39665
|
+
if (!(reader instanceof $Reader))
|
|
39666
|
+
reader = new $Reader(reader);
|
|
39667
|
+
return this.decode(reader, reader.uint32());
|
|
39668
|
+
};
|
|
39669
|
+
|
|
39670
|
+
/**
|
|
39671
|
+
* Verifies a VerifyOrderAddOnAuthenticationResponse message.
|
|
39672
|
+
* @function verify
|
|
39673
|
+
* @memberof VerifyOrderAddOnAuthenticationResponse
|
|
39674
|
+
* @static
|
|
39675
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
39676
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
39677
|
+
*/
|
|
39678
|
+
VerifyOrderAddOnAuthenticationResponse.verify = function verify(message) {
|
|
39679
|
+
if (typeof message !== "object" || message === null)
|
|
39680
|
+
return "object expected";
|
|
39681
|
+
if (message.status != null && message.hasOwnProperty("status"))
|
|
39682
|
+
switch (message.status) {
|
|
39683
|
+
default:
|
|
39684
|
+
return "status: enum value expected";
|
|
39685
|
+
case 0:
|
|
39686
|
+
case 200:
|
|
39687
|
+
case 400:
|
|
39688
|
+
case 401:
|
|
39689
|
+
case 403:
|
|
39690
|
+
case 422:
|
|
39691
|
+
case 404:
|
|
39692
|
+
case 500:
|
|
39693
|
+
case 504:
|
|
39694
|
+
break;
|
|
39695
|
+
}
|
|
39696
|
+
if (message.errors != null && message.hasOwnProperty("errors")) {
|
|
39697
|
+
if (!Array.isArray(message.errors))
|
|
39698
|
+
return "errors: array expected";
|
|
39699
|
+
for (var i = 0; i < message.errors.length; ++i) {
|
|
39700
|
+
var error = $root.Error.verify(message.errors[i]);
|
|
39701
|
+
if (error)
|
|
39702
|
+
return "errors." + error;
|
|
39703
|
+
}
|
|
39704
|
+
}
|
|
39705
|
+
if (message.user != null && message.hasOwnProperty("user")) {
|
|
39706
|
+
var error = $root.User.verify(message.user);
|
|
39707
|
+
if (error)
|
|
39708
|
+
return "user." + error;
|
|
39709
|
+
}
|
|
39710
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
39711
|
+
if (!$util.isString(message.token))
|
|
39712
|
+
return "token: string expected";
|
|
39713
|
+
return null;
|
|
39714
|
+
};
|
|
39715
|
+
|
|
39716
|
+
/**
|
|
39717
|
+
* Creates a VerifyOrderAddOnAuthenticationResponse message from a plain object. Also converts values to their respective internal types.
|
|
39718
|
+
* @function fromObject
|
|
39719
|
+
* @memberof VerifyOrderAddOnAuthenticationResponse
|
|
39720
|
+
* @static
|
|
39721
|
+
* @param {Object.<string,*>} object Plain object
|
|
39722
|
+
* @returns {VerifyOrderAddOnAuthenticationResponse} VerifyOrderAddOnAuthenticationResponse
|
|
39723
|
+
*/
|
|
39724
|
+
VerifyOrderAddOnAuthenticationResponse.fromObject = function fromObject(object) {
|
|
39725
|
+
if (object instanceof $root.VerifyOrderAddOnAuthenticationResponse)
|
|
39726
|
+
return object;
|
|
39727
|
+
var message = new $root.VerifyOrderAddOnAuthenticationResponse();
|
|
39728
|
+
switch (object.status) {
|
|
39729
|
+
case "UNKNOWN_CODE":
|
|
39730
|
+
case 0:
|
|
39731
|
+
message.status = 0;
|
|
39732
|
+
break;
|
|
39733
|
+
case "OK":
|
|
39734
|
+
case 200:
|
|
39735
|
+
message.status = 200;
|
|
39736
|
+
break;
|
|
39737
|
+
case "BAD_REQUEST":
|
|
39738
|
+
case 400:
|
|
39739
|
+
message.status = 400;
|
|
39740
|
+
break;
|
|
39741
|
+
case "UNAUTHORIZED":
|
|
39742
|
+
case 401:
|
|
39743
|
+
message.status = 401;
|
|
39744
|
+
break;
|
|
39745
|
+
case "FORBIDDEN":
|
|
39746
|
+
case 403:
|
|
39747
|
+
message.status = 403;
|
|
39748
|
+
break;
|
|
39749
|
+
case "UNPROCESSABLE_ENTITY":
|
|
39750
|
+
case 422:
|
|
39751
|
+
message.status = 422;
|
|
39752
|
+
break;
|
|
39753
|
+
case "NOT_FOUND":
|
|
39754
|
+
case 404:
|
|
39755
|
+
message.status = 404;
|
|
39756
|
+
break;
|
|
39757
|
+
case "INTERNAL_SERVER_ERROR":
|
|
39758
|
+
case 500:
|
|
39759
|
+
message.status = 500;
|
|
39760
|
+
break;
|
|
39761
|
+
case "GATEWAY_TIMEOUT":
|
|
39762
|
+
case 504:
|
|
39763
|
+
message.status = 504;
|
|
39764
|
+
break;
|
|
39765
|
+
}
|
|
39766
|
+
if (object.errors) {
|
|
39767
|
+
if (!Array.isArray(object.errors))
|
|
39768
|
+
throw TypeError(".VerifyOrderAddOnAuthenticationResponse.errors: array expected");
|
|
39769
|
+
message.errors = [];
|
|
39770
|
+
for (var i = 0; i < object.errors.length; ++i) {
|
|
39771
|
+
if (typeof object.errors[i] !== "object")
|
|
39772
|
+
throw TypeError(".VerifyOrderAddOnAuthenticationResponse.errors: object expected");
|
|
39773
|
+
message.errors[i] = $root.Error.fromObject(object.errors[i]);
|
|
39774
|
+
}
|
|
39775
|
+
}
|
|
39776
|
+
if (object.user != null) {
|
|
39777
|
+
if (typeof object.user !== "object")
|
|
39778
|
+
throw TypeError(".VerifyOrderAddOnAuthenticationResponse.user: object expected");
|
|
39779
|
+
message.user = $root.User.fromObject(object.user);
|
|
39780
|
+
}
|
|
39781
|
+
if (object.token != null)
|
|
39782
|
+
message.token = String(object.token);
|
|
39783
|
+
return message;
|
|
39784
|
+
};
|
|
39785
|
+
|
|
39786
|
+
/**
|
|
39787
|
+
* Creates a plain object from a VerifyOrderAddOnAuthenticationResponse message. Also converts values to other types if specified.
|
|
39788
|
+
* @function toObject
|
|
39789
|
+
* @memberof VerifyOrderAddOnAuthenticationResponse
|
|
39790
|
+
* @static
|
|
39791
|
+
* @param {VerifyOrderAddOnAuthenticationResponse} message VerifyOrderAddOnAuthenticationResponse
|
|
39792
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
39793
|
+
* @returns {Object.<string,*>} Plain object
|
|
39794
|
+
*/
|
|
39795
|
+
VerifyOrderAddOnAuthenticationResponse.toObject = function toObject(message, options) {
|
|
39796
|
+
if (!options)
|
|
39797
|
+
options = {};
|
|
39798
|
+
var object = {};
|
|
39799
|
+
if (options.arrays || options.defaults)
|
|
39800
|
+
object.errors = [];
|
|
39801
|
+
if (options.defaults) {
|
|
39802
|
+
object.status = options.enums === String ? "UNKNOWN_CODE" : 0;
|
|
39803
|
+
object.user = null;
|
|
39804
|
+
object.token = "";
|
|
39805
|
+
}
|
|
39806
|
+
if (message.status != null && message.hasOwnProperty("status"))
|
|
39807
|
+
object.status = options.enums === String ? $root.StatusCode[message.status] : message.status;
|
|
39808
|
+
if (message.errors && message.errors.length) {
|
|
39809
|
+
object.errors = [];
|
|
39810
|
+
for (var j = 0; j < message.errors.length; ++j)
|
|
39811
|
+
object.errors[j] = $root.Error.toObject(message.errors[j], options);
|
|
39812
|
+
}
|
|
39813
|
+
if (message.user != null && message.hasOwnProperty("user"))
|
|
39814
|
+
object.user = $root.User.toObject(message.user, options);
|
|
39815
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
39816
|
+
object.token = message.token;
|
|
39817
|
+
return object;
|
|
39818
|
+
};
|
|
39819
|
+
|
|
39820
|
+
/**
|
|
39821
|
+
* Converts this VerifyOrderAddOnAuthenticationResponse to JSON.
|
|
39822
|
+
* @function toJSON
|
|
39823
|
+
* @memberof VerifyOrderAddOnAuthenticationResponse
|
|
39824
|
+
* @instance
|
|
39825
|
+
* @returns {Object.<string,*>} JSON object
|
|
39826
|
+
*/
|
|
39827
|
+
VerifyOrderAddOnAuthenticationResponse.prototype.toJSON = function toJSON() {
|
|
39828
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
39829
|
+
};
|
|
39830
|
+
|
|
39831
|
+
return VerifyOrderAddOnAuthenticationResponse;
|
|
39832
|
+
})();
|
|
39833
|
+
|
|
38400
39834
|
$root.FindOrderByEmailRequest = (function() {
|
|
38401
39835
|
|
|
38402
39836
|
/**
|
|
@@ -44788,6 +46222,7 @@ $root.SharingOrderData = (function() {
|
|
|
44788
46222
|
* @property {string|null} [lastName] SharingOrderData lastName
|
|
44789
46223
|
* @property {string|null} [_id] SharingOrderData _id
|
|
44790
46224
|
* @property {string|null} [userAgreement] SharingOrderData userAgreement
|
|
46225
|
+
* @property {string|null} [ticketShareExpiration] SharingOrderData ticketShareExpiration
|
|
44791
46226
|
*/
|
|
44792
46227
|
|
|
44793
46228
|
/**
|
|
@@ -44863,6 +46298,14 @@ $root.SharingOrderData = (function() {
|
|
|
44863
46298
|
*/
|
|
44864
46299
|
SharingOrderData.prototype.userAgreement = "";
|
|
44865
46300
|
|
|
46301
|
+
/**
|
|
46302
|
+
* SharingOrderData ticketShareExpiration.
|
|
46303
|
+
* @member {string} ticketShareExpiration
|
|
46304
|
+
* @memberof SharingOrderData
|
|
46305
|
+
* @instance
|
|
46306
|
+
*/
|
|
46307
|
+
SharingOrderData.prototype.ticketShareExpiration = "";
|
|
46308
|
+
|
|
44866
46309
|
/**
|
|
44867
46310
|
* Creates a new SharingOrderData instance using the specified properties.
|
|
44868
46311
|
* @function create
|
|
@@ -44903,6 +46346,8 @@ $root.SharingOrderData = (function() {
|
|
|
44903
46346
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message._id);
|
|
44904
46347
|
if (message.userAgreement != null && Object.hasOwnProperty.call(message, "userAgreement"))
|
|
44905
46348
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.userAgreement);
|
|
46349
|
+
if (message.ticketShareExpiration != null && Object.hasOwnProperty.call(message, "ticketShareExpiration"))
|
|
46350
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.ticketShareExpiration);
|
|
44906
46351
|
return writer;
|
|
44907
46352
|
};
|
|
44908
46353
|
|
|
@@ -44962,6 +46407,9 @@ $root.SharingOrderData = (function() {
|
|
|
44962
46407
|
case 6:
|
|
44963
46408
|
message.userAgreement = reader.string();
|
|
44964
46409
|
break;
|
|
46410
|
+
case 7:
|
|
46411
|
+
message.ticketShareExpiration = reader.string();
|
|
46412
|
+
break;
|
|
44965
46413
|
default:
|
|
44966
46414
|
reader.skipType(tag & 7);
|
|
44967
46415
|
break;
|
|
@@ -45032,6 +46480,9 @@ $root.SharingOrderData = (function() {
|
|
|
45032
46480
|
if (message.userAgreement != null && message.hasOwnProperty("userAgreement"))
|
|
45033
46481
|
if (!$util.isString(message.userAgreement))
|
|
45034
46482
|
return "userAgreement: string expected";
|
|
46483
|
+
if (message.ticketShareExpiration != null && message.hasOwnProperty("ticketShareExpiration"))
|
|
46484
|
+
if (!$util.isString(message.ticketShareExpiration))
|
|
46485
|
+
return "ticketShareExpiration: string expected";
|
|
45035
46486
|
return null;
|
|
45036
46487
|
};
|
|
45037
46488
|
|
|
@@ -45080,6 +46531,8 @@ $root.SharingOrderData = (function() {
|
|
|
45080
46531
|
message._id = String(object._id);
|
|
45081
46532
|
if (object.userAgreement != null)
|
|
45082
46533
|
message.userAgreement = String(object.userAgreement);
|
|
46534
|
+
if (object.ticketShareExpiration != null)
|
|
46535
|
+
message.ticketShareExpiration = String(object.ticketShareExpiration);
|
|
45083
46536
|
return message;
|
|
45084
46537
|
};
|
|
45085
46538
|
|
|
@@ -45106,6 +46559,7 @@ $root.SharingOrderData = (function() {
|
|
|
45106
46559
|
object.lastName = "";
|
|
45107
46560
|
object._id = "";
|
|
45108
46561
|
object.userAgreement = "";
|
|
46562
|
+
object.ticketShareExpiration = "";
|
|
45109
46563
|
}
|
|
45110
46564
|
if (message.sharing != null && message.hasOwnProperty("sharing"))
|
|
45111
46565
|
object.sharing = $root.SharingOrderInfo.toObject(message.sharing, options);
|
|
@@ -45127,6 +46581,8 @@ $root.SharingOrderData = (function() {
|
|
|
45127
46581
|
object._id = message._id;
|
|
45128
46582
|
if (message.userAgreement != null && message.hasOwnProperty("userAgreement"))
|
|
45129
46583
|
object.userAgreement = message.userAgreement;
|
|
46584
|
+
if (message.ticketShareExpiration != null && message.hasOwnProperty("ticketShareExpiration"))
|
|
46585
|
+
object.ticketShareExpiration = message.ticketShareExpiration;
|
|
45130
46586
|
return object;
|
|
45131
46587
|
};
|
|
45132
46588
|
|
|
@@ -45557,6 +47013,10 @@ $root.ShareOrderTimestamp = (function() {
|
|
|
45557
47013
|
* @property {number|null} [acceptedTime] ShareOrderTimestamp acceptedTime
|
|
45558
47014
|
* @property {number|null} [cancelledTime] ShareOrderTimestamp cancelledTime
|
|
45559
47015
|
* @property {number|null} [rejectedTime] ShareOrderTimestamp rejectedTime
|
|
47016
|
+
* @property {number|null} [reminderSentTime] ShareOrderTimestamp reminderSentTime
|
|
47017
|
+
* @property {number|null} [expiredTime] ShareOrderTimestamp expiredTime
|
|
47018
|
+
* @property {number|null} [reminderDueAt] ShareOrderTimestamp reminderDueAt
|
|
47019
|
+
* @property {number|null} [expiresAt] ShareOrderTimestamp expiresAt
|
|
45560
47020
|
*/
|
|
45561
47021
|
|
|
45562
47022
|
/**
|
|
@@ -45606,6 +47066,38 @@ $root.ShareOrderTimestamp = (function() {
|
|
|
45606
47066
|
*/
|
|
45607
47067
|
ShareOrderTimestamp.prototype.rejectedTime = 0;
|
|
45608
47068
|
|
|
47069
|
+
/**
|
|
47070
|
+
* ShareOrderTimestamp reminderSentTime.
|
|
47071
|
+
* @member {number} reminderSentTime
|
|
47072
|
+
* @memberof ShareOrderTimestamp
|
|
47073
|
+
* @instance
|
|
47074
|
+
*/
|
|
47075
|
+
ShareOrderTimestamp.prototype.reminderSentTime = 0;
|
|
47076
|
+
|
|
47077
|
+
/**
|
|
47078
|
+
* ShareOrderTimestamp expiredTime.
|
|
47079
|
+
* @member {number} expiredTime
|
|
47080
|
+
* @memberof ShareOrderTimestamp
|
|
47081
|
+
* @instance
|
|
47082
|
+
*/
|
|
47083
|
+
ShareOrderTimestamp.prototype.expiredTime = 0;
|
|
47084
|
+
|
|
47085
|
+
/**
|
|
47086
|
+
* ShareOrderTimestamp reminderDueAt.
|
|
47087
|
+
* @member {number} reminderDueAt
|
|
47088
|
+
* @memberof ShareOrderTimestamp
|
|
47089
|
+
* @instance
|
|
47090
|
+
*/
|
|
47091
|
+
ShareOrderTimestamp.prototype.reminderDueAt = 0;
|
|
47092
|
+
|
|
47093
|
+
/**
|
|
47094
|
+
* ShareOrderTimestamp expiresAt.
|
|
47095
|
+
* @member {number} expiresAt
|
|
47096
|
+
* @memberof ShareOrderTimestamp
|
|
47097
|
+
* @instance
|
|
47098
|
+
*/
|
|
47099
|
+
ShareOrderTimestamp.prototype.expiresAt = 0;
|
|
47100
|
+
|
|
45609
47101
|
/**
|
|
45610
47102
|
* Creates a new ShareOrderTimestamp instance using the specified properties.
|
|
45611
47103
|
* @function create
|
|
@@ -45638,6 +47130,14 @@ $root.ShareOrderTimestamp = (function() {
|
|
|
45638
47130
|
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.cancelledTime);
|
|
45639
47131
|
if (message.rejectedTime != null && Object.hasOwnProperty.call(message, "rejectedTime"))
|
|
45640
47132
|
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.rejectedTime);
|
|
47133
|
+
if (message.reminderSentTime != null && Object.hasOwnProperty.call(message, "reminderSentTime"))
|
|
47134
|
+
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.reminderSentTime);
|
|
47135
|
+
if (message.expiredTime != null && Object.hasOwnProperty.call(message, "expiredTime"))
|
|
47136
|
+
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.expiredTime);
|
|
47137
|
+
if (message.reminderDueAt != null && Object.hasOwnProperty.call(message, "reminderDueAt"))
|
|
47138
|
+
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.reminderDueAt);
|
|
47139
|
+
if (message.expiresAt != null && Object.hasOwnProperty.call(message, "expiresAt"))
|
|
47140
|
+
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.expiresAt);
|
|
45641
47141
|
return writer;
|
|
45642
47142
|
};
|
|
45643
47143
|
|
|
@@ -45684,6 +47184,18 @@ $root.ShareOrderTimestamp = (function() {
|
|
|
45684
47184
|
case 3:
|
|
45685
47185
|
message.rejectedTime = reader.int32();
|
|
45686
47186
|
break;
|
|
47187
|
+
case 4:
|
|
47188
|
+
message.reminderSentTime = reader.int32();
|
|
47189
|
+
break;
|
|
47190
|
+
case 5:
|
|
47191
|
+
message.expiredTime = reader.int32();
|
|
47192
|
+
break;
|
|
47193
|
+
case 6:
|
|
47194
|
+
message.reminderDueAt = reader.int32();
|
|
47195
|
+
break;
|
|
47196
|
+
case 7:
|
|
47197
|
+
message.expiresAt = reader.int32();
|
|
47198
|
+
break;
|
|
45687
47199
|
default:
|
|
45688
47200
|
reader.skipType(tag & 7);
|
|
45689
47201
|
break;
|
|
@@ -45731,6 +47243,18 @@ $root.ShareOrderTimestamp = (function() {
|
|
|
45731
47243
|
if (message.rejectedTime != null && message.hasOwnProperty("rejectedTime"))
|
|
45732
47244
|
if (!$util.isInteger(message.rejectedTime))
|
|
45733
47245
|
return "rejectedTime: integer expected";
|
|
47246
|
+
if (message.reminderSentTime != null && message.hasOwnProperty("reminderSentTime"))
|
|
47247
|
+
if (!$util.isInteger(message.reminderSentTime))
|
|
47248
|
+
return "reminderSentTime: integer expected";
|
|
47249
|
+
if (message.expiredTime != null && message.hasOwnProperty("expiredTime"))
|
|
47250
|
+
if (!$util.isInteger(message.expiredTime))
|
|
47251
|
+
return "expiredTime: integer expected";
|
|
47252
|
+
if (message.reminderDueAt != null && message.hasOwnProperty("reminderDueAt"))
|
|
47253
|
+
if (!$util.isInteger(message.reminderDueAt))
|
|
47254
|
+
return "reminderDueAt: integer expected";
|
|
47255
|
+
if (message.expiresAt != null && message.hasOwnProperty("expiresAt"))
|
|
47256
|
+
if (!$util.isInteger(message.expiresAt))
|
|
47257
|
+
return "expiresAt: integer expected";
|
|
45734
47258
|
return null;
|
|
45735
47259
|
};
|
|
45736
47260
|
|
|
@@ -45754,6 +47278,14 @@ $root.ShareOrderTimestamp = (function() {
|
|
|
45754
47278
|
message.cancelledTime = object.cancelledTime | 0;
|
|
45755
47279
|
if (object.rejectedTime != null)
|
|
45756
47280
|
message.rejectedTime = object.rejectedTime | 0;
|
|
47281
|
+
if (object.reminderSentTime != null)
|
|
47282
|
+
message.reminderSentTime = object.reminderSentTime | 0;
|
|
47283
|
+
if (object.expiredTime != null)
|
|
47284
|
+
message.expiredTime = object.expiredTime | 0;
|
|
47285
|
+
if (object.reminderDueAt != null)
|
|
47286
|
+
message.reminderDueAt = object.reminderDueAt | 0;
|
|
47287
|
+
if (object.expiresAt != null)
|
|
47288
|
+
message.expiresAt = object.expiresAt | 0;
|
|
45757
47289
|
return message;
|
|
45758
47290
|
};
|
|
45759
47291
|
|
|
@@ -45775,6 +47307,10 @@ $root.ShareOrderTimestamp = (function() {
|
|
|
45775
47307
|
object.acceptedTime = 0;
|
|
45776
47308
|
object.cancelledTime = 0;
|
|
45777
47309
|
object.rejectedTime = 0;
|
|
47310
|
+
object.reminderSentTime = 0;
|
|
47311
|
+
object.expiredTime = 0;
|
|
47312
|
+
object.reminderDueAt = 0;
|
|
47313
|
+
object.expiresAt = 0;
|
|
45778
47314
|
}
|
|
45779
47315
|
if (message.offeredTime != null && message.hasOwnProperty("offeredTime"))
|
|
45780
47316
|
object.offeredTime = message.offeredTime;
|
|
@@ -45784,6 +47320,14 @@ $root.ShareOrderTimestamp = (function() {
|
|
|
45784
47320
|
object.cancelledTime = message.cancelledTime;
|
|
45785
47321
|
if (message.rejectedTime != null && message.hasOwnProperty("rejectedTime"))
|
|
45786
47322
|
object.rejectedTime = message.rejectedTime;
|
|
47323
|
+
if (message.reminderSentTime != null && message.hasOwnProperty("reminderSentTime"))
|
|
47324
|
+
object.reminderSentTime = message.reminderSentTime;
|
|
47325
|
+
if (message.expiredTime != null && message.hasOwnProperty("expiredTime"))
|
|
47326
|
+
object.expiredTime = message.expiredTime;
|
|
47327
|
+
if (message.reminderDueAt != null && message.hasOwnProperty("reminderDueAt"))
|
|
47328
|
+
object.reminderDueAt = message.reminderDueAt;
|
|
47329
|
+
if (message.expiresAt != null && message.hasOwnProperty("expiresAt"))
|
|
47330
|
+
object.expiresAt = message.expiresAt;
|
|
45787
47331
|
return object;
|
|
45788
47332
|
};
|
|
45789
47333
|
|
|
@@ -53675,6 +55219,72 @@ $root.OrderService = (function() {
|
|
|
53675
55219
|
* @variation 2
|
|
53676
55220
|
*/
|
|
53677
55221
|
|
|
55222
|
+
/**
|
|
55223
|
+
* Callback as used by {@link OrderService#sendOrderAddOnAuthentication}.
|
|
55224
|
+
* @memberof OrderService
|
|
55225
|
+
* @typedef sendOrderAddOnAuthenticationCallback
|
|
55226
|
+
* @type {function}
|
|
55227
|
+
* @param {Error|null} error Error, if any
|
|
55228
|
+
* @param {SendOrderAddOnAuthenticationResponse} [response] SendOrderAddOnAuthenticationResponse
|
|
55229
|
+
*/
|
|
55230
|
+
|
|
55231
|
+
/**
|
|
55232
|
+
* Calls sendOrderAddOnAuthentication.
|
|
55233
|
+
* @function sendOrderAddOnAuthentication
|
|
55234
|
+
* @memberof OrderService
|
|
55235
|
+
* @instance
|
|
55236
|
+
* @param {IOrderAddOnAuthenticationRequest} request OrderAddOnAuthenticationRequest message or plain object
|
|
55237
|
+
* @param {OrderService.sendOrderAddOnAuthenticationCallback} callback Node-style callback called with the error, if any, and SendOrderAddOnAuthenticationResponse
|
|
55238
|
+
* @returns {undefined}
|
|
55239
|
+
* @variation 1
|
|
55240
|
+
*/
|
|
55241
|
+
Object.defineProperty(OrderService.prototype.sendOrderAddOnAuthentication = function sendOrderAddOnAuthentication(request, callback) {
|
|
55242
|
+
return this.rpcCall(sendOrderAddOnAuthentication, $root.OrderAddOnAuthenticationRequest, $root.SendOrderAddOnAuthenticationResponse, request, callback);
|
|
55243
|
+
}, "name", { value: "sendOrderAddOnAuthentication" });
|
|
55244
|
+
|
|
55245
|
+
/**
|
|
55246
|
+
* Calls sendOrderAddOnAuthentication.
|
|
55247
|
+
* @function sendOrderAddOnAuthentication
|
|
55248
|
+
* @memberof OrderService
|
|
55249
|
+
* @instance
|
|
55250
|
+
* @param {IOrderAddOnAuthenticationRequest} request OrderAddOnAuthenticationRequest message or plain object
|
|
55251
|
+
* @returns {Promise<SendOrderAddOnAuthenticationResponse>} Promise
|
|
55252
|
+
* @variation 2
|
|
55253
|
+
*/
|
|
55254
|
+
|
|
55255
|
+
/**
|
|
55256
|
+
* Callback as used by {@link OrderService#verifyOrderAddOnAuthentication}.
|
|
55257
|
+
* @memberof OrderService
|
|
55258
|
+
* @typedef verifyOrderAddOnAuthenticationCallback
|
|
55259
|
+
* @type {function}
|
|
55260
|
+
* @param {Error|null} error Error, if any
|
|
55261
|
+
* @param {VerifyOrderAddOnAuthenticationResponse} [response] VerifyOrderAddOnAuthenticationResponse
|
|
55262
|
+
*/
|
|
55263
|
+
|
|
55264
|
+
/**
|
|
55265
|
+
* Calls verifyOrderAddOnAuthentication.
|
|
55266
|
+
* @function verifyOrderAddOnAuthentication
|
|
55267
|
+
* @memberof OrderService
|
|
55268
|
+
* @instance
|
|
55269
|
+
* @param {IOrderAddOnAuthenticationRequest} request OrderAddOnAuthenticationRequest message or plain object
|
|
55270
|
+
* @param {OrderService.verifyOrderAddOnAuthenticationCallback} callback Node-style callback called with the error, if any, and VerifyOrderAddOnAuthenticationResponse
|
|
55271
|
+
* @returns {undefined}
|
|
55272
|
+
* @variation 1
|
|
55273
|
+
*/
|
|
55274
|
+
Object.defineProperty(OrderService.prototype.verifyOrderAddOnAuthentication = function verifyOrderAddOnAuthentication(request, callback) {
|
|
55275
|
+
return this.rpcCall(verifyOrderAddOnAuthentication, $root.OrderAddOnAuthenticationRequest, $root.VerifyOrderAddOnAuthenticationResponse, request, callback);
|
|
55276
|
+
}, "name", { value: "verifyOrderAddOnAuthentication" });
|
|
55277
|
+
|
|
55278
|
+
/**
|
|
55279
|
+
* Calls verifyOrderAddOnAuthentication.
|
|
55280
|
+
* @function verifyOrderAddOnAuthentication
|
|
55281
|
+
* @memberof OrderService
|
|
55282
|
+
* @instance
|
|
55283
|
+
* @param {IOrderAddOnAuthenticationRequest} request OrderAddOnAuthenticationRequest message or plain object
|
|
55284
|
+
* @returns {Promise<VerifyOrderAddOnAuthenticationResponse>} Promise
|
|
55285
|
+
* @variation 2
|
|
55286
|
+
*/
|
|
55287
|
+
|
|
53678
55288
|
/**
|
|
53679
55289
|
* Callback as used by {@link OrderService#findOrderByEventId}.
|
|
53680
55290
|
* @memberof OrderService
|
|
@@ -54170,6 +55780,39 @@ $root.OrderService = (function() {
|
|
|
54170
55780
|
* @variation 2
|
|
54171
55781
|
*/
|
|
54172
55782
|
|
|
55783
|
+
/**
|
|
55784
|
+
* Callback as used by {@link OrderService#processTicketShareLifecycle}.
|
|
55785
|
+
* @memberof OrderService
|
|
55786
|
+
* @typedef processTicketShareLifecycleCallback
|
|
55787
|
+
* @type {function}
|
|
55788
|
+
* @param {Error|null} error Error, if any
|
|
55789
|
+
* @param {ProcessTicketShareLifecycleResponse} [response] ProcessTicketShareLifecycleResponse
|
|
55790
|
+
*/
|
|
55791
|
+
|
|
55792
|
+
/**
|
|
55793
|
+
* Calls processTicketShareLifecycle.
|
|
55794
|
+
* @function processTicketShareLifecycle
|
|
55795
|
+
* @memberof OrderService
|
|
55796
|
+
* @instance
|
|
55797
|
+
* @param {IProcessTicketShareLifecycleRequest} request ProcessTicketShareLifecycleRequest message or plain object
|
|
55798
|
+
* @param {OrderService.processTicketShareLifecycleCallback} callback Node-style callback called with the error, if any, and ProcessTicketShareLifecycleResponse
|
|
55799
|
+
* @returns {undefined}
|
|
55800
|
+
* @variation 1
|
|
55801
|
+
*/
|
|
55802
|
+
Object.defineProperty(OrderService.prototype.processTicketShareLifecycle = function processTicketShareLifecycle(request, callback) {
|
|
55803
|
+
return this.rpcCall(processTicketShareLifecycle, $root.ProcessTicketShareLifecycleRequest, $root.ProcessTicketShareLifecycleResponse, request, callback);
|
|
55804
|
+
}, "name", { value: "processTicketShareLifecycle" });
|
|
55805
|
+
|
|
55806
|
+
/**
|
|
55807
|
+
* Calls processTicketShareLifecycle.
|
|
55808
|
+
* @function processTicketShareLifecycle
|
|
55809
|
+
* @memberof OrderService
|
|
55810
|
+
* @instance
|
|
55811
|
+
* @param {IProcessTicketShareLifecycleRequest} request ProcessTicketShareLifecycleRequest message or plain object
|
|
55812
|
+
* @returns {Promise<ProcessTicketShareLifecycleResponse>} Promise
|
|
55813
|
+
* @variation 2
|
|
55814
|
+
*/
|
|
55815
|
+
|
|
54173
55816
|
/**
|
|
54174
55817
|
* Callback as used by {@link OrderService#orderIntegrationUpdate}.
|
|
54175
55818
|
* @memberof OrderService
|
|
@@ -79226,6 +80869,7 @@ $root.Organization = (function() {
|
|
|
79226
80869
|
* @property {IOrderIntegration|null} [orderIntegration] Organization orderIntegration
|
|
79227
80870
|
* @property {boolean|null} [isOrgDeletable] Organization isOrgDeletable
|
|
79228
80871
|
* @property {boolean|null} [isWeb3Integration] Organization isWeb3Integration
|
|
80872
|
+
* @property {string|null} [ticketShareExpiration] Organization ticketShareExpiration
|
|
79229
80873
|
*/
|
|
79230
80874
|
|
|
79231
80875
|
/**
|
|
@@ -79452,6 +81096,14 @@ $root.Organization = (function() {
|
|
|
79452
81096
|
*/
|
|
79453
81097
|
Organization.prototype.isWeb3Integration = false;
|
|
79454
81098
|
|
|
81099
|
+
/**
|
|
81100
|
+
* Organization ticketShareExpiration.
|
|
81101
|
+
* @member {string} ticketShareExpiration
|
|
81102
|
+
* @memberof Organization
|
|
81103
|
+
* @instance
|
|
81104
|
+
*/
|
|
81105
|
+
Organization.prototype.ticketShareExpiration = "";
|
|
81106
|
+
|
|
79455
81107
|
/**
|
|
79456
81108
|
* Creates a new Organization instance using the specified properties.
|
|
79457
81109
|
* @function create
|
|
@@ -79529,6 +81181,8 @@ $root.Organization = (function() {
|
|
|
79529
81181
|
writer.uint32(/* id 24, wireType 0 =*/192).bool(message.isOrgDeletable);
|
|
79530
81182
|
if (message.isWeb3Integration != null && Object.hasOwnProperty.call(message, "isWeb3Integration"))
|
|
79531
81183
|
writer.uint32(/* id 25, wireType 0 =*/200).bool(message.isWeb3Integration);
|
|
81184
|
+
if (message.ticketShareExpiration != null && Object.hasOwnProperty.call(message, "ticketShareExpiration"))
|
|
81185
|
+
writer.uint32(/* id 26, wireType 2 =*/210).string(message.ticketShareExpiration);
|
|
79532
81186
|
return writer;
|
|
79533
81187
|
};
|
|
79534
81188
|
|
|
@@ -79643,6 +81297,9 @@ $root.Organization = (function() {
|
|
|
79643
81297
|
case 25:
|
|
79644
81298
|
message.isWeb3Integration = reader.bool();
|
|
79645
81299
|
break;
|
|
81300
|
+
case 26:
|
|
81301
|
+
message.ticketShareExpiration = reader.string();
|
|
81302
|
+
break;
|
|
79646
81303
|
default:
|
|
79647
81304
|
reader.skipType(tag & 7);
|
|
79648
81305
|
break;
|
|
@@ -79764,6 +81421,9 @@ $root.Organization = (function() {
|
|
|
79764
81421
|
if (message.isWeb3Integration != null && message.hasOwnProperty("isWeb3Integration"))
|
|
79765
81422
|
if (typeof message.isWeb3Integration !== "boolean")
|
|
79766
81423
|
return "isWeb3Integration: boolean expected";
|
|
81424
|
+
if (message.ticketShareExpiration != null && message.hasOwnProperty("ticketShareExpiration"))
|
|
81425
|
+
if (!$util.isString(message.ticketShareExpiration))
|
|
81426
|
+
return "ticketShareExpiration: string expected";
|
|
79767
81427
|
return null;
|
|
79768
81428
|
};
|
|
79769
81429
|
|
|
@@ -79842,6 +81502,8 @@ $root.Organization = (function() {
|
|
|
79842
81502
|
message.isOrgDeletable = Boolean(object.isOrgDeletable);
|
|
79843
81503
|
if (object.isWeb3Integration != null)
|
|
79844
81504
|
message.isWeb3Integration = Boolean(object.isWeb3Integration);
|
|
81505
|
+
if (object.ticketShareExpiration != null)
|
|
81506
|
+
message.ticketShareExpiration = String(object.ticketShareExpiration);
|
|
79845
81507
|
return message;
|
|
79846
81508
|
};
|
|
79847
81509
|
|
|
@@ -79886,6 +81548,7 @@ $root.Organization = (function() {
|
|
|
79886
81548
|
object.orderIntegration = null;
|
|
79887
81549
|
object.isOrgDeletable = false;
|
|
79888
81550
|
object.isWeb3Integration = false;
|
|
81551
|
+
object.ticketShareExpiration = "";
|
|
79889
81552
|
}
|
|
79890
81553
|
if (message._id != null && message.hasOwnProperty("_id"))
|
|
79891
81554
|
object._id = message._id;
|
|
@@ -79942,6 +81605,8 @@ $root.Organization = (function() {
|
|
|
79942
81605
|
object.isOrgDeletable = message.isOrgDeletable;
|
|
79943
81606
|
if (message.isWeb3Integration != null && message.hasOwnProperty("isWeb3Integration"))
|
|
79944
81607
|
object.isWeb3Integration = message.isWeb3Integration;
|
|
81608
|
+
if (message.ticketShareExpiration != null && message.hasOwnProperty("ticketShareExpiration"))
|
|
81609
|
+
object.ticketShareExpiration = message.ticketShareExpiration;
|
|
79945
81610
|
return object;
|
|
79946
81611
|
};
|
|
79947
81612
|
|
|
@@ -86338,6 +88003,9 @@ $root.TicketSharingEmailRequest = (function() {
|
|
|
86338
88003
|
* @property {string|null} [orgName] TicketSharingEmailRequest orgName
|
|
86339
88004
|
* @property {string|null} [eventSubtitle] TicketSharingEmailRequest eventSubtitle
|
|
86340
88005
|
* @property {string|null} [ccAddress] TicketSharingEmailRequest ccAddress
|
|
88006
|
+
* @property {boolean|null} [isReminder] TicketSharingEmailRequest isReminder
|
|
88007
|
+
* @property {string|null} [shareExpirationText] TicketSharingEmailRequest shareExpirationText
|
|
88008
|
+
* @property {number|null} [shareReminderHoursRemaining] TicketSharingEmailRequest shareReminderHoursRemaining
|
|
86341
88009
|
*/
|
|
86342
88010
|
|
|
86343
88011
|
/**
|
|
@@ -86735,6 +88403,30 @@ $root.TicketSharingEmailRequest = (function() {
|
|
|
86735
88403
|
*/
|
|
86736
88404
|
TicketSharingEmailRequest.prototype.ccAddress = "";
|
|
86737
88405
|
|
|
88406
|
+
/**
|
|
88407
|
+
* TicketSharingEmailRequest isReminder.
|
|
88408
|
+
* @member {boolean} isReminder
|
|
88409
|
+
* @memberof TicketSharingEmailRequest
|
|
88410
|
+
* @instance
|
|
88411
|
+
*/
|
|
88412
|
+
TicketSharingEmailRequest.prototype.isReminder = false;
|
|
88413
|
+
|
|
88414
|
+
/**
|
|
88415
|
+
* TicketSharingEmailRequest shareExpirationText.
|
|
88416
|
+
* @member {string} shareExpirationText
|
|
88417
|
+
* @memberof TicketSharingEmailRequest
|
|
88418
|
+
* @instance
|
|
88419
|
+
*/
|
|
88420
|
+
TicketSharingEmailRequest.prototype.shareExpirationText = "";
|
|
88421
|
+
|
|
88422
|
+
/**
|
|
88423
|
+
* TicketSharingEmailRequest shareReminderHoursRemaining.
|
|
88424
|
+
* @member {number} shareReminderHoursRemaining
|
|
88425
|
+
* @memberof TicketSharingEmailRequest
|
|
88426
|
+
* @instance
|
|
88427
|
+
*/
|
|
88428
|
+
TicketSharingEmailRequest.prototype.shareReminderHoursRemaining = 0;
|
|
88429
|
+
|
|
86738
88430
|
/**
|
|
86739
88431
|
* Creates a new TicketSharingEmailRequest instance using the specified properties.
|
|
86740
88432
|
* @function create
|
|
@@ -86857,6 +88549,12 @@ $root.TicketSharingEmailRequest = (function() {
|
|
|
86857
88549
|
writer.uint32(/* id 45, wireType 2 =*/362).string(message.eventSubtitle);
|
|
86858
88550
|
if (message.ccAddress != null && Object.hasOwnProperty.call(message, "ccAddress"))
|
|
86859
88551
|
writer.uint32(/* id 46, wireType 2 =*/370).string(message.ccAddress);
|
|
88552
|
+
if (message.isReminder != null && Object.hasOwnProperty.call(message, "isReminder"))
|
|
88553
|
+
writer.uint32(/* id 47, wireType 0 =*/376).bool(message.isReminder);
|
|
88554
|
+
if (message.shareExpirationText != null && Object.hasOwnProperty.call(message, "shareExpirationText"))
|
|
88555
|
+
writer.uint32(/* id 48, wireType 2 =*/386).string(message.shareExpirationText);
|
|
88556
|
+
if (message.shareReminderHoursRemaining != null && Object.hasOwnProperty.call(message, "shareReminderHoursRemaining"))
|
|
88557
|
+
writer.uint32(/* id 49, wireType 0 =*/392).int32(message.shareReminderHoursRemaining);
|
|
86860
88558
|
return writer;
|
|
86861
88559
|
};
|
|
86862
88560
|
|
|
@@ -87040,6 +88738,15 @@ $root.TicketSharingEmailRequest = (function() {
|
|
|
87040
88738
|
case 46:
|
|
87041
88739
|
message.ccAddress = reader.string();
|
|
87042
88740
|
break;
|
|
88741
|
+
case 47:
|
|
88742
|
+
message.isReminder = reader.bool();
|
|
88743
|
+
break;
|
|
88744
|
+
case 48:
|
|
88745
|
+
message.shareExpirationText = reader.string();
|
|
88746
|
+
break;
|
|
88747
|
+
case 49:
|
|
88748
|
+
message.shareReminderHoursRemaining = reader.int32();
|
|
88749
|
+
break;
|
|
87043
88750
|
default:
|
|
87044
88751
|
reader.skipType(tag & 7);
|
|
87045
88752
|
break;
|
|
@@ -87240,6 +88947,15 @@ $root.TicketSharingEmailRequest = (function() {
|
|
|
87240
88947
|
if (message.ccAddress != null && message.hasOwnProperty("ccAddress"))
|
|
87241
88948
|
if (!$util.isString(message.ccAddress))
|
|
87242
88949
|
return "ccAddress: string expected";
|
|
88950
|
+
if (message.isReminder != null && message.hasOwnProperty("isReminder"))
|
|
88951
|
+
if (typeof message.isReminder !== "boolean")
|
|
88952
|
+
return "isReminder: boolean expected";
|
|
88953
|
+
if (message.shareExpirationText != null && message.hasOwnProperty("shareExpirationText"))
|
|
88954
|
+
if (!$util.isString(message.shareExpirationText))
|
|
88955
|
+
return "shareExpirationText: string expected";
|
|
88956
|
+
if (message.shareReminderHoursRemaining != null && message.hasOwnProperty("shareReminderHoursRemaining"))
|
|
88957
|
+
if (!$util.isInteger(message.shareReminderHoursRemaining))
|
|
88958
|
+
return "shareReminderHoursRemaining: integer expected";
|
|
87243
88959
|
return null;
|
|
87244
88960
|
};
|
|
87245
88961
|
|
|
@@ -87381,6 +89097,12 @@ $root.TicketSharingEmailRequest = (function() {
|
|
|
87381
89097
|
message.eventSubtitle = String(object.eventSubtitle);
|
|
87382
89098
|
if (object.ccAddress != null)
|
|
87383
89099
|
message.ccAddress = String(object.ccAddress);
|
|
89100
|
+
if (object.isReminder != null)
|
|
89101
|
+
message.isReminder = Boolean(object.isReminder);
|
|
89102
|
+
if (object.shareExpirationText != null)
|
|
89103
|
+
message.shareExpirationText = String(object.shareExpirationText);
|
|
89104
|
+
if (object.shareReminderHoursRemaining != null)
|
|
89105
|
+
message.shareReminderHoursRemaining = object.shareReminderHoursRemaining | 0;
|
|
87384
89106
|
return message;
|
|
87385
89107
|
};
|
|
87386
89108
|
|
|
@@ -87447,6 +89169,9 @@ $root.TicketSharingEmailRequest = (function() {
|
|
|
87447
89169
|
object.orgName = "";
|
|
87448
89170
|
object.eventSubtitle = "";
|
|
87449
89171
|
object.ccAddress = "";
|
|
89172
|
+
object.isReminder = false;
|
|
89173
|
+
object.shareExpirationText = "";
|
|
89174
|
+
object.shareReminderHoursRemaining = 0;
|
|
87450
89175
|
}
|
|
87451
89176
|
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
87452
89177
|
object.spanContext = message.spanContext;
|
|
@@ -87554,6 +89279,12 @@ $root.TicketSharingEmailRequest = (function() {
|
|
|
87554
89279
|
object.eventSubtitle = message.eventSubtitle;
|
|
87555
89280
|
if (message.ccAddress != null && message.hasOwnProperty("ccAddress"))
|
|
87556
89281
|
object.ccAddress = message.ccAddress;
|
|
89282
|
+
if (message.isReminder != null && message.hasOwnProperty("isReminder"))
|
|
89283
|
+
object.isReminder = message.isReminder;
|
|
89284
|
+
if (message.shareExpirationText != null && message.hasOwnProperty("shareExpirationText"))
|
|
89285
|
+
object.shareExpirationText = message.shareExpirationText;
|
|
89286
|
+
if (message.shareReminderHoursRemaining != null && message.hasOwnProperty("shareReminderHoursRemaining"))
|
|
89287
|
+
object.shareReminderHoursRemaining = message.shareReminderHoursRemaining;
|
|
87557
89288
|
return object;
|
|
87558
89289
|
};
|
|
87559
89290
|
|