@stashfin/grpc 1.2.591 → 1.2.593
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/kyc/facematch.d.ts +5 -2
- package/ts/kyc/facematch.js +67 -15
- package/ts/upi/checkderegisterpermission.d.ts +35 -0
- package/ts/upi/checkderegisterpermission.js +120 -0
- package/ts/upi/getallmandates.d.ts +1 -0
- package/ts/upi/getallmandates.js +15 -0
- package/ts/upi.d.ts +27 -0
- package/ts/upi.js +19 -0
package/package.json
CHANGED
package/ts/kyc/facematch.d.ts
CHANGED
|
@@ -8,11 +8,14 @@ export interface faceMatchRequest {
|
|
|
8
8
|
}
|
|
9
9
|
export interface faceMatchResponse {
|
|
10
10
|
conf: string;
|
|
11
|
-
match:
|
|
11
|
+
match: string;
|
|
12
12
|
match_score: number;
|
|
13
|
-
to_be_reviewed:
|
|
13
|
+
to_be_reviewed: string;
|
|
14
14
|
customer_id: number;
|
|
15
15
|
txn_id: string;
|
|
16
|
+
status: string;
|
|
17
|
+
status_code: number;
|
|
18
|
+
error_message?: string | undefined;
|
|
16
19
|
}
|
|
17
20
|
export declare const faceMatchRequest: {
|
|
18
21
|
encode(message: faceMatchRequest, writer?: _m0.Writer): _m0.Writer;
|
package/ts/kyc/facematch.js
CHANGED
|
@@ -107,21 +107,31 @@ exports.faceMatchRequest = {
|
|
|
107
107
|
},
|
|
108
108
|
};
|
|
109
109
|
function createBasefaceMatchResponse() {
|
|
110
|
-
return {
|
|
110
|
+
return {
|
|
111
|
+
conf: "",
|
|
112
|
+
match: "",
|
|
113
|
+
match_score: 0,
|
|
114
|
+
to_be_reviewed: "",
|
|
115
|
+
customer_id: 0,
|
|
116
|
+
txn_id: "",
|
|
117
|
+
status: "",
|
|
118
|
+
status_code: 0,
|
|
119
|
+
error_message: undefined,
|
|
120
|
+
};
|
|
111
121
|
}
|
|
112
122
|
exports.faceMatchResponse = {
|
|
113
123
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
114
124
|
if (message.conf !== "") {
|
|
115
125
|
writer.uint32(10).string(message.conf);
|
|
116
126
|
}
|
|
117
|
-
if (message.match !==
|
|
118
|
-
writer.uint32(
|
|
127
|
+
if (message.match !== "") {
|
|
128
|
+
writer.uint32(18).string(message.match);
|
|
119
129
|
}
|
|
120
130
|
if (message.match_score !== 0) {
|
|
121
131
|
writer.uint32(24).int32(message.match_score);
|
|
122
132
|
}
|
|
123
|
-
if (message.to_be_reviewed !==
|
|
124
|
-
writer.uint32(
|
|
133
|
+
if (message.to_be_reviewed !== "") {
|
|
134
|
+
writer.uint32(34).string(message.to_be_reviewed);
|
|
125
135
|
}
|
|
126
136
|
if (message.customer_id !== 0) {
|
|
127
137
|
writer.uint32(40).int32(message.customer_id);
|
|
@@ -129,6 +139,15 @@ exports.faceMatchResponse = {
|
|
|
129
139
|
if (message.txn_id !== "") {
|
|
130
140
|
writer.uint32(50).string(message.txn_id);
|
|
131
141
|
}
|
|
142
|
+
if (message.status !== "") {
|
|
143
|
+
writer.uint32(58).string(message.status);
|
|
144
|
+
}
|
|
145
|
+
if (message.status_code !== 0) {
|
|
146
|
+
writer.uint32(64).int32(message.status_code);
|
|
147
|
+
}
|
|
148
|
+
if (message.error_message !== undefined) {
|
|
149
|
+
writer.uint32(74).string(message.error_message);
|
|
150
|
+
}
|
|
132
151
|
return writer;
|
|
133
152
|
},
|
|
134
153
|
decode(input, length) {
|
|
@@ -145,10 +164,10 @@ exports.faceMatchResponse = {
|
|
|
145
164
|
message.conf = reader.string();
|
|
146
165
|
continue;
|
|
147
166
|
case 2:
|
|
148
|
-
if (tag !==
|
|
167
|
+
if (tag !== 18) {
|
|
149
168
|
break;
|
|
150
169
|
}
|
|
151
|
-
message.match = reader.
|
|
170
|
+
message.match = reader.string();
|
|
152
171
|
continue;
|
|
153
172
|
case 3:
|
|
154
173
|
if (tag !== 24) {
|
|
@@ -157,10 +176,10 @@ exports.faceMatchResponse = {
|
|
|
157
176
|
message.match_score = reader.int32();
|
|
158
177
|
continue;
|
|
159
178
|
case 4:
|
|
160
|
-
if (tag !==
|
|
179
|
+
if (tag !== 34) {
|
|
161
180
|
break;
|
|
162
181
|
}
|
|
163
|
-
message.to_be_reviewed = reader.
|
|
182
|
+
message.to_be_reviewed = reader.string();
|
|
164
183
|
continue;
|
|
165
184
|
case 5:
|
|
166
185
|
if (tag !== 40) {
|
|
@@ -174,6 +193,24 @@ exports.faceMatchResponse = {
|
|
|
174
193
|
}
|
|
175
194
|
message.txn_id = reader.string();
|
|
176
195
|
continue;
|
|
196
|
+
case 7:
|
|
197
|
+
if (tag !== 58) {
|
|
198
|
+
break;
|
|
199
|
+
}
|
|
200
|
+
message.status = reader.string();
|
|
201
|
+
continue;
|
|
202
|
+
case 8:
|
|
203
|
+
if (tag !== 64) {
|
|
204
|
+
break;
|
|
205
|
+
}
|
|
206
|
+
message.status_code = reader.int32();
|
|
207
|
+
continue;
|
|
208
|
+
case 9:
|
|
209
|
+
if (tag !== 74) {
|
|
210
|
+
break;
|
|
211
|
+
}
|
|
212
|
+
message.error_message = reader.string();
|
|
213
|
+
continue;
|
|
177
214
|
}
|
|
178
215
|
if ((tag & 7) === 4 || tag === 0) {
|
|
179
216
|
break;
|
|
@@ -185,11 +222,14 @@ exports.faceMatchResponse = {
|
|
|
185
222
|
fromJSON(object) {
|
|
186
223
|
return {
|
|
187
224
|
conf: isSet(object.conf) ? globalThis.String(object.conf) : "",
|
|
188
|
-
match: isSet(object.match) ? globalThis.
|
|
225
|
+
match: isSet(object.match) ? globalThis.String(object.match) : "",
|
|
189
226
|
match_score: isSet(object.match_score) ? globalThis.Number(object.match_score) : 0,
|
|
190
|
-
to_be_reviewed: isSet(object.to_be_reviewed) ? globalThis.
|
|
227
|
+
to_be_reviewed: isSet(object.to_be_reviewed) ? globalThis.String(object.to_be_reviewed) : "",
|
|
191
228
|
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
192
229
|
txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
|
|
230
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
231
|
+
status_code: isSet(object.status_code) ? globalThis.Number(object.status_code) : 0,
|
|
232
|
+
error_message: isSet(object.error_message) ? globalThis.String(object.error_message) : undefined,
|
|
193
233
|
};
|
|
194
234
|
},
|
|
195
235
|
toJSON(message) {
|
|
@@ -197,13 +237,13 @@ exports.faceMatchResponse = {
|
|
|
197
237
|
if (message.conf !== "") {
|
|
198
238
|
obj.conf = message.conf;
|
|
199
239
|
}
|
|
200
|
-
if (message.match !==
|
|
240
|
+
if (message.match !== "") {
|
|
201
241
|
obj.match = message.match;
|
|
202
242
|
}
|
|
203
243
|
if (message.match_score !== 0) {
|
|
204
244
|
obj.match_score = Math.round(message.match_score);
|
|
205
245
|
}
|
|
206
|
-
if (message.to_be_reviewed !==
|
|
246
|
+
if (message.to_be_reviewed !== "") {
|
|
207
247
|
obj.to_be_reviewed = message.to_be_reviewed;
|
|
208
248
|
}
|
|
209
249
|
if (message.customer_id !== 0) {
|
|
@@ -212,6 +252,15 @@ exports.faceMatchResponse = {
|
|
|
212
252
|
if (message.txn_id !== "") {
|
|
213
253
|
obj.txn_id = message.txn_id;
|
|
214
254
|
}
|
|
255
|
+
if (message.status !== "") {
|
|
256
|
+
obj.status = message.status;
|
|
257
|
+
}
|
|
258
|
+
if (message.status_code !== 0) {
|
|
259
|
+
obj.status_code = Math.round(message.status_code);
|
|
260
|
+
}
|
|
261
|
+
if (message.error_message !== undefined) {
|
|
262
|
+
obj.error_message = message.error_message;
|
|
263
|
+
}
|
|
215
264
|
return obj;
|
|
216
265
|
},
|
|
217
266
|
create(base) {
|
|
@@ -220,11 +269,14 @@ exports.faceMatchResponse = {
|
|
|
220
269
|
fromPartial(object) {
|
|
221
270
|
const message = createBasefaceMatchResponse();
|
|
222
271
|
message.conf = object.conf ?? "";
|
|
223
|
-
message.match = object.match ??
|
|
272
|
+
message.match = object.match ?? "";
|
|
224
273
|
message.match_score = object.match_score ?? 0;
|
|
225
|
-
message.to_be_reviewed = object.to_be_reviewed ??
|
|
274
|
+
message.to_be_reviewed = object.to_be_reviewed ?? "";
|
|
226
275
|
message.customer_id = object.customer_id ?? 0;
|
|
227
276
|
message.txn_id = object.txn_id ?? "";
|
|
277
|
+
message.status = object.status ?? "";
|
|
278
|
+
message.status_code = object.status_code ?? 0;
|
|
279
|
+
message.error_message = object.error_message ?? undefined;
|
|
228
280
|
return message;
|
|
229
281
|
},
|
|
230
282
|
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "upi.checkDeregisterPermission";
|
|
3
|
+
export interface checkDeregisterPermissionRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface checkDeregisterPermissionResponse {
|
|
6
|
+
status: string;
|
|
7
|
+
message?: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare const checkDeregisterPermissionRequest: {
|
|
10
|
+
encode(_: checkDeregisterPermissionRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): checkDeregisterPermissionRequest;
|
|
12
|
+
fromJSON(_: any): checkDeregisterPermissionRequest;
|
|
13
|
+
toJSON(_: checkDeregisterPermissionRequest): unknown;
|
|
14
|
+
create<I extends Exact<DeepPartial<checkDeregisterPermissionRequest>, I>>(base?: I): checkDeregisterPermissionRequest;
|
|
15
|
+
fromPartial<I extends Exact<DeepPartial<checkDeregisterPermissionRequest>, I>>(_: I): checkDeregisterPermissionRequest;
|
|
16
|
+
};
|
|
17
|
+
export declare const checkDeregisterPermissionResponse: {
|
|
18
|
+
encode(message: checkDeregisterPermissionResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): checkDeregisterPermissionResponse;
|
|
20
|
+
fromJSON(object: any): checkDeregisterPermissionResponse;
|
|
21
|
+
toJSON(message: checkDeregisterPermissionResponse): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<checkDeregisterPermissionResponse>, I>>(base?: I): checkDeregisterPermissionResponse;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<checkDeregisterPermissionResponse>, I>>(object: I): checkDeregisterPermissionResponse;
|
|
24
|
+
};
|
|
25
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
26
|
+
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 {} ? {
|
|
27
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
28
|
+
} : Partial<T>;
|
|
29
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
30
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
31
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
32
|
+
} & {
|
|
33
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,120 @@
|
|
|
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 v5.29.3
|
|
6
|
+
// source: upi/checkderegisterpermission.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.checkDeregisterPermissionResponse = exports.checkDeregisterPermissionRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "upi.checkDeregisterPermission";
|
|
15
|
+
function createBasecheckDeregisterPermissionRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.checkDeregisterPermissionRequest = {
|
|
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 = createBasecheckDeregisterPermissionRequest();
|
|
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.checkDeregisterPermissionRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasecheckDeregisterPermissionRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBasecheckDeregisterPermissionResponse() {
|
|
53
|
+
return { status: "", message: undefined };
|
|
54
|
+
}
|
|
55
|
+
exports.checkDeregisterPermissionResponse = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
if (message.status !== "") {
|
|
58
|
+
writer.uint32(10).string(message.status);
|
|
59
|
+
}
|
|
60
|
+
if (message.message !== undefined) {
|
|
61
|
+
writer.uint32(18).string(message.message);
|
|
62
|
+
}
|
|
63
|
+
return writer;
|
|
64
|
+
},
|
|
65
|
+
decode(input, length) {
|
|
66
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
67
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
68
|
+
const message = createBasecheckDeregisterPermissionResponse();
|
|
69
|
+
while (reader.pos < end) {
|
|
70
|
+
const tag = reader.uint32();
|
|
71
|
+
switch (tag >>> 3) {
|
|
72
|
+
case 1:
|
|
73
|
+
if (tag !== 10) {
|
|
74
|
+
break;
|
|
75
|
+
}
|
|
76
|
+
message.status = reader.string();
|
|
77
|
+
continue;
|
|
78
|
+
case 2:
|
|
79
|
+
if (tag !== 18) {
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
message.message = reader.string();
|
|
83
|
+
continue;
|
|
84
|
+
}
|
|
85
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
86
|
+
break;
|
|
87
|
+
}
|
|
88
|
+
reader.skipType(tag & 7);
|
|
89
|
+
}
|
|
90
|
+
return message;
|
|
91
|
+
},
|
|
92
|
+
fromJSON(object) {
|
|
93
|
+
return {
|
|
94
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
95
|
+
message: isSet(object.message) ? globalThis.String(object.message) : undefined,
|
|
96
|
+
};
|
|
97
|
+
},
|
|
98
|
+
toJSON(message) {
|
|
99
|
+
const obj = {};
|
|
100
|
+
if (message.status !== "") {
|
|
101
|
+
obj.status = message.status;
|
|
102
|
+
}
|
|
103
|
+
if (message.message !== undefined) {
|
|
104
|
+
obj.message = message.message;
|
|
105
|
+
}
|
|
106
|
+
return obj;
|
|
107
|
+
},
|
|
108
|
+
create(base) {
|
|
109
|
+
return exports.checkDeregisterPermissionResponse.fromPartial(base ?? {});
|
|
110
|
+
},
|
|
111
|
+
fromPartial(object) {
|
|
112
|
+
const message = createBasecheckDeregisterPermissionResponse();
|
|
113
|
+
message.status = object.status ?? "";
|
|
114
|
+
message.message = object.message ?? undefined;
|
|
115
|
+
return message;
|
|
116
|
+
},
|
|
117
|
+
};
|
|
118
|
+
function isSet(value) {
|
|
119
|
+
return value !== null && value !== undefined;
|
|
120
|
+
}
|
package/ts/upi/getallmandates.js
CHANGED
|
@@ -169,6 +169,7 @@ function createBaseMandateData() {
|
|
|
169
169
|
created_date: undefined,
|
|
170
170
|
amount: undefined,
|
|
171
171
|
mandate_state: undefined,
|
|
172
|
+
ref_url: undefined,
|
|
172
173
|
};
|
|
173
174
|
}
|
|
174
175
|
exports.MandateData = {
|
|
@@ -200,6 +201,9 @@ exports.MandateData = {
|
|
|
200
201
|
if (message.mandate_state !== undefined) {
|
|
201
202
|
writer.uint32(74).string(message.mandate_state);
|
|
202
203
|
}
|
|
204
|
+
if (message.ref_url !== undefined) {
|
|
205
|
+
writer.uint32(82).string(message.ref_url);
|
|
206
|
+
}
|
|
203
207
|
return writer;
|
|
204
208
|
},
|
|
205
209
|
decode(input, length) {
|
|
@@ -263,6 +267,12 @@ exports.MandateData = {
|
|
|
263
267
|
}
|
|
264
268
|
message.mandate_state = reader.string();
|
|
265
269
|
continue;
|
|
270
|
+
case 10:
|
|
271
|
+
if (tag !== 82) {
|
|
272
|
+
break;
|
|
273
|
+
}
|
|
274
|
+
message.ref_url = reader.string();
|
|
275
|
+
continue;
|
|
266
276
|
}
|
|
267
277
|
if ((tag & 7) === 4 || tag === 0) {
|
|
268
278
|
break;
|
|
@@ -282,6 +292,7 @@ exports.MandateData = {
|
|
|
282
292
|
created_date: isSet(object.created_date) ? globalThis.String(object.created_date) : undefined,
|
|
283
293
|
amount: isSet(object.amount) ? globalThis.Number(object.amount) : undefined,
|
|
284
294
|
mandate_state: isSet(object.mandate_state) ? globalThis.String(object.mandate_state) : undefined,
|
|
295
|
+
ref_url: isSet(object.ref_url) ? globalThis.String(object.ref_url) : undefined,
|
|
285
296
|
};
|
|
286
297
|
},
|
|
287
298
|
toJSON(message) {
|
|
@@ -313,6 +324,9 @@ exports.MandateData = {
|
|
|
313
324
|
if (message.mandate_state !== undefined) {
|
|
314
325
|
obj.mandate_state = message.mandate_state;
|
|
315
326
|
}
|
|
327
|
+
if (message.ref_url !== undefined) {
|
|
328
|
+
obj.ref_url = message.ref_url;
|
|
329
|
+
}
|
|
316
330
|
return obj;
|
|
317
331
|
},
|
|
318
332
|
create(base) {
|
|
@@ -329,6 +343,7 @@ exports.MandateData = {
|
|
|
329
343
|
message.created_date = object.created_date ?? undefined;
|
|
330
344
|
message.amount = object.amount ?? undefined;
|
|
331
345
|
message.mandate_state = object.mandate_state ?? undefined;
|
|
346
|
+
message.ref_url = object.ref_url ?? undefined;
|
|
332
347
|
return message;
|
|
333
348
|
},
|
|
334
349
|
};
|
package/ts/upi.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
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 { addAccountRequest, addAccountResponse } from "./upi/addaccount";
|
|
3
3
|
import { blockVPARequest, blockVPAResponse } from "./upi/blockvpa";
|
|
4
|
+
import { checkDeregisterPermissionRequest, checkDeregisterPermissionResponse } from "./upi/checkderegisterpermission";
|
|
4
5
|
import { checkTransactionStatusRequest, checkTransactionStatusResponse } from "./upi/checktransactionstatus";
|
|
5
6
|
import { declineMandateRequest, declineMandateResponse } from "./upi/declinemandate";
|
|
6
7
|
import { deregisterProfileReqeust, deregisterProfileResponse } from "./upi/deregisterprofile";
|
|
@@ -251,6 +252,24 @@ export declare const upiService: {
|
|
|
251
252
|
readonly responseSerialize: (value: getMandateHistoryResponse) => Buffer;
|
|
252
253
|
readonly responseDeserialize: (value: Buffer) => getMandateHistoryResponse;
|
|
253
254
|
};
|
|
255
|
+
readonly getAllIpoMandates: {
|
|
256
|
+
readonly path: "/service.upi/getAllIpoMandates";
|
|
257
|
+
readonly requestStream: false;
|
|
258
|
+
readonly responseStream: false;
|
|
259
|
+
readonly requestSerialize: (value: getAllMandatesRequest) => Buffer;
|
|
260
|
+
readonly requestDeserialize: (value: Buffer) => getAllMandatesRequest;
|
|
261
|
+
readonly responseSerialize: (value: getAllMandatesResponse) => Buffer;
|
|
262
|
+
readonly responseDeserialize: (value: Buffer) => getAllMandatesResponse;
|
|
263
|
+
};
|
|
264
|
+
readonly checkDeregisterPermission: {
|
|
265
|
+
readonly path: "/service.upi/checkDeregisterPermission";
|
|
266
|
+
readonly requestStream: false;
|
|
267
|
+
readonly responseStream: false;
|
|
268
|
+
readonly requestSerialize: (value: checkDeregisterPermissionRequest) => Buffer;
|
|
269
|
+
readonly requestDeserialize: (value: Buffer) => checkDeregisterPermissionRequest;
|
|
270
|
+
readonly responseSerialize: (value: checkDeregisterPermissionResponse) => Buffer;
|
|
271
|
+
readonly responseDeserialize: (value: Buffer) => checkDeregisterPermissionResponse;
|
|
272
|
+
};
|
|
254
273
|
};
|
|
255
274
|
export interface upiServer extends UntypedServiceImplementation {
|
|
256
275
|
getListedAccountProviders: handleUnaryCall<getListedAccountProvidersRequest, getListedAccountProvidersResponse>;
|
|
@@ -278,6 +297,8 @@ export interface upiServer extends UntypedServiceImplementation {
|
|
|
278
297
|
checkMandateStatus: handleUnaryCall<checkTransactionStatusRequest, checkTransactionStatusResponse>;
|
|
279
298
|
declineMandate: handleUnaryCall<declineMandateRequest, declineMandateResponse>;
|
|
280
299
|
getMandateHistory: handleUnaryCall<getMandateHistoryRequest, getMandateHistoryResponse>;
|
|
300
|
+
getAllIpoMandates: handleUnaryCall<getAllMandatesRequest, getAllMandatesResponse>;
|
|
301
|
+
checkDeregisterPermission: handleUnaryCall<checkDeregisterPermissionRequest, checkDeregisterPermissionResponse>;
|
|
281
302
|
}
|
|
282
303
|
export interface upiClient extends Client {
|
|
283
304
|
getListedAccountProviders(request: getListedAccountProvidersRequest, callback: (error: ServiceError | null, response: getListedAccountProvidersResponse) => void): ClientUnaryCall;
|
|
@@ -355,6 +376,12 @@ export interface upiClient extends Client {
|
|
|
355
376
|
getMandateHistory(request: getMandateHistoryRequest, callback: (error: ServiceError | null, response: getMandateHistoryResponse) => void): ClientUnaryCall;
|
|
356
377
|
getMandateHistory(request: getMandateHistoryRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getMandateHistoryResponse) => void): ClientUnaryCall;
|
|
357
378
|
getMandateHistory(request: getMandateHistoryRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getMandateHistoryResponse) => void): ClientUnaryCall;
|
|
379
|
+
getAllIpoMandates(request: getAllMandatesRequest, callback: (error: ServiceError | null, response: getAllMandatesResponse) => void): ClientUnaryCall;
|
|
380
|
+
getAllIpoMandates(request: getAllMandatesRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getAllMandatesResponse) => void): ClientUnaryCall;
|
|
381
|
+
getAllIpoMandates(request: getAllMandatesRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getAllMandatesResponse) => void): ClientUnaryCall;
|
|
382
|
+
checkDeregisterPermission(request: checkDeregisterPermissionRequest, callback: (error: ServiceError | null, response: checkDeregisterPermissionResponse) => void): ClientUnaryCall;
|
|
383
|
+
checkDeregisterPermission(request: checkDeregisterPermissionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: checkDeregisterPermissionResponse) => void): ClientUnaryCall;
|
|
384
|
+
checkDeregisterPermission(request: checkDeregisterPermissionRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: checkDeregisterPermissionResponse) => void): ClientUnaryCall;
|
|
358
385
|
}
|
|
359
386
|
export declare const upiClient: {
|
|
360
387
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): upiClient;
|
package/ts/upi.js
CHANGED
|
@@ -10,6 +10,7 @@ exports.upiClient = exports.upiService = exports.protobufPackage = void 0;
|
|
|
10
10
|
const grpc_js_1 = require("@grpc/grpc-js");
|
|
11
11
|
const addaccount_1 = require("./upi/addaccount");
|
|
12
12
|
const blockvpa_1 = require("./upi/blockvpa");
|
|
13
|
+
const checkderegisterpermission_1 = require("./upi/checkderegisterpermission");
|
|
13
14
|
const checktransactionstatus_1 = require("./upi/checktransactionstatus");
|
|
14
15
|
const declinemandate_1 = require("./upi/declinemandate");
|
|
15
16
|
const deregisterprofile_1 = require("./upi/deregisterprofile");
|
|
@@ -259,5 +260,23 @@ exports.upiService = {
|
|
|
259
260
|
responseSerialize: (value) => Buffer.from(getmandatehistory_1.getMandateHistoryResponse.encode(value).finish()),
|
|
260
261
|
responseDeserialize: (value) => getmandatehistory_1.getMandateHistoryResponse.decode(value),
|
|
261
262
|
},
|
|
263
|
+
getAllIpoMandates: {
|
|
264
|
+
path: "/service.upi/getAllIpoMandates",
|
|
265
|
+
requestStream: false,
|
|
266
|
+
responseStream: false,
|
|
267
|
+
requestSerialize: (value) => Buffer.from(getallmandates_1.getAllMandatesRequest.encode(value).finish()),
|
|
268
|
+
requestDeserialize: (value) => getallmandates_1.getAllMandatesRequest.decode(value),
|
|
269
|
+
responseSerialize: (value) => Buffer.from(getallmandates_1.getAllMandatesResponse.encode(value).finish()),
|
|
270
|
+
responseDeserialize: (value) => getallmandates_1.getAllMandatesResponse.decode(value),
|
|
271
|
+
},
|
|
272
|
+
checkDeregisterPermission: {
|
|
273
|
+
path: "/service.upi/checkDeregisterPermission",
|
|
274
|
+
requestStream: false,
|
|
275
|
+
responseStream: false,
|
|
276
|
+
requestSerialize: (value) => Buffer.from(checkderegisterpermission_1.checkDeregisterPermissionRequest.encode(value).finish()),
|
|
277
|
+
requestDeserialize: (value) => checkderegisterpermission_1.checkDeregisterPermissionRequest.decode(value),
|
|
278
|
+
responseSerialize: (value) => Buffer.from(checkderegisterpermission_1.checkDeregisterPermissionResponse.encode(value).finish()),
|
|
279
|
+
responseDeserialize: (value) => checkderegisterpermission_1.checkDeregisterPermissionResponse.decode(value),
|
|
280
|
+
},
|
|
262
281
|
};
|
|
263
282
|
exports.upiClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.upiService, "service.upi");
|