@coinbase/cdp-sdk 1.50.0 → 1.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (541) hide show
  1. package/README.md +39 -29
  2. package/_cjs/accounts/evm/chainToNetworkMapper.js.map +1 -1
  3. package/_cjs/accounts/evm/eip6492.js.map +1 -1
  4. package/_cjs/accounts/evm/getBaseNodeRpcUrl.js.map +1 -1
  5. package/_cjs/accounts/evm/networkCapabilities.js.map +1 -1
  6. package/_cjs/accounts/evm/networkToChainResolver.js.map +1 -1
  7. package/_cjs/accounts/evm/resolveViemClients.js.map +1 -1
  8. package/_cjs/accounts/evm/toEvmDelegatedAccount.js.map +1 -1
  9. package/_cjs/accounts/evm/toEvmServerAccount.js.map +1 -1
  10. package/_cjs/accounts/evm/toEvmSmartAccount.js.map +1 -1
  11. package/_cjs/accounts/evm/toNetworkScopedEvmServerAccount.js.map +1 -1
  12. package/_cjs/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
  13. package/_cjs/accounts/evm/types.js.map +1 -1
  14. package/_cjs/accounts/solana/toSolanaAccount.js.map +1 -1
  15. package/_cjs/accounts/solana/types.js.map +1 -1
  16. package/_cjs/actions/evm/getUserOperation.js.map +1 -1
  17. package/_cjs/actions/evm/listSpendPermissions.js.map +1 -1
  18. package/_cjs/actions/evm/listTokenBalances.js.map +1 -1
  19. package/_cjs/actions/evm/requestFaucet.js.map +1 -1
  20. package/_cjs/actions/evm/sendTransaction.js.map +1 -1
  21. package/_cjs/actions/evm/sendUserOperation.js.map +1 -1
  22. package/_cjs/actions/evm/signAndWrapTypedDataForSmartAccount.js.map +1 -1
  23. package/_cjs/actions/evm/spend-permissions/account.use.js.map +1 -1
  24. package/_cjs/actions/evm/spend-permissions/resolveSpendPermission.js.map +1 -1
  25. package/_cjs/actions/evm/spend-permissions/smartAccount.use.js.map +1 -1
  26. package/_cjs/actions/evm/spend-permissions/types.js.map +1 -1
  27. package/_cjs/actions/evm/swap/createSwapQuote.js.map +1 -1
  28. package/_cjs/actions/evm/swap/getSwapPrice.js.map +1 -1
  29. package/_cjs/actions/evm/swap/sendSwapOperation.js.map +1 -1
  30. package/_cjs/actions/evm/swap/sendSwapTransaction.js.map +1 -1
  31. package/_cjs/actions/evm/swap/types.js.map +1 -1
  32. package/_cjs/actions/evm/transfer/accountTransferStrategy.js.map +1 -1
  33. package/_cjs/actions/evm/transfer/smartAccountTransferStrategy.js.map +1 -1
  34. package/_cjs/actions/evm/transfer/transfer.js.map +1 -1
  35. package/_cjs/actions/evm/transfer/transferWithViem.js.map +1 -1
  36. package/_cjs/actions/evm/transfer/types.js.map +1 -1
  37. package/_cjs/actions/evm/transfer/utils.js.map +1 -1
  38. package/_cjs/actions/evm/types.js.map +1 -1
  39. package/_cjs/actions/evm/waitForEvmEip7702DelegationStatus.js.map +1 -1
  40. package/_cjs/actions/evm/waitForUserOperation.js.map +1 -1
  41. package/_cjs/actions/solana/constants.js.map +1 -1
  42. package/_cjs/actions/solana/requestFaucet.js.map +1 -1
  43. package/_cjs/actions/solana/rpc.js.map +1 -1
  44. package/_cjs/actions/solana/sendTransaction.js.map +1 -1
  45. package/_cjs/actions/solana/signMessage.js.map +1 -1
  46. package/_cjs/actions/solana/signTransaction.js.map +1 -1
  47. package/_cjs/actions/solana/transfer.js.map +1 -1
  48. package/_cjs/actions/solana/types.js.map +1 -1
  49. package/_cjs/actions/solana/utils.js.map +1 -1
  50. package/_cjs/actions/webhooks/createWebhookSubscription.js.map +1 -1
  51. package/_cjs/actions/webhooks/index.js.map +1 -1
  52. package/_cjs/analytics.js.map +1 -1
  53. package/_cjs/auth/errors.js.map +1 -1
  54. package/_cjs/auth/hooks/axios/index.js.map +1 -1
  55. package/_cjs/auth/hooks/axios/withAuth.js.map +1 -1
  56. package/_cjs/auth/index.js.map +1 -1
  57. package/_cjs/auth/utils/hash.js.map +1 -1
  58. package/_cjs/auth/utils/http.js.map +1 -1
  59. package/_cjs/auth/utils/index.js.map +1 -1
  60. package/_cjs/auth/utils/jwt.js.map +1 -1
  61. package/_cjs/auth/utils/ws.js.map +1 -1
  62. package/_cjs/client/cdp.js.map +1 -1
  63. package/_cjs/client/end-user/endUser.js.map +1 -1
  64. package/_cjs/client/end-user/endUser.types.js.map +1 -1
  65. package/_cjs/client/end-user/toEndUserAccount.js.map +1 -1
  66. package/_cjs/client/evm/evm.js.map +1 -1
  67. package/_cjs/client/evm/evm.types.js.map +1 -1
  68. package/_cjs/client/policies/index.js.map +1 -1
  69. package/_cjs/client/policies/policies.js.map +1 -1
  70. package/_cjs/client/policies/policies.types.js.map +1 -1
  71. package/_cjs/client/solana/index.js.map +1 -1
  72. package/_cjs/client/solana/solana.js.map +1 -1
  73. package/_cjs/client/solana/solana.types.js.map +1 -1
  74. package/_cjs/client/webhooks/webhooks.js.map +1 -1
  75. package/_cjs/constants.js.map +1 -1
  76. package/_cjs/errors.js.map +1 -1
  77. package/_cjs/index.js.map +1 -1
  78. package/_cjs/openapi-client/cdpApiClient.js.map +1 -1
  79. package/_cjs/openapi-client/errors.js.map +1 -1
  80. package/_cjs/openapi-client/generated/accounts/accounts.js +50 -0
  81. package/_cjs/openapi-client/generated/accounts/accounts.js.map +1 -0
  82. package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +526 -46
  83. package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
  84. package/_cjs/openapi-client/generated/deposit-destinations/deposit-destinations.js +34 -0
  85. package/_cjs/openapi-client/generated/deposit-destinations/deposit-destinations.js.map +1 -0
  86. package/_cjs/openapi-client/generated/end-user-account-management/end-user-account-management.js +132 -0
  87. package/_cjs/openapi-client/generated/end-user-account-management/end-user-account-management.js.map +1 -0
  88. package/_cjs/openapi-client/generated/end-user-accounts/end-user-accounts.js +228 -74
  89. package/_cjs/openapi-client/generated/end-user-accounts/end-user-accounts.js.map +1 -1
  90. package/_cjs/openapi-client/generated/evm-accounts/evm-accounts.js +12 -12
  91. package/_cjs/openapi-client/generated/evm-accounts/evm-accounts.js.map +1 -1
  92. package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js +10 -10
  93. package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js.map +1 -1
  94. package/_cjs/openapi-client/generated/evm-swaps/evm-swaps.js +2 -2
  95. package/_cjs/openapi-client/generated/evm-swaps/evm-swaps.js.map +1 -1
  96. package/_cjs/openapi-client/generated/evm-token-balances/evm-token-balances.js.map +1 -1
  97. package/_cjs/openapi-client/generated/faucets/faucets.js.map +1 -1
  98. package/_cjs/openapi-client/generated/onchain-data/onchain-data.js.map +1 -1
  99. package/_cjs/openapi-client/generated/onramp/onramp.js.map +1 -1
  100. package/_cjs/openapi-client/generated/payment-methods/payment-methods.js +28 -0
  101. package/_cjs/openapi-client/generated/payment-methods/payment-methods.js.map +1 -0
  102. package/_cjs/openapi-client/generated/policy-engine/policy-engine.js +4 -4
  103. package/_cjs/openapi-client/generated/policy-engine/policy-engine.js.map +1 -1
  104. package/_cjs/openapi-client/generated/solana-accounts/solana-accounts.js +11 -11
  105. package/_cjs/openapi-client/generated/solana-accounts/solana-accounts.js.map +1 -1
  106. package/_cjs/openapi-client/generated/solana-token-balances/solana-token-balances.js.map +1 -1
  107. package/_cjs/openapi-client/generated/sql-api/sql-api.js +1 -1
  108. package/_cjs/openapi-client/generated/sql-api/sql-api.js.map +1 -1
  109. package/_cjs/openapi-client/generated/transfers/transfers.js +87 -0
  110. package/_cjs/openapi-client/generated/transfers/transfers.js.map +1 -0
  111. package/_cjs/openapi-client/generated/webhooks/webhooks.js +1 -1
  112. package/_cjs/openapi-client/generated/webhooks/webhooks.js.map +1 -1
  113. package/_cjs/openapi-client/generated/x402-facilitator/x402-facilitator.js +3 -3
  114. package/_cjs/openapi-client/generated/x402-facilitator/x402-facilitator.js.map +1 -1
  115. package/_cjs/openapi-client/index.js +7 -3
  116. package/_cjs/openapi-client/index.js.map +1 -1
  117. package/_cjs/policies/evmSchema.js +54 -1
  118. package/_cjs/policies/evmSchema.js.map +1 -1
  119. package/_cjs/policies/solanaSchema.js.map +1 -1
  120. package/_cjs/policies/types.js +2 -0
  121. package/_cjs/policies/types.js.map +1 -1
  122. package/_cjs/spend-permissions/constants.js.map +1 -1
  123. package/_cjs/spend-permissions/types.js.map +1 -1
  124. package/_cjs/spend-permissions/utils.js.map +1 -1
  125. package/_cjs/types/calls.js.map +1 -1
  126. package/_cjs/types/contract.js.map +1 -1
  127. package/_cjs/types/misc.js.map +1 -1
  128. package/_cjs/types/multicall.js.map +1 -1
  129. package/_cjs/types/utils.js.map +1 -1
  130. package/_cjs/utils/bigint.js.map +1 -1
  131. package/_cjs/utils/export.js.map +1 -1
  132. package/_cjs/utils/hash.js.map +1 -1
  133. package/_cjs/utils/serializeTransaction.js.map +1 -1
  134. package/_cjs/utils/sortKeys.js.map +1 -1
  135. package/_cjs/utils/uuidV4.js.map +1 -1
  136. package/_cjs/utils/wait.js.map +1 -1
  137. package/_cjs/version.js +1 -1
  138. package/_cjs/version.js.map +1 -1
  139. package/_esm/accounts/evm/chainToNetworkMapper.js.map +1 -1
  140. package/_esm/accounts/evm/eip6492.js.map +1 -1
  141. package/_esm/accounts/evm/getBaseNodeRpcUrl.js.map +1 -1
  142. package/_esm/accounts/evm/networkCapabilities.js.map +1 -1
  143. package/_esm/accounts/evm/networkToChainResolver.js.map +1 -1
  144. package/_esm/accounts/evm/resolveViemClients.js.map +1 -1
  145. package/_esm/accounts/evm/toEvmDelegatedAccount.js.map +1 -1
  146. package/_esm/accounts/evm/toEvmServerAccount.js.map +1 -1
  147. package/_esm/accounts/evm/toEvmSmartAccount.js.map +1 -1
  148. package/_esm/accounts/evm/toNetworkScopedEvmServerAccount.js.map +1 -1
  149. package/_esm/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
  150. package/_esm/accounts/evm/types.js.map +1 -1
  151. package/_esm/accounts/solana/toSolanaAccount.js.map +1 -1
  152. package/_esm/accounts/solana/types.js.map +1 -1
  153. package/_esm/actions/evm/getUserOperation.js.map +1 -1
  154. package/_esm/actions/evm/listSpendPermissions.js.map +1 -1
  155. package/_esm/actions/evm/listTokenBalances.js.map +1 -1
  156. package/_esm/actions/evm/requestFaucet.js.map +1 -1
  157. package/_esm/actions/evm/sendTransaction.js.map +1 -1
  158. package/_esm/actions/evm/sendUserOperation.js.map +1 -1
  159. package/_esm/actions/evm/signAndWrapTypedDataForSmartAccount.js.map +1 -1
  160. package/_esm/actions/evm/spend-permissions/account.use.js.map +1 -1
  161. package/_esm/actions/evm/spend-permissions/resolveSpendPermission.js.map +1 -1
  162. package/_esm/actions/evm/spend-permissions/smartAccount.use.js.map +1 -1
  163. package/_esm/actions/evm/spend-permissions/types.js.map +1 -1
  164. package/_esm/actions/evm/swap/createSwapQuote.js.map +1 -1
  165. package/_esm/actions/evm/swap/getSwapPrice.js.map +1 -1
  166. package/_esm/actions/evm/swap/sendSwapOperation.js.map +1 -1
  167. package/_esm/actions/evm/swap/sendSwapTransaction.js.map +1 -1
  168. package/_esm/actions/evm/swap/types.js.map +1 -1
  169. package/_esm/actions/evm/transfer/accountTransferStrategy.js.map +1 -1
  170. package/_esm/actions/evm/transfer/smartAccountTransferStrategy.js.map +1 -1
  171. package/_esm/actions/evm/transfer/transfer.js.map +1 -1
  172. package/_esm/actions/evm/transfer/transferWithViem.js.map +1 -1
  173. package/_esm/actions/evm/transfer/types.js.map +1 -1
  174. package/_esm/actions/evm/transfer/utils.js.map +1 -1
  175. package/_esm/actions/evm/types.js.map +1 -1
  176. package/_esm/actions/evm/waitForEvmEip7702DelegationStatus.js.map +1 -1
  177. package/_esm/actions/evm/waitForUserOperation.js.map +1 -1
  178. package/_esm/actions/solana/constants.js.map +1 -1
  179. package/_esm/actions/solana/requestFaucet.js.map +1 -1
  180. package/_esm/actions/solana/rpc.js.map +1 -1
  181. package/_esm/actions/solana/sendTransaction.js.map +1 -1
  182. package/_esm/actions/solana/signMessage.js.map +1 -1
  183. package/_esm/actions/solana/signTransaction.js.map +1 -1
  184. package/_esm/actions/solana/transfer.js.map +1 -1
  185. package/_esm/actions/solana/types.js.map +1 -1
  186. package/_esm/actions/solana/utils.js.map +1 -1
  187. package/_esm/actions/webhooks/createWebhookSubscription.js.map +1 -1
  188. package/_esm/actions/webhooks/index.js.map +1 -1
  189. package/_esm/analytics.js.map +1 -1
  190. package/_esm/auth/errors.js.map +1 -1
  191. package/_esm/auth/hooks/axios/index.js.map +1 -1
  192. package/_esm/auth/hooks/axios/withAuth.js.map +1 -1
  193. package/_esm/auth/index.js.map +1 -1
  194. package/_esm/auth/utils/hash.js.map +1 -1
  195. package/_esm/auth/utils/http.js.map +1 -1
  196. package/_esm/auth/utils/index.js.map +1 -1
  197. package/_esm/auth/utils/jwt.js.map +1 -1
  198. package/_esm/auth/utils/ws.js.map +1 -1
  199. package/_esm/client/cdp.js.map +1 -1
  200. package/_esm/client/end-user/endUser.js.map +1 -1
  201. package/_esm/client/end-user/endUser.types.js.map +1 -1
  202. package/_esm/client/end-user/toEndUserAccount.js.map +1 -1
  203. package/_esm/client/evm/evm.js.map +1 -1
  204. package/_esm/client/evm/evm.types.js.map +1 -1
  205. package/_esm/client/policies/index.js.map +1 -1
  206. package/_esm/client/policies/policies.js.map +1 -1
  207. package/_esm/client/policies/policies.types.js.map +1 -1
  208. package/_esm/client/solana/index.js.map +1 -1
  209. package/_esm/client/solana/solana.js.map +1 -1
  210. package/_esm/client/solana/solana.types.js.map +1 -1
  211. package/_esm/client/webhooks/webhooks.js.map +1 -1
  212. package/_esm/constants.js.map +1 -1
  213. package/_esm/errors.js.map +1 -1
  214. package/_esm/index.js.map +1 -1
  215. package/_esm/openapi-client/cdpApiClient.js.map +1 -1
  216. package/_esm/openapi-client/errors.js.map +1 -1
  217. package/_esm/openapi-client/generated/accounts/accounts.js +42 -0
  218. package/_esm/openapi-client/generated/accounts/accounts.js.map +1 -0
  219. package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +522 -43
  220. package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
  221. package/_esm/openapi-client/generated/deposit-destinations/deposit-destinations.js +28 -0
  222. package/_esm/openapi-client/generated/deposit-destinations/deposit-destinations.js.map +1 -0
  223. package/_esm/openapi-client/generated/end-user-account-management/end-user-account-management.js +120 -0
  224. package/_esm/openapi-client/generated/end-user-account-management/end-user-account-management.js.map +1 -0
  225. package/_esm/openapi-client/generated/end-user-accounts/end-user-accounts.js +211 -64
  226. package/_esm/openapi-client/generated/end-user-accounts/end-user-accounts.js.map +1 -1
  227. package/_esm/openapi-client/generated/evm-accounts/evm-accounts.js +12 -12
  228. package/_esm/openapi-client/generated/evm-accounts/evm-accounts.js.map +1 -1
  229. package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js +10 -10
  230. package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js.map +1 -1
  231. package/_esm/openapi-client/generated/evm-swaps/evm-swaps.js +2 -2
  232. package/_esm/openapi-client/generated/evm-swaps/evm-swaps.js.map +1 -1
  233. package/_esm/openapi-client/generated/evm-token-balances/evm-token-balances.js.map +1 -1
  234. package/_esm/openapi-client/generated/faucets/faucets.js.map +1 -1
  235. package/_esm/openapi-client/generated/onchain-data/onchain-data.js.map +1 -1
  236. package/_esm/openapi-client/generated/onramp/onramp.js.map +1 -1
  237. package/_esm/openapi-client/generated/payment-methods/payment-methods.js +23 -0
  238. package/_esm/openapi-client/generated/payment-methods/payment-methods.js.map +1 -0
  239. package/_esm/openapi-client/generated/policy-engine/policy-engine.js +4 -4
  240. package/_esm/openapi-client/generated/policy-engine/policy-engine.js.map +1 -1
  241. package/_esm/openapi-client/generated/solana-accounts/solana-accounts.js +11 -11
  242. package/_esm/openapi-client/generated/solana-accounts/solana-accounts.js.map +1 -1
  243. package/_esm/openapi-client/generated/solana-token-balances/solana-token-balances.js.map +1 -1
  244. package/_esm/openapi-client/generated/sql-api/sql-api.js +1 -1
  245. package/_esm/openapi-client/generated/sql-api/sql-api.js.map +1 -1
  246. package/_esm/openapi-client/generated/transfers/transfers.js +79 -0
  247. package/_esm/openapi-client/generated/transfers/transfers.js.map +1 -0
  248. package/_esm/openapi-client/generated/webhooks/webhooks.js +1 -1
  249. package/_esm/openapi-client/generated/webhooks/webhooks.js.map +1 -1
  250. package/_esm/openapi-client/generated/x402-facilitator/x402-facilitator.js +3 -3
  251. package/_esm/openapi-client/generated/x402-facilitator/x402-facilitator.js.map +1 -1
  252. package/_esm/openapi-client/index.js +7 -3
  253. package/_esm/openapi-client/index.js.map +1 -1
  254. package/_esm/policies/evmSchema.js +52 -0
  255. package/_esm/policies/evmSchema.js.map +1 -1
  256. package/_esm/policies/solanaSchema.js.map +1 -1
  257. package/_esm/policies/types.js +3 -1
  258. package/_esm/policies/types.js.map +1 -1
  259. package/_esm/spend-permissions/constants.js.map +1 -1
  260. package/_esm/spend-permissions/types.js.map +1 -1
  261. package/_esm/spend-permissions/utils.js.map +1 -1
  262. package/_esm/types/calls.js.map +1 -1
  263. package/_esm/types/contract.js.map +1 -1
  264. package/_esm/types/misc.js.map +1 -1
  265. package/_esm/types/multicall.js.map +1 -1
  266. package/_esm/types/utils.js.map +1 -1
  267. package/_esm/utils/bigint.js.map +1 -1
  268. package/_esm/utils/export.js.map +1 -1
  269. package/_esm/utils/hash.js.map +1 -1
  270. package/_esm/utils/serializeTransaction.js.map +1 -1
  271. package/_esm/utils/sortKeys.js.map +1 -1
  272. package/_esm/utils/uuidV4.js.map +1 -1
  273. package/_esm/utils/wait.js.map +1 -1
  274. package/_esm/version.js +1 -1
  275. package/_esm/version.js.map +1 -1
  276. package/_types/accounts/evm/chainToNetworkMapper.d.ts.map +1 -1
  277. package/_types/accounts/evm/eip6492.d.ts.map +1 -1
  278. package/_types/accounts/evm/getBaseNodeRpcUrl.d.ts.map +1 -1
  279. package/_types/accounts/evm/networkCapabilities.d.ts.map +1 -1
  280. package/_types/accounts/evm/networkToChainResolver.d.ts.map +1 -1
  281. package/_types/accounts/evm/resolveViemClients.d.ts.map +1 -1
  282. package/_types/accounts/evm/toEvmDelegatedAccount.d.ts.map +1 -1
  283. package/_types/accounts/evm/toEvmServerAccount.d.ts.map +1 -1
  284. package/_types/accounts/evm/toEvmSmartAccount.d.ts.map +1 -1
  285. package/_types/accounts/evm/toNetworkScopedEvmServerAccount.d.ts.map +1 -1
  286. package/_types/accounts/evm/toNetworkScopedEvmSmartAccount.d.ts.map +1 -1
  287. package/_types/accounts/evm/types.d.ts.map +1 -1
  288. package/_types/accounts/solana/toSolanaAccount.d.ts.map +1 -1
  289. package/_types/accounts/solana/types.d.ts.map +1 -1
  290. package/_types/actions/evm/getUserOperation.d.ts.map +1 -1
  291. package/_types/actions/evm/listSpendPermissions.d.ts.map +1 -1
  292. package/_types/actions/evm/listTokenBalances.d.ts.map +1 -1
  293. package/_types/actions/evm/requestFaucet.d.ts.map +1 -1
  294. package/_types/actions/evm/sendTransaction.d.ts.map +1 -1
  295. package/_types/actions/evm/sendUserOperation.d.ts.map +1 -1
  296. package/_types/actions/evm/signAndWrapTypedDataForSmartAccount.d.ts.map +1 -1
  297. package/_types/actions/evm/spend-permissions/account.use.d.ts.map +1 -1
  298. package/_types/actions/evm/spend-permissions/resolveSpendPermission.d.ts.map +1 -1
  299. package/_types/actions/evm/spend-permissions/smartAccount.use.d.ts.map +1 -1
  300. package/_types/actions/evm/spend-permissions/types.d.ts.map +1 -1
  301. package/_types/actions/evm/swap/createSwapQuote.d.ts.map +1 -1
  302. package/_types/actions/evm/swap/getSwapPrice.d.ts.map +1 -1
  303. package/_types/actions/evm/swap/sendSwapOperation.d.ts.map +1 -1
  304. package/_types/actions/evm/swap/sendSwapTransaction.d.ts.map +1 -1
  305. package/_types/actions/evm/swap/types.d.ts.map +1 -1
  306. package/_types/actions/evm/transfer/accountTransferStrategy.d.ts.map +1 -1
  307. package/_types/actions/evm/transfer/smartAccountTransferStrategy.d.ts.map +1 -1
  308. package/_types/actions/evm/transfer/transfer.d.ts.map +1 -1
  309. package/_types/actions/evm/transfer/transferWithViem.d.ts.map +1 -1
  310. package/_types/actions/evm/transfer/types.d.ts.map +1 -1
  311. package/_types/actions/evm/transfer/utils.d.ts.map +1 -1
  312. package/_types/actions/evm/types.d.ts.map +1 -1
  313. package/_types/actions/evm/waitForEvmEip7702DelegationStatus.d.ts.map +1 -1
  314. package/_types/actions/evm/waitForUserOperation.d.ts.map +1 -1
  315. package/_types/actions/solana/constants.d.ts.map +1 -1
  316. package/_types/actions/solana/requestFaucet.d.ts.map +1 -1
  317. package/_types/actions/solana/rpc.d.ts.map +1 -1
  318. package/_types/actions/solana/sendTransaction.d.ts.map +1 -1
  319. package/_types/actions/solana/signMessage.d.ts.map +1 -1
  320. package/_types/actions/solana/signTransaction.d.ts.map +1 -1
  321. package/_types/actions/solana/transfer.d.ts.map +1 -1
  322. package/_types/actions/solana/types.d.ts.map +1 -1
  323. package/_types/actions/solana/utils.d.ts.map +1 -1
  324. package/_types/actions/webhooks/createWebhookSubscription.d.ts.map +1 -1
  325. package/_types/actions/webhooks/index.d.ts.map +1 -1
  326. package/_types/analytics.d.ts.map +1 -1
  327. package/_types/auth/errors.d.ts.map +1 -1
  328. package/_types/auth/hooks/axios/index.d.ts.map +1 -1
  329. package/_types/auth/hooks/axios/withAuth.d.ts.map +1 -1
  330. package/_types/auth/index.d.ts.map +1 -1
  331. package/_types/auth/utils/hash.d.ts.map +1 -1
  332. package/_types/auth/utils/http.d.ts.map +1 -1
  333. package/_types/auth/utils/index.d.ts.map +1 -1
  334. package/_types/auth/utils/jwt.d.ts.map +1 -1
  335. package/_types/auth/utils/ws.d.ts.map +1 -1
  336. package/_types/client/cdp.d.ts.map +1 -1
  337. package/_types/client/end-user/endUser.d.ts.map +1 -1
  338. package/_types/client/end-user/endUser.types.d.ts.map +1 -1
  339. package/_types/client/end-user/toEndUserAccount.d.ts.map +1 -1
  340. package/_types/client/evm/evm.d.ts.map +1 -1
  341. package/_types/client/evm/evm.types.d.ts.map +1 -1
  342. package/_types/client/policies/index.d.ts.map +1 -1
  343. package/_types/client/policies/policies.d.ts.map +1 -1
  344. package/_types/client/policies/policies.types.d.ts.map +1 -1
  345. package/_types/client/solana/index.d.ts.map +1 -1
  346. package/_types/client/solana/solana.d.ts.map +1 -1
  347. package/_types/client/solana/solana.types.d.ts.map +1 -1
  348. package/_types/client/webhooks/webhooks.d.ts.map +1 -1
  349. package/_types/constants.d.ts.map +1 -1
  350. package/_types/errors.d.ts.map +1 -1
  351. package/_types/index.d.ts.map +1 -1
  352. package/_types/openapi-client/cdpApiClient.d.ts.map +1 -1
  353. package/_types/openapi-client/errors.d.ts.map +1 -1
  354. package/_types/openapi-client/generated/accounts/accounts.d.ts +42 -0
  355. package/_types/openapi-client/generated/accounts/accounts.d.ts.map +1 -0
  356. package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts +1933 -269
  357. package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts.map +1 -1
  358. package/_types/openapi-client/generated/deposit-destinations/deposit-destinations.d.ts +30 -0
  359. package/_types/openapi-client/generated/deposit-destinations/deposit-destinations.d.ts.map +1 -0
  360. package/_types/openapi-client/generated/end-user-account-management/end-user-account-management.d.ts +91 -0
  361. package/_types/openapi-client/generated/end-user-account-management/end-user-account-management.d.ts.map +1 -0
  362. package/_types/openapi-client/generated/end-user-accounts/end-user-accounts.d.ts +142 -60
  363. package/_types/openapi-client/generated/end-user-accounts/end-user-accounts.d.ts.map +1 -1
  364. package/_types/openapi-client/generated/evm-accounts/evm-accounts.d.ts +12 -12
  365. package/_types/openapi-client/generated/evm-accounts/evm-accounts.d.ts.map +1 -1
  366. package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.d.ts +10 -10
  367. package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.d.ts.map +1 -1
  368. package/_types/openapi-client/generated/evm-swaps/evm-swaps.d.ts +2 -2
  369. package/_types/openapi-client/generated/evm-swaps/evm-swaps.d.ts.map +1 -1
  370. package/_types/openapi-client/generated/evm-token-balances/evm-token-balances.d.ts.map +1 -1
  371. package/_types/openapi-client/generated/faucets/faucets.d.ts.map +1 -1
  372. package/_types/openapi-client/generated/onchain-data/onchain-data.d.ts.map +1 -1
  373. package/_types/openapi-client/generated/onramp/onramp.d.ts.map +1 -1
  374. package/_types/openapi-client/generated/payment-methods/payment-methods.d.ts +31 -0
  375. package/_types/openapi-client/generated/payment-methods/payment-methods.d.ts.map +1 -0
  376. package/_types/openapi-client/generated/policy-engine/policy-engine.d.ts +4 -4
  377. package/_types/openapi-client/generated/policy-engine/policy-engine.d.ts.map +1 -1
  378. package/_types/openapi-client/generated/solana-accounts/solana-accounts.d.ts +11 -11
  379. package/_types/openapi-client/generated/solana-accounts/solana-accounts.d.ts.map +1 -1
  380. package/_types/openapi-client/generated/solana-token-balances/solana-token-balances.d.ts.map +1 -1
  381. package/_types/openapi-client/generated/sql-api/sql-api.d.ts +1 -1
  382. package/_types/openapi-client/generated/sql-api/sql-api.d.ts.map +1 -1
  383. package/_types/openapi-client/generated/transfers/transfers.d.ts +74 -0
  384. package/_types/openapi-client/generated/transfers/transfers.d.ts.map +1 -0
  385. package/_types/openapi-client/generated/webhooks/webhooks.d.ts +1 -1
  386. package/_types/openapi-client/generated/webhooks/webhooks.d.ts.map +1 -1
  387. package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.d.ts +3 -3
  388. package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.d.ts.map +1 -1
  389. package/_types/openapi-client/index.d.ts +14 -10
  390. package/_types/openapi-client/index.d.ts.map +1 -1
  391. package/_types/policies/evmSchema.d.ts +884 -39
  392. package/_types/policies/evmSchema.d.ts.map +1 -1
  393. package/_types/policies/solanaSchema.d.ts +20 -20
  394. package/_types/policies/solanaSchema.d.ts.map +1 -1
  395. package/_types/policies/types.d.ts +1996 -629
  396. package/_types/policies/types.d.ts.map +1 -1
  397. package/_types/spend-permissions/constants.d.ts.map +1 -1
  398. package/_types/spend-permissions/types.d.ts.map +1 -1
  399. package/_types/spend-permissions/utils.d.ts.map +1 -1
  400. package/_types/types/calls.d.ts.map +1 -1
  401. package/_types/types/contract.d.ts.map +1 -1
  402. package/_types/types/misc.d.ts.map +1 -1
  403. package/_types/types/multicall.d.ts.map +1 -1
  404. package/_types/types/utils.d.ts.map +1 -1
  405. package/_types/utils/bigint.d.ts.map +1 -1
  406. package/_types/utils/export.d.ts.map +1 -1
  407. package/_types/utils/hash.d.ts.map +1 -1
  408. package/_types/utils/serializeTransaction.d.ts.map +1 -1
  409. package/_types/utils/sortKeys.d.ts.map +1 -1
  410. package/_types/utils/uuidV4.d.ts.map +1 -1
  411. package/_types/utils/wait.d.ts.map +1 -1
  412. package/_types/version.d.ts +1 -1
  413. package/_types/version.d.ts.map +1 -1
  414. package/package.json +24 -3
  415. package/{auth → src/auth}/README.md +3 -3
  416. package/src/openapi-client/generated/accounts/accounts.ts +103 -0
  417. package/{openapi-client → src/openapi-client}/generated/coinbaseDeveloperPlatformAPIs.schemas.ts +2368 -363
  418. package/src/openapi-client/generated/deposit-destinations/deposit-destinations.ts +72 -0
  419. package/{openapi-client/generated/end-user-accounts/end-user-accounts.ts → src/openapi-client/generated/end-user-account-management/end-user-account-management.ts} +6 -6
  420. package/{openapi-client/generated/embedded-wallets/embedded-wallets.ts → src/openapi-client/generated/end-user-accounts/end-user-accounts.ts} +11 -11
  421. package/{openapi-client → src/openapi-client}/generated/evm-accounts/evm-accounts.ts +12 -12
  422. package/{openapi-client → src/openapi-client}/generated/evm-smart-accounts/evm-smart-accounts.ts +10 -10
  423. package/{openapi-client → src/openapi-client}/generated/evm-swaps/evm-swaps.ts +2 -2
  424. package/src/openapi-client/generated/payment-methods/payment-methods.ts +53 -0
  425. package/{openapi-client → src/openapi-client}/generated/policy-engine/policy-engine.ts +4 -4
  426. package/{openapi-client → src/openapi-client}/generated/solana-accounts/solana-accounts.ts +11 -11
  427. package/{openapi-client → src/openapi-client}/generated/sql-api/sql-api.ts +1 -1
  428. package/src/openapi-client/generated/transfers/transfers.ts +131 -0
  429. package/{openapi-client → src/openapi-client}/generated/webhooks/webhooks.ts +1 -1
  430. package/{openapi-client → src/openapi-client}/generated/x402-facilitator/x402-facilitator.ts +3 -3
  431. package/{openapi-client → src/openapi-client}/index.ts +7 -3
  432. package/{policies → src/policies}/evmSchema.ts +63 -0
  433. package/{policies → src/policies}/types.ts +4 -0
  434. package/src/version.ts +1 -0
  435. package/CHANGELOG.md +0 -637
  436. package/_cjs/openapi-client/generated/embedded-wallets/embedded-wallets.js +0 -286
  437. package/_cjs/openapi-client/generated/embedded-wallets/embedded-wallets.js.map +0 -1
  438. package/_esm/openapi-client/generated/embedded-wallets/embedded-wallets.js +0 -267
  439. package/_esm/openapi-client/generated/embedded-wallets/embedded-wallets.js.map +0 -1
  440. package/_types/openapi-client/generated/embedded-wallets/embedded-wallets.d.ts +0 -173
  441. package/_types/openapi-client/generated/embedded-wallets/embedded-wallets.d.ts.map +0 -1
  442. package/version.ts +0 -1
  443. /package/{accounts → src/accounts}/evm/chainToNetworkMapper.ts +0 -0
  444. /package/{accounts → src/accounts}/evm/eip6492.ts +0 -0
  445. /package/{accounts → src/accounts}/evm/getBaseNodeRpcUrl.ts +0 -0
  446. /package/{accounts → src/accounts}/evm/networkCapabilities.ts +0 -0
  447. /package/{accounts → src/accounts}/evm/networkToChainResolver.ts +0 -0
  448. /package/{accounts → src/accounts}/evm/resolveViemClients.ts +0 -0
  449. /package/{accounts → src/accounts}/evm/toEvmDelegatedAccount.ts +0 -0
  450. /package/{accounts → src/accounts}/evm/toEvmServerAccount.ts +0 -0
  451. /package/{accounts → src/accounts}/evm/toEvmSmartAccount.ts +0 -0
  452. /package/{accounts → src/accounts}/evm/toNetworkScopedEvmServerAccount.ts +0 -0
  453. /package/{accounts → src/accounts}/evm/toNetworkScopedEvmSmartAccount.ts +0 -0
  454. /package/{accounts → src/accounts}/evm/types.ts +0 -0
  455. /package/{accounts → src/accounts}/solana/toSolanaAccount.ts +0 -0
  456. /package/{accounts → src/accounts}/solana/types.ts +0 -0
  457. /package/{actions → src/actions}/evm/getUserOperation.ts +0 -0
  458. /package/{actions → src/actions}/evm/listSpendPermissions.ts +0 -0
  459. /package/{actions → src/actions}/evm/listTokenBalances.ts +0 -0
  460. /package/{actions → src/actions}/evm/requestFaucet.ts +0 -0
  461. /package/{actions → src/actions}/evm/sendTransaction.ts +0 -0
  462. /package/{actions → src/actions}/evm/sendUserOperation.ts +0 -0
  463. /package/{actions → src/actions}/evm/signAndWrapTypedDataForSmartAccount.ts +0 -0
  464. /package/{actions → src/actions}/evm/spend-permissions/account.use.ts +0 -0
  465. /package/{actions → src/actions}/evm/spend-permissions/resolveSpendPermission.ts +0 -0
  466. /package/{actions → src/actions}/evm/spend-permissions/smartAccount.use.ts +0 -0
  467. /package/{actions → src/actions}/evm/spend-permissions/types.ts +0 -0
  468. /package/{actions → src/actions}/evm/swap/createSwapQuote.ts +0 -0
  469. /package/{actions → src/actions}/evm/swap/getSwapPrice.ts +0 -0
  470. /package/{actions → src/actions}/evm/swap/sendSwapOperation.ts +0 -0
  471. /package/{actions → src/actions}/evm/swap/sendSwapTransaction.ts +0 -0
  472. /package/{actions → src/actions}/evm/swap/types.ts +0 -0
  473. /package/{actions → src/actions}/evm/transfer/accountTransferStrategy.ts +0 -0
  474. /package/{actions → src/actions}/evm/transfer/smartAccountTransferStrategy.ts +0 -0
  475. /package/{actions → src/actions}/evm/transfer/transfer.ts +0 -0
  476. /package/{actions → src/actions}/evm/transfer/transferWithViem.ts +0 -0
  477. /package/{actions → src/actions}/evm/transfer/types.ts +0 -0
  478. /package/{actions → src/actions}/evm/transfer/utils.ts +0 -0
  479. /package/{actions → src/actions}/evm/types.ts +0 -0
  480. /package/{actions → src/actions}/evm/waitForEvmEip7702DelegationStatus.ts +0 -0
  481. /package/{actions → src/actions}/evm/waitForUserOperation.ts +0 -0
  482. /package/{actions → src/actions}/solana/constants.ts +0 -0
  483. /package/{actions → src/actions}/solana/requestFaucet.ts +0 -0
  484. /package/{actions → src/actions}/solana/rpc.ts +0 -0
  485. /package/{actions → src/actions}/solana/sendTransaction.ts +0 -0
  486. /package/{actions → src/actions}/solana/signMessage.ts +0 -0
  487. /package/{actions → src/actions}/solana/signTransaction.ts +0 -0
  488. /package/{actions → src/actions}/solana/transfer.ts +0 -0
  489. /package/{actions → src/actions}/solana/types.ts +0 -0
  490. /package/{actions → src/actions}/solana/utils.ts +0 -0
  491. /package/{actions → src/actions}/webhooks/createWebhookSubscription.ts +0 -0
  492. /package/{actions → src/actions}/webhooks/index.ts +0 -0
  493. /package/{analytics.ts → src/analytics.ts} +0 -0
  494. /package/{auth → src/auth}/errors.ts +0 -0
  495. /package/{auth → src/auth}/hooks/axios/index.ts +0 -0
  496. /package/{auth → src/auth}/hooks/axios/withAuth.ts +0 -0
  497. /package/{auth → src/auth}/index.ts +0 -0
  498. /package/{auth → src/auth}/utils/hash.ts +0 -0
  499. /package/{auth → src/auth}/utils/http.ts +0 -0
  500. /package/{auth → src/auth}/utils/index.ts +0 -0
  501. /package/{auth → src/auth}/utils/jwt.ts +0 -0
  502. /package/{auth → src/auth}/utils/ws.ts +0 -0
  503. /package/{client → src/client}/cdp.ts +0 -0
  504. /package/{client → src/client}/end-user/endUser.ts +0 -0
  505. /package/{client → src/client}/end-user/endUser.types.ts +0 -0
  506. /package/{client → src/client}/end-user/toEndUserAccount.ts +0 -0
  507. /package/{client → src/client}/evm/evm.ts +0 -0
  508. /package/{client → src/client}/evm/evm.types.ts +0 -0
  509. /package/{client → src/client}/policies/index.ts +0 -0
  510. /package/{client → src/client}/policies/policies.ts +0 -0
  511. /package/{client → src/client}/policies/policies.types.ts +0 -0
  512. /package/{client → src/client}/solana/index.ts +0 -0
  513. /package/{client → src/client}/solana/solana.ts +0 -0
  514. /package/{client → src/client}/solana/solana.types.ts +0 -0
  515. /package/{client → src/client}/webhooks/webhooks.ts +0 -0
  516. /package/{constants.ts → src/constants.ts} +0 -0
  517. /package/{errors.ts → src/errors.ts} +0 -0
  518. /package/{index.ts → src/index.ts} +0 -0
  519. /package/{openapi-client → src/openapi-client}/cdpApiClient.ts +0 -0
  520. /package/{openapi-client → src/openapi-client}/errors.ts +0 -0
  521. /package/{openapi-client → src/openapi-client}/generated/evm-token-balances/evm-token-balances.ts +0 -0
  522. /package/{openapi-client → src/openapi-client}/generated/faucets/faucets.ts +0 -0
  523. /package/{openapi-client → src/openapi-client}/generated/onchain-data/onchain-data.ts +0 -0
  524. /package/{openapi-client → src/openapi-client}/generated/onramp/onramp.ts +0 -0
  525. /package/{openapi-client → src/openapi-client}/generated/solana-token-balances/solana-token-balances.ts +0 -0
  526. /package/{policies → src/policies}/solanaSchema.ts +0 -0
  527. /package/{spend-permissions → src/spend-permissions}/constants.ts +0 -0
  528. /package/{spend-permissions → src/spend-permissions}/types.ts +0 -0
  529. /package/{spend-permissions → src/spend-permissions}/utils.ts +0 -0
  530. /package/{types → src/types}/calls.ts +0 -0
  531. /package/{types → src/types}/contract.ts +0 -0
  532. /package/{types → src/types}/misc.ts +0 -0
  533. /package/{types → src/types}/multicall.ts +0 -0
  534. /package/{types → src/types}/utils.ts +0 -0
  535. /package/{utils → src/utils}/bigint.ts +0 -0
  536. /package/{utils → src/utils}/export.ts +0 -0
  537. /package/{utils → src/utils}/hash.ts +0 -0
  538. /package/{utils → src/utils}/serializeTransaction.ts +0 -0
  539. /package/{utils → src/utils}/sortKeys.ts +0 -0
  540. /package/{utils → src/utils}/uuidV4.ts +0 -0
  541. /package/{utils → src/utils}/wait.ts +0 -0
