@sniipwebmaster/config-service-client-grpcweb 26.4.2297 → 26.4.2317

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.
@@ -566,6 +566,67 @@ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.ge
566
566
  };
567
567
 
568
568
 
569
+ /**
570
+ * @const
571
+ * @type {!grpc.web.MethodDescriptor<
572
+ * !proto.google.protobuf.Empty,
573
+ * !proto.sniipappappconfigapi.GetBusinessRulesResponse>}
574
+ */
575
+ const methodDescriptor_SniipAppAppConfigAPIService_GetBusinessRules = new grpc.web.MethodDescriptor(
576
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetBusinessRules',
577
+ grpc.web.MethodType.UNARY,
578
+ google_protobuf_empty_pb.Empty,
579
+ proto.sniipappappconfigapi.GetBusinessRulesResponse,
580
+ /**
581
+ * @param {!proto.google.protobuf.Empty} request
582
+ * @return {!Uint8Array}
583
+ */
584
+ function(request) {
585
+ return request.serializeBinary();
586
+ },
587
+ proto.sniipappappconfigapi.GetBusinessRulesResponse.deserializeBinary
588
+ );
589
+
590
+
591
+ /**
592
+ * @param {!proto.google.protobuf.Empty} request The
593
+ * request proto
594
+ * @param {?Object<string, string>} metadata User defined
595
+ * call metadata
596
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.GetBusinessRulesResponse)}
597
+ * callback The callback function(error, response)
598
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.GetBusinessRulesResponse>|undefined}
599
+ * The XHR Node Readable Stream
600
+ */
601
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.getBusinessRules =
602
+ function(request, metadata, callback) {
603
+ return this.client_.rpcCall(this.hostname_ +
604
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetBusinessRules',
605
+ request,
606
+ metadata || {},
607
+ methodDescriptor_SniipAppAppConfigAPIService_GetBusinessRules,
608
+ callback);
609
+ };
610
+
611
+
612
+ /**
613
+ * @param {!proto.google.protobuf.Empty} request The
614
+ * request proto
615
+ * @param {?Object<string, string>=} metadata User defined
616
+ * call metadata
617
+ * @return {!Promise<!proto.sniipappappconfigapi.GetBusinessRulesResponse>}
618
+ * Promise that resolves to the response
619
+ */
620
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.getBusinessRules =
621
+ function(request, metadata) {
622
+ return this.client_.unaryCall(this.hostname_ +
623
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetBusinessRules',
624
+ request,
625
+ metadata || {},
626
+ methodDescriptor_SniipAppAppConfigAPIService_GetBusinessRules);
627
+ };
628
+
629
+
569
630
  /**
570
631
  * @const
571
632
  * @type {!grpc.web.MethodDescriptor<
@@ -22,6 +22,7 @@ goog.object.extend(proto, google_protobuf_empty_pb);
22
22
  goog.exportSymbol('proto.sniipappappconfigapi.AddOnboardingScreenRequest', null, global);
23
23
  goog.exportSymbol('proto.sniipappappconfigapi.AppConfig', null, global);
24
24
  goog.exportSymbol('proto.sniipappappconfigapi.AppConfiggetConfigRequest', null, global);
25
+ goog.exportSymbol('proto.sniipappappconfigapi.BusinessRules', null, global);
25
26
  goog.exportSymbol('proto.sniipappappconfigapi.ConfigExtra', null, global);
26
27
  goog.exportSymbol('proto.sniipappappconfigapi.CreateConfigRequest', null, global);
27
28
  goog.exportSymbol('proto.sniipappappconfigapi.CreateOfferRequest', null, global);
@@ -33,6 +34,7 @@ goog.exportSymbol('proto.sniipappappconfigapi.DashboardItemsRequest', null, glob
33
34
  goog.exportSymbol('proto.sniipappappconfigapi.DashboardItemsResponse', null, global);
34
35
  goog.exportSymbol('proto.sniipappappconfigapi.DeleteOfferRequest', null, global);
35
36
  goog.exportSymbol('proto.sniipappappconfigapi.DeleteOfferRulesetRequest', null, global);
37
+ goog.exportSymbol('proto.sniipappappconfigapi.GetBusinessRulesResponse', null, global);
36
38
  goog.exportSymbol('proto.sniipappappconfigapi.GetConfigRequest', null, global);
37
39
  goog.exportSymbol('proto.sniipappappconfigapi.GetConfigResponse', null, global);
38
40
  goog.exportSymbol('proto.sniipappappconfigapi.GetOfferRequest', null, global);
@@ -258,6 +260,48 @@ if (goog.DEBUG && !COMPILED) {
258
260
  */
