@sniipwebmaster/agent-billing-client-grpcweb 24.5.2087 → 24.5.2108
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 +182 -2
- package/package.json +1 -1
|
@@ -7849,7 +7849,8 @@ proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.toObject = fun
|
|
|
7849
7849
|
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.toObject = function(includeInstance, msg) {
|
|
7850
7850
|
var f, obj = {
|
|
7851
7851
|
uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7852
|
-
statusesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
7852
|
+
statusesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
7853
|
+
token: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
7853
7854
|
};
|
|
7854
7855
|
|
|
7855
7856
|
if (includeInstance) {
|
|
@@ -7894,6 +7895,10 @@ proto.agentbillingserviceapi.GetAgentAttachmentsRequest.deserializeBinaryFromRea
|
|
|
7894
7895
|
var value = /** @type {!Array<!proto.agentbillingserviceapi.AttachmentStatus>} */ (reader.readPackedEnum());
|
|
7895
7896
|
msg.setStatusesList(value);
|
|
7896
7897
|
break;
|
|
7898
|
+
case 4:
|
|
7899
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7900
|
+
msg.setToken(value);
|
|
7901
|
+
break;
|
|
7897
7902
|
default:
|
|
7898
7903
|
reader.skipField();
|
|
7899
7904
|
break;
|
|
@@ -7937,6 +7942,13 @@ proto.agentbillingserviceapi.GetAgentAttachmentsRequest.serializeBinaryToWriter
|
|
|
7937
7942
|
f
|
|
7938
7943
|
);
|
|
7939
7944
|
}
|
|
7945
|
+
f = message.getToken();
|
|
7946
|
+
if (f.length > 0) {
|
|
7947
|
+
writer.writeString(
|
|
7948
|
+
4,
|
|
7949
|
+
f
|
|
7950
|
+
);
|
|
7951
|
+
}
|
|
7940
7952
|
};
|
|
7941
7953
|
|
|
7942
7954
|
|
|
@@ -7995,6 +8007,24 @@ proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.clearStatusesL
|
|
|
7995
8007
|
};
|
|
7996
8008
|
|
|
7997
8009
|
|
|
8010
|
+
/**
|
|
8011
|
+
* optional string token = 4;
|
|
8012
|
+
* @return {string}
|
|
8013
|
+
*/
|
|
8014
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.getToken = function() {
|
|
8015
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
8016
|
+
};
|
|
8017
|
+
|
|
8018
|
+
|
|
8019
|
+
/**
|
|
8020
|
+
* @param {string} value
|
|
8021
|
+
* @return {!proto.agentbillingserviceapi.GetAgentAttachmentsRequest} returns this
|
|
8022
|
+
*/
|
|
8023
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.setToken = function(value) {
|
|
8024
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
8025
|
+
};
|
|
8026
|
+
|
|
8027
|
+
|
|
7998
8028
|
|
|
7999
8029
|
/**
|
|
8000
8030
|
* List of repeated fields within this message type.
|
|
@@ -9174,7 +9204,12 @@ proto.agentbillingserviceapi.AgentAttachmentInfo.toObject = function(includeInst
|
|
|
9174
9204
|
status: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
9175
9205
|
updatedat: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
9176
9206
|
errormessage: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
9177
|
-
filename: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
9207
|
+
filename: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
9208
|
+
url: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
9209
|
+
iconurl: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
9210
|
+
mimetype: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
9211
|
+
filesize: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
9212
|
+
iconfilesize: jspb.Message.getFieldWithDefault(msg, 14, 0)
|
|
9178
9213
|
};
|
|
9179
9214
|
|
|
9180
9215
|
if (includeInstance) {
|
|
@@ -9247,6 +9282,26 @@ proto.agentbillingserviceapi.AgentAttachmentInfo.deserializeBinaryFromReader = f
|
|
|
9247
9282
|
var value = /** @type {string} */ (reader.readString());
|
|
9248
9283
|
msg.setFilename(value);
|
|
9249
9284
|
break;
|
|
9285
|
+
case 10:
|
|
9286
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9287
|
+
msg.setUrl(value);
|
|
9288
|
+
break;
|
|
9289
|
+
case 11:
|
|
9290
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9291
|
+
msg.setIconurl(value);
|
|
9292
|
+
break;
|
|
9293
|
+
case 12:
|
|
9294
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9295
|
+
msg.setMimetype(value);
|
|
9296
|
+
break;
|
|
9297
|
+
case 13:
|
|
9298
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9299
|
+
msg.setFilesize(value);
|
|
9300
|
+
break;
|
|
9301
|
+
case 14:
|
|
9302
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9303
|
+
msg.setIconfilesize(value);
|
|
9304
|
+
break;
|
|
9250
9305
|
default:
|
|
9251
9306
|
reader.skipField();
|
|
9252
9307
|
break;
|
|
@@ -9339,6 +9394,41 @@ proto.agentbillingserviceapi.AgentAttachmentInfo.serializeBinaryToWriter = funct
|
|
|
9339
9394
|
f
|
|
9340
9395
|
);
|
|
9341
9396
|
}
|
|
9397
|
+
f = message.getUrl();
|
|
9398
|
+
if (f.length > 0) {
|
|
9399
|
+
writer.writeString(
|
|
9400
|
+
10,
|
|
9401
|
+
f
|
|
9402
|
+
);
|
|
9403
|
+
}
|
|
9404
|
+
f = message.getIconurl();
|
|
9405
|
+
if (f.length > 0) {
|
|
9406
|
+
writer.writeString(
|
|
9407
|
+
11,
|
|
9408
|
+
f
|
|
9409
|
+
);
|
|
9410
|
+
}
|
|
9411
|
+
f = message.getMimetype();
|
|
9412
|
+
if (f.length > 0) {
|
|
9413
|
+
writer.writeString(
|
|
9414
|
+
12,
|
|
9415
|
+
f
|
|
9416
|
+
);
|
|
9417
|
+
}
|
|
9418
|
+
f = message.getFilesize();
|
|
9419
|
+
if (f !== 0) {
|
|
9420
|
+
writer.writeInt64(
|
|
9421
|
+
13,
|
|
9422
|
+
f
|
|
9423
|
+
);
|
|
9424
|
+
}
|
|
9425
|
+
f = message.getIconfilesize();
|
|
9426
|
+
if (f !== 0) {
|
|
9427
|
+
writer.writeInt64(
|
|
9428
|
+
14,
|
|
9429
|
+
f
|
|
9430
|
+
);
|
|
9431
|
+
}
|
|
9342
9432
|
};
|
|
9343
9433
|
|
|
9344
9434
|
|
|
@@ -9504,6 +9594,96 @@ proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.setFilename = functio
|
|
|
9504
9594
|
};
|
|
9505
9595
|
|
|
9506
9596
|
|
|
9597
|
+
/**
|
|
9598
|
+
* optional string url = 10;
|
|
9599
|
+
* @return {string}
|
|
9600
|
+
*/
|
|
9601
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.getUrl = function() {
|
|
9602
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
9603
|
+
};
|
|
9604
|
+
|
|
9605
|
+
|
|
9606
|
+
/**
|
|
9607
|
+
* @param {string} value
|
|
9608
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo} returns this
|
|
9609
|
+
*/
|
|
9610
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.setUrl = function(value) {
|
|
9611
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
9612
|
+
};
|
|
9613
|
+
|
|
9614
|
+
|
|
9615
|
+
/**
|
|
9616
|
+
* optional string iconUrl = 11;
|
|
9617
|
+
* @return {string}
|
|
9618
|
+
*/
|
|
9619
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.getIconurl = function() {
|
|
9620
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
9621
|
+
};
|
|
9622
|
+
|
|
9623
|
+
|
|
9624
|
+
/**
|
|
9625
|
+
* @param {string} value
|
|
9626
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo} returns this
|
|
9627
|
+
*/
|
|
9628
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.setIconurl = function(value) {
|
|
9629
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
9630
|
+
};
|
|
9631
|
+
|
|
9632
|
+
|
|
9633
|
+
/**
|
|
9634
|
+
* optional string mimetype = 12;
|
|
9635
|
+
* @return {string}
|
|
9636
|
+
*/
|
|
9637
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.getMimetype = function() {
|
|
9638
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
9639
|
+
};
|
|
9640
|
+
|
|
9641
|
+
|
|
9642
|
+
/**
|
|
9643
|
+
* @param {string} value
|
|
9644
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo} returns this
|
|
9645
|
+
*/
|
|
9646
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.setMimetype = function(value) {
|
|
9647
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
9648
|
+
};
|
|
9649
|
+
|
|
9650
|
+
|
|
9651
|
+
/**
|
|
9652
|
+
* optional int64 fileSize = 13;
|
|
9653
|
+
* @return {number}
|
|
9654
|
+
*/
|
|
9655
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.getFilesize = function() {
|
|
9656
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
9657
|
+
};
|
|
9658
|
+
|
|
9659
|
+
|
|
9660
|
+
/**
|
|
9661
|
+
* @param {number} value
|
|
9662
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo} returns this
|
|
9663
|
+
*/
|
|
9664
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.setFilesize = function(value) {
|
|
9665
|
+
return jspb.Message.setProto3IntField(this, 13, value);
|
|
9666
|
+
};
|
|
9667
|
+
|
|
9668
|
+
|
|
9669
|
+
/**
|
|
9670
|
+
* optional int64 iconFileSize = 14;
|
|
9671
|
+
* @return {number}
|
|
9672
|
+
*/
|
|
9673
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.getIconfilesize = function() {
|
|
9674
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
9675
|
+
};
|
|
9676
|
+
|
|
9677
|
+
|
|
9678
|
+
/**
|
|
9679
|
+
* @param {number} value
|
|
9680
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo} returns this
|
|
9681
|
+
*/
|
|
9682
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.setIconfilesize = function(value) {
|
|
9683
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
9684
|
+
};
|
|
9685
|
+
|
|
9686
|
+
|
|
9507
9687
|
|
|
9508
9688
|
|
|
9509
9689
|
|