@stashfin/grpc 1.2.369 → 1.2.371
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/cb/updatecbstandalonecancellation.d.ts +34 -0
- package/ts/customers/cb/updatecbstandalonecancellation.js +104 -0
- package/ts/customers/cb/updatecbstandaloneconfirmation.d.ts +34 -0
- package/ts/customers/cb/updatecbstandaloneconfirmation.js +104 -0
- package/ts/customers.d.ts +28 -0
- package/ts/customers.js +20 -0
- package/ts/loans/getforecloseamount.d.ts +2 -0
- package/ts/loans/getforecloseamount.js +32 -4
package/package.json
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.cb.updatecbstandalonecancellation";
|
|
3
|
+
export interface updateCbStandAloneCancellationRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface updateCbStandAloneCancellationResponse {
|
|
6
|
+
status: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const updateCbStandAloneCancellationRequest: {
|
|
9
|
+
encode(_: updateCbStandAloneCancellationRequest, writer?: _m0.Writer): _m0.Writer;
|
|
10
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateCbStandAloneCancellationRequest;
|
|
11
|
+
fromJSON(_: any): updateCbStandAloneCancellationRequest;
|
|
12
|
+
toJSON(_: updateCbStandAloneCancellationRequest): unknown;
|
|
13
|
+
create<I extends Exact<DeepPartial<updateCbStandAloneCancellationRequest>, I>>(base?: I): updateCbStandAloneCancellationRequest;
|
|
14
|
+
fromPartial<I extends Exact<DeepPartial<updateCbStandAloneCancellationRequest>, I>>(_: I): updateCbStandAloneCancellationRequest;
|
|
15
|
+
};
|
|
16
|
+
export declare const updateCbStandAloneCancellationResponse: {
|
|
17
|
+
encode(message: updateCbStandAloneCancellationResponse, writer?: _m0.Writer): _m0.Writer;
|
|
18
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateCbStandAloneCancellationResponse;
|
|
19
|
+
fromJSON(object: any): updateCbStandAloneCancellationResponse;
|
|
20
|
+
toJSON(message: updateCbStandAloneCancellationResponse): unknown;
|
|
21
|
+
create<I extends Exact<DeepPartial<updateCbStandAloneCancellationResponse>, I>>(base?: I): updateCbStandAloneCancellationResponse;
|
|
22
|
+
fromPartial<I extends Exact<DeepPartial<updateCbStandAloneCancellationResponse>, I>>(object: I): updateCbStandAloneCancellationResponse;
|
|
23
|
+
};
|
|
24
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
25
|
+
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 {} ? {
|
|
26
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
27
|
+
} : Partial<T>;
|
|
28
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
29
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
30
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
31
|
+
} & {
|
|
32
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
33
|
+
};
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,104 @@
|
|
|
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.28.3
|
|
6
|
+
// source: customers/cb/updatecbstandalonecancellation.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.updateCbStandAloneCancellationResponse = exports.updateCbStandAloneCancellationRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.cb.updatecbstandalonecancellation";
|
|
15
|
+
function createBaseupdateCbStandAloneCancellationRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.updateCbStandAloneCancellationRequest = {
|
|
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 = createBaseupdateCbStandAloneCancellationRequest();
|
|
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.updateCbStandAloneCancellationRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBaseupdateCbStandAloneCancellationRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBaseupdateCbStandAloneCancellationResponse() {
|
|
53
|
+
return { status: "" };
|
|
54
|
+
}
|
|
55
|
+
exports.updateCbStandAloneCancellationResponse = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
if (message.status !== "") {
|
|
58
|
+
writer.uint32(10).string(message.status);
|
|
59
|
+
}
|
|
60
|
+
return writer;
|
|
61
|
+
},
|
|
62
|
+
decode(input, length) {
|
|
63
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
64
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
65
|
+
const message = createBaseupdateCbStandAloneCancellationResponse();
|
|
66
|
+
while (reader.pos < end) {
|
|
67
|
+
const tag = reader.uint32();
|
|
68
|
+
switch (tag >>> 3) {
|
|
69
|
+
case 1:
|
|
70
|
+
if (tag !== 10) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
message.status = reader.string();
|
|
74
|
+
continue;
|
|
75
|
+
}
|
|
76
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
reader.skipType(tag & 7);
|
|
80
|
+
}
|
|
81
|
+
return message;
|
|
82
|
+
},
|
|
83
|
+
fromJSON(object) {
|
|
84
|
+
return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
|
|
85
|
+
},
|
|
86
|
+
toJSON(message) {
|
|
87
|
+
const obj = {};
|
|
88
|
+
if (message.status !== "") {
|
|
89
|
+
obj.status = message.status;
|
|
90
|
+
}
|
|
91
|
+
return obj;
|
|
92
|
+
},
|
|
93
|
+
create(base) {
|
|
94
|
+
return exports.updateCbStandAloneCancellationResponse.fromPartial(base ?? {});
|
|
95
|
+
},
|
|
96
|
+
fromPartial(object) {
|
|
97
|
+
const message = createBaseupdateCbStandAloneCancellationResponse();
|
|
98
|
+
message.status = object.status ?? "";
|
|
99
|
+
return message;
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
function isSet(value) {
|
|
103
|
+
return value !== null && value !== undefined;
|
|
104
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.cb.updatecbstandaloneconfirmation";
|
|
3
|
+
export interface updateCbStandAloneConfirmationRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface updateCbStandAloneConfirmationResponse {
|
|
6
|
+
status: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const updateCbStandAloneConfirmationRequest: {
|
|
9
|
+
encode(_: updateCbStandAloneConfirmationRequest, writer?: _m0.Writer): _m0.Writer;
|
|
10
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateCbStandAloneConfirmationRequest;
|
|
11
|
+
fromJSON(_: any): updateCbStandAloneConfirmationRequest;
|
|
12
|
+
toJSON(_: updateCbStandAloneConfirmationRequest): unknown;
|
|
13
|
+
create<I extends Exact<DeepPartial<updateCbStandAloneConfirmationRequest>, I>>(base?: I): updateCbStandAloneConfirmationRequest;
|
|
14
|
+
fromPartial<I extends Exact<DeepPartial<updateCbStandAloneConfirmationRequest>, I>>(_: I): updateCbStandAloneConfirmationRequest;
|
|
15
|
+
};
|
|
16
|
+
export declare const updateCbStandAloneConfirmationResponse: {
|
|
17
|
+
encode(message: updateCbStandAloneConfirmationResponse, writer?: _m0.Writer): _m0.Writer;
|
|
18
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateCbStandAloneConfirmationResponse;
|
|
19
|
+
fromJSON(object: any): updateCbStandAloneConfirmationResponse;
|
|
20
|
+
toJSON(message: updateCbStandAloneConfirmationResponse): unknown;
|
|
21
|
+
create<I extends Exact<DeepPartial<updateCbStandAloneConfirmationResponse>, I>>(base?: I): updateCbStandAloneConfirmationResponse;
|
|
22
|
+
fromPartial<I extends Exact<DeepPartial<updateCbStandAloneConfirmationResponse>, I>>(object: I): updateCbStandAloneConfirmationResponse;
|
|
23
|
+
};
|
|
24
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
25
|
+
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 {} ? {
|
|
26
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
27
|
+
} : Partial<T>;
|
|
28
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
29
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
30
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
31
|
+
} & {
|
|
32
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
33
|
+
};
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,104 @@
|
|
|
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.28.3
|
|
6
|
+
// source: customers/cb/updatecbstandaloneconfirmation.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.updateCbStandAloneConfirmationResponse = exports.updateCbStandAloneConfirmationRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.cb.updatecbstandaloneconfirmation";
|
|
15
|
+
function createBaseupdateCbStandAloneConfirmationRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.updateCbStandAloneConfirmationRequest = {
|
|
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 = createBaseupdateCbStandAloneConfirmationRequest();
|
|
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.updateCbStandAloneConfirmationRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBaseupdateCbStandAloneConfirmationRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBaseupdateCbStandAloneConfirmationResponse() {
|
|
53
|
+
return { status: "" };
|
|
54
|
+
}
|
|
55
|
+
exports.updateCbStandAloneConfirmationResponse = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
if (message.status !== "") {
|
|
58
|
+
writer.uint32(10).string(message.status);
|
|
59
|
+
}
|
|
60
|
+
return writer;
|
|
61
|
+
},
|
|
62
|
+
decode(input, length) {
|
|
63
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
64
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
65
|
+
const message = createBaseupdateCbStandAloneConfirmationResponse();
|
|
66
|
+
while (reader.pos < end) {
|
|
67
|
+
const tag = reader.uint32();
|
|
68
|
+
switch (tag >>> 3) {
|
|
69
|
+
case 1:
|
|
70
|
+
if (tag !== 10) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
message.status = reader.string();
|
|
74
|
+
continue;
|
|
75
|
+
}
|
|
76
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
reader.skipType(tag & 7);
|
|
80
|
+
}
|
|
81
|
+
return message;
|
|
82
|
+
},
|
|
83
|
+
fromJSON(object) {
|
|
84
|
+
return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
|
|
85
|
+
},
|
|
86
|
+
toJSON(message) {
|
|
87
|
+
const obj = {};
|
|
88
|
+
if (message.status !== "") {
|
|
89
|
+
obj.status = message.status;
|
|
90
|
+
}
|
|
91
|
+
return obj;
|
|
92
|
+
},
|
|
93
|
+
create(base) {
|
|
94
|
+
return exports.updateCbStandAloneConfirmationResponse.fromPartial(base ?? {});
|
|
95
|
+
},
|
|
96
|
+
fromPartial(object) {
|
|
97
|
+
const message = createBaseupdateCbStandAloneConfirmationResponse();
|
|
98
|
+
message.status = object.status ?? "";
|
|
99
|
+
return message;
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
function isSet(value) {
|
|
103
|
+
return value !== null && value !== undefined;
|
|
104
|
+
}
|
package/ts/customers.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ import { insuranceDetailsRequest, insuranceDetailsResponse } from "./customers/c
|
|
|
22
22
|
import { lessCsImproveRequest, lessCsImproveResponse } from "./customers/cb/lesscsimprove";
|
|
23
23
|
import { moreCsImproveRequest, moreCsImproveResponse } from "./customers/cb/morecsimprove";
|
|
24
24
|
import { saveCreditBuilderRequest, saveCreditBuilderResponse } from "./customers/cb/savecreditbuilder";
|
|
25
|
+
import { updateCbStandAloneCancellationRequest, updateCbStandAloneCancellationResponse } from "./customers/cb/updatecbstandalonecancellation";
|
|
26
|
+
import { updateCbStandAloneConfirmationRequest, updateCbStandAloneConfirmationResponse } from "./customers/cb/updatecbstandaloneconfirmation";
|
|
25
27
|
import { updateCbStandAloneJourneyRequest, updateCbStandAloneJourneyResponse } from "./customers/cb/updatecbstandalonejourney";
|
|
26
28
|
import { updateCBTxnStatusRequest, updateCBTxnStatusResponse } from "./customers/cb/updatecbtxnstatus";
|
|
27
29
|
import { changeMpinRequest, changeMpinResponse } from "./customers/changempin";
|
|
@@ -1069,6 +1071,24 @@ export declare const customersService: {
|
|
|
1069
1071
|
readonly responseSerialize: (value: getPocketPersonalAccidentProtectionPlanResponse) => Buffer;
|
|
1070
1072
|
readonly responseDeserialize: (value: Buffer) => getPocketPersonalAccidentProtectionPlanResponse;
|
|
1071
1073
|
};
|
|
1074
|
+
readonly updateCbStandAloneConfirmation: {
|
|
1075
|
+
readonly path: "/service.customers/updateCbStandAloneConfirmation";
|
|
1076
|
+
readonly requestStream: false;
|
|
1077
|
+
readonly responseStream: false;
|
|
1078
|
+
readonly requestSerialize: (value: updateCbStandAloneConfirmationRequest) => Buffer;
|
|
1079
|
+
readonly requestDeserialize: (value: Buffer) => updateCbStandAloneConfirmationRequest;
|
|
1080
|
+
readonly responseSerialize: (value: updateCbStandAloneConfirmationResponse) => Buffer;
|
|
1081
|
+
readonly responseDeserialize: (value: Buffer) => updateCbStandAloneConfirmationResponse;
|
|
1082
|
+
};
|
|
1083
|
+
readonly updateCbStandAloneCancellation: {
|
|
1084
|
+
readonly path: "/service.customers/updateCbStandAloneCancellation";
|
|
1085
|
+
readonly requestStream: false;
|
|
1086
|
+
readonly responseStream: false;
|
|
1087
|
+
readonly requestSerialize: (value: updateCbStandAloneCancellationRequest) => Buffer;
|
|
1088
|
+
readonly requestDeserialize: (value: Buffer) => updateCbStandAloneCancellationRequest;
|
|
1089
|
+
readonly responseSerialize: (value: updateCbStandAloneCancellationResponse) => Buffer;
|
|
1090
|
+
readonly responseDeserialize: (value: Buffer) => updateCbStandAloneCancellationResponse;
|
|
1091
|
+
};
|
|
1072
1092
|
};
|
|
1073
1093
|
export interface customersServer extends UntypedServiceImplementation {
|
|
1074
1094
|
sendOtp: handleUnaryCall<sendOtpRequest, sendOtpRespone>;
|
|
@@ -1178,6 +1198,8 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
1178
1198
|
applyCliJourney: handleUnaryCall<applyCliJourneyRequest, applyCliJourneyResponse>;
|
|
1179
1199
|
restoreAccount: handleUnaryCall<restoreAccountRequest, restoreAccountResponse>;
|
|
1180
1200
|
getPocketPersonalAccidentProtectionPlan: handleUnaryCall<getPocketPersonalAccidentProtectionPlanRequest, getPocketPersonalAccidentProtectionPlanResponse>;
|
|
1201
|
+
updateCbStandAloneConfirmation: handleUnaryCall<updateCbStandAloneConfirmationRequest, updateCbStandAloneConfirmationResponse>;
|
|
1202
|
+
updateCbStandAloneCancellation: handleUnaryCall<updateCbStandAloneCancellationRequest, updateCbStandAloneCancellationResponse>;
|
|
1181
1203
|
}
|
|
1182
1204
|
export interface customersClient extends Client {
|
|
1183
1205
|
sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
|
|
@@ -1501,6 +1523,12 @@ export interface customersClient extends Client {
|
|
|
1501
1523
|
getPocketPersonalAccidentProtectionPlan(request: getPocketPersonalAccidentProtectionPlanRequest, callback: (error: ServiceError | null, response: getPocketPersonalAccidentProtectionPlanResponse) => void): ClientUnaryCall;
|
|
1502
1524
|
getPocketPersonalAccidentProtectionPlan(request: getPocketPersonalAccidentProtectionPlanRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getPocketPersonalAccidentProtectionPlanResponse) => void): ClientUnaryCall;
|
|
1503
1525
|
getPocketPersonalAccidentProtectionPlan(request: getPocketPersonalAccidentProtectionPlanRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getPocketPersonalAccidentProtectionPlanResponse) => void): ClientUnaryCall;
|
|
1526
|
+
updateCbStandAloneConfirmation(request: updateCbStandAloneConfirmationRequest, callback: (error: ServiceError | null, response: updateCbStandAloneConfirmationResponse) => void): ClientUnaryCall;
|
|
1527
|
+
updateCbStandAloneConfirmation(request: updateCbStandAloneConfirmationRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateCbStandAloneConfirmationResponse) => void): ClientUnaryCall;
|
|
1528
|
+
updateCbStandAloneConfirmation(request: updateCbStandAloneConfirmationRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateCbStandAloneConfirmationResponse) => void): ClientUnaryCall;
|
|
1529
|
+
updateCbStandAloneCancellation(request: updateCbStandAloneCancellationRequest, callback: (error: ServiceError | null, response: updateCbStandAloneCancellationResponse) => void): ClientUnaryCall;
|
|
1530
|
+
updateCbStandAloneCancellation(request: updateCbStandAloneCancellationRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateCbStandAloneCancellationResponse) => void): ClientUnaryCall;
|
|
1531
|
+
updateCbStandAloneCancellation(request: updateCbStandAloneCancellationRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateCbStandAloneCancellationResponse) => void): ClientUnaryCall;
|
|
1504
1532
|
}
|
|
1505
1533
|
export declare const customersClient: {
|
|
1506
1534
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
|
package/ts/customers.js
CHANGED
|
@@ -31,6 +31,8 @@ const insurancedetails_1 = require("./customers/cb/insurancedetails");
|
|
|
31
31
|
const lesscsimprove_1 = require("./customers/cb/lesscsimprove");
|
|
32
32
|
const morecsimprove_1 = require("./customers/cb/morecsimprove");
|
|
33
33
|
const savecreditbuilder_1 = require("./customers/cb/savecreditbuilder");
|
|
34
|
+
const updatecbstandalonecancellation_1 = require("./customers/cb/updatecbstandalonecancellation");
|
|
35
|
+
const updatecbstandaloneconfirmation_1 = require("./customers/cb/updatecbstandaloneconfirmation");
|
|
34
36
|
const updatecbstandalonejourney_1 = require("./customers/cb/updatecbstandalonejourney");
|
|
35
37
|
const updatecbtxnstatus_1 = require("./customers/cb/updatecbtxnstatus");
|
|
36
38
|
const changempin_1 = require("./customers/changempin");
|
|
@@ -1077,5 +1079,23 @@ exports.customersService = {
|
|
|
1077
1079
|
responseSerialize: (value) => Buffer.from(accidentprotectionplan_1.getPocketPersonalAccidentProtectionPlanResponse.encode(value).finish()),
|
|
1078
1080
|
responseDeserialize: (value) => accidentprotectionplan_1.getPocketPersonalAccidentProtectionPlanResponse.decode(value),
|
|
1079
1081
|
},
|
|
1082
|
+
updateCbStandAloneConfirmation: {
|
|
1083
|
+
path: "/service.customers/updateCbStandAloneConfirmation",
|
|
1084
|
+
requestStream: false,
|
|
1085
|
+
responseStream: false,
|
|
1086
|
+
requestSerialize: (value) => Buffer.from(updatecbstandaloneconfirmation_1.updateCbStandAloneConfirmationRequest.encode(value).finish()),
|
|
1087
|
+
requestDeserialize: (value) => updatecbstandaloneconfirmation_1.updateCbStandAloneConfirmationRequest.decode(value),
|
|
1088
|
+
responseSerialize: (value) => Buffer.from(updatecbstandaloneconfirmation_1.updateCbStandAloneConfirmationResponse.encode(value).finish()),
|
|
1089
|
+
responseDeserialize: (value) => updatecbstandaloneconfirmation_1.updateCbStandAloneConfirmationResponse.decode(value),
|
|
1090
|
+
},
|
|
1091
|
+
updateCbStandAloneCancellation: {
|
|
1092
|
+
path: "/service.customers/updateCbStandAloneCancellation",
|
|
1093
|
+
requestStream: false,
|
|
1094
|
+
responseStream: false,
|
|
1095
|
+
requestSerialize: (value) => Buffer.from(updatecbstandalonecancellation_1.updateCbStandAloneCancellationRequest.encode(value).finish()),
|
|
1096
|
+
requestDeserialize: (value) => updatecbstandalonecancellation_1.updateCbStandAloneCancellationRequest.decode(value),
|
|
1097
|
+
responseSerialize: (value) => Buffer.from(updatecbstandalonecancellation_1.updateCbStandAloneCancellationResponse.encode(value).finish()),
|
|
1098
|
+
responseDeserialize: (value) => updatecbstandalonecancellation_1.updateCbStandAloneCancellationResponse.decode(value),
|
|
1099
|
+
},
|
|
1080
1100
|
};
|
|
1081
1101
|
exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
|
|
@@ -7,6 +7,8 @@ export interface getForecloseAmountRequest {
|
|
|
7
7
|
export interface getForecloseAmountResponse {
|
|
8
8
|
foreclosed_amount: number;
|
|
9
9
|
loan_amount: number;
|
|
10
|
+
charges: number;
|
|
11
|
+
date: string;
|
|
10
12
|
loan_details: getForecloseAmountResponse_Field[];
|
|
11
13
|
}
|
|
12
14
|
export interface getForecloseAmountResponse_Field {
|
|
@@ -88,7 +88,7 @@ exports.getForecloseAmountRequest = {
|
|
|
88
88
|
},
|
|
89
89
|
};
|
|
90
90
|
function createBasegetForecloseAmountResponse() {
|
|
91
|
-
return { foreclosed_amount: 0, loan_amount: 0, loan_details: [] };
|
|
91
|
+
return { foreclosed_amount: 0, loan_amount: 0, charges: 0, date: "", loan_details: [] };
|
|
92
92
|
}
|
|
93
93
|
exports.getForecloseAmountResponse = {
|
|
94
94
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -98,8 +98,14 @@ exports.getForecloseAmountResponse = {
|
|
|
98
98
|
if (message.loan_amount !== 0) {
|
|
99
99
|
writer.uint32(16).int32(message.loan_amount);
|
|
100
100
|
}
|
|
101
|
+
if (message.charges !== 0) {
|
|
102
|
+
writer.uint32(24).int32(message.charges);
|
|
103
|
+
}
|
|
104
|
+
if (message.date !== "") {
|
|
105
|
+
writer.uint32(34).string(message.date);
|
|
106
|
+
}
|
|
101
107
|
for (const v of message.loan_details) {
|
|
102
|
-
exports.getForecloseAmountResponse_Field.encode(v, writer.uint32(
|
|
108
|
+
exports.getForecloseAmountResponse_Field.encode(v, writer.uint32(42).fork()).ldelim();
|
|
103
109
|
}
|
|
104
110
|
return writer;
|
|
105
111
|
},
|
|
@@ -122,8 +128,20 @@ exports.getForecloseAmountResponse = {
|
|
|
122
128
|
}
|
|
123
129
|
message.loan_amount = reader.int32();
|
|
124
130
|
continue;
|
|
125
|
-
case
|
|
126
|
-
if (tag !==
|
|
131
|
+
case 3:
|
|
132
|
+
if (tag !== 24) {
|
|
133
|
+
break;
|
|
134
|
+
}
|
|
135
|
+
message.charges = reader.int32();
|
|
136
|
+
continue;
|
|
137
|
+
case 4:
|
|
138
|
+
if (tag !== 34) {
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
message.date = reader.string();
|
|
142
|
+
continue;
|
|
143
|
+
case 5:
|
|
144
|
+
if (tag !== 42) {
|
|
127
145
|
break;
|
|
128
146
|
}
|
|
129
147
|
message.loan_details.push(exports.getForecloseAmountResponse_Field.decode(reader, reader.uint32()));
|
|
@@ -140,6 +158,8 @@ exports.getForecloseAmountResponse = {
|
|
|
140
158
|
return {
|
|
141
159
|
foreclosed_amount: isSet(object.foreclosed_amount) ? globalThis.Number(object.foreclosed_amount) : 0,
|
|
142
160
|
loan_amount: isSet(object.loan_amount) ? globalThis.Number(object.loan_amount) : 0,
|
|
161
|
+
charges: isSet(object.charges) ? globalThis.Number(object.charges) : 0,
|
|
162
|
+
date: isSet(object.date) ? globalThis.String(object.date) : "",
|
|
143
163
|
loan_details: globalThis.Array.isArray(object?.loan_details)
|
|
144
164
|
? object.loan_details.map((e) => exports.getForecloseAmountResponse_Field.fromJSON(e))
|
|
145
165
|
: [],
|
|
@@ -153,6 +173,12 @@ exports.getForecloseAmountResponse = {
|
|
|
153
173
|
if (message.loan_amount !== 0) {
|
|
154
174
|
obj.loan_amount = Math.round(message.loan_amount);
|
|
155
175
|
}
|
|
176
|
+
if (message.charges !== 0) {
|
|
177
|
+
obj.charges = Math.round(message.charges);
|
|
178
|
+
}
|
|
179
|
+
if (message.date !== "") {
|
|
180
|
+
obj.date = message.date;
|
|
181
|
+
}
|
|
156
182
|
if (message.loan_details?.length) {
|
|
157
183
|
obj.loan_details = message.loan_details.map((e) => exports.getForecloseAmountResponse_Field.toJSON(e));
|
|
158
184
|
}
|
|
@@ -165,6 +191,8 @@ exports.getForecloseAmountResponse = {
|
|
|
165
191
|
const message = createBasegetForecloseAmountResponse();
|
|
166
192
|
message.foreclosed_amount = object.foreclosed_amount ?? 0;
|
|
167
193
|
message.loan_amount = object.loan_amount ?? 0;
|
|
194
|
+
message.charges = object.charges ?? 0;
|
|
195
|
+
message.date = object.date ?? "";
|
|
168
196
|
message.loan_details = object.loan_details?.map((e) => exports.getForecloseAmountResponse_Field.fromPartial(e)) || [];
|
|
169
197
|
return message;
|
|
170
198
|
},
|