@privy-io/api-types 0.6.1 → 0.8.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 +72 -0
- package/client.d.mts +53 -29
- package/client.d.mts.map +1 -1
- package/client.d.ts +53 -29
- package/client.d.ts.map +1 -1
- package/client.js +32 -7
- package/client.js.map +1 -1
- package/client.mjs +34 -9
- package/client.mjs.map +1 -1
- package/package.json +12 -1
- package/resources/accounts.d.mts +146 -4
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +146 -4
- 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 +197 -70
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +197 -70
- 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 +975 -463
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +975 -463
- 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 +165 -81
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +165 -81
- 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 -14
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +18 -14
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +9 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +6 -2
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +446 -31
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +446 -31
- 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 +108 -17
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +108 -17
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/key-quorums.js +26 -9
- package/resources/key-quorums.js.map +1 -1
- package/resources/key-quorums.mjs +26 -9
- package/resources/key-quorums.mjs.map +1 -1
- package/resources/kraken-embed.d.mts +62 -0
- package/resources/kraken-embed.d.mts.map +1 -0
- package/resources/kraken-embed.d.ts +62 -0
- package/resources/kraken-embed.d.ts.map +1 -0
- package/resources/kraken-embed.js +9 -0
- package/resources/kraken-embed.js.map +1 -0
- package/resources/kraken-embed.mjs +5 -0
- package/resources/kraken-embed.mjs.map +1 -0
- package/resources/policies.d.mts +342 -926
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +342 -926
- package/resources/policies.d.ts.map +1 -1
- package/resources/policies.js +51 -41
- package/resources/policies.js.map +1 -1
- package/resources/policies.mjs +51 -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 +158 -93
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +158 -93
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +3 -0
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs +3 -0
- package/resources/transactions.mjs.map +1 -1
- package/resources/users.d.mts +64 -94
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +64 -94
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +3 -0
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +3 -0
- package/resources/users.mjs.map +1 -1
- package/resources/wallet-actions.d.mts +187 -0
- package/resources/wallet-actions.d.mts.map +1 -0
- package/resources/wallet-actions.d.ts +187 -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 +7 -4
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +7 -4
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/balance.js +3 -0
- package/resources/wallets/balance.js.map +1 -1
- package/resources/wallets/balance.mjs +3 -0
- 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 +10 -6
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +10 -6
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.js +3 -0
- package/resources/wallets/transactions.js.map +1 -1
- package/resources/wallets/transactions.mjs +3 -0
- package/resources/wallets/transactions.mjs.map +1 -1
- package/resources/wallets/wallets.d.mts +2399 -936
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +2399 -936
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +28 -10
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +28 -10
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +780 -339
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +780 -339
- 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 +50 -9
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +50 -9
- package/resources/yield.d.ts.map +1 -1
- package/src/client.ts +884 -99
- package/src/resources/accounts.ts +179 -3
- package/src/resources/aggregations.ts +18 -702
- package/src/resources/apps.ts +250 -85
- package/src/resources/client-auth.ts +1453 -786
- 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 +444 -61
- package/src/resources/intents.ts +575 -37
- package/src/resources/key-quorums.ts +137 -21
- package/src/resources/kraken-embed.ts +85 -0
- package/src/resources/policies.ts +582 -1550
- package/src/resources/shared.ts +79 -0
- package/src/resources/swaps.ts +136 -0
- package/src/resources/transactions.ts +188 -91
- package/src/resources/users.ts +82 -132
- package/src/resources/wallet-actions.ts +251 -0
- package/src/resources/wallets/balance.ts +9 -2
- package/src/resources/wallets/index.ts +146 -16
- package/src/resources/wallets/transactions.ts +12 -4
- package/src/resources/wallets/wallets.ts +2922 -974
- package/src/resources/webhooks.ts +970 -454
- package/src/resources/yield.ts +68 -10
- 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
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
2
|
import { APIPromise } from "../core/api-promise.js";
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Operations related to transactions
|
|
6
|
+
*/
|
|
4
7
|
export declare class Transactions extends APIResource {
|
|
5
8
|
/**
|
|
6
9
|
* Get a transaction by transaction ID.
|
|
@@ -19,104 +22,164 @@ export declare class Transactions extends APIResource {
|
|
|
19
22
|
*/
|
|
20
23
|
export interface TransactionScanningRequestBody {
|
|
21
24
|
chain_id: string;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
method: string;
|
|
31
|
-
params: Array<unknown>;
|
|
32
|
-
}
|
|
25
|
+
/**
|
|
26
|
+
* Additional information for Blockaid to validate against.
|
|
27
|
+
*/
|
|
28
|
+
metadata: TransactionScanningMetadata;
|
|
29
|
+
/**
|
|
30
|
+
* Raw RPC request to execute with the wallet.
|
|
31
|
+
*/
|
|
32
|
+
request: TransactionScanningRpcRequest;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* The response from scanning a transaction.
|
|
36
36
|
*/
|
|
37
37
|
export interface TransactionScanningResponseBody {
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
/**
|
|
39
|
+
* The simulation result from a transaction scan.
|
|
40
|
+
*/
|
|
41
|
+
simulation: TransactionScanningSimulationResult;
|
|
42
|
+
/**
|
|
43
|
+
* The validation result from a transaction scan.
|
|
44
|
+
*/
|
|
45
|
+
validation: TransactionScanningValidationResult;
|
|
40
46
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
47
|
+
/**
|
|
48
|
+
* Additional information for Blockaid to validate against.
|
|
49
|
+
*/
|
|
50
|
+
export interface TransactionScanningMetadata {
|
|
51
|
+
domain: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Raw RPC request to execute with the wallet.
|
|
55
|
+
*/
|
|
56
|
+
export interface TransactionScanningRpcRequest {
|
|
57
|
+
method: string;
|
|
58
|
+
params: Array<unknown>;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* A failed validation result from a transaction scan.
|
|
62
|
+
*/
|
|
63
|
+
export interface TransactionScanningValidationErrorResult {
|
|
64
|
+
error: string;
|
|
65
|
+
status: 'Error';
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* A successful validation result from a transaction scan.
|
|
69
|
+
*/
|
|
70
|
+
export interface TransactionScanningValidationSuccessResult {
|
|
71
|
+
result_type: string;
|
|
72
|
+
status: 'Success';
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* The validation result from a transaction scan.
|
|
76
|
+
*/
|
|
77
|
+
export type TransactionScanningValidationResult = TransactionScanningValidationErrorResult | TransactionScanningValidationSuccessResult;
|
|
78
|
+
/**
|
|
79
|
+
* Information about the moving asset in a transaction scan.
|
|
80
|
+
*/
|
|
81
|
+
export interface TransactionScanningAssetInfo {
|
|
82
|
+
decimals?: number;
|
|
83
|
+
logo_url?: string;
|
|
84
|
+
name?: string;
|
|
85
|
+
symbol?: string;
|
|
86
|
+
type?: string;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* The value of an asset in a transaction scan result.
|
|
90
|
+
*/
|
|
91
|
+
export interface TransactionScanningAssetValue {
|
|
92
|
+
usd_price?: string;
|
|
93
|
+
value?: string;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* An asset diff representing assets entering/leaving a wallet.
|
|
97
|
+
*/
|
|
98
|
+
export interface TransactionScanningAssetDiff {
|
|
99
|
+
/**
|
|
100
|
+
* Information about the moving asset in a transaction scan.
|
|
101
|
+
*/
|
|
102
|
+
asset: TransactionScanningAssetInfo;
|
|
103
|
+
in: Array<TransactionScanningAssetValue>;
|
|
104
|
+
out: Array<TransactionScanningAssetValue>;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* An exposure representing assets approved to spend.
|
|
108
|
+
*/
|
|
109
|
+
export interface TransactionScanningExposure {
|
|
110
|
+
/**
|
|
111
|
+
* Information about the moving asset in a transaction scan.
|
|
112
|
+
*/
|
|
113
|
+
asset: TransactionScanningAssetInfo;
|
|
114
|
+
spenders: {
|
|
115
|
+
[key: string]: TransactionScanningAssetValue;
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Decoded calldata from a scanned transaction.
|
|
120
|
+
*/
|
|
121
|
+
export interface TransactionScanningCalldata {
|
|
122
|
+
function_selector: string;
|
|
123
|
+
function_declaration?: string;
|
|
124
|
+
function_signature?: string;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* The parameters of the scanned transaction.
|
|
128
|
+
*/
|
|
129
|
+
export interface TransactionScanningParams {
|
|
130
|
+
block_tag?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Decoded calldata from a scanned transaction.
|
|
133
|
+
*/
|
|
134
|
+
calldata?: TransactionScanningCalldata;
|
|
135
|
+
chain?: string;
|
|
136
|
+
data?: string;
|
|
137
|
+
from?: string;
|
|
138
|
+
gas?: string;
|
|
139
|
+
gas_price?: string;
|
|
140
|
+
to?: string;
|
|
141
|
+
value?: string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* A failed simulation result from a transaction scan.
|
|
145
|
+
*/
|
|
146
|
+
export interface TransactionScanningSimulationErrorResult {
|
|
147
|
+
error: string;
|
|
148
|
+
status: 'Error';
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* A successful simulation result from a transaction scan.
|
|
152
|
+
*/
|
|
153
|
+
export interface TransactionScanningSimulationSuccessResult {
|
|
154
|
+
assets_diffs: Array<TransactionScanningAssetDiff>;
|
|
155
|
+
exposures: Array<TransactionScanningExposure>;
|
|
156
|
+
status: 'Success';
|
|
157
|
+
/**
|
|
158
|
+
* The parameters of the scanned transaction.
|
|
159
|
+
*/
|
|
160
|
+
params?: TransactionScanningParams;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* The simulation result from a transaction scan.
|
|
164
|
+
*/
|
|
165
|
+
export type TransactionScanningSimulationResult = TransactionScanningSimulationErrorResult | TransactionScanningSimulationSuccessResult;
|
|
166
|
+
/**
|
|
167
|
+
* A list of transactions.
|
|
168
|
+
*/
|
|
169
|
+
export interface TransactionList {
|
|
170
|
+
transactions: Array<TransactionList.Transaction>;
|
|
171
|
+
}
|
|
172
|
+
export declare namespace TransactionList {
|
|
173
|
+
interface Transaction {
|
|
174
|
+
id: string;
|
|
175
|
+
caip2: string;
|
|
176
|
+
created_at: number;
|
|
177
|
+
status: 'broadcasted' | 'confirmed' | 'execution_reverted' | 'failed' | 'replaced' | 'finalized' | 'provider_error' | 'pending';
|
|
178
|
+
transaction_hash: string | null;
|
|
179
|
+
wallet_id: string;
|
|
180
|
+
reference_id?: string | null;
|
|
181
|
+
sponsored?: boolean;
|
|
182
|
+
user_operation_hash?: string;
|
|
120
183
|
}
|
|
121
184
|
}
|
|
122
185
|
export interface TransactionGetResponse {
|
|
@@ -126,9 +189,11 @@ export interface TransactionGetResponse {
|
|
|
126
189
|
status: 'broadcasted' | 'confirmed' | 'execution_reverted' | 'failed' | 'replaced' | 'finalized' | 'provider_error' | 'pending';
|
|
127
190
|
transaction_hash: string | null;
|
|
128
191
|
wallet_id: string;
|
|
192
|
+
reference_id?: string | null;
|
|
129
193
|
sponsored?: boolean;
|
|
194
|
+
user_operation_hash?: string;
|
|
130
195
|
}
|
|
131
196
|
export declare namespace Transactions {
|
|
132
|
-
export { type TransactionScanningRequestBody as TransactionScanningRequestBody, type TransactionScanningResponseBody as TransactionScanningResponseBody, type TransactionGetResponse as TransactionGetResponse, };
|
|
197
|
+
export { type TransactionScanningRequestBody as TransactionScanningRequestBody, type TransactionScanningResponseBody as TransactionScanningResponseBody, type TransactionScanningMetadata as TransactionScanningMetadata, type TransactionScanningRpcRequest as TransactionScanningRpcRequest, type TransactionScanningValidationErrorResult as TransactionScanningValidationErrorResult, type TransactionScanningValidationSuccessResult as TransactionScanningValidationSuccessResult, type TransactionScanningValidationResult as TransactionScanningValidationResult, type TransactionScanningAssetInfo as TransactionScanningAssetInfo, type TransactionScanningAssetValue as TransactionScanningAssetValue, type TransactionScanningAssetDiff as TransactionScanningAssetDiff, type TransactionScanningExposure as TransactionScanningExposure, type TransactionScanningCalldata as TransactionScanningCalldata, type TransactionScanningParams as TransactionScanningParams, type TransactionScanningSimulationErrorResult as TransactionScanningSimulationErrorResult, type TransactionScanningSimulationSuccessResult as TransactionScanningSimulationSuccessResult, type TransactionScanningSimulationResult as TransactionScanningSimulationResult, type TransactionList as TransactionList, type TransactionGetResponse as TransactionGetResponse, };
|
|
133
198
|
}
|
|
134
199
|
//# sourceMappingURL=transactions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.d.ts","sourceRoot":"","sources":["../src/resources/transactions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;OASG;IACH,GAAG,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGzF;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"transactions.d.ts","sourceRoot":"","sources":["../src/resources/transactions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;OASG;IACH,GAAG,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGzF;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,2BAA2B,CAAC;IAEtC;;OAEG;IACH,OAAO,EAAE,6BAA6B,CAAC;CACxC;AAED;;GAE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2B,IAAI,2BAA2B,EAC/D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,0CAA0C,IAAI,0CAA0C,EAC7F,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -4,6 +4,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.Transactions = void 0;
|
|
5
5
|
const resource_1 = require("../core/resource.js");
|
|
6
6
|
const path_1 = require("../internal/utils/path.js");
|
|
7
|
+
/**
|
|
8
|
+
* Operations related to transactions
|
|
9
|
+
*/
|
|
7
10
|
class Transactions extends resource_1.APIResource {
|
|
8
11
|
/**
|
|
9
12
|
* Get a transaction by transaction ID.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.js","sourceRoot":"","sources":["../src/resources/transactions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;OASG;IACH,GAAG,CAAC,aAAqB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF;AAdD,oCAcC"}
|
|
1
|
+
{"version":3,"file":"transactions.js","sourceRoot":"","sources":["../src/resources/transactions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;OASG;IACH,GAAG,CAAC,aAAqB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF;AAdD,oCAcC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../core/resource.mjs";
|
|
3
3
|
import { path } from "../internal/utils/path.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Operations related to transactions
|
|
6
|
+
*/
|
|
4
7
|
export class Transactions extends APIResource {
|
|
5
8
|
/**
|
|
6
9
|
* Get a transaction by transaction ID.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.mjs","sourceRoot":"","sources":["../src/resources/transactions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;OASG;IACH,GAAG,CAAC,aAAqB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"transactions.mjs","sourceRoot":"","sources":["../src/resources/transactions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;OASG;IACH,GAAG,CAAC,aAAqB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF"}
|
package/resources/users.d.mts
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.mjs";
|
|
2
2
|
import * as UsersAPI from "./users.mjs";
|
|
3
3
|
import * as ClientAuthAPI from "./client-auth.mjs";
|
|
4
|
+
import * as EmbeddedWalletsAPI from "./embedded-wallets.mjs";
|
|
5
|
+
import * as SharedAPI from "./shared.mjs";
|
|
4
6
|
import * as WalletsAPI from "./wallets/wallets.mjs";
|
|
5
7
|
import { APIPromise } from "../core/api-promise.mjs";
|
|
6
8
|
import { Cursor, type CursorParams, PagePromise } from "../core/pagination.mjs";
|
|
7
9
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
10
|
+
/**
|
|
11
|
+
* Operations related to users
|
|
12
|
+
*/
|
|
8
13
|
export declare class Users extends APIResource {
|
|
9
14
|
/**
|
|
10
15
|
* Create a new user with linked accounts. Optionally pre-generate embedded wallets
|
|
@@ -275,10 +280,6 @@ export interface LinkedAccountEthereum {
|
|
|
275
280
|
connector_type?: string;
|
|
276
281
|
wallet_client_type?: string;
|
|
277
282
|
}
|
|
278
|
-
/**
|
|
279
|
-
* The provider for a smart wallet.
|
|
280
|
-
*/
|
|
281
|
-
export type SmartWalletType = 'safe' | 'kernel' | 'light_account' | 'biconomy' | 'coinbase_smart_wallet' | 'thirdweb';
|
|
282
283
|
/**
|
|
283
284
|
* A smart wallet account linked to the user.
|
|
284
285
|
*/
|
|
@@ -287,9 +288,9 @@ export interface LinkedAccountSmartWallet {
|
|
|
287
288
|
first_verified_at: number | null;
|
|
288
289
|
latest_verified_at: number | null;
|
|
289
290
|
/**
|
|
290
|
-
* The
|
|
291
|
+
* The supported smart wallet providers.
|
|
291
292
|
*/
|
|
292
|
-
smart_wallet_type: SmartWalletType;
|
|
293
|
+
smart_wallet_type: EmbeddedWalletsAPI.SmartWalletType;
|
|
293
294
|
type: 'smart_wallet';
|
|
294
295
|
verified_at: number;
|
|
295
296
|
smart_wallet_version?: string;
|
|
@@ -728,12 +729,61 @@ export type LinkedAccount = LinkedAccountEmail | LinkedAccountPhone | LinkedAcco
|
|
|
728
729
|
* The possible types of linked accounts.
|
|
729
730
|
*/
|
|
730
731
|
export type LinkedAccountType = 'email' | 'phone' | 'wallet' | 'smart_wallet' | 'google_oauth' | 'twitter_oauth' | 'discord_oauth' | 'github_oauth' | 'spotify_oauth' | 'instagram_oauth' | 'tiktok_oauth' | 'line_oauth' | 'twitch_oauth' | 'linkedin_oauth' | 'apple_oauth' | 'custom_auth' | 'farcaster' | 'passkey' | 'telegram' | 'cross_app' | 'authorization_key' | ClientAuthAPI.CustomOAuthProviderID;
|
|
732
|
+
/**
|
|
733
|
+
* A SMS MFA method.
|
|
734
|
+
*/
|
|
735
|
+
export interface SMSMfaMethod {
|
|
736
|
+
type: 'sms';
|
|
737
|
+
verified_at: number;
|
|
738
|
+
}
|
|
739
|
+
/**
|
|
740
|
+
* A TOTP MFA method.
|
|
741
|
+
*/
|
|
742
|
+
export interface TotpMfaMethod {
|
|
743
|
+
type: 'totp';
|
|
744
|
+
verified_at: number;
|
|
745
|
+
}
|
|
746
|
+
/**
|
|
747
|
+
* A Passkey MFA method.
|
|
748
|
+
*/
|
|
749
|
+
export interface PasskeyMfaMethod {
|
|
750
|
+
type: 'passkey';
|
|
751
|
+
verified_at: number;
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* A multi-factor authentication method linked to the user.
|
|
755
|
+
*/
|
|
756
|
+
export type LinkedMfaMethod = SMSMfaMethod | TotpMfaMethod | PasskeyMfaMethod;
|
|
731
757
|
/**
|
|
732
758
|
* Custom metadata associated with the user.
|
|
733
759
|
*/
|
|
734
760
|
export type CustomMetadata = {
|
|
735
761
|
[key: string]: string | number | boolean;
|
|
736
762
|
};
|
|
763
|
+
/**
|
|
764
|
+
* A Privy user object.
|
|
765
|
+
*/
|
|
766
|
+
export interface User {
|
|
767
|
+
id: string;
|
|
768
|
+
/**
|
|
769
|
+
* Unix timestamp of when the user was created in seconds.
|
|
770
|
+
*/
|
|
771
|
+
created_at: number;
|
|
772
|
+
/**
|
|
773
|
+
* Indicates if the user has accepted the terms of service.
|
|
774
|
+
*/
|
|
775
|
+
has_accepted_terms: boolean;
|
|
776
|
+
/**
|
|
777
|
+
* Indicates if the user is a guest account user.
|
|
778
|
+
*/
|
|
779
|
+
is_guest: boolean;
|
|
780
|
+
linked_accounts: Array<LinkedAccount>;
|
|
781
|
+
mfa_methods: Array<LinkedMfaMethod>;
|
|
782
|
+
/**
|
|
783
|
+
* Custom metadata associated with the user.
|
|
784
|
+
*/
|
|
785
|
+
custom_metadata?: CustomMetadata;
|
|
786
|
+
}
|
|
737
787
|
/**
|
|
738
788
|
* The payload for importing a wallet account.
|
|
739
789
|
*/
|
|
@@ -920,75 +970,12 @@ export declare namespace UserBatchCreateInput {
|
|
|
920
970
|
* Custom metadata associated with the user.
|
|
921
971
|
*/
|
|
922
972
|
custom_metadata?: UsersAPI.CustomMetadata;
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
/**
|
|
928
|
-
* The wallet chain types.
|
|
929
|
-
*/
|
|
930
|
-
chain_type: WalletsAPI.WalletChainType;
|
|
931
|
-
additional_signers?: Array<Wallet.AdditionalSigner>;
|
|
932
|
-
create_smart_wallet?: boolean;
|
|
933
|
-
policy_ids?: Array<string>;
|
|
934
|
-
}
|
|
935
|
-
namespace Wallet {
|
|
936
|
-
interface AdditionalSigner {
|
|
937
|
-
signer_id: string;
|
|
938
|
-
override_policy_ids?: Array<string>;
|
|
939
|
-
}
|
|
940
|
-
}
|
|
973
|
+
/**
|
|
974
|
+
* Wallets to create.
|
|
975
|
+
*/
|
|
976
|
+
wallets?: Array<EmbeddedWalletsAPI.WalletCreationInput>;
|
|
941
977
|
}
|
|
942
978
|
}
|
|
943
|
-
/**
|
|
944
|
-
* A SMS MFA method.
|
|
945
|
-
*/
|
|
946
|
-
export interface SMSMfaMethod {
|
|
947
|
-
type: 'sms';
|
|
948
|
-
verified_at: number;
|
|
949
|
-
}
|
|
950
|
-
/**
|
|
951
|
-
* A TOTP MFA method.
|
|
952
|
-
*/
|
|
953
|
-
export interface TotpMfaMethod {
|
|
954
|
-
type: 'totp';
|
|
955
|
-
verified_at: number;
|
|
956
|
-
}
|
|
957
|
-
/**
|
|
958
|
-
* A Passkey MFA method.
|
|
959
|
-
*/
|
|
960
|
-
export interface PasskeyMfaMethod {
|
|
961
|
-
type: 'passkey';
|
|
962
|
-
verified_at: number;
|
|
963
|
-
}
|
|
964
|
-
/**
|
|
965
|
-
* A multi-factor authentication method linked to the user.
|
|
966
|
-
*/
|
|
967
|
-
export type LinkedMfaMethod = SMSMfaMethod | TotpMfaMethod | PasskeyMfaMethod;
|
|
968
|
-
/**
|
|
969
|
-
* A Privy user object.
|
|
970
|
-
*/
|
|
971
|
-
export interface User {
|
|
972
|
-
id: string;
|
|
973
|
-
/**
|
|
974
|
-
* Unix timestamp of when the user was created in milliseconds.
|
|
975
|
-
*/
|
|
976
|
-
created_at: number;
|
|
977
|
-
/**
|
|
978
|
-
* Indicates if the user has accepted the terms of service.
|
|
979
|
-
*/
|
|
980
|
-
has_accepted_terms: boolean;
|
|
981
|
-
/**
|
|
982
|
-
* Indicates if the user is a guest account user.
|
|
983
|
-
*/
|
|
984
|
-
is_guest: boolean;
|
|
985
|
-
linked_accounts: Array<LinkedAccount>;
|
|
986
|
-
mfa_methods: Array<LinkedMfaMethod>;
|
|
987
|
-
/**
|
|
988
|
-
* Custom metadata associated with the user.
|
|
989
|
-
*/
|
|
990
|
-
custom_metadata?: CustomMetadata;
|
|
991
|
-
}
|
|
992
979
|
/**
|
|
993
980
|
* OAuth tokens associated with the user.
|
|
994
981
|
*/
|
|
@@ -1067,9 +1054,9 @@ export declare namespace UserCreateParams {
|
|
|
1067
1054
|
namespace Wallet {
|
|
1068
1055
|
interface AdditionalSigner {
|
|
1069
1056
|
/**
|
|
1070
|
-
*
|
|
1057
|
+
* A unique identifier for a key quorum.
|
|
1071
1058
|
*/
|
|
1072
|
-
signer_id:
|
|
1059
|
+
signer_id: SharedAPI.KeyQuorumID;
|
|
1073
1060
|
/**
|
|
1074
1061
|
* The array of policy IDs that will be applied to wallet requests. If specified,
|
|
1075
1062
|
* this will override the base policy IDs set on the wallet. Currently, only one
|
|
@@ -1118,24 +1105,7 @@ export interface UserGetByWalletAddressParams {
|
|
|
1118
1105
|
address: string;
|
|
1119
1106
|
}
|
|
1120
1107
|
export interface UserPregenerateWalletsParams {
|
|
1121
|
-
wallets: Array<
|
|
1122
|
-
}
|
|
1123
|
-
export declare namespace UserPregenerateWalletsParams {
|
|
1124
|
-
interface Wallet {
|
|
1125
|
-
/**
|
|
1126
|
-
* The wallet chain types.
|
|
1127
|
-
*/
|
|
1128
|
-
chain_type: WalletsAPI.WalletChainType;
|
|
1129
|
-
additional_signers?: Array<Wallet.AdditionalSigner>;
|
|
1130
|
-
create_smart_wallet?: boolean;
|
|
1131
|
-
policy_ids?: Array<string>;
|
|
1132
|
-
}
|
|
1133
|
-
namespace Wallet {
|
|
1134
|
-
interface AdditionalSigner {
|
|
1135
|
-
signer_id: string;
|
|
1136
|
-
override_policy_ids?: Array<string>;
|
|
1137
|
-
}
|
|
1138
|
-
}
|
|
1108
|
+
wallets: Array<EmbeddedWalletsAPI.WalletCreationInput>;
|
|
1139
1109
|
}
|
|
1140
1110
|
export type UserSearchParams = UserSearchParams.Variant0 | UserSearchParams.Variant1;
|
|
1141
1111
|
export declare namespace UserSearchParams {
|
|
@@ -1163,6 +1133,6 @@ export interface UserUnlinkLinkedAccountParams {
|
|
|
1163
1133
|
provider?: string;
|
|
1164
1134
|
}
|
|
1165
1135
|
export declare namespace Users {
|
|
1166
|
-
export { type LinkedAccountEmail as LinkedAccountEmail, type LinkedAccountPhone as LinkedAccountPhone, type LinkedAccountBaseWallet as LinkedAccountBaseWallet, type LinkedAccountEthereum as LinkedAccountEthereum, type
|
|
1136
|
+
export { type LinkedAccountEmail as LinkedAccountEmail, type LinkedAccountPhone as LinkedAccountPhone, type LinkedAccountBaseWallet as LinkedAccountBaseWallet, type LinkedAccountEthereum as LinkedAccountEthereum, type LinkedAccountSmartWallet as LinkedAccountSmartWallet, type LinkedAccountSolana as LinkedAccountSolana, type LinkedAccountFarcaster as LinkedAccountFarcaster, type LinkedAccountPasskey as LinkedAccountPasskey, type LinkedAccountTelegram as LinkedAccountTelegram, type EmbeddedWalletRecoveryMethod as EmbeddedWalletRecoveryMethod, type LinkedAccountEthereumEmbeddedWallet as LinkedAccountEthereumEmbeddedWallet, type LinkedAccountSolanaEmbeddedWallet as LinkedAccountSolanaEmbeddedWallet, type LinkedAccountBitcoinSegwitEmbeddedWallet as LinkedAccountBitcoinSegwitEmbeddedWallet, type LinkedAccountBitcoinTaprootEmbeddedWallet as LinkedAccountBitcoinTaprootEmbeddedWallet, type LinkedAccountCurveSigningEmbeddedWallet as LinkedAccountCurveSigningEmbeddedWallet, type LinkedAccountEmbeddedWallet as LinkedAccountEmbeddedWallet, type LinkedAccountEmbeddedWalletWithID as LinkedAccountEmbeddedWalletWithID, type LinkedAccountGoogleOAuth as LinkedAccountGoogleOAuth, type LinkedAccountTwitterOAuth as LinkedAccountTwitterOAuth, type LinkedAccountDiscordOAuth as LinkedAccountDiscordOAuth, type LinkedAccountGitHubOAuth as LinkedAccountGitHubOAuth, type LinkedAccountLinkedInOAuth as LinkedAccountLinkedInOAuth, type LinkedAccountSpotifyOAuth as LinkedAccountSpotifyOAuth, type LinkedAccountInstagramOAuth as LinkedAccountInstagramOAuth, type LinkedAccountTiktokOAuth as LinkedAccountTiktokOAuth, type LinkedAccountLineOAuth as LinkedAccountLineOAuth, type LinkedAccountTwitchOAuth as LinkedAccountTwitchOAuth, type LinkedAccountAppleOAuth as LinkedAccountAppleOAuth, type LinkedAccountCustomOAuth as LinkedAccountCustomOAuth, type LinkedAccountCustomJwt as LinkedAccountCustomJwt, type CrossAppEmbeddedWallet as CrossAppEmbeddedWallet, type CrossAppSmartWallet as CrossAppSmartWallet, type LinkedAccountCrossApp as LinkedAccountCrossApp, type LinkedAccountAuthorizationKey as LinkedAccountAuthorizationKey, type LinkedAccount as LinkedAccount, type LinkedAccountType as LinkedAccountType, type SMSMfaMethod as SMSMfaMethod, type TotpMfaMethod as TotpMfaMethod, type PasskeyMfaMethod as PasskeyMfaMethod, type LinkedMfaMethod as LinkedMfaMethod, type CustomMetadata as CustomMetadata, type User as User, type LinkedAccountWalletInput as LinkedAccountWalletInput, type LinkedAccountEmailInput as LinkedAccountEmailInput, type LinkedAccountPhoneInput as LinkedAccountPhoneInput, type LinkedAccountGoogleInput as LinkedAccountGoogleInput, type LinkedAccountTwitterInput as LinkedAccountTwitterInput, type LinkedAccountDiscordInput as LinkedAccountDiscordInput, type LinkedAccountGitHubInput as LinkedAccountGitHubInput, type LinkedAccountSpotifyInput as LinkedAccountSpotifyInput, type LinkedAccountInstagramInput as LinkedAccountInstagramInput, type LinkedAccountTiktokInput as LinkedAccountTiktokInput, type LinkedAccountLineInput as LinkedAccountLineInput, type LinkedAccountTwitchInput as LinkedAccountTwitchInput, type LinkedAccountAppleInput as LinkedAccountAppleInput, type LinkedAccountLinkedInInput as LinkedAccountLinkedInInput, type LinkedAccountFarcasterInput as LinkedAccountFarcasterInput, type LinkedAccountTelegramInput as LinkedAccountTelegramInput, type LinkedAccountCustomJwtInput as LinkedAccountCustomJwtInput, type LinkedAccountPasskeyInput as LinkedAccountPasskeyInput, type LinkedAccountInput as LinkedAccountInput, type UserBatchCreateInput as UserBatchCreateInput, type OAuthTokens as OAuthTokens, type UserWithIdentityToken as UserWithIdentityToken, type AuthenticatedUser as AuthenticatedUser, type UsersCursor as UsersCursor, type UserCreateParams as UserCreateParams, type UserListParams as UserListParams, type UserGetByCustomAuthIDParams as UserGetByCustomAuthIDParams, type UserGetByDiscordUsernameParams as UserGetByDiscordUsernameParams, type UserGetByEmailAddressParams as UserGetByEmailAddressParams, type UserGetByFarcasterIDParams as UserGetByFarcasterIDParams, type UserGetByGitHubUsernameParams as UserGetByGitHubUsernameParams, type UserGetByPhoneNumberParams as UserGetByPhoneNumberParams, type UserGetBySmartWalletAddressParams as UserGetBySmartWalletAddressParams, type UserGetByTelegramUserIDParams as UserGetByTelegramUserIDParams, type UserGetByTelegramUsernameParams as UserGetByTelegramUsernameParams, type UserGetByTwitterSubjectParams as UserGetByTwitterSubjectParams, type UserGetByTwitterUsernameParams as UserGetByTwitterUsernameParams, type UserGetByWalletAddressParams as UserGetByWalletAddressParams, type UserPregenerateWalletsParams as UserPregenerateWalletsParams, type UserSearchParams as UserSearchParams, type UserSetCustomMetadataParams as UserSetCustomMetadataParams, type UserUnlinkLinkedAccountParams as UserUnlinkLinkedAccountParams, };
|
|
1167
1137
|
}
|
|
1168
1138
|
//# sourceMappingURL=users.d.mts.map
|