@gol/sdk 0.4.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.
@@ -230,6 +230,22 @@ export interface paths {
230
230
  patch?: never;
231
231
  trace?: never;
232
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
+ };
233
249
  "/v1/projects/{projectId}/audit-events": {
234
250
  parameters: {
235
251
  query?: never;
@@ -310,6 +326,54 @@ export interface paths {
310
326
  patch?: never;
311
327
  trace?: never;
312
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
+ };
313
377
  "/v1/projects/{projectId}/gas-policies/prepare": {
314
378
  parameters: {
315
379
  query?: never;
@@ -342,6 +406,54 @@ export interface paths {
342
406
  patch?: never;
343
407
  trace?: never;
344
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
+ };
345
457
  "/v1/projects/{projectId}/gas-policies": {
346
458
  parameters: {
347
459
  query?: never;
@@ -637,9 +749,12 @@ export interface components {
637
749
  mandateId: string;
638
750
  actionId: string;
639
751
  gasPolicyId: string | null;
640
- payer: "owner_reimbursement" | "developer";
752
+ payer: "owner_reimbursement" | "developer" | "developer_relayer";
753
+ relayerMode: "gol" | "developer" | null;
754
+ submitter: string | null;
641
755
  state: string;
642
756
  quote: {
757
+ maxChargeWei: string;
643
758
  acceptedOwnerMaximumWei: string;
644
759
  maximumNetworkWei: string;
645
760
  maximumGolExposureWei: string;
@@ -671,6 +786,31 @@ export interface components {
671
786
  eligibleOwnerWei: string;
672
787
  golLossWei: string;
673
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;
674
814
  };
675
815
  claimReceipt: null | {
676
816
  claimTransactionHash: string;
@@ -699,7 +839,7 @@ export interface components {
699
839
  };
700
840
  /** WalletSigningPayload */
701
841
  "def-5": {
702
- family: "safe" | "nexus" | "kernel" | "alchemy";
842
+ family: "safe" | "nexus" | "kernel" | "alchemy" | "nexus7702";
703
843
  /** @enum {string} */
704
844
  method: "eth_signTypedData_v4";
705
845
  typedData: {
@@ -719,14 +859,14 @@ export interface components {
719
859
  };
720
860
  expectedHash: string;
721
861
  digest: string;
722
- signatureFormat: "safe_threshold" | "nexus_k1" | "kernel_root" | "alchemy_entity_zero";
862
+ signatureFormat: "safe_threshold" | "nexus_k1" | "kernel_root" | "alchemy_entity_zero" | "eoa";
723
863
  };
724
864
  /** GasPolicyRecord */
725
865
  "def-6": {
726
866
  gasPolicyId: string;
727
867
  mandateId: string;
728
868
  account: string;
729
- family: ("safe" | "nexus" | "kernel" | "alchemy") | null;
869
+ family: ("safe" | "nexus" | "kernel" | "alchemy" | "nexus7702") | null;
730
870
  agent: string;
731
871
  status: "active" | "paused" | "revoked" | "expired" | "unavailable";
732
872
  maxPerActionWei: string;
@@ -737,6 +877,12 @@ export interface components {
737
877
  chargeableOutcomesMask: number;
738
878
  recipient: string;
739
879
  attester: string;
880
+ relayerMode: "gol" | "developer";
881
+ submitter: string;
882
+ formulaVersion: number;
883
+ maxDepth: number;
884
+ maxActiveDescendants: number;
885
+ activeDescendants: number;
740
886
  approvalTransactionHash: string | null;
741
887
  revocationTransactionHash: string | null;
742
888
  observedBlockNumber: string;
@@ -795,6 +941,41 @@ export interface components {
795
941
  golCostWei: string | null;
796
942
  disputed: boolean;
797
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
+ };
798
979
  };
799
980
  responses: never;
800
981
  parameters: never;
@@ -2855,27 +3036,32 @@ export interface operations {
2855
3036
  chainId: 84532;
2856
3037
  core: string;
2857
3038
  asset: string;
3039
+ mandateId: string;
3040
+ gasPolicyId: string;
3041
+ agent: string;
2858
3042
  recipient: string;
2859
3043
  amountBaseUnits: string;
3044
+ relayerMode: "gol" | "developer";
3045
+ maxChargeWei: string;
2860
3046
  digest: string;
2861
3047
  typedData: {
2862
3048
  domain: {
2863
3049
  /** @enum {string} */
2864
3050
  name: "GOL Mandate";
2865
3051
  /** @enum {string} */
2866
- version: "2";
3052
+ version: "3";
2867
3053
  /** @enum {number} */
2868
3054
  chainId: 84532;
2869
3055
  verifyingContract: string;
2870
3056
  };
2871
3057
  types: {
2872
- ActionAuthorization: {
3058
+ GasActionAuthorization: {
2873
3059
  name: string;
2874
3060
  type: string;
2875
3061
  }[];
2876
3062
  };
2877
3063
  /** @enum {string} */
2878
- primaryType: "ActionAuthorization";
3064
+ primaryType: "GasActionAuthorization";
2879
3065
  message: {
2880
3066
  mandateId: string;
2881
3067
  /** @enum {number} */
@@ -2886,6 +3072,8 @@ export interface operations {
2886
3072
  capabilityDigest: string;
2887
3073
  deadline: number;
2888
3074
  inputHash: string;
3075
+ gasPolicyId: string;
3076
+ maxCharge: string;
2889
3077
  };
2890
3078
  };
2891
3079
  };
@@ -3198,6 +3386,7 @@ export interface operations {
3198
3386
  recipient: string;
3199
3387
  amountBaseUnits: string;
3200
3388
  deadline: number;
3389
+ maxChargeWei: string;
3201
3390
  agentSignature: string;
3202
3391
  };
3203
3392
  };
@@ -3225,9 +3414,12 @@ export interface operations {
3225
3414
  mandateId: string;
3226
3415
  actionId: string;
3227
3416
  gasPolicyId: string | null;
3228
- payer: "owner_reimbursement" | "developer";
3417
+ payer: "owner_reimbursement" | "developer" | "developer_relayer";
3418
+ relayerMode: "gol" | "developer" | null;
3419
+ submitter: string | null;
3229
3420
  state: string;
3230
3421
  quote: {
3422
+ maxChargeWei: string;
3231
3423
  acceptedOwnerMaximumWei: string;
3232
3424
  maximumNetworkWei: string;
3233
3425
  maximumGolExposureWei: string;
@@ -3259,6 +3451,31 @@ export interface operations {
3259
3451
  eligibleOwnerWei: string;
3260
3452
  golLossWei: string;
3261
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;
3262
3479
  };
3263
3480
  claimReceipt: null | {
3264
3481
  claimTransactionHash: string;
@@ -3309,9 +3526,12 @@ export interface operations {
3309
3526
  mandateId: string;
3310
3527
  actionId: string;
3311
3528
  gasPolicyId: string | null;
3312
- payer: "owner_reimbursement" | "developer";
3529
+ payer: "owner_reimbursement" | "developer" | "developer_relayer";
3530
+ relayerMode: "gol" | "developer" | null;
3531
+ submitter: string | null;
3313
3532
  state: string;
3314
3533
  quote: {
3534
+ maxChargeWei: string;
3315
3535
  acceptedOwnerMaximumWei: string;
3316
3536
  maximumNetworkWei: string;
3317
3537
  maximumGolExposureWei: string;
@@ -3343,6 +3563,31 @@ export interface operations {
3343
3563
  eligibleOwnerWei: string;
3344
3564
  golLossWei: string;
3345
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;
3346
3591
  };
3347
3592
  claimReceipt: null | {
3348
3593
  claimTransactionHash: string;
@@ -3501,38 +3746,132 @@ export interface operations {
3501
3746
  };
3502
3747
  };
3503
3748
  };
3504
- listAuditEvents: {
3749
+ submitDeveloperRelayerTransaction: {
3505
3750
  parameters: {
3506
- query?: {
3507
- limit?: number;
3508
- };
3751
+ query?: never;
3509
3752
  header?: never;
3510
3753
  path: {
3511
3754
  projectId: string;
3755
+ executionId: string;
3512
3756
  };
3513
3757
  cookie?: never;
3514
3758
  };
3515
- requestBody?: never;
3759
+ requestBody: {
3760
+ content: {
3761
+ "application/json": {
3762
+ rawSignedTransaction: string;
3763
+ };
3764
+ };
3765
+ };
3516
3766
  responses: {
3517
3767
  /** @description Default Response */
3518
- 200: {
3768
+ 202: {
3519
3769
  headers: {
3520
3770
  [name: string]: unknown;
3521
3771
  };
3522
3772
  content: {
3523
3773
  "application/json": {
3524
- data: {
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: {
3525
3867
  /** Format: uuid */
3526
3868
  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
- };
3869
+ status: "open" | "resolved";
3870
+ reason: string;
3534
3871
  /** Format: date-time */
3535
- createdAt: string;
3872
+ openedAt: string;
3873
+ resolvedAt: string | null;
3874
+ resolution: string | null;
3536
3875
  }[];
3537
3876
  };
3538
3877
  };
@@ -3667,11 +4006,15 @@ export interface operations {
3667
4006
  };
3668
4007
  };
3669
4008
  };
3670
- getApiKeyIdentity: {
4009
+ listAuditEvents: {
3671
4010
  parameters: {
3672
- query?: never;
4011
+ query?: {
4012
+ limit?: number;
4013
+ };
3673
4014
  header?: never;
3674
- path?: never;
4015
+ path: {
4016
+ projectId: string;
4017
+ };
3675
4018
  cookie?: never;
3676
4019
  };
3677
4020
  requestBody?: never;
@@ -3683,21 +4026,183 @@ export interface operations {
3683
4026
  };
3684
4027
  content: {
3685
4028
  "application/json": {
3686
- project: {
4029
+ data: {
3687
4030
  /** Format: uuid */
3688
4031
  id: string;
3689
- name: string;
3690
- slug: 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
+ };
3691
4039
  /** Format: date-time */
3692
4040
  createdAt: string;
3693
- environments: {
3694
- name: "test" | "live";
3695
- status: "active" | "unavailable";
3696
- }[];
3697
- };
3698
- environment: "test" | "live";
3699
- apiKey: {
3700
- /** Format: uuid */
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 */
3701
4206
  id: string;
3702
4207
  name: string;
3703
4208
  environment: "test" | "live";
@@ -3878,9 +4383,12 @@ export interface operations {
3878
4383
  mandateId: string;
3879
4384
  actionId: string;
3880
4385
  gasPolicyId: string | null;
3881
- payer: "owner_reimbursement" | "developer";
4386
+ payer: "owner_reimbursement" | "developer" | "developer_relayer";
4387
+ relayerMode: "gol" | "developer" | null;
4388
+ submitter: string | null;
3882
4389
  state: string;
3883
4390
  quote: {
4391
+ maxChargeWei: string;
3884
4392
  acceptedOwnerMaximumWei: string;
3885
4393
  maximumNetworkWei: string;
3886
4394
  maximumGolExposureWei: string;
@@ -3912,6 +4420,31 @@ export interface operations {
3912
4420
  eligibleOwnerWei: string;
3913
4421
  golLossWei: string;
3914
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;
3915
4448
  };
3916
4449
  claimReceipt: null | {
3917
4450
  claimTransactionHash: string;
@@ -4096,6 +4629,10 @@ export interface operations {
4096
4629
  chainId: 84532;
4097
4630
  core: string;
4098
4631
  gasRouter: string;
4632
+ /** @enum {string} */
4633
+ domainVersion: "3";
4634
+ /** @enum {number} */
4635
+ formulaVersion: 2;
4099
4636
  asset: {
4100
4637
  address: string;
4101
4638
  /** @enum {string} */
@@ -4107,8 +4644,27 @@ export interface operations {
4107
4644
  gasRecipient: string;
4108
4645
  attester: string;
4109
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
+ };
4110
4666
  profiles: {
4111
- family: "safe" | "nexus" | "kernel" | "alchemy";
4667
+ family: "safe" | "nexus" | "kernel" | "alchemy" | "nexus7702";
4112
4668
  profileId: string;
4113
4669
  implementation: string;
4114
4670
  label: string;
@@ -4273,14 +4829,22 @@ export interface operations {
4273
4829
  content: {
4274
4830
  "application/json": {
4275
4831
  account: string;
4276
- family: ("safe" | "nexus" | "kernel" | "alchemy") | null;
4832
+ family: ("safe" | "nexus" | "kernel" | "alchemy" | "nexus7702") | null;
4277
4833
  profileId: string | null;
4278
4834
  implementation: string | null;
4279
4835
  implementationReviewed: boolean;
4836
+ configurationReviewed: boolean;
4280
4837
  coreInstalled: boolean;
4281
4838
  installEpoch: string | null;
4282
4839
  gasPolicyNonce: string | null;
4283
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;
4284
4848
  blockNumber: string;
4285
4849
  };
4286
4850
  };
@@ -4415,39 +4979,19 @@ export interface operations {
4415
4979
  };
4416
4980
  };
4417
4981
  };
4418
- prepareGasPolicy: {
4982
+ prepareEip7702Setup: {
4419
4983
  parameters: {
4420
4984
  query?: never;
4421
4985
  header?: never;
4422
4986
  path: {
4423
4987
  projectId: string;
4988
+ account: string;
4424
4989
  };
4425
4990
  cookie?: never;
4426
4991
  };
4427
4992
  requestBody: {
4428
4993
  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
- };
4994
+ "application/json": Record<string, never>;
4451
4995
  };
4452
4996
  };
4453
4997
  responses: {
@@ -4458,38 +5002,37 @@ export interface operations {
4458
5002
  };
4459
5003
  content: {
4460
5004
  "application/json": {
4461
- /** Format: uuid */
4462
- draftId: string;
4463
- /** Format: date-time */
4464
- draftExpiresAt: string;
4465
- /** @enum {string} */
4466
- environment: "test";
5005
+ account: string;
4467
5006
  /** @enum {number} */
4468
5007
  chainId: 84532;
4469
5008
  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;
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;
4486
5019
  };
4487
- signing: components["schemas"]["def-5"];
4488
- submission: {
5020
+ initData: string;
5021
+ initDataHash: string;
5022
+ relayedCall: {
4489
5023
  to: string;
4490
5024
  /** @enum {string} */
4491
- functionName: "createMandateWithGas";
5025
+ functionName: "initializeAccount";
4492
5026
  };
5027
+ selfSentCall: {
5028
+ to: string;
5029
+ data: string;
5030
+ };
5031
+ sponsorship: {
5032
+ available: boolean;
5033
+ remainingToday: number;
5034
+ };
5035
+ observedBlockNumber: string;
4493
5036
  };
4494
5037
  };
4495
5038
  };
@@ -4623,32 +5166,1352 @@ export interface operations {
4623
5166
  };
4624
5167
  };
4625
5168
  };
4626
- confirmGasPolicy: {
5169
+ submitEip7702Setup: {
4627
5170
  parameters: {
4628
5171
  query?: never;
4629
5172
  header?: never;
4630
5173
  path: {
4631
5174
  projectId: string;
5175
+ account: string;
4632
5176
  };
4633
5177
  cookie?: never;
4634
5178
  };
4635
5179
  requestBody: {
4636
5180
  content: {
4637
5181
  "application/json": {
4638
- /** Format: uuid */
4639
- draftId: string;
4640
- transactionHash: string;
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;
5190
+ };
5191
+ initSignature: string;
4641
5192
  };
4642
5193
  };
4643
5194
  };
4644
5195
  responses: {
4645
5196
  /** @description Default Response */
4646
- 200: {
5197
+ 202: {
4647
5198
  headers: {
4648
5199
  [name: string]: unknown;
4649
5200
  };
4650
5201
  content: {
4651
- "application/json": components["schemas"]["def-6"];
5202
+ "application/json": components["schemas"]["def-11"];
5203
+ };
5204
+ };
5205
+ /** @description Default Response */
5206
+ 400: {
5207
+ headers: {
5208
+ [name: string]: unknown;
5209
+ };
5210
+ content: {
5211
+ "application/json": {
5212
+ error: {
5213
+ code: string;
5214
+ message: string;
5215
+ /** Format: uuid */
5216
+ correlationId: string;
5217
+ };
5218
+ };
5219
+ };
5220
+ };
5221
+ /** @description Default Response */
5222
+ 401: {
5223
+ headers: {
5224
+ [name: string]: unknown;
5225
+ };
5226
+ content: {
5227
+ "application/json": {
5228
+ error: {
5229
+ code: string;
5230
+ message: string;
5231
+ /** Format: uuid */
5232
+ correlationId: string;
5233
+ };
5234
+ };
5235
+ };
5236
+ };
5237
+ /** @description Default Response */
5238
+ 403: {
5239
+ headers: {
5240
+ [name: string]: unknown;
5241
+ };
5242
+ content: {
5243
+ "application/json": {
5244
+ error: {
5245
+ code: string;
5246
+ message: string;
5247
+ /** Format: uuid */
5248
+ correlationId: string;
5249
+ };
5250
+ };
5251
+ };
5252
+ };
5253
+ /** @description Default Response */
5254
+ 404: {
5255
+ headers: {
5256
+ [name: string]: unknown;
5257
+ };
5258
+ content: {
5259
+ "application/json": {
5260
+ error: {
5261
+ code: string;
5262
+ message: string;
5263
+ /** Format: uuid */
5264
+ correlationId: string;
5265
+ };
5266
+ };
5267
+ };
5268
+ };
5269
+ /** @description Default Response */
5270
+ 409: {
5271
+ headers: {
5272
+ [name: string]: unknown;
5273
+ };
5274
+ content: {
5275
+ "application/json": {
5276
+ error: {
5277
+ code: string;
5278
+ message: string;
5279
+ /** Format: uuid */
5280
+ correlationId: string;
5281
+ };
5282
+ };
5283
+ };
5284
+ };
5285
+ /** @description Default Response */
5286
+ 429: {
5287
+ headers: {
5288
+ [name: string]: unknown;
5289
+ };
5290
+ content: {
5291
+ "application/json": {
5292
+ error: {
5293
+ code: string;
5294
+ message: string;
5295
+ /** Format: uuid */
5296
+ correlationId: string;
5297
+ };
5298
+ };
5299
+ };
5300
+ };
5301
+ /** @description Default Response */
5302
+ 500: {
5303
+ headers: {
5304
+ [name: string]: unknown;
5305
+ };
5306
+ content: {
5307
+ "application/json": {
5308
+ error: {
5309
+ code: string;
5310
+ message: string;
5311
+ /** Format: uuid */
5312
+ correlationId: string;
5313
+ };
5314
+ };
5315
+ };
5316
+ };
5317
+ /** @description Default Response */
5318
+ 503: {
5319
+ headers: {
5320
+ [name: string]: unknown;
5321
+ };
5322
+ content: {
5323
+ "application/json": {
5324
+ error: {
5325
+ code: string;
5326
+ message: string;
5327
+ /** Format: uuid */
5328
+ correlationId: string;
5329
+ };
5330
+ };
5331
+ };
5332
+ };
5333
+ };
5334
+ };
5335
+ getEip7702Setup: {
5336
+ parameters: {
5337
+ query?: {
5338
+ environment?: "test" | "live";
5339
+ };
5340
+ header?: never;
5341
+ path: {
5342
+ projectId: string;
5343
+ account: string;
5344
+ setupId: string;
5345
+ };
5346
+ cookie?: never;
5347
+ };
5348
+ requestBody?: never;
5349
+ responses: {
5350
+ /** @description Default Response */
5351
+ 200: {
5352
+ headers: {
5353
+ [name: string]: unknown;
5354
+ };
5355
+ content: {
5356
+ "application/json": components["schemas"]["def-11"];
5357
+ };
5358
+ };
5359
+ /** @description Default Response */
5360
+ 400: {
5361
+ headers: {
5362
+ [name: string]: unknown;
5363
+ };
5364
+ content: {
5365
+ "application/json": {
5366
+ error: {
5367
+ code: string;
5368
+ message: string;
5369
+ /** Format: uuid */
5370
+ correlationId: string;
5371
+ };
5372
+ };
5373
+ };
5374
+ };
5375
+ /** @description Default Response */
5376
+ 401: {
5377
+ headers: {
5378
+ [name: string]: unknown;
5379
+ };
5380
+ content: {
5381
+ "application/json": {
5382
+ error: {
5383
+ code: string;
5384
+ message: string;
5385
+ /** Format: uuid */
5386
+ correlationId: string;
5387
+ };
5388
+ };
5389
+ };
5390
+ };
5391
+ /** @description Default Response */
5392
+ 403: {
5393
+ headers: {
5394
+ [name: string]: unknown;
5395
+ };
5396
+ content: {
5397
+ "application/json": {
5398
+ error: {
5399
+ code: string;
5400
+ message: string;
5401
+ /** Format: uuid */
5402
+ correlationId: string;
5403
+ };
5404
+ };
5405
+ };
5406
+ };
5407
+ /** @description Default Response */
5408
+ 404: {
5409
+ headers: {
5410
+ [name: string]: unknown;
5411
+ };
5412
+ content: {
5413
+ "application/json": {
5414
+ error: {
5415
+ code: string;
5416
+ message: string;
5417
+ /** Format: uuid */
5418
+ correlationId: string;
5419
+ };
5420
+ };
5421
+ };
5422
+ };
5423
+ /** @description Default Response */
5424
+ 409: {
5425
+ headers: {
5426
+ [name: string]: unknown;
5427
+ };
5428
+ content: {
5429
+ "application/json": {
5430
+ error: {
5431
+ code: string;
5432
+ message: string;
5433
+ /** Format: uuid */
5434
+ correlationId: string;
5435
+ };
5436
+ };
5437
+ };
5438
+ };
5439
+ /** @description Default Response */
5440
+ 429: {
5441
+ headers: {
5442
+ [name: string]: unknown;
5443
+ };
5444
+ content: {
5445
+ "application/json": {
5446
+ error: {
5447
+ code: string;
5448
+ message: string;
5449
+ /** Format: uuid */
5450
+ correlationId: string;
5451
+ };
5452
+ };
5453
+ };
5454
+ };
5455
+ /** @description Default Response */
5456
+ 500: {
5457
+ headers: {
5458
+ [name: string]: unknown;
5459
+ };
5460
+ content: {
5461
+ "application/json": {
5462
+ error: {
5463
+ code: string;
5464
+ message: string;
5465
+ /** Format: uuid */
5466
+ correlationId: string;
5467
+ };
5468
+ };
5469
+ };
5470
+ };
5471
+ /** @description Default Response */
5472
+ 503: {
5473
+ headers: {
5474
+ [name: string]: unknown;
5475
+ };
5476
+ content: {
5477
+ "application/json": {
5478
+ error: {
5479
+ code: string;
5480
+ message: string;
5481
+ /** Format: uuid */
5482
+ correlationId: string;
5483
+ };
5484
+ };
5485
+ };
5486
+ };
5487
+ };
5488
+ };
5489
+ prepareGasPolicy: {
5490
+ parameters: {
5491
+ query?: never;
5492
+ header?: never;
5493
+ path: {
5494
+ projectId: string;
5495
+ };
5496
+ cookie?: never;
5497
+ };
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
+ };
5537
+ responses: {
5538
+ /** @description Default Response */
5539
+ 200: {
5540
+ headers: {
5541
+ [name: string]: unknown;
5542
+ };
5543
+ content: {
5544
+ "application/json": {
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: {
5557
+ /** Format: uuid */
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;
5579
+ };
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";
5625
+ };
5626
+ };
5627
+ };
5628
+ };
5629
+ /** @description Default Response */
5630
+ 400: {
5631
+ headers: {
5632
+ [name: string]: unknown;
5633
+ };
5634
+ content: {
5635
+ "application/json": {
5636
+ error: {
5637
+ code: string;
5638
+ message: string;
5639
+ /** Format: uuid */
5640
+ correlationId: string;
5641
+ };
5642
+ };
5643
+ };
5644
+ };
5645
+ /** @description Default Response */
5646
+ 401: {
5647
+ headers: {
5648
+ [name: string]: unknown;
5649
+ };
5650
+ content: {
5651
+ "application/json": {
5652
+ error: {
5653
+ code: string;
5654
+ message: string;
5655
+ /** Format: uuid */
5656
+ correlationId: string;
5657
+ };
5658
+ };
5659
+ };
5660
+ };
5661
+ /** @description Default Response */
5662
+ 403: {
5663
+ headers: {
5664
+ [name: string]: unknown;
5665
+ };
5666
+ content: {
5667
+ "application/json": {
5668
+ error: {
5669
+ code: string;
5670
+ message: string;
5671
+ /** Format: uuid */
5672
+ correlationId: string;
5673
+ };
5674
+ };
5675
+ };
5676
+ };
5677
+ /** @description Default Response */
5678
+ 404: {
5679
+ headers: {
5680
+ [name: string]: unknown;
5681
+ };
5682
+ content: {
5683
+ "application/json": {
5684
+ error: {
5685
+ code: string;
5686
+ message: string;
5687
+ /** Format: uuid */
5688
+ correlationId: string;
5689
+ };
5690
+ };
5691
+ };
5692
+ };
5693
+ /** @description Default Response */
5694
+ 409: {
5695
+ headers: {
5696
+ [name: string]: unknown;
5697
+ };
5698
+ content: {
5699
+ "application/json": {
5700
+ error: {
5701
+ code: string;
5702
+ message: string;
5703
+ /** Format: uuid */
5704
+ correlationId: string;
5705
+ };
5706
+ };
5707
+ };
5708
+ };
5709
+ /** @description Default Response */
5710
+ 429: {
5711
+ headers: {
5712
+ [name: string]: unknown;
5713
+ };
5714
+ content: {
5715
+ "application/json": {
5716
+ error: {
5717
+ code: string;
5718
+ message: string;
5719
+ /** Format: uuid */
5720
+ correlationId: string;
5721
+ };
5722
+ };
5723
+ };
5724
+ };
5725
+ /** @description Default Response */
5726
+ 500: {
5727
+ headers: {
5728
+ [name: string]: unknown;
5729
+ };
5730
+ content: {
5731
+ "application/json": {
5732
+ error: {
5733
+ code: string;
5734
+ message: string;
5735
+ /** Format: uuid */
5736
+ correlationId: string;
5737
+ };
5738
+ };
5739
+ };
5740
+ };
5741
+ /** @description Default Response */
5742
+ 503: {
5743
+ headers: {
5744
+ [name: string]: unknown;
5745
+ };
5746
+ content: {
5747
+ "application/json": {
5748
+ error: {
5749
+ code: string;
5750
+ message: string;
5751
+ /** Format: uuid */
5752
+ correlationId: string;
5753
+ };
5754
+ };
5755
+ };
5756
+ };
5757
+ };
5758
+ };
5759
+ confirmGasPolicy: {
5760
+ parameters: {
5761
+ query?: never;
5762
+ header?: never;
5763
+ path: {
5764
+ projectId: string;
5765
+ };
5766
+ cookie?: never;
5767
+ };
5768
+ requestBody: {
5769
+ content: {
5770
+ "application/json": {
5771
+ /** Format: uuid */
5772
+ draftId: string;
5773
+ transactionHash: string;
5774
+ };
5775
+ };
5776
+ };
5777
+ responses: {
5778
+ /** @description Default Response */
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: {
5789
+ headers: {
5790
+ [name: string]: unknown;
5791
+ };
5792
+ content: {
5793
+ "application/json": {
5794
+ /** @enum {string} */
5795
+ status: "observing";
5796
+ transactionHash: string;
5797
+ /** Format: uuid */
5798
+ draftId?: string;
5799
+ gasPolicyId?: string;
5800
+ };
5801
+ };
5802
+ };
5803
+ /** @description Default Response */
5804
+ 400: {
5805
+ headers: {
5806
+ [name: string]: unknown;
5807
+ };
5808
+ content: {
5809
+ "application/json": {
5810
+ error: {
5811
+ code: string;
5812
+ message: string;
5813
+ /** Format: uuid */
5814
+ correlationId: string;
5815
+ };
5816
+ };
5817
+ };
5818
+ };
5819
+ /** @description Default Response */
5820
+ 401: {
5821
+ headers: {
5822
+ [name: string]: unknown;
5823
+ };
5824
+ content: {
5825
+ "application/json": {
5826
+ error: {
5827
+ code: string;
5828
+ message: string;
5829
+ /** Format: uuid */
5830
+ correlationId: string;
5831
+ };
5832
+ };
5833
+ };
5834
+ };
5835
+ /** @description Default Response */
5836
+ 403: {
5837
+ headers: {
5838
+ [name: string]: unknown;
5839
+ };
5840
+ content: {
5841
+ "application/json": {
5842
+ error: {
5843
+ code: string;
5844
+ message: string;
5845
+ /** Format: uuid */
5846
+ correlationId: string;
5847
+ };
5848
+ };
5849
+ };
5850
+ };
5851
+ /** @description Default Response */
5852
+ 404: {
5853
+ headers: {
5854
+ [name: string]: unknown;
5855
+ };
5856
+ content: {
5857
+ "application/json": {
5858
+ error: {
5859
+ code: string;
5860
+ message: string;
5861
+ /** Format: uuid */
5862
+ correlationId: string;
5863
+ };
5864
+ };
5865
+ };
5866
+ };
5867
+ /** @description Default Response */
5868
+ 409: {
5869
+ headers: {
5870
+ [name: string]: unknown;
5871
+ };
5872
+ content: {
5873
+ "application/json": {
5874
+ error: {
5875
+ code: string;
5876
+ message: string;
5877
+ /** Format: uuid */
5878
+ correlationId: string;
5879
+ };
5880
+ };
5881
+ };
5882
+ };
5883
+ /** @description Default Response */
5884
+ 429: {
5885
+ headers: {
5886
+ [name: string]: unknown;
5887
+ };
5888
+ content: {
5889
+ "application/json": {
5890
+ error: {
5891
+ code: string;
5892
+ message: string;
5893
+ /** Format: uuid */
5894
+ correlationId: string;
5895
+ };
5896
+ };
5897
+ };
5898
+ };
5899
+ /** @description Default Response */
5900
+ 500: {
5901
+ headers: {
5902
+ [name: string]: unknown;
5903
+ };
5904
+ content: {
5905
+ "application/json": {
5906
+ error: {
5907
+ code: string;
5908
+ message: string;
5909
+ /** Format: uuid */
5910
+ correlationId: string;
5911
+ };
5912
+ };
5913
+ };
5914
+ };
5915
+ /** @description Default Response */
5916
+ 503: {
5917
+ headers: {
5918
+ [name: string]: unknown;
5919
+ };
5920
+ content: {
5921
+ "application/json": {
5922
+ error: {
5923
+ code: string;
5924
+ message: string;
5925
+ /** Format: uuid */
5926
+ correlationId: string;
5927
+ };
5928
+ };
5929
+ };
5930
+ };
5931
+ };
5932
+ };
5933
+ prepareChildMandate: {
5934
+ parameters: {
5935
+ query?: never;
5936
+ header?: never;
5937
+ path: {
5938
+ projectId: string;
5939
+ gasPolicyId: string;
5940
+ };
5941
+ cookie?: never;
5942
+ };
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
+ };
5966
+ responses: {
5967
+ /** @description Default Response */
5968
+ 200: {
5969
+ headers: {
5970
+ [name: string]: unknown;
5971
+ };
5972
+ content: {
5973
+ "application/json": {
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;
6016
+ /** @enum {string} */
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;
6034
+ };
6035
+ submission: {
6036
+ to: string;
6037
+ /** @enum {string} */
6038
+ functionName: "createChildMandate";
6039
+ };
6040
+ observedBlockNumber: string;
6041
+ };
6042
+ };
6043
+ };
6044
+ /** @description Default Response */
6045
+ 400: {
6046
+ headers: {
6047
+ [name: string]: unknown;
6048
+ };
6049
+ content: {
6050
+ "application/json": {
6051
+ error: {
6052
+ code: string;
6053
+ message: string;
6054
+ /** Format: uuid */
6055
+ correlationId: string;
6056
+ };
6057
+ };
6058
+ };
6059
+ };
6060
+ /** @description Default Response */
6061
+ 401: {
6062
+ headers: {
6063
+ [name: string]: unknown;
6064
+ };
6065
+ content: {
6066
+ "application/json": {
6067
+ error: {
6068
+ code: string;
6069
+ message: string;
6070
+ /** Format: uuid */
6071
+ correlationId: string;
6072
+ };
6073
+ };
6074
+ };
6075
+ };
6076
+ /** @description Default Response */
6077
+ 403: {
6078
+ headers: {
6079
+ [name: string]: unknown;
6080
+ };
6081
+ content: {
6082
+ "application/json": {
6083
+ error: {
6084
+ code: string;
6085
+ message: string;
6086
+ /** Format: uuid */
6087
+ correlationId: string;
6088
+ };
6089
+ };
6090
+ };
6091
+ };
6092
+ /** @description Default Response */
6093
+ 404: {
6094
+ headers: {
6095
+ [name: string]: unknown;
6096
+ };
6097
+ content: {
6098
+ "application/json": {
6099
+ error: {
6100
+ code: string;
6101
+ message: string;
6102
+ /** Format: uuid */
6103
+ correlationId: string;
6104
+ };
6105
+ };
6106
+ };
6107
+ };
6108
+ /** @description Default Response */
6109
+ 409: {
6110
+ headers: {
6111
+ [name: string]: unknown;
6112
+ };
6113
+ content: {
6114
+ "application/json": {
6115
+ error: {
6116
+ code: string;
6117
+ message: string;
6118
+ /** Format: uuid */
6119
+ correlationId: string;
6120
+ };
6121
+ };
6122
+ };
6123
+ };
6124
+ /** @description Default Response */
6125
+ 429: {
6126
+ headers: {
6127
+ [name: string]: unknown;
6128
+ };
6129
+ content: {
6130
+ "application/json": {
6131
+ error: {
6132
+ code: string;
6133
+ message: string;
6134
+ /** Format: uuid */
6135
+ correlationId: string;
6136
+ };
6137
+ };
6138
+ };
6139
+ };
6140
+ /** @description Default Response */
6141
+ 500: {
6142
+ headers: {
6143
+ [name: string]: unknown;
6144
+ };
6145
+ content: {
6146
+ "application/json": {
6147
+ error: {
6148
+ code: string;
6149
+ message: string;
6150
+ /** Format: uuid */
6151
+ correlationId: string;
6152
+ };
6153
+ };
6154
+ };
6155
+ };
6156
+ /** @description Default Response */
6157
+ 503: {
6158
+ headers: {
6159
+ [name: string]: unknown;
6160
+ };
6161
+ content: {
6162
+ "application/json": {
6163
+ error: {
6164
+ code: string;
6165
+ message: string;
6166
+ /** Format: uuid */
6167
+ correlationId: string;
6168
+ };
6169
+ };
6170
+ };
6171
+ };
6172
+ };
6173
+ };
6174
+ listChildMandates: {
6175
+ parameters: {
6176
+ query?: {
6177
+ environment?: "test" | "live";
6178
+ };
6179
+ header?: never;
6180
+ path: {
6181
+ projectId: string;
6182
+ gasPolicyId: string;
6183
+ };
6184
+ cookie?: never;
6185
+ };
6186
+ requestBody?: never;
6187
+ responses: {
6188
+ /** @description Default Response */
6189
+ 200: {
6190
+ headers: {
6191
+ [name: string]: unknown;
6192
+ };
6193
+ content: {
6194
+ "application/json": {
6195
+ data: components["schemas"]["def-10"][];
6196
+ };
6197
+ };
6198
+ };
6199
+ /** @description Default Response */
6200
+ 400: {
6201
+ headers: {
6202
+ [name: string]: unknown;
6203
+ };
6204
+ content: {
6205
+ "application/json": {
6206
+ error: {
6207
+ code: string;
6208
+ message: string;
6209
+ /** Format: uuid */
6210
+ correlationId: string;
6211
+ };
6212
+ };
6213
+ };
6214
+ };
6215
+ /** @description Default Response */
6216
+ 401: {
6217
+ headers: {
6218
+ [name: string]: unknown;
6219
+ };
6220
+ content: {
6221
+ "application/json": {
6222
+ error: {
6223
+ code: string;
6224
+ message: string;
6225
+ /** Format: uuid */
6226
+ correlationId: string;
6227
+ };
6228
+ };
6229
+ };
6230
+ };
6231
+ /** @description Default Response */
6232
+ 403: {
6233
+ headers: {
6234
+ [name: string]: unknown;
6235
+ };
6236
+ content: {
6237
+ "application/json": {
6238
+ error: {
6239
+ code: string;
6240
+ message: string;
6241
+ /** Format: uuid */
6242
+ correlationId: string;
6243
+ };
6244
+ };
6245
+ };
6246
+ };
6247
+ /** @description Default Response */
6248
+ 404: {
6249
+ headers: {
6250
+ [name: string]: unknown;
6251
+ };
6252
+ content: {
6253
+ "application/json": {
6254
+ error: {
6255
+ code: string;
6256
+ message: string;
6257
+ /** Format: uuid */
6258
+ correlationId: string;
6259
+ };
6260
+ };
6261
+ };
6262
+ };
6263
+ /** @description Default Response */
6264
+ 409: {
6265
+ headers: {
6266
+ [name: string]: unknown;
6267
+ };
6268
+ content: {
6269
+ "application/json": {
6270
+ error: {
6271
+ code: string;
6272
+ message: string;
6273
+ /** Format: uuid */
6274
+ correlationId: string;
6275
+ };
6276
+ };
6277
+ };
6278
+ };
6279
+ /** @description Default Response */
6280
+ 429: {
6281
+ headers: {
6282
+ [name: string]: unknown;
6283
+ };
6284
+ content: {
6285
+ "application/json": {
6286
+ error: {
6287
+ code: string;
6288
+ message: string;
6289
+ /** Format: uuid */
6290
+ correlationId: string;
6291
+ };
6292
+ };
6293
+ };
6294
+ };
6295
+ /** @description Default Response */
6296
+ 500: {
6297
+ headers: {
6298
+ [name: string]: unknown;
6299
+ };
6300
+ content: {
6301
+ "application/json": {
6302
+ error: {
6303
+ code: string;
6304
+ message: string;
6305
+ /** Format: uuid */
6306
+ correlationId: string;
6307
+ };
6308
+ };
6309
+ };
6310
+ };
6311
+ /** @description Default Response */
6312
+ 503: {
6313
+ headers: {
6314
+ [name: string]: unknown;
6315
+ };
6316
+ content: {
6317
+ "application/json": {
6318
+ error: {
6319
+ code: string;
6320
+ message: string;
6321
+ /** Format: uuid */
6322
+ correlationId: string;
6323
+ };
6324
+ };
6325
+ };
6326
+ };
6327
+ };
6328
+ };
6329
+ submitChildMandate: {
6330
+ parameters: {
6331
+ query?: never;
6332
+ header?: never;
6333
+ path: {
6334
+ projectId: string;
6335
+ gasPolicyId: string;
6336
+ };
6337
+ cookie?: never;
6338
+ };
6339
+ requestBody: {
6340
+ content: {
6341
+ "application/json": {
6342
+ /** Format: uuid */
6343
+ draftId: string;
6344
+ authorization: string;
6345
+ };
6346
+ };
6347
+ };
6348
+ responses: {
6349
+ /** @description Default Response */
6350
+ 202: {
6351
+ headers: {
6352
+ [name: string]: unknown;
6353
+ };
6354
+ content: {
6355
+ "application/json": components["schemas"]["def-10"];
6356
+ };
6357
+ };
6358
+ /** @description Default Response */
6359
+ 400: {
6360
+ headers: {
6361
+ [name: string]: unknown;
6362
+ };
6363
+ content: {
6364
+ "application/json": {
6365
+ error: {
6366
+ code: string;
6367
+ message: string;
6368
+ /** Format: uuid */
6369
+ correlationId: string;
6370
+ };
6371
+ };
6372
+ };
6373
+ };
6374
+ /** @description Default Response */
6375
+ 401: {
6376
+ headers: {
6377
+ [name: string]: unknown;
6378
+ };
6379
+ content: {
6380
+ "application/json": {
6381
+ error: {
6382
+ code: string;
6383
+ message: string;
6384
+ /** Format: uuid */
6385
+ correlationId: string;
6386
+ };
6387
+ };
6388
+ };
6389
+ };
6390
+ /** @description Default Response */
6391
+ 403: {
6392
+ headers: {
6393
+ [name: string]: unknown;
6394
+ };
6395
+ content: {
6396
+ "application/json": {
6397
+ error: {
6398
+ code: string;
6399
+ message: string;
6400
+ /** Format: uuid */
6401
+ correlationId: string;
6402
+ };
6403
+ };
6404
+ };
6405
+ };
6406
+ /** @description Default Response */
6407
+ 404: {
6408
+ headers: {
6409
+ [name: string]: unknown;
6410
+ };
6411
+ content: {
6412
+ "application/json": {
6413
+ error: {
6414
+ code: string;
6415
+ message: string;
6416
+ /** Format: uuid */
6417
+ correlationId: string;
6418
+ };
6419
+ };
6420
+ };
6421
+ };
6422
+ /** @description Default Response */
6423
+ 409: {
6424
+ headers: {
6425
+ [name: string]: unknown;
6426
+ };
6427
+ content: {
6428
+ "application/json": {
6429
+ error: {
6430
+ code: string;
6431
+ message: string;
6432
+ /** Format: uuid */
6433
+ correlationId: string;
6434
+ };
6435
+ };
6436
+ };
6437
+ };
6438
+ /** @description Default Response */
6439
+ 429: {
6440
+ headers: {
6441
+ [name: string]: unknown;
6442
+ };
6443
+ content: {
6444
+ "application/json": {
6445
+ error: {
6446
+ code: string;
6447
+ message: string;
6448
+ /** Format: uuid */
6449
+ correlationId: string;
6450
+ };
6451
+ };
6452
+ };
6453
+ };
6454
+ /** @description Default Response */
6455
+ 500: {
6456
+ headers: {
6457
+ [name: string]: unknown;
6458
+ };
6459
+ content: {
6460
+ "application/json": {
6461
+ error: {
6462
+ code: string;
6463
+ message: string;
6464
+ /** Format: uuid */
6465
+ correlationId: string;
6466
+ };
6467
+ };
6468
+ };
6469
+ };
6470
+ /** @description Default Response */
6471
+ 503: {
6472
+ headers: {
6473
+ [name: string]: unknown;
6474
+ };
6475
+ content: {
6476
+ "application/json": {
6477
+ error: {
6478
+ code: string;
6479
+ message: string;
6480
+ /** Format: uuid */
6481
+ correlationId: string;
6482
+ };
6483
+ };
6484
+ };
6485
+ };
6486
+ };
6487
+ };
6488
+ confirmChildMandate: {
6489
+ parameters: {
6490
+ query?: never;
6491
+ header?: never;
6492
+ path: {
6493
+ projectId: string;
6494
+ gasPolicyId: string;
6495
+ };
6496
+ cookie?: never;
6497
+ };
6498
+ requestBody: {
6499
+ content: {
6500
+ "application/json": {
6501
+ /** Format: uuid */
6502
+ draftId: string;
6503
+ transactionHash: string;
6504
+ };
6505
+ };
6506
+ };
6507
+ responses: {
6508
+ /** @description Default Response */
6509
+ 200: {
6510
+ headers: {
6511
+ [name: string]: unknown;
6512
+ };
6513
+ content: {
6514
+ "application/json": components["schemas"]["def-10"];
4652
6515
  };
4653
6516
  };
4654
6517
  /** @description Default Response */
@@ -5134,7 +6997,7 @@ export interface operations {
5134
6997
  "application/json": {
5135
6998
  gasPolicyId: string;
5136
6999
  account: string;
5137
- family: "safe" | "nexus" | "kernel" | "alchemy";
7000
+ family: "safe" | "nexus" | "kernel" | "alchemy" | "nexus7702";
5138
7001
  /** @enum {number} */
5139
7002
  chainId: 84532;
5140
7003
  core: string;
@@ -5470,7 +7333,8 @@ export interface operations {
5470
7333
  requestBody: {
5471
7334
  content: {
5472
7335
  "application/json": {
5473
- action: "pause" | "resume";
7336
+ action: "pause" | "resume" | "revoke";
7337
+ mandateId?: string;
5474
7338
  deadline?: number;
5475
7339
  };
5476
7340
  };
@@ -5486,12 +7350,12 @@ export interface operations {
5486
7350
  gasPolicyId: string;
5487
7351
  mandateId: string;
5488
7352
  account: string;
5489
- family: "safe" | "nexus" | "kernel" | "alchemy";
7353
+ family: "safe" | "nexus" | "kernel" | "alchemy" | "nexus7702";
5490
7354
  /** @enum {number} */
5491
7355
  chainId: 84532;
5492
7356
  core: string;
5493
- action: "pause" | "resume";
5494
- actionCode: 1 | 2;
7357
+ action: "pause" | "resume" | "revoke";
7358
+ actionCode: 1 | 2 | 3;
5495
7359
  nonce: string;
5496
7360
  deadline: number;
5497
7361
  digest: string;
@@ -5651,7 +7515,8 @@ export interface operations {
5651
7515
  requestBody: {
5652
7516
  content: {
5653
7517
  "application/json": {
5654
- action: "pause" | "resume";
7518
+ action: "pause" | "resume" | "revoke";
7519
+ mandateId?: string;
5655
7520
  transactionHash: string;
5656
7521
  };
5657
7522
  };
@@ -6142,7 +8007,7 @@ export interface operations {
6142
8007
  "application/json": {
6143
8008
  url: string;
6144
8009
  description?: string;
6145
- 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")[];
6146
8011
  };
6147
8012
  };
6148
8013
  };