@sniipwebmaster/agent-billing-client-grpcweb 24.10.2998 → 24.11.3011
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.
|
@@ -3183,13 +3183,13 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
|
|
|
3183
3183
|
* @const
|
|
3184
3184
|
* @type {!grpc.web.MethodDescriptor<
|
|
3185
3185
|
* !proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest,
|
|
3186
|
-
* !proto.agentbillingserviceapi.
|
|
3186
|
+
* !proto.agentbillingserviceapi.FileDownloadResponseChunk>}
|
|
3187
3187
|
*/
|
|
3188
3188
|
const methodDescriptor_AgentBillingServiceAPIService_DownloadReceiptsCsvForClientInPeriod = new grpc.web.MethodDescriptor(
|
|
3189
3189
|
'/agentbillingserviceapi.AgentBillingServiceAPIService/DownloadReceiptsCsvForClientInPeriod',
|
|
3190
3190
|
grpc.web.MethodType.SERVER_STREAMING,
|
|
3191
3191
|
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest,
|
|
3192
|
-
proto.agentbillingserviceapi.
|
|
3192
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk,
|
|
3193
3193
|
/**
|
|
3194
3194
|
* @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} request
|
|
3195
3195
|
* @return {!Uint8Array}
|
|
@@ -3197,7 +3197,7 @@ const methodDescriptor_AgentBillingServiceAPIService_DownloadReceiptsCsvForClien
|
|
|
3197
3197
|
function(request) {
|
|
3198
3198
|
return request.serializeBinary();
|
|
3199
3199
|
},
|
|
3200
|
-
proto.agentbillingserviceapi.
|
|
3200
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk.deserializeBinary
|
|
3201
3201
|
);
|
|
3202
3202
|
|
|
3203
3203
|
|
|
@@ -3205,7 +3205,7 @@ const methodDescriptor_AgentBillingServiceAPIService_DownloadReceiptsCsvForClien
|
|
|
3205
3205
|
* @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} request The request proto
|
|
3206
3206
|
* @param {?Object<string, string>=} metadata User defined
|
|
3207
3207
|
* call metadata
|
|
3208
|
-
* @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.
|
|
3208
|
+
* @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.FileDownloadResponseChunk>}
|
|
3209
3209
|
* The XHR Node Readable Stream
|
|
3210
3210
|
*/
|
|
3211
3211
|
proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.downloadReceiptsCsvForClientInPeriod =
|
|
@@ -3222,7 +3222,7 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.downl
|
|
|
3222
3222
|
* @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} request The request proto
|
|
3223
3223
|
* @param {?Object<string, string>=} metadata User defined
|
|
3224
3224
|
* call metadata
|
|
3225
|
-
* @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.
|
|
3225
|
+
* @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.FileDownloadResponseChunk>}
|
|
3226
3226
|
* The XHR Node Readable Stream
|
|
3227
3227
|
*/
|
|
3228
3228
|
proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.downloadReceiptsCsvForClientInPeriod =
|
|
@@ -60,6 +60,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.DisconnectClientRequest', null,
|
|
|
60
60
|
goog.exportSymbol('proto.agentbillingserviceapi.DownloadFailedImportErrorLogForTextBasedFileRequest', null, global);
|
|
61
61
|
goog.exportSymbol('proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest', null, global);
|
|
62
62
|
goog.exportSymbol('proto.agentbillingserviceapi.FileDownloadChunk', null, global);
|
|
63
|
+
goog.exportSymbol('proto.agentbillingserviceapi.FileDownloadResponseChunk', null, global);
|
|
63
64
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentAttachmentsRequest', null, global);
|
|
64
65
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest', null, global);
|
|
65
66
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse', null, global);
|
|
@@ -2004,6 +2005,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2004
2005
|
*/
|
|
2005
2006
|
proto.agentbillingserviceapi.BillConfig.displayName = 'proto.agentbillingserviceapi.BillConfig';
|
|
2006
2007
|
}
|
|
2008
|
+
/**
|
|
2009
|
+
* Generated by JsPbCodeGenerator.
|
|
2010
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2011
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2012
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2013
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2014
|
+
* valid.
|
|
2015
|
+
* @extends {jspb.Message}
|
|
2016
|
+
* @constructor
|
|
2017
|
+
*/
|
|
2018
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk = function(opt_data) {
|
|
2019
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2020
|
+
};
|
|
2021
|
+
goog.inherits(proto.agentbillingserviceapi.FileDownloadResponseChunk, jspb.Message);
|
|
2022
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2023
|
+
/**
|
|
2024
|
+
* @public
|
|
2025
|
+
* @override
|
|
2026
|
+
*/
|
|
2027
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk.displayName = 'proto.agentbillingserviceapi.FileDownloadResponseChunk';
|
|
2028
|
+
}
|
|
2007
2029
|
/**
|
|
2008
2030
|
* Generated by JsPbCodeGenerator.
|
|
2009
2031
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -25354,6 +25376,211 @@ proto.agentbillingserviceapi.BillConfig.prototype.setAttachmentid = function(val
|
|
|
25354
25376
|
|
|
25355
25377
|
|
|
25356
25378
|
|
|
25379
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25380
|
+
/**
|
|
25381
|
+
* Creates an object representation of this proto.
|
|
25382
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
25383
|
+
* Optional fields that are not set will be set to undefined.
|
|
25384
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
25385
|
+
* For the list of reserved names please see:
|
|
25386
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
25387
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
25388
|
+
* JSPB instance for transitional soy proto support:
|
|
25389
|
+
* http://goto/soy-param-migration
|
|
25390
|
+
* @return {!Object}
|
|
25391
|
+
*/
|
|
25392
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk.prototype.toObject = function(opt_includeInstance) {
|
|
25393
|
+
return proto.agentbillingserviceapi.FileDownloadResponseChunk.toObject(opt_includeInstance, this);
|
|
25394
|
+
};
|
|
25395
|
+
|
|
25396
|
+
|
|
25397
|
+
/**
|
|
25398
|
+
* Static version of the {@see toObject} method.
|
|
25399
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
25400
|
+
* the JSPB instance for transitional soy proto support:
|
|
25401
|
+
* http://goto/soy-param-migration
|
|
25402
|
+
* @param {!proto.agentbillingserviceapi.FileDownloadResponseChunk} msg The msg instance to transform.
|
|
25403
|
+
* @return {!Object}
|
|
25404
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25405
|
+
*/
|
|
25406
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk.toObject = function(includeInstance, msg) {
|
|
25407
|
+
var f, obj = {
|
|
25408
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
25409
|
+
data: msg.getData_asB64()
|
|
25410
|
+
};
|
|
25411
|
+
|
|
25412
|
+
if (includeInstance) {
|
|
25413
|
+
obj.$jspbMessageInstance = msg;
|
|
25414
|
+
}
|
|
25415
|
+
return obj;
|
|
25416
|
+
};
|
|
25417
|
+
}
|
|
25418
|
+
|
|
25419
|
+
|
|
25420
|
+
/**
|
|
25421
|
+
* Deserializes binary data (in protobuf wire format).
|
|
25422
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
25423
|
+
* @return {!proto.agentbillingserviceapi.FileDownloadResponseChunk}
|
|
25424
|
+
*/
|
|
25425
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk.deserializeBinary = function(bytes) {
|
|
25426
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
25427
|
+
var msg = new proto.agentbillingserviceapi.FileDownloadResponseChunk;
|
|
25428
|
+
return proto.agentbillingserviceapi.FileDownloadResponseChunk.deserializeBinaryFromReader(msg, reader);
|
|
25429
|
+
};
|
|
25430
|
+
|
|
25431
|
+
|
|
25432
|
+
/**
|
|
25433
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
25434
|
+
* given reader into the given message object.
|
|
25435
|
+
* @param {!proto.agentbillingserviceapi.FileDownloadResponseChunk} msg The message object to deserialize into.
|
|
25436
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
25437
|
+
* @return {!proto.agentbillingserviceapi.FileDownloadResponseChunk}
|
|
25438
|
+
*/
|
|
25439
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk.deserializeBinaryFromReader = function(msg, reader) {
|
|
25440
|
+
while (reader.nextField()) {
|
|
25441
|
+
if (reader.isEndGroup()) {
|
|
25442
|
+
break;
|
|
25443
|
+
}
|
|
25444
|
+
var field = reader.getFieldNumber();
|
|
25445
|
+
switch (field) {
|
|
25446
|
+
case 1:
|
|
25447
|
+
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
25448
|
+
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
25449
|
+
msg.setResponsecode(value);
|
|
25450
|
+
break;
|
|
25451
|
+
case 2:
|
|
25452
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
25453
|
+
msg.setData(value);
|
|
25454
|
+
break;
|
|
25455
|
+
default:
|
|
25456
|
+
reader.skipField();
|
|
25457
|
+
break;
|
|
25458
|
+
}
|
|
25459
|
+
}
|
|
25460
|
+
return msg;
|
|
25461
|
+
};
|
|
25462
|
+
|
|
25463
|
+
|
|
25464
|
+
/**
|
|
25465
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
25466
|
+
* @return {!Uint8Array}
|
|
25467
|
+
*/
|
|
25468
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk.prototype.serializeBinary = function() {
|
|
25469
|
+
var writer = new jspb.BinaryWriter();
|
|
25470
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk.serializeBinaryToWriter(this, writer);
|
|
25471
|
+
return writer.getResultBuffer();
|
|
25472
|
+
};
|
|
25473
|
+
|
|
25474
|
+
|
|
25475
|
+
/**
|
|
25476
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
25477
|
+
* format), writing to the given BinaryWriter.
|
|
25478
|
+
* @param {!proto.agentbillingserviceapi.FileDownloadResponseChunk} message
|
|
25479
|
+
* @param {!jspb.BinaryWriter} writer
|
|
25480
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25481
|
+
*/
|
|
25482
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk.serializeBinaryToWriter = function(message, writer) {
|
|
25483
|
+
var f = undefined;
|
|
25484
|
+
f = message.getResponsecode();
|
|
25485
|
+
if (f != null) {
|
|
25486
|
+
writer.writeMessage(
|
|
25487
|
+
1,
|
|
25488
|
+
f,
|
|
25489
|
+
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
25490
|
+
);
|
|
25491
|
+
}
|
|
25492
|
+
f = message.getData_asU8();
|
|
25493
|
+
if (f.length > 0) {
|
|
25494
|
+
writer.writeBytes(
|
|
25495
|
+
2,
|
|
25496
|
+
f
|
|
25497
|
+
);
|
|
25498
|
+
}
|
|
25499
|
+
};
|
|
25500
|
+
|
|
25501
|
+
|
|
25502
|
+
/**
|
|
25503
|
+
* optional ResponseCode responseCode = 1;
|
|
25504
|
+
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
25505
|
+
*/
|
|
25506
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk.prototype.getResponsecode = function() {
|
|
25507
|
+
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
25508
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
25509
|
+
};
|
|
25510
|
+
|
|
25511
|
+
|
|
25512
|
+
/**
|
|
25513
|
+
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
25514
|
+
* @return {!proto.agentbillingserviceapi.FileDownloadResponseChunk} returns this
|
|
25515
|
+
*/
|
|
25516
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk.prototype.setResponsecode = function(value) {
|
|
25517
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
25518
|
+
};
|
|
25519
|
+
|
|
25520
|
+
|
|
25521
|
+
/**
|
|
25522
|
+
* Clears the message field making it undefined.
|
|
25523
|
+
* @return {!proto.agentbillingserviceapi.FileDownloadResponseChunk} returns this
|
|
25524
|
+
*/
|
|
25525
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk.prototype.clearResponsecode = function() {
|
|
25526
|
+
return this.setResponsecode(undefined);
|
|
25527
|
+
};
|
|
25528
|
+
|
|
25529
|
+
|
|
25530
|
+
/**
|
|
25531
|
+
* Returns whether this field is set.
|
|
25532
|
+
* @return {boolean}
|
|
25533
|
+
*/
|
|
25534
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk.prototype.hasResponsecode = function() {
|
|
25535
|
+
return jspb.Message.getField(this, 1) != null;
|
|
25536
|
+
};
|
|
25537
|
+
|
|
25538
|
+
|
|
25539
|
+
/**
|
|
25540
|
+
* optional bytes data = 2;
|
|
25541
|
+
* @return {!(string|Uint8Array)}
|
|
25542
|
+
*/
|
|
25543
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk.prototype.getData = function() {
|
|
25544
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
25545
|
+
};
|
|
25546
|
+
|
|
25547
|
+
|
|
25548
|
+
/**
|
|
25549
|
+
* optional bytes data = 2;
|
|
25550
|
+
* This is a type-conversion wrapper around `getData()`
|
|
25551
|
+
* @return {string}
|
|
25552
|
+
*/
|
|
25553
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk.prototype.getData_asB64 = function() {
|
|
25554
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
25555
|
+
this.getData()));
|
|
25556
|
+
};
|
|
25557
|
+
|
|
25558
|
+
|
|
25559
|
+
/**
|
|
25560
|
+
* optional bytes data = 2;
|
|
25561
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
25562
|
+
* @see http://caniuse.com/Uint8Array
|
|
25563
|
+
* This is a type-conversion wrapper around `getData()`
|
|
25564
|
+
* @return {!Uint8Array}
|
|
25565
|
+
*/
|
|
25566
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk.prototype.getData_asU8 = function() {
|
|
25567
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
25568
|
+
this.getData()));
|
|
25569
|
+
};
|
|
25570
|
+
|
|
25571
|
+
|
|
25572
|
+
/**
|
|
25573
|
+
* @param {!(string|Uint8Array)} value
|
|
25574
|
+
* @return {!proto.agentbillingserviceapi.FileDownloadResponseChunk} returns this
|
|
25575
|
+
*/
|
|
25576
|
+
proto.agentbillingserviceapi.FileDownloadResponseChunk.prototype.setData = function(value) {
|
|
25577
|
+
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
25578
|
+
};
|
|
25579
|
+
|
|
25580
|
+
|
|
25581
|
+
|
|
25582
|
+
|
|
25583
|
+
|
|
25357
25584
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25358
25585
|
/**
|
|
25359
25586
|
* Creates an object representation of this proto.
|