rehive 4.1.4 → 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 (237) hide show
  1. package/README.md +17 -0
  2. package/dist/admin.d.mts +514 -79
  3. package/dist/admin.d.ts +514 -79
  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-4WSHB6U6.mjs → chunk-A53KSFBA.mjs} +1 -1
  11. package/dist/chunk-CRNPJD3E.js +6 -0
  12. package/dist/{chunk-X6YDNXYV.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-C-LEZku2.d.mts → create-api-client-Bkkri-AM.d.mts} +1 -1
  19. package/dist/{create-api-client-ebyTfhcm.d.ts → create-api-client-CgvKBlQ_.d.ts} +1 -1
  20. package/dist/{create-auth-DsnHpEf0.d.mts → create-auth-ChOASbvo.d.mts} +71 -54
  21. package/dist/{create-auth-DsnHpEf0.d.ts → create-auth-ChOASbvo.d.ts} +71 -54
  22. package/dist/extensions/alchemy.d.mts +174 -40
  23. package/dist/extensions/alchemy.d.ts +174 -40
  24. package/dist/extensions/alchemy.js +3 -4
  25. package/dist/extensions/alchemy.mjs +3 -4
  26. package/dist/extensions/app.d.mts +10 -9
  27. package/dist/extensions/app.d.ts +10 -9
  28. package/dist/extensions/app.js +5 -6
  29. package/dist/extensions/app.mjs +5 -6
  30. package/dist/extensions/billing.d.mts +10 -9
  31. package/dist/extensions/billing.d.ts +10 -9
  32. package/dist/extensions/billing.js +2 -3
  33. package/dist/extensions/billing.mjs +2 -3
  34. package/dist/extensions/bridge.d.mts +352 -27
  35. package/dist/extensions/bridge.d.ts +352 -27
  36. package/dist/extensions/bridge.js +5 -6
  37. package/dist/extensions/bridge.mjs +5 -6
  38. package/dist/extensions/builder.d.mts +7 -6
  39. package/dist/extensions/builder.d.ts +7 -6
  40. package/dist/extensions/builder.js +3 -4
  41. package/dist/extensions/builder.mjs +3 -4
  42. package/dist/extensions/business.d.mts +26 -25
  43. package/dist/extensions/business.d.ts +26 -25
  44. package/dist/extensions/business.js +2 -3
  45. package/dist/extensions/business.mjs +2 -3
  46. package/dist/extensions/conversion.d.mts +9 -8
  47. package/dist/extensions/conversion.d.ts +9 -8
  48. package/dist/extensions/conversion.js +2 -3
  49. package/dist/extensions/conversion.mjs +2 -3
  50. package/dist/extensions/mass-send.d.mts +7 -6
  51. package/dist/extensions/mass-send.d.ts +7 -6
  52. package/dist/extensions/mass-send.js +2 -3
  53. package/dist/extensions/mass-send.mjs +2 -3
  54. package/dist/extensions/notifications.d.mts +15 -14
  55. package/dist/extensions/notifications.d.ts +15 -14
  56. package/dist/extensions/notifications.js +3 -4
  57. package/dist/extensions/notifications.mjs +3 -4
  58. package/dist/extensions/payment-requests.d.mts +10 -9
  59. package/dist/extensions/payment-requests.d.ts +10 -9
  60. package/dist/extensions/payment-requests.js +3 -4
  61. package/dist/extensions/payment-requests.mjs +3 -4
  62. package/dist/extensions/products.d.mts +42 -41
  63. package/dist/extensions/products.d.ts +42 -41
  64. package/dist/extensions/products.js +2 -3
  65. package/dist/extensions/products.mjs +2 -3
  66. package/dist/extensions/rain.d.mts +21 -20
  67. package/dist/extensions/rain.d.ts +21 -20
  68. package/dist/extensions/rain.js +2 -3
  69. package/dist/extensions/rain.mjs +2 -3
  70. package/dist/extensions/rewards.d.mts +7 -6
  71. package/dist/extensions/rewards.d.ts +7 -6
  72. package/dist/extensions/rewards.js +3 -4
  73. package/dist/extensions/rewards.mjs +3 -4
  74. package/dist/extensions/stellar-testnet.d.mts +15 -14
  75. package/dist/extensions/stellar-testnet.d.ts +15 -14
  76. package/dist/extensions/stellar-testnet.js +2 -3
  77. package/dist/extensions/stellar-testnet.mjs +2 -3
  78. package/dist/extensions/stellar.d.mts +15 -14
  79. package/dist/extensions/stellar.d.ts +15 -14
  80. package/dist/extensions/stellar.js +2 -3
  81. package/dist/extensions/stellar.mjs +2 -3
  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 +2 -2
  87. package/dist/react.d.ts +2 -2
  88. package/dist/react.js +1 -1
  89. package/dist/react.mjs +1 -1
  90. package/dist/user.d.mts +8 -7
  91. package/dist/user.d.ts +8 -7
  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 +17 -10
  96. package/src/extensions/alchemy/openapi-ts/client/client.gen.ts +12 -4
  97. package/src/extensions/alchemy/openapi-ts/client/types.gen.ts +2 -1
  98. package/src/extensions/alchemy/openapi-ts/client/utils.gen.ts +1 -1
  99. package/src/extensions/alchemy/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  100. package/src/extensions/alchemy/openapi-ts/core/types.gen.ts +1 -1
  101. package/src/extensions/alchemy/openapi-ts/core/utils.gen.ts +1 -1
  102. package/src/extensions/alchemy/openapi-ts/index.ts +2 -2
  103. package/src/extensions/alchemy/openapi-ts/sdk.gen.ts +44 -2
  104. package/src/extensions/alchemy/openapi-ts/types.gen.ts +177 -34
  105. package/src/extensions/app/openapi-ts/client/client.gen.ts +12 -4
  106. package/src/extensions/app/openapi-ts/client/types.gen.ts +2 -1
  107. package/src/extensions/app/openapi-ts/client/utils.gen.ts +1 -1
  108. package/src/extensions/app/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  109. package/src/extensions/app/openapi-ts/core/types.gen.ts +1 -1
  110. package/src/extensions/app/openapi-ts/core/utils.gen.ts +1 -1
  111. package/src/extensions/app/openapi-ts/sdk.gen.ts +1 -1
  112. package/src/extensions/app/openapi-ts/types.gen.ts +3 -3
  113. package/src/extensions/billing/openapi-ts/client/client.gen.ts +12 -4
  114. package/src/extensions/billing/openapi-ts/client/types.gen.ts +2 -1
  115. package/src/extensions/billing/openapi-ts/client/utils.gen.ts +1 -1
  116. package/src/extensions/billing/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  117. package/src/extensions/billing/openapi-ts/core/types.gen.ts +1 -1
  118. package/src/extensions/billing/openapi-ts/core/utils.gen.ts +1 -1
  119. package/src/extensions/billing/openapi-ts/sdk.gen.ts +1 -1
  120. package/src/extensions/billing/openapi-ts/types.gen.ts +3 -3
  121. package/src/extensions/bridge/openapi-ts/client/client.gen.ts +12 -4
  122. package/src/extensions/bridge/openapi-ts/client/types.gen.ts +2 -1
  123. package/src/extensions/bridge/openapi-ts/client/utils.gen.ts +1 -1
  124. package/src/extensions/bridge/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  125. package/src/extensions/bridge/openapi-ts/core/types.gen.ts +1 -1
  126. package/src/extensions/bridge/openapi-ts/core/utils.gen.ts +1 -1
  127. package/src/extensions/bridge/openapi-ts/index.ts +2 -2
  128. package/src/extensions/bridge/openapi-ts/sdk.gen.ts +48 -2
  129. package/src/extensions/bridge/openapi-ts/types.gen.ts +372 -19
  130. package/src/extensions/builder/openapi-ts/client/client.gen.ts +12 -4
  131. package/src/extensions/builder/openapi-ts/client/types.gen.ts +2 -1
  132. package/src/extensions/builder/openapi-ts/client/utils.gen.ts +1 -1
  133. package/src/extensions/builder/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  134. package/src/extensions/builder/openapi-ts/core/types.gen.ts +1 -1
  135. package/src/extensions/builder/openapi-ts/core/utils.gen.ts +1 -1
  136. package/src/extensions/builder/openapi-ts/sdk.gen.ts +1 -1
  137. package/src/extensions/business/openapi-ts/client/client.gen.ts +12 -4
  138. package/src/extensions/business/openapi-ts/client/types.gen.ts +2 -1
  139. package/src/extensions/business/openapi-ts/client/utils.gen.ts +1 -1
  140. package/src/extensions/business/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  141. package/src/extensions/business/openapi-ts/core/types.gen.ts +1 -1
  142. package/src/extensions/business/openapi-ts/core/utils.gen.ts +1 -1
  143. package/src/extensions/business/openapi-ts/sdk.gen.ts +1 -1
  144. package/src/extensions/business/openapi-ts/types.gen.ts +19 -19
  145. package/src/extensions/conversion/openapi-ts/client/client.gen.ts +12 -4
  146. package/src/extensions/conversion/openapi-ts/client/types.gen.ts +2 -1
  147. package/src/extensions/conversion/openapi-ts/client/utils.gen.ts +1 -1
  148. package/src/extensions/conversion/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  149. package/src/extensions/conversion/openapi-ts/core/types.gen.ts +1 -1
  150. package/src/extensions/conversion/openapi-ts/core/utils.gen.ts +1 -1
  151. package/src/extensions/conversion/openapi-ts/sdk.gen.ts +1 -1
  152. package/src/extensions/conversion/openapi-ts/types.gen.ts +2 -2
  153. package/src/extensions/mass-send/openapi-ts/client/client.gen.ts +12 -4
  154. package/src/extensions/mass-send/openapi-ts/client/types.gen.ts +2 -1
  155. package/src/extensions/mass-send/openapi-ts/client/utils.gen.ts +1 -1
  156. package/src/extensions/mass-send/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  157. package/src/extensions/mass-send/openapi-ts/core/types.gen.ts +1 -1
  158. package/src/extensions/mass-send/openapi-ts/core/utils.gen.ts +1 -1
  159. package/src/extensions/mass-send/openapi-ts/sdk.gen.ts +1 -1
  160. package/src/extensions/notifications/openapi-ts/client/client.gen.ts +12 -4
  161. package/src/extensions/notifications/openapi-ts/client/types.gen.ts +2 -1
  162. package/src/extensions/notifications/openapi-ts/client/utils.gen.ts +1 -1
  163. package/src/extensions/notifications/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  164. package/src/extensions/notifications/openapi-ts/core/types.gen.ts +1 -1
  165. package/src/extensions/notifications/openapi-ts/core/utils.gen.ts +1 -1
  166. package/src/extensions/notifications/openapi-ts/sdk.gen.ts +1 -1
  167. package/src/extensions/notifications/openapi-ts/types.gen.ts +8 -8
  168. package/src/extensions/payment-requests/openapi-ts/client/client.gen.ts +12 -4
  169. package/src/extensions/payment-requests/openapi-ts/client/types.gen.ts +2 -1
  170. package/src/extensions/payment-requests/openapi-ts/client/utils.gen.ts +1 -1
  171. package/src/extensions/payment-requests/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  172. package/src/extensions/payment-requests/openapi-ts/core/types.gen.ts +1 -1
  173. package/src/extensions/payment-requests/openapi-ts/core/utils.gen.ts +1 -1
  174. package/src/extensions/payment-requests/openapi-ts/sdk.gen.ts +1 -1
  175. package/src/extensions/payment-requests/openapi-ts/types.gen.ts +3 -3
  176. package/src/extensions/products/openapi-ts/client/client.gen.ts +12 -4
  177. package/src/extensions/products/openapi-ts/client/types.gen.ts +2 -1
  178. package/src/extensions/products/openapi-ts/client/utils.gen.ts +1 -1
  179. package/src/extensions/products/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  180. package/src/extensions/products/openapi-ts/core/types.gen.ts +1 -1
  181. package/src/extensions/products/openapi-ts/core/utils.gen.ts +1 -1
  182. package/src/extensions/products/openapi-ts/sdk.gen.ts +1 -1
  183. package/src/extensions/products/openapi-ts/types.gen.ts +35 -35
  184. package/src/extensions/rain/openapi-ts/client/client.gen.ts +12 -4
  185. package/src/extensions/rain/openapi-ts/client/types.gen.ts +2 -1
  186. package/src/extensions/rain/openapi-ts/client/utils.gen.ts +1 -1
  187. package/src/extensions/rain/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  188. package/src/extensions/rain/openapi-ts/core/types.gen.ts +1 -1
  189. package/src/extensions/rain/openapi-ts/core/utils.gen.ts +1 -1
  190. package/src/extensions/rain/openapi-ts/sdk.gen.ts +1 -1
  191. package/src/extensions/rain/openapi-ts/types.gen.ts +14 -14
  192. package/src/extensions/rewards/openapi-ts/client/client.gen.ts +12 -4
  193. package/src/extensions/rewards/openapi-ts/client/types.gen.ts +2 -1
  194. package/src/extensions/rewards/openapi-ts/client/utils.gen.ts +1 -1
  195. package/src/extensions/rewards/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  196. package/src/extensions/rewards/openapi-ts/core/types.gen.ts +1 -1
  197. package/src/extensions/rewards/openapi-ts/core/utils.gen.ts +1 -1
  198. package/src/extensions/rewards/openapi-ts/sdk.gen.ts +1 -1
  199. package/src/extensions/stellar/openapi-ts/client/client.gen.ts +12 -4
  200. package/src/extensions/stellar/openapi-ts/client/types.gen.ts +2 -1
  201. package/src/extensions/stellar/openapi-ts/client/utils.gen.ts +1 -1
  202. package/src/extensions/stellar/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  203. package/src/extensions/stellar/openapi-ts/core/types.gen.ts +1 -1
  204. package/src/extensions/stellar/openapi-ts/core/utils.gen.ts +1 -1
  205. package/src/extensions/stellar/openapi-ts/sdk.gen.ts +1 -1
  206. package/src/extensions/stellar/openapi-ts/types.gen.ts +8 -8
  207. package/src/extensions/stellar-testnet/openapi-ts/client/client.gen.ts +12 -4
  208. package/src/extensions/stellar-testnet/openapi-ts/client/types.gen.ts +2 -1
  209. package/src/extensions/stellar-testnet/openapi-ts/client/utils.gen.ts +1 -1
  210. package/src/extensions/stellar-testnet/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  211. package/src/extensions/stellar-testnet/openapi-ts/core/types.gen.ts +1 -1
  212. package/src/extensions/stellar-testnet/openapi-ts/core/utils.gen.ts +1 -1
  213. package/src/extensions/stellar-testnet/openapi-ts/sdk.gen.ts +1 -1
  214. package/src/extensions/stellar-testnet/openapi-ts/types.gen.ts +8 -8
  215. package/src/platform/admin/openapi-ts/client/client.gen.ts +12 -4
  216. package/src/platform/admin/openapi-ts/client/types.gen.ts +2 -1
  217. package/src/platform/admin/openapi-ts/client/utils.gen.ts +1 -1
  218. package/src/platform/admin/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  219. package/src/platform/admin/openapi-ts/core/types.gen.ts +1 -1
  220. package/src/platform/admin/openapi-ts/core/utils.gen.ts +1 -1
  221. package/src/platform/admin/openapi-ts/index.ts +2 -2
  222. package/src/platform/admin/openapi-ts/sdk.gen.ts +44 -2
  223. package/src/platform/admin/openapi-ts/types.gen.ts +524 -71
  224. package/src/platform/user/openapi-ts/client/client.gen.ts +12 -4
  225. package/src/platform/user/openapi-ts/client/types.gen.ts +2 -1
  226. package/src/platform/user/openapi-ts/client/utils.gen.ts +1 -1
  227. package/src/platform/user/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  228. package/src/platform/user/openapi-ts/core/types.gen.ts +1 -1
  229. package/src/platform/user/openapi-ts/core/utils.gen.ts +1 -1
  230. package/src/platform/user/openapi-ts/sdk.gen.ts +1 -1
  231. package/src/platform/user/openapi-ts/types.gen.ts +69 -52
  232. package/dist/chunk-AVPKHYGS.js +0 -7
  233. package/dist/chunk-KUT5NSX7.mjs +0 -7
  234. package/dist/chunk-KZWBOQHZ.mjs +0 -7
  235. package/dist/chunk-PE6PG7ZE.js +0 -1
  236. package/dist/chunk-UYYU5OJ4.js +0 -7
  237. package/dist/chunk-Z7BUNKND.mjs +0 -1
