@openfort/openfort-node 0.7.2 → 0.7.3

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.mts CHANGED
@@ -5495,7 +5495,7 @@ declare const getConfig: () => OpenfortClientOptions | undefined;
5495
5495
  * OpenAPI spec version: 1.0.0
5496
5496
  */
5497
5497
 
5498
- type SecondParameter$n<T extends (...args: never) => unknown> = Parameters<T>[1];
5498
+ type SecondParameter$m<T extends (...args: never) => unknown> = Parameters<T>[1];
5499
5499
  /**
5500
5500
  * Returns a list of accounts for the given player.
5501
5501
 
@@ -5508,7 +5508,7 @@ Returns the latest 10 transaction intents for each account.
5508
5508
  By default, a maximum of 10 accounts are shown per page.
5509
5509
  * @summary List accounts of a player.
5510
5510
  */
5511
- declare const getAccounts: (params?: GetAccountsParams, options?: SecondParameter$n<typeof openfortApiClient<AccountListResponse>>) => Promise<AccountListResponse>;
5511
+ declare const getAccounts: (params?: GetAccountsParams, options?: SecondParameter$m<typeof openfortApiClient<AccountListResponse>>) => Promise<AccountListResponse>;
5512
5512
  /**
5513
5513
  * Creates a new blockchain account for the provided player. If not player is provided, a new one will be created.
5514
5514
 
@@ -5517,7 +5517,7 @@ Account creation does not consume any gas. All accounts of a player will use the
5517
5517
  Each player can only have one account per chain.
5518
5518
  * @summary Create an account object.
5519
5519
  */
