@debridge-finance/borderless-validation-sdk 0.0.0-dev-4a73f49 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) hide show
  1. package/dist/cjs/helpers/address.js +18 -53
  2. package/dist/cjs/helpers/address.js.map +1 -1
  3. package/dist/cjs/helpers/constants.js +6 -0
  4. package/dist/cjs/helpers/constants.js.map +1 -0
  5. package/dist/cjs/helpers/evm-action.js +3 -3
  6. package/dist/cjs/helpers/evm-action.js.map +1 -1
  7. package/dist/cjs/helpers/evm-intent-id.js +13 -27
  8. package/dist/cjs/helpers/evm-intent-id.js.map +1 -1
  9. package/dist/cjs/helpers/evm-trade-amounts.js +1 -36
  10. package/dist/cjs/helpers/evm-trade-amounts.js.map +1 -1
  11. package/dist/cjs/types/enums.js +2 -32
  12. package/dist/cjs/types/enums.js.map +1 -1
  13. package/dist/cjs/types/request.js +2 -25
  14. package/dist/cjs/types/request.js.map +1 -1
  15. package/dist/cjs/types/response.js +5 -125
  16. package/dist/cjs/types/response.js.map +1 -1
  17. package/dist/cjs/types/validation.js +10 -81
  18. package/dist/cjs/types/validation.js.map +1 -1
  19. package/dist/cjs/validations/evm-caveats.js +14 -4
  20. package/dist/cjs/validations/evm-caveats.js.map +1 -1
  21. package/dist/cjs/validations/evm-op-budget.js +10 -13
  22. package/dist/cjs/validations/evm-op-budget.js.map +1 -1
  23. package/dist/cjs/validations/evm-op-gas-compensation.js +152 -0
  24. package/dist/cjs/validations/evm-op-gas-compensation.js.map +1 -0
  25. package/dist/cjs/validations/evm-op-hook.js +3 -410
  26. package/dist/cjs/validations/evm-op-hook.js.map +1 -1
  27. package/dist/cjs/validations/evm-op-wrap.js +7 -10
  28. package/dist/cjs/validations/evm-op-wrap.js.map +1 -1
  29. package/dist/cjs/validations/evm-required-actions.js +9 -7
  30. package/dist/cjs/validations/evm-required-actions.js.map +1 -1
  31. package/dist/cjs/validations/evm-sign712-metamask.js +94 -17
  32. package/dist/cjs/validations/evm-sign712-metamask.js.map +1 -1
  33. package/dist/cjs/validations/evm-sign7702.js +22 -34
  34. package/dist/cjs/validations/evm-sign7702.js.map +1 -1
  35. package/dist/cjs/validations/hooks-common.js +37 -252
  36. package/dist/cjs/validations/hooks-common.js.map +1 -1
  37. package/dist/cjs/validations/required-actions.js +7 -7
  38. package/dist/cjs/validations/required-actions.js.map +1 -1
  39. package/dist/cjs/validations/solana-hook.js +22 -33
  40. package/dist/cjs/validations/solana-hook.js.map +1 -1
  41. package/dist/cjs/validations/solana-op-budget.js +18 -56
  42. package/dist/cjs/validations/solana-op-budget.js.map +1 -1
  43. package/dist/cjs/validations/solana-op-wrap.js +13 -46
  44. package/dist/cjs/validations/solana-op-wrap.js.map +1 -1
  45. package/dist/cjs/validations/solana-required-actions.js +3 -3
  46. package/dist/cjs/validations/solana-required-actions.js.map +1 -1
  47. package/dist/cjs/validations/solana-transaction.js +5 -5
  48. package/dist/cjs/validations/solana-transaction.js.map +1 -1
  49. package/dist/cjs/validations/trade-grouping.js +1 -139
  50. package/dist/cjs/validations/trade-grouping.js.map +1 -1
  51. package/dist/cjs/validations/trades.js +40 -162
  52. package/dist/cjs/validations/trades.js.map +1 -1
  53. package/dist/cjs/validator.js +16 -11
  54. package/dist/cjs/validator.js.map +1 -1
  55. package/dist/cjs/whitelists/environment-config.js +28 -47
  56. package/dist/cjs/whitelists/environment-config.js.map +1 -1
  57. package/dist/cjs/whitelists/evm/caveat-enforcers.js +5 -21
  58. package/dist/cjs/whitelists/evm/caveat-enforcers.js.map +1 -1
  59. package/dist/cjs/whitelists/evm/delegation-manager.js +2 -7
  60. package/dist/cjs/whitelists/evm/delegation-manager.js.map +1 -1
  61. package/dist/cjs/whitelists/evm/eip7702-delegation.js +2 -7
  62. package/dist/cjs/whitelists/evm/eip7702-delegation.js.map +1 -1
  63. package/dist/cjs/whitelists/evm/index.js +1 -14
  64. package/dist/cjs/whitelists/evm/index.js.map +1 -1
  65. package/dist/cjs/whitelists/evm/permit2.js +12 -16
  66. package/dist/cjs/whitelists/evm/permit2.js.map +1 -1
  67. package/dist/cjs/whitelists/evm/weth.js +5 -16
  68. package/dist/cjs/whitelists/evm/weth.js.map +1 -1
  69. package/dist/cjs/whitelists/solana/intent-signature.js +1 -0
  70. package/dist/cjs/whitelists/solana/intent-signature.js.map +1 -1
  71. package/dist/cjs/whitelists/subscription-to-chain-id.js +0 -10
  72. package/dist/cjs/whitelists/subscription-to-chain-id.js.map +1 -1
  73. package/dist/cjs/whitelists/types.js +3 -13
  74. package/dist/cjs/whitelists/types.js.map +1 -1
  75. package/dist/esm/helpers/address.js +17 -48
  76. package/dist/esm/helpers/address.js.map +1 -1
  77. package/dist/esm/helpers/constants.js +3 -0
  78. package/dist/esm/helpers/constants.js.map +1 -0
  79. package/dist/esm/helpers/evm-action.js +3 -3
  80. package/dist/esm/helpers/evm-action.js.map +1 -1
  81. package/dist/esm/helpers/evm-intent-id.js +13 -27
  82. package/dist/esm/helpers/evm-intent-id.js.map +1 -1
  83. package/dist/esm/helpers/evm-trade-amounts.js +1 -36
  84. package/dist/esm/helpers/evm-trade-amounts.js.map +1 -1
  85. package/dist/esm/types/enums.js +1 -31
  86. package/dist/esm/types/enums.js.map +1 -1
  87. package/dist/esm/types/request.js +3 -26
  88. package/dist/esm/types/request.js.map +1 -1
  89. package/dist/esm/types/response.js +4 -124
  90. package/dist/esm/types/response.js.map +1 -1
  91. package/dist/esm/types/validation.js +10 -81
  92. package/dist/esm/types/validation.js.map +1 -1
  93. package/dist/esm/validations/evm-caveats.js +14 -4
  94. package/dist/esm/validations/evm-caveats.js.map +1 -1
  95. package/dist/esm/validations/evm-op-budget.js +10 -13
  96. package/dist/esm/validations/evm-op-budget.js.map +1 -1
  97. package/dist/esm/validations/evm-op-gas-compensation.js +149 -0
  98. package/dist/esm/validations/evm-op-gas-compensation.js.map +1 -0
  99. package/dist/esm/validations/evm-op-hook.js +2 -409
  100. package/dist/esm/validations/evm-op-hook.js.map +1 -1
  101. package/dist/esm/validations/evm-op-wrap.js +7 -10
  102. package/dist/esm/validations/evm-op-wrap.js.map +1 -1
  103. package/dist/esm/validations/evm-required-actions.js +9 -7
  104. package/dist/esm/validations/evm-required-actions.js.map +1 -1
  105. package/dist/esm/validations/evm-sign712-metamask.js +94 -17
  106. package/dist/esm/validations/evm-sign712-metamask.js.map +1 -1
  107. package/dist/esm/validations/evm-sign7702.js +22 -33
  108. package/dist/esm/validations/evm-sign7702.js.map +1 -1
  109. package/dist/esm/validations/hooks-common.js +38 -251
  110. package/dist/esm/validations/hooks-common.js.map +1 -1
  111. package/dist/esm/validations/required-actions.js +7 -7
  112. package/dist/esm/validations/required-actions.js.map +1 -1
  113. package/dist/esm/validations/solana-hook.js +24 -35
  114. package/dist/esm/validations/solana-hook.js.map +1 -1
  115. package/dist/esm/validations/solana-op-budget.js +18 -56
  116. package/dist/esm/validations/solana-op-budget.js.map +1 -1
  117. package/dist/esm/validations/solana-op-wrap.js +14 -47
  118. package/dist/esm/validations/solana-op-wrap.js.map +1 -1
  119. package/dist/esm/validations/solana-required-actions.js +3 -3
  120. package/dist/esm/validations/solana-required-actions.js.map +1 -1
  121. package/dist/esm/validations/solana-transaction.js +7 -7
  122. package/dist/esm/validations/solana-transaction.js.map +1 -1
  123. package/dist/esm/validations/trade-grouping.js +1 -139
  124. package/dist/esm/validations/trade-grouping.js.map +1 -1
  125. package/dist/esm/validations/trades.js +41 -163
  126. package/dist/esm/validations/trades.js.map +1 -1
  127. package/dist/esm/validator.js +16 -11
  128. package/dist/esm/validator.js.map +1 -1
  129. package/dist/esm/whitelists/environment-config.js +28 -47
  130. package/dist/esm/whitelists/environment-config.js.map +1 -1
  131. package/dist/esm/whitelists/evm/caveat-enforcers.js +4 -20
  132. package/dist/esm/whitelists/evm/caveat-enforcers.js.map +1 -1
  133. package/dist/esm/whitelists/evm/delegation-manager.js +1 -6
  134. package/dist/esm/whitelists/evm/delegation-manager.js.map +1 -1
  135. package/dist/esm/whitelists/evm/eip7702-delegation.js +1 -6
  136. package/dist/esm/whitelists/evm/eip7702-delegation.js.map +1 -1
  137. package/dist/esm/whitelists/evm/index.js +4 -4
  138. package/dist/esm/whitelists/evm/index.js.map +1 -1
  139. package/dist/esm/whitelists/evm/permit2.js +5 -9
  140. package/dist/esm/whitelists/evm/permit2.js.map +1 -1
  141. package/dist/esm/whitelists/evm/weth.js +5 -16
  142. package/dist/esm/whitelists/evm/weth.js.map +1 -1
  143. package/dist/esm/whitelists/solana/intent-signature.js +1 -0
  144. package/dist/esm/whitelists/solana/intent-signature.js.map +1 -1
  145. package/dist/esm/whitelists/subscription-to-chain-id.js +0 -9
  146. package/dist/esm/whitelists/subscription-to-chain-id.js.map +1 -1
  147. package/dist/esm/whitelists/types.js +5 -14
  148. package/dist/esm/whitelists/types.js.map +1 -1
  149. package/dist/types/helpers/address.d.ts +7 -7
  150. package/dist/types/helpers/address.d.ts.map +1 -1
  151. package/dist/types/helpers/constants.d.ts +2 -0
  152. package/dist/types/helpers/constants.d.ts.map +1 -0
  153. package/dist/types/helpers/evm-intent-id.d.ts.map +1 -1
  154. package/dist/types/helpers/evm-trade-amounts.d.ts +2 -2
  155. package/dist/types/helpers/evm-trade-amounts.d.ts.map +1 -1
  156. package/dist/types/types/enums.d.ts +1 -24
  157. package/dist/types/types/enums.d.ts.map +1 -1
  158. package/dist/types/types/request.d.ts +9 -19
  159. package/dist/types/types/request.d.ts.map +1 -1
  160. package/dist/types/types/response.d.ts +17 -1015
  161. package/dist/types/types/response.d.ts.map +1 -1
  162. package/dist/types/types/validation.d.ts +11 -73
  163. package/dist/types/types/validation.d.ts.map +1 -1
  164. package/dist/types/validations/evm-caveats.d.ts.map +1 -1
  165. package/dist/types/validations/evm-op-budget.d.ts +2 -2
  166. package/dist/types/validations/evm-op-budget.d.ts.map +1 -1
  167. package/dist/types/validations/evm-op-gas-compensation.d.ts +3 -0
  168. package/dist/types/validations/evm-op-gas-compensation.d.ts.map +1 -0
  169. package/dist/types/validations/evm-op-hook.d.ts +2 -4
  170. package/dist/types/validations/evm-op-hook.d.ts.map +1 -1
  171. package/dist/types/validations/evm-op-wrap.d.ts +2 -2
  172. package/dist/types/validations/evm-op-wrap.d.ts.map +1 -1
  173. package/dist/types/validations/evm-required-actions.d.ts +2 -2
  174. package/dist/types/validations/evm-required-actions.d.ts.map +1 -1
  175. package/dist/types/validations/evm-sign712-metamask.d.ts.map +1 -1
  176. package/dist/types/validations/evm-sign7702.d.ts +1 -2
  177. package/dist/types/validations/evm-sign7702.d.ts.map +1 -1
  178. package/dist/types/validations/hooks-common.d.ts +0 -1
  179. package/dist/types/validations/hooks-common.d.ts.map +1 -1
  180. package/dist/types/validations/required-actions.d.ts +1 -2
  181. package/dist/types/validations/required-actions.d.ts.map +1 -1
  182. package/dist/types/validations/solana-hook.d.ts +2 -4
  183. package/dist/types/validations/solana-hook.d.ts.map +1 -1
  184. package/dist/types/validations/solana-op-budget.d.ts +2 -2
  185. package/dist/types/validations/solana-op-budget.d.ts.map +1 -1
  186. package/dist/types/validations/solana-op-wrap.d.ts +2 -2
  187. package/dist/types/validations/solana-op-wrap.d.ts.map +1 -1
  188. package/dist/types/validations/solana-required-actions.d.ts +2 -2
  189. package/dist/types/validations/solana-required-actions.d.ts.map +1 -1
  190. package/dist/types/validations/solana-transaction.d.ts +3 -3
  191. package/dist/types/validations/solana-transaction.d.ts.map +1 -1
  192. package/dist/types/validations/trade-grouping.d.ts +2 -6
  193. package/dist/types/validations/trade-grouping.d.ts.map +1 -1
  194. package/dist/types/validations/trades.d.ts.map +1 -1
  195. package/dist/types/validator.d.ts.map +1 -1
  196. package/dist/types/whitelists/environment-config.d.ts.map +1 -1
  197. package/dist/types/whitelists/evm/caveat-enforcers.d.ts +0 -8
  198. package/dist/types/whitelists/evm/caveat-enforcers.d.ts.map +1 -1
  199. package/dist/types/whitelists/evm/delegation-manager.d.ts +0 -2
  200. package/dist/types/whitelists/evm/delegation-manager.d.ts.map +1 -1
  201. package/dist/types/whitelists/evm/eip7702-delegation.d.ts +0 -2
  202. package/dist/types/whitelists/evm/eip7702-delegation.d.ts.map +1 -1
  203. package/dist/types/whitelists/evm/index.d.ts +4 -4
  204. package/dist/types/whitelists/evm/index.d.ts.map +1 -1
  205. package/dist/types/whitelists/evm/permit2.d.ts +0 -1
  206. package/dist/types/whitelists/evm/permit2.d.ts.map +1 -1
  207. package/dist/types/whitelists/evm/weth.d.ts.map +1 -1
  208. package/dist/types/whitelists/solana/intent-signature.d.ts.map +1 -1
  209. package/dist/types/whitelists/subscription-to-chain-id.d.ts +0 -1
  210. package/dist/types/whitelists/subscription-to-chain-id.d.ts.map +1 -1
  211. package/dist/types/whitelists/types.d.ts +1 -1
  212. package/dist/types/whitelists/types.d.ts.map +1 -1
  213. package/package.json +3 -4
  214. package/README.md +0 -164
  215. package/dist/cjs/helpers/evm-dln-hook-pack.js +0 -87
  216. package/dist/cjs/helpers/evm-dln-hook-pack.js.map +0 -1
  217. package/dist/cjs/helpers/evm-gas-compensation-tx.js +0 -102
  218. package/dist/cjs/helpers/evm-gas-compensation-tx.js.map +0 -1
  219. package/dist/cjs/helpers/gas-compensation.js +0 -36
  220. package/dist/cjs/helpers/gas-compensation.js.map +0 -1
  221. package/dist/cjs/helpers/hex.js +0 -24
  222. package/dist/cjs/helpers/hex.js.map +0 -1
  223. package/dist/cjs/helpers/placeholder.js +0 -174
  224. package/dist/cjs/helpers/placeholder.js.map +0 -1
  225. package/dist/cjs/helpers/sets.js +0 -13
  226. package/dist/cjs/helpers/sets.js.map +0 -1
  227. package/dist/cjs/validations/compensation-hook.js +0 -203
  228. package/dist/cjs/validations/compensation-hook.js.map +0 -1
  229. package/dist/cjs/validations/evm-sign712-shared.js +0 -116
  230. package/dist/cjs/validations/evm-sign712-shared.js.map +0 -1
  231. package/dist/cjs/validations/intent-destinations.js +0 -197
  232. package/dist/cjs/validations/intent-destinations.js.map +0 -1
  233. package/dist/cjs/validations/intent-tokens.js +0 -347
  234. package/dist/cjs/validations/intent-tokens.js.map +0 -1
  235. package/dist/cjs/validations/intent.js +0 -288
  236. package/dist/cjs/validations/intent.js.map +0 -1
  237. package/dist/cjs/whitelists/evm/metamask-delegation-chains.js +0 -16
  238. package/dist/cjs/whitelists/evm/metamask-delegation-chains.js.map +0 -1
  239. package/dist/esm/helpers/evm-dln-hook-pack.js +0 -82
  240. package/dist/esm/helpers/evm-dln-hook-pack.js.map +0 -1
  241. package/dist/esm/helpers/evm-gas-compensation-tx.js +0 -99
  242. package/dist/esm/helpers/evm-gas-compensation-tx.js.map +0 -1
  243. package/dist/esm/helpers/gas-compensation.js +0 -33
  244. package/dist/esm/helpers/gas-compensation.js.map +0 -1
  245. package/dist/esm/helpers/hex.js +0 -20
  246. package/dist/esm/helpers/hex.js.map +0 -1
  247. package/dist/esm/helpers/placeholder.js +0 -168
  248. package/dist/esm/helpers/placeholder.js.map +0 -1
  249. package/dist/esm/helpers/sets.js +0 -10
  250. package/dist/esm/helpers/sets.js.map +0 -1
  251. package/dist/esm/validations/compensation-hook.js +0 -200
  252. package/dist/esm/validations/compensation-hook.js.map +0 -1
  253. package/dist/esm/validations/evm-sign712-shared.js +0 -110
  254. package/dist/esm/validations/evm-sign712-shared.js.map +0 -1
  255. package/dist/esm/validations/intent-destinations.js +0 -194
  256. package/dist/esm/validations/intent-destinations.js.map +0 -1
  257. package/dist/esm/validations/intent-tokens.js +0 -344
  258. package/dist/esm/validations/intent-tokens.js.map +0 -1
  259. package/dist/esm/validations/intent.js +0 -285
  260. package/dist/esm/validations/intent.js.map +0 -1
  261. package/dist/esm/whitelists/evm/metamask-delegation-chains.js +0 -13
  262. package/dist/esm/whitelists/evm/metamask-delegation-chains.js.map +0 -1
  263. package/dist/types/helpers/evm-dln-hook-pack.d.ts +0 -19
  264. package/dist/types/helpers/evm-dln-hook-pack.d.ts.map +0 -1
  265. package/dist/types/helpers/evm-gas-compensation-tx.d.ts +0 -13
  266. package/dist/types/helpers/evm-gas-compensation-tx.d.ts.map +0 -1
  267. package/dist/types/helpers/gas-compensation.d.ts +0 -10
  268. package/dist/types/helpers/gas-compensation.d.ts.map +0 -1
  269. package/dist/types/helpers/hex.d.ts +0 -3
  270. package/dist/types/helpers/hex.d.ts.map +0 -1
  271. package/dist/types/helpers/placeholder.d.ts +0 -41
  272. package/dist/types/helpers/placeholder.d.ts.map +0 -1
  273. package/dist/types/helpers/sets.d.ts +0 -2
  274. package/dist/types/helpers/sets.d.ts.map +0 -1
  275. package/dist/types/validations/compensation-hook.d.ts +0 -3
  276. package/dist/types/validations/compensation-hook.d.ts.map +0 -1
  277. package/dist/types/validations/evm-sign712-shared.d.ts +0 -7
  278. package/dist/types/validations/evm-sign712-shared.d.ts.map +0 -1
  279. package/dist/types/validations/intent-destinations.d.ts +0 -4
  280. package/dist/types/validations/intent-destinations.d.ts.map +0 -1
  281. package/dist/types/validations/intent-tokens.d.ts +0 -4
  282. package/dist/types/validations/intent-tokens.d.ts.map +0 -1
  283. package/dist/types/validations/intent.d.ts +0 -5
  284. package/dist/types/validations/intent.d.ts.map +0 -1
  285. package/dist/types/whitelists/evm/metamask-delegation-chains.d.ts +0 -3
  286. package/dist/types/whitelists/evm/metamask-delegation-chains.d.ts.map +0 -1