@@ -416,6 +416,44 @@ export type AdminAccountResponse = {
416
416
  data: AdminAccount;
417
417
  };
418
418
 
419
+ /**
420
+ * A ModelSerializer that takes additional arguments for
421
+ * "fields", "omit" and "expand" in order to
422
+ * control which fields are displayed, and whether to replace simple
423
+ * values with complex, nested serializations
424
+ */
425
+ export type AdminAlert = {
426
+ readonly id: string;
427
+ readonly transaction: string | null;
428
+ user: ReducedUserInfo;
429
+ author: ReducedUserInfo;
430
+ name: string;
431
+ description?: string | null;
432
+ /**
433
+ * * `info` - Info
434
+ * * `low` - Low
435
+ * * `medium` - Medium
436
+ * * `high` - High
437
+ * * `critical` - Critical
438
+ */
439
+ priority?: 'info' | 'low' | 'medium' | 'high' | 'critical';
440
+ /**
441
+ * * `open` - Open
442
+ * * `assigned` - Assigned
443
+ * * `paused` - Paused
444
+ * * `closed` - Closed
445
+ * * `reopened` - Reopened
446
+ */
447
+ status: 'open' | 'assigned' | 'paused' | 'closed' | 'reopened';
448
+ metadata?: {
449
+ [key: string]: unknown;
450
+ } | null;
451
+ readonly external: boolean;
452
+ archived?: boolean;
453
+ readonly created: string;
454
+ readonly updated: string;
455
+ };
456
+
419
457
  /**
420
458
  * A ModelSerializer that takes additional arguments for
421
459
  * "fields", "omit" and "expand" in order to
@@ -493,7 +531,7 @@ export type AdminAuthenticatorRule = {
493
531
  * * `authorization` - Authorization
494
532
  * * `setup` - Setup
495
533
  */
496
- type: 'authentication' | 'authorization' | 'setup';
534
+ readonly type: 'authentication' | 'authorization' | 'setup';
497
535
  /**
498
536
  * * `ephemeral` - Ephemeral
499
537
  * * `durable` - Durable
@@ -795,7 +833,7 @@ export type AdminCompany = {
795
833
  * * `test` - Test
796
834
  * * `production` - Production
797
835
  */
798
- mode: 'test' | 'production';
836
+ readonly mode: 'test' | 'production';
799
837
  /**
800
838
  * * `pending` - Pending
801
839
  * * `active` - Active
@@ -855,6 +893,7 @@ export type AdminCompanyBankAccount = {
855
893
  name?: string | null;
856
894
  number?: string | null;
857
895
  type?: string | null;
896
+ payment_method?: string | null;
858
897
  bank_name?: string | null;
859
898
  bank_code?: string | null;
860
899
  bank_currency?: string | null;
@@ -868,6 +907,7 @@ export type AdminCompanyBankAccount = {
868
907
  check_digit?: string | null;
869
908
  pix_key?: string | null;
870
909
  br_code?: string | null;
910
+ sort_code?: string | null;
871
911
  metadata?: {
872
912
  [key: string]: unknown;
873
913
  } | null;
@@ -914,6 +954,7 @@ export type AdminCompanyBankAccountRequest = {
914
954
  name?: string | null;
915
955
  number?: string | null;
916
956
  type?: string | null;
957
+ payment_method?: string | null;
917
958
  bank_name?: string | null;
918
959
  bank_code?: string | null;
919
960
  bank_currency?: string | null;
@@ -927,6 +968,7 @@ export type AdminCompanyBankAccountRequest = {
927
968
  check_digit?: string | null;
928
969
  pix_key?: string | null;
929
970
  br_code?: string | null;
971
+ sort_code?: string | null;
930
972
  metadata?: {
931
973
  [key: string]: unknown;
932
974
  } | null;
@@ -956,7 +998,7 @@ export type AdminCompanyLink = {
956
998
  * * `pending` - Pending
957
999
  * * `complete` - Complete
958
1000
  */
959
- status: 'pending' | 'complete';
1001
+ readonly status: 'pending' | 'complete';
960
1002
  readonly created: number;
961
1003
  readonly updated: number;
962
1004
  };
@@ -973,7 +1015,7 @@ export type AdminCompanyLinkCounterparty = {
973
1015
  * * `pending` - Pending
974
1016
  * * `complete` - Complete
975
1017
  */
976
- status: 'pending' | 'complete';
1018
+ readonly status: 'pending' | 'complete';
977
1019
  };
978
1020
 
