@financeable/aggregation 0.12.1 → 0.13.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 (513) hide show
  1. package/lib/config.d.ts +3 -3
  2. package/lib/config.js +3 -3
  3. package/lib/encodings.d.ts +1 -0
  4. package/lib/encodings.d.ts.map +1 -1
  5. package/models/components/addressattributes.d.ts +0 -28
  6. package/models/components/addressattributes.d.ts.map +1 -1
  7. package/models/components/apierrorlinks.d.ts +0 -19
  8. package/models/components/apierrorlinks.d.ts.map +1 -1
  9. package/models/components/applicationresource.d.ts +4 -21
  10. package/models/components/applicationresource.d.ts.map +1 -1
  11. package/models/components/applicationstatus.d.ts +0 -30
  12. package/models/components/applicationstatus.d.ts.map +1 -1
  13. package/models/components/australianstatesandterritories.d.ts +0 -28
  14. package/models/components/australianstatesandterritories.d.ts.map +1 -1
  15. package/models/components/badrequesterror.d.ts +3 -85
  16. package/models/components/badrequesterror.d.ts.map +1 -1
  17. package/models/components/businessapplicationjsonapirelationships.d.ts +1 -205
  18. package/models/components/businessapplicationjsonapirelationships.d.ts.map +1 -1
  19. package/models/components/businessapplicationpayload.d.ts +0 -64
  20. package/models/components/businessapplicationpayload.d.ts.map +1 -1
  21. package/models/components/businessapplicationresource.d.ts +12 -94
  22. package/models/components/businessapplicationresource.d.ts.map +1 -1
  23. package/models/components/businessloanbusinessapplicationrelationships.d.ts +0 -308
  24. package/models/components/businessloanbusinessapplicationrelationships.d.ts.map +1 -1
  25. package/models/components/commercialapplicationjsonapirelationships.d.ts +1 -267
  26. package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -1
  27. package/models/components/commercialsecuredapplicationpayload.d.ts +0 -78
  28. package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -1
  29. package/models/components/commercialsecuredapplicationresource.d.ts +12 -94
  30. package/models/components/commercialsecuredapplicationresource.d.ts.map +1 -1
  31. package/models/components/commercialsecuredloanassetattributes.d.ts +0 -130
  32. package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -1
  33. package/models/components/commercialsecuredloanassettype.d.ts +0 -64
  34. package/models/components/commercialsecuredloanassettype.d.ts.map +1 -1
  35. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +0 -354
  36. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
  37. package/models/components/commercialsecuredloantypeofsale.d.ts +0 -24
  38. package/models/components/commercialsecuredloantypeofsale.d.ts.map +1 -1
  39. package/models/components/consumerapplicationjsonapirelationships.d.ts +1 -205
  40. package/models/components/consumerapplicationjsonapirelationships.d.ts.map +1 -1
  41. package/models/components/consumersecuredapplicationpayload.d.ts +0 -78
  42. package/models/components/consumersecuredapplicationpayload.d.ts.map +1 -1
  43. package/models/components/consumersecuredapplicationresource.d.ts +12 -94
  44. package/models/components/consumersecuredapplicationresource.d.ts.map +1 -1
  45. package/models/components/consumersecuredloanassetattributes.d.ts +0 -130
  46. package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -1
  47. package/models/components/consumersecuredloanassettype.d.ts +0 -40
  48. package/models/components/consumersecuredloanassettype.d.ts.map +1 -1
  49. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +0 -400
  50. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
  51. package/models/components/consumersecuredloantypeofsale.d.ts +0 -24
  52. package/models/components/consumersecuredloantypeofsale.d.ts.map +1 -1
  53. package/models/components/createsupportingdocumentsresponse.d.ts +3 -78
  54. package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -1
  55. package/models/components/currencycodeiso4217.d.ts +0 -14
  56. package/models/components/currencycodeiso4217.d.ts.map +1 -1
  57. package/models/components/customerassetattributes.d.ts +0 -12
  58. package/models/components/customerassetattributes.d.ts.map +1 -1
  59. package/models/components/customerassettype.d.ts +0 -28
  60. package/models/components/customerassettype.d.ts.map +1 -1
  61. package/models/components/customerattributes.d.ts +1 -33
  62. package/models/components/customerattributes.d.ts.map +1 -1
  63. package/models/components/customerattributescreateitem.d.ts +0 -17
  64. package/models/components/customerattributescreateitem.d.ts.map +1 -1
  65. package/models/components/customeridtype.d.ts +0 -18
  66. package/models/components/customeridtype.d.ts.map +1 -1
  67. package/models/components/customerliabilityattributes.d.ts +0 -12
  68. package/models/components/customerliabilityattributes.d.ts.map +1 -1
  69. package/models/components/customerliabilityrepaymentfrequency.d.ts +0 -18
  70. package/models/components/customerliabilityrepaymentfrequency.d.ts.map +1 -1
  71. package/models/components/customerliabilitytype.d.ts +0 -24
  72. package/models/components/customerliabilitytype.d.ts.map +1 -1
  73. package/models/components/customertitle.d.ts +0 -20
  74. package/models/components/customertitle.d.ts.map +1 -1
  75. package/models/components/documenttype.d.ts +0 -40
  76. package/models/components/documenttype.d.ts.map +1 -1
  77. package/models/components/entityattributes.d.ts +0 -84
  78. package/models/components/entityattributes.d.ts.map +1 -1
  79. package/models/components/entityattributesinput.d.ts +0 -17
  80. package/models/components/entityattributesinput.d.ts.map +1 -1
  81. package/models/components/errorsource.d.ts +0 -21
  82. package/models/components/errorsource.d.ts.map +1 -1
  83. package/models/components/expenseattributes.d.ts +0 -17
  84. package/models/components/expenseattributes.d.ts.map +1 -1
  85. package/models/components/expensefrequency.d.ts +0 -20
  86. package/models/components/expensefrequency.d.ts.map +1 -1
  87. package/models/components/expensetype.d.ts +0 -52
  88. package/models/components/expensetype.d.ts.map +1 -1
  89. package/models/components/forbiddenerror.d.ts +2 -78
  90. package/models/components/forbiddenerror.d.ts.map +1 -1
  91. package/models/components/frequencytype.d.ts +0 -18
  92. package/models/components/frequencytype.d.ts.map +1 -1
  93. package/models/components/incomeattributes.d.ts +0 -17
  94. package/models/components/incomeattributes.d.ts.map +1 -1
  95. package/models/components/incomefrequency.d.ts +0 -22
  96. package/models/components/incomefrequency.d.ts.map +1 -1
  97. package/models/components/incometype.d.ts +0 -32
  98. package/models/components/incometype.d.ts.map +1 -1
  99. package/models/components/linkobject.d.ts +0 -12
  100. package/models/components/linkobject.d.ts.map +1 -1
  101. package/models/components/livingarrangements.d.ts +0 -20
  102. package/models/components/livingarrangements.d.ts.map +1 -1
  103. package/models/components/loandetailsattributes.d.ts +5 -132
  104. package/models/components/loandetailsattributes.d.ts.map +1 -1
  105. package/models/components/maritalstatus.d.ts +0 -16
  106. package/models/components/maritalstatus.d.ts.map +1 -1
  107. package/models/components/monetaryquantity.d.ts +0 -26
  108. package/models/components/monetaryquantity.d.ts.map +1 -1
  109. package/models/components/paginationlinks.d.ts +0 -22
  110. package/models/components/paginationlinks.d.ts.map +1 -1
  111. package/models/components/paginationmeta.d.ts +0 -22
  112. package/models/components/paginationmeta.d.ts.map +1 -1
  113. package/models/components/percentagequantity.d.ts +0 -26
  114. package/models/components/percentagequantity.d.ts.map +1 -1
  115. package/models/components/personalapplicationjsonapirelationships.d.ts +1 -143
  116. package/models/components/personalapplicationjsonapirelationships.d.ts.map +1 -1
  117. package/models/components/personalapplicationpayload.d.ts +0 -64
  118. package/models/components/personalapplicationpayload.d.ts.map +1 -1
  119. package/models/components/personalapplicationresource.d.ts +12 -94
  120. package/models/components/personalapplicationresource.d.ts.map +1 -1
  121. package/models/components/personalloanpersonalapplicationrelationships.d.ts +0 -354
  122. package/models/components/personalloanpersonalapplicationrelationships.d.ts.map +1 -1
  123. package/models/components/relationshipresourcenotfound.d.ts +2 -78
  124. package/models/components/relationshipresourcenotfound.d.ts.map +1 -1
  125. package/models/components/repaymentstructure.d.ts +0 -18
  126. package/models/components/repaymentstructure.d.ts.map +1 -1
  127. package/models/components/residencystatus.d.ts +0 -22
  128. package/models/components/residencystatus.d.ts.map +1 -1
  129. package/models/components/resourcenotfound.d.ts +2 -78
  130. package/models/components/resourcenotfound.d.ts.map +1 -1
  131. package/models/components/security.d.ts +0 -17
  132. package/models/components/security.d.ts.map +1 -1
  133. package/models/components/supportingdocumentattributes.d.ts +0 -21
  134. package/models/components/supportingdocumentattributes.d.ts.map +1 -1
  135. package/models/components/supportingdocumentattributesinput.d.ts +0 -17
  136. package/models/components/supportingdocumentattributesinput.d.ts.map +1 -1
  137. package/models/components/supportingdocumentrelationships.d.ts +0 -190
  138. package/models/components/supportingdocumentrelationships.d.ts.map +1 -1
  139. package/models/components/supportingdocumentresource.d.ts +0 -33
  140. package/models/components/supportingdocumentresource.d.ts.map +1 -1
  141. package/models/components/tokenrequest.d.ts +0 -33
  142. package/models/components/tokenrequest.d.ts.map +1 -1
  143. package/models/components/tokenresponse.d.ts +0 -22
  144. package/models/components/tokenresponse.d.ts.map +1 -1
  145. package/models/components/uploadmimetype.d.ts +0 -28
  146. package/models/components/uploadmimetype.d.ts.map +1 -1
  147. package/models/operations/createapplication.d.ts +0 -484
  148. package/models/operations/createapplication.d.ts.map +1 -1
  149. package/models/operations/getapplication.d.ts +0 -469
  150. package/models/operations/getapplication.d.ts.map +1 -1
  151. package/models/operations/listapplications.d.ts +0 -91
  152. package/models/operations/listapplications.d.ts.map +1 -1
  153. package/models/operations/supportingdocumentscreate.d.ts +6 -159
  154. package/models/operations/supportingdocumentscreate.d.ts.map +1 -1
  155. package/package.json +16 -1
  156. package/src/hooks/oauth2scopes.ts +16 -0
  157. package/src/lib/config.ts +3 -3
  158. package/src/lib/encodings.ts +17 -3
  159. package/src/models/components/addressattributes.ts +0 -27
  160. package/src/models/components/apierrorlinks.ts +0 -31
  161. package/src/models/components/applicationresource.ts +0 -48
  162. package/src/models/components/applicationstatus.ts +0 -16
  163. package/src/models/components/australianstatesandterritories.ts +0 -12
  164. package/src/models/components/badrequesterror.ts +4 -119
  165. package/src/models/components/businessapplicationjsonapirelationships.ts +1 -395
  166. package/src/models/components/businessapplicationpayload.ts +2 -114
  167. package/src/models/components/businessapplicationresource.ts +14 -156
  168. package/src/models/components/businessloanbusinessapplicationrelationships.ts +6 -776
  169. package/src/models/components/commercialapplicationjsonapirelationships.ts +1 -497
  170. package/src/models/components/commercialsecuredapplicationpayload.ts +2 -112
  171. package/src/models/components/commercialsecuredapplicationresource.ts +14 -164
  172. package/src/models/components/commercialsecuredloanassetattributes.ts +0 -131
  173. package/src/models/components/commercialsecuredloanassettype.ts +0 -12
  174. package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +7 -790
  175. package/src/models/components/commercialsecuredloantypeofsale.ts +0 -12
  176. package/src/models/components/consumerapplicationjsonapirelationships.ts +1 -390
  177. package/src/models/components/consumersecuredapplicationpayload.ts +2 -127
  178. package/src/models/components/consumersecuredapplicationresource.ts +14 -163
  179. package/src/models/components/consumersecuredloanassetattributes.ts +0 -149
  180. package/src/models/components/consumersecuredloanassettype.ts +0 -12
  181. package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +8 -977
  182. package/src/models/components/consumersecuredloantypeofsale.ts +0 -12
  183. package/src/models/components/createsupportingdocumentsresponse.ts +1 -107
  184. package/src/models/components/currencycodeiso4217.ts +0 -12
  185. package/src/models/components/customerassetattributes.ts +0 -15
  186. package/src/models/components/customerassettype.ts +0 -12
  187. package/src/models/components/customerattributes.ts +2 -75
  188. package/src/models/components/customerattributescreateitem.ts +0 -59
  189. package/src/models/components/customeridtype.ts +1 -17
  190. package/src/models/components/customerliabilityattributes.ts +0 -15
  191. package/src/models/components/customerliabilityrepaymentfrequency.ts +0 -14
  192. package/src/models/components/customerliabilitytype.ts +0 -12
  193. package/src/models/components/customertitle.ts +0 -12
  194. package/src/models/components/documenttype.ts +0 -12
  195. package/src/models/components/entityattributes.ts +0 -95
  196. package/src/models/components/entityattributesinput.ts +0 -41
  197. package/src/models/components/errorsource.ts +0 -35
  198. package/src/models/components/expenseattributes.ts +1 -45
  199. package/src/models/components/expensefrequency.ts +1 -17
  200. package/src/models/components/expensetype.ts +1 -16
  201. package/src/models/components/forbiddenerror.ts +2 -103
  202. package/src/models/components/frequencytype.ts +0 -12
  203. package/src/models/components/incomeattributes.ts +1 -45
  204. package/src/models/components/incomefrequency.ts +1 -17
  205. package/src/models/components/incometype.ts +1 -16
  206. package/src/models/components/linkobject.ts +0 -15
  207. package/src/models/components/livingarrangements.ts +0 -12
  208. package/src/models/components/loandetailsattributes.ts +7 -165
  209. package/src/models/components/maritalstatus.ts +0 -12
  210. package/src/models/components/monetaryquantity.ts +0 -27
  211. package/src/models/components/paginationlinks.ts +0 -39
  212. package/src/models/components/paginationmeta.ts +0 -43
  213. package/src/models/components/percentagequantity.ts +0 -27
  214. package/src/models/components/personalapplicationjsonapirelationships.ts +1 -277
  215. package/src/models/components/personalapplicationpayload.ts +2 -114
  216. package/src/models/components/personalapplicationresource.ts +14 -156
  217. package/src/models/components/personalloanpersonalapplicationrelationships.ts +7 -892
  218. package/src/models/components/relationshipresourcenotfound.ts +2 -113
  219. package/src/models/components/repaymentstructure.ts +0 -12
  220. package/src/models/components/residencystatus.ts +0 -12
  221. package/src/models/components/resourcenotfound.ts +2 -109
  222. package/src/models/components/security.ts +0 -35
  223. package/src/models/components/supportingdocumentattributes.ts +1 -46
  224. package/src/models/components/supportingdocumentattributesinput.ts +1 -42
  225. package/src/models/components/supportingdocumentrelationships.ts +0 -230
  226. package/src/models/components/supportingdocumentresource.ts +1 -59
  227. package/src/models/components/tokenrequest.ts +1 -60
  228. package/src/models/components/tokenresponse.ts +0 -43
  229. package/src/models/components/uploadmimetype.ts +1 -17
  230. package/src/models/operations/createapplication.ts +0 -779
  231. package/src/models/operations/getapplication.ts +0 -759
  232. package/src/models/operations/listapplications.ts +0 -199
  233. package/src/models/operations/supportingdocumentscreate.ts +10 -340
  234. package/src/types/enums.ts +38 -9
  235. package/src/types/index.ts +2 -2
  236. package/src/types/unrecognized.ts +35 -0
  237. package/types/enums.d.ts +8 -11
  238. package/types/enums.d.ts.map +1 -1
  239. package/types/index.d.ts +2 -2
  240. package/types/index.d.ts.map +1 -1
  241. package/.devcontainer/README.md +0 -35
  242. package/.devcontainer/devcontainer.json +0 -45
  243. package/FUNCTIONS.md +0 -240
  244. package/RUNTIMES.md +0 -48
  245. package/core.js +0 -17
  246. package/core.js.map +0 -1
  247. package/docs/sdks/applications/README.md +0 -527
  248. package/docs/sdks/oauthtoken/README.md +0 -87
  249. package/docs/sdks/supportingdocuments/README.md +0 -115
  250. package/examples/README.md +0 -31
  251. package/examples/applicationsCreate.example.ts +0 -179
  252. package/examples/package-lock.json +0 -610
  253. package/examples/package.json +0 -18
  254. package/hooks/hooks.js +0 -84
  255. package/hooks/hooks.js.map +0 -1
  256. package/hooks/index.js +0 -22
  257. package/hooks/index.js.map +0 -1
  258. package/hooks/types.js +0 -6
  259. package/hooks/types.js.map +0 -1
  260. package/index.js +0 -48
  261. package/index.js.map +0 -1
  262. package/jsr.json +0 -27
  263. package/lib/base64.js +0 -71
  264. package/lib/base64.js.map +0 -1
  265. package/lib/dlv.d.ts +0 -14
  266. package/lib/dlv.d.ts.map +0 -1
  267. package/lib/dlv.js +0 -49
  268. package/lib/dlv.js.map +0 -1
  269. package/lib/encodings.js +0 -368
  270. package/lib/encodings.js.map +0 -1
  271. package/lib/env.js +0 -82
  272. package/lib/env.js.map +0 -1
  273. package/lib/files.d.ts +0 -13
  274. package/lib/files.d.ts.map +0 -1
  275. package/lib/files.js +0 -77
  276. package/lib/files.js.map +0 -1
  277. package/lib/http.d.ts +0 -67
  278. package/lib/http.d.ts.map +0 -1
  279. package/lib/http.js +0 -217
  280. package/lib/http.js.map +0 -1
  281. package/lib/is-plain-object.d.ts +0 -2
  282. package/lib/is-plain-object.d.ts.map +0 -1
  283. package/lib/is-plain-object.js +0 -41
  284. package/lib/is-plain-object.js.map +0 -1
  285. package/lib/logger.d.ts +0 -6
  286. package/lib/logger.d.ts.map +0 -1
  287. package/lib/logger.js +0 -6
  288. package/lib/logger.js.map +0 -1
  289. package/lib/matchers.js +0 -218
  290. package/lib/matchers.js.map +0 -1
  291. package/lib/primitives.d.ts +0 -26
  292. package/lib/primitives.d.ts.map +0 -1
  293. package/lib/primitives.js +0 -111
  294. package/lib/primitives.js.map +0 -1
  295. package/lib/retries.d.ts +0 -38
  296. package/lib/retries.d.ts.map +0 -1
  297. package/lib/retries.js +0 -153
  298. package/lib/retries.js.map +0 -1
  299. package/lib/schemas.js +0 -62
  300. package/lib/schemas.js.map +0 -1
  301. package/lib/sdks.js +0 -274
  302. package/lib/sdks.js.map +0 -1
  303. package/lib/security.js +0 -145
  304. package/lib/security.js.map +0 -1
  305. package/lib/url.d.ts +0 -5
  306. package/lib/url.d.ts.map +0 -1
  307. package/lib/url.js +0 -25
  308. package/lib/url.js.map +0 -1
  309. package/models/components/addressattributes.js +0 -120
  310. package/models/components/addressattributes.js.map +0 -1
  311. package/models/components/apierrorlinks.js +0 -69
  312. package/models/components/apierrorlinks.js.map +0 -1
  313. package/models/components/applicationresource.js +0 -79
  314. package/models/components/applicationresource.js.map +0 -1
  315. package/models/components/applicationstatus.js +0 -66
  316. package/models/components/applicationstatus.js.map +0 -1
  317. package/models/components/australianstatesandterritories.js +0 -66
  318. package/models/components/australianstatesandterritories.js.map +0 -1
  319. package/models/components/badrequesterror.js +0 -139
  320. package/models/components/badrequesterror.js.map +0 -1
  321. package/models/components/businessapplicationjsonapirelationships.js +0 -309
  322. package/models/components/businessapplicationjsonapirelationships.js.map +0 -1
  323. package/models/components/businessapplicationpayload.js +0 -150
  324. package/models/components/businessapplicationpayload.js.map +0 -1
  325. package/models/components/businessapplicationresource.js +0 -159
  326. package/models/components/businessapplicationresource.js.map +0 -1
  327. package/models/components/businessloanbusinessapplicationrelationships.js +0 -597
  328. package/models/components/businessloanbusinessapplicationrelationships.js.map +0 -1
  329. package/models/components/commercialapplicationjsonapirelationships.js +0 -391
  330. package/models/components/commercialapplicationjsonapirelationships.js.map +0 -1
  331. package/models/components/commercialsecuredapplicationpayload.js +0 -159
  332. package/models/components/commercialsecuredapplicationpayload.js.map +0 -1
  333. package/models/components/commercialsecuredapplicationresource.js +0 -159
  334. package/models/components/commercialsecuredapplicationresource.js.map +0 -1
  335. package/models/components/commercialsecuredloanassetattributes.js +0 -322
  336. package/models/components/commercialsecuredloanassetattributes.js.map +0 -1
  337. package/models/components/commercialsecuredloanassettype.js +0 -84
  338. package/models/components/commercialsecuredloanassettype.js.map +0 -1
  339. package/models/components/commercialsecuredloancommercialapplicationrelationships.js +0 -682
  340. package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +0 -1
  341. package/models/components/commercialsecuredloantypeofsale.js +0 -64
  342. package/models/components/commercialsecuredloantypeofsale.js.map +0 -1
  343. package/models/components/consumerapplicationjsonapirelationships.js +0 -310
  344. package/models/components/consumerapplicationjsonapirelationships.js.map +0 -1
  345. package/models/components/consumersecuredapplicationpayload.js +0 -160
  346. package/models/components/consumersecuredapplicationpayload.js.map +0 -1
  347. package/models/components/consumersecuredapplicationresource.js +0 -159
  348. package/models/components/consumersecuredapplicationresource.js.map +0 -1
  349. package/models/components/consumersecuredloanassetattributes.js +0 -324
  350. package/models/components/consumersecuredloanassetattributes.js.map +0 -1
  351. package/models/components/consumersecuredloanassettype.js +0 -72
  352. package/models/components/consumersecuredloanassettype.js.map +0 -1
  353. package/models/components/consumersecuredloanconsumerapplicationrelationships.js +0 -775
  354. package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +0 -1
  355. package/models/components/consumersecuredloantypeofsale.js +0 -64
  356. package/models/components/consumersecuredloantypeofsale.js.map +0 -1
  357. package/models/components/createsupportingdocumentsresponse.js +0 -138
  358. package/models/components/createsupportingdocumentsresponse.js.map +0 -1
  359. package/models/components/currencycodeiso4217.js +0 -59
  360. package/models/components/currencycodeiso4217.js.map +0 -1
  361. package/models/components/customerassetattributes.js +0 -77
  362. package/models/components/customerassetattributes.js.map +0 -1
  363. package/models/components/customerassettype.js +0 -66
  364. package/models/components/customerassettype.js.map +0 -1
  365. package/models/components/customerattributes.js +0 -100
  366. package/models/components/customerattributes.js.map +0 -1
  367. package/models/components/customerattributescreateitem.js +0 -110
  368. package/models/components/customerattributescreateitem.js.map +0 -1
  369. package/models/components/customeridtype.js +0 -60
  370. package/models/components/customeridtype.js.map +0 -1
  371. package/models/components/customerliabilityattributes.js +0 -88
  372. package/models/components/customerliabilityattributes.js.map +0 -1
  373. package/models/components/customerliabilityrepaymentfrequency.js +0 -61
  374. package/models/components/customerliabilityrepaymentfrequency.js.map +0 -1
  375. package/models/components/customerliabilitytype.js +0 -64
  376. package/models/components/customerliabilitytype.js.map +0 -1
  377. package/models/components/customertitle.js +0 -62
  378. package/models/components/customertitle.js.map +0 -1
  379. package/models/components/documenttype.js +0 -75
  380. package/models/components/documenttype.js.map +0 -1
  381. package/models/components/entityattributes.js +0 -151
  382. package/models/components/entityattributes.js.map +0 -1
  383. package/models/components/entityattributesinput.js +0 -81
  384. package/models/components/entityattributesinput.js.map +0 -1
  385. package/models/components/errorsource.js +0 -73
  386. package/models/components/errorsource.js.map +0 -1
  387. package/models/components/expenseattributes.js +0 -78
  388. package/models/components/expenseattributes.js.map +0 -1
  389. package/models/components/expensefrequency.js +0 -61
  390. package/models/components/expensefrequency.js.map +0 -1
  391. package/models/components/expensetype.js +0 -78
  392. package/models/components/expensetype.js.map +0 -1
  393. package/models/components/forbiddenerror.js +0 -139
  394. package/models/components/forbiddenerror.js.map +0 -1
  395. package/models/components/frequencytype.js +0 -64
  396. package/models/components/frequencytype.js.map +0 -1
  397. package/models/components/incomeattributes.js +0 -78
  398. package/models/components/incomeattributes.js.map +0 -1
  399. package/models/components/incomefrequency.js +0 -62
  400. package/models/components/incomefrequency.js.map +0 -1
  401. package/models/components/incometype.js +0 -68
  402. package/models/components/incometype.js.map +0 -1
  403. package/models/components/index.js +0 -91
  404. package/models/components/index.js.map +0 -1
  405. package/models/components/linkobject.js +0 -77
  406. package/models/components/linkobject.js.map +0 -1
  407. package/models/components/livingarrangements.js +0 -62
  408. package/models/components/livingarrangements.js.map +0 -1
  409. package/models/components/loandetailsattributes.js +0 -375
  410. package/models/components/loandetailsattributes.js.map +0 -1
  411. package/models/components/maritalstatus.js +0 -60
  412. package/models/components/maritalstatus.js.map +0 -1
  413. package/models/components/monetaryquantity.js +0 -93
  414. package/models/components/monetaryquantity.js.map +0 -1
  415. package/models/components/paginationlinks.js +0 -75
  416. package/models/components/paginationlinks.js.map +0 -1
  417. package/models/components/paginationmeta.js +0 -88
  418. package/models/components/paginationmeta.js.map +0 -1
  419. package/models/components/percentagequantity.js +0 -89
  420. package/models/components/percentagequantity.js.map +0 -1
  421. package/models/components/personalapplicationjsonapirelationships.js +0 -229
  422. package/models/components/personalapplicationjsonapirelationships.js.map +0 -1
  423. package/models/components/personalapplicationpayload.js +0 -150
  424. package/models/components/personalapplicationpayload.js.map +0 -1
  425. package/models/components/personalapplicationresource.js +0 -159
  426. package/models/components/personalapplicationresource.js.map +0 -1
  427. package/models/components/personalloanpersonalapplicationrelationships.js +0 -682
  428. package/models/components/personalloanpersonalapplicationrelationships.js.map +0 -1
  429. package/models/components/relationshipresourcenotfound.js +0 -139
  430. package/models/components/relationshipresourcenotfound.js.map +0 -1
  431. package/models/components/repaymentstructure.js +0 -64
  432. package/models/components/repaymentstructure.js.map +0 -1
  433. package/models/components/residencystatus.js +0 -63
  434. package/models/components/residencystatus.js.map +0 -1
  435. package/models/components/resourcenotfound.js +0 -139
  436. package/models/components/resourcenotfound.js.map +0 -1
  437. package/models/components/security.js +0 -69
  438. package/models/components/security.js.map +0 -1
  439. package/models/components/supportingdocumentattributes.js +0 -74
  440. package/models/components/supportingdocumentattributes.js.map +0 -1
  441. package/models/components/supportingdocumentattributesinput.js +0 -72
  442. package/models/components/supportingdocumentattributesinput.js.map +0 -1
  443. package/models/components/supportingdocumentrelationships.js +0 -434
  444. package/models/components/supportingdocumentrelationships.js.map +0 -1
  445. package/models/components/supportingdocumentresource.js +0 -98
  446. package/models/components/supportingdocumentresource.js.map +0 -1
  447. package/models/components/tokenrequest.js +0 -110
  448. package/models/components/tokenrequest.js.map +0 -1
  449. package/models/components/tokenresponse.js +0 -88
  450. package/models/components/tokenresponse.js.map +0 -1
  451. package/models/components/uploadmimetype.js +0 -68
  452. package/models/components/uploadmimetype.js.map +0 -1
  453. package/models/errors/apierror.d.ts +0 -10
  454. package/models/errors/apierror.d.ts.map +0 -1
  455. package/models/errors/apierror.js +0 -34
  456. package/models/errors/apierror.js.map +0 -1
  457. package/models/errors/financeableerror.d.ts +0 -19
  458. package/models/errors/financeableerror.d.ts.map +0 -1
  459. package/models/errors/financeableerror.js +0 -20
  460. package/models/errors/financeableerror.js.map +0 -1
  461. package/models/errors/httpclienterrors.d.ts +0 -44
  462. package/models/errors/httpclienterrors.d.ts.map +0 -1
  463. package/models/errors/httpclienterrors.js +0 -78
  464. package/models/errors/httpclienterrors.js.map +0 -1
  465. package/models/errors/index.js +0 -25
  466. package/models/errors/index.js.map +0 -1
  467. package/models/errors/responsevalidationerror.js +0 -66
  468. package/models/errors/responsevalidationerror.js.map +0 -1
  469. package/models/errors/sdkvalidationerror.js +0 -129
  470. package/models/errors/sdkvalidationerror.js.map +0 -1
  471. package/models/operations/createapplication.js +0 -747
  472. package/models/operations/createapplication.js.map +0 -1
  473. package/models/operations/getapplication.js +0 -697
  474. package/models/operations/getapplication.js.map +0 -1
  475. package/models/operations/index.js +0 -24
  476. package/models/operations/index.js.map +0 -1
  477. package/models/operations/listapplications.js +0 -199
  478. package/models/operations/listapplications.js.map +0 -1
  479. package/models/operations/supportingdocumentscreate.js +0 -320
  480. package/models/operations/supportingdocumentscreate.js.map +0 -1
  481. package/sdk/index.js +0 -21
  482. package/sdk/index.js.map +0 -1
  483. package/sdk/sdk.js +0 -23
  484. package/sdk/sdk.js.map +0 -1
  485. package/tsconfig.json +0 -41
  486. package/types/async.d.ts +0 -23
  487. package/types/async.d.ts.map +0 -1
  488. package/types/async.js +0 -44
  489. package/types/async.js.map +0 -1
  490. package/types/blobs.js +0 -62
  491. package/types/blobs.js.map +0 -1
  492. package/types/constdatetime.js +0 -46
  493. package/types/constdatetime.js.map +0 -1
  494. package/types/enums.js +0 -10
  495. package/types/enums.js.map +0 -1
  496. package/types/fp.d.ts +0 -31
  497. package/types/fp.d.ts.map +0 -1
  498. package/types/fp.js +0 -37
  499. package/types/fp.js.map +0 -1
  500. package/types/index.js +0 -16
  501. package/types/index.js.map +0 -1
  502. package/types/operations.d.ts +0 -27
  503. package/types/operations.d.ts.map +0 -1
  504. package/types/operations.js +0 -83
  505. package/types/operations.js.map +0 -1
  506. package/types/rfcdate.d.ts +0 -21
  507. package/types/rfcdate.d.ts.map +0 -1
  508. package/types/rfcdate.js +0 -46
  509. package/types/rfcdate.js.map +0 -1
  510. package/types/streams.d.ts +0 -2
  511. package/types/streams.d.ts.map +0 -1
  512. package/types/streams.js +0 -18
  513. package/types/streams.js.map +0 -1
