@financeable/aggregation 0.5.1 → 0.6.1

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 (297) hide show
  1. package/FUNCTIONS.md +14 -131
  2. package/README.md +271 -1512
  3. package/docs/sdks/applications/README.md +24 -383
  4. package/docs/sdks/oauthtoken/README.md +5 -5
  5. package/docs/sdks/supportingdocuments/README.md +121 -0
  6. package/funcs/applicationsCreate.d.ts +1 -2
  7. package/funcs/applicationsCreate.d.ts.map +1 -1
  8. package/funcs/applicationsCreate.js +3 -4
  9. package/funcs/applicationsCreate.js.map +1 -1
  10. package/funcs/{oauthTokenGet.d.ts → oauthTokenOauthToken.d.ts} +2 -2
  11. package/funcs/oauthTokenOauthToken.d.ts.map +1 -0
  12. package/funcs/{oauthTokenGet.js → oauthTokenOauthToken.js} +3 -3
  13. package/funcs/oauthTokenOauthToken.js.map +1 -0
  14. package/funcs/supportingDocumentsCreate.d.ts +14 -0
  15. package/funcs/supportingDocumentsCreate.d.ts.map +1 -0
  16. package/funcs/{applicationsList.js → supportingDocumentsCreate.js} +14 -12
  17. package/funcs/supportingDocumentsCreate.js.map +1 -0
  18. package/jsr.json +1 -1
  19. package/lib/config.d.ts +4 -4
  20. package/lib/config.d.ts.map +1 -1
  21. package/lib/config.js +4 -7
  22. package/lib/config.js.map +1 -1
  23. package/lib/matchers.d.ts +3 -1
  24. package/lib/matchers.d.ts.map +1 -1
  25. package/lib/matchers.js +12 -0
  26. package/lib/matchers.js.map +1 -1
  27. package/lib/sdks.d.ts +3 -1
  28. package/lib/sdks.d.ts.map +1 -1
  29. package/lib/sdks.js +13 -13
  30. package/lib/sdks.js.map +1 -1
  31. package/models/components/addressattributes.d.ts +10 -8
  32. package/models/components/addressattributes.d.ts.map +1 -1
  33. package/models/components/addressattributes.js +15 -14
  34. package/models/components/addressattributes.js.map +1 -1
  35. package/models/components/applicationresource.d.ts +30 -0
  36. package/models/components/applicationresource.d.ts.map +1 -0
  37. package/models/components/applicationresource.js +73 -0
  38. package/models/components/applicationresource.js.map +1 -0
  39. package/models/components/badrequesterror.d.ts +119 -0
  40. package/models/components/badrequesterror.d.ts.map +1 -0
  41. package/models/components/badrequesterror.js +140 -0
  42. package/models/components/badrequesterror.js.map +1 -0
  43. package/models/components/commercialapplicationjsonapirelationships.d.ts +384 -0
  44. package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -0
  45. package/models/components/commercialapplicationjsonapirelationships.js +391 -0
  46. package/models/components/commercialapplicationjsonapirelationships.js.map +1 -0
  47. package/models/components/commercialsecuredapplicationpayload.d.ts +164 -0
  48. package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -0
  49. package/models/components/commercialsecuredapplicationpayload.js +158 -0
  50. package/models/components/commercialsecuredapplicationpayload.js.map +1 -0
  51. package/models/components/commercialsecuredapplicationresource.d.ts +171 -0
  52. package/models/components/commercialsecuredapplicationresource.d.ts.map +1 -0
  53. package/models/components/commercialsecuredapplicationresource.js +161 -0
  54. package/models/components/commercialsecuredapplicationresource.js.map +1 -0
  55. package/models/components/commercialsecuredloanassetattributes.d.ts +237 -0
  56. package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -0
  57. package/models/components/commercialsecuredloanassetattributes.js +170 -0
  58. package/models/components/commercialsecuredloanassetattributes.js.map +1 -0
  59. package/models/components/commercialsecuredloanassettype.d.ts +100 -0
  60. package/models/components/commercialsecuredloanassettype.d.ts.map +1 -0
  61. package/models/components/commercialsecuredloanassettype.js +84 -0
  62. package/models/components/commercialsecuredloanassettype.js.map +1 -0
  63. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +537 -0
  64. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -0
  65. package/models/components/commercialsecuredloancommercialapplicationrelationships.js +548 -0
  66. package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -0
  67. package/models/components/consumerapplicationjsonapirelationships.d.ts +296 -0
  68. package/models/components/consumerapplicationjsonapirelationships.d.ts.map +1 -0
  69. package/models/components/consumerapplicationjsonapirelationships.js +310 -0
  70. package/models/components/consumerapplicationjsonapirelationships.js.map +1 -0
  71. package/models/components/consumersecuredapplicationpayload.d.ts +164 -0
  72. package/models/components/consumersecuredapplicationpayload.d.ts.map +1 -0
  73. package/models/components/consumersecuredapplicationpayload.js +158 -0
  74. package/models/components/consumersecuredapplicationpayload.js.map +1 -0
  75. package/models/components/consumersecuredapplicationresource.d.ts +171 -0
  76. package/models/components/consumersecuredapplicationresource.d.ts.map +1 -0
  77. package/models/components/consumersecuredapplicationresource.js +161 -0
  78. package/models/components/consumersecuredapplicationresource.js.map +1 -0
  79. package/models/components/consumersecuredloanassetattributes.d.ts +237 -0
  80. package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -0
  81. package/models/components/consumersecuredloanassetattributes.js +172 -0
  82. package/models/components/consumersecuredloanassetattributes.js.map +1 -0
  83. package/models/components/consumersecuredloanassettype.d.ts +64 -0
  84. package/models/components/consumersecuredloanassettype.d.ts.map +1 -0
  85. package/models/components/{consumerassettype.js → consumersecuredloanassettype.js} +27 -28
  86. package/models/components/consumersecuredloanassettype.js.map +1 -0
  87. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +425 -0
  88. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -0
  89. package/models/components/consumersecuredloanconsumerapplicationrelationships.js +443 -0
  90. package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -0
  91. package/models/components/createsupportingdocumentsresponse.d.ts +124 -0
  92. package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -0
  93. package/models/components/createsupportingdocumentsresponse.js +138 -0
  94. package/models/components/createsupportingdocumentsresponse.js.map +1 -0
  95. package/models/components/customerattributes.d.ts +2 -0
  96. package/models/components/customerattributes.d.ts.map +1 -1
  97. package/models/components/customerattributes.js +2 -0
  98. package/models/components/customerattributes.js.map +1 -1
  99. package/models/components/documenttype.d.ts +70 -0
  100. package/models/components/documenttype.d.ts.map +1 -0
  101. package/models/{errors/responsebody.js → components/documenttype.js} +28 -34
  102. package/models/components/documenttype.js.map +1 -0
  103. package/models/components/entityattributes.d.ts +2 -22
  104. package/models/components/entityattributes.d.ts.map +1 -1
  105. package/models/components/entityattributes.js +2 -19
  106. package/models/components/entityattributes.js.map +1 -1
  107. package/models/components/forbiddenerror.d.ts +17 -39
  108. package/models/components/forbiddenerror.d.ts.map +1 -1
  109. package/models/components/forbiddenerror.js +27 -46
  110. package/models/components/forbiddenerror.js.map +1 -1
  111. package/models/components/index.d.ts +24 -8
  112. package/models/components/index.d.ts.map +1 -1
  113. package/models/components/index.js +24 -8
  114. package/models/components/index.js.map +1 -1
  115. package/models/components/linkobject.d.ts +47 -0
  116. package/models/components/linkobject.d.ts.map +1 -0
  117. package/models/components/{links.js → linkobject.js} +27 -22
  118. package/models/components/linkobject.js.map +1 -0
  119. package/models/components/loandetailsattributes.d.ts +2 -0
  120. package/models/components/loandetailsattributes.d.ts.map +1 -1
  121. package/models/components/loandetailsattributes.js +2 -0
  122. package/models/components/loandetailsattributes.js.map +1 -1
  123. package/models/components/relationshipresourcenotfound.d.ts +116 -0
  124. package/models/components/relationshipresourcenotfound.d.ts.map +1 -0
  125. package/models/components/relationshipresourcenotfound.js +139 -0
  126. package/models/components/relationshipresourcenotfound.js.map +1 -0
  127. package/models/components/resourcenotfound.d.ts +119 -0
  128. package/models/components/resourcenotfound.d.ts.map +1 -0
  129. package/models/components/resourcenotfound.js +139 -0
  130. package/models/components/resourcenotfound.js.map +1 -0
  131. package/models/components/supportingdocumentattributes.d.ts +40 -0
  132. package/models/components/supportingdocumentattributes.d.ts.map +1 -0
  133. package/models/components/{applicationattributescreate.js → supportingdocumentattributes.js} +24 -24
  134. package/models/components/supportingdocumentattributes.js.map +1 -0
  135. package/models/components/supportingdocumentattributesinput.d.ts +38 -0
  136. package/models/components/supportingdocumentattributesinput.d.ts.map +1 -0
  137. package/models/components/supportingdocumentattributesinput.js +72 -0
  138. package/models/components/supportingdocumentattributesinput.js.map +1 -0
  139. package/models/components/supportingdocumentrelationships.d.ts +448 -0
  140. package/models/components/supportingdocumentrelationships.d.ts.map +1 -0
  141. package/models/components/supportingdocumentrelationships.js +434 -0
  142. package/models/components/supportingdocumentrelationships.js.map +1 -0
  143. package/models/components/supportingdocumentresource.d.ts +71 -0
  144. package/models/components/supportingdocumentresource.d.ts.map +1 -0
  145. package/models/components/supportingdocumentresource.js +98 -0
  146. package/models/components/supportingdocumentresource.js.map +1 -0
  147. package/models/components/uploadmimetype.d.ts +49 -0
  148. package/models/components/uploadmimetype.d.ts.map +1 -0
  149. package/models/components/{applicationtype.js → uploadmimetype.js} +22 -14
  150. package/models/components/uploadmimetype.js.map +1 -0
  151. package/models/errors/createapplication.d.ts +73 -0
  152. package/models/errors/createapplication.d.ts.map +1 -0
  153. package/models/errors/createapplication.js +120 -0
  154. package/models/errors/createapplication.js.map +1 -0
  155. package/models/errors/index.d.ts +2 -1
  156. package/models/errors/index.d.ts.map +1 -1
  157. package/models/errors/index.js +2 -1
  158. package/models/errors/index.js.map +1 -1
  159. package/models/errors/supportingdocumentscreate.d.ts +143 -0
  160. package/models/errors/supportingdocumentscreate.d.ts.map +1 -0
  161. package/models/errors/supportingdocumentscreate.js +225 -0
  162. package/models/errors/supportingdocumentscreate.js.map +1 -0
  163. package/models/operations/createapplication.d.ts +26 -874
  164. package/models/operations/createapplication.d.ts.map +1 -1
  165. package/models/operations/createapplication.js +37 -899
  166. package/models/operations/createapplication.js.map +1 -1
  167. package/models/operations/index.d.ts +1 -2
  168. package/models/operations/index.d.ts.map +1 -1
  169. package/models/operations/index.js +1 -2
  170. package/models/operations/index.js.map +1 -1
  171. package/models/operations/supportingdocumentscreate.d.ts +94 -0
  172. package/models/operations/supportingdocumentscreate.d.ts.map +1 -0
  173. package/models/operations/supportingdocumentscreate.js +135 -0
  174. package/models/operations/supportingdocumentscreate.js.map +1 -0
  175. package/package.json +2 -2
  176. package/sdk/applications.d.ts +1 -10
  177. package/sdk/applications.d.ts.map +1 -1
  178. package/sdk/applications.js +0 -14
  179. package/sdk/applications.js.map +1 -1
  180. package/sdk/oauthtoken.d.ts +1 -1
  181. package/sdk/oauthtoken.d.ts.map +1 -1
  182. package/sdk/oauthtoken.js +3 -3
  183. package/sdk/oauthtoken.js.map +1 -1
  184. package/sdk/sdk.d.ts +3 -0
  185. package/sdk/sdk.d.ts.map +1 -1
  186. package/sdk/sdk.js +4 -0
  187. package/sdk/sdk.js.map +1 -1
  188. package/sdk/supportingdocuments.d.ts +9 -0
  189. package/sdk/supportingdocuments.d.ts.map +1 -0
  190. package/sdk/supportingdocuments.js +19 -0
  191. package/sdk/supportingdocuments.js.map +1 -0
  192. package/src/funcs/applicationsCreate.ts +15 -9
  193. package/src/funcs/{oauthTokenGet.ts → oauthTokenOauthToken.ts} +1 -1
  194. package/src/funcs/{applicationsList.ts → supportingDocumentsCreate.ts} +30 -20
  195. package/src/lib/config.ts +4 -7
  196. package/src/lib/matchers.ts +20 -0
  197. package/src/lib/sdks.ts +19 -13
  198. package/src/models/components/addressattributes.ts +22 -14
  199. package/src/models/components/applicationresource.ts +83 -0
  200. package/src/models/components/badrequesterror.ts +182 -0
  201. package/src/models/components/commercialapplicationjsonapirelationships.ts +894 -0
  202. package/src/models/components/commercialsecuredapplicationpayload.ts +248 -0
  203. package/src/models/components/commercialsecuredapplicationresource.ts +310 -0
  204. package/src/models/components/commercialsecuredloanassetattributes.ts +319 -0
  205. package/src/models/components/commercialsecuredloanassettype.ts +64 -0
  206. package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +1238 -0
  207. package/src/models/components/consumerapplicationjsonapirelationships.ts +683 -0
  208. package/src/models/components/consumersecuredapplicationpayload.ts +273 -0
  209. package/src/models/components/consumersecuredapplicationresource.ts +309 -0
  210. package/src/models/components/consumersecuredloanassetattributes.ts +334 -0
  211. package/src/models/components/consumersecuredloanassettype.ts +47 -0
  212. package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +1047 -0
  213. package/src/models/components/createsupportingdocumentsresponse.ts +206 -0
  214. package/src/models/components/customerattributes.ts +4 -0
  215. package/src/models/components/documenttype.ts +49 -0
  216. package/src/models/components/entityattributes.ts +4 -44
  217. package/src/models/components/forbiddenerror.ts +35 -58
  218. package/src/models/components/index.ts +24 -8
  219. package/src/models/components/linkobject.ts +84 -0
  220. package/src/models/components/loandetailsattributes.ts +4 -0
  221. package/src/models/components/relationshipresourcenotfound.ts +195 -0
  222. package/src/models/components/resourcenotfound.ts +188 -0
  223. package/src/models/components/supportingdocumentattributes.ts +87 -0
  224. package/src/models/components/supportingdocumentattributesinput.ts +84 -0
  225. package/src/models/components/supportingdocumentrelationships.ts +828 -0
  226. package/src/models/components/supportingdocumentresource.ts +126 -0
  227. package/src/models/components/uploadmimetype.ts +44 -0
  228. package/src/models/errors/createapplication.ts +149 -0
  229. package/src/models/errors/index.ts +2 -1
  230. package/src/models/errors/supportingdocumentscreate.ts +342 -0
  231. package/src/models/operations/createapplication.ts +69 -1913
  232. package/src/models/operations/index.ts +1 -2
  233. package/src/models/operations/supportingdocumentscreate.ts +222 -0
  234. package/src/sdk/applications.ts +1 -32
  235. package/src/sdk/oauthtoken.ts +3 -3
  236. package/src/sdk/sdk.ts +8 -0
  237. package/src/sdk/supportingdocuments.ts +24 -0
  238. package/funcs/applicationsGet.d.ts +0 -14
  239. package/funcs/applicationsGet.d.ts.map +0 -1
  240. package/funcs/applicationsGet.js +0 -120
  241. package/funcs/applicationsGet.js.map +0 -1
  242. package/funcs/applicationsList.d.ts +0 -14
  243. package/funcs/applicationsList.d.ts.map +0 -1
  244. package/funcs/applicationsList.js.map +0 -1
  245. package/funcs/oauthTokenGet.d.ts.map +0 -1
  246. package/funcs/oauthTokenGet.js.map +0 -1
  247. package/models/components/applicationattributes.d.ts +0 -69
  248. package/models/components/applicationattributes.d.ts.map +0 -1
  249. package/models/components/applicationattributes.js +0 -85
  250. package/models/components/applicationattributes.js.map +0 -1
  251. package/models/components/applicationattributescreate.d.ts +0 -43
  252. package/models/components/applicationattributescreate.d.ts.map +0 -1
  253. package/models/components/applicationattributescreate.js.map +0 -1
  254. package/models/components/applicationresourcebulksubmission.d.ts +0 -527
  255. package/models/components/applicationresourcebulksubmission.d.ts.map +0 -1
  256. package/models/components/applicationresourcebulksubmission.js +0 -565
  257. package/models/components/applicationresourcebulksubmission.js.map +0 -1
  258. package/models/components/applicationtype.d.ts +0 -28
  259. package/models/components/applicationtype.d.ts.map +0 -1
  260. package/models/components/applicationtype.js.map +0 -1
  261. package/models/components/assetattributes.d.ts +0 -311
  262. package/models/components/assetattributes.d.ts.map +0 -1
  263. package/models/components/assetattributes.js +0 -234
  264. package/models/components/assetattributes.js.map +0 -1
  265. package/models/components/commercialassettype.d.ts +0 -44
  266. package/models/components/commercialassettype.d.ts.map +0 -1
  267. package/models/components/commercialassettype.js +0 -85
  268. package/models/components/commercialassettype.js.map +0 -1
  269. package/models/components/consumerassettype.d.ts +0 -32
  270. package/models/components/consumerassettype.d.ts.map +0 -1
  271. package/models/components/consumerassettype.js.map +0 -1
  272. package/models/components/links.d.ts +0 -40
  273. package/models/components/links.d.ts.map +0 -1
  274. package/models/components/links.js.map +0 -1
  275. package/models/errors/responsebody.d.ts +0 -38
  276. package/models/errors/responsebody.d.ts.map +0 -1
  277. package/models/errors/responsebody.js.map +0 -1
  278. package/models/operations/getapplication.d.ts +0 -962
  279. package/models/operations/getapplication.d.ts.map +0 -1
  280. package/models/operations/getapplication.js +0 -1030
  281. package/models/operations/getapplication.js.map +0 -1
  282. package/models/operations/getapplications.d.ts +0 -962
  283. package/models/operations/getapplications.d.ts.map +0 -1
  284. package/models/operations/getapplications.js +0 -1029
  285. package/models/operations/getapplications.js.map +0 -1
  286. package/src/funcs/applicationsGet.ts +0 -168
  287. package/src/models/components/applicationattributes.ts +0 -128
  288. package/src/models/components/applicationattributescreate.ts +0 -90
  289. package/src/models/components/applicationresourcebulksubmission.ts +0 -1172
  290. package/src/models/components/applicationtype.ts +0 -33
  291. package/src/models/components/assetattributes.ts +0 -411
  292. package/src/models/components/commercialassettype.ts +0 -61
  293. package/src/models/components/consumerassettype.ts +0 -43
  294. package/src/models/components/links.ts +0 -72
  295. package/src/models/errors/responsebody.ts +0 -76
  296. package/src/models/operations/getapplication.ts +0 -2246
  297. package/src/models/operations/getapplications.ts +0 -2191
