@stashfin/grpc 1.2.767 → 1.2.768
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.
- package/package.json +1 -1
- package/ts/bbps.d.ts +0 -14
- package/ts/bbps.js +0 -10
package/package.json
CHANGED
package/ts/bbps.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
2
2
|
import { getBillsRequest, getBillsResponse } from "./bbps/getbills";
|
|
3
|
-
import { request, response } from "./bbps/initiatepayment";
|
|
4
3
|
export declare const protobufPackage = "service";
|
|
5
4
|
export type bbpsService = typeof bbpsService;
|
|
6
5
|
export declare const bbpsService: {
|
|
@@ -13,27 +12,14 @@ export declare const bbpsService: {
|
|
|
13
12
|
readonly responseSerialize: (value: getBillsResponse) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
14
13
|
readonly responseDeserialize: (value: Buffer) => getBillsResponse;
|
|
15
14
|
};
|
|
16
|
-
readonly initiatePayment: {
|
|
17
|
-
readonly path: "/service.bbps/initiatePayment";
|
|
18
|
-
readonly requestStream: false;
|
|
19
|
-
readonly responseStream: false;
|
|
20
|
-
readonly requestSerialize: (value: request) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
21
|
-
readonly requestDeserialize: (value: Buffer) => request;
|
|
22
|
-
readonly responseSerialize: (value: response) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
23
|
-
readonly responseDeserialize: (value: Buffer) => response;
|
|
24
|
-
};
|
|
25
15
|
};
|
|
26
16
|
export interface bbpsServer extends UntypedServiceImplementation {
|
|
27
17
|
getBillList: handleUnaryCall<getBillsRequest, getBillsResponse>;
|
|
28
|
-
initiatePayment: handleUnaryCall<request, response>;
|
|
29
18
|
}
|
|
30
19
|
export interface bbpsClient extends Client {
|
|
31
20
|
getBillList(request: getBillsRequest, callback: (error: ServiceError | null, response: getBillsResponse) => void): ClientUnaryCall;
|
|
32
21
|
getBillList(request: getBillsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getBillsResponse) => void): ClientUnaryCall;
|
|
33
22
|
getBillList(request: getBillsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getBillsResponse) => void): ClientUnaryCall;
|
|
34
|
-
initiatePayment(request: request, callback: (error: ServiceError | null, response: response) => void): ClientUnaryCall;
|
|
35
|
-
initiatePayment(request: request, metadata: Metadata, callback: (error: ServiceError | null, response: response) => void): ClientUnaryCall;
|
|
36
|
-
initiatePayment(request: request, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: response) => void): ClientUnaryCall;
|
|
37
23
|
}
|
|
38
24
|
export declare const bbpsClient: {
|
|
39
25
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): bbpsClient;
|
package/ts/bbps.js
CHANGED
|
@@ -9,7 +9,6 @@ exports.bbpsClient = exports.bbpsService = exports.protobufPackage = void 0;
|
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const grpc_js_1 = require("@grpc/grpc-js");
|
|
11
11
|
const getbills_1 = require("./bbps/getbills");
|
|
12
|
-
const initiatepayment_1 = require("./bbps/initiatepayment");
|
|
13
12
|
exports.protobufPackage = "service";
|
|
14
13
|
exports.bbpsService = {
|
|
15
14
|
getBillList: {
|
|
@@ -21,14 +20,5 @@ exports.bbpsService = {
|
|
|
21
20
|
responseSerialize: (value) => Buffer.from(getbills_1.getBillsResponse.encode(value).finish()),
|
|
22
21
|
responseDeserialize: (value) => getbills_1.getBillsResponse.decode(value),
|
|
23
22
|
},
|
|
24
|
-
initiatePayment: {
|
|
25
|
-
path: "/service.bbps/initiatePayment",
|
|
26
|
-
requestStream: false,
|
|
27
|
-
responseStream: false,
|
|
28
|
-
requestSerialize: (value) => Buffer.from(initiatepayment_1.request.encode(value).finish()),
|
|
29
|
-
requestDeserialize: (value) => initiatepayment_1.request.decode(value),
|
|
30
|
-
responseSerialize: (value) => Buffer.from(initiatepayment_1.response.encode(value).finish()),
|
|
31
|
-
responseDeserialize: (value) => initiatepayment_1.response.decode(value),
|
|
32
|
-
},
|
|
33
23
|
};
|
|
34
24
|
exports.bbpsClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.bbpsService, "service.bbps");
|