@sniipwebmaster/bill-service-client-grpcweb 26.4.15330 → 26.5.15355
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.
|
@@ -5019,5 +5019,66 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.convertBillToDraft
|
|
|
5019
5019
|
};
|
|
5020
5020
|
|
|
5021
5021
|
|
|
5022
|
+
/**
|
|
5023
|
+
* @const
|
|
5024
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
5025
|
+
* !proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest,
|
|
5026
|
+
* !proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse>}
|
|
5027
|
+
*/
|
|
5028
|
+
const methodDescriptor_SniipBillAPIService_ConvertBillsToDraftByBillerConfigId = new grpc.web.MethodDescriptor(
|
|
5029
|
+
'/sniipbillapi.SniipBillAPIService/ConvertBillsToDraftByBillerConfigId',
|
|
5030
|
+
grpc.web.MethodType.UNARY,
|
|
5031
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest,
|
|
5032
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse,
|
|
5033
|
+
/**
|
|
5034
|
+
* @param {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest} request
|
|
5035
|
+
* @return {!Uint8Array}
|
|
5036
|
+
*/
|
|
5037
|
+
function(request) {
|
|
5038
|
+
return request.serializeBinary();
|
|
5039
|
+
},
|
|
5040
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.deserializeBinary
|
|
5041
|
+
);
|
|
5042
|
+
|
|
5043
|
+
|
|
5044
|
+
/**
|
|
5045
|
+
* @param {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest} request The
|
|
5046
|
+
* request proto
|
|
5047
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5048
|
+
* call metadata
|
|
5049
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse)}
|
|
5050
|
+
* callback The callback function(error, response)
|
|
5051
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse>|undefined}
|
|
5052
|
+
* The XHR Node Readable Stream
|
|
5053
|
+
*/
|
|
5054
|
+
proto.sniipbillapi.SniipBillAPIServiceClient.prototype.convertBillsToDraftByBillerConfigId =
|
|
5055
|
+
function(request, metadata, callback) {
|
|
5056
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
5057
|
+
'/sniipbillapi.SniipBillAPIService/ConvertBillsToDraftByBillerConfigId',
|
|
5058
|
+
request,
|
|
5059
|
+
metadata || {},
|
|
5060
|
+
methodDescriptor_SniipBillAPIService_ConvertBillsToDraftByBillerConfigId,
|
|
5061
|
+
callback);
|
|
5062
|
+
};
|
|
5063
|
+
|
|
5064
|
+
|
|
5065
|
+
/**
|
|
5066
|
+
* @param {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest} request The
|
|
5067
|
+
* request proto
|
|
5068
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
5069
|
+
* call metadata
|
|
5070
|
+
* @return {!Promise<!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse>}
|
|
5071
|
+
* Promise that resolves to the response
|
|
5072
|
+
*/
|
|
5073
|
+
proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.convertBillsToDraftByBillerConfigId =
|
|
5074
|
+
function(request, metadata) {
|
|
5075
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
5076
|
+
'/sniipbillapi.SniipBillAPIService/ConvertBillsToDraftByBillerConfigId',
|
|
5077
|
+
request,
|
|
5078
|
+
metadata || {},
|
|
5079
|
+
methodDescriptor_SniipBillAPIService_ConvertBillsToDraftByBillerConfigId);
|
|
5080
|
+
};
|
|
5081
|
+
|
|
5082
|
+
|
|
5022
5083
|
module.exports = proto.sniipbillapi;
|
|
5023
5084
|
|
|
@@ -72,6 +72,8 @@ goog.exportSymbol('proto.sniipbillapi.CheckUserBillerIdsRequest', null, global);
|
|
|
72
72
|
goog.exportSymbol('proto.sniipbillapi.CheckUserBillerIdsResponse', null, global);
|
|
73
73
|
goog.exportSymbol('proto.sniipbillapi.ConvertBillToDraftRequest', null, global);
|
|
74
74
|
goog.exportSymbol('proto.sniipbillapi.ConvertBillToDraftResponse', null, global);
|
|
75
|
+
goog.exportSymbol('proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest', null, global);
|
|
76
|
+
goog.exportSymbol('proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse', null, global);
|
|
75
77
|
goog.exportSymbol('proto.sniipbillapi.CopyBillRequest', null, global);
|
|
76
78
|
goog.exportSymbol('proto.sniipbillapi.CopyExistingBillRequest', null, global);
|
|
77
79
|
goog.exportSymbol('proto.sniipbillapi.CreateBillFromXeroRequest', null, global);
|
|
@@ -524,6 +526,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
524
526
|
*/
|
|
525
527
|
proto.sniipbillapi.ConvertBillToDraftResponse.displayName = 'proto.sniipbillapi.ConvertBillToDraftResponse';
|
|
526
528
|
}
|
|
529
|
+
/**
|
|
530
|
+
* Generated by JsPbCodeGenerator.
|
|
531
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
532
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
533
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
534
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
535
|
+
* valid.
|
|
536
|
+
* @extends {jspb.Message}
|
|
537
|
+
* @constructor
|
|
538
|
+
*/
|
|
539
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest = function(opt_data) {
|
|
540
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
541
|
+
};
|
|
542
|
+
goog.inherits(proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest, jspb.Message);
|
|
543
|
+
if (goog.DEBUG && !COMPILED) {
|
|
544
|
+
/**
|
|
545
|
+
* @public
|
|
546
|
+
* @override
|
|
547
|
+
*/
|
|
548
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest.displayName = 'proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest';
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
* Generated by JsPbCodeGenerator.
|
|
552
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
553
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
554
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
555
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
556
|
+
* valid.
|
|
557
|
+
* @extends {jspb.Message}
|
|
558
|
+
* @constructor
|
|
559
|
+
*/
|
|
560
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse = function(opt_data) {
|
|
561
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.repeatedFields_, null);
|
|
562
|
+
};
|
|
563
|
+
goog.inherits(proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse, jspb.Message);
|
|
564
|
+
if (goog.DEBUG && !COMPILED) {
|
|
565
|
+
/**
|
|
566
|
+
* @public
|
|
567
|
+
* @override
|
|
568
|
+
*/
|
|
569
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.displayName = 'proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse';
|
|
570
|
+
}
|
|
527
571
|
/**
|
|
528
572
|
* Generated by JsPbCodeGenerator.
|
|
529
573
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -8270,6 +8314,396 @@ proto.sniipbillapi.ConvertBillToDraftResponse.prototype.setBillid = function(val
|
|
|
8270
8314
|
|
|
8271
8315
|
|
|
8272
8316
|
|
|
8317
|
+
|
|
8318
|
+
|
|
8319
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8320
|
+
/**
|
|
8321
|
+
* Creates an object representation of this proto.
|
|
8322
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8323
|
+
* Optional fields that are not set will be set to undefined.
|
|
8324
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8325
|
+
* For the list of reserved names please see:
|
|
8326
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8327
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8328
|
+
* JSPB instance for transitional soy proto support:
|
|
8329
|
+
* http://goto/soy-param-migration
|
|
8330
|
+
* @return {!Object}
|
|
8331
|
+
*/
|
|
8332
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
8333
|
+
return proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest.toObject(opt_includeInstance, this);
|
|
8334
|
+
};
|
|
8335
|
+
|
|
8336
|
+
|
|
8337
|
+
/**
|
|
8338
|
+
* Static version of the {@see toObject} method.
|
|
8339
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8340
|
+
* the JSPB instance for transitional soy proto support:
|
|
8341
|
+
* http://goto/soy-param-migration
|
|
8342
|
+
* @param {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest} msg The msg instance to transform.
|
|
8343
|
+
* @return {!Object}
|
|
8344
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8345
|
+
*/
|
|
8346
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest.toObject = function(includeInstance, msg) {
|
|
8347
|
+
var f, obj = {
|
|
8348
|
+
billerconfigid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
8349
|
+
};
|
|
8350
|
+
|
|
8351
|
+
if (includeInstance) {
|
|
8352
|
+
obj.$jspbMessageInstance = msg;
|
|
8353
|
+
}
|
|
8354
|
+
return obj;
|
|
8355
|
+
};
|
|
8356
|
+
}
|
|
8357
|
+
|
|
8358
|
+
|
|
8359
|
+
/**
|
|
8360
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8361
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8362
|
+
* @return {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest}
|
|
8363
|
+
*/
|
|
8364
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest.deserializeBinary = function(bytes) {
|
|
8365
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8366
|
+
var msg = new proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest;
|
|
8367
|
+
return proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
8368
|
+
};
|
|
8369
|
+
|
|
8370
|
+
|
|
8371
|
+
/**
|
|
8372
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8373
|
+
* given reader into the given message object.
|
|
8374
|
+
* @param {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest} msg The message object to deserialize into.
|
|
8375
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8376
|
+
* @return {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest}
|
|
8377
|
+
*/
|
|
8378
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
8379
|
+
while (reader.nextField()) {
|
|
8380
|
+
if (reader.isEndGroup()) {
|
|
8381
|
+
break;
|
|
8382
|
+
}
|
|
8383
|
+
var field = reader.getFieldNumber();
|
|
8384
|
+
switch (field) {
|
|
8385
|
+
case 1:
|
|
8386
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8387
|
+
msg.setBillerconfigid(value);
|
|
8388
|
+
break;
|
|
8389
|
+
default:
|
|
8390
|
+
reader.skipField();
|
|
8391
|
+
break;
|
|
8392
|
+
}
|
|
8393
|
+
}
|
|
8394
|
+
return msg;
|
|
8395
|
+
};
|
|
8396
|
+
|
|
8397
|
+
|
|
8398
|
+
/**
|
|
8399
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8400
|
+
* @return {!Uint8Array}
|
|
8401
|
+
*/
|
|
8402
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest.prototype.serializeBinary = function() {
|
|
8403
|
+
var writer = new jspb.BinaryWriter();
|
|
8404
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest.serializeBinaryToWriter(this, writer);
|
|
8405
|
+
return writer.getResultBuffer();
|
|
8406
|
+
};
|
|
8407
|
+
|
|
8408
|
+
|
|
8409
|
+
/**
|
|
8410
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8411
|
+
* format), writing to the given BinaryWriter.
|
|
8412
|
+
* @param {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest} message
|
|
8413
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8414
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8415
|
+
*/
|
|
8416
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
8417
|
+
var f = undefined;
|
|
8418
|
+
f = message.getBillerconfigid();
|
|
8419
|
+
if (f !== 0) {
|
|
8420
|
+
writer.writeInt64(
|
|
8421
|
+
1,
|
|
8422
|
+
f
|
|
8423
|
+
);
|
|
8424
|
+
}
|
|
8425
|
+
};
|
|
8426
|
+
|
|
8427
|
+
|
|
8428
|
+
/**
|
|
8429
|
+
* optional int64 billerConfigId = 1;
|
|
8430
|
+
* @return {number}
|
|
8431
|
+
*/
|
|
8432
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest.prototype.getBillerconfigid = function() {
|
|
8433
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
8434
|
+
};
|
|
8435
|
+
|
|
8436
|
+
|
|
8437
|
+
/**
|
|
8438
|
+
* @param {number} value
|
|
8439
|
+
* @return {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest} returns this
|
|
8440
|
+
*/
|
|
8441
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdRequest.prototype.setBillerconfigid = function(value) {
|
|
8442
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
8443
|
+
};
|
|
8444
|
+
|
|
8445
|
+
|
|
8446
|
+
|
|
8447
|
+
/**
|
|
8448
|
+
* List of repeated fields within this message type.
|
|
8449
|
+
* @private {!Array<number>}
|
|
8450
|
+
* @const
|
|
8451
|
+
*/
|
|
8452
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.repeatedFields_ = [2,3];
|
|
8453
|
+
|
|
8454
|
+
|
|
8455
|
+
|
|
8456
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8457
|
+
/**
|
|
8458
|
+
* Creates an object representation of this proto.
|
|
8459
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8460
|
+
* Optional fields that are not set will be set to undefined.
|
|
8461
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8462
|
+
* For the list of reserved names please see:
|
|
8463
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8464
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8465
|
+
* JSPB instance for transitional soy proto support:
|
|
8466
|
+
* http://goto/soy-param-migration
|
|
8467
|
+
* @return {!Object}
|
|
8468
|
+
*/
|
|
8469
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
8470
|
+
return proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.toObject(opt_includeInstance, this);
|
|
8471
|
+
};
|
|
8472
|
+
|
|
8473
|
+
|
|
8474
|
+
/**
|
|
8475
|
+
* Static version of the {@see toObject} method.
|
|
8476
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8477
|
+
* the JSPB instance for transitional soy proto support:
|
|
8478
|
+
* http://goto/soy-param-migration
|
|
8479
|
+
* @param {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse} msg The msg instance to transform.
|
|
8480
|
+
* @return {!Object}
|
|
8481
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8482
|
+
*/
|
|
8483
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.toObject = function(includeInstance, msg) {
|
|
8484
|
+
var f, obj = {
|
|
8485
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
|
|
8486
|
+
revertedbillidsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
8487
|
+
affecteduseridsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
8488
|
+
};
|
|
8489
|
+
|
|
8490
|
+
if (includeInstance) {
|
|
8491
|
+
obj.$jspbMessageInstance = msg;
|
|
8492
|
+
}
|
|
8493
|
+
return obj;
|
|
8494
|
+
};
|
|
8495
|
+
}
|
|
8496
|
+
|
|
8497
|
+
|
|
8498
|
+
/**
|
|
8499
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8500
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8501
|
+
* @return {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse}
|
|
8502
|
+
*/
|
|
8503
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.deserializeBinary = function(bytes) {
|
|
8504
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8505
|
+
var msg = new proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse;
|
|
8506
|
+
return proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
8507
|
+
};
|
|
8508
|
+
|
|
8509
|
+
|
|
8510
|
+
/**
|
|
8511
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8512
|
+
* given reader into the given message object.
|
|
8513
|
+
* @param {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse} msg The message object to deserialize into.
|
|
8514
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8515
|
+
* @return {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse}
|
|
8516
|
+
*/
|
|
8517
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
8518
|
+
while (reader.nextField()) {
|
|
8519
|
+
if (reader.isEndGroup()) {
|
|
8520
|
+
break;
|
|
8521
|
+
}
|
|
8522
|
+
var field = reader.getFieldNumber();
|
|
8523
|
+
switch (field) {
|
|
8524
|
+
case 1:
|
|
8525
|
+
var value = new proto.sniipbillapi.ResponseCode;
|
|
8526
|
+
reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
|
|
8527
|
+
msg.setResponsecode(value);
|
|
8528
|
+
break;
|
|
8529
|
+
case 2:
|
|
8530
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
|
|
8531
|
+
for (var i = 0; i < values.length; i++) {
|
|
8532
|
+
msg.addRevertedbillids(values[i]);
|
|
8533
|
+
}
|
|
8534
|
+
break;
|
|
8535
|
+
case 3:
|
|
8536
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
|
|
8537
|
+
for (var i = 0; i < values.length; i++) {
|
|
8538
|
+
msg.addAffecteduserids(values[i]);
|
|
8539
|
+
}
|
|
8540
|
+
break;
|
|
8541
|
+
default:
|
|
8542
|
+
reader.skipField();
|
|
8543
|
+
break;
|
|
8544
|
+
}
|
|
8545
|
+
}
|
|
8546
|
+
return msg;
|
|
8547
|
+
};
|
|
8548
|
+
|
|
8549
|
+
|
|
8550
|
+
/**
|
|
8551
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8552
|
+
* @return {!Uint8Array}
|
|
8553
|
+
*/
|
|
8554
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.prototype.serializeBinary = function() {
|
|
8555
|
+
var writer = new jspb.BinaryWriter();
|
|
8556
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.serializeBinaryToWriter(this, writer);
|
|
8557
|
+
return writer.getResultBuffer();
|
|
8558
|
+
};
|
|
8559
|
+
|
|
8560
|
+
|
|
8561
|
+
/**
|
|
8562
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8563
|
+
* format), writing to the given BinaryWriter.
|
|
8564
|
+
* @param {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse} message
|
|
8565
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8566
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8567
|
+
*/
|
|
8568
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
8569
|
+
var f = undefined;
|
|
8570
|
+
f = message.getResponsecode();
|
|
8571
|
+
if (f != null) {
|
|
8572
|
+
writer.writeMessage(
|
|
8573
|
+
1,
|
|
8574
|
+
f,
|
|
8575
|
+
proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
|
|
8576
|
+
);
|
|
8577
|
+
}
|
|
8578
|
+
f = message.getRevertedbillidsList();
|
|
8579
|
+
if (f.length > 0) {
|
|
8580
|
+
writer.writePackedInt64(
|
|
8581
|
+
2,
|
|
8582
|
+
f
|
|
8583
|
+
);
|
|
8584
|
+
}
|
|
8585
|
+
f = message.getAffecteduseridsList();
|
|
8586
|
+
if (f.length > 0) {
|
|
8587
|
+
writer.writePackedInt64(
|
|
8588
|
+
3,
|
|
8589
|
+
f
|
|
8590
|
+
);
|
|
8591
|
+
}
|
|
8592
|
+
};
|
|
8593
|
+
|
|
8594
|
+
|
|
8595
|
+
/**
|
|
8596
|
+
* optional ResponseCode responseCode = 1;
|
|
8597
|
+
* @return {?proto.sniipbillapi.ResponseCode}
|
|
8598
|
+
*/
|
|
8599
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.prototype.getResponsecode = function() {
|
|
8600
|
+
return /** @type{?proto.sniipbillapi.ResponseCode} */ (
|
|
8601
|
+
jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
|
|
8602
|
+
};
|
|
8603
|
+
|
|
8604
|
+
|
|
8605
|
+
/**
|
|
8606
|
+
* @param {?proto.sniipbillapi.ResponseCode|undefined} value
|
|
8607
|
+
* @return {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse} returns this
|
|
8608
|
+
*/
|
|
8609
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.prototype.setResponsecode = function(value) {
|
|
8610
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
8611
|
+
};
|
|
8612
|
+
|
|
8613
|
+
|
|
8614
|
+
/**
|
|
8615
|
+
* Clears the message field making it undefined.
|
|
8616
|
+
* @return {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse} returns this
|
|
8617
|
+
*/
|
|
8618
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.prototype.clearResponsecode = function() {
|
|
8619
|
+
return this.setResponsecode(undefined);
|
|
8620
|
+
};
|
|
8621
|
+
|
|
8622
|
+
|
|
8623
|
+
/**
|
|
8624
|
+
* Returns whether this field is set.
|
|
8625
|
+
* @return {boolean}
|
|
8626
|
+
*/
|
|
8627
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.prototype.hasResponsecode = function() {
|
|
8628
|
+
return jspb.Message.getField(this, 1) != null;
|
|
8629
|
+
};
|
|
8630
|
+
|
|
8631
|
+
|
|
8632
|
+
/**
|
|
8633
|
+
* repeated int64 revertedBillIds = 2;
|
|
8634
|
+
* @return {!Array<number>}
|
|
8635
|
+
*/
|
|
8636
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.prototype.getRevertedbillidsList = function() {
|
|
8637
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
8638
|
+
};
|
|
8639
|
+
|
|
8640
|
+
|
|
8641
|
+
/**
|
|
8642
|
+
* @param {!Array<number>} value
|
|
8643
|
+
* @return {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse} returns this
|
|
8644
|
+
*/
|
|
8645
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.prototype.setRevertedbillidsList = function(value) {
|
|
8646
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
8647
|
+
};
|
|
8648
|
+
|
|
8649
|
+
|
|
8650
|
+
/**
|
|
8651
|
+
* @param {number} value
|
|
8652
|
+
* @param {number=} opt_index
|
|
8653
|
+
* @return {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse} returns this
|
|
8654
|
+
*/
|
|
8655
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.prototype.addRevertedbillids = function(value, opt_index) {
|
|
8656
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
8657
|
+
};
|
|
8658
|
+
|
|
8659
|
+
|
|
8660
|
+
/**
|
|
8661
|
+
* Clears the list making it empty but non-null.
|
|
8662
|
+
* @return {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse} returns this
|
|
8663
|
+
*/
|
|
8664
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.prototype.clearRevertedbillidsList = function() {
|
|
8665
|
+
return this.setRevertedbillidsList([]);
|
|
8666
|
+
};
|
|
8667
|
+
|
|
8668
|
+
|
|
8669
|
+
/**
|
|
8670
|
+
* repeated int64 affectedUserIds = 3;
|
|
8671
|
+
* @return {!Array<number>}
|
|
8672
|
+
*/
|
|
8673
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.prototype.getAffecteduseridsList = function() {
|
|
8674
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
8675
|
+
};
|
|
8676
|
+
|
|
8677
|
+
|
|
8678
|
+
/**
|
|
8679
|
+
* @param {!Array<number>} value
|
|
8680
|
+
* @return {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse} returns this
|
|
8681
|
+
*/
|
|
8682
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.prototype.setAffecteduseridsList = function(value) {
|
|
8683
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
8684
|
+
};
|
|
8685
|
+
|
|
8686
|
+
|
|
8687
|
+
/**
|
|
8688
|
+
* @param {number} value
|
|
8689
|
+
* @param {number=} opt_index
|
|
8690
|
+
* @return {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse} returns this
|
|
8691
|
+
*/
|
|
8692
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.prototype.addAffecteduserids = function(value, opt_index) {
|
|
8693
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
8694
|
+
};
|
|
8695
|
+
|
|
8696
|
+
|
|
8697
|
+
/**
|
|
8698
|
+
* Clears the list making it empty but non-null.
|
|
8699
|
+
* @return {!proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse} returns this
|
|
8700
|
+
*/
|
|
8701
|
+
proto.sniipbillapi.ConvertBillsToDraftByBillerConfigIdResponse.prototype.clearAffecteduseridsList = function() {
|
|
8702
|
+
return this.setAffecteduseridsList([]);
|
|
8703
|
+
};
|
|
8704
|
+
|
|
8705
|
+
|
|
8706
|
+
|
|
8273
8707
|
/**
|
|
8274
8708
|
* List of repeated fields within this message type.
|
|
8275
8709
|
* @private {!Array<number>}
|