@openfort/openfort-node 0.7.4 → 0.7.6
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 +203 -189
- package/dist/index.d.ts +203 -189
- package/dist/index.js +34 -50
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +31 -47
- package/dist/index.mjs.map +1 -1
- package/openapi-auth.json +6 -0
- package/openapi.json +224 -417
- package/package.json +1 -1
- package/examples/exchange/createSwap.ts +0 -50
- package/examples/exchange/quoteSwap.ts +0 -34
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.20.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
|
|
@@ -2388,69 +2388,6 @@ interface ForwarderContractDeleteResponse {
|
|
|
2388
2388
|
object: EntityTypeFORWARDERCONTRACT;
|
|
2389
2389
|
deleted: boolean;
|
|
2390
2390
|
}
|
|
2391
|
-
type TradeType = typeof TradeType[keyof typeof TradeType];
|
|
2392
|
-
declare const TradeType: {
|
|
2393
|
-
readonly EXACT_INPUT: "EXACT_INPUT";
|
|
2394
|
-
readonly EXACT_OUTPUT: "EXACT_OUTPUT";
|
|
2395
|
-
};
|
|
2396
|
-
interface CreateExchangeRequest {
|
|
2397
|
-
/** The chain ID. Must be a [supported chain](/development/chains). */
|
|
2398
|
-
chainId: number;
|
|
2399
|
-
/** The public address that will sign and submit the transaction. If you provide one of a `pla_...` or `acc_...` it will be converted to the corresponding address. */
|
|
2400
|
-
fromAddress: string;
|
|
2401
|
-
/** Token address or 'native' to sell */
|
|
2402
|
-
tokenInAddress: string;
|
|
2403
|
-
/** Token address or 'native' to buy */
|
|
2404
|
-
tokenOutAddress: string;
|
|
2405
|
-
/** Amount in the smallest unit of the token */
|
|
2406
|
-
amount: string;
|
|
2407
|
-
/** The type of trade, exact input or exact output */
|
|
2408
|
-
tradeType: TradeType;
|
|
2409
|
-
/** The percentage of slippage tolerance. Default = 0.1. Max = 50. Min = 0 */
|
|
2410
|
-
slippagePercent?: number;
|
|
2411
|
-
/** Maximum hops allowed in optimal route. Default is 2 */
|
|
2412
|
-
maxHops?: number;
|
|
2413
|
-
/** Latest time swap can execute. Default is 15 minutes */
|
|
2414
|
-
deadline?: number;
|
|
2415
|
-
/** ID of the Policy that defines the gas sponsorship strategy (starts with `pol_`). If no Policy is provided, the own Account native token funds will be used to pay for gas. */
|
|
2416
|
-
policy?: string;
|
|
2417
|
-
/** Set to `true` to indicate that the transactionIntent request should be resolved as soon as possible, after the transactionIntent is created and simulated and before it arrives on chain. */
|
|
2418
|
-
optimistic?: boolean;
|
|
2419
|
-
}
|
|
2420
|
-
/**
|
|
2421
|
-
* Type representing a token
|
|
2422
|
-
*/
|
|
2423
|
-
interface Token {
|
|
2424
|
-
name?: string;
|
|
2425
|
-
symbol?: string;
|
|
2426
|
-
decimals: number;
|
|
2427
|
-
address: string;
|
|
2428
|
-
chainId: number;
|
|
2429
|
-
}
|
|
2430
|
-
/**
|
|
2431
|
-
* Interface representing a token amount
|
|
2432
|
-
*/
|
|
2433
|
-
interface Amount {
|
|
2434
|
-
value: string;
|
|
2435
|
-
token: Token;
|
|
2436
|
-
}
|
|
2437
|
-
/**
|
|
2438
|
-
* Type representing the fees returned in the quote
|
|
2439
|
-
*/
|
|
2440
|
-
interface Fee {
|
|
2441
|
-
amount: Amount;
|
|
2442
|
-
basisPoints: number;
|
|
2443
|
-
recipient: string;
|
|
2444
|
-
}
|
|
2445
|
-
interface QuoteExchangeResult {
|
|
2446
|
-
amount: Amount;
|
|
2447
|
-
amountWithMaxSlippage: Amount;
|
|
2448
|
-
slippage: number;
|
|
2449
|
-
fees: Fee[];
|
|
2450
|
-
estimatedTXGasFee: string;
|
|
2451
|
-
estimatedTXGasFeeUSD: string;
|
|
2452
|
-
estimatedTXGasFeeToken?: string;
|
|
2453
|
-
}
|
|
2454
2391
|
type APITopicBALANCECONTRACT = typeof APITopicBALANCECONTRACT[keyof typeof APITopicBALANCECONTRACT];
|
|
2455
2392
|
declare const APITopicBALANCECONTRACT: {
|
|
2456
2393
|
readonly balancecontract: "balance.contract";
|
|
@@ -2884,9 +2821,27 @@ interface UserListQueries {
|
|
|
2884
2821
|
order?: PrismaSortOrder;
|
|
2885
2822
|
/** Filter by user name. */
|
|
2886
2823
|
name?: string;
|
|
2887
|
-
/** Filter by external user ID. */
|
|
2824
|
+
/** Filter by external user ID (accountId from linked accounts). */
|
|
2888
2825
|
externalUserId?: string;
|
|
2826
|
+
/** Filter by user email. */
|
|
2827
|
+
email?: string;
|
|
2828
|
+
/** Filter by user phone number. */
|
|
2829
|
+
phoneNumber?: string;
|
|
2830
|
+
/** Filter by provider ID (e.g., "google", "apple", "siwe", "credential"). */
|
|
2831
|
+
authProviderId?: string;
|
|
2832
|
+
/** Filter by wallet client type (for SIWE accounts). */
|
|
2833
|
+
walletClientType?: string;
|
|
2889
2834
|
}
|
|
2835
|
+
type EntityTypeWALLET = typeof EntityTypeWALLET[keyof typeof EntityTypeWALLET];
|
|
2836
|
+
declare const EntityTypeWALLET: {
|
|
2837
|
+
readonly wallet: "wallet";
|
|
2838
|
+
};
|
|
2839
|
+
interface BaseEntityResponseEntityTypeWALLET {
|
|
2840
|
+
id: string;
|
|
2841
|
+
object: EntityTypeWALLET;
|
|
2842
|
+
createdAt: number;
|
|
2843
|
+
}
|
|
2844
|
+
type WalletResponse = BaseEntityResponseEntityTypeWALLET;
|
|
2890
2845
|
interface BaseDeleteEntityResponseEntityTypePLAYER {
|
|
2891
2846
|
id: string;
|
|
2892
2847
|
object: EntityTypePLAYER;
|
|
@@ -2922,7 +2877,7 @@ declare const PregenerateAccountResponseCustody: {
|
|
|
2922
2877
|
};
|
|
2923
2878
|
interface PregenerateAccountResponse {
|
|
2924
2879
|
id: string;
|
|
2925
|
-
|
|
2880
|
+
wallet: string;
|
|
2926
2881
|
accountType: string;
|
|
2927
2882
|
address: string;
|
|
2928
2883
|
ownerAddress?: string;
|
|
@@ -2938,6 +2893,8 @@ interface PregenerateAccountResponse {
|
|
|
2938
2893
|
/** The recovery share for the user's embedded signer.
|
|
2939
2894
|
This should be stored securely and provided to the user for account recovery. */
|
|
2940
2895
|
recoveryShare: string;
|
|
2896
|
+
/** User uuid */
|
|
2897
|
+
user: string;
|
|
2941
2898
|
}
|
|
2942
2899
|
/**
|
|
2943
2900
|
* Enum of the supporting third party auth providers.
|
|
@@ -3340,11 +3297,20 @@ interface RegisterWalletSecretResponse {
|
|
|
3340
3297
|
}
|
|
3341
3298
|
/**
|
|
3342
3299
|
* Request to register a new wallet secret (authentication key).
|
|
3300
|
+
|
|
3301
|
+
Uses provided-key authentication: the walletAuthToken JWT must be signed by
|
|
3302
|
+
the private key corresponding to the publicKey being registered.
|
|
3343
3303
|
*/
|
|
3344
3304
|
interface RegisterWalletSecretRequest {
|
|
3345
|
-
/** ECDSA P-256 public key for wallet authentication (PEM
|
|
3305
|
+
/** ECDSA P-256 public key for wallet authentication (PEM format).
|
|
3346
3306
|
This will be used to verify X-Wallet-Auth JWT signatures. */
|
|
3347
3307
|
publicKey: string;
|
|
3308
|
+
/** JWT signed with the private key corresponding to publicKey.
|
|
3309
|
+
This proves possession of the private key without transmitting it.
|
|
3310
|
+
|
|
3311
|
+
JWT must include: uris (matching request path), reqHash (SHA-256 of request body),
|
|
3312
|
+
iat (issued at), nbf (not before), and optionally exp (expiration). */
|
|
3313
|
+
walletAuthToken: string;
|
|
3348
3314
|
/** Key identifier for the secret.
|
|
3349
3315
|
Used to identify this key in X-Wallet-Auth JWT headers. */
|
|
3350
3316
|
keyId?: string;
|
|
@@ -3400,11 +3366,20 @@ interface RotateWalletSecretResponse {
|
|
|
3400
3366
|
}
|
|
3401
3367
|
/**
|
|
3402
3368
|
* Request to rotate wallet secret (authentication key).
|
|
3369
|
+
|
|
3370
|
+
Uses provided-key authentication: the walletAuthToken JWT must be signed by
|
|
3371
|
+
the private key corresponding to the newPublicKey being registered.
|
|
3403
3372
|
*/
|
|
3404
3373
|
interface RotateWalletSecretRequest {
|
|
3405
|
-
/** New ECDSA P-256 public key for wallet authentication.
|
|
3374
|
+
/** New ECDSA P-256 public key for wallet authentication (PEM format).
|
|
3406
3375
|
This will replace the current wallet secret used for X-Wallet-Auth JWT signing. */
|
|
3407
|
-
|
|
3376
|
+
newPublicKey: string;
|
|
3377
|
+
/** JWT signed with the private key corresponding to newPublicKey.
|
|
3378
|
+
This proves possession of the private key without transmitting it.
|
|
3379
|
+
|
|
3380
|
+
JWT must include: uris (matching request path), reqHash (SHA-256 of request body),
|
|
3381
|
+
iat (issued at), nbf (not before), and optionally exp (expiration). */
|
|
3382
|
+
walletAuthToken: string;
|
|
3408
3383
|
/** Key identifier for the new secret.
|
|
3409
3384
|
Used to identify this key in X-Wallet-Auth JWT headers. */
|
|
3410
3385
|
newKeyId?: string;
|
|
@@ -3419,7 +3394,7 @@ declare const AccountV2ResponseCustody: {
|
|
|
3419
3394
|
};
|
|
3420
3395
|
interface AccountV2Response {
|
|
3421
3396
|
id: string;
|
|
3422
|
-
|
|
3397
|
+
wallet: string;
|
|
3423
3398
|
accountType: string;
|
|
3424
3399
|
address: string;
|
|
3425
3400
|
ownerAddress?: string;
|
|
@@ -3529,7 +3504,7 @@ interface CreateAccountRequestV2 {
|
|
|
3529
3504
|
implementationType?: string;
|
|
3530
3505
|
/** The chain ID. Must be a [supported chain](/development/chains). */
|
|
3531
3506
|
chainId?: number;
|
|
3532
|
-
/** ID of the user this account belongs to (starts with `
|
|
3507
|
+
/** ID of the user this account belongs to (starts with `usr_`). If none is provided, a new user will be created. */
|
|
3533
3508
|
user: string;
|
|
3534
3509
|
/** ID of the account (starts with `acc_`) to be linked with. Required for accountType "Smart Account". */
|
|
3535
3510
|
account?: string;
|
|
@@ -3893,6 +3868,7 @@ declare const ApiKeyType: {
|
|
|
3893
3868
|
readonly sk: "sk";
|
|
3894
3869
|
readonly pk_shield: "pk_shield";
|
|
3895
3870
|
readonly sk_shield: "sk_shield";
|
|
3871
|
+
readonly pk_wallet: "pk_wallet";
|
|
3896
3872
|
};
|
|
3897
3873
|
interface CreateProjectApiKeyRequest {
|
|
3898
3874
|
/** The type of the API key. */
|
|
@@ -5284,9 +5260,25 @@ type GetAuthUsersParams = {
|
|
|
5284
5260
|
*/
|
|
5285
5261
|
name?: string;
|
|
5286
5262
|
/**
|
|
5287
|
-
* Filter by external user ID.
|
|
5263
|
+
* Filter by external user ID (accountId from linked accounts).
|
|
5288
5264
|
*/
|
|
5289
5265
|
externalUserId?: string;
|
|
5266
|
+
/**
|
|
5267
|
+
* Filter by user email.
|
|
5268
|
+
*/
|
|
5269
|
+
email?: string;
|
|
5270
|
+
/**
|
|
5271
|
+
* Filter by user phone number.
|
|
5272
|
+
*/
|
|
5273
|
+
phoneNumber?: string;
|
|
5274
|
+
/**
|
|
5275
|
+
* Filter by provider ID (e.g., "google", "apple", "siwe", "credential").
|
|
5276
|
+
*/
|
|
5277
|
+
authProviderId?: string;
|
|
5278
|
+
/**
|
|
5279
|
+
* Filter by wallet client type (for SIWE accounts).
|
|
5280
|
+
*/
|
|
5281
|
+
walletClientType?: string;
|
|
5290
5282
|
};
|
|
5291
5283
|
type ListBackendWalletsParams = {
|
|
5292
5284
|
/**
|
|
@@ -5488,7 +5480,7 @@ declare const openfortApiClient: <T>(config: AxiosRequestConfig, options?: Reque
|
|
|
5488
5480
|
declare const getConfig: () => OpenfortClientOptions | undefined;
|
|
5489
5481
|
|
|
5490
5482
|
/**
|
|
5491
|
-
* Generated by orval v7.
|
|
5483
|
+
* Generated by orval v7.20.0 🍺
|
|
5492
5484
|
* Do not edit manually.
|
|
5493
5485
|
* Openfort API
|
|
5494
5486
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -5584,7 +5576,7 @@ type StartRecoveryResult = NonNullable<Awaited<ReturnType<typeof startRecovery>>
|
|
|
5584
5576
|
type CompleteRecoveryResult = NonNullable<Awaited<ReturnType<typeof completeRecovery>>>;
|
|
5585
5577
|
|
|
5586
5578
|
/**
|
|
5587
|
-
* Generated by orval v7.
|
|
5579
|
+
* Generated by orval v7.20.0 🍺
|
|
5588
5580
|
* Do not edit manually.
|
|
5589
5581
|
* Openfort API
|
|
5590
5582
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -5640,7 +5632,7 @@ type RemoveAccountResult = NonNullable<Awaited<ReturnType<typeof removeAccount>>
|
|
|
5640
5632
|
type SwitchChainV2Result = NonNullable<Awaited<ReturnType<typeof switchChainV2>>>;
|
|
5641
5633
|
|
|
5642
5634
|
/**
|
|
5643
|
-
* Generated by orval v7.
|
|
5635
|
+
* Generated by orval v7.20.0 🍺
|
|
5644
5636
|
* Do not edit manually.
|
|
5645
5637
|
* Openfort API
|
|
5646
5638
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -5755,7 +5747,7 @@ type VerifyAuthTokenResult = NonNullable<Awaited<ReturnType<typeof verifyAuthTok
|
|
|
5755
5747
|
type AuthorizeResult = NonNullable<Awaited<ReturnType<typeof authorize>>>;
|
|
5756
5748
|
|
|
5757
5749
|
/**
|
|
5758
|
-
* Generated by orval v7.
|
|
5750
|
+
* Generated by orval v7.20.0 🍺
|
|
5759
5751
|
* Do not edit manually.
|
|
5760
5752
|
* Openfort Auth
|
|
5761
5753
|
* API Reference for Openfort Auth
|
|
@@ -5914,6 +5906,7 @@ type SocialSignIn200User = {
|
|
|
5914
5906
|
emailVerified: boolean;
|
|
5915
5907
|
createdAt: string;
|
|
5916
5908
|
updatedAt: string;
|
|
5909
|
+
isAnonymous?: boolean;
|
|
5917
5910
|
};
|
|
5918
5911
|
/**
|
|
5919
5912
|
* Session response when idToken is provided
|
|
@@ -6062,6 +6055,7 @@ type PostSignInEmail200User = {
|
|
|
6062
6055
|
emailVerified: boolean;
|
|
6063
6056
|
createdAt: string;
|
|
6064
6057
|
updatedAt: string;
|
|
6058
|
+
isAnonymous?: boolean;
|
|
6065
6059
|
};
|
|
6066
6060
|
/**
|
|
6067
6061
|
* Session response when idToken is provided
|
|
@@ -7699,7 +7693,7 @@ declare namespace openfortAuth_schemas {
|
|
|
7699
7693
|
}
|
|
7700
7694
|
|
|
7701
7695
|
/**
|
|
7702
|
-
* Generated by orval v7.
|
|
7696
|
+
* Generated by orval v7.20.0 🍺
|
|
7703
7697
|
* Do not edit manually.
|
|
7704
7698
|
* Openfort Auth
|
|
7705
7699
|
* API Reference for Openfort Auth
|
|
@@ -8050,7 +8044,7 @@ declare namespace authV2 {
|
|
|
8050
8044
|
}
|
|
8051
8045
|
|
|
8052
8046
|
/**
|
|
8053
|
-
* Generated by orval v7.
|
|
8047
|
+
* Generated by orval v7.20.0 🍺
|
|
8054
8048
|
* Do not edit manually.
|
|
8055
8049
|
* Openfort API
|
|
8056
8050
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8190,7 +8184,7 @@ type GetJwksResult = NonNullable<Awaited<ReturnType<typeof getJwks>>>;
|
|
|
8190
8184
|
type MeResult = NonNullable<Awaited<ReturnType<typeof me>>>;
|
|
8191
8185
|
|
|
8192
8186
|
/**
|
|
8193
|
-
* Generated by orval v7.
|
|
8187
|
+
* Generated by orval v7.20.0 🍺
|
|
8194
8188
|
* Do not edit manually.
|
|
8195
8189
|
* Openfort API
|
|
8196
8190
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8259,6 +8253,13 @@ declare const importPrivateKey: (importPrivateKeyRequest: ImportPrivateKeyReques
|
|
|
8259
8253
|
Registers an ECDSA P-256 public key that will be used to verify
|
|
8260
8254
|
X-Wallet-Auth JWT signatures. This is required before using WALLET_AUTH
|
|
8261
8255
|
for other backend wallet operations.
|
|
8256
|
+
|
|
8257
|
+
Uses provided-key authentication: the request must include a walletAuthToken
|
|
8258
|
+
JWT signed by the private key corresponding to the publicKey being registered.
|
|
8259
|
+
This proves possession of the private key without transmitting it.
|
|
8260
|
+
|
|
8261
|
+
Note: Only ONE active secret is allowed per project. This call fails if an
|
|
8262
|
+
active secret already exists; use rotateWalletSecret to replace an existing secret.
|
|
8262
8263
|
* @summary Register wallet secret.
|
|
8263
8264
|
*/
|
|
8264
8265
|
declare const registerWalletSecret: (registerWalletSecretRequest: RegisterWalletSecretRequest, options?: SecondParameter$h<typeof openfortApiClient<RegisterWalletSecretResponse>>) => Promise<RegisterWalletSecretResponse>;
|
|
@@ -8274,7 +8275,12 @@ declare const revokeWalletSecret: (revokeWalletSecretRequest: RevokeWalletSecret
|
|
|
8274
8275
|
* Rotate wallet secret (authentication key).
|
|
8275
8276
|
|
|
8276
8277
|
Replaces the current wallet secret (ECDSA P-256 public key) used for
|
|
8277
|
-
X-Wallet-Auth JWT signing. The old secret will be
|
|
8278
|
+
X-Wallet-Auth JWT signing. The old secret will be marked as "rotated"
|
|
8279
|
+
and immediately becomes unusable (no grace period).
|
|
8280
|
+
|
|
8281
|
+
Uses provided-key authentication: the request must include a walletAuthToken
|
|
8282
|
+
JWT signed by the private key corresponding to the NEW publicKey being registered.
|
|
8283
|
+
This proves possession of the new private key without transmitting it.
|
|
8278
8284
|
* @summary Rotate wallet secret.
|
|
8279
8285
|
*/
|
|
8280
8286
|
declare const rotateWalletSecret: (rotateWalletSecretRequest: RotateWalletSecretRequest, options?: SecondParameter$h<typeof openfortApiClient<RotateWalletSecretResponse>>) => Promise<RotateWalletSecretResponse>;
|
|
@@ -8290,7 +8296,7 @@ type RevokeWalletSecretResult = NonNullable<Awaited<ReturnType<typeof revokeWall
|
|
|
8290
8296
|
type RotateWalletSecretResult = NonNullable<Awaited<ReturnType<typeof rotateWalletSecret>>>;
|
|
8291
8297
|
|
|
8292
8298
|
/**
|
|
8293
|
-
* Generated by orval v7.
|
|
8299
|
+
* Generated by orval v7.20.0 🍺
|
|
8294
8300
|
* Do not edit manually.
|
|
8295
8301
|
* Openfort API
|
|
8296
8302
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8339,7 +8345,7 @@ type DeleteContractResult = NonNullable<Awaited<ReturnType<typeof deleteContract
|
|
|
8339
8345
|
type ReadContractResult = NonNullable<Awaited<ReturnType<typeof readContract>>>;
|
|
8340
8346
|
|
|
8341
8347
|
/**
|
|
8342
|
-
* Generated by orval v7.
|
|
8348
|
+
* Generated by orval v7.20.0 🍺
|
|
8343
8349
|
* Do not edit manually.
|
|
8344
8350
|
* Openfort API
|
|
8345
8351
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8375,7 +8381,7 @@ type GetEventResult = NonNullable<Awaited<ReturnType<typeof getEvent>>>;
|
|
|
8375
8381
|
type DeleteEventResult = NonNullable<Awaited<ReturnType<typeof deleteEvent>>>;
|
|
8376
8382
|
|
|
8377
8383
|
/**
|
|
8378
|
-
* Generated by orval v7.
|
|
8384
|
+
* Generated by orval v7.20.0 🍺
|
|
8379
8385
|
* Do not edit manually.
|
|
8380
8386
|
* Openfort API
|
|
8381
8387
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8384,34 +8390,12 @@ type DeleteEventResult = NonNullable<Awaited<ReturnType<typeof deleteEvent>>>;
|
|
|
8384
8390
|
|
|
8385
8391
|
type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8386
8392
|
/**
|
|
8387
|
-
* Creates token swap.
|
|
8388
|
-
* @summary Create token swap.
|
|
8389
|
-
*/
|
|
8390
|
-
declare const createSwap: (createExchangeRequest: CreateExchangeRequest, options?: SecondParameter$e<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
|
|
8391
|
-
/**
|
|
8392
|
-
* Quote token swap.
|
|
8393
|
-
* @summary Quote token swap.
|
|
8394
|
-
*/
|
|
8395
|
-
declare const quoteSwap: (createExchangeRequest: CreateExchangeRequest, options?: SecondParameter$e<typeof openfortApiClient<QuoteExchangeResult>>) => Promise<QuoteExchangeResult>;
|
|
8396
|
-
type CreateSwapResult = NonNullable<Awaited<ReturnType<typeof createSwap>>>;
|
|
8397
|
-
type QuoteSwapResult = NonNullable<Awaited<ReturnType<typeof quoteSwap>>>;
|
|
8398
|
-
|
|
8399
|
-
/**
|
|
8400
|
-
* Generated by orval v7.18.0 🍺
|
|
8401
|
-
* Do not edit manually.
|
|
8402
|
-
* Openfort API
|
|
8403
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8404
|
-
* OpenAPI spec version: 1.0.0
|
|
8405
|
-
*/
|
|
8406
|
-
|
|
8407
|
-
type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8408
|
-
/**
|
|
8409
8393
|
* Create a new forwarder contract.
|
|
8410
8394
|
|
|
8411
8395
|
This object represents the forwarder contract that will be used to pay the gas fees of the transactions.
|
|
8412
8396
|
* @summary Create a new forwarder contract.
|
|
8413
8397
|
*/
|
|
8414
|
-
declare const createForwarderContract: (createForwarderContractRequest: CreateForwarderContractRequest, options?: SecondParameter$
|
|
8398
|
+
declare const createForwarderContract: (createForwarderContractRequest: CreateForwarderContractRequest, options?: SecondParameter$e<typeof openfortApiClient<ForwarderContractResponse>>) => Promise<ForwarderContractResponse>;
|
|
8415
8399
|
/**
|
|
8416
8400
|
* Returns a list of forwarder contract.
|
|
8417
8401
|
|
|
@@ -8420,28 +8404,28 @@ This object represents the forwarder contract that will be used to pay the gas f
|
|
|
8420
8404
|
By default, a maximum of 10 forwarder contract are shown per page.
|
|
8421
8405
|
* @summary List forwarder contract.
|
|
8422
8406
|
*/
|
|
8423
|
-
declare const listForwarderContracts: (params?: ListForwarderContractsParams, options?: SecondParameter$
|
|
8407
|
+
declare const listForwarderContracts: (params?: ListForwarderContractsParams, options?: SecondParameter$e<typeof openfortApiClient<ForwarderContractResponse[]>>) => Promise<ForwarderContractResponse[]>;
|
|
8424
8408
|
/**
|
|
8425
8409
|
* Update a forwarder contract.
|
|
8426
8410
|
|
|
8427
8411
|
This object represents the forwarder contract that will be used to pay the gas fees of the transactions.
|
|
8428
8412
|
* @summary Update a forwarder contract.
|
|
8429
8413
|
*/
|
|
8430
|
-
declare const updateForwarderContract: (id: string, createForwarderContractRequest: CreateForwarderContractRequest, options?: SecondParameter$
|
|
8414
|
+
declare const updateForwarderContract: (id: string, createForwarderContractRequest: CreateForwarderContractRequest, options?: SecondParameter$e<typeof openfortApiClient<ForwarderContractResponse>>) => Promise<ForwarderContractResponse>;
|
|
8431
8415
|
/**
|
|
8432
8416
|
* Returns the forwarder contract with the given id.
|
|
8433
8417
|
|
|
8434
8418
|
This object represents the forwarder contract that will be used to pay the gas fees for the transactions.
|
|
8435
8419
|
* @summary Get forwarder contract by id.
|
|
8436
8420
|
*/
|
|
8437
|
-
declare const getForwarderContract: (id: string, options?: SecondParameter$
|
|
8421
|
+
declare const getForwarderContract: (id: string, options?: SecondParameter$e<typeof openfortApiClient<ForwarderContractResponse>>) => Promise<ForwarderContractResponse>;
|
|
8438
8422
|
/**
|
|
8439
8423
|
* Delete the forwarder contract with the given id.
|
|
8440
8424
|
|
|
8441
8425
|
This object represents the forwarder contract that will be used to pay the gas fees for the transactions.
|
|
8442
8426
|
* @summary Delete forwarder contract by id.
|
|
8443
8427
|
*/
|
|
8444
|
-
declare const deleteForwarderContract: (id: string, options?: SecondParameter$
|
|
8428
|
+
declare const deleteForwarderContract: (id: string, options?: SecondParameter$e<typeof openfortApiClient<ForwarderContractDeleteResponse>>) => Promise<ForwarderContractDeleteResponse>;
|
|
8445
8429
|
type CreateForwarderContractResult = NonNullable<Awaited<ReturnType<typeof createForwarderContract>>>;
|
|
8446
8430
|
type ListForwarderContractsResult = NonNullable<Awaited<ReturnType<typeof listForwarderContracts>>>;
|
|
8447
8431
|
type UpdateForwarderContractResult = NonNullable<Awaited<ReturnType<typeof updateForwarderContract>>>;
|
|
@@ -8449,46 +8433,46 @@ type GetForwarderContractResult = NonNullable<Awaited<ReturnType<typeof getForwa
|
|
|
8449
8433
|
type DeleteForwarderContractResult = NonNullable<Awaited<ReturnType<typeof deleteForwarderContract>>>;
|
|
8450
8434
|
|
|
8451
8435
|
/**
|
|
8452
|
-
* Generated by orval v7.
|
|
8436
|
+
* Generated by orval v7.20.0 🍺
|
|
8453
8437
|
* Do not edit manually.
|
|
8454
8438
|
* Openfort API
|
|
8455
8439
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8456
8440
|
* OpenAPI spec version: 1.0.0
|
|
8457
8441
|
*/
|
|
8458
8442
|
|
|
8459
|
-
type SecondParameter$
|
|
8460
|
-
declare const query: (queryBody: unknown, options?: SecondParameter$
|
|
8443
|
+
type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8444
|
+
declare const query: (queryBody: unknown, options?: SecondParameter$d<typeof openfortApiClient<unknown>>) => Promise<unknown>;
|
|
8461
8445
|
type QueryResult = NonNullable<Awaited<ReturnType<typeof query>>>;
|
|
8462
8446
|
|
|
8463
8447
|
/**
|
|
8464
|
-
* Generated by orval v7.
|
|
8448
|
+
* Generated by orval v7.20.0 🍺
|
|
8465
8449
|
* Do not edit manually.
|
|
8466
8450
|
* Openfort API
|
|
8467
8451
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8468
8452
|
* OpenAPI spec version: 1.0.0
|
|
8469
8453
|
*/
|
|
8470
8454
|
|
|
8471
|
-
type SecondParameter$
|
|
8455
|
+
type SecondParameter$c<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8472
8456
|
/**
|
|
8473
8457
|
* @summary Get logs for a project.
|
|
8474
8458
|
*/
|
|
8475
|
-
declare const getProjectLogs: (params?: GetProjectLogsParams, options?: SecondParameter$
|
|
8459
|
+
declare const getProjectLogs: (params?: GetProjectLogsParams, options?: SecondParameter$c<typeof openfortApiClient<ProjectLogs>>) => Promise<ProjectLogs>;
|
|
8476
8460
|
/**
|
|
8477
8461
|
* @summary Get webhook logs for a project.
|
|
8478
8462
|
*/
|
|
8479
|
-
declare const getWebhookLogsByProjectId: (options?: SecondParameter$
|
|
8463
|
+
declare const getWebhookLogsByProjectId: (options?: SecondParameter$c<typeof openfortApiClient<ProjectLogs>>) => Promise<ProjectLogs>;
|
|
8480
8464
|
type GetProjectLogsResult = NonNullable<Awaited<ReturnType<typeof getProjectLogs>>>;
|
|
8481
8465
|
type GetWebhookLogsByProjectIdResult = NonNullable<Awaited<ReturnType<typeof getWebhookLogsByProjectId>>>;
|
|
8482
8466
|
|
|
8483
8467
|
/**
|
|
8484
|
-
* Generated by orval v7.
|
|
8468
|
+
* Generated by orval v7.20.0 🍺
|
|
8485
8469
|
* Do not edit manually.
|
|
8486
8470
|
* Openfort API
|
|
8487
8471
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8488
8472
|
* OpenAPI spec version: 1.0.0
|
|
8489
8473
|
*/
|
|
8490
8474
|
|
|
8491
|
-
type SecondParameter$
|
|
8475
|
+
type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8492
8476
|
/**
|
|
8493
8477
|
* Creates an onramp session for the selected provider.
|
|
8494
8478
|
|
|
@@ -8497,7 +8481,7 @@ and provider-agnostic. The service layer handles translation between the common
|
|
|
8497
8481
|
provider-specific APIs.
|
|
8498
8482
|
* @summary Create onramp session
|
|
8499
8483
|
*/
|
|
8500
|
-
declare const createOnrampSession: (onrampSessionRequest: OnrampSessionRequest, options?: SecondParameter$
|
|
8484
|
+
declare const createOnrampSession: (onrampSessionRequest: OnrampSessionRequest, options?: SecondParameter$b<typeof openfortApiClient<OnrampSessionResponse>>) => Promise<OnrampSessionResponse>;
|
|
8501
8485
|
/**
|
|
8502
8486
|
* Retrieves onramp quote(s) without creating an actual transaction.
|
|
8503
8487
|
|
|
@@ -8507,26 +8491,26 @@ If provider is not specified, returns quotes from all available providers.
|
|
|
8507
8491
|
All request and response formats are unified and provider-agnostic.
|
|
8508
8492
|
* @summary Get onramp quote(s)
|
|
8509
8493
|
*/
|
|
8510
|
-
declare const getOnrampQuote: (onrampQuoteRequest: OnrampQuoteRequest, options?: SecondParameter$
|
|
8494
|
+
declare const getOnrampQuote: (onrampQuoteRequest: OnrampQuoteRequest, options?: SecondParameter$b<typeof openfortApiClient<OnrampQuotesResponse>>) => Promise<OnrampQuotesResponse>;
|
|
8511
8495
|
type CreateOnrampSessionResult = NonNullable<Awaited<ReturnType<typeof createOnrampSession>>>;
|
|
8512
8496
|
type GetOnrampQuoteResult = NonNullable<Awaited<ReturnType<typeof getOnrampQuote>>>;
|
|
8513
8497
|
|
|
8514
8498
|
/**
|
|
8515
|
-
* Generated by orval v7.
|
|
8499
|
+
* Generated by orval v7.20.0 🍺
|
|
8516
8500
|
* Do not edit manually.
|
|
8517
8501
|
* Openfort API
|
|
8518
8502
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8519
8503
|
* OpenAPI spec version: 1.0.0
|
|
8520
8504
|
*/
|
|
8521
8505
|
|
|
8522
|
-
type SecondParameter$
|
|
8506
|
+
type SecondParameter$a<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8523
8507
|
/**
|
|
8524
8508
|
* Create a new paymaster.
|
|
8525
8509
|
|
|
8526
8510
|
This object represents the paymaster that will be used to pay the gas fees of the transactions.
|
|
8527
8511
|
* @summary Create a new paymaster.
|
|
8528
8512
|
*/
|
|
8529
|
-
declare const createPaymaster: (createPaymasterRequest: CreatePaymasterRequest, options?: SecondParameter$
|
|
8513
|
+
declare const createPaymaster: (createPaymasterRequest: CreatePaymasterRequest, options?: SecondParameter$a<typeof openfortApiClient<PaymasterResponse>>) => Promise<PaymasterResponse>;
|
|
8530
8514
|
/**
|
|
8531
8515
|
* Returns a list of paymasters.
|
|
8532
8516
|
|
|
@@ -8535,28 +8519,28 @@ This object represents the paymasters that will be used to pay the gas fees for
|
|
|
8535
8519
|
By default, a maximum of 10 paymasters are shown per page.
|
|
8536
8520
|
* @summary List paymasters.
|
|
8537
8521
|
*/
|
|
8538
|
-
declare const listPaymasters: (params?: ListPaymastersParams, options?: SecondParameter$
|
|
8522
|
+
declare const listPaymasters: (params?: ListPaymastersParams, options?: SecondParameter$a<typeof openfortApiClient<PaymasterResponse[]>>) => Promise<PaymasterResponse[]>;
|
|
8539
8523
|
/**
|
|
8540
8524
|
* Update a paymaster.
|
|
8541
8525
|
|
|
8542
8526
|
This object represents the paymaster that will be used to pay the gas fees of the transactions.
|
|
8543
8527
|
* @summary Update a paymaster.
|
|
8544
8528
|
*/
|
|
8545
|
-
declare const updatePaymaster: (id: string, createPaymasterRequest: CreatePaymasterRequest, options?: SecondParameter$
|
|
8529
|
+
declare const updatePaymaster: (id: string, createPaymasterRequest: CreatePaymasterRequest, options?: SecondParameter$a<typeof openfortApiClient<PaymasterResponse>>) => Promise<PaymasterResponse>;
|
|
8546
8530
|
/**
|
|
8547
8531
|
* Returns the paymaster with the given id.
|
|
8548
8532
|
|
|
8549
8533
|
This object represents the paymaster that will be used to pay the gas fees for the transactions.
|
|
8550
8534
|
* @summary Get paymaster by id.
|
|
8551
8535
|
*/
|
|
8552
|
-
declare const getPaymaster: (id: string, options?: SecondParameter$
|
|
8536
|
+
declare const getPaymaster: (id: string, options?: SecondParameter$a<typeof openfortApiClient<PaymasterResponse>>) => Promise<PaymasterResponse>;
|
|
8553
8537
|
/**
|
|
8554
8538
|
* Delete the paymaster with the given id.
|
|
8555
8539
|
|
|
8556
8540
|
This object represents the paymaster that will be used to pay the gas fees for the transactions.
|
|
8557
8541
|
* @summary Delete paymaster by id.
|
|
8558
8542
|
*/
|
|
8559
|
-
declare const deletePaymaster: (id: string, options?: SecondParameter$
|
|
8543
|
+
declare const deletePaymaster: (id: string, options?: SecondParameter$a<typeof openfortApiClient<PaymasterDeleteResponse>>) => Promise<PaymasterDeleteResponse>;
|
|
8560
8544
|
type CreatePaymasterResult = NonNullable<Awaited<ReturnType<typeof createPaymaster>>>;
|
|
8561
8545
|
type ListPaymastersResult = NonNullable<Awaited<ReturnType<typeof listPaymasters>>>;
|
|
8562
8546
|
type UpdatePaymasterResult = NonNullable<Awaited<ReturnType<typeof updatePaymaster>>>;
|
|
@@ -8564,56 +8548,56 @@ type GetPaymasterResult = NonNullable<Awaited<ReturnType<typeof getPaymaster>>>;
|
|
|
8564
8548
|
type DeletePaymasterResult = NonNullable<Awaited<ReturnType<typeof deletePaymaster>>>;
|
|
8565
8549
|
|
|
8566
8550
|
/**
|
|
8567
|
-
* Generated by orval v7.
|
|
8551
|
+
* Generated by orval v7.20.0 🍺
|
|
8568
8552
|
* Do not edit manually.
|
|
8569
8553
|
* Openfort API
|
|
8570
8554
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8571
8555
|
* OpenAPI spec version: 1.0.0
|
|
8572
8556
|
*/
|
|
8573
8557
|
|
|
8574
|
-
type SecondParameter$
|
|
8558
|
+
type SecondParameter$9<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8575
8559
|
/**
|
|
8576
8560
|
* By default, a maximum of 10 players are shown.
|
|
8577
8561
|
|
|
8578
8562
|
Returns the latest 10 transaction intents that were created with each player.
|
|
8579
8563
|
* @summary List players.
|
|
8580
8564
|
*/
|
|
8581
|
-
declare const getPlayers: (params?: GetPlayersParams, options?: SecondParameter$
|
|
8565
|
+
declare const getPlayers: (params?: GetPlayersParams, options?: SecondParameter$9<typeof openfortApiClient<PlayerListResponse>>) => Promise<PlayerListResponse>;
|
|
8582
8566
|
/**
|
|
8583
8567
|
* Creates a player.
|
|
8584
8568
|
* @summary Create a player object.
|
|
8585
8569
|
*/
|
|
8586
|
-
declare const createPlayer: (playerCreateRequest: PlayerCreateRequest, options?: SecondParameter$
|
|
8570
|
+
declare const createPlayer: (playerCreateRequest: PlayerCreateRequest, options?: SecondParameter$9<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
|
|
8587
8571
|
/**
|
|
8588
8572
|
* Retrieves the details of a player that has previously been created.
|
|
8589
8573
|
|
|
8590
8574
|
Returns the latest 10 transaction intents that were created with this player.
|
|
8591
8575
|
* @summary Retrieves the details of an existing player.
|
|
8592
8576
|
*/
|
|
8593
|
-
declare const getPlayer: (id: string, params?: GetPlayerParams, options?: SecondParameter$
|
|
8577
|
+
declare const getPlayer: (id: string, params?: GetPlayerParams, options?: SecondParameter$9<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
|
|
8594
8578
|
/**
|
|
8595
8579
|
* Updates the specified player by setting the values of the parameters passed.
|
|
8596
8580
|
* @summary Updates a player object.
|
|
8597
8581
|
*/
|
|
8598
|
-
declare const updatePlayer: (id: string, playerUpdateRequest: PlayerUpdateRequest, options?: SecondParameter$
|
|
8582
|
+
declare const updatePlayer: (id: string, playerUpdateRequest: PlayerUpdateRequest, options?: SecondParameter$9<typeof openfortApiClient<PlayerResponse>>) => Promise<PlayerResponse>;
|
|
8599
8583
|
/**
|
|
8600
8584
|
* It will delete all linked accounts the player is authenticated with.
|
|
8601
8585
|
If the player has a linked embedded signer, it will be deleted as well.
|
|
8602
8586
|
* @summary Deletes a player object.
|
|
8603
8587
|
*/
|
|
8604
|
-
declare const deletePlayer: (id: string, options?: SecondParameter$
|
|
8588
|
+
declare const deletePlayer: (id: string, options?: SecondParameter$9<typeof openfortApiClient<PlayerDeleteResponse>>) => Promise<PlayerDeleteResponse>;
|
|
8605
8589
|
/**
|
|
8606
8590
|
* This endpoint allows you to perform a request to change the owner of an account.
|
|
8607
8591
|
To perform an update on the owner of an account, first you must provide a new owner address.
|
|
8608
8592
|
Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
8609
8593
|
* @summary Request transfer ownership of a player.
|
|
8610
8594
|
*/
|
|
8611
|
-
declare const requestTransferAccountOwnership: (id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: SecondParameter$
|
|
8595
|
+
declare const requestTransferAccountOwnership: (id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: SecondParameter$9<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
|
|
8612
8596
|
/**
|
|
8613
8597
|
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
8614
8598
|
* @summary Cancel request to transfer ownership of a player.
|
|
8615
8599
|
*/
|
|
8616
|
-
declare const cancelTransferAccountOwnership: (id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, options?: SecondParameter$
|
|
8600
|
+
declare const cancelTransferAccountOwnership: (id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, options?: SecondParameter$9<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
|
|
8617
8601
|
type GetPlayersResult = NonNullable<Awaited<ReturnType<typeof getPlayers>>>;
|
|
8618
8602
|
type CreatePlayerResult = NonNullable<Awaited<ReturnType<typeof createPlayer>>>;
|
|
8619
8603
|
type GetPlayerResult = NonNullable<Awaited<ReturnType<typeof getPlayer>>>;
|
|
@@ -8623,56 +8607,56 @@ type RequestTransferAccountOwnershipResult = NonNullable<Awaited<ReturnType<type
|
|
|
8623
8607
|
type CancelTransferAccountOwnershipResult = NonNullable<Awaited<ReturnType<typeof cancelTransferAccountOwnership>>>;
|
|
8624
8608
|
|
|
8625
8609
|
/**
|
|
8626
|
-
* Generated by orval v7.
|
|
8610
|
+
* Generated by orval v7.20.0 🍺
|
|
8627
8611
|
* Do not edit manually.
|
|
8628
8612
|
* Openfort API
|
|
8629
8613
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8630
8614
|
* OpenAPI spec version: 1.0.0
|
|
8631
8615
|
*/
|
|
8632
8616
|
|
|
8633
|
-
type SecondParameter$
|
|
8617
|
+
type SecondParameter$8<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8634
8618
|
/**
|
|
8635
8619
|
* Returns a list of Policies.
|
|
8636
8620
|
|
|
8637
8621
|
Returns the latest 10 transaction intents for each policy.
|
|
8638
8622
|
* @summary List policies.
|
|
8639
8623
|
*/
|
|
8640
|
-
declare const getPolicies: (params?: GetPoliciesParams, options?: SecondParameter$
|
|
8624
|
+
declare const getPolicies: (params?: GetPoliciesParams, options?: SecondParameter$8<typeof openfortApiClient<PolicyListResponse>>) => Promise<PolicyListResponse>;
|
|
8641
8625
|
/**
|
|
8642
8626
|
* @summary Create a policy object.
|
|
8643
8627
|
*/
|
|
8644
|
-
declare const createPolicy: (createPolicyRequest: CreatePolicyRequest, options?: SecondParameter$
|
|
8628
|
+
declare const createPolicy: (createPolicyRequest: CreatePolicyRequest, options?: SecondParameter$8<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
|
|
8645
8629
|
/**
|
|
8646
8630
|
* Retrieves the details of a Policy that has previously been created.
|
|
8647
8631
|
|
|
8648
8632
|
Returns the latest 10 transaction intents that used this policy.
|
|
8649
8633
|
* @summary Get a policy object.
|
|
8650
8634
|
*/
|
|
8651
|
-
declare const getPolicy: (id: string, params?: GetPolicyParams, options?: SecondParameter$
|
|
8635
|
+
declare const getPolicy: (id: string, params?: GetPolicyParams, options?: SecondParameter$8<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
|
|
8652
8636
|
/**
|
|
8653
8637
|
* @summary Update a policy object.
|
|
8654
8638
|
*/
|
|
8655
|
-
declare const updatePolicy: (id: string, updatePolicyRequest: UpdatePolicyRequest, options?: SecondParameter$
|
|
8639
|
+
declare const updatePolicy: (id: string, updatePolicyRequest: UpdatePolicyRequest, options?: SecondParameter$8<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
|
|
8656
8640
|
/**
|
|
8657
8641
|
* @summary Delete a policy object.
|
|
8658
8642
|
*/
|
|
8659
|
-
declare const deletePolicy: (id: string, options?: SecondParameter$
|
|
8643
|
+
declare const deletePolicy: (id: string, options?: SecondParameter$8<typeof openfortApiClient<PolicyDeleteResponse>>) => Promise<PolicyDeleteResponse>;
|
|
8660
8644
|
/**
|
|
8661
8645
|
* @summary Disable a policy object.
|
|
8662
8646
|
*/
|
|
8663
|
-
declare const disablePolicy: (id: string, options?: SecondParameter$
|
|
8647
|
+
declare const disablePolicy: (id: string, options?: SecondParameter$8<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
|
|
8664
8648
|
/**
|
|
8665
8649
|
* @summary Enable a policy object.
|
|
8666
8650
|
*/
|
|
8667
|
-
declare const enablePolicy: (id: string, options?: SecondParameter$
|
|
8651
|
+
declare const enablePolicy: (id: string, options?: SecondParameter$8<typeof openfortApiClient<PolicyResponse>>) => Promise<PolicyResponse>;
|
|
8668
8652
|
/**
|
|
8669
8653
|
* @summary List all gas reports of a policy.
|
|
8670
8654
|
*/
|
|
8671
|
-
declare const getPolicyTotalGasUsage: (id: string, params?: GetPolicyTotalGasUsageParams, options?: SecondParameter$
|
|
8655
|
+
declare const getPolicyTotalGasUsage: (id: string, params?: GetPolicyTotalGasUsageParams, options?: SecondParameter$8<typeof openfortApiClient<GasReportListResponse>>) => Promise<GasReportListResponse>;
|
|
8672
8656
|
/**
|
|
8673
8657
|
* @summary List transaction intents of a policy report.
|
|
8674
8658
|
*/
|
|
8675
|
-
declare const getPolicyReportTransactionIntents: (id: string, params: GetPolicyReportTransactionIntentsParams, options?: SecondParameter$
|
|
8659
|
+
declare const getPolicyReportTransactionIntents: (id: string, params: GetPolicyReportTransactionIntentsParams, options?: SecondParameter$8<typeof openfortApiClient<GasReportTransactionIntentsListResponse>>) => Promise<GasReportTransactionIntentsListResponse>;
|
|
8676
8660
|
/**
|
|
8677
8661
|
* Get the amount of ERC-20 tokens collected by policy.
|
|
8678
8662
|
|
|
@@ -8680,7 +8664,7 @@ When using a policy that includes payment of gas in ERC-20 tokens, this endpoint
|
|
|
8680
8664
|
This is specific to a policy that doesn't use your own deposited tokens in the paymaster.
|
|
8681
8665
|
* @summary Get amount of tokens paid for gas policy.
|
|
8682
8666
|
*/
|
|
8683
|
-
declare const getPolicyBalance: (id: string, options?: SecondParameter$
|
|
8667
|
+
declare const getPolicyBalance: (id: string, options?: SecondParameter$8<typeof openfortApiClient<PolicyBalanceWithdrawResponse>>) => Promise<PolicyBalanceWithdrawResponse>;
|
|
8684
8668
|
/**
|
|
8685
8669
|
* Transfer ERC-20 tokens collected by policy.
|
|
8686
8670
|
|
|
@@ -8688,7 +8672,7 @@ When using a policy that includes payment of gas in ERC-20 tokens, this endpoint
|
|
|
8688
8672
|
This is specific to a policy that doesn't use your own deposited tokens in the paymaster.
|
|
8689
8673
|
* @summary Withdraw tokens collected by policy.
|
|
8690
8674
|
*/
|
|
8691
|
-
declare const createPolicyWithdrawal: (id: string, withdrawalPolicyRequest: WithdrawalPolicyRequest, options?: SecondParameter$
|
|
8675
|
+
declare const createPolicyWithdrawal: (id: string, withdrawalPolicyRequest: WithdrawalPolicyRequest, options?: SecondParameter$8<typeof openfortApiClient<TransactionIntentResponse>>) => Promise<TransactionIntentResponse>;
|
|
8692
8676
|
type GetPoliciesResult = NonNullable<Awaited<ReturnType<typeof getPolicies>>>;
|
|
8693
8677
|
type CreatePolicyResult = NonNullable<Awaited<ReturnType<typeof createPolicy>>>;
|
|
8694
8678
|
type GetPolicyResult = NonNullable<Awaited<ReturnType<typeof getPolicy>>>;
|
|
@@ -8702,14 +8686,14 @@ type GetPolicyBalanceResult = NonNullable<Awaited<ReturnType<typeof getPolicyBal
|
|
|
8702
8686
|
type CreatePolicyWithdrawalResult = NonNullable<Awaited<ReturnType<typeof createPolicyWithdrawal>>>;
|
|
8703
8687
|
|
|
8704
8688
|
/**
|
|
8705
|
-
* Generated by orval v7.
|
|
8689
|
+
* Generated by orval v7.20.0 🍺
|
|
8706
8690
|
* Do not edit manually.
|
|
8707
8691
|
* Openfort API
|
|
8708
8692
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8709
8693
|
* OpenAPI spec version: 1.0.0
|
|
8710
8694
|
*/
|
|
8711
8695
|
|
|
8712
|
-
type SecondParameter$
|
|
8696
|
+
type SecondParameter$7<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8713
8697
|
/**
|
|
8714
8698
|
* Returns a list of policy rules of a policy.
|
|
8715
8699
|
|
|
@@ -8718,33 +8702,33 @@ The policy rules are returned sorted by creation date, with the most recently cr
|
|
|
8718
8702
|
By default, a maximum of 10 policy rules are shown per page.
|
|
8719
8703
|
* @summary List policy rules of a policy.
|
|
8720
8704
|
*/
|
|
8721
|
-
declare const getPolicyRules: (params: GetPolicyRulesParams, options?: SecondParameter$
|
|
8705
|
+
declare const getPolicyRules: (params: GetPolicyRulesParams, options?: SecondParameter$7<typeof openfortApiClient<PolicyRuleListResponse>>) => Promise<PolicyRuleListResponse>;
|
|
8722
8706
|
/**
|
|
8723
8707
|
* @summary Create a policy rule object.
|
|
8724
8708
|
*/
|
|
8725
|
-
declare const createPolicyRule: (createPolicyRuleRequest: CreatePolicyRuleRequest, options?: SecondParameter$
|
|
8709
|
+
declare const createPolicyRule: (createPolicyRuleRequest: CreatePolicyRuleRequest, options?: SecondParameter$7<typeof openfortApiClient<PolicyRuleResponse>>) => Promise<PolicyRuleResponse>;
|
|
8726
8710
|
/**
|
|
8727
8711
|
* @summary Update a policy rule object.
|
|
8728
8712
|
*/
|
|
8729
|
-
declare const updatePolicyRule: (id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: SecondParameter$
|
|
8713
|
+
declare const updatePolicyRule: (id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: SecondParameter$7<typeof openfortApiClient<PolicyRuleResponse>>) => Promise<PolicyRuleResponse>;
|
|
8730
8714
|
/**
|
|
8731
8715
|
* @summary Deletes a policy rule object.
|
|
8732
8716
|
*/
|
|
8733
|
-
declare const deletePolicyRule: (id: string, options?: SecondParameter$
|
|
8717
|
+
declare const deletePolicyRule: (id: string, options?: SecondParameter$7<typeof openfortApiClient<PolicyRuleDeleteResponse>>) => Promise<PolicyRuleDeleteResponse>;
|
|
8734
8718
|
type GetPolicyRulesResult = NonNullable<Awaited<ReturnType<typeof getPolicyRules>>>;
|
|
8735
8719
|
type CreatePolicyRuleResult = NonNullable<Awaited<ReturnType<typeof createPolicyRule>>>;
|
|
8736
8720
|
type UpdatePolicyRuleResult = NonNullable<Awaited<ReturnType<typeof updatePolicyRule>>>;
|
|
8737
8721
|
type DeletePolicyRuleResult = NonNullable<Awaited<ReturnType<typeof deletePolicyRule>>>;
|
|
8738
8722
|
|
|
8739
8723
|
/**
|
|
8740
|
-
* Generated by orval v7.
|
|
8724
|
+
* Generated by orval v7.20.0 🍺
|
|
8741
8725
|
* Do not edit manually.
|
|
8742
8726
|
* Openfort API
|
|
8743
8727
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8744
8728
|
* OpenAPI spec version: 1.0.0
|
|
8745
8729
|
*/
|
|
8746
8730
|
|
|
8747
|
-
type SecondParameter$
|
|
8731
|
+
type SecondParameter$6<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8748
8732
|
/**
|
|
8749
8733
|
* Execute JSON-RPC 2.0 wallet methods
|
|
8750
8734
|
|
|
@@ -8758,7 +8742,7 @@ It supports EIP-7811 wallet methods that operate across multiple chains.
|
|
|
8758
8742
|
Supports multiple authentication methods including public key access tokens and third-party tokens
|
|
8759
8743
|
* @summary Execute wallet JSON-RPC methods
|
|
8760
8744
|
*/
|
|
8761
|
-
declare const handleRpcRequest: (jsonRpcRequest: JsonRpcRequest, options?: SecondParameter$
|
|
8745
|
+
declare const handleRpcRequest: (jsonRpcRequest: JsonRpcRequest, options?: SecondParameter$6<typeof openfortApiClient<JsonRpcResponse>>) => Promise<JsonRpcResponse>;
|
|
8762
8746
|
/**
|
|
8763
8747
|
* Execute chain-specific JSON-RPC 2.0 methods (bundler & paymaster)
|
|
8764
8748
|
|
|
@@ -8772,46 +8756,46 @@ The chainId is specified in the URL path following the standard pattern.
|
|
|
8772
8756
|
- `wallet_*`: EIP-7811 wallet methods (can also be called here with chainId context)
|
|
8773
8757
|
* @summary Execute chain-specific bundler and paymaster JSON-RPC methods
|
|
8774
8758
|
*/
|
|
8775
|
-
declare const handleChainRpcRequest: (chainId: number, jsonRpcRequest: JsonRpcRequest, options?: SecondParameter$
|
|
8759
|
+
declare const handleChainRpcRequest: (chainId: number, jsonRpcRequest: JsonRpcRequest, options?: SecondParameter$6<typeof openfortApiClient<JsonRpcResponse>>) => Promise<JsonRpcResponse>;
|
|
8776
8760
|
type HandleRpcRequestResult = NonNullable<Awaited<ReturnType<typeof handleRpcRequest>>>;
|
|
8777
8761
|
type HandleChainRpcRequestResult = NonNullable<Awaited<ReturnType<typeof handleChainRpcRequest>>>;
|
|
8778
8762
|
|
|
8779
8763
|
/**
|
|
8780
|
-
* Generated by orval v7.
|
|
8764
|
+
* Generated by orval v7.20.0 🍺
|
|
8781
8765
|
* Do not edit manually.
|
|
8782
8766
|
* Openfort API
|
|
8783
8767
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8784
8768
|
* OpenAPI spec version: 1.0.0
|
|
8785
8769
|
*/
|
|
8786
8770
|
|
|
8787
|
-
type SecondParameter$
|
|
8771
|
+
type SecondParameter$5<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8788
8772
|
/**
|
|
8789
8773
|
* Returns a list of Sessions.
|
|
8790
8774
|
|
|
8791
8775
|
Returns the latest 10 transaction intents for each session.
|
|
8792
8776
|
* @summary List session keys of a player.
|
|
8793
8777
|
*/
|
|
8794
|
-
declare const getPlayerSessions: (params: GetPlayerSessionsParams, options?: SecondParameter$
|
|
8778
|
+
declare const getPlayerSessions: (params: GetPlayerSessionsParams, options?: SecondParameter$5<typeof openfortApiClient<SessionListResponse>>) => Promise<SessionListResponse>;
|
|
8795
8779
|
/**
|
|
8796
8780
|
* Creates a Session.
|
|
8797
8781
|
* @summary Create a session key.
|
|
8798
8782
|
*/
|
|
8799
|
-
declare const createSession: (createSessionRequest: CreateSessionRequest, options?: SecondParameter$
|
|
8783
|
+
declare const createSession: (createSessionRequest: CreateSessionRequest, options?: SecondParameter$5<typeof openfortApiClient<SessionResponse>>) => Promise<SessionResponse>;
|
|
8800
8784
|
/**
|
|
8801
8785
|
* @summary Revoke the session session key.
|
|
8802
8786
|
*/
|
|
8803
|
-
declare const revokeSession: (revokeSessionRequest: RevokeSessionRequest, options?: SecondParameter$
|
|
8787
|
+
declare const revokeSession: (revokeSessionRequest: RevokeSessionRequest, options?: SecondParameter$5<typeof openfortApiClient<SessionResponse>>) => Promise<SessionResponse>;
|
|
8804
8788
|
/**
|
|
8805
8789
|
* @summary Send signed userOperationHash to create session.
|
|
8806
8790
|
*/
|
|
8807
|
-
declare const signatureSession: (id: string, signatureRequest: SignatureRequest, options?: SecondParameter$
|
|
8791
|
+
declare const signatureSession: (id: string, signatureRequest: SignatureRequest, options?: SecondParameter$5<typeof openfortApiClient<SessionResponse>>) => Promise<SessionResponse>;
|
|
8808
8792
|
/**
|
|
8809
8793
|
* Retrieves the details of a Session that has previously been created.
|
|
8810
8794
|
|
|
8811
8795
|
Returns the latest 10 transaction intents that used this session.
|
|
8812
8796
|
* @summary Returns a player session by session id
|
|
8813
8797
|
*/
|
|
8814
|
-
declare const getSession: (id: string, params?: GetSessionParams, options?: SecondParameter$
|
|
8798
|
+
declare const getSession: (id: string, params?: GetSessionParams, options?: SecondParameter$5<typeof openfortApiClient<SessionResponse>>) => Promise<SessionResponse>;
|
|
8815
8799
|
type GetPlayerSessionsResult = NonNullable<Awaited<ReturnType<typeof getPlayerSessions>>>;
|
|
8816
8800
|
type CreateSessionResult = NonNullable<Awaited<ReturnType<typeof createSession>>>;
|
|
8817
8801
|
type RevokeSessionResult = NonNullable<Awaited<ReturnType<typeof revokeSession>>>;
|
|
@@ -8819,14 +8803,14 @@ type SignatureSessionResult = NonNullable<Awaited<ReturnType<typeof signatureSes
|
|
|
8819
8803
|
type GetSessionResult = NonNullable<Awaited<ReturnType<typeof getSession>>>;
|
|
8820
8804
|
|
|
8821
8805
|
/**
|
|
8822
|
-
* Generated by orval v7.
|
|
8806
|
+
* Generated by orval v7.20.0 🍺
|
|
8823
8807
|
* Do not edit manually.
|
|
8824
8808
|
* Openfort API
|
|
8825
8809
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8826
8810
|
* OpenAPI spec version: 1.0.0
|
|
8827
8811
|
*/
|
|
8828
8812
|
|
|
8829
|
-
type SecondParameter$
|
|
8813
|
+
type SecondParameter$4<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8830
8814
|
/**
|
|
8831
8815
|
* Retrieve the list of the developer accounts for the current project.
|
|
8832
8816
|
|
|
@@ -8835,40 +8819,40 @@ Returns the latest 10 transaction intents that were created with each developer
|
|
|
8835
8819
|
By default, a maximum of 10 accounts are shown per page.
|
|
8836
8820
|
* @summary List of developer accounts.
|
|
8837
8821
|
*/
|
|
8838
|
-
declare const getDeveloperAccounts: (params?: GetDeveloperAccountsParams, options?: SecondParameter$
|
|
8822
|
+
declare const getDeveloperAccounts: (params?: GetDeveloperAccountsParams, options?: SecondParameter$4<typeof openfortApiClient<DeveloperAccountListResponse>>) => Promise<DeveloperAccountListResponse>;
|
|
8839
8823
|
/**
|
|
8840
8824
|
* Create or add a developer account.
|
|
8841
8825
|
To add your own external account, add a signature and the address of the account. This verified account can then be used as a verified depositor
|
|
8842
8826
|
* @summary Create a developer account.
|
|
8843
8827
|
*/
|
|
8844
|
-
declare const createDeveloperAccount: (createDeveloperAccountCreateRequest: CreateDeveloperAccountCreateRequest, options?: SecondParameter$
|
|
8828
|
+
declare const createDeveloperAccount: (createDeveloperAccountCreateRequest: CreateDeveloperAccountCreateRequest, options?: SecondParameter$4<typeof openfortApiClient<DeveloperAccountResponse>>) => Promise<DeveloperAccountResponse>;
|
|
8845
8829
|
/**
|
|
8846
8830
|
* Signs the typed repositories value with types repositories structure for domain using the [EIP-712](https://eips.ethereum.org/EIPS/eip-712) specification.
|
|
8847
8831
|
* @summary Sign a given payload
|
|
8848
8832
|
*/
|
|
8849
|
-
declare const signPayloadDeveloperAccount: (id: string, signPayloadRequest: SignPayloadRequest, options?: SecondParameter$
|
|
8833
|
+
declare const signPayloadDeveloperAccount: (id: string, signPayloadRequest: SignPayloadRequest, options?: SecondParameter$4<typeof openfortApiClient<SignPayloadResponse>>) => Promise<SignPayloadResponse>;
|
|
8850
8834
|
/**
|
|
8851
8835
|
* Update a developer account.
|
|
8852
8836
|
* @summary Update a developer account.
|
|
8853
8837
|
*/
|
|
8854
|
-
declare const updateDeveloperAccount: (id: string, updateDeveloperAccountCreateRequest: UpdateDeveloperAccountCreateRequest, options?: SecondParameter$
|
|
8838
|
+
declare const updateDeveloperAccount: (id: string, updateDeveloperAccountCreateRequest: UpdateDeveloperAccountCreateRequest, options?: SecondParameter$4<typeof openfortApiClient<DeveloperAccountResponse>>) => Promise<DeveloperAccountResponse>;
|
|
8855
8839
|
/**
|
|
8856
8840
|
* Retrieve a developer account.
|
|
8857
8841
|
|
|
8858
8842
|
Returns the latest 10 transaction intents that were created with each developer account.
|
|
8859
8843
|
* @summary Get existing developer account.
|
|
8860
8844
|
*/
|
|
8861
|
-
declare const getDeveloperAccount: (id: string, params?: GetDeveloperAccountParams, options?: SecondParameter$
|
|
8845
|
+
declare const getDeveloperAccount: (id: string, params?: GetDeveloperAccountParams, options?: SecondParameter$4<typeof openfortApiClient<DeveloperAccountResponse>>) => Promise<DeveloperAccountResponse>;
|
|
8862
8846
|
/**
|
|
8863
8847
|
* Delete a developer account from the current project.
|
|
8864
8848
|
* @summary Delete a developer account.
|
|
8865
8849
|
*/
|
|
8866
|
-
declare const deleteDeveloperAccount: (id: string, options?: SecondParameter$
|
|
8850
|
+
declare const deleteDeveloperAccount: (id: string, options?: SecondParameter$4<typeof openfortApiClient<DeveloperAccountDeleteResponse>>) => Promise<DeveloperAccountDeleteResponse>;
|
|
8867
8851
|
/**
|
|
8868
8852
|
* Generate message, which should be signed by the account your want to add as a developer account.
|
|
8869
8853
|
* @summary Generate message to sign
|
|
8870
8854
|
*/
|
|
8871
|
-
declare const getVerificationPayload: (params: GetVerificationPayloadParams, options?: SecondParameter$
|
|
8855
|
+
declare const getVerificationPayload: (params: GetVerificationPayloadParams, options?: SecondParameter$4<typeof openfortApiClient<DeveloperAccountGetMessageResponse>>) => Promise<DeveloperAccountGetMessageResponse>;
|
|
8872
8856
|
type GetDeveloperAccountsResult = NonNullable<Awaited<ReturnType<typeof getDeveloperAccounts>>>;
|
|
8873
8857
|
type CreateDeveloperAccountResult = NonNullable<Awaited<ReturnType<typeof createDeveloperAccount>>>;
|
|
8874
8858
|
type SignPayloadDeveloperAccountResult = NonNullable<Awaited<ReturnType<typeof signPayloadDeveloperAccount>>>;
|
|
@@ -8878,7 +8862,40 @@ type DeleteDeveloperAccountResult = NonNullable<Awaited<ReturnType<typeof delete
|
|
|
8878
8862
|
type GetVerificationPayloadResult = NonNullable<Awaited<ReturnType<typeof getVerificationPayload>>>;
|
|
8879
8863
|
|
|
8880
8864
|
/**
|
|
8881
|
-
* Generated by orval v7.
|
|
8865
|
+
* Generated by orval v7.20.0 🍺
|
|
8866
|
+
* Do not edit manually.
|
|
8867
|
+
* Openfort API
|
|
8868
|
+
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8869
|
+
* OpenAPI spec version: 1.0.0
|
|
8870
|
+
*/
|
|
8871
|
+
|
|
8872
|
+
type SecondParameter$3<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8873
|
+
/**
|
|
8874
|
+
* Execute Solana JSON-RPC 2.0 methods via Kora
|
|
8875
|
+
|
|
8876
|
+
This endpoint handles Solana-specific JSON-RPC 2.0 requests for gasless transactions
|
|
8877
|
+
using the Kora paymaster service.
|
|
8878
|
+
|
|
8879
|
+
**Supported clusters:**
|
|
8880
|
+
- `mainnet-beta` - Solana mainnet-beta
|
|
8881
|
+
- `devnet` - Solana devnet
|
|
8882
|
+
|
|
8883
|
+
**Supported methods (per Kora JSON-RPC API spec):**
|
|
8884
|
+
- `getConfig`: Retrieve Kora server configuration
|
|
8885
|
+
- `getPayerSigner`: Get fee payer signer and payment destination
|
|
8886
|
+
- `getSupportedTokens`: List tokens accepted for fee payment
|
|
8887
|
+
- `getBlockhash`: Get latest blockhash
|
|
8888
|
+
- `estimateTransactionFee`: Estimate fees in lamports and token
|
|
8889
|
+
- `transferTransaction`: Create token transfer with Kora as fee payer
|
|
8890
|
+
- `signTransaction`: Sign transaction without broadcasting
|
|
8891
|
+
- `signAndSendTransaction`: Sign and broadcast to Solana
|
|
8892
|
+
* @summary Execute Solana Kora JSON-RPC methods
|
|
8893
|
+
*/
|
|
8894
|
+
declare const handleSolanaRpcRequest: (cluster: string, jsonRpcRequest: JsonRpcRequest, options?: SecondParameter$3<typeof openfortApiClient<JsonRpcResponse>>) => Promise<JsonRpcResponse>;
|
|
8895
|
+
type HandleSolanaRpcRequestResult = NonNullable<Awaited<ReturnType<typeof handleSolanaRpcRequest>>>;
|
|
8896
|
+
|
|
8897
|
+
/**
|
|
8898
|
+
* Generated by orval v7.20.0 🍺
|
|
8882
8899
|
* Do not edit manually.
|
|
8883
8900
|
* Openfort API
|
|
8884
8901
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8976,7 +8993,7 @@ type DeleteTriggerResult = NonNullable<Awaited<ReturnType<typeof deleteTrigger>>
|
|
|
8976
8993
|
type TestTriggerResult = NonNullable<Awaited<ReturnType<typeof testTrigger>>>;
|
|
8977
8994
|
|
|
8978
8995
|
/**
|
|
8979
|
-
* Generated by orval v7.
|
|
8996
|
+
* Generated by orval v7.20.0 🍺
|
|
8980
8997
|
* Do not edit manually.
|
|
8981
8998
|
* Openfort API
|
|
8982
8999
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -9028,7 +9045,7 @@ type EstimateTransactionIntentCostResult = NonNullable<Awaited<ReturnType<typeof
|
|
|
9028
9045
|
type SignatureResult = NonNullable<Awaited<ReturnType<typeof signature>>>;
|
|
9029
9046
|
|
|
9030
9047
|
/**
|
|
9031
|
-
* Generated by orval v7.
|
|
9048
|
+
* Generated by orval v7.20.0 🍺
|
|
9032
9049
|
* Do not edit manually.
|
|
9033
9050
|
* Openfort API
|
|
9034
9051
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -9057,6 +9074,11 @@ If the user has a linked embedded signer, it will be deleted as well.
|
|
|
9057
9074
|
*/
|
|
9058
9075
|
declare const deleteUser: (id: string, options?: SecondParameter<typeof openfortApiClient<BaseDeleteEntityResponseEntityTypePLAYER>>) => Promise<BaseDeleteEntityResponseEntityTypePLAYER>;
|
|
9059
9076
|
/**
|
|
9077
|
+
* Retrieves the wallet associated with an authenticated user.
|
|
9078
|
+
* @summary Get wallet for user.
|
|
9079
|
+
*/
|
|
9080
|
+
declare const getUserWallet: (id: string, options?: SecondParameter<typeof openfortApiClient<BaseEntityResponseEntityTypeWALLET>>) => Promise<BaseEntityResponseEntityTypeWALLET>;
|
|
9081
|
+
/**
|
|
9060
9082
|
* Pre-generate a user with an embedded account before they authenticate.
|
|
9061
9083
|
Creates a user record and an embedded account using the provided SSS key shares.
|
|
9062
9084
|
When the user later authenticates (via email, OAuth, third-party auth, etc.)
|
|
@@ -9079,6 +9101,7 @@ declare const thirdPartyV2: (thirdPartyOAuthRequest: ThirdPartyOAuthRequest, opt
|
|
|
9079
9101
|
type GetAuthUsersResult = NonNullable<Awaited<ReturnType<typeof getAuthUsers>>>;
|
|
9080
9102
|
type GetAuthUserResult = NonNullable<Awaited<ReturnType<typeof getAuthUser>>>;
|
|
9081
9103
|
type DeleteUserResult = NonNullable<Awaited<ReturnType<typeof deleteUser>>>;
|
|
9104
|
+
type GetUserWalletResult = NonNullable<Awaited<ReturnType<typeof getUserWallet>>>;
|
|
9082
9105
|
type PregenerateUserV2Result = NonNullable<Awaited<ReturnType<typeof pregenerateUserV2>>>;
|
|
9083
9106
|
type MeV2Result = NonNullable<Awaited<ReturnType<typeof meV2>>>;
|
|
9084
9107
|
type ThirdPartyV2Result = NonNullable<Awaited<ReturnType<typeof thirdPartyV2>>>;
|
|
@@ -9537,15 +9560,6 @@ declare class Openfort {
|
|
|
9537
9560
|
/** Delete a trigger */
|
|
9538
9561
|
delete: (id: string, triggerId: string, options?: string | RequestOptions | undefined) => Promise<TriggerDeleteResponse>;
|
|
9539
9562
|
};
|
|
9540
|
-
/**
|
|
9541
|
-
* Exchange endpoints
|
|
9542
|
-
*/
|
|
9543
|
-
get exchange(): {
|
|
9544
|
-
/** Create swap */
|
|
9545
|
-
createSwap: (createExchangeRequest: CreateExchangeRequest, options?: string | RequestOptions | undefined) => Promise<TransactionIntentResponse>;
|
|
9546
|
-
/** Get swap quote */
|
|
9547
|
-
quoteSwap: (createExchangeRequest: CreateExchangeRequest, options?: string | RequestOptions | undefined) => Promise<QuoteExchangeResult>;
|
|
9548
|
-
};
|
|
9549
9563
|
/**
|
|
9550
9564
|
* Authentication endpoints
|
|
9551
9565
|
*
|
|
@@ -9687,4 +9701,4 @@ declare class Openfort {
|
|
|
9687
9701
|
createEncryptionSession(shieldApiKey: string, shieldApiSecret: string, encryptionShare: string, shieldApiBaseUrl?: string): Promise<string>;
|
|
9688
9702
|
}
|
|
9689
9703
|
|
|
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 };
|
|
9704
|
+
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 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, type BaseEntityResponseEntityTypeWALLET, 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 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 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, EntityTypeWALLET, 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 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 GetUserWalletResult, type GetVerificationPayloadParams, type GetVerificationPayloadResult, type GetWebhookLogsByProjectIdResult, type GoogleOAuthConfig, type GrantCallbackRequest, type GrantOAuthResponse, type GrantOAuthResult, type GuestAuthConfig, type HandleChainRpcRequestResult, type HandleRpcRequestResult, type HandleSolanaRpcRequestResult, type HttpErrorType, IMPORT_ENCRYPTION_PUBLIC_KEY, type ImportPrivateKeyRequest, ImportPrivateKeyRequestChainType, type ImportPrivateKeyResponse, ImportPrivateKeyResponseChainType, ImportPrivateKeyResponseObject, type ImportPrivateKeyResult, type ImportSolanaAccountOptions, type InitEmbeddedRequest, type InitOAuthResult, type InitSIWEResult, type Interaction, InvalidAPIKeyFormatError, InvalidPublishableKeyFormatError, type InvalidRequestError, type InvalidRequestErrorResponse, InvalidWalletSecretFormatError, type JsonRpcError, type JsonRpcErrorResponse, 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 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, TokenType, 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 WalletResponse, 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, 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, getUserWallet, getVerificationPayload, getWebhookLogsByProjectId, grantOAuth, handleChainRpcRequest, handleRpcRequest, handleSolanaRpcRequest, importPrivateKey, initOAuth, initSIWE, isOpenfortError, linkEmail, linkOAuth, linkSIWE, linkThirdParty, list, listBackendWallets, listForwarderContracts, listOAuthConfig, listPaymasters, listSubscriptionLogs, loginEmailPassword, loginOIDC, loginWithIdToken, logout, me, meV2, poolOAuth, pregenerateUserV2, query, 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 };
|