@privy-io/api-types 0.13.0 → 0.15.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 +49 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +25 -19
- package/client.d.mts.map +1 -1
- package/client.d.ts +25 -19
- package/client.d.ts.map +1 -1
- package/client.js +8 -2
- package/client.js.map +1 -1
- package/client.mjs +8 -2
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +1 -1
- package/pagination.d.mts +1 -0
- package/pagination.d.mts.map +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.mjs +1 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.mjs.map +1 -1
- package/resources/aggregations.d.mts.map +1 -1
- package/resources/aggregations.d.ts.map +1 -1
- package/resources/aggregations.mjs.map +1 -1
- package/resources/analytics.d.mts +1 -1
- package/resources/analytics.d.mts.map +1 -1
- package/resources/analytics.d.ts +1 -1
- package/resources/analytics.d.ts.map +1 -1
- package/resources/analytics.mjs.map +1 -1
- package/resources/apps.d.mts +1 -17
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +1 -17
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.mjs.map +1 -1
- package/resources/client-auth.d.mts +156 -213
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +156 -213
- 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.map +1 -1
- package/resources/cross-app.d.ts.map +1 -1
- package/resources/cross-app.mjs.map +1 -1
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/embedded-wallets.mjs.map +1 -1
- package/resources/fiat.d.mts.map +1 -1
- package/resources/fiat.d.ts.map +1 -1
- package/resources/fiat.mjs.map +1 -1
- package/resources/funding.d.mts.map +1 -1
- package/resources/funding.d.ts.map +1 -1
- package/resources/funding.mjs.map +1 -1
- package/resources/index.d.mts +11 -9
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -9
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +63 -2
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +63 -2
- package/resources/intents.d.ts.map +1 -1
- package/resources/intents.mjs.map +1 -1
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/key-quorums.mjs.map +1 -1
- package/resources/kraken-embed.d.mts +653 -1
- package/resources/kraken-embed.d.mts.map +1 -1
- package/resources/kraken-embed.d.ts +653 -1
- package/resources/kraken-embed.d.ts.map +1 -1
- package/resources/kraken-embed.mjs.map +1 -1
- package/resources/oauth.d.mts +77 -0
- package/resources/oauth.d.mts.map +1 -0
- package/resources/oauth.d.ts +77 -0
- package/resources/oauth.d.ts.map +1 -0
- package/resources/oauth.js +9 -0
- package/resources/oauth.js.map +1 -0
- package/resources/oauth.mjs +5 -0
- package/resources/oauth.mjs.map +1 -0
- package/resources/onramps.d.mts +456 -0
- package/resources/onramps.d.mts.map +1 -0
- package/resources/onramps.d.ts +456 -0
- package/resources/onramps.d.ts.map +1 -0
- package/resources/onramps.js +9 -0
- package/resources/onramps.js.map +1 -0
- package/resources/onramps.mjs +5 -0
- package/resources/onramps.mjs.map +1 -0
- package/resources/organizations.d.mts.map +1 -1
- package/resources/organizations.d.ts.map +1 -1
- package/resources/organizations.mjs.map +1 -1
- package/resources/policies.d.mts +29 -3
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +29 -3
- package/resources/policies.d.ts.map +1 -1
- package/resources/policies.mjs.map +1 -1
- package/resources/shared.d.mts +26 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +26 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/shared.mjs.map +1 -1
- package/resources/swaps.d.mts +43 -5
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +43 -5
- package/resources/swaps.d.ts.map +1 -1
- package/resources/swaps.mjs.map +1 -1
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.mjs.map +1 -1
- package/resources/users.d.mts +3 -0
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +3 -0
- package/resources/users.d.ts.map +1 -1
- package/resources/users.mjs.map +1 -1
- package/resources/wallet-actions.d.mts +86 -1
- package/resources/wallet-actions.d.mts.map +1 -1
- package/resources/wallet-actions.d.ts +86 -1
- package/resources/wallet-actions.d.ts.map +1 -1
- package/resources/wallet-actions.js.map +1 -1
- package/resources/wallet-actions.mjs.map +1 -1
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts.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.map +1 -1
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.mjs.map +1 -1
- package/resources/wallets/wallets.d.mts +153 -4
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +153 -4
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/wallets.d.mts.map +1 -1
- package/resources/wallets.d.ts.map +1 -1
- package/resources/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +116 -2
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +116 -2
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts.map +1 -1
- package/resources/yield.mjs.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +313 -61
- package/src/resources/analytics.ts +1 -1
- package/src/resources/apps.ts +0 -24
- package/src/resources/client-auth.ts +193 -304
- package/src/resources/index.ts +148 -25
- package/src/resources/intents.ts +84 -1
- package/src/resources/kraken-embed.ts +1661 -0
- package/src/resources/oauth.ts +96 -0
- package/src/resources/onramps.ts +637 -0
- package/src/resources/policies.ts +40 -0
- package/src/resources/shared.ts +37 -0
- package/src/resources/swaps.ts +51 -5
- package/src/resources/users.ts +3 -0
- package/src/resources/wallet-actions.ts +104 -0
- package/src/resources/wallets/index.ts +9 -0
- package/src/resources/wallets/wallets.ts +191 -3
- package/src/resources/webhooks.ts +142 -0
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/index.ts
CHANGED
|
@@ -55,8 +55,6 @@ export {
|
|
|
55
55
|
type GasSpendCurrency,
|
|
56
56
|
type GasSpendRequestBody,
|
|
57
57
|
type GasSpendResponseBody,
|
|
58
|
-
type GasSponsorshipConfiguration,
|
|
59
|
-
type GasSponsorshipConfigurationInput,
|
|
60
58
|
type PhoneInviteInput,
|
|
61
59
|
type TelegramAuthConfigSchema,
|
|
62
60
|
type TestAccount,
|
|
@@ -75,8 +73,6 @@ export {
|
|
|
75
73
|
type BridgeBrlFiatVirtualAccountDepositInstructions,
|
|
76
74
|
type BridgeDestinationAsset,
|
|
77
75
|
type BridgeEurFiatVirtualAccountDepositInstructions,
|
|
78
|
-
type BridgeFiatCustomerResponse,
|
|
79
|
-
type BridgeFiatRejectionReason,
|
|
80
76
|
type BridgeFiatVirtualAccountDepositInstructions,
|
|
81
77
|
type BridgeFiatVirtualAccountDestination,
|
|
82
78
|
type BridgeFiatVirtualAccountRequest,
|
|
@@ -85,17 +81,16 @@ export {
|
|
|
85
81
|
type BridgeGbpFiatVirtualAccountDepositInstructions,
|
|
86
82
|
type BridgeMxnFiatVirtualAccountDepositInstructions,
|
|
87
83
|
type BridgeOnrampProvider,
|
|
88
|
-
type BridgeSandboxFiatCustomerResponse,
|
|
89
84
|
type BridgeSandboxFiatVirtualAccountRequest,
|
|
90
85
|
type BridgeSandboxFiatVirtualAccountResponse,
|
|
91
86
|
type BridgeSourceAsset,
|
|
92
87
|
type BridgeUsdFiatVirtualAccountDepositInstructions,
|
|
93
|
-
type Caip2ChainID,
|
|
94
|
-
type CreateOrUpdateFiatCustomerRequestInput,
|
|
95
|
-
type CryptoCurrencyCode,
|
|
96
88
|
type CustomJwtAuthenticateRequestBody,
|
|
97
89
|
type CustomJwtLinkRequestBody,
|
|
98
90
|
type CustomOAuthProviderID,
|
|
91
|
+
type DeviceVerifyAction,
|
|
92
|
+
type DeviceVerifyRequestBody,
|
|
93
|
+
type DeviceVerifyResponse,
|
|
99
94
|
type ExternalOAuthProviderID,
|
|
100
95
|
type FarcasterAuthenticateInput,
|
|
101
96
|
type FarcasterAuthenticateRequestBody,
|
|
@@ -124,25 +119,8 @@ export {
|
|
|
124
119
|
type FarcasterV2InitRequestBody,
|
|
125
120
|
type FarcasterV2InitResponse,
|
|
126
121
|
type FarcasterV2InitResponseBody,
|
|
127
|
-
type FiatAmount,
|
|
128
|
-
type FiatCurrencyCode,
|
|
129
|
-
type FiatCustomerResponse,
|
|
130
|
-
type FiatOnrampDestination,
|
|
131
|
-
type FiatOnrampEnvironment,
|
|
132
|
-
type FiatOnrampProvider,
|
|
133
|
-
type FiatOnrampProviderError,
|
|
134
|
-
type FiatOnrampQuote,
|
|
135
|
-
type FiatOnrampSource,
|
|
136
|
-
type FiatOnrampTransactionStatus,
|
|
137
122
|
type FiatVirtualAccountRequest,
|
|
138
123
|
type FiatVirtualAccountResponse,
|
|
139
|
-
type GetFiatCustomerRequestInput,
|
|
140
|
-
type GetFiatOnrampQuotesInput,
|
|
141
|
-
type GetFiatOnrampQuotesResponse,
|
|
142
|
-
type GetFiatOnrampTransactionStatusInput,
|
|
143
|
-
type GetFiatOnrampTransactionStatusResponse,
|
|
144
|
-
type GetFiatOnrampURLInput,
|
|
145
|
-
type GetFiatOnrampURLResponse,
|
|
146
124
|
type GuestAuthenticateRequestBody,
|
|
147
125
|
type LinkJwtInput,
|
|
148
126
|
type MfaPasskeyEnrollmentRequestBody,
|
|
@@ -165,6 +143,13 @@ export {
|
|
|
165
143
|
type OAuthLinkRequestBody,
|
|
166
144
|
type OAuthLinkResponseBody,
|
|
167
145
|
type OAuthProviderID,
|
|
146
|
+
type OAuthTokenAuthorizationCodeRequestBody,
|
|
147
|
+
type OAuthTokenDeviceCodePendingError,
|
|
148
|
+
type OAuthTokenDeviceCodeRequestBody,
|
|
149
|
+
type OAuthTokenGrantType,
|
|
150
|
+
type OAuthTokenRefreshTokenRequestBody,
|
|
151
|
+
type OAuthTokenRequestBody,
|
|
152
|
+
type OAuthTokenSuccessResponse,
|
|
168
153
|
type OAuthTransferRequestBody,
|
|
169
154
|
type OAuthTransferUserInfo,
|
|
170
155
|
type OAuthTransferUserInfoMeta,
|
|
@@ -314,6 +299,7 @@ export {
|
|
|
314
299
|
type IntentAuthorization,
|
|
315
300
|
type IntentAuthorizationKeyQuorumMember,
|
|
316
301
|
type IntentAuthorizationMember,
|
|
302
|
+
type IntentAuthorizeInput,
|
|
317
303
|
type IntentCreationHeaders,
|
|
318
304
|
type IntentResponse,
|
|
319
305
|
type IntentStatus,
|
|
@@ -323,11 +309,13 @@ export {
|
|
|
323
309
|
type PolicyIntentResponse,
|
|
324
310
|
type RpcIntentRequestDetails,
|
|
325
311
|
type RpcIntentResponse,
|
|
312
|
+
type RuleDeleteIntentResponse,
|
|
326
313
|
type RuleIntentCreateRequestDetails,
|
|
327
314
|
type RuleIntentDeleteRequestDetails,
|
|
328
315
|
type RuleIntentRequestDetails,
|
|
329
316
|
type RuleIntentResponse,
|
|
330
317
|
type RuleIntentUpdateRequestDetails,
|
|
318
|
+
type RuleMutateIntentResponse,
|
|
331
319
|
type TransferIntentRequestDetails,
|
|
332
320
|
type TransferIntentResponse,
|
|
333
321
|
type WalletIntentResponse,
|
|
@@ -341,14 +329,125 @@ export {
|
|
|
341
329
|
} from './key-quorums';
|
|
342
330
|
export {
|
|
343
331
|
KrakenEmbed,
|
|
332
|
+
type KrakenEmbedCancelCustomOrderInput,
|
|
333
|
+
type KrakenEmbedCancelCustomOrderPath,
|
|
334
|
+
type KrakenEmbedCancelCustomOrderResponse,
|
|
335
|
+
type KrakenEmbedCancelCustomOrderResult,
|
|
336
|
+
type KrakenEmbedCreateCustomOrderInput,
|
|
337
|
+
type KrakenEmbedCreateCustomOrderResponse,
|
|
338
|
+
type KrakenEmbedCreateCustomOrderResult,
|
|
344
339
|
type KrakenEmbedCurrentDayPnl,
|
|
340
|
+
type KrakenEmbedCustomOrder,
|
|
341
|
+
type KrakenEmbedCustomOrderAction,
|
|
342
|
+
type KrakenEmbedCustomOrderAmount,
|
|
343
|
+
type KrakenEmbedCustomOrderOccurrence,
|
|
344
|
+
type KrakenEmbedCustomOrderOccurrenceExecutedAction,
|
|
345
|
+
type KrakenEmbedCustomOrderOccurrenceTrigger,
|
|
346
|
+
type KrakenEmbedCustomOrderQuoteAsset,
|
|
347
|
+
type KrakenEmbedCustomOrderStatus,
|
|
348
|
+
type KrakenEmbedCustomOrderTrigger,
|
|
349
|
+
type KrakenEmbedEarnAmount,
|
|
350
|
+
type KrakenEmbedEarnAprEstimate,
|
|
351
|
+
type KrakenEmbedEarnAsset,
|
|
352
|
+
type KrakenEmbedEarnUserAllocation,
|
|
345
353
|
type KrakenEmbedGetAssetListQueryParamsSchema,
|
|
354
|
+
type KrakenEmbedGetCustomOrderHistoryQueryParams,
|
|
355
|
+
type KrakenEmbedGetCustomOrderHistoryResponse,
|
|
356
|
+
type KrakenEmbedGetCustomOrderHistoryResult,
|
|
357
|
+
type KrakenEmbedGetCustomOrderQueryParams,
|
|
358
|
+
type KrakenEmbedGetCustomOrderResponse,
|
|
359
|
+
type KrakenEmbedGetCustomOrderResult,
|
|
360
|
+
type KrakenEmbedGetEarnAssetsKrakenResponse,
|
|
361
|
+
type KrakenEmbedGetEarnAssetsQueryParams,
|
|
362
|
+
type KrakenEmbedGetEarnAssetsResponse,
|
|
363
|
+
type KrakenEmbedGetEarnAssetsResult,
|
|
364
|
+
type KrakenEmbedGetEarnSummaryKrakenResponse,
|
|
365
|
+
type KrakenEmbedGetEarnSummaryQueryParams,
|
|
366
|
+
type KrakenEmbedGetEarnSummaryResponse,
|
|
367
|
+
type KrakenEmbedGetEarnSummaryResult,
|
|
346
368
|
type KrakenEmbedGetPortfolioDetailsQueryParamsSchema,
|
|
347
369
|
type KrakenEmbedGetPortfolioSummaryQueryParams,
|
|
348
370
|
type KrakenEmbedGetPortfolioSummaryResponse,
|
|
349
371
|
type KrakenEmbedGetPortfolioTransactionsQueryParamsSchema,
|
|
350
372
|
type KrakenEmbedGetQuoteQueryParams,
|
|
373
|
+
type KrakenEmbedListCustomOrdersQueryParams,
|
|
374
|
+
type KrakenEmbedListCustomOrdersResponse,
|
|
375
|
+
type KrakenEmbedListCustomOrdersResult,
|
|
376
|
+
type KrakenEmbedStartAddressMetadata,
|
|
377
|
+
type KrakenEmbedStartAddressVerificationURLInput,
|
|
378
|
+
type KrakenEmbedStartIdentityInfo,
|
|
379
|
+
type KrakenEmbedStartIdentityMetadata,
|
|
380
|
+
type KrakenEmbedStartIdentityVerificationURLInput,
|
|
381
|
+
type KrakenEmbedStartLivenessVerificationURLInput,
|
|
382
|
+
type KrakenEmbedStartVerificationDebug,
|
|
383
|
+
type KrakenEmbedStartVerificationURLInput,
|
|
384
|
+
type KrakenEmbedStartVerificationURLResponse,
|
|
385
|
+
type KrakenEmbedStartVerificationURLResult,
|
|
386
|
+
type KrakenEmbedToggleAutoEarnKrakenResponse,
|
|
387
|
+
type KrakenEmbedToggleAutoEarnQueryParams,
|
|
388
|
+
type KrakenEmbedToggleAutoEarnResponse,
|
|
389
|
+
type KrakenEmbedUpcomingReward,
|
|
351
390
|
} from './kraken-embed';
|
|
391
|
+
export {
|
|
392
|
+
OAuth,
|
|
393
|
+
type DeviceAuthorizationResponse,
|
|
394
|
+
type OAuthGrant,
|
|
395
|
+
type OAuthGrantListResponse,
|
|
396
|
+
type OAuthGrantRevokeResponse,
|
|
397
|
+
} from './oauth';
|
|
398
|
+
export {
|
|
399
|
+
Onramps,
|
|
400
|
+
type BridgeFiatCustomerResponse,
|
|
401
|
+
type BridgeFiatRejectionReason,
|
|
402
|
+
type BridgeSandboxFiatCustomerResponse,
|
|
403
|
+
type Caip2ChainID,
|
|
404
|
+
type CreateLinkAuthIntentInput,
|
|
405
|
+
type CreateLinkAuthIntentResponse,
|
|
406
|
+
type CreateOrUpdateFiatCustomerRequestInput,
|
|
407
|
+
type CreateStripeOnrampSessionInput,
|
|
408
|
+
type CreateStripeOnrampSessionResponse,
|
|
409
|
+
type CryptoCurrencyCode,
|
|
410
|
+
type ExchangeStripeTokensInput,
|
|
411
|
+
type ExchangeStripeTokensResponse,
|
|
412
|
+
type FiatAmount,
|
|
413
|
+
type FiatCurrencyCode,
|
|
414
|
+
type FiatCustomerResponse,
|
|
415
|
+
type FiatOnrampDestination,
|
|
416
|
+
type FiatOnrampEnvironment,
|
|
417
|
+
type FiatOnrampProvider,
|
|
418
|
+
type FiatOnrampProviderError,
|
|
419
|
+
type FiatOnrampQuote,
|
|
420
|
+
type FiatOnrampSource,
|
|
421
|
+
type FiatOnrampStripeSDKSessionResponse,
|
|
422
|
+
type FiatOnrampTransactionStatus,
|
|
423
|
+
type FiatOnrampURLSessionResponse,
|
|
424
|
+
type GetFiatCustomerRequestInput,
|
|
425
|
+
type GetFiatOnrampQuotesInput,
|
|
426
|
+
type GetFiatOnrampQuotesResponse,
|
|
427
|
+
type GetFiatOnrampTransactionStatusInput,
|
|
428
|
+
type GetFiatOnrampTransactionStatusResponse,
|
|
429
|
+
type GetFiatOnrampURLInput,
|
|
430
|
+
type GetFiatOnrampURLResponse,
|
|
431
|
+
type GetStripeCryptoCustomerResponse,
|
|
432
|
+
type LinkAuthIntentCreated,
|
|
433
|
+
type LinkAuthIntentNoAccount,
|
|
434
|
+
type ListStripeConsumerWalletsResponse,
|
|
435
|
+
type ListStripePaymentTokensResponse,
|
|
436
|
+
type OnrampSessionFees,
|
|
437
|
+
type OnrampSessionParams,
|
|
438
|
+
type OnrampSessionTransactionDetails,
|
|
439
|
+
type RefreshStripeQuoteResponse,
|
|
440
|
+
type StripeConsumerWallet,
|
|
441
|
+
type StripeCryptoCustomerActive,
|
|
442
|
+
type StripeCryptoCustomerExpired,
|
|
443
|
+
type StripeCryptoCustomerNone,
|
|
444
|
+
type StripeOnrampCheckoutResponse,
|
|
445
|
+
type StripeOnrampSessionStatus,
|
|
446
|
+
type StripePaymentToken,
|
|
447
|
+
type StripeQuote,
|
|
448
|
+
type StripeTransactionDetails,
|
|
449
|
+
type StripeVerification,
|
|
450
|
+
} from './onramps';
|
|
352
451
|
export {
|
|
353
452
|
Organizations,
|
|
354
453
|
type CreateOrganizationSecretResponse,
|
|
@@ -397,20 +496,28 @@ export {
|
|
|
397
496
|
type SuiTransferObjectsCommandCondition,
|
|
398
497
|
type SuiTransferObjectsCommandField,
|
|
399
498
|
type SystemCondition,
|
|
499
|
+
type TempoTransactionCondition,
|
|
500
|
+
type TempoTransactionConditionField,
|
|
400
501
|
type TronCalldataCondition,
|
|
401
502
|
type TronTransactionCondition,
|
|
402
503
|
type UpdateConditionSetRequestBody,
|
|
403
504
|
} from './policies';
|
|
404
505
|
export {
|
|
405
506
|
Shared,
|
|
507
|
+
type BitcoinAddress,
|
|
406
508
|
type CurrencyAmount,
|
|
509
|
+
type EvmAddress,
|
|
510
|
+
type EvmChecksumAddress,
|
|
511
|
+
type HyperliquidTokenAddress,
|
|
407
512
|
type KeyQuorumID,
|
|
408
513
|
type OwnerIDInput,
|
|
409
514
|
type OwnerInput,
|
|
410
515
|
type OwnerInputPublicKey,
|
|
411
516
|
type OwnerInputUser,
|
|
412
517
|
type P256PublicKey,
|
|
518
|
+
type SolanaAddress,
|
|
413
519
|
type SuccessResponse,
|
|
520
|
+
type TronAddress,
|
|
414
521
|
} from './shared';
|
|
415
522
|
export {
|
|
416
523
|
Swaps,
|
|
@@ -521,6 +628,9 @@ export {
|
|
|
521
628
|
type EarnDepositRequestBody,
|
|
522
629
|
type EarnIncentiveClaimActionResponse,
|
|
523
630
|
type EarnIncentiveClaimRequestBody,
|
|
631
|
+
type EarnIncentiveRewardEntry,
|
|
632
|
+
type EarnIncentiveRewardsQuery,
|
|
633
|
+
type EarnIncentiveRewardsResponse,
|
|
524
634
|
type EarnIncetiveClaimRewardEntry,
|
|
525
635
|
type EarnWithdrawActionResponse,
|
|
526
636
|
type EarnWithdrawRequestBody,
|
|
@@ -557,6 +667,7 @@ export {
|
|
|
557
667
|
type CustodialWalletCreateInput,
|
|
558
668
|
type CustodialWalletProvider,
|
|
559
669
|
type CustomTokenTransferSource,
|
|
670
|
+
type DeveloperFee,
|
|
560
671
|
type EthereumPersonalSignRpcInput,
|
|
561
672
|
type EthereumPersonalSignRpcInputParams,
|
|
562
673
|
type EthereumPersonalSignRpcResponse,
|
|
@@ -600,7 +711,10 @@ export {
|
|
|
600
711
|
type ExportSeedPhraseRpcResponse,
|
|
601
712
|
type ExportType,
|
|
602
713
|
type ExtendedChainType,
|
|
714
|
+
type FeeConfiguration,
|
|
715
|
+
type FeeLineItem,
|
|
603
716
|
type FirstClassChainType,
|
|
717
|
+
type Gas,
|
|
604
718
|
type GetByWalletAddressRequestBody,
|
|
605
719
|
type HDInitInput,
|
|
606
720
|
type HDPath,
|
|
@@ -616,6 +730,7 @@ export {
|
|
|
616
730
|
type PrivateKeyExportResponse,
|
|
617
731
|
type PrivateKeyInitInput,
|
|
618
732
|
type PrivateKeySubmitInput,
|
|
733
|
+
type PrivyFee,
|
|
619
734
|
type Quantity,
|
|
620
735
|
type RawSignBytesEncoding,
|
|
621
736
|
type RawSignBytesHashFunction,
|
|
@@ -626,6 +741,7 @@ export {
|
|
|
626
741
|
type RawSignResponse,
|
|
627
742
|
type RawSignResponseData,
|
|
628
743
|
type RecipientPublicKey,
|
|
744
|
+
type RelayerFee,
|
|
629
745
|
type SeedPhraseExportInput,
|
|
630
746
|
type SeedPhraseExportResponse,
|
|
631
747
|
type SigningAlgorithm,
|
|
@@ -695,8 +811,11 @@ export {
|
|
|
695
811
|
type TokenOutput,
|
|
696
812
|
type TokenTransferDestination,
|
|
697
813
|
type TokenTransferSource,
|
|
814
|
+
type TotalFeeConfigurationBps,
|
|
698
815
|
type TransactionDetail,
|
|
699
816
|
type TransactionTokenAddressInput,
|
|
817
|
+
type TransferQuoteRequestBody,
|
|
818
|
+
type TransferQuoteResponse,
|
|
700
819
|
type TransferReceivedTransactionDetail,
|
|
701
820
|
type TransferRequestBody,
|
|
702
821
|
type TransferSentTransactionDetail,
|
|
@@ -759,6 +878,10 @@ export {
|
|
|
759
878
|
type IntentCreatedWebhookPayload,
|
|
760
879
|
type IntentExecutedWebhookPayload,
|
|
761
880
|
type IntentFailedWebhookPayload,
|
|
881
|
+
type IntentRejectedWebhookPayload,
|
|
882
|
+
type KrakenEmbedCustomOrderCancelledWebhookPayload,
|
|
883
|
+
type KrakenEmbedCustomOrderExecutedWebhookPayload,
|
|
884
|
+
type KrakenEmbedCustomOrderExecutionFailedWebhookPayload,
|
|
762
885
|
type KrakenEmbedQuoteCancelledWebhookPayload,
|
|
763
886
|
type KrakenEmbedQuoteExecutedWebhookPayload,
|
|
764
887
|
type KrakenEmbedQuoteExecutionFailedWebhookPayload,
|
package/src/resources/intents.ts
CHANGED
|
@@ -227,6 +227,22 @@ export namespace IntentAuthorizationMember {
|
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
+
/**
|
|
231
|
+
* Request body for authorizing an intent.
|
|
232
|
+
*/
|
|
233
|
+
export interface IntentAuthorizeInput {
|
|
234
|
+
/**
|
|
235
|
+
* Signature authorizing the intent.
|
|
236
|
+
*/
|
|
237
|
+
signature: string;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Unix timestamp (in milliseconds) when the signature was created. Used to verify
|
|
241
|
+
* the signature was created when the signing key was valid.
|
|
242
|
+
*/
|
|
243
|
+
timestamp: number;
|
|
244
|
+
}
|
|
245
|
+
|
|
230
246
|
/**
|
|
231
247
|
* Headers required to create an intent.
|
|
232
248
|
*/
|
|
@@ -257,7 +273,14 @@ export type IntentResponse =
|
|
|
257
273
|
/**
|
|
258
274
|
* Current status of an intent.
|
|
259
275
|
*/
|
|
260
|
-
export type IntentStatus =
|
|
276
|
+
export type IntentStatus =
|
|
277
|
+
| 'pending'
|
|
278
|
+
| 'processing'
|
|
279
|
+
| 'executed'
|
|
280
|
+
| 'failed'
|
|
281
|
+
| 'expired'
|
|
282
|
+
| 'rejected'
|
|
283
|
+
| 'dismissed';
|
|
261
284
|
|
|
262
285
|
/**
|
|
263
286
|
* Type of intent.
|
|
@@ -451,6 +474,34 @@ export namespace RpcIntentResponse {
|
|
|
451
474
|
}
|
|
452
475
|
}
|
|
453
476
|
|
|
477
|
+
/**
|
|
478
|
+
* Response for a delete rule intent
|
|
479
|
+
*/
|
|
480
|
+
export interface RuleDeleteIntentResponse extends BaseIntentResponse {
|
|
481
|
+
intent_type: 'RULE';
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* Request details for deleting a rule via intent.
|
|
485
|
+
*/
|
|
486
|
+
request_details: RuleIntentDeleteRequestDetails;
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* Result of rule execution (only present if status is 'executed' or 'failed')
|
|
490
|
+
*/
|
|
491
|
+
action_result?: BaseActionResult;
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* A rule that defines the conditions and action to take if the conditions are
|
|
495
|
+
* true.
|
|
496
|
+
*/
|
|
497
|
+
current_resource_data?: PoliciesAPI.PolicyRuleResponse;
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* A policy for controlling wallet operations.
|
|
501
|
+
*/
|
|
502
|
+
policy?: PoliciesAPI.Policy;
|
|
503
|
+
}
|
|
504
|
+
|
|
454
505
|
/**
|
|
455
506
|
* Request details for creating a rule via intent.
|
|
456
507
|
*/
|
|
@@ -532,6 +583,35 @@ export interface RuleIntentUpdateRequestDetails {
|
|
|
532
583
|
url: string;
|
|
533
584
|
}
|
|
534
585
|
|
|
586
|
+
/**
|
|
587
|
+
* Response for a create or update rule intent
|
|
588
|
+
*/
|
|
589
|
+
export interface RuleMutateIntentResponse extends BaseIntentResponse {
|
|
590
|
+
intent_type: 'RULE';
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* The original rule request. Method is POST (create), PATCH (update), or DELETE
|
|
594
|
+
* (delete)
|
|
595
|
+
*/
|
|
596
|
+
request_details: RuleIntentRequestDetails;
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* Result of rule execution (only present if status is 'executed' or 'failed')
|
|
600
|
+
*/
|
|
601
|
+
action_result?: BaseActionResult;
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* A rule that defines the conditions and action to take if the conditions are
|
|
605
|
+
* true.
|
|
606
|
+
*/
|
|
607
|
+
current_resource_data?: PoliciesAPI.PolicyRuleResponse;
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* A policy for controlling wallet operations.
|
|
611
|
+
*/
|
|
612
|
+
policy?: PoliciesAPI.Policy;
|
|
613
|
+
}
|
|
614
|
+
|
|
535
615
|
/**
|
|
536
616
|
* Request details for a transfer intent.
|
|
537
617
|
*/
|
|
@@ -660,6 +740,7 @@ export declare namespace Intents {
|
|
|
660
740
|
type IntentAuthorization as IntentAuthorization,
|
|
661
741
|
type IntentAuthorizationKeyQuorumMember as IntentAuthorizationKeyQuorumMember,
|
|
662
742
|
type IntentAuthorizationMember as IntentAuthorizationMember,
|
|
743
|
+
type IntentAuthorizeInput as IntentAuthorizeInput,
|
|
663
744
|
type IntentCreationHeaders as IntentCreationHeaders,
|
|
664
745
|
type IntentResponse as IntentResponse,
|
|
665
746
|
type IntentStatus as IntentStatus,
|
|
@@ -669,11 +750,13 @@ export declare namespace Intents {
|
|
|
669
750
|
type PolicyIntentResponse as PolicyIntentResponse,
|
|
670
751
|
type RpcIntentRequestDetails as RpcIntentRequestDetails,
|
|
671
752
|
type RpcIntentResponse as RpcIntentResponse,
|
|
753
|
+
type RuleDeleteIntentResponse as RuleDeleteIntentResponse,
|
|
672
754
|
type RuleIntentCreateRequestDetails as RuleIntentCreateRequestDetails,
|
|
673
755
|
type RuleIntentDeleteRequestDetails as RuleIntentDeleteRequestDetails,
|
|
674
756
|
type RuleIntentRequestDetails as RuleIntentRequestDetails,
|
|
675
757
|
type RuleIntentResponse as RuleIntentResponse,
|
|
676
758
|
type RuleIntentUpdateRequestDetails as RuleIntentUpdateRequestDetails,
|
|
759
|
+
type RuleMutateIntentResponse as RuleMutateIntentResponse,
|
|
677
760
|
type TransferIntentRequestDetails as TransferIntentRequestDetails,
|
|
678
761
|
type TransferIntentResponse as TransferIntentResponse,
|
|
679
762
|
type WalletIntentResponse as WalletIntentResponse,
|