5520
- declare const createAccount: (createAccountRequest: CreateAccountRequest, options?: SecondParameter$n<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
5520
+ declare const createAccount: (createAccountRequest: CreateAccountRequest, options?: SecondParameter$m<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
5521
5521
  /**
5522
5522
  * Retrieves the details of an existing account.
5523
5523
 
@@ -5526,14 +5526,14 @@ Supply the unique account ID from either a account creation request or the accou
5526
5526
  Returns the latest 10 transaction intents created by this account.
5527
5527
  * @summary Get existing account.
5528
5528
  */
5529
- declare const getAccount: (id: string, params?: GetAccountParams, options?: SecondParameter$n<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
5529
+ declare const getAccount: (id: string, params?: GetAccountParams, options?: SecondParameter$m<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
5530
5530
  /**
5531
5531
  * Disables an account.
5532
5532
 
5533
5533
  Accounts won't be shown for user and won't be accessible for transactions.
5534
5534
  * @summary Disable account by id.
5535
5535
  */
5536
- declare const disableAccount: (id: string, options?: SecondParameter$n<typeof openfortApiClient<void>>) => Promise<void>;
5536
+ declare const disableAccount: (id: string, options?: SecondParameter$m<typeof openfortApiClient<void>>) => Promise<void>;
5537
5537
  /**
5538
5538
  * Perform a request to change the owner of an account.
5539
5539
 
@@ -5541,36 +5541,36 @@ To perform an update on the owner of an account, first you must provide a new ow
5541
5541
  Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
5542
5542
  * @summary Request transfer ownership of account.
5543
5543
  */
5544
- declare const requestTransferOwnership: (id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: SecondParameter$n<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
5544
+ declare const requestTransferOwnership: (id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: SecondParameter$m<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
5545
5545
  /**
5546
5546
  * Cancel a pending transfer of ownership.
5547
5547
  * @summary Cancel request to transfer ownership of an account.
5548
5548
  */
5549
- declare const cancelTransferOwnership: (id: string, cancelTransferOwnershipRequest: CancelTransferOwnershipRequest, options?: SecondParameter$n<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
5549
+ declare const cancelTransferOwnership: (id: string, cancelTransferOwnershipRequest: CancelTransferOwnershipRequest, options?: SecondParameter$m<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
5550
5550
  /**
5551
5551
  * **Custodial Accounts only** - Signs the typed repositories value with types repositories structure for domain using the [EIP-712](https://eips.ethereum.org/EIPS/eip-712) specification.
5552
5552
  * @summary Sign a given payload
5553
5553
  */
5554
- declare const signPayload: (id: string, signPayloadRequest: SignPayloadRequest, options?: SecondParameter$n<typeof openfortApiClient<SignPayloadResponse>>) => Promise<SignPayloadResponse>;
5554
+ declare const signPayload: (id: string, signPayloadRequest: SignPayloadRequest, options?: SecondParameter$m<typeof openfortApiClient<SignPayloadResponse>>) => Promise<SignPayloadResponse>;
5555
5555
  /**
5556
5556
  * Synchronize the account state with the blockchain.
5557
5557
  Specifically, it updates the account owner and whether its deployed or not.
5558
5558
  * @summary Sync account state with the blockchain
5559
5559
  */
5560
- declare const syncAccount: (id: string, options?: SecondParameter$n<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
5560
+ declare const syncAccount: (id: string, options?: SecondParameter$m<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
5561
5561
  /**
5562
5562
  * This endpoint can be used to deploy a smart contract account that was counterfactually generated.
5563
5563
  * @summary Deploy an account.
5564
5564
  */
5565
- declare const deployAccount: (id: string, deployRequest: DeployRequest, options?: SecondParameter$n<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
5565
+ declare const deployAccount: (id: string, deployRequest: DeployRequest, options?: SecondParameter$m<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
5566
5566
  /**
5567
5567
  * @summary Start a recovery process of a recoverable account.
5568
5568
  */
5569
- declare const startRecovery: (id: string, startRecoveryRequest: StartRecoveryRequest, options?: SecondParameter$n<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
5569
+ declare const startRecovery: (id: string, startRecoveryRequest: StartRecoveryRequest, options?: SecondParameter$m<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
5570
5570
  /**
5571
5571
  * @summary Complete a recovery process of a recoverable account.
5572
5572
  */
5573
- declare const completeRecovery: (id: string, completeRecoveryRequest: CompleteRecoveryRequest, options?: SecondParameter$n<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
5573
+ declare const completeRecovery: (id: string, completeRecoveryRequest: CompleteRecoveryRequest, options?: SecondParameter$m<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
5574
5574
  type GetAccountsResult = NonNullable<Awaited<ReturnType<typeof getAccounts>>>;
5575
5575
  type CreateAccountResult = NonNullable<Awaited<ReturnType<typeof createAccount>>>;
5576
5576
  type GetAccountResult = NonNullable<Awaited<ReturnType<typeof getAccount>>>;
@@ -5591,7 +5591,7 @@ type CompleteRecoveryResult = NonNullable<Awaited<ReturnType<typeof completeReco
5591
5591
  * OpenAPI spec version: 1.0.0
5592
5592
  */
5593
5593
 
5594
- type SecondParameter$m<T extends (...args: never) => unknown> = Parameters<T>[1];
5594
+ type SecondParameter$l<T extends (...args: never) => unknown> = Parameters<T>[1];
5595
5595
  /**
5596
5596
  * Returns a list of accounts for the given user.
5597
5597
 
@@ -5600,38 +5600,38 @@ This object represents a user's account, which is a blockchain smart account tha
5600
5600
  The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
5601
5601
  * @summary List user accounts.
5602
5602
  */
5603
- declare const getAccountsV2: (params?: GetAccountsV2Params, options?: SecondParameter$m<typeof openfortApiClient<BaseEntityListResponseAccountV2Response>>) => Promise<BaseEntityListResponseAccountV2Response>;
5603
+ declare const getAccountsV2: (params?: GetAccountsV2Params, options?: SecondParameter$l<typeof openfortApiClient<BaseEntityListResponseAccountV2Response>>) => Promise<BaseEntityListResponseAccountV2Response>;
5604
5604
  /**
5605
5605
  * Creates a new blockchain account for a user.
5606
5606
 
5607
5607
  Account creation does not consume any gas. The account can be used to interact with the blockchain.
5608
5608
  * @summary Create new account.
5609
5609
  */
5610
- declare const createAccountV2: (createAccountRequestV2: CreateAccountRequestV2, options?: SecondParameter$m<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
5610
+ declare const createAccountV2: (createAccountRequestV2: CreateAccountRequestV2, options?: SecondParameter$l<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
5611
5611
  /**
5612
5612
  * Retrieves the signer ID associated with a given blockchain address.
5613
5613
  * @summary Get signer ID by address.
5614
5614
  */
5615
- declare const getSignerIdByAddress: (params: GetSignerIdByAddressParams, options?: SecondParameter$m<typeof openfortApiClient<SignerIdResponse>>) => Promise<SignerIdResponse>;
5615
+ declare const getSignerIdByAddress: (params: GetSignerIdByAddressParams, options?: SecondParameter$l<typeof openfortApiClient<SignerIdResponse>>) => Promise<SignerIdResponse>;
5616
5616
  /**
5617
5617
  * Retrieves the details of an existing account.
5618
5618
 
5619
5619
  Supply the unique account ID and Openfort will return the corresponding account information.
5620
5620
  * @summary Get existing account.
5621
5621
  */
5622
- declare const getAccountV2: (id: string, options?: SecondParameter$m<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
5622
+ declare const getAccountV2: (id: string, options?: SecondParameter$l<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
5623
5623
  /**
5624
5624
  * Removes an account from a project.
5625
5625
  * @summary Delete account.
5626
5626
  */
5627
- declare const removeAccount: (id: string, options?: SecondParameter$m<typeof openfortApiClient<DeleteAccountResponse>>) => Promise<DeleteAccountResponse>;
5627
+ declare const removeAccount: (id: string, options?: SecondParameter$l<typeof openfortApiClient<DeleteAccountResponse>>) => Promise<DeleteAccountResponse>;
5628
5628
  /**
5629
5629
  * Switches the blockchain network for an existing account.
5630
5630
 
5631
5631
  This allows moving an account between different blockchain networks while maintaining the same account identity.
5632
5632
  * @summary Switch account blockchain.
5633
5633
  */
5634
- declare const switchChainV2: (switchChainQueriesV2: SwitchChainQueriesV2, options?: SecondParameter$m<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
5634
+ declare const switchChainV2: (switchChainQueriesV2: SwitchChainQueriesV2, options?: SecondParameter$l<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
5635
5635
  type GetAccountsV2Result = NonNullable<Awaited<ReturnType<typeof getAccountsV2>>>;
5636
5636
  type CreateAccountV2Result = NonNullable<Awaited<ReturnType<typeof createAccountV2>>>;
5637
5637
  type GetSignerIdByAddressResult = NonNullable<Awaited<ReturnType<typeof getSignerIdByAddress>>>;
@@ -5647,82 +5647,82 @@ type SwitchChainV2Result = NonNullable<Awaited<ReturnType<typeof switchChainV2>>
5647
5647
  * OpenAPI spec version: 1.0.0
5648
5648
  */
5649
5649
 
5650
- type SecondParameter$l<T extends (...args: never) => unknown> = Parameters<T>[1];
5650
+ type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1];
5651
5651
  /**
5652
5652
  * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
5653
5653
 
5654
5654
  Returns the latest 10 transaction intents for the player.
5655
5655
  * @summary Retrieve player by oauth token.
5656
5656
  */
5657
- declare const verifyOAuthToken: (authenticateOAuthRequest: AuthenticateOAuthRequest, options?: SecondParameter$l<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
5657
+ declare const verifyOAuthToken: (authenticateOAuthRequest: AuthenticateOAuthRequest, options?: SecondParameter$k<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
5658
5658
  /**
5659
5659
  * List configured OAuth methods for the current project environment.
5660
5660
  * @deprecated
5661
5661
  * @summary List of oauth configurations.
5662
5662
  */
5663
- declare const listOAuthConfig: (options?: SecondParameter$l<typeof openfortApiClient<OAuthConfigListResponse>>) => Promise<OAuthConfigListResponse>;
5663
+ declare const listOAuthConfig: (options?: SecondParameter$k<typeof openfortApiClient<OAuthConfigListResponse>>) => Promise<OAuthConfigListResponse>;
5664
5664
  /**
5665
5665
  * The endpoint creates oauth configuration for the current project environment.
5666
5666
  * @deprecated
5667
5667
  * @summary Create oauth configuration.
5668
5668
  */
5669
- declare const createOAuthConfig: (authConfig: AuthConfig, options?: SecondParameter$l<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
5669
+ declare const createOAuthConfig: (authConfig: AuthConfig, options?: SecondParameter$k<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
5670
5670
  /**
5671
5671
  * @deprecated
5672
5672
  * @summary oauth callback.
5673
5673
  */
5674
- declare const deprecatedCallbackOAuth: (params: DeprecatedCallbackOAuthParams, options?: SecondParameter$l<typeof openfortApiClient<unknown>>) => Promise<unknown>;
5674
+ declare const deprecatedCallbackOAuth: (params: DeprecatedCallbackOAuthParams, options?: SecondParameter$k<typeof openfortApiClient<unknown>>) => Promise<unknown>;
5675
5675
  /**
5676
5676
  * @summary oauth grant.
5677
5677
  */
5678
- declare const grantOAuth: (provider: OAuthProvider, grantCallbackRequest: GrantCallbackRequest, options?: SecondParameter$l<typeof openfortApiClient<GrantOAuthResponse>>) => Promise<GrantOAuthResponse>;
5678
+ declare const grantOAuth: (provider: OAuthProvider, grantCallbackRequest: GrantCallbackRequest, options?: SecondParameter$k<typeof openfortApiClient<GrantOAuthResponse>>) => Promise<GrantOAuthResponse>;
5679
5679
  /**
5680
5680
  * @summary oauth callback.
5681
5681
  */
5682
- declare const callbackOAuth: (provider: OAuthProvider, params: CallbackOAuthParams, options?: SecondParameter$l<typeof openfortApiClient<unknown>>) => Promise<unknown>;
5682
+ declare const callbackOAuth: (provider: OAuthProvider, params: CallbackOAuthParams, options?: SecondParameter$k<typeof openfortApiClient<unknown>>) => Promise<unknown>;
5683
5683
  /**
5684
5684
  * The endpoint retrieves oauth configuration for specified provider for the current project environment.
5685
5685
  * @deprecated
5686
5686
  * @summary Get oauth configuration.
5687
5687
  */
5688
- declare const getOAuthConfig: (provider: OAuthProvider, options?: SecondParameter$l<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
5688
+ declare const getOAuthConfig: (provider: OAuthProvider, options?: SecondParameter$k<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
5689
5689
  /**
5690
5690
  * The endpoint deletes oauth configuration for specified provider for the current project environment.
5691
5691
  * @deprecated
5692
5692
  * @summary Delete oauth configuration.
5693
5693
  */
5694
- declare const deleteOAuthConfig: (provider: OAuthProvider, options?: SecondParameter$l<typeof openfortApiClient<void>>) => Promise<void>;
5694
+ declare const deleteOAuthConfig: (provider: OAuthProvider, options?: SecondParameter$k<typeof openfortApiClient<void>>) => Promise<void>;
5695
5695
  /**
5696
5696
  * List configured auth methods for the current project environment.
5697
5697
  * @summary List of auth configurations.
5698
5698
  */
5699
- declare const list: (params?: ListParams, options?: SecondParameter$l<typeof openfortApiClient<AuthProviderListResponse>>) => Promise<AuthProviderListResponse>;
5699
+ declare const list: (params?: ListParams, options?: SecondParameter$k<typeof openfortApiClient<AuthProviderListResponse>>) => Promise<AuthProviderListResponse>;
5700
5700
  /**
5701
5701
  * The endpoint creates oauth configuration for the current project environment.
5702
5702
  * @summary Create oauth configuration.
5703
5703
  */
5704
- declare const create: (authConfig: AuthConfig, options?: SecondParameter$l<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
5704
+ declare const create: (authConfig: AuthConfig, options?: SecondParameter$k<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
5705
5705
  /**
5706
5706
  * Creates an authenticated player.
5707
5707
 
5708
5708
  The player will be authenticated with the provider and an embedded account can be pre generated.
5709
5709
  * @summary Create an authenticated player.
5710
5710
  */
5711
- declare const createAuthPlayer: (createAuthPlayerRequest: CreateAuthPlayerRequest, options?: SecondParameter$l<typeof openfortApiClient<AuthPlayerResponseWithRecoveryShare>>) => Promise<AuthPlayerResponseWithRecoveryShare>;
5711
+ declare const createAuthPlayer: (createAuthPlayerRequest: CreateAuthPlayerRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponseWithRecoveryShare>>) => Promise<AuthPlayerResponseWithRecoveryShare>;
5712
5712
  /**
5713
5713
  * Retrieves a list of authenticated players.
5714
5714
 
5715
5715
  Players have linked accounts and are authenticated with a provider.
5716
5716
  * @summary List authenticated players.
5717
5717
  */
5718
- declare const getAuthPlayers: (params?: GetAuthPlayersParams, options?: SecondParameter$l<typeof openfortApiClient<AuthPlayerListResponse>>) => Promise<AuthPlayerListResponse>;
5718
+ declare const getAuthPlayers: (params?: GetAuthPlayersParams, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerListResponse>>) => Promise<AuthPlayerListResponse>;
5719
5719
  /**
5720
5720
  * Retrieves an authenticated player.
5721
5721
 
5722
5722
  Players have linked accounts and are authenticated with a provider.
5723
5723
  * @summary Authenticated player.
5724
5724
  */
5725
- declare const getAuthPlayer: (id: string, options?: SecondParameter$l<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
5725
+ declare const getAuthPlayer: (id: string, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
5726
5726
  /**
5727
5727
  * Deletes a player auth object.
5728
5728
 
@@ -5730,13 +5730,13 @@ It will delete all linked accounts the player is authenticated with.
5730
5730
  If the player has a linked embedded signer, it will be deleted as well.
5731
5731
  * @summary Deletes a player auth object.
5732
5732
  */
5733
- declare const deleteAuthPlayer: (id: string, options?: SecondParameter$l<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
5733
+ declare const deleteAuthPlayer: (id: string, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
5734
5734
  /**
5735
5735
  * Verifies the token generated by Openfort Auth.
5736
5736
  * @summary Verify auth token.
5737
5737
  */
5738
- declare const verifyAuthToken: (params: VerifyAuthTokenParams, options?: SecondParameter$l<typeof openfortApiClient<AuthSessionResponse>>) => Promise<AuthSessionResponse>;
5739
- declare const authorize: (authorizePlayerRequest: AuthorizePlayerRequest, options?: SecondParameter$l<typeof openfortApiClient<Authorize200>>) => Promise<Authorize200>;
5738
+ declare const verifyAuthToken: (params: VerifyAuthTokenParams, options?: SecondParameter$k<typeof openfortApiClient<AuthSessionResponse>>) => Promise<AuthSessionResponse>;
5739
+ declare const authorize: (authorizePlayerRequest: AuthorizePlayerRequest, options?: SecondParameter$k<typeof openfortApiClient<Authorize200>>) => Promise<Authorize200>;
5740
5740
  type VerifyOAuthTokenResult = NonNullable<Awaited<ReturnType<typeof verifyOAuthToken>>>;
5741
5741
  type ListOAuthConfigResult = NonNullable<Awaited<ReturnType<typeof listOAuthConfig>>>;
5742
5742
  type CreateOAuthConfigResult = NonNullable<Awaited<ReturnType<typeof createOAuthConfig>>>;
@@ -7706,218 +7706,218 @@ declare namespace openfortAuth_schemas {
7706
7706
  * OpenAPI spec version: 1.0.0
7707
7707
  */
7708
7708
 
7709
- type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1];
7709
+ type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1];
7710
7710
  /**
7711
7711
  * Sign in with a social provider
7712
7712
  * @summary Sign in with a social provider.
7713
7713
  */
7714
- declare const socialSignIn: (socialSignInBody: SocialSignInBody, options?: SecondParameter$k<typeof openfortApiClient<SocialSignIn200>>) => Promise<SocialSignIn200>;
7714
+ declare const socialSignIn: (socialSignInBody: SocialSignInBody, options?: SecondParameter$j<typeof openfortApiClient<SocialSignIn200>>) => Promise<SocialSignIn200>;
7715
7715
  /**
7716
7716
  * Get the current session
7717
7717
  * @summary Get the current session.
7718
7718
  */
7719
- declare const getGetSession: (params?: GetGetSessionParams, options?: SecondParameter$k<typeof openfortApiClient<GetGetSession200>>) => Promise<GetGetSession200>;
7719
+ declare const getGetSession: (params?: GetGetSessionParams, options?: SecondParameter$j<typeof openfortApiClient<GetGetSession200>>) => Promise<GetGetSession200>;
7720
7720
  /**
7721
7721
  * Sign out the current user
7722
7722
  * @summary Sign out.
7723
7723
  */
7724
- declare const postSignOut: (postSignOutBody: PostSignOutBody, options?: SecondParameter$k<typeof openfortApiClient<PostSignOut200>>) => Promise<PostSignOut200>;
7724
+ declare const postSignOut: (postSignOutBody: PostSignOutBody, options?: SecondParameter$j<typeof openfortApiClient<PostSignOut200>>) => Promise<PostSignOut200>;
7725
7725
  /**
7726
7726
  * Sign up a user using email and password
7727
7727
  * @summary Sign up with email and password.
7728
7728
  */
7729
- declare const postSignUpEmail: (postSignUpEmailBody: PostSignUpEmailBody, options?: SecondParameter$k<typeof openfortApiClient<PostSignUpEmail200>>) => Promise<PostSignUpEmail200>;
7729
+ declare const postSignUpEmail: (postSignUpEmailBody: PostSignUpEmailBody, options?: SecondParameter$j<typeof openfortApiClient<PostSignUpEmail200>>) => Promise<PostSignUpEmail200>;
7730
7730
  /**
7731
7731
  * Sign in with email and password
7732
7732
  * @summary Sign in with email and password.
7733
7733
  */
7734
- declare const postSignInEmail: (postSignInEmailBody: PostSignInEmailBody, options?: SecondParameter$k<typeof openfortApiClient<PostSignInEmail200>>) => Promise<PostSignInEmail200>;
7734
+ declare const postSignInEmail: (postSignInEmailBody: PostSignInEmailBody, options?: SecondParameter$j<typeof openfortApiClient<PostSignInEmail200>>) => Promise<PostSignInEmail200>;
7735
7735
  /**
7736
7736
  * Send a password reset email to the user
7737
7737
  * @summary Forget password.
7738
7738
  */
7739
- declare const postForgetPassword: (postForgetPasswordBody: PostForgetPasswordBody, options?: SecondParameter$k<typeof openfortApiClient<PostForgetPassword200>>) => Promise<PostForgetPassword200>;
7739
+ declare const postForgetPassword: (postForgetPasswordBody: PostForgetPasswordBody, options?: SecondParameter$j<typeof openfortApiClient<PostForgetPassword200>>) => Promise<PostForgetPassword200>;
7740
7740
  /**
7741
7741
  * Reset the password for a user
7742
7742
  * @summary Reset password.
7743
7743
  */
7744
- declare const postResetPassword: (postResetPasswordBody: PostResetPasswordBody, options?: SecondParameter$k<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
7744
+ declare const postResetPassword: (postResetPasswordBody: PostResetPasswordBody, options?: SecondParameter$j<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
7745
7745
  /**
7746
7746
  * Verify the email of the user.
7747
7747
  Usually this endpoint is called when user clicks 'Verify email' link from the letter.
7748
7748
  * @summary Verify email.
7749
7749
  */
7750
- declare const getVerifyEmail: (params: GetVerifyEmailParams, options?: SecondParameter$k<typeof openfortApiClient<GetVerifyEmail200>>) => Promise<GetVerifyEmail200>;
7750
+ declare const getVerifyEmail: (params: GetVerifyEmailParams, options?: SecondParameter$j<typeof openfortApiClient<GetVerifyEmail200>>) => Promise<GetVerifyEmail200>;
7751
7751
  /**
7752
7752
  * Send a verification email to the user
7753
7753
  * @summary Send verification email.
7754
7754
  */
7755
- declare const postSendVerificationEmail: (postSendVerificationEmailBody: PostSendVerificationEmailBody, options?: SecondParameter$k<typeof openfortApiClient<PostSendVerificationEmail200>>) => Promise<PostSendVerificationEmail200>;
7755
+ declare const postSendVerificationEmail: (postSendVerificationEmailBody: PostSendVerificationEmailBody, options?: SecondParameter$j<typeof openfortApiClient<PostSendVerificationEmail200>>) => Promise<PostSendVerificationEmail200>;
7756
7756
  /**
7757
7757
  * Change user's email
7758
7758
  * @summary Change email.
7759
7759
  */
7760
- declare const postChangeEmail: (postChangeEmailBody: PostChangeEmailBody, options?: SecondParameter$k<typeof openfortApiClient<PostChangeEmail200>>) => Promise<PostChangeEmail200>;
7760
+ declare const postChangeEmail: (postChangeEmailBody: PostChangeEmailBody, options?: SecondParameter$j<typeof openfortApiClient<PostChangeEmail200>>) => Promise<PostChangeEmail200>;
7761
7761
  /**
7762
7762
  * Change the password of the user
7763
7763
  * @summary Change password.
7764
7764
  */
7765
- declare const postChangePassword: (postChangePasswordBody: PostChangePasswordBody, options?: SecondParameter$k<typeof openfortApiClient<PostChangePassword200>>) => Promise<PostChangePassword200>;
7765
+ declare const postChangePassword: (postChangePasswordBody: PostChangePasswordBody, options?: SecondParameter$j<typeof openfortApiClient<PostChangePassword200>>) => Promise<PostChangePassword200>;
7766
7766
  /**
7767
7767
  * Redirects the user to the callback URL with the token
7768
7768
  * @summary Reset password callback.
7769
7769
  */
7770
- declare const getResetPasswordToken: (token: string, params?: GetResetPasswordTokenParams, options?: SecondParameter$k<typeof openfortApiClient<GetResetPasswordToken200>>) => Promise<GetResetPasswordToken200>;
7770
+ declare const getResetPasswordToken: (token: string, params?: GetResetPasswordTokenParams, options?: SecondParameter$j<typeof openfortApiClient<GetResetPasswordToken200>>) => Promise<GetResetPasswordToken200>;
7771
7771
  /**
7772
7772
  * Send a password reset email to the user
7773
7773
  * @summary Request password reset.
7774
7774
  */
7775
- declare const postRequestPasswordReset: (postRequestPasswordResetBody: PostRequestPasswordResetBody, options?: SecondParameter$k<typeof openfortApiClient<PostRequestPasswordReset200>>) => Promise<PostRequestPasswordReset200>;
7775
+ declare const postRequestPasswordReset: (postRequestPasswordResetBody: PostRequestPasswordResetBody, options?: SecondParameter$j<typeof openfortApiClient<PostRequestPasswordReset200>>) => Promise<PostRequestPasswordReset200>;
7776
7776
  /**
7777
7777
  * List all active sessions for the user
7778
7778
  * @summary List sessions.
7779
7779
  */
7780
- declare const getListSessions: (options?: SecondParameter$k<typeof openfortApiClient<Session[]>>) => Promise<Session[]>;
7780
+ declare const getListSessions: (options?: SecondParameter$j<typeof openfortApiClient<Session[]>>) => Promise<Session[]>;
7781
7781
  /**
7782
7782
  * Revoke a single session
7783
7783
  * @summary Revoke session.
7784
7784
  */
7785
- declare const postRevokeSession: (postRevokeSessionBody: PostRevokeSessionBody, options?: SecondParameter$k<typeof openfortApiClient<PostRevokeSession200>>) => Promise<PostRevokeSession200>;
7785
+ declare const postRevokeSession: (postRevokeSessionBody: PostRevokeSessionBody, options?: SecondParameter$j<typeof openfortApiClient<PostRevokeSession200>>) => Promise<PostRevokeSession200>;
7786
7786
  /**
7787
7787
  * Revoke all sessions for the user
7788
7788
  * @summary Revoke sessions.
7789
7789
  */
7790
- declare const postRevokeSessions: (postRevokeSessionsBody: PostRevokeSessionsBody, options?: SecondParameter$k<typeof openfortApiClient<PostRevokeSessions200>>) => Promise<PostRevokeSessions200>;
7790
+ declare const postRevokeSessions: (postRevokeSessionsBody: PostRevokeSessionsBody, options?: SecondParameter$j<typeof openfortApiClient<PostRevokeSessions200>>) => Promise<PostRevokeSessions200>;
7791
7791
  /**
7792
7792
  * Revoke all other sessions for the user except the current one
7793
7793
  * @summary Revoke other sessions.
7794
7794
  */
7795
- declare const postRevokeOtherSessions: (postRevokeOtherSessionsBody: PostRevokeOtherSessionsBody, options?: SecondParameter$k<typeof openfortApiClient<PostRevokeOtherSessions200>>) => Promise<PostRevokeOtherSessions200>;
7795
+ declare const postRevokeOtherSessions: (postRevokeOtherSessionsBody: PostRevokeOtherSessionsBody, options?: SecondParameter$j<typeof openfortApiClient<PostRevokeOtherSessions200>>) => Promise<PostRevokeOtherSessions200>;
7796
7796
  /**
7797
7797
  * Link a social account to the user
7798
7798
  * @summary Link social account.
7799
7799
  */
7800
- declare const postLinkSocial: (postLinkSocialBody: PostLinkSocialBody, options?: SecondParameter$k<typeof openfortApiClient<PostLinkSocial200>>) => Promise<PostLinkSocial200>;
7800
+ declare const postLinkSocial: (postLinkSocialBody: PostLinkSocialBody, options?: SecondParameter$j<typeof openfortApiClient<PostLinkSocial200>>) => Promise<PostLinkSocial200>;
7801
7801
  /**
7802
7802
  * List all accounts linked to the user
7803
7803
  * @summary List lined accounts.
7804
7804
  */
7805
- declare const getListAccounts: (options?: SecondParameter$k<typeof openfortApiClient<GetListAccounts200Item[]>>) => Promise<GetListAccounts200Item[]>;
7805
+ declare const getListAccounts: (options?: SecondParameter$j<typeof openfortApiClient<GetListAccounts200Item[]>>) => Promise<GetListAccounts200Item[]>;
7806
7806
  /**
7807
7807
  * Unlink an account
7808
7808
  * @summary Unlink account.
7809
7809
  */
7810
- declare const postUnlinkAccount: (postUnlinkAccountBody: PostUnlinkAccountBody, options?: SecondParameter$k<typeof openfortApiClient<UnlinkAccountResponse>>) => Promise<UnlinkAccountResponse>;
7810
+ declare const postUnlinkAccount: (postUnlinkAccountBody: PostUnlinkAccountBody, options?: SecondParameter$j<typeof openfortApiClient<UnlinkAccountResponse>>) => Promise<UnlinkAccountResponse>;
7811
7811
  /**
7812
7812
  * Refresh the access token using a refresh token
7813
7813
  * @summary Refresh access token.
7814
7814
  */
7815
- declare const postRefreshToken: (postRefreshTokenBody: PostRefreshTokenBody, options?: SecondParameter$k<typeof openfortApiClient<PostRefreshToken200>>) => Promise<PostRefreshToken200>;
7815
+ declare const postRefreshToken: (postRefreshTokenBody: PostRefreshTokenBody, options?: SecondParameter$j<typeof openfortApiClient<PostRefreshToken200>>) => Promise<PostRefreshToken200>;
7816
7816
  /**
7817
7817
  * Get a valid access token, doing a refresh if needed
7818
7818
  * @summary Get access token.
7819
7819
  */
7820
- declare const postGetAccessToken: (postGetAccessTokenBody: PostGetAccessTokenBody, options?: SecondParameter$k<typeof openfortApiClient<PostGetAccessToken200>>) => Promise<PostGetAccessToken200>;
7820
+ declare const postGetAccessToken: (postGetAccessTokenBody: PostGetAccessTokenBody, options?: SecondParameter$j<typeof openfortApiClient<PostGetAccessToken200>>) => Promise<PostGetAccessToken200>;
7821
7821
  /**
7822
7822
  * Get the account info provided by the provider
7823
7823
  * @summary Get account info.
7824
7824
  */
7825
- declare const postAccountInfo: (postAccountInfoBody: PostAccountInfoBody, options?: SecondParameter$k<typeof openfortApiClient<PostAccountInfo200>>) => Promise<PostAccountInfo200>;
7825
+ declare const postAccountInfo: (postAccountInfoBody: PostAccountInfoBody, options?: SecondParameter$j<typeof openfortApiClient<PostAccountInfo200>>) => Promise<PostAccountInfo200>;
7826
7826
  /**
7827
7827
  * Sign in anonymously
7828
7828
  * @summary Anonymous sign in.
7829
7829
  */
7830
- declare const postSignInAnonymous: (options?: SecondParameter$k<typeof openfortApiClient<PostSignInAnonymous200>>) => Promise<PostSignInAnonymous200>;
7830
+ declare const postSignInAnonymous: (options?: SecondParameter$j<typeof openfortApiClient<PostSignInAnonymous200>>) => Promise<PostSignInAnonymous200>;
7831
7831
  /**
7832
7832
  * Use this endpoint to sign in with phone number
7833
7833
  * @summary Sign in with phone.
7834
7834
  */
7835
- declare const postSignInPhoneNumber: (postSignInPhoneNumberBody: PostSignInPhoneNumberBody, options?: SecondParameter$k<typeof openfortApiClient<PostSignInPhoneNumber200>>) => Promise<PostSignInPhoneNumber200>;
7835
+ declare const postSignInPhoneNumber: (postSignInPhoneNumberBody: PostSignInPhoneNumberBody, options?: SecondParameter$j<typeof openfortApiClient<PostSignInPhoneNumber200>>) => Promise<PostSignInPhoneNumber200>;
7836
7836
  /**
7837
7837
  * Use this endpoint to send OTP to phone number
7838
7838
  * @summary Send OTP to phone number.
7839
7839
  */
7840
- declare const postPhoneNumberSendOtp: (postPhoneNumberSendOtpBody: PostPhoneNumberSendOtpBody, options?: SecondParameter$k<typeof openfortApiClient<PostPhoneNumberSendOtp200>>) => Promise<PostPhoneNumberSendOtp200>;
7840
+ declare const postPhoneNumberSendOtp: (postPhoneNumberSendOtpBody: PostPhoneNumberSendOtpBody, options?: SecondParameter$j<typeof openfortApiClient<PostPhoneNumberSendOtp200>>) => Promise<PostPhoneNumberSendOtp200>;
7841
7841
  /**
7842
7842
  * Use this endpoint to verify phone number
7843
7843
  * @summary Verify phone OTP.
7844
7844
  */
7845
- declare const postPhoneNumberVerify: (postPhoneNumberVerifyBody: PostPhoneNumberVerifyBody, options?: SecondParameter$k<typeof openfortApiClient<PostPhoneNumberVerify200>>) => Promise<PostPhoneNumberVerify200>;
7845
+ declare const postPhoneNumberVerify: (postPhoneNumberVerifyBody: PostPhoneNumberVerifyBody, options?: SecondParameter$j<typeof openfortApiClient<PostPhoneNumberVerify200>>) => Promise<PostPhoneNumberVerify200>;
7846
7846
  /**
7847
7847
  * Request OTP for password reset via phone number
7848
7848
  * @summary Reset password reset with phone(forget password flow).
7849
7849
  */
7850
- declare const postPhoneNumberForgetPassword: (postPhoneNumberForgetPasswordBody: PostPhoneNumberForgetPasswordBody, options?: SecondParameter$k<typeof openfortApiClient<PostPhoneNumberForgetPassword200>>) => Promise<PostPhoneNumberForgetPassword200>;
7850
+ declare const postPhoneNumberForgetPassword: (postPhoneNumberForgetPasswordBody: PostPhoneNumberForgetPasswordBody, options?: SecondParameter$j<typeof openfortApiClient<PostPhoneNumberForgetPassword200>>) => Promise<PostPhoneNumberForgetPassword200>;
7851
7851
  /**
7852
7852
  * Request OTP for password reset via phone number
7853
7853
  * @summary Request password reset with phone.
7854
7854
  */
7855
- declare const postPhoneNumberRequestPasswordReset: (postPhoneNumberRequestPasswordResetBody: PostPhoneNumberRequestPasswordResetBody, options?: SecondParameter$k<typeof openfortApiClient<PostPhoneNumberRequestPasswordReset200>>) => Promise<PostPhoneNumberRequestPasswordReset200>;
7855
+ declare const postPhoneNumberRequestPasswordReset: (postPhoneNumberRequestPasswordResetBody: PostPhoneNumberRequestPasswordResetBody, options?: SecondParameter$j<typeof openfortApiClient<PostPhoneNumberRequestPasswordReset200>>) => Promise<PostPhoneNumberRequestPasswordReset200>;
7856
7856
  /**
7857
7857
  * Reset password using phone number OTP
7858
7858
  * @summary Reset password with phone OTP.
7859
7859
  */
7860
- declare const postPhoneNumberResetPassword: (postPhoneNumberResetPasswordBody: PostPhoneNumberResetPasswordBody, options?: SecondParameter$k<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
7860
+ declare const postPhoneNumberResetPassword: (postPhoneNumberResetPasswordBody: PostPhoneNumberResetPasswordBody, options?: SecondParameter$j<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
7861
7861
  /**
7862
7862
  * Send verification OTP
7863
7863
  * @summary Request email verification with OTP.
7864
7864
  */
7865
- declare const postEmailOtpSendVerificationOtp: (postEmailOtpSendVerificationOtpBody: PostEmailOtpSendVerificationOtpBody, options?: SecondParameter$k<typeof openfortApiClient<PostEmailOtpSendVerificationOtp200>>) => Promise<PostEmailOtpSendVerificationOtp200>;
7865
+ declare const postEmailOtpSendVerificationOtp: (postEmailOtpSendVerificationOtpBody: PostEmailOtpSendVerificationOtpBody, options?: SecondParameter$j<typeof openfortApiClient<PostEmailOtpSendVerificationOtp200>>) => Promise<PostEmailOtpSendVerificationOtp200>;
7866
7866
  /**
7867
7867
  * Check if a verification OTP is valid
7868
7868
  * @summary Check email OTP.
7869
7869
  */
7870
- declare const checkVerificationOtp: (checkVerificationOtpBody: CheckVerificationOtpBody, options?: SecondParameter$k<typeof openfortApiClient<CheckVerificationOtp200>>) => Promise<CheckVerificationOtp200>;
7870
+ declare const checkVerificationOtp: (checkVerificationOtpBody: CheckVerificationOtpBody, options?: SecondParameter$j<typeof openfortApiClient<CheckVerificationOtp200>>) => Promise<CheckVerificationOtp200>;
7871
7871
  /**
7872
7872
  * Verify email with OTP
7873
7873
  * @summary Verify email with OTP.
7874
7874
  */
7875
- declare const postEmailOtpVerifyEmail: (postEmailOtpVerifyEmailBody: PostEmailOtpVerifyEmailBody, options?: SecondParameter$k<typeof openfortApiClient<PostEmailOtpVerifyEmail200>>) => Promise<PostEmailOtpVerifyEmail200>;
7875
+ declare const postEmailOtpVerifyEmail: (postEmailOtpVerifyEmailBody: PostEmailOtpVerifyEmailBody, options?: SecondParameter$j<typeof openfortApiClient<PostEmailOtpVerifyEmail200>>) => Promise<PostEmailOtpVerifyEmail200>;
7876
7876
  /**
7877
7877
  * Sign in with OTP
7878
7878
  * @summary Sign in with email OTP.
7879
7879
  */
7880
- declare const postSignInEmailOtp: (postSignInEmailOtpBody: PostSignInEmailOtpBody, options?: SecondParameter$k<typeof openfortApiClient<PostSignInEmailOtp200>>) => Promise<PostSignInEmailOtp200>;
7880
+ declare const postSignInEmailOtp: (postSignInEmailOtpBody: PostSignInEmailOtpBody, options?: SecondParameter$j<typeof openfortApiClient<PostSignInEmailOtp200>>) => Promise<PostSignInEmailOtp200>;
7881
7881
  /**
7882
7882
  * Send a password reset OTP to the user
7883
7883
  * @summary Request password reset with email OTP.
7884
7884
  */
7885
- declare const postForgetPasswordEmailOtp: (postForgetPasswordEmailOtpBody: PostForgetPasswordEmailOtpBody, options?: SecondParameter$k<typeof openfortApiClient<PostForgetPasswordEmailOtp200>>) => Promise<PostForgetPasswordEmailOtp200>;
7885
+ declare const postForgetPasswordEmailOtp: (postForgetPasswordEmailOtpBody: PostForgetPasswordEmailOtpBody, options?: SecondParameter$j<typeof openfortApiClient<PostForgetPasswordEmailOtp200>>) => Promise<PostForgetPasswordEmailOtp200>;
7886
7886
  /**
7887
7887
  * Reset user password with OTP
7888
7888
  * @summary Reset password with email OTP.
7889
7889
  */
7890
- declare const postEmailOtpResetPassword: (postEmailOtpResetPasswordBody: PostEmailOtpResetPasswordBody, options?: SecondParameter$k<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
7890
+ declare const postEmailOtpResetPassword: (postEmailOtpResetPasswordBody: PostEmailOtpResetPasswordBody, options?: SecondParameter$j<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
7891
7891
  /**
7892
7892
  * Generate a nonce for Sign-In With Ethereum (SIWE) authentication
7893
7893
  * @summary Initialize SIWE login.
7894
7894
  */
7895
- declare const postSiweNonce: (postSiweNonceBody: PostSiweNonceBody, options?: SecondParameter$k<typeof openfortApiClient<PostSiweNonce200>>) => Promise<PostSiweNonce200>;
7895
+ declare const postSiweNonce: (postSiweNonceBody: PostSiweNonceBody, options?: SecondParameter$j<typeof openfortApiClient<PostSiweNonce200>>) => Promise<PostSiweNonce200>;
7896
7896
  /**
7897
7897
  * Verify a signed SIWE message and authenticate the user
7898
7898
  * @summary Login with SIWE.
7899
7899
  */
7900
- declare const postSiweVerify: (postSiweVerifyBody: PostSiweVerifyBody, options?: SecondParameter$k<typeof openfortApiClient<PostSiweVerify200>>) => Promise<PostSiweVerify200>;
7900
+ declare const postSiweVerify: (postSiweVerifyBody: PostSiweVerifyBody, options?: SecondParameter$j<typeof openfortApiClient<PostSiweVerify200>>) => Promise<PostSiweVerify200>;
7901
7901
  /**
7902
7902
  * Generates a cryptographically secure nonce for creating a SIWE message to link a wallet to the current authenticated user. Requires active session.
7903
7903
  * @summary Initialize SIWE link.
7904
7904
  */
7905
- declare const postLinkSiweNonce: (postLinkSiweNonceBody: PostLinkSiweNonceBody, options?: SecondParameter$k<typeof openfortApiClient<PostLinkSiweNonce200>>) => Promise<PostLinkSiweNonce200>;
7905
+ declare const postLinkSiweNonce: (postLinkSiweNonceBody: PostLinkSiweNonceBody, options?: SecondParameter$j<typeof openfortApiClient<PostLinkSiweNonce200>>) => Promise<PostLinkSiweNonce200>;
7906
7906
  /**
7907
7907
  * Verifies the SIWE signature and links the wallet to the currently authenticated user. Requires active session.
7908
7908
  * @summary Verify and link SIWE wallet.
7909
7909
  */
7910
- declare const postLinkSiweVerify: (postLinkSiweVerifyBody: PostLinkSiweVerifyBody, options?: SecondParameter$k<typeof openfortApiClient<PostLinkSiweVerify200>>) => Promise<PostLinkSiweVerify200>;
7910
+ declare const postLinkSiweVerify: (postLinkSiweVerifyBody: PostLinkSiweVerifyBody, options?: SecondParameter$j<typeof openfortApiClient<PostLinkSiweVerify200>>) => Promise<PostLinkSiweVerify200>;
7911
7911
  /**
7912
7912
  * Get all SIWE wallets linked to the authenticated user with full wallet metadata including primary status and chain information. Requires active session.
7913
7913
  * @summary List linked wallets.
7914
7914
  */
7915
- declare const getLinkSiweListWallets: (options?: SecondParameter$k<typeof openfortApiClient<GetLinkSiweListWallets200Item[]>>) => Promise<GetLinkSiweListWallets200Item[]>;
7915
+ declare const getLinkSiweListWallets: (options?: SecondParameter$j<typeof openfortApiClient<GetLinkSiweListWallets200Item[]>>) => Promise<GetLinkSiweListWallets200Item[]>;
7916
7916
  /**
7917
7917
  * 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.
7918
7918
  * @summary Unlink SIWE wallet.
7919
7919
  */
7920
- declare const postLinkSiweUnlink: (postLinkSiweUnlinkBody: PostLinkSiweUnlinkBody, options?: SecondParameter$k<typeof openfortApiClient<PostLinkSiweUnlink200>>) => Promise<PostLinkSiweUnlink200>;
7920
+ declare const postLinkSiweUnlink: (postLinkSiweUnlinkBody: PostLinkSiweUnlinkBody, options?: SecondParameter$j<typeof openfortApiClient<PostLinkSiweUnlink200>>) => Promise<PostLinkSiweUnlink200>;
7921
7921
  type SocialSignInResult = NonNullable<Awaited<ReturnType<typeof socialSignIn>>>;
7922
7922
  type GetGetSessionResult = NonNullable<Awaited<ReturnType<typeof getGetSession>>>;
7923
7923
  type PostSignOutResult = NonNullable<Awaited<ReturnType<typeof postSignOut>>>;
@@ -8057,112 +8057,112 @@ declare namespace authV2 {
8057
8057
  * OpenAPI spec version: 1.0.0
8058
8058
  */
8059
8059
 
8060
- type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1];
8060
+ type SecondParameter$i<T extends (...args: never) => unknown> = Parameters<T>[1];
8061
8061
  /**
8062
8062
  * Get or create a new session for the player based on the refresh token.
8063
8063
  * @summary Refresh or create auth session.
8064
8064
  */
8065
- declare const refresh: (refreshTokenRequest: RefreshTokenRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
8065
+ declare const refresh: (refreshTokenRequest: RefreshTokenRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
8066
8066
  /**
8067
8067
  * When using Openfort Auth, the endpoint logs out the player.
8068
8068
  * @summary Log out a player.
8069
8069
  */
8070
- declare const logout: (logoutRequest: LogoutRequest, options?: SecondParameter$j<typeof openfortApiClient<void>>) => Promise<void>;
8070
+ declare const logout: (logoutRequest: LogoutRequest, options?: SecondParameter$i<typeof openfortApiClient<void>>) => Promise<void>;
8071
8071
  /**
8072
8072
  * Create a challenge to link external wallet to the player.
8073
8073
  * @summary Initialize SIWE.
8074
8074
  */
8075
- declare const initSIWE: (sIWERequest: SIWERequest, options?: SecondParameter$j<typeof openfortApiClient<SIWEInitResponse>>) => Promise<SIWEInitResponse>;
8075
+ declare const initSIWE: (sIWERequest: SIWERequest, options?: SecondParameter$i<typeof openfortApiClient<SIWEInitResponse>>) => Promise<SIWEInitResponse>;
8076
8076
  /**
8077
8077
  * @summary Authenticate player with SIWE
8078
8078
  */
8079
- declare const authenticateSIWE: (sIWEAuthenticateRequest: SIWEAuthenticateRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthResponse | void>>) => Promise<void | AuthResponse>;
8079
+ declare const authenticateSIWE: (sIWEAuthenticateRequest: SIWEAuthenticateRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthResponse | void>>) => Promise<void | AuthResponse>;
8080
8080
  /**
8081
8081
  * @summary Unlink external wallet.
8082
8082
  */
8083
- declare const unlinkSIWE: (sIWERequest: SIWERequest, options?: SecondParameter$j<typeof openfortApiClient<AuthPlayerResponse | void>>) => Promise<void | AuthPlayerResponse>;
8083
+ declare const unlinkSIWE: (sIWERequest: SIWERequest, options?: SecondParameter$i<typeof openfortApiClient<AuthPlayerResponse | void>>) => Promise<void | AuthPlayerResponse>;
8084
8084
  /**
8085
8085
  * @summary Link external wallet.
8086
8086
  */
8087
- declare const linkSIWE: (sIWEAuthenticateRequest: SIWEAuthenticateRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthPlayerResponse | void>>) => Promise<void | AuthPlayerResponse>;
8087
+ declare const linkSIWE: (sIWEAuthenticateRequest: SIWEAuthenticateRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthPlayerResponse | void>>) => Promise<void | AuthPlayerResponse>;
8088
8088
  /**
8089
8089
  * Create and authenticate a player based on email and password.
8090
8090
  * @summary Email and password signup.
8091
8091
  */
8092
- declare const signupEmailPassword: (signupRequest: SignupRequest, options?: SecondParameter$j<typeof openfortApiClient<SignupEmailPassword201>>) => Promise<SignupEmailPassword201>;
8092
+ declare const signupEmailPassword: (signupRequest: SignupRequest, options?: SecondParameter$i<typeof openfortApiClient<SignupEmailPassword201>>) => Promise<SignupEmailPassword201>;
8093
8093
  /**
8094
8094
  * Authenticate a player based on email and password.
8095
8095
  * @summary Email and password login.
8096
8096
  */
8097
- declare const loginEmailPassword: (loginRequest: LoginRequest, options?: SecondParameter$j<typeof openfortApiClient<LoginEmailPassword200>>) => Promise<LoginEmailPassword200>;
8097
+ declare const loginEmailPassword: (loginRequest: LoginRequest, options?: SecondParameter$i<typeof openfortApiClient<LoginEmailPassword200>>) => Promise<LoginEmailPassword200>;
8098
8098
  /**
8099
8099
  * Start the Email Verification process for a player.
8100
8100
  * @summary Request an Email Verification.
8101
8101
  */
8102
- declare const requestEmailVerification: (requestVerifyEmailRequest: RequestVerifyEmailRequest, options?: SecondParameter$j<typeof openfortApiClient<void>>) => Promise<void>;
8102
+ declare const requestEmailVerification: (requestVerifyEmailRequest: RequestVerifyEmailRequest, options?: SecondParameter$i<typeof openfortApiClient<void>>) => Promise<void>;
8103
8103
  /**
8104
8104
  * Verify a player's email address.
8105
8105
  * @summary Verify an email.
8106
8106
  */
8107
- declare const verifyEmail: (verifyEmailRequest: VerifyEmailRequest, options?: SecondParameter$j<typeof openfortApiClient<void>>) => Promise<void>;
8107
+ declare const verifyEmail: (verifyEmailRequest: VerifyEmailRequest, options?: SecondParameter$i<typeof openfortApiClient<void>>) => Promise<void>;
8108
8108
  /**
8109
8109
  * Start the Reset process for a player's password.
8110
8110
  * @summary Request a Reset password.
8111
8111
  */
8112
- declare const requestResetPassword: (requestResetPasswordRequest: RequestResetPasswordRequest, options?: SecondParameter$j<typeof openfortApiClient<void>>) => Promise<void>;
8112
+ declare const requestResetPassword: (requestResetPasswordRequest: RequestResetPasswordRequest, options?: SecondParameter$i<typeof openfortApiClient<void>>) => Promise<void>;
8113
8113
  /**
8114
8114
  * Reset a player's password.
8115
8115
  * @summary Reset a password.
8116
8116
  */
8117
- declare const resetPassword: (resetPasswordRequest: ResetPasswordRequest, options?: SecondParameter$j<typeof openfortApiClient<void>>) => Promise<void>;
8118
- declare const linkEmail: (loginRequest: LoginRequest, options?: SecondParameter$j<typeof openfortApiClient<LinkEmail200>>) => Promise<LinkEmail200>;
8119
- declare const unlinkEmail: (unlinkEmailRequest: UnlinkEmailRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
8117
+ declare const resetPassword: (resetPasswordRequest: ResetPasswordRequest, options?: SecondParameter$i<typeof openfortApiClient<void>>) => Promise<void>;
8118
+ declare const linkEmail: (loginRequest: LoginRequest, options?: SecondParameter$i<typeof openfortApiClient<LinkEmail200>>) => Promise<LinkEmail200>;
8119
+ declare const unlinkEmail: (unlinkEmailRequest: UnlinkEmailRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
8120
8120
  /**
8121
8121
  * Authenticate a player from an identity token.
8122
8122
  * @summary OIDC Identity token.
8123
8123
  */
8124
- declare const loginOIDC: (loginOIDCRequest: LoginOIDCRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
8124
+ declare const loginOIDC: (loginOIDCRequest: LoginOIDCRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
8125
8125
  /**
8126
8126
  * @summary Initialize OAuth.
8127
8127
  */
8128
- declare const initOAuth: (oAuthInitRequest: OAuthInitRequest, options?: SecondParameter$j<typeof openfortApiClient<OAuthResponse>>) => Promise<OAuthResponse>;
8128
+ declare const initOAuth: (oAuthInitRequest: OAuthInitRequest, options?: SecondParameter$i<typeof openfortApiClient<OAuthResponse>>) => Promise<OAuthResponse>;
8129
8129
  /**
8130
8130
  * @summary Initialize Link OAuth.
8131
8131
  */
8132
- declare const linkOAuth: (oAuthInitRequest: OAuthInitRequest, options?: SecondParameter$j<typeof openfortApiClient<OAuthResponse>>) => Promise<OAuthResponse>;
8132
+ declare const linkOAuth: (oAuthInitRequest: OAuthInitRequest, options?: SecondParameter$i<typeof openfortApiClient<OAuthResponse>>) => Promise<OAuthResponse>;
8133
8133
  /**
8134
8134
  * @summary Initialize Link OAuth.
8135
8135
  */
8136
- declare const linkThirdParty: (thirdPartyLinkRequest: ThirdPartyLinkRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
8136
+ declare const linkThirdParty: (thirdPartyLinkRequest: ThirdPartyLinkRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
8137
8137
  /**
8138
8138
  * @summary Initialize OAuth.
8139
8139
  */
8140
- declare const poolOAuth: (params: PoolOAuthParams, options?: SecondParameter$j<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
8140
+ declare const poolOAuth: (params: PoolOAuthParams, options?: SecondParameter$i<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
8141
8141
  /**
8142
8142
  * @summary Authenticate player with oauth token.
8143
8143
  */
8144
- declare const loginWithIdToken: (loginWithIdTokenRequest: LoginWithIdTokenRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
8144
+ declare const loginWithIdToken: (loginWithIdTokenRequest: LoginWithIdTokenRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
8145
8145
  /**
8146
8146
  * @summary Verify oauth token of a third party auth provider.
8147
8147
  */
8148
- declare const thirdParty: (thirdPartyOAuthRequest: ThirdPartyOAuthRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
8148
+ declare const thirdParty: (thirdPartyOAuthRequest: ThirdPartyOAuthRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
8149
8149
  /**
8150
8150
  * @summary Unlink OAuth account
8151
8151
  */
8152
- declare const unlinkOAuth: (unlinkOAuthRequest: UnlinkOAuthRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
8152
+ declare const unlinkOAuth: (unlinkOAuthRequest: UnlinkOAuthRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
8153
8153
  /**
8154
8154
  * Create a guest player.
8155
8155
  * @summary Create a guest player.
8156
8156
  */
8157
- declare const registerGuest: (options?: SecondParameter$j<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
8157
+ declare const registerGuest: (options?: SecondParameter$i<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
8158
8158
  /**
8159
8159
  * Get the jwks.json file.
8160
8160
 
8161
8161
  You can use the jwks.json file to verify the signature of a JWT token issued by Openfort Auth.
8162
8162
  * @summary Get the jwks.json file.
8163
8163
  */
8164
- declare const getJwks: (publishableKey: string, options?: SecondParameter$j<typeof openfortApiClient<JwtKeyResponse>>) => Promise<JwtKeyResponse>;
8165
- declare const me: (options?: SecondParameter$j<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
8164
+ declare const getJwks: (publishableKey: string, options?: SecondParameter$i<typeof openfortApiClient<JwtKeyResponse>>) => Promise<JwtKeyResponse>;
8165
+ declare const me: (options?: SecondParameter$i<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
8166
8166
  type RefreshResult = NonNullable<Awaited<ReturnType<typeof refresh>>>;
8167
8167
  type LogoutResult = NonNullable<Awaited<ReturnType<typeof logout>>>;
8168
8168
  type InitSIWEResult = NonNullable<Awaited<ReturnType<typeof initSIWE>>>;
@@ -8189,26 +8189,6 @@ type RegisterGuestResult = NonNullable<Awaited<ReturnType<typeof registerGuest>>
8189
8189
  type GetJwksResult = NonNullable<Awaited<ReturnType<typeof getJwks>>>;
8190
8190
  type MeResult = NonNullable<Awaited<ReturnType<typeof me>>>;
8191
8191
 
8192
- /**
8193
- * Generated by orval v7.18.0 🍺
8194
- * Do not edit manually.
8195
- * Openfort API
8196
- * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
8197
- * OpenAPI spec version: 1.0.0
8198
- */
8199
-
8200
- type SecondParameter$i<T extends (...args: never) => unknown> = Parameters<T>[1];
8201
- /**
8202
- * @summary Get user information.
8203
- */
8204
- declare const meV2: (options?: SecondParameter$i<typeof openfortApiClient<AuthUserResponse>>) => Promise<AuthUserResponse>;
8205
- /**
8206
- * @summary Verify oauth token of a third party auth provider.
8207
- */
8208
- declare const thirdPartyV2: (thirdPartyOAuthRequest: ThirdPartyOAuthRequest, options?: SecondParameter$i<typeof openfortApiClient<AuthUserResponse>>) => Promise<AuthUserResponse>;
8209
- type MeV2Result = NonNullable<Awaited<ReturnType<typeof meV2>>>;
8210
- type ThirdPartyV2Result = NonNullable<Awaited<ReturnType<typeof thirdPartyV2>>>;
8211
-
8212
8192
  /**
8213
8193
  * Generated by orval v7.18.0 🍺
8214
8194
  * Do not edit manually.
@@ -9088,10 +9068,20 @@ You can pregenerate using either:
9088
9068
  * @summary Pre-generate a user with an embedded account.
9089
9069
  */
9090
9070
  declare const pregenerateUserV2: (pregenerateUserRequestV2: PregenerateUserRequestV2, options?: SecondParameter<typeof openfortApiClient<PregenerateAccountResponse>>) => Promise<PregenerateAccountResponse>;
9071
+ /**
9072
+ * @summary Get user information.
9073
+ */
9074
+ declare const meV2: (options?: SecondParameter<typeof openfortApiClient<AuthUserResponse>>) => Promise<AuthUserResponse>;
9075
+ /**
9076
+ * @summary Verify oauth token of a third party auth provider.
9077
+ */
9078
+ declare const thirdPartyV2: (thirdPartyOAuthRequest: ThirdPartyOAuthRequest, options?: SecondParameter<typeof openfortApiClient<AuthUserResponse>>) => Promise<AuthUserResponse>;
9091
9079
  type GetAuthUsersResult = NonNullable<Awaited<ReturnType<typeof getAuthUsers>>>;
9092
9080
  type GetAuthUserResult = NonNullable<Awaited<ReturnType<typeof getAuthUser>>>;
9093
9081
  type DeleteUserResult = NonNullable<Awaited<ReturnType<typeof deleteUser>>>;
9094
9082
  type PregenerateUserV2Result = NonNullable<Awaited<ReturnType<typeof pregenerateUserV2>>>;
9083
+ type MeV2Result = NonNullable<Awaited<ReturnType<typeof meV2>>>;
9084
+ type ThirdPartyV2Result = NonNullable<Awaited<ReturnType<typeof thirdPartyV2>>>;
9095
9085
 
9096
9086
  /**
9097
9087
  * Constants for the Openfort SDK.