259
261
  proto.sniipappappconfigapi.DashboardItemsResponse.displayName = 'proto.sniipappappconfigapi.DashboardItemsResponse';
260
262
  }
263
+ /**
264
+ * Generated by JsPbCodeGenerator.
265
+ * @param {Array=} opt_data Optional initial data array, typically from a
266
+ * server response, or constructed directly in Javascript. The array is used
267
+ * in place and becomes part of the constructed object. It is not cloned.
268
+ * If no data is provided, the constructed object will be empty, but still
269
+ * valid.
270
+ * @extends {jspb.Message}
271
+ * @constructor
272
+ */
273
+ proto.sniipappappconfigapi.BusinessRules = function(opt_data) {
274
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
275
+ };
276
+ goog.inherits(proto.sniipappappconfigapi.BusinessRules, jspb.Message);
277
+ if (goog.DEBUG && !COMPILED) {
278
+ /**
279
+ * @public
280
+ * @override
281
+ */
282
+ proto.sniipappappconfigapi.BusinessRules.displayName = 'proto.sniipappappconfigapi.BusinessRules';
283
+ }
284
+ /**
285
+ * Generated by JsPbCodeGenerator.
286
+ * @param {Array=} opt_data Optional initial data array, typically from a
287
+ * server response, or constructed directly in Javascript. The array is used
288
+ * in place and becomes part of the constructed object. It is not cloned.
289
+ * If no data is provided, the constructed object will be empty, but still
290
+ * valid.
291
+ * @extends {jspb.Message}
292
+ * @constructor
293
+ */
294
+ proto.sniipappappconfigapi.GetBusinessRulesResponse = function(opt_data) {
295
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
296
+ };
297
+ goog.inherits(proto.sniipappappconfigapi.GetBusinessRulesResponse, jspb.Message);
298
+ if (goog.DEBUG && !COMPILED) {
299
+ /**
300
+ * @public
301
+ * @override
302
+ */
303
+ proto.sniipappappconfigapi.GetBusinessRulesResponse.displayName = 'proto.sniipappappconfigapi.GetBusinessRulesResponse';
304
+ }
261
305
  /**
262
306
  * Generated by JsPbCodeGenerator.
263
307
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1905,7 +1949,9 @@ proto.sniipappappconfigapi.ConfigExtra.toObject = function(includeInstance, msg)
1905
1949
  paymentmethodtypevaluetagMap: (f = msg.getPaymentmethodtypevaluetagMap()) ? f.toObject(includeInstance, undefined) : [],
1906
1950
  click2payenabled: jspb.Message.getBooleanFieldWithDefault(msg, 47, false),
1907
1951
  click2paybetauser: jspb.Message.getBooleanFieldWithDefault(msg, 48, false),
1908
- paymentmethodtypepaymentflowvaluetagMap: (f = msg.getPaymentmethodtypepaymentflowvaluetagMap()) ? f.toObject(includeInstance, undefined) : []
1952
+ paymentmethodtypepaymentflowvaluetagMap: (f = msg.getPaymentmethodtypepaymentflowvaluetagMap()) ? f.toObject(includeInstance, undefined) : [],
1953
+ abaallowedcharacters: jspb.Message.getFieldWithDefault(msg, 50, ""),
1954
+ abacharacternormalisationsMap: (f = msg.getAbacharacternormalisationsMap()) ? f.toObject(includeInstance, undefined) : []
1909
1955
  };
1910
1956
 
1911
1957
  if (includeInstance) {
@@ -2144,6 +2190,16 @@ proto.sniipappappconfigapi.ConfigExtra.deserializeBinaryFromReader = function(ms
2144
2190
  jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
2145
2191
  });
2146
2192
  break;
2193
+ case 50:
2194
+ var value = /** @type {string} */ (reader.readString());
2195
+ msg.setAbaallowedcharacters(value);
2196
+ break;
2197
+ case 51:
2198
+ var value = msg.getAbacharacternormalisationsMap();
2199
+ reader.readMessage(value, function(message, reader) {
2200
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
2201
+ });
2202
+ break;
2147
2203
  default:
2148
2204
  reader.skipField();
2149
2205
  break;
