rehive 4.2.0 → 4.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/README.md +17 -0
  2. package/dist/admin.d.mts +614 -116
  3. package/dist/admin.d.ts +614 -116
  4. package/dist/admin.js +1 -1
  5. package/dist/admin.mjs +1 -1
  6. package/dist/auth.d.mts +2 -2
  7. package/dist/auth.d.ts +2 -2
  8. package/dist/auth.js +1 -1
  9. package/dist/auth.mjs +1 -1
  10. package/dist/{chunk-PCR54D6A.mjs → chunk-A53KSFBA.mjs} +1 -1
  11. package/dist/chunk-CRNPJD3E.js +6 -0
  12. package/dist/{chunk-ERD2XKSM.js → chunk-HXAEBUQM.js} +1 -1
  13. package/dist/chunk-IJBXROTB.mjs +6 -0
  14. package/dist/chunk-OV77OD2G.js +1 -0
  15. package/dist/chunk-RO2QGTSG.mjs +1 -0
  16. package/dist/chunk-TAABJLJG.mjs +6 -0
  17. package/dist/chunk-Y33FT632.js +6 -0
  18. package/dist/{create-api-client-B4Q01gHp.d.mts → create-api-client-Bkkri-AM.d.mts} +1 -1
  19. package/dist/{create-api-client-ADSlg8HX.d.ts → create-api-client-CgvKBlQ_.d.ts} +1 -1
  20. package/dist/{create-auth-CT_IFt3T.d.mts → create-auth-ChOASbvo.d.mts} +111 -100
  21. package/dist/{create-auth-CT_IFt3T.d.ts → create-auth-ChOASbvo.d.ts} +111 -100
  22. package/dist/extensions/alchemy.d.mts +175 -41
  23. package/dist/extensions/alchemy.d.ts +175 -41
  24. package/dist/extensions/alchemy.js +5 -6
  25. package/dist/extensions/alchemy.mjs +5 -6
  26. package/dist/extensions/app.d.mts +11 -10
  27. package/dist/extensions/app.d.ts +11 -10
  28. package/dist/extensions/app.js +5 -6
  29. package/dist/extensions/app.mjs +5 -6
  30. package/dist/extensions/billing.d.mts +11 -10
  31. package/dist/extensions/billing.d.ts +11 -10
  32. package/dist/extensions/billing.js +5 -6
  33. package/dist/extensions/billing.mjs +5 -6
  34. package/dist/extensions/bridge.d.mts +537 -38
  35. package/dist/extensions/bridge.d.ts +537 -38
  36. package/dist/extensions/bridge.js +5 -6
  37. package/dist/extensions/bridge.mjs +5 -6
  38. package/dist/extensions/builder.d.mts +8 -7
  39. package/dist/extensions/builder.d.ts +8 -7
  40. package/dist/extensions/builder.js +5 -6
  41. package/dist/extensions/builder.mjs +5 -6
  42. package/dist/extensions/business.d.mts +99 -63
  43. package/dist/extensions/business.d.ts +99 -63
  44. package/dist/extensions/business.js +5 -6
  45. package/dist/extensions/business.mjs +5 -6
  46. package/dist/extensions/conversion.d.mts +10 -9
  47. package/dist/extensions/conversion.d.ts +10 -9
  48. package/dist/extensions/conversion.js +5 -6
  49. package/dist/extensions/conversion.mjs +5 -6
  50. package/dist/extensions/mass-send.d.mts +8 -7
  51. package/dist/extensions/mass-send.d.ts +8 -7
  52. package/dist/extensions/mass-send.js +5 -6
  53. package/dist/extensions/mass-send.mjs +5 -6
  54. package/dist/extensions/notifications.d.mts +16 -15
  55. package/dist/extensions/notifications.d.ts +16 -15
  56. package/dist/extensions/notifications.js +5 -6
  57. package/dist/extensions/notifications.mjs +5 -6
  58. package/dist/extensions/payment-requests.d.mts +15 -10
  59. package/dist/extensions/payment-requests.d.ts +15 -10
  60. package/dist/extensions/payment-requests.js +5 -6
  61. package/dist/extensions/payment-requests.mjs +5 -6
  62. package/dist/extensions/products.d.mts +43 -42
  63. package/dist/extensions/products.d.ts +43 -42
  64. package/dist/extensions/products.js +5 -6
  65. package/dist/extensions/products.mjs +5 -6
  66. package/dist/extensions/rain.d.mts +22 -21
  67. package/dist/extensions/rain.d.ts +22 -21
  68. package/dist/extensions/rain.js +5 -6
  69. package/dist/extensions/rain.mjs +5 -6
  70. package/dist/extensions/rewards.d.mts +8 -7
  71. package/dist/extensions/rewards.d.ts +8 -7
  72. package/dist/extensions/rewards.js +5 -6
  73. package/dist/extensions/rewards.mjs +5 -6
  74. package/dist/extensions/stellar-testnet.d.mts +16 -15
  75. package/dist/extensions/stellar-testnet.d.ts +16 -15
  76. package/dist/extensions/stellar-testnet.js +5 -6
  77. package/dist/extensions/stellar-testnet.mjs +5 -6
  78. package/dist/extensions/stellar.d.mts +16 -15
  79. package/dist/extensions/stellar.d.ts +16 -15
  80. package/dist/extensions/stellar.js +5 -6
  81. package/dist/extensions/stellar.mjs +5 -6
  82. package/dist/index.d.mts +2 -2
  83. package/dist/index.d.ts +2 -2
  84. package/dist/index.js +1 -1
  85. package/dist/index.mjs +1 -1
  86. package/dist/react.d.mts +3 -11
  87. package/dist/react.d.ts +3 -11
  88. package/dist/react.js +1 -1
  89. package/dist/react.mjs +1 -1
  90. package/dist/user.d.mts +21 -10
  91. package/dist/user.d.ts +21 -10
  92. package/dist/user.js +1 -1
  93. package/dist/user.mjs +1 -1
  94. package/package.json +1 -1
  95. package/src/auth/create-auth.ts +184 -781
  96. package/src/auth/index.ts +2 -25
  97. package/src/auth/types/index.ts +0 -48
  98. package/src/extensions/alchemy/openapi-ts/client/client.gen.ts +17 -7
  99. package/src/extensions/alchemy/openapi-ts/client/types.gen.ts +2 -1
  100. package/src/extensions/alchemy/openapi-ts/client/utils.gen.ts +1 -1
  101. package/src/extensions/alchemy/openapi-ts/core/bodySerializer.gen.ts +6 -8
  102. package/src/extensions/alchemy/openapi-ts/core/params.gen.ts +1 -1
  103. package/src/extensions/alchemy/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  104. package/src/extensions/alchemy/openapi-ts/core/types.gen.ts +1 -1
  105. package/src/extensions/alchemy/openapi-ts/core/utils.gen.ts +1 -1
  106. package/src/extensions/alchemy/openapi-ts/index.ts +2 -2
  107. package/src/extensions/alchemy/openapi-ts/sdk.gen.ts +44 -2
  108. package/src/extensions/alchemy/openapi-ts/types.gen.ts +177 -34
  109. package/src/extensions/app/openapi-ts/client/client.gen.ts +17 -7
  110. package/src/extensions/app/openapi-ts/client/types.gen.ts +2 -1
  111. package/src/extensions/app/openapi-ts/client/utils.gen.ts +1 -1
  112. package/src/extensions/app/openapi-ts/core/bodySerializer.gen.ts +6 -8
  113. package/src/extensions/app/openapi-ts/core/params.gen.ts +1 -1
  114. package/src/extensions/app/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  115. package/src/extensions/app/openapi-ts/core/types.gen.ts +1 -1
  116. package/src/extensions/app/openapi-ts/core/utils.gen.ts +1 -1
  117. package/src/extensions/app/openapi-ts/sdk.gen.ts +1 -1
  118. package/src/extensions/app/openapi-ts/types.gen.ts +3 -3
  119. package/src/extensions/billing/openapi-ts/client/client.gen.ts +17 -7
  120. package/src/extensions/billing/openapi-ts/client/types.gen.ts +2 -1
  121. package/src/extensions/billing/openapi-ts/client/utils.gen.ts +1 -1
  122. package/src/extensions/billing/openapi-ts/core/bodySerializer.gen.ts +6 -8
  123. package/src/extensions/billing/openapi-ts/core/params.gen.ts +1 -1
  124. package/src/extensions/billing/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  125. package/src/extensions/billing/openapi-ts/core/types.gen.ts +1 -1
  126. package/src/extensions/billing/openapi-ts/core/utils.gen.ts +1 -1
  127. package/src/extensions/billing/openapi-ts/sdk.gen.ts +1 -1
  128. package/src/extensions/billing/openapi-ts/types.gen.ts +3 -3
  129. package/src/extensions/bridge/openapi-ts/client/client.gen.ts +17 -7
  130. package/src/extensions/bridge/openapi-ts/client/types.gen.ts +2 -1
  131. package/src/extensions/bridge/openapi-ts/client/utils.gen.ts +1 -1
  132. package/src/extensions/bridge/openapi-ts/core/bodySerializer.gen.ts +6 -8
  133. package/src/extensions/bridge/openapi-ts/core/params.gen.ts +1 -1
  134. package/src/extensions/bridge/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  135. package/src/extensions/bridge/openapi-ts/core/types.gen.ts +1 -1
  136. package/src/extensions/bridge/openapi-ts/core/utils.gen.ts +1 -1
  137. package/src/extensions/bridge/openapi-ts/index.ts +2 -2
  138. package/src/extensions/bridge/openapi-ts/sdk.gen.ts +90 -2
  139. package/src/extensions/bridge/openapi-ts/types.gen.ts +572 -29
  140. package/src/extensions/builder/openapi-ts/client/client.gen.ts +17 -7
  141. package/src/extensions/builder/openapi-ts/client/types.gen.ts +2 -1
  142. package/src/extensions/builder/openapi-ts/client/utils.gen.ts +1 -1
  143. package/src/extensions/builder/openapi-ts/core/bodySerializer.gen.ts +6 -8
  144. package/src/extensions/builder/openapi-ts/core/params.gen.ts +1 -1
  145. package/src/extensions/builder/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  146. package/src/extensions/builder/openapi-ts/core/types.gen.ts +1 -1
  147. package/src/extensions/builder/openapi-ts/core/utils.gen.ts +1 -1
  148. package/src/extensions/builder/openapi-ts/sdk.gen.ts +1 -1
  149. package/src/extensions/business/openapi-ts/client/client.gen.ts +17 -7
  150. package/src/extensions/business/openapi-ts/client/types.gen.ts +2 -1
  151. package/src/extensions/business/openapi-ts/client/utils.gen.ts +1 -1
  152. package/src/extensions/business/openapi-ts/core/bodySerializer.gen.ts +6 -8
  153. package/src/extensions/business/openapi-ts/core/params.gen.ts +1 -1
  154. package/src/extensions/business/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  155. package/src/extensions/business/openapi-ts/core/types.gen.ts +1 -1
  156. package/src/extensions/business/openapi-ts/core/utils.gen.ts +1 -1
  157. package/src/extensions/business/openapi-ts/sdk.gen.ts +1 -1
  158. package/src/extensions/business/openapi-ts/types.gen.ts +91 -56
  159. package/src/extensions/conversion/openapi-ts/client/client.gen.ts +17 -7
  160. package/src/extensions/conversion/openapi-ts/client/types.gen.ts +2 -1
  161. package/src/extensions/conversion/openapi-ts/client/utils.gen.ts +1 -1
  162. package/src/extensions/conversion/openapi-ts/core/bodySerializer.gen.ts +6 -8
  163. package/src/extensions/conversion/openapi-ts/core/params.gen.ts +1 -1
  164. package/src/extensions/conversion/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  165. package/src/extensions/conversion/openapi-ts/core/types.gen.ts +1 -1
  166. package/src/extensions/conversion/openapi-ts/core/utils.gen.ts +1 -1
  167. package/src/extensions/conversion/openapi-ts/sdk.gen.ts +1 -1
  168. package/src/extensions/conversion/openapi-ts/types.gen.ts +2 -2
  169. package/src/extensions/mass-send/openapi-ts/client/client.gen.ts +17 -7
  170. package/src/extensions/mass-send/openapi-ts/client/types.gen.ts +2 -1
  171. package/src/extensions/mass-send/openapi-ts/client/utils.gen.ts +1 -1
  172. package/src/extensions/mass-send/openapi-ts/core/bodySerializer.gen.ts +6 -8
  173. package/src/extensions/mass-send/openapi-ts/core/params.gen.ts +1 -1
  174. package/src/extensions/mass-send/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  175. package/src/extensions/mass-send/openapi-ts/core/types.gen.ts +1 -1
  176. package/src/extensions/mass-send/openapi-ts/core/utils.gen.ts +1 -1
  177. package/src/extensions/mass-send/openapi-ts/sdk.gen.ts +1 -1
  178. package/src/extensions/notifications/openapi-ts/client/client.gen.ts +17 -7
  179. package/src/extensions/notifications/openapi-ts/client/types.gen.ts +2 -1
  180. package/src/extensions/notifications/openapi-ts/client/utils.gen.ts +1 -1
  181. package/src/extensions/notifications/openapi-ts/core/bodySerializer.gen.ts +6 -8
  182. package/src/extensions/notifications/openapi-ts/core/params.gen.ts +1 -1
  183. package/src/extensions/notifications/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  184. package/src/extensions/notifications/openapi-ts/core/types.gen.ts +1 -1
  185. package/src/extensions/notifications/openapi-ts/core/utils.gen.ts +1 -1
  186. package/src/extensions/notifications/openapi-ts/sdk.gen.ts +1 -1
  187. package/src/extensions/notifications/openapi-ts/types.gen.ts +8 -8
  188. package/src/extensions/payment-requests/openapi-ts/client/client.gen.ts +17 -7
  189. package/src/extensions/payment-requests/openapi-ts/client/types.gen.ts +2 -1
  190. package/src/extensions/payment-requests/openapi-ts/client/utils.gen.ts +1 -1
  191. package/src/extensions/payment-requests/openapi-ts/core/bodySerializer.gen.ts +6 -8
  192. package/src/extensions/payment-requests/openapi-ts/core/params.gen.ts +1 -1
  193. package/src/extensions/payment-requests/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  194. package/src/extensions/payment-requests/openapi-ts/core/types.gen.ts +1 -1
  195. package/src/extensions/payment-requests/openapi-ts/core/utils.gen.ts +1 -1
  196. package/src/extensions/payment-requests/openapi-ts/sdk.gen.ts +1 -1
  197. package/src/extensions/payment-requests/openapi-ts/types.gen.ts +7 -3
  198. package/src/extensions/products/openapi-ts/client/client.gen.ts +17 -7
  199. package/src/extensions/products/openapi-ts/client/types.gen.ts +2 -1
  200. package/src/extensions/products/openapi-ts/client/utils.gen.ts +1 -1
  201. package/src/extensions/products/openapi-ts/core/bodySerializer.gen.ts +6 -8
  202. package/src/extensions/products/openapi-ts/core/params.gen.ts +1 -1
  203. package/src/extensions/products/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  204. package/src/extensions/products/openapi-ts/core/types.gen.ts +1 -1
  205. package/src/extensions/products/openapi-ts/core/utils.gen.ts +1 -1
  206. package/src/extensions/products/openapi-ts/sdk.gen.ts +1 -1
  207. package/src/extensions/products/openapi-ts/types.gen.ts +35 -35
  208. package/src/extensions/rain/openapi-ts/client/client.gen.ts +17 -7
  209. package/src/extensions/rain/openapi-ts/client/types.gen.ts +2 -1
  210. package/src/extensions/rain/openapi-ts/client/utils.gen.ts +1 -1
  211. package/src/extensions/rain/openapi-ts/core/bodySerializer.gen.ts +6 -8
  212. package/src/extensions/rain/openapi-ts/core/params.gen.ts +1 -1
  213. package/src/extensions/rain/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  214. package/src/extensions/rain/openapi-ts/core/types.gen.ts +1 -1
  215. package/src/extensions/rain/openapi-ts/core/utils.gen.ts +1 -1
  216. package/src/extensions/rain/openapi-ts/sdk.gen.ts +1 -1
  217. package/src/extensions/rain/openapi-ts/types.gen.ts +14 -14
  218. package/src/extensions/rewards/openapi-ts/client/client.gen.ts +17 -7
  219. package/src/extensions/rewards/openapi-ts/client/types.gen.ts +2 -1
  220. package/src/extensions/rewards/openapi-ts/client/utils.gen.ts +1 -1
  221. package/src/extensions/rewards/openapi-ts/core/bodySerializer.gen.ts +6 -8
  222. package/src/extensions/rewards/openapi-ts/core/params.gen.ts +1 -1
  223. package/src/extensions/rewards/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  224. package/src/extensions/rewards/openapi-ts/core/types.gen.ts +1 -1
  225. package/src/extensions/rewards/openapi-ts/core/utils.gen.ts +1 -1
  226. package/src/extensions/rewards/openapi-ts/sdk.gen.ts +1 -1
  227. package/src/extensions/stellar/openapi-ts/client/client.gen.ts +17 -7
  228. package/src/extensions/stellar/openapi-ts/client/types.gen.ts +2 -1
  229. package/src/extensions/stellar/openapi-ts/client/utils.gen.ts +1 -1
  230. package/src/extensions/stellar/openapi-ts/core/bodySerializer.gen.ts +6 -8
  231. package/src/extensions/stellar/openapi-ts/core/params.gen.ts +1 -1
  232. package/src/extensions/stellar/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  233. package/src/extensions/stellar/openapi-ts/core/types.gen.ts +1 -1
  234. package/src/extensions/stellar/openapi-ts/core/utils.gen.ts +1 -1
  235. package/src/extensions/stellar/openapi-ts/sdk.gen.ts +1 -1
  236. package/src/extensions/stellar/openapi-ts/types.gen.ts +8 -8
  237. package/src/extensions/stellar-testnet/openapi-ts/client/client.gen.ts +17 -7
  238. package/src/extensions/stellar-testnet/openapi-ts/client/types.gen.ts +2 -1
  239. package/src/extensions/stellar-testnet/openapi-ts/client/utils.gen.ts +1 -1
  240. package/src/extensions/stellar-testnet/openapi-ts/core/bodySerializer.gen.ts +6 -8
  241. package/src/extensions/stellar-testnet/openapi-ts/core/params.gen.ts +1 -1
  242. package/src/extensions/stellar-testnet/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  243. package/src/extensions/stellar-testnet/openapi-ts/core/types.gen.ts +1 -1
  244. package/src/extensions/stellar-testnet/openapi-ts/core/utils.gen.ts +1 -1
  245. package/src/extensions/stellar-testnet/openapi-ts/sdk.gen.ts +1 -1
  246. package/src/extensions/stellar-testnet/openapi-ts/types.gen.ts +8 -8
  247. package/src/platform/admin/openapi-ts/client/client.gen.ts +17 -7
  248. package/src/platform/admin/openapi-ts/client/types.gen.ts +2 -1
  249. package/src/platform/admin/openapi-ts/client/utils.gen.ts +1 -1
  250. package/src/platform/admin/openapi-ts/core/bodySerializer.gen.ts +6 -8
  251. package/src/platform/admin/openapi-ts/core/params.gen.ts +1 -1
  252. package/src/platform/admin/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  253. package/src/platform/admin/openapi-ts/core/types.gen.ts +1 -1
  254. package/src/platform/admin/openapi-ts/core/utils.gen.ts +1 -1
  255. package/src/platform/admin/openapi-ts/index.ts +2 -2
  256. package/src/platform/admin/openapi-ts/sdk.gen.ts +54 -12
  257. package/src/platform/admin/openapi-ts/types.gen.ts +623 -107
  258. package/src/platform/user/openapi-ts/client/client.gen.ts +17 -7
  259. package/src/platform/user/openapi-ts/client/types.gen.ts +2 -1
  260. package/src/platform/user/openapi-ts/client/utils.gen.ts +1 -1
  261. package/src/platform/user/openapi-ts/core/bodySerializer.gen.ts +6 -8
  262. package/src/platform/user/openapi-ts/core/params.gen.ts +1 -1
  263. package/src/platform/user/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  264. package/src/platform/user/openapi-ts/core/types.gen.ts +1 -1
  265. package/src/platform/user/openapi-ts/core/utils.gen.ts +1 -1
  266. package/src/platform/user/openapi-ts/index.ts +2 -2
  267. package/src/platform/user/openapi-ts/sdk.gen.ts +30 -4
  268. package/src/platform/user/openapi-ts/types.gen.ts +116 -52
  269. package/dist/chunk-7USVOK77.js +0 -7
  270. package/dist/chunk-G3M5QMRX.js +0 -1
  271. package/dist/chunk-HSPTEN45.mjs +0 -1
  272. package/dist/chunk-HWXE5WBF.js +0 -7
  273. package/dist/chunk-MUN3POSM.mjs +0 -7
  274. package/dist/chunk-ZUZHOLAX.mjs +0 -7
