@financeable/aggregation 0.2.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 (394) hide show
  1. package/.devcontainer/README.md +35 -0
  2. package/.devcontainer/devcontainer.json +45 -0
  3. package/FUNCTIONS.md +225 -0
  4. package/README.md +967 -0
  5. package/RUNTIMES.md +48 -0
  6. package/core.d.ts +10 -0
  7. package/core.d.ts.map +1 -0
  8. package/core.js +17 -0
  9. package/core.js.map +1 -0
  10. package/docs/sdks/applications/README.md +467 -0
  11. package/docs/sdks/financeable/README.md +5 -0
  12. package/financeable-typescript/.devcontainer/README.md +30 -0
  13. package/financeable-typescript/FUNCTIONS.md +205 -0
  14. package/financeable-typescript/README.md +895 -0
  15. package/financeable-typescript/RUNTIMES.md +22 -0
  16. package/financeable-typescript/docs/sdks/applications/README.md +427 -0
  17. package/financeable-typescript/docs/sdks/financeable/README.md +5 -0
  18. package/financeable-typescript/src/core.ts +13 -0
  19. package/financeable-typescript/src/funcs/applicationsCreate.ts +124 -0
  20. package/financeable-typescript/src/funcs/applicationsGet.ts +128 -0
  21. package/financeable-typescript/src/funcs/applicationsList.ts +126 -0
  22. package/financeable-typescript/src/hooks/hooks.ts +129 -0
  23. package/financeable-typescript/src/hooks/index.ts +6 -0
  24. package/financeable-typescript/src/hooks/types.ts +109 -0
  25. package/financeable-typescript/src/index.ts +7 -0
  26. package/financeable-typescript/src/lib/base64.ts +37 -0
  27. package/financeable-typescript/src/lib/config.ts +59 -0
  28. package/financeable-typescript/src/lib/dlv.ts +53 -0
  29. package/financeable-typescript/src/lib/encodings.ts +449 -0
  30. package/financeable-typescript/src/lib/env.ts +37 -0
  31. package/financeable-typescript/src/lib/files.ts +40 -0
  32. package/financeable-typescript/src/lib/http.ts +323 -0
  33. package/financeable-typescript/src/lib/is-plain-object.ts +43 -0
  34. package/financeable-typescript/src/lib/logger.ts +9 -0
  35. package/financeable-typescript/src/lib/matchers.ts +322 -0
  36. package/financeable-typescript/src/lib/primitives.ts +122 -0
  37. package/financeable-typescript/src/lib/retries.ts +219 -0
  38. package/financeable-typescript/src/lib/schemas.ts +86 -0
  39. package/financeable-typescript/src/lib/sdks.ts +392 -0
  40. package/financeable-typescript/src/lib/security.ts +227 -0
  41. package/financeable-typescript/src/lib/url.ts +33 -0
  42. package/financeable-typescript/src/models/components/addressattributes.ts +148 -0
  43. package/financeable-typescript/src/models/components/apierrorlinks.ts +65 -0
  44. package/financeable-typescript/src/models/components/applicationattributes.ts +128 -0
  45. package/financeable-typescript/src/models/components/applicationattributescreate.ts +90 -0
  46. package/financeable-typescript/src/models/components/applicationresourcebulksubmission.ts +1000 -0
  47. package/financeable-typescript/src/models/components/applicationstatus.ts +39 -0
  48. package/financeable-typescript/src/models/components/applicationtype.ts +33 -0
  49. package/financeable-typescript/src/models/components/assetattributes.ts +400 -0
  50. package/financeable-typescript/src/models/components/customerattributes.ts +171 -0
  51. package/financeable-typescript/src/models/components/customertitle.ts +35 -0
  52. package/financeable-typescript/src/models/components/errorsource.ts +79 -0
  53. package/financeable-typescript/src/models/components/forbiddenerror.ts +207 -0
  54. package/financeable-typescript/src/models/components/frequencytype.ts +40 -0
  55. package/financeable-typescript/src/models/components/index.ts +20 -0
  56. package/financeable-typescript/src/models/components/links.ts +72 -0
  57. package/financeable-typescript/src/models/components/loandetailsattributes.ts +187 -0
  58. package/financeable-typescript/src/models/components/repaymentstructure.ts +40 -0
  59. package/financeable-typescript/src/models/errors/apierror.ts +27 -0
  60. package/financeable-typescript/src/models/errors/createapplication.ts +76 -0
  61. package/financeable-typescript/src/models/errors/getapplication.ts +76 -0
  62. package/financeable-typescript/src/models/errors/getapplications.ts +76 -0
  63. package/financeable-typescript/src/models/errors/httpclienterrors.ts +62 -0
  64. package/financeable-typescript/src/models/errors/index.ts +10 -0
  65. package/financeable-typescript/src/models/errors/sdkvalidationerror.ts +97 -0
  66. package/financeable-typescript/src/models/operations/createapplication.ts +1649 -0
  67. package/financeable-typescript/src/models/operations/getapplication.ts +1829 -0
  68. package/financeable-typescript/src/models/operations/getapplications.ts +1790 -0
  69. package/financeable-typescript/src/models/operations/index.ts +7 -0
  70. package/financeable-typescript/src/sdk/applications.ts +55 -0
  71. package/financeable-typescript/src/sdk/index.ts +5 -0
  72. package/financeable-typescript/src/sdk/sdk.ts +13 -0
  73. package/financeable-typescript/src/types/blobs.ts +31 -0
  74. package/financeable-typescript/src/types/constdatetime.ts +15 -0
  75. package/financeable-typescript/src/types/enums.ts +16 -0
  76. package/financeable-typescript/src/types/fp.ts +50 -0
  77. package/financeable-typescript/src/types/index.ts +11 -0
  78. package/financeable-typescript/src/types/operations.ts +105 -0
  79. package/financeable-typescript/src/types/rfcdate.ts +54 -0
  80. package/financeable-typescript/src/types/streams.ts +21 -0
  81. package/funcs/applicationsCreate.d.ts +14 -0
  82. package/funcs/applicationsCreate.d.ts.map +1 -0
  83. package/funcs/applicationsCreate.js +105 -0
  84. package/funcs/applicationsCreate.js.map +1 -0
  85. package/funcs/applicationsGet.d.ts +13 -0
  86. package/funcs/applicationsGet.d.ts.map +1 -0
  87. package/funcs/applicationsGet.js +109 -0
  88. package/funcs/applicationsGet.js.map +1 -0
  89. package/funcs/applicationsList.d.ts +13 -0
  90. package/funcs/applicationsList.d.ts.map +1 -0
  91. package/funcs/applicationsList.js +107 -0
  92. package/funcs/applicationsList.js.map +1 -0
  93. package/hooks/hooks.d.ts +24 -0
  94. package/hooks/hooks.d.ts.map +1 -0
  95. package/hooks/hooks.js +84 -0
  96. package/hooks/hooks.js.map +1 -0
  97. package/hooks/index.d.ts +3 -0
  98. package/hooks/index.d.ts.map +1 -0
  99. package/hooks/index.js +22 -0
  100. package/hooks/index.js.map +1 -0
  101. package/hooks/types.d.ts +78 -0
  102. package/hooks/types.d.ts.map +1 -0
  103. package/hooks/types.js +6 -0
  104. package/hooks/types.js.map +1 -0
  105. package/index.d.ts +4 -0
  106. package/index.d.ts.map +1 -0
  107. package/index.js +46 -0
  108. package/index.js.map +1 -0
  109. package/jsr.json +27 -0
  110. package/lib/base64.d.ts +10 -0
  111. package/lib/base64.d.ts.map +1 -0
  112. package/lib/base64.js +71 -0
  113. package/lib/base64.js.map +1 -0
  114. package/lib/config.d.ts +33 -0
  115. package/lib/config.d.ts.map +1 -0
  116. package/lib/config.js +35 -0
  117. package/lib/config.js.map +1 -0
  118. package/lib/dlv.d.ts +14 -0
  119. package/lib/dlv.d.ts.map +1 -0
  120. package/lib/dlv.js +49 -0
  121. package/lib/dlv.js.map +1 -0
  122. package/lib/encodings.d.ts +52 -0
  123. package/lib/encodings.d.ts.map +1 -0
  124. package/lib/encodings.js +368 -0
  125. package/lib/encodings.js.map +1 -0
  126. package/lib/env.d.ts +14 -0
  127. package/lib/env.d.ts.map +1 -0
  128. package/lib/env.js +64 -0
  129. package/lib/env.js.map +1 -0
  130. package/lib/files.d.ts +8 -0
  131. package/lib/files.d.ts.map +1 -0
  132. package/lib/files.js +36 -0
  133. package/lib/files.js.map +1 -0
  134. package/lib/http.d.ts +67 -0
  135. package/lib/http.d.ts.map +1 -0
  136. package/lib/http.js +217 -0
  137. package/lib/http.js.map +1 -0
  138. package/lib/is-plain-object.d.ts +2 -0
  139. package/lib/is-plain-object.d.ts.map +1 -0
  140. package/lib/is-plain-object.js +41 -0
  141. package/lib/is-plain-object.js.map +1 -0
  142. package/lib/logger.d.ts +6 -0
  143. package/lib/logger.d.ts.map +1 -0
  144. package/lib/logger.js +6 -0
  145. package/lib/logger.js.map +1 -0
  146. package/lib/matchers.d.ts +64 -0
  147. package/lib/matchers.d.ts.map +1 -0
  148. package/lib/matchers.js +204 -0
  149. package/lib/matchers.js.map +1 -0
  150. package/lib/primitives.d.ts +23 -0
  151. package/lib/primitives.d.ts.map +1 -0
  152. package/lib/primitives.js +104 -0
  153. package/lib/primitives.js.map +1 -0
  154. package/lib/retries.d.ts +38 -0
  155. package/lib/retries.d.ts.map +1 -0
  156. package/lib/retries.js +153 -0
  157. package/lib/retries.js.map +1 -0
  158. package/lib/schemas.d.ts +19 -0
  159. package/lib/schemas.d.ts.map +1 -0
  160. package/lib/schemas.js +62 -0
  161. package/lib/schemas.js.map +1 -0
  162. package/lib/sdks.d.ts +60 -0
  163. package/lib/sdks.d.ts.map +1 -0
  164. package/lib/sdks.js +280 -0
  165. package/lib/sdks.js.map +1 -0
  166. package/lib/security.d.ts +79 -0
  167. package/lib/security.d.ts.map +1 -0
  168. package/lib/security.js +121 -0
  169. package/lib/security.js.map +1 -0
  170. package/lib/url.d.ts +5 -0
  171. package/lib/url.d.ts.map +1 -0
  172. package/lib/url.js +25 -0
  173. package/lib/url.js.map +1 -0
  174. package/models/components/addressattributes.d.ts +83 -0
  175. package/models/components/addressattributes.d.ts.map +1 -0
  176. package/models/components/addressattributes.js +117 -0
  177. package/models/components/addressattributes.js.map +1 -0
  178. package/models/components/apierrorlinks.d.ts +32 -0
  179. package/models/components/apierrorlinks.d.ts.map +1 -0
  180. package/models/components/apierrorlinks.js +69 -0
  181. package/models/components/apierrorlinks.js.map +1 -0
  182. package/models/components/applicationattributes.d.ts +69 -0
  183. package/models/components/applicationattributes.d.ts.map +1 -0
  184. package/models/components/applicationattributes.js +85 -0
  185. package/models/components/applicationattributes.js.map +1 -0
  186. package/models/components/applicationattributescreate.d.ts +43 -0
  187. package/models/components/applicationattributescreate.d.ts.map +1 -0
  188. package/models/components/applicationattributescreate.js +74 -0
  189. package/models/components/applicationattributescreate.js.map +1 -0
  190. package/models/components/applicationresourcebulksubmission.d.ts +456 -0
  191. package/models/components/applicationresourcebulksubmission.d.ts.map +1 -0
  192. package/models/components/applicationresourcebulksubmission.js +492 -0
  193. package/models/components/applicationresourcebulksubmission.js.map +1 -0
  194. package/models/components/applicationstatus.d.ts +46 -0
  195. package/models/components/applicationstatus.d.ts.map +1 -0
  196. package/models/components/applicationstatus.js +66 -0
  197. package/models/components/applicationstatus.js.map +1 -0
  198. package/models/components/applicationtype.d.ts +28 -0
  199. package/models/components/applicationtype.d.ts.map +1 -0
  200. package/models/components/applicationtype.js +60 -0
  201. package/models/components/applicationtype.js.map +1 -0
  202. package/models/components/assetattributes.d.ts +388 -0
  203. package/models/components/assetattributes.d.ts.map +1 -0
  204. package/models/components/assetattributes.js +244 -0
  205. package/models/components/assetattributes.js.map +1 -0
  206. package/models/components/customerattributes.d.ts +103 -0
  207. package/models/components/customerattributes.d.ts.map +1 -0
  208. package/models/components/customerattributes.js +120 -0
  209. package/models/components/customerattributes.js.map +1 -0
  210. package/models/components/customertitle.d.ts +34 -0
  211. package/models/components/customertitle.d.ts.map +1 -0
  212. package/models/components/customertitle.js +62 -0
  213. package/models/components/customertitle.js.map +1 -0
  214. package/models/components/errorsource.d.ts +42 -0
  215. package/models/components/errorsource.d.ts.map +1 -0
  216. package/models/components/errorsource.js +73 -0
  217. package/models/components/errorsource.js.map +1 -0
  218. package/models/components/forbiddenerror.d.ts +141 -0
  219. package/models/components/forbiddenerror.d.ts.map +1 -0
  220. package/models/components/forbiddenerror.js +158 -0
  221. package/models/components/forbiddenerror.js.map +1 -0
  222. package/models/components/frequencytype.d.ts +37 -0
  223. package/models/components/frequencytype.d.ts.map +1 -0
  224. package/models/components/frequencytype.js +64 -0
  225. package/models/components/frequencytype.js.map +1 -0
  226. package/models/components/index.d.ts +17 -0
  227. package/models/components/index.d.ts.map +1 -0
  228. package/models/components/index.js +36 -0
  229. package/models/components/index.js.map +1 -0
  230. package/models/components/links.d.ts +40 -0
  231. package/models/components/links.d.ts.map +1 -0
  232. package/models/components/links.js +72 -0
  233. package/models/components/links.js.map +1 -0
  234. package/models/components/loandetailsattributes.d.ts +112 -0
  235. package/models/components/loandetailsattributes.d.ts.map +1 -0
  236. package/models/components/loandetailsattributes.js +101 -0
  237. package/models/components/loandetailsattributes.js.map +1 -0
  238. package/models/components/repaymentstructure.d.ts +37 -0
  239. package/models/components/repaymentstructure.d.ts.map +1 -0
  240. package/models/components/repaymentstructure.js +64 -0
  241. package/models/components/repaymentstructure.js.map +1 -0
  242. package/models/errors/apierror.d.ts +8 -0
  243. package/models/errors/apierror.d.ts.map +1 -0
  244. package/models/errors/apierror.js +21 -0
  245. package/models/errors/apierror.js.map +1 -0
  246. package/models/errors/createapplication.d.ts +38 -0
  247. package/models/errors/createapplication.d.ts.map +1 -0
  248. package/models/errors/createapplication.js +81 -0
  249. package/models/errors/createapplication.js.map +1 -0
  250. package/models/errors/getapplication.d.ts +38 -0
  251. package/models/errors/getapplication.d.ts.map +1 -0
  252. package/models/errors/getapplication.js +81 -0
  253. package/models/errors/getapplication.js.map +1 -0
  254. package/models/errors/getapplications.d.ts +38 -0
  255. package/models/errors/getapplications.d.ts.map +1 -0
  256. package/models/errors/getapplications.js +81 -0
  257. package/models/errors/getapplications.js.map +1 -0
  258. package/models/errors/httpclienterrors.d.ts +44 -0
  259. package/models/errors/httpclienterrors.d.ts.map +1 -0
  260. package/models/errors/httpclienterrors.js +78 -0
  261. package/models/errors/httpclienterrors.js.map +1 -0
  262. package/models/errors/index.d.ts +7 -0
  263. package/models/errors/index.d.ts.map +1 -0
  264. package/models/errors/index.js +26 -0
  265. package/models/errors/index.js.map +1 -0
  266. package/models/errors/sdkvalidationerror.d.ts +20 -0
  267. package/models/errors/sdkvalidationerror.d.ts.map +1 -0
  268. package/models/errors/sdkvalidationerror.js +115 -0
  269. package/models/errors/sdkvalidationerror.js.map +1 -0
  270. package/models/operations/createapplication.d.ts +780 -0
  271. package/models/operations/createapplication.d.ts.map +1 -0
  272. package/models/operations/createapplication.js +834 -0
  273. package/models/operations/createapplication.js.map +1 -0
  274. package/models/operations/getapplication.d.ts +805 -0
  275. package/models/operations/getapplication.d.ts.map +1 -0
  276. package/models/operations/getapplication.js +861 -0
  277. package/models/operations/getapplication.js.map +1 -0
  278. package/models/operations/getapplications.d.ts +805 -0
  279. package/models/operations/getapplications.d.ts.map +1 -0
  280. package/models/operations/getapplications.js +864 -0
  281. package/models/operations/getapplications.js.map +1 -0
  282. package/models/operations/index.d.ts +4 -0
  283. package/models/operations/index.d.ts.map +1 -0
  284. package/models/operations/index.js +23 -0
  285. package/models/operations/index.js.map +1 -0
  286. package/package.json +30 -0
  287. package/sdk/applications.d.ts +18 -0
  288. package/sdk/applications.d.ts.map +1 -0
  289. package/sdk/applications.js +33 -0
  290. package/sdk/applications.js.map +1 -0
  291. package/sdk/index.d.ts +2 -0
  292. package/sdk/index.d.ts.map +1 -0
  293. package/sdk/index.js +21 -0
  294. package/sdk/index.js.map +1 -0
  295. package/sdk/sdk.d.ts +7 -0
  296. package/sdk/sdk.d.ts.map +1 -0
  297. package/sdk/sdk.js +15 -0
  298. package/sdk/sdk.js.map +1 -0
  299. package/src/core.ts +13 -0
  300. package/src/funcs/applicationsCreate.ts +128 -0
  301. package/src/funcs/applicationsGet.ts +132 -0
  302. package/src/funcs/applicationsList.ts +130 -0
  303. package/src/hooks/hooks.ts +129 -0
  304. package/src/hooks/index.ts +6 -0
  305. package/src/hooks/types.ts +110 -0
  306. package/src/index.ts +7 -0
  307. package/src/lib/base64.ts +37 -0
  308. package/src/lib/config.ts +59 -0
  309. package/src/lib/dlv.ts +53 -0
  310. package/src/lib/encodings.ts +483 -0
  311. package/src/lib/env.ts +37 -0
  312. package/src/lib/files.ts +40 -0
  313. package/src/lib/http.ts +323 -0
  314. package/src/lib/is-plain-object.ts +43 -0
  315. package/src/lib/logger.ts +9 -0
  316. package/src/lib/matchers.ts +322 -0
  317. package/src/lib/primitives.ts +136 -0
  318. package/src/lib/retries.ts +218 -0
  319. package/src/lib/schemas.ts +91 -0
  320. package/src/lib/sdks.ts +400 -0
  321. package/src/lib/security.ts +227 -0
  322. package/src/lib/url.ts +33 -0
  323. package/src/models/components/addressattributes.ts +148 -0
  324. package/src/models/components/apierrorlinks.ts +65 -0
  325. package/src/models/components/applicationattributes.ts +128 -0
  326. package/src/models/components/applicationattributescreate.ts +90 -0
  327. package/src/models/components/applicationresourcebulksubmission.ts +1000 -0
  328. package/src/models/components/applicationstatus.ts +39 -0
  329. package/src/models/components/applicationtype.ts +33 -0
  330. package/src/models/components/assetattributes.ts +400 -0
  331. package/src/models/components/customerattributes.ts +171 -0
  332. package/src/models/components/customertitle.ts +35 -0
  333. package/src/models/components/errorsource.ts +79 -0
  334. package/src/models/components/forbiddenerror.ts +207 -0
  335. package/src/models/components/frequencytype.ts +40 -0
  336. package/src/models/components/index.ts +20 -0
  337. package/src/models/components/links.ts +72 -0
  338. package/src/models/components/loandetailsattributes.ts +187 -0
  339. package/src/models/components/repaymentstructure.ts +40 -0
  340. package/src/models/errors/apierror.ts +27 -0
  341. package/src/models/errors/createapplication.ts +76 -0
  342. package/src/models/errors/getapplication.ts +76 -0
  343. package/src/models/errors/getapplications.ts +76 -0
  344. package/src/models/errors/httpclienterrors.ts +62 -0
  345. package/src/models/errors/index.ts +10 -0
  346. package/src/models/errors/sdkvalidationerror.ts +97 -0
  347. package/src/models/operations/createapplication.ts +1649 -0
  348. package/src/models/operations/getapplication.ts +1829 -0
  349. package/src/models/operations/getapplications.ts +1790 -0
  350. package/src/models/operations/index.ts +7 -0
  351. package/src/sdk/applications.ts +55 -0
  352. package/src/sdk/index.ts +5 -0
  353. package/src/sdk/sdk.ts +13 -0
  354. package/src/types/blobs.ts +31 -0
  355. package/src/types/constdatetime.ts +15 -0
  356. package/src/types/enums.ts +16 -0
  357. package/src/types/fp.ts +50 -0
  358. package/src/types/index.ts +11 -0
  359. package/src/types/operations.ts +105 -0
  360. package/src/types/rfcdate.ts +54 -0
  361. package/src/types/streams.ts +21 -0
  362. package/tsconfig.json +41 -0
  363. package/types/blobs.d.ts +4 -0
  364. package/types/blobs.d.ts.map +1 -0
  365. package/types/blobs.js +62 -0
  366. package/types/blobs.js.map +1 -0
  367. package/types/constdatetime.d.ts +3 -0
  368. package/types/constdatetime.d.ts.map +1 -0
  369. package/types/constdatetime.js +46 -0
  370. package/types/constdatetime.js.map +1 -0
  371. package/types/enums.d.ts +12 -0
  372. package/types/enums.d.ts.map +1 -0
  373. package/types/enums.js +10 -0
  374. package/types/enums.js.map +1 -0
  375. package/types/fp.d.ts +31 -0
  376. package/types/fp.d.ts.map +1 -0
  377. package/types/fp.js +37 -0
  378. package/types/fp.js.map +1 -0
  379. package/types/index.d.ts +8 -0
  380. package/types/index.d.ts.map +1 -0
  381. package/types/index.js +16 -0
  382. package/types/index.js.map +1 -0
  383. package/types/operations.d.ts +27 -0
  384. package/types/operations.d.ts.map +1 -0
  385. package/types/operations.js +83 -0
  386. package/types/operations.js.map +1 -0
  387. package/types/rfcdate.d.ts +21 -0
  388. package/types/rfcdate.d.ts.map +1 -0
  389. package/types/rfcdate.js +46 -0
  390. package/types/rfcdate.js.map +1 -0
  391. package/types/streams.d.ts +2 -0
  392. package/types/streams.d.ts.map +1 -0
  393. package/types/streams.js +18 -0
  394. package/types/streams.js.map +1 -0
