rehive 3.1.4 → 4.1.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 -506
  2. package/dist/admin.d.mts +31507 -0
  3. package/dist/admin.d.ts +31507 -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-7WQMKBQ6.js +7 -0
  11. package/dist/chunk-CUQ6U73E.mjs +1 -0
  12. package/dist/chunk-DRLSOKDI.js +7 -0
  13. package/dist/chunk-GR5TETAU.js +1 -0
  14. package/dist/chunk-JK4JOKBZ.js +1 -0
  15. package/dist/chunk-KQ5BJOW2.mjs +1 -0
  16. package/dist/chunk-KUM3UI4C.mjs +7 -0
  17. package/dist/chunk-OEIQFP6T.js +1 -0
  18. package/dist/chunk-S4QKN5WW.mjs +1 -0
  19. package/dist/chunk-S5UXBHRU.mjs +1 -0
  20. package/dist/chunk-UMUOM4B2.mjs +7 -0
  21. package/dist/chunk-YRYX3G3E.js +1 -0
  22. package/dist/create-api-client-2vNCP2LN.d.mts +25 -0
  23. package/dist/create-api-client-D-Z8R83N.d.ts +25 -0
  24. package/dist/create-auth-CHzmb_8_.d.mts +18570 -0
  25. package/dist/create-auth-CHzmb_8_.d.ts +18570 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +31428 -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 +214 -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 +19780 -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 +55 -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,1896 @@