@@ -60,7 +60,7 @@ export declare const ResponseSrcChainTokenOutSchema: z.ZodObject<{
60
60
  decimals: z.ZodNumber;
61
61
  amount: z.ZodString;
62
62
  maxRefundAmount: z.ZodOptional<z.ZodString>;
63
- approximateUsdValue: z.ZodOptional<z.ZodNumber>;
63
+ approximateUsdValue: z.ZodNumber;
64
64
  }, z.core.$strip>;
65
65
  export declare const ResponseDstChainTokenOutSchema: z.ZodObject<{
66
66
  chainId: z.ZodNumber;
@@ -101,7 +101,7 @@ export declare const ResponseTradeSchema: z.ZodObject<{
101
101
  decimals: z.ZodNumber;
102
102
  amount: z.ZodString;
103
103
  maxRefundAmount: z.ZodOptional<z.ZodString>;
104
- approximateUsdValue: z.ZodOptional<z.ZodNumber>;
104
+ approximateUsdValue: z.ZodNumber;
105
105
  }, z.core.$strip>>;
106
106
  dstChainTokenOut: z.ZodObject<{
107
107
  chainId: z.ZodNumber;
@@ -144,7 +144,7 @@ export declare const ResponseTradeSchema: z.ZodObject<{
144
144
  dstChainTokenOutRecipient: z.ZodOptional<z.ZodString>;
145
145
  dstChainAuthorityAddress: z.ZodOptional<z.ZodString>;
146
146
  relatedIntentId: z.ZodOptional<z.ZodString>;
147
- prependedOperatingExpenseCost: z.ZodOptional<z.ZodString>;
147
+ prependedOperatingExpenseCost: z.ZodString;
148
148
  userPoints: z.ZodNumber;
149
149
  integratorPoints: z.ZodNumber;
150
150
  actualUserPoints: z.ZodOptional<z.ZodNumber>;
@@ -222,54 +222,15 @@ export declare const ResponseIntentSchema: z.ZodObject<{
222
222
  destinationChainIds: z.ZodUnion<readonly [z.ZodArray<z.ZodNumber>, z.ZodLiteral<"any">]>;
223
223
  }, z.core.$strip>>>;
224
224
  }, z.core.$strip>;
225
- /**
226
- * Intent-scope only — payload for `Transaction` actions inside
227
- * `response.trades[].intents[].requiredActions[]`. The chain is implicit
228
- * (it equals the parent intent's chainId), so no `chainId` field is present.
229
- * The hook-scope counterpart carries an explicit `chainId` —
230
- * see {@link EvmDirectTransactionDataSchema}.
231
- */
232
225
  export declare const EvmTransactionDataSchema: z.ZodObject<{
233
226
  to: z.ZodString;
234
227
  data: z.ZodString;
235
228
  value: z.ZodString;
236
229
  }, z.core.$strip>;
237
- /**
238
- * Hook-scope only — payload for `Transaction` actions inside
239
- * `response.preHooks[].requiredActions[]` and
240
- * `response.postHooks[].requiredActions[]` (Direct hooks with eager-only
241
- * placeholders), and the inner `transaction` field of
242
- * `EvmProvidePlaceholdersData`. Carries `chainId` explicitly because hooks
243
- * are not bound to a single intent's chain.
244
- */
245
- export declare const EvmDirectTransactionDataSchema: z.ZodObject<{
246
- to: z.ZodString;
247
- data: z.ZodString;
248
- value: z.ZodString;
249
- chainId: z.ZodNumber;
250
- }, z.core.$strip>;
251
- /**
252
- * Both scopes (intent and hook) — payload for `Sign7702Authorization`
253
- * actions. Encodes the EIP-7702 delegation parameters that the user signs
254
- * to delegate their EOA to a smart-contract wallet implementation.
255
- */
256
230
  export declare const EvmSign7702AuthorizationDataSchema: z.ZodObject<{
257
231
  contractAddress: z.ZodString;
258
232
  nonce: z.ZodNumber;
259
233
  }, z.core.$strip>;
260
- /**
261
- * Generic EIP-712 typed-data payload. Reused by several action types:
262
- * - `Sign712MetaMaskCaveats` — both intent-scope and hook-scope (Delegated
263
- * hooks with eager-only placeholders). Encodes the MetaMask delegation
264
- * message, including caveats inside `message`.
265
- * - `Sign712` — intent-scope only. Encodes the user's intent signature.
266
- * - `Permit` / `Permit2` — intent-scope only. Encodes the EIP-2612 / Permit2
267
- * approval payload.
268
- *
269
- * The hook-scope variant with deferred placeholders extends this shape with
270
- * an extra `placeholders[]` field — see
271
- * {@link EvmCaveatsWithPlaceholdersDataSchema}.
272
- */
273
234
  export declare const EvmSign712DataSchema: z.ZodObject<{
274
235
  domain: z.ZodObject<{
275
236
  name: z.ZodString;
@@ -284,70 +245,6 @@ export declare const EvmSign712DataSchema: z.ZodObject<{
284
245
  primaryType: z.ZodString;
285
246
  message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
286
247
  }, z.core.$strip>;
287
- /**
288
- * Deferred-placeholder descriptor used inside hook-scope action payloads
289
- * ({@link EvmCaveatsWithPlaceholdersDataSchema} and
290
- * {@link EvmProvidePlaceholdersDataSchema}). Each item names a placeholder
291
- * whose value the client must supply at submit time.
292
- */
293
- export declare const EvmActionPlaceholderItemSchema: z.ZodObject<{
294
- nameVariable: z.ZodString;
295
- }, z.core.$strip>;
296
- /**
297
- * Hook-scope only — payload for `Sign712MetaMaskCaveatsWithPlaceholders`
298
- * actions emitted for Delegated EVM hooks that declare deferred
299
- * placeholders. Extends the standard EIP-712 typed-data shape with a
300
- * `placeholders[]` list whose values the client supplies at submit time;
301
- * the corresponding markers remain in place inside the typed data until
302
- * substitution.
303
- */
304
- export declare const EvmCaveatsWithPlaceholdersDataSchema: z.ZodObject<{
305
- domain: z.ZodObject<{
306
- name: z.ZodString;
307
- version: z.ZodOptional<z.ZodString>;
308
- chainId: z.ZodOptional<z.ZodNumber>;
309
- verifyingContract: z.ZodOptional<z.ZodString>;
310
- }, z.core.$strip>;
311
- types: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
312
- name: z.ZodString;
313
- type: z.ZodString;
314
- }, z.core.$strip>>>;
315
- primaryType: z.ZodString;
316
- message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
317
- placeholders: z.ZodArray<z.ZodObject<{
318
- nameVariable: z.ZodString;
319
- }, z.core.$strip>>;
320
- }, z.core.$strip>;
321
- /**
322
- * Hook-scope only — payload for `ProvidePlaceholders` actions emitted for
323
- * Direct EVM hooks that declare deferred placeholders. Carries the embedded
324
- * transaction (with explicit `chainId`) and a `placeholders[]` list whose
325
- * values the client must supply at submit time. No off-chain signature is
326
- * required — the client substitutes the placeholders into the transaction
327
- * data and broadcasts the resulting transaction on-chain.
328
- */
329
- export declare const EvmProvidePlaceholdersDataSchema: z.ZodObject<{
330
- transaction: z.ZodObject<{
331
- to: z.ZodString;
332
- data: z.ZodString;
333
- value: z.ZodString;
334
- chainId: z.ZodNumber;
335
- }, z.core.$strip>;
336
- placeholders: z.ZodArray<z.ZodObject<{
337
- nameVariable: z.ZodString;
338
- }, z.core.$strip>>;
339
- }, z.core.$strip>;
340
- /**
341
- * Optional `details` payload that supplements an EVM action's `data`.
342
- * Different action types populate different subsets:
343
- * - `Sign712MetaMaskCaveats` / `Sign712MetaMaskCaveatsWithPlaceholders` —
344
- * `transactionCalls` lists the underlying transaction(s) wrapped by the
345
- * delegation. In hook-scope this is always exactly one entry — the hook
346
- * transaction itself.
347
- * - `Transaction` with `actions: [Budget]`, `Permit`, `Permit2` —
348
- * `allowanceHolder`, `tokenAddress`, `permit2Contract` describe the
349
- * approved spender / token / Permit2 router.
350
- */
351
248
  export declare const EvmActionDetailsSchema: z.ZodObject<{
352
249
  transactionCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
353
250
  to: z.ZodString;
@@ -394,13 +291,6 @@ export declare const EvmCostItemSchema: z.ZodObject<{
394
291
  maxPriorityFeePerGas: z.ZodOptional<z.ZodString>;
395
292
  }, z.core.$strip>>;
396
293
  }, z.core.$strip>;
397
- /**
398
- * Single EVM `requiredAction` element. The same shape is used in both
399
- * intent-scope (`response.trades[].intents[].requiredActions[]`) and
400
- * hook-scope (`response.preHooks[].requiredActions[]`,
401
- * `response.postHooks[].requiredActions[]`); the action `type` and `data`
402
- * shape determine which scope a given action belongs to.
403
- */
404
294
  export declare const EvmRequiredActionSchema: z.ZodObject<{
405
295
  actionId: z.ZodString;
406
296
  type: z.ZodEnum<typeof EvmActionKind>;
@@ -409,11 +299,6 @@ export declare const EvmRequiredActionSchema: z.ZodObject<{
409
299
  to: z.ZodString;
410
300
  data: z.ZodString;
411
301
  value: z.ZodString;
412
- chainId: z.ZodNumber;
413
- }, z.core.$strip>, z.ZodObject<{
414
- to: z.ZodString;
415
- data: z.ZodString;
416
- value: z.ZodString;
417
302
  }, z.core.$strip>, z.ZodObject<{
418
303
  contractAddress: z.ZodString;
419
304
  nonce: z.ZodNumber;
@@ -430,32 +315,6 @@ export declare const EvmRequiredActionSchema: z.ZodObject<{
430
315
  }, z.core.$strip>>>;
431
316
  primaryType: z.ZodString;
432
317
  message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
433
- placeholders: z.ZodArray<z.ZodObject<{
434
- nameVariable: z.ZodString;
435
- }, z.core.$strip>>;
436
- }, z.core.$strip>, z.ZodObject<{
437
- domain: z.ZodObject<{
438
- name: z.ZodString;
439
- version: z.ZodOptional<z.ZodString>;
440
- chainId: z.ZodOptional<z.ZodNumber>;
441
- verifyingContract: z.ZodOptional<z.ZodString>;
442
- }, z.core.$strip>;
443
- types: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
444
- name: z.ZodString;
445
- type: z.ZodString;
446
- }, z.core.$strip>>>;
447
- primaryType: z.ZodString;
448
- message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
449
- }, z.core.$strip>, z.ZodObject<{
450
- transaction: z.ZodObject<{
451
- to: z.ZodString;
452
- data: z.ZodString;
453
- value: z.ZodString;
454
- chainId: z.ZodNumber;
455
- }, z.core.$strip>;
456
- placeholders: z.ZodArray<z.ZodObject<{
457
- nameVariable: z.ZodString;
458
- }, z.core.$strip>>;
459
318
  }, z.core.$strip>]>;
460
319
  details: z.ZodOptional<z.ZodObject<{
461
320
  transactionCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -487,28 +346,12 @@ export declare const EvmRequiredActionSchema: z.ZodObject<{
487
346
  }, z.core.$strip>>;
488
347
  description: z.ZodString;
489
348
  }, z.core.$strip>;
490
- /**
491
- * Both scopes (intent and hook) — payload for `Transaction` and
492
- * `SignTransaction` actions. Carries a base64-encoded Solana transaction.
493
- * The shape is identical in intent-scope and hook-scope for Solana: there
494
- * is no Direct/Delegated split for Solana hooks.
495
- */
496
349
  export declare const SolanaTransactionDataSchema: z.ZodObject<{
497
350
  data: z.ZodString;
498
351
  }, z.core.$strip>;
499
- /**
500
- * Intent-scope only — payload for `Sign` actions. Carries a UTF-8 string
501
- * the user signs to authorize the intent.
502
- */
503
352
  export declare const SolanaSignDataSchema: z.ZodObject<{
504
353
  data: z.ZodString;
505
354
  }, z.core.$strip>;
506
- /**
507
- * Single Solana `requiredAction` element. The same shape is used in both
508
- * intent-scope (`response.trades[].intents[].requiredActions[]`) and
509
- * hook-scope (`response.preHooks[].requiredActions[]`,
510
- * `response.postHooks[].requiredActions[]`).
511
- */
512
355
  export declare const SolanaRequiredActionSchema: z.ZodObject<{
513
356
  actionId: z.ZodString;
514
357
  type: z.ZodEnum<typeof SolanaActionKind>;
@@ -540,11 +383,6 @@ export declare const ResponseRequiredActionSchema: z.ZodUnion<readonly [z.ZodObj
540
383
  to: z.ZodString;
541
384
  data: z.ZodString;
542
385
  value: z.ZodString;
543
- chainId: z.ZodNumber;
544
- }, z.core.$strip>, z.ZodObject<{
545
- to: z.ZodString;
546
- data: z.ZodString;
547
- value: z.ZodString;
548
386
  }, z.core.$strip>, z.ZodObject<{
549
387
  contractAddress: z.ZodString;
550
388
  nonce: z.ZodNumber;
@@ -561,32 +399,6 @@ export declare const ResponseRequiredActionSchema: z.ZodUnion<readonly [z.ZodObj
561
399
  }, z.core.$strip>>>;
562
400
  primaryType: z.ZodString;
563
401
  message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
564
- placeholders: z.ZodArray<z.ZodObject<{
565
- nameVariable: z.ZodString;
566
- }, z.core.$strip>>;
567
- }, z.core.$strip>, z.ZodObject<{
568
- domain: z.ZodObject<{
569
- name: z.ZodString;
570
- version: z.ZodOptional<z.ZodString>;
571
- chainId: z.ZodOptional<z.ZodNumber>;
572
- verifyingContract: z.ZodOptional<z.ZodString>;
573
- }, z.core.$strip>;
574
- types: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
575
- name: z.ZodString;
576
- type: z.ZodString;
577
- }, z.core.$strip>>>;
578
- primaryType: z.ZodString;
579
- message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
580
- }, z.core.$strip>, z.ZodObject<{
581
- transaction: z.ZodObject<{
582
- to: z.ZodString;
583
- data: z.ZodString;
584
- value: z.ZodString;
585
- chainId: z.ZodNumber;
586
- }, z.core.$strip>;
587
- placeholders: z.ZodArray<z.ZodObject<{
588
- nameVariable: z.ZodString;
589
- }, z.core.$strip>>;
590
402
  }, z.core.$strip>]>;
591
403
  details: z.ZodOptional<z.ZodObject<{
592
404
  transactionCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -649,11 +461,6 @@ export declare const ResponseIntentPayloadSchema: z.ZodObject<{
649
461
  to: z.ZodString;
650
462
  data: z.ZodString;
651
463
  value: z.ZodString;
652
- chainId: z.ZodNumber;
653
- }, z.core.$strip>, z.ZodObject<{
654
- to: z.ZodString;
655
- data: z.ZodString;
656
- value: z.ZodString;
657
464
  }, z.core.$strip>, z.ZodObject<{
658
465
  contractAddress: z.ZodString;
659
466
  nonce: z.ZodNumber;
@@ -670,32 +477,6 @@ export declare const ResponseIntentPayloadSchema: z.ZodObject<{
670
477
  }, z.core.$strip>>>;
671
478
  primaryType: z.ZodString;
672
479
  message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
673
- placeholders: z.ZodArray<z.ZodObject<{
674
- nameVariable: z.ZodString;
675
- }, z.core.$strip>>;
676
- }, z.core.$strip>, z.ZodObject<{
677
- domain: z.ZodObject<{
678
- name: z.ZodString;
679
- version: z.ZodOptional<z.ZodString>;
680
- chainId: z.ZodOptional<z.ZodNumber>;
681
- verifyingContract: z.ZodOptional<z.ZodString>;
682
- }, z.core.$strip>;
683
- types: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
684
- name: z.ZodString;
685
- type: z.ZodString;
686
- }, z.core.$strip>>>;
687
- primaryType: z.ZodString;
688
- message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
689
- }, z.core.$strip>, z.ZodObject<{
690
- transaction: z.ZodObject<{
691
- to: z.ZodString;
692
- data: z.ZodString;
693
- value: z.ZodString;
694
- chainId: z.ZodNumber;
695
- }, z.core.$strip>;
696
- placeholders: z.ZodArray<z.ZodObject<{
697
- nameVariable: z.ZodString;
698
- }, z.core.$strip>>;
699
480
  }, z.core.$strip>]>;
