@sniipwebmaster/agent-billing-client-grpcweb 24.2.1593 → 24.2.1616
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.
- package/dependancies/service_pb.js +107 -37
- package/package.json +1 -1
|
@@ -95,6 +95,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.ResponseCode', null, global);
|
|
|
95
95
|
goog.exportSymbol('proto.agentbillingserviceapi.ReviewAgentBillRequest', null, global);
|
|
96
96
|
goog.exportSymbol('proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest', null, global);
|
|
97
97
|
goog.exportSymbol('proto.agentbillingserviceapi.UploadBatch', null, global);
|
|
98
|
+
goog.exportSymbol('proto.agentbillingserviceapi.UploadBatchStatus', null, global);
|
|
98
99
|
goog.exportSymbol('proto.agentbillingserviceapi.UploadBatchType', null, global);
|
|
99
100
|
goog.exportSymbol('proto.agentbillingserviceapi.UploadCsvResponse', null, global);
|
|
100
101
|
/**
|
|
@@ -7425,7 +7426,7 @@ proto.agentbillingserviceapi.BillConfigRequest.prototype.setBillerconfigid = fun
|
|
|
7425
7426
|
* @private {!Array<number>}
|
|
7426
7427
|
* @const
|
|
7427
7428
|
*/
|
|
7428
|
-
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.repeatedFields_ = [
|
|
7429
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.repeatedFields_ = [3];
|
|
7429
7430
|
|
|
7430
7431
|
|
|
7431
7432
|
|
|
@@ -7459,7 +7460,8 @@ proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.toObject = fun
|
|
|
7459
7460
|
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.toObject = function(includeInstance, msg) {
|
|
7460
7461
|
var f, obj = {
|
|
7461
7462
|
clientid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7462
|
-
|
|
7463
|
+
uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7464
|
+
statusesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
7463
7465
|
};
|
|
7464
7466
|
|
|
7465
7467
|
if (includeInstance) {
|
|
@@ -7501,6 +7503,10 @@ proto.agentbillingserviceapi.GetAgentAttachmentsRequest.deserializeBinaryFromRea
|
|
|
7501
7503
|
msg.setClientid(value);
|
|
7502
7504
|
break;
|
|
7503
7505
|
case 2:
|
|
7506
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7507
|
+
msg.setUploadbatchid(value);
|
|
7508
|
+
break;
|
|
7509
|
+
case 3:
|
|
7504
7510
|
var value = /** @type {!Array<!proto.agentbillingserviceapi.AttachmentStatus>} */ (reader.readPackedEnum());
|
|
7505
7511
|
msg.setStatusesList(value);
|
|
7506
7512
|
break;
|
|
@@ -7540,10 +7546,17 @@ proto.agentbillingserviceapi.GetAgentAttachmentsRequest.serializeBinaryToWriter
|
|
|
7540
7546
|
f
|
|
7541
7547
|
);
|
|
7542
7548
|
}
|
|
7549
|
+
f = message.getUploadbatchid();
|
|
7550
|
+
if (f !== 0) {
|
|
7551
|
+
writer.writeInt64(
|
|
7552
|
+
2,
|
|
7553
|
+
f
|
|
7554
|
+
);
|
|
7555
|
+
}
|
|
7543
7556
|
f = message.getStatusesList();
|
|
7544
7557
|
if (f.length > 0) {
|
|
7545
7558
|
writer.writePackedEnum(
|
|
7546
|
-
|
|
7559
|
+
3,
|
|
7547
7560
|
f
|
|
7548
7561
|
);
|
|
7549
7562
|
}
|
|
@@ -7569,11 +7582,29 @@ proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.setClientid =
|
|
|
7569
7582
|
|
|
7570
7583
|
|
|
7571
7584
|
/**
|
|
7572
|
-
*
|
|
7585
|
+
* optional int64 uploadBatchId = 2;
|
|
7586
|
+
* @return {number}
|
|
7587
|
+
*/
|
|
7588
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.getUploadbatchid = function() {
|
|
7589
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
7590
|
+
};
|
|
7591
|
+
|
|
7592
|
+
|
|
7593
|
+
/**
|
|
7594
|
+
* @param {number} value
|
|
7595
|
+
* @return {!proto.agentbillingserviceapi.GetAgentAttachmentsRequest} returns this
|
|
7596
|
+
*/
|
|
7597
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.setUploadbatchid = function(value) {
|
|
7598
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
7599
|
+
};
|
|
7600
|
+
|
|
7601
|
+
|
|
7602
|
+
/**
|
|
7603
|
+
* repeated AttachmentStatus statuses = 3;
|
|
7573
7604
|
* @return {!Array<!proto.agentbillingserviceapi.AttachmentStatus>}
|
|
7574
7605
|
*/
|
|
7575
7606
|
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.getStatusesList = function() {
|
|
7576
|
-
return /** @type {!Array<!proto.agentbillingserviceapi.AttachmentStatus>} */ (jspb.Message.getRepeatedField(this,
|
|
7607
|
+
return /** @type {!Array<!proto.agentbillingserviceapi.AttachmentStatus>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
7577
7608
|
};
|
|
7578
7609
|
|
|
7579
7610
|
|
|
@@ -7582,7 +7613,7 @@ proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.getStatusesLis
|
|
|
7582
7613
|
* @return {!proto.agentbillingserviceapi.GetAgentAttachmentsRequest} returns this
|
|
7583
7614
|
*/
|
|
7584
7615
|
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.setStatusesList = function(value) {
|
|
7585
|
-
return jspb.Message.setField(this,
|
|
7616
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
7586
7617
|
};
|
|
7587
7618
|
|
|
7588
7619
|
|
|
@@ -7592,7 +7623,7 @@ proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.setStatusesLis
|
|
|
7592
7623
|
* @return {!proto.agentbillingserviceapi.GetAgentAttachmentsRequest} returns this
|
|
7593
7624
|
*/
|
|
7594
7625
|
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.addStatuses = function(value, opt_index) {
|
|
7595
|
-
return jspb.Message.addToRepeatedField(this,
|
|
7626
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
7596
7627
|
};
|
|
7597
7628
|
|
|
7598
7629
|
|
|
@@ -19153,9 +19184,10 @@ proto.agentbillingserviceapi.UploadBatch.toObject = function(includeInstance, ms
|
|
|
19153
19184
|
draftbillscount: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
19154
19185
|
dueamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
19155
19186
|
creationtime: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
19156
|
-
|
|
19157
|
-
type: jspb.Message.getFieldWithDefault(msg, 7,
|
|
19158
|
-
|
|
19187
|
+
status: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
19188
|
+
type: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
19189
|
+
totalentriescount: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
19190
|
+
totalbillscount: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
19159
19191
|
};
|
|
19160
19192
|
|
|
19161
19193
|
if (includeInstance) {
|
|
@@ -19213,16 +19245,20 @@ proto.agentbillingserviceapi.UploadBatch.deserializeBinaryFromReader = function(
|
|
|
19213
19245
|
msg.setCreationtime(value);
|
|
19214
19246
|
break;
|
|
19215
19247
|
case 6:
|
|
19216
|
-
var value = /** @type {
|
|
19217
|
-
msg.
|
|
19248
|
+
var value = /** @type {!proto.agentbillingserviceapi.UploadBatchStatus} */ (reader.readEnum());
|
|
19249
|
+
msg.setStatus(value);
|
|
19218
19250
|
break;
|
|
19219
19251
|
case 7:
|
|
19220
|
-
var value = /** @type {
|
|
19252
|
+
var value = /** @type {!proto.agentbillingserviceapi.UploadBatchType} */ (reader.readEnum());
|
|
19221
19253
|
msg.setType(value);
|
|
19222
19254
|
break;
|
|
19223
19255
|
case 8:
|
|
19224
|
-
var value = /** @type {number} */ (reader.
|
|
19225
|
-
msg.
|
|
19256
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
19257
|
+
msg.setTotalentriescount(value);
|
|
19258
|
+
break;
|
|
19259
|
+
case 9:
|
|
19260
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
19261
|
+
msg.setTotalbillscount(value);
|
|
19226
19262
|
break;
|
|
19227
19263
|
default:
|
|
19228
19264
|
reader.skipField();
|
|
@@ -19288,27 +19324,34 @@ proto.agentbillingserviceapi.UploadBatch.serializeBinaryToWriter = function(mess
|
|
|
19288
19324
|
f
|
|
19289
19325
|
);
|
|
19290
19326
|
}
|
|
19291
|
-
f = message.
|
|
19292
|
-
if (f) {
|
|
19293
|
-
writer.
|
|
19327
|
+
f = message.getStatus();
|
|
19328
|
+
if (f !== 0.0) {
|
|
19329
|
+
writer.writeEnum(
|
|
19294
19330
|
6,
|
|
19295
19331
|
f
|
|
19296
19332
|
);
|
|
19297
19333
|
}
|
|
19298
19334
|
f = message.getType();
|
|
19299
|
-
if (f
|
|
19300
|
-
writer.
|
|
19335
|
+
if (f !== 0.0) {
|
|
19336
|
+
writer.writeEnum(
|
|
19301
19337
|
7,
|
|
19302
19338
|
f
|
|
19303
19339
|
);
|
|
19304
19340
|
}
|
|
19305
|
-
f = message.
|
|
19341
|
+
f = message.getTotalentriescount();
|
|
19306
19342
|
if (f !== 0) {
|
|
19307
|
-
writer.
|
|
19343
|
+
writer.writeInt32(
|
|
19308
19344
|
8,
|
|
19309
19345
|
f
|
|
19310
19346
|
);
|
|
19311
19347
|
}
|
|
19348
|
+
f = message.getTotalbillscount();
|
|
19349
|
+
if (f !== 0) {
|
|
19350
|
+
writer.writeInt32(
|
|
19351
|
+
9,
|
|
19352
|
+
f
|
|
19353
|
+
);
|
|
19354
|
+
}
|
|
19312
19355
|
};
|
|
19313
19356
|
|
|
19314
19357
|
|
|
@@ -19403,46 +19446,46 @@ proto.agentbillingserviceapi.UploadBatch.prototype.setCreationtime = function(va
|
|
|
19403
19446
|
|
|
19404
19447
|
|
|
19405
19448
|
/**
|
|
19406
|
-
* optional
|
|
19407
|
-
* @return {
|
|
19449
|
+
* optional UploadBatchStatus status = 6;
|
|
19450
|
+
* @return {!proto.agentbillingserviceapi.UploadBatchStatus}
|
|
19408
19451
|
*/
|
|
19409
|
-
proto.agentbillingserviceapi.UploadBatch.prototype.
|
|
19410
|
-
return /** @type {
|
|
19452
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.getStatus = function() {
|
|
19453
|
+
return /** @type {!proto.agentbillingserviceapi.UploadBatchStatus} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
19411
19454
|
};
|
|
19412
19455
|
|
|
19413
19456
|
|
|
19414
19457
|
/**
|
|
19415
|
-
* @param {
|
|
19458
|
+
* @param {!proto.agentbillingserviceapi.UploadBatchStatus} value
|
|
19416
19459
|
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
19417
19460
|
*/
|
|
19418
|
-
proto.agentbillingserviceapi.UploadBatch.prototype.
|
|
19419
|
-
return jspb.Message.
|
|
19461
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.setStatus = function(value) {
|
|
19462
|
+
return jspb.Message.setProto3EnumField(this, 6, value);
|
|
19420
19463
|
};
|
|
19421
19464
|
|
|
19422
19465
|
|
|
19423
19466
|
/**
|
|
19424
|
-
* optional
|
|
19425
|
-
* @return {
|
|
19467
|
+
* optional UploadBatchType type = 7;
|
|
19468
|
+
* @return {!proto.agentbillingserviceapi.UploadBatchType}
|
|
19426
19469
|
*/
|
|
19427
19470
|
proto.agentbillingserviceapi.UploadBatch.prototype.getType = function() {
|
|
19428
|
-
return /** @type {
|
|
19471
|
+
return /** @type {!proto.agentbillingserviceapi.UploadBatchType} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
19429
19472
|
};
|
|
19430
19473
|
|
|
19431
19474
|
|
|
19432
19475
|
/**
|
|
19433
|
-
* @param {
|
|
19476
|
+
* @param {!proto.agentbillingserviceapi.UploadBatchType} value
|
|
19434
19477
|
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
19435
19478
|
*/
|
|
19436
19479
|
proto.agentbillingserviceapi.UploadBatch.prototype.setType = function(value) {
|
|
19437
|
-
return jspb.Message.
|
|
19480
|
+
return jspb.Message.setProto3EnumField(this, 7, value);
|
|
19438
19481
|
};
|
|
19439
19482
|
|
|
19440
19483
|
|
|
19441
19484
|
/**
|
|
19442
|
-
* optional
|
|
19485
|
+
* optional int32 totalEntriesCount = 8;
|
|
19443
19486
|
* @return {number}
|
|
19444
19487
|
*/
|
|
19445
|
-
proto.agentbillingserviceapi.UploadBatch.prototype.
|
|
19488
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.getTotalentriescount = function() {
|
|
19446
19489
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
19447
19490
|
};
|
|
19448
19491
|
|
|
@@ -19451,11 +19494,29 @@ proto.agentbillingserviceapi.UploadBatch.prototype.getBillcounterrorcsvid = func
|
|
|
19451
19494
|
* @param {number} value
|
|
19452
19495
|
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
19453
19496
|
*/
|
|
19454
|
-
proto.agentbillingserviceapi.UploadBatch.prototype.
|
|
19497
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.setTotalentriescount = function(value) {
|
|
19455
19498
|
return jspb.Message.setProto3IntField(this, 8, value);
|
|
19456
19499
|
};
|
|
19457
19500
|
|
|
19458
19501
|
|
|
19502
|
+
/**
|
|
19503
|
+
* optional int32 totalBillsCount = 9;
|
|
19504
|
+
* @return {number}
|
|
19505
|
+
*/
|
|
19506
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.getTotalbillscount = function() {
|
|
19507
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
19508
|
+
};
|
|
19509
|
+
|
|
19510
|
+
|
|
19511
|
+
/**
|
|
19512
|
+
* @param {number} value
|
|
19513
|
+
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
19514
|
+
*/
|
|
19515
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.setTotalbillscount = function(value) {
|
|
19516
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
19517
|
+
};
|
|
19518
|
+
|
|
19519
|
+
|
|
19459
19520
|
|
|
19460
19521
|
|
|
19461
19522
|
|
|
@@ -21589,4 +21650,13 @@ proto.agentbillingserviceapi.UploadBatchType = {
|
|
|
21589
21650
|
CSV_IMPORT: 3
|
|
21590
21651
|
};
|
|
21591
21652
|
|
|
21653
|
+
/**
|
|
21654
|
+
* @enum {number}
|
|
21655
|
+
*/
|
|
21656
|
+
proto.agentbillingserviceapi.UploadBatchStatus = {
|
|
21657
|
+
PENDING: 0,
|
|
21658
|
+
REVIEW: 1,
|
|
21659
|
+
COMPLETED: 2
|
|
21660
|
+
};
|
|
21661
|
+
|
|
21592
21662
|
goog.object.extend(exports, proto.agentbillingserviceapi);
|