@stashfin/grpc 1.5.0 → 1.5.3

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/ts/bbps.d.ts CHANGED
@@ -4,8 +4,9 @@ import { getAllCategoryRequest, getAllCategoryResponse } from "./bbps/getallcate
4
4
  import { BillFetchRequest, BillFetchResponse } from "./bbps/getbillforreminder";
5
5
  import { getBillsRequest, getBillsResponse } from "./bbps/getbills";
6
6
  import { getOrderDetailsRequest, getOrderDetailsResponse } from "./bbps/getorderdetails";
7
- import { BDTransactionRequest as BDTransactionRequest1, BDTransactionResponse as BDTransactionResponse2 } from "./bbps/processdecryptedrudata";
7
+ import { BDTransactionRequest as BDTransactionRequest3, BDTransactionResponse as BDTransactionResponse4 } from "./bbps/processdecryptedrudata";
8
8
  import { BDTransactionRequest, BDTransactionResponse } from "./bbps/processwebhook";
9
+ import { BDTransactionRequest as BDTransactionRequest1, BDTransactionResponse as BDTransactionResponse2 } from "./bbps/processwebhookv2";
9
10
  import { BillTransactionUpdateEvent, StatusResponse } from "./bbps/sendremindercall";
10
11
  import { updateTxnsStatusRequest, updateTxnsStatusResponse } from "./bbps/updatetxnsstatus";
11
12
  export declare const protobufPackage = "service";
@@ -29,8 +30,8 @@ export declare const bbpsService: {
29
30
  readonly responseSerialize: (value: BDTransactionResponse) => Buffer<ArrayBuffer>;
30
31
  readonly responseDeserialize: (value: Buffer) => BDTransactionResponse;
31
32
  };
32
- readonly processDecryptedRuData: {
33
- readonly path: "/service.bbps/processDecryptedRUData";
33
+ readonly processWebhookv2: {
34
+ readonly path: "/service.bbps/processWebhookv2";
34
35
  readonly requestStream: false;
35
36
  readonly responseStream: false;
36
37
  readonly requestSerialize: (value: BDTransactionRequest1) => Buffer<ArrayBuffer>;
@@ -38,6 +39,15 @@ export declare const bbpsService: {
38
39
  readonly responseSerialize: (value: BDTransactionResponse2) => Buffer<ArrayBuffer>;
39
40
  readonly responseDeserialize: (value: Buffer) => BDTransactionResponse2;
40
41
  };
42
+ readonly processDecryptedRuData: {
43
+ readonly path: "/service.bbps/processDecryptedRUData";
44
+ readonly requestStream: false;
45
+ readonly responseStream: false;
46
+ readonly requestSerialize: (value: BDTransactionRequest3) => Buffer<ArrayBuffer>;
47
+ readonly requestDeserialize: (value: Buffer) => BDTransactionRequest3;
48
+ readonly responseSerialize: (value: BDTransactionResponse4) => Buffer<ArrayBuffer>;
49
+ readonly responseDeserialize: (value: Buffer) => BDTransactionResponse4;
50
+ };
41
51
  readonly getAllBbpsTnxs: {
42
52
  readonly path: "/service.bbps/getAllBbpsTnxs";
43
53
  readonly requestStream: false;
@@ -96,7 +106,8 @@ export declare const bbpsService: {
96
106
  export interface bbpsServer extends UntypedServiceImplementation {
97
107
  getBillList: handleUnaryCall<getBillsRequest, getBillsResponse>;
98
108
  processWebhook: handleUnaryCall<BDTransactionRequest, BDTransactionResponse>;
99
- processDecryptedRuData: handleUnaryCall<BDTransactionRequest1, BDTransactionResponse2>;
109
+ processWebhookv2: handleUnaryCall<BDTransactionRequest1, BDTransactionResponse2>;
110
+ processDecryptedRuData: handleUnaryCall<BDTransactionRequest3, BDTransactionResponse4>;
100
111
  getAllBbpsTnxs: handleUnaryCall<getAllBbpsTnxRequest, getAllBbpsTnxResponse>;
101
112
  getAllBbpsCategory: handleUnaryCall<getAllCategoryRequest, getAllCategoryResponse>;
102
113
  updateBbpsTxnsStatus: handleUnaryCall<updateTxnsStatusRequest, updateTxnsStatusResponse>;
@@ -111,9 +122,12 @@ export interface bbpsClient extends Client {
111
122
  processWebhook(request: BDTransactionRequest, callback: (error: ServiceError | null, response: BDTransactionResponse) => void): ClientUnaryCall;
112
123
  processWebhook(request: BDTransactionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: BDTransactionResponse) => void): ClientUnaryCall;
113
124
  processWebhook(request: BDTransactionRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: BDTransactionResponse) => void): ClientUnaryCall;
114
- processDecryptedRuData(request: BDTransactionRequest1, callback: (error: ServiceError | null, response: BDTransactionResponse2) => void): ClientUnaryCall;
115
- processDecryptedRuData(request: BDTransactionRequest1, metadata: Metadata, callback: (error: ServiceError | null, response: BDTransactionResponse2) => void): ClientUnaryCall;
116
- processDecryptedRuData(request: BDTransactionRequest1, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: BDTransactionResponse2) => void): ClientUnaryCall;
125
+ processWebhookv2(request: BDTransactionRequest1, callback: (error: ServiceError | null, response: BDTransactionResponse2) => void): ClientUnaryCall;
126
+ processWebhookv2(request: BDTransactionRequest1, metadata: Metadata, callback: (error: ServiceError | null, response: BDTransactionResponse2) => void): ClientUnaryCall;
127
+ processWebhookv2(request: BDTransactionRequest1, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: BDTransactionResponse2) => void): ClientUnaryCall;
128
+ processDecryptedRuData(request: BDTransactionRequest3, callback: (error: ServiceError | null, response: BDTransactionResponse4) => void): ClientUnaryCall;
129
+ processDecryptedRuData(request: BDTransactionRequest3, metadata: Metadata, callback: (error: ServiceError | null, response: BDTransactionResponse4) => void): ClientUnaryCall;
130
+ processDecryptedRuData(request: BDTransactionRequest3, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: BDTransactionResponse4) => void): ClientUnaryCall;
117
131
  getAllBbpsTnxs(request: getAllBbpsTnxRequest, callback: (error: ServiceError | null, response: getAllBbpsTnxResponse) => void): ClientUnaryCall;
118
132
  getAllBbpsTnxs(request: getAllBbpsTnxRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getAllBbpsTnxResponse) => void): ClientUnaryCall;
