@financeable/aggregation 0.11.0 → 0.12.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.
- package/README.md +4 -0
- package/docs/sdks/applications/README.md +144 -0
- package/examples/package-lock.json +1 -1
- package/funcs/applicationsGet.d.ts +14 -0
- package/funcs/applicationsGet.d.ts.map +1 -0
- package/funcs/applicationsGet.js +122 -0
- package/funcs/applicationsGet.js.map +1 -0
- package/funcs/applicationsList.d.ts +14 -0
- package/funcs/applicationsList.d.ts.map +1 -0
- package/funcs/applicationsList.js +117 -0
- package/funcs/applicationsList.js.map +1 -0
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/businessloanbusinessapplicationrelationships.d.ts +21 -21
- package/models/components/businessloanbusinessapplicationrelationships.d.ts.map +1 -1
- package/models/components/businessloanbusinessapplicationrelationships.js +24 -26
- package/models/components/businessloanbusinessapplicationrelationships.js.map +1 -1
- package/models/components/commercialapplicationjsonapirelationships.d.ts +15 -15
- package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/commercialapplicationjsonapirelationships.js +18 -18
- package/models/components/commercialapplicationjsonapirelationships.js.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +36 -36
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +46 -44
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +3 -3
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js +3 -3
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -1
- package/models/components/customerattributes.d.ts +0 -22
- package/models/components/customerattributes.d.ts.map +1 -1
- package/models/components/customerattributes.js +0 -10
- package/models/components/customerattributes.js.map +1 -1
- package/models/components/customerattributescreateitem.d.ts +112 -0
- package/models/components/customerattributescreateitem.d.ts.map +1 -0
- package/models/components/customerattributescreateitem.js +110 -0
- package/models/components/customerattributescreateitem.js.map +1 -0
- package/models/components/entityattributes.d.ts +129 -0
- package/models/components/entityattributes.d.ts.map +1 -1
- package/models/components/entityattributes.js +71 -1
- package/models/components/entityattributes.js.map +1 -1
- package/models/components/entityattributesinput.d.ts +41 -0
- package/models/components/entityattributesinput.d.ts.map +1 -0
- package/models/components/entityattributesinput.js +81 -0
- package/models/components/entityattributesinput.js.map +1 -0
- package/models/components/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/paginationlinks.d.ts +47 -0
- package/models/components/paginationlinks.d.ts.map +1 -0
- package/models/components/paginationlinks.js +75 -0
- package/models/components/paginationlinks.js.map +1 -0
- package/models/components/paginationmeta.d.ts +47 -0
- package/models/components/paginationmeta.d.ts.map +1 -0
- package/models/components/paginationmeta.js +88 -0
- package/models/components/paginationmeta.js.map +1 -0
- package/models/components/personalloanpersonalapplicationrelationships.d.ts +3 -3
- package/models/components/personalloanpersonalapplicationrelationships.d.ts.map +1 -1
- package/models/components/personalloanpersonalapplicationrelationships.js +3 -3
- package/models/components/personalloanpersonalapplicationrelationships.js.map +1 -1
- package/models/operations/createapplication.d.ts +218 -45
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/createapplication.js +145 -45
- package/models/operations/createapplication.js.map +1 -1
- package/models/operations/getapplication.d.ts +703 -0
- package/models/operations/getapplication.d.ts.map +1 -0
- package/models/operations/getapplication.js +697 -0
- package/models/operations/getapplication.js.map +1 -0
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listapplications.d.ts +141 -0
- package/models/operations/listapplications.d.ts.map +1 -0
- package/models/operations/listapplications.js +199 -0
- package/models/operations/listapplications.js.map +1 -0
- package/package.json +1 -1
- package/sdk/applications.d.ts +8 -0
- package/sdk/applications.d.ts.map +1 -1
- package/sdk/applications.js +14 -0
- package/sdk/applications.js.map +1 -1
- package/src/funcs/applicationsGet.ts +170 -0
- package/src/funcs/applicationsList.ts +164 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/businessloanbusinessapplicationrelationships.ts +52 -53
- package/src/models/components/commercialapplicationjsonapirelationships.ts +43 -67
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +114 -94
- package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +9 -9
- package/src/models/components/customerattributes.ts +0 -38
- package/src/models/components/customerattributescreateitem.ts +214 -0
- package/src/models/components/entityattributes.ts +134 -0
- package/src/models/components/entityattributesinput.ts +90 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/paginationlinks.ts +88 -0
- package/src/models/components/paginationmeta.ts +99 -0
- package/src/models/components/personalloanpersonalapplicationrelationships.ts +9 -9
- package/src/models/operations/createapplication.ts +289 -62
- package/src/models/operations/getapplication.ts +1378 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/listapplications.ts +364 -0
- package/src/sdk/applications.ts +30 -0
|
@@ -0,0 +1,697 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.GetApplicationIncludedApplicationsResponseType$ = exports.GetApplicationIncludedApplicationsResponseType$outboundSchema = exports.GetApplicationIncludedApplicationsResponseType$inboundSchema = exports.Included4$ = exports.Included4$outboundSchema = exports.Included4$inboundSchema = exports.GetApplicationIncludedApplicationsResponse200Type$ = exports.GetApplicationIncludedApplicationsResponse200Type$outboundSchema = exports.GetApplicationIncludedApplicationsResponse200Type$inboundSchema = exports.Included5$ = exports.Included5$outboundSchema = exports.Included5$inboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONType$ = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONType$outboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONType$inboundSchema = exports.Included6$ = exports.Included6$outboundSchema = exports.Included6$inboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$ = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$outboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$inboundSchema = exports.Included7$ = exports.Included7$outboundSchema = exports.Included7$inboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$ = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$outboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$inboundSchema = exports.Included8$ = exports.Included8$outboundSchema = exports.Included8$inboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$ = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$outboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$inboundSchema = exports.GetApplicationApplicationsResponseBody$ = exports.GetApplicationApplicationsResponseBody$outboundSchema = exports.GetApplicationApplicationsResponseBody$inboundSchema = exports.GetApplicationApplicationsResponseResponseBody$ = exports.GetApplicationApplicationsResponseResponseBody$outboundSchema = exports.GetApplicationApplicationsResponseResponseBody$inboundSchema = exports.GetApplicationRequest$ = exports.GetApplicationRequest$outboundSchema = exports.GetApplicationRequest$inboundSchema = exports.GetApplicationIncludedType = exports.GetApplicationIncludedApplicationsType = exports.GetApplicationIncludedApplicationsResponseType = exports.GetApplicationIncludedApplicationsResponse200Type = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONType = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type = void 0;
|
|
40
|
+
exports.GetApplicationResponse$ = exports.GetApplicationResponse$outboundSchema = exports.GetApplicationResponse$inboundSchema = exports.GetApplicationResponseBody$ = exports.GetApplicationResponseBody$outboundSchema = exports.GetApplicationResponseBody$inboundSchema = exports.GetApplicationLinks$ = exports.GetApplicationLinks$outboundSchema = exports.GetApplicationLinks$inboundSchema = exports.GetApplicationIncluded$ = exports.GetApplicationIncluded$outboundSchema = exports.GetApplicationIncluded$inboundSchema = exports.Included1$ = exports.Included1$outboundSchema = exports.Included1$inboundSchema = exports.GetApplicationIncludedType$ = exports.GetApplicationIncludedType$outboundSchema = exports.GetApplicationIncludedType$inboundSchema = exports.Included2$ = exports.Included2$outboundSchema = exports.Included2$inboundSchema = exports.GetApplicationIncludedApplicationsType$ = exports.GetApplicationIncludedApplicationsType$outboundSchema = exports.GetApplicationIncludedApplicationsType$inboundSchema = exports.Included3$ = exports.Included3$outboundSchema = exports.Included3$inboundSchema = void 0;
|
|
41
|
+
exports.getApplicationRequestToJSON = getApplicationRequestToJSON;
|
|
42
|
+
exports.getApplicationRequestFromJSON = getApplicationRequestFromJSON;
|
|
43
|
+
exports.getApplicationApplicationsResponseResponseBodyToJSON = getApplicationApplicationsResponseResponseBodyToJSON;
|
|
44
|
+
exports.getApplicationApplicationsResponseResponseBodyFromJSON = getApplicationApplicationsResponseResponseBodyFromJSON;
|
|
45
|
+
exports.getApplicationApplicationsResponseBodyToJSON = getApplicationApplicationsResponseBodyToJSON;
|
|
46
|
+
exports.getApplicationApplicationsResponseBodyFromJSON = getApplicationApplicationsResponseBodyFromJSON;
|
|
47
|
+
exports.included8ToJSON = included8ToJSON;
|
|
48
|
+
exports.included8FromJSON = included8FromJSON;
|
|
49
|
+
exports.included7ToJSON = included7ToJSON;
|
|
50
|
+
exports.included7FromJSON = included7FromJSON;
|
|
51
|
+
exports.included6ToJSON = included6ToJSON;
|
|
52
|
+
exports.included6FromJSON = included6FromJSON;
|
|
53
|
+
exports.included5ToJSON = included5ToJSON;
|
|
54
|
+
exports.included5FromJSON = included5FromJSON;
|
|
55
|
+
exports.included4ToJSON = included4ToJSON;
|
|
56
|
+
exports.included4FromJSON = included4FromJSON;
|
|
57
|
+
exports.included3ToJSON = included3ToJSON;
|
|
58
|
+
exports.included3FromJSON = included3FromJSON;
|
|
59
|
+
exports.included2ToJSON = included2ToJSON;
|
|
60
|
+
exports.included2FromJSON = included2FromJSON;
|
|
61
|
+
exports.included1ToJSON = included1ToJSON;
|
|
62
|
+
exports.included1FromJSON = included1FromJSON;
|
|
63
|
+
exports.getApplicationIncludedToJSON = getApplicationIncludedToJSON;
|
|
64
|
+
exports.getApplicationIncludedFromJSON = getApplicationIncludedFromJSON;
|
|
65
|
+
exports.getApplicationLinksToJSON = getApplicationLinksToJSON;
|
|
66
|
+
exports.getApplicationLinksFromJSON = getApplicationLinksFromJSON;
|
|
67
|
+
exports.getApplicationResponseBodyToJSON = getApplicationResponseBodyToJSON;
|
|
68
|
+
exports.getApplicationResponseBodyFromJSON = getApplicationResponseBodyFromJSON;
|
|
69
|
+
exports.getApplicationResponseToJSON = getApplicationResponseToJSON;
|
|
70
|
+
exports.getApplicationResponseFromJSON = getApplicationResponseFromJSON;
|
|
71
|
+
const z = __importStar(require("zod/v3"));
|
|
72
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
73
|
+
const components = __importStar(require("../components/index.js"));
|
|
74
|
+
exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type = {
|
|
75
|
+
CustomerAssets: "customer-assets",
|
|
76
|
+
};
|
|
77
|
+
exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type = {
|
|
78
|
+
CustomerLiabilities: "customer-liabilities",
|
|
79
|
+
};
|
|
80
|
+
exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType = {
|
|
81
|
+
Customers: "customers",
|
|
82
|
+
};
|
|
83
|
+
exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONType = {
|
|
84
|
+
LoanDetails: "loan-details",
|
|
85
|
+
};
|
|
86
|
+
exports.GetApplicationIncludedApplicationsResponse200Type = {
|
|
87
|
+
Entities: "entities",
|
|
88
|
+
};
|
|
89
|
+
exports.GetApplicationIncludedApplicationsResponseType = {
|
|
90
|
+
Assets: "assets",
|
|
91
|
+
};
|
|
92
|
+
exports.GetApplicationIncludedApplicationsType = {
|
|
93
|
+
Assets: "assets",
|
|
94
|
+
};
|
|
95
|
+
exports.GetApplicationIncludedType = {
|
|
96
|
+
Addresses: "addresses",
|
|
97
|
+
};
|
|
98
|
+
/** @internal */
|
|
99
|
+
exports.GetApplicationRequest$inboundSchema = z.object({
|
|
100
|
+
id: z.string(),
|
|
101
|
+
include: z.string().optional(),
|
|
102
|
+
});
|
|
103
|
+
/** @internal */
|
|
104
|
+
exports.GetApplicationRequest$outboundSchema = z.object({
|
|
105
|
+
id: z.string(),
|
|
106
|
+
include: z.string().optional(),
|
|
107
|
+
});
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
111
|
+
*/
|
|
112
|
+
var GetApplicationRequest$;
|
|
113
|
+
(function (GetApplicationRequest$) {
|
|
114
|
+
/** @deprecated use `GetApplicationRequest$inboundSchema` instead. */
|
|
115
|
+
GetApplicationRequest$.inboundSchema = exports.GetApplicationRequest$inboundSchema;
|
|
116
|
+
/** @deprecated use `GetApplicationRequest$outboundSchema` instead. */
|
|
117
|
+
GetApplicationRequest$.outboundSchema = exports.GetApplicationRequest$outboundSchema;
|
|
118
|
+
})(GetApplicationRequest$ || (exports.GetApplicationRequest$ = GetApplicationRequest$ = {}));
|
|
119
|
+
function getApplicationRequestToJSON(getApplicationRequest) {
|
|
120
|
+
return JSON.stringify(exports.GetApplicationRequest$outboundSchema.parse(getApplicationRequest));
|
|
121
|
+
}
|
|
122
|
+
function getApplicationRequestFromJSON(jsonString) {
|
|
123
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetApplicationRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetApplicationRequest' from JSON`);
|
|
124
|
+
}
|
|
125
|
+
/** @internal */
|
|
126
|
+
exports.GetApplicationApplicationsResponseResponseBody$inboundSchema = z.object({
|
|
127
|
+
errors: z.array(components.ResourceNotFound$inboundSchema),
|
|
128
|
+
});
|
|
129
|
+
/** @internal */
|
|
130
|
+
exports.GetApplicationApplicationsResponseResponseBody$outboundSchema = z.object({
|
|
131
|
+
errors: z.array(components.ResourceNotFound$outboundSchema),
|
|
132
|
+
});
|
|
133
|
+
/**
|
|
134
|
+
* @internal
|
|
135
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
136
|
+
*/
|
|
137
|
+
var GetApplicationApplicationsResponseResponseBody$;
|
|
138
|
+
(function (GetApplicationApplicationsResponseResponseBody$) {
|
|
139
|
+
/** @deprecated use `GetApplicationApplicationsResponseResponseBody$inboundSchema` instead. */
|
|
140
|
+
GetApplicationApplicationsResponseResponseBody$.inboundSchema = exports.GetApplicationApplicationsResponseResponseBody$inboundSchema;
|
|
141
|
+
/** @deprecated use `GetApplicationApplicationsResponseResponseBody$outboundSchema` instead. */
|
|
142
|
+
GetApplicationApplicationsResponseResponseBody$.outboundSchema = exports.GetApplicationApplicationsResponseResponseBody$outboundSchema;
|
|
143
|
+
})(GetApplicationApplicationsResponseResponseBody$ || (exports.GetApplicationApplicationsResponseResponseBody$ = GetApplicationApplicationsResponseResponseBody$ = {}));
|
|
144
|
+
function getApplicationApplicationsResponseResponseBodyToJSON(getApplicationApplicationsResponseResponseBody) {
|
|
145
|
+
return JSON.stringify(exports.GetApplicationApplicationsResponseResponseBody$outboundSchema.parse(getApplicationApplicationsResponseResponseBody));
|
|
146
|
+
}
|
|
147
|
+
function getApplicationApplicationsResponseResponseBodyFromJSON(jsonString) {
|
|
148
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetApplicationApplicationsResponseResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetApplicationApplicationsResponseResponseBody' from JSON`);
|
|
149
|
+
}
|
|
150
|
+
/** @internal */
|
|
151
|
+
exports.GetApplicationApplicationsResponseBody$inboundSchema = z.object({
|
|
152
|
+
errors: z.array(components.ForbiddenError$inboundSchema),
|
|
153
|
+
});
|
|
154
|
+
/** @internal */
|
|
155
|
+
exports.GetApplicationApplicationsResponseBody$outboundSchema = z.object({
|
|
156
|
+
errors: z.array(components.ForbiddenError$outboundSchema),
|
|
157
|
+
});
|
|
158
|
+
/**
|
|
159
|
+
* @internal
|
|
160
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
161
|
+
*/
|
|
162
|
+
var GetApplicationApplicationsResponseBody$;
|
|
163
|
+
(function (GetApplicationApplicationsResponseBody$) {
|
|
164
|
+
/** @deprecated use `GetApplicationApplicationsResponseBody$inboundSchema` instead. */
|
|
165
|
+
GetApplicationApplicationsResponseBody$.inboundSchema = exports.GetApplicationApplicationsResponseBody$inboundSchema;
|
|
166
|
+
/** @deprecated use `GetApplicationApplicationsResponseBody$outboundSchema` instead. */
|
|
167
|
+
GetApplicationApplicationsResponseBody$.outboundSchema = exports.GetApplicationApplicationsResponseBody$outboundSchema;
|
|
168
|
+
})(GetApplicationApplicationsResponseBody$ || (exports.GetApplicationApplicationsResponseBody$ = GetApplicationApplicationsResponseBody$ = {}));
|
|
169
|
+
function getApplicationApplicationsResponseBodyToJSON(getApplicationApplicationsResponseBody) {
|
|
170
|
+
return JSON.stringify(exports.GetApplicationApplicationsResponseBody$outboundSchema.parse(getApplicationApplicationsResponseBody));
|
|
171
|
+
}
|
|
172
|
+
function getApplicationApplicationsResponseBodyFromJSON(jsonString) {
|
|
173
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetApplicationApplicationsResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetApplicationApplicationsResponseBody' from JSON`);
|
|
174
|
+
}
|
|
175
|
+
/** @internal */
|
|
176
|
+
exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$inboundSchema = z.nativeEnum(exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type);
|
|
177
|
+
/** @internal */
|
|
178
|
+
exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$outboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$inboundSchema;
|
|
179
|
+
/**
|
|
180
|
+
* @internal
|
|
181
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
182
|
+
*/
|
|
183
|
+
var GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$;
|
|
184
|
+
(function (GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$) {
|
|
185
|
+
/** @deprecated use `GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$inboundSchema` instead. */
|
|
186
|
+
GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$.inboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$inboundSchema;
|
|
187
|
+
/** @deprecated use `GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$outboundSchema` instead. */
|
|
188
|
+
GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$.outboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$outboundSchema;
|
|
189
|
+
})(GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$ || (exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$ = GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$ = {}));
|
|
190
|
+
/** @internal */
|
|
191
|
+
exports.Included8$inboundSchema = z.object({
|
|
192
|
+
type: exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$inboundSchema,
|
|
193
|
+
id: z.string(),
|
|
194
|
+
attributes: components.CustomerAssetAttributes$inboundSchema,
|
|
195
|
+
links: z.record(components.LinkObject$inboundSchema).optional(),
|
|
196
|
+
meta: z.record(z.any()).optional(),
|
|
197
|
+
});
|
|
198
|
+
/** @internal */
|
|
199
|
+
exports.Included8$outboundSchema = z.object({
|
|
200
|
+
type: exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$outboundSchema,
|
|
201
|
+
id: z.string(),
|
|
202
|
+
attributes: components.CustomerAssetAttributes$outboundSchema,
|
|
203
|
+
links: z.record(components.LinkObject$outboundSchema).optional(),
|
|
204
|
+
meta: z.record(z.any()).optional(),
|
|
205
|
+
});
|
|
206
|
+
/**
|
|
207
|
+
* @internal
|
|
208
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
209
|
+
*/
|
|
210
|
+
var Included8$;
|
|
211
|
+
(function (Included8$) {
|
|
212
|
+
/** @deprecated use `Included8$inboundSchema` instead. */
|
|
213
|
+
Included8$.inboundSchema = exports.Included8$inboundSchema;
|
|
214
|
+
/** @deprecated use `Included8$outboundSchema` instead. */
|
|
215
|
+
Included8$.outboundSchema = exports.Included8$outboundSchema;
|
|
216
|
+
})(Included8$ || (exports.Included8$ = Included8$ = {}));
|
|
217
|
+
function included8ToJSON(included8) {
|
|
218
|
+
return JSON.stringify(exports.Included8$outboundSchema.parse(included8));
|
|
219
|
+
}
|
|
220
|
+
function included8FromJSON(jsonString) {
|
|
221
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Included8$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Included8' from JSON`);
|
|
222
|
+
}
|
|
223
|
+
/** @internal */
|
|
224
|
+
exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$inboundSchema = z.nativeEnum(exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type);
|
|
225
|
+
/** @internal */
|
|
226
|
+
exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$outboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$inboundSchema;
|
|
227
|
+
/**
|
|
228
|
+
* @internal
|
|
229
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
230
|
+
*/
|
|
231
|
+
var GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$;
|
|
232
|
+
(function (GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$) {
|
|
233
|
+
/** @deprecated use `GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$inboundSchema` instead. */
|
|
234
|
+
GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$.inboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$inboundSchema;
|
|
235
|
+
/** @deprecated use `GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$outboundSchema` instead. */
|
|
236
|
+
GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$.outboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$outboundSchema;
|
|
237
|
+
})(GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$ || (exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$ = GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$ = {}));
|
|
238
|
+
/** @internal */
|
|
239
|
+
exports.Included7$inboundSchema = z.object({
|
|
240
|
+
type: exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$inboundSchema,
|
|
241
|
+
id: z.string(),
|
|
242
|
+
attributes: components.CustomerLiabilityAttributes$inboundSchema,
|
|
243
|
+
links: z.record(components.LinkObject$inboundSchema).optional(),
|
|
244
|
+
meta: z.record(z.any()).optional(),
|
|
245
|
+
});
|
|
246
|
+
/** @internal */
|
|
247
|
+
exports.Included7$outboundSchema = z.object({
|
|
248
|
+
type: exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$outboundSchema,
|
|
249
|
+
id: z.string(),
|
|
250
|
+
attributes: components.CustomerLiabilityAttributes$outboundSchema,
|
|
251
|
+
links: z.record(components.LinkObject$outboundSchema).optional(),
|
|
252
|
+
meta: z.record(z.any()).optional(),
|
|
253
|
+
});
|
|
254
|
+
/**
|
|
255
|
+
* @internal
|
|
256
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
257
|
+
*/
|
|
258
|
+
var Included7$;
|
|
259
|
+
(function (Included7$) {
|
|
260
|
+
/** @deprecated use `Included7$inboundSchema` instead. */
|
|
261
|
+
Included7$.inboundSchema = exports.Included7$inboundSchema;
|
|
262
|
+
/** @deprecated use `Included7$outboundSchema` instead. */
|
|
263
|
+
Included7$.outboundSchema = exports.Included7$outboundSchema;
|
|
264
|
+
})(Included7$ || (exports.Included7$ = Included7$ = {}));
|
|
265
|
+
function included7ToJSON(included7) {
|
|
266
|
+
return JSON.stringify(exports.Included7$outboundSchema.parse(included7));
|
|
267
|
+
}
|
|
268
|
+
function included7FromJSON(jsonString) {
|
|
269
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Included7$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Included7' from JSON`);
|
|
270
|
+
}
|
|
271
|
+
/** @internal */
|
|
272
|
+
exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$inboundSchema = z.nativeEnum(exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType);
|
|
273
|
+
/** @internal */
|
|
274
|
+
exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$outboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
275
|
+
/**
|
|
276
|
+
* @internal
|
|
277
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
278
|
+
*/
|
|
279
|
+
var GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$;
|
|
280
|
+
(function (GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$) {
|
|
281
|
+
/** @deprecated use `GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
282
|
+
GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$.inboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
283
|
+
/** @deprecated use `GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
284
|
+
GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$.outboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$outboundSchema;
|
|
285
|
+
})(GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$ || (exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$ = GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$ = {}));
|
|
286
|
+
/** @internal */
|
|
287
|
+
exports.Included6$inboundSchema = z.object({
|
|
288
|
+
type: exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$inboundSchema,
|
|
289
|
+
id: z.string(),
|
|
290
|
+
attributes: components.CustomerAttributes$inboundSchema,
|
|
291
|
+
links: z.record(components.LinkObject$inboundSchema).optional(),
|
|
292
|
+
meta: z.record(z.any()).optional(),
|
|
293
|
+
});
|
|
294
|
+
/** @internal */
|
|
295
|
+
exports.Included6$outboundSchema = z.object({
|
|
296
|
+
type: exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
297
|
+
id: z.string(),
|
|
298
|
+
attributes: components.CustomerAttributes$outboundSchema,
|
|
299
|
+
links: z.record(components.LinkObject$outboundSchema).optional(),
|
|
300
|
+
meta: z.record(z.any()).optional(),
|
|
301
|
+
});
|
|
302
|
+
/**
|
|
303
|
+
* @internal
|
|
304
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
305
|
+
*/
|
|
306
|
+
var Included6$;
|
|
307
|
+
(function (Included6$) {
|
|
308
|
+
/** @deprecated use `Included6$inboundSchema` instead. */
|
|
309
|
+
Included6$.inboundSchema = exports.Included6$inboundSchema;
|
|
310
|
+
/** @deprecated use `Included6$outboundSchema` instead. */
|
|
311
|
+
Included6$.outboundSchema = exports.Included6$outboundSchema;
|
|
312
|
+
})(Included6$ || (exports.Included6$ = Included6$ = {}));
|
|
313
|
+
function included6ToJSON(included6) {
|
|
314
|
+
return JSON.stringify(exports.Included6$outboundSchema.parse(included6));
|
|
315
|
+
}
|
|
316
|
+
function included6FromJSON(jsonString) {
|
|
317
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Included6$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Included6' from JSON`);
|
|
318
|
+
}
|
|
319
|
+
/** @internal */
|
|
320
|
+
exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONType$inboundSchema = z.nativeEnum(exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONType);
|
|
321
|
+
/** @internal */
|
|
322
|
+
exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONType$outboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONType$inboundSchema;
|
|
323
|
+
/**
|
|
324
|
+
* @internal
|
|
325
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
326
|
+
*/
|
|
327
|
+
var GetApplicationIncludedApplicationsResponse200ApplicationJSONType$;
|
|
328
|
+
(function (GetApplicationIncludedApplicationsResponse200ApplicationJSONType$) {
|
|
329
|
+
/** @deprecated use `GetApplicationIncludedApplicationsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
330
|
+
GetApplicationIncludedApplicationsResponse200ApplicationJSONType$.inboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONType$inboundSchema;
|
|
331
|
+
/** @deprecated use `GetApplicationIncludedApplicationsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
332
|
+
GetApplicationIncludedApplicationsResponse200ApplicationJSONType$.outboundSchema = exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONType$outboundSchema;
|
|
333
|
+
})(GetApplicationIncludedApplicationsResponse200ApplicationJSONType$ || (exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONType$ = GetApplicationIncludedApplicationsResponse200ApplicationJSONType$ = {}));
|
|
334
|
+
/** @internal */
|
|
335
|
+
exports.Included5$inboundSchema = z.object({
|
|
336
|
+
type: exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONType$inboundSchema,
|
|
337
|
+
id: z.string(),
|
|
338
|
+
attributes: components.LoanDetailsAttributes$inboundSchema,
|
|
339
|
+
links: z.record(components.LinkObject$inboundSchema).optional(),
|
|
340
|
+
meta: z.record(z.any()).optional(),
|
|
341
|
+
});
|
|
342
|
+
/** @internal */
|
|
343
|
+
exports.Included5$outboundSchema = z.object({
|
|
344
|
+
type: exports.GetApplicationIncludedApplicationsResponse200ApplicationJSONType$outboundSchema,
|
|
345
|
+
id: z.string(),
|
|
346
|
+
attributes: components.LoanDetailsAttributes$outboundSchema,
|
|
347
|
+
links: z.record(components.LinkObject$outboundSchema).optional(),
|
|
348
|
+
meta: z.record(z.any()).optional(),
|
|
349
|
+
});
|
|
350
|
+
/**
|
|
351
|
+
* @internal
|
|
352
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
353
|
+
*/
|
|
354
|
+
var Included5$;
|
|
355
|
+
(function (Included5$) {
|
|
356
|
+
/** @deprecated use `Included5$inboundSchema` instead. */
|
|
357
|
+
Included5$.inboundSchema = exports.Included5$inboundSchema;
|
|
358
|
+
/** @deprecated use `Included5$outboundSchema` instead. */
|
|
359
|
+
Included5$.outboundSchema = exports.Included5$outboundSchema;
|
|
360
|
+
})(Included5$ || (exports.Included5$ = Included5$ = {}));
|
|
361
|
+
function included5ToJSON(included5) {
|
|
362
|
+
return JSON.stringify(exports.Included5$outboundSchema.parse(included5));
|
|
363
|
+
}
|
|
364
|
+
function included5FromJSON(jsonString) {
|
|
365
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Included5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Included5' from JSON`);
|
|
366
|
+
}
|
|
367
|
+
/** @internal */
|
|
368
|
+
exports.GetApplicationIncludedApplicationsResponse200Type$inboundSchema = z
|
|
369
|
+
.nativeEnum(exports.GetApplicationIncludedApplicationsResponse200Type);
|
|
370
|
+
/** @internal */
|
|
371
|
+
exports.GetApplicationIncludedApplicationsResponse200Type$outboundSchema = exports.GetApplicationIncludedApplicationsResponse200Type$inboundSchema;
|
|
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 GetApplicationIncludedApplicationsResponse200Type$;
|
|
377
|
+
(function (GetApplicationIncludedApplicationsResponse200Type$) {
|
|
378
|
+
/** @deprecated use `GetApplicationIncludedApplicationsResponse200Type$inboundSchema` instead. */
|
|
379
|
+
GetApplicationIncludedApplicationsResponse200Type$.inboundSchema = exports.GetApplicationIncludedApplicationsResponse200Type$inboundSchema;
|
|
380
|
+
/** @deprecated use `GetApplicationIncludedApplicationsResponse200Type$outboundSchema` instead. */
|
|
381
|
+
GetApplicationIncludedApplicationsResponse200Type$.outboundSchema = exports.GetApplicationIncludedApplicationsResponse200Type$outboundSchema;
|
|
382
|
+
})(GetApplicationIncludedApplicationsResponse200Type$ || (exports.GetApplicationIncludedApplicationsResponse200Type$ = GetApplicationIncludedApplicationsResponse200Type$ = {}));
|
|
383
|
+
/** @internal */
|
|
384
|
+
exports.Included4$inboundSchema = z.object({
|
|
385
|
+
type: exports.GetApplicationIncludedApplicationsResponse200Type$inboundSchema,
|
|
386
|
+
id: z.string(),
|
|
387
|
+
attributes: components.EntityAttributes$inboundSchema,
|
|
388
|
+
links: z.record(components.LinkObject$inboundSchema).optional(),
|
|
389
|
+
meta: z.record(z.any()).optional(),
|
|
390
|
+
});
|
|
391
|
+
/** @internal */
|
|
392
|
+
exports.Included4$outboundSchema = z.object({
|
|
393
|
+
type: exports.GetApplicationIncludedApplicationsResponse200Type$outboundSchema,
|
|
394
|
+
id: z.string(),
|
|
395
|
+
attributes: components.EntityAttributes$outboundSchema,
|
|
396
|
+
links: z.record(components.LinkObject$outboundSchema).optional(),
|
|
397
|
+
meta: z.record(z.any()).optional(),
|
|
398
|
+
});
|
|
399
|
+
/**
|
|
400
|
+
* @internal
|
|
401
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
402
|
+
*/
|
|
403
|
+
var Included4$;
|
|
404
|
+
(function (Included4$) {
|
|
405
|
+
/** @deprecated use `Included4$inboundSchema` instead. */
|
|
406
|
+
Included4$.inboundSchema = exports.Included4$inboundSchema;
|
|
407
|
+
/** @deprecated use `Included4$outboundSchema` instead. */
|
|
408
|
+
Included4$.outboundSchema = exports.Included4$outboundSchema;
|
|
409
|
+
})(Included4$ || (exports.Included4$ = Included4$ = {}));
|
|
410
|
+
function included4ToJSON(included4) {
|
|
411
|
+
return JSON.stringify(exports.Included4$outboundSchema.parse(included4));
|
|
412
|
+
}
|
|
413
|
+
function included4FromJSON(jsonString) {
|
|
414
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Included4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Included4' from JSON`);
|
|
415
|
+
}
|
|
416
|
+
/** @internal */
|
|
417
|
+
exports.GetApplicationIncludedApplicationsResponseType$inboundSchema = z
|
|
418
|
+
.nativeEnum(exports.GetApplicationIncludedApplicationsResponseType);
|
|
419
|
+
/** @internal */
|
|
420
|
+
exports.GetApplicationIncludedApplicationsResponseType$outboundSchema = exports.GetApplicationIncludedApplicationsResponseType$inboundSchema;
|
|
421
|
+
/**
|
|
422
|
+
* @internal
|
|
423
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
424
|
+
*/
|
|
425
|
+
var GetApplicationIncludedApplicationsResponseType$;
|
|
426
|
+
(function (GetApplicationIncludedApplicationsResponseType$) {
|
|
427
|
+
/** @deprecated use `GetApplicationIncludedApplicationsResponseType$inboundSchema` instead. */
|
|
428
|
+
GetApplicationIncludedApplicationsResponseType$.inboundSchema = exports.GetApplicationIncludedApplicationsResponseType$inboundSchema;
|
|
429
|
+
/** @deprecated use `GetApplicationIncludedApplicationsResponseType$outboundSchema` instead. */
|
|
430
|
+
GetApplicationIncludedApplicationsResponseType$.outboundSchema = exports.GetApplicationIncludedApplicationsResponseType$outboundSchema;
|
|
431
|
+
})(GetApplicationIncludedApplicationsResponseType$ || (exports.GetApplicationIncludedApplicationsResponseType$ = GetApplicationIncludedApplicationsResponseType$ = {}));
|
|
432
|
+
/** @internal */
|
|
433
|
+
exports.Included3$inboundSchema = z.object({
|
|
434
|
+
type: exports.GetApplicationIncludedApplicationsResponseType$inboundSchema,
|
|
435
|
+
id: z.string(),
|
|
436
|
+
attributes: components.CommercialSecuredLoanAssetAttributes$inboundSchema,
|
|
437
|
+
links: z.record(components.LinkObject$inboundSchema).optional(),
|
|
438
|
+
meta: z.record(z.any()).optional(),
|
|
439
|
+
});
|
|
440
|
+
/** @internal */
|
|
441
|
+
exports.Included3$outboundSchema = z.object({
|
|
442
|
+
type: exports.GetApplicationIncludedApplicationsResponseType$outboundSchema,
|
|
443
|
+
id: z.string(),
|
|
444
|
+
attributes: components.CommercialSecuredLoanAssetAttributes$outboundSchema,
|
|
445
|
+
links: z.record(components.LinkObject$outboundSchema).optional(),
|
|
446
|
+
meta: z.record(z.any()).optional(),
|
|
447
|
+
});
|
|
448
|
+
/**
|
|
449
|
+
* @internal
|
|
450
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
451
|
+
*/
|
|
452
|
+
var Included3$;
|
|
453
|
+
(function (Included3$) {
|
|
454
|
+
/** @deprecated use `Included3$inboundSchema` instead. */
|
|
455
|
+
Included3$.inboundSchema = exports.Included3$inboundSchema;
|
|
456
|
+
/** @deprecated use `Included3$outboundSchema` instead. */
|
|
457
|
+
Included3$.outboundSchema = exports.Included3$outboundSchema;
|
|
458
|
+
})(Included3$ || (exports.Included3$ = Included3$ = {}));
|
|
459
|
+
function included3ToJSON(included3) {
|
|
460
|
+
return JSON.stringify(exports.Included3$outboundSchema.parse(included3));
|
|
461
|
+
}
|
|
462
|
+
function included3FromJSON(jsonString) {
|
|
463
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Included3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Included3' from JSON`);
|
|
464
|
+
}
|
|
465
|
+
/** @internal */
|
|
466
|
+
exports.GetApplicationIncludedApplicationsType$inboundSchema = z.nativeEnum(exports.GetApplicationIncludedApplicationsType);
|
|
467
|
+
/** @internal */
|
|
468
|
+
exports.GetApplicationIncludedApplicationsType$outboundSchema = exports.GetApplicationIncludedApplicationsType$inboundSchema;
|
|
469
|
+
/**
|
|
470
|
+
* @internal
|
|
471
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
472
|
+
*/
|
|
473
|
+
var GetApplicationIncludedApplicationsType$;
|
|
474
|
+
(function (GetApplicationIncludedApplicationsType$) {
|
|
475
|
+
/** @deprecated use `GetApplicationIncludedApplicationsType$inboundSchema` instead. */
|
|
476
|
+
GetApplicationIncludedApplicationsType$.inboundSchema = exports.GetApplicationIncludedApplicationsType$inboundSchema;
|
|
477
|
+
/** @deprecated use `GetApplicationIncludedApplicationsType$outboundSchema` instead. */
|
|
478
|
+
GetApplicationIncludedApplicationsType$.outboundSchema = exports.GetApplicationIncludedApplicationsType$outboundSchema;
|
|
479
|
+
})(GetApplicationIncludedApplicationsType$ || (exports.GetApplicationIncludedApplicationsType$ = GetApplicationIncludedApplicationsType$ = {}));
|
|
480
|
+
/** @internal */
|
|
481
|
+
exports.Included2$inboundSchema = z.object({
|
|
482
|
+
type: exports.GetApplicationIncludedApplicationsType$inboundSchema,
|
|
483
|
+
id: z.string(),
|
|
484
|
+
attributes: components.ConsumerSecuredLoanAssetAttributes$inboundSchema,
|
|
485
|
+
links: z.record(components.LinkObject$inboundSchema).optional(),
|
|
486
|
+
meta: z.record(z.any()).optional(),
|
|
487
|
+
});
|
|
488
|
+
/** @internal */
|
|
489
|
+
exports.Included2$outboundSchema = z.object({
|
|
490
|
+
type: exports.GetApplicationIncludedApplicationsType$outboundSchema,
|
|
491
|
+
id: z.string(),
|
|
492
|
+
attributes: components.ConsumerSecuredLoanAssetAttributes$outboundSchema,
|
|
493
|
+
links: z.record(components.LinkObject$outboundSchema).optional(),
|
|
494
|
+
meta: z.record(z.any()).optional(),
|
|
495
|
+
});
|
|
496
|
+
/**
|
|
497
|
+
* @internal
|
|
498
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
499
|
+
*/
|
|
500
|
+
var Included2$;
|
|
501
|
+
(function (Included2$) {
|
|
502
|
+
/** @deprecated use `Included2$inboundSchema` instead. */
|
|
503
|
+
Included2$.inboundSchema = exports.Included2$inboundSchema;
|
|
504
|
+
/** @deprecated use `Included2$outboundSchema` instead. */
|
|
505
|
+
Included2$.outboundSchema = exports.Included2$outboundSchema;
|
|
506
|
+
})(Included2$ || (exports.Included2$ = Included2$ = {}));
|
|
507
|
+
function included2ToJSON(included2) {
|
|
508
|
+
return JSON.stringify(exports.Included2$outboundSchema.parse(included2));
|
|
509
|
+
}
|
|
510
|
+
function included2FromJSON(jsonString) {
|
|
511
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Included2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Included2' from JSON`);
|
|
512
|
+
}
|
|
513
|
+
/** @internal */
|
|
514
|
+
exports.GetApplicationIncludedType$inboundSchema = z.nativeEnum(exports.GetApplicationIncludedType);
|
|
515
|
+
/** @internal */
|
|
516
|
+
exports.GetApplicationIncludedType$outboundSchema = exports.GetApplicationIncludedType$inboundSchema;
|
|
517
|
+
/**
|
|
518
|
+
* @internal
|
|
519
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
520
|
+
*/
|
|
521
|
+
var GetApplicationIncludedType$;
|
|
522
|
+
(function (GetApplicationIncludedType$) {
|
|
523
|
+
/** @deprecated use `GetApplicationIncludedType$inboundSchema` instead. */
|
|
524
|
+
GetApplicationIncludedType$.inboundSchema = exports.GetApplicationIncludedType$inboundSchema;
|
|
525
|
+
/** @deprecated use `GetApplicationIncludedType$outboundSchema` instead. */
|
|
526
|
+
GetApplicationIncludedType$.outboundSchema = exports.GetApplicationIncludedType$outboundSchema;
|
|
527
|
+
})(GetApplicationIncludedType$ || (exports.GetApplicationIncludedType$ = GetApplicationIncludedType$ = {}));
|
|
528
|
+
/** @internal */
|
|
529
|
+
exports.Included1$inboundSchema = z.object({
|
|
530
|
+
type: exports.GetApplicationIncludedType$inboundSchema,
|
|
531
|
+
id: z.string(),
|
|
532
|
+
attributes: components.AddressAttributes$inboundSchema,
|
|
533
|
+
links: z.record(components.LinkObject$inboundSchema).optional(),
|
|
534
|
+
meta: z.record(z.any()).optional(),
|
|
535
|
+
});
|
|
536
|
+
/** @internal */
|
|
537
|
+
exports.Included1$outboundSchema = z.object({
|
|
538
|
+
type: exports.GetApplicationIncludedType$outboundSchema,
|
|
539
|
+
id: z.string(),
|
|
540
|
+
attributes: components.AddressAttributes$outboundSchema,
|
|
541
|
+
links: z.record(components.LinkObject$outboundSchema).optional(),
|
|
542
|
+
meta: z.record(z.any()).optional(),
|
|
543
|
+
});
|
|
544
|
+
/**
|
|
545
|
+
* @internal
|
|
546
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
547
|
+
*/
|
|
548
|
+
var Included1$;
|
|
549
|
+
(function (Included1$) {
|
|
550
|
+
/** @deprecated use `Included1$inboundSchema` instead. */
|
|
551
|
+
Included1$.inboundSchema = exports.Included1$inboundSchema;
|
|
552
|
+
/** @deprecated use `Included1$outboundSchema` instead. */
|
|
553
|
+
Included1$.outboundSchema = exports.Included1$outboundSchema;
|
|
554
|
+
})(Included1$ || (exports.Included1$ = Included1$ = {}));
|
|
555
|
+
function included1ToJSON(included1) {
|
|
556
|
+
return JSON.stringify(exports.Included1$outboundSchema.parse(included1));
|
|
557
|
+
}
|
|
558
|
+
function included1FromJSON(jsonString) {
|
|
559
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Included1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Included1' from JSON`);
|
|
560
|
+
}
|
|
561
|
+
/** @internal */
|
|
562
|
+
exports.GetApplicationIncluded$inboundSchema = z.union([
|
|
563
|
+
z.lazy(() => exports.Included1$inboundSchema),
|
|
564
|
+
z.lazy(() => exports.Included2$inboundSchema),
|
|
565
|
+
z.lazy(() => exports.Included3$inboundSchema),
|
|
566
|
+
z.lazy(() => exports.Included4$inboundSchema),
|
|
567
|
+
z.lazy(() => exports.Included5$inboundSchema),
|
|
568
|
+
z.lazy(() => exports.Included6$inboundSchema),
|
|
569
|
+
z.lazy(() => exports.Included7$inboundSchema),
|
|
570
|
+
z.lazy(() => exports.Included8$inboundSchema),
|
|
571
|
+
]);
|
|
572
|
+
/** @internal */
|
|
573
|
+
exports.GetApplicationIncluded$outboundSchema = z.union([
|
|
574
|
+
z.lazy(() => exports.Included1$outboundSchema),
|
|
575
|
+
z.lazy(() => exports.Included2$outboundSchema),
|
|
576
|
+
z.lazy(() => exports.Included3$outboundSchema),
|
|
577
|
+
z.lazy(() => exports.Included4$outboundSchema),
|
|
578
|
+
z.lazy(() => exports.Included5$outboundSchema),
|
|
579
|
+
z.lazy(() => exports.Included6$outboundSchema),
|
|
580
|
+
z.lazy(() => exports.Included7$outboundSchema),
|
|
581
|
+
z.lazy(() => exports.Included8$outboundSchema),
|
|
582
|
+
]);
|
|
583
|
+
/**
|
|
584
|
+
* @internal
|
|
585
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
586
|
+
*/
|
|
587
|
+
var GetApplicationIncluded$;
|
|
588
|
+
(function (GetApplicationIncluded$) {
|
|
589
|
+
/** @deprecated use `GetApplicationIncluded$inboundSchema` instead. */
|
|
590
|
+
GetApplicationIncluded$.inboundSchema = exports.GetApplicationIncluded$inboundSchema;
|
|
591
|
+
/** @deprecated use `GetApplicationIncluded$outboundSchema` instead. */
|
|
592
|
+
GetApplicationIncluded$.outboundSchema = exports.GetApplicationIncluded$outboundSchema;
|
|
593
|
+
})(GetApplicationIncluded$ || (exports.GetApplicationIncluded$ = GetApplicationIncluded$ = {}));
|
|
594
|
+
function getApplicationIncludedToJSON(getApplicationIncluded) {
|
|
595
|
+
return JSON.stringify(exports.GetApplicationIncluded$outboundSchema.parse(getApplicationIncluded));
|
|
596
|
+
}
|
|
597
|
+
function getApplicationIncludedFromJSON(jsonString) {
|
|
598
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetApplicationIncluded$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetApplicationIncluded' from JSON`);
|
|
599
|
+
}
|
|
600
|
+
/** @internal */
|
|
601
|
+
exports.GetApplicationLinks$inboundSchema = z.object({});
|
|
602
|
+
/** @internal */
|
|
603
|
+
exports.GetApplicationLinks$outboundSchema = z.object({});
|
|
604
|
+
/**
|
|
605
|
+
* @internal
|
|
606
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
607
|
+
*/
|
|
608
|
+
var GetApplicationLinks$;
|
|
609
|
+
(function (GetApplicationLinks$) {
|
|
610
|
+
/** @deprecated use `GetApplicationLinks$inboundSchema` instead. */
|
|
611
|
+
GetApplicationLinks$.inboundSchema = exports.GetApplicationLinks$inboundSchema;
|
|
612
|
+
/** @deprecated use `GetApplicationLinks$outboundSchema` instead. */
|
|
613
|
+
GetApplicationLinks$.outboundSchema = exports.GetApplicationLinks$outboundSchema;
|
|
614
|
+
})(GetApplicationLinks$ || (exports.GetApplicationLinks$ = GetApplicationLinks$ = {}));
|
|
615
|
+
function getApplicationLinksToJSON(getApplicationLinks) {
|
|
616
|
+
return JSON.stringify(exports.GetApplicationLinks$outboundSchema.parse(getApplicationLinks));
|
|
617
|
+
}
|
|
618
|
+
function getApplicationLinksFromJSON(jsonString) {
|
|
619
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetApplicationLinks$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetApplicationLinks' from JSON`);
|
|
620
|
+
}
|
|
621
|
+
/** @internal */
|
|
622
|
+
exports.GetApplicationResponseBody$inboundSchema = z.object({
|
|
623
|
+
data: components.ApplicationResource$inboundSchema,
|
|
624
|
+
included: z.array(z.union([
|
|
625
|
+
z.lazy(() => exports.Included1$inboundSchema),
|
|
626
|
+
z.lazy(() => exports.Included2$inboundSchema),
|
|
627
|
+
z.lazy(() => exports.Included3$inboundSchema),
|
|
628
|
+
z.lazy(() => exports.Included4$inboundSchema),
|
|
629
|
+
z.lazy(() => exports.Included5$inboundSchema),
|
|
630
|
+
z.lazy(() => exports.Included6$inboundSchema),
|
|
631
|
+
z.lazy(() => exports.Included7$inboundSchema),
|
|
632
|
+
z.lazy(() => exports.Included8$inboundSchema),
|
|
633
|
+
])).optional(),
|
|
634
|
+
links: z.lazy(() => exports.GetApplicationLinks$inboundSchema).optional(),
|
|
635
|
+
});
|
|
636
|
+
/** @internal */
|
|
637
|
+
exports.GetApplicationResponseBody$outboundSchema = z.object({
|
|
638
|
+
data: components.ApplicationResource$outboundSchema,
|
|
639
|
+
included: z.array(z.union([
|
|
640
|
+
z.lazy(() => exports.Included1$outboundSchema),
|
|
641
|
+
z.lazy(() => exports.Included2$outboundSchema),
|
|
642
|
+
z.lazy(() => exports.Included3$outboundSchema),
|
|
643
|
+
z.lazy(() => exports.Included4$outboundSchema),
|
|
644
|
+
z.lazy(() => exports.Included5$outboundSchema),
|
|
645
|
+
z.lazy(() => exports.Included6$outboundSchema),
|
|
646
|
+
z.lazy(() => exports.Included7$outboundSchema),
|
|
647
|
+
z.lazy(() => exports.Included8$outboundSchema),
|
|
648
|
+
])).optional(),
|
|
649
|
+
links: z.lazy(() => exports.GetApplicationLinks$outboundSchema).optional(),
|
|
650
|
+
});
|
|
651
|
+
/**
|
|
652
|
+
* @internal
|
|
653
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
654
|
+
*/
|
|
655
|
+
var GetApplicationResponseBody$;
|
|
656
|
+
(function (GetApplicationResponseBody$) {
|
|
657
|
+
/** @deprecated use `GetApplicationResponseBody$inboundSchema` instead. */
|
|
658
|
+
GetApplicationResponseBody$.inboundSchema = exports.GetApplicationResponseBody$inboundSchema;
|
|
659
|
+
/** @deprecated use `GetApplicationResponseBody$outboundSchema` instead. */
|
|
660
|
+
GetApplicationResponseBody$.outboundSchema = exports.GetApplicationResponseBody$outboundSchema;
|
|
661
|
+
})(GetApplicationResponseBody$ || (exports.GetApplicationResponseBody$ = GetApplicationResponseBody$ = {}));
|
|
662
|
+
function getApplicationResponseBodyToJSON(getApplicationResponseBody) {
|
|
663
|
+
return JSON.stringify(exports.GetApplicationResponseBody$outboundSchema.parse(getApplicationResponseBody));
|
|
664
|
+
}
|
|
665
|
+
function getApplicationResponseBodyFromJSON(jsonString) {
|
|
666
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetApplicationResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetApplicationResponseBody' from JSON`);
|
|
667
|
+
}
|
|
668
|
+
/** @internal */
|
|
669
|
+
exports.GetApplicationResponse$inboundSchema = z.union([
|
|
670
|
+
z.lazy(() => exports.GetApplicationResponseBody$inboundSchema),
|
|
671
|
+
z.lazy(() => exports.GetApplicationApplicationsResponseBody$inboundSchema),
|
|
672
|
+
z.lazy(() => exports.GetApplicationApplicationsResponseResponseBody$inboundSchema),
|
|
673
|
+
]);
|
|
674
|
+
/** @internal */
|
|
675
|
+
exports.GetApplicationResponse$outboundSchema = z.union([
|
|
676
|
+
z.lazy(() => exports.GetApplicationResponseBody$outboundSchema),
|
|
677
|
+
z.lazy(() => exports.GetApplicationApplicationsResponseBody$outboundSchema),
|
|
678
|
+
z.lazy(() => exports.GetApplicationApplicationsResponseResponseBody$outboundSchema),
|
|
679
|
+
]);
|
|
680
|
+
/**
|
|
681
|
+
* @internal
|
|
682
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
683
|
+
*/
|
|
684
|
+
var GetApplicationResponse$;
|
|
685
|
+
(function (GetApplicationResponse$) {
|
|
686
|
+
/** @deprecated use `GetApplicationResponse$inboundSchema` instead. */
|
|
687
|
+
GetApplicationResponse$.inboundSchema = exports.GetApplicationResponse$inboundSchema;
|
|
688
|
+
/** @deprecated use `GetApplicationResponse$outboundSchema` instead. */
|
|
689
|
+
GetApplicationResponse$.outboundSchema = exports.GetApplicationResponse$outboundSchema;
|
|
690
|
+
})(GetApplicationResponse$ || (exports.GetApplicationResponse$ = GetApplicationResponse$ = {}));
|
|
691
|
+
function getApplicationResponseToJSON(getApplicationResponse) {
|
|
692
|
+
return JSON.stringify(exports.GetApplicationResponse$outboundSchema.parse(getApplicationResponse));
|
|
693
|
+
}
|
|
694
|
+
function getApplicationResponseFromJSON(jsonString) {
|
|
695
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetApplicationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetApplicationResponse' from JSON`);
|
|
696
|
+
}
|
|
697
|
+
//# sourceMappingURL=getapplication.js.map
|