Skip to content

Commit a56bd16

Browse files
committed
[AUTOMATED] Update: proto/docs/trails-api.gen.yaml
1 parent 39ee641 commit a56bd16

File tree

1 file changed

+170
-56
lines changed

1 file changed

+170
-56
lines changed

api-reference/trails-api.gen.yaml

Lines changed: 170 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# trails-api v1 8f92de91bde2cea43b147e23526187b7ff8c4fcd
1+
# trails-api v1 460b0b8285b5ebeaef8828da8904674ccb63bcc3
22
# --
33
# Code generated by [email protected] with openapi generator; DO NOT EDIT
44
#
@@ -1215,6 +1215,96 @@ components:
12151215
type: string
12161216
input:
12171217
type: string
1218+
IntentHistory:
1219+
type: object
1220+
required:
1221+
- intentId
1222+
- status
1223+
- expiresAt
1224+
- receipt
1225+
properties:
1226+
intentId:
1227+
type: string
1228+
status:
1229+
$ref: '#/components/schemas/IntentStatus'
1230+
expiresAt:
1231+
type: string
1232+
updatedAt:
1233+
type: string
1234+
createdAt:
1235+
type: string
1236+
receipt:
1237+
$ref: '#/components/schemas/IntentReceipt'
1238+
IntentReceiptSummary:
1239+
type: object
1240+
required:
1241+
- intentId
1242+
- status
1243+
- ownerAddress
1244+
- originChainId
1245+
- destinationChainId
1246+
- tradeType
1247+
- routeProviders
1248+
- originIntentAddress
1249+
- originTokenAddress
1250+
- originTokenAmount
1251+
- originTokenMetadata
1252+
- destinationIntentAddress
1253+
- destinationTokenMetadata
1254+
- destinationHasCallData
1255+
- destinationHasCallValue
1256+
- createdAt
1257+
- expiresAt
1258+
properties:
1259+
intentId:
1260+
type: string
1261+
status:
1262+
$ref: '#/components/schemas/IntentStatus'
1263+
ownerAddress:
1264+
type: string
1265+
originChainId:
1266+
type: number
1267+
destinationChainId:
1268+
type: number
1269+
tradeType:
1270+
$ref: '#/components/schemas/TradeType'
1271+
routeProviders:
1272+
type: array
1273+
description: '[]RouteProvider'
1274+
items:
1275+
$ref: '#/components/schemas/RouteProvider'
1276+
originIntentAddress:
1277+
type: string
1278+
originTokenAddress:
1279+
type: string
1280+
originTokenAmount:
1281+
type: number
1282+
originTokenMetadata:
1283+
$ref: '#/components/schemas/TokenMetadata'
1284+
destinationIntentAddress:
1285+
type: string
1286+
destinationTokenAddress:
1287+
type: string
1288+
destinationTokenAmount:
1289+
type: number
1290+
destinationToAddress:
1291+
type: string
1292+
destinationTokenMetadata:
1293+
$ref: '#/components/schemas/TokenMetadata'
1294+
destinationHasCallData:
1295+
type: boolean
1296+
destinationHasCallValue:
1297+
type: boolean
1298+
memo:
1299+
type: string
1300+
createdAt:
1301+
type: string
1302+
expiresAt:
1303+
type: string
1304+
startedAt:
1305+
type: string
1306+
finishedAt:
1307+
type: string
12181308
IntentReceipt:
12191309
type: object
12201310
required:
@@ -1229,6 +1319,7 @@ components:
12291319
- depositTransaction
12301320
- originTransactionId
12311321
- originTransaction
1322+
- summary
12321323
properties:
12331324
id:
12341325
type: number
@@ -1256,6 +1347,8 @@ components:
12561347
type: number
12571348
destinationTransaction:
12581349
$ref: '#/components/schemas/IntentTransaction'
1350+
summary:
1351+
$ref: '#/components/schemas/IntentReceiptSummary'
12591352
updatedAt:
12601353
type: string
12611354
createdAt:
@@ -1265,19 +1358,23 @@ components:
12651358
required:
12661359
- id
12671360
- intentId
1361+
- status
12681362
- chainId
12691363
- type
12701364
- context
12711365
- fromAddress
12721366
- toAddress
12731367
- tokenAddress
12741368
- tokenAmount
1275-
- status
12761369
properties:
12771370
id:
12781371
type: number
12791372
intentId:
12801373
type: string
1374+
status:
1375+
$ref: '#/components/schemas/TransactionStatus'
1376+
statusReason:
1377+
type: string
12811378
chainId:
12821379
type: number
12831380
type:
@@ -1306,10 +1403,6 @@ components:
13061403
type: string
13071404
txnMinedAt:
13081405
type: string
1309-
status:
1310-
$ref: '#/components/schemas/TransactionStatus'
1311-
statusReason:
1312-
type: string
13131406
updatedAt:
13141407
type: string
13151408
createdAt:
@@ -1418,52 +1511,6 @@ components:
14181511
type: number
14191512
totalFeeUsd:
14201513
type: number
1421-
IntentTransactionGasFee:
1422-
type: object
1423-
required:
1424-
- chainId
1425-
- totalGasLimit
1426-
- gasPrice
1427-
- nativeTokenSymbol
1428-
- chainGasUsageStatus
1429-
- totalFeeAmount
1430-
- totalFeeUsd
1431-
- metaTxnFeeDetails
1432-
- metaTxnGasQuote
1433-
properties:
1434-
chainId:
1435-
type: number
1436-
totalGasLimit:
1437-
type: number
1438-
gasPrice:
1439-
type: number
1440-
nativeTokenSymbol:
1441-
type: string
1442-
nativeTokenPriceUsd:
1443-
type: number
1444-
chainGasUsageStatus:
1445-
$ref: '#/components/schemas/ChainGasUsageStatus'
1446-
totalFeeAmount:
1447-
type: number
1448-
totalFeeUsd:
1449-
type: string
1450-
metaTxnFeeDetails:
1451-
$ref: '#/components/schemas/MetaTxnFeeDetails'
1452-
metaTxnGasQuote:
1453-
type: string
1454-
MetaTxnFeeDetails:
1455-
type: object
1456-
required:
1457-
- metaTxnId
1458-
- estimatedGasLimit
1459-
- feeNative
1460-
properties:
1461-
metaTxnId:
1462-
type: string
1463-
estimatedGasLimit:
1464-
type: number
1465-
feeNative:
1466-
type: number
14671514
IntentSummary:
14681515
type: object
14691516
required:
@@ -1536,6 +1583,52 @@ components:
15361583
type: string
15371584
createdAt:
15381585
type: string
1586+
IntentTransactionGasFee:
1587+
type: object
1588+
required:
1589+
- chainId
1590+
- totalGasLimit
1591+
- gasPrice
1592+
- nativeTokenSymbol
1593+
- chainGasUsageStatus
1594+
- totalFeeAmount
1595+
- totalFeeUsd
1596+
- metaTxnFeeDetails
1597+
- metaTxnGasQuote
1598+
properties:
1599+
chainId:
1600+
type: number
1601+
totalGasLimit:
1602+
type: number
1603+
gasPrice:
1604+
type: number
1605+
nativeTokenSymbol:
1606+
type: string
1607+
nativeTokenPriceUsd:
1608+
type: number
1609+
chainGasUsageStatus:
1610+
$ref: '#/components/schemas/ChainGasUsageStatus'
1611+
totalFeeAmount:
1612+
type: number
1613+
totalFeeUsd:
1614+
type: string
1615+
metaTxnFeeDetails:
1616+
$ref: '#/components/schemas/MetaTxnFeeDetails'
1617+
metaTxnGasQuote:
1618+
type: string
1619+
MetaTxnFeeDetails:
1620+
type: object
1621+
required:
1622+
- metaTxnId
1623+
- estimatedGasLimit
1624+
- feeNative
1625+
properties:
1626+
metaTxnId:
1627+
type: string
1628+
estimatedGasLimit:
1629+
type: number
1630+
feeNative:
1631+
type: number
15391632
ChainMetadata:
15401633
type: object
15411634
required:
@@ -2071,7 +2164,7 @@ components:
20712164
description: '[]Intent'
20722165
items:
20732166
$ref: '#/components/schemas/Intent'
2074-
GetIntentTransactionHistoryRequest:
2167+
GetIntentHistoryRequest:
20752168
type: object
20762169
properties:
20772170
page:
@@ -2080,16 +2173,16 @@ components:
20802173
type: number
20812174
byOwnerAddress:
20822175
type: string
2083-
GetIntentTransactionHistoryResponse:
2176+
GetIntentHistoryResponse:
20842177
type: object
20852178
required:
20862179
- intents
20872180
properties:
20882181
intents:
20892182
type: array
2090-
description: '[]IntentSummary'
2183+
description: '[]IntentHistory'
20912184
items:
2092-
$ref: '#/components/schemas/IntentSummary'
2185+
$ref: '#/components/schemas/IntentHistory'
20932186
nextPage:
20942187
$ref: '#/components/schemas/Page'
20952188
AbortIntentRequest:
@@ -2263,5 +2356,26 @@ components:
22632356
type: string
22642357
order:
22652358
$ref: '#/components/schemas/SortOrder'
2359+
GetIntentTransactionHistoryRequest:
2360+
type: object
2361+
properties:
2362+
page:
2363+
$ref: '#/components/schemas/Page'
2364+
byProjectId:
2365+
type: number
2366+
byOwnerAddress:
2367+
type: string
2368+
GetIntentTransactionHistoryResponse:
2369+
type: object
2370+
required:
2371+
- intents
2372+
properties:
2373+
intents:
2374+
type: array
2375+
description: '[]IntentSummary'
2376+
items:
2377+
$ref: '#/components/schemas/IntentSummary'
2378+
nextPage:
2379+
$ref: '#/components/schemas/Page'
22662380

22672381
paths:

0 commit comments

Comments
 (0)