700
481
  details: z.ZodOptional<z.ZodObject<{
701
482
  transactionCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -805,7 +586,7 @@ export declare const AccumulativeTokenOutputSchema: z.ZodObject<{
805
586
  approximateUsdValue: z.ZodNumber;
806
587
  }, z.core.$strip>;
807
588
  export declare const ResponseHookPayloadSchema: z.ZodObject<{
808
- requiredActions: z.ZodPipe<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
589
+ requiredActions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
809
590
  actionId: z.ZodString;
810
591
  type: z.ZodEnum<typeof EvmActionKind>;
811
592
  actions: z.ZodArray<z.ZodEnum<typeof EvmActionOperation>>;
@@ -813,11 +594,6 @@ export declare const ResponseHookPayloadSchema: z.ZodObject<{
813
594
  to: z.ZodString;
814
595
  data: z.ZodString;
815
596
  value: z.ZodString;
816
- chainId: z.ZodNumber;
817
- }, z.core.$strip>, z.ZodObject<{
818
- to: z.ZodString;
819
- data: z.ZodString;
820
- value: z.ZodString;
821
597
  }, z.core.$strip>, z.ZodObject<{
822
598
  contractAddress: z.ZodString;
823
599
  nonce: z.ZodNumber;
@@ -834,32 +610,6 @@ export declare const ResponseHookPayloadSchema: z.ZodObject<{
834
610
  }, z.core.$strip>>>;
835
611
  primaryType: z.ZodString;
836
612
  message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
837
- placeholders: z.ZodArray<z.ZodObject<{
838
- nameVariable: z.ZodString;
839
- }, z.core.$strip>>;
840
- }, z.core.$strip>, z.ZodObject<{
841
- domain: z.ZodObject<{
842
- name: z.ZodString;
843
- version: z.ZodOptional<z.ZodString>;
844
- chainId: z.ZodOptional<z.ZodNumber>;
845
- verifyingContract: z.ZodOptional<z.ZodString>;
846
- }, z.core.$strip>;
847
- types: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
848
- name: z.ZodString;
849
- type: z.ZodString;
850
- }, z.core.$strip>>>;
851
- primaryType: z.ZodString;
852
- message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
853
- }, z.core.$strip>, z.ZodObject<{
854
- transaction: z.ZodObject<{
855
- to: z.ZodString;
856
- data: z.ZodString;
857
- value: z.ZodString;
858
- chainId: z.ZodNumber;
859
- }, z.core.$strip>;
860
- placeholders: z.ZodArray<z.ZodObject<{
861
- nameVariable: z.ZodString;
862
- }, z.core.$strip>>;
863
613
  }, z.core.$strip>]>;
