@securelend/sdk 0.1.0-beta.5 → 0.2.0-beta.0

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.
@@ -1,5 +1,1222 @@
1
1
  import { z } from 'zod';
2
2
 
3
+ declare const OUTCOME_STATES: readonly ["viewed", "info_requested", "declined", "term_sheet", "approved", "funded", "withdrawn"];
4
+ declare const DECLINE_REASON_CODES: readonly ["outside_credit_box", "industry", "time_in_business", "dscr", "collateral", "amount", "state", "credit_score", "docs_incomplete", "capacity", "other"];
5
+ declare const SHARE_SCOPES: readonly ["summary", "memo", "checks", "documents"];
6
+ declare const FEEDBACK_TYPES: readonly ["rating", "edit", "comment", "approve", "reject", "regenerate"];
7
+ declare const FEEDBACK_TARGETS: readonly ["memo_section", "memo", "tool", "decision", "lead_match"];
8
+ declare const EVENT_TYPES: readonly ["lead.created", "lead.matched", "lead.notified", "package.shared", "package.opened", "consent.revoked", "outcome.recorded", "credit_box.updated", "feedback.recorded"];
9
+ declare const leadSchema: z.ZodObject<{
10
+ id: z.ZodString;
11
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ productType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ legalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ caseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ lenders: z.ZodOptional<z.ZodArray<z.ZodObject<{
19
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ name: z.ZodOptional<z.ZodString>;
21
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
23
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ name: z.ZodOptional<z.ZodString>;
25
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
27
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ name: z.ZodOptional<z.ZodString>;
29
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
31
+ createdAt: z.ZodOptional<z.ZodString>;
32
+ updatedAt: z.ZodOptional<z.ZodString>;
33
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
34
+ id: z.ZodString;
35
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ productType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
+ legalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ caseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ lenders: z.ZodOptional<z.ZodArray<z.ZodObject<{
43
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ name: z.ZodOptional<z.ZodString>;
45
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ name: z.ZodOptional<z.ZodString>;
49
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
51
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ name: z.ZodOptional<z.ZodString>;
53
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
55
+ createdAt: z.ZodOptional<z.ZodString>;
56
+ updatedAt: z.ZodOptional<z.ZodString>;
57
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
58
+ id: z.ZodString;
59
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ productType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
63
+ legalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ caseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ lenders: z.ZodOptional<z.ZodArray<z.ZodObject<{
67
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ name: z.ZodOptional<z.ZodString>;
69
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
71
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ name: z.ZodOptional<z.ZodString>;
73
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
75
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
+ name: z.ZodOptional<z.ZodString>;
77
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
79
+ createdAt: z.ZodOptional<z.ZodString>;
80
+ updatedAt: z.ZodOptional<z.ZodString>;
81
+ }, z.ZodTypeAny, "passthrough">>;
82
+ type Lead = z.infer<typeof leadSchema>;
83
+ declare const leadListSchema: z.ZodObject<{
84
+ items: z.ZodArray<z.ZodObject<{
85
+ id: z.ZodString;
86
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
87
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
88
+ productType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
90
+ legalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
+ caseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
+ lenders: z.ZodOptional<z.ZodArray<z.ZodObject<{
94
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
+ name: z.ZodOptional<z.ZodString>;
96
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
98
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
+ name: z.ZodOptional<z.ZodString>;
100
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
101
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
102
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
+ name: z.ZodOptional<z.ZodString>;
104
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
106
+ createdAt: z.ZodOptional<z.ZodString>;
107
+ updatedAt: z.ZodOptional<z.ZodString>;
108
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
109
+ id: z.ZodString;
110
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
111
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
112
+ productType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
113
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
114
+ legalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
115
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
116
+ caseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117
+ lenders: z.ZodOptional<z.ZodArray<z.ZodObject<{
118
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
119
+ name: z.ZodOptional<z.ZodString>;
120
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
121
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
122
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
+ name: z.ZodOptional<z.ZodString>;
124
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
126
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
+ name: z.ZodOptional<z.ZodString>;
128
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
129
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
130
+ createdAt: z.ZodOptional<z.ZodString>;
131
+ updatedAt: z.ZodOptional<z.ZodString>;
132
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
133
+ id: z.ZodString;
134
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
135
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
+ productType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
137
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
138
+ legalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
139
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
140
+ caseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
141
+ lenders: z.ZodOptional<z.ZodArray<z.ZodObject<{
142
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
143
+ name: z.ZodOptional<z.ZodString>;
144
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
145
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
146
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
147
+ name: z.ZodOptional<z.ZodString>;
148
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
149
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
150
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
+ name: z.ZodOptional<z.ZodString>;
152
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
153
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
154
+ createdAt: z.ZodOptional<z.ZodString>;
155
+ updatedAt: z.ZodOptional<z.ZodString>;
156
+ }, z.ZodTypeAny, "passthrough">>, "many">;
157
+ tenantId: z.ZodOptional<z.ZodString>;
158
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
159
+ items: z.ZodArray<z.ZodObject<{
160
+ id: z.ZodString;
161
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
162
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
163
+ productType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
164
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
165
+ legalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
166
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
167
+ caseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
168
+ lenders: z.ZodOptional<z.ZodArray<z.ZodObject<{
169
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
170
+ name: z.ZodOptional<z.ZodString>;
171
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
172
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
173
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
174
+ name: z.ZodOptional<z.ZodString>;
175
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
176
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
177
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
178
+ name: z.ZodOptional<z.ZodString>;
179
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
180
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
181
+ createdAt: z.ZodOptional<z.ZodString>;
182
+ updatedAt: z.ZodOptional<z.ZodString>;
183
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
184
+ id: z.ZodString;
185
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
186
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
187
+ productType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
189
+ legalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
190
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
191
+ caseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
192
+ lenders: z.ZodOptional<z.ZodArray<z.ZodObject<{
193
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
194
+ name: z.ZodOptional<z.ZodString>;
195
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
196
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
197
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
+ name: z.ZodOptional<z.ZodString>;
199
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
200
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
201
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
202
+ name: z.ZodOptional<z.ZodString>;
203
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
204
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
205
+ createdAt: z.ZodOptional<z.ZodString>;
206
+ updatedAt: z.ZodOptional<z.ZodString>;
207
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
208
+ id: z.ZodString;
209
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
210
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
211
+ productType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
212
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
213
+ legalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
214
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
215
+ caseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
216
+ lenders: z.ZodOptional<z.ZodArray<z.ZodObject<{
217
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
218
+ name: z.ZodOptional<z.ZodString>;
219
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
220
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
221
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
222
+ name: z.ZodOptional<z.ZodString>;
223
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
225
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
226
+ name: z.ZodOptional<z.ZodString>;
227
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
228
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
229
+ createdAt: z.ZodOptional<z.ZodString>;
230
+ updatedAt: z.ZodOptional<z.ZodString>;
231
+ }, z.ZodTypeAny, "passthrough">>, "many">;
232
+ tenantId: z.ZodOptional<z.ZodString>;
233
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
234
+ items: z.ZodArray<z.ZodObject<{
235
+ id: z.ZodString;
236
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
237
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
238
+ productType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
239
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
240
+ legalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
241
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
242
+ caseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
243
+ lenders: z.ZodOptional<z.ZodArray<z.ZodObject<{
244
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
245
+ name: z.ZodOptional<z.ZodString>;
246
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
247
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
248
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
249
+ name: z.ZodOptional<z.ZodString>;
250
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
251
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
252
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
253
+ name: z.ZodOptional<z.ZodString>;
254
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
255
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
256
+ createdAt: z.ZodOptional<z.ZodString>;
257
+ updatedAt: z.ZodOptional<z.ZodString>;
258
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
259
+ id: z.ZodString;
260
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
261
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
262
+ productType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
263
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
264
+ legalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
265
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
266
+ caseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
267
+ lenders: z.ZodOptional<z.ZodArray<z.ZodObject<{
268
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
269
+ name: z.ZodOptional<z.ZodString>;
270
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
271
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
272
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
273
+ name: z.ZodOptional<z.ZodString>;
274
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
275
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
276
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
277
+ name: z.ZodOptional<z.ZodString>;
278
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
279
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
280
+ createdAt: z.ZodOptional<z.ZodString>;
281
+ updatedAt: z.ZodOptional<z.ZodString>;
282
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
283
+ id: z.ZodString;
284
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
285
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
286
+ productType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
287
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
288
+ legalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
289
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
290
+ caseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
291
+ lenders: z.ZodOptional<z.ZodArray<z.ZodObject<{
292
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
293
+ name: z.ZodOptional<z.ZodString>;
294
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
295
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
296
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
297
+ name: z.ZodOptional<z.ZodString>;
298
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
299
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
300
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
301
+ name: z.ZodOptional<z.ZodString>;
302
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
303
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
304
+ createdAt: z.ZodOptional<z.ZodString>;
305
+ updatedAt: z.ZodOptional<z.ZodString>;
306
+ }, z.ZodTypeAny, "passthrough">>, "many">;
307
+ tenantId: z.ZodOptional<z.ZodString>;
308
+ }, z.ZodTypeAny, "passthrough">>;
309
+ declare const uploadResultSchema: z.ZodObject<{
310
+ key: z.ZodOptional<z.ZodString>;
311
+ filename: z.ZodOptional<z.ZodString>;
312
+ documentType: z.ZodOptional<z.ZodString>;
313
+ applicationId: z.ZodOptional<z.ZodString>;
314
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
315
+ key: z.ZodOptional<z.ZodString>;
316
+ filename: z.ZodOptional<z.ZodString>;
317
+ documentType: z.ZodOptional<z.ZodString>;
318
+ applicationId: z.ZodOptional<z.ZodString>;
319
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
320
+ key: z.ZodOptional<z.ZodString>;
321
+ filename: z.ZodOptional<z.ZodString>;
322
+ documentType: z.ZodOptional<z.ZodString>;
323
+ applicationId: z.ZodOptional<z.ZodString>;
324
+ }, z.ZodTypeAny, "passthrough">>;
325
+ type UploadResult = z.infer<typeof uploadResultSchema>;
326
+ declare const matchComponentsSchema: z.ZodObject<{
327
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
328
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
329
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
330
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
331
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
332
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
333
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
334
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
335
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
336
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
337
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
338
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
339
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
340
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
341
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
342
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
343
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
344
+ }, z.ZodTypeAny, "passthrough">>;
345
+ type MatchComponents = z.infer<typeof matchComponentsSchema>;
346
+ declare const lenderMatchSchema: z.ZodObject<{
347
+ lenderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
348
+ score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
349
+ components: z.ZodOptional<z.ZodNullable<z.ZodObject<{
350
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
351
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
352
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
353
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
354
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
355
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
356
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
357
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
358
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
359
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
360
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
361
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
362
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
363
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
364
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
365
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
366
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
367
+ }, z.ZodTypeAny, "passthrough">>>>;
368
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
369
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
370
+ lenderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
371
+ score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
372
+ components: z.ZodOptional<z.ZodNullable<z.ZodObject<{
373
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
374
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
375
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
376
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
377
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
378
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
379
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
380
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
381
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
382
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
383
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
384
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
385
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
386
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
387
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
388
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
389
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
390
+ }, z.ZodTypeAny, "passthrough">>>>;
391
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
392
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
393
+ lenderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
394
+ score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
395
+ components: z.ZodOptional<z.ZodNullable<z.ZodObject<{
396
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
397
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
398
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
399
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
400
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
401
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
402
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
403
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
404
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
405
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
406
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
407
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
408
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
409
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
410
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
411
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
412
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
413
+ }, z.ZodTypeAny, "passthrough">>>>;
414
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
415
+ }, z.ZodTypeAny, "passthrough">>;
416
+ type LenderMatch = z.infer<typeof lenderMatchSchema>;
417
+ declare const matchListSchema: z.ZodObject<{
418
+ leadId: z.ZodString;
419
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
420
+ lenders: z.ZodArray<z.ZodObject<{
421
+ lenderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
+ score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
423
+ components: z.ZodOptional<z.ZodNullable<z.ZodObject<{
424
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
425
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
426
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
427
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
428
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
429
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
430
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
431
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
432
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
433
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
434
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
435
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
436
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
437
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
438
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
439
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
440
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
441
+ }, z.ZodTypeAny, "passthrough">>>>;
442
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
443
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
444
+ lenderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
445
+ score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
446
+ components: z.ZodOptional<z.ZodNullable<z.ZodObject<{
447
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
448
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
449
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
450
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
451
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
452
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
453
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
454
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
455
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
456
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
457
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
458
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
459
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
460
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
461
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
462
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
463
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
464
+ }, z.ZodTypeAny, "passthrough">>>>;
465
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
466
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
467
+ lenderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
468
+ score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
469
+ components: z.ZodOptional<z.ZodNullable<z.ZodObject<{
470
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
471
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
472
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
473
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
474
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
475
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
476
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
477
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
478
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
479
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
480
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
481
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
482
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
483
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
484
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
485
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
486
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
487
+ }, z.ZodTypeAny, "passthrough">>>>;
488
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
489
+ }, z.ZodTypeAny, "passthrough">>, "many">;
490
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
491
+ leadId: z.ZodString;
492
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
493
+ lenders: z.ZodArray<z.ZodObject<{
494
+ lenderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
495
+ score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
496
+ components: z.ZodOptional<z.ZodNullable<z.ZodObject<{
497
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
498
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
499
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
500
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
501
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
502
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
503
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
504
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
505
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
506
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
507
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
508
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
509
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
510
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
511
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
512
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
513
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
514
+ }, z.ZodTypeAny, "passthrough">>>>;
515
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
516
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
517
+ lenderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
518
+ score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
519
+ components: z.ZodOptional<z.ZodNullable<z.ZodObject<{
520
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
521
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
522
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
523
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
524
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
525
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
526
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
527
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
528
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
529
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
530
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
531
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
532
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
533
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
534
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
535
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
536
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
537
+ }, z.ZodTypeAny, "passthrough">>>>;
538
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
539
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
540
+ lenderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
541
+ score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
542
+ components: z.ZodOptional<z.ZodNullable<z.ZodObject<{
543
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
544
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
545
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
546
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
547
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
548
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
549
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
550
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
551
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
552
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
553
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
554
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
555
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
556
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
557
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
558
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
559
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
560
+ }, z.ZodTypeAny, "passthrough">>>>;
561
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
562
+ }, z.ZodTypeAny, "passthrough">>, "many">;
563
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
564
+ leadId: z.ZodString;
565
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
566
+ lenders: z.ZodArray<z.ZodObject<{
567
+ lenderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
568
+ score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
569
+ components: z.ZodOptional<z.ZodNullable<z.ZodObject<{
570
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
571
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
572
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
573
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
574
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
575
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
576
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
577
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
578
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
579
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
580
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
581
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
582
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
583
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
584
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
585
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
586
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
587
+ }, z.ZodTypeAny, "passthrough">>>>;
588
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
589
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
590
+ lenderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
591
+ score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
592
+ components: z.ZodOptional<z.ZodNullable<z.ZodObject<{
593
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
594
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
595
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
596
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
597
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
598
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
599
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
600
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
601
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
602
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
603
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
604
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
605
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
606
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
607
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
608
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
609
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
610
+ }, z.ZodTypeAny, "passthrough">>>>;
611
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
612
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
613
+ lenderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
614
+ score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
615
+ components: z.ZodOptional<z.ZodNullable<z.ZodObject<{
616
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
617
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
618
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
619
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
620
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
621
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
622
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
623
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
624
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
625
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
626
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
627
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
628
+ rules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
629
+ fit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
630
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
631
+ sba: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
632
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
633
+ }, z.ZodTypeAny, "passthrough">>>>;
634
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
635
+ }, z.ZodTypeAny, "passthrough">>, "many">;
636
+ }, z.ZodTypeAny, "passthrough">>;
637
+ type MatchList = z.infer<typeof matchListSchema>;
638
+ declare const packageSchema: z.ZodObject<{
639
+ packageId: z.ZodOptional<z.ZodString>;
640
+ caseId: z.ZodOptional<z.ZodString>;
641
+ id: z.ZodOptional<z.ZodString>;
642
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
643
+ auth: z.ZodOptional<z.ZodString>;
644
+ error: z.ZodOptional<z.ZodString>;
645
+ deskUrl: z.ZodOptional<z.ZodString>;
646
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
647
+ packageId: z.ZodOptional<z.ZodString>;
648
+ caseId: z.ZodOptional<z.ZodString>;
649
+ id: z.ZodOptional<z.ZodString>;
650
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
651
+ auth: z.ZodOptional<z.ZodString>;
652
+ error: z.ZodOptional<z.ZodString>;
653
+ deskUrl: z.ZodOptional<z.ZodString>;
654
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
655
+ packageId: z.ZodOptional<z.ZodString>;
656
+ caseId: z.ZodOptional<z.ZodString>;
657
+ id: z.ZodOptional<z.ZodString>;
658
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
659
+ auth: z.ZodOptional<z.ZodString>;
660
+ error: z.ZodOptional<z.ZodString>;
661
+ deskUrl: z.ZodOptional<z.ZodString>;
662
+ }, z.ZodTypeAny, "passthrough">>;
663
+ type PackageRecord = z.infer<typeof packageSchema>;
664
+ declare const shareConsentSchema: z.ZodObject<{
665
+ id: z.ZodString;
666
+ leadId: z.ZodString;
667
+ packageId: z.ZodString;
668
+ packageVersion: z.ZodNumber;
669
+ lenderId: z.ZodOptional<z.ZodString>;
670
+ scope: z.ZodArray<z.ZodString, "many">;
671
+ expiresAt: z.ZodString;
672
+ revokedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
673
+ borrowerRef: z.ZodOptional<z.ZodString>;
674
+ grantedAt: z.ZodOptional<z.ZodString>;
675
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
676
+ id: z.ZodString;
677
+ leadId: z.ZodString;
678
+ packageId: z.ZodString;
679
+ packageVersion: z.ZodNumber;
680
+ lenderId: z.ZodOptional<z.ZodString>;
681
+ scope: z.ZodArray<z.ZodString, "many">;
682
+ expiresAt: z.ZodString;
683
+ revokedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
684
+ borrowerRef: z.ZodOptional<z.ZodString>;
685
+ grantedAt: z.ZodOptional<z.ZodString>;
686
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
687
+ id: z.ZodString;
688
+ leadId: z.ZodString;
689
+ packageId: z.ZodString;
690
+ packageVersion: z.ZodNumber;
691
+ lenderId: z.ZodOptional<z.ZodString>;
692
+ scope: z.ZodArray<z.ZodString, "many">;
693
+ expiresAt: z.ZodString;
694
+ revokedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
695
+ borrowerRef: z.ZodOptional<z.ZodString>;
696
+ grantedAt: z.ZodOptional<z.ZodString>;
697
+ }, z.ZodTypeAny, "passthrough">>;
698
+ type ShareConsent = z.infer<typeof shareConsentSchema>;
699
+ declare const shareReceiptSchema: z.ZodObject<{
700
+ id: z.ZodString;
701
+ consentId: z.ZodString;
702
+ event: z.ZodString;
703
+ createdAt: z.ZodString;
704
+ lenderId: z.ZodOptional<z.ZodString>;
705
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
706
+ id: z.ZodString;
707
+ consentId: z.ZodString;
708
+ event: z.ZodString;
709
+ createdAt: z.ZodString;
710
+ lenderId: z.ZodOptional<z.ZodString>;
711
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
712
+ id: z.ZodString;
713
+ consentId: z.ZodString;
714
+ event: z.ZodString;
715
+ createdAt: z.ZodString;
716
+ lenderId: z.ZodOptional<z.ZodString>;
717
+ }, z.ZodTypeAny, "passthrough">>;
718
+ type ShareReceipt = z.infer<typeof shareReceiptSchema>;
719
+ declare const leadOutcomeSchema: z.ZodObject<{
720
+ id: z.ZodString;
721
+ leadId: z.ZodString;
722
+ lenderId: z.ZodString;
723
+ state: z.ZodString;
724
+ reasonCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
725
+ reasonText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
726
+ fundedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
727
+ fundedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
728
+ surface: z.ZodOptional<z.ZodString>;
729
+ feedbackId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
730
+ matchGenerationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
731
+ createdAt: z.ZodOptional<z.ZodString>;
732
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
733
+ id: z.ZodString;
734
+ leadId: z.ZodString;
735
+ lenderId: z.ZodString;
736
+ state: z.ZodString;
737
+ reasonCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
738
+ reasonText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
739
+ fundedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
740
+ fundedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
741
+ surface: z.ZodOptional<z.ZodString>;
742
+ feedbackId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
743
+ matchGenerationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
744
+ createdAt: z.ZodOptional<z.ZodString>;
745
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
746
+ id: z.ZodString;
747
+ leadId: z.ZodString;
748
+ lenderId: z.ZodString;
749
+ state: z.ZodString;
750
+ reasonCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
751
+ reasonText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
752
+ fundedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
753
+ fundedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
754
+ surface: z.ZodOptional<z.ZodString>;
755
+ feedbackId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
756
+ matchGenerationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
757
+ createdAt: z.ZodOptional<z.ZodString>;
758
+ }, z.ZodTypeAny, "passthrough">>;
759
+ type LeadOutcome = z.infer<typeof leadOutcomeSchema>;
760
+ declare const creditBoxSchema: z.ZodObject<{
761
+ version: z.ZodNumber;
762
+ lenderId: z.ZodOptional<z.ZodString>;
763
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
764
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
765
+ status: z.ZodString;
766
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
767
+ createdAt: z.ZodOptional<z.ZodString>;
768
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
769
+ version: z.ZodNumber;
770
+ lenderId: z.ZodOptional<z.ZodString>;
771
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
772
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
773
+ status: z.ZodString;
774
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
775
+ createdAt: z.ZodOptional<z.ZodString>;
776
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
777
+ version: z.ZodNumber;
778
+ lenderId: z.ZodOptional<z.ZodString>;
779
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
780
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
781
+ status: z.ZodString;
782
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
783
+ createdAt: z.ZodOptional<z.ZodString>;
784
+ }, z.ZodTypeAny, "passthrough">>;
785
+ type CreditBox = z.infer<typeof creditBoxSchema>;
786
+ declare const creditBoxViewSchema: z.ZodObject<{
787
+ current: z.ZodNullable<z.ZodObject<{
788
+ version: z.ZodNumber;
789
+ lenderId: z.ZodOptional<z.ZodString>;
790
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
791
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
792
+ status: z.ZodString;
793
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
794
+ createdAt: z.ZodOptional<z.ZodString>;
795
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
796
+ version: z.ZodNumber;
797
+ lenderId: z.ZodOptional<z.ZodString>;
798
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
799
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
800
+ status: z.ZodString;
801
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
802
+ createdAt: z.ZodOptional<z.ZodString>;
803
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
804
+ version: z.ZodNumber;
805
+ lenderId: z.ZodOptional<z.ZodString>;
806
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
807
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
808
+ status: z.ZodString;
809
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
810
+ createdAt: z.ZodOptional<z.ZodString>;
811
+ }, z.ZodTypeAny, "passthrough">>>;
812
+ versions: z.ZodArray<z.ZodObject<{
813
+ version: z.ZodNumber;
814
+ lenderId: z.ZodOptional<z.ZodString>;
815
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
816
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
817
+ status: z.ZodString;
818
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
819
+ createdAt: z.ZodOptional<z.ZodString>;
820
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
821
+ version: z.ZodNumber;
822
+ lenderId: z.ZodOptional<z.ZodString>;
823
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
824
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
825
+ status: z.ZodString;
826
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
827
+ createdAt: z.ZodOptional<z.ZodString>;
828
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
829
+ version: z.ZodNumber;
830
+ lenderId: z.ZodOptional<z.ZodString>;
831
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
832
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
833
+ status: z.ZodString;
834
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
835
+ createdAt: z.ZodOptional<z.ZodString>;
836
+ }, z.ZodTypeAny, "passthrough">>, "many">;
837
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
838
+ current: z.ZodNullable<z.ZodObject<{
839
+ version: z.ZodNumber;
840
+ lenderId: z.ZodOptional<z.ZodString>;
841
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
842
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
843
+ status: z.ZodString;
844
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
845
+ createdAt: z.ZodOptional<z.ZodString>;
846
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
847
+ version: z.ZodNumber;
848
+ lenderId: z.ZodOptional<z.ZodString>;
849
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
850
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
851
+ status: z.ZodString;
852
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
853
+ createdAt: z.ZodOptional<z.ZodString>;
854
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
855
+ version: z.ZodNumber;
856
+ lenderId: z.ZodOptional<z.ZodString>;
857
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
858
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
859
+ status: z.ZodString;
860
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
861
+ createdAt: z.ZodOptional<z.ZodString>;
862
+ }, z.ZodTypeAny, "passthrough">>>;
863
+ versions: z.ZodArray<z.ZodObject<{
864
+ version: z.ZodNumber;
865
+ lenderId: z.ZodOptional<z.ZodString>;
866
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
867
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
868
+ status: z.ZodString;
869
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
870
+ createdAt: z.ZodOptional<z.ZodString>;
871
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
872
+ version: z.ZodNumber;
873
+ lenderId: z.ZodOptional<z.ZodString>;
874
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
875
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
876
+ status: z.ZodString;
877
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
878
+ createdAt: z.ZodOptional<z.ZodString>;
879
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
880
+ version: z.ZodNumber;
881
+ lenderId: z.ZodOptional<z.ZodString>;
882
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
883
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
884
+ status: z.ZodString;
885
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
886
+ createdAt: z.ZodOptional<z.ZodString>;
887
+ }, z.ZodTypeAny, "passthrough">>, "many">;
888
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
889
+ current: z.ZodNullable<z.ZodObject<{
890
+ version: z.ZodNumber;
891
+ lenderId: z.ZodOptional<z.ZodString>;
892
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
893
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
894
+ status: z.ZodString;
895
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
896
+ createdAt: z.ZodOptional<z.ZodString>;
897
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
898
+ version: z.ZodNumber;
899
+ lenderId: z.ZodOptional<z.ZodString>;
900
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
901
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
902
+ status: z.ZodString;
903
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
904
+ createdAt: z.ZodOptional<z.ZodString>;
905
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
906
+ version: z.ZodNumber;
907
+ lenderId: z.ZodOptional<z.ZodString>;
908
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
909
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
910
+ status: z.ZodString;
911
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
912
+ createdAt: z.ZodOptional<z.ZodString>;
913
+ }, z.ZodTypeAny, "passthrough">>>;
914
+ versions: z.ZodArray<z.ZodObject<{
915
+ version: z.ZodNumber;
916
+ lenderId: z.ZodOptional<z.ZodString>;
917
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
918
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
919
+ status: z.ZodString;
920
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
921
+ createdAt: z.ZodOptional<z.ZodString>;
922
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
923
+ version: z.ZodNumber;
924
+ lenderId: z.ZodOptional<z.ZodString>;
925
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
926
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
927
+ status: z.ZodString;
928
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
929
+ createdAt: z.ZodOptional<z.ZodString>;
930
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
931
+ version: z.ZodNumber;
932
+ lenderId: z.ZodOptional<z.ZodString>;
933
+ criteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
934
+ capacityPerWeek: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
935
+ status: z.ZodString;
936
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
937
+ createdAt: z.ZodOptional<z.ZodString>;
938
+ }, z.ZodTypeAny, "passthrough">>, "many">;
939
+ }, z.ZodTypeAny, "passthrough">>;
940
+ type CreditBoxView = z.infer<typeof creditBoxViewSchema>;
941
+ declare const feedbackEventSchema: z.ZodObject<{
942
+ id: z.ZodString;
943
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
944
+ caseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
945
+ surface: z.ZodOptional<z.ZodString>;
946
+ type: z.ZodString;
947
+ rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
948
+ comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
949
+ targetKind: z.ZodOptional<z.ZodString>;
950
+ targetKey: z.ZodOptional<z.ZodString>;
951
+ createdAt: z.ZodOptional<z.ZodString>;
952
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
953
+ id: z.ZodString;
954
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
955
+ caseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
956
+ surface: z.ZodOptional<z.ZodString>;
957
+ type: z.ZodString;
958
+ rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
959
+ comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
960
+ targetKind: z.ZodOptional<z.ZodString>;
961
+ targetKey: z.ZodOptional<z.ZodString>;
962
+ createdAt: z.ZodOptional<z.ZodString>;
963
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
964
+ id: z.ZodString;
965
+ generationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
966
+ caseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
967
+ surface: z.ZodOptional<z.ZodString>;
968
+ type: z.ZodString;
969
+ rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
970
+ comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
971
+ targetKind: z.ZodOptional<z.ZodString>;
972
+ targetKey: z.ZodOptional<z.ZodString>;
973
+ createdAt: z.ZodOptional<z.ZodString>;
974
+ }, z.ZodTypeAny, "passthrough">>;
975
+ type FeedbackEvent = z.infer<typeof feedbackEventSchema>;
976
+ declare const feedbackCreatedSchema: z.ZodObject<{
977
+ id: z.ZodString;
978
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
979
+ id: z.ZodString;
980
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
981
+ id: z.ZodString;
982
+ }, z.ZodTypeAny, "passthrough">>;
983
+ type FeedbackCreated = z.infer<typeof feedbackCreatedSchema>;
984
+ declare const liquidityCellSchema: z.ZodObject<{
985
+ key: z.ZodString;
986
+ leads: z.ZodNumber;
987
+ matchRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
988
+ responseRate48h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
989
+ medianResponseMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
990
+ termSheetRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
991
+ fundedRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
992
+ fundedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
993
+ lenderCount: z.ZodOptional<z.ZodNumber>;
994
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
995
+ key: z.ZodString;
996
+ leads: z.ZodNumber;
997
+ matchRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
998
+ responseRate48h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
999
+ medianResponseMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1000
+ termSheetRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1001
+ fundedRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1002
+ fundedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1003
+ lenderCount: z.ZodOptional<z.ZodNumber>;
1004
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1005
+ key: z.ZodString;
1006
+ leads: z.ZodNumber;
1007
+ matchRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1008
+ responseRate48h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1009
+ medianResponseMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1010
+ termSheetRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1011
+ fundedRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1012
+ fundedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1013
+ lenderCount: z.ZodOptional<z.ZodNumber>;
1014
+ }, z.ZodTypeAny, "passthrough">>;
1015
+ type LiquidityCell = z.infer<typeof liquidityCellSchema>;
1016
+ declare const liquidityReportSchema: z.ZodObject<{
1017
+ view: z.ZodString;
1018
+ groupBy: z.ZodString;
1019
+ cells: z.ZodArray<z.ZodObject<{
1020
+ key: z.ZodString;
1021
+ leads: z.ZodNumber;
1022
+ matchRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1023
+ responseRate48h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1024
+ medianResponseMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1025
+ termSheetRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1026
+ fundedRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1027
+ fundedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1028
+ lenderCount: z.ZodOptional<z.ZodNumber>;
1029
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1030
+ key: z.ZodString;
1031
+ leads: z.ZodNumber;
1032
+ matchRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1033
+ responseRate48h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1034
+ medianResponseMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1035
+ termSheetRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1036
+ fundedRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1037
+ fundedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1038
+ lenderCount: z.ZodOptional<z.ZodNumber>;
1039
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1040
+ key: z.ZodString;
1041
+ leads: z.ZodNumber;
1042
+ matchRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1043
+ responseRate48h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1044
+ medianResponseMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1045
+ termSheetRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1046
+ fundedRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1047
+ fundedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1048
+ lenderCount: z.ZodOptional<z.ZodNumber>;
1049
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1050
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1051
+ view: z.ZodString;
1052
+ groupBy: z.ZodString;
1053
+ cells: z.ZodArray<z.ZodObject<{
1054
+ key: z.ZodString;
1055
+ leads: z.ZodNumber;
1056
+ matchRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1057
+ responseRate48h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1058
+ medianResponseMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1059
+ termSheetRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1060
+ fundedRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1061
+ fundedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1062
+ lenderCount: z.ZodOptional<z.ZodNumber>;
1063
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1064
+ key: z.ZodString;
1065
+ leads: z.ZodNumber;
1066
+ matchRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1067
+ responseRate48h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1068
+ medianResponseMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1069
+ termSheetRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1070
+ fundedRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1071
+ fundedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1072
+ lenderCount: z.ZodOptional<z.ZodNumber>;
1073
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1074
+ key: z.ZodString;
1075
+ leads: z.ZodNumber;
1076
+ matchRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1077
+ responseRate48h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1078
+ medianResponseMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1079
+ termSheetRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1080
+ fundedRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1081
+ fundedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1082
+ lenderCount: z.ZodOptional<z.ZodNumber>;
1083
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1084
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1085
+ view: z.ZodString;
1086
+ groupBy: z.ZodString;
1087
+ cells: z.ZodArray<z.ZodObject<{
1088
+ key: z.ZodString;
1089
+ leads: z.ZodNumber;
1090
+ matchRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1091
+ responseRate48h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1092
+ medianResponseMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1093
+ termSheetRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1094
+ fundedRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1095
+ fundedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1096
+ lenderCount: z.ZodOptional<z.ZodNumber>;
1097
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1098
+ key: z.ZodString;
1099
+ leads: z.ZodNumber;
1100
+ matchRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1101
+ responseRate48h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1102
+ medianResponseMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1103
+ termSheetRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1104
+ fundedRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1105
+ fundedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1106
+ lenderCount: z.ZodOptional<z.ZodNumber>;
1107
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1108
+ key: z.ZodString;
1109
+ leads: z.ZodNumber;
1110
+ matchRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1111
+ responseRate48h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1112
+ medianResponseMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1113
+ termSheetRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1114
+ fundedRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1115
+ fundedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1116
+ lenderCount: z.ZodOptional<z.ZodNumber>;
1117
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1118
+ }, z.ZodTypeAny, "passthrough">>;
1119
+ type LiquidityMetrics = z.infer<typeof liquidityReportSchema>;
1120
+ declare const secureLendEventSchema: z.ZodObject<{
1121
+ type: z.ZodString;
1122
+ id: z.ZodString;
1123
+ createdAt: z.ZodString;
1124
+ tenantId: z.ZodString;
1125
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1126
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1127
+ type: z.ZodString;
1128
+ id: z.ZodString;
1129
+ createdAt: z.ZodString;
1130
+ tenantId: z.ZodString;
1131
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1132
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1133
+ type: z.ZodString;
1134
+ id: z.ZodString;
1135
+ createdAt: z.ZodString;
1136
+ tenantId: z.ZodString;
1137
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1138
+ }, z.ZodTypeAny, "passthrough">>;
1139
+ type SecureLendEvent = z.infer<typeof secureLendEventSchema>;
1140
+ interface LeadCreateInput {
1141
+ confirmed?: boolean;
1142
+ legalName?: string;
1143
+ email?: string;
1144
+ productType?: string;
1145
+ amount?: number;
1146
+ lenders?: Array<{
1147
+ id?: string;
1148
+ name?: string;
1149
+ email?: string;
1150
+ tenantId?: string;
1151
+ }>;
1152
+ [key: string]: unknown;
1153
+ }
1154
+ interface LeadListFilter {
1155
+ status?: string;
1156
+ }
1157
+ interface UploadFile {
1158
+ filename: string;
1159
+ bytes: Uint8Array;
1160
+ mime?: string;
1161
+ documentType?: string;
1162
+ }
1163
+ interface PackageStartInput {
1164
+ borrower: string;
1165
+ amount: number;
1166
+ currency: string;
1167
+ security: "unsecured" | "secured";
1168
+ guarantees?: Array<Record<string, unknown>>;
1169
+ purpose?: string;
1170
+ tenorMonths?: number;
1171
+ amortisation?: string;
1172
+ pricing?: string;
1173
+ }
1174
+ interface ConsentCreateInput {
1175
+ leadId: string;
1176
+ packageId: string;
1177
+ packageVersion: number;
1178
+ lenderIds?: string[];
1179
+ scope?: string[];
1180
+ expiresAt: string;
1181
+ borrowerRef: string;
1182
+ }
1183
+ interface OutcomeRecordInput {
1184
+ lenderId?: string;
1185
+ state: string;
1186
+ reasonCode?: string;
1187
+ reasonText?: string;
1188
+ fundedAmount?: number;
1189
+ fundedOn?: string;
1190
+ surface?: string;
1191
+ }
1192
+ interface CreditBoxWriteInput {
1193
+ criteria: Record<string, unknown>;
1194
+ capacityPerWeek?: number;
1195
+ lenderId?: string;
1196
+ }
1197
+ interface FeedbackSubmitInput {
1198
+ type: string;
1199
+ rating?: number;
1200
+ comment?: string;
1201
+ generationId?: string;
1202
+ caseId?: string;
1203
+ surface?: string;
1204
+ target: {
1205
+ kind: string;
1206
+ key: string;
1207
+ };
1208
+ before?: string;
1209
+ after?: string;
1210
+ }
1211
+ interface LiquidityQuery {
1212
+ groupBy?: "product" | "amount_band" | "state" | "naics" | string;
1213
+ from?: string;
1214
+ to?: string;
1215
+ }
1216
+ interface RequestOptions {
1217
+ idempotencyKey?: string;
1218
+ }
1219
+
3
1220
  declare enum CreditTier {
4
1221
  PRIME = "PRIME",
5
1222
  NEAR_PRIME = "NEAR_PRIME",
@@ -468,6 +1685,11 @@ declare const loanOfferSchema: z.ZodObject<{
468
1685
  badges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
469
1686
  isSecureLendTenant: z.ZodOptional<z.ZodBoolean>;
470
1687
  }, "strip", z.ZodTypeAny, {
1688
+ product: {
1689
+ name: string;
1690
+ type: string;
1691
+ description?: string | undefined;
1692
+ };
471
1693
  offerId: string;
472
1694
  lender: {
473
1695
  name: string;
@@ -475,11 +1697,6 @@ declare const loanOfferSchema: z.ZodObject<{
475
1697
  type: string;
476
1698
  logoUrl?: string | undefined;
477
1699
  };
478
- product: {
479
- name: string;
480
- type: string;
481
- description?: string | undefined;
482
- };
483
1700
  terms: {
484
1701
  amount: {
485
1702
  amount: number;
@@ -532,6 +1749,11 @@ declare const loanOfferSchema: z.ZodObject<{
532
1749
  lenderInfo?: string | undefined;
533
1750
  badges?: string[] | undefined;
534
1751
  }, {
1752
+ product: {
1753
+ name: string;
1754
+ type: string;
1755
+ description?: string | undefined;
1756
+ };
535
1757
  offerId: string;
536
1758
  lender: {
537
1759
  name: string;
@@ -539,11 +1761,6 @@ declare const loanOfferSchema: z.ZodObject<{
539
1761
  type: string;
540
1762
  logoUrl?: string | undefined;
541
1763
  };
542
- product: {
543
- name: string;
544
- type: string;
545
- description?: string | undefined;
546
- };
547
1764
  terms: {
548
1765
  amount: {
549
1766
  amount: number;
@@ -649,18 +1866,18 @@ declare const personalLoanSearchSchema: z.ZodObject<{
649
1866
  state: z.ZodOptional<z.ZodString>;
650
1867
  }, "strip", z.ZodTypeAny, {
651
1868
  loanAmount: number;
652
- purpose: "debt_consolidation" | "home_improvement" | "major_purchase" | "medical" | "vacation" | "other";
1869
+ purpose: "other" | "debt_consolidation" | "home_improvement" | "major_purchase" | "medical" | "vacation";
1870
+ state?: string | undefined;
653
1871
  creditScore?: number | undefined;
654
1872
  monthlyIncome?: number | undefined;
655
1873
  employmentStatus?: "employed" | "self_employed" | "retired" | "unemployed" | undefined;
656
- state?: string | undefined;
657
1874
  }, {
658
1875
  loanAmount: number;
659
- purpose: "debt_consolidation" | "home_improvement" | "major_purchase" | "medical" | "vacation" | "other";
1876
+ purpose: "other" | "debt_consolidation" | "home_improvement" | "major_purchase" | "medical" | "vacation";
1877
+ state?: string | undefined;
660
1878
  creditScore?: number | undefined;
661
1879
  monthlyIncome?: number | undefined;
662
1880
  employmentStatus?: "employed" | "self_employed" | "retired" | "unemployed" | undefined;
663
- state?: string | undefined;
664
1881
  }>;
665
1882
  type PersonalLoanSearchParams = z.infer<typeof personalLoanSearchSchema>;
666
1883
  declare const businessLoanSearchSchema: z.ZodObject<{
@@ -672,15 +1889,15 @@ declare const businessLoanSearchSchema: z.ZodObject<{
672
1889
  }, "strip", z.ZodTypeAny, {
673
1890
  loanAmount: number;
674
1891
  purpose: string;
1892
+ industry?: string | undefined;
675
1893
  state?: string | undefined;
676
1894
  annualRevenue?: number | undefined;
677
- industry?: string | undefined;
678
1895
  }, {
679
1896
  loanAmount: number;
680
1897
  purpose: string;
1898
+ industry?: string | undefined;
681
1899
  state?: string | undefined;
682
1900
  annualRevenue?: number | undefined;
683
- industry?: string | undefined;
684
1901
  }>;
685
1902
  type BusinessLoanSearchParams = z.infer<typeof businessLoanSearchSchema>;
686
1903
  declare const mortgageSearchSchema: z.ZodObject<{
@@ -694,16 +1911,16 @@ declare const mortgageSearchSchema: z.ZodObject<{
694
1911
  }, "strip", z.ZodTypeAny, {
695
1912
  loanAmount: number;
696
1913
  loanType: "conventional" | "fha" | "va" | "jumbo" | "refinance";
697
- creditScore?: number | undefined;
698
1914
  state?: string | undefined;
1915
+ creditScore?: number | undefined;
699
1916
  homePrice?: number | undefined;
700
1917
  downPayment?: number | undefined;
701
1918
  propertyType?: "primary" | "secondary" | "investment" | undefined;
702
1919
  }, {
703
1920
  loanAmount: number;
704
1921
  loanType: "conventional" | "fha" | "va" | "jumbo" | "refinance";
705
- creditScore?: number | undefined;
706
1922
  state?: string | undefined;
1923
+ creditScore?: number | undefined;
707
1924
  homePrice?: number | undefined;
708
1925
  downPayment?: number | undefined;
709
1926
  propertyType?: "primary" | "secondary" | "investment" | undefined;
@@ -717,13 +1934,13 @@ declare const autoLoanSearchSchema: z.ZodObject<{
717
1934
  }, "strip", z.ZodTypeAny, {
718
1935
  loanAmount: number;
719
1936
  isNew: boolean;
720
- creditScore?: number | undefined;
721
1937
  state?: string | undefined;
1938
+ creditScore?: number | undefined;
722
1939
  }, {
723
1940
  loanAmount: number;
724
1941
  isNew: boolean;
725
- creditScore?: number | undefined;
726
1942
  state?: string | undefined;
1943
+ creditScore?: number | undefined;
727
1944
  }>;
728
1945
  type AutoLoanSearchParams = z.infer<typeof autoLoanSearchSchema>;
729
1946
  declare const studentLoanSearchSchema: z.ZodObject<{
@@ -735,14 +1952,14 @@ declare const studentLoanSearchSchema: z.ZodObject<{
735
1952
  }, "strip", z.ZodTypeAny, {
736
1953
  loanAmount: number;
737
1954
  degreeType: "medical" | "undergraduate" | "graduate" | "mba" | "law";
738
- creditScore?: number | undefined;
739
1955
  state?: string | undefined;
1956
+ creditScore?: number | undefined;
740
1957
  coSignerCreditScore?: number | undefined;
741
1958
  }, {
742
1959
  loanAmount: number;
743
1960
  degreeType: "medical" | "undergraduate" | "graduate" | "mba" | "law";
744
- creditScore?: number | undefined;
745
1961
  state?: string | undefined;
1962
+ creditScore?: number | undefined;
746
1963
  coSignerCreditScore?: number | undefined;
747
1964
  }>;
748
1965
  type StudentLoanSearchParams = z.infer<typeof studentLoanSearchSchema>;
@@ -798,6 +2015,7 @@ declare const businessCreditCardOfferSchema: z.ZodObject<{
798
2015
  }>;
799
2016
  }, "strip", z.ZodTypeAny, {
800
2017
  name: string;
2018
+ rating: number;
801
2019
  terms: {
802
2020
  apr: number;
803
2021
  annualFee: number;
@@ -809,11 +2027,11 @@ declare const businessCreditCardOfferSchema: z.ZodObject<{
809
2027
  cardId: string;
810
2028
  issuer: string;
811
2029
  imageUrl: string;
812
- rating: number;
813
2030
  creditScoreRange: string;
814
2031
  welcomeBonus: string;
815
2032
  }, {
816
2033
  name: string;
2034
+ rating: number;
817
2035
  terms: {
818
2036
  apr: number;
819
2037
  annualFee: number;
@@ -825,7 +2043,6 @@ declare const businessCreditCardOfferSchema: z.ZodObject<{
825
2043
  cardId: string;
826
2044
  issuer: string;
827
2045
  imageUrl: string;
828
- rating: number;
829
2046
  creditScoreRange: string;
830
2047
  welcomeBonus: string;
831
2048
  }>;
@@ -869,6 +2086,7 @@ declare const businessCreditCardComparisonResponseSchema: z.ZodObject<{
869
2086
  }>;
870
2087
  }, "strip", z.ZodTypeAny, {
871
2088
  name: string;
2089
+ rating: number;
872
2090
  terms: {
873
2091
  apr: number;
874
2092
  annualFee: number;
@@ -880,11 +2098,11 @@ declare const businessCreditCardComparisonResponseSchema: z.ZodObject<{
880
2098
  cardId: string;
881
2099
  issuer: string;
882
2100
  imageUrl: string;
883
- rating: number;
884
2101
  creditScoreRange: string;
885
2102
  welcomeBonus: string;
886
2103
  }, {
887
2104
  name: string;
2105
+ rating: number;
888
2106
  terms: {
889
2107
  apr: number;
890
2108
  annualFee: number;
@@ -896,7 +2114,6 @@ declare const businessCreditCardComparisonResponseSchema: z.ZodObject<{
896
2114
  cardId: string;
897
2115
  issuer: string;
898
2116
  imageUrl: string;
899
- rating: number;
900
2117
  creditScoreRange: string;
901
2118
  welcomeBonus: string;
902
2119
  }>, "many">;
@@ -930,6 +2147,7 @@ declare const businessCreditCardComparisonResponseSchema: z.ZodObject<{
930
2147
  }, "strip", z.ZodTypeAny, {
931
2148
  offers: {
932
2149
  name: string;
2150
+ rating: number;
933
2151
  terms: {
934
2152
  apr: number;
935
2153
  annualFee: number;
@@ -941,7 +2159,6 @@ declare const businessCreditCardComparisonResponseSchema: z.ZodObject<{
941
2159
  cardId: string;
942
2160
  issuer: string;
943
2161
  imageUrl: string;
944
- rating: number;
945
2162
  creditScoreRange: string;
946
2163
  welcomeBonus: string;
947
2164
  }[];
@@ -959,6 +2176,7 @@ declare const businessCreditCardComparisonResponseSchema: z.ZodObject<{
959
2176
  }, {
960
2177
  offers: {
961
2178
  name: string;
2179
+ rating: number;
962
2180
  terms: {
963
2181
  apr: number;
964
2182
  annualFee: number;
@@ -970,7 +2188,6 @@ declare const businessCreditCardComparisonResponseSchema: z.ZodObject<{
970
2188
  cardId: string;
971
2189
  issuer: string;
972
2190
  imageUrl: string;
973
- rating: number;
974
2191
  creditScoreRange: string;
975
2192
  welcomeBonus: string;
976
2193
  }[];
@@ -1011,10 +2228,10 @@ declare const businessBankingOfferSchema: z.ZodObject<{
1011
2228
  bonus: z.ZodString;
1012
2229
  }, "strip", z.ZodTypeAny, {
1013
2230
  name: string;
2231
+ rating: number;
1014
2232
  monthlyFee: string;
1015
2233
  issuer: string;
1016
2234
  imageUrl: string;
1017
- rating: number;
1018
2235
  accountId: string;
1019
2236
  bestFor: string;
1020
2237
  apy: string;
@@ -1022,10 +2239,10 @@ declare const businessBankingOfferSchema: z.ZodObject<{
1022
2239
  interestRate?: string | undefined;
1023
2240
  }, {
1024
2241
  name: string;
2242
+ rating: number;
1025
2243
  monthlyFee: string;
1026
2244
  issuer: string;
1027
2245
  imageUrl: string;
1028
- rating: number;
1029
2246
  accountId: string;
1030
2247
  bestFor: string;
1031
2248
  apy: string;
@@ -1047,10 +2264,10 @@ declare const businessBankingComparisonResponseSchema: z.ZodObject<{
1047
2264
  bonus: z.ZodString;
1048
2265
  }, "strip", z.ZodTypeAny, {
1049
2266
  name: string;
2267
+ rating: number;
1050
2268
  monthlyFee: string;
1051
2269
  issuer: string;
1052
2270
  imageUrl: string;
1053
- rating: number;
1054
2271
  accountId: string;
1055
2272
  bestFor: string;
1056
2273
  apy: string;
@@ -1058,10 +2275,10 @@ declare const businessBankingComparisonResponseSchema: z.ZodObject<{
1058
2275
  interestRate?: string | undefined;
1059
2276
  }, {
1060
2277
  name: string;
2278
+ rating: number;
1061
2279
  monthlyFee: string;
1062
2280
  issuer: string;
1063
2281
  imageUrl: string;
1064
- rating: number;
1065
2282
  accountId: string;
1066
2283
  bestFor: string;
1067
2284
  apy: string;
@@ -1095,10 +2312,10 @@ declare const businessBankingComparisonResponseSchema: z.ZodObject<{
1095
2312
  }, "strip", z.ZodTypeAny, {
1096
2313
  offers: {
1097
2314
  name: string;
2315
+ rating: number;
1098
2316
  monthlyFee: string;
1099
2317
  issuer: string;
1100
2318
  imageUrl: string;
1101
- rating: number;
1102
2319
  accountId: string;
1103
2320
  bestFor: string;
1104
2321
  apy: string;
@@ -1118,10 +2335,10 @@ declare const businessBankingComparisonResponseSchema: z.ZodObject<{
1118
2335
  }, {
1119
2336
  offers: {
1120
2337
  name: string;
2338
+ rating: number;
1121
2339
  monthlyFee: string;
1122
2340
  issuer: string;
1123
2341
  imageUrl: string;
1124
- rating: number;
1125
2342
  accountId: string;
1126
2343
  bestFor: string;
1127
2344
  apy: string;
@@ -1162,10 +2379,10 @@ declare const personalBankingOfferSchema: z.ZodObject<{
1162
2379
  overdraftRating: z.ZodNumber;
1163
2380
  }, "strip", z.ZodTypeAny, {
1164
2381
  name: string;
2382
+ rating: number;
1165
2383
  monthlyFee: string;
1166
2384
  issuer: string;
1167
2385
  imageUrl: string;
1168
- rating: number;
1169
2386
  accountId: string;
1170
2387
  bestFor: string;
1171
2388
  apy: string;
@@ -1174,10 +2391,10 @@ declare const personalBankingOfferSchema: z.ZodObject<{
1174
2391
  interestRate?: string | undefined;
1175
2392
  }, {
1176
2393
  name: string;
2394
+ rating: number;
1177
2395
  monthlyFee: string;
1178
2396
  issuer: string;
1179
2397
  imageUrl: string;
1180
- rating: number;
1181
2398
  accountId: string;
1182
2399
  bestFor: string;
1183
2400
  apy: string;
@@ -1201,10 +2418,10 @@ declare const personalBankingComparisonResponseSchema: z.ZodObject<{
1201
2418
  overdraftRating: z.ZodNumber;
1202
2419
  }, "strip", z.ZodTypeAny, {
1203
2420
  name: string;
2421
+ rating: number;
1204
2422
  monthlyFee: string;
1205
2423
  issuer: string;
1206
2424
  imageUrl: string;
1207
- rating: number;
1208
2425
  accountId: string;
1209
2426
  bestFor: string;
1210
2427
  apy: string;
@@ -1213,10 +2430,10 @@ declare const personalBankingComparisonResponseSchema: z.ZodObject<{
1213
2430
  interestRate?: string | undefined;
1214
2431
  }, {
1215
2432
  name: string;
2433
+ rating: number;
1216
2434
  monthlyFee: string;
1217
2435
  issuer: string;
1218
2436
  imageUrl: string;
1219
- rating: number;
1220
2437
  accountId: string;
1221
2438
  bestFor: string;
1222
2439
  apy: string;
@@ -1248,10 +2465,10 @@ declare const personalBankingComparisonResponseSchema: z.ZodObject<{
1248
2465
  }, "strip", z.ZodTypeAny, {
1249
2466
  offers: {
1250
2467
  name: string;
2468
+ rating: number;
1251
2469
  monthlyFee: string;
1252
2470
  issuer: string;
1253
2471
  imageUrl: string;
1254
- rating: number;
1255
2472
  accountId: string;
1256
2473
  bestFor: string;
1257
2474
  apy: string;
@@ -1271,10 +2488,10 @@ declare const personalBankingComparisonResponseSchema: z.ZodObject<{
1271
2488
  }, {
1272
2489
  offers: {
1273
2490
  name: string;
2491
+ rating: number;
1274
2492
  monthlyFee: string;
1275
2493
  issuer: string;
1276
2494
  imageUrl: string;
1277
- rating: number;
1278
2495
  accountId: string;
1279
2496
  bestFor: string;
1280
2497
  apy: string;
@@ -1313,20 +2530,20 @@ declare const savingsOfferSchema: z.ZodObject<{
1313
2530
  monthlyFee: z.ZodString;
1314
2531
  }, "strip", z.ZodTypeAny, {
1315
2532
  name: string;
2533
+ rating: number;
1316
2534
  monthlyFee: string;
1317
2535
  issuer: string;
1318
2536
  imageUrl: string;
1319
- rating: number;
1320
2537
  accountId: string;
1321
2538
  apy: string;
1322
2539
  minBalanceForApy: string;
1323
2540
  interestRate?: string | undefined;
1324
2541
  }, {
1325
2542
  name: string;
2543
+ rating: number;
1326
2544
  monthlyFee: string;
1327
2545
  issuer: string;
1328
2546
  imageUrl: string;
1329
- rating: number;
1330
2547
  accountId: string;
1331
2548
  apy: string;
1332
2549
  minBalanceForApy: string;
@@ -1346,20 +2563,20 @@ declare const savingsComparisonResponseSchema: z.ZodObject<{
1346
2563
  monthlyFee: z.ZodString;
1347
2564
  }, "strip", z.ZodTypeAny, {
1348
2565
  name: string;
2566
+ rating: number;
1349
2567
  monthlyFee: string;
1350
2568
  issuer: string;
1351
2569
  imageUrl: string;
1352
- rating: number;
1353
2570
  accountId: string;
1354
2571
  apy: string;
1355
2572
  minBalanceForApy: string;
1356
2573
  interestRate?: string | undefined;
1357
2574
  }, {
1358
2575
  name: string;
2576
+ rating: number;
1359
2577
  monthlyFee: string;
1360
2578
  issuer: string;
1361
2579
  imageUrl: string;
1362
- rating: number;
1363
2580
  accountId: string;
1364
2581
  apy: string;
1365
2582
  minBalanceForApy: string;
@@ -1389,10 +2606,10 @@ declare const savingsComparisonResponseSchema: z.ZodObject<{
1389
2606
  }, "strip", z.ZodTypeAny, {
1390
2607
  offers: {
1391
2608
  name: string;
2609
+ rating: number;
1392
2610
  monthlyFee: string;
1393
2611
  issuer: string;
1394
2612
  imageUrl: string;
1395
- rating: number;
1396
2613
  accountId: string;
1397
2614
  apy: string;
1398
2615
  minBalanceForApy: string;
@@ -1410,10 +2627,10 @@ declare const savingsComparisonResponseSchema: z.ZodObject<{
1410
2627
  }, {
1411
2628
  offers: {
1412
2629
  name: string;
2630
+ rating: number;
1413
2631
  monthlyFee: string;
1414
2632
  issuer: string;
1415
2633
  imageUrl: string;
1416
- rating: number;
1417
2634
  accountId: string;
1418
2635
  apy: string;
1419
2636
  minBalanceForApy: string;
@@ -1494,6 +2711,7 @@ declare const personalCreditCardOfferSchema: z.ZodObject<{
1494
2711
  applicationUrl: z.ZodOptional<z.ZodString>;
1495
2712
  }, "strip", z.ZodTypeAny, {
1496
2713
  name: string;
2714
+ rating: number;
1497
2715
  terms: {
1498
2716
  apr: {
1499
2717
  purchase: number;
@@ -1507,7 +2725,6 @@ declare const personalCreditCardOfferSchema: z.ZodObject<{
1507
2725
  cardId: string;
1508
2726
  issuer: string;
1509
2727
  imageUrl: string;
1510
- rating: number;
1511
2728
  bestFor: string;
1512
2729
  rewardsRate: string;
1513
2730
  introOffer: string;
@@ -1515,6 +2732,7 @@ declare const personalCreditCardOfferSchema: z.ZodObject<{
1515
2732
  applicationUrl?: string | undefined;
1516
2733
  }, {
1517
2734
  name: string;
2735
+ rating: number;
1518
2736
  terms: {
1519
2737
  apr: {
1520
2738
  purchase: number;
@@ -1528,7 +2746,6 @@ declare const personalCreditCardOfferSchema: z.ZodObject<{
1528
2746
  cardId: string;
1529
2747
  issuer: string;
1530
2748
  imageUrl: string;
1531
- rating: number;
1532
2749
  bestFor: string;
1533
2750
  rewardsRate: string;
1534
2751
  introOffer: string;
@@ -1590,6 +2807,7 @@ declare const personalCreditCardComparisonResponseSchema: z.ZodObject<{
1590
2807
  applicationUrl: z.ZodOptional<z.ZodString>;
1591
2808
  }, "strip", z.ZodTypeAny, {
1592
2809
  name: string;
2810
+ rating: number;
1593
2811
  terms: {
1594
2812
  apr: {
1595
2813
  purchase: number;
@@ -1603,7 +2821,6 @@ declare const personalCreditCardComparisonResponseSchema: z.ZodObject<{
1603
2821
  cardId: string;
1604
2822
  issuer: string;
1605
2823
  imageUrl: string;
1606
- rating: number;
1607
2824
  bestFor: string;
1608
2825
  rewardsRate: string;
1609
2826
  introOffer: string;
@@ -1611,6 +2828,7 @@ declare const personalCreditCardComparisonResponseSchema: z.ZodObject<{
1611
2828
  applicationUrl?: string | undefined;
1612
2829
  }, {
1613
2830
  name: string;
2831
+ rating: number;
1614
2832
  terms: {
1615
2833
  apr: {
1616
2834
  purchase: number;
@@ -1624,7 +2842,6 @@ declare const personalCreditCardComparisonResponseSchema: z.ZodObject<{
1624
2842
  cardId: string;
1625
2843
  issuer: string;
1626
2844
  imageUrl: string;
1627
- rating: number;
1628
2845
  bestFor: string;
1629
2846
  rewardsRate: string;
1630
2847
  introOffer: string;
@@ -1658,6 +2875,7 @@ declare const personalCreditCardComparisonResponseSchema: z.ZodObject<{
1658
2875
  }, "strip", z.ZodTypeAny, {
1659
2876
  offers: {
1660
2877
  name: string;
2878
+ rating: number;
1661
2879
  terms: {
1662
2880
  apr: {
1663
2881
  purchase: number;
@@ -1671,7 +2889,6 @@ declare const personalCreditCardComparisonResponseSchema: z.ZodObject<{
1671
2889
  cardId: string;
1672
2890
  issuer: string;
1673
2891
  imageUrl: string;
1674
- rating: number;
1675
2892
  bestFor: string;
1676
2893
  rewardsRate: string;
1677
2894
  introOffer: string;
@@ -1691,6 +2908,7 @@ declare const personalCreditCardComparisonResponseSchema: z.ZodObject<{
1691
2908
  }, {
1692
2909
  offers: {
1693
2910
  name: string;
2911
+ rating: number;
1694
2912
  terms: {
1695
2913
  apr: {
1696
2914
  purchase: number;
@@ -1704,7 +2922,6 @@ declare const personalCreditCardComparisonResponseSchema: z.ZodObject<{
1704
2922
  cardId: string;
1705
2923
  issuer: string;
1706
2924
  imageUrl: string;
1707
- rating: number;
1708
2925
  bestFor: string;
1709
2926
  rewardsRate: string;
1710
2927
  introOffer: string;
@@ -1961,6 +3178,11 @@ declare const loanComparisonResponseSchema: z.ZodObject<{
1961
3178
  badges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1962
3179
  isSecureLendTenant: z.ZodOptional<z.ZodBoolean>;
1963
3180
  }, "strip", z.ZodTypeAny, {
3181
+ product: {
3182
+ name: string;
3183
+ type: string;
3184
+ description?: string | undefined;
3185
+ };
1964
3186
  offerId: string;
1965
3187
  lender: {
1966
3188
  name: string;
@@ -1968,11 +3190,6 @@ declare const loanComparisonResponseSchema: z.ZodObject<{
1968
3190
  type: string;
1969
3191
  logoUrl?: string | undefined;
1970
3192
  };
1971
- product: {
1972
- name: string;
1973
- type: string;
1974
- description?: string | undefined;
1975
- };
1976
3193
  terms: {
1977
3194
  amount: {
1978
3195
  amount: number;
@@ -2025,6 +3242,11 @@ declare const loanComparisonResponseSchema: z.ZodObject<{
2025
3242
  lenderInfo?: string | undefined;
2026
3243
  badges?: string[] | undefined;
2027
3244
  }, {
3245
+ product: {
3246
+ name: string;
3247
+ type: string;
3248
+ description?: string | undefined;
3249
+ };
2028
3250
  offerId: string;
2029
3251
  lender: {
2030
3252
  name: string;
@@ -2032,11 +3254,6 @@ declare const loanComparisonResponseSchema: z.ZodObject<{
2032
3254
  type: string;
2033
3255
  logoUrl?: string | undefined;
2034
3256
  };
2035
- product: {
2036
- name: string;
2037
- type: string;
2038
- description?: string | undefined;
2039
- };
2040
3257
  terms: {
2041
3258
  amount: {
2042
3259
  amount: number;
@@ -2114,18 +3331,18 @@ declare const loanComparisonResponseSchema: z.ZodObject<{
2114
3331
  state: z.ZodOptional<z.ZodString>;
2115
3332
  }, "strip", z.ZodTypeAny, {
2116
3333
  loanAmount: number;
2117
- purpose: "debt_consolidation" | "home_improvement" | "major_purchase" | "medical" | "vacation" | "other";
3334
+ purpose: "other" | "debt_consolidation" | "home_improvement" | "major_purchase" | "medical" | "vacation";
3335
+ state?: string | undefined;
2118
3336
  creditScore?: number | undefined;
2119
3337
  monthlyIncome?: number | undefined;
2120
3338
  employmentStatus?: "employed" | "self_employed" | "retired" | "unemployed" | undefined;
2121
- state?: string | undefined;
2122
3339
  }, {
2123
3340
  loanAmount: number;
2124
- purpose: "debt_consolidation" | "home_improvement" | "major_purchase" | "medical" | "vacation" | "other";
3341
+ purpose: "other" | "debt_consolidation" | "home_improvement" | "major_purchase" | "medical" | "vacation";
3342
+ state?: string | undefined;
2125
3343
  creditScore?: number | undefined;
2126
3344
  monthlyIncome?: number | undefined;
2127
3345
  employmentStatus?: "employed" | "self_employed" | "retired" | "unemployed" | undefined;
2128
- state?: string | undefined;
2129
3346
  }>, z.ZodObject<{
2130
3347
  loanAmount: z.ZodNumber;
2131
3348
  purpose: z.ZodString;
@@ -2135,15 +3352,15 @@ declare const loanComparisonResponseSchema: z.ZodObject<{
2135
3352
  }, "strip", z.ZodTypeAny, {
2136
3353
  loanAmount: number;
2137
3354
  purpose: string;
3355
+ industry?: string | undefined;
2138
3356
  state?: string | undefined;
2139
3357
  annualRevenue?: number | undefined;
2140
- industry?: string | undefined;
2141
3358
  }, {
2142
3359
  loanAmount: number;
2143
3360
  purpose: string;
3361
+ industry?: string | undefined;
2144
3362
  state?: string | undefined;
2145
3363
  annualRevenue?: number | undefined;
2146
- industry?: string | undefined;
2147
3364
  }>, z.ZodObject<{
2148
3365
  loanAmount: z.ZodNumber;
2149
3366
  homePrice: z.ZodOptional<z.ZodNumber>;
@@ -2155,16 +3372,16 @@ declare const loanComparisonResponseSchema: z.ZodObject<{
2155
3372
  }, "strip", z.ZodTypeAny, {
2156
3373
  loanAmount: number;
2157
3374
  loanType: "conventional" | "fha" | "va" | "jumbo" | "refinance";
2158
- creditScore?: number | undefined;
2159
3375
  state?: string | undefined;
3376
+ creditScore?: number | undefined;
2160
3377
  homePrice?: number | undefined;
2161
3378
  downPayment?: number | undefined;
2162
3379
  propertyType?: "primary" | "secondary" | "investment" | undefined;
2163
3380
  }, {
2164
3381
  loanAmount: number;
2165
3382
  loanType: "conventional" | "fha" | "va" | "jumbo" | "refinance";
2166
- creditScore?: number | undefined;
2167
3383
  state?: string | undefined;
3384
+ creditScore?: number | undefined;
2168
3385
  homePrice?: number | undefined;
2169
3386
  downPayment?: number | undefined;
2170
3387
  propertyType?: "primary" | "secondary" | "investment" | undefined;
@@ -2176,13 +3393,13 @@ declare const loanComparisonResponseSchema: z.ZodObject<{
2176
3393
  }, "strip", z.ZodTypeAny, {
2177
3394
  loanAmount: number;
2178
3395
  isNew: boolean;
2179
- creditScore?: number | undefined;
2180
3396
  state?: string | undefined;
3397
+ creditScore?: number | undefined;
2181
3398
  }, {
2182
3399
  loanAmount: number;
2183
3400
  isNew: boolean;
2184
- creditScore?: number | undefined;
2185
3401
  state?: string | undefined;
3402
+ creditScore?: number | undefined;
2186
3403
  }>, z.ZodObject<{
2187
3404
  loanAmount: z.ZodNumber;
2188
3405
  creditScore: z.ZodOptional<z.ZodNumber>;
@@ -2192,14 +3409,14 @@ declare const loanComparisonResponseSchema: z.ZodObject<{
2192
3409
  }, "strip", z.ZodTypeAny, {
2193
3410
  loanAmount: number;
2194
3411
  degreeType: "medical" | "undergraduate" | "graduate" | "mba" | "law";
2195
- creditScore?: number | undefined;
2196
3412
  state?: string | undefined;
3413
+ creditScore?: number | undefined;
2197
3414
  coSignerCreditScore?: number | undefined;
2198
3415
  }, {
2199
3416
  loanAmount: number;
2200
3417
  degreeType: "medical" | "undergraduate" | "graduate" | "mba" | "law";
2201
- creditScore?: number | undefined;
2202
3418
  state?: string | undefined;
3419
+ creditScore?: number | undefined;
2203
3420
  coSignerCreditScore?: number | undefined;
2204
3421
  }>]>>;
2205
3422
  metadata: z.ZodObject<{
@@ -2224,6 +3441,11 @@ declare const loanComparisonResponseSchema: z.ZodObject<{
2224
3441
  fastestFunding?: string | undefined;
2225
3442
  };
2226
3443
  offers: {
3444
+ product: {
3445
+ name: string;
3446
+ type: string;
3447
+ description?: string | undefined;
3448
+ };
2227
3449
  offerId: string;
2228
3450
  lender: {
2229
3451
  name: string;
@@ -2231,11 +3453,6 @@ declare const loanComparisonResponseSchema: z.ZodObject<{
2231
3453
  type: string;
2232
3454
  logoUrl?: string | undefined;
2233
3455
  };
2234
- product: {
2235
- name: string;
2236
- type: string;
2237
- description?: string | undefined;
2238
- };
2239
3456
  terms: {
2240
3457
  amount: {
2241
3458
  amount: number;
@@ -2295,35 +3512,35 @@ declare const loanComparisonResponseSchema: z.ZodObject<{
2295
3512
  };
2296
3513
  searchCriteria?: {
2297
3514
  loanAmount: number;
2298
- purpose: "debt_consolidation" | "home_improvement" | "major_purchase" | "medical" | "vacation" | "other";
3515
+ purpose: "other" | "debt_consolidation" | "home_improvement" | "major_purchase" | "medical" | "vacation";
3516
+ state?: string | undefined;
2299
3517
  creditScore?: number | undefined;
2300
3518
  monthlyIncome?: number | undefined;
2301
3519
  employmentStatus?: "employed" | "self_employed" | "retired" | "unemployed" | undefined;
2302
- state?: string | undefined;
2303
3520
  } | {
2304
3521
  loanAmount: number;
2305
3522
  purpose: string;
3523
+ industry?: string | undefined;
2306
3524
  state?: string | undefined;
2307
3525
  annualRevenue?: number | undefined;
2308
- industry?: string | undefined;
2309
3526
  } | {
2310
3527
  loanAmount: number;
2311
3528
  loanType: "conventional" | "fha" | "va" | "jumbo" | "refinance";
2312
- creditScore?: number | undefined;
2313
3529
  state?: string | undefined;
3530
+ creditScore?: number | undefined;
2314
3531
  homePrice?: number | undefined;
2315
3532
  downPayment?: number | undefined;
2316
3533
  propertyType?: "primary" | "secondary" | "investment" | undefined;
2317
3534
  } | {
2318
3535
  loanAmount: number;
2319
3536
  isNew: boolean;
2320
- creditScore?: number | undefined;
2321
3537
  state?: string | undefined;
3538
+ creditScore?: number | undefined;
2322
3539
  } | {
2323
3540
  loanAmount: number;
2324
3541
  degreeType: "medical" | "undergraduate" | "graduate" | "mba" | "law";
2325
- creditScore?: number | undefined;
2326
3542
  state?: string | undefined;
3543
+ creditScore?: number | undefined;
2327
3544
  coSignerCreditScore?: number | undefined;
2328
3545
  } | undefined;
2329
3546
  widget?: string | undefined;
@@ -2335,6 +3552,11 @@ declare const loanComparisonResponseSchema: z.ZodObject<{
2335
3552
  fastestFunding?: string | undefined;
2336
3553
  };
2337
3554
  offers: {
3555
+ product: {
3556
+ name: string;
3557
+ type: string;
3558
+ description?: string | undefined;
3559
+ };
2338
3560
  offerId: string;
2339
3561
  lender: {
2340
3562
  name: string;
@@ -2342,11 +3564,6 @@ declare const loanComparisonResponseSchema: z.ZodObject<{
2342
3564
  type: string;
2343
3565
  logoUrl?: string | undefined;
2344
3566
  };
2345
- product: {
2346
- name: string;
2347
- type: string;
2348
- description?: string | undefined;
2349
- };
2350
3567
  terms: {
2351
3568
  amount: {
2352
3569
  amount: number;
@@ -2406,35 +3623,35 @@ declare const loanComparisonResponseSchema: z.ZodObject<{
2406
3623
  };
2407
3624
  searchCriteria?: {
2408
3625
  loanAmount: number;
2409
- purpose: "debt_consolidation" | "home_improvement" | "major_purchase" | "medical" | "vacation" | "other";
3626
+ purpose: "other" | "debt_consolidation" | "home_improvement" | "major_purchase" | "medical" | "vacation";
3627
+ state?: string | undefined;
2410
3628
  creditScore?: number | undefined;
2411
3629
  monthlyIncome?: number | undefined;
2412
3630
  employmentStatus?: "employed" | "self_employed" | "retired" | "unemployed" | undefined;
2413
- state?: string | undefined;
2414
3631
  } | {
2415
3632
  loanAmount: number;
2416
3633
  purpose: string;
3634
+ industry?: string | undefined;
2417
3635
  state?: string | undefined;
2418
3636
  annualRevenue?: number | undefined;
2419
- industry?: string | undefined;
2420
3637
  } | {
2421
3638
  loanAmount: number;
2422
3639
  loanType: "conventional" | "fha" | "va" | "jumbo" | "refinance";
2423
- creditScore?: number | undefined;
2424
3640
  state?: string | undefined;
3641
+ creditScore?: number | undefined;
2425
3642
  homePrice?: number | undefined;
2426
3643
  downPayment?: number | undefined;
2427
3644
  propertyType?: "primary" | "secondary" | "investment" | undefined;
2428
3645
  } | {
2429
3646
  loanAmount: number;
2430
3647
  isNew: boolean;
2431
- creditScore?: number | undefined;
2432
3648
  state?: string | undefined;
3649
+ creditScore?: number | undefined;
2433
3650
  } | {
2434
3651
  loanAmount: number;
2435
3652
  degreeType: "medical" | "undergraduate" | "graduate" | "mba" | "law";
2436
- creditScore?: number | undefined;
2437
3653
  state?: string | undefined;
3654
+ creditScore?: number | undefined;
2438
3655
  coSignerCreditScore?: number | undefined;
2439
3656
  } | undefined;
2440
3657
  widget?: string | undefined;
@@ -2521,9 +3738,9 @@ declare const personalApplicationSchema: z.ZodObject<{
2521
3738
  createdAt: string;
2522
3739
  email: string;
2523
3740
  id: string;
3741
+ productType: string;
2524
3742
  updatedAt: string;
2525
3743
  applicationType: ApplicationType;
2526
- productType: string;
2527
3744
  applicant: {
2528
3745
  email: string;
2529
3746
  firstName: string;
@@ -2548,9 +3765,9 @@ declare const personalApplicationSchema: z.ZodObject<{
2548
3765
  createdAt: string;
2549
3766
  email: string;
2550
3767
  id: string;
3768
+ productType: string;
2551
3769
  updatedAt: string;
2552
3770
  applicationType: ApplicationType;
2553
- productType: string;
2554
3771
  applicant: {
2555
3772
  email: string;
2556
3773
  firstName: string;
@@ -2916,6 +4133,11 @@ declare const anyOfferSchema: z.ZodUnion<[z.ZodObject<{
2916
4133
  badges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2917
4134
  isSecureLendTenant: z.ZodOptional<z.ZodBoolean>;
2918
4135
  }, "strip", z.ZodTypeAny, {
4136
+ product: {
4137
+ name: string;
4138
+ type: string;
4139
+ description?: string | undefined;
4140
+ };
2919
4141
  offerId: string;
2920
4142
  lender: {
2921
4143
  name: string;
@@ -2923,11 +4145,6 @@ declare const anyOfferSchema: z.ZodUnion<[z.ZodObject<{
2923
4145
  type: string;
2924
4146
  logoUrl?: string | undefined;
2925
4147
  };
2926
- product: {
2927
- name: string;
2928
- type: string;
2929
- description?: string | undefined;
2930
- };
2931
4148
  terms: {
2932
4149
  amount: {
2933
4150
  amount: number;
@@ -2980,6 +4197,11 @@ declare const anyOfferSchema: z.ZodUnion<[z.ZodObject<{
2980
4197
  lenderInfo?: string | undefined;
2981
4198
  badges?: string[] | undefined;
2982
4199
  }, {
4200
+ product: {
4201
+ name: string;
4202
+ type: string;
4203
+ description?: string | undefined;
4204
+ };
2983
4205
  offerId: string;
2984
4206
  lender: {
2985
4207
  name: string;
@@ -2987,11 +4209,6 @@ declare const anyOfferSchema: z.ZodUnion<[z.ZodObject<{
2987
4209
  type: string;
2988
4210
  logoUrl?: string | undefined;
2989
4211
  };
2990
- product: {
2991
- name: string;
2992
- type: string;
2993
- description?: string | undefined;
2994
- };
2995
4212
  terms: {
2996
4213
  amount: {
2997
4214
  amount: number;
@@ -3081,6 +4298,7 @@ declare const anyOfferSchema: z.ZodUnion<[z.ZodObject<{
3081
4298
  }>;
3082
4299
  }, "strip", z.ZodTypeAny, {
3083
4300
  name: string;
4301
+ rating: number;
3084
4302
  terms: {
3085
4303
  apr: number;
3086
4304
  annualFee: number;
@@ -3092,11 +4310,11 @@ declare const anyOfferSchema: z.ZodUnion<[z.ZodObject<{
3092
4310
  cardId: string;
3093
4311
  issuer: string;
3094
4312
  imageUrl: string;
3095
- rating: number;
3096
4313
  creditScoreRange: string;
3097
4314
  welcomeBonus: string;
3098
4315
  }, {
3099
4316
  name: string;
4317
+ rating: number;
3100
4318
  terms: {
3101
4319
  apr: number;
3102
4320
  annualFee: number;
@@ -3108,7 +4326,6 @@ declare const anyOfferSchema: z.ZodUnion<[z.ZodObject<{
3108
4326
  cardId: string;
3109
4327
  issuer: string;
3110
4328
  imageUrl: string;
3111
- rating: number;
3112
4329
  creditScoreRange: string;
3113
4330
  welcomeBonus: string;
3114
4331
  }>, z.ZodObject<{
@@ -3124,10 +4341,10 @@ declare const anyOfferSchema: z.ZodUnion<[z.ZodObject<{
3124
4341
  bonus: z.ZodString;
3125
4342
  }, "strip", z.ZodTypeAny, {
3126
4343
  name: string;
4344
+ rating: number;
3127
4345
  monthlyFee: string;
3128
4346
  issuer: string;
3129
4347
  imageUrl: string;
3130
- rating: number;
3131
4348
  accountId: string;
3132
4349
  bestFor: string;
3133
4350
  apy: string;
@@ -3135,10 +4352,10 @@ declare const anyOfferSchema: z.ZodUnion<[z.ZodObject<{
3135
4352
  interestRate?: string | undefined;
3136
4353
  }, {
3137
4354
  name: string;
4355
+ rating: number;
3138
4356
  monthlyFee: string;
3139
4357
  issuer: string;
3140
4358
  imageUrl: string;
3141
- rating: number;
3142
4359
  accountId: string;
3143
4360
  bestFor: string;
3144
4361
  apy: string;
@@ -3158,10 +4375,10 @@ declare const anyOfferSchema: z.ZodUnion<[z.ZodObject<{
3158
4375
  overdraftRating: z.ZodNumber;
3159
4376
  }, "strip", z.ZodTypeAny, {
3160
4377
  name: string;
4378
+ rating: number;
3161
4379
  monthlyFee: string;
3162
4380
  issuer: string;
3163
4381
  imageUrl: string;
3164
- rating: number;
3165
4382
  accountId: string;
3166
4383
  bestFor: string;
3167
4384
  apy: string;
@@ -3170,10 +4387,10 @@ declare const anyOfferSchema: z.ZodUnion<[z.ZodObject<{
3170
4387
  interestRate?: string | undefined;
3171
4388
  }, {
3172
4389
  name: string;
4390
+ rating: number;
3173
4391
  monthlyFee: string;
3174
4392
  issuer: string;
3175
4393
  imageUrl: string;
3176
- rating: number;
3177
4394
  accountId: string;
3178
4395
  bestFor: string;
3179
4396
  apy: string;
@@ -3192,20 +4409,20 @@ declare const anyOfferSchema: z.ZodUnion<[z.ZodObject<{
3192
4409
  monthlyFee: z.ZodString;
3193
4410
  }, "strip", z.ZodTypeAny, {
3194
4411
  name: string;
4412
+ rating: number;
3195
4413
  monthlyFee: string;
3196
4414
  issuer: string;
3197
4415
  imageUrl: string;
3198
- rating: number;
3199
4416
  accountId: string;
3200
4417
  apy: string;
3201
4418
  minBalanceForApy: string;
3202
4419
  interestRate?: string | undefined;
3203
4420
  }, {
3204
4421
  name: string;
4422
+ rating: number;
3205
4423
  monthlyFee: string;
3206
4424
  issuer: string;
3207
4425
  imageUrl: string;
3208
- rating: number;
3209
4426
  accountId: string;
3210
4427
  apy: string;
3211
4428
  minBalanceForApy: string;
@@ -3263,6 +4480,7 @@ declare const anyOfferSchema: z.ZodUnion<[z.ZodObject<{
3263
4480
  applicationUrl: z.ZodOptional<z.ZodString>;
3264
4481
  }, "strip", z.ZodTypeAny, {
3265
4482
  name: string;
4483
+ rating: number;
3266
4484
  terms: {
3267
4485
  apr: {
3268
4486
  purchase: number;
@@ -3276,7 +4494,6 @@ declare const anyOfferSchema: z.ZodUnion<[z.ZodObject<{
3276
4494
  cardId: string;
3277
4495
  issuer: string;
3278
4496
  imageUrl: string;
3279
- rating: number;
3280
4497
  bestFor: string;
3281
4498
  rewardsRate: string;
3282
4499
  introOffer: string;
@@ -3284,6 +4501,7 @@ declare const anyOfferSchema: z.ZodUnion<[z.ZodObject<{
3284
4501
  applicationUrl?: string | undefined;
3285
4502
  }, {
3286
4503
  name: string;
4504
+ rating: number;
3287
4505
  terms: {
3288
4506
  apr: {
3289
4507
  purchase: number;
@@ -3297,7 +4515,6 @@ declare const anyOfferSchema: z.ZodUnion<[z.ZodObject<{
3297
4515
  cardId: string;
3298
4516
  issuer: string;
3299
4517
  imageUrl: string;
3300
- rating: number;
3301
4518
  bestFor: string;
3302
4519
  rewardsRate: string;
3303
4520
  introOffer: string;
@@ -3542,6 +4759,11 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
3542
4759
  badges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3543
4760
  isSecureLendTenant: z.ZodOptional<z.ZodBoolean>;
3544
4761
  }, "strip", z.ZodTypeAny, {
4762
+ product: {
4763
+ name: string;
4764
+ type: string;
4765
+ description?: string | undefined;
4766
+ };
3545
4767
  offerId: string;
3546
4768
  lender: {
3547
4769
  name: string;
@@ -3549,11 +4771,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
3549
4771
  type: string;
3550
4772
  logoUrl?: string | undefined;
3551
4773
  };
3552
- product: {
3553
- name: string;
3554
- type: string;
3555
- description?: string | undefined;
3556
- };
3557
4774
  terms: {
3558
4775
  amount: {
3559
4776
  amount: number;
@@ -3606,6 +4823,11 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
3606
4823
  lenderInfo?: string | undefined;
3607
4824
  badges?: string[] | undefined;
3608
4825
  }, {
4826
+ product: {
4827
+ name: string;
4828
+ type: string;
4829
+ description?: string | undefined;
4830
+ };
3609
4831
  offerId: string;
3610
4832
  lender: {
3611
4833
  name: string;
@@ -3613,11 +4835,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
3613
4835
  type: string;
3614
4836
  logoUrl?: string | undefined;
3615
4837
  };
3616
- product: {
3617
- name: string;
3618
- type: string;
3619
- description?: string | undefined;
3620
- };
3621
4838
  terms: {
3622
4839
  amount: {
3623
4840
  amount: number;
@@ -3707,6 +4924,7 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
3707
4924
  }>;
3708
4925
  }, "strip", z.ZodTypeAny, {
3709
4926
  name: string;
4927
+ rating: number;
3710
4928
  terms: {
3711
4929
  apr: number;
3712
4930
  annualFee: number;
@@ -3718,11 +4936,11 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
3718
4936
  cardId: string;
3719
4937
  issuer: string;
3720
4938
  imageUrl: string;
3721
- rating: number;
3722
4939
  creditScoreRange: string;
3723
4940
  welcomeBonus: string;
3724
4941
  }, {
3725
4942
  name: string;
4943
+ rating: number;
3726
4944
  terms: {
3727
4945
  apr: number;
3728
4946
  annualFee: number;
@@ -3734,7 +4952,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
3734
4952
  cardId: string;
3735
4953
  issuer: string;
3736
4954
  imageUrl: string;
3737
- rating: number;
3738
4955
  creditScoreRange: string;
3739
4956
  welcomeBonus: string;
3740
4957
  }>, z.ZodObject<{
@@ -3750,10 +4967,10 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
3750
4967
  bonus: z.ZodString;
3751
4968
  }, "strip", z.ZodTypeAny, {
3752
4969
  name: string;
4970
+ rating: number;
3753
4971
  monthlyFee: string;
3754
4972
  issuer: string;
3755
4973
  imageUrl: string;
3756
- rating: number;
3757
4974
  accountId: string;
3758
4975
  bestFor: string;
3759
4976
  apy: string;
@@ -3761,10 +4978,10 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
3761
4978
  interestRate?: string | undefined;
3762
4979
  }, {
3763
4980
  name: string;
4981
+ rating: number;
3764
4982
  monthlyFee: string;
3765
4983
  issuer: string;
3766
4984
  imageUrl: string;
3767
- rating: number;
3768
4985
  accountId: string;
3769
4986
  bestFor: string;
3770
4987
  apy: string;
@@ -3784,10 +5001,10 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
3784
5001
  overdraftRating: z.ZodNumber;
3785
5002
  }, "strip", z.ZodTypeAny, {
3786
5003
  name: string;
5004
+ rating: number;
3787
5005
  monthlyFee: string;
3788
5006
  issuer: string;
3789
5007
  imageUrl: string;
3790
- rating: number;
3791
5008
  accountId: string;
3792
5009
  bestFor: string;
3793
5010
  apy: string;
@@ -3796,10 +5013,10 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
3796
5013
  interestRate?: string | undefined;
3797
5014
  }, {
3798
5015
  name: string;
5016
+ rating: number;
3799
5017
  monthlyFee: string;
3800
5018
  issuer: string;
3801
5019
  imageUrl: string;
3802
- rating: number;
3803
5020
  accountId: string;
3804
5021
  bestFor: string;
3805
5022
  apy: string;
@@ -3818,20 +5035,20 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
3818
5035
  monthlyFee: z.ZodString;
3819
5036
  }, "strip", z.ZodTypeAny, {
3820
5037
  name: string;
5038
+ rating: number;
3821
5039
  monthlyFee: string;
3822
5040
  issuer: string;
3823
5041
  imageUrl: string;
3824
- rating: number;
3825
5042
  accountId: string;
3826
5043
  apy: string;
3827
5044
  minBalanceForApy: string;
3828
5045
  interestRate?: string | undefined;
3829
5046
  }, {
3830
5047
  name: string;
5048
+ rating: number;
3831
5049
  monthlyFee: string;
3832
5050
  issuer: string;
3833
5051
  imageUrl: string;
3834
- rating: number;
3835
5052
  accountId: string;
3836
5053
  apy: string;
3837
5054
  minBalanceForApy: string;
@@ -3889,6 +5106,7 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
3889
5106
  applicationUrl: z.ZodOptional<z.ZodString>;
3890
5107
  }, "strip", z.ZodTypeAny, {
3891
5108
  name: string;
5109
+ rating: number;
3892
5110
  terms: {
3893
5111
  apr: {
3894
5112
  purchase: number;
@@ -3902,7 +5120,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
3902
5120
  cardId: string;
3903
5121
  issuer: string;
3904
5122
  imageUrl: string;
3905
- rating: number;
3906
5123
  bestFor: string;
3907
5124
  rewardsRate: string;
3908
5125
  introOffer: string;
@@ -3910,6 +5127,7 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
3910
5127
  applicationUrl?: string | undefined;
3911
5128
  }, {
3912
5129
  name: string;
5130
+ rating: number;
3913
5131
  terms: {
3914
5132
  apr: {
3915
5133
  purchase: number;
@@ -3923,7 +5141,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
3923
5141
  cardId: string;
3924
5142
  issuer: string;
3925
5143
  imageUrl: string;
3926
- rating: number;
3927
5144
  bestFor: string;
3928
5145
  rewardsRate: string;
3929
5146
  introOffer: string;
@@ -4167,6 +5384,11 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4167
5384
  badges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4168
5385
  isSecureLendTenant: z.ZodOptional<z.ZodBoolean>;
4169
5386
  }, "strip", z.ZodTypeAny, {
5387
+ product: {
5388
+ name: string;
5389
+ type: string;
5390
+ description?: string | undefined;
5391
+ };
4170
5392
  offerId: string;
4171
5393
  lender: {
4172
5394
  name: string;
@@ -4174,11 +5396,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4174
5396
  type: string;
4175
5397
  logoUrl?: string | undefined;
4176
5398
  };
4177
- product: {
4178
- name: string;
4179
- type: string;
4180
- description?: string | undefined;
4181
- };
4182
5399
  terms: {
4183
5400
  amount: {
4184
5401
  amount: number;
@@ -4231,6 +5448,11 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4231
5448
  lenderInfo?: string | undefined;
4232
5449
  badges?: string[] | undefined;
4233
5450
  }, {
5451
+ product: {
5452
+ name: string;
5453
+ type: string;
5454
+ description?: string | undefined;
5455
+ };
4234
5456
  offerId: string;
4235
5457
  lender: {
4236
5458
  name: string;
@@ -4238,11 +5460,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4238
5460
  type: string;
4239
5461
  logoUrl?: string | undefined;
4240
5462
  };
4241
- product: {
4242
- name: string;
4243
- type: string;
4244
- description?: string | undefined;
4245
- };
4246
5463
  terms: {
4247
5464
  amount: {
4248
5465
  amount: number;
@@ -4332,6 +5549,7 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4332
5549
  }>;
4333
5550
  }, "strip", z.ZodTypeAny, {
4334
5551
  name: string;
5552
+ rating: number;
4335
5553
  terms: {
4336
5554
  apr: number;
4337
5555
  annualFee: number;
@@ -4343,11 +5561,11 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4343
5561
  cardId: string;
4344
5562
  issuer: string;
4345
5563
  imageUrl: string;
4346
- rating: number;
4347
5564
  creditScoreRange: string;
4348
5565
  welcomeBonus: string;
4349
5566
  }, {
4350
5567
  name: string;
5568
+ rating: number;
4351
5569
  terms: {
4352
5570
  apr: number;
4353
5571
  annualFee: number;
@@ -4359,7 +5577,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4359
5577
  cardId: string;
4360
5578
  issuer: string;
4361
5579
  imageUrl: string;
4362
- rating: number;
4363
5580
  creditScoreRange: string;
4364
5581
  welcomeBonus: string;
4365
5582
  }>, z.ZodObject<{
@@ -4375,10 +5592,10 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4375
5592
  bonus: z.ZodString;
4376
5593
  }, "strip", z.ZodTypeAny, {
4377
5594
  name: string;
5595
+ rating: number;
4378
5596
  monthlyFee: string;
4379
5597
  issuer: string;
4380
5598
  imageUrl: string;
4381
- rating: number;
4382
5599
  accountId: string;
4383
5600
  bestFor: string;
4384
5601
  apy: string;
@@ -4386,10 +5603,10 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4386
5603
  interestRate?: string | undefined;
4387
5604
  }, {
4388
5605
  name: string;
5606
+ rating: number;
4389
5607
  monthlyFee: string;
4390
5608
  issuer: string;
4391
5609
  imageUrl: string;
4392
- rating: number;
4393
5610
  accountId: string;
4394
5611
  bestFor: string;
4395
5612
  apy: string;
@@ -4409,10 +5626,10 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4409
5626
  overdraftRating: z.ZodNumber;
4410
5627
  }, "strip", z.ZodTypeAny, {
4411
5628
  name: string;
5629
+ rating: number;
4412
5630
  monthlyFee: string;
4413
5631
  issuer: string;
4414
5632
  imageUrl: string;
4415
- rating: number;
4416
5633
  accountId: string;
4417
5634
  bestFor: string;
4418
5635
  apy: string;
@@ -4421,10 +5638,10 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4421
5638
  interestRate?: string | undefined;
4422
5639
  }, {
4423
5640
  name: string;
5641
+ rating: number;
4424
5642
  monthlyFee: string;
4425
5643
  issuer: string;
4426
5644
  imageUrl: string;
4427
- rating: number;
4428
5645
  accountId: string;
4429
5646
  bestFor: string;
4430
5647
  apy: string;
@@ -4443,20 +5660,20 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4443
5660
  monthlyFee: z.ZodString;
4444
5661
  }, "strip", z.ZodTypeAny, {
4445
5662
  name: string;
5663
+ rating: number;
4446
5664
  monthlyFee: string;
4447
5665
  issuer: string;
4448
5666
  imageUrl: string;
4449
- rating: number;
4450
5667
  accountId: string;
4451
5668
  apy: string;
4452
5669
  minBalanceForApy: string;
4453
5670
  interestRate?: string | undefined;
4454
5671
  }, {
4455
5672
  name: string;
5673
+ rating: number;
4456
5674
  monthlyFee: string;
4457
5675
  issuer: string;
4458
5676
  imageUrl: string;
4459
- rating: number;
4460
5677
  accountId: string;
4461
5678
  apy: string;
4462
5679
  minBalanceForApy: string;
@@ -4514,6 +5731,7 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4514
5731
  applicationUrl: z.ZodOptional<z.ZodString>;
4515
5732
  }, "strip", z.ZodTypeAny, {
4516
5733
  name: string;
5734
+ rating: number;
4517
5735
  terms: {
4518
5736
  apr: {
4519
5737
  purchase: number;
@@ -4527,7 +5745,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4527
5745
  cardId: string;
4528
5746
  issuer: string;
4529
5747
  imageUrl: string;
4530
- rating: number;
4531
5748
  bestFor: string;
4532
5749
  rewardsRate: string;
4533
5750
  introOffer: string;
@@ -4535,6 +5752,7 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4535
5752
  applicationUrl?: string | undefined;
4536
5753
  }, {
4537
5754
  name: string;
5755
+ rating: number;
4538
5756
  terms: {
4539
5757
  apr: {
4540
5758
  purchase: number;
@@ -4548,7 +5766,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4548
5766
  cardId: string;
4549
5767
  issuer: string;
4550
5768
  imageUrl: string;
4551
- rating: number;
4552
5769
  bestFor: string;
4553
5770
  rewardsRate: string;
4554
5771
  introOffer: string;
@@ -4564,6 +5781,11 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4564
5781
  [k: string]: unknown;
4565
5782
  };
4566
5783
  offer: {
5784
+ product: {
5785
+ name: string;
5786
+ type: string;
5787
+ description?: string | undefined;
5788
+ };
4567
5789
  offerId: string;
4568
5790
  lender: {
4569
5791
  name: string;
@@ -4571,11 +5793,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4571
5793
  type: string;
4572
5794
  logoUrl?: string | undefined;
4573
5795
  };
4574
- product: {
4575
- name: string;
4576
- type: string;
4577
- description?: string | undefined;
4578
- };
4579
5796
  terms: {
4580
5797
  amount: {
4581
5798
  amount: number;
@@ -4629,6 +5846,7 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4629
5846
  badges?: string[] | undefined;
4630
5847
  } | {
4631
5848
  name: string;
5849
+ rating: number;
4632
5850
  terms: {
4633
5851
  apr: number;
4634
5852
  annualFee: number;
@@ -4640,15 +5858,14 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4640
5858
  cardId: string;
4641
5859
  issuer: string;
4642
5860
  imageUrl: string;
4643
- rating: number;
4644
5861
  creditScoreRange: string;
4645
5862
  welcomeBonus: string;
4646
5863
  } | {
4647
5864
  name: string;
5865
+ rating: number;
4648
5866
  monthlyFee: string;
4649
5867
  issuer: string;
4650
5868
  imageUrl: string;
4651
- rating: number;
4652
5869
  accountId: string;
4653
5870
  bestFor: string;
4654
5871
  apy: string;
@@ -4656,10 +5873,10 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4656
5873
  interestRate?: string | undefined;
4657
5874
  } | {
4658
5875
  name: string;
5876
+ rating: number;
4659
5877
  monthlyFee: string;
4660
5878
  issuer: string;
4661
5879
  imageUrl: string;
4662
- rating: number;
4663
5880
  accountId: string;
4664
5881
  bestFor: string;
4665
5882
  apy: string;
@@ -4668,16 +5885,17 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4668
5885
  interestRate?: string | undefined;
4669
5886
  } | {
4670
5887
  name: string;
5888
+ rating: number;
4671
5889
  monthlyFee: string;
4672
5890
  issuer: string;
4673
5891
  imageUrl: string;
4674
- rating: number;
4675
5892
  accountId: string;
4676
5893
  apy: string;
4677
5894
  minBalanceForApy: string;
4678
5895
  interestRate?: string | undefined;
4679
5896
  } | {
4680
5897
  name: string;
5898
+ rating: number;
4681
5899
  terms: {
4682
5900
  apr: {
4683
5901
  purchase: number;
@@ -4691,7 +5909,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4691
5909
  cardId: string;
4692
5910
  issuer: string;
4693
5911
  imageUrl: string;
4694
- rating: number;
4695
5912
  bestFor: string;
4696
5913
  rewardsRate: string;
4697
5914
  introOffer: string;
@@ -4699,6 +5916,11 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4699
5916
  applicationUrl?: string | undefined;
4700
5917
  };
4701
5918
  allOffers: ({
5919
+ product: {
5920
+ name: string;
5921
+ type: string;
5922
+ description?: string | undefined;
5923
+ };
4702
5924
  offerId: string;
4703
5925
  lender: {
4704
5926
  name: string;
@@ -4706,11 +5928,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4706
5928
  type: string;
4707
5929
  logoUrl?: string | undefined;
4708
5930
  };
4709
- product: {
4710
- name: string;
4711
- type: string;
4712
- description?: string | undefined;
4713
- };
4714
5931
  terms: {
4715
5932
  amount: {
4716
5933
  amount: number;
@@ -4764,6 +5981,7 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4764
5981
  badges?: string[] | undefined;
4765
5982
  } | {
4766
5983
  name: string;
5984
+ rating: number;
4767
5985
  terms: {
4768
5986
  apr: number;
4769
5987
  annualFee: number;
@@ -4775,15 +5993,14 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4775
5993
  cardId: string;
4776
5994
  issuer: string;
4777
5995
  imageUrl: string;
4778
- rating: number;
4779
5996
  creditScoreRange: string;
4780
5997
  welcomeBonus: string;
4781
5998
  } | {
4782
5999
  name: string;
6000
+ rating: number;
4783
6001
  monthlyFee: string;
4784
6002
  issuer: string;
4785
6003
  imageUrl: string;
4786
- rating: number;
4787
6004
  accountId: string;
4788
6005
  bestFor: string;
4789
6006
  apy: string;
@@ -4791,10 +6008,10 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4791
6008
  interestRate?: string | undefined;
4792
6009
  } | {
4793
6010
  name: string;
6011
+ rating: number;
4794
6012
  monthlyFee: string;
4795
6013
  issuer: string;
4796
6014
  imageUrl: string;
4797
- rating: number;
4798
6015
  accountId: string;
4799
6016
  bestFor: string;
4800
6017
  apy: string;
@@ -4803,16 +6020,17 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4803
6020
  interestRate?: string | undefined;
4804
6021
  } | {
4805
6022
  name: string;
6023
+ rating: number;
4806
6024
  monthlyFee: string;
4807
6025
  issuer: string;
4808
6026
  imageUrl: string;
4809
- rating: number;
4810
6027
  accountId: string;
4811
6028
  apy: string;
4812
6029
  minBalanceForApy: string;
4813
6030
  interestRate?: string | undefined;
4814
6031
  } | {
4815
6032
  name: string;
6033
+ rating: number;
4816
6034
  terms: {
4817
6035
  apr: {
4818
6036
  purchase: number;
@@ -4826,7 +6044,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4826
6044
  cardId: string;
4827
6045
  issuer: string;
4828
6046
  imageUrl: string;
4829
- rating: number;
4830
6047
  bestFor: string;
4831
6048
  rewardsRate: string;
4832
6049
  introOffer: string;
@@ -4840,6 +6057,11 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4840
6057
  [k: string]: unknown;
4841
6058
  };
4842
6059
  offer: {
6060
+ product: {
6061
+ name: string;
6062
+ type: string;
6063
+ description?: string | undefined;
6064
+ };
4843
6065
  offerId: string;
4844
6066
  lender: {
4845
6067
  name: string;
@@ -4847,11 +6069,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4847
6069
  type: string;
4848
6070
  logoUrl?: string | undefined;
4849
6071
  };
4850
- product: {
4851
- name: string;
4852
- type: string;
4853
- description?: string | undefined;
4854
- };
4855
6072
  terms: {
4856
6073
  amount: {
4857
6074
  amount: number;
@@ -4905,6 +6122,7 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4905
6122
  badges?: string[] | undefined;
4906
6123
  } | {
4907
6124
  name: string;
6125
+ rating: number;
4908
6126
  terms: {
4909
6127
  apr: number;
4910
6128
  annualFee: number;
@@ -4916,15 +6134,14 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4916
6134
  cardId: string;
4917
6135
  issuer: string;
4918
6136
  imageUrl: string;
4919
- rating: number;
4920
6137
  creditScoreRange: string;
4921
6138
  welcomeBonus: string;
4922
6139
  } | {
4923
6140
  name: string;
6141
+ rating: number;
4924
6142
  monthlyFee: string;
4925
6143
  issuer: string;
4926
6144
  imageUrl: string;
4927
- rating: number;
4928
6145
  accountId: string;
4929
6146
  bestFor: string;
4930
6147
  apy: string;
@@ -4932,10 +6149,10 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4932
6149
  interestRate?: string | undefined;
4933
6150
  } | {
4934
6151
  name: string;
6152
+ rating: number;
4935
6153
  monthlyFee: string;
4936
6154
  issuer: string;
4937
6155
  imageUrl: string;
4938
- rating: number;
4939
6156
  accountId: string;
4940
6157
  bestFor: string;
4941
6158
  apy: string;
@@ -4944,16 +6161,17 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4944
6161
  interestRate?: string | undefined;
4945
6162
  } | {
4946
6163
  name: string;
6164
+ rating: number;
4947
6165
  monthlyFee: string;
4948
6166
  issuer: string;
4949
6167
  imageUrl: string;
4950
- rating: number;
4951
6168
  accountId: string;
4952
6169
  apy: string;
4953
6170
  minBalanceForApy: string;
4954
6171
  interestRate?: string | undefined;
4955
6172
  } | {
4956
6173
  name: string;
6174
+ rating: number;
4957
6175
  terms: {
4958
6176
  apr: {
4959
6177
  purchase: number;
@@ -4967,7 +6185,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4967
6185
  cardId: string;
4968
6186
  issuer: string;
4969
6187
  imageUrl: string;
4970
- rating: number;
4971
6188
  bestFor: string;
4972
6189
  rewardsRate: string;
4973
6190
  introOffer: string;
@@ -4975,6 +6192,11 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4975
6192
  applicationUrl?: string | undefined;
4976
6193
  };
4977
6194
  allOffers: ({
6195
+ product: {
6196
+ name: string;
6197
+ type: string;
6198
+ description?: string | undefined;
6199
+ };
4978
6200
  offerId: string;
4979
6201
  lender: {
4980
6202
  name: string;
@@ -4982,11 +6204,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
4982
6204
  type: string;
4983
6205
  logoUrl?: string | undefined;
4984
6206
  };
4985
- product: {
4986
- name: string;
4987
- type: string;
4988
- description?: string | undefined;
4989
- };
4990
6207
  terms: {
4991
6208
  amount: {
4992
6209
  amount: number;
@@ -5040,6 +6257,7 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
5040
6257
  badges?: string[] | undefined;
5041
6258
  } | {
5042
6259
  name: string;
6260
+ rating: number;
5043
6261
  terms: {
5044
6262
  apr: number;
5045
6263
  annualFee: number;
@@ -5051,15 +6269,14 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
5051
6269
  cardId: string;
5052
6270
  issuer: string;
5053
6271
  imageUrl: string;
5054
- rating: number;
5055
6272
  creditScoreRange: string;
5056
6273
  welcomeBonus: string;
5057
6274
  } | {
5058
6275
  name: string;
6276
+ rating: number;
5059
6277
  monthlyFee: string;
5060
6278
  issuer: string;
5061
6279
  imageUrl: string;
5062
- rating: number;
5063
6280
  accountId: string;
5064
6281
  bestFor: string;
5065
6282
  apy: string;
@@ -5067,10 +6284,10 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
5067
6284
  interestRate?: string | undefined;
5068
6285
  } | {
5069
6286
  name: string;
6287
+ rating: number;
5070
6288
  monthlyFee: string;
5071
6289
  issuer: string;
5072
6290
  imageUrl: string;
5073
- rating: number;
5074
6291
  accountId: string;
5075
6292
  bestFor: string;
5076
6293
  apy: string;
@@ -5079,16 +6296,17 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
5079
6296
  interestRate?: string | undefined;
5080
6297
  } | {
5081
6298
  name: string;
6299
+ rating: number;
5082
6300
  monthlyFee: string;
5083
6301
  issuer: string;
5084
6302
  imageUrl: string;
5085
- rating: number;
5086
6303
  accountId: string;
5087
6304
  apy: string;
5088
6305
  minBalanceForApy: string;
5089
6306
  interestRate?: string | undefined;
5090
6307
  } | {
5091
6308
  name: string;
6309
+ rating: number;
5092
6310
  terms: {
5093
6311
  apr: {
5094
6312
  purchase: number;
@@ -5102,7 +6320,6 @@ declare const displayOfferFormResponseSchema: z.ZodObject<{
5102
6320
  cardId: string;
5103
6321
  issuer: string;
5104
6322
  imageUrl: string;
5105
- rating: number;
5106
6323
  bestFor: string;
5107
6324
  rewardsRate: string;
5108
6325
  introOffer: string;
@@ -5308,9 +6525,9 @@ declare const trackOfferStatusResponseSchema: z.ZodObject<{
5308
6525
  createdAt: string;
5309
6526
  email: string;
5310
6527
  id: string;
6528
+ productType: string;
5311
6529
  updatedAt: string;
5312
6530
  applicationType: ApplicationType;
5313
- productType: string;
5314
6531
  applicant: {
5315
6532
  email: string;
5316
6533
  firstName: string;
@@ -5335,9 +6552,9 @@ declare const trackOfferStatusResponseSchema: z.ZodObject<{
5335
6552
  createdAt: string;
5336
6553
  email: string;
5337
6554
  id: string;
6555
+ productType: string;
5338
6556
  updatedAt: string;
5339
6557
  applicationType: ApplicationType;
5340
- productType: string;
5341
6558
  applicant: {
5342
6559
  email: string;
5343
6560
  firstName: string;
@@ -5365,9 +6582,9 @@ declare const trackOfferStatusResponseSchema: z.ZodObject<{
5365
6582
  createdAt: string;
5366
6583
  email: string;
5367
6584
  id: string;
6585
+ productType: string;
5368
6586
  updatedAt: string;
5369
6587
  applicationType: ApplicationType;
5370
- productType: string;
5371
6588
  applicant: {
5372
6589
  email: string;
5373
6590
  firstName: string;
@@ -5395,9 +6612,9 @@ declare const trackOfferStatusResponseSchema: z.ZodObject<{
5395
6612
  createdAt: string;
5396
6613
  email: string;
5397
6614
  id: string;
6615
+ productType: string;
5398
6616
  updatedAt: string;
5399
6617
  applicationType: ApplicationType;
5400
- productType: string;
5401
6618
  applicant: {
5402
6619
  email: string;
5403
6620
  firstName: string;
@@ -5566,14 +6783,14 @@ declare const submitDocumentsSchema: z.ZodObject<{
5566
6783
  documentType: z.ZodEnum<["articles-of-incorporation", "balance-sheet", "bank-statement", "business-license", "business-plan", "contract", "drivers-license", "financial-statement", "identity-document", "invoice", "lease-agreement", "other-business-document", "other-personal-document", "passport", "profit-and-loss-statement", "proof-of-address", "proof-of-income", "property-document", "purchase-order", "tax-return", "utility-bill", "vehicle-document", "voided-check"]>;
5567
6784
  _openai_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
5568
6785
  }, "strip", z.ZodTypeAny, {
6786
+ documentType: "articles-of-incorporation" | "balance-sheet" | "bank-statement" | "business-license" | "business-plan" | "contract" | "drivers-license" | "financial-statement" | "identity-document" | "invoice" | "lease-agreement" | "other-business-document" | "other-personal-document" | "passport" | "profit-and-loss-statement" | "proof-of-address" | "proof-of-income" | "property-document" | "purchase-order" | "tax-return" | "utility-bill" | "vehicle-document" | "voided-check";
5569
6787
  applicationId: string;
5570
6788
  fileName: string;
5571
- documentType: "articles-of-incorporation" | "balance-sheet" | "bank-statement" | "business-license" | "business-plan" | "contract" | "drivers-license" | "financial-statement" | "identity-document" | "invoice" | "lease-agreement" | "other-business-document" | "other-personal-document" | "passport" | "profit-and-loss-statement" | "proof-of-address" | "proof-of-income" | "property-document" | "purchase-order" | "tax-return" | "utility-bill" | "vehicle-document" | "voided-check";
5572
6789
  _openai_meta?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
5573
6790
  }, {
6791
+ documentType: "articles-of-incorporation" | "balance-sheet" | "bank-statement" | "business-license" | "business-plan" | "contract" | "drivers-license" | "financial-statement" | "identity-document" | "invoice" | "lease-agreement" | "other-business-document" | "other-personal-document" | "passport" | "profit-and-loss-statement" | "proof-of-address" | "proof-of-income" | "property-document" | "purchase-order" | "tax-return" | "utility-bill" | "vehicle-document" | "voided-check";
5574
6792
  applicationId: string;
5575
6793
  fileName: string;
5576
- documentType: "articles-of-incorporation" | "balance-sheet" | "bank-statement" | "business-license" | "business-plan" | "contract" | "drivers-license" | "financial-statement" | "identity-document" | "invoice" | "lease-agreement" | "other-business-document" | "other-personal-document" | "passport" | "profit-and-loss-statement" | "proof-of-address" | "proof-of-income" | "property-document" | "purchase-order" | "tax-return" | "utility-bill" | "vehicle-document" | "voided-check";
5577
6794
  _openai_meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
5578
6795
  }>;
5579
6796
  type SubmitDocumentsParams = z.infer<typeof submitDocumentsSchema>;
@@ -5821,6 +7038,8 @@ type LeaseVsPurchaseResponse = z.infer<typeof leaseVsPurchaseResponseSchema>;
5821
7038
  interface SecureLendConfig {
5822
7039
  apiKey?: string;
5823
7040
  serverUrl?: string;
7041
+ apiBaseUrl?: string;
7042
+ fetch?: (input: string, init?: RequestInit) => Promise<Response>;
5824
7043
  }
5825
7044
 
5826
- export { type Application, type ApplicationProvider, ApplicationStatus, ApplicationType, type AutoLenderAdapter, type AutoLoanSearchParams, type BankAccountOffer, type BasisPoints, type BusinessApplicant, type BusinessApplication, type BusinessBankingAdapter, type BusinessBankingComparisonResponse, type BusinessBankingOffer, type BusinessBankingSearchSchema, type BusinessCreditCardAdapter, type BusinessCreditCardComparisonResponse, type BusinessCreditCardOffer, type BusinessCreditCardSearchParams, type BusinessLenderAdapter, type BusinessLoanSearchParams, type CreateBusinessApplicationDTO, type CreatePersonalApplicationDTO, type CreditCardOffer, CreditTier, type DateString, type DisplayOfferFormParams, type DisplayOfferFormResponse, type DisplayUploadDocumentsFormParams, type DisplayUploadDocumentsFormResponse, type DocumentType, type GenericApplication, type GetMultipleOffersParams, type GetOfferParams, type LeaseVsPurchaseParams, type LeaseVsPurchaseResponse, type Lender, type LenderSearchCriteria, type LoanCalculationResponse, type LoanComparisonResponse, type LoanOffer, type LoanPaymentParams, type Money, type MortgageCalculationResponse, type MortgageLenderAdapter, type MortgagePaymentParams, type MortgageSearchParams, type Percentage, type PersonalApplicant, type PersonalApplication, type PersonalBankingAdapter, type PersonalBankingComparisonResponse, type PersonalBankingOffer, type PersonalBankingSearchSchema, type PersonalCreditCardAdapter, type PersonalCreditCardComparisonResponse, type PersonalCreditCardOffer, type PersonalCreditCardSearchSchema, type PersonalLenderAdapter, type PersonalLoanSearchParams, ProductType, ProviderStatus, type SavingsAccountComparisonResponse, type SavingsAdapter, type SavingsOffer, type SavingsSearchSchema, type SecureLendConfig, type StudentLenderAdapter, type StudentLoanSearchParams, type SubmitDocumentsParams, type SubmitDocumentsResponse, type TrackOfferStatusParams, type TrackOfferStatusResponse, anyOfferSchema, applicationProviderSchema, autoLoanSearchSchema, bankAccountOfferSchema, businessApplicantSchema, businessBankingComparisonResponseSchema, businessBankingOfferSchema, businessBankingSearchSchema, businessCreditCardComparisonResponseSchema, businessCreditCardOfferSchema, businessCreditCardSearchSchema, businessLoanSearchSchema, createBusinessApplicationSchema, createPersonalApplicationSchema, creditCardOfferSchema, displayOfferFormResponseSchema, displayOfferFormSchema, displayUploadDocumentsFormResponseSchema, displayUploadDocumentsFormSchema, documentTypeEnum, getMultipleOffersSchema, getOfferSchema, leaseVsPurchaseResponseSchema, leaseVsPurchaseSchema, loanComparisonResponseSchema, loanOfferSchema, loanPaymentResponseSchema, loanPaymentSchema, mortgagePaymentResponseSchema, mortgagePaymentSchema, mortgageSearchSchema, personalApplicantSchema, personalApplicationSchema, personalBankingComparisonResponseSchema, personalBankingOfferSchema, personalBankingSearchSchema, personalCreditCardComparisonResponseSchema, personalCreditCardOfferSchema, personalCreditCardSearchSchema, personalLoanSearchSchema, savingsComparisonResponseSchema, savingsOfferSchema, savingsSearchSchema, studentLoanSearchSchema, submitDocumentsResponseSchema, submitDocumentsSchema, trackOfferStatusResponseSchema, trackOfferStatusSchema };
7045
+ export { type Application, type ApplicationProvider, ApplicationStatus, ApplicationType, type AutoLenderAdapter, type AutoLoanSearchParams, type BankAccountOffer, type BasisPoints, type BusinessApplicant, type BusinessApplication, type BusinessBankingAdapter, type BusinessBankingComparisonResponse, type BusinessBankingOffer, type BusinessBankingSearchSchema, type BusinessCreditCardAdapter, type BusinessCreditCardComparisonResponse, type BusinessCreditCardOffer, type BusinessCreditCardSearchParams, type BusinessLenderAdapter, type BusinessLoanSearchParams, type ConsentCreateInput, type CreateBusinessApplicationDTO, type CreatePersonalApplicationDTO, type CreditBox, type CreditBoxView, type CreditBoxWriteInput, type CreditCardOffer, CreditTier, DECLINE_REASON_CODES, type DateString, type DisplayOfferFormParams, type DisplayOfferFormResponse, type DisplayUploadDocumentsFormParams, type DisplayUploadDocumentsFormResponse, type DocumentType, EVENT_TYPES, FEEDBACK_TARGETS, FEEDBACK_TYPES, type FeedbackCreated, type FeedbackEvent, type FeedbackSubmitInput, type GenericApplication, type GetMultipleOffersParams, type GetOfferParams, type Lead, type LeadCreateInput, type LeadListFilter, type LeadOutcome, type LeaseVsPurchaseParams, type LeaseVsPurchaseResponse, type Lender, type LenderMatch, type LenderSearchCriteria, type LiquidityCell, type LiquidityMetrics, type LiquidityQuery, type LoanCalculationResponse, type LoanComparisonResponse, type LoanOffer, type LoanPaymentParams, type MatchComponents, type MatchList, type Money, type MortgageCalculationResponse, type MortgageLenderAdapter, type MortgagePaymentParams, type MortgageSearchParams, OUTCOME_STATES, type OutcomeRecordInput, type PackageRecord, type PackageStartInput, type Percentage, type PersonalApplicant, type PersonalApplication, type PersonalBankingAdapter, type PersonalBankingComparisonResponse, type PersonalBankingOffer, type PersonalBankingSearchSchema, type PersonalCreditCardAdapter, type PersonalCreditCardComparisonResponse, type PersonalCreditCardOffer, type PersonalCreditCardSearchSchema, type PersonalLenderAdapter, type PersonalLoanSearchParams, ProductType, ProviderStatus, type RequestOptions, SHARE_SCOPES, type SavingsAccountComparisonResponse, type SavingsAdapter, type SavingsOffer, type SavingsSearchSchema, type SecureLendConfig, type SecureLendEvent, type ShareConsent, type ShareReceipt, type StudentLenderAdapter, type StudentLoanSearchParams, type SubmitDocumentsParams, type SubmitDocumentsResponse, type TrackOfferStatusParams, type TrackOfferStatusResponse, type UploadFile, type UploadResult, anyOfferSchema, applicationProviderSchema, autoLoanSearchSchema, bankAccountOfferSchema, businessApplicantSchema, businessBankingComparisonResponseSchema, businessBankingOfferSchema, businessBankingSearchSchema, businessCreditCardComparisonResponseSchema, businessCreditCardOfferSchema, businessCreditCardSearchSchema, businessLoanSearchSchema, createBusinessApplicationSchema, createPersonalApplicationSchema, creditBoxSchema, creditBoxViewSchema, creditCardOfferSchema, displayOfferFormResponseSchema, displayOfferFormSchema, displayUploadDocumentsFormResponseSchema, displayUploadDocumentsFormSchema, documentTypeEnum, feedbackCreatedSchema, feedbackEventSchema, getMultipleOffersSchema, getOfferSchema, leadListSchema, leadOutcomeSchema, leadSchema, leaseVsPurchaseResponseSchema, leaseVsPurchaseSchema, lenderMatchSchema, liquidityCellSchema, liquidityReportSchema, loanComparisonResponseSchema, loanOfferSchema, loanPaymentResponseSchema, loanPaymentSchema, matchComponentsSchema, matchListSchema, mortgagePaymentResponseSchema, mortgagePaymentSchema, mortgageSearchSchema, packageSchema, personalApplicantSchema, personalApplicationSchema, personalBankingComparisonResponseSchema, personalBankingOfferSchema, personalBankingSearchSchema, personalCreditCardComparisonResponseSchema, personalCreditCardOfferSchema, personalCreditCardSearchSchema, personalLoanSearchSchema, savingsComparisonResponseSchema, savingsOfferSchema, savingsSearchSchema, secureLendEventSchema, shareConsentSchema, shareReceiptSchema, studentLoanSearchSchema, submitDocumentsResponseSchema, submitDocumentsSchema, trackOfferStatusResponseSchema, trackOfferStatusSchema, uploadResultSchema };