@stashfin/grpc 1.2.340 → 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/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/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/loans/cbloan.d.ts +1 -32
- package/ts/loans/cbloan.js +31 -508
- package/ts/payments/fundtransfer.d.ts +1 -0
- package/ts/payments/fundtransfer.js +23 -1
- package/ts/loans/getvirtualaccountnumber.d.ts +0 -35
|
@@ -297,7 +297,15 @@ exports.request_bank_details = {
|
|
|
297
297
|
},
|
|
298
298
|
};
|
|
299
299
|
function createBaseresponse() {
|
|
300
|
-
return {
|
|
300
|
+
return {
|
|
301
|
+
status: "",
|
|
302
|
+
status_code: 0,
|
|
303
|
+
customer_id: 0,
|
|
304
|
+
external_order_id: "",
|
|
305
|
+
amount: 0,
|
|
306
|
+
message: undefined,
|
|
307
|
+
txn_date: undefined,
|
|
308
|
+
};
|
|
301
309
|
}
|
|
302
310
|
exports.response = {
|
|
303
311
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -319,6 +327,9 @@ exports.response = {
|
|
|
319
327
|
if (message.message !== undefined) {
|
|
320
328
|
writer.uint32(50).string(message.message);
|
|
321
329
|
}
|
|
330
|
+
if (message.txn_date !== undefined) {
|
|
331
|
+
writer.uint32(58).string(message.txn_date);
|
|
332
|
+
}
|
|
322
333
|
return writer;
|
|
323
334
|
},
|
|
324
335
|
decode(input, length) {
|
|
@@ -364,6 +375,12 @@ exports.response = {
|
|
|
364
375
|
}
|
|
365
376
|
message.message = reader.string();
|
|
366
377
|
continue;
|
|
378
|
+
case 7:
|
|
379
|
+
if (tag !== 58) {
|
|
380
|
+
break;
|
|
381
|
+
}
|
|
382
|
+
message.txn_date = reader.string();
|
|
383
|
+
continue;
|
|
367
384
|
}
|
|
368
385
|
if ((tag & 7) === 4 || tag === 0) {
|
|
369
386
|
break;
|
|
@@ -380,6 +397,7 @@ exports.response = {
|
|
|
380
397
|
external_order_id: isSet(object.external_order_id) ? globalThis.String(object.external_order_id) : "",
|
|
381
398
|
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
382
399
|
message: isSet(object.message) ? globalThis.String(object.message) : undefined,
|
|
400
|
+
txn_date: isSet(object.txn_date) ? globalThis.String(object.txn_date) : undefined,
|
|
383
401
|
};
|
|
384
402
|
},
|
|
385
403
|
toJSON(message) {
|
|
@@ -402,6 +420,9 @@ exports.response = {
|
|
|
402
420
|
if (message.message !== undefined) {
|
|
403
421
|
obj.message = message.message;
|
|
404
422
|
}
|
|
423
|
+
if (message.txn_date !== undefined) {
|
|
424
|
+
obj.txn_date = message.txn_date;
|
|
425
|
+
}
|
|
405
426
|
return obj;
|
|
406
427
|
},
|
|
407
428
|
create(base) {
|
|
@@ -415,6 +436,7 @@ exports.response = {
|
|
|
415
436
|
message.external_order_id = object.external_order_id ?? "";
|
|
416
437
|
message.amount = object.amount ?? 0;
|
|
417
438
|
message.message = object.message ?? undefined;
|
|
439
|
+
message.txn_date = object.txn_date ?? undefined;
|
|
418
440
|
return message;
|
|
419
441
|
},
|
|
420
442
|
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "loans.getvirtualaccountnumber";
|
|
3
|
-
export interface getVirtualAccountNumberRequest {
|
|
4
|
-
customer_id: number;
|
|
5
|
-
}
|
|
6
|
-
export interface getVirtualAccountNumberResponse {
|
|
7
|
-
account_number: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const getVirtualAccountNumberRequest: {
|
|
10
|
-
encode(message: getVirtualAccountNumberRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getVirtualAccountNumberRequest;
|
|
12
|
-
fromJSON(object: any): getVirtualAccountNumberRequest;
|
|
13
|
-
toJSON(message: getVirtualAccountNumberRequest): unknown;
|
|
14
|
-
create<I extends Exact<DeepPartial<getVirtualAccountNumberRequest>, I>>(base?: I): getVirtualAccountNumberRequest;
|
|
15
|
-
fromPartial<I extends Exact<DeepPartial<getVirtualAccountNumberRequest>, I>>(object: I): getVirtualAccountNumberRequest;
|
|
16
|
-
};
|
|
17
|
-
export declare const getVirtualAccountNumberResponse: {
|
|
18
|
-
encode(message: getVirtualAccountNumberResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getVirtualAccountNumberResponse;
|
|
20
|
-
fromJSON(object: any): getVirtualAccountNumberResponse;
|
|
21
|
-
toJSON(message: getVirtualAccountNumberResponse): unknown;
|
|
22
|
-
create<I extends Exact<DeepPartial<getVirtualAccountNumberResponse>, I>>(base?: I): getVirtualAccountNumberResponse;
|
|
23
|
-
fromPartial<I extends Exact<DeepPartial<getVirtualAccountNumberResponse>, I>>(object: I): getVirtualAccountNumberResponse;
|
|
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 {};
|