@@ -631,11 +631,11 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
631
631
  }, "strip", z.ZodTypeAny, {
632
632
  type: "evmNetwork";
633
633
  operator: "in" | "not in";
634
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
634
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
635
635
  }, {
636
636
  type: "evmNetwork";
637
637
  operator: "in" | "not in";
638
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
638
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
639
639
  }>, z.ZodObject<{
640
640
  type: z.ZodLiteral<"evmData">;
641
641
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -887,7 +887,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
887
887
  } | {
888
888
  type: "evmNetwork";
889
889
  operator: "in" | "not in";
890
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
890
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
891
891
  } | {
892
892
  type: "netUSDChange";
893
893
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -952,7 +952,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
952
952
  } | {
953
953
  type: "evmNetwork";
954
954
  operator: "in" | "not in";
955
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
955
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
956
956
  } | {
957
957
  type: "netUSDChange";
958
958
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -1419,11 +1419,11 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1419
1419
  }, "strip", z.ZodTypeAny, {
1420
1420
  type: "solNetwork";
1421
1421
  operator: "in" | "not in";
1422
- networks: ("solana-devnet" | "solana")[];
1422
+ networks: ("solana" | "solana-devnet")[];
1423
1423
  }, {
1424
1424
  type: "solNetwork";
1425
1425
  operator: "in" | "not in";
1426
- networks: ("solana-devnet" | "solana")[];
1426
+ networks: ("solana" | "solana-devnet")[];
1427
1427
  }>]>, "many">;
1428
1428
  }, "strip", z.ZodTypeAny, {
1429
1429
  action: "reject" | "accept";
@@ -1473,7 +1473,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1473
1473
  } | {
1474
1474
  type: "solNetwork";
1475
1475
  operator: "in" | "not in";
1476
- networks: ("solana-devnet" | "solana")[];
1476
+ networks: ("solana" | "solana-devnet")[];
1477
1477
  })[];
1478
1478
  }, {
1479
1479
  action: "reject" | "accept";
@@ -1523,7 +1523,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1523
1523
  } | {
1524
1524
  type: "solNetwork";
1525
1525
  operator: "in" | "not in";
1526
- networks: ("solana-devnet" | "solana")[];
1526
+ networks: ("solana" | "solana-devnet")[];
1527
1527
  })[];
1528
1528
  }>, z.ZodObject<{
1529
1529
  action: z.ZodEnum<["reject", "accept"]>;
@@ -1586,11 +1586,11 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1586
1586
  }, "strip", z.ZodTypeAny, {
1587
1587
  type: "evmNetwork";
1588
1588
  operator: "in" | "not in";
1589
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
1589
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
1590
1590
  }, {
1591
1591
  type: "evmNetwork";
1592
1592
  operator: "in" | "not in";
1593
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
1593
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
1594
1594
  }>, z.ZodObject<{
1595
1595
  type: z.ZodLiteral<"evmData">;
1596
1596
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -1842,7 +1842,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1842
1842
  } | {
1843
1843
  type: "evmNetwork";
1844
1844
  operator: "in" | "not in";
1845
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
1845
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
1846
1846
  } | {
1847
1847
  type: "netUSDChange";
1848
1848
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -1907,7 +1907,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1907
1907
  } | {
1908
1908
  type: "evmNetwork";
1909
1909
  operator: "in" | "not in";
1910
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
1910
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
1911
1911
  } | {
1912
1912
  type: "netUSDChange";
1913
1913
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -2674,11 +2674,11 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2674
2674
  }, "strip", z.ZodTypeAny, {
2675
2675
  type: "evmNetwork";
2676
2676
  operator: "in" | "not in";
2677
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
2677
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
2678
2678
  }, {
2679
2679
  type: "evmNetwork";
2680
2680
  operator: "in" | "not in";
2681
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
2681
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
2682
2682
  }>, z.ZodObject<{
2683
2683
  type: z.ZodLiteral<"evmData">;
2684
2684
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -2930,7 +2930,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2930
2930
  } | {
2931
2931
  type: "evmNetwork";
2932
2932
  operator: "in" | "not in";
2933
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
2933
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
2934
2934
  } | {
2935
2935
  type: "netUSDChange";
2936
2936
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -2995,7 +2995,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2995
2995
  } | {
2996
2996
  type: "evmNetwork";
2997
2997
  operator: "in" | "not in";
2998
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
2998
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
2999
2999
  } | {
3000
3000
  type: "netUSDChange";
3001
3001
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -3220,6 +3220,15 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3220
3220
  operator: "in" | "not in";
3221
3221
  addresses: string[];
3222
3222
  })[];
3223
+ }>, z.ZodObject<{
3224
+ action: z.ZodEnum<["reject", "accept"]>;
3225
+ operation: z.ZodLiteral<"signEndUserEvmHash">;
3226
+ }, "strip", z.ZodTypeAny, {
3227
+ action: "reject" | "accept";
3228
+ operation: "signEndUserEvmHash";
3229
+ }, {
3230
+ action: "reject" | "accept";
3231
+ operation: "signEndUserEvmHash";
3223
3232
  }>, z.ZodObject<{
3224
3233
  action: z.ZodEnum<["reject", "accept"]>;
3225
3234
  operation: z.ZodLiteral<"signEndUserSolTransaction">;
@@ -3666,11 +3675,11 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3666
3675
  }, "strip", z.ZodTypeAny, {
3667
3676
  type: "solNetwork";
3668
3677
  operator: "in" | "not in";
3669
- networks: ("solana-devnet" | "solana")[];
3678
+ networks: ("solana" | "solana-devnet")[];
3670
3679
  }, {
3671
3680
  type: "solNetwork";
3672
3681
  operator: "in" | "not in";
3673
- networks: ("solana-devnet" | "solana")[];
3682
+ networks: ("solana" | "solana-devnet")[];
3674
3683
  }>]>, "many">;
