@openfort/openfort-node 0.9.3 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/index.d.mts +274 -84
- package/dist/index.d.ts +274 -84
- package/dist/index.js +423 -35
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +423 -45
- package/dist/index.mjs.map +1 -1
- package/examples/evm/policies/createAccountPolicy.ts +68 -0
- package/examples/evm/policies/createProjectPolicy.ts +53 -0
- package/examples/evm/policies/deletePolicy.ts +34 -0
- package/examples/evm/policies/getPolicyById.ts +34 -0
- package/examples/evm/policies/listAccountPolicies.ts +11 -0
- package/examples/evm/policies/listPolicies.ts +11 -0
- package/examples/evm/policies/listProjectPolicies.ts +11 -0
- package/examples/evm/policies/signTypedDataPolicy.ts +35 -0
- package/examples/evm/policies/updatePolicy.ts +44 -0
- package/examples/evm/policies/validation.ts +45 -0
- package/examples/evm/transactions/sendTransaction.ts +44 -0
- package/examples/package.json +13 -0
- package/examples/pnpm-lock.yaml +933 -0
- package/examples/solana/policies/createSolAllowlistPolicy.ts +27 -0
- package/examples/solana/policies/createSolMessagePolicy.ts +29 -0
- package/examples/solana/policies/createSplTokenLimitsPolicy.ts +33 -0
- package/examples/solana/transactions/sendRawTransaction.ts +23 -0
- package/examples/solana/transactions/sendTransaction.ts +37 -0
- package/examples/solana/transactions/transfer.ts +44 -0
- package/knip.json +10 -1
- package/package.json +42 -4
- package/tsconfig.json +2 -3
- package/examples/policies/createAccountPolicy.ts +0 -71
- package/examples/policies/createEvmPolicy.ts +0 -149
- package/examples/policies/createSolanaPolicy.ts +0 -176
- package/examples/policies/createTypedDataPolicy.ts +0 -159
- package/examples/policies/deletePolicy.ts +0 -34
- package/examples/policies/getPolicy.ts +0 -41
- package/examples/policies/listPolicies.ts +0 -34
- package/examples/policies/multiRulePolicy.ts +0 -133
- package/examples/policies/updatePolicy.ts +0 -77
- package/examples/policies/validatePolicy.ts +0 -176
- /package/examples/{contracts → evm/contracts}/createContract.ts +0 -0
- /package/examples/{contracts → evm/contracts}/listContracts.ts +0 -0
- /package/examples/{transactions → evm/transactionIntents}/createTransactionIntent.ts +0 -0
- /package/examples/{transactions → evm/transactionIntents}/estimateGas.ts +0 -0
- /package/examples/{transactions → evm/transactionIntents}/getTransactionIntent.ts +0 -0
- /package/examples/{transactions → evm/transactionIntents}/listTransactionIntents.ts +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Address, Hash, Hex, SignableMessage, TransactionSerializable, TypedData, TypedDataDefinition } from 'viem';
|
|
2
2
|
export { Address, Hash, Hex, SignableMessage, TransactionSerializable, TypedData, TypedDataDefinition } from 'viem';
|
|
3
|
+
import { Instruction } from '@solana/kit';
|
|
3
4
|
import { ShieldAuthProvider } from '@openfort/shield-js';
|
|
4
5
|
export { ShieldAuthProvider } from '@openfort/shield-js';
|
|
5
6
|
import { AxiosRequestConfig } from 'axios';
|
|
@@ -12,14 +13,18 @@ type HttpErrorType = 'unexpected_error' | 'unauthorized' | 'forbidden' | 'not_fo
|
|
|
12
13
|
/**
|
|
13
14
|
* Extended API error type
|
|
14
15
|
*/
|
|
15
|
-
type APIErrorType = HttpErrorType | string;
|
|
16
|
+
type APIErrorType = HttpErrorType | (string & {});
|
|
16
17
|
/**
|
|
17
18
|
* Shape of Openfort API error responses
|
|
18
19
|
*/
|
|
19
20
|
interface OpenfortErrorResponse {
|
|
21
|
+
/** The human-readable error message */
|
|
20
22
|
message?: string;
|
|
23
|
+
/** The error type or description string */
|
|
21
24
|
error?: string;
|
|
25
|
+
/** The HTTP status code of the response */
|
|
22
26
|
statusCode?: number;
|
|
27
|
+
/** A unique identifier for tracing this error across systems */
|
|
23
28
|
correlationId?: string;
|
|
24
29
|
}
|
|
25
30
|
/**
|
|
@@ -30,11 +35,17 @@ declare function isOpenfortError(obj: unknown): obj is OpenfortErrorResponse;
|
|
|
30
35
|
* Extended API error that encompasses both Openfort errors and other API-related errors
|
|
31
36
|
*/
|
|
32
37
|
declare class APIError extends Error {
|
|
38
|
+
/** The HTTP status code */
|
|
33
39
|
statusCode: number;
|
|
40
|
+
/** The classified error type */
|
|
34
41
|
errorType: APIErrorType;
|
|
42
|
+
/** The human-readable error message */
|
|
35
43
|
errorMessage: string;
|
|
44
|
+
/** A unique identifier for tracing this error across systems */
|
|
36
45
|
correlationId?: string;
|
|
46
|
+
/** URL to documentation about this error */
|
|
37
47
|
errorLink?: string;
|
|
48
|
+
/** The underlying error that caused this API error */
|
|
38
49
|
cause?: Error | unknown;
|
|
39
50
|
/**
|
|
40
51
|
* Constructor for the APIError class
|
|
@@ -55,7 +66,7 @@ declare class APIError extends Error {
|
|
|
55
66
|
correlationId?: string | undefined;
|
|
56
67
|
name: string;
|
|
57
68
|
statusCode: number;
|
|
58
|
-
errorType:
|
|
69
|
+
errorType: APIErrorType;
|
|
59
70
|
errorMessage: string;
|
|
60
71
|
};
|
|
61
72
|
}
|
|
@@ -64,6 +75,7 @@ declare class APIError extends Error {
|
|
|
64
75
|
* This includes gateway errors, IP blocklist rejections, DNS failures, timeouts, etc.
|
|
65
76
|
*/
|
|
66
77
|
declare class NetworkError extends APIError {
|
|
78
|
+
/** Additional details about the network failure (error code, message, and whether the request can be retried) */
|
|
67
79
|
networkDetails?: {
|
|
68
80
|
code?: string;
|
|
69
81
|
message?: string;
|
|
@@ -95,7 +107,7 @@ declare class NetworkError extends APIError {
|
|
|
95
107
|
correlationId?: string | undefined;
|
|
96
108
|
name: string;
|
|
97
109
|
statusCode: number;
|
|
98
|
-
errorType:
|
|
110
|
+
errorType: APIErrorType;
|
|
99
111
|
errorMessage: string;
|
|
100
112
|
};
|
|
101
113
|
}
|
|
@@ -103,6 +115,7 @@ declare class NetworkError extends APIError {
|
|
|
103
115
|
* Error thrown when an error is not known or cannot be categorized
|
|
104
116
|
*/
|
|
105
117
|
declare class UnknownError extends Error {
|
|
118
|
+
/** The underlying error that caused this unknown error */
|
|
106
119
|
cause?: Error;
|
|
107
120
|
/**
|
|
108
121
|
* Constructor for the UnknownError class
|
|
@@ -116,7 +129,9 @@ declare class UnknownError extends Error {
|
|
|
116
129
|
* Error thrown for user input validation failures
|
|
117
130
|
*/
|
|
118
131
|
declare class ValidationError extends Error {
|
|
132
|
+
/** The name of the field that failed validation */
|
|
119
133
|
field?: string;
|
|
134
|
+
/** The invalid value that was provided */
|
|
120
135
|
value?: unknown;
|
|
121
136
|
/**
|
|
122
137
|
* Constructor for the ValidationError class
|
|
@@ -9521,39 +9536,6 @@ interface EvmSigningMethods {
|
|
|
9521
9536
|
* Full EVM server account with all signing capabilities
|
|
9522
9537
|
*/
|
|
9523
9538
|
type EvmAccount = EvmAccountBase & EvmSigningMethods;
|
|
9524
|
-
/**
|
|
9525
|
-
* Options for sign message action
|
|
9526
|
-
*/
|
|
9527
|
-
interface SignMessageOptions$1 {
|
|
9528
|
-
/** Account address */
|
|
9529
|
-
address: Address;
|
|
9530
|
-
/** Message to sign (string or SignableMessage) */
|
|
9531
|
-
message: SignableMessage;
|
|
9532
|
-
/** Idempotency key */
|
|
9533
|
-
idempotencyKey?: string;
|
|
9534
|
-
}
|
|
9535
|
-
/**
|
|
9536
|
-
* Options for sign typed data action
|
|
9537
|
-
*/
|
|
9538
|
-
interface SignTypedDataOptions<T extends TypedData | Record<string, unknown> = TypedData, P extends keyof T | 'EIP712Domain' = keyof T> {
|
|
9539
|
-
/** Account address */
|
|
9540
|
-
address: Address;
|
|
9541
|
-
/** Typed data definition */
|
|
9542
|
-
typedData: TypedDataDefinition<T, P>;
|
|
9543
|
-
/** Idempotency key */
|
|
9544
|
-
idempotencyKey?: string;
|
|
9545
|
-
}
|
|
9546
|
-
/**
|
|
9547
|
-
* Options for sign transaction action
|
|
9548
|
-
*/
|
|
9549
|
-
interface SignTransactionOptions$1 {
|
|
9550
|
-
/** Account address */
|
|
9551
|
-
address: Address;
|
|
9552
|
-
/** Transaction to sign */
|
|
9553
|
-
transaction: TransactionSerializable;
|
|
9554
|
-
/** Idempotency key */
|
|
9555
|
-
idempotencyKey?: string;
|
|
9556
|
-
}
|
|
9557
9539
|
/**
|
|
9558
9540
|
* Options for creating an EVM account
|
|
9559
9541
|
*/
|
|
@@ -9572,8 +9554,13 @@ interface GetEvmAccountOptions {
|
|
|
9572
9554
|
/** Account ID */
|
|
9573
9555
|
id?: string;
|
|
9574
9556
|
}
|
|
9557
|
+
/**
|
|
9558
|
+
* Options for retrieving linked (delegated) accounts for an EVM address
|
|
9559
|
+
*/
|
|
9575
9560
|
interface GetLinkedAccountsOptions {
|
|
9561
|
+
/** The EVM address to look up linked accounts for */
|
|
9576
9562
|
address: string;
|
|
9563
|
+
/** The chain ID to filter linked accounts by */
|
|
9577
9564
|
chainId: number;
|
|
9578
9565
|
}
|
|
9579
9566
|
/**
|
|
@@ -9689,7 +9676,7 @@ declare function toEvmAccount(data: EvmAccountData): EvmAccount;
|
|
|
9689
9676
|
* console.log(result.response?.transactionHash);
|
|
9690
9677
|
* ```
|
|
9691
9678
|
*/
|
|
9692
|
-
declare function sendTransaction(options: SendTransactionOptions): Promise<TransactionIntentResponse>;
|
|
9679
|
+
declare function sendTransaction$1(options: SendTransactionOptions): Promise<TransactionIntentResponse>;
|
|
9693
9680
|
|
|
9694
9681
|
/**
|
|
9695
9682
|
* Updates an EVM backend wallet.
|
|
@@ -9789,6 +9776,12 @@ declare class EvmClient {
|
|
|
9789
9776
|
* ```
|
|
9790
9777
|
*/
|
|
9791
9778
|
getAccount(options: GetEvmAccountOptions): Promise<EvmAccount>;
|
|
9779
|
+
/**
|
|
9780
|
+
* Retrieves delegated accounts linked to an EVM address on a specific chain.
|
|
9781
|
+
*
|
|
9782
|
+
* @param options - Options containing the address and chain ID
|
|
9783
|
+
* @returns List of linked accounts
|
|
9784
|
+
*/
|
|
9792
9785
|
getLinkedAccounts(options: GetLinkedAccountsOptions): Promise<AccountListV2Response>;
|
|
9793
9786
|
/**
|
|
9794
9787
|
* Lists all EVM backend wallets.
|
|
@@ -9856,6 +9849,7 @@ declare class EvmClient {
|
|
|
9856
9849
|
* @module Wallets/Solana/Types
|
|
9857
9850
|
* Solana-specific types for wallet operations
|
|
9858
9851
|
*/
|
|
9852
|
+
|
|
9859
9853
|
/**
|
|
9860
9854
|
* Base Solana account with signing capabilities
|
|
9861
9855
|
*/
|
|
@@ -9886,18 +9880,39 @@ interface SolanaSigningMethods {
|
|
|
9886
9880
|
transaction: string;
|
|
9887
9881
|
}): Promise<string>;
|
|
9888
9882
|
}
|
|
9883
|
+
/**
|
|
9884
|
+
* Solana cluster identifier
|
|
9885
|
+
*/
|
|
9886
|
+
type SolanaCluster = 'devnet' | 'mainnet-beta';
|
|
9889
9887
|
/**
|
|
9890
9888
|
* Full Solana server account with all signing capabilities
|
|
9891
9889
|
*/
|
|
9892
|
-
type SolanaAccount = SolanaAccountBase & SolanaSigningMethods
|
|
9890
|
+
type SolanaAccount = SolanaAccountBase & SolanaSigningMethods & {
|
|
9891
|
+
/**
|
|
9892
|
+
* Transfer SOL or SPL tokens to a destination address.
|
|
9893
|
+
* Handles ATA creation, mint decimals, and balance validation automatically.
|
|
9894
|
+
* @param options - Transfer options (destination, amount, token, cluster)
|
|
9895
|
+
* @returns Object with the transaction signature
|
|
9896
|
+
*/
|
|
9897
|
+
transfer(options: AccountTransferOptions): Promise<{
|
|
9898
|
+
signature: string;
|
|
9899
|
+
}>;
|
|
9900
|
+
/**
|
|
9901
|
+
* Send a pre-built base64-encoded transaction via the gasless Kora flow.
|
|
9902
|
+
* Decodes the transaction, extracts instructions, and re-wraps them.
|
|
9903
|
+
* @param options - Raw transaction options (cluster, transaction, etc.)
|
|
9904
|
+
* @returns Object with the transaction signature
|
|
9905
|
+
*/
|
|
9906
|
+
sendRawTransaction(options: AccountSendRawTransactionOptions): Promise<{
|
|
9907
|
+
signature: string;
|
|
9908
|
+
}>;
|
|
9909
|
+
};
|
|
9893
9910
|
/**
|
|
9894
9911
|
* Options for creating a Solana account
|
|
9895
9912
|
*/
|
|
9896
9913
|
interface CreateSolanaAccountOptions {
|
|
9897
9914
|
/** Wallet ID (starts with pla_). Optional - associates the wallet with a player. */
|
|
9898
9915
|
wallet?: string;
|
|
9899
|
-
/** Idempotency key */
|
|
9900
|
-
idempotencyKey?: string;
|
|
9901
9916
|
}
|
|
9902
9917
|
/**
|
|
9903
9918
|
* Options for getting a Solana account
|
|
@@ -9949,6 +9964,75 @@ interface SignTransactionOptions {
|
|
|
9949
9964
|
/** Base64-encoded serialized transaction */
|
|
9950
9965
|
transaction: string;
|
|
9951
9966
|
}
|
|
9967
|
+
/**
|
|
9968
|
+
* Options for sending a gasless Solana transaction via Kora
|
|
9969
|
+
*/
|
|
9970
|
+
interface SendSolanaTransactionOptions {
|
|
9971
|
+
/** The Solana account to send the transaction from */
|
|
9972
|
+
account: SolanaAccount;
|
|
9973
|
+
/** The Solana cluster to use */
|
|
9974
|
+
cluster: SolanaCluster;
|
|
9975
|
+
/** Solana instructions to include in the transaction */
|
|
9976
|
+
instructions: Instruction[];
|
|
9977
|
+
/** Compute unit limit (default: 200_000) */
|
|
9978
|
+
computeUnitLimit?: number;
|
|
9979
|
+
/** Compute unit price in micro-lamports (default: 50_000n) */
|
|
9980
|
+
computeUnitPrice?: bigint;
|
|
9981
|
+
/** Solana RPC URL. Defaults to public RPC for the cluster. */
|
|
9982
|
+
rpcUrl?: string;
|
|
9983
|
+
/** Solana WebSocket URL. Defaults to public WS for the cluster. */
|
|
9984
|
+
wsUrl?: string;
|
|
9985
|
+
}
|
|
9986
|
+
/**
|
|
9987
|
+
* Options for the high-level transfer action
|
|
9988
|
+
*/
|
|
9989
|
+
interface TransferOptions {
|
|
9990
|
+
/** The Solana account to transfer from */
|
|
9991
|
+
account: SolanaAccount;
|
|
9992
|
+
/** Destination address (base58 encoded) */
|
|
9993
|
+
to: string;
|
|
9994
|
+
/** Amount in smallest unit (lamports for SOL, base units for SPL) */
|
|
9995
|
+
amount: bigint;
|
|
9996
|
+
/** Token to transfer: 'sol' (default), 'usdc', or a mint address */
|
|
9997
|
+
token?: string;
|
|
9998
|
+
/** The Solana cluster to use */
|
|
9999
|
+
cluster: SolanaCluster;
|
|
10000
|
+
/** Compute unit limit (default: 200_000) */
|
|
10001
|
+
computeUnitLimit?: number;
|
|
10002
|
+
/** Compute unit price in micro-lamports (default: 50_000n) */
|
|
10003
|
+
computeUnitPrice?: bigint;
|
|
10004
|
+
/** Solana RPC URL. Defaults to public RPC for the cluster. */
|
|
10005
|
+
rpcUrl?: string;
|
|
10006
|
+
/** Solana WebSocket URL. Defaults to public WS for the cluster. */
|
|
10007
|
+
wsUrl?: string;
|
|
10008
|
+
}
|
|
10009
|
+
/**
|
|
10010
|
+
* Transfer options without the account field, for use on the account object
|
|
10011
|
+
*/
|
|
10012
|
+
type AccountTransferOptions = Omit<TransferOptions, 'account'>;
|
|
10013
|
+
/**
|
|
10014
|
+
* Options for sending a pre-built base64-encoded Solana transaction via Kora
|
|
10015
|
+
*/
|
|
10016
|
+
interface SendRawSolanaTransactionOptions {
|
|
10017
|
+
/** The Solana account to send the transaction from */
|
|
10018
|
+
account: SolanaAccount;
|
|
10019
|
+
/** The Solana cluster to use */
|
|
10020
|
+
cluster: SolanaCluster;
|
|
10021
|
+
/** Base64-encoded wire transaction */
|
|
10022
|
+
transaction: string;
|
|
10023
|
+
/** Compute unit limit (default: 200_000) */
|
|
10024
|
+
computeUnitLimit?: number;
|
|
10025
|
+
/** Compute unit price in micro-lamports (default: 50_000n) */
|
|
10026
|
+
computeUnitPrice?: bigint;
|
|
10027
|
+
/** Solana RPC URL. Defaults to public RPC for the cluster. */
|
|
10028
|
+
rpcUrl?: string;
|
|
10029
|
+
/** Solana WebSocket URL. Defaults to public WS for the cluster. */
|
|
10030
|
+
wsUrl?: string;
|
|
10031
|
+
}
|
|
10032
|
+
/**
|
|
10033
|
+
* Raw transaction options without the account field, for use on the account object
|
|
10034
|
+
*/
|
|
10035
|
+
type AccountSendRawTransactionOptions = Omit<SendRawSolanaTransactionOptions, 'account'>;
|
|
9952
10036
|
|
|
9953
10037
|
/**
|
|
9954
10038
|
* @module Wallets/Solana/Accounts/SolanaAccount
|
|
@@ -9972,6 +10056,89 @@ interface SolanaAccountData {
|
|
|
9972
10056
|
*/
|
|
9973
10057
|
declare function toSolanaAccount(data: SolanaAccountData): SolanaAccount;
|
|
9974
10058
|
|
|
10059
|
+
/**
|
|
10060
|
+
* Sends a pre-built base64-encoded Solana transaction via the gasless Kora flow.
|
|
10061
|
+
*
|
|
10062
|
+
* Decodes the base64 transaction, extracts its instructions by decompiling
|
|
10063
|
+
* the transaction message, and re-wraps them using the existing `sendTransaction`
|
|
10064
|
+
* gasless flow. The original fee payer, blockhash, and any existing signatures
|
|
10065
|
+
* are discarded — a new transaction is built with Kora as the fee payer.
|
|
10066
|
+
*
|
|
10067
|
+
* @param options - Raw transaction options
|
|
10068
|
+
* @returns Object with the transaction signature
|
|
10069
|
+
*
|
|
10070
|
+
* @example
|
|
10071
|
+
* ```typescript
|
|
10072
|
+
* const result = await sendRawTransaction({
|
|
10073
|
+
* account,
|
|
10074
|
+
* cluster: 'devnet',
|
|
10075
|
+
* transaction: 'base64EncodedTransaction...',
|
|
10076
|
+
* });
|
|
10077
|
+
* console.log('Transaction signature:', result.signature);
|
|
10078
|
+
* ```
|
|
10079
|
+
*/
|
|
10080
|
+
declare function sendRawTransaction(options: SendRawSolanaTransactionOptions): Promise<{
|
|
10081
|
+
signature: string;
|
|
10082
|
+
}>;
|
|
10083
|
+
|
|
10084
|
+
/**
|
|
10085
|
+
* Sends a gasless Solana transaction via Kora.
|
|
10086
|
+
*
|
|
10087
|
+
* Orchestrates the Kora gasless flow using KoraClient:
|
|
10088
|
+
* 1. Get fee payer address from Kora
|
|
10089
|
+
* 2. Get blockhash from Kora
|
|
10090
|
+
* 3. Build transaction with compute budget + user-provided instructions
|
|
10091
|
+
* 4. Compile and manually sign with Openfort backend
|
|
10092
|
+
* 5. Kora co-signs, send via RPC
|
|
10093
|
+
* 6. Confirm on Solana
|
|
10094
|
+
*
|
|
10095
|
+
* Requires `@solana/kit`, `@solana-program/compute-budget`, `@solana/kora`,
|
|
10096
|
+
* and `@solana/transaction-confirmation` as peer dependencies.
|
|
10097
|
+
*
|
|
10098
|
+
* @param options - Transaction options
|
|
10099
|
+
* @returns Object with the transaction signature
|
|
10100
|
+
*
|
|
10101
|
+
* @example
|
|
10102
|
+
* ```typescript
|
|
10103
|
+
* const account = await openfort.accounts.solana.backend.create();
|
|
10104
|
+
* const result = await openfort.accounts.solana.backend.sendTransaction({
|
|
10105
|
+
* account,
|
|
10106
|
+
* cluster: 'devnet',
|
|
10107
|
+
* instructions: [...myInstructions],
|
|
10108
|
+
* });
|
|
10109
|
+
* console.log('Transaction signature:', result.signature);
|
|
10110
|
+
* ```
|
|
10111
|
+
*/
|
|
10112
|
+
declare function sendTransaction(options: SendSolanaTransactionOptions): Promise<{
|
|
10113
|
+
signature: string;
|
|
10114
|
+
}>;
|
|
10115
|
+
|
|
10116
|
+
/**
|
|
10117
|
+
* Transfers SOL or SPL tokens between accounts.
|
|
10118
|
+
*
|
|
10119
|
+
* Routes to native SOL or SPL transfer based on the `token` option,
|
|
10120
|
+
* builds the appropriate instructions, and delegates to `sendTransaction()`
|
|
10121
|
+
* for the Openfort gasless flow.
|
|
10122
|
+
*
|
|
10123
|
+
* @param options - Transfer options
|
|
10124
|
+
* @returns The transfer result with transaction signature
|
|
10125
|
+
*
|
|
10126
|
+
* @example
|
|
10127
|
+
* ```typescript
|
|
10128
|
+
* // SOL transfer
|
|
10129
|
+
* await transfer({ account, to: "dest...", amount: 1_000_000n, cluster: "devnet" })
|
|
10130
|
+
*
|
|
10131
|
+
* // USDC by name
|
|
10132
|
+
* await transfer({ account, to: "dest...", amount: 1_000_000n, token: "usdc", cluster: "devnet" })
|
|
10133
|
+
*
|
|
10134
|
+
* // SPL by mint address
|
|
10135
|
+
* await transfer({ account, to: "dest...", amount: 100n, token: "4zMMC9...", cluster: "devnet" })
|
|
10136
|
+
* ```
|
|
10137
|
+
*/
|
|
10138
|
+
declare function transfer(options: TransferOptions): Promise<{
|
|
10139
|
+
signature: string;
|
|
10140
|
+
}>;
|
|
10141
|
+
|
|
9975
10142
|
/**
|
|
9976
10143
|
* @module Wallets/Solana/SolanaClient
|
|
9977
10144
|
* Main client for Solana wallet operations
|
|
@@ -9991,6 +10158,7 @@ interface SolanaClientOptions {
|
|
|
9991
10158
|
* Provides methods for creating, retrieving, and managing server-side Solana accounts.
|
|
9992
10159
|
*/
|
|
9993
10160
|
declare class SolanaClient {
|
|
10161
|
+
/** Wallet type identifier used for client registration */
|
|
9994
10162
|
static type: string;
|
|
9995
10163
|
/**
|
|
9996
10164
|
* Creates a new Solana wallet client.
|
|
@@ -10325,6 +10493,7 @@ declare const EvmTypedDataFieldCriterionSchema: z.ZodObject<{
|
|
|
10325
10493
|
value?: string | undefined;
|
|
10326
10494
|
values?: string[] | undefined;
|
|
10327
10495
|
}>;
|
|
10496
|
+
/** Zod schema for a rule that governs EVM transaction signing. */
|
|
10328
10497
|
declare const SignEvmTransactionRuleSchema: z.ZodObject<{
|
|
10329
10498
|
action: z.ZodEnum<["reject", "accept"]>;
|
|
10330
10499
|
operation: z.ZodLiteral<"signEvmTransaction">;
|
|
@@ -10413,6 +10582,7 @@ declare const SignEvmTransactionRuleSchema: z.ZodObject<{
|
|
|
10413
10582
|
args?: Record<string, unknown> | undefined;
|
|
10414
10583
|
})[];
|
|
10415
10584
|
}>;
|
|
10585
|
+
/** Zod schema for a rule that governs EVM transaction sending (includes network criteria). */
|
|
10416
10586
|
declare const SendEvmTransactionRuleSchema: z.ZodObject<{
|
|
10417
10587
|
action: z.ZodEnum<["reject", "accept"]>;
|
|
10418
10588
|
operation: z.ZodLiteral<"sendEvmTransaction">;
|
|
@@ -10522,6 +10692,7 @@ declare const SendEvmTransactionRuleSchema: z.ZodObject<{
|
|
|
10522
10692
|
args?: Record<string, unknown> | undefined;
|
|
10523
10693
|
})[];
|
|
10524
10694
|
}>;
|
|
10695
|
+
/** Zod schema for a rule that governs EVM message signing (EIP-191). */
|
|
10525
10696
|
declare const SignEvmMessageRuleSchema: z.ZodObject<{
|
|
10526
10697
|
action: z.ZodEnum<["reject", "accept"]>;
|
|
10527
10698
|
operation: z.ZodLiteral<"signEvmMessage">;
|
|
@@ -10556,6 +10727,7 @@ declare const SignEvmMessageRuleSchema: z.ZodObject<{
|
|
|
10556
10727
|
pattern: string;
|
|
10557
10728
|
}[];
|
|
10558
10729
|
}>;
|
|
10730
|
+
/** Zod schema for a rule that governs EIP-712 typed data signing. */
|
|
10559
10731
|
declare const SignEvmTypedDataRuleSchema: z.ZodObject<{
|
|
10560
10732
|
action: z.ZodEnum<["reject", "accept"]>;
|
|
10561
10733
|
operation: z.ZodLiteral<"signEvmTypedData">;
|
|
@@ -10623,6 +10795,7 @@ declare const SignEvmTypedDataRuleSchema: z.ZodObject<{
|
|
|
10623
10795
|
values?: string[] | undefined;
|
|
10624
10796
|
})[];
|
|
10625
10797
|
}>;
|
|
10798
|
+
/** Zod schema for a rule that governs raw EVM hash signing (no criteria). */
|
|
10626
10799
|
declare const SignEvmHashRuleSchema: z.ZodObject<{
|
|
10627
10800
|
action: z.ZodEnum<["reject", "accept"]>;
|
|
10628
10801
|
operation: z.ZodLiteral<"signEvmHash">;
|
|
@@ -10633,6 +10806,7 @@ declare const SignEvmHashRuleSchema: z.ZodObject<{
|
|
|
10633
10806
|
action: "accept" | "reject";
|
|
10634
10807
|
operation: "signEvmHash";
|
|
10635
10808
|
}>;
|
|
10809
|
+
/** Zod schema for a rule that governs EVM transaction gas sponsorship. */
|
|
10636
10810
|
declare const SponsorEvmTransactionRuleSchema: z.ZodObject<{
|
|
10637
10811
|
action: z.ZodEnum<["reject", "accept"]>;
|
|
10638
10812
|
operation: z.ZodLiteral<"sponsorEvmTransaction">;
|
|
@@ -10865,11 +11039,11 @@ declare const SolNetworkCriterionSchema: z.ZodObject<{
|
|
|
10865
11039
|
}, "strip", z.ZodTypeAny, {
|
|
10866
11040
|
type: "solNetwork";
|
|
10867
11041
|
operator: "in" | "not in";
|
|
10868
|
-
networks: ("
|
|
11042
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
10869
11043
|
}, {
|
|
10870
11044
|
type: "solNetwork";
|
|
10871
11045
|
operator: "in" | "not in";
|
|
10872
|
-
networks: ("
|
|
11046
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
10873
11047
|
}>;
|
|
10874
11048
|
/** Solana message criterion — matches a sign-message payload against a regex. */
|
|
10875
11049
|
declare const SolMessageCriterionSchema: z.ZodObject<{
|
|
@@ -10886,6 +11060,7 @@ declare const SolMessageCriterionSchema: z.ZodObject<{
|
|
|
10886
11060
|
operator: "match";
|
|
10887
11061
|
pattern: string;
|
|
10888
11062
|
}>;
|
|
11063
|
+
/** Zod schema for a rule that governs Solana transaction signing. */
|
|
10889
11064
|
declare const SignSolTransactionRuleSchema: z.ZodObject<{
|
|
10890
11065
|
action: z.ZodEnum<["reject", "accept"]>;
|
|
10891
11066
|
operation: z.ZodLiteral<"signSolTransaction">;
|
|
@@ -11058,6 +11233,7 @@ declare const SignSolTransactionRuleSchema: z.ZodObject<{
|
|
|
11058
11233
|
programIds: string[];
|
|
11059
11234
|
})[];
|
|
11060
11235
|
}>;
|
|
11236
|
+
/** Zod schema for a rule that governs Solana transaction sending (includes network criteria). */
|
|
11061
11237
|
declare const SendSolTransactionRuleSchema: z.ZodObject<{
|
|
11062
11238
|
action: z.ZodEnum<["reject", "accept"]>;
|
|
11063
11239
|
operation: z.ZodLiteral<"sendSolTransaction">;
|
|
@@ -11168,11 +11344,11 @@ declare const SendSolTransactionRuleSchema: z.ZodObject<{
|
|
|
11168
11344
|
}, "strip", z.ZodTypeAny, {
|
|
11169
11345
|
type: "solNetwork";
|
|
11170
11346
|
operator: "in" | "not in";
|
|
11171
|
-
networks: ("
|
|
11347
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
11172
11348
|
}, {
|
|
11173
11349
|
type: "solNetwork";
|
|
11174
11350
|
operator: "in" | "not in";
|
|
11175
|
-
networks: ("
|
|
11351
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
11176
11352
|
}>]>, "many">;
|
|
11177
11353
|
}, "strip", z.ZodTypeAny, {
|
|
11178
11354
|
action: "accept" | "reject";
|
|
@@ -11210,7 +11386,7 @@ declare const SendSolTransactionRuleSchema: z.ZodObject<{
|
|
|
11210
11386
|
} | {
|
|
11211
11387
|
type: "solNetwork";
|
|
11212
11388
|
operator: "in" | "not in";
|
|
11213
|
-
networks: ("
|
|
11389
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
11214
11390
|
})[];
|
|
11215
11391
|
}, {
|
|
11216
11392
|
action: "accept" | "reject";
|
|
@@ -11248,9 +11424,10 @@ declare const SendSolTransactionRuleSchema: z.ZodObject<{
|
|
|
11248
11424
|
} | {
|
|
11249
11425
|
type: "solNetwork";
|
|
11250
11426
|
operator: "in" | "not in";
|
|
11251
|
-
networks: ("
|
|
11427
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
11252
11428
|
})[];
|
|
11253
11429
|
}>;
|
|
11430
|
+
/** Zod schema for a rule that governs Solana message signing. */
|
|
11254
11431
|
declare const SignSolMessageRuleSchema: z.ZodObject<{
|
|
11255
11432
|
action: z.ZodEnum<["reject", "accept"]>;
|
|
11256
11433
|
operation: z.ZodLiteral<"signSolMessage">;
|
|
@@ -11285,6 +11462,7 @@ declare const SignSolMessageRuleSchema: z.ZodObject<{
|
|
|
11285
11462
|
pattern: string;
|
|
11286
11463
|
}[];
|
|
11287
11464
|
}>;
|
|
11465
|
+
/** Zod schema for a rule that governs Solana transaction fee sponsorship. */
|
|
11288
11466
|
declare const SponsorSolTransactionRuleSchema: z.ZodObject<{
|
|
11289
11467
|
action: z.ZodEnum<["reject", "accept"]>;
|
|
11290
11468
|
operation: z.ZodLiteral<"sponsorSolTransaction">;
|
|
@@ -11395,11 +11573,11 @@ declare const SponsorSolTransactionRuleSchema: z.ZodObject<{
|
|
|
11395
11573
|
}, "strip", z.ZodTypeAny, {
|
|
11396
11574
|
type: "solNetwork";
|
|
11397
11575
|
operator: "in" | "not in";
|
|
11398
|
-
networks: ("
|
|
11576
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
11399
11577
|
}, {
|
|
11400
11578
|
type: "solNetwork";
|
|
11401
11579
|
operator: "in" | "not in";
|
|
11402
|
-
networks: ("
|
|
11580
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
11403
11581
|
}>]>, "many">;
|
|
11404
11582
|
}, "strip", z.ZodTypeAny, {
|
|
11405
11583
|
action: "accept" | "reject";
|
|
@@ -11437,7 +11615,7 @@ declare const SponsorSolTransactionRuleSchema: z.ZodObject<{
|
|
|
11437
11615
|
} | {
|
|
11438
11616
|
type: "solNetwork";
|
|
11439
11617
|
operator: "in" | "not in";
|
|
11440
|
-
networks: ("
|
|
11618
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
11441
11619
|
})[];
|
|
11442
11620
|
}, {
|
|
11443
11621
|
action: "accept" | "reject";
|
|
@@ -11475,10 +11653,11 @@ declare const SponsorSolTransactionRuleSchema: z.ZodObject<{
|
|
|
11475
11653
|
} | {
|
|
11476
11654
|
type: "solNetwork";
|
|
11477
11655
|
operator: "in" | "not in";
|
|
11478
|
-
networks: ("
|
|
11656
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
11479
11657
|
})[];
|
|
11480
11658
|
}>;
|
|
11481
11659
|
|
|
11660
|
+
/** Zod schema for a policy rule — a discriminated union over the `operation` field covering all EVM and Solana rule types. */
|
|
11482
11661
|
declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
11483
11662
|
action: z.ZodEnum<["reject", "accept"]>;
|
|
11484
11663
|
operation: z.ZodLiteral<"signEvmTransaction">;
|
|
@@ -12130,11 +12309,11 @@ declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
|
12130
12309
|
}, "strip", z.ZodTypeAny, {
|
|
12131
12310
|
type: "solNetwork";
|
|
12132
12311
|
operator: "in" | "not in";
|
|
12133
|
-
networks: ("
|
|
12312
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
12134
12313
|
}, {
|
|
12135
12314
|
type: "solNetwork";
|
|
12136
12315
|
operator: "in" | "not in";
|
|
12137
|
-
networks: ("
|
|
12316
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
12138
12317
|
}>]>, "many">;
|
|
12139
12318
|
}, "strip", z.ZodTypeAny, {
|
|
12140
12319
|
action: "accept" | "reject";
|
|
@@ -12172,7 +12351,7 @@ declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
|
12172
12351
|
} | {
|
|
12173
12352
|
type: "solNetwork";
|
|
12174
12353
|
operator: "in" | "not in";
|
|
12175
|
-
networks: ("
|
|
12354
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
12176
12355
|
})[];
|
|
12177
12356
|
}, {
|
|
12178
12357
|
action: "accept" | "reject";
|
|
@@ -12210,7 +12389,7 @@ declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
|
12210
12389
|
} | {
|
|
12211
12390
|
type: "solNetwork";
|
|
12212
12391
|
operator: "in" | "not in";
|
|
12213
|
-
networks: ("
|
|
12392
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
12214
12393
|
})[];
|
|
12215
12394
|
}>, z.ZodObject<{
|
|
12216
12395
|
action: z.ZodEnum<["reject", "accept"]>;
|
|
@@ -12344,11 +12523,11 @@ declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
|
12344
12523
|
}, "strip", z.ZodTypeAny, {
|
|
12345
12524
|
type: "solNetwork";
|
|
12346
12525
|
operator: "in" | "not in";
|
|
12347
|
-
networks: ("
|
|
12526
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
12348
12527
|
}, {
|
|
12349
12528
|
type: "solNetwork";
|
|
12350
12529
|
operator: "in" | "not in";
|
|
12351
|
-
networks: ("
|
|
12530
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
12352
12531
|
}>]>, "many">;
|
|
12353
12532
|
}, "strip", z.ZodTypeAny, {
|
|
12354
12533
|
action: "accept" | "reject";
|
|
@@ -12386,7 +12565,7 @@ declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
|
12386
12565
|
} | {
|
|
12387
12566
|
type: "solNetwork";
|
|
12388
12567
|
operator: "in" | "not in";
|
|
12389
|
-
networks: ("
|
|
12568
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
12390
12569
|
})[];
|
|
12391
12570
|
}, {
|
|
12392
12571
|
action: "accept" | "reject";
|
|
@@ -12424,10 +12603,12 @@ declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
|
12424
12603
|
} | {
|
|
12425
12604
|
type: "solNetwork";
|
|
12426
12605
|
operator: "in" | "not in";
|
|
12427
|
-
networks: ("
|
|
12606
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
12428
12607
|
})[];
|
|
12429
12608
|
}>]>;
|
|
12609
|
+
/** A single policy rule. Each rule specifies an operation (e.g. signEvmTransaction), an action (accept/reject), and optional criteria. */
|
|
12430
12610
|
type Rule = z.infer<typeof RuleSchema>;
|
|
12611
|
+
/** Zod schema for the request body when creating a new policy. */
|
|
12431
12612
|
declare const CreatePolicyBodySchema: z.ZodObject<{
|
|
12432
12613
|
/** The scope of the policy. 'project' applies to all accounts, 'account' applies to a specific account. */
|
|
12433
12614
|
scope: z.ZodEnum<["project", "account"]>;
|
|
@@ -13091,11 +13272,11 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
|
|
|
13091
13272
|
}, "strip", z.ZodTypeAny, {
|
|
13092
13273
|
type: "solNetwork";
|
|
13093
13274
|
operator: "in" | "not in";
|
|
13094
|
-
networks: ("
|
|
13275
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
13095
13276
|
}, {
|
|
13096
13277
|
type: "solNetwork";
|
|
13097
13278
|
operator: "in" | "not in";
|
|
13098
|
-
networks: ("
|
|
13279
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
13099
13280
|
}>]>, "many">;
|
|
13100
13281
|
}, "strip", z.ZodTypeAny, {
|
|
13101
13282
|
action: "accept" | "reject";
|
|
@@ -13133,7 +13314,7 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
|
|
|
13133
13314
|
} | {
|
|
13134
13315
|
type: "solNetwork";
|
|
13135
13316
|
operator: "in" | "not in";
|
|
13136
|
-
networks: ("
|
|
13317
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
13137
13318
|
})[];
|
|
13138
13319
|
}, {
|
|
13139
13320
|
action: "accept" | "reject";
|
|
@@ -13171,7 +13352,7 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
|
|
|
13171
13352
|
} | {
|
|
13172
13353
|
type: "solNetwork";
|
|
13173
13354
|
operator: "in" | "not in";
|
|
13174
|
-
networks: ("
|
|
13355
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
13175
13356
|
})[];
|
|
13176
13357
|
}>, z.ZodObject<{
|
|
13177
13358
|
action: z.ZodEnum<["reject", "accept"]>;
|
|
@@ -13305,11 +13486,11 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
|
|
|
13305
13486
|
}, "strip", z.ZodTypeAny, {
|
|
13306
13487
|
type: "solNetwork";
|
|
13307
13488
|
operator: "in" | "not in";
|
|
13308
|
-
networks: ("
|
|
13489
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
13309
13490
|
}, {
|
|
13310
13491
|
type: "solNetwork";
|
|
13311
13492
|
operator: "in" | "not in";
|
|
13312
|
-
networks: ("
|
|
13493
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
13313
13494
|
}>]>, "many">;
|
|
13314
13495
|
}, "strip", z.ZodTypeAny, {
|
|
13315
13496
|
action: "accept" | "reject";
|
|
@@ -13347,7 +13528,7 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
|
|
|
13347
13528
|
} | {
|
|
13348
13529
|
type: "solNetwork";
|
|
13349
13530
|
operator: "in" | "not in";
|
|
13350
|
-
networks: ("
|
|
13531
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
13351
13532
|
})[];
|
|
13352
13533
|
}, {
|
|
13353
13534
|
action: "accept" | "reject";
|
|
@@ -13385,7 +13566,7 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
|
|
|
13385
13566
|
} | {
|
|
13386
13567
|
type: "solNetwork";
|
|
13387
13568
|
operator: "in" | "not in";
|
|
13388
|
-
networks: ("
|
|
13569
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
13389
13570
|
})[];
|
|
13390
13571
|
}>]>, "many">;
|
|
13391
13572
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13547,7 +13728,7 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
|
|
|
13547
13728
|
} | {
|
|
13548
13729
|
type: "solNetwork";
|
|
13549
13730
|
operator: "in" | "not in";
|
|
13550
|
-
networks: ("
|
|
13731
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
13551
13732
|
})[];
|
|
13552
13733
|
} | {
|
|
13553
13734
|
action: "accept" | "reject";
|
|
@@ -13593,7 +13774,7 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
|
|
|
13593
13774
|
} | {
|
|
13594
13775
|
type: "solNetwork";
|
|
13595
13776
|
operator: "in" | "not in";
|
|
13596
|
-
networks: ("
|
|
13777
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
13597
13778
|
})[];
|
|
13598
13779
|
})[];
|
|
13599
13780
|
priority?: number | undefined;
|
|
@@ -13759,7 +13940,7 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
|
|
|
13759
13940
|
} | {
|
|
13760
13941
|
type: "solNetwork";
|
|
13761
13942
|
operator: "in" | "not in";
|
|
13762
|
-
networks: ("
|
|
13943
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
13763
13944
|
})[];
|
|
13764
13945
|
} | {
|
|
13765
13946
|
action: "accept" | "reject";
|
|
@@ -13805,7 +13986,7 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
|
|
|
13805
13986
|
} | {
|
|
13806
13987
|
type: "solNetwork";
|
|
13807
13988
|
operator: "in" | "not in";
|
|
13808
|
-
networks: ("
|
|
13989
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
13809
13990
|
})[];
|
|
13810
13991
|
})[];
|
|
13811
13992
|
priority?: number | undefined;
|
|
@@ -13813,7 +13994,9 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
|
|
|
13813
13994
|
description?: string | undefined;
|
|
13814
13995
|
enabled?: boolean | undefined;
|
|
13815
13996
|
}>;
|
|
13997
|
+
/** Request body for creating a new policy. */
|
|
13816
13998
|
type CreatePolicyBody = z.infer<typeof CreatePolicyBodySchema>;
|
|
13999
|
+
/** Zod schema for the request body when updating an existing policy. */
|
|
13817
14000
|
declare const UpdatePolicyBodySchema: z.ZodObject<{
|
|
13818
14001
|
/** A description of what this policy does. */
|
|
13819
14002
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -14473,11 +14656,11 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
|
|
|
14473
14656
|
}, "strip", z.ZodTypeAny, {
|
|
14474
14657
|
type: "solNetwork";
|
|
14475
14658
|
operator: "in" | "not in";
|
|
14476
|
-
networks: ("
|
|
14659
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
14477
14660
|
}, {
|
|
14478
14661
|
type: "solNetwork";
|
|
14479
14662
|
operator: "in" | "not in";
|
|
14480
|
-
networks: ("
|
|
14663
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
14481
14664
|
}>]>, "many">;
|
|
14482
14665
|
}, "strip", z.ZodTypeAny, {
|
|
14483
14666
|
action: "accept" | "reject";
|
|
@@ -14515,7 +14698,7 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
|
|
|
14515
14698
|
} | {
|
|
14516
14699
|
type: "solNetwork";
|
|
14517
14700
|
operator: "in" | "not in";
|
|
14518
|
-
networks: ("
|
|
14701
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
14519
14702
|
})[];
|
|
14520
14703
|
}, {
|
|
14521
14704
|
action: "accept" | "reject";
|
|
@@ -14553,7 +14736,7 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
|
|
|
14553
14736
|
} | {
|
|
14554
14737
|
type: "solNetwork";
|
|
14555
14738
|
operator: "in" | "not in";
|
|
14556
|
-
networks: ("
|
|
14739
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
14557
14740
|
})[];
|
|
14558
14741
|
}>, z.ZodObject<{
|
|
14559
14742
|
action: z.ZodEnum<["reject", "accept"]>;
|
|
@@ -14687,11 +14870,11 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
|
|
|
14687
14870
|
}, "strip", z.ZodTypeAny, {
|
|
14688
14871
|
type: "solNetwork";
|
|
14689
14872
|
operator: "in" | "not in";
|
|
14690
|
-
networks: ("
|
|
14873
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
14691
14874
|
}, {
|
|
14692
14875
|
type: "solNetwork";
|
|
14693
14876
|
operator: "in" | "not in";
|
|
14694
|
-
networks: ("
|
|
14877
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
14695
14878
|
}>]>, "many">;
|
|
14696
14879
|
}, "strip", z.ZodTypeAny, {
|
|
14697
14880
|
action: "accept" | "reject";
|
|
@@ -14729,7 +14912,7 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
|
|
|
14729
14912
|
} | {
|
|
14730
14913
|
type: "solNetwork";
|
|
14731
14914
|
operator: "in" | "not in";
|
|
14732
|
-
networks: ("
|
|
14915
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
14733
14916
|
})[];
|
|
14734
14917
|
}, {
|
|
14735
14918
|
action: "accept" | "reject";
|
|
@@ -14767,7 +14950,7 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
|
|
|
14767
14950
|
} | {
|
|
14768
14951
|
type: "solNetwork";
|
|
14769
14952
|
operator: "in" | "not in";
|
|
14770
|
-
networks: ("
|
|
14953
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
14771
14954
|
})[];
|
|
14772
14955
|
}>]>, "many">>;
|
|
14773
14956
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -14931,7 +15114,7 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
|
|
|
14931
15114
|
} | {
|
|
14932
15115
|
type: "solNetwork";
|
|
14933
15116
|
operator: "in" | "not in";
|
|
14934
|
-
networks: ("
|
|
15117
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
14935
15118
|
})[];
|
|
14936
15119
|
} | {
|
|
14937
15120
|
action: "accept" | "reject";
|
|
@@ -14977,7 +15160,7 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
|
|
|
14977
15160
|
} | {
|
|
14978
15161
|
type: "solNetwork";
|
|
14979
15162
|
operator: "in" | "not in";
|
|
14980
|
-
networks: ("
|
|
15163
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
14981
15164
|
})[];
|
|
14982
15165
|
})[] | undefined;
|
|
14983
15166
|
}, {
|
|
@@ -15141,7 +15324,7 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
|
|
|
15141
15324
|
} | {
|
|
15142
15325
|
type: "solNetwork";
|
|
15143
15326
|
operator: "in" | "not in";
|
|
15144
|
-
networks: ("
|
|
15327
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
15145
15328
|
})[];
|
|
15146
15329
|
} | {
|
|
15147
15330
|
action: "accept" | "reject";
|
|
@@ -15187,10 +15370,11 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
|
|
|
15187
15370
|
} | {
|
|
15188
15371
|
type: "solNetwork";
|
|
15189
15372
|
operator: "in" | "not in";
|
|
15190
|
-
networks: ("
|
|
15373
|
+
networks: ("devnet" | "mainnet-beta" | "testnet")[];
|
|
15191
15374
|
})[];
|
|
15192
15375
|
})[] | undefined;
|
|
15193
15376
|
}>;
|
|
15377
|
+
/** Request body for updating an existing policy. */
|
|
15194
15378
|
type UpdatePolicyBody = z.infer<typeof UpdatePolicyBodySchema>;
|
|
15195
15379
|
|
|
15196
15380
|
/**
|
|
@@ -15360,7 +15544,7 @@ declare class Openfort {
|
|
|
15360
15544
|
/** Update EOA to delegated account */
|
|
15361
15545
|
update: typeof update;
|
|
15362
15546
|
/** Delegate + create + sign + submit a gasless transaction in one call */
|
|
15363
|
-
sendTransaction: typeof sendTransaction;
|
|
15547
|
+
sendTransaction: typeof sendTransaction$1;
|
|
15364
15548
|
};
|
|
15365
15549
|
/** Embedded wallet operations (User custody) */
|
|
15366
15550
|
embedded: {
|
|
@@ -15390,6 +15574,12 @@ declare class Openfort {
|
|
|
15390
15574
|
import: (options: ImportSolanaAccountOptions) => Promise<SolanaAccount>;
|
|
15391
15575
|
/** Export private key (with E2E encryption) */
|
|
15392
15576
|
export: (options: ExportSolanaAccountOptions) => Promise<string>;
|
|
15577
|
+
/** Send a gasless transaction via Kora */
|
|
15578
|
+
sendTransaction: typeof sendTransaction;
|
|
15579
|
+
/** Send a pre-built base64 transaction via Kora gasless flow */
|
|
15580
|
+
sendRawTransaction: typeof sendRawTransaction;
|
|
15581
|
+
/** Transfer SOL or SPL tokens (high-level) */
|
|
15582
|
+
transfer: typeof transfer;
|
|
15393
15583
|
};
|
|
15394
15584
|
/** Embedded wallet operations (User custody) */
|
|
15395
15585
|
embedded: {
|
|
@@ -15750,4 +15940,4 @@ declare class Openfort {
|
|
|
15750
15940
|
createEncryptionSession(shieldApiKey: string, shieldApiSecret: string, encryptionShare: string, shieldApiBaseUrl?: string): Promise<string>;
|
|
15751
15941
|
}
|
|
15752
15942
|
|
|
15753
|
-
export { APIError, type APIErrorType, APITopic, APITopicBALANCECONTRACT, APITopicBALANCEDEVACCOUNT, APITopicBALANCEPROJECT, APITopicTRANSACTIONSUCCESSFUL, APITriggerType, type Abi, type AbiType, type AccelbyteOAuthConfig, type Account$1 as Account, type AccountAbstractionV6Details, type AccountAbstractionV8Details, type AccountAbstractionV9Details, type AccountEventResponse, type AccountListQueries, type AccountListQueriesV2, AccountListQueriesV2AccountType, AccountListQueriesV2ChainType, AccountListQueriesV2Custody, type AccountListResponse, type AccountListV2Response, AccountNotFoundError, type AccountPolicyRuleResponse, type AccountResponse, AccountResponseExpandable, type AccountV2Response, AccountV2ResponseCustody, type ActionRequiredResponse, Actions, type AllowedOriginsRequest, type AllowedOriginsResponse, type ApiKeyResponse, ApiKeyType, type AppleOAuthConfig, type AuthConfig, type AuthMigrationListResponse, type AuthMigrationResponse, AuthMigrationStatus, type AuthPlayerListQueries, type AuthPlayerListResponse, type AuthPlayerResponse, type AuthPlayerResponseWithRecoveryShare, AuthProvider, type AuthProviderListResponse, AuthProviderResponse, AuthProviderResponseV2, type AuthProviderWithTypeResponse, type AuthResponse, type AuthSessionResponse, type AuthUserResponse, type AuthenticateOAuthRequest, AuthenticateOAuthRequestProvider, type AuthenticateSIWEResult, AuthenticationType, type AuthorizedApp, type AuthorizedAppsResponse, type AuthorizedAppsResponseAuthorizedAppsItem, type AuthorizedNetwork, type AuthorizedNetworksResponse, type AuthorizedNetworksResponseAuthorizedNetworksItem, type AuthorizedOriginsResponse, type BalanceEventResponse, type BalanceResponse, type BaseDeleteEntityResponseEntityTypePLAYER, type BaseEntityListResponseAccountV2Response, type BaseEntityListResponseAuthUserResponse, type BaseEntityListResponseDeviceResponse, type BaseEntityListResponseEmailSampleResponse, type BaseEntityListResponseLogResponse, type BaseEntityListResponseTriggerResponse, type BaseEntityResponseEntityTypeWALLET, BasicAuthProvider, BasicAuthProviderEMAIL, BasicAuthProviderGUEST, BasicAuthProviderPHONE, BasicAuthProviderWEB3, type BetterAuthConfig, type BillingSubscriptionResponse, type BillingSubscriptionResponsePlan, type CallbackOAuthParams, type CallbackOAuthResult, type CancelTransferAccountOwnershipResult, type ChargeCustomTokenPolicyStrategy, type CheckoutRequest, type CheckoutResponse, type CheckoutSubscriptionRequest, type ChildProjectListResponse, type ChildProjectResponse, type CodeChallenge, CodeChallengeMethod, type CodeChallengeVerify, type ContractDeleteResponse, type ContractEventResponse, type ContractListQueries, type ContractListResponse, type ContractPolicyRuleResponse, type ContractReadQueries, type ContractReadResponse, type ContractResponse, type CountPerIntervalLimitPolicyRuleResponse, type CreateAccountRequest, type CreateAccountRequestV2, CreateAccountRequestV2AccountType, CreateAccountRequestV2ChainType, type CreateAccountResult, type CreateAccountV2Result, type CreateAuthPlayerRequest, type CreateAuthPlayerResult, type CreateBackendWalletRequest, CreateBackendWalletRequestChainType, type CreateBackendWalletResponse, CreateBackendWalletResponseChainType, CreateBackendWalletResponseObject, type CreateBackendWalletResult, type CreateContractRequest, type CreateContractResult, type CreateDeveloperAccountCreateRequest, type CreateDeveloperAccountResult, type CreateDeviceRequest, type CreateDeviceResponse, type CreateEcosystemConfigurationRequest, type CreateEmailSampleRequest, type CreateEmailSampleResponse, type CreateEmbeddedRequest, CreateEmbeddedRequestAccountType, CreateEmbeddedRequestChainType, type CreateEventRequest, type CreateEventResponse, type CreateEventResult, type CreateEvmAccountOptions, type CreateFeeSponsorshipRequest, type CreateFeeSponsorshipResult, type CreateForwarderContractRequest, type CreateForwarderContractResponse, type CreateForwarderContractResult, type CreateGasPolicyLegacyResult, type CreateGasPolicyRuleLegacyResult, type CreateGasPolicyWithdrawalLegacyResult, type CreateMigrationRequest, type CreateOAuthConfigResult, type CreateOnrampSessionResult, type CreatePaymasterRequest, type CreatePaymasterRequestContext, type CreatePaymasterResponse, type CreatePaymasterResult, type CreatePlayerResult, type CreatePolicyBody, CreatePolicyBodySchema, type CreatePolicyRequest, type CreatePolicyRuleRequest, type CreatePolicyV2Request, CreatePolicyV2RequestScope, type CreatePolicyV2Result, type CreatePolicyV2RuleRequest, CreatePolicyV2RuleRequestAction, type CreateProjectApiKeyRequest, type CreateProjectRequest, type CreateResult, type CreateSMTPConfigResponse, type CreateSessionRequest, type CreateSessionResult, type CreateSolanaAccountOptions, type CreateSubscriptionRequest, type CreateSubscriptionResponse, type CreateSubscriptionResult, type CreateTransactionIntentRequest, type CreateTransactionIntentResult, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResult, CriteriaOperator, CriteriaOperatorEQUAL, CriteriaOperatorGREATERTHAN, CriteriaOperatorGREATERTHANOREQUAL, CriteriaOperatorIN, CriteriaOperatorLESSTHAN, CriteriaOperatorLESSTHANOREQUAL, CriteriaOperatorMATCH, CriteriaOperatorNOTIN, CriteriaType, Currency, type CustomAuthConfig, DelegationError, type DeleteAccountResponse, type DeleteAuthPlayerResult, type DeleteBackendWalletResponse, DeleteBackendWalletResponseObject, type DeleteBackendWalletResult, type DeleteContractResult, type DeleteDeveloperAccountResult, type DeleteEventResult, type DeleteFeeSponsorshipResult, type DeleteForwarderContractResult, type DeleteGasPolicyLegacyResult, type DeleteGasPolicyRuleLegacyResult, type DeleteOAuthConfigResult, type DeletePaymasterResult, type DeletePlayerResult, type DeletePolicyV2Result, type DeleteSMTPConfigResponse, type DeleteSubscriptionResult, type DeleteTriggerResult, type DeleteUserResult, type DeprecatedCallbackOAuthParams, type DeprecatedCallbackOAuthResult, type DeveloperAccount, type DeveloperAccountDeleteResponse, type DeveloperAccountGetMessageResponse, type DeveloperAccountListQueries, type DeveloperAccountListResponse, type DeveloperAccountResponse, DeveloperAccountResponseExpandable, type DeviceListQueries, type DeviceListResponse, type DeviceResponse, type DeviceStat, type DisableAccountResult, type DisableFeeSponsorshipResult, type DisableGasPolicyLegacyResult, type DiscordOAuthConfig, type EcosystemConfigurationResponse, type EcosystemMetadata, type EmailAuthConfig, type EmailAuthConfigPasswordRequirements, type EmailSampleDeleteResponse, type EmailSampleListResponse, type EmailSampleResponse, EmailTypeRequest, EmailTypeResponse, type EmbeddedNextActionResponse, EmbeddedNextActionResponseNextAction, type EmbeddedResponse, type EmbeddedV2Response, type EnableFeeSponsorshipResult, type EnableGasPolicyLegacyResult, EncryptionError, type EntityIdResponse, EntityTypeACCOUNT, EntityTypeCONTRACT, EntityTypeDEVELOPERACCOUNT, EntityTypeDEVICE, EntityTypeEMAILSAMPLE, EntityTypeEVENT, EntityTypeFEESPONSORSHIP, EntityTypeFORWARDERCONTRACT, EntityTypeLOG, EntityTypePAYMASTER, EntityTypePLAYER, EntityTypePOLICY, EntityTypePOLICYRULE, EntityTypePOLICYV2, EntityTypePOLICYV2RULE, EntityTypePROJECT, EntityTypeREADCONTRACT, EntityTypeSESSION, EntityTypeSIGNATURE, EntityTypeSMTPCONFIG, EntityTypeSUBSCRIPTION, EntityTypeTRANSACTIONINTENT, EntityTypeTRIGGER, EntityTypeUSER, EntityTypeWALLET, type EpicGamesOAuthConfig, ErrorTypeINVALIDREQUESTERROR, type EstimateTransactionIntentCostResult, type EstimateTransactionIntentGasResult, type EthValueCriterion, EthValueCriterionOperator, type EthValueCriterionRequest, EthValueCriterionRequestOperator, EthValueCriterionRequestType, EthValueCriterionSchema, type EvaluatePolicyV2Payload, type EvaluatePolicyV2Request, type EvaluatePolicyV2Response, EvaluatePolicyV2ResponseObject, type EvaluatePolicyV2Result, type EventDeleteResponse, type EventListQueries, type EventListResponse, type EventResponse, type EvmAccount, type EvmAccountBase, type EvmAccountData, type EvmAddressCriterion, EvmAddressCriterionOperator, type EvmAddressCriterionRequest, EvmAddressCriterionRequestOperator, EvmAddressCriterionRequestType, EvmAddressCriterionSchema, EvmClient, EvmCriteriaType, EvmCriteriaTypeETHVALUE, EvmCriteriaTypeEVMADDRESS, EvmCriteriaTypeEVMDATA, EvmCriteriaTypeEVMMESSAGE, EvmCriteriaTypeEVMNETWORK, EvmCriteriaTypeEVMTYPEDDATAFIELD, EvmCriteriaTypeEVMTYPEDDATAVERIFYINGCONTRACT, EvmCriteriaTypeNETUSDCHANGE, type EvmDataCriterion, type EvmDataCriterionRequest, EvmDataCriterionRequestOperator, EvmDataCriterionRequestType, EvmDataCriterionSchema, type EvmMessageCriterion, type EvmMessageCriterionRequest, EvmMessageCriterionRequestOperator, EvmMessageCriterionRequestType, EvmMessageCriterionSchema, type EvmNetworkCriterion, EvmNetworkCriterionOperator, type EvmNetworkCriterionRequest, EvmNetworkCriterionRequestOperator, EvmNetworkCriterionRequestType, EvmNetworkCriterionSchema, type SignMessageOptions$1 as EvmSignMessageOptions, type SignTransactionOptions$1 as EvmSignTransactionOptions, type SignTypedDataOptions as EvmSignTypedDataOptions, type EvmSigningMethods, type EvmTypedDataFieldCriterion, EvmTypedDataFieldCriterionOperator, type EvmTypedDataFieldCriterionRequest, EvmTypedDataFieldCriterionRequestOperator, EvmTypedDataFieldCriterionRequestType, EvmTypedDataFieldCriterionSchema, type EvmTypedDataVerifyingContractCriterion, EvmTypedDataVerifyingContractCriterionOperator, type EvmTypedDataVerifyingContractCriterionRequest, EvmTypedDataVerifyingContractCriterionRequestOperator, EvmTypedDataVerifyingContractCriterionRequestType, EvmTypedDataVerifyingContractCriterionSchema, type ExportPrivateKeyRequest, type ExportPrivateKeyResponse, ExportPrivateKeyResponseObject, type ExportPrivateKeyResult, type ExportSolanaAccountOptions, type ExportedEmbeddedRequest, type FacebookOAuthConfig, type FeeSponsorshipDeleteResponse, type FeeSponsorshipListQueries, type FeeSponsorshipListResponse, type FeeSponsorshipResponse, type FeeSponsorshipStrategy, type FeeSponsorshipStrategyResponse, type FieldErrors, type FirebaseOAuthConfig, type FixedRateTokenPolicyStrategy, type ForwarderContractDeleteResponse, type ForwarderContractResponse, type GasPerIntervalLimitPolicyRuleResponse, type GasPerTransactionLimitPolicyRuleResponse, type GasReport, type GasReportListResponse, type GasReportTransactionIntents, type GasReportTransactionIntentsListResponse, type GetAccountParams, type GetAccountResult, type GetAccountV2Result, type GetAccountsParams, type GetAccountsResult, GetAccountsV2AccountType, GetAccountsV2ChainType, GetAccountsV2Custody, type GetAccountsV2Params, type GetAccountsV2Result, type GetAuthPlayerResult, type GetAuthPlayersParams, type GetAuthPlayersResult, type GetAuthUserResult, type GetAuthUsersParams, type GetAuthUsersResult, type GetContractResult, type GetContractsParams, type GetContractsResult, type GetDeveloperAccountParams, type GetDeveloperAccountResult, type GetDeveloperAccountsParams, type GetDeveloperAccountsResult, type GetDeviceResponse, type GetEmailSampleResponse, type GetEventResponse, type GetEventResult, type GetEventsParams, type GetEventsResult, type GetEvmAccountOptions, type GetFeeSponsorshipResult, type GetForwarderContractResult, type GetGasPoliciesLegacyParams, type GetGasPoliciesLegacyResult, type GetGasPolicyBalanceLegacyResult, type GetGasPolicyLegacyParams, type GetGasPolicyLegacyResult, type GetGasPolicyReportTransactionIntentsLegacyParams, type GetGasPolicyReportTransactionIntentsLegacyResult, GetGasPolicyRulesLegacyExpandItem, type GetGasPolicyRulesLegacyParams, type GetGasPolicyRulesLegacyResult, type GetGasPolicyTotalGasUsageLegacyParams, type GetGasPolicyTotalGasUsageLegacyResult, type GetJwksResult, type GetOAuthConfigResult, type GetOnrampQuoteResult, type GetPaymasterResult, type GetPlayerParams, type GetPlayerResult, type GetPlayerSessionsParams, type GetPlayerSessionsResult, type GetPlayersParams, type GetPlayersResult, type GetPolicyV2Result, type GetProjectLogsParams, type GetProjectLogsResult, type GetSMTPConfigResponse, type GetSessionParams, type GetSessionResult, type GetSignerIdByAddressParams, type GetSignerIdByAddressResult, type GetSolanaAccountOptions, type GetSubscriptionResponse, type GetSubscriptionResult, type GetSubscriptionsResult, type GetTransactionIntentParams, type GetTransactionIntentResult, type GetTransactionIntentsParams, type GetTransactionIntentsResult, type GetTriggerResponse, type GetTriggerResult, type GetTriggersResult, type GetUserWalletResult, type GetVerificationPayloadParams, type GetVerificationPayloadResult, type GetWebhookLogsByProjectIdResult, type GoogleOAuthConfig, type GrantCallbackRequest, type GrantOAuthResponse, type GrantOAuthResult, type GuestAuthConfig, type HandleChainRpcRequestResult, type HandleRpcRequestResult, type HandleSolanaRpcRequestResult, type HttpErrorType, IMPORT_ENCRYPTION_PUBLIC_KEY, type ImportPrivateKeyRequest, ImportPrivateKeyRequestChainType, type ImportPrivateKeyResponse, ImportPrivateKeyResponseChainType, ImportPrivateKeyResponseObject, type ImportPrivateKeyResult, type ImportSolanaAccountOptions, type InitEmbeddedRequest, type InitOAuthResult, type InitSIWEResult, type Interaction, InvalidAPIKeyFormatError, InvalidPublishableKeyFormatError, type InvalidRequestError, type InvalidRequestErrorResponse, InvalidWalletSecretFormatError, type JsonRpcError, type JsonRpcErrorResponse, JsonRpcErrorResponseJsonrpc, type JsonRpcRequest, JsonRpcRequestJsonrpc, type JsonRpcResponse, type JsonRpcSuccessResponseAny, JsonRpcSuccessResponseAnyJsonrpc, type JwtKey, type JwtKeyResponse, type LineOAuthConfig, type LinkEmailResult, type LinkOAuthResult, type LinkSIWEResult, type LinkThirdPartyResult, type LinkedAccountResponse, type LinkedAccountResponseV2, type ListAccountsResult, type ListConfigRequest, type ListEvmAccountsOptions, type ListFeeSponsorshipsParams, type ListFeeSponsorshipsResult, type ListForwarderContractsParams, type ListForwarderContractsResult, type ListMigrationsRequest, type ListOAuthConfigResult, type ListParams, type ListPaymastersParams, type ListPaymastersResult, type ListPoliciesParams, type ListPoliciesResult, ListPoliciesScopeItem, type ListResult, type ListSolanaAccountsOptions, type ListSubscriptionLogsParams, type ListSubscriptionLogsRequest, type ListSubscriptionLogsResult, type Log, type LogResponse, type LoginEmailPasswordResult, type LoginRequest, type LoginWithIdTokenRequest, type LoginWithIdTokenResult, type LogoutRequest, type LogoutResult, type LootLockerOAuthConfig, type MappingStrategy, type MeResult, type MeV2Result, type MessageBirdSmsProviderConfig, type MintAddressCriterion, MintAddressCriterionOperator, type MintAddressCriterionRequest, MintAddressCriterionRequestOperator, MintAddressCriterionRequestType, MintAddressCriterionSchema, MissingAPIKeyError, MissingPublishableKeyError, MissingWalletSecretError, type Money, type MonthRange, type MonthlyUsageHistoryResponse, type MonthlyUsageHistoryResponseMonthsItem, type MyEcosystemResponse, type NetUSDChangeCriterion, NetUSDChangeCriterionOperator, type NetUSDChangeCriterionRequest, NetUSDChangeCriterionRequestOperator, NetUSDChangeCriterionRequestType, NetworkError, type NextActionPayload, type NextActionResponse, NextActionType, type OAuthConfigListResponse, type OAuthConfigRequest, type OAuthConfigResponse, type OAuthInitRequest, type OAuthInitRequestOptions, type OAuthInitRequestOptionsQueryParams, OAuthProvider, OAuthProviderAPPLE, OAuthProviderDISCORD, OAuthProviderEPICGAMES, OAuthProviderFACEBOOK, OAuthProviderGOOGLE, OAuthProviderLINE, OAuthProviderTWITTER, type OAuthResponse, type OIDCAuthConfig, type OnrampFee, OnrampProvider, type OnrampQuoteRequest, type OnrampQuoteResponse, type OnrampQuotesResponse, type OnrampSessionRequest, type OnrampSessionResponse, type OnrampSessionResponseQuote, Openfort, type OpenfortErrorResponse, type OpenfortOptions, type PagingQueries, type PasskeyEnv, type PayForUserPolicyStrategy, type PaymasterDeleteResponse, type PaymasterResponse, type PaymasterResponseContext, type PhoneAuthConfig, type PickContractResponseId, type PickJsonFragmentExcludeKeyofJsonFragmentInputsOrOutputs, type PickJsonFragmentTypeExcludeKeyofJsonFragmentTypeComponents, type PickPlayerResponseId, type Plan, PlanChangeType, type PlansResponse, type PlayFabOAuthConfig, type Player, type PlayerCancelTransferOwnershipRequest, type PlayerCreateRequest, type PlayerDeleteResponse, type PlayerListQueries, type PlayerListResponse, type PlayerMetadata, type PlayerResponse, PlayerResponseExpandable, type PlayerTransferOwnershipRequest, type PlayerUpdateRequest, type Policy, type PolicyBalanceWithdrawResponse, type PolicyDeleteResponse, type PolicyListQueries, type PolicyListResponse, PolicyRateLimit, PolicyRateLimitCOUNTPERINTERVAL, PolicyRateLimitGASPERINTERVAL, PolicyRateLimitGASPERTRANSACTION, type PolicyReportQueries, type PolicyReportTransactionIntentsQueries, type PolicyResponse, PolicyResponseExpandable, type PolicyRuleDeleteResponse, type PolicyRuleListQueries, PolicyRuleListQueriesExpandItem, type PolicyRuleListResponse, type PolicyRuleResponse, PolicyRuleType, PolicyRuleTypeACCOUNT, PolicyRuleTypeCONTRACT, PolicyRuleTypeRATELIMIT, type PolicyStrategy, type PolicyStrategyRequest, PolicyV2Action, type PolicyV2Criterion, type PolicyV2CriterionRequest, type PolicyV2DeleteResponse, type PolicyV2ListQueries, PolicyV2ListQueriesScopeItem, type PolicyV2ListResponse, type PolicyV2Response, type PolicyV2RuleResponse, PolicyV2Scope, type PoolOAuthParams, type PoolOAuthResult, type PregenerateAccountResponse, PregenerateAccountResponseCustody, type PregenerateUserRequestV2, PregenerateUserRequestV2AccountType, PregenerateUserRequestV2ChainType, type PregenerateUserV2Result, PrismaSortOrder, PrivateKeyPolicy, type ProgramIdCriterion, ProgramIdCriterionOperator, type ProgramIdCriterionRequest, ProgramIdCriterionRequestOperator, ProgramIdCriterionRequestType, ProgramIdCriterionSchema, type ProjectListResponse, type ProjectLogs, type ProjectResponse, type ProjectStatsRequest, ProjectStatsRequestTimeFrame, type ProjectStatsResponse, type QueryResult, type RSAKeyPair, type ReadContractParams, type ReadContractResult, type RecordStringUnknown, type RecoverV2EmbeddedRequest, type RecoverV2Response, type RecoveryMethodDetails, type RefreshResult, type RefreshTokenRequest, type RegisterEmbeddedRequest, type RegisterEmbeddedV2Request, type RegisterGuestResult, type RegisterWalletSecretRequest, type RegisterWalletSecretResponse, RegisterWalletSecretResponseObject, type RegisterWalletSecretResult, type RemoveAccountResult, type RequestEmailVerificationResult, type RequestOptions, type RequestResetPasswordRequest, type RequestResetPasswordResult, type RequestTransferAccountOwnershipResult, type RequestVerifyEmailRequest, type ResetPasswordRequest, type ResetPasswordResult, type ResponseResponse, ResponseTypeLIST, type RevokeSessionRequest, type RevokeSessionResult, type RevokeWalletSecretRequest, type RevokeWalletSecretResponse, RevokeWalletSecretResponseObject, type RevokeWalletSecretResult, type RotateWalletSecretRequest, type RotateWalletSecretResponse, RotateWalletSecretResponseObject, type RotateWalletSecretResult, type Rule, RuleSchema, type SIWEAuthenticateRequest, type SIWEInitResponse, type SIWERequest, type SMTPConfigResponse, SendEvmTransactionRuleSchema, SendSolTransactionRuleSchema, type SessionListQueries, type SessionListResponse, type SessionResponse, SessionResponseExpandable, type ShieldConfiguration, SignEvmHashRuleSchema, SignEvmMessageRuleSchema, SignEvmTransactionRuleSchema, SignEvmTypedDataRuleSchema, type SignPayloadDeveloperAccountResult, type SignPayloadRequest, type SignPayloadRequestTypes, type SignPayloadRequestValue, type SignPayloadResponse, type SignRequest, type SignResponse, SignResponseObject, type SignResult, SignSolMessageRuleSchema, SignSolTransactionRuleSchema, type SignatureRequest, type SignatureResult, type SignatureSessionResult, type SignerIdResponse, type SignupEmailPasswordResult, type SignupRequest, type SmartAccountData, type SmsApiProviderConfig, SmsProviderMESSAGEBIRD, SmsProviderSMSAPI, SmsProviderTWILIO, SmsProviderTXTLOCAL, SmsProviderVONAGE, type SolAddressCriterion, SolAddressCriterionOperator, type SolAddressCriterionRequest, SolAddressCriterionRequestOperator, SolAddressCriterionRequestType, SolAddressCriterionSchema, type SolDataCriterion, type SolDataCriterionRequest, SolDataCriterionRequestOperator, SolDataCriterionRequestType, SolDataCriterionSchema, type SolMessageCriterion, type SolMessageCriterionRequest, SolMessageCriterionRequestOperator, SolMessageCriterionRequestType, SolMessageCriterionSchema, type SolNetworkCriterion, SolNetworkCriterionOperator, type SolNetworkCriterionRequest, SolNetworkCriterionRequestOperator, SolNetworkCriterionRequestType, SolNetworkCriterionSchema, type SolValueCriterion, SolValueCriterionOperator, type SolValueCriterionRequest, SolValueCriterionRequestOperator, SolValueCriterionRequestType, SolValueCriterionSchema, type SolanaAccount, type SolanaAccountBase, type SolanaAccountData, SolanaClient, SolanaCriteriaType, SolanaCriteriaTypeMINTADDRESS, SolanaCriteriaTypePROGRAMID, SolanaCriteriaTypeSOLADDRESS, SolanaCriteriaTypeSOLDATA, SolanaCriteriaTypeSOLMESSAGE, SolanaCriteriaTypeSOLNETWORK, SolanaCriteriaTypeSOLVALUE, SolanaCriteriaTypeSPLADDRESS, SolanaCriteriaTypeSPLVALUE, type SignMessageOptions as SolanaSignMessageOptions, type SignTransactionOptions as SolanaSignTransactionOptions, type SolanaSigningMethods, type SplAddressCriterion, SplAddressCriterionOperator, type SplAddressCriterionRequest, SplAddressCriterionRequestOperator, SplAddressCriterionRequestType, SplAddressCriterionSchema, type SplValueCriterion, SplValueCriterionOperator, type SplValueCriterionRequest, SplValueCriterionRequestOperator, SplValueCriterionRequestType, SplValueCriterionSchema, SponsorEvmTransactionRuleSchema, SponsorSchema, SponsorSchemaCHARGECUSTOMTOKENS, SponsorSchemaFIXEDRATE, SponsorSchemaPAYFORUSER, SponsorSolTransactionRuleSchema, type StandardDetails, type Stat, Status, type SubscriptionDeleteResponse, type SubscriptionListResponse, type SubscriptionLogsResponse, type SubscriptionResponse, type SupabaseAuthConfig, type SwitchChainQueriesV2, type SwitchChainRequest, type SwitchChainV2Result, type TestTrigger200, type TestTriggerResult, type ThirdPartyLinkRequest, ThirdPartyOAuthProvider, ThirdPartyOAuthProviderACCELBYTE, ThirdPartyOAuthProviderBETTERAUTH, ThirdPartyOAuthProviderCUSTOM, ThirdPartyOAuthProviderFIREBASE, ThirdPartyOAuthProviderLOOTLOCKER, ThirdPartyOAuthProviderOIDC, ThirdPartyOAuthProviderPLAYFAB, ThirdPartyOAuthProviderSUPABASE, type ThirdPartyOAuthRequest, type ThirdPartyResult, type ThirdPartyV2Result, TimeIntervalType, TimeoutError, TokenType, TransactionAbstractionType, type TransactionConfirmedEventResponse, type TransactionIntent, type TransactionIntentListQueries, type TransactionIntentListResponse, type TransactionIntentResponse, TransactionIntentResponseExpandable, type TransactionResponseLog, type TransactionStat, TransactionStatus, type Transition, type TriggerDeleteResponse, type TriggerListResponse, type TriggerResponse, type TwilioSmsProviderConfig, type TwitterOAuthConfig, type TxtLocalSmsProviderConfig, type TypedDataField, type TypedDomainData, UnknownError, type UnlinkEmailRequest, type UnlinkEmailResult, type UnlinkOAuthRequest, type UnlinkOAuthResult, type UnlinkSIWEResult, type UpdateAuthorizedAppsRequest, type UpdateAuthorizedNetworksRequest, type UpdateAuthorizedOriginsRequest, type UpdateContractRequest, type UpdateContractResult, type UpdateDeveloperAccountCreateRequest, type UpdateDeveloperAccountResult, type UpdateEmailSampleRequest, type UpdateEmailSampleResponse, type UpdateFeeSponsorshipRequest, type UpdateFeeSponsorshipResult, type UpdateForwarderContractResult, type UpdateGasPolicyLegacyResult, type UpdateGasPolicyRuleLegacyResult, type UpdateMigrationRequest, type UpdatePaymasterResult, type UpdatePlayerResult, type UpdatePolicyBody, UpdatePolicyBodySchema, type UpdatePolicyRequest, type UpdatePolicyRuleRequest, type UpdatePolicyV2Request, type UpdatePolicyV2Result, type UpdateProjectApiKeyRequest, type UpdateProjectRequest, type UpsertSMTPConfigRequest, type UsageAlert, UsageAlertType, type UsageSummaryResponse, type UsageSummaryResponseBillingPeriod, type UsageSummaryResponseOperations, type UsageSummaryResponsePlan, 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, callbackOAuth, cancelTransferAccountOwnership, configure, create, createAccount, createAccountV2, createAuthPlayer, createBackendWallet, createContract, createDeveloperAccount, createEvent, createFeeSponsorship, createForwarderContract, createGasPolicyLegacy, createGasPolicyRuleLegacy, createGasPolicyWithdrawalLegacy, createOAuthConfig, createOnrampSession, createPaymaster, createPlayer, createPolicyV2, createSession, createSubscription, createTransactionIntent, createTrigger, decryptExportedPrivateKey, Openfort as default, deleteAuthPlayer, deleteBackendWallet, deleteContract, deleteDeveloperAccount, deleteEvent, deleteFeeSponsorship, deleteForwarderContract, deleteGasPolicyLegacy, deleteGasPolicyRuleLegacy, deleteOAuthConfig, deletePaymaster, deletePlayer, deletePolicyV2, deleteSubscription, deleteTrigger, deleteUser, deprecatedCallbackOAuth, disableAccount, disableFeeSponsorship, disableGasPolicyLegacy, enableFeeSponsorship, enableGasPolicyLegacy, encryptForImport, estimateTransactionIntentCost, evaluatePolicyV2, exportPrivateKey, generateRSAKeyPair, getAccount, getAccountV2, getAccounts, getAccountsV2, getAuthPlayer, getAuthPlayers, getAuthUser, getAuthUsers, getConfig, getContract, getContracts, getDeveloperAccount, getDeveloperAccounts, getEvent, getEvents, getFeeSponsorship, getForwarderContract, getGasPoliciesLegacy, getGasPolicyBalanceLegacy, getGasPolicyLegacy, getGasPolicyReportTransactionIntentsLegacy, getGasPolicyRulesLegacy, getGasPolicyTotalGasUsageLegacy, getJwks, getOAuthConfig, getOnrampQuote, getPaymaster, getPlayer, getPlayerSessions, getPlayers, getPolicyV2, getProjectLogs, getSession, getSignerIdByAddress, getSubscription, getSubscriptions, getTransactionIntent, getTransactionIntents, getTrigger, getTriggers, getUserWallet, getVerificationPayload, getWebhookLogsByProjectId, grantOAuth, handleChainRpcRequest, handleRpcRequest, handleSolanaRpcRequest, importPrivateKey, initOAuth, initSIWE, isOpenfortError, linkEmail, linkOAuth, linkSIWE, linkThirdParty, list, listFeeSponsorships, listForwarderContracts, listOAuthConfig, listPaymasters, listPolicies, listSubscriptionLogs, loginEmailPassword, loginWithIdToken, logout, me, meV2, poolOAuth, pregenerateUserV2, query, readContract, refresh, registerGuest, registerWalletSecret, removeAccount, requestEmailVerification, requestResetPassword, requestTransferAccountOwnership, resetPassword, revokeSession, revokeWalletSecret, rotateWalletSecret, sign, signPayloadDeveloperAccount, signature, signatureSession, signupEmailPassword, switchChainV2, testTrigger, thirdParty, thirdPartyV2, toEvmAccount, toSolanaAccount, unlinkEmail, unlinkOAuth, unlinkSIWE, updateContract, updateDeveloperAccount, updateFeeSponsorship, updateForwarderContract, updateGasPolicyLegacy, updateGasPolicyRuleLegacy, updatePaymaster, updatePlayer, updatePolicyV2, verifyAuthToken, verifyEmail, verifyOAuthToken };
|
|
15943
|
+
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 AccountSendRawTransactionOptions, type AccountTransferOptions, type AccountV2Response, AccountV2ResponseCustody, type ActionRequiredResponse, Actions, type AllowedOriginsRequest, type AllowedOriginsResponse, type ApiKeyResponse, ApiKeyType, type AppleOAuthConfig, type AuthConfig, type AuthMigrationListResponse, type AuthMigrationResponse, AuthMigrationStatus, type AuthPlayerListQueries, type AuthPlayerListResponse, type AuthPlayerResponse, type AuthPlayerResponseWithRecoveryShare, AuthProvider, type AuthProviderListResponse, AuthProviderResponse, AuthProviderResponseV2, type AuthProviderWithTypeResponse, type AuthResponse, type AuthSessionResponse, type AuthUserResponse, type AuthenticateOAuthRequest, AuthenticateOAuthRequestProvider, type AuthenticateSIWEResult, AuthenticationType, type AuthorizedApp, type AuthorizedAppsResponse, type AuthorizedAppsResponseAuthorizedAppsItem, type AuthorizedNetwork, type AuthorizedNetworksResponse, type AuthorizedNetworksResponseAuthorizedNetworksItem, type AuthorizedOriginsResponse, type BalanceEventResponse, type BalanceResponse, type BaseDeleteEntityResponseEntityTypePLAYER, type BaseEntityListResponseAccountV2Response, type BaseEntityListResponseAuthUserResponse, type BaseEntityListResponseDeviceResponse, type BaseEntityListResponseEmailSampleResponse, type BaseEntityListResponseLogResponse, type BaseEntityListResponseTriggerResponse, type BaseEntityResponseEntityTypeWALLET, BasicAuthProvider, BasicAuthProviderEMAIL, BasicAuthProviderGUEST, BasicAuthProviderPHONE, BasicAuthProviderWEB3, type BetterAuthConfig, type BillingSubscriptionResponse, type BillingSubscriptionResponsePlan, type CallbackOAuthParams, type CallbackOAuthResult, type CancelTransferAccountOwnershipResult, type ChargeCustomTokenPolicyStrategy, type CheckoutRequest, type CheckoutResponse, type CheckoutSubscriptionRequest, type ChildProjectListResponse, type ChildProjectResponse, type CodeChallenge, CodeChallengeMethod, type CodeChallengeVerify, type ContractDeleteResponse, type ContractEventResponse, type ContractListQueries, type ContractListResponse, type ContractPolicyRuleResponse, type ContractReadQueries, type ContractReadResponse, type ContractResponse, type CountPerIntervalLimitPolicyRuleResponse, type CreateAccountRequest, type CreateAccountRequestV2, CreateAccountRequestV2AccountType, CreateAccountRequestV2ChainType, type CreateAccountResult, type CreateAccountV2Result, type CreateAuthPlayerRequest, type CreateAuthPlayerResult, type CreateBackendWalletRequest, CreateBackendWalletRequestChainType, type CreateBackendWalletResponse, CreateBackendWalletResponseChainType, CreateBackendWalletResponseObject, type CreateBackendWalletResult, type CreateContractRequest, type CreateContractResult, type CreateDeveloperAccountCreateRequest, type CreateDeveloperAccountResult, type CreateDeviceRequest, type CreateDeviceResponse, type CreateEcosystemConfigurationRequest, type CreateEmailSampleRequest, type CreateEmailSampleResponse, type CreateEmbeddedRequest, CreateEmbeddedRequestAccountType, CreateEmbeddedRequestChainType, type CreateEventRequest, type CreateEventResponse, type CreateEventResult, type CreateEvmAccountOptions, type CreateFeeSponsorshipRequest, type CreateFeeSponsorshipResult, type CreateForwarderContractRequest, type CreateForwarderContractResponse, type CreateForwarderContractResult, type CreateGasPolicyLegacyResult, type CreateGasPolicyRuleLegacyResult, type CreateGasPolicyWithdrawalLegacyResult, type CreateMigrationRequest, type CreateOAuthConfigResult, type CreateOnrampSessionResult, type CreatePaymasterRequest, type CreatePaymasterRequestContext, type CreatePaymasterResponse, type CreatePaymasterResult, type CreatePlayerResult, type CreatePolicyBody, CreatePolicyBodySchema, type CreatePolicyRequest, type CreatePolicyRuleRequest, type CreatePolicyV2Request, CreatePolicyV2RequestScope, type CreatePolicyV2Result, type CreatePolicyV2RuleRequest, CreatePolicyV2RuleRequestAction, type CreateProjectApiKeyRequest, type CreateProjectRequest, type CreateResult, type CreateSMTPConfigResponse, type CreateSessionRequest, type CreateSessionResult, type CreateSolanaAccountOptions, type CreateSubscriptionRequest, type CreateSubscriptionResponse, type CreateSubscriptionResult, type CreateTransactionIntentRequest, type CreateTransactionIntentResult, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResult, CriteriaOperator, CriteriaOperatorEQUAL, CriteriaOperatorGREATERTHAN, CriteriaOperatorGREATERTHANOREQUAL, CriteriaOperatorIN, CriteriaOperatorLESSTHAN, CriteriaOperatorLESSTHANOREQUAL, CriteriaOperatorMATCH, CriteriaOperatorNOTIN, CriteriaType, Currency, type CustomAuthConfig, DelegationError, type DeleteAccountResponse, type DeleteAuthPlayerResult, type DeleteBackendWalletResponse, DeleteBackendWalletResponseObject, type DeleteBackendWalletResult, type DeleteContractResult, type DeleteDeveloperAccountResult, type DeleteEventResult, type DeleteFeeSponsorshipResult, type DeleteForwarderContractResult, type DeleteGasPolicyLegacyResult, type DeleteGasPolicyRuleLegacyResult, type DeleteOAuthConfigResult, type DeletePaymasterResult, type DeletePlayerResult, type DeletePolicyV2Result, type DeleteSMTPConfigResponse, type DeleteSubscriptionResult, type DeleteTriggerResult, type DeleteUserResult, type DeprecatedCallbackOAuthParams, type DeprecatedCallbackOAuthResult, type DeveloperAccount, type DeveloperAccountDeleteResponse, type DeveloperAccountGetMessageResponse, type DeveloperAccountListQueries, type DeveloperAccountListResponse, type DeveloperAccountResponse, DeveloperAccountResponseExpandable, type DeviceListQueries, type DeviceListResponse, type DeviceResponse, type DeviceStat, type DisableAccountResult, type DisableFeeSponsorshipResult, type DisableGasPolicyLegacyResult, type DiscordOAuthConfig, type EcosystemConfigurationResponse, type EcosystemMetadata, type EmailAuthConfig, type EmailAuthConfigPasswordRequirements, type EmailSampleDeleteResponse, type EmailSampleListResponse, type EmailSampleResponse, EmailTypeRequest, EmailTypeResponse, type EmbeddedNextActionResponse, EmbeddedNextActionResponseNextAction, type EmbeddedResponse, type EmbeddedV2Response, type EnableFeeSponsorshipResult, type EnableGasPolicyLegacyResult, EncryptionError, type EntityIdResponse, EntityTypeACCOUNT, EntityTypeCONTRACT, EntityTypeDEVELOPERACCOUNT, EntityTypeDEVICE, EntityTypeEMAILSAMPLE, EntityTypeEVENT, EntityTypeFEESPONSORSHIP, EntityTypeFORWARDERCONTRACT, EntityTypeLOG, EntityTypePAYMASTER, EntityTypePLAYER, EntityTypePOLICY, EntityTypePOLICYRULE, EntityTypePOLICYV2, EntityTypePOLICYV2RULE, EntityTypePROJECT, EntityTypeREADCONTRACT, EntityTypeSESSION, EntityTypeSIGNATURE, EntityTypeSMTPCONFIG, EntityTypeSUBSCRIPTION, EntityTypeTRANSACTIONINTENT, EntityTypeTRIGGER, EntityTypeUSER, EntityTypeWALLET, type EpicGamesOAuthConfig, ErrorTypeINVALIDREQUESTERROR, type EstimateTransactionIntentCostResult, type EstimateTransactionIntentGasResult, type EthValueCriterion, EthValueCriterionOperator, type EthValueCriterionRequest, EthValueCriterionRequestOperator, EthValueCriterionRequestType, EthValueCriterionSchema, type EvaluatePolicyV2Payload, type EvaluatePolicyV2Request, type EvaluatePolicyV2Response, EvaluatePolicyV2ResponseObject, type EvaluatePolicyV2Result, type EventDeleteResponse, type EventListQueries, type EventListResponse, type EventResponse, type EvmAccount, type EvmAccountBase, type EvmAccountData, type EvmAddressCriterion, EvmAddressCriterionOperator, type EvmAddressCriterionRequest, EvmAddressCriterionRequestOperator, EvmAddressCriterionRequestType, EvmAddressCriterionSchema, EvmClient, EvmCriteriaType, EvmCriteriaTypeETHVALUE, EvmCriteriaTypeEVMADDRESS, EvmCriteriaTypeEVMDATA, EvmCriteriaTypeEVMMESSAGE, EvmCriteriaTypeEVMNETWORK, EvmCriteriaTypeEVMTYPEDDATAFIELD, EvmCriteriaTypeEVMTYPEDDATAVERIFYINGCONTRACT, EvmCriteriaTypeNETUSDCHANGE, type EvmDataCriterion, type EvmDataCriterionRequest, EvmDataCriterionRequestOperator, EvmDataCriterionRequestType, EvmDataCriterionSchema, type EvmMessageCriterion, type EvmMessageCriterionRequest, EvmMessageCriterionRequestOperator, EvmMessageCriterionRequestType, EvmMessageCriterionSchema, type EvmNetworkCriterion, EvmNetworkCriterionOperator, type EvmNetworkCriterionRequest, EvmNetworkCriterionRequestOperator, EvmNetworkCriterionRequestType, EvmNetworkCriterionSchema, type EvmSigningMethods, type EvmTypedDataFieldCriterion, EvmTypedDataFieldCriterionOperator, type EvmTypedDataFieldCriterionRequest, EvmTypedDataFieldCriterionRequestOperator, EvmTypedDataFieldCriterionRequestType, EvmTypedDataFieldCriterionSchema, type EvmTypedDataVerifyingContractCriterion, EvmTypedDataVerifyingContractCriterionOperator, type EvmTypedDataVerifyingContractCriterionRequest, EvmTypedDataVerifyingContractCriterionRequestOperator, EvmTypedDataVerifyingContractCriterionRequestType, EvmTypedDataVerifyingContractCriterionSchema, type ExportPrivateKeyRequest, type ExportPrivateKeyResponse, ExportPrivateKeyResponseObject, type ExportPrivateKeyResult, type ExportSolanaAccountOptions, type ExportedEmbeddedRequest, type FacebookOAuthConfig, type FeeSponsorshipDeleteResponse, type FeeSponsorshipListQueries, type FeeSponsorshipListResponse, type FeeSponsorshipResponse, type FeeSponsorshipStrategy, type FeeSponsorshipStrategyResponse, type FieldErrors, type FirebaseOAuthConfig, type FixedRateTokenPolicyStrategy, type ForwarderContractDeleteResponse, type ForwarderContractResponse, type GasPerIntervalLimitPolicyRuleResponse, type GasPerTransactionLimitPolicyRuleResponse, type GasReport, type GasReportListResponse, type GasReportTransactionIntents, type GasReportTransactionIntentsListResponse, type GetAccountParams, type GetAccountResult, type GetAccountV2Result, type GetAccountsParams, type GetAccountsResult, GetAccountsV2AccountType, GetAccountsV2ChainType, GetAccountsV2Custody, type GetAccountsV2Params, type GetAccountsV2Result, type GetAuthPlayerResult, type GetAuthPlayersParams, type GetAuthPlayersResult, type GetAuthUserResult, type GetAuthUsersParams, type GetAuthUsersResult, type GetContractResult, type GetContractsParams, type GetContractsResult, type GetDeveloperAccountParams, type GetDeveloperAccountResult, type GetDeveloperAccountsParams, type GetDeveloperAccountsResult, type GetDeviceResponse, type GetEmailSampleResponse, type GetEventResponse, type GetEventResult, type GetEventsParams, type GetEventsResult, type GetEvmAccountOptions, type GetFeeSponsorshipResult, type GetForwarderContractResult, type GetGasPoliciesLegacyParams, type GetGasPoliciesLegacyResult, type GetGasPolicyBalanceLegacyResult, type GetGasPolicyLegacyParams, type GetGasPolicyLegacyResult, type GetGasPolicyReportTransactionIntentsLegacyParams, type GetGasPolicyReportTransactionIntentsLegacyResult, GetGasPolicyRulesLegacyExpandItem, type GetGasPolicyRulesLegacyParams, type GetGasPolicyRulesLegacyResult, type GetGasPolicyTotalGasUsageLegacyParams, type GetGasPolicyTotalGasUsageLegacyResult, type GetJwksResult, type GetOAuthConfigResult, type GetOnrampQuoteResult, type GetPaymasterResult, type GetPlayerParams, type GetPlayerResult, type GetPlayerSessionsParams, type GetPlayerSessionsResult, type GetPlayersParams, type GetPlayersResult, type GetPolicyV2Result, type GetProjectLogsParams, type GetProjectLogsResult, type GetSMTPConfigResponse, type GetSessionParams, type GetSessionResult, type GetSignerIdByAddressParams, type GetSignerIdByAddressResult, type GetSolanaAccountOptions, type GetSubscriptionResponse, type GetSubscriptionResult, type GetSubscriptionsResult, type GetTransactionIntentParams, type GetTransactionIntentResult, type GetTransactionIntentsParams, type GetTransactionIntentsResult, type GetTriggerResponse, type GetTriggerResult, type GetTriggersResult, type GetUserWalletResult, type GetVerificationPayloadParams, type GetVerificationPayloadResult, type GetWebhookLogsByProjectIdResult, type GoogleOAuthConfig, type GrantCallbackRequest, type GrantOAuthResponse, type GrantOAuthResult, type GuestAuthConfig, type HandleChainRpcRequestResult, type HandleRpcRequestResult, type HandleSolanaRpcRequestResult, type HttpErrorType, IMPORT_ENCRYPTION_PUBLIC_KEY, type ImportPrivateKeyRequest, ImportPrivateKeyRequestChainType, type ImportPrivateKeyResponse, ImportPrivateKeyResponseChainType, ImportPrivateKeyResponseObject, type ImportPrivateKeyResult, type ImportSolanaAccountOptions, type InitEmbeddedRequest, type InitOAuthResult, type InitSIWEResult, type Interaction, InvalidAPIKeyFormatError, InvalidPublishableKeyFormatError, type InvalidRequestError, type InvalidRequestErrorResponse, InvalidWalletSecretFormatError, type JsonRpcError, type JsonRpcErrorResponse, JsonRpcErrorResponseJsonrpc, type JsonRpcRequest, JsonRpcRequestJsonrpc, type JsonRpcResponse, type JsonRpcSuccessResponseAny, JsonRpcSuccessResponseAnyJsonrpc, type JwtKey, type JwtKeyResponse, type LineOAuthConfig, type LinkEmailResult, type LinkOAuthResult, type LinkSIWEResult, type LinkThirdPartyResult, type LinkedAccountResponse, type LinkedAccountResponseV2, type ListAccountsResult, type ListConfigRequest, type ListEvmAccountsOptions, type ListFeeSponsorshipsParams, type ListFeeSponsorshipsResult, type ListForwarderContractsParams, type ListForwarderContractsResult, type ListMigrationsRequest, type ListOAuthConfigResult, type ListParams, type ListPaymastersParams, type ListPaymastersResult, type ListPoliciesParams, type ListPoliciesResult, ListPoliciesScopeItem, type ListResult, type ListSolanaAccountsOptions, type ListSubscriptionLogsParams, type ListSubscriptionLogsRequest, type ListSubscriptionLogsResult, type Log, type LogResponse, type LoginEmailPasswordResult, type LoginRequest, type LoginWithIdTokenRequest, type LoginWithIdTokenResult, type LogoutRequest, type LogoutResult, type LootLockerOAuthConfig, type MappingStrategy, type MeResult, type MeV2Result, type MessageBirdSmsProviderConfig, type MintAddressCriterion, MintAddressCriterionOperator, type MintAddressCriterionRequest, MintAddressCriterionRequestOperator, MintAddressCriterionRequestType, MintAddressCriterionSchema, MissingAPIKeyError, MissingPublishableKeyError, MissingWalletSecretError, type Money, type MonthRange, type MonthlyUsageHistoryResponse, type MonthlyUsageHistoryResponseMonthsItem, type MyEcosystemResponse, type NetUSDChangeCriterion, NetUSDChangeCriterionOperator, type NetUSDChangeCriterionRequest, NetUSDChangeCriterionRequestOperator, NetUSDChangeCriterionRequestType, NetworkError, type NextActionPayload, type NextActionResponse, NextActionType, type OAuthConfigListResponse, type OAuthConfigRequest, type OAuthConfigResponse, type OAuthInitRequest, type OAuthInitRequestOptions, type OAuthInitRequestOptionsQueryParams, OAuthProvider, OAuthProviderAPPLE, OAuthProviderDISCORD, OAuthProviderEPICGAMES, OAuthProviderFACEBOOK, OAuthProviderGOOGLE, OAuthProviderLINE, OAuthProviderTWITTER, type OAuthResponse, type OIDCAuthConfig, type OnrampFee, OnrampProvider, type OnrampQuoteRequest, type OnrampQuoteResponse, type OnrampQuotesResponse, type OnrampSessionRequest, type OnrampSessionResponse, type OnrampSessionResponseQuote, Openfort, type OpenfortErrorResponse, type OpenfortOptions, type PagingQueries, type PasskeyEnv, type PayForUserPolicyStrategy, type PaymasterDeleteResponse, type PaymasterResponse, type PaymasterResponseContext, type PhoneAuthConfig, type PickContractResponseId, type PickJsonFragmentExcludeKeyofJsonFragmentInputsOrOutputs, type PickJsonFragmentTypeExcludeKeyofJsonFragmentTypeComponents, type PickPlayerResponseId, type Plan, PlanChangeType, type PlansResponse, type PlayFabOAuthConfig, type Player, type PlayerCancelTransferOwnershipRequest, type PlayerCreateRequest, type PlayerDeleteResponse, type PlayerListQueries, type PlayerListResponse, type PlayerMetadata, type PlayerResponse, PlayerResponseExpandable, type PlayerTransferOwnershipRequest, type PlayerUpdateRequest, type Policy, type PolicyBalanceWithdrawResponse, type PolicyDeleteResponse, type PolicyListQueries, type PolicyListResponse, PolicyRateLimit, PolicyRateLimitCOUNTPERINTERVAL, PolicyRateLimitGASPERINTERVAL, PolicyRateLimitGASPERTRANSACTION, type PolicyReportQueries, type PolicyReportTransactionIntentsQueries, type PolicyResponse, PolicyResponseExpandable, type PolicyRuleDeleteResponse, type PolicyRuleListQueries, PolicyRuleListQueriesExpandItem, type PolicyRuleListResponse, type PolicyRuleResponse, PolicyRuleType, PolicyRuleTypeACCOUNT, PolicyRuleTypeCONTRACT, PolicyRuleTypeRATELIMIT, type PolicyStrategy, type PolicyStrategyRequest, PolicyV2Action, type PolicyV2Criterion, type PolicyV2CriterionRequest, type PolicyV2DeleteResponse, type PolicyV2ListQueries, PolicyV2ListQueriesScopeItem, type PolicyV2ListResponse, type PolicyV2Response, type PolicyV2RuleResponse, PolicyV2Scope, type PoolOAuthParams, type PoolOAuthResult, type PregenerateAccountResponse, PregenerateAccountResponseCustody, type PregenerateUserRequestV2, PregenerateUserRequestV2AccountType, PregenerateUserRequestV2ChainType, type PregenerateUserV2Result, PrismaSortOrder, PrivateKeyPolicy, type ProgramIdCriterion, ProgramIdCriterionOperator, type ProgramIdCriterionRequest, ProgramIdCriterionRequestOperator, ProgramIdCriterionRequestType, ProgramIdCriterionSchema, type ProjectListResponse, type ProjectLogs, type ProjectResponse, type ProjectStatsRequest, ProjectStatsRequestTimeFrame, type ProjectStatsResponse, type QueryResult, type RSAKeyPair, type ReadContractParams, type ReadContractResult, type RecordStringUnknown, type RecoverV2EmbeddedRequest, type RecoverV2Response, type RecoveryMethodDetails, type RefreshResult, type RefreshTokenRequest, type RegisterEmbeddedRequest, type RegisterEmbeddedV2Request, type RegisterGuestResult, type RegisterWalletSecretRequest, type RegisterWalletSecretResponse, RegisterWalletSecretResponseObject, type RegisterWalletSecretResult, type RemoveAccountResult, type RequestEmailVerificationResult, type RequestOptions, type RequestResetPasswordRequest, type RequestResetPasswordResult, type RequestTransferAccountOwnershipResult, type RequestVerifyEmailRequest, type ResetPasswordRequest, type ResetPasswordResult, type ResponseResponse, ResponseTypeLIST, type RevokeSessionRequest, type RevokeSessionResult, type RevokeWalletSecretRequest, type RevokeWalletSecretResponse, RevokeWalletSecretResponseObject, type RevokeWalletSecretResult, type RotateWalletSecretRequest, type RotateWalletSecretResponse, RotateWalletSecretResponseObject, type RotateWalletSecretResult, type Rule, RuleSchema, type SIWEAuthenticateRequest, type SIWEInitResponse, type SIWERequest, type SMTPConfigResponse, SendEvmTransactionRuleSchema, type SendRawSolanaTransactionOptions, SendSolTransactionRuleSchema, type SendSolanaTransactionOptions, type SessionListQueries, type SessionListResponse, type SessionResponse, SessionResponseExpandable, type ShieldConfiguration, SignEvmHashRuleSchema, SignEvmMessageRuleSchema, SignEvmTransactionRuleSchema, SignEvmTypedDataRuleSchema, type SignPayloadDeveloperAccountResult, type SignPayloadRequest, type SignPayloadRequestTypes, type SignPayloadRequestValue, type SignPayloadResponse, type SignRequest, type SignResponse, SignResponseObject, type SignResult, SignSolMessageRuleSchema, SignSolTransactionRuleSchema, type SignatureRequest, type SignatureResult, type SignatureSessionResult, type SignerIdResponse, type SignupEmailPasswordResult, type SignupRequest, type SmartAccountData, type SmsApiProviderConfig, SmsProviderMESSAGEBIRD, SmsProviderSMSAPI, SmsProviderTWILIO, SmsProviderTXTLOCAL, SmsProviderVONAGE, type SolAddressCriterion, SolAddressCriterionOperator, type SolAddressCriterionRequest, SolAddressCriterionRequestOperator, SolAddressCriterionRequestType, SolAddressCriterionSchema, type SolDataCriterion, type SolDataCriterionRequest, SolDataCriterionRequestOperator, SolDataCriterionRequestType, SolDataCriterionSchema, type SolMessageCriterion, type SolMessageCriterionRequest, SolMessageCriterionRequestOperator, SolMessageCriterionRequestType, SolMessageCriterionSchema, type SolNetworkCriterion, SolNetworkCriterionOperator, type SolNetworkCriterionRequest, SolNetworkCriterionRequestOperator, SolNetworkCriterionRequestType, SolNetworkCriterionSchema, type SolValueCriterion, SolValueCriterionOperator, type SolValueCriterionRequest, SolValueCriterionRequestOperator, SolValueCriterionRequestType, SolValueCriterionSchema, type SolanaAccount, type SolanaAccountBase, type SolanaAccountData, SolanaClient, type SolanaCluster, SolanaCriteriaType, SolanaCriteriaTypeMINTADDRESS, SolanaCriteriaTypePROGRAMID, SolanaCriteriaTypeSOLADDRESS, SolanaCriteriaTypeSOLDATA, SolanaCriteriaTypeSOLMESSAGE, SolanaCriteriaTypeSOLNETWORK, SolanaCriteriaTypeSOLVALUE, SolanaCriteriaTypeSPLADDRESS, SolanaCriteriaTypeSPLVALUE, type SignMessageOptions as SolanaSignMessageOptions, type SignTransactionOptions as SolanaSignTransactionOptions, type SolanaSigningMethods, type SplAddressCriterion, SplAddressCriterionOperator, type SplAddressCriterionRequest, SplAddressCriterionRequestOperator, SplAddressCriterionRequestType, SplAddressCriterionSchema, type SplValueCriterion, SplValueCriterionOperator, type SplValueCriterionRequest, SplValueCriterionRequestOperator, SplValueCriterionRequestType, SplValueCriterionSchema, SponsorEvmTransactionRuleSchema, SponsorSchema, SponsorSchemaCHARGECUSTOMTOKENS, SponsorSchemaFIXEDRATE, SponsorSchemaPAYFORUSER, SponsorSolTransactionRuleSchema, type StandardDetails, type Stat, Status, type SubscriptionDeleteResponse, type SubscriptionListResponse, type SubscriptionLogsResponse, type SubscriptionResponse, type SupabaseAuthConfig, type SwitchChainQueriesV2, type SwitchChainRequest, type SwitchChainV2Result, type TestTrigger200, type TestTriggerResult, type ThirdPartyLinkRequest, ThirdPartyOAuthProvider, ThirdPartyOAuthProviderACCELBYTE, ThirdPartyOAuthProviderBETTERAUTH, ThirdPartyOAuthProviderCUSTOM, ThirdPartyOAuthProviderFIREBASE, ThirdPartyOAuthProviderLOOTLOCKER, ThirdPartyOAuthProviderOIDC, ThirdPartyOAuthProviderPLAYFAB, ThirdPartyOAuthProviderSUPABASE, type ThirdPartyOAuthRequest, type ThirdPartyResult, type ThirdPartyV2Result, TimeIntervalType, TimeoutError, TokenType, TransactionAbstractionType, type TransactionConfirmedEventResponse, type TransactionIntent, type TransactionIntentListQueries, type TransactionIntentListResponse, type TransactionIntentResponse, TransactionIntentResponseExpandable, type TransactionResponseLog, type TransactionStat, TransactionStatus, type TransferOptions, type Transition, type TriggerDeleteResponse, type TriggerListResponse, type TriggerResponse, type TwilioSmsProviderConfig, type TwitterOAuthConfig, type TxtLocalSmsProviderConfig, type TypedDataField, type TypedDomainData, UnknownError, type UnlinkEmailRequest, type UnlinkEmailResult, type UnlinkOAuthRequest, type UnlinkOAuthResult, type UnlinkSIWEResult, type UpdateAuthorizedAppsRequest, type UpdateAuthorizedNetworksRequest, type UpdateAuthorizedOriginsRequest, type UpdateContractRequest, type UpdateContractResult, type UpdateDeveloperAccountCreateRequest, type UpdateDeveloperAccountResult, type UpdateEmailSampleRequest, type UpdateEmailSampleResponse, type UpdateFeeSponsorshipRequest, type UpdateFeeSponsorshipResult, type UpdateForwarderContractResult, type UpdateGasPolicyLegacyResult, type UpdateGasPolicyRuleLegacyResult, type UpdateMigrationRequest, type UpdatePaymasterResult, type UpdatePlayerResult, type UpdatePolicyBody, UpdatePolicyBodySchema, type UpdatePolicyRequest, type UpdatePolicyRuleRequest, type UpdatePolicyV2Request, type UpdatePolicyV2Result, type UpdateProjectApiKeyRequest, type UpdateProjectRequest, type UpsertSMTPConfigRequest, type UsageAlert, UsageAlertType, type UsageSummaryResponse, type UsageSummaryResponseBillingPeriod, type UsageSummaryResponseOperations, type UsageSummaryResponsePlan, 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, callbackOAuth, cancelTransferAccountOwnership, configure, create, createAccount, createAccountV2, createAuthPlayer, createBackendWallet, createContract, createDeveloperAccount, createEvent, createFeeSponsorship, createForwarderContract, createGasPolicyLegacy, createGasPolicyRuleLegacy, createGasPolicyWithdrawalLegacy, createOAuthConfig, createOnrampSession, createPaymaster, createPlayer, createPolicyV2, createSession, createSubscription, createTransactionIntent, createTrigger, decryptExportedPrivateKey, Openfort as default, deleteAuthPlayer, deleteBackendWallet, deleteContract, deleteDeveloperAccount, deleteEvent, deleteFeeSponsorship, deleteForwarderContract, deleteGasPolicyLegacy, deleteGasPolicyRuleLegacy, deleteOAuthConfig, deletePaymaster, deletePlayer, deletePolicyV2, deleteSubscription, deleteTrigger, deleteUser, deprecatedCallbackOAuth, disableAccount, disableFeeSponsorship, disableGasPolicyLegacy, enableFeeSponsorship, enableGasPolicyLegacy, encryptForImport, estimateTransactionIntentCost, evaluatePolicyV2, exportPrivateKey, generateRSAKeyPair, getAccount, getAccountV2, getAccounts, getAccountsV2, getAuthPlayer, getAuthPlayers, getAuthUser, getAuthUsers, getConfig, getContract, getContracts, getDeveloperAccount, getDeveloperAccounts, getEvent, getEvents, getFeeSponsorship, getForwarderContract, getGasPoliciesLegacy, getGasPolicyBalanceLegacy, getGasPolicyLegacy, getGasPolicyReportTransactionIntentsLegacy, getGasPolicyRulesLegacy, getGasPolicyTotalGasUsageLegacy, getJwks, getOAuthConfig, getOnrampQuote, getPaymaster, getPlayer, getPlayerSessions, getPlayers, getPolicyV2, getProjectLogs, getSession, getSignerIdByAddress, getSubscription, getSubscriptions, getTransactionIntent, getTransactionIntents, getTrigger, getTriggers, getUserWallet, getVerificationPayload, getWebhookLogsByProjectId, grantOAuth, handleChainRpcRequest, handleRpcRequest, handleSolanaRpcRequest, importPrivateKey, initOAuth, initSIWE, isOpenfortError, linkEmail, linkOAuth, linkSIWE, linkThirdParty, list, listFeeSponsorships, listForwarderContracts, listOAuthConfig, listPaymasters, listPolicies, listSubscriptionLogs, loginEmailPassword, loginWithIdToken, logout, me, meV2, poolOAuth, pregenerateUserV2, query, readContract, refresh, registerGuest, registerWalletSecret, removeAccount, requestEmailVerification, requestResetPassword, requestTransferAccountOwnership, resetPassword, revokeSession, revokeWalletSecret, rotateWalletSecret, sign, signPayloadDeveloperAccount, signature, signatureSession, signupEmailPassword, switchChainV2, testTrigger, thirdParty, thirdPartyV2, toEvmAccount, toSolanaAccount, unlinkEmail, unlinkOAuth, unlinkSIWE, updateContract, updateDeveloperAccount, updateFeeSponsorship, updateForwarderContract, updateGasPolicyLegacy, updateGasPolicyRuleLegacy, updatePaymaster, updatePlayer, updatePolicyV2, verifyAuthToken, verifyEmail, verifyOAuthToken };
|