@sniipwebmaster/bill-service-client-grpcweb 23.1.10470 → 23.1.10493
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.
|
@@ -3754,6 +3754,86 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.unlockBill =
|
|
|
3754
3754
|
};
|
|
3755
3755
|
|
|
3756
3756
|
|
|
3757
|
+
/**
|
|
3758
|
+
* @const
|
|
3759
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
3760
|
+
* !proto.sniipbillapi.UpdateBillRemindersConfigRequest,
|
|
3761
|
+
* !proto.sniipbillapi.ResponseCode>}
|
|
3762
|
+
*/
|
|
3763
|
+
const methodDescriptor_SniipBillAPIService_UpdateBillRemindersConfig = new grpc.web.MethodDescriptor(
|
|
3764
|
+
'/sniipbillapi.SniipBillAPIService/UpdateBillRemindersConfig',
|
|
3765
|
+
grpc.web.MethodType.UNARY,
|
|
3766
|
+
proto.sniipbillapi.UpdateBillRemindersConfigRequest,
|
|
3767
|
+
proto.sniipbillapi.ResponseCode,
|
|
3768
|
+
/**
|
|
3769
|
+
* @param {!proto.sniipbillapi.UpdateBillRemindersConfigRequest} request
|
|
3770
|
+
* @return {!Uint8Array}
|
|
3771
|
+
*/
|
|
3772
|
+
function(request) {
|
|
3773
|
+
return request.serializeBinary();
|
|
3774
|
+
},
|
|
3775
|
+
proto.sniipbillapi.ResponseCode.deserializeBinary
|
|
3776
|
+
);
|
|
3777
|
+
|
|
3778
|
+
|
|
3779
|
+
/**
|
|
3780
|
+
* @const
|
|
3781
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
3782
|
+
* !proto.sniipbillapi.UpdateBillRemindersConfigRequest,
|
|
3783
|
+
* !proto.sniipbillapi.ResponseCode>}
|
|
3784
|
+
*/
|
|
3785
|
+
const methodInfo_SniipBillAPIService_UpdateBillRemindersConfig = new grpc.web.AbstractClientBase.MethodInfo(
|
|
3786
|
+
proto.sniipbillapi.ResponseCode,
|
|
3787
|
+
/**
|
|
3788
|
+
* @param {!proto.sniipbillapi.UpdateBillRemindersConfigRequest} request
|
|
3789
|
+
* @return {!Uint8Array}
|
|
3790
|
+
*/
|
|
3791
|
+
function(request) {
|
|
3792
|
+
return request.serializeBinary();
|
|
3793
|
+
},
|
|
3794
|
+
proto.sniipbillapi.ResponseCode.deserializeBinary
|
|
3795
|
+
);
|
|
3796
|
+
|
|
3797
|
+
|
|
3798
|
+
/**
|
|
3799
|
+
* @param {!proto.sniipbillapi.UpdateBillRemindersConfigRequest} request The
|
|
3800
|
+
* request proto
|
|
3801
|
+
* @param {?Object<string, string>} metadata User defined
|
|
3802
|
+
* call metadata
|
|
3803
|
+
* @param {function(?grpc.web.Error, ?proto.sniipbillapi.ResponseCode)}
|
|
3804
|
+
* callback The callback function(error, response)
|
|
3805
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.ResponseCode>|undefined}
|
|
3806
|
+
* The XHR Node Readable Stream
|
|
3807
|
+
*/
|
|
3808
|
+
proto.sniipbillapi.SniipBillAPIServiceClient.prototype.updateBillRemindersConfig =
|
|
3809
|
+
function(request, metadata, callback) {
|
|
3810
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
3811
|
+
'/sniipbillapi.SniipBillAPIService/UpdateBillRemindersConfig',
|
|
3812
|
+
request,
|
|
3813
|
+
metadata || {},
|
|
3814
|
+
methodDescriptor_SniipBillAPIService_UpdateBillRemindersConfig,
|
|
3815
|
+
callback);
|
|
3816
|
+
};
|
|
3817
|
+
|
|
3818
|
+
|
|
3819
|
+
/**
|
|
3820
|
+
* @param {!proto.sniipbillapi.UpdateBillRemindersConfigRequest} request The
|
|
3821
|
+
* request proto
|
|
3822
|
+
* @param {?Object<string, string>} metadata User defined
|
|
3823
|
+
* call metadata
|
|
3824
|
+
* @return {!Promise<!proto.sniipbillapi.ResponseCode>}
|
|
3825
|
+
* Promise that resolves to the response
|
|
3826
|
+
*/
|
|
3827
|
+
proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.updateBillRemindersConfig =
|
|
3828
|
+
function(request, metadata) {
|
|
3829
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
3830
|
+
'/sniipbillapi.SniipBillAPIService/UpdateBillRemindersConfig',
|
|
3831
|
+
request,
|
|
3832
|
+
metadata || {},
|
|
3833
|
+
methodDescriptor_SniipBillAPIService_UpdateBillRemindersConfig);
|
|
3834
|
+
};
|
|
3835
|
+
|
|
3836
|
+
|
|
3757
3837
|
/**
|
|
3758
3838
|
* @const
|
|
3759
3839
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -29,6 +29,7 @@ goog.exportSymbol('proto.sniipbillapi.BillEmailShareRequest', null, global);
|
|
|
29
29
|
goog.exportSymbol('proto.sniipbillapi.BillLockedResponse', null, global);
|
|
30
30
|
goog.exportSymbol('proto.sniipbillapi.BillPayment', null, global);
|
|
31
31
|
goog.exportSymbol('proto.sniipbillapi.BillReminder', null, global);
|
|
32
|
+
goog.exportSymbol('proto.sniipbillapi.BillReminder.BillReminderReminderType', null, global);
|
|
32
33
|
goog.exportSymbol('proto.sniipbillapi.BillRequest', null, global);
|
|
33
34
|
goog.exportSymbol('proto.sniipbillapi.BillRequiresAttentionRequest', null, global);
|
|
34
35
|
goog.exportSymbol('proto.sniipbillapi.BillScanType', null, global);
|
|
@@ -104,6 +105,7 @@ goog.exportSymbol('proto.sniipbillapi.ResponseCode', null, global);
|
|
|
104
105
|
goog.exportSymbol('proto.sniipbillapi.RetrieveBillDetailsRequest', null, global);
|
|
105
106
|
goog.exportSymbol('proto.sniipbillapi.SaveItemPaymentDetailsRequest', null, global);
|
|
106
107
|
goog.exportSymbol('proto.sniipbillapi.ScheduleItem', null, global);
|
|
108
|
+
goog.exportSymbol('proto.sniipbillapi.ScheduleItem.ScheduleItemReminderType', null, global);
|
|
107
109
|
goog.exportSymbol('proto.sniipbillapi.SearchBillerResponse', null, global);
|
|
108
110
|
goog.exportSymbol('proto.sniipbillapi.SearchBillersRequest', null, global);
|
|
109
111
|
goog.exportSymbol('proto.sniipbillapi.SendBillDueSoonNotificationRequest', null, global);
|
|
@@ -119,6 +121,9 @@ goog.exportSymbol('proto.sniipbillapi.TodoRequest', null, global);
|
|
|
119
121
|
goog.exportSymbol('proto.sniipbillapi.TodoResponse', null, global);
|
|
120
122
|
goog.exportSymbol('proto.sniipbillapi.UnlockBillRequest', null, global);
|
|
121
123
|
goog.exportSymbol('proto.sniipbillapi.UnpaidMbill', null, global);
|
|
124
|
+
goog.exportSymbol('proto.sniipbillapi.UpdateBillReminderConfig', null, global);
|
|
125
|
+
goog.exportSymbol('proto.sniipbillapi.UpdateBillReminderConfig.UpdateBillReminderConfigReminderType', null, global);
|
|
126
|
+
goog.exportSymbol('proto.sniipbillapi.UpdateBillRemindersConfigRequest', null, global);
|
|
122
127
|
goog.exportSymbol('proto.sniipbillapi.UpdateDueAmountRequest', null, global);
|
|
123
128
|
goog.exportSymbol('proto.sniipbillapi.UpdateDueAmountResponse', null, global);
|
|
124
129
|
goog.exportSymbol('proto.sniipbillapi.UpdateDueDateRequest', null, global);
|
|
@@ -6762,7 +6767,9 @@ proto.sniipbillapi.BillReminder.prototype.toObject = function(opt_includeInstanc
|
|
|
6762
6767
|
proto.sniipbillapi.BillReminder.toObject = function(includeInstance, msg) {
|
|
6763
6768
|
var f, obj = {
|
|
6764
6769
|
scheduleitemid: msg.getScheduleitemid(),
|
|
6765
|
-
datetime: msg.getDatetime()
|
|
6770
|
+
datetime: msg.getDatetime(),
|
|
6771
|
+
remindertype: msg.getRemindertype(),
|
|
6772
|
+
enabled: msg.getEnabled()
|
|
6766
6773
|
};
|
|
6767
6774
|
|
|
6768
6775
|
if (includeInstance) {
|
|
@@ -6807,6 +6814,14 @@ proto.sniipbillapi.BillReminder.deserializeBinaryFromReader = function(msg, read
|
|
|
6807
6814
|
var value = /** @type {string} */ (reader.readString());
|
|
6808
6815
|
msg.setDatetime(value);
|
|
6809
6816
|
break;
|
|
6817
|
+
case 3:
|
|
6818
|
+
var value = /** @type {!proto.sniipbillapi.BillReminder.BillReminderReminderType} */ (reader.readEnum());
|
|
6819
|
+
msg.setRemindertype(value);
|
|
6820
|
+
break;
|
|
6821
|
+
case 4:
|
|
6822
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6823
|
+
msg.setEnabled(value);
|
|
6824
|
+
break;
|
|
6810
6825
|
default:
|
|
6811
6826
|
reader.skipField();
|
|
6812
6827
|
break;
|
|
@@ -6859,6 +6874,20 @@ proto.sniipbillapi.BillReminder.prototype.serializeBinaryToWriter = function (wr
|
|
|
6859
6874
|
f
|
|
6860
6875
|
);
|
|
6861
6876
|
}
|
|
6877
|
+
f = this.getRemindertype();
|
|
6878
|
+
if (f !== 0.0) {
|
|
6879
|
+
writer.writeEnum(
|
|
6880
|
+
3,
|
|
6881
|
+
f
|
|
6882
|
+
);
|
|
6883
|
+
}
|
|
6884
|
+
f = this.getEnabled();
|
|
6885
|
+
if (f) {
|
|
6886
|
+
writer.writeBool(
|
|
6887
|
+
4,
|
|
6888
|
+
f
|
|
6889
|
+
);
|
|
6890
|
+
}
|
|
6862
6891
|
};
|
|
6863
6892
|
|
|
6864
6893
|
|
|
@@ -6901,6 +6930,48 @@ proto.sniipbillapi.BillReminder.prototype.setDatetime = function(value) {
|
|
|
6901
6930
|
};
|
|
6902
6931
|
|
|
6903
6932
|
|
|
6933
|
+
/**
|
|
6934
|
+
* optional BillReminderReminderType reminderType = 3;
|
|
6935
|
+
* @return {!proto.sniipbillapi.BillReminder.BillReminderReminderType}
|
|
6936
|
+
*/
|
|
6937
|
+
proto.sniipbillapi.BillReminder.prototype.getRemindertype = function() {
|
|
6938
|
+
return /** @type {!proto.sniipbillapi.BillReminder.BillReminderReminderType} */ (jspb.Message.getFieldProto3(this, 3, 0));
|
|
6939
|
+
};
|
|
6940
|
+
|
|
6941
|
+
|
|
6942
|
+
/** @param {!proto.sniipbillapi.BillReminder.BillReminderReminderType} value */
|
|
6943
|
+
proto.sniipbillapi.BillReminder.prototype.setRemindertype = function(value) {
|
|
6944
|
+
jspb.Message.setField(this, 3, value);
|
|
6945
|
+
};
|
|
6946
|
+
|
|
6947
|
+
|
|
6948
|
+
/**
|
|
6949
|
+
* optional bool enabled = 4;
|
|
6950
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
6951
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
6952
|
+
* @return {boolean}
|
|
6953
|
+
*/
|
|
6954
|
+
proto.sniipbillapi.BillReminder.prototype.getEnabled = function() {
|
|
6955
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 4, false));
|
|
6956
|
+
};
|
|
6957
|
+
|
|
6958
|
+
|
|
6959
|
+
/** @param {boolean} value */
|
|
6960
|
+
proto.sniipbillapi.BillReminder.prototype.setEnabled = function(value) {
|
|
6961
|
+
jspb.Message.setField(this, 4, value);
|
|
6962
|
+
};
|
|
6963
|
+
|
|
6964
|
+
|
|
6965
|
+
/**
|
|
6966
|
+
* @enum {number}
|
|
6967
|
+
*/
|
|
6968
|
+
proto.sniipbillapi.BillReminder.BillReminderReminderType = {
|
|
6969
|
+
BILL_REMINDER_REMINDER_TYPE_DUE_DATE_3: 0,
|
|
6970
|
+
BILL_REMINDER_REMINDER_TYPE_DUE_DATE_5: 1,
|
|
6971
|
+
BILL_REMINDER_REMINDER_TYPE_DUE_DATE_7: 2,
|
|
6972
|
+
BILL_REMINDER_REMINDER_TYPE_CUSTOM_DATE: 3
|
|
6973
|
+
};
|
|
6974
|
+
|
|
6904
6975
|
|
|
6905
6976
|
/**
|
|
6906
6977
|
* Generated by JsPbCodeGenerator.
|
|
@@ -23541,7 +23612,9 @@ proto.sniipbillapi.ScheduleItem.toObject = function(includeInstance, msg) {
|
|
|
23541
23612
|
datetime: msg.getDatetime(),
|
|
23542
23613
|
scheduleitemid: msg.getScheduleitemid(),
|
|
23543
23614
|
type: msg.getType(),
|
|
23544
|
-
userprofileid: msg.getUserprofileid()
|
|
23615
|
+
userprofileid: msg.getUserprofileid(),
|
|
23616
|
+
remindertype: msg.getRemindertype(),
|
|
23617
|
+
enabled: msg.getEnabled()
|
|
23545
23618
|
};
|
|
23546
23619
|
|
|
23547
23620
|
if (includeInstance) {
|
|
@@ -23598,6 +23671,14 @@ proto.sniipbillapi.ScheduleItem.deserializeBinaryFromReader = function(msg, read
|
|
|
23598
23671
|
var value = /** @type {number} */ (reader.readInt64());
|
|
23599
23672
|
msg.setUserprofileid(value);
|
|
23600
23673
|
break;
|
|
23674
|
+
case 6:
|
|
23675
|
+
var value = /** @type {!proto.sniipbillapi.ScheduleItem.ScheduleItemReminderType} */ (reader.readEnum());
|
|
23676
|
+
msg.setRemindertype(value);
|
|
23677
|
+
break;
|
|
23678
|
+
case 7:
|
|
23679
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
23680
|
+
msg.setEnabled(value);
|
|
23681
|
+
break;
|
|
23601
23682
|
default:
|
|
23602
23683
|
reader.skipField();
|
|
23603
23684
|
break;
|
|
@@ -23671,6 +23752,20 @@ proto.sniipbillapi.ScheduleItem.prototype.serializeBinaryToWriter = function (wr
|
|
|
23671
23752
|
f
|
|
23672
23753
|
);
|
|
23673
23754
|
}
|
|
23755
|
+
f = this.getRemindertype();
|
|
23756
|
+
if (f !== 0.0) {
|
|
23757
|
+
writer.writeEnum(
|
|
23758
|
+
6,
|
|
23759
|
+
f
|
|
23760
|
+
);
|
|
23761
|
+
}
|
|
23762
|
+
f = this.getEnabled();
|
|
23763
|
+
if (f) {
|
|
23764
|
+
writer.writeBool(
|
|
23765
|
+
7,
|
|
23766
|
+
f
|
|
23767
|
+
);
|
|
23768
|
+
}
|
|
23674
23769
|
};
|
|
23675
23770
|
|
|
23676
23771
|
|
|
@@ -23758,6 +23853,48 @@ proto.sniipbillapi.ScheduleItem.prototype.setUserprofileid = function(value) {
|
|
|
23758
23853
|
};
|
|
23759
23854
|
|
|
23760
23855
|
|
|
23856
|
+
/**
|
|
23857
|
+
* optional ScheduleItemReminderType reminderType = 6;
|
|
23858
|
+
* @return {!proto.sniipbillapi.ScheduleItem.ScheduleItemReminderType}
|
|
23859
|
+
*/
|
|
23860
|
+
proto.sniipbillapi.ScheduleItem.prototype.getRemindertype = function() {
|
|
23861
|
+
return /** @type {!proto.sniipbillapi.ScheduleItem.ScheduleItemReminderType} */ (jspb.Message.getFieldProto3(this, 6, 0));
|
|
23862
|
+
};
|
|
23863
|
+
|
|
23864
|
+
|
|
23865
|
+
/** @param {!proto.sniipbillapi.ScheduleItem.ScheduleItemReminderType} value */
|
|
23866
|
+
proto.sniipbillapi.ScheduleItem.prototype.setRemindertype = function(value) {
|
|
23867
|
+
jspb.Message.setField(this, 6, value);
|
|
23868
|
+
};
|
|
23869
|
+
|
|
23870
|
+
|
|
23871
|
+
/**
|
|
23872
|
+
* optional bool enabled = 7;
|
|
23873
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
23874
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
23875
|
+
* @return {boolean}
|
|
23876
|
+
*/
|
|
23877
|
+
proto.sniipbillapi.ScheduleItem.prototype.getEnabled = function() {
|
|
23878
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 7, false));
|
|
23879
|
+
};
|
|
23880
|
+
|
|
23881
|
+
|
|
23882
|
+
/** @param {boolean} value */
|
|
23883
|
+
proto.sniipbillapi.ScheduleItem.prototype.setEnabled = function(value) {
|
|
23884
|
+
jspb.Message.setField(this, 7, value);
|
|
23885
|
+
};
|
|
23886
|
+
|
|
23887
|
+
|
|
23888
|
+
/**
|
|
23889
|
+
* @enum {number}
|
|
23890
|
+
*/
|
|
23891
|
+
proto.sniipbillapi.ScheduleItem.ScheduleItemReminderType = {
|
|
23892
|
+
SCHEDULE_ITEM_REMINDER_TYPE_DUE_DATE_3: 0,
|
|
23893
|
+
SCHEDULE_ITEM_REMINDER_TYPE_DUE_DATE_5: 1,
|
|
23894
|
+
SCHEDULE_ITEM_REMINDER_TYPE_DUE_DATE_7: 2,
|
|
23895
|
+
SCHEDULE_ITEM_REMINDER_TYPE_CUSTOM_DATE: 3
|
|
23896
|
+
};
|
|
23897
|
+
|
|
23761
23898
|
|
|
23762
23899
|
/**
|
|
23763
23900
|
* Generated by JsPbCodeGenerator.
|
|
@@ -28490,6 +28627,461 @@ proto.sniipbillapi.UnpaidMbill.prototype.setUserid = function(value) {
|
|
|
28490
28627
|
|
|
28491
28628
|
|
|
28492
28629
|
|
|
28630
|
+
/**
|
|
28631
|
+
* Generated by JsPbCodeGenerator.
|
|
28632
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
28633
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
28634
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
28635
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
28636
|
+
* valid.
|
|
28637
|
+
* @extends {jspb.Message}
|
|
28638
|
+
* @constructor
|
|
28639
|
+
*/
|
|
28640
|
+
proto.sniipbillapi.UpdateBillReminderConfig = function(opt_data) {
|
|
28641
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
28642
|
+
};
|
|
28643
|
+
goog.inherits(proto.sniipbillapi.UpdateBillReminderConfig, jspb.Message);
|
|
28644
|
+
if (goog.DEBUG && !COMPILED) {
|
|
28645
|
+
proto.sniipbillapi.UpdateBillReminderConfig.displayName = 'proto.sniipbillapi.UpdateBillReminderConfig';
|
|
28646
|
+
}
|
|
28647
|
+
|
|
28648
|
+
|
|
28649
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
28650
|
+
/**
|
|
28651
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
28652
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
28653
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
28654
|
+
* For the list of reserved names please see:
|
|
28655
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
28656
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
28657
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
28658
|
+
* @return {!Object}
|
|
28659
|
+
*/
|
|
28660
|
+
proto.sniipbillapi.UpdateBillReminderConfig.prototype.toObject = function(opt_includeInstance) {
|
|
28661
|
+
return proto.sniipbillapi.UpdateBillReminderConfig.toObject(opt_includeInstance, this);
|
|
28662
|
+
};
|
|
28663
|
+
|
|
28664
|
+
|
|
28665
|
+
/**
|
|
28666
|
+
* Static version of the {@see toObject} method.
|
|
28667
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
28668
|
+
* instance for transitional soy proto support:
|
|
28669
|
+
* http://goto/soy-param-migration
|
|
28670
|
+
* @param {!proto.sniipbillapi.UpdateBillReminderConfig} msg The msg instance to transform.
|
|
28671
|
+
* @return {!Object}
|
|
28672
|
+
*/
|
|
28673
|
+
proto.sniipbillapi.UpdateBillReminderConfig.toObject = function(includeInstance, msg) {
|
|
28674
|
+
var f, obj = {
|
|
28675
|
+
billid: msg.getBillid(),
|
|
28676
|
+
remindertype: msg.getRemindertype(),
|
|
28677
|
+
datetime: msg.getDatetime(),
|
|
28678
|
+
enabled: msg.getEnabled(),
|
|
28679
|
+
scheduleitemid: msg.getScheduleitemid()
|
|
28680
|
+
};
|
|
28681
|
+
|
|
28682
|
+
if (includeInstance) {
|
|
28683
|
+
obj.$jspbMessageInstance = msg;
|
|
28684
|
+
}
|
|
28685
|
+
return obj;
|
|
28686
|
+
};
|
|
28687
|
+
}
|
|
28688
|
+
|
|
28689
|
+
|
|
28690
|
+
/**
|
|
28691
|
+
* Deserializes binary data (in protobuf wire format).
|
|
28692
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
28693
|
+
* @return {!proto.sniipbillapi.UpdateBillReminderConfig}
|
|
28694
|
+
*/
|
|
28695
|
+
proto.sniipbillapi.UpdateBillReminderConfig.deserializeBinary = function(bytes) {
|
|
28696
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
28697
|
+
var msg = new proto.sniipbillapi.UpdateBillReminderConfig;
|
|
28698
|
+
return proto.sniipbillapi.UpdateBillReminderConfig.deserializeBinaryFromReader(msg, reader);
|
|
28699
|
+
};
|
|
28700
|
+
|
|
28701
|
+
|
|
28702
|
+
/**
|
|
28703
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
28704
|
+
* given reader into the given message object.
|
|
28705
|
+
* @param {!proto.sniipbillapi.UpdateBillReminderConfig} msg The message object to deserialize into.
|
|
28706
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
28707
|
+
* @return {!proto.sniipbillapi.UpdateBillReminderConfig}
|
|
28708
|
+
*/
|
|
28709
|
+
proto.sniipbillapi.UpdateBillReminderConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
28710
|
+
while (reader.nextField()) {
|
|
28711
|
+
if (reader.isEndGroup()) {
|
|
28712
|
+
break;
|
|
28713
|
+
}
|
|
28714
|
+
var field = reader.getFieldNumber();
|
|
28715
|
+
switch (field) {
|
|
28716
|
+
case 1:
|
|
28717
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
28718
|
+
msg.setBillid(value);
|
|
28719
|
+
break;
|
|
28720
|
+
case 2:
|
|
28721
|
+
var value = /** @type {!proto.sniipbillapi.UpdateBillReminderConfig.UpdateBillReminderConfigReminderType} */ (reader.readEnum());
|
|
28722
|
+
msg.setRemindertype(value);
|
|
28723
|
+
break;
|
|
28724
|
+
case 3:
|
|
28725
|
+
var value = /** @type {string} */ (reader.readString());
|
|
28726
|
+
msg.setDatetime(value);
|
|
28727
|
+
break;
|
|
28728
|
+
case 4:
|
|
28729
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
28730
|
+
msg.setEnabled(value);
|
|
28731
|
+
break;
|
|
28732
|
+
case 5:
|
|
28733
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
28734
|
+
msg.setScheduleitemid(value);
|
|
28735
|
+
break;
|
|
28736
|
+
default:
|
|
28737
|
+
reader.skipField();
|
|
28738
|
+
break;
|
|
28739
|
+
}
|
|
28740
|
+
}
|
|
28741
|
+
return msg;
|
|
28742
|
+
};
|
|
28743
|
+
|
|
28744
|
+
|
|
28745
|
+
/**
|
|
28746
|
+
* Class method variant: serializes the given message to binary data
|
|
28747
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
28748
|
+
* @param {!proto.sniipbillapi.UpdateBillReminderConfig} message
|
|
28749
|
+
* @param {!jspb.BinaryWriter} writer
|
|
28750
|
+
*/
|
|
28751
|
+
proto.sniipbillapi.UpdateBillReminderConfig.serializeBinaryToWriter = function(message, writer) {
|
|
28752
|
+
message.serializeBinaryToWriter(writer);
|
|
28753
|
+
};
|
|
28754
|
+
|
|
28755
|
+
|
|
28756
|
+
/**
|
|
28757
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
28758
|
+
* @return {!Uint8Array}
|
|
28759
|
+
*/
|
|
28760
|
+
proto.sniipbillapi.UpdateBillReminderConfig.prototype.serializeBinary = function() {
|
|
28761
|
+
var writer = new jspb.BinaryWriter();
|
|
28762
|
+
this.serializeBinaryToWriter(writer);
|
|
28763
|
+
return writer.getResultBuffer();
|
|
28764
|
+
};
|
|
28765
|
+
|
|
28766
|
+
|
|
28767
|
+
/**
|
|
28768
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
28769
|
+
* writing to the given BinaryWriter.
|
|
28770
|
+
* @param {!jspb.BinaryWriter} writer
|
|
28771
|
+
*/
|
|
28772
|
+
proto.sniipbillapi.UpdateBillReminderConfig.prototype.serializeBinaryToWriter = function (writer) {
|
|
28773
|
+
var f = undefined;
|
|
28774
|
+
f = this.getBillid();
|
|
28775
|
+
if (f !== 0) {
|
|
28776
|
+
writer.writeInt32(
|
|
28777
|
+
1,
|
|
28778
|
+
f
|
|
28779
|
+
);
|
|
28780
|
+
}
|
|
28781
|
+
f = this.getRemindertype();
|
|
28782
|
+
if (f !== 0.0) {
|
|
28783
|
+
writer.writeEnum(
|
|
28784
|
+
2,
|
|
28785
|
+
f
|
|
28786
|
+
);
|
|
28787
|
+
}
|
|
28788
|
+
f = this.getDatetime();
|
|
28789
|
+
if (f.length > 0) {
|
|
28790
|
+
writer.writeString(
|
|
28791
|
+
3,
|
|
28792
|
+
f
|
|
28793
|
+
);
|
|
28794
|
+
}
|
|
28795
|
+
f = this.getEnabled();
|
|
28796
|
+
if (f) {
|
|
28797
|
+
writer.writeBool(
|
|
28798
|
+
4,
|
|
28799
|
+
f
|
|
28800
|
+
);
|
|
28801
|
+
}
|
|
28802
|
+
f = this.getScheduleitemid();
|
|
28803
|
+
if (f !== 0) {
|
|
28804
|
+
writer.writeInt64(
|
|
28805
|
+
5,
|
|
28806
|
+
f
|
|
28807
|
+
);
|
|
28808
|
+
}
|
|
28809
|
+
};
|
|
28810
|
+
|
|
28811
|
+
|
|
28812
|
+
/**
|
|
28813
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
28814
|
+
* @return {!proto.sniipbillapi.UpdateBillReminderConfig} The clone.
|
|
28815
|
+
*/
|
|
28816
|
+
proto.sniipbillapi.UpdateBillReminderConfig.prototype.cloneMessage = function() {
|
|
28817
|
+
return /** @type {!proto.sniipbillapi.UpdateBillReminderConfig} */ (jspb.Message.cloneMessage(this));
|
|
28818
|
+
};
|
|
28819
|
+
|
|
28820
|
+
|
|
28821
|
+
/**
|
|
28822
|
+
* optional int32 billId = 1;
|
|
28823
|
+
* @return {number}
|
|
28824
|
+
*/
|
|
28825
|
+
proto.sniipbillapi.UpdateBillReminderConfig.prototype.getBillid = function() {
|
|
28826
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
28827
|
+
};
|
|
28828
|
+
|
|
28829
|
+
|
|
28830
|
+
/** @param {number} value */
|
|
28831
|
+
proto.sniipbillapi.UpdateBillReminderConfig.prototype.setBillid = function(value) {
|
|
28832
|
+
jspb.Message.setField(this, 1, value);
|
|
28833
|
+
};
|
|
28834
|
+
|
|
28835
|
+
|
|
28836
|
+
/**
|
|
28837
|
+
* optional UpdateBillReminderConfigReminderType reminderType = 2;
|
|
28838
|
+
* @return {!proto.sniipbillapi.UpdateBillReminderConfig.UpdateBillReminderConfigReminderType}
|
|
28839
|
+
*/
|
|
28840
|
+
proto.sniipbillapi.UpdateBillReminderConfig.prototype.getRemindertype = function() {
|
|
28841
|
+
return /** @type {!proto.sniipbillapi.UpdateBillReminderConfig.UpdateBillReminderConfigReminderType} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
28842
|
+
};
|
|
28843
|
+
|
|
28844
|
+
|
|
28845
|
+
/** @param {!proto.sniipbillapi.UpdateBillReminderConfig.UpdateBillReminderConfigReminderType} value */
|
|
28846
|
+
proto.sniipbillapi.UpdateBillReminderConfig.prototype.setRemindertype = function(value) {
|
|
28847
|
+
jspb.Message.setField(this, 2, value);
|
|
28848
|
+
};
|
|
28849
|
+
|
|
28850
|
+
|
|
28851
|
+
/**
|
|
28852
|
+
* optional string dateTime = 3;
|
|
28853
|
+
* @return {string}
|
|
28854
|
+
*/
|
|
28855
|
+
proto.sniipbillapi.UpdateBillReminderConfig.prototype.getDatetime = function() {
|
|
28856
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
28857
|
+
};
|
|
28858
|
+
|
|
28859
|
+
|
|
28860
|
+
/** @param {string} value */
|
|
28861
|
+
proto.sniipbillapi.UpdateBillReminderConfig.prototype.setDatetime = function(value) {
|
|
28862
|
+
jspb.Message.setField(this, 3, value);
|
|
28863
|
+
};
|
|
28864
|
+
|
|
28865
|
+
|
|
28866
|
+
/**
|
|
28867
|
+
* optional bool enabled = 4;
|
|
28868
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
28869
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
28870
|
+
* @return {boolean}
|
|
28871
|
+
*/
|
|
28872
|
+
proto.sniipbillapi.UpdateBillReminderConfig.prototype.getEnabled = function() {
|
|
28873
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 4, false));
|
|
28874
|
+
};
|
|
28875
|
+
|
|
28876
|
+
|
|
28877
|
+
/** @param {boolean} value */
|
|
28878
|
+
proto.sniipbillapi.UpdateBillReminderConfig.prototype.setEnabled = function(value) {
|
|
28879
|
+
jspb.Message.setField(this, 4, value);
|
|
28880
|
+
};
|
|
28881
|
+
|
|
28882
|
+
|
|
28883
|
+
/**
|
|
28884
|
+
* optional int64 scheduleItemId = 5;
|
|
28885
|
+
* @return {number}
|
|
28886
|
+
*/
|
|
28887
|
+
proto.sniipbillapi.UpdateBillReminderConfig.prototype.getScheduleitemid = function() {
|
|
28888
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 5, 0));
|
|
28889
|
+
};
|
|
28890
|
+
|
|
28891
|
+
|
|
28892
|
+
/** @param {number} value */
|
|
28893
|
+
proto.sniipbillapi.UpdateBillReminderConfig.prototype.setScheduleitemid = function(value) {
|
|
28894
|
+
jspb.Message.setField(this, 5, value);
|
|
28895
|
+
};
|
|
28896
|
+
|
|
28897
|
+
|
|
28898
|
+
/**
|
|
28899
|
+
* @enum {number}
|
|
28900
|
+
*/
|
|
28901
|
+
proto.sniipbillapi.UpdateBillReminderConfig.UpdateBillReminderConfigReminderType = {
|
|
28902
|
+
UPDATE_BILL_REMINDER_CONFIG_REMINDER_TYPE_DUE_DATE_3: 0,
|
|
28903
|
+
UPDATE_BILL_REMINDER_CONFIG_REMINDER_TYPE_DUE_DATE_5: 1,
|
|
28904
|
+
UPDATE_BILL_REMINDER_CONFIG_REMINDER_TYPE_DUE_DATE_7: 2,
|
|
28905
|
+
UPDATE_BILL_REMINDER_CONFIG_REMINDER_TYPE_CUSTOM_DATE: 3
|
|
28906
|
+
};
|
|
28907
|
+
|
|
28908
|
+
|
|
28909
|
+
/**
|
|
28910
|
+
* Generated by JsPbCodeGenerator.
|
|
28911
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
28912
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
28913
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
28914
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
28915
|
+
* valid.
|
|
28916
|
+
* @extends {jspb.Message}
|
|
28917
|
+
* @constructor
|
|
28918
|
+
*/
|
|
28919
|
+
proto.sniipbillapi.UpdateBillRemindersConfigRequest = function(opt_data) {
|
|
28920
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
28921
|
+
};
|
|
28922
|
+
goog.inherits(proto.sniipbillapi.UpdateBillRemindersConfigRequest, jspb.Message);
|
|
28923
|
+
if (goog.DEBUG && !COMPILED) {
|
|
28924
|
+
proto.sniipbillapi.UpdateBillRemindersConfigRequest.displayName = 'proto.sniipbillapi.UpdateBillRemindersConfigRequest';
|
|
28925
|
+
}
|
|
28926
|
+
|
|
28927
|
+
|
|
28928
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
28929
|
+
/**
|
|
28930
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
28931
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
28932
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
28933
|
+
* For the list of reserved names please see:
|
|
28934
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
28935
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
28936
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
28937
|
+
* @return {!Object}
|
|
28938
|
+
*/
|
|
28939
|
+
proto.sniipbillapi.UpdateBillRemindersConfigRequest.prototype.toObject = function(opt_includeInstance) {
|
|
28940
|
+
return proto.sniipbillapi.UpdateBillRemindersConfigRequest.toObject(opt_includeInstance, this);
|
|
28941
|
+
};
|
|
28942
|
+
|
|
28943
|
+
|
|
28944
|
+
/**
|
|
28945
|
+
* Static version of the {@see toObject} method.
|
|
28946
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
28947
|
+
* instance for transitional soy proto support:
|
|
28948
|
+
* http://goto/soy-param-migration
|
|
28949
|
+
* @param {!proto.sniipbillapi.UpdateBillRemindersConfigRequest} msg The msg instance to transform.
|
|
28950
|
+
* @return {!Object}
|
|
28951
|
+
*/
|
|
28952
|
+
proto.sniipbillapi.UpdateBillRemindersConfigRequest.toObject = function(includeInstance, msg) {
|
|
28953
|
+
var f, obj = {
|
|
28954
|
+
data: (f = msg.getData()) && proto.sniipbillapi.UpdateBillReminderConfig.toObject(includeInstance, f)
|
|
28955
|
+
};
|
|
28956
|
+
|
|
28957
|
+
if (includeInstance) {
|
|
28958
|
+
obj.$jspbMessageInstance = msg;
|
|
28959
|
+
}
|
|
28960
|
+
return obj;
|
|
28961
|
+
};
|
|
28962
|
+
}
|
|
28963
|
+
|
|
28964
|
+
|
|
28965
|
+
/**
|
|
28966
|
+
* Deserializes binary data (in protobuf wire format).
|
|
28967
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
28968
|
+
* @return {!proto.sniipbillapi.UpdateBillRemindersConfigRequest}
|
|
28969
|
+
*/
|
|
28970
|
+
proto.sniipbillapi.UpdateBillRemindersConfigRequest.deserializeBinary = function(bytes) {
|
|
28971
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
28972
|
+
var msg = new proto.sniipbillapi.UpdateBillRemindersConfigRequest;
|
|
28973
|
+
return proto.sniipbillapi.UpdateBillRemindersConfigRequest.deserializeBinaryFromReader(msg, reader);
|
|
28974
|
+
};
|
|
28975
|
+
|
|
28976
|
+
|
|
28977
|
+
/**
|
|
28978
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
28979
|
+
* given reader into the given message object.
|
|
28980
|
+
* @param {!proto.sniipbillapi.UpdateBillRemindersConfigRequest} msg The message object to deserialize into.
|
|
28981
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
28982
|
+
* @return {!proto.sniipbillapi.UpdateBillRemindersConfigRequest}
|
|
28983
|
+
*/
|
|
28984
|
+
proto.sniipbillapi.UpdateBillRemindersConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
28985
|
+
while (reader.nextField()) {
|
|
28986
|
+
if (reader.isEndGroup()) {
|
|
28987
|
+
break;
|
|
28988
|
+
}
|
|
28989
|
+
var field = reader.getFieldNumber();
|
|
28990
|
+
switch (field) {
|
|
28991
|
+
case 1:
|
|
28992
|
+
var value = new proto.sniipbillapi.UpdateBillReminderConfig;
|
|
28993
|
+
reader.readMessage(value,proto.sniipbillapi.UpdateBillReminderConfig.deserializeBinaryFromReader);
|
|
28994
|
+
msg.setData(value);
|
|
28995
|
+
break;
|
|
28996
|
+
default:
|
|
28997
|
+
reader.skipField();
|
|
28998
|
+
break;
|
|
28999
|
+
}
|
|
29000
|
+
}
|
|
29001
|
+
return msg;
|
|
29002
|
+
};
|
|
29003
|
+
|
|
29004
|
+
|
|
29005
|
+
/**
|
|
29006
|
+
* Class method variant: serializes the given message to binary data
|
|
29007
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
29008
|
+
* @param {!proto.sniipbillapi.UpdateBillRemindersConfigRequest} message
|
|
29009
|
+
* @param {!jspb.BinaryWriter} writer
|
|
29010
|
+
*/
|
|
29011
|
+
proto.sniipbillapi.UpdateBillRemindersConfigRequest.serializeBinaryToWriter = function(message, writer) {
|
|
29012
|
+
message.serializeBinaryToWriter(writer);
|
|
29013
|
+
};
|
|
29014
|
+
|
|
29015
|
+
|
|
29016
|
+
/**
|
|
29017
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
29018
|
+
* @return {!Uint8Array}
|
|
29019
|
+
*/
|
|
29020
|
+
proto.sniipbillapi.UpdateBillRemindersConfigRequest.prototype.serializeBinary = function() {
|
|
29021
|
+
var writer = new jspb.BinaryWriter();
|
|
29022
|
+
this.serializeBinaryToWriter(writer);
|
|
29023
|
+
return writer.getResultBuffer();
|
|
29024
|
+
};
|
|
29025
|
+
|
|
29026
|
+
|
|
29027
|
+
/**
|
|
29028
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
29029
|
+
* writing to the given BinaryWriter.
|
|
29030
|
+
* @param {!jspb.BinaryWriter} writer
|
|
29031
|
+
*/
|
|
29032
|
+
proto.sniipbillapi.UpdateBillRemindersConfigRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
29033
|
+
var f = undefined;
|
|
29034
|
+
f = this.getData();
|
|
29035
|
+
if (f != null) {
|
|
29036
|
+
writer.writeMessage(
|
|
29037
|
+
1,
|
|
29038
|
+
f,
|
|
29039
|
+
proto.sniipbillapi.UpdateBillReminderConfig.serializeBinaryToWriter
|
|
29040
|
+
);
|
|
29041
|
+
}
|
|
29042
|
+
};
|
|
29043
|
+
|
|
29044
|
+
|
|
29045
|
+
/**
|
|
29046
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
29047
|
+
* @return {!proto.sniipbillapi.UpdateBillRemindersConfigRequest} The clone.
|
|
29048
|
+
*/
|
|
29049
|
+
proto.sniipbillapi.UpdateBillRemindersConfigRequest.prototype.cloneMessage = function() {
|
|
29050
|
+
return /** @type {!proto.sniipbillapi.UpdateBillRemindersConfigRequest} */ (jspb.Message.cloneMessage(this));
|
|
29051
|
+
};
|
|
29052
|
+
|
|
29053
|
+
|
|
29054
|
+
/**
|
|
29055
|
+
* optional UpdateBillReminderConfig data = 1;
|
|
29056
|
+
* @return {proto.sniipbillapi.UpdateBillReminderConfig}
|
|
29057
|
+
*/
|
|
29058
|
+
proto.sniipbillapi.UpdateBillRemindersConfigRequest.prototype.getData = function() {
|
|
29059
|
+
return /** @type{proto.sniipbillapi.UpdateBillReminderConfig} */ (
|
|
29060
|
+
jspb.Message.getWrapperField(this, proto.sniipbillapi.UpdateBillReminderConfig, 1));
|
|
29061
|
+
};
|
|
29062
|
+
|
|
29063
|
+
|
|
29064
|
+
/** @param {proto.sniipbillapi.UpdateBillReminderConfig|undefined} value */
|
|
29065
|
+
proto.sniipbillapi.UpdateBillRemindersConfigRequest.prototype.setData = function(value) {
|
|
29066
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
29067
|
+
};
|
|
29068
|
+
|
|
29069
|
+
|
|
29070
|
+
proto.sniipbillapi.UpdateBillRemindersConfigRequest.prototype.clearData = function() {
|
|
29071
|
+
this.setData(undefined);
|
|
29072
|
+
};
|
|
29073
|
+
|
|
29074
|
+
|
|
29075
|
+
/**
|
|
29076
|
+
* Returns whether this field is set.
|
|
29077
|
+
* @return{!boolean}
|
|
29078
|
+
*/
|
|
29079
|
+
proto.sniipbillapi.UpdateBillRemindersConfigRequest.prototype.hasData = function() {
|
|
29080
|
+
return jspb.Message.getField(this, 1) != null;
|
|
29081
|
+
};
|
|
29082
|
+
|
|
29083
|
+
|
|
29084
|
+
|
|
28493
29085
|
/**
|
|
28494
29086
|
* Generated by JsPbCodeGenerator.
|
|
28495
29087
|
* @param {Array=} opt_data Optional initial data array, typically from a
|