3675
3684
  }, "strip", z.ZodTypeAny, {
3676
3685
  action: "reject" | "accept";
@@ -3720,7 +3729,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3720
3729
  } | {
3721
3730
  type: "solNetwork";
3722
3731
  operator: "in" | "not in";
3723
- networks: ("solana-devnet" | "solana")[];
3732
+ networks: ("solana" | "solana-devnet")[];
3724
3733
  })[];
3725
3734
  }, {
3726
3735
  action: "reject" | "accept";
@@ -3770,7 +3779,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3770
3779
  } | {
3771
3780
  type: "solNetwork";
3772
3781
  operator: "in" | "not in";
3773
- networks: ("solana-devnet" | "solana")[];
3782
+ networks: ("solana" | "solana-devnet")[];
3774
3783
  })[];
3775
3784
  }>, z.ZodObject<{
3776
3785
  action: z.ZodEnum<["reject", "accept"]>;
@@ -3809,11 +3818,11 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3809
3818
  }, "strip", z.ZodTypeAny, {
3810
3819
  type: "evmNetwork";
3811
3820
  operator: "in" | "not in";
3812
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
3821
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
3813
3822
  }, {
3814
3823
  type: "evmNetwork";
3815
3824
  operator: "in" | "not in";
3816
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
3825
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
3817
3826
  }>, z.ZodObject<{
3818
3827
  type: z.ZodLiteral<"evmData">;
3819
3828
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -4057,7 +4066,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
4057
4066
  criteria: ({
4058
4067
  type: "evmNetwork";
4059
4068
  operator: "in" | "not in";
4060
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
4069
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
4061
4070
  } | {
4062
4071
  type: "netUSDChange";
4063
4072
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -4114,7 +4123,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
4114
4123
  criteria: ({
4115
4124
  type: "evmNetwork";
4116
4125
  operator: "in" | "not in";
4117
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
4126
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
4118
4127
  } | {
4119
4128
  type: "netUSDChange";
4120
4129
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -4137,19 +4146,43 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
4137
4146
  })[];
4138
4147
  }>, z.ZodObject<{
4139
4148
  action: z.ZodEnum<["reject", "accept"]>;
4140
- operation: z.ZodLiteral<"createEndUserEvmSwap">;
4149
+ operation: z.ZodLiteral<"sendEndUserOperation">;
4141
4150
  criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4151
+ type: z.ZodLiteral<"ethValue">;
4152
+ ethValue: z.ZodString;
4153
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
4154
+ }, "strip", z.ZodTypeAny, {
4155
+ ethValue: string;
4156
+ type: "ethValue";
4157
+ operator: ">" | ">=" | "<" | "<=" | "==";
4158
+ }, {
4159
+ ethValue: string;
4160
+ type: "ethValue";
4161
+ operator: ">" | ">=" | "<" | "<=" | "==";
4162
+ }>, z.ZodObject<{
4163
+ type: z.ZodLiteral<"evmAddress">;
4164
+ addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
4165
+ operator: z.ZodEnum<["in", "not in"]>;
4166
+ }, "strip", z.ZodTypeAny, {
4167
+ type: "evmAddress";
4168
+ operator: "in" | "not in";
4169
+ addresses: `0x${string}`[];
4170
+ }, {
4171
+ type: "evmAddress";
4172
+ operator: "in" | "not in";
4173
+ addresses: string[];
4174
+ }>, z.ZodObject<{
4142
4175
  type: z.ZodLiteral<"evmNetwork">;
4143
- networks: z.ZodArray<z.ZodEnum<["base", "base-sepolia", "ethereum", "ethereum-sepolia", "avalanche", "polygon", "optimism", "arbitrum"]>, "many">;
4176
+ networks: z.ZodArray<z.ZodEnum<["base-sepolia", "base", "arbitrum", "optimism", "zora", "polygon", "bnb", "avalanche", "ethereum", "ethereum-sepolia"]>, "many">;
4144
4177
  operator: z.ZodEnum<["in", "not in"]>;
4145
4178
  }, "strip", z.ZodTypeAny, {
4146
4179
  type: "evmNetwork";
4147
4180
  operator: "in" | "not in";
4148
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
4181
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
4149
4182
  }, {
4150
4183
  type: "evmNetwork";
4151
4184
  operator: "in" | "not in";
4152
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
4185
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
4153
4186
  }>, z.ZodObject<{
4154
4187
  type: z.ZodLiteral<"evmData">;
4155
4188
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -4389,11 +4422,19 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
4389
4422
  }>]>, "many">;
4390
4423
  }, "strip", z.ZodTypeAny, {
4391
4424
  action: "reject" | "accept";
4392
- operation: "createEndUserEvmSwap";
4425
+ operation: "sendEndUserOperation";
4393
4426
  criteria: ({
4427
+ ethValue: string;
4428
+ type: "ethValue";
4429
+ operator: ">" | ">=" | "<" | "<=" | "==";
4430
+ } | {
4431
+ type: "evmAddress";
4432
+ operator: "in" | "not in";
4433
+ addresses: `0x${string}`[];
4434
+ } | {
4394
4435
  type: "evmNetwork";
4395
4436
  operator: "in" | "not in";
4396
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
4437
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
4397
4438
  } | {
4398
4439
  type: "netUSDChange";
4399
4440
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -4446,11 +4487,19 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
4446
4487
  })[];
4447
4488
  }, {
4448
4489
  action: "reject" | "accept";
4449
- operation: "createEndUserEvmSwap";
4490
+ operation: "sendEndUserOperation";
4450
4491
  criteria: ({
4492
+ ethValue: string;
4493
+ type: "ethValue";
4494
+ operator: ">" | ">=" | "<" | "<=" | "==";
4495
+ } | {
4496
+ type: "evmAddress";
4497
+ operator: "in" | "not in";
4498
+ addresses: string[];
4499
+ } | {
4451
4500
  type: "evmNetwork";
4452
4501
  operator: "in" | "not in";
4453
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
4502
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
4454
4503
  } | {
4455
4504
  type: "netUSDChange";
4456
4505
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -4473,47 +4522,137 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
4473
4522
  })[];
4474
4523
  }>, z.ZodObject<{
4475
4524
  action: z.ZodEnum<["reject", "accept"]>;
4476
- operation: z.ZodLiteral<"sendEndUserSolAsset">;
4525
+ operation: z.ZodLiteral<"createEndUserEvmSwap">;
4477
4526
  criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4478
- type: z.ZodLiteral<"splAddress">;
4479
- addresses: z.ZodArray<z.ZodString, "many">;
4527
+ type: z.ZodLiteral<"evmNetwork">;
4528
+ networks: z.ZodArray<z.ZodEnum<["base", "base-sepolia", "ethereum", "ethereum-sepolia", "avalanche", "polygon", "optimism", "arbitrum"]>, "many">;
4480
4529
  operator: z.ZodEnum<["in", "not in"]>;
4481
4530
  }, "strip", z.ZodTypeAny, {
4482
- type: "splAddress";
4531
+ type: "evmNetwork";
4483
4532
  operator: "in" | "not in";
4484
- addresses: string[];
4533
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
4485
4534
  }, {
4486
- type: "splAddress";
4535
+ type: "evmNetwork";
4487
4536
  operator: "in" | "not in";
4488
- addresses: string[];
4489
- }>, z.ZodObject<{
4490
- type: z.ZodLiteral<"splValue">;
4491
- splValue: z.ZodString;
4492
- operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
4493
- }, "strip", z.ZodTypeAny, {
4494
- splValue: string;
4495
- type: "splValue";
4496
- operator: ">" | ">=" | "<" | "<=" | "==";
4497
- }, {
4498
- splValue: string;
4499
- type: "splValue";
4500
- operator: ">" | ">=" | "<" | "<=" | "==";
4537
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
4501
4538
  }>, z.ZodObject<{
4502
- type: z.ZodLiteral<"solData">;
4503
- idls: z.ZodArray<z.ZodUnion<[z.ZodEnum<["SystemProgram", "TokenProgram", "AssociatedTokenProgram"]>, z.ZodObject<{
4504
- address: z.ZodString;
4505
- instructions: z.ZodArray<z.ZodAny, "many">;
4506
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4507
- address: z.ZodString;
4508
- instructions: z.ZodArray<z.ZodAny, "many">;
4509
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4510
- address: z.ZodString;
4511
- instructions: z.ZodArray<z.ZodAny, "many">;
4512
- }, z.ZodTypeAny, "passthrough">>]>, "many">;
4539
+ type: z.ZodLiteral<"evmData">;
4540
+ abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
4541
+ type: z.ZodLiteral<"error">;
4542
+ inputs: z.ZodReadonly<z.ZodArray<z.ZodType<import("abitype").AbiParameter, z.ZodTypeDef, import("abitype").AbiParameter>, "many">>;
4543
+ name: z.ZodString;
4544
+ }, "strip", z.ZodTypeAny, {
4545
+ inputs: readonly import("abitype").AbiParameter[];
4546
+ type: "error";
4547
+ name: string;
4548
+ }, {
4549
+ inputs: readonly import("abitype").AbiParameter[];
4550
+ type: "error";
4551
+ name: string;
4552
+ }>, z.ZodObject<{
4553
+ type: z.ZodLiteral<"event">;
4554
+ anonymous: z.ZodOptional<z.ZodBoolean>;
4555
+ inputs: z.ZodReadonly<z.ZodArray<z.ZodType<import("abitype").AbiEventParameter, z.ZodTypeDef, import("abitype").AbiEventParameter>, "many">>;
4556
+ name: z.ZodString;
4557
+ }, "strip", z.ZodTypeAny, {
4558
+ inputs: readonly import("abitype").AbiEventParameter[];
4559
+ type: "event";
4560
+ name: string;
4561
+ anonymous?: boolean | undefined;
4562
+ }, {
4563
+ inputs: readonly import("abitype").AbiEventParameter[];
4564
+ type: "event";
4565
+ name: string;
4566
+ anonymous?: boolean | undefined;
4567
+ }>, z.ZodEffects<z.ZodIntersection<z.ZodObject<{
4568
+ constant: z.ZodOptional<z.ZodBoolean>;
4569
+ gas: z.ZodOptional<z.ZodNumber>;
4570
+ payable: z.ZodOptional<z.ZodBoolean>;
4571
+ }, "strip", z.ZodTypeAny, {
4572
+ payable?: boolean | undefined;
4573
+ constant?: boolean | undefined;
4574
+ gas?: number | undefined;
4575
+ }, {
4576
+ payable?: boolean | undefined;
4577
+ constant?: boolean | undefined;
4578
+ gas?: number | undefined;
4579
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4580
+ type: z.ZodLiteral<"function">;
4581
+ inputs: z.ZodReadonly<z.ZodArray<z.ZodType<import("abitype").AbiParameter, z.ZodTypeDef, import("abitype").AbiParameter>, "many">>;
4582
+ name: z.ZodString;
4583
+ outputs: z.ZodReadonly<z.ZodArray<z.ZodType<import("abitype").AbiParameter, z.ZodTypeDef, import("abitype").AbiParameter>, "many">>;
4584
+ stateMutability: z.ZodUnion<[z.ZodLiteral<"pure">, z.ZodLiteral<"view">, z.ZodLiteral<"nonpayable">, z.ZodLiteral<"payable">]>;
4585
+ }, "strip", z.ZodTypeAny, {
4586
+ inputs: readonly import("abitype").AbiParameter[];
4587
+ outputs: readonly import("abitype").AbiParameter[];
4588
+ type: "function";
4589
+ name: string;
4590
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
4591
+ }, {
4592
+ inputs: readonly import("abitype").AbiParameter[];
4593
+ outputs: readonly import("abitype").AbiParameter[];
4594
+ type: "function";
4595
+ name: string;
4596
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
4597
+ }>, z.ZodObject<{
4598
+ type: z.ZodLiteral<"constructor">;
4599
+ inputs: z.ZodReadonly<z.ZodArray<z.ZodType<import("abitype").AbiParameter, z.ZodTypeDef, import("abitype").AbiParameter>, "many">>;
4600
+ stateMutability: z.ZodUnion<[z.ZodLiteral<"payable">, z.ZodLiteral<"nonpayable">]>;
4601
+ }, "strip", z.ZodTypeAny, {
4602
+ inputs: readonly import("abitype").AbiParameter[];
4603
+ type: "constructor";
4604
+ stateMutability: "nonpayable" | "payable";
4605
+ }, {
4606
+ inputs: readonly import("abitype").AbiParameter[];
4607
+ type: "constructor";
4608
+ stateMutability: "nonpayable" | "payable";
4609
+ }>, z.ZodObject<{
4610
+ type: z.ZodLiteral<"fallback">;
4611
+ inputs: z.ZodOptional<z.ZodTuple<[], null>>;
4612
+ stateMutability: z.ZodUnion<[z.ZodLiteral<"payable">, z.ZodLiteral<"nonpayable">]>;
4613
+ }, "strip", z.ZodTypeAny, {
4614
+ type: "fallback";
4615
+ stateMutability: "nonpayable" | "payable";
4616
+ inputs?: [] | undefined;
4617
+ }, {
4618
+ type: "fallback";
4619
+ stateMutability: "nonpayable" | "payable";
4620
+ inputs?: [] | undefined;
4621
+ }>, z.ZodObject<{
4622
+ type: z.ZodLiteral<"receive">;
4623
+ stateMutability: z.ZodLiteral<"payable">;
4624
+ }, "strip", z.ZodTypeAny, {
4625
+ type: "receive";
4626
+ stateMutability: "payable";
4627
+ }, {
4628
+ type: "receive";
4629
+ stateMutability: "payable";
4630
+ }>]>>, {
4631
+ payable?: boolean | undefined;
4632
+ constant?: boolean | undefined;
4633
+ gas?: number | undefined;
4634
+ } & ({
4635
+ inputs: readonly import("abitype").AbiParameter[];
4636
+ outputs: readonly import("abitype").AbiParameter[];
4637
+ type: "function";
4638
+ name: string;
4639
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
4640
+ } | {
4641
+ inputs: readonly import("abitype").AbiParameter[];
4642
+ type: "constructor";
4643
+ stateMutability: "nonpayable" | "payable";
4644
+ } | {
4645
+ type: "fallback";
4646
+ stateMutability: "nonpayable" | "payable";
4647
+ inputs?: [] | undefined;
4648
+ } | {
4649
+ type: "receive";
4650
+ stateMutability: "payable";
4651
+ }), unknown>]>, "many">>]>;
4513
4652
  conditions: z.ZodArray<z.ZodObject<{
4514
- instruction: z.ZodString;
4653
+ function: z.ZodString;
4515
4654
  params: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
4516
- name: z.ZodString;
4655
+ name: z.ZodUnion<[z.ZodString, z.ZodString]>;
4517
4656
  operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
4518
4657
  value: z.ZodString;
4519
4658
  }, "strip", z.ZodTypeAny, {
@@ -4525,7 +4664,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
4525
4664
  name: string;
4526
4665
  operator: ">" | ">=" | "<" | "<=" | "==";
4527
4666
  }>, z.ZodObject<{
4528
- name: z.ZodString;
4667
+ name: z.ZodUnion<[z.ZodString, z.ZodString]>;
4529
4668
  operator: z.ZodEnum<["in", "not in"]>;
4530
4669
  values: z.ZodArray<z.ZodString, "many">;
4531
4670
  }, "strip", z.ZodTypeAny, {
@@ -4538,76 +4677,322 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
4538
4677
  operator: "in" | "not in";
4539
4678
  }>]>, "many">>;
4540
4679
  }, "strip", z.ZodTypeAny, {
4541
- instruction: string;
4680
+ function: string;
4542
4681
  params?: ({
4543
- value: string;
4544
- name: string;
4545
- operator: ">" | ">=" | "<" | "<=" | "==";
4546
- } | {
4547
4682
  values: string[];
4548
4683
  name: string;
4549
4684
  operator: "in" | "not in";
4550
- })[] | undefined;
4551
- }, {
4552
- instruction: string;
4553
- params?: ({
4685
+ } | {
4554
4686
  value: string;
4555
4687
  name: string;
4556
4688
  operator: ">" | ">=" | "<" | "<=" | "==";
4557
- } | {
4558
- values: string[];
4559
- name: string;
4560
- operator: "in" | "not in";
4561
4689
  })[] | undefined;
4562
- }>, "many">;
4563
- }, "strip", z.ZodTypeAny, {
4564
- type: "solData";
4565
- conditions: {
4566
- instruction: string;
4690
+ }, {
4691
+ function: string;
4567
4692
  params?: ({
4568
- value: string;
4569
- name: string;
4570
- operator: ">" | ">=" | "<" | "<=" | "==";
4571
- } | {
4572
4693
  values: string[];
4573
4694
  name: string;
4574
4695
  operator: "in" | "not in";
4575
- })[] | undefined;
4576
- }[];
4577
- idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
4578
- address: z.ZodString;
4579
- instructions: z.ZodArray<z.ZodAny, "many">;
4580
- }, z.ZodTypeAny, "passthrough">)[];
4581
- }, {
4582
- type: "solData";
4583
- conditions: {
4584
- instruction: string;
4585
- params?: ({
4696
+ } | {
4586
4697
  value: string;
4587
4698
  name: string;
4588
4699
  operator: ">" | ">=" | "<" | "<=" | "==";
4589
- } | {
4590
- values: string[];
4591
- name: string;
4592
- operator: "in" | "not in";
4593
4700
  })[] | undefined;
4594
- }[];
4595
- idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
4596
- address: z.ZodString;
4597
- instructions: z.ZodArray<z.ZodAny, "many">;
4598
- }, z.ZodTypeAny, "passthrough">)[];
4599
- }>, z.ZodObject<{
4600
- type: z.ZodLiteral<"solNetwork">;
4601
- networks: z.ZodArray<z.ZodEnum<["solana-devnet", "solana"]>, "many">;
4602
- operator: z.ZodEnum<["in", "not in"]>;
4701
+ }>, "many">;
4702
+ }, "strip", z.ZodTypeAny, {
4703
+ type: "evmData";
4704
+ abi: "erc20" | "erc721" | "erc1155" | readonly ({
4705
+ inputs: readonly import("abitype").AbiParameter[];
4706
+ type: "error";
4707
+ name: string;
4708
+ } | {
4709
+ inputs: readonly import("abitype").AbiEventParameter[];
4710
+ type: "event";
4711
+ name: string;
4712
+ anonymous?: boolean | undefined;
4713
+ } | ({
4714
+ payable?: boolean | undefined;
4715
+ constant?: boolean | undefined;
4716
+ gas?: number | undefined;
4717
+ } & ({
4718
+ inputs: readonly import("abitype").AbiParameter[];
4719
+ outputs: readonly import("abitype").AbiParameter[];
4720
+ type: "function";
4721
+ name: string;
4722
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
4723
+ } | {
4724
+ inputs: readonly import("abitype").AbiParameter[];
4725
+ type: "constructor";
4726
+ stateMutability: "nonpayable" | "payable";
4727
+ } | {
4728
+ type: "fallback";
4729
+ stateMutability: "nonpayable" | "payable";
4730
+ inputs?: [] | undefined;
4731
+ } | {
4732
+ type: "receive";
4733
+ stateMutability: "payable";
4734
+ })))[];
4735
+ conditions: {
4736
+ function: string;
4737
+ params?: ({
4738
+ values: string[];
4739
+ name: string;
4740
+ operator: "in" | "not in";
4741
+ } | {
4742
+ value: string;
4743
+ name: string;
4744
+ operator: ">" | ">=" | "<" | "<=" | "==";
4745
+ })[] | undefined;
4746
+ }[];
4747
+ }, {
4748
+ type: "evmData";
4749
+ abi: "erc20" | "erc721" | "erc1155" | readonly unknown[];
4750
+ conditions: {
4751
+ function: string;
4752
+ params?: ({
4753
+ values: string[];
4754
+ name: string;
4755
+ operator: "in" | "not in";
4756
+ } | {
4757
+ value: string;
4758
+ name: string;
4759
+ operator: ">" | ">=" | "<" | "<=" | "==";
4760
+ })[] | undefined;
4761
+ }[];
4762
+ }>, z.ZodObject<{
4763
+ type: z.ZodLiteral<"netUSDChange">;
4764
+ changeCents: z.ZodNumber;
4765
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
4766
+ }, "strip", z.ZodTypeAny, {
4767
+ type: "netUSDChange";
4768
+ operator: ">" | ">=" | "<" | "<=" | "==";
4769
+ changeCents: number;
4770
+ }, {
4771
+ type: "netUSDChange";
4772
+ operator: ">" | ">=" | "<" | "<=" | "==";
4773
+ changeCents: number;
4774
+ }>]>, "many">;
4775
+ }, "strip", z.ZodTypeAny, {
4776
+ action: "reject" | "accept";
4777
+ operation: "createEndUserEvmSwap";
4778
+ criteria: ({
4779
+ type: "evmNetwork";
4780
+ operator: "in" | "not in";
4781
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
4782
+ } | {
4783
+ type: "netUSDChange";
4784
+ operator: ">" | ">=" | "<" | "<=" | "==";
4785
+ changeCents: number;
4786
+ } | {
4787
+ type: "evmData";
4788
+ abi: "erc20" | "erc721" | "erc1155" | readonly ({
4789
+ inputs: readonly import("abitype").AbiParameter[];
4790
+ type: "error";
4791
+ name: string;
4792
+ } | {
4793
+ inputs: readonly import("abitype").AbiEventParameter[];
4794
+ type: "event";
4795
+ name: string;
4796
+ anonymous?: boolean | undefined;
4797
+ } | ({
4798
+ payable?: boolean | undefined;
4799
+ constant?: boolean | undefined;
4800
+ gas?: number | undefined;
4801
+ } & ({
4802
+ inputs: readonly import("abitype").AbiParameter[];
4803
+ outputs: readonly import("abitype").AbiParameter[];
4804
+ type: "function";
4805
+ name: string;
4806
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
4807
+ } | {
4808
+ inputs: readonly import("abitype").AbiParameter[];
4809
+ type: "constructor";
4810
+ stateMutability: "nonpayable" | "payable";
4811
+ } | {
4812
+ type: "fallback";
4813
+ stateMutability: "nonpayable" | "payable";
4814
+ inputs?: [] | undefined;
4815
+ } | {
4816
+ type: "receive";
4817
+ stateMutability: "payable";
4818
+ })))[];
4819
+ conditions: {
4820
+ function: string;
4821
+ params?: ({
4822
+ values: string[];
4823
+ name: string;
4824
+ operator: "in" | "not in";
4825
+ } | {
4826
+ value: string;
4827
+ name: string;
4828
+ operator: ">" | ">=" | "<" | "<=" | "==";
4829
+ })[] | undefined;
4830
+ }[];
4831
+ })[];
4832
+ }, {
4833
+ action: "reject" | "accept";
4834
+ operation: "createEndUserEvmSwap";
4835
+ criteria: ({
4836
+ type: "evmNetwork";
4837
+ operator: "in" | "not in";
4838
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
4839
+ } | {
4840
+ type: "netUSDChange";
4841
+ operator: ">" | ">=" | "<" | "<=" | "==";
4842
+ changeCents: number;
4843
+ } | {
4844
+ type: "evmData";
4845
+ abi: "erc20" | "erc721" | "erc1155" | readonly unknown[];
4846
+ conditions: {
4847
+ function: string;
4848
+ params?: ({
4849
+ values: string[];
4850
+ name: string;
4851
+ operator: "in" | "not in";
4852
+ } | {
4853
+ value: string;
4854
+ name: string;
4855
+ operator: ">" | ">=" | "<" | "<=" | "==";
4856
+ })[] | undefined;
4857
+ }[];
4858
+ })[];
4859
+ }>, z.ZodObject<{
4860
+ action: z.ZodEnum<["reject", "accept"]>;
4861
+ operation: z.ZodLiteral<"sendEndUserSolAsset">;
4862
+ criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4863
+ type: z.ZodLiteral<"splAddress">;
4864
+ addresses: z.ZodArray<z.ZodString, "many">;
4865
+ operator: z.ZodEnum<["in", "not in"]>;
4866
+ }, "strip", z.ZodTypeAny, {
4867
+ type: "splAddress";
4868
+ operator: "in" | "not in";
4869
+ addresses: string[];
4870
+ }, {
4871
+ type: "splAddress";
4872
+ operator: "in" | "not in";
4873
+ addresses: string[];
4874
+ }>, z.ZodObject<{
4875
+ type: z.ZodLiteral<"splValue">;
4876
+ splValue: z.ZodString;
4877
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
4878
+ }, "strip", z.ZodTypeAny, {
4879
+ splValue: string;
4880
+ type: "splValue";
4881
+ operator: ">" | ">=" | "<" | "<=" | "==";
4882
+ }, {
4883
+ splValue: string;
4884
+ type: "splValue";
4885
+ operator: ">" | ">=" | "<" | "<=" | "==";
4886
+ }>, z.ZodObject<{
4887
+ type: z.ZodLiteral<"solData">;
4888
+ idls: z.ZodArray<z.ZodUnion<[z.ZodEnum<["SystemProgram", "TokenProgram", "AssociatedTokenProgram"]>, z.ZodObject<{
4889
+ address: z.ZodString;
4890
+ instructions: z.ZodArray<z.ZodAny, "many">;
4891
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4892
+ address: z.ZodString;
4893
+ instructions: z.ZodArray<z.ZodAny, "many">;
4894
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4895
+ address: z.ZodString;
4896
+ instructions: z.ZodArray<z.ZodAny, "many">;
4897
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
4898
+ conditions: z.ZodArray<z.ZodObject<{
4899
+ instruction: z.ZodString;
4900
+ params: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
4901
+ name: z.ZodString;
4902
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
4903
+ value: z.ZodString;
4904
+ }, "strip", z.ZodTypeAny, {
4905
+ value: string;
4906
+ name: string;
4907
+ operator: ">" | ">=" | "<" | "<=" | "==";
4908
+ }, {
4909
+ value: string;
4910
+ name: string;
4911
+ operator: ">" | ">=" | "<" | "<=" | "==";
4912
+ }>, z.ZodObject<{
4913
+ name: z.ZodString;
4914
+ operator: z.ZodEnum<["in", "not in"]>;
4915
+ values: z.ZodArray<z.ZodString, "many">;
4916
+ }, "strip", z.ZodTypeAny, {
4917
+ values: string[];
4918
+ name: string;
4919
+ operator: "in" | "not in";
4920
+ }, {
4921
+ values: string[];
4922
+ name: string;
4923
+ operator: "in" | "not in";
4924
+ }>]>, "many">>;
4925
+ }, "strip", z.ZodTypeAny, {
4926
+ instruction: string;
4927
+ params?: ({
4928
+ value: string;
4929
+ name: string;
4930
+ operator: ">" | ">=" | "<" | "<=" | "==";
4931
+ } | {
4932
+ values: string[];
4933
+ name: string;
4934
+ operator: "in" | "not in";
4935
+ })[] | undefined;
4936
+ }, {
4937
+ instruction: string;
4938
+ params?: ({
4939
+ value: string;
4940
+ name: string;
4941
+ operator: ">" | ">=" | "<" | "<=" | "==";
4942
+ } | {
4943
+ values: string[];
4944
+ name: string;
4945
+ operator: "in" | "not in";
4946
+ })[] | undefined;
4947
+ }>, "many">;
4948
+ }, "strip", z.ZodTypeAny, {
4949
+ type: "solData";
4950
+ conditions: {
4951
+ instruction: string;
4952
+ params?: ({
4953
+ value: string;
4954
+ name: string;
4955
+ operator: ">" | ">=" | "<" | "<=" | "==";
4956
+ } | {
4957
+ values: string[];
4958
+ name: string;
4959
+ operator: "in" | "not in";
4960
+ })[] | undefined;
4961
+ }[];
4962
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
4963
+ address: z.ZodString;
4964
+ instructions: z.ZodArray<z.ZodAny, "many">;
4965
+ }, z.ZodTypeAny, "passthrough">)[];
4966
+ }, {
4967
+ type: "solData";
4968
+ conditions: {
4969
+ instruction: string;
4970
+ params?: ({
4971
+ value: string;
4972
+ name: string;
4973
+ operator: ">" | ">=" | "<" | "<=" | "==";
4974
+ } | {
4975
+ values: string[];
4976
+ name: string;
4977
+ operator: "in" | "not in";
4978
+ })[] | undefined;
4979
+ }[];
4980
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
4981
+ address: z.ZodString;
4982
+ instructions: z.ZodArray<z.ZodAny, "many">;
4983
+ }, z.ZodTypeAny, "passthrough">)[];
4984
+ }>, z.ZodObject<{
4985
+ type: z.ZodLiteral<"solNetwork">;
4986
+ networks: z.ZodArray<z.ZodEnum<["solana-devnet", "solana"]>, "many">;
4987
+ operator: z.ZodEnum<["in", "not in"]>;
4603
4988
  }, "strip", z.ZodTypeAny, {
4604
4989
  type: "solNetwork";
4605
4990
  operator: "in" | "not in";
4606
- networks: ("solana-devnet" | "solana")[];
4991
+ networks: ("solana" | "solana-devnet")[];
4607
4992
  }, {
4608
4993
  type: "solNetwork";
4609
4994
  operator: "in" | "not in";
4610
- networks: ("solana-devnet" | "solana")[];
4995
+ networks: ("solana" | "solana-devnet")[];
4611
4996
  }>]>, "many">;
