@turnkey/sdk-types 1.11.0 → 1.12.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 +44 -0
- package/dist/__generated__/types.d.ts +1120 -159
- package/dist/__generated__/types.d.ts.map +1 -1
- package/dist/__generated__/types.js +20 -0
- package/dist/__generated__/types.js.map +1 -0
- package/dist/__generated__/types.mjs +18 -0
- package/dist/__generated__/types.mjs.map +1 -0
- package/dist/__inputs__/public_api.types.d.ts +1152 -315
- package/dist/__inputs__/public_api.types.d.ts.map +1 -1
- package/dist/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -55,14 +55,14 @@ export type paths = {
|
|
|
55
55
|
/** Poll the status of a withdrawal by its withdraw_request_id. */
|
|
56
56
|
post: operations["PublicApiService_GetEarnWithdrawStatus"];
|
|
57
57
|
};
|
|
58
|
-
"/public/v1/query/get_fiat_on_ramp_quote": {
|
|
59
|
-
/** Quote enabled fiat on-ramp providers for a buy. Returns one quote per payment method the provider can offer for this route. Providers and methods that cannot serve the route are omitted. */
|
|
60
|
-
post: operations["PublicApiService_GetFiatOnRampQuote"];
|
|
61
|
-
};
|
|
62
58
|
"/public/v1/query/get_gas_usage": {
|
|
63
59
|
/** Get gas usage and gas limits for either the parent organization or a sub-organization. */
|
|
64
60
|
post: operations["PublicApiService_GetGasUsage"];
|
|
65
61
|
};
|
|
62
|
+
"/public/v1/query/get_indicative_swap_quote": {
|
|
63
|
+
/** Preview the provider's current price for a swap without creating an activity. The quote is not binding and has no quote ID: a market swap executed later fetches its own quote, so its price can differ. */
|
|
64
|
+
post: operations["PublicApiService_GetIndicativeSwapQuote"];
|
|
65
|
+
};
|
|
66
66
|
"/public/v1/query/get_ip_allowlist": {
|
|
67
67
|
/** Get IP allowlist and rules for an organization. */
|
|
68
68
|
post: operations["PublicApiService_GetIpAllowlist"];
|
|
@@ -159,18 +159,22 @@ export type paths = {
|
|
|
159
159
|
/** Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment. */
|
|
160
160
|
post: operations["PublicApiService_GetTvcDeploymentProvisioningDetails"];
|
|
161
161
|
};
|
|
162
|
+
"/public/v1/query/get_tvc_manifest_generation_info": {
|
|
163
|
+
/** Get default values for creating a QOS manifest. Relevant for client manifest generation. */
|
|
164
|
+
post: operations["PublicApiService_GetTvcManifestGenerationInfo"];
|
|
165
|
+
};
|
|
162
166
|
"/public/v1/query/get_tvc_qos_versions": {
|
|
163
167
|
/** List QOS versions supported for new TVC deployments and the latest recommended QOS version. */
|
|
164
168
|
post: operations["PublicApiService_GetTvcQosVersions"];
|
|
165
169
|
};
|
|
170
|
+
"/public/v1/query/get_usage_control": {
|
|
171
|
+
/** Get details about a usage control. */
|
|
172
|
+
post: operations["PublicApiService_GetUsageControl"];
|
|
173
|
+
};
|
|
166
174
|
"/public/v1/query/get_user": {
|
|
167
175
|
/** Get details about a user. */
|
|
168
176
|
post: operations["PublicApiService_GetUser"];
|
|
169
177
|
};
|
|
170
|
-
"/public/v1/query/get_velocity_control": {
|
|
171
|
-
/** Get details about a velocity control. */
|
|
172
|
-
post: operations["PublicApiService_GetVelocityControl"];
|
|
173
|
-
};
|
|
174
178
|
"/public/v1/query/get_wallet": {
|
|
175
179
|
/** Get details about a wallet. */
|
|
176
180
|
post: operations["PublicApiService_GetWallet"];
|
|
@@ -183,6 +187,10 @@ export type paths = {
|
|
|
183
187
|
/** Get balances of supported assets for an address on the specified network. Only non-zero balances are returned. */
|
|
184
188
|
post: operations["PublicApiService_GetWalletAddressBalances"];
|
|
185
189
|
};
|
|
190
|
+
"/public/v1/query/get_wallet_authenticators": {
|
|
191
|
+
/** Get wallet authenticators for a user. */
|
|
192
|
+
post: operations["PublicApiService_GetWalletAuthenticators"];
|
|
193
|
+
};
|
|
186
194
|
"/public/v1/query/list_activities": {
|
|
187
195
|
/** List all activities within an organization. */
|
|
188
196
|
post: operations["PublicApiService_GetActivities"];
|
|
@@ -215,10 +223,18 @@ export type paths = {
|
|
|
215
223
|
/** List Ethereum transaction history for a wallet address on the specified network. */
|
|
216
224
|
post: operations["PublicApiService_ListEthTransactionHistory"];
|
|
217
225
|
};
|
|
226
|
+
"/public/v1/query/list_fiat_off_ramp_quotes": {
|
|
227
|
+
/** Quote enabled fiat off-ramp providers for a sell. Returns one quote per payment method the provider can offer for this route. Providers and methods that cannot serve the route are omitted. */
|
|
228
|
+
post: operations["PublicApiService_GetFiatOffRampQuotes"];
|
|
229
|
+
};
|
|
218
230
|
"/public/v1/query/list_fiat_on_ramp_credentials": {
|
|
219
231
|
/** List all fiat on ramp provider credentials within an organization. */
|
|
220
232
|
post: operations["PublicApiService_ListFiatOnRampCredentials"];
|
|
221
233
|
};
|
|
234
|
+
"/public/v1/query/list_fiat_on_ramp_quotes": {
|
|
235
|
+
/** Quote enabled fiat on-ramp providers for a buy. Returns one quote per payment method the provider can offer for this route. Providers and methods that cannot serve the route are omitted. */
|
|
236
|
+
post: operations["PublicApiService_GetFiatOnRampQuotes"];
|
|
237
|
+
};
|
|
222
238
|
"/public/v1/query/list_oauth2_credentials": {
|
|
223
239
|
/** List all OAuth 2.0 credentials within an organization. */
|
|
224
240
|
post: operations["PublicApiService_ListOauth2Credentials"];
|
|
@@ -271,6 +287,10 @@ export type paths = {
|
|
|
271
287
|
/** List all hosted TVC Quorum Keys within an organization, newest first. */
|
|
272
288
|
post: operations["PublicApiService_GetTvcQuorumKeys"];
|
|
273
289
|
};
|
|
290
|
+
"/public/v1/query/list_usage_controls": {
|
|
291
|
+
/** List all usage controls within an organization. */
|
|
292
|
+
post: operations["PublicApiService_ListUsageControls"];
|
|
293
|
+
};
|
|
274
294
|
"/public/v1/query/list_user_tags": {
|
|
275
295
|
/** List all user tags within an organization. */
|
|
276
296
|
post: operations["PublicApiService_ListUserTags"];
|
|
@@ -279,10 +299,6 @@ export type paths = {
|
|
|
279
299
|
/** List all users within an organization. */
|
|
280
300
|
post: operations["PublicApiService_GetUsers"];
|
|
281
301
|
};
|
|
282
|
-
"/public/v1/query/list_velocity_controls": {
|
|
283
|
-
/** List all velocity controls within an organization. */
|
|
284
|
-
post: operations["PublicApiService_ListVelocityControls"];
|
|
285
|
-
};
|
|
286
302
|
"/public/v1/query/list_verified_suborgs": {
|
|
287
303
|
/** Get all verified suborg IDs associated with a given parent organization ID and an optional filter. */
|
|
288
304
|
post: operations["PublicApiService_GetVerifiedSubOrgIds"];
|
|
@@ -331,14 +347,26 @@ export type paths = {
|
|
|
331
347
|
/** Create authenticators to authenticate requests to Turnkey. */
|
|
332
348
|
post: operations["PublicApiService_CreateAuthenticators"];
|
|
333
349
|
};
|
|
350
|
+
"/public/v1/submit/create_external_signer": {
|
|
351
|
+
/** Register an external signer with the organization. */
|
|
352
|
+
post: operations["PublicApiService_CreateExternalSigner"];
|
|
353
|
+
};
|
|
354
|
+
"/public/v1/submit/create_fiat_off_ramp_session": {
|
|
355
|
+
/** Open a fiat off-ramp session for a saved quote. */
|
|
356
|
+
post: operations["PublicApiService_CreateFiatOffRampSession"];
|
|
357
|
+
};
|
|
334
358
|
"/public/v1/submit/create_fiat_on_ramp_credential": {
|
|
335
|
-
/**
|
|
359
|
+
/** Deprecated: use CreateFiatRampCredential. */
|
|
336
360
|
post: operations["PublicApiService_CreateFiatOnRampCredential"];
|
|
337
361
|
};
|
|
338
362
|
"/public/v1/submit/create_fiat_on_ramp_session": {
|
|
339
363
|
/** Open a fiat on-ramp session for a saved quote. */
|
|
340
364
|
post: operations["PublicApiService_CreateFiatOnRampSession"];
|
|
341
365
|
};
|
|
366
|
+
"/public/v1/submit/create_fiat_ramp_credential": {
|
|
367
|
+
/** Create a fiat ramp provider credential. */
|
|
368
|
+
post: operations["PublicApiService_CreateFiatRampCredential"];
|
|
369
|
+
};
|
|
342
370
|
"/public/v1/submit/create_invitations": {
|
|
343
371
|
/** Create invitations to join an existing organization. */
|
|
344
372
|
post: operations["PublicApiService_CreateInvitations"];
|
|
@@ -388,11 +416,11 @@ export type paths = {
|
|
|
388
416
|
post: operations["PublicApiService_CreateSmartContractInterface"];
|
|
389
417
|
};
|
|
390
418
|
"/public/v1/submit/create_sub_organization": {
|
|
391
|
-
/** Create a new sub-organization. Each root user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the sub-organization (email, email OTP, or SMS). */
|
|
419
|
+
/** Create a new sub-organization. Each root user must have at least one valid credential: an API key, an authenticator, an OAuth provider, a wallet authenticator, or an email or phone number with a login method enabled on the sub-organization (email, email OTP, or SMS). */
|
|
392
420
|
post: operations["PublicApiService_CreateSubOrganization"];
|
|
393
421
|
};
|
|
394
422
|
"/public/v1/submit/create_swap_quote": {
|
|
395
|
-
/** Create a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. Requests must use ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V3. */
|
|
423
|
+
/** Create a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. Requests must use ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V3, which returns its quotes in createSwapQuoteResultV2. */
|
|
396
424
|
post: operations["PublicApiService_CreateSwapQuote"];
|
|
397
425
|
};
|
|
398
426
|
"/public/v1/submit/create_tvc_app": {
|
|
@@ -415,6 +443,10 @@ export type paths = {
|
|
|
415
443
|
/** Create a hosted TVC Quorum Key and encrypted shares. */
|
|
416
444
|
post: operations["PublicApiService_CreateTvcQuorumKey"];
|
|
417
445
|
};
|
|
446
|
+
"/public/v1/submit/create_usage_control": {
|
|
447
|
+
/** Create a new usage control. */
|
|
448
|
+
post: operations["PublicApiService_CreateUsageControl"];
|
|
449
|
+
};
|
|
418
450
|
"/public/v1/submit/create_user_tag": {
|
|
419
451
|
/** Create a user tag and add it to users. */
|
|
420
452
|
post: operations["PublicApiService_CreateUserTag"];
|
|
@@ -423,10 +455,6 @@ export type paths = {
|
|
|
423
455
|
/** Create users in an existing organization. Each user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the organization (email, email OTP, or SMS). */
|
|
424
456
|
post: operations["PublicApiService_CreateUsers"];
|
|
425
457
|
};
|
|
426
|
-
"/public/v1/submit/create_velocity_control": {
|
|
427
|
-
/** Create a new velocity control. */
|
|
428
|
-
post: operations["PublicApiService_CreateVelocityControl"];
|
|
429
|
-
};
|
|
430
458
|
"/public/v1/submit/create_wallet": {
|
|
431
459
|
/** Create a wallet and derive addresses. */
|
|
432
460
|
post: operations["PublicApiService_CreateWallet"];
|
|
@@ -435,6 +463,10 @@ export type paths = {
|
|
|
435
463
|
/** Derive additional addresses using an existing wallet. */
|
|
436
464
|
post: operations["PublicApiService_CreateWalletAccounts"];
|
|
437
465
|
};
|
|
466
|
+
"/public/v1/submit/create_wallet_authenticators": {
|
|
467
|
+
/** Add wallet authenticators to an existing user. Omit verification_token to attach unverified. */
|
|
468
|
+
post: operations["PublicApiService_CreateWalletAuthenticators"];
|
|
469
|
+
};
|
|
438
470
|
"/public/v1/submit/create_webhook_endpoint": {
|
|
439
471
|
/** Create a webhook endpoint for an organization. */
|
|
440
472
|
post: operations["PublicApiService_CreateWebhookEndpoint"];
|
|
@@ -447,6 +479,10 @@ export type paths = {
|
|
|
447
479
|
/** Remove authenticators from a user. */
|
|
448
480
|
post: operations["PublicApiService_DeleteAuthenticators"];
|
|
449
481
|
};
|
|
482
|
+
"/public/v1/submit/delete_external_signer": {
|
|
483
|
+
/** Remove an external signer from the organization by its public key. */
|
|
484
|
+
post: operations["PublicApiService_DeleteExternalSigner"];
|
|
485
|
+
};
|
|
450
486
|
"/public/v1/submit/delete_fiat_on_ramp_credential": {
|
|
451
487
|
/** Delete a fiat on ramp provider credential. */
|
|
452
488
|
post: operations["PublicApiService_DeleteFiatOnRampCredential"];
|
|
@@ -503,6 +539,10 @@ export type paths = {
|
|
|
503
539
|
/** Delete a TVC deployment. */
|
|
504
540
|
post: operations["PublicApiService_DeleteTvcDeployment"];
|
|
505
541
|
};
|
|
542
|
+
"/public/v1/submit/delete_usage_controls": {
|
|
543
|
+
/** Delete existing usage controls. */
|
|
544
|
+
post: operations["PublicApiService_DeleteUsageControls"];
|
|
545
|
+
};
|
|
506
546
|
"/public/v1/submit/delete_user_tags": {
|
|
507
547
|
/** Delete user tags within an organization. */
|
|
508
548
|
post: operations["PublicApiService_DeleteUserTags"];
|
|
@@ -511,14 +551,14 @@ export type paths = {
|
|
|
511
551
|
/** Delete users within an organization. */
|
|
512
552
|
post: operations["PublicApiService_DeleteUsers"];
|
|
513
553
|
};
|
|
514
|
-
"/public/v1/submit/delete_velocity_controls": {
|
|
515
|
-
/** Delete existing velocity controls. */
|
|
516
|
-
post: operations["PublicApiService_DeleteVelocityControls"];
|
|
517
|
-
};
|
|
518
554
|
"/public/v1/submit/delete_wallet_accounts": {
|
|
519
555
|
/** Delete wallet accounts for an organization. */
|
|
520
556
|
post: operations["PublicApiService_DeleteWalletAccounts"];
|
|
521
557
|
};
|
|
558
|
+
"/public/v1/submit/delete_wallet_authenticators": {
|
|
559
|
+
/** Remove wallet authenticators from a user. */
|
|
560
|
+
post: operations["PublicApiService_DeleteWalletAuthenticators"];
|
|
561
|
+
};
|
|
522
562
|
"/public/v1/submit/delete_wallets": {
|
|
523
563
|
/** Delete wallets for an organization. */
|
|
524
564
|
post: operations["PublicApiService_DeleteWallets"];
|
|
@@ -564,7 +604,7 @@ export type paths = {
|
|
|
564
604
|
post: operations["PublicApiService_EthUndelegate7702"];
|
|
565
605
|
};
|
|
566
606
|
"/public/v1/submit/execute_swap": {
|
|
567
|
-
/** Execute the
|
|
607
|
+
/** Execute a swap through the activity pipeline and Turnkey broadcasting. With bound_quote, execution is bound to the quote create_swap_quote returned. With market, the swap executes at the provider's price when the activity is approved, within slippage_bps and min_output_amount; use get_indicative_swap_quote to preview that price. Requests must use ACTIVITY_TYPE_EXECUTE_SWAP_V4. */
|
|
568
608
|
post: operations["PublicApiService_ExecuteSwap"];
|
|
569
609
|
};
|
|
570
610
|
"/public/v1/submit/export_private_key": {
|
|
@@ -596,7 +636,7 @@ export type paths = {
|
|
|
596
636
|
post: operations["PublicApiService_ImportWallet"];
|
|
597
637
|
};
|
|
598
638
|
"/public/v1/submit/init_fiat_on_ramp": {
|
|
599
|
-
/**
|
|
639
|
+
/** Deprecated: use CreateFiatOnRampSession with a quote from GetFiatOnRampQuotes. */
|
|
600
640
|
post: operations["PublicApiService_InitFiatOnRamp"];
|
|
601
641
|
};
|
|
602
642
|
"/public/v1/submit/init_import_private_key": {
|
|
@@ -623,6 +663,10 @@ export type paths = {
|
|
|
623
663
|
/** Initialize a new email recovery. */
|
|
624
664
|
post: operations["PublicApiService_InitUserEmailRecovery"];
|
|
625
665
|
};
|
|
666
|
+
"/public/v1/submit/mint_jwt": {
|
|
667
|
+
/** Mint a Turnkey-signed JWT with a given profile. JWT semantics switch on profile. */
|
|
668
|
+
post: operations["PublicApiService_MintJwt"];
|
|
669
|
+
};
|
|
626
670
|
"/public/v1/submit/oauth": {
|
|
627
671
|
/** Authenticate a user with an OIDC token (Oauth). */
|
|
628
672
|
post: operations["PublicApiService_Oauth"];
|
|
@@ -720,9 +764,13 @@ export type paths = {
|
|
|
720
764
|
post: operations["PublicApiService_StampLogin"];
|
|
721
765
|
};
|
|
722
766
|
"/public/v1/submit/update_fiat_on_ramp_credential": {
|
|
723
|
-
/**
|
|
767
|
+
/** Deprecated: use UpdateFiatRampCredential. */
|
|
724
768
|
post: operations["PublicApiService_UpdateFiatOnRampCredential"];
|
|
725
769
|
};
|
|
770
|
+
"/public/v1/submit/update_fiat_ramp_credential": {
|
|
771
|
+
/** Update a fiat ramp provider credential. */
|
|
772
|
+
post: operations["PublicApiService_UpdateFiatRampCredential"];
|
|
773
|
+
};
|
|
726
774
|
"/public/v1/submit/update_mfa_policy": {
|
|
727
775
|
/** Update an MFA policy for a user. */
|
|
728
776
|
post: operations["PublicApiService_UpdateMfaPolicy"];
|
|
@@ -791,6 +839,10 @@ export type paths = {
|
|
|
791
839
|
/** Verify a generic OTP. */
|
|
792
840
|
post: operations["PublicApiService_VerifyOtp"];
|
|
793
841
|
};
|
|
842
|
+
"/public/v1/submit/verify_wallet_authenticator": {
|
|
843
|
+
/** Verify a SIWE or SIWS login and return an enclave-signed wallet verification token. */
|
|
844
|
+
post: operations["PublicApiService_VerifyWalletAuthenticator"];
|
|
845
|
+
};
|
|
794
846
|
"/tkhq/api/v1/noop-codegen-anchor": {
|
|
795
847
|
/** Internal no-op endpoint used to force generation of types not otherwise referenced by a public request or response. Not intended for use. */
|
|
796
848
|
post: operations["PublicApiService_NOOPCodegenAnchor"];
|
|
@@ -1022,7 +1074,7 @@ export type definitions = {
|
|
|
1022
1074
|
/** @enum {string} */
|
|
1023
1075
|
v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED" | "ACTIVITY_STATUS_AUTHENTICATORS_NEEDED";
|
|
1024
1076
|
/** @enum {string} */
|
|
1025
|
-
v1ActivityType: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_APP" | "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION" | "ACTIVITY_TYPE_INIT_OTP_V3" | "ACTIVITY_TYPE_VERIFY_OTP_V2" | "ACTIVITY_TYPE_OTP_LOGIN_V2" | "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2" | "ACTIVITY_TYPE_CREATE_USERS_V4" | "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_SET_IP_ALLOWLIST" | "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST" | "ACTIVITY_TYPE_UPDATE_TVC_APP_LIVE_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_APP_AND_DEPLOYMENTS" | "ACTIVITY_TYPE_RESTORE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_SPARK_SIGN_FROST" | "ACTIVITY_TYPE_SPARK_PREPARE_TRANSFER" | "ACTIVITY_TYPE_SPARK_CLAIM_TRANSFER" | "ACTIVITY_TYPE_SPARK_PREPARE_LIGHTNING_RECEIVE" | "ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHARE" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CREATE_MFA_POLICY" | "ACTIVITY_TYPE_UPDATE_MFA_POLICY" | "ACTIVITY_TYPE_DELETE_MFA_POLICY" | "ACTIVITY_TYPE_CREATE_SESSION_PROFILE" | "ACTIVITY_TYPE_EARN_DEPLOY_WRAPPER" | "ACTIVITY_TYPE_EARN_DEPOSIT" | "ACTIVITY_TYPE_EARN_WITHDRAW" | "ACTIVITY_TYPE_EXECUTE_SWAP" | "ACTIVITY_TYPE_UPSERT_SWAP_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_OPERATOR" | "ACTIVITY_TYPE_CREATE_TVC_QUORUM_KEY" | "ACTIVITY_TYPE_RE_ENCRYPT_TVC_QUORUM_KEY_SHARE" | "ACTIVITY_TYPE_INIT_IMPORT_SECRETS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CLAIM_SWAP_FEES" | "ACTIVITY_TYPE_EARN_SET_WRAPPER_STATE" | "ACTIVITY_TYPE_CLAIM_EARN_FEES" | "ACTIVITY_TYPE_UPDATE_WALLET_ACCOUNT_NAME" | "ACTIVITY_TYPE_ETH_UNDELEGATE_7702" | "ACTIVITY_TYPE_EXECUTE_SWAP_V2" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE" | "ACTIVITY_TYPE_IMPORT_SECRETS" | "ACTIVITY_TYPE_EXPORT_SECRETS" | "
|
|
1077
|
+
v1ActivityType: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_APP" | "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION" | "ACTIVITY_TYPE_INIT_OTP_V3" | "ACTIVITY_TYPE_VERIFY_OTP_V2" | "ACTIVITY_TYPE_OTP_LOGIN_V2" | "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2" | "ACTIVITY_TYPE_CREATE_USERS_V4" | "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_SET_IP_ALLOWLIST" | "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST" | "ACTIVITY_TYPE_UPDATE_TVC_APP_LIVE_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_APP_AND_DEPLOYMENTS" | "ACTIVITY_TYPE_RESTORE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_SPARK_SIGN_FROST" | "ACTIVITY_TYPE_SPARK_PREPARE_TRANSFER" | "ACTIVITY_TYPE_SPARK_CLAIM_TRANSFER" | "ACTIVITY_TYPE_SPARK_PREPARE_LIGHTNING_RECEIVE" | "ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHARE" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CREATE_MFA_POLICY" | "ACTIVITY_TYPE_UPDATE_MFA_POLICY" | "ACTIVITY_TYPE_DELETE_MFA_POLICY" | "ACTIVITY_TYPE_CREATE_SESSION_PROFILE" | "ACTIVITY_TYPE_EARN_DEPLOY_WRAPPER" | "ACTIVITY_TYPE_EARN_DEPOSIT" | "ACTIVITY_TYPE_EARN_WITHDRAW" | "ACTIVITY_TYPE_EXECUTE_SWAP" | "ACTIVITY_TYPE_UPSERT_SWAP_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_OPERATOR" | "ACTIVITY_TYPE_CREATE_TVC_QUORUM_KEY" | "ACTIVITY_TYPE_RE_ENCRYPT_TVC_QUORUM_KEY_SHARE" | "ACTIVITY_TYPE_INIT_IMPORT_SECRETS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CLAIM_SWAP_FEES" | "ACTIVITY_TYPE_EARN_SET_WRAPPER_STATE" | "ACTIVITY_TYPE_CLAIM_EARN_FEES" | "ACTIVITY_TYPE_UPDATE_WALLET_ACCOUNT_NAME" | "ACTIVITY_TYPE_ETH_UNDELEGATE_7702" | "ACTIVITY_TYPE_EXECUTE_SWAP_V2" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE" | "ACTIVITY_TYPE_IMPORT_SECRETS" | "ACTIVITY_TYPE_EXPORT_SECRETS" | "ACTIVITY_TYPE_CREATE_USAGE_CONTROL" | "ACTIVITY_TYPE_DELETE_USAGE_CONTROLS" | "ACTIVITY_TYPE_UPDATE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V2" | "ACTIVITY_TYPE_EXECUTE_SWAP_V3" | "ACTIVITY_TYPE_DELETE_SECRETS" | "ACTIVITY_TYPE_EARN_CLAIM_REWARDS" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V3" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V9" | "ACTIVITY_TYPE_VERIFY_WALLET_AUTHENTICATOR" | "ACTIVITY_TYPE_UPSERT_SWAP_FEE_SPONSORSHIP_LIMIT_CONFIG" | "ACTIVITY_TYPE_UPSERT_SWAP_FIXED_RATE_LIMIT_CONFIG" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_SESSION" | "ACTIVITY_TYPE_CREATE_FIAT_OFF_RAMP_SESSION" | "ACTIVITY_TYPE_ENABLE_SMS_FOR_COUNTRIES" | "ACTIVITY_TYPE_DISABLE_SMS_FOR_COUNTRIES" | "ACTIVITY_TYPE_EXECUTE_SWAP_V4" | "ACTIVITY_TYPE_CREATE_WALLET_AUTHENTICATORS" | "ACTIVITY_TYPE_DELETE_WALLET_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_FIAT_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_CREATE_EXTERNAL_SIGNER_V1" | "ACTIVITY_TYPE_DELETE_EXTERNAL_SIGNER_V1" | "ACTIVITY_TYPE_MINT_JWT";
|
|
1026
1078
|
/** @enum {string} */
|
|
1027
1079
|
v1AddressFormat: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON" | "ADDRESS_FORMAT_SUI" | "ADDRESS_FORMAT_APTOS" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR" | "ADDRESS_FORMAT_SEI" | "ADDRESS_FORMAT_XLM" | "ADDRESS_FORMAT_DOGE_MAINNET" | "ADDRESS_FORMAT_DOGE_TESTNET" | "ADDRESS_FORMAT_TON_V3R2" | "ADDRESS_FORMAT_TON_V4R2" | "ADDRESS_FORMAT_TON_V5R1" | "ADDRESS_FORMAT_XRP" | "ADDRESS_FORMAT_SPARK_MAINNET" | "ADDRESS_FORMAT_SPARK_REGTEST";
|
|
1028
1080
|
v1ApiKey: {
|
|
@@ -1161,7 +1213,7 @@ export type definitions = {
|
|
|
1161
1213
|
id?: string;
|
|
1162
1214
|
};
|
|
1163
1215
|
/** @enum {string} */
|
|
1164
|
-
v1AuthenticationType: "AUTHENTICATION_TYPE_EMAIL_OTP" | "AUTHENTICATION_TYPE_SMS_OTP" | "AUTHENTICATION_TYPE_PASSKEY" | "AUTHENTICATION_TYPE_API_KEY" | "AUTHENTICATION_TYPE_OAUTH" | "AUTHENTICATION_TYPE_SESSION";
|
|
1216
|
+
v1AuthenticationType: "AUTHENTICATION_TYPE_EMAIL_OTP" | "AUTHENTICATION_TYPE_SMS_OTP" | "AUTHENTICATION_TYPE_PASSKEY" | "AUTHENTICATION_TYPE_API_KEY" | "AUTHENTICATION_TYPE_OAUTH" | "AUTHENTICATION_TYPE_SESSION" | "AUTHENTICATION_TYPE_WALLET";
|
|
1165
1217
|
v1Authenticator: {
|
|
1166
1218
|
/** @description Types of transports that may be used by an Authenticator (e.g., USB, NFC, BLE). */
|
|
1167
1219
|
transports: definitions["v1AuthenticatorTransport"][];
|
|
@@ -1206,7 +1258,7 @@ export type definitions = {
|
|
|
1206
1258
|
attestation: definitions["v1Attestation"];
|
|
1207
1259
|
};
|
|
1208
1260
|
/** @enum {string} */
|
|
1209
|
-
v1AuthenticatorTransport: "AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID";
|
|
1261
|
+
v1AuthenticatorTransport: "AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID" | "AUTHENTICATOR_TRANSPORT_SMART_CARD";
|
|
1210
1262
|
v1BootProof: {
|
|
1211
1263
|
/** @description The hex encoded Ephemeral Public Key. */
|
|
1212
1264
|
ephemeralPublicKeyHex: string;
|
|
@@ -1350,6 +1402,49 @@ export type definitions = {
|
|
|
1350
1402
|
/** @description A list of Authenticator IDs. */
|
|
1351
1403
|
authenticatorIds: string[];
|
|
1352
1404
|
};
|
|
1405
|
+
v1CreateExternalSignerIntentV1: {
|
|
1406
|
+
/** @description Human-readable name for the external signer. Must be between 1 and 256 characters. */
|
|
1407
|
+
name: string;
|
|
1408
|
+
/** @description Hex-encoded public key of the external signer. */
|
|
1409
|
+
publicKey: string;
|
|
1410
|
+
};
|
|
1411
|
+
v1CreateExternalSignerRequest: {
|
|
1412
|
+
/** @enum {string} */
|
|
1413
|
+
type: "ACTIVITY_TYPE_CREATE_EXTERNAL_SIGNER_V1";
|
|
1414
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1415
|
+
timestampMs: string;
|
|
1416
|
+
/** @description Unique identifier for a given Organization. */
|
|
1417
|
+
organizationId: string;
|
|
1418
|
+
parameters: definitions["v1CreateExternalSignerIntentV1"];
|
|
1419
|
+
};
|
|
1420
|
+
v1CreateExternalSignerResultV1: {
|
|
1421
|
+
/** @description Hex-encoded public key of the created external signer. */
|
|
1422
|
+
publicKey: string;
|
|
1423
|
+
};
|
|
1424
|
+
v1CreateFiatOffRampSessionIntent: {
|
|
1425
|
+
/** @description Identifier of a saved fiat off-ramp quote. Returned by GetFiatOffRampQuotes. */
|
|
1426
|
+
quoteId: string;
|
|
1427
|
+
/** @description Wallet address for this sale. Coinbase uses it as the source address. MoonPay uses it as the refund address; the user deposits the crypto to MoonPay separately. */
|
|
1428
|
+
walletAddress: string;
|
|
1429
|
+
/** @description URL the provider redirects to after the user submits the sell. Required when the saved quote is from Coinbase. When set for MoonPay, it is included in the signed sell URL so MoonPay can append the deposit address. */
|
|
1430
|
+
redirectUrl?: string;
|
|
1431
|
+
};
|
|
1432
|
+
v1CreateFiatOffRampSessionRequest: {
|
|
1433
|
+
/** @enum {string} */
|
|
1434
|
+
type: "ACTIVITY_TYPE_CREATE_FIAT_OFF_RAMP_SESSION";
|
|
1435
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1436
|
+
timestampMs: string;
|
|
1437
|
+
/** @description Unique identifier for a given Organization. */
|
|
1438
|
+
organizationId: string;
|
|
1439
|
+
parameters: definitions["v1CreateFiatOffRampSessionIntent"];
|
|
1440
|
+
generateAppProofs?: boolean;
|
|
1441
|
+
};
|
|
1442
|
+
v1CreateFiatOffRampSessionResult: {
|
|
1443
|
+
/** @description URL of the fiat off-ramp session for the saved quote. */
|
|
1444
|
+
offRampUrl: string;
|
|
1445
|
+
/** @description Unique identifier used to retrieve transaction statuses for a given fiat off-ramp flow. */
|
|
1446
|
+
offRampTransactionId: string;
|
|
1447
|
+
};
|
|
1353
1448
|
v1CreateFiatOnRampCredentialIntent: {
|
|
1354
1449
|
/** @description The fiat on-ramp provider */
|
|
1355
1450
|
onrampProvider: definitions["v1FiatOnRampProvider"];
|
|
@@ -1379,7 +1474,7 @@ export type definitions = {
|
|
|
1379
1474
|
fiatOnRampCredentialId: string;
|
|
1380
1475
|
};
|
|
1381
1476
|
v1CreateFiatOnRampSessionIntent: {
|
|
1382
|
-
/** @description Identifier of a saved fiat on-ramp quote. Returned by
|
|
1477
|
+
/** @description Identifier of a saved fiat on-ramp quote. Returned by GetFiatOnRampQuotes. */
|
|
1383
1478
|
quoteId: string;
|
|
1384
1479
|
/** @description Destination wallet address for the buy transaction. */
|
|
1385
1480
|
walletAddress: string;
|
|
@@ -1400,6 +1495,30 @@ export type definitions = {
|
|
|
1400
1495
|
/** @description Unique identifier used to retrieve transaction statuses for a given fiat on-ramp flow. */
|
|
1401
1496
|
onRampTransactionId: string;
|
|
1402
1497
|
};
|
|
1498
|
+
v1CreateFiatRampCredentialIntent: {
|
|
1499
|
+
/** @description The fiat ramp provider */
|
|
1500
|
+
provider: definitions["v1FiatRampProvider"];
|
|
1501
|
+
/** @description Non-secret half of the provider credential. MoonPay: publishable key (pk_test_ or pk_live_). Coinbase: CDP API key ID */
|
|
1502
|
+
apiKey: string;
|
|
1503
|
+
/** @description Secret half of the provider credential, encrypted to our on-ramp encryption public key. MoonPay: secret key (sk_test_ or sk_live_). Coinbase: Ed25519 private key */
|
|
1504
|
+
encryptedSecret: string;
|
|
1505
|
+
/** @description If the credential is a sandbox credential */
|
|
1506
|
+
sandboxMode?: boolean;
|
|
1507
|
+
};
|
|
1508
|
+
v1CreateFiatRampCredentialRequest: {
|
|
1509
|
+
/** @enum {string} */
|
|
1510
|
+
type: "ACTIVITY_TYPE_CREATE_FIAT_RAMP_CREDENTIAL";
|
|
1511
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1512
|
+
timestampMs: string;
|
|
1513
|
+
/** @description Unique identifier for a given Organization. */
|
|
1514
|
+
organizationId: string;
|
|
1515
|
+
parameters: definitions["v1CreateFiatRampCredentialIntent"];
|
|
1516
|
+
generateAppProofs?: boolean;
|
|
1517
|
+
};
|
|
1518
|
+
v1CreateFiatRampCredentialResult: {
|
|
1519
|
+
/** @description Unique identifier of the fiat ramp credential that was created */
|
|
1520
|
+
credentialId: string;
|
|
1521
|
+
};
|
|
1403
1522
|
v1CreateInvitationsIntent: {
|
|
1404
1523
|
/** @description A list of Invitations. */
|
|
1405
1524
|
invitations: definitions["v1InvitationParams"][];
|
|
@@ -1617,8 +1736,10 @@ export type definitions = {
|
|
|
1617
1736
|
v1CreatePrivateKeysIntentV2: {
|
|
1618
1737
|
/** @description A list of Private Keys. */
|
|
1619
1738
|
privateKeys: definitions["v1PrivateKeyParams"][];
|
|
1620
|
-
/** @description The public key of the external signer to use for creating the private keys. */
|
|
1739
|
+
/** @description The public key of the external signer to use for creating the private keys. Only needed for external signer requests. */
|
|
1621
1740
|
externalSignerPubkey?: string;
|
|
1741
|
+
/** @description The object ID of the wrapping key the external signer will use when creating the private keys. Only needed for external signer requests. */
|
|
1742
|
+
externalSignerWrappingKeyId?: string;
|
|
1622
1743
|
};
|
|
1623
1744
|
v1CreatePrivateKeysRequest: {
|
|
1624
1745
|
/** @enum {string} */
|
|
@@ -1907,6 +2028,31 @@ export type definitions = {
|
|
|
1907
2028
|
/** @description Optional signature proving authorization for this sub-organization creation. The signature is over the verification token ID and the root user parameters for the root user associated with the verification token. Only required if a public key was provided during the verification step. */
|
|
1908
2029
|
clientSignature?: definitions["v1ClientSignature"];
|
|
1909
2030
|
};
|
|
2031
|
+
v1CreateSubOrganizationIntentV9: {
|
|
2032
|
+
/** @description Name for this sub-organization */
|
|
2033
|
+
subOrganizationName: string;
|
|
2034
|
+
/** @description Root users to create within this sub-organization */
|
|
2035
|
+
rootUsers: definitions["v1RootUserParamsV6"][];
|
|
2036
|
+
/**
|
|
2037
|
+
* Format: int32
|
|
2038
|
+
* @description The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
|
|
2039
|
+
*/
|
|
2040
|
+
rootQuorumThreshold: number;
|
|
2041
|
+
/** @description The wallet to create for the sub-organization */
|
|
2042
|
+
wallet?: definitions["v1WalletParams"];
|
|
2043
|
+
/** @description Disable email recovery for the sub-organization */
|
|
2044
|
+
disableEmailRecovery?: boolean;
|
|
2045
|
+
/** @description Disable email auth for the sub-organization */
|
|
2046
|
+
disableEmailAuth?: boolean;
|
|
2047
|
+
/** @description Disable OTP SMS auth for the sub-organization */
|
|
2048
|
+
disableSmsAuth?: boolean;
|
|
2049
|
+
/** @description Disable OTP email auth for the sub-organization */
|
|
2050
|
+
disableOtpEmailAuth?: boolean;
|
|
2051
|
+
/** @description Signed JWT containing a unique id, expiry, verification type, contact */
|
|
2052
|
+
verificationToken?: string;
|
|
2053
|
+
/** @description Optional signature proving authorization for this sub-organization creation. The signature is over the verification token ID and the root user parameters for the root user associated with the verification token. Only required if a public key was provided during the verification step. */
|
|
2054
|
+
clientSignature?: definitions["v1ClientSignature"];
|
|
2055
|
+
};
|
|
1910
2056
|
v1CreateSubOrganizationRequest: {
|
|
1911
2057
|
/** @enum {string} */
|
|
1912
2058
|
type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8";
|
|
@@ -1952,6 +2098,11 @@ export type definitions = {
|
|
|
1952
2098
|
wallet?: definitions["v1WalletResult"];
|
|
1953
2099
|
rootUserIds?: string[];
|
|
1954
2100
|
};
|
|
2101
|
+
v1CreateSubOrganizationResultV9: {
|
|
2102
|
+
subOrganizationId: string;
|
|
2103
|
+
wallet?: definitions["v1WalletResult"];
|
|
2104
|
+
rootUserIds?: string[];
|
|
2105
|
+
};
|
|
1955
2106
|
v1CreateSwapQuoteIntent: {
|
|
1956
2107
|
/** @description Wallet account or Private Key address used to price the executable provider quote. Private Key identifiers are not supported. */
|
|
1957
2108
|
signWith: string;
|
|
@@ -1991,7 +2142,7 @@ export type definitions = {
|
|
|
1991
2142
|
slippageBps?: string;
|
|
1992
2143
|
/** @description Raw public address that receives the output asset. Required for cross-protocol swaps. The address must match the output token protocol. Wallet account IDs, private key IDs, and CAIP account or asset identifiers are not supported. */
|
|
1993
2144
|
destinationAddress?: string;
|
|
1994
|
-
/** @description When true, Turnkey pays the
|
|
2145
|
+
/** @description When true, Turnkey pays the execution costs for this swap and invoices them to the billing parent organization as Swap Execution. Requires the FEATURE_NAME_SWAP_FEE_SPONSORSHIP organization feature. Defaults to false. */
|
|
1995
2146
|
feeSponsorship?: boolean;
|
|
1996
2147
|
/** @description When true, requests a 1:1 conversion before fees between supported stablecoins. Requires the FEATURE_NAME_SWAP_FIXED_RATE organization feature. Defaults to false. */
|
|
1997
2148
|
fixedRate?: boolean;
|
|
@@ -2031,6 +2182,8 @@ export type definitions = {
|
|
|
2031
2182
|
enableEgress?: boolean;
|
|
2032
2183
|
/** @description When true, this app may create deployments in debug-mode. Debug-mode deployments expose logs and emit zero'd attestation PCRs, so remote attestation cannot succeed. Cannot be changed after app creation. Setting this true means the app's quorum key is considered permanently insecure, and a new app with a fresh quorum key must be created. Default if not provided: false. */
|
|
2033
2184
|
enableDebugModeDeployments?: boolean;
|
|
2185
|
+
/** @description AWS region in which to place this TVC application. Allowed values: us-east-1, ap-southeast-1. Default if not provided: us-east-1. */
|
|
2186
|
+
region?: string;
|
|
2034
2187
|
};
|
|
2035
2188
|
v1CreateTvcAppRequest: {
|
|
2036
2189
|
/** @enum {string} */
|
|
@@ -2112,6 +2265,11 @@ export type definitions = {
|
|
|
2112
2265
|
* @description Optional desired instance memory size in GiB.
|
|
2113
2266
|
*/
|
|
2114
2267
|
instanceSizeRam?: number;
|
|
2268
|
+
/**
|
|
2269
|
+
* Format: byte
|
|
2270
|
+
* @description Optional client-generated QOS manifest.
|
|
2271
|
+
*/
|
|
2272
|
+
qosManifest?: string;
|
|
2115
2273
|
};
|
|
2116
2274
|
v1CreateTvcDeploymentRequest: {
|
|
2117
2275
|
/** @enum {string} */
|
|
@@ -2204,6 +2362,29 @@ export type definitions = {
|
|
|
2204
2362
|
/** @description The unique identifier(s) for the generated TVC quorum key shares */
|
|
2205
2363
|
shareIds: string[];
|
|
2206
2364
|
};
|
|
2365
|
+
v1CreateUsageControlIntent: {
|
|
2366
|
+
/** @description Human-readable name for the Usage Control. */
|
|
2367
|
+
name: string;
|
|
2368
|
+
/** @description Data source for the Usage Control. */
|
|
2369
|
+
dataSource: definitions["v1UsageControlDataSource"];
|
|
2370
|
+
/** @description Aggregation expression that the Usage Control evaluates. */
|
|
2371
|
+
aggregation: definitions["v1UsageControlAggregation"];
|
|
2372
|
+
/** @description Identifier for the Usage Control. Policies reference it as `controls.<identifier>`. It must be unique within the Organization. */
|
|
2373
|
+
identifier: string;
|
|
2374
|
+
};
|
|
2375
|
+
v1CreateUsageControlRequest: {
|
|
2376
|
+
/** @enum {string} */
|
|
2377
|
+
type: "ACTIVITY_TYPE_CREATE_USAGE_CONTROL";
|
|
2378
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2379
|
+
timestampMs: string;
|
|
2380
|
+
/** @description Unique identifier for a given Organization. */
|
|
2381
|
+
organizationId: string;
|
|
2382
|
+
parameters: definitions["v1CreateUsageControlIntent"];
|
|
2383
|
+
generateAppProofs?: boolean;
|
|
2384
|
+
};
|
|
2385
|
+
v1CreateUsageControlResult: {
|
|
2386
|
+
usageControlId: string;
|
|
2387
|
+
};
|
|
2207
2388
|
v1CreateUserTagIntent: {
|
|
2208
2389
|
/** @description Human-readable name for a User Tag. */
|
|
2209
2390
|
userTagName: string;
|
|
@@ -2256,29 +2437,6 @@ export type definitions = {
|
|
|
2256
2437
|
/** @description A list of User IDs. */
|
|
2257
2438
|
userIds: string[];
|
|
2258
2439
|
};
|
|
2259
|
-
v1CreateVelocityControlIntent: {
|
|
2260
|
-
/** @description Human-readable name for the Velocity Control. */
|
|
2261
|
-
name: string;
|
|
2262
|
-
/** @description Data source for the Velocity Control. */
|
|
2263
|
-
dataSource: definitions["v1VelocityControlDataSource"];
|
|
2264
|
-
/** @description Aggregation expression that the Velocity Control evaluates. */
|
|
2265
|
-
aggregation: definitions["v1VelocityControlAggregation"];
|
|
2266
|
-
/** @description Identifier for the Velocity Control. Policies reference it as `controls.<identifier>`. It must be unique within the Organization. */
|
|
2267
|
-
identifier: string;
|
|
2268
|
-
};
|
|
2269
|
-
v1CreateVelocityControlRequest: {
|
|
2270
|
-
/** @enum {string} */
|
|
2271
|
-
type: "ACTIVITY_TYPE_CREATE_VELOCITY_CONTROL";
|
|
2272
|
-
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2273
|
-
timestampMs: string;
|
|
2274
|
-
/** @description Unique identifier for a given Organization. */
|
|
2275
|
-
organizationId: string;
|
|
2276
|
-
parameters: definitions["v1CreateVelocityControlIntent"];
|
|
2277
|
-
generateAppProofs?: boolean;
|
|
2278
|
-
};
|
|
2279
|
-
v1CreateVelocityControlResult: {
|
|
2280
|
-
velocityControlId: string;
|
|
2281
|
-
};
|
|
2282
2440
|
v1CreateWalletAccountsIntent: {
|
|
2283
2441
|
/** @description Unique identifier for a given Wallet. */
|
|
2284
2442
|
walletId: string;
|
|
@@ -2301,6 +2459,26 @@ export type definitions = {
|
|
|
2301
2459
|
/** @description A list of derived addresses. */
|
|
2302
2460
|
addresses: string[];
|
|
2303
2461
|
};
|
|
2462
|
+
v1CreateWalletAuthenticatorsIntent: {
|
|
2463
|
+
/** @description The ID of the User to add wallet authenticators to. */
|
|
2464
|
+
userId: string;
|
|
2465
|
+
/** @description Wallet authenticators to add. Each entry is a type, address, and domain. verification_token is optional. */
|
|
2466
|
+
walletAuthenticators: definitions["v1WalletAuthenticatorParams"][];
|
|
2467
|
+
};
|
|
2468
|
+
v1CreateWalletAuthenticatorsRequest: {
|
|
2469
|
+
/** @enum {string} */
|
|
2470
|
+
type: "ACTIVITY_TYPE_CREATE_WALLET_AUTHENTICATORS";
|
|
2471
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2472
|
+
timestampMs: string;
|
|
2473
|
+
/** @description Unique identifier for a given Organization. */
|
|
2474
|
+
organizationId: string;
|
|
2475
|
+
parameters: definitions["v1CreateWalletAuthenticatorsIntent"];
|
|
2476
|
+
generateAppProofs?: boolean;
|
|
2477
|
+
};
|
|
2478
|
+
v1CreateWalletAuthenticatorsResult: {
|
|
2479
|
+
/** @description IDs of the wallet authenticators created. */
|
|
2480
|
+
walletAuthenticatorIds: string[];
|
|
2481
|
+
};
|
|
2304
2482
|
v1CreateWalletIntent: {
|
|
2305
2483
|
/** @description Human-readable name for a Wallet. */
|
|
2306
2484
|
walletName: string;
|
|
@@ -2405,6 +2583,23 @@ export type definitions = {
|
|
|
2405
2583
|
/** @description Unique identifier for a given Authenticator. */
|
|
2406
2584
|
authenticatorIds: string[];
|
|
2407
2585
|
};
|
|
2586
|
+
v1DeleteExternalSignerIntentV1: {
|
|
2587
|
+
/** @description Hex-encoded public key of the external signer to delete. The external signer must belong to the organization. */
|
|
2588
|
+
publicKey: string;
|
|
2589
|
+
};
|
|
2590
|
+
v1DeleteExternalSignerRequest: {
|
|
2591
|
+
/** @enum {string} */
|
|
2592
|
+
type: "ACTIVITY_TYPE_DELETE_EXTERNAL_SIGNER_V1";
|
|
2593
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2594
|
+
timestampMs: string;
|
|
2595
|
+
/** @description Unique identifier for a given Organization. */
|
|
2596
|
+
organizationId: string;
|
|
2597
|
+
parameters: definitions["v1DeleteExternalSignerIntentV1"];
|
|
2598
|
+
};
|
|
2599
|
+
v1DeleteExternalSignerResultV1: {
|
|
2600
|
+
/** @description Hex-encoded public key of the deleted external signer. */
|
|
2601
|
+
publicKey: string;
|
|
2602
|
+
};
|
|
2408
2603
|
v1DeleteFiatOnRampCredentialIntent: {
|
|
2409
2604
|
/** @description The ID of the fiat on-ramp credential to delete */
|
|
2410
2605
|
fiatOnrampCredentialId: string;
|
|
@@ -2671,6 +2866,24 @@ export type definitions = {
|
|
|
2671
2866
|
/** @description The unique identifier of the deleted TVC deployment. */
|
|
2672
2867
|
deploymentId: string;
|
|
2673
2868
|
};
|
|
2869
|
+
v1DeleteUsageControlsIntent: {
|
|
2870
|
+
/** @description List of 1 to 32 unique identifiers for Usage Controls within an Organization. */
|
|
2871
|
+
usageControlIds: string[];
|
|
2872
|
+
};
|
|
2873
|
+
v1DeleteUsageControlsRequest: {
|
|
2874
|
+
/** @enum {string} */
|
|
2875
|
+
type: "ACTIVITY_TYPE_DELETE_USAGE_CONTROLS";
|
|
2876
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2877
|
+
timestampMs: string;
|
|
2878
|
+
/** @description Unique identifier for a given Organization. */
|
|
2879
|
+
organizationId: string;
|
|
2880
|
+
parameters: definitions["v1DeleteUsageControlsIntent"];
|
|
2881
|
+
generateAppProofs?: boolean;
|
|
2882
|
+
};
|
|
2883
|
+
v1DeleteUsageControlsResult: {
|
|
2884
|
+
/** @description A list of unique identifiers for the deleted Usage Controls. */
|
|
2885
|
+
usageControlIds: string[];
|
|
2886
|
+
};
|
|
2674
2887
|
v1DeleteUserTagsIntent: {
|
|
2675
2888
|
/** @description A list of User Tag IDs. */
|
|
2676
2889
|
userTagIds: string[];
|
|
@@ -2709,24 +2922,6 @@ export type definitions = {
|
|
|
2709
2922
|
/** @description A list of User IDs. */
|
|
2710
2923
|
userIds: string[];
|
|
2711
2924
|
};
|
|
2712
|
-
v1DeleteVelocityControlsIntent: {
|
|
2713
|
-
/** @description List of 1 to 32 unique identifiers for Velocity Controls within an Organization. */
|
|
2714
|
-
velocityControlIds: string[];
|
|
2715
|
-
};
|
|
2716
|
-
v1DeleteVelocityControlsRequest: {
|
|
2717
|
-
/** @enum {string} */
|
|
2718
|
-
type: "ACTIVITY_TYPE_DELETE_VELOCITY_CONTROLS";
|
|
2719
|
-
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2720
|
-
timestampMs: string;
|
|
2721
|
-
/** @description Unique identifier for a given Organization. */
|
|
2722
|
-
organizationId: string;
|
|
2723
|
-
parameters: definitions["v1DeleteVelocityControlsIntent"];
|
|
2724
|
-
generateAppProofs?: boolean;
|
|
2725
|
-
};
|
|
2726
|
-
v1DeleteVelocityControlsResult: {
|
|
2727
|
-
/** @description A list of unique identifiers for the deleted Velocity Controls. */
|
|
2728
|
-
velocityControlIds: string[];
|
|
2729
|
-
};
|
|
2730
2925
|
v1DeleteWalletAccountsIntent: {
|
|
2731
2926
|
/** @description List of unique identifiers for wallet accounts within an organization */
|
|
2732
2927
|
walletAccountIds: string[];
|
|
@@ -2747,6 +2942,26 @@ export type definitions = {
|
|
|
2747
2942
|
/** @description A list of wallet account unique identifiers that were removed */
|
|
2748
2943
|
walletAccountIds: string[];
|
|
2749
2944
|
};
|
|
2945
|
+
v1DeleteWalletAuthenticatorsIntent: {
|
|
2946
|
+
/** @description The ID of the User to remove wallet authenticators from. */
|
|
2947
|
+
userId: string;
|
|
2948
|
+
/** @description IDs of the wallet authenticators to delete. */
|
|
2949
|
+
walletAuthenticatorIds: string[];
|
|
2950
|
+
};
|
|
2951
|
+
v1DeleteWalletAuthenticatorsRequest: {
|
|
2952
|
+
/** @enum {string} */
|
|
2953
|
+
type: "ACTIVITY_TYPE_DELETE_WALLET_AUTHENTICATORS";
|
|
2954
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2955
|
+
timestampMs: string;
|
|
2956
|
+
/** @description Unique identifier for a given Organization. */
|
|
2957
|
+
organizationId: string;
|
|
2958
|
+
parameters: definitions["v1DeleteWalletAuthenticatorsIntent"];
|
|
2959
|
+
generateAppProofs?: boolean;
|
|
2960
|
+
};
|
|
2961
|
+
v1DeleteWalletAuthenticatorsResult: {
|
|
2962
|
+
/** @description IDs of the wallet authenticators deleted. */
|
|
2963
|
+
walletAuthenticatorIds: string[];
|
|
2964
|
+
};
|
|
2750
2965
|
v1DeleteWalletsIntent: {
|
|
2751
2966
|
/** @description List of unique identifiers for wallets within an organization */
|
|
2752
2967
|
walletIds: string[];
|
|
@@ -2817,6 +3032,13 @@ export type definitions = {
|
|
|
2817
3032
|
/** @description Unique identifier for a given Private Key. */
|
|
2818
3033
|
privateKeyId: string;
|
|
2819
3034
|
};
|
|
3035
|
+
v1DisableSmsForCountriesIntent: {
|
|
3036
|
+
/** @description ISO 3166-1 alpha-2 country codes to remove from the SMS allowlist, such as US or CA. Must contain between 1 and 300 codes. This activity only removes countries. */
|
|
3037
|
+
isoCodes: string[];
|
|
3038
|
+
};
|
|
3039
|
+
v1DisableSmsForCountriesResult: {
|
|
3040
|
+
[key: string]: unknown;
|
|
3041
|
+
};
|
|
2820
3042
|
v1EarnClaimRewardsIntent: {
|
|
2821
3043
|
/** @description A Turnkey-managed wallet address the rewards are attributed to. The claim transaction is signed by this wallet and the Merkl Distributor transfers every reward token to it. */
|
|
2822
3044
|
signWith: string;
|
|
@@ -3279,6 +3501,13 @@ export type definitions = {
|
|
|
3279
3501
|
/** @description A User ID with permission to initiate authentication. */
|
|
3280
3502
|
userId: string;
|
|
3281
3503
|
};
|
|
3504
|
+
v1EnableSmsForCountriesIntent: {
|
|
3505
|
+
/** @description ISO 3166-1 alpha-2 country codes to allow for SMS, such as US or CA. Must contain between 1 and 300 codes. This activity only adds countries. */
|
|
3506
|
+
isoCodes: string[];
|
|
3507
|
+
};
|
|
3508
|
+
v1EnableSmsForCountriesResult: {
|
|
3509
|
+
[key: string]: unknown;
|
|
3510
|
+
};
|
|
3282
3511
|
v1EthCallParams: {
|
|
3283
3512
|
/** @description Recipient address as a hex string with 0x prefix. */
|
|
3284
3513
|
to: string;
|
|
@@ -3446,6 +3675,14 @@ export type definitions = {
|
|
|
3446
3675
|
/** @description The send_transaction_status ID associated with the undelegation transaction submission */
|
|
3447
3676
|
sendTransactionStatusId: string;
|
|
3448
3677
|
};
|
|
3678
|
+
v1ExecuteSwapBoundQuote: {
|
|
3679
|
+
/** @description Quote identifier returned by create_swap_quote. Execution is bound to this quote; the signer is derived from the quote and must not be resupplied. */
|
|
3680
|
+
quoteId: string;
|
|
3681
|
+
/** @description Exact quoted base-unit output amount committed by the quote. */
|
|
3682
|
+
quotedOutputAmount: string;
|
|
3683
|
+
/** @description Exact minimum base-unit output committed by the quote. */
|
|
3684
|
+
minOutputAmount: string;
|
|
3685
|
+
};
|
|
3449
3686
|
v1ExecuteSwapIntent: {
|
|
3450
3687
|
/** @description CAIP-19 asset ID for the input asset. The chain is derived from this value. */
|
|
3451
3688
|
inputToken: string;
|
|
@@ -3510,14 +3747,48 @@ export type definitions = {
|
|
|
3510
3747
|
/** @description Raw public address that receives the output asset. Required for cross-protocol swaps. The address must match the output token protocol. Wallet account IDs, private key IDs, and CAIP account or asset identifiers are not supported. */
|
|
3511
3748
|
destinationAddress?: string;
|
|
3512
3749
|
};
|
|
3750
|
+
v1ExecuteSwapIntentV4: {
|
|
3751
|
+
/** @description CAIP-19 asset ID for the input asset. */
|
|
3752
|
+
inputToken: string;
|
|
3753
|
+
/** @description Exact base-unit amount of the input asset. */
|
|
3754
|
+
inputAmount: string;
|
|
3755
|
+
/** @description CAIP-19 asset ID for the output asset. */
|
|
3756
|
+
outputToken: string;
|
|
3757
|
+
/** @description Whether the swap transaction is gas sponsored. */
|
|
3758
|
+
sponsor: boolean;
|
|
3759
|
+
/** @description Raw public address that receives the output asset. Required for cross-protocol swaps and rejected otherwise. The address must match the output token protocol. Wallet account IDs, private key IDs, and CAIP account or asset identifiers are not supported. */
|
|
3760
|
+
destinationAddress?: string;
|
|
3761
|
+
/** @description Exact EVM sender (EOA account) nonce. Valid only for a non-sponsored EVM swap. Honored for already-delegated (Type-2) batch swaps and single-call swaps; ignored for not-yet-delegated EIP-7702 (Type-4) batches where the outer nonce is derived from the authorization. Prefer gas_station_nonce for batch replay protection and use the nonces endpoint to fetch it. Omit to auto-fetch. */
|
|
3762
|
+
evmNonce?: string;
|
|
3763
|
+
/** @description Exact Solana recent blockhash. Valid only for a Solana swap, including sponsored swaps. Omit to auto-fetch. */
|
|
3764
|
+
recentBlockhash?: string;
|
|
3765
|
+
/** @description Exact gas station delegate contract nonce used in the BatchExecution EIP-712 message. Valid for sponsored EVM swaps and non-sponsored EVM swaps that execute as a multi-call batch (for example ERC-20 approve + swap). This is the replay-protection nonce for gas-station batches; use the nonces endpoint to fetch it. Omit to auto-fetch. */
|
|
3766
|
+
gasStationNonce?: string;
|
|
3767
|
+
/** @description Execute a quote returned by create_swap_quote at its exact terms. */
|
|
3768
|
+
boundQuote?: definitions["v1ExecuteSwapBoundQuote"];
|
|
3769
|
+
/** @description Execute at the provider's price when the activity is approved, within the signed slippage and optional price floor. */
|
|
3770
|
+
market?: definitions["v1ExecuteSwapMarketTerms"];
|
|
3771
|
+
};
|
|
3772
|
+
v1ExecuteSwapMarketTerms: {
|
|
3773
|
+
/** @description Wallet account address that sends the input asset. Private Key identifiers are not supported. */
|
|
3774
|
+
signWith: string;
|
|
3775
|
+
/** @description Maximum allowed slippage in basis points, at most 5000. When omitted, the provider chooses the slippage. The swap executes at the provider's price when the activity is approved, so the slippage and min_output_amount are its only price protection. */
|
|
3776
|
+
slippageBps?: string;
|
|
3777
|
+
/** @description Optional price floor in base units of the output asset. When set, the swap fails unless the provider's minimum output after slippage is at least this amount. */
|
|
3778
|
+
minOutputAmount?: string;
|
|
3779
|
+
/** @description When true, Turnkey pays the execution costs for this swap and invoices them to the billing parent organization as Swap Execution. Requires the FEATURE_NAME_SWAP_FEE_SPONSORSHIP organization feature. Defaults to false. */
|
|
3780
|
+
feeSponsorship?: boolean;
|
|
3781
|
+
/** @description When true, requests a 1:1 conversion before fees between supported stablecoins. Requires the FEATURE_NAME_SWAP_FIXED_RATE organization feature. Defaults to false. */
|
|
3782
|
+
fixedRate?: boolean;
|
|
3783
|
+
};
|
|
3513
3784
|
v1ExecuteSwapRequest: {
|
|
3514
3785
|
/** @enum {string} */
|
|
3515
|
-
type: "
|
|
3786
|
+
type: "ACTIVITY_TYPE_EXECUTE_SWAP_V4";
|
|
3516
3787
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3517
3788
|
timestampMs: string;
|
|
3518
3789
|
/** @description Unique identifier for a given Organization. */
|
|
3519
3790
|
organizationId: string;
|
|
3520
|
-
parameters: definitions["
|
|
3791
|
+
parameters: definitions["v1ExecuteSwapIntentV4"];
|
|
3521
3792
|
generateAppProofs?: boolean;
|
|
3522
3793
|
};
|
|
3523
3794
|
v1ExecuteSwapResult: {
|
|
@@ -3527,6 +3798,16 @@ export type definitions = {
|
|
|
3527
3798
|
provider?: string;
|
|
3528
3799
|
/** @description Quote identifier used for execution, if any. */
|
|
3529
3800
|
quoteId?: string;
|
|
3801
|
+
/** @description Quoted base-unit amount of the output asset. Set by execute_swap V4. */
|
|
3802
|
+
outputAmount?: string;
|
|
3803
|
+
/** @description Minimum base-unit amount of the output asset after slippage. Set by execute_swap V4. */
|
|
3804
|
+
minOutputAmount?: string;
|
|
3805
|
+
/** @description Whether Turnkey paid the execution costs for this swap. Set by execute_swap V4. */
|
|
3806
|
+
feeSponsorship?: boolean;
|
|
3807
|
+
/** @description Whether this swap used a 1:1 fixed rate. Set by execute_swap V4. */
|
|
3808
|
+
fixedRate?: boolean;
|
|
3809
|
+
/** @description Estimated charges this swap adds to your invoice, one field per swap line item, from the executed quote. Present when fee_sponsorship or fixed_rate is true. Informational; the final amounts are settled after execution and reported by get_swap_status. Set by execute_swap V4. */
|
|
3810
|
+
estimatedCharges?: definitions["v1SwapCharges"];
|
|
3530
3811
|
};
|
|
3531
3812
|
v1ExportPrivateKeyIntent: {
|
|
3532
3813
|
/** @description Unique identifier for a given Private Key. */
|
|
@@ -3629,34 +3910,44 @@ export type definitions = {
|
|
|
3629
3910
|
};
|
|
3630
3911
|
/** @enum {string} */
|
|
3631
3912
|
v1FeatureName: "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY" | "FEATURE_NAME_WEBAUTHN_ORIGINS" | "FEATURE_NAME_EMAIL_AUTH" | "FEATURE_NAME_EMAIL_RECOVERY" | "FEATURE_NAME_WEBHOOK" | "FEATURE_NAME_SMS_AUTH" | "FEATURE_NAME_OTP_EMAIL_AUTH" | "FEATURE_NAME_AUTH_PROXY" | "FEATURE_NAME_SOLANA_RENT_PREFUND_ENABLED" | "FEATURE_NAME_SWAP_CONFIG" | "FEATURE_NAME_EARN_CONFIG" | "FEATURE_NAME_SWAP_FEE_SPONSORSHIP" | "FEATURE_NAME_SWAP_FIXED_RATE";
|
|
3632
|
-
|
|
3633
|
-
/** @description
|
|
3634
|
-
|
|
3913
|
+
v1FiatOffRampQuote: {
|
|
3914
|
+
/** @description Identifier for this saved quote. */
|
|
3915
|
+
quoteId: string;
|
|
3916
|
+
/** @description Provider that produced this quote. */
|
|
3917
|
+
provider: definitions["v1FiatRampProvider"];
|
|
3918
|
+
/** @description Underlying provider when provider aggregates several. */
|
|
3919
|
+
serviceProvider?: string;
|
|
3920
|
+
/** @description Fiat the user receives, in atomic units of fiat_currency_code. For USD, 100 dollars is "10000". */
|
|
3921
|
+
fiatAmount: definitions["v1FiatRampAmount"];
|
|
3922
|
+
/** @description Fiat currency of fiat_amount and total_fee. */
|
|
3923
|
+
fiatCurrencyCode: definitions["v1FiatRampCurrency"];
|
|
3924
|
+
/** @description Cryptocurrency the user would sell, in atomic units. Not locked in the session. */
|
|
3925
|
+
cryptoAmount: definitions["v1FiatRampAmount"];
|
|
3635
3926
|
/**
|
|
3636
|
-
*
|
|
3637
|
-
* @
|
|
3927
|
+
* @description CAIP-19 asset of crypto_amount. Each value is supported for both Coinbase and MoonPay sell, the same set as on-ramp.
|
|
3928
|
+
* @enum {string}
|
|
3638
3929
|
*/
|
|
3639
|
-
|
|
3640
|
-
/** @description
|
|
3641
|
-
|
|
3930
|
+
caip19: "eip155:1/slip44:60" | "eip155:10/slip44:60" | "eip155:137/erc20:0x7ceb23fd6bc0add59e62ac25578270cff1b9f619" | "eip155:8453/slip44:60" | "eip155:42161/slip44:60" | "eip155:1/erc20:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" | "eip155:10/erc20:0x0b2c639c533813f4aa9d7837caf62653d097ff85" | "eip155:137/erc20:0x3c499c542cef5e3811e1192ce70d8cc03d5c3359" | "eip155:8453/erc20:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" | "eip155:42161/erc20:0xaf88d065e77c8cc2239327c5edb3a432268e5831" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/slip44:501" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/token:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
|
3931
|
+
/** @description Payout method this quote was priced for. */
|
|
3932
|
+
paymentMethod: definitions["v1FiatRampPaymentMethod"];
|
|
3933
|
+
/** @description Total fee in atomic units of fiat_currency_code. */
|
|
3934
|
+
totalFee: definitions["v1FiatRampAmount"];
|
|
3935
|
+
/** @description Quote expiration as a millisecond epoch string. Empty when the provider does not send one. */
|
|
3936
|
+
expiresAt?: string;
|
|
3642
3937
|
};
|
|
3643
3938
|
/** @enum {string} */
|
|
3644
3939
|
v1FiatOnRampBlockchainNetwork: "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_ETHEREUM" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_SOLANA" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BASE";
|
|
3645
3940
|
v1FiatOnRampCredential: {
|
|
3646
|
-
/** @description Unique identifier for a given
|
|
3647
|
-
|
|
3941
|
+
/** @description Unique identifier for a given fiat ramp credential. */
|
|
3942
|
+
credentialId: string;
|
|
3648
3943
|
/** @description Unique identifier for an Organization. */
|
|
3649
3944
|
organizationId: string;
|
|
3650
|
-
/** @description The fiat
|
|
3651
|
-
|
|
3652
|
-
/** @description
|
|
3653
|
-
|
|
3654
|
-
/** @description
|
|
3655
|
-
|
|
3656
|
-
/** @description Secret API key for the on-ramp provider encrypted to our on-ramp encryption public key. */
|
|
3657
|
-
encryptedSecretApiKey: string;
|
|
3658
|
-
/** @description Private API key for the on-ramp provider encrypted to our on-ramp encryption public key. Some providers, like Coinbase, require this additional key. */
|
|
3659
|
-
encryptedPrivateApiKey?: string;
|
|
3945
|
+
/** @description The fiat ramp provider. */
|
|
3946
|
+
provider: definitions["v1FiatRampProvider"];
|
|
3947
|
+
/** @description Non-secret half of the provider credential. MoonPay: publishable key (pk_test_ or pk_live_). Coinbase: CDP API key ID. */
|
|
3948
|
+
apiKey: string;
|
|
3949
|
+
/** @description Secret half of the provider credential, encrypted to our on-ramp encryption public key. MoonPay: secret key (sk_test_ or sk_live_). Coinbase: Ed25519 private key. */
|
|
3950
|
+
encryptedSecret: string;
|
|
3660
3951
|
/** @description If the on-ramp credential is a sandbox credential. */
|
|
3661
3952
|
sandboxMode?: boolean;
|
|
3662
3953
|
createdAt: definitions["externaldatav1Timestamp"];
|
|
@@ -3674,27 +3965,44 @@ export type definitions = {
|
|
|
3674
3965
|
/** @description Identifier for this saved quote. Pass this to the create on ramp session activity. */
|
|
3675
3966
|
quoteId: string;
|
|
3676
3967
|
/** @description Provider that produced this quote. */
|
|
3677
|
-
|
|
3678
|
-
/** @description Underlying provider when
|
|
3968
|
+
provider: definitions["v1FiatRampProvider"];
|
|
3969
|
+
/** @description Underlying provider when provider aggregates several. */
|
|
3679
3970
|
serviceProvider?: string;
|
|
3680
3971
|
/** @description Fiat the user pays, in atomic units of fiat_currency_code. For USD, 100 dollars is "10000". */
|
|
3681
|
-
fiatAmount: definitions["
|
|
3972
|
+
fiatAmount: definitions["v1FiatRampAmount"];
|
|
3682
3973
|
/** @description Fiat currency of fiat_amount and total_fee. */
|
|
3683
|
-
fiatCurrencyCode: definitions["
|
|
3974
|
+
fiatCurrencyCode: definitions["v1FiatRampCurrency"];
|
|
3684
3975
|
/** @description Cryptocurrency the user would receive, in atomic units. Not locked in the session. */
|
|
3685
|
-
cryptoAmount: definitions["
|
|
3976
|
+
cryptoAmount: definitions["v1FiatRampAmount"];
|
|
3686
3977
|
/**
|
|
3687
3978
|
* @description CAIP-19 asset of crypto_amount.
|
|
3688
3979
|
* @enum {string}
|
|
3689
3980
|
*/
|
|
3690
3981
|
caip19: "eip155:1/slip44:60" | "eip155:10/slip44:60" | "eip155:137/erc20:0x7ceb23fd6bc0add59e62ac25578270cff1b9f619" | "eip155:8453/slip44:60" | "eip155:42161/slip44:60" | "eip155:1/erc20:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" | "eip155:10/erc20:0x0b2c639c533813f4aa9d7837caf62653d097ff85" | "eip155:137/erc20:0x3c499c542cef5e3811e1192ce70d8cc03d5c3359" | "eip155:8453/erc20:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" | "eip155:42161/erc20:0xaf88d065e77c8cc2239327c5edb3a432268e5831" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/slip44:501" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/token:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
|
3691
3982
|
/** @description Payment method this quote was priced for. Bank transfers are not included. */
|
|
3692
|
-
paymentMethod: definitions["
|
|
3983
|
+
paymentMethod: definitions["v1FiatRampPaymentMethod"];
|
|
3693
3984
|
/** @description Total fee in atomic units of fiat_currency_code. */
|
|
3694
|
-
totalFee: definitions["
|
|
3985
|
+
totalFee: definitions["v1FiatRampAmount"];
|
|
3695
3986
|
/** @description Quote expiration as a millisecond epoch string. Empty when the provider does not send one. */
|
|
3696
3987
|
expiresAt?: string;
|
|
3697
3988
|
};
|
|
3989
|
+
v1FiatRampAmount: {
|
|
3990
|
+
/** @description Amount in atomic units. Use this to compare quotes. Do not use display. */
|
|
3991
|
+
amount: string;
|
|
3992
|
+
/**
|
|
3993
|
+
* Format: int32
|
|
3994
|
+
* @description Decimal places for this amount. Asset decimals for cryptocurrency, atomic-unit decimals for fiat (2 for USD).
|
|
3995
|
+
*/
|
|
3996
|
+
decimals: number;
|
|
3997
|
+
/** @description Decimal representation in standard currency units. */
|
|
3998
|
+
display: string;
|
|
3999
|
+
};
|
|
4000
|
+
/** @enum {string} */
|
|
4001
|
+
v1FiatRampCurrency: "FIAT_RAMP_CURRENCY_AUD" | "FIAT_RAMP_CURRENCY_BGN" | "FIAT_RAMP_CURRENCY_BRL" | "FIAT_RAMP_CURRENCY_CAD" | "FIAT_RAMP_CURRENCY_CHF" | "FIAT_RAMP_CURRENCY_COP" | "FIAT_RAMP_CURRENCY_CZK" | "FIAT_RAMP_CURRENCY_DKK" | "FIAT_RAMP_CURRENCY_DOP" | "FIAT_RAMP_CURRENCY_EGP" | "FIAT_RAMP_CURRENCY_EUR" | "FIAT_RAMP_CURRENCY_GBP" | "FIAT_RAMP_CURRENCY_HKD" | "FIAT_RAMP_CURRENCY_IDR" | "FIAT_RAMP_CURRENCY_ILS" | "FIAT_RAMP_CURRENCY_JOD" | "FIAT_RAMP_CURRENCY_KES" | "FIAT_RAMP_CURRENCY_KWD" | "FIAT_RAMP_CURRENCY_LKR" | "FIAT_RAMP_CURRENCY_MXN" | "FIAT_RAMP_CURRENCY_NGN" | "FIAT_RAMP_CURRENCY_NOK" | "FIAT_RAMP_CURRENCY_NZD" | "FIAT_RAMP_CURRENCY_OMR" | "FIAT_RAMP_CURRENCY_PEN" | "FIAT_RAMP_CURRENCY_PLN" | "FIAT_RAMP_CURRENCY_RON" | "FIAT_RAMP_CURRENCY_SEK" | "FIAT_RAMP_CURRENCY_THB" | "FIAT_RAMP_CURRENCY_TRY" | "FIAT_RAMP_CURRENCY_TWD" | "FIAT_RAMP_CURRENCY_USD" | "FIAT_RAMP_CURRENCY_VND" | "FIAT_RAMP_CURRENCY_ZAR";
|
|
4002
|
+
/** @enum {string} */
|
|
4003
|
+
v1FiatRampPaymentMethod: "FIAT_RAMP_PAYMENT_METHOD_CREDIT_DEBIT_CARD" | "FIAT_RAMP_PAYMENT_METHOD_APPLE_PAY" | "FIAT_RAMP_PAYMENT_METHOD_GOOGLE_PAY" | "FIAT_RAMP_PAYMENT_METHOD_PAYPAL" | "FIAT_RAMP_PAYMENT_METHOD_MOONPAY_BALANCE" | "FIAT_RAMP_PAYMENT_METHOD_FIAT_WALLET" | "FIAT_RAMP_PAYMENT_METHOD_ACH_BANK_ACCOUNT";
|
|
4004
|
+
/** @enum {string} */
|
|
4005
|
+
v1FiatRampProvider: "FIAT_RAMP_PROVIDER_COINBASE" | "FIAT_RAMP_PROVIDER_MOONPAY" | "FIAT_RAMP_PROVIDER_MELD";
|
|
3698
4006
|
v1GetActivePoliciesRequest: {
|
|
3699
4007
|
/** @description Unique identifier for a given Organization. */
|
|
3700
4008
|
organizationId: string;
|
|
@@ -3878,26 +4186,49 @@ export type definitions = {
|
|
|
3878
4186
|
/** @description Reason the withdrawal transaction failed, when status is FAILED. */
|
|
3879
4187
|
error?: string;
|
|
3880
4188
|
};
|
|
3881
|
-
|
|
4189
|
+
v1GetFiatOffRampQuotesRequest: {
|
|
4190
|
+
/** @description Unique identifier for a given Organization. */
|
|
4191
|
+
organizationId: string;
|
|
4192
|
+
/** @description Crypto amount the user wants to sell, in major units of the caip19 asset. For example, "0.05" for 0.05 ETH. The wallet address is not part of this query. */
|
|
4193
|
+
cryptoAmount: string;
|
|
4194
|
+
/** @description Fiat currency the user receives, for example USD. */
|
|
4195
|
+
fiatCurrencyCode: definitions["v1FiatRampCurrency"];
|
|
4196
|
+
/**
|
|
4197
|
+
* @description CAIP-19 asset to sell. Each value is supported for both Coinbase and MoonPay sell, the same set as on-ramp.
|
|
4198
|
+
* @enum {string}
|
|
4199
|
+
*/
|
|
4200
|
+
caip19: "eip155:1/slip44:60" | "eip155:10/slip44:60" | "eip155:137/erc20:0x7ceb23fd6bc0add59e62ac25578270cff1b9f619" | "eip155:8453/slip44:60" | "eip155:42161/slip44:60" | "eip155:1/erc20:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" | "eip155:10/erc20:0x0b2c639c533813f4aa9d7837caf62653d097ff85" | "eip155:137/erc20:0x3c499c542cef5e3811e1192ce70d8cc03d5c3359" | "eip155:8453/erc20:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" | "eip155:42161/erc20:0xaf88d065e77c8cc2239327c5edb3a432268e5831" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/slip44:501" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/token:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
|
4201
|
+
/** @description ISO 3166-1 alpha-2 country code of the selling user, for example US. When omitted, the country is taken from the location of the request. */
|
|
4202
|
+
countryCode?: string;
|
|
4203
|
+
/** @description ISO 3166-2 subdivision code, for example NY. When omitted for a US visitor, the subdivision is taken from the location of the request. */
|
|
4204
|
+
countrySubdivisionCode?: string;
|
|
4205
|
+
/** @description Quote sandbox credentials when true. Defaults to false. */
|
|
4206
|
+
sandboxMode?: boolean;
|
|
4207
|
+
};
|
|
4208
|
+
v1GetFiatOffRampQuotesResponse: {
|
|
4209
|
+
/** @description One quote per provider and payment method that can serve this route. Empty when none can. */
|
|
4210
|
+
quotes: definitions["v1FiatOffRampQuote"][];
|
|
4211
|
+
};
|
|
4212
|
+
v1GetFiatOnRampQuotesRequest: {
|
|
3882
4213
|
/** @description Unique identifier for a given Organization. */
|
|
3883
4214
|
organizationId: string;
|
|
3884
4215
|
/** @description Fiat amount the user wants to spend, in major units of fiat_currency_code. For example, "100" for 100 USD. */
|
|
3885
4216
|
fiatAmount: string;
|
|
3886
4217
|
/** @description Fiat currency for fiat_amount, for example USD. */
|
|
3887
|
-
fiatCurrencyCode: definitions["
|
|
4218
|
+
fiatCurrencyCode: definitions["v1FiatRampCurrency"];
|
|
3888
4219
|
/**
|
|
3889
4220
|
* @description CAIP-19 asset to buy.
|
|
3890
4221
|
* @enum {string}
|
|
3891
4222
|
*/
|
|
3892
4223
|
caip19: "eip155:1/slip44:60" | "eip155:10/slip44:60" | "eip155:137/erc20:0x7ceb23fd6bc0add59e62ac25578270cff1b9f619" | "eip155:8453/slip44:60" | "eip155:42161/slip44:60" | "eip155:1/erc20:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" | "eip155:10/erc20:0x0b2c639c533813f4aa9d7837caf62653d097ff85" | "eip155:137/erc20:0x3c499c542cef5e3811e1192ce70d8cc03d5c3359" | "eip155:8453/erc20:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" | "eip155:42161/erc20:0xaf88d065e77c8cc2239327c5edb3a432268e5831" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/slip44:501" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/token:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
|
3893
|
-
/** @description ISO 3166-1 alpha-2 country code of the purchasing user, for example US. */
|
|
3894
|
-
countryCode
|
|
3895
|
-
/** @description ISO 3166-2 subdivision code, for example NY.
|
|
4224
|
+
/** @description ISO 3166-1 alpha-2 country code of the purchasing user, for example US. When omitted, the country is taken from the location of the request. */
|
|
4225
|
+
countryCode?: string;
|
|
4226
|
+
/** @description ISO 3166-2 subdivision code, for example NY. When omitted for a US visitor, the subdivision is taken from the location of the request. */
|
|
3896
4227
|
countrySubdivisionCode?: string;
|
|
3897
4228
|
/** @description Quote sandbox credentials when true. Defaults to false. */
|
|
3898
4229
|
sandboxMode?: boolean;
|
|
3899
4230
|
};
|
|
3900
|
-
|
|
4231
|
+
v1GetFiatOnRampQuotesResponse: {
|
|
3901
4232
|
/** @description One quote per provider and payment method that can serve this route. Empty when none can. */
|
|
3902
4233
|
quotes: definitions["v1FiatOnRampQuote"][];
|
|
3903
4234
|
};
|
|
@@ -3916,17 +4247,59 @@ export type definitions = {
|
|
|
3916
4247
|
/** @description The total gas usage (in USD) of all sponsored transactions processed over the last `window_duration_minutes` */
|
|
3917
4248
|
usageUsd: string;
|
|
3918
4249
|
};
|
|
3919
|
-
|
|
4250
|
+
v1GetIndicativeSwapQuoteRequest: {
|
|
3920
4251
|
/** @description Unique identifier for a given Organization. */
|
|
3921
4252
|
organizationId: string;
|
|
3922
|
-
/** @description
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
4253
|
+
/** @description Wallet account address that would send the input asset. It must belong to the organization. */
|
|
4254
|
+
signWith: string;
|
|
4255
|
+
/** @description CAIP-19 asset ID for the input asset. */
|
|
4256
|
+
inputToken: string;
|
|
4257
|
+
/** @description CAIP-19 asset ID for the output asset. */
|
|
4258
|
+
outputToken: string;
|
|
4259
|
+
/** @description Exact base-unit amount of the input asset. */
|
|
4260
|
+
inputAmount: string;
|
|
4261
|
+
/** @description Maximum allowed slippage in basis points, at most 5000. When omitted, the provider chooses the slippage. */
|
|
4262
|
+
slippageBps?: string;
|
|
4263
|
+
/** @description Raw public address that would receive the output asset. Required for cross-protocol swaps and rejected otherwise. */
|
|
4264
|
+
destinationAddress?: string;
|
|
4265
|
+
/** @description Preview the price with Turnkey paying the provider fees. Requires the FEATURE_NAME_SWAP_FEE_SPONSORSHIP organization feature. Defaults to false. */
|
|
4266
|
+
feeSponsorship?: boolean;
|
|
4267
|
+
/** @description Preview a 1:1 conversion before fees between supported stablecoins. Requires the FEATURE_NAME_SWAP_FIXED_RATE organization feature. Defaults to false. */
|
|
4268
|
+
fixedRate?: boolean;
|
|
4269
|
+
};
|
|
4270
|
+
v1GetIndicativeSwapQuoteResponse: {
|
|
4271
|
+
/** @description Swap provider that produced this quote. */
|
|
4272
|
+
provider: string;
|
|
4273
|
+
/** @description Estimated base-unit amount of the output asset. */
|
|
4274
|
+
outputAmount: string;
|
|
4275
|
+
/** @description Minimum base-unit amount of the output asset after slippage. */
|
|
4276
|
+
minOutputAmount: string;
|
|
4277
|
+
/** @description Slippage tolerance in basis points the provider applied. */
|
|
4278
|
+
slippageBps?: string;
|
|
4279
|
+
/** @description Client app fee in basis points included in this quote. "0" when no client fee applies. */
|
|
4280
|
+
clientFeeBps: string;
|
|
4281
|
+
/** @description Provider's estimated time to complete the swap, in seconds. */
|
|
4282
|
+
estimatedTimeSeconds?: string;
|
|
4283
|
+
/** @description Whether this quote has Turnkey paying the execution costs. */
|
|
4284
|
+
feeSponsorship: boolean;
|
|
4285
|
+
/** @description Whether this quote uses a 1:1 fixed rate. */
|
|
4286
|
+
fixedRate: boolean;
|
|
4287
|
+
/** @description Deprecated: use estimated_charges.fixed_rate_adjustment_usd. Estimated fixed-rate adjustment in USD from the customer's side: positive is a cost, negative an earning. Present only for fixed-rate quotes the provider priced. */
|
|
4288
|
+
estimatedFixedRateAdjustmentUsd?: string;
|
|
4289
|
+
/** @description Estimated charges this swap would add to your invoice, one field per swap line item. Present when fee_sponsorship or fixed_rate is true. */
|
|
4290
|
+
estimatedCharges?: definitions["v1SwapCharges"];
|
|
4291
|
+
};
|
|
4292
|
+
v1GetIpAllowlistRequest: {
|
|
4293
|
+
/** @description Unique identifier for a given Organization. */
|
|
4294
|
+
organizationId: string;
|
|
4295
|
+
/** @description If provided, return only the allowlist for this specific API key. */
|
|
4296
|
+
publicKey?: string;
|
|
4297
|
+
};
|
|
4298
|
+
v1GetIpAllowlistResponse: {
|
|
4299
|
+
allowlist: definitions["v1IpAllowlist"];
|
|
4300
|
+
};
|
|
4301
|
+
v1GetLatestBootProofRequest: {
|
|
4302
|
+
/** @description Unique identifier for a given Organization. */
|
|
3930
4303
|
organizationId: string;
|
|
3931
4304
|
/** @description Unique identifier (UUID) of the enclave app. */
|
|
3932
4305
|
appName: string;
|
|
@@ -4141,7 +4514,7 @@ export type definitions = {
|
|
|
4141
4514
|
v1GetSubOrgIdsRequest: {
|
|
4142
4515
|
/** @description Unique identifier for the parent organization. This is used to find sub-organizations within it. */
|
|
4143
4516
|
organizationId: string;
|
|
4144
|
-
/** @description Specifies the type of filter to apply, i.e 'CREDENTIAL_ID', 'NAME', 'USERNAME', 'EMAIL', 'PHONE_NUMBER', 'OIDC_TOKEN', 'WALLET_ACCOUNT_ADDRESS' or 'PUBLIC_KEY' */
|
|
4517
|
+
/** @description Specifies the type of filter to apply, i.e 'CREDENTIAL_ID', 'NAME', 'USERNAME', 'EMAIL', 'PHONE_NUMBER', 'OIDC_TOKEN', 'OAUTH_CLAIM', 'WALLET_ACCOUNT_ADDRESS', 'WALLET_AUTH_TOKEN', or 'PUBLIC_KEY' */
|
|
4145
4518
|
filterType?: string;
|
|
4146
4519
|
/** @description The value of the filter to apply for the specified type. For example, a specific email or name string. */
|
|
4147
4520
|
filterValue?: string;
|
|
@@ -4193,6 +4566,8 @@ export type definitions = {
|
|
|
4193
4566
|
error?: definitions["v1SwapError"];
|
|
4194
4567
|
/** @description Address that receives the output asset. */
|
|
4195
4568
|
destinationAddress?: string;
|
|
4569
|
+
/** @description Final charges this swap added to your invoice, one field per swap line item. Present once a fee-sponsored or fixed-rate swap's costs are settled; a swap that failed or was refunded settles at zero. */
|
|
4570
|
+
charges?: definitions["v1SwapCharges"];
|
|
4196
4571
|
};
|
|
4197
4572
|
v1GetTvcAppDeploymentsRequest: {
|
|
4198
4573
|
/** @description Unique identifier for a given Organization. */
|
|
@@ -4274,6 +4649,23 @@ export type definitions = {
|
|
|
4274
4649
|
/** @description Details about a single TVC Deployment */
|
|
4275
4650
|
tvcDeployment: definitions["v1TvcDeployment"];
|
|
4276
4651
|
};
|
|
4652
|
+
v1GetTvcManifestGenerationInfoRequest: {
|
|
4653
|
+
organizationId: string;
|
|
4654
|
+
appId: string;
|
|
4655
|
+
/** @description QOS version of the deployment. Defaults to the latest recommended TVC QOS version. */
|
|
4656
|
+
qosVersion?: string;
|
|
4657
|
+
};
|
|
4658
|
+
v1GetTvcManifestGenerationInfoResponse: {
|
|
4659
|
+
/** Format: int64 */
|
|
4660
|
+
nonce: number;
|
|
4661
|
+
namespace: string;
|
|
4662
|
+
pcr0: string;
|
|
4663
|
+
pcr1: string;
|
|
4664
|
+
pcr2: string;
|
|
4665
|
+
pcr3: string;
|
|
4666
|
+
qosVersion: string;
|
|
4667
|
+
defaultDnsResolvers?: string[];
|
|
4668
|
+
};
|
|
4277
4669
|
v1GetTvcOperatorsRequest: {
|
|
4278
4670
|
/** @description Unique identifier for a given Organization. */
|
|
4279
4671
|
organizationId: string;
|
|
@@ -4298,6 +4690,13 @@ export type definitions = {
|
|
|
4298
4690
|
v1GetTvcQuorumKeysResponse: {
|
|
4299
4691
|
tvcQuorumKeys: definitions["v1TvcQuorumKey"][];
|
|
4300
4692
|
};
|
|
4693
|
+
v1GetUsageControlRequest: {
|
|
4694
|
+
organizationId: string;
|
|
4695
|
+
usageControlId: string;
|
|
4696
|
+
};
|
|
4697
|
+
v1GetUsageControlResponse: {
|
|
4698
|
+
usageControl: definitions["v1UsageControl"];
|
|
4699
|
+
};
|
|
4301
4700
|
v1GetUserRequest: {
|
|
4302
4701
|
/** @description Unique identifier for a given Organization. */
|
|
4303
4702
|
organizationId: string;
|
|
@@ -4316,17 +4715,10 @@ export type definitions = {
|
|
|
4316
4715
|
/** @description A list of users. */
|
|
4317
4716
|
users: definitions["v1User"][];
|
|
4318
4717
|
};
|
|
4319
|
-
v1GetVelocityControlRequest: {
|
|
4320
|
-
organizationId: string;
|
|
4321
|
-
velocityControlId: string;
|
|
4322
|
-
};
|
|
4323
|
-
v1GetVelocityControlResponse: {
|
|
4324
|
-
velocityControl: definitions["v1VelocityControl"];
|
|
4325
|
-
};
|
|
4326
4718
|
v1GetVerifiedSubOrgIdsRequest: {
|
|
4327
4719
|
/** @description Unique identifier for the parent organization. This is used to find sub-organizations within it. */
|
|
4328
4720
|
organizationId: string;
|
|
4329
|
-
/** @description Specifies the type of filter to apply, i.e 'EMAIL', 'PHONE_NUMBER', 'OIDC_TOKEN', 'OAUTH_CLAIM', or '
|
|
4721
|
+
/** @description Specifies the type of filter to apply, i.e 'EMAIL', 'PHONE_NUMBER', 'OIDC_TOKEN', 'OAUTH_CLAIM', 'PUBLIC_KEY', or 'WALLET_AUTH_TOKEN'. */
|
|
4330
4722
|
filterType?: string;
|
|
4331
4723
|
/** @description The value of the filter to apply for the specified type. For example, a specific email or phone number string. */
|
|
4332
4724
|
filterValue?: string;
|
|
@@ -4380,6 +4772,16 @@ export type definitions = {
|
|
|
4380
4772
|
/** @description List of asset balances */
|
|
4381
4773
|
balances?: definitions["v1AssetBalance"][];
|
|
4382
4774
|
};
|
|
4775
|
+
v1GetWalletAuthenticatorsRequest: {
|
|
4776
|
+
/** @description Unique identifier for a given organization. */
|
|
4777
|
+
organizationId: string;
|
|
4778
|
+
/** @description Unique identifier for a given user. */
|
|
4779
|
+
userId: string;
|
|
4780
|
+
};
|
|
4781
|
+
v1GetWalletAuthenticatorsResponse: {
|
|
4782
|
+
/** @description A list of wallet authenticators. */
|
|
4783
|
+
walletAuthenticators: definitions["v1WalletAuthenticator"][];
|
|
4784
|
+
};
|
|
4383
4785
|
v1GetWalletRequest: {
|
|
4384
4786
|
/** @description Unique identifier for a given Organization. */
|
|
4385
4787
|
organizationId: string;
|
|
@@ -4414,6 +4816,26 @@ export type definitions = {
|
|
|
4414
4816
|
};
|
|
4415
4817
|
/** @enum {string} */
|
|
4416
4818
|
v1HashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
|
|
4819
|
+
v1HttpAuthzV1Inputs: {
|
|
4820
|
+
/** @description HTTP method of the bound request. One of `GET`, `HEAD`, `POST`, `PUT`, `PATCH`, or `DELETE`. */
|
|
4821
|
+
method: string;
|
|
4822
|
+
/** @description Path of the bound request, starting with `/`. */
|
|
4823
|
+
path: string;
|
|
4824
|
+
/** @description Query of the bound request without the leading `?`, or empty for no query. */
|
|
4825
|
+
query?: string;
|
|
4826
|
+
/** @description Lowercase names of the bound request headers, in order. At most 32 unique names of at most 64 characters each. Cannot include `authorization` or hop-by-hop headers (`proxy-authorization`, `connection`, `keep-alive`, `proxy-connection`, `te`, `transfer-encoding`, `upgrade`). */
|
|
4827
|
+
headerNames?: string[];
|
|
4828
|
+
/** @description SHA-256 digest of each bound header value, as `sha-256=:<base64>:`. One entry per entry in `header_names`. */
|
|
4829
|
+
headerDigest?: string[];
|
|
4830
|
+
/** @description SHA-256 digest of the bound request body, as `sha-256=:<base64>:`. For a request with no body, the digest of empty content. */
|
|
4831
|
+
bodyDigest: string;
|
|
4832
|
+
/** @description ID of a user in the organization, as a lowercase UUID. Becomes the `sub` claim. */
|
|
4833
|
+
subject: string;
|
|
4834
|
+
/** @description Lifetime of the JWT in seconds, from 1 to 300. `exp` is `issued_at + time_to_live_seconds`. */
|
|
4835
|
+
timeToLiveSeconds: string;
|
|
4836
|
+
/** @description Unix time in seconds. Becomes the `iat` claim. */
|
|
4837
|
+
issuedAt: string;
|
|
4838
|
+
};
|
|
4417
4839
|
v1ImportPrivateKeyIntent: {
|
|
4418
4840
|
/** @description The ID of the User importing a Private Key. */
|
|
4419
4841
|
userId: string;
|
|
@@ -5001,17 +5423,30 @@ export type definitions = {
|
|
|
5001
5423
|
createSwapQuoteIntent?: definitions["v1CreateSwapQuoteIntent"];
|
|
5002
5424
|
importSecretsIntent?: definitions["v1ImportSecretsIntent"];
|
|
5003
5425
|
exportSecretsIntent?: definitions["v1ExportSecretsIntent"];
|
|
5004
|
-
|
|
5005
|
-
|
|
5426
|
+
createUsageControlIntent?: definitions["v1CreateUsageControlIntent"];
|
|
5427
|
+
deleteUsageControlsIntent?: definitions["v1DeleteUsageControlsIntent"];
|
|
5006
5428
|
updatePaymentMethodIntent?: definitions["billingUpdatePaymentMethodIntent"];
|
|
5007
5429
|
createSwapQuoteIntentV2?: definitions["v1CreateSwapQuoteIntentV2"];
|
|
5008
5430
|
executeSwapIntentV3?: definitions["v1ExecuteSwapIntentV3"];
|
|
5009
5431
|
deleteSecretsIntent?: definitions["v1DeleteSecretsIntent"];
|
|
5010
5432
|
earnClaimRewardsIntent?: definitions["v1EarnClaimRewardsIntent"];
|
|
5011
5433
|
createSwapQuoteIntentV3?: definitions["v1CreateSwapQuoteIntentV3"];
|
|
5434
|
+
createSubOrganizationIntentV9?: definitions["v1CreateSubOrganizationIntentV9"];
|
|
5435
|
+
verifyWalletAuthenticatorIntent?: definitions["v1VerifyWalletAuthenticatorIntent"];
|
|
5012
5436
|
upsertSwapFeeSponsorshipLimitConfigIntent?: definitions["v1UpsertSwapFeeSponsorshipLimitConfigIntent"];
|
|
5013
5437
|
upsertSwapFixedRateLimitConfigIntent?: definitions["v1UpsertSwapFixedRateLimitConfigIntent"];
|
|
5014
5438
|
createFiatOnRampSessionIntent?: definitions["v1CreateFiatOnRampSessionIntent"];
|
|
5439
|
+
createFiatOffRampSessionIntent?: definitions["v1CreateFiatOffRampSessionIntent"];
|
|
5440
|
+
executeSwapIntentV4?: definitions["v1ExecuteSwapIntentV4"];
|
|
5441
|
+
createWalletAuthenticatorsIntent?: definitions["v1CreateWalletAuthenticatorsIntent"];
|
|
5442
|
+
deleteWalletAuthenticatorsIntent?: definitions["v1DeleteWalletAuthenticatorsIntent"];
|
|
5443
|
+
enableSmsForCountriesIntent?: definitions["v1EnableSmsForCountriesIntent"];
|
|
5444
|
+
disableSmsForCountriesIntent?: definitions["v1DisableSmsForCountriesIntent"];
|
|
5445
|
+
createFiatRampCredentialIntent?: definitions["v1CreateFiatRampCredentialIntent"];
|
|
5446
|
+
updateFiatRampCredentialIntent?: definitions["v1UpdateFiatRampCredentialIntent"];
|
|
5447
|
+
createExternalSignerIntentV1?: definitions["v1CreateExternalSignerIntentV1"];
|
|
5448
|
+
deleteExternalSignerIntentV1?: definitions["v1DeleteExternalSignerIntentV1"];
|
|
5449
|
+
mintJwtIntent?: definitions["v1MintJwtIntent"];
|
|
5015
5450
|
};
|
|
5016
5451
|
v1Invitation: {
|
|
5017
5452
|
/** @description Unique identifier for a given Invitation object. */
|
|
@@ -5071,6 +5506,8 @@ export type definitions = {
|
|
|
5071
5506
|
/** @description Creation timestamp as millisecond epoch string. */
|
|
5072
5507
|
createdAt?: string;
|
|
5073
5508
|
};
|
|
5509
|
+
/** @enum {string} */
|
|
5510
|
+
v1JwtProfile: "JWT_PROFILE_HTTP_AUTHZ_V1";
|
|
5074
5511
|
v1KeyValue: {
|
|
5075
5512
|
key?: string;
|
|
5076
5513
|
value?: string;
|
|
@@ -5222,6 +5659,14 @@ export type definitions = {
|
|
|
5222
5659
|
/** @description List of asset metadata */
|
|
5223
5660
|
assets?: definitions["v1AssetMetadata"][];
|
|
5224
5661
|
};
|
|
5662
|
+
v1ListUsageControlsRequest: {
|
|
5663
|
+
organizationId: string;
|
|
5664
|
+
paginationOptions?: definitions["v1Pagination"];
|
|
5665
|
+
};
|
|
5666
|
+
v1ListUsageControlsResponse: {
|
|
5667
|
+
usageControls: definitions["v1UsageControl"][];
|
|
5668
|
+
pageInfo: definitions["v1PageInfo"];
|
|
5669
|
+
};
|
|
5225
5670
|
v1ListUserTagsRequest: {
|
|
5226
5671
|
/** @description Unique identifier for a given Organization. */
|
|
5227
5672
|
organizationId: string;
|
|
@@ -5230,14 +5675,6 @@ export type definitions = {
|
|
|
5230
5675
|
/** @description A list of user tags. */
|
|
5231
5676
|
userTags: definitions["datav1Tag"][];
|
|
5232
5677
|
};
|
|
5233
|
-
v1ListVelocityControlsRequest: {
|
|
5234
|
-
organizationId: string;
|
|
5235
|
-
paginationOptions?: definitions["v1Pagination"];
|
|
5236
|
-
};
|
|
5237
|
-
v1ListVelocityControlsResponse: {
|
|
5238
|
-
velocityControls: definitions["v1VelocityControl"][];
|
|
5239
|
-
pageInfo: definitions["v1PageInfo"];
|
|
5240
|
-
};
|
|
5241
5678
|
v1ListWebhookEndpointsRequest: {
|
|
5242
5679
|
/** @description Unique identifier for a given Organization. */
|
|
5243
5680
|
organizationId: string;
|
|
@@ -5286,6 +5723,29 @@ export type definitions = {
|
|
|
5286
5723
|
/** @description An ordered list of authentication requirements needed to satisfy this MFA policy. */
|
|
5287
5724
|
requiredMethods: definitions["v1RequiredAuthenticationMethod"][];
|
|
5288
5725
|
};
|
|
5726
|
+
v1MintJwtIntent: {
|
|
5727
|
+
/** @description Profile that defines which claims the JWT binds. Must match the set `profile_inputs` case. */
|
|
5728
|
+
profile: definitions["v1JwtProfile"];
|
|
5729
|
+
/** @description Origin of the receiving service, as `https://<lowercase host>[:port]` with no default port, path, query, or fragment. At most 256 characters. Becomes the `aud` claim. */
|
|
5730
|
+
audience: string;
|
|
5731
|
+
/** @description Inputs for the `turnkey.io/http-authz/v1` profile. */
|
|
5732
|
+
httpAuthzV1?: definitions["v1HttpAuthzV1Inputs"];
|
|
5733
|
+
};
|
|
5734
|
+
v1MintJwtRequest: {
|
|
5735
|
+
/** @enum {string} */
|
|
5736
|
+
type: "ACTIVITY_TYPE_MINT_JWT";
|
|
5737
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
5738
|
+
timestampMs: string;
|
|
5739
|
+
/** @description Unique identifier for a given Organization. */
|
|
5740
|
+
organizationId: string;
|
|
5741
|
+
parameters: definitions["v1MintJwtIntent"];
|
|
5742
|
+
};
|
|
5743
|
+
v1MintJwtResult: {
|
|
5744
|
+
/** @description Signed JWT in JWS compact serialization. */
|
|
5745
|
+
jwt: string;
|
|
5746
|
+
/** @description Public JWK of the key that signed the JWT. Verifiers should pin this key or fetch it from the issuer's JWKS, not trust it from this response. */
|
|
5747
|
+
signingKeyJwk: string;
|
|
5748
|
+
};
|
|
5289
5749
|
/** @enum {string} */
|
|
5290
5750
|
v1MnemonicLanguage: "MNEMONIC_LANGUAGE_ENGLISH" | "MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE" | "MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE" | "MNEMONIC_LANGUAGE_CZECH" | "MNEMONIC_LANGUAGE_FRENCH" | "MNEMONIC_LANGUAGE_ITALIAN" | "MNEMONIC_LANGUAGE_JAPANESE" | "MNEMONIC_LANGUAGE_KOREAN" | "MNEMONIC_LANGUAGE_SPANISH";
|
|
5291
5751
|
v1NOOPCodegenAnchorResponse: {
|
|
@@ -5910,15 +6370,27 @@ export type definitions = {
|
|
|
5910
6370
|
createSwapQuoteResult?: definitions["v1CreateSwapQuoteResult"];
|
|
5911
6371
|
importSecretsResult?: definitions["v1ImportSecretsResult"];
|
|
5912
6372
|
exportSecretsResult?: definitions["v1ExportSecretsResult"];
|
|
5913
|
-
|
|
5914
|
-
|
|
6373
|
+
createUsageControlResult?: definitions["v1CreateUsageControlResult"];
|
|
6374
|
+
deleteUsageControlsResult?: definitions["v1DeleteUsageControlsResult"];
|
|
5915
6375
|
updatePaymentMethodResult?: definitions["billingUpdatePaymentMethodResult"];
|
|
5916
6376
|
deleteSecretsResult?: definitions["v1DeleteSecretsResult"];
|
|
5917
6377
|
earnClaimRewardsResult?: definitions["v1EarnClaimRewardsResult"];
|
|
5918
6378
|
createSwapQuoteResultV2?: definitions["v1CreateSwapQuoteResultV2"];
|
|
6379
|
+
createSubOrganizationResultV9?: definitions["v1CreateSubOrganizationResultV9"];
|
|
6380
|
+
verifyWalletAuthenticatorResult?: definitions["v1VerifyWalletAuthenticatorResult"];
|
|
5919
6381
|
upsertSwapFeeSponsorshipLimitConfigResult?: definitions["v1UpsertSwapFeeSponsorshipLimitConfigResult"];
|
|
5920
6382
|
upsertSwapFixedRateLimitConfigResult?: definitions["v1UpsertSwapFixedRateLimitConfigResult"];
|
|
5921
6383
|
createFiatOnRampSessionResult?: definitions["v1CreateFiatOnRampSessionResult"];
|
|
6384
|
+
createFiatOffRampSessionResult?: definitions["v1CreateFiatOffRampSessionResult"];
|
|
6385
|
+
createWalletAuthenticatorsResult?: definitions["v1CreateWalletAuthenticatorsResult"];
|
|
6386
|
+
deleteWalletAuthenticatorsResult?: definitions["v1DeleteWalletAuthenticatorsResult"];
|
|
6387
|
+
enableSmsForCountriesResult?: definitions["v1EnableSmsForCountriesResult"];
|
|
6388
|
+
disableSmsForCountriesResult?: definitions["v1DisableSmsForCountriesResult"];
|
|
6389
|
+
createFiatRampCredentialResult?: definitions["v1CreateFiatRampCredentialResult"];
|
|
6390
|
+
updateFiatRampCredentialResult?: definitions["v1UpdateFiatRampCredentialResult"];
|
|
6391
|
+
createExternalSignerResultV1?: definitions["v1CreateExternalSignerResultV1"];
|
|
6392
|
+
deleteExternalSignerResultV1?: definitions["v1DeleteExternalSignerResultV1"];
|
|
6393
|
+
mintJwtResult?: definitions["v1MintJwtResult"];
|
|
5922
6394
|
};
|
|
5923
6395
|
v1RevertChainEntry: {
|
|
5924
6396
|
/** @description The contract address where the revert occurred. */
|
|
@@ -5996,6 +6468,22 @@ export type definitions = {
|
|
|
5996
6468
|
/** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
5997
6469
|
oauthProviders: definitions["v1OauthProviderParamsV2"][];
|
|
5998
6470
|
};
|
|
6471
|
+
v1RootUserParamsV6: {
|
|
6472
|
+
/** @description Human-readable name for a User. */
|
|
6473
|
+
userName: string;
|
|
6474
|
+
/** @description The user's email address. */
|
|
6475
|
+
userEmail?: string;
|
|
6476
|
+
/** @description The user's phone number in E.164 format e.g. +13214567890 */
|
|
6477
|
+
userPhoneNumber?: string;
|
|
6478
|
+
/** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
|
|
6479
|
+
apiKeys: definitions["v1ApiKeyParamsV2"][];
|
|
6480
|
+
/** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
|
|
6481
|
+
authenticators: definitions["v1AuthenticatorParamsV2"][];
|
|
6482
|
+
/** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
6483
|
+
oauthProviders: definitions["v1OauthProviderParamsV2"][];
|
|
6484
|
+
/** @description A list of wallet authenticators. This field, if not needed, should be an empty array in your request body. */
|
|
6485
|
+
walletAuthenticators: definitions["v1WalletAuthenticatorParams"][];
|
|
6486
|
+
};
|
|
5999
6487
|
v1SecretMetadata: {
|
|
6000
6488
|
/** @description Unique identifier for the secret. */
|
|
6001
6489
|
secretId: string;
|
|
@@ -6060,7 +6548,7 @@ export type definitions = {
|
|
|
6060
6548
|
/** @description Name of the feature to set */
|
|
6061
6549
|
name: definitions["v1FeatureName"];
|
|
6062
6550
|
/** @description Optional value for the feature. Will override existing values if feature is already set. */
|
|
6063
|
-
value
|
|
6551
|
+
value?: string;
|
|
6064
6552
|
};
|
|
6065
6553
|
v1SetOrganizationFeatureRequest: {
|
|
6066
6554
|
/** @enum {string} */
|
|
@@ -6095,7 +6583,7 @@ export type definitions = {
|
|
|
6095
6583
|
encoding: definitions["v1PayloadEncoding"];
|
|
6096
6584
|
/** @description Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */
|
|
6097
6585
|
hashFunction: definitions["v1HashFunction"];
|
|
6098
|
-
/** @description The public key of the external signer to use for signing the payload. */
|
|
6586
|
+
/** @description The public key of the external signer to use for signing the payload. Only needed for external signer requests. */
|
|
6099
6587
|
externalSignerPubkey?: string;
|
|
6100
6588
|
};
|
|
6101
6589
|
v1SignRawPayloadRequest: {
|
|
@@ -6125,7 +6613,7 @@ export type definitions = {
|
|
|
6125
6613
|
encoding: definitions["v1PayloadEncoding"];
|
|
6126
6614
|
/** @description Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */
|
|
6127
6615
|
hashFunction: definitions["v1HashFunction"];
|
|
6128
|
-
/** @description The public key of the external signer to use for signing the payloads. */
|
|
6616
|
+
/** @description The public key of the external signer to use for signing the payloads. Only needed for external signer requests. */
|
|
6129
6617
|
externalSignerPubkey?: string;
|
|
6130
6618
|
};
|
|
6131
6619
|
v1SignRawPayloadsRequest: {
|
|
@@ -6154,7 +6642,7 @@ export type definitions = {
|
|
|
6154
6642
|
/** @description Raw unsigned transaction to be signed */
|
|
6155
6643
|
unsignedTransaction: string;
|
|
6156
6644
|
type: definitions["v1TransactionType"];
|
|
6157
|
-
/** @description The public key of the external signer to use for signing this transaction. */
|
|
6645
|
+
/** @description The public key of the external signer to use for signing this transaction. Only needed for external signer requests. */
|
|
6158
6646
|
externalSignerPubkey?: string;
|
|
6159
6647
|
};
|
|
6160
6648
|
v1SignTransactionRequest: {
|
|
@@ -6184,6 +6672,14 @@ export type definitions = {
|
|
|
6184
6672
|
authenticators?: definitions["v1AuthenticatorParamsV2"][];
|
|
6185
6673
|
oauthProviders?: definitions["v1OauthProviderParamsV2"][];
|
|
6186
6674
|
};
|
|
6675
|
+
v1SignupUsageV3: {
|
|
6676
|
+
email?: string;
|
|
6677
|
+
phoneNumber?: string;
|
|
6678
|
+
apiKeys?: definitions["v1ApiKeyParamsV2"][];
|
|
6679
|
+
authenticators?: definitions["v1AuthenticatorParamsV2"][];
|
|
6680
|
+
oauthProviders?: definitions["v1OauthProviderParamsV2"][];
|
|
6681
|
+
walletAuthenticators?: definitions["v1WalletAuthenticatorParams"][];
|
|
6682
|
+
};
|
|
6187
6683
|
v1SimpleClientExtensionResults: {
|
|
6188
6684
|
appid?: boolean;
|
|
6189
6685
|
appidExclude?: boolean;
|
|
@@ -6556,6 +7052,14 @@ export type definitions = {
|
|
|
6556
7052
|
/** @description Signed JWT containing an expiry, public key, session type, user id, and organization id */
|
|
6557
7053
|
session: string;
|
|
6558
7054
|
};
|
|
7055
|
+
v1SwapCharges: {
|
|
7056
|
+
/** @description Swap Execution: the provider's execution costs Turnkey pays, including DEX fees and price impact, the provider's fixed cost, destination gas, and provider fees. Present when fee_sponsorship is true. */
|
|
7057
|
+
executionUsd?: string;
|
|
7058
|
+
/** @description Swap Turnkey Fee: Turnkey's fee for a fee-sponsored swap. Present when fee_sponsorship is true. */
|
|
7059
|
+
turnkeyFeeUsd?: string;
|
|
7060
|
+
/** @description Swap Fixed Rate: the difference between the 1:1 rate and the market rate. Positive is a cost billed to you; negative is an earning credited against your transaction management charges at the end of the billing period. Present when fixed_rate is true. */
|
|
7061
|
+
fixedRateAdjustmentUsd?: string;
|
|
7062
|
+
};
|
|
6559
7063
|
v1SwapError: {
|
|
6560
7064
|
/** @description Stable machine-readable failure reason. One of ORIGIN_TRANSACTION_FAILED or PROVIDER_FILL_FAILED. */
|
|
6561
7065
|
reason: string;
|
|
@@ -6601,12 +7105,14 @@ export type definitions = {
|
|
|
6601
7105
|
clientFeeBps: string;
|
|
6602
7106
|
/** @description Provider-estimated completion time in seconds, when available. */
|
|
6603
7107
|
estimatedTimeSeconds?: string;
|
|
6604
|
-
/** @description Whether Turnkey pays the
|
|
7108
|
+
/** @description Whether Turnkey pays the execution costs for this quote. */
|
|
6605
7109
|
feeSponsorship: boolean;
|
|
6606
7110
|
/** @description Whether this quote uses a 1:1 fixed rate. */
|
|
6607
7111
|
fixedRate: boolean;
|
|
6608
|
-
/** @description Estimated USD adjustment for the fixed rate. Present only for fixed-rate quotes. Positive is a cost billed to you; negative is an earning credited against your transaction management charges at the end of the billing period. Informational; the final amount is settled after execution. */
|
|
7112
|
+
/** @description Deprecated: use estimated_charges.fixed_rate_adjustment_usd. Estimated USD adjustment for the fixed rate. Present only for fixed-rate quotes. Positive is a cost billed to you; negative is an earning credited against your transaction management charges at the end of the billing period. Informational; the final amount is settled after execution. */
|
|
6609
7113
|
estimatedFixedRateAdjustmentUsd?: string;
|
|
7114
|
+
/** @description Estimated charges this swap adds to your invoice, one field per swap line item. Present when fee_sponsorship or fixed_rate is true. Informational; the final amounts are settled after execution and reported by get_swap_status. */
|
|
7115
|
+
estimatedCharges?: definitions["v1SwapCharges"];
|
|
6610
7116
|
};
|
|
6611
7117
|
v1SwapRefund: {
|
|
6612
7118
|
/** @description CAIP-19 asset returned by the swap provider after a failed cross-chain fill. */
|
|
@@ -6634,7 +7140,7 @@ export type definitions = {
|
|
|
6634
7140
|
subOrgWindowLimitUsd?: string;
|
|
6635
7141
|
};
|
|
6636
7142
|
v1SwapSponsorshipFeature: {
|
|
6637
|
-
/** @description Whether the billing parent holds this feature's signed permission. Quotes can use the feature only when it is permitted and its window is enabled. */
|
|
7143
|
+
/** @description Whether the billing parent holds this feature's signed permission, which enabling its spending window grants. Quotes can use the feature only when it is permitted and its window is enabled. */
|
|
6638
7144
|
permitted: boolean;
|
|
6639
7145
|
/** @description Absent until the billing parent saves a spending window. */
|
|
6640
7146
|
window?: definitions["v1SwapSpendingWindow"];
|
|
@@ -6663,6 +7169,7 @@ export type definitions = {
|
|
|
6663
7169
|
signup?: definitions["v1SignupUsage"];
|
|
6664
7170
|
login?: definitions["v1LoginUsage"];
|
|
6665
7171
|
signupV2?: definitions["v1SignupUsageV2"];
|
|
7172
|
+
signupV3?: definitions["v1SignupUsageV3"];
|
|
6666
7173
|
};
|
|
6667
7174
|
v1TransactionHistoryAsset: {
|
|
6668
7175
|
/** @description The CAIP-19 asset identifier. */
|
|
@@ -6746,10 +7253,12 @@ export type definitions = {
|
|
|
6746
7253
|
updatedAt: definitions["externaldatav1Timestamp"];
|
|
6747
7254
|
/** @description The deployment currently designated to receive traffic. Null if no deployment for this app is deployed. */
|
|
6748
7255
|
liveDeploymentId?: string;
|
|
6749
|
-
/** @description The public domain for ingress to this TVC App (in the format "app-<ID>.turnkey.cloud"). */
|
|
7256
|
+
/** @description The public domain for ingress to this TVC App (in the format "app-<ID>.app.turnkey.cloud"). May contain multiple comma-separated hostnames. */
|
|
6750
7257
|
publicDomain: string;
|
|
6751
7258
|
/** @description Whether this app permits debug-mode deployments. Set at app creation via CreateTvcAppIntent.enable_debug_mode_deployments and never updated thereafter. Debug-mode deployments expose logs and emit zero'd attestation PCRs, so remote attestation cannot succeed. The app's quorum key is therefore considered permanently insecure once enabled — a new app with a fresh quorum key must be created to return to a secure posture. */
|
|
6752
7259
|
enableDebugModeDeployments: boolean;
|
|
7260
|
+
/** @description region this TVC App is deployed in, e.g. us-east-1 or ap-southeast-1. Set at app creation. */
|
|
7261
|
+
region: string;
|
|
6753
7262
|
};
|
|
6754
7263
|
v1TvcContainerSpec: {
|
|
6755
7264
|
/** @description The URL for this container image. */
|
|
@@ -7015,6 +7524,30 @@ export type definitions = {
|
|
|
7015
7524
|
/** @description Unique identifier of the Fiat On-Ramp credential that was updated */
|
|
7016
7525
|
fiatOnRampCredentialId: string;
|
|
7017
7526
|
};
|
|
7527
|
+
v1UpdateFiatRampCredentialIntent: {
|
|
7528
|
+
/** @description The ID of the fiat ramp credential to update */
|
|
7529
|
+
credentialId: string;
|
|
7530
|
+
/** @description The fiat ramp provider */
|
|
7531
|
+
provider: definitions["v1FiatRampProvider"];
|
|
7532
|
+
/** @description Non-secret half of the provider credential. MoonPay: publishable key (pk_test_ or pk_live_). Coinbase: CDP API key ID */
|
|
7533
|
+
apiKey: string;
|
|
7534
|
+
/** @description Secret half of the provider credential, encrypted to our on-ramp encryption public key. MoonPay: secret key (sk_test_ or sk_live_). Coinbase: Ed25519 private key */
|
|
7535
|
+
encryptedSecret: string;
|
|
7536
|
+
};
|
|
7537
|
+
v1UpdateFiatRampCredentialRequest: {
|
|
7538
|
+
/** @enum {string} */
|
|
7539
|
+
type: "ACTIVITY_TYPE_UPDATE_FIAT_RAMP_CREDENTIAL";
|
|
7540
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
7541
|
+
timestampMs: string;
|
|
7542
|
+
/** @description Unique identifier for a given Organization. */
|
|
7543
|
+
organizationId: string;
|
|
7544
|
+
parameters: definitions["v1UpdateFiatRampCredentialIntent"];
|
|
7545
|
+
generateAppProofs?: boolean;
|
|
7546
|
+
};
|
|
7547
|
+
v1UpdateFiatRampCredentialResult: {
|
|
7548
|
+
/** @description Unique identifier of the fiat ramp credential that was updated */
|
|
7549
|
+
credentialId: string;
|
|
7550
|
+
};
|
|
7018
7551
|
v1UpdateMfaPolicyIntent: {
|
|
7019
7552
|
/** @description The ID of the User to update the MFA Policy for. */
|
|
7020
7553
|
userId: string;
|
|
@@ -7418,7 +7951,7 @@ export type definitions = {
|
|
|
7418
7951
|
subOrgWindowLimitUsd: string;
|
|
7419
7952
|
/** @description Positive rolling window duration in minutes, at most 153722867. */
|
|
7420
7953
|
windowDurationMinutes: string;
|
|
7421
|
-
/** @description Whether this spending window permits new swaps.
|
|
7954
|
+
/** @description Whether this spending window permits new swaps. True also grants the billing parent's signed permission for the feature. False turns the saved window off, keeps its limits, and removes the permission. Granting or removing the permission needs root quorum. */
|
|
7422
7955
|
enabled: boolean;
|
|
7423
7956
|
};
|
|
7424
7957
|
v1UpsertSwapFeeSponsorshipLimitConfigRequest: {
|
|
@@ -7441,7 +7974,7 @@ export type definitions = {
|
|
|
7441
7974
|
subOrgWindowLimitUsd: string;
|
|
7442
7975
|
/** @description Positive rolling window duration in minutes, at most 153722867. */
|
|
7443
7976
|
windowDurationMinutes: string;
|
|
7444
|
-
/** @description Whether this spending window permits new swaps.
|
|
7977
|
+
/** @description Whether this spending window permits new swaps. True also grants the billing parent's signed permission for the feature. False turns the saved window off, keeps its limits, and removes the permission. Granting or removing the permission needs root quorum. */
|
|
7445
7978
|
enabled: boolean;
|
|
7446
7979
|
};
|
|
7447
7980
|
v1UpsertSwapFixedRateLimitConfigRequest: {
|
|
@@ -7457,6 +7990,146 @@ export type definitions = {
|
|
|
7457
7990
|
/** @description Unique identifier of the organization the limit config was saved for. */
|
|
7458
7991
|
organizationId: string;
|
|
7459
7992
|
};
|
|
7993
|
+
v1UsageControl: {
|
|
7994
|
+
/** @description Unique identifier for the Usage Control. */
|
|
7995
|
+
usageControlId: string;
|
|
7996
|
+
/** @description Identifier of the Organization that owns the Usage Control. */
|
|
7997
|
+
organizationId: string;
|
|
7998
|
+
/** @description Human-readable name for the Usage Control. */
|
|
7999
|
+
name: string;
|
|
8000
|
+
/** @description Data source for the Usage Control. */
|
|
8001
|
+
dataSource: definitions["v1UsageControlDataSource"];
|
|
8002
|
+
/** @description Aggregation expression that the Usage Control evaluates. */
|
|
8003
|
+
aggregation: definitions["v1UsageControlAggregation"];
|
|
8004
|
+
/** @description Scope of the usage control. Defines the boundaries within which the Usage Control operates. */
|
|
8005
|
+
appliesTo?: definitions["v1UsageControlScope"];
|
|
8006
|
+
/** @description Time when the Usage Control was created. */
|
|
8007
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
8008
|
+
/** @description Time when the Usage Control was last updated. */
|
|
8009
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
8010
|
+
/** @description Identifier for the Usage Control. Policies reference it as `controls.<identifier>`. It must be unique within the Organization. */
|
|
8011
|
+
identifier: string;
|
|
8012
|
+
};
|
|
8013
|
+
v1UsageControlAggregation: {
|
|
8014
|
+
/** @description Method that aggregates matching data points. */
|
|
8015
|
+
method: definitions["v1UsageControlAggregationMethod"];
|
|
8016
|
+
/** @description Comparison between the aggregate and the threshold. */
|
|
8017
|
+
operator: definitions["v1UsageControlAggregationOperator"];
|
|
8018
|
+
/** @description Non-negative base-10 decimal string with at most 46 integer digits and 32 fractional digits. */
|
|
8019
|
+
threshold: string;
|
|
8020
|
+
/** @description Time window for the aggregation. */
|
|
8021
|
+
window: definitions["v1UsageControlAggregationWindow"];
|
|
8022
|
+
/** @description Scope that partitions matching data before aggregation. */
|
|
8023
|
+
groupBy: definitions["v1UsageControlAggregationGroupBy"];
|
|
8024
|
+
};
|
|
8025
|
+
v1UsageControlAggregationGroupBy: {
|
|
8026
|
+
/** @description Uses one shared bucket for the Organization. */
|
|
8027
|
+
organization?: definitions["v1UsageControlAggregationGroupByOrganization"];
|
|
8028
|
+
/** @description Uses one bucket for each User. */
|
|
8029
|
+
user?: definitions["v1UsageControlAggregationGroupByUser"];
|
|
8030
|
+
/** @description Uses one bucket for each Wallet. */
|
|
8031
|
+
wallet?: definitions["v1UsageControlAggregationGroupByWallet"];
|
|
8032
|
+
};
|
|
8033
|
+
v1UsageControlAggregationGroupByOrganization: {
|
|
8034
|
+
[key: string]: unknown;
|
|
8035
|
+
};
|
|
8036
|
+
v1UsageControlAggregationGroupByUser: {
|
|
8037
|
+
[key: string]: unknown;
|
|
8038
|
+
};
|
|
8039
|
+
v1UsageControlAggregationGroupByWallet: {
|
|
8040
|
+
[key: string]: unknown;
|
|
8041
|
+
};
|
|
8042
|
+
/** @enum {string} */
|
|
8043
|
+
v1UsageControlAggregationMethod: "USAGE_CONTROL_AGGREGATION_METHOD_SUM" | "USAGE_CONTROL_AGGREGATION_METHOD_COUNT";
|
|
8044
|
+
/** @enum {string} */
|
|
8045
|
+
v1UsageControlAggregationOperator: "USAGE_CONTROL_AGGREGATION_OPERATOR_LESS_THAN" | "USAGE_CONTROL_AGGREGATION_OPERATOR_LESS_THAN_OR_EQUAL" | "USAGE_CONTROL_AGGREGATION_OPERATOR_EQUAL" | "USAGE_CONTROL_AGGREGATION_OPERATOR_GREATER_THAN_OR_EQUAL" | "USAGE_CONTROL_AGGREGATION_OPERATOR_GREATER_THAN";
|
|
8046
|
+
v1UsageControlAggregationWindow: {
|
|
8047
|
+
/** @description Uses a rolling time window. */
|
|
8048
|
+
rolling?: definitions["v1UsageControlAggregationWindowRolling"];
|
|
8049
|
+
/** @description Uses all matching data without a time limit. */
|
|
8050
|
+
infinite?: definitions["v1UsageControlAggregationWindowInfinite"];
|
|
8051
|
+
};
|
|
8052
|
+
v1UsageControlAggregationWindowInfinite: {
|
|
8053
|
+
[key: string]: unknown;
|
|
8054
|
+
};
|
|
8055
|
+
v1UsageControlAggregationWindowRolling: {
|
|
8056
|
+
/**
|
|
8057
|
+
* Format: int64
|
|
8058
|
+
* @description Duration of the rolling window, in seconds.
|
|
8059
|
+
*/
|
|
8060
|
+
duration: number;
|
|
8061
|
+
};
|
|
8062
|
+
v1UsageControlDataSource: {
|
|
8063
|
+
/** @description Uses transfers of the listed on-chain assets as input data. */
|
|
8064
|
+
chainAssetTransfer?: definitions["v1UsageControlDataSourceChainAssetTransfer"];
|
|
8065
|
+
/** @description Uses executed Turnkey activities as input data. */
|
|
8066
|
+
activityExecution?: definitions["v1UsageControlDataSourceActivityExecution"];
|
|
8067
|
+
};
|
|
8068
|
+
v1UsageControlDataSourceActivityExecution: {
|
|
8069
|
+
/** @description Filters activity executions by type. */
|
|
8070
|
+
filter?: definitions["v1UsageControlDataSourceActivityExecutionFilter"];
|
|
8071
|
+
};
|
|
8072
|
+
v1UsageControlDataSourceActivityExecutionFilter: {
|
|
8073
|
+
/** @description Activity types whose executions are included. */
|
|
8074
|
+
activity?: definitions["v1UsageControlDataSourceFilterActivity"][];
|
|
8075
|
+
};
|
|
8076
|
+
v1UsageControlDataSourceChainAssetTransfer: {
|
|
8077
|
+
/** @description Assets whose transfers are included in the data source. */
|
|
8078
|
+
definition: definitions["v1UsageControlDataSourceChainAssetTransferDefinition"][];
|
|
8079
|
+
/** @description Filters asset transfers by activity type. */
|
|
8080
|
+
filter?: definitions["v1UsageControlDataSourceChainAssetTransferFilter"];
|
|
8081
|
+
/** @description Selects when to measure an asset transfer. */
|
|
8082
|
+
phase?: definitions["v1UsageControlDataSourcePhase"];
|
|
8083
|
+
};
|
|
8084
|
+
v1UsageControlDataSourceChainAssetTransferDefinition: {
|
|
8085
|
+
/** @description CAIP-19 identifier for the asset. */
|
|
8086
|
+
caip19: string;
|
|
8087
|
+
/**
|
|
8088
|
+
* Format: int64
|
|
8089
|
+
* @description Integer between 0 and 32 (inclusive) that specifies the number of decimal places for the asset.
|
|
8090
|
+
*/
|
|
8091
|
+
decimals: number;
|
|
8092
|
+
};
|
|
8093
|
+
v1UsageControlDataSourceChainAssetTransferFilter: {
|
|
8094
|
+
/** @description Activity types whose asset transfers are included. */
|
|
8095
|
+
activity?: definitions["v1UsageControlDataSourceFilterActivity"][];
|
|
8096
|
+
};
|
|
8097
|
+
v1UsageControlDataSourceFilterActivity: {
|
|
8098
|
+
/** @description Name of an activity type to include, such as `ACTIVITY_TYPE_SOL_SEND_TRANSACTION`. */
|
|
8099
|
+
activityType: string;
|
|
8100
|
+
};
|
|
8101
|
+
v1UsageControlDataSourcePhase: {
|
|
8102
|
+
/** @description Measures the transfer when Turnkey signs the transaction and returns it to the user. */
|
|
8103
|
+
signature?: definitions["v1UsageControlDataSourcePhaseSignature"];
|
|
8104
|
+
/** @description Reserved for future use. Measures the transfer after the transaction lands on chain. */
|
|
8105
|
+
submission?: definitions["v1UsageControlDataSourcePhaseSubmission"];
|
|
8106
|
+
};
|
|
8107
|
+
v1UsageControlDataSourcePhaseSignature: {
|
|
8108
|
+
[key: string]: unknown;
|
|
8109
|
+
};
|
|
8110
|
+
v1UsageControlDataSourcePhaseSubmission: {
|
|
8111
|
+
[key: string]: unknown;
|
|
8112
|
+
};
|
|
8113
|
+
v1UsageControlScope: {
|
|
8114
|
+
/** @description Limits the scope of the usage control to particular Users. */
|
|
8115
|
+
user?: definitions["v1UsageControlScopeUser"];
|
|
8116
|
+
/** @description Limits the scope of the usage control to particular Wallets. */
|
|
8117
|
+
wallet?: definitions["v1UsageControlScopeWallet"];
|
|
8118
|
+
/** @description Limits the scope of the usage control to particular Wallet Accounts. */
|
|
8119
|
+
walletAccount?: definitions["v1UsageControlScopeWalletAccount"];
|
|
8120
|
+
};
|
|
8121
|
+
v1UsageControlScopeUser: {
|
|
8122
|
+
/** @description IDs of the users for which the usage control will capture the usage. */
|
|
8123
|
+
userIds: string[];
|
|
8124
|
+
};
|
|
8125
|
+
v1UsageControlScopeWallet: {
|
|
8126
|
+
/** @description IDs of the wallets for which the usage control will capture the usage. */
|
|
8127
|
+
walletIds: string[];
|
|
8128
|
+
};
|
|
8129
|
+
v1UsageControlScopeWalletAccount: {
|
|
8130
|
+
/** @description IDs of the wallet accounts for which the usage control will capture the usage. */
|
|
8131
|
+
walletAccountIds: string[];
|
|
8132
|
+
};
|
|
7460
8133
|
/** @enum {string} */
|
|
7461
8134
|
v1UsageType: "USAGE_TYPE_SIGNUP" | "USAGE_TYPE_LOGIN";
|
|
7462
8135
|
v1User: {
|
|
@@ -7480,6 +8153,8 @@ export type definitions = {
|
|
|
7480
8153
|
updatedAt: definitions["externaldatav1Timestamp"];
|
|
7481
8154
|
/** @description A list of MFA Policies that define multi-factor authentication requirements for this user. */
|
|
7482
8155
|
mfaPolicies: definitions["v1MfaPolicy"][];
|
|
8156
|
+
/** @description A list of wallet authenticators (externally-owned Ethereum or Solana accounts used to authenticate). If not needed, this should be an empty array. */
|
|
8157
|
+
walletAuthenticators: definitions["v1WalletAuthenticator"][];
|
|
7483
8158
|
};
|
|
7484
8159
|
v1UserParams: {
|
|
7485
8160
|
/** @description Human-readable name for a User. */
|
|
@@ -7550,124 +8225,6 @@ export type definitions = {
|
|
|
7550
8225
|
v1ValidateTvcImageResponse: {
|
|
7551
8226
|
resolvedImageDigest?: string;
|
|
7552
8227
|
};
|
|
7553
|
-
v1VelocityControl: {
|
|
7554
|
-
/** @description Unique identifier for the Velocity Control. */
|
|
7555
|
-
velocityControlId: string;
|
|
7556
|
-
/** @description Identifier of the Organization that owns the Velocity Control. */
|
|
7557
|
-
organizationId: string;
|
|
7558
|
-
/** @description Human-readable name for the Velocity Control. */
|
|
7559
|
-
name: string;
|
|
7560
|
-
/** @description Data source for the Velocity Control. */
|
|
7561
|
-
dataSource: definitions["v1VelocityControlDataSource"];
|
|
7562
|
-
/** @description Aggregation expression that the Velocity Control evaluates. */
|
|
7563
|
-
aggregation: definitions["v1VelocityControlAggregation"];
|
|
7564
|
-
/** @description Time when the Velocity Control was created. */
|
|
7565
|
-
createdAt: definitions["externaldatav1Timestamp"];
|
|
7566
|
-
/** @description Time when the Velocity Control was last updated. */
|
|
7567
|
-
updatedAt: definitions["externaldatav1Timestamp"];
|
|
7568
|
-
/** @description Identifier for the Velocity Control. Policies reference it as `controls.<identifier>`. It must be unique within the Organization. */
|
|
7569
|
-
identifier: string;
|
|
7570
|
-
};
|
|
7571
|
-
v1VelocityControlAggregation: {
|
|
7572
|
-
/** @description Method that aggregates matching data points. */
|
|
7573
|
-
method: definitions["v1VelocityControlAggregationMethod"];
|
|
7574
|
-
/** @description Comparison between the aggregate and the threshold. */
|
|
7575
|
-
operator: definitions["v1VelocityControlAggregationOperator"];
|
|
7576
|
-
/** @description Non-negative base-10 decimal string with at most 38 total digits and 18 fractional digits. */
|
|
7577
|
-
threshold: string;
|
|
7578
|
-
/** @description Time window for the aggregation. */
|
|
7579
|
-
window: definitions["v1VelocityControlAggregationWindow"];
|
|
7580
|
-
/** @description Scope that partitions matching data before aggregation. */
|
|
7581
|
-
groupBy: definitions["v1VelocityControlAggregationGroupBy"];
|
|
7582
|
-
};
|
|
7583
|
-
v1VelocityControlAggregationGroupBy: {
|
|
7584
|
-
/** @description Uses one shared bucket for the Organization. */
|
|
7585
|
-
organization?: definitions["v1VelocityControlAggregationGroupByOrganization"];
|
|
7586
|
-
/** @description Uses one bucket for each User. */
|
|
7587
|
-
user?: definitions["v1VelocityControlAggregationGroupByUser"];
|
|
7588
|
-
/** @description Uses one bucket for each Wallet. */
|
|
7589
|
-
wallet?: definitions["v1VelocityControlAggregationGroupByWallet"];
|
|
7590
|
-
};
|
|
7591
|
-
v1VelocityControlAggregationGroupByOrganization: {
|
|
7592
|
-
[key: string]: unknown;
|
|
7593
|
-
};
|
|
7594
|
-
v1VelocityControlAggregationGroupByUser: {
|
|
7595
|
-
[key: string]: unknown;
|
|
7596
|
-
};
|
|
7597
|
-
v1VelocityControlAggregationGroupByWallet: {
|
|
7598
|
-
[key: string]: unknown;
|
|
7599
|
-
};
|
|
7600
|
-
/** @enum {string} */
|
|
7601
|
-
v1VelocityControlAggregationMethod: "VELOCITY_CONTROL_AGGREGATION_METHOD_SUM" | "VELOCITY_CONTROL_AGGREGATION_METHOD_COUNT";
|
|
7602
|
-
/** @enum {string} */
|
|
7603
|
-
v1VelocityControlAggregationOperator: "VELOCITY_CONTROL_AGGREGATION_OPERATOR_LESS_THAN" | "VELOCITY_CONTROL_AGGREGATION_OPERATOR_LESS_THAN_OR_EQUAL" | "VELOCITY_CONTROL_AGGREGATION_OPERATOR_EQUAL" | "VELOCITY_CONTROL_AGGREGATION_OPERATOR_GREATER_THAN_OR_EQUAL" | "VELOCITY_CONTROL_AGGREGATION_OPERATOR_GREATER_THAN";
|
|
7604
|
-
v1VelocityControlAggregationWindow: {
|
|
7605
|
-
/** @description Uses a rolling time window. */
|
|
7606
|
-
rolling?: definitions["v1VelocityControlAggregationWindowRolling"];
|
|
7607
|
-
/** @description Uses all matching data without a time limit. */
|
|
7608
|
-
infinite?: definitions["v1VelocityControlAggregationWindowInfinite"];
|
|
7609
|
-
};
|
|
7610
|
-
v1VelocityControlAggregationWindowInfinite: {
|
|
7611
|
-
[key: string]: unknown;
|
|
7612
|
-
};
|
|
7613
|
-
v1VelocityControlAggregationWindowRolling: {
|
|
7614
|
-
/**
|
|
7615
|
-
* Format: int64
|
|
7616
|
-
* @description Duration of the rolling window, in seconds.
|
|
7617
|
-
*/
|
|
7618
|
-
duration: number;
|
|
7619
|
-
};
|
|
7620
|
-
v1VelocityControlDataSource: {
|
|
7621
|
-
/** @description Uses transfers of the listed on-chain assets as input data. */
|
|
7622
|
-
chainAssetTransfer?: definitions["v1VelocityControlDataSourceChainAssetTransfer"];
|
|
7623
|
-
/** @description Uses executed Turnkey activities as input data. */
|
|
7624
|
-
activityExecution?: definitions["v1VelocityControlDataSourceActivityExecution"];
|
|
7625
|
-
};
|
|
7626
|
-
v1VelocityControlDataSourceActivityExecution: {
|
|
7627
|
-
/** @description Filters activity executions by type. */
|
|
7628
|
-
filter?: definitions["v1VelocityControlDataSourceActivityExecutionFilter"];
|
|
7629
|
-
};
|
|
7630
|
-
v1VelocityControlDataSourceActivityExecutionFilter: {
|
|
7631
|
-
/** @description Activity types whose executions are included. */
|
|
7632
|
-
activity?: definitions["v1VelocityControlDataSourceFilterActivity"][];
|
|
7633
|
-
};
|
|
7634
|
-
v1VelocityControlDataSourceChainAssetTransfer: {
|
|
7635
|
-
/** @description Assets whose transfers are included in the data source. */
|
|
7636
|
-
definition: definitions["v1VelocityControlDataSourceChainAssetTransferDefinition"][];
|
|
7637
|
-
/** @description Filters asset transfers by activity type. */
|
|
7638
|
-
filter?: definitions["v1VelocityControlDataSourceChainAssetTransferFilter"];
|
|
7639
|
-
/** @description Selects when to measure an asset transfer. */
|
|
7640
|
-
phase?: definitions["v1VelocityControlDataSourcePhase"];
|
|
7641
|
-
};
|
|
7642
|
-
v1VelocityControlDataSourceChainAssetTransferDefinition: {
|
|
7643
|
-
/** @description CAIP-19 identifier for the asset. */
|
|
7644
|
-
caip19: string;
|
|
7645
|
-
/**
|
|
7646
|
-
* Format: int64
|
|
7647
|
-
* @description Integer between 0 and 255 (inclusive) that specifies the number of decimal places for the asset.
|
|
7648
|
-
*/
|
|
7649
|
-
decimals: number;
|
|
7650
|
-
};
|
|
7651
|
-
v1VelocityControlDataSourceChainAssetTransferFilter: {
|
|
7652
|
-
/** @description Activity types whose asset transfers are included. */
|
|
7653
|
-
activity?: definitions["v1VelocityControlDataSourceFilterActivity"][];
|
|
7654
|
-
};
|
|
7655
|
-
v1VelocityControlDataSourceFilterActivity: {
|
|
7656
|
-
/** @description Name of an activity type to include, such as `ACTIVITY_TYPE_SOL_SEND_TRANSACTION`. */
|
|
7657
|
-
activityType: string;
|
|
7658
|
-
};
|
|
7659
|
-
v1VelocityControlDataSourcePhase: {
|
|
7660
|
-
/** @description Measures the transfer when Turnkey signs the transaction and returns it to the user. */
|
|
7661
|
-
signature?: definitions["v1VelocityControlDataSourcePhaseSignature"];
|
|
7662
|
-
/** @description Reserved for future use. Measures the transfer after the transaction lands on chain. */
|
|
7663
|
-
submission?: definitions["v1VelocityControlDataSourcePhaseSubmission"];
|
|
7664
|
-
};
|
|
7665
|
-
v1VelocityControlDataSourcePhaseSignature: {
|
|
7666
|
-
[key: string]: unknown;
|
|
7667
|
-
};
|
|
7668
|
-
v1VelocityControlDataSourcePhaseSubmission: {
|
|
7669
|
-
[key: string]: unknown;
|
|
7670
|
-
};
|
|
7671
8228
|
v1VerifyOtpIntent: {
|
|
7672
8229
|
/** @description ID representing the result of an init OTP activity. */
|
|
7673
8230
|
otpId: string;
|
|
@@ -7700,6 +8257,28 @@ export type definitions = {
|
|
|
7700
8257
|
/** @description Signed JWT containing a unique id, expiry, verification type, contact. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests) */
|
|
7701
8258
|
verificationToken: string;
|
|
7702
8259
|
};
|
|
8260
|
+
v1VerifyWalletAuthenticatorIntent: {
|
|
8261
|
+
/** @description SIWE or SIWS message. Ump accepts only the Turnkey supported login template. */
|
|
8262
|
+
message: string;
|
|
8263
|
+
/** @description Wallet signature over the message. Ethereum: 65-byte hex personal_sign (r || s || v). Solana: 64-byte hex ed25519 signature. */
|
|
8264
|
+
signature: string;
|
|
8265
|
+
/** @description Wallet public key that signed the message. Ethereum: sec1 secp256k1 hex, compressed or uncompressed. Solana: 32-byte ed25519 hex. */
|
|
8266
|
+
publicKey: string;
|
|
8267
|
+
};
|
|
8268
|
+
v1VerifyWalletAuthenticatorRequest: {
|
|
8269
|
+
/** @enum {string} */
|
|
8270
|
+
type: "ACTIVITY_TYPE_VERIFY_WALLET_AUTHENTICATOR";
|
|
8271
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
8272
|
+
timestampMs: string;
|
|
8273
|
+
/** @description Unique identifier for a given Organization. */
|
|
8274
|
+
organizationId: string;
|
|
8275
|
+
parameters: definitions["v1VerifyWalletAuthenticatorIntent"];
|
|
8276
|
+
generateAppProofs?: boolean;
|
|
8277
|
+
};
|
|
8278
|
+
v1VerifyWalletAuthenticatorResult: {
|
|
8279
|
+
/** @description Enclave-signed JWT binding the wallet, the wallet public key, and the ephemeral P-256 session key. */
|
|
8280
|
+
verificationToken: string;
|
|
8281
|
+
};
|
|
7703
8282
|
v1Vote: {
|
|
7704
8283
|
/** @description Unique identifier for a given Vote object. */
|
|
7705
8284
|
id: string;
|
|
@@ -7773,6 +8352,30 @@ export type definitions = {
|
|
|
7773
8352
|
/** @description Optional human-readable name for the account. */
|
|
7774
8353
|
name?: string;
|
|
7775
8354
|
};
|
|
8355
|
+
v1WalletAuthenticator: {
|
|
8356
|
+
/** @description Unique identifier for a wallet authenticator. */
|
|
8357
|
+
walletAuthenticatorId: string;
|
|
8358
|
+
/** @description Network this authenticator belongs to. */
|
|
8359
|
+
type: definitions["v1WalletAuthenticatorType"];
|
|
8360
|
+
/** @description Normalized account address. */
|
|
8361
|
+
address: string;
|
|
8362
|
+
/** @description SIWE/SIWS domain this authenticator is bound to. */
|
|
8363
|
+
domain: string;
|
|
8364
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
8365
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
8366
|
+
};
|
|
8367
|
+
v1WalletAuthenticatorParams: {
|
|
8368
|
+
/** @description Network this authenticator belongs to. */
|
|
8369
|
+
type: definitions["v1WalletAuthenticatorType"];
|
|
8370
|
+
/** @description Account address. Ethereum addresses are stored lowercase with a 0x prefix. Solana addresses are canonical base58. */
|
|
8371
|
+
address: string;
|
|
8372
|
+
/** @description SIWE/SIWS domain this authenticator is bound to. Host only, lowercased. */
|
|
8373
|
+
domain: string;
|
|
8374
|
+
/** @description Wallet verification JWT for this claim. Omit to attach the authenticator unverified. */
|
|
8375
|
+
verificationToken?: string;
|
|
8376
|
+
};
|
|
8377
|
+
/** @enum {string} */
|
|
8378
|
+
v1WalletAuthenticatorType: "WALLET_AUTHENTICATOR_TYPE_ETHEREUM" | "WALLET_AUTHENTICATOR_TYPE_SOLANA";
|
|
7776
8379
|
v1WalletKitSettingsParams: {
|
|
7777
8380
|
/**
|
|
7778
8381
|
* Enabled Social Providers
|
|
@@ -8076,17 +8679,17 @@ export type operations = {
|
|
|
8076
8679
|
};
|
|
8077
8680
|
};
|
|
8078
8681
|
};
|
|
8079
|
-
/**
|
|
8080
|
-
|
|
8682
|
+
/** Get gas usage and gas limits for either the parent organization or a sub-organization. */
|
|
8683
|
+
PublicApiService_GetGasUsage: {
|
|
8081
8684
|
parameters: {
|
|
8082
8685
|
body: {
|
|
8083
|
-
body: definitions["
|
|
8686
|
+
body: definitions["v1GetGasUsageRequest"];
|
|
8084
8687
|
};
|
|
8085
8688
|
};
|
|
8086
8689
|
responses: {
|
|
8087
8690
|
/** A successful response. */
|
|
8088
8691
|
200: {
|
|
8089
|
-
schema: definitions["
|
|
8692
|
+
schema: definitions["v1GetGasUsageResponse"];
|
|
8090
8693
|
};
|
|
8091
8694
|
/** An unexpected error response. */
|
|
8092
8695
|
default: {
|
|
@@ -8094,17 +8697,17 @@ export type operations = {
|
|
|
8094
8697
|
};
|
|
8095
8698
|
};
|
|
8096
8699
|
};
|
|
8097
|
-
/**
|
|
8098
|
-
|
|
8700
|
+
/** Preview the provider's current price for a swap without creating an activity. The quote is not binding and has no quote ID: a market swap executed later fetches its own quote, so its price can differ. */
|
|
8701
|
+
PublicApiService_GetIndicativeSwapQuote: {
|
|
8099
8702
|
parameters: {
|
|
8100
8703
|
body: {
|
|
8101
|
-
body: definitions["
|
|
8704
|
+
body: definitions["v1GetIndicativeSwapQuoteRequest"];
|
|
8102
8705
|
};
|
|
8103
8706
|
};
|
|
8104
8707
|
responses: {
|
|
8105
8708
|
/** A successful response. */
|
|
8106
8709
|
200: {
|
|
8107
|
-
schema: definitions["
|
|
8710
|
+
schema: definitions["v1GetIndicativeSwapQuoteResponse"];
|
|
8108
8711
|
};
|
|
8109
8712
|
/** An unexpected error response. */
|
|
8110
8713
|
default: {
|
|
@@ -8544,6 +9147,24 @@ export type operations = {
|
|
|
8544
9147
|
};
|
|
8545
9148
|
};
|
|
8546
9149
|
};
|
|
9150
|
+
/** Get default values for creating a QOS manifest. Relevant for client manifest generation. */
|
|
9151
|
+
PublicApiService_GetTvcManifestGenerationInfo: {
|
|
9152
|
+
parameters: {
|
|
9153
|
+
body: {
|
|
9154
|
+
body: definitions["v1GetTvcManifestGenerationInfoRequest"];
|
|
9155
|
+
};
|
|
9156
|
+
};
|
|
9157
|
+
responses: {
|
|
9158
|
+
/** A successful response. */
|
|
9159
|
+
200: {
|
|
9160
|
+
schema: definitions["v1GetTvcManifestGenerationInfoResponse"];
|
|
9161
|
+
};
|
|
9162
|
+
/** An unexpected error response. */
|
|
9163
|
+
default: {
|
|
9164
|
+
schema: definitions["rpcStatus"];
|
|
9165
|
+
};
|
|
9166
|
+
};
|
|
9167
|
+
};
|
|
8547
9168
|
/** List QOS versions supported for new TVC deployments and the latest recommended QOS version. */
|
|
8548
9169
|
PublicApiService_GetTvcQosVersions: {
|
|
8549
9170
|
parameters: {
|
|
@@ -8562,17 +9183,17 @@ export type operations = {
|
|
|
8562
9183
|
};
|
|
8563
9184
|
};
|
|
8564
9185
|
};
|
|
8565
|
-
/** Get details about a
|
|
8566
|
-
|
|
9186
|
+
/** Get details about a usage control. */
|
|
9187
|
+
PublicApiService_GetUsageControl: {
|
|
8567
9188
|
parameters: {
|
|
8568
9189
|
body: {
|
|
8569
|
-
body: definitions["
|
|
9190
|
+
body: definitions["v1GetUsageControlRequest"];
|
|
8570
9191
|
};
|
|
8571
9192
|
};
|
|
8572
9193
|
responses: {
|
|
8573
9194
|
/** A successful response. */
|
|
8574
9195
|
200: {
|
|
8575
|
-
schema: definitions["
|
|
9196
|
+
schema: definitions["v1GetUsageControlResponse"];
|
|
8576
9197
|
};
|
|
8577
9198
|
/** An unexpected error response. */
|
|
8578
9199
|
default: {
|
|
@@ -8580,17 +9201,17 @@ export type operations = {
|
|
|
8580
9201
|
};
|
|
8581
9202
|
};
|
|
8582
9203
|
};
|
|
8583
|
-
/** Get details about a
|
|
8584
|
-
|
|
9204
|
+
/** Get details about a user. */
|
|
9205
|
+
PublicApiService_GetUser: {
|
|
8585
9206
|
parameters: {
|
|
8586
9207
|
body: {
|
|
8587
|
-
body: definitions["
|
|
9208
|
+
body: definitions["v1GetUserRequest"];
|
|
8588
9209
|
};
|
|
8589
9210
|
};
|
|
8590
9211
|
responses: {
|
|
8591
9212
|
/** A successful response. */
|
|
8592
9213
|
200: {
|
|
8593
|
-
schema: definitions["
|
|
9214
|
+
schema: definitions["v1GetUserResponse"];
|
|
8594
9215
|
};
|
|
8595
9216
|
/** An unexpected error response. */
|
|
8596
9217
|
default: {
|
|
@@ -8652,6 +9273,24 @@ export type operations = {
|
|
|
8652
9273
|
};
|
|
8653
9274
|
};
|
|
8654
9275
|
};
|
|
9276
|
+
/** Get wallet authenticators for a user. */
|
|
9277
|
+
PublicApiService_GetWalletAuthenticators: {
|
|
9278
|
+
parameters: {
|
|
9279
|
+
body: {
|
|
9280
|
+
body: definitions["v1GetWalletAuthenticatorsRequest"];
|
|
9281
|
+
};
|
|
9282
|
+
};
|
|
9283
|
+
responses: {
|
|
9284
|
+
/** A successful response. */
|
|
9285
|
+
200: {
|
|
9286
|
+
schema: definitions["v1GetWalletAuthenticatorsResponse"];
|
|
9287
|
+
};
|
|
9288
|
+
/** An unexpected error response. */
|
|
9289
|
+
default: {
|
|
9290
|
+
schema: definitions["rpcStatus"];
|
|
9291
|
+
};
|
|
9292
|
+
};
|
|
9293
|
+
};
|
|
8655
9294
|
/** List all activities within an organization. */
|
|
8656
9295
|
PublicApiService_GetActivities: {
|
|
8657
9296
|
parameters: {
|
|
@@ -8796,6 +9435,24 @@ export type operations = {
|
|
|
8796
9435
|
};
|
|
8797
9436
|
};
|
|
8798
9437
|
};
|
|
9438
|
+
/** Quote enabled fiat off-ramp providers for a sell. Returns one quote per payment method the provider can offer for this route. Providers and methods that cannot serve the route are omitted. */
|
|
9439
|
+
PublicApiService_GetFiatOffRampQuotes: {
|
|
9440
|
+
parameters: {
|
|
9441
|
+
body: {
|
|
9442
|
+
body: definitions["v1GetFiatOffRampQuotesRequest"];
|
|
9443
|
+
};
|
|
9444
|
+
};
|
|
9445
|
+
responses: {
|
|
9446
|
+
/** A successful response. */
|
|
9447
|
+
200: {
|
|
9448
|
+
schema: definitions["v1GetFiatOffRampQuotesResponse"];
|
|
9449
|
+
};
|
|
9450
|
+
/** An unexpected error response. */
|
|
9451
|
+
default: {
|
|
9452
|
+
schema: definitions["rpcStatus"];
|
|
9453
|
+
};
|
|
9454
|
+
};
|
|
9455
|
+
};
|
|
8799
9456
|
/** List all fiat on ramp provider credentials within an organization. */
|
|
8800
9457
|
PublicApiService_ListFiatOnRampCredentials: {
|
|
8801
9458
|
parameters: {
|
|
@@ -8814,6 +9471,24 @@ export type operations = {
|
|
|
8814
9471
|
};
|
|
8815
9472
|
};
|
|
8816
9473
|
};
|
|
9474
|
+
/** Quote enabled fiat on-ramp providers for a buy. Returns one quote per payment method the provider can offer for this route. Providers and methods that cannot serve the route are omitted. */
|
|
9475
|
+
PublicApiService_GetFiatOnRampQuotes: {
|
|
9476
|
+
parameters: {
|
|
9477
|
+
body: {
|
|
9478
|
+
body: definitions["v1GetFiatOnRampQuotesRequest"];
|
|
9479
|
+
};
|
|
9480
|
+
};
|
|
9481
|
+
responses: {
|
|
9482
|
+
/** A successful response. */
|
|
9483
|
+
200: {
|
|
9484
|
+
schema: definitions["v1GetFiatOnRampQuotesResponse"];
|
|
9485
|
+
};
|
|
9486
|
+
/** An unexpected error response. */
|
|
9487
|
+
default: {
|
|
9488
|
+
schema: definitions["rpcStatus"];
|
|
9489
|
+
};
|
|
9490
|
+
};
|
|
9491
|
+
};
|
|
8817
9492
|
/** List all OAuth 2.0 credentials within an organization. */
|
|
8818
9493
|
PublicApiService_ListOauth2Credentials: {
|
|
8819
9494
|
parameters: {
|
|
@@ -9048,17 +9723,17 @@ export type operations = {
|
|
|
9048
9723
|
};
|
|
9049
9724
|
};
|
|
9050
9725
|
};
|
|
9051
|
-
/** List all
|
|
9052
|
-
|
|
9726
|
+
/** List all usage controls within an organization. */
|
|
9727
|
+
PublicApiService_ListUsageControls: {
|
|
9053
9728
|
parameters: {
|
|
9054
9729
|
body: {
|
|
9055
|
-
body: definitions["
|
|
9730
|
+
body: definitions["v1ListUsageControlsRequest"];
|
|
9056
9731
|
};
|
|
9057
9732
|
};
|
|
9058
9733
|
responses: {
|
|
9059
9734
|
/** A successful response. */
|
|
9060
9735
|
200: {
|
|
9061
|
-
schema: definitions["
|
|
9736
|
+
schema: definitions["v1ListUsageControlsResponse"];
|
|
9062
9737
|
};
|
|
9063
9738
|
/** An unexpected error response. */
|
|
9064
9739
|
default: {
|
|
@@ -9066,17 +9741,17 @@ export type operations = {
|
|
|
9066
9741
|
};
|
|
9067
9742
|
};
|
|
9068
9743
|
};
|
|
9069
|
-
/** List all
|
|
9070
|
-
|
|
9744
|
+
/** List all user tags within an organization. */
|
|
9745
|
+
PublicApiService_ListUserTags: {
|
|
9071
9746
|
parameters: {
|
|
9072
9747
|
body: {
|
|
9073
|
-
body: definitions["
|
|
9748
|
+
body: definitions["v1ListUserTagsRequest"];
|
|
9074
9749
|
};
|
|
9075
9750
|
};
|
|
9076
9751
|
responses: {
|
|
9077
9752
|
/** A successful response. */
|
|
9078
9753
|
200: {
|
|
9079
|
-
schema: definitions["
|
|
9754
|
+
schema: definitions["v1ListUserTagsResponse"];
|
|
9080
9755
|
};
|
|
9081
9756
|
/** An unexpected error response. */
|
|
9082
9757
|
default: {
|
|
@@ -9084,17 +9759,17 @@ export type operations = {
|
|
|
9084
9759
|
};
|
|
9085
9760
|
};
|
|
9086
9761
|
};
|
|
9087
|
-
/** List all
|
|
9088
|
-
|
|
9762
|
+
/** List all users within an organization. */
|
|
9763
|
+
PublicApiService_GetUsers: {
|
|
9089
9764
|
parameters: {
|
|
9090
9765
|
body: {
|
|
9091
|
-
body: definitions["
|
|
9766
|
+
body: definitions["v1GetUsersRequest"];
|
|
9092
9767
|
};
|
|
9093
9768
|
};
|
|
9094
9769
|
responses: {
|
|
9095
9770
|
/** A successful response. */
|
|
9096
9771
|
200: {
|
|
9097
|
-
schema: definitions["
|
|
9772
|
+
schema: definitions["v1GetUsersResponse"];
|
|
9098
9773
|
};
|
|
9099
9774
|
/** An unexpected error response. */
|
|
9100
9775
|
default: {
|
|
@@ -9318,7 +9993,43 @@ export type operations = {
|
|
|
9318
9993
|
};
|
|
9319
9994
|
};
|
|
9320
9995
|
};
|
|
9321
|
-
/**
|
|
9996
|
+
/** Register an external signer with the organization. */
|
|
9997
|
+
PublicApiService_CreateExternalSigner: {
|
|
9998
|
+
parameters: {
|
|
9999
|
+
body: {
|
|
10000
|
+
body: definitions["v1CreateExternalSignerRequest"];
|
|
10001
|
+
};
|
|
10002
|
+
};
|
|
10003
|
+
responses: {
|
|
10004
|
+
/** A successful response. */
|
|
10005
|
+
200: {
|
|
10006
|
+
schema: definitions["v1ActivityResponse"];
|
|
10007
|
+
};
|
|
10008
|
+
/** An unexpected error response. */
|
|
10009
|
+
default: {
|
|
10010
|
+
schema: definitions["rpcStatus"];
|
|
10011
|
+
};
|
|
10012
|
+
};
|
|
10013
|
+
};
|
|
10014
|
+
/** Open a fiat off-ramp session for a saved quote. */
|
|
10015
|
+
PublicApiService_CreateFiatOffRampSession: {
|
|
10016
|
+
parameters: {
|
|
10017
|
+
body: {
|
|
10018
|
+
body: definitions["v1CreateFiatOffRampSessionRequest"];
|
|
10019
|
+
};
|
|
10020
|
+
};
|
|
10021
|
+
responses: {
|
|
10022
|
+
/** A successful response. */
|
|
10023
|
+
200: {
|
|
10024
|
+
schema: definitions["v1ActivityResponse"];
|
|
10025
|
+
};
|
|
10026
|
+
/** An unexpected error response. */
|
|
10027
|
+
default: {
|
|
10028
|
+
schema: definitions["rpcStatus"];
|
|
10029
|
+
};
|
|
10030
|
+
};
|
|
10031
|
+
};
|
|
10032
|
+
/** Deprecated: use CreateFiatRampCredential. */
|
|
9322
10033
|
PublicApiService_CreateFiatOnRampCredential: {
|
|
9323
10034
|
parameters: {
|
|
9324
10035
|
body: {
|
|
@@ -9354,6 +10065,24 @@ export type operations = {
|
|
|
9354
10065
|
};
|
|
9355
10066
|
};
|
|
9356
10067
|
};
|
|
10068
|
+
/** Create a fiat ramp provider credential. */
|
|
10069
|
+
PublicApiService_CreateFiatRampCredential: {
|
|
10070
|
+
parameters: {
|
|
10071
|
+
body: {
|
|
10072
|
+
body: definitions["v1CreateFiatRampCredentialRequest"];
|
|
10073
|
+
};
|
|
10074
|
+
};
|
|
10075
|
+
responses: {
|
|
10076
|
+
/** A successful response. */
|
|
10077
|
+
200: {
|
|
10078
|
+
schema: definitions["v1ActivityResponse"];
|
|
10079
|
+
};
|
|
10080
|
+
/** An unexpected error response. */
|
|
10081
|
+
default: {
|
|
10082
|
+
schema: definitions["rpcStatus"];
|
|
10083
|
+
};
|
|
10084
|
+
};
|
|
10085
|
+
};
|
|
9357
10086
|
/** Create invitations to join an existing organization. */
|
|
9358
10087
|
PublicApiService_CreateInvitations: {
|
|
9359
10088
|
parameters: {
|
|
@@ -9570,7 +10299,7 @@ export type operations = {
|
|
|
9570
10299
|
};
|
|
9571
10300
|
};
|
|
9572
10301
|
};
|
|
9573
|
-
/** Create a new sub-organization. Each root user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the sub-organization (email, email OTP, or SMS). */
|
|
10302
|
+
/** Create a new sub-organization. Each root user must have at least one valid credential: an API key, an authenticator, an OAuth provider, a wallet authenticator, or an email or phone number with a login method enabled on the sub-organization (email, email OTP, or SMS). */
|
|
9574
10303
|
PublicApiService_CreateSubOrganization: {
|
|
9575
10304
|
parameters: {
|
|
9576
10305
|
body: {
|
|
@@ -9588,7 +10317,7 @@ export type operations = {
|
|
|
9588
10317
|
};
|
|
9589
10318
|
};
|
|
9590
10319
|
};
|
|
9591
|
-
/** Create a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. Requests must use ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V3. */
|
|
10320
|
+
/** Create a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. Requests must use ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V3, which returns its quotes in createSwapQuoteResultV2. */
|
|
9592
10321
|
PublicApiService_CreateSwapQuote: {
|
|
9593
10322
|
parameters: {
|
|
9594
10323
|
body: {
|
|
@@ -9696,11 +10425,11 @@ export type operations = {
|
|
|
9696
10425
|
};
|
|
9697
10426
|
};
|
|
9698
10427
|
};
|
|
9699
|
-
/** Create a
|
|
9700
|
-
|
|
10428
|
+
/** Create a new usage control. */
|
|
10429
|
+
PublicApiService_CreateUsageControl: {
|
|
9701
10430
|
parameters: {
|
|
9702
10431
|
body: {
|
|
9703
|
-
body: definitions["
|
|
10432
|
+
body: definitions["v1CreateUsageControlRequest"];
|
|
9704
10433
|
};
|
|
9705
10434
|
};
|
|
9706
10435
|
responses: {
|
|
@@ -9714,11 +10443,11 @@ export type operations = {
|
|
|
9714
10443
|
};
|
|
9715
10444
|
};
|
|
9716
10445
|
};
|
|
9717
|
-
/** Create
|
|
9718
|
-
|
|
10446
|
+
/** Create a user tag and add it to users. */
|
|
10447
|
+
PublicApiService_CreateUserTag: {
|
|
9719
10448
|
parameters: {
|
|
9720
10449
|
body: {
|
|
9721
|
-
body: definitions["
|
|
10450
|
+
body: definitions["v1CreateUserTagRequest"];
|
|
9722
10451
|
};
|
|
9723
10452
|
};
|
|
9724
10453
|
responses: {
|
|
@@ -9732,11 +10461,11 @@ export type operations = {
|
|
|
9732
10461
|
};
|
|
9733
10462
|
};
|
|
9734
10463
|
};
|
|
9735
|
-
/** Create a
|
|
9736
|
-
|
|
10464
|
+
/** Create users in an existing organization. Each user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the organization (email, email OTP, or SMS). */
|
|
10465
|
+
PublicApiService_CreateUsers: {
|
|
9737
10466
|
parameters: {
|
|
9738
10467
|
body: {
|
|
9739
|
-
body: definitions["
|
|
10468
|
+
body: definitions["v1CreateUsersRequest"];
|
|
9740
10469
|
};
|
|
9741
10470
|
};
|
|
9742
10471
|
responses: {
|
|
@@ -9786,6 +10515,24 @@ export type operations = {
|
|
|
9786
10515
|
};
|
|
9787
10516
|
};
|
|
9788
10517
|
};
|
|
10518
|
+
/** Add wallet authenticators to an existing user. Omit verification_token to attach unverified. */
|
|
10519
|
+
PublicApiService_CreateWalletAuthenticators: {
|
|
10520
|
+
parameters: {
|
|
10521
|
+
body: {
|
|
10522
|
+
body: definitions["v1CreateWalletAuthenticatorsRequest"];
|
|
10523
|
+
};
|
|
10524
|
+
};
|
|
10525
|
+
responses: {
|
|
10526
|
+
/** A successful response. */
|
|
10527
|
+
200: {
|
|
10528
|
+
schema: definitions["v1ActivityResponse"];
|
|
10529
|
+
};
|
|
10530
|
+
/** An unexpected error response. */
|
|
10531
|
+
default: {
|
|
10532
|
+
schema: definitions["rpcStatus"];
|
|
10533
|
+
};
|
|
10534
|
+
};
|
|
10535
|
+
};
|
|
9789
10536
|
/** Create a webhook endpoint for an organization. */
|
|
9790
10537
|
PublicApiService_CreateWebhookEndpoint: {
|
|
9791
10538
|
parameters: {
|
|
@@ -9840,6 +10587,24 @@ export type operations = {
|
|
|
9840
10587
|
};
|
|
9841
10588
|
};
|
|
9842
10589
|
};
|
|
10590
|
+
/** Remove an external signer from the organization by its public key. */
|
|
10591
|
+
PublicApiService_DeleteExternalSigner: {
|
|
10592
|
+
parameters: {
|
|
10593
|
+
body: {
|
|
10594
|
+
body: definitions["v1DeleteExternalSignerRequest"];
|
|
10595
|
+
};
|
|
10596
|
+
};
|
|
10597
|
+
responses: {
|
|
10598
|
+
/** A successful response. */
|
|
10599
|
+
200: {
|
|
10600
|
+
schema: definitions["v1ActivityResponse"];
|
|
10601
|
+
};
|
|
10602
|
+
/** An unexpected error response. */
|
|
10603
|
+
default: {
|
|
10604
|
+
schema: definitions["rpcStatus"];
|
|
10605
|
+
};
|
|
10606
|
+
};
|
|
10607
|
+
};
|
|
9843
10608
|
/** Delete a fiat on ramp provider credential. */
|
|
9844
10609
|
PublicApiService_DeleteFiatOnRampCredential: {
|
|
9845
10610
|
parameters: {
|
|
@@ -10092,6 +10857,24 @@ export type operations = {
|
|
|
10092
10857
|
};
|
|
10093
10858
|
};
|
|
10094
10859
|
};
|
|
10860
|
+
/** Delete existing usage controls. */
|
|
10861
|
+
PublicApiService_DeleteUsageControls: {
|
|
10862
|
+
parameters: {
|
|
10863
|
+
body: {
|
|
10864
|
+
body: definitions["v1DeleteUsageControlsRequest"];
|
|
10865
|
+
};
|
|
10866
|
+
};
|
|
10867
|
+
responses: {
|
|
10868
|
+
/** A successful response. */
|
|
10869
|
+
200: {
|
|
10870
|
+
schema: definitions["v1ActivityResponse"];
|
|
10871
|
+
};
|
|
10872
|
+
/** An unexpected error response. */
|
|
10873
|
+
default: {
|
|
10874
|
+
schema: definitions["rpcStatus"];
|
|
10875
|
+
};
|
|
10876
|
+
};
|
|
10877
|
+
};
|
|
10095
10878
|
/** Delete user tags within an organization. */
|
|
10096
10879
|
PublicApiService_DeleteUserTags: {
|
|
10097
10880
|
parameters: {
|
|
@@ -10128,11 +10911,11 @@ export type operations = {
|
|
|
10128
10911
|
};
|
|
10129
10912
|
};
|
|
10130
10913
|
};
|
|
10131
|
-
/** Delete
|
|
10132
|
-
|
|
10914
|
+
/** Delete wallet accounts for an organization. */
|
|
10915
|
+
PublicApiService_DeleteWalletAccounts: {
|
|
10133
10916
|
parameters: {
|
|
10134
10917
|
body: {
|
|
10135
|
-
body: definitions["
|
|
10918
|
+
body: definitions["v1DeleteWalletAccountsRequest"];
|
|
10136
10919
|
};
|
|
10137
10920
|
};
|
|
10138
10921
|
responses: {
|
|
@@ -10146,11 +10929,11 @@ export type operations = {
|
|
|
10146
10929
|
};
|
|
10147
10930
|
};
|
|
10148
10931
|
};
|
|
10149
|
-
/**
|
|
10150
|
-
|
|
10932
|
+
/** Remove wallet authenticators from a user. */
|
|
10933
|
+
PublicApiService_DeleteWalletAuthenticators: {
|
|
10151
10934
|
parameters: {
|
|
10152
10935
|
body: {
|
|
10153
|
-
body: definitions["
|
|
10936
|
+
body: definitions["v1DeleteWalletAuthenticatorsRequest"];
|
|
10154
10937
|
};
|
|
10155
10938
|
};
|
|
10156
10939
|
responses: {
|
|
@@ -10362,7 +11145,7 @@ export type operations = {
|
|
|
10362
11145
|
};
|
|
10363
11146
|
};
|
|
10364
11147
|
};
|
|
10365
|
-
/** Execute the
|
|
11148
|
+
/** Execute a swap through the activity pipeline and Turnkey broadcasting. With bound_quote, execution is bound to the quote create_swap_quote returned. With market, the swap executes at the provider's price when the activity is approved, within slippage_bps and min_output_amount; use get_indicative_swap_quote to preview that price. Requests must use ACTIVITY_TYPE_EXECUTE_SWAP_V4. */
|
|
10366
11149
|
PublicApiService_ExecuteSwap: {
|
|
10367
11150
|
parameters: {
|
|
10368
11151
|
body: {
|
|
@@ -10506,7 +11289,7 @@ export type operations = {
|
|
|
10506
11289
|
};
|
|
10507
11290
|
};
|
|
10508
11291
|
};
|
|
10509
|
-
/**
|
|
11292
|
+
/** Deprecated: use CreateFiatOnRampSession with a quote from GetFiatOnRampQuotes. */
|
|
10510
11293
|
PublicApiService_InitFiatOnRamp: {
|
|
10511
11294
|
parameters: {
|
|
10512
11295
|
body: {
|
|
@@ -10632,6 +11415,24 @@ export type operations = {
|
|
|
10632
11415
|
};
|
|
10633
11416
|
};
|
|
10634
11417
|
};
|
|
11418
|
+
/** Mint a Turnkey-signed JWT with a given profile. JWT semantics switch on profile. */
|
|
11419
|
+
PublicApiService_MintJwt: {
|
|
11420
|
+
parameters: {
|
|
11421
|
+
body: {
|
|
11422
|
+
body: definitions["v1MintJwtRequest"];
|
|
11423
|
+
};
|
|
11424
|
+
};
|
|
11425
|
+
responses: {
|
|
11426
|
+
/** A successful response. */
|
|
11427
|
+
200: {
|
|
11428
|
+
schema: definitions["v1ActivityResponse"];
|
|
11429
|
+
};
|
|
11430
|
+
/** An unexpected error response. */
|
|
11431
|
+
default: {
|
|
11432
|
+
schema: definitions["rpcStatus"];
|
|
11433
|
+
};
|
|
11434
|
+
};
|
|
11435
|
+
};
|
|
10635
11436
|
/** Authenticate a user with an OIDC token (Oauth). */
|
|
10636
11437
|
PublicApiService_Oauth: {
|
|
10637
11438
|
parameters: {
|
|
@@ -11064,7 +11865,7 @@ export type operations = {
|
|
|
11064
11865
|
};
|
|
11065
11866
|
};
|
|
11066
11867
|
};
|
|
11067
|
-
/**
|
|
11868
|
+
/** Deprecated: use UpdateFiatRampCredential. */
|
|
11068
11869
|
PublicApiService_UpdateFiatOnRampCredential: {
|
|
11069
11870
|
parameters: {
|
|
11070
11871
|
body: {
|
|
@@ -11082,6 +11883,24 @@ export type operations = {
|
|
|
11082
11883
|
};
|
|
11083
11884
|
};
|
|
11084
11885
|
};
|
|
11886
|
+
/** Update a fiat ramp provider credential. */
|
|
11887
|
+
PublicApiService_UpdateFiatRampCredential: {
|
|
11888
|
+
parameters: {
|
|
11889
|
+
body: {
|
|
11890
|
+
body: definitions["v1UpdateFiatRampCredentialRequest"];
|
|
11891
|
+
};
|
|
11892
|
+
};
|
|
11893
|
+
responses: {
|
|
11894
|
+
/** A successful response. */
|
|
11895
|
+
200: {
|
|
11896
|
+
schema: definitions["v1ActivityResponse"];
|
|
11897
|
+
};
|
|
11898
|
+
/** An unexpected error response. */
|
|
11899
|
+
default: {
|
|
11900
|
+
schema: definitions["rpcStatus"];
|
|
11901
|
+
};
|
|
11902
|
+
};
|
|
11903
|
+
};
|
|
11085
11904
|
/** Update an MFA policy for a user. */
|
|
11086
11905
|
PublicApiService_UpdateMfaPolicy: {
|
|
11087
11906
|
parameters: {
|
|
@@ -11388,6 +12207,24 @@ export type operations = {
|
|
|
11388
12207
|
};
|
|
11389
12208
|
};
|
|
11390
12209
|
};
|
|
12210
|
+
/** Verify a SIWE or SIWS login and return an enclave-signed wallet verification token. */
|
|
12211
|
+
PublicApiService_VerifyWalletAuthenticator: {
|
|
12212
|
+
parameters: {
|
|
12213
|
+
body: {
|
|
12214
|
+
body: definitions["v1VerifyWalletAuthenticatorRequest"];
|
|
12215
|
+
};
|
|
12216
|
+
};
|
|
12217
|
+
responses: {
|
|
12218
|
+
/** A successful response. */
|
|
12219
|
+
200: {
|
|
12220
|
+
schema: definitions["v1ActivityResponse"];
|
|
12221
|
+
};
|
|
12222
|
+
/** An unexpected error response. */
|
|
12223
|
+
default: {
|
|
12224
|
+
schema: definitions["rpcStatus"];
|
|
12225
|
+
};
|
|
12226
|
+
};
|
|
12227
|
+
};
|
|
11391
12228
|
/** Internal no-op endpoint used to force generation of types not otherwise referenced by a public request or response. Not intended for use. */
|
|
11392
12229
|
PublicApiService_NOOPCodegenAnchor: {
|
|
11393
12230
|
responses: {
|