@@ -1,756 +1,29 @@
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;
139
- };
140
- 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
- };
160
- export type Included = {
161
- type: string;
162
- id: string;
163
- attributes?: Attributes | undefined;
164
- relationships?: {
165
- [k: string]: CreateApplicationRelationships;
166
- } | undefined;
167
- /**
168
- * Standard link object
169
- */
170
- links?: components.Links | undefined;
171
- meta?: {
172
- [k: string]: any;
173
- } | undefined;
5
+ export type Data = components.CommercialSecuredApplicationPayload | components.ConsumerSecuredApplicationPayload;
6
+ export type CreateApplicationRequestBody = {
7
+ data: components.CommercialSecuredApplicationPayload | components.ConsumerSecuredApplicationPayload;
174
8
  };
175
9
  /**
176
10
  * The request has succeeded and a new resource has been created as a result.
177
11
  */
178
12
  export type CreateApplicationResponseBody = {
179
- data: Data;
180
- included?: Array<Included> | undefined;
13
+ /**
14
+ * Represents either a Consumer or Commercial Application resource
15
+ */
16
+ data: components.ApplicationResource;
17
+ included?: Array<components.ApplicationResource> | undefined;
181
18
  /**
182
19
  * Standard link object
183
20
  */
184
- links?: components.Links | undefined;
185
- };
186
- /** @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;
21
+ links?: components.LinkObject | undefined;
269
22
  };
270
23
  /** @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
24
  export declare const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown>;
743
25
  /** @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
- };
26
+ export type Data$Outbound = components.CommercialSecuredApplicationPayload$Outbound | components.ConsumerSecuredApplicationPayload$Outbound;
754
27
  /** @internal */
755
28
  export declare const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data>;
756
29
  /**
@@ -768,155 +41,34 @@ export declare namespace Data$ {
768
41
  export declare function dataToJSON(data: Data): string;
769
42
  export declare function dataFromJSON(jsonString: string): SafeParseResult<Data, SDKValidationError>;
770
43
  /** @internal */
771
- export declare const Attributes$inboundSchema: z.ZodType<Attributes, z.ZodTypeDef, unknown>;
772
- /** @internal */
773
- export type Attributes$Outbound = {};
774
- /** @internal */
775
- export declare const Attributes$outboundSchema: z.ZodType<Attributes$Outbound, z.ZodTypeDef, Attributes>;
776
- /**
777
- * @internal
778
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
779
- */
780
- export declare namespace Attributes$ {
781
- /** @deprecated use `Attributes$inboundSchema` instead. */
782
- const inboundSchema: z.ZodType<Attributes, z.ZodTypeDef, unknown>;
783
- /** @deprecated use `Attributes$outboundSchema` instead. */
784
- const outboundSchema: z.ZodType<Attributes$Outbound, z.ZodTypeDef, Attributes>;
785
- /** @deprecated use `Attributes$Outbound` instead. */
786
- type Outbound = Attributes$Outbound;
787
- }
788
- export declare function attributesToJSON(attributes: Attributes): string;
789
- export declare function attributesFromJSON(jsonString: string): SafeParseResult<Attributes, SDKValidationError>;
790
- /** @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>;
838
- /** @internal */
839
- export type CreateApplicationData$Outbound = One$Outbound | Array<Two$Outbound>;
840
- /** @internal */
841
- export declare const CreateApplicationData$outboundSchema: z.ZodType<CreateApplicationData$Outbound, z.ZodTypeDef, CreateApplicationData>;
842
- /**
843
- * @internal
844
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
845
- */
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;
853
- }
854
- export declare function createApplicationDataToJSON(createApplicationData: CreateApplicationData): string;
855
- export declare function createApplicationDataFromJSON(jsonString: string): SafeParseResult<CreateApplicationData, SDKValidationError>;
856
- /** @internal */
857
- export declare const CreateApplicationRelationships$inboundSchema: z.ZodType<CreateApplicationRelationships, z.ZodTypeDef, unknown>;
858
- /** @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
- };
866
- /** @internal */
867
- export declare const CreateApplicationRelationships$outboundSchema: z.ZodType<CreateApplicationRelationships$Outbound, z.ZodTypeDef, CreateApplicationRelationships>;
868
- /**
869
- * @internal
870
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
871
- */
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;
879
- }
880
- export declare function createApplicationRelationshipsToJSON(createApplicationRelationships: CreateApplicationRelationships): string;
881
- export declare function createApplicationRelationshipsFromJSON(jsonString: string): SafeParseResult<CreateApplicationRelationships, SDKValidationError>;
882
- /** @internal */
883
- export declare const Included$inboundSchema: z.ZodType<Included, z.ZodTypeDef, unknown>;
44
+ export declare const CreateApplicationRequestBody$inboundSchema: z.ZodType<CreateApplicationRequestBody, z.ZodTypeDef, unknown>;
884
45
  /** @internal */
