Skip to content

Commit 0b7407c

Browse files
committed
[AUTOMATED] Update: api/proto/docs/api.gen.yaml
1 parent 7c52e30 commit 0b7407c

File tree

1 file changed

+261
-46
lines changed

1 file changed

+261
-46
lines changed

docs/pages/api/api/api.gen.yaml

Lines changed: 261 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# sequence-api v0.4.0 ff5dfa4f3b3ff9dfca0dff670949b5ed898307f6
1+
# sequence-api v0.4.0 d83adcfbb5b771a1c154413314fde41e50b9eedb
22
# --
33
# Code generated by [email protected] with openapi generator; DO NOT EDIT
44
#
@@ -847,6 +847,12 @@ components:
847847
- UNKNOWN
848848
- BUY
849849
- SELL
850+
TradeType:
851+
type: string
852+
description: Represented as string on the server side
853+
enum:
854+
- EXACT_INPUT
855+
- EXACT_OUTPUT
850856
CheckoutOptionCrypto:
851857
type: string
852858
description: Represented as uint32 on the server side
@@ -1049,6 +1055,96 @@ components:
10491055
$ref: '#/components/schemas/User'
10501056
createdAt:
10511057
type: string
1058+
MetaTxn:
1059+
type: object
1060+
required:
1061+
- id
1062+
- chainId
1063+
- walletAddress
1064+
- contract
1065+
- input
1066+
properties:
1067+
id:
1068+
type: string
1069+
chainId:
1070+
type: string
1071+
walletAddress:
1072+
type: string
1073+
contract:
1074+
type: string
1075+
input:
1076+
type: string
1077+
Call:
1078+
type: object
1079+
required:
1080+
- to
1081+
properties:
1082+
to:
1083+
type: string
1084+
value:
1085+
type: string
1086+
data:
1087+
type: string
1088+
gasLimit:
1089+
type: string
1090+
delegateCall:
1091+
type: boolean
1092+
onlyFallback:
1093+
type: boolean
1094+
behaviorOnError:
1095+
type: number
1096+
IntentCallsPayload:
1097+
type: object
1098+
required:
1099+
- chainId
1100+
- calls
1101+
properties:
1102+
chainId:
1103+
type: string
1104+
space:
1105+
type: string
1106+
nonce:
1107+
type: string
1108+
calls:
1109+
type: array
1110+
description: '[]Call'
1111+
items:
1112+
$ref: '#/components/schemas/Call'
1113+
IntentConfig:
1114+
type: object
1115+
required:
1116+
- id
1117+
- configHash
1118+
- originIntentAddress
1119+
- destinationIntentAddress
1120+
- mainSigner
1121+
- calls
1122+
- preconditions
1123+
properties:
1124+
id:
1125+
type: number
1126+
configHash:
1127+
type: string
1128+
originIntentAddress:
1129+
type: string
1130+
destinationIntentAddress:
1131+
type: string
1132+
mainSigner:
1133+
type: string
1134+
calls:
1135+
type: array
1136+
description: '[]IntentCallsPayload'
1137+
items:
1138+
$ref: '#/components/schemas/IntentCallsPayload'
1139+
preconditions:
1140+
type: array
1141+
description: '[]IntentPrecondition'
1142+
items:
1143+
$ref: '#/components/schemas/IntentPrecondition'
1144+
updatedAt:
1145+
type: string
1146+
createdAt:
1147+
type: string
10521148
InviteCode:
10531149
type: object
10541150
required:
@@ -1130,69 +1226,54 @@ components:
11301226
type: string
11311227
value:
11321228
type: object
1133-
IntentPrecondition:
1229+
AddressOverrides:
11341230
type: object
1135-
required:
1136-
- type
1137-
- chainID
1138-
- data
11391231
properties:
1140-
type:
1232+
trailsLiFiSapientSignerAddress:
11411233
type: string
1142-
chainID:
1234+
trailsRelaySapientSignerAddress:
11431235
type: string
1144-
data:
1145-
type: object
1146-
IntentSolution:
1236+
trailsCCTPV2SapientSignerAddress:
1237+
type: string
1238+
TakerFee:
11471239
type: object
11481240
required:
1149-
- transactions
1241+
- address
1242+
- bps
11501243
properties:
1151-
transactions:
1152-
type: array
1153-
description: '[]Transactions'
1154-
items:
1155-
$ref: '#/components/schemas/Transactions'
1156-
Transactions:
1244+
address:
1245+
type: string
1246+
bps:
1247+
type: number
1248+
OriginCall:
11571249
type: object
11581250
required:
1159-
- chainID
1160-
- transactions
1251+
- chainId
1252+
- to
1253+
- transactionData
1254+
- transactionValue
11611255
properties:
1162-
chainID:
1256+
chainId:
1257+
type: number
1258+
to:
11631259
type: string
1164-
transactions:
1165-
type: array
1166-
description: '[]Transaction'
1167-
items:
1168-
$ref: '#/components/schemas/Transaction'
1169-
preconditions:
1170-
type: array
1171-
description: '[]IntentPrecondition'
1172-
items:
1173-
$ref: '#/components/schemas/IntentPrecondition'
1174-
Transaction:
1260+
transactionData:
1261+
type: string
1262+
transactionValue:
1263+
type: string
1264+
IntentPrecondition:
11751265
type: object
11761266
required:
1177-
- delegateCall
1178-
- revertOnError
1179-
- gasLimit
1180-
- target
1181-
- value
1267+
- type
1268+
- chainId
11821269
- data
11831270
properties:
1184-
delegateCall:
1185-
type: boolean
1186-
revertOnError:
1187-
type: boolean
1188-
gasLimit:
1189-
type: string
1190-
target:
1271+
type:
11911272
type: string
1192-
value:
1273+
chainId:
11931274
type: string
11941275
data:
1195-
type: string
1276+
type: object
11961277
UserStorage:
11971278
type: object
11981279
required:
@@ -2743,6 +2824,140 @@ components:
27432824
type: string
27442825
status:
27452826
type: string
2827+
CrossChainFee:
2828+
type: object
2829+
required:
2830+
- providerFee
2831+
- trailsSwapFee
2832+
- providerFeeUSD
2833+
- trailsSwapFeeUSD
2834+
- totalFeeAmount
2835+
- totalFeeUSD
2836+
properties:
2837+
providerFee:
2838+
type: string
2839+
trailsSwapFee:
2840+
type: string
2841+
providerFeeUSD:
2842+
type: number
2843+
trailsSwapFeeUSD:
2844+
type: number
2845+
totalFeeAmount:
2846+
type: string
2847+
totalFeeUSD:
2848+
type: number
2849+
MetaTxnFeeDetail:
2850+
type: object
2851+
required:
2852+
- metaTxnID
2853+
- estimatedGasLimit
2854+
- feeNative
2855+
properties:
2856+
metaTxnID:
2857+
type: string
2858+
estimatedGasLimit:
2859+
type: string
2860+
feeNative:
2861+
type: string
2862+
ChainExecuteQuote:
2863+
type: object
2864+
required:
2865+
- chainId
2866+
- totalGasLimit
2867+
- gasPrice
2868+
- totalFeeAmount
2869+
- nativeTokenSymbol
2870+
- metaTxnFeeDetails
2871+
properties:
2872+
chainId:
2873+
type: string
2874+
totalGasLimit:
2875+
type: string
2876+
gasPrice:
2877+
type: string
2878+
totalFeeAmount:
2879+
type: string
2880+
nativeTokenSymbol:
2881+
type: string
2882+
nativeTokenPrice:
2883+
type: string
2884+
metaTxnFeeDetails:
2885+
type: array
2886+
description: '[]MetaTxnFeeDetail'
2887+
items:
2888+
$ref: '#/components/schemas/MetaTxnFeeDetail'
2889+
totalFeeUSD:
2890+
type: string
2891+
ExecuteQuote:
2892+
type: object
2893+
required:
2894+
- chainQuotes
2895+
properties:
2896+
chainQuotes:
2897+
type: array
2898+
description: '[]ChainExecuteQuote'
2899+
items:
2900+
$ref: '#/components/schemas/ChainExecuteQuote'
2901+
TrailsFee:
2902+
type: object
2903+
required:
2904+
- executeQuote
2905+
- trailsFixedFeeUSD
2906+
properties:
2907+
executeQuote:
2908+
$ref: '#/components/schemas/ExecuteQuote'
2909+
crossChainFee:
2910+
$ref: '#/components/schemas/CrossChainFee'
2911+
takerFeeAmount:
2912+
type: string
2913+
takerFeeUSD:
2914+
type: number
2915+
trailsFixedFeeUSD:
2916+
type: number
2917+
feeToken:
2918+
type: string
2919+
originTokenTotalAmount:
2920+
type: string
2921+
totalFeeAmount:
2922+
type: string
2923+
totalFeeUSD:
2924+
type: string
2925+
quoteProvider:
2926+
type: string
2927+
IntentQuote:
2928+
type: object
2929+
required:
2930+
- fromAmount
2931+
- fromAmountMin
2932+
- toAmount
2933+
- toAmountMin
2934+
- priceImpact
2935+
- priceImpactUsd
2936+
- maxSlippage
2937+
- quoteProvider
2938+
- quoteProviderRequestId
2939+
- quoteProviderFeeUsd
2940+
properties:
2941+
fromAmount:
2942+
type: string
2943+
fromAmountMin:
2944+
type: string
2945+
toAmount:
2946+
type: string
2947+
toAmountMin:
2948+
type: string
2949+
priceImpact:
2950+
type: number
2951+
priceImpactUsd:
2952+
type: string
2953+
maxSlippage:
2954+
type: number
2955+
quoteProvider:
2956+
type: string
2957+
quoteProviderRequestId:
2958+
type: string
2959+
quoteProviderFeeUsd:
2960+
type: string
27462961
API_IsValidSignature_Request:
27472962
type: object
27482963
properties:

0 commit comments

Comments
 (0)