@privy-io/api-types 0.7.0 → 0.9.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 +62 -0
- package/client.d.mts +39 -30
- package/client.d.mts.map +1 -1
- package/client.d.ts +39 -30
- package/client.d.ts.map +1 -1
- package/client.js +9 -0
- package/client.js.map +1 -1
- package/client.mjs +9 -0
- package/client.mjs.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/accounts.d.mts +79 -106
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +79 -106
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.js.map +1 -1
- package/resources/accounts.mjs.map +1 -1
- package/resources/aggregations.d.mts +18 -392
- package/resources/aggregations.d.mts.map +1 -1
- package/resources/aggregations.d.ts +18 -392
- package/resources/aggregations.d.ts.map +1 -1
- package/resources/aggregations.js.map +1 -1
- package/resources/aggregations.mjs.map +1 -1
- package/resources/apps.d.mts +154 -71
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +154 -71
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs.map +1 -1
- package/resources/client-auth.d.mts +796 -427
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +796 -427
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/client-auth.js.map +1 -1
- package/resources/client-auth.mjs.map +1 -1
- package/resources/cross-app.d.mts +14 -13
- package/resources/cross-app.d.mts.map +1 -1
- package/resources/cross-app.d.ts +14 -13
- package/resources/cross-app.d.ts.map +1 -1
- package/resources/embedded-wallets.d.mts +167 -83
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +167 -83
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/embedded-wallets.js.map +1 -1
- package/resources/embedded-wallets.mjs.map +1 -1
- package/resources/funding.d.mts +150 -64
- package/resources/funding.d.mts.map +1 -1
- package/resources/funding.d.ts +150 -64
- package/resources/funding.d.ts.map +1 -1
- package/resources/funding.js.map +1 -1
- package/resources/funding.mjs.map +1 -1
- package/resources/index.d.mts +18 -15
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +18 -15
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +224 -1757
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +224 -1757
- package/resources/intents.d.ts.map +1 -1
- package/resources/intents.js.map +1 -1
- package/resources/intents.mjs.map +1 -1
- package/resources/key-quorums.d.mts +74 -26
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +74 -26
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/key-quorums.js +8 -8
- package/resources/key-quorums.js.map +1 -1
- package/resources/key-quorums.mjs +8 -8
- package/resources/key-quorums.mjs.map +1 -1
- package/resources/kraken-embed.d.mts +52 -1
- package/resources/kraken-embed.d.mts.map +1 -1
- package/resources/kraken-embed.d.ts +52 -1
- package/resources/kraken-embed.d.ts.map +1 -1
- package/resources/policies.d.mts +512 -992
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +512 -992
- package/resources/policies.d.ts.map +1 -1
- package/resources/policies.js +48 -41
- package/resources/policies.js.map +1 -1
- package/resources/policies.mjs +48 -41
- package/resources/policies.mjs.map +1 -1
- package/resources/shared.d.mts +59 -0
- package/resources/shared.d.mts.map +1 -0
- package/resources/shared.d.ts +59 -0
- package/resources/shared.d.ts.map +1 -0
- package/resources/shared.js +9 -0
- package/resources/shared.js.map +1 -0
- package/resources/shared.mjs +5 -0
- package/resources/shared.mjs.map +1 -0
- package/resources/swaps.d.mts +108 -0
- package/resources/swaps.d.mts.map +1 -0
- package/resources/swaps.d.ts +108 -0
- package/resources/swaps.d.ts.map +1 -0
- package/resources/swaps.js +9 -0
- package/resources/swaps.js.map +1 -0
- package/resources/swaps.mjs +5 -0
- package/resources/swaps.mjs.map +1 -0
- package/resources/transactions.d.mts +150 -98
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +150 -98
- package/resources/transactions.d.ts.map +1 -1
- package/resources/users.d.mts +207 -240
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +207 -240
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js.map +1 -1
- package/resources/users.mjs.map +1 -1
- package/resources/wallet-actions.d.mts +439 -0
- package/resources/wallet-actions.d.mts.map +1 -0
- package/resources/wallet-actions.d.ts +439 -0
- package/resources/wallet-actions.d.ts.map +1 -0
- package/resources/wallet-actions.js +9 -0
- package/resources/wallet-actions.js.map +1 -0
- package/resources/wallet-actions.mjs +5 -0
- package/resources/wallet-actions.mjs.map +1 -0
- package/resources/wallets/balance.d.mts +2 -1
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +2 -1
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/balance.js.map +1 -1
- package/resources/wallets/balance.mjs.map +1 -1
- package/resources/wallets/index.d.mts +1 -1
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +1 -1
- package/resources/wallets/index.d.ts.map +1 -1
- package/resources/wallets/index.js.map +1 -1
- package/resources/wallets/index.mjs.map +1 -1
- package/resources/wallets/transactions.d.mts +11 -30
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +11 -30
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.js.map +1 -1
- package/resources/wallets/transactions.mjs.map +1 -1
- package/resources/wallets/wallets.d.mts +2435 -923
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +2435 -923
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +24 -11
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +24 -11
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +1296 -186
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +1296 -186
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources/yield.d.mts +25 -1
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +25 -1
- package/resources/yield.d.ts.map +1 -1
- package/src/client.ts +869 -92
- package/src/internal/utils/env.ts +2 -2
- package/src/resources/accounts.ts +93 -120
- package/src/resources/aggregations.ts +18 -702
- package/src/resources/apps.ts +211 -111
- package/src/resources/client-auth.ts +1361 -896
- package/src/resources/cross-app.ts +19 -15
- package/src/resources/embedded-wallets.ts +219 -123
- package/src/resources/funding.ts +263 -173
- package/src/resources/index.ts +447 -65
- package/src/resources/intents.ts +370 -3100
- package/src/resources/key-quorums.ts +100 -32
- package/src/resources/kraken-embed.ts +105 -0
- package/src/resources/policies.ts +648 -1494
- package/src/resources/shared.ts +79 -0
- package/src/resources/swaps.ts +136 -0
- package/src/resources/transactions.ts +169 -102
- package/src/resources/users.ts +676 -729
- package/src/resources/wallet-actions.ts +573 -0
- package/src/resources/wallets/balance.ts +2 -1
- package/src/resources/wallets/index.ts +156 -17
- package/src/resources/wallets/transactions.ts +12 -88
- package/src/resources/wallets/wallets.ts +3162 -1109
- package/src/resources/webhooks.ts +1609 -229
- package/src/resources/yield.ts +29 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -5,30 +5,34 @@ import { APIResource } from '../core/resource';
|
|
|
5
5
|
export class CrossApp extends APIResource {}
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* A cross-app connection definition
|
|
9
9
|
*/
|
|
10
|
-
export interface
|
|
11
|
-
|
|
12
|
-
}
|
|
10
|
+
export interface CrossAppConnection {
|
|
11
|
+
provider_app_custom_api_url: string | null;
|
|
13
12
|
|
|
14
|
-
|
|
15
|
-
export interface Connection {
|
|
16
|
-
provider_app_custom_api_url: string | null;
|
|
13
|
+
provider_app_custom_auth_authorize_url: string | null;
|
|
17
14
|
|
|
18
|
-
|
|
15
|
+
provider_app_custom_auth_transact_url: string | null;
|
|
19
16
|
|
|
20
|
-
|
|
17
|
+
provider_app_icon_url: string | null;
|
|
21
18
|
|
|
22
|
-
|
|
19
|
+
provider_app_id: string;
|
|
23
20
|
|
|
24
|
-
|
|
21
|
+
provider_app_name: string;
|
|
25
22
|
|
|
26
|
-
|
|
23
|
+
read_only: boolean;
|
|
24
|
+
}
|
|
27
25
|
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
/**
|
|
27
|
+
* The response for getting the list of cross-app connections.
|
|
28
|
+
*/
|
|
29
|
+
export interface CrossAppConnectionsResponse {
|
|
30
|
+
connections: Array<CrossAppConnection>;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
export declare namespace CrossApp {
|
|
33
|
-
export {
|
|
34
|
+
export {
|
|
35
|
+
type CrossAppConnection as CrossAppConnection,
|
|
36
|
+
type CrossAppConnectionsResponse as CrossAppConnectionsResponse,
|
|
37
|
+
};
|
|
34
38
|
}
|
|
@@ -1,203 +1,299 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
|
+
import * as SharedAPI from './shared';
|
|
5
|
+
import * as WalletsAPI from './wallets/wallets';
|
|
4
6
|
|
|
5
7
|
export class EmbeddedWallets extends APIResource {}
|
|
6
8
|
|
|
7
9
|
/**
|
|
8
|
-
* The
|
|
10
|
+
* The configuration object for smart wallets.
|
|
9
11
|
*/
|
|
10
|
-
export
|
|
11
|
-
client_type: 'web' | 'expo-ios';
|
|
12
|
-
}
|
|
12
|
+
export type SmartWalletConfiguration = SmartWalletConfigurationDisabled | SmartWalletConfigurationEnabled;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* The
|
|
15
|
+
* The input configuration object for smart wallets.
|
|
16
16
|
*/
|
|
17
|
-
export
|
|
18
|
-
|
|
17
|
+
export type SmartWalletConfigurationInput =
|
|
18
|
+
| SmartWalletConfigurationDisabled
|
|
19
|
+
| SmartWalletConfigurationInputEnabled;
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
/**
|
|
22
|
+
* An additional signer configuration for a wallet.
|
|
23
|
+
*/
|
|
24
|
+
export interface WalletCreationAdditionalSignerItem {
|
|
25
|
+
/**
|
|
26
|
+
* A unique identifier for a key quorum.
|
|
27
|
+
*/
|
|
28
|
+
signer_id: SharedAPI.KeyQuorumID;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* The array of policy IDs that will be applied to wallet requests. If specified,
|
|
32
|
+
* this will override the base policy IDs set on the wallet. Currently, only one
|
|
33
|
+
* policy is supported per signer.
|
|
34
|
+
*/
|
|
35
|
+
override_policy_ids?: Array<string>;
|
|
36
|
+
}
|
|
21
37
|
|
|
22
|
-
|
|
38
|
+
/**
|
|
39
|
+
* The fields on wallet creation that can be specified when creating a
|
|
40
|
+
* user-controlled embedded server wallet.
|
|
41
|
+
*/
|
|
42
|
+
export interface WalletCreationInput {
|
|
43
|
+
/**
|
|
44
|
+
* The wallet chain types.
|
|
45
|
+
*/
|
|
46
|
+
chain_type: WalletsAPI.WalletChainType;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Additional signers for the wallet.
|
|
50
|
+
*/
|
|
51
|
+
additional_signers?: Array<WalletCreationAdditionalSignerItem>;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Create a smart wallet with this wallet as the signer. Only supported for wallets
|
|
55
|
+
* with `chain_type: "ethereum"`.
|
|
56
|
+
*/
|
|
57
|
+
create_smart_wallet?: boolean;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Policy IDs to enforce on the wallet. Currently, only one policy is supported per
|
|
61
|
+
* wallet.
|
|
62
|
+
*/
|
|
63
|
+
policy_ids?: Array<string>;
|
|
23
64
|
}
|
|
24
65
|
|
|
25
66
|
/**
|
|
26
|
-
* The
|
|
67
|
+
* The fields describing embedded wallet creation, used for user import and
|
|
68
|
+
* embedded wallet generation.
|
|
27
69
|
*/
|
|
28
|
-
export interface
|
|
29
|
-
|
|
70
|
+
export interface EmbeddedWalletCreationInput {
|
|
71
|
+
/**
|
|
72
|
+
* Wallets to create.
|
|
73
|
+
*/
|
|
74
|
+
wallets?: Array<WalletCreationInput>;
|
|
30
75
|
}
|
|
31
76
|
|
|
32
77
|
/**
|
|
33
|
-
* The
|
|
78
|
+
* The supported smart wallet providers.
|
|
34
79
|
*/
|
|
35
|
-
export
|
|
36
|
-
|
|
80
|
+
export type SmartWalletType =
|
|
81
|
+
| 'safe'
|
|
82
|
+
| 'kernel'
|
|
83
|
+
| 'light_account'
|
|
84
|
+
| 'biconomy'
|
|
85
|
+
| 'coinbase_smart_wallet'
|
|
86
|
+
| 'thirdweb';
|
|
37
87
|
|
|
38
|
-
|
|
88
|
+
/**
|
|
89
|
+
* The Alchemy paymaster context for a smart wallet network configuration.
|
|
90
|
+
*/
|
|
91
|
+
export interface AlchemyPaymasterContext {
|
|
92
|
+
policy_id: string;
|
|
93
|
+
}
|
|
39
94
|
|
|
40
|
-
|
|
95
|
+
/**
|
|
96
|
+
* Network configuration for a smart wallet.
|
|
97
|
+
*/
|
|
98
|
+
export interface SmartWalletNetworkConfiguration {
|
|
99
|
+
bundler_url: string;
|
|
41
100
|
|
|
42
|
-
|
|
101
|
+
chain_id: string;
|
|
43
102
|
|
|
44
|
-
|
|
103
|
+
chain_name?: string;
|
|
45
104
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
| 'google_drive_recovery_secret'
|
|
51
|
-
| 'icloud_recovery_secret';
|
|
52
|
-
}
|
|
105
|
+
/**
|
|
106
|
+
* The Alchemy paymaster context for a smart wallet network configuration.
|
|
107
|
+
*/
|
|
108
|
+
paymaster_context?: AlchemyPaymasterContext;
|
|
53
109
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
export interface RecoveryOAuthAuthenticateResponseBody {
|
|
58
|
-
access_token: string;
|
|
110
|
+
paymaster_url?: string;
|
|
111
|
+
|
|
112
|
+
rpc_url?: string;
|
|
59
113
|
}
|
|
60
114
|
|
|
61
115
|
/**
|
|
62
|
-
*
|
|
116
|
+
* Input for network configuration for a smart wallet.
|
|
63
117
|
*/
|
|
64
|
-
export interface
|
|
65
|
-
|
|
118
|
+
export interface SmartWalletNetworkConfigurationInput {
|
|
119
|
+
chain_id: string;
|
|
120
|
+
|
|
121
|
+
bundler_url?: string;
|
|
122
|
+
|
|
123
|
+
chain_name?: string;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* The Alchemy paymaster context for a smart wallet network configuration.
|
|
127
|
+
*/
|
|
128
|
+
paymaster_context?: AlchemyPaymasterContext;
|
|
129
|
+
|
|
130
|
+
paymaster_url?: string;
|
|
131
|
+
|
|
132
|
+
rpc_url?: string;
|
|
66
133
|
}
|
|
67
134
|
|
|
68
135
|
/**
|
|
69
|
-
*
|
|
136
|
+
* A disabled smart wallet configuration.
|
|
70
137
|
*/
|
|
71
|
-
export interface
|
|
72
|
-
|
|
138
|
+
export interface SmartWalletConfigurationDisabled {
|
|
139
|
+
enabled: false;
|
|
73
140
|
}
|
|
74
141
|
|
|
75
142
|
/**
|
|
76
|
-
*
|
|
143
|
+
* An enabled smart wallet configuration.
|
|
77
144
|
*/
|
|
78
|
-
export interface
|
|
79
|
-
|
|
145
|
+
export interface SmartWalletConfigurationEnabled {
|
|
146
|
+
configured_networks: Array<SmartWalletNetworkConfiguration>;
|
|
80
147
|
|
|
81
|
-
|
|
148
|
+
enabled: true;
|
|
82
149
|
|
|
83
|
-
|
|
150
|
+
/**
|
|
151
|
+
* The supported smart wallet providers.
|
|
152
|
+
*/
|
|
153
|
+
smart_wallet_type: SmartWalletType;
|
|
84
154
|
|
|
85
|
-
|
|
155
|
+
smart_wallet_version?: string;
|
|
86
156
|
}
|
|
87
157
|
|
|
88
158
|
/**
|
|
89
|
-
*
|
|
159
|
+
* An enabled smart wallet configuration input.
|
|
90
160
|
*/
|
|
91
|
-
export
|
|
92
|
-
|
|
93
|
-
| SmartWalletConfiguration.UnionMember1;
|
|
161
|
+
export interface SmartWalletConfigurationInputEnabled {
|
|
162
|
+
configured_networks: Array<SmartWalletNetworkConfigurationInput>;
|
|
94
163
|
|
|
95
|
-
|
|
96
|
-
export interface Enabled {
|
|
97
|
-
enabled: false;
|
|
98
|
-
}
|
|
164
|
+
enabled: true;
|
|
99
165
|
|
|
100
|
-
|
|
101
|
-
|
|
166
|
+
/**
|
|
167
|
+
* The supported smart wallet providers.
|
|
168
|
+
*/
|
|
169
|
+
smart_wallet_type: SmartWalletType;
|
|
102
170
|
|
|
103
|
-
|
|
171
|
+
smart_wallet_version?: string | null;
|
|
172
|
+
}
|
|
104
173
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
174
|
+
/**
|
|
175
|
+
* The type of recovery mechanism used for wallet recovery.
|
|
176
|
+
*/
|
|
177
|
+
export type RecoveryType =
|
|
178
|
+
| 'user_passcode_derived_recovery_key'
|
|
179
|
+
| 'privy_passcode_derived_recovery_key'
|
|
180
|
+
| 'privy_generated_recovery_key'
|
|
181
|
+
| 'google_drive_recovery_secret'
|
|
182
|
+
| 'icloud_recovery_secret';
|
|
112
183
|
|
|
113
|
-
|
|
114
|
-
|
|
184
|
+
/**
|
|
185
|
+
* The client type for iCloud recovery operations.
|
|
186
|
+
*/
|
|
187
|
+
export type ICloudClientType = 'web' | 'expo-ios';
|
|
115
188
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
189
|
+
/**
|
|
190
|
+
* The input for getting the recovery key material.
|
|
191
|
+
*/
|
|
192
|
+
export interface RecoveryKeyMaterialInput {
|
|
193
|
+
chain_type?: string;
|
|
194
|
+
}
|
|
119
195
|
|
|
120
|
-
|
|
196
|
+
/**
|
|
197
|
+
* The response containing the recovery key material.
|
|
198
|
+
*/
|
|
199
|
+
export interface RecoveryKeyMaterialResponse {
|
|
200
|
+
file_id: string;
|
|
121
201
|
|
|
122
|
-
|
|
202
|
+
icloud_record_name: string;
|
|
123
203
|
|
|
124
|
-
|
|
204
|
+
recovery_code: string;
|
|
125
205
|
|
|
126
|
-
|
|
206
|
+
recovery_key: string;
|
|
127
207
|
|
|
128
|
-
|
|
129
|
-
}
|
|
208
|
+
recovery_key_derivation_salt: string;
|
|
130
209
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}
|
|
136
|
-
}
|
|
210
|
+
/**
|
|
211
|
+
* The type of recovery mechanism used for wallet recovery.
|
|
212
|
+
*/
|
|
213
|
+
recovery_type: RecoveryType;
|
|
137
214
|
}
|
|
138
215
|
|
|
139
216
|
/**
|
|
140
|
-
* The input
|
|
217
|
+
* The input for initiating an OAuth recovery flow.
|
|
141
218
|
*/
|
|
142
|
-
export
|
|
143
|
-
|
|
144
|
-
| SmartWalletConfigurationInput.UnionMember1;
|
|
145
|
-
|
|
146
|
-
export namespace SmartWalletConfigurationInput {
|
|
147
|
-
export interface Enabled {
|
|
148
|
-
enabled: false;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
export interface UnionMember1 {
|
|
152
|
-
configured_networks: Array<UnionMember1.ConfiguredNetwork>;
|
|
219
|
+
export interface OAuthInitRecoveryInput {
|
|
220
|
+
redirect_to: string;
|
|
153
221
|
|
|
154
|
-
|
|
222
|
+
token?: string;
|
|
155
223
|
|
|
156
|
-
|
|
157
|
-
| 'safe'
|
|
158
|
-
| 'kernel'
|
|
159
|
-
| 'light_account'
|
|
160
|
-
| 'biconomy'
|
|
161
|
-
| 'coinbase_smart_wallet'
|
|
162
|
-
| 'thirdweb';
|
|
224
|
+
code_challenge?: string;
|
|
163
225
|
|
|
164
|
-
|
|
165
|
-
|
|
226
|
+
state_code?: string;
|
|
227
|
+
}
|
|
166
228
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
229
|
+
/**
|
|
230
|
+
* The response from authenticating with OAuth for recovery.
|
|
231
|
+
*/
|
|
232
|
+
export interface OAuthAuthenticateRecoveryResponse {
|
|
233
|
+
access_token: string;
|
|
234
|
+
}
|
|
170
235
|
|
|
171
|
-
|
|
236
|
+
/**
|
|
237
|
+
* The input for initiating an iCloud OAuth recovery flow.
|
|
238
|
+
*/
|
|
239
|
+
export interface OAuthInitICloudRecoveryInput {
|
|
240
|
+
/**
|
|
241
|
+
* The client type for iCloud recovery operations.
|
|
242
|
+
*/
|
|
243
|
+
client_type: ICloudClientType;
|
|
244
|
+
}
|
|
172
245
|
|
|
173
|
-
|
|
246
|
+
/**
|
|
247
|
+
* The input for the iCloud Expo OAuth callback.
|
|
248
|
+
*/
|
|
249
|
+
export interface OAuthCallbackICloudExpoInput {
|
|
250
|
+
ckWebAuthToken: string;
|
|
251
|
+
}
|
|
174
252
|
|
|
175
|
-
|
|
253
|
+
/**
|
|
254
|
+
* The input for getting the iCloud recovery configuration.
|
|
255
|
+
*/
|
|
256
|
+
export interface RecoveryConfigurationICloudInput {
|
|
257
|
+
/**
|
|
258
|
+
* The client type for iCloud recovery operations.
|
|
259
|
+
*/
|
|
260
|
+
client_type: ICloudClientType;
|
|
261
|
+
}
|
|
176
262
|
|
|
177
|
-
|
|
263
|
+
/**
|
|
264
|
+
* The response containing the iCloud recovery configuration.
|
|
265
|
+
*/
|
|
266
|
+
export interface RecoveryConfigurationICloudResponse {
|
|
267
|
+
api_token: string;
|
|
178
268
|
|
|
179
|
-
|
|
180
|
-
}
|
|
269
|
+
container_identifier: string;
|
|
181
270
|
|
|
182
|
-
|
|
183
|
-
export interface PaymasterContext {
|
|
184
|
-
policy_id: string;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
271
|
+
environment: string;
|
|
188
272
|
}
|
|
189
273
|
|
|
190
274
|
export declare namespace EmbeddedWallets {
|
|
191
275
|
export {
|
|
192
|
-
type RecoveryConfigurationICloudRequestBody as RecoveryConfigurationICloudRequestBody,
|
|
193
|
-
type RecoveryConfigurationICloudResponseBody as RecoveryConfigurationICloudResponseBody,
|
|
194
|
-
type RecoveryKeyMaterialRequestBody as RecoveryKeyMaterialRequestBody,
|
|
195
|
-
type RecoveryKeyMaterialResponseBody as RecoveryKeyMaterialResponseBody,
|
|
196
|
-
type RecoveryOAuthAuthenticateResponseBody as RecoveryOAuthAuthenticateResponseBody,
|
|
197
|
-
type RecoveryOAuthCallbackICloudExpoRequestBody as RecoveryOAuthCallbackICloudExpoRequestBody,
|
|
198
|
-
type RecoveryOAuthInitICloudRequestBody as RecoveryOAuthInitICloudRequestBody,
|
|
199
|
-
type RecoveryOAuthInitRequestBody as RecoveryOAuthInitRequestBody,
|
|
200
276
|
type SmartWalletConfiguration as SmartWalletConfiguration,
|
|
201
277
|
type SmartWalletConfigurationInput as SmartWalletConfigurationInput,
|
|
278
|
+
type WalletCreationAdditionalSignerItem as WalletCreationAdditionalSignerItem,
|
|
279
|
+
type WalletCreationInput as WalletCreationInput,
|
|
280
|
+
type EmbeddedWalletCreationInput as EmbeddedWalletCreationInput,
|
|
281
|
+
type SmartWalletType as SmartWalletType,
|
|
282
|
+
type AlchemyPaymasterContext as AlchemyPaymasterContext,
|
|
283
|
+
type SmartWalletNetworkConfiguration as SmartWalletNetworkConfiguration,
|
|
284
|
+
type SmartWalletNetworkConfigurationInput as SmartWalletNetworkConfigurationInput,
|
|
285
|
+
type SmartWalletConfigurationDisabled as SmartWalletConfigurationDisabled,
|
|
286
|
+
type SmartWalletConfigurationEnabled as SmartWalletConfigurationEnabled,
|
|
287
|
+
type SmartWalletConfigurationInputEnabled as SmartWalletConfigurationInputEnabled,
|
|
288
|
+
type RecoveryType as RecoveryType,
|
|
289
|
+
type ICloudClientType as ICloudClientType,
|
|
290
|
+
type RecoveryKeyMaterialInput as RecoveryKeyMaterialInput,
|
|
291
|
+
type RecoveryKeyMaterialResponse as RecoveryKeyMaterialResponse,
|
|
292
|
+
type OAuthInitRecoveryInput as OAuthInitRecoveryInput,
|
|
293
|
+
type OAuthAuthenticateRecoveryResponse as OAuthAuthenticateRecoveryResponse,
|
|
294
|
+
type OAuthInitICloudRecoveryInput as OAuthInitICloudRecoveryInput,
|
|
295
|
+
type OAuthCallbackICloudExpoInput as OAuthCallbackICloudExpoInput,
|
|
296
|
+
type RecoveryConfigurationICloudInput as RecoveryConfigurationICloudInput,
|
|
297
|
+
type RecoveryConfigurationICloudResponse as RecoveryConfigurationICloudResponse,
|
|
202
298
|
};
|
|
203
299
|
}
|