@stashfin/grpc 1.2.182 → 1.2.184
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/getlimit.d.ts +2 -0
- package/ts/customers/getlimit.js +29 -1
- package/ts/customers/sendemailtoken.d.ts +35 -0
- package/ts/customers/{savelimit.js → sendemailtoken.js} +30 -30
- 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/customers/verifyemail.js +117 -0
- package/ts/customers.d.ts +0 -28
- package/ts/customers.js +0 -20
- package/ts/google/protobuf/timestamp.d.ts +127 -0
- package/ts/google/protobuf/timestamp.js +97 -0
- package/ts/loans/getloanbyid.d.ts +29 -0
- package/ts/loans/getloanbyid.js +209 -1
- package/ts/payments/checkpaymentstatus.d.ts +51 -0
- package/ts/payments/checkpaymentstatus.js +259 -0
- package/ts/payments/getpaymentoptions.d.ts +50 -0
- package/ts/payments/getpaymentoptions.js +233 -0
- package/ts/payments/initiatepayment.d.ts +67 -0
- package/ts/payments/initiatepayment.js +381 -0
- package/ts/payments/nachpresentation.d.ts +39 -0
- package/ts/payments/nachpresentation.js +191 -0
- package/ts/payments/nachregistration.d.ts +51 -0
- package/ts/payments/nachregistration.js +257 -0
- package/ts/payments.d.ts +42 -211
- package/ts/payments.js +28 -1091
- package/ts/customers/getappsubmittedscreen.d.ts +0 -50
- package/ts/customers/getappsubmittedscreen.js +0 -228
- package/ts/customers/savelimit.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 {};
|
|
@@ -0,0 +1,117 @@
|
|
|
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 v3.20.3
|
|
6
|
+
// source: customers/verifyemail.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.verifyEmailResponse = exports.verifyEmailRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.verifyemail";
|
|
15
|
+
function createBaseverifyEmailRequest() {
|
|
16
|
+
return { token: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.verifyEmailRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.token !== "") {
|
|
21
|
+
writer.uint32(10).string(message.token);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBaseverifyEmailRequest();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 10) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.token = reader.string();
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
reader.skipType(tag & 7);
|
|
43
|
+
}
|
|
44
|
+
return message;
|
|
45
|
+
},
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { token: isSet(object.token) ? globalThis.String(object.token) : "" };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.token !== "") {
|
|
52
|
+
obj.token = message.token;
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.verifyEmailRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBaseverifyEmailRequest();
|
|
61
|
+
message.token = object.token ?? "";
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBaseverifyEmailResponse() {
|
|
66
|
+
return { status: false };
|
|
67
|
+
}
|
|
68
|
+
exports.verifyEmailResponse = {
|
|
69
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
+
if (message.status !== false) {
|
|
71
|
+
writer.uint32(8).bool(message.status);
|
|
72
|
+
}
|
|
73
|
+
return writer;
|
|
74
|
+
},
|
|
75
|
+
decode(input, length) {
|
|
76
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
77
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
78
|
+
const message = createBaseverifyEmailResponse();
|
|
79
|
+
while (reader.pos < end) {
|
|
80
|
+
const tag = reader.uint32();
|
|
81
|
+
switch (tag >>> 3) {
|
|
82
|
+
case 1:
|
|
83
|
+
if (tag !== 8) {
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
message.status = reader.bool();
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
reader.skipType(tag & 7);
|
|
93
|
+
}
|
|
94
|
+
return message;
|
|
95
|
+
},
|
|
96
|
+
fromJSON(object) {
|
|
97
|
+
return { status: isSet(object.status) ? globalThis.Boolean(object.status) : false };
|
|
98
|
+
},
|
|
99
|
+
toJSON(message) {
|
|
100
|
+
const obj = {};
|
|
101
|
+
if (message.status !== false) {
|
|
102
|
+
obj.status = message.status;
|
|
103
|
+
}
|
|
104
|
+
return obj;
|
|
105
|
+
},
|
|
106
|
+
create(base) {
|
|
107
|
+
return exports.verifyEmailResponse.fromPartial(base ?? {});
|
|
108
|
+
},
|
|
109
|
+
fromPartial(object) {
|
|
110
|
+
const message = createBaseverifyEmailResponse();
|
|
111
|
+
message.status = object.status ?? false;
|
|
112
|
+
return message;
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
function isSet(value) {
|
|
116
|
+
return value !== null && value !== undefined;
|
|
117
|
+
}
|
package/ts/customers.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ import { fetchRCProfileRequest, fetchRCProfileResponse } from "./customers/fetch
|
|
|
17
17
|
import { forgotMpinRequest, forgotMpinResponse } from "./customers/forgotmpin";
|
|
18
18
|
import { forgotMpinVerifyRequest, forgotMpinVerifyResponse } from "./customers/forgotmpinverify";
|
|
19
19
|
import { getAddressRequest, getAddressResponse } from "./customers/getaddresslist";
|
|
20
|
-
import { getAppSubmittedRequest, getAppSubmittedResponse } from "./customers/getappsubmittedscreen";
|
|
21
20
|
import { getBankAccountDetailsRequest, getBankAccountDetailsResponse } from "./customers/getbankaccountdetails";
|
|
22
21
|
import { getBasicInfoRequest, getBasicInfoResponse } from "./customers/getbasicinfo";
|
|
23
22
|
import { getCitiesRequest, getCitiesResponse } from "./customers/getcities";
|
|
@@ -37,7 +36,6 @@ import { logoutRequest, logoutResponse } from "./customers/logout";
|
|
|
37
36
|
import { updateProfileBasicRequest, updateProfileBasicResponse } from "./customers/profilebasic";
|
|
38
37
|
import { updateTncRequest, updateTncResponse } from "./customers/profileupdatetnc";
|
|
39
38
|
import { saveBasicDetailsRequest, saveBasicDetailsResponse } from "./customers/savebasicdetails";
|
|
40
|
-
import { saveLimitRequest, saveLimitResponse } from "./customers/savelimit";
|
|
41
39
|
import { saveUnlockLimitRequest, saveUnlockLimitResponse } from "./customers/saveunlocklimit";
|
|
42
40
|
import { sendOtpRequest, sendOtpRespone } from "./customers/sendotp";
|
|
43
41
|
import { sendEmailOtpRequest, sendEmailOtpResponse } from "./customers/sendotptoemail";
|
|
@@ -474,15 +472,6 @@ export declare const customersService: {
|
|
|
474
472
|
readonly responseSerialize: (value: getLimitResponse) => Buffer;
|
|
475
473
|
readonly responseDeserialize: (value: Buffer) => getLimitResponse;
|
|
476
474
|
};
|
|
477
|
-
readonly saveLimit: {
|
|
478
|
-
readonly path: "/service.customers/saveLimit";
|
|
479
|
-
readonly requestStream: false;
|
|
480
|
-
readonly responseStream: false;
|
|
481
|
-
readonly requestSerialize: (value: saveLimitRequest) => Buffer;
|
|
482
|
-
readonly requestDeserialize: (value: Buffer) => saveLimitRequest;
|
|
483
|
-
readonly responseSerialize: (value: saveLimitResponse) => Buffer;
|
|
484
|
-
readonly responseDeserialize: (value: Buffer) => saveLimitResponse;
|
|
485
|
-
};
|
|
486
475
|
readonly addMoreDetails: {
|
|
487
476
|
readonly path: "/service.customers/addMoreDetails";
|
|
488
477
|
readonly requestStream: false;
|
|
@@ -592,15 +581,6 @@ export declare const customersService: {
|
|
|
592
581
|
readonly responseSerialize: (value: getAddressResponse) => Buffer;
|
|
593
582
|
readonly responseDeserialize: (value: Buffer) => getAddressResponse;
|
|
594
583
|
};
|
|
595
|
-
readonly getAppSubmittedScreen: {
|
|
596
|
-
readonly path: "/service.customers/getAppSubmittedScreen";
|
|
597
|
-
readonly requestStream: false;
|
|
598
|
-
readonly responseStream: false;
|
|
599
|
-
readonly requestSerialize: (value: getAppSubmittedRequest) => Buffer;
|
|
600
|
-
readonly requestDeserialize: (value: Buffer) => getAppSubmittedRequest;
|
|
601
|
-
readonly responseSerialize: (value: getAppSubmittedResponse) => Buffer;
|
|
602
|
-
readonly responseDeserialize: (value: Buffer) => getAppSubmittedResponse;
|
|
603
|
-
};
|
|
604
584
|
};
|
|
605
585
|
export interface customersServer extends UntypedServiceImplementation {
|
|
606
586
|
sendOtp: handleUnaryCall<sendOtpRequest, sendOtpRespone>;
|
|
@@ -649,7 +629,6 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
649
629
|
getSelfieeTxnId: handleUnaryCall<getSelfieeTxnIdRequest, getSelfieeTxnIdResponse>;
|
|
650
630
|
updateSelfieeTxn: handleUnaryCall<updateSelfieeTxnRequest, updateSelfieeTxnResponse>;
|
|
651
631
|
getLimit: handleUnaryCall<getLimitRequest, getLimitResponse>;
|
|
652
|
-
saveLimit: handleUnaryCall<saveLimitRequest, saveLimitResponse>;
|
|
653
632
|
addMoreDetails: handleUnaryCall<addMoreDetailsRequest, addMoreDetailsResponse>;
|
|
654
633
|
updateVehicleNumber: handleUnaryCall<updateVehicleNumberRequest, updateVehicleNumberResponse>;
|
|
655
634
|
updateDlNumber: handleUnaryCall<updateDlNumberRequest, updateDlNumberResponse>;
|
|
@@ -663,7 +642,6 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
663
642
|
getOccupationList: handleUnaryCall<getOccupationListRequest, getOccupationListResponse>;
|
|
664
643
|
/** rpc reversePennyDrop(.customers.reversepennydrop.reversePennyDropRequest) returns (.customers.reversepennydrop.reversePennyDropResponse) {} */
|
|
665
644
|
getAddressList: handleUnaryCall<getAddressRequest, getAddressResponse>;
|
|
666
|
-
getAppSubmittedScreen: handleUnaryCall<getAppSubmittedRequest, getAppSubmittedResponse>;
|
|
667
645
|
}
|
|
668
646
|
export interface customersClient extends Client {
|
|
669
647
|
sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
|
|
@@ -804,9 +782,6 @@ export interface customersClient extends Client {
|
|
|
804
782
|
getLimit(request: getLimitRequest, callback: (error: ServiceError | null, response: getLimitResponse) => void): ClientUnaryCall;
|
|
805
783
|
getLimit(request: getLimitRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getLimitResponse) => void): ClientUnaryCall;
|
|
806
784
|
getLimit(request: getLimitRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getLimitResponse) => void): ClientUnaryCall;
|
|
807
|
-
saveLimit(request: saveLimitRequest, callback: (error: ServiceError | null, response: saveLimitResponse) => void): ClientUnaryCall;
|
|
808
|
-
saveLimit(request: saveLimitRequest, metadata: Metadata, callback: (error: ServiceError | null, response: saveLimitResponse) => void): ClientUnaryCall;
|
|
809
|
-
saveLimit(request: saveLimitRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: saveLimitResponse) => void): ClientUnaryCall;
|
|
810
785
|
addMoreDetails(request: addMoreDetailsRequest, callback: (error: ServiceError | null, response: addMoreDetailsResponse) => void): ClientUnaryCall;
|
|
811
786
|
addMoreDetails(request: addMoreDetailsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: addMoreDetailsResponse) => void): ClientUnaryCall;
|
|
812
787
|
addMoreDetails(request: addMoreDetailsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: addMoreDetailsResponse) => void): ClientUnaryCall;
|
|
@@ -844,9 +819,6 @@ export interface customersClient extends Client {
|
|
|
844
819
|
getAddressList(request: getAddressRequest, callback: (error: ServiceError | null, response: getAddressResponse) => void): ClientUnaryCall;
|
|
845
820
|
getAddressList(request: getAddressRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getAddressResponse) => void): ClientUnaryCall;
|
|
846
821
|
getAddressList(request: getAddressRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getAddressResponse) => void): ClientUnaryCall;
|
|
847
|
-
getAppSubmittedScreen(request: getAppSubmittedRequest, callback: (error: ServiceError | null, response: getAppSubmittedResponse) => void): ClientUnaryCall;
|
|
848
|
-
getAppSubmittedScreen(request: getAppSubmittedRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getAppSubmittedResponse) => void): ClientUnaryCall;
|
|
849
|
-
getAppSubmittedScreen(request: getAppSubmittedRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getAppSubmittedResponse) => void): ClientUnaryCall;
|
|
850
822
|
}
|
|
851
823
|
export declare const customersClient: {
|
|
852
824
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
|
package/ts/customers.js
CHANGED
|
@@ -26,7 +26,6 @@ const fetchrcprofile_1 = require("./customers/fetchrcprofile");
|
|
|
26
26
|
const forgotmpin_1 = require("./customers/forgotmpin");
|
|
27
27
|
const forgotmpinverify_1 = require("./customers/forgotmpinverify");
|
|
28
28
|
const getaddresslist_1 = require("./customers/getaddresslist");
|
|
29
|
-
const getappsubmittedscreen_1 = require("./customers/getappsubmittedscreen");
|
|
30
29
|
const getbankaccountdetails_1 = require("./customers/getbankaccountdetails");
|
|
31
30
|
const getbasicinfo_1 = require("./customers/getbasicinfo");
|
|
32
31
|
const getcities_1 = require("./customers/getcities");
|
|
@@ -46,7 +45,6 @@ const logout_1 = require("./customers/logout");
|
|
|
46
45
|
const profilebasic_1 = require("./customers/profilebasic");
|
|
47
46
|
const profileupdatetnc_1 = require("./customers/profileupdatetnc");
|
|
48
47
|
const savebasicdetails_1 = require("./customers/savebasicdetails");
|
|
49
|
-
const savelimit_1 = require("./customers/savelimit");
|
|
50
48
|
const saveunlocklimit_1 = require("./customers/saveunlocklimit");
|
|
51
49
|
const sendotp_1 = require("./customers/sendotp");
|
|
52
50
|
const sendotptoemail_1 = require("./customers/sendotptoemail");
|
|
@@ -482,15 +480,6 @@ exports.customersService = {
|
|
|
482
480
|
responseSerialize: (value) => Buffer.from(getlimit_1.getLimitResponse.encode(value).finish()),
|
|
483
481
|
responseDeserialize: (value) => getlimit_1.getLimitResponse.decode(value),
|
|
484
482
|
},
|
|
485
|
-
saveLimit: {
|
|
486
|
-
path: "/service.customers/saveLimit",
|
|
487
|
-
requestStream: false,
|
|
488
|
-
responseStream: false,
|
|
489
|
-
requestSerialize: (value) => Buffer.from(savelimit_1.saveLimitRequest.encode(value).finish()),
|
|
490
|
-
requestDeserialize: (value) => savelimit_1.saveLimitRequest.decode(value),
|
|
491
|
-
responseSerialize: (value) => Buffer.from(savelimit_1.saveLimitResponse.encode(value).finish()),
|
|
492
|
-
responseDeserialize: (value) => savelimit_1.saveLimitResponse.decode(value),
|
|
493
|
-
},
|
|
494
483
|
addMoreDetails: {
|
|
495
484
|
path: "/service.customers/addMoreDetails",
|
|
496
485
|
requestStream: false,
|
|
@@ -600,14 +589,5 @@ exports.customersService = {
|
|
|
600
589
|
responseSerialize: (value) => Buffer.from(getaddresslist_1.getAddressResponse.encode(value).finish()),
|
|
601
590
|
responseDeserialize: (value) => getaddresslist_1.getAddressResponse.decode(value),
|
|
602
591
|
},
|
|
603
|
-
getAppSubmittedScreen: {
|
|
604
|
-
path: "/service.customers/getAppSubmittedScreen",
|
|
605
|
-
requestStream: false,
|
|
606
|
-
responseStream: false,
|
|
607
|
-
requestSerialize: (value) => Buffer.from(getappsubmittedscreen_1.getAppSubmittedRequest.encode(value).finish()),
|
|
608
|
-
requestDeserialize: (value) => getappsubmittedscreen_1.getAppSubmittedRequest.decode(value),
|
|
609
|
-
responseSerialize: (value) => Buffer.from(getappsubmittedscreen_1.getAppSubmittedResponse.encode(value).finish()),
|
|
610
|
-
responseDeserialize: (value) => getappsubmittedscreen_1.getAppSubmittedResponse.decode(value),
|
|
611
|
-
},
|
|
612
592
|
};
|
|
613
593
|
exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
|