@stashfin/grpc 1.2.341 → 1.2.342
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/getrpdlink.d.ts +40 -0
- package/ts/customers/getrpdlink.js +190 -0
- package/ts/customers/sendemailtoken.d.ts +35 -0
- package/ts/customers/{freedom/updateadditionalverification.js → sendemailtoken.js} +41 -28
- 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 +0 -14
- package/ts/customers.js +0 -10
- package/ts/google/protobuf/timestamp.d.ts +127 -0
- package/ts/google/protobuf/timestamp.js +97 -0
- package/ts/loans/approveloan.d.ts +0 -1
- package/ts/loans/approveloan.js +1 -25
- package/ts/payments/fundtransfer.d.ts +1 -0
- package/ts/payments/fundtransfer.js +23 -1
- package/ts/customers/freedom/updateadditionalverification.d.ts +0 -34
- 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
|
@@ -38,7 +38,6 @@ import { forgotMpinVerifyRequest, forgotMpinVerifyResponse } from "./customers/f
|
|
|
38
38
|
import { confirmAddressRequest, confirmAddressResponse } from "./customers/freedom/addressconfirmation";
|
|
39
39
|
import { freedomPayNowRequest, freedomPayNowResponse } from "./customers/freedom/freedompaynow";
|
|
40
40
|
import { getFreedomTxnStatusRequest, getFreedomTxnStatusResponse } from "./customers/freedom/getfreedomtxnstatus";
|
|
41
|
-
import { updateAdditionalVerificationRequest, updateAdditionalVerificationResponse } from "./customers/freedom/updateadditionalverification";
|
|
42
41
|
import { updateFreedomTxnStatusRequest, updateFreedomTxnStatusResponse } from "./customers/freedom/updatefreedomtxnstatus";
|
|
43
42
|
import { getAddressRequest, getAddressResponse } from "./customers/getaddresslist";
|
|
44
43
|
import { getAppSubmittedRequest, getAppSubmittedResponse } from "./customers/getappsubmittedscreen";
|
|
@@ -1000,15 +999,6 @@ export declare const customersService: {
|
|
|
1000
999
|
readonly responseSerialize: (value: getLocLimitResponse) => Buffer;
|
|
1001
1000
|
readonly responseDeserialize: (value: Buffer) => getLocLimitResponse;
|
|
1002
1001
|
};
|
|
1003
|
-
readonly updateAdditionalVerification: {
|
|
1004
|
-
readonly path: "/service.customers/updateAdditionalVerification";
|
|
1005
|
-
readonly requestStream: false;
|
|
1006
|
-
readonly responseStream: false;
|
|
1007
|
-
readonly requestSerialize: (value: updateAdditionalVerificationRequest) => Buffer;
|
|
1008
|
-
readonly requestDeserialize: (value: Buffer) => updateAdditionalVerificationRequest;
|
|
1009
|
-
readonly responseSerialize: (value: updateAdditionalVerificationResponse) => Buffer;
|
|
1010
|
-
readonly responseDeserialize: (value: Buffer) => updateAdditionalVerificationResponse;
|
|
1011
|
-
};
|
|
1012
1002
|
};
|
|
1013
1003
|
export interface customersServer extends UntypedServiceImplementation {
|
|
1014
1004
|
sendOtp: handleUnaryCall<sendOtpRequest, sendOtpRespone>;
|
|
@@ -1111,7 +1101,6 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
1111
1101
|
updateCbStandAloneJourney: handleUnaryCall<updateCbStandAloneJourneyRequest, updateCbStandAloneJourneyResponse>;
|
|
1112
1102
|
getCustomerDetailsbyMobile: handleUnaryCall<getCustomerDetailsRequest, getCustomerDetailsResponse>;
|
|
1113
1103
|
getLocLimit: handleUnaryCall<getLocLimitRequest, getLocLimitResponse>;
|
|
1114
|
-
updateAdditionalVerification: handleUnaryCall<updateAdditionalVerificationRequest, updateAdditionalVerificationResponse>;
|
|
1115
1104
|
}
|
|
1116
1105
|
export interface customersClient extends Client {
|
|
1117
1106
|
sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
|
|
@@ -1414,9 +1403,6 @@ export interface customersClient extends Client {
|
|
|
1414
1403
|
getLocLimit(request: getLocLimitRequest, callback: (error: ServiceError | null, response: getLocLimitResponse) => void): ClientUnaryCall;
|
|
1415
1404
|
getLocLimit(request: getLocLimitRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getLocLimitResponse) => void): ClientUnaryCall;
|
|
1416
1405
|
getLocLimit(request: getLocLimitRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getLocLimitResponse) => void): ClientUnaryCall;
|
|
1417
|
-
updateAdditionalVerification(request: updateAdditionalVerificationRequest, callback: (error: ServiceError | null, response: updateAdditionalVerificationResponse) => void): ClientUnaryCall;
|
|
1418
|
-
updateAdditionalVerification(request: updateAdditionalVerificationRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateAdditionalVerificationResponse) => void): ClientUnaryCall;
|
|
1419
|
-
updateAdditionalVerification(request: updateAdditionalVerificationRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateAdditionalVerificationResponse) => void): ClientUnaryCall;
|
|
1420
1406
|
}
|
|
1421
1407
|
export declare const customersClient: {
|
|
1422
1408
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
|
package/ts/customers.js
CHANGED
|
@@ -47,7 +47,6 @@ const forgotmpinverify_1 = require("./customers/forgotmpinverify");
|
|
|
47
47
|
const addressconfirmation_1 = require("./customers/freedom/addressconfirmation");
|
|
48
48
|
const freedompaynow_1 = require("./customers/freedom/freedompaynow");
|
|
49
49
|
const getfreedomtxnstatus_1 = require("./customers/freedom/getfreedomtxnstatus");
|
|
50
|
-
const updateadditionalverification_1 = require("./customers/freedom/updateadditionalverification");
|
|
51
50
|
const updatefreedomtxnstatus_1 = require("./customers/freedom/updatefreedomtxnstatus");
|
|
52
51
|
const getaddresslist_1 = require("./customers/getaddresslist");
|
|
53
52
|
const getappsubmittedscreen_1 = require("./customers/getappsubmittedscreen");
|
|
@@ -1008,14 +1007,5 @@ exports.customersService = {
|
|
|
1008
1007
|
responseSerialize: (value) => Buffer.from(getloclimit_1.getLocLimitResponse.encode(value).finish()),
|
|
1009
1008
|
responseDeserialize: (value) => getloclimit_1.getLocLimitResponse.decode(value),
|
|
1010
1009
|
},
|
|
1011
|
-
updateAdditionalVerification: {
|
|
1012
|
-
path: "/service.customers/updateAdditionalVerification",
|
|
1013
|
-
requestStream: false,
|
|
1014
|
-
responseStream: false,
|
|
1015
|
-
requestSerialize: (value) => Buffer.from(updateadditionalverification_1.updateAdditionalVerificationRequest.encode(value).finish()),
|
|
1016
|
-
requestDeserialize: (value) => updateadditionalverification_1.updateAdditionalVerificationRequest.decode(value),
|
|
1017
|
-
responseSerialize: (value) => Buffer.from(updateadditionalverification_1.updateAdditionalVerificationResponse.encode(value).finish()),
|
|
1018
|
-
responseDeserialize: (value) => updateadditionalverification_1.updateAdditionalVerificationResponse.decode(value),
|
|
1019
|
-
},
|
|
1020
1010
|
};
|
|
1021
1011
|
exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
|