864
614
  details: z.ZodOptional<z.ZodObject<{
865
615
  transactionCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -912,221 +662,7 @@ export declare const ResponseHookPayloadSchema: z.ZodObject<{
912
662
  }, z.core.$strip>>;
913
663
  }, z.core.$strip>>;
914
664
  description: z.ZodString;
915
- }, z.core.$strip>]>>>, z.ZodTransform<({
916
- actionId: string;
917
- type: EvmActionKind;
918
- actions: EvmActionOperation[];
919
- data: {
920
- to: string;
921
- data: string;
922
- value: string;
923
- } | {
924
- to: string;
925
- data: string;
926
- value: string;
927
- chainId: number;
928
- } | {
929
- contractAddress: string;
930
- nonce: number;
931
- } | {
932
- domain: {
933
- name: string;
934
- version?: string | undefined;
935
- chainId?: number | undefined;
936
- verifyingContract?: string | undefined;
937
- };
938
- types: Record<string, {
939
- name: string;
940
- type: string;
941
- }[]>;
942
- primaryType: string;
943
- message: Record<string, unknown>;
944
- } | {
945
- domain: {
946
- name: string;
947
- version?: string | undefined;
948
- chainId?: number | undefined;
949
- verifyingContract?: string | undefined;
950
- };
951
- types: Record<string, {
952
- name: string;
953
- type: string;
954
- }[]>;
955
- primaryType: string;
956
- message: Record<string, unknown>;
957
- placeholders: {
958
- nameVariable: string;
959
- }[];
960
- } | {
961
- transaction: {
962
- to: string;
963
- data: string;
964
- value: string;
965
- chainId: number;
966
- };
967
- placeholders: {
968
- nameVariable: string;
969
- }[];
970
- };
971
- actionCosts: {
972
- costChainId: number;
973
- costTokenAddress: string;
974
- amount: string;
975
- approximateUsdValue: number;
976
- type: CostItemType;
977
- feeBps?: number | undefined;
978
- details?: {
979
- originalChainId: number;
980
- } | undefined;
981
- networkDetails?: {
982
- gasLimit?: string | undefined;
983
- gasPrice?: string | undefined;
984
- baseFee?: string | undefined;
985
- maxFeePerGas?: string | undefined;
986
- maxPriorityFeePerGas?: string | undefined;
987
- } | undefined;
988
- }[];
989
- description: string;
990
- details?: {
991
- transactionCalls?: {
992
- to: string;
993
- data: string;
994
- value: string;
995
- }[] | undefined;
996
- allowanceHolder?: string | undefined;
997
- tokenAddress?: string | undefined;
998
- permit2Contract?: string | undefined;
999
- } | undefined;
1000
- } | {
1001
- actionId: string;
1002
- type: SolanaActionKind;
1003
- actions: SolanaActionOperation[];
1004
- data: {
1005
- data: string;
1006
- } | {
1007
- data: string;
1008
- };
1009
- actionCosts: {
1010
- costChainId: number;
1011
- costTokenAddress: string;
1012
- amount: string;
1013
- approximateUsdValue: number;
1014
- type: CostItemType;
1015
- feeBps?: number | undefined;
1016
- details?: {
1017
- originalChainId: number;
1018
- } | undefined;
1019
- }[];
1020
- description: string;
1021
- details?: undefined;
1022
- })[], ({
1023
- actionId: string;
1024
- type: EvmActionKind;
1025
- actions: EvmActionOperation[];
1026
- data: {
1027
- to: string;
1028
- data: string;
1029
- value: string;
1030
- } | {
1031
- to: string;
1032
- data: string;
1033
- value: string;
1034
- chainId: number;
1035
- } | {
1036
- contractAddress: string;
1037
- nonce: number;
1038
- } | {
1039
- domain: {
1040
- name: string;
1041
- version?: string | undefined;
1042
- chainId?: number | undefined;
1043
- verifyingContract?: string | undefined;
1044
- };
1045
- types: Record<string, {
1046
- name: string;
1047
- type: string;
1048
- }[]>;
1049
- primaryType: string;
1050
- message: Record<string, unknown>;
1051
- } | {
1052
- domain: {
1053
- name: string;
1054
- version?: string | undefined;
1055
- chainId?: number | undefined;
1056
- verifyingContract?: string | undefined;
1057
- };
1058
- types: Record<string, {
1059
- name: string;
1060
- type: string;
1061
- }[]>;
1062
- primaryType: string;
1063
- message: Record<string, unknown>;
1064
- placeholders: {
1065
- nameVariable: string;
1066
- }[];
1067
- } | {
1068
- transaction: {
1069
- to: string;
1070
- data: string;
1071
- value: string;
1072
- chainId: number;
1073
- };
1074
- placeholders: {
1075
- nameVariable: string;
1076
- }[];
1077
- };
1078
- actionCosts: {
1079
- costChainId: number;
1080
- costTokenAddress: string;
1081
- amount: string;
1082
- approximateUsdValue: number;
1083
- type: CostItemType;
1084
- feeBps?: number | undefined;
1085
- details?: {
1086
- originalChainId: number;
1087
- } | undefined;
1088
- networkDetails?: {
1089
- gasLimit?: string | undefined;
1090
- gasPrice?: string | undefined;
1091
- baseFee?: string | undefined;
1092
- maxFeePerGas?: string | undefined;
1093
- maxPriorityFeePerGas?: string | undefined;
1094
- } | undefined;
1095
- }[];
1096
- description: string;
1097
- details?: {
1098
- transactionCalls?: {
1099
- to: string;
1100
- data: string;
1101
- value: string;
1102
- }[] | undefined;
1103
- allowanceHolder?: string | undefined;
1104
- tokenAddress?: string | undefined;
1105
- permit2Contract?: string | undefined;
1106
- } | undefined;
1107
- } | {
1108
- actionId: string;
1109
- type: SolanaActionKind;
1110
- actions: SolanaActionOperation[];
1111
- data: {
1112
- data: string;
1113
- } | {
1114
- data: string;
1115
- };
1116
- actionCosts: {
1117
- costChainId: number;
1118
- costTokenAddress: string;
1119
- amount: string;
1120
- approximateUsdValue: number;
1121
- type: CostItemType;
1122
- feeBps?: number | undefined;
1123
- details?: {
1124
- originalChainId: number;
1125
- } | undefined;
1126
- }[];
1127
- description: string;
1128
- details?: undefined;
1129
- })[] | undefined>>;
665
+ }, z.core.$strip>]>>;
1130
666
  hook: z.ZodObject<{
1131
667
  chainId: z.ZodNumber;
1132
668
  from: z.ZodString;
@@ -1136,18 +672,15 @@ export declare const ResponseHookPayloadSchema: z.ZodObject<{
1136
672
  isAtomic: z.ZodBoolean;
1137
673
  placeHolders: z.ZodArray<z.ZodObject<{
1138
674
  nameVariable: z.ZodString;
1139
- tokenAddress: z.ZodOptional<z.ZodString>;
1140
- address: z.ZodOptional<z.ZodString>;
675
+ tokenAddress: z.ZodString;
676
+ address: z.ZodString;
1141
677
  additionalAmount: z.ZodOptional<z.ZodString>;
1142
- type: z.ZodOptional<z.ZodEnum<typeof import("./enums").PlaceholderType>>;
1143
678
  }, z.core.$strip>>;
1144
679
  gasCompensationInfo: z.ZodOptional<z.ZodObject<{
1145
680
  tokenAddress: z.ZodString;
1146
681
  chainId: z.ZodNumber;
1147
682
  sender: z.ZodString;
1148
683
  }, z.core.$strip>>;
1149
- type: z.ZodOptional<z.ZodEnum<typeof import("./enums").BundleHookType>>;
1150
- gasLimit: z.ZodOptional<z.ZodString>;
1151
684
  }, z.core.$strip>;
1152
685
  }, z.core.$strip>;
