@financeable/aggregation 0.6.17 → 0.7.3
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/docs/sdks/applications/README.md +6 -14
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/commercialsecuredapplicationpayload.d.ts +2 -2
- package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -1
- package/models/components/commercialsecuredapplicationpayload.js +4 -2
- package/models/components/commercialsecuredapplicationpayload.js.map +1 -1
- package/models/components/commercialsecuredloanassetattributes.d.ts +2 -2
- package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/commercialsecuredloanassetattributes.js +2 -2
- package/models/components/commercialsecuredloanassetattributes.js.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +2 -31
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +4 -37
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
- package/models/components/consumersecuredapplicationpayload.d.ts +2 -2
- package/models/components/consumersecuredapplicationpayload.d.ts.map +1 -1
- package/models/components/consumersecuredapplicationpayload.js +4 -2
- package/models/components/consumersecuredapplicationpayload.js.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +2 -8
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js +2 -8
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -1
- 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 +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/commercialsecuredapplicationpayload.ts +10 -5
- package/src/models/components/commercialsecuredloanassetattributes.ts +4 -4
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +4 -92
- package/src/models/components/consumersecuredapplicationpayload.ts +10 -4
- package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +8 -18
- 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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AA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG7E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C;AAED,SAAgB,mCAAmC,CACjD,6BAA4D;IAE5D,OAAO,IAAI,CAAC,SAAS,CACnB,oDAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,qCAAqC,CACnD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mDAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,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,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6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG7E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C;AAED,SAAgB,mCAAmC,CACjD,6BAA4D;IAE5D,OAAO,IAAI,CAAC,SAAS,CACnB,oDAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,qCAAqC,CACnD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mDAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
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.
|
|
58
|
-
genVersion: "2.
|
|
57
|
+
sdkVersion: "0.7.3",
|
|
58
|
+
genVersion: "2.605.0",
|
|
59
59
|
userAgent:
|
|
60
|
-
"speakeasy-sdk/typescript 0.
|
|
60
|
+
"speakeasy-sdk/typescript 0.7.3 2.605.0 0.4.0 @financeable/aggregation",
|
|
61
61
|
} as const;
|
|
@@ -71,7 +71,9 @@ export type CommercialSecuredApplicationPayload = {
|
|
|
71
71
|
* Application resource attributes
|
|
72
72
|
*/
|
|
73
73
|
attributes: Attributes;
|
|
74
|
-
relationships
|
|
74
|
+
relationships?:
|
|
75
|
+
| CommercialSecuredLoanCommercialApplicationRelationships
|
|
76
|
+
| undefined;
|
|
75
77
|
links?: { [k: string]: LinkObject } | undefined;
|
|
76
78
|
meta?: { [k: string]: any } | undefined;
|
|
77
79
|
};
|
|
@@ -182,7 +184,8 @@ export const CommercialSecuredApplicationPayload$inboundSchema: z.ZodType<
|
|
|
182
184
|
type: CommercialSecuredApplicationPayloadType$inboundSchema,
|
|
183
185
|
attributes: z.lazy(() => Attributes$inboundSchema),
|
|
184
186
|
relationships:
|
|
185
|
-
CommercialSecuredLoanCommercialApplicationRelationships$inboundSchema
|
|
187
|
+
CommercialSecuredLoanCommercialApplicationRelationships$inboundSchema
|
|
188
|
+
.optional(),
|
|
186
189
|
links: z.record(LinkObject$inboundSchema).optional(),
|
|
187
190
|
meta: z.record(z.any()).optional(),
|
|
188
191
|
});
|
|
@@ -191,8 +194,9 @@ export const CommercialSecuredApplicationPayload$inboundSchema: z.ZodType<
|
|
|
191
194
|
export type CommercialSecuredApplicationPayload$Outbound = {
|
|
192
195
|
type: string;
|
|
193
196
|
attributes: Attributes$Outbound;
|
|
194
|
-
relationships
|
|
195
|
-
CommercialSecuredLoanCommercialApplicationRelationships$Outbound
|
|
197
|
+
relationships?:
|
|
198
|
+
| CommercialSecuredLoanCommercialApplicationRelationships$Outbound
|
|
199
|
+
| undefined;
|
|
196
200
|
links?: { [k: string]: LinkObject$Outbound } | undefined;
|
|
197
201
|
meta?: { [k: string]: any } | undefined;
|
|
198
202
|
};
|
|
@@ -206,7 +210,8 @@ export const CommercialSecuredApplicationPayload$outboundSchema: z.ZodType<
|
|
|
206
210
|
type: CommercialSecuredApplicationPayloadType$outboundSchema,
|
|
207
211
|
attributes: z.lazy(() => Attributes$outboundSchema),
|
|
208
212
|
relationships:
|
|
209
|
-
CommercialSecuredLoanCommercialApplicationRelationships$outboundSchema
|
|
213
|
+
CommercialSecuredLoanCommercialApplicationRelationships$outboundSchema
|
|
214
|
+
.optional(),
|
|
210
215
|
links: z.record(LinkObject$outboundSchema).optional(),
|
|
211
216
|
meta: z.record(z.any()).optional(),
|
|
212
217
|
});
|
|
@@ -48,7 +48,7 @@ export type RegistrationState = ClosedEnum<typeof RegistrationState>;
|
|
|
48
48
|
* Type of asset for secured commercial loans
|
|
49
49
|
*/
|
|
50
50
|
export type CommercialSecuredLoanAssetAttributes = {
|
|
51
|
-
id
|
|
51
|
+
id?: string | undefined;
|
|
52
52
|
/**
|
|
53
53
|
* Current age of asset as number (integer) of years
|
|
54
54
|
*/
|
|
@@ -193,7 +193,7 @@ export const CommercialSecuredLoanAssetAttributes$inboundSchema: z.ZodType<
|
|
|
193
193
|
z.ZodTypeDef,
|
|
194
194
|
unknown
|
|
195
195
|
> = z.object({
|
|
196
|
-
id: z.string(),
|
|
196
|
+
id: z.string().optional(),
|
|
197
197
|
ageOfAsset: z.number().int().optional(),
|
|
198
198
|
ageOfAssetAtEnd: z.number().int().optional(),
|
|
199
199
|
condition: Condition$inboundSchema.optional(),
|
|
@@ -222,7 +222,7 @@ export const CommercialSecuredLoanAssetAttributes$inboundSchema: z.ZodType<
|
|
|
222
222
|
|
|
223
223
|
/** @internal */
|
|
224
224
|
export type CommercialSecuredLoanAssetAttributes$Outbound = {
|
|
225
|
-
id
|
|
225
|
+
id?: string | undefined;
|
|
226
226
|
ageOfAsset?: number | undefined;
|
|
227
227
|
ageOfAssetAtEnd?: number | undefined;
|
|
228
228
|
condition?: string | undefined;
|
|
@@ -255,7 +255,7 @@ export const CommercialSecuredLoanAssetAttributes$outboundSchema: z.ZodType<
|
|
|
255
255
|
z.ZodTypeDef,
|
|
256
256
|
CommercialSecuredLoanAssetAttributes
|
|
257
257
|
> = z.object({
|
|
258
|
-
id: z.string(),
|
|
258
|
+
id: z.string().optional(),
|
|
259
259
|
ageOfAsset: z.number().int().optional(),
|
|
260
260
|
ageOfAssetAtEnd: z.number().int().optional(),
|
|
261
261
|
condition: Condition$outboundSchema.optional(),
|