@stashfin/grpc 1.2.229 → 1.2.230
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/ts/customers/sendemailtoken.d.ts +35 -0
- package/ts/customers/sendemailtoken.js +117 -0
- package/ts/customers/skipdlrcscreen.d.ts +35 -0
- package/ts/customers/skipdlrcscreen.js +117 -0
- package/ts/customers/step1.d.ts +69 -0
- package/ts/customers/step1.js +395 -0
- package/ts/customers/step10.d.ts +73 -0
- package/ts/customers/step10.js +459 -0
- package/ts/customers/step2.d.ts +68 -0
- package/ts/customers/step2.js +381 -0
- package/ts/customers/step7.d.ts +68 -0
- package/ts/customers/step7.js +381 -0
- package/ts/customers/step8.d.ts +69 -0
- package/ts/customers/step8.js +395 -0
- package/ts/customers/step9.d.ts +75 -0
- package/ts/customers/step9.js +489 -0
- package/ts/customers/stepstatic.d.ts +66 -0
- package/ts/customers/stepstatic.js +354 -0
- package/ts/customers/verifyemail.d.ts +35 -0
- package/ts/customers/verifyemail.js +117 -0
- package/ts/google/protobuf/timestamp.d.ts +127 -0
- package/ts/google/protobuf/timestamp.js +97 -0
- package/ts/growth/checkplanstatus.d.ts +4 -5
- package/ts/growth/checkplanstatus.js +6 -19
- package/ts/growth/getattachplandetails.d.ts +4 -5
- package/ts/growth/getattachplandetails.js +6 -19
- package/ts/growth/getchrplans.d.ts +4 -5
- package/ts/growth/getchrplans.js +6 -19
- package/ts/growth/getcredithealthreport.d.ts +30 -3
- package/ts/growth/getcredithealthreport.js +213 -35
- package/ts/growth/initiatepayment.d.ts +0 -1
- package/ts/growth/initiatepayment.js +9 -23
- package/ts/bureau/getbureaulist.d.ts +0 -52
- package/ts/bureau/getbureaulist.js +0 -276
|
@@ -1,276 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
-
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.1
|
|
6
|
-
// source: bureau/getbureaulist.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.Report = exports.bureauListResponse = exports.bureauListRequest = 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.getbureaulist";
|
|
16
|
-
function createBasebureauListRequest() {
|
|
17
|
-
return { customer_id: 0 };
|
|
18
|
-
}
|
|
19
|
-
exports.bureauListRequest = {
|
|
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
|
-
return writer;
|
|
25
|
-
},
|
|
26
|
-
decode(input, length) {
|
|
27
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
28
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
29
|
-
const message = createBasebureauListRequest();
|
|
30
|
-
while (reader.pos < end) {
|
|
31
|
-
const tag = reader.uint32();
|
|
32
|
-
switch (tag >>> 3) {
|
|
33
|
-
case 1:
|
|
34
|
-
if (tag !== 8) {
|
|
35
|
-
break;
|
|
36
|
-
}
|
|
37
|
-
message.customer_id = longToNumber(reader.int64());
|
|
38
|
-
continue;
|
|
39
|
-
}
|
|
40
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
41
|
-
break;
|
|
42
|
-
}
|
|
43
|
-
reader.skipType(tag & 7);
|
|
44
|
-
}
|
|
45
|
-
return message;
|
|
46
|
-
},
|
|
47
|
-
fromJSON(object) {
|
|
48
|
-
return { customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0 };
|
|
49
|
-
},
|
|
50
|
-
toJSON(message) {
|
|
51
|
-
const obj = {};
|
|
52
|
-
if (message.customer_id !== 0) {
|
|
53
|
-
obj.customer_id = Math.round(message.customer_id);
|
|
54
|
-
}
|
|
55
|
-
return obj;
|
|
56
|
-
},
|
|
57
|
-
create(base) {
|
|
58
|
-
return exports.bureauListRequest.fromPartial(base ?? {});
|
|
59
|
-
},
|
|
60
|
-
fromPartial(object) {
|
|
61
|
-
const message = createBasebureauListRequest();
|
|
62
|
-
message.customer_id = object.customer_id ?? 0;
|
|
63
|
-
return message;
|
|
64
|
-
},
|
|
65
|
-
};
|
|
66
|
-
function createBasebureauListResponse() {
|
|
67
|
-
return { status: "", data: [] };
|
|
68
|
-
}
|
|
69
|
-
exports.bureauListResponse = {
|
|
70
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
71
|
-
if (message.status !== "") {
|
|
72
|
-
writer.uint32(10).string(message.status);
|
|
73
|
-
}
|
|
74
|
-
for (const v of message.data) {
|
|
75
|
-
exports.Report.encode(v, writer.uint32(18).fork()).ldelim();
|
|
76
|
-
}
|
|
77
|
-
return writer;
|
|
78
|
-
},
|
|
79
|
-
decode(input, length) {
|
|
80
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
81
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
82
|
-
const message = createBasebureauListResponse();
|
|
83
|
-
while (reader.pos < end) {
|
|
84
|
-
const tag = reader.uint32();
|
|
85
|
-
switch (tag >>> 3) {
|
|
86
|
-
case 1:
|
|
87
|
-
if (tag !== 10) {
|
|
88
|
-
break;
|
|
89
|
-
}
|
|
90
|
-
message.status = reader.string();
|
|
91
|
-
continue;
|
|
92
|
-
case 2:
|
|
93
|
-
if (tag !== 18) {
|
|
94
|
-
break;
|
|
95
|
-
}
|
|
96
|
-
message.data.push(exports.Report.decode(reader, reader.uint32()));
|
|
97
|
-
continue;
|
|
98
|
-
}
|
|
99
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
100
|
-
break;
|
|
101
|
-
}
|
|
102
|
-
reader.skipType(tag & 7);
|
|
103
|
-
}
|
|
104
|
-
return message;
|
|
105
|
-
},
|
|
106
|
-
fromJSON(object) {
|
|
107
|
-
return {
|
|
108
|
-
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
109
|
-
data: globalThis.Array.isArray(object?.data) ? object.data.map((e) => exports.Report.fromJSON(e)) : [],
|
|
110
|
-
};
|
|
111
|
-
},
|
|
112
|
-
toJSON(message) {
|
|
113
|
-
const obj = {};
|
|
114
|
-
if (message.status !== "") {
|
|
115
|
-
obj.status = message.status;
|
|
116
|
-
}
|
|
117
|
-
if (message.data?.length) {
|
|
118
|
-
obj.data = message.data.map((e) => exports.Report.toJSON(e));
|
|
119
|
-
}
|
|
120
|
-
return obj;
|
|
121
|
-
},
|
|
122
|
-
create(base) {
|
|
123
|
-
return exports.bureauListResponse.fromPartial(base ?? {});
|
|
124
|
-
},
|
|
125
|
-
fromPartial(object) {
|
|
126
|
-
const message = createBasebureauListResponse();
|
|
127
|
-
message.status = object.status ?? "";
|
|
128
|
-
message.data = object.data?.map((e) => exports.Report.fromPartial(e)) || [];
|
|
129
|
-
return message;
|
|
130
|
-
},
|
|
131
|
-
};
|
|
132
|
-
function createBaseReport() {
|
|
133
|
-
return {
|
|
134
|
-
id: undefined,
|
|
135
|
-
score: undefined,
|
|
136
|
-
created_at: undefined,
|
|
137
|
-
bureau_id: undefined,
|
|
138
|
-
report_path: undefined,
|
|
139
|
-
product_code: undefined,
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
exports.Report = {
|
|
143
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
144
|
-
if (message.id !== undefined) {
|
|
145
|
-
writer.uint32(8).int64(message.id);
|
|
146
|
-
}
|
|
147
|
-
if (message.score !== undefined) {
|
|
148
|
-
writer.uint32(16).int32(message.score);
|
|
149
|
-
}
|
|
150
|
-
if (message.created_at !== undefined) {
|
|
151
|
-
writer.uint32(34).string(message.created_at);
|
|
152
|
-
}
|
|
153
|
-
if (message.bureau_id !== undefined) {
|
|
154
|
-
writer.uint32(40).int32(message.bureau_id);
|
|
155
|
-
}
|
|
156
|
-
if (message.report_path !== undefined) {
|
|
157
|
-
writer.uint32(50).string(message.report_path);
|
|
158
|
-
}
|
|
159
|
-
if (message.product_code !== undefined) {
|
|
160
|
-
writer.uint32(58).string(message.product_code);
|
|
161
|
-
}
|
|
162
|
-
return writer;
|
|
163
|
-
},
|
|
164
|
-
decode(input, length) {
|
|
165
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
166
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
167
|
-
const message = createBaseReport();
|
|
168
|
-
while (reader.pos < end) {
|
|
169
|
-
const tag = reader.uint32();
|
|
170
|
-
switch (tag >>> 3) {
|
|
171
|
-
case 1:
|
|
172
|
-
if (tag !== 8) {
|
|
173
|
-
break;
|
|
174
|
-
}
|
|
175
|
-
message.id = longToNumber(reader.int64());
|
|
176
|
-
continue;
|
|
177
|
-
case 2:
|
|
178
|
-
if (tag !== 16) {
|
|
179
|
-
break;
|
|
180
|
-
}
|
|
181
|
-
message.score = reader.int32();
|
|
182
|
-
continue;
|
|
183
|
-
case 4:
|
|
184
|
-
if (tag !== 34) {
|
|
185
|
-
break;
|
|
186
|
-
}
|
|
187
|
-
message.created_at = reader.string();
|
|
188
|
-
continue;
|
|
189
|
-
case 5:
|
|
190
|
-
if (tag !== 40) {
|
|
191
|
-
break;
|
|
192
|
-
}
|
|
193
|
-
message.bureau_id = reader.int32();
|
|
194
|
-
continue;
|
|
195
|
-
case 6:
|
|
196
|
-
if (tag !== 50) {
|
|
197
|
-
break;
|
|
198
|
-
}
|
|
199
|
-
message.report_path = reader.string();
|
|
200
|
-
continue;
|
|
201
|
-
case 7:
|
|
202
|
-
if (tag !== 58) {
|
|
203
|
-
break;
|
|
204
|
-
}
|
|
205
|
-
message.product_code = reader.string();
|
|
206
|
-
continue;
|
|
207
|
-
}
|
|
208
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
209
|
-
break;
|
|
210
|
-
}
|
|
211
|
-
reader.skipType(tag & 7);
|
|
212
|
-
}
|
|
213
|
-
return message;
|
|
214
|
-
},
|
|
215
|
-
fromJSON(object) {
|
|
216
|
-
return {
|
|
217
|
-
id: isSet(object.id) ? globalThis.Number(object.id) : undefined,
|
|
218
|
-
score: isSet(object.score) ? globalThis.Number(object.score) : undefined,
|
|
219
|
-
created_at: isSet(object.created_at) ? globalThis.String(object.created_at) : undefined,
|
|
220
|
-
bureau_id: isSet(object.bureau_id) ? globalThis.Number(object.bureau_id) : undefined,
|
|
221
|
-
report_path: isSet(object.report_path) ? globalThis.String(object.report_path) : undefined,
|
|
222
|
-
product_code: isSet(object.product_code) ? globalThis.String(object.product_code) : undefined,
|
|
223
|
-
};
|
|
224
|
-
},
|
|
225
|
-
toJSON(message) {
|
|
226
|
-
const obj = {};
|
|
227
|
-
if (message.id !== undefined) {
|
|
228
|
-
obj.id = Math.round(message.id);
|
|
229
|
-
}
|
|
230
|
-
if (message.score !== undefined) {
|
|
231
|
-
obj.score = Math.round(message.score);
|
|
232
|
-
}
|
|
233
|
-
if (message.created_at !== undefined) {
|
|
234
|
-
obj.created_at = message.created_at;
|
|
235
|
-
}
|
|
236
|
-
if (message.bureau_id !== undefined) {
|
|
237
|
-
obj.bureau_id = Math.round(message.bureau_id);
|
|
238
|
-
}
|
|
239
|
-
if (message.report_path !== undefined) {
|
|
240
|
-
obj.report_path = message.report_path;
|
|
241
|
-
}
|
|
242
|
-
if (message.product_code !== undefined) {
|
|
243
|
-
obj.product_code = message.product_code;
|
|
244
|
-
}
|
|
245
|
-
return obj;
|
|
246
|
-
},
|
|
247
|
-
create(base) {
|
|
248
|
-
return exports.Report.fromPartial(base ?? {});
|
|
249
|
-
},
|
|
250
|
-
fromPartial(object) {
|
|
251
|
-
const message = createBaseReport();
|
|
252
|
-
message.id = object.id ?? undefined;
|
|
253
|
-
message.score = object.score ?? undefined;
|
|
254
|
-
message.created_at = object.created_at ?? undefined;
|
|
255
|
-
message.bureau_id = object.bureau_id ?? undefined;
|
|
256
|
-
message.report_path = object.report_path ?? undefined;
|
|
257
|
-
message.product_code = object.product_code ?? undefined;
|
|
258
|
-
return message;
|
|
259
|
-
},
|
|
260
|
-
};
|
|
261
|
-
function longToNumber(long) {
|
|
262
|
-
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
263
|
-
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
264
|
-
}
|
|
265
|
-
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
266
|
-
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
267
|
-
}
|
|
268
|
-
return long.toNumber();
|
|
269
|
-
}
|
|
270
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
271
|
-
minimal_1.default.util.Long = long_1.default;
|
|
272
|
-
minimal_1.default.configure();
|
|
273
|
-
}
|
|
274
|
-
function isSet(value) {
|
|
275
|
-
return value !== null && value !== undefined;
|
|
276
|
-
}
|