@gol/sdk 0.4.0 → 0.5.1

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.
@@ -150,6 +150,22 @@ export interface paths {
150
150
  patch?: never;
151
151
  trace?: never;
152
152
  };
153
+ "/v1/projects/{projectId}": {
154
+ parameters: {
155
+ query?: never;
156
+ header?: never;
157
+ path?: never;
158
+ cookie?: never;
159
+ };
160
+ get?: never;
161
+ put?: never;
162
+ post?: never;
163
+ delete?: never;
164
+ options?: never;
165
+ head?: never;
166
+ patch: operations["updateProject"];
167
+ trace?: never;
168
+ };
153
169
  "/v1/projects/{projectId}/api-keys": {
154
170
  parameters: {
155
171
  query?: never;
@@ -230,6 +246,22 @@ export interface paths {
230
246
  patch?: never;
231
247
  trace?: never;
232
248
  };
249
+ "/v1/projects/{projectId}/gas-executions/{executionId}/transactions": {
250
+ parameters: {
251
+ query?: never;
252
+ header?: never;
253
+ path?: never;
254
+ cookie?: never;
255
+ };
256
+ get?: never;
257
+ put?: never;
258
+ post: operations["submitDeveloperRelayerTransaction"];
259
+ delete?: never;
260
+ options?: never;
261
+ head?: never;
262
+ patch?: never;
263
+ trace?: never;
264
+ };
233
265
  "/v1/projects/{projectId}/audit-events": {
234
266
  parameters: {
235
267
  query?: never;
@@ -310,6 +342,54 @@ export interface paths {
310
342
  patch?: never;
311
343
  trace?: never;
312
344
  };
345
+ "/v1/projects/{projectId}/accounts/{account}/eip7702-setup/prepare": {
346
+ parameters: {
347
+ query?: never;
348
+ header?: never;
349
+ path?: never;
350
+ cookie?: never;
351
+ };
352
+ get?: never;
353
+ put?: never;
354
+ post: operations["prepareEip7702Setup"];
355
+ delete?: never;
356
+ options?: never;
357
+ head?: never;
358
+ patch?: never;
359
+ trace?: never;
360
+ };
361
+ "/v1/projects/{projectId}/accounts/{account}/eip7702-setup": {
362
+ parameters: {
363
+ query?: never;
364
+ header?: never;
365
+ path?: never;
366
+ cookie?: never;
367
+ };
368
+ get?: never;
369
+ put?: never;
370
+ post: operations["submitEip7702Setup"];
371
+ delete?: never;
372
+ options?: never;
373
+ head?: never;
374
+ patch?: never;
375
+ trace?: never;
376
+ };
377
+ "/v1/projects/{projectId}/accounts/{account}/eip7702-setups/{setupId}": {
378
+ parameters: {
379
+ query?: never;
380
+ header?: never;
381
+ path?: never;
382
+ cookie?: never;
383
+ };
384
+ get: operations["getEip7702Setup"];
385
+ put?: never;
386
+ post?: never;
387
+ delete?: never;
388
+ options?: never;
389
+ head?: never;
390
+ patch?: never;
391
+ trace?: never;
392
+ };
313
393
  "/v1/projects/{projectId}/gas-policies/prepare": {
314
394
  parameters: {
315
395
  query?: never;
@@ -342,6 +422,54 @@ export interface paths {
342
422
  patch?: never;
343
423
  trace?: never;
344
424
  };
425
+ "/v1/projects/{projectId}/gas-policies/{gasPolicyId}/children/prepare": {
426
+ parameters: {
427
+ query?: never;
428
+ header?: never;
429
+ path?: never;
430
+ cookie?: never;
431
+ };
432
+ get?: never;
433
+ put?: never;
434
+ post: operations["prepareChildMandate"];
435
+ delete?: never;
436
+ options?: never;
437
+ head?: never;
438
+ patch?: never;
439
+ trace?: never;
440
+ };
441
+ "/v1/projects/{projectId}/gas-policies/{gasPolicyId}/children": {
442
+ parameters: {
443
+ query?: never;
444
+ header?: never;
445
+ path?: never;
446
+ cookie?: never;
447
+ };
448
+ get: operations["listChildMandates"];
449
+ put?: never;
450
+ post: operations["submitChildMandate"];
451
+ delete?: never;
452
+ options?: never;
453
+ head?: never;
454
+ patch?: never;
455
+ trace?: never;
456
+ };
457
+ "/v1/projects/{projectId}/gas-policies/{gasPolicyId}/children/confirm": {
458
+ parameters: {
459
+ query?: never;
460
+ header?: never;
461
+ path?: never;
462
+ cookie?: never;
463
+ };
464
+ get?: never;
465
+ put?: never;
466
+ post: operations["confirmChildMandate"];
467
+ delete?: never;
468
+ options?: never;
469
+ head?: never;
470
+ patch?: never;
471
+ trace?: never;
472
+ };
345
473
  "/v1/projects/{projectId}/gas-policies": {
346
474
  parameters: {
347
475
  query?: never;
@@ -637,9 +765,12 @@ export interface components {
637
765
  mandateId: string;
638
766
  actionId: string;
639
767
  gasPolicyId: string | null;
640
- payer: "owner_reimbursement" | "developer";
768
+ payer: "owner_reimbursement" | "developer" | "developer_relayer";
769
+ relayerMode: "gol" | "developer" | null;
770
+ submitter: string | null;
641
771
  state: string;
642
772
  quote: {
773
+ maxChargeWei: string;
643
774
  acceptedOwnerMaximumWei: string;
644
775
  maximumNetworkWei: string;
645
776
  maximumGolExposureWei: string;
@@ -671,6 +802,31 @@ export interface components {
671
802
  eligibleOwnerWei: string;
672
803
  golLossWei: string;
673
804
  developerCostWei: string;
805
+ refusalCode?: string;
806
+ settledWei?: string;
807
+ unpaidWei?: string;
808
+ overchargeWei?: string;
809
+ };
810
+ settlement: null | {
811
+ kind: "inline" | "claim";
812
+ outcome: "success" | "refusal" | "revert";
813
+ gasUnits: string | null;
814
+ gasPriceWei: string;
815
+ declaredL1FeeWei: string | null;
816
+ declaredOperatorFeeWei: string | null;
817
+ chargedWei: string;
818
+ paid: boolean;
819
+ recipient: string;
820
+ submitter: string | null;
821
+ };
822
+ transaction: null | {
823
+ to: string;
824
+ data: string;
825
+ /** @enum {number} */
826
+ chainId: 84532;
827
+ gasLimit: string;
828
+ maxFeePerGasWei: string;
829
+ submitter: string;
674
830
  };
675
831
  claimReceipt: null | {
676
832
  claimTransactionHash: string;
@@ -699,7 +855,7 @@ export interface components {
699
855
  };
700
856
  /** WalletSigningPayload */
701
857
  "def-5": {
702
- family: "safe" | "nexus" | "kernel" | "alchemy";
858
+ family: "safe" | "nexus" | "kernel" | "alchemy" | "nexus7702";
703
859
  /** @enum {string} */
704
860
  method: "eth_signTypedData_v4";
705
861
  typedData: {
@@ -719,14 +875,14 @@ export interface components {
719
875
  };
720
876
  expectedHash: string;
721
877
  digest: string;
722
- signatureFormat: "safe_threshold" | "nexus_k1" | "kernel_root" | "alchemy_entity_zero";
878
+ signatureFormat: "safe_threshold" | "nexus_k1" | "kernel_root" | "alchemy_entity_zero" | "eoa";
723
879
  };
724
880
  /** GasPolicyRecord */
725
881
  "def-6": {
726
882
  gasPolicyId: string;
727
883
  mandateId: string;
728
884
  account: string;
729
- family: ("safe" | "nexus" | "kernel" | "alchemy") | null;
885
+ family: ("safe" | "nexus" | "kernel" | "alchemy" | "nexus7702") | null;
730
886
  agent: string;
731
887
  status: "active" | "paused" | "revoked" | "expired" | "unavailable";
732
888
  maxPerActionWei: string;
@@ -737,6 +893,12 @@ export interface components {
737
893
  chargeableOutcomesMask: number;
738
894
  recipient: string;
739
895
  attester: string;
896
+ relayerMode: "gol" | "developer";
897
+ submitter: string;
898
+ formulaVersion: number;
899
+ maxDepth: number;
900
+ maxActiveDescendants: number;
901
+ activeDescendants: number;
740
902
  approvalTransactionHash: string | null;
741
903
  revocationTransactionHash: string | null;
742
904
  observedBlockNumber: string;
@@ -795,6 +957,41 @@ export interface components {
795
957
  golCostWei: string | null;
796
958
  disputed: boolean;
797
959
  };
960
+ /** ChildMandateRecord */
961
+ "def-10": {
962
+ mandateId: string;
963
+ parentMandateId: string;
964
+ rootMandateId: string;
965
+ gasPolicyId: string;
966
+ agent: string;
967
+ depth: number;
968
+ status: "pending" | "active" | "paused" | "revoked" | "expired" | "failed" | "unavailable";
969
+ recipients: string[];
970
+ maxPerActionBaseUnits: string;
971
+ maxTotalBaseUnits: string;
972
+ validFrom: number;
973
+ expiresAt: number;
974
+ creationTransactionHash: string | null;
975
+ sponsored: boolean;
976
+ /** Format: date-time */
977
+ createdAt: string;
978
+ /** Format: date-time */
979
+ updatedAt: string;
980
+ };
981
+ /** Eip7702SetupRecord */
982
+ "def-11": {
983
+ /** Format: uuid */
984
+ id: string;
985
+ account: string;
986
+ state: "accepted" | "signed" | "submitted" | "confirmed" | "failed";
987
+ transactionHash: string | null;
988
+ blockNumber: string | null;
989
+ failureReason: string | null;
990
+ /** Format: date-time */
991
+ createdAt: string;
992
+ /** Format: date-time */
993
+ updatedAt: string;
994
+ };
798
995
  };
799
996
  responses: never;
800
997
  parameters: never;
@@ -2145,7 +2342,7 @@ export interface operations {
2145
2342
  };
2146
2343
  };
2147
2344
  };
2148
- listApiKeys: {
2345
+ updateProject: {
2149
2346
  parameters: {
2150
2347
  query?: never;
2151
2348
  header?: never;
@@ -2154,7 +2351,13 @@ export interface operations {
2154
2351
  };
2155
2352
  cookie?: never;
2156
2353
  };
2157
- requestBody?: never;
2354
+ requestBody: {
2355
+ content: {
2356
+ "application/json": {
2357
+ name: string;
2358
+ };
2359
+ };
2360
+ };
2158
2361
  responses: {
2159
2362
  /** @description Default Response */
2160
2363
  200: {
@@ -2163,18 +2366,15 @@ export interface operations {
2163
2366
  };
2164
2367
  content: {
2165
2368
  "application/json": {
2166
- data: {
2167
- /** Format: uuid */
2168
- id: string;
2169
- name: string;
2170
- environment: "test" | "live";
2171
- hint: string;
2172
- scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
2173
- /** Format: date-time */
2174
- createdAt: string;
2175
- expiresAt: string | null;
2176
- revokedAt: string | null;
2177
- lastUsedAt: string | null;
2369
+ /** Format: uuid */
2370
+ id: string;
2371
+ name: string;
2372
+ slug: string;
2373
+ /** Format: date-time */
2374
+ createdAt: string;
2375
+ environments: {
2376
+ name: "test" | "live";
2377
+ status: "active" | "unavailable";
2178
2378
  }[];
2179
2379
  };
2180
2380
  };
@@ -2309,7 +2509,7 @@ export interface operations {
2309
2509
  };
2310
2510
  };
2311
2511
  };
2312
- createApiKey: {
2512
+ listApiKeys: {
2313
2513
  parameters: {
2314
2514
  query?: never;
2315
2515
  header?: never;
@@ -2318,24 +2518,16 @@ export interface operations {
2318
2518
  };
2319
2519
  cookie?: never;
2320
2520
  };
2321
- requestBody: {
2322
- content: {
2323
- "application/json": {
2324
- name: string;
2325
- environment: "test" | "live";
2326
- scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
2327
- };
2328
- };
2329
- };
2521
+ requestBody?: never;
2330
2522
  responses: {
2331
2523
  /** @description Default Response */
2332
- 201: {
2524
+ 200: {
2333
2525
  headers: {
2334
2526
  [name: string]: unknown;
2335
2527
  };
2336
2528
  content: {
2337
2529
  "application/json": {
2338
- apiKey: {
2530
+ data: {
2339
2531
  /** Format: uuid */
2340
2532
  id: string;
2341
2533
  name: string;
@@ -2347,8 +2539,7 @@ export interface operations {
2347
2539
  expiresAt: string | null;
2348
2540
  revokedAt: string | null;
2349
2541
  lastUsedAt: string | null;
2350
- };
2351
- secret: string;
2542
+ }[];
2352
2543
  };
2353
2544
  };
2354
2545
  };
@@ -2482,36 +2673,46 @@ export interface operations {
2482
2673
  };
2483
2674
  };
2484
2675
  };
2485
- revokeApiKey: {
2676
+ createApiKey: {
2486
2677
  parameters: {
2487
2678
  query?: never;
2488
2679
  header?: never;
2489
2680
  path: {
2490
2681
  projectId: string;
2491
- apiKeyId: string;
2492
2682
  };
2493
2683
  cookie?: never;
2494
2684
  };
2495
- requestBody?: never;
2685
+ requestBody: {
2686
+ content: {
2687
+ "application/json": {
2688
+ name: string;
2689
+ environment: "test" | "live";
2690
+ scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
2691
+ };
2692
+ };
2693
+ };
2496
2694
  responses: {
2497
2695
  /** @description Default Response */
2498
- 200: {
2696
+ 201: {
2499
2697
  headers: {
2500
2698
  [name: string]: unknown;
2501
2699
  };
2502
2700
  content: {
2503
2701
  "application/json": {
2504
- /** Format: uuid */
2505
- id: string;
2506
- name: string;
2507
- environment: "test" | "live";
2508
- hint: string;
2509
- scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
2510
- /** Format: date-time */
2511
- createdAt: string;
2512
- expiresAt: string | null;
2513
- revokedAt: string | null;
2514
- lastUsedAt: string | null;
2702
+ apiKey: {
2703
+ /** Format: uuid */
2704
+ id: string;
2705
+ name: string;
2706
+ environment: "test" | "live";
2707
+ hint: string;
2708
+ scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
2709
+ /** Format: date-time */
2710
+ createdAt: string;
2711
+ expiresAt: string | null;
2712
+ revokedAt: string | null;
2713
+ lastUsedAt: string | null;
2714
+ };
2715
+ secret: string;
2515
2716
  };
2516
2717
  };
2517
2718
  };
@@ -2645,7 +2846,7 @@ export interface operations {
2645
2846
  };
2646
2847
  };
2647
2848
  };
2648
- rotateApiKey: {
2849
+ revokeApiKey: {
2649
2850
  parameters: {
2650
2851
  query?: never;
2651
2852
  header?: never;
@@ -2655,25 +2856,188 @@ export interface operations {
2655
2856
  };
2656
2857
  cookie?: never;
2657
2858
  };
2658
- requestBody: {
2659
- content: {
2660
- "application/json": {
2661
- /** @default 3600 */
2662
- overlapSeconds: number;
2859
+ requestBody?: never;
2860
+ responses: {
2861
+ /** @description Default Response */
2862
+ 200: {
2863
+ headers: {
2864
+ [name: string]: unknown;
2865
+ };
2866
+ content: {
2867
+ "application/json": {
2868
+ /** Format: uuid */
2869
+ id: string;
2870
+ name: string;
2871
+ environment: "test" | "live";
2872
+ hint: string;
2873
+ scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
2874
+ /** Format: date-time */
2875
+ createdAt: string;
2876
+ expiresAt: string | null;
2877
+ revokedAt: string | null;
2878
+ lastUsedAt: string | null;
2879
+ };
2663
2880
  };
2664
2881
  };
2665
- };
2666
- responses: {
2667
2882
  /** @description Default Response */
2668
- 201: {
2883
+ 400: {
2669
2884
  headers: {
2670
2885
  [name: string]: unknown;
2671
2886
  };
2672
2887
  content: {
2673
2888
  "application/json": {
2674
- apiKey: {
2889
+ error: {
2890
+ code: string;
2891
+ message: string;
2675
2892
  /** Format: uuid */
2676
- id: string;
2893
+ correlationId: string;
2894
+ };
2895
+ };
2896
+ };
2897
+ };
2898
+ /** @description Default Response */
2899
+ 401: {
2900
+ headers: {
2901
+ [name: string]: unknown;
2902
+ };
2903
+ content: {
2904
+ "application/json": {
2905
+ error: {
2906
+ code: string;
2907
+ message: string;
2908
+ /** Format: uuid */
2909
+ correlationId: string;
2910
+ };
2911
+ };
2912
+ };
2913
+ };
2914
+ /** @description Default Response */
2915
+ 403: {
2916
+ headers: {
2917
+ [name: string]: unknown;
2918
+ };
2919
+ content: {
2920
+ "application/json": {
2921
+ error: {
2922
+ code: string;
2923
+ message: string;
2924
+ /** Format: uuid */
2925
+ correlationId: string;
2926
+ };
2927
+ };
2928
+ };
2929
+ };
2930
+ /** @description Default Response */
2931
+ 404: {
2932
+ headers: {
2933
+ [name: string]: unknown;
2934
+ };
2935
+ content: {
2936
+ "application/json": {
2937
+ error: {
2938
+ code: string;
2939
+ message: string;
2940
+ /** Format: uuid */
2941
+ correlationId: string;
2942
+ };
2943
+ };
2944
+ };
2945
+ };
2946
+ /** @description Default Response */
2947
+ 409: {
2948
+ headers: {
2949
+ [name: string]: unknown;
2950
+ };
2951
+ content: {
2952
+ "application/json": {
2953
+ error: {
2954
+ code: string;
2955
+ message: string;
2956
+ /** Format: uuid */
2957
+ correlationId: string;
2958
+ };
2959
+ };
2960
+ };
2961
+ };
2962
+ /** @description Default Response */
2963
+ 429: {
2964
+ headers: {
2965
+ [name: string]: unknown;
2966
+ };
2967
+ content: {
2968
+ "application/json": {
2969
+ error: {
2970
+ code: string;
2971
+ message: string;
2972
+ /** Format: uuid */
2973
+ correlationId: string;
2974
+ };
2975
+ };
2976
+ };
2977
+ };
2978
+ /** @description Default Response */
2979
+ 500: {
2980
+ headers: {
2981
+ [name: string]: unknown;
2982
+ };
2983
+ content: {
2984
+ "application/json": {
2985
+ error: {
2986
+ code: string;
2987
+ message: string;
2988
+ /** Format: uuid */
2989
+ correlationId: string;
2990
+ };
2991
+ };
2992
+ };
2993
+ };
2994
+ /** @description Default Response */
2995
+ 503: {
2996
+ headers: {
2997
+ [name: string]: unknown;
2998
+ };
2999
+ content: {
3000
+ "application/json": {
3001
+ error: {
3002
+ code: string;
3003
+ message: string;
3004
+ /** Format: uuid */
3005
+ correlationId: string;
3006
+ };
3007
+ };
3008
+ };
3009
+ };
3010
+ };
3011
+ };
3012
+ rotateApiKey: {
3013
+ parameters: {
3014
+ query?: never;
3015
+ header?: never;
3016
+ path: {
3017
+ projectId: string;
3018
+ apiKeyId: string;
3019
+ };
3020
+ cookie?: never;
3021
+ };
3022
+ requestBody: {
3023
+ content: {
3024
+ "application/json": {
3025
+ /** @default 3600 */
3026
+ overlapSeconds: number;
3027
+ };
3028
+ };
3029
+ };
3030
+ responses: {
3031
+ /** @description Default Response */
3032
+ 201: {
3033
+ headers: {
3034
+ [name: string]: unknown;
3035
+ };
3036
+ content: {
3037
+ "application/json": {
3038
+ apiKey: {
3039
+ /** Format: uuid */
3040
+ id: string;
2677
3041
  name: string;
2678
3042
  environment: "test" | "live";
2679
3043
  hint: string;
@@ -2855,27 +3219,32 @@ export interface operations {
2855
3219
  chainId: 84532;
2856
3220
  core: string;
2857
3221
  asset: string;
3222
+ mandateId: string;
3223
+ gasPolicyId: string;
3224
+ agent: string;
2858
3225
  recipient: string;
2859
3226
  amountBaseUnits: string;
3227
+ relayerMode: "gol" | "developer";
3228
+ maxChargeWei: string;
2860
3229
  digest: string;
2861
3230
  typedData: {
2862
3231
  domain: {
2863
3232
  /** @enum {string} */
2864
3233
  name: "GOL Mandate";
2865
3234
  /** @enum {string} */
2866
- version: "2";
3235
+ version: "3";
2867
3236
  /** @enum {number} */
2868
3237
  chainId: 84532;
2869
3238
  verifyingContract: string;
2870
3239
  };
2871
3240
  types: {
2872
- ActionAuthorization: {
3241
+ GasActionAuthorization: {
2873
3242
  name: string;
2874
3243
  type: string;
2875
3244
  }[];
2876
3245
  };
2877
3246
  /** @enum {string} */
2878
- primaryType: "ActionAuthorization";
3247
+ primaryType: "GasActionAuthorization";
2879
3248
  message: {
2880
3249
  mandateId: string;
2881
3250
  /** @enum {number} */
@@ -2886,6 +3255,8 @@ export interface operations {
2886
3255
  capabilityDigest: string;
2887
3256
  deadline: number;
2888
3257
  inputHash: string;
3258
+ gasPolicyId: string;
3259
+ maxCharge: string;
2889
3260
  };
2890
3261
  };
2891
3262
  };
@@ -3198,6 +3569,7 @@ export interface operations {
3198
3569
  recipient: string;
3199
3570
  amountBaseUnits: string;
3200
3571
  deadline: number;
3572
+ maxChargeWei: string;
3201
3573
  agentSignature: string;
3202
3574
  };
3203
3575
  };
@@ -3225,9 +3597,12 @@ export interface operations {
3225
3597
  mandateId: string;
3226
3598
  actionId: string;
3227
3599
  gasPolicyId: string | null;
3228
- payer: "owner_reimbursement" | "developer";
3600
+ payer: "owner_reimbursement" | "developer" | "developer_relayer";
3601
+ relayerMode: "gol" | "developer" | null;
3602
+ submitter: string | null;
3229
3603
  state: string;
3230
3604
  quote: {
3605
+ maxChargeWei: string;
3231
3606
  acceptedOwnerMaximumWei: string;
3232
3607
  maximumNetworkWei: string;
3233
3608
  maximumGolExposureWei: string;
@@ -3259,6 +3634,31 @@ export interface operations {
3259
3634
  eligibleOwnerWei: string;
3260
3635
  golLossWei: string;
3261
3636
  developerCostWei: string;
3637
+ refusalCode?: string;
3638
+ settledWei?: string;
3639
+ unpaidWei?: string;
3640
+ overchargeWei?: string;
3641
+ };
3642
+ settlement: null | {
3643
+ kind: "inline" | "claim";
3644
+ outcome: "success" | "refusal" | "revert";
3645
+ gasUnits: string | null;
3646
+ gasPriceWei: string;
3647
+ declaredL1FeeWei: string | null;
3648
+ declaredOperatorFeeWei: string | null;
3649
+ chargedWei: string;
3650
+ paid: boolean;
3651
+ recipient: string;
3652
+ submitter: string | null;
3653
+ };
3654
+ transaction: null | {
3655
+ to: string;
3656
+ data: string;
3657
+ /** @enum {number} */
3658
+ chainId: 84532;
3659
+ gasLimit: string;
3660
+ maxFeePerGasWei: string;
3661
+ submitter: string;
3262
3662
  };
3263
3663
  claimReceipt: null | {
3264
3664
  claimTransactionHash: string;
@@ -3309,9 +3709,12 @@ export interface operations {
3309
3709
  mandateId: string;
3310
3710
  actionId: string;
3311
3711
  gasPolicyId: string | null;
3312
- payer: "owner_reimbursement" | "developer";
3712
+ payer: "owner_reimbursement" | "developer" | "developer_relayer";
3713
+ relayerMode: "gol" | "developer" | null;
3714
+ submitter: string | null;
3313
3715
  state: string;
3314
3716
  quote: {
3717
+ maxChargeWei: string;
3315
3718
  acceptedOwnerMaximumWei: string;
3316
3719
  maximumNetworkWei: string;
3317
3720
  maximumGolExposureWei: string;
@@ -3343,6 +3746,31 @@ export interface operations {
3343
3746
  eligibleOwnerWei: string;
3344
3747
  golLossWei: string;
3345
3748
  developerCostWei: string;
3749
+ refusalCode?: string;
3750
+ settledWei?: string;
3751
+ unpaidWei?: string;
3752
+ overchargeWei?: string;
3753
+ };
3754
+ settlement: null | {
3755
+ kind: "inline" | "claim";
3756
+ outcome: "success" | "refusal" | "revert";
3757
+ gasUnits: string | null;
3758
+ gasPriceWei: string;
3759
+ declaredL1FeeWei: string | null;
3760
+ declaredOperatorFeeWei: string | null;
3761
+ chargedWei: string;
3762
+ paid: boolean;
3763
+ recipient: string;
3764
+ submitter: string | null;
3765
+ };
3766
+ transaction: null | {
3767
+ to: string;
3768
+ data: string;
3769
+ /** @enum {number} */
3770
+ chainId: 84532;
3771
+ gasLimit: string;
3772
+ maxFeePerGasWei: string;
3773
+ submitter: string;
3346
3774
  };
3347
3775
  claimReceipt: null | {
3348
3776
  claimTransactionHash: string;
@@ -3501,63 +3929,325 @@ export interface operations {
3501
3929
  };
3502
3930
  };
3503
3931
  };
3504
- listAuditEvents: {
3932
+ submitDeveloperRelayerTransaction: {
3505
3933
  parameters: {
3506
- query?: {
3507
- limit?: number;
3508
- };
3934
+ query?: never;
3509
3935
  header?: never;
3510
3936
  path: {
3511
3937
  projectId: string;
3938
+ executionId: string;
3512
3939
  };
3513
3940
  cookie?: never;
3514
3941
  };
3515
- requestBody?: never;
3942
+ requestBody: {
3943
+ content: {
3944
+ "application/json": {
3945
+ rawSignedTransaction: string;
3946
+ };
3947
+ };
3948
+ };
3516
3949
  responses: {
3517
3950
  /** @description Default Response */
3518
- 200: {
3951
+ 202: {
3519
3952
  headers: {
3520
3953
  [name: string]: unknown;
3521
3954
  };
3522
3955
  content: {
3523
3956
  "application/json": {
3524
- data: {
3525
- /** Format: uuid */
3526
- id: string;
3527
- environment: "test" | "live";
3528
- actorType: "developer" | "api_key" | "system";
3529
- action: string;
3530
- correlationId: string;
3531
- metadata: {
3532
- [key: string]: string | number | boolean | null;
3533
- };
3957
+ /** Format: uuid */
3958
+ id: string;
3959
+ /** Format: uuid */
3960
+ projectId: string;
3961
+ contractProjectId: string;
3962
+ environment: "test" | "live";
3963
+ chainId: number;
3964
+ account: string;
3965
+ agent: string;
3966
+ core: string;
3967
+ accountProfileId: string;
3968
+ installEpoch: string;
3969
+ mandateId: string;
3970
+ actionId: string;
3971
+ gasPolicyId: string | null;
3972
+ payer: "owner_reimbursement" | "developer" | "developer_relayer";
3973
+ relayerMode: "gol" | "developer" | null;
3974
+ submitter: string | null;
3975
+ state: string;
3976
+ quote: {
3977
+ maxChargeWei: string;
3978
+ acceptedOwnerMaximumWei: string;
3979
+ maximumNetworkWei: string;
3980
+ maximumGolExposureWei: string;
3534
3981
  /** Format: date-time */
3535
- createdAt: string;
3982
+ expiresAt: string;
3983
+ formulaVersion: number;
3984
+ chargeableOutcomesMask: number;
3985
+ };
3986
+ transactionHashes: string[];
3987
+ broadcasts: {
3988
+ transactionHash: string;
3989
+ providerId: string;
3990
+ outcome: "accepted" | "indeterminate";
3991
+ /** Format: date-time */
3992
+ observedAt: string;
3536
3993
  }[];
3537
- };
3538
- };
3539
- };
3540
- /** @description Default Response */
3541
- 400: {
3542
- headers: {
3543
- [name: string]: unknown;
3544
- };
3545
- content: {
3546
- "application/json": {
3547
- error: {
3548
- code: string;
3549
- message: string;
3550
- /** Format: uuid */
3551
- correlationId: string;
3994
+ receipt: null | {
3995
+ transactionHash: string;
3996
+ blockHash: string;
3997
+ blockNumber: string;
3998
+ finalizedBlockNumber: string;
3999
+ outcome: "success" | "refusal" | "revert";
4000
+ gasUsed: string;
4001
+ effectiveGasPrice: string;
4002
+ executionWei: string;
4003
+ l1DataWei: string;
4004
+ operatorWei: string;
4005
+ totalNetworkWei: string;
4006
+ eligibleOwnerWei: string;
4007
+ golLossWei: string;
4008
+ developerCostWei: string;
4009
+ refusalCode?: string;
4010
+ settledWei?: string;
4011
+ unpaidWei?: string;
4012
+ overchargeWei?: string;
3552
4013
  };
3553
- };
3554
- };
3555
- };
3556
- /** @description Default Response */
3557
- 401: {
3558
- headers: {
3559
- [name: string]: unknown;
3560
- };
4014
+ settlement: null | {
4015
+ kind: "inline" | "claim";
4016
+ outcome: "success" | "refusal" | "revert";
4017
+ gasUnits: string | null;
4018
+ gasPriceWei: string;
4019
+ declaredL1FeeWei: string | null;
4020
+ declaredOperatorFeeWei: string | null;
4021
+ chargedWei: string;
4022
+ paid: boolean;
4023
+ recipient: string;
4024
+ submitter: string | null;
4025
+ };
4026
+ transaction: null | {
4027
+ to: string;
4028
+ data: string;
4029
+ /** @enum {number} */
4030
+ chainId: 84532;
4031
+ gasLimit: string;
4032
+ maxFeePerGasWei: string;
4033
+ submitter: string;
4034
+ };
4035
+ claimReceipt: null | {
4036
+ claimTransactionHash: string;
4037
+ blockHash: string;
4038
+ blockNumber: string;
4039
+ finalizedBlockNumber: string;
4040
+ collectedWei: string;
4041
+ golClaimNetworkCostWei: string;
4042
+ status: "collected" | "reverted";
4043
+ };
4044
+ ledger: {
4045
+ category: string;
4046
+ amountWei: string;
4047
+ transactionHash: string | null;
4048
+ }[];
4049
+ disputes: {
4050
+ /** Format: uuid */
4051
+ id: string;
4052
+ status: "open" | "resolved";
4053
+ reason: string;
4054
+ /** Format: date-time */
4055
+ openedAt: string;
4056
+ resolvedAt: string | null;
4057
+ resolution: string | null;
4058
+ }[];
4059
+ };
4060
+ };
4061
+ };
4062
+ /** @description Default Response */
4063
+ 400: {
4064
+ headers: {
4065
+ [name: string]: unknown;
4066
+ };
4067
+ content: {
4068
+ "application/json": {
4069
+ error: {
4070
+ code: string;
4071
+ message: string;
4072
+ /** Format: uuid */
4073
+ correlationId: string;
4074
+ };
4075
+ };
4076
+ };
4077
+ };
4078
+ /** @description Default Response */
4079
+ 401: {
4080
+ headers: {
4081
+ [name: string]: unknown;
4082
+ };
4083
+ content: {
4084
+ "application/json": {
4085
+ error: {
4086
+ code: string;
4087
+ message: string;
4088
+ /** Format: uuid */
4089
+ correlationId: string;
4090
+ };
4091
+ };
4092
+ };
4093
+ };
4094
+ /** @description Default Response */
4095
+ 403: {
4096
+ headers: {
4097
+ [name: string]: unknown;
4098
+ };
4099
+ content: {
4100
+ "application/json": {
4101
+ error: {
4102
+ code: string;
4103
+ message: string;
4104
+ /** Format: uuid */
4105
+ correlationId: string;
4106
+ };
4107
+ };
4108
+ };
4109
+ };
4110
+ /** @description Default Response */
4111
+ 404: {
4112
+ headers: {
4113
+ [name: string]: unknown;
4114
+ };
4115
+ content: {
4116
+ "application/json": {
4117
+ error: {
4118
+ code: string;
4119
+ message: string;
4120
+ /** Format: uuid */
4121
+ correlationId: string;
4122
+ };
4123
+ };
4124
+ };
4125
+ };
4126
+ /** @description Default Response */
4127
+ 409: {
4128
+ headers: {
4129
+ [name: string]: unknown;
4130
+ };
4131
+ content: {
4132
+ "application/json": {
4133
+ error: {
4134
+ code: string;
4135
+ message: string;
4136
+ /** Format: uuid */
4137
+ correlationId: string;
4138
+ };
4139
+ };
4140
+ };
4141
+ };
4142
+ /** @description Default Response */
4143
+ 429: {
4144
+ headers: {
4145
+ [name: string]: unknown;
4146
+ };
4147
+ content: {
4148
+ "application/json": {
4149
+ error: {
4150
+ code: string;
4151
+ message: string;
4152
+ /** Format: uuid */
4153
+ correlationId: string;
4154
+ };
4155
+ };
4156
+ };
4157
+ };
4158
+ /** @description Default Response */
4159
+ 500: {
4160
+ headers: {
4161
+ [name: string]: unknown;
4162
+ };
4163
+ content: {
4164
+ "application/json": {
4165
+ error: {
4166
+ code: string;
4167
+ message: string;
4168
+ /** Format: uuid */
4169
+ correlationId: string;
4170
+ };
4171
+ };
4172
+ };
4173
+ };
4174
+ /** @description Default Response */
4175
+ 503: {
4176
+ headers: {
4177
+ [name: string]: unknown;
4178
+ };
4179
+ content: {
4180
+ "application/json": {
4181
+ error: {
4182
+ code: string;
4183
+ message: string;
4184
+ /** Format: uuid */
4185
+ correlationId: string;
4186
+ };
4187
+ };
4188
+ };
4189
+ };
4190
+ };
4191
+ };
4192
+ listAuditEvents: {
4193
+ parameters: {
4194
+ query?: {
4195
+ limit?: number;
4196
+ cursor?: string;
4197
+ };
4198
+ header?: never;
4199
+ path: {
4200
+ projectId: string;
4201
+ };
4202
+ cookie?: never;
4203
+ };
4204
+ requestBody?: never;
4205
+ responses: {
4206
+ /** @description Default Response */
4207
+ 200: {
4208
+ headers: {
4209
+ [name: string]: unknown;
4210
+ };
4211
+ content: {
4212
+ "application/json": {
4213
+ data: {
4214
+ /** Format: uuid */
4215
+ id: string;
4216
+ environment: "test" | "live";
4217
+ actorType: "developer" | "api_key" | "system";
4218
+ action: string;
4219
+ correlationId: string;
4220
+ metadata: {
4221
+ [key: string]: string | number | boolean | null;
4222
+ };
4223
+ /** Format: date-time */
4224
+ createdAt: string;
4225
+ }[];
4226
+ nextCursor: string | null;
4227
+ };
4228
+ };
4229
+ };
4230
+ /** @description Default Response */
4231
+ 400: {
4232
+ headers: {
4233
+ [name: string]: unknown;
4234
+ };
4235
+ content: {
4236
+ "application/json": {
4237
+ error: {
4238
+ code: string;
4239
+ message: string;
4240
+ /** Format: uuid */
4241
+ correlationId: string;
4242
+ };
4243
+ };
4244
+ };
4245
+ };
4246
+ /** @description Default Response */
4247
+ 401: {
4248
+ headers: {
4249
+ [name: string]: unknown;
4250
+ };
3561
4251
  content: {
3562
4252
  "application/json": {
3563
4253
  error: {
@@ -3878,9 +4568,12 @@ export interface operations {
3878
4568
  mandateId: string;
3879
4569
  actionId: string;
3880
4570
  gasPolicyId: string | null;
3881
- payer: "owner_reimbursement" | "developer";
4571
+ payer: "owner_reimbursement" | "developer" | "developer_relayer";
4572
+ relayerMode: "gol" | "developer" | null;
4573
+ submitter: string | null;
3882
4574
  state: string;
3883
4575
  quote: {
4576
+ maxChargeWei: string;
3884
4577
  acceptedOwnerMaximumWei: string;
3885
4578
  maximumNetworkWei: string;
3886
4579
  maximumGolExposureWei: string;
@@ -3912,6 +4605,31 @@ export interface operations {
3912
4605
  eligibleOwnerWei: string;
3913
4606
  golLossWei: string;
3914
4607
  developerCostWei: string;
4608
+ refusalCode?: string;
4609
+ settledWei?: string;
4610
+ unpaidWei?: string;
4611
+ overchargeWei?: string;
4612
+ };
4613
+ settlement: null | {
4614
+ kind: "inline" | "claim";
4615
+ outcome: "success" | "refusal" | "revert";
4616
+ gasUnits: string | null;
4617
+ gasPriceWei: string;
4618
+ declaredL1FeeWei: string | null;
4619
+ declaredOperatorFeeWei: string | null;
4620
+ chargedWei: string;
4621
+ paid: boolean;
4622
+ recipient: string;
4623
+ submitter: string | null;
4624
+ };
4625
+ transaction: null | {
4626
+ to: string;
4627
+ data: string;
4628
+ /** @enum {number} */
4629
+ chainId: 84532;
4630
+ gasLimit: string;
4631
+ maxFeePerGasWei: string;
4632
+ submitter: string;
3915
4633
  };
3916
4634
  claimReceipt: null | {
3917
4635
  claimTransactionHash: string;
@@ -4096,6 +4814,10 @@ export interface operations {
4096
4814
  chainId: 84532;
4097
4815
  core: string;
4098
4816
  gasRouter: string;
4817
+ /** @enum {string} */
4818
+ domainVersion: "3";
4819
+ /** @enum {number} */
4820
+ formulaVersion: 2;
4099
4821
  asset: {
4100
4822
  address: string;
4101
4823
  /** @enum {string} */
@@ -4107,8 +4829,27 @@ export interface operations {
4107
4829
  gasRecipient: string;
4108
4830
  attester: string;
4109
4831
  relayer: string;
4832
+ relayerModes: ("gol" | "developer")[];
4833
+ eip7702: {
4834
+ delegate: string;
4835
+ delegateCodeHash: string;
4836
+ bootstrap: string;
4837
+ defaultValidator: string;
4838
+ sponsorship: {
4839
+ available: boolean;
4840
+ perProjectDailyLimit: number;
4841
+ };
4842
+ };
4843
+ trees: {
4844
+ maxDepth: number;
4845
+ maxActiveDescendants: number;
4846
+ sponsorship: {
4847
+ available: boolean;
4848
+ perProjectDailyLimit: number;
4849
+ };
4850
+ };
4110
4851
  profiles: {
4111
- family: "safe" | "nexus" | "kernel" | "alchemy";
4852
+ family: "safe" | "nexus" | "kernel" | "alchemy" | "nexus7702";
4112
4853
  profileId: string;
4113
4854
  implementation: string;
4114
4855
  label: string;
@@ -4273,14 +5014,22 @@ export interface operations {
4273
5014
  content: {
4274
5015
  "application/json": {
4275
5016
  account: string;
4276
- family: ("safe" | "nexus" | "kernel" | "alchemy") | null;
5017
+ family: ("safe" | "nexus" | "kernel" | "alchemy" | "nexus7702") | null;
4277
5018
  profileId: string | null;
4278
5019
  implementation: string | null;
4279
5020
  implementationReviewed: boolean;
5021
+ configurationReviewed: boolean;
4280
5022
  coreInstalled: boolean;
4281
5023
  installEpoch: string | null;
4282
5024
  gasPolicyNonce: string | null;
4283
5025
  revocationNonce: string | null;
5026
+ accountKind: "contract" | "eoa" | "delegated_eoa";
5027
+ delegation: null | {
5028
+ delegate: string | null;
5029
+ reviewed: boolean;
5030
+ initialized: boolean | null;
5031
+ };
5032
+ transactionCount: string;
4284
5033
  blockNumber: string;
4285
5034
  };
4286
5035
  };
@@ -4415,39 +5164,19 @@ export interface operations {
4415
5164
  };
4416
5165
  };
4417
5166
  };
4418
- prepareGasPolicy: {
5167
+ prepareEip7702Setup: {
4419
5168
  parameters: {
4420
5169
  query?: never;
4421
5170
  header?: never;
4422
5171
  path: {
4423
5172
  projectId: string;
5173
+ account: string;
4424
5174
  };
4425
5175
  cookie?: never;
4426
5176
  };
4427
5177
  requestBody: {
4428
5178
  content: {
4429
- "application/json": {
4430
- account: string;
4431
- family: "safe" | "nexus" | "kernel" | "alchemy";
4432
- agent: string;
4433
- transfer: {
4434
- recipients: string[];
4435
- maxPerActionBaseUnits: string;
4436
- maxTotalBaseUnits: string;
4437
- };
4438
- mandate: {
4439
- validFrom: number;
4440
- expiresAt: number;
4441
- approvalExpiresAt: number;
4442
- salt?: string;
4443
- };
4444
- gas: {
4445
- maxPerActionWei: string;
4446
- maxTotalWei: string;
4447
- expiresAt: number;
4448
- chargeableOutcomesMask: number;
4449
- };
4450
- };
5179
+ "application/json": Record<string, never>;
4451
5180
  };
4452
5181
  };
4453
5182
  responses: {
@@ -4458,38 +5187,37 @@ export interface operations {
4458
5187
  };
4459
5188
  content: {
4460
5189
  "application/json": {
4461
- /** Format: uuid */
4462
- draftId: string;
4463
- /** Format: date-time */
4464
- draftExpiresAt: string;
4465
- /** @enum {string} */
4466
- environment: "test";
5190
+ account: string;
4467
5191
  /** @enum {number} */
4468
5192
  chainId: 84532;
4469
5193
  core: string;
4470
- account: string;
4471
- family: "safe" | "nexus" | "kernel" | "alchemy";
4472
- review: {
4473
- [key: string]: unknown;
4474
- };
4475
- authority: {
4476
- mandateTerms: {
4477
- [key: string]: unknown;
4478
- };
4479
- mandatePolicy: string;
4480
- gasPolicy: {
4481
- [key: string]: unknown;
4482
- };
4483
- mandateId: string;
4484
- gasPolicyId: string;
4485
- combinedDigest: string;
5194
+ delegate: string;
5195
+ bootstrap: string;
5196
+ delegation: "none" | "reviewed_uninitialized";
5197
+ authorization: null | {
5198
+ /** @enum {number} */
5199
+ chainId: 84532;
5200
+ address: string;
5201
+ nonce: string;
5202
+ hash: string;
5203
+ selfSentNonce: string;
4486
5204
  };
4487
- signing: components["schemas"]["def-5"];
4488
- submission: {
5205
+ initData: string;
5206
+ initDataHash: string;
5207
+ relayedCall: {
4489
5208
  to: string;
4490
5209
  /** @enum {string} */
4491
- functionName: "createMandateWithGas";
5210
+ functionName: "initializeAccount";
4492
5211
  };
5212
+ selfSentCall: {
5213
+ to: string;
5214
+ data: string;
5215
+ };
5216
+ sponsorship: {
5217
+ available: boolean;
5218
+ remainingToday: number;
5219
+ };
5220
+ observedBlockNumber: string;
4493
5221
  };
4494
5222
  };
4495
5223
  };
@@ -4623,24 +5351,186 @@ export interface operations {
4623
5351
  };
4624
5352
  };
4625
5353
  };
4626
- confirmGasPolicy: {
5354
+ submitEip7702Setup: {
4627
5355
  parameters: {
4628
5356
  query?: never;
4629
5357
  header?: never;
4630
5358
  path: {
4631
5359
  projectId: string;
5360
+ account: string;
4632
5361
  };
4633
5362
  cookie?: never;
4634
5363
  };
4635
5364
  requestBody: {
4636
5365
  content: {
4637
5366
  "application/json": {
4638
- /** Format: uuid */
4639
- draftId: string;
4640
- transactionHash: string;
5367
+ authorization: null | {
5368
+ /** @enum {number} */
5369
+ chainId: 84532;
5370
+ address: string;
5371
+ nonce: string;
5372
+ yParity: 0 | 1;
5373
+ r: string;
5374
+ s: string;
5375
+ };
5376
+ initSignature: string;
5377
+ };
5378
+ };
5379
+ };
5380
+ responses: {
5381
+ /** @description Default Response */
5382
+ 202: {
5383
+ headers: {
5384
+ [name: string]: unknown;
5385
+ };
5386
+ content: {
5387
+ "application/json": components["schemas"]["def-11"];
5388
+ };
5389
+ };
5390
+ /** @description Default Response */
5391
+ 400: {
5392
+ headers: {
5393
+ [name: string]: unknown;
5394
+ };
5395
+ content: {
5396
+ "application/json": {
5397
+ error: {
5398
+ code: string;
5399
+ message: string;
5400
+ /** Format: uuid */
5401
+ correlationId: string;
5402
+ };
5403
+ };
5404
+ };
5405
+ };
5406
+ /** @description Default Response */
5407
+ 401: {
5408
+ headers: {
5409
+ [name: string]: unknown;
5410
+ };
5411
+ content: {
5412
+ "application/json": {
5413
+ error: {
5414
+ code: string;
5415
+ message: string;
5416
+ /** Format: uuid */
5417
+ correlationId: string;
5418
+ };
5419
+ };
5420
+ };
5421
+ };
5422
+ /** @description Default Response */
5423
+ 403: {
5424
+ headers: {
5425
+ [name: string]: unknown;
5426
+ };
5427
+ content: {
5428
+ "application/json": {
5429
+ error: {
5430
+ code: string;
5431
+ message: string;
5432
+ /** Format: uuid */
5433
+ correlationId: string;
5434
+ };
5435
+ };
5436
+ };
5437
+ };
5438
+ /** @description Default Response */
5439
+ 404: {
5440
+ headers: {
5441
+ [name: string]: unknown;
5442
+ };
5443
+ content: {
5444
+ "application/json": {
5445
+ error: {
5446
+ code: string;
5447
+ message: string;
5448
+ /** Format: uuid */
5449
+ correlationId: string;
5450
+ };
5451
+ };
5452
+ };
5453
+ };
5454
+ /** @description Default Response */
5455
+ 409: {
5456
+ headers: {
5457
+ [name: string]: unknown;
5458
+ };
5459
+ content: {
5460
+ "application/json": {
5461
+ error: {
5462
+ code: string;
5463
+ message: string;
5464
+ /** Format: uuid */
5465
+ correlationId: string;
5466
+ };
5467
+ };
5468
+ };
5469
+ };
5470
+ /** @description Default Response */
5471
+ 429: {
5472
+ headers: {
5473
+ [name: string]: unknown;
5474
+ };
5475
+ content: {
5476
+ "application/json": {
5477
+ error: {
5478
+ code: string;
5479
+ message: string;
5480
+ /** Format: uuid */
5481
+ correlationId: string;
5482
+ };
5483
+ };
5484
+ };
5485
+ };
5486
+ /** @description Default Response */
5487
+ 500: {
5488
+ headers: {
5489
+ [name: string]: unknown;
5490
+ };
5491
+ content: {
5492
+ "application/json": {
5493
+ error: {
5494
+ code: string;
5495
+ message: string;
5496
+ /** Format: uuid */
5497
+ correlationId: string;
5498
+ };
5499
+ };
5500
+ };
5501
+ };
5502
+ /** @description Default Response */
5503
+ 503: {
5504
+ headers: {
5505
+ [name: string]: unknown;
5506
+ };
5507
+ content: {
5508
+ "application/json": {
5509
+ error: {
5510
+ code: string;
5511
+ message: string;
5512
+ /** Format: uuid */
5513
+ correlationId: string;
5514
+ };
5515
+ };
4641
5516
  };
4642
5517
  };
4643
5518
  };
5519
+ };
5520
+ getEip7702Setup: {
5521
+ parameters: {
5522
+ query?: {
5523
+ environment?: "test" | "live";
5524
+ };
5525
+ header?: never;
5526
+ path: {
5527
+ projectId: string;
5528
+ account: string;
5529
+ setupId: string;
5530
+ };
5531
+ cookie?: never;
5532
+ };
5533
+ requestBody?: never;
4644
5534
  responses: {
4645
5535
  /** @description Default Response */
4646
5536
  200: {
@@ -4648,7 +5538,1165 @@ export interface operations {
4648
5538
  [name: string]: unknown;
4649
5539
  };
4650
5540
  content: {
4651
- "application/json": components["schemas"]["def-6"];
5541
+ "application/json": components["schemas"]["def-11"];
5542
+ };
5543
+ };
5544
+ /** @description Default Response */
5545
+ 400: {
5546
+ headers: {
5547
+ [name: string]: unknown;
5548
+ };
5549
+ content: {
5550
+ "application/json": {
5551
+ error: {
5552
+ code: string;
5553
+ message: string;
5554
+ /** Format: uuid */
5555
+ correlationId: string;
5556
+ };
5557
+ };
5558
+ };
5559
+ };
5560
+ /** @description Default Response */
5561
+ 401: {
5562
+ headers: {
5563
+ [name: string]: unknown;
5564
+ };
5565
+ content: {
5566
+ "application/json": {
5567
+ error: {
5568
+ code: string;
5569
+ message: string;
5570
+ /** Format: uuid */
5571
+ correlationId: string;
5572
+ };
5573
+ };
5574
+ };
5575
+ };
5576
+ /** @description Default Response */
5577
+ 403: {
5578
+ headers: {
5579
+ [name: string]: unknown;
5580
+ };
5581
+ content: {
5582
+ "application/json": {
5583
+ error: {
5584
+ code: string;
5585
+ message: string;
5586
+ /** Format: uuid */
5587
+ correlationId: string;
5588
+ };
5589
+ };
5590
+ };
5591
+ };
5592
+ /** @description Default Response */
5593
+ 404: {
5594
+ headers: {
5595
+ [name: string]: unknown;
5596
+ };
5597
+ content: {
5598
+ "application/json": {
5599
+ error: {
5600
+ code: string;
5601
+ message: string;
5602
+ /** Format: uuid */
5603
+ correlationId: string;
5604
+ };
5605
+ };
5606
+ };
5607
+ };
5608
+ /** @description Default Response */
5609
+ 409: {
5610
+ headers: {
5611
+ [name: string]: unknown;
5612
+ };
5613
+ content: {
5614
+ "application/json": {
5615
+ error: {
5616
+ code: string;
5617
+ message: string;
5618
+ /** Format: uuid */
5619
+ correlationId: string;
5620
+ };
5621
+ };
5622
+ };
5623
+ };
5624
+ /** @description Default Response */
5625
+ 429: {
5626
+ headers: {
5627
+ [name: string]: unknown;
5628
+ };
5629
+ content: {
5630
+ "application/json": {
5631
+ error: {
5632
+ code: string;
5633
+ message: string;
5634
+ /** Format: uuid */
5635
+ correlationId: string;
5636
+ };
5637
+ };
5638
+ };
5639
+ };
5640
+ /** @description Default Response */
5641
+ 500: {
5642
+ headers: {
5643
+ [name: string]: unknown;
5644
+ };
5645
+ content: {
5646
+ "application/json": {
5647
+ error: {
5648
+ code: string;
5649
+ message: string;
5650
+ /** Format: uuid */
5651
+ correlationId: string;
5652
+ };
5653
+ };
5654
+ };
5655
+ };
5656
+ /** @description Default Response */
5657
+ 503: {
5658
+ headers: {
5659
+ [name: string]: unknown;
5660
+ };
5661
+ content: {
5662
+ "application/json": {
5663
+ error: {
5664
+ code: string;
5665
+ message: string;
5666
+ /** Format: uuid */
5667
+ correlationId: string;
5668
+ };
5669
+ };
5670
+ };
5671
+ };
5672
+ };
5673
+ };
5674
+ prepareGasPolicy: {
5675
+ parameters: {
5676
+ query?: never;
5677
+ header?: never;
5678
+ path: {
5679
+ projectId: string;
5680
+ };
5681
+ cookie?: never;
5682
+ };
5683
+ requestBody: {
5684
+ content: {
5685
+ "application/json": {
5686
+ account: string;
5687
+ family: "safe" | "nexus" | "kernel" | "alchemy" | "nexus7702";
5688
+ agent: string;
5689
+ transfer: {
5690
+ recipients: string[];
5691
+ maxPerActionBaseUnits: string;
5692
+ maxTotalBaseUnits: string;
5693
+ };
5694
+ mandate: {
5695
+ validFrom: number;
5696
+ expiresAt: number;
5697
+ approvalExpiresAt: number;
5698
+ salt?: string;
5699
+ };
5700
+ gas: {
5701
+ maxPerActionWei: string;
5702
+ maxTotalWei: string;
5703
+ expiresAt: number;
5704
+ chargeableOutcomesMask: number;
5705
+ };
5706
+ relayer?: {
5707
+ /** @enum {string} */
5708
+ mode: "gol";
5709
+ } | {
5710
+ /** @enum {string} */
5711
+ mode: "developer";
5712
+ submitter: string;
5713
+ recipient: string;
5714
+ };
5715
+ tree?: {
5716
+ maxDepth: number;
5717
+ maxActiveDescendants: number;
5718
+ };
5719
+ };
5720
+ };
5721
+ };
5722
+ responses: {
5723
+ /** @description Default Response */
5724
+ 200: {
5725
+ headers: {
5726
+ [name: string]: unknown;
5727
+ };
5728
+ content: {
5729
+ "application/json": {
5730
+ /** Format: uuid */
5731
+ draftId: string;
5732
+ /** Format: date-time */
5733
+ draftExpiresAt: string;
5734
+ /** @enum {string} */
5735
+ environment: "test";
5736
+ /** @enum {number} */
5737
+ chainId: 84532;
5738
+ core: string;
5739
+ account: string;
5740
+ family: "safe" | "nexus" | "kernel" | "alchemy" | "nexus7702";
5741
+ review: {
5742
+ /** Format: uuid */
5743
+ projectId: string;
5744
+ contractProjectId: string;
5745
+ agent: string;
5746
+ asset: string;
5747
+ /** @enum {number} */
5748
+ assetDecimals: 6;
5749
+ recipients: string[];
5750
+ maxPerActionBaseUnits: string;
5751
+ maxTotalBaseUnits: string;
5752
+ relayerMode: "gol" | "developer";
5753
+ submitter: string;
5754
+ gasRecipient: string;
5755
+ attester: string;
5756
+ maxGasPerActionWei: string;
5757
+ maxGasTotalWei: string;
5758
+ chargeableOutcomesMask: number;
5759
+ maxDepth: number;
5760
+ maxActiveDescendants: number;
5761
+ mandateValidFrom: number;
5762
+ mandateExpiresAt: number;
5763
+ gasExpiresAt: number;
5764
+ };
5765
+ authority: {
5766
+ mandateTerms: {
5767
+ parentId: string;
5768
+ account: string;
5769
+ agent: string;
5770
+ accountProfileId: string;
5771
+ installEpoch: string;
5772
+ projectId: string;
5773
+ mode: number;
5774
+ policyVersion: number;
5775
+ policyHash: string;
5776
+ validFrom: number;
5777
+ expiresAt: number;
5778
+ maxDepth: number;
5779
+ maxActiveDescendants: number;
5780
+ approvalExpiresAt: number;
5781
+ salt: string;
5782
+ };
5783
+ mandatePolicy: string;
5784
+ gasPolicy: {
5785
+ mandateId: string;
5786
+ account: string;
5787
+ projectId: string;
5788
+ accountProfileId: string;
5789
+ installEpoch: string;
5790
+ feeAsset: string;
5791
+ submitter: string;
5792
+ recipient: string;
5793
+ attester: string;
5794
+ maxPerAction: string;
5795
+ maxTotal: string;
5796
+ expiresAt: number;
5797
+ chargeableOutcomes: number;
5798
+ formulaVersion: number;
5799
+ nonce: string;
5800
+ };
5801
+ mandateId: string;
5802
+ gasPolicyId: string;
5803
+ combinedDigest: string;
5804
+ };
5805
+ signing: components["schemas"]["def-5"];
5806
+ submission: {
5807
+ to: string;
5808
+ /** @enum {string} */
5809
+ functionName: "createMandateWithGas";
5810
+ };
5811
+ };
5812
+ };
5813
+ };
5814
+ /** @description Default Response */
5815
+ 400: {
5816
+ headers: {
5817
+ [name: string]: unknown;
5818
+ };
5819
+ content: {
5820
+ "application/json": {
5821
+ error: {
5822
+ code: string;
5823
+ message: string;
5824
+ /** Format: uuid */
5825
+ correlationId: string;
5826
+ };
5827
+ };
5828
+ };
5829
+ };
5830
+ /** @description Default Response */
5831
+ 401: {
5832
+ headers: {
5833
+ [name: string]: unknown;
5834
+ };
5835
+ content: {
5836
+ "application/json": {
5837
+ error: {
5838
+ code: string;
5839
+ message: string;
5840
+ /** Format: uuid */
5841
+ correlationId: string;
5842
+ };
5843
+ };
5844
+ };
5845
+ };
5846
+ /** @description Default Response */
5847
+ 403: {
5848
+ headers: {
5849
+ [name: string]: unknown;
5850
+ };
5851
+ content: {
5852
+ "application/json": {
5853
+ error: {
5854
+ code: string;
5855
+ message: string;
5856
+ /** Format: uuid */
5857
+ correlationId: string;
5858
+ };
5859
+ };
5860
+ };
5861
+ };
5862
+ /** @description Default Response */
5863
+ 404: {
5864
+ headers: {
5865
+ [name: string]: unknown;
5866
+ };
5867
+ content: {
5868
+ "application/json": {
5869
+ error: {
5870
+ code: string;
5871
+ message: string;
5872
+ /** Format: uuid */
5873
+ correlationId: string;
5874
+ };
5875
+ };
5876
+ };
5877
+ };
5878
+ /** @description Default Response */
5879
+ 409: {
5880
+ headers: {
5881
+ [name: string]: unknown;
5882
+ };
5883
+ content: {
5884
+ "application/json": {
5885
+ error: {
5886
+ code: string;
5887
+ message: string;
5888
+ /** Format: uuid */
5889
+ correlationId: string;
5890
+ };
5891
+ };
5892
+ };
5893
+ };
5894
+ /** @description Default Response */
5895
+ 429: {
5896
+ headers: {
5897
+ [name: string]: unknown;
5898
+ };
5899
+ content: {
5900
+ "application/json": {
5901
+ error: {
5902
+ code: string;
5903
+ message: string;
5904
+ /** Format: uuid */
5905
+ correlationId: string;
5906
+ };
5907
+ };
5908
+ };
5909
+ };
5910
+ /** @description Default Response */
5911
+ 500: {
5912
+ headers: {
5913
+ [name: string]: unknown;
5914
+ };
5915
+ content: {
5916
+ "application/json": {
5917
+ error: {
5918
+ code: string;
5919
+ message: string;
5920
+ /** Format: uuid */
5921
+ correlationId: string;
5922
+ };
5923
+ };
5924
+ };
5925
+ };
5926
+ /** @description Default Response */
5927
+ 503: {
5928
+ headers: {
5929
+ [name: string]: unknown;
5930
+ };
5931
+ content: {
5932
+ "application/json": {
5933
+ error: {
5934
+ code: string;
5935
+ message: string;
5936
+ /** Format: uuid */
5937
+ correlationId: string;
5938
+ };
5939
+ };
5940
+ };
5941
+ };
5942
+ };
5943
+ };
5944
+ confirmGasPolicy: {
5945
+ parameters: {
5946
+ query?: never;
5947
+ header?: never;
5948
+ path: {
5949
+ projectId: string;
5950
+ };
5951
+ cookie?: never;
5952
+ };
5953
+ requestBody: {
5954
+ content: {
5955
+ "application/json": {
5956
+ /** Format: uuid */
5957
+ draftId: string;
5958
+ transactionHash: string;
5959
+ };
5960
+ };
5961
+ };
5962
+ responses: {
5963
+ /** @description Default Response */
5964
+ 200: {
5965
+ headers: {
5966
+ [name: string]: unknown;
5967
+ };
5968
+ content: {
5969
+ "application/json": components["schemas"]["def-6"];
5970
+ };
5971
+ };
5972
+ /** @description Default Response */
5973
+ 202: {
5974
+ headers: {
5975
+ [name: string]: unknown;
5976
+ };
5977
+ content: {
5978
+ "application/json": {
5979
+ /** @enum {string} */
5980
+ status: "observing";
5981
+ transactionHash: string;
5982
+ /** Format: uuid */
5983
+ draftId?: string;
5984
+ gasPolicyId?: string;
5985
+ };
5986
+ };
5987
+ };
5988
+ /** @description Default Response */
5989
+ 400: {
5990
+ headers: {
5991
+ [name: string]: unknown;
5992
+ };
5993
+ content: {
5994
+ "application/json": {
5995
+ error: {
5996
+ code: string;
5997
+ message: string;
5998
+ /** Format: uuid */
5999
+ correlationId: string;
6000
+ };
6001
+ };
6002
+ };
6003
+ };
6004
+ /** @description Default Response */
6005
+ 401: {
6006
+ headers: {
6007
+ [name: string]: unknown;
6008
+ };
6009
+ content: {
6010
+ "application/json": {
6011
+ error: {
6012
+ code: string;
6013
+ message: string;
6014
+ /** Format: uuid */
6015
+ correlationId: string;
6016
+ };
6017
+ };
6018
+ };
6019
+ };
6020
+ /** @description Default Response */
6021
+ 403: {
6022
+ headers: {
6023
+ [name: string]: unknown;
6024
+ };
6025
+ content: {
6026
+ "application/json": {
6027
+ error: {
6028
+ code: string;
6029
+ message: string;
6030
+ /** Format: uuid */
6031
+ correlationId: string;
6032
+ };
6033
+ };
6034
+ };
6035
+ };
6036
+ /** @description Default Response */
6037
+ 404: {
6038
+ headers: {
6039
+ [name: string]: unknown;
6040
+ };
6041
+ content: {
6042
+ "application/json": {
6043
+ error: {
6044
+ code: string;
6045
+ message: string;
6046
+ /** Format: uuid */
6047
+ correlationId: string;
6048
+ };
6049
+ };
6050
+ };
6051
+ };
6052
+ /** @description Default Response */
6053
+ 409: {
6054
+ headers: {
6055
+ [name: string]: unknown;
6056
+ };
6057
+ content: {
6058
+ "application/json": {
6059
+ error: {
6060
+ code: string;
6061
+ message: string;
6062
+ /** Format: uuid */
6063
+ correlationId: string;
6064
+ };
6065
+ };
6066
+ };
6067
+ };
6068
+ /** @description Default Response */
6069
+ 429: {
6070
+ headers: {
6071
+ [name: string]: unknown;
6072
+ };
6073
+ content: {
6074
+ "application/json": {
6075
+ error: {
6076
+ code: string;
6077
+ message: string;
6078
+ /** Format: uuid */
6079
+ correlationId: string;
6080
+ };
6081
+ };
6082
+ };
6083
+ };
6084
+ /** @description Default Response */
6085
+ 500: {
6086
+ headers: {
6087
+ [name: string]: unknown;
6088
+ };
6089
+ content: {
6090
+ "application/json": {
6091
+ error: {
6092
+ code: string;
6093
+ message: string;
6094
+ /** Format: uuid */
6095
+ correlationId: string;
6096
+ };
6097
+ };
6098
+ };
6099
+ };
6100
+ /** @description Default Response */
6101
+ 503: {
6102
+ headers: {
6103
+ [name: string]: unknown;
6104
+ };
6105
+ content: {
6106
+ "application/json": {
6107
+ error: {
6108
+ code: string;
6109
+ message: string;
6110
+ /** Format: uuid */
6111
+ correlationId: string;
6112
+ };
6113
+ };
6114
+ };
6115
+ };
6116
+ };
6117
+ };
6118
+ prepareChildMandate: {
6119
+ parameters: {
6120
+ query?: never;
6121
+ header?: never;
6122
+ path: {
6123
+ projectId: string;
6124
+ gasPolicyId: string;
6125
+ };
6126
+ cookie?: never;
6127
+ };
6128
+ requestBody: {
6129
+ content: {
6130
+ "application/json": {
6131
+ parentMandateId?: string;
6132
+ agent: string;
6133
+ transfer: {
6134
+ recipients: string[];
6135
+ maxPerActionBaseUnits: string;
6136
+ maxTotalBaseUnits: string;
6137
+ };
6138
+ mandate: {
6139
+ validFrom: number;
6140
+ expiresAt: number;
6141
+ approvalExpiresAt: number;
6142
+ salt?: string;
6143
+ };
6144
+ tree?: {
6145
+ maxDepth: number;
6146
+ maxActiveDescendants: number;
6147
+ };
6148
+ };
6149
+ };
6150
+ };
6151
+ responses: {
6152
+ /** @description Default Response */
6153
+ 200: {
6154
+ headers: {
6155
+ [name: string]: unknown;
6156
+ };
6157
+ content: {
6158
+ "application/json": {
6159
+ /** Format: uuid */
6160
+ draftId: string;
6161
+ /** Format: date-time */
6162
+ draftExpiresAt: string;
6163
+ gasPolicyId: string;
6164
+ rootMandateId: string;
6165
+ parentMandateId: string;
6166
+ parentAgent: string;
6167
+ review: {
6168
+ agent: string;
6169
+ recipients: string[];
6170
+ maxPerActionBaseUnits: string;
6171
+ maxTotalBaseUnits: string;
6172
+ validFrom: number;
6173
+ expiresAt: number;
6174
+ depth: number;
6175
+ maxDepth: number;
6176
+ maxActiveDescendants: number;
6177
+ };
6178
+ authority: {
6179
+ mandateTerms: {
6180
+ parentId: string;
6181
+ account: string;
6182
+ agent: string;
6183
+ accountProfileId: string;
6184
+ installEpoch: string;
6185
+ projectId: string;
6186
+ mode: number;
6187
+ policyVersion: number;
6188
+ policyHash: string;
6189
+ validFrom: number;
6190
+ expiresAt: number;
6191
+ maxDepth: number;
6192
+ maxActiveDescendants: number;
6193
+ approvalExpiresAt: number;
6194
+ salt: string;
6195
+ };
6196
+ mandatePolicy: string;
6197
+ mandateId: string;
6198
+ };
6199
+ signing: {
6200
+ signer: string;
6201
+ /** @enum {string} */
6202
+ method: "eth_signTypedData_v4";
6203
+ typedData: {
6204
+ domain: {
6205
+ [key: string]: unknown;
6206
+ };
6207
+ types: {
6208
+ [key: string]: {
6209
+ name: string;
6210
+ type: string;
6211
+ }[];
6212
+ };
6213
+ primaryType: string;
6214
+ message: {
6215
+ [key: string]: unknown;
6216
+ };
6217
+ };
6218
+ expectedHash: string;
6219
+ };
6220
+ submission: {
6221
+ to: string;
6222
+ /** @enum {string} */
6223
+ functionName: "createChildMandate";
6224
+ };
6225
+ observedBlockNumber: string;
6226
+ };
6227
+ };
6228
+ };
6229
+ /** @description Default Response */
6230
+ 400: {
6231
+ headers: {
6232
+ [name: string]: unknown;
6233
+ };
6234
+ content: {
6235
+ "application/json": {
6236
+ error: {
6237
+ code: string;
6238
+ message: string;
6239
+ /** Format: uuid */
6240
+ correlationId: string;
6241
+ };
6242
+ };
6243
+ };
6244
+ };
6245
+ /** @description Default Response */
6246
+ 401: {
6247
+ headers: {
6248
+ [name: string]: unknown;
6249
+ };
6250
+ content: {
6251
+ "application/json": {
6252
+ error: {
6253
+ code: string;
6254
+ message: string;
6255
+ /** Format: uuid */
6256
+ correlationId: string;
6257
+ };
6258
+ };
6259
+ };
6260
+ };
6261
+ /** @description Default Response */
6262
+ 403: {
6263
+ headers: {
6264
+ [name: string]: unknown;
6265
+ };
6266
+ content: {
6267
+ "application/json": {
6268
+ error: {
6269
+ code: string;
6270
+ message: string;
6271
+ /** Format: uuid */
6272
+ correlationId: string;
6273
+ };
6274
+ };
6275
+ };
6276
+ };
6277
+ /** @description Default Response */
6278
+ 404: {
6279
+ headers: {
6280
+ [name: string]: unknown;
6281
+ };
6282
+ content: {
6283
+ "application/json": {
6284
+ error: {
6285
+ code: string;
6286
+ message: string;
6287
+ /** Format: uuid */
6288
+ correlationId: string;
6289
+ };
6290
+ };
6291
+ };
6292
+ };
6293
+ /** @description Default Response */
6294
+ 409: {
6295
+ headers: {
6296
+ [name: string]: unknown;
6297
+ };
6298
+ content: {
6299
+ "application/json": {
6300
+ error: {
6301
+ code: string;
6302
+ message: string;
6303
+ /** Format: uuid */
6304
+ correlationId: string;
6305
+ };
6306
+ };
6307
+ };
6308
+ };
6309
+ /** @description Default Response */
6310
+ 429: {
6311
+ headers: {
6312
+ [name: string]: unknown;
6313
+ };
6314
+ content: {
6315
+ "application/json": {
6316
+ error: {
6317
+ code: string;
6318
+ message: string;
6319
+ /** Format: uuid */
6320
+ correlationId: string;
6321
+ };
6322
+ };
6323
+ };
6324
+ };
6325
+ /** @description Default Response */
6326
+ 500: {
6327
+ headers: {
6328
+ [name: string]: unknown;
6329
+ };
6330
+ content: {
6331
+ "application/json": {
6332
+ error: {
6333
+ code: string;
6334
+ message: string;
6335
+ /** Format: uuid */
6336
+ correlationId: string;
6337
+ };
6338
+ };
6339
+ };
6340
+ };
6341
+ /** @description Default Response */
6342
+ 503: {
6343
+ headers: {
6344
+ [name: string]: unknown;
6345
+ };
6346
+ content: {
6347
+ "application/json": {
6348
+ error: {
6349
+ code: string;
6350
+ message: string;
6351
+ /** Format: uuid */
6352
+ correlationId: string;
6353
+ };
6354
+ };
6355
+ };
6356
+ };
6357
+ };
6358
+ };
6359
+ listChildMandates: {
6360
+ parameters: {
6361
+ query?: {
6362
+ environment?: "test" | "live";
6363
+ };
6364
+ header?: never;
6365
+ path: {
6366
+ projectId: string;
6367
+ gasPolicyId: string;
6368
+ };
6369
+ cookie?: never;
6370
+ };
6371
+ requestBody?: never;
6372
+ responses: {
6373
+ /** @description Default Response */
6374
+ 200: {
6375
+ headers: {
6376
+ [name: string]: unknown;
6377
+ };
6378
+ content: {
6379
+ "application/json": {
6380
+ data: components["schemas"]["def-10"][];
6381
+ };
6382
+ };
6383
+ };
6384
+ /** @description Default Response */
6385
+ 400: {
6386
+ headers: {
6387
+ [name: string]: unknown;
6388
+ };
6389
+ content: {
6390
+ "application/json": {
6391
+ error: {
6392
+ code: string;
6393
+ message: string;
6394
+ /** Format: uuid */
6395
+ correlationId: string;
6396
+ };
6397
+ };
6398
+ };
6399
+ };
6400
+ /** @description Default Response */
6401
+ 401: {
6402
+ headers: {
6403
+ [name: string]: unknown;
6404
+ };
6405
+ content: {
6406
+ "application/json": {
6407
+ error: {
6408
+ code: string;
6409
+ message: string;
6410
+ /** Format: uuid */
6411
+ correlationId: string;
6412
+ };
6413
+ };
6414
+ };
6415
+ };
6416
+ /** @description Default Response */
6417
+ 403: {
6418
+ headers: {
6419
+ [name: string]: unknown;
6420
+ };
6421
+ content: {
6422
+ "application/json": {
6423
+ error: {
6424
+ code: string;
6425
+ message: string;
6426
+ /** Format: uuid */
6427
+ correlationId: string;
6428
+ };
6429
+ };
6430
+ };
6431
+ };
6432
+ /** @description Default Response */
6433
+ 404: {
6434
+ headers: {
6435
+ [name: string]: unknown;
6436
+ };
6437
+ content: {
6438
+ "application/json": {
6439
+ error: {
6440
+ code: string;
6441
+ message: string;
6442
+ /** Format: uuid */
6443
+ correlationId: string;
6444
+ };
6445
+ };
6446
+ };
6447
+ };
6448
+ /** @description Default Response */
6449
+ 409: {
6450
+ headers: {
6451
+ [name: string]: unknown;
6452
+ };
6453
+ content: {
6454
+ "application/json": {
6455
+ error: {
6456
+ code: string;
6457
+ message: string;
6458
+ /** Format: uuid */
6459
+ correlationId: string;
6460
+ };
6461
+ };
6462
+ };
6463
+ };
6464
+ /** @description Default Response */
6465
+ 429: {
6466
+ headers: {
6467
+ [name: string]: unknown;
6468
+ };
6469
+ content: {
6470
+ "application/json": {
6471
+ error: {
6472
+ code: string;
6473
+ message: string;
6474
+ /** Format: uuid */
6475
+ correlationId: string;
6476
+ };
6477
+ };
6478
+ };
6479
+ };
6480
+ /** @description Default Response */
6481
+ 500: {
6482
+ headers: {
6483
+ [name: string]: unknown;
6484
+ };
6485
+ content: {
6486
+ "application/json": {
6487
+ error: {
6488
+ code: string;
6489
+ message: string;
6490
+ /** Format: uuid */
6491
+ correlationId: string;
6492
+ };
6493
+ };
6494
+ };
6495
+ };
6496
+ /** @description Default Response */
6497
+ 503: {
6498
+ headers: {
6499
+ [name: string]: unknown;
6500
+ };
6501
+ content: {
6502
+ "application/json": {
6503
+ error: {
6504
+ code: string;
6505
+ message: string;
6506
+ /** Format: uuid */
6507
+ correlationId: string;
6508
+ };
6509
+ };
6510
+ };
6511
+ };
6512
+ };
6513
+ };
6514
+ submitChildMandate: {
6515
+ parameters: {
6516
+ query?: never;
6517
+ header?: never;
6518
+ path: {
6519
+ projectId: string;
6520
+ gasPolicyId: string;
6521
+ };
6522
+ cookie?: never;
6523
+ };
6524
+ requestBody: {
6525
+ content: {
6526
+ "application/json": {
6527
+ /** Format: uuid */
6528
+ draftId: string;
6529
+ authorization: string;
6530
+ };
6531
+ };
6532
+ };
6533
+ responses: {
6534
+ /** @description Default Response */
6535
+ 202: {
6536
+ headers: {
6537
+ [name: string]: unknown;
6538
+ };
6539
+ content: {
6540
+ "application/json": components["schemas"]["def-10"];
6541
+ };
6542
+ };
6543
+ /** @description Default Response */
6544
+ 400: {
6545
+ headers: {
6546
+ [name: string]: unknown;
6547
+ };
6548
+ content: {
6549
+ "application/json": {
6550
+ error: {
6551
+ code: string;
6552
+ message: string;
6553
+ /** Format: uuid */
6554
+ correlationId: string;
6555
+ };
6556
+ };
6557
+ };
6558
+ };
6559
+ /** @description Default Response */
6560
+ 401: {
6561
+ headers: {
6562
+ [name: string]: unknown;
6563
+ };
6564
+ content: {
6565
+ "application/json": {
6566
+ error: {
6567
+ code: string;
6568
+ message: string;
6569
+ /** Format: uuid */
6570
+ correlationId: string;
6571
+ };
6572
+ };
6573
+ };
6574
+ };
6575
+ /** @description Default Response */
6576
+ 403: {
6577
+ headers: {
6578
+ [name: string]: unknown;
6579
+ };
6580
+ content: {
6581
+ "application/json": {
6582
+ error: {
6583
+ code: string;
6584
+ message: string;
6585
+ /** Format: uuid */
6586
+ correlationId: string;
6587
+ };
6588
+ };
6589
+ };
6590
+ };
6591
+ /** @description Default Response */
6592
+ 404: {
6593
+ headers: {
6594
+ [name: string]: unknown;
6595
+ };
6596
+ content: {
6597
+ "application/json": {
6598
+ error: {
6599
+ code: string;
6600
+ message: string;
6601
+ /** Format: uuid */
6602
+ correlationId: string;
6603
+ };
6604
+ };
6605
+ };
6606
+ };
6607
+ /** @description Default Response */
6608
+ 409: {
6609
+ headers: {
6610
+ [name: string]: unknown;
6611
+ };
6612
+ content: {
6613
+ "application/json": {
6614
+ error: {
6615
+ code: string;
6616
+ message: string;
6617
+ /** Format: uuid */
6618
+ correlationId: string;
6619
+ };
6620
+ };
6621
+ };
6622
+ };
6623
+ /** @description Default Response */
6624
+ 429: {
6625
+ headers: {
6626
+ [name: string]: unknown;
6627
+ };
6628
+ content: {
6629
+ "application/json": {
6630
+ error: {
6631
+ code: string;
6632
+ message: string;
6633
+ /** Format: uuid */
6634
+ correlationId: string;
6635
+ };
6636
+ };
6637
+ };
6638
+ };
6639
+ /** @description Default Response */
6640
+ 500: {
6641
+ headers: {
6642
+ [name: string]: unknown;
6643
+ };
6644
+ content: {
6645
+ "application/json": {
6646
+ error: {
6647
+ code: string;
6648
+ message: string;
6649
+ /** Format: uuid */
6650
+ correlationId: string;
6651
+ };
6652
+ };
6653
+ };
6654
+ };
6655
+ /** @description Default Response */
6656
+ 503: {
6657
+ headers: {
6658
+ [name: string]: unknown;
6659
+ };
6660
+ content: {
6661
+ "application/json": {
6662
+ error: {
6663
+ code: string;
6664
+ message: string;
6665
+ /** Format: uuid */
6666
+ correlationId: string;
6667
+ };
6668
+ };
6669
+ };
6670
+ };
6671
+ };
6672
+ };
6673
+ confirmChildMandate: {
6674
+ parameters: {
6675
+ query?: never;
6676
+ header?: never;
6677
+ path: {
6678
+ projectId: string;
6679
+ gasPolicyId: string;
6680
+ };
6681
+ cookie?: never;
6682
+ };
6683
+ requestBody: {
6684
+ content: {
6685
+ "application/json": {
6686
+ /** Format: uuid */
6687
+ draftId: string;
6688
+ transactionHash: string;
6689
+ };
6690
+ };
6691
+ };
6692
+ responses: {
6693
+ /** @description Default Response */
6694
+ 200: {
6695
+ headers: {
6696
+ [name: string]: unknown;
6697
+ };
6698
+ content: {
6699
+ "application/json": components["schemas"]["def-10"];
4652
6700
  };
4653
6701
  };
4654
6702
  /** @description Default Response */
@@ -5134,7 +7182,7 @@ export interface operations {
5134
7182
  "application/json": {
5135
7183
  gasPolicyId: string;
5136
7184
  account: string;
5137
- family: "safe" | "nexus" | "kernel" | "alchemy";
7185
+ family: "safe" | "nexus" | "kernel" | "alchemy" | "nexus7702";
5138
7186
  /** @enum {number} */
5139
7187
  chainId: 84532;
5140
7188
  core: string;
@@ -5470,7 +7518,8 @@ export interface operations {
5470
7518
  requestBody: {
5471
7519
  content: {
5472
7520
  "application/json": {
5473
- action: "pause" | "resume";
7521
+ action: "pause" | "resume" | "revoke";
7522
+ mandateId?: string;
5474
7523
  deadline?: number;
5475
7524
  };
5476
7525
  };
@@ -5486,12 +7535,12 @@ export interface operations {
5486
7535
  gasPolicyId: string;
5487
7536
  mandateId: string;
5488
7537
  account: string;
5489
- family: "safe" | "nexus" | "kernel" | "alchemy";
7538
+ family: "safe" | "nexus" | "kernel" | "alchemy" | "nexus7702";
5490
7539
  /** @enum {number} */
5491
7540
  chainId: 84532;
5492
7541
  core: string;
5493
- action: "pause" | "resume";
5494
- actionCode: 1 | 2;
7542
+ action: "pause" | "resume" | "revoke";
7543
+ actionCode: 1 | 2 | 3;
5495
7544
  nonce: string;
5496
7545
  deadline: number;
5497
7546
  digest: string;
@@ -5651,7 +7700,8 @@ export interface operations {
5651
7700
  requestBody: {
5652
7701
  content: {
5653
7702
  "application/json": {
5654
- action: "pause" | "resume";
7703
+ action: "pause" | "resume" | "revoke";
7704
+ mandateId?: string;
5655
7705
  transactionHash: string;
5656
7706
  };
5657
7707
  };
@@ -6142,7 +8192,7 @@ export interface operations {
6142
8192
  "application/json": {
6143
8193
  url: string;
6144
8194
  description?: string;
6145
- eventTypes?: ("gas_execution.updated" | "gas_policy.confirmed" | "gas_policy.revoked" | "gas_policy.paused" | "gas_policy.resumed" | "webhook.test")[];
8195
+ 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")[];
6146
8196
  };
6147
8197
  };
6148
8198
  };