@sniipwebmaster/bill-service-client-grpcweb 23.1.10493 → 23.1.10517
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 +183 -108
- package/package.json +1 -1
|
@@ -6766,9 +6766,10 @@ proto.sniipbillapi.BillReminder.prototype.toObject = function(opt_includeInstanc
|
|
|
6766
6766
|
*/
|
|
6767
6767
|
proto.sniipbillapi.BillReminder.toObject = function(includeInstance, msg) {
|
|
6768
6768
|
var f, obj = {
|
|
6769
|
-
scheduleitemid: msg.getScheduleitemid(),
|
|
6770
6769
|
datetime: msg.getDatetime(),
|
|
6770
|
+
scheduleitemid: msg.getScheduleitemid(),
|
|
6771
6771
|
remindertype: msg.getRemindertype(),
|
|
6772
|
+
notifybeforeduedate: msg.getNotifybeforeduedate(),
|
|
6772
6773
|
enabled: msg.getEnabled()
|
|
6773
6774
|
};
|
|
6774
6775
|
|
|
@@ -6807,18 +6808,22 @@ proto.sniipbillapi.BillReminder.deserializeBinaryFromReader = function(msg, read
|
|
|
6807
6808
|
var field = reader.getFieldNumber();
|
|
6808
6809
|
switch (field) {
|
|
6809
6810
|
case 1:
|
|
6810
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
6811
|
-
msg.setScheduleitemid(value);
|
|
6812
|
-
break;
|
|
6813
|
-
case 2:
|
|
6814
6811
|
var value = /** @type {string} */ (reader.readString());
|
|
6815
6812
|
msg.setDatetime(value);
|
|
6816
6813
|
break;
|
|
6817
|
-
case
|
|
6814
|
+
case 2:
|
|
6815
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6816
|
+
msg.setScheduleitemid(value);
|
|
6817
|
+
break;
|
|
6818
|
+
case 4:
|
|
6818
6819
|
var value = /** @type {!proto.sniipbillapi.BillReminder.BillReminderReminderType} */ (reader.readEnum());
|
|
6819
6820
|
msg.setRemindertype(value);
|
|
6820
6821
|
break;
|
|
6821
|
-
case
|
|
6822
|
+
case 5:
|
|
6823
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6824
|
+
msg.setNotifybeforeduedate(value);
|
|
6825
|
+
break;
|
|
6826
|
+
case 6:
|
|
6822
6827
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
6823
6828
|
msg.setEnabled(value);
|
|
6824
6829
|
break;
|
|
@@ -6860,16 +6865,16 @@ proto.sniipbillapi.BillReminder.prototype.serializeBinary = function() {
|
|
|
6860
6865
|
*/
|
|
6861
6866
|
proto.sniipbillapi.BillReminder.prototype.serializeBinaryToWriter = function (writer) {
|
|
6862
6867
|
var f = undefined;
|
|
6863
|
-
f = this.
|
|
6864
|
-
if (f
|
|
6865
|
-
writer.
|
|
6868
|
+
f = this.getDatetime();
|
|
6869
|
+
if (f.length > 0) {
|
|
6870
|
+
writer.writeString(
|
|
6866
6871
|
1,
|
|
6867
6872
|
f
|
|
6868
6873
|
);
|
|
6869
6874
|
}
|
|
6870
|
-
f = this.
|
|
6871
|
-
if (f
|
|
6872
|
-
writer.
|
|
6875
|
+
f = this.getScheduleitemid();
|
|
6876
|
+
if (f !== 0) {
|
|
6877
|
+
writer.writeInt64(
|
|
6873
6878
|
2,
|
|
6874
6879
|
f
|
|
6875
6880
|
);
|
|
@@ -6877,14 +6882,21 @@ proto.sniipbillapi.BillReminder.prototype.serializeBinaryToWriter = function (wr
|
|
|
6877
6882
|
f = this.getRemindertype();
|
|
6878
6883
|
if (f !== 0.0) {
|
|
6879
6884
|
writer.writeEnum(
|
|
6880
|
-
|
|
6885
|
+
4,
|
|
6886
|
+
f
|
|
6887
|
+
);
|
|
6888
|
+
}
|
|
6889
|
+
f = this.getNotifybeforeduedate();
|
|
6890
|
+
if (f !== 0) {
|
|
6891
|
+
writer.writeInt32(
|
|
6892
|
+
5,
|
|
6881
6893
|
f
|
|
6882
6894
|
);
|
|
6883
6895
|
}
|
|
6884
6896
|
f = this.getEnabled();
|
|
6885
6897
|
if (f) {
|
|
6886
6898
|
writer.writeBool(
|
|
6887
|
-
|
|
6899
|
+
6,
|
|
6888
6900
|
f
|
|
6889
6901
|
);
|
|
6890
6902
|
}
|
|
@@ -6901,64 +6913,79 @@ proto.sniipbillapi.BillReminder.prototype.cloneMessage = function() {
|
|
|
6901
6913
|
|
|
6902
6914
|
|
|
6903
6915
|
/**
|
|
6904
|
-
* optional
|
|
6905
|
-
* @return {
|
|
6916
|
+
* optional string dateTime = 1;
|
|
6917
|
+
* @return {string}
|
|
6906
6918
|
*/
|
|
6907
|
-
proto.sniipbillapi.BillReminder.prototype.
|
|
6908
|
-
return /** @type {
|
|
6919
|
+
proto.sniipbillapi.BillReminder.prototype.getDatetime = function() {
|
|
6920
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
|
|
6909
6921
|
};
|
|
6910
6922
|
|
|
6911
6923
|
|
|
6912
|
-
/** @param {
|
|
6913
|
-
proto.sniipbillapi.BillReminder.prototype.
|
|
6924
|
+
/** @param {string} value */
|
|
6925
|
+
proto.sniipbillapi.BillReminder.prototype.setDatetime = function(value) {
|
|
6914
6926
|
jspb.Message.setField(this, 1, value);
|
|
6915
6927
|
};
|
|
6916
6928
|
|
|
6917
6929
|
|
|
6918
6930
|
/**
|
|
6919
|
-
* optional
|
|
6920
|
-
* @return {
|
|
6931
|
+
* optional int64 scheduleItemId = 2;
|
|
6932
|
+
* @return {number}
|
|
6921
6933
|
*/
|
|
6922
|
-
proto.sniipbillapi.BillReminder.prototype.
|
|
6923
|
-
return /** @type {
|
|
6934
|
+
proto.sniipbillapi.BillReminder.prototype.getScheduleitemid = function() {
|
|
6935
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
6924
6936
|
};
|
|
6925
6937
|
|
|
6926
6938
|
|
|
6927
|
-
/** @param {
|
|
6928
|
-
proto.sniipbillapi.BillReminder.prototype.
|
|
6939
|
+
/** @param {number} value */
|
|
6940
|
+
proto.sniipbillapi.BillReminder.prototype.setScheduleitemid = function(value) {
|
|
6929
6941
|
jspb.Message.setField(this, 2, value);
|
|
6930
6942
|
};
|
|
6931
6943
|
|
|
6932
6944
|
|
|
6933
6945
|
/**
|
|
6934
|
-
* optional BillReminderReminderType reminderType =
|
|
6946
|
+
* optional BillReminderReminderType reminderType = 4;
|
|
6935
6947
|
* @return {!proto.sniipbillapi.BillReminder.BillReminderReminderType}
|
|
6936
6948
|
*/
|
|
6937
6949
|
proto.sniipbillapi.BillReminder.prototype.getRemindertype = function() {
|
|
6938
|
-
return /** @type {!proto.sniipbillapi.BillReminder.BillReminderReminderType} */ (jspb.Message.getFieldProto3(this,
|
|
6950
|
+
return /** @type {!proto.sniipbillapi.BillReminder.BillReminderReminderType} */ (jspb.Message.getFieldProto3(this, 4, 0));
|
|
6939
6951
|
};
|
|
6940
6952
|
|
|
6941
6953
|
|
|
6942
6954
|
/** @param {!proto.sniipbillapi.BillReminder.BillReminderReminderType} value */
|
|
6943
6955
|
proto.sniipbillapi.BillReminder.prototype.setRemindertype = function(value) {
|
|
6944
|
-
jspb.Message.setField(this,
|
|
6956
|
+
jspb.Message.setField(this, 4, value);
|
|
6945
6957
|
};
|
|
6946
6958
|
|
|
6947
6959
|
|
|
6948
6960
|
/**
|
|
6949
|
-
* optional
|
|
6961
|
+
* optional int32 notifyBeforeDueDate = 5;
|
|
6962
|
+
* @return {number}
|
|
6963
|
+
*/
|
|
6964
|
+
proto.sniipbillapi.BillReminder.prototype.getNotifybeforeduedate = function() {
|
|
6965
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 5, 0));
|
|
6966
|
+
};
|
|
6967
|
+
|
|
6968
|
+
|
|
6969
|
+
/** @param {number} value */
|
|
6970
|
+
proto.sniipbillapi.BillReminder.prototype.setNotifybeforeduedate = function(value) {
|
|
6971
|
+
jspb.Message.setField(this, 5, value);
|
|
6972
|
+
};
|
|
6973
|
+
|
|
6974
|
+
|
|
6975
|
+
/**
|
|
6976
|
+
* optional bool enabled = 6;
|
|
6950
6977
|
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
6951
6978
|
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
6952
6979
|
* @return {boolean}
|
|
6953
6980
|
*/
|
|
6954
6981
|
proto.sniipbillapi.BillReminder.prototype.getEnabled = function() {
|
|
6955
|
-
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this,
|
|
6982
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 6, false));
|
|
6956
6983
|
};
|
|
6957
6984
|
|
|
6958
6985
|
|
|
6959
6986
|
/** @param {boolean} value */
|
|
6960
6987
|
proto.sniipbillapi.BillReminder.prototype.setEnabled = function(value) {
|
|
6961
|
-
jspb.Message.setField(this,
|
|
6988
|
+
jspb.Message.setField(this, 6, value);
|
|
6962
6989
|
};
|
|
6963
6990
|
|
|
6964
6991
|
|
|
@@ -6966,10 +6993,8 @@ proto.sniipbillapi.BillReminder.prototype.setEnabled = function(value) {
|
|
|
6966
6993
|
* @enum {number}
|
|
6967
6994
|
*/
|
|
6968
6995
|
proto.sniipbillapi.BillReminder.BillReminderReminderType = {
|
|
6969
|
-
|
|
6970
|
-
|
|
6971
|
-
BILL_REMINDER_REMINDER_TYPE_DUE_DATE_7: 2,
|
|
6972
|
-
BILL_REMINDER_REMINDER_TYPE_CUSTOM_DATE: 3
|
|
6996
|
+
BILL_REMINDER_REMINDER_TYPE_DUE_DATE: 0,
|
|
6997
|
+
BILL_REMINDER_REMINDER_TYPE_CUSTOM_DATE: 1
|
|
6973
6998
|
};
|
|
6974
6999
|
|
|
6975
7000
|
|
|
@@ -23608,12 +23633,13 @@ proto.sniipbillapi.ScheduleItem.prototype.toObject = function(opt_includeInstanc
|
|
|
23608
23633
|
*/
|
|
23609
23634
|
proto.sniipbillapi.ScheduleItem.toObject = function(includeInstance, msg) {
|
|
23610
23635
|
var f, obj = {
|
|
23636
|
+
userprofileid: msg.getUserprofileid(),
|
|
23611
23637
|
billid: msg.getBillid(),
|
|
23638
|
+
type: msg.getType(),
|
|
23612
23639
|
datetime: msg.getDatetime(),
|
|
23613
23640
|
scheduleitemid: msg.getScheduleitemid(),
|
|
23614
|
-
type: msg.getType(),
|
|
23615
|
-
userprofileid: msg.getUserprofileid(),
|
|
23616
23641
|
remindertype: msg.getRemindertype(),
|
|
23642
|
+
notifybeforeduedate: msg.getNotifybeforeduedate(),
|
|
23617
23643
|
enabled: msg.getEnabled()
|
|
23618
23644
|
};
|
|
23619
23645
|
|
|
@@ -23653,29 +23679,33 @@ proto.sniipbillapi.ScheduleItem.deserializeBinaryFromReader = function(msg, read
|
|
|
23653
23679
|
switch (field) {
|
|
23654
23680
|
case 1:
|
|
23655
23681
|
var value = /** @type {number} */ (reader.readInt64());
|
|
23656
|
-
msg.
|
|
23682
|
+
msg.setUserprofileid(value);
|
|
23657
23683
|
break;
|
|
23658
23684
|
case 2:
|
|
23659
|
-
var value = /** @type {
|
|
23660
|
-
msg.
|
|
23685
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
23686
|
+
msg.setBillid(value);
|
|
23661
23687
|
break;
|
|
23662
23688
|
case 3:
|
|
23663
|
-
var value = /** @type {
|
|
23664
|
-
msg.
|
|
23689
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23690
|
+
msg.setType(value);
|
|
23665
23691
|
break;
|
|
23666
23692
|
case 4:
|
|
23667
23693
|
var value = /** @type {string} */ (reader.readString());
|
|
23668
|
-
msg.
|
|
23694
|
+
msg.setDatetime(value);
|
|
23669
23695
|
break;
|
|
23670
23696
|
case 5:
|
|
23671
23697
|
var value = /** @type {number} */ (reader.readInt64());
|
|
23672
|
-
msg.
|
|
23698
|
+
msg.setScheduleitemid(value);
|
|
23673
23699
|
break;
|
|
23674
|
-
case
|
|
23700
|
+
case 7:
|
|
23675
23701
|
var value = /** @type {!proto.sniipbillapi.ScheduleItem.ScheduleItemReminderType} */ (reader.readEnum());
|
|
23676
23702
|
msg.setRemindertype(value);
|
|
23677
23703
|
break;
|
|
23678
|
-
case
|
|
23704
|
+
case 8:
|
|
23705
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23706
|
+
msg.setNotifybeforeduedate(value);
|
|
23707
|
+
break;
|
|
23708
|
+
case 9:
|
|
23679
23709
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
23680
23710
|
msg.setEnabled(value);
|
|
23681
23711
|
break;
|
|
@@ -23717,35 +23747,35 @@ proto.sniipbillapi.ScheduleItem.prototype.serializeBinary = function() {
|
|
|
23717
23747
|
*/
|
|
23718
23748
|
proto.sniipbillapi.ScheduleItem.prototype.serializeBinaryToWriter = function (writer) {
|
|
23719
23749
|
var f = undefined;
|
|
23720
|
-
f = this.
|
|
23750
|
+
f = this.getUserprofileid();
|
|
23721
23751
|
if (f !== 0) {
|
|
23722
23752
|
writer.writeInt64(
|
|
23723
23753
|
1,
|
|
23724
23754
|
f
|
|
23725
23755
|
);
|
|
23726
23756
|
}
|
|
23727
|
-
f = this.
|
|
23728
|
-
if (f
|
|
23729
|
-
writer.
|
|
23757
|
+
f = this.getBillid();
|
|
23758
|
+
if (f !== 0) {
|
|
23759
|
+
writer.writeInt64(
|
|
23730
23760
|
2,
|
|
23731
23761
|
f
|
|
23732
23762
|
);
|
|
23733
23763
|
}
|
|
23734
|
-
f = this.
|
|
23735
|
-
if (f
|
|
23736
|
-
writer.
|
|
23764
|
+
f = this.getType();
|
|
23765
|
+
if (f.length > 0) {
|
|
23766
|
+
writer.writeString(
|
|
23737
23767
|
3,
|
|
23738
23768
|
f
|
|
23739
23769
|
);
|
|
23740
23770
|
}
|
|
23741
|
-
f = this.
|
|
23771
|
+
f = this.getDatetime();
|
|
23742
23772
|
if (f.length > 0) {
|
|
23743
23773
|
writer.writeString(
|
|
23744
23774
|
4,
|
|
23745
23775
|
f
|
|
23746
23776
|
);
|
|
23747
23777
|
}
|
|
23748
|
-
f = this.
|
|
23778
|
+
f = this.getScheduleitemid();
|
|
23749
23779
|
if (f !== 0) {
|
|
23750
23780
|
writer.writeInt64(
|
|
23751
23781
|
5,
|
|
@@ -23755,14 +23785,21 @@ proto.sniipbillapi.ScheduleItem.prototype.serializeBinaryToWriter = function (wr
|
|
|
23755
23785
|
f = this.getRemindertype();
|
|
23756
23786
|
if (f !== 0.0) {
|
|
23757
23787
|
writer.writeEnum(
|
|
23758
|
-
|
|
23788
|
+
7,
|
|
23789
|
+
f
|
|
23790
|
+
);
|
|
23791
|
+
}
|
|
23792
|
+
f = this.getNotifybeforeduedate();
|
|
23793
|
+
if (f !== 0) {
|
|
23794
|
+
writer.writeInt32(
|
|
23795
|
+
8,
|
|
23759
23796
|
f
|
|
23760
23797
|
);
|
|
23761
23798
|
}
|
|
23762
23799
|
f = this.getEnabled();
|
|
23763
23800
|
if (f) {
|
|
23764
23801
|
writer.writeBool(
|
|
23765
|
-
|
|
23802
|
+
9,
|
|
23766
23803
|
f
|
|
23767
23804
|
);
|
|
23768
23805
|
}
|
|
@@ -23779,109 +23816,124 @@ proto.sniipbillapi.ScheduleItem.prototype.cloneMessage = function() {
|
|
|
23779
23816
|
|
|
23780
23817
|
|
|
23781
23818
|
/**
|
|
23782
|
-
* optional int64
|
|
23819
|
+
* optional int64 userProfileId = 1;
|
|
23783
23820
|
* @return {number}
|
|
23784
23821
|
*/
|
|
23785
|
-
proto.sniipbillapi.ScheduleItem.prototype.
|
|
23822
|
+
proto.sniipbillapi.ScheduleItem.prototype.getUserprofileid = function() {
|
|
23786
23823
|
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
23787
23824
|
};
|
|
23788
23825
|
|
|
23789
23826
|
|
|
23790
23827
|
/** @param {number} value */
|
|
23791
|
-
proto.sniipbillapi.ScheduleItem.prototype.
|
|
23828
|
+
proto.sniipbillapi.ScheduleItem.prototype.setUserprofileid = function(value) {
|
|
23792
23829
|
jspb.Message.setField(this, 1, value);
|
|
23793
23830
|
};
|
|
23794
23831
|
|
|
23795
23832
|
|
|
23796
23833
|
/**
|
|
23797
|
-
* optional
|
|
23798
|
-
* @return {
|
|
23834
|
+
* optional int64 billId = 2;
|
|
23835
|
+
* @return {number}
|
|
23799
23836
|
*/
|
|
23800
|
-
proto.sniipbillapi.ScheduleItem.prototype.
|
|
23801
|
-
return /** @type {
|
|
23837
|
+
proto.sniipbillapi.ScheduleItem.prototype.getBillid = function() {
|
|
23838
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
23802
23839
|
};
|
|
23803
23840
|
|
|
23804
23841
|
|
|
23805
|
-
/** @param {
|
|
23806
|
-
proto.sniipbillapi.ScheduleItem.prototype.
|
|
23842
|
+
/** @param {number} value */
|
|
23843
|
+
proto.sniipbillapi.ScheduleItem.prototype.setBillid = function(value) {
|
|
23807
23844
|
jspb.Message.setField(this, 2, value);
|
|
23808
23845
|
};
|
|
23809
23846
|
|
|
23810
23847
|
|
|
23811
23848
|
/**
|
|
23812
|
-
* optional
|
|
23813
|
-
* @return {
|
|
23849
|
+
* optional string type = 3;
|
|
23850
|
+
* @return {string}
|
|
23814
23851
|
*/
|
|
23815
|
-
proto.sniipbillapi.ScheduleItem.prototype.
|
|
23816
|
-
return /** @type {
|
|
23852
|
+
proto.sniipbillapi.ScheduleItem.prototype.getType = function() {
|
|
23853
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
23817
23854
|
};
|
|
23818
23855
|
|
|
23819
23856
|
|
|
23820
|
-
/** @param {
|
|
23821
|
-
proto.sniipbillapi.ScheduleItem.prototype.
|
|
23857
|
+
/** @param {string} value */
|
|
23858
|
+
proto.sniipbillapi.ScheduleItem.prototype.setType = function(value) {
|
|
23822
23859
|
jspb.Message.setField(this, 3, value);
|
|
23823
23860
|
};
|
|
23824
23861
|
|
|
23825
23862
|
|
|
23826
23863
|
/**
|
|
23827
|
-
* optional string
|
|
23864
|
+
* optional string dateTime = 4;
|
|
23828
23865
|
* @return {string}
|
|
23829
23866
|
*/
|
|
23830
|
-
proto.sniipbillapi.ScheduleItem.prototype.
|
|
23867
|
+
proto.sniipbillapi.ScheduleItem.prototype.getDatetime = function() {
|
|
23831
23868
|
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
23832
23869
|
};
|
|
23833
23870
|
|
|
23834
23871
|
|
|
23835
23872
|
/** @param {string} value */
|
|
23836
|
-
proto.sniipbillapi.ScheduleItem.prototype.
|
|
23873
|
+
proto.sniipbillapi.ScheduleItem.prototype.setDatetime = function(value) {
|
|
23837
23874
|
jspb.Message.setField(this, 4, value);
|
|
23838
23875
|
};
|
|
23839
23876
|
|
|
23840
23877
|
|
|
23841
23878
|
/**
|
|
23842
|
-
* optional int64
|
|
23879
|
+
* optional int64 scheduleItemId = 5;
|
|
23843
23880
|
* @return {number}
|
|
23844
23881
|
*/
|
|
23845
|
-
proto.sniipbillapi.ScheduleItem.prototype.
|
|
23882
|
+
proto.sniipbillapi.ScheduleItem.prototype.getScheduleitemid = function() {
|
|
23846
23883
|
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 5, 0));
|
|
23847
23884
|
};
|
|
23848
23885
|
|
|
23849
23886
|
|
|
23850
23887
|
/** @param {number} value */
|
|
23851
|
-
proto.sniipbillapi.ScheduleItem.prototype.
|
|
23888
|
+
proto.sniipbillapi.ScheduleItem.prototype.setScheduleitemid = function(value) {
|
|
23852
23889
|
jspb.Message.setField(this, 5, value);
|
|
23853
23890
|
};
|
|
23854
23891
|
|
|
23855
23892
|
|
|
23856
23893
|
/**
|
|
23857
|
-
* optional ScheduleItemReminderType reminderType =
|
|
23894
|
+
* optional ScheduleItemReminderType reminderType = 7;
|
|
23858
23895
|
* @return {!proto.sniipbillapi.ScheduleItem.ScheduleItemReminderType}
|
|
23859
23896
|
*/
|
|
23860
23897
|
proto.sniipbillapi.ScheduleItem.prototype.getRemindertype = function() {
|
|
23861
|
-
return /** @type {!proto.sniipbillapi.ScheduleItem.ScheduleItemReminderType} */ (jspb.Message.getFieldProto3(this,
|
|
23898
|
+
return /** @type {!proto.sniipbillapi.ScheduleItem.ScheduleItemReminderType} */ (jspb.Message.getFieldProto3(this, 7, 0));
|
|
23862
23899
|
};
|
|
23863
23900
|
|
|
23864
23901
|
|
|
23865
23902
|
/** @param {!proto.sniipbillapi.ScheduleItem.ScheduleItemReminderType} value */
|
|
23866
23903
|
proto.sniipbillapi.ScheduleItem.prototype.setRemindertype = function(value) {
|
|
23867
|
-
jspb.Message.setField(this,
|
|
23904
|
+
jspb.Message.setField(this, 7, value);
|
|
23905
|
+
};
|
|
23906
|
+
|
|
23907
|
+
|
|
23908
|
+
/**
|
|
23909
|
+
* optional int32 notifyBeforeDueDate = 8;
|
|
23910
|
+
* @return {number}
|
|
23911
|
+
*/
|
|
23912
|
+
proto.sniipbillapi.ScheduleItem.prototype.getNotifybeforeduedate = function() {
|
|
23913
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 8, 0));
|
|
23914
|
+
};
|
|
23915
|
+
|
|
23916
|
+
|
|
23917
|
+
/** @param {number} value */
|
|
23918
|
+
proto.sniipbillapi.ScheduleItem.prototype.setNotifybeforeduedate = function(value) {
|
|
23919
|
+
jspb.Message.setField(this, 8, value);
|
|
23868
23920
|
};
|
|
23869
23921
|
|
|
23870
23922
|
|
|
23871
23923
|
/**
|
|
23872
|
-
* optional bool enabled =
|
|
23924
|
+
* optional bool enabled = 9;
|
|
23873
23925
|
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
23874
23926
|
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
23875
23927
|
* @return {boolean}
|
|
23876
23928
|
*/
|
|
23877
23929
|
proto.sniipbillapi.ScheduleItem.prototype.getEnabled = function() {
|
|
23878
|
-
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this,
|
|
23930
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 9, false));
|
|
23879
23931
|
};
|
|
23880
23932
|
|
|
23881
23933
|
|
|
23882
23934
|
/** @param {boolean} value */
|
|
23883
23935
|
proto.sniipbillapi.ScheduleItem.prototype.setEnabled = function(value) {
|
|
23884
|
-
jspb.Message.setField(this,
|
|
23936
|
+
jspb.Message.setField(this, 9, value);
|
|
23885
23937
|
};
|
|
23886
23938
|
|
|
23887
23939
|
|
|
@@ -23889,10 +23941,8 @@ proto.sniipbillapi.ScheduleItem.prototype.setEnabled = function(value) {
|
|
|
23889
23941
|
* @enum {number}
|
|
23890
23942
|
*/
|
|
23891
23943
|
proto.sniipbillapi.ScheduleItem.ScheduleItemReminderType = {
|
|
23892
|
-
|
|
23893
|
-
|
|
23894
|
-
SCHEDULE_ITEM_REMINDER_TYPE_DUE_DATE_7: 2,
|
|
23895
|
-
SCHEDULE_ITEM_REMINDER_TYPE_CUSTOM_DATE: 3
|
|
23944
|
+
SCHEDULE_ITEM_REMINDER_TYPE_DUE_DATE: 0,
|
|
23945
|
+
SCHEDULE_ITEM_REMINDER_TYPE_CUSTOM_DATE: 1
|
|
23896
23946
|
};
|
|
23897
23947
|
|
|
23898
23948
|
|
|
@@ -28674,6 +28724,7 @@ proto.sniipbillapi.UpdateBillReminderConfig.toObject = function(includeInstance,
|
|
|
28674
28724
|
var f, obj = {
|
|
28675
28725
|
billid: msg.getBillid(),
|
|
28676
28726
|
remindertype: msg.getRemindertype(),
|
|
28727
|
+
notifybeforeduedate: msg.getNotifybeforeduedate(),
|
|
28677
28728
|
datetime: msg.getDatetime(),
|
|
28678
28729
|
enabled: msg.getEnabled(),
|
|
28679
28730
|
scheduleitemid: msg.getScheduleitemid()
|
|
@@ -28722,14 +28773,18 @@ proto.sniipbillapi.UpdateBillReminderConfig.deserializeBinaryFromReader = functi
|
|
|
28722
28773
|
msg.setRemindertype(value);
|
|
28723
28774
|
break;
|
|
28724
28775
|
case 3:
|
|
28776
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
28777
|
+
msg.setNotifybeforeduedate(value);
|
|
28778
|
+
break;
|
|
28779
|
+
case 4:
|
|
28725
28780
|
var value = /** @type {string} */ (reader.readString());
|
|
28726
28781
|
msg.setDatetime(value);
|
|
28727
28782
|
break;
|
|
28728
|
-
case
|
|
28783
|
+
case 5:
|
|
28729
28784
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
28730
28785
|
msg.setEnabled(value);
|
|
28731
28786
|
break;
|
|
28732
|
-
case
|
|
28787
|
+
case 6:
|
|
28733
28788
|
var value = /** @type {number} */ (reader.readInt64());
|
|
28734
28789
|
msg.setScheduleitemid(value);
|
|
28735
28790
|
break;
|
|
@@ -28785,24 +28840,31 @@ proto.sniipbillapi.UpdateBillReminderConfig.prototype.serializeBinaryToWriter =
|
|
|
28785
28840
|
f
|
|
28786
28841
|
);
|
|
28787
28842
|
}
|
|
28843
|
+
f = this.getNotifybeforeduedate();
|
|
28844
|
+
if (f !== 0) {
|
|
28845
|
+
writer.writeInt32(
|
|
28846
|
+
3,
|
|
28847
|
+
f
|
|
28848
|
+
);
|
|
28849
|
+
}
|
|
28788
28850
|
f = this.getDatetime();
|
|
28789
28851
|
if (f.length > 0) {
|
|
28790
28852
|
writer.writeString(
|
|
28791
|
-
|
|
28853
|
+
4,
|
|
28792
28854
|
f
|
|
28793
28855
|
);
|
|
28794
28856
|
}
|
|
28795
28857
|
f = this.getEnabled();
|
|
28796
28858
|
if (f) {
|
|
28797
28859
|
writer.writeBool(
|
|
28798
|
-
|
|
28860
|
+
5,
|
|
28799
28861
|
f
|
|
28800
28862
|
);
|
|
28801
28863
|
}
|
|
28802
28864
|
f = this.getScheduleitemid();
|
|
28803
28865
|
if (f !== 0) {
|
|
28804
28866
|
writer.writeInt64(
|
|
28805
|
-
|
|
28867
|
+
6,
|
|
28806
28868
|
f
|
|
28807
28869
|
);
|
|
28808
28870
|
}
|
|
@@ -28849,49 +28911,64 @@ proto.sniipbillapi.UpdateBillReminderConfig.prototype.setRemindertype = function
|
|
|
28849
28911
|
|
|
28850
28912
|
|
|
28851
28913
|
/**
|
|
28852
|
-
* optional
|
|
28914
|
+
* optional int32 notifyBeforeDueDate = 3;
|
|
28915
|
+
* @return {number}
|
|
28916
|
+
*/
|
|
28917
|
+
proto.sniipbillapi.UpdateBillReminderConfig.prototype.getNotifybeforeduedate = function() {
|
|
28918
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
|
|
28919
|
+
};
|
|
28920
|
+
|
|
28921
|
+
|
|
28922
|
+
/** @param {number} value */
|
|
28923
|
+
proto.sniipbillapi.UpdateBillReminderConfig.prototype.setNotifybeforeduedate = function(value) {
|
|
28924
|
+
jspb.Message.setField(this, 3, value);
|
|
28925
|
+
};
|
|
28926
|
+
|
|
28927
|
+
|
|
28928
|
+
/**
|
|
28929
|
+
* optional string dateTime = 4;
|
|
28853
28930
|
* @return {string}
|
|
28854
28931
|
*/
|
|
28855
28932
|
proto.sniipbillapi.UpdateBillReminderConfig.prototype.getDatetime = function() {
|
|
28856
|
-
return /** @type {string} */ (jspb.Message.getFieldProto3(this,
|
|
28933
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
28857
28934
|
};
|
|
28858
28935
|
|
|
28859
28936
|
|
|
28860
28937
|
/** @param {string} value */
|
|
28861
28938
|
proto.sniipbillapi.UpdateBillReminderConfig.prototype.setDatetime = function(value) {
|
|
28862
|
-
jspb.Message.setField(this,
|
|
28939
|
+
jspb.Message.setField(this, 4, value);
|
|
28863
28940
|
};
|
|
28864
28941
|
|
|
28865
28942
|
|
|
28866
28943
|
/**
|
|
28867
|
-
* optional bool enabled =
|
|
28944
|
+
* optional bool enabled = 5;
|
|
28868
28945
|
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
28869
28946
|
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
28870
28947
|
* @return {boolean}
|
|
28871
28948
|
*/
|
|
28872
28949
|
proto.sniipbillapi.UpdateBillReminderConfig.prototype.getEnabled = function() {
|
|
28873
|
-
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this,
|
|
28950
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 5, false));
|
|
28874
28951
|
};
|
|
28875
28952
|
|
|
28876
28953
|
|
|
28877
28954
|
/** @param {boolean} value */
|
|
28878
28955
|
proto.sniipbillapi.UpdateBillReminderConfig.prototype.setEnabled = function(value) {
|
|
28879
|
-
jspb.Message.setField(this,
|
|
28956
|
+
jspb.Message.setField(this, 5, value);
|
|
28880
28957
|
};
|
|
28881
28958
|
|
|
28882
28959
|
|
|
28883
28960
|
/**
|
|
28884
|
-
* optional int64 scheduleItemId =
|
|
28961
|
+
* optional int64 scheduleItemId = 6;
|
|
28885
28962
|
* @return {number}
|
|
28886
28963
|
*/
|
|
28887
28964
|
proto.sniipbillapi.UpdateBillReminderConfig.prototype.getScheduleitemid = function() {
|
|
28888
|
-
return /** @type {number} */ (jspb.Message.getFieldProto3(this,
|
|
28965
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 6, 0));
|
|
28889
28966
|
};
|
|
28890
28967
|
|
|
28891
28968
|
|
|
28892
28969
|
/** @param {number} value */
|
|
28893
28970
|
proto.sniipbillapi.UpdateBillReminderConfig.prototype.setScheduleitemid = function(value) {
|
|
28894
|
-
jspb.Message.setField(this,
|
|
28971
|
+
jspb.Message.setField(this, 6, value);
|
|
28895
28972
|
};
|
|
28896
28973
|
|
|
28897
28974
|
|
|
@@ -28899,10 +28976,8 @@ proto.sniipbillapi.UpdateBillReminderConfig.prototype.setScheduleitemid = functi
|
|
|
28899
28976
|
* @enum {number}
|
|
28900
28977
|
*/
|
|
28901
28978
|
proto.sniipbillapi.UpdateBillReminderConfig.UpdateBillReminderConfigReminderType = {
|
|
28902
|
-
|
|
28903
|
-
|
|
28904
|
-
UPDATE_BILL_REMINDER_CONFIG_REMINDER_TYPE_DUE_DATE_7: 2,
|
|
28905
|
-
UPDATE_BILL_REMINDER_CONFIG_REMINDER_TYPE_CUSTOM_DATE: 3
|
|
28979
|
+
UPDATE_BILL_REMINDER_CONFIG_REMINDER_TYPE_DUE_DATE: 0,
|
|
28980
|
+
UPDATE_BILL_REMINDER_CONFIG_REMINDER_TYPE_CUSTOM_DATE: 1
|
|
28906
28981
|
};
|
|
28907
28982
|
|
|
28908
28983
|
|