@stashfin/grpc 1.2.460 → 1.2.462

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.
@@ -8,6 +8,12 @@ export interface initiateTransactionRequest {
8
8
  txn_status: string;
9
9
  payee_vpa?: string | undefined;
10
10
  payer_vpa?: string | undefined;
11
+ account_number?: string | undefined;
12
+ account_ref_number?: string | undefined;
13
+ account_provider?: string | undefined;
14
+ account_type?: string | undefined;
15
+ payee_name?: string | undefined;
16
+ payer_name?: string | undefined;
11
17
  }
12
18
  export interface initiateTransactionResponse {
13
19
  seq_no: string;
@@ -21,6 +21,12 @@ function createBaseinitiateTransactionRequest() {
21
21
  txn_status: "",
22
22
  payee_vpa: undefined,
23
23
  payer_vpa: undefined,
24
+ account_number: undefined,
25
+ account_ref_number: undefined,
26
+ account_provider: undefined,
27
+ account_type: undefined,
28
+ payee_name: undefined,
29
+ payer_name: undefined,
24
30
  };
25
31
  }
26
32
  exports.initiateTransactionRequest = {
@@ -46,6 +52,24 @@ exports.initiateTransactionRequest = {
46
52
  if (message.payer_vpa !== undefined) {
47
53
  writer.uint32(58).string(message.payer_vpa);
48
54
  }
55
+ if (message.account_number !== undefined) {
56
+ writer.uint32(66).string(message.account_number);
57
+ }
58
+ if (message.account_ref_number !== undefined) {
59
+ writer.uint32(74).string(message.account_ref_number);
60
+ }
61
+ if (message.account_provider !== undefined) {
62
+ writer.uint32(82).string(message.account_provider);
63
+ }
64
+ if (message.account_type !== undefined) {
65
+ writer.uint32(90).string(message.account_type);
66
+ }
67
+ if (message.payee_name !== undefined) {
68
+ writer.uint32(98).string(message.payee_name);
69
+ }
70
+ if (message.payer_name !== undefined) {
71
+ writer.uint32(106).string(message.payer_name);
72
+ }
49
73
  return writer;
50
74
  },
51
75
  decode(input, length) {
@@ -97,6 +121,42 @@ exports.initiateTransactionRequest = {
97
121
  }
98
122
  message.payer_vpa = reader.string();
99
123
  continue;
124
+ case 8:
125
+ if (tag !== 66) {
126
+ break;
127
+ }
128
+ message.account_number = reader.string();
129
+ continue;
130
+ case 9:
131
+ if (tag !== 74) {
132
+ break;
133
+ }
134
+ message.account_ref_number = reader.string();
135
+ continue;
136
+ case 10:
137
+ if (tag !== 82) {
138
+ break;
139
+ }
140
+ message.account_provider = reader.string();
141
+ continue;
142
+ case 11:
143
+ if (tag !== 90) {
144
+ break;
145
+ }
146
+ message.account_type = reader.string();
147
+ continue;
148
+ case 12:
149
+ if (tag !== 98) {
150
+ break;
151
+ }
152
+ message.payee_name = reader.string();
153
+ continue;
154
+ case 13:
155
+ if (tag !== 106) {
156
+ break;
157
+ }
158
+ message.payer_name = reader.string();
159
+ continue;
100
160
  }
101
161
  if ((tag & 7) === 4 || tag === 0) {
102
162
  break;
@@ -114,6 +174,12 @@ exports.initiateTransactionRequest = {
114
174
  txn_status: isSet(object.txn_status) ? globalThis.String(object.txn_status) : "",
115
175
  payee_vpa: isSet(object.payee_vpa) ? globalThis.String(object.payee_vpa) : undefined,
116
176
  payer_vpa: isSet(object.payer_vpa) ? globalThis.String(object.payer_vpa) : undefined,
177
+ account_number: isSet(object.account_number) ? globalThis.String(object.account_number) : undefined,
178
+ account_ref_number: isSet(object.account_ref_number) ? globalThis.String(object.account_ref_number) : undefined,
179
+ account_provider: isSet(object.account_provider) ? globalThis.String(object.account_provider) : undefined,
180
+ account_type: isSet(object.account_type) ? globalThis.String(object.account_type) : undefined,
181
+ payee_name: isSet(object.payee_name) ? globalThis.String(object.payee_name) : undefined,
182
+ payer_name: isSet(object.payer_name) ? globalThis.String(object.payer_name) : undefined,
117
183
  };
118
184
  },
119
185
  toJSON(message) {
@@ -139,6 +205,24 @@ exports.initiateTransactionRequest = {
139
205
  if (message.payer_vpa !== undefined) {
140
206
  obj.payer_vpa = message.payer_vpa;
141
207
  }
208
+ if (message.account_number !== undefined) {
209
+ obj.account_number = message.account_number;
210
+ }
211
+ if (message.account_ref_number !== undefined) {
212
+ obj.account_ref_number = message.account_ref_number;
213
+ }
214
+ if (message.account_provider !== undefined) {
215
+ obj.account_provider = message.account_provider;
216
+ }
217
+ if (message.account_type !== undefined) {
218
+ obj.account_type = message.account_type;
219
+ }
220
+ if (message.payee_name !== undefined) {
221
+ obj.payee_name = message.payee_name;
222
+ }
223
+ if (message.payer_name !== undefined) {
224
+ obj.payer_name = message.payer_name;
225
+ }
142
226
  return obj;
143
227
  },
144
228
  create(base) {
@@ -153,6 +237,12 @@ exports.initiateTransactionRequest = {
153
237
  message.txn_status = object.txn_status ?? "";
154
238
  message.payee_vpa = object.payee_vpa ?? undefined;
155
239
  message.payer_vpa = object.payer_vpa ?? undefined;
240
+ message.account_number = object.account_number ?? undefined;
241
+ message.account_ref_number = object.account_ref_number ?? undefined;
242
+ message.account_provider = object.account_provider ?? undefined;
243
+ message.account_type = object.account_type ?? undefined;
244
+ message.payee_name = object.payee_name ?? undefined;
245
+ message.payer_name = object.payer_name ?? undefined;
156
246
  return message;
157
247
  },
158
248
  };
@@ -0,0 +1,58 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "upi.validateVPA";
3
+ export interface validateVPARequest {
4
+ mobile: string;
5
+ device_id: string;
6
+ profile_id: string;
7
+ vpa: string;
8
+ }
9
+ export interface validateVPAResponse {
10
+ vpa?: string | undefined;
11
+ vpaData?: VpaData | undefined;
12
+ }
13
+ export interface VpaData {
14
+ maskName?: string | undefined;
15
+ type?: string | undefined;
16
+ code?: string | undefined;
17
+ mid?: string | undefined;
18
+ sid?: string | undefined;
19
+ tid?: string | undefined;
20
+ merchantGenre?: string | undefined;
21
+ onBoardingType?: string | undefined;
22
+ verifiedMerchant?: boolean | undefined;
23
+ }
24
+ export declare const validateVPARequest: {
25
+ encode(message: validateVPARequest, writer?: _m0.Writer): _m0.Writer;
26
+ decode(input: _m0.Reader | Uint8Array, length?: number): validateVPARequest;
27
+ fromJSON(object: any): validateVPARequest;
28
+ toJSON(message: validateVPARequest): unknown;
29
+ create<I extends Exact<DeepPartial<validateVPARequest>, I>>(base?: I): validateVPARequest;
30
+ fromPartial<I extends Exact<DeepPartial<validateVPARequest>, I>>(object: I): validateVPARequest;
31
+ };
32
+ export declare const validateVPAResponse: {
33
+ encode(message: validateVPAResponse, writer?: _m0.Writer): _m0.Writer;
34
+ decode(input: _m0.Reader | Uint8Array, length?: number): validateVPAResponse;
35
+ fromJSON(object: any): validateVPAResponse;
36
+ toJSON(message: validateVPAResponse): unknown;
37
+ create<I extends Exact<DeepPartial<validateVPAResponse>, I>>(base?: I): validateVPAResponse;
38
+ fromPartial<I extends Exact<DeepPartial<validateVPAResponse>, I>>(object: I): validateVPAResponse;
39
+ };
40
+ export declare const VpaData: {
41
+ encode(message: VpaData, writer?: _m0.Writer): _m0.Writer;
42
+ decode(input: _m0.Reader | Uint8Array, length?: number): VpaData;
43
+ fromJSON(object: any): VpaData;
44
+ toJSON(message: VpaData): unknown;
45
+ create<I extends Exact<DeepPartial<VpaData>, I>>(base?: I): VpaData;
46
+ fromPartial<I extends Exact<DeepPartial<VpaData>, I>>(object: I): VpaData;
47
+ };
48
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
49
+ 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 {} ? {
50
+ [K in keyof T]?: DeepPartial<T[K]>;
51
+ } : Partial<T>;
52
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
53
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
54
+ [K in keyof P]: Exact<P[K], I[K]>;
55
+ } & {
56
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
57
+ };
58
+ export {};
@@ -0,0 +1,353 @@
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.0
6
+ // source: upi/validatevpa.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.VpaData = exports.validateVPAResponse = exports.validateVPARequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "upi.validateVPA";
15
+ function createBasevalidateVPARequest() {
16
+ return { mobile: "", device_id: "", profile_id: "", vpa: "" };
17
+ }
18
+ exports.validateVPARequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.mobile !== "") {
21
+ writer.uint32(10).string(message.mobile);
22
+ }
23
+ if (message.device_id !== "") {
24
+ writer.uint32(18).string(message.device_id);
25
+ }
26
+ if (message.profile_id !== "") {
27
+ writer.uint32(26).string(message.profile_id);
28
+ }
29
+ if (message.vpa !== "") {
30
+ writer.uint32(34).string(message.vpa);
31
+ }
32
+ return writer;
33
+ },
34
+ decode(input, length) {
35
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
36
+ let end = length === undefined ? reader.len : reader.pos + length;
37
+ const message = createBasevalidateVPARequest();
38
+ while (reader.pos < end) {
39
+ const tag = reader.uint32();
40
+ switch (tag >>> 3) {
41
+ case 1:
42
+ if (tag !== 10) {
43
+ break;
44
+ }
45
+ message.mobile = reader.string();
46
+ continue;
47
+ case 2:
48
+ if (tag !== 18) {
49
+ break;
50
+ }
51
+ message.device_id = reader.string();
52
+ continue;
53
+ case 3:
54
+ if (tag !== 26) {
55
+ break;
56
+ }
57
+ message.profile_id = reader.string();
58
+ continue;
59
+ case 4:
60
+ if (tag !== 34) {
61
+ break;
62
+ }
63
+ message.vpa = reader.string();
64
+ continue;
65
+ }
66
+ if ((tag & 7) === 4 || tag === 0) {
67
+ break;
68
+ }
69
+ reader.skipType(tag & 7);
70
+ }
71
+ return message;
72
+ },
73
+ fromJSON(object) {
74
+ return {
75
+ mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "",
76
+ device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
77
+ profile_id: isSet(object.profile_id) ? globalThis.String(object.profile_id) : "",
78
+ vpa: isSet(object.vpa) ? globalThis.String(object.vpa) : "",
79
+ };
80
+ },
81
+ toJSON(message) {
82
+ const obj = {};
83
+ if (message.mobile !== "") {
84
+ obj.mobile = message.mobile;
85
+ }
86
+ if (message.device_id !== "") {
87
+ obj.device_id = message.device_id;
88
+ }
89
+ if (message.profile_id !== "") {
90
+ obj.profile_id = message.profile_id;
91
+ }
92
+ if (message.vpa !== "") {
93
+ obj.vpa = message.vpa;
94
+ }
95
+ return obj;
96
+ },
97
+ create(base) {
98
+ return exports.validateVPARequest.fromPartial(base ?? {});
99
+ },
100
+ fromPartial(object) {
101
+ const message = createBasevalidateVPARequest();
102
+ message.mobile = object.mobile ?? "";
103
+ message.device_id = object.device_id ?? "";
104
+ message.profile_id = object.profile_id ?? "";
105
+ message.vpa = object.vpa ?? "";
106
+ return message;
107
+ },
108
+ };
109
+ function createBasevalidateVPAResponse() {
110
+ return { vpa: undefined, vpaData: undefined };
111
+ }
112
+ exports.validateVPAResponse = {
113
+ encode(message, writer = minimal_1.default.Writer.create()) {
114
+ if (message.vpa !== undefined) {
115
+ writer.uint32(10).string(message.vpa);
116
+ }
117
+ if (message.vpaData !== undefined) {
118
+ exports.VpaData.encode(message.vpaData, writer.uint32(18).fork()).ldelim();
119
+ }
120
+ return writer;
121
+ },
122
+ decode(input, length) {
123
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
124
+ let end = length === undefined ? reader.len : reader.pos + length;
125
+ const message = createBasevalidateVPAResponse();
126
+ while (reader.pos < end) {
127
+ const tag = reader.uint32();
128
+ switch (tag >>> 3) {
129
+ case 1:
130
+ if (tag !== 10) {
131
+ break;
132
+ }
133
+ message.vpa = reader.string();
134
+ continue;
135
+ case 2:
136
+ if (tag !== 18) {
137
+ break;
138
+ }
139
+ message.vpaData = exports.VpaData.decode(reader, reader.uint32());
140
+ continue;
141
+ }
142
+ if ((tag & 7) === 4 || tag === 0) {
143
+ break;
144
+ }
145
+ reader.skipType(tag & 7);
146
+ }
147
+ return message;
148
+ },
149
+ fromJSON(object) {
150
+ return {
151
+ vpa: isSet(object.vpa) ? globalThis.String(object.vpa) : undefined,
152
+ vpaData: isSet(object.vpaData) ? exports.VpaData.fromJSON(object.vpaData) : undefined,
153
+ };
154
+ },
155
+ toJSON(message) {
156
+ const obj = {};
157
+ if (message.vpa !== undefined) {
158
+ obj.vpa = message.vpa;
159
+ }
160
+ if (message.vpaData !== undefined) {
161
+ obj.vpaData = exports.VpaData.toJSON(message.vpaData);
162
+ }
163
+ return obj;
164
+ },
165
+ create(base) {
166
+ return exports.validateVPAResponse.fromPartial(base ?? {});
167
+ },
168
+ fromPartial(object) {
169
+ const message = createBasevalidateVPAResponse();
170
+ message.vpa = object.vpa ?? undefined;
171
+ message.vpaData = (object.vpaData !== undefined && object.vpaData !== null)
172
+ ? exports.VpaData.fromPartial(object.vpaData)
173
+ : undefined;
174
+ return message;
175
+ },
176
+ };
177
+ function createBaseVpaData() {
178
+ return {
179
+ maskName: undefined,
180
+ type: undefined,
181
+ code: undefined,
182
+ mid: undefined,
183
+ sid: undefined,
184
+ tid: undefined,
185
+ merchantGenre: undefined,
186
+ onBoardingType: undefined,
187
+ verifiedMerchant: undefined,
188
+ };
189
+ }
190
+ exports.VpaData = {
191
+ encode(message, writer = minimal_1.default.Writer.create()) {
192
+ if (message.maskName !== undefined) {
193
+ writer.uint32(10).string(message.maskName);
194
+ }
195
+ if (message.type !== undefined) {
196
+ writer.uint32(18).string(message.type);
197
+ }
198
+ if (message.code !== undefined) {
199
+ writer.uint32(26).string(message.code);
200
+ }
201
+ if (message.mid !== undefined) {
202
+ writer.uint32(34).string(message.mid);
203
+ }
204
+ if (message.sid !== undefined) {
205
+ writer.uint32(42).string(message.sid);
206
+ }
207
+ if (message.tid !== undefined) {
208
+ writer.uint32(50).string(message.tid);
209
+ }
210
+ if (message.merchantGenre !== undefined) {
211
+ writer.uint32(58).string(message.merchantGenre);
212
+ }
213
+ if (message.onBoardingType !== undefined) {
214
+ writer.uint32(66).string(message.onBoardingType);
215
+ }
216
+ if (message.verifiedMerchant !== undefined) {
217
+ writer.uint32(72).bool(message.verifiedMerchant);
218
+ }
219
+ return writer;
220
+ },
221
+ decode(input, length) {
222
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
223
+ let end = length === undefined ? reader.len : reader.pos + length;
224
+ const message = createBaseVpaData();
225
+ while (reader.pos < end) {
226
+ const tag = reader.uint32();
227
+ switch (tag >>> 3) {
228
+ case 1:
229
+ if (tag !== 10) {
230
+ break;
231
+ }
232
+ message.maskName = reader.string();
233
+ continue;
234
+ case 2:
235
+ if (tag !== 18) {
236
+ break;
237
+ }
238
+ message.type = reader.string();
239
+ continue;
240
+ case 3:
241
+ if (tag !== 26) {
242
+ break;
243
+ }
244
+ message.code = reader.string();
245
+ continue;
246
+ case 4:
247
+ if (tag !== 34) {
248
+ break;
249
+ }
250
+ message.mid = reader.string();
251
+ continue;
252
+ case 5:
253
+ if (tag !== 42) {
254
+ break;
255
+ }
256
+ message.sid = reader.string();
257
+ continue;
258
+ case 6:
259
+ if (tag !== 50) {
260
+ break;
261
+ }
262
+ message.tid = reader.string();
263
+ continue;
264
+ case 7:
265
+ if (tag !== 58) {
266
+ break;
267
+ }
268
+ message.merchantGenre = reader.string();
269
+ continue;
270
+ case 8:
271
+ if (tag !== 66) {
272
+ break;
273
+ }
274
+ message.onBoardingType = reader.string();
275
+ continue;
276
+ case 9:
277
+ if (tag !== 72) {
278
+ break;
279
+ }
280
+ message.verifiedMerchant = reader.bool();
281
+ continue;
282
+ }
283
+ if ((tag & 7) === 4 || tag === 0) {
284
+ break;
285
+ }
286
+ reader.skipType(tag & 7);
287
+ }
288
+ return message;
289
+ },
290
+ fromJSON(object) {
291
+ return {
292
+ maskName: isSet(object.maskName) ? globalThis.String(object.maskName) : undefined,
293
+ type: isSet(object.type) ? globalThis.String(object.type) : undefined,
294
+ code: isSet(object.code) ? globalThis.String(object.code) : undefined,
295
+ mid: isSet(object.mid) ? globalThis.String(object.mid) : undefined,
296
+ sid: isSet(object.sid) ? globalThis.String(object.sid) : undefined,
297
+ tid: isSet(object.tid) ? globalThis.String(object.tid) : undefined,
298
+ merchantGenre: isSet(object.merchantGenre) ? globalThis.String(object.merchantGenre) : undefined,
299
+ onBoardingType: isSet(object.onBoardingType) ? globalThis.String(object.onBoardingType) : undefined,
300
+ verifiedMerchant: isSet(object.verifiedMerchant) ? globalThis.Boolean(object.verifiedMerchant) : undefined,
301
+ };
302
+ },
303
+ toJSON(message) {
304
+ const obj = {};
305
+ if (message.maskName !== undefined) {
306
+ obj.maskName = message.maskName;
307
+ }
308
+ if (message.type !== undefined) {
309
+ obj.type = message.type;
310
+ }
311
+ if (message.code !== undefined) {
312
+ obj.code = message.code;
313
+ }
314
+ if (message.mid !== undefined) {
315
+ obj.mid = message.mid;
316
+ }
317
+ if (message.sid !== undefined) {
318
+ obj.sid = message.sid;
319
+ }
320
+ if (message.tid !== undefined) {
321
+ obj.tid = message.tid;
322
+ }
323
+ if (message.merchantGenre !== undefined) {
324
+ obj.merchantGenre = message.merchantGenre;
325
+ }
326
+ if (message.onBoardingType !== undefined) {
327
+ obj.onBoardingType = message.onBoardingType;
328
+ }
329
+ if (message.verifiedMerchant !== undefined) {
330
+ obj.verifiedMerchant = message.verifiedMerchant;
331
+ }
332
+ return obj;
333
+ },
334
+ create(base) {
335
+ return exports.VpaData.fromPartial(base ?? {});
336
+ },
337
+ fromPartial(object) {
338
+ const message = createBaseVpaData();
339
+ message.maskName = object.maskName ?? undefined;
340
+ message.type = object.type ?? undefined;
341
+ message.code = object.code ?? undefined;
342
+ message.mid = object.mid ?? undefined;
343
+ message.sid = object.sid ?? undefined;
344
+ message.tid = object.tid ?? undefined;
345
+ message.merchantGenre = object.merchantGenre ?? undefined;
346
+ message.onBoardingType = object.onBoardingType ?? undefined;
347
+ message.verifiedMerchant = object.verifiedMerchant ?? undefined;
348
+ return message;
349
+ },
350
+ };
351
+ function isSet(value) {
352
+ return value !== null && value !== undefined;
353
+ }
package/ts/upi.d.ts CHANGED
@@ -1,9 +1,11 @@
1
1
  import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
