@financeable/aggregation 0.5.0 → 0.6.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.
Files changed (293) hide show
  1. package/.devcontainer/README.md +1 -1
  2. package/FUNCTIONS.md +11 -132
  3. package/README.md +262 -1515
  4. package/docs/sdks/applications/README.md +171 -295
  5. package/docs/sdks/oauthtoken/README.md +5 -5
  6. package/docs/sdks/supportingdocuments/README.md +113 -0
  7. package/funcs/applicationsCreate.d.ts +1 -2
  8. package/funcs/applicationsCreate.d.ts.map +1 -1
  9. package/funcs/applicationsCreate.js +2 -3
  10. package/funcs/applicationsCreate.js.map +1 -1
  11. package/funcs/{oauthTokenGet.d.ts → oauthTokenOauthToken.d.ts} +2 -2
  12. package/funcs/oauthTokenOauthToken.d.ts.map +1 -0
  13. package/funcs/{oauthTokenGet.js → oauthTokenOauthToken.js} +3 -3
  14. package/funcs/oauthTokenOauthToken.js.map +1 -0
  15. package/funcs/supportingDocumentsCreate.d.ts +15 -0
  16. package/funcs/supportingDocumentsCreate.d.ts.map +1 -0
  17. package/funcs/{applicationsList.js → supportingDocumentsCreate.js} +15 -12
  18. package/funcs/supportingDocumentsCreate.js.map +1 -0
  19. package/jsr.json +1 -1
  20. package/lib/config.d.ts +4 -4
  21. package/lib/config.d.ts.map +1 -1
  22. package/lib/config.js +4 -7
  23. package/lib/config.js.map +1 -1
  24. package/lib/matchers.d.ts +3 -1
  25. package/lib/matchers.d.ts.map +1 -1
  26. package/lib/matchers.js +12 -0
  27. package/lib/matchers.js.map +1 -1
  28. package/lib/sdks.d.ts +3 -1
  29. package/lib/sdks.d.ts.map +1 -1
  30. package/lib/sdks.js +13 -13
  31. package/lib/sdks.js.map +1 -1
  32. package/models/components/addressattributes.d.ts +8 -8
  33. package/models/components/addressattributes.d.ts.map +1 -1
  34. package/models/components/addressattributes.js +13 -14
  35. package/models/components/addressattributes.js.map +1 -1
  36. package/models/components/applicationresource.d.ts +30 -0
  37. package/models/components/applicationresource.d.ts.map +1 -0
  38. package/models/components/applicationresource.js +73 -0
  39. package/models/components/applicationresource.js.map +1 -0
  40. package/models/components/badrequesterror.d.ts +119 -0
  41. package/models/components/badrequesterror.d.ts.map +1 -0
  42. package/models/components/badrequesterror.js +140 -0
  43. package/models/components/badrequesterror.js.map +1 -0
  44. package/models/components/commercialapplicationjsonapirelationships.d.ts +384 -0
  45. package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -0
  46. package/models/components/commercialapplicationjsonapirelationships.js +391 -0
  47. package/models/components/commercialapplicationjsonapirelationships.js.map +1 -0
  48. package/models/components/commercialapplicationresource.d.ts +191 -0
  49. package/models/components/commercialapplicationresource.d.ts.map +1 -0
  50. package/models/components/commercialapplicationresource.js +183 -0
  51. package/models/components/commercialapplicationresource.js.map +1 -0
  52. package/models/components/commercialsecuredloanapplicationsubmissionpayload.d.ts +124 -0
  53. package/models/components/commercialsecuredloanapplicationsubmissionpayload.d.ts.map +1 -0
  54. package/models/components/commercialsecuredloanapplicationsubmissionpayload.js +144 -0
  55. package/models/components/commercialsecuredloanapplicationsubmissionpayload.js.map +1 -0
  56. package/models/components/commercialsecuredloanassetattributes.d.ts +235 -0
  57. package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -0
  58. package/models/components/commercialsecuredloanassetattributes.js +168 -0
  59. package/models/components/commercialsecuredloanassetattributes.js.map +1 -0
  60. package/models/components/commercialsecuredloanassettype.d.ts +100 -0
  61. package/models/components/commercialsecuredloanassettype.d.ts.map +1 -0
  62. package/models/components/commercialsecuredloanassettype.js +84 -0
  63. package/models/components/commercialsecuredloanassettype.js.map +1 -0
  64. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +455 -0
  65. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -0
  66. package/models/components/commercialsecuredloancommercialapplicationrelationships.js +504 -0
  67. package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -0
  68. package/models/components/consumerapplicationjsonapirelationships.d.ts +296 -0
  69. package/models/components/consumerapplicationjsonapirelationships.d.ts.map +1 -0
  70. package/models/components/consumerapplicationjsonapirelationships.js +310 -0
  71. package/models/components/consumerapplicationjsonapirelationships.js.map +1 -0
  72. package/models/components/consumerapplicationresource.d.ts +191 -0
  73. package/models/components/consumerapplicationresource.d.ts.map +1 -0
  74. package/models/components/consumerapplicationresource.js +187 -0
  75. package/models/components/consumerapplicationresource.js.map +1 -0
  76. package/models/components/consumersecuredloanapplicationsubmissionpayload.d.ts +124 -0
  77. package/models/components/consumersecuredloanapplicationsubmissionpayload.d.ts.map +1 -0
  78. package/models/components/consumersecuredloanapplicationsubmissionpayload.js +146 -0
  79. package/models/components/consumersecuredloanapplicationsubmissionpayload.js.map +1 -0
  80. package/models/components/consumersecuredloanassetattributes.d.ts +235 -0
  81. package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -0
  82. package/models/components/consumersecuredloanassetattributes.js +170 -0
  83. package/models/components/consumersecuredloanassetattributes.js.map +1 -0
  84. package/models/components/consumersecuredloanassettype.d.ts +64 -0
  85. package/models/components/consumersecuredloanassettype.d.ts.map +1 -0
  86. package/models/components/{consumerassettype.js → consumersecuredloanassettype.js} +27 -28
  87. package/models/components/consumersecuredloanassettype.js.map +1 -0
  88. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +376 -0
  89. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -0
  90. package/models/components/consumersecuredloanconsumerapplicationrelationships.js +426 -0
  91. package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -0
  92. package/models/components/createsupportingdocumentsresponse.d.ts +121 -0
  93. package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -0
  94. package/models/components/createsupportingdocumentsresponse.js +149 -0
  95. package/models/components/createsupportingdocumentsresponse.js.map +1 -0
  96. package/models/components/documenttype.d.ts +70 -0
  97. package/models/components/documenttype.d.ts.map +1 -0
  98. package/models/components/documenttype.js +75 -0
  99. package/models/components/documenttype.js.map +1 -0
  100. package/models/components/entityattributes.d.ts +0 -22
  101. package/models/components/entityattributes.d.ts.map +1 -1
  102. package/models/components/entityattributes.js +0 -19
  103. package/models/components/entityattributes.js.map +1 -1
  104. package/models/components/forbiddenerror.d.ts +17 -39
  105. package/models/components/forbiddenerror.d.ts.map +1 -1
  106. package/models/components/forbiddenerror.js +27 -46
  107. package/models/components/forbiddenerror.js.map +1 -1
  108. package/models/components/index.d.ts +25 -8
  109. package/models/components/index.d.ts.map +1 -1
  110. package/models/components/index.js +25 -8
  111. package/models/components/index.js.map +1 -1
  112. package/models/components/linkobject.d.ts +47 -0
  113. package/models/components/linkobject.d.ts.map +1 -0
  114. package/models/components/linkobject.js +77 -0
  115. package/models/components/linkobject.js.map +1 -0
  116. package/models/components/relationshipresourcenotfound.d.ts +116 -0
  117. package/models/components/relationshipresourcenotfound.d.ts.map +1 -0
  118. package/models/components/relationshipresourcenotfound.js +139 -0
  119. package/models/components/relationshipresourcenotfound.js.map +1 -0
  120. package/models/components/resourcenotfound.d.ts +119 -0
  121. package/models/components/resourcenotfound.d.ts.map +1 -0
  122. package/models/components/resourcenotfound.js +139 -0
  123. package/models/components/resourcenotfound.js.map +1 -0
  124. package/models/components/resourcetypes.d.ts +46 -0
  125. package/models/components/resourcetypes.d.ts.map +1 -0
  126. package/models/components/{links.js → resourcetypes.js} +21 -27
  127. package/models/components/resourcetypes.js.map +1 -0
  128. package/models/components/supportingdocumentattributes.d.ts +40 -0
  129. package/models/components/supportingdocumentattributes.d.ts.map +1 -0
  130. package/models/components/{applicationattributescreate.js → supportingdocumentattributes.js} +24 -24
  131. package/models/components/supportingdocumentattributes.js.map +1 -0
  132. package/models/components/supportingdocumentattributesinput.d.ts +38 -0
  133. package/models/components/supportingdocumentattributesinput.d.ts.map +1 -0
  134. package/models/components/supportingdocumentattributesinput.js +72 -0
  135. package/models/components/supportingdocumentattributesinput.js.map +1 -0
  136. package/models/components/supportingdocumentrelationships.d.ts +448 -0
  137. package/models/components/supportingdocumentrelationships.d.ts.map +1 -0
  138. package/models/components/supportingdocumentrelationships.js +434 -0
  139. package/models/components/supportingdocumentrelationships.js.map +1 -0
  140. package/models/components/supportingdocumentresource.d.ts +91 -0
  141. package/models/components/supportingdocumentresource.d.ts.map +1 -0
  142. package/models/components/supportingdocumentresource.js +121 -0
  143. package/models/components/supportingdocumentresource.js.map +1 -0
  144. package/models/components/uploadmimetype.d.ts +49 -0
  145. package/models/components/uploadmimetype.d.ts.map +1 -0
  146. package/models/components/{applicationtype.js → uploadmimetype.js} +22 -14
  147. package/models/components/uploadmimetype.js.map +1 -0
  148. package/models/errors/createapplication.d.ts +38 -0
  149. package/models/errors/createapplication.d.ts.map +1 -0
  150. package/models/errors/{responsebody.js → createapplication.js} +15 -15
  151. package/models/errors/createapplication.js.map +1 -0
  152. package/models/errors/index.d.ts +2 -1
  153. package/models/errors/index.d.ts.map +1 -1
  154. package/models/errors/index.js +2 -1
  155. package/models/errors/index.js.map +1 -1
  156. package/models/errors/supportingdocumentscreate.d.ts +143 -0
  157. package/models/errors/supportingdocumentscreate.d.ts.map +1 -0
  158. package/models/errors/supportingdocumentscreate.js +225 -0
  159. package/models/errors/supportingdocumentscreate.js.map +1 -0
  160. package/models/operations/createapplication.d.ts +66 -808
  161. package/models/operations/createapplication.d.ts.map +1 -1
  162. package/models/operations/createapplication.js +82 -837
  163. package/models/operations/createapplication.js.map +1 -1
  164. package/models/operations/index.d.ts +1 -2
  165. package/models/operations/index.d.ts.map +1 -1
  166. package/models/operations/index.js +1 -2
  167. package/models/operations/index.js.map +1 -1
  168. package/models/operations/supportingdocumentscreate.d.ts +60 -0
  169. package/models/operations/supportingdocumentscreate.d.ts.map +1 -0
  170. package/models/operations/supportingdocumentscreate.js +108 -0
  171. package/models/operations/supportingdocumentscreate.js.map +1 -0
  172. package/package.json +3 -3
  173. package/sdk/applications.d.ts +1 -10
  174. package/sdk/applications.d.ts.map +1 -1
  175. package/sdk/applications.js +0 -14
  176. package/sdk/applications.js.map +1 -1
  177. package/sdk/oauthtoken.d.ts +1 -1
  178. package/sdk/oauthtoken.d.ts.map +1 -1
  179. package/sdk/oauthtoken.js +3 -3
  180. package/sdk/oauthtoken.js.map +1 -1
  181. package/sdk/sdk.d.ts +3 -0
  182. package/sdk/sdk.d.ts.map +1 -1
  183. package/sdk/sdk.js +4 -0
  184. package/sdk/sdk.js.map +1 -1
  185. package/sdk/supportingdocuments.d.ts +10 -0
  186. package/sdk/supportingdocuments.d.ts.map +1 -0
  187. package/sdk/supportingdocuments.js +19 -0
  188. package/sdk/supportingdocuments.js.map +1 -0
  189. package/src/funcs/applicationsCreate.ts +7 -8
  190. package/src/funcs/{oauthTokenGet.ts → oauthTokenOauthToken.ts} +1 -1
  191. package/src/funcs/{applicationsList.ts → supportingDocumentsCreate.ts} +31 -20
  192. package/src/lib/config.ts +4 -7
  193. package/src/lib/matchers.ts +20 -0
  194. package/src/lib/sdks.ts +19 -13
  195. package/src/models/components/addressattributes.ts +18 -14
  196. package/src/models/components/applicationresource.ts +83 -0
  197. package/src/models/components/badrequesterror.ts +182 -0
  198. package/src/models/components/commercialapplicationjsonapirelationships.ts +894 -0
  199. package/src/models/components/commercialapplicationresource.ts +355 -0
  200. package/src/models/components/commercialsecuredloanapplicationsubmissionpayload.ts +237 -0
  201. package/src/models/components/commercialsecuredloanassetattributes.ts +315 -0
  202. package/src/models/components/commercialsecuredloanassettype.ts +64 -0
  203. package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +1148 -0
  204. package/src/models/components/consumerapplicationjsonapirelationships.ts +683 -0
  205. package/src/models/components/consumerapplicationresource.ts +342 -0
  206. package/src/models/components/consumersecuredloanapplicationsubmissionpayload.ts +270 -0
  207. package/src/models/components/consumersecuredloanassetattributes.ts +330 -0
  208. package/src/models/components/consumersecuredloanassettype.ts +47 -0
  209. package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +1011 -0
  210. package/src/models/components/createsupportingdocumentsresponse.ts +252 -0
  211. package/src/models/components/documenttype.ts +49 -0
  212. package/src/models/components/entityattributes.ts +0 -44
  213. package/src/models/components/forbiddenerror.ts +35 -58
  214. package/src/models/components/index.ts +25 -8
  215. package/src/models/components/linkobject.ts +84 -0
  216. package/src/models/components/relationshipresourcenotfound.ts +195 -0
  217. package/src/models/components/resourcenotfound.ts +188 -0
  218. package/src/models/components/resourcetypes.ts +39 -0
  219. package/src/models/components/supportingdocumentattributes.ts +87 -0
  220. package/src/models/components/supportingdocumentattributesinput.ts +84 -0
  221. package/src/models/components/supportingdocumentrelationships.ts +828 -0
  222. package/src/models/components/supportingdocumentresource.ts +163 -0
  223. package/src/models/components/uploadmimetype.ts +44 -0
  224. package/src/models/errors/createapplication.ts +76 -0
  225. package/src/models/errors/index.ts +2 -1
  226. package/src/models/errors/supportingdocumentscreate.ts +342 -0
  227. package/src/models/operations/createapplication.ts +143 -1778
  228. package/src/models/operations/index.ts +1 -2
  229. package/src/models/operations/supportingdocumentscreate.ts +150 -0
  230. package/src/sdk/applications.ts +1 -32
  231. package/src/sdk/oauthtoken.ts +3 -3
  232. package/src/sdk/sdk.ts +8 -0
  233. package/src/sdk/supportingdocuments.ts +25 -0
  234. package/funcs/applicationsGet.d.ts +0 -14
  235. package/funcs/applicationsGet.d.ts.map +0 -1
  236. package/funcs/applicationsGet.js +0 -120
  237. package/funcs/applicationsGet.js.map +0 -1
  238. package/funcs/applicationsList.d.ts +0 -14
  239. package/funcs/applicationsList.d.ts.map +0 -1
  240. package/funcs/applicationsList.js.map +0 -1
  241. package/funcs/oauthTokenGet.d.ts.map +0 -1
  242. package/funcs/oauthTokenGet.js.map +0 -1
  243. package/models/components/applicationattributes.d.ts +0 -69
  244. package/models/components/applicationattributes.d.ts.map +0 -1
  245. package/models/components/applicationattributes.js +0 -85
  246. package/models/components/applicationattributes.js.map +0 -1
  247. package/models/components/applicationattributescreate.d.ts +0 -43
  248. package/models/components/applicationattributescreate.d.ts.map +0 -1
  249. package/models/components/applicationattributescreate.js.map +0 -1
  250. package/models/components/applicationresourcebulksubmission.d.ts +0 -533
  251. package/models/components/applicationresourcebulksubmission.d.ts.map +0 -1
  252. package/models/components/applicationresourcebulksubmission.js +0 -565
  253. package/models/components/applicationresourcebulksubmission.js.map +0 -1
  254. package/models/components/applicationtype.d.ts +0 -28
  255. package/models/components/applicationtype.d.ts.map +0 -1
  256. package/models/components/applicationtype.js.map +0 -1
  257. package/models/components/assetattributes.d.ts +0 -311
  258. package/models/components/assetattributes.d.ts.map +0 -1
  259. package/models/components/assetattributes.js +0 -234
  260. package/models/components/assetattributes.js.map +0 -1
  261. package/models/components/commercialassettype.d.ts +0 -44
  262. package/models/components/commercialassettype.d.ts.map +0 -1
  263. package/models/components/commercialassettype.js +0 -85
  264. package/models/components/commercialassettype.js.map +0 -1
  265. package/models/components/consumerassettype.d.ts +0 -32
  266. package/models/components/consumerassettype.d.ts.map +0 -1
  267. package/models/components/consumerassettype.js.map +0 -1
  268. package/models/components/links.d.ts +0 -40
  269. package/models/components/links.d.ts.map +0 -1
  270. package/models/components/links.js.map +0 -1
  271. package/models/errors/responsebody.d.ts +0 -38
  272. package/models/errors/responsebody.d.ts.map +0 -1
  273. package/models/errors/responsebody.js.map +0 -1
  274. package/models/operations/getapplication.d.ts +0 -962
  275. package/models/operations/getapplication.d.ts.map +0 -1
  276. package/models/operations/getapplication.js +0 -1030
  277. package/models/operations/getapplication.js.map +0 -1
  278. package/models/operations/getapplications.d.ts +0 -962
  279. package/models/operations/getapplications.d.ts.map +0 -1
  280. package/models/operations/getapplications.js +0 -1029
  281. package/models/operations/getapplications.js.map +0 -1
  282. package/src/funcs/applicationsGet.ts +0 -168
  283. package/src/models/components/applicationattributes.ts +0 -128
  284. package/src/models/components/applicationattributescreate.ts +0 -90
  285. package/src/models/components/applicationresourcebulksubmission.ts +0 -1178
  286. package/src/models/components/applicationtype.ts +0 -33
  287. package/src/models/components/assetattributes.ts +0 -411
  288. package/src/models/components/commercialassettype.ts +0 -61
  289. package/src/models/components/consumerassettype.ts +0 -43
  290. package/src/models/components/links.ts +0 -72
  291. package/src/models/errors/responsebody.ts +0 -76
  292. package/src/models/operations/getapplication.ts +0 -2246
  293. package/src/models/operations/getapplications.ts +0 -2191
