@sniipwebmaster/config-service-client-grpcweb 22.20.1547 → 22.20.1578

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.
@@ -1034,5 +1034,85 @@ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.up
1034
1034
  };
1035
1035
 
1036
1036
 
1037
+ /**
1038
+ * @const
1039
+ * @type {!grpc.web.MethodDescriptor<
1040
+ * !proto.sniipappappconfigapi.UpdateMbillingFlagRequest,
1041
+ * !proto.sniipappappconfigapi.ResponseCode>}
1042
+ */
1043
+ const methodDescriptor_SniipAppAppConfigAPIService_UpdateMbillingFlag = new grpc.web.MethodDescriptor(
1044
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UpdateMbillingFlag',
1045
+ grpc.web.MethodType.UNARY,
1046
+ proto.sniipappappconfigapi.UpdateMbillingFlagRequest,
1047
+ proto.sniipappappconfigapi.ResponseCode,
1048
+ /**
1049
+ * @param {!proto.sniipappappconfigapi.UpdateMbillingFlagRequest} request
1050
+ * @return {!Uint8Array}
1051
+ */
1052
+ function(request) {
1053
+ return request.serializeBinary();
1054
+ },
1055
+ proto.sniipappappconfigapi.ResponseCode.deserializeBinary
1056
+ );
1057
+
1058
+
1059
+ /**
1060
+ * @const
1061
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1062
+ * !proto.sniipappappconfigapi.UpdateMbillingFlagRequest,
1063
+ * !proto.sniipappappconfigapi.ResponseCode>}
1064
+ */
1065
+ const methodInfo_SniipAppAppConfigAPIService_UpdateMbillingFlag = new grpc.web.AbstractClientBase.MethodInfo(
1066
+ proto.sniipappappconfigapi.ResponseCode,
1067
+ /**
1068
+ * @param {!proto.sniipappappconfigapi.UpdateMbillingFlagRequest} request
1069
+ * @return {!Uint8Array}
1070
+ */
1071
+ function(request) {
1072
+ return request.serializeBinary();
1073
+ },
1074
+ proto.sniipappappconfigapi.ResponseCode.deserializeBinary
1075
+ );
1076
+
1077
+
1078
+ /**
1079
+ * @param {!proto.sniipappappconfigapi.UpdateMbillingFlagRequest} request The
1080
+ * request proto
1081
+ * @param {?Object<string, string>} metadata User defined
1082
+ * call metadata
1083
+ * @param {function(?grpc.web.Error, ?proto.sniipappappconfigapi.ResponseCode)}
1084
+ * callback The callback function(error, response)
1085
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.ResponseCode>|undefined}
1086
+ * The XHR Node Readable Stream
1087
+ */
1088
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.updateMbillingFlag =
1089
+ function(request, metadata, callback) {
1090
+ return this.client_.rpcCall(this.hostname_ +
1091
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UpdateMbillingFlag',
1092
+ request,
1093
+ metadata || {},
1094
+ methodDescriptor_SniipAppAppConfigAPIService_UpdateMbillingFlag,
1095
+ callback);
1096
+ };
1097
+
1098
+
1099
+ /**
1100
+ * @param {!proto.sniipappappconfigapi.UpdateMbillingFlagRequest} request The
1101
+ * request proto
1102
+ * @param {?Object<string, string>} metadata User defined
1103
+ * call metadata
1104
+ * @return {!Promise<!proto.sniipappappconfigapi.ResponseCode>}
1105
+ * Promise that resolves to the response
1106
+ */
1107
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.updateMbillingFlag =
1108
+ function(request, metadata) {
1109
+ return this.client_.unaryCall(this.hostname_ +
1110
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UpdateMbillingFlag',
1111
+ request,
1112
+ metadata || {},
1113
+ methodDescriptor_SniipAppAppConfigAPIService_UpdateMbillingFlag);
1114
+ };
1115
+
1116
+
1037
1117
  module.exports = proto.sniipappappconfigapi;