@@ -0,0 +1,780 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import * as components from "../components/index.js";
5
+ 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 CreateApplicationDataApplications2 = {
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 CreateApplicationDataApplications1 = {
23
+ type: DataType;
24
+ id: string;
25
+ };
26
+ export type CreateApplicationApplicationsResponseData = CreateApplicationDataApplications1 | Array<CreateApplicationDataApplications2>;
27
+ export type LoanDetails = {
28
+ data: CreateApplicationDataApplications1 | Array<CreateApplicationDataApplications2> | 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 CreateApplicationDataApplicationsResponse2 = {
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 CreateApplicationDataApplicationsResponse1 = {
50
+ type: CreateApplicationDataApplicationsType;
51
+ id: string;
52
+ };
53
+ export type CreateApplicationApplicationsResponse201Data = CreateApplicationDataApplicationsResponse1 | Array<CreateApplicationDataApplicationsResponse2>;
54
+ export type Customers = {
55
+ data: CreateApplicationDataApplicationsResponse1 | Array<CreateApplicationDataApplicationsResponse2> | 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 Asset: "asset";
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 Asset: "asset";
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 type Relationships = {
92
+ loanDetails?: LoanDetails | undefined;
93
+ customers?: Customers | undefined;
94
+ asset?: Asset | undefined;
95
+ };
96
+ export type Data = {
97
+ type: Type;
98
+ id: string;
99
+ /**
100
+ * Application resource attributes
101
+ */
102
+ attributes?: components.ApplicationAttributes | undefined;
103
+ relationships?: Relationships | undefined;
104
+ /**
105
+ * Standard link object
106
+ */
107
+ links?: components.Links | undefined;
108
+ meta?: {
109
+ [k: string]: any;
110
+ } | undefined;
111
+ };
112
+ export type Attributes = {};
113
+ export type Two = {
114
+ type: string;
115
+ id: string;
116
+ };
117
+ export type One = {
118
+ type: string;
119
+ id: string;
120
+ };
121
+ export type CreateApplicationData = One | Array<Two>;
122
+ export type CreateApplicationRelationships = {
123
+ data: One | Array<Two> | null;
124
+ /**
125
+ * Standard link object
126
+ */
127
+ links?: components.Links | undefined;
128
+ meta?: {
129
+ [k: string]: any;
130
+ } | undefined;
131
+ };
132
+ export type Included = {
133
+ type: string;
134
+ id: string;
135
+ attributes?: Attributes | undefined;
136
+ relationships?: {
137
+ [k: string]: CreateApplicationRelationships;
138
+ } | undefined;
139
+ /**
140
+ * Standard link object
141
+ */
142
+ links?: components.Links | undefined;
143
+ meta?: {
144
+ [k: string]: any;
145
+ } | undefined;
146
+ };
147
+ /**
148
+ * The request has succeeded and a new resource has been created as a result.
149
+ */
150
+ export type CreateApplicationResponseBody = {
151
+ data: Data;
152
+ included?: Array<Included> | undefined;
153
+ /**
154
+ * Standard link object
155
+ */
156
+ links?: components.Links | undefined;
157
+ };
158
+ /** @internal */
159
+ export declare const Type$inboundSchema: z.ZodNativeEnum<typeof Type>;
160
+ /** @internal */
161
+ export declare const Type$outboundSchema: z.ZodNativeEnum<typeof Type>;
162
+ /**
163
+ * @internal
164
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
165
+ */
166
+ export declare namespace Type$ {
167
+ /** @deprecated use `Type$inboundSchema` instead. */
168
+ const inboundSchema: z.ZodNativeEnum<{
169
+ readonly Applications: "applications";
170
+ }>;
171
+ /** @deprecated use `Type$outboundSchema` instead. */
172
+ const outboundSchema: z.ZodNativeEnum<{
173
+ readonly Applications: "applications";
174
+ }>;
175
+ }
176
+ /** @internal */
177
+ export declare const CreateApplicationDataType$inboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataType>;
178
+ /** @internal */
179
+ export declare const CreateApplicationDataType$outboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataType>;
180
+ /**
181
+ * @internal
182
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
183
+ */
184
+ export declare namespace CreateApplicationDataType$ {
185
+ /** @deprecated use `CreateApplicationDataType$inboundSchema` instead. */
186
+ const inboundSchema: z.ZodNativeEnum<{
187
+ readonly LoanDetails: "loan-details";
188
+ }>;
189
+ /** @deprecated use `CreateApplicationDataType$outboundSchema` instead. */
190
+ const outboundSchema: z.ZodNativeEnum<{
191
+ readonly LoanDetails: "loan-details";
192
+ }>;
193
+ }
194
+ /** @internal */
195
+ export declare const CreateApplicationDataApplications2$inboundSchema: z.ZodType<CreateApplicationDataApplications2, z.ZodTypeDef, unknown>;
196
+ /** @internal */
197
+ export type CreateApplicationDataApplications2$Outbound = {
198
+ type: string;
199
+ id: string;
200
+ };
201
+ /** @internal */
202
+ export declare const CreateApplicationDataApplications2$outboundSchema: z.ZodType<CreateApplicationDataApplications2$Outbound, z.ZodTypeDef, CreateApplicationDataApplications2>;
203
+ /**
204
+ * @internal
205
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
206
+ */
207
+ export declare namespace CreateApplicationDataApplications2$ {
208
+ /** @deprecated use `CreateApplicationDataApplications2$inboundSchema` instead. */
209
+ const inboundSchema: z.ZodType<CreateApplicationDataApplications2, z.ZodTypeDef, unknown>;
210
+ /** @deprecated use `CreateApplicationDataApplications2$outboundSchema` instead. */
211
+ const outboundSchema: z.ZodType<CreateApplicationDataApplications2$Outbound, z.ZodTypeDef, CreateApplicationDataApplications2>;
212
+ /** @deprecated use `CreateApplicationDataApplications2$Outbound` instead. */
213
+ type Outbound = CreateApplicationDataApplications2$Outbound;
214
+ }
215
+ export declare function createApplicationDataApplications2ToJSON(createApplicationDataApplications2: CreateApplicationDataApplications2): string;
216
+ export declare function createApplicationDataApplications2FromJSON(jsonString: string): SafeParseResult<CreateApplicationDataApplications2, SDKValidationError>;
217
+ /** @internal */
218
+ export declare const DataType$inboundSchema: z.ZodNativeEnum<typeof DataType>;
219
+ /** @internal */
220
+ export declare const DataType$outboundSchema: z.ZodNativeEnum<typeof DataType>;
221
+ /**
222
+ * @internal
223
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
224
+ */
225
+ export declare namespace DataType$ {
226
+ /** @deprecated use `DataType$inboundSchema` instead. */
227
+ const inboundSchema: z.ZodNativeEnum<{
228
+ readonly LoanDetails: "loan-details";
229
+ }>;
230
+ /** @deprecated use `DataType$outboundSchema` instead. */
231
+ const outboundSchema: z.ZodNativeEnum<{
232
+ readonly LoanDetails: "loan-details";
233
+ }>;
234
+ }
235
+ /** @internal */
236
+ export declare const CreateApplicationDataApplications1$inboundSchema: z.ZodType<CreateApplicationDataApplications1, z.ZodTypeDef, unknown>;
237
+ /** @internal */
238
+ export type CreateApplicationDataApplications1$Outbound = {
239
+ type: string;
240
+ id: string;
241
+ };
242
+ /** @internal */
243
+ export declare const CreateApplicationDataApplications1$outboundSchema: z.ZodType<CreateApplicationDataApplications1$Outbound, z.ZodTypeDef, CreateApplicationDataApplications1>;
244
+ /**
245
+ * @internal
246
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
247
+ */
248
+ export declare namespace CreateApplicationDataApplications1$ {
249
+ /** @deprecated use `CreateApplicationDataApplications1$inboundSchema` instead. */
250
+ const inboundSchema: z.ZodType<CreateApplicationDataApplications1, z.ZodTypeDef, unknown>;
251
+ /** @deprecated use `CreateApplicationDataApplications1$outboundSchema` instead. */
252
+ const outboundSchema: z.ZodType<CreateApplicationDataApplications1$Outbound, z.ZodTypeDef, CreateApplicationDataApplications1>;
253
+ /** @deprecated use `CreateApplicationDataApplications1$Outbound` instead. */
254
+ type Outbound = CreateApplicationDataApplications1$Outbound;
255
+ }
256
+ export declare function createApplicationDataApplications1ToJSON(createApplicationDataApplications1: CreateApplicationDataApplications1): string;
257
+ export declare function createApplicationDataApplications1FromJSON(jsonString: string): SafeParseResult<CreateApplicationDataApplications1, SDKValidationError>;
258
+ /** @internal */
259
+ export declare const CreateApplicationApplicationsResponseData$inboundSchema: z.ZodType<CreateApplicationApplicationsResponseData, z.ZodTypeDef, unknown>;
260
+ /** @internal */
261
+ export type CreateApplicationApplicationsResponseData$Outbound = CreateApplicationDataApplications1$Outbound | Array<CreateApplicationDataApplications2$Outbound>;
262
+ /** @internal */
263
+ export declare const CreateApplicationApplicationsResponseData$outboundSchema: z.ZodType<CreateApplicationApplicationsResponseData$Outbound, z.ZodTypeDef, CreateApplicationApplicationsResponseData>;
264
+ /**
265
+ * @internal
266
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
267
+ */
268
+ export declare namespace CreateApplicationApplicationsResponseData$ {
269
+ /** @deprecated use `CreateApplicationApplicationsResponseData$inboundSchema` instead. */
270
+ const inboundSchema: z.ZodType<CreateApplicationApplicationsResponseData, z.ZodTypeDef, unknown>;
271
+ /** @deprecated use `CreateApplicationApplicationsResponseData$outboundSchema` instead. */
272
+ const outboundSchema: z.ZodType<CreateApplicationApplicationsResponseData$Outbound, z.ZodTypeDef, CreateApplicationApplicationsResponseData>;
273
+ /** @deprecated use `CreateApplicationApplicationsResponseData$Outbound` instead. */
274
+ type Outbound = CreateApplicationApplicationsResponseData$Outbound;
275
+ }
276
+ export declare function createApplicationApplicationsResponseDataToJSON(createApplicationApplicationsResponseData: CreateApplicationApplicationsResponseData): string;
277
+ export declare function createApplicationApplicationsResponseDataFromJSON(jsonString: string): SafeParseResult<CreateApplicationApplicationsResponseData, SDKValidationError>;
278
+ /** @internal */
279
+ export declare const LoanDetails$inboundSchema: z.ZodType<LoanDetails, z.ZodTypeDef, unknown>;
280
+ /** @internal */
281
+ export type LoanDetails$Outbound = {
282
+ data: CreateApplicationDataApplications1$Outbound | Array<CreateApplicationDataApplications2$Outbound> | null;
283
+ links?: components.Links$Outbound | undefined;
284
+ meta?: {
285
+ [k: string]: any;
286
+ } | undefined;
287
+ };
288
+ /** @internal */
289
+ export declare const LoanDetails$outboundSchema: z.ZodType<LoanDetails$Outbound, z.ZodTypeDef, LoanDetails>;
290
+ /**
291
+ * @internal
292
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
293
+ */
294
+ export declare namespace LoanDetails$ {
295
+ /** @deprecated use `LoanDetails$inboundSchema` instead. */
296
+ const inboundSchema: z.ZodType<LoanDetails, z.ZodTypeDef, unknown>;
297
+ /** @deprecated use `LoanDetails$outboundSchema` instead. */
298
+ const outboundSchema: z.ZodType<LoanDetails$Outbound, z.ZodTypeDef, LoanDetails>;
299
+ /** @deprecated use `LoanDetails$Outbound` instead. */
300
+ type Outbound = LoanDetails$Outbound;
301
+ }
302
+ export declare function loanDetailsToJSON(loanDetails: LoanDetails): string;
303
+ export declare function loanDetailsFromJSON(jsonString: string): SafeParseResult<LoanDetails, SDKValidationError>;
304
+ /** @internal */
305
+ export declare const CreateApplicationDataApplicationsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsResponseType>;
306
+ /** @internal */
307
+ export declare const CreateApplicationDataApplicationsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsResponseType>;
308
+ /**
309
+ * @internal
310
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
311
+ */
312
+ export declare namespace CreateApplicationDataApplicationsResponseType$ {
313
+ /** @deprecated use `CreateApplicationDataApplicationsResponseType$inboundSchema` instead. */
314
+ const inboundSchema: z.ZodNativeEnum<{
315
+ readonly Customers: "customers";
316
+ }>;
317
+ /** @deprecated use `CreateApplicationDataApplicationsResponseType$outboundSchema` instead. */
318
+ const outboundSchema: z.ZodNativeEnum<{
319
+ readonly Customers: "customers";
320
+ }>;
321
+ }
322
+ /** @internal */
323
+ export declare const CreateApplicationDataApplicationsResponse2$inboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse2, z.ZodTypeDef, unknown>;
324
+ /** @internal */
325
+ export type CreateApplicationDataApplicationsResponse2$Outbound = {
326
+ type: string;
327
+ id: string;
328
+ };
329
+ /** @internal */
330
+ export declare const CreateApplicationDataApplicationsResponse2$outboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse2$Outbound, z.ZodTypeDef, CreateApplicationDataApplicationsResponse2>;
331
+ /**
332
+ * @internal
333
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
334
+ */
335
+ export declare namespace CreateApplicationDataApplicationsResponse2$ {
336
+ /** @deprecated use `CreateApplicationDataApplicationsResponse2$inboundSchema` instead. */
337
+ const inboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse2, z.ZodTypeDef, unknown>;
338
+ /** @deprecated use `CreateApplicationDataApplicationsResponse2$outboundSchema` instead. */
339
+ const outboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse2$Outbound, z.ZodTypeDef, CreateApplicationDataApplicationsResponse2>;
340
+ /** @deprecated use `CreateApplicationDataApplicationsResponse2$Outbound` instead. */
341
+ type Outbound = CreateApplicationDataApplicationsResponse2$Outbound;
342
+ }
343
+ export declare function createApplicationDataApplicationsResponse2ToJSON(createApplicationDataApplicationsResponse2: CreateApplicationDataApplicationsResponse2): string;
344
+ export declare function createApplicationDataApplicationsResponse2FromJSON(jsonString: string): SafeParseResult<CreateApplicationDataApplicationsResponse2, SDKValidationError>;
345
+ /** @internal */
346
+ export declare const CreateApplicationDataApplicationsType$inboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsType>;
347
+ /** @internal */
348
+ export declare const CreateApplicationDataApplicationsType$outboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsType>;
349
+ /**
350
+ * @internal
351
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
352
+ */
353
+ export declare namespace CreateApplicationDataApplicationsType$ {
354
+ /** @deprecated use `CreateApplicationDataApplicationsType$inboundSchema` instead. */
355
+ const inboundSchema: z.ZodNativeEnum<{
356
+ readonly Customers: "customers";
357
+ }>;
358
+ /** @deprecated use `CreateApplicationDataApplicationsType$outboundSchema` instead. */
359
+ const outboundSchema: z.ZodNativeEnum<{
360
+ readonly Customers: "customers";
361
+ }>;
362
+ }
363
+ /** @internal */
364
+ export declare const CreateApplicationDataApplicationsResponse1$inboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse1, z.ZodTypeDef, unknown>;
365
+ /** @internal */
366
+ export type CreateApplicationDataApplicationsResponse1$Outbound = {
367
+ type: string;
368
+ id: string;
369
+ };
370
+ /** @internal */
371
+ export declare const CreateApplicationDataApplicationsResponse1$outboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse1$Outbound, z.ZodTypeDef, CreateApplicationDataApplicationsResponse1>;
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
+ export declare namespace CreateApplicationDataApplicationsResponse1$ {
377
+ /** @deprecated use `CreateApplicationDataApplicationsResponse1$inboundSchema` instead. */
378
+ const inboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse1, z.ZodTypeDef, unknown>;
379
+ /** @deprecated use `CreateApplicationDataApplicationsResponse1$outboundSchema` instead. */
380
+ const outboundSchema: z.ZodType<CreateApplicationDataApplicationsResponse1$Outbound, z.ZodTypeDef, CreateApplicationDataApplicationsResponse1>;
381
+ /** @deprecated use `CreateApplicationDataApplicationsResponse1$Outbound` instead. */
382
+ type Outbound = CreateApplicationDataApplicationsResponse1$Outbound;
383
+ }
384
+ export declare function createApplicationDataApplicationsResponse1ToJSON(createApplicationDataApplicationsResponse1: CreateApplicationDataApplicationsResponse1): string;
385
+ export declare function createApplicationDataApplicationsResponse1FromJSON(jsonString: string): SafeParseResult<CreateApplicationDataApplicationsResponse1, SDKValidationError>;
386
+ /** @internal */
387
+ export declare const CreateApplicationApplicationsResponse201Data$inboundSchema: z.ZodType<CreateApplicationApplicationsResponse201Data, z.ZodTypeDef, unknown>;
388
+ /** @internal */
389
+ export type CreateApplicationApplicationsResponse201Data$Outbound = CreateApplicationDataApplicationsResponse1$Outbound | Array<CreateApplicationDataApplicationsResponse2$Outbound>;
390
+ /** @internal */
391
+ export declare const CreateApplicationApplicationsResponse201Data$outboundSchema: z.ZodType<CreateApplicationApplicationsResponse201Data$Outbound, z.ZodTypeDef, CreateApplicationApplicationsResponse201Data>;
392
+ /**
393
+ * @internal
394
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
395
+ */
396
+ export declare namespace CreateApplicationApplicationsResponse201Data$ {
397
+ /** @deprecated use `CreateApplicationApplicationsResponse201Data$inboundSchema` instead. */
398
+ const inboundSchema: z.ZodType<CreateApplicationApplicationsResponse201Data, z.ZodTypeDef, unknown>;
399
+ /** @deprecated use `CreateApplicationApplicationsResponse201Data$outboundSchema` instead. */
400
+ const outboundSchema: z.ZodType<CreateApplicationApplicationsResponse201Data$Outbound, z.ZodTypeDef, CreateApplicationApplicationsResponse201Data>;
401
+ /** @deprecated use `CreateApplicationApplicationsResponse201Data$Outbound` instead. */
402
+ type Outbound = CreateApplicationApplicationsResponse201Data$Outbound;
403
+ }
404
+ export declare function createApplicationApplicationsResponse201DataToJSON(createApplicationApplicationsResponse201Data: CreateApplicationApplicationsResponse201Data): string;
405
+ export declare function createApplicationApplicationsResponse201DataFromJSON(jsonString: string): SafeParseResult<CreateApplicationApplicationsResponse201Data, SDKValidationError>;
406
+ /** @internal */
407
+ export declare const Customers$inboundSchema: z.ZodType<Customers, z.ZodTypeDef, unknown>;
408
+ /** @internal */
409
+ export type Customers$Outbound = {
410
+ data: CreateApplicationDataApplicationsResponse1$Outbound | Array<CreateApplicationDataApplicationsResponse2$Outbound> | null;
411
+ links?: components.Links$Outbound | undefined;
412
+ meta?: {
413
+ [k: string]: any;
414
+ } | undefined;
415
+ };
416
+ /** @internal */
417
+ export declare const Customers$outboundSchema: z.ZodType<Customers$Outbound, z.ZodTypeDef, Customers>;
418
+ /**
419
+ * @internal
420
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
421
+ */
422
+ export declare namespace Customers$ {
423
+ /** @deprecated use `Customers$inboundSchema` instead. */
424
+ const inboundSchema: z.ZodType<Customers, z.ZodTypeDef, unknown>;
425
+ /** @deprecated use `Customers$outboundSchema` instead. */
426
+ const outboundSchema: z.ZodType<Customers$Outbound, z.ZodTypeDef, Customers>;
427
+ /** @deprecated use `Customers$Outbound` instead. */
428
+ type Outbound = Customers$Outbound;
429
+ }
430
+ export declare function customersToJSON(customers: Customers): string;
431
+ export declare function customersFromJSON(jsonString: string): SafeParseResult<Customers, SDKValidationError>;
432
+ /** @internal */
433
+ export declare const CreateApplicationDataApplicationsResponse201ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsResponse201ApplicationJSONType>;
434
+ /** @internal */
435
+ export declare const CreateApplicationDataApplicationsResponse201ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsResponse201ApplicationJSONType>;
436
+ /**
437
+ * @internal
438
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
439
+ */
440
+ export declare namespace CreateApplicationDataApplicationsResponse201ApplicationJSONType$ {
441
+ /** @deprecated use `CreateApplicationDataApplicationsResponse201ApplicationJSONType$inboundSchema` instead. */
442
+ const inboundSchema: z.ZodNativeEnum<{
443
+ readonly Asset: "asset";
444
+ }>;
445
+ /** @deprecated use `CreateApplicationDataApplicationsResponse201ApplicationJSONType$outboundSchema` instead. */
446
+ const outboundSchema: z.ZodNativeEnum<{
447
+ readonly Asset: "asset";
448
+ }>;
449
+ }
450
+ /** @internal */
451
+ export declare const CreateApplicationData2$inboundSchema: z.ZodType<CreateApplicationData2, z.ZodTypeDef, unknown>;
452
+ /** @internal */
453
+ export type CreateApplicationData2$Outbound = {
454
+ type: string;
455
+ id: string;
456
+ };
457
+ /** @internal */
458
+ export declare const CreateApplicationData2$outboundSchema: z.ZodType<CreateApplicationData2$Outbound, z.ZodTypeDef, CreateApplicationData2>;
459
+ /**
460
+ * @internal
461
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
462
+ */
463
+ export declare namespace CreateApplicationData2$ {
464
+ /** @deprecated use `CreateApplicationData2$inboundSchema` instead. */
465
+ const inboundSchema: z.ZodType<CreateApplicationData2, z.ZodTypeDef, unknown>;
466
+ /** @deprecated use `CreateApplicationData2$outboundSchema` instead. */
467
+ const outboundSchema: z.ZodType<CreateApplicationData2$Outbound, z.ZodTypeDef, CreateApplicationData2>;
468
+ /** @deprecated use `CreateApplicationData2$Outbound` instead. */
469
+ type Outbound = CreateApplicationData2$Outbound;
470
+ }
471
+ export declare function createApplicationData2ToJSON(createApplicationData2: CreateApplicationData2): string;
472
+ export declare function createApplicationData2FromJSON(jsonString: string): SafeParseResult<CreateApplicationData2, SDKValidationError>;
473
+ /** @internal */
474
+ export declare const CreateApplicationDataApplicationsResponse201Type$inboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsResponse201Type>;
475
+ /** @internal */
476
+ export declare const CreateApplicationDataApplicationsResponse201Type$outboundSchema: z.ZodNativeEnum<typeof CreateApplicationDataApplicationsResponse201Type>;
477
+ /**
478
+ * @internal
479
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
480
+ */
481
+ export declare namespace CreateApplicationDataApplicationsResponse201Type$ {
482
+ /** @deprecated use `CreateApplicationDataApplicationsResponse201Type$inboundSchema` instead. */
483
+ const inboundSchema: z.ZodNativeEnum<{
484
+ readonly Asset: "asset";
485
+ }>;
486
+ /** @deprecated use `CreateApplicationDataApplicationsResponse201Type$outboundSchema` instead. */
487
+ const outboundSchema: z.ZodNativeEnum<{
488
+ readonly Asset: "asset";
489
+ }>;
490
+ }
491
+ /** @internal */
492
+ export declare const CreateApplicationData1$inboundSchema: z.ZodType<CreateApplicationData1, z.ZodTypeDef, unknown>;
493
+ /** @internal */
494
+ export type CreateApplicationData1$Outbound = {
495
+ type: string;
496
+ id: string;
497
+ };
498
+ /** @internal */
499
+ export declare const CreateApplicationData1$outboundSchema: z.ZodType<CreateApplicationData1$Outbound, z.ZodTypeDef, CreateApplicationData1>;
500
+ /**
501
+ * @internal
502
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
503
+ */
504
+ export declare namespace CreateApplicationData1$ {
505
+ /** @deprecated use `CreateApplicationData1$inboundSchema` instead. */
506
+ const inboundSchema: z.ZodType<CreateApplicationData1, z.ZodTypeDef, unknown>;
507
+ /** @deprecated use `CreateApplicationData1$outboundSchema` instead. */
508
+ const outboundSchema: z.ZodType<CreateApplicationData1$Outbound, z.ZodTypeDef, CreateApplicationData1>;
509
+ /** @deprecated use `CreateApplicationData1$Outbound` instead. */
510
+ type Outbound = CreateApplicationData1$Outbound;
511
+ }
512
+ export declare function createApplicationData1ToJSON(createApplicationData1: CreateApplicationData1): string;
513
+ export declare function createApplicationData1FromJSON(jsonString: string): SafeParseResult<CreateApplicationData1, SDKValidationError>;
514
+ /** @internal */
515
+ export declare const CreateApplicationApplicationsData$inboundSchema: z.ZodType<CreateApplicationApplicationsData, z.ZodTypeDef, unknown>;
516
+ /** @internal */
517
+ export type CreateApplicationApplicationsData$Outbound = CreateApplicationData1$Outbound | Array<CreateApplicationData2$Outbound>;
518
+ /** @internal */
519
+ export declare const CreateApplicationApplicationsData$outboundSchema: z.ZodType<CreateApplicationApplicationsData$Outbound, z.ZodTypeDef, CreateApplicationApplicationsData>;
520
+ /**
521
+ * @internal
522
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
523
+ */
524
+ export declare namespace CreateApplicationApplicationsData$ {
525
+ /** @deprecated use `CreateApplicationApplicationsData$inboundSchema` instead. */
526
+ const inboundSchema: z.ZodType<CreateApplicationApplicationsData, z.ZodTypeDef, unknown>;
527
+ /** @deprecated use `CreateApplicationApplicationsData$outboundSchema` instead. */
528
+ const outboundSchema: z.ZodType<CreateApplicationApplicationsData$Outbound, z.ZodTypeDef, CreateApplicationApplicationsData>;
529
+ /** @deprecated use `CreateApplicationApplicationsData$Outbound` instead. */
530
+ type Outbound = CreateApplicationApplicationsData$Outbound;
531
+ }
532
+ export declare function createApplicationApplicationsDataToJSON(createApplicationApplicationsData: CreateApplicationApplicationsData): string;
533
+ export declare function createApplicationApplicationsDataFromJSON(jsonString: string): SafeParseResult<CreateApplicationApplicationsData, SDKValidationError>;
534
+ /** @internal */
535
+ export declare const Asset$inboundSchema: z.ZodType<Asset, z.ZodTypeDef, unknown>;
536
+ /** @internal */
537
+ export type Asset$Outbound = {
538
+ data: CreateApplicationData1$Outbound | Array<CreateApplicationData2$Outbound> | null;
539
+ links?: components.Links$Outbound | undefined;
540
+ meta?: {
541
+ [k: string]: any;
542
+ } | undefined;
543
+ };
544
+ /** @internal */
545
+ export declare const Asset$outboundSchema: z.ZodType<Asset$Outbound, z.ZodTypeDef, Asset>;
546
+ /**
547
+ * @internal
548
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
549
+ */
550
+ export declare namespace Asset$ {
551
+ /** @deprecated use `Asset$inboundSchema` instead. */
552
+ const inboundSchema: z.ZodType<Asset, z.ZodTypeDef, unknown>;
553
+ /** @deprecated use `Asset$outboundSchema` instead. */
554
+ const outboundSchema: z.ZodType<Asset$Outbound, z.ZodTypeDef, Asset>;
555
+ /** @deprecated use `Asset$Outbound` instead. */
556
+ type Outbound = Asset$Outbound;
557
+ }
558
+ export declare function assetToJSON(asset: Asset): string;
559
+ export declare function assetFromJSON(jsonString: string): SafeParseResult<Asset, SDKValidationError>;
560
+ /** @internal */
561
+ export declare const Relationships$inboundSchema: z.ZodType<Relationships, z.ZodTypeDef, unknown>;
562
+ /** @internal */
563
+ export type Relationships$Outbound = {
564
+ loanDetails?: LoanDetails$Outbound | undefined;
565
+ customers?: Customers$Outbound | undefined;
566
+ asset?: Asset$Outbound | undefined;
567
+ };
568
+ /** @internal */
569
+ export declare const Relationships$outboundSchema: z.ZodType<Relationships$Outbound, z.ZodTypeDef, Relationships>;
570
+ /**
571
+ * @internal
572
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
573
+ */
574
+ export declare namespace Relationships$ {
575
+ /** @deprecated use `Relationships$inboundSchema` instead. */
576
+ const inboundSchema: z.ZodType<Relationships, z.ZodTypeDef, unknown>;
577
+ /** @deprecated use `Relationships$outboundSchema` instead. */
578
+ const outboundSchema: z.ZodType<Relationships$Outbound, z.ZodTypeDef, Relationships>;
579
+ /** @deprecated use `Relationships$Outbound` instead. */
580
+ type Outbound = Relationships$Outbound;
581
+ }
582
+ export declare function relationshipsToJSON(relationships: Relationships): string;
583
+ export declare function relationshipsFromJSON(jsonString: string): SafeParseResult<Relationships, SDKValidationError>;
584
+ /** @internal */
585
+ export declare const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown>;
586
+ /** @internal */
587
+ export type Data$Outbound = {
588
+ type: string;
589
+ id: string;
590
+ attributes?: components.ApplicationAttributes$Outbound | undefined;
591
+ relationships?: Relationships$Outbound | undefined;
592
+ links?: components.Links$Outbound | undefined;
593
+ meta?: {
594
+ [k: string]: any;
595
+ } | undefined;
596
+ };
597
+ /** @internal */
598
+ export declare const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data>;
599
+ /**
600
+ * @internal
601
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
602
+ */
603
+ export declare namespace Data$ {
604
+ /** @deprecated use `Data$inboundSchema` instead. */
605
+ const inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown>;
606
+ /** @deprecated use `Data$outboundSchema` instead. */
607
+ const outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data>;
608
+ /** @deprecated use `Data$Outbound` instead. */
609
+ type Outbound = Data$Outbound;
610
+ }
611
+ export declare function dataToJSON(data: Data): string;
612
+ export declare function dataFromJSON(jsonString: string): SafeParseResult<Data, SDKValidationError>;
613
+ /** @internal */
614
+ export declare const Attributes$inboundSchema: z.ZodType<Attributes, z.ZodTypeDef, unknown>;
615
+ /** @internal */
616
+ export type Attributes$Outbound = {};
617
+ /** @internal */
618
+ export declare const Attributes$outboundSchema: z.ZodType<Attributes$Outbound, z.ZodTypeDef, Attributes>;
619
+ /**
620
+ * @internal
621
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
622
+ */
623
+ export declare namespace Attributes$ {
624
+ /** @deprecated use `Attributes$inboundSchema` instead. */
625
+ const inboundSchema: z.ZodType<Attributes, z.ZodTypeDef, unknown>;
626
+ /** @deprecated use `Attributes$outboundSchema` instead. */
627
+ const outboundSchema: z.ZodType<Attributes$Outbound, z.ZodTypeDef, Attributes>;
628
+ /** @deprecated use `Attributes$Outbound` instead. */
629
+ type Outbound = Attributes$Outbound;
630
+ }
631
+ export declare function attributesToJSON(attributes: Attributes): string;
632
+ export declare function attributesFromJSON(jsonString: string): SafeParseResult<Attributes, SDKValidationError>;
633
+ /** @internal */
634
+ export declare const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
635
+ /** @internal */
636
+ export type Two$Outbound = {
637
+ type: string;
638
+ id: string;
639
+ };
640
+ /** @internal */
641
+ export declare const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
642
+ /**
643
+ * @internal
644
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
645
+ */
646
+ export declare namespace Two$ {
647
+ /** @deprecated use `Two$inboundSchema` instead. */
648
+ const inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
649
+ /** @deprecated use `Two$outboundSchema` instead. */
650
+ const outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
651
+ /** @deprecated use `Two$Outbound` instead. */
652
+ type Outbound = Two$Outbound;
653
+ }
654
+ export declare function twoToJSON(two: Two): string;
655
+ export declare function twoFromJSON(jsonString: string): SafeParseResult<Two, SDKValidationError>;
656
+ /** @internal */
657
+ export declare const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
658
+ /** @internal */
659
+ export type One$Outbound = {
660
+ type: string;
661
+ id: string;
662
+ };
663
+ /** @internal */
664
+ export declare const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
665
+ /**
666
+ * @internal
667
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
668
+ */
669
+ export declare namespace One$ {
670
+ /** @deprecated use `One$inboundSchema` instead. */
671
+ const inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
672
+ /** @deprecated use `One$outboundSchema` instead. */
673
+ const outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
674
+ /** @deprecated use `One$Outbound` instead. */
675
+ type Outbound = One$Outbound;
676
+ }
677
+ export declare function oneToJSON(one: One): string;
678
+ export declare function oneFromJSON(jsonString: string): SafeParseResult<One, SDKValidationError>;
679
+ /** @internal */
680
+ export declare const CreateApplicationData$inboundSchema: z.ZodType<CreateApplicationData, z.ZodTypeDef, unknown>;
681
+ /** @internal */
682
+ export type CreateApplicationData$Outbound = One$Outbound | Array<Two$Outbound>;
683
+ /** @internal */
684
+ export declare const CreateApplicationData$outboundSchema: z.ZodType<CreateApplicationData$Outbound, z.ZodTypeDef, CreateApplicationData>;
685
+ /**
686
+ * @internal
687
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
688
+ */
689
+ export declare namespace CreateApplicationData$ {
690
+ /** @deprecated use `CreateApplicationData$inboundSchema` instead. */
691
+ const inboundSchema: z.ZodType<CreateApplicationData, z.ZodTypeDef, unknown>;
692
+ /** @deprecated use `CreateApplicationData$outboundSchema` instead. */
693
+ const outboundSchema: z.ZodType<CreateApplicationData$Outbound, z.ZodTypeDef, CreateApplicationData>;
694
+ /** @deprecated use `CreateApplicationData$Outbound` instead. */
695
+ type Outbound = CreateApplicationData$Outbound;
696
+ }
697
+ export declare function createApplicationDataToJSON(createApplicationData: CreateApplicationData): string;
698
+ export declare function createApplicationDataFromJSON(jsonString: string): SafeParseResult<CreateApplicationData, SDKValidationError>;
699
+ /** @internal */
700
+ export declare const CreateApplicationRelationships$inboundSchema: z.ZodType<CreateApplicationRelationships, z.ZodTypeDef, unknown>;
701
+ /** @internal */
702
+ export type CreateApplicationRelationships$Outbound = {
703
+ data: One$Outbound | Array<Two$Outbound> | null;
704
+ links?: components.Links$Outbound | undefined;
705
+ meta?: {
706
+ [k: string]: any;
707
+ } | undefined;
708
+ };
709
+ /** @internal */
710
+ export declare const CreateApplicationRelationships$outboundSchema: z.ZodType<CreateApplicationRelationships$Outbound, z.ZodTypeDef, CreateApplicationRelationships>;
711
+ /**
712
+ * @internal
713
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
714
+ */
715
+ export declare namespace CreateApplicationRelationships$ {
716
+ /** @deprecated use `CreateApplicationRelationships$inboundSchema` instead. */
717
+ const inboundSchema: z.ZodType<CreateApplicationRelationships, z.ZodTypeDef, unknown>;
718
+ /** @deprecated use `CreateApplicationRelationships$outboundSchema` instead. */
719
+ const outboundSchema: z.ZodType<CreateApplicationRelationships$Outbound, z.ZodTypeDef, CreateApplicationRelationships>;
720
+ /** @deprecated use `CreateApplicationRelationships$Outbound` instead. */
721
+ type Outbound = CreateApplicationRelationships$Outbound;
722
+ }
723
+ export declare function createApplicationRelationshipsToJSON(createApplicationRelationships: CreateApplicationRelationships): string;
724
+ export declare function createApplicationRelationshipsFromJSON(jsonString: string): SafeParseResult<CreateApplicationRelationships, SDKValidationError>;
725
+ /** @internal */
726
+ export declare const Included$inboundSchema: z.ZodType<Included, z.ZodTypeDef, unknown>;
727
+ /** @internal */
728
+ export type Included$Outbound = {
729
+ type: string;
730
+ id: string;
731
+ attributes?: Attributes$Outbound | undefined;
732
+ relationships?: {
733
+ [k: string]: CreateApplicationRelationships$Outbound;
734
+ } | undefined;
735
+ links?: components.Links$Outbound | undefined;
736
+ meta?: {
737
+ [k: string]: any;
738
+ } | undefined;
739
+ };
740
+ /** @internal */
741
+ export declare const Included$outboundSchema: z.ZodType<Included$Outbound, z.ZodTypeDef, Included>;
742
+ /**
743
+ * @internal
744
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
745
+ */
746
+ export declare namespace Included$ {
747
+ /** @deprecated use `Included$inboundSchema` instead. */
748
+ const inboundSchema: z.ZodType<Included, z.ZodTypeDef, unknown>;
749
+ /** @deprecated use `Included$outboundSchema` instead. */
750
+ const outboundSchema: z.ZodType<Included$Outbound, z.ZodTypeDef, Included>;
751
+ /** @deprecated use `Included$Outbound` instead. */
752
+ type Outbound = Included$Outbound;
753
+ }
754
+ export declare function includedToJSON(included: Included): string;
755
+ export declare function includedFromJSON(jsonString: string): SafeParseResult<Included, SDKValidationError>;
756
+ /** @internal */
757
+ export declare const CreateApplicationResponseBody$inboundSchema: z.ZodType<CreateApplicationResponseBody, z.ZodTypeDef, unknown>;
758
+ /** @internal */
759
+ export type CreateApplicationResponseBody$Outbound = {
760
+ data: Data$Outbound;
761
+ included?: Array<Included$Outbound> | undefined;
762
+ links?: components.Links$Outbound | undefined;
763
+ };
764
+ /** @internal */
765
+ export declare const CreateApplicationResponseBody$outboundSchema: z.ZodType<CreateApplicationResponseBody$Outbound, z.ZodTypeDef, CreateApplicationResponseBody>;
766
+ /**
767
+ * @internal
768
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
769
+ */
770
+ export declare namespace CreateApplicationResponseBody$ {
771
+ /** @deprecated use `CreateApplicationResponseBody$inboundSchema` instead. */
772
+ const inboundSchema: z.ZodType<CreateApplicationResponseBody, z.ZodTypeDef, unknown>;
773
+ /** @deprecated use `CreateApplicationResponseBody$outboundSchema` instead. */
774
+ const outboundSchema: z.ZodType<CreateApplicationResponseBody$Outbound, z.ZodTypeDef, CreateApplicationResponseBody>;
775
+ /** @deprecated use `CreateApplicationResponseBody$Outbound` instead. */
776
+ type Outbound = CreateApplicationResponseBody$Outbound;
777
+ }
778
+ export declare function createApplicationResponseBodyToJSON(createApplicationResponseBody: CreateApplicationResponseBody): string;
779
+ export declare function createApplicationResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateApplicationResponseBody, SDKValidationError>;
780
+ //# sourceMappingURL=createapplication.d.ts.map