@openfort/openfort-node 0.8.3 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -678,7 +678,7 @@ declare class ValidationError extends Error {
678
678
  }
679
679
 
680
680
  /**
681
- * Generated by orval v8.2.0 🍺
681
+ * Generated by orval v8.4.2 🍺
682
682
  * Do not edit manually.
683
683
  * Openfort API
684
684
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -2853,6 +2853,7 @@ type PolicyV2Scope = typeof PolicyV2Scope[keyof typeof PolicyV2Scope];
2853
2853
  declare const PolicyV2Scope: {
2854
2854
  readonly project: "project";
2855
2855
  readonly account: "account";
2856
+ readonly transaction: "transaction";
2856
2857
  };
2857
2858
  type PolicyV2Action = typeof PolicyV2Action[keyof typeof PolicyV2Action];
2858
2859
  declare const PolicyV2Action: {
@@ -3218,13 +3219,11 @@ interface PolicyV2ListResponse {
3218
3219
  end: number;
3219
3220
  total: number;
3220
3221
  }
3221
- /**
3222
- * Filter by scope.
3223
- */
3224
- type PolicyV2ListQueriesScope = typeof PolicyV2ListQueriesScope[keyof typeof PolicyV2ListQueriesScope];
3225
- declare const PolicyV2ListQueriesScope: {
3222
+ type PolicyV2ListQueriesScopeItem = typeof PolicyV2ListQueriesScopeItem[keyof typeof PolicyV2ListQueriesScopeItem];
3223
+ declare const PolicyV2ListQueriesScopeItem: {
3226
3224
  readonly project: "project";
3227
3225
  readonly account: "account";
3226
+ readonly transaction: "transaction";
3228
3227
  };
3229
3228
  interface PolicyV2ListQueries {
3230
3229
  /**
@@ -3240,7 +3239,7 @@ interface PolicyV2ListQueries {
3240
3239
  /** Specifies the order in which to sort the results. */
3241
3240
  order?: PrismaSortOrder;
3242
3241
  /** Filter by scope. */
3243
- scope?: PolicyV2ListQueriesScope;
3242
+ scope?: PolicyV2ListQueriesScopeItem[];
3244
3243
  /** Filter by enabled status. */
3245
3244
  enabled?: boolean;
3246
3245
  /** Filter by account ID (for account-scoped policies). */
@@ -3751,15 +3750,22 @@ interface CreatePolicyV2RuleRequest {
3751
3750
  criteria?: PolicyV2CriterionRequest[];
3752
3751
  }
3753
3752
  /**
3754
- * The scope of the policy. 'project' applies to all accounts, 'account' applies to a specific account.
3753
+ * The scope of the policy.
3754
+ - 'project': applies to all accounts (soft validation - no match = user pays)
3755
+ - 'account': applies to a specific account (soft validation)
3756
+ - 'transaction': only when explicitly passed (hard validation - no match = tx fails)
3755
3757
  */
3756
3758
  type CreatePolicyV2RequestScope = typeof CreatePolicyV2RequestScope[keyof typeof CreatePolicyV2RequestScope];
3757
3759
  declare const CreatePolicyV2RequestScope: {
3758
3760
  readonly project: "project";
3759
3761
  readonly account: "account";
3762
+ readonly transaction: "transaction";
3760
3763
  };
3761
3764
  interface CreatePolicyV2Request {
3762
- /** The scope of the policy. 'project' applies to all accounts, 'account' applies to a specific account. */
3765
+ /** The scope of the policy.
3766
+ - 'project': applies to all accounts (soft validation - no match = user pays)
3767
+ - 'account': applies to a specific account (soft validation)
3768
+ - 'transaction': only when explicitly passed (hard validation - no match = tx fails) */
3763
3769
  scope: CreatePolicyV2RequestScope;
3764
3770
  /** A description of what this policy does. */
3765
3771
  description?: string;
@@ -3858,6 +3864,150 @@ interface PolicyV2DeleteResponse {
3858
3864
  object: EntityTypePOLICYV2;
3859
3865
  deleted: boolean;
3860
3866
  }
3867
+ /**
3868
+ * Strategy information in fee sponsorship response.
3869
+ */
3870
+ interface FeeSponsorshipStrategyResponse {
3871
+ /** The sponsorship schema type. */
3872
+ sponsorSchema: string;
3873
+ /** Token contract ID for charge_custom_tokens or fixed_rate schemas. */
3874
+ tokenContract?: string;
3875
+ /** Token amount for charge_custom_tokens or fixed_rate schemas. */
3876
+ tokenContractAmount?: string;
3877
+ /** Whether the exchange rate is computed dynamically from cached prices.
3878
+ True when tokenContractAmount was not provided at creation time. */
3879
+ dynamicExchangeRate?: boolean;
3880
+ }
3881
+ type EntityTypeFEESPONSORSHIP = typeof EntityTypeFEESPONSORSHIP[keyof typeof EntityTypeFEESPONSORSHIP];
3882
+ declare const EntityTypeFEESPONSORSHIP: {
3883
+ readonly feeSponsorship: "feeSponsorship";
3884
+ };
3885
+ /**
3886
+ * Fee sponsorship policy response.
3887
+ */
3888
+ interface FeeSponsorshipResponse {
3889
+ id: string;
3890
+ object: EntityTypeFEESPONSORSHIP;
3891
+ createdAt: number;
3892
+ /**
3893
+ * Name of the fee sponsorship policy.
3894
+ * @nullable
3895
+ */
3896
+ name: string | null;
3897
+ /**
3898
+ * Chain ID for single-chain sponsorship.
3899
+ * @deprecated
3900
+ * @nullable
3901
+ */
3902
+ chainId: number | null;
3903
+ /** Whether the policy is enabled. */
3904
+ enabled: boolean;
3905
+ /** Sponsorship strategy configuration. */
3906
+ strategy: FeeSponsorshipStrategyResponse;
3907
+ /**
3908
+ * Paymaster ID (optional).
3909
+ * @nullable
3910
+ */
3911
+ paymasterId: string | null;
3912
+ /**
3913
+ * Forwarder contract ID (optional, for meta-transactions).
3914
+ * @nullable
3915
+ */
3916
+ forwarderContractId: string | null;
3917
+ /**
3918
+ * Linked policy ID for criteria-based transaction filtering.
3919
+ * @nullable
3920
+ */
3921
+ policyId: string | null;
3922
+ }
3923
+ interface FeeSponsorshipListResponse {
3924
+ object: ResponseTypeLIST;
3925
+ url: string;
3926
+ data: FeeSponsorshipResponse[];
3927
+ start: number;
3928
+ end: number;
3929
+ total: number;
3930
+ }
3931
+ /**
3932
+ * Query parameters for listing fee sponsorship policies.
3933
+ */
3934
+ interface FeeSponsorshipListQueries {
3935
+ /**
3936
+ * Specifies the maximum number of records to return.
3937
+ * @minimum 1
3938
+ */
3939
+ limit?: number;
3940
+ /**
3941
+ * Specifies the offset for the first records to return.
3942
+ * @minimum 0
3943
+ */
3944
+ skip?: number;
3945
+ /** Specifies the order in which to sort the results. */
3946
+ order?: PrismaSortOrder;
3947
+ /** Filter by policy name (partial match). */
3948
+ name?: string;
3949
+ /** Filter by chain ID. */
3950
+ chainId?: number;
3951
+ /** Filter by enabled status. */
3952
+ enabled?: boolean;
3953
+ /** Include deleted policies. */
3954
+ deleted?: boolean;
3955
+ }
3956
+ /**
3957
+ * Strategy configuration for fee sponsorship.
3958
+ */
3959
+ interface FeeSponsorshipStrategy {
3960
+ /** The sponsorship schema type. */
3961
+ sponsorSchema: SponsorSchema;
3962
+ /** Token contract UUID for charge_custom_tokens or fixed_rate schemas. */
3963
+ tokenContract?: string;
3964
+ /** Token amount for charge_custom_tokens or fixed_rate schemas. */
3965
+ tokenContractAmount?: string;
3966
+ }
3967
+ /**
3968
+ * Request to create a new fee sponsorship policy.
3969
+ */
3970
+ interface CreateFeeSponsorshipRequest {
3971
+ /** Name of the fee sponsorship policy. */
3972
+ name?: string;
3973
+ /** Sponsorship strategy configuration. */
3974
+ strategy: FeeSponsorshipStrategy;
3975
+ /** Paymaster UUID (optional, for pay_for_user schema). */
3976
+ paymaster?: string;
3977
+ /**
3978
+ * Chain ID for single-chain sponsorship.
3979
+ * @deprecated
3980
+ */
3981
+ chainId?: number;
3982
+ /** Forwarder contract UUID (optional, for meta-transactions). */
3983
+ forwarderContractId?: string;
3984
+ /** Link to a policy for criteria-based transaction filtering.
3985
+ Create the policy first via /v2/policies, then reference it here. */
3986
+ policyId: string;
3987
+ }
3988
+ /**
3989
+ * Request to update a fee sponsorship policy.
3990
+ */
3991
+ interface UpdateFeeSponsorshipRequest {
3992
+ /** Name of the fee sponsorship policy. */
3993
+ name?: string;
3994
+ /** Sponsorship strategy configuration. */
3995
+ strategy?: FeeSponsorshipStrategy;
3996
+ /**
3997
+ * Chain ID for single-chain sponsorship.
3998
+ * @deprecated
3999
+ */
4000
+ chainId?: number;
4001
+ /** Forwarder contract UUID (optional, for meta-transactions). */
4002
+ forwarderContractId?: string;
4003
+ /** Link to a policy for criteria-based transaction filtering. */
4004
+ policyId?: string;
4005
+ }
4006
+ interface FeeSponsorshipDeleteResponse {
4007
+ id: string;
4008
+ object: EntityTypeFEESPONSORSHIP;
4009
+ deleted: boolean;
4010
+ }
3861
4011
  interface RecoverV2Response {
3862
4012
  id: string;
3863
4013
  account: string;
@@ -5842,7 +5992,7 @@ type GetSessionParams = {
5842
5992
  */
5843
5993
  expand?: SessionResponseExpandable[];
5844
5994
  };
5845
- type GetPolicyRulesParams = {
5995
+ type GetGasPolicyRulesLegacyParams = {
5846
5996
  /**
5847
5997
  * Specifies the maximum number of records to return.
5848
5998
  * @minimum 1
@@ -5860,17 +6010,17 @@ type GetPolicyRulesParams = {
5860
6010
  /**
5861
6011
  * Specifies the fields to expand in the response.
5862
6012
  */
5863
- expand?: GetPolicyRulesExpandItem[];
6013
+ expand?: GetGasPolicyRulesLegacyExpandItem[];
5864
6014
  /**
5865
6015
  * Specifies the unique policy ID (starts with pol_).
5866
6016
  */
5867
6017
  policy: string;
5868
6018
  };
5869
- type GetPolicyRulesExpandItem = typeof GetPolicyRulesExpandItem[keyof typeof GetPolicyRulesExpandItem];
5870
- declare const GetPolicyRulesExpandItem: {
6019
+ type GetGasPolicyRulesLegacyExpandItem = typeof GetGasPolicyRulesLegacyExpandItem[keyof typeof GetGasPolicyRulesLegacyExpandItem];
6020
+ declare const GetGasPolicyRulesLegacyExpandItem: {
5871
6021
  readonly contract: "contract";
5872
6022
  };
5873
- type GetPoliciesParams = {
6023
+ type GetGasPoliciesLegacyParams = {
5874
6024
  /**
5875
6025
  * Specifies the maximum number of records to return.
5876
6026
  * @minimum 1
@@ -5906,13 +6056,13 @@ type GetPoliciesParams = {
5906
6056
  */
5907
6057
  enabled?: boolean;
5908
6058
  };
5909
- type GetPolicyParams = {
6059
+ type GetGasPolicyLegacyParams = {
5910
6060
  /**
5911
6061
  * Specifies the fields to expand.
5912
6062
  */
5913
6063
  expand?: PolicyResponseExpandable[];
5914
6064
  };
5915
- type GetPolicyTotalGasUsageParams = {
6065
+ type GetGasPolicyTotalGasUsageLegacyParams = {
5916
6066
  /**
5917
6067
  * Specifies the maximum number of records to return.
5918
6068
  * @minimum 1
@@ -5928,7 +6078,7 @@ type GetPolicyTotalGasUsageParams = {
5928
6078
  */
5929
6079
  order?: PrismaSortOrder;
5930
6080
  };
5931
- type GetPolicyReportTransactionIntentsParams = {
6081
+ type GetGasPolicyReportTransactionIntentsLegacyParams = {
5932
6082
  /**
5933
6083
  * The start date of the period in unix timestamp.
5934
6084
  */
@@ -6169,7 +6319,7 @@ type ListPoliciesParams = {
6169
6319
  /**
6170
6320
  * Filter by scope.
6171
6321
  */
6172
- scope?: ListPoliciesScope;
6322
+ scope?: ListPoliciesScopeItem[];
6173
6323
  /**
6174
6324
  * Filter by enabled status.
6175
6325
  */
@@ -6179,10 +6329,43 @@ type ListPoliciesParams = {
6179
6329
  */
6180
6330
  accountId?: string;
6181
6331
  };
6182
- type ListPoliciesScope = typeof ListPoliciesScope[keyof typeof ListPoliciesScope];
6183
- declare const ListPoliciesScope: {
6332
+ type ListPoliciesScopeItem = typeof ListPoliciesScopeItem[keyof typeof ListPoliciesScopeItem];
6333
+ declare const ListPoliciesScopeItem: {
6184
6334
  readonly project: "project";
6185
6335
  readonly account: "account";
6336
+ readonly transaction: "transaction";
6337
+ };
6338
+ type ListFeeSponsorshipsParams = {
6339
+ /**
6340
+ * Specifies the maximum number of records to return.
6341
+ * @minimum 1
6342
+ */
6343
+ limit?: number;
6344
+ /**
6345
+ * Specifies the offset for the first records to return.
6346
+ * @minimum 0
6347
+ */
6348
+ skip?: number;
6349
+ /**
6350
+ * Specifies the order in which to sort the results.
6351
+ */
6352
+ order?: PrismaSortOrder;
6353
+ /**
6354
+ * Filter by policy name (partial match).
6355
+ */
6356
+ name?: string;
6357
+ /**
6358
+ * Filter by chain ID.
6359
+ */
6360
+ chainId?: number;
6361
+ /**
6362
+ * Filter by enabled status.
6363
+ */
6364
+ enabled?: boolean;
6365
+ /**
6366
+ * Include deleted policies.
6367
+ */
6368
+ deleted?: boolean;
6186
6369
  };
6187
6370
  type ListBackendWalletsParams = {
6188
6371
  /**
@@ -6376,14 +6559,14 @@ declare const openfortApiClient: <T>(config: AxiosRequestConfig, options?: Reque
6376
6559
  declare const getConfig: () => OpenfortClientOptions | undefined;
6377
6560
 
6378
6561
  /**
6379
- * Generated by orval v8.2.0 🍺
6562
+ * Generated by orval v8.4.2 🍺
6380
6563
  * Do not edit manually.
6381
6564
  * Openfort API
6382
6565
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
6383
6566
  * OpenAPI spec version: 1.0.0
6384
6567
  */
6385
6568
 
6386
- type SecondParameter$m<T extends (...args: never) => unknown> = Parameters<T>[1];
6569
+ type SecondParameter$o<T extends (...args: never) => unknown> = Parameters<T>[1];
6387
6570
  /**
6388
6571
  * Returns a list of accounts for the given player.
6389
6572
 
@@ -6396,7 +6579,7 @@ Returns the latest 10 transaction intents for each account.
6396
6579
  By default, a maximum of 10 accounts are shown per page.
6397
6580
  * @summary List accounts of a player.
6398
6581
  */
6399
- declare const getAccounts: (params?: GetAccountsParams, options?: SecondParameter$m<typeof openfortApiClient<AccountListResponse>>) => Promise<AccountListResponse>;
6582
+ declare const getAccounts: (params?: GetAccountsParams, options?: SecondParameter$o<typeof openfortApiClient<AccountListResponse>>) => Promise<AccountListResponse>;
6400
6583
  /**
6401
6584
  * Creates a new blockchain account for the provided player. If not player is provided, a new one will be created.
6402
6585
 
@@ -6405,7 +6588,7 @@ Account creation does not consume any gas. All accounts of a player will use the
6405
6588
  Each player can only have one account per chain.
6406
6589
  * @summary Create an account object.
6407
6590
  */
6408
- declare const createAccount: (createAccountRequest: CreateAccountRequest, options?: SecondParameter$m<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
6591
+ declare const createAccount: (createAccountRequest: CreateAccountRequest, options?: SecondParameter$o<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
6409
6592
  /**
6410
6593
  * Retrieves the details of an existing account.
6411
6594
 
@@ -6414,28 +6597,28 @@ Supply the unique account ID from either a account creation request or the accou
6414
6597
  Returns the latest 10 transaction intents created by this account.
6415
6598
  * @summary Get existing account.
6416
6599
  */
6417
- declare const getAccount: (id: string, params?: GetAccountParams, options?: SecondParameter$m<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
6600
+ declare const getAccount: (id: string, params?: GetAccountParams, options?: SecondParameter$o<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
6418
6601
  /**
6419
6602
  * Disables an account.
6420
6603
 
6421
6604
  Accounts won't be shown for user and won't be accessible for transactions.
6422
6605
  * @summary Disable account by id.
6423
6606
  */
6424
- declare const disableAccount: (id: string, options?: SecondParameter$m<typeof openfortApiClient<void>>) => Promise<void>;
6607
+ declare const disableAccount: (id: string, options?: SecondParameter$o<typeof openfortApiClient<void>>) => Promise<void>;
6425
6608
  type GetAccountsResult = NonNullable<Awaited<ReturnType<typeof getAccounts>>>;
6426
6609
  type CreateAccountResult = NonNullable<Awaited<ReturnType<typeof createAccount>>>;
6427
6610
  type GetAccountResult = NonNullable<Awaited<ReturnType<typeof getAccount>>>;
6428
6611
  type DisableAccountResult = NonNullable<Awaited<ReturnType<typeof disableAccount>>>;
6429
6612
 
6430
6613
  /**
6431
- * Generated by orval v8.2.0 🍺
6614
+ * Generated by orval v8.4.2 🍺
6432
6615
  * Do not edit manually.
6433
6616
  * Openfort API
6434
6617
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
6435
6618
  * OpenAPI spec version: 1.0.0
6436
6619
  */
6437
6620
 
6438
- type SecondParameter$l<T extends (...args: never) => unknown> = Parameters<T>[1];
6621
+ type SecondParameter$n<T extends (...args: never) => unknown> = Parameters<T>[1];
6439
6622
  /**
6440
6623
  * Returns a list of accounts for the given user.
6441
6624
 
@@ -6444,38 +6627,38 @@ This object represents a user's account, which is a blockchain smart account tha
6444
6627
  The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
6445
6628
  * @summary List user accounts.
6446
6629
  */
6447
- declare const getAccountsV2: (params?: GetAccountsV2Params, options?: SecondParameter$l<typeof openfortApiClient<BaseEntityListResponseAccountV2Response>>) => Promise<BaseEntityListResponseAccountV2Response>;
6630
+ declare const getAccountsV2: (params?: GetAccountsV2Params, options?: SecondParameter$n<typeof openfortApiClient<BaseEntityListResponseAccountV2Response>>) => Promise<BaseEntityListResponseAccountV2Response>;
6448
6631
  /**
6449
6632
  * Creates a new blockchain account for a user.
6450
6633
 
6451
6634
  Account creation does not consume any gas. The account can be used to interact with the blockchain.
6452
6635
  * @summary Create new account.
6453
6636
  */
6454
- declare const createAccountV2: (createAccountRequestV2: CreateAccountRequestV2, options?: SecondParameter$l<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
6637
+ declare const createAccountV2: (createAccountRequestV2: CreateAccountRequestV2, options?: SecondParameter$n<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
6455
6638
  /**
6456
6639
  * Retrieves the signer ID associated with a given blockchain address.
6457
6640
  * @summary Get signer ID by address.
6458
6641
  */
6459
- declare const getSignerIdByAddress: (params: GetSignerIdByAddressParams, options?: SecondParameter$l<typeof openfortApiClient<SignerIdResponse>>) => Promise<SignerIdResponse>;
6642
+ declare const getSignerIdByAddress: (params: GetSignerIdByAddressParams, options?: SecondParameter$n<typeof openfortApiClient<SignerIdResponse>>) => Promise<SignerIdResponse>;
6460
6643
  /**
6461
6644
  * Retrieves the details of an existing account.
6462
6645
 
6463
6646
  Supply the unique account ID and Openfort will return the corresponding account information.
6464
6647
  * @summary Get existing account.
6465
6648
  */
6466
- declare const getAccountV2: (id: string, options?: SecondParameter$l<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
6649
+ declare const getAccountV2: (id: string, options?: SecondParameter$n<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
6467
6650
  /**
6468
6651
  * Removes an account from a project.
6469
6652
  * @summary Delete account.
6470
6653
  */
6471
- declare const removeAccount: (id: string, options?: SecondParameter$l<typeof openfortApiClient<DeleteAccountResponse>>) => Promise<DeleteAccountResponse>;
6654
+ declare const removeAccount: (id: string, options?: SecondParameter$n<typeof openfortApiClient<DeleteAccountResponse>>) => Promise<DeleteAccountResponse>;
6472
6655
  /**
6473
6656
  * Switches the blockchain network for an existing account.
6474
6657
 
6475
6658
  This allows moving an account between different blockchain networks while maintaining the same account identity.
6476
6659
  * @summary Switch account blockchain.
6477
6660
  */
6478
- declare const switchChainV2: (switchChainQueriesV2: SwitchChainQueriesV2, options?: SecondParameter$l<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
6661
+ declare const switchChainV2: (switchChainQueriesV2: SwitchChainQueriesV2, options?: SecondParameter$n<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
6479
6662
  type GetAccountsV2Result = NonNullable<Awaited<ReturnType<typeof getAccountsV2>>>;
6480
6663
  type CreateAccountV2Result = NonNullable<Awaited<ReturnType<typeof createAccountV2>>>;
6481
6664
  type GetSignerIdByAddressResult = NonNullable<Awaited<ReturnType<typeof getSignerIdByAddress>>>;
@@ -6484,89 +6667,89 @@ type RemoveAccountResult = NonNullable<Awaited<ReturnType<typeof removeAccount>>
6484
6667
  type SwitchChainV2Result = NonNullable<Awaited<ReturnType<typeof switchChainV2>>>;
6485
6668
 
6486
6669
  /**
6487
- * Generated by orval v8.2.0 🍺
6670
+ * Generated by orval v8.4.2 🍺
6488
6671
  * Do not edit manually.
6489
6672
  * Openfort API
6490
6673
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
6491
6674
  * OpenAPI spec version: 1.0.0
6492
6675
  */
6493
6676
 
6494
- type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1];
6677
+ type SecondParameter$m<T extends (...args: never) => unknown> = Parameters<T>[1];
6495
6678
  /**
6496
6679
  * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
6497
6680
 
6498
6681
  Returns the latest 10 transaction intents for the player.
6499
6682
  * @summary Retrieve player by oauth token.
6500
6683
  */
6501
- declare const verifyOAuthToken: (authenticateOAuthRequest: AuthenticateOAuthRequest, options?: SecondParameter$k<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
6684
+ declare const verifyOAuthToken: (authenticateOAuthRequest: AuthenticateOAuthRequest, options?: SecondParameter$m<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
6502
6685
  /**
6503
6686
  * List configured OAuth methods for the current project environment.
6504
6687
  * @deprecated
6505
6688
  * @summary List of oauth configurations.
6506
6689
  */
6507
- declare const listOAuthConfig: (options?: SecondParameter$k<typeof openfortApiClient<OAuthConfigListResponse>>) => Promise<OAuthConfigListResponse>;
6690
+ declare const listOAuthConfig: (options?: SecondParameter$m<typeof openfortApiClient<OAuthConfigListResponse>>) => Promise<OAuthConfigListResponse>;
6508
6691
  /**
6509
6692
  * The endpoint creates oauth configuration for the current project environment.
6510
6693
  * @deprecated
6511
6694
  * @summary Create oauth configuration.
6512
6695
  */
6513
- declare const createOAuthConfig: (authConfig: AuthConfig, options?: SecondParameter$k<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
6696
+ declare const createOAuthConfig: (authConfig: AuthConfig, options?: SecondParameter$m<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
6514
6697
  /**
6515
6698
  * @deprecated
6516
6699
  * @summary oauth callback.
6517
6700
  */
6518
- declare const deprecatedCallbackOAuth: (params: DeprecatedCallbackOAuthParams, options?: SecondParameter$k<typeof openfortApiClient<unknown>>) => Promise<unknown>;
6701
+ declare const deprecatedCallbackOAuth: (params: DeprecatedCallbackOAuthParams, options?: SecondParameter$m<typeof openfortApiClient<unknown>>) => Promise<unknown>;
6519
6702
  /**
6520
6703
  * @summary oauth grant.
6521
6704
  */
6522
- declare const grantOAuth: (provider: OAuthProvider, grantCallbackRequest: GrantCallbackRequest, options?: SecondParameter$k<typeof openfortApiClient<GrantOAuthResponse>>) => Promise<GrantOAuthResponse>;
6705
+ declare const grantOAuth: (provider: OAuthProvider, grantCallbackRequest: GrantCallbackRequest, options?: SecondParameter$m<typeof openfortApiClient<GrantOAuthResponse>>) => Promise<GrantOAuthResponse>;
6523
6706
  /**
6524
6707
  * @summary oauth callback.
6525
6708
  */
6526
- declare const callbackOAuth: (provider: OAuthProvider, params: CallbackOAuthParams, options?: SecondParameter$k<typeof openfortApiClient<unknown>>) => Promise<unknown>;
6709
+ declare const callbackOAuth: (provider: OAuthProvider, params: CallbackOAuthParams, options?: SecondParameter$m<typeof openfortApiClient<unknown>>) => Promise<unknown>;
6527
6710
  /**
6528
6711
  * The endpoint retrieves oauth configuration for specified provider for the current project environment.
6529
6712
  * @deprecated
6530
6713
  * @summary Get oauth configuration.
6531
6714
  */
6532
- declare const getOAuthConfig: (provider: OAuthProvider, options?: SecondParameter$k<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
6715
+ declare const getOAuthConfig: (provider: OAuthProvider, options?: SecondParameter$m<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
6533
6716
  /**
6534
6717
  * The endpoint deletes oauth configuration for specified provider for the current project environment.
6535
6718
  * @deprecated
6536
6719
  * @summary Delete oauth configuration.
6537
6720
  */
6538
- declare const deleteOAuthConfig: (provider: OAuthProvider, options?: SecondParameter$k<typeof openfortApiClient<void>>) => Promise<void>;
6721
+ declare const deleteOAuthConfig: (provider: OAuthProvider, options?: SecondParameter$m<typeof openfortApiClient<void>>) => Promise<void>;
6539
6722
  /**
6540
6723
  * List configured auth methods for the current project environment.
6541
6724
  * @summary List of auth configurations.
6542
6725
  */
6543
- declare const list: (params?: ListParams, options?: SecondParameter$k<typeof openfortApiClient<AuthProviderListResponse>>) => Promise<AuthProviderListResponse>;
6726
+ declare const list: (params?: ListParams, options?: SecondParameter$m<typeof openfortApiClient<AuthProviderListResponse>>) => Promise<AuthProviderListResponse>;
6544
6727
  /**
6545
6728
  * The endpoint creates oauth configuration for the current project environment.
6546
6729
  * @summary Create oauth configuration.
6547
6730
  */
6548
- declare const create: (authConfig: AuthConfig, options?: SecondParameter$k<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
6731
+ declare const create: (authConfig: AuthConfig, options?: SecondParameter$m<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
6549
6732
  /**
6550
6733
  * Creates an authenticated player.
6551
6734
 
6552
6735
  The player will be authenticated with the provider and an embedded account can be pre generated.
6553
6736
  * @summary Create an authenticated player.
6554
6737
  */
6555
- declare const createAuthPlayer: (createAuthPlayerRequest: CreateAuthPlayerRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponseWithRecoveryShare>>) => Promise<AuthPlayerResponseWithRecoveryShare>;
6738
+ declare const createAuthPlayer: (createAuthPlayerRequest: CreateAuthPlayerRequest, options?: SecondParameter$m<typeof openfortApiClient<AuthPlayerResponseWithRecoveryShare>>) => Promise<AuthPlayerResponseWithRecoveryShare>;
6556
6739
  /**
6557
6740
  * Retrieves a list of authenticated players.
6558
6741
 
6559
6742
  Players have linked accounts and are authenticated with a provider.
6560
6743
  * @summary List authenticated players.
6561
6744
  */
6562
- declare const getAuthPlayers: (params?: GetAuthPlayersParams, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerListResponse>>) => Promise<AuthPlayerListResponse>;
6745
+ declare const getAuthPlayers: (params?: GetAuthPlayersParams, options?: SecondParameter$m<typeof openfortApiClient<AuthPlayerListResponse>>) => Promise<AuthPlayerListResponse>;
6563
6746
  /**
6564
6747
  * Retrieves an authenticated player.
6565
6748
 
6566
6749
  Players have linked accounts and are authenticated with a provider.
6567
6750
  * @summary Authenticated player.
6568
6751
  */
6569
- declare const getAuthPlayer: (id: string, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
6752
+ declare const getAuthPlayer: (id: string, options?: SecondParameter$m<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
6570
6753
  /**
6571
6754
  * Deletes a player auth object.
6572
6755
 
@@ -6574,13 +6757,13 @@ It will delete all linked accounts the player is authenticated with.
6574
6757
  If the player has a linked embedded signer, it will be deleted as well.
6575
6758
  * @summary Deletes a player auth object.
6576
6759
  */
6577
- declare const deleteAuthPlayer: (id: string, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
6760
+ declare const deleteAuthPlayer: (id: string, options?: SecondParameter$m<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
6578
6761
  /**
6579
6762
  * Verifies the token generated by Openfort Auth.
6580
6763
  * @summary Verify auth token.
6581
6764
  */
6582
- declare const verifyAuthToken: (params: VerifyAuthTokenParams, options?: SecondParameter$k<typeof openfortApiClient<AuthSessionResponse>>) => Promise<AuthSessionResponse>;
6583
- declare const authorize: (authorizePlayerRequest: AuthorizePlayerRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponse | AuthenticatedPlayerResponse>>) => Promise<AuthPlayerResponse | AuthenticatedPlayerResponse>;
6765
+ declare const verifyAuthToken: (params: VerifyAuthTokenParams, options?: SecondParameter$m<typeof openfortApiClient<AuthSessionResponse>>) => Promise<AuthSessionResponse>;
6766
+ declare const authorize: (authorizePlayerRequest: AuthorizePlayerRequest, options?: SecondParameter$m<typeof openfortApiClient<AuthPlayerResponse | AuthenticatedPlayerResponse>>) => Promise<AuthPlayerResponse | AuthenticatedPlayerResponse>;
6584
6767
  type VerifyOAuthTokenResult = NonNullable<Awaited<ReturnType<typeof verifyOAuthToken>>>;
6585
6768
  type ListOAuthConfigResult = NonNullable<Awaited<ReturnType<typeof listOAuthConfig>>>;
6586
6769
  type CreateOAuthConfigResult = NonNullable<Awaited<ReturnType<typeof createOAuthConfig>>>;
@@ -6599,7 +6782,7 @@ type VerifyAuthTokenResult = NonNullable<Awaited<ReturnType<typeof verifyAuthTok
6599
6782
  type AuthorizeResult = NonNullable<Awaited<ReturnType<typeof authorize>>>;
6600
6783
 
6601
6784
  /**
6602
- * Generated by orval v8.2.0 🍺
6785
+ * Generated by orval v8.4.2 🍺
6603
6786
  * Do not edit manually.
6604
6787
  * Openfort Auth
6605
6788
  * API Reference for Openfort Auth
@@ -8407,225 +8590,225 @@ declare namespace openfortAuth_schemas {
8407
8590
  }
8408
8591
 
8409
8592
  /**
8410
- * Generated by orval v8.2.0 🍺
8593
+ * Generated by orval v8.4.2 🍺
8411
8594
  * Do not edit manually.
8412
8595
  * Openfort Auth
8413
8596
  * API Reference for Openfort Auth
8414
8597
  * OpenAPI spec version: 1.0.0
8415
8598
  */
8416
8599
 
8417
- type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1];
8600
+ type SecondParameter$l<T extends (...args: never) => unknown> = Parameters<T>[1];
8418
8601
  /**
8419
8602
  * Sign in with a social provider
8420
8603
  * @summary Sign in with a social provider.
8421
8604
  */
8422
- declare const socialSignIn: (socialSignInBody: SocialSignInBody, options?: SecondParameter$j<typeof openfortApiClient<SocialSignIn200>>) => Promise<SocialSignIn200>;
8605
+ declare const socialSignIn: (socialSignInBody: SocialSignInBody, options?: SecondParameter$l<typeof openfortApiClient<SocialSignIn200>>) => Promise<SocialSignIn200>;
8423
8606
  /**
8424
8607
  * Get the current session
8425
8608
  * @summary Get the current session.
8426
8609
  */
8427
- declare const getGetSession: (params?: GetGetSessionParams, options?: SecondParameter$j<typeof openfortApiClient<GetGetSession200>>) => Promise<GetGetSession200>;
8610
+ declare const getGetSession: (params?: GetGetSessionParams, options?: SecondParameter$l<typeof openfortApiClient<GetGetSession200>>) => Promise<GetGetSession200>;
8428
8611
  /**
8429
8612
  * Sign out the current user
8430
8613
  * @summary Sign out.
8431
8614
  */
8432
- declare const postSignOut: (postSignOutBody: PostSignOutBody, options?: SecondParameter$j<typeof openfortApiClient<PostSignOut200>>) => Promise<PostSignOut200>;
8615
+ declare const postSignOut: (postSignOutBody: PostSignOutBody, options?: SecondParameter$l<typeof openfortApiClient<PostSignOut200>>) => Promise<PostSignOut200>;
8433
8616
  /**
8434
8617
  * Sign up a user using email and password
8435
8618
  * @summary Sign up with email and password.
8436
8619
  */
8437
- declare const postSignUpEmail: (postSignUpEmailBody: PostSignUpEmailBody, options?: SecondParameter$j<typeof openfortApiClient<PostSignUpEmail200>>) => Promise<PostSignUpEmail200>;
8620
+ declare const postSignUpEmail: (postSignUpEmailBody: PostSignUpEmailBody, options?: SecondParameter$l<typeof openfortApiClient<PostSignUpEmail200>>) => Promise<PostSignUpEmail200>;
8438
8621
  /**
8439
8622
  * Sign in with email and password
8440
8623
  * @summary Sign in with email and password.
8441
8624
  */
8442
- declare const postSignInEmail: (postSignInEmailBody: PostSignInEmailBody, options?: SecondParameter$j<typeof openfortApiClient<PostSignInEmail200>>) => Promise<PostSignInEmail200>;
8625
+ declare const postSignInEmail: (postSignInEmailBody: PostSignInEmailBody, options?: SecondParameter$l<typeof openfortApiClient<PostSignInEmail200>>) => Promise<PostSignInEmail200>;
8443
8626
  /**
8444
8627
  * Send a password reset email to the user
8445
8628
  * @summary Forget password.
8446
8629
  */
8447
- declare const postForgetPassword: (postForgetPasswordBody: PostForgetPasswordBody, options?: SecondParameter$j<typeof openfortApiClient<PostForgetPassword200>>) => Promise<PostForgetPassword200>;
8630
+ declare const postForgetPassword: (postForgetPasswordBody: PostForgetPasswordBody, options?: SecondParameter$l<typeof openfortApiClient<PostForgetPassword200>>) => Promise<PostForgetPassword200>;
8448
8631
  /**
8449
8632
  * Reset the password for a user
8450
8633
  * @summary Reset password.
8451
8634
  */
8452
- declare const postResetPassword: (postResetPasswordBody: PostResetPasswordBody, options?: SecondParameter$j<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
8635
+ declare const postResetPassword: (postResetPasswordBody: PostResetPasswordBody, options?: SecondParameter$l<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
8453
8636
  /**
8454
8637
  * Verify the email of the user.
8455
8638
  Usually this endpoint is called when user clicks 'Verify email' link from the letter.
8456
8639
  * @summary Verify email.
8457
8640
  */
8458
- declare const getVerifyEmail: (params: GetVerifyEmailParams, options?: SecondParameter$j<typeof openfortApiClient<GetVerifyEmail200>>) => Promise<GetVerifyEmail200>;
8641
+ declare const getVerifyEmail: (params: GetVerifyEmailParams, options?: SecondParameter$l<typeof openfortApiClient<GetVerifyEmail200>>) => Promise<GetVerifyEmail200>;
8459
8642
  /**
8460
8643
  * Send a verification email to the user
8461
8644
  * @summary Send verification email.
8462
8645
  */
8463
- declare const postSendVerificationEmail: (postSendVerificationEmailBody: PostSendVerificationEmailBody, options?: SecondParameter$j<typeof openfortApiClient<PostSendVerificationEmail200>>) => Promise<PostSendVerificationEmail200>;
8646
+ declare const postSendVerificationEmail: (postSendVerificationEmailBody: PostSendVerificationEmailBody, options?: SecondParameter$l<typeof openfortApiClient<PostSendVerificationEmail200>>) => Promise<PostSendVerificationEmail200>;
8464
8647
  /**
8465
8648
  * Change user's email
8466
8649
  * @summary Change email.
8467
8650
  */
8468
- declare const postChangeEmail: (postChangeEmailBody: PostChangeEmailBody, options?: SecondParameter$j<typeof openfortApiClient<PostChangeEmail200>>) => Promise<PostChangeEmail200>;
8651
+ declare const postChangeEmail: (postChangeEmailBody: PostChangeEmailBody, options?: SecondParameter$l<typeof openfortApiClient<PostChangeEmail200>>) => Promise<PostChangeEmail200>;
8469
8652
  /**
8470
8653
  * Change the password of the user
8471
8654
  * @summary Change password.
8472
8655
  */
8473
- declare const postChangePassword: (postChangePasswordBody: PostChangePasswordBody, options?: SecondParameter$j<typeof openfortApiClient<PostChangePassword200>>) => Promise<PostChangePassword200>;
8656
+ declare const postChangePassword: (postChangePasswordBody: PostChangePasswordBody, options?: SecondParameter$l<typeof openfortApiClient<PostChangePassword200>>) => Promise<PostChangePassword200>;
8474
8657
  /**
8475
8658
  * Redirects the user to the callback URL with the token
8476
8659
  * @summary Reset password callback.
8477
8660
  */
8478
- declare const getResetPasswordToken: (token: string, params?: GetResetPasswordTokenParams, options?: SecondParameter$j<typeof openfortApiClient<GetResetPasswordToken200>>) => Promise<GetResetPasswordToken200>;
8661
+ declare const getResetPasswordToken: (token: string, params?: GetResetPasswordTokenParams, options?: SecondParameter$l<typeof openfortApiClient<GetResetPasswordToken200>>) => Promise<GetResetPasswordToken200>;
8479
8662
  /**
8480
8663
  * Send a password reset email to the user
8481
8664
  * @summary Request password reset.
8482
8665
  */
8483
- declare const postRequestPasswordReset: (postRequestPasswordResetBody: PostRequestPasswordResetBody, options?: SecondParameter$j<typeof openfortApiClient<PostRequestPasswordReset200>>) => Promise<PostRequestPasswordReset200>;
8666
+ declare const postRequestPasswordReset: (postRequestPasswordResetBody: PostRequestPasswordResetBody, options?: SecondParameter$l<typeof openfortApiClient<PostRequestPasswordReset200>>) => Promise<PostRequestPasswordReset200>;
8484
8667
  /**
8485
8668
  * List all active sessions for the user
8486
8669
  * @summary List sessions.
8487
8670
  */
8488
- declare const getListSessions: (options?: SecondParameter$j<typeof openfortApiClient<Session[]>>) => Promise<Session[]>;
8671
+ declare const getListSessions: (options?: SecondParameter$l<typeof openfortApiClient<Session[]>>) => Promise<Session[]>;
8489
8672
  /**
8490
8673
  * Revoke a single session
8491
8674
  * @summary Revoke session.
8492
8675
  */
8493
- declare const postRevokeSession: (postRevokeSessionBody: PostRevokeSessionBody, options?: SecondParameter$j<typeof openfortApiClient<PostRevokeSession200>>) => Promise<PostRevokeSession200>;
8676
+ declare const postRevokeSession: (postRevokeSessionBody: PostRevokeSessionBody, options?: SecondParameter$l<typeof openfortApiClient<PostRevokeSession200>>) => Promise<PostRevokeSession200>;
8494
8677
  /**
8495
8678
  * Revoke all sessions for the user
8496
8679
  * @summary Revoke sessions.
8497
8680
  */
8498
- declare const postRevokeSessions: (postRevokeSessionsBody: PostRevokeSessionsBody, options?: SecondParameter$j<typeof openfortApiClient<PostRevokeSessions200>>) => Promise<PostRevokeSessions200>;
8681
+ declare const postRevokeSessions: (postRevokeSessionsBody: PostRevokeSessionsBody, options?: SecondParameter$l<typeof openfortApiClient<PostRevokeSessions200>>) => Promise<PostRevokeSessions200>;
8499
8682
  /**
8500
8683
  * Revoke all other sessions for the user except the current one
8501
8684
  * @summary Revoke other sessions.
8502
8685
  */
8503
- declare const postRevokeOtherSessions: (postRevokeOtherSessionsBody: PostRevokeOtherSessionsBody, options?: SecondParameter$j<typeof openfortApiClient<PostRevokeOtherSessions200>>) => Promise<PostRevokeOtherSessions200>;
8686
+ declare const postRevokeOtherSessions: (postRevokeOtherSessionsBody: PostRevokeOtherSessionsBody, options?: SecondParameter$l<typeof openfortApiClient<PostRevokeOtherSessions200>>) => Promise<PostRevokeOtherSessions200>;
8504
8687
  /**
8505
8688
  * Link a social account to the user
8506
8689
  * @summary Link social account.
8507
8690
  */
8508
- declare const postLinkSocial: (postLinkSocialBody: PostLinkSocialBody, options?: SecondParameter$j<typeof openfortApiClient<PostLinkSocial200>>) => Promise<PostLinkSocial200>;
8691
+ declare const postLinkSocial: (postLinkSocialBody: PostLinkSocialBody, options?: SecondParameter$l<typeof openfortApiClient<PostLinkSocial200>>) => Promise<PostLinkSocial200>;
8509
8692
  /**
8510
8693
  * List all accounts linked to the user
8511
8694
  * @summary List lined accounts.
8512
8695
  */
8513
- declare const getListAccounts: (options?: SecondParameter$j<typeof openfortApiClient<GetListAccounts200Item[]>>) => Promise<GetListAccounts200Item[]>;
8696
+ declare const getListAccounts: (options?: SecondParameter$l<typeof openfortApiClient<GetListAccounts200Item[]>>) => Promise<GetListAccounts200Item[]>;
8514
8697
  /**
8515
8698
  * Unlink an account
8516
8699
  * @summary Unlink account.
8517
8700
  */
8518
- declare const postUnlinkAccount: (postUnlinkAccountBody: PostUnlinkAccountBody, options?: SecondParameter$j<typeof openfortApiClient<UnlinkAccountResponse>>) => Promise<UnlinkAccountResponse>;
8701
+ declare const postUnlinkAccount: (postUnlinkAccountBody: PostUnlinkAccountBody, options?: SecondParameter$l<typeof openfortApiClient<UnlinkAccountResponse>>) => Promise<UnlinkAccountResponse>;
8519
8702
  /**
8520
8703
  * Refresh the access token using a refresh token
8521
8704
  * @summary Refresh access token.
8522
8705
  */
8523
- declare const postRefreshToken: (postRefreshTokenBody: PostRefreshTokenBody, options?: SecondParameter$j<typeof openfortApiClient<PostRefreshToken200>>) => Promise<PostRefreshToken200>;
8706
+ declare const postRefreshToken: (postRefreshTokenBody: PostRefreshTokenBody, options?: SecondParameter$l<typeof openfortApiClient<PostRefreshToken200>>) => Promise<PostRefreshToken200>;
8524
8707
  /**
8525
8708
  * Get a valid access token, doing a refresh if needed
8526
8709
  * @summary Get access token.
8527
8710
  */
8528
- declare const postGetAccessToken: (postGetAccessTokenBody: PostGetAccessTokenBody, options?: SecondParameter$j<typeof openfortApiClient<PostGetAccessToken200>>) => Promise<PostGetAccessToken200>;
8711
+ declare const postGetAccessToken: (postGetAccessTokenBody: PostGetAccessTokenBody, options?: SecondParameter$l<typeof openfortApiClient<PostGetAccessToken200>>) => Promise<PostGetAccessToken200>;
8529
8712
  /**
8530
8713
  * Get the account info provided by the provider
8531
8714
  * @summary Get account info.
8532
8715
  */
8533
- declare const postAccountInfo: (postAccountInfoBody: PostAccountInfoBody, options?: SecondParameter$j<typeof openfortApiClient<PostAccountInfo200>>) => Promise<PostAccountInfo200>;
8716
+ declare const postAccountInfo: (postAccountInfoBody: PostAccountInfoBody, options?: SecondParameter$l<typeof openfortApiClient<PostAccountInfo200>>) => Promise<PostAccountInfo200>;
8534
8717
  /**
8535
8718
  * Sign in anonymously
8536
8719
  * @summary Anonymous sign in.
8537
8720
  */
8538
- declare const postSignInAnonymous: (options?: SecondParameter$j<typeof openfortApiClient<PostSignInAnonymous200>>) => Promise<PostSignInAnonymous200>;
8721
+ declare const postSignInAnonymous: (options?: SecondParameter$l<typeof openfortApiClient<PostSignInAnonymous200>>) => Promise<PostSignInAnonymous200>;
8539
8722
  /**
8540
8723
  * Use this endpoint to sign in with phone number
8541
8724
  * @summary Sign in with phone.
8542
8725
  */
8543
- declare const postSignInPhoneNumber: (postSignInPhoneNumberBody: PostSignInPhoneNumberBody, options?: SecondParameter$j<typeof openfortApiClient<PostSignInPhoneNumber200>>) => Promise<PostSignInPhoneNumber200>;
8726
+ declare const postSignInPhoneNumber: (postSignInPhoneNumberBody: PostSignInPhoneNumberBody, options?: SecondParameter$l<typeof openfortApiClient<PostSignInPhoneNumber200>>) => Promise<PostSignInPhoneNumber200>;
8544
8727
  /**
8545
8728
  * Use this endpoint to send OTP to phone number
8546
8729
  * @summary Send OTP to phone number.
8547
8730
  */
8548
- declare const postPhoneNumberSendOtp: (postPhoneNumberSendOtpBody: PostPhoneNumberSendOtpBody, options?: SecondParameter$j<typeof openfortApiClient<PostPhoneNumberSendOtp200>>) => Promise<PostPhoneNumberSendOtp200>;
8731
+ declare const postPhoneNumberSendOtp: (postPhoneNumberSendOtpBody: PostPhoneNumberSendOtpBody, options?: SecondParameter$l<typeof openfortApiClient<PostPhoneNumberSendOtp200>>) => Promise<PostPhoneNumberSendOtp200>;
8549
8732
  /**
8550
8733
  * Use this endpoint to verify phone number
8551
8734
  * @summary Verify phone OTP.
8552
8735
  */
8553
- declare const postPhoneNumberVerify: (postPhoneNumberVerifyBody: PostPhoneNumberVerifyBody, options?: SecondParameter$j<typeof openfortApiClient<PostPhoneNumberVerify200>>) => Promise<PostPhoneNumberVerify200>;
8736
+ declare const postPhoneNumberVerify: (postPhoneNumberVerifyBody: PostPhoneNumberVerifyBody, options?: SecondParameter$l<typeof openfortApiClient<PostPhoneNumberVerify200>>) => Promise<PostPhoneNumberVerify200>;
8554
8737
  /**
8555
8738
  * Request OTP for password reset via phone number
8556
8739
  * @summary Reset password reset with phone(forget password flow).
8557
8740
  */
8558
- declare const postPhoneNumberForgetPassword: (postPhoneNumberForgetPasswordBody: PostPhoneNumberForgetPasswordBody, options?: SecondParameter$j<typeof openfortApiClient<PostPhoneNumberForgetPassword200>>) => Promise<PostPhoneNumberForgetPassword200>;
8741
+ declare const postPhoneNumberForgetPassword: (postPhoneNumberForgetPasswordBody: PostPhoneNumberForgetPasswordBody, options?: SecondParameter$l<typeof openfortApiClient<PostPhoneNumberForgetPassword200>>) => Promise<PostPhoneNumberForgetPassword200>;
8559
8742
  /**
8560
8743
  * Request OTP for password reset via phone number
8561
8744
  * @summary Request password reset with phone.
8562
8745
  */
8563
- declare const postPhoneNumberRequestPasswordReset: (postPhoneNumberRequestPasswordResetBody: PostPhoneNumberRequestPasswordResetBody, options?: SecondParameter$j<typeof openfortApiClient<PostPhoneNumberRequestPasswordReset200>>) => Promise<PostPhoneNumberRequestPasswordReset200>;
8746
+ declare const postPhoneNumberRequestPasswordReset: (postPhoneNumberRequestPasswordResetBody: PostPhoneNumberRequestPasswordResetBody, options?: SecondParameter$l<typeof openfortApiClient<PostPhoneNumberRequestPasswordReset200>>) => Promise<PostPhoneNumberRequestPasswordReset200>;
8564
8747
  /**
8565
8748
  * Reset password using phone number OTP
8566
8749
  * @summary Reset password with phone OTP.
8567
8750
  */
8568
- declare const postPhoneNumberResetPassword: (postPhoneNumberResetPasswordBody: PostPhoneNumberResetPasswordBody, options?: SecondParameter$j<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
8751
+ declare const postPhoneNumberResetPassword: (postPhoneNumberResetPasswordBody: PostPhoneNumberResetPasswordBody, options?: SecondParameter$l<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
8569
8752
  /**
8570
8753
  * Send verification OTP
8571
8754
  * @summary Request email verification with OTP.
8572
8755
  */
8573
- declare const postEmailOtpSendVerificationOtp: (postEmailOtpSendVerificationOtpBody: PostEmailOtpSendVerificationOtpBody, options?: SecondParameter$j<typeof openfortApiClient<PostEmailOtpSendVerificationOtp200>>) => Promise<PostEmailOtpSendVerificationOtp200>;
8756
+ declare const postEmailOtpSendVerificationOtp: (postEmailOtpSendVerificationOtpBody: PostEmailOtpSendVerificationOtpBody, options?: SecondParameter$l<typeof openfortApiClient<PostEmailOtpSendVerificationOtp200>>) => Promise<PostEmailOtpSendVerificationOtp200>;
8574
8757
  /**
8575
8758
  * Check if a verification OTP is valid
8576
8759
  * @summary Check email OTP.
8577
8760
  */
8578
- declare const checkVerificationOtp: (checkVerificationOtpBody: CheckVerificationOtpBody, options?: SecondParameter$j<typeof openfortApiClient<CheckVerificationOtp200>>) => Promise<CheckVerificationOtp200>;
8761
+ declare const checkVerificationOtp: (checkVerificationOtpBody: CheckVerificationOtpBody, options?: SecondParameter$l<typeof openfortApiClient<CheckVerificationOtp200>>) => Promise<CheckVerificationOtp200>;
8579
8762
  /**
8580
8763
  * Verify email with OTP
8581
8764
  * @summary Verify email with OTP.
8582
8765
  */
8583
- declare const postEmailOtpVerifyEmail: (postEmailOtpVerifyEmailBody: PostEmailOtpVerifyEmailBody, options?: SecondParameter$j<typeof openfortApiClient<PostEmailOtpVerifyEmail200>>) => Promise<PostEmailOtpVerifyEmail200>;
8766
+ declare const postEmailOtpVerifyEmail: (postEmailOtpVerifyEmailBody: PostEmailOtpVerifyEmailBody, options?: SecondParameter$l<typeof openfortApiClient<PostEmailOtpVerifyEmail200>>) => Promise<PostEmailOtpVerifyEmail200>;
8584
8767
  /**
8585
8768
  * Sign in with OTP
8586
8769
  * @summary Sign in with email OTP.
8587
8770
  */
8588
- declare const postSignInEmailOtp: (postSignInEmailOtpBody: PostSignInEmailOtpBody, options?: SecondParameter$j<typeof openfortApiClient<PostSignInEmailOtp200>>) => Promise<PostSignInEmailOtp200>;
8771
+ declare const postSignInEmailOtp: (postSignInEmailOtpBody: PostSignInEmailOtpBody, options?: SecondParameter$l<typeof openfortApiClient<PostSignInEmailOtp200>>) => Promise<PostSignInEmailOtp200>;
8589
8772
  /**
8590
8773
  * Send a password reset OTP to the user
8591
8774
  * @summary Request password reset with email OTP.
8592
8775
  */
8593
- declare const postForgetPasswordEmailOtp: (postForgetPasswordEmailOtpBody: PostForgetPasswordEmailOtpBody, options?: SecondParameter$j<typeof openfortApiClient<PostForgetPasswordEmailOtp200>>) => Promise<PostForgetPasswordEmailOtp200>;
8776
+ declare const postForgetPasswordEmailOtp: (postForgetPasswordEmailOtpBody: PostForgetPasswordEmailOtpBody, options?: SecondParameter$l<typeof openfortApiClient<PostForgetPasswordEmailOtp200>>) => Promise<PostForgetPasswordEmailOtp200>;
8594
8777
  /**
8595
8778
  * Reset user password with OTP
8596
8779
  * @summary Reset password with email OTP.
8597
8780
  */
8598
- declare const postEmailOtpResetPassword: (postEmailOtpResetPasswordBody: PostEmailOtpResetPasswordBody, options?: SecondParameter$j<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
8781
+ declare const postEmailOtpResetPassword: (postEmailOtpResetPasswordBody: PostEmailOtpResetPasswordBody, options?: SecondParameter$l<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
8599
8782
  /**
8600
8783
  * Generate a nonce for Sign-In With Ethereum (SIWE) authentication
8601
8784
  * @summary Initialize SIWE login.
8602
8785
  */
8603
- declare const postSiweNonce: (postSiweNonceBody: PostSiweNonceBody, options?: SecondParameter$j<typeof openfortApiClient<PostSiweNonce200>>) => Promise<PostSiweNonce200>;
8786
+ declare const postSiweNonce: (postSiweNonceBody: PostSiweNonceBody, options?: SecondParameter$l<typeof openfortApiClient<PostSiweNonce200>>) => Promise<PostSiweNonce200>;
8604
8787
  /**
8605
8788
  * Verify a signed SIWE message and authenticate the user
8606
8789
  * @summary Login with SIWE.
8607
8790
  */
8608
- declare const postSiweVerify: (postSiweVerifyBody: PostSiweVerifyBody, options?: SecondParameter$j<typeof openfortApiClient<PostSiweVerify200>>) => Promise<PostSiweVerify200>;
8791
+ declare const postSiweVerify: (postSiweVerifyBody: PostSiweVerifyBody, options?: SecondParameter$l<typeof openfortApiClient<PostSiweVerify200>>) => Promise<PostSiweVerify200>;
8609
8792
  /**
8610
8793
  * Generates a cryptographically secure nonce for creating a SIWE message to link a wallet to the current authenticated user. Requires active session.
8611
8794
  * @summary Initialize SIWE link.
8612
8795
  */
8613
- declare const postLinkSiweNonce: (postLinkSiweNonceBody: PostLinkSiweNonceBody, options?: SecondParameter$j<typeof openfortApiClient<PostLinkSiweNonce200>>) => Promise<PostLinkSiweNonce200>;
8796
+ declare const postLinkSiweNonce: (postLinkSiweNonceBody: PostLinkSiweNonceBody, options?: SecondParameter$l<typeof openfortApiClient<PostLinkSiweNonce200>>) => Promise<PostLinkSiweNonce200>;
8614
8797
  /**
8615
8798
  * Verifies the SIWE signature and links the wallet to the currently authenticated user. Requires active session.
8616
8799
  * @summary Verify and link SIWE wallet.
8617
8800
  */
8618
- declare const postLinkSiweVerify: (postLinkSiweVerifyBody: PostLinkSiweVerifyBody, options?: SecondParameter$j<typeof openfortApiClient<PostLinkSiweVerify200>>) => Promise<PostLinkSiweVerify200>;
8801
+ declare const postLinkSiweVerify: (postLinkSiweVerifyBody: PostLinkSiweVerifyBody, options?: SecondParameter$l<typeof openfortApiClient<PostLinkSiweVerify200>>) => Promise<PostLinkSiweVerify200>;
8619
8802
  /**
8620
8803
  * Get all SIWE wallets linked to the authenticated user with full wallet metadata including primary status and chain information. Requires active session.
8621
8804
  * @summary List linked wallets.
8622
8805
  */
8623
- declare const getLinkSiweListWallets: (options?: SecondParameter$j<typeof openfortApiClient<GetLinkSiweListWallets200Item[]>>) => Promise<GetLinkSiweListWallets200Item[]>;
8806
+ declare const getLinkSiweListWallets: (options?: SecondParameter$l<typeof openfortApiClient<GetLinkSiweListWallets200Item[]>>) => Promise<GetLinkSiweListWallets200Item[]>;
8624
8807
  /**
8625
8808
  * Remove a linked wallet from the authenticated user account. If the wallet being unlinked is the primary wallet, another wallet will be automatically promoted to primary. Requires active session.
8626
8809
  * @summary Unlink SIWE wallet.
8627
8810
  */
8628
- declare const postLinkSiweUnlink: (postLinkSiweUnlinkBody: PostLinkSiweUnlinkBody, options?: SecondParameter$j<typeof openfortApiClient<PostLinkSiweUnlink200>>) => Promise<PostLinkSiweUnlink200>;
8811
+ declare const postLinkSiweUnlink: (postLinkSiweUnlinkBody: PostLinkSiweUnlinkBody, options?: SecondParameter$l<typeof openfortApiClient<PostLinkSiweUnlink200>>) => Promise<PostLinkSiweUnlink200>;
8629
8812
  type SocialSignInResult = NonNullable<Awaited<ReturnType<typeof socialSignIn>>>;
8630
8813
  type GetGetSessionResult = NonNullable<Awaited<ReturnType<typeof getGetSession>>>;
8631
8814
  type PostSignOutResult = NonNullable<Awaited<ReturnType<typeof postSignOut>>>;
@@ -8758,119 +8941,119 @@ declare namespace authV2 {
8758
8941
  }
8759
8942
 
8760
8943
  /**
8761
- * Generated by orval v8.2.0 🍺
8944
+ * Generated by orval v8.4.2 🍺
8762
8945
  * Do not edit manually.
8763
8946
  * Openfort API
8764
8947
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
8765
8948
  * OpenAPI spec version: 1.0.0
8766
8949
  */
8767
8950
 
8768
- type SecondParameter$i<T extends (...args: never) => unknown> = Parameters<T>[1];
8951
+ type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1];
8769
8952
  /**
8770
8953
  * Get or create a new session for the player based on the refresh token.
8771
8954
  * @summary Refresh or create auth session.
8772
8955
  */
8773
- declare const refresh: (refreshTokenRequest: RefreshTokenRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
8956
+ declare const refresh: (refreshTokenRequest: RefreshTokenRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
8774
8957
  /**
8775
8958
  * When using Openfort Auth, the endpoint logs out the player.
8776
8959
  * @summary Log out a player.
8777
8960
  */
8778
- declare const logout: (logoutRequest: LogoutRequest, options?: SecondParameter$i<typeof openfortApiClient<void>>) => Promise<void>;
8961
+ declare const logout: (logoutRequest: LogoutRequest, options?: SecondParameter$k<typeof openfortApiClient<void>>) => Promise<void>;
8779
8962
  /**
8780
8963
  * Create a challenge to link external wallet to the player.
8781
8964
  * @summary Initialize SIWE.
8782
8965
  */
8783
- declare const initSIWE: (sIWERequest: SIWERequest, options?: SecondParameter$i<typeof openfortApiClient<SIWEInitResponse>>) => Promise<SIWEInitResponse>;
8966
+ declare const initSIWE: (sIWERequest: SIWERequest, options?: SecondParameter$k<typeof openfortApiClient<SIWEInitResponse>>) => Promise<SIWEInitResponse>;
8784
8967
  /**
8785
8968
  * @summary Authenticate player with SIWE
8786
8969
  */
8787
- declare const authenticateSIWE: (sIWEAuthenticateRequest: SIWEAuthenticateRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthResponse | void>>) => Promise<void | AuthResponse>;
8970
+ declare const authenticateSIWE: (sIWEAuthenticateRequest: SIWEAuthenticateRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthResponse | void>>) => Promise<void | AuthResponse>;
8788
8971
  /**
8789
8972
  * @summary Unlink external wallet.
8790
8973
  */
8791
- declare const unlinkSIWE: (sIWERequest: SIWERequest, options?: SecondParameter$i<typeof openfortApiClient<AuthPlayerResponse | void>>) => Promise<void | AuthPlayerResponse>;
8974
+ declare const unlinkSIWE: (sIWERequest: SIWERequest, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponse | void>>) => Promise<void | AuthPlayerResponse>;
8792
8975
  /**
8793
8976
  * @summary Link external wallet.
8794
8977
  */
8795
- declare const linkSIWE: (sIWEAuthenticateRequest: SIWEAuthenticateRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthPlayerResponse | void>>) => Promise<void | AuthPlayerResponse>;
8978
+ declare const linkSIWE: (sIWEAuthenticateRequest: SIWEAuthenticateRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponse | void>>) => Promise<void | AuthPlayerResponse>;
8796
8979
  /**
8797
8980
  * Create and authenticate a player based on email and password.
8798
8981
  * @summary Email and password signup.
8799
8982
  */
8800
- declare const signupEmailPassword: (signupRequest: SignupRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthResponse | ActionRequiredResponse>>) => Promise<AuthResponse | ActionRequiredResponse>;
8983
+ declare const signupEmailPassword: (signupRequest: SignupRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthResponse | ActionRequiredResponse>>) => Promise<AuthResponse | ActionRequiredResponse>;
8801
8984
  /**
8802
8985
  * Authenticate a player based on email and password.
8803
8986
  * @summary Email and password login.
8804
8987
  */
8805
- declare const loginEmailPassword: (loginRequest: LoginRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthResponse | ActionRequiredResponse>>) => Promise<AuthResponse | ActionRequiredResponse>;
8988
+ declare const loginEmailPassword: (loginRequest: LoginRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthResponse | ActionRequiredResponse>>) => Promise<AuthResponse | ActionRequiredResponse>;
8806
8989
  /**
8807
8990
  * Start the Email Verification process for a player.
8808
8991
  * @summary Request an Email Verification.
8809
8992
  */
8810
- declare const requestEmailVerification: (requestVerifyEmailRequest: RequestVerifyEmailRequest, options?: SecondParameter$i<typeof openfortApiClient<void>>) => Promise<void>;
8993
+ declare const requestEmailVerification: (requestVerifyEmailRequest: RequestVerifyEmailRequest, options?: SecondParameter$k<typeof openfortApiClient<void>>) => Promise<void>;
8811
8994
  /**
8812
8995
  * Verify a player's email address.
8813
8996
  * @summary Verify an email.
8814
8997
  */
8815
- declare const verifyEmail: (verifyEmailRequest: VerifyEmailRequest, options?: SecondParameter$i<typeof openfortApiClient<void>>) => Promise<void>;
8998
+ declare const verifyEmail: (verifyEmailRequest: VerifyEmailRequest, options?: SecondParameter$k<typeof openfortApiClient<void>>) => Promise<void>;
8816
8999
  /**
8817
9000
  * Start the Reset process for a player's password.
8818
9001
  * @summary Request a Reset password.
8819
9002
  */
8820
- declare const requestResetPassword: (requestResetPasswordRequest: RequestResetPasswordRequest, options?: SecondParameter$i<typeof openfortApiClient<void>>) => Promise<void>;
9003
+ declare const requestResetPassword: (requestResetPasswordRequest: RequestResetPasswordRequest, options?: SecondParameter$k<typeof openfortApiClient<void>>) => Promise<void>;
8821
9004
  /**
8822
9005
  * Reset a player's password.
8823
9006
  * @summary Reset a password.
8824
9007
  */
8825
- declare const resetPassword: (resetPasswordRequest: ResetPasswordRequest, options?: SecondParameter$i<typeof openfortApiClient<void>>) => Promise<void>;
8826
- declare const linkEmail: (loginRequest: LoginRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthPlayerResponse | ActionRequiredResponse>>) => Promise<AuthPlayerResponse | ActionRequiredResponse>;
8827
- declare const unlinkEmail: (unlinkEmailRequest: UnlinkEmailRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
9008
+ declare const resetPassword: (resetPasswordRequest: ResetPasswordRequest, options?: SecondParameter$k<typeof openfortApiClient<void>>) => Promise<void>;
9009
+ declare const linkEmail: (loginRequest: LoginRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponse | ActionRequiredResponse>>) => Promise<AuthPlayerResponse | ActionRequiredResponse>;
9010
+ declare const unlinkEmail: (unlinkEmailRequest: UnlinkEmailRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
8828
9011
  /**
8829
9012
  * Authenticate a player from an identity token.
8830
9013
  * @summary OIDC Identity token.
8831
9014
  */
8832
- declare const loginOIDC: (loginOIDCRequest: LoginOIDCRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
9015
+ declare const loginOIDC: (loginOIDCRequest: LoginOIDCRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
8833
9016
  /**
8834
9017
  * @summary Initialize OAuth.
8835
9018
  */
8836
- declare const initOAuth: (oAuthInitRequest: OAuthInitRequest, options?: SecondParameter$i<typeof openfortApiClient<OAuthResponse>>) => Promise<OAuthResponse>;
9019
+ declare const initOAuth: (oAuthInitRequest: OAuthInitRequest, options?: SecondParameter$k<typeof openfortApiClient<OAuthResponse>>) => Promise<OAuthResponse>;
8837
9020
  /**
8838
9021
  * @summary Initialize Link OAuth.
8839
9022
  */
8840
- declare const linkOAuth: (oAuthInitRequest: OAuthInitRequest, options?: SecondParameter$i<typeof openfortApiClient<OAuthResponse>>) => Promise<OAuthResponse>;
9023
+ declare const linkOAuth: (oAuthInitRequest: OAuthInitRequest, options?: SecondParameter$k<typeof openfortApiClient<OAuthResponse>>) => Promise<OAuthResponse>;
8841
9024
  /**
8842
9025
  * @summary Initialize Link OAuth.
8843
9026
  */
8844
- declare const linkThirdParty: (thirdPartyLinkRequest: ThirdPartyLinkRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
9027
+ declare const linkThirdParty: (thirdPartyLinkRequest: ThirdPartyLinkRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
8845
9028
  /**
8846
9029
  * @summary Initialize OAuth.
8847
9030
  */
8848
- declare const poolOAuth: (params: PoolOAuthParams, options?: SecondParameter$i<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
9031
+ declare const poolOAuth: (params: PoolOAuthParams, options?: SecondParameter$k<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
8849
9032
  /**
8850
9033
  * @summary Authenticate player with oauth token.
8851
9034
  */
8852
- declare const loginWithIdToken: (loginWithIdTokenRequest: LoginWithIdTokenRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
9035
+ declare const loginWithIdToken: (loginWithIdTokenRequest: LoginWithIdTokenRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
8853
9036
  /**
8854
9037
  * @summary Verify oauth token of a third party auth provider.
8855
9038
  */
8856
- declare const thirdParty: (thirdPartyOAuthRequest: ThirdPartyOAuthRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
9039
+ declare const thirdParty: (thirdPartyOAuthRequest: ThirdPartyOAuthRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
8857
9040
  /**
8858
9041
  * @summary Unlink OAuth account
8859
9042
  */
8860
- declare const unlinkOAuth: (unlinkOAuthRequest: UnlinkOAuthRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
9043
+ declare const unlinkOAuth: (unlinkOAuthRequest: UnlinkOAuthRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
8861
9044
  /**
8862
9045
  * Create a guest player.
8863
9046
  * @summary Create a guest player.
8864
9047
  */
8865
- declare const registerGuest: (options?: SecondParameter$i<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
9048
+ declare const registerGuest: (options?: SecondParameter$k<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
8866
9049
  /**
8867
9050
  * Get the jwks.json file.
8868
9051
 
8869
9052
  You can use the jwks.json file to verify the signature of a JWT token issued by Openfort Auth.
8870
9053
  * @summary Get the jwks.json file.
8871
9054
  */
8872
- declare const getJwks: (publishableKey: string, options?: SecondParameter$i<typeof openfortApiClient<JwtKeyResponse>>) => Promise<JwtKeyResponse>;
8873
- declare const me: (options?: SecondParameter$i<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
9055
+ declare const getJwks: (publishableKey: string, options?: SecondParameter$k<typeof openfortApiClient<JwtKeyResponse>>) => Promise<JwtKeyResponse>;
9056
+ declare const me: (options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
8874
9057
  type RefreshResult = NonNullable<Awaited<ReturnType<typeof refresh>>>;
8875
9058
  type LogoutResult = NonNullable<Awaited<ReturnType<typeof logout>>>;
8876
9059
  type InitSIWEResult = NonNullable<Awaited<ReturnType<typeof initSIWE>>>;
@@ -8898,21 +9081,21 @@ type GetJwksResult = NonNullable<Awaited<ReturnType<typeof getJwks>>>;
8898
9081
  type MeResult = NonNullable<Awaited<ReturnType<typeof me>>>;
8899
9082
 
8900
9083
  /**
8901
- * Generated by orval v8.2.0 🍺
9084
+ * Generated by orval v8.4.2 🍺
8902
9085
  * Do not edit manually.
8903
9086
  * Openfort API
8904
9087
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
8905
9088
  * OpenAPI spec version: 1.0.0
8906
9089
  */
8907
9090
 
8908
- type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1];
9091
+ type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1];
8909
9092
  /**
8910
9093
  * List backend wallets.
8911
9094
 
8912
9095
  Returns a paginated list of backend wallets for the project.
8913
9096
  * @summary List backend wallets.
8914
9097
  */
8915
- declare const listBackendWallets: (params?: ListBackendWalletsParams, options?: SecondParameter$h<typeof openfortApiClient<BackendWalletListResponse>>) => Promise<BackendWalletListResponse>;
9098
+ declare const listBackendWallets: (params?: ListBackendWalletsParams, options?: SecondParameter$j<typeof openfortApiClient<BackendWalletListResponse>>) => Promise<BackendWalletListResponse>;
8916
9099
  /**
8917
9100
  * Create a new backend wallet account.
8918
9101
 
@@ -8920,21 +9103,21 @@ Generates a new keypair securely in the backend wallet system.
8920
9103
  The private key is stored encrypted and never exposed.
8921
9104
  * @summary Create backend wallet.
8922
9105
  */
8923
- declare const createBackendWallet: (createBackendWalletRequest: CreateBackendWalletRequest, options?: SecondParameter$h<typeof openfortApiClient<CreateBackendWalletResponse>>) => Promise<CreateBackendWalletResponse>;
9106
+ declare const createBackendWallet: (createBackendWalletRequest: CreateBackendWalletRequest, options?: SecondParameter$j<typeof openfortApiClient<CreateBackendWalletResponse>>) => Promise<CreateBackendWalletResponse>;
8924
9107
  /**
8925
9108
  * Get backend wallet details.
8926
9109
 
8927
9110
  Returns details for a specific backend wallet.
8928
9111
  * @summary Get backend wallet.
8929
9112
  */
8930
- declare const getBackendWallet: (id: string, options?: SecondParameter$h<typeof openfortApiClient<BackendWalletResponse>>) => Promise<BackendWalletResponse>;
9113
+ declare const getBackendWallet: (id: string, options?: SecondParameter$j<typeof openfortApiClient<BackendWalletResponse>>) => Promise<BackendWalletResponse>;
8931
9114
  /**
8932
9115
  * Delete a backend wallet.
8933
9116
 
8934
9117
  Permanently deletes a backend wallet and its associated private key.
8935
9118
  * @summary Delete backend wallet.
8936
9119
  */
8937
- declare const deleteBackendWallet: (id: string, options?: SecondParameter$h<typeof openfortApiClient<DeleteBackendWalletResponse>>) => Promise<DeleteBackendWalletResponse>;
9120
+ declare const deleteBackendWallet: (id: string, options?: SecondParameter$j<typeof openfortApiClient<DeleteBackendWalletResponse>>) => Promise<DeleteBackendWalletResponse>;
8938
9121
  /**
8939
9122
  * Sign data via backend wallet.
8940
9123
 
@@ -8942,7 +9125,7 @@ Signs the provided data using the account's private key managed by the backend w
8942
9125
  The private key is securely stored and never exposed.
8943
9126
  * @summary Sign data via backend wallet.
8944
9127
  */
8945
- declare const sign: (id: string, signRequest: SignRequest, options?: SecondParameter$h<typeof openfortApiClient<SignResponse>>) => Promise<SignResponse>;
9128
+ declare const sign: (id: string, signRequest: SignRequest, options?: SecondParameter$j<typeof openfortApiClient<SignResponse>>) => Promise<SignResponse>;
8946
9129
  /**
8947
9130
  * Export private key with E2E encryption via backend wallet.
8948
9131
 
@@ -8951,7 +9134,7 @@ The client must provide their ephemeral RSA-4096 public key (base64 SPKI DER for
8951
9134
  The response contains the encrypted private key that can be decrypted with the client's private key.
8952
9135
  * @summary Export private key (E2E encrypted).
8953
9136
  */
8954
- declare const exportPrivateKey: (id: string, exportPrivateKeyRequest: ExportPrivateKeyRequest, options?: SecondParameter$h<typeof openfortApiClient<ExportPrivateKeyResponse>>) => Promise<ExportPrivateKeyResponse>;
9137
+ declare const exportPrivateKey: (id: string, exportPrivateKeyRequest: ExportPrivateKeyRequest, options?: SecondParameter$j<typeof openfortApiClient<ExportPrivateKeyResponse>>) => Promise<ExportPrivateKeyResponse>;
8955
9138
  /**
8956
9139
  * Import private key with E2E encryption via backend wallet.
8957
9140
 
@@ -8960,7 +9143,7 @@ The private key must be encrypted using RSA-4096 OAEP SHA-256 with the server's
8960
9143
  static import public key (obtain out-of-band from SDK or documentation).
8961
9144
  * @summary Import private key (E2E encrypted).
8962
9145
  */
8963
- declare const importPrivateKey: (importPrivateKeyRequest: ImportPrivateKeyRequest, options?: SecondParameter$h<typeof openfortApiClient<ImportPrivateKeyResponse>>) => Promise<ImportPrivateKeyResponse>;
9146
+ declare const importPrivateKey: (importPrivateKeyRequest: ImportPrivateKeyRequest, options?: SecondParameter$j<typeof openfortApiClient<ImportPrivateKeyResponse>>) => Promise<ImportPrivateKeyResponse>;
8964
9147
  /**
8965
9148
  * Register a new wallet secret (authentication key).
8966
9149
 
@@ -8976,7 +9159,7 @@ Note: Only ONE active secret is allowed per project. This call fails if an
8976
9159
  active secret already exists; use rotateWalletSecret to replace an existing secret.
8977
9160
  * @summary Register wallet secret.
8978
9161
  */
8979
- declare const registerWalletSecret: (registerWalletSecretRequest: RegisterWalletSecretRequest, options?: SecondParameter$h<typeof openfortApiClient<RegisterWalletSecretResponse>>) => Promise<RegisterWalletSecretResponse>;
9162
+ declare const registerWalletSecret: (registerWalletSecretRequest: RegisterWalletSecretRequest, options?: SecondParameter$j<typeof openfortApiClient<RegisterWalletSecretResponse>>) => Promise<RegisterWalletSecretResponse>;
8980
9163
  /**
8981
9164
  * Revoke a wallet secret (authentication key).
8982
9165
 
@@ -8984,7 +9167,7 @@ Permanently revokes a wallet secret so it can no longer be used
8984
9167
  for X-Wallet-Auth JWT signing.
8985
9168
  * @summary Revoke wallet secret.
8986
9169
  */
8987
- declare const revokeWalletSecret: (revokeWalletSecretRequest: RevokeWalletSecretRequest, options?: SecondParameter$h<typeof openfortApiClient<RevokeWalletSecretResponse>>) => Promise<RevokeWalletSecretResponse>;
9170
+ declare const revokeWalletSecret: (revokeWalletSecretRequest: RevokeWalletSecretRequest, options?: SecondParameter$j<typeof openfortApiClient<RevokeWalletSecretResponse>>) => Promise<RevokeWalletSecretResponse>;
8988
9171
  /**
8989
9172
  * Rotate wallet secret (authentication key).
8990
9173
 
@@ -8997,7 +9180,7 @@ JWT signed by the private key corresponding to the NEW publicKey being registere
8997
9180
  This proves possession of the new private key without transmitting it.
8998
9181
  * @summary Rotate wallet secret.
8999
9182
  */
9000
- declare const rotateWalletSecret: (rotateWalletSecretRequest: RotateWalletSecretRequest, options?: SecondParameter$h<typeof openfortApiClient<RotateWalletSecretResponse>>) => Promise<RotateWalletSecretResponse>;
9183
+ declare const rotateWalletSecret: (rotateWalletSecretRequest: RotateWalletSecretRequest, options?: SecondParameter$j<typeof openfortApiClient<RotateWalletSecretResponse>>) => Promise<RotateWalletSecretResponse>;
9001
9184
  type ListBackendWalletsResult = NonNullable<Awaited<ReturnType<typeof listBackendWallets>>>;
9002
9185
  type CreateBackendWalletResult = NonNullable<Awaited<ReturnType<typeof createBackendWallet>>>;
9003
9186
  type GetBackendWalletResult = NonNullable<Awaited<ReturnType<typeof getBackendWallet>>>;
@@ -9010,39 +9193,39 @@ type RevokeWalletSecretResult = NonNullable<Awaited<ReturnType<typeof revokeWall
9010
9193
  type RotateWalletSecretResult = NonNullable<Awaited<ReturnType<typeof rotateWalletSecret>>>;
9011
9194
 
9012
9195
  /**
9013
- * Generated by orval v8.2.0 🍺
9196
+ * Generated by orval v8.4.2 🍺
9014
9197
  * Do not edit manually.
9015
9198
  * Openfort API
9016
9199
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
9017
9200
  * OpenAPI spec version: 1.0.0
9018
9201
  */
9019
9202
 
9020
- type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1];
9203
+ type SecondParameter$i<T extends (...args: never) => unknown> = Parameters<T>[1];
9021
9204
  /**
9022
9205
  * List of all contracts per project.
9023
9206
  By default, a maximum of ten contracts are shown.
9024
9207
  * @summary List contracts.
9025
9208
  */
9026
- declare const getContracts: (params?: GetContractsParams, options?: SecondParameter$g<typeof openfortApiClient<ContractListResponse>>) => Promise<ContractListResponse>;
9209
+ declare const getContracts: (params?: GetContractsParams, options?: SecondParameter$i<typeof openfortApiClient<ContractListResponse>>) => Promise<ContractListResponse>;
9027
9210
  /**
9028
9211
  * Add a new contract to your project in Openfort
9029
9212
  * @summary Create contract object.
9030
9213
  */
9031
- declare const createContract: (createContractRequest: CreateContractRequest, options?: SecondParameter$g<typeof openfortApiClient<ContractResponse>>) => Promise<ContractResponse>;
9214
+ declare const createContract: (createContractRequest: CreateContractRequest, options?: SecondParameter$i<typeof openfortApiClient<ContractResponse>>) => Promise<ContractResponse>;
9032
9215
  /**
9033
9216
  * Retrieve a contract by providing their contract id.
9034
9217
  * @summary Get a contract.
9035
9218
  */
9036
- declare const getContract: (id: string, options?: SecondParameter$g<typeof openfortApiClient<ContractResponse>>) => Promise<ContractResponse>;
9219
+ declare const getContract: (id: string, options?: SecondParameter$i<typeof openfortApiClient<ContractResponse>>) => Promise<ContractResponse>;
9037
9220
  /**
9038
9221
  * @summary Updates a contract object.
9039
9222
  */
9040
- declare const updateContract: (id: string, updateContractRequest: UpdateContractRequest, options?: SecondParameter$g<typeof openfortApiClient<ContractResponse>>) => Promise<ContractResponse>;
9223
+ declare const updateContract: (id: string, updateContractRequest: UpdateContractRequest, options?: SecondParameter$i<typeof openfortApiClient<ContractResponse>>) => Promise<ContractResponse>;
9041
9224
  /**
9042
9225
  * Delete a contract from the project by providing its contract id.
9043
9226
  * @summary Deletes a contract object.
9044
9227
  */
9045
- declare const deleteContract: (id: string, options?: SecondParameter$g<typeof openfortApiClient<ContractDeleteResponse>>) => Promise<ContractDeleteResponse>;
9228
+ declare const deleteContract: (id: string, options?: SecondParameter$i<typeof openfortApiClient<ContractDeleteResponse>>) => Promise<ContractDeleteResponse>;
9046
9229
  /**
9047
9230
  * Using this endpoint, you can get the repositories returned by any readable
9048
9231
  function listed in a contracts ABI. This could be things like querying
@@ -9050,7 +9233,7 @@ the totalSupply of a currency contract, the number of owners of an items
9050
9233
  contract, and more.
9051
9234
  * @summary Read on chain contract repositories.
9052
9235
  */
9053
- declare const readContract: (id: string, params: ReadContractParams, options?: SecondParameter$g<typeof openfortApiClient<ContractReadResponse>>) => Promise<ContractReadResponse>;
9236
+ declare const readContract: (id: string, params: ReadContractParams, options?: SecondParameter$i<typeof openfortApiClient<ContractReadResponse>>) => Promise<ContractReadResponse>;
9054
9237
  type GetContractsResult = NonNullable<Awaited<ReturnType<typeof getContracts>>>;
9055
9238
  type CreateContractResult = NonNullable<Awaited<ReturnType<typeof createContract>>>;
9056
9239
  type GetContractResult = NonNullable<Awaited<ReturnType<typeof getContract>>>;
@@ -9059,57 +9242,127 @@ type DeleteContractResult = NonNullable<Awaited<ReturnType<typeof deleteContract
9059
9242
  type ReadContractResult = NonNullable<Awaited<ReturnType<typeof readContract>>>;
9060
9243
 
9061
9244
  /**
9062
- * Generated by orval v8.2.0 🍺
9245
+ * Generated by orval v8.4.2 🍺
9063
9246
  * Do not edit manually.
9064
9247
  * Openfort API
9065
9248
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
9066
9249
  * OpenAPI spec version: 1.0.0
9067
9250
  */
9068
9251
 
9069
- type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
9252
+ type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1];
9070
9253
  /**
9071
9254
  * Returns a list of events.
9072
9255
 
9073
9256
  By default, a maximum of 10 events are shown per page.
9074
9257
  * @summary List events.
9075
9258
  */
9076
- declare const getEvents: (params?: GetEventsParams, options?: SecondParameter$f<typeof openfortApiClient<EventListResponse>>) => Promise<EventListResponse>;
9259
+ declare const getEvents: (params?: GetEventsParams, options?: SecondParameter$h<typeof openfortApiClient<EventListResponse>>) => Promise<EventListResponse>;
9077
9260
  /**
9078
9261
  * Create a new event.
9079
9262
  * @summary Create a new event.
9080
9263
  */
9081
- declare const createEvent: (createEventRequest: CreateEventRequest, options?: SecondParameter$f<typeof openfortApiClient<EventResponse>>) => Promise<EventResponse>;
9264
+ declare const createEvent: (createEventRequest: CreateEventRequest, options?: SecondParameter$h<typeof openfortApiClient<EventResponse>>) => Promise<EventResponse>;
9082
9265
  /**
9083
9266
  * Get a single event.
9084
9267
  * @summary Get a single event.
9085
9268
  */
9086
- declare const getEvent: (id: string, options?: SecondParameter$f<typeof openfortApiClient<EventResponse>>) => Promise<EventResponse>;
9269
+ declare const getEvent: (id: string, options?: SecondParameter$h<typeof openfortApiClient<EventResponse>>) => Promise<EventResponse>;
9087
9270
  /**
9088
9271
  * Delete an event.
9089
9272
  * @summary Delete an event.
9090
9273
  */
9091
- declare const deleteEvent: (id: string, options?: SecondParameter$f<typeof openfortApiClient<EventDeleteResponse>>) => Promise<EventDeleteResponse>;
9274
+ declare const deleteEvent: (id: string, options?: SecondParameter$h<typeof openfortApiClient<EventDeleteResponse>>) => Promise<EventDeleteResponse>;
9092
9275
  type GetEventsResult = NonNullable<Awaited<ReturnType<typeof getEvents>>>;
9093
9276
  type CreateEventResult = NonNullable<Awaited<ReturnType<typeof createEvent>>>;
9094
9277
  type GetEventResult = NonNullable<Awaited<ReturnType<typeof getEvent>>>;
9095
9278
  type DeleteEventResult = NonNullable<Awaited<ReturnType<typeof deleteEvent>>>;
9096
9279
 
9097
9280
  /**
9098
- * Generated by orval v8.2.0 🍺
9281
+ * Generated by orval v8.4.2 🍺
9099
9282
  * Do not edit manually.
9100
9283
  * Openfort API
9101
9284
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
9102
9285
  * OpenAPI spec version: 1.0.0
9103
9286
  */
9104
9287
 
9105
- type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
9288
+ type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1];
9289
+ /**
9290
+ * Returns a list of fee sponsorship policies.
9291
+
9292
+ Fee sponsorship policies define gas sponsorship rules by linking to a policy
9293
+ with rich criteria (evmAddress, ethValue, evmNetwork, evmData).
9294
+ * @summary List fee sponsorship policies.
9295
+ */
9296
+ declare const listFeeSponsorships: (params?: ListFeeSponsorshipsParams, options?: SecondParameter$g<typeof openfortApiClient<FeeSponsorshipListResponse>>) => Promise<FeeSponsorshipListResponse>;
9297
+ /**
9298
+ * Creates a new fee sponsorship.
9299
+
9300
+ This endpoint requires linking to an existing policy via `policyId`.
9301
+ Create the policy first via `/v2/policies` with your criteria rules.
9302
+
9303
+ **Workflow:**
9304
+ 1. Create a policy via `/v2/policies` with criteria rules
9305
+ 2. Create a fee sponsorship with `policyId` linking to that policy
9306
+
9307
+ **Supported criteria types:**
9308
+ - `evmAddress`: Filter by recipient address (in/not in)
9309
+ - `ethValue`: Filter by ETH amount (<=, >=, <, >)
9310
+ - `evmNetwork`: Filter by chain ID (in/not in)
9311
+ - `evmData`: Filter by function selector or parameters
9312
+ * @summary Create a fee sponsorship.
9313
+ */
9314
+ declare const createFeeSponsorship: (createFeeSponsorshipRequest: CreateFeeSponsorshipRequest, options?: SecondParameter$g<typeof openfortApiClient<FeeSponsorshipResponse>>) => Promise<FeeSponsorshipResponse>;
9315
+ /**
9316
+ * Retrieves the details of a fee sponsorship.
9317
+ * @summary Get a fee sponsorship.
9318
+ */
9319
+ declare const getFeeSponsorship: (feeSponsorshipId: string, options?: SecondParameter$g<typeof openfortApiClient<FeeSponsorshipResponse>>) => Promise<FeeSponsorshipResponse>;
9320
+ /**
9321
+ * Updates a fee sponsorship.
9322
+ * @summary Update a fee sponsorship.
9323
+ */
9324
+ declare const updateFeeSponsorship: (feeSponsorshipId: string, updateFeeSponsorshipRequest: UpdateFeeSponsorshipRequest, options?: SecondParameter$g<typeof openfortApiClient<FeeSponsorshipResponse>>) => Promise<FeeSponsorshipResponse>;
9325
+ /**
9326
+ * Deletes a fee sponsorship.
9327
+
9328
+ This is a soft delete - the fee sponsorship is marked as deleted but not removed from the database.
9329
+ * @summary Delete a fee sponsorship.
9330
+ */
9331
+ declare const deleteFeeSponsorship: (feeSponsorshipId: string, options?: SecondParameter$g<typeof openfortApiClient<FeeSponsorshipDeleteResponse>>) => Promise<FeeSponsorshipDeleteResponse>;
9332
+ /**
9333
+ * Enables a fee sponsorship.
9334
+ * @summary Enable a fee sponsorship.
9335
+ */
9336
+ declare const enableFeeSponsorship: (feeSponsorshipId: string, options?: SecondParameter$g<typeof openfortApiClient<FeeSponsorshipResponse>>) => Promise<FeeSponsorshipResponse>;
9337
+ /**
9338
+ * Disables a fee sponsorship.
9339
+ * @summary Disable a fee sponsorship.
9340
+ */
9341
+ declare const disableFeeSponsorship: (feeSponsorshipId: string, options?: SecondParameter$g<typeof openfortApiClient<FeeSponsorshipResponse>>) => Promise<FeeSponsorshipResponse>;
9342
+ type ListFeeSponsorshipsResult = NonNullable<Awaited<ReturnType<typeof listFeeSponsorships>>>;
9343
+ type CreateFeeSponsorshipResult = NonNullable<Awaited<ReturnType<typeof createFeeSponsorship>>>;
9344
+ type GetFeeSponsorshipResult = NonNullable<Awaited<ReturnType<typeof getFeeSponsorship>>>;
9345
+ type UpdateFeeSponsorshipResult = NonNullable<Awaited<ReturnType<typeof updateFeeSponsorship>>>;
9346
+ type DeleteFeeSponsorshipResult = NonNullable<Awaited<ReturnType<typeof deleteFeeSponsorship>>>;
9347
+ type EnableFeeSponsorshipResult = NonNullable<Awaited<ReturnType<typeof enableFeeSponsorship>>>;
9348
+ type DisableFeeSponsorshipResult = NonNullable<Awaited<ReturnType<typeof disableFeeSponsorship>>>;
9349
+
9350
+ /**
9351
+ * Generated by orval v8.4.2 🍺
9352
+ * Do not edit manually.
9353
+ * Openfort API
9354
+ * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
9355
+ * OpenAPI spec version: 1.0.0
9356
+ */
9357
+
9358
+ type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
9106
9359
  /**
9107
9360
  * Create a new forwarder contract.
9108
9361
 
9109
9362
  This object represents the forwarder contract that will be used to pay the gas fees of the transactions.
9110
9363
  * @summary Create a new forwarder contract.
9111
9364
  */
9112
- declare const createForwarderContract: (createForwarderContractRequest: CreateForwarderContractRequest, options?: SecondParameter$e<typeof openfortApiClient<ForwarderContractResponse>>) => Promise<ForwarderContractResponse>;
9365
+ declare const createForwarderContract: (createForwarderContractRequest: CreateForwarderContractRequest, options?: SecondParameter$f<typeof openfortApiClient<ForwarderContractResponse>>) => Promise<ForwarderContractResponse>;
9113
9366
  /**
9114
9367
  * Returns a list of forwarder contract.
9115
9368
 
@@ -9118,28 +9371,28 @@ This object represents the forwarder contract that will be used to pay the gas f
9118
9371
  By default, a maximum of 10 forwarder contract are shown per page.
9119
9372
  * @summary List forwarder contract.
9120
9373
  */
9121
- declare const listForwarderContracts: (params?: ListForwarderContractsParams, options?: SecondParameter$e<typeof openfortApiClient<ForwarderContractResponse[]>>) => Promise<ForwarderContractResponse[]>;
9374
+ declare const listForwarderContracts: (params?: ListForwarderContractsParams, options?: SecondParameter$f<typeof openfortApiClient<ForwarderContractResponse[]>>) => Promise<ForwarderContractResponse[]>;
9122
9375
  /**
9123
9376
  * Update a forwarder contract.
9124
9377
 
9125
9378
  This object represents the forwarder contract that will be used to pay the gas fees of the transactions.
9126
9379
  * @summary Update a forwarder contract.
9127
9380
  */
9128
- declare const updateForwarderContract: (id: string, createForwarderContractRequest: CreateForwarderContractRequest, options?: SecondParameter$e<typeof openfortApiClient<ForwarderContractResponse>>) => Promise<ForwarderContractResponse>;
9381
+ declare const updateForwarderContract: (id: string, createForwarderContractRequest: CreateForwarderContractRequest, options?: SecondParameter$f<typeof openfortApiClient<ForwarderContractResponse>>) => Promise<ForwarderContractResponse>;
9129
9382
  /**
9130
9383
  * Returns the forwarder contract with the given id.
9131
9384
 
9132
9385
  This object represents the forwarder contract that will be used to pay the gas fees for the transactions.
9133
9386
  * @summary Get forwarder contract by id.
9134
9387
  */
9135
- declare const getForwarderContract: (id: string, options?: SecondParameter$e<typeof openfortApiClient<ForwarderContractResponse>>) => Promise<ForwarderContractResponse>;
9388
+ declare const getForwarderContract: (id: string, options?: SecondParameter$f<typeof openfortApiClient<ForwarderContractResponse>>) => Promise<ForwarderContractResponse>;
9136
9389
  /**
9137
9390
  * Delete the forwarder contract with the given id.
9138
9391
 
9139
9392
  This object represents the forwarder contract that will be used to pay the gas fees for the transactions.
9140
9393
  * @summary Delete forwarder contract by id.
9141
9394
  */
9142
- declare const deleteForwarderContract: (id: string, options?: SecondParameter$e<typeof openfortApiClient<ForwarderContractDeleteResponse>>) => Promise<ForwarderContractDeleteResponse>;
9395
+ declare const deleteForwarderContract: (id: string, options?: SecondParameter$f<typeof openfortApiClient<ForwarderContractDeleteResponse>>) => Promise<ForwarderContractDeleteResponse>;
9143
9396
  type CreateForwarderContractResult = NonNullable<Awaited<ReturnType<typeof createForwarderContract>>>;
9144
9397
  type ListForwarderContractsResult = NonNullable<Awaited<ReturnType<typeof listForwarderContracts>>>;
9145
9398
  type UpdateForwarderContractResult = NonNullable<Awaited<ReturnType<typeof updateForwarderContract>>>;
@@ -9147,7 +9400,86 @@ type GetForwarderContractResult = NonNullable<Awaited<ReturnType<typeof getForwa
9147
9400
  type DeleteForwarderContractResult = NonNullable<Awaited<ReturnType<typeof deleteForwarderContract>>>;
9148
9401
 
9149
9402
  /**
9150
- * Generated by orval v8.2.0 🍺
9403
+ * Generated by orval v8.4.2 🍺
9404
+ * Do not edit manually.
9405
+ * Openfort API
9406
+ * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
9407
+ * OpenAPI spec version: 1.0.0
9408
+ */
9409
+
9410
+ type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
9411
+ /**
9412
+ * Returns a list of gas sponsorship policies.
9413
+
9414
+ Returns the latest 10 transaction intents for each policy.
9415
+ * @summary List gas policies (legacy - use /v2/fee-sponsorship for new integrations).
9416
+ */
9417
+ declare const getGasPoliciesLegacy: (params?: GetGasPoliciesLegacyParams, options?: SecondParameter$e<typeof openfortApiClient<PolicyListResponse>>) => Promise<PolicyListResponse>;
9418
+ /**
9419
+ * @summary Create a gas policy (legacy - use /v2/fee-sponsorship for new integrations).
9420
+ */
9421
+ declare const createGasPolicyLegacy: (createPolicyRequest: CreatePolicyRequest, options?: SecondParameter$e<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
9422
+ /**
9423
+ * Retrieves the details of a gas sponsorship policy that has previously been created.
9424
+
9425
+ Returns the latest 10 transaction intents that used this policy.
9426
+ * @summary Get a gas policy (legacy - use /v2/fee-sponsorship for new integrations).
9427
+ */
9428
+ declare const getGasPolicyLegacy: (id: string, params?: GetGasPolicyLegacyParams, options?: SecondParameter$e<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
9429
+ /**
9430
+ * @summary Update a gas policy (legacy - use /v2/fee-sponsorship for new integrations).
9431
+ */
9432
+ declare const updateGasPolicyLegacy: (id: string, updatePolicyRequest: UpdatePolicyRequest, options?: SecondParameter$e<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
9433
+ /**
9434
+ * @summary Delete a gas policy (legacy - use /v2/fee-sponsorship for new integrations).
9435
+ */
9436
+ declare const deleteGasPolicyLegacy: (id: string, options?: SecondParameter$e<typeof openfortApiClient<PolicyDeleteResponse>>) => Promise<PolicyDeleteResponse>;
9437
+ /**
9438
+ * @summary Disable a gas policy (legacy - use /v2/fee-sponsorship for new integrations).
9439
+ */
9440
+ declare const disableGasPolicyLegacy: (id: string, options?: SecondParameter$e<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
9441
+ /**
9442
+ * @summary Enable a gas policy (legacy - use /v2/fee-sponsorship for new integrations).
9443
+ */
9444
+ declare const enableGasPolicyLegacy: (id: string, options?: SecondParameter$e<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
9445
+ /**
9446
+ * @summary List all gas reports of a gas policy (legacy).
9447
+ */
9448
+ declare const getGasPolicyTotalGasUsageLegacy: (id: string, params?: GetGasPolicyTotalGasUsageLegacyParams, options?: SecondParameter$e<typeof openfortApiClient<GasReportListResponse>>) => Promise<GasReportListResponse>;
9449
+ /**
9450
+ * @summary List transaction intents of a gas policy report (legacy).
9451
+ */
9452
+ declare const getGasPolicyReportTransactionIntentsLegacy: (id: string, params: GetGasPolicyReportTransactionIntentsLegacyParams, options?: SecondParameter$e<typeof openfortApiClient<GasReportTransactionIntentsListResponse>>) => Promise<GasReportTransactionIntentsListResponse>;
9453
+ /**
9454
+ * Get the amount of ERC-20 tokens collected by a gas policy.
9455
+
9456
+ When using a policy that includes payment of gas in ERC-20 tokens, this endpoint returns the amount of tokens paid for gas.
9457
+ This is specific to a policy that doesn't use your own deposited tokens in the paymaster.
9458
+ * @summary Get amount of tokens paid for gas policy (legacy).
9459
+ */
9460
+ declare const getGasPolicyBalanceLegacy: (id: string, options?: SecondParameter$e<typeof openfortApiClient<PolicyBalanceWithdrawResponse>>) => Promise<PolicyBalanceWithdrawResponse>;
9461
+ /**
9462
+ * Transfer ERC-20 tokens collected by a gas policy.
9463
+
9464
+ When using a policy that includes payment of gas in ERC-20 tokens, this endpoint returns the amount of tokens paid for gas.
9465
+ This is specific to a policy that doesn't use your own deposited tokens in the paymaster.
9466
+ * @summary Withdraw tokens collected by gas policy (legacy).
9467
+ */
9468
+ declare const createGasPolicyWithdrawalLegacy: (id: string, withdrawalPolicyRequest: WithdrawalPolicyRequest, options?: SecondParameter$e<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
9469
+ type GetGasPoliciesLegacyResult = NonNullable<Awaited<ReturnType<typeof getGasPoliciesLegacy>>>;
9470
+ type CreateGasPolicyLegacyResult = NonNullable<Awaited<ReturnType<typeof createGasPolicyLegacy>>>;
9471
+ type GetGasPolicyLegacyResult = NonNullable<Awaited<ReturnType<typeof getGasPolicyLegacy>>>;
9472
+ type UpdateGasPolicyLegacyResult = NonNullable<Awaited<ReturnType<typeof updateGasPolicyLegacy>>>;
9473
+ type DeleteGasPolicyLegacyResult = NonNullable<Awaited<ReturnType<typeof deleteGasPolicyLegacy>>>;
9474
+ type DisableGasPolicyLegacyResult = NonNullable<Awaited<ReturnType<typeof disableGasPolicyLegacy>>>;
9475
+ type EnableGasPolicyLegacyResult = NonNullable<Awaited<ReturnType<typeof enableGasPolicyLegacy>>>;
9476
+ type GetGasPolicyTotalGasUsageLegacyResult = NonNullable<Awaited<ReturnType<typeof getGasPolicyTotalGasUsageLegacy>>>;
9477
+ type GetGasPolicyReportTransactionIntentsLegacyResult = NonNullable<Awaited<ReturnType<typeof getGasPolicyReportTransactionIntentsLegacy>>>;
9478
+ type GetGasPolicyBalanceLegacyResult = NonNullable<Awaited<ReturnType<typeof getGasPolicyBalanceLegacy>>>;
9479
+ type CreateGasPolicyWithdrawalLegacyResult = NonNullable<Awaited<ReturnType<typeof createGasPolicyWithdrawalLegacy>>>;
9480
+
9481
+ /**
9482
+ * Generated by orval v8.4.2 🍺
9151
9483
  * Do not edit manually.
9152
9484
  * Openfort API
9153
9485
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9155,11 +9487,34 @@ type DeleteForwarderContractResult = NonNullable<Awaited<ReturnType<typeof delet
9155
9487
  */
9156
9488
 
9157
9489
  type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1];
9158
- declare const query: (queryBody: unknown, options?: SecondParameter$d<typeof openfortApiClient<unknown>>) => Promise<unknown>;
9159
- type QueryResult = NonNullable<Awaited<ReturnType<typeof query>>>;
9490
+ /**
9491
+ * Returns a list of rules for a gas sponsorship policy.
9492
+
9493
+ The policy rules are returned sorted by creation date, with the most recently created policy rules appearing first.
9494
+
9495
+ By default, a maximum of 10 policy rules are shown per page.
9496
+ * @summary List gas policy rules (legacy - use /v2/fee-sponsorship for new integrations).
9497
+ */
9498
+ declare const getGasPolicyRulesLegacy: (params: GetGasPolicyRulesLegacyParams, options?: SecondParameter$d<typeof openfortApiClient<PolicyRuleListResponse>>) => Promise<PolicyRuleListResponse>;
9499
+ /**
9500
+ * @summary Create a gas policy rule (legacy - use /v2/fee-sponsorship for new integrations).
9501
+ */
9502
+ declare const createGasPolicyRuleLegacy: (createPolicyRuleRequest: CreatePolicyRuleRequest, options?: SecondParameter$d<typeof openfortApiClient<PolicyRuleResponse>>) => Promise<PolicyRuleResponse>;
9503
+ /**
9504
+ * @summary Update a gas policy rule (legacy - use /v2/fee-sponsorship for new integrations).
9505
+ */
9506
+ declare const updateGasPolicyRuleLegacy: (id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: SecondParameter$d<typeof openfortApiClient<PolicyRuleResponse>>) => Promise<PolicyRuleResponse>;
9507
+ /**
9508
+ * @summary Delete a gas policy rule (legacy - use /v2/fee-sponsorship for new integrations).
9509
+ */
9510
+ declare const deleteGasPolicyRuleLegacy: (id: string, options?: SecondParameter$d<typeof openfortApiClient<PolicyRuleDeleteResponse>>) => Promise<PolicyRuleDeleteResponse>;
9511
+ type GetGasPolicyRulesLegacyResult = NonNullable<Awaited<ReturnType<typeof getGasPolicyRulesLegacy>>>;
9512
+ type CreateGasPolicyRuleLegacyResult = NonNullable<Awaited<ReturnType<typeof createGasPolicyRuleLegacy>>>;
9513
+ type UpdateGasPolicyRuleLegacyResult = NonNullable<Awaited<ReturnType<typeof updateGasPolicyRuleLegacy>>>;
9514
+ type DeleteGasPolicyRuleLegacyResult = NonNullable<Awaited<ReturnType<typeof deleteGasPolicyRuleLegacy>>>;
9160
9515
 
9161
9516
  /**
9162
- * Generated by orval v8.2.0 🍺
9517
+ * Generated by orval v8.4.2 🍺
9163
9518
  * Do not edit manually.
9164
9519
  * Openfort API
9165
9520
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9167,26 +9522,38 @@ type QueryResult = NonNullable<Awaited<ReturnType<typeof query>>>;
9167
9522
  */
9168
9523
 
9169
9524
  type SecondParameter$c<T extends (...args: never) => unknown> = Parameters<T>[1];
9525
+ declare const query: (queryBody: unknown, options?: SecondParameter$c<typeof openfortApiClient<unknown>>) => Promise<unknown>;
9526
+ type QueryResult = NonNullable<Awaited<ReturnType<typeof query>>>;
9527
+
9528
+ /**
9529
+ * Generated by orval v8.4.2 🍺
9530
+ * Do not edit manually.
9531
+ * Openfort API
9532
+ * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
9533
+ * OpenAPI spec version: 1.0.0
9534
+ */
9535
+
9536
+ type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1];
9170
9537
  /**
9171
9538
  * @summary Get logs for a project.
9172
9539
  */
9173
- declare const getProjectLogs: (params?: GetProjectLogsParams, options?: SecondParameter$c<typeof openfortApiClient<ProjectLogs>>) => Promise<ProjectLogs>;
9540
+ declare const getProjectLogs: (params?: GetProjectLogsParams, options?: SecondParameter$b<typeof openfortApiClient<ProjectLogs>>) => Promise<ProjectLogs>;
9174
9541
  /**
9175
9542
  * @summary Get webhook logs for a project.
9176
9543
  */
9177
- declare const getWebhookLogsByProjectId: (options?: SecondParameter$c<typeof openfortApiClient<ProjectLogs>>) => Promise<ProjectLogs>;
9544
+ declare const getWebhookLogsByProjectId: (options?: SecondParameter$b<typeof openfortApiClient<ProjectLogs>>) => Promise<ProjectLogs>;
9178
9545
  type GetProjectLogsResult = NonNullable<Awaited<ReturnType<typeof getProjectLogs>>>;
9179
9546
  type GetWebhookLogsByProjectIdResult = NonNullable<Awaited<ReturnType<typeof getWebhookLogsByProjectId>>>;
9180
9547
 
9181
9548
  /**
9182
- * Generated by orval v8.2.0 🍺
9549
+ * Generated by orval v8.4.2 🍺
9183
9550
  * Do not edit manually.
9184
9551
  * Openfort API
9185
9552
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
9186
9553
  * OpenAPI spec version: 1.0.0
9187
9554
  */
9188
9555
 
9189
- type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1];
9556
+ type SecondParameter$a<T extends (...args: never) => unknown> = Parameters<T>[1];
9190
9557
  /**
9191
9558
  * Creates an onramp session for the selected provider.
9192
9559
 
@@ -9195,7 +9562,7 @@ and provider-agnostic. The service layer handles translation between the common
9195
9562
  provider-specific APIs.
9196
9563
  * @summary Create onramp session
9197
9564
  */
9198
- declare const createOnrampSession: (onrampSessionRequest: OnrampSessionRequest, options?: SecondParameter$b<typeof openfortApiClient<OnrampSessionResponse>>) => Promise<OnrampSessionResponse>;
9565
+ declare const createOnrampSession: (onrampSessionRequest: OnrampSessionRequest, options?: SecondParameter$a<typeof openfortApiClient<OnrampSessionResponse>>) => Promise<OnrampSessionResponse>;
9199
9566
  /**
9200
9567
  * Retrieves onramp quote(s) without creating an actual transaction.
9201
9568
 
@@ -9205,26 +9572,26 @@ If provider is not specified, returns quotes from all available providers.
9205
9572
  All request and response formats are unified and provider-agnostic.
9206
9573
  * @summary Get onramp quote(s)
9207
9574
  */
9208
- declare const getOnrampQuote: (onrampQuoteRequest: OnrampQuoteRequest, options?: SecondParameter$b<typeof openfortApiClient<OnrampQuotesResponse>>) => Promise<OnrampQuotesResponse>;
9575
+ declare const getOnrampQuote: (onrampQuoteRequest: OnrampQuoteRequest, options?: SecondParameter$a<typeof openfortApiClient<OnrampQuotesResponse>>) => Promise<OnrampQuotesResponse>;
9209
9576
  type CreateOnrampSessionResult = NonNullable<Awaited<ReturnType<typeof createOnrampSession>>>;
9210
9577
  type GetOnrampQuoteResult = NonNullable<Awaited<ReturnType<typeof getOnrampQuote>>>;
9211
9578
 
9212
9579
  /**
9213
- * Generated by orval v8.2.0 🍺
9580
+ * Generated by orval v8.4.2 🍺
9214
9581
  * Do not edit manually.
9215
9582
  * Openfort API
9216
9583
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
9217
9584
  * OpenAPI spec version: 1.0.0
9218
9585
  */
9219
9586
 
9220
- type SecondParameter$a<T extends (...args: never) => unknown> = Parameters<T>[1];
9587
+ type SecondParameter$9<T extends (...args: never) => unknown> = Parameters<T>[1];
9221
9588
  /**
9222
9589
  * Create a new paymaster.
9223
9590
 
9224
9591
  This object represents the paymaster that will be used to pay the gas fees of the transactions.
9225
9592
  * @summary Create a new paymaster.
9226
9593
  */
9227
- declare const createPaymaster: (createPaymasterRequest: CreatePaymasterRequest, options?: SecondParameter$a<typeof openfortApiClient<PaymasterResponse>>) => Promise<PaymasterResponse>;
9594
+ declare const createPaymaster: (createPaymasterRequest: CreatePaymasterRequest, options?: SecondParameter$9<typeof openfortApiClient<PaymasterResponse>>) => Promise<PaymasterResponse>;
9228
9595
  /**
9229
9596
  * Returns a list of paymasters.
9230
9597
 
@@ -9233,28 +9600,28 @@ This object represents the paymasters that will be used to pay the gas fees for
9233
9600
  By default, a maximum of 10 paymasters are shown per page.
9234
9601
  * @summary List paymasters.
9235
9602
  */
9236
- declare const listPaymasters: (params?: ListPaymastersParams, options?: SecondParameter$a<typeof openfortApiClient<PaymasterResponse[]>>) => Promise<PaymasterResponse[]>;
9603
+ declare const listPaymasters: (params?: ListPaymastersParams, options?: SecondParameter$9<typeof openfortApiClient<PaymasterResponse[]>>) => Promise<PaymasterResponse[]>;
9237
9604
  /**
9238
9605
  * Update a paymaster.
9239
9606
 
9240
9607
  This object represents the paymaster that will be used to pay the gas fees of the transactions.
9241
9608
  * @summary Update a paymaster.
9242
9609
  */
9243
- declare const updatePaymaster: (id: string, createPaymasterRequest: CreatePaymasterRequest, options?: SecondParameter$a<typeof openfortApiClient<PaymasterResponse>>) => Promise<PaymasterResponse>;
9610
+ declare const updatePaymaster: (id: string, createPaymasterRequest: CreatePaymasterRequest, options?: SecondParameter$9<typeof openfortApiClient<PaymasterResponse>>) => Promise<PaymasterResponse>;
9244
9611
  /**
9245
9612
  * Returns the paymaster with the given id.
9246
9613
 
9247
9614
  This object represents the paymaster that will be used to pay the gas fees for the transactions.
9248
9615
  * @summary Get paymaster by id.
9249
9616
  */
9250
- declare const getPaymaster: (id: string, options?: SecondParameter$a<typeof openfortApiClient<PaymasterResponse>>) => Promise<PaymasterResponse>;
9617
+ declare const getPaymaster: (id: string, options?: SecondParameter$9<typeof openfortApiClient<PaymasterResponse>>) => Promise<PaymasterResponse>;
9251
9618
  /**
9252
9619
  * Delete the paymaster with the given id.
9253
9620
 
9254
9621
  This object represents the paymaster that will be used to pay the gas fees for the transactions.
9255
9622
  * @summary Delete paymaster by id.
9256
9623
  */
9257
- declare const deletePaymaster: (id: string, options?: SecondParameter$a<typeof openfortApiClient<PaymasterDeleteResponse>>) => Promise<PaymasterDeleteResponse>;
9624
+ declare const deletePaymaster: (id: string, options?: SecondParameter$9<typeof openfortApiClient<PaymasterDeleteResponse>>) => Promise<PaymasterDeleteResponse>;
9258
9625
  type CreatePaymasterResult = NonNullable<Awaited<ReturnType<typeof createPaymaster>>>;
9259
9626
  type ListPaymastersResult = NonNullable<Awaited<ReturnType<typeof listPaymasters>>>;
9260
9627
  type UpdatePaymasterResult = NonNullable<Awaited<ReturnType<typeof updatePaymaster>>>;
@@ -9262,56 +9629,56 @@ type GetPaymasterResult = NonNullable<Awaited<ReturnType<typeof getPaymaster>>>;
9262
9629
  type DeletePaymasterResult = NonNullable<Awaited<ReturnType<typeof deletePaymaster>>>;
9263
9630
 
9264
9631
  /**
9265
- * Generated by orval v8.2.0 🍺
9632
+ * Generated by orval v8.4.2 🍺
9266
9633
  * Do not edit manually.
9267
9634
  * Openfort API
9268
9635
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
9269
9636
  * OpenAPI spec version: 1.0.0
9270
9637
  */
9271
9638
 
9272
- type SecondParameter$9<T extends (...args: never) => unknown> = Parameters<T>[1];
9639
+ type SecondParameter$8<T extends (...args: never) => unknown> = Parameters<T>[1];
9273
9640
  /**
9274
9641
  * By default, a maximum of 10 players are shown.
9275
9642
 
9276
9643
  Returns the latest 10 transaction intents that were created with each player.
9277
9644
  * @summary List players.
9278
9645
  */
9279
- declare const getPlayers: (params?: GetPlayersParams, options?: SecondParameter$9<typeof openfortApiClient<PlayerListResponse>>) => Promise<PlayerListResponse>;
9646
+ declare const getPlayers: (params?: GetPlayersParams, options?: SecondParameter$8<typeof openfortApiClient<PlayerListResponse>>) => Promise<PlayerListResponse>;
9280
9647
  /**
9281
9648
  * Creates a player.
9282
9649
  * @summary Create a player object.
9283
9650
  */
9284
- declare const createPlayer: (playerCreateRequest: PlayerCreateRequest, options?: SecondParameter$9<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
9651
+ declare const createPlayer: (playerCreateRequest: PlayerCreateRequest, options?: SecondParameter$8<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
9285
9652
  /**
9286
9653
  * Retrieves the details of a player that has previously been created.
9287
9654
 
9288
9655
  Returns the latest 10 transaction intents that were created with this player.
9289
9656
  * @summary Retrieves the details of an existing player.
9290
9657
  */
9291
- declare const getPlayer: (id: string, params?: GetPlayerParams, options?: SecondParameter$9<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
9658
+ declare const getPlayer: (id: string, params?: GetPlayerParams, options?: SecondParameter$8<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
9292
9659
  /**
9293
9660
  * Updates the specified player by setting the values of the parameters passed.
9294
9661
  * @summary Updates a player object.
9295
9662
  */
9296
- declare const updatePlayer: (id: string, playerUpdateRequest: PlayerUpdateRequest, options?: SecondParameter$9<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
9663
+ declare const updatePlayer: (id: string, playerUpdateRequest: PlayerUpdateRequest, options?: SecondParameter$8<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
9297
9664
  /**
9298
9665
  * It will delete all linked accounts the player is authenticated with.
9299
9666
  If the player has a linked embedded signer, it will be deleted as well.
9300
9667
  * @summary Deletes a player object.
9301
9668
  */
9302
- declare const deletePlayer: (id: string, options?: SecondParameter$9<typeof openfortApiClient<PlayerDeleteResponse>>) => Promise<PlayerDeleteResponse>;
9669
+ declare const deletePlayer: (id: string, options?: SecondParameter$8<typeof openfortApiClient<PlayerDeleteResponse>>) => Promise<PlayerDeleteResponse>;
9303
9670
  /**
9304
9671
  * This endpoint allows you to perform a request to change the owner of an account.
9305
9672
  To perform an update on the owner of an account, first you must provide a new owner address.
9306
9673
  Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
9307
9674
  * @summary Request transfer ownership of a player.
9308
9675
  */
9309
- declare const requestTransferAccountOwnership: (id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: SecondParameter$9<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
9676
+ declare const requestTransferAccountOwnership: (id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: SecondParameter$8<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
9310
9677
  /**
9311
9678
  * This endpoint allows you to cancel a pending transfer of ownership.
9312
9679
  * @summary Cancel request to transfer ownership of a player.
9313
9680
  */
9314
- declare const cancelTransferAccountOwnership: (id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, options?: SecondParameter$9<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
9681
+ declare const cancelTransferAccountOwnership: (id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, options?: SecondParameter$8<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
9315
9682
  type GetPlayersResult = NonNullable<Awaited<ReturnType<typeof getPlayers>>>;
9316
9683
  type CreatePlayerResult = NonNullable<Awaited<ReturnType<typeof createPlayer>>>;
9317
9684
  type GetPlayerResult = NonNullable<Awaited<ReturnType<typeof getPlayer>>>;
@@ -9321,158 +9688,54 @@ type RequestTransferAccountOwnershipResult = NonNullable<Awaited<ReturnType<type
9321
9688
  type CancelTransferAccountOwnershipResult = NonNullable<Awaited<ReturnType<typeof cancelTransferAccountOwnership>>>;
9322
9689
 
9323
9690
  /**
9324
- * Generated by orval v8.2.0 🍺
9691
+ * Generated by orval v8.4.2 🍺
9325
9692
  * Do not edit manually.
9326
9693
  * Openfort API
9327
9694
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
9328
9695
  * OpenAPI spec version: 1.0.0
9329
9696
  */
9330
9697
 
9331
- type SecondParameter$8<T extends (...args: never) => unknown> = Parameters<T>[1];
9698
+ type SecondParameter$7<T extends (...args: never) => unknown> = Parameters<T>[1];
9332
9699
  /**
9333
- * Returns a list of Policies.
9334
-
9335
- Returns the latest 10 transaction intents for each policy.
9700
+ * Returns a list of policies.
9336
9701
  * @summary List policies.
9337
9702
  */
9338
- declare const getPolicies: (params?: GetPoliciesParams, options?: SecondParameter$8<typeof openfortApiClient<PolicyListResponse>>) => Promise<PolicyListResponse>;
9339
- /**
9340
- * @summary Create a policy object.
9341
- */
9342
- declare const createPolicy: (createPolicyRequest: CreatePolicyRequest, options?: SecondParameter$8<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
9343
- /**
9344
- * Retrieves the details of a Policy that has previously been created.
9345
-
9346
- Returns the latest 10 transaction intents that used this policy.
9347
- * @summary Get a policy object.
9348
- */
9349
- declare const getPolicy: (id: string, params?: GetPolicyParams, options?: SecondParameter$8<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
9350
- /**
9351
- * @summary Update a policy object.
9352
- */
9353
- declare const updatePolicy: (id: string, updatePolicyRequest: UpdatePolicyRequest, options?: SecondParameter$8<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
9703
+ declare const listPolicies: (params?: ListPoliciesParams, options?: SecondParameter$7<typeof openfortApiClient<PolicyV2ListResponse>>) => Promise<PolicyV2ListResponse>;
9354
9704
  /**
9355
- * @summary Delete a policy object.
9705
+ * Creates a new policy with the specified rules.
9706
+ * @summary Create a policy.
9356
9707
  */
9357
- declare const deletePolicy: (id: string, options?: SecondParameter$8<typeof openfortApiClient<PolicyDeleteResponse>>) => Promise<PolicyDeleteResponse>;
9708
+ declare const createPolicyV2: (createPolicyV2Request: CreatePolicyV2Request, options?: SecondParameter$7<typeof openfortApiClient<PolicyV2Response>>) => Promise<PolicyV2Response>;
9358
9709
  /**
9359
- * @summary Disable a policy object.
9710
+ * Retrieves the details of a policy that has previously been created.
9711
+ * @summary Get a policy.
9360
9712
  */
9361
- declare const disablePolicy: (id: string, options?: SecondParameter$8<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
9713
+ declare const getPolicyV2: (policyId: string, options?: SecondParameter$7<typeof openfortApiClient<PolicyV2Response>>) => Promise<PolicyV2Response>;
9362
9714
  /**
9363
- * @summary Enable a policy object.
9715
+ * Updates an existing policy.
9716
+ * @summary Update a policy.
9364
9717
  */
9365
- declare const enablePolicy: (id: string, options?: SecondParameter$8<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
9718
+ declare const updatePolicyV2: (policyId: string, updatePolicyV2Request: UpdatePolicyV2Request, options?: SecondParameter$7<typeof openfortApiClient<PolicyV2Response>>) => Promise<PolicyV2Response>;
9366
9719
  /**
9367
- * @summary List all gas reports of a policy.
9720
+ * Deletes a policy. This is a soft delete.
9721
+ * @summary Delete a policy.
9368
9722
  */
9369
- declare const getPolicyTotalGasUsage: (id: string, params?: GetPolicyTotalGasUsageParams, options?: SecondParameter$8<typeof openfortApiClient<GasReportListResponse>>) => Promise<GasReportListResponse>;
9723
+ declare const deletePolicyV2: (policyId: string, options?: SecondParameter$7<typeof openfortApiClient<PolicyV2DeleteResponse>>) => Promise<PolicyV2DeleteResponse>;
9370
9724
  /**
9371
- * @summary List transaction intents of a policy report.
9725
+ * Evaluates an operation against policies without actually performing the operation.
9726
+ Use this endpoint to check if an operation would be allowed before attempting it.
9727
+ * @summary Evaluate policy.
9372
9728
  */
9373
- declare const getPolicyReportTransactionIntents: (id: string, params: GetPolicyReportTransactionIntentsParams, options?: SecondParameter$8<typeof openfortApiClient<GasReportTransactionIntentsListResponse>>) => Promise<GasReportTransactionIntentsListResponse>;
9374
- /**
9375
- * Get the amount of ERC-20 tokens collected by policy.
9376
-
9377
- When using a policy that includes payment of gas in ERC-20 tokens, this endpoint returns the amount of tokens paid for gas.
9378
- This is specific to a policy that doesn't use your own deposited tokens in the paymaster.
9379
- * @summary Get amount of tokens paid for gas policy.
9380
- */
9381
- declare const getPolicyBalance: (id: string, options?: SecondParameter$8<typeof openfortApiClient<PolicyBalanceWithdrawResponse>>) => Promise<PolicyBalanceWithdrawResponse>;
9382
- /**
9383
- * Transfer ERC-20 tokens collected by policy.
9384
-
9385
- When using a policy that includes payment of gas in ERC-20 tokens, this endpoint returns the amount of tokens paid for gas.
9386
- This is specific to a policy that doesn't use your own deposited tokens in the paymaster.
9387
- * @summary Withdraw tokens collected by policy.
9388
- */
9389
- declare const createPolicyWithdrawal: (id: string, withdrawalPolicyRequest: WithdrawalPolicyRequest, options?: SecondParameter$8<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
9390
- /**
9391
- * Returns a list of policies.
9392
- * @summary List policies.
9393
- */
9394
- declare const listPolicies: (params?: ListPoliciesParams, options?: SecondParameter$8<typeof openfortApiClient<PolicyV2ListResponse>>) => Promise<PolicyV2ListResponse>;
9395
- /**
9396
- * Creates a new policy with the specified rules.
9397
- * @summary Create a policy.
9398
- */
9399
- declare const createPolicyV2: (createPolicyV2Request: CreatePolicyV2Request, options?: SecondParameter$8<typeof openfortApiClient<PolicyV2Response>>) => Promise<PolicyV2Response>;
9400
- /**
9401
- * Retrieves the details of a policy that has previously been created.
9402
- * @summary Get a policy.
9403
- */
9404
- declare const getPolicyV2: (policyId: string, options?: SecondParameter$8<typeof openfortApiClient<PolicyV2Response>>) => Promise<PolicyV2Response>;
9405
- /**
9406
- * Updates an existing policy.
9407
- * @summary Update a policy.
9408
- */
9409
- declare const updatePolicyV2: (policyId: string, updatePolicyV2Request: UpdatePolicyV2Request, options?: SecondParameter$8<typeof openfortApiClient<PolicyV2Response>>) => Promise<PolicyV2Response>;
9410
- /**
9411
- * Deletes a policy. This is a soft delete.
9412
- * @summary Delete a policy.
9413
- */
9414
- declare const deletePolicyV2: (policyId: string, options?: SecondParameter$8<typeof openfortApiClient<PolicyV2DeleteResponse>>) => Promise<PolicyV2DeleteResponse>;
9415
- /**
9416
- * Evaluates an operation against policies without actually performing the operation.
9417
- Use this endpoint to check if an operation would be allowed before attempting it.
9418
- * @summary Evaluate policy.
9419
- */
9420
- declare const evaluatePolicyV2: (evaluatePolicyV2Request: EvaluatePolicyV2Request, options?: SecondParameter$8<typeof openfortApiClient<EvaluatePolicyV2Response>>) => Promise<EvaluatePolicyV2Response>;
9421
- type GetPoliciesResult = NonNullable<Awaited<ReturnType<typeof getPolicies>>>;
9422
- type CreatePolicyResult = NonNullable<Awaited<ReturnType<typeof createPolicy>>>;
9423
- type GetPolicyResult = NonNullable<Awaited<ReturnType<typeof getPolicy>>>;
9424
- type UpdatePolicyResult = NonNullable<Awaited<ReturnType<typeof updatePolicy>>>;
9425
- type DeletePolicyResult = NonNullable<Awaited<ReturnType<typeof deletePolicy>>>;
9426
- type DisablePolicyResult = NonNullable<Awaited<ReturnType<typeof disablePolicy>>>;
9427
- type EnablePolicyResult = NonNullable<Awaited<ReturnType<typeof enablePolicy>>>;
9428
- type GetPolicyTotalGasUsageResult = NonNullable<Awaited<ReturnType<typeof getPolicyTotalGasUsage>>>;
9429
- type GetPolicyReportTransactionIntentsResult = NonNullable<Awaited<ReturnType<typeof getPolicyReportTransactionIntents>>>;
9430
- type GetPolicyBalanceResult = NonNullable<Awaited<ReturnType<typeof getPolicyBalance>>>;
9431
- type CreatePolicyWithdrawalResult = NonNullable<Awaited<ReturnType<typeof createPolicyWithdrawal>>>;
9432
- type ListPoliciesResult = NonNullable<Awaited<ReturnType<typeof listPolicies>>>;
9433
- type CreatePolicyV2Result = NonNullable<Awaited<ReturnType<typeof createPolicyV2>>>;
9434
- type GetPolicyV2Result = NonNullable<Awaited<ReturnType<typeof getPolicyV2>>>;
9435
- type UpdatePolicyV2Result = NonNullable<Awaited<ReturnType<typeof updatePolicyV2>>>;
9436
- type DeletePolicyV2Result = NonNullable<Awaited<ReturnType<typeof deletePolicyV2>>>;
9437
- type EvaluatePolicyV2Result = NonNullable<Awaited<ReturnType<typeof evaluatePolicyV2>>>;
9438
-
9439
- /**
9440
- * Generated by orval v8.2.0 🍺
9441
- * Do not edit manually.
9442
- * Openfort API
9443
- * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
9444
- * OpenAPI spec version: 1.0.0
9445
- */
9446
-
9447
- type SecondParameter$7<T extends (...args: never) => unknown> = Parameters<T>[1];
9448
- /**
9449
- * Returns a list of policy rules of a policy.
9450
-
9451
- The policy rules are returned sorted by creation date, with the most recently created policy rules appearing first.
9452
-
9453
- By default, a maximum of 10 policy rules are shown per page.
9454
- * @summary List policy rules of a policy.
9455
- */
9456
- declare const getPolicyRules: (params: GetPolicyRulesParams, options?: SecondParameter$7<typeof openfortApiClient<PolicyRuleListResponse>>) => Promise<PolicyRuleListResponse>;
9457
- /**
9458
- * @summary Create a policy rule object.
9459
- */
9460
- declare const createPolicyRule: (createPolicyRuleRequest: CreatePolicyRuleRequest, options?: SecondParameter$7<typeof openfortApiClient<PolicyRuleResponse>>) => Promise<PolicyRuleResponse>;
9461
- /**
9462
- * @summary Update a policy rule object.
9463
- */
9464
- declare const updatePolicyRule: (id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: SecondParameter$7<typeof openfortApiClient<PolicyRuleResponse>>) => Promise<PolicyRuleResponse>;
9465
- /**
9466
- * @summary Deletes a policy rule object.
9467
- */
9468
- declare const deletePolicyRule: (id: string, options?: SecondParameter$7<typeof openfortApiClient<PolicyRuleDeleteResponse>>) => Promise<PolicyRuleDeleteResponse>;
9469
- type GetPolicyRulesResult = NonNullable<Awaited<ReturnType<typeof getPolicyRules>>>;
9470
- type CreatePolicyRuleResult = NonNullable<Awaited<ReturnType<typeof createPolicyRule>>>;
9471
- type UpdatePolicyRuleResult = NonNullable<Awaited<ReturnType<typeof updatePolicyRule>>>;
9472
- type DeletePolicyRuleResult = NonNullable<Awaited<ReturnType<typeof deletePolicyRule>>>;
9729
+ declare const evaluatePolicyV2: (evaluatePolicyV2Request: EvaluatePolicyV2Request, options?: SecondParameter$7<typeof openfortApiClient<EvaluatePolicyV2Response>>) => Promise<EvaluatePolicyV2Response>;
9730
+ type ListPoliciesResult = NonNullable<Awaited<ReturnType<typeof listPolicies>>>;
9731
+ type CreatePolicyV2Result = NonNullable<Awaited<ReturnType<typeof createPolicyV2>>>;
9732
+ type GetPolicyV2Result = NonNullable<Awaited<ReturnType<typeof getPolicyV2>>>;
9733
+ type UpdatePolicyV2Result = NonNullable<Awaited<ReturnType<typeof updatePolicyV2>>>;
9734
+ type DeletePolicyV2Result = NonNullable<Awaited<ReturnType<typeof deletePolicyV2>>>;
9735
+ type EvaluatePolicyV2Result = NonNullable<Awaited<ReturnType<typeof evaluatePolicyV2>>>;
9473
9736
 
9474
9737
  /**
9475
- * Generated by orval v8.2.0 🍺
9738
+ * Generated by orval v8.4.2 🍺
9476
9739
  * Do not edit manually.
9477
9740
  * Openfort API
9478
9741
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9512,7 +9775,7 @@ type HandleRpcRequestResult = NonNullable<Awaited<ReturnType<typeof handleRpcReq
9512
9775
  type HandleChainRpcRequestResult = NonNullable<Awaited<ReturnType<typeof handleChainRpcRequest>>>;
9513
9776
 
9514
9777
  /**
9515
- * Generated by orval v8.2.0 🍺
9778
+ * Generated by orval v8.4.2 🍺
9516
9779
  * Do not edit manually.
9517
9780
  * Openfort API
9518
9781
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9554,7 +9817,7 @@ type SignatureSessionResult = NonNullable<Awaited<ReturnType<typeof signatureSes
9554
9817
  type GetSessionResult = NonNullable<Awaited<ReturnType<typeof getSession>>>;
9555
9818
 
9556
9819
  /**
9557
- * Generated by orval v8.2.0 🍺
9820
+ * Generated by orval v8.4.2 🍺
9558
9821
  * Do not edit manually.
9559
9822
  * Openfort API
9560
9823
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9613,7 +9876,7 @@ type DeleteDeveloperAccountResult = NonNullable<Awaited<ReturnType<typeof delete
9613
9876
  type GetVerificationPayloadResult = NonNullable<Awaited<ReturnType<typeof getVerificationPayload>>>;
9614
9877
 
9615
9878
  /**
9616
- * Generated by orval v8.2.0 🍺
9879
+ * Generated by orval v8.4.2 🍺
9617
9880
  * Do not edit manually.
9618
9881
  * Openfort API
9619
9882
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9646,7 +9909,7 @@ declare const handleSolanaRpcRequest: (cluster: string, jsonRpcRequest: JsonRpcR
9646
9909
  type HandleSolanaRpcRequestResult = NonNullable<Awaited<ReturnType<typeof handleSolanaRpcRequest>>>;
9647
9910
 
9648
9911
  /**
9649
- * Generated by orval v8.2.0 🍺
9912
+ * Generated by orval v8.4.2 🍺
9650
9913
  * Do not edit manually.
9651
9914
  * Openfort API
9652
9915
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9744,7 +10007,7 @@ type DeleteTriggerResult = NonNullable<Awaited<ReturnType<typeof deleteTrigger>>
9744
10007
  type TestTriggerResult = NonNullable<Awaited<ReturnType<typeof testTrigger>>>;
9745
10008
 
9746
10009
  /**
9747
- * Generated by orval v8.2.0 🍺
10010
+ * Generated by orval v8.4.2 🍺
9748
10011
  * Do not edit manually.
9749
10012
  * Openfort API
9750
10013
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9796,7 +10059,7 @@ type EstimateTransactionIntentCostResult = NonNullable<Awaited<ReturnType<typeof
9796
10059
  type SignatureResult = NonNullable<Awaited<ReturnType<typeof signature>>>;
9797
10060
 
9798
10061
  /**
9799
- * Generated by orval v8.2.0 🍺
10062
+ * Generated by orval v8.4.2 🍺
9800
10063
  * Do not edit manually.
9801
10064
  * Openfort API
9802
10065
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -10389,6 +10652,115 @@ declare const SignEvmHashRuleSchema: z.ZodObject<{
10389
10652
  action: "accept" | "reject";
10390
10653
  operation: "signEvmHash";
10391
10654
  }>;
10655
+ declare const SponsorEvmTransactionRuleSchema: z.ZodObject<{
10656
+ action: z.ZodEnum<["reject", "accept"]>;
10657
+ operation: z.ZodLiteral<"sponsorEvmTransaction">;
10658
+ criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10659
+ type: z.ZodLiteral<"ethValue">;
10660
+ operator: z.ZodEnum<["<=", ">=", "<", ">"]>;
10661
+ /** Value in wei as a string. */
10662
+ ethValue: z.ZodString;
10663
+ }, "strip", z.ZodTypeAny, {
10664
+ ethValue: string;
10665
+ type: "ethValue";
10666
+ operator: "<" | "<=" | ">" | ">=";
10667
+ }, {
10668
+ ethValue: string;
10669
+ type: "ethValue";
10670
+ operator: "<" | "<=" | ">" | ">=";
10671
+ }>, z.ZodObject<{
10672
+ type: z.ZodLiteral<"evmAddress">;
10673
+ operator: z.ZodEnum<["in", "not in"]>;
10674
+ /** List of EVM addresses (hex format with 0x prefix). */
10675
+ addresses: z.ZodArray<z.ZodString, "many">;
10676
+ }, "strip", z.ZodTypeAny, {
10677
+ type: "evmAddress";
10678
+ operator: "in" | "not in";
10679
+ addresses: string[];
10680
+ }, {
10681
+ type: "evmAddress";
10682
+ operator: "in" | "not in";
10683
+ addresses: string[];
10684
+ }>, z.ZodObject<{
10685
+ type: z.ZodLiteral<"evmNetwork">;
10686
+ operator: z.ZodEnum<["in", "not in"]>;
10687
+ /** List of chain IDs. */
10688
+ chainIds: z.ZodArray<z.ZodNumber, "many">;
10689
+ }, "strip", z.ZodTypeAny, {
10690
+ type: "evmNetwork";
10691
+ operator: "in" | "not in";
10692
+ chainIds: number[];
10693
+ }, {
10694
+ type: "evmNetwork";
10695
+ operator: "in" | "not in";
10696
+ chainIds: number[];
10697
+ }>, z.ZodObject<{
10698
+ type: z.ZodLiteral<"evmData">;
10699
+ operator: z.ZodEnum<["in", "not in", "<", "<=", ">", ">=", "==", "match"]>;
10700
+ /** Contract ABI as JSON string. */
10701
+ abi: z.ZodString;
10702
+ /** Function name to match. */
10703
+ functionName: z.ZodString;
10704
+ /** Argument constraints. */
10705
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10706
+ }, "strip", z.ZodTypeAny, {
10707
+ type: "evmData";
10708
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
10709
+ abi: string;
10710
+ functionName: string;
10711
+ args?: Record<string, unknown> | undefined;
10712
+ }, {
10713
+ type: "evmData";
10714
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
10715
+ abi: string;
10716
+ functionName: string;
10717
+ args?: Record<string, unknown> | undefined;
10718
+ }>]>, "many">;
10719
+ }, "strip", z.ZodTypeAny, {
10720
+ action: "accept" | "reject";
10721
+ operation: "sponsorEvmTransaction";
10722
+ criteria: ({
10723
+ ethValue: string;
10724
+ type: "ethValue";
10725
+ operator: "<" | "<=" | ">" | ">=";
10726
+ } | {
10727
+ type: "evmAddress";
10728
+ operator: "in" | "not in";
10729
+ addresses: string[];
10730
+ } | {
10731
+ type: "evmNetwork";
10732
+ operator: "in" | "not in";
10733
+ chainIds: number[];
10734
+ } | {
10735
+ type: "evmData";
10736
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
10737
+ abi: string;
10738
+ functionName: string;
10739
+ args?: Record<string, unknown> | undefined;
10740
+ })[];
10741
+ }, {
10742
+ action: "accept" | "reject";
10743
+ operation: "sponsorEvmTransaction";
10744
+ criteria: ({
10745
+ ethValue: string;
10746
+ type: "ethValue";
10747
+ operator: "<" | "<=" | ">" | ">=";
10748
+ } | {
10749
+ type: "evmAddress";
10750
+ operator: "in" | "not in";
10751
+ addresses: string[];
10752
+ } | {
10753
+ type: "evmNetwork";
10754
+ operator: "in" | "not in";
10755
+ chainIds: number[];
10756
+ } | {
10757
+ type: "evmData";
10758
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
10759
+ abi: string;
10760
+ functionName: string;
10761
+ args?: Record<string, unknown> | undefined;
10762
+ })[];
10763
+ }>;
10392
10764
 
10393
10765
  /** Solana address criterion — checks transaction recipient against an address list. */
10394
10766
  declare const SolAddressCriterionSchema: z.ZodObject<{
@@ -10932,51 +11304,244 @@ declare const SignSolMessageRuleSchema: z.ZodObject<{
10932
11304
  pattern: string;
10933
11305
  }[];
10934
11306
  }>;
10935
-
10936
- declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
11307
+ declare const SponsorSolTransactionRuleSchema: z.ZodObject<{
10937
11308
  action: z.ZodEnum<["reject", "accept"]>;
10938
- operation: z.ZodLiteral<"signEvmTransaction">;
11309
+ operation: z.ZodLiteral<"sponsorSolTransaction">;
10939
11310
  criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10940
- type: z.ZodLiteral<"ethValue">;
10941
- operator: z.ZodEnum<["<=", ">=", "<", ">"]>;
10942
- ethValue: z.ZodString;
11311
+ type: z.ZodLiteral<"solAddress">;
11312
+ operator: z.ZodEnum<["in", "not in"]>;
11313
+ /** List of Solana addresses (Base58). */
11314
+ addresses: z.ZodArray<z.ZodString, "many">;
10943
11315
  }, "strip", z.ZodTypeAny, {
10944
- ethValue: string;
10945
- type: "ethValue";
10946
- operator: "<" | "<=" | ">" | ">=";
11316
+ type: "solAddress";
11317
+ operator: "in" | "not in";
11318
+ addresses: string[];
10947
11319
  }, {
10948
- ethValue: string;
10949
- type: "ethValue";
10950
- operator: "<" | "<=" | ">" | ">=";
11320
+ type: "solAddress";
11321
+ operator: "in" | "not in";
11322
+ addresses: string[];
10951
11323
  }>, z.ZodObject<{
10952
- type: z.ZodLiteral<"evmAddress">;
11324
+ type: z.ZodLiteral<"solValue">;
11325
+ operator: z.ZodEnum<["<=", ">="]>;
11326
+ /** Value in lamports as string. */
11327
+ value: z.ZodString;
11328
+ }, "strip", z.ZodTypeAny, {
11329
+ value: string;
11330
+ type: "solValue";
11331
+ operator: "<=" | ">=";
11332
+ }, {
11333
+ value: string;
11334
+ type: "solValue";
11335
+ operator: "<=" | ">=";
11336
+ }>, z.ZodObject<{
11337
+ type: z.ZodLiteral<"splAddress">;
10953
11338
  operator: z.ZodEnum<["in", "not in"]>;
11339
+ /** List of recipient addresses (Base58). */
10954
11340
  addresses: z.ZodArray<z.ZodString, "many">;
10955
11341
  }, "strip", z.ZodTypeAny, {
10956
- type: "evmAddress";
11342
+ type: "splAddress";
10957
11343
  operator: "in" | "not in";
10958
11344
  addresses: string[];
10959
11345
  }, {
10960
- type: "evmAddress";
11346
+ type: "splAddress";
10961
11347
  operator: "in" | "not in";
10962
11348
  addresses: string[];
10963
11349
  }>, z.ZodObject<{
10964
- type: z.ZodLiteral<"evmData">;
10965
- operator: z.ZodEnum<["in", "not in", "<", "<=", ">", ">=", "==", "match"]>;
10966
- abi: z.ZodString;
10967
- functionName: z.ZodString;
11350
+ type: z.ZodLiteral<"splValue">;
11351
+ operator: z.ZodEnum<["<=", ">="]>;
11352
+ /** Token amount as string. */
11353
+ value: z.ZodString;
11354
+ }, "strip", z.ZodTypeAny, {
11355
+ value: string;
11356
+ type: "splValue";
11357
+ operator: "<=" | ">=";
11358
+ }, {
11359
+ value: string;
11360
+ type: "splValue";
11361
+ operator: "<=" | ">=";
11362
+ }>, z.ZodObject<{
11363
+ type: z.ZodLiteral<"mintAddress">;
11364
+ operator: z.ZodEnum<["==", "in"]>;
11365
+ /** List of mint addresses (Base58). */
11366
+ addresses: z.ZodArray<z.ZodString, "many">;
11367
+ }, "strip", z.ZodTypeAny, {
11368
+ type: "mintAddress";
11369
+ operator: "in" | "==";
11370
+ addresses: string[];
11371
+ }, {
11372
+ type: "mintAddress";
11373
+ operator: "in" | "==";
11374
+ addresses: string[];
11375
+ }>, z.ZodObject<{
11376
+ type: z.ZodLiteral<"solData">;
11377
+ operator: z.ZodEnum<["in", "not in", "<=", ">=", "==", "match"]>;
11378
+ /** Anchor IDL JSON (v0.30+). */
11379
+ idl: z.ZodString;
11380
+ /** Instruction name. */
11381
+ instructionName: z.ZodString;
11382
+ /** Argument constraints. */
10968
11383
  args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10969
11384
  }, "strip", z.ZodTypeAny, {
10970
- type: "evmData";
10971
- operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
10972
- abi: string;
10973
- functionName: string;
11385
+ type: "solData";
11386
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
11387
+ idl: string;
11388
+ instructionName: string;
10974
11389
  args?: Record<string, unknown> | undefined;
10975
11390
  }, {
10976
- type: "evmData";
10977
- operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
10978
- abi: string;
10979
- functionName: string;
11391
+ type: "solData";
11392
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
11393
+ idl: string;
11394
+ instructionName: string;
11395
+ args?: Record<string, unknown> | undefined;
11396
+ }>, z.ZodObject<{
11397
+ type: z.ZodLiteral<"programId">;
11398
+ operator: z.ZodEnum<["in", "not in"]>;
11399
+ /** List of program IDs (Base58). */
11400
+ programIds: z.ZodArray<z.ZodString, "many">;
11401
+ }, "strip", z.ZodTypeAny, {
11402
+ type: "programId";
11403
+ operator: "in" | "not in";
11404
+ programIds: string[];
11405
+ }, {
11406
+ type: "programId";
11407
+ operator: "in" | "not in";
11408
+ programIds: string[];
11409
+ }>, z.ZodObject<{
11410
+ type: z.ZodLiteral<"solNetwork">;
11411
+ operator: z.ZodEnum<["in", "not in"]>;
11412
+ /** List of networks: "mainnet-beta", "devnet", "testnet". */
11413
+ networks: z.ZodArray<z.ZodEnum<["mainnet-beta", "devnet", "testnet"]>, "many">;
11414
+ }, "strip", z.ZodTypeAny, {
11415
+ type: "solNetwork";
11416
+ operator: "in" | "not in";
11417
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
11418
+ }, {
11419
+ type: "solNetwork";
11420
+ operator: "in" | "not in";
11421
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
11422
+ }>]>, "many">;
11423
+ }, "strip", z.ZodTypeAny, {
11424
+ action: "accept" | "reject";
11425
+ operation: "sponsorSolTransaction";
11426
+ criteria: ({
11427
+ type: "solAddress";
11428
+ operator: "in" | "not in";
11429
+ addresses: string[];
11430
+ } | {
11431
+ value: string;
11432
+ type: "solValue";
11433
+ operator: "<=" | ">=";
11434
+ } | {
11435
+ type: "splAddress";
11436
+ operator: "in" | "not in";
11437
+ addresses: string[];
11438
+ } | {
11439
+ value: string;
11440
+ type: "splValue";
11441
+ operator: "<=" | ">=";
11442
+ } | {
11443
+ type: "mintAddress";
11444
+ operator: "in" | "==";
11445
+ addresses: string[];
11446
+ } | {
11447
+ type: "solData";
11448
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
11449
+ idl: string;
11450
+ instructionName: string;
11451
+ args?: Record<string, unknown> | undefined;
11452
+ } | {
11453
+ type: "programId";
11454
+ operator: "in" | "not in";
11455
+ programIds: string[];
11456
+ } | {
11457
+ type: "solNetwork";
11458
+ operator: "in" | "not in";
11459
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
11460
+ })[];
11461
+ }, {
11462
+ action: "accept" | "reject";
11463
+ operation: "sponsorSolTransaction";
11464
+ criteria: ({
11465
+ type: "solAddress";
11466
+ operator: "in" | "not in";
11467
+ addresses: string[];
11468
+ } | {
11469
+ value: string;
11470
+ type: "solValue";
11471
+ operator: "<=" | ">=";
11472
+ } | {
11473
+ type: "splAddress";
11474
+ operator: "in" | "not in";
11475
+ addresses: string[];
11476
+ } | {
11477
+ value: string;
11478
+ type: "splValue";
11479
+ operator: "<=" | ">=";
11480
+ } | {
11481
+ type: "mintAddress";
11482
+ operator: "in" | "==";
11483
+ addresses: string[];
11484
+ } | {
11485
+ type: "solData";
11486
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
11487
+ idl: string;
11488
+ instructionName: string;
11489
+ args?: Record<string, unknown> | undefined;
11490
+ } | {
11491
+ type: "programId";
11492
+ operator: "in" | "not in";
11493
+ programIds: string[];
11494
+ } | {
11495
+ type: "solNetwork";
11496
+ operator: "in" | "not in";
11497
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
11498
+ })[];
11499
+ }>;
11500
+
11501
+ declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
11502
+ action: z.ZodEnum<["reject", "accept"]>;
11503
+ operation: z.ZodLiteral<"signEvmTransaction">;
11504
+ criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11505
+ type: z.ZodLiteral<"ethValue">;
11506
+ operator: z.ZodEnum<["<=", ">=", "<", ">"]>;
11507
+ ethValue: z.ZodString;
11508
+ }, "strip", z.ZodTypeAny, {
11509
+ ethValue: string;
11510
+ type: "ethValue";
11511
+ operator: "<" | "<=" | ">" | ">=";
11512
+ }, {
11513
+ ethValue: string;
11514
+ type: "ethValue";
11515
+ operator: "<" | "<=" | ">" | ">=";
11516
+ }>, z.ZodObject<{
11517
+ type: z.ZodLiteral<"evmAddress">;
11518
+ operator: z.ZodEnum<["in", "not in"]>;
11519
+ addresses: z.ZodArray<z.ZodString, "many">;
11520
+ }, "strip", z.ZodTypeAny, {
11521
+ type: "evmAddress";
11522
+ operator: "in" | "not in";
11523
+ addresses: string[];
11524
+ }, {
11525
+ type: "evmAddress";
11526
+ operator: "in" | "not in";
11527
+ addresses: string[];
11528
+ }>, z.ZodObject<{
11529
+ type: z.ZodLiteral<"evmData">;
11530
+ operator: z.ZodEnum<["in", "not in", "<", "<=", ">", ">=", "==", "match"]>;
11531
+ abi: z.ZodString;
11532
+ functionName: z.ZodString;
11533
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11534
+ }, "strip", z.ZodTypeAny, {
11535
+ type: "evmData";
11536
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
11537
+ abi: string;
11538
+ functionName: string;
11539
+ args?: Record<string, unknown> | undefined;
11540
+ }, {
11541
+ type: "evmData";
11542
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
11543
+ abi: string;
11544
+ functionName: string;
10980
11545
  args?: Record<string, unknown> | undefined;
10981
11546
  }>]>, "many">;
10982
11547
  }, "strip", z.ZodTypeAny, {
@@ -11220,6 +11785,108 @@ declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
11220
11785
  }, {
11221
11786
  action: "accept" | "reject";
11222
11787
  operation: "signEvmHash";
11788
+ }>, z.ZodObject<{
11789
+ action: z.ZodEnum<["reject", "accept"]>;
11790
+ operation: z.ZodLiteral<"sponsorEvmTransaction">;
11791
+ criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11792
+ type: z.ZodLiteral<"ethValue">;
11793
+ operator: z.ZodEnum<["<=", ">=", "<", ">"]>;
11794
+ ethValue: z.ZodString;
11795
+ }, "strip", z.ZodTypeAny, {
11796
+ ethValue: string;
11797
+ type: "ethValue";
11798
+ operator: "<" | "<=" | ">" | ">=";
11799
+ }, {
11800
+ ethValue: string;
11801
+ type: "ethValue";
11802
+ operator: "<" | "<=" | ">" | ">=";
11803
+ }>, z.ZodObject<{
11804
+ type: z.ZodLiteral<"evmAddress">;
11805
+ operator: z.ZodEnum<["in", "not in"]>;
11806
+ addresses: z.ZodArray<z.ZodString, "many">;
11807
+ }, "strip", z.ZodTypeAny, {
11808
+ type: "evmAddress";
11809
+ operator: "in" | "not in";
11810
+ addresses: string[];
11811
+ }, {
11812
+ type: "evmAddress";
11813
+ operator: "in" | "not in";
11814
+ addresses: string[];
11815
+ }>, z.ZodObject<{
11816
+ type: z.ZodLiteral<"evmNetwork">;
11817
+ operator: z.ZodEnum<["in", "not in"]>;
11818
+ chainIds: z.ZodArray<z.ZodNumber, "many">;
11819
+ }, "strip", z.ZodTypeAny, {
11820
+ type: "evmNetwork";
11821
+ operator: "in" | "not in";
11822
+ chainIds: number[];
11823
+ }, {
11824
+ type: "evmNetwork";
11825
+ operator: "in" | "not in";
11826
+ chainIds: number[];
11827
+ }>, z.ZodObject<{
11828
+ type: z.ZodLiteral<"evmData">;
11829
+ operator: z.ZodEnum<["in", "not in", "<", "<=", ">", ">=", "==", "match"]>;
11830
+ abi: z.ZodString;
11831
+ functionName: z.ZodString;
11832
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11833
+ }, "strip", z.ZodTypeAny, {
11834
+ type: "evmData";
11835
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
11836
+ abi: string;
11837
+ functionName: string;
11838
+ args?: Record<string, unknown> | undefined;
11839
+ }, {
11840
+ type: "evmData";
11841
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
11842
+ abi: string;
11843
+ functionName: string;
11844
+ args?: Record<string, unknown> | undefined;
11845
+ }>]>, "many">;
11846
+ }, "strip", z.ZodTypeAny, {
11847
+ action: "accept" | "reject";
11848
+ operation: "sponsorEvmTransaction";
11849
+ criteria: ({
11850
+ ethValue: string;
11851
+ type: "ethValue";
11852
+ operator: "<" | "<=" | ">" | ">=";
11853
+ } | {
11854
+ type: "evmAddress";
11855
+ operator: "in" | "not in";
11856
+ addresses: string[];
11857
+ } | {
11858
+ type: "evmNetwork";
11859
+ operator: "in" | "not in";
11860
+ chainIds: number[];
11861
+ } | {
11862
+ type: "evmData";
11863
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
11864
+ abi: string;
11865
+ functionName: string;
11866
+ args?: Record<string, unknown> | undefined;
11867
+ })[];
11868
+ }, {
11869
+ action: "accept" | "reject";
11870
+ operation: "sponsorEvmTransaction";
11871
+ criteria: ({
11872
+ ethValue: string;
11873
+ type: "ethValue";
11874
+ operator: "<" | "<=" | ">" | ">=";
11875
+ } | {
11876
+ type: "evmAddress";
11877
+ operator: "in" | "not in";
11878
+ addresses: string[];
11879
+ } | {
11880
+ type: "evmNetwork";
11881
+ operator: "in" | "not in";
11882
+ chainIds: number[];
11883
+ } | {
11884
+ type: "evmData";
11885
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
11886
+ abi: string;
11887
+ functionName: string;
11888
+ args?: Record<string, unknown> | undefined;
11889
+ })[];
11223
11890
  }>, z.ZodObject<{
11224
11891
  action: z.ZodEnum<["reject", "accept"]>;
11225
11892
  operation: z.ZodLiteral<"signSolTransaction">;
@@ -11596,11 +12263,193 @@ declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
11596
12263
  operator: "match";
11597
12264
  pattern: string;
11598
12265
  }[];
11599
- }>]>;
11600
- type Rule = z.infer<typeof RuleSchema>;
11601
- declare const CreatePolicyBodySchema: z.ZodObject<{
11602
- /** The scope of the policy. 'project' applies to all accounts, 'account' applies to a specific account. */
11603
- scope: z.ZodEnum<["project", "account"]>;
12266
+ }>, z.ZodObject<{
12267
+ action: z.ZodEnum<["reject", "accept"]>;
12268
+ operation: z.ZodLiteral<"sponsorSolTransaction">;
12269
+ criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12270
+ type: z.ZodLiteral<"solAddress">;
12271
+ operator: z.ZodEnum<["in", "not in"]>;
12272
+ addresses: z.ZodArray<z.ZodString, "many">;
12273
+ }, "strip", z.ZodTypeAny, {
12274
+ type: "solAddress";
12275
+ operator: "in" | "not in";
12276
+ addresses: string[];
12277
+ }, {
12278
+ type: "solAddress";
12279
+ operator: "in" | "not in";
12280
+ addresses: string[];
12281
+ }>, z.ZodObject<{
12282
+ type: z.ZodLiteral<"solValue">;
12283
+ operator: z.ZodEnum<["<=", ">="]>;
12284
+ value: z.ZodString;
12285
+ }, "strip", z.ZodTypeAny, {
12286
+ value: string;
12287
+ type: "solValue";
12288
+ operator: "<=" | ">=";
12289
+ }, {
12290
+ value: string;
12291
+ type: "solValue";
12292
+ operator: "<=" | ">=";
12293
+ }>, z.ZodObject<{
12294
+ type: z.ZodLiteral<"splAddress">;
12295
+ operator: z.ZodEnum<["in", "not in"]>;
12296
+ addresses: z.ZodArray<z.ZodString, "many">;
12297
+ }, "strip", z.ZodTypeAny, {
12298
+ type: "splAddress";
12299
+ operator: "in" | "not in";
12300
+ addresses: string[];
12301
+ }, {
12302
+ type: "splAddress";
12303
+ operator: "in" | "not in";
12304
+ addresses: string[];
12305
+ }>, z.ZodObject<{
12306
+ type: z.ZodLiteral<"splValue">;
12307
+ operator: z.ZodEnum<["<=", ">="]>;
12308
+ value: z.ZodString;
12309
+ }, "strip", z.ZodTypeAny, {
12310
+ value: string;
12311
+ type: "splValue";
12312
+ operator: "<=" | ">=";
12313
+ }, {
12314
+ value: string;
12315
+ type: "splValue";
12316
+ operator: "<=" | ">=";
12317
+ }>, z.ZodObject<{
12318
+ type: z.ZodLiteral<"mintAddress">;
12319
+ operator: z.ZodEnum<["==", "in"]>;
12320
+ addresses: z.ZodArray<z.ZodString, "many">;
12321
+ }, "strip", z.ZodTypeAny, {
12322
+ type: "mintAddress";
12323
+ operator: "in" | "==";
12324
+ addresses: string[];
12325
+ }, {
12326
+ type: "mintAddress";
12327
+ operator: "in" | "==";
12328
+ addresses: string[];
12329
+ }>, z.ZodObject<{
12330
+ type: z.ZodLiteral<"solData">;
12331
+ operator: z.ZodEnum<["in", "not in", "<=", ">=", "==", "match"]>;
12332
+ idl: z.ZodString;
12333
+ instructionName: z.ZodString;
12334
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12335
+ }, "strip", z.ZodTypeAny, {
12336
+ type: "solData";
12337
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
12338
+ idl: string;
12339
+ instructionName: string;
12340
+ args?: Record<string, unknown> | undefined;
12341
+ }, {
12342
+ type: "solData";
12343
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
12344
+ idl: string;
12345
+ instructionName: string;
12346
+ args?: Record<string, unknown> | undefined;
12347
+ }>, z.ZodObject<{
12348
+ type: z.ZodLiteral<"programId">;
12349
+ operator: z.ZodEnum<["in", "not in"]>;
12350
+ programIds: z.ZodArray<z.ZodString, "many">;
12351
+ }, "strip", z.ZodTypeAny, {
12352
+ type: "programId";
12353
+ operator: "in" | "not in";
12354
+ programIds: string[];
12355
+ }, {
12356
+ type: "programId";
12357
+ operator: "in" | "not in";
12358
+ programIds: string[];
12359
+ }>, z.ZodObject<{
12360
+ type: z.ZodLiteral<"solNetwork">;
12361
+ operator: z.ZodEnum<["in", "not in"]>;
12362
+ networks: z.ZodArray<z.ZodEnum<["mainnet-beta", "devnet", "testnet"]>, "many">;
12363
+ }, "strip", z.ZodTypeAny, {
12364
+ type: "solNetwork";
12365
+ operator: "in" | "not in";
12366
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
12367
+ }, {
12368
+ type: "solNetwork";
12369
+ operator: "in" | "not in";
12370
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
12371
+ }>]>, "many">;
12372
+ }, "strip", z.ZodTypeAny, {
12373
+ action: "accept" | "reject";
12374
+ operation: "sponsorSolTransaction";
12375
+ criteria: ({
12376
+ type: "solAddress";
12377
+ operator: "in" | "not in";
12378
+ addresses: string[];
12379
+ } | {
12380
+ value: string;
12381
+ type: "solValue";
12382
+ operator: "<=" | ">=";
12383
+ } | {
12384
+ type: "splAddress";
12385
+ operator: "in" | "not in";
12386
+ addresses: string[];
12387
+ } | {
12388
+ value: string;
12389
+ type: "splValue";
12390
+ operator: "<=" | ">=";
12391
+ } | {
12392
+ type: "mintAddress";
12393
+ operator: "in" | "==";
12394
+ addresses: string[];
12395
+ } | {
12396
+ type: "solData";
12397
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
12398
+ idl: string;
12399
+ instructionName: string;
12400
+ args?: Record<string, unknown> | undefined;
12401
+ } | {
12402
+ type: "programId";
12403
+ operator: "in" | "not in";
12404
+ programIds: string[];
12405
+ } | {
12406
+ type: "solNetwork";
12407
+ operator: "in" | "not in";
12408
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
12409
+ })[];
12410
+ }, {
12411
+ action: "accept" | "reject";
12412
+ operation: "sponsorSolTransaction";
12413
+ criteria: ({
12414
+ type: "solAddress";
12415
+ operator: "in" | "not in";
12416
+ addresses: string[];
12417
+ } | {
12418
+ value: string;
12419
+ type: "solValue";
12420
+ operator: "<=" | ">=";
12421
+ } | {
12422
+ type: "splAddress";
12423
+ operator: "in" | "not in";
12424
+ addresses: string[];
12425
+ } | {
12426
+ value: string;
12427
+ type: "splValue";
12428
+ operator: "<=" | ">=";
12429
+ } | {
12430
+ type: "mintAddress";
12431
+ operator: "in" | "==";
12432
+ addresses: string[];
12433
+ } | {
12434
+ type: "solData";
12435
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
12436
+ idl: string;
12437
+ instructionName: string;
12438
+ args?: Record<string, unknown> | undefined;
12439
+ } | {
12440
+ type: "programId";
12441
+ operator: "in" | "not in";
12442
+ programIds: string[];
12443
+ } | {
12444
+ type: "solNetwork";
12445
+ operator: "in" | "not in";
12446
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
12447
+ })[];
12448
+ }>]>;
12449
+ type Rule = z.infer<typeof RuleSchema>;
12450
+ declare const CreatePolicyBodySchema: z.ZodObject<{
12451
+ /** The scope of the policy. 'project' applies to all accounts, 'account' applies to a specific account. */
12452
+ scope: z.ZodEnum<["project", "account"]>;
11604
12453
  /** A description of what this policy does. */
11605
12454
  description: z.ZodOptional<z.ZodString>;
11606
12455
  /** The account ID for account-scoped policies (starts with acc_). Required when scope is 'account'. */
@@ -11899,65 +12748,167 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
11899
12748
  operation: "signEvmHash";
11900
12749
  }>, z.ZodObject<{
11901
12750
  action: z.ZodEnum<["reject", "accept"]>;
11902
- operation: z.ZodLiteral<"signSolTransaction">;
12751
+ operation: z.ZodLiteral<"sponsorEvmTransaction">;
11903
12752
  criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11904
- type: z.ZodLiteral<"solAddress">;
11905
- operator: z.ZodEnum<["in", "not in"]>;
11906
- addresses: z.ZodArray<z.ZodString, "many">;
11907
- }, "strip", z.ZodTypeAny, {
11908
- type: "solAddress";
11909
- operator: "in" | "not in";
11910
- addresses: string[];
11911
- }, {
11912
- type: "solAddress";
11913
- operator: "in" | "not in";
11914
- addresses: string[];
11915
- }>, z.ZodObject<{
11916
- type: z.ZodLiteral<"solValue">;
11917
- operator: z.ZodEnum<["<=", ">="]>;
11918
- value: z.ZodString;
12753
+ type: z.ZodLiteral<"ethValue">;
12754
+ operator: z.ZodEnum<["<=", ">=", "<", ">"]>;
12755
+ ethValue: z.ZodString;
11919
12756
  }, "strip", z.ZodTypeAny, {
11920
- value: string;
11921
- type: "solValue";
11922
- operator: "<=" | ">=";
12757
+ ethValue: string;
12758
+ type: "ethValue";
12759
+ operator: "<" | "<=" | ">" | ">=";
11923
12760
  }, {
11924
- value: string;
11925
- type: "solValue";
11926
- operator: "<=" | ">=";
12761
+ ethValue: string;
12762
+ type: "ethValue";
12763
+ operator: "<" | "<=" | ">" | ">=";
11927
12764
  }>, z.ZodObject<{
11928
- type: z.ZodLiteral<"splAddress">;
12765
+ type: z.ZodLiteral<"evmAddress">;
11929
12766
  operator: z.ZodEnum<["in", "not in"]>;
11930
12767
  addresses: z.ZodArray<z.ZodString, "many">;
11931
12768
  }, "strip", z.ZodTypeAny, {
11932
- type: "splAddress";
12769
+ type: "evmAddress";
11933
12770
  operator: "in" | "not in";
11934
12771
  addresses: string[];
11935
12772
  }, {
11936
- type: "splAddress";
12773
+ type: "evmAddress";
11937
12774
  operator: "in" | "not in";
11938
12775
  addresses: string[];
11939
12776
  }>, z.ZodObject<{
11940
- type: z.ZodLiteral<"splValue">;
11941
- operator: z.ZodEnum<["<=", ">="]>;
11942
- value: z.ZodString;
12777
+ type: z.ZodLiteral<"evmNetwork">;
12778
+ operator: z.ZodEnum<["in", "not in"]>;
12779
+ chainIds: z.ZodArray<z.ZodNumber, "many">;
11943
12780
  }, "strip", z.ZodTypeAny, {
11944
- value: string;
11945
- type: "splValue";
11946
- operator: "<=" | ">=";
12781
+ type: "evmNetwork";
12782
+ operator: "in" | "not in";
12783
+ chainIds: number[];
11947
12784
  }, {
11948
- value: string;
11949
- type: "splValue";
11950
- operator: "<=" | ">=";
12785
+ type: "evmNetwork";
12786
+ operator: "in" | "not in";
12787
+ chainIds: number[];
11951
12788
  }>, z.ZodObject<{
11952
- type: z.ZodLiteral<"mintAddress">;
11953
- operator: z.ZodEnum<["==", "in"]>;
11954
- addresses: z.ZodArray<z.ZodString, "many">;
12789
+ type: z.ZodLiteral<"evmData">;
12790
+ operator: z.ZodEnum<["in", "not in", "<", "<=", ">", ">=", "==", "match"]>;
12791
+ abi: z.ZodString;
12792
+ functionName: z.ZodString;
12793
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11955
12794
  }, "strip", z.ZodTypeAny, {
11956
- type: "mintAddress";
11957
- operator: "in" | "==";
11958
- addresses: string[];
12795
+ type: "evmData";
12796
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
12797
+ abi: string;
12798
+ functionName: string;
12799
+ args?: Record<string, unknown> | undefined;
11959
12800
  }, {
11960
- type: "mintAddress";
12801
+ type: "evmData";
12802
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
12803
+ abi: string;
12804
+ functionName: string;
12805
+ args?: Record<string, unknown> | undefined;
12806
+ }>]>, "many">;
12807
+ }, "strip", z.ZodTypeAny, {
12808
+ action: "accept" | "reject";
12809
+ operation: "sponsorEvmTransaction";
12810
+ criteria: ({
12811
+ ethValue: string;
12812
+ type: "ethValue";
12813
+ operator: "<" | "<=" | ">" | ">=";
12814
+ } | {
12815
+ type: "evmAddress";
12816
+ operator: "in" | "not in";
12817
+ addresses: string[];
12818
+ } | {
12819
+ type: "evmNetwork";
12820
+ operator: "in" | "not in";
12821
+ chainIds: number[];
12822
+ } | {
12823
+ type: "evmData";
12824
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
12825
+ abi: string;
12826
+ functionName: string;
12827
+ args?: Record<string, unknown> | undefined;
12828
+ })[];
12829
+ }, {
12830
+ action: "accept" | "reject";
12831
+ operation: "sponsorEvmTransaction";
12832
+ criteria: ({
12833
+ ethValue: string;
12834
+ type: "ethValue";
12835
+ operator: "<" | "<=" | ">" | ">=";
12836
+ } | {
12837
+ type: "evmAddress";
12838
+ operator: "in" | "not in";
12839
+ addresses: string[];
12840
+ } | {
12841
+ type: "evmNetwork";
12842
+ operator: "in" | "not in";
12843
+ chainIds: number[];
12844
+ } | {
12845
+ type: "evmData";
12846
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
12847
+ abi: string;
12848
+ functionName: string;
12849
+ args?: Record<string, unknown> | undefined;
12850
+ })[];
12851
+ }>, z.ZodObject<{
12852
+ action: z.ZodEnum<["reject", "accept"]>;
12853
+ operation: z.ZodLiteral<"signSolTransaction">;
12854
+ criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12855
+ type: z.ZodLiteral<"solAddress">;
12856
+ operator: z.ZodEnum<["in", "not in"]>;
12857
+ addresses: z.ZodArray<z.ZodString, "many">;
12858
+ }, "strip", z.ZodTypeAny, {
12859
+ type: "solAddress";
12860
+ operator: "in" | "not in";
12861
+ addresses: string[];
12862
+ }, {
12863
+ type: "solAddress";
12864
+ operator: "in" | "not in";
12865
+ addresses: string[];
12866
+ }>, z.ZodObject<{
12867
+ type: z.ZodLiteral<"solValue">;
12868
+ operator: z.ZodEnum<["<=", ">="]>;
12869
+ value: z.ZodString;
12870
+ }, "strip", z.ZodTypeAny, {
12871
+ value: string;
12872
+ type: "solValue";
12873
+ operator: "<=" | ">=";
12874
+ }, {
12875
+ value: string;
12876
+ type: "solValue";
12877
+ operator: "<=" | ">=";
12878
+ }>, z.ZodObject<{
12879
+ type: z.ZodLiteral<"splAddress">;
12880
+ operator: z.ZodEnum<["in", "not in"]>;
12881
+ addresses: z.ZodArray<z.ZodString, "many">;
12882
+ }, "strip", z.ZodTypeAny, {
12883
+ type: "splAddress";
12884
+ operator: "in" | "not in";
12885
+ addresses: string[];
12886
+ }, {
12887
+ type: "splAddress";
12888
+ operator: "in" | "not in";
12889
+ addresses: string[];
12890
+ }>, z.ZodObject<{
12891
+ type: z.ZodLiteral<"splValue">;
12892
+ operator: z.ZodEnum<["<=", ">="]>;
12893
+ value: z.ZodString;
12894
+ }, "strip", z.ZodTypeAny, {
12895
+ value: string;
12896
+ type: "splValue";
12897
+ operator: "<=" | ">=";
12898
+ }, {
12899
+ value: string;
12900
+ type: "splValue";
12901
+ operator: "<=" | ">=";
12902
+ }>, z.ZodObject<{
12903
+ type: z.ZodLiteral<"mintAddress">;
12904
+ operator: z.ZodEnum<["==", "in"]>;
12905
+ addresses: z.ZodArray<z.ZodString, "many">;
12906
+ }, "strip", z.ZodTypeAny, {
12907
+ type: "mintAddress";
12908
+ operator: "in" | "==";
12909
+ addresses: string[];
12910
+ }, {
12911
+ type: "mintAddress";
11961
12912
  operator: "in" | "==";
11962
12913
  addresses: string[];
11963
12914
  }>, z.ZodObject<{
@@ -12273,113 +13224,117 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
12273
13224
  operator: "match";
12274
13225
  pattern: string;
12275
13226
  }[];
12276
- }>]>, "many">;
12277
- }, "strip", z.ZodTypeAny, {
12278
- scope: "account" | "project";
12279
- rules: ({
12280
- action: "accept" | "reject";
12281
- operation: "signEvmTransaction";
12282
- criteria: ({
12283
- ethValue: string;
12284
- type: "ethValue";
12285
- operator: "<" | "<=" | ">" | ">=";
12286
- } | {
12287
- type: "evmAddress";
12288
- operator: "in" | "not in";
12289
- addresses: string[];
12290
- } | {
12291
- type: "evmData";
12292
- operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
12293
- abi: string;
12294
- functionName: string;
12295
- args?: Record<string, unknown> | undefined;
12296
- })[];
12297
- } | {
12298
- action: "accept" | "reject";
12299
- operation: "sendEvmTransaction";
12300
- criteria: ({
12301
- ethValue: string;
12302
- type: "ethValue";
12303
- operator: "<" | "<=" | ">" | ">=";
12304
- } | {
12305
- type: "evmAddress";
12306
- operator: "in" | "not in";
12307
- addresses: string[];
12308
- } | {
12309
- type: "evmNetwork";
12310
- operator: "in" | "not in";
12311
- chainIds: number[];
12312
- } | {
12313
- type: "evmData";
12314
- operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
12315
- abi: string;
12316
- functionName: string;
12317
- args?: Record<string, unknown> | undefined;
12318
- })[];
12319
- } | {
12320
- action: "accept" | "reject";
12321
- operation: "signEvmMessage";
12322
- criteria: {
12323
- type: "evmMessage";
12324
- operator: "match";
12325
- pattern: string;
12326
- }[];
12327
- } | {
12328
- action: "accept" | "reject";
12329
- operation: "signEvmTypedData";
12330
- criteria: ({
12331
- type: "evmTypedDataVerifyingContract";
13227
+ }>, z.ZodObject<{
13228
+ action: z.ZodEnum<["reject", "accept"]>;
13229
+ operation: z.ZodLiteral<"sponsorSolTransaction">;
13230
+ criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13231
+ type: z.ZodLiteral<"solAddress">;
13232
+ operator: z.ZodEnum<["in", "not in"]>;
13233
+ addresses: z.ZodArray<z.ZodString, "many">;
13234
+ }, "strip", z.ZodTypeAny, {
13235
+ type: "solAddress";
12332
13236
  operator: "in" | "not in";
12333
13237
  addresses: string[];
12334
- } | {
12335
- type: "evmTypedDataField";
12336
- operator: "match" | "in" | "<=";
12337
- fieldPath: string;
12338
- value?: string | undefined;
12339
- values?: string[] | undefined;
12340
- })[];
12341
- } | {
12342
- action: "accept" | "reject";
12343
- operation: "signEvmHash";
12344
- } | {
12345
- action: "accept" | "reject";
12346
- operation: "signSolTransaction";
12347
- criteria: ({
13238
+ }, {
12348
13239
  type: "solAddress";
12349
13240
  operator: "in" | "not in";
12350
13241
  addresses: string[];
12351
- } | {
13242
+ }>, z.ZodObject<{
13243
+ type: z.ZodLiteral<"solValue">;
13244
+ operator: z.ZodEnum<["<=", ">="]>;
13245
+ value: z.ZodString;
13246
+ }, "strip", z.ZodTypeAny, {
12352
13247
  value: string;
12353
13248
  type: "solValue";
12354
13249
  operator: "<=" | ">=";
12355
- } | {
13250
+ }, {
13251
+ value: string;
13252
+ type: "solValue";
13253
+ operator: "<=" | ">=";
13254
+ }>, z.ZodObject<{
13255
+ type: z.ZodLiteral<"splAddress">;
13256
+ operator: z.ZodEnum<["in", "not in"]>;
13257
+ addresses: z.ZodArray<z.ZodString, "many">;
13258
+ }, "strip", z.ZodTypeAny, {
12356
13259
  type: "splAddress";
12357
13260
  operator: "in" | "not in";
12358
13261
  addresses: string[];
12359
- } | {
13262
+ }, {
13263
+ type: "splAddress";
13264
+ operator: "in" | "not in";
13265
+ addresses: string[];
13266
+ }>, z.ZodObject<{
13267
+ type: z.ZodLiteral<"splValue">;
13268
+ operator: z.ZodEnum<["<=", ">="]>;
13269
+ value: z.ZodString;
13270
+ }, "strip", z.ZodTypeAny, {
12360
13271
  value: string;
12361
13272
  type: "splValue";
12362
13273
  operator: "<=" | ">=";
12363
- } | {
13274
+ }, {
13275
+ value: string;
13276
+ type: "splValue";
13277
+ operator: "<=" | ">=";
13278
+ }>, z.ZodObject<{
13279
+ type: z.ZodLiteral<"mintAddress">;
13280
+ operator: z.ZodEnum<["==", "in"]>;
13281
+ addresses: z.ZodArray<z.ZodString, "many">;
13282
+ }, "strip", z.ZodTypeAny, {
12364
13283
  type: "mintAddress";
12365
13284
  operator: "in" | "==";
12366
13285
  addresses: string[];
12367
- } | {
13286
+ }, {
13287
+ type: "mintAddress";
13288
+ operator: "in" | "==";
13289
+ addresses: string[];
13290
+ }>, z.ZodObject<{
13291
+ type: z.ZodLiteral<"solData">;
13292
+ operator: z.ZodEnum<["in", "not in", "<=", ">=", "==", "match"]>;
13293
+ idl: z.ZodString;
13294
+ instructionName: z.ZodString;
13295
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13296
+ }, "strip", z.ZodTypeAny, {
12368
13297
  type: "solData";
12369
13298
  operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
12370
13299
  idl: string;
12371
13300
  instructionName: string;
12372
13301
  args?: Record<string, unknown> | undefined;
12373
- } | {
13302
+ }, {
13303
+ type: "solData";
13304
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
13305
+ idl: string;
13306
+ instructionName: string;
13307
+ args?: Record<string, unknown> | undefined;
13308
+ }>, z.ZodObject<{
13309
+ type: z.ZodLiteral<"programId">;
13310
+ operator: z.ZodEnum<["in", "not in"]>;
13311
+ programIds: z.ZodArray<z.ZodString, "many">;
13312
+ }, "strip", z.ZodTypeAny, {
12374
13313
  type: "programId";
12375
13314
  operator: "in" | "not in";
12376
13315
  programIds: string[];
12377
- })[];
12378
- } | {
12379
- action: "accept" | "reject";
12380
- operation: "sendSolTransaction";
12381
- criteria: ({
12382
- type: "solAddress";
13316
+ }, {
13317
+ type: "programId";
13318
+ operator: "in" | "not in";
13319
+ programIds: string[];
13320
+ }>, z.ZodObject<{
13321
+ type: z.ZodLiteral<"solNetwork">;
13322
+ operator: z.ZodEnum<["in", "not in"]>;
13323
+ networks: z.ZodArray<z.ZodEnum<["mainnet-beta", "devnet", "testnet"]>, "many">;
13324
+ }, "strip", z.ZodTypeAny, {
13325
+ type: "solNetwork";
13326
+ operator: "in" | "not in";
13327
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
13328
+ }, {
13329
+ type: "solNetwork";
13330
+ operator: "in" | "not in";
13331
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
13332
+ }>]>, "many">;
13333
+ }, "strip", z.ZodTypeAny, {
13334
+ action: "accept" | "reject";
13335
+ operation: "sponsorSolTransaction";
13336
+ criteria: ({
13337
+ type: "solAddress";
12383
13338
  operator: "in" | "not in";
12384
13339
  addresses: string[];
12385
13340
  } | {
@@ -12413,20 +13368,46 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
12413
13368
  operator: "in" | "not in";
12414
13369
  networks: ("mainnet-beta" | "devnet" | "testnet")[];
12415
13370
  })[];
12416
- } | {
13371
+ }, {
12417
13372
  action: "accept" | "reject";
12418
- operation: "signSolMessage";
12419
- criteria: {
12420
- type: "solMessage";
12421
- operator: "match";
12422
- pattern: string;
12423
- }[];
12424
- })[];
12425
- priority?: number | undefined;
12426
- accountId?: string | undefined;
12427
- description?: string | undefined;
12428
- enabled?: boolean | undefined;
12429
- }, {
13373
+ operation: "sponsorSolTransaction";
13374
+ criteria: ({
13375
+ type: "solAddress";
13376
+ operator: "in" | "not in";
13377
+ addresses: string[];
13378
+ } | {
13379
+ value: string;
13380
+ type: "solValue";
13381
+ operator: "<=" | ">=";
13382
+ } | {
13383
+ type: "splAddress";
13384
+ operator: "in" | "not in";
13385
+ addresses: string[];
13386
+ } | {
13387
+ value: string;
13388
+ type: "splValue";
13389
+ operator: "<=" | ">=";
13390
+ } | {
13391
+ type: "mintAddress";
13392
+ operator: "in" | "==";
13393
+ addresses: string[];
13394
+ } | {
13395
+ type: "solData";
13396
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
13397
+ idl: string;
13398
+ instructionName: string;
13399
+ args?: Record<string, unknown> | undefined;
13400
+ } | {
13401
+ type: "programId";
13402
+ operator: "in" | "not in";
13403
+ programIds: string[];
13404
+ } | {
13405
+ type: "solNetwork";
13406
+ operator: "in" | "not in";
13407
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
13408
+ })[];
13409
+ }>]>, "many">;
13410
+ }, "strip", z.ZodTypeAny, {
12430
13411
  scope: "account" | "project";
12431
13412
  rules: ({
12432
13413
  action: "accept" | "reject";
@@ -12493,6 +13474,28 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
12493
13474
  } | {
12494
13475
  action: "accept" | "reject";
12495
13476
  operation: "signEvmHash";
13477
+ } | {
13478
+ action: "accept" | "reject";
13479
+ operation: "sponsorEvmTransaction";
13480
+ criteria: ({
13481
+ ethValue: string;
13482
+ type: "ethValue";
13483
+ operator: "<" | "<=" | ">" | ">=";
13484
+ } | {
13485
+ type: "evmAddress";
13486
+ operator: "in" | "not in";
13487
+ addresses: string[];
13488
+ } | {
13489
+ type: "evmNetwork";
13490
+ operator: "in" | "not in";
13491
+ chainIds: number[];
13492
+ } | {
13493
+ type: "evmData";
13494
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
13495
+ abi: string;
13496
+ functionName: string;
13497
+ args?: Record<string, unknown> | undefined;
13498
+ })[];
12496
13499
  } | {
12497
13500
  action: "accept" | "reject";
12498
13501
  operation: "signSolTransaction";
@@ -12573,70 +13576,72 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
12573
13576
  operator: "match";
12574
13577
  pattern: string;
12575
13578
  }[];
13579
+ } | {
13580
+ action: "accept" | "reject";
13581
+ operation: "sponsorSolTransaction";
13582
+ criteria: ({
13583
+ type: "solAddress";
13584
+ operator: "in" | "not in";
13585
+ addresses: string[];
13586
+ } | {
13587
+ value: string;
13588
+ type: "solValue";
13589
+ operator: "<=" | ">=";
13590
+ } | {
13591
+ type: "splAddress";
13592
+ operator: "in" | "not in";
13593
+ addresses: string[];
13594
+ } | {
13595
+ value: string;
13596
+ type: "splValue";
13597
+ operator: "<=" | ">=";
13598
+ } | {
13599
+ type: "mintAddress";
13600
+ operator: "in" | "==";
13601
+ addresses: string[];
13602
+ } | {
13603
+ type: "solData";
13604
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
13605
+ idl: string;
13606
+ instructionName: string;
13607
+ args?: Record<string, unknown> | undefined;
13608
+ } | {
13609
+ type: "programId";
13610
+ operator: "in" | "not in";
13611
+ programIds: string[];
13612
+ } | {
13613
+ type: "solNetwork";
13614
+ operator: "in" | "not in";
13615
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
13616
+ })[];
12576
13617
  })[];
12577
13618
  priority?: number | undefined;
12578
13619
  accountId?: string | undefined;
12579
13620
  description?: string | undefined;
12580
13621
  enabled?: boolean | undefined;
12581
- }>;
12582
- type CreatePolicyBody = z.infer<typeof CreatePolicyBodySchema>;
12583
- declare const UpdatePolicyBodySchema: z.ZodObject<{
12584
- /** A description of what this policy does. */
12585
- description: z.ZodOptional<z.ZodString>;
12586
- /** Whether the policy is enabled. */
12587
- enabled: z.ZodOptional<z.ZodBoolean>;
12588
- /** Priority of the policy. Higher priority policies are evaluated first. */
12589
- priority: z.ZodOptional<z.ZodNumber>;
12590
- /** The rules that make up this policy. If provided, replaces all existing rules. Maximum 10 rules. */
12591
- rules: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
12592
- action: z.ZodEnum<["reject", "accept"]>;
12593
- operation: z.ZodLiteral<"signEvmTransaction">;
12594
- criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12595
- type: z.ZodLiteral<"ethValue">;
12596
- operator: z.ZodEnum<["<=", ">=", "<", ">"]>;
12597
- ethValue: z.ZodString;
12598
- }, "strip", z.ZodTypeAny, {
12599
- ethValue: string;
12600
- type: "ethValue";
12601
- operator: "<" | "<=" | ">" | ">=";
12602
- }, {
13622
+ }, {
13623
+ scope: "account" | "project";
13624
+ rules: ({
13625
+ action: "accept" | "reject";
13626
+ operation: "signEvmTransaction";
13627
+ criteria: ({
12603
13628
  ethValue: string;
12604
13629
  type: "ethValue";
12605
13630
  operator: "<" | "<=" | ">" | ">=";
12606
- }>, z.ZodObject<{
12607
- type: z.ZodLiteral<"evmAddress">;
12608
- operator: z.ZodEnum<["in", "not in"]>;
12609
- addresses: z.ZodArray<z.ZodString, "many">;
12610
- }, "strip", z.ZodTypeAny, {
12611
- type: "evmAddress";
12612
- operator: "in" | "not in";
12613
- addresses: string[];
12614
- }, {
13631
+ } | {
12615
13632
  type: "evmAddress";
12616
13633
  operator: "in" | "not in";
12617
13634
  addresses: string[];
12618
- }>, z.ZodObject<{
12619
- type: z.ZodLiteral<"evmData">;
12620
- operator: z.ZodEnum<["in", "not in", "<", "<=", ">", ">=", "==", "match"]>;
12621
- abi: z.ZodString;
12622
- functionName: z.ZodString;
12623
- args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12624
- }, "strip", z.ZodTypeAny, {
12625
- type: "evmData";
12626
- operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
12627
- abi: string;
12628
- functionName: string;
12629
- args?: Record<string, unknown> | undefined;
12630
- }, {
13635
+ } | {
12631
13636
  type: "evmData";
12632
13637
  operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
12633
13638
  abi: string;
12634
13639
  functionName: string;
12635
13640
  args?: Record<string, unknown> | undefined;
12636
- }>]>, "many">;
12637
- }, "strip", z.ZodTypeAny, {
13641
+ })[];
13642
+ } | {
12638
13643
  action: "accept" | "reject";
12639
- operation: "signEvmTransaction";
13644
+ operation: "sendEvmTransaction";
12640
13645
  criteria: ({
12641
13646
  ethValue: string;
12642
13647
  type: "ethValue";
@@ -12645,6 +13650,10 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
12645
13650
  type: "evmAddress";
12646
13651
  operator: "in" | "not in";
12647
13652
  addresses: string[];
13653
+ } | {
13654
+ type: "evmNetwork";
13655
+ operator: "in" | "not in";
13656
+ chainIds: number[];
12648
13657
  } | {
12649
13658
  type: "evmData";
12650
13659
  operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
@@ -12652,9 +13661,34 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
12652
13661
  functionName: string;
12653
13662
  args?: Record<string, unknown> | undefined;
12654
13663
  })[];
12655
- }, {
13664
+ } | {
12656
13665
  action: "accept" | "reject";
12657
- operation: "signEvmTransaction";
13666
+ operation: "signEvmMessage";
13667
+ criteria: {
13668
+ type: "evmMessage";
13669
+ operator: "match";
13670
+ pattern: string;
13671
+ }[];
13672
+ } | {
13673
+ action: "accept" | "reject";
13674
+ operation: "signEvmTypedData";
13675
+ criteria: ({
13676
+ type: "evmTypedDataVerifyingContract";
13677
+ operator: "in" | "not in";
13678
+ addresses: string[];
13679
+ } | {
13680
+ type: "evmTypedDataField";
13681
+ operator: "match" | "in" | "<=";
13682
+ fieldPath: string;
13683
+ value?: string | undefined;
13684
+ values?: string[] | undefined;
13685
+ })[];
13686
+ } | {
13687
+ action: "accept" | "reject";
13688
+ operation: "signEvmHash";
13689
+ } | {
13690
+ action: "accept" | "reject";
13691
+ operation: "sponsorEvmTransaction";
12658
13692
  criteria: ({
12659
13693
  ethValue: string;
12660
13694
  type: "ethValue";
@@ -12663,6 +13697,10 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
12663
13697
  type: "evmAddress";
12664
13698
  operator: "in" | "not in";
12665
13699
  addresses: string[];
13700
+ } | {
13701
+ type: "evmNetwork";
13702
+ operator: "in" | "not in";
13703
+ chainIds: number[];
12666
13704
  } | {
12667
13705
  type: "evmData";
12668
13706
  operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
@@ -12670,31 +13708,246 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
12670
13708
  functionName: string;
12671
13709
  args?: Record<string, unknown> | undefined;
12672
13710
  })[];
12673
- }>, z.ZodObject<{
12674
- action: z.ZodEnum<["reject", "accept"]>;
12675
- operation: z.ZodLiteral<"sendEvmTransaction">;
12676
- criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12677
- type: z.ZodLiteral<"ethValue">;
12678
- operator: z.ZodEnum<["<=", ">=", "<", ">"]>;
12679
- ethValue: z.ZodString;
12680
- }, "strip", z.ZodTypeAny, {
12681
- ethValue: string;
12682
- type: "ethValue";
12683
- operator: "<" | "<=" | ">" | ">=";
12684
- }, {
12685
- ethValue: string;
12686
- type: "ethValue";
12687
- operator: "<" | "<=" | ">" | ">=";
12688
- }>, z.ZodObject<{
12689
- type: z.ZodLiteral<"evmAddress">;
12690
- operator: z.ZodEnum<["in", "not in"]>;
12691
- addresses: z.ZodArray<z.ZodString, "many">;
12692
- }, "strip", z.ZodTypeAny, {
12693
- type: "evmAddress";
13711
+ } | {
13712
+ action: "accept" | "reject";
13713
+ operation: "signSolTransaction";
13714
+ criteria: ({
13715
+ type: "solAddress";
12694
13716
  operator: "in" | "not in";
12695
13717
  addresses: string[];
12696
- }, {
12697
- type: "evmAddress";
13718
+ } | {
13719
+ value: string;
13720
+ type: "solValue";
13721
+ operator: "<=" | ">=";
13722
+ } | {
13723
+ type: "splAddress";
13724
+ operator: "in" | "not in";
13725
+ addresses: string[];
13726
+ } | {
13727
+ value: string;
13728
+ type: "splValue";
13729
+ operator: "<=" | ">=";
13730
+ } | {
13731
+ type: "mintAddress";
13732
+ operator: "in" | "==";
13733
+ addresses: string[];
13734
+ } | {
13735
+ type: "solData";
13736
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
13737
+ idl: string;
13738
+ instructionName: string;
13739
+ args?: Record<string, unknown> | undefined;
13740
+ } | {
13741
+ type: "programId";
13742
+ operator: "in" | "not in";
13743
+ programIds: string[];
13744
+ })[];
13745
+ } | {
13746
+ action: "accept" | "reject";
13747
+ operation: "sendSolTransaction";
13748
+ criteria: ({
13749
+ type: "solAddress";
13750
+ operator: "in" | "not in";
13751
+ addresses: string[];
13752
+ } | {
13753
+ value: string;
13754
+ type: "solValue";
13755
+ operator: "<=" | ">=";
13756
+ } | {
13757
+ type: "splAddress";
13758
+ operator: "in" | "not in";
13759
+ addresses: string[];
13760
+ } | {
13761
+ value: string;
13762
+ type: "splValue";
13763
+ operator: "<=" | ">=";
13764
+ } | {
13765
+ type: "mintAddress";
13766
+ operator: "in" | "==";
13767
+ addresses: string[];
13768
+ } | {
13769
+ type: "solData";
13770
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
13771
+ idl: string;
13772
+ instructionName: string;
13773
+ args?: Record<string, unknown> | undefined;
13774
+ } | {
13775
+ type: "programId";
13776
+ operator: "in" | "not in";
13777
+ programIds: string[];
13778
+ } | {
13779
+ type: "solNetwork";
13780
+ operator: "in" | "not in";
13781
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
13782
+ })[];
13783
+ } | {
13784
+ action: "accept" | "reject";
13785
+ operation: "signSolMessage";
13786
+ criteria: {
13787
+ type: "solMessage";
13788
+ operator: "match";
13789
+ pattern: string;
13790
+ }[];
13791
+ } | {
13792
+ action: "accept" | "reject";
13793
+ operation: "sponsorSolTransaction";
13794
+ criteria: ({
13795
+ type: "solAddress";
13796
+ operator: "in" | "not in";
13797
+ addresses: string[];
13798
+ } | {
13799
+ value: string;
13800
+ type: "solValue";
13801
+ operator: "<=" | ">=";
13802
+ } | {
13803
+ type: "splAddress";
13804
+ operator: "in" | "not in";
13805
+ addresses: string[];
13806
+ } | {
13807
+ value: string;
13808
+ type: "splValue";
13809
+ operator: "<=" | ">=";
13810
+ } | {
13811
+ type: "mintAddress";
13812
+ operator: "in" | "==";
13813
+ addresses: string[];
13814
+ } | {
13815
+ type: "solData";
13816
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
13817
+ idl: string;
13818
+ instructionName: string;
13819
+ args?: Record<string, unknown> | undefined;
13820
+ } | {
13821
+ type: "programId";
13822
+ operator: "in" | "not in";
13823
+ programIds: string[];
13824
+ } | {
13825
+ type: "solNetwork";
13826
+ operator: "in" | "not in";
13827
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
13828
+ })[];
13829
+ })[];
13830
+ priority?: number | undefined;
13831
+ accountId?: string | undefined;
13832
+ description?: string | undefined;
13833
+ enabled?: boolean | undefined;
13834
+ }>;
13835
+ type CreatePolicyBody = z.infer<typeof CreatePolicyBodySchema>;
13836
+ declare const UpdatePolicyBodySchema: z.ZodObject<{
13837
+ /** A description of what this policy does. */
13838
+ description: z.ZodOptional<z.ZodString>;
13839
+ /** Whether the policy is enabled. */
13840
+ enabled: z.ZodOptional<z.ZodBoolean>;
13841
+ /** Priority of the policy. Higher priority policies are evaluated first. */
13842
+ priority: z.ZodOptional<z.ZodNumber>;
13843
+ /** The rules that make up this policy. If provided, replaces all existing rules. Maximum 10 rules. */
13844
+ rules: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
13845
+ action: z.ZodEnum<["reject", "accept"]>;
13846
+ operation: z.ZodLiteral<"signEvmTransaction">;
13847
+ criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13848
+ type: z.ZodLiteral<"ethValue">;
13849
+ operator: z.ZodEnum<["<=", ">=", "<", ">"]>;
13850
+ ethValue: z.ZodString;
13851
+ }, "strip", z.ZodTypeAny, {
13852
+ ethValue: string;
13853
+ type: "ethValue";
13854
+ operator: "<" | "<=" | ">" | ">=";
13855
+ }, {
13856
+ ethValue: string;
13857
+ type: "ethValue";
13858
+ operator: "<" | "<=" | ">" | ">=";
13859
+ }>, z.ZodObject<{
13860
+ type: z.ZodLiteral<"evmAddress">;
13861
+ operator: z.ZodEnum<["in", "not in"]>;
13862
+ addresses: z.ZodArray<z.ZodString, "many">;
13863
+ }, "strip", z.ZodTypeAny, {
13864
+ type: "evmAddress";
13865
+ operator: "in" | "not in";
13866
+ addresses: string[];
13867
+ }, {
13868
+ type: "evmAddress";
13869
+ operator: "in" | "not in";
13870
+ addresses: string[];
13871
+ }>, z.ZodObject<{
13872
+ type: z.ZodLiteral<"evmData">;
13873
+ operator: z.ZodEnum<["in", "not in", "<", "<=", ">", ">=", "==", "match"]>;
13874
+ abi: z.ZodString;
13875
+ functionName: z.ZodString;
13876
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13877
+ }, "strip", z.ZodTypeAny, {
13878
+ type: "evmData";
13879
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
13880
+ abi: string;
13881
+ functionName: string;
13882
+ args?: Record<string, unknown> | undefined;
13883
+ }, {
13884
+ type: "evmData";
13885
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
13886
+ abi: string;
13887
+ functionName: string;
13888
+ args?: Record<string, unknown> | undefined;
13889
+ }>]>, "many">;
13890
+ }, "strip", z.ZodTypeAny, {
13891
+ action: "accept" | "reject";
13892
+ operation: "signEvmTransaction";
13893
+ criteria: ({
13894
+ ethValue: string;
13895
+ type: "ethValue";
13896
+ operator: "<" | "<=" | ">" | ">=";
13897
+ } | {
13898
+ type: "evmAddress";
13899
+ operator: "in" | "not in";
13900
+ addresses: string[];
13901
+ } | {
13902
+ type: "evmData";
13903
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
13904
+ abi: string;
13905
+ functionName: string;
13906
+ args?: Record<string, unknown> | undefined;
13907
+ })[];
13908
+ }, {
13909
+ action: "accept" | "reject";
13910
+ operation: "signEvmTransaction";
13911
+ criteria: ({
13912
+ ethValue: string;
13913
+ type: "ethValue";
13914
+ operator: "<" | "<=" | ">" | ">=";
13915
+ } | {
13916
+ type: "evmAddress";
13917
+ operator: "in" | "not in";
13918
+ addresses: string[];
13919
+ } | {
13920
+ type: "evmData";
13921
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
13922
+ abi: string;
13923
+ functionName: string;
13924
+ args?: Record<string, unknown> | undefined;
13925
+ })[];
13926
+ }>, z.ZodObject<{
13927
+ action: z.ZodEnum<["reject", "accept"]>;
13928
+ operation: z.ZodLiteral<"sendEvmTransaction">;
13929
+ criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13930
+ type: z.ZodLiteral<"ethValue">;
13931
+ operator: z.ZodEnum<["<=", ">=", "<", ">"]>;
13932
+ ethValue: z.ZodString;
13933
+ }, "strip", z.ZodTypeAny, {
13934
+ ethValue: string;
13935
+ type: "ethValue";
13936
+ operator: "<" | "<=" | ">" | ">=";
13937
+ }, {
13938
+ ethValue: string;
13939
+ type: "ethValue";
13940
+ operator: "<" | "<=" | ">" | ">=";
13941
+ }>, z.ZodObject<{
13942
+ type: z.ZodLiteral<"evmAddress">;
13943
+ operator: z.ZodEnum<["in", "not in"]>;
13944
+ addresses: z.ZodArray<z.ZodString, "many">;
13945
+ }, "strip", z.ZodTypeAny, {
13946
+ type: "evmAddress";
13947
+ operator: "in" | "not in";
13948
+ addresses: string[];
13949
+ }, {
13950
+ type: "evmAddress";
12698
13951
  operator: "in" | "not in";
12699
13952
  addresses: string[];
12700
13953
  }>, z.ZodObject<{
@@ -12860,24 +14113,288 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
12860
14113
  operator: "in" | "not in";
12861
14114
  addresses: string[];
12862
14115
  } | {
12863
- type: "evmTypedDataField";
12864
- operator: "match" | "in" | "<=";
12865
- fieldPath: string;
12866
- value?: string | undefined;
12867
- values?: string[] | undefined;
14116
+ type: "evmTypedDataField";
14117
+ operator: "match" | "in" | "<=";
14118
+ fieldPath: string;
14119
+ value?: string | undefined;
14120
+ values?: string[] | undefined;
14121
+ })[];
14122
+ }>, z.ZodObject<{
14123
+ action: z.ZodEnum<["reject", "accept"]>;
14124
+ operation: z.ZodLiteral<"signEvmHash">;
14125
+ }, "strip", z.ZodTypeAny, {
14126
+ action: "accept" | "reject";
14127
+ operation: "signEvmHash";
14128
+ }, {
14129
+ action: "accept" | "reject";
14130
+ operation: "signEvmHash";
14131
+ }>, z.ZodObject<{
14132
+ action: z.ZodEnum<["reject", "accept"]>;
14133
+ operation: z.ZodLiteral<"sponsorEvmTransaction">;
14134
+ criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14135
+ type: z.ZodLiteral<"ethValue">;
14136
+ operator: z.ZodEnum<["<=", ">=", "<", ">"]>;
14137
+ ethValue: z.ZodString;
14138
+ }, "strip", z.ZodTypeAny, {
14139
+ ethValue: string;
14140
+ type: "ethValue";
14141
+ operator: "<" | "<=" | ">" | ">=";
14142
+ }, {
14143
+ ethValue: string;
14144
+ type: "ethValue";
14145
+ operator: "<" | "<=" | ">" | ">=";
14146
+ }>, z.ZodObject<{
14147
+ type: z.ZodLiteral<"evmAddress">;
14148
+ operator: z.ZodEnum<["in", "not in"]>;
14149
+ addresses: z.ZodArray<z.ZodString, "many">;
14150
+ }, "strip", z.ZodTypeAny, {
14151
+ type: "evmAddress";
14152
+ operator: "in" | "not in";
14153
+ addresses: string[];
14154
+ }, {
14155
+ type: "evmAddress";
14156
+ operator: "in" | "not in";
14157
+ addresses: string[];
14158
+ }>, z.ZodObject<{
14159
+ type: z.ZodLiteral<"evmNetwork">;
14160
+ operator: z.ZodEnum<["in", "not in"]>;
14161
+ chainIds: z.ZodArray<z.ZodNumber, "many">;
14162
+ }, "strip", z.ZodTypeAny, {
14163
+ type: "evmNetwork";
14164
+ operator: "in" | "not in";
14165
+ chainIds: number[];
14166
+ }, {
14167
+ type: "evmNetwork";
14168
+ operator: "in" | "not in";
14169
+ chainIds: number[];
14170
+ }>, z.ZodObject<{
14171
+ type: z.ZodLiteral<"evmData">;
14172
+ operator: z.ZodEnum<["in", "not in", "<", "<=", ">", ">=", "==", "match"]>;
14173
+ abi: z.ZodString;
14174
+ functionName: z.ZodString;
14175
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14176
+ }, "strip", z.ZodTypeAny, {
14177
+ type: "evmData";
14178
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
14179
+ abi: string;
14180
+ functionName: string;
14181
+ args?: Record<string, unknown> | undefined;
14182
+ }, {
14183
+ type: "evmData";
14184
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
14185
+ abi: string;
14186
+ functionName: string;
14187
+ args?: Record<string, unknown> | undefined;
14188
+ }>]>, "many">;
14189
+ }, "strip", z.ZodTypeAny, {
14190
+ action: "accept" | "reject";
14191
+ operation: "sponsorEvmTransaction";
14192
+ criteria: ({
14193
+ ethValue: string;
14194
+ type: "ethValue";
14195
+ operator: "<" | "<=" | ">" | ">=";
14196
+ } | {
14197
+ type: "evmAddress";
14198
+ operator: "in" | "not in";
14199
+ addresses: string[];
14200
+ } | {
14201
+ type: "evmNetwork";
14202
+ operator: "in" | "not in";
14203
+ chainIds: number[];
14204
+ } | {
14205
+ type: "evmData";
14206
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
14207
+ abi: string;
14208
+ functionName: string;
14209
+ args?: Record<string, unknown> | undefined;
14210
+ })[];
14211
+ }, {
14212
+ action: "accept" | "reject";
14213
+ operation: "sponsorEvmTransaction";
14214
+ criteria: ({
14215
+ ethValue: string;
14216
+ type: "ethValue";
14217
+ operator: "<" | "<=" | ">" | ">=";
14218
+ } | {
14219
+ type: "evmAddress";
14220
+ operator: "in" | "not in";
14221
+ addresses: string[];
14222
+ } | {
14223
+ type: "evmNetwork";
14224
+ operator: "in" | "not in";
14225
+ chainIds: number[];
14226
+ } | {
14227
+ type: "evmData";
14228
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
14229
+ abi: string;
14230
+ functionName: string;
14231
+ args?: Record<string, unknown> | undefined;
14232
+ })[];
14233
+ }>, z.ZodObject<{
14234
+ action: z.ZodEnum<["reject", "accept"]>;
14235
+ operation: z.ZodLiteral<"signSolTransaction">;
14236
+ criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14237
+ type: z.ZodLiteral<"solAddress">;
14238
+ operator: z.ZodEnum<["in", "not in"]>;
14239
+ addresses: z.ZodArray<z.ZodString, "many">;
14240
+ }, "strip", z.ZodTypeAny, {
14241
+ type: "solAddress";
14242
+ operator: "in" | "not in";
14243
+ addresses: string[];
14244
+ }, {
14245
+ type: "solAddress";
14246
+ operator: "in" | "not in";
14247
+ addresses: string[];
14248
+ }>, z.ZodObject<{
14249
+ type: z.ZodLiteral<"solValue">;
14250
+ operator: z.ZodEnum<["<=", ">="]>;
14251
+ value: z.ZodString;
14252
+ }, "strip", z.ZodTypeAny, {
14253
+ value: string;
14254
+ type: "solValue";
14255
+ operator: "<=" | ">=";
14256
+ }, {
14257
+ value: string;
14258
+ type: "solValue";
14259
+ operator: "<=" | ">=";
14260
+ }>, z.ZodObject<{
14261
+ type: z.ZodLiteral<"splAddress">;
14262
+ operator: z.ZodEnum<["in", "not in"]>;
14263
+ addresses: z.ZodArray<z.ZodString, "many">;
14264
+ }, "strip", z.ZodTypeAny, {
14265
+ type: "splAddress";
14266
+ operator: "in" | "not in";
14267
+ addresses: string[];
14268
+ }, {
14269
+ type: "splAddress";
14270
+ operator: "in" | "not in";
14271
+ addresses: string[];
14272
+ }>, z.ZodObject<{
14273
+ type: z.ZodLiteral<"splValue">;
14274
+ operator: z.ZodEnum<["<=", ">="]>;
14275
+ value: z.ZodString;
14276
+ }, "strip", z.ZodTypeAny, {
14277
+ value: string;
14278
+ type: "splValue";
14279
+ operator: "<=" | ">=";
14280
+ }, {
14281
+ value: string;
14282
+ type: "splValue";
14283
+ operator: "<=" | ">=";
14284
+ }>, z.ZodObject<{
14285
+ type: z.ZodLiteral<"mintAddress">;
14286
+ operator: z.ZodEnum<["==", "in"]>;
14287
+ addresses: z.ZodArray<z.ZodString, "many">;
14288
+ }, "strip", z.ZodTypeAny, {
14289
+ type: "mintAddress";
14290
+ operator: "in" | "==";
14291
+ addresses: string[];
14292
+ }, {
14293
+ type: "mintAddress";
14294
+ operator: "in" | "==";
14295
+ addresses: string[];
14296
+ }>, z.ZodObject<{
14297
+ type: z.ZodLiteral<"solData">;
14298
+ operator: z.ZodEnum<["in", "not in", "<=", ">=", "==", "match"]>;
14299
+ idl: z.ZodString;
14300
+ instructionName: z.ZodString;
14301
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14302
+ }, "strip", z.ZodTypeAny, {
14303
+ type: "solData";
14304
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
14305
+ idl: string;
14306
+ instructionName: string;
14307
+ args?: Record<string, unknown> | undefined;
14308
+ }, {
14309
+ type: "solData";
14310
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
14311
+ idl: string;
14312
+ instructionName: string;
14313
+ args?: Record<string, unknown> | undefined;
14314
+ }>, z.ZodObject<{
14315
+ type: z.ZodLiteral<"programId">;
14316
+ operator: z.ZodEnum<["in", "not in"]>;
14317
+ programIds: z.ZodArray<z.ZodString, "many">;
14318
+ }, "strip", z.ZodTypeAny, {
14319
+ type: "programId";
14320
+ operator: "in" | "not in";
14321
+ programIds: string[];
14322
+ }, {
14323
+ type: "programId";
14324
+ operator: "in" | "not in";
14325
+ programIds: string[];
14326
+ }>]>, "many">;
14327
+ }, "strip", z.ZodTypeAny, {
14328
+ action: "accept" | "reject";
14329
+ operation: "signSolTransaction";
14330
+ criteria: ({
14331
+ type: "solAddress";
14332
+ operator: "in" | "not in";
14333
+ addresses: string[];
14334
+ } | {
14335
+ value: string;
14336
+ type: "solValue";
14337
+ operator: "<=" | ">=";
14338
+ } | {
14339
+ type: "splAddress";
14340
+ operator: "in" | "not in";
14341
+ addresses: string[];
14342
+ } | {
14343
+ value: string;
14344
+ type: "splValue";
14345
+ operator: "<=" | ">=";
14346
+ } | {
14347
+ type: "mintAddress";
14348
+ operator: "in" | "==";
14349
+ addresses: string[];
14350
+ } | {
14351
+ type: "solData";
14352
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
14353
+ idl: string;
14354
+ instructionName: string;
14355
+ args?: Record<string, unknown> | undefined;
14356
+ } | {
14357
+ type: "programId";
14358
+ operator: "in" | "not in";
14359
+ programIds: string[];
14360
+ })[];
14361
+ }, {
14362
+ action: "accept" | "reject";
14363
+ operation: "signSolTransaction";
14364
+ criteria: ({
14365
+ type: "solAddress";
14366
+ operator: "in" | "not in";
14367
+ addresses: string[];
14368
+ } | {
14369
+ value: string;
14370
+ type: "solValue";
14371
+ operator: "<=" | ">=";
14372
+ } | {
14373
+ type: "splAddress";
14374
+ operator: "in" | "not in";
14375
+ addresses: string[];
14376
+ } | {
14377
+ value: string;
14378
+ type: "splValue";
14379
+ operator: "<=" | ">=";
14380
+ } | {
14381
+ type: "mintAddress";
14382
+ operator: "in" | "==";
14383
+ addresses: string[];
14384
+ } | {
14385
+ type: "solData";
14386
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
14387
+ idl: string;
14388
+ instructionName: string;
14389
+ args?: Record<string, unknown> | undefined;
14390
+ } | {
14391
+ type: "programId";
14392
+ operator: "in" | "not in";
14393
+ programIds: string[];
12868
14394
  })[];
12869
14395
  }>, z.ZodObject<{
12870
14396
  action: z.ZodEnum<["reject", "accept"]>;
12871
- operation: z.ZodLiteral<"signEvmHash">;
12872
- }, "strip", z.ZodTypeAny, {
12873
- action: "accept" | "reject";
12874
- operation: "signEvmHash";
12875
- }, {
12876
- action: "accept" | "reject";
12877
- operation: "signEvmHash";
12878
- }>, z.ZodObject<{
12879
- action: z.ZodEnum<["reject", "accept"]>;
12880
- operation: z.ZodLiteral<"signSolTransaction">;
14397
+ operation: z.ZodLiteral<"sendSolTransaction">;
12881
14398
  criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12882
14399
  type: z.ZodLiteral<"solAddress">;
12883
14400
  operator: z.ZodEnum<["in", "not in"]>;
@@ -12968,10 +14485,22 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
12968
14485
  type: "programId";
12969
14486
  operator: "in" | "not in";
12970
14487
  programIds: string[];
14488
+ }>, z.ZodObject<{
14489
+ type: z.ZodLiteral<"solNetwork">;
14490
+ operator: z.ZodEnum<["in", "not in"]>;
14491
+ networks: z.ZodArray<z.ZodEnum<["mainnet-beta", "devnet", "testnet"]>, "many">;
14492
+ }, "strip", z.ZodTypeAny, {
14493
+ type: "solNetwork";
14494
+ operator: "in" | "not in";
14495
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
14496
+ }, {
14497
+ type: "solNetwork";
14498
+ operator: "in" | "not in";
14499
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
12971
14500
  }>]>, "many">;
12972
14501
  }, "strip", z.ZodTypeAny, {
12973
14502
  action: "accept" | "reject";
12974
- operation: "signSolTransaction";
14503
+ operation: "sendSolTransaction";
12975
14504
  criteria: ({
12976
14505
  type: "solAddress";
12977
14506
  operator: "in" | "not in";
@@ -13002,10 +14531,14 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
13002
14531
  type: "programId";
13003
14532
  operator: "in" | "not in";
13004
14533
  programIds: string[];
14534
+ } | {
14535
+ type: "solNetwork";
14536
+ operator: "in" | "not in";
14537
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
13005
14538
  })[];
13006
14539
  }, {
13007
14540
  action: "accept" | "reject";
13008
- operation: "signSolTransaction";
14541
+ operation: "sendSolTransaction";
13009
14542
  criteria: ({
13010
14543
  type: "solAddress";
13011
14544
  operator: "in" | "not in";
@@ -13036,10 +14569,46 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
13036
14569
  type: "programId";
13037
14570
  operator: "in" | "not in";
13038
14571
  programIds: string[];
14572
+ } | {
14573
+ type: "solNetwork";
14574
+ operator: "in" | "not in";
14575
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
13039
14576
  })[];
13040
14577
  }>, z.ZodObject<{
13041
14578
  action: z.ZodEnum<["reject", "accept"]>;
13042
- operation: z.ZodLiteral<"sendSolTransaction">;
14579
+ operation: z.ZodLiteral<"signSolMessage">;
14580
+ criteria: z.ZodArray<z.ZodObject<{
14581
+ type: z.ZodLiteral<"solMessage">;
14582
+ operator: z.ZodLiteral<"match">;
14583
+ pattern: z.ZodString;
14584
+ }, "strip", z.ZodTypeAny, {
14585
+ type: "solMessage";
14586
+ operator: "match";
14587
+ pattern: string;
14588
+ }, {
14589
+ type: "solMessage";
14590
+ operator: "match";
14591
+ pattern: string;
14592
+ }>, "many">;
14593
+ }, "strip", z.ZodTypeAny, {
14594
+ action: "accept" | "reject";
14595
+ operation: "signSolMessage";
14596
+ criteria: {
14597
+ type: "solMessage";
14598
+ operator: "match";
14599
+ pattern: string;
14600
+ }[];
14601
+ }, {
14602
+ action: "accept" | "reject";
14603
+ operation: "signSolMessage";
14604
+ criteria: {
14605
+ type: "solMessage";
14606
+ operator: "match";
14607
+ pattern: string;
14608
+ }[];
14609
+ }>, z.ZodObject<{
14610
+ action: z.ZodEnum<["reject", "accept"]>;
14611
+ operation: z.ZodLiteral<"sponsorSolTransaction">;
13043
14612
  criteria: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13044
14613
  type: z.ZodLiteral<"solAddress">;
13045
14614
  operator: z.ZodEnum<["in", "not in"]>;
@@ -13145,7 +14714,7 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
13145
14714
  }>]>, "many">;
13146
14715
  }, "strip", z.ZodTypeAny, {
13147
14716
  action: "accept" | "reject";
13148
- operation: "sendSolTransaction";
14717
+ operation: "sponsorSolTransaction";
13149
14718
  criteria: ({
13150
14719
  type: "solAddress";
13151
14720
  operator: "in" | "not in";
@@ -13183,7 +14752,7 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
13183
14752
  })[];
13184
14753
  }, {
13185
14754
  action: "accept" | "reject";
13186
- operation: "sendSolTransaction";
14755
+ operation: "sponsorSolTransaction";
13187
14756
  criteria: ({
13188
14757
  type: "solAddress";
13189
14758
  operator: "in" | "not in";
@@ -13219,38 +14788,6 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
13219
14788
  operator: "in" | "not in";
13220
14789
  networks: ("mainnet-beta" | "devnet" | "testnet")[];
13221
14790
  })[];
13222
- }>, z.ZodObject<{
13223
- action: z.ZodEnum<["reject", "accept"]>;
13224
- operation: z.ZodLiteral<"signSolMessage">;
13225
- criteria: z.ZodArray<z.ZodObject<{
13226
- type: z.ZodLiteral<"solMessage">;
13227
- operator: z.ZodLiteral<"match">;
13228
- pattern: z.ZodString;
13229
- }, "strip", z.ZodTypeAny, {
13230
- type: "solMessage";
13231
- operator: "match";
13232
- pattern: string;
13233
- }, {
13234
- type: "solMessage";
13235
- operator: "match";
13236
- pattern: string;
13237
- }>, "many">;
13238
- }, "strip", z.ZodTypeAny, {
13239
- action: "accept" | "reject";
13240
- operation: "signSolMessage";
13241
- criteria: {
13242
- type: "solMessage";
13243
- operator: "match";
13244
- pattern: string;
13245
- }[];
13246
- }, {
13247
- action: "accept" | "reject";
13248
- operation: "signSolMessage";
13249
- criteria: {
13250
- type: "solMessage";
13251
- operator: "match";
13252
- pattern: string;
13253
- }[];
13254
14791
  }>]>, "many">>;
13255
14792
  }, "strip", z.ZodTypeAny, {
13256
14793
  priority?: number | undefined;
@@ -13321,6 +14858,28 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
13321
14858
  } | {
13322
14859
  action: "accept" | "reject";
13323
14860
  operation: "signEvmHash";
14861
+ } | {
14862
+ action: "accept" | "reject";
14863
+ operation: "sponsorEvmTransaction";
14864
+ criteria: ({
14865
+ ethValue: string;
14866
+ type: "ethValue";
14867
+ operator: "<" | "<=" | ">" | ">=";
14868
+ } | {
14869
+ type: "evmAddress";
14870
+ operator: "in" | "not in";
14871
+ addresses: string[];
14872
+ } | {
14873
+ type: "evmNetwork";
14874
+ operator: "in" | "not in";
14875
+ chainIds: number[];
14876
+ } | {
14877
+ type: "evmData";
14878
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
14879
+ abi: string;
14880
+ functionName: string;
14881
+ args?: Record<string, unknown> | undefined;
14882
+ })[];
13324
14883
  } | {
13325
14884
  action: "accept" | "reject";
13326
14885
  operation: "signSolTransaction";
@@ -13401,6 +14960,44 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
13401
14960
  operator: "match";
13402
14961
  pattern: string;
13403
14962
  }[];
14963
+ } | {
14964
+ action: "accept" | "reject";
14965
+ operation: "sponsorSolTransaction";
14966
+ criteria: ({
14967
+ type: "solAddress";
14968
+ operator: "in" | "not in";
14969
+ addresses: string[];
14970
+ } | {
14971
+ value: string;
14972
+ type: "solValue";
14973
+ operator: "<=" | ">=";
14974
+ } | {
14975
+ type: "splAddress";
14976
+ operator: "in" | "not in";
14977
+ addresses: string[];
14978
+ } | {
14979
+ value: string;
14980
+ type: "splValue";
14981
+ operator: "<=" | ">=";
14982
+ } | {
14983
+ type: "mintAddress";
14984
+ operator: "in" | "==";
14985
+ addresses: string[];
14986
+ } | {
14987
+ type: "solData";
14988
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
14989
+ idl: string;
14990
+ instructionName: string;
14991
+ args?: Record<string, unknown> | undefined;
14992
+ } | {
14993
+ type: "programId";
14994
+ operator: "in" | "not in";
14995
+ programIds: string[];
14996
+ } | {
14997
+ type: "solNetwork";
14998
+ operator: "in" | "not in";
14999
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
15000
+ })[];
13404
15001
  })[] | undefined;
13405
15002
  }, {
13406
15003
  priority?: number | undefined;
@@ -13471,6 +15068,28 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
13471
15068
  } | {
13472
15069
  action: "accept" | "reject";
13473
15070
  operation: "signEvmHash";
15071
+ } | {
15072
+ action: "accept" | "reject";
15073
+ operation: "sponsorEvmTransaction";
15074
+ criteria: ({
15075
+ ethValue: string;
15076
+ type: "ethValue";
15077
+ operator: "<" | "<=" | ">" | ">=";
15078
+ } | {
15079
+ type: "evmAddress";
15080
+ operator: "in" | "not in";
15081
+ addresses: string[];
15082
+ } | {
15083
+ type: "evmNetwork";
15084
+ operator: "in" | "not in";
15085
+ chainIds: number[];
15086
+ } | {
15087
+ type: "evmData";
15088
+ operator: "match" | "in" | "not in" | "<" | "<=" | ">" | ">=" | "==";
15089
+ abi: string;
15090
+ functionName: string;
15091
+ args?: Record<string, unknown> | undefined;
15092
+ })[];
13474
15093
  } | {
13475
15094
  action: "accept" | "reject";
13476
15095
  operation: "signSolTransaction";
@@ -13551,6 +15170,44 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
13551
15170
  operator: "match";
13552
15171
  pattern: string;
13553
15172
  }[];
15173
+ } | {
15174
+ action: "accept" | "reject";
15175
+ operation: "sponsorSolTransaction";
15176
+ criteria: ({
15177
+ type: "solAddress";
15178
+ operator: "in" | "not in";
15179
+ addresses: string[];
15180
+ } | {
15181
+ value: string;
15182
+ type: "solValue";
15183
+ operator: "<=" | ">=";
15184
+ } | {
15185
+ type: "splAddress";
15186
+ operator: "in" | "not in";
15187
+ addresses: string[];
15188
+ } | {
15189
+ value: string;
15190
+ type: "splValue";
15191
+ operator: "<=" | ">=";
15192
+ } | {
15193
+ type: "mintAddress";
15194
+ operator: "in" | "==";
15195
+ addresses: string[];
15196
+ } | {
15197
+ type: "solData";
15198
+ operator: "match" | "in" | "not in" | "<=" | ">=" | "==";
15199
+ idl: string;
15200
+ instructionName: string;
15201
+ args?: Record<string, unknown> | undefined;
15202
+ } | {
15203
+ type: "programId";
15204
+ operator: "in" | "not in";
15205
+ programIds: string[];
15206
+ } | {
15207
+ type: "solNetwork";
15208
+ operator: "in" | "not in";
15209
+ networks: ("mainnet-beta" | "devnet" | "testnet")[];
15210
+ })[];
13554
15211
  })[] | undefined;
13555
15212
  }>;
13556
15213
  type UpdatePolicyBody = z.infer<typeof UpdatePolicyBodySchema>;
@@ -13765,8 +15422,8 @@ declare class Openfort {
13765
15422
  };
13766
15423
  };
13767
15424
  /**
13768
- * Player management endpoints
13769
- * @deprecated
15425
+ * Player management endpoints.
15426
+ * @deprecated Use `openfort.iam.users` for V2 user management.
13770
15427
  */
13771
15428
  get players(): {
13772
15429
  /** List players */
@@ -13796,85 +15453,133 @@ declare class Openfort {
13796
15453
  delete: (id: string, options?: string | RequestOptions | undefined) => Promise<ContractDeleteResponse>;
13797
15454
  };
13798
15455
  /**
13799
- * Policy management endpoints for controlling account operations.
15456
+ * Policy management endpoints for criteria-based access control.
13800
15457
  *
13801
15458
  * Policies define rules that govern what operations accounts can perform,
13802
- * including transaction signing, message signing, and more.
15459
+ * including transaction signing, message signing, and gas sponsorship.
15460
+ * Each policy has a scope (project, account, or transaction), a priority,
15461
+ * and an ordered list of rules. Each rule specifies an action (accept/reject),
15462
+ * an operation, and criteria that must all match (AND logic).
15463
+ *
15464
+ * **Supported operations:**
15465
+ * - EVM: `signEvmTransaction`, `sendEvmTransaction`, `signEvmTypedData`, `signEvmMessage`, `signEvmHash`, `sponsorEvmTransaction`
15466
+ * - Solana: `signSolTransaction`, `sendSolTransaction`, `signSolMessage`, `sponsorSolTransaction`
15467
+ *
15468
+ * **Supported criteria types:**
15469
+ * - EVM: `evmAddress`, `ethValue`, `evmNetwork`, `evmData`, `evmMessage`, `evmTypedDataVerifyingContract`, `evmTypedDataField`
15470
+ * - Solana: `solAddress`, `solValue`, `splAddress`, `splValue`, `mintAddress`, `programId`, `solNetwork`, `solMessage`, `solData`
15471
+ *
15472
+ * Policies are evaluated in priority order (highest first). The first matching rule determines the outcome.
15473
+ * If policies exist but no rule matches, the operation is rejected (fail-closed).
13803
15474
  *
13804
15475
  * @example
13805
15476
  * ```typescript
13806
- * // List all policies
13807
- * const all = await openfort.policies.list();
13808
- *
13809
- * // Create a policy
15477
+ * // Create a policy that only allows transactions to specific addresses on certain chains
13810
15478
  * const policy = await openfort.policies.create({
13811
15479
  * scope: 'project',
13812
- * rules: [{ action: 'reject', operation: 'signEvmHash' }],
15480
+ * rules: [{
15481
+ * action: 'accept',
15482
+ * operation: 'sponsorEvmTransaction',
15483
+ * criteria: [
15484
+ * { type: 'evmNetwork', operator: 'in', chainIds: [1, 137] },
15485
+ * { type: 'evmAddress', operator: 'in', addresses: ['0x...'] },
15486
+ * ],
15487
+ * }],
13813
15488
  * });
13814
15489
  *
13815
15490
  * // Evaluate whether an operation would be allowed
13816
- * const result = await openfort.policies.evaluate({ operation: 'signEvmTransaction', accountId: 'acc_...' });
15491
+ * const result = await openfort.policies.evaluate({
15492
+ * operation: 'signEvmTransaction',
15493
+ * accountId: 'acc_...',
15494
+ * });
13817
15495
  * ```
13818
15496
  */
13819
15497
  get policies(): {
13820
- /** List policies */
15498
+ /** List policies, optionally filtered by scope, enabled status, or account */
13821
15499
  list: (params?: ListPoliciesParams, options?: string | RequestOptions | undefined) => Promise<PolicyV2ListResponse>;
13822
- /** Create a policy */
15500
+ /** Create a policy with scope, priority, and criteria-based rules */
13823
15501
  create: (createPolicyV2Request: CreatePolicyV2Request, options?: string | RequestOptions | undefined) => Promise<PolicyV2Response>;
13824
- /** Get a policy by ID */
15502
+ /** Get a policy by ID (ply_...) */
13825
15503
  get: (policyId: string, options?: string | RequestOptions | undefined) => Promise<PolicyV2Response>;
13826
- /** Update a policy */
15504
+ /** Update a policy's description, priority, enabled status, or rules */
13827
15505
  update: (policyId: string, updatePolicyV2Request: UpdatePolicyV2Request, options?: string | RequestOptions | undefined) => Promise<PolicyV2Response>;
13828
- /** Delete a policy */
15506
+ /** Soft-delete a policy */
13829
15507
  delete: (policyId: string, options?: string | RequestOptions | undefined) => Promise<PolicyV2DeleteResponse>;
13830
- /** Evaluate an operation against policies */
15508
+ /** Pre-flight check: evaluate whether an operation would be allowed without executing it */
13831
15509
  evaluate: (evaluatePolicyV2Request: EvaluatePolicyV2Request, options?: string | RequestOptions | undefined) => Promise<EvaluatePolicyV2Response>;
13832
15510
  };
13833
15511
  /**
13834
- * Fee sponsorship (gas policy) management endpoints
15512
+ * Fee sponsorship endpoints for sponsoring gas costs on behalf of users.
15513
+ *
15514
+ * A fee sponsorship links a strategy (how gas is paid) to a policy (which
15515
+ * transactions qualify). Create a policy first via `openfort.policies.create()`,
15516
+ * then create a fee sponsorship referencing it.
15517
+ *
15518
+ * **Strategies (`sponsorSchema`):**
15519
+ * - `pay_for_user` — Developer fully sponsors gas costs
15520
+ * - `charge_custom_tokens` — User pays in ERC-20 tokens (fixed or dynamic exchange rate)
15521
+ * - `fixed_rate` — User pays a fixed token amount per transaction
15522
+ *
15523
+ * **Workflow:**
15524
+ * 1. Create a policy via `openfort.policies.create()` with criteria rules
15525
+ * 2. Create a fee sponsorship via `openfort.feeSponsorship.create()` linking to that policy
15526
+ *
15527
+ * When a transaction is submitted without an explicit policy, project-scoped fee
15528
+ * sponsorships are auto-discovered and the first matching one is applied.
15529
+ *
15530
+ * @example
15531
+ * ```typescript
15532
+ * // 1. Create a policy to sponsor transactions on Polygon
15533
+ * const policy = await openfort.policies.create({
15534
+ * scope: 'project',
15535
+ * rules: [{
15536
+ * action: 'accept',
15537
+ * operation: 'sponsorEvmTransaction',
15538
+ * criteria: [{ type: 'evmNetwork', operator: 'in', chainIds: [137] }],
15539
+ * }],
15540
+ * });
15541
+ *
15542
+ * // 2. Create a fee sponsorship with pay_for_user strategy
15543
+ * const sponsorship = await openfort.feeSponsorship.create({
15544
+ * name: 'Polygon Gas Sponsorship',
15545
+ * strategy: { sponsorSchema: 'pay_for_user' },
15546
+ * policyId: policy.id,
15547
+ * });
15548
+ * ```
13835
15549
  */
13836
15550
  get feeSponsorship(): {
13837
- /** List fee sponsorship policies */
13838
- list: (params?: GetPoliciesParams, options?: string | RequestOptions | undefined) => Promise<PolicyListResponse>;
13839
- /** Create a fee sponsorship policy */
13840
- create: (createPolicyRequest: CreatePolicyRequest, options?: string | RequestOptions | undefined) => Promise<PolicyResponse>;
13841
- /** Get a fee sponsorship policy by ID */
13842
- get: (id: string, params?: GetPolicyParams, options?: string | RequestOptions | undefined) => Promise<PolicyResponse>;
13843
- /** Update a fee sponsorship policy */
13844
- update: (id: string, updatePolicyRequest: UpdatePolicyRequest, options?: string | RequestOptions | undefined) => Promise<PolicyResponse>;
13845
- /** Delete a fee sponsorship policy */
13846
- delete: (id: string, options?: string | RequestOptions | undefined) => Promise<PolicyDeleteResponse>;
13847
- /** Disable a fee sponsorship policy */
13848
- disable: (id: string, options?: string | RequestOptions | undefined) => Promise<PolicyResponse>;
13849
- /** Enable a fee sponsorship policy */
13850
- enable: (id: string, options?: string | RequestOptions | undefined) => Promise<PolicyResponse>;
13851
- /** Get fee sponsorship policy total gas usage */
13852
- getTotalGasUsage: (id: string, params?: GetPolicyTotalGasUsageParams, options?: string | RequestOptions | undefined) => Promise<GasReportListResponse>;
13853
- /** Fee sponsorship policy rules */
13854
- rules: {
13855
- /** List policy rules */
13856
- list: (params: GetPolicyRulesParams, options?: string | RequestOptions | undefined) => Promise<PolicyRuleListResponse>;
13857
- /** Create a policy rule */
13858
- create: (createPolicyRuleRequest: CreatePolicyRuleRequest, options?: string | RequestOptions | undefined) => Promise<PolicyRuleResponse>;
13859
- /** Update a policy rule */
13860
- update: (id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: string | RequestOptions | undefined) => Promise<PolicyRuleResponse>;
13861
- /** Delete a policy rule */
13862
- delete: (id: string, options?: string | RequestOptions | undefined) => Promise<PolicyRuleDeleteResponse>;
13863
- };
15551
+ /** List fee sponsorships, optionally filtered by name, chainId, or enabled status */
15552
+ list: (params?: ListFeeSponsorshipsParams, options?: string | RequestOptions | undefined) => Promise<FeeSponsorshipListResponse>;
15553
+ /** Create a fee sponsorship linked to a policy (policyId required) */
15554
+ create: (createFeeSponsorshipRequest: CreateFeeSponsorshipRequest, options?: string | RequestOptions | undefined) => Promise<FeeSponsorshipResponse>;
15555
+ /** Get a fee sponsorship by ID (pol_...) */
15556
+ get: (feeSponsorshipId: string, options?: string | RequestOptions | undefined) => Promise<FeeSponsorshipResponse>;
15557
+ /** Update a fee sponsorship's name, strategy, or linked policy */
15558
+ update: (feeSponsorshipId: string, updateFeeSponsorshipRequest: UpdateFeeSponsorshipRequest, options?: string | RequestOptions | undefined) => Promise<FeeSponsorshipResponse>;
15559
+ /** Soft-delete a fee sponsorship */
15560
+ delete: (feeSponsorshipId: string, options?: string | RequestOptions | undefined) => Promise<FeeSponsorshipDeleteResponse>;
15561
+ /** Disable a fee sponsorship (stops it from being applied to transactions) */
15562
+ disable: (feeSponsorshipId: string, options?: string | RequestOptions | undefined) => Promise<FeeSponsorshipResponse>;
15563
+ /** Enable a previously disabled fee sponsorship */
15564
+ enable: (feeSponsorshipId: string, options?: string | RequestOptions | undefined) => Promise<FeeSponsorshipResponse>;
13864
15565
  };
13865
15566
  /**
13866
- * Transaction intent management endpoints
15567
+ * Transaction intent endpoints for creating and managing on-chain transactions.
15568
+ *
15569
+ * Transaction intents represent a desired on-chain action (contract calls, transfers).
15570
+ * When a fee sponsorship policy is provided (or auto-discovered from project-scoped policies),
15571
+ * gas costs are sponsored according to the policy's strategy.
13867
15572
  */
13868
15573
  get transactionIntents(): {
13869
15574
  /** List transaction intents */
13870
15575
  list: (params?: GetTransactionIntentsParams, options?: string | RequestOptions | undefined) => Promise<TransactionIntentListResponse>;
13871
- /** Create a transaction intent */
15576
+ /** Create a transaction intent with contract interactions */
13872
15577
  create: (createTransactionIntentRequest: CreateTransactionIntentRequest, options?: string | RequestOptions | undefined) => Promise<TransactionIntentResponse>;
13873
15578
  /** Get a transaction intent by ID */
13874
15579
  get: (id: string, params?: GetTransactionIntentParams, options?: string | RequestOptions | undefined) => Promise<TransactionIntentResponse>;
13875
15580
  /** Sign a transaction intent */
13876
15581
  signature: (id: string, signatureRequest: SignatureRequest, options?: string | RequestOptions | undefined) => Promise<TransactionIntentResponse>;
13877
- /** Estimate cost */
15582
+ /** Estimate gas cost for a transaction before creating it */
13878
15583
  estimateCost: (createTransactionIntentRequest: CreateTransactionIntentRequest, options?: string | RequestOptions | undefined) => Promise<EstimateTransactionIntentGasResult>;
13879
15584
  };
13880
15585
  /**
@@ -13892,22 +15597,6 @@ declare class Openfort {
13892
15597
  /** Sign a session */
13893
15598
  signature: (id: string, signatureRequest: SignatureRequest, options?: string | RequestOptions | undefined) => Promise<SessionResponse>;
13894
15599
  };
13895
- /**
13896
- * Settings / Developer account management endpoints
13897
- * @deprecated
13898
- */
13899
- get settings(): {
13900
- /** List developer accounts */
13901
- getDeveloperAccounts: (params?: GetDeveloperAccountsParams, options?: string | RequestOptions | undefined) => Promise<DeveloperAccountListResponse>;
13902
- /** Create a developer account */
13903
- createDeveloperAccount: (createDeveloperAccountCreateRequest: CreateDeveloperAccountCreateRequest, options?: string | RequestOptions | undefined) => Promise<DeveloperAccountResponse>;
13904
- /** Get a developer account by ID */
13905
- getDeveloperAccount: (id: string, params?: GetDeveloperAccountParams, options?: string | RequestOptions | undefined) => Promise<DeveloperAccountResponse>;
13906
- /** Delete a developer account */
13907
- deleteDeveloperAccount: (id: string, options?: string | RequestOptions | undefined) => Promise<DeveloperAccountDeleteResponse>;
13908
- /** Get verification payload */
13909
- getVerificationPayload: (params: GetVerificationPayloadParams, options?: string | RequestOptions | undefined) => Promise<DeveloperAccountGetMessageResponse>;
13910
- };
13911
15600
  /**
13912
15601
  * Subscription management endpoints
13913
15602
  */
@@ -14034,12 +15723,15 @@ declare class Openfort {
14034
15723
  */
14035
15724
  private preRegisterWithShield;
14036
15725
  /**
14037
- * Paymaster endpoints
15726
+ * Paymaster endpoints for managing ERC-4337 paymasters.
15727
+ *
15728
+ * Paymasters handle gas payment on-chain for account abstraction (ERC-4337).
15729
+ * Fee sponsorships reference a paymaster to determine how user operations are sponsored.
14038
15730
  */
14039
15731
  get paymasters(): {
14040
15732
  /** Create a paymaster */
14041
15733
  create: (createPaymasterRequest: CreatePaymasterRequest, options?: string | RequestOptions | undefined) => Promise<PaymasterResponse>;
14042
- /** Get a paymaster by ID */
15734
+ /** Get a paymaster by ID (pay_...) */
14043
15735
  get: (id: string, options?: string | RequestOptions | undefined) => Promise<PaymasterResponse>;
14044
15736
  /** Update a paymaster */
14045
15737
  update: (id: string, createPaymasterRequest: CreatePaymasterRequest, options?: string | RequestOptions | undefined) => Promise<PaymasterResponse>;
@@ -14075,4 +15767,4 @@ declare class Openfort {
14075
15767
  createEncryptionSession(shieldApiKey: string, shieldApiSecret: string, encryptionShare: string, shieldApiBaseUrl?: string): Promise<string>;
14076
15768
  }
14077
15769
 
14078
- export { APIError, type APIErrorType, APITopic, APITopicBALANCECONTRACT, APITopicBALANCEDEVACCOUNT, APITopicBALANCEPROJECT, APITopicTRANSACTIONSUCCESSFUL, APITriggerType, type Abi, type AbiType, type AccelbyteOAuthConfig, type Account$1 as Account, type AccountAbstractionV6Details, type AccountAbstractionV8Details, type AccountAbstractionV9Details, type AccountEventResponse, type AccountListQueries, type AccountListQueriesV2, AccountListQueriesV2AccountType, AccountListQueriesV2ChainType, AccountListQueriesV2Custody, type AccountListResponse, type AccountListV2Response, AccountNotFoundError, type AccountPolicyRuleResponse, type AccountResponse, AccountResponseExpandable, type AccountV2Response, AccountV2ResponseCustody, type ActionRequiredResponse, Actions, type AllowedOriginsRequest, type AllowedOriginsResponse, type ApiKeyResponse, ApiKeyType, type AppleOAuthConfig, type AuthConfig, type AuthMigrationListResponse, type AuthMigrationResponse, AuthMigrationStatus, type AuthPlayerListQueries, type AuthPlayerListResponse, type AuthPlayerResponse, type AuthPlayerResponseWithRecoveryShare, AuthProvider, type AuthProviderListResponse, AuthProviderResponse, AuthProviderResponseV2, type AuthProviderWithTypeResponse, type AuthResponse, type AuthSessionResponse, type AuthUserResponse, type AuthenticateOAuthRequest, AuthenticateOAuthRequestProvider, type AuthenticateSIWEResult, type AuthenticatedPlayerResponse, AuthenticationType, type AuthorizePlayerRequest, type AuthorizeResult, type AuthorizedApp, type AuthorizedAppsResponse, type AuthorizedAppsResponseAuthorizedAppsItem, type AuthorizedNetwork, type AuthorizedNetworksResponse, type AuthorizedNetworksResponseAuthorizedNetworksItem, type AuthorizedOriginsResponse, type BackendWalletListQueries, BackendWalletListQueriesChainType, type BackendWalletListResponse, BackendWalletListResponseObject, type BackendWalletResponse, BackendWalletResponseChainType, BackendWalletResponseCustody, BackendWalletResponseObject, type BalanceEventResponse, type BalanceResponse, type BaseDeleteEntityResponseEntityTypePLAYER, type BaseEntityListResponseAccountV2Response, type BaseEntityListResponseAuthUserResponse, type BaseEntityListResponseDeviceResponse, type BaseEntityListResponseEmailSampleResponse, type BaseEntityListResponseLogResponse, type BaseEntityListResponseTriggerResponse, type BaseEntityResponseEntityTypeWALLET, BasicAuthProvider, BasicAuthProviderEMAIL, BasicAuthProviderGUEST, BasicAuthProviderPHONE, BasicAuthProviderWEB3, type BetterAuthConfig, type BillingSubscriptionResponse, type BillingSubscriptionResponsePlan, type CallbackOAuthParams, type CallbackOAuthResult, type CancelTransferAccountOwnershipResult, type ChargeCustomTokenPolicyStrategy, type CheckoutRequest, type CheckoutResponse, type CheckoutSubscriptionRequest, type ChildProjectListResponse, type ChildProjectResponse, type CodeChallenge, CodeChallengeMethod, type CodeChallengeVerify, type ContractDeleteResponse, type ContractEventResponse, type ContractListQueries, type ContractListResponse, type ContractPolicyRuleResponse, type ContractReadQueries, type ContractReadResponse, type ContractResponse, type CountPerIntervalLimitPolicyRuleResponse, type CreateAccountRequest, type CreateAccountRequestV2, CreateAccountRequestV2AccountType, CreateAccountRequestV2ChainType, type CreateAccountResult, type CreateAccountV2Result, type CreateAuthPlayerRequest, type CreateAuthPlayerResult, type CreateBackendWalletRequest, CreateBackendWalletRequestChainType, type CreateBackendWalletResponse, CreateBackendWalletResponseChainType, CreateBackendWalletResponseObject, type CreateBackendWalletResult, type CreateContractRequest, type CreateContractResult, type CreateDeveloperAccountCreateRequest, type CreateDeveloperAccountResult, type CreateDeviceRequest, type CreateDeviceResponse, type CreateEcosystemConfigurationRequest, type CreateEmailSampleRequest, type CreateEmailSampleResponse, type CreateEmbeddedRequest, CreateEmbeddedRequestAccountType, CreateEmbeddedRequestChainType, type CreateEventRequest, type CreateEventResponse, type CreateEventResult, type CreateEvmAccountOptions, type CreateForwarderContractRequest, type CreateForwarderContractResponse, type CreateForwarderContractResult, type CreateMigrationRequest, type CreateOAuthConfigResult, type CreateOnrampSessionResult, type CreatePaymasterRequest, type CreatePaymasterRequestContext, type CreatePaymasterResponse, type CreatePaymasterResult, type CreatePlayerResult, type CreatePolicyBody, CreatePolicyBodySchema, type CreatePolicyRequest, type CreatePolicyResult, type CreatePolicyRuleRequest, type CreatePolicyRuleResult, type CreatePolicyV2Request, CreatePolicyV2RequestScope, type CreatePolicyV2Result, type CreatePolicyV2RuleRequest, CreatePolicyV2RuleRequestAction, type CreatePolicyWithdrawalResult, type CreateProjectApiKeyRequest, type CreateProjectRequest, type CreateResult, type CreateSMTPConfigResponse, type CreateSessionRequest, type CreateSessionResult, type CreateSolanaAccountOptions, type CreateSubscriptionRequest, type CreateSubscriptionResponse, type CreateSubscriptionResult, type CreateTransactionIntentRequest, type CreateTransactionIntentResult, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResult, CriteriaOperator, CriteriaOperatorEQUAL, CriteriaOperatorGREATERTHAN, CriteriaOperatorGREATERTHANOREQUAL, CriteriaOperatorIN, CriteriaOperatorLESSTHAN, CriteriaOperatorLESSTHANOREQUAL, CriteriaOperatorMATCH, CriteriaOperatorNOTIN, CriteriaType, Currency, type CustomAuthConfig, type DeleteAccountResponse, type DeleteAuthPlayerResult, type DeleteBackendWalletResponse, DeleteBackendWalletResponseObject, type DeleteBackendWalletResult, type DeleteContractResult, type DeleteDeveloperAccountResult, type DeleteEventResult, type DeleteForwarderContractResult, type DeleteOAuthConfigResult, type DeletePaymasterResult, type DeletePlayerResult, type DeletePolicyResult, type DeletePolicyRuleResult, type DeletePolicyV2Result, type DeleteSMTPConfigResponse, type DeleteSubscriptionResult, type DeleteTriggerResult, type DeleteUserResult, type DeprecatedCallbackOAuthParams, type DeprecatedCallbackOAuthResult, type DeveloperAccount, type DeveloperAccountDeleteResponse, type DeveloperAccountGetMessageResponse, type DeveloperAccountListQueries, type DeveloperAccountListResponse, type DeveloperAccountResponse, DeveloperAccountResponseExpandable, type DeviceListQueries, type DeviceListResponse, type DeviceResponse, type DeviceStat, type DisableAccountResult, type DisablePolicyResult, type DiscordOAuthConfig, type EcosystemConfigurationResponse, type EcosystemMetadata, type EmailAuthConfig, type EmailAuthConfigPasswordRequirements, type EmailSampleDeleteResponse, type EmailSampleListResponse, type EmailSampleResponse, EmailTypeRequest, EmailTypeResponse, type EmbeddedNextActionResponse, EmbeddedNextActionResponseNextAction, type EmbeddedResponse, type EmbeddedV2Response, type EnablePolicyResult, EncryptionError, type EntityIdResponse, EntityTypeACCOUNT, EntityTypeCONTRACT, EntityTypeDEVELOPERACCOUNT, EntityTypeDEVICE, EntityTypeEMAILSAMPLE, EntityTypeEVENT, EntityTypeFORWARDERCONTRACT, EntityTypeLOG, EntityTypePAYMASTER, EntityTypePLAYER, EntityTypePOLICY, EntityTypePOLICYRULE, EntityTypePOLICYV2, EntityTypePOLICYV2RULE, EntityTypePROJECT, EntityTypeREADCONTRACT, EntityTypeSESSION, EntityTypeSIGNATURE, EntityTypeSMTPCONFIG, EntityTypeSUBSCRIPTION, EntityTypeTRANSACTIONINTENT, EntityTypeTRIGGER, EntityTypeUSER, EntityTypeWALLET, type EpicGamesOAuthConfig, ErrorTypeINVALIDREQUESTERROR, type EstimateTransactionIntentCostResult, type EstimateTransactionIntentGasResult, type EthValueCriterion, EthValueCriterionOperator, type EthValueCriterionRequest, EthValueCriterionRequestOperator, EthValueCriterionRequestType, EthValueCriterionSchema, type EvaluatePolicyV2Payload, type EvaluatePolicyV2Request, type EvaluatePolicyV2Response, EvaluatePolicyV2ResponseObject, type EvaluatePolicyV2Result, type EventDeleteResponse, type EventListQueries, type EventListResponse, type EventResponse, type EvmAccount, type EvmAccountBase, type EvmAccountData, type EvmAddressCriterion, EvmAddressCriterionOperator, type EvmAddressCriterionRequest, EvmAddressCriterionRequestOperator, EvmAddressCriterionRequestType, EvmAddressCriterionSchema, EvmClient, EvmCriteriaType, EvmCriteriaTypeETHVALUE, EvmCriteriaTypeEVMADDRESS, EvmCriteriaTypeEVMDATA, EvmCriteriaTypeEVMMESSAGE, EvmCriteriaTypeEVMNETWORK, EvmCriteriaTypeEVMTYPEDDATAFIELD, EvmCriteriaTypeEVMTYPEDDATAVERIFYINGCONTRACT, EvmCriteriaTypeNETUSDCHANGE, type EvmDataCriterion, type EvmDataCriterionRequest, EvmDataCriterionRequestOperator, EvmDataCriterionRequestType, EvmDataCriterionSchema, type EvmMessageCriterion, type EvmMessageCriterionRequest, EvmMessageCriterionRequestOperator, EvmMessageCriterionRequestType, EvmMessageCriterionSchema, type EvmNetworkCriterion, EvmNetworkCriterionOperator, type EvmNetworkCriterionRequest, EvmNetworkCriterionRequestOperator, EvmNetworkCriterionRequestType, EvmNetworkCriterionSchema, type SignMessageOptions$1 as EvmSignMessageOptions, type SignTransactionOptions$1 as EvmSignTransactionOptions, type SignTypedDataOptions as EvmSignTypedDataOptions, type EvmSigningMethods, type EvmTypedDataFieldCriterion, EvmTypedDataFieldCriterionOperator, type EvmTypedDataFieldCriterionRequest, EvmTypedDataFieldCriterionRequestOperator, EvmTypedDataFieldCriterionRequestType, EvmTypedDataFieldCriterionSchema, type EvmTypedDataVerifyingContractCriterion, EvmTypedDataVerifyingContractCriterionOperator, type EvmTypedDataVerifyingContractCriterionRequest, EvmTypedDataVerifyingContractCriterionRequestOperator, EvmTypedDataVerifyingContractCriterionRequestType, EvmTypedDataVerifyingContractCriterionSchema, type ExportPrivateKeyRequest, type ExportPrivateKeyResponse, ExportPrivateKeyResponseObject, type ExportPrivateKeyResult, type ExportSolanaAccountOptions, type ExportedEmbeddedRequest, type FacebookOAuthConfig, type FieldErrors, type FirebaseOAuthConfig, type FixedRateTokenPolicyStrategy, type ForwarderContractDeleteResponse, type ForwarderContractResponse, type GasPerIntervalLimitPolicyRuleResponse, type GasPerTransactionLimitPolicyRuleResponse, type GasReport, type GasReportListResponse, type GasReportTransactionIntents, type GasReportTransactionIntentsListResponse, type GetAccountParams, type GetAccountResult, type GetAccountV2Result, type GetAccountsParams, type GetAccountsResult, GetAccountsV2AccountType, GetAccountsV2ChainType, GetAccountsV2Custody, type GetAccountsV2Params, type GetAccountsV2Result, type GetAuthPlayerResult, type GetAuthPlayersParams, type GetAuthPlayersResult, type GetAuthUserResult, type GetAuthUsersParams, type GetAuthUsersResult, type GetBackendWalletResult, type GetContractResult, type GetContractsParams, type GetContractsResult, type GetDeveloperAccountParams, type GetDeveloperAccountResult, type GetDeveloperAccountsParams, type GetDeveloperAccountsResult, type GetDeviceResponse, type GetEmailSampleResponse, type GetEventResponse, type GetEventResult, type GetEventsParams, type GetEventsResult, type GetEvmAccountOptions, type GetForwarderContractResult, type GetJwksResult, type GetOAuthConfigResult, type GetOnrampQuoteResult, type GetPaymasterResult, type GetPlayerParams, type GetPlayerResult, type GetPlayerSessionsParams, type GetPlayerSessionsResult, type GetPlayersParams, type GetPlayersResult, type GetPoliciesParams, type GetPoliciesResult, type GetPolicyBalanceResult, type GetPolicyParams, type GetPolicyReportTransactionIntentsParams, type GetPolicyReportTransactionIntentsResult, type GetPolicyResult, GetPolicyRulesExpandItem, type GetPolicyRulesParams, type GetPolicyRulesResult, type GetPolicyTotalGasUsageParams, type GetPolicyTotalGasUsageResult, type GetPolicyV2Result, type GetProjectLogsParams, type GetProjectLogsResult, type GetSMTPConfigResponse, type GetSessionParams, type GetSessionResult, type GetSignerIdByAddressParams, type GetSignerIdByAddressResult, type GetSolanaAccountOptions, type GetSubscriptionResponse, type GetSubscriptionResult, type GetSubscriptionsResult, type GetTransactionIntentParams, type GetTransactionIntentResult, type GetTransactionIntentsParams, type GetTransactionIntentsResult, type GetTriggerResponse, type GetTriggerResult, type GetTriggersResult, type GetUserWalletResult, type GetVerificationPayloadParams, type GetVerificationPayloadResult, type GetWebhookLogsByProjectIdResult, type GoogleOAuthConfig, type GrantCallbackRequest, type GrantOAuthResponse, type GrantOAuthResult, type GuestAuthConfig, type HandleChainRpcRequestResult, type HandleRpcRequestResult, type HandleSolanaRpcRequestResult, type HttpErrorType, IMPORT_ENCRYPTION_PUBLIC_KEY, type ImportPrivateKeyRequest, ImportPrivateKeyRequestChainType, type ImportPrivateKeyResponse, ImportPrivateKeyResponseChainType, ImportPrivateKeyResponseObject, type ImportPrivateKeyResult, type ImportSolanaAccountOptions, type InitEmbeddedRequest, type InitOAuthResult, type InitSIWEResult, type Interaction, InvalidAPIKeyFormatError, InvalidPublishableKeyFormatError, type InvalidRequestError, type InvalidRequestErrorResponse, InvalidWalletSecretFormatError, type JsonRpcError, type JsonRpcErrorResponse, JsonRpcErrorResponseJsonrpc, type JsonRpcRequest, JsonRpcRequestJsonrpc, type JsonRpcResponse, type JsonRpcSuccessResponseAny, JsonRpcSuccessResponseAnyJsonrpc, type JwtKey, type JwtKeyResponse, type LineOAuthConfig, type LinkEmailResult, type LinkOAuthResult, type LinkSIWEResult, type LinkThirdPartyResult, type LinkedAccountResponse, type LinkedAccountResponseV2, type ListAccountsResult, ListBackendWalletsChainType, type ListBackendWalletsParams, type ListBackendWalletsResult, type ListConfigRequest, type ListEvmAccountsOptions, type ListForwarderContractsParams, type ListForwarderContractsResult, type ListMigrationsRequest, type ListOAuthConfigResult, type ListParams, type ListPaymastersParams, type ListPaymastersResult, type ListPoliciesParams, type ListPoliciesResult, ListPoliciesScope, type ListResult, type ListSolanaAccountsOptions, type ListSubscriptionLogsParams, type ListSubscriptionLogsRequest, type ListSubscriptionLogsResult, type Log, type LogResponse, type LoginEmailPasswordResult, type LoginOIDCRequest, type LoginOIDCResult, type LoginRequest, type LoginWithIdTokenRequest, type LoginWithIdTokenResult, type LogoutRequest, type LogoutResult, type LootLockerOAuthConfig, type MappingStrategy, type MeResult, type MeV2Result, type MessageBirdSmsProviderConfig, type MintAddressCriterion, MintAddressCriterionOperator, type MintAddressCriterionRequest, MintAddressCriterionRequestOperator, MintAddressCriterionRequestType, MintAddressCriterionSchema, MissingAPIKeyError, MissingPublishableKeyError, MissingWalletSecretError, type Money, type MonthRange, type MyEcosystemResponse, type NetUSDChangeCriterion, NetUSDChangeCriterionOperator, type NetUSDChangeCriterionRequest, NetUSDChangeCriterionRequestOperator, NetUSDChangeCriterionRequestType, NetworkError, type NextActionPayload, type NextActionResponse, NextActionType, type OAuthConfigListResponse, type OAuthConfigRequest, type OAuthConfigResponse, type OAuthInitRequest, type OAuthInitRequestOptions, type OAuthInitRequestOptionsQueryParams, OAuthProvider, OAuthProviderAPPLE, OAuthProviderDISCORD, OAuthProviderEPICGAMES, OAuthProviderFACEBOOK, OAuthProviderGOOGLE, OAuthProviderLINE, OAuthProviderTWITTER, type OAuthResponse, type OIDCAuthConfig, type OnrampFee, OnrampProvider, type OnrampQuoteRequest, type OnrampQuoteResponse, type OnrampQuotesResponse, type OnrampSessionRequest, type OnrampSessionResponse, type OnrampSessionResponseQuote, Openfort, type OpenfortErrorResponse, type OpenfortOptions, type PagingQueries, type PasskeyEnv, type PayForUserPolicyStrategy, type PaymasterDeleteResponse, type PaymasterResponse, type PaymasterResponseContext, type PhoneAuthConfig, type PickContractResponseId, type PickJsonFragmentExcludeKeyofJsonFragmentInputsOrOutputs, type PickJsonFragmentTypeExcludeKeyofJsonFragmentTypeComponents, type PickPlayerResponseId, type Plan, PlanChangeType, type PlansResponse, type PlayFabOAuthConfig, type Player, type PlayerCancelTransferOwnershipRequest, type PlayerCreateRequest, type PlayerDeleteResponse, type PlayerListQueries, type PlayerListResponse, type PlayerMetadata, type PlayerResponse, PlayerResponseExpandable, type PlayerTransferOwnershipRequest, type PlayerUpdateRequest, type Policy, type PolicyBalanceWithdrawResponse, type PolicyDeleteResponse, type PolicyListQueries, type PolicyListResponse, PolicyRateLimit, PolicyRateLimitCOUNTPERINTERVAL, PolicyRateLimitGASPERINTERVAL, PolicyRateLimitGASPERTRANSACTION, type PolicyReportQueries, type PolicyReportTransactionIntentsQueries, type PolicyResponse, PolicyResponseExpandable, type PolicyRuleDeleteResponse, type PolicyRuleListQueries, PolicyRuleListQueriesExpandItem, type PolicyRuleListResponse, type PolicyRuleResponse, PolicyRuleType, PolicyRuleTypeACCOUNT, PolicyRuleTypeCONTRACT, PolicyRuleTypeRATELIMIT, type PolicyStrategy, type PolicyStrategyRequest, PolicyV2Action, type PolicyV2Criterion, type PolicyV2CriterionRequest, type PolicyV2DeleteResponse, type PolicyV2ListQueries, PolicyV2ListQueriesScope, type PolicyV2ListResponse, type PolicyV2Response, type PolicyV2RuleResponse, PolicyV2Scope, type PoolOAuthParams, type PoolOAuthResult, type PregenerateAccountResponse, PregenerateAccountResponseCustody, type PregenerateUserRequestV2, PregenerateUserRequestV2AccountType, PregenerateUserRequestV2ChainType, type PregenerateUserV2Result, PrismaSortOrder, PrivateKeyPolicy, type ProgramIdCriterion, ProgramIdCriterionOperator, type ProgramIdCriterionRequest, ProgramIdCriterionRequestOperator, ProgramIdCriterionRequestType, ProgramIdCriterionSchema, type ProjectListResponse, type ProjectLogs, type ProjectResponse, type ProjectStatsRequest, ProjectStatsRequestTimeFrame, type ProjectStatsResponse, type QueryResult, type RSAKeyPair, type ReadContractParams, type ReadContractResult, type RecordStringUnknown, type RecoverV2EmbeddedRequest, type RecoverV2Response, type RecoveryMethodDetails, type RefreshResult, type RefreshTokenRequest, type RegisterEmbeddedRequest, type RegisterEmbeddedV2Request, type RegisterGuestResult, type RegisterWalletSecretRequest, type RegisterWalletSecretResponse, RegisterWalletSecretResponseObject, type RegisterWalletSecretResult, type RemoveAccountResult, type RequestEmailVerificationResult, type RequestOptions, type RequestResetPasswordRequest, type RequestResetPasswordResult, type RequestTransferAccountOwnershipResult, type RequestVerifyEmailRequest, type ResetPasswordRequest, type ResetPasswordResult, type ResponseResponse, ResponseTypeLIST, type RevokeSessionRequest, type RevokeSessionResult, type RevokeWalletSecretRequest, type RevokeWalletSecretResponse, RevokeWalletSecretResponseObject, type RevokeWalletSecretResult, type RotateWalletSecretRequest, type RotateWalletSecretResponse, RotateWalletSecretResponseObject, type RotateWalletSecretResult, type Rule, RuleSchema, type SIWEAuthenticateRequest, type SIWEInitResponse, type SIWERequest, type SMTPConfigResponse, SendEvmTransactionRuleSchema, SendSolTransactionRuleSchema, type SessionListQueries, type SessionListResponse, type SessionResponse, SessionResponseExpandable, type ShieldConfiguration, SignEvmHashRuleSchema, SignEvmMessageRuleSchema, SignEvmTransactionRuleSchema, SignEvmTypedDataRuleSchema, type SignPayloadDeveloperAccountResult, type SignPayloadRequest, type SignPayloadRequestTypes, type SignPayloadRequestValue, type SignPayloadResponse, type SignRequest, type SignResponse, SignResponseObject, type SignResult, SignSolMessageRuleSchema, SignSolTransactionRuleSchema, type SignatureRequest, type SignatureResult, type SignatureSessionResult, type SignerIdResponse, type SignupEmailPasswordResult, type SignupRequest, type SmartAccountData, type SmsApiProviderConfig, SmsProviderMESSAGEBIRD, SmsProviderSMSAPI, SmsProviderTWILIO, SmsProviderTXTLOCAL, SmsProviderVONAGE, type SolAddressCriterion, SolAddressCriterionOperator, type SolAddressCriterionRequest, SolAddressCriterionRequestOperator, SolAddressCriterionRequestType, SolAddressCriterionSchema, type SolDataCriterion, type SolDataCriterionRequest, SolDataCriterionRequestOperator, SolDataCriterionRequestType, SolDataCriterionSchema, type SolMessageCriterion, type SolMessageCriterionRequest, SolMessageCriterionRequestOperator, SolMessageCriterionRequestType, SolMessageCriterionSchema, type SolNetworkCriterion, SolNetworkCriterionOperator, type SolNetworkCriterionRequest, SolNetworkCriterionRequestOperator, SolNetworkCriterionRequestType, SolNetworkCriterionSchema, type SolValueCriterion, SolValueCriterionOperator, type SolValueCriterionRequest, SolValueCriterionRequestOperator, SolValueCriterionRequestType, SolValueCriterionSchema, type SolanaAccount, type SolanaAccountBase, type SolanaAccountData, SolanaClient, SolanaCriteriaType, SolanaCriteriaTypeMINTADDRESS, SolanaCriteriaTypePROGRAMID, SolanaCriteriaTypeSOLADDRESS, SolanaCriteriaTypeSOLDATA, SolanaCriteriaTypeSOLMESSAGE, SolanaCriteriaTypeSOLNETWORK, SolanaCriteriaTypeSOLVALUE, SolanaCriteriaTypeSPLADDRESS, SolanaCriteriaTypeSPLVALUE, type SignMessageOptions as SolanaSignMessageOptions, type SignTransactionOptions as SolanaSignTransactionOptions, type SolanaSigningMethods, type SplAddressCriterion, SplAddressCriterionOperator, type SplAddressCriterionRequest, SplAddressCriterionRequestOperator, SplAddressCriterionRequestType, SplAddressCriterionSchema, type SplValueCriterion, SplValueCriterionOperator, type SplValueCriterionRequest, SplValueCriterionRequestOperator, SplValueCriterionRequestType, SplValueCriterionSchema, SponsorSchema, SponsorSchemaCHARGECUSTOMTOKENS, SponsorSchemaFIXEDRATE, SponsorSchemaPAYFORUSER, type StandardDetails, type Stat, Status, type SubscriptionDeleteResponse, type SubscriptionListResponse, type SubscriptionLogsResponse, type SubscriptionResponse, type SupabaseAuthConfig, type SwitchChainQueriesV2, type SwitchChainRequest, type SwitchChainV2Result, type TestTrigger200, type TestTriggerResult, type ThirdPartyLinkRequest, ThirdPartyOAuthProvider, ThirdPartyOAuthProviderACCELBYTE, ThirdPartyOAuthProviderBETTERAUTH, ThirdPartyOAuthProviderCUSTOM, ThirdPartyOAuthProviderFIREBASE, ThirdPartyOAuthProviderLOOTLOCKER, ThirdPartyOAuthProviderOIDC, ThirdPartyOAuthProviderPLAYFAB, ThirdPartyOAuthProviderSUPABASE, type ThirdPartyOAuthRequest, type ThirdPartyResult, type ThirdPartyV2Result, TimeIntervalType, TimeoutError, TokenType, TransactionAbstractionType, type TransactionConfirmedEventResponse, type TransactionIntent, type TransactionIntentListQueries, type TransactionIntentListResponse, type TransactionIntentResponse, TransactionIntentResponseExpandable, type TransactionResponseLog, type TransactionStat, TransactionStatus, type Transition, type TriggerDeleteResponse, type TriggerListResponse, type TriggerResponse, type TwilioSmsProviderConfig, type TwitterOAuthConfig, type TxtLocalSmsProviderConfig, type TypedDataField, type TypedDomainData, UnknownError, type UnlinkEmailRequest, type UnlinkEmailResult, type UnlinkOAuthRequest, type UnlinkOAuthResult, type UnlinkSIWEResult, type UpdateAuthorizedAppsRequest, type UpdateAuthorizedNetworksRequest, type UpdateAuthorizedOriginsRequest, type UpdateContractRequest, type UpdateContractResult, type UpdateDeveloperAccountCreateRequest, type UpdateDeveloperAccountResult, type UpdateEmailSampleRequest, type UpdateEmailSampleResponse, type UpdateForwarderContractResult, type UpdateMigrationRequest, type UpdatePaymasterResult, type UpdatePlayerResult, type UpdatePolicyBody, UpdatePolicyBodySchema, type UpdatePolicyRequest, type UpdatePolicyResult, type UpdatePolicyRuleRequest, type UpdatePolicyRuleResult, type UpdatePolicyV2Request, type UpdatePolicyV2Result, type UpdateProjectApiKeyRequest, type UpdateProjectRequest, type UpsertSMTPConfigRequest, type UserDeleteResponse, UserInputValidationError, type UserListQueries, type UserListResponse, type UserOperationV6, type UserOperationV8, type UserOperationV9, type UserProjectCreateRequest, UserProjectCreateRequestRole, type UserProjectDeleteResponse, type UserProjectListResponse, type UserProjectResponse, UserProjectRole, UserProjectRoleADMIN, UserProjectRoleMEMBER, type UserProjectUpdateRequest, UserProjectUpdateRequestRole, ValidationError, type VerifyAuthTokenParams, type VerifyAuthTokenResult, type VerifyEmailRequest, type VerifyEmailResult, type VerifyOAuthTokenResult, type VonageSmsProviderConfig, type WalletResponse, type Web3AuthConfig, type WebhookResponse, type WithdrawalPolicyRequest, type ZKSyncDetails, authV2 as authApi, openfortAuth_schemas as authSchemas, authenticateSIWE, authorize, callbackOAuth, cancelTransferAccountOwnership, configure, create, createAccount, createAccountV2, createAuthPlayer, createBackendWallet, createContract, createDeveloperAccount, createEvent, createForwarderContract, createOAuthConfig, createOnrampSession, createPaymaster, createPlayer, createPolicy, createPolicyRule, createPolicyV2, createPolicyWithdrawal, createSession, createSubscription, createTransactionIntent, createTrigger, decryptExportedPrivateKey, Openfort as default, deleteAuthPlayer, deleteBackendWallet, deleteContract, deleteDeveloperAccount, deleteEvent, deleteForwarderContract, deleteOAuthConfig, deletePaymaster, deletePlayer, deletePolicy, deletePolicyRule, deletePolicyV2, deleteSubscription, deleteTrigger, deleteUser, deprecatedCallbackOAuth, disableAccount, disablePolicy, enablePolicy, encryptForImport, estimateTransactionIntentCost, evaluatePolicyV2, exportPrivateKey, generateRSAKeyPair, getAccount, getAccountV2, getAccounts, getAccountsV2, getAuthPlayer, getAuthPlayers, getAuthUser, getAuthUsers, getBackendWallet, getConfig, getContract, getContracts, getDeveloperAccount, getDeveloperAccounts, getEvent, getEvents, getForwarderContract, getJwks, getOAuthConfig, getOnrampQuote, getPaymaster, getPlayer, getPlayerSessions, getPlayers, getPolicies, getPolicy, getPolicyBalance, getPolicyReportTransactionIntents, getPolicyRules, getPolicyTotalGasUsage, getPolicyV2, getProjectLogs, getSession, getSignerIdByAddress, getSubscription, getSubscriptions, getTransactionIntent, getTransactionIntents, getTrigger, getTriggers, getUserWallet, getVerificationPayload, getWebhookLogsByProjectId, grantOAuth, handleChainRpcRequest, handleRpcRequest, handleSolanaRpcRequest, importPrivateKey, initOAuth, initSIWE, isOpenfortError, linkEmail, linkOAuth, linkSIWE, linkThirdParty, list, listBackendWallets, listForwarderContracts, listOAuthConfig, listPaymasters, listPolicies, listSubscriptionLogs, loginEmailPassword, loginOIDC, loginWithIdToken, logout, me, meV2, poolOAuth, pregenerateUserV2, query, readContract, refresh, registerGuest, registerWalletSecret, removeAccount, requestEmailVerification, requestResetPassword, requestTransferAccountOwnership, resetPassword, revokeSession, revokeWalletSecret, rotateWalletSecret, sign, signPayloadDeveloperAccount, signature, signatureSession, signupEmailPassword, switchChainV2, testTrigger, thirdParty, thirdPartyV2, toEvmAccount, toSolanaAccount, unlinkEmail, unlinkOAuth, unlinkSIWE, updateContract, updateDeveloperAccount, updateForwarderContract, updatePaymaster, updatePlayer, updatePolicy, updatePolicyRule, updatePolicyV2, verifyAuthToken, verifyEmail, verifyOAuthToken };
15770
+ export { APIError, type APIErrorType, APITopic, APITopicBALANCECONTRACT, APITopicBALANCEDEVACCOUNT, APITopicBALANCEPROJECT, APITopicTRANSACTIONSUCCESSFUL, APITriggerType, type Abi, type AbiType, type AccelbyteOAuthConfig, type Account$1 as Account, type AccountAbstractionV6Details, type AccountAbstractionV8Details, type AccountAbstractionV9Details, type AccountEventResponse, type AccountListQueries, type AccountListQueriesV2, AccountListQueriesV2AccountType, AccountListQueriesV2ChainType, AccountListQueriesV2Custody, type AccountListResponse, type AccountListV2Response, AccountNotFoundError, type AccountPolicyRuleResponse, type AccountResponse, AccountResponseExpandable, type AccountV2Response, AccountV2ResponseCustody, type ActionRequiredResponse, Actions, type AllowedOriginsRequest, type AllowedOriginsResponse, type ApiKeyResponse, ApiKeyType, type AppleOAuthConfig, type AuthConfig, type AuthMigrationListResponse, type AuthMigrationResponse, AuthMigrationStatus, type AuthPlayerListQueries, type AuthPlayerListResponse, type AuthPlayerResponse, type AuthPlayerResponseWithRecoveryShare, AuthProvider, type AuthProviderListResponse, AuthProviderResponse, AuthProviderResponseV2, type AuthProviderWithTypeResponse, type AuthResponse, type AuthSessionResponse, type AuthUserResponse, type AuthenticateOAuthRequest, AuthenticateOAuthRequestProvider, type AuthenticateSIWEResult, type AuthenticatedPlayerResponse, AuthenticationType, type AuthorizePlayerRequest, type AuthorizeResult, type AuthorizedApp, type AuthorizedAppsResponse, type AuthorizedAppsResponseAuthorizedAppsItem, type AuthorizedNetwork, type AuthorizedNetworksResponse, type AuthorizedNetworksResponseAuthorizedNetworksItem, type AuthorizedOriginsResponse, type BackendWalletListQueries, BackendWalletListQueriesChainType, type BackendWalletListResponse, BackendWalletListResponseObject, type BackendWalletResponse, BackendWalletResponseChainType, BackendWalletResponseCustody, BackendWalletResponseObject, type BalanceEventResponse, type BalanceResponse, type BaseDeleteEntityResponseEntityTypePLAYER, type BaseEntityListResponseAccountV2Response, type BaseEntityListResponseAuthUserResponse, type BaseEntityListResponseDeviceResponse, type BaseEntityListResponseEmailSampleResponse, type BaseEntityListResponseLogResponse, type BaseEntityListResponseTriggerResponse, type BaseEntityResponseEntityTypeWALLET, BasicAuthProvider, BasicAuthProviderEMAIL, BasicAuthProviderGUEST, BasicAuthProviderPHONE, BasicAuthProviderWEB3, type BetterAuthConfig, type BillingSubscriptionResponse, type BillingSubscriptionResponsePlan, type CallbackOAuthParams, type CallbackOAuthResult, type CancelTransferAccountOwnershipResult, type ChargeCustomTokenPolicyStrategy, type CheckoutRequest, type CheckoutResponse, type CheckoutSubscriptionRequest, type ChildProjectListResponse, type ChildProjectResponse, type CodeChallenge, CodeChallengeMethod, type CodeChallengeVerify, type ContractDeleteResponse, type ContractEventResponse, type ContractListQueries, type ContractListResponse, type ContractPolicyRuleResponse, type ContractReadQueries, type ContractReadResponse, type ContractResponse, type CountPerIntervalLimitPolicyRuleResponse, type CreateAccountRequest, type CreateAccountRequestV2, CreateAccountRequestV2AccountType, CreateAccountRequestV2ChainType, type CreateAccountResult, type CreateAccountV2Result, type CreateAuthPlayerRequest, type CreateAuthPlayerResult, type CreateBackendWalletRequest, CreateBackendWalletRequestChainType, type CreateBackendWalletResponse, CreateBackendWalletResponseChainType, CreateBackendWalletResponseObject, type CreateBackendWalletResult, type CreateContractRequest, type CreateContractResult, type CreateDeveloperAccountCreateRequest, type CreateDeveloperAccountResult, type CreateDeviceRequest, type CreateDeviceResponse, type CreateEcosystemConfigurationRequest, type CreateEmailSampleRequest, type CreateEmailSampleResponse, type CreateEmbeddedRequest, CreateEmbeddedRequestAccountType, CreateEmbeddedRequestChainType, type CreateEventRequest, type CreateEventResponse, type CreateEventResult, type CreateEvmAccountOptions, type CreateFeeSponsorshipRequest, type CreateFeeSponsorshipResult, type CreateForwarderContractRequest, type CreateForwarderContractResponse, type CreateForwarderContractResult, type CreateGasPolicyLegacyResult, type CreateGasPolicyRuleLegacyResult, type CreateGasPolicyWithdrawalLegacyResult, type CreateMigrationRequest, type CreateOAuthConfigResult, type CreateOnrampSessionResult, type CreatePaymasterRequest, type CreatePaymasterRequestContext, type CreatePaymasterResponse, type CreatePaymasterResult, type CreatePlayerResult, type CreatePolicyBody, CreatePolicyBodySchema, type CreatePolicyRequest, type CreatePolicyRuleRequest, type CreatePolicyV2Request, CreatePolicyV2RequestScope, type CreatePolicyV2Result, type CreatePolicyV2RuleRequest, CreatePolicyV2RuleRequestAction, type CreateProjectApiKeyRequest, type CreateProjectRequest, type CreateResult, type CreateSMTPConfigResponse, type CreateSessionRequest, type CreateSessionResult, type CreateSolanaAccountOptions, type CreateSubscriptionRequest, type CreateSubscriptionResponse, type CreateSubscriptionResult, type CreateTransactionIntentRequest, type CreateTransactionIntentResult, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResult, CriteriaOperator, CriteriaOperatorEQUAL, CriteriaOperatorGREATERTHAN, CriteriaOperatorGREATERTHANOREQUAL, CriteriaOperatorIN, CriteriaOperatorLESSTHAN, CriteriaOperatorLESSTHANOREQUAL, CriteriaOperatorMATCH, CriteriaOperatorNOTIN, CriteriaType, Currency, type CustomAuthConfig, type DeleteAccountResponse, type DeleteAuthPlayerResult, type DeleteBackendWalletResponse, DeleteBackendWalletResponseObject, type DeleteBackendWalletResult, type DeleteContractResult, type DeleteDeveloperAccountResult, type DeleteEventResult, type DeleteFeeSponsorshipResult, type DeleteForwarderContractResult, type DeleteGasPolicyLegacyResult, type DeleteGasPolicyRuleLegacyResult, type DeleteOAuthConfigResult, type DeletePaymasterResult, type DeletePlayerResult, type DeletePolicyV2Result, type DeleteSMTPConfigResponse, type DeleteSubscriptionResult, type DeleteTriggerResult, type DeleteUserResult, type DeprecatedCallbackOAuthParams, type DeprecatedCallbackOAuthResult, type DeveloperAccount, type DeveloperAccountDeleteResponse, type DeveloperAccountGetMessageResponse, type DeveloperAccountListQueries, type DeveloperAccountListResponse, type DeveloperAccountResponse, DeveloperAccountResponseExpandable, type DeviceListQueries, type DeviceListResponse, type DeviceResponse, type DeviceStat, type DisableAccountResult, type DisableFeeSponsorshipResult, type DisableGasPolicyLegacyResult, type DiscordOAuthConfig, type EcosystemConfigurationResponse, type EcosystemMetadata, type EmailAuthConfig, type EmailAuthConfigPasswordRequirements, type EmailSampleDeleteResponse, type EmailSampleListResponse, type EmailSampleResponse, EmailTypeRequest, EmailTypeResponse, type EmbeddedNextActionResponse, EmbeddedNextActionResponseNextAction, type EmbeddedResponse, type EmbeddedV2Response, type EnableFeeSponsorshipResult, type EnableGasPolicyLegacyResult, EncryptionError, type EntityIdResponse, EntityTypeACCOUNT, EntityTypeCONTRACT, EntityTypeDEVELOPERACCOUNT, EntityTypeDEVICE, EntityTypeEMAILSAMPLE, EntityTypeEVENT, EntityTypeFEESPONSORSHIP, EntityTypeFORWARDERCONTRACT, EntityTypeLOG, EntityTypePAYMASTER, EntityTypePLAYER, EntityTypePOLICY, EntityTypePOLICYRULE, EntityTypePOLICYV2, EntityTypePOLICYV2RULE, EntityTypePROJECT, EntityTypeREADCONTRACT, EntityTypeSESSION, EntityTypeSIGNATURE, EntityTypeSMTPCONFIG, EntityTypeSUBSCRIPTION, EntityTypeTRANSACTIONINTENT, EntityTypeTRIGGER, EntityTypeUSER, EntityTypeWALLET, type EpicGamesOAuthConfig, ErrorTypeINVALIDREQUESTERROR, type EstimateTransactionIntentCostResult, type EstimateTransactionIntentGasResult, type EthValueCriterion, EthValueCriterionOperator, type EthValueCriterionRequest, EthValueCriterionRequestOperator, EthValueCriterionRequestType, EthValueCriterionSchema, type EvaluatePolicyV2Payload, type EvaluatePolicyV2Request, type EvaluatePolicyV2Response, EvaluatePolicyV2ResponseObject, type EvaluatePolicyV2Result, type EventDeleteResponse, type EventListQueries, type EventListResponse, type EventResponse, type EvmAccount, type EvmAccountBase, type EvmAccountData, type EvmAddressCriterion, EvmAddressCriterionOperator, type EvmAddressCriterionRequest, EvmAddressCriterionRequestOperator, EvmAddressCriterionRequestType, EvmAddressCriterionSchema, EvmClient, EvmCriteriaType, EvmCriteriaTypeETHVALUE, EvmCriteriaTypeEVMADDRESS, EvmCriteriaTypeEVMDATA, EvmCriteriaTypeEVMMESSAGE, EvmCriteriaTypeEVMNETWORK, EvmCriteriaTypeEVMTYPEDDATAFIELD, EvmCriteriaTypeEVMTYPEDDATAVERIFYINGCONTRACT, EvmCriteriaTypeNETUSDCHANGE, type EvmDataCriterion, type EvmDataCriterionRequest, EvmDataCriterionRequestOperator, EvmDataCriterionRequestType, EvmDataCriterionSchema, type EvmMessageCriterion, type EvmMessageCriterionRequest, EvmMessageCriterionRequestOperator, EvmMessageCriterionRequestType, EvmMessageCriterionSchema, type EvmNetworkCriterion, EvmNetworkCriterionOperator, type EvmNetworkCriterionRequest, EvmNetworkCriterionRequestOperator, EvmNetworkCriterionRequestType, EvmNetworkCriterionSchema, type SignMessageOptions$1 as EvmSignMessageOptions, type SignTransactionOptions$1 as EvmSignTransactionOptions, type SignTypedDataOptions as EvmSignTypedDataOptions, type EvmSigningMethods, type EvmTypedDataFieldCriterion, EvmTypedDataFieldCriterionOperator, type EvmTypedDataFieldCriterionRequest, EvmTypedDataFieldCriterionRequestOperator, EvmTypedDataFieldCriterionRequestType, EvmTypedDataFieldCriterionSchema, type EvmTypedDataVerifyingContractCriterion, EvmTypedDataVerifyingContractCriterionOperator, type EvmTypedDataVerifyingContractCriterionRequest, EvmTypedDataVerifyingContractCriterionRequestOperator, EvmTypedDataVerifyingContractCriterionRequestType, EvmTypedDataVerifyingContractCriterionSchema, type ExportPrivateKeyRequest, type ExportPrivateKeyResponse, ExportPrivateKeyResponseObject, type ExportPrivateKeyResult, type ExportSolanaAccountOptions, type ExportedEmbeddedRequest, type FacebookOAuthConfig, type FeeSponsorshipDeleteResponse, type FeeSponsorshipListQueries, type FeeSponsorshipListResponse, type FeeSponsorshipResponse, type FeeSponsorshipStrategy, type FeeSponsorshipStrategyResponse, type FieldErrors, type FirebaseOAuthConfig, type FixedRateTokenPolicyStrategy, type ForwarderContractDeleteResponse, type ForwarderContractResponse, type GasPerIntervalLimitPolicyRuleResponse, type GasPerTransactionLimitPolicyRuleResponse, type GasReport, type GasReportListResponse, type GasReportTransactionIntents, type GasReportTransactionIntentsListResponse, type GetAccountParams, type GetAccountResult, type GetAccountV2Result, type GetAccountsParams, type GetAccountsResult, GetAccountsV2AccountType, GetAccountsV2ChainType, GetAccountsV2Custody, type GetAccountsV2Params, type GetAccountsV2Result, type GetAuthPlayerResult, type GetAuthPlayersParams, type GetAuthPlayersResult, type GetAuthUserResult, type GetAuthUsersParams, type GetAuthUsersResult, type GetBackendWalletResult, type GetContractResult, type GetContractsParams, type GetContractsResult, type GetDeveloperAccountParams, type GetDeveloperAccountResult, type GetDeveloperAccountsParams, type GetDeveloperAccountsResult, type GetDeviceResponse, type GetEmailSampleResponse, type GetEventResponse, type GetEventResult, type GetEventsParams, type GetEventsResult, type GetEvmAccountOptions, type GetFeeSponsorshipResult, type GetForwarderContractResult, type GetGasPoliciesLegacyParams, type GetGasPoliciesLegacyResult, type GetGasPolicyBalanceLegacyResult, type GetGasPolicyLegacyParams, type GetGasPolicyLegacyResult, type GetGasPolicyReportTransactionIntentsLegacyParams, type GetGasPolicyReportTransactionIntentsLegacyResult, GetGasPolicyRulesLegacyExpandItem, type GetGasPolicyRulesLegacyParams, type GetGasPolicyRulesLegacyResult, type GetGasPolicyTotalGasUsageLegacyParams, type GetGasPolicyTotalGasUsageLegacyResult, type GetJwksResult, type GetOAuthConfigResult, type GetOnrampQuoteResult, type GetPaymasterResult, type GetPlayerParams, type GetPlayerResult, type GetPlayerSessionsParams, type GetPlayerSessionsResult, type GetPlayersParams, type GetPlayersResult, type GetPolicyV2Result, type GetProjectLogsParams, type GetProjectLogsResult, type GetSMTPConfigResponse, type GetSessionParams, type GetSessionResult, type GetSignerIdByAddressParams, type GetSignerIdByAddressResult, type GetSolanaAccountOptions, type GetSubscriptionResponse, type GetSubscriptionResult, type GetSubscriptionsResult, type GetTransactionIntentParams, type GetTransactionIntentResult, type GetTransactionIntentsParams, type GetTransactionIntentsResult, type GetTriggerResponse, type GetTriggerResult, type GetTriggersResult, type GetUserWalletResult, type GetVerificationPayloadParams, type GetVerificationPayloadResult, type GetWebhookLogsByProjectIdResult, type GoogleOAuthConfig, type GrantCallbackRequest, type GrantOAuthResponse, type GrantOAuthResult, type GuestAuthConfig, type HandleChainRpcRequestResult, type HandleRpcRequestResult, type HandleSolanaRpcRequestResult, type HttpErrorType, IMPORT_ENCRYPTION_PUBLIC_KEY, type ImportPrivateKeyRequest, ImportPrivateKeyRequestChainType, type ImportPrivateKeyResponse, ImportPrivateKeyResponseChainType, ImportPrivateKeyResponseObject, type ImportPrivateKeyResult, type ImportSolanaAccountOptions, type InitEmbeddedRequest, type InitOAuthResult, type InitSIWEResult, type Interaction, InvalidAPIKeyFormatError, InvalidPublishableKeyFormatError, type InvalidRequestError, type InvalidRequestErrorResponse, InvalidWalletSecretFormatError, type JsonRpcError, type JsonRpcErrorResponse, JsonRpcErrorResponseJsonrpc, type JsonRpcRequest, JsonRpcRequestJsonrpc, type JsonRpcResponse, type JsonRpcSuccessResponseAny, JsonRpcSuccessResponseAnyJsonrpc, type JwtKey, type JwtKeyResponse, type LineOAuthConfig, type LinkEmailResult, type LinkOAuthResult, type LinkSIWEResult, type LinkThirdPartyResult, type LinkedAccountResponse, type LinkedAccountResponseV2, type ListAccountsResult, ListBackendWalletsChainType, type ListBackendWalletsParams, type ListBackendWalletsResult, type ListConfigRequest, type ListEvmAccountsOptions, type ListFeeSponsorshipsParams, type ListFeeSponsorshipsResult, type ListForwarderContractsParams, type ListForwarderContractsResult, type ListMigrationsRequest, type ListOAuthConfigResult, type ListParams, type ListPaymastersParams, type ListPaymastersResult, type ListPoliciesParams, type ListPoliciesResult, ListPoliciesScopeItem, type ListResult, type ListSolanaAccountsOptions, type ListSubscriptionLogsParams, type ListSubscriptionLogsRequest, type ListSubscriptionLogsResult, type Log, type LogResponse, type LoginEmailPasswordResult, type LoginOIDCRequest, type LoginOIDCResult, type LoginRequest, type LoginWithIdTokenRequest, type LoginWithIdTokenResult, type LogoutRequest, type LogoutResult, type LootLockerOAuthConfig, type MappingStrategy, type MeResult, type MeV2Result, type MessageBirdSmsProviderConfig, type MintAddressCriterion, MintAddressCriterionOperator, type MintAddressCriterionRequest, MintAddressCriterionRequestOperator, MintAddressCriterionRequestType, MintAddressCriterionSchema, MissingAPIKeyError, MissingPublishableKeyError, MissingWalletSecretError, type Money, type MonthRange, type MyEcosystemResponse, type NetUSDChangeCriterion, NetUSDChangeCriterionOperator, type NetUSDChangeCriterionRequest, NetUSDChangeCriterionRequestOperator, NetUSDChangeCriterionRequestType, NetworkError, type NextActionPayload, type NextActionResponse, NextActionType, type OAuthConfigListResponse, type OAuthConfigRequest, type OAuthConfigResponse, type OAuthInitRequest, type OAuthInitRequestOptions, type OAuthInitRequestOptionsQueryParams, OAuthProvider, OAuthProviderAPPLE, OAuthProviderDISCORD, OAuthProviderEPICGAMES, OAuthProviderFACEBOOK, OAuthProviderGOOGLE, OAuthProviderLINE, OAuthProviderTWITTER, type OAuthResponse, type OIDCAuthConfig, type OnrampFee, OnrampProvider, type OnrampQuoteRequest, type OnrampQuoteResponse, type OnrampQuotesResponse, type OnrampSessionRequest, type OnrampSessionResponse, type OnrampSessionResponseQuote, Openfort, type OpenfortErrorResponse, type OpenfortOptions, type PagingQueries, type PasskeyEnv, type PayForUserPolicyStrategy, type PaymasterDeleteResponse, type PaymasterResponse, type PaymasterResponseContext, type PhoneAuthConfig, type PickContractResponseId, type PickJsonFragmentExcludeKeyofJsonFragmentInputsOrOutputs, type PickJsonFragmentTypeExcludeKeyofJsonFragmentTypeComponents, type PickPlayerResponseId, type Plan, PlanChangeType, type PlansResponse, type PlayFabOAuthConfig, type Player, type PlayerCancelTransferOwnershipRequest, type PlayerCreateRequest, type PlayerDeleteResponse, type PlayerListQueries, type PlayerListResponse, type PlayerMetadata, type PlayerResponse, PlayerResponseExpandable, type PlayerTransferOwnershipRequest, type PlayerUpdateRequest, type Policy, type PolicyBalanceWithdrawResponse, type PolicyDeleteResponse, type PolicyListQueries, type PolicyListResponse, PolicyRateLimit, PolicyRateLimitCOUNTPERINTERVAL, PolicyRateLimitGASPERINTERVAL, PolicyRateLimitGASPERTRANSACTION, type PolicyReportQueries, type PolicyReportTransactionIntentsQueries, type PolicyResponse, PolicyResponseExpandable, type PolicyRuleDeleteResponse, type PolicyRuleListQueries, PolicyRuleListQueriesExpandItem, type PolicyRuleListResponse, type PolicyRuleResponse, PolicyRuleType, PolicyRuleTypeACCOUNT, PolicyRuleTypeCONTRACT, PolicyRuleTypeRATELIMIT, type PolicyStrategy, type PolicyStrategyRequest, PolicyV2Action, type PolicyV2Criterion, type PolicyV2CriterionRequest, type PolicyV2DeleteResponse, type PolicyV2ListQueries, PolicyV2ListQueriesScopeItem, type PolicyV2ListResponse, type PolicyV2Response, type PolicyV2RuleResponse, PolicyV2Scope, type PoolOAuthParams, type PoolOAuthResult, type PregenerateAccountResponse, PregenerateAccountResponseCustody, type PregenerateUserRequestV2, PregenerateUserRequestV2AccountType, PregenerateUserRequestV2ChainType, type PregenerateUserV2Result, PrismaSortOrder, PrivateKeyPolicy, type ProgramIdCriterion, ProgramIdCriterionOperator, type ProgramIdCriterionRequest, ProgramIdCriterionRequestOperator, ProgramIdCriterionRequestType, ProgramIdCriterionSchema, type ProjectListResponse, type ProjectLogs, type ProjectResponse, type ProjectStatsRequest, ProjectStatsRequestTimeFrame, type ProjectStatsResponse, type QueryResult, type RSAKeyPair, type ReadContractParams, type ReadContractResult, type RecordStringUnknown, type RecoverV2EmbeddedRequest, type RecoverV2Response, type RecoveryMethodDetails, type RefreshResult, type RefreshTokenRequest, type RegisterEmbeddedRequest, type RegisterEmbeddedV2Request, type RegisterGuestResult, type RegisterWalletSecretRequest, type RegisterWalletSecretResponse, RegisterWalletSecretResponseObject, type RegisterWalletSecretResult, type RemoveAccountResult, type RequestEmailVerificationResult, type RequestOptions, type RequestResetPasswordRequest, type RequestResetPasswordResult, type RequestTransferAccountOwnershipResult, type RequestVerifyEmailRequest, type ResetPasswordRequest, type ResetPasswordResult, type ResponseResponse, ResponseTypeLIST, type RevokeSessionRequest, type RevokeSessionResult, type RevokeWalletSecretRequest, type RevokeWalletSecretResponse, RevokeWalletSecretResponseObject, type RevokeWalletSecretResult, type RotateWalletSecretRequest, type RotateWalletSecretResponse, RotateWalletSecretResponseObject, type RotateWalletSecretResult, type Rule, RuleSchema, type SIWEAuthenticateRequest, type SIWEInitResponse, type SIWERequest, type SMTPConfigResponse, SendEvmTransactionRuleSchema, SendSolTransactionRuleSchema, type SessionListQueries, type SessionListResponse, type SessionResponse, SessionResponseExpandable, type ShieldConfiguration, SignEvmHashRuleSchema, SignEvmMessageRuleSchema, SignEvmTransactionRuleSchema, SignEvmTypedDataRuleSchema, type SignPayloadDeveloperAccountResult, type SignPayloadRequest, type SignPayloadRequestTypes, type SignPayloadRequestValue, type SignPayloadResponse, type SignRequest, type SignResponse, SignResponseObject, type SignResult, SignSolMessageRuleSchema, SignSolTransactionRuleSchema, type SignatureRequest, type SignatureResult, type SignatureSessionResult, type SignerIdResponse, type SignupEmailPasswordResult, type SignupRequest, type SmartAccountData, type SmsApiProviderConfig, SmsProviderMESSAGEBIRD, SmsProviderSMSAPI, SmsProviderTWILIO, SmsProviderTXTLOCAL, SmsProviderVONAGE, type SolAddressCriterion, SolAddressCriterionOperator, type SolAddressCriterionRequest, SolAddressCriterionRequestOperator, SolAddressCriterionRequestType, SolAddressCriterionSchema, type SolDataCriterion, type SolDataCriterionRequest, SolDataCriterionRequestOperator, SolDataCriterionRequestType, SolDataCriterionSchema, type SolMessageCriterion, type SolMessageCriterionRequest, SolMessageCriterionRequestOperator, SolMessageCriterionRequestType, SolMessageCriterionSchema, type SolNetworkCriterion, SolNetworkCriterionOperator, type SolNetworkCriterionRequest, SolNetworkCriterionRequestOperator, SolNetworkCriterionRequestType, SolNetworkCriterionSchema, type SolValueCriterion, SolValueCriterionOperator, type SolValueCriterionRequest, SolValueCriterionRequestOperator, SolValueCriterionRequestType, SolValueCriterionSchema, type SolanaAccount, type SolanaAccountBase, type SolanaAccountData, SolanaClient, SolanaCriteriaType, SolanaCriteriaTypeMINTADDRESS, SolanaCriteriaTypePROGRAMID, SolanaCriteriaTypeSOLADDRESS, SolanaCriteriaTypeSOLDATA, SolanaCriteriaTypeSOLMESSAGE, SolanaCriteriaTypeSOLNETWORK, SolanaCriteriaTypeSOLVALUE, SolanaCriteriaTypeSPLADDRESS, SolanaCriteriaTypeSPLVALUE, type SignMessageOptions as SolanaSignMessageOptions, type SignTransactionOptions as SolanaSignTransactionOptions, type SolanaSigningMethods, type SplAddressCriterion, SplAddressCriterionOperator, type SplAddressCriterionRequest, SplAddressCriterionRequestOperator, SplAddressCriterionRequestType, SplAddressCriterionSchema, type SplValueCriterion, SplValueCriterionOperator, type SplValueCriterionRequest, SplValueCriterionRequestOperator, SplValueCriterionRequestType, SplValueCriterionSchema, SponsorEvmTransactionRuleSchema, SponsorSchema, SponsorSchemaCHARGECUSTOMTOKENS, SponsorSchemaFIXEDRATE, SponsorSchemaPAYFORUSER, SponsorSolTransactionRuleSchema, type StandardDetails, type Stat, Status, type SubscriptionDeleteResponse, type SubscriptionListResponse, type SubscriptionLogsResponse, type SubscriptionResponse, type SupabaseAuthConfig, type SwitchChainQueriesV2, type SwitchChainRequest, type SwitchChainV2Result, type TestTrigger200, type TestTriggerResult, type ThirdPartyLinkRequest, ThirdPartyOAuthProvider, ThirdPartyOAuthProviderACCELBYTE, ThirdPartyOAuthProviderBETTERAUTH, ThirdPartyOAuthProviderCUSTOM, ThirdPartyOAuthProviderFIREBASE, ThirdPartyOAuthProviderLOOTLOCKER, ThirdPartyOAuthProviderOIDC, ThirdPartyOAuthProviderPLAYFAB, ThirdPartyOAuthProviderSUPABASE, type ThirdPartyOAuthRequest, type ThirdPartyResult, type ThirdPartyV2Result, TimeIntervalType, TimeoutError, TokenType, TransactionAbstractionType, type TransactionConfirmedEventResponse, type TransactionIntent, type TransactionIntentListQueries, type TransactionIntentListResponse, type TransactionIntentResponse, TransactionIntentResponseExpandable, type TransactionResponseLog, type TransactionStat, TransactionStatus, type Transition, type TriggerDeleteResponse, type TriggerListResponse, type TriggerResponse, type TwilioSmsProviderConfig, type TwitterOAuthConfig, type TxtLocalSmsProviderConfig, type TypedDataField, type TypedDomainData, UnknownError, type UnlinkEmailRequest, type UnlinkEmailResult, type UnlinkOAuthRequest, type UnlinkOAuthResult, type UnlinkSIWEResult, type UpdateAuthorizedAppsRequest, type UpdateAuthorizedNetworksRequest, type UpdateAuthorizedOriginsRequest, type UpdateContractRequest, type UpdateContractResult, type UpdateDeveloperAccountCreateRequest, type UpdateDeveloperAccountResult, type UpdateEmailSampleRequest, type UpdateEmailSampleResponse, type UpdateFeeSponsorshipRequest, type UpdateFeeSponsorshipResult, type UpdateForwarderContractResult, type UpdateGasPolicyLegacyResult, type UpdateGasPolicyRuleLegacyResult, type UpdateMigrationRequest, type UpdatePaymasterResult, type UpdatePlayerResult, type UpdatePolicyBody, UpdatePolicyBodySchema, type UpdatePolicyRequest, type UpdatePolicyRuleRequest, type UpdatePolicyV2Request, type UpdatePolicyV2Result, type UpdateProjectApiKeyRequest, type UpdateProjectRequest, type UpsertSMTPConfigRequest, type UserDeleteResponse, UserInputValidationError, type UserListQueries, type UserListResponse, type UserOperationV6, type UserOperationV8, type UserOperationV9, type UserProjectCreateRequest, UserProjectCreateRequestRole, type UserProjectDeleteResponse, type UserProjectListResponse, type UserProjectResponse, UserProjectRole, UserProjectRoleADMIN, UserProjectRoleMEMBER, type UserProjectUpdateRequest, UserProjectUpdateRequestRole, ValidationError, type VerifyAuthTokenParams, type VerifyAuthTokenResult, type VerifyEmailRequest, type VerifyEmailResult, type VerifyOAuthTokenResult, type VonageSmsProviderConfig, type WalletResponse, type Web3AuthConfig, type WebhookResponse, type WithdrawalPolicyRequest, type ZKSyncDetails, authV2 as authApi, openfortAuth_schemas as authSchemas, authenticateSIWE, authorize, callbackOAuth, cancelTransferAccountOwnership, configure, create, createAccount, createAccountV2, createAuthPlayer, createBackendWallet, createContract, createDeveloperAccount, createEvent, createFeeSponsorship, createForwarderContract, createGasPolicyLegacy, createGasPolicyRuleLegacy, createGasPolicyWithdrawalLegacy, createOAuthConfig, createOnrampSession, createPaymaster, createPlayer, createPolicyV2, createSession, createSubscription, createTransactionIntent, createTrigger, decryptExportedPrivateKey, Openfort as default, deleteAuthPlayer, deleteBackendWallet, deleteContract, deleteDeveloperAccount, deleteEvent, deleteFeeSponsorship, deleteForwarderContract, deleteGasPolicyLegacy, deleteGasPolicyRuleLegacy, deleteOAuthConfig, deletePaymaster, deletePlayer, deletePolicyV2, deleteSubscription, deleteTrigger, deleteUser, deprecatedCallbackOAuth, disableAccount, disableFeeSponsorship, disableGasPolicyLegacy, enableFeeSponsorship, enableGasPolicyLegacy, encryptForImport, estimateTransactionIntentCost, evaluatePolicyV2, exportPrivateKey, generateRSAKeyPair, getAccount, getAccountV2, getAccounts, getAccountsV2, getAuthPlayer, getAuthPlayers, getAuthUser, getAuthUsers, getBackendWallet, getConfig, getContract, getContracts, getDeveloperAccount, getDeveloperAccounts, getEvent, getEvents, getFeeSponsorship, getForwarderContract, getGasPoliciesLegacy, getGasPolicyBalanceLegacy, getGasPolicyLegacy, getGasPolicyReportTransactionIntentsLegacy, getGasPolicyRulesLegacy, getGasPolicyTotalGasUsageLegacy, getJwks, getOAuthConfig, getOnrampQuote, getPaymaster, getPlayer, getPlayerSessions, getPlayers, getPolicyV2, getProjectLogs, getSession, getSignerIdByAddress, getSubscription, getSubscriptions, getTransactionIntent, getTransactionIntents, getTrigger, getTriggers, getUserWallet, getVerificationPayload, getWebhookLogsByProjectId, grantOAuth, handleChainRpcRequest, handleRpcRequest, handleSolanaRpcRequest, importPrivateKey, initOAuth, initSIWE, isOpenfortError, linkEmail, linkOAuth, linkSIWE, linkThirdParty, list, listBackendWallets, listFeeSponsorships, listForwarderContracts, listOAuthConfig, listPaymasters, listPolicies, listSubscriptionLogs, loginEmailPassword, loginOIDC, loginWithIdToken, logout, me, meV2, poolOAuth, pregenerateUserV2, query, readContract, refresh, registerGuest, registerWalletSecret, removeAccount, requestEmailVerification, requestResetPassword, requestTransferAccountOwnership, resetPassword, revokeSession, revokeWalletSecret, rotateWalletSecret, sign, signPayloadDeveloperAccount, signature, signatureSession, signupEmailPassword, switchChainV2, testTrigger, thirdParty, thirdPartyV2, toEvmAccount, toSolanaAccount, unlinkEmail, unlinkOAuth, unlinkSIWE, updateContract, updateDeveloperAccount, updateFeeSponsorship, updateForwarderContract, updateGasPolicyLegacy, updateGasPolicyRuleLegacy, updatePaymaster, updatePlayer, updatePolicyV2, verifyAuthToken, verifyEmail, verifyOAuthToken };