@gol/sdk 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -5
- package/dist/generated/platform.d.ts +1517 -613
- package/dist/generated/platform.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/owner.d.ts +9 -1
- package/dist/owner.d.ts.map +1 -1
- package/dist/owner.js +45 -0
- package/dist/owner.js.map +1 -1
- package/dist/server.d.ts +14 -4
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +42 -2
- package/dist/server.js.map +1 -1
- package/dist/types.d.ts +7 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -70,6 +70,54 @@ export interface paths {
|
|
|
70
70
|
patch?: never;
|
|
71
71
|
trace?: never;
|
|
72
72
|
};
|
|
73
|
+
"/v1/auth/google/sessions": {
|
|
74
|
+
parameters: {
|
|
75
|
+
query?: never;
|
|
76
|
+
header?: never;
|
|
77
|
+
path?: never;
|
|
78
|
+
cookie?: never;
|
|
79
|
+
};
|
|
80
|
+
get?: never;
|
|
81
|
+
put?: never;
|
|
82
|
+
post: operations["createGoogleSession"];
|
|
83
|
+
delete?: never;
|
|
84
|
+
options?: never;
|
|
85
|
+
head?: never;
|
|
86
|
+
patch?: never;
|
|
87
|
+
trace?: never;
|
|
88
|
+
};
|
|
89
|
+
"/v1/auth/sessions/renew": {
|
|
90
|
+
parameters: {
|
|
91
|
+
query?: never;
|
|
92
|
+
header?: never;
|
|
93
|
+
path?: never;
|
|
94
|
+
cookie?: never;
|
|
95
|
+
};
|
|
96
|
+
get?: never;
|
|
97
|
+
put?: never;
|
|
98
|
+
post: operations["renewConsoleSession"];
|
|
99
|
+
delete?: never;
|
|
100
|
+
options?: never;
|
|
101
|
+
head?: never;
|
|
102
|
+
patch?: never;
|
|
103
|
+
trace?: never;
|
|
104
|
+
};
|
|
105
|
+
"/v1/auth/sessions/current": {
|
|
106
|
+
parameters: {
|
|
107
|
+
query?: never;
|
|
108
|
+
header?: never;
|
|
109
|
+
path?: never;
|
|
110
|
+
cookie?: never;
|
|
111
|
+
};
|
|
112
|
+
get?: never;
|
|
113
|
+
put?: never;
|
|
114
|
+
post?: never;
|
|
115
|
+
delete: operations["revokeConsoleSession"];
|
|
116
|
+
options?: never;
|
|
117
|
+
head?: never;
|
|
118
|
+
patch?: never;
|
|
119
|
+
trace?: never;
|
|
120
|
+
};
|
|
73
121
|
"/v1/console/me": {
|
|
74
122
|
parameters: {
|
|
75
123
|
query?: never;
|
|
@@ -358,6 +406,38 @@ export interface paths {
|
|
|
358
406
|
patch?: never;
|
|
359
407
|
trace?: never;
|
|
360
408
|
};
|
|
409
|
+
"/v1/projects/{projectId}/gas-policies/{gasPolicyId}/safety-actions/prepare": {
|
|
410
|
+
parameters: {
|
|
411
|
+
query?: never;
|
|
412
|
+
header?: never;
|
|
413
|
+
path?: never;
|
|
414
|
+
cookie?: never;
|
|
415
|
+
};
|
|
416
|
+
get?: never;
|
|
417
|
+
put?: never;
|
|
418
|
+
post: operations["prepareGasPolicySafetyAction"];
|
|
419
|
+
delete?: never;
|
|
420
|
+
options?: never;
|
|
421
|
+
head?: never;
|
|
422
|
+
patch?: never;
|
|
423
|
+
trace?: never;
|
|
424
|
+
};
|
|
425
|
+
"/v1/projects/{projectId}/gas-policies/{gasPolicyId}/safety-actions/confirm": {
|
|
426
|
+
parameters: {
|
|
427
|
+
query?: never;
|
|
428
|
+
header?: never;
|
|
429
|
+
path?: never;
|
|
430
|
+
cookie?: never;
|
|
431
|
+
};
|
|
432
|
+
get?: never;
|
|
433
|
+
put?: never;
|
|
434
|
+
post: operations["confirmGasPolicySafetyAction"];
|
|
435
|
+
delete?: never;
|
|
436
|
+
options?: never;
|
|
437
|
+
head?: never;
|
|
438
|
+
patch?: never;
|
|
439
|
+
trace?: never;
|
|
440
|
+
};
|
|
361
441
|
"/v1/projects/{projectId}/gas-executions/{executionId}/disputes": {
|
|
362
442
|
parameters: {
|
|
363
443
|
query?: never;
|
|
@@ -648,7 +728,7 @@ export interface components {
|
|
|
648
728
|
account: string;
|
|
649
729
|
family: ("safe" | "nexus" | "kernel" | "alchemy") | null;
|
|
650
730
|
agent: string;
|
|
651
|
-
status: "active" | "revoked" | "expired" | "unavailable";
|
|
731
|
+
status: "active" | "paused" | "revoked" | "expired" | "unavailable";
|
|
652
732
|
maxPerActionWei: string;
|
|
653
733
|
maxTotalWei: string;
|
|
654
734
|
spentWei: string;
|
|
@@ -769,6 +849,8 @@ export interface operations {
|
|
|
769
849
|
status: "ready";
|
|
770
850
|
version: string;
|
|
771
851
|
sourceCommit: string;
|
|
852
|
+
/** @description Whether operational alerting reported within the last five minutes. It does not change readiness. */
|
|
853
|
+
alerting?: "ok" | "stale";
|
|
772
854
|
};
|
|
773
855
|
};
|
|
774
856
|
};
|
|
@@ -1116,14 +1198,21 @@ export interface operations {
|
|
|
1116
1198
|
};
|
|
1117
1199
|
};
|
|
1118
1200
|
};
|
|
1119
|
-
|
|
1201
|
+
createGoogleSession: {
|
|
1120
1202
|
parameters: {
|
|
1121
1203
|
query?: never;
|
|
1122
1204
|
header?: never;
|
|
1123
1205
|
path?: never;
|
|
1124
1206
|
cookie?: never;
|
|
1125
1207
|
};
|
|
1126
|
-
requestBody
|
|
1208
|
+
requestBody: {
|
|
1209
|
+
content: {
|
|
1210
|
+
"application/json": {
|
|
1211
|
+
idToken: string;
|
|
1212
|
+
nonce: string;
|
|
1213
|
+
};
|
|
1214
|
+
};
|
|
1215
|
+
};
|
|
1127
1216
|
responses: {
|
|
1128
1217
|
/** @description Default Response */
|
|
1129
1218
|
200: {
|
|
@@ -1132,6 +1221,9 @@ export interface operations {
|
|
|
1132
1221
|
};
|
|
1133
1222
|
content: {
|
|
1134
1223
|
"application/json": {
|
|
1224
|
+
sessionToken: string;
|
|
1225
|
+
/** Format: date-time */
|
|
1226
|
+
expiresAt: string;
|
|
1135
1227
|
developer: {
|
|
1136
1228
|
/** Format: uuid */
|
|
1137
1229
|
id: string;
|
|
@@ -1270,7 +1362,7 @@ export interface operations {
|
|
|
1270
1362
|
};
|
|
1271
1363
|
};
|
|
1272
1364
|
};
|
|
1273
|
-
|
|
1365
|
+
renewConsoleSession: {
|
|
1274
1366
|
parameters: {
|
|
1275
1367
|
query?: never;
|
|
1276
1368
|
header?: never;
|
|
@@ -1286,18 +1378,14 @@ export interface operations {
|
|
|
1286
1378
|
};
|
|
1287
1379
|
content: {
|
|
1288
1380
|
"application/json": {
|
|
1289
|
-
|
|
1381
|
+
sessionToken: string;
|
|
1382
|
+
/** Format: date-time */
|
|
1383
|
+
expiresAt: string;
|
|
1384
|
+
developer: {
|
|
1290
1385
|
/** Format: uuid */
|
|
1291
1386
|
id: string;
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
/** Format: date-time */
|
|
1295
|
-
createdAt: string;
|
|
1296
|
-
environments: {
|
|
1297
|
-
name: "test" | "live";
|
|
1298
|
-
status: "active" | "unavailable";
|
|
1299
|
-
}[];
|
|
1300
|
-
}[];
|
|
1387
|
+
email: string;
|
|
1388
|
+
};
|
|
1301
1389
|
};
|
|
1302
1390
|
};
|
|
1303
1391
|
};
|
|
@@ -1431,40 +1519,21 @@ export interface operations {
|
|
|
1431
1519
|
};
|
|
1432
1520
|
};
|
|
1433
1521
|
};
|
|
1434
|
-
|
|
1522
|
+
revokeConsoleSession: {
|
|
1435
1523
|
parameters: {
|
|
1436
1524
|
query?: never;
|
|
1437
1525
|
header?: never;
|
|
1438
1526
|
path?: never;
|
|
1439
1527
|
cookie?: never;
|
|
1440
1528
|
};
|
|
1441
|
-
requestBody
|
|
1442
|
-
content: {
|
|
1443
|
-
"application/json": {
|
|
1444
|
-
name: string;
|
|
1445
|
-
};
|
|
1446
|
-
};
|
|
1447
|
-
};
|
|
1529
|
+
requestBody?: never;
|
|
1448
1530
|
responses: {
|
|
1449
1531
|
/** @description Default Response */
|
|
1450
|
-
|
|
1532
|
+
204: {
|
|
1451
1533
|
headers: {
|
|
1452
1534
|
[name: string]: unknown;
|
|
1453
1535
|
};
|
|
1454
|
-
content
|
|
1455
|
-
"application/json": {
|
|
1456
|
-
/** Format: uuid */
|
|
1457
|
-
id: string;
|
|
1458
|
-
name: string;
|
|
1459
|
-
slug: string;
|
|
1460
|
-
/** Format: date-time */
|
|
1461
|
-
createdAt: string;
|
|
1462
|
-
environments: {
|
|
1463
|
-
name: "test" | "live";
|
|
1464
|
-
status: "active" | "unavailable";
|
|
1465
|
-
}[];
|
|
1466
|
-
};
|
|
1467
|
-
};
|
|
1536
|
+
content?: never;
|
|
1468
1537
|
};
|
|
1469
1538
|
/** @description Default Response */
|
|
1470
1539
|
400: {
|
|
@@ -1596,13 +1665,11 @@ export interface operations {
|
|
|
1596
1665
|
};
|
|
1597
1666
|
};
|
|
1598
1667
|
};
|
|
1599
|
-
|
|
1668
|
+
getConsoleIdentity: {
|
|
1600
1669
|
parameters: {
|
|
1601
1670
|
query?: never;
|
|
1602
1671
|
header?: never;
|
|
1603
|
-
path
|
|
1604
|
-
projectId: string;
|
|
1605
|
-
};
|
|
1672
|
+
path?: never;
|
|
1606
1673
|
cookie?: never;
|
|
1607
1674
|
};
|
|
1608
1675
|
requestBody?: never;
|
|
@@ -1614,19 +1681,11 @@ export interface operations {
|
|
|
1614
1681
|
};
|
|
1615
1682
|
content: {
|
|
1616
1683
|
"application/json": {
|
|
1617
|
-
|
|
1684
|
+
developer: {
|
|
1618
1685
|
/** Format: uuid */
|
|
1619
1686
|
id: string;
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
hint: string;
|
|
1623
|
-
scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
|
|
1624
|
-
/** Format: date-time */
|
|
1625
|
-
createdAt: string;
|
|
1626
|
-
expiresAt: string | null;
|
|
1627
|
-
revokedAt: string | null;
|
|
1628
|
-
lastUsedAt: string | null;
|
|
1629
|
-
}[];
|
|
1687
|
+
email: string;
|
|
1688
|
+
};
|
|
1630
1689
|
};
|
|
1631
1690
|
};
|
|
1632
1691
|
};
|
|
@@ -1760,46 +1819,34 @@ export interface operations {
|
|
|
1760
1819
|
};
|
|
1761
1820
|
};
|
|
1762
1821
|
};
|
|
1763
|
-
|
|
1822
|
+
listProjects: {
|
|
1764
1823
|
parameters: {
|
|
1765
1824
|
query?: never;
|
|
1766
1825
|
header?: never;
|
|
1767
|
-
path
|
|
1768
|
-
projectId: string;
|
|
1769
|
-
};
|
|
1826
|
+
path?: never;
|
|
1770
1827
|
cookie?: never;
|
|
1771
1828
|
};
|
|
1772
|
-
requestBody
|
|
1773
|
-
content: {
|
|
1774
|
-
"application/json": {
|
|
1775
|
-
name: string;
|
|
1776
|
-
environment: "test" | "live";
|
|
1777
|
-
scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
|
|
1778
|
-
};
|
|
1779
|
-
};
|
|
1780
|
-
};
|
|
1829
|
+
requestBody?: never;
|
|
1781
1830
|
responses: {
|
|
1782
1831
|
/** @description Default Response */
|
|
1783
|
-
|
|
1832
|
+
200: {
|
|
1784
1833
|
headers: {
|
|
1785
1834
|
[name: string]: unknown;
|
|
1786
1835
|
};
|
|
1787
1836
|
content: {
|
|
1788
1837
|
"application/json": {
|
|
1789
|
-
|
|
1838
|
+
data: {
|
|
1790
1839
|
/** Format: uuid */
|
|
1791
1840
|
id: string;
|
|
1792
1841
|
name: string;
|
|
1793
|
-
|
|
1794
|
-
hint: string;
|
|
1795
|
-
scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
|
|
1842
|
+
slug: string;
|
|
1796
1843
|
/** Format: date-time */
|
|
1797
1844
|
createdAt: string;
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1845
|
+
environments: {
|
|
1846
|
+
name: "test" | "live";
|
|
1847
|
+
status: "active" | "unavailable";
|
|
1848
|
+
}[];
|
|
1849
|
+
}[];
|
|
1803
1850
|
};
|
|
1804
1851
|
};
|
|
1805
1852
|
};
|
|
@@ -1933,20 +1980,23 @@ export interface operations {
|
|
|
1933
1980
|
};
|
|
1934
1981
|
};
|
|
1935
1982
|
};
|
|
1936
|
-
|
|
1983
|
+
createProject: {
|
|
1937
1984
|
parameters: {
|
|
1938
1985
|
query?: never;
|
|
1939
1986
|
header?: never;
|
|
1940
|
-
path
|
|
1941
|
-
projectId: string;
|
|
1942
|
-
apiKeyId: string;
|
|
1943
|
-
};
|
|
1987
|
+
path?: never;
|
|
1944
1988
|
cookie?: never;
|
|
1945
1989
|
};
|
|
1946
|
-
requestBody
|
|
1990
|
+
requestBody: {
|
|
1991
|
+
content: {
|
|
1992
|
+
"application/json": {
|
|
1993
|
+
name: string;
|
|
1994
|
+
};
|
|
1995
|
+
};
|
|
1996
|
+
};
|
|
1947
1997
|
responses: {
|
|
1948
1998
|
/** @description Default Response */
|
|
1949
|
-
|
|
1999
|
+
201: {
|
|
1950
2000
|
headers: {
|
|
1951
2001
|
[name: string]: unknown;
|
|
1952
2002
|
};
|
|
@@ -1955,14 +2005,13 @@ export interface operations {
|
|
|
1955
2005
|
/** Format: uuid */
|
|
1956
2006
|
id: string;
|
|
1957
2007
|
name: string;
|
|
1958
|
-
|
|
1959
|
-
hint: string;
|
|
1960
|
-
scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
|
|
2008
|
+
slug: string;
|
|
1961
2009
|
/** Format: date-time */
|
|
1962
2010
|
createdAt: string;
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
2011
|
+
environments: {
|
|
2012
|
+
name: "test" | "live";
|
|
2013
|
+
status: "active" | "unavailable";
|
|
2014
|
+
}[];
|
|
1966
2015
|
};
|
|
1967
2016
|
};
|
|
1968
2017
|
};
|
|
@@ -2096,33 +2145,25 @@ export interface operations {
|
|
|
2096
2145
|
};
|
|
2097
2146
|
};
|
|
2098
2147
|
};
|
|
2099
|
-
|
|
2148
|
+
listApiKeys: {
|
|
2100
2149
|
parameters: {
|
|
2101
2150
|
query?: never;
|
|
2102
2151
|
header?: never;
|
|
2103
2152
|
path: {
|
|
2104
2153
|
projectId: string;
|
|
2105
|
-
apiKeyId: string;
|
|
2106
2154
|
};
|
|
2107
2155
|
cookie?: never;
|
|
2108
2156
|
};
|
|
2109
|
-
requestBody
|
|
2110
|
-
content: {
|
|
2111
|
-
"application/json": {
|
|
2112
|
-
/** @default 3600 */
|
|
2113
|
-
overlapSeconds: number;
|
|
2114
|
-
};
|
|
2115
|
-
};
|
|
2116
|
-
};
|
|
2157
|
+
requestBody?: never;
|
|
2117
2158
|
responses: {
|
|
2118
2159
|
/** @description Default Response */
|
|
2119
|
-
|
|
2160
|
+
200: {
|
|
2120
2161
|
headers: {
|
|
2121
2162
|
[name: string]: unknown;
|
|
2122
2163
|
};
|
|
2123
2164
|
content: {
|
|
2124
2165
|
"application/json": {
|
|
2125
|
-
|
|
2166
|
+
data: {
|
|
2126
2167
|
/** Format: uuid */
|
|
2127
2168
|
id: string;
|
|
2128
2169
|
name: string;
|
|
@@ -2134,10 +2175,7 @@ export interface operations {
|
|
|
2134
2175
|
expiresAt: string | null;
|
|
2135
2176
|
revokedAt: string | null;
|
|
2136
2177
|
lastUsedAt: string | null;
|
|
2137
|
-
};
|
|
2138
|
-
secret: string;
|
|
2139
|
-
/** Format: date-time */
|
|
2140
|
-
previousKeyValidUntil: string;
|
|
2178
|
+
}[];
|
|
2141
2179
|
};
|
|
2142
2180
|
};
|
|
2143
2181
|
};
|
|
@@ -2271,12 +2309,10 @@ export interface operations {
|
|
|
2271
2309
|
};
|
|
2272
2310
|
};
|
|
2273
2311
|
};
|
|
2274
|
-
|
|
2312
|
+
createApiKey: {
|
|
2275
2313
|
parameters: {
|
|
2276
2314
|
query?: never;
|
|
2277
|
-
header
|
|
2278
|
-
"idempotency-key": string;
|
|
2279
|
-
};
|
|
2315
|
+
header?: never;
|
|
2280
2316
|
path: {
|
|
2281
2317
|
projectId: string;
|
|
2282
2318
|
};
|
|
@@ -2285,60 +2321,34 @@ export interface operations {
|
|
|
2285
2321
|
requestBody: {
|
|
2286
2322
|
content: {
|
|
2287
2323
|
"application/json": {
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
amountBaseUnits: string;
|
|
2292
|
-
deadline: number;
|
|
2324
|
+
name: string;
|
|
2325
|
+
environment: "test" | "live";
|
|
2326
|
+
scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
|
|
2293
2327
|
};
|
|
2294
2328
|
};
|
|
2295
2329
|
};
|
|
2296
2330
|
responses: {
|
|
2297
2331
|
/** @description Default Response */
|
|
2298
|
-
|
|
2332
|
+
201: {
|
|
2299
2333
|
headers: {
|
|
2300
2334
|
[name: string]: unknown;
|
|
2301
2335
|
};
|
|
2302
2336
|
content: {
|
|
2303
2337
|
"application/json": {
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
/** @enum {string} */
|
|
2317
|
-
version: "2";
|
|
2318
|
-
/** @enum {number} */
|
|
2319
|
-
chainId: 84532;
|
|
2320
|
-
verifyingContract: string;
|
|
2321
|
-
};
|
|
2322
|
-
types: {
|
|
2323
|
-
ActionAuthorization: {
|
|
2324
|
-
name: string;
|
|
2325
|
-
type: string;
|
|
2326
|
-
}[];
|
|
2327
|
-
};
|
|
2328
|
-
/** @enum {string} */
|
|
2329
|
-
primaryType: "ActionAuthorization";
|
|
2330
|
-
message: {
|
|
2331
|
-
mandateId: string;
|
|
2332
|
-
/** @enum {number} */
|
|
2333
|
-
actionTag: 1;
|
|
2334
|
-
/** @enum {number} */
|
|
2335
|
-
schemaVersion: 1;
|
|
2336
|
-
actionId: string;
|
|
2337
|
-
capabilityDigest: string;
|
|
2338
|
-
deadline: number;
|
|
2339
|
-
inputHash: string;
|
|
2340
|
-
};
|
|
2338
|
+
apiKey: {
|
|
2339
|
+
/** Format: uuid */
|
|
2340
|
+
id: string;
|
|
2341
|
+
name: string;
|
|
2342
|
+
environment: "test" | "live";
|
|
2343
|
+
hint: string;
|
|
2344
|
+
scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
|
|
2345
|
+
/** Format: date-time */
|
|
2346
|
+
createdAt: string;
|
|
2347
|
+
expiresAt: string | null;
|
|
2348
|
+
revokedAt: string | null;
|
|
2349
|
+
lastUsedAt: string | null;
|
|
2341
2350
|
};
|
|
2351
|
+
secret: string;
|
|
2342
2352
|
};
|
|
2343
2353
|
};
|
|
2344
2354
|
};
|
|
@@ -2472,17 +2482,13 @@ export interface operations {
|
|
|
2472
2482
|
};
|
|
2473
2483
|
};
|
|
2474
2484
|
};
|
|
2475
|
-
|
|
2485
|
+
revokeApiKey: {
|
|
2476
2486
|
parameters: {
|
|
2477
|
-
query?:
|
|
2478
|
-
environment?: "test" | "live";
|
|
2479
|
-
limit?: number;
|
|
2480
|
-
cursor?: string;
|
|
2481
|
-
state?: string;
|
|
2482
|
-
};
|
|
2487
|
+
query?: never;
|
|
2483
2488
|
header?: never;
|
|
2484
2489
|
path: {
|
|
2485
2490
|
projectId: string;
|
|
2491
|
+
apiKeyId: string;
|
|
2486
2492
|
};
|
|
2487
2493
|
cookie?: never;
|
|
2488
2494
|
};
|
|
@@ -2495,8 +2501,17 @@ export interface operations {
|
|
|
2495
2501
|
};
|
|
2496
2502
|
content: {
|
|
2497
2503
|
"application/json": {
|
|
2498
|
-
|
|
2499
|
-
|
|
2504
|
+
/** Format: uuid */
|
|
2505
|
+
id: string;
|
|
2506
|
+
name: string;
|
|
2507
|
+
environment: "test" | "live";
|
|
2508
|
+
hint: string;
|
|
2509
|
+
scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
|
|
2510
|
+
/** Format: date-time */
|
|
2511
|
+
createdAt: string;
|
|
2512
|
+
expiresAt: string | null;
|
|
2513
|
+
revokedAt: string | null;
|
|
2514
|
+
lastUsedAt: string | null;
|
|
2500
2515
|
};
|
|
2501
2516
|
};
|
|
2502
2517
|
};
|
|
@@ -2630,195 +2645,48 @@ export interface operations {
|
|
|
2630
2645
|
};
|
|
2631
2646
|
};
|
|
2632
2647
|
};
|
|
2633
|
-
|
|
2648
|
+
rotateApiKey: {
|
|
2634
2649
|
parameters: {
|
|
2635
2650
|
query?: never;
|
|
2636
|
-
header
|
|
2637
|
-
"idempotency-key": string;
|
|
2638
|
-
};
|
|
2651
|
+
header?: never;
|
|
2639
2652
|
path: {
|
|
2640
2653
|
projectId: string;
|
|
2654
|
+
apiKeyId: string;
|
|
2641
2655
|
};
|
|
2642
2656
|
cookie?: never;
|
|
2643
2657
|
};
|
|
2644
2658
|
requestBody: {
|
|
2645
2659
|
content: {
|
|
2646
2660
|
"application/json": {
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
recipient: string;
|
|
2650
|
-
amountBaseUnits: string;
|
|
2651
|
-
deadline: number;
|
|
2652
|
-
agentSignature: string;
|
|
2661
|
+
/** @default 3600 */
|
|
2662
|
+
overlapSeconds: number;
|
|
2653
2663
|
};
|
|
2654
2664
|
};
|
|
2655
2665
|
};
|
|
2656
2666
|
responses: {
|
|
2657
2667
|
/** @description Default Response */
|
|
2658
|
-
|
|
2668
|
+
201: {
|
|
2659
2669
|
headers: {
|
|
2660
2670
|
[name: string]: unknown;
|
|
2661
2671
|
};
|
|
2662
2672
|
content: {
|
|
2663
2673
|
"application/json": {
|
|
2664
|
-
|
|
2665
|
-
id: string;
|
|
2666
|
-
/** Format: uuid */
|
|
2667
|
-
projectId: string;
|
|
2668
|
-
contractProjectId: string;
|
|
2669
|
-
environment: "test" | "live";
|
|
2670
|
-
chainId: number;
|
|
2671
|
-
account: string;
|
|
2672
|
-
agent: string;
|
|
2673
|
-
core: string;
|
|
2674
|
-
accountProfileId: string;
|
|
2675
|
-
installEpoch: string;
|
|
2676
|
-
mandateId: string;
|
|
2677
|
-
actionId: string;
|
|
2678
|
-
gasPolicyId: string | null;
|
|
2679
|
-
payer: "owner_reimbursement" | "developer";
|
|
2680
|
-
state: string;
|
|
2681
|
-
quote: {
|
|
2682
|
-
acceptedOwnerMaximumWei: string;
|
|
2683
|
-
maximumNetworkWei: string;
|
|
2684
|
-
maximumGolExposureWei: string;
|
|
2685
|
-
/** Format: date-time */
|
|
2686
|
-
expiresAt: string;
|
|
2687
|
-
formulaVersion: number;
|
|
2688
|
-
chargeableOutcomesMask: number;
|
|
2689
|
-
};
|
|
2690
|
-
transactionHashes: string[];
|
|
2691
|
-
broadcasts: {
|
|
2692
|
-
transactionHash: string;
|
|
2693
|
-
providerId: string;
|
|
2694
|
-
outcome: "accepted" | "indeterminate";
|
|
2695
|
-
/** Format: date-time */
|
|
2696
|
-
observedAt: string;
|
|
2697
|
-
}[];
|
|
2698
|
-
receipt: null | {
|
|
2699
|
-
transactionHash: string;
|
|
2700
|
-
blockHash: string;
|
|
2701
|
-
blockNumber: string;
|
|
2702
|
-
finalizedBlockNumber: string;
|
|
2703
|
-
outcome: "success" | "refusal" | "revert";
|
|
2704
|
-
gasUsed: string;
|
|
2705
|
-
effectiveGasPrice: string;
|
|
2706
|
-
executionWei: string;
|
|
2707
|
-
l1DataWei: string;
|
|
2708
|
-
operatorWei: string;
|
|
2709
|
-
totalNetworkWei: string;
|
|
2710
|
-
eligibleOwnerWei: string;
|
|
2711
|
-
golLossWei: string;
|
|
2712
|
-
developerCostWei: string;
|
|
2713
|
-
};
|
|
2714
|
-
claimReceipt: null | {
|
|
2715
|
-
claimTransactionHash: string;
|
|
2716
|
-
blockHash: string;
|
|
2717
|
-
blockNumber: string;
|
|
2718
|
-
finalizedBlockNumber: string;
|
|
2719
|
-
collectedWei: string;
|
|
2720
|
-
golClaimNetworkCostWei: string;
|
|
2721
|
-
status: "collected" | "reverted";
|
|
2722
|
-
};
|
|
2723
|
-
ledger: {
|
|
2724
|
-
category: string;
|
|
2725
|
-
amountWei: string;
|
|
2726
|
-
transactionHash: string | null;
|
|
2727
|
-
}[];
|
|
2728
|
-
disputes: {
|
|
2674
|
+
apiKey: {
|
|
2729
2675
|
/** Format: uuid */
|
|
2730
2676
|
id: string;
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
resolvedAt: string | null;
|
|
2736
|
-
resolution: string | null;
|
|
2737
|
-
}[];
|
|
2738
|
-
};
|
|
2739
|
-
};
|
|
2740
|
-
};
|
|
2741
|
-
/** @description Default Response */
|
|
2742
|
-
202: {
|
|
2743
|
-
headers: {
|
|
2744
|
-
[name: string]: unknown;
|
|
2745
|
-
};
|
|
2746
|
-
content: {
|
|
2747
|
-
"application/json": {
|
|
2748
|
-
/** Format: uuid */
|
|
2749
|
-
id: string;
|
|
2750
|
-
/** Format: uuid */
|
|
2751
|
-
projectId: string;
|
|
2752
|
-
contractProjectId: string;
|
|
2753
|
-
environment: "test" | "live";
|
|
2754
|
-
chainId: number;
|
|
2755
|
-
account: string;
|
|
2756
|
-
agent: string;
|
|
2757
|
-
core: string;
|
|
2758
|
-
accountProfileId: string;
|
|
2759
|
-
installEpoch: string;
|
|
2760
|
-
mandateId: string;
|
|
2761
|
-
actionId: string;
|
|
2762
|
-
gasPolicyId: string | null;
|
|
2763
|
-
payer: "owner_reimbursement" | "developer";
|
|
2764
|
-
state: string;
|
|
2765
|
-
quote: {
|
|
2766
|
-
acceptedOwnerMaximumWei: string;
|
|
2767
|
-
maximumNetworkWei: string;
|
|
2768
|
-
maximumGolExposureWei: string;
|
|
2769
|
-
/** Format: date-time */
|
|
2770
|
-
expiresAt: string;
|
|
2771
|
-
formulaVersion: number;
|
|
2772
|
-
chargeableOutcomesMask: number;
|
|
2773
|
-
};
|
|
2774
|
-
transactionHashes: string[];
|
|
2775
|
-
broadcasts: {
|
|
2776
|
-
transactionHash: string;
|
|
2777
|
-
providerId: string;
|
|
2778
|
-
outcome: "accepted" | "indeterminate";
|
|
2677
|
+
name: string;
|
|
2678
|
+
environment: "test" | "live";
|
|
2679
|
+
hint: string;
|
|
2680
|
+
scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
|
|
2779
2681
|
/** Format: date-time */
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
blockHash: string;
|
|
2785
|
-
blockNumber: string;
|
|
2786
|
-
finalizedBlockNumber: string;
|
|
2787
|
-
outcome: "success" | "refusal" | "revert";
|
|
2788
|
-
gasUsed: string;
|
|
2789
|
-
effectiveGasPrice: string;
|
|
2790
|
-
executionWei: string;
|
|
2791
|
-
l1DataWei: string;
|
|
2792
|
-
operatorWei: string;
|
|
2793
|
-
totalNetworkWei: string;
|
|
2794
|
-
eligibleOwnerWei: string;
|
|
2795
|
-
golLossWei: string;
|
|
2796
|
-
developerCostWei: string;
|
|
2797
|
-
};
|
|
2798
|
-
claimReceipt: null | {
|
|
2799
|
-
claimTransactionHash: string;
|
|
2800
|
-
blockHash: string;
|
|
2801
|
-
blockNumber: string;
|
|
2802
|
-
finalizedBlockNumber: string;
|
|
2803
|
-
collectedWei: string;
|
|
2804
|
-
golClaimNetworkCostWei: string;
|
|
2805
|
-
status: "collected" | "reverted";
|
|
2682
|
+
createdAt: string;
|
|
2683
|
+
expiresAt: string | null;
|
|
2684
|
+
revokedAt: string | null;
|
|
2685
|
+
lastUsedAt: string | null;
|
|
2806
2686
|
};
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
transactionHash: string | null;
|
|
2811
|
-
}[];
|
|
2812
|
-
disputes: {
|
|
2813
|
-
/** Format: uuid */
|
|
2814
|
-
id: string;
|
|
2815
|
-
status: "open" | "resolved";
|
|
2816
|
-
reason: string;
|
|
2817
|
-
/** Format: date-time */
|
|
2818
|
-
openedAt: string;
|
|
2819
|
-
resolvedAt: string | null;
|
|
2820
|
-
resolution: string | null;
|
|
2821
|
-
}[];
|
|
2687
|
+
secret: string;
|
|
2688
|
+
/** Format: date-time */
|
|
2689
|
+
previousKeyValidUntil: string;
|
|
2822
2690
|
};
|
|
2823
2691
|
};
|
|
2824
2692
|
};
|
|
@@ -2947,43 +2815,1127 @@ export interface operations {
|
|
|
2947
2815
|
/** Format: uuid */
|
|
2948
2816
|
correlationId: string;
|
|
2949
2817
|
};
|
|
2950
|
-
};
|
|
2951
|
-
};
|
|
2952
|
-
};
|
|
2953
|
-
};
|
|
2954
|
-
};
|
|
2955
|
-
|
|
2956
|
-
parameters: {
|
|
2957
|
-
query?:
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
path: {
|
|
2962
|
-
projectId: string;
|
|
2963
|
-
};
|
|
2964
|
-
cookie?: never;
|
|
2965
|
-
};
|
|
2966
|
-
requestBody
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2818
|
+
};
|
|
2819
|
+
};
|
|
2820
|
+
};
|
|
2821
|
+
};
|
|
2822
|
+
};
|
|
2823
|
+
prepareGasExecution: {
|
|
2824
|
+
parameters: {
|
|
2825
|
+
query?: never;
|
|
2826
|
+
header: {
|
|
2827
|
+
"idempotency-key": string;
|
|
2828
|
+
};
|
|
2829
|
+
path: {
|
|
2830
|
+
projectId: string;
|
|
2831
|
+
};
|
|
2832
|
+
cookie?: never;
|
|
2833
|
+
};
|
|
2834
|
+
requestBody: {
|
|
2835
|
+
content: {
|
|
2836
|
+
"application/json": {
|
|
2837
|
+
mandateId: string;
|
|
2838
|
+
gasPolicyId: string;
|
|
2839
|
+
recipient: string;
|
|
2840
|
+
amountBaseUnits: string;
|
|
2841
|
+
deadline: number;
|
|
2842
|
+
};
|
|
2843
|
+
};
|
|
2844
|
+
};
|
|
2845
|
+
responses: {
|
|
2846
|
+
/** @description Default Response */
|
|
2847
|
+
200: {
|
|
2848
|
+
headers: {
|
|
2849
|
+
[name: string]: unknown;
|
|
2850
|
+
};
|
|
2851
|
+
content: {
|
|
2852
|
+
"application/json": {
|
|
2853
|
+
actionId: string;
|
|
2854
|
+
/** @enum {number} */
|
|
2855
|
+
chainId: 84532;
|
|
2856
|
+
core: string;
|
|
2857
|
+
asset: string;
|
|
2858
|
+
recipient: string;
|
|
2859
|
+
amountBaseUnits: string;
|
|
2860
|
+
digest: string;
|
|
2861
|
+
typedData: {
|
|
2862
|
+
domain: {
|
|
2863
|
+
/** @enum {string} */
|
|
2864
|
+
name: "GOL Mandate";
|
|
2865
|
+
/** @enum {string} */
|
|
2866
|
+
version: "2";
|
|
2867
|
+
/** @enum {number} */
|
|
2868
|
+
chainId: 84532;
|
|
2869
|
+
verifyingContract: string;
|
|
2870
|
+
};
|
|
2871
|
+
types: {
|
|
2872
|
+
ActionAuthorization: {
|
|
2873
|
+
name: string;
|
|
2874
|
+
type: string;
|
|
2875
|
+
}[];
|
|
2876
|
+
};
|
|
2877
|
+
/** @enum {string} */
|
|
2878
|
+
primaryType: "ActionAuthorization";
|
|
2879
|
+
message: {
|
|
2880
|
+
mandateId: string;
|
|
2881
|
+
/** @enum {number} */
|
|
2882
|
+
actionTag: 1;
|
|
2883
|
+
/** @enum {number} */
|
|
2884
|
+
schemaVersion: 1;
|
|
2885
|
+
actionId: string;
|
|
2886
|
+
capabilityDigest: string;
|
|
2887
|
+
deadline: number;
|
|
2888
|
+
inputHash: string;
|
|
2889
|
+
};
|
|
2890
|
+
};
|
|
2891
|
+
};
|
|
2892
|
+
};
|
|
2893
|
+
};
|
|
2894
|
+
/** @description Default Response */
|
|
2895
|
+
400: {
|
|
2896
|
+
headers: {
|
|
2897
|
+
[name: string]: unknown;
|
|
2898
|
+
};
|
|
2899
|
+
content: {
|
|
2900
|
+
"application/json": {
|
|
2901
|
+
error: {
|
|
2902
|
+
code: string;
|
|
2903
|
+
message: string;
|
|
2904
|
+
/** Format: uuid */
|
|
2905
|
+
correlationId: string;
|
|
2906
|
+
};
|
|
2907
|
+
};
|
|
2908
|
+
};
|
|
2909
|
+
};
|
|
2910
|
+
/** @description Default Response */
|
|
2911
|
+
401: {
|
|
2912
|
+
headers: {
|
|
2913
|
+
[name: string]: unknown;
|
|
2914
|
+
};
|
|
2915
|
+
content: {
|
|
2916
|
+
"application/json": {
|
|
2917
|
+
error: {
|
|
2918
|
+
code: string;
|
|
2919
|
+
message: string;
|
|
2920
|
+
/** Format: uuid */
|
|
2921
|
+
correlationId: string;
|
|
2922
|
+
};
|
|
2923
|
+
};
|
|
2924
|
+
};
|
|
2925
|
+
};
|
|
2926
|
+
/** @description Default Response */
|
|
2927
|
+
403: {
|
|
2928
|
+
headers: {
|
|
2929
|
+
[name: string]: unknown;
|
|
2930
|
+
};
|
|
2931
|
+
content: {
|
|
2932
|
+
"application/json": {
|
|
2933
|
+
error: {
|
|
2934
|
+
code: string;
|
|
2935
|
+
message: string;
|
|
2936
|
+
/** Format: uuid */
|
|
2937
|
+
correlationId: string;
|
|
2938
|
+
};
|
|
2939
|
+
};
|
|
2940
|
+
};
|
|
2941
|
+
};
|
|
2942
|
+
/** @description Default Response */
|
|
2943
|
+
404: {
|
|
2944
|
+
headers: {
|
|
2945
|
+
[name: string]: unknown;
|
|
2946
|
+
};
|
|
2947
|
+
content: {
|
|
2948
|
+
"application/json": {
|
|
2949
|
+
error: {
|
|
2950
|
+
code: string;
|
|
2951
|
+
message: string;
|
|
2952
|
+
/** Format: uuid */
|
|
2953
|
+
correlationId: string;
|
|
2954
|
+
};
|
|
2955
|
+
};
|
|
2956
|
+
};
|
|
2957
|
+
};
|
|
2958
|
+
/** @description Default Response */
|
|
2959
|
+
409: {
|
|
2960
|
+
headers: {
|
|
2961
|
+
[name: string]: unknown;
|
|
2962
|
+
};
|
|
2963
|
+
content: {
|
|
2964
|
+
"application/json": {
|
|
2965
|
+
error: {
|
|
2966
|
+
code: string;
|
|
2967
|
+
message: string;
|
|
2968
|
+
/** Format: uuid */
|
|
2969
|
+
correlationId: string;
|
|
2970
|
+
};
|
|
2971
|
+
};
|
|
2972
|
+
};
|
|
2973
|
+
};
|
|
2974
|
+
/** @description Default Response */
|
|
2975
|
+
429: {
|
|
2976
|
+
headers: {
|
|
2977
|
+
[name: string]: unknown;
|
|
2978
|
+
};
|
|
2979
|
+
content: {
|
|
2980
|
+
"application/json": {
|
|
2981
|
+
error: {
|
|
2982
|
+
code: string;
|
|
2983
|
+
message: string;
|
|
2984
|
+
/** Format: uuid */
|
|
2985
|
+
correlationId: string;
|
|
2986
|
+
};
|
|
2987
|
+
};
|
|
2988
|
+
};
|
|
2989
|
+
};
|
|
2990
|
+
/** @description Default Response */
|
|
2991
|
+
500: {
|
|
2992
|
+
headers: {
|
|
2993
|
+
[name: string]: unknown;
|
|
2994
|
+
};
|
|
2995
|
+
content: {
|
|
2996
|
+
"application/json": {
|
|
2997
|
+
error: {
|
|
2998
|
+
code: string;
|
|
2999
|
+
message: string;
|
|
3000
|
+
/** Format: uuid */
|
|
3001
|
+
correlationId: string;
|
|
3002
|
+
};
|
|
3003
|
+
};
|
|
3004
|
+
};
|
|
3005
|
+
};
|
|
3006
|
+
/** @description Default Response */
|
|
3007
|
+
503: {
|
|
3008
|
+
headers: {
|
|
3009
|
+
[name: string]: unknown;
|
|
3010
|
+
};
|
|
3011
|
+
content: {
|
|
3012
|
+
"application/json": {
|
|
3013
|
+
error: {
|
|
3014
|
+
code: string;
|
|
3015
|
+
message: string;
|
|
3016
|
+
/** Format: uuid */
|
|
3017
|
+
correlationId: string;
|
|
3018
|
+
};
|
|
3019
|
+
};
|
|
3020
|
+
};
|
|
3021
|
+
};
|
|
3022
|
+
};
|
|
3023
|
+
};
|
|
3024
|
+
listGasExecutions: {
|
|
3025
|
+
parameters: {
|
|
3026
|
+
query?: {
|
|
3027
|
+
environment?: "test" | "live";
|
|
3028
|
+
limit?: number;
|
|
3029
|
+
cursor?: string;
|
|
3030
|
+
state?: string;
|
|
3031
|
+
};
|
|
3032
|
+
header?: never;
|
|
3033
|
+
path: {
|
|
3034
|
+
projectId: string;
|
|
3035
|
+
};
|
|
3036
|
+
cookie?: never;
|
|
3037
|
+
};
|
|
3038
|
+
requestBody?: never;
|
|
3039
|
+
responses: {
|
|
3040
|
+
/** @description Default Response */
|
|
3041
|
+
200: {
|
|
3042
|
+
headers: {
|
|
3043
|
+
[name: string]: unknown;
|
|
3044
|
+
};
|
|
3045
|
+
content: {
|
|
3046
|
+
"application/json": {
|
|
3047
|
+
data: components["schemas"]["def-9"][];
|
|
3048
|
+
nextCursor: string | null;
|
|
3049
|
+
};
|
|
3050
|
+
};
|
|
3051
|
+
};
|
|
3052
|
+
/** @description Default Response */
|
|
3053
|
+
400: {
|
|
3054
|
+
headers: {
|
|
3055
|
+
[name: string]: unknown;
|
|
3056
|
+
};
|
|
3057
|
+
content: {
|
|
3058
|
+
"application/json": {
|
|
3059
|
+
error: {
|
|
3060
|
+
code: string;
|
|
3061
|
+
message: string;
|
|
3062
|
+
/** Format: uuid */
|
|
3063
|
+
correlationId: string;
|
|
3064
|
+
};
|
|
3065
|
+
};
|
|
3066
|
+
};
|
|
3067
|
+
};
|
|
3068
|
+
/** @description Default Response */
|
|
3069
|
+
401: {
|
|
3070
|
+
headers: {
|
|
3071
|
+
[name: string]: unknown;
|
|
3072
|
+
};
|
|
3073
|
+
content: {
|
|
3074
|
+
"application/json": {
|
|
3075
|
+
error: {
|
|
3076
|
+
code: string;
|
|
3077
|
+
message: string;
|
|
3078
|
+
/** Format: uuid */
|
|
3079
|
+
correlationId: string;
|
|
3080
|
+
};
|
|
3081
|
+
};
|
|
3082
|
+
};
|
|
3083
|
+
};
|
|
3084
|
+
/** @description Default Response */
|
|
3085
|
+
403: {
|
|
3086
|
+
headers: {
|
|
3087
|
+
[name: string]: unknown;
|
|
3088
|
+
};
|
|
3089
|
+
content: {
|
|
3090
|
+
"application/json": {
|
|
3091
|
+
error: {
|
|
3092
|
+
code: string;
|
|
3093
|
+
message: string;
|
|
3094
|
+
/** Format: uuid */
|
|
3095
|
+
correlationId: string;
|
|
3096
|
+
};
|
|
3097
|
+
};
|
|
3098
|
+
};
|
|
3099
|
+
};
|
|
3100
|
+
/** @description Default Response */
|
|
3101
|
+
404: {
|
|
3102
|
+
headers: {
|
|
3103
|
+
[name: string]: unknown;
|
|
3104
|
+
};
|
|
3105
|
+
content: {
|
|
3106
|
+
"application/json": {
|
|
3107
|
+
error: {
|
|
3108
|
+
code: string;
|
|
3109
|
+
message: string;
|
|
3110
|
+
/** Format: uuid */
|
|
3111
|
+
correlationId: string;
|
|
3112
|
+
};
|
|
3113
|
+
};
|
|
3114
|
+
};
|
|
3115
|
+
};
|
|
3116
|
+
/** @description Default Response */
|
|
3117
|
+
409: {
|
|
3118
|
+
headers: {
|
|
3119
|
+
[name: string]: unknown;
|
|
3120
|
+
};
|
|
3121
|
+
content: {
|
|
3122
|
+
"application/json": {
|
|
3123
|
+
error: {
|
|
3124
|
+
code: string;
|
|
3125
|
+
message: string;
|
|
3126
|
+
/** Format: uuid */
|
|
3127
|
+
correlationId: string;
|
|
3128
|
+
};
|
|
3129
|
+
};
|
|
3130
|
+
};
|
|
3131
|
+
};
|
|
3132
|
+
/** @description Default Response */
|
|
3133
|
+
429: {
|
|
3134
|
+
headers: {
|
|
3135
|
+
[name: string]: unknown;
|
|
3136
|
+
};
|
|
3137
|
+
content: {
|
|
3138
|
+
"application/json": {
|
|
3139
|
+
error: {
|
|
3140
|
+
code: string;
|
|
3141
|
+
message: string;
|
|
3142
|
+
/** Format: uuid */
|
|
3143
|
+
correlationId: string;
|
|
3144
|
+
};
|
|
3145
|
+
};
|
|
3146
|
+
};
|
|
3147
|
+
};
|
|
3148
|
+
/** @description Default Response */
|
|
3149
|
+
500: {
|
|
3150
|
+
headers: {
|
|
3151
|
+
[name: string]: unknown;
|
|
3152
|
+
};
|
|
3153
|
+
content: {
|
|
3154
|
+
"application/json": {
|
|
3155
|
+
error: {
|
|
3156
|
+
code: string;
|
|
3157
|
+
message: string;
|
|
3158
|
+
/** Format: uuid */
|
|
3159
|
+
correlationId: string;
|
|
3160
|
+
};
|
|
3161
|
+
};
|
|
3162
|
+
};
|
|
3163
|
+
};
|
|
3164
|
+
/** @description Default Response */
|
|
3165
|
+
503: {
|
|
3166
|
+
headers: {
|
|
3167
|
+
[name: string]: unknown;
|
|
3168
|
+
};
|
|
3169
|
+
content: {
|
|
3170
|
+
"application/json": {
|
|
3171
|
+
error: {
|
|
3172
|
+
code: string;
|
|
3173
|
+
message: string;
|
|
3174
|
+
/** Format: uuid */
|
|
3175
|
+
correlationId: string;
|
|
3176
|
+
};
|
|
3177
|
+
};
|
|
3178
|
+
};
|
|
3179
|
+
};
|
|
3180
|
+
};
|
|
3181
|
+
};
|
|
3182
|
+
submitGasExecution: {
|
|
3183
|
+
parameters: {
|
|
3184
|
+
query?: never;
|
|
3185
|
+
header: {
|
|
3186
|
+
"idempotency-key": string;
|
|
3187
|
+
};
|
|
3188
|
+
path: {
|
|
3189
|
+
projectId: string;
|
|
3190
|
+
};
|
|
3191
|
+
cookie?: never;
|
|
3192
|
+
};
|
|
3193
|
+
requestBody: {
|
|
3194
|
+
content: {
|
|
3195
|
+
"application/json": {
|
|
3196
|
+
mandateId: string;
|
|
3197
|
+
gasPolicyId: string;
|
|
3198
|
+
recipient: string;
|
|
3199
|
+
amountBaseUnits: string;
|
|
3200
|
+
deadline: number;
|
|
3201
|
+
agentSignature: string;
|
|
3202
|
+
};
|
|
3203
|
+
};
|
|
3204
|
+
};
|
|
3205
|
+
responses: {
|
|
3206
|
+
/** @description Default Response */
|
|
3207
|
+
200: {
|
|
3208
|
+
headers: {
|
|
3209
|
+
[name: string]: unknown;
|
|
3210
|
+
};
|
|
3211
|
+
content: {
|
|
3212
|
+
"application/json": {
|
|
3213
|
+
/** Format: uuid */
|
|
3214
|
+
id: string;
|
|
3215
|
+
/** Format: uuid */
|
|
3216
|
+
projectId: string;
|
|
3217
|
+
contractProjectId: string;
|
|
3218
|
+
environment: "test" | "live";
|
|
3219
|
+
chainId: number;
|
|
3220
|
+
account: string;
|
|
3221
|
+
agent: string;
|
|
3222
|
+
core: string;
|
|
3223
|
+
accountProfileId: string;
|
|
3224
|
+
installEpoch: string;
|
|
3225
|
+
mandateId: string;
|
|
3226
|
+
actionId: string;
|
|
3227
|
+
gasPolicyId: string | null;
|
|
3228
|
+
payer: "owner_reimbursement" | "developer";
|
|
3229
|
+
state: string;
|
|
3230
|
+
quote: {
|
|
3231
|
+
acceptedOwnerMaximumWei: string;
|
|
3232
|
+
maximumNetworkWei: string;
|
|
3233
|
+
maximumGolExposureWei: string;
|
|
3234
|
+
/** Format: date-time */
|
|
3235
|
+
expiresAt: string;
|
|
3236
|
+
formulaVersion: number;
|
|
3237
|
+
chargeableOutcomesMask: number;
|
|
3238
|
+
};
|
|
3239
|
+
transactionHashes: string[];
|
|
3240
|
+
broadcasts: {
|
|
3241
|
+
transactionHash: string;
|
|
3242
|
+
providerId: string;
|
|
3243
|
+
outcome: "accepted" | "indeterminate";
|
|
3244
|
+
/** Format: date-time */
|
|
3245
|
+
observedAt: string;
|
|
3246
|
+
}[];
|
|
3247
|
+
receipt: null | {
|
|
3248
|
+
transactionHash: string;
|
|
3249
|
+
blockHash: string;
|
|
3250
|
+
blockNumber: string;
|
|
3251
|
+
finalizedBlockNumber: string;
|
|
3252
|
+
outcome: "success" | "refusal" | "revert";
|
|
3253
|
+
gasUsed: string;
|
|
3254
|
+
effectiveGasPrice: string;
|
|
3255
|
+
executionWei: string;
|
|
3256
|
+
l1DataWei: string;
|
|
3257
|
+
operatorWei: string;
|
|
3258
|
+
totalNetworkWei: string;
|
|
3259
|
+
eligibleOwnerWei: string;
|
|
3260
|
+
golLossWei: string;
|
|
3261
|
+
developerCostWei: string;
|
|
3262
|
+
};
|
|
3263
|
+
claimReceipt: null | {
|
|
3264
|
+
claimTransactionHash: string;
|
|
3265
|
+
blockHash: string;
|
|
3266
|
+
blockNumber: string;
|
|
3267
|
+
finalizedBlockNumber: string;
|
|
3268
|
+
collectedWei: string;
|
|
3269
|
+
golClaimNetworkCostWei: string;
|
|
3270
|
+
status: "collected" | "reverted";
|
|
3271
|
+
};
|
|
3272
|
+
ledger: {
|
|
3273
|
+
category: string;
|
|
3274
|
+
amountWei: string;
|
|
3275
|
+
transactionHash: string | null;
|
|
3276
|
+
}[];
|
|
3277
|
+
disputes: {
|
|
3278
|
+
/** Format: uuid */
|
|
3279
|
+
id: string;
|
|
3280
|
+
status: "open" | "resolved";
|
|
3281
|
+
reason: string;
|
|
3282
|
+
/** Format: date-time */
|
|
3283
|
+
openedAt: string;
|
|
3284
|
+
resolvedAt: string | null;
|
|
3285
|
+
resolution: string | null;
|
|
3286
|
+
}[];
|
|
3287
|
+
};
|
|
3288
|
+
};
|
|
3289
|
+
};
|
|
3290
|
+
/** @description Default Response */
|
|
3291
|
+
202: {
|
|
3292
|
+
headers: {
|
|
3293
|
+
[name: string]: unknown;
|
|
3294
|
+
};
|
|
3295
|
+
content: {
|
|
3296
|
+
"application/json": {
|
|
3297
|
+
/** Format: uuid */
|
|
3298
|
+
id: string;
|
|
3299
|
+
/** Format: uuid */
|
|
3300
|
+
projectId: string;
|
|
3301
|
+
contractProjectId: string;
|
|
3302
|
+
environment: "test" | "live";
|
|
3303
|
+
chainId: number;
|
|
3304
|
+
account: string;
|
|
3305
|
+
agent: string;
|
|
3306
|
+
core: string;
|
|
3307
|
+
accountProfileId: string;
|
|
3308
|
+
installEpoch: string;
|
|
3309
|
+
mandateId: string;
|
|
3310
|
+
actionId: string;
|
|
3311
|
+
gasPolicyId: string | null;
|
|
3312
|
+
payer: "owner_reimbursement" | "developer";
|
|
3313
|
+
state: string;
|
|
3314
|
+
quote: {
|
|
3315
|
+
acceptedOwnerMaximumWei: string;
|
|
3316
|
+
maximumNetworkWei: string;
|
|
3317
|
+
maximumGolExposureWei: string;
|
|
3318
|
+
/** Format: date-time */
|
|
3319
|
+
expiresAt: string;
|
|
3320
|
+
formulaVersion: number;
|
|
3321
|
+
chargeableOutcomesMask: number;
|
|
3322
|
+
};
|
|
3323
|
+
transactionHashes: string[];
|
|
3324
|
+
broadcasts: {
|
|
3325
|
+
transactionHash: string;
|
|
3326
|
+
providerId: string;
|
|
3327
|
+
outcome: "accepted" | "indeterminate";
|
|
3328
|
+
/** Format: date-time */
|
|
3329
|
+
observedAt: string;
|
|
3330
|
+
}[];
|
|
3331
|
+
receipt: null | {
|
|
3332
|
+
transactionHash: string;
|
|
3333
|
+
blockHash: string;
|
|
3334
|
+
blockNumber: string;
|
|
3335
|
+
finalizedBlockNumber: string;
|
|
3336
|
+
outcome: "success" | "refusal" | "revert";
|
|
3337
|
+
gasUsed: string;
|
|
3338
|
+
effectiveGasPrice: string;
|
|
3339
|
+
executionWei: string;
|
|
3340
|
+
l1DataWei: string;
|
|
3341
|
+
operatorWei: string;
|
|
3342
|
+
totalNetworkWei: string;
|
|
3343
|
+
eligibleOwnerWei: string;
|
|
3344
|
+
golLossWei: string;
|
|
3345
|
+
developerCostWei: string;
|
|
3346
|
+
};
|
|
3347
|
+
claimReceipt: null | {
|
|
3348
|
+
claimTransactionHash: string;
|
|
3349
|
+
blockHash: string;
|
|
3350
|
+
blockNumber: string;
|
|
3351
|
+
finalizedBlockNumber: string;
|
|
3352
|
+
collectedWei: string;
|
|
3353
|
+
golClaimNetworkCostWei: string;
|
|
3354
|
+
status: "collected" | "reverted";
|
|
3355
|
+
};
|
|
3356
|
+
ledger: {
|
|
3357
|
+
category: string;
|
|
3358
|
+
amountWei: string;
|
|
3359
|
+
transactionHash: string | null;
|
|
3360
|
+
}[];
|
|
3361
|
+
disputes: {
|
|
3362
|
+
/** Format: uuid */
|
|
3363
|
+
id: string;
|
|
3364
|
+
status: "open" | "resolved";
|
|
3365
|
+
reason: string;
|
|
3366
|
+
/** Format: date-time */
|
|
3367
|
+
openedAt: string;
|
|
3368
|
+
resolvedAt: string | null;
|
|
3369
|
+
resolution: string | null;
|
|
3370
|
+
}[];
|
|
3371
|
+
};
|
|
3372
|
+
};
|
|
3373
|
+
};
|
|
3374
|
+
/** @description Default Response */
|
|
3375
|
+
400: {
|
|
3376
|
+
headers: {
|
|
3377
|
+
[name: string]: unknown;
|
|
3378
|
+
};
|
|
3379
|
+
content: {
|
|
3380
|
+
"application/json": {
|
|
3381
|
+
error: {
|
|
3382
|
+
code: string;
|
|
3383
|
+
message: string;
|
|
3384
|
+
/** Format: uuid */
|
|
3385
|
+
correlationId: string;
|
|
3386
|
+
};
|
|
3387
|
+
};
|
|
3388
|
+
};
|
|
3389
|
+
};
|
|
3390
|
+
/** @description Default Response */
|
|
3391
|
+
401: {
|
|
3392
|
+
headers: {
|
|
3393
|
+
[name: string]: unknown;
|
|
3394
|
+
};
|
|
3395
|
+
content: {
|
|
3396
|
+
"application/json": {
|
|
3397
|
+
error: {
|
|
3398
|
+
code: string;
|
|
3399
|
+
message: string;
|
|
3400
|
+
/** Format: uuid */
|
|
3401
|
+
correlationId: string;
|
|
3402
|
+
};
|
|
3403
|
+
};
|
|
3404
|
+
};
|
|
3405
|
+
};
|
|
3406
|
+
/** @description Default Response */
|
|
3407
|
+
403: {
|
|
3408
|
+
headers: {
|
|
3409
|
+
[name: string]: unknown;
|
|
3410
|
+
};
|
|
3411
|
+
content: {
|
|
3412
|
+
"application/json": {
|
|
3413
|
+
error: {
|
|
3414
|
+
code: string;
|
|
3415
|
+
message: string;
|
|
3416
|
+
/** Format: uuid */
|
|
3417
|
+
correlationId: string;
|
|
3418
|
+
};
|
|
3419
|
+
};
|
|
3420
|
+
};
|
|
3421
|
+
};
|
|
3422
|
+
/** @description Default Response */
|
|
3423
|
+
404: {
|
|
3424
|
+
headers: {
|
|
3425
|
+
[name: string]: unknown;
|
|
3426
|
+
};
|
|
3427
|
+
content: {
|
|
3428
|
+
"application/json": {
|
|
3429
|
+
error: {
|
|
3430
|
+
code: string;
|
|
3431
|
+
message: string;
|
|
3432
|
+
/** Format: uuid */
|
|
3433
|
+
correlationId: string;
|
|
3434
|
+
};
|
|
3435
|
+
};
|
|
3436
|
+
};
|
|
3437
|
+
};
|
|
3438
|
+
/** @description Default Response */
|
|
3439
|
+
409: {
|
|
3440
|
+
headers: {
|
|
3441
|
+
[name: string]: unknown;
|
|
3442
|
+
};
|
|
3443
|
+
content: {
|
|
3444
|
+
"application/json": {
|
|
3445
|
+
error: {
|
|
3446
|
+
code: string;
|
|
3447
|
+
message: string;
|
|
3448
|
+
/** Format: uuid */
|
|
3449
|
+
correlationId: string;
|
|
3450
|
+
};
|
|
3451
|
+
};
|
|
3452
|
+
};
|
|
3453
|
+
};
|
|
3454
|
+
/** @description Default Response */
|
|
3455
|
+
429: {
|
|
3456
|
+
headers: {
|
|
3457
|
+
[name: string]: unknown;
|
|
3458
|
+
};
|
|
3459
|
+
content: {
|
|
3460
|
+
"application/json": {
|
|
3461
|
+
error: {
|
|
3462
|
+
code: string;
|
|
3463
|
+
message: string;
|
|
3464
|
+
/** Format: uuid */
|
|
3465
|
+
correlationId: string;
|
|
3466
|
+
};
|
|
3467
|
+
};
|
|
3468
|
+
};
|
|
3469
|
+
};
|
|
3470
|
+
/** @description Default Response */
|
|
3471
|
+
500: {
|
|
3472
|
+
headers: {
|
|
3473
|
+
[name: string]: unknown;
|
|
3474
|
+
};
|
|
3475
|
+
content: {
|
|
3476
|
+
"application/json": {
|
|
3477
|
+
error: {
|
|
3478
|
+
code: string;
|
|
3479
|
+
message: string;
|
|
3480
|
+
/** Format: uuid */
|
|
3481
|
+
correlationId: string;
|
|
3482
|
+
};
|
|
3483
|
+
};
|
|
3484
|
+
};
|
|
3485
|
+
};
|
|
3486
|
+
/** @description Default Response */
|
|
3487
|
+
503: {
|
|
3488
|
+
headers: {
|
|
3489
|
+
[name: string]: unknown;
|
|
3490
|
+
};
|
|
3491
|
+
content: {
|
|
3492
|
+
"application/json": {
|
|
3493
|
+
error: {
|
|
3494
|
+
code: string;
|
|
3495
|
+
message: string;
|
|
3496
|
+
/** Format: uuid */
|
|
3497
|
+
correlationId: string;
|
|
3498
|
+
};
|
|
3499
|
+
};
|
|
3500
|
+
};
|
|
3501
|
+
};
|
|
3502
|
+
};
|
|
3503
|
+
};
|
|
3504
|
+
listAuditEvents: {
|
|
3505
|
+
parameters: {
|
|
3506
|
+
query?: {
|
|
3507
|
+
limit?: number;
|
|
3508
|
+
};
|
|
3509
|
+
header?: never;
|
|
3510
|
+
path: {
|
|
3511
|
+
projectId: string;
|
|
3512
|
+
};
|
|
3513
|
+
cookie?: never;
|
|
3514
|
+
};
|
|
3515
|
+
requestBody?: never;
|
|
3516
|
+
responses: {
|
|
3517
|
+
/** @description Default Response */
|
|
3518
|
+
200: {
|
|
3519
|
+
headers: {
|
|
3520
|
+
[name: string]: unknown;
|
|
3521
|
+
};
|
|
3522
|
+
content: {
|
|
3523
|
+
"application/json": {
|
|
3524
|
+
data: {
|
|
3525
|
+
/** Format: uuid */
|
|
3526
|
+
id: string;
|
|
3527
|
+
environment: "test" | "live";
|
|
3528
|
+
actorType: "developer" | "api_key" | "system";
|
|
3529
|
+
action: string;
|
|
3530
|
+
correlationId: string;
|
|
3531
|
+
metadata: {
|
|
3532
|
+
[key: string]: string | number | boolean | null;
|
|
3533
|
+
};
|
|
3534
|
+
/** Format: date-time */
|
|
3535
|
+
createdAt: string;
|
|
3536
|
+
}[];
|
|
3537
|
+
};
|
|
3538
|
+
};
|
|
3539
|
+
};
|
|
3540
|
+
/** @description Default Response */
|
|
3541
|
+
400: {
|
|
3542
|
+
headers: {
|
|
3543
|
+
[name: string]: unknown;
|
|
3544
|
+
};
|
|
3545
|
+
content: {
|
|
3546
|
+
"application/json": {
|
|
3547
|
+
error: {
|
|
3548
|
+
code: string;
|
|
3549
|
+
message: string;
|
|
3550
|
+
/** Format: uuid */
|
|
3551
|
+
correlationId: string;
|
|
3552
|
+
};
|
|
3553
|
+
};
|
|
3554
|
+
};
|
|
3555
|
+
};
|
|
3556
|
+
/** @description Default Response */
|
|
3557
|
+
401: {
|
|
3558
|
+
headers: {
|
|
3559
|
+
[name: string]: unknown;
|
|
3560
|
+
};
|
|
3561
|
+
content: {
|
|
3562
|
+
"application/json": {
|
|
3563
|
+
error: {
|
|
3564
|
+
code: string;
|
|
3565
|
+
message: string;
|
|
3566
|
+
/** Format: uuid */
|
|
3567
|
+
correlationId: string;
|
|
3568
|
+
};
|
|
3569
|
+
};
|
|
3570
|
+
};
|
|
3571
|
+
};
|
|
3572
|
+
/** @description Default Response */
|
|
3573
|
+
403: {
|
|
3574
|
+
headers: {
|
|
3575
|
+
[name: string]: unknown;
|
|
3576
|
+
};
|
|
3577
|
+
content: {
|
|
3578
|
+
"application/json": {
|
|
3579
|
+
error: {
|
|
3580
|
+
code: string;
|
|
3581
|
+
message: string;
|
|
3582
|
+
/** Format: uuid */
|
|
3583
|
+
correlationId: string;
|
|
3584
|
+
};
|
|
3585
|
+
};
|
|
3586
|
+
};
|
|
3587
|
+
};
|
|
3588
|
+
/** @description Default Response */
|
|
3589
|
+
404: {
|
|
3590
|
+
headers: {
|
|
3591
|
+
[name: string]: unknown;
|
|
3592
|
+
};
|
|
3593
|
+
content: {
|
|
3594
|
+
"application/json": {
|
|
3595
|
+
error: {
|
|
3596
|
+
code: string;
|
|
3597
|
+
message: string;
|
|
3598
|
+
/** Format: uuid */
|
|
3599
|
+
correlationId: string;
|
|
3600
|
+
};
|
|
3601
|
+
};
|
|
3602
|
+
};
|
|
3603
|
+
};
|
|
3604
|
+
/** @description Default Response */
|
|
3605
|
+
409: {
|
|
3606
|
+
headers: {
|
|
3607
|
+
[name: string]: unknown;
|
|
3608
|
+
};
|
|
3609
|
+
content: {
|
|
3610
|
+
"application/json": {
|
|
3611
|
+
error: {
|
|
3612
|
+
code: string;
|
|
3613
|
+
message: string;
|
|
3614
|
+
/** Format: uuid */
|
|
3615
|
+
correlationId: string;
|
|
3616
|
+
};
|
|
3617
|
+
};
|
|
3618
|
+
};
|
|
3619
|
+
};
|
|
3620
|
+
/** @description Default Response */
|
|
3621
|
+
429: {
|
|
3622
|
+
headers: {
|
|
3623
|
+
[name: string]: unknown;
|
|
3624
|
+
};
|
|
3625
|
+
content: {
|
|
3626
|
+
"application/json": {
|
|
3627
|
+
error: {
|
|
3628
|
+
code: string;
|
|
3629
|
+
message: string;
|
|
3630
|
+
/** Format: uuid */
|
|
3631
|
+
correlationId: string;
|
|
3632
|
+
};
|
|
3633
|
+
};
|
|
3634
|
+
};
|
|
3635
|
+
};
|
|
3636
|
+
/** @description Default Response */
|
|
3637
|
+
500: {
|
|
3638
|
+
headers: {
|
|
3639
|
+
[name: string]: unknown;
|
|
3640
|
+
};
|
|
3641
|
+
content: {
|
|
3642
|
+
"application/json": {
|
|
3643
|
+
error: {
|
|
3644
|
+
code: string;
|
|
3645
|
+
message: string;
|
|
3646
|
+
/** Format: uuid */
|
|
3647
|
+
correlationId: string;
|
|
3648
|
+
};
|
|
3649
|
+
};
|
|
3650
|
+
};
|
|
3651
|
+
};
|
|
3652
|
+
/** @description Default Response */
|
|
3653
|
+
503: {
|
|
3654
|
+
headers: {
|
|
3655
|
+
[name: string]: unknown;
|
|
3656
|
+
};
|
|
3657
|
+
content: {
|
|
3658
|
+
"application/json": {
|
|
3659
|
+
error: {
|
|
3660
|
+
code: string;
|
|
3661
|
+
message: string;
|
|
3662
|
+
/** Format: uuid */
|
|
3663
|
+
correlationId: string;
|
|
3664
|
+
};
|
|
3665
|
+
};
|
|
3666
|
+
};
|
|
3667
|
+
};
|
|
3668
|
+
};
|
|
3669
|
+
};
|
|
3670
|
+
getApiKeyIdentity: {
|
|
3671
|
+
parameters: {
|
|
3672
|
+
query?: never;
|
|
3673
|
+
header?: never;
|
|
3674
|
+
path?: never;
|
|
3675
|
+
cookie?: never;
|
|
3676
|
+
};
|
|
3677
|
+
requestBody?: never;
|
|
3678
|
+
responses: {
|
|
3679
|
+
/** @description Default Response */
|
|
3680
|
+
200: {
|
|
3681
|
+
headers: {
|
|
3682
|
+
[name: string]: unknown;
|
|
3683
|
+
};
|
|
3684
|
+
content: {
|
|
3685
|
+
"application/json": {
|
|
3686
|
+
project: {
|
|
3687
|
+
/** Format: uuid */
|
|
3688
|
+
id: string;
|
|
3689
|
+
name: string;
|
|
3690
|
+
slug: string;
|
|
3691
|
+
/** Format: date-time */
|
|
3692
|
+
createdAt: string;
|
|
3693
|
+
environments: {
|
|
3694
|
+
name: "test" | "live";
|
|
3695
|
+
status: "active" | "unavailable";
|
|
3696
|
+
}[];
|
|
3697
|
+
};
|
|
3698
|
+
environment: "test" | "live";
|
|
3699
|
+
apiKey: {
|
|
3700
|
+
/** Format: uuid */
|
|
3701
|
+
id: string;
|
|
3702
|
+
name: string;
|
|
3703
|
+
environment: "test" | "live";
|
|
3704
|
+
hint: string;
|
|
3705
|
+
scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
|
|
3706
|
+
/** Format: date-time */
|
|
3707
|
+
createdAt: string;
|
|
3708
|
+
expiresAt: string | null;
|
|
3709
|
+
revokedAt: string | null;
|
|
3710
|
+
lastUsedAt: string | null;
|
|
3711
|
+
};
|
|
3712
|
+
};
|
|
3713
|
+
};
|
|
3714
|
+
};
|
|
3715
|
+
/** @description Default Response */
|
|
3716
|
+
400: {
|
|
3717
|
+
headers: {
|
|
3718
|
+
[name: string]: unknown;
|
|
3719
|
+
};
|
|
3720
|
+
content: {
|
|
3721
|
+
"application/json": {
|
|
3722
|
+
error: {
|
|
3723
|
+
code: string;
|
|
3724
|
+
message: string;
|
|
3725
|
+
/** Format: uuid */
|
|
3726
|
+
correlationId: string;
|
|
3727
|
+
};
|
|
3728
|
+
};
|
|
3729
|
+
};
|
|
3730
|
+
};
|
|
3731
|
+
/** @description Default Response */
|
|
3732
|
+
401: {
|
|
3733
|
+
headers: {
|
|
3734
|
+
[name: string]: unknown;
|
|
3735
|
+
};
|
|
3736
|
+
content: {
|
|
3737
|
+
"application/json": {
|
|
3738
|
+
error: {
|
|
3739
|
+
code: string;
|
|
3740
|
+
message: string;
|
|
3741
|
+
/** Format: uuid */
|
|
3742
|
+
correlationId: string;
|
|
3743
|
+
};
|
|
3744
|
+
};
|
|
3745
|
+
};
|
|
3746
|
+
};
|
|
3747
|
+
/** @description Default Response */
|
|
3748
|
+
403: {
|
|
3749
|
+
headers: {
|
|
3750
|
+
[name: string]: unknown;
|
|
3751
|
+
};
|
|
3752
|
+
content: {
|
|
3753
|
+
"application/json": {
|
|
3754
|
+
error: {
|
|
3755
|
+
code: string;
|
|
3756
|
+
message: string;
|
|
3757
|
+
/** Format: uuid */
|
|
3758
|
+
correlationId: string;
|
|
3759
|
+
};
|
|
3760
|
+
};
|
|
3761
|
+
};
|
|
3762
|
+
};
|
|
3763
|
+
/** @description Default Response */
|
|
3764
|
+
404: {
|
|
3765
|
+
headers: {
|
|
3766
|
+
[name: string]: unknown;
|
|
3767
|
+
};
|
|
3768
|
+
content: {
|
|
3769
|
+
"application/json": {
|
|
3770
|
+
error: {
|
|
3771
|
+
code: string;
|
|
3772
|
+
message: string;
|
|
3773
|
+
/** Format: uuid */
|
|
3774
|
+
correlationId: string;
|
|
3775
|
+
};
|
|
3776
|
+
};
|
|
3777
|
+
};
|
|
3778
|
+
};
|
|
3779
|
+
/** @description Default Response */
|
|
3780
|
+
409: {
|
|
3781
|
+
headers: {
|
|
3782
|
+
[name: string]: unknown;
|
|
3783
|
+
};
|
|
3784
|
+
content: {
|
|
3785
|
+
"application/json": {
|
|
3786
|
+
error: {
|
|
3787
|
+
code: string;
|
|
3788
|
+
message: string;
|
|
3789
|
+
/** Format: uuid */
|
|
3790
|
+
correlationId: string;
|
|
3791
|
+
};
|
|
3792
|
+
};
|
|
3793
|
+
};
|
|
3794
|
+
};
|
|
3795
|
+
/** @description Default Response */
|
|
3796
|
+
429: {
|
|
3797
|
+
headers: {
|
|
3798
|
+
[name: string]: unknown;
|
|
3799
|
+
};
|
|
3800
|
+
content: {
|
|
3801
|
+
"application/json": {
|
|
3802
|
+
error: {
|
|
3803
|
+
code: string;
|
|
3804
|
+
message: string;
|
|
3805
|
+
/** Format: uuid */
|
|
3806
|
+
correlationId: string;
|
|
3807
|
+
};
|
|
3808
|
+
};
|
|
3809
|
+
};
|
|
3810
|
+
};
|
|
3811
|
+
/** @description Default Response */
|
|
3812
|
+
500: {
|
|
3813
|
+
headers: {
|
|
3814
|
+
[name: string]: unknown;
|
|
3815
|
+
};
|
|
3816
|
+
content: {
|
|
3817
|
+
"application/json": {
|
|
3818
|
+
error: {
|
|
3819
|
+
code: string;
|
|
3820
|
+
message: string;
|
|
3821
|
+
/** Format: uuid */
|
|
3822
|
+
correlationId: string;
|
|
3823
|
+
};
|
|
3824
|
+
};
|
|
3825
|
+
};
|
|
3826
|
+
};
|
|
3827
|
+
/** @description Default Response */
|
|
3828
|
+
503: {
|
|
3829
|
+
headers: {
|
|
3830
|
+
[name: string]: unknown;
|
|
3831
|
+
};
|
|
3832
|
+
content: {
|
|
3833
|
+
"application/json": {
|
|
3834
|
+
error: {
|
|
3835
|
+
code: string;
|
|
3836
|
+
message: string;
|
|
3837
|
+
/** Format: uuid */
|
|
3838
|
+
correlationId: string;
|
|
3839
|
+
};
|
|
3840
|
+
};
|
|
3841
|
+
};
|
|
3842
|
+
};
|
|
3843
|
+
};
|
|
3844
|
+
};
|
|
3845
|
+
getGasExecution: {
|
|
3846
|
+
parameters: {
|
|
3847
|
+
query?: {
|
|
3848
|
+
environment?: "test" | "live";
|
|
3849
|
+
};
|
|
3850
|
+
header?: never;
|
|
3851
|
+
path: {
|
|
3852
|
+
projectId: string;
|
|
3853
|
+
executionId: string;
|
|
3854
|
+
};
|
|
3855
|
+
cookie?: never;
|
|
3856
|
+
};
|
|
3857
|
+
requestBody?: never;
|
|
3858
|
+
responses: {
|
|
3859
|
+
/** @description Default Response */
|
|
3860
|
+
200: {
|
|
3861
|
+
headers: {
|
|
3862
|
+
[name: string]: unknown;
|
|
3863
|
+
};
|
|
3864
|
+
content: {
|
|
3865
|
+
"application/json": {
|
|
3866
|
+
/** Format: uuid */
|
|
3867
|
+
id: string;
|
|
3868
|
+
/** Format: uuid */
|
|
3869
|
+
projectId: string;
|
|
3870
|
+
contractProjectId: string;
|
|
3871
|
+
environment: "test" | "live";
|
|
3872
|
+
chainId: number;
|
|
3873
|
+
account: string;
|
|
3874
|
+
agent: string;
|
|
3875
|
+
core: string;
|
|
3876
|
+
accountProfileId: string;
|
|
3877
|
+
installEpoch: string;
|
|
3878
|
+
mandateId: string;
|
|
3879
|
+
actionId: string;
|
|
3880
|
+
gasPolicyId: string | null;
|
|
3881
|
+
payer: "owner_reimbursement" | "developer";
|
|
3882
|
+
state: string;
|
|
3883
|
+
quote: {
|
|
3884
|
+
acceptedOwnerMaximumWei: string;
|
|
3885
|
+
maximumNetworkWei: string;
|
|
3886
|
+
maximumGolExposureWei: string;
|
|
3887
|
+
/** Format: date-time */
|
|
3888
|
+
expiresAt: string;
|
|
3889
|
+
formulaVersion: number;
|
|
3890
|
+
chargeableOutcomesMask: number;
|
|
3891
|
+
};
|
|
3892
|
+
transactionHashes: string[];
|
|
3893
|
+
broadcasts: {
|
|
3894
|
+
transactionHash: string;
|
|
3895
|
+
providerId: string;
|
|
3896
|
+
outcome: "accepted" | "indeterminate";
|
|
3897
|
+
/** Format: date-time */
|
|
3898
|
+
observedAt: string;
|
|
3899
|
+
}[];
|
|
3900
|
+
receipt: null | {
|
|
3901
|
+
transactionHash: string;
|
|
3902
|
+
blockHash: string;
|
|
3903
|
+
blockNumber: string;
|
|
3904
|
+
finalizedBlockNumber: string;
|
|
3905
|
+
outcome: "success" | "refusal" | "revert";
|
|
3906
|
+
gasUsed: string;
|
|
3907
|
+
effectiveGasPrice: string;
|
|
3908
|
+
executionWei: string;
|
|
3909
|
+
l1DataWei: string;
|
|
3910
|
+
operatorWei: string;
|
|
3911
|
+
totalNetworkWei: string;
|
|
3912
|
+
eligibleOwnerWei: string;
|
|
3913
|
+
golLossWei: string;
|
|
3914
|
+
developerCostWei: string;
|
|
3915
|
+
};
|
|
3916
|
+
claimReceipt: null | {
|
|
3917
|
+
claimTransactionHash: string;
|
|
3918
|
+
blockHash: string;
|
|
3919
|
+
blockNumber: string;
|
|
3920
|
+
finalizedBlockNumber: string;
|
|
3921
|
+
collectedWei: string;
|
|
3922
|
+
golClaimNetworkCostWei: string;
|
|
3923
|
+
status: "collected" | "reverted";
|
|
3924
|
+
};
|
|
3925
|
+
ledger: {
|
|
3926
|
+
category: string;
|
|
3927
|
+
amountWei: string;
|
|
3928
|
+
transactionHash: string | null;
|
|
3929
|
+
}[];
|
|
3930
|
+
disputes: {
|
|
2976
3931
|
/** Format: uuid */
|
|
2977
3932
|
id: string;
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
action: string;
|
|
2981
|
-
correlationId: string;
|
|
2982
|
-
metadata: {
|
|
2983
|
-
[key: string]: string | number | boolean | null;
|
|
2984
|
-
};
|
|
3933
|
+
status: "open" | "resolved";
|
|
3934
|
+
reason: string;
|
|
2985
3935
|
/** Format: date-time */
|
|
2986
|
-
|
|
3936
|
+
openedAt: string;
|
|
3937
|
+
resolvedAt: string | null;
|
|
3938
|
+
resolution: string | null;
|
|
2987
3939
|
}[];
|
|
2988
3940
|
};
|
|
2989
3941
|
};
|
|
@@ -3118,11 +4070,15 @@ export interface operations {
|
|
|
3118
4070
|
};
|
|
3119
4071
|
};
|
|
3120
4072
|
};
|
|
3121
|
-
|
|
4073
|
+
getGasConfiguration: {
|
|
3122
4074
|
parameters: {
|
|
3123
|
-
query?:
|
|
4075
|
+
query?: {
|
|
4076
|
+
environment?: "test" | "live";
|
|
4077
|
+
};
|
|
3124
4078
|
header?: never;
|
|
3125
|
-
path
|
|
4079
|
+
path: {
|
|
4080
|
+
projectId: string;
|
|
4081
|
+
};
|
|
3126
4082
|
cookie?: never;
|
|
3127
4083
|
};
|
|
3128
4084
|
requestBody?: never;
|
|
@@ -3134,31 +4090,33 @@ export interface operations {
|
|
|
3134
4090
|
};
|
|
3135
4091
|
content: {
|
|
3136
4092
|
"application/json": {
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
}
|
|
4093
|
+
/** @enum {string} */
|
|
4094
|
+
environment: "test";
|
|
4095
|
+
/** @enum {number} */
|
|
4096
|
+
chainId: 84532;
|
|
4097
|
+
core: string;
|
|
4098
|
+
gasRouter: string;
|
|
4099
|
+
asset: {
|
|
4100
|
+
address: string;
|
|
4101
|
+
/** @enum {string} */
|
|
4102
|
+
symbol: "USDC";
|
|
4103
|
+
/** @enum {number} */
|
|
4104
|
+
decimals: 6;
|
|
3148
4105
|
};
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
4106
|
+
capabilityDigest: string;
|
|
4107
|
+
gasRecipient: string;
|
|
4108
|
+
attester: string;
|
|
4109
|
+
relayer: string;
|
|
4110
|
+
profiles: {
|
|
4111
|
+
family: "safe" | "nexus" | "kernel" | "alchemy";
|
|
4112
|
+
profileId: string;
|
|
4113
|
+
implementation: string;
|
|
4114
|
+
label: string;
|
|
4115
|
+
}[];
|
|
4116
|
+
limits: {
|
|
4117
|
+
recommendedPerActionWei: string;
|
|
4118
|
+
maxPerActionWei: string;
|
|
4119
|
+
maxTotalWei: string;
|
|
3162
4120
|
};
|
|
3163
4121
|
};
|
|
3164
4122
|
};
|
|
@@ -3293,7 +4251,7 @@ export interface operations {
|
|
|
3293
4251
|
};
|
|
3294
4252
|
};
|
|
3295
4253
|
};
|
|
3296
|
-
|
|
4254
|
+
getAccountStatus: {
|
|
3297
4255
|
parameters: {
|
|
3298
4256
|
query?: {
|
|
3299
4257
|
environment?: "test" | "live";
|
|
@@ -3301,7 +4259,7 @@ export interface operations {
|
|
|
3301
4259
|
header?: never;
|
|
3302
4260
|
path: {
|
|
3303
4261
|
projectId: string;
|
|
3304
|
-
|
|
4262
|
+
account: string;
|
|
3305
4263
|
};
|
|
3306
4264
|
cookie?: never;
|
|
3307
4265
|
};
|
|
@@ -3314,80 +4272,16 @@ export interface operations {
|
|
|
3314
4272
|
};
|
|
3315
4273
|
content: {
|
|
3316
4274
|
"application/json": {
|
|
3317
|
-
/** Format: uuid */
|
|
3318
|
-
id: string;
|
|
3319
|
-
/** Format: uuid */
|
|
3320
|
-
projectId: string;
|
|
3321
|
-
contractProjectId: string;
|
|
3322
|
-
environment: "test" | "live";
|
|
3323
|
-
chainId: number;
|
|
3324
4275
|
account: string;
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
quote: {
|
|
3335
|
-
acceptedOwnerMaximumWei: string;
|
|
3336
|
-
maximumNetworkWei: string;
|
|
3337
|
-
maximumGolExposureWei: string;
|
|
3338
|
-
/** Format: date-time */
|
|
3339
|
-
expiresAt: string;
|
|
3340
|
-
formulaVersion: number;
|
|
3341
|
-
chargeableOutcomesMask: number;
|
|
3342
|
-
};
|
|
3343
|
-
transactionHashes: string[];
|
|
3344
|
-
broadcasts: {
|
|
3345
|
-
transactionHash: string;
|
|
3346
|
-
providerId: string;
|
|
3347
|
-
outcome: "accepted" | "indeterminate";
|
|
3348
|
-
/** Format: date-time */
|
|
3349
|
-
observedAt: string;
|
|
3350
|
-
}[];
|
|
3351
|
-
receipt: null | {
|
|
3352
|
-
transactionHash: string;
|
|
3353
|
-
blockHash: string;
|
|
3354
|
-
blockNumber: string;
|
|
3355
|
-
finalizedBlockNumber: string;
|
|
3356
|
-
outcome: "success" | "refusal" | "revert";
|
|
3357
|
-
gasUsed: string;
|
|
3358
|
-
effectiveGasPrice: string;
|
|
3359
|
-
executionWei: string;
|
|
3360
|
-
l1DataWei: string;
|
|
3361
|
-
operatorWei: string;
|
|
3362
|
-
totalNetworkWei: string;
|
|
3363
|
-
eligibleOwnerWei: string;
|
|
3364
|
-
golLossWei: string;
|
|
3365
|
-
developerCostWei: string;
|
|
3366
|
-
};
|
|
3367
|
-
claimReceipt: null | {
|
|
3368
|
-
claimTransactionHash: string;
|
|
3369
|
-
blockHash: string;
|
|
3370
|
-
blockNumber: string;
|
|
3371
|
-
finalizedBlockNumber: string;
|
|
3372
|
-
collectedWei: string;
|
|
3373
|
-
golClaimNetworkCostWei: string;
|
|
3374
|
-
status: "collected" | "reverted";
|
|
3375
|
-
};
|
|
3376
|
-
ledger: {
|
|
3377
|
-
category: string;
|
|
3378
|
-
amountWei: string;
|
|
3379
|
-
transactionHash: string | null;
|
|
3380
|
-
}[];
|
|
3381
|
-
disputes: {
|
|
3382
|
-
/** Format: uuid */
|
|
3383
|
-
id: string;
|
|
3384
|
-
status: "open" | "resolved";
|
|
3385
|
-
reason: string;
|
|
3386
|
-
/** Format: date-time */
|
|
3387
|
-
openedAt: string;
|
|
3388
|
-
resolvedAt: string | null;
|
|
3389
|
-
resolution: string | null;
|
|
3390
|
-
}[];
|
|
4276
|
+
family: ("safe" | "nexus" | "kernel" | "alchemy") | null;
|
|
4277
|
+
profileId: string | null;
|
|
4278
|
+
implementation: string | null;
|
|
4279
|
+
implementationReviewed: boolean;
|
|
4280
|
+
coreInstalled: boolean;
|
|
4281
|
+
installEpoch: string | null;
|
|
4282
|
+
gasPolicyNonce: string | null;
|
|
4283
|
+
revocationNonce: string | null;
|
|
4284
|
+
blockNumber: string;
|
|
3391
4285
|
};
|
|
3392
4286
|
};
|
|
3393
4287
|
};
|
|
@@ -3521,18 +4415,41 @@ export interface operations {
|
|
|
3521
4415
|
};
|
|
3522
4416
|
};
|
|
3523
4417
|
};
|
|
3524
|
-
|
|
4418
|
+
prepareGasPolicy: {
|
|
3525
4419
|
parameters: {
|
|
3526
|
-
query?:
|
|
3527
|
-
environment?: "test" | "live";
|
|
3528
|
-
};
|
|
4420
|
+
query?: never;
|
|
3529
4421
|
header?: never;
|
|
3530
4422
|
path: {
|
|
3531
4423
|
projectId: string;
|
|
3532
4424
|
};
|
|
3533
4425
|
cookie?: never;
|
|
3534
4426
|
};
|
|
3535
|
-
requestBody
|
|
4427
|
+
requestBody: {
|
|
4428
|
+
content: {
|
|
4429
|
+
"application/json": {
|
|
4430
|
+
account: string;
|
|
4431
|
+
family: "safe" | "nexus" | "kernel" | "alchemy";
|
|
4432
|
+
agent: string;
|
|
4433
|
+
transfer: {
|
|
4434
|
+
recipients: string[];
|
|
4435
|
+
maxPerActionBaseUnits: string;
|
|
4436
|
+
maxTotalBaseUnits: string;
|
|
4437
|
+
};
|
|
4438
|
+
mandate: {
|
|
4439
|
+
validFrom: number;
|
|
4440
|
+
expiresAt: number;
|
|
4441
|
+
approvalExpiresAt: number;
|
|
4442
|
+
salt?: string;
|
|
4443
|
+
};
|
|
4444
|
+
gas: {
|
|
4445
|
+
maxPerActionWei: string;
|
|
4446
|
+
maxTotalWei: string;
|
|
4447
|
+
expiresAt: number;
|
|
4448
|
+
chargeableOutcomesMask: number;
|
|
4449
|
+
};
|
|
4450
|
+
};
|
|
4451
|
+
};
|
|
4452
|
+
};
|
|
3536
4453
|
responses: {
|
|
3537
4454
|
/** @description Default Response */
|
|
3538
4455
|
200: {
|
|
@@ -3541,33 +4458,37 @@ export interface operations {
|
|
|
3541
4458
|
};
|
|
3542
4459
|
content: {
|
|
3543
4460
|
"application/json": {
|
|
3544
|
-
/**
|
|
3545
|
-
|
|
3546
|
-
/**
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
4461
|
+
/** Format: uuid */
|
|
4462
|
+
draftId: string;
|
|
4463
|
+
/** Format: date-time */
|
|
4464
|
+
draftExpiresAt: string;
|
|
4465
|
+
/** @enum {string} */
|
|
4466
|
+
environment: "test";
|
|
4467
|
+
/** @enum {number} */
|
|
4468
|
+
chainId: 84532;
|
|
4469
|
+
core: string;
|
|
4470
|
+
account: string;
|
|
4471
|
+
family: "safe" | "nexus" | "kernel" | "alchemy";
|
|
4472
|
+
review: {
|
|
4473
|
+
[key: string]: unknown;
|
|
3556
4474
|
};
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
4475
|
+
authority: {
|
|
4476
|
+
mandateTerms: {
|
|
4477
|
+
[key: string]: unknown;
|
|
4478
|
+
};
|
|
4479
|
+
mandatePolicy: string;
|
|
4480
|
+
gasPolicy: {
|
|
4481
|
+
[key: string]: unknown;
|
|
4482
|
+
};
|
|
4483
|
+
mandateId: string;
|
|
4484
|
+
gasPolicyId: string;
|
|
4485
|
+
combinedDigest: string;
|
|
4486
|
+
};
|
|
4487
|
+
signing: components["schemas"]["def-5"];
|
|
4488
|
+
submission: {
|
|
4489
|
+
to: string;
|
|
4490
|
+
/** @enum {string} */
|
|
4491
|
+
functionName: "createMandateWithGas";
|
|
3571
4492
|
};
|
|
3572
4493
|
};
|
|
3573
4494
|
};
|
|
@@ -3702,37 +4623,47 @@ export interface operations {
|
|
|
3702
4623
|
};
|
|
3703
4624
|
};
|
|
3704
4625
|
};
|
|
3705
|
-
|
|
4626
|
+
confirmGasPolicy: {
|
|
3706
4627
|
parameters: {
|
|
3707
|
-
query?:
|
|
3708
|
-
environment?: "test" | "live";
|
|
3709
|
-
};
|
|
4628
|
+
query?: never;
|
|
3710
4629
|
header?: never;
|
|
3711
4630
|
path: {
|
|
3712
4631
|
projectId: string;
|
|
3713
|
-
account: string;
|
|
3714
4632
|
};
|
|
3715
4633
|
cookie?: never;
|
|
3716
4634
|
};
|
|
3717
|
-
requestBody
|
|
4635
|
+
requestBody: {
|
|
4636
|
+
content: {
|
|
4637
|
+
"application/json": {
|
|
4638
|
+
/** Format: uuid */
|
|
4639
|
+
draftId: string;
|
|
4640
|
+
transactionHash: string;
|
|
4641
|
+
};
|
|
4642
|
+
};
|
|
4643
|
+
};
|
|
3718
4644
|
responses: {
|
|
3719
4645
|
/** @description Default Response */
|
|
3720
4646
|
200: {
|
|
4647
|
+
headers: {
|
|
4648
|
+
[name: string]: unknown;
|
|
4649
|
+
};
|
|
4650
|
+
content: {
|
|
4651
|
+
"application/json": components["schemas"]["def-6"];
|
|
4652
|
+
};
|
|
4653
|
+
};
|
|
4654
|
+
/** @description Default Response */
|
|
4655
|
+
202: {
|
|
3721
4656
|
headers: {
|
|
3722
4657
|
[name: string]: unknown;
|
|
3723
4658
|
};
|
|
3724
4659
|
content: {
|
|
3725
4660
|
"application/json": {
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
installEpoch: string | null;
|
|
3733
|
-
gasPolicyNonce: string | null;
|
|
3734
|
-
revocationNonce: string | null;
|
|
3735
|
-
blockNumber: string;
|
|
4661
|
+
/** @enum {string} */
|
|
4662
|
+
status: "observing";
|
|
4663
|
+
transactionHash: string;
|
|
4664
|
+
/** Format: uuid */
|
|
4665
|
+
draftId?: string;
|
|
4666
|
+
gasPolicyId?: string;
|
|
3736
4667
|
};
|
|
3737
4668
|
};
|
|
3738
4669
|
};
|
|
@@ -3866,41 +4797,20 @@ export interface operations {
|
|
|
3866
4797
|
};
|
|
3867
4798
|
};
|
|
3868
4799
|
};
|
|
3869
|
-
|
|
4800
|
+
listGasPolicies: {
|
|
3870
4801
|
parameters: {
|
|
3871
|
-
query?:
|
|
4802
|
+
query?: {
|
|
4803
|
+
environment?: "test" | "live";
|
|
4804
|
+
limit?: number;
|
|
4805
|
+
cursor?: string;
|
|
4806
|
+
};
|
|
3872
4807
|
header?: never;
|
|
3873
4808
|
path: {
|
|
3874
4809
|
projectId: string;
|
|
3875
4810
|
};
|
|
3876
4811
|
cookie?: never;
|
|
3877
4812
|
};
|
|
3878
|
-
requestBody
|
|
3879
|
-
content: {
|
|
3880
|
-
"application/json": {
|
|
3881
|
-
account: string;
|
|
3882
|
-
family: "safe" | "nexus" | "kernel" | "alchemy";
|
|
3883
|
-
agent: string;
|
|
3884
|
-
transfer: {
|
|
3885
|
-
recipients: string[];
|
|
3886
|
-
maxPerActionBaseUnits: string;
|
|
3887
|
-
maxTotalBaseUnits: string;
|
|
3888
|
-
};
|
|
3889
|
-
mandate: {
|
|
3890
|
-
validFrom: number;
|
|
3891
|
-
expiresAt: number;
|
|
3892
|
-
approvalExpiresAt: number;
|
|
3893
|
-
salt?: string;
|
|
3894
|
-
};
|
|
3895
|
-
gas: {
|
|
3896
|
-
maxPerActionWei: string;
|
|
3897
|
-
maxTotalWei: string;
|
|
3898
|
-
expiresAt: number;
|
|
3899
|
-
chargeableOutcomesMask: number;
|
|
3900
|
-
};
|
|
3901
|
-
};
|
|
3902
|
-
};
|
|
3903
|
-
};
|
|
4813
|
+
requestBody?: never;
|
|
3904
4814
|
responses: {
|
|
3905
4815
|
/** @description Default Response */
|
|
3906
4816
|
200: {
|
|
@@ -3909,38 +4819,8 @@ export interface operations {
|
|
|
3909
4819
|
};
|
|
3910
4820
|
content: {
|
|
3911
4821
|
"application/json": {
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
/** Format: date-time */
|
|
3915
|
-
draftExpiresAt: string;
|
|
3916
|
-
/** @enum {string} */
|
|
3917
|
-
environment: "test";
|
|
3918
|
-
/** @enum {number} */
|
|
3919
|
-
chainId: 84532;
|
|
3920
|
-
core: string;
|
|
3921
|
-
account: string;
|
|
3922
|
-
family: "safe" | "nexus" | "kernel" | "alchemy";
|
|
3923
|
-
review: {
|
|
3924
|
-
[key: string]: unknown;
|
|
3925
|
-
};
|
|
3926
|
-
authority: {
|
|
3927
|
-
mandateTerms: {
|
|
3928
|
-
[key: string]: unknown;
|
|
3929
|
-
};
|
|
3930
|
-
mandatePolicy: string;
|
|
3931
|
-
gasPolicy: {
|
|
3932
|
-
[key: string]: unknown;
|
|
3933
|
-
};
|
|
3934
|
-
mandateId: string;
|
|
3935
|
-
gasPolicyId: string;
|
|
3936
|
-
combinedDigest: string;
|
|
3937
|
-
};
|
|
3938
|
-
signing: components["schemas"]["def-5"];
|
|
3939
|
-
submission: {
|
|
3940
|
-
to: string;
|
|
3941
|
-
/** @enum {string} */
|
|
3942
|
-
functionName: "createMandateWithGas";
|
|
3943
|
-
};
|
|
4822
|
+
data: components["schemas"]["def-6"][];
|
|
4823
|
+
nextCursor: string | null;
|
|
3944
4824
|
};
|
|
3945
4825
|
};
|
|
3946
4826
|
};
|
|
@@ -4074,24 +4954,19 @@ export interface operations {
|
|
|
4074
4954
|
};
|
|
4075
4955
|
};
|
|
4076
4956
|
};
|
|
4077
|
-
|
|
4957
|
+
getGasPolicy: {
|
|
4078
4958
|
parameters: {
|
|
4079
|
-
query?:
|
|
4959
|
+
query?: {
|
|
4960
|
+
environment?: "test" | "live";
|
|
4961
|
+
};
|
|
4080
4962
|
header?: never;
|
|
4081
4963
|
path: {
|
|
4082
4964
|
projectId: string;
|
|
4965
|
+
gasPolicyId: string;
|
|
4083
4966
|
};
|
|
4084
4967
|
cookie?: never;
|
|
4085
4968
|
};
|
|
4086
|
-
requestBody
|
|
4087
|
-
content: {
|
|
4088
|
-
"application/json": {
|
|
4089
|
-
/** Format: uuid */
|
|
4090
|
-
draftId: string;
|
|
4091
|
-
transactionHash: string;
|
|
4092
|
-
};
|
|
4093
|
-
};
|
|
4094
|
-
};
|
|
4969
|
+
requestBody?: never;
|
|
4095
4970
|
responses: {
|
|
4096
4971
|
/** @description Default Response */
|
|
4097
4972
|
200: {
|
|
@@ -4103,22 +4978,6 @@ export interface operations {
|
|
|
4103
4978
|
};
|
|
4104
4979
|
};
|
|
4105
4980
|
/** @description Default Response */
|
|
4106
|
-
202: {
|
|
4107
|
-
headers: {
|
|
4108
|
-
[name: string]: unknown;
|
|
4109
|
-
};
|
|
4110
|
-
content: {
|
|
4111
|
-
"application/json": {
|
|
4112
|
-
/** @enum {string} */
|
|
4113
|
-
status: "observing";
|
|
4114
|
-
transactionHash: string;
|
|
4115
|
-
/** Format: uuid */
|
|
4116
|
-
draftId?: string;
|
|
4117
|
-
gasPolicyId?: string;
|
|
4118
|
-
};
|
|
4119
|
-
};
|
|
4120
|
-
};
|
|
4121
|
-
/** @description Default Response */
|
|
4122
4981
|
400: {
|
|
4123
4982
|
headers: {
|
|
4124
4983
|
[name: string]: unknown;
|
|
@@ -4248,20 +5107,23 @@ export interface operations {
|
|
|
4248
5107
|
};
|
|
4249
5108
|
};
|
|
4250
5109
|
};
|
|
4251
|
-
|
|
5110
|
+
prepareGasPolicyRevocation: {
|
|
4252
5111
|
parameters: {
|
|
4253
|
-
query?:
|
|
4254
|
-
environment?: "test" | "live";
|
|
4255
|
-
limit?: number;
|
|
4256
|
-
cursor?: string;
|
|
4257
|
-
};
|
|
5112
|
+
query?: never;
|
|
4258
5113
|
header?: never;
|
|
4259
5114
|
path: {
|
|
4260
5115
|
projectId: string;
|
|
5116
|
+
gasPolicyId: string;
|
|
4261
5117
|
};
|
|
4262
5118
|
cookie?: never;
|
|
4263
5119
|
};
|
|
4264
|
-
requestBody
|
|
5120
|
+
requestBody: {
|
|
5121
|
+
content: {
|
|
5122
|
+
"application/json": {
|
|
5123
|
+
deadline?: number;
|
|
5124
|
+
};
|
|
5125
|
+
};
|
|
5126
|
+
};
|
|
4265
5127
|
responses: {
|
|
4266
5128
|
/** @description Default Response */
|
|
4267
5129
|
200: {
|
|
@@ -4270,8 +5132,25 @@ export interface operations {
|
|
|
4270
5132
|
};
|
|
4271
5133
|
content: {
|
|
4272
5134
|
"application/json": {
|
|
4273
|
-
|
|
4274
|
-
|
|
5135
|
+
gasPolicyId: string;
|
|
5136
|
+
account: string;
|
|
5137
|
+
family: "safe" | "nexus" | "kernel" | "alchemy";
|
|
5138
|
+
/** @enum {number} */
|
|
5139
|
+
chainId: 84532;
|
|
5140
|
+
core: string;
|
|
5141
|
+
nonce: string;
|
|
5142
|
+
deadline: number;
|
|
5143
|
+
digest: string;
|
|
5144
|
+
directOwnerCall: {
|
|
5145
|
+
to: string;
|
|
5146
|
+
data: string;
|
|
5147
|
+
};
|
|
5148
|
+
relayed: {
|
|
5149
|
+
signing: components["schemas"]["def-5"];
|
|
5150
|
+
/** @enum {string} */
|
|
5151
|
+
functionName: "revokeGasPolicy";
|
|
5152
|
+
};
|
|
5153
|
+
observedBlockNumber: string;
|
|
4275
5154
|
};
|
|
4276
5155
|
};
|
|
4277
5156
|
};
|
|
@@ -4405,11 +5284,9 @@ export interface operations {
|
|
|
4405
5284
|
};
|
|
4406
5285
|
};
|
|
4407
5286
|
};
|
|
4408
|
-
|
|
5287
|
+
confirmGasPolicyRevocation: {
|
|
4409
5288
|
parameters: {
|
|
4410
|
-
query?:
|
|
4411
|
-
environment?: "test" | "live";
|
|
4412
|
-
};
|
|
5289
|
+
query?: never;
|
|
4413
5290
|
header?: never;
|
|
4414
5291
|
path: {
|
|
4415
5292
|
projectId: string;
|
|
@@ -4417,7 +5294,13 @@ export interface operations {
|
|
|
4417
5294
|
};
|
|
4418
5295
|
cookie?: never;
|
|
4419
5296
|
};
|
|
4420
|
-
requestBody
|
|
5297
|
+
requestBody: {
|
|
5298
|
+
content: {
|
|
5299
|
+
"application/json": {
|
|
5300
|
+
transactionHash: string;
|
|
5301
|
+
};
|
|
5302
|
+
};
|
|
5303
|
+
};
|
|
4421
5304
|
responses: {
|
|
4422
5305
|
/** @description Default Response */
|
|
4423
5306
|
200: {
|
|
@@ -4429,6 +5312,22 @@ export interface operations {
|
|
|
4429
5312
|
};
|
|
4430
5313
|
};
|
|
4431
5314
|
/** @description Default Response */
|
|
5315
|
+
202: {
|
|
5316
|
+
headers: {
|
|
5317
|
+
[name: string]: unknown;
|
|
5318
|
+
};
|
|
5319
|
+
content: {
|
|
5320
|
+
"application/json": {
|
|
5321
|
+
/** @enum {string} */
|
|
5322
|
+
status: "observing";
|
|
5323
|
+
transactionHash: string;
|
|
5324
|
+
/** Format: uuid */
|
|
5325
|
+
draftId?: string;
|
|
5326
|
+
gasPolicyId?: string;
|
|
5327
|
+
};
|
|
5328
|
+
};
|
|
5329
|
+
};
|
|
5330
|
+
/** @description Default Response */
|
|
4432
5331
|
400: {
|
|
4433
5332
|
headers: {
|
|
4434
5333
|
[name: string]: unknown;
|
|
@@ -4558,7 +5457,7 @@ export interface operations {
|
|
|
4558
5457
|
};
|
|
4559
5458
|
};
|
|
4560
5459
|
};
|
|
4561
|
-
|
|
5460
|
+
prepareGasPolicySafetyAction: {
|
|
4562
5461
|
parameters: {
|
|
4563
5462
|
query?: never;
|
|
4564
5463
|
header?: never;
|
|
@@ -4571,6 +5470,7 @@ export interface operations {
|
|
|
4571
5470
|
requestBody: {
|
|
4572
5471
|
content: {
|
|
4573
5472
|
"application/json": {
|
|
5473
|
+
action: "pause" | "resume";
|
|
4574
5474
|
deadline?: number;
|
|
4575
5475
|
};
|
|
4576
5476
|
};
|
|
@@ -4584,11 +5484,14 @@ export interface operations {
|
|
|
4584
5484
|
content: {
|
|
4585
5485
|
"application/json": {
|
|
4586
5486
|
gasPolicyId: string;
|
|
5487
|
+
mandateId: string;
|
|
4587
5488
|
account: string;
|
|
4588
5489
|
family: "safe" | "nexus" | "kernel" | "alchemy";
|
|
4589
5490
|
/** @enum {number} */
|
|
4590
5491
|
chainId: 84532;
|
|
4591
5492
|
core: string;
|
|
5493
|
+
action: "pause" | "resume";
|
|
5494
|
+
actionCode: 1 | 2;
|
|
4592
5495
|
nonce: string;
|
|
4593
5496
|
deadline: number;
|
|
4594
5497
|
digest: string;
|
|
@@ -4599,7 +5502,7 @@ export interface operations {
|
|
|
4599
5502
|
relayed: {
|
|
4600
5503
|
signing: components["schemas"]["def-5"];
|
|
4601
5504
|
/** @enum {string} */
|
|
4602
|
-
functionName: "
|
|
5505
|
+
functionName: "safetyAction";
|
|
4603
5506
|
};
|
|
4604
5507
|
observedBlockNumber: string;
|
|
4605
5508
|
};
|
|
@@ -4735,7 +5638,7 @@ export interface operations {
|
|
|
4735
5638
|
};
|
|
4736
5639
|
};
|
|
4737
5640
|
};
|
|
4738
|
-
|
|
5641
|
+
confirmGasPolicySafetyAction: {
|
|
4739
5642
|
parameters: {
|
|
4740
5643
|
query?: never;
|
|
4741
5644
|
header?: never;
|
|
@@ -4748,6 +5651,7 @@ export interface operations {
|
|
|
4748
5651
|
requestBody: {
|
|
4749
5652
|
content: {
|
|
4750
5653
|
"application/json": {
|
|
5654
|
+
action: "pause" | "resume";
|
|
4751
5655
|
transactionHash: string;
|
|
4752
5656
|
};
|
|
4753
5657
|
};
|
|
@@ -5238,7 +6142,7 @@ export interface operations {
|
|
|
5238
6142
|
"application/json": {
|
|
5239
6143
|
url: string;
|
|
5240
6144
|
description?: string;
|
|
5241
|
-
eventTypes?: ("gas_execution.updated" | "gas_policy.confirmed" | "gas_policy.revoked" | "webhook.test")[];
|
|
6145
|
+
eventTypes?: ("gas_execution.updated" | "gas_policy.confirmed" | "gas_policy.revoked" | "gas_policy.paused" | "gas_policy.resumed" | "webhook.test")[];
|
|
5242
6146
|
};
|
|
5243
6147
|
};
|
|
5244
6148
|
};
|