@stashfin/grpc 1.2.407 → 1.2.409
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/lamf/getloandetails.d.ts +3 -3
- package/ts/lamf/getloandetails.js +20 -20
- package/ts/lamf/submitotp.d.ts +4 -4
- package/ts/lamf/submitotp.js +25 -25
- package/ts/lamf/validateuser.d.ts +2 -2
- package/ts/lamf/validateuser.js +10 -10
- package/ts/loans/approveloan.d.ts +1 -0
- package/ts/loans/approveloan.js +15 -0
- package/ts/loans/cbloan.d.ts +1 -0
- package/ts/loans/cbloan.js +18 -2
- package/ts/loans/createlamfloan.d.ts +1 -0
- package/ts/loans/createlamfloan.js +15 -0
- package/ts/loans/getvirtualaccountnumber.d.ts +0 -35
|
@@ -277,6 +277,7 @@ function createBasecreateLamfLoanResponse() {
|
|
|
277
277
|
plan_id: 0,
|
|
278
278
|
approved_amount: 0,
|
|
279
279
|
discount: 0,
|
|
280
|
+
error_code: undefined,
|
|
280
281
|
};
|
|
281
282
|
}
|
|
282
283
|
exports.createLamfLoanResponse = {
|
|
@@ -374,6 +375,9 @@ exports.createLamfLoanResponse = {
|
|
|
374
375
|
if (message.discount !== 0) {
|
|
375
376
|
writer.uint32(248).int32(message.discount);
|
|
376
377
|
}
|
|
378
|
+
if (message.error_code !== undefined) {
|
|
379
|
+
writer.uint32(258).string(message.error_code);
|
|
380
|
+
}
|
|
377
381
|
return writer;
|
|
378
382
|
},
|
|
379
383
|
decode(input, length) {
|
|
@@ -569,6 +573,12 @@ exports.createLamfLoanResponse = {
|
|
|
569
573
|
}
|
|
570
574
|
message.discount = reader.int32();
|
|
571
575
|
continue;
|
|
576
|
+
case 32:
|
|
577
|
+
if (tag !== 258) {
|
|
578
|
+
break;
|
|
579
|
+
}
|
|
580
|
+
message.error_code = reader.string();
|
|
581
|
+
continue;
|
|
572
582
|
}
|
|
573
583
|
if ((tag & 7) === 4 || tag === 0) {
|
|
574
584
|
break;
|
|
@@ -618,6 +628,7 @@ exports.createLamfLoanResponse = {
|
|
|
618
628
|
plan_id: isSet(object.plan_id) ? globalThis.Number(object.plan_id) : 0,
|
|
619
629
|
approved_amount: isSet(object.approved_amount) ? globalThis.Number(object.approved_amount) : 0,
|
|
620
630
|
discount: isSet(object.discount) ? globalThis.Number(object.discount) : 0,
|
|
631
|
+
error_code: isSet(object.error_code) ? globalThis.String(object.error_code) : undefined,
|
|
621
632
|
};
|
|
622
633
|
},
|
|
623
634
|
toJSON(message) {
|
|
@@ -715,6 +726,9 @@ exports.createLamfLoanResponse = {
|
|
|
715
726
|
if (message.discount !== 0) {
|
|
716
727
|
obj.discount = Math.round(message.discount);
|
|
717
728
|
}
|
|
729
|
+
if (message.error_code !== undefined) {
|
|
730
|
+
obj.error_code = message.error_code;
|
|
731
|
+
}
|
|
718
732
|
return obj;
|
|
719
733
|
},
|
|
720
734
|
create(base) {
|
|
@@ -753,6 +767,7 @@ exports.createLamfLoanResponse = {
|
|
|
753
767
|
message.plan_id = object.plan_id ?? 0;
|
|
754
768
|
message.approved_amount = object.approved_amount ?? 0;
|
|
755
769
|
message.discount = object.discount ?? 0;
|
|
770
|
+
message.error_code = object.error_code ?? undefined;
|
|
756
771
|
return message;
|
|
757
772
|
},
|
|
758
773
|
};
|
|
@@ -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 {};
|