@openfort/openfort-node 0.7.3 → 0.7.5
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/CHANGELOG.md +12 -0
- package/dist/index.d.mts +294 -202
- package/dist/index.d.ts +294 -202
- package/dist/index.js +30 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +29 -14
- package/dist/index.mjs.map +1 -1
- package/examples/evm/embedded/pregenerate.ts +1 -1
- package/openapi-auth.json +6 -0
- package/openapi.json +149 -22
- package/package.json +1 -1
- package/pnpm-workspace.yaml +4 -0
package/dist/index.d.mts
CHANGED
|
@@ -2884,8 +2884,16 @@ interface UserListQueries {
|
|
|
2884
2884
|
order?: PrismaSortOrder;
|
|
2885
2885
|
/** Filter by user name. */
|
|
2886
2886
|
name?: string;
|
|
2887
|
-
/** Filter by external user ID. */
|
|
2887
|
+
/** Filter by external user ID (accountId from linked accounts). */
|
|
2888
2888
|
externalUserId?: string;
|
|
2889
|
+
/** Filter by user email. */
|
|
2890
|
+
email?: string;
|
|
2891
|
+
/** Filter by user phone number. */
|
|
2892
|
+
phoneNumber?: string;
|
|
2893
|
+
/** Filter by provider ID (e.g., "google", "apple", "siwe", "credential"). */
|
|
2894
|
+
authProviderId?: string;
|
|
2895
|
+
/** Filter by wallet client type (for SIWE accounts). */
|
|
2896
|
+
walletClientType?: string;
|
|
2889
2897
|
}
|
|
2890
2898
|
interface BaseDeleteEntityResponseEntityTypePLAYER {
|
|
2891
2899
|
id: string;
|
|
@@ -2923,6 +2931,7 @@ declare const PregenerateAccountResponseCustody: {
|
|
|
2923
2931
|
interface PregenerateAccountResponse {
|
|
2924
2932
|
id: string;
|
|
2925
2933
|
user: string;
|
|
2934
|
+
wallet: string;
|
|
2926
2935
|
accountType: string;
|
|
2927
2936
|
address: string;
|
|
2928
2937
|
ownerAddress?: string;
|
|
@@ -3340,11 +3349,20 @@ interface RegisterWalletSecretResponse {
|
|
|
3340
3349
|
}
|
|
3341
3350
|
/**
|
|
3342
3351
|
* Request to register a new wallet secret (authentication key).
|
|
3352
|
+
|
|
3353
|
+
Uses provided-key authentication: the walletAuthToken JWT must be signed by
|
|
3354
|
+
the private key corresponding to the publicKey being registered.
|
|
3343
3355
|
*/
|
|
3344
3356
|
interface RegisterWalletSecretRequest {
|
|
3345
|
-
/** ECDSA P-256 public key for wallet authentication (PEM
|
|
3357
|
+
/** ECDSA P-256 public key for wallet authentication (PEM format).
|
|
3346
3358
|
This will be used to verify X-Wallet-Auth JWT signatures. */
|
|
3347
3359
|
publicKey: string;
|
|
3360
|
+
/** JWT signed with the private key corresponding to publicKey.
|
|
3361
|
+
This proves possession of the private key without transmitting it.
|
|
3362
|
+
|
|
3363
|
+
JWT must include: uris (matching request path), reqHash (SHA-256 of request body),
|
|
3364
|
+
iat (issued at), nbf (not before), and optionally exp (expiration). */
|
|
3365
|
+
walletAuthToken: string;
|
|
3348
3366
|
/** Key identifier for the secret.
|
|
3349
3367
|
Used to identify this key in X-Wallet-Auth JWT headers. */
|
|
3350
3368
|
keyId?: string;
|
|
@@ -3400,11 +3418,20 @@ interface RotateWalletSecretResponse {
|
|
|
3400
3418
|
}
|
|
3401
3419
|
/**
|
|
3402
3420
|
* Request to rotate wallet secret (authentication key).
|
|
3421
|
+
|
|
3422
|
+
Uses provided-key authentication: the walletAuthToken JWT must be signed by
|
|
3423
|
+
the private key corresponding to the newPublicKey being registered.
|
|
3403
3424
|
*/
|
|
3404
3425
|
interface RotateWalletSecretRequest {
|
|
3405
|
-
/** New ECDSA P-256 public key for wallet authentication.
|
|
3426
|
+
/** New ECDSA P-256 public key for wallet authentication (PEM format).
|
|
3406
3427
|
This will replace the current wallet secret used for X-Wallet-Auth JWT signing. */
|
|
3407
|
-
|
|
3428
|
+
newPublicKey: string;
|
|
3429
|
+
/** JWT signed with the private key corresponding to newPublicKey.
|
|
3430
|
+
This proves possession of the private key without transmitting it.
|
|
3431
|
+
|
|
3432
|
+
JWT must include: uris (matching request path), reqHash (SHA-256 of request body),
|
|
3433
|
+
iat (issued at), nbf (not before), and optionally exp (expiration). */
|
|
3434
|
+
walletAuthToken: string;
|
|
3408
3435
|
/** Key identifier for the new secret.
|
|
3409
3436
|
Used to identify this key in X-Wallet-Auth JWT headers. */
|
|
3410
3437
|
newKeyId?: string;
|
|
@@ -3420,6 +3447,7 @@ declare const AccountV2ResponseCustody: {
|
|
|
3420
3447
|
interface AccountV2Response {
|
|
3421
3448
|
id: string;
|
|
3422
3449
|
user: string;
|
|
3450
|
+
wallet: string;
|
|
3423
3451
|
accountType: string;
|
|
3424
3452
|
address: string;
|
|
3425
3453
|
ownerAddress?: string;
|
|
@@ -3529,7 +3557,7 @@ interface CreateAccountRequestV2 {
|
|
|
3529
3557
|
implementationType?: string;
|
|
3530
3558
|
/** The chain ID. Must be a [supported chain](/development/chains). */
|
|
3531
3559
|
chainId?: number;
|
|
3532
|
-
/** ID of the user this account belongs to (starts with `
|
|
3560
|
+
/** ID of the user this account belongs to (starts with `usr_`). If none is provided, a new user will be created. */
|
|
3533
3561
|
user: string;
|
|
3534
3562
|
/** ID of the account (starts with `acc_`) to be linked with. Required for accountType "Smart Account". */
|
|
3535
3563
|
account?: string;
|
|
@@ -3893,6 +3921,7 @@ declare const ApiKeyType: {
|
|
|
3893
3921
|
readonly sk: "sk";
|
|
3894
3922
|
readonly pk_shield: "pk_shield";
|
|
3895
3923
|
readonly sk_shield: "sk_shield";
|
|
3924
|
+
readonly pk_wallet: "pk_wallet";
|
|
3896
3925
|
};
|
|
3897
3926
|
interface CreateProjectApiKeyRequest {
|
|
3898
3927
|
/** The type of the API key. */
|
|
@@ -5284,9 +5313,25 @@ type GetAuthUsersParams = {
|
|
|
5284
5313
|
*/
|
|
5285
5314
|
name?: string;
|
|
5286
5315
|
/**
|
|
5287
|
-
* Filter by external user ID.
|
|
5316
|
+
* Filter by external user ID (accountId from linked accounts).
|
|
5288
5317
|
*/
|
|
5289
5318
|
externalUserId?: string;
|
|
5319
|
+
/**
|
|
5320
|
+
* Filter by user email.
|
|
5321
|
+
*/
|
|
5322
|
+
email?: string;
|
|
5323
|
+
/**
|
|
5324
|
+
* Filter by user phone number.
|
|
5325
|
+
*/
|
|
5326
|
+
phoneNumber?: string;
|
|
5327
|
+
/**
|
|
5328
|
+
* Filter by provider ID (e.g., "google", "apple", "siwe", "credential").
|
|
5329
|
+
*/
|
|
5330
|
+
authProviderId?: string;
|
|
5331
|
+
/**
|
|
5332
|
+
* Filter by wallet client type (for SIWE accounts).
|
|
5333
|
+
*/
|
|
5334
|
+
walletClientType?: string;
|
|
5290
5335
|
};
|
|
5291
5336
|
type ListBackendWalletsParams = {
|
|
5292
5337
|
/**
|
|
@@ -5495,7 +5540,7 @@ declare const getConfig: () => OpenfortClientOptions | undefined;
|
|
|
5495
5540
|
* OpenAPI spec version: 1.0.0
|
|
5496
5541
|
*/
|
|
5497
5542
|
|
|
5498
|
-
type SecondParameter$
|
|
5543
|
+
type SecondParameter$n<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5499
5544
|
/**
|
|
5500
5545
|
* Returns a list of accounts for the given player.
|
|
5501
5546
|
|
|
@@ -5508,7 +5553,7 @@ Returns the latest 10 transaction intents for each account.
|
|
|
5508
5553
|
By default, a maximum of 10 accounts are shown per page.
|
|
5509
5554
|
* @summary List accounts of a player.
|
|
5510
5555
|
*/
|
|
5511
|
-
declare const getAccounts: (params?: GetAccountsParams, options?: SecondParameter$
|
|
5556
|
+
declare const getAccounts: (params?: GetAccountsParams, options?: SecondParameter$n<typeof openfortApiClient<AccountListResponse>>) => Promise<AccountListResponse>;
|
|
5512
5557
|
/**
|
|
5513
5558
|
* Creates a new blockchain account for the provided player. If not player is provided, a new one will be created.
|
|
5514
5559
|
|
|
@@ -5517,7 +5562,7 @@ Account creation does not consume any gas. All accounts of a player will use the
|
|
|
5517
5562
|
Each player can only have one account per chain.
|
|
5518
5563
|
* @summary Create an account object.
|
|
5519
5564
|
*/
|
|
5520
|
-
declare const createAccount: (createAccountRequest: CreateAccountRequest, options?: SecondParameter$
|
|
5565
|
+
declare const createAccount: (createAccountRequest: CreateAccountRequest, options?: SecondParameter$n<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
|
|
5521
5566
|
/**
|
|
5522
5567
|
* Retrieves the details of an existing account.
|
|
5523
5568
|
|
|
@@ -5526,14 +5571,14 @@ Supply the unique account ID from either a account creation request or the accou
|
|
|
5526
5571
|
Returns the latest 10 transaction intents created by this account.
|
|
5527
5572
|
* @summary Get existing account.
|
|
5528
5573
|
*/
|
|
5529
|
-
declare const getAccount: (id: string, params?: GetAccountParams, options?: SecondParameter$
|
|
5574
|
+
declare const getAccount: (id: string, params?: GetAccountParams, options?: SecondParameter$n<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
|
|
5530
5575
|
/**
|
|
5531
5576
|
* Disables an account.
|
|
5532
5577
|
|
|
5533
5578
|
Accounts won't be shown for user and won't be accessible for transactions.
|
|
5534
5579
|
* @summary Disable account by id.
|
|
5535
5580
|
*/
|
|
5536
|
-
declare const disableAccount: (id: string, options?: SecondParameter$
|
|
5581
|
+
declare const disableAccount: (id: string, options?: SecondParameter$n<typeof openfortApiClient<void>>) => Promise<void>;
|
|
5537
5582
|
/**
|
|
5538
5583
|
* Perform a request to change the owner of an account.
|
|
5539
5584
|
|
|
@@ -5541,36 +5586,36 @@ To perform an update on the owner of an account, first you must provide a new ow
|
|
|
5541
5586
|
Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
5542
5587
|
* @summary Request transfer ownership of account.
|
|
5543
5588
|
*/
|
|
5544
|
-
declare const requestTransferOwnership: (id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: SecondParameter$
|
|
5589
|
+
declare const requestTransferOwnership: (id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: SecondParameter$n<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
|
|
5545
5590
|
/**
|
|
5546
5591
|
* Cancel a pending transfer of ownership.
|
|
5547
5592
|
* @summary Cancel request to transfer ownership of an account.
|
|
5548
5593
|
*/
|
|
5549
|
-
declare const cancelTransferOwnership: (id: string, cancelTransferOwnershipRequest: CancelTransferOwnershipRequest, options?: SecondParameter$
|
|
5594
|
+
declare const cancelTransferOwnership: (id: string, cancelTransferOwnershipRequest: CancelTransferOwnershipRequest, options?: SecondParameter$n<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
|
|
5550
5595
|
/**
|
|
5551
5596
|
* **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
5597
|
* @summary Sign a given payload
|
|
5553
5598
|
*/
|
|
5554
|
-
declare const signPayload: (id: string, signPayloadRequest: SignPayloadRequest, options?: SecondParameter$
|
|
5599
|
+
declare const signPayload: (id: string, signPayloadRequest: SignPayloadRequest, options?: SecondParameter$n<typeof openfortApiClient<SignPayloadResponse>>) => Promise<SignPayloadResponse>;
|
|
5555
5600
|
/**
|
|
5556
5601
|
* Synchronize the account state with the blockchain.
|
|
5557
5602
|
Specifically, it updates the account owner and whether its deployed or not.
|
|
5558
5603
|
* @summary Sync account state with the blockchain
|
|
5559
5604
|
*/
|
|
5560
|
-
declare const syncAccount: (id: string, options?: SecondParameter$
|
|
5605
|
+
declare const syncAccount: (id: string, options?: SecondParameter$n<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
|
|
5561
5606
|
/**
|
|
5562
5607
|
* This endpoint can be used to deploy a smart contract account that was counterfactually generated.
|
|
5563
5608
|
* @summary Deploy an account.
|
|
5564
5609
|
*/
|
|
5565
|
-
declare const deployAccount: (id: string, deployRequest: DeployRequest, options?: SecondParameter$
|
|
5610
|
+
declare const deployAccount: (id: string, deployRequest: DeployRequest, options?: SecondParameter$n<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
|
|
5566
5611
|
/**
|
|
5567
5612
|
* @summary Start a recovery process of a recoverable account.
|
|
5568
5613
|
*/
|
|
5569
|
-
declare const startRecovery: (id: string, startRecoveryRequest: StartRecoveryRequest, options?: SecondParameter$
|
|
5614
|
+
declare const startRecovery: (id: string, startRecoveryRequest: StartRecoveryRequest, options?: SecondParameter$n<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
|
|
5570
5615
|
/**
|
|
5571
5616
|
* @summary Complete a recovery process of a recoverable account.
|
|
5572
5617
|
*/
|
|
5573
|
-
declare const completeRecovery: (id: string, completeRecoveryRequest: CompleteRecoveryRequest, options?: SecondParameter$
|
|
5618
|
+
declare const completeRecovery: (id: string, completeRecoveryRequest: CompleteRecoveryRequest, options?: SecondParameter$n<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
|
|
5574
5619
|
type GetAccountsResult = NonNullable<Awaited<ReturnType<typeof getAccounts>>>;
|
|
5575
5620
|
type CreateAccountResult = NonNullable<Awaited<ReturnType<typeof createAccount>>>;
|
|
5576
5621
|
type GetAccountResult = NonNullable<Awaited<ReturnType<typeof getAccount>>>;
|
|
@@ -5591,7 +5636,7 @@ type CompleteRecoveryResult = NonNullable<Awaited<ReturnType<typeof completeReco
|
|
|
5591
5636
|
* OpenAPI spec version: 1.0.0
|
|
5592
5637
|
*/
|
|
5593
5638
|
|
|
5594
|
-
type SecondParameter$
|
|
5639
|
+
type SecondParameter$m<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5595
5640
|
/**
|
|
5596
5641
|
* Returns a list of accounts for the given user.
|
|
5597
5642
|
|
|
@@ -5600,38 +5645,38 @@ This object represents a user's account, which is a blockchain smart account tha
|
|
|
5600
5645
|
The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
|
|
5601
5646
|
* @summary List user accounts.
|
|
5602
5647
|
*/
|
|
5603
|
-
declare const getAccountsV2: (params?: GetAccountsV2Params, options?: SecondParameter$
|
|
5648
|
+
declare const getAccountsV2: (params?: GetAccountsV2Params, options?: SecondParameter$m<typeof openfortApiClient<BaseEntityListResponseAccountV2Response>>) => Promise<BaseEntityListResponseAccountV2Response>;
|
|
5604
5649
|
/**
|
|
5605
5650
|
* Creates a new blockchain account for a user.
|
|
5606
5651
|
|
|
5607
5652
|
Account creation does not consume any gas. The account can be used to interact with the blockchain.
|
|
5608
5653
|
* @summary Create new account.
|
|
5609
5654
|
*/
|
|
5610
|
-
declare const createAccountV2: (createAccountRequestV2: CreateAccountRequestV2, options?: SecondParameter$
|
|
5655
|
+
declare const createAccountV2: (createAccountRequestV2: CreateAccountRequestV2, options?: SecondParameter$m<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
|
|
5611
5656
|
/**
|
|
5612
5657
|
* Retrieves the signer ID associated with a given blockchain address.
|
|
5613
5658
|
* @summary Get signer ID by address.
|
|
5614
5659
|
*/
|
|
5615
|
-
declare const getSignerIdByAddress: (params: GetSignerIdByAddressParams, options?: SecondParameter$
|
|
5660
|
+
declare const getSignerIdByAddress: (params: GetSignerIdByAddressParams, options?: SecondParameter$m<typeof openfortApiClient<SignerIdResponse>>) => Promise<SignerIdResponse>;
|
|
5616
5661
|
/**
|
|
5617
5662
|
* Retrieves the details of an existing account.
|
|
5618
5663
|
|
|
5619
5664
|
Supply the unique account ID and Openfort will return the corresponding account information.
|
|
5620
5665
|
* @summary Get existing account.
|
|
5621
5666
|
*/
|
|
5622
|
-
declare const getAccountV2: (id: string, options?: SecondParameter$
|
|
5667
|
+
declare const getAccountV2: (id: string, options?: SecondParameter$m<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
|
|
5623
5668
|
/**
|
|
5624
5669
|
* Removes an account from a project.
|
|
5625
5670
|
* @summary Delete account.
|
|
5626
5671
|
*/
|
|
5627
|
-
declare const removeAccount: (id: string, options?: SecondParameter$
|
|
5672
|
+
declare const removeAccount: (id: string, options?: SecondParameter$m<typeof openfortApiClient<DeleteAccountResponse>>) => Promise<DeleteAccountResponse>;
|
|
5628
5673
|
/**
|
|
5629
5674
|
* Switches the blockchain network for an existing account.
|
|
5630
5675
|
|
|
5631
5676
|
This allows moving an account between different blockchain networks while maintaining the same account identity.
|
|
5632
5677
|
* @summary Switch account blockchain.
|
|
5633
5678
|
*/
|
|
5634
|
-
declare const switchChainV2: (switchChainQueriesV2: SwitchChainQueriesV2, options?: SecondParameter$
|
|
5679
|
+
declare const switchChainV2: (switchChainQueriesV2: SwitchChainQueriesV2, options?: SecondParameter$m<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
|
|
5635
5680
|
type GetAccountsV2Result = NonNullable<Awaited<ReturnType<typeof getAccountsV2>>>;
|
|
5636
5681
|
type CreateAccountV2Result = NonNullable<Awaited<ReturnType<typeof createAccountV2>>>;
|
|
5637
5682
|
type GetSignerIdByAddressResult = NonNullable<Awaited<ReturnType<typeof getSignerIdByAddress>>>;
|
|
@@ -5647,82 +5692,82 @@ type SwitchChainV2Result = NonNullable<Awaited<ReturnType<typeof switchChainV2>>
|
|
|
5647
5692
|
* OpenAPI spec version: 1.0.0
|
|
5648
5693
|
*/
|
|
5649
5694
|
|
|
5650
|
-
type SecondParameter$
|
|
5695
|
+
type SecondParameter$l<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5651
5696
|
/**
|
|
5652
5697
|
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
5653
5698
|
|
|
5654
5699
|
Returns the latest 10 transaction intents for the player.
|
|
5655
5700
|
* @summary Retrieve player by oauth token.
|
|
5656
5701
|
*/
|
|
5657
|
-
declare const verifyOAuthToken: (authenticateOAuthRequest: AuthenticateOAuthRequest, options?: SecondParameter$
|
|
5702
|
+
declare const verifyOAuthToken: (authenticateOAuthRequest: AuthenticateOAuthRequest, options?: SecondParameter$l<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
|
|
5658
5703
|
/**
|
|
5659
5704
|
* List configured OAuth methods for the current project environment.
|
|
5660
5705
|
* @deprecated
|
|
5661
5706
|
* @summary List of oauth configurations.
|
|
5662
5707
|
*/
|
|
5663
|
-
declare const listOAuthConfig: (options?: SecondParameter$
|
|
5708
|
+
declare const listOAuthConfig: (options?: SecondParameter$l<typeof openfortApiClient<OAuthConfigListResponse>>) => Promise<OAuthConfigListResponse>;
|
|
5664
5709
|
/**
|
|
5665
5710
|
* The endpoint creates oauth configuration for the current project environment.
|
|
5666
5711
|
* @deprecated
|
|
5667
5712
|
* @summary Create oauth configuration.
|
|
5668
5713
|
*/
|
|
5669
|
-
declare const createOAuthConfig: (authConfig: AuthConfig, options?: SecondParameter$
|
|
5714
|
+
declare const createOAuthConfig: (authConfig: AuthConfig, options?: SecondParameter$l<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
|
|
5670
5715
|
/**
|
|
5671
5716
|
* @deprecated
|
|
5672
5717
|
* @summary oauth callback.
|
|
5673
5718
|
*/
|
|
5674
|
-
declare const deprecatedCallbackOAuth: (params: DeprecatedCallbackOAuthParams, options?: SecondParameter$
|
|
5719
|
+
declare const deprecatedCallbackOAuth: (params: DeprecatedCallbackOAuthParams, options?: SecondParameter$l<typeof openfortApiClient<unknown>>) => Promise<unknown>;
|
|
5675
5720
|
/**
|
|
5676
5721
|
* @summary oauth grant.
|
|
5677
5722
|
*/
|
|
5678
|
-
declare const grantOAuth: (provider: OAuthProvider, grantCallbackRequest: GrantCallbackRequest, options?: SecondParameter$
|
|
5723
|
+
declare const grantOAuth: (provider: OAuthProvider, grantCallbackRequest: GrantCallbackRequest, options?: SecondParameter$l<typeof openfortApiClient<GrantOAuthResponse>>) => Promise<GrantOAuthResponse>;
|
|
5679
5724
|
/**
|
|
5680
5725
|
* @summary oauth callback.
|
|
5681
5726
|
*/
|
|
5682
|
-
declare const callbackOAuth: (provider: OAuthProvider, params: CallbackOAuthParams, options?: SecondParameter$
|
|
5727
|
+
declare const callbackOAuth: (provider: OAuthProvider, params: CallbackOAuthParams, options?: SecondParameter$l<typeof openfortApiClient<unknown>>) => Promise<unknown>;
|
|
5683
5728
|
/**
|
|
5684
5729
|
* The endpoint retrieves oauth configuration for specified provider for the current project environment.
|
|
5685
5730
|
* @deprecated
|
|
5686
5731
|
* @summary Get oauth configuration.
|
|
5687
5732
|
*/
|
|
5688
|
-
declare const getOAuthConfig: (provider: OAuthProvider, options?: SecondParameter$
|
|
5733
|
+
declare const getOAuthConfig: (provider: OAuthProvider, options?: SecondParameter$l<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
|
|
5689
5734
|
/**
|
|
5690
5735
|
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
5691
5736
|
* @deprecated
|
|
5692
5737
|
* @summary Delete oauth configuration.
|
|
5693
5738
|
*/
|
|
5694
|
-
declare const deleteOAuthConfig: (provider: OAuthProvider, options?: SecondParameter$
|
|
5739
|
+
declare const deleteOAuthConfig: (provider: OAuthProvider, options?: SecondParameter$l<typeof openfortApiClient<void>>) => Promise<void>;
|
|
5695
5740
|
/**
|
|
5696
5741
|
* List configured auth methods for the current project environment.
|
|
5697
5742
|
* @summary List of auth configurations.
|
|
5698
5743
|
*/
|
|
5699
|
-
declare const list: (params?: ListParams, options?: SecondParameter$
|
|
5744
|
+
declare const list: (params?: ListParams, options?: SecondParameter$l<typeof openfortApiClient<AuthProviderListResponse>>) => Promise<AuthProviderListResponse>;
|
|
5700
5745
|
/**
|
|
5701
5746
|
* The endpoint creates oauth configuration for the current project environment.
|
|
5702
5747
|
* @summary Create oauth configuration.
|
|
5703
5748
|
*/
|
|
5704
|
-
declare const create: (authConfig: AuthConfig, options?: SecondParameter$
|
|
5749
|
+
declare const create: (authConfig: AuthConfig, options?: SecondParameter$l<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
|
|
5705
5750
|
/**
|
|
5706
5751
|
* Creates an authenticated player.
|
|
5707
5752
|
|
|
5708
5753
|
The player will be authenticated with the provider and an embedded account can be pre generated.
|
|
5709
5754
|
* @summary Create an authenticated player.
|
|
5710
5755
|
*/
|
|
5711
|
-
declare const createAuthPlayer: (createAuthPlayerRequest: CreateAuthPlayerRequest, options?: SecondParameter$
|
|
5756
|
+
declare const createAuthPlayer: (createAuthPlayerRequest: CreateAuthPlayerRequest, options?: SecondParameter$l<typeof openfortApiClient<AuthPlayerResponseWithRecoveryShare>>) => Promise<AuthPlayerResponseWithRecoveryShare>;
|
|
5712
5757
|
/**
|
|
5713
5758
|
* Retrieves a list of authenticated players.
|
|
5714
5759
|
|
|
5715
5760
|
Players have linked accounts and are authenticated with a provider.
|
|
5716
5761
|
* @summary List authenticated players.
|
|
5717
5762
|
*/
|
|
5718
|
-
declare const getAuthPlayers: (params?: GetAuthPlayersParams, options?: SecondParameter$
|
|
5763
|
+
declare const getAuthPlayers: (params?: GetAuthPlayersParams, options?: SecondParameter$l<typeof openfortApiClient<AuthPlayerListResponse>>) => Promise<AuthPlayerListResponse>;
|
|
5719
5764
|
/**
|
|
5720
5765
|
* Retrieves an authenticated player.
|
|
5721
5766
|
|
|
5722
5767
|
Players have linked accounts and are authenticated with a provider.
|
|
5723
5768
|
* @summary Authenticated player.
|
|
5724
5769
|
*/
|
|
5725
|
-
declare const getAuthPlayer: (id: string, options?: SecondParameter$
|
|
5770
|
+
declare const getAuthPlayer: (id: string, options?: SecondParameter$l<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
|
|
5726
5771
|
/**
|
|
5727
5772
|
* Deletes a player auth object.
|
|
5728
5773
|
|
|
@@ -5730,13 +5775,13 @@ It will delete all linked accounts the player is authenticated with.
|
|
|
5730
5775
|
If the player has a linked embedded signer, it will be deleted as well.
|
|
5731
5776
|
* @summary Deletes a player auth object.
|
|
5732
5777
|
*/
|
|
5733
|
-
declare const deleteAuthPlayer: (id: string, options?: SecondParameter$
|
|
5778
|
+
declare const deleteAuthPlayer: (id: string, options?: SecondParameter$l<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
|
|
5734
5779
|
/**
|
|
5735
5780
|
* Verifies the token generated by Openfort Auth.
|
|
5736
5781
|
* @summary Verify auth token.
|
|
5737
5782
|
*/
|
|
5738
|
-
declare const verifyAuthToken: (params: VerifyAuthTokenParams, options?: SecondParameter$
|
|
5739
|
-
declare const authorize: (authorizePlayerRequest: AuthorizePlayerRequest, options?: SecondParameter$
|
|
5783
|
+
declare const verifyAuthToken: (params: VerifyAuthTokenParams, options?: SecondParameter$l<typeof openfortApiClient<AuthSessionResponse>>) => Promise<AuthSessionResponse>;
|
|
5784
|
+
declare const authorize: (authorizePlayerRequest: AuthorizePlayerRequest, options?: SecondParameter$l<typeof openfortApiClient<Authorize200>>) => Promise<Authorize200>;
|
|
5740
5785
|
type VerifyOAuthTokenResult = NonNullable<Awaited<ReturnType<typeof verifyOAuthToken>>>;
|
|
5741
5786
|
type ListOAuthConfigResult = NonNullable<Awaited<ReturnType<typeof listOAuthConfig>>>;
|
|
5742
5787
|
type CreateOAuthConfigResult = NonNullable<Awaited<ReturnType<typeof createOAuthConfig>>>;
|
|
@@ -5914,6 +5959,7 @@ type SocialSignIn200User = {
|
|
|
5914
5959
|
emailVerified: boolean;
|
|
5915
5960
|
createdAt: string;
|
|
5916
5961
|
updatedAt: string;
|
|
5962
|
+
isAnonymous?: boolean;
|
|
5917
5963
|
};
|
|
5918
5964
|
/**
|
|
5919
5965
|
* Session response when idToken is provided
|
|
@@ -6062,6 +6108,7 @@ type PostSignInEmail200User = {
|
|
|
6062
6108
|
emailVerified: boolean;
|
|
6063
6109
|
createdAt: string;
|
|
6064
6110
|
updatedAt: string;
|
|
6111
|
+
isAnonymous?: boolean;
|
|
6065
6112
|
};
|
|
6066
6113
|
/**
|
|
6067
6114
|
* Session response when idToken is provided
|
|
@@ -7706,218 +7753,218 @@ declare namespace openfortAuth_schemas {
|
|
|
7706
7753
|
* OpenAPI spec version: 1.0.0
|
|
7707
7754
|
*/
|
|
7708
7755
|
|
|
7709
|
-
type SecondParameter$
|
|
7756
|
+
type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7710
7757
|
/**
|
|
7711
7758
|
* Sign in with a social provider
|
|
7712
7759
|
* @summary Sign in with a social provider.
|
|
7713
7760
|
*/
|
|
7714
|
-
declare const socialSignIn: (socialSignInBody: SocialSignInBody, options?: SecondParameter$
|
|
7761
|
+
declare const socialSignIn: (socialSignInBody: SocialSignInBody, options?: SecondParameter$k<typeof openfortApiClient<SocialSignIn200>>) => Promise<SocialSignIn200>;
|
|
7715
7762
|
/**
|
|
7716
7763
|
* Get the current session
|
|
7717
7764
|
* @summary Get the current session.
|
|
7718
7765
|
*/
|
|
7719
|
-
declare const getGetSession: (params?: GetGetSessionParams, options?: SecondParameter$
|
|
7766
|
+
declare const getGetSession: (params?: GetGetSessionParams, options?: SecondParameter$k<typeof openfortApiClient<GetGetSession200>>) => Promise<GetGetSession200>;
|
|
7720
7767
|
/**
|
|
7721
7768
|
* Sign out the current user
|
|
7722
7769
|
* @summary Sign out.
|
|
7723
7770
|
*/
|
|
7724
|
-
declare const postSignOut: (postSignOutBody: PostSignOutBody, options?: SecondParameter$
|
|
7771
|
+
declare const postSignOut: (postSignOutBody: PostSignOutBody, options?: SecondParameter$k<typeof openfortApiClient<PostSignOut200>>) => Promise<PostSignOut200>;
|
|
7725
7772
|
/**
|
|
7726
7773
|
* Sign up a user using email and password
|
|
7727
7774
|
* @summary Sign up with email and password.
|
|
7728
7775
|
*/
|
|
7729
|
-
declare const postSignUpEmail: (postSignUpEmailBody: PostSignUpEmailBody, options?: SecondParameter$
|
|
7776
|
+
declare const postSignUpEmail: (postSignUpEmailBody: PostSignUpEmailBody, options?: SecondParameter$k<typeof openfortApiClient<PostSignUpEmail200>>) => Promise<PostSignUpEmail200>;
|
|
7730
7777
|
/**
|
|
7731
7778
|
* Sign in with email and password
|
|
7732
7779
|
* @summary Sign in with email and password.
|
|
7733
7780
|
*/
|
|
7734
|
-
declare const postSignInEmail: (postSignInEmailBody: PostSignInEmailBody, options?: SecondParameter$
|
|
7781
|
+
declare const postSignInEmail: (postSignInEmailBody: PostSignInEmailBody, options?: SecondParameter$k<typeof openfortApiClient<PostSignInEmail200>>) => Promise<PostSignInEmail200>;
|
|
7735
7782
|
/**
|
|
7736
7783
|
* Send a password reset email to the user
|
|
7737
7784
|
* @summary Forget password.
|
|
7738
7785
|
*/
|
|
7739
|
-
declare const postForgetPassword: (postForgetPasswordBody: PostForgetPasswordBody, options?: SecondParameter$
|
|
7786
|
+
declare const postForgetPassword: (postForgetPasswordBody: PostForgetPasswordBody, options?: SecondParameter$k<typeof openfortApiClient<PostForgetPassword200>>) => Promise<PostForgetPassword200>;
|
|
7740
7787
|
/**
|
|
7741
7788
|
* Reset the password for a user
|
|
7742
7789
|
* @summary Reset password.
|
|
7743
7790
|
*/
|
|
7744
|
-
declare const postResetPassword: (postResetPasswordBody: PostResetPasswordBody, options?: SecondParameter$
|
|
7791
|
+
declare const postResetPassword: (postResetPasswordBody: PostResetPasswordBody, options?: SecondParameter$k<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
|
|
7745
7792
|
/**
|
|
7746
7793
|
* Verify the email of the user.
|
|
7747
7794
|
Usually this endpoint is called when user clicks 'Verify email' link from the letter.
|
|
7748
7795
|
* @summary Verify email.
|
|
7749
7796
|
*/
|
|
7750
|
-
declare const getVerifyEmail: (params: GetVerifyEmailParams, options?: SecondParameter$
|
|
7797
|
+
declare const getVerifyEmail: (params: GetVerifyEmailParams, options?: SecondParameter$k<typeof openfortApiClient<GetVerifyEmail200>>) => Promise<GetVerifyEmail200>;
|
|
7751
7798
|
/**
|
|
7752
7799
|
* Send a verification email to the user
|
|
7753
7800
|
* @summary Send verification email.
|
|
7754
7801
|
*/
|
|
7755
|
-
declare const postSendVerificationEmail: (postSendVerificationEmailBody: PostSendVerificationEmailBody, options?: SecondParameter$
|
|
7802
|
+
declare const postSendVerificationEmail: (postSendVerificationEmailBody: PostSendVerificationEmailBody, options?: SecondParameter$k<typeof openfortApiClient<PostSendVerificationEmail200>>) => Promise<PostSendVerificationEmail200>;
|
|
7756
7803
|
/**
|
|
7757
7804
|
* Change user's email
|
|
7758
7805
|
* @summary Change email.
|
|
7759
7806
|
*/
|
|
7760
|
-
declare const postChangeEmail: (postChangeEmailBody: PostChangeEmailBody, options?: SecondParameter$
|
|
7807
|
+
declare const postChangeEmail: (postChangeEmailBody: PostChangeEmailBody, options?: SecondParameter$k<typeof openfortApiClient<PostChangeEmail200>>) => Promise<PostChangeEmail200>;
|
|
7761
7808
|
/**
|
|
7762
7809
|
* Change the password of the user
|
|
7763
7810
|
* @summary Change password.
|
|
7764
7811
|
*/
|
|
7765
|
-
declare const postChangePassword: (postChangePasswordBody: PostChangePasswordBody, options?: SecondParameter$
|
|
7812
|
+
declare const postChangePassword: (postChangePasswordBody: PostChangePasswordBody, options?: SecondParameter$k<typeof openfortApiClient<PostChangePassword200>>) => Promise<PostChangePassword200>;
|
|
7766
7813
|
/**
|
|
7767
7814
|
* Redirects the user to the callback URL with the token
|
|
7768
7815
|
* @summary Reset password callback.
|
|
7769
7816
|
*/
|
|
7770
|
-
declare const getResetPasswordToken: (token: string, params?: GetResetPasswordTokenParams, options?: SecondParameter$
|
|
7817
|
+
declare const getResetPasswordToken: (token: string, params?: GetResetPasswordTokenParams, options?: SecondParameter$k<typeof openfortApiClient<GetResetPasswordToken200>>) => Promise<GetResetPasswordToken200>;
|
|
7771
7818
|
/**
|
|
7772
7819
|
* Send a password reset email to the user
|
|
7773
7820
|
* @summary Request password reset.
|
|
7774
7821
|
*/
|
|
7775
|
-
declare const postRequestPasswordReset: (postRequestPasswordResetBody: PostRequestPasswordResetBody, options?: SecondParameter$
|
|
7822
|
+
declare const postRequestPasswordReset: (postRequestPasswordResetBody: PostRequestPasswordResetBody, options?: SecondParameter$k<typeof openfortApiClient<PostRequestPasswordReset200>>) => Promise<PostRequestPasswordReset200>;
|
|
7776
7823
|
/**
|
|
7777
7824
|
* List all active sessions for the user
|
|
7778
7825
|
* @summary List sessions.
|
|
7779
7826
|
*/
|
|
7780
|
-
declare const getListSessions: (options?: SecondParameter$
|
|
7827
|
+
declare const getListSessions: (options?: SecondParameter$k<typeof openfortApiClient<Session[]>>) => Promise<Session[]>;
|
|
7781
7828
|
/**
|
|
7782
7829
|
* Revoke a single session
|
|
7783
7830
|
* @summary Revoke session.
|
|
7784
7831
|
*/
|
|
7785
|
-
declare const postRevokeSession: (postRevokeSessionBody: PostRevokeSessionBody, options?: SecondParameter$
|
|
7832
|
+
declare const postRevokeSession: (postRevokeSessionBody: PostRevokeSessionBody, options?: SecondParameter$k<typeof openfortApiClient<PostRevokeSession200>>) => Promise<PostRevokeSession200>;
|
|
7786
7833
|
/**
|
|
7787
7834
|
* Revoke all sessions for the user
|
|
7788
7835
|
* @summary Revoke sessions.
|
|
7789
7836
|
*/
|
|
7790
|
-
declare const postRevokeSessions: (postRevokeSessionsBody: PostRevokeSessionsBody, options?: SecondParameter$
|
|
7837
|
+
declare const postRevokeSessions: (postRevokeSessionsBody: PostRevokeSessionsBody, options?: SecondParameter$k<typeof openfortApiClient<PostRevokeSessions200>>) => Promise<PostRevokeSessions200>;
|
|
7791
7838
|
/**
|
|
7792
7839
|
* Revoke all other sessions for the user except the current one
|
|
7793
7840
|
* @summary Revoke other sessions.
|
|
7794
7841
|
*/
|
|
7795
|
-
declare const postRevokeOtherSessions: (postRevokeOtherSessionsBody: PostRevokeOtherSessionsBody, options?: SecondParameter$
|
|
7842
|
+
declare const postRevokeOtherSessions: (postRevokeOtherSessionsBody: PostRevokeOtherSessionsBody, options?: SecondParameter$k<typeof openfortApiClient<PostRevokeOtherSessions200>>) => Promise<PostRevokeOtherSessions200>;
|
|
7796
7843
|
/**
|
|
7797
7844
|
* Link a social account to the user
|
|
7798
7845
|
* @summary Link social account.
|
|
7799
7846
|
*/
|
|
7800
|
-
declare const postLinkSocial: (postLinkSocialBody: PostLinkSocialBody, options?: SecondParameter$
|
|
7847
|
+
declare const postLinkSocial: (postLinkSocialBody: PostLinkSocialBody, options?: SecondParameter$k<typeof openfortApiClient<PostLinkSocial200>>) => Promise<PostLinkSocial200>;
|
|
7801
7848
|
/**
|
|
7802
7849
|
* List all accounts linked to the user
|
|
7803
7850
|
* @summary List lined accounts.
|
|
7804
7851
|
*/
|
|
7805
|
-
declare const getListAccounts: (options?: SecondParameter$
|
|
7852
|
+
declare const getListAccounts: (options?: SecondParameter$k<typeof openfortApiClient<GetListAccounts200Item[]>>) => Promise<GetListAccounts200Item[]>;
|
|
7806
7853
|
/**
|
|
7807
7854
|
* Unlink an account
|
|
7808
7855
|
* @summary Unlink account.
|
|
7809
7856
|
*/
|
|
7810
|
-
declare const postUnlinkAccount: (postUnlinkAccountBody: PostUnlinkAccountBody, options?: SecondParameter$
|
|
7857
|
+
declare const postUnlinkAccount: (postUnlinkAccountBody: PostUnlinkAccountBody, options?: SecondParameter$k<typeof openfortApiClient<UnlinkAccountResponse>>) => Promise<UnlinkAccountResponse>;
|
|
7811
7858
|
/**
|
|
7812
7859
|
* Refresh the access token using a refresh token
|
|
7813
7860
|
* @summary Refresh access token.
|
|
7814
7861
|
*/
|
|
7815
|
-
declare const postRefreshToken: (postRefreshTokenBody: PostRefreshTokenBody, options?: SecondParameter$
|
|
7862
|
+
declare const postRefreshToken: (postRefreshTokenBody: PostRefreshTokenBody, options?: SecondParameter$k<typeof openfortApiClient<PostRefreshToken200>>) => Promise<PostRefreshToken200>;
|
|
7816
7863
|
/**
|
|
7817
7864
|
* Get a valid access token, doing a refresh if needed
|
|
7818
7865
|
* @summary Get access token.
|
|
7819
7866
|
*/
|
|
7820
|
-
declare const postGetAccessToken: (postGetAccessTokenBody: PostGetAccessTokenBody, options?: SecondParameter$
|
|
7867
|
+
declare const postGetAccessToken: (postGetAccessTokenBody: PostGetAccessTokenBody, options?: SecondParameter$k<typeof openfortApiClient<PostGetAccessToken200>>) => Promise<PostGetAccessToken200>;
|
|
7821
7868
|
/**
|
|
7822
7869
|
* Get the account info provided by the provider
|
|
7823
7870
|
* @summary Get account info.
|
|
7824
7871
|
*/
|
|
7825
|
-
declare const postAccountInfo: (postAccountInfoBody: PostAccountInfoBody, options?: SecondParameter$
|
|
7872
|
+
declare const postAccountInfo: (postAccountInfoBody: PostAccountInfoBody, options?: SecondParameter$k<typeof openfortApiClient<PostAccountInfo200>>) => Promise<PostAccountInfo200>;
|
|
7826
7873
|
/**
|
|
7827
7874
|
* Sign in anonymously
|
|
7828
7875
|
* @summary Anonymous sign in.
|
|
7829
7876
|
*/
|
|
7830
|
-
declare const postSignInAnonymous: (options?: SecondParameter$
|
|
7877
|
+
declare const postSignInAnonymous: (options?: SecondParameter$k<typeof openfortApiClient<PostSignInAnonymous200>>) => Promise<PostSignInAnonymous200>;
|
|
7831
7878
|
/**
|
|
7832
7879
|
* Use this endpoint to sign in with phone number
|
|
7833
7880
|
* @summary Sign in with phone.
|
|
7834
7881
|
*/
|
|
7835
|
-
declare const postSignInPhoneNumber: (postSignInPhoneNumberBody: PostSignInPhoneNumberBody, options?: SecondParameter$
|
|
7882
|
+
declare const postSignInPhoneNumber: (postSignInPhoneNumberBody: PostSignInPhoneNumberBody, options?: SecondParameter$k<typeof openfortApiClient<PostSignInPhoneNumber200>>) => Promise<PostSignInPhoneNumber200>;
|
|
7836
7883
|
/**
|
|
7837
7884
|
* Use this endpoint to send OTP to phone number
|
|
7838
7885
|
* @summary Send OTP to phone number.
|
|
7839
7886
|
*/
|
|
7840
|
-
declare const postPhoneNumberSendOtp: (postPhoneNumberSendOtpBody: PostPhoneNumberSendOtpBody, options?: SecondParameter$
|
|
7887
|
+
declare const postPhoneNumberSendOtp: (postPhoneNumberSendOtpBody: PostPhoneNumberSendOtpBody, options?: SecondParameter$k<typeof openfortApiClient<PostPhoneNumberSendOtp200>>) => Promise<PostPhoneNumberSendOtp200>;
|
|
7841
7888
|
/**
|
|
7842
7889
|
* Use this endpoint to verify phone number
|
|
7843
7890
|
* @summary Verify phone OTP.
|
|
7844
7891
|
*/
|
|
7845
|
-
declare const postPhoneNumberVerify: (postPhoneNumberVerifyBody: PostPhoneNumberVerifyBody, options?: SecondParameter$
|
|
7892
|
+
declare const postPhoneNumberVerify: (postPhoneNumberVerifyBody: PostPhoneNumberVerifyBody, options?: SecondParameter$k<typeof openfortApiClient<PostPhoneNumberVerify200>>) => Promise<PostPhoneNumberVerify200>;
|
|
7846
7893
|
/**
|
|
7847
7894
|
* Request OTP for password reset via phone number
|
|
7848
7895
|
* @summary Reset password reset with phone(forget password flow).
|
|
7849
7896
|
*/
|
|
7850
|
-
declare const postPhoneNumberForgetPassword: (postPhoneNumberForgetPasswordBody: PostPhoneNumberForgetPasswordBody, options?: SecondParameter$
|
|
7897
|
+
declare const postPhoneNumberForgetPassword: (postPhoneNumberForgetPasswordBody: PostPhoneNumberForgetPasswordBody, options?: SecondParameter$k<typeof openfortApiClient<PostPhoneNumberForgetPassword200>>) => Promise<PostPhoneNumberForgetPassword200>;
|
|
7851
7898
|
/**
|
|
7852
7899
|
* Request OTP for password reset via phone number
|
|
7853
7900
|
* @summary Request password reset with phone.
|
|
7854
7901
|
*/
|
|
7855
|
-
declare const postPhoneNumberRequestPasswordReset: (postPhoneNumberRequestPasswordResetBody: PostPhoneNumberRequestPasswordResetBody, options?: SecondParameter$
|
|
7902
|
+
declare const postPhoneNumberRequestPasswordReset: (postPhoneNumberRequestPasswordResetBody: PostPhoneNumberRequestPasswordResetBody, options?: SecondParameter$k<typeof openfortApiClient<PostPhoneNumberRequestPasswordReset200>>) => Promise<PostPhoneNumberRequestPasswordReset200>;
|
|
7856
7903
|
/**
|
|
7857
7904
|
* Reset password using phone number OTP
|
|
7858
7905
|
* @summary Reset password with phone OTP.
|
|
7859
7906
|
*/
|
|
7860
|
-
declare const postPhoneNumberResetPassword: (postPhoneNumberResetPasswordBody: PostPhoneNumberResetPasswordBody, options?: SecondParameter$
|
|
7907
|
+
declare const postPhoneNumberResetPassword: (postPhoneNumberResetPasswordBody: PostPhoneNumberResetPasswordBody, options?: SecondParameter$k<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
|
|
7861
7908
|
/**
|
|
7862
7909
|
* Send verification OTP
|
|
7863
7910
|
* @summary Request email verification with OTP.
|
|
7864
7911
|
*/
|
|
7865
|
-
declare const postEmailOtpSendVerificationOtp: (postEmailOtpSendVerificationOtpBody: PostEmailOtpSendVerificationOtpBody, options?: SecondParameter$
|
|
7912
|
+
declare const postEmailOtpSendVerificationOtp: (postEmailOtpSendVerificationOtpBody: PostEmailOtpSendVerificationOtpBody, options?: SecondParameter$k<typeof openfortApiClient<PostEmailOtpSendVerificationOtp200>>) => Promise<PostEmailOtpSendVerificationOtp200>;
|
|
7866
7913
|
/**
|
|
7867
7914
|
* Check if a verification OTP is valid
|
|
7868
7915
|
* @summary Check email OTP.
|
|
7869
7916
|
*/
|
|
7870
|
-
declare const checkVerificationOtp: (checkVerificationOtpBody: CheckVerificationOtpBody, options?: SecondParameter$
|
|
7917
|
+
declare const checkVerificationOtp: (checkVerificationOtpBody: CheckVerificationOtpBody, options?: SecondParameter$k<typeof openfortApiClient<CheckVerificationOtp200>>) => Promise<CheckVerificationOtp200>;
|
|
7871
7918
|
/**
|
|
7872
7919
|
* Verify email with OTP
|
|
7873
7920
|
* @summary Verify email with OTP.
|
|
7874
7921
|
*/
|
|
7875
|
-
declare const postEmailOtpVerifyEmail: (postEmailOtpVerifyEmailBody: PostEmailOtpVerifyEmailBody, options?: SecondParameter$
|
|
7922
|
+
declare const postEmailOtpVerifyEmail: (postEmailOtpVerifyEmailBody: PostEmailOtpVerifyEmailBody, options?: SecondParameter$k<typeof openfortApiClient<PostEmailOtpVerifyEmail200>>) => Promise<PostEmailOtpVerifyEmail200>;
|
|
7876
7923
|
/**
|
|
7877
7924
|
* Sign in with OTP
|
|
7878
7925
|
* @summary Sign in with email OTP.
|
|
7879
7926
|
*/
|
|
7880
|
-
declare const postSignInEmailOtp: (postSignInEmailOtpBody: PostSignInEmailOtpBody, options?: SecondParameter$
|
|
7927
|
+
declare const postSignInEmailOtp: (postSignInEmailOtpBody: PostSignInEmailOtpBody, options?: SecondParameter$k<typeof openfortApiClient<PostSignInEmailOtp200>>) => Promise<PostSignInEmailOtp200>;
|
|
7881
7928
|
/**
|
|
7882
7929
|
* Send a password reset OTP to the user
|
|
7883
7930
|
* @summary Request password reset with email OTP.
|
|
7884
7931
|
*/
|
|
7885
|
-
declare const postForgetPasswordEmailOtp: (postForgetPasswordEmailOtpBody: PostForgetPasswordEmailOtpBody, options?: SecondParameter$
|
|
7932
|
+
declare const postForgetPasswordEmailOtp: (postForgetPasswordEmailOtpBody: PostForgetPasswordEmailOtpBody, options?: SecondParameter$k<typeof openfortApiClient<PostForgetPasswordEmailOtp200>>) => Promise<PostForgetPasswordEmailOtp200>;
|
|
7886
7933
|
/**
|
|
7887
7934
|
* Reset user password with OTP
|
|
7888
7935
|
* @summary Reset password with email OTP.
|
|
7889
7936
|
*/
|
|
7890
|
-
declare const postEmailOtpResetPassword: (postEmailOtpResetPasswordBody: PostEmailOtpResetPasswordBody, options?: SecondParameter$
|
|
7937
|
+
declare const postEmailOtpResetPassword: (postEmailOtpResetPasswordBody: PostEmailOtpResetPasswordBody, options?: SecondParameter$k<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
|
|
7891
7938
|
/**
|
|
7892
7939
|
* Generate a nonce for Sign-In With Ethereum (SIWE) authentication
|
|
7893
7940
|
* @summary Initialize SIWE login.
|
|
7894
7941
|
*/
|
|
7895
|
-
declare const postSiweNonce: (postSiweNonceBody: PostSiweNonceBody, options?: SecondParameter$
|
|
7942
|
+
declare const postSiweNonce: (postSiweNonceBody: PostSiweNonceBody, options?: SecondParameter$k<typeof openfortApiClient<PostSiweNonce200>>) => Promise<PostSiweNonce200>;
|
|
7896
7943
|
/**
|
|
7897
7944
|
* Verify a signed SIWE message and authenticate the user
|
|
7898
7945
|
* @summary Login with SIWE.
|
|
7899
7946
|
*/
|
|
7900
|
-
declare const postSiweVerify: (postSiweVerifyBody: PostSiweVerifyBody, options?: SecondParameter$
|
|
7947
|
+
declare const postSiweVerify: (postSiweVerifyBody: PostSiweVerifyBody, options?: SecondParameter$k<typeof openfortApiClient<PostSiweVerify200>>) => Promise<PostSiweVerify200>;
|
|
7901
7948
|
/**
|
|
7902
7949
|
* Generates a cryptographically secure nonce for creating a SIWE message to link a wallet to the current authenticated user. Requires active session.
|
|
7903
7950
|
* @summary Initialize SIWE link.
|
|
7904
7951
|
*/
|
|
7905
|
-
declare const postLinkSiweNonce: (postLinkSiweNonceBody: PostLinkSiweNonceBody, options?: SecondParameter$
|
|
7952
|
+
declare const postLinkSiweNonce: (postLinkSiweNonceBody: PostLinkSiweNonceBody, options?: SecondParameter$k<typeof openfortApiClient<PostLinkSiweNonce200>>) => Promise<PostLinkSiweNonce200>;
|
|
7906
7953
|
/**
|
|
7907
7954
|
* Verifies the SIWE signature and links the wallet to the currently authenticated user. Requires active session.
|
|
7908
7955
|
* @summary Verify and link SIWE wallet.
|
|
7909
7956
|
*/
|
|
7910
|
-
declare const postLinkSiweVerify: (postLinkSiweVerifyBody: PostLinkSiweVerifyBody, options?: SecondParameter$
|
|
7957
|
+
declare const postLinkSiweVerify: (postLinkSiweVerifyBody: PostLinkSiweVerifyBody, options?: SecondParameter$k<typeof openfortApiClient<PostLinkSiweVerify200>>) => Promise<PostLinkSiweVerify200>;
|
|
7911
7958
|
/**
|
|
7912
7959
|
* Get all SIWE wallets linked to the authenticated user with full wallet metadata including primary status and chain information. Requires active session.
|
|
7913
7960
|
* @summary List linked wallets.
|
|
7914
7961
|
*/
|
|
7915
|
-
declare const getLinkSiweListWallets: (options?: SecondParameter$
|
|
7962
|
+
declare const getLinkSiweListWallets: (options?: SecondParameter$k<typeof openfortApiClient<GetLinkSiweListWallets200Item[]>>) => Promise<GetLinkSiweListWallets200Item[]>;
|
|
7916
7963
|
/**
|
|
7917
7964
|
* 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
7965
|
* @summary Unlink SIWE wallet.
|
|
7919
7966
|
*/
|
|
7920
|
-
declare const postLinkSiweUnlink: (postLinkSiweUnlinkBody: PostLinkSiweUnlinkBody, options?: SecondParameter$
|
|
7967
|
+
declare const postLinkSiweUnlink: (postLinkSiweUnlinkBody: PostLinkSiweUnlinkBody, options?: SecondParameter$k<typeof openfortApiClient<PostLinkSiweUnlink200>>) => Promise<PostLinkSiweUnlink200>;
|
|
7921
7968
|
type SocialSignInResult = NonNullable<Awaited<ReturnType<typeof socialSignIn>>>;
|
|
7922
7969
|
type GetGetSessionResult = NonNullable<Awaited<ReturnType<typeof getGetSession>>>;
|
|
7923
7970
|
type PostSignOutResult = NonNullable<Awaited<ReturnType<typeof postSignOut>>>;
|
|
@@ -8057,112 +8104,112 @@ declare namespace authV2 {
|
|
|
8057
8104
|
* OpenAPI spec version: 1.0.0
|
|
8058
8105
|
*/
|
|
8059
8106
|
|
|
8060
|
-
type SecondParameter$
|
|
8107
|
+
type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8061
8108
|
/**
|
|
8062
8109
|
* Get or create a new session for the player based on the refresh token.
|
|
8063
8110
|
* @summary Refresh or create auth session.
|
|
8064
8111
|
*/
|
|
8065
|
-
declare const refresh: (refreshTokenRequest: RefreshTokenRequest, options?: SecondParameter$
|
|
8112
|
+
declare const refresh: (refreshTokenRequest: RefreshTokenRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
|
|
8066
8113
|
/**
|
|
8067
8114
|
* When using Openfort Auth, the endpoint logs out the player.
|
|
8068
8115
|
* @summary Log out a player.
|
|
8069
8116
|
*/
|
|
8070
|
-
declare const logout: (logoutRequest: LogoutRequest, options?: SecondParameter$
|
|
8117
|
+
declare const logout: (logoutRequest: LogoutRequest, options?: SecondParameter$j<typeof openfortApiClient<void>>) => Promise<void>;
|
|
8071
8118
|
/**
|
|
8072
8119
|
* Create a challenge to link external wallet to the player.
|
|
8073
8120
|
* @summary Initialize SIWE.
|
|
8074
8121
|
*/
|
|
8075
|
-
declare const initSIWE: (sIWERequest: SIWERequest, options?: SecondParameter$
|
|
8122
|
+
declare const initSIWE: (sIWERequest: SIWERequest, options?: SecondParameter$j<typeof openfortApiClient<SIWEInitResponse>>) => Promise<SIWEInitResponse>;
|
|
8076
8123
|
/**
|
|
8077
8124
|
* @summary Authenticate player with SIWE
|
|
8078
8125
|
*/
|
|
8079
|
-
declare const authenticateSIWE: (sIWEAuthenticateRequest: SIWEAuthenticateRequest, options?: SecondParameter$
|
|
8126
|
+
declare const authenticateSIWE: (sIWEAuthenticateRequest: SIWEAuthenticateRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthResponse | void>>) => Promise<void | AuthResponse>;
|
|
8080
8127
|
/**
|
|
8081
8128
|
* @summary Unlink external wallet.
|
|
8082
8129
|
*/
|
|
8083
|
-
declare const unlinkSIWE: (sIWERequest: SIWERequest, options?: SecondParameter$
|
|
8130
|
+
declare const unlinkSIWE: (sIWERequest: SIWERequest, options?: SecondParameter$j<typeof openfortApiClient<AuthPlayerResponse | void>>) => Promise<void | AuthPlayerResponse>;
|
|
8084
8131
|
/**
|
|
8085
8132
|
* @summary Link external wallet.
|
|
8086
8133
|
*/
|
|
8087
|
-
declare const linkSIWE: (sIWEAuthenticateRequest: SIWEAuthenticateRequest, options?: SecondParameter$
|
|
8134
|
+
declare const linkSIWE: (sIWEAuthenticateRequest: SIWEAuthenticateRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthPlayerResponse | void>>) => Promise<void | AuthPlayerResponse>;
|
|
8088
8135
|
/**
|
|
8089
8136
|
* Create and authenticate a player based on email and password.
|
|
8090
8137
|
* @summary Email and password signup.
|
|
8091
8138
|
*/
|
|
8092
|
-
declare const signupEmailPassword: (signupRequest: SignupRequest, options?: SecondParameter$
|
|
8139
|
+
declare const signupEmailPassword: (signupRequest: SignupRequest, options?: SecondParameter$j<typeof openfortApiClient<SignupEmailPassword201>>) => Promise<SignupEmailPassword201>;
|
|
8093
8140
|
/**
|
|
8094
8141
|
* Authenticate a player based on email and password.
|
|
8095
8142
|
* @summary Email and password login.
|
|
8096
8143
|
*/
|
|
8097
|
-
declare const loginEmailPassword: (loginRequest: LoginRequest, options?: SecondParameter$
|
|
8144
|
+
declare const loginEmailPassword: (loginRequest: LoginRequest, options?: SecondParameter$j<typeof openfortApiClient<LoginEmailPassword200>>) => Promise<LoginEmailPassword200>;
|
|
8098
8145
|
/**
|
|
8099
8146
|
* Start the Email Verification process for a player.
|
|
8100
8147
|
* @summary Request an Email Verification.
|
|
8101
8148
|
*/
|
|
8102
|
-
declare const requestEmailVerification: (requestVerifyEmailRequest: RequestVerifyEmailRequest, options?: SecondParameter$
|
|
8149
|
+
declare const requestEmailVerification: (requestVerifyEmailRequest: RequestVerifyEmailRequest, options?: SecondParameter$j<typeof openfortApiClient<void>>) => Promise<void>;
|
|
8103
8150
|
/**
|
|
8104
8151
|
* Verify a player's email address.
|
|
8105
8152
|
* @summary Verify an email.
|
|
8106
8153
|
*/
|
|
8107
|
-
declare const verifyEmail: (verifyEmailRequest: VerifyEmailRequest, options?: SecondParameter$
|
|
8154
|
+
declare const verifyEmail: (verifyEmailRequest: VerifyEmailRequest, options?: SecondParameter$j<typeof openfortApiClient<void>>) => Promise<void>;
|
|
8108
8155
|
/**
|
|
8109
8156
|
* Start the Reset process for a player's password.
|
|
8110
8157
|
* @summary Request a Reset password.
|
|
8111
8158
|
*/
|
|
8112
|
-
declare const requestResetPassword: (requestResetPasswordRequest: RequestResetPasswordRequest, options?: SecondParameter$
|
|
8159
|
+
declare const requestResetPassword: (requestResetPasswordRequest: RequestResetPasswordRequest, options?: SecondParameter$j<typeof openfortApiClient<void>>) => Promise<void>;
|
|
8113
8160
|
/**
|
|
8114
8161
|
* Reset a player's password.
|
|
8115
8162
|
* @summary Reset a password.
|
|
8116
8163
|
*/
|
|
8117
|
-
declare const resetPassword: (resetPasswordRequest: ResetPasswordRequest, options?: SecondParameter$
|
|
8118
|
-
declare const linkEmail: (loginRequest: LoginRequest, options?: SecondParameter$
|
|
8119
|
-
declare const unlinkEmail: (unlinkEmailRequest: UnlinkEmailRequest, options?: SecondParameter$
|
|
8164
|
+
declare const resetPassword: (resetPasswordRequest: ResetPasswordRequest, options?: SecondParameter$j<typeof openfortApiClient<void>>) => Promise<void>;
|
|
8165
|
+
declare const linkEmail: (loginRequest: LoginRequest, options?: SecondParameter$j<typeof openfortApiClient<LinkEmail200>>) => Promise<LinkEmail200>;
|
|
8166
|
+
declare const unlinkEmail: (unlinkEmailRequest: UnlinkEmailRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
|
|
8120
8167
|
/**
|
|
8121
8168
|
* Authenticate a player from an identity token.
|
|
8122
8169
|
* @summary OIDC Identity token.
|
|
8123
8170
|
*/
|
|
8124
|
-
declare const loginOIDC: (loginOIDCRequest: LoginOIDCRequest, options?: SecondParameter$
|
|
8171
|
+
declare const loginOIDC: (loginOIDCRequest: LoginOIDCRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
|
|
8125
8172
|
/**
|
|
8126
8173
|
* @summary Initialize OAuth.
|
|
8127
8174
|
*/
|
|
8128
|
-
declare const initOAuth: (oAuthInitRequest: OAuthInitRequest, options?: SecondParameter$
|
|
8175
|
+
declare const initOAuth: (oAuthInitRequest: OAuthInitRequest, options?: SecondParameter$j<typeof openfortApiClient<OAuthResponse>>) => Promise<OAuthResponse>;
|
|
8129
8176
|
/**
|
|
8130
8177
|
* @summary Initialize Link OAuth.
|
|
8131
8178
|
*/
|
|
8132
|
-
declare const linkOAuth: (oAuthInitRequest: OAuthInitRequest, options?: SecondParameter$
|
|
8179
|
+
declare const linkOAuth: (oAuthInitRequest: OAuthInitRequest, options?: SecondParameter$j<typeof openfortApiClient<OAuthResponse>>) => Promise<OAuthResponse>;
|
|
8133
8180
|
/**
|
|
8134
8181
|
* @summary Initialize Link OAuth.
|
|
8135
8182
|
*/
|
|
8136
|
-
declare const linkThirdParty: (thirdPartyLinkRequest: ThirdPartyLinkRequest, options?: SecondParameter$
|
|
8183
|
+
declare const linkThirdParty: (thirdPartyLinkRequest: ThirdPartyLinkRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
|
|
8137
8184
|
/**
|
|
8138
8185
|
* @summary Initialize OAuth.
|
|
8139
8186
|
*/
|
|
8140
|
-
declare const poolOAuth: (params: PoolOAuthParams, options?: SecondParameter$
|
|
8187
|
+
declare const poolOAuth: (params: PoolOAuthParams, options?: SecondParameter$j<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
|
|
8141
8188
|
/**
|
|
8142
8189
|
* @summary Authenticate player with oauth token.
|
|
8143
8190
|
*/
|
|
8144
|
-
declare const loginWithIdToken: (loginWithIdTokenRequest: LoginWithIdTokenRequest, options?: SecondParameter$
|
|
8191
|
+
declare const loginWithIdToken: (loginWithIdTokenRequest: LoginWithIdTokenRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
|
|
8145
8192
|
/**
|
|
8146
8193
|
* @summary Verify oauth token of a third party auth provider.
|
|
8147
8194
|
*/
|
|
8148
|
-
declare const thirdParty: (thirdPartyOAuthRequest: ThirdPartyOAuthRequest, options?: SecondParameter$
|
|
8195
|
+
declare const thirdParty: (thirdPartyOAuthRequest: ThirdPartyOAuthRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
|
|
8149
8196
|
/**
|
|
8150
8197
|
* @summary Unlink OAuth account
|
|
8151
8198
|
*/
|
|
8152
|
-
declare const unlinkOAuth: (unlinkOAuthRequest: UnlinkOAuthRequest, options?: SecondParameter$
|
|
8199
|
+
declare const unlinkOAuth: (unlinkOAuthRequest: UnlinkOAuthRequest, options?: SecondParameter$j<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
|
|
8153
8200
|
/**
|
|
8154
8201
|
* Create a guest player.
|
|
8155
8202
|
* @summary Create a guest player.
|
|
8156
8203
|
*/
|
|
8157
|
-
declare const registerGuest: (options?: SecondParameter$
|
|
8204
|
+
declare const registerGuest: (options?: SecondParameter$j<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
|
|
8158
8205
|
/**
|
|
8159
8206
|
* Get the jwks.json file.
|
|
8160
8207
|
|
|
8161
8208
|
You can use the jwks.json file to verify the signature of a JWT token issued by Openfort Auth.
|
|
8162
8209
|
* @summary Get the jwks.json file.
|
|
8163
8210
|
*/
|
|
8164
|
-
declare const getJwks: (publishableKey: string, options?: SecondParameter$
|
|
8165
|
-
declare const me: (options?: SecondParameter$
|
|
8211
|
+
declare const getJwks: (publishableKey: string, options?: SecondParameter$j<typeof openfortApiClient<JwtKeyResponse>>) => Promise<JwtKeyResponse>;
|
|
8212
|
+
declare const me: (options?: SecondParameter$j<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
|
|
8166
8213
|
type RefreshResult = NonNullable<Awaited<ReturnType<typeof refresh>>>;
|
|
8167
8214
|
type LogoutResult = NonNullable<Awaited<ReturnType<typeof logout>>>;
|
|
8168
8215
|
type InitSIWEResult = NonNullable<Awaited<ReturnType<typeof initSIWE>>>;
|
|
@@ -8197,14 +8244,14 @@ type MeResult = NonNullable<Awaited<ReturnType<typeof me>>>;
|
|
|
8197
8244
|
* OpenAPI spec version: 1.0.0
|
|
8198
8245
|
*/
|
|
8199
8246
|
|
|
8200
|
-
type SecondParameter$
|
|
8247
|
+
type SecondParameter$i<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8201
8248
|
/**
|
|
8202
8249
|
* List backend wallets.
|
|
8203
8250
|
|
|
8204
8251
|
Returns a paginated list of backend wallets for the project.
|
|
8205
8252
|
* @summary List backend wallets.
|
|
8206
8253
|
*/
|
|
8207
|
-
declare const listBackendWallets: (params?: ListBackendWalletsParams, options?: SecondParameter$
|
|
8254
|
+
declare const listBackendWallets: (params?: ListBackendWalletsParams, options?: SecondParameter$i<typeof openfortApiClient<BackendWalletListResponse>>) => Promise<BackendWalletListResponse>;
|
|
8208
8255
|
/**
|
|
8209
8256
|
* Create a new backend wallet account.
|
|
8210
8257
|
|
|
@@ -8212,21 +8259,21 @@ Generates a new keypair securely in the backend wallet system.
|
|
|
8212
8259
|
The private key is stored encrypted and never exposed.
|
|
8213
8260
|
* @summary Create backend wallet.
|
|
8214
8261
|
*/
|
|
8215
|
-
declare const createBackendWallet: (createBackendWalletRequest: CreateBackendWalletRequest, options?: SecondParameter$
|
|
8262
|
+
declare const createBackendWallet: (createBackendWalletRequest: CreateBackendWalletRequest, options?: SecondParameter$i<typeof openfortApiClient<CreateBackendWalletResponse>>) => Promise<CreateBackendWalletResponse>;
|
|
8216
8263
|
/**
|
|
8217
8264
|
* Get backend wallet details.
|
|
8218
8265
|
|
|
8219
8266
|
Returns details for a specific backend wallet.
|
|
8220
8267
|
* @summary Get backend wallet.
|
|
8221
8268
|
*/
|
|
8222
|
-
declare const getBackendWallet: (id: string, options?: SecondParameter$
|
|
8269
|
+
declare const getBackendWallet: (id: string, options?: SecondParameter$i<typeof openfortApiClient<BackendWalletResponse>>) => Promise<BackendWalletResponse>;
|
|
8223
8270
|
/**
|
|
8224
8271
|
* Delete a backend wallet.
|
|
8225
8272
|
|
|
8226
8273
|
Permanently deletes a backend wallet and its associated private key.
|
|
8227
8274
|
* @summary Delete backend wallet.
|
|
8228
8275
|
*/
|
|
8229
|
-
declare const deleteBackendWallet: (id: string, options?: SecondParameter$
|
|
8276
|
+
declare const deleteBackendWallet: (id: string, options?: SecondParameter$i<typeof openfortApiClient<DeleteBackendWalletResponse>>) => Promise<DeleteBackendWalletResponse>;
|
|
8230
8277
|
/**
|
|
8231
8278
|
* Sign data via backend wallet.
|
|
8232
8279
|
|
|
@@ -8234,7 +8281,7 @@ Signs the provided data using the account's private key managed by the backend w
|
|
|
8234
8281
|
The private key is securely stored and never exposed.
|
|
8235
8282
|
* @summary Sign data via backend wallet.
|
|
8236
8283
|
*/
|
|
8237
|
-
declare const sign: (id: string, signRequest: SignRequest, options?: SecondParameter$
|
|
8284
|
+
declare const sign: (id: string, signRequest: SignRequest, options?: SecondParameter$i<typeof openfortApiClient<SignResponse>>) => Promise<SignResponse>;
|
|
8238
8285
|
/**
|
|
8239
8286
|
* Export private key with E2E encryption via backend wallet.
|
|
8240
8287
|
|
|
@@ -8243,7 +8290,7 @@ The client must provide their ephemeral RSA-4096 public key (base64 SPKI DER for
|
|
|
8243
8290
|
The response contains the encrypted private key that can be decrypted with the client's private key.
|
|
8244
8291
|
* @summary Export private key (E2E encrypted).
|
|
8245
8292
|
*/
|
|
8246
|
-
declare const exportPrivateKey: (id: string, exportPrivateKeyRequest: ExportPrivateKeyRequest, options?: SecondParameter$
|
|
8293
|
+
declare const exportPrivateKey: (id: string, exportPrivateKeyRequest: ExportPrivateKeyRequest, options?: SecondParameter$i<typeof openfortApiClient<ExportPrivateKeyResponse>>) => Promise<ExportPrivateKeyResponse>;
|
|
8247
8294
|
/**
|
|
8248
8295
|
* Import private key with E2E encryption via backend wallet.
|
|
8249
8296
|
|
|
@@ -8252,16 +8299,23 @@ The private key must be encrypted using RSA-4096 OAEP SHA-256 with the server's
|
|
|
8252
8299
|
static import public key (obtain out-of-band from SDK or documentation).
|
|
8253
8300
|
* @summary Import private key (E2E encrypted).
|
|
8254
8301
|
*/
|
|
8255
|
-
declare const importPrivateKey: (importPrivateKeyRequest: ImportPrivateKeyRequest, options?: SecondParameter$
|
|
8302
|
+
declare const importPrivateKey: (importPrivateKeyRequest: ImportPrivateKeyRequest, options?: SecondParameter$i<typeof openfortApiClient<ImportPrivateKeyResponse>>) => Promise<ImportPrivateKeyResponse>;
|
|
8256
8303
|
/**
|
|
8257
8304
|
* Register a new wallet secret (authentication key).
|
|
8258
8305
|
|
|
8259
8306
|
Registers an ECDSA P-256 public key that will be used to verify
|
|
8260
8307
|
X-Wallet-Auth JWT signatures. This is required before using WALLET_AUTH
|
|
8261
8308
|
for other backend wallet operations.
|
|
8309
|
+
|
|
8310
|
+
Uses provided-key authentication: the request must include a walletAuthToken
|
|
8311
|
+
JWT signed by the private key corresponding to the publicKey being registered.
|
|
8312
|
+
This proves possession of the private key without transmitting it.
|
|
8313
|
+
|
|
8314
|
+
Note: Only ONE active secret is allowed per project. This call fails if an
|
|
8315
|
+
active secret already exists; use rotateWalletSecret to replace an existing secret.
|
|
8262
8316
|
* @summary Register wallet secret.
|
|
8263
8317
|
*/
|
|
8264
|
-
declare const registerWalletSecret: (registerWalletSecretRequest: RegisterWalletSecretRequest, options?: SecondParameter$
|
|
8318
|
+
declare const registerWalletSecret: (registerWalletSecretRequest: RegisterWalletSecretRequest, options?: SecondParameter$i<typeof openfortApiClient<RegisterWalletSecretResponse>>) => Promise<RegisterWalletSecretResponse>;
|
|
8265
8319
|
/**
|
|
8266
8320
|
* Revoke a wallet secret (authentication key).
|
|
8267
8321
|
|
|
@@ -8269,15 +8323,20 @@ Permanently revokes a wallet secret so it can no longer be used
|
|
|
8269
8323
|
for X-Wallet-Auth JWT signing.
|
|
8270
8324
|
* @summary Revoke wallet secret.
|
|
8271
8325
|
*/
|
|
8272
|
-
declare const revokeWalletSecret: (revokeWalletSecretRequest: RevokeWalletSecretRequest, options?: SecondParameter$
|
|
8326
|
+
declare const revokeWalletSecret: (revokeWalletSecretRequest: RevokeWalletSecretRequest, options?: SecondParameter$i<typeof openfortApiClient<RevokeWalletSecretResponse>>) => Promise<RevokeWalletSecretResponse>;
|
|
8273
8327
|
/**
|
|
8274
8328
|
* Rotate wallet secret (authentication key).
|
|
8275
8329
|
|
|
8276
8330
|
Replaces the current wallet secret (ECDSA P-256 public key) used for
|
|
8277
|
-
X-Wallet-Auth JWT signing. The old secret will be
|
|
8331
|
+
X-Wallet-Auth JWT signing. The old secret will be marked as "rotated"
|
|
8332
|
+
and immediately becomes unusable (no grace period).
|
|
8333
|
+
|
|
8334
|
+
Uses provided-key authentication: the request must include a walletAuthToken
|
|
8335
|
+
JWT signed by the private key corresponding to the NEW publicKey being registered.
|
|
8336
|
+
This proves possession of the new private key without transmitting it.
|
|
8278
8337
|
* @summary Rotate wallet secret.
|
|
8279
8338
|
*/
|
|
8280
|
-
declare const rotateWalletSecret: (rotateWalletSecretRequest: RotateWalletSecretRequest, options?: SecondParameter$
|
|
8339
|
+
declare const rotateWalletSecret: (rotateWalletSecretRequest: RotateWalletSecretRequest, options?: SecondParameter$i<typeof openfortApiClient<RotateWalletSecretResponse>>) => Promise<RotateWalletSecretResponse>;
|
|
8281
8340
|
type ListBackendWalletsResult = NonNullable<Awaited<ReturnType<typeof listBackendWallets>>>;
|
|
8282
8341
|
type CreateBackendWalletResult = NonNullable<Awaited<ReturnType<typeof createBackendWallet>>>;
|
|
8283
8342
|
type GetBackendWalletResult = NonNullable<Awaited<ReturnType<typeof getBackendWallet>>>;
|
|
@@ -8297,32 +8356,32 @@ type RotateWalletSecretResult = NonNullable<Awaited<ReturnType<typeof rotateWall
|
|
|
8297
8356
|
* OpenAPI spec version: 1.0.0
|
|
8298
8357
|
*/
|
|
8299
8358
|
|
|
8300
|
-
type SecondParameter$
|
|
8359
|
+
type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8301
8360
|
/**
|
|
8302
8361
|
* List of all contracts per project.
|
|
8303
8362
|
By default, a maximum of ten contracts are shown.
|
|
8304
8363
|
* @summary List contracts.
|
|
8305
8364
|
*/
|
|
8306
|
-
declare const getContracts: (params?: GetContractsParams, options?: SecondParameter$
|
|
8365
|
+
declare const getContracts: (params?: GetContractsParams, options?: SecondParameter$h<typeof openfortApiClient<ContractListResponse>>) => Promise<ContractListResponse>;
|
|
8307
8366
|
/**
|
|
8308
8367
|
* Add a new contract to your project in Openfort
|
|
8309
8368
|
* @summary Create contract object.
|
|
8310
8369
|
*/
|
|
8311
|
-
declare const createContract: (createContractRequest: CreateContractRequest, options?: SecondParameter$
|
|
8370
|
+
declare const createContract: (createContractRequest: CreateContractRequest, options?: SecondParameter$h<typeof openfortApiClient<ContractResponse>>) => Promise<ContractResponse>;
|
|
8312
8371
|
/**
|
|
8313
8372
|
* Retrieve a contract by providing their contract id.
|
|
8314
8373
|
* @summary Get a contract.
|
|
8315
8374
|
*/
|
|
8316
|
-
declare const getContract: (id: string, options?: SecondParameter$
|
|
8375
|
+
declare const getContract: (id: string, options?: SecondParameter$h<typeof openfortApiClient<ContractResponse>>) => Promise<ContractResponse>;
|
|
8317
8376
|
/**
|
|
8318
8377
|
* @summary Updates a contract object.
|
|
8319
8378
|
*/
|
|
8320
|
-
declare const updateContract: (id: string, updateContractRequest: UpdateContractRequest, options?: SecondParameter$
|
|
8379
|
+
declare const updateContract: (id: string, updateContractRequest: UpdateContractRequest, options?: SecondParameter$h<typeof openfortApiClient<ContractResponse>>) => Promise<ContractResponse>;
|
|
8321
8380
|
/**
|
|
8322
8381
|
* Delete a contract from the project by providing its contract id.
|
|
8323
8382
|
* @summary Deletes a contract object.
|
|
8324
8383
|
*/
|
|
8325
|
-
declare const deleteContract: (id: string, options?: SecondParameter$
|
|
8384
|
+
declare const deleteContract: (id: string, options?: SecondParameter$h<typeof openfortApiClient<ContractDeleteResponse>>) => Promise<ContractDeleteResponse>;
|
|
8326
8385
|
/**
|
|
8327
8386
|
* Using this endpoint, you can get the repositories returned by any readable
|
|
8328
8387
|
function listed in a contracts ABI. This could be things like querying
|
|
@@ -8330,7 +8389,7 @@ the totalSupply of a currency contract, the number of owners of an items
|
|
|
8330
8389
|
contract, and more.
|
|
8331
8390
|
* @summary Read on chain contract repositories.
|
|
8332
8391
|
*/
|
|
8333
|
-
declare const readContract: (id: string, params: ReadContractParams, options?: SecondParameter$
|
|
8392
|
+
declare const readContract: (id: string, params: ReadContractParams, options?: SecondParameter$h<typeof openfortApiClient<ContractReadResponse>>) => Promise<ContractReadResponse>;
|
|
8334
8393
|
type GetContractsResult = NonNullable<Awaited<ReturnType<typeof getContracts>>>;
|
|
8335
8394
|
type CreateContractResult = NonNullable<Awaited<ReturnType<typeof createContract>>>;
|
|
8336
8395
|
type GetContractResult = NonNullable<Awaited<ReturnType<typeof getContract>>>;
|
|
@@ -8346,29 +8405,29 @@ type ReadContractResult = NonNullable<Awaited<ReturnType<typeof readContract>>>;
|
|
|
8346
8405
|
* OpenAPI spec version: 1.0.0
|
|
8347
8406
|
*/
|
|
8348
8407
|
|
|
8349
|
-
type SecondParameter$
|
|
8408
|
+
type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8350
8409
|
/**
|
|
8351
8410
|
* Returns a list of events.
|
|
8352
8411
|
|
|
8353
8412
|
By default, a maximum of 10 events are shown per page.
|
|
8354
8413
|
* @summary List events.
|
|
8355
8414
|
*/
|
|
8356
|
-
declare const getEvents: (params?: GetEventsParams, options?: SecondParameter$
|
|
8415
|
+
declare const getEvents: (params?: GetEventsParams, options?: SecondParameter$g<typeof openfortApiClient<EventListResponse>>) => Promise<EventListResponse>;
|
|
8357
8416
|
/**
|
|
8358
8417
|
* Create a new event.
|
|
8359
8418
|
* @summary Create a new event.
|
|
8360
8419
|
*/
|
|
8361
|
-
declare const createEvent: (createEventRequest: CreateEventRequest, options?: SecondParameter$
|
|
8420
|
+
declare const createEvent: (createEventRequest: CreateEventRequest, options?: SecondParameter$g<typeof openfortApiClient<EventResponse>>) => Promise<EventResponse>;
|
|
8362
8421
|
/**
|
|
8363
8422
|
* Get a single event.
|
|
8364
8423
|
* @summary Get a single event.
|
|
8365
8424
|
*/
|
|
8366
|
-
declare const getEvent: (id: string, options?: SecondParameter$
|
|
8425
|
+
declare const getEvent: (id: string, options?: SecondParameter$g<typeof openfortApiClient<EventResponse>>) => Promise<EventResponse>;
|
|
8367
8426
|
/**
|
|
8368
8427
|
* Delete an event.
|
|
8369
8428
|
* @summary Delete an event.
|
|
8370
8429
|
*/
|
|
8371
|
-
declare const deleteEvent: (id: string, options?: SecondParameter$
|
|
8430
|
+
declare const deleteEvent: (id: string, options?: SecondParameter$g<typeof openfortApiClient<EventDeleteResponse>>) => Promise<EventDeleteResponse>;
|
|
8372
8431
|
type GetEventsResult = NonNullable<Awaited<ReturnType<typeof getEvents>>>;
|
|
8373
8432
|
type CreateEventResult = NonNullable<Awaited<ReturnType<typeof createEvent>>>;
|
|
8374
8433
|
type GetEventResult = NonNullable<Awaited<ReturnType<typeof getEvent>>>;
|
|
@@ -8382,17 +8441,17 @@ type DeleteEventResult = NonNullable<Awaited<ReturnType<typeof deleteEvent>>>;
|
|
|
8382
8441
|
* OpenAPI spec version: 1.0.0
|
|
8383
8442
|
*/
|
|
8384
8443
|
|
|
8385
|
-
type SecondParameter$
|
|
8444
|
+
type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8386
8445
|
/**
|
|
8387
8446
|
* Creates token swap.
|
|
8388
8447
|
* @summary Create token swap.
|
|
8389
8448
|
*/
|
|
8390
|
-
declare const createSwap: (createExchangeRequest: CreateExchangeRequest, options?: SecondParameter$
|
|
8449
|
+
declare const createSwap: (createExchangeRequest: CreateExchangeRequest, options?: SecondParameter$f<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
|
|
8391
8450
|
/**
|
|
8392
8451
|
* Quote token swap.
|
|
8393
8452
|
* @summary Quote token swap.
|
|
8394
8453
|
*/
|
|
8395
|
-
declare const quoteSwap: (createExchangeRequest: CreateExchangeRequest, options?: SecondParameter$
|
|
8454
|
+
declare const quoteSwap: (createExchangeRequest: CreateExchangeRequest, options?: SecondParameter$f<typeof openfortApiClient<QuoteExchangeResult>>) => Promise<QuoteExchangeResult>;
|
|
8396
8455
|
type CreateSwapResult = NonNullable<Awaited<ReturnType<typeof createSwap>>>;
|
|
8397
8456
|
type QuoteSwapResult = NonNullable<Awaited<ReturnType<typeof quoteSwap>>>;
|
|
8398
8457
|
|
|
@@ -8404,14 +8463,14 @@ type QuoteSwapResult = NonNullable<Awaited<ReturnType<typeof quoteSwap>>>;
|
|
|
8404
8463
|
* OpenAPI spec version: 1.0.0
|
|
8405
8464
|
*/
|
|
8406
8465
|
|
|
8407
|
-
type SecondParameter$
|
|
8466
|
+
type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8408
8467
|
/**
|
|
8409
8468
|
* Create a new forwarder contract.
|
|
8410
8469
|
|
|
8411
8470
|
This object represents the forwarder contract that will be used to pay the gas fees of the transactions.
|
|
8412
8471
|
* @summary Create a new forwarder contract.
|
|
8413
8472
|
*/
|
|
8414
|
-
declare const createForwarderContract: (createForwarderContractRequest: CreateForwarderContractRequest, options?: SecondParameter$
|
|
8473
|
+
declare const createForwarderContract: (createForwarderContractRequest: CreateForwarderContractRequest, options?: SecondParameter$e<typeof openfortApiClient<ForwarderContractResponse>>) => Promise<ForwarderContractResponse>;
|
|
8415
8474
|
/**
|
|
8416
8475
|
* Returns a list of forwarder contract.
|
|
8417
8476
|
|
|
@@ -8420,28 +8479,28 @@ This object represents the forwarder contract that will be used to pay the gas f
|
|
|
8420
8479
|
By default, a maximum of 10 forwarder contract are shown per page.
|
|
8421
8480
|
* @summary List forwarder contract.
|
|
8422
8481
|
*/
|
|
8423
|
-
declare const listForwarderContracts: (params?: ListForwarderContractsParams, options?: SecondParameter$
|
|
8482
|
+
declare const listForwarderContracts: (params?: ListForwarderContractsParams, options?: SecondParameter$e<typeof openfortApiClient<ForwarderContractResponse[]>>) => Promise<ForwarderContractResponse[]>;
|
|
8424
8483
|
/**
|
|
8425
8484
|
* Update a forwarder contract.
|
|
8426
8485
|
|
|
8427
8486
|
This object represents the forwarder contract that will be used to pay the gas fees of the transactions.
|
|
8428
8487
|
* @summary Update a forwarder contract.
|
|
8429
8488
|
*/
|
|
8430
|
-
declare const updateForwarderContract: (id: string, createForwarderContractRequest: CreateForwarderContractRequest, options?: SecondParameter$
|
|
8489
|
+
declare const updateForwarderContract: (id: string, createForwarderContractRequest: CreateForwarderContractRequest, options?: SecondParameter$e<typeof openfortApiClient<ForwarderContractResponse>>) => Promise<ForwarderContractResponse>;
|
|
8431
8490
|
/**
|
|
8432
8491
|
* Returns the forwarder contract with the given id.
|
|
8433
8492
|
|
|
8434
8493
|
This object represents the forwarder contract that will be used to pay the gas fees for the transactions.
|
|
8435
8494
|
* @summary Get forwarder contract by id.
|
|
8436
8495
|
*/
|
|
8437
|
-
declare const getForwarderContract: (id: string, options?: SecondParameter$
|
|
8496
|
+
declare const getForwarderContract: (id: string, options?: SecondParameter$e<typeof openfortApiClient<ForwarderContractResponse>>) => Promise<ForwarderContractResponse>;
|
|
8438
8497
|
/**
|
|
8439
8498
|
* Delete the forwarder contract with the given id.
|
|
8440
8499
|
|
|
8441
8500
|
This object represents the forwarder contract that will be used to pay the gas fees for the transactions.
|
|
8442
8501
|
* @summary Delete forwarder contract by id.
|
|
8443
8502
|
*/
|
|
8444
|
-
declare const deleteForwarderContract: (id: string, options?: SecondParameter$
|
|
8503
|
+
declare const deleteForwarderContract: (id: string, options?: SecondParameter$e<typeof openfortApiClient<ForwarderContractDeleteResponse>>) => Promise<ForwarderContractDeleteResponse>;
|
|
8445
8504
|
type CreateForwarderContractResult = NonNullable<Awaited<ReturnType<typeof createForwarderContract>>>;
|
|
8446
8505
|
type ListForwarderContractsResult = NonNullable<Awaited<ReturnType<typeof listForwarderContracts>>>;
|
|
8447
8506
|
type UpdateForwarderContractResult = NonNullable<Awaited<ReturnType<typeof updateForwarderContract>>>;
|
|
@@ -8456,8 +8515,8 @@ type DeleteForwarderContractResult = NonNullable<Awaited<ReturnType<typeof delet
|
|
|
8456
8515
|
* OpenAPI spec version: 1.0.0
|
|
8457
8516
|
*/
|
|
8458
8517
|
|
|
8459
|
-
type SecondParameter$
|
|
8460
|
-
declare const query: (queryBody: unknown, options?: SecondParameter$
|
|
8518
|
+
type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8519
|
+
declare const query: (queryBody: unknown, options?: SecondParameter$d<typeof openfortApiClient<unknown>>) => Promise<unknown>;
|
|
8461
8520
|
type QueryResult = NonNullable<Awaited<ReturnType<typeof query>>>;
|
|
8462
8521
|
|
|
8463
8522
|
/**
|
|
@@ -8468,15 +8527,15 @@ type QueryResult = NonNullable<Awaited<ReturnType<typeof query>>>;
|
|
|
8468
8527
|
* OpenAPI spec version: 1.0.0
|
|
8469
8528
|
*/
|
|
8470
8529
|
|
|
8471
|
-
type SecondParameter$
|
|
8530
|
+
type SecondParameter$c<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8472
8531
|
/**
|
|
8473
8532
|
* @summary Get logs for a project.
|
|
8474
8533
|
*/
|
|
8475
|
-
declare const getProjectLogs: (params?: GetProjectLogsParams, options?: SecondParameter$
|
|
8534
|
+
declare const getProjectLogs: (params?: GetProjectLogsParams, options?: SecondParameter$c<typeof openfortApiClient<ProjectLogs>>) => Promise<ProjectLogs>;
|
|
8476
8535
|
/**
|
|
8477
8536
|
* @summary Get webhook logs for a project.
|
|
8478
8537
|
*/
|
|
8479
|
-
declare const getWebhookLogsByProjectId: (options?: SecondParameter$
|
|
8538
|
+
declare const getWebhookLogsByProjectId: (options?: SecondParameter$c<typeof openfortApiClient<ProjectLogs>>) => Promise<ProjectLogs>;
|
|
8480
8539
|
type GetProjectLogsResult = NonNullable<Awaited<ReturnType<typeof getProjectLogs>>>;
|
|
8481
8540
|
type GetWebhookLogsByProjectIdResult = NonNullable<Awaited<ReturnType<typeof getWebhookLogsByProjectId>>>;
|
|
8482
8541
|
|
|
@@ -8488,7 +8547,7 @@ type GetWebhookLogsByProjectIdResult = NonNullable<Awaited<ReturnType<typeof get
|
|
|
8488
8547
|
* OpenAPI spec version: 1.0.0
|
|
8489
8548
|
*/
|
|
8490
8549
|
|
|
8491
|
-
type SecondParameter$
|
|
8550
|
+
type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8492
8551
|
/**
|
|
8493
8552
|
* Creates an onramp session for the selected provider.
|
|
8494
8553
|
|
|
@@ -8497,7 +8556,7 @@ and provider-agnostic. The service layer handles translation between the common
|
|
|
8497
8556
|
provider-specific APIs.
|
|
8498
8557
|
* @summary Create onramp session
|
|
8499
8558
|
*/
|
|
8500
|
-
declare const createOnrampSession: (onrampSessionRequest: OnrampSessionRequest, options?: SecondParameter$
|
|
8559
|
+
declare const createOnrampSession: (onrampSessionRequest: OnrampSessionRequest, options?: SecondParameter$b<typeof openfortApiClient<OnrampSessionResponse>>) => Promise<OnrampSessionResponse>;
|
|
8501
8560
|
/**
|
|
8502
8561
|
* Retrieves onramp quote(s) without creating an actual transaction.
|
|
8503
8562
|
|
|
@@ -8507,7 +8566,7 @@ If provider is not specified, returns quotes from all available providers.
|
|
|
8507
8566
|
All request and response formats are unified and provider-agnostic.
|
|
8508
8567
|
* @summary Get onramp quote(s)
|
|
8509
8568
|
*/
|
|
8510
|
-
declare const getOnrampQuote: (onrampQuoteRequest: OnrampQuoteRequest, options?: SecondParameter$
|
|
8569
|
+
declare const getOnrampQuote: (onrampQuoteRequest: OnrampQuoteRequest, options?: SecondParameter$b<typeof openfortApiClient<OnrampQuotesResponse>>) => Promise<OnrampQuotesResponse>;
|
|
8511
8570
|
type CreateOnrampSessionResult = NonNullable<Awaited<ReturnType<typeof createOnrampSession>>>;
|
|
8512
8571
|
type GetOnrampQuoteResult = NonNullable<Awaited<ReturnType<typeof getOnrampQuote>>>;
|
|
8513
8572
|
|
|
@@ -8519,14 +8578,14 @@ type GetOnrampQuoteResult = NonNullable<Awaited<ReturnType<typeof getOnrampQuote
|
|
|
8519
8578
|
* OpenAPI spec version: 1.0.0
|
|
8520
8579
|
*/
|
|
8521
8580
|
|
|
8522
|
-
type SecondParameter$
|
|
8581
|
+
type SecondParameter$a<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8523
8582
|
/**
|
|
8524
8583
|
* Create a new paymaster.
|
|
8525
8584
|
|
|
8526
8585
|
This object represents the paymaster that will be used to pay the gas fees of the transactions.
|
|
8527
8586
|
* @summary Create a new paymaster.
|
|
8528
8587
|
*/
|
|
8529
|
-
declare const createPaymaster: (createPaymasterRequest: CreatePaymasterRequest, options?: SecondParameter$
|
|
8588
|
+
declare const createPaymaster: (createPaymasterRequest: CreatePaymasterRequest, options?: SecondParameter$a<typeof openfortApiClient<PaymasterResponse>>) => Promise<PaymasterResponse>;
|
|
8530
8589
|
/**
|
|
8531
8590
|
* Returns a list of paymasters.
|
|
8532
8591
|
|
|
@@ -8535,28 +8594,28 @@ This object represents the paymasters that will be used to pay the gas fees for
|
|
|
8535
8594
|
By default, a maximum of 10 paymasters are shown per page.
|
|
8536
8595
|
* @summary List paymasters.
|
|
8537
8596
|
*/
|
|
8538
|
-
declare const listPaymasters: (params?: ListPaymastersParams, options?: SecondParameter$
|
|
8597
|
+
declare const listPaymasters: (params?: ListPaymastersParams, options?: SecondParameter$a<typeof openfortApiClient<PaymasterResponse[]>>) => Promise<PaymasterResponse[]>;
|
|
8539
8598
|
/**
|
|
8540
8599
|
* Update a paymaster.
|
|
8541
8600
|
|
|
8542
8601
|
This object represents the paymaster that will be used to pay the gas fees of the transactions.
|
|
8543
8602
|
* @summary Update a paymaster.
|
|
8544
8603
|
*/
|
|
8545
|
-
declare const updatePaymaster: (id: string, createPaymasterRequest: CreatePaymasterRequest, options?: SecondParameter$
|
|
8604
|
+
declare const updatePaymaster: (id: string, createPaymasterRequest: CreatePaymasterRequest, options?: SecondParameter$a<typeof openfortApiClient<PaymasterResponse>>) => Promise<PaymasterResponse>;
|
|
8546
8605
|
/**
|
|
8547
8606
|
* Returns the paymaster with the given id.
|
|
8548
8607
|
|
|
8549
8608
|
This object represents the paymaster that will be used to pay the gas fees for the transactions.
|
|
8550
8609
|
* @summary Get paymaster by id.
|
|
8551
8610
|
*/
|
|
8552
|
-
declare const getPaymaster: (id: string, options?: SecondParameter$
|
|
8611
|
+
declare const getPaymaster: (id: string, options?: SecondParameter$a<typeof openfortApiClient<PaymasterResponse>>) => Promise<PaymasterResponse>;
|
|
8553
8612
|
/**
|
|
8554
8613
|
* Delete the paymaster with the given id.
|
|
8555
8614
|
|
|
8556
8615
|
This object represents the paymaster that will be used to pay the gas fees for the transactions.
|
|
8557
8616
|
* @summary Delete paymaster by id.
|
|
8558
8617
|
*/
|
|
8559
|
-
declare const deletePaymaster: (id: string, options?: SecondParameter$
|
|
8618
|
+
declare const deletePaymaster: (id: string, options?: SecondParameter$a<typeof openfortApiClient<PaymasterDeleteResponse>>) => Promise<PaymasterDeleteResponse>;
|
|
8560
8619
|
type CreatePaymasterResult = NonNullable<Awaited<ReturnType<typeof createPaymaster>>>;
|
|
8561
8620
|
type ListPaymastersResult = NonNullable<Awaited<ReturnType<typeof listPaymasters>>>;
|
|
8562
8621
|
type UpdatePaymasterResult = NonNullable<Awaited<ReturnType<typeof updatePaymaster>>>;
|
|
@@ -8571,49 +8630,49 @@ type DeletePaymasterResult = NonNullable<Awaited<ReturnType<typeof deletePaymast
|
|
|
8571
8630
|
* OpenAPI spec version: 1.0.0
|
|
8572
8631
|
*/
|
|
8573
8632
|
|
|
8574
|
-
type SecondParameter$
|
|
8633
|
+
type SecondParameter$9<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8575
8634
|
/**
|
|
8576
8635
|
* By default, a maximum of 10 players are shown.
|
|
8577
8636
|
|
|
8578
8637
|
Returns the latest 10 transaction intents that were created with each player.
|
|
8579
8638
|
* @summary List players.
|
|
8580
8639
|
*/
|
|
8581
|
-
declare const getPlayers: (params?: GetPlayersParams, options?: SecondParameter$
|
|
8640
|
+
declare const getPlayers: (params?: GetPlayersParams, options?: SecondParameter$9<typeof openfortApiClient<PlayerListResponse>>) => Promise<PlayerListResponse>;
|
|
8582
8641
|
/**
|
|
8583
8642
|
* Creates a player.
|
|
8584
8643
|
* @summary Create a player object.
|
|
8585
8644
|
*/
|
|
8586
|
-
declare const createPlayer: (playerCreateRequest: PlayerCreateRequest, options?: SecondParameter$
|
|
8645
|
+
declare const createPlayer: (playerCreateRequest: PlayerCreateRequest, options?: SecondParameter$9<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
|
|
8587
8646
|
/**
|
|
8588
8647
|
* Retrieves the details of a player that has previously been created.
|
|
8589
8648
|
|
|
8590
8649
|
Returns the latest 10 transaction intents that were created with this player.
|
|
8591
8650
|
* @summary Retrieves the details of an existing player.
|
|
8592
8651
|
*/
|
|
8593
|
-
declare const getPlayer: (id: string, params?: GetPlayerParams, options?: SecondParameter$
|
|
8652
|
+
declare const getPlayer: (id: string, params?: GetPlayerParams, options?: SecondParameter$9<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
|
|
8594
8653
|
/**
|
|
8595
8654
|
* Updates the specified player by setting the values of the parameters passed.
|
|
8596
8655
|
* @summary Updates a player object.
|
|
8597
8656
|
*/
|
|
8598
|
-
declare const updatePlayer: (id: string, playerUpdateRequest: PlayerUpdateRequest, options?: SecondParameter$
|
|
8657
|
+
declare const updatePlayer: (id: string, playerUpdateRequest: PlayerUpdateRequest, options?: SecondParameter$9<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
|
|
8599
8658
|
/**
|
|
8600
8659
|
* It will delete all linked accounts the player is authenticated with.
|
|
8601
8660
|
If the player has a linked embedded signer, it will be deleted as well.
|
|
8602
8661
|
* @summary Deletes a player object.
|
|
8603
8662
|
*/
|
|
8604
|
-
declare const deletePlayer: (id: string, options?: SecondParameter$
|
|
8663
|
+
declare const deletePlayer: (id: string, options?: SecondParameter$9<typeof openfortApiClient<PlayerDeleteResponse>>) => Promise<PlayerDeleteResponse>;
|
|
8605
8664
|
/**
|
|
8606
8665
|
* This endpoint allows you to perform a request to change the owner of an account.
|
|
8607
8666
|
To perform an update on the owner of an account, first you must provide a new owner address.
|
|
8608
8667
|
Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
8609
8668
|
* @summary Request transfer ownership of a player.
|
|
8610
8669
|
*/
|
|
8611
|
-
declare const requestTransferAccountOwnership: (id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: SecondParameter$
|
|
8670
|
+
declare const requestTransferAccountOwnership: (id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: SecondParameter$9<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
|
|
8612
8671
|
/**
|
|
8613
8672
|
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
8614
8673
|
* @summary Cancel request to transfer ownership of a player.
|
|
8615
8674
|
*/
|
|
8616
|
-
declare const cancelTransferAccountOwnership: (id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, options?: SecondParameter$
|
|
8675
|
+
declare const cancelTransferAccountOwnership: (id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, options?: SecondParameter$9<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
|
|
8617
8676
|
type GetPlayersResult = NonNullable<Awaited<ReturnType<typeof getPlayers>>>;
|
|
8618
8677
|
type CreatePlayerResult = NonNullable<Awaited<ReturnType<typeof createPlayer>>>;
|
|
8619
8678
|
type GetPlayerResult = NonNullable<Awaited<ReturnType<typeof getPlayer>>>;
|
|
@@ -8630,49 +8689,49 @@ type CancelTransferAccountOwnershipResult = NonNullable<Awaited<ReturnType<typeo
|
|
|
8630
8689
|
* OpenAPI spec version: 1.0.0
|
|
8631
8690
|
*/
|
|
8632
8691
|
|
|
8633
|
-
type SecondParameter$
|
|
8692
|
+
type SecondParameter$8<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8634
8693
|
/**
|
|
8635
8694
|
* Returns a list of Policies.
|
|
8636
8695
|
|
|
8637
8696
|
Returns the latest 10 transaction intents for each policy.
|
|
8638
8697
|
* @summary List policies.
|
|
8639
8698
|
*/
|
|
8640
|
-
declare const getPolicies: (params?: GetPoliciesParams, options?: SecondParameter$
|
|
8699
|
+
declare const getPolicies: (params?: GetPoliciesParams, options?: SecondParameter$8<typeof openfortApiClient<PolicyListResponse>>) => Promise<PolicyListResponse>;
|
|
8641
8700
|
/**
|
|
8642
8701
|
* @summary Create a policy object.
|
|
8643
8702
|
*/
|
|
8644
|
-
declare const createPolicy: (createPolicyRequest: CreatePolicyRequest, options?: SecondParameter$
|
|
8703
|
+
declare const createPolicy: (createPolicyRequest: CreatePolicyRequest, options?: SecondParameter$8<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
|
|
8645
8704
|
/**
|
|
8646
8705
|
* Retrieves the details of a Policy that has previously been created.
|
|
8647
8706
|
|
|
8648
8707
|
Returns the latest 10 transaction intents that used this policy.
|
|
8649
8708
|
* @summary Get a policy object.
|
|
8650
8709
|
*/
|
|
8651
|
-
declare const getPolicy: (id: string, params?: GetPolicyParams, options?: SecondParameter$
|
|
8710
|
+
declare const getPolicy: (id: string, params?: GetPolicyParams, options?: SecondParameter$8<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
|
|
8652
8711
|
/**
|
|
8653
8712
|
* @summary Update a policy object.
|
|
8654
8713
|
*/
|
|
8655
|
-
declare const updatePolicy: (id: string, updatePolicyRequest: UpdatePolicyRequest, options?: SecondParameter$
|
|
8714
|
+
declare const updatePolicy: (id: string, updatePolicyRequest: UpdatePolicyRequest, options?: SecondParameter$8<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
|
|
8656
8715
|
/**
|
|
8657
8716
|
* @summary Delete a policy object.
|
|
8658
8717
|
*/
|
|
8659
|
-
declare const deletePolicy: (id: string, options?: SecondParameter$
|
|
8718
|
+
declare const deletePolicy: (id: string, options?: SecondParameter$8<typeof openfortApiClient<PolicyDeleteResponse>>) => Promise<PolicyDeleteResponse>;
|
|
8660
8719
|
/**
|
|
8661
8720
|
* @summary Disable a policy object.
|
|
8662
8721
|
*/
|
|
8663
|
-
declare const disablePolicy: (id: string, options?: SecondParameter$
|
|
8722
|
+
declare const disablePolicy: (id: string, options?: SecondParameter$8<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
|
|
8664
8723
|
/**
|
|
8665
8724
|
* @summary Enable a policy object.
|
|
8666
8725
|
*/
|
|
8667
|
-
declare const enablePolicy: (id: string, options?: SecondParameter$
|
|
8726
|
+
declare const enablePolicy: (id: string, options?: SecondParameter$8<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
|
|
8668
8727
|
/**
|
|
8669
8728
|
* @summary List all gas reports of a policy.
|
|
8670
8729
|
*/
|
|
8671
|
-
declare const getPolicyTotalGasUsage: (id: string, params?: GetPolicyTotalGasUsageParams, options?: SecondParameter$
|
|
8730
|
+
declare const getPolicyTotalGasUsage: (id: string, params?: GetPolicyTotalGasUsageParams, options?: SecondParameter$8<typeof openfortApiClient<GasReportListResponse>>) => Promise<GasReportListResponse>;
|
|
8672
8731
|
/**
|
|
8673
8732
|
* @summary List transaction intents of a policy report.
|
|
8674
8733
|
*/
|
|
8675
|
-
declare const getPolicyReportTransactionIntents: (id: string, params: GetPolicyReportTransactionIntentsParams, options?: SecondParameter$
|
|
8734
|
+
declare const getPolicyReportTransactionIntents: (id: string, params: GetPolicyReportTransactionIntentsParams, options?: SecondParameter$8<typeof openfortApiClient<GasReportTransactionIntentsListResponse>>) => Promise<GasReportTransactionIntentsListResponse>;
|
|
8676
8735
|
/**
|
|
8677
8736
|
* Get the amount of ERC-20 tokens collected by policy.
|
|
8678
8737
|
|
|
@@ -8680,7 +8739,7 @@ When using a policy that includes payment of gas in ERC-20 tokens, this endpoint
|
|
|
8680
8739
|
This is specific to a policy that doesn't use your own deposited tokens in the paymaster.
|
|
8681
8740
|
* @summary Get amount of tokens paid for gas policy.
|
|
8682
8741
|
*/
|
|
8683
|
-
declare const getPolicyBalance: (id: string, options?: SecondParameter$
|
|
8742
|
+
declare const getPolicyBalance: (id: string, options?: SecondParameter$8<typeof openfortApiClient<PolicyBalanceWithdrawResponse>>) => Promise<PolicyBalanceWithdrawResponse>;
|
|
8684
8743
|
/**
|
|
8685
8744
|
* Transfer ERC-20 tokens collected by policy.
|
|
8686
8745
|
|
|
@@ -8688,7 +8747,7 @@ When using a policy that includes payment of gas in ERC-20 tokens, this endpoint
|
|
|
8688
8747
|
This is specific to a policy that doesn't use your own deposited tokens in the paymaster.
|
|
8689
8748
|
* @summary Withdraw tokens collected by policy.
|
|
8690
8749
|
*/
|
|
8691
|
-
declare const createPolicyWithdrawal: (id: string, withdrawalPolicyRequest: WithdrawalPolicyRequest, options?: SecondParameter$
|
|
8750
|
+
declare const createPolicyWithdrawal: (id: string, withdrawalPolicyRequest: WithdrawalPolicyRequest, options?: SecondParameter$8<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
|
|
8692
8751
|
type GetPoliciesResult = NonNullable<Awaited<ReturnType<typeof getPolicies>>>;
|
|
8693
8752
|
type CreatePolicyResult = NonNullable<Awaited<ReturnType<typeof createPolicy>>>;
|
|
8694
8753
|
type GetPolicyResult = NonNullable<Awaited<ReturnType<typeof getPolicy>>>;
|
|
@@ -8709,7 +8768,7 @@ type CreatePolicyWithdrawalResult = NonNullable<Awaited<ReturnType<typeof create
|
|
|
8709
8768
|
* OpenAPI spec version: 1.0.0
|
|
8710
8769
|
*/
|
|
8711
8770
|
|
|
8712
|
-
type SecondParameter$
|
|
8771
|
+
type SecondParameter$7<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8713
8772
|
/**
|
|
8714
8773
|
* Returns a list of policy rules of a policy.
|
|
8715
8774
|
|
|
@@ -8718,19 +8777,19 @@ The policy rules are returned sorted by creation date, with the most recently cr
|
|
|
8718
8777
|
By default, a maximum of 10 policy rules are shown per page.
|
|
8719
8778
|
* @summary List policy rules of a policy.
|
|
8720
8779
|
*/
|
|
8721
|
-
declare const getPolicyRules: (params: GetPolicyRulesParams, options?: SecondParameter$
|
|
8780
|
+
declare const getPolicyRules: (params: GetPolicyRulesParams, options?: SecondParameter$7<typeof openfortApiClient<PolicyRuleListResponse>>) => Promise<PolicyRuleListResponse>;
|
|
8722
8781
|
/**
|
|
8723
8782
|
* @summary Create a policy rule object.
|
|
8724
8783
|
*/
|
|
8725
|
-
declare const createPolicyRule: (createPolicyRuleRequest: CreatePolicyRuleRequest, options?: SecondParameter$
|
|
8784
|
+
declare const createPolicyRule: (createPolicyRuleRequest: CreatePolicyRuleRequest, options?: SecondParameter$7<typeof openfortApiClient<PolicyRuleResponse>>) => Promise<PolicyRuleResponse>;
|
|
8726
8785
|
/**
|
|
8727
8786
|
* @summary Update a policy rule object.
|
|
8728
8787
|
*/
|
|
8729
|
-
declare const updatePolicyRule: (id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: SecondParameter$
|
|
8788
|
+
declare const updatePolicyRule: (id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: SecondParameter$7<typeof openfortApiClient<PolicyRuleResponse>>) => Promise<PolicyRuleResponse>;
|
|
8730
8789
|
/**
|
|
8731
8790
|
* @summary Deletes a policy rule object.
|
|
8732
8791
|
*/
|
|
8733
|
-
declare const deletePolicyRule: (id: string, options?: SecondParameter$
|
|
8792
|
+
declare const deletePolicyRule: (id: string, options?: SecondParameter$7<typeof openfortApiClient<PolicyRuleDeleteResponse>>) => Promise<PolicyRuleDeleteResponse>;
|
|
8734
8793
|
type GetPolicyRulesResult = NonNullable<Awaited<ReturnType<typeof getPolicyRules>>>;
|
|
8735
8794
|
type CreatePolicyRuleResult = NonNullable<Awaited<ReturnType<typeof createPolicyRule>>>;
|
|
8736
8795
|
type UpdatePolicyRuleResult = NonNullable<Awaited<ReturnType<typeof updatePolicyRule>>>;
|
|
@@ -8744,7 +8803,7 @@ type DeletePolicyRuleResult = NonNullable<Awaited<ReturnType<typeof deletePolicy
|
|
|
8744
8803
|
* OpenAPI spec version: 1.0.0
|
|
8745
8804
|
*/
|
|
8746
8805
|
|
|
8747
|
-
type SecondParameter$
|
|
8806
|
+
type SecondParameter$6<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8748
8807
|
/**
|
|
8749
8808
|
* Execute JSON-RPC 2.0 wallet methods
|
|
8750
8809
|
|
|
@@ -8758,7 +8817,7 @@ It supports EIP-7811 wallet methods that operate across multiple chains.
|
|
|
8758
8817
|
Supports multiple authentication methods including public key access tokens and third-party tokens
|
|
8759
8818
|
* @summary Execute wallet JSON-RPC methods
|
|
8760
8819
|
*/
|
|
8761
|
-
declare const handleRpcRequest: (jsonRpcRequest: JsonRpcRequest, options?: SecondParameter$
|
|
8820
|
+
declare const handleRpcRequest: (jsonRpcRequest: JsonRpcRequest, options?: SecondParameter$6<typeof openfortApiClient<JsonRpcResponse>>) => Promise<JsonRpcResponse>;
|
|
8762
8821
|
/**
|
|
8763
8822
|
* Execute chain-specific JSON-RPC 2.0 methods (bundler & paymaster)
|
|
8764
8823
|
|
|
@@ -8772,7 +8831,7 @@ The chainId is specified in the URL path following the standard pattern.
|
|
|
8772
8831
|
- `wallet_*`: EIP-7811 wallet methods (can also be called here with chainId context)
|
|
8773
8832
|
* @summary Execute chain-specific bundler and paymaster JSON-RPC methods
|
|
8774
8833
|
*/
|
|
8775
|
-
declare const handleChainRpcRequest: (chainId: number, jsonRpcRequest: JsonRpcRequest, options?: SecondParameter$
|
|
8834
|
+
declare const handleChainRpcRequest: (chainId: number, jsonRpcRequest: JsonRpcRequest, options?: SecondParameter$6<typeof openfortApiClient<JsonRpcResponse>>) => Promise<JsonRpcResponse>;
|
|
8776
8835
|
type HandleRpcRequestResult = NonNullable<Awaited<ReturnType<typeof handleRpcRequest>>>;
|
|
8777
8836
|
type HandleChainRpcRequestResult = NonNullable<Awaited<ReturnType<typeof handleChainRpcRequest>>>;
|
|
8778
8837
|
|
|
@@ -8784,34 +8843,34 @@ type HandleChainRpcRequestResult = NonNullable<Awaited<ReturnType<typeof handleC
|
|
|
8784
8843
|
* OpenAPI spec version: 1.0.0
|
|
8785
8844
|
*/
|
|
8786
8845
|
|
|
8787
|
-
type SecondParameter$
|
|
8846
|
+
type SecondParameter$5<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8788
8847
|
/**
|
|
8789
8848
|
* Returns a list of Sessions.
|
|
8790
8849
|
|
|
8791
8850
|
Returns the latest 10 transaction intents for each session.
|
|
8792
8851
|
* @summary List session keys of a player.
|
|
8793
8852
|
*/
|
|
8794
|
-
declare const getPlayerSessions: (params: GetPlayerSessionsParams, options?: SecondParameter$
|
|
8853
|
+
declare const getPlayerSessions: (params: GetPlayerSessionsParams, options?: SecondParameter$5<typeof openfortApiClient<SessionListResponse>>) => Promise<SessionListResponse>;
|
|
8795
8854
|
/**
|
|
8796
8855
|
* Creates a Session.
|
|
8797
8856
|
* @summary Create a session key.
|
|
8798
8857
|
*/
|
|
8799
|
-
declare const createSession: (createSessionRequest: CreateSessionRequest, options?: SecondParameter$
|
|
8858
|
+
declare const createSession: (createSessionRequest: CreateSessionRequest, options?: SecondParameter$5<typeof openfortApiClient<SessionResponse>>) => Promise<SessionResponse>;
|
|
8800
8859
|
/**
|
|
8801
8860
|
* @summary Revoke the session session key.
|
|
8802
8861
|
*/
|
|
8803
|
-
declare const revokeSession: (revokeSessionRequest: RevokeSessionRequest, options?: SecondParameter$
|
|
8862
|
+
declare const revokeSession: (revokeSessionRequest: RevokeSessionRequest, options?: SecondParameter$5<typeof openfortApiClient<SessionResponse>>) => Promise<SessionResponse>;
|
|
8804
8863
|
/**
|
|
8805
8864
|
* @summary Send signed userOperationHash to create session.
|
|
8806
8865
|
*/
|
|
8807
|
-
declare const signatureSession: (id: string, signatureRequest: SignatureRequest, options?: SecondParameter$
|
|
8866
|
+
declare const signatureSession: (id: string, signatureRequest: SignatureRequest, options?: SecondParameter$5<typeof openfortApiClient<SessionResponse>>) => Promise<SessionResponse>;
|
|
8808
8867
|
/**
|
|
8809
8868
|
* Retrieves the details of a Session that has previously been created.
|
|
8810
8869
|
|
|
8811
8870
|
Returns the latest 10 transaction intents that used this session.
|
|
8812
8871
|
* @summary Returns a player session by session id
|
|
8813
8872
|
*/
|
|
8814
|
-
declare const getSession: (id: string, params?: GetSessionParams, options?: SecondParameter$
|
|
8873
|
+
declare const getSession: (id: string, params?: GetSessionParams, options?: SecondParameter$5<typeof openfortApiClient<SessionResponse>>) => Promise<SessionResponse>;
|
|
8815
8874
|
type GetPlayerSessionsResult = NonNullable<Awaited<ReturnType<typeof getPlayerSessions>>>;
|
|
8816
8875
|
type CreateSessionResult = NonNullable<Awaited<ReturnType<typeof createSession>>>;
|
|
8817
8876
|
type RevokeSessionResult = NonNullable<Awaited<ReturnType<typeof revokeSession>>>;
|
|
@@ -8826,7 +8885,7 @@ type GetSessionResult = NonNullable<Awaited<ReturnType<typeof getSession>>>;
|
|
|
8826
8885
|
* OpenAPI spec version: 1.0.0
|
|
8827
8886
|
*/
|
|
8828
8887
|
|
|
8829
|
-
type SecondParameter$
|
|
8888
|
+
type SecondParameter$4<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8830
8889
|
/**
|
|
8831
8890
|
* Retrieve the list of the developer accounts for the current project.
|
|
8832
8891
|
|
|
@@ -8835,40 +8894,40 @@ Returns the latest 10 transaction intents that were created with each developer
|
|
|
8835
8894
|
By default, a maximum of 10 accounts are shown per page.
|
|
8836
8895
|
* @summary List of developer accounts.
|
|
8837
8896
|
*/
|
|
8838
|
-
declare const getDeveloperAccounts: (params?: GetDeveloperAccountsParams, options?: SecondParameter$
|
|
8897
|
+
declare const getDeveloperAccounts: (params?: GetDeveloperAccountsParams, options?: SecondParameter$4<typeof openfortApiClient<DeveloperAccountListResponse>>) => Promise<DeveloperAccountListResponse>;
|
|
8839
8898
|
/**
|
|
8840
8899
|
* Create or add a developer account.
|
|
8841
8900
|
To add your own external account, add a signature and the address of the account. This verified account can then be used as a verified depositor
|
|
8842
8901
|
* @summary Create a developer account.
|
|
8843
8902
|
*/
|
|
8844
|
-
declare const createDeveloperAccount: (createDeveloperAccountCreateRequest: CreateDeveloperAccountCreateRequest, options?: SecondParameter$
|
|
8903
|
+
declare const createDeveloperAccount: (createDeveloperAccountCreateRequest: CreateDeveloperAccountCreateRequest, options?: SecondParameter$4<typeof openfortApiClient<DeveloperAccountResponse>>) => Promise<DeveloperAccountResponse>;
|
|
8845
8904
|
/**
|
|
8846
8905
|
* Signs the typed repositories value with types repositories structure for domain using the [EIP-712](https://eips.ethereum.org/EIPS/eip-712) specification.
|
|
8847
8906
|
* @summary Sign a given payload
|
|
8848
8907
|
*/
|
|
8849
|
-
declare const signPayloadDeveloperAccount: (id: string, signPayloadRequest: SignPayloadRequest, options?: SecondParameter$
|
|
8908
|
+
declare const signPayloadDeveloperAccount: (id: string, signPayloadRequest: SignPayloadRequest, options?: SecondParameter$4<typeof openfortApiClient<SignPayloadResponse>>) => Promise<SignPayloadResponse>;
|
|
8850
8909
|
/**
|
|
8851
8910
|
* Update a developer account.
|
|
8852
8911
|
* @summary Update a developer account.
|
|
8853
8912
|
*/
|
|
8854
|
-
declare const updateDeveloperAccount: (id: string, updateDeveloperAccountCreateRequest: UpdateDeveloperAccountCreateRequest, options?: SecondParameter$
|
|
8913
|
+
declare const updateDeveloperAccount: (id: string, updateDeveloperAccountCreateRequest: UpdateDeveloperAccountCreateRequest, options?: SecondParameter$4<typeof openfortApiClient<DeveloperAccountResponse>>) => Promise<DeveloperAccountResponse>;
|
|
8855
8914
|
/**
|
|
8856
8915
|
* Retrieve a developer account.
|
|
8857
8916
|
|
|
8858
8917
|
Returns the latest 10 transaction intents that were created with each developer account.
|
|
8859
8918
|
* @summary Get existing developer account.
|
|
8860
8919
|
*/
|
|
8861
|
-
declare const getDeveloperAccount: (id: string, params?: GetDeveloperAccountParams, options?: SecondParameter$
|
|
8920
|
+
declare const getDeveloperAccount: (id: string, params?: GetDeveloperAccountParams, options?: SecondParameter$4<typeof openfortApiClient<DeveloperAccountResponse>>) => Promise<DeveloperAccountResponse>;
|
|
8862
8921
|
/**
|
|
8863
8922
|
* Delete a developer account from the current project.
|
|
8864
8923
|
* @summary Delete a developer account.
|
|
8865
8924
|
*/
|
|
8866
|
-
declare const deleteDeveloperAccount: (id: string, options?: SecondParameter$
|
|
8925
|
+
declare const deleteDeveloperAccount: (id: string, options?: SecondParameter$4<typeof openfortApiClient<DeveloperAccountDeleteResponse>>) => Promise<DeveloperAccountDeleteResponse>;
|
|
8867
8926
|
/**
|
|
8868
8927
|
* Generate message, which should be signed by the account your want to add as a developer account.
|
|
8869
8928
|
* @summary Generate message to sign
|
|
8870
8929
|
*/
|
|
8871
|
-
declare const getVerificationPayload: (params: GetVerificationPayloadParams, options?: SecondParameter$
|
|
8930
|
+
declare const getVerificationPayload: (params: GetVerificationPayloadParams, options?: SecondParameter$4<typeof openfortApiClient<DeveloperAccountGetMessageResponse>>) => Promise<DeveloperAccountGetMessageResponse>;
|
|
8872
8931
|
type GetDeveloperAccountsResult = NonNullable<Awaited<ReturnType<typeof getDeveloperAccounts>>>;
|
|
8873
8932
|
type CreateDeveloperAccountResult = NonNullable<Awaited<ReturnType<typeof createDeveloperAccount>>>;
|
|
8874
8933
|
type SignPayloadDeveloperAccountResult = NonNullable<Awaited<ReturnType<typeof signPayloadDeveloperAccount>>>;
|
|
@@ -8877,6 +8936,39 @@ type GetDeveloperAccountResult = NonNullable<Awaited<ReturnType<typeof getDevelo
|
|
|
8877
8936
|
type DeleteDeveloperAccountResult = NonNullable<Awaited<ReturnType<typeof deleteDeveloperAccount>>>;
|
|
8878
8937
|
type GetVerificationPayloadResult = NonNullable<Awaited<ReturnType<typeof getVerificationPayload>>>;
|
|
8879
8938
|
|
|
8939
|
+
/**
|
|
8940
|
+
* Generated by orval v7.18.0 🍺
|
|
8941
|
+
* Do not edit manually.
|
|
8942
|
+
* Openfort API
|
|
8943
|
+
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8944
|
+
* OpenAPI spec version: 1.0.0
|
|
8945
|
+
*/
|
|
8946
|
+
|
|
8947
|
+
type SecondParameter$3<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8948
|
+
/**
|
|
8949
|
+
* Execute Solana JSON-RPC 2.0 methods via Kora
|
|
8950
|
+
|
|
8951
|
+
This endpoint handles Solana-specific JSON-RPC 2.0 requests for gasless transactions
|
|
8952
|
+
using the Kora paymaster service.
|
|
8953
|
+
|
|
8954
|
+
**Supported clusters:**
|
|
8955
|
+
- `mainnet-beta` - Solana mainnet-beta
|
|
8956
|
+
- `devnet` - Solana devnet
|
|
8957
|
+
|
|
8958
|
+
**Supported methods (per Kora JSON-RPC API spec):**
|
|
8959
|
+
- `getConfig`: Retrieve Kora server configuration
|
|
8960
|
+
- `getPayerSigner`: Get fee payer signer and payment destination
|
|
8961
|
+
- `getSupportedTokens`: List tokens accepted for fee payment
|
|
8962
|
+
- `getBlockhash`: Get latest blockhash
|
|
8963
|
+
- `estimateTransactionFee`: Estimate fees in lamports and token
|
|
8964
|
+
- `transferTransaction`: Create token transfer with Kora as fee payer
|
|
8965
|
+
- `signTransaction`: Sign transaction without broadcasting
|
|
8966
|
+
- `signAndSendTransaction`: Sign and broadcast to Solana
|
|
8967
|
+
* @summary Execute Solana Kora JSON-RPC methods
|
|
8968
|
+
*/
|
|
8969
|
+
declare const handleSolanaRpcRequest: (cluster: string, jsonRpcRequest: JsonRpcRequest, options?: SecondParameter$3<typeof openfortApiClient<JsonRpcResponse>>) => Promise<JsonRpcResponse>;
|
|
8970
|
+
type HandleSolanaRpcRequestResult = NonNullable<Awaited<ReturnType<typeof handleSolanaRpcRequest>>>;
|
|
8971
|
+
|
|
8880
8972
|
/**
|
|
8881
8973
|
* Generated by orval v7.18.0 🍺
|
|
8882
8974
|
* Do not edit manually.
|
|
@@ -9099,7 +9191,7 @@ type ThirdPartyV2Result = NonNullable<Awaited<ReturnType<typeof thirdPartyV2>>>;
|
|
|
9099
9191
|
* Key Size: 4096 bits (production) / 2048 bits (development)
|
|
9100
9192
|
* Format: PEM-encoded SPKI public key
|
|
9101
9193
|
*/
|
|
9102
|
-
declare const IMPORT_ENCRYPTION_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\
|
|
9194
|
+
declare const IMPORT_ENCRYPTION_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAleRdKA0Hk431RqG0HyJz\nVfeG328BwHhP3nmH8YSRP/elYmS4VLcyOCsgtDFHaNKFghvv9MrIrwaj5xJvttxO\nU6GXFvt+ZaEWyZAWAVw0Q3lk/5J4IWw4C/yAsRtwvr2RVFt2wlfBuB/kwEiLQ16b\nTEGRtyXy2P/zhz8pwtiz3DuRgknpFO3GLIXuWL8Ajwqv5m8ke4eVJBJHcwpyhR+v\nKEVtHptsyhjPn3LyHsHdm8lkhV9JDEQhkFhrYy9U5sjRojWJv7wADmmELWcKUbFV\nlc8isq/c+dFSqai0jBu+L/qMIyG5wG0eCOz1bHF3KSQZOfNF603ze/Uf0odr1q0J\nPZXjzzgCCeox2CpPtgldnFXhFlWhn9kp3qjHAuaNZrv3LqXca8Zjo5S/anUw0Tla\nj/ijB6GwRYZlOhDVe+jDrI9w24TwFWv/I3eTQ78gqfgxD/WTeA9a2gOuwr0hbSE1\nZg6ptwHTHMXce5CDfjPUMKSywcudMRCcbGBTcIAvvw5Wm+H5/P8fdEtXnPzUv3zk\nTltjkVKDi8+7ckhMkElxJgP4xshM9ssj+O8TBDkqrHVLAU+3CkUBvWZfwyZbLzp9\nAplp+RlvI11Ka2fef9hV9AQucXiMKHgSWQNCTo5JXHPFs8Zq+nj0mfycjwOQiNIJ\nFRdRZaYbcqwwEXsZ2R0/P00CAwEAAQ==\n-----END PUBLIC KEY-----";
|
|
9103
9195
|
|
|
9104
9196
|
/**
|
|
9105
9197
|
* @module Errors
|
|
@@ -9687,4 +9779,4 @@ declare class Openfort {
|
|
|
9687
9779
|
createEncryptionSession(shieldApiKey: string, shieldApiSecret: string, encryptionShare: string, shieldApiBaseUrl?: string): Promise<string>;
|
|
9688
9780
|
}
|
|
9689
9781
|
|
|
9690
|
-
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 AccountResponsePlayer, type AccountResponseTransactionIntentsItem, type AccountV2Response, AccountV2ResponseCustody, type ActionRequiredResponse, Actions, type AllowedOriginsRequest, type AllowedOriginsResponse, type Amount, type ApiKeyResponse, ApiKeyType, type AppleOAuthConfig, type AuthConfig, type AuthMigrationListResponse, type AuthMigrationResponse, AuthMigrationStatus, type AuthPlayerListQueries, type AuthPlayerListResponse, type AuthPlayerResponse, type AuthPlayerResponsePlayer, type AuthPlayerResponseWithRecoveryShare, type AuthPlayerResponseWithRecoverySharePlayer, AuthProvider, type AuthProviderListResponse, AuthProviderResponse, AuthProviderResponseV2, type AuthProviderWithTypeResponse, type AuthResponse, type AuthSessionResponse, type AuthUserResponse, type AuthenticateOAuthRequest, AuthenticateOAuthRequestProvider, type AuthenticateSIWEResult, type AuthenticatedPlayerResponse, AuthenticationType, type Authorize200, 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, BasicAuthProvider, BasicAuthProviderEMAIL, BasicAuthProviderGUEST, BasicAuthProviderPHONE, BasicAuthProviderWEB3, type BetterAuthConfig, type BillingSubscriptionResponse, type BillingSubscriptionResponsePlan, type CallbackOAuthParams, type CallbackOAuthResult, type CancelTransferAccountOwnershipResult, type CancelTransferOwnershipRequest, type CancelTransferOwnershipResult, type ChargeCustomTokenPolicyStrategy, type CheckoutRequest, type CheckoutResponse, type CheckoutSubscriptionRequest, type ChildProjectListResponse, type ChildProjectResponse, type CodeChallenge, CodeChallengeMethod, type CodeChallengeVerify, type CompleteRecoveryRequest, type CompleteRecoveryResult, type ContractDeleteResponse, type ContractEventResponse, type ContractListQueries, type ContractListResponse, type ContractPolicyRuleResponse, type ContractPolicyRuleResponseContract, 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 CreateExchangeRequest, type CreateForwarderContractRequest, type CreateForwarderContractResponse, type CreateForwarderContractResult, type CreateMigrationRequest, type CreateOAuthConfigResult, type CreateOnrampSessionResult, type CreatePaymasterRequest, type CreatePaymasterRequestContext, type CreatePaymasterResponse, type CreatePaymasterResult, type CreatePlayerResult, type CreatePolicyRequest, type CreatePolicyResult, type CreatePolicyRuleRequest, type CreatePolicyRuleResult, type CreatePolicyWithdrawalResult, type CreateProjectApiKeyRequest, type CreateProjectRequest, type CreateResult, type CreateSMTPConfigResponse, type CreateSessionRequest, type CreateSessionResult, type CreateSolanaAccountOptions, type CreateSubscriptionRequest, type CreateSubscriptionResponse, type CreateSubscriptionResult, type CreateSwapResult, type CreateTransactionIntentRequest, type CreateTransactionIntentResult, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResult, 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 DeleteSMTPConfigResponse, type DeleteSubscriptionResult, type DeleteTriggerResult, type DeleteUserResult, type DeployAccountResult, type DeployRequest, type DeprecatedCallbackOAuthParams, type DeprecatedCallbackOAuthResult, type DeveloperAccount, type DeveloperAccountDeleteResponse, type DeveloperAccountGetMessageResponse, type DeveloperAccountListQueries, type DeveloperAccountListResponse, type DeveloperAccountResponse, DeveloperAccountResponseExpandable, type DeveloperAccountResponseTransactionIntentsItem, 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, EntityTypePROJECT, EntityTypeREADCONTRACT, EntityTypeSESSION, EntityTypeSIGNATURE, EntityTypeSMTPCONFIG, EntityTypeSUBSCRIPTION, EntityTypeTRANSACTIONINTENT, EntityTypeTRIGGER, EntityTypeUSER, type EpicGamesOAuthConfig, ErrorTypeINVALIDREQUESTERROR, type EstimateTransactionIntentCostResult, type EstimateTransactionIntentGasResult, type EventDeleteResponse, type EventListQueries, type EventListResponse, type EventResponse, type EvmAccount, type EvmAccountBase, type EvmAccountData, EvmClient, type SignMessageOptions$1 as EvmSignMessageOptions, type SignTransactionOptions$1 as EvmSignTransactionOptions, type SignTypedDataOptions as EvmSignTypedDataOptions, type EvmSigningMethods, type ExportPrivateKeyRequest, type ExportPrivateKeyResponse, ExportPrivateKeyResponseObject, type ExportPrivateKeyResult, type ExportSolanaAccountOptions, type ExportedEmbeddedRequest, type FacebookOAuthConfig, type Fee, 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 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 GetVerificationPayloadParams, type GetVerificationPayloadResult, type GetWebhookLogsByProjectIdResult, type GoogleOAuthConfig, type GrantCallbackRequest, type GrantOAuthResponse, type GrantOAuthResult, type GuestAuthConfig, type HandleChainRpcRequestResult, type HandleRpcRequestResult, 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, type JsonRpcErrorResponseId, JsonRpcErrorResponseJsonrpc, type JsonRpcRequest, type JsonRpcRequestId, JsonRpcRequestJsonrpc, type JsonRpcResponse, type JsonRpcSuccessResponseAny, type JsonRpcSuccessResponseAnyId, JsonRpcSuccessResponseAnyJsonrpc, type JwtKey, type JwtKeyResponse, type LineOAuthConfig, type LinkEmail200, 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 ListResult, type ListSolanaAccountsOptions, type ListSubscriptionLogsParams, type ListSubscriptionLogsRequest, type ListSubscriptionLogsResult, type Log, type LogResponse, type LoginEmailPassword200, 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, MissingAPIKeyError, MissingPublishableKeyError, MissingWalletSecretError, type Money, type MonthRange, type MyEcosystemResponse, 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 PhoneAuthConfigSmsProviderConfig, 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, type PlayerResponseAccountsItem, PlayerResponseExpandable, type PlayerResponseTransactionIntentsItem, 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 PolicyResponsePolicyRulesItem, type PolicyResponseTransactionIntentsItem, type PolicyRuleDeleteResponse, type PolicyRuleListQueries, PolicyRuleListQueriesExpandItem, type PolicyRuleListResponse, type PolicyRuleResponse, PolicyRuleType, PolicyRuleTypeACCOUNT, PolicyRuleTypeCONTRACT, PolicyRuleTypeRATELIMIT, type PolicyStrategy, type PolicyStrategyRequest, type PoolOAuthParams, type PoolOAuthResult, type PregenerateAccountResponse, PregenerateAccountResponseCustody, type PregenerateUserRequestV2, PregenerateUserRequestV2AccountType, PregenerateUserRequestV2ChainType, type PregenerateUserV2Result, PrismaSortOrder, PrivateKeyPolicy, type ProjectListResponse, type ProjectLogs, type ProjectResponse, type ProjectStatsRequest, ProjectStatsRequestTimeFrame, type ProjectStatsResponse, type QueryResult, type QuoteExchangeResult, type QuoteSwapResult, type RSAKeyPair, type ReadContractParams, type ReadContractResult, 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 RequestTransferOwnershipResult, 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 SIWEAuthenticateRequest, type SIWEInitResponse, type SIWERequest, type SMTPConfigResponse, type SessionListQueries, type SessionListResponse, type SessionResponse, SessionResponseExpandable, type SessionResponseTransactionIntentsItem, type ShieldConfiguration, type SignPayloadDeveloperAccountResult, type SignPayloadRequest, type SignPayloadRequestTypes, type SignPayloadRequestValue, type SignPayloadResponse, type SignPayloadResult, type SignRequest, type SignResponse, SignResponseObject, type SignResult, type SignatureRequest, type SignatureResult, type SignatureSessionResult, type SignerIdResponse, type SignupEmailPassword201, type SignupEmailPasswordResult, type SignupRequest, type SmartAccountData, type SmsApiProviderConfig, SmsProviderMESSAGEBIRD, SmsProviderSMSAPI, SmsProviderTWILIO, SmsProviderTXTLOCAL, SmsProviderVONAGE, type SolanaAccount, type SolanaAccountBase, type SolanaAccountData, SolanaClient, type SignMessageOptions as SolanaSignMessageOptions, type SignTransactionOptions as SolanaSignTransactionOptions, type SolanaSigningMethods, SponsorSchema, SponsorSchemaCHARGECUSTOMTOKENS, SponsorSchemaFIXEDRATE, SponsorSchemaPAYFORUSER, type StandardDetails, type StartRecoveryRequest, type StartRecoveryResult, type Stat, Status, type SubscriptionDeleteResponse, type SubscriptionListResponse, type SubscriptionLogsResponse, type SubscriptionResponse, type SupabaseAuthConfig, type SwitchChainQueriesV2, type SwitchChainRequest, type SwitchChainV2Result, type SyncAccountResult, type TestTrigger200, type TestTriggerResult, type ThirdPartyLinkRequest, ThirdPartyOAuthProvider, ThirdPartyOAuthProviderACCELBYTE, ThirdPartyOAuthProviderBETTERAUTH, ThirdPartyOAuthProviderCUSTOM, ThirdPartyOAuthProviderFIREBASE, ThirdPartyOAuthProviderLOOTLOCKER, ThirdPartyOAuthProviderOIDC, ThirdPartyOAuthProviderPLAYFAB, ThirdPartyOAuthProviderSUPABASE, type ThirdPartyOAuthRequest, type ThirdPartyResult, type ThirdPartyV2Result, TimeIntervalType, TimeoutError, type Token, TokenType, TradeType, TransactionAbstractionType, type TransactionConfirmedEventResponse, type TransactionIntent, type TransactionIntentDetails, type TransactionIntentListQueries, type TransactionIntentListResponse, type TransactionIntentResponse, type TransactionIntentResponseAccount, type TransactionIntentResponseDetails, TransactionIntentResponseExpandable, type TransactionIntentResponsePlayer, type TransactionIntentResponsePolicy, type TransactionResponseLog, type TransactionStat, TransactionStatus, type TransferOwnershipRequest, 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 UpdatePolicyRequest, type UpdatePolicyResult, type UpdatePolicyRuleRequest, type UpdatePolicyRuleResult, 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 Web3AuthConfig, type WebhookResponse, type WithdrawalPolicyRequest, type ZKSyncDetails, authV2 as authApi, openfortAuth_schemas as authSchemas, authenticateSIWE, authorize, callbackOAuth, cancelTransferAccountOwnership, cancelTransferOwnership, completeRecovery, configure, create, createAccount, createAccountV2, createAuthPlayer, createBackendWallet, createContract, createDeveloperAccount, createEvent, createForwarderContract, createOAuthConfig, createOnrampSession, createPaymaster, createPlayer, createPolicy, createPolicyRule, createPolicyWithdrawal, createSession, createSubscription, createSwap, createTransactionIntent, createTrigger, decryptExportedPrivateKey, Openfort as default, deleteAuthPlayer, deleteBackendWallet, deleteContract, deleteDeveloperAccount, deleteEvent, deleteForwarderContract, deleteOAuthConfig, deletePaymaster, deletePlayer, deletePolicy, deletePolicyRule, deleteSubscription, deleteTrigger, deleteUser, deployAccount, deprecatedCallbackOAuth, disableAccount, disablePolicy, enablePolicy, encryptForImport, estimateTransactionIntentCost, 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, getProjectLogs, getSession, getSignerIdByAddress, getSubscription, getSubscriptions, getTransactionIntent, getTransactionIntents, getTrigger, getTriggers, getVerificationPayload, getWebhookLogsByProjectId, grantOAuth, handleChainRpcRequest, handleRpcRequest, importPrivateKey, initOAuth, initSIWE, isOpenfortError, linkEmail, linkOAuth, linkSIWE, linkThirdParty, list, listBackendWallets, listForwarderContracts, listOAuthConfig, listPaymasters, listSubscriptionLogs, loginEmailPassword, loginOIDC, loginWithIdToken, logout, me, meV2, poolOAuth, pregenerateUserV2, query, quoteSwap, readContract, refresh, registerGuest, registerWalletSecret, removeAccount, requestEmailVerification, requestResetPassword, requestTransferAccountOwnership, requestTransferOwnership, resetPassword, revokeSession, revokeWalletSecret, rotateWalletSecret, sign, signPayload, signPayloadDeveloperAccount, signature, signatureSession, signupEmailPassword, startRecovery, switchChainV2, syncAccount, testTrigger, thirdParty, thirdPartyV2, toEvmAccount, toSolanaAccount, unlinkEmail, unlinkOAuth, unlinkSIWE, updateContract, updateDeveloperAccount, updateForwarderContract, updatePaymaster, updatePlayer, updatePolicy, updatePolicyRule, verifyAuthToken, verifyEmail, verifyOAuthToken };
|
|
9782
|
+
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 AccountResponsePlayer, type AccountResponseTransactionIntentsItem, type AccountV2Response, AccountV2ResponseCustody, type ActionRequiredResponse, Actions, type AllowedOriginsRequest, type AllowedOriginsResponse, type Amount, type ApiKeyResponse, ApiKeyType, type AppleOAuthConfig, type AuthConfig, type AuthMigrationListResponse, type AuthMigrationResponse, AuthMigrationStatus, type AuthPlayerListQueries, type AuthPlayerListResponse, type AuthPlayerResponse, type AuthPlayerResponsePlayer, type AuthPlayerResponseWithRecoveryShare, type AuthPlayerResponseWithRecoverySharePlayer, AuthProvider, type AuthProviderListResponse, AuthProviderResponse, AuthProviderResponseV2, type AuthProviderWithTypeResponse, type AuthResponse, type AuthSessionResponse, type AuthUserResponse, type AuthenticateOAuthRequest, AuthenticateOAuthRequestProvider, type AuthenticateSIWEResult, type AuthenticatedPlayerResponse, AuthenticationType, type Authorize200, 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, BasicAuthProvider, BasicAuthProviderEMAIL, BasicAuthProviderGUEST, BasicAuthProviderPHONE, BasicAuthProviderWEB3, type BetterAuthConfig, type BillingSubscriptionResponse, type BillingSubscriptionResponsePlan, type CallbackOAuthParams, type CallbackOAuthResult, type CancelTransferAccountOwnershipResult, type CancelTransferOwnershipRequest, type CancelTransferOwnershipResult, type ChargeCustomTokenPolicyStrategy, type CheckoutRequest, type CheckoutResponse, type CheckoutSubscriptionRequest, type ChildProjectListResponse, type ChildProjectResponse, type CodeChallenge, CodeChallengeMethod, type CodeChallengeVerify, type CompleteRecoveryRequest, type CompleteRecoveryResult, type ContractDeleteResponse, type ContractEventResponse, type ContractListQueries, type ContractListResponse, type ContractPolicyRuleResponse, type ContractPolicyRuleResponseContract, 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 CreateExchangeRequest, type CreateForwarderContractRequest, type CreateForwarderContractResponse, type CreateForwarderContractResult, type CreateMigrationRequest, type CreateOAuthConfigResult, type CreateOnrampSessionResult, type CreatePaymasterRequest, type CreatePaymasterRequestContext, type CreatePaymasterResponse, type CreatePaymasterResult, type CreatePlayerResult, type CreatePolicyRequest, type CreatePolicyResult, type CreatePolicyRuleRequest, type CreatePolicyRuleResult, type CreatePolicyWithdrawalResult, type CreateProjectApiKeyRequest, type CreateProjectRequest, type CreateResult, type CreateSMTPConfigResponse, type CreateSessionRequest, type CreateSessionResult, type CreateSolanaAccountOptions, type CreateSubscriptionRequest, type CreateSubscriptionResponse, type CreateSubscriptionResult, type CreateSwapResult, type CreateTransactionIntentRequest, type CreateTransactionIntentResult, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResult, 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 DeleteSMTPConfigResponse, type DeleteSubscriptionResult, type DeleteTriggerResult, type DeleteUserResult, type DeployAccountResult, type DeployRequest, type DeprecatedCallbackOAuthParams, type DeprecatedCallbackOAuthResult, type DeveloperAccount, type DeveloperAccountDeleteResponse, type DeveloperAccountGetMessageResponse, type DeveloperAccountListQueries, type DeveloperAccountListResponse, type DeveloperAccountResponse, DeveloperAccountResponseExpandable, type DeveloperAccountResponseTransactionIntentsItem, 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, EntityTypePROJECT, EntityTypeREADCONTRACT, EntityTypeSESSION, EntityTypeSIGNATURE, EntityTypeSMTPCONFIG, EntityTypeSUBSCRIPTION, EntityTypeTRANSACTIONINTENT, EntityTypeTRIGGER, EntityTypeUSER, type EpicGamesOAuthConfig, ErrorTypeINVALIDREQUESTERROR, type EstimateTransactionIntentCostResult, type EstimateTransactionIntentGasResult, type EventDeleteResponse, type EventListQueries, type EventListResponse, type EventResponse, type EvmAccount, type EvmAccountBase, type EvmAccountData, EvmClient, type SignMessageOptions$1 as EvmSignMessageOptions, type SignTransactionOptions$1 as EvmSignTransactionOptions, type SignTypedDataOptions as EvmSignTypedDataOptions, type EvmSigningMethods, type ExportPrivateKeyRequest, type ExportPrivateKeyResponse, ExportPrivateKeyResponseObject, type ExportPrivateKeyResult, type ExportSolanaAccountOptions, type ExportedEmbeddedRequest, type FacebookOAuthConfig, type Fee, 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 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 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, type JsonRpcErrorResponseId, JsonRpcErrorResponseJsonrpc, type JsonRpcRequest, type JsonRpcRequestId, JsonRpcRequestJsonrpc, type JsonRpcResponse, type JsonRpcSuccessResponseAny, type JsonRpcSuccessResponseAnyId, JsonRpcSuccessResponseAnyJsonrpc, type JwtKey, type JwtKeyResponse, type LineOAuthConfig, type LinkEmail200, 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 ListResult, type ListSolanaAccountsOptions, type ListSubscriptionLogsParams, type ListSubscriptionLogsRequest, type ListSubscriptionLogsResult, type Log, type LogResponse, type LoginEmailPassword200, 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, MissingAPIKeyError, MissingPublishableKeyError, MissingWalletSecretError, type Money, type MonthRange, type MyEcosystemResponse, 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 PhoneAuthConfigSmsProviderConfig, 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, type PlayerResponseAccountsItem, PlayerResponseExpandable, type PlayerResponseTransactionIntentsItem, 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 PolicyResponsePolicyRulesItem, type PolicyResponseTransactionIntentsItem, type PolicyRuleDeleteResponse, type PolicyRuleListQueries, PolicyRuleListQueriesExpandItem, type PolicyRuleListResponse, type PolicyRuleResponse, PolicyRuleType, PolicyRuleTypeACCOUNT, PolicyRuleTypeCONTRACT, PolicyRuleTypeRATELIMIT, type PolicyStrategy, type PolicyStrategyRequest, type PoolOAuthParams, type PoolOAuthResult, type PregenerateAccountResponse, PregenerateAccountResponseCustody, type PregenerateUserRequestV2, PregenerateUserRequestV2AccountType, PregenerateUserRequestV2ChainType, type PregenerateUserV2Result, PrismaSortOrder, PrivateKeyPolicy, type ProjectListResponse, type ProjectLogs, type ProjectResponse, type ProjectStatsRequest, ProjectStatsRequestTimeFrame, type ProjectStatsResponse, type QueryResult, type QuoteExchangeResult, type QuoteSwapResult, type RSAKeyPair, type ReadContractParams, type ReadContractResult, 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 RequestTransferOwnershipResult, 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 SIWEAuthenticateRequest, type SIWEInitResponse, type SIWERequest, type SMTPConfigResponse, type SessionListQueries, type SessionListResponse, type SessionResponse, SessionResponseExpandable, type SessionResponseTransactionIntentsItem, type ShieldConfiguration, type SignPayloadDeveloperAccountResult, type SignPayloadRequest, type SignPayloadRequestTypes, type SignPayloadRequestValue, type SignPayloadResponse, type SignPayloadResult, type SignRequest, type SignResponse, SignResponseObject, type SignResult, type SignatureRequest, type SignatureResult, type SignatureSessionResult, type SignerIdResponse, type SignupEmailPassword201, type SignupEmailPasswordResult, type SignupRequest, type SmartAccountData, type SmsApiProviderConfig, SmsProviderMESSAGEBIRD, SmsProviderSMSAPI, SmsProviderTWILIO, SmsProviderTXTLOCAL, SmsProviderVONAGE, type SolanaAccount, type SolanaAccountBase, type SolanaAccountData, SolanaClient, type SignMessageOptions as SolanaSignMessageOptions, type SignTransactionOptions as SolanaSignTransactionOptions, type SolanaSigningMethods, SponsorSchema, SponsorSchemaCHARGECUSTOMTOKENS, SponsorSchemaFIXEDRATE, SponsorSchemaPAYFORUSER, type StandardDetails, type StartRecoveryRequest, type StartRecoveryResult, type Stat, Status, type SubscriptionDeleteResponse, type SubscriptionListResponse, type SubscriptionLogsResponse, type SubscriptionResponse, type SupabaseAuthConfig, type SwitchChainQueriesV2, type SwitchChainRequest, type SwitchChainV2Result, type SyncAccountResult, type TestTrigger200, type TestTriggerResult, type ThirdPartyLinkRequest, ThirdPartyOAuthProvider, ThirdPartyOAuthProviderACCELBYTE, ThirdPartyOAuthProviderBETTERAUTH, ThirdPartyOAuthProviderCUSTOM, ThirdPartyOAuthProviderFIREBASE, ThirdPartyOAuthProviderLOOTLOCKER, ThirdPartyOAuthProviderOIDC, ThirdPartyOAuthProviderPLAYFAB, ThirdPartyOAuthProviderSUPABASE, type ThirdPartyOAuthRequest, type ThirdPartyResult, type ThirdPartyV2Result, TimeIntervalType, TimeoutError, type Token, TokenType, TradeType, TransactionAbstractionType, type TransactionConfirmedEventResponse, type TransactionIntent, type TransactionIntentDetails, type TransactionIntentListQueries, type TransactionIntentListResponse, type TransactionIntentResponse, type TransactionIntentResponseAccount, type TransactionIntentResponseDetails, TransactionIntentResponseExpandable, type TransactionIntentResponsePlayer, type TransactionIntentResponsePolicy, type TransactionResponseLog, type TransactionStat, TransactionStatus, type TransferOwnershipRequest, 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 UpdatePolicyRequest, type UpdatePolicyResult, type UpdatePolicyRuleRequest, type UpdatePolicyRuleResult, 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 Web3AuthConfig, type WebhookResponse, type WithdrawalPolicyRequest, type ZKSyncDetails, authV2 as authApi, openfortAuth_schemas as authSchemas, authenticateSIWE, authorize, callbackOAuth, cancelTransferAccountOwnership, cancelTransferOwnership, completeRecovery, configure, create, createAccount, createAccountV2, createAuthPlayer, createBackendWallet, createContract, createDeveloperAccount, createEvent, createForwarderContract, createOAuthConfig, createOnrampSession, createPaymaster, createPlayer, createPolicy, createPolicyRule, createPolicyWithdrawal, createSession, createSubscription, createSwap, createTransactionIntent, createTrigger, decryptExportedPrivateKey, Openfort as default, deleteAuthPlayer, deleteBackendWallet, deleteContract, deleteDeveloperAccount, deleteEvent, deleteForwarderContract, deleteOAuthConfig, deletePaymaster, deletePlayer, deletePolicy, deletePolicyRule, deleteSubscription, deleteTrigger, deleteUser, deployAccount, deprecatedCallbackOAuth, disableAccount, disablePolicy, enablePolicy, encryptForImport, estimateTransactionIntentCost, 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, getProjectLogs, getSession, getSignerIdByAddress, getSubscription, getSubscriptions, getTransactionIntent, getTransactionIntents, getTrigger, getTriggers, getVerificationPayload, getWebhookLogsByProjectId, grantOAuth, handleChainRpcRequest, handleRpcRequest, handleSolanaRpcRequest, importPrivateKey, initOAuth, initSIWE, isOpenfortError, linkEmail, linkOAuth, linkSIWE, linkThirdParty, list, listBackendWallets, listForwarderContracts, listOAuthConfig, listPaymasters, listSubscriptionLogs, loginEmailPassword, loginOIDC, loginWithIdToken, logout, me, meV2, poolOAuth, pregenerateUserV2, query, quoteSwap, readContract, refresh, registerGuest, registerWalletSecret, removeAccount, requestEmailVerification, requestResetPassword, requestTransferAccountOwnership, requestTransferOwnership, resetPassword, revokeSession, revokeWalletSecret, rotateWalletSecret, sign, signPayload, signPayloadDeveloperAccount, signature, signatureSession, signupEmailPassword, startRecovery, switchChainV2, syncAccount, testTrigger, thirdParty, thirdPartyV2, toEvmAccount, toSolanaAccount, unlinkEmail, unlinkOAuth, unlinkSIWE, updateContract, updateDeveloperAccount, updateForwarderContract, updatePaymaster, updatePlayer, updatePolicy, updatePolicyRule, verifyAuthToken, verifyEmail, verifyOAuthToken };
|