@@ -2512,6 +2568,17 @@ proto.sniipappappconfigapi.ConfigExtra.serializeBinaryToWriter = function(messag
2512
2568
  if (f && f.getLength() > 0) {
2513
2569
  f.serializeBinary(49, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
2514
2570
  }
2571
+ f = message.getAbaallowedcharacters();
2572
+ if (f.length > 0) {
2573
+ writer.writeString(
2574
+ 50,
2575
+ f
2576
+ );
2577
+ }
2578
+ f = message.getAbacharacternormalisationsMap(true);
2579
+ if (f && f.getLength() > 0) {
2580
+ f.serializeBinary(51, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
2581
+ }
2515
2582
  };
2516
2583
 
2517
2584
 
@@ -3481,6 +3548,46 @@ proto.sniipappappconfigapi.ConfigExtra.prototype.clearPaymentmethodtypepaymentfl
3481
3548
  return this;};
3482
3549
 
3483
3550
 
3551
+ /**
3552
+ * optional string abaAllowedCharacters = 50;
3553
+ * @return {string}
3554
+ */
3555
+ proto.sniipappappconfigapi.ConfigExtra.prototype.getAbaallowedcharacters = function() {
3556
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 50, ""));
3557
+ };
3558
+
3559
+
3560
+ /**
3561
+ * @param {string} value
3562
+ * @return {!proto.sniipappappconfigapi.ConfigExtra} returns this
3563
+ */
3564
+ proto.sniipappappconfigapi.ConfigExtra.prototype.setAbaallowedcharacters = function(value) {
3565
+ return jspb.Message.setProto3StringField(this, 50, value);
3566
+ };
3567
+
3568
+
3569
+ /**
3570
+ * map<string, string> abaCharacterNormalisations = 51;
3571
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
3572
+ * empty, instead returning `undefined`
3573
+ * @return {!jspb.Map<string,string>}
3574
+ */
3575
+ proto.sniipappappconfigapi.ConfigExtra.prototype.getAbacharacternormalisationsMap = function(opt_noLazyCreate) {
3576
+ return /** @type {!jspb.Map<string,string>} */ (
3577
+ jspb.Message.getMapField(this, 51, opt_noLazyCreate,
3578
+ null));
3579
+ };
3580
+
3581
+
3582
+ /**
3583
+ * Clears values from the map. The map will be non-null.
3584
+ * @return {!proto.sniipappappconfigapi.ConfigExtra} returns this
3585
+ */
3586
+ proto.sniipappappconfigapi.ConfigExtra.prototype.clearAbacharacternormalisationsMap = function() {
3587
+ this.getAbacharacternormalisationsMap().clear();
3588
+ return this;};
3589
+
3590
+
3484
3591
 
3485
3592
 
3486
3593
 
@@ -4625,6 +4732,371 @@ proto.sniipappappconfigapi.DashboardItemsResponse.prototype.clearDisableddashboa
4625
4732
 
4626
4733
 
4627
4734
 
