@sniipwebmaster/payment-methods-client-grpcweb 21.19.3686 → 21.21.3716

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.
@@ -2394,5 +2394,85 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
2394
2394
  };
2395
2395
 
2396
2396
 
2397
+ /**
2398
+ * @const
2399
+ * @type {!grpc.web.MethodDescriptor<
2400
+ * !proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest,
2401
+ * !proto.sniippaymentmethodsserviceapi.ResponseCode>}
2402
+ */
2403
+ const methodDescriptor_SniipPaymentMethodsServiceAPIService_VerifyCreditCardForUser = new grpc.web.MethodDescriptor(
2404
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/VerifyCreditCardForUser',
2405
+ grpc.web.MethodType.UNARY,
2406
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest,
2407
+ proto.sniippaymentmethodsserviceapi.ResponseCode,
2408
+ /**
2409
+ * @param {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest} request
2410
+ * @return {!Uint8Array}
2411
+ */
2412
+ function(request) {
2413
+ return request.serializeBinary();
2414
+ },
2415
+ proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary
2416
+ );
2417
+
2418
+
2419
+ /**
2420
+ * @const
2421
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
2422
+ * !proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest,
2423
+ * !proto.sniippaymentmethodsserviceapi.ResponseCode>}
2424
+ */
2425
+ const methodInfo_SniipPaymentMethodsServiceAPIService_VerifyCreditCardForUser = new grpc.web.AbstractClientBase.MethodInfo(
2426
+ proto.sniippaymentmethodsserviceapi.ResponseCode,
2427
+ /**
2428
+ * @param {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest} request
2429
+ * @return {!Uint8Array}
2430
+ */
2431
+ function(request) {
2432
+ return request.serializeBinary();
2433
+ },
2434
+ proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary
2435
+ );
2436
+
2437
+
2438
+ /**
2439
+ * @param {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest} request The
2440
+ * request proto
2441
+ * @param {?Object<string, string>} metadata User defined
2442
+ * call metadata
2443
+ * @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.ResponseCode)}
2444
+ * callback The callback function(error, response)
2445
+ * @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.ResponseCode>|undefined}
2446
+ * The XHR Node Readable Stream
2447
+ */
2448
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.verifyCreditCardForUser =
2449
+ function(request, metadata, callback) {
2450
+ return this.client_.rpcCall(this.hostname_ +
2451
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/VerifyCreditCardForUser',
2452
+ request,
2453
+ metadata || {},
2454
+ methodDescriptor_SniipPaymentMethodsServiceAPIService_VerifyCreditCardForUser,
2455
+ callback);
2456
+ };
2457
+
2458
+
2459
+ /**
2460
+ * @param {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest} request The
2461
+ * request proto
2462
+ * @param {?Object<string, string>} metadata User defined
2463
+ * call metadata
2464
+ * @return {!Promise<!proto.sniippaymentmethodsserviceapi.ResponseCode>}
2465
+ * Promise that resolves to the response
2466
+ */
2467
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.verifyCreditCardForUser =
2468
+ function(request, metadata) {
2469
+ return this.client_.unaryCall(this.hostname_ +
2470
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/VerifyCreditCardForUser',
2471
+ request,
2472
+ metadata || {},
2473
+ methodDescriptor_SniipPaymentMethodsServiceAPIService_VerifyCreditCardForUser);
2474
+ };
2475
+
2476
+
2397
2477
  module.exports = proto.sniippaymentmethodsserviceapi;
2398
2478
 
@@ -73,6 +73,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateCreditCard', null,
73
73
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest', null, global);
74
74
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest', null, global);
75
75
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest', null, global);
76
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest', null, global);
76
77
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest', null, global);
77
78
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest', null, global);
78
79
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse', null, global);
@@ -15252,6 +15253,182 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.hasData
15252
15253
 
15253
15254
 
15254
15255
 
