@sniipwebmaster/payment-methods-client-grpcweb-ts 26.7.8787 → 26.8.8808

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.
@@ -771,6 +771,49 @@ export class SniipPaymentMethodsServiceAPIServiceClient {
771
771
  this.methodDescriptorGetPaymentMethodGroup);
772
772
  }
773
773
 
774
+ methodDescriptorGetPaymentMethodGroupByName = new grpcWeb.MethodDescriptor(
775
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodGroupByName',
776
+ grpcWeb.MethodType.UNARY,
777
+ service_pb.GetPaymentMethodGroupByNameRequest,
778
+ service_pb.PaymentMethodGroupGetResponse,
779
+ (request: service_pb.GetPaymentMethodGroupByNameRequest) => {
780
+ return request.serializeBinary();
781
+ },
782
+ service_pb.PaymentMethodGroupGetResponse.deserializeBinary
783
+ );
784
+
785
+ getPaymentMethodGroupByName(
786
+ request: service_pb.GetPaymentMethodGroupByNameRequest,
787
+ metadata?: grpcWeb.Metadata | null): Promise<service_pb.PaymentMethodGroupGetResponse>;
788
+
789
+ getPaymentMethodGroupByName(
790
+ request: service_pb.GetPaymentMethodGroupByNameRequest,
791
+ metadata: grpcWeb.Metadata | null,
792
+ callback: (err: grpcWeb.RpcError,
793
+ response: service_pb.PaymentMethodGroupGetResponse) => void): grpcWeb.ClientReadableStream<service_pb.PaymentMethodGroupGetResponse>;
794
+
795
+ getPaymentMethodGroupByName(
796
+ request: service_pb.GetPaymentMethodGroupByNameRequest,
797
+ metadata?: grpcWeb.Metadata | null,
798
+ callback?: (err: grpcWeb.RpcError,
799
+ response: service_pb.PaymentMethodGroupGetResponse) => void) {
800
+ if (callback !== undefined) {
801
+ return this.client_.rpcCall(
802
+ this.hostname_ +
803
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodGroupByName',
804
+ request,
805
+ metadata || {},
806
+ this.methodDescriptorGetPaymentMethodGroupByName,
807
+ callback);
808
+ }
809
+ return this.client_.unaryCall(
810
+ this.hostname_ +
811
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodGroupByName',
812
+ request,
813
+ metadata || {},
814
+ this.methodDescriptorGetPaymentMethodGroupByName);
815
+ }
816
+
774
817
  methodDescriptorGetPaymentMethodGroups = new grpcWeb.MethodDescriptor(
775
818
  '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodGroups',
776
819
  grpcWeb.MethodType.UNARY,
@@ -1426,6 +1426,24 @@ export namespace GetPaymentMethodForPaymentRequest {
1426
1426
  }
1427
1427
  }
1428
1428
 