4735
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4736
+ /**
4737
+ * Creates an object representation of this proto.
4738
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4739
+ * Optional fields that are not set will be set to undefined.
4740
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4741
+ * For the list of reserved names please see:
4742
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4743
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4744
+ * JSPB instance for transitional soy proto support:
4745
+ * http://goto/soy-param-migration
4746
+ * @return {!Object}
4747
+ */
4748
+ proto.sniipappappconfigapi.BusinessRules.prototype.toObject = function(opt_includeInstance) {
4749
+ return proto.sniipappappconfigapi.BusinessRules.toObject(opt_includeInstance, this);
4750
+ };
4751
+
4752
+
4753
+ /**
4754
+ * Static version of the {@see toObject} method.
4755
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4756
+ * the JSPB instance for transitional soy proto support:
4757
+ * http://goto/soy-param-migration
4758
+ * @param {!proto.sniipappappconfigapi.BusinessRules} msg The msg instance to transform.
4759
+ * @return {!Object}
4760
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4761
+ */
4762
+ proto.sniipappappconfigapi.BusinessRules.toObject = function(includeInstance, msg) {
4763
+ var f, obj = {
4764
+ abaallowedcharacters: jspb.Message.getFieldWithDefault(msg, 1, ""),
4765
+ abacharacternormalisationsMap: (f = msg.getAbacharacternormalisationsMap()) ? f.toObject(includeInstance, undefined) : []
4766
+ };
4767
+
4768
+ if (includeInstance) {
4769
+ obj.$jspbMessageInstance = msg;
4770
+ }
4771
+ return obj;
4772
+ };
4773
+ }
4774
+
4775
+
4776
+ /**
4777
+ * Deserializes binary data (in protobuf wire format).
4778
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4779
+ * @return {!proto.sniipappappconfigapi.BusinessRules}
4780
+ */
4781
+ proto.sniipappappconfigapi.BusinessRules.deserializeBinary = function(bytes) {
4782
+ var reader = new jspb.BinaryReader(bytes);
4783
+ var msg = new proto.sniipappappconfigapi.BusinessRules;
4784
+ return proto.sniipappappconfigapi.BusinessRules.deserializeBinaryFromReader(msg, reader);
4785
+ };
4786
+
4787
+
4788
+ /**
4789
+ * Deserializes binary data (in protobuf wire format) from the
4790
+ * given reader into the given message object.
4791
+ * @param {!proto.sniipappappconfigapi.BusinessRules} msg The message object to deserialize into.
4792
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4793
+ * @return {!proto.sniipappappconfigapi.BusinessRules}
4794
+ */
4795
+ proto.sniipappappconfigapi.BusinessRules.deserializeBinaryFromReader = function(msg, reader) {
4796
+ while (reader.nextField()) {
4797
+ if (reader.isEndGroup()) {
4798
+ break;
4799
+ }
4800
+ var field = reader.getFieldNumber();
4801
+ switch (field) {
4802
+ case 1:
4803
+ var value = /** @type {string} */ (reader.readString());
4804
+ msg.setAbaallowedcharacters(value);
4805
+ break;
4806
+ case 2:
4807
+ var value = msg.getAbacharacternormalisationsMap();
4808
+ reader.readMessage(value, function(message, reader) {
4809
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
4810
+ });
4811
+ break;
4812
+ default:
4813
+ reader.skipField();
4814
+ break;
4815
+ }
4816
+ }
4817
+ return msg;
4818
+ };
4819
+
4820
+
4821
+ /**
4822
+ * Serializes the message to binary data (in protobuf wire format).
4823
+ * @return {!Uint8Array}
4824
+ */
4825
+ proto.sniipappappconfigapi.BusinessRules.prototype.serializeBinary = function() {
4826
+ var writer = new jspb.BinaryWriter();
4827
+ proto.sniipappappconfigapi.BusinessRules.serializeBinaryToWriter(this, writer);
4828
+ return writer.getResultBuffer();
4829
+ };
4830
+
4831
+
4832
+ /**
4833
+ * Serializes the given message to binary data (in protobuf wire
4834
+ * format), writing to the given BinaryWriter.
4835
+ * @param {!proto.sniipappappconfigapi.BusinessRules} message
4836
+ * @param {!jspb.BinaryWriter} writer
4837
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4838
+ */
4839
+ proto.sniipappappconfigapi.BusinessRules.serializeBinaryToWriter = function(message, writer) {
4840
+ var f = undefined;
4841
+ f = message.getAbaallowedcharacters();
4842
+ if (f.length > 0) {
4843
+ writer.writeString(
4844
+ 1,
4845
+ f
4846
+ );
4847
+ }
4848
+ f = message.getAbacharacternormalisationsMap(true);
4849
+ if (f && f.getLength() > 0) {
4850
+ f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
4851
+ }
4852
+ };
4853
+
4854
+
4855
+ /**
4856
+ * optional string abaAllowedCharacters = 1;
4857
+ * @return {string}
4858
+ */
4859
+ proto.sniipappappconfigapi.BusinessRules.prototype.getAbaallowedcharacters = function() {
4860
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4861
+ };
4862
+
4863
+
4864
+ /**
4865
+ * @param {string} value
4866
+ * @return {!proto.sniipappappconfigapi.BusinessRules} returns this
4867
+ */
4868
+ proto.sniipappappconfigapi.BusinessRules.prototype.setAbaallowedcharacters = function(value) {
4869
+ return jspb.Message.setProto3StringField(this, 1, value);
4870
+ };
4871
+
4872
+
4873
+ /**
4874
+ * map<string, string> abaCharacterNormalisations = 2;
4875
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
4876
+ * empty, instead returning `undefined`
4877
+ * @return {!jspb.Map<string,string>}
4878
+ */
4879
+ proto.sniipappappconfigapi.BusinessRules.prototype.getAbacharacternormalisationsMap = function(opt_noLazyCreate) {
4880
+ return /** @type {!jspb.Map<string,string>} */ (
4881
+ jspb.Message.getMapField(this, 2, opt_noLazyCreate,
4882
+ null));
4883
+ };
4884
+
4885
+
4886
+ /**
4887
+ * Clears values from the map. The map will be non-null.
4888
+ * @return {!proto.sniipappappconfigapi.BusinessRules} returns this
4889
+ */
4890
+ proto.sniipappappconfigapi.BusinessRules.prototype.clearAbacharacternormalisationsMap = function() {
4891
+ this.getAbacharacternormalisationsMap().clear();
4892
+ return this;};
4893
+
4894
+
4895
+
4896
+
4897
+
4898
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4899
+ /**
4900
+ * Creates an object representation of this proto.
4901
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4902
+ * Optional fields that are not set will be set to undefined.
4903
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4904
+ * For the list of reserved names please see:
4905
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4906
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4907
+ * JSPB instance for transitional soy proto support:
4908
+ * http://goto/soy-param-migration
4909
+ * @return {!Object}
4910
+ */
4911
+ proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.toObject = function(opt_includeInstance) {
4912
+ return proto.sniipappappconfigapi.GetBusinessRulesResponse.toObject(opt_includeInstance, this);
4913
+ };
4914
+
4915
+
4916
+ /**
4917
+ * Static version of the {@see toObject} method.
4918
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4919
+ * the JSPB instance for transitional soy proto support:
4920
+ * http://goto/soy-param-migration
4921
+ * @param {!proto.sniipappappconfigapi.GetBusinessRulesResponse} msg The msg instance to transform.
4922
+ * @return {!Object}
4923
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4924
+ */
4925
+ proto.sniipappappconfigapi.GetBusinessRulesResponse.toObject = function(includeInstance, msg) {
4926
+ var f, obj = {
4927
+ responsecode: (f = msg.getResponsecode()) && proto.sniipappappconfigapi.ResponseCode.toObject(includeInstance, f),
4928
+ rules: (f = msg.getRules()) && proto.sniipappappconfigapi.BusinessRules.toObject(includeInstance, f)
4929
+ };
4930
+
4931
+ if (includeInstance) {
4932
+ obj.$jspbMessageInstance = msg;
4933
+ }
4934
+ return obj;
4935
+ };
4936
+ }
4937
+
4938
+
4939
+ /**
4940
+ * Deserializes binary data (in protobuf wire format).
4941
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4942
+ * @return {!proto.sniipappappconfigapi.GetBusinessRulesResponse}
4943
+ */
4944
+ proto.sniipappappconfigapi.GetBusinessRulesResponse.deserializeBinary = function(bytes) {
4945
+ var reader = new jspb.BinaryReader(bytes);
4946
+ var msg = new proto.sniipappappconfigapi.GetBusinessRulesResponse;
4947
+ return proto.sniipappappconfigapi.GetBusinessRulesResponse.deserializeBinaryFromReader(msg, reader);
4948
+ };
4949
+
4950
+
4951
+ /**
4952
+ * Deserializes binary data (in protobuf wire format) from the
4953
+ * given reader into the given message object.
4954
+ * @param {!proto.sniipappappconfigapi.GetBusinessRulesResponse} msg The message object to deserialize into.
4955
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4956
+ * @return {!proto.sniipappappconfigapi.GetBusinessRulesResponse}
4957
+ */
4958
+ proto.sniipappappconfigapi.GetBusinessRulesResponse.deserializeBinaryFromReader = function(msg, reader) {
4959
+ while (reader.nextField()) {
4960
+ if (reader.isEndGroup()) {
4961
+ break;
4962
+ }
4963
+ var field = reader.getFieldNumber();
4964
+ switch (field) {
4965
+ case 1:
4966
+ var value = new proto.sniipappappconfigapi.ResponseCode;
4967
+ reader.readMessage(value,proto.sniipappappconfigapi.ResponseCode.deserializeBinaryFromReader);
4968
+ msg.setResponsecode(value);
4969
+ break;
4970
+ case 2:
4971
+ var value = new proto.sniipappappconfigapi.BusinessRules;
4972
+ reader.readMessage(value,proto.sniipappappconfigapi.BusinessRules.deserializeBinaryFromReader);
4973
+ msg.setRules(value);
4974
+ break;
4975
+ default:
4976
+ reader.skipField();
4977
+ break;
4978
+ }
4979
+ }
4980
+ return msg;
4981
+ };
4982
+
4983
+
4984
+ /**
4985
+ * Serializes the message to binary data (in protobuf wire format).
4986
+ * @return {!Uint8Array}
4987
+ */
4988
+ proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.serializeBinary = function() {
4989
+ var writer = new jspb.BinaryWriter();
4990
+ proto.sniipappappconfigapi.GetBusinessRulesResponse.serializeBinaryToWriter(this, writer);
4991
+ return writer.getResultBuffer();
4992
+ };
4993
+
4994
+
4995
+ /**
4996
+ * Serializes the given message to binary data (in protobuf wire
4997
+ * format), writing to the given BinaryWriter.
4998
+ * @param {!proto.sniipappappconfigapi.GetBusinessRulesResponse} message
4999
+ * @param {!jspb.BinaryWriter} writer
5000
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5001
+ */
5002
+ proto.sniipappappconfigapi.GetBusinessRulesResponse.serializeBinaryToWriter = function(message, writer) {
5003
+ var f = undefined;
5004
+ f = message.getResponsecode();
5005
+ if (f != null) {
5006
+ writer.writeMessage(
5007
+ 1,
5008
+ f,
5009
+ proto.sniipappappconfigapi.ResponseCode.serializeBinaryToWriter
5010
+ );
5011
+ }
5012
+ f = message.getRules();
5013
+ if (f != null) {
5014
+ writer.writeMessage(
5015
+ 2,
5016
+ f,
5017
+ proto.sniipappappconfigapi.BusinessRules.serializeBinaryToWriter
5018
+ );
5019
+ }
5020
+ };
5021
+
5022
+
5023
+ /**
5024
+ * optional ResponseCode responseCode = 1;
5025
+ * @return {?proto.sniipappappconfigapi.ResponseCode}
5026
+ */
5027
+ proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.getResponsecode = function() {
5028
+ return /** @type{?proto.sniipappappconfigapi.ResponseCode} */ (
5029
+ jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.ResponseCode, 1));
5030
+ };
5031
+
5032
+
5033
+ /**
5034
+ * @param {?proto.sniipappappconfigapi.ResponseCode|undefined} value
5035
+ * @return {!proto.sniipappappconfigapi.GetBusinessRulesResponse} returns this
5036
+ */
5037
+ proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.setResponsecode = function(value) {
5038
+ return jspb.Message.setWrapperField(this, 1, value);
5039
+ };
5040
+
5041
+
5042
+ /**
5043
+ * Clears the message field making it undefined.
5044
+ * @return {!proto.sniipappappconfigapi.GetBusinessRulesResponse} returns this
5045
+ */
5046
+ proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.clearResponsecode = function() {
5047
+ return this.setResponsecode(undefined);
5048
+ };
5049
+
5050
+
5051
+ /**
5052
+ * Returns whether this field is set.
5053
+ * @return {boolean}
5054
+ */
5055
+ proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.hasResponsecode = function() {
5056
+ return jspb.Message.getField(this, 1) != null;
5057
+ };
5058
+
5059
+
5060
+ /**
5061
+ * optional BusinessRules rules = 2;
5062
+ * @return {?proto.sniipappappconfigapi.BusinessRules}
5063
+ */
5064
+ proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.getRules = function() {
5065
+ return /** @type{?proto.sniipappappconfigapi.BusinessRules} */ (
5066
+ jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.BusinessRules, 2));
5067
+ };
5068
+
5069
+
5070
+ /**
5071
+ * @param {?proto.sniipappappconfigapi.BusinessRules|undefined} value
5072
+ * @return {!proto.sniipappappconfigapi.GetBusinessRulesResponse} returns this
5073
+ */
5074
+ proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.setRules = function(value) {
5075
+ return jspb.Message.setWrapperField(this, 2, value);
5076
+ };
5077
+
5078
+
5079
+ /**
5080
+ * Clears the message field making it undefined.
5081
+ * @return {!proto.sniipappappconfigapi.GetBusinessRulesResponse} returns this
5082
+ */
5083
+ proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.clearRules = function() {
5084
+ return this.setRules(undefined);
5085
+ };
5086
+
5087
+
5088
+ /**
5089
+ * Returns whether this field is set.
5090
+ * @return {boolean}
5091
+ */
5092
+ proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.hasRules = function() {
5093
+ return jspb.Message.getField(this, 2) != null;
5094
+ };
5095
+
5096
+
5097
+
5098
+
5099
+
4628
5100
  if (jspb.Message.GENERATE_TO_OBJECT) {
4629
5101
  /**
4630
5102
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/config-service-client-grpcweb",
3
- "version": "26.4.2297",
3
+ "version": "26.4.2317",
4
4
  "description": "config-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",