@luxexchange/api 1.0.1 → 1.0.3

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 (315) hide show
  1. package/.depcheckrc +16 -0
  2. package/.eslintrc.js +30 -0
  3. package/package.json +12 -15
  4. package/project.json +3 -3
  5. package/src/clients/auctions/createAuctionServiceClient.ts +2 -2
  6. package/src/clients/base/SharedQueryClient.ts +1 -1
  7. package/src/clients/base/auth.ts +1 -1
  8. package/src/clients/base/createFetchClient.ts +2 -2
  9. package/src/clients/base/errors.test.ts +1 -1
  10. package/src/clients/base/types.ts +1 -1
  11. package/src/clients/base/urls.test.ts +44 -44
  12. package/src/clients/base/urls.ts +20 -12
  13. package/src/clients/base/utils.test.ts +2 -2
  14. package/src/clients/base/utils.ts +1 -1
  15. package/src/clients/blockaid/createBlockaidApiClient.ts +2 -2
  16. package/src/clients/compliance/createComplianceApiClient.ts +2 -2
  17. package/src/clients/content/types.ts +1 -1
  18. package/src/clients/conversionTracking/api-ConversionProxyService_connectquery.ts +1 -1
  19. package/src/clients/conversionTracking/api_connect.ts +1 -1
  20. package/src/clients/conversionTracking/index.ts +3 -3
  21. package/src/clients/data/createDataServiceApiClient.ts +1 -1
  22. package/src/clients/dataApi/createDataApiServiceClient.ts +2 -2
  23. package/src/clients/dataApi/getGetPortfolioQueryOptions.test.ts +3 -3
  24. package/src/clients/dataApi/getGetPortfolioQueryOptions.ts +3 -3
  25. package/src/clients/embeddedWallet/createEmbeddedWalletApiClient.ts +5 -5
  26. package/src/clients/for/createForApiClient.ts +5 -5
  27. package/src/clients/for/types.ts +1 -1
  28. package/src/clients/gasService/createGasServiceClient.ts +2 -2
  29. package/src/clients/graphql/codegen.config.ts +1 -1
  30. package/src/clients/graphql/fragments.ts +3 -3
  31. package/src/clients/graphql/generated.ts +3 -0
  32. package/src/clients/graphql/web/{LuxPrices.graphql → UniswapPrices.graphql} +1 -1
  33. package/src/clients/jupiter/createJupiterApiClient.ts +3 -3
  34. package/src/clients/jupiter/utils.ts +1 -1
  35. package/src/clients/liquidity/createAuctionMutationClient.ts +2 -2
  36. package/src/clients/liquidity/createLiquidityServiceClient.ts +2 -2
  37. package/src/clients/lux/createLuxApiClient.ts +4 -4
  38. package/src/clients/notifications/createNotificationsApiClient.ts +4 -4
  39. package/src/clients/notifications/types.ts +9 -9
  40. package/src/clients/trading/createTradingApiClient.ts +6 -6
  41. package/src/clients/trading/tradeTypes.ts +2 -2
  42. package/src/clients/trading/types.ts +3 -3
  43. package/src/clients/uniswap/createUniswapApiClient.ts +83 -0
  44. package/src/clients/unitags/createUnitagsApiClient.test.ts +7 -7
  45. package/src/clients/unitags/createUnitagsApiClient.ts +4 -4
  46. package/src/clients/x/createXVerificationServiceClient.ts +2 -2
  47. package/src/components/ApiInit.test.tsx +12 -12
  48. package/src/components/ApiInit.tsx +3 -3
  49. package/src/connectRpc/utils.ts +4 -4
  50. package/src/getEntryGatewayUrl.ts +2 -2
  51. package/src/getWebSocketUrl.ts +2 -2
  52. package/src/hooks/useIsSessionInitialized.ts +1 -1
  53. package/src/index.ts +68 -66
  54. package/src/provideDeviceIdService.ts +3 -3
  55. package/src/provideLuxIdentifierService.ts +2 -25
  56. package/src/provideSessionService.native.ts +7 -7
  57. package/src/provideSessionService.ts +3 -3
  58. package/src/provideSessionService.web.ts +12 -12
  59. package/src/provideSessionStorage.ts +3 -3
  60. package/src/provideUniswapIdentifierService.ts +25 -0
  61. package/src/session/createSessionTransport.test.ts +2 -2
  62. package/src/session/createSessionTransport.ts +6 -6
  63. package/src/session/createWithSessionRetry.ts +1 -1
  64. package/src/session/index.ts +1 -1
  65. package/src/storage/createExtensionStorageDriver.ts +1 -1
  66. package/src/storage/createNativeStorageDriver.ts +1 -1
  67. package/src/storage/createWebStorageDriver.ts +1 -1
  68. package/src/storage/getStorageDriver.native.ts +2 -2
  69. package/src/storage/getStorageDriver.ts +2 -2
  70. package/src/storage/getStorageDriver.web.ts +3 -3
  71. package/src/transport.ts +2 -2
  72. package/stubs/privy-service-connect.d.ts +1 -1
  73. package/stubs/privy-service-pb.d.ts +1 -1
  74. package/tsconfig.json +12 -4
  75. package/dist/client.d.ts +0 -22
  76. package/dist/client.d.ts.map +0 -1
  77. package/dist/client.js +0 -56
  78. package/dist/hooks/index.d.ts +0 -6
  79. package/dist/hooks/index.d.ts.map +0 -1
  80. package/dist/hooks/index.js +0 -5
  81. package/dist/hooks/use-token-list.d.ts +0 -22
  82. package/dist/hooks/use-token-list.d.ts.map +0 -1
  83. package/dist/hooks/use-token-list.js +0 -27
  84. package/dist/hooks/use-token-price.d.ts +0 -15
  85. package/dist/hooks/use-token-price.d.ts.map +0 -1
  86. package/dist/hooks/use-token-price.js +0 -63
  87. package/dist/index.d.ts +0 -6
  88. package/dist/index.d.ts.map +0 -1
  89. package/dist/index.js +0 -5
  90. package/src/client.ts +0 -66
  91. package/src/clients/graphql/__generated__/operations.ts +0 -605
  92. package/src/clients/graphql/__generated__/react-hooks.ts +0 -4245
  93. package/src/clients/graphql/__generated__/resolvers.ts +0 -1469
  94. package/src/clients/graphql/__generated__/schema-types.ts +0 -2099
  95. package/src/clients/trading/__generated__/core/ApiError.ts +0 -25
  96. package/src/clients/trading/__generated__/core/ApiRequestOptions.ts +0 -17
  97. package/src/clients/trading/__generated__/core/ApiResult.ts +0 -11
  98. package/src/clients/trading/__generated__/core/CancelablePromise.ts +0 -131
  99. package/src/clients/trading/__generated__/core/OpenAPI.ts +0 -32
  100. package/src/clients/trading/__generated__/core/request.ts +0 -322
  101. package/src/clients/trading/__generated__/index.ts +0 -221
  102. package/src/clients/trading/__generated__/models/Address.ts +0 -5
  103. package/src/clients/trading/__generated__/models/AggregatedOutput.ts +0 -20
  104. package/src/clients/trading/__generated__/models/ApprovalRequest.ts +0 -25
  105. package/src/clients/trading/__generated__/models/ApprovalResponse.ts +0 -18
  106. package/src/clients/trading/__generated__/models/AutoSlippage.ts +0 -14
  107. package/src/clients/trading/__generated__/models/BridgeQuote.ts +0 -55
  108. package/src/clients/trading/__generated__/models/ChainDelegationMap.ts +0 -9
  109. package/src/clients/trading/__generated__/models/ChainId.ts +0 -29
  110. package/src/clients/trading/__generated__/models/ChainedQuote.ts +0 -63
  111. package/src/clients/trading/__generated__/models/CheckApprovalLPRequest.ts +0 -35
  112. package/src/clients/trading/__generated__/models/CheckApprovalLPResponse.ts +0 -29
  113. package/src/clients/trading/__generated__/models/ClaimLPFeesRequest.ts +0 -20
  114. package/src/clients/trading/__generated__/models/ClaimLPFeesResponse.ts +0 -13
  115. package/src/clients/trading/__generated__/models/ClaimLPRewardsRequest.ts +0 -19
  116. package/src/clients/trading/__generated__/models/ClaimLPRewardsResponse.ts +0 -13
  117. package/src/clients/trading/__generated__/models/ClassicGasUseEstimateUSD.ts +0 -8
  118. package/src/clients/trading/__generated__/models/ClassicInput.ts +0 -11
  119. package/src/clients/trading/__generated__/models/ClassicOutput.ts +0 -13
  120. package/src/clients/trading/__generated__/models/ClassicQuote.ts +0 -69
  121. package/src/clients/trading/__generated__/models/ClientContext.ts +0 -18
  122. package/src/clients/trading/__generated__/models/CosignerData.ts +0 -21
  123. package/src/clients/trading/__generated__/models/CreateLPPositionRequest.ts +0 -40
  124. package/src/clients/trading/__generated__/models/CreateLPPositionResponse.ts +0 -21
  125. package/src/clients/trading/__generated__/models/CreatePlanRequest.ts +0 -23
  126. package/src/clients/trading/__generated__/models/CreateSendRequest.ts +0 -22
  127. package/src/clients/trading/__generated__/models/CreateSendResponse.ts +0 -18
  128. package/src/clients/trading/__generated__/models/CreateSwap5792Request.ts +0 -17
  129. package/src/clients/trading/__generated__/models/CreateSwap5792Response.ts +0 -17
  130. package/src/clients/trading/__generated__/models/CreateSwap7702Request.ts +0 -21
  131. package/src/clients/trading/__generated__/models/CreateSwap7702Response.ts +0 -13
  132. package/src/clients/trading/__generated__/models/CreateSwapRequest.ts +0 -42
  133. package/src/clients/trading/__generated__/models/CreateSwapResponse.ts +0 -16
  134. package/src/clients/trading/__generated__/models/Curve.ts +0 -9
  135. package/src/clients/trading/__generated__/models/DEXOrder.ts +0 -35
  136. package/src/clients/trading/__generated__/models/DecreaseLPPositionRequest.ts +0 -33
  137. package/src/clients/trading/__generated__/models/DecreaseLPPositionResponse.ts +0 -19
  138. package/src/clients/trading/__generated__/models/DelegationDetails.ts +0 -19
  139. package/src/clients/trading/__generated__/models/Distributor.ts +0 -10
  140. package/src/clients/trading/__generated__/models/DutchInput.ts +0 -13
  141. package/src/clients/trading/__generated__/models/DutchInputV3.ts +0 -15
  142. package/src/clients/trading/__generated__/models/DutchOrderInfo.ts +0 -41
  143. package/src/clients/trading/__generated__/models/DutchOrderInfoV2.ts +0 -27
  144. package/src/clients/trading/__generated__/models/DutchOrderInfoV3.ts +0 -28
  145. package/src/clients/trading/__generated__/models/DutchOutput.ts +0 -15
  146. package/src/clients/trading/__generated__/models/DutchOutputV3.ts +0 -18
  147. package/src/clients/trading/__generated__/models/DutchQuote.ts +0 -27
  148. package/src/clients/trading/__generated__/models/DutchQuoteV2.ts +0 -28
  149. package/src/clients/trading/__generated__/models/DutchQuoteV3.ts +0 -30
  150. package/src/clients/trading/__generated__/models/Encode7702ResponseBody.ts +0 -11
  151. package/src/clients/trading/__generated__/models/Err400.ts +0 -9
  152. package/src/clients/trading/__generated__/models/Err401.ts +0 -9
  153. package/src/clients/trading/__generated__/models/Err404.ts +0 -17
  154. package/src/clients/trading/__generated__/models/Err422.ts +0 -9
  155. package/src/clients/trading/__generated__/models/Err429.ts +0 -9
  156. package/src/clients/trading/__generated__/models/Err500.ts +0 -9
  157. package/src/clients/trading/__generated__/models/Err504.ts +0 -9
  158. package/src/clients/trading/__generated__/models/GasStrategy.ts +0 -46
  159. package/src/clients/trading/__generated__/models/GetOrdersResponse.ts +0 -12
  160. package/src/clients/trading/__generated__/models/GetSwappableTokensResponse.ts +0 -29
  161. package/src/clients/trading/__generated__/models/GetSwapsResponse.ts +0 -18
  162. package/src/clients/trading/__generated__/models/HooksOptions.ts +0 -12
  163. package/src/clients/trading/__generated__/models/IncreaseLPPositionRequest.ts +0 -39
  164. package/src/clients/trading/__generated__/models/IncreaseLPPositionResponse.ts +0 -21
  165. package/src/clients/trading/__generated__/models/IndependentToken.ts +0 -8
  166. package/src/clients/trading/__generated__/models/IndicativeQuoteRequest.ts +0 -18
  167. package/src/clients/trading/__generated__/models/IndicativeQuoteResponse.ts +0 -14
  168. package/src/clients/trading/__generated__/models/IndicativeQuoteToken.ts +0 -13
  169. package/src/clients/trading/__generated__/models/LimitOrderQuoteRequest.ts +0 -22
  170. package/src/clients/trading/__generated__/models/LimitOrderQuoteResponse.ts +0 -19
  171. package/src/clients/trading/__generated__/models/MigrateLPPositionRequest.ts +0 -41
  172. package/src/clients/trading/__generated__/models/MigrateLPPositionResponse.ts +0 -13
  173. package/src/clients/trading/__generated__/models/NullablePermit.ts +0 -13
  174. package/src/clients/trading/__generated__/models/OrderIds.ts +0 -5
  175. package/src/clients/trading/__generated__/models/OrderInput.ts +0 -13
  176. package/src/clients/trading/__generated__/models/OrderOutput.ts +0 -16
  177. package/src/clients/trading/__generated__/models/OrderRequest.ts +0 -17
  178. package/src/clients/trading/__generated__/models/OrderResponse.ts +0 -13
  179. package/src/clients/trading/__generated__/models/OrderStatus.ts +0 -23
  180. package/src/clients/trading/__generated__/models/OrderType.ts +0 -11
  181. package/src/clients/trading/__generated__/models/OrderTypeQuery.ts +0 -12
  182. package/src/clients/trading/__generated__/models/Permit.ts +0 -13
  183. package/src/clients/trading/__generated__/models/PermitAmount.ts +0 -11
  184. package/src/clients/trading/__generated__/models/PlanResponse.ts +0 -75
  185. package/src/clients/trading/__generated__/models/PlanStatus.ts +0 -14
  186. package/src/clients/trading/__generated__/models/PlanStep.ts +0 -59
  187. package/src/clients/trading/__generated__/models/PlanStepMethod.ts +0 -12
  188. package/src/clients/trading/__generated__/models/PlanStepPayloadType.ts +0 -12
  189. package/src/clients/trading/__generated__/models/PlanStepProof.ts +0 -20
  190. package/src/clients/trading/__generated__/models/PlanStepStatus.ts +0 -14
  191. package/src/clients/trading/__generated__/models/PlanStepType.ts +0 -23
  192. package/src/clients/trading/__generated__/models/Pool.ts +0 -15
  193. package/src/clients/trading/__generated__/models/PoolInfoRequest.ts +0 -20
  194. package/src/clients/trading/__generated__/models/PoolInfoResponse.ts +0 -16
  195. package/src/clients/trading/__generated__/models/PoolInformation.ts +0 -44
  196. package/src/clients/trading/__generated__/models/PoolParameters.ts +0 -19
  197. package/src/clients/trading/__generated__/models/PoolReferenceByProtocol.ts +0 -12
  198. package/src/clients/trading/__generated__/models/Position.ts +0 -11
  199. package/src/clients/trading/__generated__/models/PriorityInput.ts +0 -12
  200. package/src/clients/trading/__generated__/models/PriorityOrderInfo.ts +0 -29
  201. package/src/clients/trading/__generated__/models/PriorityOutput.ts +0 -17
  202. package/src/clients/trading/__generated__/models/PriorityQuote.ts +0 -31
  203. package/src/clients/trading/__generated__/models/ProtocolItems.ts +0 -15
  204. package/src/clients/trading/__generated__/models/Protocols.ts +0 -9
  205. package/src/clients/trading/__generated__/models/Quote.ts +0 -14
  206. package/src/clients/trading/__generated__/models/QuoteRequest.ts +0 -41
  207. package/src/clients/trading/__generated__/models/QuoteResponse.ts +0 -19
  208. package/src/clients/trading/__generated__/models/RequestId.ts +0 -8
  209. package/src/clients/trading/__generated__/models/Routing.ts +0 -20
  210. package/src/clients/trading/__generated__/models/RoutingPreference.ts +0 -16
  211. package/src/clients/trading/__generated__/models/SafetyLevel.ts +0 -10
  212. package/src/clients/trading/__generated__/models/ScopeData.ts +0 -28
  213. package/src/clients/trading/__generated__/models/SettledAmount.ts +0 -14
  214. package/src/clients/trading/__generated__/models/SortKey.ts +0 -7
  215. package/src/clients/trading/__generated__/models/SpreadOptimization.ts +0 -11
  216. package/src/clients/trading/__generated__/models/StepUpdate.ts +0 -25
  217. package/src/clients/trading/__generated__/models/SwapSafetyMode.ts +0 -10
  218. package/src/clients/trading/__generated__/models/SwapStatus.ts +0 -11
  219. package/src/clients/trading/__generated__/models/TokenInRoute.ts +0 -20
  220. package/src/clients/trading/__generated__/models/TokenProject.ts +0 -13
  221. package/src/clients/trading/__generated__/models/TokenProjectLogo.ts +0 -8
  222. package/src/clients/trading/__generated__/models/TradeType.ts +0 -11
  223. package/src/clients/trading/__generated__/models/TransactionFailureReason.ts +0 -11
  224. package/src/clients/trading/__generated__/models/TransactionHash.ts +0 -8
  225. package/src/clients/trading/__generated__/models/TransactionRequest.ts +0 -29
  226. package/src/clients/trading/__generated__/models/TransactionRequest5792.ts +0 -25
  227. package/src/clients/trading/__generated__/models/TruncatedPlanStep.ts +0 -21
  228. package/src/clients/trading/__generated__/models/UniversalRouterVersion.ts +0 -8
  229. package/src/clients/trading/__generated__/models/UpdatePlanRequest.ts +0 -12
  230. package/src/clients/trading/__generated__/models/Urgency.ts +0 -12
  231. package/src/clients/trading/__generated__/models/V2PoolInRoute.ts +0 -19
  232. package/src/clients/trading/__generated__/models/V2Reserve.ts +0 -16
  233. package/src/clients/trading/__generated__/models/V3PoolInRoute.ts +0 -24
  234. package/src/clients/trading/__generated__/models/V4PoolInRoute.ts +0 -30
  235. package/src/clients/trading/__generated__/models/WalletCheckDelegationRequestBody.ts +0 -17
  236. package/src/clients/trading/__generated__/models/WalletCheckDelegationResponseBody.ts +0 -14
  237. package/src/clients/trading/__generated__/models/WalletEncode7702RequestBody.ts +0 -21
  238. package/src/clients/trading/__generated__/models/WalletExecutionContext.ts +0 -17
  239. package/src/clients/trading/__generated__/models/WalletInfo.ts +0 -22
  240. package/src/clients/trading/__generated__/models/WalletProperties.ts +0 -12
  241. package/src/clients/trading/__generated__/models/WrapUnwrapQuote.ts +0 -31
  242. package/src/clients/trading/__generated__/models/additionalValidationContract.ts +0 -9
  243. package/src/clients/trading/__generated__/models/additionalValidationData.ts +0 -9
  244. package/src/clients/trading/__generated__/models/bps.ts +0 -8
  245. package/src/clients/trading/__generated__/models/bpsFee.ts +0 -8
  246. package/src/clients/trading/__generated__/models/bridgeTokenInChainIdParam.ts +0 -6
  247. package/src/clients/trading/__generated__/models/chainIdParam.ts +0 -6
  248. package/src/clients/trading/__generated__/models/claimerWalletAddress.ts +0 -8
  249. package/src/clients/trading/__generated__/models/contractAddress.ts +0 -8
  250. package/src/clients/trading/__generated__/models/cosignerAddress.ts +0 -8
  251. package/src/clients/trading/__generated__/models/cursorParam.ts +0 -5
  252. package/src/clients/trading/__generated__/models/deadline.ts +0 -8
  253. package/src/clients/trading/__generated__/models/encodedOrder.ts +0 -8
  254. package/src/clients/trading/__generated__/models/endAmount.ts +0 -8
  255. package/src/clients/trading/__generated__/models/erc20EthEnabledHeader.ts +0 -8
  256. package/src/clients/trading/__generated__/models/fillerParam.ts +0 -9
  257. package/src/clients/trading/__generated__/models/gasFee.ts +0 -8
  258. package/src/clients/trading/__generated__/models/gasFeeInCurrency.ts +0 -8
  259. package/src/clients/trading/__generated__/models/gasFeeUSD.ts +0 -8
  260. package/src/clients/trading/__generated__/models/gasLimit.ts +0 -8
  261. package/src/clients/trading/__generated__/models/gasPrice.ts +0 -8
  262. package/src/clients/trading/__generated__/models/generatePermitAsTransaction.ts +0 -8
  263. package/src/clients/trading/__generated__/models/includeGasInfo.ts +0 -8
  264. package/src/clients/trading/__generated__/models/inputToken.ts +0 -8
  265. package/src/clients/trading/__generated__/models/isSpam.ts +0 -8
  266. package/src/clients/trading/__generated__/models/limitParam.ts +0 -5
  267. package/src/clients/trading/__generated__/models/liquidity.ts +0 -8
  268. package/src/clients/trading/__generated__/models/lpPoolFee.ts +0 -8
  269. package/src/clients/trading/__generated__/models/lpTickCurrent.ts +0 -8
  270. package/src/clients/trading/__generated__/models/maxFeePerGas.ts +0 -8
  271. package/src/clients/trading/__generated__/models/maxPriorityFeePerGas.ts +0 -8
  272. package/src/clients/trading/__generated__/models/minAmount.ts +0 -8
  273. package/src/clients/trading/__generated__/models/nonce.ts +0 -8
  274. package/src/clients/trading/__generated__/models/orderId.ts +0 -8
  275. package/src/clients/trading/__generated__/models/orderIdParam.ts +0 -6
  276. package/src/clients/trading/__generated__/models/orderIdsParam.ts +0 -9
  277. package/src/clients/trading/__generated__/models/orderStatusParam.ts +0 -9
  278. package/src/clients/trading/__generated__/models/orderTypeParam.ts +0 -9
  279. package/src/clients/trading/__generated__/models/outputToken.ts +0 -8
  280. package/src/clients/trading/__generated__/models/poolFee.ts +0 -8
  281. package/src/clients/trading/__generated__/models/portionAmount.ts +0 -8
  282. package/src/clients/trading/__generated__/models/portionAmountReceiverAddress.ts +0 -8
  283. package/src/clients/trading/__generated__/models/portionBips.ts +0 -8
  284. package/src/clients/trading/__generated__/models/quoteId.ts +0 -8
  285. package/src/clients/trading/__generated__/models/receiverWalletAddress.ts +0 -8
  286. package/src/clients/trading/__generated__/models/senderWalletAddress.ts +0 -8
  287. package/src/clients/trading/__generated__/models/slippageTolerance.ts +0 -14
  288. package/src/clients/trading/__generated__/models/sortKeyParam.ts +0 -9
  289. package/src/clients/trading/__generated__/models/sortParam.ts +0 -8
  290. package/src/clients/trading/__generated__/models/sqrtRatioX96.ts +0 -8
  291. package/src/clients/trading/__generated__/models/startAmount.ts +0 -8
  292. package/src/clients/trading/__generated__/models/swapperParam.ts +0 -9
  293. package/src/clients/trading/__generated__/models/tickCurrent.ts +0 -8
  294. package/src/clients/trading/__generated__/models/tickSpacing.ts +0 -8
  295. package/src/clients/trading/__generated__/models/tokenAmount.ts +0 -8
  296. package/src/clients/trading/__generated__/models/tokenInParam.ts +0 -6
  297. package/src/clients/trading/__generated__/models/tokenSymbol.ts +0 -8
  298. package/src/clients/trading/__generated__/models/transactionHashesParam.ts +0 -9
  299. package/src/clients/trading/__generated__/models/universalRouterVersionHeader.ts +0 -9
  300. package/src/clients/trading/__generated__/services/ApprovalService.ts +0 -39
  301. package/src/clients/trading/__generated__/services/DefaultService.ts +0 -46
  302. package/src/clients/trading/__generated__/services/IndicativeQuoteService.ts +0 -39
  303. package/src/clients/trading/__generated__/services/LimitOrderQuoteService.ts +0 -37
  304. package/src/clients/trading/__generated__/services/LiquidityService.ts +0 -239
  305. package/src/clients/trading/__generated__/services/OrderService.ts +0 -131
  306. package/src/clients/trading/__generated__/services/PlanService.ts +0 -76
  307. package/src/clients/trading/__generated__/services/QuoteService.ts +0 -58
  308. package/src/clients/trading/__generated__/services/SendService.ts +0 -37
  309. package/src/clients/trading/__generated__/services/SwapService.ts +0 -161
  310. package/src/clients/trading/__generated__/services/SwappableTokensService.ts +0 -42
  311. package/src/clients/trading/__generated__/services/WalletCheckDelegationService.ts +0 -37
  312. package/src/clients/trading/__generated__/services/WalletEncode7702Service.ts +0 -37
  313. package/src/hooks/index.ts +0 -6
  314. package/src/hooks/use-token-list.ts +0 -52
  315. package/src/hooks/use-token-price.ts +0 -82
