@financeable/aggregation 0.7.2 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/customerattributes.d.ts +14 -0
- package/models/components/customerattributes.d.ts.map +1 -1
- package/models/components/customerattributes.js +11 -0
- package/models/components/customerattributes.js.map +1 -1
- package/models/components/index.d.ts +3 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +3 -0
- package/models/components/index.js.map +1 -1
- package/models/components/livingarrangements.d.ts +34 -0
- package/models/components/livingarrangements.d.ts.map +1 -0
- package/models/components/livingarrangements.js +62 -0
- package/models/components/livingarrangements.js.map +1 -0
- package/models/components/maritalstatus.d.ts +28 -0
- package/models/components/maritalstatus.d.ts.map +1 -0
- package/models/components/maritalstatus.js +60 -0
- package/models/components/maritalstatus.js.map +1 -0
- package/models/components/residencystatus.d.ts +37 -0
- package/models/components/residencystatus.d.ts.map +1 -0
- package/models/components/residencystatus.js +63 -0
- package/models/components/residencystatus.js.map +1 -0
- package/models/operations/createapplication.d.ts +292 -7
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/createapplication.js +320 -5
- package/models/operations/createapplication.js.map +1 -1
- package/package.json +2 -2
- package/src/lib/config.ts +3 -3
- package/src/models/components/customerattributes.ts +34 -0
- package/src/models/components/index.ts +3 -0
- package/src/models/components/livingarrangements.ts +35 -0
- package/src/models/components/maritalstatus.ts +33 -0
- package/src/models/components/residencystatus.ts +36 -0
- package/src/models/operations/createapplication.ts +539 -11
|
@@ -36,16 +36,45 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.CreateApplicationResponseBody$ = exports.CreateApplicationResponseBody$outboundSchema = exports.CreateApplicationResponseBody$inboundSchema = exports.CreateApplicationRequestBody$ = exports.CreateApplicationRequestBody$outboundSchema = exports.CreateApplicationRequestBody$inboundSchema = exports.Data$ = exports.Data$outboundSchema = exports.Data$inboundSchema = void 0;
|
|
39
|
+
exports.CreateApplicationResponseBody$ = exports.CreateApplicationResponseBody$outboundSchema = exports.CreateApplicationResponseBody$inboundSchema = exports.Links$ = exports.Links$outboundSchema = exports.Links$inboundSchema = exports.Included$ = exports.Included$outboundSchema = exports.Included$inboundSchema = exports.One$ = exports.One$outboundSchema = exports.One$inboundSchema = exports.Type$ = exports.Type$outboundSchema = exports.Type$inboundSchema = exports.Two$ = exports.Two$outboundSchema = exports.Two$inboundSchema = exports.IncludedType$ = exports.IncludedType$outboundSchema = exports.IncludedType$inboundSchema = exports.Three$ = exports.Three$outboundSchema = exports.Three$inboundSchema = exports.CreateApplicationIncludedType$ = exports.CreateApplicationIncludedType$outboundSchema = exports.CreateApplicationIncludedType$inboundSchema = exports.Four$ = exports.Four$outboundSchema = exports.Four$inboundSchema = exports.CreateApplicationIncludedApplicationsType$ = exports.CreateApplicationIncludedApplicationsType$outboundSchema = exports.CreateApplicationIncludedApplicationsType$inboundSchema = exports.Five$ = exports.Five$outboundSchema = exports.Five$inboundSchema = exports.CreateApplicationIncludedApplicationsResponseType$ = exports.CreateApplicationIncludedApplicationsResponseType$outboundSchema = exports.CreateApplicationIncludedApplicationsResponseType$inboundSchema = exports.CreateApplicationRequestBody$ = exports.CreateApplicationRequestBody$outboundSchema = exports.CreateApplicationRequestBody$inboundSchema = exports.Data$ = exports.Data$outboundSchema = exports.Data$inboundSchema = exports.Type = exports.IncludedType = exports.CreateApplicationIncludedType = exports.CreateApplicationIncludedApplicationsType = exports.CreateApplicationIncludedApplicationsResponseType = void 0;
|
|
40
40
|
exports.dataToJSON = dataToJSON;
|
|
41
41
|
exports.dataFromJSON = dataFromJSON;
|
|
42
42
|
exports.createApplicationRequestBodyToJSON = createApplicationRequestBodyToJSON;
|
|
43
43
|
exports.createApplicationRequestBodyFromJSON = createApplicationRequestBodyFromJSON;
|
|
44
|
+
exports.fiveToJSON = fiveToJSON;
|
|
45
|
+
exports.fiveFromJSON = fiveFromJSON;
|
|
46
|
+
exports.fourToJSON = fourToJSON;
|
|
47
|
+
exports.fourFromJSON = fourFromJSON;
|
|
48
|
+
exports.threeToJSON = threeToJSON;
|
|
49
|
+
exports.threeFromJSON = threeFromJSON;
|
|
50
|
+
exports.twoToJSON = twoToJSON;
|
|
51
|
+
exports.twoFromJSON = twoFromJSON;
|
|
52
|
+
exports.oneToJSON = oneToJSON;
|
|
53
|
+
exports.oneFromJSON = oneFromJSON;
|
|
54
|
+
exports.includedToJSON = includedToJSON;
|
|
55
|
+
exports.includedFromJSON = includedFromJSON;
|
|
56
|
+
exports.linksToJSON = linksToJSON;
|
|
57
|
+
exports.linksFromJSON = linksFromJSON;
|
|
44
58
|
exports.createApplicationResponseBodyToJSON = createApplicationResponseBodyToJSON;
|
|
45
59
|
exports.createApplicationResponseBodyFromJSON = createApplicationResponseBodyFromJSON;
|
|
46
60
|
const z = __importStar(require("zod"));
|
|
47
61
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
48
62
|
const components = __importStar(require("../components/index.js"));
|
|
63
|
+
exports.CreateApplicationIncludedApplicationsResponseType = {
|
|
64
|
+
Customers: "customers",
|
|
65
|
+
};
|
|
66
|
+
exports.CreateApplicationIncludedApplicationsType = {
|
|
67
|
+
LoanDetails: "loan-details",
|
|
68
|
+
};
|
|
69
|
+
exports.CreateApplicationIncludedType = {
|
|
70
|
+
Entities: "entities",
|
|
71
|
+
};
|
|
72
|
+
exports.IncludedType = {
|
|
73
|
+
Assets: "assets",
|
|
74
|
+
};
|
|
75
|
+
exports.Type = {
|
|
76
|
+
Addresses: "addresses",
|
|
77
|
+
};
|
|
49
78
|
/** @internal */
|
|
50
79
|
exports.Data$inboundSchema = z
|
|
51
80
|
.union([
|
|
@@ -106,16 +135,302 @@ function createApplicationRequestBodyFromJSON(jsonString) {
|
|
|
106
135
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateApplicationRequestBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateApplicationRequestBody' from JSON`);
|
|
107
136
|
}
|
|
108
137
|
/** @internal */
|
|
138
|
+
exports.CreateApplicationIncludedApplicationsResponseType$inboundSchema = z
|
|
139
|
+
.nativeEnum(exports.CreateApplicationIncludedApplicationsResponseType);
|
|
140
|
+
/** @internal */
|
|
141
|
+
exports.CreateApplicationIncludedApplicationsResponseType$outboundSchema = exports.CreateApplicationIncludedApplicationsResponseType$inboundSchema;
|
|
142
|
+
/**
|
|
143
|
+
* @internal
|
|
144
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
145
|
+
*/
|
|
146
|
+
var CreateApplicationIncludedApplicationsResponseType$;
|
|
147
|
+
(function (CreateApplicationIncludedApplicationsResponseType$) {
|
|
148
|
+
/** @deprecated use `CreateApplicationIncludedApplicationsResponseType$inboundSchema` instead. */
|
|
149
|
+
CreateApplicationIncludedApplicationsResponseType$.inboundSchema = exports.CreateApplicationIncludedApplicationsResponseType$inboundSchema;
|
|
150
|
+
/** @deprecated use `CreateApplicationIncludedApplicationsResponseType$outboundSchema` instead. */
|
|
151
|
+
CreateApplicationIncludedApplicationsResponseType$.outboundSchema = exports.CreateApplicationIncludedApplicationsResponseType$outboundSchema;
|
|
152
|
+
})(CreateApplicationIncludedApplicationsResponseType$ || (exports.CreateApplicationIncludedApplicationsResponseType$ = CreateApplicationIncludedApplicationsResponseType$ = {}));
|
|
153
|
+
/** @internal */
|
|
154
|
+
exports.Five$inboundSchema = z
|
|
155
|
+
.object({
|
|
156
|
+
type: exports.CreateApplicationIncludedApplicationsResponseType$inboundSchema,
|
|
157
|
+
id: z.string(),
|
|
158
|
+
});
|
|
159
|
+
/** @internal */
|
|
160
|
+
exports.Five$outboundSchema = z.object({
|
|
161
|
+
type: exports.CreateApplicationIncludedApplicationsResponseType$outboundSchema,
|
|
162
|
+
id: z.string(),
|
|
163
|
+
});
|
|
164
|
+
/**
|
|
165
|
+
* @internal
|
|
166
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
167
|
+
*/
|
|
168
|
+
var Five$;
|
|
169
|
+
(function (Five$) {
|
|
170
|
+
/** @deprecated use `Five$inboundSchema` instead. */
|
|
171
|
+
Five$.inboundSchema = exports.Five$inboundSchema;
|
|
172
|
+
/** @deprecated use `Five$outboundSchema` instead. */
|
|
173
|
+
Five$.outboundSchema = exports.Five$outboundSchema;
|
|
174
|
+
})(Five$ || (exports.Five$ = Five$ = {}));
|
|
175
|
+
function fiveToJSON(five) {
|
|
176
|
+
return JSON.stringify(exports.Five$outboundSchema.parse(five));
|
|
177
|
+
}
|
|
178
|
+
function fiveFromJSON(jsonString) {
|
|
179
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Five$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Five' from JSON`);
|
|
180
|
+
}
|
|
181
|
+
/** @internal */
|
|
182
|
+
exports.CreateApplicationIncludedApplicationsType$inboundSchema = z
|
|
183
|
+
.nativeEnum(exports.CreateApplicationIncludedApplicationsType);
|
|
184
|
+
/** @internal */
|
|
185
|
+
exports.CreateApplicationIncludedApplicationsType$outboundSchema = exports.CreateApplicationIncludedApplicationsType$inboundSchema;
|
|
186
|
+
/**
|
|
187
|
+
* @internal
|
|
188
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
189
|
+
*/
|
|
190
|
+
var CreateApplicationIncludedApplicationsType$;
|
|
191
|
+
(function (CreateApplicationIncludedApplicationsType$) {
|
|
192
|
+
/** @deprecated use `CreateApplicationIncludedApplicationsType$inboundSchema` instead. */
|
|
193
|
+
CreateApplicationIncludedApplicationsType$.inboundSchema = exports.CreateApplicationIncludedApplicationsType$inboundSchema;
|
|
194
|
+
/** @deprecated use `CreateApplicationIncludedApplicationsType$outboundSchema` instead. */
|
|
195
|
+
CreateApplicationIncludedApplicationsType$.outboundSchema = exports.CreateApplicationIncludedApplicationsType$outboundSchema;
|
|
196
|
+
})(CreateApplicationIncludedApplicationsType$ || (exports.CreateApplicationIncludedApplicationsType$ = CreateApplicationIncludedApplicationsType$ = {}));
|
|
197
|
+
/** @internal */
|
|
198
|
+
exports.Four$inboundSchema = z
|
|
199
|
+
.object({
|
|
200
|
+
type: exports.CreateApplicationIncludedApplicationsType$inboundSchema,
|
|
201
|
+
id: z.string(),
|
|
202
|
+
});
|
|
203
|
+
/** @internal */
|
|
204
|
+
exports.Four$outboundSchema = z.object({
|
|
205
|
+
type: exports.CreateApplicationIncludedApplicationsType$outboundSchema,
|
|
206
|
+
id: z.string(),
|
|
207
|
+
});
|
|
208
|
+
/**
|
|
209
|
+
* @internal
|
|
210
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
211
|
+
*/
|
|
212
|
+
var Four$;
|
|
213
|
+
(function (Four$) {
|
|
214
|
+
/** @deprecated use `Four$inboundSchema` instead. */
|
|
215
|
+
Four$.inboundSchema = exports.Four$inboundSchema;
|
|
216
|
+
/** @deprecated use `Four$outboundSchema` instead. */
|
|
217
|
+
Four$.outboundSchema = exports.Four$outboundSchema;
|
|
218
|
+
})(Four$ || (exports.Four$ = Four$ = {}));
|
|
219
|
+
function fourToJSON(four) {
|
|
220
|
+
return JSON.stringify(exports.Four$outboundSchema.parse(four));
|
|
221
|
+
}
|
|
222
|
+
function fourFromJSON(jsonString) {
|
|
223
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Four$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Four' from JSON`);
|
|
224
|
+
}
|
|
225
|
+
/** @internal */
|
|
226
|
+
exports.CreateApplicationIncludedType$inboundSchema = z.nativeEnum(exports.CreateApplicationIncludedType);
|
|
227
|
+
/** @internal */
|
|
228
|
+
exports.CreateApplicationIncludedType$outboundSchema = exports.CreateApplicationIncludedType$inboundSchema;
|
|
229
|
+
/**
|
|
230
|
+
* @internal
|
|
231
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
232
|
+
*/
|
|
233
|
+
var CreateApplicationIncludedType$;
|
|
234
|
+
(function (CreateApplicationIncludedType$) {
|
|
235
|
+
/** @deprecated use `CreateApplicationIncludedType$inboundSchema` instead. */
|
|
236
|
+
CreateApplicationIncludedType$.inboundSchema = exports.CreateApplicationIncludedType$inboundSchema;
|
|
237
|
+
/** @deprecated use `CreateApplicationIncludedType$outboundSchema` instead. */
|
|
238
|
+
CreateApplicationIncludedType$.outboundSchema = exports.CreateApplicationIncludedType$outboundSchema;
|
|
239
|
+
})(CreateApplicationIncludedType$ || (exports.CreateApplicationIncludedType$ = CreateApplicationIncludedType$ = {}));
|
|
240
|
+
/** @internal */
|
|
241
|
+
exports.Three$inboundSchema = z
|
|
242
|
+
.object({
|
|
243
|
+
type: exports.CreateApplicationIncludedType$inboundSchema,
|
|
244
|
+
id: z.string(),
|
|
245
|
+
});
|
|
246
|
+
/** @internal */
|
|
247
|
+
exports.Three$outboundSchema = z.object({
|
|
248
|
+
type: exports.CreateApplicationIncludedType$outboundSchema,
|
|
249
|
+
id: z.string(),
|
|
250
|
+
});
|
|
251
|
+
/**
|
|
252
|
+
* @internal
|
|
253
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
254
|
+
*/
|
|
255
|
+
var Three$;
|
|
256
|
+
(function (Three$) {
|
|
257
|
+
/** @deprecated use `Three$inboundSchema` instead. */
|
|
258
|
+
Three$.inboundSchema = exports.Three$inboundSchema;
|
|
259
|
+
/** @deprecated use `Three$outboundSchema` instead. */
|
|
260
|
+
Three$.outboundSchema = exports.Three$outboundSchema;
|
|
261
|
+
})(Three$ || (exports.Three$ = Three$ = {}));
|
|
262
|
+
function threeToJSON(three) {
|
|
263
|
+
return JSON.stringify(exports.Three$outboundSchema.parse(three));
|
|
264
|
+
}
|
|
265
|
+
function threeFromJSON(jsonString) {
|
|
266
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Three$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Three' from JSON`);
|
|
267
|
+
}
|
|
268
|
+
/** @internal */
|
|
269
|
+
exports.IncludedType$inboundSchema = z.nativeEnum(exports.IncludedType);
|
|
270
|
+
/** @internal */
|
|
271
|
+
exports.IncludedType$outboundSchema = exports.IncludedType$inboundSchema;
|
|
272
|
+
/**
|
|
273
|
+
* @internal
|
|
274
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
275
|
+
*/
|
|
276
|
+
var IncludedType$;
|
|
277
|
+
(function (IncludedType$) {
|
|
278
|
+
/** @deprecated use `IncludedType$inboundSchema` instead. */
|
|
279
|
+
IncludedType$.inboundSchema = exports.IncludedType$inboundSchema;
|
|
280
|
+
/** @deprecated use `IncludedType$outboundSchema` instead. */
|
|
281
|
+
IncludedType$.outboundSchema = exports.IncludedType$outboundSchema;
|
|
282
|
+
})(IncludedType$ || (exports.IncludedType$ = IncludedType$ = {}));
|
|
283
|
+
/** @internal */
|
|
284
|
+
exports.Two$inboundSchema = z
|
|
285
|
+
.object({
|
|
286
|
+
type: exports.IncludedType$inboundSchema,
|
|
287
|
+
id: z.string(),
|
|
288
|
+
});
|
|
289
|
+
/** @internal */
|
|
290
|
+
exports.Two$outboundSchema = z
|
|
291
|
+
.object({
|
|
292
|
+
type: exports.IncludedType$outboundSchema,
|
|
293
|
+
id: z.string(),
|
|
294
|
+
});
|
|
295
|
+
/**
|
|
296
|
+
* @internal
|
|
297
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
298
|
+
*/
|
|
299
|
+
var Two$;
|
|
300
|
+
(function (Two$) {
|
|
301
|
+
/** @deprecated use `Two$inboundSchema` instead. */
|
|
302
|
+
Two$.inboundSchema = exports.Two$inboundSchema;
|
|
303
|
+
/** @deprecated use `Two$outboundSchema` instead. */
|
|
304
|
+
Two$.outboundSchema = exports.Two$outboundSchema;
|
|
305
|
+
})(Two$ || (exports.Two$ = Two$ = {}));
|
|
306
|
+
function twoToJSON(two) {
|
|
307
|
+
return JSON.stringify(exports.Two$outboundSchema.parse(two));
|
|
308
|
+
}
|
|
309
|
+
function twoFromJSON(jsonString) {
|
|
310
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Two$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Two' from JSON`);
|
|
311
|
+
}
|
|
312
|
+
/** @internal */
|
|
313
|
+
exports.Type$inboundSchema = z.nativeEnum(exports.Type);
|
|
314
|
+
/** @internal */
|
|
315
|
+
exports.Type$outboundSchema = exports.Type$inboundSchema;
|
|
316
|
+
/**
|
|
317
|
+
* @internal
|
|
318
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
319
|
+
*/
|
|
320
|
+
var Type$;
|
|
321
|
+
(function (Type$) {
|
|
322
|
+
/** @deprecated use `Type$inboundSchema` instead. */
|
|
323
|
+
Type$.inboundSchema = exports.Type$inboundSchema;
|
|
324
|
+
/** @deprecated use `Type$outboundSchema` instead. */
|
|
325
|
+
Type$.outboundSchema = exports.Type$outboundSchema;
|
|
326
|
+
})(Type$ || (exports.Type$ = Type$ = {}));
|
|
327
|
+
/** @internal */
|
|
328
|
+
exports.One$inboundSchema = z
|
|
329
|
+
.object({
|
|
330
|
+
type: exports.Type$inboundSchema,
|
|
331
|
+
id: z.string(),
|
|
332
|
+
});
|
|
333
|
+
/** @internal */
|
|
334
|
+
exports.One$outboundSchema = z
|
|
335
|
+
.object({
|
|
336
|
+
type: exports.Type$outboundSchema,
|
|
337
|
+
id: z.string(),
|
|
338
|
+
});
|
|
339
|
+
/**
|
|
340
|
+
* @internal
|
|
341
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
342
|
+
*/
|
|
343
|
+
var One$;
|
|
344
|
+
(function (One$) {
|
|
345
|
+
/** @deprecated use `One$inboundSchema` instead. */
|
|
346
|
+
One$.inboundSchema = exports.One$inboundSchema;
|
|
347
|
+
/** @deprecated use `One$outboundSchema` instead. */
|
|
348
|
+
One$.outboundSchema = exports.One$outboundSchema;
|
|
349
|
+
})(One$ || (exports.One$ = One$ = {}));
|
|
350
|
+
function oneToJSON(one) {
|
|
351
|
+
return JSON.stringify(exports.One$outboundSchema.parse(one));
|
|
352
|
+
}
|
|
353
|
+
function oneFromJSON(jsonString) {
|
|
354
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.One$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'One' from JSON`);
|
|
355
|
+
}
|
|
356
|
+
/** @internal */
|
|
357
|
+
exports.Included$inboundSchema = z.union([
|
|
358
|
+
z.lazy(() => exports.One$inboundSchema),
|
|
359
|
+
z.lazy(() => exports.Two$inboundSchema),
|
|
360
|
+
z.lazy(() => exports.Three$inboundSchema),
|
|
361
|
+
z.lazy(() => exports.Four$inboundSchema),
|
|
362
|
+
z.lazy(() => exports.Five$inboundSchema),
|
|
363
|
+
]);
|
|
364
|
+
/** @internal */
|
|
365
|
+
exports.Included$outboundSchema = z.union([
|
|
366
|
+
z.lazy(() => exports.One$outboundSchema),
|
|
367
|
+
z.lazy(() => exports.Two$outboundSchema),
|
|
368
|
+
z.lazy(() => exports.Three$outboundSchema),
|
|
369
|
+
z.lazy(() => exports.Four$outboundSchema),
|
|
370
|
+
z.lazy(() => exports.Five$outboundSchema),
|
|
371
|
+
]);
|
|
372
|
+
/**
|
|
373
|
+
* @internal
|
|
374
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
375
|
+
*/
|
|
376
|
+
var Included$;
|
|
377
|
+
(function (Included$) {
|
|
378
|
+
/** @deprecated use `Included$inboundSchema` instead. */
|
|
379
|
+
Included$.inboundSchema = exports.Included$inboundSchema;
|
|
380
|
+
/** @deprecated use `Included$outboundSchema` instead. */
|
|
381
|
+
Included$.outboundSchema = exports.Included$outboundSchema;
|
|
382
|
+
})(Included$ || (exports.Included$ = Included$ = {}));
|
|
383
|
+
function includedToJSON(included) {
|
|
384
|
+
return JSON.stringify(exports.Included$outboundSchema.parse(included));
|
|
385
|
+
}
|
|
386
|
+
function includedFromJSON(jsonString) {
|
|
387
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Included$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Included' from JSON`);
|
|
388
|
+
}
|
|
389
|
+
/** @internal */
|
|
390
|
+
exports.Links$inboundSchema = z
|
|
391
|
+
.object({});
|
|
392
|
+
/** @internal */
|
|
393
|
+
exports.Links$outboundSchema = z.object({});
|
|
394
|
+
/**
|
|
395
|
+
* @internal
|
|
396
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
397
|
+
*/
|
|
398
|
+
var Links$;
|
|
399
|
+
(function (Links$) {
|
|
400
|
+
/** @deprecated use `Links$inboundSchema` instead. */
|
|
401
|
+
Links$.inboundSchema = exports.Links$inboundSchema;
|
|
402
|
+
/** @deprecated use `Links$outboundSchema` instead. */
|
|
403
|
+
Links$.outboundSchema = exports.Links$outboundSchema;
|
|
404
|
+
})(Links$ || (exports.Links$ = Links$ = {}));
|
|
405
|
+
function linksToJSON(links) {
|
|
406
|
+
return JSON.stringify(exports.Links$outboundSchema.parse(links));
|
|
407
|
+
}
|
|
408
|
+
function linksFromJSON(jsonString) {
|
|
409
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Links$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Links' from JSON`);
|
|
410
|
+
}
|
|
411
|
+
/** @internal */
|
|
109
412
|
exports.CreateApplicationResponseBody$inboundSchema = z.object({
|
|
110
413
|
data: components.ApplicationResource$inboundSchema,
|
|
111
|
-
included: z.array(
|
|
112
|
-
|
|
414
|
+
included: z.array(z.union([
|
|
415
|
+
z.lazy(() => exports.One$inboundSchema),
|
|
416
|
+
z.lazy(() => exports.Two$inboundSchema),
|
|
417
|
+
z.lazy(() => exports.Three$inboundSchema),
|
|
418
|
+
z.lazy(() => exports.Four$inboundSchema),
|
|
419
|
+
z.lazy(() => exports.Five$inboundSchema),
|
|
420
|
+
])).optional(),
|
|
421
|
+
links: z.lazy(() => exports.Links$inboundSchema).optional(),
|
|
113
422
|
});
|
|
114
423
|
/** @internal */
|
|
115
424
|
exports.CreateApplicationResponseBody$outboundSchema = z.object({
|
|
116
425
|
data: components.ApplicationResource$outboundSchema,
|
|
117
|
-
included: z.array(
|
|
118
|
-
|
|
426
|
+
included: z.array(z.union([
|
|
427
|
+
z.lazy(() => exports.One$outboundSchema),
|
|
428
|
+
z.lazy(() => exports.Two$outboundSchema),
|
|
429
|
+
z.lazy(() => exports.Three$outboundSchema),
|
|
430
|
+
z.lazy(() => exports.Four$outboundSchema),
|
|
431
|
+
z.lazy(() => exports.Five$outboundSchema),
|
|
432
|
+
])).optional(),
|
|
433
|
+
links: z.lazy(() => exports.Links$outboundSchema).optional(),
|
|
119
434
|
});
|
|
120
435
|
/**
|
|
121
436
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createapplication.js","sourceRoot":"","sources":["../../src/models/operations/createapplication.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiEH,gCAEC;AAED,oCAQC;AA8CD,gFAQC;AAED,oFAQC;AA4CD,kFAQC;AAED,sFAQC;AAzMD,uCAAyB;AACzB,qDAAiD;AAEjD,mEAAqD;AA4BrD,gBAAgB;AACH,QAAA,kBAAkB,GAA2C,CAAC;KACxE,KAAK,CAAC;IACL,UAAU,CAAC,iDAAiD;IAC5D,UAAU,CAAC,+CAA+C;CAC3D,CAAC,CAAC;AAOL,gBAAgB;AACH,QAAA,mBAAmB,GAC9B,CAAC,CAAC,KAAK,CAAC;IACN,UAAU,CAAC,kDAAkD;IAC7D,UAAU,CAAC,gDAAgD;CAC5D,CAAC,CAAC;AAEL;;;GAGG;AACH,IAAiB,KAAK,CAOrB;AAPD,WAAiB,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AK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"createapplication.js","sourceRoot":"","sources":["../../src/models/operations/createapplication.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2HH,gCAEC;AAED,oCAQC;AA8CD,gFAQC;AAED,oFAQC;AA0DD,gCAEC;AAED,oCAQC;AA0DD,gCAEC;AAED,oCAQC;AA2DD,kCAEC;AAED,sCAQC;AAsDD,8BAEC;AAED,kCAQC;AAuDD,8BAEC;AAED,kCAQC;AAiDD,wCAEC;AAED,4CAQC;AA6BD,kCAEC;AAED,sCAQC;AAoED,kFAQC;AAED,sFAQC;AAztBD,uCAAyB;AACzB,qDAAiD;AAGjD,mEAAqD;AAaxC,QAAA,iDAAiD,GAAG;IAC/D,SAAS,EAAE,WAAW;CACd,CAAC;AAUE,QAAA,yCAAyC,GAAG;IACvD,WAAW,EAAE,cAAc;CACnB,CAAC;AAUE,QAAA,6BAA6B,GAAG;IAC3C,QAAQ,EAAE,UAAU;CACZ,CAAC;AAUE,QAAA,YAAY,GAAG;IAC1B,MAAM,EAAE,QAAQ;CACR,CAAC;AAQE,QAAA,IAAI,GAAG;IAClB,SAAS,EAAE,WAAW;CACd,CAAC;AAwBX,gBAAgB;AACH,QAAA,kBAAkB,GAA2C,CAAC;KACxE,KAAK,CAAC;IACL,UAAU,CAAC,iDAAiD;IAC5D,UAAU,CAAC,+CAA+C;CAC3D,CAAC,CAAC;AAOL,gBAAgB;AACH,QAAA,mBAAmB,GAC9B,CAAC,CAAC,KAAK,CAAC;IACN,UAAU,CAAC,kDAAkD;IAC7D,UAAU,CAAC,gDAAgD;CAC5D,CAAC,CAAC;AAEL;;;GAGG;AACH,IAAiB,KAAK,CAOrB;AAPD,WAAiB,KAAK;IACpB,oDAAoD;IACvC,mBAAa,GAAG,0BAAkB,CAAC;IAChD,qDAAqD;IACxC,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AAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@financeable/aggregation",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"author": "Financeable",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"globals": "^15.14.0",
|
|
23
23
|
"typescript": "^5.4.5",
|
|
24
24
|
"typescript-eslint": "^8.22.0",
|
|
25
|
-
"zod": "
|
|
25
|
+
"zod": ">=3.23.4 <3.25.0"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
|
package/src/lib/config.ts
CHANGED
|
@@ -54,8 +54,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
54
54
|
export const SDK_METADATA = {
|
|
55
55
|
language: "typescript",
|
|
56
56
|
openapiDocVersion: "0.4.0",
|
|
57
|
-
sdkVersion: "0.7.
|
|
58
|
-
genVersion: "2.605.
|
|
57
|
+
sdkVersion: "0.7.4",
|
|
58
|
+
genVersion: "2.605.6",
|
|
59
59
|
userAgent:
|
|
60
|
-
"speakeasy-sdk/typescript 0.7.
|
|
60
|
+
"speakeasy-sdk/typescript 0.7.4 2.605.6 0.4.0 @financeable/aggregation",
|
|
61
61
|
} as const;
|
|
@@ -16,6 +16,21 @@ import {
|
|
|
16
16
|
CustomerTitle$inboundSchema,
|
|
17
17
|
CustomerTitle$outboundSchema,
|
|
18
18
|
} from "./customertitle.js";
|
|
19
|
+
import {
|
|
20
|
+
LivingArrangements,
|
|
21
|
+
LivingArrangements$inboundSchema,
|
|
22
|
+
LivingArrangements$outboundSchema,
|
|
23
|
+
} from "./livingarrangements.js";
|
|
24
|
+
import {
|
|
25
|
+
MaritalStatus,
|
|
26
|
+
MaritalStatus$inboundSchema,
|
|
27
|
+
MaritalStatus$outboundSchema,
|
|
28
|
+
} from "./maritalstatus.js";
|
|
29
|
+
import {
|
|
30
|
+
ResidencyStatus,
|
|
31
|
+
ResidencyStatus$inboundSchema,
|
|
32
|
+
ResidencyStatus$outboundSchema,
|
|
33
|
+
} from "./residencystatus.js";
|
|
19
34
|
|
|
20
35
|
/**
|
|
21
36
|
* A customer of the proposed financing
|
|
@@ -62,6 +77,13 @@ export type CustomerAttributes = {
|
|
|
62
77
|
* The customer's phone numbers
|
|
63
78
|
*/
|
|
64
79
|
phoneNumbers?: Array<string> | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* The number of financial dependents of the customer
|
|
82
|
+
*/
|
|
83
|
+
numberOfDependents?: number | undefined;
|
|
84
|
+
residencyStatus?: ResidencyStatus | undefined;
|
|
85
|
+
livingArrangements?: LivingArrangements | undefined;
|
|
86
|
+
maritalStatus?: MaritalStatus | undefined;
|
|
65
87
|
};
|
|
66
88
|
|
|
67
89
|
/** @internal */
|
|
@@ -81,6 +103,10 @@ export const CustomerAttributes$inboundSchema: z.ZodType<
|
|
|
81
103
|
idNumber: z.string().optional(),
|
|
82
104
|
emailAddresses: z.array(z.string()).optional(),
|
|
83
105
|
phoneNumbers: z.array(z.string()).optional(),
|
|
106
|
+
numberOfDependents: z.number().int().optional(),
|
|
107
|
+
residencyStatus: ResidencyStatus$inboundSchema.optional(),
|
|
108
|
+
livingArrangements: LivingArrangements$inboundSchema.optional(),
|
|
109
|
+
maritalStatus: MaritalStatus$inboundSchema.optional(),
|
|
84
110
|
});
|
|
85
111
|
|
|
86
112
|
/** @internal */
|
|
@@ -96,6 +122,10 @@ export type CustomerAttributes$Outbound = {
|
|
|
96
122
|
idNumber?: string | undefined;
|
|
97
123
|
emailAddresses?: Array<string> | undefined;
|
|
98
124
|
phoneNumbers?: Array<string> | undefined;
|
|
125
|
+
numberOfDependents?: number | undefined;
|
|
126
|
+
residencyStatus?: string | undefined;
|
|
127
|
+
livingArrangements?: string | undefined;
|
|
128
|
+
maritalStatus?: string | undefined;
|
|
99
129
|
};
|
|
100
130
|
|
|
101
131
|
/** @internal */
|
|
@@ -115,6 +145,10 @@ export const CustomerAttributes$outboundSchema: z.ZodType<
|
|
|
115
145
|
idNumber: z.string().optional(),
|
|
116
146
|
emailAddresses: z.array(z.string()).optional(),
|
|
117
147
|
phoneNumbers: z.array(z.string()).optional(),
|
|
148
|
+
numberOfDependents: z.number().int().optional(),
|
|
149
|
+
residencyStatus: ResidencyStatus$outboundSchema.optional(),
|
|
150
|
+
livingArrangements: LivingArrangements$outboundSchema.optional(),
|
|
151
|
+
maritalStatus: MaritalStatus$outboundSchema.optional(),
|
|
118
152
|
});
|
|
119
153
|
|
|
120
154
|
/**
|
|
@@ -30,9 +30,12 @@ export * from "./errorsource.js";
|
|
|
30
30
|
export * from "./forbiddenerror.js";
|
|
31
31
|
export * from "./frequencytype.js";
|
|
32
32
|
export * from "./linkobject.js";
|
|
33
|
+
export * from "./livingarrangements.js";
|
|
33
34
|
export * from "./loandetailsattributes.js";
|
|
35
|
+
export * from "./maritalstatus.js";
|
|
34
36
|
export * from "./relationshipresourcenotfound.js";
|
|
35
37
|
export * from "./repaymentstructure.js";
|
|
38
|
+
export * from "./residencystatus.js";
|
|
36
39
|
export * from "./resourcenotfound.js";
|
|
37
40
|
export * from "./security.js";
|
|
38
41
|
export * from "./supportingdocumentattributes.js";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const LivingArrangements = {
|
|
9
|
+
PropertyOwner: "PROPERTY_OWNER",
|
|
10
|
+
Renting: "RENTING",
|
|
11
|
+
Boarding: "BOARDING",
|
|
12
|
+
LivingWithParents: "LIVING_WITH_PARENTS",
|
|
13
|
+
} as const;
|
|
14
|
+
export type LivingArrangements = ClosedEnum<typeof LivingArrangements>;
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const LivingArrangements$inboundSchema: z.ZodNativeEnum<
|
|
18
|
+
typeof LivingArrangements
|
|
19
|
+
> = z.nativeEnum(LivingArrangements);
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const LivingArrangements$outboundSchema: z.ZodNativeEnum<
|
|
23
|
+
typeof LivingArrangements
|
|
24
|
+
> = LivingArrangements$inboundSchema;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
|
+
*/
|
|
30
|
+
export namespace LivingArrangements$ {
|
|
31
|
+
/** @deprecated use `LivingArrangements$inboundSchema` instead. */
|
|
32
|
+
export const inboundSchema = LivingArrangements$inboundSchema;
|
|
33
|
+
/** @deprecated use `LivingArrangements$outboundSchema` instead. */
|
|
34
|
+
export const outboundSchema = LivingArrangements$outboundSchema;
|
|
35
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const MaritalStatus = {
|
|
9
|
+
MarriedDefacto: "MARRIED_DEFACTO",
|
|
10
|
+
SingleDivorcedWidowed: "SINGLE_DIVORCED_WIDOWED",
|
|
11
|
+
} as const;
|
|
12
|
+
export type MaritalStatus = ClosedEnum<typeof MaritalStatus>;
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const MaritalStatus$inboundSchema: z.ZodNativeEnum<
|
|
16
|
+
typeof MaritalStatus
|
|
17
|
+
> = z.nativeEnum(MaritalStatus);
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const MaritalStatus$outboundSchema: z.ZodNativeEnum<
|
|
21
|
+
typeof MaritalStatus
|
|
22
|
+
> = MaritalStatus$inboundSchema;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
27
|
+
*/
|
|
28
|
+
export namespace MaritalStatus$ {
|
|
29
|
+
/** @deprecated use `MaritalStatus$inboundSchema` instead. */
|
|
30
|
+
export const inboundSchema = MaritalStatus$inboundSchema;
|
|
31
|
+
/** @deprecated use `MaritalStatus$outboundSchema` instead. */
|
|
32
|
+
export const outboundSchema = MaritalStatus$outboundSchema;
|
|
33
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const ResidencyStatus = {
|
|
9
|
+
AustralianCitizen: "AUSTRALIAN_CITIZEN",
|
|
10
|
+
PermanentResident: "PERMANENT_RESIDENT",
|
|
11
|
+
NewZealandCitizen: "NEW_ZEALAND_CITIZEN",
|
|
12
|
+
WorkingVisa: "WORKING_VISA",
|
|
13
|
+
StudentVisa: "STUDENT_VISA",
|
|
14
|
+
} as const;
|
|
15
|
+
export type ResidencyStatus = ClosedEnum<typeof ResidencyStatus>;
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const ResidencyStatus$inboundSchema: z.ZodNativeEnum<
|
|
19
|
+
typeof ResidencyStatus
|
|
20
|
+
> = z.nativeEnum(ResidencyStatus);
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const ResidencyStatus$outboundSchema: z.ZodNativeEnum<
|
|
24
|
+
typeof ResidencyStatus
|
|
25
|
+
> = ResidencyStatus$inboundSchema;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
30
|
+
*/
|
|
31
|
+
export namespace ResidencyStatus$ {
|
|
32
|
+
/** @deprecated use `ResidencyStatus$inboundSchema` instead. */
|
|
33
|
+
export const inboundSchema = ResidencyStatus$inboundSchema;
|
|
34
|
+
/** @deprecated use `ResidencyStatus$outboundSchema` instead. */
|
|
35
|
+
export const outboundSchema = ResidencyStatus$outboundSchema;
|
|
36
|
+
}
|