Skip to content

Commit b3d8532

Browse files
miguelmotapkieltyka
authored andcommitted
[AUTOMATED] Update: proto/docs/trails-api.gen.yaml
1 parent 931287a commit b3d8532

File tree

1 file changed

+152
-1
lines changed

1 file changed

+152
-1
lines changed

docs/pages/api/trails-api/trails-api.gen.yaml

Lines changed: 152 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# trails-api v0.4.0 afbda11e094b9e3acb5db1b32d20b0cd17ea83cd
1+
# trails-api v0.4.0 d5699790c9ad8914feaedbc6e6290f3f6471d251
22
# --
33
# Code generated by [email protected] with openapi generator; DO NOT EDIT
44
#
@@ -1537,10 +1537,14 @@ components:
15371537
type: string
15381538
usePermit:
15391539
type: boolean
1540+
permitAmount:
1541+
type: string
15401542
permitDeadline:
15411543
type: number
15421544
permitSignature:
15431545
type: string
1546+
feeAmount:
1547+
type: string
15441548
GetIntentEntrypointDepositResult:
15451549
type: object
15461550
required:
@@ -1566,6 +1570,7 @@ components:
15661570
- intentAddress
15671571
- chainID
15681572
- deadline
1573+
- nonce
15691574
properties:
15701575
userAddress:
15711576
type: string
@@ -1579,11 +1584,88 @@ components:
15791584
type: number
15801585
deadline:
15811586
type: number
1587+
nonce:
1588+
type: string
1589+
GetIntentEntrypointDepositFeeOptionsParams:
1590+
type: object
1591+
required:
1592+
- userAddress
1593+
- tokenAddress
1594+
- intentAddress
1595+
- amount
1596+
- chainID
1597+
properties:
1598+
userAddress:
1599+
type: string
1600+
tokenAddress:
1601+
type: string
1602+
intentAddress:
1603+
type: string
1604+
amount:
1605+
type: string
1606+
chainID:
1607+
type: number
1608+
GetIntentEntrypointDepositFeeOptionsResult:
1609+
type: object
1610+
required:
1611+
- gasEstimate
1612+
- feeOptions
1613+
- expiresAt
1614+
properties:
1615+
gasEstimate:
1616+
$ref: '#/components/schemas/GasEstimate'
1617+
feeOptions:
1618+
type: array
1619+
description: '[]FeeOption'
1620+
items:
1621+
$ref: '#/components/schemas/FeeOption'
1622+
expiresAt:
1623+
type: number
1624+
GasEstimate:
1625+
type: object
1626+
required:
1627+
- totalGas
1628+
- gasPrice
1629+
- nativeCost
1630+
- nativeCostUSD
1631+
properties:
1632+
totalGas:
1633+
type: number
1634+
gasPrice:
1635+
type: string
1636+
nativeCost:
1637+
type: string
1638+
nativeCostUSD:
1639+
type: number
1640+
FeeOption:
1641+
type: object
1642+
required:
1643+
- tokenAddress
1644+
- tokenSymbol
1645+
- tokenDecimals
1646+
- amount
1647+
- amountUSD
1648+
properties:
1649+
tokenAddress:
1650+
type: string
1651+
tokenSymbol:
1652+
type: string
1653+
tokenDecimals:
1654+
type: number
1655+
amount:
1656+
type: string
1657+
amountUSD:
1658+
type: number
15821659
API_GetIntentEntrypointDeposit_Request:
15831660
type: object
15841661
properties:
15851662
params:
15861663
$ref: '#/components/schemas/GetIntentEntrypointDepositParams'
1664+
API_GetIntentEntrypointDepositFeeOptions_Request:
1665+
type: object
1666+
properties:
1667+
params:
1668+
$ref: '#/components/schemas/GetIntentEntrypointDepositFeeOptionsParams'
15871669
API_GetIntentEntrypointMessageHash_Request:
15881670
type: object
15891671
properties:
@@ -1632,6 +1714,11 @@ components:
16321714
properties:
16331715
result:
16341716
$ref: '#/components/schemas/GetIntentEntrypointDepositResult'
1717+
API_GetIntentEntrypointDepositFeeOptions_Response:
1718+
type: object
1719+
properties:
1720+
result:
1721+
$ref: '#/components/schemas/GetIntentEntrypointDepositFeeOptionsResult'
16351722
API_GetIntentEntrypointMessageHash_Response:
16361723
type: object
16371724
properties:
@@ -1737,6 +1824,70 @@ paths:
17371824
- $ref: '#/components/schemas/ErrorWebrpcBadResponse'
17381825
- $ref: '#/components/schemas/ErrorWebrpcServerPanic'
17391826
- $ref: '#/components/schemas/ErrorWebrpcInternalError'
1827+
/rpc/API/GetIntentEntrypointDepositFeeOptions:
1828+
post:
1829+
operationId: API-GetIntentEntrypointDepositFeeOptions
1830+
tags: ["API"]
1831+
summary: "Calculates fee options for intent entrypoint deposits."
1832+
requestBody:
1833+
content:
1834+
application/json:
1835+
schema:
1836+
$ref: '#/components/schemas/API_GetIntentEntrypointDepositFeeOptions_Request'
1837+
responses:
1838+
'200':
1839+
description: OK
1840+
content:
1841+
application/json:
1842+
schema:
1843+
$ref: '#/components/schemas/API_GetIntentEntrypointDepositFeeOptions_Response'
1844+
'4XX':
1845+
description: Client error
1846+
content:
1847+
application/json:
1848+
schema:
1849+
oneOf:
1850+
- $ref: '#/components/schemas/ErrorWebrpcEndpoint'
1851+
- $ref: '#/components/schemas/ErrorWebrpcRequestFailed'
1852+
- $ref: '#/components/schemas/ErrorWebrpcBadRoute'
1853+
- $ref: '#/components/schemas/ErrorWebrpcBadMethod'
1854+
- $ref: '#/components/schemas/ErrorWebrpcBadRequest'
1855+
- $ref: '#/components/schemas/ErrorWebrpcClientAborted'
1856+
- $ref: '#/components/schemas/ErrorWebrpcStreamLost'
1857+
- $ref: '#/components/schemas/ErrorUnauthorized'
1858+
- $ref: '#/components/schemas/ErrorPermissionDenied'
1859+
- $ref: '#/components/schemas/ErrorSessionExpired'
1860+
- $ref: '#/components/schemas/ErrorMethodNotFound'
1861+
- $ref: '#/components/schemas/ErrorRequestConflict'
1862+
- $ref: '#/components/schemas/ErrorAborted'
1863+
- $ref: '#/components/schemas/ErrorGeoblocked'
1864+
- $ref: '#/components/schemas/ErrorRateLimited'
1865+
- $ref: '#/components/schemas/ErrorProjectNotFound'
1866+
- $ref: '#/components/schemas/ErrorAccessKeyNotFound'
1867+
- $ref: '#/components/schemas/ErrorAccessKeyMismatch'
1868+
- $ref: '#/components/schemas/ErrorInvalidOrigin'
1869+
- $ref: '#/components/schemas/ErrorInvalidService'
1870+
- $ref: '#/components/schemas/ErrorUnauthorizedUser'
1871+
- $ref: '#/components/schemas/ErrorQuotaExceeded'
1872+
- $ref: '#/components/schemas/ErrorQuotaRateLimit'
1873+
- $ref: '#/components/schemas/ErrorNoDefaultKey'
1874+
- $ref: '#/components/schemas/ErrorMaxAccessKeys'
1875+
- $ref: '#/components/schemas/ErrorAtLeastOneKey'
1876+
- $ref: '#/components/schemas/ErrorTimeout'
1877+
- $ref: '#/components/schemas/ErrorInvalidArgument'
1878+
- $ref: '#/components/schemas/ErrorUnavailable'
1879+
- $ref: '#/components/schemas/ErrorQueryFailed'
1880+
- $ref: '#/components/schemas/ErrorNotFound'
1881+
- $ref: '#/components/schemas/ErrorUnsupportedNetwork'
1882+
'5XX':
1883+
description: Server error
1884+
content:
1885+
application/json:
1886+
schema:
1887+
oneOf:
1888+
- $ref: '#/components/schemas/ErrorWebrpcBadResponse'
1889+
- $ref: '#/components/schemas/ErrorWebrpcServerPanic'
1890+
- $ref: '#/components/schemas/ErrorWebrpcInternalError'
17401891
/rpc/API/GetIntentEntrypointMessageHash:
17411892
post:
17421893
operationId: API-GetIntentEntrypointMessageHash

0 commit comments

Comments
 (0)