1153
686
  export declare const BundleCreationResponseSchema: z.ZodObject<{
@@ -1176,7 +709,7 @@ export declare const BundleCreationResponseSchema: z.ZodObject<{
1176
709
  decimals: z.ZodNumber;
1177
710
  amount: z.ZodString;
1178
711
  maxRefundAmount: z.ZodOptional<z.ZodString>;
1179
- approximateUsdValue: z.ZodOptional<z.ZodNumber>;
712
+ approximateUsdValue: z.ZodNumber;
1180
713
  }, z.core.$strip>>;
1181
714
  dstChainTokenOut: z.ZodObject<{
1182
715
  chainId: z.ZodNumber;
@@ -1219,7 +752,7 @@ export declare const BundleCreationResponseSchema: z.ZodObject<{
1219
752
  dstChainTokenOutRecipient: z.ZodOptional<z.ZodString>;
1220
753
  dstChainAuthorityAddress: z.ZodOptional<z.ZodString>;
1221
754
  relatedIntentId: z.ZodOptional<z.ZodString>;
1222
- prependedOperatingExpenseCost: z.ZodOptional<z.ZodString>;
755
+ prependedOperatingExpenseCost: z.ZodString;
1223
756
  userPoints: z.ZodNumber;
1224
757
  integratorPoints: z.ZodNumber;
1225
758
  actualUserPoints: z.ZodOptional<z.ZodNumber>;
@@ -1243,11 +776,6 @@ export declare const BundleCreationResponseSchema: z.ZodObject<{
1243
776
  to: z.ZodString;
1244
777
  data: z.ZodString;
1245
778
  value: z.ZodString;
1246
- chainId: z.ZodNumber;
1247
- }, z.core.$strip>, z.ZodObject<{
1248
- to: z.ZodString;
1249
- data: z.ZodString;
1250
- value: z.ZodString;
1251
779
  }, z.core.$strip>, z.ZodObject<{
1252
780
  contractAddress: z.ZodString;
1253
781
  nonce: z.ZodNumber;
@@ -1264,32 +792,6 @@ export declare const BundleCreationResponseSchema: z.ZodObject<{
1264
792
  }, z.core.$strip>>>;
1265
793
  primaryType: z.ZodString;
1266
794
  message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1267
- placeholders: z.ZodArray<z.ZodObject<{
1268
- nameVariable: z.ZodString;
1269
- }, z.core.$strip>>;
1270
- }, z.core.$strip>, z.ZodObject<{
1271
- domain: z.ZodObject<{
1272
- name: z.ZodString;
1273
- version: z.ZodOptional<z.ZodString>;
1274
- chainId: z.ZodOptional<z.ZodNumber>;
1275
- verifyingContract: z.ZodOptional<z.ZodString>;
1276
- }, z.core.$strip>;
1277
- types: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
1278
- name: z.ZodString;
1279
- type: z.ZodString;
1280
- }, z.core.$strip>>>;
1281
- primaryType: z.ZodString;
1282
- message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1283
- }, z.core.$strip>, z.ZodObject<{
1284
- transaction: z.ZodObject<{
1285
- to: z.ZodString;
1286
- data: z.ZodString;
1287
- value: z.ZodString;
1288
- chainId: z.ZodNumber;
1289
- }, z.core.$strip>;
1290
- placeholders: z.ZodArray<z.ZodObject<{
1291
- nameVariable: z.ZodString;
1292
- }, z.core.$strip>>;
1293
795
  }, z.core.$strip>]>;
1294
796
  details: z.ZodOptional<z.ZodObject<{
1295
797
  transactionCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1385,7 +887,7 @@ export declare const BundleCreationResponseSchema: z.ZodObject<{
1385
887
  }, z.core.$strip>;
1386
888
  }, z.core.$strip>>;
1387
889
  preHooks: z.ZodArray<z.ZodObject<{
1388
- requiredActions: z.ZodPipe<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
890
+ requiredActions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1389
891
  actionId: z.ZodString;
1390
892
  type: z.ZodEnum<typeof EvmActionKind>;
1391
893
  actions: z.ZodArray<z.ZodEnum<typeof EvmActionOperation>>;
@@ -1393,11 +895,6 @@ export declare const BundleCreationResponseSchema: z.ZodObject<{
1393
895
  to: z.ZodString;
1394
896
  data: z.ZodString;
1395
897
  value: z.ZodString;
1396
- chainId: z.ZodNumber;
1397
- }, z.core.$strip>, z.ZodObject<{
1398
- to: z.ZodString;
1399
- data: z.ZodString;
1400
- value: z.ZodString;
1401
898
  }, z.core.$strip>, z.ZodObject<{
1402
899
  contractAddress: z.ZodString;
1403
900
  nonce: z.ZodNumber;
@@ -1414,32 +911,6 @@ export declare const BundleCreationResponseSchema: z.ZodObject<{
1414
911
  }, z.core.$strip>>>;
1415
912
  primaryType: z.ZodString;
1416
913
  message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1417
- placeholders: z.ZodArray<z.ZodObject<{
1418
- nameVariable: z.ZodString;
1419
- }, z.core.$strip>>;
1420
- }, z.core.$strip>, z.ZodObject<{
1421
- domain: z.ZodObject<{
1422
- name: z.ZodString;
1423
- version: z.ZodOptional<z.ZodString>;
1424
- chainId: z.ZodOptional<z.ZodNumber>;
1425
- verifyingContract: z.ZodOptional<z.ZodString>;
1426
- }, z.core.$strip>;
1427
- types: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
1428
- name: z.ZodString;
1429
- type: z.ZodString;
1430
- }, z.core.$strip>>>;
1431
- primaryType: z.ZodString;
1432
- message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1433
- }, z.core.$strip>, z.ZodObject<{
1434
- transaction: z.ZodObject<{
1435
- to: z.ZodString;
1436
- data: z.ZodString;
1437
- value: z.ZodString;
1438
- chainId: z.ZodNumber;
1439
- }, z.core.$strip>;
1440
- placeholders: z.ZodArray<z.ZodObject<{
1441
- nameVariable: z.ZodString;
1442
- }, z.core.$strip>>;
1443
914
  }, z.core.$strip>]>;
