@sniipwebmaster/user-service-client-grpcweb 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.
@@ -10326,6 +10326,67 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.redeemCapa
10326
10326
  };
10327
10327
 
10328
10328
 
10329
+ /**
10330
+ * @const
10331
+ * @type {!grpc.web.MethodDescriptor<
10332
+ * !proto.sniipuserservice.AdmitGuestCardAttemptRequest,
10333
+ * !proto.sniipuserservice.AdmitGuestCardAttemptResponse>}
10334
+ */
10335
+ const methodDescriptor_SniipUserServiceService_AdmitGuestCardAttempt = new grpc.web.MethodDescriptor(
10336
+ '/sniipuserservice.SniipUserServiceService/AdmitGuestCardAttempt',
10337
+ grpc.web.MethodType.UNARY,
10338
+ proto.sniipuserservice.AdmitGuestCardAttemptRequest,
10339
+ proto.sniipuserservice.AdmitGuestCardAttemptResponse,
10340
+ /**
10341
+ * @param {!proto.sniipuserservice.AdmitGuestCardAttemptRequest} request
10342
+ * @return {!Uint8Array}
10343
+ */
10344
+ function(request) {
10345
+ return request.serializeBinary();
10346
+ },
10347
+ proto.sniipuserservice.AdmitGuestCardAttemptResponse.deserializeBinary
10348
+ );
10349
+
10350
+
10351
+ /**
10352
+ * @param {!proto.sniipuserservice.AdmitGuestCardAttemptRequest} request The
10353
+ * request proto
10354
+ * @param {?Object<string, string>} metadata User defined
10355
+ * call metadata
10356
+ * @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.AdmitGuestCardAttemptResponse)}
10357
+ * callback The callback function(error, response)
10358
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.AdmitGuestCardAttemptResponse>|undefined}
10359
+ * The XHR Node Readable Stream
10360
+ */
10361
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.admitGuestCardAttempt =
10362
+ function(request, metadata, callback) {
10363
+ return this.client_.rpcCall(this.hostname_ +
10364
+ '/sniipuserservice.SniipUserServiceService/AdmitGuestCardAttempt',
10365
+ request,
10366
+ metadata || {},
10367
+ methodDescriptor_SniipUserServiceService_AdmitGuestCardAttempt,
10368
+ callback);
10369
+ };
10370
+
10371
+
10372
+ /**
10373
+ * @param {!proto.sniipuserservice.AdmitGuestCardAttemptRequest} request The
10374
+ * request proto
10375
+ * @param {?Object<string, string>=} metadata User defined
10376
+ * call metadata
10377
+ * @return {!Promise<!proto.sniipuserservice.AdmitGuestCardAttemptResponse>}
10378
+ * Promise that resolves to the response
10379
+ */
10380
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.admitGuestCardAttempt =
10381
+ function(request, metadata) {
10382
+ return this.client_.unaryCall(this.hostname_ +
10383
+ '/sniipuserservice.SniipUserServiceService/AdmitGuestCardAttempt',
10384
+ request,
10385
+ metadata || {},
10386
+ methodDescriptor_SniipUserServiceService_AdmitGuestCardAttempt);
10387
+ };
10388
+
10389
+
10329
10390
  /**
10330
10391
  * @const
10331
10392
  * @type {!grpc.web.MethodDescriptor<
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/user-service-client-grpcweb",
3
- "version": "26.10.15463",
3
+ "version": "26.10.15487",
4
4
  "description": "user-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",