@stashfin/grpc 1.2.502 → 1.2.504
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/upi/getrecentcontacts.d.ts +64 -0
- package/ts/upi/getrecentcontacts.js +283 -0
- package/ts/upi.d.ts +14 -0
- package/ts/upi.js +10 -0
package/package.json
CHANGED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "upi.getRecentContacts";
|
|
3
|
+
export interface getRecentContactsRequest {
|
|
4
|
+
limit?: number | undefined;
|
|
5
|
+
off_set?: number | undefined;
|
|
6
|
+
}
|
|
7
|
+
/** Payment timestamp in ISO format */
|
|
8
|
+
export interface RecentContacts {
|
|
9
|
+
/** Payee's VPA (Virtual Payment Address) */
|
|
10
|
+
payee_vpa?: string | undefined;
|
|
11
|
+
/** Name of the payee */
|
|
12
|
+
payee_name?: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
export interface Data {
|
|
15
|
+
contacts: RecentContacts[];
|
|
16
|
+
}
|
|
17
|
+
export interface getRecentContactsResponse {
|
|
18
|
+
status: string;
|
|
19
|
+
message: string;
|
|
20
|
+
data?: Data | undefined;
|
|
21
|
+
}
|
|
22
|
+
export declare const getRecentContactsRequest: {
|
|
23
|
+
encode(message: getRecentContactsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
24
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getRecentContactsRequest;
|
|
25
|
+
fromJSON(object: any): getRecentContactsRequest;
|
|
26
|
+
toJSON(message: getRecentContactsRequest): unknown;
|
|
27
|
+
create<I extends Exact<DeepPartial<getRecentContactsRequest>, I>>(base?: I): getRecentContactsRequest;
|
|
28
|
+
fromPartial<I extends Exact<DeepPartial<getRecentContactsRequest>, I>>(object: I): getRecentContactsRequest;
|
|
29
|
+
};
|
|
30
|
+
export declare const RecentContacts: {
|
|
31
|
+
encode(message: RecentContacts, writer?: _m0.Writer): _m0.Writer;
|
|
32
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RecentContacts;
|
|
33
|
+
fromJSON(object: any): RecentContacts;
|
|
34
|
+
toJSON(message: RecentContacts): unknown;
|
|
35
|
+
create<I extends Exact<DeepPartial<RecentContacts>, I>>(base?: I): RecentContacts;
|
|
36
|
+
fromPartial<I extends Exact<DeepPartial<RecentContacts>, I>>(object: I): RecentContacts;
|
|
37
|
+
};
|
|
38
|
+
export declare const Data: {
|
|
39
|
+
encode(message: Data, writer?: _m0.Writer): _m0.Writer;
|
|
40
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data;
|
|
41
|
+
fromJSON(object: any): Data;
|
|
42
|
+
toJSON(message: Data): unknown;
|
|
43
|
+
create<I extends Exact<DeepPartial<Data>, I>>(base?: I): Data;
|
|
44
|
+
fromPartial<I extends Exact<DeepPartial<Data>, I>>(object: I): Data;
|
|
45
|
+
};
|
|
46
|
+
export declare const getRecentContactsResponse: {
|
|
47
|
+
encode(message: getRecentContactsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
48
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getRecentContactsResponse;
|
|
49
|
+
fromJSON(object: any): getRecentContactsResponse;
|
|
50
|
+
toJSON(message: getRecentContactsResponse): unknown;
|
|
51
|
+
create<I extends Exact<DeepPartial<getRecentContactsResponse>, I>>(base?: I): getRecentContactsResponse;
|
|
52
|
+
fromPartial<I extends Exact<DeepPartial<getRecentContactsResponse>, I>>(object: I): getRecentContactsResponse;
|
|
53
|
+
};
|
|
54
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
55
|
+
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 {} ? {
|
|
56
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
57
|
+
} : Partial<T>;
|
|
58
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
59
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
60
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
61
|
+
} & {
|
|
62
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
63
|
+
};
|
|
64
|
+
export {};
|
|
@@ -0,0 +1,283 @@
|
|
|
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.1
|
|
6
|
+
// source: upi/getrecentcontacts.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.getRecentContactsResponse = exports.Data = exports.RecentContacts = exports.getRecentContactsRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "upi.getRecentContacts";
|
|
15
|
+
function createBasegetRecentContactsRequest() {
|
|
16
|
+
return { limit: undefined, off_set: undefined };
|
|
17
|
+
}
|
|
18
|
+
exports.getRecentContactsRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.limit !== undefined) {
|
|
21
|
+
writer.uint32(8).int32(message.limit);
|
|
22
|
+
}
|
|
23
|
+
if (message.off_set !== undefined) {
|
|
24
|
+
writer.uint32(16).int32(message.off_set);
|
|
25
|
+
}
|
|
26
|
+
return writer;
|
|
27
|
+
},
|
|
28
|
+
decode(input, length) {
|
|
29
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
30
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
+
const message = createBasegetRecentContactsRequest();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1:
|
|
36
|
+
if (tag !== 8) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
message.limit = reader.int32();
|
|
40
|
+
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 16) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.off_set = reader.int32();
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
reader.skipType(tag & 7);
|
|
52
|
+
}
|
|
53
|
+
return message;
|
|
54
|
+
},
|
|
55
|
+
fromJSON(object) {
|
|
56
|
+
return {
|
|
57
|
+
limit: isSet(object.limit) ? globalThis.Number(object.limit) : undefined,
|
|
58
|
+
off_set: isSet(object.off_set) ? globalThis.Number(object.off_set) : undefined,
|
|
59
|
+
};
|
|
60
|
+
},
|
|
61
|
+
toJSON(message) {
|
|
62
|
+
const obj = {};
|
|
63
|
+
if (message.limit !== undefined) {
|
|
64
|
+
obj.limit = Math.round(message.limit);
|
|
65
|
+
}
|
|
66
|
+
if (message.off_set !== undefined) {
|
|
67
|
+
obj.off_set = Math.round(message.off_set);
|
|
68
|
+
}
|
|
69
|
+
return obj;
|
|
70
|
+
},
|
|
71
|
+
create(base) {
|
|
72
|
+
return exports.getRecentContactsRequest.fromPartial(base ?? {});
|
|
73
|
+
},
|
|
74
|
+
fromPartial(object) {
|
|
75
|
+
const message = createBasegetRecentContactsRequest();
|
|
76
|
+
message.limit = object.limit ?? undefined;
|
|
77
|
+
message.off_set = object.off_set ?? undefined;
|
|
78
|
+
return message;
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
function createBaseRecentContacts() {
|
|
82
|
+
return { payee_vpa: undefined, payee_name: undefined };
|
|
83
|
+
}
|
|
84
|
+
exports.RecentContacts = {
|
|
85
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
86
|
+
if (message.payee_vpa !== undefined) {
|
|
87
|
+
writer.uint32(10).string(message.payee_vpa);
|
|
88
|
+
}
|
|
89
|
+
if (message.payee_name !== undefined) {
|
|
90
|
+
writer.uint32(18).string(message.payee_name);
|
|
91
|
+
}
|
|
92
|
+
return writer;
|
|
93
|
+
},
|
|
94
|
+
decode(input, length) {
|
|
95
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
96
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
97
|
+
const message = createBaseRecentContacts();
|
|
98
|
+
while (reader.pos < end) {
|
|
99
|
+
const tag = reader.uint32();
|
|
100
|
+
switch (tag >>> 3) {
|
|
101
|
+
case 1:
|
|
102
|
+
if (tag !== 10) {
|
|
103
|
+
break;
|
|
104
|
+
}
|
|
105
|
+
message.payee_vpa = reader.string();
|
|
106
|
+
continue;
|
|
107
|
+
case 2:
|
|
108
|
+
if (tag !== 18) {
|
|
109
|
+
break;
|
|
110
|
+
}
|
|
111
|
+
message.payee_name = reader.string();
|
|
112
|
+
continue;
|
|
113
|
+
}
|
|
114
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
reader.skipType(tag & 7);
|
|
118
|
+
}
|
|
119
|
+
return message;
|
|
120
|
+
},
|
|
121
|
+
fromJSON(object) {
|
|
122
|
+
return {
|
|
123
|
+
payee_vpa: isSet(object.payee_vpa) ? globalThis.String(object.payee_vpa) : undefined,
|
|
124
|
+
payee_name: isSet(object.payee_name) ? globalThis.String(object.payee_name) : undefined,
|
|
125
|
+
};
|
|
126
|
+
},
|
|
127
|
+
toJSON(message) {
|
|
128
|
+
const obj = {};
|
|
129
|
+
if (message.payee_vpa !== undefined) {
|
|
130
|
+
obj.payee_vpa = message.payee_vpa;
|
|
131
|
+
}
|
|
132
|
+
if (message.payee_name !== undefined) {
|
|
133
|
+
obj.payee_name = message.payee_name;
|
|
134
|
+
}
|
|
135
|
+
return obj;
|
|
136
|
+
},
|
|
137
|
+
create(base) {
|
|
138
|
+
return exports.RecentContacts.fromPartial(base ?? {});
|
|
139
|
+
},
|
|
140
|
+
fromPartial(object) {
|
|
141
|
+
const message = createBaseRecentContacts();
|
|
142
|
+
message.payee_vpa = object.payee_vpa ?? undefined;
|
|
143
|
+
message.payee_name = object.payee_name ?? undefined;
|
|
144
|
+
return message;
|
|
145
|
+
},
|
|
146
|
+
};
|
|
147
|
+
function createBaseData() {
|
|
148
|
+
return { contacts: [] };
|
|
149
|
+
}
|
|
150
|
+
exports.Data = {
|
|
151
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
152
|
+
for (const v of message.contacts) {
|
|
153
|
+
exports.RecentContacts.encode(v, writer.uint32(10).fork()).ldelim();
|
|
154
|
+
}
|
|
155
|
+
return writer;
|
|
156
|
+
},
|
|
157
|
+
decode(input, length) {
|
|
158
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
159
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
160
|
+
const message = createBaseData();
|
|
161
|
+
while (reader.pos < end) {
|
|
162
|
+
const tag = reader.uint32();
|
|
163
|
+
switch (tag >>> 3) {
|
|
164
|
+
case 1:
|
|
165
|
+
if (tag !== 10) {
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
message.contacts.push(exports.RecentContacts.decode(reader, reader.uint32()));
|
|
169
|
+
continue;
|
|
170
|
+
}
|
|
171
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
172
|
+
break;
|
|
173
|
+
}
|
|
174
|
+
reader.skipType(tag & 7);
|
|
175
|
+
}
|
|
176
|
+
return message;
|
|
177
|
+
},
|
|
178
|
+
fromJSON(object) {
|
|
179
|
+
return {
|
|
180
|
+
contacts: globalThis.Array.isArray(object?.contacts)
|
|
181
|
+
? object.contacts.map((e) => exports.RecentContacts.fromJSON(e))
|
|
182
|
+
: [],
|
|
183
|
+
};
|
|
184
|
+
},
|
|
185
|
+
toJSON(message) {
|
|
186
|
+
const obj = {};
|
|
187
|
+
if (message.contacts?.length) {
|
|
188
|
+
obj.contacts = message.contacts.map((e) => exports.RecentContacts.toJSON(e));
|
|
189
|
+
}
|
|
190
|
+
return obj;
|
|
191
|
+
},
|
|
192
|
+
create(base) {
|
|
193
|
+
return exports.Data.fromPartial(base ?? {});
|
|
194
|
+
},
|
|
195
|
+
fromPartial(object) {
|
|
196
|
+
const message = createBaseData();
|
|
197
|
+
message.contacts = object.contacts?.map((e) => exports.RecentContacts.fromPartial(e)) || [];
|
|
198
|
+
return message;
|
|
199
|
+
},
|
|
200
|
+
};
|
|
201
|
+
function createBasegetRecentContactsResponse() {
|
|
202
|
+
return { status: "", message: "", data: undefined };
|
|
203
|
+
}
|
|
204
|
+
exports.getRecentContactsResponse = {
|
|
205
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
206
|
+
if (message.status !== "") {
|
|
207
|
+
writer.uint32(10).string(message.status);
|
|
208
|
+
}
|
|
209
|
+
if (message.message !== "") {
|
|
210
|
+
writer.uint32(18).string(message.message);
|
|
211
|
+
}
|
|
212
|
+
if (message.data !== undefined) {
|
|
213
|
+
exports.Data.encode(message.data, writer.uint32(26).fork()).ldelim();
|
|
214
|
+
}
|
|
215
|
+
return writer;
|
|
216
|
+
},
|
|
217
|
+
decode(input, length) {
|
|
218
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
219
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
220
|
+
const message = createBasegetRecentContactsResponse();
|
|
221
|
+
while (reader.pos < end) {
|
|
222
|
+
const tag = reader.uint32();
|
|
223
|
+
switch (tag >>> 3) {
|
|
224
|
+
case 1:
|
|
225
|
+
if (tag !== 10) {
|
|
226
|
+
break;
|
|
227
|
+
}
|
|
228
|
+
message.status = reader.string();
|
|
229
|
+
continue;
|
|
230
|
+
case 2:
|
|
231
|
+
if (tag !== 18) {
|
|
232
|
+
break;
|
|
233
|
+
}
|
|
234
|
+
message.message = reader.string();
|
|
235
|
+
continue;
|
|
236
|
+
case 3:
|
|
237
|
+
if (tag !== 26) {
|
|
238
|
+
break;
|
|
239
|
+
}
|
|
240
|
+
message.data = exports.Data.decode(reader, reader.uint32());
|
|
241
|
+
continue;
|
|
242
|
+
}
|
|
243
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
244
|
+
break;
|
|
245
|
+
}
|
|
246
|
+
reader.skipType(tag & 7);
|
|
247
|
+
}
|
|
248
|
+
return message;
|
|
249
|
+
},
|
|
250
|
+
fromJSON(object) {
|
|
251
|
+
return {
|
|
252
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
253
|
+
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
254
|
+
data: isSet(object.data) ? exports.Data.fromJSON(object.data) : undefined,
|
|
255
|
+
};
|
|
256
|
+
},
|
|
257
|
+
toJSON(message) {
|
|
258
|
+
const obj = {};
|
|
259
|
+
if (message.status !== "") {
|
|
260
|
+
obj.status = message.status;
|
|
261
|
+
}
|
|
262
|
+
if (message.message !== "") {
|
|
263
|
+
obj.message = message.message;
|
|
264
|
+
}
|
|
265
|
+
if (message.data !== undefined) {
|
|
266
|
+
obj.data = exports.Data.toJSON(message.data);
|
|
267
|
+
}
|
|
268
|
+
return obj;
|
|
269
|
+
},
|
|
270
|
+
create(base) {
|
|
271
|
+
return exports.getRecentContactsResponse.fromPartial(base ?? {});
|
|
272
|
+
},
|
|
273
|
+
fromPartial(object) {
|
|
274
|
+
const message = createBasegetRecentContactsResponse();
|
|
275
|
+
message.status = object.status ?? "";
|
|
276
|
+
message.message = object.message ?? "";
|
|
277
|
+
message.data = (object.data !== undefined && object.data !== null) ? exports.Data.fromPartial(object.data) : undefined;
|
|
278
|
+
return message;
|
|
279
|
+
},
|
|
280
|
+
};
|
|
281
|
+
function isSet(value) {
|
|
282
|
+
return value !== null && value !== undefined;
|
|
283
|
+
}
|
package/ts/upi.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { getAvailableVPARequest, getAvailableVPAResponse } from "./upi/getavaila
|
|
|
8
8
|
import { getListedAccountProvidersRequest, getListedAccountProvidersResponse } from "./upi/getlistedaccountproviders";
|
|
9
9
|
import { pendingCollectRequest, pendingCollectResponse } from "./upi/getpendingcollectrequest";
|
|
10
10
|
import { getProfileRequest, getProfileResponse } from "./upi/getprofile";
|
|
11
|
+
import { getRecentContactsRequest, getRecentContactsResponse } from "./upi/getrecentcontacts";
|
|
11
12
|
import { getTransactionsRequest, getTransactionsResponse } from "./upi/gettransactions";
|
|
12
13
|
import { initiateTransactionRequest, initiateTransactionResponse } from "./upi/initiatetransaction";
|
|
13
14
|
import { listBlockedVPARequest, listBlockedVPAResponse } from "./upi/listblockedvpa";
|
|
@@ -154,6 +155,15 @@ export declare const upiService: {
|
|
|
154
155
|
readonly responseSerialize: (value: getTransactionsResponse) => Buffer;
|
|
155
156
|
readonly responseDeserialize: (value: Buffer) => getTransactionsResponse;
|
|
156
157
|
};
|
|
158
|
+
readonly getRecentTransactions: {
|
|
159
|
+
readonly path: "/service.upi/getRecentTransactions";
|
|
160
|
+
readonly requestStream: false;
|
|
161
|
+
readonly responseStream: false;
|
|
162
|
+
readonly requestSerialize: (value: getRecentContactsRequest) => Buffer;
|
|
163
|
+
readonly requestDeserialize: (value: Buffer) => getRecentContactsRequest;
|
|
164
|
+
readonly responseSerialize: (value: getRecentContactsResponse) => Buffer;
|
|
165
|
+
readonly responseDeserialize: (value: Buffer) => getRecentContactsResponse;
|
|
166
|
+
};
|
|
157
167
|
readonly deregisterProfile: {
|
|
158
168
|
readonly path: "/service.upi/deregisterProfile";
|
|
159
169
|
readonly requestStream: false;
|
|
@@ -189,6 +199,7 @@ export interface upiServer extends UntypedServiceImplementation {
|
|
|
189
199
|
validateIfsc: handleUnaryCall<validateIFSCRequest, validateIFSCResponse>;
|
|
190
200
|
getPendingCollectRequest: handleUnaryCall<pendingCollectRequest, pendingCollectResponse>;
|
|
191
201
|
getTransactions: handleUnaryCall<getTransactionsRequest, getTransactionsResponse>;
|
|
202
|
+
getRecentTransactions: handleUnaryCall<getRecentContactsRequest, getRecentContactsResponse>;
|
|
192
203
|
deregisterProfile: handleUnaryCall<deregisterProfileReqeust, deregisterProfileResponse>;
|
|
193
204
|
upiNumberOperations: handleUnaryCall<upiNumberOperationsRequest, upiNumberOperationsResponse>;
|
|
194
205
|
}
|
|
@@ -238,6 +249,9 @@ export interface upiClient extends Client {
|
|
|
238
249
|
getTransactions(request: getTransactionsRequest, callback: (error: ServiceError | null, response: getTransactionsResponse) => void): ClientUnaryCall;
|
|
239
250
|
getTransactions(request: getTransactionsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getTransactionsResponse) => void): ClientUnaryCall;
|
|
240
251
|
getTransactions(request: getTransactionsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getTransactionsResponse) => void): ClientUnaryCall;
|
|
252
|
+
getRecentTransactions(request: getRecentContactsRequest, callback: (error: ServiceError | null, response: getRecentContactsResponse) => void): ClientUnaryCall;
|
|
253
|
+
getRecentTransactions(request: getRecentContactsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getRecentContactsResponse) => void): ClientUnaryCall;
|
|
254
|
+
getRecentTransactions(request: getRecentContactsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getRecentContactsResponse) => void): ClientUnaryCall;
|
|
241
255
|
deregisterProfile(request: deregisterProfileReqeust, callback: (error: ServiceError | null, response: deregisterProfileResponse) => void): ClientUnaryCall;
|
|
242
256
|
deregisterProfile(request: deregisterProfileReqeust, metadata: Metadata, callback: (error: ServiceError | null, response: deregisterProfileResponse) => void): ClientUnaryCall;
|
|
243
257
|
deregisterProfile(request: deregisterProfileReqeust, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: deregisterProfileResponse) => void): ClientUnaryCall;
|
package/ts/upi.js
CHANGED
|
@@ -17,6 +17,7 @@ const getavailablevpa_1 = require("./upi/getavailablevpa");
|
|
|
17
17
|
const getlistedaccountproviders_1 = require("./upi/getlistedaccountproviders");
|
|
18
18
|
const getpendingcollectrequest_1 = require("./upi/getpendingcollectrequest");
|
|
19
19
|
const getprofile_1 = require("./upi/getprofile");
|
|
20
|
+
const getrecentcontacts_1 = require("./upi/getrecentcontacts");
|
|
20
21
|
const gettransactions_1 = require("./upi/gettransactions");
|
|
21
22
|
const initiatetransaction_1 = require("./upi/initiatetransaction");
|
|
22
23
|
const listblockedvpa_1 = require("./upi/listblockedvpa");
|
|
@@ -162,6 +163,15 @@ exports.upiService = {
|
|
|
162
163
|
responseSerialize: (value) => Buffer.from(gettransactions_1.getTransactionsResponse.encode(value).finish()),
|
|
163
164
|
responseDeserialize: (value) => gettransactions_1.getTransactionsResponse.decode(value),
|
|
164
165
|
},
|
|
166
|
+
getRecentTransactions: {
|
|
167
|
+
path: "/service.upi/getRecentTransactions",
|
|
168
|
+
requestStream: false,
|
|
169
|
+
responseStream: false,
|
|
170
|
+
requestSerialize: (value) => Buffer.from(getrecentcontacts_1.getRecentContactsRequest.encode(value).finish()),
|
|
171
|
+
requestDeserialize: (value) => getrecentcontacts_1.getRecentContactsRequest.decode(value),
|
|
172
|
+
responseSerialize: (value) => Buffer.from(getrecentcontacts_1.getRecentContactsResponse.encode(value).finish()),
|
|
173
|
+
responseDeserialize: (value) => getrecentcontacts_1.getRecentContactsResponse.decode(value),
|
|
174
|
+
},
|
|
165
175
|
deregisterProfile: {
|
|
166
176
|
path: "/service.upi/deregisterProfile",
|
|
167
177
|
requestStream: false,
|