2
+ import { addAccountRequest, addAccountResponse } from "./upi/addaccount";
2
3
  import { getAvailableVPARequest, getAvailableVPAResponse } from "./upi/getavailablevpa";
3
4
  import { getListedAccountProvidersRequest, getListedAccountProvidersResponse } from "./upi/getlistedaccountproviders";
5
+ import { getProfileRequest, getProfileResponse } from "./upi/getprofile";
4
6
  import { initiateTransactionRequest, initiateTransactionResponse } from "./upi/initiatetransaction";
5
7
  import { updateDeviceBindingRequest, updateDeviceBindingResponse } from "./upi/updatedevicebinding";
6
- import { updateDeviceLinkingRequest, updateDeviceLinkingResponse } from "./upi/updatedevicelinking";
8
+ import { validateVPARequest, validateVPAResponse } from "./upi/validatevpa";
7
9
  export declare const protobufPackage = "service";
8
10
  export type upiService = typeof upiService;
9
11
  export declare const upiService: {
@@ -25,15 +27,6 @@ export declare const upiService: {
25
27
  readonly responseSerialize: (value: updateDeviceBindingResponse) => Buffer;
26
28
  readonly responseDeserialize: (value: Buffer) => updateDeviceBindingResponse;
27
29
  };
28
- readonly updateDeviceLinking: {
29
- readonly path: "/service.upi/updateDeviceLinking";
30
- readonly requestStream: false;
31
- readonly responseStream: false;
32
- readonly requestSerialize: (value: updateDeviceLinkingRequest) => Buffer;
33
- readonly requestDeserialize: (value: Buffer) => updateDeviceLinkingRequest;
34
- readonly responseSerialize: (value: updateDeviceLinkingResponse) => Buffer;
35
- readonly responseDeserialize: (value: Buffer) => updateDeviceLinkingResponse;
36
- };
37
30
  readonly getAvailableVpa: {
38
31
  readonly path: "/service.upi/getAvailableVPA";
39
32
  readonly requestStream: false;
@@ -52,13 +45,42 @@ export declare const upiService: {
52
45
  readonly responseSerialize: (value: initiateTransactionResponse) => Buffer;
53
46
  readonly responseDeserialize: (value: Buffer) => initiateTransactionResponse;
54
47
  };
48
+ readonly addAccount: {
49
+ readonly path: "/service.upi/addAccount";
50
+ readonly requestStream: false;
51
+ readonly responseStream: false;
52
+ readonly requestSerialize: (value: addAccountRequest) => Buffer;
53
+ readonly requestDeserialize: (value: Buffer) => addAccountRequest;
54
+ readonly responseSerialize: (value: addAccountResponse) => Buffer;
55
+ readonly responseDeserialize: (value: Buffer) => addAccountResponse;
56
+ };
57
+ readonly getProfile: {
58
+ readonly path: "/service.upi/getProfile";
59
+ readonly requestStream: false;
60
+ readonly responseStream: false;
61
+ readonly requestSerialize: (value: getProfileRequest) => Buffer;
62
+ readonly requestDeserialize: (value: Buffer) => getProfileRequest;
63
+ readonly responseSerialize: (value: getProfileResponse) => Buffer;
64
+ readonly responseDeserialize: (value: Buffer) => getProfileResponse;
65
+ };
66
+ readonly validateVpa: {
67
+ readonly path: "/service.upi/validateVPA";
68
+ readonly requestStream: false;
69
+ readonly responseStream: false;
70
+ readonly requestSerialize: (value: validateVPARequest) => Buffer;
71
+ readonly requestDeserialize: (value: Buffer) => validateVPARequest;
72
+ readonly responseSerialize: (value: validateVPAResponse) => Buffer;
73
+ readonly responseDeserialize: (value: Buffer) => validateVPAResponse;
74
+ };
55
75
  };
56
76
  export interface upiServer extends UntypedServiceImplementation {
57
77
  getListedAccountProviders: handleUnaryCall<getListedAccountProvidersRequest, getListedAccountProvidersResponse>;
58
78
  updateDeviceBinding: handleUnaryCall<updateDeviceBindingRequest, updateDeviceBindingResponse>;
59
- updateDeviceLinking: handleUnaryCall<updateDeviceLinkingRequest, updateDeviceLinkingResponse>;
60
79
  getAvailableVpa: handleUnaryCall<getAvailableVPARequest, getAvailableVPAResponse>;
61
80
  initiateTransaction: handleUnaryCall<initiateTransactionRequest, initiateTransactionResponse>;
81
+ addAccount: handleUnaryCall<addAccountRequest, addAccountResponse>;
82
+ getProfile: handleUnaryCall<getProfileRequest, getProfileResponse>;
83
+ validateVpa: handleUnaryCall<validateVPARequest, validateVPAResponse>;
62
84
  }
63
85
  export interface upiClient extends Client {
64
86
  getListedAccountProviders(request: getListedAccountProvidersRequest, callback: (error: ServiceError | null, response: getListedAccountProvidersResponse) => void): ClientUnaryCall;
@@ -67,15 +89,21 @@ export interface upiClient extends Client {
67
89
  updateDeviceBinding(request: updateDeviceBindingRequest, callback: (error: ServiceError | null, response: updateDeviceBindingResponse) => void): ClientUnaryCall;
68
90
  updateDeviceBinding(request: updateDeviceBindingRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateDeviceBindingResponse) => void): ClientUnaryCall;
69
91
  updateDeviceBinding(request: updateDeviceBindingRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateDeviceBindingResponse) => void): ClientUnaryCall;
70
- updateDeviceLinking(request: updateDeviceLinkingRequest, callback: (error: ServiceError | null, response: updateDeviceLinkingResponse) => void): ClientUnaryCall;
71
- updateDeviceLinking(request: updateDeviceLinkingRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateDeviceLinkingResponse) => void): ClientUnaryCall;
72
- updateDeviceLinking(request: updateDeviceLinkingRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateDeviceLinkingResponse) => void): ClientUnaryCall;
73
92
  getAvailableVpa(request: getAvailableVPARequest, callback: (error: ServiceError | null, response: getAvailableVPAResponse) => void): ClientUnaryCall;