1444
915
  details: z.ZodOptional<z.ZodObject<{
1445
916
  transactionCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1492,221 +963,7 @@ export declare const BundleCreationResponseSchema: z.ZodObject<{
1492
963
  }, z.core.$strip>>;
1493
964
  }, z.core.$strip>>;
1494
965
  description: z.ZodString;
1495
- }, z.core.$strip>]>>>, z.ZodTransform<({
1496
- actionId: string;
1497
- type: EvmActionKind;
1498
- actions: EvmActionOperation[];
1499
- data: {
1500
- to: string;
1501
- data: string;
1502
- value: string;
1503
- } | {
1504
- to: string;
1505
- data: string;
1506
- value: string;
1507
- chainId: number;
1508
- } | {
1509
- contractAddress: string;
1510
- nonce: number;
1511
- } | {
1512
- domain: {
1513
- name: string;
1514
- version?: string | undefined;
1515
- chainId?: number | undefined;
1516
- verifyingContract?: string | undefined;
1517
- };
1518
- types: Record<string, {
1519
- name: string;
1520
- type: string;
1521
- }[]>;
1522
- primaryType: string;
1523
- message: Record<string, unknown>;
1524
- } | {
1525
- domain: {
1526
- name: string;
1527
- version?: string | undefined;
1528
- chainId?: number | undefined;
1529
- verifyingContract?: string | undefined;
1530
- };
1531
- types: Record<string, {
1532
- name: string;
1533
- type: string;
1534
- }[]>;
1535
- primaryType: string;
1536
- message: Record<string, unknown>;
1537
- placeholders: {
1538
- nameVariable: string;
1539
- }[];
1540
- } | {
1541
- transaction: {
1542
- to: string;
1543
- data: string;
1544
- value: string;
1545
- chainId: number;
1546
- };
1547
- placeholders: {
1548
- nameVariable: string;
1549
- }[];
1550
- };
1551
- actionCosts: {
1552
- costChainId: number;
1553
- costTokenAddress: string;
1554
- amount: string;
1555
- approximateUsdValue: number;
1556
- type: CostItemType;
1557
- feeBps?: number | undefined;
1558
- details?: {
1559
- originalChainId: number;
1560
- } | undefined;
1561
- networkDetails?: {
1562
- gasLimit?: string | undefined;
1563
- gasPrice?: string | undefined;
1564
- baseFee?: string | undefined;
1565
- maxFeePerGas?: string | undefined;
1566
- maxPriorityFeePerGas?: string | undefined;
1567
- } | undefined;
1568
- }[];
1569
- description: string;
1570
- details?: {
1571
- transactionCalls?: {
1572
- to: string;
1573
- data: string;
1574
- value: string;
1575
- }[] | undefined;
1576
- allowanceHolder?: string | undefined;
1577
- tokenAddress?: string | undefined;
1578
- permit2Contract?: string | undefined;
1579
- } | undefined;
1580
- } | {
1581
- actionId: string;
1582
- type: SolanaActionKind;
1583
- actions: SolanaActionOperation[];
1584
- data: {
1585
- data: string;
1586
- } | {
1587
- data: string;
1588
- };
1589
- actionCosts: {
1590
- costChainId: number;
1591
- costTokenAddress: string;
1592
- amount: string;
1593
- approximateUsdValue: number;
1594
- type: CostItemType;
1595
- feeBps?: number | undefined;
1596
- details?: {
1597
- originalChainId: number;
1598
- } | undefined;
1599
- }[];
1600
- description: string;
1601
- details?: undefined;
1602
- })[], ({
1603
- actionId: string;
1604
- type: EvmActionKind;
1605
- actions: EvmActionOperation[];
1606
- data: {
1607
- to: string;
1608
- data: string;
1609
- value: string;
1610
- } | {
1611
- to: string;
1612
- data: string;
1613
- value: string;
1614
- chainId: number;
1615
- } | {
1616
- contractAddress: string;
1617
- nonce: number;
1618
- } | {
1619
- domain: {
1620
- name: string;
1621
- version?: string | undefined;
1622
- chainId?: number | undefined;
1623
- verifyingContract?: string | undefined;
1624
- };
1625
- types: Record<string, {
1626
- name: string;
1627
- type: string;
1628
- }[]>;
1629
- primaryType: string;
1630
- message: Record<string, unknown>;
1631
- } | {
1632
- domain: {
1633
- name: string;
1634
- version?: string | undefined;
1635
- chainId?: number | undefined;
1636
- verifyingContract?: string | undefined;
1637
- };
1638
- types: Record<string, {
1639
- name: string;
1640
- type: string;
1641
- }[]>;
1642
- primaryType: string;
1643
- message: Record<string, unknown>;
1644
- placeholders: {
1645
- nameVariable: string;
1646
- }[];
1647
- } | {
1648
- transaction: {
1649
- to: string;
1650
- data: string;
1651
- value: string;
1652
- chainId: number;
1653
- };
1654
- placeholders: {
1655
- nameVariable: string;
1656
- }[];
1657
- };
1658
- actionCosts: {
1659
- costChainId: number;
1660
- costTokenAddress: string;
1661
- amount: string;
1662
- approximateUsdValue: number;
1663
- type: CostItemType;
1664
- feeBps?: number | undefined;
1665
- details?: {
1666
- originalChainId: number;
1667
- } | undefined;
1668
- networkDetails?: {
1669
- gasLimit?: string | undefined;
1670
- gasPrice?: string | undefined;
1671
- baseFee?: string | undefined;
1672
- maxFeePerGas?: string | undefined;
1673
- maxPriorityFeePerGas?: string | undefined;
1674
- } | undefined;
1675
- }[];
1676
- description: string;
1677
- details?: {
1678
- transactionCalls?: {
1679
- to: string;
1680
- data: string;
1681
- value: string;
1682
- }[] | undefined;
1683
- allowanceHolder?: string | undefined;
1684
- tokenAddress?: string | undefined;
1685
- permit2Contract?: string | undefined;
1686
- } | undefined;
1687
- } | {
1688
- actionId: string;
1689
- type: SolanaActionKind;
1690
- actions: SolanaActionOperation[];
1691
- data: {
1692
- data: string;
1693
- } | {
1694
- data: string;
1695
- };
1696
- actionCosts: {
1697
- costChainId: number;
1698
- costTokenAddress: string;
1699
- amount: string;
1700
- approximateUsdValue: number;
1701
- type: CostItemType;
1702
- feeBps?: number | undefined;
1703
- details?: {
1704
- originalChainId: number;
1705
- } | undefined;
1706
- }[];
1707
- description: string;
1708
- details?: undefined;
1709
- })[] | undefined>>;
966
+ }, z.core.$strip>]>>;
1710
967
  hook: z.ZodObject<{
1711
968
  chainId: z.ZodNumber;
1712
969
  from: z.ZodString;
@@ -1716,22 +973,19 @@ export declare const BundleCreationResponseSchema: z.ZodObject<{
1716
973
  isAtomic: z.ZodBoolean;
1717
974
  placeHolders: z.ZodArray<z.ZodObject<{
1718
975
  nameVariable: z.ZodString;
1719
- tokenAddress: z.ZodOptional<z.ZodString>;
1720
- address: z.ZodOptional<z.ZodString>;
976
+ tokenAddress: z.ZodString;
977
+ address: z.ZodString;
1721
978
  additionalAmount: z.ZodOptional<z.ZodString>;
1722
- type: z.ZodOptional<z.ZodEnum<typeof import("./enums").PlaceholderType>>;
1723
979
  }, z.core.$strip>>;
1724
980
  gasCompensationInfo: z.ZodOptional<z.ZodObject<{
1725
981
  tokenAddress: z.ZodString;
1726
982
  chainId: z.ZodNumber;
1727
983
  sender: z.ZodString;
1728
984
  }, z.core.$strip>>;
1729
- type: z.ZodOptional<z.ZodEnum<typeof import("./enums").BundleHookType>>;
1730
- gasLimit: z.ZodOptional<z.ZodString>;
1731
985
  }, z.core.$strip>;
1732
986
  }, z.core.$strip>>;
