@sniipwebmaster/bill-service-client-grpcweb 22.10.8829 → 22.10.8846
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.
|
@@ -2154,6 +2154,86 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.getUserBillConfig
|
|
|
2154
2154
|
};
|
|
2155
2155
|
|
|
2156
2156
|
|
|
2157
|
+
/**
|
|
2158
|
+
* @const
|
|
2159
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2160
|
+
* !proto.sniipbillapi.GetUserBillDetailsRequest,
|
|
2161
|
+
* !proto.sniipbillapi.BillDetailsResponse>}
|
|
2162
|
+
*/
|
|
2163
|
+
const methodDescriptor_SniipBillAPIService_GetUserBillDetails = new grpc.web.MethodDescriptor(
|
|
2164
|
+
'/sniipbillapi.SniipBillAPIService/GetUserBillDetails',
|
|
2165
|
+
grpc.web.MethodType.UNARY,
|
|
2166
|
+
proto.sniipbillapi.GetUserBillDetailsRequest,
|
|
2167
|
+
proto.sniipbillapi.BillDetailsResponse,
|
|
2168
|
+
/**
|
|
2169
|
+
* @param {!proto.sniipbillapi.GetUserBillDetailsRequest} request
|
|
2170
|
+
* @return {!Uint8Array}
|
|
2171
|
+
*/
|
|
2172
|
+
function(request) {
|
|
2173
|
+
return request.serializeBinary();
|
|
2174
|
+
},
|
|
2175
|
+
proto.sniipbillapi.BillDetailsResponse.deserializeBinary
|
|
2176
|
+
);
|
|
2177
|
+
|
|
2178
|
+
|
|
2179
|
+
/**
|
|
2180
|
+
* @const
|
|
2181
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
2182
|
+
* !proto.sniipbillapi.GetUserBillDetailsRequest,
|
|
2183
|
+
* !proto.sniipbillapi.BillDetailsResponse>}
|
|
2184
|
+
*/
|
|
2185
|
+
const methodInfo_SniipBillAPIService_GetUserBillDetails = new grpc.web.AbstractClientBase.MethodInfo(
|
|
2186
|
+
proto.sniipbillapi.BillDetailsResponse,
|
|
2187
|
+
/**
|
|
2188
|
+
* @param {!proto.sniipbillapi.GetUserBillDetailsRequest} request
|
|
2189
|
+
* @return {!Uint8Array}
|
|
2190
|
+
*/
|
|
2191
|
+
function(request) {
|
|
2192
|
+
return request.serializeBinary();
|
|
2193
|
+
},
|
|
2194
|
+
proto.sniipbillapi.BillDetailsResponse.deserializeBinary
|
|
2195
|
+
);
|
|
2196
|
+
|
|
2197
|
+
|
|
2198
|
+
/**
|
|
2199
|
+
* @param {!proto.sniipbillapi.GetUserBillDetailsRequest} request The
|
|
2200
|
+
* request proto
|
|
2201
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2202
|
+
* call metadata
|
|
2203
|
+
* @param {function(?grpc.web.Error, ?proto.sniipbillapi.BillDetailsResponse)}
|
|
2204
|
+
* callback The callback function(error, response)
|
|
2205
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.BillDetailsResponse>|undefined}
|
|
2206
|
+
* The XHR Node Readable Stream
|
|
2207
|
+
*/
|
|
2208
|
+
proto.sniipbillapi.SniipBillAPIServiceClient.prototype.getUserBillDetails =
|
|
2209
|
+
function(request, metadata, callback) {
|
|
2210
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2211
|
+
'/sniipbillapi.SniipBillAPIService/GetUserBillDetails',
|
|
2212
|
+
request,
|
|
2213
|
+
metadata || {},
|
|
2214
|
+
methodDescriptor_SniipBillAPIService_GetUserBillDetails,
|
|
2215
|
+
callback);
|
|
2216
|
+
};
|
|
2217
|
+
|
|
2218
|
+
|
|
2219
|
+
/**
|
|
2220
|
+
* @param {!proto.sniipbillapi.GetUserBillDetailsRequest} request The
|
|
2221
|
+
* request proto
|
|
2222
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2223
|
+
* call metadata
|
|
2224
|
+
* @return {!Promise<!proto.sniipbillapi.BillDetailsResponse>}
|
|
2225
|
+
* Promise that resolves to the response
|
|
2226
|
+
*/
|
|
2227
|
+
proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.getUserBillDetails =
|
|
2228
|
+
function(request, metadata) {
|
|
2229
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2230
|
+
'/sniipbillapi.SniipBillAPIService/GetUserBillDetails',
|
|
2231
|
+
request,
|
|
2232
|
+
metadata || {},
|
|
2233
|
+
methodDescriptor_SniipBillAPIService_GetUserBillDetails);
|
|
2234
|
+
};
|
|
2235
|
+
|
|
2236
|
+
|
|
2157
2237
|
/**
|
|
2158
2238
|
* @const
|
|
2159
2239
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -72,6 +72,7 @@ goog.exportSymbol('proto.sniipbillapi.GetToDoListRequest', null, global);
|
|
|
72
72
|
goog.exportSymbol('proto.sniipbillapi.GetTodoRequest', null, global);
|
|
73
73
|
goog.exportSymbol('proto.sniipbillapi.GetUnpaidMbillsRequest', null, global);
|
|
74
74
|
goog.exportSymbol('proto.sniipbillapi.GetUnpaidMbillsResponse', null, global);
|
|
75
|
+
goog.exportSymbol('proto.sniipbillapi.GetUserBillDetailsRequest', null, global);
|
|
75
76
|
goog.exportSymbol('proto.sniipbillapi.GetUserBillsRequest', null, global);
|
|
76
77
|
goog.exportSymbol('proto.sniipbillapi.GetUsersForBillerResponse', null, global);
|
|
77
78
|
goog.exportSymbol('proto.sniipbillapi.Invoice', null, global);
|
|
@@ -4894,7 +4895,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4894
4895
|
* @private {!Array<number>}
|
|
4895
4896
|
* @const
|
|
4896
4897
|
*/
|
|
4897
|
-
proto.sniipbillapi.BillDetailsResponse.repeatedFields_ = [3,4];
|
|
4898
|
+
proto.sniipbillapi.BillDetailsResponse.repeatedFields_ = [3,4,5];
|
|
4898
4899
|
|
|
4899
4900
|
|
|
4900
4901
|
|
|
@@ -4929,7 +4930,9 @@ proto.sniipbillapi.BillDetailsResponse.toObject = function(includeInstance, msg)
|
|
|
4929
4930
|
remindersList: jspb.Message.toObjectList(msg.getRemindersList(),
|
|
4930
4931
|
proto.sniipbillapi.BillReminder.toObject, includeInstance),
|
|
4931
4932
|
paymentsList: jspb.Message.toObjectList(msg.getPaymentsList(),
|
|
4932
|
-
proto.sniipbillapi.BillPayment.toObject, includeInstance)
|
|
4933
|
+
proto.sniipbillapi.BillPayment.toObject, includeInstance),
|
|
4934
|
+
attachmentsList: jspb.Message.toObjectList(msg.getAttachmentsList(),
|
|
4935
|
+
proto.sniipbillapi.AttachmentDetails.toObject, includeInstance)
|
|
4933
4936
|
};
|
|
4934
4937
|
|
|
4935
4938
|
if (includeInstance) {
|
|
@@ -4988,6 +4991,12 @@ proto.sniipbillapi.BillDetailsResponse.deserializeBinaryFromReader = function(ms
|
|
|
4988
4991
|
msg.getPaymentsList().push(value);
|
|
4989
4992
|
msg.setPaymentsList(msg.getPaymentsList());
|
|
4990
4993
|
break;
|
|
4994
|
+
case 5:
|
|
4995
|
+
var value = new proto.sniipbillapi.AttachmentDetails;
|
|
4996
|
+
reader.readMessage(value,proto.sniipbillapi.AttachmentDetails.deserializeBinaryFromReader);
|
|
4997
|
+
msg.getAttachmentsList().push(value);
|
|
4998
|
+
msg.setAttachmentsList(msg.getAttachmentsList());
|
|
4999
|
+
break;
|
|
4991
5000
|
default:
|
|
4992
5001
|
reader.skipField();
|
|
4993
5002
|
break;
|
|
@@ -5058,6 +5067,14 @@ proto.sniipbillapi.BillDetailsResponse.prototype.serializeBinaryToWriter = funct
|
|
|
5058
5067
|
proto.sniipbillapi.BillPayment.serializeBinaryToWriter
|
|
5059
5068
|
);
|
|
5060
5069
|
}
|
|
5070
|
+
f = this.getAttachmentsList();
|
|
5071
|
+
if (f.length > 0) {
|
|
5072
|
+
writer.writeRepeatedMessage(
|
|
5073
|
+
5,
|
|
5074
|
+
f,
|
|
5075
|
+
proto.sniipbillapi.AttachmentDetails.serializeBinaryToWriter
|
|
5076
|
+
);
|
|
5077
|
+
}
|
|
5061
5078
|
};
|
|
5062
5079
|
|
|
5063
5080
|
|
|
@@ -5176,6 +5193,29 @@ proto.sniipbillapi.BillDetailsResponse.prototype.clearPaymentsList = function()
|
|
|
5176
5193
|
};
|
|
5177
5194
|
|
|
5178
5195
|
|
|
5196
|
+
/**
|
|
5197
|
+
* repeated AttachmentDetails attachments = 5;
|
|
5198
|
+
* If you change this array by adding, removing or replacing elements, or if you
|
|
5199
|
+
* replace the array itself, then you must call the setter to update it.
|
|
5200
|
+
* @return {!Array.<!proto.sniipbillapi.AttachmentDetails>}
|
|
5201
|
+
*/
|
|
5202
|
+
proto.sniipbillapi.BillDetailsResponse.prototype.getAttachmentsList = function() {
|
|
5203
|
+
return /** @type{!Array.<!proto.sniipbillapi.AttachmentDetails>} */ (
|
|
5204
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.AttachmentDetails, 5));
|
|
5205
|
+
};
|
|
5206
|
+
|
|
5207
|
+
|
|
5208
|
+
/** @param {Array.<!proto.sniipbillapi.AttachmentDetails>} value */
|
|
5209
|
+
proto.sniipbillapi.BillDetailsResponse.prototype.setAttachmentsList = function(value) {
|
|
5210
|
+
jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
5211
|
+
};
|
|
5212
|
+
|
|
5213
|
+
|
|
5214
|
+
proto.sniipbillapi.BillDetailsResponse.prototype.clearAttachmentsList = function() {
|
|
5215
|
+
this.setAttachmentsList([]);
|
|
5216
|
+
};
|
|
5217
|
+
|
|
5218
|
+
|
|
5179
5219
|
|
|
5180
5220
|
/**
|
|
5181
5221
|
* Generated by JsPbCodeGenerator.
|
|
@@ -16338,6 +16378,192 @@ proto.sniipbillapi.GetUnpaidMbillsResponse.prototype.clearUnpaidmbillsList = fun
|
|
|
16338
16378
|
|
|
16339
16379
|
|
|
16340
16380
|
|
|
16381
|
+
/**
|
|
16382
|
+
* Generated by JsPbCodeGenerator.
|
|
16383
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
16384
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
16385
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
16386
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
16387
|
+
* valid.
|
|
16388
|
+
* @extends {jspb.Message}
|
|
16389
|
+
* @constructor
|
|
16390
|
+
*/
|
|
16391
|
+
proto.sniipbillapi.GetUserBillDetailsRequest = function(opt_data) {
|
|
16392
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
16393
|
+
};
|
|
16394
|
+
goog.inherits(proto.sniipbillapi.GetUserBillDetailsRequest, jspb.Message);
|
|
16395
|
+
if (goog.DEBUG && !COMPILED) {
|
|
16396
|
+
proto.sniipbillapi.GetUserBillDetailsRequest.displayName = 'proto.sniipbillapi.GetUserBillDetailsRequest';
|
|
16397
|
+
}
|
|
16398
|
+
|
|
16399
|
+
|
|
16400
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16401
|
+
/**
|
|
16402
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
16403
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16404
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16405
|
+
* For the list of reserved names please see:
|
|
16406
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
16407
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
16408
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
16409
|
+
* @return {!Object}
|
|
16410
|
+
*/
|
|
16411
|
+
proto.sniipbillapi.GetUserBillDetailsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
16412
|
+
return proto.sniipbillapi.GetUserBillDetailsRequest.toObject(opt_includeInstance, this);
|
|
16413
|
+
};
|
|
16414
|
+
|
|
16415
|
+
|
|
16416
|
+
/**
|
|
16417
|
+
* Static version of the {@see toObject} method.
|
|
16418
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
16419
|
+
* instance for transitional soy proto support:
|
|
16420
|
+
* http://goto/soy-param-migration
|
|
16421
|
+
* @param {!proto.sniipbillapi.GetUserBillDetailsRequest} msg The msg instance to transform.
|
|
16422
|
+
* @return {!Object}
|
|
16423
|
+
*/
|
|
16424
|
+
proto.sniipbillapi.GetUserBillDetailsRequest.toObject = function(includeInstance, msg) {
|
|
16425
|
+
var f, obj = {
|
|
16426
|
+
userid: msg.getUserid(),
|
|
16427
|
+
billid: msg.getBillid()
|
|
16428
|
+
};
|
|
16429
|
+
|
|
16430
|
+
if (includeInstance) {
|
|
16431
|
+
obj.$jspbMessageInstance = msg;
|
|
16432
|
+
}
|
|
16433
|
+
return obj;
|
|
16434
|
+
};
|
|
16435
|
+
}
|
|
16436
|
+
|
|
16437
|
+
|
|
16438
|
+
/**
|
|
16439
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16440
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16441
|
+
* @return {!proto.sniipbillapi.GetUserBillDetailsRequest}
|
|
16442
|
+
*/
|
|
16443
|
+
proto.sniipbillapi.GetUserBillDetailsRequest.deserializeBinary = function(bytes) {
|
|
16444
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16445
|
+
var msg = new proto.sniipbillapi.GetUserBillDetailsRequest;
|
|
16446
|
+
return proto.sniipbillapi.GetUserBillDetailsRequest.deserializeBinaryFromReader(msg, reader);
|
|
16447
|
+
};
|
|
16448
|
+
|
|
16449
|
+
|
|
16450
|
+
/**
|
|
16451
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16452
|
+
* given reader into the given message object.
|
|
16453
|
+
* @param {!proto.sniipbillapi.GetUserBillDetailsRequest} msg The message object to deserialize into.
|
|
16454
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16455
|
+
* @return {!proto.sniipbillapi.GetUserBillDetailsRequest}
|
|
16456
|
+
*/
|
|
16457
|
+
proto.sniipbillapi.GetUserBillDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
16458
|
+
while (reader.nextField()) {
|
|
16459
|
+
if (reader.isEndGroup()) {
|
|
16460
|
+
break;
|
|
16461
|
+
}
|
|
16462
|
+
var field = reader.getFieldNumber();
|
|
16463
|
+
switch (field) {
|
|
16464
|
+
case 1:
|
|
16465
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
16466
|
+
msg.setUserid(value);
|
|
16467
|
+
break;
|
|
16468
|
+
case 2:
|
|
16469
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
16470
|
+
msg.setBillid(value);
|
|
16471
|
+
break;
|
|
16472
|
+
default:
|
|
16473
|
+
reader.skipField();
|
|
16474
|
+
break;
|
|
16475
|
+
}
|
|
16476
|
+
}
|
|
16477
|
+
return msg;
|
|
16478
|
+
};
|
|
16479
|
+
|
|
16480
|
+
|
|
16481
|
+
/**
|
|
16482
|
+
* Class method variant: serializes the given message to binary data
|
|
16483
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
16484
|
+
* @param {!proto.sniipbillapi.GetUserBillDetailsRequest} message
|
|
16485
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16486
|
+
*/
|
|
16487
|
+
proto.sniipbillapi.GetUserBillDetailsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
16488
|
+
message.serializeBinaryToWriter(writer);
|
|
16489
|
+
};
|
|
16490
|
+
|
|
16491
|
+
|
|
16492
|
+
/**
|
|
16493
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16494
|
+
* @return {!Uint8Array}
|
|
16495
|
+
*/
|
|
16496
|
+
proto.sniipbillapi.GetUserBillDetailsRequest.prototype.serializeBinary = function() {
|
|
16497
|
+
var writer = new jspb.BinaryWriter();
|
|
16498
|
+
this.serializeBinaryToWriter(writer);
|
|
16499
|
+
return writer.getResultBuffer();
|
|
16500
|
+
};
|
|
16501
|
+
|
|
16502
|
+
|
|
16503
|
+
/**
|
|
16504
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
16505
|
+
* writing to the given BinaryWriter.
|
|
16506
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16507
|
+
*/
|
|
16508
|
+
proto.sniipbillapi.GetUserBillDetailsRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
16509
|
+
var f = undefined;
|
|
16510
|
+
f = this.getUserid();
|
|
16511
|
+
if (f !== 0) {
|
|
16512
|
+
writer.writeInt64(
|
|
16513
|
+
1,
|
|
16514
|
+
f
|
|
16515
|
+
);
|
|
16516
|
+
}
|
|
16517
|
+
f = this.getBillid();
|
|
16518
|
+
if (f !== 0) {
|
|
16519
|
+
writer.writeInt64(
|
|
16520
|
+
2,
|
|
16521
|
+
f
|
|
16522
|
+
);
|
|
16523
|
+
}
|
|
16524
|
+
};
|
|
16525
|
+
|
|
16526
|
+
|
|
16527
|
+
/**
|
|
16528
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
16529
|
+
* @return {!proto.sniipbillapi.GetUserBillDetailsRequest} The clone.
|
|
16530
|
+
*/
|
|
16531
|
+
proto.sniipbillapi.GetUserBillDetailsRequest.prototype.cloneMessage = function() {
|
|
16532
|
+
return /** @type {!proto.sniipbillapi.GetUserBillDetailsRequest} */ (jspb.Message.cloneMessage(this));
|
|
16533
|
+
};
|
|
16534
|
+
|
|
16535
|
+
|
|
16536
|
+
/**
|
|
16537
|
+
* optional int64 userId = 1;
|
|
16538
|
+
* @return {number}
|
|
16539
|
+
*/
|
|
16540
|
+
proto.sniipbillapi.GetUserBillDetailsRequest.prototype.getUserid = function() {
|
|
16541
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
16542
|
+
};
|
|
16543
|
+
|
|
16544
|
+
|
|
16545
|
+
/** @param {number} value */
|
|
16546
|
+
proto.sniipbillapi.GetUserBillDetailsRequest.prototype.setUserid = function(value) {
|
|
16547
|
+
jspb.Message.setField(this, 1, value);
|
|
16548
|
+
};
|
|
16549
|
+
|
|
16550
|
+
|
|
16551
|
+
/**
|
|
16552
|
+
* optional int64 billId = 2;
|
|
16553
|
+
* @return {number}
|
|
16554
|
+
*/
|
|
16555
|
+
proto.sniipbillapi.GetUserBillDetailsRequest.prototype.getBillid = function() {
|
|
16556
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
16557
|
+
};
|
|
16558
|
+
|
|
16559
|
+
|
|
16560
|
+
/** @param {number} value */
|
|
16561
|
+
proto.sniipbillapi.GetUserBillDetailsRequest.prototype.setBillid = function(value) {
|
|
16562
|
+
jspb.Message.setField(this, 2, value);
|
|
16563
|
+
};
|
|
16564
|
+
|
|
16565
|
+
|
|
16566
|
+
|
|
16341
16567
|
/**
|
|
16342
16568
|
* Generated by JsPbCodeGenerator.
|
|
16343
16569
|
* @param {Array=} opt_data Optional initial data array, typically from a
|