979
1021
  export type AdminCompanyLinkResponse = {
@@ -1489,6 +1531,40 @@ export type AdminCreateAccountRequest = {
1489
1531
  archived?: boolean;
1490
1532
  };
1491
1533
 
1534
+ /**
1535
+ * A ModelSerializer that takes additional arguments for
1536
+ * "fields", "omit" and "expand" in order to
1537
+ * control which fields are displayed, and whether to replace simple
1538
+ * values with complex, nested serializations
1539
+ */
1540
+ export type AdminCreateAlertRequest = {
1541
+ name: string;
1542
+ description?: string | null;
1543
+ /**
1544
+ * * `info` - Info
1545
+ * * `low` - Low
1546
+ * * `medium` - Medium
1547
+ * * `high` - High
1548
+ * * `critical` - Critical
1549
+ */
1550
+ priority?: 'info' | 'low' | 'medium' | 'high' | 'critical';
1551
+ /**
1552
+ * * `open` - Open
1553
+ * * `assigned` - Assigned
1554
+ * * `paused` - Paused
1555
+ * * `closed` - Closed
1556
+ * * `reopened` - Reopened
1557
+ */
1558
+ status: 'open' | 'assigned' | 'paused' | 'closed' | 'reopened';
1559
+ metadata?: {
1560
+ [key: string]: unknown;
1561
+ } | null;
1562
+ archived?: boolean;
1563
+ actions?: Array<{
1564
+ [key: string]: unknown;
1565
+ }>;
1566
+ };
1567
+
1492
1568
  /**
1493
1569
  * A ModelSerializer that takes additional arguments for
1494
1570
  * "fields", "omit" and "expand" in order to
@@ -2341,6 +2417,7 @@ export type AdminCreateUserBankAccountRequest = {
2341
2417
  owner?: BankOwnerRequest | null;
2342
2418
  number?: string | null;
2343
2419
  type?: string | null;
2420
+ payment_method?: string | null;
2344
2421
  /**
2345
2422
  * * `individual` - Individual
2346
2423
  * * `business` - Business
@@ -2360,6 +2437,7 @@ export type AdminCreateUserBankAccountRequest = {
2360
2437
  check_digit?: string | null;
2361
2438
  pix_key?: string | null;
2362
2439
  br_code?: string | null;
2440
+ sort_code?: string | null;
2363
2441
  /**
2364
2442
  * * `obsolete` - Obsolete
2365
2443
  * * `declined` - Declined
@@ -3378,7 +3456,7 @@ export type AdminExport = {
3378
3456
  * * `transaction` - Transaction
3379
3457
  * * `user` - User
3380
3458
  */
3381
- resource: 'account' | 'account_currency' | 'transaction' | 'user';
3459
+ readonly resource: 'account' | 'account_currency' | 'transaction' | 'user';
3382
3460
  query?: {
3383
3461
  [key: string]: unknown;
3384
3462
  } | null;
@@ -3388,7 +3466,7 @@ export type AdminExport = {
3388
3466
  * * `complete` - Complete
3389
3467
  * * `failed` - Failed
3390
3468
  */
3391
- status: 'queued' | 'processing' | 'complete' | 'failed';
3469
+ readonly status: 'queued' | 'processing' | 'complete' | 'failed';
3392
3470
  progress: number;
3393
3471
  count?: number | null;
3394
3472
  page_size?: number;
@@ -3396,7 +3474,7 @@ export type AdminExport = {
3396
3474
  * * `json` - JSON
3397
3475
  * * `csv` - CSV
3398
3476
  */
3399
- file_format: 'json' | 'csv';
3477
+ readonly file_format: 'json' | 'csv';
3400
3478
  readonly created: number;
3401
3479
  readonly updated: number;
3402
3480
  user: ReducedUserInfo;
@@ -3453,6 +3531,86 @@ export type AdminExtendedAccountResponse = {
3453
3531
  data: AdminExtendedAccount;
3454
3532
  };
3455
3533
 
3534
+ /**
3535
+ * A ModelSerializer that takes additional arguments for
3536
+ * "fields", "omit" and "expand" in order to
3537
+ * control which fields are displayed, and whether to replace simple
3538
+ * values with complex, nested serializations
3539
+ */
3540
+ export type AdminExtendedAlert = {
3541
+ readonly id: string;
3542
+ readonly transaction: string | null;
3543
+ user: ReducedUserInfo;
3544
+ author: ReducedUserInfo;
3545
+ name: string;
3546
+ description?: string | null;
3547
+ /**
3548
+ * * `info` - Info
3549
+ * * `low` - Low
3550
+ * * `medium` - Medium
3551
+ * * `high` - High
3552
+ * * `critical` - Critical
3553
+ */
3554
+ priority?: 'info' | 'low' | 'medium' | 'high' | 'critical';
3555
+ /**
3556
+ * * `open` - Open
3557
+ * * `assigned` - Assigned
3558
+ * * `paused` - Paused
3559
+ * * `closed` - Closed
3560
+ * * `reopened` - Reopened
3561
+ */
3562
+ status: 'open' | 'assigned' | 'paused' | 'closed' | 'reopened';
3563
+ metadata?: {
3564
+ [key: string]: unknown;
3565
+ } | null;
3566
+ readonly external: boolean;
3567
+ archived?: boolean;
3568
+ readonly created: string;
3569
+ readonly updated: string;
3570
+ actions?: Array<{
3571
+ [key: string]: unknown;
3572
+ }>;
3573
+ };
3574
+
3575
+ /**
3576
+ * A ModelSerializer that takes additional arguments for
3577
+ * "fields", "omit" and "expand" in order to
3578
+ * control which fields are displayed, and whether to replace simple
3579
+ * values with complex, nested serializations
3580
+ */
3581
+ export type AdminExtendedAlertRequest = {
3582
+ name: string;
3583
+ description?: string | null;
3584
+ /**
3585
+ * * `info` - Info
3586
+ * * `low` - Low
3587
+ * * `medium` - Medium
3588
+ * * `high` - High
3589
+ * * `critical` - Critical
3590
+ */
3591
+ priority?: 'info' | 'low' | 'medium' | 'high' | 'critical';
3592
+ /**
3593
+ * * `open` - Open
3594
+ * * `assigned` - Assigned
3595
+ * * `paused` - Paused
3596
+ * * `closed` - Closed
3597
+ * * `reopened` - Reopened
3598
+ */
3599
+ status: 'open' | 'assigned' | 'paused' | 'closed' | 'reopened';
3600
+ metadata?: {
3601
+ [key: string]: unknown;
3602
+ } | null;
3603
+ archived?: boolean;
3604
+ actions?: Array<{
3605
+ [key: string]: unknown;
3606
+ }>;
3607
+ };
3608
+
3609
+ export type AdminExtendedAlertResponse = {
3610
+ status: string;
3611
+ data: AdminExtendedAlert;
3612
+ };
3613
+
3456
3614
  export type AdminExtendedAuthToken = {
3457
3615
  readonly token_key: string;
3458
3616
  readonly token: string;
@@ -3487,7 +3645,7 @@ export type AdminExtendedExport = {
3487
3645
  * * `transaction` - Transaction
3488
3646
  * * `user` - User
3489
3647
  */
3490
- resource: 'account' | 'account_currency' | 'transaction' | 'user';
3648
+ readonly resource: 'account' | 'account_currency' | 'transaction' | 'user';
3491
3649
  readonly query: {
3492
3650
  [key: string]: unknown;
3493
3651
  } | null;
@@ -3497,7 +3655,7 @@ export type AdminExtendedExport = {
3497
3655
  * * `complete` - Complete
3498
3656
  * * `failed` - Failed
3499
3657
  */
3500
- status: 'queued' | 'processing' | 'complete' | 'failed';
3658
+ readonly status: 'queued' | 'processing' | 'complete' | 'failed';
3501
3659
  progress: number;
3502
3660
  readonly count: number | null;
3503
3661
  readonly page_size: number;
@@ -3506,7 +3664,7 @@ export type AdminExtendedExport = {
3506
3664
  * * `json` - JSON
3507
3665
  * * `csv` - CSV
3508
3666
  */
3509
- file_format: 'json' | 'csv';
3667
+ readonly file_format: 'json' | 'csv';
3510
3668
  readonly created: number;
3511
3669
  readonly updated: number;
3512
3670
  user: ReducedUserInfo;
@@ -3595,6 +3753,7 @@ export type AdminExtendedRequest = {
3595
3753
  * * `accountdefinition` - Account Definition
3596
3754
  * * `accountdefinitiongroup` - Account Definition Group
3597
3755
  * * `accountdefinitiongroupcurrency` - Account Definition Group Currency
3756
+ * * `alert` - Alert
3598
3757
  * * `currency` - Currency
3599
3758
  * * `authenticator` - Authenticator
3600
3759
  * * `authenticatorchallenge` - Authenticator Challenge
@@ -3667,7 +3826,7 @@ export type AdminExtendedRequest = {
3667
3826
  * * `webhooktask` - Webhook Task
3668
3827
  * * `webhookrequest` - Webhook Request
3669
3828
  */
3670
- resource: 'accesscontrolrule' | 'account' | 'accountcurrency' | 'accountcurrencylimit' | 'accountcurrencyfee' | 'accountdefinition' | 'accountdefinitiongroup' | 'accountdefinitiongroupcurrency' | 'currency' | 'authenticator' | 'authenticatorchallenge' | 'authenticatorrule' | 'backgroundtask' | 'bankowneraddress' | 'bankbranchaddress' | 'company' | 'companyaddress' | 'companybankaccount' | 'companywalletaccount' | 'companyservice' | 'companynotification' | 'device' | 'deviceapp' | 'document' | 'documenttype' | 'export' | 'exportpage' | 'email' | 'group' | 'grouplimit' | 'groupfee' | 'grouppermission' | 'grouptier' | 'grouptierrequirement' | 'grouptierlimit' | 'grouptierfee' | 'grouptierrequirementsetitem' | 'grouptierrequirementset' | 'legalterm' | 'legaltermversion' | 'metric' | 'metric_schema' | 'metric_point' | 'mfa' | 'mfasmsdevice' | 'mfatotpdevice' | 'mfastaticdevice' | 'mfatokenverification' | 'mobile' | 'mobileconfirmation' | 'notification' | 'oauthclient' | 'oauthlink' | 'oauthsession' | 'oidckey' | 'permission' | 'recoverycode' | 'refresh_token' | 'request' | 'resourcerequirementrule' | 'service' | 'statement' | 'token' | 'transaction' | 'transactionfee' | 'transactionsubtype' | 'transactionmessage' | 'transactioncollection' | 'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount' | 'userlegaltermversion' | 'usermessage' | 'userpermission' | 'webhook' | 'webhooktask' | 'webhookrequest' | null;
3829
+ resource: 'accesscontrolrule' | 'account' | 'accountcurrency' | 'accountcurrencylimit' | 'accountcurrencyfee' | 'accountdefinition' | 'accountdefinitiongroup' | 'accountdefinitiongroupcurrency' | 'alert' | 'currency' | 'authenticator' | 'authenticatorchallenge' | 'authenticatorrule' | 'backgroundtask' | 'bankowneraddress' | 'bankbranchaddress' | 'company' | 'companyaddress' | 'companybankaccount' | 'companywalletaccount' | 'companyservice' | 'companynotification' | 'device' | 'deviceapp' | 'document' | 'documenttype' | 'export' | 'exportpage' | 'email' | 'group' | 'grouplimit' | 'groupfee' | 'grouppermission' | 'grouptier' | 'grouptierrequirement' | 'grouptierlimit' | 'grouptierfee' | 'grouptierrequirementsetitem' | 'grouptierrequirementset' | 'legalterm' | 'legaltermversion' | 'metric' | 'metric_schema' | 'metric_point' | 'mfa' | 'mfasmsdevice' | 'mfatotpdevice' | 'mfastaticdevice' | 'mfatokenverification' | 'mobile' | 'mobileconfirmation' | 'notification' | 'oauthclient' | 'oauthlink' | 'oauthsession' | 'oidckey' | 'permission' | 'recoverycode' | 'refresh_token' | 'request' | 'resourcerequirementrule' | 'service' | 'statement' | 'token' | 'transaction' | 'transactionfee' | 'transactionsubtype' | 'transactionmessage' | 'transactioncollection' | 'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount' | 'userlegaltermversion' | 'usermessage' | 'userpermission' | 'webhook' | 'webhooktask' | 'webhookrequest' | null;
3671
3830
  readonly resource_id: string | null;
3672
3831
  /**
3673
3832
  * Return a response object. This has to be unpickled from a stored
@@ -3706,7 +3865,7 @@ export type AdminExtendedTransaction = {
3706
3865
  * * `credit` - Credit
3707
3866
  * * `debit` - Debit
3708
3867
  */
3709
- tx_type: 'credit' | 'debit';
3868
+ readonly tx_type: 'credit' | 'debit';
3710
3869
  readonly subtype: string | null;
3711
3870
  note?: string;
3712
3871
  metadata?: {
@@ -3719,7 +3878,7 @@ export type AdminExtendedTransaction = {
3719
3878
  * * `Complete` - Complete
3720
3879
  * * `Failed` - Failed
3721
3880
  */
3722
- status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
3881
+ readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
3723
3882
  readonly reference: string | null;
3724
3883
  readonly amount: number;
3725
3884
  readonly fee: number;
@@ -3782,7 +3941,7 @@ export type AdminExtendedTransactionTransition = {
3782
3941
  * * `approved` - Approved
3783
3942
  * * `declined` - Declined
3784
3943
  */
3785
- status: 'queued' | 'pending' | 'approved' | 'declined';
3944
+ readonly status: 'queued' | 'pending' | 'approved' | 'declined';
3786
3945
  /**
3787
3946
  * * `Initiating` - Initiating
3788
3947
  * * `Quoted` - Quoted
@@ -3790,7 +3949,7 @@ export type AdminExtendedTransactionTransition = {
3790
3949
  * * `Complete` - Complete
3791
3950
  * * `Failed` - Failed
3792
3951
  */
3793
- from_status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
3952
+ readonly from_status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
3794
3953
  /**
3795
3954
  * * `Initiating` - Initiating
3796
3955
  * * `Quoted` - Quoted
@@ -3798,7 +3957,7 @@ export type AdminExtendedTransactionTransition = {
3798
3957
  * * `Complete` - Complete
3799
3958
  * * `Failed` - Failed
3800
3959
  */
3801
- to_status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
3960
+ readonly to_status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
3802
3961
  readonly index: number;
3803
3962
  readonly archived: boolean;
3804
3963
  readonly created: number;
@@ -4384,7 +4543,7 @@ export type AdminExtendedUserInfo = {
4384
4543
  * * `incomplete` - Incomplete
4385
4544
  * * `verified` - Verified
4386
4545
  */
4387
- status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
4546
+ readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
4388
4547
  readonly created: number;
4389
4548
  readonly updated: number;
4390
4549
  deactivated?: boolean;
@@ -4565,12 +4724,13 @@ export type AdminGroupPermission = {
4565
4724
  * * `admin` - Admin
4566
4725
  * * `user` - User
4567
4726
  */
4568
- section: 'system' | 'admin' | 'user';
4727
+ readonly section: 'system' | 'admin' | 'user';
4569
4728
  /**
4570
4729
  * * `accesscontrolrule` - Access Control Rule
4571
4730
  * * `account` - Account
4572
4731
  * * `accountdefinition` - Account Definition
4573
4732
  * * `address` - Address
4733
+ * * `alert` - Alert
4574
4734
  * * `currency` - Currency
4575
4735
  * * `bankaccount` - Bank Account
4576
4736
  * * `company` - Company
@@ -4595,14 +4755,14 @@ export type AdminGroupPermission = {
4595
4755
  * * `user` - User
4596
4756
  * * `webhook` - Webhook
4597
4757
  */
4598
- 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';
4758
+ 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';
4599
4759
  /**
4600
4760
  * * `view` - View
4601
4761
  * * `add` - Add
4602
4762
  * * `change` - Change
4603
4763
  * * `delete` - Delete
4604
4764
  */
4605
- level: 'view' | 'add' | 'change' | 'delete';
4765
+ readonly level: 'view' | 'add' | 'change' | 'delete';
4606
4766
  properties?: {
4607
4767
  [key: string]: unknown;
4608
4768
  } | null;
@@ -4825,7 +4985,7 @@ export type AdminLegalTerm = {
4825
4985
  * * `system` - System
4826
4986
  * * `company` - Company
4827
4987
  */
4828
- type: 'system' | 'company';
4988
+ readonly type: 'system' | 'company';
4829
4989
  name: string;
4830
4990
  description?: string | null;
4831
4991
  readonly groups: Array<string>;
@@ -4896,7 +5056,7 @@ export type AdminMfaAuthenticator = {
4896
5056
  * * `sms` - Sms
4897
5057
  * * `static` - Static
4898
5058
  */
4899
- type: 'totp' | 'sms' | 'static';
5059
+ readonly type: 'totp' | 'sms' | 'static';
4900
5060
  user: ReducedUserInfo;
4901
5061
  readonly verified: boolean;
4902
5062
  };
@@ -4934,7 +5094,7 @@ export type AdminMetric = {
4934
5094
  * * `user_active_count` - User Active Count
4935
5095
  * * `user_transacted_in_30days_count` - User Transacted In 30Days Count
4936
5096
  */
4937
- 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';
5097
+ 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';
4938
5098
  currency: ReducedAsset;
4939
5099
  readonly timezone: string;
4940
5100
  readonly query: {
@@ -4944,7 +5104,7 @@ export type AdminMetric = {
4944
5104
  * * `accumulate` - Accumulate
4945
5105
  * * `set` - Set
4946
5106
  */
4947
- method: 'accumulate' | 'set';
5107
+ readonly method: 'accumulate' | 'set';
4948
5108
  readonly created: number;
4949
5109
  readonly updated: number;
4950
5110
  user: ReducedUserInfo;
@@ -5833,6 +5993,7 @@ export type AdminRequest = {
5833
5993
  * * `accountdefinition` - Account Definition
5834
5994
  * * `accountdefinitiongroup` - Account Definition Group
5835
5995
  * * `accountdefinitiongroupcurrency` - Account Definition Group Currency
5996
+ * * `alert` - Alert
5836
5997
  * * `currency` - Currency
5837
5998
  * * `authenticator` - Authenticator
5838
5999
  * * `authenticatorchallenge` - Authenticator Challenge
@@ -5905,7 +6066,7 @@ export type AdminRequest = {
5905
6066
  * * `webhooktask` - Webhook Task
5906
6067
  * * `webhookrequest` - Webhook Request
5907
6068
  */
5908
- resource: 'accesscontrolrule' | 'account' | 'accountcurrency' | 'accountcurrencylimit' | 'accountcurrencyfee' | 'accountdefinition' | 'accountdefinitiongroup' | 'accountdefinitiongroupcurrency' | 'currency' | 'authenticator' | 'authenticatorchallenge' | 'authenticatorrule' | 'backgroundtask' | 'bankowneraddress' | 'bankbranchaddress' | 'company' | 'companyaddress' | 'companybankaccount' | 'companywalletaccount' | 'companyservice' | 'companynotification' | 'device' | 'deviceapp' | 'document' | 'documenttype' | 'export' | 'exportpage' | 'email' | 'group' | 'grouplimit' | 'groupfee' | 'grouppermission' | 'grouptier' | 'grouptierrequirement' | 'grouptierlimit' | 'grouptierfee' | 'grouptierrequirementsetitem' | 'grouptierrequirementset' | 'legalterm' | 'legaltermversion' | 'metric' | 'metric_schema' | 'metric_point' | 'mfa' | 'mfasmsdevice' | 'mfatotpdevice' | 'mfastaticdevice' | 'mfatokenverification' | 'mobile' | 'mobileconfirmation' | 'notification' | 'oauthclient' | 'oauthlink' | 'oauthsession' | 'oidckey' | 'permission' | 'recoverycode' | 'refresh_token' | 'request' | 'resourcerequirementrule' | 'service' | 'statement' | 'token' | 'transaction' | 'transactionfee' | 'transactionsubtype' | 'transactionmessage' | 'transactioncollection' | 'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount' | 'userlegaltermversion' | 'usermessage' | 'userpermission' | 'webhook' | 'webhooktask' | 'webhookrequest' | null;
6069
+ resource: 'accesscontrolrule' | 'account' | 'accountcurrency' | 'accountcurrencylimit' | 'accountcurrencyfee' | 'accountdefinition' | 'accountdefinitiongroup' | 'accountdefinitiongroupcurrency' | 'alert' | 'currency' | 'authenticator' | 'authenticatorchallenge' | 'authenticatorrule' | 'backgroundtask' | 'bankowneraddress' | 'bankbranchaddress' | 'company' | 'companyaddress' | 'companybankaccount' | 'companywalletaccount' | 'companyservice' | 'companynotification' | 'device' | 'deviceapp' | 'document' | 'documenttype' | 'export' | 'exportpage' | 'email' | 'group' | 'grouplimit' | 'groupfee' | 'grouppermission' | 'grouptier' | 'grouptierrequirement' | 'grouptierlimit' | 'grouptierfee' | 'grouptierrequirementsetitem' | 'grouptierrequirementset' | 'legalterm' | 'legaltermversion' | 'metric' | 'metric_schema' | 'metric_point' | 'mfa' | 'mfasmsdevice' | 'mfatotpdevice' | 'mfastaticdevice' | 'mfatokenverification' | 'mobile' | 'mobileconfirmation' | 'notification' | 'oauthclient' | 'oauthlink' | 'oauthsession' | 'oidckey' | 'permission' | 'recoverycode' | 'refresh_token' | 'request' | 'resourcerequirementrule' | 'service' | 'statement' | 'token' | 'transaction' | 'transactionfee' | 'transactionsubtype' | 'transactionmessage' | 'transactioncollection' | 'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount' | 'userlegaltermversion' | 'usermessage' | 'userpermission' | 'webhook' | 'webhooktask' | 'webhookrequest' | null;
5909
6070
  readonly resource_id: string | null;
5910
6071
  readonly created: number;
5911
6072
  readonly updated: number;
@@ -5930,7 +6091,7 @@ export type AdminService = {
5930
6091
  * * `public` - Public
5931
6092
  * * `private` - Private
5932
6093
  */
5933
- type: 'system' | 'public' | 'private';
6094
+ readonly type: 'system' | 'public' | 'private';
5934
6095
  name: string;
5935
6096
  description?: string | null;
5936
6097
  tags?: Array<string> | null;
@@ -5981,7 +6142,7 @@ export type AdminStatement = {
5981
6142
  * * `complete` - Complete
5982
6143
  * * `failed` - Failed
5983
6144
  */
5984
- status: 'queued' | 'processing' | 'complete' | 'failed';
6145
+ readonly status: 'queued' | 'processing' | 'complete' | 'failed';
5985
6146
  readonly created: number;
5986
6147
  readonly updated: number;
5987
6148
  archived?: boolean;
@@ -6012,7 +6173,7 @@ export type AdminTransaction = {
6012
6173
  * * `credit` - Credit
6013
6174
  * * `debit` - Debit
6014
6175
  */
6015
- tx_type: 'credit' | 'debit';
6176
+ readonly tx_type: 'credit' | 'debit';
6016
6177
  readonly subtype: string | null;
6017
6178
  readonly note: string;
6018
6179
  readonly metadata: {
@@ -6025,7 +6186,7 @@ export type AdminTransaction = {
6025
6186
  * * `Complete` - Complete
6026
6187
  * * `Failed` - Failed
6027
6188
  */
6028
- status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
6189
+ readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
6029
6190
  readonly reference: string | null;
6030
6191
  readonly amount: number;
6031
6192
  readonly fee: number;
@@ -6060,7 +6221,7 @@ export type AdminTransactionCollection = {
6060
6221
  * * `Complete` - Complete
6061
6222
  * * `Failed` - Failed
6062
6223
  */
6063
- status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
6224
+ readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
6064
6225
  archived?: boolean;
6065
6226
  readonly created: number;
6066
6227
  readonly updated: number;
@@ -6091,7 +6252,7 @@ export type AdminTransactionCollectionTransaction = {
6091
6252
  * * `credit` - Credit
6092
6253
  * * `debit` - Debit
6093
6254
  */
6094
- tx_type: 'credit' | 'debit';
6255
+ readonly tx_type: 'credit' | 'debit';
6095
6256
  readonly subtype: string | null;
6096
6257
  readonly note: string;
6097
6258
  readonly metadata: {
@@ -6104,7 +6265,7 @@ export type AdminTransactionCollectionTransaction = {
6104
6265
  * * `Complete` - Complete
6105
6266
  * * `Failed` - Failed
6106
6267
  */
6107
- status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
6268
+ readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
6108
6269
  readonly reference: string | null;
6109
6270
  readonly amount: number;
6110
6271
  readonly fee: number;
@@ -6189,14 +6350,14 @@ export type AdminTransactionSubtype = {
6189
6350
  * * `credit` - Credit
6190
6351
  * * `debit` - Debit
6191
6352
  */
6192
- tx_type: 'credit' | 'debit';
6353
+ readonly tx_type: 'credit' | 'debit';
6193
6354
  /**
6194
6355
  * * `partner` - Partner
6195
6356
  * * `single` - Single
6196
6357
  *
6197
6358
  * @deprecated
6198
6359
  */
6199
- usage_type: 'partner' | 'single' | null;
6360
+ readonly usage_type: 'partner' | 'single' | null;
6200
6361
  partner: ReducedTransactionSubtype;
6201
6362
  archived?: boolean;
6202
6363
  readonly created: number;
@@ -6231,7 +6392,7 @@ export type AdminTransactionTransition = {
6231
6392
  * * `approved` - Approved
6232
6393
  * * `declined` - Declined
6233
6394
  */
6234
- status: 'queued' | 'pending' | 'approved' | 'declined';
6395
+ readonly status: 'queued' | 'pending' | 'approved' | 'declined';
6235
6396
  /**
6236
6397
  * * `Initiating` - Initiating
6237
6398
  * * `Quoted` - Quoted
@@ -6239,7 +6400,7 @@ export type AdminTransactionTransition = {
6239
6400
  * * `Complete` - Complete
6240
6401
  * * `Failed` - Failed
6241
6402
  */
6242
- from_status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
6403
+ readonly from_status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
6243
6404
  /**
6244
6405
  * * `Initiating` - Initiating
6245
6406
  * * `Quoted` - Quoted
@@ -6247,7 +6408,7 @@ export type AdminTransactionTransition = {
6247
6408
  * * `Complete` - Complete
6248
6409
  * * `Failed` - Failed
6249
6410
  */
6250
- to_status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
6411
+ readonly to_status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
6251
6412
  readonly index: number;
6252
6413
  readonly archived: boolean;
6253
6414
  readonly created: number;
@@ -6580,12 +6741,13 @@ export type AdminUpdateServicePermission = {
6580
6741
  * * `admin` - Admin
6581
6742
  * * `user` - User
6582
6743
  */
6583
- section: 'system' | 'admin' | 'user';
6744
+ readonly section: 'system' | 'admin' | 'user';
6584
6745
  /**
6585
6746
  * * `accesscontrolrule` - Access Control Rule
6586
6747
  * * `account` - Account
6587
6748
  * * `accountdefinition` - Account Definition
6588
6749
  * * `address` - Address
6750
+ * * `alert` - Alert
6589
6751
  * * `currency` - Currency
6590
6752
  * * `bankaccount` - Bank Account
6591
6753
  * * `company` - Company
@@ -6610,14 +6772,14 @@ export type AdminUpdateServicePermission = {
6610
6772
  * * `user` - User
6611
6773
  * * `webhook` - Webhook
6612
6774
  */
6613
- 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';
6775
+ 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';
6614
6776
  /**
6615
6777
  * * `view` - View
6616
6778
  * * `add` - Add
6617
6779
  * * `change` - Change
6618
6780
  * * `delete` - Delete
6619
6781
  */
6620
- level: 'view' | 'add' | 'change' | 'delete';
6782
+ readonly level: 'view' | 'add' | 'change' | 'delete';
6621
6783
  };
6622
6784
 
6623
6785
  export type AdminUpdateServicePermissionResponse = {
@@ -7875,6 +8037,7 @@ export type AdminUserBankAccount = {
7875
8037
  owner?: BankOwner | null;
7876
8038
  number?: string | null;
7877
8039
  type?: string | null;
8040
+ payment_method?: string | null;
7878
8041
  /**
7879
8042
  * * `individual` - Individual
7880
8043
  * * `business` - Business
@@ -7894,6 +8057,7 @@ export type AdminUserBankAccount = {
7894
8057
  check_digit?: string | null;
7895
8058
  pix_key?: string | null;
7896
8059
  br_code?: string | null;
8060
+ sort_code?: string | null;
7897
8061
  readonly code: string | null;
7898
8062
  /**
7899
8063
  * * `obsolete` - Obsolete
@@ -7960,6 +8124,7 @@ export type AdminUserBankAccountRequest = {
7960
8124
  owner?: BankOwnerRequest | null;
7961
8125
  number?: string | null;
7962
8126
  type?: string | null;
8127
+ payment_method?: string | null;
7963
8128
  /**
7964
8129
  * * `individual` - Individual
7965
8130
  * * `business` - Business
@@ -7979,6 +8144,7 @@ export type AdminUserBankAccountRequest = {
7979
8144
  check_digit?: string | null;
7980
8145
  pix_key?: string | null;
7981
8146
  br_code?: string | null;
8147
+ sort_code?: string | null;
7982
8148
  /**
7983
8149
  * * `obsolete` - Obsolete
7984
8150
  * * `declined` - Declined
@@ -8557,7 +8723,7 @@ export type AdminUserDocument = {
8557
8723
  * * `incomplete` - Incomplete
8558
8724
  * * `verified` - Verified
8559
8725
  */
8560
- status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
8726
+ readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
8561
8727
  readonly metadata: {
8562
8728
  [key: string]: unknown;
8563
8729
  } | null;
@@ -9175,7 +9341,7 @@ export type AdminUserInfo = {
9175
9341
  * * `incomplete` - Incomplete
9176
9342
  * * `verified` - Verified
9177
9343
  */
9178
- status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
9344
+ readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
9179
9345
  readonly created: number;
9180
9346
  readonly updated: number;
9181
9347
  deactivated?: boolean;
@@ -9201,7 +9367,7 @@ export type AdminUserLegalTerm = {
9201
9367
  * * `system` - System
9202
9368
  * * `company` - Company
9203
9369
  */
9204
- type: 'system' | 'company';
9370
+ readonly type: 'system' | 'company';
9205
9371
  name: string;
9206
9372
  description?: string | null;
9207
9373
  readonly versions: Array<AdminReducedUserLegalTermVersion>;
@@ -9288,12 +9454,13 @@ export type AdminUserPermission = {
9288
9454
  * * `admin` - Admin
9289
9455
  * * `user` - User
9290
9456
  */
9291
- section: 'system' | 'admin' | 'user';
9457
+ readonly section: 'system' | 'admin' | 'user';
9292
9458
  /**
9293
9459
  * * `accesscontrolrule` - Access Control Rule
9294
9460
  * * `account` - Account
9295
9461
  * * `accountdefinition` - Account Definition
9296
9462
  * * `address` - Address
9463
+ * * `alert` - Alert
9297
9464
  * * `currency` - Currency
9298
9465
  * * `bankaccount` - Bank Account
9299
9466
  * * `company` - Company
@@ -9318,14 +9485,14 @@ export type AdminUserPermission = {
9318
9485
  * * `user` - User
9319
9486
  * * `webhook` - Webhook
9320
9487
  */
9321
- 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';
9488
+ 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';
9322
9489
  /**
9323
9490
  * * `view` - View
9324
9491
  * * `add` - Add
9325
9492
  * * `change` - Change
9326
9493
  * * `delete` - Delete
9327
9494
  */
9328
- level: 'view' | 'add' | 'change' | 'delete';
9495
+ readonly level: 'view' | 'add' | 'change' | 'delete';
9329
9496
  properties?: {
9330
9497
  [key: string]: unknown;
9331
9498
  } | null;
@@ -9511,8 +9678,10 @@ export type AdminWebhook = {
9511
9678
  * * `transaction.transition.create` - Transaction Transition Create
9512
9679
  * * `transaction.transition.update` - Transaction Transition Update
9513
9680
  * * `mfa.sms.verify` - Mfa Sms Verify
9681
+ * * `alert.create` - Alert Create
9682
+ * * `alert.update` - Alert Update
9514
9683
  */
9515
- event: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'bank_account.delete' | 'crypto_account.create' | 'crypto_account.update' | 'account.create' | 'account.update' | 'account.currency.create' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify';
9684
+ event: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'bank_account.delete' | 'crypto_account.create' | 'crypto_account.update' | 'account.create' | 'account.update' | 'account.currency.create' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify' | 'alert.create' | 'alert.update';
9516
9685
  secret?: string;
9517
9686
  condition?: string | null;
9518
9687
  enabled?: boolean;
@@ -9602,13 +9771,13 @@ export type AuthenticatorChallenge = {
9602
9771
  * * `authorization` - Authorization
9603
9772
  * * `setup` - Setup
9604
9773
  */
9605
- type: 'authentication' | 'authorization' | 'setup';
9774
+ readonly type: 'authentication' | 'authorization' | 'setup';
9606
9775
  /**
9607
9776
  * * `ephemeral` - Ephemeral
9608
9777
  * * `durable` - Durable
9609
9778
  * * `permanent` - Permanent
9610
9779
  */
9611
- durability: 'ephemeral' | 'durable' | 'permanent';
9780
+ readonly durability: 'ephemeral' | 'durable' | 'permanent';
9612
9781
  readonly authenticator_types: Array<'totp' | 'sms' | 'static'>;
9613
9782
  readonly created: number;
9614
9783
  };
@@ -10827,6 +10996,7 @@ export type CreatePermissionRequest = {
10827
10996
  * * `account` - Account
10828
10997
  * * `accountdefinition` - Account Definition
10829
10998
  * * `address` - Address
10999
+ * * `alert` - Alert
10830
11000
  * * `currency` - Currency
10831
11001
  * * `bankaccount` - Bank Account
10832
11002
  * * `company` - Company
@@ -10851,7 +11021,7 @@ export type CreatePermissionRequest = {
10851
11021
  * * `user` - User
10852
11022
  * * `webhook` - Webhook
10853
11023
  */
10854
- 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';
11024
+ 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';
10855
11025
  /**
10856
11026
  * * `view` - View
10857
11027
  * * `add` - Add
@@ -11488,7 +11658,7 @@ export type ExtendedUserInfo = {
11488
11658
  * * `incomplete` - Incomplete
11489
11659
  * * `verified` - Verified
11490
11660
  */
11491
- status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
11661
+ readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
11492
11662
  readonly created: number;
11493
11663
  readonly updated: number;
11494
11664
  settings: UserSettings;
@@ -11517,12 +11687,13 @@ export type GroupPermission = {
11517
11687
  * * `admin` - Admin
11518
11688
  * * `user` - User
11519
11689
  */
11520
- section: 'system' | 'admin' | 'user';
11690
+ readonly section: 'system' | 'admin' | 'user';
11521
11691
  /**
11522
11692
  * * `accesscontrolrule` - Access Control Rule
11523
11693
  * * `account` - Account
11524
11694
  * * `accountdefinition` - Account Definition
11525
11695
  * * `address` - Address
11696
+ * * `alert` - Alert
11526
11697
  * * `currency` - Currency
11527
11698
  * * `bankaccount` - Bank Account
11528
11699
  * * `company` - Company
@@ -11547,14 +11718,14 @@ export type GroupPermission = {
11547
11718
  * * `user` - User
11548
11719
  * * `webhook` - Webhook
11549
11720
  */
11550
- 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';
11721
+ 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';
11551
11722
  /**
11552
11723
  * * `view` - View
11553
11724
  * * `add` - Add
11554
11725
  * * `change` - Change
11555
11726
  * * `delete` - Delete
11556
11727
  */
11557
- level: 'view' | 'add' | 'change' | 'delete';
11728
+ readonly level: 'view' | 'add' | 'change' | 'delete';
11558
11729
  readonly properties: {
11559
11730
  [key: string]: unknown;
11560
11731
  };
@@ -11705,7 +11876,7 @@ export type GroupTierRequirementSetItem = {
11705
11876
  /**
11706
11877
  * * `resource` - Resource
11707
11878
  */
11708
- type: 'resource';
11879
+ readonly type: 'resource';
11709
11880
  rule: GroupTierRequirementSetItemRule;
11710
11881
  name?: string | null;
11711
11882
  description?: string | null;
@@ -11912,6 +12083,18 @@ export type PaginatedAdminAccountListResponse = {
11912
12083
  data: PaginatedAdminAccountList;
11913
12084
  };
11914
12085
 
12086
+ export type PaginatedAdminAlertList = {
12087
+ count?: number;
12088
+ next?: string | null;
12089
+ previous?: string | null;
12090
+ results?: Array<AdminAlert>;
12091
+ };
12092
+
12093
+ export type PaginatedAdminAlertListResponse = {
12094
+ status: string;
12095
+ data: PaginatedAdminAlertList;
12096
+ };
12097
+
11915
12098
  export type PaginatedAdminAssetList = {
11916
12099
  count?: number;
11917
12100
  next?: string | null;
@@ -12541,6 +12724,7 @@ export type PatchedAdminCompanyBankAccountRequest = {
12541
12724
  name?: string | null;
12542
12725
  number?: string | null;
12543
12726
  type?: string | null;
12727
+ payment_method?: string | null;
12544
12728
  bank_name?: string | null;
12545
12729
  bank_code?: string | null;
12546
12730
  bank_currency?: string | null;
@@ -12554,6 +12738,7 @@ export type PatchedAdminCompanyBankAccountRequest = {
12554
12738
  check_digit?: string | null;
12555
12739
  pix_key?: string | null;
12556
12740
  br_code?: string | null;
12741
+ sort_code?: string | null;
12557
12742
  metadata?: {
12558
12743
  [key: string]: unknown;
12559
12744
  } | null;
@@ -13043,6 +13228,40 @@ export type PatchedAdminEmailRequest = {
13043
13228
  archived?: boolean;
13044
13229
  };
13045
13230
 
13231
+ /**
13232
+ * A ModelSerializer that takes additional arguments for
13233
+ * "fields", "omit" and "expand" in order to
13234
+ * control which fields are displayed, and whether to replace simple
13235
+ * values with complex, nested serializations
13236
+ */
13237
+ export type PatchedAdminExtendedAlertRequest = {
13238
+ name?: string;
13239
+ description?: string | null;
13240
+ /**
13241
+ * * `info` - Info
13242
+ * * `low` - Low
13243
+ * * `medium` - Medium
13244
+ * * `high` - High
13245
+ * * `critical` - Critical
13246
+ */
13247
+ priority?: 'info' | 'low' | 'medium' | 'high' | 'critical';
13248
+ /**
13249
+ * * `open` - Open
13250
+ * * `assigned` - Assigned
13251
+ * * `paused` - Paused
13252
+ * * `closed` - Closed
13253
+ * * `reopened` - Reopened
13254
+ */
13255
+ status?: 'open' | 'assigned' | 'paused' | 'closed' | 'reopened';
13256
+ metadata?: {
13257
+ [key: string]: unknown;
13258
+ } | null;
13259
+ archived?: boolean;
13260
+ actions?: Array<{
13261
+ [key: string]: unknown;
13262
+ }>;
13263
+ };
13264
+
13046
13265
  /**
13047
13266
  * A ModelSerializer that takes additional arguments for
13048
13267
  * "fields", "omit" and "expand" in order to
@@ -14331,6 +14550,7 @@ export type PatchedAdminUserBankAccountRequest = {
14331
14550
  owner?: BankOwnerRequest | null;
14332
14551
  number?: string | null;
14333
14552
  type?: string | null;
14553
+ payment_method?: string | null;
14334
14554
  /**
14335
14555
  * * `individual` - Individual
14336
14556
  * * `business` - Business
@@ -14350,6 +14570,7 @@ export type PatchedAdminUserBankAccountRequest = {
14350
14570
  check_digit?: string | null;
14351
14571
  pix_key?: string | null;
14352
14572
  br_code?: string | null;
14573
+ sort_code?: string | null;
14353
14574
  /**
14354
14575
  * * `obsolete` - Obsolete
14355
14576
  * * `declined` - Declined
@@ -14465,8 +14686,10 @@ export type PatchedAdminWebhookRequest = {
14465
14686
  * * `transaction.transition.create` - Transaction Transition Create
14466
14687
  * * `transaction.transition.update` - Transaction Transition Update
14467
14688
  * * `mfa.sms.verify` - Mfa Sms Verify
14689
+ * * `alert.create` - Alert Create
14690
+ * * `alert.update` - Alert Update
14468
14691
  */
14469
- event?: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'bank_account.delete' | 'crypto_account.create' | 'crypto_account.update' | 'account.create' | 'account.update' | 'account.currency.create' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify';
14692
+ event?: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'bank_account.delete' | 'crypto_account.create' | 'crypto_account.update' | 'account.create' | 'account.update' | 'account.currency.create' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify' | 'alert.create' | 'alert.update';
14470
14693
  secret?: string;
14471
14694
  condition?: string | null;
14472
14695
  enabled?: boolean;
@@ -14515,12 +14738,13 @@ export type Permission = {
14515
14738
  * * `admin` - Admin
14516
14739
  * * `user` - User
14517
14740
  */
14518
- section: 'system' | 'admin' | 'user';
14741
+ readonly section: 'system' | 'admin' | 'user';
14519
14742
  /**
14520
14743
  * * `accesscontrolrule` - Access Control Rule
14521
14744
  * * `account` - Account
14522
14745
  * * `accountdefinition` - Account Definition
14523
14746
  * * `address` - Address
14747
+ * * `alert` - Alert
14524
14748
  * * `currency` - Currency
14525
14749
  * * `bankaccount` - Bank Account
14526
14750
  * * `company` - Company
@@ -14545,14 +14769,14 @@ export type Permission = {
14545
14769
  * * `user` - User
14546
14770
  * * `webhook` - Webhook
14547
14771
  */
14548
- 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';
14772
+ 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';
14549
14773
  /**
14550
14774
  * * `view` - View
14551
14775
  * * `add` - Add
14552
14776
  * * `change` - Change
14553
14777
  * * `delete` - Delete
14554
14778
  */
14555
- level: 'view' | 'add' | 'change' | 'delete';
14779
+ readonly level: 'view' | 'add' | 'change' | 'delete';
14556
14780
  };
14557
14781
 
14558
14782
  export type PermissionResponse = {
@@ -14686,7 +14910,7 @@ export type ReducedCompany = {
14686
14910
  * * `test` - Test
14687
14911
  * * `production` - Production
14688
14912
  */
14689
- mode: 'test' | 'production';
14913
+ readonly mode: 'test' | 'production';
14690
14914
  };
14691
14915
 
14692
14916
  /**
@@ -14804,7 +15028,7 @@ export type ReducedService = {
14804
15028
  * * `public` - Public
14805
15029
  * * `private` - Private
14806
15030
  */
14807
- type: 'system' | 'public' | 'private';
15031
+ readonly type: 'system' | 'public' | 'private';
14808
15032
  };
14809
15033
 
14810
15034
  export type ReducedTransactionSubtype = {
@@ -14946,14 +15170,14 @@ export type TransactionSubtype = {
14946
15170
  * * `credit` - Credit
14947
15171
  * * `debit` - Debit
14948
15172
  */
14949
- tx_type: 'credit' | 'debit';
15173
+ readonly tx_type: 'credit' | 'debit';
14950
15174
  /**
14951
15175
  * * `partner` - Partner
14952
15176
  * * `single` - Single
14953
15177
  *
14954
15178
  * @deprecated
14955
15179
  */
14956
- usage_type: 'partner' | 'single' | null;
15180
+ readonly usage_type: 'partner' | 'single' | null;
14957
15181
  partner: ReducedTransactionSubtype;
14958
15182
  readonly created: number;
14959
15183
  readonly updated: number;
@@ -15003,12 +15227,13 @@ export type UserPermission = {
15003
15227
  * * `admin` - Admin
15004
15228
  * * `user` - User
15005
15229
  */
15006
- section: 'system' | 'admin' | 'user';
15230
+ readonly section: 'system' | 'admin' | 'user';
15007
15231
  /**
15008
15232
  * * `accesscontrolrule` - Access Control Rule
15009
15233
  * * `account` - Account
15010
15234
  * * `accountdefinition` - Account Definition
15011
15235
  * * `address` - Address
15236
+ * * `alert` - Alert
15012
15237
  * * `currency` - Currency
15013
15238
  * * `bankaccount` - Bank Account
15014
15239
  * * `company` - Company
@@ -15033,14 +15258,14 @@ export type UserPermission = {
15033
15258
  * * `user` - User
15034
15259
  * * `webhook` - Webhook
15035
15260
  */
15036
- 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';
15261
+ 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';
15037
15262
  /**
15038
15263
  * * `view` - View
15039
15264
  * * `add` - Add
15040
15265
  * * `change` - Change
15041
15266
  * * `delete` - Delete
15042
15267
  */
15043
- level: 'view' | 'add' | 'change' | 'delete';
15268
+ readonly level: 'view' | 'add' | 'change' | 'delete';
15044
15269
  readonly properties: {
15045
15270
  [key: string]: unknown;
15046
15271
  };
@@ -15349,6 +15574,37 @@ export type AdminAccountResponseWritable = {
15349
15574
  data: AdminAccountWritable;
15350
15575
  };
15351
15576
 
15577
+ /**
15578
+ * A ModelSerializer that takes additional arguments for
15579
+ * "fields", "omit" and "expand" in order to
15580
+ * control which fields are displayed, and whether to replace simple
15581
+ * values with complex, nested serializations
15582
+ */
15583
+ export type AdminAlertWritable = {
15584
+ name: string;
15585
+ description?: string | null;
15586
+ /**
15587
+ * * `info` - Info
15588
+ * * `low` - Low
15589
+ * * `medium` - Medium
15590
+ * * `high` - High
15591
+ * * `critical` - Critical
15592
+ */
15593
+ priority?: 'info' | 'low' | 'medium' | 'high' | 'critical';
15594
+ /**
15595
+ * * `open` - Open
15596
+ * * `assigned` - Assigned
15597
+ * * `paused` - Paused
15598
+ * * `closed` - Closed
15599
+ * * `reopened` - Reopened
15600
+ */
15601
+ status: 'open' | 'assigned' | 'paused' | 'closed' | 'reopened';
15602
+ metadata?: {
15603
+ [key: string]: unknown;
15604
+ } | null;
15605
+ archived?: boolean;
15606
+ };
15607
+
15352
15608
  /**
15353
15609
  * A ModelSerializer that takes additional arguments for
15354
15610
  * "fields", "omit" and "expand" in order to
@@ -15737,6 +15993,7 @@ export type AdminCompanyBankAccountWritable = {
15737
15993
  name?: string | null;
15738
15994
  number?: string | null;
15739
15995
  type?: string | null;
15996
+ payment_method?: string | null;
15740
15997
  bank_name?: string | null;
15741
15998
  bank_code?: string | null;
15742
15999
  bank_currency?: string | null;
@@ -15750,6 +16007,7 @@ export type AdminCompanyBankAccountWritable = {
15750
16007
  check_digit?: string | null;
15751
16008
  pix_key?: string | null;
15752
16009
  br_code?: string | null;
16010
+ sort_code?: string | null;
15753
16011
  metadata?: {
15754
16012
  [key: string]: unknown;
15755
16013
  } | null;
@@ -16026,6 +16284,42 @@ export type AdminCreateAccountRequestWritable = {
16026
16284
  archived?: boolean;
16027
16285
  };
16028
16286
 
16287
+ /**
16288
+ * A ModelSerializer that takes additional arguments for
16289
+ * "fields", "omit" and "expand" in order to
16290
+ * control which fields are displayed, and whether to replace simple
16291
+ * values with complex, nested serializations
16292
+ */
16293
+ export type AdminCreateAlertRequestWritable = {
16294
+ transaction?: string;
16295
+ user?: string;
16296
+ name: string;
16297
+ description?: string | null;
16298
+ /**
16299
+ * * `info` - Info
16300
+ * * `low` - Low
16301
+ * * `medium` - Medium
16302
+ * * `high` - High
16303
+ * * `critical` - Critical
16304
+ */
16305
+ priority?: 'info' | 'low' | 'medium' | 'high' | 'critical';
16306
+ /**
16307
+ * * `open` - Open
16308
+ * * `assigned` - Assigned
16309
+ * * `paused` - Paused
16310
+ * * `closed` - Closed
16311
+ * * `reopened` - Reopened
16312
+ */
16313
+ status: 'open' | 'assigned' | 'paused' | 'closed' | 'reopened';
16314
+ metadata?: {
16315
+ [key: string]: unknown;
16316
+ } | null;
16317
+ archived?: boolean;
16318
+ actions?: Array<{
16319
+ [key: string]: unknown;
16320
+ }>;
16321
+ };
16322
+
16029
16323
  /**
16030
16324
  * A ModelSerializer that takes additional arguments for
16031
16325
  * "fields", "omit" and "expand" in order to
@@ -16292,6 +16586,7 @@ export type AdminCreateGroupPermissionRequestWritable = {
16292
16586
  * * `account` - Account
16293
16587
  * * `accountdefinition` - Account Definition
16294
16588
  * * `address` - Address
16589
+ * * `alert` - Alert
16295
16590
  * * `currency` - Currency
16296
16591
  * * `bankaccount` - Bank Account
16297
16592
  * * `company` - Company
@@ -16316,7 +16611,7 @@ export type AdminCreateGroupPermissionRequestWritable = {
16316
16611
  * * `user` - User
16317
16612
  * * `webhook` - Webhook
16318
16613
  */
16319
- 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';
16614
+ 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';
16320
16615
  /**
16321
16616
  * * `view` - View
16322
16617
  * * `add` - Add
@@ -16898,6 +17193,7 @@ export type AdminCreateUserBankAccountRequestWritable = {
16898
17193
  owner?: BankOwnerRequest | null;
16899
17194
  number?: string | null;
16900
17195
  type?: string | null;
17196
+ payment_method?: string | null;
16901
17197
  /**
16902
17198
  * * `individual` - Individual
16903
17199
  * * `business` - Business
@@ -16917,6 +17213,7 @@ export type AdminCreateUserBankAccountRequestWritable = {
16917
17213
  check_digit?: string | null;
16918
17214
  pix_key?: string | null;
16919
17215
  br_code?: string | null;
17216
+ sort_code?: string | null;
16920
17217
  /**
16921
17218
  * * `obsolete` - Obsolete
16922
17219
  * * `declined` - Declined
@@ -17539,6 +17836,7 @@ export type AdminCreateUserPermissionRequestWritable = {
17539
17836
  * * `account` - Account
17540
17837
  * * `accountdefinition` - Account Definition
17541
17838
  * * `address` - Address
17839
+ * * `alert` - Alert
17542
17840
  * * `currency` - Currency
17543
17841
  * * `bankaccount` - Bank Account
17544
17842
  * * `company` - Company
@@ -17563,7 +17861,7 @@ export type AdminCreateUserPermissionRequestWritable = {
17563
17861
  * * `user` - User
17564
17862
  * * `webhook` - Webhook
17565
17863
  */
17566
- 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';
17864
+ 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';
17567
17865
  /**
17568
17866
  * * `view` - View
17569
17867
  * * `add` - Add
@@ -17871,6 +18169,45 @@ export type AdminExtendedAccountResponseWritable = {
17871
18169
  data: AdminExtendedAccountWritable;
17872
18170
  };
17873
18171
 
18172
+ /**
18173
+ * A ModelSerializer that takes additional arguments for
18174
+ * "fields", "omit" and "expand" in order to
18175
+ * control which fields are displayed, and whether to replace simple
18176
+ * values with complex, nested serializations
18177
+ */
18178
+ export type AdminExtendedAlertWritable = {
18179
+ name: string;
18180
+ description?: string | null;
18181
+ /**
18182
+ * * `info` - Info
18183
+ * * `low` - Low
18184
+ * * `medium` - Medium
18185
+ * * `high` - High
18186
+ * * `critical` - Critical
18187
+ */
18188
+ priority?: 'info' | 'low' | 'medium' | 'high' | 'critical';
18189
+ /**
18190
+ * * `open` - Open
18191
+ * * `assigned` - Assigned
18192
+ * * `paused` - Paused
18193
+ * * `closed` - Closed
18194
+ * * `reopened` - Reopened
18195
+ */
18196
+ status: 'open' | 'assigned' | 'paused' | 'closed' | 'reopened';
18197
+ metadata?: {
18198
+ [key: string]: unknown;
18199
+ } | null;
18200
+ archived?: boolean;
18201
+ actions?: Array<{
18202
+ [key: string]: unknown;
18203
+ }>;
18204
+ };
18205
+
18206
+ export type AdminExtendedAlertResponseWritable = {
18207
+ status: string;
18208
+ data: AdminExtendedAlertWritable;
18209
+ };
18210
+
17874
18211
  export type AdminExtendedAuthTokenWritable = {
17875
18212
  [key: string]: unknown;
17876
18213
  };
@@ -17939,6 +18276,7 @@ export type AdminExtendedRequestWritable = {
17939
18276
  * * `accountdefinition` - Account Definition
17940
18277
  * * `accountdefinitiongroup` - Account Definition Group
17941
18278
  * * `accountdefinitiongroupcurrency` - Account Definition Group Currency
18279
+ * * `alert` - Alert
17942
18280
  * * `currency` - Currency
17943
18281
  * * `authenticator` - Authenticator
17944
18282
  * * `authenticatorchallenge` - Authenticator Challenge
@@ -18011,7 +18349,7 @@ export type AdminExtendedRequestWritable = {
18011
18349
  * * `webhooktask` - Webhook Task
18012
18350
  * * `webhookrequest` - Webhook Request
18013
18351
  */
18014
- resource: 'accesscontrolrule' | 'account' | 'accountcurrency' | 'accountcurrencylimit' | 'accountcurrencyfee' | 'accountdefinition' | 'accountdefinitiongroup' | 'accountdefinitiongroupcurrency' | 'currency' | 'authenticator' | 'authenticatorchallenge' | 'authenticatorrule' | 'backgroundtask' | 'bankowneraddress' | 'bankbranchaddress' | 'company' | 'companyaddress' | 'companybankaccount' | 'companywalletaccount' | 'companyservice' | 'companynotification' | 'device' | 'deviceapp' | 'document' | 'documenttype' | 'export' | 'exportpage' | 'email' | 'group' | 'grouplimit' | 'groupfee' | 'grouppermission' | 'grouptier' | 'grouptierrequirement' | 'grouptierlimit' | 'grouptierfee' | 'grouptierrequirementsetitem' | 'grouptierrequirementset' | 'legalterm' | 'legaltermversion' | 'metric' | 'metric_schema' | 'metric_point' | 'mfa' | 'mfasmsdevice' | 'mfatotpdevice' | 'mfastaticdevice' | 'mfatokenverification' | 'mobile' | 'mobileconfirmation' | 'notification' | 'oauthclient' | 'oauthlink' | 'oauthsession' | 'oidckey' | 'permission' | 'recoverycode' | 'refresh_token' | 'request' | 'resourcerequirementrule' | 'service' | 'statement' | 'token' | 'transaction' | 'transactionfee' | 'transactionsubtype' | 'transactionmessage' | 'transactioncollection' | 'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount' | 'userlegaltermversion' | 'usermessage' | 'userpermission' | 'webhook' | 'webhooktask' | 'webhookrequest' | null;
18352
+ resource: 'accesscontrolrule' | 'account' | 'accountcurrency' | 'accountcurrencylimit' | 'accountcurrencyfee' | 'accountdefinition' | 'accountdefinitiongroup' | 'accountdefinitiongroupcurrency' | 'alert' | 'currency' | 'authenticator' | 'authenticatorchallenge' | 'authenticatorrule' | 'backgroundtask' | 'bankowneraddress' | 'bankbranchaddress' | 'company' | 'companyaddress' | 'companybankaccount' | 'companywalletaccount' | 'companyservice' | 'companynotification' | 'device' | 'deviceapp' | 'document' | 'documenttype' | 'export' | 'exportpage' | 'email' | 'group' | 'grouplimit' | 'groupfee' | 'grouppermission' | 'grouptier' | 'grouptierrequirement' | 'grouptierlimit' | 'grouptierfee' | 'grouptierrequirementsetitem' | 'grouptierrequirementset' | 'legalterm' | 'legaltermversion' | 'metric' | 'metric_schema' | 'metric_point' | 'mfa' | 'mfasmsdevice' | 'mfatotpdevice' | 'mfastaticdevice' | 'mfatokenverification' | 'mobile' | 'mobileconfirmation' | 'notification' | 'oauthclient' | 'oauthlink' | 'oauthsession' | 'oidckey' | 'permission' | 'recoverycode' | 'refresh_token' | 'request' | 'resourcerequirementrule' | 'service' | 'statement' | 'token' | 'transaction' | 'transactionfee' | 'transactionsubtype' | 'transactionmessage' | 'transactioncollection' | 'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount' | 'userlegaltermversion' | 'usermessage' | 'userpermission' | 'webhook' | 'webhooktask' | 'webhookrequest' | null;
18015
18353
  };
18016
18354
 
18017
18355
  export type AdminExtendedRequestResponseWritable = {
@@ -19639,6 +19977,7 @@ export type AdminRequestWritable = {
19639
19977
  * * `accountdefinition` - Account Definition
19640
19978
  * * `accountdefinitiongroup` - Account Definition Group
19641
19979
  * * `accountdefinitiongroupcurrency` - Account Definition Group Currency
19980
+ * * `alert` - Alert
19642
19981
  * * `currency` - Currency
19643
19982
  * * `authenticator` - Authenticator
19644
19983
  * * `authenticatorchallenge` - Authenticator Challenge
@@ -19711,7 +20050,7 @@ export type AdminRequestWritable = {
19711
20050
  * * `webhooktask` - Webhook Task
19712
20051
  * * `webhookrequest` - Webhook Request
19713
20052
  */
19714
- resource: 'accesscontrolrule' | 'account' | 'accountcurrency' | 'accountcurrencylimit' | 'accountcurrencyfee' | 'accountdefinition' | 'accountdefinitiongroup' | 'accountdefinitiongroupcurrency' | 'currency' | 'authenticator' | 'authenticatorchallenge' | 'authenticatorrule' | 'backgroundtask' | 'bankowneraddress' | 'bankbranchaddress' | 'company' | 'companyaddress' | 'companybankaccount' | 'companywalletaccount' | 'companyservice' | 'companynotification' | 'device' | 'deviceapp' | 'document' | 'documenttype' | 'export' | 'exportpage' | 'email' | 'group' | 'grouplimit' | 'groupfee' | 'grouppermission' | 'grouptier' | 'grouptierrequirement' | 'grouptierlimit' | 'grouptierfee' | 'grouptierrequirementsetitem' | 'grouptierrequirementset' | 'legalterm' | 'legaltermversion' | 'metric' | 'metric_schema' | 'metric_point' | 'mfa' | 'mfasmsdevice' | 'mfatotpdevice' | 'mfastaticdevice' | 'mfatokenverification' | 'mobile' | 'mobileconfirmation' | 'notification' | 'oauthclient' | 'oauthlink' | 'oauthsession' | 'oidckey' | 'permission' | 'recoverycode' | 'refresh_token' | 'request' | 'resourcerequirementrule' | 'service' | 'statement' | 'token' | 'transaction' | 'transactionfee' | 'transactionsubtype' | 'transactionmessage' | 'transactioncollection' | 'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount' | 'userlegaltermversion' | 'usermessage' | 'userpermission' | 'webhook' | 'webhooktask' | 'webhookrequest' | null;
20053
+ resource: 'accesscontrolrule' | 'account' | 'accountcurrency' | 'accountcurrencylimit' | 'accountcurrencyfee' | 'accountdefinition' | 'accountdefinitiongroup' | 'accountdefinitiongroupcurrency' | 'alert' | 'currency' | 'authenticator' | 'authenticatorchallenge' | 'authenticatorrule' | 'backgroundtask' | 'bankowneraddress' | 'bankbranchaddress' | 'company' | 'companyaddress' | 'companybankaccount' | 'companywalletaccount' | 'companyservice' | 'companynotification' | 'device' | 'deviceapp' | 'document' | 'documenttype' | 'export' | 'exportpage' | 'email' | 'group' | 'grouplimit' | 'groupfee' | 'grouppermission' | 'grouptier' | 'grouptierrequirement' | 'grouptierlimit' | 'grouptierfee' | 'grouptierrequirementsetitem' | 'grouptierrequirementset' | 'legalterm' | 'legaltermversion' | 'metric' | 'metric_schema' | 'metric_point' | 'mfa' | 'mfasmsdevice' | 'mfatotpdevice' | 'mfastaticdevice' | 'mfatokenverification' | 'mobile' | 'mobileconfirmation' | 'notification' | 'oauthclient' | 'oauthlink' | 'oauthsession' | 'oidckey' | 'permission' | 'recoverycode' | 'refresh_token' | 'request' | 'resourcerequirementrule' | 'service' | 'statement' | 'token' | 'transaction' | 'transactionfee' | 'transactionsubtype' | 'transactionmessage' | 'transactioncollection' | 'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount' | 'userlegaltermversion' | 'usermessage' | 'userpermission' | 'webhook' | 'webhooktask' | 'webhookrequest' | null;
19715
20054
  };
19716
20055
 
19717
20056
  /**
@@ -21056,6 +21395,7 @@ export type AdminUserBankAccountWritable = {
21056
21395
  owner?: BankOwner | null;
21057
21396
  number?: string | null;
21058
21397
  type?: string | null;
21398
+ payment_method?: string | null;
21059
21399
  /**
21060
21400
  * * `individual` - Individual
21061
21401
  * * `business` - Business
@@ -21075,6 +21415,7 @@ export type AdminUserBankAccountWritable = {
21075
21415
  check_digit?: string | null;
21076
21416
  pix_key?: string | null;
21077
21417
  br_code?: string | null;
21418
+ sort_code?: string | null;
21078
21419
  /**
21079
21420
  * * `obsolete` - Obsolete
21080
21421
  * * `declined` - Declined
@@ -21907,8 +22248,10 @@ export type AdminWebhookWritable = {
21907
22248
  * * `transaction.transition.create` - Transaction Transition Create
21908
22249
  * * `transaction.transition.update` - Transaction Transition Update
21909
22250
  * * `mfa.sms.verify` - Mfa Sms Verify
22251
+ * * `alert.create` - Alert Create
22252
+ * * `alert.update` - Alert Update
21910
22253
  */
21911
- event: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'bank_account.delete' | 'crypto_account.create' | 'crypto_account.update' | 'account.create' | 'account.update' | 'account.currency.create' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify';
22254
+ event: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'bank_account.delete' | 'crypto_account.create' | 'crypto_account.update' | 'account.create' | 'account.update' | 'account.currency.create' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify' | 'alert.create' | 'alert.update';
21912
22255
  secret?: string;
21913
22256
  condition?: string | null;
21914
22257
  enabled?: boolean;
@@ -22787,6 +23130,18 @@ export type PaginatedAdminAccountListResponseWritable = {
22787
23130
  data: PaginatedAdminAccountListWritable;
22788
23131
  };
22789
23132
 
23133
+ export type PaginatedAdminAlertListWritable = {
23134
+ count?: number;
23135
+ next?: string | null;
23136
+ previous?: string | null;
23137
+ results?: Array<AdminAlertWritable>;
23138
+ };
23139
+
23140
+ export type PaginatedAdminAlertListResponseWritable = {
23141
+ status: string;
23142
+ data: PaginatedAdminAlertListWritable;
23143
+ };
23144
+
22790
23145
  export type PaginatedAdminAssetListWritable = {
22791
23146
  count?: number;
22792
23147
  next?: string | null;
@@ -25407,6 +25762,101 @@ export type AccountsCurrenciesSettingsUpdateResponses = {
25407
25762
 
25408
25763
  export type AccountsCurrenciesSettingsUpdateResponse = AccountsCurrenciesSettingsUpdateResponses[keyof AccountsCurrenciesSettingsUpdateResponses];
25409
25764
 
25765
+ export type AlertsListData = {
25766
+ body?: never;
25767
+ path?: never;
25768
+ query?: {
25769
+ author?: string;
25770
+ created?: string;
25771
+ created__gt?: string;
25772
+ created__gte?: string;
25773
+ created__lt?: string;
25774
+ created__lte?: string;
25775
+ /**
25776
+ * A page number within the paginated result set.
25777
+ */
25778
+ page?: number;
25779
+ /**
25780
+ * Number of results to return per page.
25781
+ */
25782
+ page_size?: number;
25783
+ priority?: string;
25784
+ status?: string;
25785
+ transaction?: string;
25786
+ updated?: string;
25787
+ updated__gt?: string;
25788
+ updated__gte?: string;
25789
+ updated__lt?: string;
25790
+ updated__lte?: string;
25791
+ user?: string;
25792
+ };
25793
+ url: '/3/admin/alerts/';
25794
+ };
25795
+
25796
+ export type AlertsListResponses = {
25797
+ 200: PaginatedAdminAlertListResponse;
25798
+ };
25799
+
25800
+ export type AlertsListResponse = AlertsListResponses[keyof AlertsListResponses];
25801
+
25802
+ export type AlertsCreateData = {
25803
+ body: AdminCreateAlertRequestWritable;
25804
+ path?: never;
25805
+ query?: never;
25806
+ url: '/3/admin/alerts/';
25807
+ };
25808
+
25809
+ export type AlertsCreateResponses = {
25810
+ 201: AdminExtendedAlertResponse;
25811
+ };
25812
+
25813
+ export type AlertsCreateResponse = AlertsCreateResponses[keyof AlertsCreateResponses];
25814
+
25815
+ export type AlertsRetrieveData = {
25816
+ body?: never;
25817
+ path: {
25818
+ identifier: string;
25819
+ };
25820
+ query?: never;
25821
+ url: '/3/admin/alerts/{identifier}/';
25822
+ };
25823
+
25824
+ export type AlertsRetrieveResponses = {
25825
+ 200: AdminExtendedAlertResponse;
25826
+ };
25827
+
25828
+ export type AlertsRetrieveResponse = AlertsRetrieveResponses[keyof AlertsRetrieveResponses];
25829
+
25830
+ export type AlertsPartialUpdateData = {
25831
+ body?: PatchedAdminExtendedAlertRequest;
25832
+ path: {
25833
+ identifier: string;
25834
+ };
25835
+ query?: never;
25836
+ url: '/3/admin/alerts/{identifier}/';
25837
+ };
25838
+
25839
+ export type AlertsPartialUpdateResponses = {
25840
+ 200: AdminExtendedAlertResponse;
25841
+ };
25842
+
25843
+ export type AlertsPartialUpdateResponse = AlertsPartialUpdateResponses[keyof AlertsPartialUpdateResponses];
25844
+
25845
+ export type AlertsUpdateData = {
25846
+ body: AdminExtendedAlertRequest;
25847
+ path: {
25848
+ identifier: string;
25849
+ };
25850
+ query?: never;
25851
+ url: '/3/admin/alerts/{identifier}/';
25852
+ };
25853
+
25854
+ export type AlertsUpdateResponses = {
25855
+ 200: AdminExtendedAlertResponse;
25856
+ };
25857
+
25858
+ export type AlertsUpdateResponse = AlertsUpdateResponses[keyof AlertsUpdateResponses];
25859
+
25410
25860
  export type AuthDeactivateCreateData = {
25411
25861
  body: AdminDeactivateRequest;
25412
25862
  path?: never;
@@ -28659,6 +29109,7 @@ export type UsersListData = {
28659
29109
  email__contains?: string;
28660
29110
  first_name?: string;
28661
29111
  first_name__contains?: string;
29112
+ first_name__icontains?: string;
28662
29113
  group?: string;
28663
29114
  group__isnull?: boolean;
28664
29115
  id?: string;
@@ -28672,8 +29123,10 @@ export type UsersListData = {
28672
29123
  last_login__lt?: string | null;
28673
29124
  last_name?: string;
28674
29125
  last_name__contains?: string;
29126
+ last_name__icontains?: string;
28675
29127
  middle_name?: string;
28676
29128
  middle_name__contains?: string;
29129
+ middle_name__icontains?: string;
28677
29130
  mobile?: string;
28678
29131
  mobile__contains?: string;
28679
29132
  /**