rehive 3.1.3 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (425) hide show
  1. package/README.md +211 -494
  2. package/dist/admin.d.mts +31284 -0
  3. package/dist/admin.d.ts +31284 -0
  4. package/dist/admin.js +1 -0
  5. package/dist/admin.mjs +1 -0
  6. package/dist/auth.d.mts +23 -0
  7. package/dist/auth.d.ts +23 -0
  8. package/dist/auth.js +1 -0
  9. package/dist/auth.mjs +1 -0
  10. package/dist/chunk-53JJUQ4V.js +1 -0
  11. package/dist/chunk-5MRX4DHT.js +1 -0
  12. package/dist/chunk-7WWCXCY2.mjs +1 -0
  13. package/dist/chunk-HF5XDXOU.mjs +1 -0
  14. package/dist/chunk-NFN3B6SG.mjs +1 -0
  15. package/dist/chunk-OEIQFP6T.js +1 -0
  16. package/dist/chunk-Q2ZX3WFY.mjs +7 -0
  17. package/dist/chunk-QWQ6ZENI.js +1 -0
  18. package/dist/chunk-RKDIBDG6.js +7 -0
  19. package/dist/chunk-S4QKN5WW.mjs +1 -0
  20. package/dist/chunk-UYUMXTPF.js +7 -0
  21. package/dist/chunk-V277OEVY.mjs +7 -0
  22. package/dist/create-api-client-BMeX50D6.d.ts +25 -0
  23. package/dist/create-api-client-BrsH1l8c.d.mts +25 -0
  24. package/dist/create-auth-UTklIOTc.d.mts +18340 -0
  25. package/dist/create-auth-UTklIOTc.d.ts +18340 -0
  26. package/dist/extensions/alchemy.d.mts +1114 -0
  27. package/dist/extensions/alchemy.d.ts +1114 -0
  28. package/dist/extensions/alchemy.js +7 -0
  29. package/dist/extensions/alchemy.mjs +7 -0
  30. package/dist/extensions/app.d.mts +2042 -0
  31. package/dist/extensions/app.d.ts +2042 -0
  32. package/dist/extensions/app.js +7 -0
  33. package/dist/extensions/app.mjs +7 -0
  34. package/dist/extensions/billing.d.mts +828 -0
  35. package/dist/extensions/billing.d.ts +828 -0
  36. package/dist/extensions/billing.js +7 -0
  37. package/dist/extensions/billing.mjs +7 -0
  38. package/dist/extensions/bridge.d.mts +2028 -0
  39. package/dist/extensions/bridge.d.ts +2028 -0
  40. package/dist/extensions/bridge.js +7 -0
  41. package/dist/extensions/bridge.mjs +7 -0
  42. package/dist/extensions/builder.d.mts +542 -0
  43. package/dist/extensions/builder.d.ts +542 -0
  44. package/dist/extensions/builder.js +7 -0
  45. package/dist/extensions/builder.mjs +7 -0
  46. package/dist/extensions/business.d.mts +8972 -0
  47. package/dist/extensions/business.d.ts +8972 -0
  48. package/dist/extensions/business.js +7 -0
  49. package/dist/extensions/business.mjs +7 -0
  50. package/dist/extensions/conversion.d.mts +2786 -0
  51. package/dist/extensions/conversion.d.ts +2786 -0
  52. package/dist/extensions/conversion.js +7 -0
  53. package/dist/extensions/conversion.mjs +7 -0
  54. package/dist/extensions/mass-send.d.mts +1294 -0
  55. package/dist/extensions/mass-send.d.ts +1294 -0
  56. package/dist/extensions/mass-send.js +7 -0
  57. package/dist/extensions/mass-send.mjs +7 -0
  58. package/dist/extensions/notifications.d.mts +2035 -0
  59. package/dist/extensions/notifications.d.ts +2035 -0
  60. package/dist/extensions/notifications.js +7 -0
  61. package/dist/extensions/notifications.mjs +7 -0
  62. package/dist/extensions/payment-requests.d.mts +3746 -0
  63. package/dist/extensions/payment-requests.d.ts +3746 -0
  64. package/dist/extensions/payment-requests.js +7 -0
  65. package/dist/extensions/payment-requests.mjs +7 -0
  66. package/dist/extensions/products.d.mts +10092 -0
  67. package/dist/extensions/products.d.ts +10092 -0
  68. package/dist/extensions/products.js +7 -0
  69. package/dist/extensions/products.mjs +7 -0
  70. package/dist/extensions/rain.d.mts +1896 -0
  71. package/dist/extensions/rain.d.ts +1896 -0
  72. package/dist/extensions/rain.js +7 -0
  73. package/dist/extensions/rain.mjs +7 -0
  74. package/dist/extensions/rewards.d.mts +2038 -0
  75. package/dist/extensions/rewards.d.ts +2038 -0
  76. package/dist/extensions/rewards.js +7 -0
  77. package/dist/extensions/rewards.mjs +7 -0
  78. package/dist/extensions/stellar-testnet.d.mts +3922 -0
  79. package/dist/extensions/stellar-testnet.d.ts +3922 -0
  80. package/dist/extensions/stellar-testnet.js +7 -0
  81. package/dist/extensions/stellar-testnet.mjs +7 -0
  82. package/dist/extensions/stellar.d.mts +3922 -0
  83. package/dist/extensions/stellar.d.ts +3922 -0
  84. package/dist/extensions/stellar.js +7 -0
  85. package/dist/extensions/stellar.mjs +7 -0
  86. package/dist/index.d.mts +6 -61050
  87. package/dist/index.d.ts +6 -61050
  88. package/dist/index.js +1 -1
  89. package/dist/index.mjs +1 -1
  90. package/dist/react.d.mts +8 -61087
  91. package/dist/react.d.ts +8 -61087
  92. package/dist/react.js +1 -1
  93. package/dist/react.mjs +1 -1
  94. package/dist/user.d.mts +1347 -0
  95. package/dist/user.d.ts +1347 -0
  96. package/dist/user.js +1 -0
  97. package/dist/user.mjs +1 -0
  98. package/package.json +99 -32
  99. package/src/auth/core/storage-adapters.ts +58 -0
  100. package/src/auth/create-auth.ts +563 -0
  101. package/src/auth/index.ts +4 -0
  102. package/src/auth/types/index.ts +28 -0
  103. package/src/extensions/alchemy/create-api.ts +13 -0
  104. package/src/extensions/alchemy/index.ts +3 -0
  105. package/src/extensions/alchemy/openapi-ts/client/client.gen.ts +288 -0
  106. package/src/extensions/alchemy/openapi-ts/client/index.ts +25 -0
  107. package/src/extensions/alchemy/openapi-ts/client/types.gen.ts +213 -0
  108. package/src/extensions/alchemy/openapi-ts/client/utils.gen.ts +316 -0
  109. package/src/extensions/alchemy/openapi-ts/client.gen.ts +16 -0
  110. package/src/extensions/alchemy/openapi-ts/core/auth.gen.ts +41 -0
  111. package/src/extensions/alchemy/openapi-ts/core/bodySerializer.gen.ts +84 -0
  112. package/src/extensions/alchemy/openapi-ts/core/params.gen.ts +169 -0
  113. package/src/extensions/alchemy/openapi-ts/core/pathSerializer.gen.ts +171 -0
  114. package/src/extensions/alchemy/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
  115. package/src/extensions/alchemy/openapi-ts/core/serverSentEvents.gen.ts +243 -0
  116. package/src/extensions/alchemy/openapi-ts/core/types.gen.ts +104 -0
  117. package/src/extensions/alchemy/openapi-ts/core/utils.gen.ts +140 -0
  118. package/src/extensions/alchemy/openapi-ts/index.ts +4 -0
  119. package/src/extensions/alchemy/openapi-ts/sdk.gen.ts +179 -0
  120. package/src/extensions/alchemy/openapi-ts/types.gen.ts +851 -0
  121. package/src/extensions/app/create-api.ts +13 -0
  122. package/src/extensions/app/index.ts +3 -0
  123. package/src/extensions/app/openapi-ts/client/client.gen.ts +288 -0
  124. package/src/extensions/app/openapi-ts/client/index.ts +25 -0
  125. package/src/extensions/app/openapi-ts/client/types.gen.ts +213 -0
  126. package/src/extensions/app/openapi-ts/client/utils.gen.ts +316 -0
  127. package/src/extensions/app/openapi-ts/client.gen.ts +16 -0
  128. package/src/extensions/app/openapi-ts/core/auth.gen.ts +41 -0
  129. package/src/extensions/app/openapi-ts/core/bodySerializer.gen.ts +84 -0
  130. package/src/extensions/app/openapi-ts/core/params.gen.ts +169 -0
  131. package/src/extensions/app/openapi-ts/core/pathSerializer.gen.ts +171 -0
  132. package/src/extensions/app/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
  133. package/src/extensions/app/openapi-ts/core/serverSentEvents.gen.ts +243 -0
  134. package/src/extensions/app/openapi-ts/core/types.gen.ts +104 -0
  135. package/src/extensions/app/openapi-ts/core/utils.gen.ts +140 -0
  136. package/src/extensions/app/openapi-ts/index.ts +4 -0
  137. package/src/extensions/app/openapi-ts/sdk.gen.ts +539 -0
  138. package/src/extensions/app/openapi-ts/types.gen.ts +1702 -0
  139. package/src/extensions/billing/create-api.ts +13 -0
  140. package/src/extensions/billing/index.ts +3 -0
  141. package/src/extensions/billing/openapi-ts/client/client.gen.ts +288 -0
  142. package/src/extensions/billing/openapi-ts/client/index.ts +25 -0
  143. package/src/extensions/billing/openapi-ts/client/types.gen.ts +213 -0
  144. package/src/extensions/billing/openapi-ts/client/utils.gen.ts +316 -0
  145. package/src/extensions/billing/openapi-ts/client.gen.ts +16 -0
  146. package/src/extensions/billing/openapi-ts/core/auth.gen.ts +41 -0
  147. package/src/extensions/billing/openapi-ts/core/bodySerializer.gen.ts +84 -0
  148. package/src/extensions/billing/openapi-ts/core/params.gen.ts +169 -0
  149. package/src/extensions/billing/openapi-ts/core/pathSerializer.gen.ts +171 -0
  150. package/src/extensions/billing/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
  151. package/src/extensions/billing/openapi-ts/core/serverSentEvents.gen.ts +243 -0
  152. package/src/extensions/billing/openapi-ts/core/types.gen.ts +104 -0
  153. package/src/extensions/billing/openapi-ts/core/utils.gen.ts +140 -0
  154. package/src/extensions/billing/openapi-ts/index.ts +4 -0
  155. package/src/extensions/billing/openapi-ts/sdk.gen.ts +155 -0
  156. package/src/extensions/billing/openapi-ts/types.gen.ts +508 -0
  157. package/src/extensions/bridge/create-api.ts +13 -0
  158. package/src/extensions/bridge/index.ts +3 -0
  159. package/src/extensions/bridge/openapi-ts/client/client.gen.ts +288 -0
  160. package/src/extensions/bridge/openapi-ts/client/index.ts +25 -0
  161. package/src/extensions/bridge/openapi-ts/client/types.gen.ts +213 -0
  162. package/src/extensions/bridge/openapi-ts/client/utils.gen.ts +316 -0
  163. package/src/extensions/bridge/openapi-ts/client.gen.ts +16 -0
  164. package/src/extensions/bridge/openapi-ts/core/auth.gen.ts +41 -0
  165. package/src/extensions/bridge/openapi-ts/core/bodySerializer.gen.ts +84 -0
  166. package/src/extensions/bridge/openapi-ts/core/params.gen.ts +169 -0
  167. package/src/extensions/bridge/openapi-ts/core/pathSerializer.gen.ts +171 -0
  168. package/src/extensions/bridge/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
  169. package/src/extensions/bridge/openapi-ts/core/serverSentEvents.gen.ts +243 -0
  170. package/src/extensions/bridge/openapi-ts/core/types.gen.ts +104 -0
  171. package/src/extensions/bridge/openapi-ts/core/utils.gen.ts +140 -0
  172. package/src/extensions/bridge/openapi-ts/index.ts +4 -0
  173. package/src/extensions/bridge/openapi-ts/sdk.gen.ts +383 -0
  174. package/src/extensions/bridge/openapi-ts/types.gen.ts +1855 -0
  175. package/src/extensions/builder/create-api.ts +13 -0
  176. package/src/extensions/builder/index.ts +3 -0
  177. package/src/extensions/builder/openapi-ts/client/client.gen.ts +288 -0
  178. package/src/extensions/builder/openapi-ts/client/index.ts +25 -0
  179. package/src/extensions/builder/openapi-ts/client/types.gen.ts +213 -0
  180. package/src/extensions/builder/openapi-ts/client/utils.gen.ts +316 -0
  181. package/src/extensions/builder/openapi-ts/client.gen.ts +16 -0
  182. package/src/extensions/builder/openapi-ts/core/auth.gen.ts +41 -0
  183. package/src/extensions/builder/openapi-ts/core/bodySerializer.gen.ts +84 -0
  184. package/src/extensions/builder/openapi-ts/core/params.gen.ts +169 -0
  185. package/src/extensions/builder/openapi-ts/core/pathSerializer.gen.ts +171 -0
  186. package/src/extensions/builder/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
  187. package/src/extensions/builder/openapi-ts/core/serverSentEvents.gen.ts +243 -0
  188. package/src/extensions/builder/openapi-ts/core/types.gen.ts +104 -0
  189. package/src/extensions/builder/openapi-ts/core/utils.gen.ts +140 -0
  190. package/src/extensions/builder/openapi-ts/index.ts +4 -0
  191. package/src/extensions/builder/openapi-ts/sdk.gen.ts +60 -0
  192. package/src/extensions/builder/openapi-ts/types.gen.ts +215 -0
  193. package/src/extensions/business/create-api.ts +13 -0
  194. package/src/extensions/business/index.ts +3 -0
  195. package/src/extensions/business/openapi-ts/client/client.gen.ts +288 -0
  196. package/src/extensions/business/openapi-ts/client/index.ts +25 -0
  197. package/src/extensions/business/openapi-ts/client/types.gen.ts +213 -0
  198. package/src/extensions/business/openapi-ts/client/utils.gen.ts +316 -0
  199. package/src/extensions/business/openapi-ts/client.gen.ts +16 -0
  200. package/src/extensions/business/openapi-ts/core/auth.gen.ts +41 -0
  201. package/src/extensions/business/openapi-ts/core/bodySerializer.gen.ts +84 -0
  202. package/src/extensions/business/openapi-ts/core/params.gen.ts +169 -0
  203. package/src/extensions/business/openapi-ts/core/pathSerializer.gen.ts +171 -0
  204. package/src/extensions/business/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
  205. package/src/extensions/business/openapi-ts/core/serverSentEvents.gen.ts +243 -0
  206. package/src/extensions/business/openapi-ts/core/types.gen.ts +104 -0
  207. package/src/extensions/business/openapi-ts/core/utils.gen.ts +140 -0
  208. package/src/extensions/business/openapi-ts/index.ts +4 -0
  209. package/src/extensions/business/openapi-ts/sdk.gen.ts +903 -0
  210. package/src/extensions/business/openapi-ts/types.gen.ts +8718 -0
  211. package/src/extensions/conversion/create-api.ts +13 -0
  212. package/src/extensions/conversion/index.ts +3 -0
  213. package/src/extensions/conversion/openapi-ts/client/client.gen.ts +288 -0
  214. package/src/extensions/conversion/openapi-ts/client/index.ts +25 -0
  215. package/src/extensions/conversion/openapi-ts/client/types.gen.ts +213 -0
  216. package/src/extensions/conversion/openapi-ts/client/utils.gen.ts +316 -0
  217. package/src/extensions/conversion/openapi-ts/client.gen.ts +16 -0
  218. package/src/extensions/conversion/openapi-ts/core/auth.gen.ts +41 -0
  219. package/src/extensions/conversion/openapi-ts/core/bodySerializer.gen.ts +84 -0
  220. package/src/extensions/conversion/openapi-ts/core/params.gen.ts +169 -0
  221. package/src/extensions/conversion/openapi-ts/core/pathSerializer.gen.ts +171 -0
  222. package/src/extensions/conversion/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
  223. package/src/extensions/conversion/openapi-ts/core/serverSentEvents.gen.ts +243 -0
  224. package/src/extensions/conversion/openapi-ts/core/types.gen.ts +104 -0
  225. package/src/extensions/conversion/openapi-ts/core/utils.gen.ts +140 -0
  226. package/src/extensions/conversion/openapi-ts/index.ts +4 -0
  227. package/src/extensions/conversion/openapi-ts/sdk.gen.ts +684 -0
  228. package/src/extensions/conversion/openapi-ts/types.gen.ts +2467 -0
  229. package/src/extensions/mass-send/create-api.ts +13 -0
  230. package/src/extensions/mass-send/index.ts +3 -0
  231. package/src/extensions/mass-send/openapi-ts/client/client.gen.ts +288 -0
  232. package/src/extensions/mass-send/openapi-ts/client/index.ts +25 -0
  233. package/src/extensions/mass-send/openapi-ts/client/types.gen.ts +213 -0
  234. package/src/extensions/mass-send/openapi-ts/client/utils.gen.ts +316 -0
  235. package/src/extensions/mass-send/openapi-ts/client.gen.ts +16 -0
  236. package/src/extensions/mass-send/openapi-ts/core/auth.gen.ts +41 -0
  237. package/src/extensions/mass-send/openapi-ts/core/bodySerializer.gen.ts +84 -0
  238. package/src/extensions/mass-send/openapi-ts/core/params.gen.ts +169 -0
  239. package/src/extensions/mass-send/openapi-ts/core/pathSerializer.gen.ts +171 -0
  240. package/src/extensions/mass-send/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
  241. package/src/extensions/mass-send/openapi-ts/core/serverSentEvents.gen.ts +243 -0
  242. package/src/extensions/mass-send/openapi-ts/core/types.gen.ts +104 -0
  243. package/src/extensions/mass-send/openapi-ts/core/utils.gen.ts +140 -0
  244. package/src/extensions/mass-send/openapi-ts/index.ts +4 -0
  245. package/src/extensions/mass-send/openapi-ts/sdk.gen.ts +270 -0
  246. package/src/extensions/mass-send/openapi-ts/types.gen.ts +988 -0
  247. package/src/extensions/notifications/create-api.ts +13 -0
  248. package/src/extensions/notifications/index.ts +3 -0
  249. package/src/extensions/notifications/openapi-ts/client/client.gen.ts +288 -0
  250. package/src/extensions/notifications/openapi-ts/client/index.ts +25 -0
  251. package/src/extensions/notifications/openapi-ts/client/types.gen.ts +213 -0
  252. package/src/extensions/notifications/openapi-ts/client/utils.gen.ts +316 -0
  253. package/src/extensions/notifications/openapi-ts/client.gen.ts +16 -0
  254. package/src/extensions/notifications/openapi-ts/core/auth.gen.ts +41 -0
  255. package/src/extensions/notifications/openapi-ts/core/bodySerializer.gen.ts +84 -0
  256. package/src/extensions/notifications/openapi-ts/core/params.gen.ts +169 -0
  257. package/src/extensions/notifications/openapi-ts/core/pathSerializer.gen.ts +171 -0
  258. package/src/extensions/notifications/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
  259. package/src/extensions/notifications/openapi-ts/core/serverSentEvents.gen.ts +243 -0
  260. package/src/extensions/notifications/openapi-ts/core/types.gen.ts +104 -0
  261. package/src/extensions/notifications/openapi-ts/core/utils.gen.ts +140 -0
  262. package/src/extensions/notifications/openapi-ts/index.ts +4 -0
  263. package/src/extensions/notifications/openapi-ts/sdk.gen.ts +450 -0
  264. package/src/extensions/notifications/openapi-ts/types.gen.ts +1732 -0
  265. package/src/extensions/payment-requests/create-api.ts +13 -0
  266. package/src/extensions/payment-requests/index.ts +3 -0
  267. package/src/extensions/payment-requests/openapi-ts/client/client.gen.ts +288 -0
  268. package/src/extensions/payment-requests/openapi-ts/client/index.ts +25 -0
  269. package/src/extensions/payment-requests/openapi-ts/client/types.gen.ts +213 -0
  270. package/src/extensions/payment-requests/openapi-ts/client/utils.gen.ts +316 -0
  271. package/src/extensions/payment-requests/openapi-ts/client.gen.ts +16 -0
  272. package/src/extensions/payment-requests/openapi-ts/core/auth.gen.ts +41 -0
  273. package/src/extensions/payment-requests/openapi-ts/core/bodySerializer.gen.ts +84 -0
  274. package/src/extensions/payment-requests/openapi-ts/core/params.gen.ts +169 -0
  275. package/src/extensions/payment-requests/openapi-ts/core/pathSerializer.gen.ts +171 -0
  276. package/src/extensions/payment-requests/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
  277. package/src/extensions/payment-requests/openapi-ts/core/serverSentEvents.gen.ts +243 -0
  278. package/src/extensions/payment-requests/openapi-ts/core/types.gen.ts +104 -0
  279. package/src/extensions/payment-requests/openapi-ts/core/utils.gen.ts +140 -0
  280. package/src/extensions/payment-requests/openapi-ts/index.ts +4 -0
  281. package/src/extensions/payment-requests/openapi-ts/sdk.gen.ts +845 -0
  282. package/src/extensions/payment-requests/openapi-ts/types.gen.ts +3415 -0
  283. package/src/extensions/products/create-api.ts +13 -0
  284. package/src/extensions/products/index.ts +3 -0
  285. package/src/extensions/products/openapi-ts/client/client.gen.ts +288 -0
  286. package/src/extensions/products/openapi-ts/client/index.ts +25 -0
  287. package/src/extensions/products/openapi-ts/client/types.gen.ts +213 -0
  288. package/src/extensions/products/openapi-ts/client/utils.gen.ts +316 -0
  289. package/src/extensions/products/openapi-ts/client.gen.ts +16 -0
  290. package/src/extensions/products/openapi-ts/core/auth.gen.ts +41 -0
  291. package/src/extensions/products/openapi-ts/core/bodySerializer.gen.ts +84 -0
  292. package/src/extensions/products/openapi-ts/core/params.gen.ts +169 -0
  293. package/src/extensions/products/openapi-ts/core/pathSerializer.gen.ts +171 -0
  294. package/src/extensions/products/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
  295. package/src/extensions/products/openapi-ts/core/serverSentEvents.gen.ts +243 -0
  296. package/src/extensions/products/openapi-ts/core/types.gen.ts +104 -0
  297. package/src/extensions/products/openapi-ts/core/utils.gen.ts +140 -0
  298. package/src/extensions/products/openapi-ts/index.ts +4 -0
  299. package/src/extensions/products/openapi-ts/sdk.gen.ts +2619 -0
  300. package/src/extensions/products/openapi-ts/types.gen.ts +9717 -0
  301. package/src/extensions/rain/create-api.ts +13 -0
  302. package/src/extensions/rain/index.ts +3 -0
  303. package/src/extensions/rain/openapi-ts/client/client.gen.ts +288 -0
  304. package/src/extensions/rain/openapi-ts/client/index.ts +25 -0
  305. package/src/extensions/rain/openapi-ts/client/types.gen.ts +213 -0
  306. package/src/extensions/rain/openapi-ts/client/utils.gen.ts +316 -0
  307. package/src/extensions/rain/openapi-ts/client.gen.ts +16 -0
  308. package/src/extensions/rain/openapi-ts/core/auth.gen.ts +41 -0
  309. package/src/extensions/rain/openapi-ts/core/bodySerializer.gen.ts +84 -0
  310. package/src/extensions/rain/openapi-ts/core/params.gen.ts +169 -0
  311. package/src/extensions/rain/openapi-ts/core/pathSerializer.gen.ts +171 -0
  312. package/src/extensions/rain/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
  313. package/src/extensions/rain/openapi-ts/core/serverSentEvents.gen.ts +243 -0
  314. package/src/extensions/rain/openapi-ts/core/types.gen.ts +104 -0
  315. package/src/extensions/rain/openapi-ts/core/utils.gen.ts +140 -0
  316. package/src/extensions/rain/openapi-ts/index.ts +4 -0
  317. package/src/extensions/rain/openapi-ts/sdk.gen.ts +227 -0
  318. package/src/extensions/rain/openapi-ts/types.gen.ts +1660 -0
  319. package/src/extensions/rewards/create-api.ts +13 -0
  320. package/src/extensions/rewards/index.ts +3 -0
  321. package/src/extensions/rewards/openapi-ts/client/client.gen.ts +288 -0
  322. package/src/extensions/rewards/openapi-ts/client/index.ts +25 -0
  323. package/src/extensions/rewards/openapi-ts/client/types.gen.ts +213 -0
  324. package/src/extensions/rewards/openapi-ts/client/utils.gen.ts +316 -0
  325. package/src/extensions/rewards/openapi-ts/client.gen.ts +16 -0
  326. package/src/extensions/rewards/openapi-ts/core/auth.gen.ts +41 -0
  327. package/src/extensions/rewards/openapi-ts/core/bodySerializer.gen.ts +84 -0
  328. package/src/extensions/rewards/openapi-ts/core/params.gen.ts +169 -0
  329. package/src/extensions/rewards/openapi-ts/core/pathSerializer.gen.ts +171 -0
  330. package/src/extensions/rewards/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
  331. package/src/extensions/rewards/openapi-ts/core/serverSentEvents.gen.ts +243 -0
  332. package/src/extensions/rewards/openapi-ts/core/types.gen.ts +104 -0
  333. package/src/extensions/rewards/openapi-ts/core/utils.gen.ts +140 -0
  334. package/src/extensions/rewards/openapi-ts/index.ts +4 -0
  335. package/src/extensions/rewards/openapi-ts/sdk.gen.ts +345 -0
  336. package/src/extensions/rewards/openapi-ts/types.gen.ts +1718 -0
  337. package/src/extensions/stellar/create-api.ts +13 -0
  338. package/src/extensions/stellar/index.ts +3 -0
  339. package/src/extensions/stellar/openapi-ts/client/client.gen.ts +288 -0
  340. package/src/extensions/stellar/openapi-ts/client/index.ts +25 -0
  341. package/src/extensions/stellar/openapi-ts/client/types.gen.ts +213 -0
  342. package/src/extensions/stellar/openapi-ts/client/utils.gen.ts +316 -0
  343. package/src/extensions/stellar/openapi-ts/client.gen.ts +16 -0
  344. package/src/extensions/stellar/openapi-ts/core/auth.gen.ts +41 -0
  345. package/src/extensions/stellar/openapi-ts/core/bodySerializer.gen.ts +84 -0
  346. package/src/extensions/stellar/openapi-ts/core/params.gen.ts +169 -0
  347. package/src/extensions/stellar/openapi-ts/core/pathSerializer.gen.ts +171 -0
  348. package/src/extensions/stellar/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
  349. package/src/extensions/stellar/openapi-ts/core/serverSentEvents.gen.ts +243 -0
  350. package/src/extensions/stellar/openapi-ts/core/types.gen.ts +104 -0
  351. package/src/extensions/stellar/openapi-ts/core/utils.gen.ts +140 -0
  352. package/src/extensions/stellar/openapi-ts/index.ts +4 -0
  353. package/src/extensions/stellar/openapi-ts/sdk.gen.ts +1049 -0
  354. package/src/extensions/stellar/openapi-ts/types.gen.ts +3543 -0
  355. package/src/extensions/stellar-testnet/create-api.ts +13 -0
  356. package/src/extensions/stellar-testnet/index.ts +3 -0
  357. package/src/extensions/stellar-testnet/openapi-ts/client/client.gen.ts +288 -0
  358. package/src/extensions/stellar-testnet/openapi-ts/client/index.ts +25 -0
  359. package/src/extensions/stellar-testnet/openapi-ts/client/types.gen.ts +213 -0
  360. package/src/extensions/stellar-testnet/openapi-ts/client/utils.gen.ts +316 -0
  361. package/src/extensions/stellar-testnet/openapi-ts/client.gen.ts +16 -0
  362. package/src/extensions/stellar-testnet/openapi-ts/core/auth.gen.ts +41 -0
  363. package/src/extensions/stellar-testnet/openapi-ts/core/bodySerializer.gen.ts +84 -0
  364. package/src/extensions/stellar-testnet/openapi-ts/core/params.gen.ts +169 -0
  365. package/src/extensions/stellar-testnet/openapi-ts/core/pathSerializer.gen.ts +171 -0
  366. package/src/extensions/stellar-testnet/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
  367. package/src/extensions/stellar-testnet/openapi-ts/core/serverSentEvents.gen.ts +243 -0
  368. package/src/extensions/stellar-testnet/openapi-ts/core/types.gen.ts +104 -0
  369. package/src/extensions/stellar-testnet/openapi-ts/core/utils.gen.ts +140 -0
  370. package/src/extensions/stellar-testnet/openapi-ts/index.ts +4 -0
  371. package/src/extensions/stellar-testnet/openapi-ts/sdk.gen.ts +1049 -0
  372. package/src/extensions/stellar-testnet/openapi-ts/types.gen.ts +3543 -0
  373. package/src/platform/admin/create-api.ts +11 -0
  374. package/src/platform/admin/index.ts +3 -42
  375. package/src/platform/admin/openapi-ts/client/client.gen.ts +288 -0
  376. package/src/platform/admin/openapi-ts/client/index.ts +25 -0
  377. package/src/platform/admin/openapi-ts/client/types.gen.ts +213 -0
  378. package/src/platform/admin/openapi-ts/client/utils.gen.ts +316 -0
  379. package/src/platform/admin/openapi-ts/client.gen.ts +16 -0
  380. package/src/platform/admin/openapi-ts/core/auth.gen.ts +41 -0
  381. package/src/platform/admin/openapi-ts/core/bodySerializer.gen.ts +84 -0
  382. package/src/platform/admin/openapi-ts/core/params.gen.ts +169 -0
  383. package/src/platform/admin/openapi-ts/core/pathSerializer.gen.ts +171 -0
  384. package/src/platform/admin/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
  385. package/src/platform/admin/openapi-ts/core/serverSentEvents.gen.ts +243 -0
  386. package/src/platform/admin/openapi-ts/core/types.gen.ts +104 -0
  387. package/src/platform/admin/openapi-ts/core/utils.gen.ts +140 -0
  388. package/src/platform/admin/openapi-ts/index.ts +4 -0
  389. package/src/platform/admin/openapi-ts/sdk.gen.ts +3975 -0
  390. package/src/platform/admin/openapi-ts/types.gen.ts +31193 -0
  391. package/src/platform/user/create-api.ts +11 -0
  392. package/src/platform/user/index.ts +3 -42
  393. package/src/platform/user/openapi-ts/client/client.gen.ts +288 -0
  394. package/src/platform/user/openapi-ts/client/index.ts +25 -0
  395. package/src/platform/user/openapi-ts/client/types.gen.ts +213 -0
  396. package/src/platform/user/openapi-ts/client/utils.gen.ts +316 -0
  397. package/src/platform/user/openapi-ts/client.gen.ts +16 -0
  398. package/src/platform/user/openapi-ts/core/auth.gen.ts +41 -0
  399. package/src/platform/user/openapi-ts/core/bodySerializer.gen.ts +84 -0
  400. package/src/platform/user/openapi-ts/core/params.gen.ts +169 -0
  401. package/src/platform/user/openapi-ts/core/pathSerializer.gen.ts +171 -0
  402. package/src/platform/user/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
  403. package/src/platform/user/openapi-ts/core/serverSentEvents.gen.ts +243 -0
  404. package/src/platform/user/openapi-ts/core/types.gen.ts +104 -0
  405. package/src/platform/user/openapi-ts/core/utils.gen.ts +140 -0
  406. package/src/platform/user/openapi-ts/index.ts +4 -0
  407. package/src/platform/user/openapi-ts/sdk.gen.ts +2090 -0
  408. package/src/platform/user/openapi-ts/types.gen.ts +19540 -0
  409. package/src/shared/api-utils.ts +22 -0
  410. package/src/shared/bind-sdk.ts +48 -0
  411. package/src/shared/create-api-client.ts +54 -0
  412. package/src/extensions/app/http-client.ts +0 -1
  413. package/src/extensions/app/rehive-app-api.ts +0 -1827
  414. package/src/extensions/bridge/rehive-bridge-api.ts +0 -1436
  415. package/src/extensions/business/rehive-business-api.ts +0 -9480
  416. package/src/extensions/conversion/rehive-conversion-api.ts +0 -3054
  417. package/src/extensions/mass-send/rehive-mass-send-api.ts +0 -1061
  418. package/src/extensions/notifications/rehive-notifications-api.ts +0 -1964
  419. package/src/extensions/payment-requests/rehive-payment-requests-api.ts +0 -4026
  420. package/src/extensions/products/rehive-products-api.ts +0 -13107
  421. package/src/extensions/rewards/rehive-rewards-api.ts +0 -2139
  422. package/src/extensions/stellar/rehive-stellar-api.ts +0 -4219
  423. package/src/extensions/stellar-testnet/rehive-stellar-testnet-api.ts +0 -4219
  424. package/src/platform/admin/rehive-platform-admin-api.ts +0 -35075
  425. package/src/platform/user/rehive-platform-user-api.ts +0 -21554