@@ -928,10 +928,11 @@ export type Auth = {
928
928
  * * `obsolete` - Obsolete
929
929
  * * `declined` - Declined
930
930
  * * `pending` - Pending
931
+ * * `paused` - Paused
931
932
  * * `incomplete` - Incomplete
932
933
  * * `verified` - Verified
933
934
  */
934
- status: 'obsolete' | 'declined' | 'pending' | 'incomplete' | 'verified';
935
+ readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
935
936
  readonly created: number;
936
937
  readonly updated: number;
937
938
  settings: UserSettings;
@@ -950,6 +951,7 @@ export type AuthResponse = {
950
951
  */
951
952
  export type AuthToken = {
952
953
  token_key: string;
954
+ readonly label: string;
953
955
  readonly expires: number;
954
956
  readonly created: number;
955
957
  };
@@ -1001,13 +1003,13 @@ export type AuthenticatorChallenge = {
1001
1003
  * * `authorization` - Authorization
1002
1004
  * * `setup` - Setup
1003
1005
  */
1004
- type: 'authentication' | 'authorization' | 'setup';
1006
+ readonly type: 'authentication' | 'authorization' | 'setup';
1005
1007
  /**
1006
1008
  * * `ephemeral` - Ephemeral
1007
1009
  * * `durable` - Durable
1008
1010
  * * `permanent` - Permanent
1009
1011
  */
1010
- durability: 'ephemeral' | 'durable' | 'permanent';
1012
+ readonly durability: 'ephemeral' | 'durable' | 'permanent';
1011
1013
  readonly authenticator_types: Array<'totp' | 'sms' | 'static'>;
1012
1014
  readonly created: number;
1013
1015
  };
@@ -1867,14 +1869,14 @@ export type Company = {
1867
1869
  * * `test` - Test
1868
1870
  * * `production` - Production
1869
1871
  */
1870
- mode: 'test' | 'production';
1872
+ readonly mode: 'test' | 'production';
1871
1873
  /**
1872
1874
  * * `pending` - Pending
1873
1875
  * * `active` - Active
1874
1876
  * * `restricted` - Restricted
1875
1877
  * * `suspended` - Suspended
1876
1878
  */
1877
- status: 'pending' | 'active' | 'restricted' | 'suspended';
1879
+ readonly status: 'pending' | 'active' | 'restricted' | 'suspended';
1878
1880
  readonly created: number;
1879
1881
  readonly updated: number;
1880
1882
  };
@@ -1890,6 +1892,7 @@ export type CompanyBankAccount = {
1890
1892
  name?: string | null;
1891
1893
  number?: string | null;
1892
1894
  type?: string | null;
1895
+ payment_method?: string | null;
1893
1896
  bank_name?: string | null;
1894
1897
  bank_code?: string | null;
1895
1898
  bank_currency?: string | null;
@@ -1903,6 +1906,7 @@ export type CompanyBankAccount = {
1903
1906
  check_digit?: string | null;
1904
1907
  pix_key?: string | null;
1905
1908
  br_code?: string | null;
1909
+ sort_code?: string | null;
1906
1910
  metadata?: {
1907
1911
  [key: string]: unknown;
1908
1912
  } | null;
@@ -1910,7 +1914,7 @@ export type CompanyBankAccount = {
1910
1914
  /**
1911
1915
  * * `withdraw` - Withdraw
1912
1916
  */
1913
- action: 'withdraw';
1917
+ readonly action: 'withdraw';
1914
1918
  readonly created: number;
1915
1919
  readonly updated: number;
1916
1920
  };
@@ -2288,7 +2292,7 @@ export type CompanyWalletAccount = {
2288
2292
  /**
2289
2293
  * * `withdraw` - Withdraw
2290
2294
  */
2291
- action: 'withdraw';
2295
+ readonly action: 'withdraw';
2292
2296
  readonly created: number;
2293
2297
  readonly updated: number;
2294
2298
  };
@@ -2302,6 +2306,7 @@ export type CreateAccountAccountAssetRequest = {
2302
2306
  export type CreateAuthTokenRequest = {
2303
2307
  password: string;
2304
2308
  duration?: number | null;
2309
+ label?: string | null;
2305
2310
  };
2306
2311
 
2307
2312
  /**
@@ -2778,6 +2783,7 @@ export type CreateMetricRequest = {
2778
2783
  */
2779
2784
  export type CreateMobileRequest = {
2780
2785
  number: string;
2786
+ primary?: boolean;
2781
2787
  };
2782
2788
 
2783
2789
  export type CreateMultiTransactionRequest = {
@@ -2922,15 +2928,16 @@ export type CryptoAccount = {
2922
2928
  * * `obsolete` - Obsolete
2923
2929
  * * `declined` - Declined
2924
2930
  * * `pending` - Pending
2931
+ * * `paused` - Paused
2925
2932
  * * `incomplete` - Incomplete
2926
2933
  * * `verified` - Verified
2927
2934
  */
2928
- status: 'obsolete' | 'declined' | 'pending' | 'incomplete' | 'verified';
2935
+ readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
2929
2936
  /**
2930
2937
  * * `withdraw` - Withdraw
2931
2938
  * * `deposit` - Deposit
2932
2939
  */
2933
- action: 'withdraw' | 'deposit';
2940
+ readonly action: 'withdraw' | 'deposit';
2934
2941
  readonly created: number;
2935
2942
  readonly updated: number;
2936
2943
  };
@@ -3181,7 +3188,7 @@ export type Export = {
3181
3188
  * * `transaction` - Transaction
3182
3189
  * * `user` - User
3183
3190
  */
3184
- resource: 'account' | 'account_currency' | 'transaction' | 'user';
3191
+ readonly resource: 'account' | 'account_currency' | 'transaction' | 'user';
3185
3192
  query?: {
3186
3193
  [key: string]: unknown;
3187
3194
  } | null;
@@ -3191,7 +3198,7 @@ export type Export = {
3191
3198
  * * `complete` - Complete
3192
3199
  * * `failed` - Failed
3193
3200
  */
3194
- status: 'queued' | 'processing' | 'complete' | 'failed';
3201
+ readonly status: 'queued' | 'processing' | 'complete' | 'failed';
3195
3202
  progress: number;
3196
3203
  count?: number | null;
3197
3204
  page_size?: number;
@@ -3199,7 +3206,7 @@ export type Export = {
3199
3206
  * * `json` - JSON
3200
3207
  * * `csv` - CSV
3201
3208
  */
3202
- file_format: 'json' | 'csv';
3209
+ readonly file_format: 'json' | 'csv';
3203
3210
  readonly created: number;
3204
3211
  readonly updated: number;
3205
3212
  };
@@ -3293,7 +3300,7 @@ export type ExtendedExport = {
3293
3300
  * * `transaction` - Transaction
3294
3301
  * * `user` - User
3295
3302
  */
3296
- resource: 'account' | 'account_currency' | 'transaction' | 'user';
3303
+ readonly resource: 'account' | 'account_currency' | 'transaction' | 'user';
3297
3304
  readonly query: {
3298
3305
  [key: string]: unknown;
3299
3306
  } | null;
@@ -3303,7 +3310,7 @@ export type ExtendedExport = {
3303
3310
  * * `complete` - Complete
3304
3311
  * * `failed` - Failed
3305
3312
  */
3306
- status: 'queued' | 'processing' | 'complete' | 'failed';
3313
+ readonly status: 'queued' | 'processing' | 'complete' | 'failed';
3307
3314
  progress: number;
3308
3315
  readonly count: number | null;
3309
3316
  readonly page_size: number;
@@ -3312,7 +3319,7 @@ export type ExtendedExport = {
3312
3319
  * * `json` - JSON
3313
3320
  * * `csv` - CSV
3314
3321
  */
3315
- file_format: 'json' | 'csv';
3322
+ readonly file_format: 'json' | 'csv';
3316
3323
  readonly created: number;
3317
3324
  readonly updated: number;
3318
3325
  };
@@ -3364,7 +3371,7 @@ export type ExtendedTransaction = {
3364
3371
  * * `credit` - Credit
3365
3372
  * * `debit` - Debit
3366
3373
  */
3367
- tx_type: 'credit' | 'debit';
3374
+ readonly tx_type: 'credit' | 'debit';
3368
3375
  readonly subtype: string | null;
3369
3376
  readonly note: string;
3370
3377
  readonly metadata: {
@@ -3377,7 +3384,7 @@ export type ExtendedTransaction = {
3377
3384
  * * `Complete` - Complete
3378
3385
  * * `Failed` - Failed
3379
3386
  */
3380
- status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
3387
+ readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
3381
3388
  readonly reference: string | null;
3382
3389
  readonly amount: number;
3383
3390
  readonly fee: number;
@@ -3972,10 +3979,11 @@ export type ExtendedUserInfo = {
3972
3979
  * * `obsolete` - Obsolete
3973
3980
  * * `declined` - Declined
3974
3981
  * * `pending` - Pending
3982
+ * * `paused` - Paused
3975
3983
  * * `incomplete` - Incomplete
3976
3984
  * * `verified` - Verified
3977
3985
  */
3978
- status: 'obsolete' | 'declined' | 'pending' | 'incomplete' | 'verified';
3986
+ readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
3979
3987
  readonly created: number;
3980
3988
  readonly updated: number;
3981
3989
  settings: UserSettings;
@@ -4623,12 +4631,13 @@ export type GroupPermission = {
4623
4631
  * * `admin` - Admin
4624
4632
  * * `user` - User
4625
4633
  */
4626
- section: 'system' | 'admin' | 'user';
4634
+ readonly section: 'system' | 'admin' | 'user';
4627
4635
  /**
4628
4636
  * * `accesscontrolrule` - Access Control Rule
4629
4637
  * * `account` - Account
4630
4638
  * * `accountdefinition` - Account Definition
4631
4639
  * * `address` - Address
4640
+ * * `alert` - Alert
4632
4641
  * * `currency` - Currency
4633
4642
  * * `bankaccount` - Bank Account
4634
4643
  * * `company` - Company
@@ -4653,14 +4662,14 @@ export type GroupPermission = {
4653
4662
  * * `user` - User
4654
4663
  * * `webhook` - Webhook
4655
4664
  */
4656
- type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'webhook';
4665
+ readonly type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'webhook';
4657
4666
  /**
4658
4667
  * * `view` - View
4659
4668
  * * `add` - Add
4660
4669
  * * `change` - Change
4661
4670
  * * `delete` - Delete
4662
4671
  */
4663
- level: 'view' | 'add' | 'change' | 'delete';
4672
+ readonly level: 'view' | 'add' | 'change' | 'delete';
4664
4673
  readonly properties: {
4665
4674
  [key: string]: unknown;
4666
4675
  };
@@ -4819,7 +4828,7 @@ export type GroupTierRequirementSetItem = {
4819
4828
  /**
4820
4829
  * * `resource` - Resource
4821
4830
  */
4822
- type: 'resource';
4831
+ readonly type: 'resource';
4823
4832
  rule: GroupTierRequirementSetItemRule;
4824
4833
  name?: string | null;
4825
4834
  description?: string | null;
@@ -4874,7 +4883,7 @@ export type LegalTerm = {
4874
4883
  * * `system` - System
4875
4884
  * * `company` - Company
4876
4885
  */
4877
- type: 'system' | 'company';
4886
+ readonly type: 'system' | 'company';
4878
4887
  readonly name: string;
4879
4888
  readonly description: string | null;
4880
4889
  readonly versions: Array<ReducedLegalTermVersion>;
@@ -4982,7 +4991,7 @@ export type MfatotpDeviceDetail = {
4982
4991
  * * `SHA256` - SHA256
4983
4992
  * * `SHA512` - SHA512
4984
4993
  */
4985
- algorithm: 'SHA1' | 'SHA256' | 'SHA512';
4994
+ readonly algorithm: 'SHA1' | 'SHA256' | 'SHA512';
4986
4995
  readonly otpauth_url: string;
4987
4996
  readonly issuer: string;
4988
4997
  readonly account: string;
@@ -5044,7 +5053,7 @@ export type MaskedMfatotpDeviceDetail = {
5044
5053
  * * `SHA256` - SHA256
5045
5054
  * * `SHA512` - SHA512
5046
5055
  */
5047
- algorithm: 'SHA1' | 'SHA256' | 'SHA512';
5056
+ readonly algorithm: 'SHA1' | 'SHA256' | 'SHA512';
5048
5057
  readonly otpauth_url: string;
5049
5058
  readonly issuer: string;
5050
5059
  readonly account: string;
@@ -5084,7 +5093,7 @@ export type Metric = {
5084
5093
  * * `user_active_count` - User Active Count
5085
5094
  * * `user_transacted_in_30days_count` - User Transacted In 30Days Count
5086
5095
  */
5087
- type: 'account_count' | 'transaction_count' | 'transaction_complete_count' | 'transaction_failed_count' | 'transaction_pending_count' | 'transaction_complete_sum' | 'transaction_failed_sum' | 'transaction_pending_sum' | 'transaction_balance_sum' | 'transaction_available_balance_sum' | 'user_count' | 'user_active_count' | 'user_transacted_in_30days_count';
5096
+ readonly type: 'account_count' | 'transaction_count' | 'transaction_complete_count' | 'transaction_failed_count' | 'transaction_pending_count' | 'transaction_complete_sum' | 'transaction_failed_sum' | 'transaction_pending_sum' | 'transaction_balance_sum' | 'transaction_available_balance_sum' | 'user_count' | 'user_active_count' | 'user_transacted_in_30days_count';
5088
5097
  currency: ReducedAsset;
5089
5098
  readonly timezone: string;
5090
5099
  readonly query: {
@@ -5094,7 +5103,7 @@ export type Metric = {
5094
5103
  * * `accumulate` - Accumulate
5095
5104
  * * `set` - Set
5096
5105
  */
5097
- method: 'accumulate' | 'set';
5106
+ readonly method: 'accumulate' | 'set';
5098
5107
  readonly created: number;
5099
5108
  readonly updated: number;
5100
5109
  };
@@ -5188,7 +5197,7 @@ export type OauthClient = {
5188
5197
  * * `apple` - Apple
5189
5198
  * * `google` - Google
5190
5199
  */
5191
- provider: 'apple' | 'google';
5200
+ readonly provider: 'apple' | 'google';
5192
5201
  readonly application: string;
5193
5202
  readonly client_id: string;
5194
5203
  readonly created: number;
@@ -6431,6 +6440,10 @@ export type PatchedMobileRequest = {
6431
6440
  primary?: boolean;
6432
6441
  };
6433
6442
 
6443
+ export type PatchedUpdateAuthTokenRequest = {
6444
+ label?: string | null;
6445
+ };
6446
+
6434
6447
  /**
6435
6448
  * A mixin that handles the application of permissions to properties on a
6436
6449
  * serializer using the built-in permissions system.
@@ -6743,6 +6756,7 @@ export type PatchedUserBankAccountRequest = {
6743
6756
  name?: string | null;
6744
6757
  number?: string | null;
6745
6758
  type?: string | null;
6759
+ payment_method?: string | null;
6746
6760
  /**
6747
6761
  * * `individual` - Individual
6748
6762
  * * `business` - Business
@@ -6763,6 +6777,7 @@ export type PatchedUserBankAccountRequest = {
6763
6777
  check_digit?: string | null;
6764
6778
  pix_key?: string | null;
6765
6779
  br_code?: string | null;
6780
+ sort_code?: string | null;
6766
6781
  metadata?: {
6767
6782
  [key: string]: unknown;
6768
6783
  } | null;
@@ -7078,14 +7093,14 @@ export type PublicCompany = {
7078
7093
  * * `test` - Test
7079
7094
  * * `production` - Production
7080
7095
  */
7081
- mode: 'test' | 'production';
7096
+ readonly mode: 'test' | 'production';
7082
7097
  /**
7083
7098
  * * `pending` - Pending
7084
7099
  * * `active` - Active
7085
7100
  * * `restricted` - Restricted
7086
7101
  * * `suspended` - Suspended
7087
7102
  */
7088
- status: 'pending' | 'active' | 'restricted' | 'suspended';
7103
+ readonly status: 'pending' | 'active' | 'restricted' | 'suspended';
7089
7104
  readonly created: number;
7090
7105
  readonly updated: number;
7091
7106
  };
@@ -7102,7 +7117,7 @@ export type PublicCompanyLegalTerm = {
7102
7117
  * * `system` - System
7103
7118
  * * `company` - Company
7104
7119
  */
7105
- type: 'system' | 'company';
7120
+ readonly type: 'system' | 'company';
7106
7121
  name: string;
7107
7122
  description?: string | null;
7108
7123
  readonly groups: Array<string>;
@@ -7196,7 +7211,7 @@ export type PublicLegalTerm = {
7196
7211
  * * `system` - System
7197
7212
  * * `company` - Company
7198
7213
  */
7199
- type: 'system' | 'company';
7214
+ readonly type: 'system' | 'company';
7200
7215
  name: string;
7201
7216
  description?: string | null;
7202
7217
  readonly groups: Array<string>;
@@ -7506,7 +7521,7 @@ export type ReducedService = {
7506
7521
  * * `public` - Public
7507
7522
  * * `private` - Private
7508
7523
  */
7509
- type: 'system' | 'public' | 'private';
7524
+ readonly type: 'system' | 'public' | 'private';
7510
7525
  };
7511
7526
 
7512
7527
  export type ReducedTransactionSubtype = {
@@ -8700,7 +8715,7 @@ export type Statement = {
8700
8715
  * * `complete` - Complete
8701
8716
  * * `failed` - Failed
8702
8717
  */
8703
- status: 'queued' | 'processing' | 'complete' | 'failed';
8718
+ readonly status: 'queued' | 'processing' | 'complete' | 'failed';
8704
8719
  readonly created: number;
8705
8720
  readonly updated: number;
8706
8721
  };
@@ -8742,7 +8757,7 @@ export type Transaction = {
8742
8757
  * * `credit` - Credit
8743
8758
  * * `debit` - Debit
8744
8759
  */
8745
- tx_type: 'credit' | 'debit';
8760
+ readonly tx_type: 'credit' | 'debit';
8746
8761
  readonly subtype: string | null;
8747
8762
  readonly note: string;
8748
8763
  readonly metadata: {
@@ -8755,7 +8770,7 @@ export type Transaction = {
8755
8770
  * * `Complete` - Complete
8756
8771
  * * `Failed` - Failed
8757
8772
  */
8758
- status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
8773
+ readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
8759
8774
  readonly reference: string | null;
8760
8775
  readonly amount: number;
8761
8776
  readonly fee: number;
@@ -8800,7 +8815,7 @@ export type TransactionCollection = {
8800
8815
  * * `Complete` - Complete
8801
8816
  * * `Failed` - Failed
8802
8817
  */
8803
- status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
8818
+ readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
8804
8819
  readonly created: number;
8805
8820
  readonly updated: number;
8806
8821
  };
@@ -8830,7 +8845,7 @@ export type TransactionCollectionTransaction = {
8830
8845
  * * `credit` - Credit
8831
8846
  * * `debit` - Debit
8832
8847
  */
8833
- tx_type: 'credit' | 'debit';
8848
+ readonly tx_type: 'credit' | 'debit';
8834
8849
  readonly subtype: string | null;
8835
8850
  readonly note: string;
8836
8851
  readonly metadata: {
@@ -8843,7 +8858,7 @@ export type TransactionCollectionTransaction = {
8843
8858
  * * `Complete` - Complete
8844
8859
  * * `Failed` - Failed
8845
8860
  */
8846
- status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
8861
+ readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
8847
8862
  readonly reference: string | null;
8848
8863
  readonly amount: number;
8849
8864
  readonly fee: number;
@@ -8884,7 +8899,7 @@ export type TransactionMessage = {
8884
8899
  * * `warning` - Warning
8885
8900
  * * `error` - Error
8886
8901
  */
8887
- level: 'info' | 'warning' | 'error';
8902
+ readonly level: 'info' | 'warning' | 'error';
8888
8903
  message: string;
8889
8904
  readonly created: number;
8890
8905
  readonly updated: number;
@@ -8910,14 +8925,14 @@ export type TransactionSubtype = {
8910
8925
  * * `credit` - Credit
8911
8926
  * * `debit` - Debit
8912
8927
  */
8913
- tx_type: 'credit' | 'debit';
8928
+ readonly tx_type: 'credit' | 'debit';
8914
8929
  /**
8915
8930
  * * `partner` - Partner
8916
8931
  * * `single` - Single
8917
8932
  *
8918
8933
  * @deprecated
8919
8934
  */
8920
- usage_type: 'partner' | 'single' | null;
8935
+ readonly usage_type: 'partner' | 'single' | null;
8921
8936
  partner: ReducedTransactionSubtype;
8922
8937
  readonly created: number;
8923
8938
  readonly updated: number;
@@ -8935,6 +8950,10 @@ export type TransactionSubtypeResponse = {
8935
8950
  data: TransactionSubtype;
8936
8951
  };
8937
8952
 
8953
+ export type UpdateAuthTokenRequest = {
8954
+ label?: string | null;
8955
+ };
8956
+
8938
8957
  /**
8939
8958
  * A mixin that handles the application of permissions to properties on a
8940
8959
  * serializer using the built-in permissions system.
@@ -9240,10 +9259,11 @@ export type UserAddress = {
9240
9259
  * * `obsolete` - Obsolete
9241
9260
  * * `declined` - Declined
9242
9261
  * * `pending` - Pending
9262
+ * * `paused` - Paused
9243
9263
  * * `incomplete` - Incomplete
9244
9264
  * * `verified` - Verified
9245
9265
  */
9246
- status: 'obsolete' | 'declined' | 'pending' | 'incomplete' | 'verified';
9266
+ readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
9247
9267
  readonly created: number;
9248
9268
  readonly updated: number;
9249
9269
  };
@@ -9545,6 +9565,7 @@ export type UserBankAccount = {
9545
9565
  name?: string | null;
9546
9566
  number?: string | null;
9547
9567
  type?: string | null;
9568
+ payment_method?: string | null;
9548
9569
  /**
9549
9570
  * * `individual` - Individual
9550
9571
  * * `business` - Business
@@ -9565,6 +9586,7 @@ export type UserBankAccount = {
9565
9586
  check_digit?: string | null;
9566
9587
  pix_key?: string | null;
9567
9588
  br_code?: string | null;
9589
+ sort_code?: string | null;
9568
9590
  readonly code: string | null;
9569
9591
  metadata?: {
9570
9592
  [key: string]: unknown;
@@ -9573,17 +9595,18 @@ export type UserBankAccount = {
9573
9595
  * * `obsolete` - Obsolete
9574
9596
  * * `declined` - Declined
9575
9597
  * * `pending` - Pending
9598
+ * * `paused` - Paused
9576
9599
  * * `incomplete` - Incomplete
9577
9600
  * * `verified` - Verified
9578
9601
  */
9579
- status: 'obsolete' | 'declined' | 'pending' | 'incomplete' | 'verified';
9602
+ readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
9580
9603
  readonly currencies: Array<ReducedAsset>;
9581
9604
  readonly account_currencies: Array<ReducedAccountAsset>;
9582
9605
  /**
9583
9606
  * * `withdraw` - Withdraw
9584
9607
  * * `deposit` - Deposit
9585
9608
  */
9586
- action: 'withdraw' | 'deposit';
9609
+ readonly action: 'withdraw' | 'deposit';
9587
9610
  readonly created: number;
9588
9611
  readonly updated: number;
9589
9612
  };
@@ -9634,6 +9657,7 @@ export type UserBankAccountRequest = {
9634
9657
  name?: string | null;
9635
9658
  number?: string | null;
9636
9659
  type?: string | null;
9660
+ payment_method?: string | null;
9637
9661
  /**
9638
9662
  * * `individual` - Individual
9639
9663
  * * `business` - Business
@@ -9654,6 +9678,7 @@ export type UserBankAccountRequest = {
9654
9678
  check_digit?: string | null;
9655
9679
  pix_key?: string | null;
9656
9680
  br_code?: string | null;
9681
+ sort_code?: string | null;
9657
9682
  metadata?: {
9658
9683
  [key: string]: unknown;
9659
9684
  } | null;
@@ -10208,6 +10233,7 @@ export type UserCreateBankAccountRequest = {
10208
10233
  name?: string | null;
10209
10234
  number?: string | null;
10210
10235
  type?: string | null;
10236
+ payment_method?: string | null;
10211
10237
  /**
10212
10238
  * * `individual` - Individual
10213
10239
  * * `business` - Business
@@ -10228,6 +10254,7 @@ export type UserCreateBankAccountRequest = {
10228
10254
  check_digit?: string | null;
10229
10255
  pix_key?: string | null;
10230
10256
  br_code?: string | null;
10257
+ sort_code?: string | null;
10231
10258
  metadata?: {
10232
10259
  [key: string]: unknown;
10233
10260
  } | null;
@@ -10301,10 +10328,11 @@ export type UserDocument = {
10301
10328
  * * `obsolete` - Obsolete
10302
10329
  * * `declined` - Declined
10303
10330
  * * `pending` - Pending
10331
+ * * `paused` - Paused
10304
10332
  * * `incomplete` - Incomplete
10305
10333
  * * `verified` - Verified
10306
10334
  */
10307
- status: 'obsolete' | 'declined' | 'pending' | 'incomplete' | 'verified';
10335
+ readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
10308
10336
  metadata?: {
10309
10337
  [key: string]: unknown;
10310
10338
  } | null;
@@ -10359,7 +10387,7 @@ export type UserMessage = {
10359
10387
  * * `warning` - Warning
10360
10388
  * * `error` - Error
10361
10389
  */
10362
- level: 'info' | 'warning' | 'error';
10390
+ readonly level: 'info' | 'warning' | 'error';
10363
10391
  message: string;
10364
10392
  readonly created: number;
10365
10393
  readonly updated: number;
@@ -10383,12 +10411,13 @@ export type UserPermission = {
10383
10411
  * * `admin` - Admin
10384
10412
  * * `user` - User
10385
10413
  */
10386
- section: 'system' | 'admin' | 'user';
10414
+ readonly section: 'system' | 'admin' | 'user';
10387
10415
  /**
10388
10416
  * * `accesscontrolrule` - Access Control Rule
10389
10417
  * * `account` - Account
10390
10418
  * * `accountdefinition` - Account Definition
10391
10419
  * * `address` - Address
10420
+ * * `alert` - Alert
10392
10421
  * * `currency` - Currency
10393
10422
  * * `bankaccount` - Bank Account
10394
10423
  * * `company` - Company
@@ -10413,14 +10442,14 @@ export type UserPermission = {
10413
10442
  * * `user` - User
10414
10443
  * * `webhook` - Webhook
10415
10444
  */
10416
- type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'webhook';
10445
+ readonly type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'webhook';
10417
10446
  /**
10418
10447
  * * `view` - View
10419
10448
  * * `add` - Add
10420
10449
  * * `change` - Change
10421
10450
  * * `delete` - Delete
10422
10451
  */
10423
- level: 'view' | 'add' | 'change' | 'delete';
10452
+ readonly level: 'view' | 'add' | 'change' | 'delete';
10424
10453
  readonly properties: {
10425
10454
  [key: string]: unknown;
10426
10455
  };
@@ -10495,17 +10524,18 @@ export type UserWalletAccount = {
10495
10524
  * * `obsolete` - Obsolete
10496
10525
  * * `declined` - Declined
10497
10526
  * * `pending` - Pending
10527
+ * * `paused` - Paused
10498
10528
  * * `incomplete` - Incomplete
10499
10529
  * * `verified` - Verified
10500
10530
  */
10501
- status: 'obsolete' | 'declined' | 'pending' | 'incomplete' | 'verified';
10531
+ readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
10502
10532
  readonly currencies: Array<ReducedAsset>;
10503
10533
  readonly account_currencies: Array<ReducedAccountAsset>;
10504
10534
  /**
10505
10535
  * * `withdraw` - Withdraw
10506
10536
  * * `deposit` - Deposit
10507
10537
  */
10508
- action: 'withdraw' | 'deposit';
10538
+ readonly action: 'withdraw' | 'deposit';
10509
10539
  readonly created: number;
10510
10540
  readonly updated: number;
10511
10541
  };
@@ -11631,6 +11661,7 @@ export type CompanyBankAccountWritable = {
11631
11661
  name?: string | null;
11632
11662
  number?: string | null;
11633
11663
  type?: string | null;
11664
+ payment_method?: string | null;
11634
11665
  bank_name?: string | null;
11635
11666
  bank_code?: string | null;
11636
11667
  bank_currency?: string | null;
@@ -11644,6 +11675,7 @@ export type CompanyBankAccountWritable = {
11644
11675
  check_digit?: string | null;
11645
11676
  pix_key?: string | null;
11646
11677
  br_code?: string | null;
11678
+ sort_code?: string | null;
11647
11679
  metadata?: {
11648
11680
  [key: string]: unknown;
11649
11681
  } | null;
@@ -15869,6 +15901,7 @@ export type UserBankAccountWritable = {
15869
15901
  name?: string | null;
15870
15902
  number?: string | null;
15871
15903
  type?: string | null;
15904
+ payment_method?: string | null;
15872
15905
  /**
15873
15906
  * * `individual` - Individual
15874
15907
  * * `business` - Business
@@ -15889,6 +15922,7 @@ export type UserBankAccountWritable = {
15889
15922
  check_digit?: string | null;
15890
15923
  pix_key?: string | null;
15891
15924
  br_code?: string | null;
15925
+ sort_code?: string | null;
15892
15926
  metadata?: {
15893
15927
  [key: string]: unknown;
15894
15928
  } | null;
@@ -16941,6 +16975,36 @@ export type AuthTokensRetrieveResponses = {
16941
16975
 
16942
16976
  export type AuthTokensRetrieveResponse = AuthTokensRetrieveResponses[keyof AuthTokensRetrieveResponses];
16943
16977
 
16978
+ export type AuthTokensPartialUpdateData = {
16979
+ body?: PatchedUpdateAuthTokenRequest;
16980
+ path: {
16981
+ token_key: string;
16982
+ };
16983
+ query?: never;
16984
+ url: '/3/auth/tokens/{token_key}/';
16985
+ };
16986
+
16987
+ export type AuthTokensPartialUpdateResponses = {
16988
+ 200: AuthTokenResponse;
16989
+ };
16990
+
16991
+ export type AuthTokensPartialUpdateResponse = AuthTokensPartialUpdateResponses[keyof AuthTokensPartialUpdateResponses];
16992
+
16993
+ export type AuthTokensUpdateData = {
16994
+ body?: UpdateAuthTokenRequest;
16995
+ path: {
16996
+ token_key: string;
16997
+ };
16998
+ query?: never;
16999
+ url: '/3/auth/tokens/{token_key}/';
17000
+ };
17001
+
17002
+ export type AuthTokensUpdateResponses = {
17003
+ 200: AuthTokenResponse;
17004
+ };
17005
+
17006
+ export type AuthTokensUpdateResponse = AuthTokensUpdateResponses[keyof AuthTokensUpdateResponses];
17007
+
16944
17008
  export type CompanyRetrieveData = {
16945
17009
  body?: never;
16946
17010
  path?: never;