@sniipwebmaster/config-service-client-grpcweb-ts 24.13.1888 → 24.13.1902
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.
|
@@ -341,6 +341,49 @@ export class SniipAppAppConfigAPIServiceClient {
|
|
|
341
341
|
this.methodDescriptorGetTermsAndConditions);
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
+
methodDescriptorGetTermsAndConditionsInternal = new grpcWeb.MethodDescriptor(
|
|
345
|
+
'/sniipappappconfigapi.SniipAppAppConfigAPIService/GetTermsAndConditionsInternal',
|
|
346
|
+
grpcWeb.MethodType.UNARY,
|
|
347
|
+
service_pb.TermsAndConditionsRequestInternal,
|
|
348
|
+
service_pb.TermsAndConditionsResponse,
|
|
349
|
+
(request: service_pb.TermsAndConditionsRequestInternal) => {
|
|
350
|
+
return request.serializeBinary();
|
|
351
|
+
},
|
|
352
|
+
service_pb.TermsAndConditionsResponse.deserializeBinary
|
|
353
|
+
);
|
|
354
|
+
|
|
355
|
+
getTermsAndConditionsInternal(
|
|
356
|
+
request: service_pb.TermsAndConditionsRequestInternal,
|
|
357
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.TermsAndConditionsResponse>;
|
|
358
|
+
|
|
359
|
+
getTermsAndConditionsInternal(
|
|
360
|
+
request: service_pb.TermsAndConditionsRequestInternal,
|
|
361
|
+
metadata: grpcWeb.Metadata | null,
|
|
362
|
+
callback: (err: grpcWeb.RpcError,
|
|
363
|
+
response: service_pb.TermsAndConditionsResponse) => void): grpcWeb.ClientReadableStream<service_pb.TermsAndConditionsResponse>;
|
|
364
|
+
|
|
365
|
+
getTermsAndConditionsInternal(
|
|
366
|
+
request: service_pb.TermsAndConditionsRequestInternal,
|
|
367
|
+
metadata?: grpcWeb.Metadata | null,
|
|
368
|
+
callback?: (err: grpcWeb.RpcError,
|
|
369
|
+
response: service_pb.TermsAndConditionsResponse) => void) {
|
|
370
|
+
if (callback !== undefined) {
|
|
371
|
+
return this.client_.rpcCall(
|
|
372
|
+
this.hostname_ +
|
|
373
|
+
'/sniipappappconfigapi.SniipAppAppConfigAPIService/GetTermsAndConditionsInternal',
|
|
374
|
+
request,
|
|
375
|
+
metadata || {},
|
|
376
|
+
this.methodDescriptorGetTermsAndConditionsInternal,
|
|
377
|
+
callback);
|
|
378
|
+
}
|
|
379
|
+
return this.client_.unaryCall(
|
|
380
|
+
this.hostname_ +
|
|
381
|
+
'/sniipappappconfigapi.SniipAppAppConfigAPIService/GetTermsAndConditionsInternal',
|
|
382
|
+
request,
|
|
383
|
+
metadata || {},
|
|
384
|
+
this.methodDescriptorGetTermsAndConditionsInternal);
|
|
385
|
+
}
|
|
386
|
+
|
|
344
387
|
methodDescriptorGetUserConfig = new grpcWeb.MethodDescriptor(
|
|
345
388
|
'/sniipappappconfigapi.SniipAppAppConfigAPIService/GetUserConfig',
|
|
346
389
|
grpcWeb.MethodType.UNARY,
|
|
@@ -625,6 +625,9 @@ export class TermsAndConditionsRequest extends jspb.Message {
|
|
|
625
625
|
getVersion(): string;
|
|
626
626
|
setVersion(value: string): TermsAndConditionsRequest;
|
|
627
627
|
|
|
628
|
+
getAppaccounttype(): string;
|
|
629
|
+
setAppaccounttype(value: string): TermsAndConditionsRequest;
|
|
630
|
+
|
|
628
631
|
serializeBinary(): Uint8Array;
|
|
629
632
|
toObject(includeInstance?: boolean): TermsAndConditionsRequest.AsObject;
|
|
630
633
|
static toObject(includeInstance: boolean, msg: TermsAndConditionsRequest): TermsAndConditionsRequest.AsObject;
|
|
@@ -637,6 +640,7 @@ export namespace TermsAndConditionsRequest {
|
|
|
637
640
|
export type AsObject = {
|
|
638
641
|
url: string,
|
|
639
642
|
version: string,
|
|
643
|
+
appaccounttype: string,
|
|
640
644
|
}
|
|
641
645
|
}
|
|
642
646
|
|
|
@@ -672,6 +676,24 @@ export namespace TermsAndConditionsResponse {
|
|
|
672
676
|
}
|
|
673
677
|
}
|
|
674
678
|
|
|
679
|
+
export class TermsAndConditionsRequestInternal extends jspb.Message {
|
|
680
|
+
getAppaccounttype(): string;
|
|
681
|
+
setAppaccounttype(value: string): TermsAndConditionsRequestInternal;
|
|
682
|
+
|
|
683
|
+
serializeBinary(): Uint8Array;
|
|
684
|
+
toObject(includeInstance?: boolean): TermsAndConditionsRequestInternal.AsObject;
|
|
685
|
+
static toObject(includeInstance: boolean, msg: TermsAndConditionsRequestInternal): TermsAndConditionsRequestInternal.AsObject;
|
|
686
|
+
static serializeBinaryToWriter(message: TermsAndConditionsRequestInternal, writer: jspb.BinaryWriter): void;
|
|
687
|
+
static deserializeBinary(bytes: Uint8Array): TermsAndConditionsRequestInternal;
|
|
688
|
+
static deserializeBinaryFromReader(message: TermsAndConditionsRequestInternal, reader: jspb.BinaryReader): TermsAndConditionsRequestInternal;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
export namespace TermsAndConditionsRequestInternal {
|
|
692
|
+
export type AsObject = {
|
|
693
|
+
appaccounttype: string,
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
|
|
675
697
|
export class UpdateDashboardItemsRequest extends jspb.Message {
|
|
676
698
|
getData(): DashboardItemsRequest | undefined;
|
|
677
699
|
setData(value?: DashboardItemsRequest): UpdateDashboardItemsRequest;
|
|
@@ -37,6 +37,7 @@ goog.exportSymbol('proto.sniipappappconfigapi.PutConfigExtraRequest', null, glob
|
|
|
37
37
|
goog.exportSymbol('proto.sniipappappconfigapi.ResponseCode', null, global);
|
|
38
38
|
goog.exportSymbol('proto.sniipappappconfigapi.ScanCodes', null, global);
|
|
39
39
|
goog.exportSymbol('proto.sniipappappconfigapi.TermsAndConditionsRequest', null, global);
|
|
40
|
+
goog.exportSymbol('proto.sniipappappconfigapi.TermsAndConditionsRequestInternal', null, global);
|
|
40
41
|
goog.exportSymbol('proto.sniipappappconfigapi.TermsAndConditionsResponse', null, global);
|
|
41
42
|
goog.exportSymbol('proto.sniipappappconfigapi.UpdateDashboardItemsRequest', null, global);
|
|
42
43
|
goog.exportSymbol('proto.sniipappappconfigapi.UpdateMbillingFlagRequest', null, global);
|
|
@@ -420,6 +421,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
420
421
|
*/
|
|
421
422
|
proto.sniipappappconfigapi.TermsAndConditionsResponse.displayName = 'proto.sniipappappconfigapi.TermsAndConditionsResponse';
|
|
422
423
|
}
|
|
424
|
+
/**
|
|
425
|
+
* Generated by JsPbCodeGenerator.
|
|
426
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
427
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
428
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
429
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
430
|
+
* valid.
|
|
431
|
+
* @extends {jspb.Message}
|
|
432
|
+
* @constructor
|
|
433
|
+
*/
|
|
434
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequestInternal = function(opt_data) {
|
|
435
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
436
|
+
};
|
|
437
|
+
goog.inherits(proto.sniipappappconfigapi.TermsAndConditionsRequestInternal, jspb.Message);
|
|
438
|
+
if (goog.DEBUG && !COMPILED) {
|
|
439
|
+
/**
|
|
440
|
+
* @public
|
|
441
|
+
* @override
|
|
442
|
+
*/
|
|
443
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequestInternal.displayName = 'proto.sniipappappconfigapi.TermsAndConditionsRequestInternal';
|
|
444
|
+
}
|
|
423
445
|
/**
|
|
424
446
|
* Generated by JsPbCodeGenerator.
|
|
425
447
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5217,7 +5239,8 @@ proto.sniipappappconfigapi.TermsAndConditionsRequest.prototype.toObject = functi
|
|
|
5217
5239
|
proto.sniipappappconfigapi.TermsAndConditionsRequest.toObject = function(includeInstance, msg) {
|
|
5218
5240
|
var f, obj = {
|
|
5219
5241
|
url: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5220
|
-
version: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
5242
|
+
version: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5243
|
+
appaccounttype: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
5221
5244
|
};
|
|
5222
5245
|
|
|
5223
5246
|
if (includeInstance) {
|
|
@@ -5262,6 +5285,10 @@ proto.sniipappappconfigapi.TermsAndConditionsRequest.deserializeBinaryFromReader
|
|
|
5262
5285
|
var value = /** @type {string} */ (reader.readString());
|
|
5263
5286
|
msg.setVersion(value);
|
|
5264
5287
|
break;
|
|
5288
|
+
case 3:
|
|
5289
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5290
|
+
msg.setAppaccounttype(value);
|
|
5291
|
+
break;
|
|
5265
5292
|
default:
|
|
5266
5293
|
reader.skipField();
|
|
5267
5294
|
break;
|
|
@@ -5305,6 +5332,13 @@ proto.sniipappappconfigapi.TermsAndConditionsRequest.serializeBinaryToWriter = f
|
|
|
5305
5332
|
f
|
|
5306
5333
|
);
|
|
5307
5334
|
}
|
|
5335
|
+
f = message.getAppaccounttype();
|
|
5336
|
+
if (f.length > 0) {
|
|
5337
|
+
writer.writeString(
|
|
5338
|
+
3,
|
|
5339
|
+
f
|
|
5340
|
+
);
|
|
5341
|
+
}
|
|
5308
5342
|
};
|
|
5309
5343
|
|
|
5310
5344
|
|
|
@@ -5344,6 +5378,24 @@ proto.sniipappappconfigapi.TermsAndConditionsRequest.prototype.setVersion = func
|
|
|
5344
5378
|
};
|
|
5345
5379
|
|
|
5346
5380
|
|
|
5381
|
+
/**
|
|
5382
|
+
* optional string appAccountType = 3;
|
|
5383
|
+
* @return {string}
|
|
5384
|
+
*/
|
|
5385
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequest.prototype.getAppaccounttype = function() {
|
|
5386
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
5387
|
+
};
|
|
5388
|
+
|
|
5389
|
+
|
|
5390
|
+
/**
|
|
5391
|
+
* @param {string} value
|
|
5392
|
+
* @return {!proto.sniipappappconfigapi.TermsAndConditionsRequest} returns this
|
|
5393
|
+
*/
|
|
5394
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequest.prototype.setAppaccounttype = function(value) {
|
|
5395
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
5396
|
+
};
|
|
5397
|
+
|
|
5398
|
+
|
|
5347
5399
|
|
|
5348
5400
|
|
|
5349
5401
|
|
|
@@ -5588,6 +5640,136 @@ proto.sniipappappconfigapi.TermsAndConditionsResponse.prototype.setAppaccounttyp
|
|
|
5588
5640
|
|
|
5589
5641
|
|
|
5590
5642
|
|
|
5643
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5644
|
+
/**
|
|
5645
|
+
* Creates an object representation of this proto.
|
|
5646
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5647
|
+
* Optional fields that are not set will be set to undefined.
|
|
5648
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5649
|
+
* For the list of reserved names please see:
|
|
5650
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5651
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5652
|
+
* JSPB instance for transitional soy proto support:
|
|
5653
|
+
* http://goto/soy-param-migration
|
|
5654
|
+
* @return {!Object}
|
|
5655
|
+
*/
|
|
5656
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequestInternal.prototype.toObject = function(opt_includeInstance) {
|
|
5657
|
+
return proto.sniipappappconfigapi.TermsAndConditionsRequestInternal.toObject(opt_includeInstance, this);
|
|
5658
|
+
};
|
|
5659
|
+
|
|
5660
|
+
|
|
5661
|
+
/**
|
|
5662
|
+
* Static version of the {@see toObject} method.
|
|
5663
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5664
|
+
* the JSPB instance for transitional soy proto support:
|
|
5665
|
+
* http://goto/soy-param-migration
|
|
5666
|
+
* @param {!proto.sniipappappconfigapi.TermsAndConditionsRequestInternal} msg The msg instance to transform.
|
|
5667
|
+
* @return {!Object}
|
|
5668
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5669
|
+
*/
|
|
5670
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequestInternal.toObject = function(includeInstance, msg) {
|
|
5671
|
+
var f, obj = {
|
|
5672
|
+
appaccounttype: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
5673
|
+
};
|
|
5674
|
+
|
|
5675
|
+
if (includeInstance) {
|
|
5676
|
+
obj.$jspbMessageInstance = msg;
|
|
5677
|
+
}
|
|
5678
|
+
return obj;
|
|
5679
|
+
};
|
|
5680
|
+
}
|
|
5681
|
+
|
|
5682
|
+
|
|
5683
|
+
/**
|
|
5684
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5685
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5686
|
+
* @return {!proto.sniipappappconfigapi.TermsAndConditionsRequestInternal}
|
|
5687
|
+
*/
|
|
5688
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequestInternal.deserializeBinary = function(bytes) {
|
|
5689
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5690
|
+
var msg = new proto.sniipappappconfigapi.TermsAndConditionsRequestInternal;
|
|
5691
|
+
return proto.sniipappappconfigapi.TermsAndConditionsRequestInternal.deserializeBinaryFromReader(msg, reader);
|
|
5692
|
+
};
|
|
5693
|
+
|
|
5694
|
+
|
|
5695
|
+
/**
|
|
5696
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5697
|
+
* given reader into the given message object.
|
|
5698
|
+
* @param {!proto.sniipappappconfigapi.TermsAndConditionsRequestInternal} msg The message object to deserialize into.
|
|
5699
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5700
|
+
* @return {!proto.sniipappappconfigapi.TermsAndConditionsRequestInternal}
|
|
5701
|
+
*/
|
|
5702
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequestInternal.deserializeBinaryFromReader = function(msg, reader) {
|
|
5703
|
+
while (reader.nextField()) {
|
|
5704
|
+
if (reader.isEndGroup()) {
|
|
5705
|
+
break;
|
|
5706
|
+
}
|
|
5707
|
+
var field = reader.getFieldNumber();
|
|
5708
|
+
switch (field) {
|
|
5709
|
+
case 1:
|
|
5710
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5711
|
+
msg.setAppaccounttype(value);
|
|
5712
|
+
break;
|
|
5713
|
+
default:
|
|
5714
|
+
reader.skipField();
|
|
5715
|
+
break;
|
|
5716
|
+
}
|
|
5717
|
+
}
|
|
5718
|
+
return msg;
|
|
5719
|
+
};
|
|
5720
|
+
|
|
5721
|
+
|
|
5722
|
+
/**
|
|
5723
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5724
|
+
* @return {!Uint8Array}
|
|
5725
|
+
*/
|
|
5726
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequestInternal.prototype.serializeBinary = function() {
|
|
5727
|
+
var writer = new jspb.BinaryWriter();
|
|
5728
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequestInternal.serializeBinaryToWriter(this, writer);
|
|
5729
|
+
return writer.getResultBuffer();
|
|
5730
|
+
};
|
|
5731
|
+
|
|
5732
|
+
|
|
5733
|
+
/**
|
|
5734
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5735
|
+
* format), writing to the given BinaryWriter.
|
|
5736
|
+
* @param {!proto.sniipappappconfigapi.TermsAndConditionsRequestInternal} message
|
|
5737
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5738
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5739
|
+
*/
|
|
5740
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequestInternal.serializeBinaryToWriter = function(message, writer) {
|
|
5741
|
+
var f = undefined;
|
|
5742
|
+
f = message.getAppaccounttype();
|
|
5743
|
+
if (f.length > 0) {
|
|
5744
|
+
writer.writeString(
|
|
5745
|
+
1,
|
|
5746
|
+
f
|
|
5747
|
+
);
|
|
5748
|
+
}
|
|
5749
|
+
};
|
|
5750
|
+
|
|
5751
|
+
|
|
5752
|
+
/**
|
|
5753
|
+
* optional string appAccountType = 1;
|
|
5754
|
+
* @return {string}
|
|
5755
|
+
*/
|
|
5756
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequestInternal.prototype.getAppaccounttype = function() {
|
|
5757
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5758
|
+
};
|
|
5759
|
+
|
|
5760
|
+
|
|
5761
|
+
/**
|
|
5762
|
+
* @param {string} value
|
|
5763
|
+
* @return {!proto.sniipappappconfigapi.TermsAndConditionsRequestInternal} returns this
|
|
5764
|
+
*/
|
|
5765
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequestInternal.prototype.setAppaccounttype = function(value) {
|
|
5766
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5767
|
+
};
|
|
5768
|
+
|
|
5769
|
+
|
|
5770
|
+
|
|
5771
|
+
|
|
5772
|
+
|
|
5591
5773
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5592
5774
|
/**
|
|
5593
5775
|
* Creates an object representation of this proto.
|