@sniipwebmaster/user-service-client-grpcweb-ts 26.10.15463 → 26.10.15487
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.
|
@@ -7264,6 +7264,49 @@ export class SniipUserServiceServiceClient {
|
|
|
7264
7264
|
this.methodDescriptorRedeemCapabilityToken);
|
|
7265
7265
|
}
|
|
7266
7266
|
|
|
7267
|
+
methodDescriptorAdmitGuestCardAttempt = new grpcWeb.MethodDescriptor(
|
|
7268
|
+
'/sniipuserservice.SniipUserServiceService/AdmitGuestCardAttempt',
|
|
7269
|
+
grpcWeb.MethodType.UNARY,
|
|
7270
|
+
service_pb.AdmitGuestCardAttemptRequest,
|
|
7271
|
+
service_pb.AdmitGuestCardAttemptResponse,
|
|
7272
|
+
(request: service_pb.AdmitGuestCardAttemptRequest) => {
|
|
7273
|
+
return request.serializeBinary();
|
|
7274
|
+
},
|
|
7275
|
+
service_pb.AdmitGuestCardAttemptResponse.deserializeBinary
|
|
7276
|
+
);
|
|
7277
|
+
|
|
7278
|
+
admitGuestCardAttempt(
|
|
7279
|
+
request: service_pb.AdmitGuestCardAttemptRequest,
|
|
7280
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.AdmitGuestCardAttemptResponse>;
|
|
7281
|
+
|
|
7282
|
+
admitGuestCardAttempt(
|
|
7283
|
+
request: service_pb.AdmitGuestCardAttemptRequest,
|
|
7284
|
+
metadata: grpcWeb.Metadata | null,
|
|
7285
|
+
callback: (err: grpcWeb.RpcError,
|
|
7286
|
+
response: service_pb.AdmitGuestCardAttemptResponse) => void): grpcWeb.ClientReadableStream<service_pb.AdmitGuestCardAttemptResponse>;
|
|
7287
|
+
|
|
7288
|
+
admitGuestCardAttempt(
|
|
7289
|
+
request: service_pb.AdmitGuestCardAttemptRequest,
|
|
7290
|
+
metadata?: grpcWeb.Metadata | null,
|
|
7291
|
+
callback?: (err: grpcWeb.RpcError,
|
|
7292
|
+
response: service_pb.AdmitGuestCardAttemptResponse) => void) {
|
|
7293
|
+
if (callback !== undefined) {
|
|
7294
|
+
return this.client_.rpcCall(
|
|
7295
|
+
this.hostname_ +
|
|
7296
|
+
'/sniipuserservice.SniipUserServiceService/AdmitGuestCardAttempt',
|
|
7297
|
+
request,
|
|
7298
|
+
metadata || {},
|
|
7299
|
+
this.methodDescriptorAdmitGuestCardAttempt,
|
|
7300
|
+
callback);
|
|
7301
|
+
}
|
|
7302
|
+
return this.client_.unaryCall(
|
|
7303
|
+
this.hostname_ +
|
|
7304
|
+
'/sniipuserservice.SniipUserServiceService/AdmitGuestCardAttempt',
|
|
7305
|
+
request,
|
|
7306
|
+
metadata || {},
|
|
7307
|
+
this.methodDescriptorAdmitGuestCardAttempt);
|
|
7308
|
+
}
|
|
7309
|
+
|
|
7267
7310
|
methodDescriptorMintBillReadToken = new grpcWeb.MethodDescriptor(
|
|
7268
7311
|
'/sniipuserservice.SniipUserServiceService/MintBillReadToken',
|
|
7269
7312
|
grpcWeb.MethodType.UNARY,
|
|
@@ -7241,6 +7241,50 @@ export namespace RedeemCapabilityTokenResponse {
|
|
|
7241
7241
|
}
|
|
7242
7242
|
}
|
|
7243
7243
|
|
|
7244
|
+
export class AdmitGuestCardAttemptRequest extends jspb.Message {
|
|
7245
|
+
getCapabilitytoken(): string;
|
|
7246
|
+
setCapabilitytoken(value: string): AdmitGuestCardAttemptRequest;
|
|
7247
|
+
|
|
7248
|
+
getBillid(): number;
|
|
7249
|
+
setBillid(value: number): AdmitGuestCardAttemptRequest;
|
|
7250
|
+
|
|
7251
|
+
serializeBinary(): Uint8Array;
|
|
7252
|
+
toObject(includeInstance?: boolean): AdmitGuestCardAttemptRequest.AsObject;
|
|
7253
|
+
static toObject(includeInstance: boolean, msg: AdmitGuestCardAttemptRequest): AdmitGuestCardAttemptRequest.AsObject;
|
|
7254
|
+
static serializeBinaryToWriter(message: AdmitGuestCardAttemptRequest, writer: jspb.BinaryWriter): void;
|
|
7255
|
+
static deserializeBinary(bytes: Uint8Array): AdmitGuestCardAttemptRequest;
|
|
7256
|
+
static deserializeBinaryFromReader(message: AdmitGuestCardAttemptRequest, reader: jspb.BinaryReader): AdmitGuestCardAttemptRequest;
|
|
7257
|
+
}
|
|
7258
|
+
|
|
7259
|
+
export namespace AdmitGuestCardAttemptRequest {
|
|
7260
|
+
export type AsObject = {
|
|
7261
|
+
capabilitytoken: string,
|
|
7262
|
+
billid: number,
|
|
7263
|
+
}
|
|
7264
|
+
}
|
|
7265
|
+
|
|
7266
|
+
export class AdmitGuestCardAttemptResponse extends jspb.Message {
|
|
7267
|
+
getOutcome(): GuestCardAttemptOutcome;
|
|
7268
|
+
setOutcome(value: GuestCardAttemptOutcome): AdmitGuestCardAttemptResponse;
|
|
7269
|
+
|
|
7270
|
+
getGuestuserid(): number;
|
|
7271
|
+
setGuestuserid(value: number): AdmitGuestCardAttemptResponse;
|
|
7272
|
+
|
|
7273
|
+
serializeBinary(): Uint8Array;
|
|
7274
|
+
toObject(includeInstance?: boolean): AdmitGuestCardAttemptResponse.AsObject;
|
|
7275
|
+
static toObject(includeInstance: boolean, msg: AdmitGuestCardAttemptResponse): AdmitGuestCardAttemptResponse.AsObject;
|
|
7276
|
+
static serializeBinaryToWriter(message: AdmitGuestCardAttemptResponse, writer: jspb.BinaryWriter): void;
|
|
7277
|
+
static deserializeBinary(bytes: Uint8Array): AdmitGuestCardAttemptResponse;
|
|
7278
|
+
static deserializeBinaryFromReader(message: AdmitGuestCardAttemptResponse, reader: jspb.BinaryReader): AdmitGuestCardAttemptResponse;
|
|
7279
|
+
}
|
|
7280
|
+
|
|
7281
|
+
export namespace AdmitGuestCardAttemptResponse {
|
|
7282
|
+
export type AsObject = {
|
|
7283
|
+
outcome: GuestCardAttemptOutcome,
|
|
7284
|
+
guestuserid: number,
|
|
7285
|
+
}
|
|
7286
|
+
}
|
|
7287
|
+
|
|
7244
7288
|
export class MintBillReadTokenRequest extends jspb.Message {
|
|
7245
7289
|
getBillid(): number;
|
|
7246
7290
|
setBillid(value: number): MintBillReadTokenRequest;
|
|
@@ -7373,3 +7417,10 @@ export enum CapabilityTokenMode {
|
|
|
7373
7417
|
CAPABILITY_TOKEN_MODE_VALIDATE = 1,
|
|
7374
7418
|
CAPABILITY_TOKEN_MODE_CONSUME = 2,
|
|
7375
7419
|
}
|
|
7420
|
+
export enum GuestCardAttemptOutcome {
|
|
7421
|
+
GUEST_CARD_ATTEMPT_OUTCOME_UNSPECIFIED = 0,
|
|
7422
|
+
GUEST_CARD_ATTEMPT_ADMITTED = 1,
|
|
7423
|
+
GUEST_CARD_ATTEMPT_TOKEN_INVALID = 2,
|
|
7424
|
+
GUEST_CARD_ATTEMPT_TOKEN_BUDGET_SPENT = 3,
|
|
7425
|
+
GUEST_CARD_ATTEMPT_CHANNEL_BUSY = 4,
|
|
7426
|
+
}
|
|
@@ -19,6 +19,8 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
|
19
19
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
20
20
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
21
21
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
22
|
+
goog.exportSymbol('proto.sniipuserservice.AdmitGuestCardAttemptRequest', null, global);
|
|
23
|
+
goog.exportSymbol('proto.sniipuserservice.AdmitGuestCardAttemptResponse', null, global);
|
|
22
24
|
goog.exportSymbol('proto.sniipuserservice.AgreeToTermsAndConditionsRequest', null, global);
|
|
23
25
|
goog.exportSymbol('proto.sniipuserservice.AllUserFraudStatusResponse', null, global);
|
|
24
26
|
goog.exportSymbol('proto.sniipuserservice.ApiKeyResponse', null, global);
|
|
@@ -120,6 +122,7 @@ goog.exportSymbol('proto.sniipuserservice.GetUserPassportsResponse', null, globa
|
|
|
120
122
|
goog.exportSymbol('proto.sniipuserservice.GetUserStatusRequest', null, global);
|
|
121
123
|
goog.exportSymbol('proto.sniipuserservice.GetUserStatusResponse', null, global);
|
|
122
124
|
goog.exportSymbol('proto.sniipuserservice.GiveFeedbackRequest', null, global);
|
|
125
|
+
goog.exportSymbol('proto.sniipuserservice.GuestCardAttemptOutcome', null, global);
|
|
123
126
|
goog.exportSymbol('proto.sniipuserservice.InternalCompleteBinRevealRequest', null, global);
|
|
124
127
|
goog.exportSymbol('proto.sniipuserservice.InternalRecordBinRevealRequest', null, global);
|
|
125
128
|
goog.exportSymbol('proto.sniipuserservice.InternalValidateMfaOtpRequest', null, global);
|
|
@@ -5404,6 +5407,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5404
5407
|
*/
|
|
5405
5408
|
proto.sniipuserservice.RedeemCapabilityTokenResponse.displayName = 'proto.sniipuserservice.RedeemCapabilityTokenResponse';
|
|
5406
5409
|
}
|
|
5410
|
+
/**
|
|
5411
|
+
* Generated by JsPbCodeGenerator.
|
|
5412
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5413
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5414
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5415
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5416
|
+
* valid.
|
|
5417
|
+
* @extends {jspb.Message}
|
|
5418
|
+
* @constructor
|
|
5419
|
+
*/
|
|
5420
|
+
proto.sniipuserservice.AdmitGuestCardAttemptRequest = function(opt_data) {
|
|
5421
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5422
|
+
};
|
|
5423
|
+
goog.inherits(proto.sniipuserservice.AdmitGuestCardAttemptRequest, jspb.Message);
|
|
5424
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5425
|
+
/**
|
|
5426
|
+
* @public
|
|
5427
|
+
* @override
|
|
5428
|
+
*/
|
|
5429
|
+
proto.sniipuserservice.AdmitGuestCardAttemptRequest.displayName = 'proto.sniipuserservice.AdmitGuestCardAttemptRequest';
|
|
5430
|
+
}
|
|
5431
|
+
/**
|
|
5432
|
+
* Generated by JsPbCodeGenerator.
|
|
5433
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5434
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5435
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5436
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5437
|
+
* valid.
|
|
5438
|
+
* @extends {jspb.Message}
|
|
5439
|
+
* @constructor
|
|
5440
|
+
*/
|
|
5441
|
+
proto.sniipuserservice.AdmitGuestCardAttemptResponse = function(opt_data) {
|
|
5442
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5443
|
+
};
|
|
5444
|
+
goog.inherits(proto.sniipuserservice.AdmitGuestCardAttemptResponse, jspb.Message);
|
|
5445
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5446
|
+
/**
|
|
5447
|
+
* @public
|
|
5448
|
+
* @override
|
|
5449
|
+
*/
|
|
5450
|
+
proto.sniipuserservice.AdmitGuestCardAttemptResponse.displayName = 'proto.sniipuserservice.AdmitGuestCardAttemptResponse';
|
|
5451
|
+
}
|
|
5407
5452
|
/**
|
|
5408
5453
|
* Generated by JsPbCodeGenerator.
|
|
5409
5454
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -59189,6 +59234,326 @@ proto.sniipuserservice.RedeemCapabilityTokenResponse.prototype.setValid = functi
|
|
|
59189
59234
|
|
|
59190
59235
|
|
|
59191
59236
|
|
|
59237
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
59238
|
+
/**
|
|
59239
|
+
* Creates an object representation of this proto.
|
|
59240
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
59241
|
+
* Optional fields that are not set will be set to undefined.
|
|
59242
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
59243
|
+
* For the list of reserved names please see:
|
|
59244
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
59245
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
59246
|
+
* JSPB instance for transitional soy proto support:
|
|
59247
|
+
* http://goto/soy-param-migration
|
|
59248
|
+
* @return {!Object}
|
|
59249
|
+
*/
|
|
59250
|
+
proto.sniipuserservice.AdmitGuestCardAttemptRequest.prototype.toObject = function(opt_includeInstance) {
|
|
59251
|
+
return proto.sniipuserservice.AdmitGuestCardAttemptRequest.toObject(opt_includeInstance, this);
|
|
59252
|
+
};
|
|
59253
|
+
|
|
59254
|
+
|
|
59255
|
+
/**
|
|
59256
|
+
* Static version of the {@see toObject} method.
|
|
59257
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
59258
|
+
* the JSPB instance for transitional soy proto support:
|
|
59259
|
+
* http://goto/soy-param-migration
|
|
59260
|
+
* @param {!proto.sniipuserservice.AdmitGuestCardAttemptRequest} msg The msg instance to transform.
|
|
59261
|
+
* @return {!Object}
|
|
59262
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
59263
|
+
*/
|
|
59264
|
+
proto.sniipuserservice.AdmitGuestCardAttemptRequest.toObject = function(includeInstance, msg) {
|
|
59265
|
+
var f, obj = {
|
|
59266
|
+
capabilitytoken: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
59267
|
+
billid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
59268
|
+
};
|
|
59269
|
+
|
|
59270
|
+
if (includeInstance) {
|
|
59271
|
+
obj.$jspbMessageInstance = msg;
|
|
59272
|
+
}
|
|
59273
|
+
return obj;
|
|
59274
|
+
};
|
|
59275
|
+
}
|
|
59276
|
+
|
|
59277
|
+
|
|
59278
|
+
/**
|
|
59279
|
+
* Deserializes binary data (in protobuf wire format).
|
|
59280
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
59281
|
+
* @return {!proto.sniipuserservice.AdmitGuestCardAttemptRequest}
|
|
59282
|
+
*/
|
|
59283
|
+
proto.sniipuserservice.AdmitGuestCardAttemptRequest.deserializeBinary = function(bytes) {
|
|
59284
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
59285
|
+
var msg = new proto.sniipuserservice.AdmitGuestCardAttemptRequest;
|
|
59286
|
+
return proto.sniipuserservice.AdmitGuestCardAttemptRequest.deserializeBinaryFromReader(msg, reader);
|
|
59287
|
+
};
|
|
59288
|
+
|
|
59289
|
+
|
|
59290
|
+
/**
|
|
59291
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
59292
|
+
* given reader into the given message object.
|
|
59293
|
+
* @param {!proto.sniipuserservice.AdmitGuestCardAttemptRequest} msg The message object to deserialize into.
|
|
59294
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
59295
|
+
* @return {!proto.sniipuserservice.AdmitGuestCardAttemptRequest}
|
|
59296
|
+
*/
|
|
59297
|
+
proto.sniipuserservice.AdmitGuestCardAttemptRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
59298
|
+
while (reader.nextField()) {
|
|
59299
|
+
if (reader.isEndGroup()) {
|
|
59300
|
+
break;
|
|
59301
|
+
}
|
|
59302
|
+
var field = reader.getFieldNumber();
|
|
59303
|
+
switch (field) {
|
|
59304
|
+
case 1:
|
|
59305
|
+
var value = /** @type {string} */ (reader.readString());
|
|
59306
|
+
msg.setCapabilitytoken(value);
|
|
59307
|
+
break;
|
|
59308
|
+
case 2:
|
|
59309
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
59310
|
+
msg.setBillid(value);
|
|
59311
|
+
break;
|
|
59312
|
+
default:
|
|
59313
|
+
reader.skipField();
|
|
59314
|
+
break;
|
|
59315
|
+
}
|
|
59316
|
+
}
|
|
59317
|
+
return msg;
|
|
59318
|
+
};
|
|
59319
|
+
|
|
59320
|
+
|
|
59321
|
+
/**
|
|
59322
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
59323
|
+
* @return {!Uint8Array}
|
|
59324
|
+
*/
|
|
59325
|
+
proto.sniipuserservice.AdmitGuestCardAttemptRequest.prototype.serializeBinary = function() {
|
|
59326
|
+
var writer = new jspb.BinaryWriter();
|
|
59327
|
+
proto.sniipuserservice.AdmitGuestCardAttemptRequest.serializeBinaryToWriter(this, writer);
|
|
59328
|
+
return writer.getResultBuffer();
|
|
59329
|
+
};
|
|
59330
|
+
|
|
59331
|
+
|
|
59332
|
+
/**
|
|
59333
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
59334
|
+
* format), writing to the given BinaryWriter.
|
|
59335
|
+
* @param {!proto.sniipuserservice.AdmitGuestCardAttemptRequest} message
|
|
59336
|
+
* @param {!jspb.BinaryWriter} writer
|
|
59337
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
59338
|
+
*/
|
|
59339
|
+
proto.sniipuserservice.AdmitGuestCardAttemptRequest.serializeBinaryToWriter = function(message, writer) {
|
|
59340
|
+
var f = undefined;
|
|
59341
|
+
f = message.getCapabilitytoken();
|
|
59342
|
+
if (f.length > 0) {
|
|
59343
|
+
writer.writeString(
|
|
59344
|
+
1,
|
|
59345
|
+
f
|
|
59346
|
+
);
|
|
59347
|
+
}
|
|
59348
|
+
f = message.getBillid();
|
|
59349
|
+
if (f !== 0) {
|
|
59350
|
+
writer.writeInt64(
|
|
59351
|
+
2,
|
|
59352
|
+
f
|
|
59353
|
+
);
|
|
59354
|
+
}
|
|
59355
|
+
};
|
|
59356
|
+
|
|
59357
|
+
|
|
59358
|
+
/**
|
|
59359
|
+
* optional string capabilityToken = 1;
|
|
59360
|
+
* @return {string}
|
|
59361
|
+
*/
|
|
59362
|
+
proto.sniipuserservice.AdmitGuestCardAttemptRequest.prototype.getCapabilitytoken = function() {
|
|
59363
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
59364
|
+
};
|
|
59365
|
+
|
|
59366
|
+
|
|
59367
|
+
/**
|
|
59368
|
+
* @param {string} value
|
|
59369
|
+
* @return {!proto.sniipuserservice.AdmitGuestCardAttemptRequest} returns this
|
|
59370
|
+
*/
|
|
59371
|
+
proto.sniipuserservice.AdmitGuestCardAttemptRequest.prototype.setCapabilitytoken = function(value) {
|
|
59372
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
59373
|
+
};
|
|
59374
|
+
|
|
59375
|
+
|
|
59376
|
+
/**
|
|
59377
|
+
* optional int64 billId = 2;
|
|
59378
|
+
* @return {number}
|
|
59379
|
+
*/
|
|
59380
|
+
proto.sniipuserservice.AdmitGuestCardAttemptRequest.prototype.getBillid = function() {
|
|
59381
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
59382
|
+
};
|
|
59383
|
+
|
|
59384
|
+
|
|
59385
|
+
/**
|
|
59386
|
+
* @param {number} value
|
|
59387
|
+
* @return {!proto.sniipuserservice.AdmitGuestCardAttemptRequest} returns this
|
|
59388
|
+
*/
|
|
59389
|
+
proto.sniipuserservice.AdmitGuestCardAttemptRequest.prototype.setBillid = function(value) {
|
|
59390
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
59391
|
+
};
|
|
59392
|
+
|
|
59393
|
+
|
|
59394
|
+
|
|
59395
|
+
|
|
59396
|
+
|
|
59397
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
59398
|
+
/**
|
|
59399
|
+
* Creates an object representation of this proto.
|
|
59400
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
59401
|
+
* Optional fields that are not set will be set to undefined.
|
|
59402
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
59403
|
+
* For the list of reserved names please see:
|
|
59404
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
59405
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
59406
|
+
* JSPB instance for transitional soy proto support:
|
|
59407
|
+
* http://goto/soy-param-migration
|
|
59408
|
+
* @return {!Object}
|
|
59409
|
+
*/
|
|
59410
|
+
proto.sniipuserservice.AdmitGuestCardAttemptResponse.prototype.toObject = function(opt_includeInstance) {
|
|
59411
|
+
return proto.sniipuserservice.AdmitGuestCardAttemptResponse.toObject(opt_includeInstance, this);
|
|
59412
|
+
};
|
|
59413
|
+
|
|
59414
|
+
|
|
59415
|
+
/**
|
|
59416
|
+
* Static version of the {@see toObject} method.
|
|
59417
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
59418
|
+
* the JSPB instance for transitional soy proto support:
|
|
59419
|
+
* http://goto/soy-param-migration
|
|
59420
|
+
* @param {!proto.sniipuserservice.AdmitGuestCardAttemptResponse} msg The msg instance to transform.
|
|
59421
|
+
* @return {!Object}
|
|
59422
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
59423
|
+
*/
|
|
59424
|
+
proto.sniipuserservice.AdmitGuestCardAttemptResponse.toObject = function(includeInstance, msg) {
|
|
59425
|
+
var f, obj = {
|
|
59426
|
+
outcome: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
59427
|
+
guestuserid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
59428
|
+
};
|
|
59429
|
+
|
|
59430
|
+
if (includeInstance) {
|
|
59431
|
+
obj.$jspbMessageInstance = msg;
|
|
59432
|
+
}
|
|
59433
|
+
return obj;
|
|
59434
|
+
};
|
|
59435
|
+
}
|
|
59436
|
+
|
|
59437
|
+
|
|
59438
|
+
/**
|
|
59439
|
+
* Deserializes binary data (in protobuf wire format).
|
|
59440
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
59441
|
+
* @return {!proto.sniipuserservice.AdmitGuestCardAttemptResponse}
|
|
59442
|
+
*/
|
|
59443
|
+
proto.sniipuserservice.AdmitGuestCardAttemptResponse.deserializeBinary = function(bytes) {
|
|
59444
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
59445
|
+
var msg = new proto.sniipuserservice.AdmitGuestCardAttemptResponse;
|
|
59446
|
+
return proto.sniipuserservice.AdmitGuestCardAttemptResponse.deserializeBinaryFromReader(msg, reader);
|
|
59447
|
+
};
|
|
59448
|
+
|
|
59449
|
+
|
|
59450
|
+
/**
|
|
59451
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
59452
|
+
* given reader into the given message object.
|
|
59453
|
+
* @param {!proto.sniipuserservice.AdmitGuestCardAttemptResponse} msg The message object to deserialize into.
|
|
59454
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
59455
|
+
* @return {!proto.sniipuserservice.AdmitGuestCardAttemptResponse}
|
|
59456
|
+
*/
|
|
59457
|
+
proto.sniipuserservice.AdmitGuestCardAttemptResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
59458
|
+
while (reader.nextField()) {
|
|
59459
|
+
if (reader.isEndGroup()) {
|
|
59460
|
+
break;
|
|
59461
|
+
}
|
|
59462
|
+
var field = reader.getFieldNumber();
|
|
59463
|
+
switch (field) {
|
|
59464
|
+
case 1:
|
|
59465
|
+
var value = /** @type {!proto.sniipuserservice.GuestCardAttemptOutcome} */ (reader.readEnum());
|
|
59466
|
+
msg.setOutcome(value);
|
|
59467
|
+
break;
|
|
59468
|
+
case 2:
|
|
59469
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
59470
|
+
msg.setGuestuserid(value);
|
|
59471
|
+
break;
|
|
59472
|
+
default:
|
|
59473
|
+
reader.skipField();
|
|
59474
|
+
break;
|
|
59475
|
+
}
|
|
59476
|
+
}
|
|
59477
|
+
return msg;
|
|
59478
|
+
};
|
|
59479
|
+
|
|
59480
|
+
|
|
59481
|
+
/**
|
|
59482
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
59483
|
+
* @return {!Uint8Array}
|
|
59484
|
+
*/
|
|
59485
|
+
proto.sniipuserservice.AdmitGuestCardAttemptResponse.prototype.serializeBinary = function() {
|
|
59486
|
+
var writer = new jspb.BinaryWriter();
|
|
59487
|
+
proto.sniipuserservice.AdmitGuestCardAttemptResponse.serializeBinaryToWriter(this, writer);
|
|
59488
|
+
return writer.getResultBuffer();
|
|
59489
|
+
};
|
|
59490
|
+
|
|
59491
|
+
|
|
59492
|
+
/**
|
|
59493
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
59494
|
+
* format), writing to the given BinaryWriter.
|
|
59495
|
+
* @param {!proto.sniipuserservice.AdmitGuestCardAttemptResponse} message
|
|
59496
|
+
* @param {!jspb.BinaryWriter} writer
|
|
59497
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
59498
|
+
*/
|
|
59499
|
+
proto.sniipuserservice.AdmitGuestCardAttemptResponse.serializeBinaryToWriter = function(message, writer) {
|
|
59500
|
+
var f = undefined;
|
|
59501
|
+
f = message.getOutcome();
|
|
59502
|
+
if (f !== 0.0) {
|
|
59503
|
+
writer.writeEnum(
|
|
59504
|
+
1,
|
|
59505
|
+
f
|
|
59506
|
+
);
|
|
59507
|
+
}
|
|
59508
|
+
f = message.getGuestuserid();
|
|
59509
|
+
if (f !== 0) {
|
|
59510
|
+
writer.writeInt64(
|
|
59511
|
+
2,
|
|
59512
|
+
f
|
|
59513
|
+
);
|
|
59514
|
+
}
|
|
59515
|
+
};
|
|
59516
|
+
|
|
59517
|
+
|
|
59518
|
+
/**
|
|
59519
|
+
* optional GuestCardAttemptOutcome outcome = 1;
|
|
59520
|
+
* @return {!proto.sniipuserservice.GuestCardAttemptOutcome}
|
|
59521
|
+
*/
|
|
59522
|
+
proto.sniipuserservice.AdmitGuestCardAttemptResponse.prototype.getOutcome = function() {
|
|
59523
|
+
return /** @type {!proto.sniipuserservice.GuestCardAttemptOutcome} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
59524
|
+
};
|
|
59525
|
+
|
|
59526
|
+
|
|
59527
|
+
/**
|
|
59528
|
+
* @param {!proto.sniipuserservice.GuestCardAttemptOutcome} value
|
|
59529
|
+
* @return {!proto.sniipuserservice.AdmitGuestCardAttemptResponse} returns this
|
|
59530
|
+
*/
|
|
59531
|
+
proto.sniipuserservice.AdmitGuestCardAttemptResponse.prototype.setOutcome = function(value) {
|
|
59532
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
59533
|
+
};
|
|
59534
|
+
|
|
59535
|
+
|
|
59536
|
+
/**
|
|
59537
|
+
* optional int64 guestUserId = 2;
|
|
59538
|
+
* @return {number}
|
|
59539
|
+
*/
|
|
59540
|
+
proto.sniipuserservice.AdmitGuestCardAttemptResponse.prototype.getGuestuserid = function() {
|
|
59541
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
59542
|
+
};
|
|
59543
|
+
|
|
59544
|
+
|
|
59545
|
+
/**
|
|
59546
|
+
* @param {number} value
|
|
59547
|
+
* @return {!proto.sniipuserservice.AdmitGuestCardAttemptResponse} returns this
|
|
59548
|
+
*/
|
|
59549
|
+
proto.sniipuserservice.AdmitGuestCardAttemptResponse.prototype.setGuestuserid = function(value) {
|
|
59550
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
59551
|
+
};
|
|
59552
|
+
|
|
59553
|
+
|
|
59554
|
+
|
|
59555
|
+
|
|
59556
|
+
|
|
59192
59557
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
59193
59558
|
/**
|
|
59194
59559
|
* Creates an object representation of this proto.
|
|
@@ -59828,4 +60193,15 @@ proto.sniipuserservice.CapabilityTokenMode = {
|
|
|
59828
60193
|
CAPABILITY_TOKEN_MODE_CONSUME: 2
|
|
59829
60194
|
};
|
|
59830
60195
|
|
|
60196
|
+
/**
|
|
60197
|
+
* @enum {number}
|
|
60198
|
+
*/
|
|
60199
|
+
proto.sniipuserservice.GuestCardAttemptOutcome = {
|
|
60200
|
+
GUEST_CARD_ATTEMPT_OUTCOME_UNSPECIFIED: 0,
|
|
60201
|
+
GUEST_CARD_ATTEMPT_ADMITTED: 1,
|
|
60202
|
+
GUEST_CARD_ATTEMPT_TOKEN_INVALID: 2,
|
|
60203
|
+
GUEST_CARD_ATTEMPT_TOKEN_BUDGET_SPENT: 3,
|
|
60204
|
+
GUEST_CARD_ATTEMPT_CHANNEL_BUSY: 4
|
|
60205
|
+
};
|
|
60206
|
+
|
|
59831
60207
|
goog.object.extend(exports, proto.sniipuserservice);
|