@sniipwebmaster/agent-billing-client-grpcweb 25.2.3851 → 25.2.3864
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 +267 -2
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
|
19
19
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
20
20
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
21
21
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
22
|
+
goog.exportSymbol('proto.agentbillingserviceapi.Activity', null, global);
|
|
22
23
|
goog.exportSymbol('proto.agentbillingserviceapi.Agent', null, global);
|
|
23
24
|
goog.exportSymbol('proto.agentbillingserviceapi.AgentAttachmentInfo', null, global);
|
|
24
25
|
goog.exportSymbol('proto.agentbillingserviceapi.AgentAttachmentsResponse', null, global);
|
|
@@ -173,6 +174,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
173
174
|
*/
|
|
174
175
|
proto.agentbillingserviceapi.AgentBill.displayName = 'proto.agentbillingserviceapi.AgentBill';
|
|
175
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* Generated by JsPbCodeGenerator.
|
|
179
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
180
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
181
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
182
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
183
|
+
* valid.
|
|
184
|
+
* @extends {jspb.Message}
|
|
185
|
+
* @constructor
|
|
186
|
+
*/
|
|
187
|
+
proto.agentbillingserviceapi.Activity = function(opt_data) {
|
|
188
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
189
|
+
};
|
|
190
|
+
goog.inherits(proto.agentbillingserviceapi.Activity, jspb.Message);
|
|
191
|
+
if (goog.DEBUG && !COMPILED) {
|
|
192
|
+
/**
|
|
193
|
+
* @public
|
|
194
|
+
* @override
|
|
195
|
+
*/
|
|
196
|
+
proto.agentbillingserviceapi.Activity.displayName = 'proto.agentbillingserviceapi.Activity';
|
|
197
|
+
}
|
|
176
198
|
/**
|
|
177
199
|
* Generated by JsPbCodeGenerator.
|
|
178
200
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2724,7 +2746,7 @@ proto.agentbillingserviceapi.Agent.prototype.setIscustomimage = function(value)
|
|
|
2724
2746
|
* @private {!Array<number>}
|
|
2725
2747
|
* @const
|
|
2726
2748
|
*/
|
|
2727
|
-
proto.agentbillingserviceapi.AgentBill.repeatedFields_ = [6,14];
|
|
2749
|
+
proto.agentbillingserviceapi.AgentBill.repeatedFields_ = [6,14,22];
|
|
2728
2750
|
|
|
2729
2751
|
|
|
2730
2752
|
|
|
@@ -2777,7 +2799,10 @@ proto.agentbillingserviceapi.AgentBill.toObject = function(includeInstance, msg)
|
|
|
2777
2799
|
attachment: (f = msg.getAttachment()) && proto.agentbillingserviceapi.AgentAttachmentInfo.toObject(includeInstance, f),
|
|
2778
2800
|
partialimportid: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
2779
2801
|
lastpaymenterrormessage: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
2780
|
-
billerid: jspb.Message.getFieldWithDefault(msg, 20, 0)
|
|
2802
|
+
billerid: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
|
2803
|
+
rejectedbyclient: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
|
|
2804
|
+
activitiesList: jspb.Message.toObjectList(msg.getActivitiesList(),
|
|
2805
|
+
proto.agentbillingserviceapi.Activity.toObject, includeInstance)
|
|
2781
2806
|
};
|
|
2782
2807
|
|
|
2783
2808
|
if (includeInstance) {
|
|
@@ -2896,6 +2921,15 @@ proto.agentbillingserviceapi.AgentBill.deserializeBinaryFromReader = function(ms
|
|
|
2896
2921
|
var value = /** @type {number} */ (reader.readInt64());
|
|
2897
2922
|
msg.setBillerid(value);
|
|
2898
2923
|
break;
|
|
2924
|
+
case 21:
|
|
2925
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2926
|
+
msg.setRejectedbyclient(value);
|
|
2927
|
+
break;
|
|
2928
|
+
case 22:
|
|
2929
|
+
var value = new proto.agentbillingserviceapi.Activity;
|
|
2930
|
+
reader.readMessage(value,proto.agentbillingserviceapi.Activity.deserializeBinaryFromReader);
|
|
2931
|
+
msg.addActivities(value);
|
|
2932
|
+
break;
|
|
2899
2933
|
default:
|
|
2900
2934
|
reader.skipField();
|
|
2901
2935
|
break;
|
|
@@ -3067,6 +3101,21 @@ proto.agentbillingserviceapi.AgentBill.serializeBinaryToWriter = function(messag
|
|
|
3067
3101
|
f
|
|
3068
3102
|
);
|
|
3069
3103
|
}
|
|
3104
|
+
f = message.getRejectedbyclient();
|
|
3105
|
+
if (f) {
|
|
3106
|
+
writer.writeBool(
|
|
3107
|
+
21,
|
|
3108
|
+
f
|
|
3109
|
+
);
|
|
3110
|
+
}
|
|
3111
|
+
f = message.getActivitiesList();
|
|
3112
|
+
if (f.length > 0) {
|
|
3113
|
+
writer.writeRepeatedMessage(
|
|
3114
|
+
22,
|
|
3115
|
+
f,
|
|
3116
|
+
proto.agentbillingserviceapi.Activity.serializeBinaryToWriter
|
|
3117
|
+
);
|
|
3118
|
+
}
|
|
3070
3119
|
};
|
|
3071
3120
|
|
|
3072
3121
|
|
|
@@ -3506,6 +3555,222 @@ proto.agentbillingserviceapi.AgentBill.prototype.setBillerid = function(value) {
|
|
|
3506
3555
|
};
|
|
3507
3556
|
|
|
3508
3557
|
|
|
3558
|
+
/**
|
|
3559
|
+
* optional bool rejectedByClient = 21;
|
|
3560
|
+
* @return {boolean}
|
|
3561
|
+
*/
|
|
3562
|
+
proto.agentbillingserviceapi.AgentBill.prototype.getRejectedbyclient = function() {
|
|
3563
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 21, false));
|
|
3564
|
+
};
|
|
3565
|
+
|
|
3566
|
+
|
|
3567
|
+
/**
|
|
3568
|
+
* @param {boolean} value
|
|
3569
|
+
* @return {!proto.agentbillingserviceapi.AgentBill} returns this
|
|
3570
|
+
*/
|
|
3571
|
+
proto.agentbillingserviceapi.AgentBill.prototype.setRejectedbyclient = function(value) {
|
|
3572
|
+
return jspb.Message.setProto3BooleanField(this, 21, value);
|
|
3573
|
+
};
|
|
3574
|
+
|
|
3575
|
+
|
|
3576
|
+
/**
|
|
3577
|
+
* repeated Activity activities = 22;
|
|
3578
|
+
* @return {!Array<!proto.agentbillingserviceapi.Activity>}
|
|
3579
|
+
*/
|
|
3580
|
+
proto.agentbillingserviceapi.AgentBill.prototype.getActivitiesList = function() {
|
|
3581
|
+
return /** @type{!Array<!proto.agentbillingserviceapi.Activity>} */ (
|
|
3582
|
+
jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.Activity, 22));
|
|
3583
|
+
};
|
|
3584
|
+
|
|
3585
|
+
|
|
3586
|
+
/**
|
|
3587
|
+
* @param {!Array<!proto.agentbillingserviceapi.Activity>} value
|
|
3588
|
+
* @return {!proto.agentbillingserviceapi.AgentBill} returns this
|
|
3589
|
+
*/
|
|
3590
|
+
proto.agentbillingserviceapi.AgentBill.prototype.setActivitiesList = function(value) {
|
|
3591
|
+
return jspb.Message.setRepeatedWrapperField(this, 22, value);
|
|
3592
|
+
};
|
|
3593
|
+
|
|
3594
|
+
|
|
3595
|
+
/**
|
|
3596
|
+
* @param {!proto.agentbillingserviceapi.Activity=} opt_value
|
|
3597
|
+
* @param {number=} opt_index
|
|
3598
|
+
* @return {!proto.agentbillingserviceapi.Activity}
|
|
3599
|
+
*/
|
|
3600
|
+
proto.agentbillingserviceapi.AgentBill.prototype.addActivities = function(opt_value, opt_index) {
|
|
3601
|
+
return jspb.Message.addToRepeatedWrapperField(this, 22, opt_value, proto.agentbillingserviceapi.Activity, opt_index);
|
|
3602
|
+
};
|
|
3603
|
+
|
|
3604
|
+
|
|
3605
|
+
/**
|
|
3606
|
+
* Clears the list making it empty but non-null.
|
|
3607
|
+
* @return {!proto.agentbillingserviceapi.AgentBill} returns this
|
|
3608
|
+
*/
|
|
3609
|
+
proto.agentbillingserviceapi.AgentBill.prototype.clearActivitiesList = function() {
|
|
3610
|
+
return this.setActivitiesList([]);
|
|
3611
|
+
};
|
|
3612
|
+
|
|
3613
|
+
|
|
3614
|
+
|
|
3615
|
+
|
|
3616
|
+
|
|
3617
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3618
|
+
/**
|
|
3619
|
+
* Creates an object representation of this proto.
|
|
3620
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3621
|
+
* Optional fields that are not set will be set to undefined.
|
|
3622
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3623
|
+
* For the list of reserved names please see:
|
|
3624
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3625
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3626
|
+
* JSPB instance for transitional soy proto support:
|
|
3627
|
+
* http://goto/soy-param-migration
|
|
3628
|
+
* @return {!Object}
|
|
3629
|
+
*/
|
|
3630
|
+
proto.agentbillingserviceapi.Activity.prototype.toObject = function(opt_includeInstance) {
|
|
3631
|
+
return proto.agentbillingserviceapi.Activity.toObject(opt_includeInstance, this);
|
|
3632
|
+
};
|
|
3633
|
+
|
|
3634
|
+
|
|
3635
|
+
/**
|
|
3636
|
+
* Static version of the {@see toObject} method.
|
|
3637
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3638
|
+
* the JSPB instance for transitional soy proto support:
|
|
3639
|
+
* http://goto/soy-param-migration
|
|
3640
|
+
* @param {!proto.agentbillingserviceapi.Activity} msg The msg instance to transform.
|
|
3641
|
+
* @return {!Object}
|
|
3642
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3643
|
+
*/
|
|
3644
|
+
proto.agentbillingserviceapi.Activity.toObject = function(includeInstance, msg) {
|
|
3645
|
+
var f, obj = {
|
|
3646
|
+
header: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3647
|
+
bodytext: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3648
|
+
};
|
|
3649
|
+
|
|
3650
|
+
if (includeInstance) {
|
|
3651
|
+
obj.$jspbMessageInstance = msg;
|
|
3652
|
+
}
|
|
3653
|
+
return obj;
|
|
3654
|
+
};
|
|
3655
|
+
}
|
|
3656
|
+
|
|
3657
|
+
|
|
3658
|
+
/**
|
|
3659
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3660
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3661
|
+
* @return {!proto.agentbillingserviceapi.Activity}
|
|
3662
|
+
*/
|
|
3663
|
+
proto.agentbillingserviceapi.Activity.deserializeBinary = function(bytes) {
|
|
3664
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3665
|
+
var msg = new proto.agentbillingserviceapi.Activity;
|
|
3666
|
+
return proto.agentbillingserviceapi.Activity.deserializeBinaryFromReader(msg, reader);
|
|
3667
|
+
};
|
|
3668
|
+
|
|
3669
|
+
|
|
3670
|
+
/**
|
|
3671
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3672
|
+
* given reader into the given message object.
|
|
3673
|
+
* @param {!proto.agentbillingserviceapi.Activity} msg The message object to deserialize into.
|
|
3674
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3675
|
+
* @return {!proto.agentbillingserviceapi.Activity}
|
|
3676
|
+
*/
|
|
3677
|
+
proto.agentbillingserviceapi.Activity.deserializeBinaryFromReader = function(msg, reader) {
|
|
3678
|
+
while (reader.nextField()) {
|
|
3679
|
+
if (reader.isEndGroup()) {
|
|
3680
|
+
break;
|
|
3681
|
+
}
|
|
3682
|
+
var field = reader.getFieldNumber();
|
|
3683
|
+
switch (field) {
|
|
3684
|
+
case 1:
|
|
3685
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3686
|
+
msg.setHeader(value);
|
|
3687
|
+
break;
|
|
3688
|
+
case 2:
|
|
3689
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3690
|
+
msg.setBodytext(value);
|
|
3691
|
+
break;
|
|
3692
|
+
default:
|
|
3693
|
+
reader.skipField();
|
|
3694
|
+
break;
|
|
3695
|
+
}
|
|
3696
|
+
}
|
|
3697
|
+
return msg;
|
|
3698
|
+
};
|
|
3699
|
+
|
|
3700
|
+
|
|
3701
|
+
/**
|
|
3702
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3703
|
+
* @return {!Uint8Array}
|
|
3704
|
+
*/
|
|
3705
|
+
proto.agentbillingserviceapi.Activity.prototype.serializeBinary = function() {
|
|
3706
|
+
var writer = new jspb.BinaryWriter();
|
|
3707
|
+
proto.agentbillingserviceapi.Activity.serializeBinaryToWriter(this, writer);
|
|
3708
|
+
return writer.getResultBuffer();
|
|
3709
|
+
};
|
|
3710
|
+
|
|
3711
|
+
|
|
3712
|
+
/**
|
|
3713
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3714
|
+
* format), writing to the given BinaryWriter.
|
|
3715
|
+
* @param {!proto.agentbillingserviceapi.Activity} message
|
|
3716
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3717
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3718
|
+
*/
|
|
3719
|
+
proto.agentbillingserviceapi.Activity.serializeBinaryToWriter = function(message, writer) {
|
|
3720
|
+
var f = undefined;
|
|
3721
|
+
f = message.getHeader();
|
|
3722
|
+
if (f.length > 0) {
|
|
3723
|
+
writer.writeString(
|
|
3724
|
+
1,
|
|
3725
|
+
f
|
|
3726
|
+
);
|
|
3727
|
+
}
|
|
3728
|
+
f = message.getBodytext();
|
|
3729
|
+
if (f.length > 0) {
|
|
3730
|
+
writer.writeString(
|
|
3731
|
+
2,
|
|
3732
|
+
f
|
|
3733
|
+
);
|
|
3734
|
+
}
|
|
3735
|
+
};
|
|
3736
|
+
|
|
3737
|
+
|
|
3738
|
+
/**
|
|
3739
|
+
* optional string header = 1;
|
|
3740
|
+
* @return {string}
|
|
3741
|
+
*/
|
|
3742
|
+
proto.agentbillingserviceapi.Activity.prototype.getHeader = function() {
|
|
3743
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3744
|
+
};
|
|
3745
|
+
|
|
3746
|
+
|
|
3747
|
+
/**
|
|
3748
|
+
* @param {string} value
|
|
3749
|
+
* @return {!proto.agentbillingserviceapi.Activity} returns this
|
|
3750
|
+
*/
|
|
3751
|
+
proto.agentbillingserviceapi.Activity.prototype.setHeader = function(value) {
|
|
3752
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3753
|
+
};
|
|
3754
|
+
|
|
3755
|
+
|
|
3756
|
+
/**
|
|
3757
|
+
* optional string bodyText = 2;
|
|
3758
|
+
* @return {string}
|
|
3759
|
+
*/
|
|
3760
|
+
proto.agentbillingserviceapi.Activity.prototype.getBodytext = function() {
|
|
3761
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3762
|
+
};
|
|
3763
|
+
|
|
3764
|
+
|
|
3765
|
+
/**
|
|
3766
|
+
* @param {string} value
|
|
3767
|
+
* @return {!proto.agentbillingserviceapi.Activity} returns this
|
|
3768
|
+
*/
|
|
3769
|
+
proto.agentbillingserviceapi.Activity.prototype.setBodytext = function(value) {
|
|
3770
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3771
|
+
};
|
|
3772
|
+
|
|
3773
|
+
|
|
3509
3774
|
|
|
3510
3775
|
|
|
3511
3776
|
|