1429
+ export class GetPaymentMethodGroupByNameRequest extends jspb.Message {
1430
+ getName(): string;
1431
+ setName(value: string): GetPaymentMethodGroupByNameRequest;
1432
+
1433
+ serializeBinary(): Uint8Array;
1434
+ toObject(includeInstance?: boolean): GetPaymentMethodGroupByNameRequest.AsObject;
1435
+ static toObject(includeInstance: boolean, msg: GetPaymentMethodGroupByNameRequest): GetPaymentMethodGroupByNameRequest.AsObject;
1436
+ static serializeBinaryToWriter(message: GetPaymentMethodGroupByNameRequest, writer: jspb.BinaryWriter): void;
1437
+ static deserializeBinary(bytes: Uint8Array): GetPaymentMethodGroupByNameRequest;
1438
+ static deserializeBinaryFromReader(message: GetPaymentMethodGroupByNameRequest, reader: jspb.BinaryReader): GetPaymentMethodGroupByNameRequest;
1439
+ }
1440
+
1441
+ export namespace GetPaymentMethodGroupByNameRequest {
1442
+ export type AsObject = {
1443
+ name: string,
1444
+ }
1445
+ }
1446
+
1429
1447
  export class GetPaymentMethodGroupRequest extends jspb.Message {
1430
1448
  getGroupid(): number;
1431
1449
  setGroupid(value: number): GetPaymentMethodGroupRequest;
@@ -75,6 +75,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsI
75
75
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodByPaymentMethodIdRequest', null, global);
76
76
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodByPaymentMethodIdResponse', null, global);
77
77
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest', null, global);
78
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest', null, global);
78
79
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupRequest', null, global);
79
80
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodRequest', null, global);
80
81
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodResponse', null, global);
@@ -985,6 +986,27 @@ if (goog.DEBUG && !COMPILED) {
985
986
  */
986
987
  proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.displayName = 'proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest';
987
988
  }
989
+ /**
990
+ * Generated by JsPbCodeGenerator.
991
+ * @param {Array=} opt_data Optional initial data array, typically from a
992
+ * server response, or constructed directly in Javascript. The array is used
993
+ * in place and becomes part of the constructed object. It is not cloned.
994
+ * If no data is provided, the constructed object will be empty, but still
995
+ * valid.
996
+ * @extends {jspb.Message}
997
+ * @constructor
998
+ */
999
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest = function(opt_data) {
1000
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1001
+ };
1002
+ goog.inherits(proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest, jspb.Message);
1003
+ if (goog.DEBUG && !COMPILED) {
1004
+ /**
1005
+ * @public
1006
+ * @override
1007
+ */
1008
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest.displayName = 'proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest';
1009
+ }
988
1010
  /**
989
1011
  * Generated by JsPbCodeGenerator.
990
1012
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -13217,6 +13239,136 @@ proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.prototype.
13217
13239
 
13218
13240
 
13219
13241
 
13242
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13243
+ /**
13244
+ * Creates an object representation of this proto.
13245
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13246
+ * Optional fields that are not set will be set to undefined.
13247
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13248
+ * For the list of reserved names please see:
13249
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
13250
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
13251
+ * JSPB instance for transitional soy proto support:
13252
+ * http://goto/soy-param-migration
13253
+ * @return {!Object}
13254
+ */
13255
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest.prototype.toObject = function(opt_includeInstance) {
13256
+ return proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest.toObject(opt_includeInstance, this);
13257
+ };
13258
+
13259
+
13260
+ /**
13261
+ * Static version of the {@see toObject} method.
13262
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13263
+ * the JSPB instance for transitional soy proto support:
13264
+ * http://goto/soy-param-migration
13265
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest} msg The msg instance to transform.
13266
+ * @return {!Object}
13267
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13268
+ */
13269
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest.toObject = function(includeInstance, msg) {
13270
+ var f, obj = {
13271
+ name: jspb.Message.getFieldWithDefault(msg, 1, "")
13272
+ };
13273
+
13274
+ if (includeInstance) {
13275
+ obj.$jspbMessageInstance = msg;
13276
+ }
13277
+ return obj;
13278
+ };
13279
+ }
13280
+
13281
+
13282
+ /**
13283
+ * Deserializes binary data (in protobuf wire format).
13284
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
13285
+ * @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest}
13286
+ */
13287
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest.deserializeBinary = function(bytes) {
13288
+ var reader = new jspb.BinaryReader(bytes);
13289
+ var msg = new proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest;
13290
+ return proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest.deserializeBinaryFromReader(msg, reader);
13291
+ };
13292
+
13293
+
13294
+ /**
13295
+ * Deserializes binary data (in protobuf wire format) from the
13296
+ * given reader into the given message object.
13297
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest} msg The message object to deserialize into.
13298
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13299
+ * @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest}
13300
+ */
13301
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest.deserializeBinaryFromReader = function(msg, reader) {
13302
+ while (reader.nextField()) {
13303
+ if (reader.isEndGroup()) {
13304
+ break;
13305
+ }
13306
+ var field = reader.getFieldNumber();
13307
+ switch (field) {
13308
+ case 1:
13309
+ var value = /** @type {string} */ (reader.readString());
13310
+ msg.setName(value);
13311
+ break;
13312
+ default:
13313
+ reader.skipField();
13314
+ break;
13315
+ }
13316
+ }
13317
+ return msg;
13318
+ };
13319
+
13320
+
13321
+ /**
13322
+ * Serializes the message to binary data (in protobuf wire format).
13323
+ * @return {!Uint8Array}
13324
+ */
13325
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest.prototype.serializeBinary = function() {
13326
+ var writer = new jspb.BinaryWriter();
13327
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest.serializeBinaryToWriter(this, writer);
13328
+ return writer.getResultBuffer();
13329
+ };
13330
+
13331
+
13332
+ /**
13333
+ * Serializes the given message to binary data (in protobuf wire
13334
+ * format), writing to the given BinaryWriter.
13335
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest} message
13336
+ * @param {!jspb.BinaryWriter} writer
13337
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13338
+ */
13339
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest.serializeBinaryToWriter = function(message, writer) {
13340
+ var f = undefined;
13341
+ f = message.getName();
13342
+ if (f.length > 0) {
13343
+ writer.writeString(
13344
+ 1,
13345
+ f
13346
+ );
13347
+ }
13348
+ };
13349
+
13350
+
13351
+ /**
13352
+ * optional string name = 1;
13353
+ * @return {string}
13354
+ */
13355
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest.prototype.getName = function() {
13356
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
13357
+ };
13358
+
13359
+
13360
+ /**
13361
+ * @param {string} value
13362
+ * @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest} returns this
13363
+ */
13364
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest.prototype.setName = function(value) {
13365
+ return jspb.Message.setProto3StringField(this, 1, value);
13366
+ };
13367
+
13368
+
13369
+
13370
+
13371
+
13220
13372
  if (jspb.Message.GENERATE_TO_OBJECT) {
13221
13373
  /**
13222
13374
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payment-methods-client-grpcweb-ts",
3
- "version": "26.7.8787",
3
+ "version": "26.8.8808",
4
4
  "description": "payment-methods-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",