@stashfin/grpc 1.2.332 → 1.2.334
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/customers/enach/updatetxnstatus.d.ts +1 -4
- package/ts/customers/enach/updatetxnstatus.js +8 -64
- package/ts/customers/getcustomerdetailsbymobile.d.ts +42 -0
- package/ts/customers/getcustomerdetailsbymobile.js +219 -0
- package/ts/customers/getprofile.d.ts +1 -0
- package/ts/customers/getprofile.js +16 -1
- package/ts/customers/getrpdlink.d.ts +40 -0
- package/ts/customers/getrpdlink.js +190 -0
- package/ts/customers/sendemailtoken.d.ts +35 -0
- package/ts/customers/sendemailtoken.js +117 -0
- package/ts/customers/skipdlrcscreen.d.ts +35 -0
- package/ts/customers/skipdlrcscreen.js +117 -0
- package/ts/customers/step1.d.ts +69 -0
- package/ts/customers/step1.js +395 -0
- package/ts/customers/step10.d.ts +73 -0
- package/ts/customers/step10.js +459 -0
- package/ts/customers/step2.d.ts +68 -0
- package/ts/customers/step2.js +381 -0
- package/ts/customers/step7.d.ts +68 -0
- package/ts/customers/step7.js +381 -0
- package/ts/customers/step8.d.ts +69 -0
- package/ts/customers/step8.js +395 -0
- package/ts/customers/step9.d.ts +75 -0
- package/ts/customers/step9.js +489 -0
- package/ts/customers/stepstatic.d.ts +66 -0
- package/ts/customers/stepstatic.js +354 -0
- package/ts/customers/verifyemail.d.ts +35 -0
- package/ts/{loans/getvirtualaccountnumber.js → customers/verifyemail.js} +32 -32
- package/ts/customers.d.ts +33 -6
- package/ts/customers.js +21 -2
- package/ts/google/protobuf/timestamp.d.ts +127 -0
- package/ts/google/protobuf/timestamp.js +97 -0
- package/ts/payments/fundtransfer.d.ts +3 -2
- package/ts/payments/fundtransfer.js +35 -22
- package/ts/loans/getvirtualaccountnumber.d.ts +0 -35
|
@@ -0,0 +1,354 @@
|
|
|
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.27.3
|
|
6
|
+
// source: customers/stepstatic.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.stepstaticResponse_Field = exports.stepstaticResponse = exports.Validation = exports.stepstaticRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.stepstatic";
|
|
15
|
+
function createBasestepstaticRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.stepstaticRequest = {
|
|
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 = createBasestepstaticRequest();
|
|
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.stepstaticRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasestepstaticRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBaseValidation() {
|
|
53
|
+
return { key: "", value: "", message: "" };
|
|
54
|
+
}
|
|
55
|
+
exports.Validation = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
if (message.key !== "") {
|
|
58
|
+
writer.uint32(10).string(message.key);
|
|
59
|
+
}
|
|
60
|
+
if (message.value !== "") {
|
|
61
|
+
writer.uint32(18).string(message.value);
|
|
62
|
+
}
|
|
63
|
+
if (message.message !== "") {
|
|
64
|
+
writer.uint32(26).string(message.message);
|
|
65
|
+
}
|
|
66
|
+
return writer;
|
|
67
|
+
},
|
|
68
|
+
decode(input, length) {
|
|
69
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
70
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
71
|
+
const message = createBaseValidation();
|
|
72
|
+
while (reader.pos < end) {
|
|
73
|
+
const tag = reader.uint32();
|
|
74
|
+
switch (tag >>> 3) {
|
|
75
|
+
case 1:
|
|
76
|
+
if (tag !== 10) {
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
message.key = reader.string();
|
|
80
|
+
continue;
|
|
81
|
+
case 2:
|
|
82
|
+
if (tag !== 18) {
|
|
83
|
+
break;
|
|
84
|
+
}
|
|
85
|
+
message.value = reader.string();
|
|
86
|
+
continue;
|
|
87
|
+
case 3:
|
|
88
|
+
if (tag !== 26) {
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
message.message = reader.string();
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
95
|
+
break;
|
|
96
|
+
}
|
|
97
|
+
reader.skipType(tag & 7);
|
|
98
|
+
}
|
|
99
|
+
return message;
|
|
100
|
+
},
|
|
101
|
+
fromJSON(object) {
|
|
102
|
+
return {
|
|
103
|
+
key: isSet(object.key) ? globalThis.String(object.key) : "",
|
|
104
|
+
value: isSet(object.value) ? globalThis.String(object.value) : "",
|
|
105
|
+
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
106
|
+
};
|
|
107
|
+
},
|
|
108
|
+
toJSON(message) {
|
|
109
|
+
const obj = {};
|
|
110
|
+
if (message.key !== "") {
|
|
111
|
+
obj.key = message.key;
|
|
112
|
+
}
|
|
113
|
+
if (message.value !== "") {
|
|
114
|
+
obj.value = message.value;
|
|
115
|
+
}
|
|
116
|
+
if (message.message !== "") {
|
|
117
|
+
obj.message = message.message;
|
|
118
|
+
}
|
|
119
|
+
return obj;
|
|
120
|
+
},
|
|
121
|
+
create(base) {
|
|
122
|
+
return exports.Validation.fromPartial(base ?? {});
|
|
123
|
+
},
|
|
124
|
+
fromPartial(object) {
|
|
125
|
+
const message = createBaseValidation();
|
|
126
|
+
message.key = object.key ?? "";
|
|
127
|
+
message.value = object.value ?? "";
|
|
128
|
+
message.message = object.message ?? "";
|
|
129
|
+
return message;
|
|
130
|
+
},
|
|
131
|
+
};
|
|
132
|
+
function createBasestepstaticResponse() {
|
|
133
|
+
return { page: "", type: "", button_text: "", data: [] };
|
|
134
|
+
}
|
|
135
|
+
exports.stepstaticResponse = {
|
|
136
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
137
|
+
if (message.page !== "") {
|
|
138
|
+
writer.uint32(10).string(message.page);
|
|
139
|
+
}
|
|
140
|
+
if (message.type !== "") {
|
|
141
|
+
writer.uint32(18).string(message.type);
|
|
142
|
+
}
|
|
143
|
+
if (message.button_text !== "") {
|
|
144
|
+
writer.uint32(26).string(message.button_text);
|
|
145
|
+
}
|
|
146
|
+
for (const v of message.data) {
|
|
147
|
+
exports.stepstaticResponse_Field.encode(v, writer.uint32(34).fork()).ldelim();
|
|
148
|
+
}
|
|
149
|
+
return writer;
|
|
150
|
+
},
|
|
151
|
+
decode(input, length) {
|
|
152
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
153
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
154
|
+
const message = createBasestepstaticResponse();
|
|
155
|
+
while (reader.pos < end) {
|
|
156
|
+
const tag = reader.uint32();
|
|
157
|
+
switch (tag >>> 3) {
|
|
158
|
+
case 1:
|
|
159
|
+
if (tag !== 10) {
|
|
160
|
+
break;
|
|
161
|
+
}
|
|
162
|
+
message.page = reader.string();
|
|
163
|
+
continue;
|
|
164
|
+
case 2:
|
|
165
|
+
if (tag !== 18) {
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
message.type = reader.string();
|
|
169
|
+
continue;
|
|
170
|
+
case 3:
|
|
171
|
+
if (tag !== 26) {
|
|
172
|
+
break;
|
|
173
|
+
}
|
|
174
|
+
message.button_text = reader.string();
|
|
175
|
+
continue;
|
|
176
|
+
case 4:
|
|
177
|
+
if (tag !== 34) {
|
|
178
|
+
break;
|
|
179
|
+
}
|
|
180
|
+
message.data.push(exports.stepstaticResponse_Field.decode(reader, reader.uint32()));
|
|
181
|
+
continue;
|
|
182
|
+
}
|
|
183
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
184
|
+
break;
|
|
185
|
+
}
|
|
186
|
+
reader.skipType(tag & 7);
|
|
187
|
+
}
|
|
188
|
+
return message;
|
|
189
|
+
},
|
|
190
|
+
fromJSON(object) {
|
|
191
|
+
return {
|
|
192
|
+
page: isSet(object.page) ? globalThis.String(object.page) : "",
|
|
193
|
+
type: isSet(object.type) ? globalThis.String(object.type) : "",
|
|
194
|
+
button_text: isSet(object.button_text) ? globalThis.String(object.button_text) : "",
|
|
195
|
+
data: globalThis.Array.isArray(object?.data)
|
|
196
|
+
? object.data.map((e) => exports.stepstaticResponse_Field.fromJSON(e))
|
|
197
|
+
: [],
|
|
198
|
+
};
|
|
199
|
+
},
|
|
200
|
+
toJSON(message) {
|
|
201
|
+
const obj = {};
|
|
202
|
+
if (message.page !== "") {
|
|
203
|
+
obj.page = message.page;
|
|
204
|
+
}
|
|
205
|
+
if (message.type !== "") {
|
|
206
|
+
obj.type = message.type;
|
|
207
|
+
}
|
|
208
|
+
if (message.button_text !== "") {
|
|
209
|
+
obj.button_text = message.button_text;
|
|
210
|
+
}
|
|
211
|
+
if (message.data?.length) {
|
|
212
|
+
obj.data = message.data.map((e) => exports.stepstaticResponse_Field.toJSON(e));
|
|
213
|
+
}
|
|
214
|
+
return obj;
|
|
215
|
+
},
|
|
216
|
+
create(base) {
|
|
217
|
+
return exports.stepstaticResponse.fromPartial(base ?? {});
|
|
218
|
+
},
|
|
219
|
+
fromPartial(object) {
|
|
220
|
+
const message = createBasestepstaticResponse();
|
|
221
|
+
message.page = object.page ?? "";
|
|
222
|
+
message.type = object.type ?? "";
|
|
223
|
+
message.button_text = object.button_text ?? "";
|
|
224
|
+
message.data = object.data?.map((e) => exports.stepstaticResponse_Field.fromPartial(e)) || [];
|
|
225
|
+
return message;
|
|
226
|
+
},
|
|
227
|
+
};
|
|
228
|
+
function createBasestepstaticResponse_Field() {
|
|
229
|
+
return { label: "", key: "", input_type: "", data_type: "", icon: "", validations: [] };
|
|
230
|
+
}
|
|
231
|
+
exports.stepstaticResponse_Field = {
|
|
232
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
233
|
+
if (message.label !== "") {
|
|
234
|
+
writer.uint32(10).string(message.label);
|
|
235
|
+
}
|
|
236
|
+
if (message.key !== "") {
|
|
237
|
+
writer.uint32(18).string(message.key);
|
|
238
|
+
}
|
|
239
|
+
if (message.input_type !== "") {
|
|
240
|
+
writer.uint32(26).string(message.input_type);
|
|
241
|
+
}
|
|
242
|
+
if (message.data_type !== "") {
|
|
243
|
+
writer.uint32(34).string(message.data_type);
|
|
244
|
+
}
|
|
245
|
+
if (message.icon !== "") {
|
|
246
|
+
writer.uint32(42).string(message.icon);
|
|
247
|
+
}
|
|
248
|
+
for (const v of message.validations) {
|
|
249
|
+
exports.Validation.encode(v, writer.uint32(58).fork()).ldelim();
|
|
250
|
+
}
|
|
251
|
+
return writer;
|
|
252
|
+
},
|
|
253
|
+
decode(input, length) {
|
|
254
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
255
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
256
|
+
const message = createBasestepstaticResponse_Field();
|
|
257
|
+
while (reader.pos < end) {
|
|
258
|
+
const tag = reader.uint32();
|
|
259
|
+
switch (tag >>> 3) {
|
|
260
|
+
case 1:
|
|
261
|
+
if (tag !== 10) {
|
|
262
|
+
break;
|
|
263
|
+
}
|
|
264
|
+
message.label = reader.string();
|
|
265
|
+
continue;
|
|
266
|
+
case 2:
|
|
267
|
+
if (tag !== 18) {
|
|
268
|
+
break;
|
|
269
|
+
}
|
|
270
|
+
message.key = reader.string();
|
|
271
|
+
continue;
|
|
272
|
+
case 3:
|
|
273
|
+
if (tag !== 26) {
|
|
274
|
+
break;
|
|
275
|
+
}
|
|
276
|
+
message.input_type = reader.string();
|
|
277
|
+
continue;
|
|
278
|
+
case 4:
|
|
279
|
+
if (tag !== 34) {
|
|
280
|
+
break;
|
|
281
|
+
}
|
|
282
|
+
message.data_type = reader.string();
|
|
283
|
+
continue;
|
|
284
|
+
case 5:
|
|
285
|
+
if (tag !== 42) {
|
|
286
|
+
break;
|
|
287
|
+
}
|
|
288
|
+
message.icon = reader.string();
|
|
289
|
+
continue;
|
|
290
|
+
case 7:
|
|
291
|
+
if (tag !== 58) {
|
|
292
|
+
break;
|
|
293
|
+
}
|
|
294
|
+
message.validations.push(exports.Validation.decode(reader, reader.uint32()));
|
|
295
|
+
continue;
|
|
296
|
+
}
|
|
297
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
298
|
+
break;
|
|
299
|
+
}
|
|
300
|
+
reader.skipType(tag & 7);
|
|
301
|
+
}
|
|
302
|
+
return message;
|
|
303
|
+
},
|
|
304
|
+
fromJSON(object) {
|
|
305
|
+
return {
|
|
306
|
+
label: isSet(object.label) ? globalThis.String(object.label) : "",
|
|
307
|
+
key: isSet(object.key) ? globalThis.String(object.key) : "",
|
|
308
|
+
input_type: isSet(object.input_type) ? globalThis.String(object.input_type) : "",
|
|
309
|
+
data_type: isSet(object.data_type) ? globalThis.String(object.data_type) : "",
|
|
310
|
+
icon: isSet(object.icon) ? globalThis.String(object.icon) : "",
|
|
311
|
+
validations: globalThis.Array.isArray(object?.validations)
|
|
312
|
+
? object.validations.map((e) => exports.Validation.fromJSON(e))
|
|
313
|
+
: [],
|
|
314
|
+
};
|
|
315
|
+
},
|
|
316
|
+
toJSON(message) {
|
|
317
|
+
const obj = {};
|
|
318
|
+
if (message.label !== "") {
|
|
319
|
+
obj.label = message.label;
|
|
320
|
+
}
|
|
321
|
+
if (message.key !== "") {
|
|
322
|
+
obj.key = message.key;
|
|
323
|
+
}
|
|
324
|
+
if (message.input_type !== "") {
|
|
325
|
+
obj.input_type = message.input_type;
|
|
326
|
+
}
|
|
327
|
+
if (message.data_type !== "") {
|
|
328
|
+
obj.data_type = message.data_type;
|
|
329
|
+
}
|
|
330
|
+
if (message.icon !== "") {
|
|
331
|
+
obj.icon = message.icon;
|
|
332
|
+
}
|
|
333
|
+
if (message.validations?.length) {
|
|
334
|
+
obj.validations = message.validations.map((e) => exports.Validation.toJSON(e));
|
|
335
|
+
}
|
|
336
|
+
return obj;
|
|
337
|
+
},
|
|
338
|
+
create(base) {
|
|
339
|
+
return exports.stepstaticResponse_Field.fromPartial(base ?? {});
|
|
340
|
+
},
|
|
341
|
+
fromPartial(object) {
|
|
342
|
+
const message = createBasestepstaticResponse_Field();
|
|
343
|
+
message.label = object.label ?? "";
|
|
344
|
+
message.key = object.key ?? "";
|
|
345
|
+
message.input_type = object.input_type ?? "";
|
|
346
|
+
message.data_type = object.data_type ?? "";
|
|
347
|
+
message.icon = object.icon ?? "";
|
|
348
|
+
message.validations = object.validations?.map((e) => exports.Validation.fromPartial(e)) || [];
|
|
349
|
+
return message;
|
|
350
|
+
},
|
|
351
|
+
};
|
|
352
|
+
function isSet(value) {
|
|
353
|
+
return value !== null && value !== undefined;
|
|
354
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.verifyemail";
|
|
3
|
+
export interface verifyEmailRequest {
|
|
4
|
+
token: string;
|
|
5
|
+
}
|
|
6
|
+
export interface verifyEmailResponse {
|
|
7
|
+
status: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const verifyEmailRequest: {
|
|
10
|
+
encode(message: verifyEmailRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): verifyEmailRequest;
|
|
12
|
+
fromJSON(object: any): verifyEmailRequest;
|
|
13
|
+
toJSON(message: verifyEmailRequest): unknown;
|
|
14
|
+
create<I extends Exact<DeepPartial<verifyEmailRequest>, I>>(base?: I): verifyEmailRequest;
|
|
15
|
+
fromPartial<I extends Exact<DeepPartial<verifyEmailRequest>, I>>(object: I): verifyEmailRequest;
|
|
16
|
+
};
|
|
17
|
+
export declare const verifyEmailResponse: {
|
|
18
|
+
encode(message: verifyEmailResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): verifyEmailResponse;
|
|
20
|
+
fromJSON(object: any): verifyEmailResponse;
|
|
21
|
+
toJSON(message: verifyEmailResponse): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<verifyEmailResponse>, I>>(base?: I): verifyEmailResponse;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<verifyEmailResponse>, I>>(object: I): verifyEmailResponse;
|
|
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 {};
|
|
@@ -2,38 +2,38 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc
|
|
6
|
-
// source:
|
|
5
|
+
// protoc v3.20.3
|
|
6
|
+
// source: customers/verifyemail.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
9
|
};
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
11
|
+
exports.verifyEmailResponse = exports.verifyEmailRequest = exports.protobufPackage = void 0;
|
|
12
12
|
/* eslint-disable */
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "
|
|
15
|
-
function
|
|
16
|
-
return {
|
|
14
|
+
exports.protobufPackage = "customers.verifyemail";
|
|
15
|
+
function createBaseverifyEmailRequest() {
|
|
16
|
+
return { token: "" };
|
|
17
17
|
}
|
|
18
|
-
exports.
|
|
18
|
+
exports.verifyEmailRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
if (message.
|
|
21
|
-
writer.uint32(
|
|
20
|
+
if (message.token !== "") {
|
|
21
|
+
writer.uint32(10).string(message.token);
|
|
22
22
|
}
|
|
23
23
|
return writer;
|
|
24
24
|
},
|
|
25
25
|
decode(input, length) {
|
|
26
26
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
27
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
-
const message =
|
|
28
|
+
const message = createBaseverifyEmailRequest();
|
|
29
29
|
while (reader.pos < end) {
|
|
30
30
|
const tag = reader.uint32();
|
|
31
31
|
switch (tag >>> 3) {
|
|
32
32
|
case 1:
|
|
33
|
-
if (tag !==
|
|
33
|
+
if (tag !== 10) {
|
|
34
34
|
break;
|
|
35
35
|
}
|
|
36
|
-
message.
|
|
36
|
+
message.token = reader.string();
|
|
37
37
|
continue;
|
|
38
38
|
}
|
|
39
39
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -44,46 +44,46 @@ exports.getVirtualAccountNumberRequest = {
|
|
|
44
44
|
return message;
|
|
45
45
|
},
|
|
46
46
|
fromJSON(object) {
|
|
47
|
-
return {
|
|
47
|
+
return { token: isSet(object.token) ? globalThis.String(object.token) : "" };
|
|
48
48
|
},
|
|
49
49
|
toJSON(message) {
|
|
50
50
|
const obj = {};
|
|
51
|
-
if (message.
|
|
52
|
-
obj.
|
|
51
|
+
if (message.token !== "") {
|
|
52
|
+
obj.token = message.token;
|
|
53
53
|
}
|
|
54
54
|
return obj;
|
|
55
55
|
},
|
|
56
56
|
create(base) {
|
|
57
|
-
return exports.
|
|
57
|
+
return exports.verifyEmailRequest.fromPartial(base ?? {});
|
|
58
58
|
},
|
|
59
59
|
fromPartial(object) {
|
|
60
|
-
const message =
|
|
61
|
-
message.
|
|
60
|
+
const message = createBaseverifyEmailRequest();
|
|
61
|
+
message.token = object.token ?? "";
|
|
62
62
|
return message;
|
|
63
63
|
},
|
|
64
64
|
};
|
|
65
|
-
function
|
|
66
|
-
return {
|
|
65
|
+
function createBaseverifyEmailResponse() {
|
|
66
|
+
return { status: false };
|
|
67
67
|
}
|
|
68
|
-
exports.
|
|
68
|
+
exports.verifyEmailResponse = {
|
|
69
69
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
-
if (message.
|
|
71
|
-
writer.uint32(
|
|
70
|
+
if (message.status !== false) {
|
|
71
|
+
writer.uint32(8).bool(message.status);
|
|
72
72
|
}
|
|
73
73
|
return writer;
|
|
74
74
|
},
|
|
75
75
|
decode(input, length) {
|
|
76
76
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
77
77
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
78
|
-
const message =
|
|
78
|
+
const message = createBaseverifyEmailResponse();
|
|
79
79
|
while (reader.pos < end) {
|
|
80
80
|
const tag = reader.uint32();
|
|
81
81
|
switch (tag >>> 3) {
|
|
82
82
|
case 1:
|
|
83
|
-
if (tag !==
|
|
83
|
+
if (tag !== 8) {
|
|
84
84
|
break;
|
|
85
85
|
}
|
|
86
|
-
message.
|
|
86
|
+
message.status = reader.bool();
|
|
87
87
|
continue;
|
|
88
88
|
}
|
|
89
89
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -94,21 +94,21 @@ exports.getVirtualAccountNumberResponse = {
|
|
|
94
94
|
return message;
|
|
95
95
|
},
|
|
96
96
|
fromJSON(object) {
|
|
97
|
-
return {
|
|
97
|
+
return { status: isSet(object.status) ? globalThis.Boolean(object.status) : false };
|
|
98
98
|
},
|
|
99
99
|
toJSON(message) {
|
|
100
100
|
const obj = {};
|
|
101
|
-
if (message.
|
|
102
|
-
obj.
|
|
101
|
+
if (message.status !== false) {
|
|
102
|
+
obj.status = message.status;
|
|
103
103
|
}
|
|
104
104
|
return obj;
|
|
105
105
|
},
|
|
106
106
|
create(base) {
|
|
107
|
-
return exports.
|
|
107
|
+
return exports.verifyEmailResponse.fromPartial(base ?? {});
|
|
108
108
|
},
|
|
109
109
|
fromPartial(object) {
|
|
110
|
-
const message =
|
|
111
|
-
message.
|
|
110
|
+
const message = createBaseverifyEmailResponse();
|
|
111
|
+
message.status = object.status ?? false;
|
|
112
112
|
return message;
|
|
113
113
|
},
|
|
114
114
|
};
|
package/ts/customers.d.ts
CHANGED
|
@@ -46,6 +46,7 @@ import { getBasicInfoRequest, getBasicInfoResponse } from "./customers/getbasici
|
|
|
46
46
|
import { getCitiesRequest, getCitiesResponse } from "./customers/getcities";
|
|
47
47
|
import { getCompanyAccDetailsRequest, getCompanyAccDetailsResponse } from "./customers/getcompanyaccdetails";
|
|
48
48
|
import { getCustomerByIdRequest, getCustomerByIdResponse } from "./customers/getcustomerbyid";
|
|
49
|
+
import { getCustomerDetailsRequest, getCustomerDetailsResponse } from "./customers/getcustomerdetailsbymobile";
|
|
49
50
|
import { getDashboardRequest, getDashboardResponse } from "./customers/getdashboard";
|
|
50
51
|
import { getDashboardMainCardRequest, getDashboardMainCardResponse } from "./customers/getdashboardmaincard";
|
|
51
52
|
import { getDocumentsRequest, getDocumentsResponse } from "./customers/getdocuments";
|
|
@@ -817,8 +818,17 @@ export declare const customersService: {
|
|
|
817
818
|
readonly responseSerialize: (value: updateCategoryResponse) => Buffer;
|
|
818
819
|
readonly responseDeserialize: (value: Buffer) => updateCategoryResponse;
|
|
819
820
|
};
|
|
820
|
-
readonly
|
|
821
|
-
readonly path: "/service.customers/
|
|
821
|
+
readonly getFreedomPaymentOptions: {
|
|
822
|
+
readonly path: "/service.customers/getFreedomPaymentOptions";
|
|
823
|
+
readonly requestStream: false;
|
|
824
|
+
readonly responseStream: false;
|
|
825
|
+
readonly requestSerialize: (value: paymentOptionRequest) => Buffer;
|
|
826
|
+
readonly requestDeserialize: (value: Buffer) => paymentOptionRequest;
|
|
827
|
+
readonly responseSerialize: (value: paymentOptionResponse) => Buffer;
|
|
828
|
+
readonly responseDeserialize: (value: Buffer) => paymentOptionResponse;
|
|
829
|
+
};
|
|
830
|
+
readonly getCbPaymentOptions: {
|
|
831
|
+
readonly path: "/service.customers/getCbPaymentOptions";
|
|
822
832
|
readonly requestStream: false;
|
|
823
833
|
readonly responseStream: false;
|
|
824
834
|
readonly requestSerialize: (value: paymentOptionRequest) => Buffer;
|
|
@@ -970,6 +980,15 @@ export declare const customersService: {
|
|
|
970
980
|
readonly responseSerialize: (value: updateCbStandAloneJourneyResponse) => Buffer;
|
|
971
981
|
readonly responseDeserialize: (value: Buffer) => updateCbStandAloneJourneyResponse;
|
|
972
982
|
};
|
|
983
|
+
readonly getCustomerDetailsbyMobile: {
|
|
984
|
+
readonly path: "/service.customers/getCustomerDetailsbyMobile";
|
|
985
|
+
readonly requestStream: false;
|
|
986
|
+
readonly responseStream: false;
|
|
987
|
+
readonly requestSerialize: (value: getCustomerDetailsRequest) => Buffer;
|
|
988
|
+
readonly requestDeserialize: (value: Buffer) => getCustomerDetailsRequest;
|
|
989
|
+
readonly responseSerialize: (value: getCustomerDetailsResponse) => Buffer;
|
|
990
|
+
readonly responseDeserialize: (value: Buffer) => getCustomerDetailsResponse;
|
|
991
|
+
};
|
|
973
992
|
};
|
|
974
993
|
export interface customersServer extends UntypedServiceImplementation {
|
|
975
994
|
sendOtp: handleUnaryCall<sendOtpRequest, sendOtpRespone>;
|
|
@@ -1052,7 +1071,8 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
1052
1071
|
getFreedomTxnStatus: handleUnaryCall<getFreedomTxnStatusRequest, getFreedomTxnStatusResponse>;
|
|
1053
1072
|
updateFreedomTxnStatus: handleUnaryCall<updateFreedomTxnStatusRequest, updateFreedomTxnStatusResponse>;
|
|
1054
1073
|
updateCategory: handleUnaryCall<updateCategoryRequest, updateCategoryResponse>;
|
|
1055
|
-
|
|
1074
|
+
getFreedomPaymentOptions: handleUnaryCall<paymentOptionRequest, paymentOptionResponse>;
|
|
1075
|
+
getCbPaymentOptions: handleUnaryCall<paymentOptionRequest, paymentOptionResponse>;
|
|
1056
1076
|
getAaTxnStatus: handleUnaryCall<getAATransactionStatusRequest, getAATransactionStatusResponse>;
|
|
1057
1077
|
getCreditBuilder: handleUnaryCall<getCreditBuilderRequest, getCreditBuilderResponse>;
|
|
1058
1078
|
lessCsImprove: handleUnaryCall<lessCsImproveRequest, lessCsImproveResponse>;
|
|
@@ -1069,6 +1089,7 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
1069
1089
|
deleteDocument: handleUnaryCall<deleteDocumentRequest, deleteDocumentResponse>;
|
|
1070
1090
|
syncDecisionEngine: handleUnaryCall<syncDecisionEngineRequest, syncDecisionEngineResponse>;
|
|
1071
1091
|
updateCbStandAloneJourney: handleUnaryCall<updateCbStandAloneJourneyRequest, updateCbStandAloneJourneyResponse>;
|
|
1092
|
+
getCustomerDetailsbyMobile: handleUnaryCall<getCustomerDetailsRequest, getCustomerDetailsResponse>;
|
|
1072
1093
|
}
|
|
1073
1094
|
export interface customersClient extends Client {
|
|
1074
1095
|
sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
|
|
@@ -1311,9 +1332,12 @@ export interface customersClient extends Client {
|
|
|
1311
1332
|
updateCategory(request: updateCategoryRequest, callback: (error: ServiceError | null, response: updateCategoryResponse) => void): ClientUnaryCall;
|
|
1312
1333
|
updateCategory(request: updateCategoryRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateCategoryResponse) => void): ClientUnaryCall;
|
|
1313
1334
|
updateCategory(request: updateCategoryRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateCategoryResponse) => void): ClientUnaryCall;
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1335
|
+
getFreedomPaymentOptions(request: paymentOptionRequest, callback: (error: ServiceError | null, response: paymentOptionResponse) => void): ClientUnaryCall;
|
|
1336
|
+
getFreedomPaymentOptions(request: paymentOptionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: paymentOptionResponse) => void): ClientUnaryCall;
|
|
1337
|
+
getFreedomPaymentOptions(request: paymentOptionRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: paymentOptionResponse) => void): ClientUnaryCall;
|
|
1338
|
+
getCbPaymentOptions(request: paymentOptionRequest, callback: (error: ServiceError | null, response: paymentOptionResponse) => void): ClientUnaryCall;
|
|
1339
|
+
getCbPaymentOptions(request: paymentOptionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: paymentOptionResponse) => void): ClientUnaryCall;
|
|
1340
|
+
getCbPaymentOptions(request: paymentOptionRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: paymentOptionResponse) => void): ClientUnaryCall;
|
|
1317
1341
|
getAaTxnStatus(request: getAATransactionStatusRequest, callback: (error: ServiceError | null, response: getAATransactionStatusResponse) => void): ClientUnaryCall;
|
|
1318
1342
|
getAaTxnStatus(request: getAATransactionStatusRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getAATransactionStatusResponse) => void): ClientUnaryCall;
|
|
1319
1343
|
getAaTxnStatus(request: getAATransactionStatusRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getAATransactionStatusResponse) => void): ClientUnaryCall;
|
|
@@ -1362,6 +1386,9 @@ export interface customersClient extends Client {
|
|
|
1362
1386
|
updateCbStandAloneJourney(request: updateCbStandAloneJourneyRequest, callback: (error: ServiceError | null, response: updateCbStandAloneJourneyResponse) => void): ClientUnaryCall;
|
|
1363
1387
|
updateCbStandAloneJourney(request: updateCbStandAloneJourneyRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateCbStandAloneJourneyResponse) => void): ClientUnaryCall;
|
|
1364
1388
|
updateCbStandAloneJourney(request: updateCbStandAloneJourneyRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateCbStandAloneJourneyResponse) => void): ClientUnaryCall;
|
|
1389
|
+
getCustomerDetailsbyMobile(request: getCustomerDetailsRequest, callback: (error: ServiceError | null, response: getCustomerDetailsResponse) => void): ClientUnaryCall;
|
|
1390
|
+
getCustomerDetailsbyMobile(request: getCustomerDetailsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getCustomerDetailsResponse) => void): ClientUnaryCall;
|
|
1391
|
+
getCustomerDetailsbyMobile(request: getCustomerDetailsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getCustomerDetailsResponse) => void): ClientUnaryCall;
|
|
1365
1392
|
}
|
|
1366
1393
|
export declare const customersClient: {
|
|
1367
1394
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
|
package/ts/customers.js
CHANGED
|
@@ -55,6 +55,7 @@ const getbasicinfo_1 = require("./customers/getbasicinfo");
|
|
|
55
55
|
const getcities_1 = require("./customers/getcities");
|
|
56
56
|
const getcompanyaccdetails_1 = require("./customers/getcompanyaccdetails");
|
|
57
57
|
const getcustomerbyid_1 = require("./customers/getcustomerbyid");
|
|
58
|
+
const getcustomerdetailsbymobile_1 = require("./customers/getcustomerdetailsbymobile");
|
|
58
59
|
const getdashboard_1 = require("./customers/getdashboard");
|
|
59
60
|
const getdashboardmaincard_1 = require("./customers/getdashboardmaincard");
|
|
60
61
|
const getdocuments_1 = require("./customers/getdocuments");
|
|
@@ -825,8 +826,17 @@ exports.customersService = {
|
|
|
825
826
|
responseSerialize: (value) => Buffer.from(updatecategory_1.updateCategoryResponse.encode(value).finish()),
|
|
826
827
|
responseDeserialize: (value) => updatecategory_1.updateCategoryResponse.decode(value),
|
|
827
828
|
},
|
|
828
|
-
|
|
829
|
-
path: "/service.customers/
|
|
829
|
+
getFreedomPaymentOptions: {
|
|
830
|
+
path: "/service.customers/getFreedomPaymentOptions",
|
|
831
|
+
requestStream: false,
|
|
832
|
+
responseStream: false,
|
|
833
|
+
requestSerialize: (value) => Buffer.from(getpaymentoptions_1.paymentOptionRequest.encode(value).finish()),
|
|
834
|
+
requestDeserialize: (value) => getpaymentoptions_1.paymentOptionRequest.decode(value),
|
|
835
|
+
responseSerialize: (value) => Buffer.from(getpaymentoptions_1.paymentOptionResponse.encode(value).finish()),
|
|
836
|
+
responseDeserialize: (value) => getpaymentoptions_1.paymentOptionResponse.decode(value),
|
|
837
|
+
},
|
|
838
|
+
getCbPaymentOptions: {
|
|
839
|
+
path: "/service.customers/getCbPaymentOptions",
|
|
830
840
|
requestStream: false,
|
|
831
841
|
responseStream: false,
|
|
832
842
|
requestSerialize: (value) => Buffer.from(getpaymentoptions_1.paymentOptionRequest.encode(value).finish()),
|
|
@@ -978,5 +988,14 @@ exports.customersService = {
|
|
|
978
988
|
responseSerialize: (value) => Buffer.from(updatecbstandalonejourney_1.updateCbStandAloneJourneyResponse.encode(value).finish()),
|
|
979
989
|
responseDeserialize: (value) => updatecbstandalonejourney_1.updateCbStandAloneJourneyResponse.decode(value),
|
|
980
990
|
},
|
|
991
|
+
getCustomerDetailsbyMobile: {
|
|
992
|
+
path: "/service.customers/getCustomerDetailsbyMobile",
|
|
993
|
+
requestStream: false,
|
|
994
|
+
responseStream: false,
|
|
995
|
+
requestSerialize: (value) => Buffer.from(getcustomerdetailsbymobile_1.getCustomerDetailsRequest.encode(value).finish()),
|
|
996
|
+
requestDeserialize: (value) => getcustomerdetailsbymobile_1.getCustomerDetailsRequest.decode(value),
|
|
997
|
+
responseSerialize: (value) => Buffer.from(getcustomerdetailsbymobile_1.getCustomerDetailsResponse.encode(value).finish()),
|
|
998
|
+
responseDeserialize: (value) => getcustomerdetailsbymobile_1.getCustomerDetailsResponse.decode(value),
|
|
999
|
+
},
|
|
981
1000
|
};
|
|
982
1001
|
exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
|