1038
1118
 
@@ -30,6 +30,8 @@ goog.exportSymbol('proto.sniipappappconfigapi.ScanCodes', null, global);
30
30
  goog.exportSymbol('proto.sniipappappconfigapi.TermsAndConditionsRequest', null, global);
31
31
  goog.exportSymbol('proto.sniipappappconfigapi.TermsAndConditionsResponse', null, global);
32
32
  goog.exportSymbol('proto.sniipappappconfigapi.UpdateDashboardItemsRequest', null, global);
33
+ goog.exportSymbol('proto.sniipappappconfigapi.UpdateMbillingFlagRequest', null, global);
34
+ goog.exportSymbol('proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest', null, global);
33
35
  goog.exportSymbol('proto.sniipappappconfigapi.UserConfigResponse', null, global);
34
36
 
35
37
  /**
@@ -4917,6 +4919,370 @@ proto.sniipappappconfigapi.UpdateDashboardItemsRequest.prototype.hasData = funct
4917
4919
 
4918
4920
 
4919
4921
 
4922
+ /**
4923
+ * Generated by JsPbCodeGenerator.
4924
+ * @param {Array=} opt_data Optional initial data array, typically from a
4925
+ * server response, or constructed directly in Javascript. The array is used
4926
+ * in place and becomes part of the constructed object. It is not cloned.
4927
+ * If no data is provided, the constructed object will be empty, but still
4928
+ * valid.
4929
+ * @extends {jspb.Message}
4930
+ * @constructor
4931
+ */
4932
+ proto.sniipappappconfigapi.UpdateMbillingFlagRequest = function(opt_data) {
4933
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4934
+ };
4935
+ goog.inherits(proto.sniipappappconfigapi.UpdateMbillingFlagRequest, jspb.Message);
4936
+ if (goog.DEBUG && !COMPILED) {
4937
+ proto.sniipappappconfigapi.UpdateMbillingFlagRequest.displayName = 'proto.sniipappappconfigapi.UpdateMbillingFlagRequest';
4938
+ }
4939
+
4940
+
4941
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4942
+ /**
4943
+ * Creates an object representation of this proto suitable for use in Soy templates.
4944
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4945
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4946
+ * For the list of reserved names please see:
4947
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
4948
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
4949
+ * for transitional soy proto support: http://goto/soy-param-migration
4950
+ * @return {!Object}
4951
+ */
4952
+ proto.sniipappappconfigapi.UpdateMbillingFlagRequest.prototype.toObject = function(opt_includeInstance) {
4953
+ return proto.sniipappappconfigapi.UpdateMbillingFlagRequest.toObject(opt_includeInstance, this);
4954
+ };
4955
+
4956
+
4957
+ /**
4958
+ * Static version of the {@see toObject} method.
4959
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
4960
+ * instance for transitional soy proto support:
4961
+ * http://goto/soy-param-migration
4962
+ * @param {!proto.sniipappappconfigapi.UpdateMbillingFlagRequest} msg The msg instance to transform.
4963
+ * @return {!Object}
4964
+ */
4965
+ proto.sniipappappconfigapi.UpdateMbillingFlagRequest.toObject = function(includeInstance, msg) {
4966
+ var f, obj = {
4967
+ data: (f = msg.getData()) && proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.toObject(includeInstance, f)
4968
+ };
4969
+
4970
+ if (includeInstance) {
4971
+ obj.$jspbMessageInstance = msg;
4972
+ }
4973
+ return obj;
4974
+ };
4975
+ }
4976
+
4977
+
4978
+ /**
4979
+ * Deserializes binary data (in protobuf wire format).
4980
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4981
+ * @return {!proto.sniipappappconfigapi.UpdateMbillingFlagRequest}
4982
+ */
4983
+ proto.sniipappappconfigapi.UpdateMbillingFlagRequest.deserializeBinary = function(bytes) {
4984
+ var reader = new jspb.BinaryReader(bytes);
4985
+ var msg = new proto.sniipappappconfigapi.UpdateMbillingFlagRequest;
4986
+ return proto.sniipappappconfigapi.UpdateMbillingFlagRequest.deserializeBinaryFromReader(msg, reader);
4987
+ };
4988
+
4989
+
4990
+ /**
4991
+ * Deserializes binary data (in protobuf wire format) from the
4992
+ * given reader into the given message object.
4993
+ * @param {!proto.sniipappappconfigapi.UpdateMbillingFlagRequest} msg The message object to deserialize into.
4994
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4995
+ * @return {!proto.sniipappappconfigapi.UpdateMbillingFlagRequest}
4996
+ */
4997
+ proto.sniipappappconfigapi.UpdateMbillingFlagRequest.deserializeBinaryFromReader = function(msg, reader) {
4998
+ while (reader.nextField()) {
4999
+ if (reader.isEndGroup()) {
5000
+ break;
5001
+ }
5002
+ var field = reader.getFieldNumber();
5003
+ switch (field) {
5004
+ case 1:
5005
+ var value = new proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest;
5006
+ reader.readMessage(value,proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.deserializeBinaryFromReader);
5007
+ msg.setData(value);
5008
+ break;
5009
+ default:
5010
+ reader.skipField();
5011
+ break;
5012
+ }
5013
+ }
5014
+ return msg;
5015
+ };
5016
+
5017
+
5018
+ /**
5019
+ * Class method variant: serializes the given message to binary data
5020
+ * (in protobuf wire format), writing to the given BinaryWriter.
5021
+ * @param {!proto.sniipappappconfigapi.UpdateMbillingFlagRequest} message
5022
+ * @param {!jspb.BinaryWriter} writer
5023
+ */
5024
+ proto.sniipappappconfigapi.UpdateMbillingFlagRequest.serializeBinaryToWriter = function(message, writer) {
5025
+ message.serializeBinaryToWriter(writer);
5026
+ };
5027
+
5028
+
5029
+ /**
5030
+ * Serializes the message to binary data (in protobuf wire format).
5031
+ * @return {!Uint8Array}
5032
+ */
5033
+ proto.sniipappappconfigapi.UpdateMbillingFlagRequest.prototype.serializeBinary = function() {
5034
+ var writer = new jspb.BinaryWriter();
5035
+ this.serializeBinaryToWriter(writer);
5036
+ return writer.getResultBuffer();
5037
+ };
5038
+
5039
+
5040
+ /**
5041
+ * Serializes the message to binary data (in protobuf wire format),
5042
+ * writing to the given BinaryWriter.
5043
+ * @param {!jspb.BinaryWriter} writer
5044
+ */
5045
+ proto.sniipappappconfigapi.UpdateMbillingFlagRequest.prototype.serializeBinaryToWriter = function (writer) {
5046
+ var f = undefined;
5047
+ f = this.getData();
5048
+ if (f != null) {
5049
+ writer.writeMessage(
5050
+ 1,
5051
+ f,
5052
+ proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.serializeBinaryToWriter
5053
+ );
5054
+ }
5055
+ };
5056
+
5057
+
5058
+ /**
5059
+ * Creates a deep clone of this proto. No data is shared with the original.
5060
+ * @return {!proto.sniipappappconfigapi.UpdateMbillingFlagRequest} The clone.
5061
+ */
5062
+ proto.sniipappappconfigapi.UpdateMbillingFlagRequest.prototype.cloneMessage = function() {
5063
+ return /** @type {!proto.sniipappappconfigapi.UpdateMbillingFlagRequest} */ (jspb.Message.cloneMessage(this));
5064
+ };
5065
+
5066
+
5067
+ /**
5068
+ * optional UpdateUserHasMbillingSubscriptionsRequest data = 1;
5069
+ * @return {proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest}
5070
+ */
5071
+ proto.sniipappappconfigapi.UpdateMbillingFlagRequest.prototype.getData = function() {
5072
+ return /** @type{proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest} */ (
5073
+ jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest, 1));
5074
+ };
5075
+
5076
+
5077
+ /** @param {proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest|undefined} value */
5078
+ proto.sniipappappconfigapi.UpdateMbillingFlagRequest.prototype.setData = function(value) {
5079
+ jspb.Message.setWrapperField(this, 1, value);
5080
+ };
5081
+
5082
+
5083
+ proto.sniipappappconfigapi.UpdateMbillingFlagRequest.prototype.clearData = function() {
5084
+ this.setData(undefined);
5085
+ };
5086
+
5087
+
5088
+ /**
5089
+ * Returns whether this field is set.
5090
+ * @return{!boolean}
5091
+ */
5092
+ proto.sniipappappconfigapi.UpdateMbillingFlagRequest.prototype.hasData = function() {
5093
+ return jspb.Message.getField(this, 1) != null;
5094
+ };
5095
+
5096
+
5097
+
5098
+ /**
5099
+ * Generated by JsPbCodeGenerator.
5100
+ * @param {Array=} opt_data Optional initial data array, typically from a
5101
+ * server response, or constructed directly in Javascript. The array is used
5102
+ * in place and becomes part of the constructed object. It is not cloned.
5103
+ * If no data is provided, the constructed object will be empty, but still
5104
+ * valid.
5105
+ * @extends {jspb.Message}
5106
+ * @constructor
5107
+ */
5108
+ proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest = function(opt_data) {
5109
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5110
+ };
5111
+ goog.inherits(proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest, jspb.Message);
5112
+ if (goog.DEBUG && !COMPILED) {
5113
+ proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.displayName = 'proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest';
5114
+ }
5115
+
5116
+
5117
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5118
+ /**
5119
+ * Creates an object representation of this proto suitable for use in Soy templates.
5120
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5121
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5122
+ * For the list of reserved names please see:
5123
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
5124
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
5125
+ * for transitional soy proto support: http://goto/soy-param-migration
5126
+ * @return {!Object}
5127
+ */
5128
+ proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.prototype.toObject = function(opt_includeInstance) {
5129
+ return proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.toObject(opt_includeInstance, this);
5130
+ };
5131
+
5132
+
5133
+ /**
5134
+ * Static version of the {@see toObject} method.
5135
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
5136
+ * instance for transitional soy proto support:
5137
+ * http://goto/soy-param-migration
5138
+ * @param {!proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest} msg The msg instance to transform.
5139
+ * @return {!Object}
5140
+ */
5141
+ proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.toObject = function(includeInstance, msg) {
5142
+ var f, obj = {
5143
+ userid: msg.getUserid(),
5144
+ hassubscriptions: msg.getHassubscriptions()
5145
+ };
5146
+
5147
+ if (includeInstance) {
5148
+ obj.$jspbMessageInstance = msg;
5149
+ }
5150
+ return obj;
5151
+ };
5152
+ }
5153
+
5154
+
5155
+ /**
5156
+ * Deserializes binary data (in protobuf wire format).
5157
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5158
+ * @return {!proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest}
5159
+ */
5160
+ proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.deserializeBinary = function(bytes) {
5161
+ var reader = new jspb.BinaryReader(bytes);
5162
+ var msg = new proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest;
5163
+ return proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.deserializeBinaryFromReader(msg, reader);
5164
+ };
5165
+
5166
+
5167
+ /**
5168
+ * Deserializes binary data (in protobuf wire format) from the
5169
+ * given reader into the given message object.
5170
+ * @param {!proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest} msg The message object to deserialize into.
5171
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5172
+ * @return {!proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest}
5173
+ */
5174
+ proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.deserializeBinaryFromReader = function(msg, reader) {
5175
+ while (reader.nextField()) {
5176
+ if (reader.isEndGroup()) {
5177
+ break;
5178
+ }
5179
+ var field = reader.getFieldNumber();
5180
+ switch (field) {
5181
+ case 1:
5182
+ var value = /** @type {number} */ (reader.readInt64());
5183
+ msg.setUserid(value);
5184
+ break;
5185
+ case 2:
5186
+ var value = /** @type {boolean} */ (reader.readBool());
5187
+ msg.setHassubscriptions(value);
5188
+ break;
5189
+ default:
5190
+ reader.skipField();
5191
+ break;
5192
+ }
5193
+ }
5194
+ return msg;
5195
+ };
5196
+
5197
+
5198
+ /**
5199
+ * Class method variant: serializes the given message to binary data
5200
+ * (in protobuf wire format), writing to the given BinaryWriter.
5201
+ * @param {!proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest} message
5202
+ * @param {!jspb.BinaryWriter} writer
5203
+ */
5204
+ proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.serializeBinaryToWriter = function(message, writer) {
5205
+ message.serializeBinaryToWriter(writer);
5206
+ };
5207
+
5208
+
5209
+ /**
5210
+ * Serializes the message to binary data (in protobuf wire format).
5211
+ * @return {!Uint8Array}
5212
+ */
5213
+ proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.prototype.serializeBinary = function() {
5214
+ var writer = new jspb.BinaryWriter();
5215
+ this.serializeBinaryToWriter(writer);
5216
+ return writer.getResultBuffer();
5217
+ };
5218
+
5219
+
5220
+ /**
5221
+ * Serializes the message to binary data (in protobuf wire format),
5222
+ * writing to the given BinaryWriter.
5223
+ * @param {!jspb.BinaryWriter} writer
5224
+ */
5225
+ proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.prototype.serializeBinaryToWriter = function (writer) {
5226
+ var f = undefined;
5227
+ f = this.getUserid();
5228
+ if (f !== 0) {
5229
+ writer.writeInt64(
5230
+ 1,
5231
+ f
5232
+ );
5233
+ }
5234
+ f = this.getHassubscriptions();
5235
+ if (f) {
5236
+ writer.writeBool(
5237
+ 2,
5238
+ f
5239
+ );
5240
+ }
5241
+ };
5242
+
5243
+
5244
+ /**
5245
+ * Creates a deep clone of this proto. No data is shared with the original.
5246
+ * @return {!proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest} The clone.
5247
+ */
5248
+ proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.prototype.cloneMessage = function() {
5249
+ return /** @type {!proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest} */ (jspb.Message.cloneMessage(this));
5250
+ };
5251
+
5252
+
5253
+ /**
5254
+ * optional int64 userId = 1;
5255
+ * @return {number}
5256
+ */
5257
+ proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.prototype.getUserid = function() {
5258
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
5259
+ };
5260
+
5261
+
5262
+ /** @param {number} value */
5263
+ proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.prototype.setUserid = function(value) {
5264
+ jspb.Message.setField(this, 1, value);
5265
+ };
5266
+
5267
+
5268
+ /**
5269
+ * optional bool hasSubscriptions = 2;
5270
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
5271
+ * You should avoid comparisons like {@code val === true/false} in those cases.
5272
+ * @return {boolean}
5273
+ */
5274
+ proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.prototype.getHassubscriptions = function() {
5275
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 2, false));
5276
+ };
5277
+
5278
+
5279
+ /** @param {boolean} value */
5280
+ proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest.prototype.setHassubscriptions = function(value) {
5281
+ jspb.Message.setField(this, 2, value);
5282
+ };
5283
+
5284
+
5285
+
4920
5286
  /**
4921
5287
  * Generated by JsPbCodeGenerator.
4922
5288
  * @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/config-service-client-grpcweb",
3
- "version": "22.20.1547",
3
+ "version": "22.20.1578",
4
4
  "description": "config-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",