@financeable/aggregation 0.13.2 → 0.13.4

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 (270) hide show
  1. package/core.js +17 -0
  2. package/hooks/hooks.js +84 -0
  3. package/hooks/hooks.js.map +1 -0
  4. package/hooks/index.js +22 -0
  5. package/hooks/index.js.map +1 -0
  6. package/hooks/oauth2scopes.d.ts +13 -0
  7. package/hooks/oauth2scopes.d.ts.map +1 -0
  8. package/hooks/oauth2scopes.js +6 -0
  9. package/hooks/oauth2scopes.js.map +1 -0
  10. package/hooks/types.js +6 -0
  11. package/hooks/types.js.map +1 -0
  12. package/index.js +48 -0
  13. package/lib/base64.js +71 -0
  14. package/lib/base64.js.map +1 -0
  15. package/lib/config.d.ts +2 -2
  16. package/lib/config.js +2 -2
  17. package/lib/dlv.d.ts +14 -0
  18. package/lib/dlv.d.ts.map +1 -0
  19. package/lib/dlv.js +49 -0
  20. package/lib/dlv.js.map +1 -0
  21. package/lib/encodings.js +379 -0
  22. package/lib/encodings.js.map +1 -0
  23. package/lib/env.js +82 -0
  24. package/lib/env.js.map +1 -0
  25. package/lib/files.d.ts +13 -0
  26. package/lib/files.d.ts.map +1 -0
  27. package/lib/files.js +77 -0
  28. package/lib/files.js.map +1 -0
  29. package/lib/http.d.ts +67 -0
  30. package/lib/http.d.ts.map +1 -0
  31. package/lib/http.js +217 -0
  32. package/lib/http.js.map +1 -0
  33. package/lib/is-plain-object.d.ts +2 -0
  34. package/lib/is-plain-object.d.ts.map +1 -0
  35. package/lib/is-plain-object.js +41 -0
  36. package/lib/is-plain-object.js.map +1 -0
  37. package/lib/logger.d.ts +6 -0
  38. package/lib/logger.d.ts.map +1 -0
  39. package/lib/logger.js +6 -0
  40. package/lib/logger.js.map +1 -0
  41. package/lib/matchers.js +218 -0
  42. package/lib/matchers.js.map +1 -0
  43. package/lib/primitives.d.ts +26 -0
  44. package/lib/primitives.d.ts.map +1 -0
  45. package/lib/primitives.js +111 -0
  46. package/lib/primitives.js.map +1 -0
  47. package/lib/retries.d.ts +38 -0
  48. package/lib/retries.d.ts.map +1 -0
  49. package/lib/retries.js +153 -0
  50. package/lib/retries.js.map +1 -0
  51. package/lib/schemas.js +62 -0
  52. package/lib/schemas.js.map +1 -0
  53. package/lib/sdks.js +274 -0
  54. package/lib/sdks.js.map +1 -0
  55. package/lib/security.js +145 -0
  56. package/lib/security.js.map +1 -0
  57. package/lib/url.d.ts +5 -0
  58. package/lib/url.d.ts.map +1 -0
  59. package/lib/url.js +25 -0
  60. package/lib/url.js.map +1 -0
  61. package/models/components/addressattributes.js +98 -0
  62. package/models/components/addressattributes.js.map +1 -0
  63. package/models/components/apierrorlinks.js +50 -0
  64. package/models/components/apierrorlinks.js.map +1 -0
  65. package/models/components/applicationresource.js +57 -0
  66. package/models/components/applicationresource.js.map +1 -0
  67. package/models/components/applicationstatus.js +53 -0
  68. package/models/components/applicationstatus.js.map +1 -0
  69. package/models/components/australianstatesandterritories.js +55 -0
  70. package/models/components/australianstatesandterritories.js.map +1 -0
  71. package/models/components/badrequesterror.js +69 -0
  72. package/models/components/badrequesterror.js.map +1 -0
  73. package/models/components/businessapplicationjsonapirelationships.js +126 -0
  74. package/models/components/businessapplicationjsonapirelationships.js.map +1 -0
  75. package/models/components/businessapplicationpayload.js +79 -0
  76. package/models/components/businessapplicationpayload.js.map +1 -0
  77. package/models/components/businessapplicationresource.js +82 -0
  78. package/models/components/businessapplicationresource.js.map +1 -0
  79. package/models/components/businessloanbusinessapplicationrelationships.js +221 -0
  80. package/models/components/businessloanbusinessapplicationrelationships.js.map +1 -0
  81. package/models/components/commercialapplicationjsonapirelationships.js +153 -0
  82. package/models/components/commercialapplicationjsonapirelationships.js.map +1 -0
  83. package/models/components/commercialsecuredapplicationpayload.js +88 -0
  84. package/models/components/commercialsecuredapplicationpayload.js.map +1 -0
  85. package/models/components/commercialsecuredapplicationresource.js +81 -0
  86. package/models/components/commercialsecuredapplicationresource.js.map +1 -0
  87. package/models/components/commercialsecuredloanassetattributes.js +223 -0
  88. package/models/components/commercialsecuredloanassetattributes.js.map +1 -0
  89. package/models/components/commercialsecuredloanassettype.js +73 -0
  90. package/models/components/commercialsecuredloanassettype.js.map +1 -0
  91. package/models/components/commercialsecuredloancommercialapplicationrelationships.js +247 -0
  92. package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -0
  93. package/models/components/commercialsecuredloantypeofsale.js +53 -0
  94. package/models/components/commercialsecuredloantypeofsale.js.map +1 -0
  95. package/models/components/consumerapplicationjsonapirelationships.js +127 -0
  96. package/models/components/consumerapplicationjsonapirelationships.js.map +1 -0
  97. package/models/components/consumersecuredapplicationpayload.js +89 -0
  98. package/models/components/consumersecuredapplicationpayload.js.map +1 -0
  99. package/models/components/consumersecuredapplicationresource.js +82 -0
  100. package/models/components/consumersecuredapplicationresource.js.map +1 -0
  101. package/models/components/consumersecuredloanassetattributes.js +225 -0
  102. package/models/components/consumersecuredloanassetattributes.js.map +1 -0
  103. package/models/components/consumersecuredloanassettype.js +61 -0
  104. package/models/components/consumersecuredloanassettype.js.map +1 -0
  105. package/models/components/consumersecuredloanconsumerapplicationrelationships.js +280 -0
  106. package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -0
  107. package/models/components/consumersecuredloantypeofsale.js +53 -0
  108. package/models/components/consumersecuredloantypeofsale.js.map +1 -0
  109. package/models/components/createsupportingdocumentsresponse.js +82 -0
  110. package/models/components/createsupportingdocumentsresponse.js.map +1 -0
  111. package/models/components/currencycodeiso4217.js +48 -0
  112. package/models/components/currencycodeiso4217.js.map +1 -0
  113. package/models/components/customerassetattributes.js +66 -0
  114. package/models/components/customerassetattributes.js.map +1 -0
  115. package/models/components/customerassettype.js +55 -0
  116. package/models/components/customerassettype.js.map +1 -0
  117. package/models/components/customerattributes.js +68 -0
  118. package/models/components/customerattributes.js.map +1 -0
  119. package/models/components/customerattributescreateitem.js +73 -0
  120. package/models/components/customerattributescreateitem.js.map +1 -0
  121. package/models/components/customeridtype.js +47 -0
  122. package/models/components/customeridtype.js.map +1 -0
  123. package/models/components/customerliabilityattributes.js +77 -0
  124. package/models/components/customerliabilityattributes.js.map +1 -0
  125. package/models/components/customerliabilityrepaymentfrequency.js +50 -0
  126. package/models/components/customerliabilityrepaymentfrequency.js.map +1 -0
  127. package/models/components/customerliabilitytype.js +53 -0
  128. package/models/components/customerliabilitytype.js.map +1 -0
  129. package/models/components/customertitle.js +51 -0
  130. package/models/components/customertitle.js.map +1 -0
  131. package/models/components/documenttype.js +64 -0
  132. package/models/components/documenttype.js.map +1 -0
  133. package/models/components/entityattributes.js +91 -0
  134. package/models/components/entityattributes.js.map +1 -0
  135. package/models/components/entityattributesinput.js +55 -0
  136. package/models/components/entityattributesinput.js.map +1 -0
  137. package/models/components/errorsource.js +52 -0
  138. package/models/components/errorsource.js.map +1 -0
  139. package/models/components/expenseattributes.js +55 -0
  140. package/models/components/expenseattributes.js.map +1 -0
  141. package/models/components/expensefrequency.js +48 -0
  142. package/models/components/expensefrequency.js.map +1 -0
  143. package/models/components/expensetype.js +65 -0
  144. package/models/components/expensetype.js.map +1 -0
  145. package/models/components/forbiddenerror.js +74 -0
  146. package/models/components/forbiddenerror.js.map +1 -0
  147. package/models/components/frequencytype.js +53 -0
  148. package/models/components/frequencytype.js.map +1 -0
  149. package/models/components/incomeattributes.js +55 -0
  150. package/models/components/incomeattributes.js.map +1 -0
  151. package/models/components/incomefrequency.js +49 -0
  152. package/models/components/incomefrequency.js.map +1 -0
  153. package/models/components/incometype.js +55 -0
  154. package/models/components/incometype.js.map +1 -0
  155. package/models/components/index.js +91 -0
  156. package/models/components/index.js.map +1 -0
  157. package/models/components/linkobject.js +66 -0
  158. package/models/components/linkobject.js.map +1 -0
  159. package/models/components/livingarrangements.js +51 -0
  160. package/models/components/livingarrangements.js.map +1 -0
  161. package/models/components/loandetailsattributes.js +256 -0
  162. package/models/components/loandetailsattributes.js.map +1 -0
  163. package/models/components/maritalstatus.js +49 -0
  164. package/models/components/maritalstatus.js.map +1 -0
  165. package/models/components/monetaryquantity.js +71 -0
  166. package/models/components/monetaryquantity.js.map +1 -0
  167. package/models/components/paginationlinks.js +53 -0
  168. package/models/components/paginationlinks.js.map +1 -0
  169. package/models/components/paginationmeta.js +60 -0
  170. package/models/components/paginationmeta.js.map +1 -0
  171. package/models/components/percentagequantity.js +67 -0
  172. package/models/components/percentagequantity.js.map +1 -0
  173. package/models/components/personalapplicationjsonapirelationships.js +101 -0
  174. package/models/components/personalapplicationjsonapirelationships.js.map +1 -0
  175. package/models/components/personalapplicationpayload.js +79 -0
  176. package/models/components/personalapplicationpayload.js.map +1 -0
  177. package/models/components/personalapplicationresource.js +82 -0
  178. package/models/components/personalapplicationresource.js.map +1 -0
  179. package/models/components/personalloanpersonalapplicationrelationships.js +249 -0
  180. package/models/components/personalloanpersonalapplicationrelationships.js.map +1 -0
  181. package/models/components/relationshipresourcenotfound.js +74 -0
  182. package/models/components/relationshipresourcenotfound.js.map +1 -0
  183. package/models/components/repaymentstructure.js +53 -0
  184. package/models/components/repaymentstructure.js.map +1 -0
  185. package/models/components/residencystatus.js +52 -0
  186. package/models/components/residencystatus.js.map +1 -0
  187. package/models/components/resourcenotfound.js +74 -0
  188. package/models/components/resourcenotfound.js.map +1 -0
  189. package/models/components/security.js +49 -0
  190. package/models/components/security.js.map +1 -0
  191. package/models/components/supportingdocumentattributes.js +53 -0
  192. package/models/components/supportingdocumentattributes.js.map +1 -0
  193. package/models/components/supportingdocumentattributesinput.js +51 -0
  194. package/models/components/supportingdocumentattributesinput.js.map +1 -0
  195. package/models/components/supportingdocumentrelationships.js +269 -0
  196. package/models/components/supportingdocumentrelationships.js.map +1 -0
  197. package/models/components/supportingdocumentresource.js +61 -0
  198. package/models/components/supportingdocumentresource.js.map +1 -0
  199. package/models/components/tokenrequest.js +68 -0
  200. package/models/components/tokenrequest.js.map +1 -0
  201. package/models/components/tokenresponse.js +60 -0
  202. package/models/components/tokenresponse.js.map +1 -0
  203. package/models/components/uploadmimetype.js +55 -0
  204. package/models/components/uploadmimetype.js.map +1 -0
  205. package/models/errors/apierror.d.ts +10 -0
  206. package/models/errors/apierror.d.ts.map +1 -0
  207. package/models/errors/apierror.js +34 -0
  208. package/models/errors/apierror.js.map +1 -0
  209. package/models/errors/financeableerror.d.ts +19 -0
  210. package/models/errors/financeableerror.d.ts.map +1 -0
  211. package/models/errors/financeableerror.js +20 -0
  212. package/models/errors/financeableerror.js.map +1 -0
  213. package/models/errors/httpclienterrors.d.ts +44 -0
  214. package/models/errors/httpclienterrors.d.ts.map +1 -0
  215. package/models/errors/httpclienterrors.js +78 -0
  216. package/models/errors/httpclienterrors.js.map +1 -0
  217. package/models/errors/index.js +25 -0
  218. package/models/errors/index.js.map +1 -0
  219. package/models/errors/responsevalidationerror.js +66 -0
  220. package/models/errors/responsevalidationerror.js.map +1 -0
  221. package/models/errors/sdkvalidationerror.js +129 -0
  222. package/models/errors/sdkvalidationerror.js.map +1 -0
  223. package/models/operations/createapplication.js +278 -0
  224. package/models/operations/createapplication.js.map +1 -0
  225. package/models/operations/getapplication.js +256 -0
  226. package/models/operations/getapplication.js.map +1 -0
  227. package/models/operations/index.js +24 -0
  228. package/models/operations/index.js.map +1 -0
  229. package/models/operations/listapplications.js +94 -0
  230. package/models/operations/listapplications.js.map +1 -0
  231. package/models/operations/supportingdocumentscreate.js +133 -0
  232. package/models/operations/supportingdocumentscreate.js.map +1 -0
  233. package/package.json +2 -5
  234. package/sdk/index.js +21 -0
  235. package/sdk/index.js.map +1 -0
  236. package/sdk/sdk.js +23 -0
  237. package/sdk/sdk.js.map +1 -0
  238. package/src/lib/config.ts +2 -2
  239. package/types/async.d.ts +23 -0
  240. package/types/async.d.ts.map +1 -0
  241. package/types/async.js +44 -0
  242. package/types/async.js.map +1 -0
  243. package/types/blobs.js +62 -0
  244. package/types/blobs.js.map +1 -0
  245. package/types/constdatetime.js +46 -0
  246. package/types/constdatetime.js.map +1 -0
  247. package/types/enums.js +66 -0
  248. package/types/enums.js.map +1 -0
  249. package/types/fp.d.ts +31 -0
  250. package/types/fp.d.ts.map +1 -0
  251. package/types/fp.js +37 -0
  252. package/types/fp.js.map +1 -0
  253. package/types/index.js +29 -0
  254. package/types/index.js.map +1 -0
  255. package/types/operations.d.ts +27 -0
  256. package/types/operations.d.ts.map +1 -0
  257. package/types/operations.js +83 -0
  258. package/types/operations.js.map +1 -0
  259. package/types/rfcdate.d.ts +21 -0
  260. package/types/rfcdate.d.ts.map +1 -0
  261. package/types/rfcdate.js +46 -0
  262. package/types/rfcdate.js.map +1 -0
  263. package/types/streams.d.ts +2 -0
  264. package/types/streams.d.ts.map +1 -0
  265. package/types/streams.js +18 -0
  266. package/types/streams.js.map +1 -0
  267. package/types/unrecognized.d.ts +16 -0
  268. package/types/unrecognized.d.ts.map +1 -0
  269. package/types/unrecognized.js +34 -0
  270. package/types/unrecognized.js.map +1 -0