@@ -1,18 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { Curve } from './Curve';
6
- import type { minAmount } from './minAmount';
7
- import type { outputToken } from './outputToken';
8
- import type { receiverWalletAddress } from './receiverWalletAddress';
9
- import type { startAmount } from './startAmount';
10
- export type DutchOutputV3 = {
11
- startAmount: startAmount;
12
- minAmount?: minAmount;
13
- recipient: receiverWalletAddress;
14
- adjustmentPerGweiBaseFee: string;
15
- curve: Curve;
16
- token: outputToken;
17
- };
18
-
@@ -1,27 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { AggregatedOutput } from './AggregatedOutput';
6
- import type { ClassicGasUseEstimateUSD } from './ClassicGasUseEstimateUSD';
7
- import type { DutchOrderInfo } from './DutchOrderInfo';
8
- import type { encodedOrder } from './encodedOrder';
9
- import type { orderId } from './orderId';
10
- import type { portionAmount } from './portionAmount';
11
- import type { portionAmountReceiverAddress } from './portionAmountReceiverAddress';
12
- import type { portionBips } from './portionBips';
13
- import type { quoteId } from './quoteId';
14
- import type { slippageTolerance } from './slippageTolerance';
15
- export type DutchQuote = {
16
- encodedOrder: encodedOrder;
17
- orderId: orderId;
18
- orderInfo: DutchOrderInfo;
19
- portionBips?: portionBips;
20
- portionAmount?: portionAmount;
21
- portionRecipient?: portionAmountReceiverAddress;
22
- quoteId?: quoteId;
23
- slippageTolerance?: slippageTolerance;
24
- classicGasUseEstimateUSD?: ClassicGasUseEstimateUSD;
25
- aggregatedOutputs?: Array<AggregatedOutput>;
26
- };
27
-
@@ -1,28 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { AggregatedOutput } from './AggregatedOutput';
6
- import type { ClassicGasUseEstimateUSD } from './ClassicGasUseEstimateUSD';
7
- import type { DutchOrderInfoV2 } from './DutchOrderInfoV2';
8
- import type { encodedOrder } from './encodedOrder';
9
- import type { orderId } from './orderId';
10
- import type { portionAmount } from './portionAmount';
11
- import type { portionAmountReceiverAddress } from './portionAmountReceiverAddress';
12
- import type { portionBips } from './portionBips';
13
- import type { quoteId } from './quoteId';
14
- import type { slippageTolerance } from './slippageTolerance';
15
- export type DutchQuoteV2 = {
16
- encodedOrder: encodedOrder;
17
- orderId: orderId;
18
- orderInfo: DutchOrderInfoV2;
19
- portionBips?: portionBips;
20
- portionAmount?: portionAmount;
21
- portionRecipient?: portionAmountReceiverAddress;
22
- quoteId?: quoteId;
23
- slippageTolerance?: slippageTolerance;
24
- deadlineBufferSecs?: number;
25
- classicGasUseEstimateUSD?: ClassicGasUseEstimateUSD;
26
- aggregatedOutputs?: Array<AggregatedOutput>;
27
- };
28
-
@@ -1,30 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { AggregatedOutput } from './AggregatedOutput';
6
- import type { ClassicGasUseEstimateUSD } from './ClassicGasUseEstimateUSD';
7
- import type { DutchOrderInfoV3 } from './DutchOrderInfoV3';
8
- import type { encodedOrder } from './encodedOrder';
9
- import type { orderId } from './orderId';
10
- import type { portionAmount } from './portionAmount';
11
- import type { portionAmountReceiverAddress } from './portionAmountReceiverAddress';
12
- import type { portionBips } from './portionBips';
13
- import type { quoteId } from './quoteId';
14
- import type { slippageTolerance } from './slippageTolerance';
15
- export type DutchQuoteV3 = {
16
- encodedOrder: encodedOrder;
17
- orderId: orderId;
18
- orderInfo: DutchOrderInfoV3;
19
- portionBips?: portionBips;
20
- portionAmount?: portionAmount;
21
- portionRecipient?: portionAmountReceiverAddress;
22
- quoteId?: quoteId;
23
- slippageTolerance?: slippageTolerance;
24
- deadlineBufferSecs?: number;
25
- classicGasUseEstimateUSD?: ClassicGasUseEstimateUSD;
26
- expectedAmountIn?: string;
27
- expectedAmountOut?: string;
28
- aggregatedOutputs?: Array<AggregatedOutput>;
29
- };
30
-
@@ -1,11 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { RequestId } from './RequestId';
6
- import type { TransactionRequest } from './TransactionRequest';
7
- export type Encode7702ResponseBody = {
8
- requestId: RequestId;
9
- encoded: TransactionRequest;
10
- };
11
-
@@ -1,9 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type Err400 = {
6
- errorCode?: string;
7
- detail?: string;
8
- };
9
-
@@ -1,9 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type Err401 = {
6
- errorCode?: string;
7
- detail?: string;
8
- };
9
-
@@ -1,17 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type Err404 = {
6
- errorCode?: Err404.errorCode;
7
- detail?: string;
8
- };
9
- export namespace Err404 {
10
- export enum errorCode {
11
- RESOURCE_NOT_FOUND = 'ResourceNotFound',
12
- QUOTE_AMOUNT_TOO_LOW_ERROR = 'QuoteAmountTooLowError',
13
- TOKEN_BALANCE_NOT_AVAILABLE = 'TokenBalanceNotAvailable',
14
- INSUFFICIENT_BALANCE = 'InsufficientBalance',
15
- }
16
- }
17
-
@@ -1,9 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type Err422 = {
6
- errorCode?: string;
7
- detail?: string;
8
- };
9
-
@@ -1,9 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type Err429 = {
6
- errorCode?: string;
7
- detail?: string;
8
- };
9
-
@@ -1,9 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type Err500 = {
6
- errorCode?: string;
7
- detail?: string;
8
- };
9
-
@@ -1,9 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type Err504 = {
6
- errorCode?: string;
7
- detail?: string;
8
- };
9
-
@@ -1,46 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- /**
6
- * Gas strategy configuration for transaction fee estimation.
7
- */
8
- export type GasStrategy = {
9
- /**
10
- * Factor to inflate the gas limit estimate.
11
- */
12
- limitInflationFactor: number;
13
- /**
14
- * Factor to inflate the gas price estimate.
15
- */
16
- priceInflationFactor: number;
17
- /**
18
- * Percentile threshold for EIP-1559 fee calculation.
19
- */
20
- percentileThresholdFor1559Fee: number;
21
- /**
22
- * Threshold to inflate the last block base fee.
23
- */
24
- thresholdToInflateLastBlockBaseFee?: number;
25
- /**
26
- * Multiplier for the base fee.
27
- */
28
- baseFeeMultiplier?: number;
29
- /**
30
- * Number of blocks to consider for base fee history.
31
- */
32
- baseFeeHistoryWindow?: number;
33
- /**
34
- * Minimum priority fee as a ratio of base fee.
35
- */
36
- minPriorityFeeRatioOfBaseFee?: number;
37
- /**
38
- * Minimum priority fee in Gwei.
39
- */
40
- minPriorityFeeGwei?: number;
41
- /**
42
- * Maximum priority fee in Gwei.
43
- */
44
- maxPriorityFeeGwei?: number;
45
- };
46
-
@@ -1,12 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { DEXOrder } from './DEXOrder';
6
- import type { RequestId } from './RequestId';
7
- export type GetOrdersResponse = {
8
- requestId: RequestId;
9
- orders: Array<DEXOrder>;
10
- cursor?: string;
11
- };
12
-
@@ -1,29 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { Address } from './Address';
6
- import type { ChainId } from './ChainId';
7
- import type { isSpam } from './isSpam';
8
- import type { RequestId } from './RequestId';
9
- import type { TokenProject } from './TokenProject';
10
- import type { tokenSymbol } from './tokenSymbol';
11
- export type GetSwappableTokensResponse = {
12
- requestId: RequestId;
13
- tokens: Array<{
14
- address: Address;
15
- chainId: ChainId;
16
- /**
17
- * The name of the token.
18
- */
19
- name: string;
20
- symbol: tokenSymbol;
21
- project: TokenProject;
22
- isSpam?: isSpam;
23
- /**
24
- * The number of decimals supported by the token. This number is used to convert token amounts to the token's common representation.
25
- */
26
- decimals: number;
27
- }>;
28
- };
29
-
@@ -1,18 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { RequestId } from './RequestId';
6
- import type { Routing } from './Routing';
7
- import type { SwapStatus } from './SwapStatus';
8
- import type { TransactionHash } from './TransactionHash';
9
- export type GetSwapsResponse = {
10
- requestId: RequestId;
11
- swaps?: Array<{
12
- swapType?: Routing;
13
- status?: SwapStatus;
14
- txHash?: TransactionHash;
15
- swapId?: string;
16
- }>;
17
- };
18
-
@@ -1,12 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- /**
6
- * The hook options to use for V4 pool quotes. `V4_HOOKS_INCLUSIVE` will get quotes for V4 pools with or without hooks. `V4_HOOKS_ONLY` will only get quotes for V4 pools with hooks. `V4_NO_HOOKS` will only get quotes for V4 pools without hooks. Defaults to `V4_HOOKS_INCLUSIVE` if `V4` is included in `protocols` and `hookOptions` is not set. This field is ignored if `V4` is not passed in `protocols`.
7
- */
8
- export enum HooksOptions {
9
- V4_HOOKS_INCLUSIVE = 'V4_HOOKS_INCLUSIVE',
10
- V4_HOOKS_ONLY = 'V4_HOOKS_ONLY',
11
- V4_NO_HOOKS = 'V4_NO_HOOKS',
12
- }
@@ -1,39 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { Address } from './Address';
6
- import type { ChainId } from './ChainId';
7
- import type { deadline } from './deadline';
8
- import type { IndependentToken } from './IndependentToken';
9
- import type { liquidity } from './liquidity';
10
- import type { lpTickCurrent } from './lpTickCurrent';
11
- import type { Permit } from './Permit';
12
- import type { Position } from './Position';
13
- import type { ProtocolItems } from './ProtocolItems';
14
- import type { sqrtRatioX96 } from './sqrtRatioX96';
15
- import type { tokenAmount } from './tokenAmount';
16
- export type IncreaseLPPositionRequest = {
17
- protocol?: ProtocolItems;
18
- tokenId?: number;
19
- position?: Position;
20
- poolLiquidity?: liquidity;
21
- currentTick?: lpTickCurrent;
22
- sqrtRatioX96?: sqrtRatioX96;
23
- walletAddress?: Address;
24
- chainId?: ChainId;
25
- amount0?: tokenAmount;
26
- amount1?: tokenAmount;
27
- independentAmount?: tokenAmount;
28
- independentToken?: IndependentToken;
29
- defaultDependentAmount?: tokenAmount;
30
- slippageTolerance?: number;
31
- deadline?: deadline;
32
- /**
33
- * The signed permit.
34
- */
35
- signature?: string;
36
- batchPermitData?: Permit;
37
- simulateTransaction?: boolean;
38
- };
39
-
@@ -1,21 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { gasFee } from './gasFee';
6
- import type { liquidity } from './liquidity';
7
- import type { lpTickCurrent } from './lpTickCurrent';
8
- import type { RequestId } from './RequestId';
9
- import type { sqrtRatioX96 } from './sqrtRatioX96';
10
- import type { tokenAmount } from './tokenAmount';
11
- import type { TransactionRequest } from './TransactionRequest';
12
- export type IncreaseLPPositionResponse = {
13
- requestId?: RequestId;
14
- increase?: TransactionRequest;
15
- gasFee?: gasFee;
16
- dependentAmount?: tokenAmount;
17
- poolLiquidity?: liquidity;
18
- currentTick?: lpTickCurrent;
19
- sqrtRatioX96?: sqrtRatioX96;
20
- };
21
-
@@ -1,8 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export enum IndependentToken {
6
- TOKEN_0 = 'TOKEN_0',
7
- TOKEN_1 = 'TOKEN_1',
8
- }
@@ -1,18 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { ChainId } from './ChainId';
6
- import type { inputToken } from './inputToken';
7
- import type { outputToken } from './outputToken';
8
- import type { tokenAmount } from './tokenAmount';
9
- import type { TradeType } from './TradeType';
10
- export type IndicativeQuoteRequest = {
11
- type: TradeType;
12
- amount: tokenAmount;
13
- tokenInChainId: ChainId;
14
- tokenOutChainId: ChainId;
15
- tokenIn: inputToken;
16
- tokenOut: outputToken;
17
- };
18
-
@@ -1,14 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { IndicativeQuoteToken } from './IndicativeQuoteToken';
6
- import type { RequestId } from './RequestId';
7
- import type { TradeType } from './TradeType';
8
- export type IndicativeQuoteResponse = {
9
- requestId: RequestId;
10
- input: IndicativeQuoteToken;
11
- output: IndicativeQuoteToken;
12
- type: TradeType;
13
- };
14
-
@@ -1,13 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { Address } from './Address';
6
- import type { ChainId } from './ChainId';
7
- import type { tokenAmount } from './tokenAmount';
8
- export type IndicativeQuoteToken = {
9
- amount?: tokenAmount;
10
- chainId?: ChainId;
11
- token?: Address;
12
- };
13
-
@@ -1,22 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { ChainId } from './ChainId';
6
- import type { inputToken } from './inputToken';
7
- import type { outputToken } from './outputToken';
8
- import type { receiverWalletAddress } from './receiverWalletAddress';
9
- import type { tokenAmount } from './tokenAmount';
10
- import type { TradeType } from './TradeType';
11
- export type LimitOrderQuoteRequest = {
12
- swapper: receiverWalletAddress;
13
- limitPrice?: string;
14
- amount: tokenAmount;
15
- orderDeadline?: number;
16
- type: TradeType;
17
- tokenIn: inputToken;
18
- tokenOut: outputToken;
19
- tokenInChainId: ChainId;
20
- tokenOutChainId: ChainId;
21
- };
22
-
@@ -1,19 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { DutchQuote } from './DutchQuote';
6
- import type { NullablePermit } from './NullablePermit';
7
- import type { RequestId } from './RequestId';
8
- export type LimitOrderQuoteResponse = {
9
- requestId: RequestId;
10
- quote: DutchQuote;
11
- routing: LimitOrderQuoteResponse.routing;
12
- permitData: NullablePermit;
13
- };
14
- export namespace LimitOrderQuoteResponse {
15
- export enum routing {
16
- LIMIT_ORDER = 'LIMIT_ORDER',
17
- }
18
- }
19
-
@@ -1,41 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { Address } from './Address';
6
- import type { ChainId } from './ChainId';
7
- import type { deadline } from './deadline';
8
- import type { liquidity } from './liquidity';
9
- import type { lpTickCurrent } from './lpTickCurrent';
10
- import type { Position } from './Position';
11
- import type { ProtocolItems } from './ProtocolItems';
12
- import type { slippageTolerance } from './slippageTolerance';
13
- import type { sqrtRatioX96 } from './sqrtRatioX96';
14
- import type { tokenAmount } from './tokenAmount';
15
- export type MigrateLPPositionRequest = {
16
- tokenId: number;
17
- walletAddress: Address;
18
- chainId: ChainId;
19
- inputProtocol: ProtocolItems;
20
- inputPosition: Position;
21
- inputPoolLiquidity: liquidity;
22
- inputCurrentTick: lpTickCurrent;
23
- inputSqrtRatioX96: sqrtRatioX96;
24
- inputPositionLiquidity: liquidity;
25
- signature?: string;
26
- amount0: tokenAmount;
27
- amount1: tokenAmount;
28
- outputProtocol: ProtocolItems;
29
- outputPosition: Position;
30
- initialPrice?: string;
31
- outputPoolLiquidity?: liquidity;
32
- outputCurrentTick?: lpTickCurrent;
33
- outputSqrtRatioX96?: sqrtRatioX96;
34
- expectedTokenOwed0RawAmount: string;
35
- expectedTokenOwed1RawAmount: string;
36
- slippageTolerance?: slippageTolerance;
37
- deadline?: deadline;
38
- signatureDeadline?: number;
39
- simulateTransaction?: boolean;
40
- };
41
-
@@ -1,13 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { gasFee } from './gasFee';
6
- import type { RequestId } from './RequestId';
7
- import type { TransactionRequest } from './TransactionRequest';
8
- export type MigrateLPPositionResponse = {
9
- requestId?: RequestId;
10
- migrate?: TransactionRequest;
11
- gasFee?: gasFee;
12
- };
13
-
@@ -1,13 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- /**
6
- * the permit2 message object for the customer to sign to permit spending by the permit2 contract.
7
- */
8
- export type NullablePermit = {
9
- domain?: Record<string, any>;
10
- values?: Record<string, any>;
11
- types?: Record<string, any>;
12
- } | null;
13
-
@@ -1,5 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type OrderIds = string;
@@ -1,13 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { endAmount } from './endAmount';
6
- import type { inputToken } from './inputToken';
7
- import type { startAmount } from './startAmount';
8
- export type OrderInput = {
9
- token: inputToken;
10
- startAmount?: startAmount;
11
- endAmount?: endAmount;
12
- };
13
-
@@ -1,16 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { endAmount } from './endAmount';
6
- import type { outputToken } from './outputToken';
7
- import type { receiverWalletAddress } from './receiverWalletAddress';
8
- import type { startAmount } from './startAmount';
9
- export type OrderOutput = {
10
- token: outputToken;
11
- startAmount?: startAmount;
12
- endAmount?: endAmount;
13
- isFeeOutput?: boolean;
14
- recipient?: receiverWalletAddress;
15
- };
16
-
@@ -1,17 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { DutchQuoteV2 } from './DutchQuoteV2';
6
- import type { DutchQuoteV3 } from './DutchQuoteV3';
7
- import type { PriorityQuote } from './PriorityQuote';
8
- import type { Routing } from './Routing';
9
- export type OrderRequest = {
10
- /**
11
- * The signed permit.
12
- */
13
- signature: string;
14
- quote: (DutchQuoteV2 | DutchQuoteV3 | PriorityQuote);
15
- routing?: Routing;
16
- };
17
-
@@ -1,13 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { orderId } from './orderId';
6
- import type { OrderStatus } from './OrderStatus';
7
- import type { RequestId } from './RequestId';
8
- export type OrderResponse = {
9
- requestId: RequestId;
10
- orderId: orderId;
11
- orderStatus: OrderStatus;
12
- };
13
-