@@ -0,0 +1,1660 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+
3
+ export type ClientOptions = {
4
+ baseUrl: 'https://rain.services.rehive.com/api/' | (string & {});
5
+ };
6
+
7
+ /**
8
+ * This serializer can be used if only a `status` is required in the response.
9
+ */
10
+ export type ActionResponse = {
11
+ status: string;
12
+ };
13
+
14
+ /**
15
+ * Serialize the activation data, should be a token that represents an admin
16
+ * user.
17
+ */
18
+ export type Activate = {
19
+ token: string;
20
+ readonly id: string;
21
+ readonly name: string;
22
+ readonly secret: string;
23
+ };
24
+
25
+ /**
26
+ * A ModelSerializer that takes additional arguments for
27
+ * "fields", "omit" and "expand" in order to
28
+ * control which fields are displayed, and whether to replace simple
29
+ * values with complex, nested serializations
30
+ */
31
+ export type AdminCard = {
32
+ readonly id: string;
33
+ readonly account: string;
34
+ currency: Currency;
35
+ /**
36
+ * * `virtual` - Virtual
37
+ * * `physical` - Physical
38
+ */
39
+ type: 'virtual' | 'physical';
40
+ readonly rain_id: string | null;
41
+ readonly created: number;
42
+ readonly updated: number;
43
+ readonly user: string;
44
+ };
45
+
46
+ /**
47
+ * A ModelSerializer that takes additional arguments for
48
+ * "fields", "omit" and "expand" in order to
49
+ * control which fields are displayed, and whether to replace simple
50
+ * values with complex, nested serializations
51
+ */
52
+ export type AdminCompany = {
53
+ readonly id: string;
54
+ readonly secret: string;
55
+ /**
56
+ * * `test` - Test
57
+ * * `production` - Production
58
+ */
59
+ mode: 'test' | 'production';
60
+ readonly operational_account: string | null;
61
+ rain_api_key: string;
62
+ };
63
+
64
+ export type AdminCompanyResponse = {
65
+ status: string;
66
+ data: AdminCompany;
67
+ };
68
+
69
+ /**
70
+ * A ModelSerializer that takes additional arguments for
71
+ * "fields", "omit" and "expand" in order to
72
+ * control which fields are displayed, and whether to replace simple
73
+ * values with complex, nested serializations
74
+ */
75
+ export type AdminCurrency = {
76
+ readonly code: string;
77
+ readonly display_code: string | null;
78
+ readonly description: string | null;
79
+ readonly symbol: string | null;
80
+ readonly unit: string | null;
81
+ readonly divisibility: number;
82
+ readonly manager: string | null;
83
+ /**
84
+ * * `usd` - Usd
85
+ */
86
+ rain_code?: 'usd';
87
+ /**
88
+ * * `solana` - Solana
89
+ */
90
+ rain_chain?: 'solana';
91
+ };
92
+
93
+ export type AdminCurrencyResponse = {
94
+ status: string;
95
+ data: AdminCurrency;
96
+ };
97
+
98
+ /**
99
+ * A ModelSerializer that takes additional arguments for
100
+ * "fields", "omit" and "expand" in order to
101
+ * control which fields are displayed, and whether to replace simple
102
+ * values with complex, nested serializations
103
+ */
104
+ export type AdminExtendedCard = {
105
+ readonly id: string;
106
+ readonly account: string;
107
+ currency: Currency;
108
+ /**
109
+ * * `virtual` - Virtual
110
+ * * `physical` - Physical
111
+ */
112
+ type: 'virtual' | 'physical';
113
+ readonly rain_id: string | null;
114
+ /**
115
+ * * `notActivated` - Not Activated
116
+ * * `active` - Active
117
+ * * `locked` - Locked
118
+ * * `canceled` - Canceled
119
+ */
120
+ status: 'notActivated' | 'active' | 'locked' | 'canceled';
121
+ readonly last_4: string;
122
+ readonly expiration_month: string;
123
+ readonly expiration_year: string;
124
+ readonly created: number;
125
+ readonly updated: number;
126
+ readonly user: string;
127
+ };
128
+
129
+ export type AdminExtendedCardResponse = {
130
+ status: string;
131
+ data: AdminExtendedCard;
132
+ };
133
+
134
+ /**
135
+ * A ModelSerializer that takes additional arguments for
136
+ * "fields", "omit" and "expand" in order to
137
+ * control which fields are displayed, and whether to replace simple
138
+ * values with complex, nested serializations
139
+ */
140
+ export type AdminUpdateCompany = {
141
+ readonly id: string;
142
+ readonly secret: string;
143
+ /**
144
+ * * `test` - Test
145
+ * * `production` - Production
146
+ */
147
+ mode: 'test' | 'production';
148
+ operational_account?: string | null;
149
+ rain_api_key?: string;
150
+ };
151
+
152
+ /**
153
+ * A ModelSerializer that takes additional arguments for
154
+ * "fields", "omit" and "expand" in order to
155
+ * control which fields are displayed, and whether to replace simple
156
+ * values with complex, nested serializations
157
+ */
158
+ export type Currency = {
159
+ code: string;
160
+ /**
161
+ * * `usd` - Usd
162
+ */
163
+ rain_code?: 'usd';
164
+ /**
165
+ * * `solana` - Solana
166
+ */
167
+ rain_chain?: 'solana';
168
+ display_code?: string | null;
169
+ description?: string | null;
170
+ symbol?: string | null;
171
+ unit?: string | null;
172
+ divisibility?: number;
173
+ };
174
+
175
+ /**
176
+ * Serialize the deactivation data, should be a token that represents an admin
177
+ * user.
178
+ */
179
+ export type Deactivate = {
180
+ token: string;
181
+ purge?: boolean;
182
+ };
183
+
184
+ export type EncryptedData = {
185
+ iv: string;
186
+ data: string;
187
+ };
188
+
189
+ export type PaginatedAdminCardList = {
190
+ count?: number;
191
+ next?: string | null;
192
+ previous?: string | null;
193
+ results?: Array<AdminCard>;
194
+ };
195
+
196
+ export type PaginatedAdminCardListResponse = {
197
+ status: string;
198
+ data: PaginatedAdminCardList;
199
+ };
200
+
201
+ export type PaginatedAdminCurrencyList = {
202
+ count?: number;
203
+ next?: string | null;
204
+ previous?: string | null;
205
+ results?: Array<AdminCurrency>;
206
+ };
207
+
208
+ export type PaginatedAdminCurrencyListResponse = {
209
+ status: string;
210
+ data: PaginatedAdminCurrencyList;
211
+ };
212
+
213
+ export type PaginatedUserApplicationList = {
214
+ count?: number;
215
+ next?: string | null;
216
+ previous?: string | null;
217
+ results?: Array<UserApplication>;
218
+ };
219
+
220
+ export type PaginatedUserApplicationListResponse = {
221
+ status: string;
222
+ data: PaginatedUserApplicationList;
223
+ };
224
+
225
+ export type PaginatedUserCardList = {
226
+ count?: number;
227
+ next?: string | null;
228
+ previous?: string | null;
229
+ results?: Array<UserCard>;
230
+ };
231
+
232
+ export type PaginatedUserCardListResponse = {
233
+ status: string;
234
+ data: PaginatedUserCardList;
235
+ };
236
+
237
+ /**
238
+ * A ModelSerializer that takes additional arguments for
239
+ * "fields", "omit" and "expand" in order to
240
+ * control which fields are displayed, and whether to replace simple
241
+ * values with complex, nested serializations
242
+ */
243
+ export type PatchedAdminCurrency = {
244
+ readonly code?: string;
245
+ readonly display_code?: string | null;
246
+ readonly description?: string | null;
247
+ readonly symbol?: string | null;
248
+ readonly unit?: string | null;
249
+ readonly divisibility?: number;
250
+ readonly manager?: string | null;
251
+ /**
252
+ * * `usd` - Usd
253
+ */
254
+ rain_code?: 'usd';
255
+ /**
256
+ * * `solana` - Solana
257
+ */
258
+ rain_chain?: 'solana';
259
+ };
260
+
261
+ /**
262
+ * A ModelSerializer that takes additional arguments for
263
+ * "fields", "omit" and "expand" in order to
264
+ * control which fields are displayed, and whether to replace simple
265
+ * values with complex, nested serializations
266
+ */
267
+ export type PatchedAdminUpdateCompany = {
268
+ readonly id?: string;
269
+ readonly secret?: string;
270
+ /**
271
+ * * `test` - Test
272
+ * * `production` - Production
273
+ */
274
+ mode?: 'test' | 'production';
275
+ operational_account?: string | null;
276
+ rain_api_key?: string;
277
+ };
278
+
279
+ /**
280
+ * A ModelSerializer that takes additional arguments for
281
+ * "fields", "omit" and "expand" in order to
282
+ * control which fields are displayed, and whether to replace simple
283
+ * values with complex, nested serializations
284
+ */
285
+ export type PatchedUser = {
286
+ readonly id?: string;
287
+ readonly rain_id?: string;
288
+ terms_accepted?: boolean;
289
+ };
290
+
291
+ export type PatchedUserUpdateCardPin = {
292
+ [key: string]: unknown;
293
+ };
294
+
295
+ export type RainWebhook = {
296
+ id: string;
297
+ resource: string;
298
+ action: string;
299
+ body: {
300
+ [key: string]: unknown;
301
+ };
302
+ };
303
+
304
+ /**
305
+ * A ModelSerializer that takes additional arguments for
306
+ * "fields", "omit" and "expand" in order to
307
+ * control which fields are displayed, and whether to replace simple
308
+ * values with complex, nested serializations
309
+ */
310
+ export type User = {
311
+ readonly id: string;
312
+ readonly rain_id: string;
313
+ terms_accepted?: boolean;
314
+ };
315
+
316
+ /**
317
+ * A ModelSerializer that takes additional arguments for
318
+ * "fields", "omit" and "expand" in order to
319
+ * control which fields are displayed, and whether to replace simple
320
+ * values with complex, nested serializations
321
+ */
322
+ export type UserApplication = {
323
+ readonly id: string;
324
+ readonly account: string | null;
325
+ currency: Currency;
326
+ readonly occupation: string;
327
+ readonly annual_salary: string;
328
+ readonly account_purpose: string;
329
+ readonly expected_monthly_volume: string;
330
+ readonly terms_and_conditions: boolean;
331
+ readonly first_name: string | null;
332
+ readonly last_name: string | null;
333
+ readonly birth_date: string | null;
334
+ readonly id_number: string | null;
335
+ /**
336
+ * * `AF` - Afghanistan
337
+ * * `AX` - Åland Islands
338
+ * * `AL` - Albania
339
+ * * `DZ` - Algeria
340
+ * * `AS` - American Samoa
341
+ * * `AD` - Andorra
342
+ * * `AO` - Angola
343
+ * * `AI` - Anguilla
344
+ * * `AQ` - Antarctica
345
+ * * `AG` - Antigua and Barbuda
346
+ * * `AR` - Argentina
347
+ * * `AM` - Armenia
348
+ * * `AW` - Aruba
349
+ * * `AU` - Australia
350
+ * * `AT` - Austria
351
+ * * `AZ` - Azerbaijan
352
+ * * `BS` - Bahamas
353
+ * * `BH` - Bahrain
354
+ * * `BD` - Bangladesh
355
+ * * `BB` - Barbados
356
+ * * `BY` - Belarus
357
+ * * `BE` - Belgium
358
+ * * `BZ` - Belize
359
+ * * `BJ` - Benin
360
+ * * `BM` - Bermuda
361
+ * * `BT` - Bhutan
362
+ * * `BO` - Bolivia
363
+ * * `BQ` - Bonaire, Sint Eustatius and Saba
364
+ * * `BA` - Bosnia and Herzegovina
365
+ * * `BW` - Botswana
366
+ * * `BV` - Bouvet Island
367
+ * * `BR` - Brazil
368
+ * * `IO` - British Indian Ocean Territory
369
+ * * `BN` - Brunei
370
+ * * `BG` - Bulgaria
371
+ * * `BF` - Burkina Faso
372
+ * * `BI` - Burundi
373
+ * * `CV` - Cabo Verde
374
+ * * `KH` - Cambodia
375
+ * * `CM` - Cameroon
376
+ * * `CA` - Canada
377
+ * * `KY` - Cayman Islands
378
+ * * `CF` - Central African Republic
379
+ * * `TD` - Chad
380
+ * * `CL` - Chile
381
+ * * `CN` - China
382
+ * * `CX` - Christmas Island
383
+ * * `CC` - Cocos (Keeling) Islands
384
+ * * `CO` - Colombia
385
+ * * `KM` - Comoros
386
+ * * `CG` - Congo
387
+ * * `CD` - Congo (the Democratic Republic of the)
388
+ * * `CK` - Cook Islands
389
+ * * `CR` - Costa Rica
390
+ * * `CI` - Côte d'Ivoire
391
+ * * `HR` - Croatia
392
+ * * `CU` - Cuba
393
+ * * `CW` - Curaçao
394
+ * * `CY` - Cyprus
395
+ * * `CZ` - Czechia
396
+ * * `DK` - Denmark
397
+ * * `DJ` - Djibouti
398
+ * * `DM` - Dominica
399
+ * * `DO` - Dominican Republic
400
+ * * `EC` - Ecuador
401
+ * * `EG` - Egypt
402
+ * * `SV` - El Salvador
403
+ * * `GQ` - Equatorial Guinea
404
+ * * `ER` - Eritrea
405
+ * * `EE` - Estonia
406
+ * * `SZ` - Eswatini
407
+ * * `ET` - Ethiopia
408
+ * * `FK` - Falkland Islands (Malvinas)
409
+ * * `FO` - Faroe Islands
410
+ * * `FJ` - Fiji
411
+ * * `FI` - Finland
412
+ * * `FR` - France
413
+ * * `GF` - French Guiana
414
+ * * `PF` - French Polynesia
415
+ * * `TF` - French Southern Territories
416
+ * * `GA` - Gabon
417
+ * * `GM` - Gambia
418
+ * * `GE` - Georgia
419
+ * * `DE` - Germany
420
+ * * `GH` - Ghana
421
+ * * `GI` - Gibraltar
422
+ * * `GR` - Greece
423
+ * * `GL` - Greenland
424
+ * * `GD` - Grenada
425
+ * * `GP` - Guadeloupe
426
+ * * `GU` - Guam
427
+ * * `GT` - Guatemala
428
+ * * `GG` - Guernsey
429
+ * * `GN` - Guinea
430
+ * * `GW` - Guinea-Bissau
431
+ * * `GY` - Guyana
432
+ * * `HT` - Haiti
433
+ * * `HM` - Heard Island and McDonald Islands
434
+ * * `VA` - Holy See
435
+ * * `HN` - Honduras
436
+ * * `HK` - Hong Kong
437
+ * * `HU` - Hungary
438
+ * * `IS` - Iceland
439
+ * * `IN` - India
440
+ * * `ID` - Indonesia
441
+ * * `IR` - Iran
442
+ * * `IQ` - Iraq
443
+ * * `IE` - Ireland
444
+ * * `IM` - Isle of Man
445
+ * * `IL` - Israel
446
+ * * `IT` - Italy
447
+ * * `JM` - Jamaica
448
+ * * `JP` - Japan
449
+ * * `JE` - Jersey
450
+ * * `JO` - Jordan
451
+ * * `KZ` - Kazakhstan
452
+ * * `KE` - Kenya
453
+ * * `KI` - Kiribati
454
+ * * `KW` - Kuwait
455
+ * * `KG` - Kyrgyzstan
456
+ * * `LA` - Laos
457
+ * * `LV` - Latvia
458
+ * * `LB` - Lebanon
459
+ * * `LS` - Lesotho
460
+ * * `LR` - Liberia
461
+ * * `LY` - Libya
462
+ * * `LI` - Liechtenstein
463
+ * * `LT` - Lithuania
464
+ * * `LU` - Luxembourg
465
+ * * `MO` - Macao
466
+ * * `MG` - Madagascar
467
+ * * `MW` - Malawi
468
+ * * `MY` - Malaysia
469
+ * * `MV` - Maldives
470
+ * * `ML` - Mali
471
+ * * `MT` - Malta
472
+ * * `MH` - Marshall Islands
473
+ * * `MQ` - Martinique
474
+ * * `MR` - Mauritania
475
+ * * `MU` - Mauritius
476
+ * * `YT` - Mayotte
477
+ * * `MX` - Mexico
478
+ * * `FM` - Micronesia
479
+ * * `MD` - Moldova
480
+ * * `MC` - Monaco
481
+ * * `MN` - Mongolia
482
+ * * `ME` - Montenegro
483
+ * * `MS` - Montserrat
484
+ * * `MA` - Morocco
485
+ * * `MZ` - Mozambique
486
+ * * `MM` - Myanmar
487
+ * * `NA` - Namibia
488
+ * * `NR` - Nauru
489
+ * * `NP` - Nepal
490
+ * * `NL` - Netherlands
491
+ * * `NC` - New Caledonia
492
+ * * `NZ` - New Zealand
493
+ * * `NI` - Nicaragua
494
+ * * `NE` - Niger
495
+ * * `NG` - Nigeria
496
+ * * `NU` - Niue
497
+ * * `NF` - Norfolk Island
498
+ * * `KP` - North Korea
499
+ * * `MK` - North Macedonia
500
+ * * `MP` - Northern Mariana Islands
501
+ * * `NO` - Norway
502
+ * * `OM` - Oman
503
+ * * `PK` - Pakistan
504
+ * * `PW` - Palau
505
+ * * `PS` - Palestine, State of
506
+ * * `PA` - Panama
507
+ * * `PG` - Papua New Guinea
508
+ * * `PY` - Paraguay
509
+ * * `PE` - Peru
510
+ * * `PH` - Philippines
511
+ * * `PN` - Pitcairn
512
+ * * `PL` - Poland
513
+ * * `PT` - Portugal
514
+ * * `PR` - Puerto Rico
515
+ * * `QA` - Qatar
516
+ * * `RE` - Réunion
517
+ * * `RO` - Romania
518
+ * * `RU` - Russia
519
+ * * `RW` - Rwanda
520
+ * * `BL` - Saint Barthélemy
521
+ * * `SH` - Saint Helena, Ascension and Tristan da Cunha
522
+ * * `KN` - Saint Kitts and Nevis
523
+ * * `LC` - Saint Lucia
524
+ * * `MF` - Saint Martin (French part)
525
+ * * `PM` - Saint Pierre and Miquelon
526
+ * * `VC` - Saint Vincent and the Grenadines
527
+ * * `WS` - Samoa
528
+ * * `SM` - San Marino
529
+ * * `ST` - Sao Tome and Principe
530
+ * * `SA` - Saudi Arabia
531
+ * * `SN` - Senegal
532
+ * * `RS` - Serbia
533
+ * * `SC` - Seychelles
534
+ * * `SL` - Sierra Leone
535
+ * * `SG` - Singapore
536
+ * * `SX` - Sint Maarten (Dutch part)
537
+ * * `SK` - Slovakia
538
+ * * `SI` - Slovenia
539
+ * * `SB` - Solomon Islands
540
+ * * `SO` - Somalia
541
+ * * `ZA` - South Africa
542
+ * * `GS` - South Georgia and the South Sandwich Islands
543
+ * * `KR` - South Korea
544
+ * * `SS` - South Sudan
545
+ * * `ES` - Spain
546
+ * * `LK` - Sri Lanka
547
+ * * `SD` - Sudan
548
+ * * `SR` - Suriname
549
+ * * `SJ` - Svalbard and Jan Mayen
550
+ * * `SE` - Sweden
551
+ * * `CH` - Switzerland
552
+ * * `SY` - Syria
553
+ * * `TW` - Taiwan
554
+ * * `TJ` - Tajikistan
555
+ * * `TZ` - Tanzania
556
+ * * `TH` - Thailand
557
+ * * `TL` - Timor-Leste
558
+ * * `TG` - Togo
559
+ * * `TK` - Tokelau
560
+ * * `TO` - Tonga
561
+ * * `TT` - Trinidad and Tobago
562
+ * * `TN` - Tunisia
563
+ * * `TR` - Türkiye
564
+ * * `TM` - Turkmenistan
565
+ * * `TC` - Turks and Caicos Islands
566
+ * * `TV` - Tuvalu
567
+ * * `UG` - Uganda
568
+ * * `UA` - Ukraine
569
+ * * `AE` - United Arab Emirates
570
+ * * `GB` - United Kingdom
571
+ * * `UM` - United States Minor Outlying Islands
572
+ * * `US` - United States of America
573
+ * * `UY` - Uruguay
574
+ * * `UZ` - Uzbekistan
575
+ * * `VU` - Vanuatu
576
+ * * `VE` - Venezuela
577
+ * * `VN` - Vietnam
578
+ * * `VG` - Virgin Islands (British)
579
+ * * `VI` - Virgin Islands (U.S.)
580
+ * * `WF` - Wallis and Futuna
581
+ * * `EH` - Western Sahara
582
+ * * `YE` - Yemen
583
+ * * `ZM` - Zambia
584
+ * * `ZW` - Zimbabwe
585
+ */
586
+ nationality: 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'CV' | 'KH' | 'CM' | 'CA' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'SZ' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'KP' | 'MK' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'KR' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'US' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | null;
587
+ readonly email: string | null;
588
+ readonly address: {
589
+ [key: string]: unknown;
590
+ } | null;
591
+ /**
592
+ * * `pending` - Pending
593
+ * * `needsInformation` - Needs Information
594
+ * * `needsVerification` - Needs Verification
595
+ * * `manualReview` - Manual Review
596
+ * * `denied` - Denied
597
+ * * `locked` - Locked
598
+ * * `canceled` - Canceled
599
+ * * `approved` - Approved
600
+ */
601
+ status: 'pending' | 'needsInformation' | 'needsVerification' | 'manualReview' | 'denied' | 'locked' | 'canceled' | 'approved' | null;
602
+ readonly completion_link: string | null;
603
+ readonly verification_link: string | null;
604
+ readonly errors: Array<string> | null;
605
+ readonly error_message: string | null;
606
+ readonly created: number;
607
+ readonly updated: number;
608
+ };
609
+
610
+ export type UserApplicationResponse = {
611
+ status: string;
612
+ data: UserApplication;
613
+ };
614
+
615
+ /**
616
+ * A ModelSerializer that takes additional arguments for
617
+ * "fields", "omit" and "expand" in order to
618
+ * control which fields are displayed, and whether to replace simple
619
+ * values with complex, nested serializations
620
+ */
621
+ export type UserCard = {
622
+ readonly id: string;
623
+ readonly account: string;
624
+ currency: Currency;
625
+ /**
626
+ * * `virtual` - Virtual
627
+ * * `physical` - Physical
628
+ */
629
+ type: 'virtual' | 'physical';
630
+ readonly rain_id: string | null;
631
+ readonly created: number;
632
+ readonly updated: number;
633
+ };
634
+
635
+ export type UserCardData = {
636
+ encrypted_pan: EncryptedData;
637
+ encrypted_cvc: EncryptedData;
638
+ };
639
+
640
+ export type UserCardDataResponse = {
641
+ status: string;
642
+ data: UserCardData;
643
+ };
644
+
645
+ export type UserCardPin = {
646
+ encrypted_pin: EncryptedData;
647
+ };
648
+
649
+ export type UserCardPinResponse = {
650
+ status: string;
651
+ data: UserCardPin;
652
+ };
653
+
654
+ /**
655
+ * A ModelSerializer that takes additional arguments for
656
+ * "fields", "omit" and "expand" in order to
657
+ * control which fields are displayed, and whether to replace simple
658
+ * values with complex, nested serializations
659
+ */
660
+ export type UserCreateApplication = {
661
+ readonly id: string;
662
+ account?: string | null;
663
+ currency?: string | null;
664
+ occupation: string;
665
+ annual_salary: number;
666
+ account_purpose: string;
667
+ expected_monthly_volume: number;
668
+ terms_and_conditions?: boolean;
669
+ readonly first_name: string | null;
670
+ readonly last_name: string | null;
671
+ readonly birth_date: string | null;
672
+ readonly id_number: string | null;
673
+ /**
674
+ * * `AF` - Afghanistan
675
+ * * `AX` - Åland Islands
676
+ * * `AL` - Albania
677
+ * * `DZ` - Algeria
678
+ * * `AS` - American Samoa
679
+ * * `AD` - Andorra
680
+ * * `AO` - Angola
681
+ * * `AI` - Anguilla
682
+ * * `AQ` - Antarctica
683
+ * * `AG` - Antigua and Barbuda
684
+ * * `AR` - Argentina
685
+ * * `AM` - Armenia
686
+ * * `AW` - Aruba
687
+ * * `AU` - Australia
688
+ * * `AT` - Austria
689
+ * * `AZ` - Azerbaijan
690
+ * * `BS` - Bahamas
691
+ * * `BH` - Bahrain
692
+ * * `BD` - Bangladesh
693
+ * * `BB` - Barbados
694
+ * * `BY` - Belarus
695
+ * * `BE` - Belgium
696
+ * * `BZ` - Belize
697
+ * * `BJ` - Benin
698
+ * * `BM` - Bermuda
699
+ * * `BT` - Bhutan
700
+ * * `BO` - Bolivia
701
+ * * `BQ` - Bonaire, Sint Eustatius and Saba
702
+ * * `BA` - Bosnia and Herzegovina
703
+ * * `BW` - Botswana
704
+ * * `BV` - Bouvet Island
705
+ * * `BR` - Brazil
706
+ * * `IO` - British Indian Ocean Territory
707
+ * * `BN` - Brunei
708
+ * * `BG` - Bulgaria
709
+ * * `BF` - Burkina Faso
710
+ * * `BI` - Burundi
711
+ * * `CV` - Cabo Verde
712
+ * * `KH` - Cambodia
713
+ * * `CM` - Cameroon
714
+ * * `CA` - Canada
715
+ * * `KY` - Cayman Islands
716
+ * * `CF` - Central African Republic
717
+ * * `TD` - Chad
718
+ * * `CL` - Chile
719
+ * * `CN` - China
720
+ * * `CX` - Christmas Island
721
+ * * `CC` - Cocos (Keeling) Islands
722
+ * * `CO` - Colombia
723
+ * * `KM` - Comoros
724
+ * * `CG` - Congo
725
+ * * `CD` - Congo (the Democratic Republic of the)
726
+ * * `CK` - Cook Islands
727
+ * * `CR` - Costa Rica
728
+ * * `CI` - Côte d'Ivoire
729
+ * * `HR` - Croatia
730
+ * * `CU` - Cuba
731
+ * * `CW` - Curaçao
732
+ * * `CY` - Cyprus
733
+ * * `CZ` - Czechia
734
+ * * `DK` - Denmark
735
+ * * `DJ` - Djibouti
736
+ * * `DM` - Dominica
737
+ * * `DO` - Dominican Republic
738
+ * * `EC` - Ecuador
739
+ * * `EG` - Egypt
740
+ * * `SV` - El Salvador
741
+ * * `GQ` - Equatorial Guinea
742
+ * * `ER` - Eritrea
743
+ * * `EE` - Estonia
744
+ * * `SZ` - Eswatini
745
+ * * `ET` - Ethiopia
746
+ * * `FK` - Falkland Islands (Malvinas)
747
+ * * `FO` - Faroe Islands
748
+ * * `FJ` - Fiji
749
+ * * `FI` - Finland
750
+ * * `FR` - France
751
+ * * `GF` - French Guiana
752
+ * * `PF` - French Polynesia
753
+ * * `TF` - French Southern Territories
754
+ * * `GA` - Gabon
755
+ * * `GM` - Gambia
756
+ * * `GE` - Georgia
757
+ * * `DE` - Germany
758
+ * * `GH` - Ghana
759
+ * * `GI` - Gibraltar
760
+ * * `GR` - Greece
761
+ * * `GL` - Greenland
762
+ * * `GD` - Grenada
763
+ * * `GP` - Guadeloupe
764
+ * * `GU` - Guam
765
+ * * `GT` - Guatemala
766
+ * * `GG` - Guernsey
767
+ * * `GN` - Guinea
768
+ * * `GW` - Guinea-Bissau
769
+ * * `GY` - Guyana
770
+ * * `HT` - Haiti
771
+ * * `HM` - Heard Island and McDonald Islands
772
+ * * `VA` - Holy See
773
+ * * `HN` - Honduras
774
+ * * `HK` - Hong Kong
775
+ * * `HU` - Hungary
776
+ * * `IS` - Iceland
777
+ * * `IN` - India
778
+ * * `ID` - Indonesia
779
+ * * `IR` - Iran
780
+ * * `IQ` - Iraq
781
+ * * `IE` - Ireland
782
+ * * `IM` - Isle of Man
783
+ * * `IL` - Israel
784
+ * * `IT` - Italy
785
+ * * `JM` - Jamaica
786
+ * * `JP` - Japan
787
+ * * `JE` - Jersey
788
+ * * `JO` - Jordan
789
+ * * `KZ` - Kazakhstan
790
+ * * `KE` - Kenya
791
+ * * `KI` - Kiribati
792
+ * * `KW` - Kuwait
793
+ * * `KG` - Kyrgyzstan
794
+ * * `LA` - Laos
795
+ * * `LV` - Latvia
796
+ * * `LB` - Lebanon
797
+ * * `LS` - Lesotho
798
+ * * `LR` - Liberia
799
+ * * `LY` - Libya
800
+ * * `LI` - Liechtenstein
801
+ * * `LT` - Lithuania
802
+ * * `LU` - Luxembourg
803
+ * * `MO` - Macao
804
+ * * `MG` - Madagascar
805
+ * * `MW` - Malawi
806
+ * * `MY` - Malaysia
807
+ * * `MV` - Maldives
808
+ * * `ML` - Mali
809
+ * * `MT` - Malta
810
+ * * `MH` - Marshall Islands
811
+ * * `MQ` - Martinique
812
+ * * `MR` - Mauritania
813
+ * * `MU` - Mauritius
814
+ * * `YT` - Mayotte
815
+ * * `MX` - Mexico
816
+ * * `FM` - Micronesia
817
+ * * `MD` - Moldova
818
+ * * `MC` - Monaco
819
+ * * `MN` - Mongolia
820
+ * * `ME` - Montenegro
821
+ * * `MS` - Montserrat
822
+ * * `MA` - Morocco
823
+ * * `MZ` - Mozambique
824
+ * * `MM` - Myanmar
825
+ * * `NA` - Namibia
826
+ * * `NR` - Nauru
827
+ * * `NP` - Nepal
828
+ * * `NL` - Netherlands
829
+ * * `NC` - New Caledonia
830
+ * * `NZ` - New Zealand
831
+ * * `NI` - Nicaragua
832
+ * * `NE` - Niger
833
+ * * `NG` - Nigeria
834
+ * * `NU` - Niue
835
+ * * `NF` - Norfolk Island
836
+ * * `KP` - North Korea
837
+ * * `MK` - North Macedonia
838
+ * * `MP` - Northern Mariana Islands
839
+ * * `NO` - Norway
840
+ * * `OM` - Oman
841
+ * * `PK` - Pakistan
842
+ * * `PW` - Palau
843
+ * * `PS` - Palestine, State of
844
+ * * `PA` - Panama
845
+ * * `PG` - Papua New Guinea
846
+ * * `PY` - Paraguay
847
+ * * `PE` - Peru
848
+ * * `PH` - Philippines
849
+ * * `PN` - Pitcairn
850
+ * * `PL` - Poland
851
+ * * `PT` - Portugal
852
+ * * `PR` - Puerto Rico
853
+ * * `QA` - Qatar
854
+ * * `RE` - Réunion
855
+ * * `RO` - Romania
856
+ * * `RU` - Russia
857
+ * * `RW` - Rwanda
858
+ * * `BL` - Saint Barthélemy
859
+ * * `SH` - Saint Helena, Ascension and Tristan da Cunha
860
+ * * `KN` - Saint Kitts and Nevis
861
+ * * `LC` - Saint Lucia
862
+ * * `MF` - Saint Martin (French part)
863
+ * * `PM` - Saint Pierre and Miquelon
864
+ * * `VC` - Saint Vincent and the Grenadines
865
+ * * `WS` - Samoa
866
+ * * `SM` - San Marino
867
+ * * `ST` - Sao Tome and Principe
868
+ * * `SA` - Saudi Arabia
869
+ * * `SN` - Senegal
870
+ * * `RS` - Serbia
871
+ * * `SC` - Seychelles
872
+ * * `SL` - Sierra Leone
873
+ * * `SG` - Singapore
874
+ * * `SX` - Sint Maarten (Dutch part)
875
+ * * `SK` - Slovakia
876
+ * * `SI` - Slovenia
877
+ * * `SB` - Solomon Islands
878
+ * * `SO` - Somalia
879
+ * * `ZA` - South Africa
880
+ * * `GS` - South Georgia and the South Sandwich Islands
881
+ * * `KR` - South Korea
882
+ * * `SS` - South Sudan
883
+ * * `ES` - Spain
884
+ * * `LK` - Sri Lanka
885
+ * * `SD` - Sudan
886
+ * * `SR` - Suriname
887
+ * * `SJ` - Svalbard and Jan Mayen
888
+ * * `SE` - Sweden
889
+ * * `CH` - Switzerland
890
+ * * `SY` - Syria
891
+ * * `TW` - Taiwan
892
+ * * `TJ` - Tajikistan
893
+ * * `TZ` - Tanzania
894
+ * * `TH` - Thailand
895
+ * * `TL` - Timor-Leste
896
+ * * `TG` - Togo
897
+ * * `TK` - Tokelau
898
+ * * `TO` - Tonga
899
+ * * `TT` - Trinidad and Tobago
900
+ * * `TN` - Tunisia
901
+ * * `TR` - Türkiye
902
+ * * `TM` - Turkmenistan
903
+ * * `TC` - Turks and Caicos Islands
904
+ * * `TV` - Tuvalu
905
+ * * `UG` - Uganda
906
+ * * `UA` - Ukraine
907
+ * * `AE` - United Arab Emirates
908
+ * * `GB` - United Kingdom
909
+ * * `UM` - United States Minor Outlying Islands
910
+ * * `US` - United States of America
911
+ * * `UY` - Uruguay
912
+ * * `UZ` - Uzbekistan
913
+ * * `VU` - Vanuatu
914
+ * * `VE` - Venezuela
915
+ * * `VN` - Vietnam
916
+ * * `VG` - Virgin Islands (British)
917
+ * * `VI` - Virgin Islands (U.S.)
918
+ * * `WF` - Wallis and Futuna
919
+ * * `EH` - Western Sahara
920
+ * * `YE` - Yemen
921
+ * * `ZM` - Zambia
922
+ * * `ZW` - Zimbabwe
923
+ */
924
+ nationality: 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'CV' | 'KH' | 'CM' | 'CA' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'SZ' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'KP' | 'MK' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'KR' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'US' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | null;
925
+ readonly email: string | null;
926
+ readonly address: {
927
+ [key: string]: unknown;
928
+ } | null;
929
+ /**
930
+ * * `pending` - Pending
931
+ * * `needsInformation` - Needs Information
932
+ * * `needsVerification` - Needs Verification
933
+ * * `manualReview` - Manual Review
934
+ * * `denied` - Denied
935
+ * * `locked` - Locked
936
+ * * `canceled` - Canceled
937
+ * * `approved` - Approved
938
+ */
939
+ status: 'pending' | 'needsInformation' | 'needsVerification' | 'manualReview' | 'denied' | 'locked' | 'canceled' | 'approved' | null;
940
+ readonly completion_link: string | null;
941
+ readonly verification_link: string | null;
942
+ readonly errors: Array<string> | null;
943
+ readonly error_message: string | null;
944
+ readonly created: number;
945
+ readonly updated: number;
946
+ };
947
+
948
+ /**
949
+ * A ModelSerializer that takes additional arguments for
950
+ * "fields", "omit" and "expand" in order to
951
+ * control which fields are displayed, and whether to replace simple
952
+ * values with complex, nested serializations
953
+ */
954
+ export type UserCreateCard = {
955
+ readonly id: string;
956
+ account: string;
957
+ currency: string;
958
+ /**
959
+ * * `virtual` - Virtual
960
+ * * `physical` - Physical
961
+ */
962
+ type: 'virtual' | 'physical';
963
+ readonly rain_id: string | null;
964
+ readonly created: number;
965
+ readonly updated: number;
966
+ };
967
+
968
+ /**
969
+ * A ModelSerializer that takes additional arguments for
970
+ * "fields", "omit" and "expand" in order to
971
+ * control which fields are displayed, and whether to replace simple
972
+ * values with complex, nested serializations
973
+ */
974
+ export type UserExtendedCard = {
975
+ readonly id: string;
976
+ readonly account: string;
977
+ currency: Currency;
978
+ /**
979
+ * * `virtual` - Virtual
980
+ * * `physical` - Physical
981
+ */
982
+ type: 'virtual' | 'physical';
983
+ readonly rain_id: string | null;
984
+ /**
985
+ * * `notActivated` - Not Activated
986
+ * * `active` - Active
987
+ * * `locked` - Locked
988
+ * * `canceled` - Canceled
989
+ */
990
+ status: 'notActivated' | 'active' | 'locked' | 'canceled';
991
+ readonly last_4: string;
992
+ readonly expiration_month: string;
993
+ readonly expiration_year: string;
994
+ readonly created: number;
995
+ readonly updated: number;
996
+ };
997
+
998
+ export type UserExtendedCardResponse = {
999
+ status: string;
1000
+ data: UserExtendedCard;
1001
+ };
1002
+
1003
+ export type UserResponse = {
1004
+ status: string;
1005
+ data: User;
1006
+ };
1007
+
1008
+ export type UserUpdateCardPin = {
1009
+ [key: string]: unknown;
1010
+ };
1011
+
1012
+ export type Webhook = {
1013
+ id: string;
1014
+ /**
1015
+ * * `currency.create` - Currency Create
1016
+ * * `currency.update` - Currency Update
1017
+ * * `transaction.execute` - Transaction Execute
1018
+ */
1019
+ event: 'currency.create' | 'currency.update' | 'transaction.execute';
1020
+ company: string;
1021
+ data: {
1022
+ [key: string]: unknown;
1023
+ };
1024
+ };
1025
+
1026
+ /**
1027
+ * A ModelSerializer that takes additional arguments for
1028
+ * "fields", "omit" and "expand" in order to
1029
+ * control which fields are displayed, and whether to replace simple
1030
+ * values with complex, nested serializations
1031
+ */
1032
+ export type AdminCardWritable = {
1033
+ [key: string]: unknown;
1034
+ };
1035
+
1036
+ /**
1037
+ * A ModelSerializer that takes additional arguments for
1038
+ * "fields", "omit" and "expand" in order to
1039
+ * control which fields are displayed, and whether to replace simple
1040
+ * values with complex, nested serializations
1041
+ */
1042
+ export type AdminCompanyWritable = {
1043
+ rain_api_key: string;
1044
+ };
1045
+
1046
+ export type AdminCompanyResponseWritable = {
1047
+ status: string;
1048
+ data: AdminCompanyWritable;
1049
+ };
1050
+
1051
+ /**
1052
+ * A ModelSerializer that takes additional arguments for
1053
+ * "fields", "omit" and "expand" in order to
1054
+ * control which fields are displayed, and whether to replace simple
1055
+ * values with complex, nested serializations
1056
+ */
1057
+ export type AdminCurrencyWritable = {
1058
+ /**
1059
+ * * `usd` - Usd
1060
+ */
1061
+ rain_code?: 'usd';
1062
+ /**
1063
+ * * `solana` - Solana
1064
+ */
1065
+ rain_chain?: 'solana';
1066
+ };
1067
+
1068
+ export type AdminCurrencyResponseWritable = {
1069
+ status: string;
1070
+ data: AdminCurrencyWritable;
1071
+ };
1072
+
1073
+ /**
1074
+ * A ModelSerializer that takes additional arguments for
1075
+ * "fields", "omit" and "expand" in order to
1076
+ * control which fields are displayed, and whether to replace simple
1077
+ * values with complex, nested serializations
1078
+ */
1079
+ export type AdminExtendedCardWritable = {
1080
+ [key: string]: unknown;
1081
+ };
1082
+
1083
+ export type AdminExtendedCardResponseWritable = {
1084
+ status: string;
1085
+ data: AdminExtendedCardWritable;
1086
+ };
1087
+
1088
+ /**
1089
+ * A ModelSerializer that takes additional arguments for
1090
+ * "fields", "omit" and "expand" in order to
1091
+ * control which fields are displayed, and whether to replace simple
1092
+ * values with complex, nested serializations
1093
+ */
1094
+ export type AdminUpdateCompanyWritable = {
1095
+ operational_account?: string | null;
1096
+ rain_api_key?: string;
1097
+ };
1098
+
1099
+ export type PaginatedAdminCardListWritable = {
1100
+ count?: number;
1101
+ next?: string | null;
1102
+ previous?: string | null;
1103
+ results?: Array<AdminCardWritable>;
1104
+ };
1105
+
1106
+ export type PaginatedAdminCardListResponseWritable = {
1107
+ status: string;
1108
+ data: PaginatedAdminCardListWritable;
1109
+ };
1110
+
1111
+ export type PaginatedAdminCurrencyListWritable = {
1112
+ count?: number;
1113
+ next?: string | null;
1114
+ previous?: string | null;
1115
+ results?: Array<AdminCurrencyWritable>;
1116
+ };
1117
+
1118
+ export type PaginatedAdminCurrencyListResponseWritable = {
1119
+ status: string;
1120
+ data: PaginatedAdminCurrencyListWritable;
1121
+ };
1122
+
1123
+ export type PaginatedUserApplicationListWritable = {
1124
+ count?: number;
1125
+ next?: string | null;
1126
+ previous?: string | null;
1127
+ results?: Array<UserApplicationWritable>;
1128
+ };
1129
+
1130
+ export type PaginatedUserApplicationListResponseWritable = {
1131
+ status: string;
1132
+ data: PaginatedUserApplicationListWritable;
1133
+ };
1134
+
1135
+ export type PaginatedUserCardListWritable = {
1136
+ count?: number;
1137
+ next?: string | null;
1138
+ previous?: string | null;
1139
+ results?: Array<UserCardWritable>;
1140
+ };
1141
+
1142
+ export type PaginatedUserCardListResponseWritable = {
1143
+ status: string;
1144
+ data: PaginatedUserCardListWritable;
1145
+ };
1146
+
1147
+ /**
1148
+ * A ModelSerializer that takes additional arguments for
1149
+ * "fields", "omit" and "expand" in order to
1150
+ * control which fields are displayed, and whether to replace simple
1151
+ * values with complex, nested serializations
1152
+ */
1153
+ export type PatchedAdminCurrencyWritable = {
1154
+ /**
1155
+ * * `usd` - Usd
1156
+ */
1157
+ rain_code?: 'usd';
1158
+ /**
1159
+ * * `solana` - Solana
1160
+ */
1161
+ rain_chain?: 'solana';
1162
+ };
1163
+
1164
+ /**
1165
+ * A ModelSerializer that takes additional arguments for
1166
+ * "fields", "omit" and "expand" in order to
1167
+ * control which fields are displayed, and whether to replace simple
1168
+ * values with complex, nested serializations
1169
+ */
1170
+ export type PatchedAdminUpdateCompanyWritable = {
1171
+ operational_account?: string | null;
1172
+ rain_api_key?: string;
1173
+ };
1174
+
1175
+ /**
1176
+ * A ModelSerializer that takes additional arguments for
1177
+ * "fields", "omit" and "expand" in order to
1178
+ * control which fields are displayed, and whether to replace simple
1179
+ * values with complex, nested serializations
1180
+ */
1181
+ export type PatchedUserWritable = {
1182
+ terms_accepted?: boolean;
1183
+ };
1184
+
1185
+ export type PatchedUserUpdateCardPinWritable = {
1186
+ encrypted_pin?: EncryptedData;
1187
+ };
1188
+
1189
+ /**
1190
+ * A ModelSerializer that takes additional arguments for
1191
+ * "fields", "omit" and "expand" in order to
1192
+ * control which fields are displayed, and whether to replace simple
1193
+ * values with complex, nested serializations
1194
+ */
1195
+ export type UserWritable = {
1196
+ terms_accepted?: boolean;
1197
+ };
1198
+
1199
+ /**
1200
+ * A ModelSerializer that takes additional arguments for
1201
+ * "fields", "omit" and "expand" in order to
1202
+ * control which fields are displayed, and whether to replace simple
1203
+ * values with complex, nested serializations
1204
+ */
1205
+ export type UserApplicationWritable = {
1206
+ [key: string]: unknown;
1207
+ };
1208
+
1209
+ export type UserApplicationResponseWritable = {
1210
+ status: string;
1211
+ data: UserApplicationWritable;
1212
+ };
1213
+
1214
+ /**
1215
+ * A ModelSerializer that takes additional arguments for
1216
+ * "fields", "omit" and "expand" in order to
1217
+ * control which fields are displayed, and whether to replace simple
1218
+ * values with complex, nested serializations
1219
+ */
1220
+ export type UserCardWritable = {
1221
+ [key: string]: unknown;
1222
+ };
1223
+
1224
+ /**
1225
+ * A ModelSerializer that takes additional arguments for
1226
+ * "fields", "omit" and "expand" in order to
1227
+ * control which fields are displayed, and whether to replace simple
1228
+ * values with complex, nested serializations
1229
+ */
1230
+ export type UserCreateCardWritable = {
1231
+ account: string;
1232
+ currency: string;
1233
+ };
1234
+
1235
+ /**
1236
+ * A ModelSerializer that takes additional arguments for
1237
+ * "fields", "omit" and "expand" in order to
1238
+ * control which fields are displayed, and whether to replace simple
1239
+ * values with complex, nested serializations
1240
+ */
1241
+ export type UserExtendedCardWritable = {
1242
+ [key: string]: unknown;
1243
+ };
1244
+
1245
+ export type UserExtendedCardResponseWritable = {
1246
+ status: string;
1247
+ data: UserExtendedCardWritable;
1248
+ };
1249
+
1250
+ export type UserResponseWritable = {
1251
+ status: string;
1252
+ data: UserWritable;
1253
+ };
1254
+
1255
+ export type UserUpdateCardPinWritable = {
1256
+ encrypted_pin: EncryptedData;
1257
+ };
1258
+
1259
+ export type ActivateCreateData = {
1260
+ body: Activate;
1261
+ path?: never;
1262
+ query?: never;
1263
+ url: '/activate/';
1264
+ };
1265
+
1266
+ export type ActivateCreateResponses = {
1267
+ 200: ActionResponse;
1268
+ };
1269
+
1270
+ export type ActivateCreateResponse = ActivateCreateResponses[keyof ActivateCreateResponses];
1271
+
1272
+ export type AdminCardsListData = {
1273
+ body?: never;
1274
+ path?: never;
1275
+ query?: {
1276
+ account?: string;
1277
+ currency?: string;
1278
+ /**
1279
+ * A page number within the paginated result set.
1280
+ */
1281
+ page?: number;
1282
+ /**
1283
+ * Number of results to return per page.
1284
+ */
1285
+ page_size?: number;
1286
+ rain_id?: string;
1287
+ user?: string;
1288
+ };
1289
+ url: '/admin/cards/';
1290
+ };
1291
+
1292
+ export type AdminCardsListResponses = {
1293
+ 200: PaginatedAdminCardListResponse;
1294
+ };
1295
+
1296
+ export type AdminCardsListResponse = AdminCardsListResponses[keyof AdminCardsListResponses];
1297
+
1298
+ export type AdminCardsRetrieveData = {
1299
+ body?: never;
1300
+ path: {
1301
+ identifier: string;
1302
+ };
1303
+ query?: never;
1304
+ url: '/admin/cards/{identifier}/';
1305
+ };
1306
+
1307
+ export type AdminCardsRetrieveResponses = {
1308
+ 200: AdminExtendedCardResponse;
1309
+ };
1310
+
1311
+ export type AdminCardsRetrieveResponse = AdminCardsRetrieveResponses[keyof AdminCardsRetrieveResponses];
1312
+
1313
+ export type AdminCompanyRetrieveData = {
1314
+ body?: never;
1315
+ path?: never;
1316
+ query?: never;
1317
+ url: '/admin/company/';
1318
+ };
1319
+
1320
+ export type AdminCompanyRetrieveResponses = {
1321
+ 200: AdminCompanyResponse;
1322
+ };
1323
+
1324
+ export type AdminCompanyRetrieveResponse = AdminCompanyRetrieveResponses[keyof AdminCompanyRetrieveResponses];
1325
+
1326
+ export type AdminCompanyPartialUpdateData = {
1327
+ body?: PatchedAdminUpdateCompanyWritable;
1328
+ path?: never;
1329
+ query?: never;
1330
+ url: '/admin/company/';
1331
+ };
1332
+
1333
+ export type AdminCompanyPartialUpdateResponses = {
1334
+ 200: AdminCompanyResponse;
1335
+ };
1336
+
1337
+ export type AdminCompanyPartialUpdateResponse = AdminCompanyPartialUpdateResponses[keyof AdminCompanyPartialUpdateResponses];
1338
+
1339
+ export type AdminCompanyUpdateData = {
1340
+ body?: AdminUpdateCompanyWritable;
1341
+ path?: never;
1342
+ query?: never;
1343
+ url: '/admin/company/';
1344
+ };
1345
+
1346
+ export type AdminCompanyUpdateResponses = {
1347
+ 200: AdminCompanyResponse;
1348
+ };
1349
+
1350
+ export type AdminCompanyUpdateResponse = AdminCompanyUpdateResponses[keyof AdminCompanyUpdateResponses];
1351
+
1352
+ export type AdminCurrenciesListData = {
1353
+ body?: never;
1354
+ path?: never;
1355
+ query?: {
1356
+ /**
1357
+ * A page number within the paginated result set.
1358
+ */
1359
+ page?: number;
1360
+ /**
1361
+ * Number of results to return per page.
1362
+ */
1363
+ page_size?: number;
1364
+ };
1365
+ url: '/admin/currencies/';
1366
+ };
1367
+
1368
+ export type AdminCurrenciesListResponses = {
1369
+ 200: PaginatedAdminCurrencyListResponse;
1370
+ };
1371
+
1372
+ export type AdminCurrenciesListResponse = AdminCurrenciesListResponses[keyof AdminCurrenciesListResponses];
1373
+
1374
+ export type AdminCurrenciesRetrieveData = {
1375
+ body?: never;
1376
+ path: {
1377
+ code: string;
1378
+ };
1379
+ query?: never;
1380
+ url: '/admin/currencies/{code}/';
1381
+ };
1382
+
1383
+ export type AdminCurrenciesRetrieveResponses = {
1384
+ 200: AdminCurrencyResponse;
1385
+ };
1386
+
1387
+ export type AdminCurrenciesRetrieveResponse = AdminCurrenciesRetrieveResponses[keyof AdminCurrenciesRetrieveResponses];
1388
+
1389
+ export type AdminCurrenciesPartialUpdateData = {
1390
+ body?: PatchedAdminCurrencyWritable;
1391
+ path: {
1392
+ code: string;
1393
+ };
1394
+ query?: never;
1395
+ url: '/admin/currencies/{code}/';
1396
+ };
1397
+
1398
+ export type AdminCurrenciesPartialUpdateResponses = {
1399
+ 200: AdminCurrencyResponse;
1400
+ };
1401
+
1402
+ export type AdminCurrenciesPartialUpdateResponse = AdminCurrenciesPartialUpdateResponses[keyof AdminCurrenciesPartialUpdateResponses];
1403
+
1404
+ export type AdminCurrenciesUpdateData = {
1405
+ body?: AdminCurrencyWritable;
1406
+ path: {
1407
+ code: string;
1408
+ };
1409
+ query?: never;
1410
+ url: '/admin/currencies/{code}/';
1411
+ };
1412
+
1413
+ export type AdminCurrenciesUpdateResponses = {
1414
+ 200: AdminCurrencyResponse;
1415
+ };
1416
+
1417
+ export type AdminCurrenciesUpdateResponse = AdminCurrenciesUpdateResponses[keyof AdminCurrenciesUpdateResponses];
1418
+
1419
+ export type DeactivateCreateData = {
1420
+ body: Deactivate;
1421
+ path?: never;
1422
+ query?: never;
1423
+ url: '/deactivate/';
1424
+ };
1425
+
1426
+ export type DeactivateCreateResponses = {
1427
+ 200: ActionResponse;
1428
+ };
1429
+
1430
+ export type DeactivateCreateResponse = DeactivateCreateResponses[keyof DeactivateCreateResponses];
1431
+
1432
+ export type RainWebhookCreateData = {
1433
+ body: RainWebhook;
1434
+ path: {
1435
+ company_id: string;
1436
+ };
1437
+ query?: never;
1438
+ url: '/rain/webhook/{company_id}/';
1439
+ };
1440
+
1441
+ export type RainWebhookCreateResponses = {
1442
+ 200: ActionResponse;
1443
+ };
1444
+
1445
+ export type RainWebhookCreateResponse = RainWebhookCreateResponses[keyof RainWebhookCreateResponses];
1446
+
1447
+ export type UserRetrieveData = {
1448
+ body?: never;
1449
+ path?: never;
1450
+ query?: never;
1451
+ url: '/user/';
1452
+ };
1453
+
1454
+ export type UserRetrieveResponses = {
1455
+ 200: UserResponse;
1456
+ };
1457
+
1458
+ export type UserRetrieveResponse = UserRetrieveResponses[keyof UserRetrieveResponses];
1459
+
1460
+ export type UserPartialUpdateData = {
1461
+ body?: PatchedUserWritable;
1462
+ path?: never;
1463
+ query?: never;
1464
+ url: '/user/';
1465
+ };
1466
+
1467
+ export type UserPartialUpdateResponses = {
1468
+ 200: UserResponse;
1469
+ };
1470
+
1471
+ export type UserPartialUpdateResponse = UserPartialUpdateResponses[keyof UserPartialUpdateResponses];
1472
+
1473
+ export type UserUpdateData = {
1474
+ body?: UserWritable;
1475
+ path?: never;
1476
+ query?: never;
1477
+ url: '/user/';
1478
+ };
1479
+
1480
+ export type UserUpdateResponses = {
1481
+ 200: UserResponse;
1482
+ };
1483
+
1484
+ export type UserUpdateResponse = UserUpdateResponses[keyof UserUpdateResponses];
1485
+
1486
+ export type UserApplicationsListData = {
1487
+ body?: never;
1488
+ path?: never;
1489
+ query?: {
1490
+ /**
1491
+ * A page number within the paginated result set.
1492
+ */
1493
+ page?: number;
1494
+ /**
1495
+ * Number of results to return per page.
1496
+ */
1497
+ page_size?: number;
1498
+ };
1499
+ url: '/user/applications/';
1500
+ };
1501
+
1502
+ export type UserApplicationsListResponses = {
1503
+ 200: PaginatedUserApplicationListResponse;
1504
+ };
1505
+
1506
+ export type UserApplicationsListResponse = UserApplicationsListResponses[keyof UserApplicationsListResponses];
1507
+
1508
+ export type UserApplicationsCreateData = {
1509
+ body: UserCreateApplication;
1510
+ path?: never;
1511
+ query?: never;
1512
+ url: '/user/applications/';
1513
+ };
1514
+
1515
+ export type UserApplicationsCreateResponses = {
1516
+ 201: UserApplicationResponse;
1517
+ };
1518
+
1519
+ export type UserApplicationsCreateResponse = UserApplicationsCreateResponses[keyof UserApplicationsCreateResponses];
1520
+
1521
+ export type UserApplicationsRetrieveData = {
1522
+ body?: never;
1523
+ path: {
1524
+ identifier: string;
1525
+ };
1526
+ query?: never;
1527
+ url: '/user/applications/{identifier}/';
1528
+ };
1529
+
1530
+ export type UserApplicationsRetrieveResponses = {
1531
+ 200: UserApplicationResponse;
1532
+ };
1533
+
1534
+ export type UserApplicationsRetrieveResponse = UserApplicationsRetrieveResponses[keyof UserApplicationsRetrieveResponses];
1535
+
1536
+ export type UserCardsListData = {
1537
+ body?: never;
1538
+ path?: never;
1539
+ query?: {
1540
+ account?: string;
1541
+ currency?: string;
1542
+ /**
1543
+ * A page number within the paginated result set.
1544
+ */
1545
+ page?: number;
1546
+ /**
1547
+ * Number of results to return per page.
1548
+ */
1549
+ page_size?: number;
1550
+ rain_id?: string;
1551
+ };
1552
+ url: '/user/cards/';
1553
+ };
1554
+
1555
+ export type UserCardsListResponses = {
1556
+ 200: PaginatedUserCardListResponse;
1557
+ };
1558
+
1559
+ export type UserCardsListResponse = UserCardsListResponses[keyof UserCardsListResponses];
1560
+
1561
+ export type UserCardsCreateData = {
1562
+ body: UserCreateCardWritable;
1563
+ path?: never;
1564
+ query?: never;
1565
+ url: '/user/cards/';
1566
+ };
1567
+
1568
+ export type UserCardsCreateResponses = {
1569
+ 201: UserExtendedCardResponse;
1570
+ };
1571
+
1572
+ export type UserCardsCreateResponse = UserCardsCreateResponses[keyof UserCardsCreateResponses];
1573
+
1574
+ export type UserCardsRetrieveData = {
1575
+ body?: never;
1576
+ path: {
1577
+ identifier: string;
1578
+ };
1579
+ query?: never;
1580
+ url: '/user/cards/{identifier}/';
1581
+ };
1582
+
1583
+ export type UserCardsRetrieveResponses = {
1584
+ 200: UserExtendedCardResponse;
1585
+ };
1586
+
1587
+ export type UserCardsRetrieveResponse = UserCardsRetrieveResponses[keyof UserCardsRetrieveResponses];
1588
+
1589
+ export type UserCardsDataRetrieveData = {
1590
+ body?: never;
1591
+ path: {
1592
+ identifier: string;
1593
+ };
1594
+ query?: never;
1595
+ url: '/user/cards/{identifier}/data/';
1596
+ };
1597
+
1598
+ export type UserCardsDataRetrieveResponses = {
1599
+ 200: UserCardDataResponse;
1600
+ };
1601
+
1602
+ export type UserCardsDataRetrieveResponse = UserCardsDataRetrieveResponses[keyof UserCardsDataRetrieveResponses];
1603
+
1604
+ export type UserCardsPinRetrieveData = {
1605
+ body?: never;
1606
+ path: {
1607
+ identifier: string;
1608
+ };
1609
+ query?: never;
1610
+ url: '/user/cards/{identifier}/pin/';
1611
+ };
1612
+
1613
+ export type UserCardsPinRetrieveResponses = {
1614
+ 200: UserCardPinResponse;
1615
+ };
1616
+
1617
+ export type UserCardsPinRetrieveResponse = UserCardsPinRetrieveResponses[keyof UserCardsPinRetrieveResponses];
1618
+
1619
+ export type UserCardsPinPartialUpdateData = {
1620
+ body?: PatchedUserUpdateCardPinWritable;
1621
+ path: {
1622
+ identifier: string;
1623
+ };
1624
+ query?: never;
1625
+ url: '/user/cards/{identifier}/pin/';
1626
+ };
1627
+
1628
+ export type UserCardsPinPartialUpdateResponses = {
1629
+ 200: ActionResponse;
1630
+ };
1631
+
1632
+ export type UserCardsPinPartialUpdateResponse = UserCardsPinPartialUpdateResponses[keyof UserCardsPinPartialUpdateResponses];
1633
+
1634
+ export type UserCardsPinUpdateData = {
1635
+ body: UserUpdateCardPinWritable;
1636
+ path: {
1637
+ identifier: string;
1638
+ };
1639
+ query?: never;
1640
+ url: '/user/cards/{identifier}/pin/';
1641
+ };
1642
+
1643
+ export type UserCardsPinUpdateResponses = {
1644
+ 200: ActionResponse;
1645
+ };
1646
+
1647
+ export type UserCardsPinUpdateResponse = UserCardsPinUpdateResponses[keyof UserCardsPinUpdateResponses];
1648
+
1649
+ export type WebhookCreateData = {
1650
+ body: Webhook;
1651
+ path?: never;
1652
+ query?: never;
1653
+ url: '/webhook/';
1654
+ };
1655
+
1656
+ export type WebhookCreateResponses = {
1657
+ 200: ActionResponse;
1658
+ };
1659
+
1660
+ export type WebhookCreateResponse = WebhookCreateResponses[keyof WebhookCreateResponses];