@sniipwebmaster/biller-service-client-grpcweb 23.12.6180 → 23.13.6206
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.
|
@@ -2554,6 +2554,86 @@ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.getBillerWithC
|
|
|
2554
2554
|
};
|
|
2555
2555
|
|
|
2556
2556
|
|
|
2557
|
+
/**
|
|
2558
|
+
* @const
|
|
2559
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2560
|
+
* !proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest,
|
|
2561
|
+
* !proto.sniipbillerapi.BillerResponse>}
|
|
2562
|
+
*/
|
|
2563
|
+
const methodDescriptor_SniipBillerAPIService_GetBillerWithQrCodeIdentifier = new grpc.web.MethodDescriptor(
|
|
2564
|
+
'/sniipbillerapi.SniipBillerAPIService/GetBillerWithQrCodeIdentifier',
|
|
2565
|
+
grpc.web.MethodType.UNARY,
|
|
2566
|
+
proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest,
|
|
2567
|
+
proto.sniipbillerapi.BillerResponse,
|
|
2568
|
+
/**
|
|
2569
|
+
* @param {!proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest} request
|
|
2570
|
+
* @return {!Uint8Array}
|
|
2571
|
+
*/
|
|
2572
|
+
function(request) {
|
|
2573
|
+
return request.serializeBinary();
|
|
2574
|
+
},
|
|
2575
|
+
proto.sniipbillerapi.BillerResponse.deserializeBinary
|
|
2576
|
+
);
|
|
2577
|
+
|
|
2578
|
+
|
|
2579
|
+
/**
|
|
2580
|
+
* @const
|
|
2581
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
2582
|
+
* !proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest,
|
|
2583
|
+
* !proto.sniipbillerapi.BillerResponse>}
|
|
2584
|
+
*/
|
|
2585
|
+
const methodInfo_SniipBillerAPIService_GetBillerWithQrCodeIdentifier = new grpc.web.AbstractClientBase.MethodInfo(
|
|
2586
|
+
proto.sniipbillerapi.BillerResponse,
|
|
2587
|
+
/**
|
|
2588
|
+
* @param {!proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest} request
|
|
2589
|
+
* @return {!Uint8Array}
|
|
2590
|
+
*/
|
|
2591
|
+
function(request) {
|
|
2592
|
+
return request.serializeBinary();
|
|
2593
|
+
},
|
|
2594
|
+
proto.sniipbillerapi.BillerResponse.deserializeBinary
|
|
2595
|
+
);
|
|
2596
|
+
|
|
2597
|
+
|
|
2598
|
+
/**
|
|
2599
|
+
* @param {!proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest} request The
|
|
2600
|
+
* request proto
|
|
2601
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2602
|
+
* call metadata
|
|
2603
|
+
* @param {function(?grpc.web.Error, ?proto.sniipbillerapi.BillerResponse)}
|
|
2604
|
+
* callback The callback function(error, response)
|
|
2605
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipbillerapi.BillerResponse>|undefined}
|
|
2606
|
+
* The XHR Node Readable Stream
|
|
2607
|
+
*/
|
|
2608
|
+
proto.sniipbillerapi.SniipBillerAPIServiceClient.prototype.getBillerWithQrCodeIdentifier =
|
|
2609
|
+
function(request, metadata, callback) {
|
|
2610
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2611
|
+
'/sniipbillerapi.SniipBillerAPIService/GetBillerWithQrCodeIdentifier',
|
|
2612
|
+
request,
|
|
2613
|
+
metadata || {},
|
|
2614
|
+
methodDescriptor_SniipBillerAPIService_GetBillerWithQrCodeIdentifier,
|
|
2615
|
+
callback);
|
|
2616
|
+
};
|
|
2617
|
+
|
|
2618
|
+
|
|
2619
|
+
/**
|
|
2620
|
+
* @param {!proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest} request The
|
|
2621
|
+
* request proto
|
|
2622
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2623
|
+
* call metadata
|
|
2624
|
+
* @return {!Promise<!proto.sniipbillerapi.BillerResponse>}
|
|
2625
|
+
* Promise that resolves to the response
|
|
2626
|
+
*/
|
|
2627
|
+
proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.getBillerWithQrCodeIdentifier =
|
|
2628
|
+
function(request, metadata) {
|
|
2629
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2630
|
+
'/sniipbillerapi.SniipBillerAPIService/GetBillerWithQrCodeIdentifier',
|
|
2631
|
+
request,
|
|
2632
|
+
metadata || {},
|
|
2633
|
+
methodDescriptor_SniipBillerAPIService_GetBillerWithQrCodeIdentifier);
|
|
2634
|
+
};
|
|
2635
|
+
|
|
2636
|
+
|
|
2557
2637
|
/**
|
|
2558
2638
|
* @const
|
|
2559
2639
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -110,6 +110,7 @@ goog.exportSymbol('proto.sniipbillerapi.GetBillerSmeDetailsRequest', null, globa
|
|
|
110
110
|
goog.exportSymbol('proto.sniipbillerapi.GetBillerSmeDetailsResponse', null, global);
|
|
111
111
|
goog.exportSymbol('proto.sniipbillerapi.GetBillerWithCodeRequest', null, global);
|
|
112
112
|
goog.exportSymbol('proto.sniipbillerapi.GetBillerWithConfigRequest', null, global);
|
|
113
|
+
goog.exportSymbol('proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest', null, global);
|
|
113
114
|
goog.exportSymbol('proto.sniipbillerapi.GetBillersAllRequest', null, global);
|
|
114
115
|
goog.exportSymbol('proto.sniipbillerapi.GetBillersByBillerConfigIdsRequest', null, global);
|
|
115
116
|
goog.exportSymbol('proto.sniipbillerapi.GetBillersRequest', null, global);
|
|
@@ -2135,6 +2136,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2135
2136
|
*/
|
|
2136
2137
|
proto.sniipbillerapi.GetBillerWithConfigRequest.displayName = 'proto.sniipbillerapi.GetBillerWithConfigRequest';
|
|
2137
2138
|
}
|
|
2139
|
+
/**
|
|
2140
|
+
* Generated by JsPbCodeGenerator.
|
|
2141
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2142
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2143
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2144
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2145
|
+
* valid.
|
|
2146
|
+
* @extends {jspb.Message}
|
|
2147
|
+
* @constructor
|
|
2148
|
+
*/
|
|
2149
|
+
proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest = function(opt_data) {
|
|
2150
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2151
|
+
};
|
|
2152
|
+
goog.inherits(proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest, jspb.Message);
|
|
2153
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2154
|
+
/**
|
|
2155
|
+
* @public
|
|
2156
|
+
* @override
|
|
2157
|
+
*/
|
|
2158
|
+
proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest.displayName = 'proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest';
|
|
2159
|
+
}
|
|
2138
2160
|
/**
|
|
2139
2161
|
* Generated by JsPbCodeGenerator.
|
|
2140
2162
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -27586,6 +27608,166 @@ proto.sniipbillerapi.GetBillerWithConfigRequest.prototype.hasData = function() {
|
|
|
27586
27608
|
|
|
27587
27609
|
|
|
27588
27610
|
|
|
27611
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
27612
|
+
/**
|
|
27613
|
+
* Creates an object representation of this proto.
|
|
27614
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
27615
|
+
* Optional fields that are not set will be set to undefined.
|
|
27616
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
27617
|
+
* For the list of reserved names please see:
|
|
27618
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
27619
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
27620
|
+
* JSPB instance for transitional soy proto support:
|
|
27621
|
+
* http://goto/soy-param-migration
|
|
27622
|
+
* @return {!Object}
|
|
27623
|
+
*/
|
|
27624
|
+
proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest.prototype.toObject = function(opt_includeInstance) {
|
|
27625
|
+
return proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest.toObject(opt_includeInstance, this);
|
|
27626
|
+
};
|
|
27627
|
+
|
|
27628
|
+
|
|
27629
|
+
/**
|
|
27630
|
+
* Static version of the {@see toObject} method.
|
|
27631
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
27632
|
+
* the JSPB instance for transitional soy proto support:
|
|
27633
|
+
* http://goto/soy-param-migration
|
|
27634
|
+
* @param {!proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest} msg The msg instance to transform.
|
|
27635
|
+
* @return {!Object}
|
|
27636
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
27637
|
+
*/
|
|
27638
|
+
proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest.toObject = function(includeInstance, msg) {
|
|
27639
|
+
var f, obj = {
|
|
27640
|
+
code: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
27641
|
+
includepaymentmethodgroups: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
27642
|
+
};
|
|
27643
|
+
|
|
27644
|
+
if (includeInstance) {
|
|
27645
|
+
obj.$jspbMessageInstance = msg;
|
|
27646
|
+
}
|
|
27647
|
+
return obj;
|
|
27648
|
+
};
|
|
27649
|
+
}
|
|
27650
|
+
|
|
27651
|
+
|
|
27652
|
+
/**
|
|
27653
|
+
* Deserializes binary data (in protobuf wire format).
|
|
27654
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
27655
|
+
* @return {!proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest}
|
|
27656
|
+
*/
|
|
27657
|
+
proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest.deserializeBinary = function(bytes) {
|
|
27658
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
27659
|
+
var msg = new proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest;
|
|
27660
|
+
return proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest.deserializeBinaryFromReader(msg, reader);
|
|
27661
|
+
};
|
|
27662
|
+
|
|
27663
|
+
|
|
27664
|
+
/**
|
|
27665
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
27666
|
+
* given reader into the given message object.
|
|
27667
|
+
* @param {!proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest} msg The message object to deserialize into.
|
|
27668
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
27669
|
+
* @return {!proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest}
|
|
27670
|
+
*/
|
|
27671
|
+
proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
27672
|
+
while (reader.nextField()) {
|
|
27673
|
+
if (reader.isEndGroup()) {
|
|
27674
|
+
break;
|
|
27675
|
+
}
|
|
27676
|
+
var field = reader.getFieldNumber();
|
|
27677
|
+
switch (field) {
|
|
27678
|
+
case 1:
|
|
27679
|
+
var value = /** @type {string} */ (reader.readString());
|
|
27680
|
+
msg.setCode(value);
|
|
27681
|
+
break;
|
|
27682
|
+
case 2:
|
|
27683
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
27684
|
+
msg.setIncludepaymentmethodgroups(value);
|
|
27685
|
+
break;
|
|
27686
|
+
default:
|
|
27687
|
+
reader.skipField();
|
|
27688
|
+
break;
|
|
27689
|
+
}
|
|
27690
|
+
}
|
|
27691
|
+
return msg;
|
|
27692
|
+
};
|
|
27693
|
+
|
|
27694
|
+
|
|
27695
|
+
/**
|
|
27696
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
27697
|
+
* @return {!Uint8Array}
|
|
27698
|
+
*/
|
|
27699
|
+
proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest.prototype.serializeBinary = function() {
|
|
27700
|
+
var writer = new jspb.BinaryWriter();
|
|
27701
|
+
proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest.serializeBinaryToWriter(this, writer);
|
|
27702
|
+
return writer.getResultBuffer();
|
|
27703
|
+
};
|
|
27704
|
+
|
|
27705
|
+
|
|
27706
|
+
/**
|
|
27707
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
27708
|
+
* format), writing to the given BinaryWriter.
|
|
27709
|
+
* @param {!proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest} message
|
|
27710
|
+
* @param {!jspb.BinaryWriter} writer
|
|
27711
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
27712
|
+
*/
|
|
27713
|
+
proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest.serializeBinaryToWriter = function(message, writer) {
|
|
27714
|
+
var f = undefined;
|
|
27715
|
+
f = message.getCode();
|
|
27716
|
+
if (f.length > 0) {
|
|
27717
|
+
writer.writeString(
|
|
27718
|
+
1,
|
|
27719
|
+
f
|
|
27720
|
+
);
|
|
27721
|
+
}
|
|
27722
|
+
f = message.getIncludepaymentmethodgroups();
|
|
27723
|
+
if (f) {
|
|
27724
|
+
writer.writeBool(
|
|
27725
|
+
2,
|
|
27726
|
+
f
|
|
27727
|
+
);
|
|
27728
|
+
}
|
|
27729
|
+
};
|
|
27730
|
+
|
|
27731
|
+
|
|
27732
|
+
/**
|
|
27733
|
+
* optional string code = 1;
|
|
27734
|
+
* @return {string}
|
|
27735
|
+
*/
|
|
27736
|
+
proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest.prototype.getCode = function() {
|
|
27737
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
27738
|
+
};
|
|
27739
|
+
|
|
27740
|
+
|
|
27741
|
+
/**
|
|
27742
|
+
* @param {string} value
|
|
27743
|
+
* @return {!proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest} returns this
|
|
27744
|
+
*/
|
|
27745
|
+
proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest.prototype.setCode = function(value) {
|
|
27746
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
27747
|
+
};
|
|
27748
|
+
|
|
27749
|
+
|
|
27750
|
+
/**
|
|
27751
|
+
* optional bool includePaymentMethodGroups = 2;
|
|
27752
|
+
* @return {boolean}
|
|
27753
|
+
*/
|
|
27754
|
+
proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest.prototype.getIncludepaymentmethodgroups = function() {
|
|
27755
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
27756
|
+
};
|
|
27757
|
+
|
|
27758
|
+
|
|
27759
|
+
/**
|
|
27760
|
+
* @param {boolean} value
|
|
27761
|
+
* @return {!proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest} returns this
|
|
27762
|
+
*/
|
|
27763
|
+
proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest.prototype.setIncludepaymentmethodgroups = function(value) {
|
|
27764
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
27765
|
+
};
|
|
27766
|
+
|
|
27767
|
+
|
|
27768
|
+
|
|
27769
|
+
|
|
27770
|
+
|
|
27589
27771
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
27590
27772
|
/**
|
|
27591
27773
|
* Creates an object representation of this proto.
|