@turnkey/http 2.12.3 → 2.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.
@@ -296,6 +296,60 @@ export type paths = {
296
296
  };
297
297
  };
298
298
  export type definitions = {
299
+ apiApiKeyParams: {
300
+ /** @description Human-readable name for an API Key. */
301
+ apiKeyName: string;
302
+ /** @description The public component of a cryptographic key pair used to sign messages and transactions. */
303
+ publicKey: string;
304
+ /** @description Optional window (in seconds) indicating how long the API Key should last. */
305
+ expirationSeconds?: string;
306
+ };
307
+ billingActivateBillingTierIntent: {
308
+ /** @description The product that the customer wants to subscribe to. */
309
+ productId: string;
310
+ };
311
+ billingActivateBillingTierResult: {
312
+ /** @description The id of the product being subscribed to. */
313
+ productId: string;
314
+ };
315
+ billingDeletePaymentMethodIntent: {
316
+ /** @description The payment method that the customer wants to remove. */
317
+ paymentMethodId: string;
318
+ };
319
+ billingDeletePaymentMethodResult: {
320
+ /** @description The payment method that was removed. */
321
+ paymentMethodId: string;
322
+ };
323
+ billingSetPaymentMethodIntent: {
324
+ /** @description The account number of the customer's credit card. */
325
+ number: string;
326
+ /** @description The verification digits of the customer's credit card. */
327
+ cvv: string;
328
+ /** @description The month that the credit card expires. */
329
+ expiryMonth: string;
330
+ /** @description The year that the credit card expires. */
331
+ expiryYear: string;
332
+ /** @description The email that will receive invoices for the credit card. */
333
+ cardHolderEmail: string;
334
+ /** @description The name associated with the credit card. */
335
+ cardHolderName: string;
336
+ };
337
+ billingSetPaymentMethodIntentV2: {
338
+ /** @description The id of the payment method that was created clientside. */
339
+ paymentMethodId: string;
340
+ /** @description The email that will receive invoices for the credit card. */
341
+ cardHolderEmail: string;
342
+ /** @description The name associated with the credit card. */
343
+ cardHolderName: string;
344
+ };
345
+ billingSetPaymentMethodResult: {
346
+ /** @description The last four digits of the credit card added. */
347
+ lastFour: string;
348
+ /** @description The name associated with the payment method. */
349
+ cardHolderName: string;
350
+ /** @description The email address associated with the payment method. */
351
+ cardHolderEmail: string;
352
+ };
299
353
  datav1Tag: {
300
354
  /** @description Unique identifier for a given Tag. */
301
355
  tagId: string;
@@ -366,14 +420,6 @@ export type definitions = {
366
420
  };
367
421
  /** @enum {string} */
368
422
  v1AccessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
369
- v1ActivateBillingTierIntent: {
370
- /** @description The product that the customer wants to subscribe to. */
371
- productId: string;
372
- };
373
- v1ActivateBillingTierResult: {
374
- /** @description The id of the product being subscribed to. */
375
- productId: string;
376
- };
377
423
  v1Activity: {
378
424
  /** @description Unique identifier for a given Activity object. */
379
425
  id: string;
@@ -405,9 +451,9 @@ export type definitions = {
405
451
  /** @enum {string} */
406
452
  v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
407
453
  /** @enum {string} */
408
- 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";
454
+ 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";
409
455
  /** @enum {string} */
410
- v1AddressFormat: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON";
456
+ 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";
411
457
  v1ApiKey: {
412
458
  /** @description A User credential that can be used to authenticate to Turnkey. */
413
459
  credential: definitions["externaldatav1Credential"];
@@ -425,14 +471,6 @@ export type definitions = {
425
471
  };
426
472
  /** @enum {string} */
427
473
  v1ApiKeyCurve: "API_KEY_CURVE_P256" | "API_KEY_CURVE_SECP256K1" | "API_KEY_CURVE_ED25519";
428
- v1ApiKeyParams: {
429
- /** @description Human-readable name for an API Key. */
430
- apiKeyName: string;
431
- /** @description The public component of a cryptographic key pair used to sign messages and transactions. */
432
- publicKey: string;
433
- /** @description Optional window (in seconds) indicating how long the API Key should last. */
434
- expirationSeconds?: string;
435
- };
436
474
  v1ApiKeyParamsV2: {
437
475
  /** @description Human-readable name for an API Key. */
438
476
  apiKeyName: string;
@@ -451,7 +489,7 @@ export type definitions = {
451
489
  /** @description A list of tags assigned to the new API-only User. */
452
490
  userTags: string[];
453
491
  /** @description A list of API Key parameters. */
454
- apiKeys: definitions["v1ApiKeyParams"][];
492
+ apiKeys: definitions["apiApiKeyParams"][];
455
493
  };
456
494
  v1ApproveActivityIntent: {
457
495
  /** @description An artifact verifying a User's action. */
@@ -527,7 +565,7 @@ export type definitions = {
527
565
  };
528
566
  v1CreateApiKeysIntent: {
529
567
  /** @description A list of API Keys. */
530
- apiKeys: definitions["v1ApiKeyParams"][];
568
+ apiKeys: definitions["apiApiKeyParams"][];
531
569
  /** @description Unique identifier for a given User. */
532
570
  userId: string;
533
571
  };
@@ -796,14 +834,24 @@ export type definitions = {
796
834
  /** @description Expiration window (in seconds) indicating how long the API key is valid. If not provided, a default of 15 minutes will be used. */
797
835
  expirationSeconds?: string;
798
836
  };
837
+ v1CreateReadWriteSessionIntentV2: {
838
+ /** @description Client-side public key generated by the user, to which the read write session bundle (credentials) will be encrypted. */
839
+ targetPublicKey: string;
840
+ /** @description Unique identifier for a given User. */
841
+ userId?: string;
842
+ /** @description Optional human-readable name for an API Key. If none provided, default to Read Write Session - <Timestamp> */
843
+ apiKeyName?: string;
844
+ /** @description Expiration window (in seconds) indicating how long the API key is valid. If not provided, a default of 15 minutes will be used. */
845
+ expirationSeconds?: string;
846
+ };
799
847
  v1CreateReadWriteSessionRequest: {
800
848
  /** @enum {string} */
801
- type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION";
849
+ type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2";
802
850
  /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
803
851
  timestampMs: string;
804
852
  /** @description Unique identifier for a given Organization. */
805
853
  organizationId: string;
806
- parameters: definitions["v1CreateReadWriteSessionIntent"];
854
+ parameters: definitions["v1CreateReadWriteSessionIntentV2"];
807
855
  };
808
856
  v1CreateReadWriteSessionResult: {
809
857
  /** @description Unique identifier for a given Organization. If the request is being made by a user and their Sub-Organization ID is unknown, this can be the Parent Organization ID. However, using the Sub-Organization ID is preferred due to performance reasons. */
@@ -819,6 +867,20 @@ export type definitions = {
819
867
  /** @description HPKE encrypted credential bundle */
820
868
  credentialBundle: string;
821
869
  };
870
+ v1CreateReadWriteSessionResultV2: {
871
+ /** @description Unique identifier for a given Organization. If the request is being made by a user and their Sub-Organization ID is unknown, this can be the Parent Organization ID. However, using the Sub-Organization ID is preferred due to performance reasons. */
872
+ organizationId: string;
873
+ /** @description Human-readable name for an Organization. */
874
+ organizationName: string;
875
+ /** @description Unique identifier for a given User. */
876
+ userId: string;
877
+ /** @description Human-readable name for a User. */
878
+ username: string;
879
+ /** @description Unique identifier for the created API key. */
880
+ apiKeyId: string;
881
+ /** @description HPKE encrypted credential bundle */
882
+ credentialBundle: string;
883
+ };
822
884
  v1CreateSubOrganizationIntent: {
823
885
  /** @description Name for this sub-organization */
824
886
  name: string;
@@ -1110,14 +1172,6 @@ export type definitions = {
1110
1172
  /** @description Unique identifier for a given Organization. */
1111
1173
  organizationId: string;
1112
1174
  };
1113
- v1DeletePaymentMethodIntent: {
1114
- /** @description The payment method that the customer wants to remove. */
1115
- paymentMethodId: string;
1116
- };
1117
- v1DeletePaymentMethodResult: {
1118
- /** @description The payment method that was removed. */
1119
- paymentMethodId: string;
1120
- };
1121
1175
  v1DeletePolicyIntent: {
1122
1176
  /** @description Unique identifier for a given Policy. */
1123
1177
  policyId: string;
@@ -1711,9 +1765,9 @@ export type definitions = {
1711
1765
  createPrivateKeyTagIntent?: definitions["v1CreatePrivateKeyTagIntent"];
1712
1766
  deletePrivateKeyTagsIntent?: definitions["v1DeletePrivateKeyTagsIntent"];
1713
1767
  createPolicyIntentV2?: definitions["v1CreatePolicyIntentV2"];
1714
- setPaymentMethodIntent?: definitions["v1SetPaymentMethodIntent"];
1715
- activateBillingTierIntent?: definitions["v1ActivateBillingTierIntent"];
1716
- deletePaymentMethodIntent?: definitions["v1DeletePaymentMethodIntent"];
1768
+ setPaymentMethodIntent?: definitions["billingSetPaymentMethodIntent"];
1769
+ activateBillingTierIntent?: definitions["billingActivateBillingTierIntent"];
1770
+ deletePaymentMethodIntent?: definitions["billingDeletePaymentMethodIntent"];
1717
1771
  createPolicyIntentV3?: definitions["v1CreatePolicyIntentV3"];
1718
1772
  createApiOnlyUsersIntent?: definitions["v1CreateApiOnlyUsersIntent"];
1719
1773
  updateRootQuorumIntent?: definitions["v1UpdateRootQuorumIntent"];
@@ -1729,7 +1783,7 @@ export type definitions = {
1729
1783
  createPrivateKeysIntentV2?: definitions["v1CreatePrivateKeysIntentV2"];
1730
1784
  updateUserIntent?: definitions["v1UpdateUserIntent"];
1731
1785
  updatePolicyIntent?: definitions["v1UpdatePolicyIntent"];
1732
- setPaymentMethodIntentV2?: definitions["v1SetPaymentMethodIntentV2"];
1786
+ setPaymentMethodIntentV2?: definitions["billingSetPaymentMethodIntentV2"];
1733
1787
  createSubOrganizationIntentV3?: definitions["v1CreateSubOrganizationIntentV3"];
1734
1788
  createWalletIntent?: definitions["v1CreateWalletIntent"];
1735
1789
  createWalletAccountsIntent?: definitions["v1CreateWalletAccountsIntent"];
@@ -1761,6 +1815,7 @@ export type definitions = {
1761
1815
  createSubOrganizationIntentV6?: definitions["v1CreateSubOrganizationIntentV6"];
1762
1816
  deletePrivateKeysIntent?: definitions["v1DeletePrivateKeysIntent"];
1763
1817
  deleteWalletsIntent?: definitions["v1DeleteWalletsIntent"];
1818
+ createReadWriteSessionIntentV2?: definitions["v1CreateReadWriteSessionIntentV2"];
1764
1819
  };
1765
1820
  v1Invitation: {
1766
1821
  /** @description Unique identifier for a given Invitation object. */
@@ -2019,9 +2074,9 @@ export type definitions = {
2019
2074
  createApiKeysResult?: definitions["v1CreateApiKeysResult"];
2020
2075
  createPrivateKeyTagResult?: definitions["v1CreatePrivateKeyTagResult"];
2021
2076
  deletePrivateKeyTagsResult?: definitions["v1DeletePrivateKeyTagsResult"];
2022
- setPaymentMethodResult?: definitions["v1SetPaymentMethodResult"];
2023
- activateBillingTierResult?: definitions["v1ActivateBillingTierResult"];
2024
- deletePaymentMethodResult?: definitions["v1DeletePaymentMethodResult"];
2077
+ setPaymentMethodResult?: definitions["billingSetPaymentMethodResult"];
2078
+ activateBillingTierResult?: definitions["billingActivateBillingTierResult"];
2079
+ deletePaymentMethodResult?: definitions["billingDeletePaymentMethodResult"];
2025
2080
  createApiOnlyUsersResult?: definitions["v1CreateApiOnlyUsersResult"];
2026
2081
  updateRootQuorumResult?: definitions["v1UpdateRootQuorumResult"];
2027
2082
  updateUserTagResult?: definitions["v1UpdateUserTagResult"];
@@ -2058,6 +2113,7 @@ export type definitions = {
2058
2113
  createSubOrganizationResultV6?: definitions["v1CreateSubOrganizationResultV6"];
2059
2114
  deletePrivateKeysResult?: definitions["v1DeletePrivateKeysResult"];
2060
2115
  deleteWalletsResult?: definitions["v1DeleteWalletsResult"];
2116
+ createReadWriteSessionResultV2?: definitions["v1CreateReadWriteSessionResultV2"];
2061
2117
  };
2062
2118
  v1RootUserParams: {
2063
2119
  /** @description Human-readable name for a User. */
@@ -2065,7 +2121,7 @@ export type definitions = {
2065
2121
  /** @description The user's email address. */
2066
2122
  userEmail?: string;
2067
2123
  /** @description A list of API Key parameters. */
2068
- apiKeys: definitions["v1ApiKeyParams"][];
2124
+ apiKeys: definitions["apiApiKeyParams"][];
2069
2125
  /** @description A list of Authenticator parameters. */
2070
2126
  authenticators: definitions["v1AuthenticatorParamsV2"][];
2071
2127
  };
@@ -2075,7 +2131,7 @@ export type definitions = {
2075
2131
  /** @description The user's email address. */
2076
2132
  userEmail?: string;
2077
2133
  /** @description A list of API Key parameters. */
2078
- apiKeys: definitions["v1ApiKeyParams"][];
2134
+ apiKeys: definitions["apiApiKeyParams"][];
2079
2135
  /** @description A list of Authenticator parameters. */
2080
2136
  authenticators: definitions["v1AuthenticatorParamsV2"][];
2081
2137
  /** @description A list of Oauth providers. */
@@ -2122,36 +2178,6 @@ export type definitions = {
2122
2178
  /** @description Resulting list of organization features. */
2123
2179
  features: definitions["v1Feature"][];
2124
2180
  };
2125
- v1SetPaymentMethodIntent: {
2126
- /** @description The account number of the customer's credit card. */
2127
- number: string;
2128
- /** @description The verification digits of the customer's credit card. */
2129
- cvv: string;
2130
- /** @description The month that the credit card expires. */
2131
- expiryMonth: string;
2132
- /** @description The year that the credit card expires. */
2133
- expiryYear: string;
2134
- /** @description The email that will receive invoices for the credit card. */
2135
- cardHolderEmail: string;
2136
- /** @description The name associated with the credit card. */
2137
- cardHolderName: string;
2138
- };
2139
- v1SetPaymentMethodIntentV2: {
2140
- /** @description The id of the payment method that was created clientside. */
2141
- paymentMethodId: string;
2142
- /** @description The email that will receive invoices for the credit card. */
2143
- cardHolderEmail: string;
2144
- /** @description The name associated with the credit card. */
2145
- cardHolderName: string;
2146
- };
2147
- v1SetPaymentMethodResult: {
2148
- /** @description The last four digits of the credit card added. */
2149
- lastFour: string;
2150
- /** @description The name associated with the payment method. */
2151
- cardHolderName: string;
2152
- /** @description The email address associated with the payment method. */
2153
- cardHolderEmail: string;
2154
- };
2155
2181
  v1SignRawPayloadIntent: {
2156
2182
  /** @description Unique identifier for a given Private Key. */
2157
2183
  privateKeyId: string;
@@ -2396,7 +2422,7 @@ export type definitions = {
2396
2422
  /** @description The User's permissible access method(s). */
2397
2423
  accessType: definitions["v1AccessType"];
2398
2424
  /** @description A list of API Key parameters. */
2399
- apiKeys: definitions["v1ApiKeyParams"][];
2425
+ apiKeys: definitions["apiApiKeyParams"][];
2400
2426
  /** @description A list of Authenticator parameters. */
2401
2427
  authenticators: definitions["v1AuthenticatorParams"][];
2402
2428
  /** @description A list of User Tag IDs. */
@@ -2408,7 +2434,7 @@ export type definitions = {
2408
2434
  /** @description The user's email address. */
2409
2435
  userEmail?: string;
2410
2436
  /** @description A list of API Key parameters. */
2411
- apiKeys: definitions["v1ApiKeyParams"][];
2437
+ apiKeys: definitions["apiApiKeyParams"][];
2412
2438
  /** @description A list of Authenticator parameters. */
2413
2439
  authenticators: definitions["v1AuthenticatorParamsV2"][];
2414
2440
  /** @description A list of User Tag IDs. */