1733
987
  postHooks: z.ZodArray<z.ZodObject<{
1734
- requiredActions: z.ZodPipe<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
988
+ requiredActions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1735
989
  actionId: z.ZodString;
1736
990
  type: z.ZodEnum<typeof EvmActionKind>;
1737
991
  actions: z.ZodArray<z.ZodEnum<typeof EvmActionOperation>>;
@@ -1739,11 +993,6 @@ export declare const BundleCreationResponseSchema: z.ZodObject<{
1739
993
  to: z.ZodString;
1740
994
  data: z.ZodString;
1741
995
  value: z.ZodString;
1742
- chainId: z.ZodNumber;
1743
- }, z.core.$strip>, z.ZodObject<{
1744
- to: z.ZodString;
1745
- data: z.ZodString;
1746
- value: z.ZodString;
1747
996
  }, z.core.$strip>, z.ZodObject<{
1748
997
  contractAddress: z.ZodString;
1749
998
  nonce: z.ZodNumber;
@@ -1760,32 +1009,6 @@ export declare const BundleCreationResponseSchema: z.ZodObject<{
1760
1009
  }, z.core.$strip>>>;
1761
1010
  primaryType: z.ZodString;
1762
1011
  message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1763
- placeholders: z.ZodArray<z.ZodObject<{
1764
- nameVariable: z.ZodString;
1765
- }, z.core.$strip>>;
1766
- }, z.core.$strip>, z.ZodObject<{
1767
- domain: z.ZodObject<{
1768
- name: z.ZodString;
1769
- version: z.ZodOptional<z.ZodString>;
1770
- chainId: z.ZodOptional<z.ZodNumber>;
1771
- verifyingContract: z.ZodOptional<z.ZodString>;
1772
- }, z.core.$strip>;
1773
- types: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
1774
- name: z.ZodString;
1775
- type: z.ZodString;
1776
- }, z.core.$strip>>>;
1777
- primaryType: z.ZodString;
1778
- message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1779
- }, z.core.$strip>, z.ZodObject<{
1780
- transaction: z.ZodObject<{
1781
- to: z.ZodString;
1782
- data: z.ZodString;
1783
- value: z.ZodString;
1784
- chainId: z.ZodNumber;
1785
- }, z.core.$strip>;
1786
- placeholders: z.ZodArray<z.ZodObject<{
1787
- nameVariable: z.ZodString;
1788
- }, z.core.$strip>>;
1789
1012
  }, z.core.$strip>]>;
1790
1013
  details: z.ZodOptional<z.ZodObject<{
1791
1014
  transactionCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1838,221 +1061,7 @@ export declare const BundleCreationResponseSchema: z.ZodObject<{
1838
1061
  }, z.core.$strip>>;
1839
1062
  }, z.core.$strip>>;