package/sdk/index.js DELETED
@@ -1,21 +0,0 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
17
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
- };
19
- Object.defineProperty(exports, "__esModule", { value: true });
20
- __exportStar(require("./sdk.js"), exports);
21
- //# sourceMappingURL=index.js.map
package/sdk/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/sdk/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,2CAAyB"}
package/sdk/sdk.js DELETED
@@ -1,23 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Financeable = void 0;
7
- const sdks_js_1 = require("../lib/sdks.js");
8
- const applications_js_1 = require("./applications.js");
9
- const oauthtoken_js_1 = require("./oauthtoken.js");
10
- const supportingdocuments_js_1 = require("./supportingdocuments.js");
11
- class Financeable extends sdks_js_1.ClientSDK {
12
- get applications() {
13
- return (this._applications ?? (this._applications = new applications_js_1.Applications(this._options)));
14
- }
15
- get oauthToken() {
16
- return (this._oauthToken ?? (this._oauthToken = new oauthtoken_js_1.OauthToken(this._options)));
17
- }
18
- get supportingDocuments() {
19
- return (this._supportingDocuments ?? (this._supportingDocuments = new supportingdocuments_js_1.SupportingDocuments(this._options)));
20
- }
21
- }
22
- exports.Financeable = Financeable;
23
- //# sourceMappingURL=sdk.js.map
package/sdk/sdk.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"sdk.js","sourceRoot":"","sources":["../src/sdk/sdk.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4CAA2C;AAC3C,uDAAiD;AACjD,mDAA6C;AAC7C,qEAA+D;AAE/D,MAAa,WAAY,SAAQ,mBAAS;IAExC,IAAI,YAAY;QACd,OAAO,CAAC,IAAI,CAAC,aAAa,KAAlB,IAAI,CAAC,aAAa,GAAK,IAAI,8BAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAClE,CAAC;IAGD,IAAI,UAAU;QACZ,OAAO,CAAC,IAAI,CAAC,WAAW,KAAhB,IAAI,CAAC,WAAW,GAAK,IAAI,0BAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC9D,CAAC;IAGD,IAAI,mBAAmB;QACrB,OAAO,CAAC,IAAI,CAAC,oBAAoB,KAAzB,IAAI,CAAC,oBAAoB,GAAK,IAAI,4CAAmB,CAC3D,IAAI,CAAC,QAAQ,CACd,EAAC,CAAC;IACL,CAAC;CACF;AAjBD,kCAiBC"}
package/tsconfig.json DELETED
@@ -1,41 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "incremental": true,
4
- "tsBuildInfoFile": ".tsbuildinfo",
5
- "target": "ES2020",
6
- "lib": ["ES2022", "DOM", "DOM.Iterable"],
7
- "jsx": "react-jsx",
8
-
9
- "module": "Node16",
10
- "moduleResolution": "Node16",
11
-
12
- "allowJs": true,
13
-
14
- "declaration": true,
15
- "declarationMap": true,
16
- "sourceMap": true,
17
- "outDir": ".",
18
-
19
-
20
- // https://github.com/tsconfig/bases/blob/a1bf7c0fa2e094b068ca3e1448ca2ece4157977e/bases/strictest.json
21
- "strict": true,
22
- "allowUnusedLabels": false,
23
- "allowUnreachableCode": false,
24
- "exactOptionalPropertyTypes": true,
25
- "useUnknownInCatchVariables": true,
26
- "noFallthroughCasesInSwitch": true,
27
- "noImplicitOverride": true,
28
- "noImplicitReturns": true,
29
- "noPropertyAccessFromIndexSignature": true,
30
- "noUncheckedIndexedAccess": true,
31
- "noUnusedLocals": true,
32
- "noUnusedParameters": true,
33
- "isolatedModules": true,
34
- "checkJs": true,
35
- "esModuleInterop": true,
36
- "skipLibCheck": true,
37
- "forceConsistentCasingInFileNames": true
38
- },
39
- "include": ["src"],
40
- "exclude": ["node_modules"]
41
- }
package/types/async.d.ts DELETED
@@ -1,23 +0,0 @@
1
- export type APICall = {
2
- status: "complete";
3
- request: Request;
4
- response: Response;
5
- } | {
6
- status: "request-error";
7
- request: Request;
8
- response?: undefined;
9
- } | {
10
- status: "invalid";
11
- request?: undefined;
12
- response?: undefined;
13
- };
14
- export declare class APIPromise<T> implements Promise<T> {
15
- #private;
16
- readonly [Symbol.toStringTag] = "APIPromise";
17
- constructor(p: [T, APICall] | Promise<[T, APICall]>);
18
- then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<TResult1 | TResult2>;
19
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined): Promise<T | TResult>;
20
- finally(onfinally?: (() => void) | null | undefined): Promise<T>;
21
- $inspect(): Promise<[T, APICall]>;
22
- }
23
- //# sourceMappingURL=async.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"async.d.ts","sourceRoot":"","sources":["../src/types/async.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,OAAO,GACf;IACE,MAAM,EAAE,UAAU,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;CACpB,GACD;IACE,MAAM,EAAE,eAAe,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GACD;IACE,MAAM,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEN,qBAAa,UAAU,CAAC,CAAC,CAAE,YAAW,OAAO,CAAC,CAAC,CAAC;;IAI9C,QAAQ,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,gBAAgB;gBAEjC,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;IAQnD,IAAI,CAAC,QAAQ,GAAG,CAAC,EAAE,QAAQ,GAAG,KAAK,EACjC,WAAW,CAAC,EACR,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC,GAChD,IAAI,GACJ,SAAS,EACb,UAAU,CAAC,EACP,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC,GACnD,IAAI,GACJ,SAAS,GACZ,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAO/B,KAAK,CAAC,OAAO,GAAG,KAAK,EACnB,UAAU,CAAC,EACP,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,GACjD,IAAI,GACJ,SAAS,GACZ,OAAO,CAAC,CAAC,GAAG,OAAO,CAAC;IAIvB,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAAC,CAAC,CAAC;IAIhE,QAAQ,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;CAGlC"}
package/types/async.js DELETED
@@ -1,44 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
6
- if (kind === "m") throw new TypeError("Private method is not writable");
7
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
8
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
9
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
10
- };
11
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
12
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
13
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
14
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
15
- };
16
- var _APIPromise_promise, _APIPromise_unwrapped, _a;
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.APIPromise = void 0;
19
- class APIPromise {
20
- constructor(p) {
21
- _APIPromise_promise.set(this, void 0);
22
- _APIPromise_unwrapped.set(this, void 0);
23
- this[_a] = "APIPromise";
24
- __classPrivateFieldSet(this, _APIPromise_promise, p instanceof Promise ? p : Promise.resolve(p), "f");
25
- __classPrivateFieldSet(this, _APIPromise_unwrapped, p instanceof Promise
26
- ? __classPrivateFieldGet(this, _APIPromise_promise, "f").then(([value]) => value)
27
- : Promise.resolve(p[0]), "f");
28
- }
29
- then(onfulfilled, onrejected) {
30
- return __classPrivateFieldGet(this, _APIPromise_promise, "f").then(onfulfilled ? ([value]) => onfulfilled(value) : void 0, onrejected);
31
- }
32
- catch(onrejected) {
33
- return __classPrivateFieldGet(this, _APIPromise_unwrapped, "f").catch(onrejected);
34
- }
35
- finally(onfinally) {
36
- return __classPrivateFieldGet(this, _APIPromise_unwrapped, "f").finally(onfinally);
37
- }
38
- $inspect() {
39
- return __classPrivateFieldGet(this, _APIPromise_promise, "f");
40
- }
41
- }
42
- exports.APIPromise = APIPromise;
43
- _APIPromise_promise = new WeakMap(), _APIPromise_unwrapped = new WeakMap(), _a = Symbol.toStringTag;
44
- //# sourceMappingURL=async.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"async.js","sourceRoot":"","sources":["../src/types/async.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;AAmBH,MAAa,UAAU;IAMrB,YAAY,CAAuC;QAL1C,sCAAgC;QAChC,wCAAuB;QAEvB,QAAoB,GAAG,YAAY,CAAC;QAG3C,uBAAA,IAAI,uBAAY,CAAC,YAAY,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,MAAA,CAAC;QAC9D,uBAAA,IAAI,yBACF,CAAC,YAAY,OAAO;YAClB,CAAC,CAAC,uBAAA,IAAI,2BAAS,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC;YACxC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAA,CAAC;IAC9B,CAAC;IAED,IAAI,CACF,WAGa,EACb,UAGa;QAEb,OAAO,uBAAA,IAAI,2BAAS,CAAC,IAAI,CACvB,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,EACtD,UAAU,CACX,CAAC;IACJ,CAAC;IAED,KAAK,CACH,UAGa;QAEb,OAAO,uBAAA,IAAI,6BAAW,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IAC3C,CAAC;IAED,OAAO,CAAC,SAA2C;QACjD,OAAO,uBAAA,IAAI,6BAAW,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAC5C,CAAC;IAED,QAAQ;QACN,OAAO,uBAAA,IAAI,2BAAS,CAAC;IACvB,CAAC;CACF;AA9CD,gCA8CC;iFA1CW,MAAM,CAAC,WAAW"}
package/types/blobs.js DELETED
@@ -1,62 +0,0 @@
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.blobLikeSchema = void 0;
40
- exports.isBlobLike = isBlobLike;
41
- const z = __importStar(require("zod/v3"));
42
- exports.blobLikeSchema = z.custom(isBlobLike, {
43
- message: "expected a Blob, File or Blob-like object",
44
- fatal: true,
45
- });
46
- function isBlobLike(val) {
47
- if (val instanceof Blob) {
48
- return true;
49
- }
50
- if (typeof val !== "object" || val == null || !(Symbol.toStringTag in val)) {
51
- return false;
52
- }
53
- const name = val[Symbol.toStringTag];
54
- if (typeof name !== "string") {
55
- return false;
56
- }
57
- if (name !== "Blob" && name !== "File") {
58
- return false;
59
- }
60
- return "stream" in val && typeof val.stream === "function";
61
- }
62
- //# sourceMappingURL=blobs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blobs.js","sourceRoot":"","sources":["../src/types/blobs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWH,gCAkBC;AA3BD,0CAA4B;AAEf,QAAA,cAAc,GAAwC,CAAC,CAAC,MAAM,CAEzE,UAAU,EAAE;IACZ,OAAO,EAAE,2CAA2C;IACpD,KAAK,EAAE,IAAI;CACZ,CAAC,CAAC;AAEH,SAAgB,UAAU,CAAC,GAAY;IACrC,IAAI,GAAG,YAAY,IAAI,EAAE,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,IAAI,IAAI,IAAI,CAAC,CAAC,MAAM,CAAC,WAAW,IAAI,GAAG,CAAC,EAAE,CAAC;QAC3E,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;IACrC,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC7B,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,MAAM,EAAE,CAAC;QACvC,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO,QAAQ,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,MAAM,KAAK,UAAU,CAAC;AAC7D,CAAC"}
@@ -1,46 +0,0 @@
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.constDateTime = constDateTime;
40
- const z = __importStar(require("zod/v3"));
41
- function constDateTime(val) {
42
- return z.custom((v) => {
43
- return (typeof v === "string" && new Date(v).getTime() === new Date(val).getTime());
44
- }, `Value must be equivalent to ${val}`);
45
- }
46
- //# sourceMappingURL=constdatetime.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constdatetime.js","sourceRoot":"","sources":["../src/types/constdatetime.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,sCAQC;AAVD,0CAA4B;AAE5B,SAAgB,aAAa,CAC3B,GAAW;IAEX,OAAO,CAAC,CAAC,MAAM,CAAS,CAAC,CAAC,EAAE,EAAE;QAC5B,OAAO,CACL,OAAO,CAAC,KAAK,QAAQ,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,KAAK,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,CAC3E,CAAC;IACJ,CAAC,EAAE,+BAA+B,GAAG,EAAE,CAAC,CAAC;AAC3C,CAAC"}
package/types/enums.js DELETED
@@ -1,10 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.catchUnrecognizedEnum = catchUnrecognizedEnum;
7
- function catchUnrecognizedEnum(value) {
8
- return value;
9
- }
10
- //# sourceMappingURL=enums.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../src/types/enums.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAKH,sDAEC;AAFD,SAAgB,qBAAqB,CAAI,KAAQ;IAC/C,OAAO,KAAwB,CAAC;AAClC,CAAC"}
package/types/fp.d.ts DELETED
@@ -1,31 +0,0 @@
1
- /**
2
- * A monad that captures the result of a function call or an error if it was not
3
- * successful. Railway programming, enabled by this type, can be a nicer
4
- * alternative to traditional exception throwing because it allows functions to
5
- * declare all _known_ errors with static types and then check for them
6
- * exhaustively in application code. Thrown exception have a type of `unknown`
7
- * and break out of regular control flow of programs making them harder to
8
- * inspect and more verbose work with due to try-catch blocks.
9
- */
10
- export type Result<T, E = unknown> = {
11
- ok: true;
12
- value: T;
13
- error?: never;
14
- } | {
15
- ok: false;
16
- value?: never;
17
- error: E;
18
- };
19
- export declare function OK<V>(value: V): Result<V, never>;
20
- export declare function ERR<E>(error: E): Result<never, E>;
21
- /**
22
- * unwrap is a convenience function for extracting a value from a result or
23
- * throwing if there was an error.
24
- */
25
- export declare function unwrap<T>(r: Result<T, unknown>): T;
26
- /**
27
- * unwrapAsync is a convenience function for resolving a value from a Promise
28
- * of a result or rejecting if an error occurred.
29
- */
30
- export declare function unwrapAsync<T>(pr: Promise<Result<T, unknown>>): Promise<T>;
31
- //# sourceMappingURL=fp.d.ts.map
package/types/fp.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"fp.d.ts","sourceRoot":"","sources":["../src/types/fp.ts"],"names":[],"mappings":"AAIA;;;;;;;;GAQG;AACH,MAAM,MAAM,MAAM,CAAC,CAAC,EAAE,CAAC,GAAG,OAAO,IAC7B;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,KAAK,EAAE,CAAC,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,GACrC;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,CAAC,CAAA;CAAE,CAAC;AAE3C,wBAAgB,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,MAAM,CAAC,CAAC,EAAE,KAAK,CAAC,CAEhD;AAED,wBAAgB,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAEjD;AAED;;;GAGG;AACH,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAKlD;AAED;;;GAGG;AACH,wBAAsB,WAAW,CAAC,CAAC,EACjC,EAAE,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,GAC9B,OAAO,CAAC,CAAC,CAAC,CAOZ"}
package/types/fp.js DELETED
@@ -1,37 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.OK = OK;
7
- exports.ERR = ERR;
8
- exports.unwrap = unwrap;
9
- exports.unwrapAsync = unwrapAsync;
10
- function OK(value) {
11
- return { ok: true, value };
12
- }
13
- function ERR(error) {
14
- return { ok: false, error };
15
- }
16
- /**
17
- * unwrap is a convenience function for extracting a value from a result or
18
- * throwing if there was an error.
19
- */
20
- function unwrap(r) {
21
- if (!r.ok) {
22
- throw r.error;
23
- }
24
- return r.value;
25
- }
26
- /**
27
- * unwrapAsync is a convenience function for resolving a value from a Promise
28
- * of a result or rejecting if an error occurred.
29
- */
30
- async function unwrapAsync(pr) {
31
- const r = await pr;
32
- if (!r.ok) {
33
- throw r.error;
34
- }
35
- return r.value;
36
- }
37
- //# sourceMappingURL=fp.js.map
package/types/fp.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"fp.js","sourceRoot":"","sources":["../src/types/fp.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAeH,gBAEC;AAED,kBAEC;AAMD,wBAKC;AAMD,kCASC;AAhCD,SAAgB,EAAE,CAAI,KAAQ;IAC5B,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;AAC7B,CAAC;AAED,SAAgB,GAAG,CAAI,KAAQ;IAC7B,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;AAC9B,CAAC;AAED;;;GAGG;AACH,SAAgB,MAAM,CAAI,CAAqB;IAC7C,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QACV,MAAM,CAAC,CAAC,KAAK,CAAC;IAChB,CAAC;IACD,OAAO,CAAC,CAAC,KAAK,CAAC;AACjB,CAAC;AAED;;;GAGG;AACI,KAAK,UAAU,WAAW,CAC/B,EAA+B;IAE/B,MAAM,CAAC,GAAG,MAAM,EAAE,CAAC;IACnB,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QACV,MAAM,CAAC,CAAC,KAAK,CAAC;IAChB,CAAC;IAED,OAAO,CAAC,CAAC,KAAK,CAAC;AACjB,CAAC"}
package/types/index.js DELETED
@@ -1,16 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.RFCDate = exports.createPageIterator = exports.catchUnrecognizedEnum = exports.isBlobLike = exports.blobLikeSchema = void 0;
7
- var blobs_js_1 = require("./blobs.js");
8
- Object.defineProperty(exports, "blobLikeSchema", { enumerable: true, get: function () { return blobs_js_1.blobLikeSchema; } });
9
- Object.defineProperty(exports, "isBlobLike", { enumerable: true, get: function () { return blobs_js_1.isBlobLike; } });
10
- var enums_js_1 = require("./enums.js");
11
- Object.defineProperty(exports, "catchUnrecognizedEnum", { enumerable: true, get: function () { return enums_js_1.catchUnrecognizedEnum; } });
12
- var operations_js_1 = require("./operations.js");
13
- Object.defineProperty(exports, "createPageIterator", { enumerable: true, get: function () { return operations_js_1.createPageIterator; } });
14
- var rfcdate_js_1 = require("./rfcdate.js");
15
- Object.defineProperty(exports, "RFCDate", { enumerable: true, get: function () { return rfcdate_js_1.RFCDate; } });
16
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/types/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,uCAAwD;AAA/C,0GAAA,cAAc,OAAA;AAAE,sGAAA,UAAU,OAAA;AACnC,uCAAmD;AAA1C,iHAAA,qBAAqB,OAAA;AAI9B,iDAAqD;AAA5C,mHAAA,kBAAkB,OAAA;AAC3B,2CAAuC;AAA9B,qGAAA,OAAO,OAAA"}
@@ -1,27 +0,0 @@
1
- import { Result } from "./fp.js";
2
- export type Paginator<V> = () => Promise<V & {
3
- next: Paginator<V>;
4
- }> | null;
5
- export type PageIterator<V, PageState = unknown> = V & {
6
- next: Paginator<V>;
7
- [Symbol.asyncIterator]: () => AsyncIterableIterator<V>;
8
- "~next"?: PageState | undefined;
9
- };
10
- export declare function createPageIterator<V>(page: V & {
11
- next: Paginator<V>;
12
- }, halt: (v: V) => boolean): {
13
- [Symbol.asyncIterator]: () => AsyncIterableIterator<V>;
14
- };
15
- /**
16
- * This utility create a special iterator that yields a single value and
17
- * terminates. It is useful in paginated SDK functions that have early return
18
- * paths when things go wrong.
19
- */
20
- export declare function haltIterator<V extends object>(v: V): PageIterator<V, undefined>;
21
- /**
22
- * Converts an async iterator of `Result<V, E>` into an async iterator of `V`.
23
- * When error results occur, the underlying error value is thrown.
24
- */
25
- export declare function unwrapResultIterator<V, PageState>(iteratorPromise: Promise<PageIterator<Result<V, unknown>, PageState>>): Promise<PageIterator<V, PageState>>;
26
- export declare const URL_OVERRIDE: unique symbol;
27
- //# sourceMappingURL=operations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src/types/operations.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC,MAAM,MAAM,SAAS,CAAC,CAAC,IAAI,MAAM,OAAO,CAAC,CAAC,GAAG;IAAE,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC,GAAG,IAAI,CAAC;AAE5E,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,SAAS,GAAG,OAAO,IAAI,CAAC,GAAG;IACrD,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;IACnB,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,MAAM,qBAAqB,CAAC,CAAC,CAAC,CAAC;IACvD,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,CAAC,EAClC,IAAI,EAAE,CAAC,GAAG;IAAE,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,CAAA;CAAE,EAChC,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,OAAO,GACtB;IACD,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,MAAM,qBAAqB,CAAC,CAAC,CAAC,CAAC;CACxD,CAiBA;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,MAAM,EAC3C,CAAC,EAAE,CAAC,GACH,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAQ5B;AAED;;;GAGG;AACH,wBAAsB,oBAAoB,CAAC,CAAC,EAAE,SAAS,EACrD,eAAe,EAAE,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,SAAS,CAAC,CAAC,GACpE,OAAO,CAAC,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAoBrC;AAuBD,eAAO,MAAM,YAAY,eAAyB,CAAC"}
@@ -1,83 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.URL_OVERRIDE = void 0;
7
- exports.createPageIterator = createPageIterator;
8
- exports.haltIterator = haltIterator;
9
- exports.unwrapResultIterator = unwrapResultIterator;
10
- function createPageIterator(page, halt) {
11
- return {
12
- [Symbol.asyncIterator]: async function* paginator() {
13
- yield page;
14
- if (halt(page)) {
15
- return;
16
- }
17
- let p = page;
18
- for (p = await p.next(); p != null; p = await p.next()) {
19
- yield p;
20
- if (halt(p)) {
21
- return;
22
- }
23
- }
24
- },
25
- };
26
- }
27
- /**
28
- * This utility create a special iterator that yields a single value and
29
- * terminates. It is useful in paginated SDK functions that have early return
30
- * paths when things go wrong.
31
- */
32
- function haltIterator(v) {
33
- return {
34
- ...v,
35
- next: () => null,
36
- [Symbol.asyncIterator]: async function* paginator() {
37
- yield v;
38
- },
39
- };
40
- }
41
- /**
42
- * Converts an async iterator of `Result<V, E>` into an async iterator of `V`.
43
- * When error results occur, the underlying error value is thrown.
44
- */
45
- async function unwrapResultIterator(iteratorPromise) {
46
- const resultIter = await iteratorPromise;
47
- if (!resultIter.ok) {
48
- throw resultIter.error;
49
- }
50
- return {
51
- ...resultIter.value,
52
- next: unwrapPaginator(resultIter.next),
53
- "~next": resultIter["~next"],
54
- [Symbol.asyncIterator]: async function* paginator() {
55
- for await (const page of resultIter) {
56
- if (!page.ok) {
57
- throw page.error;
58
- }
59
- yield page.value;
60
- }
61
- },
62
- };
63
- }
64
- function unwrapPaginator(paginator) {
65
- return () => {
66
- const nextResult = paginator();
67
- if (nextResult == null) {
68
- return null;
69
- }
70
- return nextResult.then((res) => {
71
- if (!res.ok) {
72
- throw res.error;
73
- }
74
- const out = {
75
- ...res.value,
76
- next: unwrapPaginator(res.next),
77
- };
78
- return out;
79
- });
80
- };
81
- }
82
- exports.URL_OVERRIDE = Symbol("URL_OVERRIDE");
83
- //# sourceMappingURL=operations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../src/types/operations.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAYH,gDAsBC;AAOD,oCAUC;AAMD,oDAsBC;AAnED,SAAgB,kBAAkB,CAChC,IAAgC,EAChC,IAAuB;IAIvB,OAAO;QACL,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,KAAK,SAAS,CAAC,CAAC,SAAS;YAC/C,MAAM,IAAI,CAAC;YACX,IAAI,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;gBACf,OAAO;YACT,CAAC;YAED,IAAI,CAAC,GAAuB,IAAI,CAAC;YACjC,KAAK,CAAC,GAAG,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,GAAG,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC;gBACvD,MAAM,CAAC,CAAC;gBACR,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;oBACZ,OAAO;gBACT,CAAC;YACH,CAAC;QACH,CAAC;KACF,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,SAAgB,YAAY,CAC1B,CAAI;IAEJ,OAAO;QACL,GAAG,CAAC;QACJ,IAAI,EAAE,GAAG,EAAE,CAAC,IAAI;QAChB,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,KAAK,SAAS,CAAC,CAAC,SAAS;YAC/C,MAAM,CAAC,CAAC;QACV,CAAC;KACF,CAAC;AACJ,CAAC;AAED;;;GAGG;AACI,KAAK,UAAU,oBAAoB,CACxC,eAAqE;IAErE,MAAM,UAAU,GAAG,MAAM,eAAe,CAAC;IAEzC,IAAI,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC;QACnB,MAAM,UAAU,CAAC,KAAK,CAAC;IACzB,CAAC;IAED,OAAO;QACL,GAAG,UAAU,CAAC,KAAK;QACnB,IAAI,EAAE,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC;QACtC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;QAC5B,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,KAAK,SAAS,CAAC,CAAC,SAAS;YAC/C,IAAI,KAAK,EAAE,MAAM,IAAI,IAAI,UAAU,EAAE,CAAC;gBACpC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;oBACb,MAAM,IAAI,CAAC,KAAK,CAAC;gBACnB,CAAC;gBACD,MAAM,IAAI,CAAC,KAAK,CAAC;YACnB,CAAC;QACH,CAAC;KACF,CAAC;AACJ,CAAC;AAED,SAAS,eAAe,CACtB,SAAwC;IAExC,OAAO,GAAG,EAAE;QACV,MAAM,UAAU,GAAG,SAAS,EAAE,CAAC;QAC/B,IAAI,UAAU,IAAI,IAAI,EAAE,CAAC;YACvB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,OAAO,UAAU,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;YAC7B,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;gBACZ,MAAM,GAAG,CAAC,KAAK,CAAC;YAClB,CAAC;YACD,MAAM,GAAG,GAAG;gBACV,GAAG,GAAG,CAAC,KAAK;gBACZ,IAAI,EAAE,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC;aAChC,CAAC;YACF,OAAO,GAAG,CAAC;QACb,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC;AAEY,QAAA,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC"}
@@ -1,21 +0,0 @@
1
- export declare class RFCDate {
2
- private serialized;
3
- /**
4
- * Creates a new RFCDate instance using today's date.
5
- */
6
- static today(): RFCDate;
7
- /**
8
- * Creates a new RFCDate instance using the provided input.
9
- * If a string is used then in must be in the format YYYY-MM-DD.
10
- *
11
- * @param date A Date object or a date string in YYYY-MM-DD format
12
- * @example
13
- * new RFCDate("2022-01-01")
14
- * @example
15
- * new RFCDate(new Date())
16
- */
17
- constructor(date: Date | string);
18
- toJSON(): string;
19
- toString(): string;
20
- }
21
- //# sourceMappingURL=rfcdate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rfcdate.d.ts","sourceRoot":"","sources":["../src/types/rfcdate.ts"],"names":[],"mappings":"AAMA,qBAAa,OAAO;IAClB,OAAO,CAAC,UAAU,CAAS;IAE3B;;OAEG;IACH,MAAM,CAAC,KAAK,IAAI,OAAO;IAIvB;;;;;;;;;OASG;gBACS,IAAI,EAAE,IAAI,GAAG,MAAM;IAoB/B,MAAM,IAAI,MAAM;IAIhB,QAAQ,IAAI,MAAM;CAGnB"}
package/types/rfcdate.js DELETED
@@ -1,46 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.RFCDate = void 0;
7
- const dateRE = /^\d{4}-\d{2}-\d{2}$/;
8
- class RFCDate {
9
- /**
10
- * Creates a new RFCDate instance using today's date.
11
- */
12
- static today() {
13
- return new RFCDate(new Date());
14
- }
15
- /**
16
- * Creates a new RFCDate instance using the provided input.
17
- * If a string is used then in must be in the format YYYY-MM-DD.
18
- *
19
- * @param date A Date object or a date string in YYYY-MM-DD format
20
- * @example
21
- * new RFCDate("2022-01-01")
22
- * @example
23
- * new RFCDate(new Date())
24
- */
25
- constructor(date) {
26
- if (typeof date === "string" && !dateRE.test(date)) {
27
- throw new RangeError("RFCDate: date strings must be in the format YYYY-MM-DD: " + date);
28
- }
29
- const value = new Date(date);
30
- if (isNaN(+value)) {
31
- throw new RangeError("RFCDate: invalid date provided: " + date);
32
- }
33
- this.serialized = value.toISOString().slice(0, "YYYY-MM-DD".length);
34
- if (!dateRE.test(this.serialized)) {
35
- throw new TypeError(`RFCDate: failed to build valid date with given value: ${date} serialized to ${this.serialized}`);
36
- }
37
- }
38
- toJSON() {
39
- return this.toString();
40
- }
41
- toString() {
42
- return this.serialized;
43
- }
44
- }
45
- exports.RFCDate = RFCDate;
46
- //# sourceMappingURL=rfcdate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rfcdate.js","sourceRoot":"","sources":["../src/types/rfcdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,MAAM,MAAM,GAAG,qBAAqB,CAAC;AAErC,MAAa,OAAO;IAGlB;;OAEG;IACH,MAAM,CAAC,KAAK;QACV,OAAO,IAAI,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IACjC,CAAC;IAED;;;;;;;;;OASG;IACH,YAAY,IAAmB;QAC7B,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YACnD,MAAM,IAAI,UAAU,CAClB,0DAA0D,GAAG,IAAI,CAClE,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7B,IAAI,KAAK,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC;YAClB,MAAM,IAAI,UAAU,CAAC,kCAAkC,GAAG,IAAI,CAAC,CAAC;QAClE,CAAC;QAED,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;QACpE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,MAAM,IAAI,SAAS,CACjB,yDAAyD,IAAI,kBAAkB,IAAI,CAAC,UAAU,EAAE,CACjG,CAAC;QACJ,CAAC;IACH,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;IAED,QAAQ;QACN,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;CACF;AA/CD,0BA+CC"}
@@ -1,2 +0,0 @@
1
- export declare function isReadableStream<T = Uint8Array>(val: unknown): val is ReadableStream<T>;
2
- //# sourceMappingURL=streams.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"streams.d.ts","sourceRoot":"","sources":["../src/types/streams.ts"],"names":[],"mappings":"AAIA,wBAAgB,gBAAgB,CAAC,CAAC,GAAG,UAAU,EAC7C,GAAG,EAAE,OAAO,GACX,GAAG,IAAI,cAAc,CAAC,CAAC,CAAC,CAc1B"}
package/types/streams.js DELETED
@@ -1,18 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.isReadableStream = isReadableStream;
7
- function isReadableStream(val) {
8
- if (typeof val !== "object" || val === null) {
9
- return false;
10
- }
11
- // Check for the presence of methods specific to ReadableStream
12
- const stream = val;
13
- // ReadableStream has methods like getReader, cancel, and tee
14
- return (typeof stream.getReader === "function" &&
15
- typeof stream.cancel === "function" &&
16
- typeof stream.tee === "function");
17
- }
18
- //# sourceMappingURL=streams.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"streams.js","sourceRoot":"","sources":["../src/types/streams.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAEH,4CAgBC;AAhBD,SAAgB,gBAAgB,CAC9B,GAAY;IAEZ,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;QAC5C,OAAO,KAAK,CAAC;IACf,CAAC;IAED,+DAA+D;IAC/D,MAAM,MAAM,GAAG,GAAiC,CAAC;IAEjD,6DAA6D;IAC7D,OAAO,CACL,OAAO,MAAM,CAAC,SAAS,KAAK,UAAU;QACtC,OAAO,MAAM,CAAC,MAAM,KAAK,UAAU;QACnC,OAAO,MAAM,CAAC,GAAG,KAAK,UAAU,CACjC,CAAC;AACJ,CAAC"}