@sniipwebmaster/bill-service-client-grpcweb 23.3.11009 → 23.3.11036
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.
|
@@ -4234,6 +4234,86 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.usersForBiller =
|
|
|
4234
4234
|
};
|
|
4235
4235
|
|
|
4236
4236
|
|
|
4237
|
+
/**
|
|
4238
|
+
* @const
|
|
4239
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
4240
|
+
* !proto.sniipbillapi.UsersForBillerConfigRequest,
|
|
4241
|
+
* !proto.sniipbillapi.GetUsersForBillerResponse>}
|
|
4242
|
+
*/
|
|
4243
|
+
const methodDescriptor_SniipBillAPIService_UsersForBillerConfig = new grpc.web.MethodDescriptor(
|
|
4244
|
+
'/sniipbillapi.SniipBillAPIService/UsersForBillerConfig',
|
|
4245
|
+
grpc.web.MethodType.UNARY,
|
|
4246
|
+
proto.sniipbillapi.UsersForBillerConfigRequest,
|
|
4247
|
+
proto.sniipbillapi.GetUsersForBillerResponse,
|
|
4248
|
+
/**
|
|
4249
|
+
* @param {!proto.sniipbillapi.UsersForBillerConfigRequest} request
|
|
4250
|
+
* @return {!Uint8Array}
|
|
4251
|
+
*/
|
|
4252
|
+
function(request) {
|
|
4253
|
+
return request.serializeBinary();
|
|
4254
|
+
},
|
|
4255
|
+
proto.sniipbillapi.GetUsersForBillerResponse.deserializeBinary
|
|
4256
|
+
);
|
|
4257
|
+
|
|
4258
|
+
|
|
4259
|
+
/**
|
|
4260
|
+
* @const
|
|
4261
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
4262
|
+
* !proto.sniipbillapi.UsersForBillerConfigRequest,
|
|
4263
|
+
* !proto.sniipbillapi.GetUsersForBillerResponse>}
|
|
4264
|
+
*/
|
|
4265
|
+
const methodInfo_SniipBillAPIService_UsersForBillerConfig = new grpc.web.AbstractClientBase.MethodInfo(
|
|
4266
|
+
proto.sniipbillapi.GetUsersForBillerResponse,
|
|
4267
|
+
/**
|
|
4268
|
+
* @param {!proto.sniipbillapi.UsersForBillerConfigRequest} request
|
|
4269
|
+
* @return {!Uint8Array}
|
|
4270
|
+
*/
|
|
4271
|
+
function(request) {
|
|
4272
|
+
return request.serializeBinary();
|
|
4273
|
+
},
|
|
4274
|
+
proto.sniipbillapi.GetUsersForBillerResponse.deserializeBinary
|
|
4275
|
+
);
|
|
4276
|
+
|
|
4277
|
+
|
|
4278
|
+
/**
|
|
4279
|
+
* @param {!proto.sniipbillapi.UsersForBillerConfigRequest} request The
|
|
4280
|
+
* request proto
|
|
4281
|
+
* @param {?Object<string, string>} metadata User defined
|
|
4282
|
+
* call metadata
|
|
4283
|
+
* @param {function(?grpc.web.Error, ?proto.sniipbillapi.GetUsersForBillerResponse)}
|
|
4284
|
+
* callback The callback function(error, response)
|
|
4285
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.GetUsersForBillerResponse>|undefined}
|
|
4286
|
+
* The XHR Node Readable Stream
|
|
4287
|
+
*/
|
|
4288
|
+
proto.sniipbillapi.SniipBillAPIServiceClient.prototype.usersForBillerConfig =
|
|
4289
|
+
function(request, metadata, callback) {
|
|
4290
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
4291
|
+
'/sniipbillapi.SniipBillAPIService/UsersForBillerConfig',
|
|
4292
|
+
request,
|
|
4293
|
+
metadata || {},
|
|
4294
|
+
methodDescriptor_SniipBillAPIService_UsersForBillerConfig,
|
|
4295
|
+
callback);
|
|
4296
|
+
};
|
|
4297
|
+
|
|
4298
|
+
|
|
4299
|
+
/**
|
|
4300
|
+
* @param {!proto.sniipbillapi.UsersForBillerConfigRequest} request The
|
|
4301
|
+
* request proto
|
|
4302
|
+
* @param {?Object<string, string>} metadata User defined
|
|
4303
|
+
* call metadata
|
|
4304
|
+
* @return {!Promise<!proto.sniipbillapi.GetUsersForBillerResponse>}
|
|
4305
|
+
* Promise that resolves to the response
|
|
4306
|
+
*/
|
|
4307
|
+
proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.usersForBillerConfig =
|
|
4308
|
+
function(request, metadata) {
|
|
4309
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
4310
|
+
'/sniipbillapi.SniipBillAPIService/UsersForBillerConfig',
|
|
4311
|
+
request,
|
|
4312
|
+
metadata || {},
|
|
4313
|
+
methodDescriptor_SniipBillAPIService_UsersForBillerConfig);
|
|
4314
|
+
};
|
|
4315
|
+
|
|
4316
|
+
|
|
4237
4317
|
/**
|
|
4238
4318
|
* @const
|
|
4239
4319
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -137,6 +137,7 @@ goog.exportSymbol('proto.sniipbillapi.UserBillConfig', null, global);
|
|
|
137
137
|
goog.exportSymbol('proto.sniipbillapi.UserBillConfigResponse', null, global);
|
|
138
138
|
goog.exportSymbol('proto.sniipbillapi.UserBillListData', null, global);
|
|
139
139
|
goog.exportSymbol('proto.sniipbillapi.UserBillListResponse', null, global);
|
|
140
|
+
goog.exportSymbol('proto.sniipbillapi.UsersForBillerConfigRequest', null, global);
|
|
140
141
|
goog.exportSymbol('proto.sniipbillapi.UsersForBillerRequest', null, global);
|
|
141
142
|
goog.exportSymbol('proto.sniipbillapi.ValidateBillOwnerRequest', null, global);
|
|
142
143
|
goog.exportSymbol('proto.sniipbillapi.XeroCreateOrUpdateBillFromInvoiceRequest', null, global);
|
|
@@ -32579,6 +32580,165 @@ proto.sniipbillapi.UserBillListResponse.prototype.hasUserbilllistdata = function
|
|
|
32579
32580
|
|
|
32580
32581
|
|
|
32581
32582
|
|
|
32583
|
+
/**
|
|
32584
|
+
* Generated by JsPbCodeGenerator.
|
|
32585
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
32586
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
32587
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
32588
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
32589
|
+
* valid.
|
|
32590
|
+
* @extends {jspb.Message}
|
|
32591
|
+
* @constructor
|
|
32592
|
+
*/
|
|
32593
|
+
proto.sniipbillapi.UsersForBillerConfigRequest = function(opt_data) {
|
|
32594
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
32595
|
+
};
|
|
32596
|
+
goog.inherits(proto.sniipbillapi.UsersForBillerConfigRequest, jspb.Message);
|
|
32597
|
+
if (goog.DEBUG && !COMPILED) {
|
|
32598
|
+
proto.sniipbillapi.UsersForBillerConfigRequest.displayName = 'proto.sniipbillapi.UsersForBillerConfigRequest';
|
|
32599
|
+
}
|
|
32600
|
+
|
|
32601
|
+
|
|
32602
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
32603
|
+
/**
|
|
32604
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
32605
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
32606
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
32607
|
+
* For the list of reserved names please see:
|
|
32608
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
32609
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
32610
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
32611
|
+
* @return {!Object}
|
|
32612
|
+
*/
|
|
32613
|
+
proto.sniipbillapi.UsersForBillerConfigRequest.prototype.toObject = function(opt_includeInstance) {
|
|
32614
|
+
return proto.sniipbillapi.UsersForBillerConfigRequest.toObject(opt_includeInstance, this);
|
|
32615
|
+
};
|
|
32616
|
+
|
|
32617
|
+
|
|
32618
|
+
/**
|
|
32619
|
+
* Static version of the {@see toObject} method.
|
|
32620
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
32621
|
+
* instance for transitional soy proto support:
|
|
32622
|
+
* http://goto/soy-param-migration
|
|
32623
|
+
* @param {!proto.sniipbillapi.UsersForBillerConfigRequest} msg The msg instance to transform.
|
|
32624
|
+
* @return {!Object}
|
|
32625
|
+
*/
|
|
32626
|
+
proto.sniipbillapi.UsersForBillerConfigRequest.toObject = function(includeInstance, msg) {
|
|
32627
|
+
var f, obj = {
|
|
32628
|
+
billerconfigid: msg.getBillerconfigid()
|
|
32629
|
+
};
|
|
32630
|
+
|
|
32631
|
+
if (includeInstance) {
|
|
32632
|
+
obj.$jspbMessageInstance = msg;
|
|
32633
|
+
}
|
|
32634
|
+
return obj;
|
|
32635
|
+
};
|
|
32636
|
+
}
|
|
32637
|
+
|
|
32638
|
+
|
|
32639
|
+
/**
|
|
32640
|
+
* Deserializes binary data (in protobuf wire format).
|
|
32641
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
32642
|
+
* @return {!proto.sniipbillapi.UsersForBillerConfigRequest}
|
|
32643
|
+
*/
|
|
32644
|
+
proto.sniipbillapi.UsersForBillerConfigRequest.deserializeBinary = function(bytes) {
|
|
32645
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
32646
|
+
var msg = new proto.sniipbillapi.UsersForBillerConfigRequest;
|
|
32647
|
+
return proto.sniipbillapi.UsersForBillerConfigRequest.deserializeBinaryFromReader(msg, reader);
|
|
32648
|
+
};
|
|
32649
|
+
|
|
32650
|
+
|
|
32651
|
+
/**
|
|
32652
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
32653
|
+
* given reader into the given message object.
|
|
32654
|
+
* @param {!proto.sniipbillapi.UsersForBillerConfigRequest} msg The message object to deserialize into.
|
|
32655
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
32656
|
+
* @return {!proto.sniipbillapi.UsersForBillerConfigRequest}
|
|
32657
|
+
*/
|
|
32658
|
+
proto.sniipbillapi.UsersForBillerConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
32659
|
+
while (reader.nextField()) {
|
|
32660
|
+
if (reader.isEndGroup()) {
|
|
32661
|
+
break;
|
|
32662
|
+
}
|
|
32663
|
+
var field = reader.getFieldNumber();
|
|
32664
|
+
switch (field) {
|
|
32665
|
+
case 1:
|
|
32666
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
32667
|
+
msg.setBillerconfigid(value);
|
|
32668
|
+
break;
|
|
32669
|
+
default:
|
|
32670
|
+
reader.skipField();
|
|
32671
|
+
break;
|
|
32672
|
+
}
|
|
32673
|
+
}
|
|
32674
|
+
return msg;
|
|
32675
|
+
};
|
|
32676
|
+
|
|
32677
|
+
|
|
32678
|
+
/**
|
|
32679
|
+
* Class method variant: serializes the given message to binary data
|
|
32680
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
32681
|
+
* @param {!proto.sniipbillapi.UsersForBillerConfigRequest} message
|
|
32682
|
+
* @param {!jspb.BinaryWriter} writer
|
|
32683
|
+
*/
|
|
32684
|
+
proto.sniipbillapi.UsersForBillerConfigRequest.serializeBinaryToWriter = function(message, writer) {
|
|
32685
|
+
message.serializeBinaryToWriter(writer);
|
|
32686
|
+
};
|
|
32687
|
+
|
|
32688
|
+
|
|
32689
|
+
/**
|
|
32690
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
32691
|
+
* @return {!Uint8Array}
|
|
32692
|
+
*/
|
|
32693
|
+
proto.sniipbillapi.UsersForBillerConfigRequest.prototype.serializeBinary = function() {
|
|
32694
|
+
var writer = new jspb.BinaryWriter();
|
|
32695
|
+
this.serializeBinaryToWriter(writer);
|
|
32696
|
+
return writer.getResultBuffer();
|
|
32697
|
+
};
|
|
32698
|
+
|
|
32699
|
+
|
|
32700
|
+
/**
|
|
32701
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
32702
|
+
* writing to the given BinaryWriter.
|
|
32703
|
+
* @param {!jspb.BinaryWriter} writer
|
|
32704
|
+
*/
|
|
32705
|
+
proto.sniipbillapi.UsersForBillerConfigRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
32706
|
+
var f = undefined;
|
|
32707
|
+
f = this.getBillerconfigid();
|
|
32708
|
+
if (f !== 0) {
|
|
32709
|
+
writer.writeInt64(
|
|
32710
|
+
1,
|
|
32711
|
+
f
|
|
32712
|
+
);
|
|
32713
|
+
}
|
|
32714
|
+
};
|
|
32715
|
+
|
|
32716
|
+
|
|
32717
|
+
/**
|
|
32718
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
32719
|
+
* @return {!proto.sniipbillapi.UsersForBillerConfigRequest} The clone.
|
|
32720
|
+
*/
|
|
32721
|
+
proto.sniipbillapi.UsersForBillerConfigRequest.prototype.cloneMessage = function() {
|
|
32722
|
+
return /** @type {!proto.sniipbillapi.UsersForBillerConfigRequest} */ (jspb.Message.cloneMessage(this));
|
|
32723
|
+
};
|
|
32724
|
+
|
|
32725
|
+
|
|
32726
|
+
/**
|
|
32727
|
+
* optional int64 billerConfigId = 1;
|
|
32728
|
+
* @return {number}
|
|
32729
|
+
*/
|
|
32730
|
+
proto.sniipbillapi.UsersForBillerConfigRequest.prototype.getBillerconfigid = function() {
|
|
32731
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
32732
|
+
};
|
|
32733
|
+
|
|
32734
|
+
|
|
32735
|
+
/** @param {number} value */
|
|
32736
|
+
proto.sniipbillapi.UsersForBillerConfigRequest.prototype.setBillerconfigid = function(value) {
|
|
32737
|
+
jspb.Message.setField(this, 1, value);
|
|
32738
|
+
};
|
|
32739
|
+
|
|
32740
|
+
|
|
32741
|
+
|
|
32582
32742
|
/**
|
|
32583
32743
|
* Generated by JsPbCodeGenerator.
|
|
32584
32744
|
* @param {Array=} opt_data Optional initial data array, typically from a
|