@stashfin/grpc 1.2.846 → 1.2.848
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/getallbbpstransactions.d.ts +3 -1
- package/ts/bbps/getallbbpstransactions.js +49 -17
- package/ts/bbps/getallcategory.d.ts +45 -0
- package/ts/bbps/getallcategory.js +158 -0
- package/ts/bbps.d.ts +14 -0
- package/ts/bbps.js +10 -0
- package/ts/eqxpayments/nachpresentationstatus.d.ts +1 -1
- package/ts/eqxpayments/nachpresentationstatus.js +8 -8
- package/ts/eqxpayments/nachregistrationstatus.d.ts +1 -1
- package/ts/eqxpayments/nachregistrationstatus.js +8 -8
package/package.json
CHANGED
|
@@ -12,6 +12,7 @@ export interface getAllBbpsTnxRequest {
|
|
|
12
12
|
isDownload?: boolean | undefined;
|
|
13
13
|
status?: string | undefined;
|
|
14
14
|
customer_id?: string | undefined;
|
|
15
|
+
customer_account_no?: string | undefined;
|
|
15
16
|
}
|
|
16
17
|
export interface BBPSTransactions {
|
|
17
18
|
transaction_id?: number | undefined;
|
|
@@ -21,7 +22,8 @@ export interface BBPSTransactions {
|
|
|
21
22
|
bill_amount?: string | undefined;
|
|
22
23
|
mode?: string | undefined;
|
|
23
24
|
status?: string | undefined;
|
|
24
|
-
|
|
25
|
+
created_at?: string | undefined;
|
|
26
|
+
updated_at?: string | undefined;
|
|
25
27
|
customer_id?: number | undefined;
|
|
26
28
|
customer_account_no?: string | undefined;
|
|
27
29
|
biller_id?: string | undefined;
|
|
@@ -24,6 +24,7 @@ function createBasegetAllBbpsTnxRequest() {
|
|
|
24
24
|
isDownload: undefined,
|
|
25
25
|
status: undefined,
|
|
26
26
|
customer_id: undefined,
|
|
27
|
+
customer_account_no: undefined,
|
|
27
28
|
};
|
|
28
29
|
}
|
|
29
30
|
exports.getAllBbpsTnxRequest = {
|
|
@@ -58,6 +59,9 @@ exports.getAllBbpsTnxRequest = {
|
|
|
58
59
|
if (message.customer_id !== undefined) {
|
|
59
60
|
writer.uint32(82).string(message.customer_id);
|
|
60
61
|
}
|
|
62
|
+
if (message.customer_account_no !== undefined) {
|
|
63
|
+
writer.uint32(90).string(message.customer_account_no);
|
|
64
|
+
}
|
|
61
65
|
return writer;
|
|
62
66
|
},
|
|
63
67
|
decode(input, length) {
|
|
@@ -127,6 +131,12 @@ exports.getAllBbpsTnxRequest = {
|
|
|
127
131
|
}
|
|
128
132
|
message.customer_id = reader.string();
|
|
129
133
|
continue;
|
|
134
|
+
case 11:
|
|
135
|
+
if (tag !== 90) {
|
|
136
|
+
break;
|
|
137
|
+
}
|
|
138
|
+
message.customer_account_no = reader.string();
|
|
139
|
+
continue;
|
|
130
140
|
}
|
|
131
141
|
if ((tag & 7) === 4 || tag === 0) {
|
|
132
142
|
break;
|
|
@@ -147,6 +157,9 @@ exports.getAllBbpsTnxRequest = {
|
|
|
147
157
|
isDownload: isSet(object.isDownload) ? globalThis.Boolean(object.isDownload) : undefined,
|
|
148
158
|
status: isSet(object.status) ? globalThis.String(object.status) : undefined,
|
|
149
159
|
customer_id: isSet(object.customer_id) ? globalThis.String(object.customer_id) : undefined,
|
|
160
|
+
customer_account_no: isSet(object.customer_account_no)
|
|
161
|
+
? globalThis.String(object.customer_account_no)
|
|
162
|
+
: undefined,
|
|
150
163
|
};
|
|
151
164
|
},
|
|
152
165
|
toJSON(message) {
|
|
@@ -181,6 +194,9 @@ exports.getAllBbpsTnxRequest = {
|
|
|
181
194
|
if (message.customer_id !== undefined) {
|
|
182
195
|
obj.customer_id = message.customer_id;
|
|
183
196
|
}
|
|
197
|
+
if (message.customer_account_no !== undefined) {
|
|
198
|
+
obj.customer_account_no = message.customer_account_no;
|
|
199
|
+
}
|
|
184
200
|
return obj;
|
|
185
201
|
},
|
|
186
202
|
create(base) {
|
|
@@ -198,6 +214,7 @@ exports.getAllBbpsTnxRequest = {
|
|
|
198
214
|
message.isDownload = object.isDownload ?? undefined;
|
|
199
215
|
message.status = object.status ?? undefined;
|
|
200
216
|
message.customer_id = object.customer_id ?? undefined;
|
|
217
|
+
message.customer_account_no = object.customer_account_no ?? undefined;
|
|
201
218
|
return message;
|
|
202
219
|
},
|
|
203
220
|
};
|
|
@@ -210,7 +227,8 @@ function createBaseBBPSTransactions() {
|
|
|
210
227
|
bill_amount: undefined,
|
|
211
228
|
mode: undefined,
|
|
212
229
|
status: undefined,
|
|
213
|
-
|
|
230
|
+
created_at: undefined,
|
|
231
|
+
updated_at: undefined,
|
|
214
232
|
customer_id: undefined,
|
|
215
233
|
customer_account_no: undefined,
|
|
216
234
|
biller_id: undefined,
|
|
@@ -240,20 +258,23 @@ exports.BBPSTransactions = {
|
|
|
240
258
|
if (message.status !== undefined) {
|
|
241
259
|
writer.uint32(58).string(message.status);
|
|
242
260
|
}
|
|
243
|
-
if (message.
|
|
244
|
-
writer.uint32(66).string(message.
|
|
261
|
+
if (message.created_at !== undefined) {
|
|
262
|
+
writer.uint32(66).string(message.created_at);
|
|
263
|
+
}
|
|
264
|
+
if (message.updated_at !== undefined) {
|
|
265
|
+
writer.uint32(74).string(message.updated_at);
|
|
245
266
|
}
|
|
246
267
|
if (message.customer_id !== undefined) {
|
|
247
|
-
writer.uint32(
|
|
268
|
+
writer.uint32(80).int32(message.customer_id);
|
|
248
269
|
}
|
|
249
270
|
if (message.customer_account_no !== undefined) {
|
|
250
|
-
writer.uint32(
|
|
271
|
+
writer.uint32(90).string(message.customer_account_no);
|
|
251
272
|
}
|
|
252
273
|
if (message.biller_id !== undefined) {
|
|
253
|
-
writer.uint32(
|
|
274
|
+
writer.uint32(98).string(message.biller_id);
|
|
254
275
|
}
|
|
255
276
|
if (message.pg_txn_ref_id !== undefined) {
|
|
256
|
-
writer.uint32(
|
|
277
|
+
writer.uint32(106).string(message.pg_txn_ref_id);
|
|
257
278
|
}
|
|
258
279
|
return writer;
|
|
259
280
|
},
|
|
@@ -310,30 +331,36 @@ exports.BBPSTransactions = {
|
|
|
310
331
|
if (tag !== 66) {
|
|
311
332
|
break;
|
|
312
333
|
}
|
|
313
|
-
message.
|
|
334
|
+
message.created_at = reader.string();
|
|
314
335
|
continue;
|
|
315
336
|
case 9:
|
|
316
|
-
if (tag !==
|
|
337
|
+
if (tag !== 74) {
|
|
317
338
|
break;
|
|
318
339
|
}
|
|
319
|
-
message.
|
|
340
|
+
message.updated_at = reader.string();
|
|
320
341
|
continue;
|
|
321
342
|
case 10:
|
|
322
|
-
if (tag !==
|
|
343
|
+
if (tag !== 80) {
|
|
323
344
|
break;
|
|
324
345
|
}
|
|
325
|
-
message.
|
|
346
|
+
message.customer_id = reader.int32();
|
|
326
347
|
continue;
|
|
327
348
|
case 11:
|
|
328
349
|
if (tag !== 90) {
|
|
329
350
|
break;
|
|
330
351
|
}
|
|
331
|
-
message.
|
|
352
|
+
message.customer_account_no = reader.string();
|
|
332
353
|
continue;
|
|
333
354
|
case 12:
|
|
334
355
|
if (tag !== 98) {
|
|
335
356
|
break;
|
|
336
357
|
}
|
|
358
|
+
message.biller_id = reader.string();
|
|
359
|
+
continue;
|
|
360
|
+
case 13:
|
|
361
|
+
if (tag !== 106) {
|
|
362
|
+
break;
|
|
363
|
+
}
|
|
337
364
|
message.pg_txn_ref_id = reader.string();
|
|
338
365
|
continue;
|
|
339
366
|
}
|
|
@@ -353,7 +380,8 @@ exports.BBPSTransactions = {
|
|
|
353
380
|
bill_amount: isSet(object.bill_amount) ? globalThis.String(object.bill_amount) : undefined,
|
|
354
381
|
mode: isSet(object.mode) ? globalThis.String(object.mode) : undefined,
|
|
355
382
|
status: isSet(object.status) ? globalThis.String(object.status) : undefined,
|
|
356
|
-
|
|
383
|
+
created_at: isSet(object.created_at) ? globalThis.String(object.created_at) : undefined,
|
|
384
|
+
updated_at: isSet(object.updated_at) ? globalThis.String(object.updated_at) : undefined,
|
|
357
385
|
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : undefined,
|
|
358
386
|
customer_account_no: isSet(object.customer_account_no)
|
|
359
387
|
? globalThis.String(object.customer_account_no)
|
|
@@ -385,8 +413,11 @@ exports.BBPSTransactions = {
|
|
|
385
413
|
if (message.status !== undefined) {
|
|
386
414
|
obj.status = message.status;
|
|
387
415
|
}
|
|
388
|
-
if (message.
|
|
389
|
-
obj.
|
|
416
|
+
if (message.created_at !== undefined) {
|
|
417
|
+
obj.created_at = message.created_at;
|
|
418
|
+
}
|
|
419
|
+
if (message.updated_at !== undefined) {
|
|
420
|
+
obj.updated_at = message.updated_at;
|
|
390
421
|
}
|
|
391
422
|
if (message.customer_id !== undefined) {
|
|
392
423
|
obj.customer_id = Math.round(message.customer_id);
|
|
@@ -414,7 +445,8 @@ exports.BBPSTransactions = {
|
|
|
414
445
|
message.bill_amount = object.bill_amount ?? undefined;
|
|
415
446
|
message.mode = object.mode ?? undefined;
|
|
416
447
|
message.status = object.status ?? undefined;
|
|
417
|
-
message.
|
|
448
|
+
message.created_at = object.created_at ?? undefined;
|
|
449
|
+
message.updated_at = object.updated_at ?? undefined;
|
|
418
450
|
message.customer_id = object.customer_id ?? undefined;
|
|
419
451
|
message.customer_account_no = object.customer_account_no ?? undefined;
|
|
420
452
|
message.biller_id = object.biller_id ?? undefined;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "bbps.getallcategory";
|
|
3
|
+
export interface getAllCategoryRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface Category {
|
|
6
|
+
name: string;
|
|
7
|
+
}
|
|
8
|
+
export interface getAllCategoryResponse {
|
|
9
|
+
categories: Category[];
|
|
10
|
+
}
|
|
11
|
+
export declare const getAllCategoryRequest: {
|
|
12
|
+
encode(_: getAllCategoryRequest, writer?: _m0.Writer): _m0.Writer;
|
|
13
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getAllCategoryRequest;
|
|
14
|
+
fromJSON(_: any): getAllCategoryRequest;
|
|
15
|
+
toJSON(_: getAllCategoryRequest): unknown;
|
|
16
|
+
create<I extends Exact<DeepPartial<getAllCategoryRequest>, I>>(base?: I): getAllCategoryRequest;
|
|
17
|
+
fromPartial<I extends Exact<DeepPartial<getAllCategoryRequest>, I>>(_: I): getAllCategoryRequest;
|
|
18
|
+
};
|
|
19
|
+
export declare const Category: {
|
|
20
|
+
encode(message: Category, writer?: _m0.Writer): _m0.Writer;
|
|
21
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Category;
|
|
22
|
+
fromJSON(object: any): Category;
|
|
23
|
+
toJSON(message: Category): unknown;
|
|
24
|
+
create<I extends Exact<DeepPartial<Category>, I>>(base?: I): Category;
|
|
25
|
+
fromPartial<I extends Exact<DeepPartial<Category>, I>>(object: I): Category;
|
|
26
|
+
};
|
|
27
|
+
export declare const getAllCategoryResponse: {
|
|
28
|
+
encode(message: getAllCategoryResponse, writer?: _m0.Writer): _m0.Writer;
|
|
29
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getAllCategoryResponse;
|
|
30
|
+
fromJSON(object: any): getAllCategoryResponse;
|
|
31
|
+
toJSON(message: getAllCategoryResponse): unknown;
|
|
32
|
+
create<I extends Exact<DeepPartial<getAllCategoryResponse>, I>>(base?: I): getAllCategoryResponse;
|
|
33
|
+
fromPartial<I extends Exact<DeepPartial<getAllCategoryResponse>, I>>(object: I): getAllCategoryResponse;
|
|
34
|
+
};
|
|
35
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
36
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
37
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
38
|
+
} : Partial<T>;
|
|
39
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
40
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
41
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
42
|
+
} & {
|
|
43
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
44
|
+
};
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v6.31.1
|
|
6
|
+
// source: bbps/getallcategory.proto
|
|
7
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
|
+
};
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.getAllCategoryResponse = exports.Category = exports.getAllCategoryRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "bbps.getallcategory";
|
|
15
|
+
function createBasegetAllCategoryRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.getAllCategoryRequest = {
|
|
19
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
return writer;
|
|
21
|
+
},
|
|
22
|
+
decode(input, length) {
|
|
23
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
24
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
+
const message = createBasegetAllCategoryRequest();
|
|
26
|
+
while (reader.pos < end) {
|
|
27
|
+
const tag = reader.uint32();
|
|
28
|
+
switch (tag >>> 3) {
|
|
29
|
+
}
|
|
30
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
reader.skipType(tag & 7);
|
|
34
|
+
}
|
|
35
|
+
return message;
|
|
36
|
+
},
|
|
37
|
+
fromJSON(_) {
|
|
38
|
+
return {};
|
|
39
|
+
},
|
|
40
|
+
toJSON(_) {
|
|
41
|
+
const obj = {};
|
|
42
|
+
return obj;
|
|
43
|
+
},
|
|
44
|
+
create(base) {
|
|
45
|
+
return exports.getAllCategoryRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasegetAllCategoryRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBaseCategory() {
|
|
53
|
+
return { name: "" };
|
|
54
|
+
}
|
|
55
|
+
exports.Category = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
if (message.name !== "") {
|
|
58
|
+
writer.uint32(10).string(message.name);
|
|
59
|
+
}
|
|
60
|
+
return writer;
|
|
61
|
+
},
|
|
62
|
+
decode(input, length) {
|
|
63
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
64
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
65
|
+
const message = createBaseCategory();
|
|
66
|
+
while (reader.pos < end) {
|
|
67
|
+
const tag = reader.uint32();
|
|
68
|
+
switch (tag >>> 3) {
|
|
69
|
+
case 1:
|
|
70
|
+
if (tag !== 10) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
message.name = reader.string();
|
|
74
|
+
continue;
|
|
75
|
+
}
|
|
76
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
reader.skipType(tag & 7);
|
|
80
|
+
}
|
|
81
|
+
return message;
|
|
82
|
+
},
|
|
83
|
+
fromJSON(object) {
|
|
84
|
+
return { name: isSet(object.name) ? globalThis.String(object.name) : "" };
|
|
85
|
+
},
|
|
86
|
+
toJSON(message) {
|
|
87
|
+
const obj = {};
|
|
88
|
+
if (message.name !== "") {
|
|
89
|
+
obj.name = message.name;
|
|
90
|
+
}
|
|
91
|
+
return obj;
|
|
92
|
+
},
|
|
93
|
+
create(base) {
|
|
94
|
+
return exports.Category.fromPartial(base ?? {});
|
|
95
|
+
},
|
|
96
|
+
fromPartial(object) {
|
|
97
|
+
const message = createBaseCategory();
|
|
98
|
+
message.name = object.name ?? "";
|
|
99
|
+
return message;
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
function createBasegetAllCategoryResponse() {
|
|
103
|
+
return { categories: [] };
|
|
104
|
+
}
|
|
105
|
+
exports.getAllCategoryResponse = {
|
|
106
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
107
|
+
for (const v of message.categories) {
|
|
108
|
+
exports.Category.encode(v, writer.uint32(10).fork()).ldelim();
|
|
109
|
+
}
|
|
110
|
+
return writer;
|
|
111
|
+
},
|
|
112
|
+
decode(input, length) {
|
|
113
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
114
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
115
|
+
const message = createBasegetAllCategoryResponse();
|
|
116
|
+
while (reader.pos < end) {
|
|
117
|
+
const tag = reader.uint32();
|
|
118
|
+
switch (tag >>> 3) {
|
|
119
|
+
case 1:
|
|
120
|
+
if (tag !== 10) {
|
|
121
|
+
break;
|
|
122
|
+
}
|
|
123
|
+
message.categories.push(exports.Category.decode(reader, reader.uint32()));
|
|
124
|
+
continue;
|
|
125
|
+
}
|
|
126
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
reader.skipType(tag & 7);
|
|
130
|
+
}
|
|
131
|
+
return message;
|
|
132
|
+
},
|
|
133
|
+
fromJSON(object) {
|
|
134
|
+
return {
|
|
135
|
+
categories: globalThis.Array.isArray(object?.categories)
|
|
136
|
+
? object.categories.map((e) => exports.Category.fromJSON(e))
|
|
137
|
+
: [],
|
|
138
|
+
};
|
|
139
|
+
},
|
|
140
|
+
toJSON(message) {
|
|
141
|
+
const obj = {};
|
|
142
|
+
if (message.categories?.length) {
|
|
143
|
+
obj.categories = message.categories.map((e) => exports.Category.toJSON(e));
|
|
144
|
+
}
|
|
145
|
+
return obj;
|
|
146
|
+
},
|
|
147
|
+
create(base) {
|
|
148
|
+
return exports.getAllCategoryResponse.fromPartial(base ?? {});
|
|
149
|
+
},
|
|
150
|
+
fromPartial(object) {
|
|
151
|
+
const message = createBasegetAllCategoryResponse();
|
|
152
|
+
message.categories = object.categories?.map((e) => exports.Category.fromPartial(e)) || [];
|
|
153
|
+
return message;
|
|
154
|
+
},
|
|
155
|
+
};
|
|
156
|
+
function isSet(value) {
|
|
157
|
+
return value !== null && value !== undefined;
|
|
158
|
+
}
|
package/ts/bbps.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
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 { getAllBbpsTnxRequest, getAllBbpsTnxResponse } from "./bbps/getallbbpstransactions";
|
|
3
|
+
import { getAllCategoryRequest, getAllCategoryResponse } from "./bbps/getallcategory";
|
|
3
4
|
import { getBillsRequest, getBillsResponse } from "./bbps/getbills";
|
|
4
5
|
import { BDTransactionRequest, BDTransactionResponse } from "./bbps/processwebhook";
|
|
5
6
|
export declare const protobufPackage = "service";
|
|
@@ -32,11 +33,21 @@ export declare const bbpsService: {
|
|
|
32
33
|
readonly responseSerialize: (value: getAllBbpsTnxResponse) => Buffer;
|
|
33
34
|
readonly responseDeserialize: (value: Buffer) => getAllBbpsTnxResponse;
|
|
34
35
|
};
|
|
36
|
+
readonly getAllBbpsCategory: {
|
|
37
|
+
readonly path: "/service.bbps/getAllBBPSCategory";
|
|
38
|
+
readonly requestStream: false;
|
|
39
|
+
readonly responseStream: false;
|
|
40
|
+
readonly requestSerialize: (value: getAllCategoryRequest) => Buffer;
|
|
41
|
+
readonly requestDeserialize: (value: Buffer) => getAllCategoryRequest;
|
|
42
|
+
readonly responseSerialize: (value: getAllCategoryResponse) => Buffer;
|
|
43
|
+
readonly responseDeserialize: (value: Buffer) => getAllCategoryResponse;
|
|
44
|
+
};
|
|
35
45
|
};
|
|
36
46
|
export interface bbpsServer extends UntypedServiceImplementation {
|
|
37
47
|
getBillList: handleUnaryCall<getBillsRequest, getBillsResponse>;
|
|
38
48
|
processWebhook: handleUnaryCall<BDTransactionRequest, BDTransactionResponse>;
|
|
39
49
|
getAllBbpsTnxs: handleUnaryCall<getAllBbpsTnxRequest, getAllBbpsTnxResponse>;
|
|
50
|
+
getAllBbpsCategory: handleUnaryCall<getAllCategoryRequest, getAllCategoryResponse>;
|
|
40
51
|
}
|
|
41
52
|
export interface bbpsClient extends Client {
|
|
42
53
|
getBillList(request: getBillsRequest, callback: (error: ServiceError | null, response: getBillsResponse) => void): ClientUnaryCall;
|
|
@@ -48,6 +59,9 @@ export interface bbpsClient extends Client {
|
|
|
48
59
|
getAllBbpsTnxs(request: getAllBbpsTnxRequest, callback: (error: ServiceError | null, response: getAllBbpsTnxResponse) => void): ClientUnaryCall;
|
|
49
60
|
getAllBbpsTnxs(request: getAllBbpsTnxRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getAllBbpsTnxResponse) => void): ClientUnaryCall;
|
|
50
61
|
getAllBbpsTnxs(request: getAllBbpsTnxRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getAllBbpsTnxResponse) => void): ClientUnaryCall;
|
|
62
|
+
getAllBbpsCategory(request: getAllCategoryRequest, callback: (error: ServiceError | null, response: getAllCategoryResponse) => void): ClientUnaryCall;
|
|
63
|
+
getAllBbpsCategory(request: getAllCategoryRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getAllCategoryResponse) => void): ClientUnaryCall;
|
|
64
|
+
getAllBbpsCategory(request: getAllCategoryRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getAllCategoryResponse) => void): ClientUnaryCall;
|
|
51
65
|
}
|
|
52
66
|
export declare const bbpsClient: {
|
|
53
67
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): bbpsClient;
|
package/ts/bbps.js
CHANGED
|
@@ -9,6 +9,7 @@ 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 getallbbpstransactions_1 = require("./bbps/getallbbpstransactions");
|
|
12
|
+
const getallcategory_1 = require("./bbps/getallcategory");
|
|
12
13
|
const getbills_1 = require("./bbps/getbills");
|
|
13
14
|
const processwebhook_1 = require("./bbps/processwebhook");
|
|
14
15
|
exports.protobufPackage = "service";
|
|
@@ -40,5 +41,14 @@ exports.bbpsService = {
|
|
|
40
41
|
responseSerialize: (value) => Buffer.from(getallbbpstransactions_1.getAllBbpsTnxResponse.encode(value).finish()),
|
|
41
42
|
responseDeserialize: (value) => getallbbpstransactions_1.getAllBbpsTnxResponse.decode(value),
|
|
42
43
|
},
|
|
44
|
+
getAllBbpsCategory: {
|
|
45
|
+
path: "/service.bbps/getAllBBPSCategory",
|
|
46
|
+
requestStream: false,
|
|
47
|
+
responseStream: false,
|
|
48
|
+
requestSerialize: (value) => Buffer.from(getallcategory_1.getAllCategoryRequest.encode(value).finish()),
|
|
49
|
+
requestDeserialize: (value) => getallcategory_1.getAllCategoryRequest.decode(value),
|
|
50
|
+
responseSerialize: (value) => Buffer.from(getallcategory_1.getAllCategoryResponse.encode(value).finish()),
|
|
51
|
+
responseDeserialize: (value) => getallcategory_1.getAllCategoryResponse.decode(value),
|
|
52
|
+
},
|
|
43
53
|
};
|
|
44
54
|
exports.bbpsClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.bbpsService, "service.bbps");
|
|
@@ -2,7 +2,7 @@ import _m0 from "protobufjs/minimal";
|
|
|
2
2
|
export declare const protobufPackage = "eqxpayments.nachpresentationstatus";
|
|
3
3
|
export interface request {
|
|
4
4
|
customer_id: number;
|
|
5
|
-
|
|
5
|
+
gateway_id: string;
|
|
6
6
|
external_order_id: string;
|
|
7
7
|
}
|
|
8
8
|
export interface response {
|
|
@@ -14,15 +14,15 @@ const long_1 = __importDefault(require("long"));
|
|
|
14
14
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
15
15
|
exports.protobufPackage = "eqxpayments.nachpresentationstatus";
|
|
16
16
|
function createBaserequest() {
|
|
17
|
-
return { customer_id: 0,
|
|
17
|
+
return { customer_id: 0, gateway_id: "", external_order_id: "" };
|
|
18
18
|
}
|
|
19
19
|
exports.request = {
|
|
20
20
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
21
|
if (message.customer_id !== 0) {
|
|
22
22
|
writer.uint32(8).int64(message.customer_id);
|
|
23
23
|
}
|
|
24
|
-
if (message.
|
|
25
|
-
writer.uint32(18).string(message.
|
|
24
|
+
if (message.gateway_id !== "") {
|
|
25
|
+
writer.uint32(18).string(message.gateway_id);
|
|
26
26
|
}
|
|
27
27
|
if (message.external_order_id !== "") {
|
|
28
28
|
writer.uint32(26).string(message.external_order_id);
|
|
@@ -46,7 +46,7 @@ exports.request = {
|
|
|
46
46
|
if (tag !== 18) {
|
|
47
47
|
break;
|
|
48
48
|
}
|
|
49
|
-
message.
|
|
49
|
+
message.gateway_id = reader.string();
|
|
50
50
|
continue;
|
|
51
51
|
case 3:
|
|
52
52
|
if (tag !== 26) {
|
|
@@ -65,7 +65,7 @@ exports.request = {
|
|
|
65
65
|
fromJSON(object) {
|
|
66
66
|
return {
|
|
67
67
|
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
68
|
-
|
|
68
|
+
gateway_id: isSet(object.gateway_id) ? globalThis.String(object.gateway_id) : "",
|
|
69
69
|
external_order_id: isSet(object.external_order_id) ? globalThis.String(object.external_order_id) : "",
|
|
70
70
|
};
|
|
71
71
|
},
|
|
@@ -74,8 +74,8 @@ exports.request = {
|
|
|
74
74
|
if (message.customer_id !== 0) {
|
|
75
75
|
obj.customer_id = Math.round(message.customer_id);
|
|
76
76
|
}
|
|
77
|
-
if (message.
|
|
78
|
-
obj.
|
|
77
|
+
if (message.gateway_id !== "") {
|
|
78
|
+
obj.gateway_id = message.gateway_id;
|
|
79
79
|
}
|
|
80
80
|
if (message.external_order_id !== "") {
|
|
81
81
|
obj.external_order_id = message.external_order_id;
|
|
@@ -88,7 +88,7 @@ exports.request = {
|
|
|
88
88
|
fromPartial(object) {
|
|
89
89
|
const message = createBaserequest();
|
|
90
90
|
message.customer_id = object.customer_id ?? 0;
|
|
91
|
-
message.
|
|
91
|
+
message.gateway_id = object.gateway_id ?? "";
|
|
92
92
|
message.external_order_id = object.external_order_id ?? "";
|
|
93
93
|
return message;
|
|
94
94
|
},
|
|
@@ -2,7 +2,7 @@ import _m0 from "protobufjs/minimal";
|
|
|
2
2
|
export declare const protobufPackage = "eqxpayments.nachregistrationstatus";
|
|
3
3
|
export interface request {
|
|
4
4
|
customer_id: number;
|
|
5
|
-
|
|
5
|
+
gateway_id: string;
|
|
6
6
|
external_order_id: string;
|
|
7
7
|
}
|
|
8
8
|
export interface response {
|
|
@@ -14,15 +14,15 @@ const long_1 = __importDefault(require("long"));
|
|
|
14
14
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
15
15
|
exports.protobufPackage = "eqxpayments.nachregistrationstatus";
|
|
16
16
|
function createBaserequest() {
|
|
17
|
-
return { customer_id: 0,
|
|
17
|
+
return { customer_id: 0, gateway_id: "", external_order_id: "" };
|
|
18
18
|
}
|
|
19
19
|
exports.request = {
|
|
20
20
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
21
|
if (message.customer_id !== 0) {
|
|
22
22
|
writer.uint32(8).int64(message.customer_id);
|
|
23
23
|
}
|
|
24
|
-
if (message.
|
|
25
|
-
writer.uint32(18).string(message.
|
|
24
|
+
if (message.gateway_id !== "") {
|
|
25
|
+
writer.uint32(18).string(message.gateway_id);
|
|
26
26
|
}
|
|
27
27
|
if (message.external_order_id !== "") {
|
|
28
28
|
writer.uint32(26).string(message.external_order_id);
|
|
@@ -46,7 +46,7 @@ exports.request = {
|
|
|
46
46
|
if (tag !== 18) {
|
|
47
47
|
break;
|
|
48
48
|
}
|
|
49
|
-
message.
|
|
49
|
+
message.gateway_id = reader.string();
|
|
50
50
|
continue;
|
|
51
51
|
case 3:
|
|
52
52
|
if (tag !== 26) {
|
|
@@ -65,7 +65,7 @@ exports.request = {
|
|
|
65
65
|
fromJSON(object) {
|
|
66
66
|
return {
|
|
67
67
|
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
68
|
-
|
|
68
|
+
gateway_id: isSet(object.gateway_id) ? globalThis.String(object.gateway_id) : "",
|
|
69
69
|
external_order_id: isSet(object.external_order_id) ? globalThis.String(object.external_order_id) : "",
|
|
70
70
|
};
|
|
71
71
|
},
|
|
@@ -74,8 +74,8 @@ exports.request = {
|
|
|
74
74
|
if (message.customer_id !== 0) {
|
|
75
75
|
obj.customer_id = Math.round(message.customer_id);
|
|
76
76
|
}
|
|
77
|
-
if (message.
|
|
78
|
-
obj.
|
|
77
|
+
if (message.gateway_id !== "") {
|
|
78
|
+
obj.gateway_id = message.gateway_id;
|
|
79
79
|
}
|
|
80
80
|
if (message.external_order_id !== "") {
|
|
81
81
|
obj.external_order_id = message.external_order_id;
|
|
@@ -88,7 +88,7 @@ exports.request = {
|
|
|
88
88
|
fromPartial(object) {
|
|
89
89
|
const message = createBaserequest();
|
|
90
90
|
message.customer_id = object.customer_id ?? 0;
|
|
91
|
-
message.
|
|
91
|
+
message.gateway_id = object.gateway_id ?? "";
|
|
92
92
|
message.external_order_id = object.external_order_id ?? "";
|
|
93
93
|
return message;
|
|
94
94
|
},
|