@@ -1,173 +1,22 @@
1
1
  import * as z from "zod";
2
- import { ClosedEnum } from "../../types/enums.js";
3
2
  import { Result as SafeParseResult } from "../../types/fp.js";
4
3
  import * as components from "../components/index.js";
5
4
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
6
- export declare const Type: {
7
- readonly Applications: "applications";
8
- };
9
- export type Type = ClosedEnum<typeof Type>;
10
- export declare const CreateApplicationDataType: {
11
- readonly LoanDetails: "loan-details";
12
- };
13
- export type CreateApplicationDataType = ClosedEnum<typeof CreateApplicationDataType>;
14
- export type CreateApplicationDataApplicationsResponse2 = {
15
- type: CreateApplicationDataType;
16
- id: string;
17
- };
18
- export declare const DataType: {
19
- readonly LoanDetails: "loan-details";
20
- };
21
- export type DataType = ClosedEnum<typeof DataType>;
22
- export type CreateApplicationDataApplicationsResponse1 = {
23
- type: DataType;
24
- id: string;
25
- };
26
- export type CreateApplicationApplicationsResponse201Data = CreateApplicationDataApplicationsResponse1 | Array<CreateApplicationDataApplicationsResponse2>;
27
- export type LoanDetails = {
28
- data: CreateApplicationDataApplicationsResponse1 | Array<CreateApplicationDataApplicationsResponse2> | null;
29
- /**
30
- * Standard link object
31
- */
32
- links?: components.Links | undefined;
33
- meta?: {
34
- [k: string]: any;
35
- } | undefined;
36
- };
37
- export declare const CreateApplicationDataApplicationsResponseType: {
38
- readonly Customers: "customers";
39
- };
40
- export type CreateApplicationDataApplicationsResponseType = ClosedEnum<typeof CreateApplicationDataApplicationsResponseType>;
41
- export type CreateApplicationDataApplicationsResponse2012 = {
42
- type: CreateApplicationDataApplicationsResponseType;
43
- id: string;
44
- };
45
- export declare const CreateApplicationDataApplicationsType: {
46
- readonly Customers: "customers";
47
- };
48
- export type CreateApplicationDataApplicationsType = ClosedEnum<typeof CreateApplicationDataApplicationsType>;
49
- export type CreateApplicationDataApplicationsResponse2011 = {
50
- type: CreateApplicationDataApplicationsType;
51
- id: string;
52
- };
53
- export type CreateApplicationApplicationsResponse201ApplicationJSONData = CreateApplicationDataApplicationsResponse2011 | Array<CreateApplicationDataApplicationsResponse2012>;
54
- export type Customers = {
55
- data: CreateApplicationDataApplicationsResponse2011 | Array<CreateApplicationDataApplicationsResponse2012> | null;
56
- /**
57
- * Standard link object
58
- */
59
- links?: components.Links | undefined;
60
- meta?: {
61
- [k: string]: any;
62
- } | undefined;
63
- };
64
- export declare const CreateApplicationDataApplicationsResponse201ApplicationJSONType: {
65
- readonly Assets: "assets";
66
- };
67
- export type CreateApplicationDataApplicationsResponse201ApplicationJSONType = ClosedEnum<typeof CreateApplicationDataApplicationsResponse201ApplicationJSONType>;
68
- export type CreateApplicationData2 = {
69
- type: CreateApplicationDataApplicationsResponse201ApplicationJSONType;
70
- id: string;
71
- };
72
- export declare const CreateApplicationDataApplicationsResponse201Type: {
73
- readonly Assets: "assets";
74
- };
75
- export type CreateApplicationDataApplicationsResponse201Type = ClosedEnum<typeof CreateApplicationDataApplicationsResponse201Type>;
76
- export type CreateApplicationData1 = {
77
- type: CreateApplicationDataApplicationsResponse201Type;
78
- id: string;
79
- };
80
- export type CreateApplicationApplicationsData = CreateApplicationData1 | Array<CreateApplicationData2>;
81
- export type Asset = {
82
- data: CreateApplicationData1 | Array<CreateApplicationData2> | null;
83
- /**
84
- * Standard link object
85
- */
86
- links?: components.Links | undefined;
87
- meta?: {
88
- [k: string]: any;
89
- } | undefined;
90
- };
91
- export declare const CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyDataType: {
92
- readonly Entities: "entities";
93
- };
94
- export type CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyDataType = ClosedEnum<typeof CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyDataType>;
95
- export type CreateApplicationDataApplications2 = {
96
- type: CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyDataType;
97
- id: string;
98
- };
99
- export declare const CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyType: {
100
- readonly Entities: "entities";
101
- };
102
- export type CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyType = ClosedEnum<typeof CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyType>;
103
- export type CreateApplicationDataApplications1 = {
104
- type: CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyType;
105
- id: string;
106
- };
107
- export type CreateApplicationApplicationsResponseData = CreateApplicationDataApplications1 | Array<CreateApplicationDataApplications2>;
108
- export type Entities = {
109
- data: CreateApplicationDataApplications1 | Array<CreateApplicationDataApplications2> | null;
110
- /**
111
- * Standard link object
112
- */
113
- links?: components.Links | undefined;
114
- meta?: {
115
- [k: string]: any;
116
- } | undefined;
117
- };
118
- export type Relationships = {
119
- loanDetails?: LoanDetails | undefined;
120
- customers?: Customers | undefined;
121
- asset?: Asset | undefined;
122
- entities?: Entities | undefined;
123
- };
124
- export type Data = {
125
- type: Type;
126
- id: string;
127
- /**
128
- * Application resource attributes
129
- */
130
- attributes?: components.ApplicationAttributes | undefined;
131
- relationships?: Relationships | undefined;
132
- /**
133
- * Standard link object
134
- */
135
- links?: components.Links | undefined;
136
- meta?: {
137
- [k: string]: any;
138
- } | undefined;
5
+ export type Data = components.CommercialSecuredLoanApplicationSubmissionPayload | components.ConsumerSecuredLoanApplicationSubmissionPayload;
6
+ export type CreateApplicationRequestBody = {
7
+ data: components.CommercialSecuredLoanApplicationSubmissionPayload | components.ConsumerSecuredLoanApplicationSubmissionPayload;
139
8
  };
140
9
  export type Attributes = {};
141
- export type Two = {
142
- type: string;
143
- id: string;
144
- };
145
- export type One = {
146
- type: string;
147
- id: string;
148
- };
149
- export type CreateApplicationData = One | Array<Two>;
150
- export type CreateApplicationRelationships = {
151
- data: One | Array<Two> | null;
152
- /**
153
- * Standard link object
154
- */
155
- links?: components.Links | undefined;
156
- meta?: {
157
- [k: string]: any;
158
- } | undefined;
159
- };
10
+ export type Relationships = {};
11
+ export type Links = {};
160
12
  export type Included = {
161
- type: string;
13
+ type: components.ResourceTypes;
162
14
  id: string;
163
15
  attributes?: Attributes | undefined;
164
- relationships?: {
165
- [k: string]: CreateApplicationRelationships;
16
+ relationships: Relationships;
17
+ links?: {
18
+ [k: string]: Links;
166
19
  } | undefined;
167
- /**
168
- * Standard link object
169
- */
170
- links?: components.Links | undefined;
171
20
  meta?: {
172
21
  [k: string]: any;
173
22
  } | undefined;
@@ -176,581 +25,20 @@ export type Included = {
176
25
  * The request has succeeded and a new resource has been created as a result.
177
26
  */
178
27
  export type CreateApplicationResponseBody = {
179
- data: Data;
28
+ /**
29
+ * Represents either a Consumer or Commercial Application resource
30
+ */
31
+ data: components.ApplicationResource;
180
32
  included?: Array<Included> | undefined;
181
33
  /**
182
34
  * Standard link object
183
35
  */
184
- links?: components.Links | undefined;
36
+ links?: components.LinkObject | undefined;
185
37
  };
186
38
  /** @internal */
187
- export declare const Type$inboundSchema: z.ZodNativeEnum<typeof Type>;
188
- /** @internal */
189
- export declare const Type$outboundSchema: z.ZodNativeEnum<typeof Type>;
190
- /**
191
- * @internal
192
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
193
- */
194
- export declare namespace Type$ {
195
- /** @deprecated use `Type$inboundSchema` instead. */
196
- const inboundSchema: z.ZodNativeEnum<{
197
- readonly Applications: "applications";
198
- }>;
199
- /** @deprecated use `Type$outboundSchema` instead. */
200
- const outboundSchema: z.ZodNativeEnum<{
201
- readonly Applications: "applications";
202
- }>;
203
- }
204
- /** @internal */
205
- export declare const CreateApplicationDataType$inboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataType>;
206
- /** @internal */
207
- export declare const CreateApplicationDataType$outboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataType>;
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
- export declare namespace CreateApplicationDataType$ {
213
- /** @deprecated use `CreateApplicationDataType$inboundSchema` instead. */
214
- const inboundSchema: z.ZodNativeEnum<{
215
- readonly LoanDetails: "loan-details";
216
- }>;
217
- /** @deprecated use `CreateApplicationDataType$outboundSchema` instead. */
218
- const outboundSchema: z.ZodNativeEnum<{
219
- readonly LoanDetails: "loan-details";
220
- }>;
221
- }
222
- /** @internal */
223
- export declare const CreateApplicationDataApplicationsResponse2$inboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse2, z.ZodTypeDef, unknown>;
224
- /** @internal */
225
- export type CreateApplicationDataApplicationsResponse2$Outbound = {
226
- type: string;
227
- id: string;
228
- };
229
- /** @internal */
230
- export declare const CreateApplicationDataApplicationsResponse2$outboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse2$Outbound, z.ZodTypeDef, CreateApplicationDataApplicationsResponse2>;
231
- /**
232
- * @internal
233
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
234
- */
235
- export declare namespace CreateApplicationDataApplicationsResponse2$ {
236
- /** @deprecated use `CreateApplicationDataApplicationsResponse2$inboundSchema` instead. */
237
- const inboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse2, z.ZodTypeDef, unknown>;
238
- /** @deprecated use `CreateApplicationDataApplicationsResponse2$outboundSchema` instead. */
239
- const outboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse2$Outbound, z.ZodTypeDef, CreateApplicationDataApplicationsResponse2>;
240
- /** @deprecated use `CreateApplicationDataApplicationsResponse2$Outbound` instead. */
241
- type Outbound = CreateApplicationDataApplicationsResponse2$Outbound;
242
- }
243
- export declare function createApplicationDataApplicationsResponse2ToJSON(createApplicationDataApplicationsResponse2: CreateApplicationDataApplicationsResponse2): string;
244
- export declare function createApplicationDataApplicationsResponse2FromJSON(jsonString: string): SafeParseResult<CreateApplicationDataApplicationsResponse2, SDKValidationError>;
245
- /** @internal */
246
- export declare const DataType$inboundSchema: z.ZodNativeEnum<typeof DataType>;
247
- /** @internal */
248
- export declare const DataType$outboundSchema: z.ZodNativeEnum<typeof DataType>;
249
- /**
250
- * @internal
251
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
252
- */
253
- export declare namespace DataType$ {
254
- /** @deprecated use `DataType$inboundSchema` instead. */
255
- const inboundSchema: z.ZodNativeEnum<{
256
- readonly LoanDetails: "loan-details";
257
- }>;
258
- /** @deprecated use `DataType$outboundSchema` instead. */
259
- const outboundSchema: z.ZodNativeEnum<{
260
- readonly LoanDetails: "loan-details";
261
- }>;
262
- }
263
- /** @internal */
264
- export declare const CreateApplicationDataApplicationsResponse1$inboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse1, z.ZodTypeDef, unknown>;
265
- /** @internal */
266
- export type CreateApplicationDataApplicationsResponse1$Outbound = {
267
- type: string;
268
- id: string;
269
- };
270
- /** @internal */
271
- export declare const CreateApplicationDataApplicationsResponse1$outboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse1$Outbound, z.ZodTypeDef, CreateApplicationDataApplicationsResponse1>;
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
- export declare namespace CreateApplicationDataApplicationsResponse1$ {
277
- /** @deprecated use `CreateApplicationDataApplicationsResponse1$inboundSchema` instead. */
278
- const inboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse1, z.ZodTypeDef, unknown>;
279
- /** @deprecated use `CreateApplicationDataApplicationsResponse1$outboundSchema` instead. */
280
- const outboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse1$Outbound, z.ZodTypeDef, CreateApplicationDataApplicationsResponse1>;
281
- /** @deprecated use `CreateApplicationDataApplicationsResponse1$Outbound` instead. */
282
- type Outbound = CreateApplicationDataApplicationsResponse1$Outbound;
283
- }
284
- export declare function createApplicationDataApplicationsResponse1ToJSON(createApplicationDataApplicationsResponse1: CreateApplicationDataApplicationsResponse1): string;
285
- export declare function createApplicationDataApplicationsResponse1FromJSON(jsonString: string): SafeParseResult<CreateApplicationDataApplicationsResponse1, SDKValidationError>;
286
- /** @internal */
287
- export declare const CreateApplicationApplicationsResponse201Data$inboundSchema: z.ZodType<CreateApplicationApplicationsResponse201Data, z.ZodTypeDef, unknown>;
288
- /** @internal */
289
- export type CreateApplicationApplicationsResponse201Data$Outbound = CreateApplicationDataApplicationsResponse1$Outbound | Array<CreateApplicationDataApplicationsResponse2$Outbound>;
290
- /** @internal */
291
- export declare const CreateApplicationApplicationsResponse201Data$outboundSchema: z.ZodType<CreateApplicationApplicationsResponse201Data$Outbound, z.ZodTypeDef, CreateApplicationApplicationsResponse201Data>;
292
- /**
293
- * @internal
294
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
295
- */
296
- export declare namespace CreateApplicationApplicationsResponse201Data$ {
297
- /** @deprecated use `CreateApplicationApplicationsResponse201Data$inboundSchema` instead. */
298
- const inboundSchema: z.ZodType<CreateApplicationApplicationsResponse201Data, z.ZodTypeDef, unknown>;
299
- /** @deprecated use `CreateApplicationApplicationsResponse201Data$outboundSchema` instead. */
300
- const outboundSchema: z.ZodType<CreateApplicationApplicationsResponse201Data$Outbound, z.ZodTypeDef, CreateApplicationApplicationsResponse201Data>;
301
- /** @deprecated use `CreateApplicationApplicationsResponse201Data$Outbound` instead. */
302
- type Outbound = CreateApplicationApplicationsResponse201Data$Outbound;
303
- }
304
- export declare function createApplicationApplicationsResponse201DataToJSON(createApplicationApplicationsResponse201Data: CreateApplicationApplicationsResponse201Data): string;
305
- export declare function createApplicationApplicationsResponse201DataFromJSON(jsonString: string): SafeParseResult<CreateApplicationApplicationsResponse201Data, SDKValidationError>;
306
- /** @internal */
307
- export declare const LoanDetails$inboundSchema: z.ZodType<LoanDetails, z.ZodTypeDef, unknown>;
308
- /** @internal */
309
- export type LoanDetails$Outbound = {
310
- data: CreateApplicationDataApplicationsResponse1$Outbound | Array<CreateApplicationDataApplicationsResponse2$Outbound> | null;
311
- links?: components.Links$Outbound | undefined;
312
- meta?: {
313
- [k: string]: any;
314
- } | undefined;
315
- };
316
- /** @internal */
317
- export declare const LoanDetails$outboundSchema: z.ZodType<LoanDetails$Outbound, z.ZodTypeDef, LoanDetails>;
318
- /**
319
- * @internal
320
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
321
- */
322
- export declare namespace LoanDetails$ {
323
- /** @deprecated use `LoanDetails$inboundSchema` instead. */
324
- const inboundSchema: z.ZodType<LoanDetails, z.ZodTypeDef, unknown>;
325
- /** @deprecated use `LoanDetails$outboundSchema` instead. */
326
- const outboundSchema: z.ZodType<LoanDetails$Outbound, z.ZodTypeDef, LoanDetails>;
327
- /** @deprecated use `LoanDetails$Outbound` instead. */
328
- type Outbound = LoanDetails$Outbound;
329
- }
330
- export declare function loanDetailsToJSON(loanDetails: LoanDetails): string;
331
- export declare function loanDetailsFromJSON(jsonString: string): SafeParseResult<LoanDetails, SDKValidationError>;
332
- /** @internal */
333
- export declare const CreateApplicationDataApplicationsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsResponseType>;
334
- /** @internal */
335
- export declare const CreateApplicationDataApplicationsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsResponseType>;
336
- /**
337
- * @internal
338
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
339
- */
340
- export declare namespace CreateApplicationDataApplicationsResponseType$ {
341
- /** @deprecated use `CreateApplicationDataApplicationsResponseType$inboundSchema` instead. */
342
- const inboundSchema: z.ZodNativeEnum<{
343
- readonly Customers: "customers";
344
- }>;
345
- /** @deprecated use `CreateApplicationDataApplicationsResponseType$outboundSchema` instead. */
346
- const outboundSchema: z.ZodNativeEnum<{
347
- readonly Customers: "customers";
348
- }>;
349
- }
350
- /** @internal */
351
- export declare const CreateApplicationDataApplicationsResponse2012$inboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse2012, z.ZodTypeDef, unknown>;
352
- /** @internal */
353
- export type CreateApplicationDataApplicationsResponse2012$Outbound = {
354
- type: string;
355
- id: string;
356
- };
357
- /** @internal */
358
- export declare const CreateApplicationDataApplicationsResponse2012$outboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse2012$Outbound, z.ZodTypeDef, CreateApplicationDataApplicationsResponse2012>;
359
- /**
360
- * @internal
361
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
362
- */
363
- export declare namespace CreateApplicationDataApplicationsResponse2012$ {
364
- /** @deprecated use `CreateApplicationDataApplicationsResponse2012$inboundSchema` instead. */
365
- const inboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse2012, z.ZodTypeDef, unknown>;
366
- /** @deprecated use `CreateApplicationDataApplicationsResponse2012$outboundSchema` instead. */
367
- const outboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse2012$Outbound, z.ZodTypeDef, CreateApplicationDataApplicationsResponse2012>;
368
- /** @deprecated use `CreateApplicationDataApplicationsResponse2012$Outbound` instead. */
369
- type Outbound = CreateApplicationDataApplicationsResponse2012$Outbound;
370
- }
371
- export declare function createApplicationDataApplicationsResponse2012ToJSON(createApplicationDataApplicationsResponse2012: CreateApplicationDataApplicationsResponse2012): string;
372
- export declare function createApplicationDataApplicationsResponse2012FromJSON(jsonString: string): SafeParseResult<CreateApplicationDataApplicationsResponse2012, SDKValidationError>;
373
- /** @internal */
374
- export declare const CreateApplicationDataApplicationsType$inboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsType>;
375
- /** @internal */
376
- export declare const CreateApplicationDataApplicationsType$outboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsType>;
377
- /**
378
- * @internal
379
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
380
- */
381
- export declare namespace CreateApplicationDataApplicationsType$ {
382
- /** @deprecated use `CreateApplicationDataApplicationsType$inboundSchema` instead. */
383
- const inboundSchema: z.ZodNativeEnum<{
384
- readonly Customers: "customers";
385
- }>;
386
- /** @deprecated use `CreateApplicationDataApplicationsType$outboundSchema` instead. */
387
- const outboundSchema: z.ZodNativeEnum<{
388
- readonly Customers: "customers";
389
- }>;
390
- }
391
- /** @internal */
392
- export declare const CreateApplicationDataApplicationsResponse2011$inboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse2011, z.ZodTypeDef, unknown>;
393
- /** @internal */
394
- export type CreateApplicationDataApplicationsResponse2011$Outbound = {
395
- type: string;
396
- id: string;
397
- };
398
- /** @internal */
399
- export declare const CreateApplicationDataApplicationsResponse2011$outboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse2011$Outbound, z.ZodTypeDef, CreateApplicationDataApplicationsResponse2011>;
400
- /**
401
- * @internal
402
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
403
- */
404
- export declare namespace CreateApplicationDataApplicationsResponse2011$ {
405
- /** @deprecated use `CreateApplicationDataApplicationsResponse2011$inboundSchema` instead. */
406
- const inboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse2011, z.ZodTypeDef, unknown>;
407
- /** @deprecated use `CreateApplicationDataApplicationsResponse2011$outboundSchema` instead. */
408
- const outboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse2011$Outbound, z.ZodTypeDef, CreateApplicationDataApplicationsResponse2011>;
409
- /** @deprecated use `CreateApplicationDataApplicationsResponse2011$Outbound` instead. */
410
- type Outbound = CreateApplicationDataApplicationsResponse2011$Outbound;
411
- }
412
- export declare function createApplicationDataApplicationsResponse2011ToJSON(createApplicationDataApplicationsResponse2011: CreateApplicationDataApplicationsResponse2011): string;
413
- export declare function createApplicationDataApplicationsResponse2011FromJSON(jsonString: string): SafeParseResult<CreateApplicationDataApplicationsResponse2011, SDKValidationError>;
414
- /** @internal */
415
- export declare const CreateApplicationApplicationsResponse201ApplicationJSONData$inboundSchema: z.ZodType<CreateApplicationApplicationsResponse201ApplicationJSONData, z.ZodTypeDef, unknown>;
416
- /** @internal */
417
- export type CreateApplicationApplicationsResponse201ApplicationJSONData$Outbound = CreateApplicationDataApplicationsResponse2011$Outbound | Array<CreateApplicationDataApplicationsResponse2012$Outbound>;
418
- /** @internal */
419
- export declare const CreateApplicationApplicationsResponse201ApplicationJSONData$outboundSchema: z.ZodType<CreateApplicationApplicationsResponse201ApplicationJSONData$Outbound, z.ZodTypeDef, CreateApplicationApplicationsResponse201ApplicationJSONData>;
420
- /**
421
- * @internal
422
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
423
- */
424
- export declare namespace CreateApplicationApplicationsResponse201ApplicationJSONData$ {
425
- /** @deprecated use `CreateApplicationApplicationsResponse201ApplicationJSONData$inboundSchema` instead. */
426
- const inboundSchema: z.ZodType<CreateApplicationApplicationsResponse201ApplicationJSONData, z.ZodTypeDef, unknown>;
427
- /** @deprecated use `CreateApplicationApplicationsResponse201ApplicationJSONData$outboundSchema` instead. */
428
- const outboundSchema: z.ZodType<CreateApplicationApplicationsResponse201ApplicationJSONData$Outbound, z.ZodTypeDef, CreateApplicationApplicationsResponse201ApplicationJSONData>;
429
- /** @deprecated use `CreateApplicationApplicationsResponse201ApplicationJSONData$Outbound` instead. */
430
- type Outbound = CreateApplicationApplicationsResponse201ApplicationJSONData$Outbound;
431
- }
432
- export declare function createApplicationApplicationsResponse201ApplicationJSONDataToJSON(createApplicationApplicationsResponse201ApplicationJSONData: CreateApplicationApplicationsResponse201ApplicationJSONData): string;
433
- export declare function createApplicationApplicationsResponse201ApplicationJSONDataFromJSON(jsonString: string): SafeParseResult<CreateApplicationApplicationsResponse201ApplicationJSONData, SDKValidationError>;
434
- /** @internal */
435
- export declare const Customers$inboundSchema: z.ZodType<Customers, z.ZodTypeDef, unknown>;
436
- /** @internal */
437
- export type Customers$Outbound = {
438
- data: CreateApplicationDataApplicationsResponse2011$Outbound | Array<CreateApplicationDataApplicationsResponse2012$Outbound> | null;
439
- links?: components.Links$Outbound | undefined;
440
- meta?: {
441
- [k: string]: any;
442
- } | undefined;
443
- };
444
- /** @internal */
445
- export declare const Customers$outboundSchema: z.ZodType<Customers$Outbound, z.ZodTypeDef, Customers>;
446
- /**
447
- * @internal
448
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
449
- */
450
- export declare namespace Customers$ {
451
- /** @deprecated use `Customers$inboundSchema` instead. */
452
- const inboundSchema: z.ZodType<Customers, z.ZodTypeDef, unknown>;
453
- /** @deprecated use `Customers$outboundSchema` instead. */
454
- const outboundSchema: z.ZodType<Customers$Outbound, z.ZodTypeDef, Customers>;
455
- /** @deprecated use `Customers$Outbound` instead. */
456
- type Outbound = Customers$Outbound;
457
- }
458
- export declare function customersToJSON(customers: Customers): string;
459
- export declare function customersFromJSON(jsonString: string): SafeParseResult<Customers, SDKValidationError>;
460
- /** @internal */
461
- export declare const CreateApplicationDataApplicationsResponse201ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsResponse201ApplicationJSONType>;
462
- /** @internal */
463
- export declare const CreateApplicationDataApplicationsResponse201ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsResponse201ApplicationJSONType>;
464
- /**
465
- * @internal
466
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
467
- */
468
- export declare namespace CreateApplicationDataApplicationsResponse201ApplicationJSONType$ {
469
- /** @deprecated use `CreateApplicationDataApplicationsResponse201ApplicationJSONType$inboundSchema` instead. */
470
- const inboundSchema: z.ZodNativeEnum<{
471
- readonly Assets: "assets";
472
- }>;
473
- /** @deprecated use `CreateApplicationDataApplicationsResponse201ApplicationJSONType$outboundSchema` instead. */
474
- const outboundSchema: z.ZodNativeEnum<{
475
- readonly Assets: "assets";
476
- }>;
477
- }
478
- /** @internal */
479
- export declare const CreateApplicationData2$inboundSchema: z.ZodType<CreateApplicationData2, z.ZodTypeDef, unknown>;
480
- /** @internal */
481
- export type CreateApplicationData2$Outbound = {
482
- type: string;
483
- id: string;
484
- };
485
- /** @internal */
486
- export declare const CreateApplicationData2$outboundSchema: z.ZodType<CreateApplicationData2$Outbound, z.ZodTypeDef, CreateApplicationData2>;
487
- /**
488
- * @internal
489
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
490
- */
491
- export declare namespace CreateApplicationData2$ {
492
- /** @deprecated use `CreateApplicationData2$inboundSchema` instead. */
493
- const inboundSchema: z.ZodType<CreateApplicationData2, z.ZodTypeDef, unknown>;
494
- /** @deprecated use `CreateApplicationData2$outboundSchema` instead. */
495
- const outboundSchema: z.ZodType<CreateApplicationData2$Outbound, z.ZodTypeDef, CreateApplicationData2>;
496
- /** @deprecated use `CreateApplicationData2$Outbound` instead. */
497
- type Outbound = CreateApplicationData2$Outbound;
498
- }
499
- export declare function createApplicationData2ToJSON(createApplicationData2: CreateApplicationData2): string;
500
- export declare function createApplicationData2FromJSON(jsonString: string): SafeParseResult<CreateApplicationData2, SDKValidationError>;
501
- /** @internal */
502
- export declare const CreateApplicationDataApplicationsResponse201Type$inboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsResponse201Type>;
503
- /** @internal */
504
- export declare const CreateApplicationDataApplicationsResponse201Type$outboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsResponse201Type>;
505
- /**
506
- * @internal
507
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
508
- */
509
- export declare namespace CreateApplicationDataApplicationsResponse201Type$ {
510
- /** @deprecated use `CreateApplicationDataApplicationsResponse201Type$inboundSchema` instead. */
511
- const inboundSchema: z.ZodNativeEnum<{
512
- readonly Assets: "assets";
513
- }>;
514
- /** @deprecated use `CreateApplicationDataApplicationsResponse201Type$outboundSchema` instead. */
515
- const outboundSchema: z.ZodNativeEnum<{
516
- readonly Assets: "assets";
517
- }>;
518
- }
519
- /** @internal */
520
- export declare const CreateApplicationData1$inboundSchema: z.ZodType<CreateApplicationData1, z.ZodTypeDef, unknown>;
521
- /** @internal */
522
- export type CreateApplicationData1$Outbound = {
523
- type: string;
524
- id: string;
525
- };
526
- /** @internal */
527
- export declare const CreateApplicationData1$outboundSchema: z.ZodType<CreateApplicationData1$Outbound, z.ZodTypeDef, CreateApplicationData1>;
528
- /**
529
- * @internal
530
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
531
- */
532
- export declare namespace CreateApplicationData1$ {
533
- /** @deprecated use `CreateApplicationData1$inboundSchema` instead. */
534
- const inboundSchema: z.ZodType<CreateApplicationData1, z.ZodTypeDef, unknown>;
535
- /** @deprecated use `CreateApplicationData1$outboundSchema` instead. */
536
- const outboundSchema: z.ZodType<CreateApplicationData1$Outbound, z.ZodTypeDef, CreateApplicationData1>;
537
- /** @deprecated use `CreateApplicationData1$Outbound` instead. */
538
- type Outbound = CreateApplicationData1$Outbound;
539
- }
540
- export declare function createApplicationData1ToJSON(createApplicationData1: CreateApplicationData1): string;
541
- export declare function createApplicationData1FromJSON(jsonString: string): SafeParseResult<CreateApplicationData1, SDKValidationError>;
542
- /** @internal */
543
- export declare const CreateApplicationApplicationsData$inboundSchema: z.ZodType<CreateApplicationApplicationsData, z.ZodTypeDef, unknown>;
544
- /** @internal */
545
- export type CreateApplicationApplicationsData$Outbound = CreateApplicationData1$Outbound | Array<CreateApplicationData2$Outbound>;
546
- /** @internal */
547
- export declare const CreateApplicationApplicationsData$outboundSchema: z.ZodType<CreateApplicationApplicationsData$Outbound, z.ZodTypeDef, CreateApplicationApplicationsData>;
548
- /**
549
- * @internal
550
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
551
- */
552
- export declare namespace CreateApplicationApplicationsData$ {
553
- /** @deprecated use `CreateApplicationApplicationsData$inboundSchema` instead. */
554
- const inboundSchema: z.ZodType<CreateApplicationApplicationsData, z.ZodTypeDef, unknown>;
555
- /** @deprecated use `CreateApplicationApplicationsData$outboundSchema` instead. */
556
- const outboundSchema: z.ZodType<CreateApplicationApplicationsData$Outbound, z.ZodTypeDef, CreateApplicationApplicationsData>;
557
- /** @deprecated use `CreateApplicationApplicationsData$Outbound` instead. */
558
- type Outbound = CreateApplicationApplicationsData$Outbound;
559
- }
560
- export declare function createApplicationApplicationsDataToJSON(createApplicationApplicationsData: CreateApplicationApplicationsData): string;
561
- export declare function createApplicationApplicationsDataFromJSON(jsonString: string): SafeParseResult<CreateApplicationApplicationsData, SDKValidationError>;
562
- /** @internal */
563
- export declare const Asset$inboundSchema: z.ZodType<Asset, z.ZodTypeDef, unknown>;
564
- /** @internal */
565
- export type Asset$Outbound = {
566
- data: CreateApplicationData1$Outbound | Array<CreateApplicationData2$Outbound> | null;
567
- links?: components.Links$Outbound | undefined;
568
- meta?: {
569
- [k: string]: any;
570
- } | undefined;
571
- };
572
- /** @internal */
573
- export declare const Asset$outboundSchema: z.ZodType<Asset$Outbound, z.ZodTypeDef, Asset>;
574
- /**
575
- * @internal
576
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
577
- */
578
- export declare namespace Asset$ {
579
- /** @deprecated use `Asset$inboundSchema` instead. */
580
- const inboundSchema: z.ZodType<Asset, z.ZodTypeDef, unknown>;
581
- /** @deprecated use `Asset$outboundSchema` instead. */
582
- const outboundSchema: z.ZodType<Asset$Outbound, z.ZodTypeDef, Asset>;
583
- /** @deprecated use `Asset$Outbound` instead. */
584
- type Outbound = Asset$Outbound;
585
- }
586
- export declare function assetToJSON(asset: Asset): string;
587
- export declare function assetFromJSON(jsonString: string): SafeParseResult<Asset, SDKValidationError>;
588
- /** @internal */
589
- export declare const CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyDataType$inboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyDataType>;
590
- /** @internal */
591
- export declare const CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyDataType$outboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyDataType>;
592
- /**
593
- * @internal
594
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
595
- */
596
- export declare namespace CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyDataType$ {
597
- /** @deprecated use `CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyDataType$inboundSchema` instead. */
598
- const inboundSchema: z.ZodNativeEnum<{
599
- readonly Entities: "entities";
600
- }>;
601
- /** @deprecated use `CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyDataType$outboundSchema` instead. */
602
- const outboundSchema: z.ZodNativeEnum<{
603
- readonly Entities: "entities";
604
- }>;
605
- }
606
- /** @internal */
607
- export declare const CreateApplicationDataApplications2$inboundSchema: z.ZodType<CreateApplicationDataApplications2, z.ZodTypeDef, unknown>;
608
- /** @internal */
609
- export type CreateApplicationDataApplications2$Outbound = {
610
- type: string;
611
- id: string;
612
- };
613
- /** @internal */
614
- export declare const CreateApplicationDataApplications2$outboundSchema: z.ZodType<CreateApplicationDataApplications2$Outbound, z.ZodTypeDef, CreateApplicationDataApplications2>;
615
- /**
616
- * @internal
617
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
618
- */
619
- export declare namespace CreateApplicationDataApplications2$ {
620
- /** @deprecated use `CreateApplicationDataApplications2$inboundSchema` instead. */
621
- const inboundSchema: z.ZodType<CreateApplicationDataApplications2, z.ZodTypeDef, unknown>;
622
- /** @deprecated use `CreateApplicationDataApplications2$outboundSchema` instead. */
623
- const outboundSchema: z.ZodType<CreateApplicationDataApplications2$Outbound, z.ZodTypeDef, CreateApplicationDataApplications2>;
624
- /** @deprecated use `CreateApplicationDataApplications2$Outbound` instead. */
625
- type Outbound = CreateApplicationDataApplications2$Outbound;
626
- }
627
- export declare function createApplicationDataApplications2ToJSON(createApplicationDataApplications2: CreateApplicationDataApplications2): string;
628
- export declare function createApplicationDataApplications2FromJSON(jsonString: string): SafeParseResult<CreateApplicationDataApplications2, SDKValidationError>;
629
- /** @internal */
630
- export declare const CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyType>;
631
- /** @internal */
632
- export declare const CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyType>;
633
- /**
634
- * @internal
635
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
636
- */
637
- export declare namespace CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyType$ {
638
- /** @deprecated use `CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyType$inboundSchema` instead. */
639
- const inboundSchema: z.ZodNativeEnum<{
640
- readonly Entities: "entities";
641
- }>;
642
- /** @deprecated use `CreateApplicationDataApplicationsResponse201ApplicationJSONResponseBodyType$outboundSchema` instead. */
643
- const outboundSchema: z.ZodNativeEnum<{
644
- readonly Entities: "entities";
645
- }>;
646
- }
647
- /** @internal */
648
- export declare const CreateApplicationDataApplications1$inboundSchema: z.ZodType<CreateApplicationDataApplications1, z.ZodTypeDef, unknown>;
649
- /** @internal */
650
- export type CreateApplicationDataApplications1$Outbound = {
651
- type: string;
652
- id: string;
653
- };
654
- /** @internal */
655
- export declare const CreateApplicationDataApplications1$outboundSchema: z.ZodType<CreateApplicationDataApplications1$Outbound, z.ZodTypeDef, CreateApplicationDataApplications1>;
656
- /**
657
- * @internal
658
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
659
- */
660
- export declare namespace CreateApplicationDataApplications1$ {
661
- /** @deprecated use `CreateApplicationDataApplications1$inboundSchema` instead. */
662
- const inboundSchema: z.ZodType<CreateApplicationDataApplications1, z.ZodTypeDef, unknown>;
663
- /** @deprecated use `CreateApplicationDataApplications1$outboundSchema` instead. */
664
- const outboundSchema: z.ZodType<CreateApplicationDataApplications1$Outbound, z.ZodTypeDef, CreateApplicationDataApplications1>;
665
- /** @deprecated use `CreateApplicationDataApplications1$Outbound` instead. */
666
- type Outbound = CreateApplicationDataApplications1$Outbound;
667
- }
668
- export declare function createApplicationDataApplications1ToJSON(createApplicationDataApplications1: CreateApplicationDataApplications1): string;
669
- export declare function createApplicationDataApplications1FromJSON(jsonString: string): SafeParseResult<CreateApplicationDataApplications1, SDKValidationError>;
670
- /** @internal */
671
- export declare const CreateApplicationApplicationsResponseData$inboundSchema: z.ZodType<CreateApplicationApplicationsResponseData, z.ZodTypeDef, unknown>;
672
- /** @internal */
673
- export type CreateApplicationApplicationsResponseData$Outbound = CreateApplicationDataApplications1$Outbound | Array<CreateApplicationDataApplications2$Outbound>;
674
- /** @internal */
675
- export declare const CreateApplicationApplicationsResponseData$outboundSchema: z.ZodType<CreateApplicationApplicationsResponseData$Outbound, z.ZodTypeDef, CreateApplicationApplicationsResponseData>;
676
- /**
677
- * @internal
678
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
679
- */
680
- export declare namespace CreateApplicationApplicationsResponseData$ {
681
- /** @deprecated use `CreateApplicationApplicationsResponseData$inboundSchema` instead. */
682
- const inboundSchema: z.ZodType<CreateApplicationApplicationsResponseData, z.ZodTypeDef, unknown>;
683
- /** @deprecated use `CreateApplicationApplicationsResponseData$outboundSchema` instead. */
684
- const outboundSchema: z.ZodType<CreateApplicationApplicationsResponseData$Outbound, z.ZodTypeDef, CreateApplicationApplicationsResponseData>;
685
- /** @deprecated use `CreateApplicationApplicationsResponseData$Outbound` instead. */
686
- type Outbound = CreateApplicationApplicationsResponseData$Outbound;
687
- }
688
- export declare function createApplicationApplicationsResponseDataToJSON(createApplicationApplicationsResponseData: CreateApplicationApplicationsResponseData): string;
689
- export declare function createApplicationApplicationsResponseDataFromJSON(jsonString: string): SafeParseResult<CreateApplicationApplicationsResponseData, SDKValidationError>;
690
- /** @internal */
691
- export declare const Entities$inboundSchema: z.ZodType<Entities, z.ZodTypeDef, unknown>;
692
- /** @internal */
693
- export type Entities$Outbound = {
694
- data: CreateApplicationDataApplications1$Outbound | Array<CreateApplicationDataApplications2$Outbound> | null;
695
- links?: components.Links$Outbound | undefined;
696
- meta?: {
697
- [k: string]: any;
698
- } | undefined;
699
- };
700
- /** @internal */
701
- export declare const Entities$outboundSchema: z.ZodType<Entities$Outbound, z.ZodTypeDef, Entities>;
702
- /**
703
- * @internal
704
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
705
- */
706
- export declare namespace Entities$ {
707
- /** @deprecated use `Entities$inboundSchema` instead. */
708
- const inboundSchema: z.ZodType<Entities, z.ZodTypeDef, unknown>;
709
- /** @deprecated use `Entities$outboundSchema` instead. */
710
- const outboundSchema: z.ZodType<Entities$Outbound, z.ZodTypeDef, Entities>;
711
- /** @deprecated use `Entities$Outbound` instead. */
712
- type Outbound = Entities$Outbound;
713
- }
714
- export declare function entitiesToJSON(entities: Entities): string;
715
- export declare function entitiesFromJSON(jsonString: string): SafeParseResult<Entities, SDKValidationError>;
716
- /** @internal */
717
- export declare const Relationships$inboundSchema: z.ZodType<Relationships, z.ZodTypeDef, unknown>;
718
- /** @internal */
719
- export type Relationships$Outbound = {
720
- loanDetails?: LoanDetails$Outbound | undefined;
721
- customers?: Customers$Outbound | undefined;
722
- asset?: Asset$Outbound | undefined;
723
- entities?: Entities$Outbound | undefined;
724
- };
725
- /** @internal */
726
- export declare const Relationships$outboundSchema: z.ZodType<Relationships$Outbound, z.ZodTypeDef, Relationships>;
727
- /**
728
- * @internal
729
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
730
- */
731
- export declare namespace Relationships$ {
732
- /** @deprecated use `Relationships$inboundSchema` instead. */
733
- const inboundSchema: z.ZodType<Relationships, z.ZodTypeDef, unknown>;
734
- /** @deprecated use `Relationships$outboundSchema` instead. */
735
- const outboundSchema: z.ZodType<Relationships$Outbound, z.ZodTypeDef, Relationships>;
736
- /** @deprecated use `Relationships$Outbound` instead. */
737
- type Outbound = Relationships$Outbound;
738
- }
739
- export declare function relationshipsToJSON(relationships: Relationships): string;
740
- export declare function relationshipsFromJSON(jsonString: string): SafeParseResult<Relationships, SDKValidationError>;
741
- /** @internal */
742
39
  export declare const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown>;
743
40
  /** @internal */
744
- export type Data$Outbound = {
745
- type: string;
746
- id: string;
747
- attributes?: components.ApplicationAttributes$Outbound | undefined;
748
- relationships?: Relationships$Outbound | undefined;
749
- links?: components.Links$Outbound | undefined;
750
- meta?: {
751
- [k: string]: any;
752
- } | undefined;
753
- };
41
+ export type Data$Outbound = components.CommercialSecuredLoanApplicationSubmissionPayload$Outbound | components.ConsumerSecuredLoanApplicationSubmissionPayload$Outbound;
754
42
  /** @internal */
755
43
  export declare const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data>;
756
44
  /**
@@ -768,6 +56,28 @@ export declare namespace Data$ {
768
56
  export declare function dataToJSON(data: Data): string;
769
57
  export declare function dataFromJSON(jsonString: string): SafeParseResult<Data, SDKValidationError>;
770
58
  /** @internal */
59
+ export declare const CreateApplicationRequestBody$inboundSchema: z.ZodType<CreateApplicationRequestBody, z.ZodTypeDef, unknown>;
60
+ /** @internal */
61
+ export type CreateApplicationRequestBody$Outbound = {
62
+ data: components.CommercialSecuredLoanApplicationSubmissionPayload$Outbound | components.ConsumerSecuredLoanApplicationSubmissionPayload$Outbound;
63
+ };
64
+ /** @internal */
65
+ export declare const CreateApplicationRequestBody$outboundSchema: z.ZodType<CreateApplicationRequestBody$Outbound, z.ZodTypeDef, CreateApplicationRequestBody>;
66
+ /**
67
+ * @internal
68
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
69
+ */
70
+ export declare namespace CreateApplicationRequestBody$ {
71
+ /** @deprecated use `CreateApplicationRequestBody$inboundSchema` instead. */
72
+ const inboundSchema: z.ZodType<CreateApplicationRequestBody, z.ZodTypeDef, unknown>;
73
+ /** @deprecated use `CreateApplicationRequestBody$outboundSchema` instead. */
74
+ const outboundSchema: z.ZodType<CreateApplicationRequestBody$Outbound, z.ZodTypeDef, CreateApplicationRequestBody>;
75
+ /** @deprecated use `CreateApplicationRequestBody$Outbound` instead. */
76
+ type Outbound = CreateApplicationRequestBody$Outbound;
77
+ }
78
+ export declare function createApplicationRequestBodyToJSON(createApplicationRequestBody: CreateApplicationRequestBody): string;
79
+ export declare function createApplicationRequestBodyFromJSON(jsonString: string): SafeParseResult<CreateApplicationRequestBody, SDKValidationError>;
80
+ /** @internal */
771
81
  export declare const Attributes$inboundSchema: z.ZodType<Attributes, z.ZodTypeDef, unknown>;
772
82
  /** @internal */
773
83
  export type Attributes$Outbound = {};
@@ -788,97 +98,45 @@ export declare namespace Attributes$ {
788
98
  export declare function attributesToJSON(attributes: Attributes): string;
789
99
  export declare function attributesFromJSON(jsonString: string): SafeParseResult<Attributes, SDKValidationError>;
790
100
  /** @internal */
791
- export declare const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
792
- /** @internal */
793
- export type Two$Outbound = {
794
- type: string;
795
- id: string;
796
- };
797
- /** @internal */
798
- export declare const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
799
- /**
800
- * @internal
801
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
802
- */
803
- export declare namespace Two$ {
804
- /** @deprecated use `Two$inboundSchema` instead. */
805
- const inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
806
- /** @deprecated use `Two$outboundSchema` instead. */
807
- const outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
808
- /** @deprecated use `Two$Outbound` instead. */
809
- type Outbound = Two$Outbound;
810
- }
811
- export declare function twoToJSON(two: Two): string;
812
- export declare function twoFromJSON(jsonString: string): SafeParseResult<Two, SDKValidationError>;
813
- /** @internal */
814
- export declare const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
815
- /** @internal */
816
- export type One$Outbound = {
817
- type: string;
818
- id: string;
819
- };
820
- /** @internal */
821
- export declare const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
822
- /**
823
- * @internal
824
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
825
- */
826
- export declare namespace One$ {
827
- /** @deprecated use `One$inboundSchema` instead. */
828
- const inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
829
- /** @deprecated use `One$outboundSchema` instead. */
830
- const outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
831
- /** @deprecated use `One$Outbound` instead. */
832
- type Outbound = One$Outbound;
833
- }
834
- export declare function oneToJSON(one: One): string;
835
- export declare function oneFromJSON(jsonString: string): SafeParseResult<One, SDKValidationError>;
836
- /** @internal */
837
- export declare const CreateApplicationData$inboundSchema: z.ZodType<CreateApplicationData, z.ZodTypeDef, unknown>;
101
+ export declare const Relationships$inboundSchema: z.ZodType<Relationships, z.ZodTypeDef, unknown>;
838
102
  /** @internal */
839
- export type CreateApplicationData$Outbound = One$Outbound | Array<Two$Outbound>;
103
+ export type Relationships$Outbound = {};
840
104
  /** @internal */
841
- export declare const CreateApplicationData$outboundSchema: z.ZodType<CreateApplicationData$Outbound, z.ZodTypeDef, CreateApplicationData>;
105
+ export declare const Relationships$outboundSchema: z.ZodType<Relationships$Outbound, z.ZodTypeDef, Relationships>;
842
106
  /**
843
107
  * @internal
844
108
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
845
109
  */
846
- export declare namespace CreateApplicationData$ {
847
- /** @deprecated use `CreateApplicationData$inboundSchema` instead. */
848
- const inboundSchema: z.ZodType<CreateApplicationData, z.ZodTypeDef, unknown>;
849
- /** @deprecated use `CreateApplicationData$outboundSchema` instead. */
850
- const outboundSchema: z.ZodType<CreateApplicationData$Outbound, z.ZodTypeDef, CreateApplicationData>;
851
- /** @deprecated use `CreateApplicationData$Outbound` instead. */
852
- type Outbound = CreateApplicationData$Outbound;
110
+ export declare namespace Relationships$ {
111
+ /** @deprecated use `Relationships$inboundSchema` instead. */
112
+ const inboundSchema: z.ZodType<Relationships, z.ZodTypeDef, unknown>;
113
+ /** @deprecated use `Relationships$outboundSchema` instead. */
114
+ const outboundSchema: z.ZodType<Relationships$Outbound, z.ZodTypeDef, Relationships>;
115
+ /** @deprecated use `Relationships$Outbound` instead. */
116
+ type Outbound = Relationships$Outbound;
853
117
  }
854
- export declare function createApplicationDataToJSON(createApplicationData: CreateApplicationData): string;
855
- export declare function createApplicationDataFromJSON(jsonString: string): SafeParseResult<CreateApplicationData, SDKValidationError>;
118
+ export declare function relationshipsToJSON(relationships: Relationships): string;
119
+ export declare function relationshipsFromJSON(jsonString: string): SafeParseResult<Relationships, SDKValidationError>;
856
120
  /** @internal */
857
- export declare const CreateApplicationRelationships$inboundSchema: z.ZodType<CreateApplicationRelationships, z.ZodTypeDef, unknown>;
121
+ export declare const Links$inboundSchema: z.ZodType<Links, z.ZodTypeDef, unknown>;
858
122
  /** @internal */
859
- export type CreateApplicationRelationships$Outbound = {
860
- data: One$Outbound | Array<Two$Outbound> | null;
861
- links?: components.Links$Outbound | undefined;
862
- meta?: {
863
- [k: string]: any;
864
- } | undefined;
865
- };
123
+ export type Links$Outbound = {};
866
124
  /** @internal */
867
- export declare const CreateApplicationRelationships$outboundSchema: z.ZodType<CreateApplicationRelationships$Outbound, z.ZodTypeDef, CreateApplicationRelationships>;
125
+ export declare const Links$outboundSchema: z.ZodType<Links$Outbound, z.ZodTypeDef, Links>;
868
126
  /**
869
127
  * @internal
870
128
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
871
129
  */
872
- export declare namespace CreateApplicationRelationships$ {
873
- /** @deprecated use `CreateApplicationRelationships$inboundSchema` instead. */
874
- const inboundSchema: z.ZodType<CreateApplicationRelationships, z.ZodTypeDef, unknown>;
875
- /** @deprecated use `CreateApplicationRelationships$outboundSchema` instead. */
876
- const outboundSchema: z.ZodType<CreateApplicationRelationships$Outbound, z.ZodTypeDef, CreateApplicationRelationships>;
877
- /** @deprecated use `CreateApplicationRelationships$Outbound` instead. */
878
- type Outbound = CreateApplicationRelationships$Outbound;
130
+ export declare namespace Links$ {
131
+ /** @deprecated use `Links$inboundSchema` instead. */
132
+ const inboundSchema: z.ZodType<Links, z.ZodTypeDef, unknown>;
133
+ /** @deprecated use `Links$outboundSchema` instead. */
134
+ const outboundSchema: z.ZodType<Links$Outbound, z.ZodTypeDef, Links>;
135
+ /** @deprecated use `Links$Outbound` instead. */
136
+ type Outbound = Links$Outbound;
879
137
  }
880
- export declare function createApplicationRelationshipsToJSON(createApplicationRelationships: CreateApplicationRelationships): string;
881
- export declare function createApplicationRelationshipsFromJSON(jsonString: string): SafeParseResult<CreateApplicationRelationships, SDKValidationError>;
138
+ export declare function linksToJSON(links: Links): string;
139
+ export declare function linksFromJSON(jsonString: string): SafeParseResult<Links, SDKValidationError>;
882
140
  /** @internal */
883
141
  export declare const Included$inboundSchema: z.ZodType<Included, z.ZodTypeDef, unknown>;
884
142
  /** @internal */
@@ -886,10 +144,10 @@ export type Included$Outbound = {
886
144
  type: string;
887
145
  id: string;
888
146
  attributes?: Attributes$Outbound | undefined;
889
- relationships?: {
890
- [k: string]: CreateApplicationRelationships$Outbound;
147
+ relationships: Relationships$Outbound;
148
+ links?: {
149
+ [k: string]: Links$Outbound;
891
150
  } | undefined;
892
- links?: components.Links$Outbound | undefined;
893
151
  meta?: {
894
152
  [k: string]: any;
895
153
  } | undefined;
@@ -914,9 +172,9 @@ export declare function includedFromJSON(jsonString: string): SafeParseResult<In
914
172
  export declare const CreateApplicationResponseBody$inboundSchema: z.ZodType<CreateApplicationResponseBody, z.ZodTypeDef, unknown>;
915
173
  /** @internal */
916
174
  export type CreateApplicationResponseBody$Outbound = {
917
- data: Data$Outbound;
175
+ data: components.ApplicationResource$Outbound;
918
176
  included?: Array<Included$Outbound> | undefined;
919
- links?: components.Links$Outbound | undefined;
177
+ links?: components.LinkObject$Outbound | undefined;
920
178
  };
921
179
  /** @internal */
922
180
  export declare const CreateApplicationResponseBody$outboundSchema: z.ZodType<CreateApplicationResponseBody$Outbound, z.ZodTypeDef, CreateApplicationResponseBody>;