@sniipwebmaster/agent-billing-client-grpcweb-ts 24.9.2822 → 24.10.2850
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.
|
@@ -2148,5 +2148,27 @@ export class AgentBillingServiceAPIServiceClient {
|
|
|
2148
2148
|
this.methodDescriptorDownloadFailedImportErrorLogForTextBasedFile);
|
|
2149
2149
|
}
|
|
2150
2150
|
|
|
2151
|
+
methodDescriptorDownloadReceiptsCsvForClientInPeriod = new grpcWeb.MethodDescriptor(
|
|
2152
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/DownloadReceiptsCsvForClientInPeriod',
|
|
2153
|
+
grpcWeb.MethodType.SERVER_STREAMING,
|
|
2154
|
+
service_pb.DownloadReceiptsCsvForClientInPeriodRequest,
|
|
2155
|
+
service_pb.FileDownloadChunk,
|
|
2156
|
+
(request: service_pb.DownloadReceiptsCsvForClientInPeriodRequest) => {
|
|
2157
|
+
return request.serializeBinary();
|
|
2158
|
+
},
|
|
2159
|
+
service_pb.FileDownloadChunk.deserializeBinary
|
|
2160
|
+
);
|
|
2161
|
+
|
|
2162
|
+
downloadReceiptsCsvForClientInPeriod(
|
|
2163
|
+
request: service_pb.DownloadReceiptsCsvForClientInPeriodRequest,
|
|
2164
|
+
metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream<service_pb.FileDownloadChunk> {
|
|
2165
|
+
return this.client_.serverStreaming(
|
|
2166
|
+
this.hostname_ +
|
|
2167
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/DownloadReceiptsCsvForClientInPeriod',
|
|
2168
|
+
request,
|
|
2169
|
+
metadata || {},
|
|
2170
|
+
this.methodDescriptorDownloadReceiptsCsvForClientInPeriod);
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2151
2173
|
}
|
|
2152
2174
|
|
|
@@ -3100,6 +3100,36 @@ export namespace DownloadFailedImportErrorLogForTextBasedFileRequest {
|
|
|
3100
3100
|
}
|
|
3101
3101
|
}
|
|
3102
3102
|
|
|
3103
|
+
export class DownloadReceiptsCsvForClientInPeriodRequest extends jspb.Message {
|
|
3104
|
+
getClientuserid(): number;
|
|
3105
|
+
setClientuserid(value: number): DownloadReceiptsCsvForClientInPeriodRequest;
|
|
3106
|
+
|
|
3107
|
+
getStartdate(): string;
|
|
3108
|
+
setStartdate(value: string): DownloadReceiptsCsvForClientInPeriodRequest;
|
|
3109
|
+
|
|
3110
|
+
getEnddate(): string;
|
|
3111
|
+
setEnddate(value: string): DownloadReceiptsCsvForClientInPeriodRequest;
|
|
3112
|
+
|
|
3113
|
+
getTimezone(): string;
|
|
3114
|
+
setTimezone(value: string): DownloadReceiptsCsvForClientInPeriodRequest;
|
|
3115
|
+
|
|
3116
|
+
serializeBinary(): Uint8Array;
|
|
3117
|
+
toObject(includeInstance?: boolean): DownloadReceiptsCsvForClientInPeriodRequest.AsObject;
|
|
3118
|
+
static toObject(includeInstance: boolean, msg: DownloadReceiptsCsvForClientInPeriodRequest): DownloadReceiptsCsvForClientInPeriodRequest.AsObject;
|
|
3119
|
+
static serializeBinaryToWriter(message: DownloadReceiptsCsvForClientInPeriodRequest, writer: jspb.BinaryWriter): void;
|
|
3120
|
+
static deserializeBinary(bytes: Uint8Array): DownloadReceiptsCsvForClientInPeriodRequest;
|
|
3121
|
+
static deserializeBinaryFromReader(message: DownloadReceiptsCsvForClientInPeriodRequest, reader: jspb.BinaryReader): DownloadReceiptsCsvForClientInPeriodRequest;
|
|
3122
|
+
}
|
|
3123
|
+
|
|
3124
|
+
export namespace DownloadReceiptsCsvForClientInPeriodRequest {
|
|
3125
|
+
export type AsObject = {
|
|
3126
|
+
clientuserid: number,
|
|
3127
|
+
startdate: string,
|
|
3128
|
+
enddate: string,
|
|
3129
|
+
timezone: string,
|
|
3130
|
+
}
|
|
3131
|
+
}
|
|
3132
|
+
|
|
3103
3133
|
export enum BillScanType {
|
|
3104
3134
|
SNIIP = 0,
|
|
3105
3135
|
BPAY = 1,
|
|
@@ -57,6 +57,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.DeliveryBatch', null, global);
|
|
|
57
57
|
goog.exportSymbol('proto.agentbillingserviceapi.DisconnectAgentRequest', null, global);
|
|
58
58
|
goog.exportSymbol('proto.agentbillingserviceapi.DisconnectClientRequest', null, global);
|
|
59
59
|
goog.exportSymbol('proto.agentbillingserviceapi.DownloadFailedImportErrorLogForTextBasedFileRequest', null, global);
|
|
60
|
+
goog.exportSymbol('proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest', null, global);
|
|
60
61
|
goog.exportSymbol('proto.agentbillingserviceapi.FileDownloadChunk', null, global);
|
|
61
62
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentAttachmentsRequest', null, global);
|
|
62
63
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest', null, global);
|
|
@@ -2023,6 +2024,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2023
2024
|
*/
|
|
2024
2025
|
proto.agentbillingserviceapi.DownloadFailedImportErrorLogForTextBasedFileRequest.displayName = 'proto.agentbillingserviceapi.DownloadFailedImportErrorLogForTextBasedFileRequest';
|
|
2025
2026
|
}
|
|
2027
|
+
/**
|
|
2028
|
+
* Generated by JsPbCodeGenerator.
|
|
2029
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2030
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2031
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2032
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2033
|
+
* valid.
|
|
2034
|
+
* @extends {jspb.Message}
|
|
2035
|
+
* @constructor
|
|
2036
|
+
*/
|
|
2037
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest = function(opt_data) {
|
|
2038
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2039
|
+
};
|
|
2040
|
+
goog.inherits(proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest, jspb.Message);
|
|
2041
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2042
|
+
/**
|
|
2043
|
+
* @public
|
|
2044
|
+
* @override
|
|
2045
|
+
*/
|
|
2046
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.displayName = 'proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest';
|
|
2047
|
+
}
|
|
2026
2048
|
|
|
2027
2049
|
|
|
2028
2050
|
|
|
@@ -25315,6 +25337,226 @@ proto.agentbillingserviceapi.DownloadFailedImportErrorLogForTextBasedFileRequest
|
|
|
25315
25337
|
};
|
|
25316
25338
|
|
|
25317
25339
|
|
|
25340
|
+
|
|
25341
|
+
|
|
25342
|
+
|
|
25343
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25344
|
+
/**
|
|
25345
|
+
* Creates an object representation of this proto.
|
|
25346
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
25347
|
+
* Optional fields that are not set will be set to undefined.
|
|
25348
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
25349
|
+
* For the list of reserved names please see:
|
|
25350
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
25351
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
25352
|
+
* JSPB instance for transitional soy proto support:
|
|
25353
|
+
* http://goto/soy-param-migration
|
|
25354
|
+
* @return {!Object}
|
|
25355
|
+
*/
|
|
25356
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.toObject = function(opt_includeInstance) {
|
|
25357
|
+
return proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.toObject(opt_includeInstance, this);
|
|
25358
|
+
};
|
|
25359
|
+
|
|
25360
|
+
|
|
25361
|
+
/**
|
|
25362
|
+
* Static version of the {@see toObject} method.
|
|
25363
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
25364
|
+
* the JSPB instance for transitional soy proto support:
|
|
25365
|
+
* http://goto/soy-param-migration
|
|
25366
|
+
* @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} msg The msg instance to transform.
|
|
25367
|
+
* @return {!Object}
|
|
25368
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25369
|
+
*/
|
|
25370
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.toObject = function(includeInstance, msg) {
|
|
25371
|
+
var f, obj = {
|
|
25372
|
+
clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
25373
|
+
startdate: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
25374
|
+
enddate: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
25375
|
+
timezone: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
25376
|
+
};
|
|
25377
|
+
|
|
25378
|
+
if (includeInstance) {
|
|
25379
|
+
obj.$jspbMessageInstance = msg;
|
|
25380
|
+
}
|
|
25381
|
+
return obj;
|
|
25382
|
+
};
|
|
25383
|
+
}
|
|
25384
|
+
|
|
25385
|
+
|
|
25386
|
+
/**
|
|
25387
|
+
* Deserializes binary data (in protobuf wire format).
|
|
25388
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
25389
|
+
* @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest}
|
|
25390
|
+
*/
|
|
25391
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinary = function(bytes) {
|
|
25392
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
25393
|
+
var msg = new proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest;
|
|
25394
|
+
return proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinaryFromReader(msg, reader);
|
|
25395
|
+
};
|
|
25396
|
+
|
|
25397
|
+
|
|
25398
|
+
/**
|
|
25399
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
25400
|
+
* given reader into the given message object.
|
|
25401
|
+
* @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} msg The message object to deserialize into.
|
|
25402
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
25403
|
+
* @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest}
|
|
25404
|
+
*/
|
|
25405
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
25406
|
+
while (reader.nextField()) {
|
|
25407
|
+
if (reader.isEndGroup()) {
|
|
25408
|
+
break;
|
|
25409
|
+
}
|
|
25410
|
+
var field = reader.getFieldNumber();
|
|
25411
|
+
switch (field) {
|
|
25412
|
+
case 1:
|
|
25413
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
25414
|
+
msg.setClientuserid(value);
|
|
25415
|
+
break;
|
|
25416
|
+
case 2:
|
|
25417
|
+
var value = /** @type {string} */ (reader.readString());
|
|
25418
|
+
msg.setStartdate(value);
|
|
25419
|
+
break;
|
|
25420
|
+
case 3:
|
|
25421
|
+
var value = /** @type {string} */ (reader.readString());
|
|
25422
|
+
msg.setEnddate(value);
|
|
25423
|
+
break;
|
|
25424
|
+
case 4:
|
|
25425
|
+
var value = /** @type {string} */ (reader.readString());
|
|
25426
|
+
msg.setTimezone(value);
|
|
25427
|
+
break;
|
|
25428
|
+
default:
|
|
25429
|
+
reader.skipField();
|
|
25430
|
+
break;
|
|
25431
|
+
}
|
|
25432
|
+
}
|
|
25433
|
+
return msg;
|
|
25434
|
+
};
|
|
25435
|
+
|
|
25436
|
+
|
|
25437
|
+
/**
|
|
25438
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
25439
|
+
* @return {!Uint8Array}
|
|
25440
|
+
*/
|
|
25441
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.serializeBinary = function() {
|
|
25442
|
+
var writer = new jspb.BinaryWriter();
|
|
25443
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.serializeBinaryToWriter(this, writer);
|
|
25444
|
+
return writer.getResultBuffer();
|
|
25445
|
+
};
|
|
25446
|
+
|
|
25447
|
+
|
|
25448
|
+
/**
|
|
25449
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
25450
|
+
* format), writing to the given BinaryWriter.
|
|
25451
|
+
* @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} message
|
|
25452
|
+
* @param {!jspb.BinaryWriter} writer
|
|
25453
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25454
|
+
*/
|
|
25455
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.serializeBinaryToWriter = function(message, writer) {
|
|
25456
|
+
var f = undefined;
|
|
25457
|
+
f = message.getClientuserid();
|
|
25458
|
+
if (f !== 0) {
|
|
25459
|
+
writer.writeInt64(
|
|
25460
|
+
1,
|
|
25461
|
+
f
|
|
25462
|
+
);
|
|
25463
|
+
}
|
|
25464
|
+
f = message.getStartdate();
|
|
25465
|
+
if (f.length > 0) {
|
|
25466
|
+
writer.writeString(
|
|
25467
|
+
2,
|
|
25468
|
+
f
|
|
25469
|
+
);
|
|
25470
|
+
}
|
|
25471
|
+
f = message.getEnddate();
|
|
25472
|
+
if (f.length > 0) {
|
|
25473
|
+
writer.writeString(
|
|
25474
|
+
3,
|
|
25475
|
+
f
|
|
25476
|
+
);
|
|
25477
|
+
}
|
|
25478
|
+
f = message.getTimezone();
|
|
25479
|
+
if (f.length > 0) {
|
|
25480
|
+
writer.writeString(
|
|
25481
|
+
4,
|
|
25482
|
+
f
|
|
25483
|
+
);
|
|
25484
|
+
}
|
|
25485
|
+
};
|
|
25486
|
+
|
|
25487
|
+
|
|
25488
|
+
/**
|
|
25489
|
+
* optional int64 clientUserId = 1;
|
|
25490
|
+
* @return {number}
|
|
25491
|
+
*/
|
|
25492
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getClientuserid = function() {
|
|
25493
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
25494
|
+
};
|
|
25495
|
+
|
|
25496
|
+
|
|
25497
|
+
/**
|
|
25498
|
+
* @param {number} value
|
|
25499
|
+
* @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
25500
|
+
*/
|
|
25501
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setClientuserid = function(value) {
|
|
25502
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
25503
|
+
};
|
|
25504
|
+
|
|
25505
|
+
|
|
25506
|
+
/**
|
|
25507
|
+
* optional string startDate = 2;
|
|
25508
|
+
* @return {string}
|
|
25509
|
+
*/
|
|
25510
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getStartdate = function() {
|
|
25511
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
25512
|
+
};
|
|
25513
|
+
|
|
25514
|
+
|
|
25515
|
+
/**
|
|
25516
|
+
* @param {string} value
|
|
25517
|
+
* @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
25518
|
+
*/
|
|
25519
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setStartdate = function(value) {
|
|
25520
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
25521
|
+
};
|
|
25522
|
+
|
|
25523
|
+
|
|
25524
|
+
/**
|
|
25525
|
+
* optional string endDate = 3;
|
|
25526
|
+
* @return {string}
|
|
25527
|
+
*/
|
|
25528
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getEnddate = function() {
|
|
25529
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
25530
|
+
};
|
|
25531
|
+
|
|
25532
|
+
|
|
25533
|
+
/**
|
|
25534
|
+
* @param {string} value
|
|
25535
|
+
* @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
25536
|
+
*/
|
|
25537
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setEnddate = function(value) {
|
|
25538
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
25539
|
+
};
|
|
25540
|
+
|
|
25541
|
+
|
|
25542
|
+
/**
|
|
25543
|
+
* optional string timezone = 4;
|
|
25544
|
+
* @return {string}
|
|
25545
|
+
*/
|
|
25546
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getTimezone = function() {
|
|
25547
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
25548
|
+
};
|
|
25549
|
+
|
|
25550
|
+
|
|
25551
|
+
/**
|
|
25552
|
+
* @param {string} value
|
|
25553
|
+
* @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
25554
|
+
*/
|
|
25555
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setTimezone = function(value) {
|
|
25556
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
25557
|
+
};
|
|
25558
|
+
|
|
25559
|
+
|
|
25318
25560
|
/**
|
|
25319
25561
|
* @enum {number}
|
|
25320
25562
|
*/
|