1840
1063
  description: z.ZodString;
1841
- }, z.core.$strip>]>>>, z.ZodTransform<({
1842
- actionId: string;
1843
- type: EvmActionKind;
1844
- actions: EvmActionOperation[];
1845
- data: {
1846
- to: string;
1847
- data: string;
1848
- value: string;
1849
- } | {
1850
- to: string;
1851
- data: string;
1852
- value: string;
1853
- chainId: number;
1854
- } | {
1855
- contractAddress: string;
1856
- nonce: number;
1857
- } | {
1858
- domain: {
1859
- name: string;
1860
- version?: string | undefined;
1861
- chainId?: number | undefined;
1862
- verifyingContract?: string | undefined;
1863
- };
1864
- types: Record<string, {
1865
- name: string;
1866
- type: string;
1867
- }[]>;
1868
- primaryType: string;
1869
- message: Record<string, unknown>;
1870
- } | {
1871
- domain: {
1872
- name: string;
1873
- version?: string | undefined;
1874
- chainId?: number | undefined;
1875
- verifyingContract?: string | undefined;
1876
- };
1877
- types: Record<string, {
1878
- name: string;
1879
- type: string;
1880
- }[]>;
1881
- primaryType: string;
1882
- message: Record<string, unknown>;
1883
- placeholders: {
1884
- nameVariable: string;
1885
- }[];
1886
- } | {
1887
- transaction: {
1888
- to: string;
1889
- data: string;
1890
- value: string;
1891
- chainId: number;
1892
- };
1893
- placeholders: {
1894
- nameVariable: string;
1895
- }[];
1896
- };
1897
- actionCosts: {
1898
- costChainId: number;
1899
- costTokenAddress: string;
1900
- amount: string;
1901
- approximateUsdValue: number;
1902
- type: CostItemType;
1903
- feeBps?: number | undefined;
1904
- details?: {
1905
- originalChainId: number;
1906
- } | undefined;
1907
- networkDetails?: {
1908
- gasLimit?: string | undefined;
1909
- gasPrice?: string | undefined;
1910
- baseFee?: string | undefined;
1911
- maxFeePerGas?: string | undefined;
1912
- maxPriorityFeePerGas?: string | undefined;
1913
- } | undefined;
1914
- }[];
1915
- description: string;
1916
- details?: {
1917
- transactionCalls?: {
1918
- to: string;
1919
- data: string;
1920
- value: string;
1921
- }[] | undefined;
1922
- allowanceHolder?: string | undefined;
1923
- tokenAddress?: string | undefined;
1924
- permit2Contract?: string | undefined;
1925
- } | undefined;
1926
- } | {
1927
- actionId: string;
1928
- type: SolanaActionKind;
1929
- actions: SolanaActionOperation[];
1930
- data: {
1931
- data: string;
1932
- } | {
1933
- data: string;
1934
- };
1935
- actionCosts: {
1936
- costChainId: number;
1937
- costTokenAddress: string;
1938
- amount: string;
1939
- approximateUsdValue: number;
1940
- type: CostItemType;
1941
- feeBps?: number | undefined;
1942
- details?: {
1943
- originalChainId: number;
1944
- } | undefined;
1945
- }[];
1946
- description: string;
1947
- details?: undefined;
1948
- })[], ({
1949
- actionId: string;
1950
- type: EvmActionKind;
1951
- actions: EvmActionOperation[];
1952
- data: {
1953
- to: string;
1954
- data: string;
1955
- value: string;
1956
- } | {
1957
- to: string;
1958
- data: string;
1959
- value: string;
1960
- chainId: number;
1961
- } | {
1962
- contractAddress: string;
1963
- nonce: number;
1964
- } | {
1965
- domain: {
1966
- name: string;
1967
- version?: string | undefined;
1968
- chainId?: number | undefined;
1969
- verifyingContract?: string | undefined;
1970
- };
1971
- types: Record<string, {
1972
- name: string;
1973
- type: string;
1974
- }[]>;
1975
- primaryType: string;
1976
- message: Record<string, unknown>;
1977
- } | {
1978
- domain: {
1979
- name: string;
1980
- version?: string | undefined;
1981
- chainId?: number | undefined;
1982
- verifyingContract?: string | undefined;
1983
- };
1984
- types: Record<string, {
1985
- name: string;
1986
- type: string;
1987
- }[]>;
1988
- primaryType: string;
1989
- message: Record<string, unknown>;
1990
- placeholders: {
1991
- nameVariable: string;
1992
- }[];
1993
- } | {
1994
- transaction: {
1995
- to: string;
1996
- data: string;
1997
- value: string;
1998
- chainId: number;
1999
- };
2000
- placeholders: {
2001
- nameVariable: string;
2002
- }[];
2003
- };
2004
- actionCosts: {
2005
- costChainId: number;
2006
- costTokenAddress: string;
2007
- amount: string;
2008
- approximateUsdValue: number;
2009
- type: CostItemType;
2010
- feeBps?: number | undefined;
2011
- details?: {
2012
- originalChainId: number;
2013
- } | undefined;
2014
- networkDetails?: {
2015
- gasLimit?: string | undefined;
2016
- gasPrice?: string | undefined;
2017
- baseFee?: string | undefined;
2018
- maxFeePerGas?: string | undefined;
2019
- maxPriorityFeePerGas?: string | undefined;
2020
- } | undefined;
2021
- }[];
2022
- description: string;
2023
- details?: {
2024
- transactionCalls?: {
2025
- to: string;
2026
- data: string;
2027
- value: string;
2028
- }[] | undefined;
2029
- allowanceHolder?: string | undefined;
2030
- tokenAddress?: string | undefined;
2031
- permit2Contract?: string | undefined;
2032
- } | undefined;
2033
- } | {
2034
- actionId: string;
2035
- type: SolanaActionKind;
2036
- actions: SolanaActionOperation[];
2037
- data: {
2038
- data: string;
2039
- } | {
2040
- data: string;
2041
- };
2042
- actionCosts: {
2043
- costChainId: number;
2044
- costTokenAddress: string;
2045
- amount: string;
2046
- approximateUsdValue: number;
2047
- type: CostItemType;
2048
- feeBps?: number | undefined;
2049
- details?: {
2050
- originalChainId: number;
2051
- } | undefined;
2052
- }[];
2053
- description: string;
2054
- details?: undefined;
2055
- })[] | undefined>>;
1064
+ }, z.core.$strip>]>>;
2056
1065
  hook: z.ZodObject<{
2057
1066
  chainId: z.ZodNumber;
2058
1067
  from: z.ZodString;
@@ -2062,18 +1071,15 @@ export declare const BundleCreationResponseSchema: z.ZodObject<{
2062
1071
  isAtomic: z.ZodBoolean;
2063
1072
  placeHolders: z.ZodArray<z.ZodObject<{
2064
1073
  nameVariable: z.ZodString;
2065
- tokenAddress: z.ZodOptional<z.ZodString>;
2066
- address: z.ZodOptional<z.ZodString>;
1074
+ tokenAddress: z.ZodString;
1075
+ address: z.ZodString;
2067
1076
  additionalAmount: z.ZodOptional<z.ZodString>;
2068
- type: z.ZodOptional<z.ZodEnum<typeof import("./enums").PlaceholderType>>;
2069
1077
  }, z.core.$strip>>;
2070
1078
  gasCompensationInfo: z.ZodOptional<z.ZodObject<{
2071
1079
  tokenAddress: z.ZodString;
2072
1080
  chainId: z.ZodNumber;
2073
1081
  sender: z.ZodString;
2074
1082
  }, z.core.$strip>>;
2075
- type: z.ZodOptional<z.ZodEnum<typeof import("./enums").BundleHookType>>;
2076
- gasLimit: z.ZodOptional<z.ZodString>;
2077
1083
  }, z.core.$strip>;
2078
1084
  }, z.core.$strip>>;
2079
1085
  accumulativeTokenInput: z.ZodArray<z.ZodObject<{
@@ -2118,12 +1124,8 @@ export type ResponseGiveToken = z.infer<typeof ResponseGiveTokenSchema>;
2118
1124
  export type ResponseTakeToken = z.infer<typeof ResponseTakeTokenSchema>;
2119
1125
  export type EvmRequiredAction = z.infer<typeof EvmRequiredActionSchema>;
2120
1126
  export type EvmTransactionData = z.infer<typeof EvmTransactionDataSchema>;
2121
- export type EvmDirectTransactionData = z.infer<typeof EvmDirectTransactionDataSchema>;
2122
1127
  export type EvmSign7702AuthorizationData = z.infer<typeof EvmSign7702AuthorizationDataSchema>;
2123
1128
  export type EvmSign712Data = z.infer<typeof EvmSign712DataSchema>;
2124
- export type EvmCaveatsWithPlaceholdersData = z.infer<typeof EvmCaveatsWithPlaceholdersDataSchema>;
2125
- export type EvmProvidePlaceholdersData = z.infer<typeof EvmProvidePlaceholdersDataSchema>;
2126
- export type EvmActionPlaceholderItem = z.infer<typeof EvmActionPlaceholderItemSchema>;
2127
1129
  export type EvmActionDetails = z.infer<typeof EvmActionDetailsSchema>;
2128
1130
  export type SolanaRequiredAction = z.infer<typeof SolanaRequiredActionSchema>;
2129
1131
  export type SolanaTransactionData = z.infer<typeof SolanaTransactionDataSchema>;