@stashfin/grpc 1.2.121 → 1.2.124
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/bureau/getbasicdetails.js +1 -1
- package/ts/bureau/getdemogs.d.ts +12 -0
- package/ts/bureau/getdemogs.js +67 -3
- package/ts/bureau/getreport.d.ts +29 -0
- package/ts/bureau/getreport.js +210 -2
- package/ts/bureau.js +1 -1
- package/ts/colender/disburseLoan.js +1 -1
- package/ts/colender/forecloseLoan.js +1 -1
- package/ts/colender/repayLoan.js +1 -1
- package/ts/colender.js +1 -1
- package/ts/customers/aa/getbanklist.js +1 -1
- package/ts/customers/aa/initiate.js +1 -1
- package/ts/customers/addaddress.js +1 -1
- package/ts/customers/addbankaccountdetails.js +1 -1
- package/ts/customers/addgstnumber.js +1 -1
- package/ts/customers/addsuspendedcustomer.js +1 -1
- package/ts/customers/adduserapps.js +1 -1
- package/ts/customers/changempin.js +1 -1
- package/ts/customers/createcustomerreference.js +1 -1
- package/ts/customers/deleteprofile.js +1 -1
- package/ts/customers/disablempin.js +1 -1
- package/ts/customers/fetchrcprofile.js +1 -1
- package/ts/customers/forgotmpin.js +1 -1
- package/ts/customers/forgotmpinotp.js +2 -2
- package/ts/customers/forgotmpinverify.js +1 -1
- package/ts/customers/getbankaccountdetails.js +1 -1
- package/ts/customers/getbasicinfo.js +1 -1
- package/ts/customers/getcities.js +1 -1
- package/ts/customers/getcustomerbyid.js +1 -1
- package/ts/customers/getdashboard.js +1 -1
- package/ts/customers/getdashboardmaincard.js +1 -1
- package/ts/customers/getdocuments.js +1 -1
- package/ts/customers/getkycweburl.js +2 -2
- package/ts/customers/getprofessionalinfo.js +1 -1
- package/ts/customers/getprofile.js +1 -1
- package/ts/customers/getstates.js +1 -1
- package/ts/customers/getstep.js +1 -1
- package/ts/customers/profilebasic.js +1 -1
- package/ts/customers/profileupdatetnc.js +1 -1
- package/ts/customers/resetmpin.js +2 -2
- package/ts/customers/savebasicdetails.js +1 -1
- package/ts/customers/saveunlocklimit.js +1 -1
- package/ts/customers/sendemailtoken.js +2 -2
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/sendotptoemail.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/step10.js +1 -1
- package/ts/customers/step7.js +1 -1
- package/ts/customers/step8.js +1 -1
- package/ts/customers/step9.js +1 -1
- package/ts/customers/stepstatic.js +1 -1
- package/ts/customers/updatedigilockertxn.js +2 -2
- package/ts/customers/updatedob.js +1 -1
- package/ts/customers/updatehypervergetxn.js +2 -2
- package/ts/customers/updatelocstatus.js +1 -1
- package/ts/customers/updatemobilesendotp.js +1 -1
- package/ts/customers/updatemobileverifyotp.js +1 -1
- package/ts/customers/updateokyctxn.js +1 -1
- package/ts/customers/validatepan.js +1 -1
- package/ts/customers/verifyemail.js +2 -2
- package/ts/customers/verifympin.js +1 -1
- package/ts/customers/verifyotp.js +1 -1
- package/ts/customers/verifyotptoemail.js +1 -1
- package/ts/customers.js +1 -1
- package/ts/example.js +1 -1
- package/ts/google/protobuf/timestamp.js +1 -1
- package/ts/loans/approveloan.js +1 -1
- package/ts/loans/banklist.js +1 -1
- package/ts/loans/calculateemi.js +1 -1
- package/ts/loans/creditlimit.js +1 -1
- package/ts/loans/getcustomerloanstatus.js +1 -1
- package/ts/loans/getpendingemiamount.js +1 -1
- package/ts/loans/getsummarystaticfields.js +1 -1
- package/ts/loans/loansummary.js +1 -1
- package/ts/loans/paymentallocation.js +1 -1
- package/ts/loans/paymenthistory.js +1 -1
- package/ts/loans/restructureloan.js +1 -1
- package/ts/loans/sendemail.js +1 -1
- package/ts/loans/sendnocemail.js +1 -1
- package/ts/loans/transactionlist.js +1 -1
- package/ts/loans/updateinstallments.js +1 -1
- package/ts/loans/updateloan.js +1 -1
- package/ts/loans.js +1 -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.d.ts +31 -214
- package/ts/payments.js +22 -1095
- package/ts/stashcash/creditsc.js +1 -1
- package/ts/stashcash/debitsc.js +1 -1
- package/ts/stashcash/getscbalance.js +1 -1
- package/ts/stashcash/getschistory.js +1 -1
- package/ts/stashcash/reversesc.js +1 -1
- package/ts/stashcash.js +1 -1
- package/ts/bureau/getbureau.d.ts +0 -157
- package/ts/bureau/getbureau.js +0 -1376
- package/ts/customers/getbanklist.d.ts +0 -48
- package/ts/customers/getbanklist.js +0 -198
- package/ts/customers/step1.d.ts +0 -71
- package/ts/customers/step1.js +0 -423
- package/ts/customers/step2.d.ts +0 -67
- package/ts/customers/step2.js +0 -366
- package/ts/customers/updatelocdisabled.d.ts +0 -35
- package/ts/customers/updatelocdisabled.js +0 -117
- package/ts/customers/updatemobile.d.ts +0 -35
- package/ts/customers/updatemobile.js +0 -117
- package/ts/loans/getstaticfields.d.ts +0 -86
- package/ts/loans/getstaticfields.js +0 -801
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: bureau/getbasicdetails.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/bureau/getdemogs.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export interface Demogs {
|
|
|
12
12
|
ids: Ids[];
|
|
13
13
|
address: Address[];
|
|
14
14
|
phone: Phone[];
|
|
15
|
+
emails: Emails[];
|
|
15
16
|
}
|
|
16
17
|
export interface Personal {
|
|
17
18
|
name: string;
|
|
@@ -32,6 +33,9 @@ export interface Address {
|
|
|
32
33
|
export interface Phone {
|
|
33
34
|
phone: string;
|
|
34
35
|
}
|
|
36
|
+
export interface Emails {
|
|
37
|
+
email: string;
|
|
38
|
+
}
|
|
35
39
|
export declare const demogsRequest: {
|
|
36
40
|
encode(message: demogsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
37
41
|
decode(input: _m0.Reader | Uint8Array, length?: number): demogsRequest;
|
|
@@ -88,6 +92,14 @@ export declare const Phone: {
|
|
|
88
92
|
create<I extends Exact<DeepPartial<Phone>, I>>(base?: I): Phone;
|
|
89
93
|
fromPartial<I extends Exact<DeepPartial<Phone>, I>>(object: I): Phone;
|
|
90
94
|
};
|
|
95
|
+
export declare const Emails: {
|
|
96
|
+
encode(message: Emails, writer?: _m0.Writer): _m0.Writer;
|
|
97
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Emails;
|
|
98
|
+
fromJSON(object: any): Emails;
|
|
99
|
+
toJSON(message: Emails): unknown;
|
|
100
|
+
create<I extends Exact<DeepPartial<Emails>, I>>(base?: I): Emails;
|
|
101
|
+
fromPartial<I extends Exact<DeepPartial<Emails>, I>>(object: I): Emails;
|
|
102
|
+
};
|
|
91
103
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
92
104
|
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 {} ? {
|
|
93
105
|
[K in keyof T]?: DeepPartial<T[K]>;
|
package/ts/bureau/getdemogs.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: bureau/getdemogs.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.Phone = exports.Address = exports.Ids = exports.Personal = exports.Demogs = exports.demogsResponse = exports.demogsRequest = exports.protobufPackage = void 0;
|
|
11
|
+
exports.Emails = exports.Phone = exports.Address = exports.Ids = exports.Personal = exports.Demogs = exports.demogsResponse = exports.demogsRequest = exports.protobufPackage = void 0;
|
|
12
12
|
/* eslint-disable */
|
|
13
13
|
const long_1 = __importDefault(require("long"));
|
|
14
14
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
@@ -130,7 +130,7 @@ exports.demogsResponse = {
|
|
|
130
130
|
},
|
|
131
131
|
};
|
|
132
132
|
function createBaseDemogs() {
|
|
133
|
-
return { personal: undefined, ids: [], address: [], phone: [] };
|
|
133
|
+
return { personal: undefined, ids: [], address: [], phone: [], emails: [] };
|
|
134
134
|
}
|
|
135
135
|
exports.Demogs = {
|
|
136
136
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -146,6 +146,9 @@ exports.Demogs = {
|
|
|
146
146
|
for (const v of message.phone) {
|
|
147
147
|
exports.Phone.encode(v, writer.uint32(34).fork()).ldelim();
|
|
148
148
|
}
|
|
149
|
+
for (const v of message.emails) {
|
|
150
|
+
exports.Emails.encode(v, writer.uint32(42).fork()).ldelim();
|
|
151
|
+
}
|
|
149
152
|
return writer;
|
|
150
153
|
},
|
|
151
154
|
decode(input, length) {
|
|
@@ -179,6 +182,12 @@ exports.Demogs = {
|
|
|
179
182
|
}
|
|
180
183
|
message.phone.push(exports.Phone.decode(reader, reader.uint32()));
|
|
181
184
|
continue;
|
|
185
|
+
case 5:
|
|
186
|
+
if (tag !== 42) {
|
|
187
|
+
break;
|
|
188
|
+
}
|
|
189
|
+
message.emails.push(exports.Emails.decode(reader, reader.uint32()));
|
|
190
|
+
continue;
|
|
182
191
|
}
|
|
183
192
|
if ((tag & 7) === 4 || tag === 0) {
|
|
184
193
|
break;
|
|
@@ -193,6 +202,7 @@ exports.Demogs = {
|
|
|
193
202
|
ids: globalThis.Array.isArray(object?.ids) ? object.ids.map((e) => exports.Ids.fromJSON(e)) : [],
|
|
194
203
|
address: globalThis.Array.isArray(object?.address) ? object.address.map((e) => exports.Address.fromJSON(e)) : [],
|
|
195
204
|
phone: globalThis.Array.isArray(object?.phone) ? object.phone.map((e) => exports.Phone.fromJSON(e)) : [],
|
|
205
|
+
emails: globalThis.Array.isArray(object?.emails) ? object.emails.map((e) => exports.Emails.fromJSON(e)) : [],
|
|
196
206
|
};
|
|
197
207
|
},
|
|
198
208
|
toJSON(message) {
|
|
@@ -209,6 +219,9 @@ exports.Demogs = {
|
|
|
209
219
|
if (message.phone?.length) {
|
|
210
220
|
obj.phone = message.phone.map((e) => exports.Phone.toJSON(e));
|
|
211
221
|
}
|
|
222
|
+
if (message.emails?.length) {
|
|
223
|
+
obj.emails = message.emails.map((e) => exports.Emails.toJSON(e));
|
|
224
|
+
}
|
|
212
225
|
return obj;
|
|
213
226
|
},
|
|
214
227
|
create(base) {
|
|
@@ -222,6 +235,7 @@ exports.Demogs = {
|
|
|
222
235
|
message.ids = object.ids?.map((e) => exports.Ids.fromPartial(e)) || [];
|
|
223
236
|
message.address = object.address?.map((e) => exports.Address.fromPartial(e)) || [];
|
|
224
237
|
message.phone = object.phone?.map((e) => exports.Phone.fromPartial(e)) || [];
|
|
238
|
+
message.emails = object.emails?.map((e) => exports.Emails.fromPartial(e)) || [];
|
|
225
239
|
return message;
|
|
226
240
|
},
|
|
227
241
|
};
|
|
@@ -529,6 +543,56 @@ exports.Phone = {
|
|
|
529
543
|
return message;
|
|
530
544
|
},
|
|
531
545
|
};
|
|
546
|
+
function createBaseEmails() {
|
|
547
|
+
return { email: "" };
|
|
548
|
+
}
|
|
549
|
+
exports.Emails = {
|
|
550
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
551
|
+
if (message.email !== "") {
|
|
552
|
+
writer.uint32(10).string(message.email);
|
|
553
|
+
}
|
|
554
|
+
return writer;
|
|
555
|
+
},
|
|
556
|
+
decode(input, length) {
|
|
557
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
558
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
559
|
+
const message = createBaseEmails();
|
|
560
|
+
while (reader.pos < end) {
|
|
561
|
+
const tag = reader.uint32();
|
|
562
|
+
switch (tag >>> 3) {
|
|
563
|
+
case 1:
|
|
564
|
+
if (tag !== 10) {
|
|
565
|
+
break;
|
|
566
|
+
}
|
|
567
|
+
message.email = reader.string();
|
|
568
|
+
continue;
|
|
569
|
+
}
|
|
570
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
571
|
+
break;
|
|
572
|
+
}
|
|
573
|
+
reader.skipType(tag & 7);
|
|
574
|
+
}
|
|
575
|
+
return message;
|
|
576
|
+
},
|
|
577
|
+
fromJSON(object) {
|
|
578
|
+
return { email: isSet(object.email) ? globalThis.String(object.email) : "" };
|
|
579
|
+
},
|
|
580
|
+
toJSON(message) {
|
|
581
|
+
const obj = {};
|
|
582
|
+
if (message.email !== "") {
|
|
583
|
+
obj.email = message.email;
|
|
584
|
+
}
|
|
585
|
+
return obj;
|
|
586
|
+
},
|
|
587
|
+
create(base) {
|
|
588
|
+
return exports.Emails.fromPartial(base ?? {});
|
|
589
|
+
},
|
|
590
|
+
fromPartial(object) {
|
|
591
|
+
const message = createBaseEmails();
|
|
592
|
+
message.email = object.email ?? "";
|
|
593
|
+
return message;
|
|
594
|
+
},
|
|
595
|
+
};
|
|
532
596
|
function longToNumber(long) {
|
|
533
597
|
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
534
598
|
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
package/ts/bureau/getreport.d.ts
CHANGED
|
@@ -20,6 +20,8 @@ export interface Report {
|
|
|
20
20
|
enquiries: Enquiries | undefined;
|
|
21
21
|
dpd_char: dpdChar | undefined;
|
|
22
22
|
report_path?: string | undefined;
|
|
23
|
+
dpd_counts?: DPDCounts | undefined;
|
|
24
|
+
enquiries_data: EnquiriesData[];
|
|
23
25
|
}
|
|
24
26
|
export interface TradeLine {
|
|
25
27
|
id: number;
|
|
@@ -86,6 +88,17 @@ export interface dpdChar {
|
|
|
86
88
|
month21: boolean;
|
|
87
89
|
month24: boolean;
|
|
88
90
|
}
|
|
91
|
+
export interface DPDCounts {
|
|
92
|
+
dpd1to30: number;
|
|
93
|
+
dpd36month: number;
|
|
94
|
+
dpd90_plus: number;
|
|
95
|
+
dpd31to90: number;
|
|
96
|
+
}
|
|
97
|
+
export interface EnquiriesData {
|
|
98
|
+
date_reported: string;
|
|
99
|
+
enquiry_purpose: number;
|
|
100
|
+
reporting_member: string;
|
|
101
|
+
}
|
|
89
102
|
export declare const bureauRequest: {
|
|
90
103
|
encode(message: bureauRequest, writer?: _m0.Writer): _m0.Writer;
|
|
91
104
|
decode(input: _m0.Reader | Uint8Array, length?: number): bureauRequest;
|
|
@@ -142,6 +155,22 @@ export declare const dpdChar: {
|
|
|
142
155
|
create<I extends Exact<DeepPartial<dpdChar>, I>>(base?: I): dpdChar;
|
|
143
156
|
fromPartial<I extends Exact<DeepPartial<dpdChar>, I>>(object: I): dpdChar;
|
|
144
157
|
};
|
|
158
|
+
export declare const DPDCounts: {
|
|
159
|
+
encode(message: DPDCounts, writer?: _m0.Writer): _m0.Writer;
|
|
160
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DPDCounts;
|
|
161
|
+
fromJSON(object: any): DPDCounts;
|
|
162
|
+
toJSON(message: DPDCounts): unknown;
|
|
163
|
+
create<I extends Exact<DeepPartial<DPDCounts>, I>>(base?: I): DPDCounts;
|
|
164
|
+
fromPartial<I extends Exact<DeepPartial<DPDCounts>, I>>(object: I): DPDCounts;
|
|
165
|
+
};
|
|
166
|
+
export declare const EnquiriesData: {
|
|
167
|
+
encode(message: EnquiriesData, writer?: _m0.Writer): _m0.Writer;
|
|
168
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): EnquiriesData;
|
|
169
|
+
fromJSON(object: any): EnquiriesData;
|
|
170
|
+
toJSON(message: EnquiriesData): unknown;
|
|
171
|
+
create<I extends Exact<DeepPartial<EnquiriesData>, I>>(base?: I): EnquiriesData;
|
|
172
|
+
fromPartial<I extends Exact<DeepPartial<EnquiriesData>, I>>(object: I): EnquiriesData;
|
|
173
|
+
};
|
|
145
174
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
146
175
|
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 {} ? {
|
|
147
176
|
[K in keyof T]?: DeepPartial<T[K]>;
|
package/ts/bureau/getreport.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: bureau/getreport.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.dpdChar = exports.Enquiries = exports.DPD = exports.TradeLine = exports.Report = exports.bureauResponse = exports.bureauRequest = exports.protobufPackage = void 0;
|
|
11
|
+
exports.EnquiriesData = exports.DPDCounts = exports.dpdChar = exports.Enquiries = exports.DPD = exports.TradeLine = exports.Report = exports.bureauResponse = exports.bureauRequest = exports.protobufPackage = void 0;
|
|
12
12
|
/* eslint-disable */
|
|
13
13
|
const long_1 = __importDefault(require("long"));
|
|
14
14
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
@@ -197,6 +197,8 @@ function createBaseReport() {
|
|
|
197
197
|
enquiries: undefined,
|
|
198
198
|
dpd_char: undefined,
|
|
199
199
|
report_path: undefined,
|
|
200
|
+
dpd_counts: undefined,
|
|
201
|
+
enquiries_data: [],
|
|
200
202
|
};
|
|
201
203
|
}
|
|
202
204
|
exports.Report = {
|
|
@@ -225,6 +227,12 @@ exports.Report = {
|
|
|
225
227
|
if (message.report_path !== undefined) {
|
|
226
228
|
writer.uint32(66).string(message.report_path);
|
|
227
229
|
}
|
|
230
|
+
if (message.dpd_counts !== undefined) {
|
|
231
|
+
exports.DPDCounts.encode(message.dpd_counts, writer.uint32(74).fork()).ldelim();
|
|
232
|
+
}
|
|
233
|
+
for (const v of message.enquiries_data) {
|
|
234
|
+
exports.EnquiriesData.encode(v, writer.uint32(82).fork()).ldelim();
|
|
235
|
+
}
|
|
228
236
|
return writer;
|
|
229
237
|
},
|
|
230
238
|
decode(input, length) {
|
|
@@ -282,6 +290,18 @@ exports.Report = {
|
|
|
282
290
|
}
|
|
283
291
|
message.report_path = reader.string();
|
|
284
292
|
continue;
|
|
293
|
+
case 9:
|
|
294
|
+
if (tag !== 74) {
|
|
295
|
+
break;
|
|
296
|
+
}
|
|
297
|
+
message.dpd_counts = exports.DPDCounts.decode(reader, reader.uint32());
|
|
298
|
+
continue;
|
|
299
|
+
case 10:
|
|
300
|
+
if (tag !== 82) {
|
|
301
|
+
break;
|
|
302
|
+
}
|
|
303
|
+
message.enquiries_data.push(exports.EnquiriesData.decode(reader, reader.uint32()));
|
|
304
|
+
continue;
|
|
285
305
|
}
|
|
286
306
|
if ((tag & 7) === 4 || tag === 0) {
|
|
287
307
|
break;
|
|
@@ -302,6 +322,10 @@ exports.Report = {
|
|
|
302
322
|
enquiries: isSet(object.enquiries) ? exports.Enquiries.fromJSON(object.enquiries) : undefined,
|
|
303
323
|
dpd_char: isSet(object.dpd_char) ? exports.dpdChar.fromJSON(object.dpd_char) : undefined,
|
|
304
324
|
report_path: isSet(object.report_path) ? globalThis.String(object.report_path) : undefined,
|
|
325
|
+
dpd_counts: isSet(object.dpd_counts) ? exports.DPDCounts.fromJSON(object.dpd_counts) : undefined,
|
|
326
|
+
enquiries_data: globalThis.Array.isArray(object?.enquiries_data)
|
|
327
|
+
? object.enquiries_data.map((e) => exports.EnquiriesData.fromJSON(e))
|
|
328
|
+
: [],
|
|
305
329
|
};
|
|
306
330
|
},
|
|
307
331
|
toJSON(message) {
|
|
@@ -330,6 +354,12 @@ exports.Report = {
|
|
|
330
354
|
if (message.report_path !== undefined) {
|
|
331
355
|
obj.report_path = message.report_path;
|
|
332
356
|
}
|
|
357
|
+
if (message.dpd_counts !== undefined) {
|
|
358
|
+
obj.dpd_counts = exports.DPDCounts.toJSON(message.dpd_counts);
|
|
359
|
+
}
|
|
360
|
+
if (message.enquiries_data?.length) {
|
|
361
|
+
obj.enquiries_data = message.enquiries_data.map((e) => exports.EnquiriesData.toJSON(e));
|
|
362
|
+
}
|
|
333
363
|
return obj;
|
|
334
364
|
},
|
|
335
365
|
create(base) {
|
|
@@ -349,6 +379,10 @@ exports.Report = {
|
|
|
349
379
|
? exports.dpdChar.fromPartial(object.dpd_char)
|
|
350
380
|
: undefined;
|
|
351
381
|
message.report_path = object.report_path ?? undefined;
|
|
382
|
+
message.dpd_counts = (object.dpd_counts !== undefined && object.dpd_counts !== null)
|
|
383
|
+
? exports.DPDCounts.fromPartial(object.dpd_counts)
|
|
384
|
+
: undefined;
|
|
385
|
+
message.enquiries_data = object.enquiries_data?.map((e) => exports.EnquiriesData.fromPartial(e)) || [];
|
|
352
386
|
return message;
|
|
353
387
|
},
|
|
354
388
|
};
|
|
@@ -1355,6 +1389,180 @@ exports.dpdChar = {
|
|
|
1355
1389
|
return message;
|
|
1356
1390
|
},
|
|
1357
1391
|
};
|
|
1392
|
+
function createBaseDPDCounts() {
|
|
1393
|
+
return { dpd1to30: 0, dpd36month: 0, dpd90_plus: 0, dpd31to90: 0 };
|
|
1394
|
+
}
|
|
1395
|
+
exports.DPDCounts = {
|
|
1396
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1397
|
+
if (message.dpd1to30 !== 0) {
|
|
1398
|
+
writer.uint32(8).int32(message.dpd1to30);
|
|
1399
|
+
}
|
|
1400
|
+
if (message.dpd36month !== 0) {
|
|
1401
|
+
writer.uint32(16).int32(message.dpd36month);
|
|
1402
|
+
}
|
|
1403
|
+
if (message.dpd90_plus !== 0) {
|
|
1404
|
+
writer.uint32(24).int32(message.dpd90_plus);
|
|
1405
|
+
}
|
|
1406
|
+
if (message.dpd31to90 !== 0) {
|
|
1407
|
+
writer.uint32(32).int32(message.dpd31to90);
|
|
1408
|
+
}
|
|
1409
|
+
return writer;
|
|
1410
|
+
},
|
|
1411
|
+
decode(input, length) {
|
|
1412
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1413
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1414
|
+
const message = createBaseDPDCounts();
|
|
1415
|
+
while (reader.pos < end) {
|
|
1416
|
+
const tag = reader.uint32();
|
|
1417
|
+
switch (tag >>> 3) {
|
|
1418
|
+
case 1:
|
|
1419
|
+
if (tag !== 8) {
|
|
1420
|
+
break;
|
|
1421
|
+
}
|
|
1422
|
+
message.dpd1to30 = reader.int32();
|
|
1423
|
+
continue;
|
|
1424
|
+
case 2:
|
|
1425
|
+
if (tag !== 16) {
|
|
1426
|
+
break;
|
|
1427
|
+
}
|
|
1428
|
+
message.dpd36month = reader.int32();
|
|
1429
|
+
continue;
|
|
1430
|
+
case 3:
|
|
1431
|
+
if (tag !== 24) {
|
|
1432
|
+
break;
|
|
1433
|
+
}
|
|
1434
|
+
message.dpd90_plus = reader.int32();
|
|
1435
|
+
continue;
|
|
1436
|
+
case 4:
|
|
1437
|
+
if (tag !== 32) {
|
|
1438
|
+
break;
|
|
1439
|
+
}
|
|
1440
|
+
message.dpd31to90 = reader.int32();
|
|
1441
|
+
continue;
|
|
1442
|
+
}
|
|
1443
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1444
|
+
break;
|
|
1445
|
+
}
|
|
1446
|
+
reader.skipType(tag & 7);
|
|
1447
|
+
}
|
|
1448
|
+
return message;
|
|
1449
|
+
},
|
|
1450
|
+
fromJSON(object) {
|
|
1451
|
+
return {
|
|
1452
|
+
dpd1to30: isSet(object.dpd1to30) ? globalThis.Number(object.dpd1to30) : 0,
|
|
1453
|
+
dpd36month: isSet(object.dpd36month) ? globalThis.Number(object.dpd36month) : 0,
|
|
1454
|
+
dpd90_plus: isSet(object.dpd90_plus) ? globalThis.Number(object.dpd90_plus) : 0,
|
|
1455
|
+
dpd31to90: isSet(object.dpd31to90) ? globalThis.Number(object.dpd31to90) : 0,
|
|
1456
|
+
};
|
|
1457
|
+
},
|
|
1458
|
+
toJSON(message) {
|
|
1459
|
+
const obj = {};
|
|
1460
|
+
if (message.dpd1to30 !== 0) {
|
|
1461
|
+
obj.dpd1to30 = Math.round(message.dpd1to30);
|
|
1462
|
+
}
|
|
1463
|
+
if (message.dpd36month !== 0) {
|
|
1464
|
+
obj.dpd36month = Math.round(message.dpd36month);
|
|
1465
|
+
}
|
|
1466
|
+
if (message.dpd90_plus !== 0) {
|
|
1467
|
+
obj.dpd90_plus = Math.round(message.dpd90_plus);
|
|
1468
|
+
}
|
|
1469
|
+
if (message.dpd31to90 !== 0) {
|
|
1470
|
+
obj.dpd31to90 = Math.round(message.dpd31to90);
|
|
1471
|
+
}
|
|
1472
|
+
return obj;
|
|
1473
|
+
},
|
|
1474
|
+
create(base) {
|
|
1475
|
+
return exports.DPDCounts.fromPartial(base ?? {});
|
|
1476
|
+
},
|
|
1477
|
+
fromPartial(object) {
|
|
1478
|
+
const message = createBaseDPDCounts();
|
|
1479
|
+
message.dpd1to30 = object.dpd1to30 ?? 0;
|
|
1480
|
+
message.dpd36month = object.dpd36month ?? 0;
|
|
1481
|
+
message.dpd90_plus = object.dpd90_plus ?? 0;
|
|
1482
|
+
message.dpd31to90 = object.dpd31to90 ?? 0;
|
|
1483
|
+
return message;
|
|
1484
|
+
},
|
|
1485
|
+
};
|
|
1486
|
+
function createBaseEnquiriesData() {
|
|
1487
|
+
return { date_reported: "", enquiry_purpose: 0, reporting_member: "" };
|
|
1488
|
+
}
|
|
1489
|
+
exports.EnquiriesData = {
|
|
1490
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1491
|
+
if (message.date_reported !== "") {
|
|
1492
|
+
writer.uint32(10).string(message.date_reported);
|
|
1493
|
+
}
|
|
1494
|
+
if (message.enquiry_purpose !== 0) {
|
|
1495
|
+
writer.uint32(16).int32(message.enquiry_purpose);
|
|
1496
|
+
}
|
|
1497
|
+
if (message.reporting_member !== "") {
|
|
1498
|
+
writer.uint32(26).string(message.reporting_member);
|
|
1499
|
+
}
|
|
1500
|
+
return writer;
|
|
1501
|
+
},
|
|
1502
|
+
decode(input, length) {
|
|
1503
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1504
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1505
|
+
const message = createBaseEnquiriesData();
|
|
1506
|
+
while (reader.pos < end) {
|
|
1507
|
+
const tag = reader.uint32();
|
|
1508
|
+
switch (tag >>> 3) {
|
|
1509
|
+
case 1:
|
|
1510
|
+
if (tag !== 10) {
|
|
1511
|
+
break;
|
|
1512
|
+
}
|
|
1513
|
+
message.date_reported = reader.string();
|
|
1514
|
+
continue;
|
|
1515
|
+
case 2:
|
|
1516
|
+
if (tag !== 16) {
|
|
1517
|
+
break;
|
|
1518
|
+
}
|
|
1519
|
+
message.enquiry_purpose = reader.int32();
|
|
1520
|
+
continue;
|
|
1521
|
+
case 3:
|
|
1522
|
+
if (tag !== 26) {
|
|
1523
|
+
break;
|
|
1524
|
+
}
|
|
1525
|
+
message.reporting_member = reader.string();
|
|
1526
|
+
continue;
|
|
1527
|
+
}
|
|
1528
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1529
|
+
break;
|
|
1530
|
+
}
|
|
1531
|
+
reader.skipType(tag & 7);
|
|
1532
|
+
}
|
|
1533
|
+
return message;
|
|
1534
|
+
},
|
|
1535
|
+
fromJSON(object) {
|
|
1536
|
+
return {
|
|
1537
|
+
date_reported: isSet(object.date_reported) ? globalThis.String(object.date_reported) : "",
|
|
1538
|
+
enquiry_purpose: isSet(object.enquiry_purpose) ? globalThis.Number(object.enquiry_purpose) : 0,
|
|
1539
|
+
reporting_member: isSet(object.reporting_member) ? globalThis.String(object.reporting_member) : "",
|
|
1540
|
+
};
|
|
1541
|
+
},
|
|
1542
|
+
toJSON(message) {
|
|
1543
|
+
const obj = {};
|
|
1544
|
+
if (message.date_reported !== "") {
|
|
1545
|
+
obj.date_reported = message.date_reported;
|
|
1546
|
+
}
|
|
1547
|
+
if (message.enquiry_purpose !== 0) {
|
|
1548
|
+
obj.enquiry_purpose = Math.round(message.enquiry_purpose);
|
|
1549
|
+
}
|
|
1550
|
+
if (message.reporting_member !== "") {
|
|
1551
|
+
obj.reporting_member = message.reporting_member;
|
|
1552
|
+
}
|
|
1553
|
+
return obj;
|
|
1554
|
+
},
|
|
1555
|
+
create(base) {
|
|
1556
|
+
return exports.EnquiriesData.fromPartial(base ?? {});
|
|
1557
|
+
},
|
|
1558
|
+
fromPartial(object) {
|
|
1559
|
+
const message = createBaseEnquiriesData();
|
|
1560
|
+
message.date_reported = object.date_reported ?? "";
|
|
1561
|
+
message.enquiry_purpose = object.enquiry_purpose ?? 0;
|
|
1562
|
+
message.reporting_member = object.reporting_member ?? "";
|
|
1563
|
+
return message;
|
|
1564
|
+
},
|
|
1565
|
+
};
|
|
1358
1566
|
function longToNumber(long) {
|
|
1359
1567
|
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
1360
1568
|
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
package/ts/bureau.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: colender/disburseLoan.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: colender/forecloseLoan.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/colender/repayLoan.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: colender/repayLoan.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/colender.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: colender.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: customers/aa/getbanklist.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: customers/aa/initiate.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: customers/addaddress.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: customers/addbankaccountdetails.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: customers/addgstnumber.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: customers/addsuspendedcustomer.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: customers/adduserapps.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: customers/changempin.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: customers/createcustomerreference.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: customers/deleteprofile.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: customers/disablempin.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|