119
133
  getAllBbpsTnxs(request: getAllBbpsTnxRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getAllBbpsTnxResponse) => void): ClientUnaryCall;
package/ts/bbps.js CHANGED
@@ -15,6 +15,7 @@ const getbills_1 = require("./bbps/getbills");
15
15
  const getorderdetails_1 = require("./bbps/getorderdetails");
16
16
  const processdecryptedrudata_1 = require("./bbps/processdecryptedrudata");
17
17
  const processwebhook_1 = require("./bbps/processwebhook");
18
+ const processwebhookv2_1 = require("./bbps/processwebhookv2");
18
19
  const sendremindercall_1 = require("./bbps/sendremindercall");
19
20
  const updatetxnsstatus_1 = require("./bbps/updatetxnsstatus");
20
21
  exports.protobufPackage = "service";
@@ -37,6 +38,15 @@ exports.bbpsService = {
37
38
  responseSerialize: (value) => Buffer.from(processwebhook_1.BDTransactionResponse.encode(value).finish()),
38
39
  responseDeserialize: (value) => processwebhook_1.BDTransactionResponse.decode(value),
39
40
  },
41
+ processWebhookv2: {
42
+ path: "/service.bbps/processWebhookv2",
43
+ requestStream: false,
44
+ responseStream: false,
45
+ requestSerialize: (value) => Buffer.from(processwebhookv2_1.BDTransactionRequest.encode(value).finish()),
46
+ requestDeserialize: (value) => processwebhookv2_1.BDTransactionRequest.decode(value),
47
+ responseSerialize: (value) => Buffer.from(processwebhookv2_1.BDTransactionResponse.encode(value).finish()),
48
+ responseDeserialize: (value) => processwebhookv2_1.BDTransactionResponse.decode(value),
49
+ },
40
50
  processDecryptedRuData: {
41
51
  path: "/service.bbps/processDecryptedRUData",
42
52
  requestStream: false,