@stashfin/grpc 1.2.150 → 1.2.151
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.d.ts +57 -0
- package/ts/bureau/getbasicdetails.js +341 -0
- package/ts/bureau/getdemogs.d.ts +113 -0
- package/ts/bureau/getdemogs.js +611 -0
- package/ts/bureau/getreport.d.ts +188 -0
- package/ts/bureau/getreport.js +1640 -0
- package/ts/bureau.d.ts +56 -0
- package/ts/bureau.js +44 -0
- package/ts/colender/disburseLoan.d.ts +44 -0
- package/ts/colender/disburseLoan.js +256 -0
- package/ts/colender/forecloseLoan.d.ts +41 -0
- package/ts/colender/forecloseLoan.js +205 -0
- package/ts/colender/repayLoan.d.ts +48 -0
- package/ts/colender/repayLoan.js +313 -0
- package/ts/colender.d.ts +56 -0
- package/ts/colender.js +44 -0
- package/ts/customers/aa/getbanklist.d.ts +48 -0
- package/ts/customers/aa/getbanklist.js +198 -0
- package/ts/customers/aa/initiate.d.ts +40 -0
- package/ts/customers/aa/initiate.js +209 -0
- package/ts/customers/addaddress.d.ts +50 -0
- package/ts/customers/addaddress.js +265 -0
- package/ts/customers/addbankaccountdetails.d.ts +37 -0
- package/ts/customers/addbankaccountdetails.js +147 -0
- package/ts/customers/addgstnumber.d.ts +35 -0
- package/ts/customers/addgstnumber.js +117 -0
- package/ts/customers/addmoredetails.d.ts +60 -0
- package/ts/customers/addmoredetails.js +314 -0
- package/ts/customers/addsuspendedcustomer.d.ts +36 -0
- package/ts/customers/addsuspendedcustomer.js +133 -0
- package/ts/customers/adduserapps.d.ts +74 -0
- package/ts/customers/adduserapps.js +210 -0
- package/ts/customers/changempin.d.ts +36 -0
- package/ts/customers/changempin.js +133 -0
- package/ts/customers/createcustomerreference.d.ts +43 -0
- package/ts/customers/createcustomerreference.js +226 -0
- package/ts/customers/deleteprofile.d.ts +35 -0
- package/ts/customers/deleteprofile.js +120 -0
- package/ts/customers/disablempin.d.ts +34 -0
- package/ts/customers/disablempin.js +104 -0
- package/ts/customers/fetchrcprofile.d.ts +45 -0
- package/ts/customers/fetchrcprofile.js +271 -0
- package/ts/customers/forgotmpin.d.ts +35 -0
- package/ts/customers/forgotmpin.js +117 -0
- package/ts/customers/forgotmpinverify.d.ts +36 -0
- package/ts/customers/forgotmpinverify.js +133 -0
- package/ts/customers/getbankaccountdetails.d.ts +36 -0
- package/ts/customers/getbankaccountdetails.js +134 -0
- package/ts/customers/getbasicinfo.d.ts +56 -0
- package/ts/customers/getbasicinfo.js +323 -0
- package/ts/customers/getcities.d.ts +47 -0
- package/ts/customers/getcities.js +183 -0
- package/ts/customers/getcustomerbyid.d.ts +140 -0
- package/ts/customers/getcustomerbyid.js +1478 -0
- package/ts/customers/getdashboard.d.ts +88 -0
- package/ts/customers/getdashboard.js +574 -0
- package/ts/customers/getdashboardmaincard.d.ts +70 -0
- package/ts/customers/getdashboardmaincard.js +534 -0
- package/ts/customers/getdocuments.d.ts +36 -0
- package/ts/customers/getdocuments.js +134 -0
- package/ts/customers/getlimit.d.ts +37 -0
- package/ts/customers/getlimit.js +148 -0
- package/ts/customers/getprofessionalinfo.d.ts +54 -0
- package/ts/customers/getprofessionalinfo.js +286 -0
- package/ts/customers/getprofile.d.ts +54 -0
- package/ts/customers/getprofile.js +296 -0
- package/ts/customers/getselfieetxnid.d.ts +34 -0
- package/ts/customers/getselfieetxnid.js +104 -0
- package/ts/customers/getstates.d.ts +46 -0
- package/ts/customers/getstates.js +170 -0
- package/ts/customers/getstep.d.ts +69 -0
- package/ts/customers/getstep.js +406 -0
- package/ts/customers/profilebasic.d.ts +38 -0
- package/ts/customers/profilebasic.js +161 -0
- package/ts/customers/profileupdatetnc.d.ts +35 -0
- package/ts/customers/profileupdatetnc.js +117 -0
- package/ts/customers/savebasicdetails.d.ts +47 -0
- package/ts/customers/savebasicdetails.js +185 -0
- package/ts/customers/saveunlocklimit.d.ts +34 -0
- package/ts/customers/saveunlocklimit.js +104 -0
- package/ts/customers/sendotp.d.ts +38 -0
- package/ts/customers/sendotp.js +165 -0
- package/ts/customers/sendotptoemail.d.ts +35 -0
- package/ts/customers/sendotptoemail.js +117 -0
- package/ts/customers/setmpin.d.ts +36 -0
- package/ts/customers/setmpin.js +133 -0
- package/ts/customers/stepstatic.d.ts +66 -0
- package/ts/customers/stepstatic.js +354 -0
- package/ts/customers/updatedlnumber.d.ts +35 -0
- package/ts/customers/updatedlnumber.js +119 -0
- package/ts/customers/updatedob.d.ts +35 -0
- package/ts/customers/updatedob.js +117 -0
- package/ts/customers/updatelocstatus.d.ts +36 -0
- package/ts/customers/updatelocstatus.js +133 -0
- package/ts/customers/updatemobilesendotp.d.ts +35 -0
- package/ts/customers/updatemobilesendotp.js +117 -0
- package/ts/customers/updatemobileverifyotp.d.ts +36 -0
- package/ts/customers/updatemobileverifyotp.js +133 -0
- package/ts/customers/updateokyctxn.d.ts +37 -0
- package/ts/customers/updateokyctxn.js +147 -0
- package/ts/customers/updateselfieetxn.d.ts +36 -0
- package/ts/customers/updateselfieetxn.js +133 -0
- package/ts/customers/updatevehiclenumber.d.ts +35 -0
- package/ts/customers/updatevehiclenumber.js +117 -0
- package/ts/customers/validatepan.d.ts +45 -0
- package/ts/customers/validatepan.js +274 -0
- package/ts/customers/verifympin.d.ts +37 -0
- package/ts/customers/verifympin.js +149 -0
- package/ts/customers/verifyotp.d.ts +41 -0
- package/ts/customers/verifyotp.js +205 -0
- package/ts/customers/verifyotptoemail.d.ts +35 -0
- package/ts/customers/verifyotptoemail.js +117 -0
- package/ts/customers.d.ts +698 -0
- package/ts/customers.js +502 -0
- package/ts/example.d.ts +78 -0
- package/ts/example.js +199 -0
- package/ts/loans/approveloan.d.ts +68 -0
- package/ts/loans/approveloan.js +621 -0
- package/ts/loans/banklist.d.ts +37 -0
- package/ts/loans/banklist.js +148 -0
- package/ts/loans/calculateemi.d.ts +57 -0
- package/ts/loans/calculateemi.js +340 -0
- package/ts/loans/creditlimit.d.ts +51 -0
- package/ts/loans/creditlimit.js +381 -0
- package/ts/loans/futurepaymentmoredetails.d.ts +50 -0
- package/ts/loans/futurepaymentmoredetails.js +230 -0
- package/ts/loans/getbilldetails.d.ts +38 -0
- package/ts/loans/getbilldetails.js +161 -0
- package/ts/loans/getcustomerloanstatus.d.ts +34 -0
- package/ts/loans/getcustomerloanstatus.js +104 -0
- package/ts/loans/getloanbyid.d.ts +48 -0
- package/ts/loans/getloanbyid.js +318 -0
- package/ts/loans/getpendingemiamount.d.ts +34 -0
- package/ts/loans/getpendingemiamount.js +104 -0
- package/ts/loans/getsummarystaticfields.d.ts +80 -0
- package/ts/loans/getsummarystaticfields.js +700 -0
- package/ts/loans/loansummary.d.ts +66 -0
- package/ts/loans/loansummary.js +593 -0
- package/ts/loans/paymentallocation.d.ts +37 -0
- package/ts/loans/paymentallocation.js +147 -0
- package/ts/loans/paymenthistory.d.ts +47 -0
- package/ts/loans/paymenthistory.js +188 -0
- package/ts/loans/restructureloan.d.ts +36 -0
- package/ts/loans/restructureloan.js +133 -0
- package/ts/loans/sendemail.d.ts +35 -0
- package/ts/loans/sendemail.js +117 -0
- package/ts/loans/sendnocemail.d.ts +35 -0
- package/ts/loans/sendnocemail.js +117 -0
- package/ts/loans/transactionlist.d.ts +52 -0
- package/ts/loans/transactionlist.js +257 -0
- package/ts/loans/updateinstallments.d.ts +42 -0
- package/ts/loans/updateinstallments.js +226 -0
- package/ts/loans/updateloan.d.ts +39 -0
- package/ts/loans/updateloan.js +175 -0
- package/ts/loans.d.ts +280 -0
- package/ts/loans.js +204 -0
- package/ts/payments.d.ts +239 -0
- package/ts/payments.js +1117 -0
- package/ts/stashcash/creditsc.d.ts +54 -0
- package/ts/stashcash/creditsc.js +301 -0
- package/ts/stashcash/debitsc.d.ts +59 -0
- package/ts/stashcash/debitsc.js +380 -0
- package/ts/stashcash/getscbalance.d.ts +53 -0
- package/ts/stashcash/getscbalance.js +293 -0
- package/ts/stashcash/getschistory.d.ts +73 -0
- package/ts/stashcash/getschistory.js +479 -0
- package/ts/stashcash/reversesc.d.ts +52 -0
- package/ts/stashcash/reversesc.js +273 -0
- package/ts/stashcash.d.ts +84 -0
- package/ts/stashcash.js +64 -0
|
@@ -0,0 +1,1640 @@
|
|
|
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: bureau/getreport.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.EnquiriesData = exports.DPDCounts = exports.dpdChar = exports.Enquiries = exports.DPD = exports.TradeLine = exports.Report = exports.bureauResponse = exports.bureauRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const long_1 = __importDefault(require("long"));
|
|
14
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
15
|
+
exports.protobufPackage = "bureau.getreport";
|
|
16
|
+
function createBasebureauRequest() {
|
|
17
|
+
return { customer_id: 0, range: 0, bureau_type: 0, source: "", pull_type: 0 };
|
|
18
|
+
}
|
|
19
|
+
exports.bureauRequest = {
|
|
20
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
|
+
if (message.customer_id !== 0) {
|
|
22
|
+
writer.uint32(8).int64(message.customer_id);
|
|
23
|
+
}
|
|
24
|
+
if (message.range !== 0) {
|
|
25
|
+
writer.uint32(16).int32(message.range);
|
|
26
|
+
}
|
|
27
|
+
if (message.bureau_type !== 0) {
|
|
28
|
+
writer.uint32(24).int32(message.bureau_type);
|
|
29
|
+
}
|
|
30
|
+
if (message.source !== "") {
|
|
31
|
+
writer.uint32(34).string(message.source);
|
|
32
|
+
}
|
|
33
|
+
if (message.pull_type !== 0) {
|
|
34
|
+
writer.uint32(40).int32(message.pull_type);
|
|
35
|
+
}
|
|
36
|
+
return writer;
|
|
37
|
+
},
|
|
38
|
+
decode(input, length) {
|
|
39
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
40
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
41
|
+
const message = createBasebureauRequest();
|
|
42
|
+
while (reader.pos < end) {
|
|
43
|
+
const tag = reader.uint32();
|
|
44
|
+
switch (tag >>> 3) {
|
|
45
|
+
case 1:
|
|
46
|
+
if (tag !== 8) {
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
message.customer_id = longToNumber(reader.int64());
|
|
50
|
+
continue;
|
|
51
|
+
case 2:
|
|
52
|
+
if (tag !== 16) {
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
message.range = reader.int32();
|
|
56
|
+
continue;
|
|
57
|
+
case 3:
|
|
58
|
+
if (tag !== 24) {
|
|
59
|
+
break;
|
|
60
|
+
}
|
|
61
|
+
message.bureau_type = reader.int32();
|
|
62
|
+
continue;
|
|
63
|
+
case 4:
|
|
64
|
+
if (tag !== 34) {
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
67
|
+
message.source = reader.string();
|
|
68
|
+
continue;
|
|
69
|
+
case 5:
|
|
70
|
+
if (tag !== 40) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
message.pull_type = reader.int32();
|
|
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 {
|
|
85
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
86
|
+
range: isSet(object.range) ? globalThis.Number(object.range) : 0,
|
|
87
|
+
bureau_type: isSet(object.bureau_type) ? globalThis.Number(object.bureau_type) : 0,
|
|
88
|
+
source: isSet(object.source) ? globalThis.String(object.source) : "",
|
|
89
|
+
pull_type: isSet(object.pull_type) ? globalThis.Number(object.pull_type) : 0,
|
|
90
|
+
};
|
|
91
|
+
},
|
|
92
|
+
toJSON(message) {
|
|
93
|
+
const obj = {};
|
|
94
|
+
if (message.customer_id !== 0) {
|
|
95
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
96
|
+
}
|
|
97
|
+
if (message.range !== 0) {
|
|
98
|
+
obj.range = Math.round(message.range);
|
|
99
|
+
}
|
|
100
|
+
if (message.bureau_type !== 0) {
|
|
101
|
+
obj.bureau_type = Math.round(message.bureau_type);
|
|
102
|
+
}
|
|
103
|
+
if (message.source !== "") {
|
|
104
|
+
obj.source = message.source;
|
|
105
|
+
}
|
|
106
|
+
if (message.pull_type !== 0) {
|
|
107
|
+
obj.pull_type = Math.round(message.pull_type);
|
|
108
|
+
}
|
|
109
|
+
return obj;
|
|
110
|
+
},
|
|
111
|
+
create(base) {
|
|
112
|
+
return exports.bureauRequest.fromPartial(base ?? {});
|
|
113
|
+
},
|
|
114
|
+
fromPartial(object) {
|
|
115
|
+
const message = createBasebureauRequest();
|
|
116
|
+
message.customer_id = object.customer_id ?? 0;
|
|
117
|
+
message.range = object.range ?? 0;
|
|
118
|
+
message.bureau_type = object.bureau_type ?? 0;
|
|
119
|
+
message.source = object.source ?? "";
|
|
120
|
+
message.pull_type = object.pull_type ?? 0;
|
|
121
|
+
return message;
|
|
122
|
+
},
|
|
123
|
+
};
|
|
124
|
+
function createBasebureauResponse() {
|
|
125
|
+
return { status: "", data: undefined };
|
|
126
|
+
}
|
|
127
|
+
exports.bureauResponse = {
|
|
128
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
129
|
+
if (message.status !== "") {
|
|
130
|
+
writer.uint32(10).string(message.status);
|
|
131
|
+
}
|
|
132
|
+
if (message.data !== undefined) {
|
|
133
|
+
exports.Report.encode(message.data, writer.uint32(18).fork()).ldelim();
|
|
134
|
+
}
|
|
135
|
+
return writer;
|
|
136
|
+
},
|
|
137
|
+
decode(input, length) {
|
|
138
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
139
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
140
|
+
const message = createBasebureauResponse();
|
|
141
|
+
while (reader.pos < end) {
|
|
142
|
+
const tag = reader.uint32();
|
|
143
|
+
switch (tag >>> 3) {
|
|
144
|
+
case 1:
|
|
145
|
+
if (tag !== 10) {
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
message.status = reader.string();
|
|
149
|
+
continue;
|
|
150
|
+
case 2:
|
|
151
|
+
if (tag !== 18) {
|
|
152
|
+
break;
|
|
153
|
+
}
|
|
154
|
+
message.data = exports.Report.decode(reader, reader.uint32());
|
|
155
|
+
continue;
|
|
156
|
+
}
|
|
157
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
158
|
+
break;
|
|
159
|
+
}
|
|
160
|
+
reader.skipType(tag & 7);
|
|
161
|
+
}
|
|
162
|
+
return message;
|
|
163
|
+
},
|
|
164
|
+
fromJSON(object) {
|
|
165
|
+
return {
|
|
166
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
167
|
+
data: isSet(object.data) ? exports.Report.fromJSON(object.data) : undefined,
|
|
168
|
+
};
|
|
169
|
+
},
|
|
170
|
+
toJSON(message) {
|
|
171
|
+
const obj = {};
|
|
172
|
+
if (message.status !== "") {
|
|
173
|
+
obj.status = message.status;
|
|
174
|
+
}
|
|
175
|
+
if (message.data !== undefined) {
|
|
176
|
+
obj.data = exports.Report.toJSON(message.data);
|
|
177
|
+
}
|
|
178
|
+
return obj;
|
|
179
|
+
},
|
|
180
|
+
create(base) {
|
|
181
|
+
return exports.bureauResponse.fromPartial(base ?? {});
|
|
182
|
+
},
|
|
183
|
+
fromPartial(object) {
|
|
184
|
+
const message = createBasebureauResponse();
|
|
185
|
+
message.status = object.status ?? "";
|
|
186
|
+
message.data = (object.data !== undefined && object.data !== null) ? exports.Report.fromPartial(object.data) : undefined;
|
|
187
|
+
return message;
|
|
188
|
+
},
|
|
189
|
+
};
|
|
190
|
+
function createBaseReport() {
|
|
191
|
+
return {
|
|
192
|
+
report_id: 0,
|
|
193
|
+
score: 0,
|
|
194
|
+
type: "",
|
|
195
|
+
tradelines: [],
|
|
196
|
+
dpd: undefined,
|
|
197
|
+
enquiries: undefined,
|
|
198
|
+
dpd_char: undefined,
|
|
199
|
+
report_path: undefined,
|
|
200
|
+
dpd_counts: undefined,
|
|
201
|
+
enquiries_data: [],
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
exports.Report = {
|
|
205
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
206
|
+
if (message.report_id !== 0) {
|
|
207
|
+
writer.uint32(8).int32(message.report_id);
|
|
208
|
+
}
|
|
209
|
+
if (message.score !== 0) {
|
|
210
|
+
writer.uint32(16).int32(message.score);
|
|
211
|
+
}
|
|
212
|
+
if (message.type !== "") {
|
|
213
|
+
writer.uint32(26).string(message.type);
|
|
214
|
+
}
|
|
215
|
+
for (const v of message.tradelines) {
|
|
216
|
+
exports.TradeLine.encode(v, writer.uint32(34).fork()).ldelim();
|
|
217
|
+
}
|
|
218
|
+
if (message.dpd !== undefined) {
|
|
219
|
+
exports.DPD.encode(message.dpd, writer.uint32(42).fork()).ldelim();
|
|
220
|
+
}
|
|
221
|
+
if (message.enquiries !== undefined) {
|
|
222
|
+
exports.Enquiries.encode(message.enquiries, writer.uint32(50).fork()).ldelim();
|
|
223
|
+
}
|
|
224
|
+
if (message.dpd_char !== undefined) {
|
|
225
|
+
exports.dpdChar.encode(message.dpd_char, writer.uint32(58).fork()).ldelim();
|
|
226
|
+
}
|
|
227
|
+
if (message.report_path !== undefined) {
|
|
228
|
+
writer.uint32(66).string(message.report_path);
|
|
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
|
+
}
|
|
236
|
+
return writer;
|
|
237
|
+
},
|
|
238
|
+
decode(input, length) {
|
|
239
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
240
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
241
|
+
const message = createBaseReport();
|
|
242
|
+
while (reader.pos < end) {
|
|
243
|
+
const tag = reader.uint32();
|
|
244
|
+
switch (tag >>> 3) {
|
|
245
|
+
case 1:
|
|
246
|
+
if (tag !== 8) {
|
|
247
|
+
break;
|
|
248
|
+
}
|
|
249
|
+
message.report_id = reader.int32();
|
|
250
|
+
continue;
|
|
251
|
+
case 2:
|
|
252
|
+
if (tag !== 16) {
|
|
253
|
+
break;
|
|
254
|
+
}
|
|
255
|
+
message.score = reader.int32();
|
|
256
|
+
continue;
|
|
257
|
+
case 3:
|
|
258
|
+
if (tag !== 26) {
|
|
259
|
+
break;
|
|
260
|
+
}
|
|
261
|
+
message.type = reader.string();
|
|
262
|
+
continue;
|
|
263
|
+
case 4:
|
|
264
|
+
if (tag !== 34) {
|
|
265
|
+
break;
|
|
266
|
+
}
|
|
267
|
+
message.tradelines.push(exports.TradeLine.decode(reader, reader.uint32()));
|
|
268
|
+
continue;
|
|
269
|
+
case 5:
|
|
270
|
+
if (tag !== 42) {
|
|
271
|
+
break;
|
|
272
|
+
}
|
|
273
|
+
message.dpd = exports.DPD.decode(reader, reader.uint32());
|
|
274
|
+
continue;
|
|
275
|
+
case 6:
|
|
276
|
+
if (tag !== 50) {
|
|
277
|
+
break;
|
|
278
|
+
}
|
|
279
|
+
message.enquiries = exports.Enquiries.decode(reader, reader.uint32());
|
|
280
|
+
continue;
|
|
281
|
+
case 7:
|
|
282
|
+
if (tag !== 58) {
|
|
283
|
+
break;
|
|
284
|
+
}
|
|
285
|
+
message.dpd_char = exports.dpdChar.decode(reader, reader.uint32());
|
|
286
|
+
continue;
|
|
287
|
+
case 8:
|
|
288
|
+
if (tag !== 66) {
|
|
289
|
+
break;
|
|
290
|
+
}
|
|
291
|
+
message.report_path = reader.string();
|
|
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;
|
|
305
|
+
}
|
|
306
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
307
|
+
break;
|
|
308
|
+
}
|
|
309
|
+
reader.skipType(tag & 7);
|
|
310
|
+
}
|
|
311
|
+
return message;
|
|
312
|
+
},
|
|
313
|
+
fromJSON(object) {
|
|
314
|
+
return {
|
|
315
|
+
report_id: isSet(object.report_id) ? globalThis.Number(object.report_id) : 0,
|
|
316
|
+
score: isSet(object.score) ? globalThis.Number(object.score) : 0,
|
|
317
|
+
type: isSet(object.type) ? globalThis.String(object.type) : "",
|
|
318
|
+
tradelines: globalThis.Array.isArray(object?.tradelines)
|
|
319
|
+
? object.tradelines.map((e) => exports.TradeLine.fromJSON(e))
|
|
320
|
+
: [],
|
|
321
|
+
dpd: isSet(object.dpd) ? exports.DPD.fromJSON(object.dpd) : undefined,
|
|
322
|
+
enquiries: isSet(object.enquiries) ? exports.Enquiries.fromJSON(object.enquiries) : undefined,
|
|
323
|
+
dpd_char: isSet(object.dpd_char) ? exports.dpdChar.fromJSON(object.dpd_char) : undefined,
|
|
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
|
+
: [],
|
|
329
|
+
};
|
|
330
|
+
},
|
|
331
|
+
toJSON(message) {
|
|
332
|
+
const obj = {};
|
|
333
|
+
if (message.report_id !== 0) {
|
|
334
|
+
obj.report_id = Math.round(message.report_id);
|
|
335
|
+
}
|
|
336
|
+
if (message.score !== 0) {
|
|
337
|
+
obj.score = Math.round(message.score);
|
|
338
|
+
}
|
|
339
|
+
if (message.type !== "") {
|
|
340
|
+
obj.type = message.type;
|
|
341
|
+
}
|
|
342
|
+
if (message.tradelines?.length) {
|
|
343
|
+
obj.tradelines = message.tradelines.map((e) => exports.TradeLine.toJSON(e));
|
|
344
|
+
}
|
|
345
|
+
if (message.dpd !== undefined) {
|
|
346
|
+
obj.dpd = exports.DPD.toJSON(message.dpd);
|
|
347
|
+
}
|
|
348
|
+
if (message.enquiries !== undefined) {
|
|
349
|
+
obj.enquiries = exports.Enquiries.toJSON(message.enquiries);
|
|
350
|
+
}
|
|
351
|
+
if (message.dpd_char !== undefined) {
|
|
352
|
+
obj.dpd_char = exports.dpdChar.toJSON(message.dpd_char);
|
|
353
|
+
}
|
|
354
|
+
if (message.report_path !== undefined) {
|
|
355
|
+
obj.report_path = message.report_path;
|
|
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
|
+
}
|
|
363
|
+
return obj;
|
|
364
|
+
},
|
|
365
|
+
create(base) {
|
|
366
|
+
return exports.Report.fromPartial(base ?? {});
|
|
367
|
+
},
|
|
368
|
+
fromPartial(object) {
|
|
369
|
+
const message = createBaseReport();
|
|
370
|
+
message.report_id = object.report_id ?? 0;
|
|
371
|
+
message.score = object.score ?? 0;
|
|
372
|
+
message.type = object.type ?? "";
|
|
373
|
+
message.tradelines = object.tradelines?.map((e) => exports.TradeLine.fromPartial(e)) || [];
|
|
374
|
+
message.dpd = (object.dpd !== undefined && object.dpd !== null) ? exports.DPD.fromPartial(object.dpd) : undefined;
|
|
375
|
+
message.enquiries = (object.enquiries !== undefined && object.enquiries !== null)
|
|
376
|
+
? exports.Enquiries.fromPartial(object.enquiries)
|
|
377
|
+
: undefined;
|
|
378
|
+
message.dpd_char = (object.dpd_char !== undefined && object.dpd_char !== null)
|
|
379
|
+
? exports.dpdChar.fromPartial(object.dpd_char)
|
|
380
|
+
: undefined;
|
|
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)) || [];
|
|
386
|
+
return message;
|
|
387
|
+
},
|
|
388
|
+
};
|
|
389
|
+
function createBaseTradeLine() {
|
|
390
|
+
return {
|
|
391
|
+
id: 0,
|
|
392
|
+
account_type: "",
|
|
393
|
+
current_balance: 0,
|
|
394
|
+
date_closed: undefined,
|
|
395
|
+
last_payment_date: undefined,
|
|
396
|
+
disbursed_date: undefined,
|
|
397
|
+
date_reported: undefined,
|
|
398
|
+
sanctioned_amount: undefined,
|
|
399
|
+
ownership_indicator: undefined,
|
|
400
|
+
suit_filed: "",
|
|
401
|
+
overdue_amount: undefined,
|
|
402
|
+
settled_status: "",
|
|
403
|
+
account_status: undefined,
|
|
404
|
+
emi_amount: undefined,
|
|
405
|
+
credit_limit: undefined,
|
|
406
|
+
loan_type: undefined,
|
|
407
|
+
written_off_amount: undefined,
|
|
408
|
+
settlement_amount: undefined,
|
|
409
|
+
};
|
|
410
|
+
}
|
|
411
|
+
exports.TradeLine = {
|
|
412
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
413
|
+
if (message.id !== 0) {
|
|
414
|
+
writer.uint32(8).int32(message.id);
|
|
415
|
+
}
|
|
416
|
+
if (message.account_type !== "") {
|
|
417
|
+
writer.uint32(18).string(message.account_type);
|
|
418
|
+
}
|
|
419
|
+
if (message.current_balance !== 0) {
|
|
420
|
+
writer.uint32(24).int32(message.current_balance);
|
|
421
|
+
}
|
|
422
|
+
if (message.date_closed !== undefined) {
|
|
423
|
+
writer.uint32(34).string(message.date_closed);
|
|
424
|
+
}
|
|
425
|
+
if (message.last_payment_date !== undefined) {
|
|
426
|
+
writer.uint32(42).string(message.last_payment_date);
|
|
427
|
+
}
|
|
428
|
+
if (message.disbursed_date !== undefined) {
|
|
429
|
+
writer.uint32(50).string(message.disbursed_date);
|
|
430
|
+
}
|
|
431
|
+
if (message.date_reported !== undefined) {
|
|
432
|
+
writer.uint32(58).string(message.date_reported);
|
|
433
|
+
}
|
|
434
|
+
if (message.sanctioned_amount !== undefined) {
|
|
435
|
+
writer.uint32(64).int64(message.sanctioned_amount);
|
|
436
|
+
}
|
|
437
|
+
if (message.ownership_indicator !== undefined) {
|
|
438
|
+
writer.uint32(74).string(message.ownership_indicator);
|
|
439
|
+
}
|
|
440
|
+
if (message.suit_filed !== "") {
|
|
441
|
+
writer.uint32(82).string(message.suit_filed);
|
|
442
|
+
}
|
|
443
|
+
if (message.overdue_amount !== undefined) {
|
|
444
|
+
writer.uint32(88).int32(message.overdue_amount);
|
|
445
|
+
}
|
|
446
|
+
if (message.settled_status !== "") {
|
|
447
|
+
writer.uint32(98).string(message.settled_status);
|
|
448
|
+
}
|
|
449
|
+
if (message.account_status !== undefined) {
|
|
450
|
+
writer.uint32(106).string(message.account_status);
|
|
451
|
+
}
|
|
452
|
+
if (message.emi_amount !== undefined) {
|
|
453
|
+
writer.uint32(112).int64(message.emi_amount);
|
|
454
|
+
}
|
|
455
|
+
if (message.credit_limit !== undefined) {
|
|
456
|
+
writer.uint32(120).int64(message.credit_limit);
|
|
457
|
+
}
|
|
458
|
+
if (message.loan_type !== undefined) {
|
|
459
|
+
writer.uint32(130).string(message.loan_type);
|
|
460
|
+
}
|
|
461
|
+
if (message.written_off_amount !== undefined) {
|
|
462
|
+
writer.uint32(136).int64(message.written_off_amount);
|
|
463
|
+
}
|
|
464
|
+
if (message.settlement_amount !== undefined) {
|
|
465
|
+
writer.uint32(144).int64(message.settlement_amount);
|
|
466
|
+
}
|
|
467
|
+
return writer;
|
|
468
|
+
},
|
|
469
|
+
decode(input, length) {
|
|
470
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
471
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
472
|
+
const message = createBaseTradeLine();
|
|
473
|
+
while (reader.pos < end) {
|
|
474
|
+
const tag = reader.uint32();
|
|
475
|
+
switch (tag >>> 3) {
|
|
476
|
+
case 1:
|
|
477
|
+
if (tag !== 8) {
|
|
478
|
+
break;
|
|
479
|
+
}
|
|
480
|
+
message.id = reader.int32();
|
|
481
|
+
continue;
|
|
482
|
+
case 2:
|
|
483
|
+
if (tag !== 18) {
|
|
484
|
+
break;
|
|
485
|
+
}
|
|
486
|
+
message.account_type = reader.string();
|
|
487
|
+
continue;
|
|
488
|
+
case 3:
|
|
489
|
+
if (tag !== 24) {
|
|
490
|
+
break;
|
|
491
|
+
}
|
|
492
|
+
message.current_balance = reader.int32();
|
|
493
|
+
continue;
|
|
494
|
+
case 4:
|
|
495
|
+
if (tag !== 34) {
|
|
496
|
+
break;
|
|
497
|
+
}
|
|
498
|
+
message.date_closed = reader.string();
|
|
499
|
+
continue;
|
|
500
|
+
case 5:
|
|
501
|
+
if (tag !== 42) {
|
|
502
|
+
break;
|
|
503
|
+
}
|
|
504
|
+
message.last_payment_date = reader.string();
|
|
505
|
+
continue;
|
|
506
|
+
case 6:
|
|
507
|
+
if (tag !== 50) {
|
|
508
|
+
break;
|
|
509
|
+
}
|
|
510
|
+
message.disbursed_date = reader.string();
|
|
511
|
+
continue;
|
|
512
|
+
case 7:
|
|
513
|
+
if (tag !== 58) {
|
|
514
|
+
break;
|
|
515
|
+
}
|
|
516
|
+
message.date_reported = reader.string();
|
|
517
|
+
continue;
|
|
518
|
+
case 8:
|
|
519
|
+
if (tag !== 64) {
|
|
520
|
+
break;
|
|
521
|
+
}
|
|
522
|
+
message.sanctioned_amount = longToNumber(reader.int64());
|
|
523
|
+
continue;
|
|
524
|
+
case 9:
|
|
525
|
+
if (tag !== 74) {
|
|
526
|
+
break;
|
|
527
|
+
}
|
|
528
|
+
message.ownership_indicator = reader.string();
|
|
529
|
+
continue;
|
|
530
|
+
case 10:
|
|
531
|
+
if (tag !== 82) {
|
|
532
|
+
break;
|
|
533
|
+
}
|
|
534
|
+
message.suit_filed = reader.string();
|
|
535
|
+
continue;
|
|
536
|
+
case 11:
|
|
537
|
+
if (tag !== 88) {
|
|
538
|
+
break;
|
|
539
|
+
}
|
|
540
|
+
message.overdue_amount = reader.int32();
|
|
541
|
+
continue;
|
|
542
|
+
case 12:
|
|
543
|
+
if (tag !== 98) {
|
|
544
|
+
break;
|
|
545
|
+
}
|
|
546
|
+
message.settled_status = reader.string();
|
|
547
|
+
continue;
|
|
548
|
+
case 13:
|
|
549
|
+
if (tag !== 106) {
|
|
550
|
+
break;
|
|
551
|
+
}
|
|
552
|
+
message.account_status = reader.string();
|
|
553
|
+
continue;
|
|
554
|
+
case 14:
|
|
555
|
+
if (tag !== 112) {
|
|
556
|
+
break;
|
|
557
|
+
}
|
|
558
|
+
message.emi_amount = longToNumber(reader.int64());
|
|
559
|
+
continue;
|
|
560
|
+
case 15:
|
|
561
|
+
if (tag !== 120) {
|
|
562
|
+
break;
|
|
563
|
+
}
|
|
564
|
+
message.credit_limit = longToNumber(reader.int64());
|
|
565
|
+
continue;
|
|
566
|
+
case 16:
|
|
567
|
+
if (tag !== 130) {
|
|
568
|
+
break;
|
|
569
|
+
}
|
|
570
|
+
message.loan_type = reader.string();
|
|
571
|
+
continue;
|
|
572
|
+
case 17:
|
|
573
|
+
if (tag !== 136) {
|
|
574
|
+
break;
|
|
575
|
+
}
|
|
576
|
+
message.written_off_amount = longToNumber(reader.int64());
|
|
577
|
+
continue;
|
|
578
|
+
case 18:
|
|
579
|
+
if (tag !== 144) {
|
|
580
|
+
break;
|
|
581
|
+
}
|
|
582
|
+
message.settlement_amount = longToNumber(reader.int64());
|
|
583
|
+
continue;
|
|
584
|
+
}
|
|
585
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
586
|
+
break;
|
|
587
|
+
}
|
|
588
|
+
reader.skipType(tag & 7);
|
|
589
|
+
}
|
|
590
|
+
return message;
|
|
591
|
+
},
|
|
592
|
+
fromJSON(object) {
|
|
593
|
+
return {
|
|
594
|
+
id: isSet(object.id) ? globalThis.Number(object.id) : 0,
|
|
595
|
+
account_type: isSet(object.account_type) ? globalThis.String(object.account_type) : "",
|
|
596
|
+
current_balance: isSet(object.current_balance) ? globalThis.Number(object.current_balance) : 0,
|
|
597
|
+
date_closed: isSet(object.date_closed) ? globalThis.String(object.date_closed) : undefined,
|
|
598
|
+
last_payment_date: isSet(object.last_payment_date) ? globalThis.String(object.last_payment_date) : undefined,
|
|
599
|
+
disbursed_date: isSet(object.disbursed_date) ? globalThis.String(object.disbursed_date) : undefined,
|
|
600
|
+
date_reported: isSet(object.date_reported) ? globalThis.String(object.date_reported) : undefined,
|
|
601
|
+
sanctioned_amount: isSet(object.sanctioned_amount) ? globalThis.Number(object.sanctioned_amount) : undefined,
|
|
602
|
+
ownership_indicator: isSet(object.ownership_indicator)
|
|
603
|
+
? globalThis.String(object.ownership_indicator)
|
|
604
|
+
: undefined,
|
|
605
|
+
suit_filed: isSet(object.suit_filed) ? globalThis.String(object.suit_filed) : "",
|
|
606
|
+
overdue_amount: isSet(object.overdue_amount) ? globalThis.Number(object.overdue_amount) : undefined,
|
|
607
|
+
settled_status: isSet(object.settled_status) ? globalThis.String(object.settled_status) : "",
|
|
608
|
+
account_status: isSet(object.account_status) ? globalThis.String(object.account_status) : undefined,
|
|
609
|
+
emi_amount: isSet(object.emi_amount) ? globalThis.Number(object.emi_amount) : undefined,
|
|
610
|
+
credit_limit: isSet(object.credit_limit) ? globalThis.Number(object.credit_limit) : undefined,
|
|
611
|
+
loan_type: isSet(object.loan_type) ? globalThis.String(object.loan_type) : undefined,
|
|
612
|
+
written_off_amount: isSet(object.written_off_amount) ? globalThis.Number(object.written_off_amount) : undefined,
|
|
613
|
+
settlement_amount: isSet(object.settlement_amount) ? globalThis.Number(object.settlement_amount) : undefined,
|
|
614
|
+
};
|
|
615
|
+
},
|
|
616
|
+
toJSON(message) {
|
|
617
|
+
const obj = {};
|
|
618
|
+
if (message.id !== 0) {
|
|
619
|
+
obj.id = Math.round(message.id);
|
|
620
|
+
}
|
|
621
|
+
if (message.account_type !== "") {
|
|
622
|
+
obj.account_type = message.account_type;
|
|
623
|
+
}
|
|
624
|
+
if (message.current_balance !== 0) {
|
|
625
|
+
obj.current_balance = Math.round(message.current_balance);
|
|
626
|
+
}
|
|
627
|
+
if (message.date_closed !== undefined) {
|
|
628
|
+
obj.date_closed = message.date_closed;
|
|
629
|
+
}
|
|
630
|
+
if (message.last_payment_date !== undefined) {
|
|
631
|
+
obj.last_payment_date = message.last_payment_date;
|
|
632
|
+
}
|
|
633
|
+
if (message.disbursed_date !== undefined) {
|
|
634
|
+
obj.disbursed_date = message.disbursed_date;
|
|
635
|
+
}
|
|
636
|
+
if (message.date_reported !== undefined) {
|
|
637
|
+
obj.date_reported = message.date_reported;
|
|
638
|
+
}
|
|
639
|
+
if (message.sanctioned_amount !== undefined) {
|
|
640
|
+
obj.sanctioned_amount = Math.round(message.sanctioned_amount);
|
|
641
|
+
}
|
|
642
|
+
if (message.ownership_indicator !== undefined) {
|
|
643
|
+
obj.ownership_indicator = message.ownership_indicator;
|
|
644
|
+
}
|
|
645
|
+
if (message.suit_filed !== "") {
|
|
646
|
+
obj.suit_filed = message.suit_filed;
|
|
647
|
+
}
|
|
648
|
+
if (message.overdue_amount !== undefined) {
|
|
649
|
+
obj.overdue_amount = Math.round(message.overdue_amount);
|
|
650
|
+
}
|
|
651
|
+
if (message.settled_status !== "") {
|
|
652
|
+
obj.settled_status = message.settled_status;
|
|
653
|
+
}
|
|
654
|
+
if (message.account_status !== undefined) {
|
|
655
|
+
obj.account_status = message.account_status;
|
|
656
|
+
}
|
|
657
|
+
if (message.emi_amount !== undefined) {
|
|
658
|
+
obj.emi_amount = Math.round(message.emi_amount);
|
|
659
|
+
}
|
|
660
|
+
if (message.credit_limit !== undefined) {
|
|
661
|
+
obj.credit_limit = Math.round(message.credit_limit);
|
|
662
|
+
}
|
|
663
|
+
if (message.loan_type !== undefined) {
|
|
664
|
+
obj.loan_type = message.loan_type;
|
|
665
|
+
}
|
|
666
|
+
if (message.written_off_amount !== undefined) {
|
|
667
|
+
obj.written_off_amount = Math.round(message.written_off_amount);
|
|
668
|
+
}
|
|
669
|
+
if (message.settlement_amount !== undefined) {
|
|
670
|
+
obj.settlement_amount = Math.round(message.settlement_amount);
|
|
671
|
+
}
|
|
672
|
+
return obj;
|
|
673
|
+
},
|
|
674
|
+
create(base) {
|
|
675
|
+
return exports.TradeLine.fromPartial(base ?? {});
|
|
676
|
+
},
|
|
677
|
+
fromPartial(object) {
|
|
678
|
+
const message = createBaseTradeLine();
|
|
679
|
+
message.id = object.id ?? 0;
|
|
680
|
+
message.account_type = object.account_type ?? "";
|
|
681
|
+
message.current_balance = object.current_balance ?? 0;
|
|
682
|
+
message.date_closed = object.date_closed ?? undefined;
|
|
683
|
+
message.last_payment_date = object.last_payment_date ?? undefined;
|
|
684
|
+
message.disbursed_date = object.disbursed_date ?? undefined;
|
|
685
|
+
message.date_reported = object.date_reported ?? undefined;
|
|
686
|
+
message.sanctioned_amount = object.sanctioned_amount ?? undefined;
|
|
687
|
+
message.ownership_indicator = object.ownership_indicator ?? undefined;
|
|
688
|
+
message.suit_filed = object.suit_filed ?? "";
|
|
689
|
+
message.overdue_amount = object.overdue_amount ?? undefined;
|
|
690
|
+
message.settled_status = object.settled_status ?? "";
|
|
691
|
+
message.account_status = object.account_status ?? undefined;
|
|
692
|
+
message.emi_amount = object.emi_amount ?? undefined;
|
|
693
|
+
message.credit_limit = object.credit_limit ?? undefined;
|
|
694
|
+
message.loan_type = object.loan_type ?? undefined;
|
|
695
|
+
message.written_off_amount = object.written_off_amount ?? undefined;
|
|
696
|
+
message.settlement_amount = object.settlement_amount ?? undefined;
|
|
697
|
+
return message;
|
|
698
|
+
},
|
|
699
|
+
};
|
|
700
|
+
function createBaseDPD() {
|
|
701
|
+
return {
|
|
702
|
+
month1: 0,
|
|
703
|
+
month2: 0,
|
|
704
|
+
month3: 0,
|
|
705
|
+
month4: 0,
|
|
706
|
+
month5: 0,
|
|
707
|
+
month6: 0,
|
|
708
|
+
month7: 0,
|
|
709
|
+
month8: 0,
|
|
710
|
+
month9: 0,
|
|
711
|
+
month10: 0,
|
|
712
|
+
month11: 0,
|
|
713
|
+
month12: 0,
|
|
714
|
+
month13: 0,
|
|
715
|
+
month14: 0,
|
|
716
|
+
month15: 0,
|
|
717
|
+
month16: 0,
|
|
718
|
+
month17: 0,
|
|
719
|
+
month18: 0,
|
|
720
|
+
month19: 0,
|
|
721
|
+
month20: 0,
|
|
722
|
+
month21: 0,
|
|
723
|
+
month22: 0,
|
|
724
|
+
month23: 0,
|
|
725
|
+
month24: 0,
|
|
726
|
+
};
|
|
727
|
+
}
|
|
728
|
+
exports.DPD = {
|
|
729
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
730
|
+
if (message.month1 !== 0) {
|
|
731
|
+
writer.uint32(8).int32(message.month1);
|
|
732
|
+
}
|
|
733
|
+
if (message.month2 !== 0) {
|
|
734
|
+
writer.uint32(16).int32(message.month2);
|
|
735
|
+
}
|
|
736
|
+
if (message.month3 !== 0) {
|
|
737
|
+
writer.uint32(24).int32(message.month3);
|
|
738
|
+
}
|
|
739
|
+
if (message.month4 !== 0) {
|
|
740
|
+
writer.uint32(32).int32(message.month4);
|
|
741
|
+
}
|
|
742
|
+
if (message.month5 !== 0) {
|
|
743
|
+
writer.uint32(40).int32(message.month5);
|
|
744
|
+
}
|
|
745
|
+
if (message.month6 !== 0) {
|
|
746
|
+
writer.uint32(48).int32(message.month6);
|
|
747
|
+
}
|
|
748
|
+
if (message.month7 !== 0) {
|
|
749
|
+
writer.uint32(56).int32(message.month7);
|
|
750
|
+
}
|
|
751
|
+
if (message.month8 !== 0) {
|
|
752
|
+
writer.uint32(64).int32(message.month8);
|
|
753
|
+
}
|
|
754
|
+
if (message.month9 !== 0) {
|
|
755
|
+
writer.uint32(72).int32(message.month9);
|
|
756
|
+
}
|
|
757
|
+
if (message.month10 !== 0) {
|
|
758
|
+
writer.uint32(80).int32(message.month10);
|
|
759
|
+
}
|
|
760
|
+
if (message.month11 !== 0) {
|
|
761
|
+
writer.uint32(88).int32(message.month11);
|
|
762
|
+
}
|
|
763
|
+
if (message.month12 !== 0) {
|
|
764
|
+
writer.uint32(96).int32(message.month12);
|
|
765
|
+
}
|
|
766
|
+
if (message.month13 !== 0) {
|
|
767
|
+
writer.uint32(104).int32(message.month13);
|
|
768
|
+
}
|
|
769
|
+
if (message.month14 !== 0) {
|
|
770
|
+
writer.uint32(112).int32(message.month14);
|
|
771
|
+
}
|
|
772
|
+
if (message.month15 !== 0) {
|
|
773
|
+
writer.uint32(120).int32(message.month15);
|
|
774
|
+
}
|
|
775
|
+
if (message.month16 !== 0) {
|
|
776
|
+
writer.uint32(128).int32(message.month16);
|
|
777
|
+
}
|
|
778
|
+
if (message.month17 !== 0) {
|
|
779
|
+
writer.uint32(136).int32(message.month17);
|
|
780
|
+
}
|
|
781
|
+
if (message.month18 !== 0) {
|
|
782
|
+
writer.uint32(144).int32(message.month18);
|
|
783
|
+
}
|
|
784
|
+
if (message.month19 !== 0) {
|
|
785
|
+
writer.uint32(152).int32(message.month19);
|
|
786
|
+
}
|
|
787
|
+
if (message.month20 !== 0) {
|
|
788
|
+
writer.uint32(160).int32(message.month20);
|
|
789
|
+
}
|
|
790
|
+
if (message.month21 !== 0) {
|
|
791
|
+
writer.uint32(168).int32(message.month21);
|
|
792
|
+
}
|
|
793
|
+
if (message.month22 !== 0) {
|
|
794
|
+
writer.uint32(176).int32(message.month22);
|
|
795
|
+
}
|
|
796
|
+
if (message.month23 !== 0) {
|
|
797
|
+
writer.uint32(184).int32(message.month23);
|
|
798
|
+
}
|
|
799
|
+
if (message.month24 !== 0) {
|
|
800
|
+
writer.uint32(192).int32(message.month24);
|
|
801
|
+
}
|
|
802
|
+
return writer;
|
|
803
|
+
},
|
|
804
|
+
decode(input, length) {
|
|
805
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
806
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
807
|
+
const message = createBaseDPD();
|
|
808
|
+
while (reader.pos < end) {
|
|
809
|
+
const tag = reader.uint32();
|
|
810
|
+
switch (tag >>> 3) {
|
|
811
|
+
case 1:
|
|
812
|
+
if (tag !== 8) {
|
|
813
|
+
break;
|
|
814
|
+
}
|
|
815
|
+
message.month1 = reader.int32();
|
|
816
|
+
continue;
|
|
817
|
+
case 2:
|
|
818
|
+
if (tag !== 16) {
|
|
819
|
+
break;
|
|
820
|
+
}
|
|
821
|
+
message.month2 = reader.int32();
|
|
822
|
+
continue;
|
|
823
|
+
case 3:
|
|
824
|
+
if (tag !== 24) {
|
|
825
|
+
break;
|
|
826
|
+
}
|
|
827
|
+
message.month3 = reader.int32();
|
|
828
|
+
continue;
|
|
829
|
+
case 4:
|
|
830
|
+
if (tag !== 32) {
|
|
831
|
+
break;
|
|
832
|
+
}
|
|
833
|
+
message.month4 = reader.int32();
|
|
834
|
+
continue;
|
|
835
|
+
case 5:
|
|
836
|
+
if (tag !== 40) {
|
|
837
|
+
break;
|
|
838
|
+
}
|
|
839
|
+
message.month5 = reader.int32();
|
|
840
|
+
continue;
|
|
841
|
+
case 6:
|
|
842
|
+
if (tag !== 48) {
|
|
843
|
+
break;
|
|
844
|
+
}
|
|
845
|
+
message.month6 = reader.int32();
|
|
846
|
+
continue;
|
|
847
|
+
case 7:
|
|
848
|
+
if (tag !== 56) {
|
|
849
|
+
break;
|
|
850
|
+
}
|
|
851
|
+
message.month7 = reader.int32();
|
|
852
|
+
continue;
|
|
853
|
+
case 8:
|
|
854
|
+
if (tag !== 64) {
|
|
855
|
+
break;
|
|
856
|
+
}
|
|
857
|
+
message.month8 = reader.int32();
|
|
858
|
+
continue;
|
|
859
|
+
case 9:
|
|
860
|
+
if (tag !== 72) {
|
|
861
|
+
break;
|
|
862
|
+
}
|
|
863
|
+
message.month9 = reader.int32();
|
|
864
|
+
continue;
|
|
865
|
+
case 10:
|
|
866
|
+
if (tag !== 80) {
|
|
867
|
+
break;
|
|
868
|
+
}
|
|
869
|
+
message.month10 = reader.int32();
|
|
870
|
+
continue;
|
|
871
|
+
case 11:
|
|
872
|
+
if (tag !== 88) {
|
|
873
|
+
break;
|
|
874
|
+
}
|
|
875
|
+
message.month11 = reader.int32();
|
|
876
|
+
continue;
|
|
877
|
+
case 12:
|
|
878
|
+
if (tag !== 96) {
|
|
879
|
+
break;
|
|
880
|
+
}
|
|
881
|
+
message.month12 = reader.int32();
|
|
882
|
+
continue;
|
|
883
|
+
case 13:
|
|
884
|
+
if (tag !== 104) {
|
|
885
|
+
break;
|
|
886
|
+
}
|
|
887
|
+
message.month13 = reader.int32();
|
|
888
|
+
continue;
|
|
889
|
+
case 14:
|
|
890
|
+
if (tag !== 112) {
|
|
891
|
+
break;
|
|
892
|
+
}
|
|
893
|
+
message.month14 = reader.int32();
|
|
894
|
+
continue;
|
|
895
|
+
case 15:
|
|
896
|
+
if (tag !== 120) {
|
|
897
|
+
break;
|
|
898
|
+
}
|
|
899
|
+
message.month15 = reader.int32();
|
|
900
|
+
continue;
|
|
901
|
+
case 16:
|
|
902
|
+
if (tag !== 128) {
|
|
903
|
+
break;
|
|
904
|
+
}
|
|
905
|
+
message.month16 = reader.int32();
|
|
906
|
+
continue;
|
|
907
|
+
case 17:
|
|
908
|
+
if (tag !== 136) {
|
|
909
|
+
break;
|
|
910
|
+
}
|
|
911
|
+
message.month17 = reader.int32();
|
|
912
|
+
continue;
|
|
913
|
+
case 18:
|
|
914
|
+
if (tag !== 144) {
|
|
915
|
+
break;
|
|
916
|
+
}
|
|
917
|
+
message.month18 = reader.int32();
|
|
918
|
+
continue;
|
|
919
|
+
case 19:
|
|
920
|
+
if (tag !== 152) {
|
|
921
|
+
break;
|
|
922
|
+
}
|
|
923
|
+
message.month19 = reader.int32();
|
|
924
|
+
continue;
|
|
925
|
+
case 20:
|
|
926
|
+
if (tag !== 160) {
|
|
927
|
+
break;
|
|
928
|
+
}
|
|
929
|
+
message.month20 = reader.int32();
|
|
930
|
+
continue;
|
|
931
|
+
case 21:
|
|
932
|
+
if (tag !== 168) {
|
|
933
|
+
break;
|
|
934
|
+
}
|
|
935
|
+
message.month21 = reader.int32();
|
|
936
|
+
continue;
|
|
937
|
+
case 22:
|
|
938
|
+
if (tag !== 176) {
|
|
939
|
+
break;
|
|
940
|
+
}
|
|
941
|
+
message.month22 = reader.int32();
|
|
942
|
+
continue;
|
|
943
|
+
case 23:
|
|
944
|
+
if (tag !== 184) {
|
|
945
|
+
break;
|
|
946
|
+
}
|
|
947
|
+
message.month23 = reader.int32();
|
|
948
|
+
continue;
|
|
949
|
+
case 24:
|
|
950
|
+
if (tag !== 192) {
|
|
951
|
+
break;
|
|
952
|
+
}
|
|
953
|
+
message.month24 = reader.int32();
|
|
954
|
+
continue;
|
|
955
|
+
}
|
|
956
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
957
|
+
break;
|
|
958
|
+
}
|
|
959
|
+
reader.skipType(tag & 7);
|
|
960
|
+
}
|
|
961
|
+
return message;
|
|
962
|
+
},
|
|
963
|
+
fromJSON(object) {
|
|
964
|
+
return {
|
|
965
|
+
month1: isSet(object.month1) ? globalThis.Number(object.month1) : 0,
|
|
966
|
+
month2: isSet(object.month2) ? globalThis.Number(object.month2) : 0,
|
|
967
|
+
month3: isSet(object.month3) ? globalThis.Number(object.month3) : 0,
|
|
968
|
+
month4: isSet(object.month4) ? globalThis.Number(object.month4) : 0,
|
|
969
|
+
month5: isSet(object.month5) ? globalThis.Number(object.month5) : 0,
|
|
970
|
+
month6: isSet(object.month6) ? globalThis.Number(object.month6) : 0,
|
|
971
|
+
month7: isSet(object.month7) ? globalThis.Number(object.month7) : 0,
|
|
972
|
+
month8: isSet(object.month8) ? globalThis.Number(object.month8) : 0,
|
|
973
|
+
month9: isSet(object.month9) ? globalThis.Number(object.month9) : 0,
|
|
974
|
+
month10: isSet(object.month10) ? globalThis.Number(object.month10) : 0,
|
|
975
|
+
month11: isSet(object.month11) ? globalThis.Number(object.month11) : 0,
|
|
976
|
+
month12: isSet(object.month12) ? globalThis.Number(object.month12) : 0,
|
|
977
|
+
month13: isSet(object.month13) ? globalThis.Number(object.month13) : 0,
|
|
978
|
+
month14: isSet(object.month14) ? globalThis.Number(object.month14) : 0,
|
|
979
|
+
month15: isSet(object.month15) ? globalThis.Number(object.month15) : 0,
|
|
980
|
+
month16: isSet(object.month16) ? globalThis.Number(object.month16) : 0,
|
|
981
|
+
month17: isSet(object.month17) ? globalThis.Number(object.month17) : 0,
|
|
982
|
+
month18: isSet(object.month18) ? globalThis.Number(object.month18) : 0,
|
|
983
|
+
month19: isSet(object.month19) ? globalThis.Number(object.month19) : 0,
|
|
984
|
+
month20: isSet(object.month20) ? globalThis.Number(object.month20) : 0,
|
|
985
|
+
month21: isSet(object.month21) ? globalThis.Number(object.month21) : 0,
|
|
986
|
+
month22: isSet(object.month22) ? globalThis.Number(object.month22) : 0,
|
|
987
|
+
month23: isSet(object.month23) ? globalThis.Number(object.month23) : 0,
|
|
988
|
+
month24: isSet(object.month24) ? globalThis.Number(object.month24) : 0,
|
|
989
|
+
};
|
|
990
|
+
},
|
|
991
|
+
toJSON(message) {
|
|
992
|
+
const obj = {};
|
|
993
|
+
if (message.month1 !== 0) {
|
|
994
|
+
obj.month1 = Math.round(message.month1);
|
|
995
|
+
}
|
|
996
|
+
if (message.month2 !== 0) {
|
|
997
|
+
obj.month2 = Math.round(message.month2);
|
|
998
|
+
}
|
|
999
|
+
if (message.month3 !== 0) {
|
|
1000
|
+
obj.month3 = Math.round(message.month3);
|
|
1001
|
+
}
|
|
1002
|
+
if (message.month4 !== 0) {
|
|
1003
|
+
obj.month4 = Math.round(message.month4);
|
|
1004
|
+
}
|
|
1005
|
+
if (message.month5 !== 0) {
|
|
1006
|
+
obj.month5 = Math.round(message.month5);
|
|
1007
|
+
}
|
|
1008
|
+
if (message.month6 !== 0) {
|
|
1009
|
+
obj.month6 = Math.round(message.month6);
|
|
1010
|
+
}
|
|
1011
|
+
if (message.month7 !== 0) {
|
|
1012
|
+
obj.month7 = Math.round(message.month7);
|
|
1013
|
+
}
|
|
1014
|
+
if (message.month8 !== 0) {
|
|
1015
|
+
obj.month8 = Math.round(message.month8);
|
|
1016
|
+
}
|
|
1017
|
+
if (message.month9 !== 0) {
|
|
1018
|
+
obj.month9 = Math.round(message.month9);
|
|
1019
|
+
}
|
|
1020
|
+
if (message.month10 !== 0) {
|
|
1021
|
+
obj.month10 = Math.round(message.month10);
|
|
1022
|
+
}
|
|
1023
|
+
if (message.month11 !== 0) {
|
|
1024
|
+
obj.month11 = Math.round(message.month11);
|
|
1025
|
+
}
|
|
1026
|
+
if (message.month12 !== 0) {
|
|
1027
|
+
obj.month12 = Math.round(message.month12);
|
|
1028
|
+
}
|
|
1029
|
+
if (message.month13 !== 0) {
|
|
1030
|
+
obj.month13 = Math.round(message.month13);
|
|
1031
|
+
}
|
|
1032
|
+
if (message.month14 !== 0) {
|
|
1033
|
+
obj.month14 = Math.round(message.month14);
|
|
1034
|
+
}
|
|
1035
|
+
if (message.month15 !== 0) {
|
|
1036
|
+
obj.month15 = Math.round(message.month15);
|
|
1037
|
+
}
|
|
1038
|
+
if (message.month16 !== 0) {
|
|
1039
|
+
obj.month16 = Math.round(message.month16);
|
|
1040
|
+
}
|
|
1041
|
+
if (message.month17 !== 0) {
|
|
1042
|
+
obj.month17 = Math.round(message.month17);
|
|
1043
|
+
}
|
|
1044
|
+
if (message.month18 !== 0) {
|
|
1045
|
+
obj.month18 = Math.round(message.month18);
|
|
1046
|
+
}
|
|
1047
|
+
if (message.month19 !== 0) {
|
|
1048
|
+
obj.month19 = Math.round(message.month19);
|
|
1049
|
+
}
|
|
1050
|
+
if (message.month20 !== 0) {
|
|
1051
|
+
obj.month20 = Math.round(message.month20);
|
|
1052
|
+
}
|
|
1053
|
+
if (message.month21 !== 0) {
|
|
1054
|
+
obj.month21 = Math.round(message.month21);
|
|
1055
|
+
}
|
|
1056
|
+
if (message.month22 !== 0) {
|
|
1057
|
+
obj.month22 = Math.round(message.month22);
|
|
1058
|
+
}
|
|
1059
|
+
if (message.month23 !== 0) {
|
|
1060
|
+
obj.month23 = Math.round(message.month23);
|
|
1061
|
+
}
|
|
1062
|
+
if (message.month24 !== 0) {
|
|
1063
|
+
obj.month24 = Math.round(message.month24);
|
|
1064
|
+
}
|
|
1065
|
+
return obj;
|
|
1066
|
+
},
|
|
1067
|
+
create(base) {
|
|
1068
|
+
return exports.DPD.fromPartial(base ?? {});
|
|
1069
|
+
},
|
|
1070
|
+
fromPartial(object) {
|
|
1071
|
+
const message = createBaseDPD();
|
|
1072
|
+
message.month1 = object.month1 ?? 0;
|
|
1073
|
+
message.month2 = object.month2 ?? 0;
|
|
1074
|
+
message.month3 = object.month3 ?? 0;
|
|
1075
|
+
message.month4 = object.month4 ?? 0;
|
|
1076
|
+
message.month5 = object.month5 ?? 0;
|
|
1077
|
+
message.month6 = object.month6 ?? 0;
|
|
1078
|
+
message.month7 = object.month7 ?? 0;
|
|
1079
|
+
message.month8 = object.month8 ?? 0;
|
|
1080
|
+
message.month9 = object.month9 ?? 0;
|
|
1081
|
+
message.month10 = object.month10 ?? 0;
|
|
1082
|
+
message.month11 = object.month11 ?? 0;
|
|
1083
|
+
message.month12 = object.month12 ?? 0;
|
|
1084
|
+
message.month13 = object.month13 ?? 0;
|
|
1085
|
+
message.month14 = object.month14 ?? 0;
|
|
1086
|
+
message.month15 = object.month15 ?? 0;
|
|
1087
|
+
message.month16 = object.month16 ?? 0;
|
|
1088
|
+
message.month17 = object.month17 ?? 0;
|
|
1089
|
+
message.month18 = object.month18 ?? 0;
|
|
1090
|
+
message.month19 = object.month19 ?? 0;
|
|
1091
|
+
message.month20 = object.month20 ?? 0;
|
|
1092
|
+
message.month21 = object.month21 ?? 0;
|
|
1093
|
+
message.month22 = object.month22 ?? 0;
|
|
1094
|
+
message.month23 = object.month23 ?? 0;
|
|
1095
|
+
message.month24 = object.month24 ?? 0;
|
|
1096
|
+
return message;
|
|
1097
|
+
},
|
|
1098
|
+
};
|
|
1099
|
+
function createBaseEnquiries() {
|
|
1100
|
+
return { month1: 0, month3: 0, month6: 0, month9: 0, month12: 0, month15: 0, month18: 0, month21: 0, month24: 0 };
|
|
1101
|
+
}
|
|
1102
|
+
exports.Enquiries = {
|
|
1103
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1104
|
+
if (message.month1 !== 0) {
|
|
1105
|
+
writer.uint32(8).int32(message.month1);
|
|
1106
|
+
}
|
|
1107
|
+
if (message.month3 !== 0) {
|
|
1108
|
+
writer.uint32(16).int32(message.month3);
|
|
1109
|
+
}
|
|
1110
|
+
if (message.month6 !== 0) {
|
|
1111
|
+
writer.uint32(24).int32(message.month6);
|
|
1112
|
+
}
|
|
1113
|
+
if (message.month9 !== 0) {
|
|
1114
|
+
writer.uint32(32).int32(message.month9);
|
|
1115
|
+
}
|
|
1116
|
+
if (message.month12 !== 0) {
|
|
1117
|
+
writer.uint32(40).int32(message.month12);
|
|
1118
|
+
}
|
|
1119
|
+
if (message.month15 !== 0) {
|
|
1120
|
+
writer.uint32(48).int32(message.month15);
|
|
1121
|
+
}
|
|
1122
|
+
if (message.month18 !== 0) {
|
|
1123
|
+
writer.uint32(56).int32(message.month18);
|
|
1124
|
+
}
|
|
1125
|
+
if (message.month21 !== 0) {
|
|
1126
|
+
writer.uint32(64).int32(message.month21);
|
|
1127
|
+
}
|
|
1128
|
+
if (message.month24 !== 0) {
|
|
1129
|
+
writer.uint32(72).int32(message.month24);
|
|
1130
|
+
}
|
|
1131
|
+
return writer;
|
|
1132
|
+
},
|
|
1133
|
+
decode(input, length) {
|
|
1134
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1135
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1136
|
+
const message = createBaseEnquiries();
|
|
1137
|
+
while (reader.pos < end) {
|
|
1138
|
+
const tag = reader.uint32();
|
|
1139
|
+
switch (tag >>> 3) {
|
|
1140
|
+
case 1:
|
|
1141
|
+
if (tag !== 8) {
|
|
1142
|
+
break;
|
|
1143
|
+
}
|
|
1144
|
+
message.month1 = reader.int32();
|
|
1145
|
+
continue;
|
|
1146
|
+
case 2:
|
|
1147
|
+
if (tag !== 16) {
|
|
1148
|
+
break;
|
|
1149
|
+
}
|
|
1150
|
+
message.month3 = reader.int32();
|
|
1151
|
+
continue;
|
|
1152
|
+
case 3:
|
|
1153
|
+
if (tag !== 24) {
|
|
1154
|
+
break;
|
|
1155
|
+
}
|
|
1156
|
+
message.month6 = reader.int32();
|
|
1157
|
+
continue;
|
|
1158
|
+
case 4:
|
|
1159
|
+
if (tag !== 32) {
|
|
1160
|
+
break;
|
|
1161
|
+
}
|
|
1162
|
+
message.month9 = reader.int32();
|
|
1163
|
+
continue;
|
|
1164
|
+
case 5:
|
|
1165
|
+
if (tag !== 40) {
|
|
1166
|
+
break;
|
|
1167
|
+
}
|
|
1168
|
+
message.month12 = reader.int32();
|
|
1169
|
+
continue;
|
|
1170
|
+
case 6:
|
|
1171
|
+
if (tag !== 48) {
|
|
1172
|
+
break;
|
|
1173
|
+
}
|
|
1174
|
+
message.month15 = reader.int32();
|
|
1175
|
+
continue;
|
|
1176
|
+
case 7:
|
|
1177
|
+
if (tag !== 56) {
|
|
1178
|
+
break;
|
|
1179
|
+
}
|
|
1180
|
+
message.month18 = reader.int32();
|
|
1181
|
+
continue;
|
|
1182
|
+
case 8:
|
|
1183
|
+
if (tag !== 64) {
|
|
1184
|
+
break;
|
|
1185
|
+
}
|
|
1186
|
+
message.month21 = reader.int32();
|
|
1187
|
+
continue;
|
|
1188
|
+
case 9:
|
|
1189
|
+
if (tag !== 72) {
|
|
1190
|
+
break;
|
|
1191
|
+
}
|
|
1192
|
+
message.month24 = reader.int32();
|
|
1193
|
+
continue;
|
|
1194
|
+
}
|
|
1195
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1196
|
+
break;
|
|
1197
|
+
}
|
|
1198
|
+
reader.skipType(tag & 7);
|
|
1199
|
+
}
|
|
1200
|
+
return message;
|
|
1201
|
+
},
|
|
1202
|
+
fromJSON(object) {
|
|
1203
|
+
return {
|
|
1204
|
+
month1: isSet(object.month1) ? globalThis.Number(object.month1) : 0,
|
|
1205
|
+
month3: isSet(object.month3) ? globalThis.Number(object.month3) : 0,
|
|
1206
|
+
month6: isSet(object.month6) ? globalThis.Number(object.month6) : 0,
|
|
1207
|
+
month9: isSet(object.month9) ? globalThis.Number(object.month9) : 0,
|
|
1208
|
+
month12: isSet(object.month12) ? globalThis.Number(object.month12) : 0,
|
|
1209
|
+
month15: isSet(object.month15) ? globalThis.Number(object.month15) : 0,
|
|
1210
|
+
month18: isSet(object.month18) ? globalThis.Number(object.month18) : 0,
|
|
1211
|
+
month21: isSet(object.month21) ? globalThis.Number(object.month21) : 0,
|
|
1212
|
+
month24: isSet(object.month24) ? globalThis.Number(object.month24) : 0,
|
|
1213
|
+
};
|
|
1214
|
+
},
|
|
1215
|
+
toJSON(message) {
|
|
1216
|
+
const obj = {};
|
|
1217
|
+
if (message.month1 !== 0) {
|
|
1218
|
+
obj.month1 = Math.round(message.month1);
|
|
1219
|
+
}
|
|
1220
|
+
if (message.month3 !== 0) {
|
|
1221
|
+
obj.month3 = Math.round(message.month3);
|
|
1222
|
+
}
|
|
1223
|
+
if (message.month6 !== 0) {
|
|
1224
|
+
obj.month6 = Math.round(message.month6);
|
|
1225
|
+
}
|
|
1226
|
+
if (message.month9 !== 0) {
|
|
1227
|
+
obj.month9 = Math.round(message.month9);
|
|
1228
|
+
}
|
|
1229
|
+
if (message.month12 !== 0) {
|
|
1230
|
+
obj.month12 = Math.round(message.month12);
|
|
1231
|
+
}
|
|
1232
|
+
if (message.month15 !== 0) {
|
|
1233
|
+
obj.month15 = Math.round(message.month15);
|
|
1234
|
+
}
|
|
1235
|
+
if (message.month18 !== 0) {
|
|
1236
|
+
obj.month18 = Math.round(message.month18);
|
|
1237
|
+
}
|
|
1238
|
+
if (message.month21 !== 0) {
|
|
1239
|
+
obj.month21 = Math.round(message.month21);
|
|
1240
|
+
}
|
|
1241
|
+
if (message.month24 !== 0) {
|
|
1242
|
+
obj.month24 = Math.round(message.month24);
|
|
1243
|
+
}
|
|
1244
|
+
return obj;
|
|
1245
|
+
},
|
|
1246
|
+
create(base) {
|
|
1247
|
+
return exports.Enquiries.fromPartial(base ?? {});
|
|
1248
|
+
},
|
|
1249
|
+
fromPartial(object) {
|
|
1250
|
+
const message = createBaseEnquiries();
|
|
1251
|
+
message.month1 = object.month1 ?? 0;
|
|
1252
|
+
message.month3 = object.month3 ?? 0;
|
|
1253
|
+
message.month6 = object.month6 ?? 0;
|
|
1254
|
+
message.month9 = object.month9 ?? 0;
|
|
1255
|
+
message.month12 = object.month12 ?? 0;
|
|
1256
|
+
message.month15 = object.month15 ?? 0;
|
|
1257
|
+
message.month18 = object.month18 ?? 0;
|
|
1258
|
+
message.month21 = object.month21 ?? 0;
|
|
1259
|
+
message.month24 = object.month24 ?? 0;
|
|
1260
|
+
return message;
|
|
1261
|
+
},
|
|
1262
|
+
};
|
|
1263
|
+
function createBasedpdChar() {
|
|
1264
|
+
return {
|
|
1265
|
+
month1: false,
|
|
1266
|
+
month3: false,
|
|
1267
|
+
month6: false,
|
|
1268
|
+
month9: false,
|
|
1269
|
+
month12: false,
|
|
1270
|
+
month15: false,
|
|
1271
|
+
month18: false,
|
|
1272
|
+
month21: false,
|
|
1273
|
+
month24: false,
|
|
1274
|
+
};
|
|
1275
|
+
}
|
|
1276
|
+
exports.dpdChar = {
|
|
1277
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1278
|
+
if (message.month1 !== false) {
|
|
1279
|
+
writer.uint32(8).bool(message.month1);
|
|
1280
|
+
}
|
|
1281
|
+
if (message.month3 !== false) {
|
|
1282
|
+
writer.uint32(16).bool(message.month3);
|
|
1283
|
+
}
|
|
1284
|
+
if (message.month6 !== false) {
|
|
1285
|
+
writer.uint32(24).bool(message.month6);
|
|
1286
|
+
}
|
|
1287
|
+
if (message.month9 !== false) {
|
|
1288
|
+
writer.uint32(32).bool(message.month9);
|
|
1289
|
+
}
|
|
1290
|
+
if (message.month12 !== false) {
|
|
1291
|
+
writer.uint32(40).bool(message.month12);
|
|
1292
|
+
}
|
|
1293
|
+
if (message.month15 !== false) {
|
|
1294
|
+
writer.uint32(48).bool(message.month15);
|
|
1295
|
+
}
|
|
1296
|
+
if (message.month18 !== false) {
|
|
1297
|
+
writer.uint32(56).bool(message.month18);
|
|
1298
|
+
}
|
|
1299
|
+
if (message.month21 !== false) {
|
|
1300
|
+
writer.uint32(64).bool(message.month21);
|
|
1301
|
+
}
|
|
1302
|
+
if (message.month24 !== false) {
|
|
1303
|
+
writer.uint32(72).bool(message.month24);
|
|
1304
|
+
}
|
|
1305
|
+
return writer;
|
|
1306
|
+
},
|
|
1307
|
+
decode(input, length) {
|
|
1308
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1309
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1310
|
+
const message = createBasedpdChar();
|
|
1311
|
+
while (reader.pos < end) {
|
|
1312
|
+
const tag = reader.uint32();
|
|
1313
|
+
switch (tag >>> 3) {
|
|
1314
|
+
case 1:
|
|
1315
|
+
if (tag !== 8) {
|
|
1316
|
+
break;
|
|
1317
|
+
}
|
|
1318
|
+
message.month1 = reader.bool();
|
|
1319
|
+
continue;
|
|
1320
|
+
case 2:
|
|
1321
|
+
if (tag !== 16) {
|
|
1322
|
+
break;
|
|
1323
|
+
}
|
|
1324
|
+
message.month3 = reader.bool();
|
|
1325
|
+
continue;
|
|
1326
|
+
case 3:
|
|
1327
|
+
if (tag !== 24) {
|
|
1328
|
+
break;
|
|
1329
|
+
}
|
|
1330
|
+
message.month6 = reader.bool();
|
|
1331
|
+
continue;
|
|
1332
|
+
case 4:
|
|
1333
|
+
if (tag !== 32) {
|
|
1334
|
+
break;
|
|
1335
|
+
}
|
|
1336
|
+
message.month9 = reader.bool();
|
|
1337
|
+
continue;
|
|
1338
|
+
case 5:
|
|
1339
|
+
if (tag !== 40) {
|
|
1340
|
+
break;
|
|
1341
|
+
}
|
|
1342
|
+
message.month12 = reader.bool();
|
|
1343
|
+
continue;
|
|
1344
|
+
case 6:
|
|
1345
|
+
if (tag !== 48) {
|
|
1346
|
+
break;
|
|
1347
|
+
}
|
|
1348
|
+
message.month15 = reader.bool();
|
|
1349
|
+
continue;
|
|
1350
|
+
case 7:
|
|
1351
|
+
if (tag !== 56) {
|
|
1352
|
+
break;
|
|
1353
|
+
}
|
|
1354
|
+
message.month18 = reader.bool();
|
|
1355
|
+
continue;
|
|
1356
|
+
case 8:
|
|
1357
|
+
if (tag !== 64) {
|
|
1358
|
+
break;
|
|
1359
|
+
}
|
|
1360
|
+
message.month21 = reader.bool();
|
|
1361
|
+
continue;
|
|
1362
|
+
case 9:
|
|
1363
|
+
if (tag !== 72) {
|
|
1364
|
+
break;
|
|
1365
|
+
}
|
|
1366
|
+
message.month24 = reader.bool();
|
|
1367
|
+
continue;
|
|
1368
|
+
}
|
|
1369
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1370
|
+
break;
|
|
1371
|
+
}
|
|
1372
|
+
reader.skipType(tag & 7);
|
|
1373
|
+
}
|
|
1374
|
+
return message;
|
|
1375
|
+
},
|
|
1376
|
+
fromJSON(object) {
|
|
1377
|
+
return {
|
|
1378
|
+
month1: isSet(object.month1) ? globalThis.Boolean(object.month1) : false,
|
|
1379
|
+
month3: isSet(object.month3) ? globalThis.Boolean(object.month3) : false,
|
|
1380
|
+
month6: isSet(object.month6) ? globalThis.Boolean(object.month6) : false,
|
|
1381
|
+
month9: isSet(object.month9) ? globalThis.Boolean(object.month9) : false,
|
|
1382
|
+
month12: isSet(object.month12) ? globalThis.Boolean(object.month12) : false,
|
|
1383
|
+
month15: isSet(object.month15) ? globalThis.Boolean(object.month15) : false,
|
|
1384
|
+
month18: isSet(object.month18) ? globalThis.Boolean(object.month18) : false,
|
|
1385
|
+
month21: isSet(object.month21) ? globalThis.Boolean(object.month21) : false,
|
|
1386
|
+
month24: isSet(object.month24) ? globalThis.Boolean(object.month24) : false,
|
|
1387
|
+
};
|
|
1388
|
+
},
|
|
1389
|
+
toJSON(message) {
|
|
1390
|
+
const obj = {};
|
|
1391
|
+
if (message.month1 !== false) {
|
|
1392
|
+
obj.month1 = message.month1;
|
|
1393
|
+
}
|
|
1394
|
+
if (message.month3 !== false) {
|
|
1395
|
+
obj.month3 = message.month3;
|
|
1396
|
+
}
|
|
1397
|
+
if (message.month6 !== false) {
|
|
1398
|
+
obj.month6 = message.month6;
|
|
1399
|
+
}
|
|
1400
|
+
if (message.month9 !== false) {
|
|
1401
|
+
obj.month9 = message.month9;
|
|
1402
|
+
}
|
|
1403
|
+
if (message.month12 !== false) {
|
|
1404
|
+
obj.month12 = message.month12;
|
|
1405
|
+
}
|
|
1406
|
+
if (message.month15 !== false) {
|
|
1407
|
+
obj.month15 = message.month15;
|
|
1408
|
+
}
|
|
1409
|
+
if (message.month18 !== false) {
|
|
1410
|
+
obj.month18 = message.month18;
|
|
1411
|
+
}
|
|
1412
|
+
if (message.month21 !== false) {
|
|
1413
|
+
obj.month21 = message.month21;
|
|
1414
|
+
}
|
|
1415
|
+
if (message.month24 !== false) {
|
|
1416
|
+
obj.month24 = message.month24;
|
|
1417
|
+
}
|
|
1418
|
+
return obj;
|
|
1419
|
+
},
|
|
1420
|
+
create(base) {
|
|
1421
|
+
return exports.dpdChar.fromPartial(base ?? {});
|
|
1422
|
+
},
|
|
1423
|
+
fromPartial(object) {
|
|
1424
|
+
const message = createBasedpdChar();
|
|
1425
|
+
message.month1 = object.month1 ?? false;
|
|
1426
|
+
message.month3 = object.month3 ?? false;
|
|
1427
|
+
message.month6 = object.month6 ?? false;
|
|
1428
|
+
message.month9 = object.month9 ?? false;
|
|
1429
|
+
message.month12 = object.month12 ?? false;
|
|
1430
|
+
message.month15 = object.month15 ?? false;
|
|
1431
|
+
message.month18 = object.month18 ?? false;
|
|
1432
|
+
message.month21 = object.month21 ?? false;
|
|
1433
|
+
message.month24 = object.month24 ?? false;
|
|
1434
|
+
return message;
|
|
1435
|
+
},
|
|
1436
|
+
};
|
|
1437
|
+
function createBaseDPDCounts() {
|
|
1438
|
+
return { dpd1to30: 0, dpd36month: 0, dpd90_plus: 0, dpd31to90: 0 };
|
|
1439
|
+
}
|
|
1440
|
+
exports.DPDCounts = {
|
|
1441
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1442
|
+
if (message.dpd1to30 !== 0) {
|
|
1443
|
+
writer.uint32(8).int32(message.dpd1to30);
|
|
1444
|
+
}
|
|
1445
|
+
if (message.dpd36month !== 0) {
|
|
1446
|
+
writer.uint32(16).int32(message.dpd36month);
|
|
1447
|
+
}
|
|
1448
|
+
if (message.dpd90_plus !== 0) {
|
|
1449
|
+
writer.uint32(24).int32(message.dpd90_plus);
|
|
1450
|
+
}
|
|
1451
|
+
if (message.dpd31to90 !== 0) {
|
|
1452
|
+
writer.uint32(32).int32(message.dpd31to90);
|
|
1453
|
+
}
|
|
1454
|
+
return writer;
|
|
1455
|
+
},
|
|
1456
|
+
decode(input, length) {
|
|
1457
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1458
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1459
|
+
const message = createBaseDPDCounts();
|
|
1460
|
+
while (reader.pos < end) {
|
|
1461
|
+
const tag = reader.uint32();
|
|
1462
|
+
switch (tag >>> 3) {
|
|
1463
|
+
case 1:
|
|
1464
|
+
if (tag !== 8) {
|
|
1465
|
+
break;
|
|
1466
|
+
}
|
|
1467
|
+
message.dpd1to30 = reader.int32();
|
|
1468
|
+
continue;
|
|
1469
|
+
case 2:
|
|
1470
|
+
if (tag !== 16) {
|
|
1471
|
+
break;
|
|
1472
|
+
}
|
|
1473
|
+
message.dpd36month = reader.int32();
|
|
1474
|
+
continue;
|
|
1475
|
+
case 3:
|
|
1476
|
+
if (tag !== 24) {
|
|
1477
|
+
break;
|
|
1478
|
+
}
|
|
1479
|
+
message.dpd90_plus = reader.int32();
|
|
1480
|
+
continue;
|
|
1481
|
+
case 4:
|
|
1482
|
+
if (tag !== 32) {
|
|
1483
|
+
break;
|
|
1484
|
+
}
|
|
1485
|
+
message.dpd31to90 = reader.int32();
|
|
1486
|
+
continue;
|
|
1487
|
+
}
|
|
1488
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1489
|
+
break;
|
|
1490
|
+
}
|
|
1491
|
+
reader.skipType(tag & 7);
|
|
1492
|
+
}
|
|
1493
|
+
return message;
|
|
1494
|
+
},
|
|
1495
|
+
fromJSON(object) {
|
|
1496
|
+
return {
|
|
1497
|
+
dpd1to30: isSet(object.dpd1to30) ? globalThis.Number(object.dpd1to30) : 0,
|
|
1498
|
+
dpd36month: isSet(object.dpd36month) ? globalThis.Number(object.dpd36month) : 0,
|
|
1499
|
+
dpd90_plus: isSet(object.dpd90_plus) ? globalThis.Number(object.dpd90_plus) : 0,
|
|
1500
|
+
dpd31to90: isSet(object.dpd31to90) ? globalThis.Number(object.dpd31to90) : 0,
|
|
1501
|
+
};
|
|
1502
|
+
},
|
|
1503
|
+
toJSON(message) {
|
|
1504
|
+
const obj = {};
|
|
1505
|
+
if (message.dpd1to30 !== 0) {
|
|
1506
|
+
obj.dpd1to30 = Math.round(message.dpd1to30);
|
|
1507
|
+
}
|
|
1508
|
+
if (message.dpd36month !== 0) {
|
|
1509
|
+
obj.dpd36month = Math.round(message.dpd36month);
|
|
1510
|
+
}
|
|
1511
|
+
if (message.dpd90_plus !== 0) {
|
|
1512
|
+
obj.dpd90_plus = Math.round(message.dpd90_plus);
|
|
1513
|
+
}
|
|
1514
|
+
if (message.dpd31to90 !== 0) {
|
|
1515
|
+
obj.dpd31to90 = Math.round(message.dpd31to90);
|
|
1516
|
+
}
|
|
1517
|
+
return obj;
|
|
1518
|
+
},
|
|
1519
|
+
create(base) {
|
|
1520
|
+
return exports.DPDCounts.fromPartial(base ?? {});
|
|
1521
|
+
},
|
|
1522
|
+
fromPartial(object) {
|
|
1523
|
+
const message = createBaseDPDCounts();
|
|
1524
|
+
message.dpd1to30 = object.dpd1to30 ?? 0;
|
|
1525
|
+
message.dpd36month = object.dpd36month ?? 0;
|
|
1526
|
+
message.dpd90_plus = object.dpd90_plus ?? 0;
|
|
1527
|
+
message.dpd31to90 = object.dpd31to90 ?? 0;
|
|
1528
|
+
return message;
|
|
1529
|
+
},
|
|
1530
|
+
};
|
|
1531
|
+
function createBaseEnquiriesData() {
|
|
1532
|
+
return { date_reported: "", enquiry_purpose: 0, reporting_member: "", loan_type: undefined };
|
|
1533
|
+
}
|
|
1534
|
+
exports.EnquiriesData = {
|
|
1535
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1536
|
+
if (message.date_reported !== "") {
|
|
1537
|
+
writer.uint32(10).string(message.date_reported);
|
|
1538
|
+
}
|
|
1539
|
+
if (message.enquiry_purpose !== 0) {
|
|
1540
|
+
writer.uint32(16).int32(message.enquiry_purpose);
|
|
1541
|
+
}
|
|
1542
|
+
if (message.reporting_member !== "") {
|
|
1543
|
+
writer.uint32(26).string(message.reporting_member);
|
|
1544
|
+
}
|
|
1545
|
+
if (message.loan_type !== undefined) {
|
|
1546
|
+
writer.uint32(34).string(message.loan_type);
|
|
1547
|
+
}
|
|
1548
|
+
return writer;
|
|
1549
|
+
},
|
|
1550
|
+
decode(input, length) {
|
|
1551
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1552
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1553
|
+
const message = createBaseEnquiriesData();
|
|
1554
|
+
while (reader.pos < end) {
|
|
1555
|
+
const tag = reader.uint32();
|
|
1556
|
+
switch (tag >>> 3) {
|
|
1557
|
+
case 1:
|
|
1558
|
+
if (tag !== 10) {
|
|
1559
|
+
break;
|
|
1560
|
+
}
|
|
1561
|
+
message.date_reported = reader.string();
|
|
1562
|
+
continue;
|
|
1563
|
+
case 2:
|
|
1564
|
+
if (tag !== 16) {
|
|
1565
|
+
break;
|
|
1566
|
+
}
|
|
1567
|
+
message.enquiry_purpose = reader.int32();
|
|
1568
|
+
continue;
|
|
1569
|
+
case 3:
|
|
1570
|
+
if (tag !== 26) {
|
|
1571
|
+
break;
|
|
1572
|
+
}
|
|
1573
|
+
message.reporting_member = reader.string();
|
|
1574
|
+
continue;
|
|
1575
|
+
case 4:
|
|
1576
|
+
if (tag !== 34) {
|
|
1577
|
+
break;
|
|
1578
|
+
}
|
|
1579
|
+
message.loan_type = reader.string();
|
|
1580
|
+
continue;
|
|
1581
|
+
}
|
|
1582
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1583
|
+
break;
|
|
1584
|
+
}
|
|
1585
|
+
reader.skipType(tag & 7);
|
|
1586
|
+
}
|
|
1587
|
+
return message;
|
|
1588
|
+
},
|
|
1589
|
+
fromJSON(object) {
|
|
1590
|
+
return {
|
|
1591
|
+
date_reported: isSet(object.date_reported) ? globalThis.String(object.date_reported) : "",
|
|
1592
|
+
enquiry_purpose: isSet(object.enquiry_purpose) ? globalThis.Number(object.enquiry_purpose) : 0,
|
|
1593
|
+
reporting_member: isSet(object.reporting_member) ? globalThis.String(object.reporting_member) : "",
|
|
1594
|
+
loan_type: isSet(object.loan_type) ? globalThis.String(object.loan_type) : undefined,
|
|
1595
|
+
};
|
|
1596
|
+
},
|
|
1597
|
+
toJSON(message) {
|
|
1598
|
+
const obj = {};
|
|
1599
|
+
if (message.date_reported !== "") {
|
|
1600
|
+
obj.date_reported = message.date_reported;
|
|
1601
|
+
}
|
|
1602
|
+
if (message.enquiry_purpose !== 0) {
|
|
1603
|
+
obj.enquiry_purpose = Math.round(message.enquiry_purpose);
|
|
1604
|
+
}
|
|
1605
|
+
if (message.reporting_member !== "") {
|
|
1606
|
+
obj.reporting_member = message.reporting_member;
|
|
1607
|
+
}
|
|
1608
|
+
if (message.loan_type !== undefined) {
|
|
1609
|
+
obj.loan_type = message.loan_type;
|
|
1610
|
+
}
|
|
1611
|
+
return obj;
|
|
1612
|
+
},
|
|
1613
|
+
create(base) {
|
|
1614
|
+
return exports.EnquiriesData.fromPartial(base ?? {});
|
|
1615
|
+
},
|
|
1616
|
+
fromPartial(object) {
|
|
1617
|
+
const message = createBaseEnquiriesData();
|
|
1618
|
+
message.date_reported = object.date_reported ?? "";
|
|
1619
|
+
message.enquiry_purpose = object.enquiry_purpose ?? 0;
|
|
1620
|
+
message.reporting_member = object.reporting_member ?? "";
|
|
1621
|
+
message.loan_type = object.loan_type ?? undefined;
|
|
1622
|
+
return message;
|
|
1623
|
+
},
|
|
1624
|
+
};
|
|
1625
|
+
function longToNumber(long) {
|
|
1626
|
+
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
1627
|
+
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
1628
|
+
}
|
|
1629
|
+
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
1630
|
+
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
1631
|
+
}
|
|
1632
|
+
return long.toNumber();
|
|
1633
|
+
}
|
|
1634
|
+
if (minimal_1.default.util.Long !== long_1.default) {
|
|
1635
|
+
minimal_1.default.util.Long = long_1.default;
|
|
1636
|
+
minimal_1.default.configure();
|
|
1637
|
+
}
|
|
1638
|
+
function isSet(value) {
|
|
1639
|
+
return value !== null && value !== undefined;
|
|
1640
|
+
}
|