1
+ import { A as ApiFactoryConfig, B as BoundSdk } from '../create-api-client-2vNCP2LN.mjs';
2
+ import '../create-auth-CHzmb_8_.mjs';
3
+
4
+ type AuthToken = string | undefined;
5
+ interface Auth {
6
+ /**
7
+ * Which part of the request do we use to send the auth?
8
+ *
9
+ * @default 'header'
10
+ */
11
+ in?: 'header' | 'query' | 'cookie';
12
+ /**
13
+ * Header or query parameter name.
14
+ *
15
+ * @default 'Authorization'
16
+ */
17
+ name?: string;
18
+ scheme?: 'basic' | 'bearer';
19
+ type: 'apiKey' | 'http';
20
+ }
21
+
22
+ interface SerializerOptions<T> {
23
+ /**
24
+ * @default true
25
+ */
26
+ explode: boolean;
27
+ style: T;
28
+ }
29
+ type ArrayStyle = 'form' | 'spaceDelimited' | 'pipeDelimited';
30
+ type ObjectStyle = 'form' | 'deepObject';
31
+
32
+ type QuerySerializer = (query: Record<string, unknown>) => string;
33
+ type BodySerializer = (body: any) => any;
34
+ type QuerySerializerOptionsObject = {
35
+ allowReserved?: boolean;
36
+ array?: Partial<SerializerOptions<ArrayStyle>>;
37
+ object?: Partial<SerializerOptions<ObjectStyle>>;
38
+ };
39
+ type QuerySerializerOptions = QuerySerializerOptionsObject & {
40
+ /**
41
+ * Per-parameter serialization overrides. When provided, these settings
42
+ * override the global array/object settings for specific parameter names.
43
+ */
44
+ parameters?: Record<string, QuerySerializerOptionsObject>;
45
+ };
46
+
47
+ type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
48
+ type Client$1<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never, SseFn = never> = {
49
+ /**
50
+ * Returns the final request URL.
51
+ */
52
+ buildUrl: BuildUrlFn;
53
+ getConfig: () => Config;
54
+ request: RequestFn;
55
+ setConfig: (config: Config) => Config;
56
+ } & {
57
+ [K in HttpMethod]: MethodFn;
58
+ } & ([SseFn] extends [never] ? {
59
+ sse?: never;
60
+ } : {
61
+ sse: {
62
+ [K in HttpMethod]: SseFn;
63
+ };
64
+ });
65
+ interface Config$1 {
66
+ /**
67
+ * Auth token or a function returning auth token. The resolved value will be
68
+ * added to the request payload as defined by its `security` array.
69
+ */
70
+ auth?: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken;
71
+ /**
72
+ * A function for serializing request body parameter. By default,
73
+ * {@link JSON.stringify()} will be used.
74
+ */
75
+ bodySerializer?: BodySerializer | null;
76
+ /**
77
+ * An object containing any HTTP headers that you want to pre-populate your
78
+ * `Headers` object with.
79
+ *
80
+ * {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more}
81
+ */
82
+ headers?: RequestInit['headers'] | Record<string, string | number | boolean | (string | number | boolean)[] | null | undefined | unknown>;
83
+ /**
84
+ * The request method.
85
+ *
86
+ * {@link https://developer.mozilla.org/docs/Web/API/fetch#method See more}
87
+ */
88
+ method?: Uppercase<HttpMethod>;
89
+ /**
90
+ * A function for serializing request query parameters. By default, arrays
91
+ * will be exploded in form style, objects will be exploded in deepObject
92
+ * style, and reserved characters are percent-encoded.
93
+ *
94
+ * This method will have no effect if the native `paramsSerializer()` Axios
95
+ * API function is used.
96
+ *
97
+ * {@link https://swagger.io/docs/specification/serialization/#query View examples}
98
+ */
99
+ querySerializer?: QuerySerializer | QuerySerializerOptions;
100
+ /**
101
+ * A function validating request data. This is useful if you want to ensure
102
+ * the request conforms to the desired shape, so it can be safely sent to
103
+ * the server.
104
+ */
105
+ requestValidator?: (data: unknown) => Promise<unknown>;
106
+ /**
107
+ * A function transforming response data before it's returned. This is useful
108
+ * for post-processing data, e.g. converting ISO strings into Date objects.
109
+ */
110
+ responseTransformer?: (data: unknown) => Promise<unknown>;
111
+ /**
112
+ * A function validating response data. This is useful if you want to ensure
113
+ * the response conforms to the desired shape, so it can be safely passed to
114
+ * the transformers and returned to the user.
115
+ */
116
+ responseValidator?: (data: unknown) => Promise<unknown>;
117
+ }
118
+
119
+ type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$1, 'method' | 'responseTransformer' | 'responseValidator'> & {
120
+ /**
121
+ * Fetch API implementation. You can use this option to provide a custom
122
+ * fetch instance.
123
+ *
124
+ * @default globalThis.fetch
125
+ */
126
+ fetch?: typeof fetch;
127
+ /**
128
+ * Implementing clients can call request interceptors inside this hook.
129
+ */
130
+ onRequest?: (url: string, init: RequestInit) => Promise<Request>;
131
+ /**
132
+ * Callback invoked when a network or parsing error occurs during streaming.
133
+ *
134
+ * This option applies only if the endpoint returns a stream of events.
135
+ *
136
+ * @param error The error that occurred.
137
+ */
138
+ onSseError?: (error: unknown) => void;
139
+ /**
140
+ * Callback invoked when an event is streamed from the server.
141
+ *
142
+ * This option applies only if the endpoint returns a stream of events.
143
+ *
144
+ * @param event Event streamed from the server.
145
+ * @returns Nothing (void).
146
+ */
147
+ onSseEvent?: (event: StreamEvent<TData>) => void;
148
+ serializedBody?: RequestInit['body'];
149
+ /**
150
+ * Default retry delay in milliseconds.
151
+ *
152
+ * This option applies only if the endpoint returns a stream of events.
153
+ *
154
+ * @default 3000
155
+ */
156
+ sseDefaultRetryDelay?: number;
157
+ /**
158
+ * Maximum number of retry attempts before giving up.
159
+ */
160
+ sseMaxRetryAttempts?: number;
161
+ /**
162
+ * Maximum retry delay in milliseconds.
163
+ *
164
+ * Applies only when exponential backoff is used.
165
+ *
166
+ * This option applies only if the endpoint returns a stream of events.
167
+ *
168
+ * @default 30000
169
+ */
170
+ sseMaxRetryDelay?: number;
171
+ /**
172
+ * Optional sleep function for retry backoff.
173
+ *
174
+ * Defaults to using `setTimeout`.
175
+ */
176
+ sseSleepFn?: (ms: number) => Promise<void>;
177
+ url: string;
178
+ };
179
+ interface StreamEvent<TData = unknown> {
180
+ data: TData;
181
+ event?: string;
182
+ id?: string;
183
+ retry?: number;
184
+ }
185
+ type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> = {
186
+ stream: AsyncGenerator<TData extends Record<string, unknown> ? TData[keyof TData] : TData, TReturn, TNext>;
187
+ };
188
+
189
+ type ErrInterceptor<Err, Res, Req, Options> = (error: Err, response: Res, request: Req, options: Options) => Err | Promise<Err>;
190
+ type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
191
+ type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
192
+ declare class Interceptors<Interceptor> {
193
+ fns: Array<Interceptor | null>;
194
+ clear(): void;
195
+ eject(id: number | Interceptor): void;
196
+ exists(id: number | Interceptor): boolean;
197
+ getInterceptorIndex(id: number | Interceptor): number;
198
+ update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
199
+ use(fn: Interceptor): number;
200
+ }
201
+ interface Middleware<Req, Res, Err, Options> {
202
+ error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;
203
+ request: Interceptors<ReqInterceptor<Req, Options>>;
204
+ response: Interceptors<ResInterceptor<Res, Req, Options>>;
205
+ }
206
+
207
+ type ResponseStyle = 'data' | 'fields';
208
+ interface Config<T extends ClientOptions$1 = ClientOptions$1> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$1 {
209
+ /**
210
+ * Base URL for all requests made by this client.
211
+ */
212
+ baseUrl?: T['baseUrl'];
213
+ /**
214
+ * Fetch API implementation. You can use this option to provide a custom
215
+ * fetch instance.
216
+ *
217
+ * @default globalThis.fetch
218
+ */
219
+ fetch?: typeof fetch;
220
+ /**
221
+ * Please don't use the Fetch client for Next.js applications. The `next`
222
+ * options won't have any effect.
223
+ *
224
+ * Install {@link https://www.npmjs.com/package/@hey-api/client-next `@hey-api/client-next`} instead.
225
+ */
226
+ next?: never;
227
+ /**
228
+ * Return the response data parsed in a specified format. By default, `auto`
229
+ * will infer the appropriate method from the `Content-Type` response header.
230
+ * You can override this behavior with any of the {@link Body} methods.
231
+ * Select `stream` if you don't want to parse response data at all.
232
+ *
233
+ * @default 'auto'
234
+ */
235
+ parseAs?: 'arrayBuffer' | 'auto' | 'blob' | 'formData' | 'json' | 'stream' | 'text';
236
+ /**
237
+ * Should we return only data or multiple fields (data, error, response, etc.)?
238
+ *
239
+ * @default 'fields'
240
+ */
241
+ responseStyle?: ResponseStyle;
242
+ /**
243
+ * Throw an error instead of returning it in the response?
244
+ *
245
+ * @default false
246
+ */
247
+ throwOnError?: T['throwOnError'];
248
+ }
249
+ interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'data', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config<{
250
+ responseStyle: TResponseStyle;
251
+ throwOnError: ThrowOnError;
252
+ }>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
253
+ /**
254
+ * Any body that you want to add to your request.
255
+ *
256
+ * {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
257
+ */
258
+ body?: unknown;
259
+ path?: Record<string, unknown>;
260
+ query?: Record<string, unknown>;
261
+ /**
262
+ * Security mechanism(s) to use for the request.
263
+ */
264
+ security?: ReadonlyArray<Auth>;
265
+ url: Url;
266
+ }
267
+ interface ResolvedRequestOptions<TResponseStyle extends ResponseStyle = 'data', ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, TResponseStyle, ThrowOnError, Url> {
268
+ serializedBody?: string;
269
+ }
270
+ type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boolean = boolean, TResponseStyle extends ResponseStyle = 'data'> = ThrowOnError extends true ? Promise<TResponseStyle extends 'data' ? TData extends Record<string, unknown> ? TData[keyof TData] : TData : {
271
+ data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
272
+ request: Request;
273
+ response: Response;
274
+ }> : Promise<TResponseStyle extends 'data' ? (TData extends Record<string, unknown> ? TData[keyof TData] : TData) | undefined : ({
275
+ data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
276
+ error: undefined;
277
+ } | {
278
+ data: undefined;
279
+ error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
280
+ }) & {
281
+ request: Request;
282
+ response: Response;
283
+ }>;
284
+ interface ClientOptions$1 {
285
+ baseUrl?: string;
286
+ responseStyle?: ResponseStyle;
287
+ throwOnError?: boolean;
288
+ }
289
+ type MethodFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'data'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
290
+ type SseFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'data'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => Promise<ServerSentEventsResult<TData, TError>>;
291
+ type RequestFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'data'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'> & Pick<Required<RequestOptions<TData, TResponseStyle, ThrowOnError>>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
292
+ type BuildUrlFn = <TData extends {
293
+ body?: unknown;
294
+ path?: Record<string, unknown>;
295
+ query?: Record<string, unknown>;
296
+ url: string;
297
+ }>(options: TData & Options$1<TData>) => string;
298
+ type Client = Client$1<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
299
+ interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
300
+ };
301
+ interface TDataShape {
302
+ body?: unknown;
303
+ headers?: unknown;
304
+ path?: unknown;
305
+ query?: unknown;
306
+ url: string;
307
+ }
308
+ type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
309
+ type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'data'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
310
+
311
+ type ClientOptions = {
312
+ baseUrl: 'https://rain.services.rehive.com/api/' | (string & {});
313
+ };
314
+ /**
315
+ * This serializer can be used if only a `status` is required in the response.
316
+ */
317
+ type ActionResponse = {
318
+ status: string;
319
+ };
320
+ /**
321
+ * Serialize the activation data, should be a token that represents an admin
322
+ * user.
323
+ */
324
+ type Activate = {
325
+ token: string;
326
+ readonly id: string;
327
+ readonly name: string;
328
+ readonly secret: string;
329
+ };
330
+ /**
331
+ * A ModelSerializer that takes additional arguments for
332
+ * "fields", "omit" and "expand" in order to
333
+ * control which fields are displayed, and whether to replace simple
334
+ * values with complex, nested serializations
335
+ */
336
+ type AdminCard = {
337
+ readonly id: string;
338
+ readonly account: string;
339
+ currency: Currency;
340
+ /**
341
+ * * `virtual` - Virtual
342
+ * * `physical` - Physical
343
+ */
344
+ type: 'virtual' | 'physical';
345
+ readonly rain_id: string | null;
346
+ readonly created: number;
347
+ readonly updated: number;
348
+ readonly user: string;
349
+ };
350
+ /**
351
+ * A ModelSerializer that takes additional arguments for
352
+ * "fields", "omit" and "expand" in order to
353
+ * control which fields are displayed, and whether to replace simple
354
+ * values with complex, nested serializations
355
+ */
356
+ type AdminCompany = {
357
+ readonly id: string;
358
+ readonly secret: string;
359
+ /**
360
+ * * `test` - Test
361
+ * * `production` - Production
362
+ */
363
+ mode: 'test' | 'production';
364
+ readonly operational_account: string | null;
365
+ rain_api_key: string;
366
+ };
367
+ type AdminCompanyResponse = {
368
+ status: string;
369
+ data: AdminCompany;
370
+ };
371
+ /**
372
+ * A ModelSerializer that takes additional arguments for
373
+ * "fields", "omit" and "expand" in order to
374
+ * control which fields are displayed, and whether to replace simple
375
+ * values with complex, nested serializations
376
+ */
377
+ type AdminCurrency = {
378
+ readonly code: string;
379
+ readonly display_code: string | null;
380
+ readonly description: string | null;
381
+ readonly symbol: string | null;
382
+ readonly unit: string | null;
383
+ readonly divisibility: number;
384
+ readonly manager: string | null;
385
+ /**
386
+ * * `usd` - Usd
387
+ */
388
+ rain_code?: 'usd';
389
+ /**
390
+ * * `solana` - Solana
391
+ */
392
+ rain_chain?: 'solana';
393
+ };
394
+ type AdminCurrencyResponse = {
395
+ status: string;
396
+ data: AdminCurrency;
397
+ };
398
+ /**
399
+ * A ModelSerializer that takes additional arguments for
400
+ * "fields", "omit" and "expand" in order to
401
+ * control which fields are displayed, and whether to replace simple
402
+ * values with complex, nested serializations
403
+ */
404
+ type AdminExtendedCard = {
405
+ readonly id: string;
406
+ readonly account: string;
407
+ currency: Currency;
408
+ /**
409
+ * * `virtual` - Virtual
410
+ * * `physical` - Physical
411
+ */
412
+ type: 'virtual' | 'physical';
413
+ readonly rain_id: string | null;
414
+ /**
415
+ * * `notActivated` - Not Activated
416
+ * * `active` - Active
417
+ * * `locked` - Locked
418
+ * * `canceled` - Canceled
419
+ */
420
+ status: 'notActivated' | 'active' | 'locked' | 'canceled';
421
+ readonly last_4: string;
422
+ readonly expiration_month: string;
423
+ readonly expiration_year: string;
424
+ readonly created: number;
425
+ readonly updated: number;
426
+ readonly user: string;
427
+ };
428
+ type AdminExtendedCardResponse = {
429
+ status: string;
430
+ data: AdminExtendedCard;
431
+ };
432
+ /**
433
+ * A ModelSerializer that takes additional arguments for
434
+ * "fields", "omit" and "expand" in order to
435
+ * control which fields are displayed, and whether to replace simple
436
+ * values with complex, nested serializations
437
+ */
438
+ type AdminUpdateCompany = {
439
+ readonly id: string;
440
+ readonly secret: string;
441
+ /**
442
+ * * `test` - Test
443
+ * * `production` - Production
444
+ */
445
+ mode: 'test' | 'production';
446
+ operational_account?: string | null;
447
+ rain_api_key?: string;
448
+ };
449
+ /**
450
+ * A ModelSerializer that takes additional arguments for
451
+ * "fields", "omit" and "expand" in order to
452
+ * control which fields are displayed, and whether to replace simple
453
+ * values with complex, nested serializations
454
+ */
455
+ type Currency = {
456
+ code: string;
457
+ /**
458
+ * * `usd` - Usd
459
+ */
460
+ rain_code?: 'usd';
461
+ /**
462
+ * * `solana` - Solana
463
+ */
464
+ rain_chain?: 'solana';
465
+ display_code?: string | null;
466
+ description?: string | null;
467
+ symbol?: string | null;
468
+ unit?: string | null;
469
+ divisibility?: number;
470
+ };
471
+ /**
472
+ * Serialize the deactivation data, should be a token that represents an admin
473
+ * user.
474
+ */
475
+ type Deactivate = {
476
+ token: string;
477
+ purge?: boolean;
478
+ };
479
+ type EncryptedData = {
480
+ iv: string;
481
+ data: string;
482
+ };
483
+ type PaginatedAdminCardList = {
484
+ count?: number;
485
+ next?: string | null;
486
+ previous?: string | null;
487
+ results?: Array<AdminCard>;
488
+ };
489
+ type PaginatedAdminCardListResponse = {
490
+ status: string;
491
+ data: PaginatedAdminCardList;
492
+ };
493
+ type PaginatedAdminCurrencyList = {
494
+ count?: number;
495
+ next?: string | null;
496
+ previous?: string | null;
497
+ results?: Array<AdminCurrency>;
498
+ };
499
+ type PaginatedAdminCurrencyListResponse = {
500
+ status: string;
501
+ data: PaginatedAdminCurrencyList;
502
+ };
503
+ type PaginatedUserApplicationList = {
504
+ count?: number;
505
+ next?: string | null;
506
+ previous?: string | null;
507
+ results?: Array<UserApplication>;
508
+ };
509
+ type PaginatedUserApplicationListResponse = {
510
+ status: string;
511
+ data: PaginatedUserApplicationList;
512
+ };
513
+ type PaginatedUserCardList = {
514
+ count?: number;
515
+ next?: string | null;
516
+ previous?: string | null;
517
+ results?: Array<UserCard>;
518
+ };
519
+ type PaginatedUserCardListResponse = {
520
+ status: string;
521
+ data: PaginatedUserCardList;
522
+ };
523
+ /**
524
+ * A ModelSerializer that takes additional arguments for
525
+ * "fields", "omit" and "expand" in order to
526
+ * control which fields are displayed, and whether to replace simple
527
+ * values with complex, nested serializations
528
+ */
529
+ type PatchedAdminCurrency = {
530
+ readonly code?: string;
531
+ readonly display_code?: string | null;
532
+ readonly description?: string | null;
533
+ readonly symbol?: string | null;
534
+ readonly unit?: string | null;
535
+ readonly divisibility?: number;
536
+ readonly manager?: string | null;
537
+ /**
538
+ * * `usd` - Usd
539
+ */
540
+ rain_code?: 'usd';
541
+ /**
542
+ * * `solana` - Solana
543
+ */
544
+ rain_chain?: 'solana';
545
+ };
546
+ /**
547
+ * A ModelSerializer that takes additional arguments for
548
+ * "fields", "omit" and "expand" in order to
549
+ * control which fields are displayed, and whether to replace simple
550
+ * values with complex, nested serializations
551
+ */
552
+ type PatchedAdminUpdateCompany = {
553
+ readonly id?: string;
554
+ readonly secret?: string;
555
+ /**
556
+ * * `test` - Test
557
+ * * `production` - Production
558
+ */
559
+ mode?: 'test' | 'production';
560
+ operational_account?: string | null;
561
+ rain_api_key?: string;
562
+ };
563
+ /**
564
+ * A ModelSerializer that takes additional arguments for
565
+ * "fields", "omit" and "expand" in order to
566
+ * control which fields are displayed, and whether to replace simple
567
+ * values with complex, nested serializations
568
+ */
569
+ type PatchedUser = {
570
+ readonly id?: string;
571
+ readonly rain_id?: string;
572
+ terms_accepted?: boolean;
573
+ };
574
+ type PatchedUserUpdateCardPin = {
575
+ [key: string]: unknown;
576
+ };
577
+ type RainWebhook = {
578
+ id: string;
579
+ resource: string;
580
+ action: string;
581
+ body: {
582
+ [key: string]: unknown;
583
+ };
584
+ };
585
+ /**
586
+ * A ModelSerializer that takes additional arguments for
587
+ * "fields", "omit" and "expand" in order to
588
+ * control which fields are displayed, and whether to replace simple
589
+ * values with complex, nested serializations
590
+ */
591
+ type User = {
592
+ readonly id: string;
593
+ readonly rain_id: string;
594
+ terms_accepted?: boolean;
595
+ };
596
+ /**
597
+ * A ModelSerializer that takes additional arguments for
598
+ * "fields", "omit" and "expand" in order to
599
+ * control which fields are displayed, and whether to replace simple
600
+ * values with complex, nested serializations
601
+ */
602
+ type UserApplication = {
603
+ readonly id: string;
604
+ readonly account: string | null;
605
+ currency: Currency;
606
+ readonly occupation: string;
607
+ readonly annual_salary: string;
608
+ readonly account_purpose: string;
609
+ readonly expected_monthly_volume: string;
610
+ readonly terms_and_conditions: boolean;
611
+ readonly first_name: string | null;
612
+ readonly last_name: string | null;
613
+ readonly birth_date: string | null;
614
+ readonly id_number: string | null;
615
+ /**
616
+ * * `AF` - Afghanistan
617
+ * * `AX` - Åland Islands
618
+ * * `AL` - Albania
619
+ * * `DZ` - Algeria
620
+ * * `AS` - American Samoa
621
+ * * `AD` - Andorra
622
+ * * `AO` - Angola
623
+ * * `AI` - Anguilla
624
+ * * `AQ` - Antarctica
625
+ * * `AG` - Antigua and Barbuda
626
+ * * `AR` - Argentina
627
+ * * `AM` - Armenia
628
+ * * `AW` - Aruba
629
+ * * `AU` - Australia
630
+ * * `AT` - Austria
631
+ * * `AZ` - Azerbaijan
632
+ * * `BS` - Bahamas
633
+ * * `BH` - Bahrain
634
+ * * `BD` - Bangladesh
635
+ * * `BB` - Barbados
636
+ * * `BY` - Belarus
637
+ * * `BE` - Belgium
638
+ * * `BZ` - Belize
639
+ * * `BJ` - Benin
640
+ * * `BM` - Bermuda
641
+ * * `BT` - Bhutan
642
+ * * `BO` - Bolivia
643
+ * * `BQ` - Bonaire, Sint Eustatius and Saba
644
+ * * `BA` - Bosnia and Herzegovina
645
+ * * `BW` - Botswana
646
+ * * `BV` - Bouvet Island
647
+ * * `BR` - Brazil
648
+ * * `IO` - British Indian Ocean Territory
649
+ * * `BN` - Brunei
650
+ * * `BG` - Bulgaria
651
+ * * `BF` - Burkina Faso
652
+ * * `BI` - Burundi
653
+ * * `CV` - Cabo Verde
654
+ * * `KH` - Cambodia
655
+ * * `CM` - Cameroon
656
+ * * `CA` - Canada
657
+ * * `KY` - Cayman Islands
658
+ * * `CF` - Central African Republic
659
+ * * `TD` - Chad
660
+ * * `CL` - Chile
661
+ * * `CN` - China
662
+ * * `CX` - Christmas Island
663
+ * * `CC` - Cocos (Keeling) Islands
664
+ * * `CO` - Colombia
665
+ * * `KM` - Comoros
666
+ * * `CG` - Congo
667
+ * * `CD` - Congo (the Democratic Republic of the)
668
+ * * `CK` - Cook Islands
669
+ * * `CR` - Costa Rica
670
+ * * `CI` - Côte d'Ivoire
671
+ * * `HR` - Croatia
672
+ * * `CU` - Cuba
673
+ * * `CW` - Curaçao
674
+ * * `CY` - Cyprus
675
+ * * `CZ` - Czechia
676
+ * * `DK` - Denmark
677
+ * * `DJ` - Djibouti
678
+ * * `DM` - Dominica
679
+ * * `DO` - Dominican Republic
680
+ * * `EC` - Ecuador
681
+ * * `EG` - Egypt
682
+ * * `SV` - El Salvador
683
+ * * `GQ` - Equatorial Guinea
684
+ * * `ER` - Eritrea
685
+ * * `EE` - Estonia
686
+ * * `SZ` - Eswatini
687
+ * * `ET` - Ethiopia
688
+ * * `FK` - Falkland Islands (Malvinas)
689
+ * * `FO` - Faroe Islands
690
+ * * `FJ` - Fiji
691
+ * * `FI` - Finland
692
+ * * `FR` - France
693
+ * * `GF` - French Guiana
694
+ * * `PF` - French Polynesia
695
+ * * `TF` - French Southern Territories
696
+ * * `GA` - Gabon
697
+ * * `GM` - Gambia
698
+ * * `GE` - Georgia
699
+ * * `DE` - Germany
700
+ * * `GH` - Ghana
701
+ * * `GI` - Gibraltar
702
+ * * `GR` - Greece
703
+ * * `GL` - Greenland
704
+ * * `GD` - Grenada
705
+ * * `GP` - Guadeloupe
706
+ * * `GU` - Guam
707
+ * * `GT` - Guatemala
708
+ * * `GG` - Guernsey
709
+ * * `GN` - Guinea
710
+ * * `GW` - Guinea-Bissau
711
+ * * `GY` - Guyana
712
+ * * `HT` - Haiti
713
+ * * `HM` - Heard Island and McDonald Islands
714
+ * * `VA` - Holy See
715
+ * * `HN` - Honduras
716
+ * * `HK` - Hong Kong
717
+ * * `HU` - Hungary
718
+ * * `IS` - Iceland
719
+ * * `IN` - India
720
+ * * `ID` - Indonesia
721
+ * * `IR` - Iran
722
+ * * `IQ` - Iraq
723
+ * * `IE` - Ireland
724
+ * * `IM` - Isle of Man
725
+ * * `IL` - Israel
726
+ * * `IT` - Italy
727
+ * * `JM` - Jamaica
728
+ * * `JP` - Japan
729
+ * * `JE` - Jersey
730
+ * * `JO` - Jordan
731
+ * * `KZ` - Kazakhstan
732
+ * * `KE` - Kenya
733
+ * * `KI` - Kiribati
734
+ * * `KW` - Kuwait
735
+ * * `KG` - Kyrgyzstan
736
+ * * `LA` - Laos
737
+ * * `LV` - Latvia
738
+ * * `LB` - Lebanon
739
+ * * `LS` - Lesotho
740
+ * * `LR` - Liberia
741
+ * * `LY` - Libya
742
+ * * `LI` - Liechtenstein
743
+ * * `LT` - Lithuania
744
+ * * `LU` - Luxembourg
745
+ * * `MO` - Macao
746
+ * * `MG` - Madagascar
747
+ * * `MW` - Malawi
748
+ * * `MY` - Malaysia
749
+ * * `MV` - Maldives
750
+ * * `ML` - Mali
751
+ * * `MT` - Malta
752
+ * * `MH` - Marshall Islands
753
+ * * `MQ` - Martinique
754
+ * * `MR` - Mauritania
755
+ * * `MU` - Mauritius
756
+ * * `YT` - Mayotte
757
+ * * `MX` - Mexico
758
+ * * `FM` - Micronesia
759
+ * * `MD` - Moldova
760
+ * * `MC` - Monaco
761
+ * * `MN` - Mongolia
762
+ * * `ME` - Montenegro
763
+ * * `MS` - Montserrat
764
+ * * `MA` - Morocco
765
+ * * `MZ` - Mozambique
766
+ * * `MM` - Myanmar
767
+ * * `NA` - Namibia
768
+ * * `NR` - Nauru
769
+ * * `NP` - Nepal
770
+ * * `NL` - Netherlands
771
+ * * `NC` - New Caledonia
772
+ * * `NZ` - New Zealand
773
+ * * `NI` - Nicaragua
774
+ * * `NE` - Niger
775
+ * * `NG` - Nigeria
776
+ * * `NU` - Niue
777
+ * * `NF` - Norfolk Island
778
+ * * `KP` - North Korea
779
+ * * `MK` - North Macedonia
780
+ * * `MP` - Northern Mariana Islands
781
+ * * `NO` - Norway
782
+ * * `OM` - Oman
783
+ * * `PK` - Pakistan
784
+ * * `PW` - Palau
785
+ * * `PS` - Palestine, State of
786
+ * * `PA` - Panama
787
+ * * `PG` - Papua New Guinea
788
+ * * `PY` - Paraguay
789
+ * * `PE` - Peru
790
+ * * `PH` - Philippines
791
+ * * `PN` - Pitcairn
792
+ * * `PL` - Poland
793
+ * * `PT` - Portugal
794
+ * * `PR` - Puerto Rico
795
+ * * `QA` - Qatar
796
+ * * `RE` - Réunion
797
+ * * `RO` - Romania
798
+ * * `RU` - Russia
799
+ * * `RW` - Rwanda
800
+ * * `BL` - Saint Barthélemy
801
+ * * `SH` - Saint Helena, Ascension and Tristan da Cunha
802
+ * * `KN` - Saint Kitts and Nevis
803
+ * * `LC` - Saint Lucia
804
+ * * `MF` - Saint Martin (French part)
805
+ * * `PM` - Saint Pierre and Miquelon
806
+ * * `VC` - Saint Vincent and the Grenadines
807
+ * * `WS` - Samoa
808
+ * * `SM` - San Marino
809
+ * * `ST` - Sao Tome and Principe
810
+ * * `SA` - Saudi Arabia
811
+ * * `SN` - Senegal
812
+ * * `RS` - Serbia
813
+ * * `SC` - Seychelles
814
+ * * `SL` - Sierra Leone
815
+ * * `SG` - Singapore
816
+ * * `SX` - Sint Maarten (Dutch part)
817
+ * * `SK` - Slovakia
818
+ * * `SI` - Slovenia
819
+ * * `SB` - Solomon Islands
820
+ * * `SO` - Somalia
821
+ * * `ZA` - South Africa
822
+ * * `GS` - South Georgia and the South Sandwich Islands
823
+ * * `KR` - South Korea
824
+ * * `SS` - South Sudan
825
+ * * `ES` - Spain
826
+ * * `LK` - Sri Lanka
827
+ * * `SD` - Sudan
828
+ * * `SR` - Suriname
829
+ * * `SJ` - Svalbard and Jan Mayen
830
+ * * `SE` - Sweden
831
+ * * `CH` - Switzerland
832
+ * * `SY` - Syria
833
+ * * `TW` - Taiwan
834
+ * * `TJ` - Tajikistan
835
+ * * `TZ` - Tanzania
836
+ * * `TH` - Thailand
837
+ * * `TL` - Timor-Leste
838
+ * * `TG` - Togo
839
+ * * `TK` - Tokelau
840
+ * * `TO` - Tonga
841
+ * * `TT` - Trinidad and Tobago
842
+ * * `TN` - Tunisia
843
+ * * `TR` - Türkiye
844
+ * * `TM` - Turkmenistan
845
+ * * `TC` - Turks and Caicos Islands
846
+ * * `TV` - Tuvalu
847
+ * * `UG` - Uganda
848
+ * * `UA` - Ukraine
849
+ * * `AE` - United Arab Emirates
850
+ * * `GB` - United Kingdom
851
+ * * `UM` - United States Minor Outlying Islands
852
+ * * `US` - United States of America
853
+ * * `UY` - Uruguay
854
+ * * `UZ` - Uzbekistan
855
+ * * `VU` - Vanuatu
856
+ * * `VE` - Venezuela
857
+ * * `VN` - Vietnam
858
+ * * `VG` - Virgin Islands (British)
859
+ * * `VI` - Virgin Islands (U.S.)
860
+ * * `WF` - Wallis and Futuna
861
+ * * `EH` - Western Sahara
862
+ * * `YE` - Yemen
863
+ * * `ZM` - Zambia
864
+ * * `ZW` - Zimbabwe
865
+ */
866
+ 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;
867
+ readonly email: string | null;
868
+ readonly address: {
869
+ [key: string]: unknown;
870
+ } | null;
871
+ /**
872
+ * * `pending` - Pending
873
+ * * `needsInformation` - Needs Information
874
+ * * `needsVerification` - Needs Verification
875
+ * * `manualReview` - Manual Review
876
+ * * `denied` - Denied
877
+ * * `locked` - Locked
878
+ * * `canceled` - Canceled
879
+ * * `approved` - Approved
880
+ */
881
+ status: 'pending' | 'needsInformation' | 'needsVerification' | 'manualReview' | 'denied' | 'locked' | 'canceled' | 'approved' | null;
882
+ readonly completion_link: string | null;
883
+ readonly verification_link: string | null;
884
+ readonly errors: Array<string> | null;
885
+ readonly error_message: string | null;
886
+ readonly created: number;
887
+ readonly updated: number;
888
+ };
889
+ type UserApplicationResponse = {
890
+ status: string;
891
+ data: UserApplication;
892
+ };
893
+ /**
894
+ * A ModelSerializer that takes additional arguments for
895
+ * "fields", "omit" and "expand" in order to
896
+ * control which fields are displayed, and whether to replace simple
897
+ * values with complex, nested serializations
898
+ */
899
+ type UserCard = {
900
+ readonly id: string;
901
+ readonly account: string;
902
+ currency: Currency;
903
+ /**
904
+ * * `virtual` - Virtual
905
+ * * `physical` - Physical
906
+ */
907
+ type: 'virtual' | 'physical';
908
+ readonly rain_id: string | null;
909
+ readonly created: number;
910
+ readonly updated: number;
911
+ };
912
+ type UserCardData = {
913
+ encrypted_pan: EncryptedData;
914
+ encrypted_cvc: EncryptedData;
915
+ };
916
+ type UserCardDataResponse = {
917
+ status: string;
918
+ data: UserCardData;
919
+ };
920
+ type UserCardPin = {
921
+ encrypted_pin: EncryptedData;
922
+ };
923
+ type UserCardPinResponse = {
924
+ status: string;
925
+ data: UserCardPin;
926
+ };
927
+ /**
928
+ * A ModelSerializer that takes additional arguments for
929
+ * "fields", "omit" and "expand" in order to
930
+ * control which fields are displayed, and whether to replace simple
931
+ * values with complex, nested serializations
932
+ */
933
+ type UserCreateApplication = {
934
+ readonly id: string;
935
+ account?: string | null;
936
+ currency?: string | null;
937
+ occupation: string;
938
+ annual_salary: number;
939
+ account_purpose: string;
940
+ expected_monthly_volume: number;
941
+ terms_and_conditions?: boolean;
942
+ readonly first_name: string | null;
943
+ readonly last_name: string | null;
944
+ readonly birth_date: string | null;
945
+ readonly id_number: string | null;
946
+ /**
947
+ * * `AF` - Afghanistan
948
+ * * `AX` - Åland Islands
949
+ * * `AL` - Albania
950
+ * * `DZ` - Algeria
951
+ * * `AS` - American Samoa
952
+ * * `AD` - Andorra
953
+ * * `AO` - Angola
954
+ * * `AI` - Anguilla
955
+ * * `AQ` - Antarctica
956
+ * * `AG` - Antigua and Barbuda
957
+ * * `AR` - Argentina
958
+ * * `AM` - Armenia
959
+ * * `AW` - Aruba
960
+ * * `AU` - Australia
961
+ * * `AT` - Austria
962
+ * * `AZ` - Azerbaijan
963
+ * * `BS` - Bahamas
964
+ * * `BH` - Bahrain
965
+ * * `BD` - Bangladesh
966
+ * * `BB` - Barbados
967
+ * * `BY` - Belarus
968
+ * * `BE` - Belgium
969
+ * * `BZ` - Belize
970
+ * * `BJ` - Benin
971
+ * * `BM` - Bermuda
972
+ * * `BT` - Bhutan
973
+ * * `BO` - Bolivia
974
+ * * `BQ` - Bonaire, Sint Eustatius and Saba
975
+ * * `BA` - Bosnia and Herzegovina
976
+ * * `BW` - Botswana
977
+ * * `BV` - Bouvet Island
978
+ * * `BR` - Brazil
979
+ * * `IO` - British Indian Ocean Territory
980
+ * * `BN` - Brunei
981
+ * * `BG` - Bulgaria
982
+ * * `BF` - Burkina Faso
983
+ * * `BI` - Burundi
984
+ * * `CV` - Cabo Verde
985
+ * * `KH` - Cambodia
986
+ * * `CM` - Cameroon
987
+ * * `CA` - Canada
988
+ * * `KY` - Cayman Islands
989
+ * * `CF` - Central African Republic
990
+ * * `TD` - Chad
991
+ * * `CL` - Chile
992
+ * * `CN` - China
993
+ * * `CX` - Christmas Island
994
+ * * `CC` - Cocos (Keeling) Islands
995
+ * * `CO` - Colombia
996
+ * * `KM` - Comoros
997
+ * * `CG` - Congo
998
+ * * `CD` - Congo (the Democratic Republic of the)
999
+ * * `CK` - Cook Islands
1000
+ * * `CR` - Costa Rica
1001
+ * * `CI` - Côte d'Ivoire
1002
+ * * `HR` - Croatia
1003
+ * * `CU` - Cuba
1004
+ * * `CW` - Curaçao
1005
+ * * `CY` - Cyprus
1006
+ * * `CZ` - Czechia
1007
+ * * `DK` - Denmark
1008
+ * * `DJ` - Djibouti
1009
+ * * `DM` - Dominica
1010
+ * * `DO` - Dominican Republic
1011
+ * * `EC` - Ecuador
1012
+ * * `EG` - Egypt
1013
+ * * `SV` - El Salvador
1014
+ * * `GQ` - Equatorial Guinea
1015
+ * * `ER` - Eritrea
1016
+ * * `EE` - Estonia
1017
+ * * `SZ` - Eswatini
1018
+ * * `ET` - Ethiopia
1019
+ * * `FK` - Falkland Islands (Malvinas)
1020
+ * * `FO` - Faroe Islands
1021
+ * * `FJ` - Fiji
1022
+ * * `FI` - Finland
1023
+ * * `FR` - France
1024
+ * * `GF` - French Guiana
1025
+ * * `PF` - French Polynesia
1026
+ * * `TF` - French Southern Territories
1027
+ * * `GA` - Gabon
1028
+ * * `GM` - Gambia
1029
+ * * `GE` - Georgia
1030
+ * * `DE` - Germany
1031
+ * * `GH` - Ghana
1032
+ * * `GI` - Gibraltar
1033
+ * * `GR` - Greece
1034
+ * * `GL` - Greenland
1035
+ * * `GD` - Grenada
1036
+ * * `GP` - Guadeloupe
1037
+ * * `GU` - Guam
1038
+ * * `GT` - Guatemala
1039
+ * * `GG` - Guernsey
1040
+ * * `GN` - Guinea
1041
+ * * `GW` - Guinea-Bissau
1042
+ * * `GY` - Guyana
1043
+ * * `HT` - Haiti
1044
+ * * `HM` - Heard Island and McDonald Islands
1045
+ * * `VA` - Holy See
1046
+ * * `HN` - Honduras
1047
+ * * `HK` - Hong Kong
1048
+ * * `HU` - Hungary
1049
+ * * `IS` - Iceland
1050
+ * * `IN` - India
1051
+ * * `ID` - Indonesia
1052
+ * * `IR` - Iran
1053
+ * * `IQ` - Iraq
1054
+ * * `IE` - Ireland
1055
+ * * `IM` - Isle of Man
1056
+ * * `IL` - Israel
1057
+ * * `IT` - Italy
1058
+ * * `JM` - Jamaica
1059
+ * * `JP` - Japan
1060
+ * * `JE` - Jersey
1061
+ * * `JO` - Jordan
1062
+ * * `KZ` - Kazakhstan
1063
+ * * `KE` - Kenya
1064
+ * * `KI` - Kiribati
1065
+ * * `KW` - Kuwait
1066
+ * * `KG` - Kyrgyzstan
1067
+ * * `LA` - Laos
1068
+ * * `LV` - Latvia
1069
+ * * `LB` - Lebanon
1070
+ * * `LS` - Lesotho
1071
+ * * `LR` - Liberia
1072
+ * * `LY` - Libya
1073
+ * * `LI` - Liechtenstein
1074
+ * * `LT` - Lithuania
1075
+ * * `LU` - Luxembourg
1076
+ * * `MO` - Macao
1077
+ * * `MG` - Madagascar
1078
+ * * `MW` - Malawi
1079
+ * * `MY` - Malaysia
1080
+ * * `MV` - Maldives
1081
+ * * `ML` - Mali
1082
+ * * `MT` - Malta
1083
+ * * `MH` - Marshall Islands
1084
+ * * `MQ` - Martinique
1085
+ * * `MR` - Mauritania
1086
+ * * `MU` - Mauritius
1087
+ * * `YT` - Mayotte
1088
+ * * `MX` - Mexico
1089
+ * * `FM` - Micronesia
1090
+ * * `MD` - Moldova
1091
+ * * `MC` - Monaco
1092
+ * * `MN` - Mongolia
1093
+ * * `ME` - Montenegro
1094
+ * * `MS` - Montserrat
1095
+ * * `MA` - Morocco
1096
+ * * `MZ` - Mozambique
1097
+ * * `MM` - Myanmar
1098
+ * * `NA` - Namibia
1099
+ * * `NR` - Nauru
1100
+ * * `NP` - Nepal
1101
+ * * `NL` - Netherlands
1102
+ * * `NC` - New Caledonia
1103
+ * * `NZ` - New Zealand
1104
+ * * `NI` - Nicaragua
1105
+ * * `NE` - Niger
1106
+ * * `NG` - Nigeria
1107
+ * * `NU` - Niue
1108
+ * * `NF` - Norfolk Island
1109
+ * * `KP` - North Korea
1110
+ * * `MK` - North Macedonia
1111
+ * * `MP` - Northern Mariana Islands
1112
+ * * `NO` - Norway
1113
+ * * `OM` - Oman
1114
+ * * `PK` - Pakistan
1115
+ * * `PW` - Palau
1116
+ * * `PS` - Palestine, State of
1117
+ * * `PA` - Panama
1118
+ * * `PG` - Papua New Guinea
1119
+ * * `PY` - Paraguay
1120
+ * * `PE` - Peru
1121
+ * * `PH` - Philippines
1122
+ * * `PN` - Pitcairn
1123
+ * * `PL` - Poland
1124
+ * * `PT` - Portugal
1125
+ * * `PR` - Puerto Rico
1126
+ * * `QA` - Qatar
1127
+ * * `RE` - Réunion
1128
+ * * `RO` - Romania
1129
+ * * `RU` - Russia
1130
+ * * `RW` - Rwanda
1131
+ * * `BL` - Saint Barthélemy
1132
+ * * `SH` - Saint Helena, Ascension and Tristan da Cunha
1133
+ * * `KN` - Saint Kitts and Nevis
1134
+ * * `LC` - Saint Lucia
1135
+ * * `MF` - Saint Martin (French part)
1136
+ * * `PM` - Saint Pierre and Miquelon
1137
+ * * `VC` - Saint Vincent and the Grenadines
1138
+ * * `WS` - Samoa
1139
+ * * `SM` - San Marino
1140
+ * * `ST` - Sao Tome and Principe
1141
+ * * `SA` - Saudi Arabia
1142
+ * * `SN` - Senegal
1143
+ * * `RS` - Serbia
1144
+ * * `SC` - Seychelles
1145
+ * * `SL` - Sierra Leone
1146
+ * * `SG` - Singapore
1147
+ * * `SX` - Sint Maarten (Dutch part)
1148
+ * * `SK` - Slovakia
1149
+ * * `SI` - Slovenia
1150
+ * * `SB` - Solomon Islands
1151
+ * * `SO` - Somalia
1152
+ * * `ZA` - South Africa
1153
+ * * `GS` - South Georgia and the South Sandwich Islands
1154
+ * * `KR` - South Korea
1155
+ * * `SS` - South Sudan
1156
+ * * `ES` - Spain
1157
+ * * `LK` - Sri Lanka
1158
+ * * `SD` - Sudan
1159
+ * * `SR` - Suriname
1160
+ * * `SJ` - Svalbard and Jan Mayen
1161
+ * * `SE` - Sweden
1162
+ * * `CH` - Switzerland
1163
+ * * `SY` - Syria
1164
+ * * `TW` - Taiwan
1165
+ * * `TJ` - Tajikistan
1166
+ * * `TZ` - Tanzania
1167
+ * * `TH` - Thailand
1168
+ * * `TL` - Timor-Leste
1169
+ * * `TG` - Togo
1170
+ * * `TK` - Tokelau
1171
+ * * `TO` - Tonga
1172
+ * * `TT` - Trinidad and Tobago
1173
+ * * `TN` - Tunisia
1174
+ * * `TR` - Türkiye
1175
+ * * `TM` - Turkmenistan
1176
+ * * `TC` - Turks and Caicos Islands
1177
+ * * `TV` - Tuvalu
1178
+ * * `UG` - Uganda
1179
+ * * `UA` - Ukraine
1180
+ * * `AE` - United Arab Emirates
1181
+ * * `GB` - United Kingdom
1182
+ * * `UM` - United States Minor Outlying Islands
1183
+ * * `US` - United States of America
1184
+ * * `UY` - Uruguay
1185
+ * * `UZ` - Uzbekistan
1186
+ * * `VU` - Vanuatu
1187
+ * * `VE` - Venezuela
1188
+ * * `VN` - Vietnam
1189
+ * * `VG` - Virgin Islands (British)
1190
+ * * `VI` - Virgin Islands (U.S.)
1191
+ * * `WF` - Wallis and Futuna
1192
+ * * `EH` - Western Sahara
1193
+ * * `YE` - Yemen
1194
+ * * `ZM` - Zambia
1195
+ * * `ZW` - Zimbabwe
1196
+ */
1197
+ 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;
1198
+ readonly email: string | null;
1199
+ readonly address: {
1200
+ [key: string]: unknown;
1201
+ } | null;
1202
+ /**
1203
+ * * `pending` - Pending
1204
+ * * `needsInformation` - Needs Information
1205
+ * * `needsVerification` - Needs Verification
1206
+ * * `manualReview` - Manual Review
1207
+ * * `denied` - Denied
1208
+ * * `locked` - Locked
1209
+ * * `canceled` - Canceled
1210
+ * * `approved` - Approved
1211
+ */
1212
+ status: 'pending' | 'needsInformation' | 'needsVerification' | 'manualReview' | 'denied' | 'locked' | 'canceled' | 'approved' | null;
1213
+ readonly completion_link: string | null;
1214
+ readonly verification_link: string | null;
1215
+ readonly errors: Array<string> | null;
1216
+ readonly error_message: string | null;
1217
+ readonly created: number;
1218
+ readonly updated: number;
1219
+ };
1220
+ /**
1221
+ * A ModelSerializer that takes additional arguments for
1222
+ * "fields", "omit" and "expand" in order to
1223
+ * control which fields are displayed, and whether to replace simple
1224
+ * values with complex, nested serializations
1225
+ */
1226
+ type UserCreateCard = {
1227
+ readonly id: string;
1228
+ account: string;
1229
+ currency: string;
1230
+ /**
1231
+ * * `virtual` - Virtual
1232
+ * * `physical` - Physical
1233
+ */
1234
+ type: 'virtual' | 'physical';
1235
+ readonly rain_id: string | null;
1236
+ readonly created: number;
1237
+ readonly updated: number;
1238
+ };
1239
+ /**
1240
+ * A ModelSerializer that takes additional arguments for
1241
+ * "fields", "omit" and "expand" in order to
1242
+ * control which fields are displayed, and whether to replace simple
1243
+ * values with complex, nested serializations
1244
+ */
1245
+ type UserExtendedCard = {
1246
+ readonly id: string;
1247
+ readonly account: string;
1248
+ currency: Currency;
1249
+ /**
1250
+ * * `virtual` - Virtual
1251
+ * * `physical` - Physical
1252
+ */
1253
+ type: 'virtual' | 'physical';
1254
+ readonly rain_id: string | null;
1255
+ /**
1256
+ * * `notActivated` - Not Activated
1257
+ * * `active` - Active
1258
+ * * `locked` - Locked
1259
+ * * `canceled` - Canceled
1260
+ */
1261
+ status: 'notActivated' | 'active' | 'locked' | 'canceled';
1262
+ readonly last_4: string;
1263
+ readonly expiration_month: string;
1264
+ readonly expiration_year: string;
1265
+ readonly created: number;
1266
+ readonly updated: number;
1267
+ };
1268
+ type UserExtendedCardResponse = {
1269
+ status: string;
1270
+ data: UserExtendedCard;
1271
+ };
1272
+ type UserResponse = {
1273
+ status: string;
1274
+ data: User;
1275
+ };
1276
+ type UserUpdateCardPin = {
1277
+ [key: string]: unknown;
1278
+ };
1279
+ type Webhook = {
1280
+ id: string;
1281
+ /**
1282
+ * * `currency.create` - Currency Create
1283
+ * * `currency.update` - Currency Update
1284
+ * * `transaction.execute` - Transaction Execute
1285
+ */
1286
+ event: 'currency.create' | 'currency.update' | 'transaction.execute';
1287
+ company: string;
1288
+ data: {
1289
+ [key: string]: unknown;
1290
+ };
1291
+ };
1292
+ /**
1293
+ * A ModelSerializer that takes additional arguments for
1294
+ * "fields", "omit" and "expand" in order to
1295
+ * control which fields are displayed, and whether to replace simple
1296
+ * values with complex, nested serializations
1297
+ */
1298
+ type AdminCardWritable = {
1299
+ [key: string]: unknown;
1300
+ };
1301
+ /**
1302
+ * A ModelSerializer that takes additional arguments for
1303
+ * "fields", "omit" and "expand" in order to
1304
+ * control which fields are displayed, and whether to replace simple
1305
+ * values with complex, nested serializations
1306
+ */
1307
+ type AdminCompanyWritable = {
1308
+ rain_api_key: string;
1309
+ };
1310
+ type AdminCompanyResponseWritable = {
1311
+ status: string;
1312
+ data: AdminCompanyWritable;
1313
+ };
1314
+ /**
1315
+ * A ModelSerializer that takes additional arguments for
1316
+ * "fields", "omit" and "expand" in order to
1317
+ * control which fields are displayed, and whether to replace simple
1318
+ * values with complex, nested serializations
1319
+ */
1320
+ type AdminCurrencyWritable = {
1321
+ /**
1322
+ * * `usd` - Usd
1323
+ */
1324
+ rain_code?: 'usd';
1325
+ /**
1326
+ * * `solana` - Solana
1327
+ */
1328
+ rain_chain?: 'solana';
1329
+ };
1330
+ type AdminCurrencyResponseWritable = {
1331
+ status: string;
1332
+ data: AdminCurrencyWritable;
1333
+ };
1334
+ /**
1335
+ * A ModelSerializer that takes additional arguments for
1336
+ * "fields", "omit" and "expand" in order to
1337
+ * control which fields are displayed, and whether to replace simple
1338
+ * values with complex, nested serializations
1339
+ */
1340
+ type AdminExtendedCardWritable = {
1341
+ [key: string]: unknown;
1342
+ };
1343
+ type AdminExtendedCardResponseWritable = {
1344
+ status: string;
1345
+ data: AdminExtendedCardWritable;
1346
+ };
1347
+ /**
1348
+ * A ModelSerializer that takes additional arguments for
1349
+ * "fields", "omit" and "expand" in order to
1350
+ * control which fields are displayed, and whether to replace simple
1351
+ * values with complex, nested serializations
1352
+ */
1353
+ type AdminUpdateCompanyWritable = {
1354
+ operational_account?: string | null;
1355
+ rain_api_key?: string;
1356
+ };
1357
+ type PaginatedAdminCardListWritable = {
1358
+ count?: number;
1359
+ next?: string | null;
1360
+ previous?: string | null;
1361
+ results?: Array<AdminCardWritable>;
1362
+ };
1363
+ type PaginatedAdminCardListResponseWritable = {
1364
+ status: string;
1365
+ data: PaginatedAdminCardListWritable;
1366
+ };
1367
+ type PaginatedAdminCurrencyListWritable = {
1368
+ count?: number;
1369
+ next?: string | null;
1370
+ previous?: string | null;
1371
+ results?: Array<AdminCurrencyWritable>;
1372
+ };
1373
+ type PaginatedAdminCurrencyListResponseWritable = {
1374
+ status: string;
1375
+ data: PaginatedAdminCurrencyListWritable;
1376
+ };
1377
+ type PaginatedUserApplicationListWritable = {
1378
+ count?: number;
1379
+ next?: string | null;
1380
+ previous?: string | null;
1381
+ results?: Array<UserApplicationWritable>;
1382
+ };
1383
+ type PaginatedUserApplicationListResponseWritable = {
1384
+ status: string;
1385
+ data: PaginatedUserApplicationListWritable;
1386
+ };
1387
+ type PaginatedUserCardListWritable = {
1388
+ count?: number;
1389
+ next?: string | null;
1390
+ previous?: string | null;
1391
+ results?: Array<UserCardWritable>;
1392
+ };
1393
+ type PaginatedUserCardListResponseWritable = {
1394
+ status: string;
1395
+ data: PaginatedUserCardListWritable;
1396
+ };
1397
+ /**
1398
+ * A ModelSerializer that takes additional arguments for
1399
+ * "fields", "omit" and "expand" in order to
1400
+ * control which fields are displayed, and whether to replace simple
1401
+ * values with complex, nested serializations
1402
+ */
1403
+ type PatchedAdminCurrencyWritable = {
1404
+ /**
1405
+ * * `usd` - Usd
1406
+ */
1407
+ rain_code?: 'usd';
1408
+ /**
1409
+ * * `solana` - Solana
1410
+ */
1411
+ rain_chain?: 'solana';
1412
+ };
1413
+ /**
1414
+ * A ModelSerializer that takes additional arguments for
1415
+ * "fields", "omit" and "expand" in order to
1416
+ * control which fields are displayed, and whether to replace simple
1417
+ * values with complex, nested serializations
1418
+ */
1419
+ type PatchedAdminUpdateCompanyWritable = {
1420
+ operational_account?: string | null;
1421
+ rain_api_key?: string;
1422
+ };
1423
+ /**
1424
+ * A ModelSerializer that takes additional arguments for
1425
+ * "fields", "omit" and "expand" in order to
1426
+ * control which fields are displayed, and whether to replace simple
1427
+ * values with complex, nested serializations
1428
+ */
1429
+ type PatchedUserWritable = {
1430
+ terms_accepted?: boolean;
1431
+ };
1432
+ type PatchedUserUpdateCardPinWritable = {
1433
+ encrypted_pin?: EncryptedData;
1434
+ };
1435
+ /**
1436
+ * A ModelSerializer that takes additional arguments for
1437
+ * "fields", "omit" and "expand" in order to
1438
+ * control which fields are displayed, and whether to replace simple
1439
+ * values with complex, nested serializations
1440
+ */
1441
+ type UserWritable = {
1442
+ terms_accepted?: boolean;
1443
+ };
1444
+ /**
1445
+ * A ModelSerializer that takes additional arguments for
1446
+ * "fields", "omit" and "expand" in order to
1447
+ * control which fields are displayed, and whether to replace simple
1448
+ * values with complex, nested serializations
1449
+ */
1450
+ type UserApplicationWritable = {
1451
+ [key: string]: unknown;
1452
+ };
1453
+ type UserApplicationResponseWritable = {
1454
+ status: string;
1455
+ data: UserApplicationWritable;
1456
+ };
1457
+ /**
1458
+ * A ModelSerializer that takes additional arguments for
1459
+ * "fields", "omit" and "expand" in order to
1460
+ * control which fields are displayed, and whether to replace simple
1461
+ * values with complex, nested serializations
1462
+ */
1463
+ type UserCardWritable = {
1464
+ [key: string]: unknown;
1465
+ };
1466
+ /**
1467
+ * A ModelSerializer that takes additional arguments for
1468
+ * "fields", "omit" and "expand" in order to
1469
+ * control which fields are displayed, and whether to replace simple
1470
+ * values with complex, nested serializations
1471
+ */
1472
+ type UserCreateCardWritable = {
1473
+ account: string;
1474
+ currency: string;
1475
+ };
1476
+ /**
1477
+ * A ModelSerializer that takes additional arguments for
1478
+ * "fields", "omit" and "expand" in order to
1479
+ * control which fields are displayed, and whether to replace simple
1480
+ * values with complex, nested serializations
1481
+ */
1482
+ type UserExtendedCardWritable = {
1483
+ [key: string]: unknown;
1484
+ };
1485
+ type UserExtendedCardResponseWritable = {
1486
+ status: string;
1487
+ data: UserExtendedCardWritable;
1488
+ };
1489
+ type UserResponseWritable = {
1490
+ status: string;
1491
+ data: UserWritable;
1492
+ };
1493
+ type UserUpdateCardPinWritable = {
1494
+ encrypted_pin: EncryptedData;
1495
+ };
1496
+ type ActivateCreateData = {
1497
+ body: Activate;
1498
+ path?: never;
1499
+ query?: never;
1500
+ url: '/activate/';
1501
+ };
1502
+ type ActivateCreateResponses = {
1503
+ 200: ActionResponse;
1504
+ };
1505
+ type ActivateCreateResponse = ActivateCreateResponses[keyof ActivateCreateResponses];
1506
+ type AdminCardsListData = {
1507
+ body?: never;
1508
+ path?: never;
1509
+ query?: {
1510
+ account?: string;
1511
+ currency?: string;
1512
+ /**
1513
+ * A page number within the paginated result set.
1514
+ */
1515
+ page?: number;
1516
+ /**
1517
+ * Number of results to return per page.
1518
+ */
1519
+ page_size?: number;
1520
+ rain_id?: string;
1521
+ user?: string;
1522
+ };
1523
+ url: '/admin/cards/';
1524
+ };
1525
+ type AdminCardsListResponses = {
1526
+ 200: PaginatedAdminCardListResponse;
1527
+ };
1528
+ type AdminCardsListResponse = AdminCardsListResponses[keyof AdminCardsListResponses];
1529
+ type AdminCardsRetrieveData = {
1530
+ body?: never;
1531
+ path: {
1532
+ identifier: string;
1533
+ };
1534
+ query?: never;
1535
+ url: '/admin/cards/{identifier}/';
1536
+ };
1537
+ type AdminCardsRetrieveResponses = {
1538
+ 200: AdminExtendedCardResponse;
1539
+ };
1540
+ type AdminCardsRetrieveResponse = AdminCardsRetrieveResponses[keyof AdminCardsRetrieveResponses];
1541
+ type AdminCompanyRetrieveData = {
1542
+ body?: never;
1543
+ path?: never;
1544
+ query?: never;
1545
+ url: '/admin/company/';
1546
+ };
1547
+ type AdminCompanyRetrieveResponses = {
1548
+ 200: AdminCompanyResponse;
1549
+ };
1550
+ type AdminCompanyRetrieveResponse = AdminCompanyRetrieveResponses[keyof AdminCompanyRetrieveResponses];
1551
+ type AdminCompanyPartialUpdateData = {
1552
+ body?: PatchedAdminUpdateCompanyWritable;
1553
+ path?: never;
1554
+ query?: never;
1555
+ url: '/admin/company/';
1556
+ };
1557
+ type AdminCompanyPartialUpdateResponses = {
1558
+ 200: AdminCompanyResponse;
1559
+ };
1560
+ type AdminCompanyPartialUpdateResponse = AdminCompanyPartialUpdateResponses[keyof AdminCompanyPartialUpdateResponses];
1561
+ type AdminCompanyUpdateData = {
1562
+ body?: AdminUpdateCompanyWritable;
1563
+ path?: never;
1564
+ query?: never;
1565
+ url: '/admin/company/';
1566
+ };
1567
+ type AdminCompanyUpdateResponses = {
1568
+ 200: AdminCompanyResponse;
1569
+ };
1570
+ type AdminCompanyUpdateResponse = AdminCompanyUpdateResponses[keyof AdminCompanyUpdateResponses];
1571
+ type AdminCurrenciesListData = {
1572
+ body?: never;
1573
+ path?: never;
1574
+ query?: {
1575
+ /**
1576
+ * A page number within the paginated result set.
1577
+ */
1578
+ page?: number;
1579
+ /**
1580
+ * Number of results to return per page.
1581
+ */
1582
+ page_size?: number;
1583
+ };
1584
+ url: '/admin/currencies/';
1585
+ };
1586
+ type AdminCurrenciesListResponses = {
1587
+ 200: PaginatedAdminCurrencyListResponse;
1588
+ };
1589
+ type AdminCurrenciesListResponse = AdminCurrenciesListResponses[keyof AdminCurrenciesListResponses];
1590
+ type AdminCurrenciesRetrieveData = {
1591
+ body?: never;
1592
+ path: {
1593
+ code: string;
1594
+ };
1595
+ query?: never;
1596
+ url: '/admin/currencies/{code}/';
1597
+ };
1598
+ type AdminCurrenciesRetrieveResponses = {
1599
+ 200: AdminCurrencyResponse;
1600
+ };
1601
+ type AdminCurrenciesRetrieveResponse = AdminCurrenciesRetrieveResponses[keyof AdminCurrenciesRetrieveResponses];
1602
+ type AdminCurrenciesPartialUpdateData = {
1603
+ body?: PatchedAdminCurrencyWritable;
1604
+ path: {
1605
+ code: string;
1606
+ };
1607
+ query?: never;
1608
+ url: '/admin/currencies/{code}/';
1609
+ };
1610
+ type AdminCurrenciesPartialUpdateResponses = {
1611
+ 200: AdminCurrencyResponse;
1612
+ };
1613
+ type AdminCurrenciesPartialUpdateResponse = AdminCurrenciesPartialUpdateResponses[keyof AdminCurrenciesPartialUpdateResponses];
1614
+ type AdminCurrenciesUpdateData = {
1615
+ body?: AdminCurrencyWritable;
1616
+ path: {
1617
+ code: string;
1618
+ };
1619
+ query?: never;
1620
+ url: '/admin/currencies/{code}/';
1621
+ };
1622
+ type AdminCurrenciesUpdateResponses = {
1623
+ 200: AdminCurrencyResponse;
1624
+ };
1625
+ type AdminCurrenciesUpdateResponse = AdminCurrenciesUpdateResponses[keyof AdminCurrenciesUpdateResponses];
1626
+ type DeactivateCreateData = {
1627
+ body: Deactivate;
1628
+ path?: never;
1629
+ query?: never;
1630
+ url: '/deactivate/';
1631
+ };
1632
+ type DeactivateCreateResponses = {
1633
+ 200: ActionResponse;
1634
+ };
1635
+ type DeactivateCreateResponse = DeactivateCreateResponses[keyof DeactivateCreateResponses];
1636
+ type RainWebhookCreateData = {
1637
+ body: RainWebhook;
1638
+ path: {
1639
+ company_id: string;
1640
+ };
1641
+ query?: never;
1642
+ url: '/rain/webhook/{company_id}/';
1643
+ };
1644
+ type RainWebhookCreateResponses = {
1645
+ 200: ActionResponse;
1646
+ };
1647
+ type RainWebhookCreateResponse = RainWebhookCreateResponses[keyof RainWebhookCreateResponses];
1648
+ type UserRetrieveData = {
1649
+ body?: never;
1650
+ path?: never;
1651
+ query?: never;
1652
+ url: '/user/';
1653
+ };
1654
+ type UserRetrieveResponses = {
1655
+ 200: UserResponse;
1656
+ };
1657
+ type UserRetrieveResponse = UserRetrieveResponses[keyof UserRetrieveResponses];
1658
+ type UserPartialUpdateData = {
1659
+ body?: PatchedUserWritable;
1660
+ path?: never;
1661
+ query?: never;
1662
+ url: '/user/';
1663
+ };
1664
+ type UserPartialUpdateResponses = {
1665
+ 200: UserResponse;
1666
+ };
1667
+ type UserPartialUpdateResponse = UserPartialUpdateResponses[keyof UserPartialUpdateResponses];
1668
+ type UserUpdateData = {
1669
+ body?: UserWritable;
1670
+ path?: never;
1671
+ query?: never;
1672
+ url: '/user/';
1673
+ };
1674
+ type UserUpdateResponses = {
1675
+ 200: UserResponse;
1676
+ };
1677
+ type UserUpdateResponse = UserUpdateResponses[keyof UserUpdateResponses];
1678
+ type UserApplicationsListData = {
1679
+ body?: never;
1680
+ path?: never;
1681
+ query?: {
1682
+ /**
1683
+ * A page number within the paginated result set.
1684
+ */
1685
+ page?: number;
1686
+ /**
1687
+ * Number of results to return per page.
1688
+ */
1689
+ page_size?: number;
1690
+ };
1691
+ url: '/user/applications/';
1692
+ };
1693
+ type UserApplicationsListResponses = {
1694
+ 200: PaginatedUserApplicationListResponse;
1695
+ };
1696
+ type UserApplicationsListResponse = UserApplicationsListResponses[keyof UserApplicationsListResponses];
1697
+ type UserApplicationsCreateData = {
1698
+ body: UserCreateApplication;
1699
+ path?: never;
1700
+ query?: never;
1701
+ url: '/user/applications/';
1702
+ };
1703
+ type UserApplicationsCreateResponses = {
1704
+ 201: UserApplicationResponse;
1705
+ };
1706
+ type UserApplicationsCreateResponse = UserApplicationsCreateResponses[keyof UserApplicationsCreateResponses];
1707
+ type UserApplicationsRetrieveData = {
1708
+ body?: never;
1709
+ path: {
1710
+ identifier: string;
1711
+ };
1712
+ query?: never;
1713
+ url: '/user/applications/{identifier}/';
1714
+ };
1715
+ type UserApplicationsRetrieveResponses = {
1716
+ 200: UserApplicationResponse;
1717
+ };
1718
+ type UserApplicationsRetrieveResponse = UserApplicationsRetrieveResponses[keyof UserApplicationsRetrieveResponses];
1719
+ type UserCardsListData = {
1720
+ body?: never;
1721
+ path?: never;
1722
+ query?: {
1723
+ account?: string;
1724
+ currency?: string;
1725
+ /**
1726
+ * A page number within the paginated result set.
1727
+ */
1728
+ page?: number;
1729
+ /**
1730
+ * Number of results to return per page.
1731
+ */
1732
+ page_size?: number;
1733
+ rain_id?: string;
1734
+ };
1735
+ url: '/user/cards/';
1736
+ };
1737
+ type UserCardsListResponses = {
1738
+ 200: PaginatedUserCardListResponse;
1739
+ };
1740
+ type UserCardsListResponse = UserCardsListResponses[keyof UserCardsListResponses];
1741
+ type UserCardsCreateData = {
1742
+ body: UserCreateCardWritable;
1743
+ path?: never;
1744
+ query?: never;
1745
+ url: '/user/cards/';
1746
+ };
1747
+ type UserCardsCreateResponses = {
1748
+ 201: UserExtendedCardResponse;
1749
+ };
1750
+ type UserCardsCreateResponse = UserCardsCreateResponses[keyof UserCardsCreateResponses];
1751
+ type UserCardsRetrieveData = {
1752
+ body?: never;
1753
+ path: {
1754
+ identifier: string;
1755
+ };
1756
+ query?: never;
1757
+ url: '/user/cards/{identifier}/';
1758
+ };
1759
+ type UserCardsRetrieveResponses = {
1760
+ 200: UserExtendedCardResponse;
1761
+ };
1762
+ type UserCardsRetrieveResponse = UserCardsRetrieveResponses[keyof UserCardsRetrieveResponses];
1763
+ type UserCardsDataRetrieveData = {
1764
+ body?: never;
1765
+ path: {
1766
+ identifier: string;
1767
+ };
1768
+ query?: never;
1769
+ url: '/user/cards/{identifier}/data/';
1770
+ };
1771
+ type UserCardsDataRetrieveResponses = {
1772
+ 200: UserCardDataResponse;
1773
+ };
1774
+ type UserCardsDataRetrieveResponse = UserCardsDataRetrieveResponses[keyof UserCardsDataRetrieveResponses];
1775
+ type UserCardsPinRetrieveData = {
1776
+ body?: never;
1777
+ path: {
1778
+ identifier: string;
1779
+ };
1780
+ query?: never;
1781
+ url: '/user/cards/{identifier}/pin/';
1782
+ };
1783
+ type UserCardsPinRetrieveResponses = {
1784
+ 200: UserCardPinResponse;
1785
+ };
1786
+ type UserCardsPinRetrieveResponse = UserCardsPinRetrieveResponses[keyof UserCardsPinRetrieveResponses];
1787
+ type UserCardsPinPartialUpdateData = {
1788
+ body?: PatchedUserUpdateCardPinWritable;
1789
+ path: {
1790
+ identifier: string;
1791
+ };
1792
+ query?: never;
1793
+ url: '/user/cards/{identifier}/pin/';
1794
+ };
1795
+ type UserCardsPinPartialUpdateResponses = {
1796
+ 200: ActionResponse;
1797
+ };
1798
+ type UserCardsPinPartialUpdateResponse = UserCardsPinPartialUpdateResponses[keyof UserCardsPinPartialUpdateResponses];
1799
+ type UserCardsPinUpdateData = {
1800
+ body: UserUpdateCardPinWritable;
1801
+ path: {
1802
+ identifier: string;
1803
+ };
1804
+ query?: never;
1805
+ url: '/user/cards/{identifier}/pin/';
1806
+ };
1807
+ type UserCardsPinUpdateResponses = {
1808
+ 200: ActionResponse;
1809
+ };
1810
+ type UserCardsPinUpdateResponse = UserCardsPinUpdateResponses[keyof UserCardsPinUpdateResponses];
1811
+ type WebhookCreateData = {
1812
+ body: Webhook;
1813
+ path?: never;
1814
+ query?: never;
1815
+ url: '/webhook/';
1816
+ };
1817
+ type WebhookCreateResponses = {
1818
+ 200: ActionResponse;
1819
+ };
1820
+ type WebhookCreateResponse = WebhookCreateResponses[keyof WebhookCreateResponses];
1821
+
1822
+ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
1823
+ /**
1824
+ * You can provide a client instance returned by `createClient()` instead of
1825
+ * individual options. This might be also useful if you want to implement a
1826
+ * custom client.
1827
+ */
1828
+ client?: Client;
1829
+ /**
1830
+ * You can pass arbitrary values through the `meta` object. This can be
1831
+ * used to access values that aren't defined as part of the SDK function.
1832
+ */
1833
+ meta?: Record<string, unknown>;
1834
+ };
1835
+ declare const activateCreate: <ThrowOnError extends boolean = false>(options: Options<ActivateCreateData, ThrowOnError>) => RequestResult<ActivateCreateResponses, unknown, ThrowOnError, "data">;
1836
+ declare const adminCardsList: <ThrowOnError extends boolean = false>(options?: Options<AdminCardsListData, ThrowOnError>) => RequestResult<AdminCardsListResponses, unknown, ThrowOnError, "data">;
1837
+ declare const adminCardsRetrieve: <ThrowOnError extends boolean = false>(options: Options<AdminCardsRetrieveData, ThrowOnError>) => RequestResult<AdminCardsRetrieveResponses, unknown, ThrowOnError, "data">;
1838
+ declare const adminCompanyRetrieve: <ThrowOnError extends boolean = false>(options?: Options<AdminCompanyRetrieveData, ThrowOnError>) => RequestResult<AdminCompanyRetrieveResponses, unknown, ThrowOnError, "data">;
1839
+ declare const adminCompanyPartialUpdate: <ThrowOnError extends boolean = false>(options?: Options<AdminCompanyPartialUpdateData, ThrowOnError>) => RequestResult<AdminCompanyPartialUpdateResponses, unknown, ThrowOnError, "data">;
1840
+ declare const adminCompanyUpdate: <ThrowOnError extends boolean = false>(options?: Options<AdminCompanyUpdateData, ThrowOnError>) => RequestResult<AdminCompanyUpdateResponses, unknown, ThrowOnError, "data">;
1841
+ declare const adminCurrenciesList: <ThrowOnError extends boolean = false>(options?: Options<AdminCurrenciesListData, ThrowOnError>) => RequestResult<AdminCurrenciesListResponses, unknown, ThrowOnError, "data">;
1842
+ declare const adminCurrenciesRetrieve: <ThrowOnError extends boolean = false>(options: Options<AdminCurrenciesRetrieveData, ThrowOnError>) => RequestResult<AdminCurrenciesRetrieveResponses, unknown, ThrowOnError, "data">;
1843
+ declare const adminCurrenciesPartialUpdate: <ThrowOnError extends boolean = false>(options: Options<AdminCurrenciesPartialUpdateData, ThrowOnError>) => RequestResult<AdminCurrenciesPartialUpdateResponses, unknown, ThrowOnError, "data">;
1844
+ declare const adminCurrenciesUpdate: <ThrowOnError extends boolean = false>(options: Options<AdminCurrenciesUpdateData, ThrowOnError>) => RequestResult<AdminCurrenciesUpdateResponses, unknown, ThrowOnError, "data">;
1845
+ declare const deactivateCreate: <ThrowOnError extends boolean = false>(options: Options<DeactivateCreateData, ThrowOnError>) => RequestResult<DeactivateCreateResponses, unknown, ThrowOnError, "data">;
1846
+ declare const rainWebhookCreate: <ThrowOnError extends boolean = false>(options: Options<RainWebhookCreateData, ThrowOnError>) => RequestResult<RainWebhookCreateResponses, unknown, ThrowOnError, "data">;
1847
+ declare const userRetrieve: <ThrowOnError extends boolean = false>(options?: Options<UserRetrieveData, ThrowOnError>) => RequestResult<UserRetrieveResponses, unknown, ThrowOnError, "data">;
1848
+ declare const userPartialUpdate: <ThrowOnError extends boolean = false>(options?: Options<UserPartialUpdateData, ThrowOnError>) => RequestResult<UserPartialUpdateResponses, unknown, ThrowOnError, "data">;
1849
+ declare const userUpdate: <ThrowOnError extends boolean = false>(options?: Options<UserUpdateData, ThrowOnError>) => RequestResult<UserUpdateResponses, unknown, ThrowOnError, "data">;
1850
+ declare const userApplicationsList: <ThrowOnError extends boolean = false>(options?: Options<UserApplicationsListData, ThrowOnError>) => RequestResult<UserApplicationsListResponses, unknown, ThrowOnError, "data">;
1851
+ declare const userApplicationsCreate: <ThrowOnError extends boolean = false>(options: Options<UserApplicationsCreateData, ThrowOnError>) => RequestResult<UserApplicationsCreateResponses, unknown, ThrowOnError, "data">;
1852
+ declare const userApplicationsRetrieve: <ThrowOnError extends boolean = false>(options: Options<UserApplicationsRetrieveData, ThrowOnError>) => RequestResult<UserApplicationsRetrieveResponses, unknown, ThrowOnError, "data">;
1853
+ declare const userCardsList: <ThrowOnError extends boolean = false>(options?: Options<UserCardsListData, ThrowOnError>) => RequestResult<UserCardsListResponses, unknown, ThrowOnError, "data">;
1854
+ declare const userCardsCreate: <ThrowOnError extends boolean = false>(options: Options<UserCardsCreateData, ThrowOnError>) => RequestResult<UserCardsCreateResponses, unknown, ThrowOnError, "data">;
1855
+ declare const userCardsRetrieve: <ThrowOnError extends boolean = false>(options: Options<UserCardsRetrieveData, ThrowOnError>) => RequestResult<UserCardsRetrieveResponses, unknown, ThrowOnError, "data">;
1856
+ declare const userCardsDataRetrieve: <ThrowOnError extends boolean = false>(options: Options<UserCardsDataRetrieveData, ThrowOnError>) => RequestResult<UserCardsDataRetrieveResponses, unknown, ThrowOnError, "data">;
1857
+ declare const userCardsPinRetrieve: <ThrowOnError extends boolean = false>(options: Options<UserCardsPinRetrieveData, ThrowOnError>) => RequestResult<UserCardsPinRetrieveResponses, unknown, ThrowOnError, "data">;
1858
+ declare const userCardsPinPartialUpdate: <ThrowOnError extends boolean = false>(options: Options<UserCardsPinPartialUpdateData, ThrowOnError>) => RequestResult<UserCardsPinPartialUpdateResponses, unknown, ThrowOnError, "data">;
1859
+ declare const userCardsPinUpdate: <ThrowOnError extends boolean = false>(options: Options<UserCardsPinUpdateData, ThrowOnError>) => RequestResult<UserCardsPinUpdateResponses, unknown, ThrowOnError, "data">;
1860
+ declare const webhookCreate: <ThrowOnError extends boolean = false>(options: Options<WebhookCreateData, ThrowOnError>) => RequestResult<WebhookCreateResponses, unknown, ThrowOnError, "data">;
1861
+
1862
+ type sdk_Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options<TData, ThrowOnError>;
1863
+ declare const sdk_activateCreate: typeof activateCreate;
1864
+ declare const sdk_adminCardsList: typeof adminCardsList;
1865
+ declare const sdk_adminCardsRetrieve: typeof adminCardsRetrieve;
1866
+ declare const sdk_adminCompanyPartialUpdate: typeof adminCompanyPartialUpdate;
1867
+ declare const sdk_adminCompanyRetrieve: typeof adminCompanyRetrieve;
1868
+ declare const sdk_adminCompanyUpdate: typeof adminCompanyUpdate;
1869
+ declare const sdk_adminCurrenciesList: typeof adminCurrenciesList;
1870
+ declare const sdk_adminCurrenciesPartialUpdate: typeof adminCurrenciesPartialUpdate;
1871
+ declare const sdk_adminCurrenciesRetrieve: typeof adminCurrenciesRetrieve;
1872
+ declare const sdk_adminCurrenciesUpdate: typeof adminCurrenciesUpdate;
1873
+ declare const sdk_deactivateCreate: typeof deactivateCreate;
1874
+ declare const sdk_rainWebhookCreate: typeof rainWebhookCreate;
1875
+ declare const sdk_userApplicationsCreate: typeof userApplicationsCreate;
1876
+ declare const sdk_userApplicationsList: typeof userApplicationsList;
1877
+ declare const sdk_userApplicationsRetrieve: typeof userApplicationsRetrieve;
1878
+ declare const sdk_userCardsCreate: typeof userCardsCreate;
1879
+ declare const sdk_userCardsDataRetrieve: typeof userCardsDataRetrieve;
1880
+ declare const sdk_userCardsList: typeof userCardsList;
1881
+ declare const sdk_userCardsPinPartialUpdate: typeof userCardsPinPartialUpdate;
1882
+ declare const sdk_userCardsPinRetrieve: typeof userCardsPinRetrieve;
1883
+ declare const sdk_userCardsPinUpdate: typeof userCardsPinUpdate;
1884
+ declare const sdk_userCardsRetrieve: typeof userCardsRetrieve;
1885
+ declare const sdk_userPartialUpdate: typeof userPartialUpdate;
1886
+ declare const sdk_userRetrieve: typeof userRetrieve;
1887
+ declare const sdk_userUpdate: typeof userUpdate;
1888
+ declare const sdk_webhookCreate: typeof webhookCreate;
1889
+ declare namespace sdk {
1890
+ export { type sdk_Options as Options, sdk_activateCreate as activateCreate, sdk_adminCardsList as adminCardsList, sdk_adminCardsRetrieve as adminCardsRetrieve, sdk_adminCompanyPartialUpdate as adminCompanyPartialUpdate, sdk_adminCompanyRetrieve as adminCompanyRetrieve, sdk_adminCompanyUpdate as adminCompanyUpdate, sdk_adminCurrenciesList as adminCurrenciesList, sdk_adminCurrenciesPartialUpdate as adminCurrenciesPartialUpdate, sdk_adminCurrenciesRetrieve as adminCurrenciesRetrieve, sdk_adminCurrenciesUpdate as adminCurrenciesUpdate, sdk_deactivateCreate as deactivateCreate, sdk_rainWebhookCreate as rainWebhookCreate, sdk_userApplicationsCreate as userApplicationsCreate, sdk_userApplicationsList as userApplicationsList, sdk_userApplicationsRetrieve as userApplicationsRetrieve, sdk_userCardsCreate as userCardsCreate, sdk_userCardsDataRetrieve as userCardsDataRetrieve, sdk_userCardsList as userCardsList, sdk_userCardsPinPartialUpdate as userCardsPinPartialUpdate, sdk_userCardsPinRetrieve as userCardsPinRetrieve, sdk_userCardsPinUpdate as userCardsPinUpdate, sdk_userCardsRetrieve as userCardsRetrieve, sdk_userPartialUpdate as userPartialUpdate, sdk_userRetrieve as userRetrieve, sdk_userUpdate as userUpdate, sdk_webhookCreate as webhookCreate };
1891
+ }
1892
+
1893
+ type RainApi = BoundSdk<typeof sdk>;
1894
+ declare function createRainApi(config: ApiFactoryConfig): RainApi;
1895
+
1896
+ export { type ActionResponse, type Activate, type ActivateCreateData, type ActivateCreateResponse, type ActivateCreateResponses, type AdminCard, type AdminCardWritable, type AdminCardsListData, type AdminCardsListResponse, type AdminCardsListResponses, type AdminCardsRetrieveData, type AdminCardsRetrieveResponse, type AdminCardsRetrieveResponses, type AdminCompany, type AdminCompanyPartialUpdateData, type AdminCompanyPartialUpdateResponse, type AdminCompanyPartialUpdateResponses, type AdminCompanyResponse, type AdminCompanyResponseWritable, type AdminCompanyRetrieveData, type AdminCompanyRetrieveResponse, type AdminCompanyRetrieveResponses, type AdminCompanyUpdateData, type AdminCompanyUpdateResponse, type AdminCompanyUpdateResponses, type AdminCompanyWritable, type AdminCurrenciesListData, type AdminCurrenciesListResponse, type AdminCurrenciesListResponses, type AdminCurrenciesPartialUpdateData, type AdminCurrenciesPartialUpdateResponse, type AdminCurrenciesPartialUpdateResponses, type AdminCurrenciesRetrieveData, type AdminCurrenciesRetrieveResponse, type AdminCurrenciesRetrieveResponses, type AdminCurrenciesUpdateData, type AdminCurrenciesUpdateResponse, type AdminCurrenciesUpdateResponses, type AdminCurrency, type AdminCurrencyResponse, type AdminCurrencyResponseWritable, type AdminCurrencyWritable, type AdminExtendedCard, type AdminExtendedCardResponse, type AdminExtendedCardResponseWritable, type AdminExtendedCardWritable, type AdminUpdateCompany, type AdminUpdateCompanyWritable, type ClientOptions, type Currency, type Deactivate, type DeactivateCreateData, type DeactivateCreateResponse, type DeactivateCreateResponses, type EncryptedData, type PaginatedAdminCardList, type PaginatedAdminCardListResponse, type PaginatedAdminCardListResponseWritable, type PaginatedAdminCardListWritable, type PaginatedAdminCurrencyList, type PaginatedAdminCurrencyListResponse, type PaginatedAdminCurrencyListResponseWritable, type PaginatedAdminCurrencyListWritable, type PaginatedUserApplicationList, type PaginatedUserApplicationListResponse, type PaginatedUserApplicationListResponseWritable, type PaginatedUserApplicationListWritable, type PaginatedUserCardList, type PaginatedUserCardListResponse, type PaginatedUserCardListResponseWritable, type PaginatedUserCardListWritable, type PatchedAdminCurrency, type PatchedAdminCurrencyWritable, type PatchedAdminUpdateCompany, type PatchedAdminUpdateCompanyWritable, type PatchedUser, type PatchedUserUpdateCardPin, type PatchedUserUpdateCardPinWritable, type PatchedUserWritable, type RainApi, type RainWebhook, type RainWebhookCreateData, type RainWebhookCreateResponse, type RainWebhookCreateResponses, type User, type UserApplication, type UserApplicationResponse, type UserApplicationResponseWritable, type UserApplicationWritable, type UserApplicationsCreateData, type UserApplicationsCreateResponse, type UserApplicationsCreateResponses, type UserApplicationsListData, type UserApplicationsListResponse, type UserApplicationsListResponses, type UserApplicationsRetrieveData, type UserApplicationsRetrieveResponse, type UserApplicationsRetrieveResponses, type UserCard, type UserCardData, type UserCardDataResponse, type UserCardPin, type UserCardPinResponse, type UserCardWritable, type UserCardsCreateData, type UserCardsCreateResponse, type UserCardsCreateResponses, type UserCardsDataRetrieveData, type UserCardsDataRetrieveResponse, type UserCardsDataRetrieveResponses, type UserCardsListData, type UserCardsListResponse, type UserCardsListResponses, type UserCardsPinPartialUpdateData, type UserCardsPinPartialUpdateResponse, type UserCardsPinPartialUpdateResponses, type UserCardsPinRetrieveData, type UserCardsPinRetrieveResponse, type UserCardsPinRetrieveResponses, type UserCardsPinUpdateData, type UserCardsPinUpdateResponse, type UserCardsPinUpdateResponses, type UserCardsRetrieveData, type UserCardsRetrieveResponse, type UserCardsRetrieveResponses, type UserCreateApplication, type UserCreateCard, type UserCreateCardWritable, type UserExtendedCard, type UserExtendedCardResponse, type UserExtendedCardResponseWritable, type UserExtendedCardWritable, type UserPartialUpdateData, type UserPartialUpdateResponse, type UserPartialUpdateResponses, type UserResponse, type UserResponseWritable, type UserRetrieveData, type UserRetrieveResponse, type UserRetrieveResponses, type UserUpdateCardPin, type UserUpdateCardPinWritable, type UserUpdateData, type UserUpdateResponse, type UserUpdateResponses, type UserWritable, type Webhook, type WebhookCreateData, type WebhookCreateResponse, type WebhookCreateResponses, createRainApi };