@turnkey/sdk-browser 1.13.0 → 1.14.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.
@@ -318,6 +318,10 @@ export type paths = {
318
318
  "/tkhq/api/v1/noop-codegen-anchor": {
319
319
  post: operations["PublicApiService_NOOPCodegenAnchor"];
320
320
  };
321
+ "/tkhq/api/v1/test_rate_limits": {
322
+ /** Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite */
323
+ post: operations["PublicApiService_TestRateLimits"];
324
+ };
321
325
  };
322
326
  export type definitions = {
323
327
  apiApiKeyParams: {
@@ -510,9 +514,9 @@ export type definitions = {
510
514
  userName: string;
511
515
  /** @description The email address for this API-only User (optional). */
512
516
  userEmail?: string;
513
- /** @description A list of tags assigned to the new API-only User. */
517
+ /** @description A list of tags assigned to the new API-only User. This field, if not needed, should be an empty array in your request body. */
514
518
  userTags: string[];
515
- /** @description A list of API Key parameters. */
519
+ /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
516
520
  apiKeys: definitions["apiApiKeyParams"][];
517
521
  };
518
522
  v1ApproveActivityIntent: {
@@ -1110,7 +1114,7 @@ export type definitions = {
1110
1114
  v1CreateWalletIntent: {
1111
1115
  /** @description Human-readable name for a Wallet. */
1112
1116
  walletName: string;
1113
- /** @description A list of wallet Accounts. */
1117
+ /** @description A list of wallet Accounts. This field, if not needed, should be an empty array in your request body. */
1114
1118
  accounts: definitions["v1WalletAccountParams"][];
1115
1119
  /**
1116
1120
  * Format: int32
@@ -1971,7 +1975,7 @@ export type definitions = {
1971
1975
  receiverUserName: string;
1972
1976
  /** @description The email address of the intended Invitation recipient. */
1973
1977
  receiverUserEmail: string;
1974
- /** @description A list of tags assigned to the Invitation recipient. */
1978
+ /** @description A list of tags assigned to the Invitation recipient. This field, if not needed, should be an empty array in your request body. */
1975
1979
  receiverUserTags: string[];
1976
1980
  /** @description The User's permissible access method(s). */
1977
1981
  accessType: definitions["v1AccessType"];
@@ -2146,7 +2150,7 @@ export type definitions = {
2146
2150
  privateKeyName: string;
2147
2151
  /** @description Cryptographic Curve used to generate a given Private Key. */
2148
2152
  curve: definitions["v1Curve"];
2149
- /** @description A list of Private Key Tag IDs. */
2153
+ /** @description A list of Private Key Tag IDs. This field, if not needed, should be an empty array in your request body. */
2150
2154
  privateKeyTags: string[];
2151
2155
  /** @description Cryptocurrency-specific formats for a derived address (e.g., Ethereum). */
2152
2156
  addressFormats: definitions["v1AddressFormat"][];
@@ -2287,9 +2291,9 @@ export type definitions = {
2287
2291
  userName: string;
2288
2292
  /** @description The user's email address. */
2289
2293
  userEmail?: string;
2290
- /** @description A list of API Key parameters. */
2294
+ /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
2291
2295
  apiKeys: definitions["apiApiKeyParams"][];
2292
- /** @description A list of Authenticator parameters. */
2296
+ /** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
2293
2297
  authenticators: definitions["v1AuthenticatorParamsV2"][];
2294
2298
  };
2295
2299
  v1RootUserParamsV2: {
@@ -2297,11 +2301,11 @@ export type definitions = {
2297
2301
  userName: string;
2298
2302
  /** @description The user's email address. */
2299
2303
  userEmail?: string;
2300
- /** @description A list of API Key parameters. */
2304
+ /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
2301
2305
  apiKeys: definitions["apiApiKeyParams"][];
2302
- /** @description A list of Authenticator parameters. */
2306
+ /** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
2303
2307
  authenticators: definitions["v1AuthenticatorParamsV2"][];
2304
- /** @description A list of Oauth providers. */
2308
+ /** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
2305
2309
  oauthProviders: definitions["v1OauthProviderParams"][];
2306
2310
  };
2307
2311
  v1RootUserParamsV3: {
@@ -2309,11 +2313,11 @@ export type definitions = {
2309
2313
  userName: string;
2310
2314
  /** @description The user's email address. */
2311
2315
  userEmail?: string;
2312
- /** @description A list of API Key parameters. */
2316
+ /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
2313
2317
  apiKeys: definitions["v1ApiKeyParamsV2"][];
2314
- /** @description A list of Authenticator parameters. */
2318
+ /** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
2315
2319
  authenticators: definitions["v1AuthenticatorParamsV2"][];
2316
- /** @description A list of Oauth providers. */
2320
+ /** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
2317
2321
  oauthProviders: definitions["v1OauthProviderParams"][];
2318
2322
  };
2319
2323
  v1RootUserParamsV4: {
@@ -2323,11 +2327,11 @@ export type definitions = {
2323
2327
  userEmail?: string;
2324
2328
  /** @description The user's phone number in E.164 format e.g. +13214567890 */
2325
2329
  userPhoneNumber?: string;
2326
- /** @description A list of API Key parameters. */
2330
+ /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
2327
2331
  apiKeys: definitions["v1ApiKeyParamsV2"][];
2328
- /** @description A list of Authenticator parameters. */
2332
+ /** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
2329
2333
  authenticators: definitions["v1AuthenticatorParamsV2"][];
2330
- /** @description A list of Oauth providers. */
2334
+ /** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
2331
2335
  oauthProviders: definitions["v1OauthProviderParams"][];
2332
2336
  };
2333
2337
  v1Selector: {
@@ -2455,6 +2459,20 @@ export type definitions = {
2455
2459
  };
2456
2460
  /** @enum {string} */
2457
2461
  v1TagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
2462
+ v1TestRateLimitsRequest: {
2463
+ /** @description Unique identifier for a given Organization. If the request is being made by a WebAuthN user and their Sub-Organization ID is unknown, this can be the Parent Organization ID; using the Sub-Organization ID when possible is preferred due to performance reasons. */
2464
+ organizationId: string;
2465
+ /** @description Whether or not to set a limit on this request. */
2466
+ isSetLimit: boolean;
2467
+ /**
2468
+ * Format: int64
2469
+ * @description Rate limit to set for org, if is_set_limit is set to true
2470
+ */
2471
+ limit: number;
2472
+ };
2473
+ v1TestRateLimitsResponse: {
2474
+ [key: string]: unknown;
2475
+ };
2458
2476
  /** @enum {string} */
2459
2477
  v1TransactionType: "TRANSACTION_TYPE_ETHEREUM" | "TRANSACTION_TYPE_SOLANA";
2460
2478
  v1UpdateAllowedOriginsIntent: {
@@ -2542,7 +2560,7 @@ export type definitions = {
2542
2560
  userName?: string;
2543
2561
  /** @description The user's email address. */
2544
2562
  userEmail?: string;
2545
- /** @description An updated list of User Tags to apply to this User. */
2563
+ /** @description An updated list of User Tags to apply to this User. This field, if not needed, should be an empty array in your request body. */
2546
2564
  userTagIds?: string[];
2547
2565
  /** @description The user's phone number in E.164 format e.g. +13214567890 */
2548
2566
  userPhoneNumber?: string;
@@ -2613,7 +2631,7 @@ export type definitions = {
2613
2631
  userPhoneNumber?: string;
2614
2632
  /** @description A list of Authenticator parameters. */
2615
2633
  authenticators: definitions["v1Authenticator"][];
2616
- /** @description A list of API Key parameters. */
2634
+ /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
2617
2635
  apiKeys: definitions["v1ApiKey"][];
2618
2636
  /** @description A list of User Tag IDs. */
2619
2637
  userTags: string[];
@@ -2629,11 +2647,11 @@ export type definitions = {
2629
2647
  userEmail?: string;
2630
2648
  /** @description The User's permissible access method(s). */
2631
2649
  accessType: definitions["v1AccessType"];
2632
- /** @description A list of API Key parameters. */
2650
+ /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
2633
2651
  apiKeys: definitions["apiApiKeyParams"][];
2634
- /** @description A list of Authenticator parameters. */
2652
+ /** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
2635
2653
  authenticators: definitions["v1AuthenticatorParams"][];
2636
- /** @description A list of User Tag IDs. */
2654
+ /** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
2637
2655
  userTags: string[];
2638
2656
  };
2639
2657
  v1UserParamsV2: {
@@ -2641,11 +2659,11 @@ export type definitions = {
2641
2659
  userName: string;
2642
2660
  /** @description The user's email address. */
2643
2661
  userEmail?: string;
2644
- /** @description A list of API Key parameters. */
2662
+ /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
2645
2663
  apiKeys: definitions["apiApiKeyParams"][];
2646
- /** @description A list of Authenticator parameters. */
2664
+ /** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
2647
2665
  authenticators: definitions["v1AuthenticatorParamsV2"][];
2648
- /** @description A list of User Tag IDs. */
2666
+ /** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
2649
2667
  userTags: string[];
2650
2668
  };
2651
2669
  v1Vote: {
@@ -2714,7 +2732,7 @@ export type definitions = {
2714
2732
  v1WalletParams: {
2715
2733
  /** @description Human-readable name for a Wallet. */
2716
2734
  walletName: string;
2717
- /** @description A list of wallet Accounts. */
2735
+ /** @description A list of wallet Accounts. This field, if not needed, should be an empty array in your request body. */
2718
2736
  accounts: definitions["v1WalletAccountParams"][];
2719
2737
  /**
2720
2738
  * Format: int32
@@ -4155,6 +4173,24 @@ export type operations = {
4155
4173
  };
4156
4174
  };
4157
4175
  };
4176
+ /** Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite */
4177
+ PublicApiService_TestRateLimits: {
4178
+ parameters: {
4179
+ body: {
4180
+ body: definitions["v1TestRateLimitsRequest"];
4181
+ };
4182
+ };
4183
+ responses: {
4184
+ /** A successful response. */
4185
+ 200: {
4186
+ schema: definitions["v1TestRateLimitsResponse"];
4187
+ };
4188
+ /** An unexpected error response. */
4189
+ default: {
4190
+ schema: definitions["rpcStatus"];
4191
+ };
4192
+ };
4193
+ };
4158
4194
  };
4159
4195
  export type external = {};
4160
4196
  //# sourceMappingURL=public_api.types.d.ts.map