@@ -0,0 +1,249 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.PersonalLoanPersonalApplicationRelationships$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsCustomers$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsCustomersData$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsRelationships$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsExpenses$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsExpensesData$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsExpensesType$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsAssets$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAssetsData$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsLiabilities$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsIncome$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataData$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsAddresses$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAddressesData$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataType$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsCustomersType$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsLoanDetails$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsData$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsType$outboundSchema = exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsExpensesType = exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAssetsType = exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType = exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsType = exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataType = exports.PersonalLoanPersonalApplicationRelationshipsCustomersType = exports.PersonalLoanPersonalApplicationRelationshipsType = void 0;
40
+ exports.personalLoanPersonalApplicationRelationshipsDataToJSON = personalLoanPersonalApplicationRelationshipsDataToJSON;
41
+ exports.personalLoanPersonalApplicationRelationshipsLoanDetailsToJSON = personalLoanPersonalApplicationRelationshipsLoanDetailsToJSON;
42
+ exports.personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAddressesDataToJSON = personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAddressesDataToJSON;
43
+ exports.personalLoanPersonalApplicationRelationshipsAddressesToJSON = personalLoanPersonalApplicationRelationshipsAddressesToJSON;
44
+ exports.personalLoanPersonalApplicationRelationshipsCustomersDataDataToJSON = personalLoanPersonalApplicationRelationshipsCustomersDataDataToJSON;
45
+ exports.personalLoanPersonalApplicationRelationshipsIncomeToJSON = personalLoanPersonalApplicationRelationshipsIncomeToJSON;
46
+ exports.personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsDataToJSON = personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsDataToJSON;
47
+ exports.personalLoanPersonalApplicationRelationshipsLiabilitiesToJSON = personalLoanPersonalApplicationRelationshipsLiabilitiesToJSON;
48
+ exports.personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAssetsDataToJSON = personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAssetsDataToJSON;
49
+ exports.personalLoanPersonalApplicationRelationshipsAssetsToJSON = personalLoanPersonalApplicationRelationshipsAssetsToJSON;
50
+ exports.personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsExpensesDataToJSON = personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsExpensesDataToJSON;
51
+ exports.personalLoanPersonalApplicationRelationshipsExpensesToJSON = personalLoanPersonalApplicationRelationshipsExpensesToJSON;
52
+ exports.personalLoanPersonalApplicationRelationshipsRelationshipsToJSON = personalLoanPersonalApplicationRelationshipsRelationshipsToJSON;
53
+ exports.personalLoanPersonalApplicationRelationshipsCustomersDataToJSON = personalLoanPersonalApplicationRelationshipsCustomersDataToJSON;
54
+ exports.personalLoanPersonalApplicationRelationshipsCustomersToJSON = personalLoanPersonalApplicationRelationshipsCustomersToJSON;
55
+ exports.personalLoanPersonalApplicationRelationshipsToJSON = personalLoanPersonalApplicationRelationshipsToJSON;
56
+ const z = __importStar(require("zod/v3"));
57
+ const addressattributes_js_1 = require("./addressattributes.js");
58
+ const customerassetattributes_js_1 = require("./customerassetattributes.js");
59
+ const customerattributescreateitem_js_1 = require("./customerattributescreateitem.js");
60
+ const customerliabilityattributes_js_1 = require("./customerliabilityattributes.js");
61
+ const expenseattributes_js_1 = require("./expenseattributes.js");
62
+ const incomeattributes_js_1 = require("./incomeattributes.js");
63
+ const linkobject_js_1 = require("./linkobject.js");
64
+ const loandetailsattributes_js_1 = require("./loandetailsattributes.js");
65
+ exports.PersonalLoanPersonalApplicationRelationshipsType = {
66
+ LoanDetails: "loan-details",
67
+ };
68
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersType = {
69
+ Customers: "customers",
70
+ };
71
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataType = {
72
+ Addresses: "addresses",
73
+ };
74
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsType = {
75
+ Income: "income",
76
+ };
77
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType = {
78
+ CustomerLiabilities: "customer-liabilities",
79
+ };
80
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAssetsType = {
81
+ CustomerAssets: "customer-assets",
82
+ };
83
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsExpensesType = {
84
+ Expenses: "expenses",
85
+ };
86
+ /** @internal */
87
+ exports.PersonalLoanPersonalApplicationRelationshipsType$outboundSchema = z
88
+ .nativeEnum(exports.PersonalLoanPersonalApplicationRelationshipsType);
89
+ /** @internal */
90
+ exports.PersonalLoanPersonalApplicationRelationshipsData$outboundSchema = z.object({
91
+ type: exports.PersonalLoanPersonalApplicationRelationshipsType$outboundSchema,
92
+ attributes: loandetailsattributes_js_1.LoanDetailsAttributes$outboundSchema,
93
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
94
+ meta: z.record(z.any()).optional(),
95
+ });
96
+ function personalLoanPersonalApplicationRelationshipsDataToJSON(personalLoanPersonalApplicationRelationshipsData) {
97
+ return JSON.stringify(exports.PersonalLoanPersonalApplicationRelationshipsData$outboundSchema.parse(personalLoanPersonalApplicationRelationshipsData));
98
+ }
99
+ /** @internal */
100
+ exports.PersonalLoanPersonalApplicationRelationshipsLoanDetails$outboundSchema = z.object({
101
+ data: z.lazy(() => exports.PersonalLoanPersonalApplicationRelationshipsData$outboundSchema),
102
+ });
103
+ function personalLoanPersonalApplicationRelationshipsLoanDetailsToJSON(personalLoanPersonalApplicationRelationshipsLoanDetails) {
104
+ return JSON.stringify(exports.PersonalLoanPersonalApplicationRelationshipsLoanDetails$outboundSchema
105
+ .parse(personalLoanPersonalApplicationRelationshipsLoanDetails));
106
+ }
107
+ /** @internal */
108
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersType$outboundSchema = z.nativeEnum(exports.PersonalLoanPersonalApplicationRelationshipsCustomersType);
109
+ /** @internal */
110
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataType$outboundSchema = z.nativeEnum(exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataType);
111
+ /** @internal */
112
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAddressesData$outboundSchema = z.object({
113
+ type: exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataType$outboundSchema,
114
+ attributes: addressattributes_js_1.AddressAttributes$outboundSchema,
115
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
116
+ meta: z.record(z.any()).optional(),
117
+ });
118
+ function personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAddressesDataToJSON(personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAddressesData) {
119
+ return JSON.stringify(exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAddressesData$outboundSchema
120
+ .parse(personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAddressesData));
121
+ }
122
+ /** @internal */
123
+ exports.PersonalLoanPersonalApplicationRelationshipsAddresses$outboundSchema = z.object({
124
+ data: z.array(z.lazy(() => exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAddressesData$outboundSchema)),
125
+ });
126
+ function personalLoanPersonalApplicationRelationshipsAddressesToJSON(personalLoanPersonalApplicationRelationshipsAddresses) {
127
+ return JSON.stringify(exports.PersonalLoanPersonalApplicationRelationshipsAddresses$outboundSchema.parse(personalLoanPersonalApplicationRelationshipsAddresses));
128
+ }
129
+ /** @internal */
130
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema = z.nativeEnum(exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsType);
131
+ /** @internal */
132
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataData$outboundSchema = z.object({
133
+ type: exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema,
134
+ attributes: incomeattributes_js_1.IncomeAttributes$outboundSchema,
135
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
136
+ meta: z.record(z.any()).optional(),
137
+ });
138
+ function personalLoanPersonalApplicationRelationshipsCustomersDataDataToJSON(personalLoanPersonalApplicationRelationshipsCustomersDataData) {
139
+ return JSON.stringify(exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataData$outboundSchema
140
+ .parse(personalLoanPersonalApplicationRelationshipsCustomersDataData));
141
+ }
142
+ /** @internal */
143
+ exports.PersonalLoanPersonalApplicationRelationshipsIncome$outboundSchema = z.object({
144
+ data: z.array(z.lazy(() => exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataData$outboundSchema)),
145
+ });
146
+ function personalLoanPersonalApplicationRelationshipsIncomeToJSON(personalLoanPersonalApplicationRelationshipsIncome) {
147
+ return JSON.stringify(exports.PersonalLoanPersonalApplicationRelationshipsIncome$outboundSchema.parse(personalLoanPersonalApplicationRelationshipsIncome));
148
+ }
149
+ /** @internal */
150
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType$outboundSchema = z.nativeEnum(exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType);
151
+ /** @internal */
152
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema = z.object({
153
+ type: exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType$outboundSchema,
154
+ attributes: customerliabilityattributes_js_1.CustomerLiabilityAttributes$outboundSchema,
155
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
156
+ meta: z.record(z.any()).optional(),
157
+ });
158
+ function personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsDataToJSON(personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsData) {
159
+ return JSON.stringify(exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema
160
+ .parse(personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsData));
161
+ }
162
+ /** @internal */
163
+ exports.PersonalLoanPersonalApplicationRelationshipsLiabilities$outboundSchema = z.object({
164
+ data: z.array(z.lazy(() => exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema)),
165
+ });
166
+ function personalLoanPersonalApplicationRelationshipsLiabilitiesToJSON(personalLoanPersonalApplicationRelationshipsLiabilities) {
167
+ return JSON.stringify(exports.PersonalLoanPersonalApplicationRelationshipsLiabilities$outboundSchema
168
+ .parse(personalLoanPersonalApplicationRelationshipsLiabilities));
169
+ }
170
+ /** @internal */
171
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema = z.nativeEnum(exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAssetsType);
172
+ /** @internal */
173
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAssetsData$outboundSchema = z.object({
174
+ type: exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema,
175
+ attributes: customerassetattributes_js_1.CustomerAssetAttributes$outboundSchema,
176
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
177
+ meta: z.record(z.any()).optional(),
178
+ });
179
+ function personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAssetsDataToJSON(personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAssetsData) {
180
+ return JSON.stringify(exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAssetsData$outboundSchema
181
+ .parse(personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAssetsData));
182
+ }
183
+ /** @internal */
184
+ exports.PersonalLoanPersonalApplicationRelationshipsAssets$outboundSchema = z.object({
185
+ data: z.array(z.lazy(() => exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsAssetsData$outboundSchema)),
186
+ });
187
+ function personalLoanPersonalApplicationRelationshipsAssetsToJSON(personalLoanPersonalApplicationRelationshipsAssets) {
188
+ return JSON.stringify(exports.PersonalLoanPersonalApplicationRelationshipsAssets$outboundSchema.parse(personalLoanPersonalApplicationRelationshipsAssets));
189
+ }
190
+ /** @internal */
191
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsExpensesType$outboundSchema = z.nativeEnum(exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsExpensesType);
192
+ /** @internal */
193
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsExpensesData$outboundSchema = z.object({
194
+ type: exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsExpensesType$outboundSchema,
195
+ attributes: expenseattributes_js_1.ExpenseAttributes$outboundSchema,
196
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
197
+ meta: z.record(z.any()).optional(),
198
+ });
199
+ function personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsExpensesDataToJSON(personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsExpensesData) {
200
+ return JSON.stringify(exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsExpensesData$outboundSchema
201
+ .parse(personalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsExpensesData));
202
+ }
203
+ /** @internal */
204
+ exports.PersonalLoanPersonalApplicationRelationshipsExpenses$outboundSchema = z.object({
205
+ data: z.array(z.lazy(() => exports.PersonalLoanPersonalApplicationRelationshipsCustomersDataRelationshipsExpensesData$outboundSchema)),
206
+ });
207
+ function personalLoanPersonalApplicationRelationshipsExpensesToJSON(personalLoanPersonalApplicationRelationshipsExpenses) {
208
+ return JSON.stringify(exports.PersonalLoanPersonalApplicationRelationshipsExpenses$outboundSchema.parse(personalLoanPersonalApplicationRelationshipsExpenses));
209
+ }
210
+ /** @internal */
211
+ exports.PersonalLoanPersonalApplicationRelationshipsRelationships$outboundSchema = z.object({
212
+ addresses: z.lazy(() => exports.PersonalLoanPersonalApplicationRelationshipsAddresses$outboundSchema).optional(),
213
+ income: z.lazy(() => exports.PersonalLoanPersonalApplicationRelationshipsIncome$outboundSchema).optional(),
214
+ liabilities: z.lazy(() => exports.PersonalLoanPersonalApplicationRelationshipsLiabilities$outboundSchema).optional(),
215
+ assets: z.lazy(() => exports.PersonalLoanPersonalApplicationRelationshipsAssets$outboundSchema).optional(),
216
+ expenses: z.lazy(() => exports.PersonalLoanPersonalApplicationRelationshipsExpenses$outboundSchema).optional(),
217
+ });
218
+ function personalLoanPersonalApplicationRelationshipsRelationshipsToJSON(personalLoanPersonalApplicationRelationshipsRelationships) {
219
+ return JSON.stringify(exports.PersonalLoanPersonalApplicationRelationshipsRelationships$outboundSchema
220
+ .parse(personalLoanPersonalApplicationRelationshipsRelationships));
221
+ }
222
+ /** @internal */
223
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomersData$outboundSchema = z.object({
224
+ type: exports.PersonalLoanPersonalApplicationRelationshipsCustomersType$outboundSchema,
225
+ attributes: customerattributescreateitem_js_1.CustomerAttributesCreateItem$outboundSchema,
226
+ relationships: z.lazy(() => exports.PersonalLoanPersonalApplicationRelationshipsRelationships$outboundSchema).optional(),
227
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
228
+ meta: z.record(z.any()).optional(),
229
+ });
230
+ function personalLoanPersonalApplicationRelationshipsCustomersDataToJSON(personalLoanPersonalApplicationRelationshipsCustomersData) {
231
+ return JSON.stringify(exports.PersonalLoanPersonalApplicationRelationshipsCustomersData$outboundSchema
232
+ .parse(personalLoanPersonalApplicationRelationshipsCustomersData));
233
+ }
234
+ /** @internal */
235
+ exports.PersonalLoanPersonalApplicationRelationshipsCustomers$outboundSchema = z.object({
236
+ data: z.array(z.lazy(() => exports.PersonalLoanPersonalApplicationRelationshipsCustomersData$outboundSchema)),
237
+ });
238
+ function personalLoanPersonalApplicationRelationshipsCustomersToJSON(personalLoanPersonalApplicationRelationshipsCustomers) {
239
+ return JSON.stringify(exports.PersonalLoanPersonalApplicationRelationshipsCustomers$outboundSchema.parse(personalLoanPersonalApplicationRelationshipsCustomers));
240
+ }
241
+ /** @internal */
242
+ exports.PersonalLoanPersonalApplicationRelationships$outboundSchema = z.object({
243
+ loanDetails: z.lazy(() => exports.PersonalLoanPersonalApplicationRelationshipsLoanDetails$outboundSchema).optional(),
244
+ customers: z.lazy(() => exports.PersonalLoanPersonalApplicationRelationshipsCustomers$outboundSchema).optional(),
245
+ });
246
+ function personalLoanPersonalApplicationRelationshipsToJSON(personalLoanPersonalApplicationRelationships) {
247
+ return JSON.stringify(exports.PersonalLoanPersonalApplicationRelationships$outboundSchema.parse(personalLoanPersonalApplicationRelationships));
248
+ }
249
+ //# sourceMappingURL=personalloanpersonalapplicationrelationships.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"personalloanpersonalapplicationrelationships.js","sourceRoot":"","sources":["../../src/models/components/personalloanpersonalapplicationrelationships.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuPH,wHASC;AAmBD,sIAQC;AAuCD,8LAUC;AAuBD,kIASC;AAiCD,kJAQC;AAuBD,4HASC;AAiCD,4KAUC;AAuBD,sIAQC;AAiCD,wLAUC;AAuBD,4HASC;AAiCD,4LAUC;AAuBD,gIASC;AA8CD,0IAQC;AA+BD,0IAQC;AAuBD,kIASC;AA2BD,gHASC;AApzBD,0CAA4B;AAE5B,iEAIgC;AAChC,6EAIsC;AACtC,uFAI2C;AAC3C,qFAI0C;AAC1C,iEAIgC;AAChC,+DAI+B;AAC/B,mDAIyB;AACzB,yEAIoC;AAEvB,QAAA,gDAAgD,GAAG;IAC9D,WAAW,EAAE,cAAc;CACnB,CAAC;AAmBE,QAAA,yDAAyD,GAAG;IACvE,SAAS,EAAE,WAAW;CACd,CAAC;AAIE,QAAA,6DAA6D,GAAG;IAC3E,SAAS,EAAE,WAAW;CACd,CAAC;AAoBE,QAAA,0EAA0E,GACrF;IACE,MAAM,EAAE,QAAQ;CACR,CAAC;AAkBA,QAAA,qFAAqF,GAChG;IACE,mBAAmB,EAA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AQ,EAAE;IACZ,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,yCAAyB,CAAC,CAAC,QAAQ,EAAE;IACrD,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEL,SAAgB,+DAA+D,CAC7E,yDAC2D;IAE3D,OAAO,IAAI,CAAC,SAAS,CACnB,gFAAwE;SACrE,KAAK,CAAC,yDAAyD,CAAC,CACpE,CAAC;AACJ,CAAC;AASD,gBAAgB;AACH,QAAA,oEAAoE,GAK3E,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,KAAK,CACX,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACV,gFAAwE,CACzE,CACF;CACF,CAAC,CAAC;AAEL,SAAgB,2DAA2D,CACzE,qDACuD;IAEvD,OAAO,IAAI,CAAC,SAAS,CACnB,4EAAoE,CAAC,KAAK,CACxE,qDAAqD,CACtD,CACF,CAAC;AACJ,CAAC;AAYD,gBAAgB;AACH,QAAA,2DAA2D,GAKlE,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACvB,8EAAsE,CACvE,CAAC,QAAQ,EAAE;IACZ,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACrB,4EAAoE,CACrE,CAAC,QAAQ,EAAE;CACb,CAAC,CAAC;AAEL,SAAgB,kDAAkD,CAChE,4CAC8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,mEAA2D,CAAC,KAAK,CAC/D,4CAA4C,CAC7C,CACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.RelationshipResourceNotFound$inboundSchema = exports.RelationshipResourceNotFoundTitle$inboundSchema = exports.RelationshipResourceNotFoundCode$inboundSchema = exports.RelationshipResourceNotFoundStatus$inboundSchema = exports.RelationshipResourceNotFoundTitle = exports.RelationshipResourceNotFoundCode = exports.RelationshipResourceNotFoundStatus = void 0;
40
+ exports.relationshipResourceNotFoundFromJSON = relationshipResourceNotFoundFromJSON;
41
+ const z = __importStar(require("zod/v3"));
42
+ const schemas_js_1 = require("../../lib/schemas.js");
43
+ const apierrorlinks_js_1 = require("./apierrorlinks.js");
44
+ const errorsource_js_1 = require("./errorsource.js");
45
+ exports.RelationshipResourceNotFoundStatus = {
46
+ FourHundredAndFour: "404",
47
+ };
48
+ exports.RelationshipResourceNotFoundCode = {
49
+ RelationshipResourceNotFound: "RelationshipResourceNotFound",
50
+ };
51
+ exports.RelationshipResourceNotFoundTitle = {
52
+ RelationshipResourceNotFound: "Relationship Resource Not Found",
53
+ };
54
+ /** @internal */
55
+ exports.RelationshipResourceNotFoundStatus$inboundSchema = z.nativeEnum(exports.RelationshipResourceNotFoundStatus);
56
+ /** @internal */
57
+ exports.RelationshipResourceNotFoundCode$inboundSchema = z.nativeEnum(exports.RelationshipResourceNotFoundCode);
58
+ /** @internal */
59
+ exports.RelationshipResourceNotFoundTitle$inboundSchema = z.nativeEnum(exports.RelationshipResourceNotFoundTitle);
60
+ /** @internal */
61
+ exports.RelationshipResourceNotFound$inboundSchema = z.object({
62
+ id: z.string().optional(),
63
+ links: apierrorlinks_js_1.APIErrorLinks$inboundSchema.optional(),
64
+ status: exports.RelationshipResourceNotFoundStatus$inboundSchema,
65
+ code: exports.RelationshipResourceNotFoundCode$inboundSchema,
66
+ title: exports.RelationshipResourceNotFoundTitle$inboundSchema,
67
+ detail: z.string(),
68
+ source: errorsource_js_1.ErrorSource$inboundSchema,
69
+ meta: z.record(z.any()),
70
+ });
71
+ function relationshipResourceNotFoundFromJSON(jsonString) {
72
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RelationshipResourceNotFound$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RelationshipResourceNotFound' from JSON`);
73
+ }
74
+ //# sourceMappingURL=relationshipresourcenotfound.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"relationshipresourcenotfound.js","sourceRoot":"","sources":["../../src/models/components/relationshipresourcenotfound.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyEH,oFAQC;AA/ED,0CAA4B;AAC5B,qDAAiD;AAIjD,yDAAgF;AAChF,qDAA0E;AAE7D,QAAA,kCAAkC,GAAG;IAChD,kBAAkB,EAAE,KAAK;CACjB,CAAC;AAKE,QAAA,gCAAgC,GAAG;IAC9C,4BAA4B,EAAE,8BAA8B;CACpD,CAAC;AAKE,QAAA,iCAAiC,GAAG;IAC/C,4BAA4B,EAAE,iCAAiC;CACvD,CAAC;AAgBX,gBAAgB;AACH,QAAA,gDAAgD,GAEzD,CAAC,CAAC,UAAU,CAAC,0CAAkC,CAAC,CAAC;AAErD,gBAAgB;AACH,QAAA,8CAA8C,GAEvD,CAAC,CAAC,UAAU,CAAC,wCAAgC,CAAC,CAAC;AAEnD,gBAAgB;AACH,QAAA,+CAA+C,GAExD,CAAC,CAAC,UAAU,CAAC,yCAAiC,CAAC,CAAC;AAEpD,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,KAAK,EAAE,8CAA2B,CAAC,QAAQ,EAAE;IAC7C,MAAM,EAAE,wDAAgD;IACxD,IAAI,EAAE,sDAA8C;IACpD,KAAK,EAAE,uDAA+C;IACtD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,MAAM,EAAE,0CAAyB;IACjC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;CACxB,CAAC,CAAC;AAEH,SAAgB,oCAAoC,CAClD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kDAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AACJ,CAAC"}
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.RepaymentStructure$outboundSchema = exports.RepaymentStructure$inboundSchema = exports.RepaymentStructure = void 0;
40
+ const z = __importStar(require("zod/v3"));
41
+ /**
42
+ * Repayment structure types
43
+ */
44
+ exports.RepaymentStructure = {
45
+ CustomPayments: "custom-payments",
46
+ GroupPayments: "group-payments",
47
+ SinglePayments: "single-payments",
48
+ };
49
+ /** @internal */
50
+ exports.RepaymentStructure$inboundSchema = z.nativeEnum(exports.RepaymentStructure);
51
+ /** @internal */
52
+ exports.RepaymentStructure$outboundSchema = exports.RepaymentStructure$inboundSchema;
53
+ //# sourceMappingURL=repaymentstructure.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"repaymentstructure.js","sourceRoot":"","sources":["../../src/models/components/repaymentstructure.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAG5B;;GAEG;AACU,QAAA,kBAAkB,GAAG;IAChC,cAAc,EAAE,iBAAiB;IACjC,aAAa,EAAE,gBAAgB;IAC/B,cAAc,EAAE,iBAAiB;CACzB,CAAC;AAMX,gBAAgB;AACH,QAAA,gCAAgC,GAEzC,CAAC,CAAC,UAAU,CAAC,0BAAkB,CAAC,CAAC;AACrC,gBAAgB;AACH,QAAA,iCAAiC,GAE1C,wCAAgC,CAAC"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ResidencyStatus$outboundSchema = exports.ResidencyStatus$inboundSchema = exports.ResidencyStatus = void 0;
40
+ const z = __importStar(require("zod/v3"));
41
+ exports.ResidencyStatus = {
42
+ AustralianCitizen: "AUSTRALIAN_CITIZEN",
43
+ PermanentResident: "PERMANENT_RESIDENT",
44
+ NewZealandCitizen: "NEW_ZEALAND_CITIZEN",
45
+ WorkingVisa: "WORKING_VISA",
46
+ StudentVisa: "STUDENT_VISA",
47
+ };
48
+ /** @internal */
49
+ exports.ResidencyStatus$inboundSchema = z.nativeEnum(exports.ResidencyStatus);
50
+ /** @internal */
51
+ exports.ResidencyStatus$outboundSchema = exports.ResidencyStatus$inboundSchema;
52
+ //# sourceMappingURL=residencystatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"residencystatus.js","sourceRoot":"","sources":["../../src/models/components/residencystatus.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,eAAe,GAAG;IAC7B,iBAAiB,EAAE,oBAAoB;IACvC,iBAAiB,EAAE,oBAAoB;IACvC,iBAAiB,EAAE,qBAAqB;IACxC,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,cAAc;CACnB,CAAC;AAGX,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,CAAC,CAAC,UAAU,CAAC,uBAAe,CAAC,CAAC;AAClC,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,qCAA6B,CAAC"}
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ResourceNotFound$inboundSchema = exports.ResourceNotFoundTitle$inboundSchema = exports.ResourceNotFoundCode$inboundSchema = exports.ResourceNotFoundStatus$inboundSchema = exports.ResourceNotFoundTitle = exports.ResourceNotFoundCode = exports.ResourceNotFoundStatus = void 0;
40
+ exports.resourceNotFoundFromJSON = resourceNotFoundFromJSON;
41
+ const z = __importStar(require("zod/v3"));
42
+ const schemas_js_1 = require("../../lib/schemas.js");
43
+ const apierrorlinks_js_1 = require("./apierrorlinks.js");
44
+ const errorsource_js_1 = require("./errorsource.js");
45
+ exports.ResourceNotFoundStatus = {
46
+ FourHundredAndFour: "404",
47
+ };
48
+ exports.ResourceNotFoundCode = {
49
+ ResourceNotFound: "ResourceNotFound",
50
+ };
51
+ exports.ResourceNotFoundTitle = {
52
+ ResourceNotFound: "Resource Not Found",
53
+ };
54
+ /** @internal */
55
+ exports.ResourceNotFoundStatus$inboundSchema = z.nativeEnum(exports.ResourceNotFoundStatus);
56
+ /** @internal */
57
+ exports.ResourceNotFoundCode$inboundSchema = z.nativeEnum(exports.ResourceNotFoundCode);
58
+ /** @internal */
59
+ exports.ResourceNotFoundTitle$inboundSchema = z.nativeEnum(exports.ResourceNotFoundTitle);
60
+ /** @internal */
61
+ exports.ResourceNotFound$inboundSchema = z.object({
62
+ id: z.string().optional(),
63
+ links: apierrorlinks_js_1.APIErrorLinks$inboundSchema.optional(),
64
+ status: exports.ResourceNotFoundStatus$inboundSchema,
65
+ code: exports.ResourceNotFoundCode$inboundSchema,
66
+ title: exports.ResourceNotFoundTitle$inboundSchema,
67
+ detail: z.string(),
68
+ source: errorsource_js_1.ErrorSource$inboundSchema.optional(),
69
+ meta: z.record(z.any()).optional(),
70
+ });
71
+ function resourceNotFoundFromJSON(jsonString) {
72
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ResourceNotFound$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResourceNotFound' from JSON`);
73
+ }
74
+ //# sourceMappingURL=resourcenotfound.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resourcenotfound.js","sourceRoot":"","sources":["../../src/models/components/resourcenotfound.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsEH,4DAQC;AA5ED,0CAA4B;AAC5B,qDAAiD;AAIjD,yDAAgF;AAChF,qDAA0E;AAE7D,QAAA,sBAAsB,GAAG;IACpC,kBAAkB,EAAE,KAAK;CACjB,CAAC;AAGE,QAAA,oBAAoB,GAAG;IAClC,gBAAgB,EAAE,kBAAkB;CAC5B,CAAC;AAGE,QAAA,qBAAqB,GAAG;IACnC,gBAAgB,EAAE,oBAAoB;CAC9B,CAAC;AAiBX,gBAAgB;AACH,QAAA,oCAAoC,GAE7C,CAAC,CAAC,UAAU,CAAC,8BAAsB,CAAC,CAAC;AAEzC,gBAAgB;AACH,QAAA,kCAAkC,GAE3C,CAAC,CAAC,UAAU,CAAC,4BAAoB,CAAC,CAAC;AAEvC,gBAAgB;AACH,QAAA,mCAAmC,GAE5C,CAAC,CAAC,UAAU,CAAC,6BAAqB,CAAC,CAAC;AAExC,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,KAAK,EAAE,8CAA2B,CAAC,QAAQ,EAAE;IAC7C,MAAM,EAAE,4CAAoC;IAC5C,IAAI,EAAE,0CAAkC;IACxC,KAAK,EAAE,2CAAmC;IAC1C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,MAAM,EAAE,0CAAyB,CAAC,QAAQ,EAAE;IAC5C,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEH,SAAgB,wBAAwB,CACtC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC"}
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Security$outboundSchema = void 0;
40
+ exports.securityToJSON = securityToJSON;
41
+ const z = __importStar(require("zod/v3"));
42
+ /** @internal */
43
+ exports.Security$outboundSchema = z.object({
44
+ clientCredentials: z.string().optional(),
45
+ });
46
+ function securityToJSON(security) {
47
+ return JSON.stringify(exports.Security$outboundSchema.parse(security));
48
+ }
49
+ //# sourceMappingURL=security.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"security.js","sourceRoot":"","sources":["../../src/models/components/security.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBH,wCAEC;AAtBD,0CAA4B;AAW5B,gBAAgB;AACH,QAAA,uBAAuB,GAIhC,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC;AAEH,SAAgB,cAAc,CAAC,QAAkB;IAC/C,OAAO,IAAI,CAAC,SAAS,CAAC,+BAAuB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;AACjE,CAAC"}