@sniipwebmaster/payment-methods-client-grpcweb 26.7.8796 → 26.8.8817

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.
@@ -1115,6 +1115,67 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
1115
1115
  };
1116
1116
 
1117
1117
 
1118
+ /**
1119
+ * @const
1120
+ * @type {!grpc.web.MethodDescriptor<
1121
+ * !proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest,
1122
+ * !proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse>}
1123
+ */
1124
+ const methodDescriptor_SniipPaymentMethodsServiceAPIService_GetPaymentMethodGroupByName = new grpc.web.MethodDescriptor(
1125
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodGroupByName',
1126
+ grpc.web.MethodType.UNARY,
1127
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest,
1128
+ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse,
1129
+ /**
1130
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest} request
1131
+ * @return {!Uint8Array}
1132
+ */
1133
+ function(request) {
1134
+ return request.serializeBinary();
1135
+ },
1136
+ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.deserializeBinary
1137
+ );
1138
+
1139
+
1140
+ /**
1141
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest} request The
1142
+ * request proto
1143
+ * @param {?Object<string, string>} metadata User defined
1144
+ * call metadata
1145
+ * @param {function(?grpc.web.RpcError, ?proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse)}
1146
+ * callback The callback function(error, response)
1147
+ * @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse>|undefined}
1148
+ * The XHR Node Readable Stream
1149
+ */
1150
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.getPaymentMethodGroupByName =
1151
+ function(request, metadata, callback) {
1152
+ return this.client_.rpcCall(this.hostname_ +
1153
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodGroupByName',
1154
+ request,
1155
+ metadata || {},
1156
+ methodDescriptor_SniipPaymentMethodsServiceAPIService_GetPaymentMethodGroupByName,
1157
+ callback);
1158
+ };
1159
+
1160
+
1161
+ /**
1162
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest} request The
1163
+ * request proto
1164
+ * @param {?Object<string, string>=} metadata User defined
1165
+ * call metadata
1166
+ * @return {!Promise<!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse>}
1167
+ * Promise that resolves to the response
1168
+ */
1169
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getPaymentMethodGroupByName =
1170
+ function(request, metadata) {
1171
+ return this.client_.unaryCall(this.hostname_ +
1172
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodGroupByName',
1173
+ request,
1174
+ metadata || {},
1175
+ methodDescriptor_SniipPaymentMethodsServiceAPIService_GetPaymentMethodGroupByName);
1176
+ };
1177
+
1178
+
1118
1179
  /**
1119
1180
  * @const
1120
1181
  * @type {!grpc.web.MethodDescriptor<
@@ -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",
3
- "version": "26.7.8796",
3
+ "version": "26.8.8817",
4
4
  "description": "payment-methods-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",