@@ -231,6 +231,13 @@ export interface paths {
231231 */
232232 get : operations [ "healthcheck" ] ;
233233 } ;
234+ "/api/silos/{id}/repair" : {
235+ /**
236+ * Perform various checks and, if necessary, transactions to repair a silo
237+ * @description **Required scopes:** `silos:write`
238+ */
239+ post : operations [ "repair" ] ;
240+ } ;
234241}
235242
236243export type webhooks = Record < string , never > ;
@@ -514,8 +521,9 @@ export interface operations {
514521 engineVersion : string ;
515522 genesis : string ;
516523 name : string ;
517- network : string ;
518524 rpcUrl : string ;
525+ intentsIntegrationStatus : string ;
526+ trisolarisIntegrationStatus : string ;
519527 nativeToken : {
520528 symbol : string ;
521529 name : string | null ;
@@ -550,8 +558,9 @@ export interface operations {
550558 engineVersion : string ;
551559 genesis : string ;
552560 name : string ;
553- network : string ;
554561 rpcUrl : string ;
562+ intentsIntegrationStatus : string ;
563+ trisolarisIntegrationStatus : string ;
555564 nativeToken : {
556565 symbol : string ;
557566 name : string | null ;
@@ -585,6 +594,7 @@ export interface operations {
585594 symbol : string ;
586595 decimals : number ;
587596 aurora_address : string | null ;
597+ silo_address : string | null ;
588598 near_address : string | null ;
589599 ethereum_address : string | null ;
590600 iconUrl : string | null ;
@@ -926,7 +936,7 @@ export interface operations {
926936 content : {
927937 "application/json" : {
928938 /** @enum {string} */
929- status : "PENDING" | "SUCCESSFUL" ;
939+ status : "PENDING" | "SUCCESSFUL" | "FAILED" ;
930940 isEnabled : boolean ;
931941 /** @enum {string} */
932942 action : "MAKE_TRANSACTION" | "DEPLOY_CONTRACT" ;
@@ -961,7 +971,7 @@ export interface operations {
961971 content : {
962972 "application/json" : {
963973 /** @enum {string} */
964- status : "PENDING" | "SUCCESSFUL" ;
974+ status : "PENDING" | "SUCCESSFUL" | "FAILED" ;
965975 address : string ;
966976 /** @enum {string} */
967977 action : "MAKE_TRANSACTION" | "DEPLOY_CONTRACT" ;
@@ -996,7 +1006,7 @@ export interface operations {
9961006 content : {
9971007 "application/json" : {
9981008 /** @enum {string} */
999- status : "PENDING" | "SUCCESSFUL" ;
1009+ status : "PENDING" | "SUCCESSFUL" | "FAILED" ;
10001010 address : string ;
10011011 /** @enum {string} */
10021012 action : "MAKE_TRANSACTION" | "DEPLOY_CONTRACT" ;
@@ -1323,18 +1333,92 @@ export interface operations {
13231333 "application/json" : {
13241334 /** @enum {string} */
13251335 networkStatus : "ok" | "invalid-network" | "stalled" ;
1326- defaultTokensDeployed : {
1327- NEAR : boolean ;
1328- USDt : boolean ;
1329- USDC : boolean ;
1330- AURORA : boolean ;
1336+ defaultTokens : {
1337+ NEAR : {
1338+ isContractDeployed : boolean ;
1339+ storageBalance : {
1340+ total : string ;
1341+ available : string ;
1342+ } | null ;
1343+ } ;
1344+ USDt : {
1345+ isContractDeployed : boolean ;
1346+ storageBalance : {
1347+ total : string ;
1348+ available : string ;
1349+ } | null ;
1350+ } ;
1351+ USDC : {
1352+ isContractDeployed : boolean ;
1353+ storageBalance : {
1354+ total : string ;
1355+ available : string ;
1356+ } | null ;
1357+ } ;
1358+ AURORA : {
1359+ isContractDeployed : boolean ;
1360+ storageBalance : {
1361+ total : string ;
1362+ available : string ;
1363+ } | null ;
1364+ } ;
13311365 } ;
1332- bridgedTokensDeployed : {
1366+ bridgedTokens : {
13331367 [ key : string ] : unknown ;
13341368 } | null ;
13351369 } ;
13361370 } ;
13371371 } ;
13381372 } ;
13391373 } ;
1374+ /**
1375+ * Perform various checks and, if necessary, transactions to repair a silo
1376+ * @description **Required scopes:** `silos:write`
1377+ */
1378+ repair : {
1379+ parameters : {
1380+ path : {
1381+ id : number ;
1382+ } ;
1383+ } ;
1384+ /** @description Body */
1385+ requestBody ?: {
1386+ content : {
1387+ "application/json" : Record < string , never > ;
1388+ } ;
1389+ } ;
1390+ responses : {
1391+ /** @description 200 */
1392+ 200 : {
1393+ content : {
1394+ "application/json" : {
1395+ /** @enum {string} */
1396+ status : "ok" | "skipped" ;
1397+ initialisation : ( {
1398+ /** @enum {string} */
1399+ defaultTokensDeployed : "PENDING" | "SUCCESSFUL" | "FAILED" ;
1400+ /** @enum {string} */
1401+ baseTokenSet : "PENDING" | "SUCCESSFUL" | "FAILED" ;
1402+ isSiloActive : boolean ;
1403+ } ) | null ;
1404+ pendingTransactions : {
1405+ numberOfPendingTransactions : number ;
1406+ numberOfPendingTransactionsResolved : number ;
1407+ } | null ;
1408+ pendingBridgedTokens : ( {
1409+ numberOfRequests : number ;
1410+ numberOfRequestsResolved : number ;
1411+ numberOfPendingDeployments : number ;
1412+ numberOfPendingDeploymentsResolved : number ;
1413+ tokens : ( {
1414+ symbol : string ;
1415+ /** @enum {string} */
1416+ status : "PENDING" | "SUCCESSFUL" | "FAILED" ;
1417+ } ) [ ] ;
1418+ } ) | null ;
1419+ } ;
1420+ } ;
1421+ } ;
1422+ } ;
1423+ } ;
13401424}
0 commit comments