@openfort/openfort-node 0.7.1 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/index.d.mts +471 -360
- package/dist/index.d.ts +471 -360
- package/dist/index.js +210 -155
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +202 -151
- package/dist/index.mjs.map +1 -1
- package/examples/contracts/createContract.ts +1 -1
- package/examples/exchange/createSwap.ts +2 -1
- package/openapi-auth.json +86 -53
- package/openapi.json +336 -52
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -689,7 +689,7 @@ declare class ValidationError extends Error {
|
|
|
689
689
|
}
|
|
690
690
|
|
|
691
691
|
/**
|
|
692
|
-
* Generated by orval v7.
|
|
692
|
+
* Generated by orval v7.18.0 🍺
|
|
693
693
|
* Do not edit manually.
|
|
694
694
|
* Openfort API
|
|
695
695
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -2912,6 +2912,14 @@ interface RecoveryMethodDetails {
|
|
|
2912
2912
|
passkeyId?: string;
|
|
2913
2913
|
passkeyEnv?: PasskeyEnv;
|
|
2914
2914
|
}
|
|
2915
|
+
/**
|
|
2916
|
+
* Indicates key custody: "Developer" for server-managed keys (WALLTEE), "User" for user-managed keys (DB).
|
|
2917
|
+
*/
|
|
2918
|
+
type PregenerateAccountResponseCustody = typeof PregenerateAccountResponseCustody[keyof typeof PregenerateAccountResponseCustody];
|
|
2919
|
+
declare const PregenerateAccountResponseCustody: {
|
|
2920
|
+
readonly Developer: "Developer";
|
|
2921
|
+
readonly User: "User";
|
|
2922
|
+
};
|
|
2915
2923
|
interface PregenerateAccountResponse {
|
|
2916
2924
|
id: string;
|
|
2917
2925
|
user: string;
|
|
@@ -2925,6 +2933,8 @@ interface PregenerateAccountResponse {
|
|
|
2925
2933
|
smartAccount?: SmartAccountData;
|
|
2926
2934
|
recoveryMethod?: string;
|
|
2927
2935
|
recoveryMethodDetails?: RecoveryMethodDetails;
|
|
2936
|
+
/** Indicates key custody: "Developer" for server-managed keys (WALLTEE), "User" for user-managed keys (DB). */
|
|
2937
|
+
custody: PregenerateAccountResponseCustody;
|
|
2928
2938
|
/** The recovery share for the user's embedded signer.
|
|
2929
2939
|
This should be stored securely and provided to the user for account recovery. */
|
|
2930
2940
|
recoveryShare: string;
|
|
@@ -3046,6 +3056,13 @@ declare const BackendWalletResponseChainType: {
|
|
|
3046
3056
|
readonly EVM: "EVM";
|
|
3047
3057
|
readonly SVM: "SVM";
|
|
3048
3058
|
};
|
|
3059
|
+
/**
|
|
3060
|
+
* Key custody: always "Developer" for backend wallets (server-managed keys in TEE).
|
|
3061
|
+
*/
|
|
3062
|
+
type BackendWalletResponseCustody = typeof BackendWalletResponseCustody[keyof typeof BackendWalletResponseCustody];
|
|
3063
|
+
declare const BackendWalletResponseCustody: {
|
|
3064
|
+
readonly Developer: "Developer";
|
|
3065
|
+
};
|
|
3049
3066
|
/**
|
|
3050
3067
|
* Backend wallet details response.
|
|
3051
3068
|
*/
|
|
@@ -3062,6 +3079,10 @@ interface BackendWalletResponse {
|
|
|
3062
3079
|
chainType: BackendWalletResponseChainType;
|
|
3063
3080
|
/** Optional name for the wallet. */
|
|
3064
3081
|
name?: string;
|
|
3082
|
+
/**
|
|
3083
|
+
* Key custody: always "Developer" for backend wallets (server-managed keys in TEE).
|
|
3084
|
+
*/
|
|
3085
|
+
custody: BackendWalletResponseCustody;
|
|
3065
3086
|
/** Creation timestamp (Unix epoch seconds). */
|
|
3066
3087
|
createdAt: number;
|
|
3067
3088
|
/** Last updated timestamp (Unix epoch seconds). */
|
|
@@ -3388,6 +3409,14 @@ interface RotateWalletSecretRequest {
|
|
|
3388
3409
|
Used to identify this key in X-Wallet-Auth JWT headers. */
|
|
3389
3410
|
newKeyId?: string;
|
|
3390
3411
|
}
|
|
3412
|
+
/**
|
|
3413
|
+
* Indicates key custody: "Developer" for server-managed keys (WALLTEE), "User" for user-managed keys (DB).
|
|
3414
|
+
*/
|
|
3415
|
+
type AccountV2ResponseCustody = typeof AccountV2ResponseCustody[keyof typeof AccountV2ResponseCustody];
|
|
3416
|
+
declare const AccountV2ResponseCustody: {
|
|
3417
|
+
readonly Developer: "Developer";
|
|
3418
|
+
readonly User: "User";
|
|
3419
|
+
};
|
|
3391
3420
|
interface AccountV2Response {
|
|
3392
3421
|
id: string;
|
|
3393
3422
|
user: string;
|
|
@@ -3401,6 +3430,8 @@ interface AccountV2Response {
|
|
|
3401
3430
|
smartAccount?: SmartAccountData;
|
|
3402
3431
|
recoveryMethod?: string;
|
|
3403
3432
|
recoveryMethodDetails?: RecoveryMethodDetails;
|
|
3433
|
+
/** Indicates key custody: "Developer" for server-managed keys (WALLTEE), "User" for user-managed keys (DB). */
|
|
3434
|
+
custody: AccountV2ResponseCustody;
|
|
3404
3435
|
}
|
|
3405
3436
|
interface BaseEntityListResponseAccountV2Response {
|
|
3406
3437
|
object: ResponseTypeLIST;
|
|
@@ -5106,6 +5137,16 @@ type ListPaymastersParams = {
|
|
|
5106
5137
|
*/
|
|
5107
5138
|
order?: PrismaSortOrder;
|
|
5108
5139
|
};
|
|
5140
|
+
type GetProjectLogsParams = {
|
|
5141
|
+
/**
|
|
5142
|
+
* .
|
|
5143
|
+
*/
|
|
5144
|
+
method?: string[];
|
|
5145
|
+
/**
|
|
5146
|
+
* Specifies the unique project ID.
|
|
5147
|
+
*/
|
|
5148
|
+
id?: string;
|
|
5149
|
+
};
|
|
5109
5150
|
type ListForwarderContractsParams = {
|
|
5110
5151
|
/**
|
|
5111
5152
|
* Specifies the maximum number of records to return.
|
|
@@ -5343,6 +5384,26 @@ type LinkEmail200 = AuthPlayerResponse | ActionRequiredResponse;
|
|
|
5343
5384
|
type PoolOAuthParams = {
|
|
5344
5385
|
key: string;
|
|
5345
5386
|
};
|
|
5387
|
+
type DeprecatedCallbackOAuthParams = {
|
|
5388
|
+
/**
|
|
5389
|
+
* Specifies the oauth code.
|
|
5390
|
+
*/
|
|
5391
|
+
code: string;
|
|
5392
|
+
/**
|
|
5393
|
+
* Specifies the oauth state.
|
|
5394
|
+
*/
|
|
5395
|
+
state: string;
|
|
5396
|
+
};
|
|
5397
|
+
type CallbackOAuthParams = {
|
|
5398
|
+
/**
|
|
5399
|
+
* Specifies the oauth code.
|
|
5400
|
+
*/
|
|
5401
|
+
code: string;
|
|
5402
|
+
/**
|
|
5403
|
+
* Specifies the oauth state.
|
|
5404
|
+
*/
|
|
5405
|
+
state: string;
|
|
5406
|
+
};
|
|
5346
5407
|
type ListParams = {
|
|
5347
5408
|
enabled?: boolean;
|
|
5348
5409
|
};
|
|
@@ -5427,14 +5488,14 @@ declare const openfortApiClient: <T>(config: AxiosRequestConfig, options?: Reque
|
|
|
5427
5488
|
declare const getConfig: () => OpenfortClientOptions | undefined;
|
|
5428
5489
|
|
|
5429
5490
|
/**
|
|
5430
|
-
* Generated by orval v7.
|
|
5491
|
+
* Generated by orval v7.18.0 🍺
|
|
5431
5492
|
* Do not edit manually.
|
|
5432
5493
|
* Openfort API
|
|
5433
5494
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
5434
5495
|
* OpenAPI spec version: 1.0.0
|
|
5435
5496
|
*/
|
|
5436
5497
|
|
|
5437
|
-
type SecondParameter$
|
|
5498
|
+
type SecondParameter$m<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5438
5499
|
/**
|
|
5439
5500
|
* Returns a list of accounts for the given player.
|
|
5440
5501
|
|
|
@@ -5447,7 +5508,7 @@ Returns the latest 10 transaction intents for each account.
|
|
|
5447
5508
|
By default, a maximum of 10 accounts are shown per page.
|
|
5448
5509
|
* @summary List accounts of a player.
|
|
5449
5510
|
*/
|
|
5450
|
-
declare const getAccounts: (params?: GetAccountsParams, options?: SecondParameter$
|
|
5511
|
+
declare const getAccounts: (params?: GetAccountsParams, options?: SecondParameter$m<typeof openfortApiClient<AccountListResponse>>) => Promise<AccountListResponse>;
|
|
5451
5512
|
/**
|
|
5452
5513
|
* Creates a new blockchain account for the provided player. If not player is provided, a new one will be created.
|
|
5453
5514
|
|
|
@@ -5456,7 +5517,7 @@ Account creation does not consume any gas. All accounts of a player will use the
|
|
|
5456
5517
|
Each player can only have one account per chain.
|
|
5457
5518
|
* @summary Create an account object.
|
|
5458
5519
|
*/
|
|
5459
|
-
declare const createAccount: (createAccountRequest: CreateAccountRequest, options?: SecondParameter$
|
|
5520
|
+
declare const createAccount: (createAccountRequest: CreateAccountRequest, options?: SecondParameter$m<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
|
|
5460
5521
|
/**
|
|
5461
5522
|
* Retrieves the details of an existing account.
|
|
5462
5523
|
|
|
@@ -5465,8 +5526,14 @@ Supply the unique account ID from either a account creation request or the accou
|
|
|
5465
5526
|
Returns the latest 10 transaction intents created by this account.
|
|
5466
5527
|
* @summary Get existing account.
|
|
5467
5528
|
*/
|
|
5468
|
-
declare const getAccount: (id: string, params?: GetAccountParams, options?: SecondParameter$
|
|
5469
|
-
|
|
5529
|
+
declare const getAccount: (id: string, params?: GetAccountParams, options?: SecondParameter$m<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
|
|
5530
|
+
/**
|
|
5531
|
+
* Disables an account.
|
|
5532
|
+
|
|
5533
|
+
Accounts won't be shown for user and won't be accessible for transactions.
|
|
5534
|
+
* @summary Disable account by id.
|
|
5535
|
+
*/
|
|
5536
|
+
declare const disableAccount: (id: string, options?: SecondParameter$m<typeof openfortApiClient<void>>) => Promise<void>;
|
|
5470
5537
|
/**
|
|
5471
5538
|
* Perform a request to change the owner of an account.
|
|
5472
5539
|
|
|
@@ -5474,68 +5541,97 @@ To perform an update on the owner of an account, first you must provide a new ow
|
|
|
5474
5541
|
Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
5475
5542
|
* @summary Request transfer ownership of account.
|
|
5476
5543
|
*/
|
|
5477
|
-
declare const requestTransferOwnership: (id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: SecondParameter$
|
|
5544
|
+
declare const requestTransferOwnership: (id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: SecondParameter$m<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
|
|
5478
5545
|
/**
|
|
5479
5546
|
* Cancel a pending transfer of ownership.
|
|
5480
5547
|
* @summary Cancel request to transfer ownership of an account.
|
|
5481
5548
|
*/
|
|
5482
|
-
declare const cancelTransferOwnership: (id: string, cancelTransferOwnershipRequest: CancelTransferOwnershipRequest, options?: SecondParameter$
|
|
5549
|
+
declare const cancelTransferOwnership: (id: string, cancelTransferOwnershipRequest: CancelTransferOwnershipRequest, options?: SecondParameter$m<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
|
|
5483
5550
|
/**
|
|
5484
5551
|
* **Custodial Accounts only** - Signs the typed repositories value with types repositories structure for domain using the [EIP-712](https://eips.ethereum.org/EIPS/eip-712) specification.
|
|
5485
5552
|
* @summary Sign a given payload
|
|
5486
5553
|
*/
|
|
5487
|
-
declare const signPayload: (id: string, signPayloadRequest: SignPayloadRequest, options?: SecondParameter$
|
|
5554
|
+
declare const signPayload: (id: string, signPayloadRequest: SignPayloadRequest, options?: SecondParameter$m<typeof openfortApiClient<SignPayloadResponse>>) => Promise<SignPayloadResponse>;
|
|
5488
5555
|
/**
|
|
5489
5556
|
* Synchronize the account state with the blockchain.
|
|
5490
5557
|
Specifically, it updates the account owner and whether its deployed or not.
|
|
5491
5558
|
* @summary Sync account state with the blockchain
|
|
5492
5559
|
*/
|
|
5493
|
-
declare const syncAccount: (id: string, options?: SecondParameter$
|
|
5560
|
+
declare const syncAccount: (id: string, options?: SecondParameter$m<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
|
|
5494
5561
|
/**
|
|
5495
5562
|
* This endpoint can be used to deploy a smart contract account that was counterfactually generated.
|
|
5496
5563
|
* @summary Deploy an account.
|
|
5497
5564
|
*/
|
|
5498
|
-
declare const deployAccount: (id: string, deployRequest: DeployRequest, options?: SecondParameter$
|
|
5565
|
+
declare const deployAccount: (id: string, deployRequest: DeployRequest, options?: SecondParameter$m<typeof openfortApiClient<AccountResponse>>) => Promise<AccountResponse>;
|
|
5499
5566
|
/**
|
|
5500
5567
|
* @summary Start a recovery process of a recoverable account.
|
|
5501
5568
|
*/
|
|
5502
|
-
declare const startRecovery: (id: string, startRecoveryRequest: StartRecoveryRequest, options?: SecondParameter$
|
|
5569
|
+
declare const startRecovery: (id: string, startRecoveryRequest: StartRecoveryRequest, options?: SecondParameter$m<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
|
|
5503
5570
|
/**
|
|
5504
5571
|
* @summary Complete a recovery process of a recoverable account.
|
|
5505
5572
|
*/
|
|
5506
|
-
declare const completeRecovery: (id: string, completeRecoveryRequest: CompleteRecoveryRequest, options?: SecondParameter$
|
|
5573
|
+
declare const completeRecovery: (id: string, completeRecoveryRequest: CompleteRecoveryRequest, options?: SecondParameter$m<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
|
|
5574
|
+
type GetAccountsResult = NonNullable<Awaited<ReturnType<typeof getAccounts>>>;
|
|
5575
|
+
type CreateAccountResult = NonNullable<Awaited<ReturnType<typeof createAccount>>>;
|
|
5576
|
+
type GetAccountResult = NonNullable<Awaited<ReturnType<typeof getAccount>>>;
|
|
5577
|
+
type DisableAccountResult = NonNullable<Awaited<ReturnType<typeof disableAccount>>>;
|
|
5578
|
+
type RequestTransferOwnershipResult = NonNullable<Awaited<ReturnType<typeof requestTransferOwnership>>>;
|
|
5579
|
+
type CancelTransferOwnershipResult = NonNullable<Awaited<ReturnType<typeof cancelTransferOwnership>>>;
|
|
5580
|
+
type SignPayloadResult = NonNullable<Awaited<ReturnType<typeof signPayload>>>;
|
|
5581
|
+
type SyncAccountResult = NonNullable<Awaited<ReturnType<typeof syncAccount>>>;
|
|
5582
|
+
type DeployAccountResult = NonNullable<Awaited<ReturnType<typeof deployAccount>>>;
|
|
5583
|
+
type StartRecoveryResult = NonNullable<Awaited<ReturnType<typeof startRecovery>>>;
|
|
5584
|
+
type CompleteRecoveryResult = NonNullable<Awaited<ReturnType<typeof completeRecovery>>>;
|
|
5585
|
+
|
|
5586
|
+
/**
|
|
5587
|
+
* Generated by orval v7.18.0 🍺
|
|
5588
|
+
* Do not edit manually.
|
|
5589
|
+
* Openfort API
|
|
5590
|
+
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
5591
|
+
* OpenAPI spec version: 1.0.0
|
|
5592
|
+
*/
|
|
5593
|
+
|
|
5594
|
+
type SecondParameter$l<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5507
5595
|
/**
|
|
5508
5596
|
* Returns a list of accounts for the given user.
|
|
5509
5597
|
|
|
5510
5598
|
This object represents a user's account, which is a blockchain smart account that can be used to interact with the blockchain.
|
|
5511
5599
|
|
|
5512
5600
|
The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
|
|
5601
|
+
* @summary List user accounts.
|
|
5602
|
+
*/
|
|
5603
|
+
declare const getAccountsV2: (params?: GetAccountsV2Params, options?: SecondParameter$l<typeof openfortApiClient<BaseEntityListResponseAccountV2Response>>) => Promise<BaseEntityListResponseAccountV2Response>;
|
|
5604
|
+
/**
|
|
5605
|
+
* Creates a new blockchain account for a user.
|
|
5513
5606
|
|
|
5514
|
-
|
|
5607
|
+
Account creation does not consume any gas. The account can be used to interact with the blockchain.
|
|
5608
|
+
* @summary Create new account.
|
|
5609
|
+
*/
|
|
5610
|
+
declare const createAccountV2: (createAccountRequestV2: CreateAccountRequestV2, options?: SecondParameter$l<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
|
|
5611
|
+
/**
|
|
5612
|
+
* Retrieves the signer ID associated with a given blockchain address.
|
|
5613
|
+
* @summary Get signer ID by address.
|
|
5614
|
+
*/
|
|
5615
|
+
declare const getSignerIdByAddress: (params: GetSignerIdByAddressParams, options?: SecondParameter$l<typeof openfortApiClient<SignerIdResponse>>) => Promise<SignerIdResponse>;
|
|
5616
|
+
/**
|
|
5617
|
+
* Retrieves the details of an existing account.
|
|
5515
5618
|
|
|
5516
|
-
|
|
5517
|
-
* @summary
|
|
5619
|
+
Supply the unique account ID and Openfort will return the corresponding account information.
|
|
5620
|
+
* @summary Get existing account.
|
|
5518
5621
|
*/
|
|
5519
|
-
declare const
|
|
5520
|
-
declare const createAccountV2: (createAccountRequestV2: CreateAccountRequestV2, options?: SecondParameter$p<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
|
|
5521
|
-
declare const getSignerIdByAddress: (params: GetSignerIdByAddressParams, options?: SecondParameter$p<typeof openfortApiClient<SignerIdResponse>>) => Promise<SignerIdResponse>;
|
|
5522
|
-
declare const getAccountV2: (id: string, options?: SecondParameter$p<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
|
|
5622
|
+
declare const getAccountV2: (id: string, options?: SecondParameter$l<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
|
|
5523
5623
|
/**
|
|
5524
5624
|
* Removes an account from a project.
|
|
5625
|
+
* @summary Delete account.
|
|
5525
5626
|
*/
|
|
5526
|
-
declare const removeAccount: (id: string, options?: SecondParameter$
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
type SignPayloadResult = NonNullable<Awaited<ReturnType<typeof signPayload>>>;
|
|
5535
|
-
type SyncAccountResult = NonNullable<Awaited<ReturnType<typeof syncAccount>>>;
|
|
5536
|
-
type DeployAccountResult = NonNullable<Awaited<ReturnType<typeof deployAccount>>>;
|
|
5537
|
-
type StartRecoveryResult = NonNullable<Awaited<ReturnType<typeof startRecovery>>>;
|
|
5538
|
-
type CompleteRecoveryResult = NonNullable<Awaited<ReturnType<typeof completeRecovery>>>;
|
|
5627
|
+
declare const removeAccount: (id: string, options?: SecondParameter$l<typeof openfortApiClient<DeleteAccountResponse>>) => Promise<DeleteAccountResponse>;
|
|
5628
|
+
/**
|
|
5629
|
+
* Switches the blockchain network for an existing account.
|
|
5630
|
+
|
|
5631
|
+
This allows moving an account between different blockchain networks while maintaining the same account identity.
|
|
5632
|
+
* @summary Switch account blockchain.
|
|
5633
|
+
*/
|
|
5634
|
+
declare const switchChainV2: (switchChainQueriesV2: SwitchChainQueriesV2, options?: SecondParameter$l<typeof openfortApiClient<AccountV2Response>>) => Promise<AccountV2Response>;
|
|
5539
5635
|
type GetAccountsV2Result = NonNullable<Awaited<ReturnType<typeof getAccountsV2>>>;
|
|
5540
5636
|
type CreateAccountV2Result = NonNullable<Awaited<ReturnType<typeof createAccountV2>>>;
|
|
5541
5637
|
type GetSignerIdByAddressResult = NonNullable<Awaited<ReturnType<typeof getSignerIdByAddress>>>;
|
|
@@ -5544,76 +5640,89 @@ type RemoveAccountResult = NonNullable<Awaited<ReturnType<typeof removeAccount>>
|
|
|
5544
5640
|
type SwitchChainV2Result = NonNullable<Awaited<ReturnType<typeof switchChainV2>>>;
|
|
5545
5641
|
|
|
5546
5642
|
/**
|
|
5547
|
-
* Generated by orval v7.
|
|
5643
|
+
* Generated by orval v7.18.0 🍺
|
|
5548
5644
|
* Do not edit manually.
|
|
5549
5645
|
* Openfort API
|
|
5550
5646
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
5551
5647
|
* OpenAPI spec version: 1.0.0
|
|
5552
5648
|
*/
|
|
5553
5649
|
|
|
5554
|
-
type SecondParameter$
|
|
5650
|
+
type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5555
5651
|
/**
|
|
5556
5652
|
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
5557
5653
|
|
|
5558
5654
|
Returns the latest 10 transaction intents for the player.
|
|
5559
5655
|
* @summary Retrieve player by oauth token.
|
|
5560
5656
|
*/
|
|
5561
|
-
declare const verifyOAuthToken: (authenticateOAuthRequest: AuthenticateOAuthRequest, options?: SecondParameter$
|
|
5657
|
+
declare const verifyOAuthToken: (authenticateOAuthRequest: AuthenticateOAuthRequest, options?: SecondParameter$k<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
|
|
5562
5658
|
/**
|
|
5563
5659
|
* List configured OAuth methods for the current project environment.
|
|
5564
5660
|
* @deprecated
|
|
5565
5661
|
* @summary List of oauth configurations.
|
|
5566
5662
|
*/
|
|
5567
|
-
declare const listOAuthConfig: (options?: SecondParameter$
|
|
5663
|
+
declare const listOAuthConfig: (options?: SecondParameter$k<typeof openfortApiClient<OAuthConfigListResponse>>) => Promise<OAuthConfigListResponse>;
|
|
5568
5664
|
/**
|
|
5569
5665
|
* The endpoint creates oauth configuration for the current project environment.
|
|
5570
5666
|
* @deprecated
|
|
5571
5667
|
* @summary Create oauth configuration.
|
|
5572
5668
|
*/
|
|
5573
|
-
declare const createOAuthConfig: (authConfig: AuthConfig, options?: SecondParameter$
|
|
5669
|
+
declare const createOAuthConfig: (authConfig: AuthConfig, options?: SecondParameter$k<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
|
|
5670
|
+
/**
|
|
5671
|
+
* @deprecated
|
|
5672
|
+
* @summary oauth callback.
|
|
5673
|
+
*/
|
|
5674
|
+
declare const deprecatedCallbackOAuth: (params: DeprecatedCallbackOAuthParams, options?: SecondParameter$k<typeof openfortApiClient<unknown>>) => Promise<unknown>;
|
|
5675
|
+
/**
|
|
5676
|
+
* @summary oauth grant.
|
|
5677
|
+
*/
|
|
5678
|
+
declare const grantOAuth: (provider: OAuthProvider, grantCallbackRequest: GrantCallbackRequest, options?: SecondParameter$k<typeof openfortApiClient<GrantOAuthResponse>>) => Promise<GrantOAuthResponse>;
|
|
5679
|
+
/**
|
|
5680
|
+
* @summary oauth callback.
|
|
5681
|
+
*/
|
|
5682
|
+
declare const callbackOAuth: (provider: OAuthProvider, params: CallbackOAuthParams, options?: SecondParameter$k<typeof openfortApiClient<unknown>>) => Promise<unknown>;
|
|
5574
5683
|
/**
|
|
5575
5684
|
* The endpoint retrieves oauth configuration for specified provider for the current project environment.
|
|
5576
5685
|
* @deprecated
|
|
5577
5686
|
* @summary Get oauth configuration.
|
|
5578
5687
|
*/
|
|
5579
|
-
declare const getOAuthConfig: (provider: OAuthProvider, options?: SecondParameter$
|
|
5688
|
+
declare const getOAuthConfig: (provider: OAuthProvider, options?: SecondParameter$k<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
|
|
5580
5689
|
/**
|
|
5581
5690
|
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
5582
5691
|
* @deprecated
|
|
5583
5692
|
* @summary Delete oauth configuration.
|
|
5584
5693
|
*/
|
|
5585
|
-
declare const deleteOAuthConfig: (provider: OAuthProvider, options?: SecondParameter$
|
|
5694
|
+
declare const deleteOAuthConfig: (provider: OAuthProvider, options?: SecondParameter$k<typeof openfortApiClient<void>>) => Promise<void>;
|
|
5586
5695
|
/**
|
|
5587
5696
|
* List configured auth methods for the current project environment.
|
|
5588
5697
|
* @summary List of auth configurations.
|
|
5589
5698
|
*/
|
|
5590
|
-
declare const list: (params?: ListParams, options?: SecondParameter$
|
|
5699
|
+
declare const list: (params?: ListParams, options?: SecondParameter$k<typeof openfortApiClient<AuthProviderListResponse>>) => Promise<AuthProviderListResponse>;
|
|
5591
5700
|
/**
|
|
5592
5701
|
* The endpoint creates oauth configuration for the current project environment.
|
|
5593
5702
|
* @summary Create oauth configuration.
|
|
5594
5703
|
*/
|
|
5595
|
-
declare const create: (authConfig: AuthConfig, options?: SecondParameter$
|
|
5704
|
+
declare const create: (authConfig: AuthConfig, options?: SecondParameter$k<typeof openfortApiClient<AuthConfig>>) => Promise<AuthConfig>;
|
|
5596
5705
|
/**
|
|
5597
5706
|
* Creates an authenticated player.
|
|
5598
5707
|
|
|
5599
5708
|
The player will be authenticated with the provider and an embedded account can be pre generated.
|
|
5600
5709
|
* @summary Create an authenticated player.
|
|
5601
5710
|
*/
|
|
5602
|
-
declare const createAuthPlayer: (createAuthPlayerRequest: CreateAuthPlayerRequest, options?: SecondParameter$
|
|
5711
|
+
declare const createAuthPlayer: (createAuthPlayerRequest: CreateAuthPlayerRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponseWithRecoveryShare>>) => Promise<AuthPlayerResponseWithRecoveryShare>;
|
|
5603
5712
|
/**
|
|
5604
5713
|
* Retrieves a list of authenticated players.
|
|
5605
5714
|
|
|
5606
5715
|
Players have linked accounts and are authenticated with a provider.
|
|
5607
5716
|
* @summary List authenticated players.
|
|
5608
5717
|
*/
|
|
5609
|
-
declare const getAuthPlayers: (params?: GetAuthPlayersParams, options?: SecondParameter$
|
|
5718
|
+
declare const getAuthPlayers: (params?: GetAuthPlayersParams, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerListResponse>>) => Promise<AuthPlayerListResponse>;
|
|
5610
5719
|
/**
|
|
5611
5720
|
* Retrieves an authenticated player.
|
|
5612
5721
|
|
|
5613
5722
|
Players have linked accounts and are authenticated with a provider.
|
|
5614
5723
|
* @summary Authenticated player.
|
|
5615
5724
|
*/
|
|
5616
|
-
declare const getAuthPlayer: (id: string, options?: SecondParameter$
|
|
5725
|
+
declare const getAuthPlayer: (id: string, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
|
|
5617
5726
|
/**
|
|
5618
5727
|
* Deletes a player auth object.
|
|
5619
5728
|
|
|
@@ -5621,16 +5730,19 @@ It will delete all linked accounts the player is authenticated with.
|
|
|
5621
5730
|
If the player has a linked embedded signer, it will be deleted as well.
|
|
5622
5731
|
* @summary Deletes a player auth object.
|
|
5623
5732
|
*/
|
|
5624
|
-
declare const deleteAuthPlayer: (id: string, options?: SecondParameter$
|
|
5733
|
+
declare const deleteAuthPlayer: (id: string, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
|
|
5625
5734
|
/**
|
|
5626
5735
|
* Verifies the token generated by Openfort Auth.
|
|
5627
5736
|
* @summary Verify auth token.
|
|
5628
5737
|
*/
|
|
5629
|
-
declare const verifyAuthToken: (params: VerifyAuthTokenParams, options?: SecondParameter$
|
|
5630
|
-
declare const authorize: (authorizePlayerRequest: AuthorizePlayerRequest, options?: SecondParameter$
|
|
5738
|
+
declare const verifyAuthToken: (params: VerifyAuthTokenParams, options?: SecondParameter$k<typeof openfortApiClient<AuthSessionResponse>>) => Promise<AuthSessionResponse>;
|
|
5739
|
+
declare const authorize: (authorizePlayerRequest: AuthorizePlayerRequest, options?: SecondParameter$k<typeof openfortApiClient<Authorize200>>) => Promise<Authorize200>;
|
|
5631
5740
|
type VerifyOAuthTokenResult = NonNullable<Awaited<ReturnType<typeof verifyOAuthToken>>>;
|
|
5632
5741
|
type ListOAuthConfigResult = NonNullable<Awaited<ReturnType<typeof listOAuthConfig>>>;
|
|
5633
5742
|
type CreateOAuthConfigResult = NonNullable<Awaited<ReturnType<typeof createOAuthConfig>>>;
|
|
5743
|
+
type DeprecatedCallbackOAuthResult = NonNullable<Awaited<ReturnType<typeof deprecatedCallbackOAuth>>>;
|
|
5744
|
+
type GrantOAuthResult = NonNullable<Awaited<ReturnType<typeof grantOAuth>>>;
|
|
5745
|
+
type CallbackOAuthResult = NonNullable<Awaited<ReturnType<typeof callbackOAuth>>>;
|
|
5634
5746
|
type GetOAuthConfigResult = NonNullable<Awaited<ReturnType<typeof getOAuthConfig>>>;
|
|
5635
5747
|
type DeleteOAuthConfigResult = NonNullable<Awaited<ReturnType<typeof deleteOAuthConfig>>>;
|
|
5636
5748
|
type ListResult = NonNullable<Awaited<ReturnType<typeof list>>>;
|
|
@@ -5643,7 +5755,7 @@ type VerifyAuthTokenResult = NonNullable<Awaited<ReturnType<typeof verifyAuthTok
|
|
|
5643
5755
|
type AuthorizeResult = NonNullable<Awaited<ReturnType<typeof authorize>>>;
|
|
5644
5756
|
|
|
5645
5757
|
/**
|
|
5646
|
-
* Generated by orval v7.
|
|
5758
|
+
* Generated by orval v7.18.0 🍺
|
|
5647
5759
|
* Do not edit manually.
|
|
5648
5760
|
* Openfort Auth
|
|
5649
5761
|
* API Reference for Openfort Auth
|
|
@@ -7587,347 +7699,261 @@ declare namespace openfortAuth_schemas {
|
|
|
7587
7699
|
}
|
|
7588
7700
|
|
|
7589
7701
|
/**
|
|
7590
|
-
* Generated by orval v7.
|
|
7591
|
-
* Do not edit manually.
|
|
7592
|
-
* Openfort Auth
|
|
7593
|
-
* API Reference for Openfort Auth
|
|
7594
|
-
* OpenAPI spec version: 1.0.0
|
|
7595
|
-
*/
|
|
7596
|
-
|
|
7597
|
-
type SecondParameter$n<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7598
|
-
/**
|
|
7599
|
-
* Sign in anonymously
|
|
7600
|
-
*/
|
|
7601
|
-
declare const postSignInAnonymous: (options?: SecondParameter$n<typeof openfortApiClient<PostSignInAnonymous200>>) => Promise<PostSignInAnonymous200>;
|
|
7602
|
-
type PostSignInAnonymousResult = NonNullable<Awaited<ReturnType<typeof postSignInAnonymous>>>;
|
|
7603
|
-
|
|
7604
|
-
type anonymous_PostSignInAnonymousResult = PostSignInAnonymousResult;
|
|
7605
|
-
declare const anonymous_postSignInAnonymous: typeof postSignInAnonymous;
|
|
7606
|
-
declare namespace anonymous {
|
|
7607
|
-
export { type anonymous_PostSignInAnonymousResult as PostSignInAnonymousResult, anonymous_postSignInAnonymous as postSignInAnonymous };
|
|
7608
|
-
}
|
|
7609
|
-
|
|
7610
|
-
/**
|
|
7611
|
-
* Generated by orval v7.17.0 🍺
|
|
7702
|
+
* Generated by orval v7.18.0 🍺
|
|
7612
7703
|
* Do not edit manually.
|
|
7613
7704
|
* Openfort Auth
|
|
7614
7705
|
* API Reference for Openfort Auth
|
|
7615
7706
|
* OpenAPI spec version: 1.0.0
|
|
7616
7707
|
*/
|
|
7617
7708
|
|
|
7618
|
-
type SecondParameter$
|
|
7709
|
+
type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7619
7710
|
/**
|
|
7620
7711
|
* Sign in with a social provider
|
|
7712
|
+
* @summary Sign in with a social provider.
|
|
7621
7713
|
*/
|
|
7622
|
-
declare const socialSignIn: (socialSignInBody: SocialSignInBody, options?: SecondParameter$
|
|
7714
|
+
declare const socialSignIn: (socialSignInBody: SocialSignInBody, options?: SecondParameter$j<typeof openfortApiClient<SocialSignIn200>>) => Promise<SocialSignIn200>;
|
|
7623
7715
|
/**
|
|
7624
7716
|
* Get the current session
|
|
7717
|
+
* @summary Get the current session.
|
|
7625
7718
|
*/
|
|
7626
|
-
declare const getGetSession: (params?: GetGetSessionParams, options?: SecondParameter$
|
|
7719
|
+
declare const getGetSession: (params?: GetGetSessionParams, options?: SecondParameter$j<typeof openfortApiClient<GetGetSession200>>) => Promise<GetGetSession200>;
|
|
7627
7720
|
/**
|
|
7628
7721
|
* Sign out the current user
|
|
7722
|
+
* @summary Sign out.
|
|
7629
7723
|
*/
|
|
7630
|
-
declare const postSignOut: (postSignOutBody: PostSignOutBody, options?: SecondParameter$
|
|
7724
|
+
declare const postSignOut: (postSignOutBody: PostSignOutBody, options?: SecondParameter$j<typeof openfortApiClient<PostSignOut200>>) => Promise<PostSignOut200>;
|
|
7631
7725
|
/**
|
|
7632
7726
|
* Sign up a user using email and password
|
|
7727
|
+
* @summary Sign up with email and password.
|
|
7633
7728
|
*/
|
|
7634
|
-
declare const postSignUpEmail: (postSignUpEmailBody: PostSignUpEmailBody, options?: SecondParameter$
|
|
7729
|
+
declare const postSignUpEmail: (postSignUpEmailBody: PostSignUpEmailBody, options?: SecondParameter$j<typeof openfortApiClient<PostSignUpEmail200>>) => Promise<PostSignUpEmail200>;
|
|
7635
7730
|
/**
|
|
7636
7731
|
* Sign in with email and password
|
|
7732
|
+
* @summary Sign in with email and password.
|
|
7637
7733
|
*/
|
|
7638
|
-
declare const postSignInEmail: (postSignInEmailBody: PostSignInEmailBody, options?: SecondParameter$
|
|
7734
|
+
declare const postSignInEmail: (postSignInEmailBody: PostSignInEmailBody, options?: SecondParameter$j<typeof openfortApiClient<PostSignInEmail200>>) => Promise<PostSignInEmail200>;
|
|
7639
7735
|
/**
|
|
7640
7736
|
* Send a password reset email to the user
|
|
7737
|
+
* @summary Forget password.
|
|
7641
7738
|
*/
|
|
7642
|
-
declare const postForgetPassword: (postForgetPasswordBody: PostForgetPasswordBody, options?: SecondParameter$
|
|
7739
|
+
declare const postForgetPassword: (postForgetPasswordBody: PostForgetPasswordBody, options?: SecondParameter$j<typeof openfortApiClient<PostForgetPassword200>>) => Promise<PostForgetPassword200>;
|
|
7643
7740
|
/**
|
|
7644
7741
|
* Reset the password for a user
|
|
7742
|
+
* @summary Reset password.
|
|
7645
7743
|
*/
|
|
7646
|
-
declare const postResetPassword: (postResetPasswordBody: PostResetPasswordBody, options?: SecondParameter$
|
|
7744
|
+
declare const postResetPassword: (postResetPasswordBody: PostResetPasswordBody, options?: SecondParameter$j<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
|
|
7647
7745
|
/**
|
|
7648
|
-
* Verify the email of the user
|
|
7746
|
+
* Verify the email of the user.
|
|
7747
|
+
Usually this endpoint is called when user clicks 'Verify email' link from the letter.
|
|
7748
|
+
* @summary Verify email.
|
|
7649
7749
|
*/
|
|
7650
|
-
declare const getVerifyEmail: (params: GetVerifyEmailParams, options?: SecondParameter$
|
|
7750
|
+
declare const getVerifyEmail: (params: GetVerifyEmailParams, options?: SecondParameter$j<typeof openfortApiClient<GetVerifyEmail200>>) => Promise<GetVerifyEmail200>;
|
|
7651
7751
|
/**
|
|
7652
7752
|
* Send a verification email to the user
|
|
7753
|
+
* @summary Send verification email.
|
|
7754
|
+
*/
|
|
7755
|
+
declare const postSendVerificationEmail: (postSendVerificationEmailBody: PostSendVerificationEmailBody, options?: SecondParameter$j<typeof openfortApiClient<PostSendVerificationEmail200>>) => Promise<PostSendVerificationEmail200>;
|
|
7756
|
+
/**
|
|
7757
|
+
* Change user's email
|
|
7758
|
+
* @summary Change email.
|
|
7653
7759
|
*/
|
|
7654
|
-
declare const
|
|
7655
|
-
declare const postChangeEmail: (postChangeEmailBody: PostChangeEmailBody, options?: SecondParameter$m<typeof openfortApiClient<PostChangeEmail200>>) => Promise<PostChangeEmail200>;
|
|
7760
|
+
declare const postChangeEmail: (postChangeEmailBody: PostChangeEmailBody, options?: SecondParameter$j<typeof openfortApiClient<PostChangeEmail200>>) => Promise<PostChangeEmail200>;
|
|
7656
7761
|
/**
|
|
7657
7762
|
* Change the password of the user
|
|
7763
|
+
* @summary Change password.
|
|
7658
7764
|
*/
|
|
7659
|
-
declare const postChangePassword: (postChangePasswordBody: PostChangePasswordBody, options?: SecondParameter$
|
|
7765
|
+
declare const postChangePassword: (postChangePasswordBody: PostChangePasswordBody, options?: SecondParameter$j<typeof openfortApiClient<PostChangePassword200>>) => Promise<PostChangePassword200>;
|
|
7660
7766
|
/**
|
|
7661
7767
|
* Redirects the user to the callback URL with the token
|
|
7768
|
+
* @summary Reset password callback.
|
|
7662
7769
|
*/
|
|
7663
|
-
declare const getResetPasswordToken: (token: string, params?: GetResetPasswordTokenParams, options?: SecondParameter$
|
|
7770
|
+
declare const getResetPasswordToken: (token: string, params?: GetResetPasswordTokenParams, options?: SecondParameter$j<typeof openfortApiClient<GetResetPasswordToken200>>) => Promise<GetResetPasswordToken200>;
|
|
7664
7771
|
/**
|
|
7665
7772
|
* Send a password reset email to the user
|
|
7773
|
+
* @summary Request password reset.
|
|
7666
7774
|
*/
|
|
7667
|
-
declare const postRequestPasswordReset: (postRequestPasswordResetBody: PostRequestPasswordResetBody, options?: SecondParameter$
|
|
7775
|
+
declare const postRequestPasswordReset: (postRequestPasswordResetBody: PostRequestPasswordResetBody, options?: SecondParameter$j<typeof openfortApiClient<PostRequestPasswordReset200>>) => Promise<PostRequestPasswordReset200>;
|
|
7668
7776
|
/**
|
|
7669
7777
|
* List all active sessions for the user
|
|
7778
|
+
* @summary List sessions.
|
|
7670
7779
|
*/
|
|
7671
|
-
declare const getListSessions: (options?: SecondParameter$
|
|
7780
|
+
declare const getListSessions: (options?: SecondParameter$j<typeof openfortApiClient<Session[]>>) => Promise<Session[]>;
|
|
7672
7781
|
/**
|
|
7673
7782
|
* Revoke a single session
|
|
7783
|
+
* @summary Revoke session.
|
|
7674
7784
|
*/
|
|
7675
|
-
declare const postRevokeSession: (postRevokeSessionBody: PostRevokeSessionBody, options?: SecondParameter$
|
|
7785
|
+
declare const postRevokeSession: (postRevokeSessionBody: PostRevokeSessionBody, options?: SecondParameter$j<typeof openfortApiClient<PostRevokeSession200>>) => Promise<PostRevokeSession200>;
|
|
7676
7786
|
/**
|
|
7677
7787
|
* Revoke all sessions for the user
|
|
7788
|
+
* @summary Revoke sessions.
|
|
7678
7789
|
*/
|
|
7679
|
-
declare const postRevokeSessions: (postRevokeSessionsBody: PostRevokeSessionsBody, options?: SecondParameter$
|
|
7790
|
+
declare const postRevokeSessions: (postRevokeSessionsBody: PostRevokeSessionsBody, options?: SecondParameter$j<typeof openfortApiClient<PostRevokeSessions200>>) => Promise<PostRevokeSessions200>;
|
|
7680
7791
|
/**
|
|
7681
7792
|
* Revoke all other sessions for the user except the current one
|
|
7793
|
+
* @summary Revoke other sessions.
|
|
7682
7794
|
*/
|
|
7683
|
-
declare const postRevokeOtherSessions: (postRevokeOtherSessionsBody: PostRevokeOtherSessionsBody, options?: SecondParameter$
|
|
7795
|
+
declare const postRevokeOtherSessions: (postRevokeOtherSessionsBody: PostRevokeOtherSessionsBody, options?: SecondParameter$j<typeof openfortApiClient<PostRevokeOtherSessions200>>) => Promise<PostRevokeOtherSessions200>;
|
|
7684
7796
|
/**
|
|
7685
7797
|
* Link a social account to the user
|
|
7798
|
+
* @summary Link social account.
|
|
7686
7799
|
*/
|
|
7687
|
-
declare const postLinkSocial: (postLinkSocialBody: PostLinkSocialBody, options?: SecondParameter$
|
|
7800
|
+
declare const postLinkSocial: (postLinkSocialBody: PostLinkSocialBody, options?: SecondParameter$j<typeof openfortApiClient<PostLinkSocial200>>) => Promise<PostLinkSocial200>;
|
|
7688
7801
|
/**
|
|
7689
7802
|
* List all accounts linked to the user
|
|
7803
|
+
* @summary List lined accounts.
|
|
7690
7804
|
*/
|
|
7691
|
-
declare const getListAccounts: (options?: SecondParameter$
|
|
7805
|
+
declare const getListAccounts: (options?: SecondParameter$j<typeof openfortApiClient<GetListAccounts200Item[]>>) => Promise<GetListAccounts200Item[]>;
|
|
7692
7806
|
/**
|
|
7693
7807
|
* Unlink an account
|
|
7808
|
+
* @summary Unlink account.
|
|
7694
7809
|
*/
|
|
7695
|
-
declare const postUnlinkAccount: (postUnlinkAccountBody: PostUnlinkAccountBody, options?: SecondParameter$
|
|
7810
|
+
declare const postUnlinkAccount: (postUnlinkAccountBody: PostUnlinkAccountBody, options?: SecondParameter$j<typeof openfortApiClient<UnlinkAccountResponse>>) => Promise<UnlinkAccountResponse>;
|
|
7696
7811
|
/**
|
|
7697
7812
|
* Refresh the access token using a refresh token
|
|
7813
|
+
* @summary Refresh access token.
|
|
7698
7814
|
*/
|
|
7699
|
-
declare const postRefreshToken: (postRefreshTokenBody: PostRefreshTokenBody, options?: SecondParameter$
|
|
7815
|
+
declare const postRefreshToken: (postRefreshTokenBody: PostRefreshTokenBody, options?: SecondParameter$j<typeof openfortApiClient<PostRefreshToken200>>) => Promise<PostRefreshToken200>;
|
|
7700
7816
|
/**
|
|
7701
7817
|
* Get a valid access token, doing a refresh if needed
|
|
7818
|
+
* @summary Get access token.
|
|
7702
7819
|
*/
|
|
7703
|
-
declare const postGetAccessToken: (postGetAccessTokenBody: PostGetAccessTokenBody, options?: SecondParameter$
|
|
7820
|
+
declare const postGetAccessToken: (postGetAccessTokenBody: PostGetAccessTokenBody, options?: SecondParameter$j<typeof openfortApiClient<PostGetAccessToken200>>) => Promise<PostGetAccessToken200>;
|
|
7704
7821
|
/**
|
|
7705
7822
|
* Get the account info provided by the provider
|
|
7823
|
+
* @summary Get account info.
|
|
7706
7824
|
*/
|
|
7707
|
-
declare const postAccountInfo: (postAccountInfoBody: PostAccountInfoBody, options?: SecondParameter$
|
|
7708
|
-
type SocialSignInResult = NonNullable<Awaited<ReturnType<typeof socialSignIn>>>;
|
|
7709
|
-
type GetGetSessionResult = NonNullable<Awaited<ReturnType<typeof getGetSession>>>;
|
|
7710
|
-
type PostSignOutResult = NonNullable<Awaited<ReturnType<typeof postSignOut>>>;
|
|
7711
|
-
type PostSignUpEmailResult = NonNullable<Awaited<ReturnType<typeof postSignUpEmail>>>;
|
|
7712
|
-
type PostSignInEmailResult = NonNullable<Awaited<ReturnType<typeof postSignInEmail>>>;
|
|
7713
|
-
type PostForgetPasswordResult = NonNullable<Awaited<ReturnType<typeof postForgetPassword>>>;
|
|
7714
|
-
type PostResetPasswordResult = NonNullable<Awaited<ReturnType<typeof postResetPassword>>>;
|
|
7715
|
-
type GetVerifyEmailResult = NonNullable<Awaited<ReturnType<typeof getVerifyEmail>>>;
|
|
7716
|
-
type PostSendVerificationEmailResult = NonNullable<Awaited<ReturnType<typeof postSendVerificationEmail>>>;
|
|
7717
|
-
type PostChangeEmailResult = NonNullable<Awaited<ReturnType<typeof postChangeEmail>>>;
|
|
7718
|
-
type PostChangePasswordResult = NonNullable<Awaited<ReturnType<typeof postChangePassword>>>;
|
|
7719
|
-
type GetResetPasswordTokenResult = NonNullable<Awaited<ReturnType<typeof getResetPasswordToken>>>;
|
|
7720
|
-
type PostRequestPasswordResetResult = NonNullable<Awaited<ReturnType<typeof postRequestPasswordReset>>>;
|
|
7721
|
-
type GetListSessionsResult = NonNullable<Awaited<ReturnType<typeof getListSessions>>>;
|
|
7722
|
-
type PostRevokeSessionResult = NonNullable<Awaited<ReturnType<typeof postRevokeSession>>>;
|
|
7723
|
-
type PostRevokeSessionsResult = NonNullable<Awaited<ReturnType<typeof postRevokeSessions>>>;
|
|
7724
|
-
type PostRevokeOtherSessionsResult = NonNullable<Awaited<ReturnType<typeof postRevokeOtherSessions>>>;
|
|
7725
|
-
type PostLinkSocialResult = NonNullable<Awaited<ReturnType<typeof postLinkSocial>>>;
|
|
7726
|
-
type GetListAccountsResult = NonNullable<Awaited<ReturnType<typeof getListAccounts>>>;
|
|
7727
|
-
type PostUnlinkAccountResult = NonNullable<Awaited<ReturnType<typeof postUnlinkAccount>>>;
|
|
7728
|
-
type PostRefreshTokenResult = NonNullable<Awaited<ReturnType<typeof postRefreshToken>>>;
|
|
7729
|
-
type PostGetAccessTokenResult = NonNullable<Awaited<ReturnType<typeof postGetAccessToken>>>;
|
|
7730
|
-
type PostAccountInfoResult = NonNullable<Awaited<ReturnType<typeof postAccountInfo>>>;
|
|
7731
|
-
|
|
7732
|
-
type _default_GetGetSessionResult = GetGetSessionResult;
|
|
7733
|
-
type _default_GetListAccountsResult = GetListAccountsResult;
|
|
7734
|
-
type _default_GetListSessionsResult = GetListSessionsResult;
|
|
7735
|
-
type _default_GetResetPasswordTokenResult = GetResetPasswordTokenResult;
|
|
7736
|
-
type _default_GetVerifyEmailResult = GetVerifyEmailResult;
|
|
7737
|
-
type _default_PostAccountInfoResult = PostAccountInfoResult;
|
|
7738
|
-
type _default_PostChangeEmailResult = PostChangeEmailResult;
|
|
7739
|
-
type _default_PostChangePasswordResult = PostChangePasswordResult;
|
|
7740
|
-
type _default_PostForgetPasswordResult = PostForgetPasswordResult;
|
|
7741
|
-
type _default_PostGetAccessTokenResult = PostGetAccessTokenResult;
|
|
7742
|
-
type _default_PostLinkSocialResult = PostLinkSocialResult;
|
|
7743
|
-
type _default_PostRefreshTokenResult = PostRefreshTokenResult;
|
|
7744
|
-
type _default_PostRequestPasswordResetResult = PostRequestPasswordResetResult;
|
|
7745
|
-
type _default_PostResetPasswordResult = PostResetPasswordResult;
|
|
7746
|
-
type _default_PostRevokeOtherSessionsResult = PostRevokeOtherSessionsResult;
|
|
7747
|
-
type _default_PostRevokeSessionResult = PostRevokeSessionResult;
|
|
7748
|
-
type _default_PostRevokeSessionsResult = PostRevokeSessionsResult;
|
|
7749
|
-
type _default_PostSendVerificationEmailResult = PostSendVerificationEmailResult;
|
|
7750
|
-
type _default_PostSignInEmailResult = PostSignInEmailResult;
|
|
7751
|
-
type _default_PostSignOutResult = PostSignOutResult;
|
|
7752
|
-
type _default_PostSignUpEmailResult = PostSignUpEmailResult;
|
|
7753
|
-
type _default_PostUnlinkAccountResult = PostUnlinkAccountResult;
|
|
7754
|
-
type _default_SocialSignInResult = SocialSignInResult;
|
|
7755
|
-
declare const _default_getGetSession: typeof getGetSession;
|
|
7756
|
-
declare const _default_getListAccounts: typeof getListAccounts;
|
|
7757
|
-
declare const _default_getListSessions: typeof getListSessions;
|
|
7758
|
-
declare const _default_getResetPasswordToken: typeof getResetPasswordToken;
|
|
7759
|
-
declare const _default_getVerifyEmail: typeof getVerifyEmail;
|
|
7760
|
-
declare const _default_postAccountInfo: typeof postAccountInfo;
|
|
7761
|
-
declare const _default_postChangeEmail: typeof postChangeEmail;
|
|
7762
|
-
declare const _default_postChangePassword: typeof postChangePassword;
|
|
7763
|
-
declare const _default_postForgetPassword: typeof postForgetPassword;
|
|
7764
|
-
declare const _default_postGetAccessToken: typeof postGetAccessToken;
|
|
7765
|
-
declare const _default_postLinkSocial: typeof postLinkSocial;
|
|
7766
|
-
declare const _default_postRefreshToken: typeof postRefreshToken;
|
|
7767
|
-
declare const _default_postRequestPasswordReset: typeof postRequestPasswordReset;
|
|
7768
|
-
declare const _default_postResetPassword: typeof postResetPassword;
|
|
7769
|
-
declare const _default_postRevokeOtherSessions: typeof postRevokeOtherSessions;
|
|
7770
|
-
declare const _default_postRevokeSession: typeof postRevokeSession;
|
|
7771
|
-
declare const _default_postRevokeSessions: typeof postRevokeSessions;
|
|
7772
|
-
declare const _default_postSendVerificationEmail: typeof postSendVerificationEmail;
|
|
7773
|
-
declare const _default_postSignInEmail: typeof postSignInEmail;
|
|
7774
|
-
declare const _default_postSignOut: typeof postSignOut;
|
|
7775
|
-
declare const _default_postSignUpEmail: typeof postSignUpEmail;
|
|
7776
|
-
declare const _default_postUnlinkAccount: typeof postUnlinkAccount;
|
|
7777
|
-
declare const _default_socialSignIn: typeof socialSignIn;
|
|
7778
|
-
declare namespace _default {
|
|
7779
|
-
export { type _default_GetGetSessionResult as GetGetSessionResult, type _default_GetListAccountsResult as GetListAccountsResult, type _default_GetListSessionsResult as GetListSessionsResult, type _default_GetResetPasswordTokenResult as GetResetPasswordTokenResult, type _default_GetVerifyEmailResult as GetVerifyEmailResult, type _default_PostAccountInfoResult as PostAccountInfoResult, type _default_PostChangeEmailResult as PostChangeEmailResult, type _default_PostChangePasswordResult as PostChangePasswordResult, type _default_PostForgetPasswordResult as PostForgetPasswordResult, type _default_PostGetAccessTokenResult as PostGetAccessTokenResult, type _default_PostLinkSocialResult as PostLinkSocialResult, type _default_PostRefreshTokenResult as PostRefreshTokenResult, type _default_PostRequestPasswordResetResult as PostRequestPasswordResetResult, type _default_PostResetPasswordResult as PostResetPasswordResult, type _default_PostRevokeOtherSessionsResult as PostRevokeOtherSessionsResult, type _default_PostRevokeSessionResult as PostRevokeSessionResult, type _default_PostRevokeSessionsResult as PostRevokeSessionsResult, type _default_PostSendVerificationEmailResult as PostSendVerificationEmailResult, type _default_PostSignInEmailResult as PostSignInEmailResult, type _default_PostSignOutResult as PostSignOutResult, type _default_PostSignUpEmailResult as PostSignUpEmailResult, type _default_PostUnlinkAccountResult as PostUnlinkAccountResult, type _default_SocialSignInResult as SocialSignInResult, _default_getGetSession as getGetSession, _default_getListAccounts as getListAccounts, _default_getListSessions as getListSessions, _default_getResetPasswordToken as getResetPasswordToken, _default_getVerifyEmail as getVerifyEmail, _default_postAccountInfo as postAccountInfo, _default_postChangeEmail as postChangeEmail, _default_postChangePassword as postChangePassword, _default_postForgetPassword as postForgetPassword, _default_postGetAccessToken as postGetAccessToken, _default_postLinkSocial as postLinkSocial, _default_postRefreshToken as postRefreshToken, _default_postRequestPasswordReset as postRequestPasswordReset, _default_postResetPassword as postResetPassword, _default_postRevokeOtherSessions as postRevokeOtherSessions, _default_postRevokeSession as postRevokeSession, _default_postRevokeSessions as postRevokeSessions, _default_postSendVerificationEmail as postSendVerificationEmail, _default_postSignInEmail as postSignInEmail, _default_postSignOut as postSignOut, _default_postSignUpEmail as postSignUpEmail, _default_postUnlinkAccount as postUnlinkAccount, _default_socialSignIn as socialSignIn };
|
|
7780
|
-
}
|
|
7781
|
-
|
|
7782
|
-
/**
|
|
7783
|
-
* Generated by orval v7.17.0 🍺
|
|
7784
|
-
* Do not edit manually.
|
|
7785
|
-
* Openfort Auth
|
|
7786
|
-
* API Reference for Openfort Auth
|
|
7787
|
-
* OpenAPI spec version: 1.0.0
|
|
7788
|
-
*/
|
|
7789
|
-
|
|
7790
|
-
type SecondParameter$l<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7825
|
+
declare const postAccountInfo: (postAccountInfoBody: PostAccountInfoBody, options?: SecondParameter$j<typeof openfortApiClient<PostAccountInfo200>>) => Promise<PostAccountInfo200>;
|
|
7791
7826
|
/**
|
|
7792
|
-
*
|
|
7827
|
+
* Sign in anonymously
|
|
7828
|
+
* @summary Anonymous sign in.
|
|
7793
7829
|
*/
|
|
7794
|
-
declare const
|
|
7830
|
+
declare const postSignInAnonymous: (options?: SecondParameter$j<typeof openfortApiClient<PostSignInAnonymous200>>) => Promise<PostSignInAnonymous200>;
|
|
7795
7831
|
/**
|
|
7796
|
-
*
|
|
7832
|
+
* Use this endpoint to sign in with phone number
|
|
7833
|
+
* @summary Sign in with phone.
|
|
7797
7834
|
*/
|
|
7798
|
-
declare const
|
|
7835
|
+
declare const postSignInPhoneNumber: (postSignInPhoneNumberBody: PostSignInPhoneNumberBody, options?: SecondParameter$j<typeof openfortApiClient<PostSignInPhoneNumber200>>) => Promise<PostSignInPhoneNumber200>;
|
|
7799
7836
|
/**
|
|
7800
|
-
*
|
|
7837
|
+
* Use this endpoint to send OTP to phone number
|
|
7838
|
+
* @summary Send OTP to phone number.
|
|
7801
7839
|
*/
|
|
7802
|
-
declare const
|
|
7840
|
+
declare const postPhoneNumberSendOtp: (postPhoneNumberSendOtpBody: PostPhoneNumberSendOtpBody, options?: SecondParameter$j<typeof openfortApiClient<PostPhoneNumberSendOtp200>>) => Promise<PostPhoneNumberSendOtp200>;
|
|
7803
7841
|
/**
|
|
7804
|
-
*
|
|
7842
|
+
* Use this endpoint to verify phone number
|
|
7843
|
+
* @summary Verify phone OTP.
|
|
7805
7844
|
*/
|
|
7806
|
-
declare const
|
|
7845
|
+
declare const postPhoneNumberVerify: (postPhoneNumberVerifyBody: PostPhoneNumberVerifyBody, options?: SecondParameter$j<typeof openfortApiClient<PostPhoneNumberVerify200>>) => Promise<PostPhoneNumberVerify200>;
|
|
7807
7846
|
/**
|
|
7808
|
-
*
|
|
7847
|
+
* Request OTP for password reset via phone number
|
|
7848
|
+
* @summary Reset password reset with phone(forget password flow).
|
|
7809
7849
|
*/
|
|
7810
|
-
declare const
|
|
7850
|
+
declare const postPhoneNumberForgetPassword: (postPhoneNumberForgetPasswordBody: PostPhoneNumberForgetPasswordBody, options?: SecondParameter$j<typeof openfortApiClient<PostPhoneNumberForgetPassword200>>) => Promise<PostPhoneNumberForgetPassword200>;
|
|
7811
7851
|
/**
|
|
7812
|
-
*
|
|
7852
|
+
* Request OTP for password reset via phone number
|
|
7853
|
+
* @summary Request password reset with phone.
|
|
7813
7854
|
*/
|
|
7814
|
-
declare const
|
|
7815
|
-
type PostEmailOtpSendVerificationOtpResult = NonNullable<Awaited<ReturnType<typeof postEmailOtpSendVerificationOtp>>>;
|
|
7816
|
-
type CheckVerificationOtpResult = NonNullable<Awaited<ReturnType<typeof checkVerificationOtp>>>;
|
|
7817
|
-
type PostEmailOtpVerifyEmailResult = NonNullable<Awaited<ReturnType<typeof postEmailOtpVerifyEmail>>>;
|
|
7818
|
-
type PostSignInEmailOtpResult = NonNullable<Awaited<ReturnType<typeof postSignInEmailOtp>>>;
|
|
7819
|
-
type PostForgetPasswordEmailOtpResult = NonNullable<Awaited<ReturnType<typeof postForgetPasswordEmailOtp>>>;
|
|
7820
|
-
type PostEmailOtpResetPasswordResult = NonNullable<Awaited<ReturnType<typeof postEmailOtpResetPassword>>>;
|
|
7821
|
-
|
|
7822
|
-
type emailOtp_CheckVerificationOtpResult = CheckVerificationOtpResult;
|
|
7823
|
-
type emailOtp_PostEmailOtpResetPasswordResult = PostEmailOtpResetPasswordResult;
|
|
7824
|
-
type emailOtp_PostEmailOtpSendVerificationOtpResult = PostEmailOtpSendVerificationOtpResult;
|
|
7825
|
-
type emailOtp_PostEmailOtpVerifyEmailResult = PostEmailOtpVerifyEmailResult;
|
|
7826
|
-
type emailOtp_PostForgetPasswordEmailOtpResult = PostForgetPasswordEmailOtpResult;
|
|
7827
|
-
type emailOtp_PostSignInEmailOtpResult = PostSignInEmailOtpResult;
|
|
7828
|
-
declare const emailOtp_checkVerificationOtp: typeof checkVerificationOtp;
|
|
7829
|
-
declare const emailOtp_postEmailOtpResetPassword: typeof postEmailOtpResetPassword;
|
|
7830
|
-
declare const emailOtp_postEmailOtpSendVerificationOtp: typeof postEmailOtpSendVerificationOtp;
|
|
7831
|
-
declare const emailOtp_postEmailOtpVerifyEmail: typeof postEmailOtpVerifyEmail;
|
|
7832
|
-
declare const emailOtp_postForgetPasswordEmailOtp: typeof postForgetPasswordEmailOtp;
|
|
7833
|
-
declare const emailOtp_postSignInEmailOtp: typeof postSignInEmailOtp;
|
|
7834
|
-
declare namespace emailOtp {
|
|
7835
|
-
export { type emailOtp_CheckVerificationOtpResult as CheckVerificationOtpResult, type emailOtp_PostEmailOtpResetPasswordResult as PostEmailOtpResetPasswordResult, type emailOtp_PostEmailOtpSendVerificationOtpResult as PostEmailOtpSendVerificationOtpResult, type emailOtp_PostEmailOtpVerifyEmailResult as PostEmailOtpVerifyEmailResult, type emailOtp_PostForgetPasswordEmailOtpResult as PostForgetPasswordEmailOtpResult, type emailOtp_PostSignInEmailOtpResult as PostSignInEmailOtpResult, emailOtp_checkVerificationOtp as checkVerificationOtp, emailOtp_postEmailOtpResetPassword as postEmailOtpResetPassword, emailOtp_postEmailOtpSendVerificationOtp as postEmailOtpSendVerificationOtp, emailOtp_postEmailOtpVerifyEmail as postEmailOtpVerifyEmail, emailOtp_postForgetPasswordEmailOtp as postForgetPasswordEmailOtp, emailOtp_postSignInEmailOtp as postSignInEmailOtp };
|
|
7836
|
-
}
|
|
7837
|
-
|
|
7838
|
-
/**
|
|
7839
|
-
* Generated by orval v7.17.0 🍺
|
|
7840
|
-
* Do not edit manually.
|
|
7841
|
-
* Openfort Auth
|
|
7842
|
-
* API Reference for Openfort Auth
|
|
7843
|
-
* OpenAPI spec version: 1.0.0
|
|
7844
|
-
*/
|
|
7845
|
-
|
|
7846
|
-
type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7855
|
+
declare const postPhoneNumberRequestPasswordReset: (postPhoneNumberRequestPasswordResetBody: PostPhoneNumberRequestPasswordResetBody, options?: SecondParameter$j<typeof openfortApiClient<PostPhoneNumberRequestPasswordReset200>>) => Promise<PostPhoneNumberRequestPasswordReset200>;
|
|
7847
7856
|
/**
|
|
7848
|
-
*
|
|
7857
|
+
* Reset password using phone number OTP
|
|
7858
|
+
* @summary Reset password with phone OTP.
|
|
7849
7859
|
*/
|
|
7850
|
-
declare const
|
|
7860
|
+
declare const postPhoneNumberResetPassword: (postPhoneNumberResetPasswordBody: PostPhoneNumberResetPasswordBody, options?: SecondParameter$j<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
|
|
7851
7861
|
/**
|
|
7852
|
-
*
|
|
7862
|
+
* Send verification OTP
|
|
7863
|
+
* @summary Request email verification with OTP.
|
|
7853
7864
|
*/
|
|
7854
|
-
declare const
|
|
7865
|
+
declare const postEmailOtpSendVerificationOtp: (postEmailOtpSendVerificationOtpBody: PostEmailOtpSendVerificationOtpBody, options?: SecondParameter$j<typeof openfortApiClient<PostEmailOtpSendVerificationOtp200>>) => Promise<PostEmailOtpSendVerificationOtp200>;
|
|
7855
7866
|
/**
|
|
7856
|
-
*
|
|
7867
|
+
* Check if a verification OTP is valid
|
|
7868
|
+
* @summary Check email OTP.
|
|
7857
7869
|
*/
|
|
7858
|
-
declare const
|
|
7870
|
+
declare const checkVerificationOtp: (checkVerificationOtpBody: CheckVerificationOtpBody, options?: SecondParameter$j<typeof openfortApiClient<CheckVerificationOtp200>>) => Promise<CheckVerificationOtp200>;
|
|
7859
7871
|
/**
|
|
7860
|
-
*
|
|
7872
|
+
* Verify email with OTP
|
|
7873
|
+
* @summary Verify email with OTP.
|
|
7861
7874
|
*/
|
|
7862
|
-
declare const
|
|
7875
|
+
declare const postEmailOtpVerifyEmail: (postEmailOtpVerifyEmailBody: PostEmailOtpVerifyEmailBody, options?: SecondParameter$j<typeof openfortApiClient<PostEmailOtpVerifyEmail200>>) => Promise<PostEmailOtpVerifyEmail200>;
|
|
7863
7876
|
/**
|
|
7864
|
-
*
|
|
7877
|
+
* Sign in with OTP
|
|
7878
|
+
* @summary Sign in with email OTP.
|
|
7865
7879
|
*/
|
|
7866
|
-
declare const
|
|
7880
|
+
declare const postSignInEmailOtp: (postSignInEmailOtpBody: PostSignInEmailOtpBody, options?: SecondParameter$j<typeof openfortApiClient<PostSignInEmailOtp200>>) => Promise<PostSignInEmailOtp200>;
|
|
7867
7881
|
/**
|
|
7868
|
-
*
|
|
7882
|
+
* Send a password reset OTP to the user
|
|
7883
|
+
* @summary Request password reset with email OTP.
|
|
7869
7884
|
*/
|
|
7870
|
-
declare const
|
|
7871
|
-
type PostSignInPhoneNumberResult = NonNullable<Awaited<ReturnType<typeof postSignInPhoneNumber>>>;
|
|
7872
|
-
type PostPhoneNumberSendOtpResult = NonNullable<Awaited<ReturnType<typeof postPhoneNumberSendOtp>>>;
|
|
7873
|
-
type PostPhoneNumberVerifyResult = NonNullable<Awaited<ReturnType<typeof postPhoneNumberVerify>>>;
|
|
7874
|
-
type PostPhoneNumberForgetPasswordResult = NonNullable<Awaited<ReturnType<typeof postPhoneNumberForgetPassword>>>;
|
|
7875
|
-
type PostPhoneNumberRequestPasswordResetResult = NonNullable<Awaited<ReturnType<typeof postPhoneNumberRequestPasswordReset>>>;
|
|
7876
|
-
type PostPhoneNumberResetPasswordResult = NonNullable<Awaited<ReturnType<typeof postPhoneNumberResetPassword>>>;
|
|
7877
|
-
|
|
7878
|
-
type phoneNumber_PostPhoneNumberForgetPasswordResult = PostPhoneNumberForgetPasswordResult;
|
|
7879
|
-
type phoneNumber_PostPhoneNumberRequestPasswordResetResult = PostPhoneNumberRequestPasswordResetResult;
|
|
7880
|
-
type phoneNumber_PostPhoneNumberResetPasswordResult = PostPhoneNumberResetPasswordResult;
|
|
7881
|
-
type phoneNumber_PostPhoneNumberSendOtpResult = PostPhoneNumberSendOtpResult;
|
|
7882
|
-
type phoneNumber_PostPhoneNumberVerifyResult = PostPhoneNumberVerifyResult;
|
|
7883
|
-
type phoneNumber_PostSignInPhoneNumberResult = PostSignInPhoneNumberResult;
|
|
7884
|
-
declare const phoneNumber_postPhoneNumberForgetPassword: typeof postPhoneNumberForgetPassword;
|
|
7885
|
-
declare const phoneNumber_postPhoneNumberRequestPasswordReset: typeof postPhoneNumberRequestPasswordReset;
|
|
7886
|
-
declare const phoneNumber_postPhoneNumberResetPassword: typeof postPhoneNumberResetPassword;
|
|
7887
|
-
declare const phoneNumber_postPhoneNumberSendOtp: typeof postPhoneNumberSendOtp;
|
|
7888
|
-
declare const phoneNumber_postPhoneNumberVerify: typeof postPhoneNumberVerify;
|
|
7889
|
-
declare const phoneNumber_postSignInPhoneNumber: typeof postSignInPhoneNumber;
|
|
7890
|
-
declare namespace phoneNumber {
|
|
7891
|
-
export { type phoneNumber_PostPhoneNumberForgetPasswordResult as PostPhoneNumberForgetPasswordResult, type phoneNumber_PostPhoneNumberRequestPasswordResetResult as PostPhoneNumberRequestPasswordResetResult, type phoneNumber_PostPhoneNumberResetPasswordResult as PostPhoneNumberResetPasswordResult, type phoneNumber_PostPhoneNumberSendOtpResult as PostPhoneNumberSendOtpResult, type phoneNumber_PostPhoneNumberVerifyResult as PostPhoneNumberVerifyResult, type phoneNumber_PostSignInPhoneNumberResult as PostSignInPhoneNumberResult, phoneNumber_postPhoneNumberForgetPassword as postPhoneNumberForgetPassword, phoneNumber_postPhoneNumberRequestPasswordReset as postPhoneNumberRequestPasswordReset, phoneNumber_postPhoneNumberResetPassword as postPhoneNumberResetPassword, phoneNumber_postPhoneNumberSendOtp as postPhoneNumberSendOtp, phoneNumber_postPhoneNumberVerify as postPhoneNumberVerify, phoneNumber_postSignInPhoneNumber as postSignInPhoneNumber };
|
|
7892
|
-
}
|
|
7893
|
-
|
|
7885
|
+
declare const postForgetPasswordEmailOtp: (postForgetPasswordEmailOtpBody: PostForgetPasswordEmailOtpBody, options?: SecondParameter$j<typeof openfortApiClient<PostForgetPasswordEmailOtp200>>) => Promise<PostForgetPasswordEmailOtp200>;
|
|
7894
7886
|
/**
|
|
7895
|
-
|
|
7896
|
-
|
|
7897
|
-
|
|
7898
|
-
|
|
7899
|
-
* OpenAPI spec version: 1.0.0
|
|
7900
|
-
*/
|
|
7901
|
-
|
|
7902
|
-
type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7887
|
+
* Reset user password with OTP
|
|
7888
|
+
* @summary Reset password with email OTP.
|
|
7889
|
+
*/
|
|
7890
|
+
declare const postEmailOtpResetPassword: (postEmailOtpResetPasswordBody: PostEmailOtpResetPasswordBody, options?: SecondParameter$j<typeof openfortApiClient<ResetPasswordResponse>>) => Promise<ResetPasswordResponse>;
|
|
7903
7891
|
/**
|
|
7904
7892
|
* Generate a nonce for Sign-In With Ethereum (SIWE) authentication
|
|
7893
|
+
* @summary Initialize SIWE login.
|
|
7905
7894
|
*/
|
|
7906
7895
|
declare const postSiweNonce: (postSiweNonceBody: PostSiweNonceBody, options?: SecondParameter$j<typeof openfortApiClient<PostSiweNonce200>>) => Promise<PostSiweNonce200>;
|
|
7907
7896
|
/**
|
|
7908
7897
|
* Verify a signed SIWE message and authenticate the user
|
|
7898
|
+
* @summary Login with SIWE.
|
|
7909
7899
|
*/
|
|
7910
7900
|
declare const postSiweVerify: (postSiweVerifyBody: PostSiweVerifyBody, options?: SecondParameter$j<typeof openfortApiClient<PostSiweVerify200>>) => Promise<PostSiweVerify200>;
|
|
7911
7901
|
/**
|
|
7912
7902
|
* Generates a cryptographically secure nonce for creating a SIWE message to link a wallet to the current authenticated user. Requires active session.
|
|
7913
|
-
* @summary
|
|
7903
|
+
* @summary Initialize SIWE link.
|
|
7914
7904
|
*/
|
|
7915
7905
|
declare const postLinkSiweNonce: (postLinkSiweNonceBody: PostLinkSiweNonceBody, options?: SecondParameter$j<typeof openfortApiClient<PostLinkSiweNonce200>>) => Promise<PostLinkSiweNonce200>;
|
|
7916
7906
|
/**
|
|
7917
7907
|
* Verifies the SIWE signature and links the wallet to the currently authenticated user. Requires active session.
|
|
7918
|
-
* @summary Verify and link SIWE wallet
|
|
7908
|
+
* @summary Verify and link SIWE wallet.
|
|
7919
7909
|
*/
|
|
7920
7910
|
declare const postLinkSiweVerify: (postLinkSiweVerifyBody: PostLinkSiweVerifyBody, options?: SecondParameter$j<typeof openfortApiClient<PostLinkSiweVerify200>>) => Promise<PostLinkSiweVerify200>;
|
|
7921
7911
|
/**
|
|
7922
7912
|
* Get all SIWE wallets linked to the authenticated user with full wallet metadata including primary status and chain information. Requires active session.
|
|
7923
|
-
* @summary List linked wallets
|
|
7913
|
+
* @summary List linked wallets.
|
|
7924
7914
|
*/
|
|
7925
7915
|
declare const getLinkSiweListWallets: (options?: SecondParameter$j<typeof openfortApiClient<GetLinkSiweListWallets200Item[]>>) => Promise<GetLinkSiweListWallets200Item[]>;
|
|
7926
7916
|
/**
|
|
7927
7917
|
* Remove a linked wallet from the authenticated user account. If the wallet being unlinked is the primary wallet, another wallet will be automatically promoted to primary. Requires active session.
|
|
7928
|
-
* @summary Unlink SIWE wallet
|
|
7918
|
+
* @summary Unlink SIWE wallet.
|
|
7929
7919
|
*/
|
|
7930
7920
|
declare const postLinkSiweUnlink: (postLinkSiweUnlinkBody: PostLinkSiweUnlinkBody, options?: SecondParameter$j<typeof openfortApiClient<PostLinkSiweUnlink200>>) => Promise<PostLinkSiweUnlink200>;
|
|
7921
|
+
type SocialSignInResult = NonNullable<Awaited<ReturnType<typeof socialSignIn>>>;
|
|
7922
|
+
type GetGetSessionResult = NonNullable<Awaited<ReturnType<typeof getGetSession>>>;
|
|
7923
|
+
type PostSignOutResult = NonNullable<Awaited<ReturnType<typeof postSignOut>>>;
|
|
7924
|
+
type PostSignUpEmailResult = NonNullable<Awaited<ReturnType<typeof postSignUpEmail>>>;
|
|
7925
|
+
type PostSignInEmailResult = NonNullable<Awaited<ReturnType<typeof postSignInEmail>>>;
|
|
7926
|
+
type PostForgetPasswordResult = NonNullable<Awaited<ReturnType<typeof postForgetPassword>>>;
|
|
7927
|
+
type PostResetPasswordResult = NonNullable<Awaited<ReturnType<typeof postResetPassword>>>;
|
|
7928
|
+
type GetVerifyEmailResult = NonNullable<Awaited<ReturnType<typeof getVerifyEmail>>>;
|
|
7929
|
+
type PostSendVerificationEmailResult = NonNullable<Awaited<ReturnType<typeof postSendVerificationEmail>>>;
|
|
7930
|
+
type PostChangeEmailResult = NonNullable<Awaited<ReturnType<typeof postChangeEmail>>>;
|
|
7931
|
+
type PostChangePasswordResult = NonNullable<Awaited<ReturnType<typeof postChangePassword>>>;
|
|
7932
|
+
type GetResetPasswordTokenResult = NonNullable<Awaited<ReturnType<typeof getResetPasswordToken>>>;
|
|
7933
|
+
type PostRequestPasswordResetResult = NonNullable<Awaited<ReturnType<typeof postRequestPasswordReset>>>;
|
|
7934
|
+
type GetListSessionsResult = NonNullable<Awaited<ReturnType<typeof getListSessions>>>;
|
|
7935
|
+
type PostRevokeSessionResult = NonNullable<Awaited<ReturnType<typeof postRevokeSession>>>;
|
|
7936
|
+
type PostRevokeSessionsResult = NonNullable<Awaited<ReturnType<typeof postRevokeSessions>>>;
|
|
7937
|
+
type PostRevokeOtherSessionsResult = NonNullable<Awaited<ReturnType<typeof postRevokeOtherSessions>>>;
|
|
7938
|
+
type PostLinkSocialResult = NonNullable<Awaited<ReturnType<typeof postLinkSocial>>>;
|
|
7939
|
+
type GetListAccountsResult = NonNullable<Awaited<ReturnType<typeof getListAccounts>>>;
|
|
7940
|
+
type PostUnlinkAccountResult = NonNullable<Awaited<ReturnType<typeof postUnlinkAccount>>>;
|
|
7941
|
+
type PostRefreshTokenResult = NonNullable<Awaited<ReturnType<typeof postRefreshToken>>>;
|
|
7942
|
+
type PostGetAccessTokenResult = NonNullable<Awaited<ReturnType<typeof postGetAccessToken>>>;
|
|
7943
|
+
type PostAccountInfoResult = NonNullable<Awaited<ReturnType<typeof postAccountInfo>>>;
|
|
7944
|
+
type PostSignInAnonymousResult = NonNullable<Awaited<ReturnType<typeof postSignInAnonymous>>>;
|
|
7945
|
+
type PostSignInPhoneNumberResult = NonNullable<Awaited<ReturnType<typeof postSignInPhoneNumber>>>;
|
|
7946
|
+
type PostPhoneNumberSendOtpResult = NonNullable<Awaited<ReturnType<typeof postPhoneNumberSendOtp>>>;
|
|
7947
|
+
type PostPhoneNumberVerifyResult = NonNullable<Awaited<ReturnType<typeof postPhoneNumberVerify>>>;
|
|
7948
|
+
type PostPhoneNumberForgetPasswordResult = NonNullable<Awaited<ReturnType<typeof postPhoneNumberForgetPassword>>>;
|
|
7949
|
+
type PostPhoneNumberRequestPasswordResetResult = NonNullable<Awaited<ReturnType<typeof postPhoneNumberRequestPasswordReset>>>;
|
|
7950
|
+
type PostPhoneNumberResetPasswordResult = NonNullable<Awaited<ReturnType<typeof postPhoneNumberResetPassword>>>;
|
|
7951
|
+
type PostEmailOtpSendVerificationOtpResult = NonNullable<Awaited<ReturnType<typeof postEmailOtpSendVerificationOtp>>>;
|
|
7952
|
+
type CheckVerificationOtpResult = NonNullable<Awaited<ReturnType<typeof checkVerificationOtp>>>;
|
|
7953
|
+
type PostEmailOtpVerifyEmailResult = NonNullable<Awaited<ReturnType<typeof postEmailOtpVerifyEmail>>>;
|
|
7954
|
+
type PostSignInEmailOtpResult = NonNullable<Awaited<ReturnType<typeof postSignInEmailOtp>>>;
|
|
7955
|
+
type PostForgetPasswordEmailOtpResult = NonNullable<Awaited<ReturnType<typeof postForgetPasswordEmailOtp>>>;
|
|
7956
|
+
type PostEmailOtpResetPasswordResult = NonNullable<Awaited<ReturnType<typeof postEmailOtpResetPassword>>>;
|
|
7931
7957
|
type PostSiweNonceResult = NonNullable<Awaited<ReturnType<typeof postSiweNonce>>>;
|
|
7932
7958
|
type PostSiweVerifyResult = NonNullable<Awaited<ReturnType<typeof postSiweVerify>>>;
|
|
7933
7959
|
type PostLinkSiweNonceResult = NonNullable<Awaited<ReturnType<typeof postLinkSiweNonce>>>;
|
|
@@ -7935,24 +7961,96 @@ type PostLinkSiweVerifyResult = NonNullable<Awaited<ReturnType<typeof postLinkSi
|
|
|
7935
7961
|
type GetLinkSiweListWalletsResult = NonNullable<Awaited<ReturnType<typeof getLinkSiweListWallets>>>;
|
|
7936
7962
|
type PostLinkSiweUnlinkResult = NonNullable<Awaited<ReturnType<typeof postLinkSiweUnlink>>>;
|
|
7937
7963
|
|
|
7938
|
-
type
|
|
7939
|
-
type
|
|
7940
|
-
type
|
|
7941
|
-
type
|
|
7942
|
-
type
|
|
7943
|
-
type
|
|
7944
|
-
|
|
7945
|
-
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
|
|
7951
|
-
|
|
7952
|
-
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
|
|
7964
|
+
type authV2_CheckVerificationOtpResult = CheckVerificationOtpResult;
|
|
7965
|
+
type authV2_GetGetSessionResult = GetGetSessionResult;
|
|
7966
|
+
type authV2_GetLinkSiweListWalletsResult = GetLinkSiweListWalletsResult;
|
|
7967
|
+
type authV2_GetListAccountsResult = GetListAccountsResult;
|
|
7968
|
+
type authV2_GetListSessionsResult = GetListSessionsResult;
|
|
7969
|
+
type authV2_GetResetPasswordTokenResult = GetResetPasswordTokenResult;
|
|
7970
|
+
type authV2_GetVerifyEmailResult = GetVerifyEmailResult;
|
|
7971
|
+
type authV2_PostAccountInfoResult = PostAccountInfoResult;
|
|
7972
|
+
type authV2_PostChangeEmailResult = PostChangeEmailResult;
|
|
7973
|
+
type authV2_PostChangePasswordResult = PostChangePasswordResult;
|
|
7974
|
+
type authV2_PostEmailOtpResetPasswordResult = PostEmailOtpResetPasswordResult;
|
|
7975
|
+
type authV2_PostEmailOtpSendVerificationOtpResult = PostEmailOtpSendVerificationOtpResult;
|
|
7976
|
+
type authV2_PostEmailOtpVerifyEmailResult = PostEmailOtpVerifyEmailResult;
|
|
7977
|
+
type authV2_PostForgetPasswordEmailOtpResult = PostForgetPasswordEmailOtpResult;
|
|
7978
|
+
type authV2_PostForgetPasswordResult = PostForgetPasswordResult;
|
|
7979
|
+
type authV2_PostGetAccessTokenResult = PostGetAccessTokenResult;
|
|
7980
|
+
type authV2_PostLinkSiweNonceResult = PostLinkSiweNonceResult;
|
|
7981
|
+
type authV2_PostLinkSiweUnlinkResult = PostLinkSiweUnlinkResult;
|
|
7982
|
+
type authV2_PostLinkSiweVerifyResult = PostLinkSiweVerifyResult;
|
|
7983
|
+
type authV2_PostLinkSocialResult = PostLinkSocialResult;
|
|
7984
|
+
type authV2_PostPhoneNumberForgetPasswordResult = PostPhoneNumberForgetPasswordResult;
|
|
7985
|
+
type authV2_PostPhoneNumberRequestPasswordResetResult = PostPhoneNumberRequestPasswordResetResult;
|
|
7986
|
+
type authV2_PostPhoneNumberResetPasswordResult = PostPhoneNumberResetPasswordResult;
|
|
7987
|
+
type authV2_PostPhoneNumberSendOtpResult = PostPhoneNumberSendOtpResult;
|
|
7988
|
+
type authV2_PostPhoneNumberVerifyResult = PostPhoneNumberVerifyResult;
|
|
7989
|
+
type authV2_PostRefreshTokenResult = PostRefreshTokenResult;
|
|
7990
|
+
type authV2_PostRequestPasswordResetResult = PostRequestPasswordResetResult;
|
|
7991
|
+
type authV2_PostResetPasswordResult = PostResetPasswordResult;
|
|
7992
|
+
type authV2_PostRevokeOtherSessionsResult = PostRevokeOtherSessionsResult;
|
|
7993
|
+
type authV2_PostRevokeSessionResult = PostRevokeSessionResult;
|
|
7994
|
+
type authV2_PostRevokeSessionsResult = PostRevokeSessionsResult;
|
|
7995
|
+
type authV2_PostSendVerificationEmailResult = PostSendVerificationEmailResult;
|
|
7996
|
+
type authV2_PostSignInAnonymousResult = PostSignInAnonymousResult;
|
|
7997
|
+
type authV2_PostSignInEmailOtpResult = PostSignInEmailOtpResult;
|
|
7998
|
+
type authV2_PostSignInEmailResult = PostSignInEmailResult;
|
|
7999
|
+
type authV2_PostSignInPhoneNumberResult = PostSignInPhoneNumberResult;
|
|
8000
|
+
type authV2_PostSignOutResult = PostSignOutResult;
|
|
8001
|
+
type authV2_PostSignUpEmailResult = PostSignUpEmailResult;
|
|
8002
|
+
type authV2_PostSiweNonceResult = PostSiweNonceResult;
|
|
8003
|
+
type authV2_PostSiweVerifyResult = PostSiweVerifyResult;
|
|
8004
|
+
type authV2_PostUnlinkAccountResult = PostUnlinkAccountResult;
|
|
8005
|
+
type authV2_SocialSignInResult = SocialSignInResult;
|
|
8006
|
+
declare const authV2_checkVerificationOtp: typeof checkVerificationOtp;
|
|
8007
|
+
declare const authV2_getGetSession: typeof getGetSession;
|
|
8008
|
+
declare const authV2_getLinkSiweListWallets: typeof getLinkSiweListWallets;
|
|
8009
|
+
declare const authV2_getListAccounts: typeof getListAccounts;
|
|
8010
|
+
declare const authV2_getListSessions: typeof getListSessions;
|
|
8011
|
+
declare const authV2_getResetPasswordToken: typeof getResetPasswordToken;
|
|
8012
|
+
declare const authV2_getVerifyEmail: typeof getVerifyEmail;
|
|
8013
|
+
declare const authV2_postAccountInfo: typeof postAccountInfo;
|
|
8014
|
+
declare const authV2_postChangeEmail: typeof postChangeEmail;
|
|
8015
|
+
declare const authV2_postChangePassword: typeof postChangePassword;
|
|
8016
|
+
declare const authV2_postEmailOtpResetPassword: typeof postEmailOtpResetPassword;
|
|
8017
|
+
declare const authV2_postEmailOtpSendVerificationOtp: typeof postEmailOtpSendVerificationOtp;
|
|
8018
|
+
declare const authV2_postEmailOtpVerifyEmail: typeof postEmailOtpVerifyEmail;
|
|
8019
|
+
declare const authV2_postForgetPassword: typeof postForgetPassword;
|
|
8020
|
+
declare const authV2_postForgetPasswordEmailOtp: typeof postForgetPasswordEmailOtp;
|
|
8021
|
+
declare const authV2_postGetAccessToken: typeof postGetAccessToken;
|
|
8022
|
+
declare const authV2_postLinkSiweNonce: typeof postLinkSiweNonce;
|
|
8023
|
+
declare const authV2_postLinkSiweUnlink: typeof postLinkSiweUnlink;
|
|
8024
|
+
declare const authV2_postLinkSiweVerify: typeof postLinkSiweVerify;
|
|
8025
|
+
declare const authV2_postLinkSocial: typeof postLinkSocial;
|
|
8026
|
+
declare const authV2_postPhoneNumberForgetPassword: typeof postPhoneNumberForgetPassword;
|
|
8027
|
+
declare const authV2_postPhoneNumberRequestPasswordReset: typeof postPhoneNumberRequestPasswordReset;
|
|
8028
|
+
declare const authV2_postPhoneNumberResetPassword: typeof postPhoneNumberResetPassword;
|
|
8029
|
+
declare const authV2_postPhoneNumberSendOtp: typeof postPhoneNumberSendOtp;
|
|
8030
|
+
declare const authV2_postPhoneNumberVerify: typeof postPhoneNumberVerify;
|
|
8031
|
+
declare const authV2_postRefreshToken: typeof postRefreshToken;
|
|
8032
|
+
declare const authV2_postRequestPasswordReset: typeof postRequestPasswordReset;
|
|
8033
|
+
declare const authV2_postResetPassword: typeof postResetPassword;
|
|
8034
|
+
declare const authV2_postRevokeOtherSessions: typeof postRevokeOtherSessions;
|
|
8035
|
+
declare const authV2_postRevokeSession: typeof postRevokeSession;
|
|
8036
|
+
declare const authV2_postRevokeSessions: typeof postRevokeSessions;
|
|
8037
|
+
declare const authV2_postSendVerificationEmail: typeof postSendVerificationEmail;
|
|
8038
|
+
declare const authV2_postSignInAnonymous: typeof postSignInAnonymous;
|
|
8039
|
+
declare const authV2_postSignInEmail: typeof postSignInEmail;
|
|
8040
|
+
declare const authV2_postSignInEmailOtp: typeof postSignInEmailOtp;
|
|
8041
|
+
declare const authV2_postSignInPhoneNumber: typeof postSignInPhoneNumber;
|
|
8042
|
+
declare const authV2_postSignOut: typeof postSignOut;
|
|
8043
|
+
declare const authV2_postSignUpEmail: typeof postSignUpEmail;
|
|
8044
|
+
declare const authV2_postSiweNonce: typeof postSiweNonce;
|
|
8045
|
+
declare const authV2_postSiweVerify: typeof postSiweVerify;
|
|
8046
|
+
declare const authV2_postUnlinkAccount: typeof postUnlinkAccount;
|
|
8047
|
+
declare const authV2_socialSignIn: typeof socialSignIn;
|
|
8048
|
+
declare namespace authV2 {
|
|
8049
|
+
export { type authV2_CheckVerificationOtpResult as CheckVerificationOtpResult, type authV2_GetGetSessionResult as GetGetSessionResult, type authV2_GetLinkSiweListWalletsResult as GetLinkSiweListWalletsResult, type authV2_GetListAccountsResult as GetListAccountsResult, type authV2_GetListSessionsResult as GetListSessionsResult, type authV2_GetResetPasswordTokenResult as GetResetPasswordTokenResult, type authV2_GetVerifyEmailResult as GetVerifyEmailResult, type authV2_PostAccountInfoResult as PostAccountInfoResult, type authV2_PostChangeEmailResult as PostChangeEmailResult, type authV2_PostChangePasswordResult as PostChangePasswordResult, type authV2_PostEmailOtpResetPasswordResult as PostEmailOtpResetPasswordResult, type authV2_PostEmailOtpSendVerificationOtpResult as PostEmailOtpSendVerificationOtpResult, type authV2_PostEmailOtpVerifyEmailResult as PostEmailOtpVerifyEmailResult, type authV2_PostForgetPasswordEmailOtpResult as PostForgetPasswordEmailOtpResult, type authV2_PostForgetPasswordResult as PostForgetPasswordResult, type authV2_PostGetAccessTokenResult as PostGetAccessTokenResult, type authV2_PostLinkSiweNonceResult as PostLinkSiweNonceResult, type authV2_PostLinkSiweUnlinkResult as PostLinkSiweUnlinkResult, type authV2_PostLinkSiweVerifyResult as PostLinkSiweVerifyResult, type authV2_PostLinkSocialResult as PostLinkSocialResult, type authV2_PostPhoneNumberForgetPasswordResult as PostPhoneNumberForgetPasswordResult, type authV2_PostPhoneNumberRequestPasswordResetResult as PostPhoneNumberRequestPasswordResetResult, type authV2_PostPhoneNumberResetPasswordResult as PostPhoneNumberResetPasswordResult, type authV2_PostPhoneNumberSendOtpResult as PostPhoneNumberSendOtpResult, type authV2_PostPhoneNumberVerifyResult as PostPhoneNumberVerifyResult, type authV2_PostRefreshTokenResult as PostRefreshTokenResult, type authV2_PostRequestPasswordResetResult as PostRequestPasswordResetResult, type authV2_PostResetPasswordResult as PostResetPasswordResult, type authV2_PostRevokeOtherSessionsResult as PostRevokeOtherSessionsResult, type authV2_PostRevokeSessionResult as PostRevokeSessionResult, type authV2_PostRevokeSessionsResult as PostRevokeSessionsResult, type authV2_PostSendVerificationEmailResult as PostSendVerificationEmailResult, type authV2_PostSignInAnonymousResult as PostSignInAnonymousResult, type authV2_PostSignInEmailOtpResult as PostSignInEmailOtpResult, type authV2_PostSignInEmailResult as PostSignInEmailResult, type authV2_PostSignInPhoneNumberResult as PostSignInPhoneNumberResult, type authV2_PostSignOutResult as PostSignOutResult, type authV2_PostSignUpEmailResult as PostSignUpEmailResult, type authV2_PostSiweNonceResult as PostSiweNonceResult, type authV2_PostSiweVerifyResult as PostSiweVerifyResult, type authV2_PostUnlinkAccountResult as PostUnlinkAccountResult, type authV2_SocialSignInResult as SocialSignInResult, authV2_checkVerificationOtp as checkVerificationOtp, authV2_getGetSession as getGetSession, authV2_getLinkSiweListWallets as getLinkSiweListWallets, authV2_getListAccounts as getListAccounts, authV2_getListSessions as getListSessions, authV2_getResetPasswordToken as getResetPasswordToken, authV2_getVerifyEmail as getVerifyEmail, authV2_postAccountInfo as postAccountInfo, authV2_postChangeEmail as postChangeEmail, authV2_postChangePassword as postChangePassword, authV2_postEmailOtpResetPassword as postEmailOtpResetPassword, authV2_postEmailOtpSendVerificationOtp as postEmailOtpSendVerificationOtp, authV2_postEmailOtpVerifyEmail as postEmailOtpVerifyEmail, authV2_postForgetPassword as postForgetPassword, authV2_postForgetPasswordEmailOtp as postForgetPasswordEmailOtp, authV2_postGetAccessToken as postGetAccessToken, authV2_postLinkSiweNonce as postLinkSiweNonce, authV2_postLinkSiweUnlink as postLinkSiweUnlink, authV2_postLinkSiweVerify as postLinkSiweVerify, authV2_postLinkSocial as postLinkSocial, authV2_postPhoneNumberForgetPassword as postPhoneNumberForgetPassword, authV2_postPhoneNumberRequestPasswordReset as postPhoneNumberRequestPasswordReset, authV2_postPhoneNumberResetPassword as postPhoneNumberResetPassword, authV2_postPhoneNumberSendOtp as postPhoneNumberSendOtp, authV2_postPhoneNumberVerify as postPhoneNumberVerify, authV2_postRefreshToken as postRefreshToken, authV2_postRequestPasswordReset as postRequestPasswordReset, authV2_postResetPassword as postResetPassword, authV2_postRevokeOtherSessions as postRevokeOtherSessions, authV2_postRevokeSession as postRevokeSession, authV2_postRevokeSessions as postRevokeSessions, authV2_postSendVerificationEmail as postSendVerificationEmail, authV2_postSignInAnonymous as postSignInAnonymous, authV2_postSignInEmail as postSignInEmail, authV2_postSignInEmailOtp as postSignInEmailOtp, authV2_postSignInPhoneNumber as postSignInPhoneNumber, authV2_postSignOut as postSignOut, authV2_postSignUpEmail as postSignUpEmail, authV2_postSiweNonce as postSiweNonce, authV2_postSiweVerify as postSiweVerify, authV2_postUnlinkAccount as postUnlinkAccount, authV2_socialSignIn as socialSignIn };
|
|
8050
|
+
}
|
|
8051
|
+
|
|
8052
|
+
/**
|
|
8053
|
+
* Generated by orval v7.18.0 🍺
|
|
7956
8054
|
* Do not edit manually.
|
|
7957
8055
|
* Openfort API
|
|
7958
8056
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8092,7 +8190,7 @@ type GetJwksResult = NonNullable<Awaited<ReturnType<typeof getJwks>>>;
|
|
|
8092
8190
|
type MeResult = NonNullable<Awaited<ReturnType<typeof me>>>;
|
|
8093
8191
|
|
|
8094
8192
|
/**
|
|
8095
|
-
* Generated by orval v7.
|
|
8193
|
+
* Generated by orval v7.18.0 🍺
|
|
8096
8194
|
* Do not edit manually.
|
|
8097
8195
|
* Openfort API
|
|
8098
8196
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8100,30 +8198,13 @@ type MeResult = NonNullable<Awaited<ReturnType<typeof me>>>;
|
|
|
8100
8198
|
*/
|
|
8101
8199
|
|
|
8102
8200
|
type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8103
|
-
declare const meV2: (options?: SecondParameter$h<typeof openfortApiClient<AuthUserResponse>>) => Promise<AuthUserResponse>;
|
|
8104
|
-
/**
|
|
8105
|
-
* @summary Verify oauth token of a third party auth provider.
|
|
8106
|
-
*/
|
|
8107
|
-
declare const thirdPartyV2: (thirdPartyOAuthRequest: ThirdPartyOAuthRequest, options?: SecondParameter$h<typeof openfortApiClient<AuthUserResponse>>) => Promise<AuthUserResponse>;
|
|
8108
|
-
type MeV2Result = NonNullable<Awaited<ReturnType<typeof meV2>>>;
|
|
8109
|
-
type ThirdPartyV2Result = NonNullable<Awaited<ReturnType<typeof thirdPartyV2>>>;
|
|
8110
|
-
|
|
8111
|
-
/**
|
|
8112
|
-
* Generated by orval v7.17.0 🍺
|
|
8113
|
-
* Do not edit manually.
|
|
8114
|
-
* Openfort API
|
|
8115
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8116
|
-
* OpenAPI spec version: 1.0.0
|
|
8117
|
-
*/
|
|
8118
|
-
|
|
8119
|
-
type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8120
8201
|
/**
|
|
8121
8202
|
* List backend wallets.
|
|
8122
8203
|
|
|
8123
8204
|
Returns a paginated list of backend wallets for the project.
|
|
8124
8205
|
* @summary List backend wallets.
|
|
8125
8206
|
*/
|
|
8126
|
-
declare const listBackendWallets: (params?: ListBackendWalletsParams, options?: SecondParameter$
|
|
8207
|
+
declare const listBackendWallets: (params?: ListBackendWalletsParams, options?: SecondParameter$h<typeof openfortApiClient<BackendWalletListResponse>>) => Promise<BackendWalletListResponse>;
|
|
8127
8208
|
/**
|
|
8128
8209
|
* Create a new backend wallet account.
|
|
8129
8210
|
|
|
@@ -8131,21 +8212,21 @@ Generates a new keypair securely in the backend wallet system.
|
|
|
8131
8212
|
The private key is stored encrypted and never exposed.
|
|
8132
8213
|
* @summary Create backend wallet.
|
|
8133
8214
|
*/
|
|
8134
|
-
declare const createBackendWallet: (createBackendWalletRequest: CreateBackendWalletRequest, options?: SecondParameter$
|
|
8215
|
+
declare const createBackendWallet: (createBackendWalletRequest: CreateBackendWalletRequest, options?: SecondParameter$h<typeof openfortApiClient<CreateBackendWalletResponse>>) => Promise<CreateBackendWalletResponse>;
|
|
8135
8216
|
/**
|
|
8136
8217
|
* Get backend wallet details.
|
|
8137
8218
|
|
|
8138
8219
|
Returns details for a specific backend wallet.
|
|
8139
8220
|
* @summary Get backend wallet.
|
|
8140
8221
|
*/
|
|
8141
|
-
declare const getBackendWallet: (id: string, options?: SecondParameter$
|
|
8222
|
+
declare const getBackendWallet: (id: string, options?: SecondParameter$h<typeof openfortApiClient<BackendWalletResponse>>) => Promise<BackendWalletResponse>;
|
|
8142
8223
|
/**
|
|
8143
8224
|
* Delete a backend wallet.
|
|
8144
8225
|
|
|
8145
8226
|
Permanently deletes a backend wallet and its associated private key.
|
|
8146
8227
|
* @summary Delete backend wallet.
|
|
8147
8228
|
*/
|
|
8148
|
-
declare const deleteBackendWallet: (id: string, options?: SecondParameter$
|
|
8229
|
+
declare const deleteBackendWallet: (id: string, options?: SecondParameter$h<typeof openfortApiClient<DeleteBackendWalletResponse>>) => Promise<DeleteBackendWalletResponse>;
|
|
8149
8230
|
/**
|
|
8150
8231
|
* Sign data via backend wallet.
|
|
8151
8232
|
|
|
@@ -8153,7 +8234,7 @@ Signs the provided data using the account's private key managed by the backend w
|
|
|
8153
8234
|
The private key is securely stored and never exposed.
|
|
8154
8235
|
* @summary Sign data via backend wallet.
|
|
8155
8236
|
*/
|
|
8156
|
-
declare const sign: (id: string, signRequest: SignRequest, options?: SecondParameter$
|
|
8237
|
+
declare const sign: (id: string, signRequest: SignRequest, options?: SecondParameter$h<typeof openfortApiClient<SignResponse>>) => Promise<SignResponse>;
|
|
8157
8238
|
/**
|
|
8158
8239
|
* Export private key with E2E encryption via backend wallet.
|
|
8159
8240
|
|
|
@@ -8162,7 +8243,7 @@ The client must provide their ephemeral RSA-4096 public key (base64 SPKI DER for
|
|
|
8162
8243
|
The response contains the encrypted private key that can be decrypted with the client's private key.
|
|
8163
8244
|
* @summary Export private key (E2E encrypted).
|
|
8164
8245
|
*/
|
|
8165
|
-
declare const exportPrivateKey: (id: string, exportPrivateKeyRequest: ExportPrivateKeyRequest, options?: SecondParameter$
|
|
8246
|
+
declare const exportPrivateKey: (id: string, exportPrivateKeyRequest: ExportPrivateKeyRequest, options?: SecondParameter$h<typeof openfortApiClient<ExportPrivateKeyResponse>>) => Promise<ExportPrivateKeyResponse>;
|
|
8166
8247
|
/**
|
|
8167
8248
|
* Import private key with E2E encryption via backend wallet.
|
|
8168
8249
|
|
|
@@ -8171,7 +8252,7 @@ The private key must be encrypted using RSA-4096 OAEP SHA-256 with the server's
|
|
|
8171
8252
|
static import public key (obtain out-of-band from SDK or documentation).
|
|
8172
8253
|
* @summary Import private key (E2E encrypted).
|
|
8173
8254
|
*/
|
|
8174
|
-
declare const importPrivateKey: (importPrivateKeyRequest: ImportPrivateKeyRequest, options?: SecondParameter$
|
|
8255
|
+
declare const importPrivateKey: (importPrivateKeyRequest: ImportPrivateKeyRequest, options?: SecondParameter$h<typeof openfortApiClient<ImportPrivateKeyResponse>>) => Promise<ImportPrivateKeyResponse>;
|
|
8175
8256
|
/**
|
|
8176
8257
|
* Register a new wallet secret (authentication key).
|
|
8177
8258
|
|
|
@@ -8180,7 +8261,7 @@ X-Wallet-Auth JWT signatures. This is required before using WALLET_AUTH
|
|
|
8180
8261
|
for other backend wallet operations.
|
|
8181
8262
|
* @summary Register wallet secret.
|
|
8182
8263
|
*/
|
|
8183
|
-
declare const registerWalletSecret: (registerWalletSecretRequest: RegisterWalletSecretRequest, options?: SecondParameter$
|
|
8264
|
+
declare const registerWalletSecret: (registerWalletSecretRequest: RegisterWalletSecretRequest, options?: SecondParameter$h<typeof openfortApiClient<RegisterWalletSecretResponse>>) => Promise<RegisterWalletSecretResponse>;
|
|
8184
8265
|
/**
|
|
8185
8266
|
* Revoke a wallet secret (authentication key).
|
|
8186
8267
|
|
|
@@ -8188,7 +8269,7 @@ Permanently revokes a wallet secret so it can no longer be used
|
|
|
8188
8269
|
for X-Wallet-Auth JWT signing.
|
|
8189
8270
|
* @summary Revoke wallet secret.
|
|
8190
8271
|
*/
|
|
8191
|
-
declare const revokeWalletSecret: (revokeWalletSecretRequest: RevokeWalletSecretRequest, options?: SecondParameter$
|
|
8272
|
+
declare const revokeWalletSecret: (revokeWalletSecretRequest: RevokeWalletSecretRequest, options?: SecondParameter$h<typeof openfortApiClient<RevokeWalletSecretResponse>>) => Promise<RevokeWalletSecretResponse>;
|
|
8192
8273
|
/**
|
|
8193
8274
|
* Rotate wallet secret (authentication key).
|
|
8194
8275
|
|
|
@@ -8196,7 +8277,7 @@ Replaces the current wallet secret (ECDSA P-256 public key) used for
|
|
|
8196
8277
|
X-Wallet-Auth JWT signing. The old secret will be revoked.
|
|
8197
8278
|
* @summary Rotate wallet secret.
|
|
8198
8279
|
*/
|
|
8199
|
-
declare const rotateWalletSecret: (rotateWalletSecretRequest: RotateWalletSecretRequest, options?: SecondParameter$
|
|
8280
|
+
declare const rotateWalletSecret: (rotateWalletSecretRequest: RotateWalletSecretRequest, options?: SecondParameter$h<typeof openfortApiClient<RotateWalletSecretResponse>>) => Promise<RotateWalletSecretResponse>;
|
|
8200
8281
|
type ListBackendWalletsResult = NonNullable<Awaited<ReturnType<typeof listBackendWallets>>>;
|
|
8201
8282
|
type CreateBackendWalletResult = NonNullable<Awaited<ReturnType<typeof createBackendWallet>>>;
|
|
8202
8283
|
type GetBackendWalletResult = NonNullable<Awaited<ReturnType<typeof getBackendWallet>>>;
|
|
@@ -8209,39 +8290,39 @@ type RevokeWalletSecretResult = NonNullable<Awaited<ReturnType<typeof revokeWall
|
|
|
8209
8290
|
type RotateWalletSecretResult = NonNullable<Awaited<ReturnType<typeof rotateWalletSecret>>>;
|
|
8210
8291
|
|
|
8211
8292
|
/**
|
|
8212
|
-
* Generated by orval v7.
|
|
8293
|
+
* Generated by orval v7.18.0 🍺
|
|
8213
8294
|
* Do not edit manually.
|
|
8214
8295
|
* Openfort API
|
|
8215
8296
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8216
8297
|
* OpenAPI spec version: 1.0.0
|
|
8217
8298
|
*/
|
|
8218
8299
|
|
|
8219
|
-
type SecondParameter$
|
|
8300
|
+
type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8220
8301
|
/**
|
|
8221
8302
|
* List of all contracts per project.
|
|
8222
8303
|
By default, a maximum of ten contracts are shown.
|
|
8223
8304
|
* @summary List contracts.
|
|
8224
8305
|
*/
|
|
8225
|
-
declare const getContracts: (params?: GetContractsParams, options?: SecondParameter$
|
|
8306
|
+
declare const getContracts: (params?: GetContractsParams, options?: SecondParameter$g<typeof openfortApiClient<ContractListResponse>>) => Promise<ContractListResponse>;
|
|
8226
8307
|
/**
|
|
8227
8308
|
* Add a new contract to your project in Openfort
|
|
8228
8309
|
* @summary Create contract object.
|
|
8229
8310
|
*/
|
|
8230
|
-
declare const createContract: (createContractRequest: CreateContractRequest, options?: SecondParameter$
|
|
8311
|
+
declare const createContract: (createContractRequest: CreateContractRequest, options?: SecondParameter$g<typeof openfortApiClient<ContractResponse>>) => Promise<ContractResponse>;
|
|
8231
8312
|
/**
|
|
8232
8313
|
* Retrieve a contract by providing their contract id.
|
|
8233
8314
|
* @summary Get a contract.
|
|
8234
8315
|
*/
|
|
8235
|
-
declare const getContract: (id: string, options?: SecondParameter$
|
|
8316
|
+
declare const getContract: (id: string, options?: SecondParameter$g<typeof openfortApiClient<ContractResponse>>) => Promise<ContractResponse>;
|
|
8236
8317
|
/**
|
|
8237
8318
|
* @summary Updates a contract object.
|
|
8238
8319
|
*/
|
|
8239
|
-
declare const updateContract: (id: string, updateContractRequest: UpdateContractRequest, options?: SecondParameter$
|
|
8320
|
+
declare const updateContract: (id: string, updateContractRequest: UpdateContractRequest, options?: SecondParameter$g<typeof openfortApiClient<ContractResponse>>) => Promise<ContractResponse>;
|
|
8240
8321
|
/**
|
|
8241
8322
|
* Delete a contract from the project by providing its contract id.
|
|
8242
8323
|
* @summary Deletes a contract object.
|
|
8243
8324
|
*/
|
|
8244
|
-
declare const deleteContract: (id: string, options?: SecondParameter$
|
|
8325
|
+
declare const deleteContract: (id: string, options?: SecondParameter$g<typeof openfortApiClient<ContractDeleteResponse>>) => Promise<ContractDeleteResponse>;
|
|
8245
8326
|
/**
|
|
8246
8327
|
* Using this endpoint, you can get the repositories returned by any readable
|
|
8247
8328
|
function listed in a contracts ABI. This could be things like querying
|
|
@@ -8249,7 +8330,7 @@ the totalSupply of a currency contract, the number of owners of an items
|
|
|
8249
8330
|
contract, and more.
|
|
8250
8331
|
* @summary Read on chain contract repositories.
|
|
8251
8332
|
*/
|
|
8252
|
-
declare const readContract: (id: string, params: ReadContractParams, options?: SecondParameter$
|
|
8333
|
+
declare const readContract: (id: string, params: ReadContractParams, options?: SecondParameter$g<typeof openfortApiClient<ContractReadResponse>>) => Promise<ContractReadResponse>;
|
|
8253
8334
|
type GetContractsResult = NonNullable<Awaited<ReturnType<typeof getContracts>>>;
|
|
8254
8335
|
type CreateContractResult = NonNullable<Awaited<ReturnType<typeof createContract>>>;
|
|
8255
8336
|
type GetContractResult = NonNullable<Awaited<ReturnType<typeof getContract>>>;
|
|
@@ -8258,79 +8339,79 @@ type DeleteContractResult = NonNullable<Awaited<ReturnType<typeof deleteContract
|
|
|
8258
8339
|
type ReadContractResult = NonNullable<Awaited<ReturnType<typeof readContract>>>;
|
|
8259
8340
|
|
|
8260
8341
|
/**
|
|
8261
|
-
* Generated by orval v7.
|
|
8342
|
+
* Generated by orval v7.18.0 🍺
|
|
8262
8343
|
* Do not edit manually.
|
|
8263
8344
|
* Openfort API
|
|
8264
8345
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8265
8346
|
* OpenAPI spec version: 1.0.0
|
|
8266
8347
|
*/
|
|
8267
8348
|
|
|
8268
|
-
type SecondParameter$
|
|
8349
|
+
type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8269
8350
|
/**
|
|
8270
8351
|
* Returns a list of events.
|
|
8271
8352
|
|
|
8272
8353
|
By default, a maximum of 10 events are shown per page.
|
|
8273
8354
|
* @summary List events.
|
|
8274
8355
|
*/
|
|
8275
|
-
declare const getEvents: (params?: GetEventsParams, options?: SecondParameter$
|
|
8356
|
+
declare const getEvents: (params?: GetEventsParams, options?: SecondParameter$f<typeof openfortApiClient<EventListResponse>>) => Promise<EventListResponse>;
|
|
8276
8357
|
/**
|
|
8277
8358
|
* Create a new event.
|
|
8278
8359
|
* @summary Create a new event.
|
|
8279
8360
|
*/
|
|
8280
|
-
declare const createEvent: (createEventRequest: CreateEventRequest, options?: SecondParameter$
|
|
8361
|
+
declare const createEvent: (createEventRequest: CreateEventRequest, options?: SecondParameter$f<typeof openfortApiClient<EventResponse>>) => Promise<EventResponse>;
|
|
8281
8362
|
/**
|
|
8282
8363
|
* Get a single event.
|
|
8283
8364
|
* @summary Get a single event.
|
|
8284
8365
|
*/
|
|
8285
|
-
declare const getEvent: (id: string, options?: SecondParameter$
|
|
8366
|
+
declare const getEvent: (id: string, options?: SecondParameter$f<typeof openfortApiClient<EventResponse>>) => Promise<EventResponse>;
|
|
8286
8367
|
/**
|
|
8287
8368
|
* Delete an event.
|
|
8288
8369
|
* @summary Delete an event.
|
|
8289
8370
|
*/
|
|
8290
|
-
declare const deleteEvent: (id: string, options?: SecondParameter$
|
|
8371
|
+
declare const deleteEvent: (id: string, options?: SecondParameter$f<typeof openfortApiClient<EventDeleteResponse>>) => Promise<EventDeleteResponse>;
|
|
8291
8372
|
type GetEventsResult = NonNullable<Awaited<ReturnType<typeof getEvents>>>;
|
|
8292
8373
|
type CreateEventResult = NonNullable<Awaited<ReturnType<typeof createEvent>>>;
|
|
8293
8374
|
type GetEventResult = NonNullable<Awaited<ReturnType<typeof getEvent>>>;
|
|
8294
8375
|
type DeleteEventResult = NonNullable<Awaited<ReturnType<typeof deleteEvent>>>;
|
|
8295
8376
|
|
|
8296
8377
|
/**
|
|
8297
|
-
* Generated by orval v7.
|
|
8378
|
+
* Generated by orval v7.18.0 🍺
|
|
8298
8379
|
* Do not edit manually.
|
|
8299
8380
|
* Openfort API
|
|
8300
8381
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8301
8382
|
* OpenAPI spec version: 1.0.0
|
|
8302
8383
|
*/
|
|
8303
8384
|
|
|
8304
|
-
type SecondParameter$
|
|
8385
|
+
type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8305
8386
|
/**
|
|
8306
8387
|
* Creates token swap.
|
|
8307
8388
|
* @summary Create token swap.
|
|
8308
8389
|
*/
|
|
8309
|
-
declare const createSwap: (createExchangeRequest: CreateExchangeRequest, options?: SecondParameter$
|
|
8390
|
+
declare const createSwap: (createExchangeRequest: CreateExchangeRequest, options?: SecondParameter$e<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
|
|
8310
8391
|
/**
|
|
8311
8392
|
* Quote token swap.
|
|
8312
8393
|
* @summary Quote token swap.
|
|
8313
8394
|
*/
|
|
8314
|
-
declare const quoteSwap: (createExchangeRequest: CreateExchangeRequest, options?: SecondParameter$
|
|
8395
|
+
declare const quoteSwap: (createExchangeRequest: CreateExchangeRequest, options?: SecondParameter$e<typeof openfortApiClient<QuoteExchangeResult>>) => Promise<QuoteExchangeResult>;
|
|
8315
8396
|
type CreateSwapResult = NonNullable<Awaited<ReturnType<typeof createSwap>>>;
|
|
8316
8397
|
type QuoteSwapResult = NonNullable<Awaited<ReturnType<typeof quoteSwap>>>;
|
|
8317
8398
|
|
|
8318
8399
|
/**
|
|
8319
|
-
* Generated by orval v7.
|
|
8400
|
+
* Generated by orval v7.18.0 🍺
|
|
8320
8401
|
* Do not edit manually.
|
|
8321
8402
|
* Openfort API
|
|
8322
8403
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8323
8404
|
* OpenAPI spec version: 1.0.0
|
|
8324
8405
|
*/
|
|
8325
8406
|
|
|
8326
|
-
type SecondParameter$
|
|
8407
|
+
type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8327
8408
|
/**
|
|
8328
8409
|
* Create a new forwarder contract.
|
|
8329
8410
|
|
|
8330
8411
|
This object represents the forwarder contract that will be used to pay the gas fees of the transactions.
|
|
8331
8412
|
* @summary Create a new forwarder contract.
|
|
8332
8413
|
*/
|
|
8333
|
-
declare const createForwarderContract: (createForwarderContractRequest: CreateForwarderContractRequest, options?: SecondParameter$
|
|
8414
|
+
declare const createForwarderContract: (createForwarderContractRequest: CreateForwarderContractRequest, options?: SecondParameter$d<typeof openfortApiClient<ForwarderContractResponse>>) => Promise<ForwarderContractResponse>;
|
|
8334
8415
|
/**
|
|
8335
8416
|
* Returns a list of forwarder contract.
|
|
8336
8417
|
|
|
@@ -8339,28 +8420,28 @@ This object represents the forwarder contract that will be used to pay the gas f
|
|
|
8339
8420
|
By default, a maximum of 10 forwarder contract are shown per page.
|
|
8340
8421
|
* @summary List forwarder contract.
|
|
8341
8422
|
*/
|
|
8342
|
-
declare const listForwarderContracts: (params?: ListForwarderContractsParams, options?: SecondParameter$
|
|
8423
|
+
declare const listForwarderContracts: (params?: ListForwarderContractsParams, options?: SecondParameter$d<typeof openfortApiClient<ForwarderContractResponse[]>>) => Promise<ForwarderContractResponse[]>;
|
|
8343
8424
|
/**
|
|
8344
8425
|
* Update a forwarder contract.
|
|
8345
8426
|
|
|
8346
8427
|
This object represents the forwarder contract that will be used to pay the gas fees of the transactions.
|
|
8347
8428
|
* @summary Update a forwarder contract.
|
|
8348
8429
|
*/
|
|
8349
|
-
declare const updateForwarderContract: (id: string, createForwarderContractRequest: CreateForwarderContractRequest, options?: SecondParameter$
|
|
8430
|
+
declare const updateForwarderContract: (id: string, createForwarderContractRequest: CreateForwarderContractRequest, options?: SecondParameter$d<typeof openfortApiClient<ForwarderContractResponse>>) => Promise<ForwarderContractResponse>;
|
|
8350
8431
|
/**
|
|
8351
8432
|
* Returns the forwarder contract with the given id.
|
|
8352
8433
|
|
|
8353
8434
|
This object represents the forwarder contract that will be used to pay the gas fees for the transactions.
|
|
8354
8435
|
* @summary Get forwarder contract by id.
|
|
8355
8436
|
*/
|
|
8356
|
-
declare const getForwarderContract: (id: string, options?: SecondParameter$
|
|
8437
|
+
declare const getForwarderContract: (id: string, options?: SecondParameter$d<typeof openfortApiClient<ForwarderContractResponse>>) => Promise<ForwarderContractResponse>;
|
|
8357
8438
|
/**
|
|
8358
8439
|
* Delete the forwarder contract with the given id.
|
|
8359
8440
|
|
|
8360
8441
|
This object represents the forwarder contract that will be used to pay the gas fees for the transactions.
|
|
8361
8442
|
* @summary Delete forwarder contract by id.
|
|
8362
8443
|
*/
|
|
8363
|
-
declare const deleteForwarderContract: (id: string, options?: SecondParameter$
|
|
8444
|
+
declare const deleteForwarderContract: (id: string, options?: SecondParameter$d<typeof openfortApiClient<ForwarderContractDeleteResponse>>) => Promise<ForwarderContractDeleteResponse>;
|
|
8364
8445
|
type CreateForwarderContractResult = NonNullable<Awaited<ReturnType<typeof createForwarderContract>>>;
|
|
8365
8446
|
type ListForwarderContractsResult = NonNullable<Awaited<ReturnType<typeof listForwarderContracts>>>;
|
|
8366
8447
|
type UpdateForwarderContractResult = NonNullable<Awaited<ReturnType<typeof updateForwarderContract>>>;
|
|
@@ -8368,19 +8449,39 @@ type GetForwarderContractResult = NonNullable<Awaited<ReturnType<typeof getForwa
|
|
|
8368
8449
|
type DeleteForwarderContractResult = NonNullable<Awaited<ReturnType<typeof deleteForwarderContract>>>;
|
|
8369
8450
|
|
|
8370
8451
|
/**
|
|
8371
|
-
* Generated by orval v7.
|
|
8452
|
+
* Generated by orval v7.18.0 🍺
|
|
8372
8453
|
* Do not edit manually.
|
|
8373
8454
|
* Openfort API
|
|
8374
8455
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8375
8456
|
* OpenAPI spec version: 1.0.0
|
|
8376
8457
|
*/
|
|
8377
8458
|
|
|
8378
|
-
type SecondParameter$
|
|
8379
|
-
declare const query: (queryBody: unknown, options?: SecondParameter$
|
|
8459
|
+
type SecondParameter$c<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8460
|
+
declare const query: (queryBody: unknown, options?: SecondParameter$c<typeof openfortApiClient<unknown>>) => Promise<unknown>;
|
|
8380
8461
|
type QueryResult = NonNullable<Awaited<ReturnType<typeof query>>>;
|
|
8381
8462
|
|
|
8382
8463
|
/**
|
|
8383
|
-
* Generated by orval v7.
|
|
8464
|
+
* Generated by orval v7.18.0 🍺
|
|
8465
|
+
* Do not edit manually.
|
|
8466
|
+
* Openfort API
|
|
8467
|
+
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8468
|
+
* OpenAPI spec version: 1.0.0
|
|
8469
|
+
*/
|
|
8470
|
+
|
|
8471
|
+
type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8472
|
+
/**
|
|
8473
|
+
* @summary Get logs for a project.
|
|
8474
|
+
*/
|
|
8475
|
+
declare const getProjectLogs: (params?: GetProjectLogsParams, options?: SecondParameter$b<typeof openfortApiClient<ProjectLogs>>) => Promise<ProjectLogs>;
|
|
8476
|
+
/**
|
|
8477
|
+
* @summary Get webhook logs for a project.
|
|
8478
|
+
*/
|
|
8479
|
+
declare const getWebhookLogsByProjectId: (options?: SecondParameter$b<typeof openfortApiClient<ProjectLogs>>) => Promise<ProjectLogs>;
|
|
8480
|
+
type GetProjectLogsResult = NonNullable<Awaited<ReturnType<typeof getProjectLogs>>>;
|
|
8481
|
+
type GetWebhookLogsByProjectIdResult = NonNullable<Awaited<ReturnType<typeof getWebhookLogsByProjectId>>>;
|
|
8482
|
+
|
|
8483
|
+
/**
|
|
8484
|
+
* Generated by orval v7.18.0 🍺
|
|
8384
8485
|
* Do not edit manually.
|
|
8385
8486
|
* Openfort API
|
|
8386
8487
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8411,7 +8512,7 @@ type CreateOnrampSessionResult = NonNullable<Awaited<ReturnType<typeof createOnr
|
|
|
8411
8512
|
type GetOnrampQuoteResult = NonNullable<Awaited<ReturnType<typeof getOnrampQuote>>>;
|
|
8412
8513
|
|
|
8413
8514
|
/**
|
|
8414
|
-
* Generated by orval v7.
|
|
8515
|
+
* Generated by orval v7.18.0 🍺
|
|
8415
8516
|
* Do not edit manually.
|
|
8416
8517
|
* Openfort API
|
|
8417
8518
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8463,7 +8564,7 @@ type GetPaymasterResult = NonNullable<Awaited<ReturnType<typeof getPaymaster>>>;
|
|
|
8463
8564
|
type DeletePaymasterResult = NonNullable<Awaited<ReturnType<typeof deletePaymaster>>>;
|
|
8464
8565
|
|
|
8465
8566
|
/**
|
|
8466
|
-
* Generated by orval v7.
|
|
8567
|
+
* Generated by orval v7.18.0 🍺
|
|
8467
8568
|
* Do not edit manually.
|
|
8468
8569
|
* Openfort API
|
|
8469
8570
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8522,7 +8623,7 @@ type RequestTransferAccountOwnershipResult = NonNullable<Awaited<ReturnType<type
|
|
|
8522
8623
|
type CancelTransferAccountOwnershipResult = NonNullable<Awaited<ReturnType<typeof cancelTransferAccountOwnership>>>;
|
|
8523
8624
|
|
|
8524
8625
|
/**
|
|
8525
|
-
* Generated by orval v7.
|
|
8626
|
+
* Generated by orval v7.18.0 🍺
|
|
8526
8627
|
* Do not edit manually.
|
|
8527
8628
|
* Openfort API
|
|
8528
8629
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8601,7 +8702,7 @@ type GetPolicyBalanceResult = NonNullable<Awaited<ReturnType<typeof getPolicyBal
|
|
|
8601
8702
|
type CreatePolicyWithdrawalResult = NonNullable<Awaited<ReturnType<typeof createPolicyWithdrawal>>>;
|
|
8602
8703
|
|
|
8603
8704
|
/**
|
|
8604
|
-
* Generated by orval v7.
|
|
8705
|
+
* Generated by orval v7.18.0 🍺
|
|
8605
8706
|
* Do not edit manually.
|
|
8606
8707
|
* Openfort API
|
|
8607
8708
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8636,7 +8737,7 @@ type UpdatePolicyRuleResult = NonNullable<Awaited<ReturnType<typeof updatePolicy
|
|
|
8636
8737
|
type DeletePolicyRuleResult = NonNullable<Awaited<ReturnType<typeof deletePolicyRule>>>;
|
|
8637
8738
|
|
|
8638
8739
|
/**
|
|
8639
|
-
* Generated by orval v7.
|
|
8740
|
+
* Generated by orval v7.18.0 🍺
|
|
8640
8741
|
* Do not edit manually.
|
|
8641
8742
|
* Openfort API
|
|
8642
8743
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8676,7 +8777,7 @@ type HandleRpcRequestResult = NonNullable<Awaited<ReturnType<typeof handleRpcReq
|
|
|
8676
8777
|
type HandleChainRpcRequestResult = NonNullable<Awaited<ReturnType<typeof handleChainRpcRequest>>>;
|
|
8677
8778
|
|
|
8678
8779
|
/**
|
|
8679
|
-
* Generated by orval v7.
|
|
8780
|
+
* Generated by orval v7.18.0 🍺
|
|
8680
8781
|
* Do not edit manually.
|
|
8681
8782
|
* Openfort API
|
|
8682
8783
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8718,7 +8819,7 @@ type SignatureSessionResult = NonNullable<Awaited<ReturnType<typeof signatureSes
|
|
|
8718
8819
|
type GetSessionResult = NonNullable<Awaited<ReturnType<typeof getSession>>>;
|
|
8719
8820
|
|
|
8720
8821
|
/**
|
|
8721
|
-
* Generated by orval v7.
|
|
8822
|
+
* Generated by orval v7.18.0 🍺
|
|
8722
8823
|
* Do not edit manually.
|
|
8723
8824
|
* Openfort API
|
|
8724
8825
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8777,7 +8878,7 @@ type DeleteDeveloperAccountResult = NonNullable<Awaited<ReturnType<typeof delete
|
|
|
8777
8878
|
type GetVerificationPayloadResult = NonNullable<Awaited<ReturnType<typeof getVerificationPayload>>>;
|
|
8778
8879
|
|
|
8779
8880
|
/**
|
|
8780
|
-
* Generated by orval v7.
|
|
8881
|
+
* Generated by orval v7.18.0 🍺
|
|
8781
8882
|
* Do not edit manually.
|
|
8782
8883
|
* Openfort API
|
|
8783
8884
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8875,7 +8976,7 @@ type DeleteTriggerResult = NonNullable<Awaited<ReturnType<typeof deleteTrigger>>
|
|
|
8875
8976
|
type TestTriggerResult = NonNullable<Awaited<ReturnType<typeof testTrigger>>>;
|
|
8876
8977
|
|
|
8877
8978
|
/**
|
|
8878
|
-
* Generated by orval v7.
|
|
8979
|
+
* Generated by orval v7.18.0 🍺
|
|
8879
8980
|
* Do not edit manually.
|
|
8880
8981
|
* Openfort API
|
|
8881
8982
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8927,7 +9028,7 @@ type EstimateTransactionIntentCostResult = NonNullable<Awaited<ReturnType<typeof
|
|
|
8927
9028
|
type SignatureResult = NonNullable<Awaited<ReturnType<typeof signature>>>;
|
|
8928
9029
|
|
|
8929
9030
|
/**
|
|
8930
|
-
* Generated by orval v7.
|
|
9031
|
+
* Generated by orval v7.18.0 🍺
|
|
8931
9032
|
* Do not edit manually.
|
|
8932
9033
|
* Openfort API
|
|
8933
9034
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8939,20 +9040,20 @@ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
|
8939
9040
|
* Retrieves an authenticated users.
|
|
8940
9041
|
|
|
8941
9042
|
Users have linked accounts and are authenticated with a provider.
|
|
8942
|
-
* @summary
|
|
9043
|
+
* @summary List authenticated users.
|
|
8943
9044
|
*/
|
|
8944
9045
|
declare const getAuthUsers: (params?: GetAuthUsersParams, options?: SecondParameter<typeof openfortApiClient<BaseEntityListResponseAuthUserResponse>>) => Promise<BaseEntityListResponseAuthUserResponse>;
|
|
8945
9046
|
/**
|
|
8946
9047
|
* Retrieves an authenticated user.
|
|
8947
9048
|
|
|
8948
9049
|
Users have linked accounts and are authenticated with a provider.
|
|
8949
|
-
* @summary
|
|
9050
|
+
* @summary Get authenticated user by id.
|
|
8950
9051
|
*/
|
|
8951
9052
|
declare const getAuthUser: (id: string, options?: SecondParameter<typeof openfortApiClient<AuthUserResponse>>) => Promise<AuthUserResponse>;
|
|
8952
9053
|
/**
|
|
8953
9054
|
* It will delete all linked accounts the user is authenticated with.
|
|
8954
9055
|
If the user has a linked embedded signer, it will be deleted as well.
|
|
8955
|
-
* @summary
|
|
9056
|
+
* @summary Delete user by id.
|
|
8956
9057
|
*/
|
|
8957
9058
|
declare const deleteUser: (id: string, options?: SecondParameter<typeof openfortApiClient<BaseDeleteEntityResponseEntityTypePLAYER>>) => Promise<BaseDeleteEntityResponseEntityTypePLAYER>;
|
|
8958
9059
|
/**
|
|
@@ -8967,10 +9068,20 @@ You can pregenerate using either:
|
|
|
8967
9068
|
* @summary Pre-generate a user with an embedded account.
|
|
8968
9069
|
*/
|
|
8969
9070
|
declare const pregenerateUserV2: (pregenerateUserRequestV2: PregenerateUserRequestV2, options?: SecondParameter<typeof openfortApiClient<PregenerateAccountResponse>>) => Promise<PregenerateAccountResponse>;
|
|
9071
|
+
/**
|
|
9072
|
+
* @summary Get user information.
|
|
9073
|
+
*/
|
|
9074
|
+
declare const meV2: (options?: SecondParameter<typeof openfortApiClient<AuthUserResponse>>) => Promise<AuthUserResponse>;
|
|
9075
|
+
/**
|
|
9076
|
+
* @summary Verify oauth token of a third party auth provider.
|
|
9077
|
+
*/
|
|
9078
|
+
declare const thirdPartyV2: (thirdPartyOAuthRequest: ThirdPartyOAuthRequest, options?: SecondParameter<typeof openfortApiClient<AuthUserResponse>>) => Promise<AuthUserResponse>;
|
|
8970
9079
|
type GetAuthUsersResult = NonNullable<Awaited<ReturnType<typeof getAuthUsers>>>;
|
|
8971
9080
|
type GetAuthUserResult = NonNullable<Awaited<ReturnType<typeof getAuthUser>>>;
|
|
8972
9081
|
type DeleteUserResult = NonNullable<Awaited<ReturnType<typeof deleteUser>>>;
|
|
8973
9082
|
type PregenerateUserV2Result = NonNullable<Awaited<ReturnType<typeof pregenerateUserV2>>>;
|
|
9083
|
+
type MeV2Result = NonNullable<Awaited<ReturnType<typeof meV2>>>;
|
|
9084
|
+
type ThirdPartyV2Result = NonNullable<Awaited<ReturnType<typeof thirdPartyV2>>>;
|
|
8974
9085
|
|
|
8975
9086
|
/**
|
|
8976
9087
|
* Constants for the Openfort SDK.
|
|
@@ -9576,4 +9687,4 @@ declare class Openfort {
|
|
|
9576
9687
|
createEncryptionSession(shieldApiKey: string, shieldApiSecret: string, encryptionShare: string, shieldApiBaseUrl?: string): Promise<string>;
|
|
9577
9688
|
}
|
|
9578
9689
|
|
|
9579
|
-
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, 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, 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 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 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 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 GoogleOAuthConfig, type GrantCallbackRequest, type GrantOAuthResponse, 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, 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, anonymous as authAnonymous, _default as authApi, emailOtp as authEmailOtp, phoneNumber as authPhoneNumber, openfortAuth_schemas as authSchemas, siwe as authSiwe, authenticateSIWE, authorize, 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, 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, getSession, getSignerIdByAddress, getSubscription, getSubscriptions, getTransactionIntent, getTransactionIntents, getTrigger, getTriggers, getVerificationPayload, 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 };
|
|
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 };
|