885
- export type Included$Outbound = {
886
- type: string;
887
- id: string;
888
- attributes?: Attributes$Outbound | undefined;
889
- relationships?: {
890
- [k: string]: CreateApplicationRelationships$Outbound;
891
- } | undefined;
892
- links?: components.Links$Outbound | undefined;
893
- meta?: {
894
- [k: string]: any;
895
- } | undefined;
46
+ export type CreateApplicationRequestBody$Outbound = {
47
+ data: components.CommercialSecuredApplicationPayload$Outbound | components.ConsumerSecuredApplicationPayload$Outbound;
896
48
  };
897
49
  /** @internal */
898
- export declare const Included$outboundSchema: z.ZodType<Included$Outbound, z.ZodTypeDef, Included>;
50
+ export declare const CreateApplicationRequestBody$outboundSchema: z.ZodType<CreateApplicationRequestBody$Outbound, z.ZodTypeDef, CreateApplicationRequestBody>;
899
51
  /**
900
52
  * @internal
901
53
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
902
54
  */
903
- export declare namespace Included$ {
904
- /** @deprecated use `Included$inboundSchema` instead. */
905
- const inboundSchema: z.ZodType<Included, z.ZodTypeDef, unknown>;
906
- /** @deprecated use `Included$outboundSchema` instead. */
907
- const outboundSchema: z.ZodType<Included$Outbound, z.ZodTypeDef, Included>;
908
- /** @deprecated use `Included$Outbound` instead. */
909
- type Outbound = Included$Outbound;
55
+ export declare namespace CreateApplicationRequestBody$ {
56
+ /** @deprecated use `CreateApplicationRequestBody$inboundSchema` instead. */
57
+ const inboundSchema: z.ZodType<CreateApplicationRequestBody, z.ZodTypeDef, unknown>;
58
+ /** @deprecated use `CreateApplicationRequestBody$outboundSchema` instead. */
59
+ const outboundSchema: z.ZodType<CreateApplicationRequestBody$Outbound, z.ZodTypeDef, CreateApplicationRequestBody>;
60
+ /** @deprecated use `CreateApplicationRequestBody$Outbound` instead. */
61
+ type Outbound = CreateApplicationRequestBody$Outbound;
910
62
  }
911
- export declare function includedToJSON(included: Included): string;
912
- export declare function includedFromJSON(jsonString: string): SafeParseResult<Included, SDKValidationError>;
63
+ export declare function createApplicationRequestBodyToJSON(createApplicationRequestBody: CreateApplicationRequestBody): string;
64
+ export declare function createApplicationRequestBodyFromJSON(jsonString: string): SafeParseResult<CreateApplicationRequestBody, SDKValidationError>;
913
65
  /** @internal */
914
66
  export declare const CreateApplicationResponseBody$inboundSchema: z.ZodType<CreateApplicationResponseBody, z.ZodTypeDef, unknown>;
915
67
  /** @internal */
916
68
  export type CreateApplicationResponseBody$Outbound = {
917
- data: Data$Outbound;
918
- included?: Array<Included$Outbound> | undefined;
919
- links?: components.Links$Outbound | undefined;
69
+ data: components.ApplicationResource$Outbound;
70
+ included?: Array<components.ApplicationResource$Outbound> | undefined;
71
+ links?: components.LinkObject$Outbound | undefined;
920
72
  };
921
73
  /** @internal */
922
74
  export declare const CreateApplicationResponseBody$outboundSchema: z.ZodType<CreateApplicationResponseBody$Outbound, z.ZodTypeDef, CreateApplicationResponseBody>;