4612
4997
  }, "strip", z.ZodTypeAny, {
4613
4998
  action: "reject" | "accept";
@@ -4641,7 +5026,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
4641
5026
  } | {
4642
5027
  type: "solNetwork";
4643
5028
  operator: "in" | "not in";
4644
- networks: ("solana-devnet" | "solana")[];
5029
+ networks: ("solana" | "solana-devnet")[];
4645
5030
  })[];
4646
5031
  }, {
4647
5032
  action: "reject" | "accept";
@@ -4675,7 +5060,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
4675
5060
  } | {
4676
5061
  type: "solNetwork";
4677
5062
  operator: "in" | "not in";
4678
- networks: ("solana-devnet" | "solana")[];
5063
+ networks: ("solana" | "solana-devnet")[];
4679
5064
  })[];
4680
5065
  }>]>;
4681
5066
  /**
@@ -5304,11 +5689,11 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
5304
5689
  }, "strip", z.ZodTypeAny, {
5305
5690
  type: "evmNetwork";
5306
5691
  operator: "in" | "not in";
5307
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
5692
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
5308
5693
  }, {
5309
5694
  type: "evmNetwork";
5310
5695
  operator: "in" | "not in";
5311
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
5696
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
5312
5697
  }>, z.ZodObject<{
5313
5698
  type: z.ZodLiteral<"evmData">;
5314
5699
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -5560,7 +5945,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
5560
5945
  } | {
5561
5946
  type: "evmNetwork";
5562
5947
  operator: "in" | "not in";
5563
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
5948
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
5564
5949
  } | {
5565
5950
  type: "netUSDChange";
5566
5951
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -5625,7 +6010,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
5625
6010
  } | {
5626
6011
  type: "evmNetwork";
5627
6012
  operator: "in" | "not in";
5628
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
6013
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
5629
6014
  } | {
5630
6015
  type: "netUSDChange";
5631
6016
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -6092,11 +6477,11 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
6092
6477
  }, "strip", z.ZodTypeAny, {
6093
6478
  type: "solNetwork";
6094
6479
  operator: "in" | "not in";
6095
- networks: ("solana-devnet" | "solana")[];
6480
+ networks: ("solana" | "solana-devnet")[];
6096
6481
  }, {
6097
6482
  type: "solNetwork";
6098
6483
  operator: "in" | "not in";
6099
- networks: ("solana-devnet" | "solana")[];
6484
+ networks: ("solana" | "solana-devnet")[];
6100
6485
  }>]>, "many">;
6101
6486
  }, "strip", z.ZodTypeAny, {
6102
6487
  action: "reject" | "accept";
@@ -6146,7 +6531,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
6146
6531
  } | {
6147
6532
  type: "solNetwork";
6148
6533
  operator: "in" | "not in";
6149
- networks: ("solana-devnet" | "solana")[];
6534
+ networks: ("solana" | "solana-devnet")[];
6150
6535
  })[];
6151
6536
  }, {
6152
6537
  action: "reject" | "accept";
@@ -6196,7 +6581,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
6196
6581
  } | {
6197
6582
  type: "solNetwork";
6198
6583
  operator: "in" | "not in";
6199
- networks: ("solana-devnet" | "solana")[];
6584
+ networks: ("solana" | "solana-devnet")[];
6200
6585
  })[];
6201
6586
  }>, z.ZodObject<{
6202
6587
  action: z.ZodEnum<["reject", "accept"]>;
@@ -6259,11 +6644,11 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
6259
6644
  }, "strip", z.ZodTypeAny, {
6260
6645
  type: "evmNetwork";
6261
6646
  operator: "in" | "not in";
6262
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
6647
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
6263
6648
  }, {
6264
6649
  type: "evmNetwork";
6265
6650
  operator: "in" | "not in";
6266
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
6651
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
6267
6652
  }>, z.ZodObject<{
6268
6653
  type: z.ZodLiteral<"evmData">;
6269
6654
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -6515,7 +6900,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
6515
6900
  } | {
6516
6901
  type: "evmNetwork";
6517
6902
  operator: "in" | "not in";
6518
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
6903
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
6519
6904
  } | {
6520
6905
  type: "netUSDChange";
6521
6906
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -6580,7 +6965,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
6580
6965
  } | {
6581
6966
  type: "evmNetwork";
6582
6967
  operator: "in" | "not in";
6583
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
6968
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
6584
6969
  } | {
6585
6970
  type: "netUSDChange";
6586
6971
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -7347,11 +7732,11 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
7347
7732
  }, "strip", z.ZodTypeAny, {
7348
7733
  type: "evmNetwork";
7349
7734
  operator: "in" | "not in";
7350
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
7735
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
7351
7736
  }, {
7352
7737
  type: "evmNetwork";
7353
7738
  operator: "in" | "not in";
7354
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
7739
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
7355
7740
  }>, z.ZodObject<{
7356
7741
  type: z.ZodLiteral<"evmData">;
7357
7742
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -7603,7 +7988,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
7603
7988
  } | {
7604
7989
  type: "evmNetwork";
7605
7990
  operator: "in" | "not in";
7606
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
7991
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
7607
7992
  } | {
7608
7993
  type: "netUSDChange";
7609
7994
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -7668,7 +8053,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
7668
8053
  } | {
7669
8054
  type: "evmNetwork";
7670
8055
  operator: "in" | "not in";
7671
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
8056
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
7672
8057
  } | {
7673
8058
  type: "netUSDChange";
7674
8059
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -7893,6 +8278,15 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
7893
8278
  operator: "in" | "not in";
7894
8279
  addresses: string[];
7895
8280
  })[];
8281
+ }>, z.ZodObject<{
8282
+ action: z.ZodEnum<["reject", "accept"]>;
8283
+ operation: z.ZodLiteral<"signEndUserEvmHash">;
8284
+ }, "strip", z.ZodTypeAny, {
8285
+ action: "reject" | "accept";
8286
+ operation: "signEndUserEvmHash";
8287
+ }, {
8288
+ action: "reject" | "accept";
8289
+ operation: "signEndUserEvmHash";
7896
8290
  }>, z.ZodObject<{
7897
8291
  action: z.ZodEnum<["reject", "accept"]>;
7898
8292
  operation: z.ZodLiteral<"signEndUserSolTransaction">;
@@ -8235,9 +8629,376 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
8235
8629
  instructions: z.ZodArray<z.ZodAny, "many">;
8236
8630
  }, z.ZodTypeAny, "passthrough">>]>, "many">;
8237
8631
  conditions: z.ZodArray<z.ZodObject<{
8238
- instruction: z.ZodString;
8632
+ instruction: z.ZodString;
8633
+ params: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
8634
+ name: z.ZodString;
8635
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
8636
+ value: z.ZodString;
8637
+ }, "strip", z.ZodTypeAny, {
8638
+ value: string;
8639
+ name: string;
8640
+ operator: ">" | ">=" | "<" | "<=" | "==";
8641
+ }, {
8642
+ value: string;
8643
+ name: string;
8644
+ operator: ">" | ">=" | "<" | "<=" | "==";
8645
+ }>, z.ZodObject<{
8646
+ name: z.ZodString;
8647
+ operator: z.ZodEnum<["in", "not in"]>;
8648
+ values: z.ZodArray<z.ZodString, "many">;
8649
+ }, "strip", z.ZodTypeAny, {
8650
+ values: string[];
8651
+ name: string;
8652
+ operator: "in" | "not in";
8653
+ }, {
8654
+ values: string[];
8655
+ name: string;
8656
+ operator: "in" | "not in";
8657
+ }>]>, "many">>;
8658
+ }, "strip", z.ZodTypeAny, {
8659
+ instruction: string;
8660
+ params?: ({
8661
+ value: string;
8662
+ name: string;
8663
+ operator: ">" | ">=" | "<" | "<=" | "==";
8664
+ } | {
8665
+ values: string[];
8666
+ name: string;
8667
+ operator: "in" | "not in";
8668
+ })[] | undefined;
8669
+ }, {
8670
+ instruction: string;
8671
+ params?: ({
8672
+ value: string;
8673
+ name: string;
8674
+ operator: ">" | ">=" | "<" | "<=" | "==";
8675
+ } | {
8676
+ values: string[];
8677
+ name: string;
8678
+ operator: "in" | "not in";
8679
+ })[] | undefined;
8680
+ }>, "many">;
8681
+ }, "strip", z.ZodTypeAny, {
8682
+ type: "solData";
8683
+ conditions: {
8684
+ instruction: string;
8685
+ params?: ({
8686
+ value: string;
8687
+ name: string;
8688
+ operator: ">" | ">=" | "<" | "<=" | "==";
8689
+ } | {
8690
+ values: string[];
8691
+ name: string;
8692
+ operator: "in" | "not in";
8693
+ })[] | undefined;
8694
+ }[];
8695
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
8696
+ address: z.ZodString;
8697
+ instructions: z.ZodArray<z.ZodAny, "many">;
8698
+ }, z.ZodTypeAny, "passthrough">)[];
8699
+ }, {
8700
+ type: "solData";
8701
+ conditions: {
8702
+ instruction: string;
8703
+ params?: ({
8704
+ value: string;
8705
+ name: string;
8706
+ operator: ">" | ">=" | "<" | "<=" | "==";
8707
+ } | {
8708
+ values: string[];
8709
+ name: string;
8710
+ operator: "in" | "not in";
8711
+ })[] | undefined;
8712
+ }[];
8713
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
8714
+ address: z.ZodString;
8715
+ instructions: z.ZodArray<z.ZodAny, "many">;
8716
+ }, z.ZodTypeAny, "passthrough">)[];
8717
+ }>, z.ZodObject<{
8718
+ type: z.ZodLiteral<"programId">;
8719
+ programIds: z.ZodArray<z.ZodString, "many">;
8720
+ operator: z.ZodEnum<["in", "not in"]>;
8721
+ }, "strip", z.ZodTypeAny, {
8722
+ type: "programId";
8723
+ operator: "in" | "not in";
8724
+ programIds: string[];
8725
+ }, {
8726
+ type: "programId";
8727
+ operator: "in" | "not in";
8728
+ programIds: string[];
8729
+ }>, z.ZodObject<{
8730
+ type: z.ZodLiteral<"solNetwork">;
8731
+ networks: z.ZodArray<z.ZodEnum<["solana-devnet", "solana"]>, "many">;
8732
+ operator: z.ZodEnum<["in", "not in"]>;
8733
+ }, "strip", z.ZodTypeAny, {
8734
+ type: "solNetwork";
8735
+ operator: "in" | "not in";
8736
+ networks: ("solana" | "solana-devnet")[];
8737
+ }, {
8738
+ type: "solNetwork";
8739
+ operator: "in" | "not in";
8740
+ networks: ("solana" | "solana-devnet")[];
8741
+ }>]>, "many">;
8742
+ }, "strip", z.ZodTypeAny, {
8743
+ action: "reject" | "accept";
8744
+ operation: "sendEndUserSolTransaction";
8745
+ criteria: ({
8746
+ type: "solAddress";
8747
+ operator: "in" | "not in";
8748
+ addresses: string[];
8749
+ } | {
8750
+ solValue: string;
8751
+ type: "solValue";
8752
+ operator: ">" | ">=" | "<" | "<=" | "==";
8753
+ } | {
8754
+ type: "splAddress";
8755
+ operator: "in" | "not in";
8756
+ addresses: string[];
8757
+ } | {
8758
+ splValue: string;
8759
+ type: "splValue";
8760
+ operator: ">" | ">=" | "<" | "<=" | "==";
8761
+ } | {
8762
+ type: "mintAddress";
8763
+ operator: "in" | "not in";
8764
+ addresses: string[];
8765
+ } | {
8766
+ type: "solData";
8767
+ conditions: {
8768
+ instruction: string;
8769
+ params?: ({
8770
+ value: string;
8771
+ name: string;
8772
+ operator: ">" | ">=" | "<" | "<=" | "==";
8773
+ } | {
8774
+ values: string[];
8775
+ name: string;
8776
+ operator: "in" | "not in";
8777
+ })[] | undefined;
8778
+ }[];
8779
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
8780
+ address: z.ZodString;
8781
+ instructions: z.ZodArray<z.ZodAny, "many">;
8782
+ }, z.ZodTypeAny, "passthrough">)[];
8783
+ } | {
8784
+ type: "programId";
8785
+ operator: "in" | "not in";
8786
+ programIds: string[];
8787
+ } | {
8788
+ type: "solNetwork";
8789
+ operator: "in" | "not in";
8790
+ networks: ("solana" | "solana-devnet")[];
8791
+ })[];
8792
+ }, {
8793
+ action: "reject" | "accept";
8794
+ operation: "sendEndUserSolTransaction";
8795
+ criteria: ({
8796
+ type: "solAddress";
8797
+ operator: "in" | "not in";
8798
+ addresses: string[];
8799
+ } | {
8800
+ solValue: string;
8801
+ type: "solValue";
8802
+ operator: ">" | ">=" | "<" | "<=" | "==";
8803
+ } | {
8804
+ type: "splAddress";
8805
+ operator: "in" | "not in";
8806
+ addresses: string[];
8807
+ } | {
8808
+ splValue: string;
8809
+ type: "splValue";
8810
+ operator: ">" | ">=" | "<" | "<=" | "==";
8811
+ } | {
8812
+ type: "mintAddress";
8813
+ operator: "in" | "not in";
8814
+ addresses: string[];
8815
+ } | {
8816
+ type: "solData";
8817
+ conditions: {
8818
+ instruction: string;
8819
+ params?: ({
8820
+ value: string;
8821
+ name: string;
8822
+ operator: ">" | ">=" | "<" | "<=" | "==";
8823
+ } | {
8824
+ values: string[];
8825
+ name: string;
8826
+ operator: "in" | "not in";
8827
+ })[] | undefined;
8828
+ }[];
8829
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
8830
+ address: z.ZodString;
8831
+ instructions: z.ZodArray<z.ZodAny, "many">;
8832
+ }, z.ZodTypeAny, "passthrough">)[];
8833
+ } | {
8834
+ type: "programId";
8835
+ operator: "in" | "not in";
8836
+ programIds: string[];
8837
+ } | {
8838
+ type: "solNetwork";
8839
+ operator: "in" | "not in";
8840
+ networks: ("solana" | "solana-devnet")[];
8841
+ })[];
8842
+ }>, z.ZodObject<{
8843
+ action: z.ZodEnum<["reject", "accept"]>;
8844
+ operation: z.ZodLiteral<"signEndUserSolMessage">;
8845
+ criteria: z.ZodArray<z.ZodObject<{
8846
+ type: z.ZodLiteral<"solMessage">;
8847
+ match: z.ZodString;
8848
+ }, "strip", z.ZodTypeAny, {
8849
+ match: string;
8850
+ type: "solMessage";
8851
+ }, {
8852
+ match: string;
8853
+ type: "solMessage";
8854
+ }>, "many">;
8855
+ }, "strip", z.ZodTypeAny, {
8856
+ action: "reject" | "accept";
8857
+ operation: "signEndUserSolMessage";
8858
+ criteria: {
8859
+ match: string;
8860
+ type: "solMessage";
8861
+ }[];
8862
+ }, {
8863
+ action: "reject" | "accept";
8864
+ operation: "signEndUserSolMessage";
8865
+ criteria: {
8866
+ match: string;
8867
+ type: "solMessage";
8868
+ }[];
8869
+ }>, z.ZodObject<{
8870
+ action: z.ZodEnum<["reject", "accept"]>;
8871
+ operation: z.ZodLiteral<"sendEndUserEvmAsset">;
8872
+ criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8873
+ type: z.ZodLiteral<"evmNetwork">;
8874
+ networks: z.ZodArray<z.ZodEnum<["base", "base-sepolia", "ethereum", "ethereum-sepolia", "avalanche", "polygon", "optimism", "arbitrum"]>, "many">;
8875
+ operator: z.ZodEnum<["in", "not in"]>;
8876
+ }, "strip", z.ZodTypeAny, {
8877
+ type: "evmNetwork";
8878
+ operator: "in" | "not in";
8879
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
8880
+ }, {
8881
+ type: "evmNetwork";
8882
+ operator: "in" | "not in";
8883
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
8884
+ }>, z.ZodObject<{
8885
+ type: z.ZodLiteral<"evmData">;
8886
+ abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
8887
+ type: z.ZodLiteral<"error">;
8888
+ inputs: z.ZodReadonly<z.ZodArray<z.ZodType<import("abitype").AbiParameter, z.ZodTypeDef, import("abitype").AbiParameter>, "many">>;
8889
+ name: z.ZodString;
8890
+ }, "strip", z.ZodTypeAny, {
8891
+ inputs: readonly import("abitype").AbiParameter[];
8892
+ type: "error";
8893
+ name: string;
8894
+ }, {
8895
+ inputs: readonly import("abitype").AbiParameter[];
8896
+ type: "error";
8897
+ name: string;
8898
+ }>, z.ZodObject<{
8899
+ type: z.ZodLiteral<"event">;
8900
+ anonymous: z.ZodOptional<z.ZodBoolean>;
8901
+ inputs: z.ZodReadonly<z.ZodArray<z.ZodType<import("abitype").AbiEventParameter, z.ZodTypeDef, import("abitype").AbiEventParameter>, "many">>;
8902
+ name: z.ZodString;
8903
+ }, "strip", z.ZodTypeAny, {
8904
+ inputs: readonly import("abitype").AbiEventParameter[];
8905
+ type: "event";
8906
+ name: string;
8907
+ anonymous?: boolean | undefined;
8908
+ }, {
8909
+ inputs: readonly import("abitype").AbiEventParameter[];
8910
+ type: "event";
8911
+ name: string;
8912
+ anonymous?: boolean | undefined;
8913
+ }>, z.ZodEffects<z.ZodIntersection<z.ZodObject<{
8914
+ constant: z.ZodOptional<z.ZodBoolean>;
8915
+ gas: z.ZodOptional<z.ZodNumber>;
8916
+ payable: z.ZodOptional<z.ZodBoolean>;
8917
+ }, "strip", z.ZodTypeAny, {
8918
+ payable?: boolean | undefined;
8919
+ constant?: boolean | undefined;
8920
+ gas?: number | undefined;
8921
+ }, {
8922
+ payable?: boolean | undefined;
8923
+ constant?: boolean | undefined;
8924
+ gas?: number | undefined;
8925
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8926
+ type: z.ZodLiteral<"function">;
8927
+ inputs: z.ZodReadonly<z.ZodArray<z.ZodType<import("abitype").AbiParameter, z.ZodTypeDef, import("abitype").AbiParameter>, "many">>;
8928
+ name: z.ZodString;
8929
+ outputs: z.ZodReadonly<z.ZodArray<z.ZodType<import("abitype").AbiParameter, z.ZodTypeDef, import("abitype").AbiParameter>, "many">>;
8930
+ stateMutability: z.ZodUnion<[z.ZodLiteral<"pure">, z.ZodLiteral<"view">, z.ZodLiteral<"nonpayable">, z.ZodLiteral<"payable">]>;
8931
+ }, "strip", z.ZodTypeAny, {
8932
+ inputs: readonly import("abitype").AbiParameter[];
8933
+ outputs: readonly import("abitype").AbiParameter[];
8934
+ type: "function";
8935
+ name: string;
8936
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
8937
+ }, {
8938
+ inputs: readonly import("abitype").AbiParameter[];
8939
+ outputs: readonly import("abitype").AbiParameter[];
8940
+ type: "function";
8941
+ name: string;
8942
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
8943
+ }>, z.ZodObject<{
8944
+ type: z.ZodLiteral<"constructor">;
8945
+ inputs: z.ZodReadonly<z.ZodArray<z.ZodType<import("abitype").AbiParameter, z.ZodTypeDef, import("abitype").AbiParameter>, "many">>;
8946
+ stateMutability: z.ZodUnion<[z.ZodLiteral<"payable">, z.ZodLiteral<"nonpayable">]>;
8947
+ }, "strip", z.ZodTypeAny, {
8948
+ inputs: readonly import("abitype").AbiParameter[];
8949
+ type: "constructor";
8950
+ stateMutability: "nonpayable" | "payable";
8951
+ }, {
8952
+ inputs: readonly import("abitype").AbiParameter[];
8953
+ type: "constructor";
8954
+ stateMutability: "nonpayable" | "payable";
8955
+ }>, z.ZodObject<{
8956
+ type: z.ZodLiteral<"fallback">;
8957
+ inputs: z.ZodOptional<z.ZodTuple<[], null>>;
8958
+ stateMutability: z.ZodUnion<[z.ZodLiteral<"payable">, z.ZodLiteral<"nonpayable">]>;
8959
+ }, "strip", z.ZodTypeAny, {
8960
+ type: "fallback";
8961
+ stateMutability: "nonpayable" | "payable";
8962
+ inputs?: [] | undefined;
8963
+ }, {
8964
+ type: "fallback";
8965
+ stateMutability: "nonpayable" | "payable";
8966
+ inputs?: [] | undefined;
8967
+ }>, z.ZodObject<{
8968
+ type: z.ZodLiteral<"receive">;
8969
+ stateMutability: z.ZodLiteral<"payable">;
8970
+ }, "strip", z.ZodTypeAny, {
8971
+ type: "receive";
8972
+ stateMutability: "payable";
8973
+ }, {
8974
+ type: "receive";
8975
+ stateMutability: "payable";
8976
+ }>]>>, {
8977
+ payable?: boolean | undefined;
8978
+ constant?: boolean | undefined;
8979
+ gas?: number | undefined;
8980
+ } & ({
8981
+ inputs: readonly import("abitype").AbiParameter[];
8982
+ outputs: readonly import("abitype").AbiParameter[];
8983
+ type: "function";
8984
+ name: string;
8985
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
8986
+ } | {
8987
+ inputs: readonly import("abitype").AbiParameter[];
8988
+ type: "constructor";
8989
+ stateMutability: "nonpayable" | "payable";
8990
+ } | {
8991
+ type: "fallback";
8992
+ stateMutability: "nonpayable" | "payable";
8993
+ inputs?: [] | undefined;
8994
+ } | {
8995
+ type: "receive";
8996
+ stateMutability: "payable";
8997
+ }), unknown>]>, "many">>]>;
8998
+ conditions: z.ZodArray<z.ZodObject<{
8999
+ function: z.ZodString;
8239
9000
  params: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
8240
- name: z.ZodString;
9001
+ name: z.ZodUnion<[z.ZodString, z.ZodString]>;
8241
9002
  operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
8242
9003
  value: z.ZodString;
8243
9004
  }, "strip", z.ZodTypeAny, {
@@ -8249,7 +9010,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
8249
9010
  name: string;
8250
9011
  operator: ">" | ">=" | "<" | "<=" | "==";
8251
9012
  }>, z.ZodObject<{
8252
- name: z.ZodString;
9013
+ name: z.ZodUnion<[z.ZodString, z.ZodString]>;
8253
9014
  operator: z.ZodEnum<["in", "not in"]>;
8254
9015
  values: z.ZodArray<z.ZodString, "many">;
8255
9016
  }, "strip", z.ZodTypeAny, {
@@ -8262,231 +9023,224 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
8262
9023
  operator: "in" | "not in";
8263
9024
  }>]>, "many">>;
8264
9025
  }, "strip", z.ZodTypeAny, {
8265
- instruction: string;
9026
+ function: string;
8266
9027
  params?: ({
8267
- value: string;
8268
- name: string;
8269
- operator: ">" | ">=" | "<" | "<=" | "==";
8270
- } | {
8271
9028
  values: string[];
8272
9029
  name: string;
8273
9030
  operator: "in" | "not in";
8274
- })[] | undefined;
8275
- }, {
8276
- instruction: string;
8277
- params?: ({
9031
+ } | {
8278
9032
  value: string;
8279
9033
  name: string;
8280
9034
  operator: ">" | ">=" | "<" | "<=" | "==";
8281
- } | {
9035
+ })[] | undefined;
9036
+ }, {
9037
+ function: string;
9038
+ params?: ({
8282
9039
  values: string[];
8283
9040
  name: string;
8284
9041
  operator: "in" | "not in";
9042
+ } | {
9043
+ value: string;
9044
+ name: string;
9045
+ operator: ">" | ">=" | "<" | "<=" | "==";
8285
9046
  })[] | undefined;
8286
9047
  }>, "many">;
8287
9048
  }, "strip", z.ZodTypeAny, {
8288
- type: "solData";
9049
+ type: "evmData";
9050
+ abi: "erc20" | "erc721" | "erc1155" | readonly ({
9051
+ inputs: readonly import("abitype").AbiParameter[];
9052
+ type: "error";
9053
+ name: string;
9054
+ } | {
9055
+ inputs: readonly import("abitype").AbiEventParameter[];
9056
+ type: "event";
9057
+ name: string;
9058
+ anonymous?: boolean | undefined;
9059
+ } | ({
9060
+ payable?: boolean | undefined;
9061
+ constant?: boolean | undefined;
9062
+ gas?: number | undefined;
9063
+ } & ({
9064
+ inputs: readonly import("abitype").AbiParameter[];
9065
+ outputs: readonly import("abitype").AbiParameter[];
9066
+ type: "function";
9067
+ name: string;
9068
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
9069
+ } | {
9070
+ inputs: readonly import("abitype").AbiParameter[];
9071
+ type: "constructor";
9072
+ stateMutability: "nonpayable" | "payable";
9073
+ } | {
9074
+ type: "fallback";
9075
+ stateMutability: "nonpayable" | "payable";
9076
+ inputs?: [] | undefined;
9077
+ } | {
9078
+ type: "receive";
9079
+ stateMutability: "payable";
9080
+ })))[];
8289
9081
  conditions: {
8290
- instruction: string;
9082
+ function: string;
8291
9083
  params?: ({
8292
- value: string;
8293
- name: string;
8294
- operator: ">" | ">=" | "<" | "<=" | "==";
8295
- } | {
8296
9084
  values: string[];
8297
9085
  name: string;
8298
9086
  operator: "in" | "not in";
9087
+ } | {
9088
+ value: string;
9089
+ name: string;
9090
+ operator: ">" | ">=" | "<" | "<=" | "==";
8299
9091
  })[] | undefined;
8300
9092
  }[];
8301
- idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
8302
- address: z.ZodString;
8303
- instructions: z.ZodArray<z.ZodAny, "many">;
8304
- }, z.ZodTypeAny, "passthrough">)[];
8305
9093
  }, {
8306
- type: "solData";
9094
+ type: "evmData";
9095
+ abi: "erc20" | "erc721" | "erc1155" | readonly unknown[];
8307
9096
  conditions: {
8308
- instruction: string;
9097
+ function: string;
8309
9098
  params?: ({
8310
- value: string;
8311
- name: string;
8312
- operator: ">" | ">=" | "<" | "<=" | "==";
8313
- } | {
8314
9099
  values: string[];
8315
9100
  name: string;
8316
9101
  operator: "in" | "not in";
9102
+ } | {
9103
+ value: string;
9104
+ name: string;
9105
+ operator: ">" | ">=" | "<" | "<=" | "==";
8317
9106
  })[] | undefined;
8318
9107
  }[];
8319
- idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
8320
- address: z.ZodString;
8321
- instructions: z.ZodArray<z.ZodAny, "many">;
8322
- }, z.ZodTypeAny, "passthrough">)[];
8323
- }>, z.ZodObject<{
8324
- type: z.ZodLiteral<"programId">;
8325
- programIds: z.ZodArray<z.ZodString, "many">;
8326
- operator: z.ZodEnum<["in", "not in"]>;
8327
- }, "strip", z.ZodTypeAny, {
8328
- type: "programId";
8329
- operator: "in" | "not in";
8330
- programIds: string[];
8331
- }, {
8332
- type: "programId";
8333
- operator: "in" | "not in";
8334
- programIds: string[];
8335
9108
  }>, z.ZodObject<{
8336
- type: z.ZodLiteral<"solNetwork">;
8337
- networks: z.ZodArray<z.ZodEnum<["solana-devnet", "solana"]>, "many">;
8338
- operator: z.ZodEnum<["in", "not in"]>;
9109
+ type: z.ZodLiteral<"netUSDChange">;
9110
+ changeCents: z.ZodNumber;
9111
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
8339
9112
  }, "strip", z.ZodTypeAny, {
8340
- type: "solNetwork";
8341
- operator: "in" | "not in";
8342
- networks: ("solana-devnet" | "solana")[];
9113
+ type: "netUSDChange";
9114
+ operator: ">" | ">=" | "<" | "<=" | "==";
9115
+ changeCents: number;
8343
9116
  }, {
8344
- type: "solNetwork";
8345
- operator: "in" | "not in";
8346
- networks: ("solana-devnet" | "solana")[];
9117
+ type: "netUSDChange";
9118
+ operator: ">" | ">=" | "<" | "<=" | "==";
9119
+ changeCents: number;
8347
9120
  }>]>, "many">;
8348
9121
  }, "strip", z.ZodTypeAny, {
8349
9122
  action: "reject" | "accept";
8350
- operation: "sendEndUserSolTransaction";
9123
+ operation: "sendEndUserEvmAsset";
8351
9124
  criteria: ({
8352
- type: "solAddress";
8353
- operator: "in" | "not in";
8354
- addresses: string[];
8355
- } | {
8356
- solValue: string;
8357
- type: "solValue";
8358
- operator: ">" | ">=" | "<" | "<=" | "==";
8359
- } | {
8360
- type: "splAddress";
9125
+ type: "evmNetwork";
8361
9126
  operator: "in" | "not in";
8362
- addresses: string[];
9127
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
8363
9128
  } | {
8364
- splValue: string;
8365
- type: "splValue";
9129
+ type: "netUSDChange";
8366
9130
  operator: ">" | ">=" | "<" | "<=" | "==";
9131
+ changeCents: number;
8367
9132
  } | {
8368
- type: "mintAddress";
8369
- operator: "in" | "not in";
8370
- addresses: string[];
8371
- } | {
8372
- type: "solData";
9133
+ type: "evmData";
9134
+ abi: "erc20" | "erc721" | "erc1155" | readonly ({
9135
+ inputs: readonly import("abitype").AbiParameter[];
9136
+ type: "error";
9137
+ name: string;
9138
+ } | {
9139
+ inputs: readonly import("abitype").AbiEventParameter[];
9140
+ type: "event";
9141
+ name: string;
9142
+ anonymous?: boolean | undefined;
9143
+ } | ({
9144
+ payable?: boolean | undefined;
9145
+ constant?: boolean | undefined;
9146
+ gas?: number | undefined;
9147
+ } & ({
9148
+ inputs: readonly import("abitype").AbiParameter[];
9149
+ outputs: readonly import("abitype").AbiParameter[];
9150
+ type: "function";
9151
+ name: string;
9152
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
9153
+ } | {
9154
+ inputs: readonly import("abitype").AbiParameter[];
9155
+ type: "constructor";
9156
+ stateMutability: "nonpayable" | "payable";
9157
+ } | {
9158
+ type: "fallback";
9159
+ stateMutability: "nonpayable" | "payable";
9160
+ inputs?: [] | undefined;
9161
+ } | {
9162
+ type: "receive";
9163
+ stateMutability: "payable";
9164
+ })))[];
8373
9165
  conditions: {
8374
- instruction: string;
9166
+ function: string;
8375
9167
  params?: ({
8376
- value: string;
8377
- name: string;
8378
- operator: ">" | ">=" | "<" | "<=" | "==";
8379
- } | {
8380
9168
  values: string[];
8381
9169
  name: string;
8382
9170
  operator: "in" | "not in";
9171
+ } | {
9172
+ value: string;
9173
+ name: string;
9174
+ operator: ">" | ">=" | "<" | "<=" | "==";
8383
9175
  })[] | undefined;
8384
9176
  }[];
8385
- idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
8386
- address: z.ZodString;
8387
- instructions: z.ZodArray<z.ZodAny, "many">;
8388
- }, z.ZodTypeAny, "passthrough">)[];
8389
- } | {
8390
- type: "programId";
8391
- operator: "in" | "not in";
8392
- programIds: string[];
8393
- } | {
8394
- type: "solNetwork";
8395
- operator: "in" | "not in";
8396
- networks: ("solana-devnet" | "solana")[];
8397
9177
  })[];
8398
9178
  }, {
8399
9179
  action: "reject" | "accept";
8400
- operation: "sendEndUserSolTransaction";
9180
+ operation: "sendEndUserEvmAsset";
8401
9181
  criteria: ({
8402
- type: "solAddress";
8403
- operator: "in" | "not in";
8404
- addresses: string[];
8405
- } | {
8406
- solValue: string;
8407
- type: "solValue";
8408
- operator: ">" | ">=" | "<" | "<=" | "==";
8409
- } | {
8410
- type: "splAddress";
9182
+ type: "evmNetwork";
8411
9183
  operator: "in" | "not in";
8412
- addresses: string[];
9184
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
8413
9185
  } | {
8414
- splValue: string;
8415
- type: "splValue";
9186
+ type: "netUSDChange";
8416
9187
  operator: ">" | ">=" | "<" | "<=" | "==";
9188
+ changeCents: number;
8417
9189
  } | {
8418
- type: "mintAddress";
8419
- operator: "in" | "not in";
8420
- addresses: string[];
8421
- } | {
8422
- type: "solData";
9190
+ type: "evmData";
9191
+ abi: "erc20" | "erc721" | "erc1155" | readonly unknown[];
8423
9192
  conditions: {
8424
- instruction: string;
9193
+ function: string;
8425
9194
  params?: ({
8426
- value: string;
8427
- name: string;
8428
- operator: ">" | ">=" | "<" | "<=" | "==";
8429
- } | {
8430
9195
  values: string[];
8431
9196
  name: string;
8432
9197
  operator: "in" | "not in";
9198
+ } | {
9199
+ value: string;
9200
+ name: string;
9201
+ operator: ">" | ">=" | "<" | "<=" | "==";
8433
9202
  })[] | undefined;
8434
9203
  }[];
8435
- idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
8436
- address: z.ZodString;
8437
- instructions: z.ZodArray<z.ZodAny, "many">;
8438
- }, z.ZodTypeAny, "passthrough">)[];
8439
- } | {
8440
- type: "programId";
8441
- operator: "in" | "not in";
8442
- programIds: string[];
8443
- } | {
8444
- type: "solNetwork";
8445
- operator: "in" | "not in";
8446
- networks: ("solana-devnet" | "solana")[];
8447
9204
  })[];
8448
9205
  }>, z.ZodObject<{
8449
9206
  action: z.ZodEnum<["reject", "accept"]>;
8450
- operation: z.ZodLiteral<"signEndUserSolMessage">;
8451
- criteria: z.ZodArray<z.ZodObject<{
8452
- type: z.ZodLiteral<"solMessage">;
8453
- match: z.ZodString;
9207
+ operation: z.ZodLiteral<"sendEndUserOperation">;
9208
+ criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9209
+ type: z.ZodLiteral<"ethValue">;
9210
+ ethValue: z.ZodString;
9211
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
8454
9212
  }, "strip", z.ZodTypeAny, {
8455
- match: string;
8456
- type: "solMessage";
9213
+ ethValue: string;
9214
+ type: "ethValue";
9215
+ operator: ">" | ">=" | "<" | "<=" | "==";
8457
9216
  }, {
8458
- match: string;
8459
- type: "solMessage";
8460
- }>, "many">;
8461
- }, "strip", z.ZodTypeAny, {
8462
- action: "reject" | "accept";
8463
- operation: "signEndUserSolMessage";
8464
- criteria: {
8465
- match: string;
8466
- type: "solMessage";
8467
- }[];
8468
- }, {
8469
- action: "reject" | "accept";
8470
- operation: "signEndUserSolMessage";
8471
- criteria: {
8472
- match: string;
8473
- type: "solMessage";
8474
- }[];
8475
- }>, z.ZodObject<{
8476
- action: z.ZodEnum<["reject", "accept"]>;
8477
- operation: z.ZodLiteral<"sendEndUserEvmAsset">;
8478
- criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9217
+ ethValue: string;
9218
+ type: "ethValue";
9219
+ operator: ">" | ">=" | "<" | "<=" | "==";
9220
+ }>, z.ZodObject<{
9221
+ type: z.ZodLiteral<"evmAddress">;
9222
+ addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
9223
+ operator: z.ZodEnum<["in", "not in"]>;
9224
+ }, "strip", z.ZodTypeAny, {
9225
+ type: "evmAddress";
9226
+ operator: "in" | "not in";
9227
+ addresses: `0x${string}`[];
9228
+ }, {
9229
+ type: "evmAddress";
9230
+ operator: "in" | "not in";
9231
+ addresses: string[];
9232
+ }>, z.ZodObject<{
8479
9233
  type: z.ZodLiteral<"evmNetwork">;
8480
- networks: z.ZodArray<z.ZodEnum<["base", "base-sepolia", "ethereum", "ethereum-sepolia", "avalanche", "polygon", "optimism", "arbitrum"]>, "many">;
9234
+ networks: z.ZodArray<z.ZodEnum<["base-sepolia", "base", "arbitrum", "optimism", "zora", "polygon", "bnb", "avalanche", "ethereum", "ethereum-sepolia"]>, "many">;
8481
9235
  operator: z.ZodEnum<["in", "not in"]>;
8482
9236
  }, "strip", z.ZodTypeAny, {
8483
9237
  type: "evmNetwork";
8484
9238
  operator: "in" | "not in";
8485
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
9239
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
8486
9240
  }, {
8487
9241
  type: "evmNetwork";
8488
9242
  operator: "in" | "not in";
8489
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
9243
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
8490
9244
  }>, z.ZodObject<{
8491
9245
  type: z.ZodLiteral<"evmData">;
8492
9246
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -8726,11 +9480,19 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
8726
9480
  }>]>, "many">;
8727
9481
  }, "strip", z.ZodTypeAny, {
8728
9482
  action: "reject" | "accept";
8729
- operation: "sendEndUserEvmAsset";
9483
+ operation: "sendEndUserOperation";
8730
9484
  criteria: ({
9485
+ ethValue: string;
9486
+ type: "ethValue";
9487
+ operator: ">" | ">=" | "<" | "<=" | "==";
9488
+ } | {
9489
+ type: "evmAddress";
9490
+ operator: "in" | "not in";
9491
+ addresses: `0x${string}`[];
9492
+ } | {
8731
9493
  type: "evmNetwork";
8732
9494
  operator: "in" | "not in";
8733
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
9495
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
8734
9496
  } | {
8735
9497
  type: "netUSDChange";
8736
9498
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -8783,11 +9545,19 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
8783
9545
  })[];
8784
9546
  }, {
8785
9547
  action: "reject" | "accept";
8786
- operation: "sendEndUserEvmAsset";
9548
+ operation: "sendEndUserOperation";
8787
9549
  criteria: ({
9550
+ ethValue: string;
9551
+ type: "ethValue";
9552
+ operator: ">" | ">=" | "<" | "<=" | "==";
9553
+ } | {
9554
+ type: "evmAddress";
9555
+ operator: "in" | "not in";
9556
+ addresses: string[];
9557
+ } | {
8788
9558
  type: "evmNetwork";
8789
9559
  operator: "in" | "not in";
8790
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
9560
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
8791
9561
  } | {
8792
9562
  type: "netUSDChange";
8793
9563
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -8818,11 +9588,11 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
8818
9588
  }, "strip", z.ZodTypeAny, {
8819
9589
  type: "evmNetwork";
8820
9590
  operator: "in" | "not in";
8821
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
9591
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
8822
9592
  }, {
8823
9593
  type: "evmNetwork";
8824
9594
  operator: "in" | "not in";
8825
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
9595
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
8826
9596
  }>, z.ZodObject<{
8827
9597
  type: z.ZodLiteral<"evmData">;
8828
9598
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -9066,7 +9836,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
9066
9836
  criteria: ({
9067
9837
  type: "evmNetwork";
9068
9838
  operator: "in" | "not in";
9069
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
9839
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
9070
9840
  } | {
9071
9841
  type: "netUSDChange";
9072
9842
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -9123,7 +9893,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
9123
9893
  criteria: ({
9124
9894
  type: "evmNetwork";
9125
9895
  operator: "in" | "not in";
9126
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
9896
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
9127
9897
  } | {
9128
9898
  type: "netUSDChange";
9129
9899
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -9276,11 +10046,11 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
9276
10046
  }, "strip", z.ZodTypeAny, {
9277
10047
  type: "solNetwork";
9278
10048
  operator: "in" | "not in";
9279
- networks: ("solana-devnet" | "solana")[];
10049
+ networks: ("solana" | "solana-devnet")[];
9280
10050
  }, {
9281
10051
  type: "solNetwork";
9282
10052
  operator: "in" | "not in";
9283
- networks: ("solana-devnet" | "solana")[];
10053
+ networks: ("solana" | "solana-devnet")[];
9284
10054
  }>]>, "many">;
9285
10055
  }, "strip", z.ZodTypeAny, {
9286
10056
  action: "reject" | "accept";
@@ -9314,7 +10084,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
9314
10084
  } | {
9315
10085
  type: "solNetwork";
9316
10086
  operator: "in" | "not in";
9317
- networks: ("solana-devnet" | "solana")[];
10087
+ networks: ("solana" | "solana-devnet")[];
9318
10088
  })[];
9319
10089
  }, {
9320
10090
  action: "reject" | "accept";
@@ -9348,7 +10118,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
9348
10118
  } | {
9349
10119
  type: "solNetwork";
9350
10120
  operator: "in" | "not in";
9351
- networks: ("solana-devnet" | "solana")[];
10121
+ networks: ("solana" | "solana-devnet")[];
9352
10122
  })[];
9353
10123
  }>]>, "many">;
9354
10124
  }, "strip", z.ZodTypeAny, {
@@ -9417,6 +10187,9 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
9417
10187
  } | {
9418
10188
  action: "reject" | "accept";
9419
10189
  operation: "signEvmHash";
10190
+ } | {
10191
+ action: "reject" | "accept";
10192
+ operation: "signEndUserEvmHash";
9420
10193
  } | {
9421
10194
  action: "reject" | "accept";
9422
10195
  operation: "signEvmMessage";
@@ -9467,7 +10240,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
9467
10240
  } | {
9468
10241
  type: "evmNetwork";
9469
10242
  operator: "in" | "not in";
9470
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
10243
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
9471
10244
  } | {
9472
10245
  type: "netUSDChange";
9473
10246
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -9532,7 +10305,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
9532
10305
  } | {
9533
10306
  type: "evmNetwork";
9534
10307
  operator: "in" | "not in";
9535
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
10308
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
9536
10309
  } | {
9537
10310
  type: "netUSDChange";
9538
10311
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -9719,7 +10492,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
9719
10492
  } | {
9720
10493
  type: "evmNetwork";
9721
10494
  operator: "in" | "not in";
9722
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
10495
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
9723
10496
  } | {
9724
10497
  type: "netUSDChange";
9725
10498
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -9806,13 +10579,78 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
9806
10579
  operator: "in" | "not in";
9807
10580
  addresses: `0x${string}`[];
9808
10581
  })[];
10582
+ } | {
10583
+ action: "reject" | "accept";
10584
+ operation: "sendEndUserOperation";
10585
+ criteria: ({
10586
+ ethValue: string;
10587
+ type: "ethValue";
10588
+ operator: ">" | ">=" | "<" | "<=" | "==";
10589
+ } | {
10590
+ type: "evmAddress";
10591
+ operator: "in" | "not in";
10592
+ addresses: `0x${string}`[];
10593
+ } | {
10594
+ type: "evmNetwork";
10595
+ operator: "in" | "not in";
10596
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
10597
+ } | {
10598
+ type: "netUSDChange";
10599
+ operator: ">" | ">=" | "<" | "<=" | "==";
10600
+ changeCents: number;
10601
+ } | {
10602
+ type: "evmData";
10603
+ abi: "erc20" | "erc721" | "erc1155" | readonly ({
10604
+ inputs: readonly import("abitype").AbiParameter[];
10605
+ type: "error";
10606
+ name: string;
10607
+ } | {
10608
+ inputs: readonly import("abitype").AbiEventParameter[];
10609
+ type: "event";
10610
+ name: string;
10611
+ anonymous?: boolean | undefined;
10612
+ } | ({
10613
+ payable?: boolean | undefined;
10614
+ constant?: boolean | undefined;
10615
+ gas?: number | undefined;
10616
+ } & ({
10617
+ inputs: readonly import("abitype").AbiParameter[];
10618
+ outputs: readonly import("abitype").AbiParameter[];
10619
+ type: "function";
10620
+ name: string;
10621
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
10622
+ } | {
10623
+ inputs: readonly import("abitype").AbiParameter[];
10624
+ type: "constructor";
10625
+ stateMutability: "nonpayable" | "payable";
10626
+ } | {
10627
+ type: "fallback";
10628
+ stateMutability: "nonpayable" | "payable";
10629
+ inputs?: [] | undefined;
10630
+ } | {
10631
+ type: "receive";
10632
+ stateMutability: "payable";
10633
+ })))[];
10634
+ conditions: {
10635
+ function: string;
10636
+ params?: ({
10637
+ values: string[];
10638
+ name: string;
10639
+ operator: "in" | "not in";
10640
+ } | {
10641
+ value: string;
10642
+ name: string;
10643
+ operator: ">" | ">=" | "<" | "<=" | "==";
10644
+ })[] | undefined;
10645
+ }[];
10646
+ })[];
9809
10647
  } | {
9810
10648
  action: "reject" | "accept";
9811
10649
  operation: "sendEndUserEvmAsset";
9812
10650
  criteria: ({
9813
10651
  type: "evmNetwork";
9814
10652
  operator: "in" | "not in";
9815
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
10653
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
9816
10654
  } | {
9817
10655
  type: "netUSDChange";
9818
10656
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -9869,7 +10707,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
9869
10707
  criteria: ({
9870
10708
  type: "evmNetwork";
9871
10709
  operator: "in" | "not in";
9872
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
10710
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
9873
10711
  } | {
9874
10712
  type: "netUSDChange";
9875
10713
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -10014,7 +10852,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
10014
10852
  } | {
10015
10853
  type: "solNetwork";
10016
10854
  operator: "in" | "not in";
10017
- networks: ("solana-devnet" | "solana")[];
10855
+ networks: ("solana" | "solana-devnet")[];
10018
10856
  })[];
10019
10857
  } | {
10020
10858
  action: "reject" | "accept";
@@ -10117,7 +10955,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
10117
10955
  } | {
10118
10956
  type: "solNetwork";
10119
10957
  operator: "in" | "not in";
10120
- networks: ("solana-devnet" | "solana")[];
10958
+ networks: ("solana" | "solana-devnet")[];
10121
10959
  })[];
10122
10960
  } | {
10123
10961
  action: "reject" | "accept";
@@ -10158,7 +10996,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
10158
10996
  } | {
10159
10997
  type: "solNetwork";
10160
10998
  operator: "in" | "not in";
10161
- networks: ("solana-devnet" | "solana")[];
10999
+ networks: ("solana" | "solana-devnet")[];
10162
11000
  })[];
10163
11001
  })[];
10164
11002
  description?: string | undefined;
@@ -10198,6 +11036,9 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
10198
11036
  } | {
10199
11037
  action: "reject" | "accept";
10200
11038
  operation: "signEvmHash";
11039
+ } | {
11040
+ action: "reject" | "accept";
11041
+ operation: "signEndUserEvmHash";
10201
11042
  } | {
10202
11043
  action: "reject" | "accept";
10203
11044
  operation: "signEvmMessage";
@@ -10248,7 +11089,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
10248
11089
  } | {
10249
11090
  type: "evmNetwork";
10250
11091
  operator: "in" | "not in";
10251
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
11092
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
10252
11093
  } | {
10253
11094
  type: "netUSDChange";
10254
11095
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -10283,7 +11124,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
10283
11124
  } | {
10284
11125
  type: "evmNetwork";
10285
11126
  operator: "in" | "not in";
10286
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
11127
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
10287
11128
  } | {
10288
11129
  type: "netUSDChange";
10289
11130
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -10380,7 +11221,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
10380
11221
  } | {
10381
11222
  type: "evmNetwork";
10382
11223
  operator: "in" | "not in";
10383
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
11224
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
10384
11225
  } | {
10385
11226
  type: "netUSDChange";
10386
11227
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -10433,9 +11274,44 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
10433
11274
  path: string;
10434
11275
  })[];
10435
11276
  } | {
10436
- type: "evmTypedDataVerifyingContract";
10437
- operator: "in" | "not in";
10438
- addresses: string[];
11277
+ type: "evmTypedDataVerifyingContract";
11278
+ operator: "in" | "not in";
11279
+ addresses: string[];
11280
+ })[];
11281
+ } | {
11282
+ action: "reject" | "accept";
11283
+ operation: "sendEndUserOperation";
11284
+ criteria: ({
11285
+ ethValue: string;
11286
+ type: "ethValue";
11287
+ operator: ">" | ">=" | "<" | "<=" | "==";
11288
+ } | {
11289
+ type: "evmAddress";
11290
+ operator: "in" | "not in";
11291
+ addresses: string[];
11292
+ } | {
11293
+ type: "evmNetwork";
11294
+ operator: "in" | "not in";
11295
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
11296
+ } | {
11297
+ type: "netUSDChange";
11298
+ operator: ">" | ">=" | "<" | "<=" | "==";
11299
+ changeCents: number;
11300
+ } | {
11301
+ type: "evmData";
11302
+ abi: "erc20" | "erc721" | "erc1155" | readonly unknown[];
11303
+ conditions: {
11304
+ function: string;
11305
+ params?: ({
11306
+ values: string[];
11307
+ name: string;
11308
+ operator: "in" | "not in";
11309
+ } | {
11310
+ value: string;
11311
+ name: string;
11312
+ operator: ">" | ">=" | "<" | "<=" | "==";
11313
+ })[] | undefined;
11314
+ }[];
10439
11315
  })[];
10440
11316
  } | {
10441
11317
  action: "reject" | "accept";
@@ -10443,7 +11319,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
10443
11319
  criteria: ({
10444
11320
  type: "evmNetwork";
10445
11321
  operator: "in" | "not in";
10446
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
11322
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
10447
11323
  } | {
10448
11324
  type: "netUSDChange";
10449
11325
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -10470,7 +11346,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
10470
11346
  criteria: ({
10471
11347
  type: "evmNetwork";
10472
11348
  operator: "in" | "not in";
10473
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
11349
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
10474
11350
  } | {
10475
11351
  type: "netUSDChange";
10476
11352
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -10585,7 +11461,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
10585
11461
  } | {
10586
11462
  type: "solNetwork";
10587
11463
  operator: "in" | "not in";
10588
- networks: ("solana-devnet" | "solana")[];
11464
+ networks: ("solana" | "solana-devnet")[];
10589
11465
  })[];
10590
11466
  } | {
10591
11467
  action: "reject" | "accept";
@@ -10688,7 +11564,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
10688
11564
  } | {
10689
11565
  type: "solNetwork";
10690
11566
  operator: "in" | "not in";
10691
- networks: ("solana-devnet" | "solana")[];
11567
+ networks: ("solana" | "solana-devnet")[];
10692
11568
  })[];
10693
11569
  } | {
10694
11570
  action: "reject" | "accept";
@@ -10729,7 +11605,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
10729
11605
  } | {
10730
11606
  type: "solNetwork";
10731
11607
  operator: "in" | "not in";
10732
- networks: ("solana-devnet" | "solana")[];
11608
+ networks: ("solana" | "solana-devnet")[];
10733
11609
  })[];
10734
11610
  })[];
10735
11611
  description?: string | undefined;
@@ -11352,11 +12228,11 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
11352
12228
  }, "strip", z.ZodTypeAny, {
11353
12229
  type: "evmNetwork";
11354
12230
  operator: "in" | "not in";
11355
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
12231
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
11356
12232
  }, {
11357
12233
  type: "evmNetwork";
11358
12234
  operator: "in" | "not in";
11359
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
12235
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
11360
12236
  }>, z.ZodObject<{
11361
12237
  type: z.ZodLiteral<"evmData">;
11362
12238
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -11608,7 +12484,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
11608
12484
  } | {
11609
12485
  type: "evmNetwork";
11610
12486
  operator: "in" | "not in";
11611
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
12487
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
11612
12488
  } | {
11613
12489
  type: "netUSDChange";
11614
12490
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -11673,7 +12549,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
11673
12549
  } | {
11674
12550
  type: "evmNetwork";
11675
12551
  operator: "in" | "not in";
11676
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
12552
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
11677
12553
  } | {
11678
12554
  type: "netUSDChange";
11679
12555
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -12140,11 +13016,11 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
12140
13016
  }, "strip", z.ZodTypeAny, {
12141
13017
  type: "solNetwork";
12142
13018
  operator: "in" | "not in";
12143
- networks: ("solana-devnet" | "solana")[];
13019
+ networks: ("solana" | "solana-devnet")[];
12144
13020
  }, {
12145
13021
  type: "solNetwork";
12146
13022
  operator: "in" | "not in";
12147
- networks: ("solana-devnet" | "solana")[];
13023
+ networks: ("solana" | "solana-devnet")[];
12148
13024
  }>]>, "many">;
12149
13025
  }, "strip", z.ZodTypeAny, {
12150
13026
  action: "reject" | "accept";
@@ -12194,7 +13070,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
12194
13070
  } | {
12195
13071
  type: "solNetwork";
12196
13072
  operator: "in" | "not in";
12197
- networks: ("solana-devnet" | "solana")[];
13073
+ networks: ("solana" | "solana-devnet")[];
12198
13074
  })[];
12199
13075
  }, {
12200
13076
  action: "reject" | "accept";
@@ -12244,7 +13120,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
12244
13120
  } | {
12245
13121
  type: "solNetwork";
12246
13122
  operator: "in" | "not in";
12247
- networks: ("solana-devnet" | "solana")[];
13123
+ networks: ("solana" | "solana-devnet")[];
12248
13124
  })[];
12249
13125
  }>, z.ZodObject<{
12250
13126
  action: z.ZodEnum<["reject", "accept"]>;
@@ -12307,11 +13183,11 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
12307
13183
  }, "strip", z.ZodTypeAny, {
12308
13184
  type: "evmNetwork";
12309
13185
  operator: "in" | "not in";
12310
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
13186
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
12311
13187
  }, {
12312
13188
  type: "evmNetwork";
12313
13189
  operator: "in" | "not in";
12314
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
13190
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
12315
13191
  }>, z.ZodObject<{
12316
13192
  type: z.ZodLiteral<"evmData">;
12317
13193
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -12563,7 +13439,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
12563
13439
  } | {
12564
13440
  type: "evmNetwork";
12565
13441
  operator: "in" | "not in";
12566
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
13442
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
12567
13443
  } | {
12568
13444
  type: "netUSDChange";
12569
13445
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -12628,7 +13504,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
12628
13504
  } | {
12629
13505
  type: "evmNetwork";
12630
13506
  operator: "in" | "not in";
12631
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
13507
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
12632
13508
  } | {
12633
13509
  type: "netUSDChange";
12634
13510
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -13395,11 +14271,11 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
13395
14271
  }, "strip", z.ZodTypeAny, {
13396
14272
  type: "evmNetwork";
13397
14273
  operator: "in" | "not in";
13398
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
14274
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
13399
14275
  }, {
13400
14276
  type: "evmNetwork";
13401
14277
  operator: "in" | "not in";
13402
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
14278
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
13403
14279
  }>, z.ZodObject<{
13404
14280
  type: z.ZodLiteral<"evmData">;
13405
14281
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -13651,7 +14527,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
13651
14527
  } | {
13652
14528
  type: "evmNetwork";
13653
14529
  operator: "in" | "not in";
13654
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
14530
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
13655
14531
  } | {
13656
14532
  type: "netUSDChange";
13657
14533
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -13716,7 +14592,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
13716
14592
  } | {
13717
14593
  type: "evmNetwork";
13718
14594
  operator: "in" | "not in";
13719
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
14595
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
13720
14596
  } | {
13721
14597
  type: "netUSDChange";
13722
14598
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -13877,73 +14753,348 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
13877
14753
  }, "strip", z.ZodTypeAny, {
13878
14754
  type: "evmTypedDataVerifyingContract";
13879
14755
  operator: "in" | "not in";
13880
- addresses: `0x${string}`[];
14756
+ addresses: `0x${string}`[];
14757
+ }, {
14758
+ type: "evmTypedDataVerifyingContract";
14759
+ operator: "in" | "not in";
14760
+ addresses: string[];
14761
+ }>]>, "many">;
14762
+ }, "strip", z.ZodTypeAny, {
14763
+ action: "reject" | "accept";
14764
+ operation: "signEndUserEvmTypedData";
14765
+ criteria: ({
14766
+ type: "evmTypedDataField";
14767
+ types: {
14768
+ types: Record<string, {
14769
+ type: string;
14770
+ name: string;
14771
+ }[]>;
14772
+ primaryType: string;
14773
+ };
14774
+ conditions: ({
14775
+ path: string;
14776
+ operator: "in" | "not in";
14777
+ addresses: `0x${string}`[];
14778
+ } | {
14779
+ value: string;
14780
+ path: string;
14781
+ operator: ">" | ">=" | "<" | "<=" | "==";
14782
+ } | {
14783
+ match: string;
14784
+ path: string;
14785
+ })[];
14786
+ } | {
14787
+ type: "evmTypedDataVerifyingContract";
14788
+ operator: "in" | "not in";
14789
+ addresses: `0x${string}`[];
14790
+ })[];
14791
+ }, {
14792
+ action: "reject" | "accept";
14793
+ operation: "signEndUserEvmTypedData";
14794
+ criteria: ({
14795
+ type: "evmTypedDataField";
14796
+ types: {
14797
+ types: Record<string, {
14798
+ type: string;
14799
+ name: string;
14800
+ }[]>;
14801
+ primaryType: string;
14802
+ };
14803
+ conditions: ({
14804
+ path: string;
14805
+ operator: "in" | "not in";
14806
+ addresses: string[];
14807
+ } | {
14808
+ value: string;
14809
+ path: string;
14810
+ operator: ">" | ">=" | "<" | "<=" | "==";
14811
+ } | {
14812
+ match: string;
14813
+ path: string;
14814
+ })[];
14815
+ } | {
14816
+ type: "evmTypedDataVerifyingContract";
14817
+ operator: "in" | "not in";
14818
+ addresses: string[];
14819
+ })[];
14820
+ }>, z.ZodObject<{
14821
+ action: z.ZodEnum<["reject", "accept"]>;
14822
+ operation: z.ZodLiteral<"signEndUserEvmHash">;
14823
+ }, "strip", z.ZodTypeAny, {
14824
+ action: "reject" | "accept";
14825
+ operation: "signEndUserEvmHash";
14826
+ }, {
14827
+ action: "reject" | "accept";
14828
+ operation: "signEndUserEvmHash";
14829
+ }>, z.ZodObject<{
14830
+ action: z.ZodEnum<["reject", "accept"]>;
14831
+ operation: z.ZodLiteral<"signEndUserSolTransaction">;
14832
+ criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14833
+ type: z.ZodLiteral<"solAddress">;
14834
+ addresses: z.ZodArray<z.ZodString, "many">;
14835
+ operator: z.ZodEnum<["in", "not in"]>;
14836
+ }, "strip", z.ZodTypeAny, {
14837
+ type: "solAddress";
14838
+ operator: "in" | "not in";
14839
+ addresses: string[];
14840
+ }, {
14841
+ type: "solAddress";
14842
+ operator: "in" | "not in";
14843
+ addresses: string[];
14844
+ }>, z.ZodObject<{
14845
+ type: z.ZodLiteral<"solValue">;
14846
+ solValue: z.ZodString;
14847
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
14848
+ }, "strip", z.ZodTypeAny, {
14849
+ solValue: string;
14850
+ type: "solValue";
14851
+ operator: ">" | ">=" | "<" | "<=" | "==";
14852
+ }, {
14853
+ solValue: string;
14854
+ type: "solValue";
14855
+ operator: ">" | ">=" | "<" | "<=" | "==";
14856
+ }>, z.ZodObject<{
14857
+ type: z.ZodLiteral<"splAddress">;
14858
+ addresses: z.ZodArray<z.ZodString, "many">;
14859
+ operator: z.ZodEnum<["in", "not in"]>;
14860
+ }, "strip", z.ZodTypeAny, {
14861
+ type: "splAddress";
14862
+ operator: "in" | "not in";
14863
+ addresses: string[];
14864
+ }, {
14865
+ type: "splAddress";
14866
+ operator: "in" | "not in";
14867
+ addresses: string[];
14868
+ }>, z.ZodObject<{
14869
+ type: z.ZodLiteral<"splValue">;
14870
+ splValue: z.ZodString;
14871
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
14872
+ }, "strip", z.ZodTypeAny, {
14873
+ splValue: string;
14874
+ type: "splValue";
14875
+ operator: ">" | ">=" | "<" | "<=" | "==";
14876
+ }, {
14877
+ splValue: string;
14878
+ type: "splValue";
14879
+ operator: ">" | ">=" | "<" | "<=" | "==";
14880
+ }>, z.ZodObject<{
14881
+ type: z.ZodLiteral<"mintAddress">;
14882
+ addresses: z.ZodArray<z.ZodString, "many">;
14883
+ operator: z.ZodEnum<["in", "not in"]>;
14884
+ }, "strip", z.ZodTypeAny, {
14885
+ type: "mintAddress";
14886
+ operator: "in" | "not in";
14887
+ addresses: string[];
14888
+ }, {
14889
+ type: "mintAddress";
14890
+ operator: "in" | "not in";
14891
+ addresses: string[];
14892
+ }>, z.ZodObject<{
14893
+ type: z.ZodLiteral<"solData">;
14894
+ idls: z.ZodArray<z.ZodUnion<[z.ZodEnum<["SystemProgram", "TokenProgram", "AssociatedTokenProgram"]>, z.ZodObject<{
14895
+ address: z.ZodString;
14896
+ instructions: z.ZodArray<z.ZodAny, "many">;
14897
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
14898
+ address: z.ZodString;
14899
+ instructions: z.ZodArray<z.ZodAny, "many">;
14900
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
14901
+ address: z.ZodString;
14902
+ instructions: z.ZodArray<z.ZodAny, "many">;
14903
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
14904
+ conditions: z.ZodArray<z.ZodObject<{
14905
+ instruction: z.ZodString;
14906
+ params: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
14907
+ name: z.ZodString;
14908
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
14909
+ value: z.ZodString;
14910
+ }, "strip", z.ZodTypeAny, {
14911
+ value: string;
14912
+ name: string;
14913
+ operator: ">" | ">=" | "<" | "<=" | "==";
14914
+ }, {
14915
+ value: string;
14916
+ name: string;
14917
+ operator: ">" | ">=" | "<" | "<=" | "==";
14918
+ }>, z.ZodObject<{
14919
+ name: z.ZodString;
14920
+ operator: z.ZodEnum<["in", "not in"]>;
14921
+ values: z.ZodArray<z.ZodString, "many">;
14922
+ }, "strip", z.ZodTypeAny, {
14923
+ values: string[];
14924
+ name: string;
14925
+ operator: "in" | "not in";
14926
+ }, {
14927
+ values: string[];
14928
+ name: string;
14929
+ operator: "in" | "not in";
14930
+ }>]>, "many">>;
14931
+ }, "strip", z.ZodTypeAny, {
14932
+ instruction: string;
14933
+ params?: ({
14934
+ value: string;
14935
+ name: string;
14936
+ operator: ">" | ">=" | "<" | "<=" | "==";
14937
+ } | {
14938
+ values: string[];
14939
+ name: string;
14940
+ operator: "in" | "not in";
14941
+ })[] | undefined;
14942
+ }, {
14943
+ instruction: string;
14944
+ params?: ({
14945
+ value: string;
14946
+ name: string;
14947
+ operator: ">" | ">=" | "<" | "<=" | "==";
14948
+ } | {
14949
+ values: string[];
14950
+ name: string;
14951
+ operator: "in" | "not in";
14952
+ })[] | undefined;
14953
+ }>, "many">;
14954
+ }, "strip", z.ZodTypeAny, {
14955
+ type: "solData";
14956
+ conditions: {
14957
+ instruction: string;
14958
+ params?: ({
14959
+ value: string;
14960
+ name: string;
14961
+ operator: ">" | ">=" | "<" | "<=" | "==";
14962
+ } | {
14963
+ values: string[];
14964
+ name: string;
14965
+ operator: "in" | "not in";
14966
+ })[] | undefined;
14967
+ }[];
14968
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
14969
+ address: z.ZodString;
14970
+ instructions: z.ZodArray<z.ZodAny, "many">;
14971
+ }, z.ZodTypeAny, "passthrough">)[];
14972
+ }, {
14973
+ type: "solData";
14974
+ conditions: {
14975
+ instruction: string;
14976
+ params?: ({
14977
+ value: string;
14978
+ name: string;
14979
+ operator: ">" | ">=" | "<" | "<=" | "==";
14980
+ } | {
14981
+ values: string[];
14982
+ name: string;
14983
+ operator: "in" | "not in";
14984
+ })[] | undefined;
14985
+ }[];
14986
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
14987
+ address: z.ZodString;
14988
+ instructions: z.ZodArray<z.ZodAny, "many">;
14989
+ }, z.ZodTypeAny, "passthrough">)[];
14990
+ }>, z.ZodObject<{
14991
+ type: z.ZodLiteral<"programId">;
14992
+ programIds: z.ZodArray<z.ZodString, "many">;
14993
+ operator: z.ZodEnum<["in", "not in"]>;
14994
+ }, "strip", z.ZodTypeAny, {
14995
+ type: "programId";
14996
+ operator: "in" | "not in";
14997
+ programIds: string[];
13881
14998
  }, {
13882
- type: "evmTypedDataVerifyingContract";
14999
+ type: "programId";
13883
15000
  operator: "in" | "not in";
13884
- addresses: string[];
15001
+ programIds: string[];
13885
15002
  }>]>, "many">;
13886
15003
  }, "strip", z.ZodTypeAny, {
13887
15004
  action: "reject" | "accept";
13888
- operation: "signEndUserEvmTypedData";
15005
+ operation: "signEndUserSolTransaction";
13889
15006
  criteria: ({
13890
- type: "evmTypedDataField";
13891
- types: {
13892
- types: Record<string, {
13893
- type: string;
15007
+ type: "solAddress";
15008
+ operator: "in" | "not in";
15009
+ addresses: string[];
15010
+ } | {
15011
+ solValue: string;
15012
+ type: "solValue";
15013
+ operator: ">" | ">=" | "<" | "<=" | "==";
15014
+ } | {
15015
+ type: "splAddress";
15016
+ operator: "in" | "not in";
15017
+ addresses: string[];
15018
+ } | {
15019
+ splValue: string;
15020
+ type: "splValue";
15021
+ operator: ">" | ">=" | "<" | "<=" | "==";
15022
+ } | {
15023
+ type: "mintAddress";
15024
+ operator: "in" | "not in";
15025
+ addresses: string[];
15026
+ } | {
15027
+ type: "solData";
15028
+ conditions: {
15029
+ instruction: string;
15030
+ params?: ({
15031
+ value: string;
13894
15032
  name: string;
13895
- }[]>;
13896
- primaryType: string;
13897
- };
13898
- conditions: ({
13899
- path: string;
13900
- operator: "in" | "not in";
13901
- addresses: `0x${string}`[];
13902
- } | {
13903
- value: string;
13904
- path: string;
13905
- operator: ">" | ">=" | "<" | "<=" | "==";
13906
- } | {
13907
- match: string;
13908
- path: string;
13909
- })[];
15033
+ operator: ">" | ">=" | "<" | "<=" | "==";
15034
+ } | {
15035
+ values: string[];
15036
+ name: string;
15037
+ operator: "in" | "not in";
15038
+ })[] | undefined;
15039
+ }[];
15040
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
15041
+ address: z.ZodString;
15042
+ instructions: z.ZodArray<z.ZodAny, "many">;
15043
+ }, z.ZodTypeAny, "passthrough">)[];
13910
15044
  } | {
13911
- type: "evmTypedDataVerifyingContract";
15045
+ type: "programId";
13912
15046
  operator: "in" | "not in";
13913
- addresses: `0x${string}`[];
15047
+ programIds: string[];
13914
15048
  })[];
13915
15049
  }, {
13916
15050
  action: "reject" | "accept";
13917
- operation: "signEndUserEvmTypedData";
15051
+ operation: "signEndUserSolTransaction";
13918
15052
  criteria: ({
13919
- type: "evmTypedDataField";
13920
- types: {
13921
- types: Record<string, {
13922
- type: string;
13923
- name: string;
13924
- }[]>;
13925
- primaryType: string;
13926
- };
13927
- conditions: ({
13928
- path: string;
13929
- operator: "in" | "not in";
13930
- addresses: string[];
13931
- } | {
13932
- value: string;
13933
- path: string;
13934
- operator: ">" | ">=" | "<" | "<=" | "==";
13935
- } | {
13936
- match: string;
13937
- path: string;
13938
- })[];
15053
+ type: "solAddress";
15054
+ operator: "in" | "not in";
15055
+ addresses: string[];
13939
15056
  } | {
13940
- type: "evmTypedDataVerifyingContract";
15057
+ solValue: string;
15058
+ type: "solValue";
15059
+ operator: ">" | ">=" | "<" | "<=" | "==";
15060
+ } | {
15061
+ type: "splAddress";
15062
+ operator: "in" | "not in";
15063
+ addresses: string[];
15064
+ } | {
15065
+ splValue: string;
15066
+ type: "splValue";
15067
+ operator: ">" | ">=" | "<" | "<=" | "==";
15068
+ } | {
15069
+ type: "mintAddress";
13941
15070
  operator: "in" | "not in";
13942
15071
  addresses: string[];
15072
+ } | {
15073
+ type: "solData";
15074
+ conditions: {
15075
+ instruction: string;
15076
+ params?: ({
15077
+ value: string;
15078
+ name: string;
15079
+ operator: ">" | ">=" | "<" | "<=" | "==";
15080
+ } | {
15081
+ values: string[];
15082
+ name: string;
15083
+ operator: "in" | "not in";
15084
+ })[] | undefined;
15085
+ }[];
15086
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
15087
+ address: z.ZodString;
15088
+ instructions: z.ZodArray<z.ZodAny, "many">;
15089
+ }, z.ZodTypeAny, "passthrough">)[];
15090
+ } | {
15091
+ type: "programId";
15092
+ operator: "in" | "not in";
15093
+ programIds: string[];
13943
15094
  })[];
13944
15095
  }>, z.ZodObject<{
13945
15096
  action: z.ZodEnum<["reject", "accept"]>;
13946
- operation: z.ZodLiteral<"signEndUserSolTransaction">;
15097
+ operation: z.ZodLiteral<"sendEndUserSolTransaction">;
13947
15098
  criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13948
15099
  type: z.ZodLiteral<"solAddress">;
13949
15100
  addresses: z.ZodArray<z.ZodString, "many">;
@@ -14114,10 +15265,22 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
14114
15265
  type: "programId";
14115
15266
  operator: "in" | "not in";
14116
15267
  programIds: string[];
15268
+ }>, z.ZodObject<{
15269
+ type: z.ZodLiteral<"solNetwork">;
15270
+ networks: z.ZodArray<z.ZodEnum<["solana-devnet", "solana"]>, "many">;
15271
+ operator: z.ZodEnum<["in", "not in"]>;
15272
+ }, "strip", z.ZodTypeAny, {
15273
+ type: "solNetwork";
15274
+ operator: "in" | "not in";
15275
+ networks: ("solana" | "solana-devnet")[];
15276
+ }, {
15277
+ type: "solNetwork";
15278
+ operator: "in" | "not in";
15279
+ networks: ("solana" | "solana-devnet")[];
14117
15280
  }>]>, "many">;
14118
15281
  }, "strip", z.ZodTypeAny, {
14119
15282
  action: "reject" | "accept";
14120
- operation: "signEndUserSolTransaction";
15283
+ operation: "sendEndUserSolTransaction";
14121
15284
  criteria: ({
14122
15285
  type: "solAddress";
14123
15286
  operator: "in" | "not in";
@@ -14160,10 +15323,14 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
14160
15323
  type: "programId";
14161
15324
  operator: "in" | "not in";
14162
15325
  programIds: string[];
15326
+ } | {
15327
+ type: "solNetwork";
15328
+ operator: "in" | "not in";
15329
+ networks: ("solana" | "solana-devnet")[];
14163
15330
  })[];
14164
15331
  }, {
14165
15332
  action: "reject" | "accept";
14166
- operation: "signEndUserSolTransaction";
15333
+ operation: "sendEndUserSolTransaction";
14167
15334
  criteria: ({
14168
15335
  type: "solAddress";
14169
15336
  operator: "in" | "not in";
@@ -14206,86 +15373,171 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
14206
15373
  type: "programId";
14207
15374
  operator: "in" | "not in";
14208
15375
  programIds: string[];
15376
+ } | {
15377
+ type: "solNetwork";
15378
+ operator: "in" | "not in";
15379
+ networks: ("solana" | "solana-devnet")[];
14209
15380
  })[];
14210
15381
  }>, z.ZodObject<{
14211
15382
  action: z.ZodEnum<["reject", "accept"]>;
14212
- operation: z.ZodLiteral<"sendEndUserSolTransaction">;
14213
- criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14214
- type: z.ZodLiteral<"solAddress">;
14215
- addresses: z.ZodArray<z.ZodString, "many">;
14216
- operator: z.ZodEnum<["in", "not in"]>;
14217
- }, "strip", z.ZodTypeAny, {
14218
- type: "solAddress";
14219
- operator: "in" | "not in";
14220
- addresses: string[];
14221
- }, {
14222
- type: "solAddress";
14223
- operator: "in" | "not in";
14224
- addresses: string[];
14225
- }>, z.ZodObject<{
14226
- type: z.ZodLiteral<"solValue">;
14227
- solValue: z.ZodString;
14228
- operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
14229
- }, "strip", z.ZodTypeAny, {
14230
- solValue: string;
14231
- type: "solValue";
14232
- operator: ">" | ">=" | "<" | "<=" | "==";
14233
- }, {
14234
- solValue: string;
14235
- type: "solValue";
14236
- operator: ">" | ">=" | "<" | "<=" | "==";
14237
- }>, z.ZodObject<{
14238
- type: z.ZodLiteral<"splAddress">;
14239
- addresses: z.ZodArray<z.ZodString, "many">;
14240
- operator: z.ZodEnum<["in", "not in"]>;
14241
- }, "strip", z.ZodTypeAny, {
14242
- type: "splAddress";
14243
- operator: "in" | "not in";
14244
- addresses: string[];
14245
- }, {
14246
- type: "splAddress";
14247
- operator: "in" | "not in";
14248
- addresses: string[];
14249
- }>, z.ZodObject<{
14250
- type: z.ZodLiteral<"splValue">;
14251
- splValue: z.ZodString;
14252
- operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
15383
+ operation: z.ZodLiteral<"signEndUserSolMessage">;
15384
+ criteria: z.ZodArray<z.ZodObject<{
15385
+ type: z.ZodLiteral<"solMessage">;
15386
+ match: z.ZodString;
14253
15387
  }, "strip", z.ZodTypeAny, {
14254
- splValue: string;
14255
- type: "splValue";
14256
- operator: ">" | ">=" | "<" | "<=" | "==";
15388
+ match: string;
15389
+ type: "solMessage";
14257
15390
  }, {
14258
- splValue: string;
14259
- type: "splValue";
14260
- operator: ">" | ">=" | "<" | "<=" | "==";
14261
- }>, z.ZodObject<{
14262
- type: z.ZodLiteral<"mintAddress">;
14263
- addresses: z.ZodArray<z.ZodString, "many">;
15391
+ match: string;
15392
+ type: "solMessage";
15393
+ }>, "many">;
15394
+ }, "strip", z.ZodTypeAny, {
15395
+ action: "reject" | "accept";
15396
+ operation: "signEndUserSolMessage";
15397
+ criteria: {
15398
+ match: string;
15399
+ type: "solMessage";
15400
+ }[];
15401
+ }, {
15402
+ action: "reject" | "accept";
15403
+ operation: "signEndUserSolMessage";
15404
+ criteria: {
15405
+ match: string;
15406
+ type: "solMessage";
15407
+ }[];
15408
+ }>, z.ZodObject<{
15409
+ action: z.ZodEnum<["reject", "accept"]>;
15410
+ operation: z.ZodLiteral<"sendEndUserEvmAsset">;
15411
+ criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15412
+ type: z.ZodLiteral<"evmNetwork">;
15413
+ networks: z.ZodArray<z.ZodEnum<["base", "base-sepolia", "ethereum", "ethereum-sepolia", "avalanche", "polygon", "optimism", "arbitrum"]>, "many">;
14264
15414
  operator: z.ZodEnum<["in", "not in"]>;
14265
15415
  }, "strip", z.ZodTypeAny, {
14266
- type: "mintAddress";
15416
+ type: "evmNetwork";
14267
15417
  operator: "in" | "not in";
14268
- addresses: string[];
15418
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
14269
15419
  }, {
14270
- type: "mintAddress";
15420
+ type: "evmNetwork";
14271
15421
  operator: "in" | "not in";
14272
- addresses: string[];
15422
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
14273
15423
  }>, z.ZodObject<{
14274
- type: z.ZodLiteral<"solData">;
14275
- idls: z.ZodArray<z.ZodUnion<[z.ZodEnum<["SystemProgram", "TokenProgram", "AssociatedTokenProgram"]>, z.ZodObject<{
14276
- address: z.ZodString;
14277
- instructions: z.ZodArray<z.ZodAny, "many">;
14278
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
14279
- address: z.ZodString;
14280
- instructions: z.ZodArray<z.ZodAny, "many">;
14281
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
14282
- address: z.ZodString;
14283
- instructions: z.ZodArray<z.ZodAny, "many">;
14284
- }, z.ZodTypeAny, "passthrough">>]>, "many">;
15424
+ type: z.ZodLiteral<"evmData">;
15425
+ abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
15426
+ type: z.ZodLiteral<"error">;
15427
+ inputs: z.ZodReadonly<z.ZodArray<z.ZodType<import("abitype").AbiParameter, z.ZodTypeDef, import("abitype").AbiParameter>, "many">>;
15428
+ name: z.ZodString;
15429
+ }, "strip", z.ZodTypeAny, {
15430
+ inputs: readonly import("abitype").AbiParameter[];
15431
+ type: "error";
15432
+ name: string;
15433
+ }, {
15434
+ inputs: readonly import("abitype").AbiParameter[];
15435
+ type: "error";
15436
+ name: string;
15437
+ }>, z.ZodObject<{
15438
+ type: z.ZodLiteral<"event">;
15439
+ anonymous: z.ZodOptional<z.ZodBoolean>;
15440
+ inputs: z.ZodReadonly<z.ZodArray<z.ZodType<import("abitype").AbiEventParameter, z.ZodTypeDef, import("abitype").AbiEventParameter>, "many">>;
15441
+ name: z.ZodString;
15442
+ }, "strip", z.ZodTypeAny, {
15443
+ inputs: readonly import("abitype").AbiEventParameter[];
15444
+ type: "event";
15445
+ name: string;
15446
+ anonymous?: boolean | undefined;
15447
+ }, {
15448
+ inputs: readonly import("abitype").AbiEventParameter[];
15449
+ type: "event";
15450
+ name: string;
15451
+ anonymous?: boolean | undefined;
15452
+ }>, z.ZodEffects<z.ZodIntersection<z.ZodObject<{
15453
+ constant: z.ZodOptional<z.ZodBoolean>;
15454
+ gas: z.ZodOptional<z.ZodNumber>;
15455
+ payable: z.ZodOptional<z.ZodBoolean>;
15456
+ }, "strip", z.ZodTypeAny, {
15457
+ payable?: boolean | undefined;
15458
+ constant?: boolean | undefined;
15459
+ gas?: number | undefined;
15460
+ }, {
15461
+ payable?: boolean | undefined;
15462
+ constant?: boolean | undefined;
15463
+ gas?: number | undefined;
15464
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15465
+ type: z.ZodLiteral<"function">;
15466
+ inputs: z.ZodReadonly<z.ZodArray<z.ZodType<import("abitype").AbiParameter, z.ZodTypeDef, import("abitype").AbiParameter>, "many">>;
15467
+ name: z.ZodString;
15468
+ outputs: z.ZodReadonly<z.ZodArray<z.ZodType<import("abitype").AbiParameter, z.ZodTypeDef, import("abitype").AbiParameter>, "many">>;
15469
+ stateMutability: z.ZodUnion<[z.ZodLiteral<"pure">, z.ZodLiteral<"view">, z.ZodLiteral<"nonpayable">, z.ZodLiteral<"payable">]>;
15470
+ }, "strip", z.ZodTypeAny, {
15471
+ inputs: readonly import("abitype").AbiParameter[];
15472
+ outputs: readonly import("abitype").AbiParameter[];
15473
+ type: "function";
15474
+ name: string;
15475
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
15476
+ }, {
15477
+ inputs: readonly import("abitype").AbiParameter[];
15478
+ outputs: readonly import("abitype").AbiParameter[];
15479
+ type: "function";
15480
+ name: string;
15481
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
15482
+ }>, z.ZodObject<{
15483
+ type: z.ZodLiteral<"constructor">;
15484
+ inputs: z.ZodReadonly<z.ZodArray<z.ZodType<import("abitype").AbiParameter, z.ZodTypeDef, import("abitype").AbiParameter>, "many">>;
15485
+ stateMutability: z.ZodUnion<[z.ZodLiteral<"payable">, z.ZodLiteral<"nonpayable">]>;
15486
+ }, "strip", z.ZodTypeAny, {
15487
+ inputs: readonly import("abitype").AbiParameter[];
15488
+ type: "constructor";
15489
+ stateMutability: "nonpayable" | "payable";
15490
+ }, {
15491
+ inputs: readonly import("abitype").AbiParameter[];
15492
+ type: "constructor";
15493
+ stateMutability: "nonpayable" | "payable";
15494
+ }>, z.ZodObject<{
15495
+ type: z.ZodLiteral<"fallback">;
15496
+ inputs: z.ZodOptional<z.ZodTuple<[], null>>;
15497
+ stateMutability: z.ZodUnion<[z.ZodLiteral<"payable">, z.ZodLiteral<"nonpayable">]>;
15498
+ }, "strip", z.ZodTypeAny, {
15499
+ type: "fallback";
15500
+ stateMutability: "nonpayable" | "payable";
15501
+ inputs?: [] | undefined;
15502
+ }, {
15503
+ type: "fallback";
15504
+ stateMutability: "nonpayable" | "payable";
15505
+ inputs?: [] | undefined;
15506
+ }>, z.ZodObject<{
15507
+ type: z.ZodLiteral<"receive">;
15508
+ stateMutability: z.ZodLiteral<"payable">;
15509
+ }, "strip", z.ZodTypeAny, {
15510
+ type: "receive";
15511
+ stateMutability: "payable";
15512
+ }, {
15513
+ type: "receive";
15514
+ stateMutability: "payable";
15515
+ }>]>>, {
15516
+ payable?: boolean | undefined;
15517
+ constant?: boolean | undefined;
15518
+ gas?: number | undefined;
15519
+ } & ({
15520
+ inputs: readonly import("abitype").AbiParameter[];
15521
+ outputs: readonly import("abitype").AbiParameter[];
15522
+ type: "function";
15523
+ name: string;
15524
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
15525
+ } | {
15526
+ inputs: readonly import("abitype").AbiParameter[];
15527
+ type: "constructor";
15528
+ stateMutability: "nonpayable" | "payable";
15529
+ } | {
15530
+ type: "fallback";
15531
+ stateMutability: "nonpayable" | "payable";
15532
+ inputs?: [] | undefined;
15533
+ } | {
15534
+ type: "receive";
15535
+ stateMutability: "payable";
15536
+ }), unknown>]>, "many">>]>;
14285
15537
  conditions: z.ZodArray<z.ZodObject<{
14286
- instruction: z.ZodString;
15538
+ function: z.ZodString;
14287
15539
  params: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
14288
- name: z.ZodString;
15540
+ name: z.ZodUnion<[z.ZodString, z.ZodString]>;
14289
15541
  operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
14290
15542
  value: z.ZodString;
14291
15543
  }, "strip", z.ZodTypeAny, {
@@ -14297,7 +15549,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
14297
15549
  name: string;
14298
15550
  operator: ">" | ">=" | "<" | "<=" | "==";
14299
15551
  }>, z.ZodObject<{
14300
- name: z.ZodString;
15552
+ name: z.ZodUnion<[z.ZodString, z.ZodString]>;
14301
15553
  operator: z.ZodEnum<["in", "not in"]>;
14302
15554
  values: z.ZodArray<z.ZodString, "many">;
14303
15555
  }, "strip", z.ZodTypeAny, {
@@ -14310,231 +15562,224 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
14310
15562
  operator: "in" | "not in";
14311
15563
  }>]>, "many">>;
14312
15564
  }, "strip", z.ZodTypeAny, {
14313
- instruction: string;
15565
+ function: string;
14314
15566
  params?: ({
14315
- value: string;
14316
- name: string;
14317
- operator: ">" | ">=" | "<" | "<=" | "==";
14318
- } | {
14319
15567
  values: string[];
14320
15568
  name: string;
14321
15569
  operator: "in" | "not in";
14322
- })[] | undefined;
14323
- }, {
14324
- instruction: string;
14325
- params?: ({
15570
+ } | {
14326
15571
  value: string;
14327
15572
  name: string;
14328
15573
  operator: ">" | ">=" | "<" | "<=" | "==";
14329
- } | {
15574
+ })[] | undefined;
15575
+ }, {
15576
+ function: string;
15577
+ params?: ({
14330
15578
  values: string[];
14331
15579
  name: string;
14332
15580
  operator: "in" | "not in";
15581
+ } | {
15582
+ value: string;
15583
+ name: string;
15584
+ operator: ">" | ">=" | "<" | "<=" | "==";
14333
15585
  })[] | undefined;
14334
15586
  }>, "many">;
14335
15587
  }, "strip", z.ZodTypeAny, {
14336
- type: "solData";
15588
+ type: "evmData";
15589
+ abi: "erc20" | "erc721" | "erc1155" | readonly ({
15590
+ inputs: readonly import("abitype").AbiParameter[];
15591
+ type: "error";
15592
+ name: string;
15593
+ } | {
15594
+ inputs: readonly import("abitype").AbiEventParameter[];
15595
+ type: "event";
15596
+ name: string;
15597
+ anonymous?: boolean | undefined;
15598
+ } | ({
15599
+ payable?: boolean | undefined;
15600
+ constant?: boolean | undefined;
15601
+ gas?: number | undefined;
15602
+ } & ({
15603
+ inputs: readonly import("abitype").AbiParameter[];
15604
+ outputs: readonly import("abitype").AbiParameter[];
15605
+ type: "function";
15606
+ name: string;
15607
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
15608
+ } | {
15609
+ inputs: readonly import("abitype").AbiParameter[];
15610
+ type: "constructor";
15611
+ stateMutability: "nonpayable" | "payable";
15612
+ } | {
15613
+ type: "fallback";
15614
+ stateMutability: "nonpayable" | "payable";
15615
+ inputs?: [] | undefined;
15616
+ } | {
15617
+ type: "receive";
15618
+ stateMutability: "payable";
15619
+ })))[];
14337
15620
  conditions: {
14338
- instruction: string;
15621
+ function: string;
14339
15622
  params?: ({
14340
- value: string;
14341
- name: string;
14342
- operator: ">" | ">=" | "<" | "<=" | "==";
14343
- } | {
14344
15623
  values: string[];
14345
15624
  name: string;
14346
15625
  operator: "in" | "not in";
15626
+ } | {
15627
+ value: string;
15628
+ name: string;
15629
+ operator: ">" | ">=" | "<" | "<=" | "==";
14347
15630
  })[] | undefined;
14348
15631
  }[];
14349
- idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
14350
- address: z.ZodString;
14351
- instructions: z.ZodArray<z.ZodAny, "many">;
14352
- }, z.ZodTypeAny, "passthrough">)[];
14353
15632
  }, {
14354
- type: "solData";
15633
+ type: "evmData";
15634
+ abi: "erc20" | "erc721" | "erc1155" | readonly unknown[];
14355
15635
  conditions: {
14356
- instruction: string;
15636
+ function: string;
14357
15637
  params?: ({
14358
- value: string;
14359
- name: string;
14360
- operator: ">" | ">=" | "<" | "<=" | "==";
14361
- } | {
14362
15638
  values: string[];
14363
15639
  name: string;
14364
15640
  operator: "in" | "not in";
15641
+ } | {
15642
+ value: string;
15643
+ name: string;
15644
+ operator: ">" | ">=" | "<" | "<=" | "==";
14365
15645
  })[] | undefined;
14366
15646
  }[];
14367
- idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
14368
- address: z.ZodString;
14369
- instructions: z.ZodArray<z.ZodAny, "many">;
14370
- }, z.ZodTypeAny, "passthrough">)[];
14371
- }>, z.ZodObject<{
14372
- type: z.ZodLiteral<"programId">;
14373
- programIds: z.ZodArray<z.ZodString, "many">;
14374
- operator: z.ZodEnum<["in", "not in"]>;
14375
- }, "strip", z.ZodTypeAny, {
14376
- type: "programId";
14377
- operator: "in" | "not in";
14378
- programIds: string[];
14379
- }, {
14380
- type: "programId";
14381
- operator: "in" | "not in";
14382
- programIds: string[];
14383
15647
  }>, z.ZodObject<{
14384
- type: z.ZodLiteral<"solNetwork">;
14385
- networks: z.ZodArray<z.ZodEnum<["solana-devnet", "solana"]>, "many">;
14386
- operator: z.ZodEnum<["in", "not in"]>;
15648
+ type: z.ZodLiteral<"netUSDChange">;
15649
+ changeCents: z.ZodNumber;
15650
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
14387
15651
  }, "strip", z.ZodTypeAny, {
14388
- type: "solNetwork";
14389
- operator: "in" | "not in";
14390
- networks: ("solana-devnet" | "solana")[];
15652
+ type: "netUSDChange";
15653
+ operator: ">" | ">=" | "<" | "<=" | "==";
15654
+ changeCents: number;
14391
15655
  }, {
14392
- type: "solNetwork";
14393
- operator: "in" | "not in";
14394
- networks: ("solana-devnet" | "solana")[];
15656
+ type: "netUSDChange";
15657
+ operator: ">" | ">=" | "<" | "<=" | "==";
15658
+ changeCents: number;
14395
15659
  }>]>, "many">;
14396
15660
  }, "strip", z.ZodTypeAny, {
14397
15661
  action: "reject" | "accept";
14398
- operation: "sendEndUserSolTransaction";
15662
+ operation: "sendEndUserEvmAsset";
14399
15663
  criteria: ({
14400
- type: "solAddress";
14401
- operator: "in" | "not in";
14402
- addresses: string[];
14403
- } | {
14404
- solValue: string;
14405
- type: "solValue";
14406
- operator: ">" | ">=" | "<" | "<=" | "==";
14407
- } | {
14408
- type: "splAddress";
15664
+ type: "evmNetwork";
14409
15665
  operator: "in" | "not in";
14410
- addresses: string[];
15666
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
14411
15667
  } | {
14412
- splValue: string;
14413
- type: "splValue";
15668
+ type: "netUSDChange";
14414
15669
  operator: ">" | ">=" | "<" | "<=" | "==";
15670
+ changeCents: number;
14415
15671
  } | {
14416
- type: "mintAddress";
14417
- operator: "in" | "not in";
14418
- addresses: string[];
14419
- } | {
14420
- type: "solData";
15672
+ type: "evmData";
15673
+ abi: "erc20" | "erc721" | "erc1155" | readonly ({
15674
+ inputs: readonly import("abitype").AbiParameter[];
15675
+ type: "error";
15676
+ name: string;
15677
+ } | {
15678
+ inputs: readonly import("abitype").AbiEventParameter[];
15679
+ type: "event";
15680
+ name: string;
15681
+ anonymous?: boolean | undefined;
15682
+ } | ({
15683
+ payable?: boolean | undefined;
15684
+ constant?: boolean | undefined;
15685
+ gas?: number | undefined;
15686
+ } & ({
15687
+ inputs: readonly import("abitype").AbiParameter[];
15688
+ outputs: readonly import("abitype").AbiParameter[];
15689
+ type: "function";
15690
+ name: string;
15691
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
15692
+ } | {
15693
+ inputs: readonly import("abitype").AbiParameter[];
15694
+ type: "constructor";
15695
+ stateMutability: "nonpayable" | "payable";
15696
+ } | {
15697
+ type: "fallback";
15698
+ stateMutability: "nonpayable" | "payable";
15699
+ inputs?: [] | undefined;
15700
+ } | {
15701
+ type: "receive";
15702
+ stateMutability: "payable";
15703
+ })))[];
14421
15704
  conditions: {
14422
- instruction: string;
15705
+ function: string;
14423
15706
  params?: ({
14424
- value: string;
14425
- name: string;
14426
- operator: ">" | ">=" | "<" | "<=" | "==";
14427
- } | {
14428
15707
  values: string[];
14429
15708
  name: string;
14430
15709
  operator: "in" | "not in";
15710
+ } | {
15711
+ value: string;
15712
+ name: string;
15713
+ operator: ">" | ">=" | "<" | "<=" | "==";
14431
15714
  })[] | undefined;
14432
15715
  }[];
14433
- idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
14434
- address: z.ZodString;
14435
- instructions: z.ZodArray<z.ZodAny, "many">;
14436
- }, z.ZodTypeAny, "passthrough">)[];
14437
- } | {
14438
- type: "programId";
14439
- operator: "in" | "not in";
14440
- programIds: string[];
14441
- } | {
14442
- type: "solNetwork";
14443
- operator: "in" | "not in";
14444
- networks: ("solana-devnet" | "solana")[];
14445
15716
  })[];
14446
15717
  }, {
14447
15718
  action: "reject" | "accept";
14448
- operation: "sendEndUserSolTransaction";
15719
+ operation: "sendEndUserEvmAsset";
14449
15720
  criteria: ({
14450
- type: "solAddress";
14451
- operator: "in" | "not in";
14452
- addresses: string[];
14453
- } | {
14454
- solValue: string;
14455
- type: "solValue";
14456
- operator: ">" | ">=" | "<" | "<=" | "==";
14457
- } | {
14458
- type: "splAddress";
15721
+ type: "evmNetwork";
14459
15722
  operator: "in" | "not in";
14460
- addresses: string[];
15723
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
14461
15724
  } | {
14462
- splValue: string;
14463
- type: "splValue";
15725
+ type: "netUSDChange";
14464
15726
  operator: ">" | ">=" | "<" | "<=" | "==";
15727
+ changeCents: number;
14465
15728
  } | {
14466
- type: "mintAddress";
14467
- operator: "in" | "not in";
14468
- addresses: string[];
14469
- } | {
14470
- type: "solData";
15729
+ type: "evmData";
15730
+ abi: "erc20" | "erc721" | "erc1155" | readonly unknown[];
14471
15731
  conditions: {
14472
- instruction: string;
15732
+ function: string;
14473
15733
  params?: ({
14474
- value: string;
14475
- name: string;
14476
- operator: ">" | ">=" | "<" | "<=" | "==";
14477
- } | {
14478
15734
  values: string[];
14479
15735
  name: string;
14480
15736
  operator: "in" | "not in";
15737
+ } | {
15738
+ value: string;
15739
+ name: string;
15740
+ operator: ">" | ">=" | "<" | "<=" | "==";
14481
15741
  })[] | undefined;
14482
15742
  }[];
14483
- idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
14484
- address: z.ZodString;
14485
- instructions: z.ZodArray<z.ZodAny, "many">;
14486
- }, z.ZodTypeAny, "passthrough">)[];
14487
- } | {
14488
- type: "programId";
14489
- operator: "in" | "not in";
14490
- programIds: string[];
14491
- } | {
14492
- type: "solNetwork";
14493
- operator: "in" | "not in";
14494
- networks: ("solana-devnet" | "solana")[];
14495
15743
  })[];
14496
15744
  }>, z.ZodObject<{
14497
15745
  action: z.ZodEnum<["reject", "accept"]>;
14498
- operation: z.ZodLiteral<"signEndUserSolMessage">;
14499
- criteria: z.ZodArray<z.ZodObject<{
14500
- type: z.ZodLiteral<"solMessage">;
14501
- match: z.ZodString;
15746
+ operation: z.ZodLiteral<"sendEndUserOperation">;
15747
+ criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15748
+ type: z.ZodLiteral<"ethValue">;
15749
+ ethValue: z.ZodString;
15750
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
14502
15751
  }, "strip", z.ZodTypeAny, {
14503
- match: string;
14504
- type: "solMessage";
15752
+ ethValue: string;
15753
+ type: "ethValue";
15754
+ operator: ">" | ">=" | "<" | "<=" | "==";
14505
15755
  }, {
14506
- match: string;
14507
- type: "solMessage";
14508
- }>, "many">;
14509
- }, "strip", z.ZodTypeAny, {
14510
- action: "reject" | "accept";
14511
- operation: "signEndUserSolMessage";
14512
- criteria: {
14513
- match: string;
14514
- type: "solMessage";
14515
- }[];
14516
- }, {
14517
- action: "reject" | "accept";
14518
- operation: "signEndUserSolMessage";
14519
- criteria: {
14520
- match: string;
14521
- type: "solMessage";
14522
- }[];
14523
- }>, z.ZodObject<{
14524
- action: z.ZodEnum<["reject", "accept"]>;
14525
- operation: z.ZodLiteral<"sendEndUserEvmAsset">;
14526
- criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15756
+ ethValue: string;
15757
+ type: "ethValue";
15758
+ operator: ">" | ">=" | "<" | "<=" | "==";
15759
+ }>, z.ZodObject<{
15760
+ type: z.ZodLiteral<"evmAddress">;
15761
+ addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
15762
+ operator: z.ZodEnum<["in", "not in"]>;
15763
+ }, "strip", z.ZodTypeAny, {
15764
+ type: "evmAddress";
15765
+ operator: "in" | "not in";
15766
+ addresses: `0x${string}`[];
15767
+ }, {
15768
+ type: "evmAddress";
15769
+ operator: "in" | "not in";
15770
+ addresses: string[];
15771
+ }>, z.ZodObject<{
14527
15772
  type: z.ZodLiteral<"evmNetwork">;
14528
- networks: z.ZodArray<z.ZodEnum<["base", "base-sepolia", "ethereum", "ethereum-sepolia", "avalanche", "polygon", "optimism", "arbitrum"]>, "many">;
15773
+ networks: z.ZodArray<z.ZodEnum<["base-sepolia", "base", "arbitrum", "optimism", "zora", "polygon", "bnb", "avalanche", "ethereum", "ethereum-sepolia"]>, "many">;
14529
15774
  operator: z.ZodEnum<["in", "not in"]>;
14530
15775
  }, "strip", z.ZodTypeAny, {
14531
15776
  type: "evmNetwork";
14532
15777
  operator: "in" | "not in";
14533
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
15778
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
14534
15779
  }, {
14535
15780
  type: "evmNetwork";
14536
15781
  operator: "in" | "not in";
14537
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
15782
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
14538
15783
  }>, z.ZodObject<{
14539
15784
  type: z.ZodLiteral<"evmData">;
14540
15785
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -14774,11 +16019,19 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
14774
16019
  }>]>, "many">;
14775
16020
  }, "strip", z.ZodTypeAny, {
14776
16021
  action: "reject" | "accept";
14777
- operation: "sendEndUserEvmAsset";
16022
+ operation: "sendEndUserOperation";
14778
16023
  criteria: ({
16024
+ ethValue: string;
16025
+ type: "ethValue";
16026
+ operator: ">" | ">=" | "<" | "<=" | "==";
16027
+ } | {
16028
+ type: "evmAddress";
16029
+ operator: "in" | "not in";
16030
+ addresses: `0x${string}`[];
16031
+ } | {
14779
16032
  type: "evmNetwork";
14780
16033
  operator: "in" | "not in";
14781
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
16034
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
14782
16035
  } | {
14783
16036
  type: "netUSDChange";
14784
16037
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -14831,11 +16084,19 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
14831
16084
  })[];
14832
16085
  }, {
14833
16086
  action: "reject" | "accept";
14834
- operation: "sendEndUserEvmAsset";
16087
+ operation: "sendEndUserOperation";
14835
16088
  criteria: ({
16089
+ ethValue: string;
16090
+ type: "ethValue";
16091
+ operator: ">" | ">=" | "<" | "<=" | "==";
16092
+ } | {
16093
+ type: "evmAddress";
16094
+ operator: "in" | "not in";
16095
+ addresses: string[];
16096
+ } | {
14836
16097
  type: "evmNetwork";
14837
16098
  operator: "in" | "not in";
14838
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
16099
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
14839
16100
  } | {
14840
16101
  type: "netUSDChange";
14841
16102
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -14866,11 +16127,11 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
14866
16127
  }, "strip", z.ZodTypeAny, {
14867
16128
  type: "evmNetwork";
14868
16129
  operator: "in" | "not in";
14869
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
16130
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
14870
16131
  }, {
14871
16132
  type: "evmNetwork";
14872
16133
  operator: "in" | "not in";
14873
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
16134
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
14874
16135
  }>, z.ZodObject<{
14875
16136
  type: z.ZodLiteral<"evmData">;
14876
16137
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -15114,7 +16375,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
15114
16375
  criteria: ({
15115
16376
  type: "evmNetwork";
15116
16377
  operator: "in" | "not in";
15117
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
16378
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
15118
16379
  } | {
15119
16380
  type: "netUSDChange";
15120
16381
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -15171,7 +16432,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
15171
16432
  criteria: ({
15172
16433
  type: "evmNetwork";
15173
16434
  operator: "in" | "not in";
15174
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
16435
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
15175
16436
  } | {
15176
16437
  type: "netUSDChange";
15177
16438
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -15324,11 +16585,11 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
15324
16585
  }, "strip", z.ZodTypeAny, {
15325
16586
  type: "solNetwork";
15326
16587
  operator: "in" | "not in";
15327
- networks: ("solana-devnet" | "solana")[];
16588
+ networks: ("solana" | "solana-devnet")[];
15328
16589
  }, {
15329
16590
  type: "solNetwork";
15330
16591
  operator: "in" | "not in";
15331
- networks: ("solana-devnet" | "solana")[];
16592
+ networks: ("solana" | "solana-devnet")[];
15332
16593
  }>]>, "many">;
15333
16594
  }, "strip", z.ZodTypeAny, {
15334
16595
  action: "reject" | "accept";
@@ -15362,7 +16623,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
15362
16623
  } | {
15363
16624
  type: "solNetwork";
15364
16625
  operator: "in" | "not in";
15365
- networks: ("solana-devnet" | "solana")[];
16626
+ networks: ("solana" | "solana-devnet")[];
15366
16627
  })[];
15367
16628
  }, {
15368
16629
  action: "reject" | "accept";
@@ -15396,7 +16657,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
15396
16657
  } | {
15397
16658
  type: "solNetwork";
15398
16659
  operator: "in" | "not in";
15399
- networks: ("solana-devnet" | "solana")[];
16660
+ networks: ("solana" | "solana-devnet")[];
15400
16661
  })[];
15401
16662
  }>]>, "many">;
15402
16663
  }, "strip", z.ZodTypeAny, {
@@ -15464,6 +16725,9 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
15464
16725
  } | {
15465
16726
  action: "reject" | "accept";
15466
16727
  operation: "signEvmHash";
16728
+ } | {
16729
+ action: "reject" | "accept";
16730
+ operation: "signEndUserEvmHash";
15467
16731
  } | {
15468
16732
  action: "reject" | "accept";
15469
16733
  operation: "signEvmMessage";
@@ -15514,7 +16778,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
15514
16778
  } | {
15515
16779
  type: "evmNetwork";
15516
16780
  operator: "in" | "not in";
15517
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
16781
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
15518
16782
  } | {
15519
16783
  type: "netUSDChange";
15520
16784
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -15579,7 +16843,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
15579
16843
  } | {
15580
16844
  type: "evmNetwork";
15581
16845
  operator: "in" | "not in";
15582
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
16846
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
15583
16847
  } | {
15584
16848
  type: "netUSDChange";
15585
16849
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -15766,7 +17030,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
15766
17030
  } | {
15767
17031
  type: "evmNetwork";
15768
17032
  operator: "in" | "not in";
15769
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
17033
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
15770
17034
  } | {
15771
17035
  type: "netUSDChange";
15772
17036
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -15853,13 +17117,78 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
15853
17117
  operator: "in" | "not in";
15854
17118
  addresses: `0x${string}`[];
15855
17119
  })[];
17120
+ } | {
17121
+ action: "reject" | "accept";
17122
+ operation: "sendEndUserOperation";
17123
+ criteria: ({
17124
+ ethValue: string;
17125
+ type: "ethValue";
17126
+ operator: ">" | ">=" | "<" | "<=" | "==";
17127
+ } | {
17128
+ type: "evmAddress";
17129
+ operator: "in" | "not in";
17130
+ addresses: `0x${string}`[];
17131
+ } | {
17132
+ type: "evmNetwork";
17133
+ operator: "in" | "not in";
17134
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
17135
+ } | {
17136
+ type: "netUSDChange";
17137
+ operator: ">" | ">=" | "<" | "<=" | "==";
17138
+ changeCents: number;
17139
+ } | {
17140
+ type: "evmData";
17141
+ abi: "erc20" | "erc721" | "erc1155" | readonly ({
17142
+ inputs: readonly import("abitype").AbiParameter[];
17143
+ type: "error";
17144
+ name: string;
17145
+ } | {
17146
+ inputs: readonly import("abitype").AbiEventParameter[];
17147
+ type: "event";
17148
+ name: string;
17149
+ anonymous?: boolean | undefined;
17150
+ } | ({
17151
+ payable?: boolean | undefined;
17152
+ constant?: boolean | undefined;
17153
+ gas?: number | undefined;
17154
+ } & ({
17155
+ inputs: readonly import("abitype").AbiParameter[];
17156
+ outputs: readonly import("abitype").AbiParameter[];
17157
+ type: "function";
17158
+ name: string;
17159
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
17160
+ } | {
17161
+ inputs: readonly import("abitype").AbiParameter[];
17162
+ type: "constructor";
17163
+ stateMutability: "nonpayable" | "payable";
17164
+ } | {
17165
+ type: "fallback";
17166
+ stateMutability: "nonpayable" | "payable";
17167
+ inputs?: [] | undefined;
17168
+ } | {
17169
+ type: "receive";
17170
+ stateMutability: "payable";
17171
+ })))[];
17172
+ conditions: {
17173
+ function: string;
17174
+ params?: ({
17175
+ values: string[];
17176
+ name: string;
17177
+ operator: "in" | "not in";
17178
+ } | {
17179
+ value: string;
17180
+ name: string;
17181
+ operator: ">" | ">=" | "<" | "<=" | "==";
17182
+ })[] | undefined;
17183
+ }[];
17184
+ })[];
15856
17185
  } | {
15857
17186
  action: "reject" | "accept";
15858
17187
  operation: "sendEndUserEvmAsset";
15859
17188
  criteria: ({
15860
17189
  type: "evmNetwork";
15861
17190
  operator: "in" | "not in";
15862
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
17191
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
15863
17192
  } | {
15864
17193
  type: "netUSDChange";
15865
17194
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -15916,7 +17245,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
15916
17245
  criteria: ({
15917
17246
  type: "evmNetwork";
15918
17247
  operator: "in" | "not in";
15919
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
17248
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
15920
17249
  } | {
15921
17250
  type: "netUSDChange";
15922
17251
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -16061,7 +17390,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
16061
17390
  } | {
16062
17391
  type: "solNetwork";
16063
17392
  operator: "in" | "not in";
16064
- networks: ("solana-devnet" | "solana")[];
17393
+ networks: ("solana" | "solana-devnet")[];
16065
17394
  })[];
16066
17395
  } | {
16067
17396
  action: "reject" | "accept";
@@ -16164,7 +17493,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
16164
17493
  } | {
16165
17494
  type: "solNetwork";
16166
17495
  operator: "in" | "not in";
16167
- networks: ("solana-devnet" | "solana")[];
17496
+ networks: ("solana" | "solana-devnet")[];
16168
17497
  })[];
16169
17498
  } | {
16170
17499
  action: "reject" | "accept";
@@ -16205,7 +17534,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
16205
17534
  } | {
16206
17535
  type: "solNetwork";
16207
17536
  operator: "in" | "not in";
16208
- networks: ("solana-devnet" | "solana")[];
17537
+ networks: ("solana" | "solana-devnet")[];
16209
17538
  })[];
16210
17539
  })[];
16211
17540
  description?: string | undefined;
@@ -16244,6 +17573,9 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
16244
17573
  } | {
16245
17574
  action: "reject" | "accept";
16246
17575
  operation: "signEvmHash";
17576
+ } | {
17577
+ action: "reject" | "accept";
17578
+ operation: "signEndUserEvmHash";
16247
17579
  } | {
16248
17580
  action: "reject" | "accept";
16249
17581
  operation: "signEvmMessage";
@@ -16294,7 +17626,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
16294
17626
  } | {
16295
17627
  type: "evmNetwork";
16296
17628
  operator: "in" | "not in";
16297
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
17629
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
16298
17630
  } | {
16299
17631
  type: "netUSDChange";
16300
17632
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -16329,7 +17661,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
16329
17661
  } | {
16330
17662
  type: "evmNetwork";
16331
17663
  operator: "in" | "not in";
16332
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
17664
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
16333
17665
  } | {
16334
17666
  type: "netUSDChange";
16335
17667
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -16426,7 +17758,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
16426
17758
  } | {
16427
17759
  type: "evmNetwork";
16428
17760
  operator: "in" | "not in";
16429
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
17761
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
16430
17762
  } | {
16431
17763
  type: "netUSDChange";
16432
17764
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -16483,13 +17815,48 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
16483
17815
  operator: "in" | "not in";
16484
17816
  addresses: string[];
16485
17817
  })[];
17818
+ } | {
17819
+ action: "reject" | "accept";
17820
+ operation: "sendEndUserOperation";
17821
+ criteria: ({
17822
+ ethValue: string;
17823
+ type: "ethValue";
17824
+ operator: ">" | ">=" | "<" | "<=" | "==";
17825
+ } | {
17826
+ type: "evmAddress";
17827
+ operator: "in" | "not in";
17828
+ addresses: string[];
17829
+ } | {
17830
+ type: "evmNetwork";
17831
+ operator: "in" | "not in";
17832
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "zora" | "bnb" | "avalanche")[];
17833
+ } | {
17834
+ type: "netUSDChange";
17835
+ operator: ">" | ">=" | "<" | "<=" | "==";
17836
+ changeCents: number;
17837
+ } | {
17838
+ type: "evmData";
17839
+ abi: "erc20" | "erc721" | "erc1155" | readonly unknown[];
17840
+ conditions: {
17841
+ function: string;
17842
+ params?: ({
17843
+ values: string[];
17844
+ name: string;
17845
+ operator: "in" | "not in";
17846
+ } | {
17847
+ value: string;
17848
+ name: string;
17849
+ operator: ">" | ">=" | "<" | "<=" | "==";
17850
+ })[] | undefined;
17851
+ }[];
17852
+ })[];
16486
17853
  } | {
16487
17854
  action: "reject" | "accept";
16488
17855
  operation: "sendEndUserEvmAsset";
16489
17856
  criteria: ({
16490
17857
  type: "evmNetwork";
16491
17858
  operator: "in" | "not in";
16492
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
17859
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
16493
17860
  } | {
16494
17861
  type: "netUSDChange";
16495
17862
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -16516,7 +17883,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
16516
17883
  criteria: ({
16517
17884
  type: "evmNetwork";
16518
17885
  operator: "in" | "not in";
16519
- networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "ethereum" | "ethereum-sepolia" | "avalanche")[];
17886
+ networks: ("base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "base-sepolia" | "ethereum-sepolia" | "avalanche")[];
16520
17887
  } | {
16521
17888
  type: "netUSDChange";
16522
17889
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -16631,7 +17998,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
16631
17998
  } | {
16632
17999
  type: "solNetwork";
16633
18000
  operator: "in" | "not in";
16634
- networks: ("solana-devnet" | "solana")[];
18001
+ networks: ("solana" | "solana-devnet")[];
16635
18002
  })[];
16636
18003
  } | {
16637
18004
  action: "reject" | "accept";
@@ -16734,7 +18101,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
16734
18101
  } | {
16735
18102
  type: "solNetwork";
16736
18103
  operator: "in" | "not in";
16737
- networks: ("solana-devnet" | "solana")[];
18104
+ networks: ("solana" | "solana-devnet")[];
16738
18105
  })[];
16739
18106
  } | {
16740
18107
  action: "reject" | "accept";
@@ -16775,7 +18142,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
16775
18142
  } | {
16776
18143
  type: "solNetwork";
16777
18144
  operator: "in" | "not in";
16778
- networks: ("solana-devnet" | "solana")[];
18145
+ networks: ("solana" | "solana-devnet")[];
16779
18146
  })[];
16780
18147
  })[];
16781
18148
  description?: string | undefined;