@gol/sdk 0.3.0 → 0.5.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.
@@ -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;
@@ -182,6 +230,22 @@ export interface paths {
182
230
  patch?: never;
183
231
  trace?: never;
184
232
  };
233
+ "/v1/projects/{projectId}/gas-executions/{executionId}/transactions": {
234
+ parameters: {
235
+ query?: never;
236
+ header?: never;
237
+ path?: never;
238
+ cookie?: never;
239
+ };
240
+ get?: never;
241
+ put?: never;
242
+ post: operations["submitDeveloperRelayerTransaction"];
243
+ delete?: never;
244
+ options?: never;
245
+ head?: never;
246
+ patch?: never;
247
+ trace?: never;
248
+ };
185
249
  "/v1/projects/{projectId}/audit-events": {
186
250
  parameters: {
187
251
  query?: never;
@@ -262,6 +326,54 @@ export interface paths {
262
326
  patch?: never;
263
327
  trace?: never;
264
328
  };
329
+ "/v1/projects/{projectId}/accounts/{account}/eip7702-setup/prepare": {
330
+ parameters: {
331
+ query?: never;
332
+ header?: never;
333
+ path?: never;
334
+ cookie?: never;
335
+ };
336
+ get?: never;
337
+ put?: never;
338
+ post: operations["prepareEip7702Setup"];
339
+ delete?: never;
340
+ options?: never;
341
+ head?: never;
342
+ patch?: never;
343
+ trace?: never;
344
+ };
345
+ "/v1/projects/{projectId}/accounts/{account}/eip7702-setup": {
346
+ parameters: {
347
+ query?: never;
348
+ header?: never;
349
+ path?: never;
350
+ cookie?: never;
351
+ };
352
+ get?: never;
353
+ put?: never;
354
+ post: operations["submitEip7702Setup"];
355
+ delete?: never;
356
+ options?: never;
357
+ head?: never;
358
+ patch?: never;
359
+ trace?: never;
360
+ };
361
+ "/v1/projects/{projectId}/accounts/{account}/eip7702-setups/{setupId}": {
362
+ parameters: {
363
+ query?: never;
364
+ header?: never;
365
+ path?: never;
366
+ cookie?: never;
367
+ };
368
+ get: operations["getEip7702Setup"];
369
+ put?: never;
370
+ post?: never;
371
+ delete?: never;
372
+ options?: never;
373
+ head?: never;
374
+ patch?: never;
375
+ trace?: never;
376
+ };
265
377
  "/v1/projects/{projectId}/gas-policies/prepare": {
266
378
  parameters: {
267
379
  query?: never;
@@ -294,6 +406,54 @@ export interface paths {
294
406
  patch?: never;
295
407
  trace?: never;
296
408
  };
409
+ "/v1/projects/{projectId}/gas-policies/{gasPolicyId}/children/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["prepareChildMandate"];
419
+ delete?: never;
420
+ options?: never;
421
+ head?: never;
422
+ patch?: never;
423
+ trace?: never;
424
+ };
425
+ "/v1/projects/{projectId}/gas-policies/{gasPolicyId}/children": {
426
+ parameters: {
427
+ query?: never;
428
+ header?: never;
429
+ path?: never;
430
+ cookie?: never;
431
+ };
432
+ get: operations["listChildMandates"];
433
+ put?: never;
434
+ post: operations["submitChildMandate"];
435
+ delete?: never;
436
+ options?: never;
437
+ head?: never;
438
+ patch?: never;
439
+ trace?: never;
440
+ };
441
+ "/v1/projects/{projectId}/gas-policies/{gasPolicyId}/children/confirm": {
442
+ parameters: {
443
+ query?: never;
444
+ header?: never;
445
+ path?: never;
446
+ cookie?: never;
447
+ };
448
+ get?: never;
449
+ put?: never;
450
+ post: operations["confirmChildMandate"];
451
+ delete?: never;
452
+ options?: never;
453
+ head?: never;
454
+ patch?: never;
455
+ trace?: never;
456
+ };
297
457
  "/v1/projects/{projectId}/gas-policies": {
298
458
  parameters: {
299
459
  query?: never;
@@ -589,9 +749,12 @@ export interface components {
589
749
  mandateId: string;
590
750
  actionId: string;
591
751
  gasPolicyId: string | null;
592
- payer: "owner_reimbursement" | "developer";
752
+ payer: "owner_reimbursement" | "developer" | "developer_relayer";
753
+ relayerMode: "gol" | "developer" | null;
754
+ submitter: string | null;
593
755
  state: string;
594
756
  quote: {
757
+ maxChargeWei: string;
595
758
  acceptedOwnerMaximumWei: string;
596
759
  maximumNetworkWei: string;
597
760
  maximumGolExposureWei: string;
@@ -623,6 +786,31 @@ export interface components {
623
786
  eligibleOwnerWei: string;
624
787
  golLossWei: string;
625
788
  developerCostWei: string;
789
+ refusalCode?: string;
790
+ settledWei?: string;
791
+ unpaidWei?: string;
792
+ overchargeWei?: string;
793
+ };
794
+ settlement: null | {
795
+ kind: "inline" | "claim";
796
+ outcome: "success" | "refusal" | "revert";
797
+ gasUnits: string | null;
798
+ gasPriceWei: string;
799
+ declaredL1FeeWei: string | null;
800
+ declaredOperatorFeeWei: string | null;
801
+ chargedWei: string;
802
+ paid: boolean;
803
+ recipient: string;
804
+ submitter: string | null;
805
+ };
806
+ transaction: null | {
807
+ to: string;
808
+ data: string;
809
+ /** @enum {number} */
810
+ chainId: 84532;
811
+ gasLimit: string;
812
+ maxFeePerGasWei: string;
813
+ submitter: string;
626
814
  };
627
815
  claimReceipt: null | {
628
816
  claimTransactionHash: string;
@@ -651,7 +839,7 @@ export interface components {
651
839
  };
652
840
  /** WalletSigningPayload */
653
841
  "def-5": {
654
- family: "safe" | "nexus" | "kernel" | "alchemy";
842
+ family: "safe" | "nexus" | "kernel" | "alchemy" | "nexus7702";
655
843
  /** @enum {string} */
656
844
  method: "eth_signTypedData_v4";
657
845
  typedData: {
@@ -671,14 +859,14 @@ export interface components {
671
859
  };
672
860
  expectedHash: string;
673
861
  digest: string;
674
- signatureFormat: "safe_threshold" | "nexus_k1" | "kernel_root" | "alchemy_entity_zero";
862
+ signatureFormat: "safe_threshold" | "nexus_k1" | "kernel_root" | "alchemy_entity_zero" | "eoa";
675
863
  };
676
864
  /** GasPolicyRecord */
677
865
  "def-6": {
678
866
  gasPolicyId: string;
679
867
  mandateId: string;
680
868
  account: string;
681
- family: ("safe" | "nexus" | "kernel" | "alchemy") | null;
869
+ family: ("safe" | "nexus" | "kernel" | "alchemy" | "nexus7702") | null;
682
870
  agent: string;
683
871
  status: "active" | "paused" | "revoked" | "expired" | "unavailable";
684
872
  maxPerActionWei: string;
@@ -689,6 +877,12 @@ export interface components {
689
877
  chargeableOutcomesMask: number;
690
878
  recipient: string;
691
879
  attester: string;
880
+ relayerMode: "gol" | "developer";
881
+ submitter: string;
882
+ formulaVersion: number;
883
+ maxDepth: number;
884
+ maxActiveDescendants: number;
885
+ activeDescendants: number;
692
886
  approvalTransactionHash: string | null;
693
887
  revocationTransactionHash: string | null;
694
888
  observedBlockNumber: string;
@@ -747,6 +941,41 @@ export interface components {
747
941
  golCostWei: string | null;
748
942
  disputed: boolean;
749
943
  };
944
+ /** ChildMandateRecord */
945
+ "def-10": {
946
+ mandateId: string;
947
+ parentMandateId: string;
948
+ rootMandateId: string;
949
+ gasPolicyId: string;
950
+ agent: string;
951
+ depth: number;
952
+ status: "pending" | "active" | "paused" | "revoked" | "expired" | "failed" | "unavailable";
953
+ recipients: string[];
954
+ maxPerActionBaseUnits: string;
955
+ maxTotalBaseUnits: string;
956
+ validFrom: number;
957
+ expiresAt: number;
958
+ creationTransactionHash: string | null;
959
+ sponsored: boolean;
960
+ /** Format: date-time */
961
+ createdAt: string;
962
+ /** Format: date-time */
963
+ updatedAt: string;
964
+ };
965
+ /** Eip7702SetupRecord */
966
+ "def-11": {
967
+ /** Format: uuid */
968
+ id: string;
969
+ account: string;
970
+ state: "accepted" | "signed" | "submitted" | "confirmed" | "failed";
971
+ transactionHash: string | null;
972
+ blockNumber: string | null;
973
+ failureReason: string | null;
974
+ /** Format: date-time */
975
+ createdAt: string;
976
+ /** Format: date-time */
977
+ updatedAt: string;
978
+ };
750
979
  };
751
980
  responses: never;
752
981
  parameters: never;
@@ -1150,14 +1379,21 @@ export interface operations {
1150
1379
  };
1151
1380
  };
1152
1381
  };
1153
- getConsoleIdentity: {
1382
+ createGoogleSession: {
1154
1383
  parameters: {
1155
1384
  query?: never;
1156
1385
  header?: never;
1157
1386
  path?: never;
1158
1387
  cookie?: never;
1159
1388
  };
1160
- requestBody?: never;
1389
+ requestBody: {
1390
+ content: {
1391
+ "application/json": {
1392
+ idToken: string;
1393
+ nonce: string;
1394
+ };
1395
+ };
1396
+ };
1161
1397
  responses: {
1162
1398
  /** @description Default Response */
1163
1399
  200: {
@@ -1166,6 +1402,9 @@ export interface operations {
1166
1402
  };
1167
1403
  content: {
1168
1404
  "application/json": {
1405
+ sessionToken: string;
1406
+ /** Format: date-time */
1407
+ expiresAt: string;
1169
1408
  developer: {
1170
1409
  /** Format: uuid */
1171
1410
  id: string;
@@ -1304,7 +1543,7 @@ export interface operations {
1304
1543
  };
1305
1544
  };
1306
1545
  };
1307
- listProjects: {
1546
+ renewConsoleSession: {
1308
1547
  parameters: {
1309
1548
  query?: never;
1310
1549
  header?: never;
@@ -1320,18 +1559,14 @@ export interface operations {
1320
1559
  };
1321
1560
  content: {
1322
1561
  "application/json": {
1323
- data: {
1562
+ sessionToken: string;
1563
+ /** Format: date-time */
1564
+ expiresAt: string;
1565
+ developer: {
1324
1566
  /** Format: uuid */
1325
1567
  id: string;
1326
- name: string;
1327
- slug: string;
1328
- /** Format: date-time */
1329
- createdAt: string;
1330
- environments: {
1331
- name: "test" | "live";
1332
- status: "active" | "unavailable";
1333
- }[];
1334
- }[];
1568
+ email: string;
1569
+ };
1335
1570
  };
1336
1571
  };
1337
1572
  };
@@ -1465,40 +1700,21 @@ export interface operations {
1465
1700
  };
1466
1701
  };
1467
1702
  };
1468
- createProject: {
1703
+ revokeConsoleSession: {
1469
1704
  parameters: {
1470
1705
  query?: never;
1471
1706
  header?: never;
1472
1707
  path?: never;
1473
1708
  cookie?: never;
1474
1709
  };
1475
- requestBody: {
1476
- content: {
1477
- "application/json": {
1478
- name: string;
1479
- };
1480
- };
1481
- };
1710
+ requestBody?: never;
1482
1711
  responses: {
1483
1712
  /** @description Default Response */
1484
- 201: {
1713
+ 204: {
1485
1714
  headers: {
1486
1715
  [name: string]: unknown;
1487
1716
  };
1488
- content: {
1489
- "application/json": {
1490
- /** Format: uuid */
1491
- id: string;
1492
- name: string;
1493
- slug: string;
1494
- /** Format: date-time */
1495
- createdAt: string;
1496
- environments: {
1497
- name: "test" | "live";
1498
- status: "active" | "unavailable";
1499
- }[];
1500
- };
1501
- };
1717
+ content?: never;
1502
1718
  };
1503
1719
  /** @description Default Response */
1504
1720
  400: {
@@ -1630,13 +1846,11 @@ export interface operations {
1630
1846
  };
1631
1847
  };
1632
1848
  };
1633
- listApiKeys: {
1849
+ getConsoleIdentity: {
1634
1850
  parameters: {
1635
1851
  query?: never;
1636
1852
  header?: never;
1637
- path: {
1638
- projectId: string;
1639
- };
1853
+ path?: never;
1640
1854
  cookie?: never;
1641
1855
  };
1642
1856
  requestBody?: never;
@@ -1648,19 +1862,11 @@ export interface operations {
1648
1862
  };
1649
1863
  content: {
1650
1864
  "application/json": {
1651
- data: {
1865
+ developer: {
1652
1866
  /** Format: uuid */
1653
1867
  id: string;
1654
- name: string;
1655
- environment: "test" | "live";
1656
- hint: string;
1657
- scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
1658
- /** Format: date-time */
1659
- createdAt: string;
1660
- expiresAt: string | null;
1661
- revokedAt: string | null;
1662
- lastUsedAt: string | null;
1663
- }[];
1868
+ email: string;
1869
+ };
1664
1870
  };
1665
1871
  };
1666
1872
  };
@@ -1794,46 +2000,34 @@ export interface operations {
1794
2000
  };
1795
2001
  };
1796
2002
  };
1797
- createApiKey: {
2003
+ listProjects: {
1798
2004
  parameters: {
1799
2005
  query?: never;
1800
2006
  header?: never;
1801
- path: {
1802
- projectId: string;
1803
- };
2007
+ path?: never;
1804
2008
  cookie?: never;
1805
2009
  };
1806
- requestBody: {
1807
- content: {
1808
- "application/json": {
1809
- name: string;
1810
- environment: "test" | "live";
1811
- scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
1812
- };
1813
- };
1814
- };
2010
+ requestBody?: never;
1815
2011
  responses: {
1816
2012
  /** @description Default Response */
1817
- 201: {
2013
+ 200: {
1818
2014
  headers: {
1819
2015
  [name: string]: unknown;
1820
2016
  };
1821
2017
  content: {
1822
2018
  "application/json": {
1823
- apiKey: {
2019
+ data: {
1824
2020
  /** Format: uuid */
1825
2021
  id: string;
1826
2022
  name: string;
1827
- environment: "test" | "live";
1828
- hint: string;
1829
- scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
2023
+ slug: string;
1830
2024
  /** Format: date-time */
1831
2025
  createdAt: string;
1832
- expiresAt: string | null;
1833
- revokedAt: string | null;
1834
- lastUsedAt: string | null;
1835
- };
1836
- secret: string;
2026
+ environments: {
2027
+ name: "test" | "live";
2028
+ status: "active" | "unavailable";
2029
+ }[];
2030
+ }[];
1837
2031
  };
1838
2032
  };
1839
2033
  };
@@ -1967,20 +2161,23 @@ export interface operations {
1967
2161
  };
1968
2162
  };
1969
2163
  };
1970
- revokeApiKey: {
2164
+ createProject: {
1971
2165
  parameters: {
1972
2166
  query?: never;
1973
2167
  header?: never;
1974
- path: {
1975
- projectId: string;
1976
- apiKeyId: string;
1977
- };
2168
+ path?: never;
1978
2169
  cookie?: never;
1979
2170
  };
1980
- requestBody?: never;
2171
+ requestBody: {
2172
+ content: {
2173
+ "application/json": {
2174
+ name: string;
2175
+ };
2176
+ };
2177
+ };
1981
2178
  responses: {
1982
2179
  /** @description Default Response */
1983
- 200: {
2180
+ 201: {
1984
2181
  headers: {
1985
2182
  [name: string]: unknown;
1986
2183
  };
@@ -1989,14 +2186,13 @@ export interface operations {
1989
2186
  /** Format: uuid */
1990
2187
  id: string;
1991
2188
  name: string;
1992
- environment: "test" | "live";
1993
- hint: string;
1994
- scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
2189
+ slug: string;
1995
2190
  /** Format: date-time */
1996
2191
  createdAt: string;
1997
- expiresAt: string | null;
1998
- revokedAt: string | null;
1999
- lastUsedAt: string | null;
2192
+ environments: {
2193
+ name: "test" | "live";
2194
+ status: "active" | "unavailable";
2195
+ }[];
2000
2196
  };
2001
2197
  };
2002
2198
  };
@@ -2130,33 +2326,25 @@ export interface operations {
2130
2326
  };
2131
2327
  };
2132
2328
  };
2133
- rotateApiKey: {
2329
+ listApiKeys: {
2134
2330
  parameters: {
2135
2331
  query?: never;
2136
2332
  header?: never;
2137
2333
  path: {
2138
2334
  projectId: string;
2139
- apiKeyId: string;
2140
2335
  };
2141
2336
  cookie?: never;
2142
2337
  };
2143
- requestBody: {
2144
- content: {
2145
- "application/json": {
2146
- /** @default 3600 */
2147
- overlapSeconds: number;
2148
- };
2149
- };
2150
- };
2338
+ requestBody?: never;
2151
2339
  responses: {
2152
2340
  /** @description Default Response */
2153
- 201: {
2341
+ 200: {
2154
2342
  headers: {
2155
2343
  [name: string]: unknown;
2156
2344
  };
2157
2345
  content: {
2158
2346
  "application/json": {
2159
- apiKey: {
2347
+ data: {
2160
2348
  /** Format: uuid */
2161
2349
  id: string;
2162
2350
  name: string;
@@ -2168,10 +2356,7 @@ export interface operations {
2168
2356
  expiresAt: string | null;
2169
2357
  revokedAt: string | null;
2170
2358
  lastUsedAt: string | null;
2171
- };
2172
- secret: string;
2173
- /** Format: date-time */
2174
- previousKeyValidUntil: string;
2359
+ }[];
2175
2360
  };
2176
2361
  };
2177
2362
  };
@@ -2305,12 +2490,10 @@ export interface operations {
2305
2490
  };
2306
2491
  };
2307
2492
  };
2308
- prepareGasExecution: {
2493
+ createApiKey: {
2309
2494
  parameters: {
2310
2495
  query?: never;
2311
- header: {
2312
- "idempotency-key": string;
2313
- };
2496
+ header?: never;
2314
2497
  path: {
2315
2498
  projectId: string;
2316
2499
  };
@@ -2319,60 +2502,34 @@ export interface operations {
2319
2502
  requestBody: {
2320
2503
  content: {
2321
2504
  "application/json": {
2322
- mandateId: string;
2323
- gasPolicyId: string;
2324
- recipient: string;
2325
- amountBaseUnits: string;
2326
- deadline: number;
2505
+ name: string;
2506
+ environment: "test" | "live";
2507
+ scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
2327
2508
  };
2328
2509
  };
2329
2510
  };
2330
2511
  responses: {
2331
2512
  /** @description Default Response */
2332
- 200: {
2513
+ 201: {
2333
2514
  headers: {
2334
2515
  [name: string]: unknown;
2335
2516
  };
2336
2517
  content: {
2337
2518
  "application/json": {
2338
- actionId: string;
2339
- /** @enum {number} */
2340
- chainId: 84532;
2341
- core: string;
2342
- asset: string;
2343
- recipient: string;
2344
- amountBaseUnits: string;
2345
- digest: string;
2346
- typedData: {
2347
- domain: {
2348
- /** @enum {string} */
2349
- name: "GOL Mandate";
2350
- /** @enum {string} */
2351
- version: "2";
2352
- /** @enum {number} */
2353
- chainId: 84532;
2354
- verifyingContract: string;
2355
- };
2356
- types: {
2357
- ActionAuthorization: {
2358
- name: string;
2359
- type: string;
2360
- }[];
2361
- };
2362
- /** @enum {string} */
2363
- primaryType: "ActionAuthorization";
2364
- message: {
2365
- mandateId: string;
2366
- /** @enum {number} */
2367
- actionTag: 1;
2368
- /** @enum {number} */
2369
- schemaVersion: 1;
2370
- actionId: string;
2371
- capabilityDigest: string;
2372
- deadline: number;
2373
- inputHash: string;
2374
- };
2519
+ apiKey: {
2520
+ /** Format: uuid */
2521
+ id: string;
2522
+ name: string;
2523
+ environment: "test" | "live";
2524
+ hint: string;
2525
+ scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
2526
+ /** Format: date-time */
2527
+ createdAt: string;
2528
+ expiresAt: string | null;
2529
+ revokedAt: string | null;
2530
+ lastUsedAt: string | null;
2375
2531
  };
2532
+ secret: string;
2376
2533
  };
2377
2534
  };
2378
2535
  };
@@ -2506,17 +2663,13 @@ export interface operations {
2506
2663
  };
2507
2664
  };
2508
2665
  };
2509
- listGasExecutions: {
2666
+ revokeApiKey: {
2510
2667
  parameters: {
2511
- query?: {
2512
- environment?: "test" | "live";
2513
- limit?: number;
2514
- cursor?: string;
2515
- state?: string;
2516
- };
2668
+ query?: never;
2517
2669
  header?: never;
2518
2670
  path: {
2519
2671
  projectId: string;
2672
+ apiKeyId: string;
2520
2673
  };
2521
2674
  cookie?: never;
2522
2675
  };
@@ -2529,8 +2682,17 @@ export interface operations {
2529
2682
  };
2530
2683
  content: {
2531
2684
  "application/json": {
2532
- data: components["schemas"]["def-9"][];
2533
- nextCursor: string | null;
2685
+ /** Format: uuid */
2686
+ id: string;
2687
+ name: string;
2688
+ environment: "test" | "live";
2689
+ hint: string;
2690
+ scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
2691
+ /** Format: date-time */
2692
+ createdAt: string;
2693
+ expiresAt: string | null;
2694
+ revokedAt: string | null;
2695
+ lastUsedAt: string | null;
2534
2696
  };
2535
2697
  };
2536
2698
  };
@@ -2664,196 +2826,2380 @@ export interface operations {
2664
2826
  };
2665
2827
  };
2666
2828
  };
2667
- submitGasExecution: {
2829
+ rotateApiKey: {
2668
2830
  parameters: {
2669
2831
  query?: never;
2670
- header: {
2671
- "idempotency-key": string;
2672
- };
2832
+ header?: never;
2673
2833
  path: {
2674
2834
  projectId: string;
2835
+ apiKeyId: string;
2675
2836
  };
2676
2837
  cookie?: never;
2677
2838
  };
2678
2839
  requestBody: {
2679
2840
  content: {
2680
2841
  "application/json": {
2681
- mandateId: string;
2682
- gasPolicyId: string;
2683
- recipient: string;
2684
- amountBaseUnits: string;
2685
- deadline: number;
2686
- agentSignature: string;
2842
+ /** @default 3600 */
2843
+ overlapSeconds: number;
2687
2844
  };
2688
2845
  };
2689
2846
  };
2690
2847
  responses: {
2691
2848
  /** @description Default Response */
2692
- 200: {
2849
+ 201: {
2693
2850
  headers: {
2694
2851
  [name: string]: unknown;
2695
2852
  };
2696
2853
  content: {
2697
2854
  "application/json": {
2698
- /** Format: uuid */
2699
- id: string;
2700
- /** Format: uuid */
2701
- projectId: string;
2702
- contractProjectId: string;
2703
- environment: "test" | "live";
2704
- chainId: number;
2705
- account: string;
2706
- agent: string;
2707
- core: string;
2708
- accountProfileId: string;
2709
- installEpoch: string;
2710
- mandateId: string;
2711
- actionId: string;
2712
- gasPolicyId: string | null;
2713
- payer: "owner_reimbursement" | "developer";
2714
- state: string;
2715
- quote: {
2716
- acceptedOwnerMaximumWei: string;
2717
- maximumNetworkWei: string;
2718
- maximumGolExposureWei: string;
2719
- /** Format: date-time */
2720
- expiresAt: string;
2721
- formulaVersion: number;
2722
- chargeableOutcomesMask: number;
2723
- };
2724
- transactionHashes: string[];
2725
- broadcasts: {
2726
- transactionHash: string;
2727
- providerId: string;
2728
- outcome: "accepted" | "indeterminate";
2729
- /** Format: date-time */
2730
- observedAt: string;
2731
- }[];
2732
- receipt: null | {
2733
- transactionHash: string;
2734
- blockHash: string;
2735
- blockNumber: string;
2736
- finalizedBlockNumber: string;
2737
- outcome: "success" | "refusal" | "revert";
2738
- gasUsed: string;
2739
- effectiveGasPrice: string;
2740
- executionWei: string;
2741
- l1DataWei: string;
2742
- operatorWei: string;
2743
- totalNetworkWei: string;
2744
- eligibleOwnerWei: string;
2745
- golLossWei: string;
2746
- developerCostWei: string;
2747
- };
2748
- claimReceipt: null | {
2749
- claimTransactionHash: string;
2750
- blockHash: string;
2751
- blockNumber: string;
2752
- finalizedBlockNumber: string;
2753
- collectedWei: string;
2754
- golClaimNetworkCostWei: string;
2755
- status: "collected" | "reverted";
2756
- };
2757
- ledger: {
2758
- category: string;
2759
- amountWei: string;
2760
- transactionHash: string | null;
2761
- }[];
2762
- disputes: {
2855
+ apiKey: {
2763
2856
  /** Format: uuid */
2764
2857
  id: string;
2765
- status: "open" | "resolved";
2766
- reason: string;
2858
+ name: string;
2859
+ environment: "test" | "live";
2860
+ hint: string;
2861
+ scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
2767
2862
  /** Format: date-time */
2768
- openedAt: string;
2769
- resolvedAt: string | null;
2770
- resolution: string | null;
2771
- }[];
2863
+ createdAt: string;
2864
+ expiresAt: string | null;
2865
+ revokedAt: string | null;
2866
+ lastUsedAt: string | null;
2867
+ };
2868
+ secret: string;
2869
+ /** Format: date-time */
2870
+ previousKeyValidUntil: string;
2772
2871
  };
2773
2872
  };
2774
2873
  };
2775
2874
  /** @description Default Response */
2776
- 202: {
2875
+ 400: {
2876
+ headers: {
2877
+ [name: string]: unknown;
2878
+ };
2879
+ content: {
2880
+ "application/json": {
2881
+ error: {
2882
+ code: string;
2883
+ message: string;
2884
+ /** Format: uuid */
2885
+ correlationId: string;
2886
+ };
2887
+ };
2888
+ };
2889
+ };
2890
+ /** @description Default Response */
2891
+ 401: {
2892
+ headers: {
2893
+ [name: string]: unknown;
2894
+ };
2895
+ content: {
2896
+ "application/json": {
2897
+ error: {
2898
+ code: string;
2899
+ message: string;
2900
+ /** Format: uuid */
2901
+ correlationId: string;
2902
+ };
2903
+ };
2904
+ };
2905
+ };
2906
+ /** @description Default Response */
2907
+ 403: {
2908
+ headers: {
2909
+ [name: string]: unknown;
2910
+ };
2911
+ content: {
2912
+ "application/json": {
2913
+ error: {
2914
+ code: string;
2915
+ message: string;
2916
+ /** Format: uuid */
2917
+ correlationId: string;
2918
+ };
2919
+ };
2920
+ };
2921
+ };
2922
+ /** @description Default Response */
2923
+ 404: {
2924
+ headers: {
2925
+ [name: string]: unknown;
2926
+ };
2927
+ content: {
2928
+ "application/json": {
2929
+ error: {
2930
+ code: string;
2931
+ message: string;
2932
+ /** Format: uuid */
2933
+ correlationId: string;
2934
+ };
2935
+ };
2936
+ };
2937
+ };
2938
+ /** @description Default Response */
2939
+ 409: {
2940
+ headers: {
2941
+ [name: string]: unknown;
2942
+ };
2943
+ content: {
2944
+ "application/json": {
2945
+ error: {
2946
+ code: string;
2947
+ message: string;
2948
+ /** Format: uuid */
2949
+ correlationId: string;
2950
+ };
2951
+ };
2952
+ };
2953
+ };
2954
+ /** @description Default Response */
2955
+ 429: {
2956
+ headers: {
2957
+ [name: string]: unknown;
2958
+ };
2959
+ content: {
2960
+ "application/json": {
2961
+ error: {
2962
+ code: string;
2963
+ message: string;
2964
+ /** Format: uuid */
2965
+ correlationId: string;
2966
+ };
2967
+ };
2968
+ };
2969
+ };
2970
+ /** @description Default Response */
2971
+ 500: {
2972
+ headers: {
2973
+ [name: string]: unknown;
2974
+ };
2975
+ content: {
2976
+ "application/json": {
2977
+ error: {
2978
+ code: string;
2979
+ message: string;
2980
+ /** Format: uuid */
2981
+ correlationId: string;
2982
+ };
2983
+ };
2984
+ };
2985
+ };
2986
+ /** @description Default Response */
2987
+ 503: {
2988
+ headers: {
2989
+ [name: string]: unknown;
2990
+ };
2991
+ content: {
2992
+ "application/json": {
2993
+ error: {
2994
+ code: string;
2995
+ message: string;
2996
+ /** Format: uuid */
2997
+ correlationId: string;
2998
+ };
2999
+ };
3000
+ };
3001
+ };
3002
+ };
3003
+ };
3004
+ prepareGasExecution: {
3005
+ parameters: {
3006
+ query?: never;
3007
+ header: {
3008
+ "idempotency-key": string;
3009
+ };
3010
+ path: {
3011
+ projectId: string;
3012
+ };
3013
+ cookie?: never;
3014
+ };
3015
+ requestBody: {
3016
+ content: {
3017
+ "application/json": {
3018
+ mandateId: string;
3019
+ gasPolicyId: string;
3020
+ recipient: string;
3021
+ amountBaseUnits: string;
3022
+ deadline: number;
3023
+ };
3024
+ };
3025
+ };
3026
+ responses: {
3027
+ /** @description Default Response */
3028
+ 200: {
2777
3029
  headers: {
2778
3030
  [name: string]: unknown;
2779
3031
  };
2780
3032
  content: {
2781
3033
  "application/json": {
2782
- /** Format: uuid */
2783
- id: string;
2784
- /** Format: uuid */
2785
- projectId: string;
2786
- contractProjectId: string;
2787
- environment: "test" | "live";
2788
- chainId: number;
2789
- account: string;
2790
- agent: string;
2791
- core: string;
2792
- accountProfileId: string;
2793
- installEpoch: string;
2794
- mandateId: string;
2795
3034
  actionId: string;
2796
- gasPolicyId: string | null;
2797
- payer: "owner_reimbursement" | "developer";
2798
- state: string;
2799
- quote: {
2800
- acceptedOwnerMaximumWei: string;
2801
- maximumNetworkWei: string;
2802
- maximumGolExposureWei: string;
2803
- /** Format: date-time */
2804
- expiresAt: string;
2805
- formulaVersion: number;
2806
- chargeableOutcomesMask: number;
3035
+ /** @enum {number} */
3036
+ chainId: 84532;
3037
+ core: string;
3038
+ asset: string;
3039
+ mandateId: string;
3040
+ gasPolicyId: string;
3041
+ agent: string;
3042
+ recipient: string;
3043
+ amountBaseUnits: string;
3044
+ relayerMode: "gol" | "developer";
3045
+ maxChargeWei: string;
3046
+ digest: string;
3047
+ typedData: {
3048
+ domain: {
3049
+ /** @enum {string} */
3050
+ name: "GOL Mandate";
3051
+ /** @enum {string} */
3052
+ version: "3";
3053
+ /** @enum {number} */
3054
+ chainId: 84532;
3055
+ verifyingContract: string;
3056
+ };
3057
+ types: {
3058
+ GasActionAuthorization: {
3059
+ name: string;
3060
+ type: string;
3061
+ }[];
3062
+ };
3063
+ /** @enum {string} */
3064
+ primaryType: "GasActionAuthorization";
3065
+ message: {
3066
+ mandateId: string;
3067
+ /** @enum {number} */
3068
+ actionTag: 1;
3069
+ /** @enum {number} */
3070
+ schemaVersion: 1;
3071
+ actionId: string;
3072
+ capabilityDigest: string;
3073
+ deadline: number;
3074
+ inputHash: string;
3075
+ gasPolicyId: string;
3076
+ maxCharge: string;
3077
+ };
3078
+ };
3079
+ };
3080
+ };
3081
+ };
3082
+ /** @description Default Response */
3083
+ 400: {
3084
+ headers: {
3085
+ [name: string]: unknown;
3086
+ };
3087
+ content: {
3088
+ "application/json": {
3089
+ error: {
3090
+ code: string;
3091
+ message: string;
3092
+ /** Format: uuid */
3093
+ correlationId: string;
3094
+ };
3095
+ };
3096
+ };
3097
+ };
3098
+ /** @description Default Response */
3099
+ 401: {
3100
+ headers: {
3101
+ [name: string]: unknown;
3102
+ };
3103
+ content: {
3104
+ "application/json": {
3105
+ error: {
3106
+ code: string;
3107
+ message: string;
3108
+ /** Format: uuid */
3109
+ correlationId: string;
3110
+ };
3111
+ };
3112
+ };
3113
+ };
3114
+ /** @description Default Response */
3115
+ 403: {
3116
+ headers: {
3117
+ [name: string]: unknown;
3118
+ };
3119
+ content: {
3120
+ "application/json": {
3121
+ error: {
3122
+ code: string;
3123
+ message: string;
3124
+ /** Format: uuid */
3125
+ correlationId: string;
3126
+ };
3127
+ };
3128
+ };
3129
+ };
3130
+ /** @description Default Response */
3131
+ 404: {
3132
+ headers: {
3133
+ [name: string]: unknown;
3134
+ };
3135
+ content: {
3136
+ "application/json": {
3137
+ error: {
3138
+ code: string;
3139
+ message: string;
3140
+ /** Format: uuid */
3141
+ correlationId: string;
3142
+ };
3143
+ };
3144
+ };
3145
+ };
3146
+ /** @description Default Response */
3147
+ 409: {
3148
+ headers: {
3149
+ [name: string]: unknown;
3150
+ };
3151
+ content: {
3152
+ "application/json": {
3153
+ error: {
3154
+ code: string;
3155
+ message: string;
3156
+ /** Format: uuid */
3157
+ correlationId: string;
3158
+ };
3159
+ };
3160
+ };
3161
+ };
3162
+ /** @description Default Response */
3163
+ 429: {
3164
+ headers: {
3165
+ [name: string]: unknown;
3166
+ };
3167
+ content: {
3168
+ "application/json": {
3169
+ error: {
3170
+ code: string;
3171
+ message: string;
3172
+ /** Format: uuid */
3173
+ correlationId: string;
3174
+ };
3175
+ };
3176
+ };
3177
+ };
3178
+ /** @description Default Response */
3179
+ 500: {
3180
+ headers: {
3181
+ [name: string]: unknown;
3182
+ };
3183
+ content: {
3184
+ "application/json": {
3185
+ error: {
3186
+ code: string;
3187
+ message: string;
3188
+ /** Format: uuid */
3189
+ correlationId: string;
3190
+ };
3191
+ };
3192
+ };
3193
+ };
3194
+ /** @description Default Response */
3195
+ 503: {
3196
+ headers: {
3197
+ [name: string]: unknown;
3198
+ };
3199
+ content: {
3200
+ "application/json": {
3201
+ error: {
3202
+ code: string;
3203
+ message: string;
3204
+ /** Format: uuid */
3205
+ correlationId: string;
3206
+ };
3207
+ };
3208
+ };
3209
+ };
3210
+ };
3211
+ };
3212
+ listGasExecutions: {
3213
+ parameters: {
3214
+ query?: {
3215
+ environment?: "test" | "live";
3216
+ limit?: number;
3217
+ cursor?: string;
3218
+ state?: string;
3219
+ };
3220
+ header?: never;
3221
+ path: {
3222
+ projectId: string;
3223
+ };
3224
+ cookie?: never;
3225
+ };
3226
+ requestBody?: never;
3227
+ responses: {
3228
+ /** @description Default Response */
3229
+ 200: {
3230
+ headers: {
3231
+ [name: string]: unknown;
3232
+ };
3233
+ content: {
3234
+ "application/json": {
3235
+ data: components["schemas"]["def-9"][];
3236
+ nextCursor: string | null;
3237
+ };
3238
+ };
3239
+ };
3240
+ /** @description Default Response */
3241
+ 400: {
3242
+ headers: {
3243
+ [name: string]: unknown;
3244
+ };
3245
+ content: {
3246
+ "application/json": {
3247
+ error: {
3248
+ code: string;
3249
+ message: string;
3250
+ /** Format: uuid */
3251
+ correlationId: string;
3252
+ };
3253
+ };
3254
+ };
3255
+ };
3256
+ /** @description Default Response */
3257
+ 401: {
3258
+ headers: {
3259
+ [name: string]: unknown;
3260
+ };
3261
+ content: {
3262
+ "application/json": {
3263
+ error: {
3264
+ code: string;
3265
+ message: string;
3266
+ /** Format: uuid */
3267
+ correlationId: string;
3268
+ };
3269
+ };
3270
+ };
3271
+ };
3272
+ /** @description Default Response */
3273
+ 403: {
3274
+ headers: {
3275
+ [name: string]: unknown;
3276
+ };
3277
+ content: {
3278
+ "application/json": {
3279
+ error: {
3280
+ code: string;
3281
+ message: string;
3282
+ /** Format: uuid */
3283
+ correlationId: string;
3284
+ };
3285
+ };
3286
+ };
3287
+ };
3288
+ /** @description Default Response */
3289
+ 404: {
3290
+ headers: {
3291
+ [name: string]: unknown;
3292
+ };
3293
+ content: {
3294
+ "application/json": {
3295
+ error: {
3296
+ code: string;
3297
+ message: string;
3298
+ /** Format: uuid */
3299
+ correlationId: string;
3300
+ };
3301
+ };
3302
+ };
3303
+ };
3304
+ /** @description Default Response */
3305
+ 409: {
3306
+ headers: {
3307
+ [name: string]: unknown;
3308
+ };
3309
+ content: {
3310
+ "application/json": {
3311
+ error: {
3312
+ code: string;
3313
+ message: string;
3314
+ /** Format: uuid */
3315
+ correlationId: string;
3316
+ };
3317
+ };
3318
+ };
3319
+ };
3320
+ /** @description Default Response */
3321
+ 429: {
3322
+ headers: {
3323
+ [name: string]: unknown;
3324
+ };
3325
+ content: {
3326
+ "application/json": {
3327
+ error: {
3328
+ code: string;
3329
+ message: string;
3330
+ /** Format: uuid */
3331
+ correlationId: string;
3332
+ };
3333
+ };
3334
+ };
3335
+ };
3336
+ /** @description Default Response */
3337
+ 500: {
3338
+ headers: {
3339
+ [name: string]: unknown;
3340
+ };
3341
+ content: {
3342
+ "application/json": {
3343
+ error: {
3344
+ code: string;
3345
+ message: string;
3346
+ /** Format: uuid */
3347
+ correlationId: string;
3348
+ };
3349
+ };
3350
+ };
3351
+ };
3352
+ /** @description Default Response */
3353
+ 503: {
3354
+ headers: {
3355
+ [name: string]: unknown;
3356
+ };
3357
+ content: {
3358
+ "application/json": {
3359
+ error: {
3360
+ code: string;
3361
+ message: string;
3362
+ /** Format: uuid */
3363
+ correlationId: string;
3364
+ };
3365
+ };
3366
+ };
3367
+ };
3368
+ };
3369
+ };
3370
+ submitGasExecution: {
3371
+ parameters: {
3372
+ query?: never;
3373
+ header: {
3374
+ "idempotency-key": string;
3375
+ };
3376
+ path: {
3377
+ projectId: string;
3378
+ };
3379
+ cookie?: never;
3380
+ };
3381
+ requestBody: {
3382
+ content: {
3383
+ "application/json": {
3384
+ mandateId: string;
3385
+ gasPolicyId: string;
3386
+ recipient: string;
3387
+ amountBaseUnits: string;
3388
+ deadline: number;
3389
+ maxChargeWei: string;
3390
+ agentSignature: string;
3391
+ };
3392
+ };
3393
+ };
3394
+ responses: {
3395
+ /** @description Default Response */
3396
+ 200: {
3397
+ headers: {
3398
+ [name: string]: unknown;
3399
+ };
3400
+ content: {
3401
+ "application/json": {
3402
+ /** Format: uuid */
3403
+ id: string;
3404
+ /** Format: uuid */
3405
+ projectId: string;
3406
+ contractProjectId: string;
3407
+ environment: "test" | "live";
3408
+ chainId: number;
3409
+ account: string;
3410
+ agent: string;
3411
+ core: string;
3412
+ accountProfileId: string;
3413
+ installEpoch: string;
3414
+ mandateId: string;
3415
+ actionId: string;
3416
+ gasPolicyId: string | null;
3417
+ payer: "owner_reimbursement" | "developer" | "developer_relayer";
3418
+ relayerMode: "gol" | "developer" | null;
3419
+ submitter: string | null;
3420
+ state: string;
3421
+ quote: {
3422
+ maxChargeWei: string;
3423
+ acceptedOwnerMaximumWei: string;
3424
+ maximumNetworkWei: string;
3425
+ maximumGolExposureWei: string;
3426
+ /** Format: date-time */
3427
+ expiresAt: string;
3428
+ formulaVersion: number;
3429
+ chargeableOutcomesMask: number;
3430
+ };
3431
+ transactionHashes: string[];
3432
+ broadcasts: {
3433
+ transactionHash: string;
3434
+ providerId: string;
3435
+ outcome: "accepted" | "indeterminate";
3436
+ /** Format: date-time */
3437
+ observedAt: string;
3438
+ }[];
3439
+ receipt: null | {
3440
+ transactionHash: string;
3441
+ blockHash: string;
3442
+ blockNumber: string;
3443
+ finalizedBlockNumber: string;
3444
+ outcome: "success" | "refusal" | "revert";
3445
+ gasUsed: string;
3446
+ effectiveGasPrice: string;
3447
+ executionWei: string;
3448
+ l1DataWei: string;
3449
+ operatorWei: string;
3450
+ totalNetworkWei: string;
3451
+ eligibleOwnerWei: string;
3452
+ golLossWei: string;
3453
+ developerCostWei: string;
3454
+ refusalCode?: string;
3455
+ settledWei?: string;
3456
+ unpaidWei?: string;
3457
+ overchargeWei?: string;
3458
+ };
3459
+ settlement: null | {
3460
+ kind: "inline" | "claim";
3461
+ outcome: "success" | "refusal" | "revert";
3462
+ gasUnits: string | null;
3463
+ gasPriceWei: string;
3464
+ declaredL1FeeWei: string | null;
3465
+ declaredOperatorFeeWei: string | null;
3466
+ chargedWei: string;
3467
+ paid: boolean;
3468
+ recipient: string;
3469
+ submitter: string | null;
3470
+ };
3471
+ transaction: null | {
3472
+ to: string;
3473
+ data: string;
3474
+ /** @enum {number} */
3475
+ chainId: 84532;
3476
+ gasLimit: string;
3477
+ maxFeePerGasWei: string;
3478
+ submitter: string;
3479
+ };
3480
+ claimReceipt: null | {
3481
+ claimTransactionHash: string;
3482
+ blockHash: string;
3483
+ blockNumber: string;
3484
+ finalizedBlockNumber: string;
3485
+ collectedWei: string;
3486
+ golClaimNetworkCostWei: string;
3487
+ status: "collected" | "reverted";
3488
+ };
3489
+ ledger: {
3490
+ category: string;
3491
+ amountWei: string;
3492
+ transactionHash: string | null;
3493
+ }[];
3494
+ disputes: {
3495
+ /** Format: uuid */
3496
+ id: string;
3497
+ status: "open" | "resolved";
3498
+ reason: string;
3499
+ /** Format: date-time */
3500
+ openedAt: string;
3501
+ resolvedAt: string | null;
3502
+ resolution: string | null;
3503
+ }[];
3504
+ };
3505
+ };
3506
+ };
3507
+ /** @description Default Response */
3508
+ 202: {
3509
+ headers: {
3510
+ [name: string]: unknown;
3511
+ };
3512
+ content: {
3513
+ "application/json": {
3514
+ /** Format: uuid */
3515
+ id: string;
3516
+ /** Format: uuid */
3517
+ projectId: string;
3518
+ contractProjectId: string;
3519
+ environment: "test" | "live";
3520
+ chainId: number;
3521
+ account: string;
3522
+ agent: string;
3523
+ core: string;
3524
+ accountProfileId: string;
3525
+ installEpoch: string;
3526
+ mandateId: string;
3527
+ actionId: string;
3528
+ gasPolicyId: string | null;
3529
+ payer: "owner_reimbursement" | "developer" | "developer_relayer";
3530
+ relayerMode: "gol" | "developer" | null;
3531
+ submitter: string | null;
3532
+ state: string;
3533
+ quote: {
3534
+ maxChargeWei: string;
3535
+ acceptedOwnerMaximumWei: string;
3536
+ maximumNetworkWei: string;
3537
+ maximumGolExposureWei: string;
3538
+ /** Format: date-time */
3539
+ expiresAt: string;
3540
+ formulaVersion: number;
3541
+ chargeableOutcomesMask: number;
3542
+ };
3543
+ transactionHashes: string[];
3544
+ broadcasts: {
3545
+ transactionHash: string;
3546
+ providerId: string;
3547
+ outcome: "accepted" | "indeterminate";
3548
+ /** Format: date-time */
3549
+ observedAt: string;
3550
+ }[];
3551
+ receipt: null | {
3552
+ transactionHash: string;
3553
+ blockHash: string;
3554
+ blockNumber: string;
3555
+ finalizedBlockNumber: string;
3556
+ outcome: "success" | "refusal" | "revert";
3557
+ gasUsed: string;
3558
+ effectiveGasPrice: string;
3559
+ executionWei: string;
3560
+ l1DataWei: string;
3561
+ operatorWei: string;
3562
+ totalNetworkWei: string;
3563
+ eligibleOwnerWei: string;
3564
+ golLossWei: string;
3565
+ developerCostWei: string;
3566
+ refusalCode?: string;
3567
+ settledWei?: string;
3568
+ unpaidWei?: string;
3569
+ overchargeWei?: string;
3570
+ };
3571
+ settlement: null | {
3572
+ kind: "inline" | "claim";
3573
+ outcome: "success" | "refusal" | "revert";
3574
+ gasUnits: string | null;
3575
+ gasPriceWei: string;
3576
+ declaredL1FeeWei: string | null;
3577
+ declaredOperatorFeeWei: string | null;
3578
+ chargedWei: string;
3579
+ paid: boolean;
3580
+ recipient: string;
3581
+ submitter: string | null;
3582
+ };
3583
+ transaction: null | {
3584
+ to: string;
3585
+ data: string;
3586
+ /** @enum {number} */
3587
+ chainId: 84532;
3588
+ gasLimit: string;
3589
+ maxFeePerGasWei: string;
3590
+ submitter: string;
3591
+ };
3592
+ claimReceipt: null | {
3593
+ claimTransactionHash: string;
3594
+ blockHash: string;
3595
+ blockNumber: string;
3596
+ finalizedBlockNumber: string;
3597
+ collectedWei: string;
3598
+ golClaimNetworkCostWei: string;
3599
+ status: "collected" | "reverted";
3600
+ };
3601
+ ledger: {
3602
+ category: string;
3603
+ amountWei: string;
3604
+ transactionHash: string | null;
3605
+ }[];
3606
+ disputes: {
3607
+ /** Format: uuid */
3608
+ id: string;
3609
+ status: "open" | "resolved";
3610
+ reason: string;
3611
+ /** Format: date-time */
3612
+ openedAt: string;
3613
+ resolvedAt: string | null;
3614
+ resolution: string | null;
3615
+ }[];
3616
+ };
3617
+ };
3618
+ };
3619
+ /** @description Default Response */
3620
+ 400: {
3621
+ headers: {
3622
+ [name: string]: unknown;
3623
+ };
3624
+ content: {
3625
+ "application/json": {
3626
+ error: {
3627
+ code: string;
3628
+ message: string;
3629
+ /** Format: uuid */
3630
+ correlationId: string;
3631
+ };
3632
+ };
3633
+ };
3634
+ };
3635
+ /** @description Default Response */
3636
+ 401: {
3637
+ headers: {
3638
+ [name: string]: unknown;
3639
+ };
3640
+ content: {
3641
+ "application/json": {
3642
+ error: {
3643
+ code: string;
3644
+ message: string;
3645
+ /** Format: uuid */
3646
+ correlationId: string;
3647
+ };
3648
+ };
3649
+ };
3650
+ };
3651
+ /** @description Default Response */
3652
+ 403: {
3653
+ headers: {
3654
+ [name: string]: unknown;
3655
+ };
3656
+ content: {
3657
+ "application/json": {
3658
+ error: {
3659
+ code: string;
3660
+ message: string;
3661
+ /** Format: uuid */
3662
+ correlationId: string;
3663
+ };
3664
+ };
3665
+ };
3666
+ };
3667
+ /** @description Default Response */
3668
+ 404: {
3669
+ headers: {
3670
+ [name: string]: unknown;
3671
+ };
3672
+ content: {
3673
+ "application/json": {
3674
+ error: {
3675
+ code: string;
3676
+ message: string;
3677
+ /** Format: uuid */
3678
+ correlationId: string;
3679
+ };
3680
+ };
3681
+ };
3682
+ };
3683
+ /** @description Default Response */
3684
+ 409: {
3685
+ headers: {
3686
+ [name: string]: unknown;
3687
+ };
3688
+ content: {
3689
+ "application/json": {
3690
+ error: {
3691
+ code: string;
3692
+ message: string;
3693
+ /** Format: uuid */
3694
+ correlationId: string;
3695
+ };
3696
+ };
3697
+ };
3698
+ };
3699
+ /** @description Default Response */
3700
+ 429: {
3701
+ headers: {
3702
+ [name: string]: unknown;
3703
+ };
3704
+ content: {
3705
+ "application/json": {
3706
+ error: {
3707
+ code: string;
3708
+ message: string;
3709
+ /** Format: uuid */
3710
+ correlationId: string;
3711
+ };
3712
+ };
3713
+ };
3714
+ };
3715
+ /** @description Default Response */
3716
+ 500: {
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
+ 503: {
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
+ };
3748
+ };
3749
+ submitDeveloperRelayerTransaction: {
3750
+ parameters: {
3751
+ query?: never;
3752
+ header?: never;
3753
+ path: {
3754
+ projectId: string;
3755
+ executionId: string;
3756
+ };
3757
+ cookie?: never;
3758
+ };
3759
+ requestBody: {
3760
+ content: {
3761
+ "application/json": {
3762
+ rawSignedTransaction: string;
3763
+ };
3764
+ };
3765
+ };
3766
+ responses: {
3767
+ /** @description Default Response */
3768
+ 202: {
3769
+ headers: {
3770
+ [name: string]: unknown;
3771
+ };
3772
+ content: {
3773
+ "application/json": {
3774
+ /** Format: uuid */
3775
+ id: string;
3776
+ /** Format: uuid */
3777
+ projectId: string;
3778
+ contractProjectId: string;
3779
+ environment: "test" | "live";
3780
+ chainId: number;
3781
+ account: string;
3782
+ agent: string;
3783
+ core: string;
3784
+ accountProfileId: string;
3785
+ installEpoch: string;
3786
+ mandateId: string;
3787
+ actionId: string;
3788
+ gasPolicyId: string | null;
3789
+ payer: "owner_reimbursement" | "developer" | "developer_relayer";
3790
+ relayerMode: "gol" | "developer" | null;
3791
+ submitter: string | null;
3792
+ state: string;
3793
+ quote: {
3794
+ maxChargeWei: string;
3795
+ acceptedOwnerMaximumWei: string;
3796
+ maximumNetworkWei: string;
3797
+ maximumGolExposureWei: string;
3798
+ /** Format: date-time */
3799
+ expiresAt: string;
3800
+ formulaVersion: number;
3801
+ chargeableOutcomesMask: number;
3802
+ };
3803
+ transactionHashes: string[];
3804
+ broadcasts: {
3805
+ transactionHash: string;
3806
+ providerId: string;
3807
+ outcome: "accepted" | "indeterminate";
3808
+ /** Format: date-time */
3809
+ observedAt: string;
3810
+ }[];
3811
+ receipt: null | {
3812
+ transactionHash: string;
3813
+ blockHash: string;
3814
+ blockNumber: string;
3815
+ finalizedBlockNumber: string;
3816
+ outcome: "success" | "refusal" | "revert";
3817
+ gasUsed: string;
3818
+ effectiveGasPrice: string;
3819
+ executionWei: string;
3820
+ l1DataWei: string;
3821
+ operatorWei: string;
3822
+ totalNetworkWei: string;
3823
+ eligibleOwnerWei: string;
3824
+ golLossWei: string;
3825
+ developerCostWei: string;
3826
+ refusalCode?: string;
3827
+ settledWei?: string;
3828
+ unpaidWei?: string;
3829
+ overchargeWei?: string;
3830
+ };
3831
+ settlement: null | {
3832
+ kind: "inline" | "claim";
3833
+ outcome: "success" | "refusal" | "revert";
3834
+ gasUnits: string | null;
3835
+ gasPriceWei: string;
3836
+ declaredL1FeeWei: string | null;
3837
+ declaredOperatorFeeWei: string | null;
3838
+ chargedWei: string;
3839
+ paid: boolean;
3840
+ recipient: string;
3841
+ submitter: string | null;
3842
+ };
3843
+ transaction: null | {
3844
+ to: string;
3845
+ data: string;
3846
+ /** @enum {number} */
3847
+ chainId: 84532;
3848
+ gasLimit: string;
3849
+ maxFeePerGasWei: string;
3850
+ submitter: string;
3851
+ };
3852
+ claimReceipt: null | {
3853
+ claimTransactionHash: string;
3854
+ blockHash: string;
3855
+ blockNumber: string;
3856
+ finalizedBlockNumber: string;
3857
+ collectedWei: string;
3858
+ golClaimNetworkCostWei: string;
3859
+ status: "collected" | "reverted";
3860
+ };
3861
+ ledger: {
3862
+ category: string;
3863
+ amountWei: string;
3864
+ transactionHash: string | null;
3865
+ }[];
3866
+ disputes: {
3867
+ /** Format: uuid */
3868
+ id: string;
3869
+ status: "open" | "resolved";
3870
+ reason: string;
3871
+ /** Format: date-time */
3872
+ openedAt: string;
3873
+ resolvedAt: string | null;
3874
+ resolution: string | null;
3875
+ }[];
3876
+ };
3877
+ };
3878
+ };
3879
+ /** @description Default Response */
3880
+ 400: {
3881
+ headers: {
3882
+ [name: string]: unknown;
3883
+ };
3884
+ content: {
3885
+ "application/json": {
3886
+ error: {
3887
+ code: string;
3888
+ message: string;
3889
+ /** Format: uuid */
3890
+ correlationId: string;
3891
+ };
3892
+ };
3893
+ };
3894
+ };
3895
+ /** @description Default Response */
3896
+ 401: {
3897
+ headers: {
3898
+ [name: string]: unknown;
3899
+ };
3900
+ content: {
3901
+ "application/json": {
3902
+ error: {
3903
+ code: string;
3904
+ message: string;
3905
+ /** Format: uuid */
3906
+ correlationId: string;
3907
+ };
3908
+ };
3909
+ };
3910
+ };
3911
+ /** @description Default Response */
3912
+ 403: {
3913
+ headers: {
3914
+ [name: string]: unknown;
3915
+ };
3916
+ content: {
3917
+ "application/json": {
3918
+ error: {
3919
+ code: string;
3920
+ message: string;
3921
+ /** Format: uuid */
3922
+ correlationId: string;
3923
+ };
3924
+ };
3925
+ };
3926
+ };
3927
+ /** @description Default Response */
3928
+ 404: {
3929
+ headers: {
3930
+ [name: string]: unknown;
3931
+ };
3932
+ content: {
3933
+ "application/json": {
3934
+ error: {
3935
+ code: string;
3936
+ message: string;
3937
+ /** Format: uuid */
3938
+ correlationId: string;
3939
+ };
3940
+ };
3941
+ };
3942
+ };
3943
+ /** @description Default Response */
3944
+ 409: {
3945
+ headers: {
3946
+ [name: string]: unknown;
3947
+ };
3948
+ content: {
3949
+ "application/json": {
3950
+ error: {
3951
+ code: string;
3952
+ message: string;
3953
+ /** Format: uuid */
3954
+ correlationId: string;
3955
+ };
3956
+ };
3957
+ };
3958
+ };
3959
+ /** @description Default Response */
3960
+ 429: {
3961
+ headers: {
3962
+ [name: string]: unknown;
3963
+ };
3964
+ content: {
3965
+ "application/json": {
3966
+ error: {
3967
+ code: string;
3968
+ message: string;
3969
+ /** Format: uuid */
3970
+ correlationId: string;
3971
+ };
3972
+ };
3973
+ };
3974
+ };
3975
+ /** @description Default Response */
3976
+ 500: {
3977
+ headers: {
3978
+ [name: string]: unknown;
3979
+ };
3980
+ content: {
3981
+ "application/json": {
3982
+ error: {
3983
+ code: string;
3984
+ message: string;
3985
+ /** Format: uuid */
3986
+ correlationId: string;
3987
+ };
3988
+ };
3989
+ };
3990
+ };
3991
+ /** @description Default Response */
3992
+ 503: {
3993
+ headers: {
3994
+ [name: string]: unknown;
3995
+ };
3996
+ content: {
3997
+ "application/json": {
3998
+ error: {
3999
+ code: string;
4000
+ message: string;
4001
+ /** Format: uuid */
4002
+ correlationId: string;
4003
+ };
4004
+ };
4005
+ };
4006
+ };
4007
+ };
4008
+ };
4009
+ listAuditEvents: {
4010
+ parameters: {
4011
+ query?: {
4012
+ limit?: number;
4013
+ };
4014
+ header?: never;
4015
+ path: {
4016
+ projectId: string;
4017
+ };
4018
+ cookie?: never;
4019
+ };
4020
+ requestBody?: never;
4021
+ responses: {
4022
+ /** @description Default Response */
4023
+ 200: {
4024
+ headers: {
4025
+ [name: string]: unknown;
4026
+ };
4027
+ content: {
4028
+ "application/json": {
4029
+ data: {
4030
+ /** Format: uuid */
4031
+ id: string;
4032
+ environment: "test" | "live";
4033
+ actorType: "developer" | "api_key" | "system";
4034
+ action: string;
4035
+ correlationId: string;
4036
+ metadata: {
4037
+ [key: string]: string | number | boolean | null;
4038
+ };
4039
+ /** Format: date-time */
4040
+ createdAt: string;
4041
+ }[];
4042
+ };
4043
+ };
4044
+ };
4045
+ /** @description Default Response */
4046
+ 400: {
4047
+ headers: {
4048
+ [name: string]: unknown;
4049
+ };
4050
+ content: {
4051
+ "application/json": {
4052
+ error: {
4053
+ code: string;
4054
+ message: string;
4055
+ /** Format: uuid */
4056
+ correlationId: string;
4057
+ };
4058
+ };
4059
+ };
4060
+ };
4061
+ /** @description Default Response */
4062
+ 401: {
4063
+ headers: {
4064
+ [name: string]: unknown;
4065
+ };
4066
+ content: {
4067
+ "application/json": {
4068
+ error: {
4069
+ code: string;
4070
+ message: string;
4071
+ /** Format: uuid */
4072
+ correlationId: string;
4073
+ };
4074
+ };
4075
+ };
4076
+ };
4077
+ /** @description Default Response */
4078
+ 403: {
4079
+ headers: {
4080
+ [name: string]: unknown;
4081
+ };
4082
+ content: {
4083
+ "application/json": {
4084
+ error: {
4085
+ code: string;
4086
+ message: string;
4087
+ /** Format: uuid */
4088
+ correlationId: string;
4089
+ };
4090
+ };
4091
+ };
4092
+ };
4093
+ /** @description Default Response */
4094
+ 404: {
4095
+ headers: {
4096
+ [name: string]: unknown;
4097
+ };
4098
+ content: {
4099
+ "application/json": {
4100
+ error: {
4101
+ code: string;
4102
+ message: string;
4103
+ /** Format: uuid */
4104
+ correlationId: string;
4105
+ };
4106
+ };
4107
+ };
4108
+ };
4109
+ /** @description Default Response */
4110
+ 409: {
4111
+ headers: {
4112
+ [name: string]: unknown;
4113
+ };
4114
+ content: {
4115
+ "application/json": {
4116
+ error: {
4117
+ code: string;
4118
+ message: string;
4119
+ /** Format: uuid */
4120
+ correlationId: string;
4121
+ };
4122
+ };
4123
+ };
4124
+ };
4125
+ /** @description Default Response */
4126
+ 429: {
4127
+ headers: {
4128
+ [name: string]: unknown;
4129
+ };
4130
+ content: {
4131
+ "application/json": {
4132
+ error: {
4133
+ code: string;
4134
+ message: string;
4135
+ /** Format: uuid */
4136
+ correlationId: string;
4137
+ };
4138
+ };
4139
+ };
4140
+ };
4141
+ /** @description Default Response */
4142
+ 500: {
4143
+ headers: {
4144
+ [name: string]: unknown;
4145
+ };
4146
+ content: {
4147
+ "application/json": {
4148
+ error: {
4149
+ code: string;
4150
+ message: string;
4151
+ /** Format: uuid */
4152
+ correlationId: string;
4153
+ };
4154
+ };
4155
+ };
4156
+ };
4157
+ /** @description Default Response */
4158
+ 503: {
4159
+ headers: {
4160
+ [name: string]: unknown;
4161
+ };
4162
+ content: {
4163
+ "application/json": {
4164
+ error: {
4165
+ code: string;
4166
+ message: string;
4167
+ /** Format: uuid */
4168
+ correlationId: string;
4169
+ };
4170
+ };
4171
+ };
4172
+ };
4173
+ };
4174
+ };
4175
+ getApiKeyIdentity: {
4176
+ parameters: {
4177
+ query?: never;
4178
+ header?: never;
4179
+ path?: never;
4180
+ cookie?: never;
4181
+ };
4182
+ requestBody?: never;
4183
+ responses: {
4184
+ /** @description Default Response */
4185
+ 200: {
4186
+ headers: {
4187
+ [name: string]: unknown;
4188
+ };
4189
+ content: {
4190
+ "application/json": {
4191
+ project: {
4192
+ /** Format: uuid */
4193
+ id: string;
4194
+ name: string;
4195
+ slug: string;
4196
+ /** Format: date-time */
4197
+ createdAt: string;
4198
+ environments: {
4199
+ name: "test" | "live";
4200
+ status: "active" | "unavailable";
4201
+ }[];
4202
+ };
4203
+ environment: "test" | "live";
4204
+ apiKey: {
4205
+ /** Format: uuid */
4206
+ id: string;
4207
+ name: string;
4208
+ environment: "test" | "live";
4209
+ hint: string;
4210
+ scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
4211
+ /** Format: date-time */
4212
+ createdAt: string;
4213
+ expiresAt: string | null;
4214
+ revokedAt: string | null;
4215
+ lastUsedAt: string | null;
4216
+ };
4217
+ };
4218
+ };
4219
+ };
4220
+ /** @description Default Response */
4221
+ 400: {
4222
+ headers: {
4223
+ [name: string]: unknown;
4224
+ };
4225
+ content: {
4226
+ "application/json": {
4227
+ error: {
4228
+ code: string;
4229
+ message: string;
4230
+ /** Format: uuid */
4231
+ correlationId: string;
4232
+ };
4233
+ };
4234
+ };
4235
+ };
4236
+ /** @description Default Response */
4237
+ 401: {
4238
+ headers: {
4239
+ [name: string]: unknown;
4240
+ };
4241
+ content: {
4242
+ "application/json": {
4243
+ error: {
4244
+ code: string;
4245
+ message: string;
4246
+ /** Format: uuid */
4247
+ correlationId: string;
4248
+ };
4249
+ };
4250
+ };
4251
+ };
4252
+ /** @description Default Response */
4253
+ 403: {
4254
+ headers: {
4255
+ [name: string]: unknown;
4256
+ };
4257
+ content: {
4258
+ "application/json": {
4259
+ error: {
4260
+ code: string;
4261
+ message: string;
4262
+ /** Format: uuid */
4263
+ correlationId: string;
4264
+ };
4265
+ };
4266
+ };
4267
+ };
4268
+ /** @description Default Response */
4269
+ 404: {
4270
+ headers: {
4271
+ [name: string]: unknown;
4272
+ };
4273
+ content: {
4274
+ "application/json": {
4275
+ error: {
4276
+ code: string;
4277
+ message: string;
4278
+ /** Format: uuid */
4279
+ correlationId: string;
4280
+ };
4281
+ };
4282
+ };
4283
+ };
4284
+ /** @description Default Response */
4285
+ 409: {
4286
+ headers: {
4287
+ [name: string]: unknown;
4288
+ };
4289
+ content: {
4290
+ "application/json": {
4291
+ error: {
4292
+ code: string;
4293
+ message: string;
4294
+ /** Format: uuid */
4295
+ correlationId: string;
4296
+ };
4297
+ };
4298
+ };
4299
+ };
4300
+ /** @description Default Response */
4301
+ 429: {
4302
+ headers: {
4303
+ [name: string]: unknown;
4304
+ };
4305
+ content: {
4306
+ "application/json": {
4307
+ error: {
4308
+ code: string;
4309
+ message: string;
4310
+ /** Format: uuid */
4311
+ correlationId: string;
4312
+ };
4313
+ };
4314
+ };
4315
+ };
4316
+ /** @description Default Response */
4317
+ 500: {
4318
+ headers: {
4319
+ [name: string]: unknown;
4320
+ };
4321
+ content: {
4322
+ "application/json": {
4323
+ error: {
4324
+ code: string;
4325
+ message: string;
4326
+ /** Format: uuid */
4327
+ correlationId: string;
4328
+ };
4329
+ };
4330
+ };
4331
+ };
4332
+ /** @description Default Response */
4333
+ 503: {
4334
+ headers: {
4335
+ [name: string]: unknown;
4336
+ };
4337
+ content: {
4338
+ "application/json": {
4339
+ error: {
4340
+ code: string;
4341
+ message: string;
4342
+ /** Format: uuid */
4343
+ correlationId: string;
4344
+ };
4345
+ };
4346
+ };
4347
+ };
4348
+ };
4349
+ };
4350
+ getGasExecution: {
4351
+ parameters: {
4352
+ query?: {
4353
+ environment?: "test" | "live";
4354
+ };
4355
+ header?: never;
4356
+ path: {
4357
+ projectId: string;
4358
+ executionId: string;
4359
+ };
4360
+ cookie?: never;
4361
+ };
4362
+ requestBody?: never;
4363
+ responses: {
4364
+ /** @description Default Response */
4365
+ 200: {
4366
+ headers: {
4367
+ [name: string]: unknown;
4368
+ };
4369
+ content: {
4370
+ "application/json": {
4371
+ /** Format: uuid */
4372
+ id: string;
4373
+ /** Format: uuid */
4374
+ projectId: string;
4375
+ contractProjectId: string;
4376
+ environment: "test" | "live";
4377
+ chainId: number;
4378
+ account: string;
4379
+ agent: string;
4380
+ core: string;
4381
+ accountProfileId: string;
4382
+ installEpoch: string;
4383
+ mandateId: string;
4384
+ actionId: string;
4385
+ gasPolicyId: string | null;
4386
+ payer: "owner_reimbursement" | "developer" | "developer_relayer";
4387
+ relayerMode: "gol" | "developer" | null;
4388
+ submitter: string | null;
4389
+ state: string;
4390
+ quote: {
4391
+ maxChargeWei: string;
4392
+ acceptedOwnerMaximumWei: string;
4393
+ maximumNetworkWei: string;
4394
+ maximumGolExposureWei: string;
4395
+ /** Format: date-time */
4396
+ expiresAt: string;
4397
+ formulaVersion: number;
4398
+ chargeableOutcomesMask: number;
4399
+ };
4400
+ transactionHashes: string[];
4401
+ broadcasts: {
4402
+ transactionHash: string;
4403
+ providerId: string;
4404
+ outcome: "accepted" | "indeterminate";
4405
+ /** Format: date-time */
4406
+ observedAt: string;
4407
+ }[];
4408
+ receipt: null | {
4409
+ transactionHash: string;
4410
+ blockHash: string;
4411
+ blockNumber: string;
4412
+ finalizedBlockNumber: string;
4413
+ outcome: "success" | "refusal" | "revert";
4414
+ gasUsed: string;
4415
+ effectiveGasPrice: string;
4416
+ executionWei: string;
4417
+ l1DataWei: string;
4418
+ operatorWei: string;
4419
+ totalNetworkWei: string;
4420
+ eligibleOwnerWei: string;
4421
+ golLossWei: string;
4422
+ developerCostWei: string;
4423
+ refusalCode?: string;
4424
+ settledWei?: string;
4425
+ unpaidWei?: string;
4426
+ overchargeWei?: string;
4427
+ };
4428
+ settlement: null | {
4429
+ kind: "inline" | "claim";
4430
+ outcome: "success" | "refusal" | "revert";
4431
+ gasUnits: string | null;
4432
+ gasPriceWei: string;
4433
+ declaredL1FeeWei: string | null;
4434
+ declaredOperatorFeeWei: string | null;
4435
+ chargedWei: string;
4436
+ paid: boolean;
4437
+ recipient: string;
4438
+ submitter: string | null;
4439
+ };
4440
+ transaction: null | {
4441
+ to: string;
4442
+ data: string;
4443
+ /** @enum {number} */
4444
+ chainId: 84532;
4445
+ gasLimit: string;
4446
+ maxFeePerGasWei: string;
4447
+ submitter: string;
4448
+ };
4449
+ claimReceipt: null | {
4450
+ claimTransactionHash: string;
4451
+ blockHash: string;
4452
+ blockNumber: string;
4453
+ finalizedBlockNumber: string;
4454
+ collectedWei: string;
4455
+ golClaimNetworkCostWei: string;
4456
+ status: "collected" | "reverted";
4457
+ };
4458
+ ledger: {
4459
+ category: string;
4460
+ amountWei: string;
4461
+ transactionHash: string | null;
4462
+ }[];
4463
+ disputes: {
4464
+ /** Format: uuid */
4465
+ id: string;
4466
+ status: "open" | "resolved";
4467
+ reason: string;
4468
+ /** Format: date-time */
4469
+ openedAt: string;
4470
+ resolvedAt: string | null;
4471
+ resolution: string | null;
4472
+ }[];
4473
+ };
4474
+ };
4475
+ };
4476
+ /** @description Default Response */
4477
+ 400: {
4478
+ headers: {
4479
+ [name: string]: unknown;
4480
+ };
4481
+ content: {
4482
+ "application/json": {
4483
+ error: {
4484
+ code: string;
4485
+ message: string;
4486
+ /** Format: uuid */
4487
+ correlationId: string;
4488
+ };
4489
+ };
4490
+ };
4491
+ };
4492
+ /** @description Default Response */
4493
+ 401: {
4494
+ headers: {
4495
+ [name: string]: unknown;
4496
+ };
4497
+ content: {
4498
+ "application/json": {
4499
+ error: {
4500
+ code: string;
4501
+ message: string;
4502
+ /** Format: uuid */
4503
+ correlationId: string;
4504
+ };
4505
+ };
4506
+ };
4507
+ };
4508
+ /** @description Default Response */
4509
+ 403: {
4510
+ headers: {
4511
+ [name: string]: unknown;
4512
+ };
4513
+ content: {
4514
+ "application/json": {
4515
+ error: {
4516
+ code: string;
4517
+ message: string;
4518
+ /** Format: uuid */
4519
+ correlationId: string;
4520
+ };
4521
+ };
4522
+ };
4523
+ };
4524
+ /** @description Default Response */
4525
+ 404: {
4526
+ headers: {
4527
+ [name: string]: unknown;
4528
+ };
4529
+ content: {
4530
+ "application/json": {
4531
+ error: {
4532
+ code: string;
4533
+ message: string;
4534
+ /** Format: uuid */
4535
+ correlationId: string;
4536
+ };
4537
+ };
4538
+ };
4539
+ };
4540
+ /** @description Default Response */
4541
+ 409: {
4542
+ headers: {
4543
+ [name: string]: unknown;
4544
+ };
4545
+ content: {
4546
+ "application/json": {
4547
+ error: {
4548
+ code: string;
4549
+ message: string;
4550
+ /** Format: uuid */
4551
+ correlationId: string;
4552
+ };
4553
+ };
4554
+ };
4555
+ };
4556
+ /** @description Default Response */
4557
+ 429: {
4558
+ headers: {
4559
+ [name: string]: unknown;
4560
+ };
4561
+ content: {
4562
+ "application/json": {
4563
+ error: {
4564
+ code: string;
4565
+ message: string;
4566
+ /** Format: uuid */
4567
+ correlationId: string;
4568
+ };
4569
+ };
4570
+ };
4571
+ };
4572
+ /** @description Default Response */
4573
+ 500: {
4574
+ headers: {
4575
+ [name: string]: unknown;
4576
+ };
4577
+ content: {
4578
+ "application/json": {
4579
+ error: {
4580
+ code: string;
4581
+ message: string;
4582
+ /** Format: uuid */
4583
+ correlationId: string;
4584
+ };
4585
+ };
4586
+ };
4587
+ };
4588
+ /** @description Default Response */
4589
+ 503: {
4590
+ headers: {
4591
+ [name: string]: unknown;
4592
+ };
4593
+ content: {
4594
+ "application/json": {
4595
+ error: {
4596
+ code: string;
4597
+ message: string;
4598
+ /** Format: uuid */
4599
+ correlationId: string;
4600
+ };
4601
+ };
4602
+ };
4603
+ };
4604
+ };
4605
+ };
4606
+ getGasConfiguration: {
4607
+ parameters: {
4608
+ query?: {
4609
+ environment?: "test" | "live";
4610
+ };
4611
+ header?: never;
4612
+ path: {
4613
+ projectId: string;
4614
+ };
4615
+ cookie?: never;
4616
+ };
4617
+ requestBody?: never;
4618
+ responses: {
4619
+ /** @description Default Response */
4620
+ 200: {
4621
+ headers: {
4622
+ [name: string]: unknown;
4623
+ };
4624
+ content: {
4625
+ "application/json": {
4626
+ /** @enum {string} */
4627
+ environment: "test";
4628
+ /** @enum {number} */
4629
+ chainId: 84532;
4630
+ core: string;
4631
+ gasRouter: string;
4632
+ /** @enum {string} */
4633
+ domainVersion: "3";
4634
+ /** @enum {number} */
4635
+ formulaVersion: 2;
4636
+ asset: {
4637
+ address: string;
4638
+ /** @enum {string} */
4639
+ symbol: "USDC";
4640
+ /** @enum {number} */
4641
+ decimals: 6;
4642
+ };
4643
+ capabilityDigest: string;
4644
+ gasRecipient: string;
4645
+ attester: string;
4646
+ relayer: string;
4647
+ relayerModes: ("gol" | "developer")[];
4648
+ eip7702: {
4649
+ delegate: string;
4650
+ delegateCodeHash: string;
4651
+ bootstrap: string;
4652
+ defaultValidator: string;
4653
+ sponsorship: {
4654
+ available: boolean;
4655
+ perProjectDailyLimit: number;
4656
+ };
4657
+ };
4658
+ trees: {
4659
+ maxDepth: number;
4660
+ maxActiveDescendants: number;
4661
+ sponsorship: {
4662
+ available: boolean;
4663
+ perProjectDailyLimit: number;
4664
+ };
4665
+ };
4666
+ profiles: {
4667
+ family: "safe" | "nexus" | "kernel" | "alchemy" | "nexus7702";
4668
+ profileId: string;
4669
+ implementation: string;
4670
+ label: string;
4671
+ }[];
4672
+ limits: {
4673
+ recommendedPerActionWei: string;
4674
+ maxPerActionWei: string;
4675
+ maxTotalWei: string;
4676
+ };
4677
+ };
4678
+ };
4679
+ };
4680
+ /** @description Default Response */
4681
+ 400: {
4682
+ headers: {
4683
+ [name: string]: unknown;
4684
+ };
4685
+ content: {
4686
+ "application/json": {
4687
+ error: {
4688
+ code: string;
4689
+ message: string;
4690
+ /** Format: uuid */
4691
+ correlationId: string;
4692
+ };
4693
+ };
4694
+ };
4695
+ };
4696
+ /** @description Default Response */
4697
+ 401: {
4698
+ headers: {
4699
+ [name: string]: unknown;
4700
+ };
4701
+ content: {
4702
+ "application/json": {
4703
+ error: {
4704
+ code: string;
4705
+ message: string;
4706
+ /** Format: uuid */
4707
+ correlationId: string;
4708
+ };
4709
+ };
4710
+ };
4711
+ };
4712
+ /** @description Default Response */
4713
+ 403: {
4714
+ headers: {
4715
+ [name: string]: unknown;
4716
+ };
4717
+ content: {
4718
+ "application/json": {
4719
+ error: {
4720
+ code: string;
4721
+ message: string;
4722
+ /** Format: uuid */
4723
+ correlationId: string;
4724
+ };
4725
+ };
4726
+ };
4727
+ };
4728
+ /** @description Default Response */
4729
+ 404: {
4730
+ headers: {
4731
+ [name: string]: unknown;
4732
+ };
4733
+ content: {
4734
+ "application/json": {
4735
+ error: {
4736
+ code: string;
4737
+ message: string;
4738
+ /** Format: uuid */
4739
+ correlationId: string;
4740
+ };
4741
+ };
4742
+ };
4743
+ };
4744
+ /** @description Default Response */
4745
+ 409: {
4746
+ headers: {
4747
+ [name: string]: unknown;
4748
+ };
4749
+ content: {
4750
+ "application/json": {
4751
+ error: {
4752
+ code: string;
4753
+ message: string;
4754
+ /** Format: uuid */
4755
+ correlationId: string;
4756
+ };
4757
+ };
4758
+ };
4759
+ };
4760
+ /** @description Default Response */
4761
+ 429: {
4762
+ headers: {
4763
+ [name: string]: unknown;
4764
+ };
4765
+ content: {
4766
+ "application/json": {
4767
+ error: {
4768
+ code: string;
4769
+ message: string;
4770
+ /** Format: uuid */
4771
+ correlationId: string;
4772
+ };
4773
+ };
4774
+ };
4775
+ };
4776
+ /** @description Default Response */
4777
+ 500: {
4778
+ headers: {
4779
+ [name: string]: unknown;
4780
+ };
4781
+ content: {
4782
+ "application/json": {
4783
+ error: {
4784
+ code: string;
4785
+ message: string;
4786
+ /** Format: uuid */
4787
+ correlationId: string;
4788
+ };
4789
+ };
4790
+ };
4791
+ };
4792
+ /** @description Default Response */
4793
+ 503: {
4794
+ headers: {
4795
+ [name: string]: unknown;
4796
+ };
4797
+ content: {
4798
+ "application/json": {
4799
+ error: {
4800
+ code: string;
4801
+ message: string;
4802
+ /** Format: uuid */
4803
+ correlationId: string;
4804
+ };
4805
+ };
4806
+ };
4807
+ };
4808
+ };
4809
+ };
4810
+ getAccountStatus: {
4811
+ parameters: {
4812
+ query?: {
4813
+ environment?: "test" | "live";
4814
+ };
4815
+ header?: never;
4816
+ path: {
4817
+ projectId: string;
4818
+ account: string;
4819
+ };
4820
+ cookie?: never;
4821
+ };
4822
+ requestBody?: never;
4823
+ responses: {
4824
+ /** @description Default Response */
4825
+ 200: {
4826
+ headers: {
4827
+ [name: string]: unknown;
4828
+ };
4829
+ content: {
4830
+ "application/json": {
4831
+ account: string;
4832
+ family: ("safe" | "nexus" | "kernel" | "alchemy" | "nexus7702") | null;
4833
+ profileId: string | null;
4834
+ implementation: string | null;
4835
+ implementationReviewed: boolean;
4836
+ configurationReviewed: boolean;
4837
+ coreInstalled: boolean;
4838
+ installEpoch: string | null;
4839
+ gasPolicyNonce: string | null;
4840
+ revocationNonce: string | null;
4841
+ accountKind: "contract" | "eoa" | "delegated_eoa";
4842
+ delegation: null | {
4843
+ delegate: string | null;
4844
+ reviewed: boolean;
4845
+ initialized: boolean | null;
4846
+ };
4847
+ transactionCount: string;
4848
+ blockNumber: string;
4849
+ };
4850
+ };
4851
+ };
4852
+ /** @description Default Response */
4853
+ 400: {
4854
+ headers: {
4855
+ [name: string]: unknown;
4856
+ };
4857
+ content: {
4858
+ "application/json": {
4859
+ error: {
4860
+ code: string;
4861
+ message: string;
4862
+ /** Format: uuid */
4863
+ correlationId: string;
4864
+ };
4865
+ };
4866
+ };
4867
+ };
4868
+ /** @description Default Response */
4869
+ 401: {
4870
+ headers: {
4871
+ [name: string]: unknown;
4872
+ };
4873
+ content: {
4874
+ "application/json": {
4875
+ error: {
4876
+ code: string;
4877
+ message: string;
4878
+ /** Format: uuid */
4879
+ correlationId: string;
4880
+ };
4881
+ };
4882
+ };
4883
+ };
4884
+ /** @description Default Response */
4885
+ 403: {
4886
+ headers: {
4887
+ [name: string]: unknown;
4888
+ };
4889
+ content: {
4890
+ "application/json": {
4891
+ error: {
4892
+ code: string;
4893
+ message: string;
4894
+ /** Format: uuid */
4895
+ correlationId: string;
4896
+ };
4897
+ };
4898
+ };
4899
+ };
4900
+ /** @description Default Response */
4901
+ 404: {
4902
+ headers: {
4903
+ [name: string]: unknown;
4904
+ };
4905
+ content: {
4906
+ "application/json": {
4907
+ error: {
4908
+ code: string;
4909
+ message: string;
4910
+ /** Format: uuid */
4911
+ correlationId: string;
4912
+ };
4913
+ };
4914
+ };
4915
+ };
4916
+ /** @description Default Response */
4917
+ 409: {
4918
+ headers: {
4919
+ [name: string]: unknown;
4920
+ };
4921
+ content: {
4922
+ "application/json": {
4923
+ error: {
4924
+ code: string;
4925
+ message: string;
4926
+ /** Format: uuid */
4927
+ correlationId: string;
4928
+ };
4929
+ };
4930
+ };
4931
+ };
4932
+ /** @description Default Response */
4933
+ 429: {
4934
+ headers: {
4935
+ [name: string]: unknown;
4936
+ };
4937
+ content: {
4938
+ "application/json": {
4939
+ error: {
4940
+ code: string;
4941
+ message: string;
4942
+ /** Format: uuid */
4943
+ correlationId: string;
4944
+ };
4945
+ };
4946
+ };
4947
+ };
4948
+ /** @description Default Response */
4949
+ 500: {
4950
+ headers: {
4951
+ [name: string]: unknown;
4952
+ };
4953
+ content: {
4954
+ "application/json": {
4955
+ error: {
4956
+ code: string;
4957
+ message: string;
4958
+ /** Format: uuid */
4959
+ correlationId: string;
4960
+ };
4961
+ };
4962
+ };
4963
+ };
4964
+ /** @description Default Response */
4965
+ 503: {
4966
+ headers: {
4967
+ [name: string]: unknown;
4968
+ };
4969
+ content: {
4970
+ "application/json": {
4971
+ error: {
4972
+ code: string;
4973
+ message: string;
4974
+ /** Format: uuid */
4975
+ correlationId: string;
4976
+ };
4977
+ };
4978
+ };
4979
+ };
4980
+ };
4981
+ };
4982
+ prepareEip7702Setup: {
4983
+ parameters: {
4984
+ query?: never;
4985
+ header?: never;
4986
+ path: {
4987
+ projectId: string;
4988
+ account: string;
4989
+ };
4990
+ cookie?: never;
4991
+ };
4992
+ requestBody: {
4993
+ content: {
4994
+ "application/json": Record<string, never>;
4995
+ };
4996
+ };
4997
+ responses: {
4998
+ /** @description Default Response */
4999
+ 200: {
5000
+ headers: {
5001
+ [name: string]: unknown;
5002
+ };
5003
+ content: {
5004
+ "application/json": {
5005
+ account: string;
5006
+ /** @enum {number} */
5007
+ chainId: 84532;
5008
+ core: string;
5009
+ delegate: string;
5010
+ bootstrap: string;
5011
+ delegation: "none" | "reviewed_uninitialized";
5012
+ authorization: null | {
5013
+ /** @enum {number} */
5014
+ chainId: 84532;
5015
+ address: string;
5016
+ nonce: string;
5017
+ hash: string;
5018
+ selfSentNonce: string;
5019
+ };
5020
+ initData: string;
5021
+ initDataHash: string;
5022
+ relayedCall: {
5023
+ to: string;
5024
+ /** @enum {string} */
5025
+ functionName: "initializeAccount";
5026
+ };
5027
+ selfSentCall: {
5028
+ to: string;
5029
+ data: string;
5030
+ };
5031
+ sponsorship: {
5032
+ available: boolean;
5033
+ remainingToday: number;
5034
+ };
5035
+ observedBlockNumber: string;
5036
+ };
5037
+ };
5038
+ };
5039
+ /** @description Default Response */
5040
+ 400: {
5041
+ headers: {
5042
+ [name: string]: unknown;
5043
+ };
5044
+ content: {
5045
+ "application/json": {
5046
+ error: {
5047
+ code: string;
5048
+ message: string;
5049
+ /** Format: uuid */
5050
+ correlationId: string;
5051
+ };
5052
+ };
5053
+ };
5054
+ };
5055
+ /** @description Default Response */
5056
+ 401: {
5057
+ headers: {
5058
+ [name: string]: unknown;
5059
+ };
5060
+ content: {
5061
+ "application/json": {
5062
+ error: {
5063
+ code: string;
5064
+ message: string;
5065
+ /** Format: uuid */
5066
+ correlationId: string;
5067
+ };
5068
+ };
5069
+ };
5070
+ };
5071
+ /** @description Default Response */
5072
+ 403: {
5073
+ headers: {
5074
+ [name: string]: unknown;
5075
+ };
5076
+ content: {
5077
+ "application/json": {
5078
+ error: {
5079
+ code: string;
5080
+ message: string;
5081
+ /** Format: uuid */
5082
+ correlationId: string;
2807
5083
  };
2808
- transactionHashes: string[];
2809
- broadcasts: {
2810
- transactionHash: string;
2811
- providerId: string;
2812
- outcome: "accepted" | "indeterminate";
2813
- /** Format: date-time */
2814
- observedAt: string;
2815
- }[];
2816
- receipt: null | {
2817
- transactionHash: string;
2818
- blockHash: string;
2819
- blockNumber: string;
2820
- finalizedBlockNumber: string;
2821
- outcome: "success" | "refusal" | "revert";
2822
- gasUsed: string;
2823
- effectiveGasPrice: string;
2824
- executionWei: string;
2825
- l1DataWei: string;
2826
- operatorWei: string;
2827
- totalNetworkWei: string;
2828
- eligibleOwnerWei: string;
2829
- golLossWei: string;
2830
- developerCostWei: string;
5084
+ };
5085
+ };
5086
+ };
5087
+ /** @description Default Response */
5088
+ 404: {
5089
+ headers: {
5090
+ [name: string]: unknown;
5091
+ };
5092
+ content: {
5093
+ "application/json": {
5094
+ error: {
5095
+ code: string;
5096
+ message: string;
5097
+ /** Format: uuid */
5098
+ correlationId: string;
2831
5099
  };
2832
- claimReceipt: null | {
2833
- claimTransactionHash: string;
2834
- blockHash: string;
2835
- blockNumber: string;
2836
- finalizedBlockNumber: string;
2837
- collectedWei: string;
2838
- golClaimNetworkCostWei: string;
2839
- status: "collected" | "reverted";
5100
+ };
5101
+ };
5102
+ };
5103
+ /** @description Default Response */
5104
+ 409: {
5105
+ headers: {
5106
+ [name: string]: unknown;
5107
+ };
5108
+ content: {
5109
+ "application/json": {
5110
+ error: {
5111
+ code: string;
5112
+ message: string;
5113
+ /** Format: uuid */
5114
+ correlationId: string;
2840
5115
  };
2841
- ledger: {
2842
- category: string;
2843
- amountWei: string;
2844
- transactionHash: string | null;
2845
- }[];
2846
- disputes: {
5116
+ };
5117
+ };
5118
+ };
5119
+ /** @description Default Response */
5120
+ 429: {
5121
+ headers: {
5122
+ [name: string]: unknown;
5123
+ };
5124
+ content: {
5125
+ "application/json": {
5126
+ error: {
5127
+ code: string;
5128
+ message: string;
2847
5129
  /** Format: uuid */
2848
- id: string;
2849
- status: "open" | "resolved";
2850
- reason: string;
2851
- /** Format: date-time */
2852
- openedAt: string;
2853
- resolvedAt: string | null;
2854
- resolution: string | null;
2855
- }[];
5130
+ correlationId: string;
5131
+ };
5132
+ };
5133
+ };
5134
+ };
5135
+ /** @description Default Response */
5136
+ 500: {
5137
+ headers: {
5138
+ [name: string]: unknown;
5139
+ };
5140
+ content: {
5141
+ "application/json": {
5142
+ error: {
5143
+ code: string;
5144
+ message: string;
5145
+ /** Format: uuid */
5146
+ correlationId: string;
5147
+ };
5148
+ };
5149
+ };
5150
+ };
5151
+ /** @description Default Response */
5152
+ 503: {
5153
+ headers: {
5154
+ [name: string]: unknown;
5155
+ };
5156
+ content: {
5157
+ "application/json": {
5158
+ error: {
5159
+ code: string;
5160
+ message: string;
5161
+ /** Format: uuid */
5162
+ correlationId: string;
5163
+ };
5164
+ };
5165
+ };
5166
+ };
5167
+ };
5168
+ };
5169
+ submitEip7702Setup: {
5170
+ parameters: {
5171
+ query?: never;
5172
+ header?: never;
5173
+ path: {
5174
+ projectId: string;
5175
+ account: string;
5176
+ };
5177
+ cookie?: never;
5178
+ };
5179
+ requestBody: {
5180
+ content: {
5181
+ "application/json": {
5182
+ authorization: null | {
5183
+ /** @enum {number} */
5184
+ chainId: 84532;
5185
+ address: string;
5186
+ nonce: string;
5187
+ yParity: 0 | 1;
5188
+ r: string;
5189
+ s: string;
2856
5190
  };
5191
+ initSignature: string;
5192
+ };
5193
+ };
5194
+ };
5195
+ responses: {
5196
+ /** @description Default Response */
5197
+ 202: {
5198
+ headers: {
5199
+ [name: string]: unknown;
5200
+ };
5201
+ content: {
5202
+ "application/json": components["schemas"]["def-11"];
2857
5203
  };
2858
5204
  };
2859
5205
  /** @description Default Response */
@@ -2986,14 +5332,16 @@ export interface operations {
2986
5332
  };
2987
5333
  };
2988
5334
  };
2989
- listAuditEvents: {
5335
+ getEip7702Setup: {
2990
5336
  parameters: {
2991
5337
  query?: {
2992
- limit?: number;
5338
+ environment?: "test" | "live";
2993
5339
  };
2994
5340
  header?: never;
2995
5341
  path: {
2996
5342
  projectId: string;
5343
+ account: string;
5344
+ setupId: string;
2997
5345
  };
2998
5346
  cookie?: never;
2999
5347
  };
@@ -3005,21 +5353,7 @@ export interface operations {
3005
5353
  [name: string]: unknown;
3006
5354
  };
3007
5355
  content: {
3008
- "application/json": {
3009
- data: {
3010
- /** Format: uuid */
3011
- id: string;
3012
- environment: "test" | "live";
3013
- actorType: "developer" | "api_key" | "system";
3014
- action: string;
3015
- correlationId: string;
3016
- metadata: {
3017
- [key: string]: string | number | boolean | null;
3018
- };
3019
- /** Format: date-time */
3020
- createdAt: string;
3021
- }[];
3022
- };
5356
+ "application/json": components["schemas"]["def-11"];
3023
5357
  };
3024
5358
  };
3025
5359
  /** @description Default Response */
@@ -3152,14 +5486,54 @@ export interface operations {
3152
5486
  };
3153
5487
  };
3154
5488
  };
3155
- getApiKeyIdentity: {
5489
+ prepareGasPolicy: {
3156
5490
  parameters: {
3157
5491
  query?: never;
3158
5492
  header?: never;
3159
- path?: never;
5493
+ path: {
5494
+ projectId: string;
5495
+ };
3160
5496
  cookie?: never;
3161
5497
  };
3162
- requestBody?: never;
5498
+ requestBody: {
5499
+ content: {
5500
+ "application/json": {
5501
+ account: string;
5502
+ family: "safe" | "nexus" | "kernel" | "alchemy" | "nexus7702";
5503
+ agent: string;
5504
+ transfer: {
5505
+ recipients: string[];
5506
+ maxPerActionBaseUnits: string;
5507
+ maxTotalBaseUnits: string;
5508
+ };
5509
+ mandate: {
5510
+ validFrom: number;
5511
+ expiresAt: number;
5512
+ approvalExpiresAt: number;
5513
+ salt?: string;
5514
+ };
5515
+ gas: {
5516
+ maxPerActionWei: string;
5517
+ maxTotalWei: string;
5518
+ expiresAt: number;
5519
+ chargeableOutcomesMask: number;
5520
+ };
5521
+ relayer?: {
5522
+ /** @enum {string} */
5523
+ mode: "gol";
5524
+ } | {
5525
+ /** @enum {string} */
5526
+ mode: "developer";
5527
+ submitter: string;
5528
+ recipient: string;
5529
+ };
5530
+ tree?: {
5531
+ maxDepth: number;
5532
+ maxActiveDescendants: number;
5533
+ };
5534
+ };
5535
+ };
5536
+ };
3163
5537
  responses: {
3164
5538
  /** @description Default Response */
3165
5539
  200: {
@@ -3168,31 +5542,86 @@ export interface operations {
3168
5542
  };
3169
5543
  content: {
3170
5544
  "application/json": {
3171
- project: {
5545
+ /** Format: uuid */
5546
+ draftId: string;
5547
+ /** Format: date-time */
5548
+ draftExpiresAt: string;
5549
+ /** @enum {string} */
5550
+ environment: "test";
5551
+ /** @enum {number} */
5552
+ chainId: 84532;
5553
+ core: string;
5554
+ account: string;
5555
+ family: "safe" | "nexus" | "kernel" | "alchemy" | "nexus7702";
5556
+ review: {
3172
5557
  /** Format: uuid */
3173
- id: string;
3174
- name: string;
3175
- slug: string;
3176
- /** Format: date-time */
3177
- createdAt: string;
3178
- environments: {
3179
- name: "test" | "live";
3180
- status: "active" | "unavailable";
3181
- }[];
5558
+ projectId: string;
5559
+ contractProjectId: string;
5560
+ agent: string;
5561
+ asset: string;
5562
+ /** @enum {number} */
5563
+ assetDecimals: 6;
5564
+ recipients: string[];
5565
+ maxPerActionBaseUnits: string;
5566
+ maxTotalBaseUnits: string;
5567
+ relayerMode: "gol" | "developer";
5568
+ submitter: string;
5569
+ gasRecipient: string;
5570
+ attester: string;
5571
+ maxGasPerActionWei: string;
5572
+ maxGasTotalWei: string;
5573
+ chargeableOutcomesMask: number;
5574
+ maxDepth: number;
5575
+ maxActiveDescendants: number;
5576
+ mandateValidFrom: number;
5577
+ mandateExpiresAt: number;
5578
+ gasExpiresAt: number;
3182
5579
  };
3183
- environment: "test" | "live";
3184
- apiKey: {
3185
- /** Format: uuid */
3186
- id: string;
3187
- name: string;
3188
- environment: "test" | "live";
3189
- hint: string;
3190
- scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
3191
- /** Format: date-time */
3192
- createdAt: string;
3193
- expiresAt: string | null;
3194
- revokedAt: string | null;
3195
- lastUsedAt: string | null;
5580
+ authority: {
5581
+ mandateTerms: {
5582
+ parentId: string;
5583
+ account: string;
5584
+ agent: string;
5585
+ accountProfileId: string;
5586
+ installEpoch: string;
5587
+ projectId: string;
5588
+ mode: number;
5589
+ policyVersion: number;
5590
+ policyHash: string;
5591
+ validFrom: number;
5592
+ expiresAt: number;
5593
+ maxDepth: number;
5594
+ maxActiveDescendants: number;
5595
+ approvalExpiresAt: number;
5596
+ salt: string;
5597
+ };
5598
+ mandatePolicy: string;
5599
+ gasPolicy: {
5600
+ mandateId: string;
5601
+ account: string;
5602
+ projectId: string;
5603
+ accountProfileId: string;
5604
+ installEpoch: string;
5605
+ feeAsset: string;
5606
+ submitter: string;
5607
+ recipient: string;
5608
+ attester: string;
5609
+ maxPerAction: string;
5610
+ maxTotal: string;
5611
+ expiresAt: number;
5612
+ chargeableOutcomes: number;
5613
+ formulaVersion: number;
5614
+ nonce: string;
5615
+ };
5616
+ mandateId: string;
5617
+ gasPolicyId: string;
5618
+ combinedDigest: string;
5619
+ };
5620
+ signing: components["schemas"]["def-5"];
5621
+ submission: {
5622
+ to: string;
5623
+ /** @enum {string} */
5624
+ functionName: "createMandateWithGas";
3196
5625
  };
3197
5626
  };
3198
5627
  };
@@ -3327,101 +5756,47 @@ export interface operations {
3327
5756
  };
3328
5757
  };
3329
5758
  };
3330
- getGasExecution: {
5759
+ confirmGasPolicy: {
3331
5760
  parameters: {
3332
- query?: {
3333
- environment?: "test" | "live";
3334
- };
5761
+ query?: never;
3335
5762
  header?: never;
3336
5763
  path: {
3337
5764
  projectId: string;
3338
- executionId: string;
3339
5765
  };
3340
5766
  cookie?: never;
3341
5767
  };
3342
- requestBody?: never;
5768
+ requestBody: {
5769
+ content: {
5770
+ "application/json": {
5771
+ /** Format: uuid */
5772
+ draftId: string;
5773
+ transactionHash: string;
5774
+ };
5775
+ };
5776
+ };
3343
5777
  responses: {
3344
5778
  /** @description Default Response */
3345
5779
  200: {
5780
+ headers: {
5781
+ [name: string]: unknown;
5782
+ };
5783
+ content: {
5784
+ "application/json": components["schemas"]["def-6"];
5785
+ };
5786
+ };
5787
+ /** @description Default Response */
5788
+ 202: {
3346
5789
  headers: {
3347
5790
  [name: string]: unknown;
3348
5791
  };
3349
5792
  content: {
3350
5793
  "application/json": {
5794
+ /** @enum {string} */
5795
+ status: "observing";
5796
+ transactionHash: string;
3351
5797
  /** Format: uuid */
3352
- id: string;
3353
- /** Format: uuid */
3354
- projectId: string;
3355
- contractProjectId: string;
3356
- environment: "test" | "live";
3357
- chainId: number;
3358
- account: string;
3359
- agent: string;
3360
- core: string;
3361
- accountProfileId: string;
3362
- installEpoch: string;
3363
- mandateId: string;
3364
- actionId: string;
3365
- gasPolicyId: string | null;
3366
- payer: "owner_reimbursement" | "developer";
3367
- state: string;
3368
- quote: {
3369
- acceptedOwnerMaximumWei: string;
3370
- maximumNetworkWei: string;
3371
- maximumGolExposureWei: string;
3372
- /** Format: date-time */
3373
- expiresAt: string;
3374
- formulaVersion: number;
3375
- chargeableOutcomesMask: number;
3376
- };
3377
- transactionHashes: string[];
3378
- broadcasts: {
3379
- transactionHash: string;
3380
- providerId: string;
3381
- outcome: "accepted" | "indeterminate";
3382
- /** Format: date-time */
3383
- observedAt: string;
3384
- }[];
3385
- receipt: null | {
3386
- transactionHash: string;
3387
- blockHash: string;
3388
- blockNumber: string;
3389
- finalizedBlockNumber: string;
3390
- outcome: "success" | "refusal" | "revert";
3391
- gasUsed: string;
3392
- effectiveGasPrice: string;
3393
- executionWei: string;
3394
- l1DataWei: string;
3395
- operatorWei: string;
3396
- totalNetworkWei: string;
3397
- eligibleOwnerWei: string;
3398
- golLossWei: string;
3399
- developerCostWei: string;
3400
- };
3401
- claimReceipt: null | {
3402
- claimTransactionHash: string;
3403
- blockHash: string;
3404
- blockNumber: string;
3405
- finalizedBlockNumber: string;
3406
- collectedWei: string;
3407
- golClaimNetworkCostWei: string;
3408
- status: "collected" | "reverted";
3409
- };
3410
- ledger: {
3411
- category: string;
3412
- amountWei: string;
3413
- transactionHash: string | null;
3414
- }[];
3415
- disputes: {
3416
- /** Format: uuid */
3417
- id: string;
3418
- status: "open" | "resolved";
3419
- reason: string;
3420
- /** Format: date-time */
3421
- openedAt: string;
3422
- resolvedAt: string | null;
3423
- resolution: string | null;
3424
- }[];
5798
+ draftId?: string;
5799
+ gasPolicyId?: string;
3425
5800
  };
3426
5801
  };
3427
5802
  };
@@ -3555,18 +5930,39 @@ export interface operations {
3555
5930
  };
3556
5931
  };
3557
5932
  };
3558
- getGasConfiguration: {
5933
+ prepareChildMandate: {
3559
5934
  parameters: {
3560
- query?: {
3561
- environment?: "test" | "live";
3562
- };
5935
+ query?: never;
3563
5936
  header?: never;
3564
5937
  path: {
3565
5938
  projectId: string;
5939
+ gasPolicyId: string;
3566
5940
  };
3567
5941
  cookie?: never;
3568
5942
  };
3569
- requestBody?: never;
5943
+ requestBody: {
5944
+ content: {
5945
+ "application/json": {
5946
+ parentMandateId?: string;
5947
+ agent: string;
5948
+ transfer: {
5949
+ recipients: string[];
5950
+ maxPerActionBaseUnits: string;
5951
+ maxTotalBaseUnits: string;
5952
+ };
5953
+ mandate: {
5954
+ validFrom: number;
5955
+ expiresAt: number;
5956
+ approvalExpiresAt: number;
5957
+ salt?: string;
5958
+ };
5959
+ tree?: {
5960
+ maxDepth: number;
5961
+ maxActiveDescendants: number;
5962
+ };
5963
+ };
5964
+ };
5965
+ };
3570
5966
  responses: {
3571
5967
  /** @description Default Response */
3572
5968
  200: {
@@ -3575,34 +5971,73 @@ export interface operations {
3575
5971
  };
3576
5972
  content: {
3577
5973
  "application/json": {
3578
- /** @enum {string} */
3579
- environment: "test";
3580
- /** @enum {number} */
3581
- chainId: 84532;
3582
- core: string;
3583
- gasRouter: string;
3584
- asset: {
3585
- address: string;
5974
+ /** Format: uuid */
5975
+ draftId: string;
5976
+ /** Format: date-time */
5977
+ draftExpiresAt: string;
5978
+ gasPolicyId: string;
5979
+ rootMandateId: string;
5980
+ parentMandateId: string;
5981
+ parentAgent: string;
5982
+ review: {
5983
+ agent: string;
5984
+ recipients: string[];
5985
+ maxPerActionBaseUnits: string;
5986
+ maxTotalBaseUnits: string;
5987
+ validFrom: number;
5988
+ expiresAt: number;
5989
+ depth: number;
5990
+ maxDepth: number;
5991
+ maxActiveDescendants: number;
5992
+ };
5993
+ authority: {
5994
+ mandateTerms: {
5995
+ parentId: string;
5996
+ account: string;
5997
+ agent: string;
5998
+ accountProfileId: string;
5999
+ installEpoch: string;
6000
+ projectId: string;
6001
+ mode: number;
6002
+ policyVersion: number;
6003
+ policyHash: string;
6004
+ validFrom: number;
6005
+ expiresAt: number;
6006
+ maxDepth: number;
6007
+ maxActiveDescendants: number;
6008
+ approvalExpiresAt: number;
6009
+ salt: string;
6010
+ };
6011
+ mandatePolicy: string;
6012
+ mandateId: string;
6013
+ };
6014
+ signing: {
6015
+ signer: string;
3586
6016
  /** @enum {string} */
3587
- symbol: "USDC";
3588
- /** @enum {number} */
3589
- decimals: 6;
6017
+ method: "eth_signTypedData_v4";
6018
+ typedData: {
6019
+ domain: {
6020
+ [key: string]: unknown;
6021
+ };
6022
+ types: {
6023
+ [key: string]: {
6024
+ name: string;
6025
+ type: string;
6026
+ }[];
6027
+ };
6028
+ primaryType: string;
6029
+ message: {
6030
+ [key: string]: unknown;
6031
+ };
6032
+ };
6033
+ expectedHash: string;
3590
6034
  };
3591
- capabilityDigest: string;
3592
- gasRecipient: string;
3593
- attester: string;
3594
- relayer: string;
3595
- profiles: {
3596
- family: "safe" | "nexus" | "kernel" | "alchemy";
3597
- profileId: string;
3598
- implementation: string;
3599
- label: string;
3600
- }[];
3601
- limits: {
3602
- recommendedPerActionWei: string;
3603
- maxPerActionWei: string;
3604
- maxTotalWei: string;
6035
+ submission: {
6036
+ to: string;
6037
+ /** @enum {string} */
6038
+ functionName: "createChildMandate";
3605
6039
  };
6040
+ observedBlockNumber: string;
3606
6041
  };
3607
6042
  };
3608
6043
  };
@@ -3736,7 +6171,7 @@ export interface operations {
3736
6171
  };
3737
6172
  };
3738
6173
  };
3739
- getAccountStatus: {
6174
+ listChildMandates: {
3740
6175
  parameters: {
3741
6176
  query?: {
3742
6177
  environment?: "test" | "live";
@@ -3744,7 +6179,7 @@ export interface operations {
3744
6179
  header?: never;
3745
6180
  path: {
3746
6181
  projectId: string;
3747
- account: string;
6182
+ gasPolicyId: string;
3748
6183
  };
3749
6184
  cookie?: never;
3750
6185
  };
@@ -3757,16 +6192,7 @@ export interface operations {
3757
6192
  };
3758
6193
  content: {
3759
6194
  "application/json": {
3760
- account: string;
3761
- family: ("safe" | "nexus" | "kernel" | "alchemy") | null;
3762
- profileId: string | null;
3763
- implementation: string | null;
3764
- implementationReviewed: boolean;
3765
- coreInstalled: boolean;
3766
- installEpoch: string | null;
3767
- gasPolicyNonce: string | null;
3768
- revocationNonce: string | null;
3769
- blockNumber: string;
6195
+ data: components["schemas"]["def-10"][];
3770
6196
  };
3771
6197
  };
3772
6198
  };
@@ -3900,82 +6326,33 @@ export interface operations {
3900
6326
  };
3901
6327
  };
3902
6328
  };
3903
- prepareGasPolicy: {
6329
+ submitChildMandate: {
3904
6330
  parameters: {
3905
6331
  query?: never;
3906
6332
  header?: never;
3907
6333
  path: {
3908
6334
  projectId: string;
6335
+ gasPolicyId: string;
3909
6336
  };
3910
6337
  cookie?: never;
3911
6338
  };
3912
6339
  requestBody: {
3913
6340
  content: {
3914
6341
  "application/json": {
3915
- account: string;
3916
- family: "safe" | "nexus" | "kernel" | "alchemy";
3917
- agent: string;
3918
- transfer: {
3919
- recipients: string[];
3920
- maxPerActionBaseUnits: string;
3921
- maxTotalBaseUnits: string;
3922
- };
3923
- mandate: {
3924
- validFrom: number;
3925
- expiresAt: number;
3926
- approvalExpiresAt: number;
3927
- salt?: string;
3928
- };
3929
- gas: {
3930
- maxPerActionWei: string;
3931
- maxTotalWei: string;
3932
- expiresAt: number;
3933
- chargeableOutcomesMask: number;
3934
- };
6342
+ /** Format: uuid */
6343
+ draftId: string;
6344
+ authorization: string;
3935
6345
  };
3936
6346
  };
3937
6347
  };
3938
6348
  responses: {
3939
6349
  /** @description Default Response */
3940
- 200: {
6350
+ 202: {
3941
6351
  headers: {
3942
6352
  [name: string]: unknown;
3943
6353
  };
3944
6354
  content: {
3945
- "application/json": {
3946
- /** Format: uuid */
3947
- draftId: string;
3948
- /** Format: date-time */
3949
- draftExpiresAt: string;
3950
- /** @enum {string} */
3951
- environment: "test";
3952
- /** @enum {number} */
3953
- chainId: 84532;
3954
- core: string;
3955
- account: string;
3956
- family: "safe" | "nexus" | "kernel" | "alchemy";
3957
- review: {
3958
- [key: string]: unknown;
3959
- };
3960
- authority: {
3961
- mandateTerms: {
3962
- [key: string]: unknown;
3963
- };
3964
- mandatePolicy: string;
3965
- gasPolicy: {
3966
- [key: string]: unknown;
3967
- };
3968
- mandateId: string;
3969
- gasPolicyId: string;
3970
- combinedDigest: string;
3971
- };
3972
- signing: components["schemas"]["def-5"];
3973
- submission: {
3974
- to: string;
3975
- /** @enum {string} */
3976
- functionName: "createMandateWithGas";
3977
- };
3978
- };
6355
+ "application/json": components["schemas"]["def-10"];
3979
6356
  };
3980
6357
  };
3981
6358
  /** @description Default Response */
@@ -4108,12 +6485,13 @@ export interface operations {
4108
6485
  };
4109
6486
  };
4110
6487
  };
4111
- confirmGasPolicy: {
6488
+ confirmChildMandate: {
4112
6489
  parameters: {
4113
6490
  query?: never;
4114
6491
  header?: never;
4115
6492
  path: {
4116
6493
  projectId: string;
6494
+ gasPolicyId: string;
4117
6495
  };
4118
6496
  cookie?: never;
4119
6497
  };
@@ -4133,7 +6511,7 @@ export interface operations {
4133
6511
  [name: string]: unknown;
4134
6512
  };
4135
6513
  content: {
4136
- "application/json": components["schemas"]["def-6"];
6514
+ "application/json": components["schemas"]["def-10"];
4137
6515
  };
4138
6516
  };
4139
6517
  /** @description Default Response */
@@ -4619,7 +6997,7 @@ export interface operations {
4619
6997
  "application/json": {
4620
6998
  gasPolicyId: string;
4621
6999
  account: string;
4622
- family: "safe" | "nexus" | "kernel" | "alchemy";
7000
+ family: "safe" | "nexus" | "kernel" | "alchemy" | "nexus7702";
4623
7001
  /** @enum {number} */
4624
7002
  chainId: 84532;
4625
7003
  core: string;
@@ -4955,7 +7333,8 @@ export interface operations {
4955
7333
  requestBody: {
4956
7334
  content: {
4957
7335
  "application/json": {
4958
- action: "pause" | "resume";
7336
+ action: "pause" | "resume" | "revoke";
7337
+ mandateId?: string;
4959
7338
  deadline?: number;
4960
7339
  };
4961
7340
  };
@@ -4971,12 +7350,12 @@ export interface operations {
4971
7350
  gasPolicyId: string;
4972
7351
  mandateId: string;
4973
7352
  account: string;
4974
- family: "safe" | "nexus" | "kernel" | "alchemy";
7353
+ family: "safe" | "nexus" | "kernel" | "alchemy" | "nexus7702";
4975
7354
  /** @enum {number} */
4976
7355
  chainId: 84532;
4977
7356
  core: string;
4978
- action: "pause" | "resume";
4979
- actionCode: 1 | 2;
7357
+ action: "pause" | "resume" | "revoke";
7358
+ actionCode: 1 | 2 | 3;
4980
7359
  nonce: string;
4981
7360
  deadline: number;
4982
7361
  digest: string;
@@ -5136,7 +7515,8 @@ export interface operations {
5136
7515
  requestBody: {
5137
7516
  content: {
5138
7517
  "application/json": {
5139
- action: "pause" | "resume";
7518
+ action: "pause" | "resume" | "revoke";
7519
+ mandateId?: string;
5140
7520
  transactionHash: string;
5141
7521
  };
5142
7522
  };
@@ -5627,7 +8007,7 @@ export interface operations {
5627
8007
  "application/json": {
5628
8008
  url: string;
5629
8009
  description?: string;
5630
- eventTypes?: ("gas_execution.updated" | "gas_policy.confirmed" | "gas_policy.revoked" | "gas_policy.paused" | "gas_policy.resumed" | "webhook.test")[];
8010
+ eventTypes?: ("gas_execution.updated" | "gas_policy.confirmed" | "gas_policy.revoked" | "gas_policy.paused" | "gas_policy.resumed" | "gas_policy.child_created" | "gas_policy.child_updated" | "account.eip7702_setup_updated" | "webhook.test")[];
5631
8011
  };
5632
8012
  };
5633
8013
  };