74
93
  getAvailableVpa(request: getAvailableVPARequest, metadata: Metadata, callback: (error: ServiceError | null, response: getAvailableVPAResponse) => void): ClientUnaryCall;
75
94
  getAvailableVpa(request: getAvailableVPARequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getAvailableVPAResponse) => void): ClientUnaryCall;
76
95
  initiateTransaction(request: initiateTransactionRequest, callback: (error: ServiceError | null, response: initiateTransactionResponse) => void): ClientUnaryCall;
77
96
  initiateTransaction(request: initiateTransactionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: initiateTransactionResponse) => void): ClientUnaryCall;
78
97
  initiateTransaction(request: initiateTransactionRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: initiateTransactionResponse) => void): ClientUnaryCall;
98
+ addAccount(request: addAccountRequest, callback: (error: ServiceError | null, response: addAccountResponse) => void): ClientUnaryCall;
99
+ addAccount(request: addAccountRequest, metadata: Metadata, callback: (error: ServiceError | null, response: addAccountResponse) => void): ClientUnaryCall;
100
+ addAccount(request: addAccountRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: addAccountResponse) => void): ClientUnaryCall;
101
+ getProfile(request: getProfileRequest, callback: (error: ServiceError | null, response: getProfileResponse) => void): ClientUnaryCall;
102
+ getProfile(request: getProfileRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getProfileResponse) => void): ClientUnaryCall;
103
+ getProfile(request: getProfileRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getProfileResponse) => void): ClientUnaryCall;
104
+ validateVpa(request: validateVPARequest, callback: (error: ServiceError | null, response: validateVPAResponse) => void): ClientUnaryCall;
105
+ validateVpa(request: validateVPARequest, metadata: Metadata, callback: (error: ServiceError | null, response: validateVPAResponse) => void): ClientUnaryCall;
106
+ validateVpa(request: validateVPARequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: validateVPAResponse) => void): ClientUnaryCall;
79
107
  }
80
108
  export declare const upiClient: {
81
109
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): upiClient;