diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index 4458a4d9..443b1006 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 4d5fad1e2ba72d78a45fdbafbf060cdd748c8eba +# sequence-api v0.4.0 81d003bbd16a8b66d53aa36df83b905f6a855ad6 # -- # Code generated by webrpc-gen@v0.31.0 with openapi generator; DO NOT EDIT # @@ -1056,83 +1056,6 @@ components: type: string input: type: string - Call: - type: object - required: - - to - properties: - to: - type: string - value: - type: string - data: - type: string - gasLimit: - type: string - delegateCall: - type: boolean - onlyFallback: - type: boolean - behaviorOnError: - type: number - IntentCallsPayload: - type: object - required: - - chainId - - calls - properties: - chainId: - type: string - space: - type: string - nonce: - type: string - calls: - type: array - description: '[]Call' - items: - $ref: '#/components/schemas/Call' - IntentConfig: - type: object - required: - - id - - configHash - - originIntentAddress - - destinationIntentAddress - - mainSigner - - calls - - preconditions - properties: - id: - type: number - configHash: - type: string - originIntentAddress: - type: string - destinationIntentAddress: - type: string - mainSigner: - type: string - calls: - type: array - description: '[]IntentCallsPayload' - items: - $ref: '#/components/schemas/IntentCallsPayload' - preconditions: - type: array - description: '[]IntentPrecondition' - items: - $ref: '#/components/schemas/IntentPrecondition' - executionStatus: - type: string - metaTxnId: - type: string - txnHash: - type: string - updatedAt: - type: string - createdAt: - type: string MetaTxnReceipt: type: object required: @@ -1228,54 +1151,6 @@ components: type: string value: type: object - AddressOverrides: - type: object - properties: - trailsLiFiSapientSignerAddress: - type: string - trailsRelaySapientSignerAddress: - type: string - trailsCCTPV2SapientSignerAddress: - type: string - TakerFee: - type: object - required: - - address - - bps - properties: - address: - type: string - bps: - type: number - OriginCall: - type: object - required: - - chainId - - to - - transactionData - - transactionValue - properties: - chainId: - type: number - to: - type: string - transactionData: - type: string - transactionValue: - type: string - IntentPrecondition: - type: object - required: - - type - - chainId - - data - properties: - type: - type: string - chainId: - type: string - data: - type: object UserStorage: type: object required: @@ -1602,37 +1477,6 @@ components: type: string deletedAt: type: string - CCTPTransfer: - type: object - required: - - id - - sourceTxHash - - sourceChainId - - destinationChainId - - message - - attestation - - status - - createdAt - - updatedAt - properties: - id: - type: string - sourceTxHash: - type: string - sourceChainId: - type: number - destinationChainId: - type: number - message: - type: string - attestation: - type: string - status: - type: string - createdAt: - type: string - updatedAt: - type: string OffchainPayment: type: object required: @@ -2567,72 +2411,6 @@ components: description: '[]ChainExecuteQuote' items: $ref: '#/components/schemas/ChainExecuteQuote' - TrailsFee: - type: object - required: - - executeQuote - - trailsFixedFeeUSD - properties: - executeQuote: - $ref: '#/components/schemas/ExecuteQuote' - crossChainFee: - $ref: '#/components/schemas/CrossChainFee' - takerFeeAmount: - type: string - takerFeeUSD: - type: number - trailsFixedFeeUSD: - type: number - feeToken: - type: string - originTokenTotalAmount: - type: string - totalFeeAmount: - type: string - totalFeeUSD: - type: string - quoteProvider: - type: string - IntentQuote: - type: object - required: - - fromAmount - - fromAmountMin - - toAmount - - toAmountMin - - priceImpact - - priceImpactUsd - - maxSlippage - - quoteProvider - - quoteProviderRequestId - - quoteProviderFeeUsd - - feeQuotes - properties: - fromAmount: - type: string - fromAmountMin: - type: string - toAmount: - type: string - toAmountMin: - type: string - priceImpact: - type: number - priceImpactUsd: - type: string - maxSlippage: - type: number - quoteProvider: - type: string - quoteProviderRequestId: - type: string - quoteProviderFeeUsd: - type: string - feeQuotes: - type: object - description: 'map' - additionalProperties: - type: string API_IsValidSignature_Request: type: object properties: @@ -2738,44 +2516,6 @@ components: properties: params: $ref: '#/components/schemas/GetLifiSwapQuoteParams' - API_GetCCTPTransfer_Request: - type: object - properties: - id: - type: string - API_QueueCCTPTransfer_Request: - type: object - properties: - sourceTxHash: - type: string - metaTxHash: - type: string - sourceChainId: - type: number - destinationChainId: - type: number - API_QueueIntentConfigExecution_Request: - type: object - properties: - intentConfigId: - type: number - API_GetIntentConfigExecutionStatus_Request: - type: object - properties: - intentConfigId: - type: number - API_ListIntentConfigs_Request: - type: object - properties: - page: - $ref: '#/components/schemas/Page' - executionStatus: - type: string - API_QueueMetaTxnReceipt_Request: - type: object - properties: - metaTxID: - type: string API_IsValidSignature_Response: type: object properties: @@ -2843,41 +2583,6 @@ components: properties: quote: $ref: '#/components/schemas/LifiSwapQuote' - API_GetCCTPTransfer_Response: - type: object - properties: - transfer: - $ref: '#/components/schemas/CCTPTransfer' - API_QueueCCTPTransfer_Response: - type: object - properties: - transfer: - $ref: '#/components/schemas/CCTPTransfer' - API_QueueIntentConfigExecution_Response: - type: object - properties: - status: - type: boolean - API_GetIntentConfigExecutionStatus_Response: - type: object - properties: - executionStatus: - type: string - API_ListIntentConfigs_Response: - type: object - properties: - page: - $ref: '#/components/schemas/Page' - intentConfigs: - type: array - description: '[]IntentConfig' - items: - $ref: '#/components/schemas/IntentConfig' - API_QueueMetaTxnReceipt_Response: - type: object - properties: - status: - type: boolean paths: /rpc/API/IsValidSignature: post: @@ -3589,391 +3294,3 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - /rpc/API/GetCCTPTransfer: - post: - operationId: API-GetCCTPTransfer - tags: ["API"] - summary: "" - description: | - CCTP - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/API_GetCCTPTransfer_Request' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/API_GetCCTPTransfer_Response' - '4XX': - description: Client error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcEndpoint' - - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' - - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - - $ref: '#/components/schemas/ErrorUnauthorized' - - $ref: '#/components/schemas/ErrorPermissionDenied' - - $ref: '#/components/schemas/ErrorSessionExpired' - - $ref: '#/components/schemas/ErrorMethodNotFound' - - $ref: '#/components/schemas/ErrorRequestConflict' - - $ref: '#/components/schemas/ErrorAborted' - - $ref: '#/components/schemas/ErrorGeoblocked' - - $ref: '#/components/schemas/ErrorRateLimited' - - $ref: '#/components/schemas/ErrorProjectNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyMismatch' - - $ref: '#/components/schemas/ErrorInvalidOrigin' - - $ref: '#/components/schemas/ErrorInvalidService' - - $ref: '#/components/schemas/ErrorUnauthorizedUser' - - $ref: '#/components/schemas/ErrorQuotaExceeded' - - $ref: '#/components/schemas/ErrorQuotaRateLimit' - - $ref: '#/components/schemas/ErrorNoDefaultKey' - - $ref: '#/components/schemas/ErrorMaxAccessKeys' - - $ref: '#/components/schemas/ErrorAtLeastOneKey' - - $ref: '#/components/schemas/ErrorTimeout' - - $ref: '#/components/schemas/ErrorInvalidArgument' - - $ref: '#/components/schemas/ErrorUnavailable' - - $ref: '#/components/schemas/ErrorQueryFailed' - - $ref: '#/components/schemas/ErrorNotFound' - - $ref: '#/components/schemas/ErrorUnsupportedNetwork' - '5XX': - description: Server error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - - $ref: '#/components/schemas/ErrorWebrpcInternalError' - /rpc/API/QueueCCTPTransfer: - post: - operationId: API-QueueCCTPTransfer - tags: ["API"] - summary: "" - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/API_QueueCCTPTransfer_Request' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/API_QueueCCTPTransfer_Response' - '4XX': - description: Client error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcEndpoint' - - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' - - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - - $ref: '#/components/schemas/ErrorUnauthorized' - - $ref: '#/components/schemas/ErrorPermissionDenied' - - $ref: '#/components/schemas/ErrorSessionExpired' - - $ref: '#/components/schemas/ErrorMethodNotFound' - - $ref: '#/components/schemas/ErrorRequestConflict' - - $ref: '#/components/schemas/ErrorAborted' - - $ref: '#/components/schemas/ErrorGeoblocked' - - $ref: '#/components/schemas/ErrorRateLimited' - - $ref: '#/components/schemas/ErrorProjectNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyMismatch' - - $ref: '#/components/schemas/ErrorInvalidOrigin' - - $ref: '#/components/schemas/ErrorInvalidService' - - $ref: '#/components/schemas/ErrorUnauthorizedUser' - - $ref: '#/components/schemas/ErrorQuotaExceeded' - - $ref: '#/components/schemas/ErrorQuotaRateLimit' - - $ref: '#/components/schemas/ErrorNoDefaultKey' - - $ref: '#/components/schemas/ErrorMaxAccessKeys' - - $ref: '#/components/schemas/ErrorAtLeastOneKey' - - $ref: '#/components/schemas/ErrorTimeout' - - $ref: '#/components/schemas/ErrorInvalidArgument' - - $ref: '#/components/schemas/ErrorUnavailable' - - $ref: '#/components/schemas/ErrorQueryFailed' - - $ref: '#/components/schemas/ErrorNotFound' - - $ref: '#/components/schemas/ErrorUnsupportedNetwork' - '5XX': - description: Server error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - - $ref: '#/components/schemas/ErrorWebrpcInternalError' - /rpc/API/QueueIntentConfigExecution: - post: - operationId: API-QueueIntentConfigExecution - tags: ["API"] - summary: "" - description: | - Intent Machine Worker - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/API_QueueIntentConfigExecution_Request' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/API_QueueIntentConfigExecution_Response' - '4XX': - description: Client error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcEndpoint' - - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' - - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - - $ref: '#/components/schemas/ErrorUnauthorized' - - $ref: '#/components/schemas/ErrorPermissionDenied' - - $ref: '#/components/schemas/ErrorSessionExpired' - - $ref: '#/components/schemas/ErrorMethodNotFound' - - $ref: '#/components/schemas/ErrorRequestConflict' - - $ref: '#/components/schemas/ErrorAborted' - - $ref: '#/components/schemas/ErrorGeoblocked' - - $ref: '#/components/schemas/ErrorRateLimited' - - $ref: '#/components/schemas/ErrorProjectNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyMismatch' - - $ref: '#/components/schemas/ErrorInvalidOrigin' - - $ref: '#/components/schemas/ErrorInvalidService' - - $ref: '#/components/schemas/ErrorUnauthorizedUser' - - $ref: '#/components/schemas/ErrorQuotaExceeded' - - $ref: '#/components/schemas/ErrorQuotaRateLimit' - - $ref: '#/components/schemas/ErrorNoDefaultKey' - - $ref: '#/components/schemas/ErrorMaxAccessKeys' - - $ref: '#/components/schemas/ErrorAtLeastOneKey' - - $ref: '#/components/schemas/ErrorTimeout' - - $ref: '#/components/schemas/ErrorInvalidArgument' - - $ref: '#/components/schemas/ErrorUnavailable' - - $ref: '#/components/schemas/ErrorQueryFailed' - - $ref: '#/components/schemas/ErrorNotFound' - - $ref: '#/components/schemas/ErrorUnsupportedNetwork' - '5XX': - description: Server error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - - $ref: '#/components/schemas/ErrorWebrpcInternalError' - /rpc/API/GetIntentConfigExecutionStatus: - post: - operationId: API-GetIntentConfigExecutionStatus - tags: ["API"] - summary: "" - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/API_GetIntentConfigExecutionStatus_Request' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/API_GetIntentConfigExecutionStatus_Response' - '4XX': - description: Client error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcEndpoint' - - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' - - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - - $ref: '#/components/schemas/ErrorUnauthorized' - - $ref: '#/components/schemas/ErrorPermissionDenied' - - $ref: '#/components/schemas/ErrorSessionExpired' - - $ref: '#/components/schemas/ErrorMethodNotFound' - - $ref: '#/components/schemas/ErrorRequestConflict' - - $ref: '#/components/schemas/ErrorAborted' - - $ref: '#/components/schemas/ErrorGeoblocked' - - $ref: '#/components/schemas/ErrorRateLimited' - - $ref: '#/components/schemas/ErrorProjectNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyMismatch' - - $ref: '#/components/schemas/ErrorInvalidOrigin' - - $ref: '#/components/schemas/ErrorInvalidService' - - $ref: '#/components/schemas/ErrorUnauthorizedUser' - - $ref: '#/components/schemas/ErrorQuotaExceeded' - - $ref: '#/components/schemas/ErrorQuotaRateLimit' - - $ref: '#/components/schemas/ErrorNoDefaultKey' - - $ref: '#/components/schemas/ErrorMaxAccessKeys' - - $ref: '#/components/schemas/ErrorAtLeastOneKey' - - $ref: '#/components/schemas/ErrorTimeout' - - $ref: '#/components/schemas/ErrorInvalidArgument' - - $ref: '#/components/schemas/ErrorUnavailable' - - $ref: '#/components/schemas/ErrorQueryFailed' - - $ref: '#/components/schemas/ErrorNotFound' - - $ref: '#/components/schemas/ErrorUnsupportedNetwork' - '5XX': - description: Server error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - - $ref: '#/components/schemas/ErrorWebrpcInternalError' - /rpc/API/ListIntentConfigs: - post: - operationId: API-ListIntentConfigs - tags: ["API"] - summary: "" - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/API_ListIntentConfigs_Request' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/API_ListIntentConfigs_Response' - '4XX': - description: Client error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcEndpoint' - - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' - - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - - $ref: '#/components/schemas/ErrorUnauthorized' - - $ref: '#/components/schemas/ErrorPermissionDenied' - - $ref: '#/components/schemas/ErrorSessionExpired' - - $ref: '#/components/schemas/ErrorMethodNotFound' - - $ref: '#/components/schemas/ErrorRequestConflict' - - $ref: '#/components/schemas/ErrorAborted' - - $ref: '#/components/schemas/ErrorGeoblocked' - - $ref: '#/components/schemas/ErrorRateLimited' - - $ref: '#/components/schemas/ErrorProjectNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyMismatch' - - $ref: '#/components/schemas/ErrorInvalidOrigin' - - $ref: '#/components/schemas/ErrorInvalidService' - - $ref: '#/components/schemas/ErrorUnauthorizedUser' - - $ref: '#/components/schemas/ErrorQuotaExceeded' - - $ref: '#/components/schemas/ErrorQuotaRateLimit' - - $ref: '#/components/schemas/ErrorNoDefaultKey' - - $ref: '#/components/schemas/ErrorMaxAccessKeys' - - $ref: '#/components/schemas/ErrorAtLeastOneKey' - - $ref: '#/components/schemas/ErrorTimeout' - - $ref: '#/components/schemas/ErrorInvalidArgument' - - $ref: '#/components/schemas/ErrorUnavailable' - - $ref: '#/components/schemas/ErrorQueryFailed' - - $ref: '#/components/schemas/ErrorNotFound' - - $ref: '#/components/schemas/ErrorUnsupportedNetwork' - '5XX': - description: Server error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - - $ref: '#/components/schemas/ErrorWebrpcInternalError' - /rpc/API/QueueMetaTxnReceipt: - post: - operationId: API-QueueMetaTxnReceipt - tags: ["API"] - summary: "" - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/API_QueueMetaTxnReceipt_Request' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/API_QueueMetaTxnReceipt_Response' - '4XX': - description: Client error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcEndpoint' - - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' - - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - - $ref: '#/components/schemas/ErrorUnauthorized' - - $ref: '#/components/schemas/ErrorPermissionDenied' - - $ref: '#/components/schemas/ErrorSessionExpired' - - $ref: '#/components/schemas/ErrorMethodNotFound' - - $ref: '#/components/schemas/ErrorRequestConflict' - - $ref: '#/components/schemas/ErrorAborted' - - $ref: '#/components/schemas/ErrorGeoblocked' - - $ref: '#/components/schemas/ErrorRateLimited' - - $ref: '#/components/schemas/ErrorProjectNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyMismatch' - - $ref: '#/components/schemas/ErrorInvalidOrigin' - - $ref: '#/components/schemas/ErrorInvalidService' - - $ref: '#/components/schemas/ErrorUnauthorizedUser' - - $ref: '#/components/schemas/ErrorQuotaExceeded' - - $ref: '#/components/schemas/ErrorQuotaRateLimit' - - $ref: '#/components/schemas/ErrorNoDefaultKey' - - $ref: '#/components/schemas/ErrorMaxAccessKeys' - - $ref: '#/components/schemas/ErrorAtLeastOneKey' - - $ref: '#/components/schemas/ErrorTimeout' - - $ref: '#/components/schemas/ErrorInvalidArgument' - - $ref: '#/components/schemas/ErrorUnavailable' - - $ref: '#/components/schemas/ErrorQueryFailed' - - $ref: '#/components/schemas/ErrorNotFound' - - $ref: '#/components/schemas/ErrorUnsupportedNetwork' - '5XX': - description: Server error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - - $ref: '#/components/schemas/ErrorWebrpcInternalError'