15256
+ /**
15257
+ * Generated by JsPbCodeGenerator.
15258
+ * @param {Array=} opt_data Optional initial data array, typically from a
15259
+ * server response, or constructed directly in Javascript. The array is used
15260
+ * in place and becomes part of the constructed object. It is not cloned.
15261
+ * If no data is provided, the constructed object will be empty, but still
15262
+ * valid.
15263
+ * @extends {jspb.Message}
15264
+ * @constructor
15265
+ */
15266
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest = function(opt_data) {
15267
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
15268
+ };
15269
+ goog.inherits(proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest, jspb.Message);
15270
+ if (goog.DEBUG && !COMPILED) {
15271
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest.displayName = 'proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest';
15272
+ }
15273
+
15274
+
15275
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15276
+ /**
15277
+ * Creates an object representation of this proto suitable for use in Soy templates.
15278
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15279
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15280
+ * For the list of reserved names please see:
15281
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
15282
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
15283
+ * for transitional soy proto support: http://goto/soy-param-migration
15284
+ * @return {!Object}
15285
+ */
15286
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest.prototype.toObject = function(opt_includeInstance) {
15287
+ return proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest.toObject(opt_includeInstance, this);
15288
+ };
15289
+
15290
+
15291
+ /**
15292
+ * Static version of the {@see toObject} method.
15293
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
15294
+ * instance for transitional soy proto support:
15295
+ * http://goto/soy-param-migration
15296
+ * @param {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest} msg The msg instance to transform.
15297
+ * @return {!Object}
15298
+ */
15299
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest.toObject = function(includeInstance, msg) {
15300
+ var f, obj = {
15301
+ data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.toObject(includeInstance, f)
15302
+ };
15303
+
15304
+ if (includeInstance) {
15305
+ obj.$jspbMessageInstance = msg;
15306
+ }
15307
+ return obj;
15308
+ };
15309
+ }
15310
+
15311
+
15312
+ /**
15313
+ * Deserializes binary data (in protobuf wire format).
15314
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15315
+ * @return {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest}
15316
+ */
15317
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest.deserializeBinary = function(bytes) {
15318
+ var reader = new jspb.BinaryReader(bytes);
15319
+ var msg = new proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest;
15320
+ return proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest.deserializeBinaryFromReader(msg, reader);
15321
+ };
15322
+
15323
+
15324
+ /**
15325
+ * Deserializes binary data (in protobuf wire format) from the
15326
+ * given reader into the given message object.
15327
+ * @param {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest} msg The message object to deserialize into.
15328
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15329
+ * @return {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest}
15330
+ */
15331
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest.deserializeBinaryFromReader = function(msg, reader) {
15332
+ while (reader.nextField()) {
15333
+ if (reader.isEndGroup()) {
15334
+ break;
15335
+ }
15336
+ var field = reader.getFieldNumber();
15337
+ switch (field) {
15338
+ case 1:
15339
+ var value = new proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest;
15340
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.deserializeBinaryFromReader);
15341
+ msg.setData(value);
15342
+ break;
15343
+ default:
15344
+ reader.skipField();
15345
+ break;
15346
+ }
15347
+ }
15348
+ return msg;
15349
+ };
15350
+
15351
+
15352
+ /**
15353
+ * Class method variant: serializes the given message to binary data
15354
+ * (in protobuf wire format), writing to the given BinaryWriter.
15355
+ * @param {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest} message
15356
+ * @param {!jspb.BinaryWriter} writer
15357
+ */
15358
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest.serializeBinaryToWriter = function(message, writer) {
15359
+ message.serializeBinaryToWriter(writer);
15360
+ };
15361
+
15362
+
15363
+ /**
15364
+ * Serializes the message to binary data (in protobuf wire format).
15365
+ * @return {!Uint8Array}
15366
+ */
15367
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest.prototype.serializeBinary = function() {
15368
+ var writer = new jspb.BinaryWriter();
15369
+ this.serializeBinaryToWriter(writer);
15370
+ return writer.getResultBuffer();
15371
+ };
15372
+
15373
+
15374
+ /**
15375
+ * Serializes the message to binary data (in protobuf wire format),
15376
+ * writing to the given BinaryWriter.
15377
+ * @param {!jspb.BinaryWriter} writer
15378
+ */
15379
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest.prototype.serializeBinaryToWriter = function (writer) {
15380
+ var f = undefined;
15381
+ f = this.getData();
15382
+ if (f != null) {
15383
+ writer.writeMessage(
15384
+ 1,
15385
+ f,
15386
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.serializeBinaryToWriter
15387
+ );
15388
+ }
15389
+ };
15390
+
15391
+
15392
+ /**
15393
+ * Creates a deep clone of this proto. No data is shared with the original.
15394
+ * @return {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest} The clone.
15395
+ */
15396
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest.prototype.cloneMessage = function() {
15397
+ return /** @type {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest} */ (jspb.Message.cloneMessage(this));
15398
+ };
15399
+
15400
+
15401
+ /**
15402
+ * optional CreditCardVerifyRequest data = 1;
15403
+ * @return {proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest}
15404
+ */
15405
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest.prototype.getData = function() {
15406
+ return /** @type{proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest} */ (
15407
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest, 1));
15408
+ };
15409
+
15410
+
15411
+ /** @param {proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest|undefined} value */
15412
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest.prototype.setData = function(value) {
15413
+ jspb.Message.setWrapperField(this, 1, value);
15414
+ };
15415
+
15416
+
15417
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest.prototype.clearData = function() {
15418
+ this.setData(undefined);
15419
+ };
15420
+
15421
+
15422
+ /**
15423
+ * Returns whether this field is set.
15424
+ * @return{!boolean}
15425
+ */
15426
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest.prototype.hasData = function() {
15427
+ return jspb.Message.getField(this, 1) != null;
15428
+ };
15429
+
15430
+
15431
+
15255
15432
  /**
15256
15433
  * Generated by JsPbCodeGenerator.
15257
15434
  * @param {Array=} opt_data Optional initial data array, typically from a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payment-methods-client-grpcweb",
3
- "version": "21.19.3686",
3
+ "version": "21.21.3716",
4
4
  "description": "payment-methods-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",