@clerk/types 4.60.0-snapshot.v20250603172210 → 4.60.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/dist/index.d.mts CHANGED
@@ -39,7 +39,7 @@ interface ClerkRuntimeError {
39
39
  }
40
40
 
41
41
  type AlertId = 'danger' | 'warning' | 'info';
42
- type FieldId = 'firstName' | 'lastName' | 'name' | 'slug' | 'emailAddress' | 'phoneNumber' | 'currentPassword' | 'newPassword' | 'signOutOfOtherSessions' | 'passkeyName' | 'password' | 'confirmPassword' | 'identifier' | 'username' | 'code' | 'role' | 'deleteConfirmation' | 'deleteOrganizationConfirmation' | 'enrollmentMode' | 'affiliationEmailAddress' | 'deleteExistingInvitationsSuggestions' | 'legalAccepted' | 'description' | 'expirationDate' | 'revokeConfirmation';
42
+ type FieldId = 'firstName' | 'lastName' | 'name' | 'slug' | 'emailAddress' | 'phoneNumber' | 'currentPassword' | 'newPassword' | 'signOutOfOtherSessions' | 'passkeyName' | 'password' | 'confirmPassword' | 'identifier' | 'username' | 'code' | 'role' | 'deleteConfirmation' | 'deleteOrganizationConfirmation' | 'enrollmentMode' | 'affiliationEmailAddress' | 'deleteExistingInvitationsSuggestions' | 'legalAccepted';
43
43
  type ProfileSectionId = 'profile' | 'username' | 'emailAddresses' | 'phoneNumbers' | 'connectedAccounts' | 'enterpriseAccounts' | 'web3Wallets' | 'password' | 'passkeys' | 'mfa' | 'danger' | 'activeDevices' | 'organizationProfile' | 'organizationDanger' | 'organizationDomains' | 'manageVerifiedDomains' | 'subscriptionsList' | 'paymentSources';
44
44
  type ProfilePageId = 'account' | 'security' | 'organizationGeneral' | 'organizationMembers' | 'billing';
45
45
  type UserPreviewId = 'userButton' | 'personalWorkspace';
@@ -310,6 +310,7 @@ interface CommercePaymentSourceResource extends ClerkResource {
310
310
  paymentMethod: string;
311
311
  cardType: string;
312
312
  isDefault: boolean;
313
+ isRemovable: boolean;
313
314
  status: CommercePaymentSourceStatus;
314
315
  walletType: string | undefined;
315
316
  remove: (params?: RemovePaymentSourceParams) => Promise<DeletedObjectResource>;
@@ -318,6 +319,7 @@ interface CommercePaymentSourceResource extends ClerkResource {
318
319
  interface CommerceInitializedPaymentSourceResource extends ClerkResource {
319
320
  externalClientSecret: string;
320
321
  externalGatewayId: string;
322
+ paymentMethodOrder: string[];
321
323
  }
322
324
  type GetStatementsParams = WithOptionalOrgType<ClerkPaginationParams>;
323
325
  type CommerceStatementStatus = 'open' | 'closed';
@@ -403,24 +405,6 @@ interface CommerceCheckoutResource extends ClerkResource {
403
405
  isImmediatePlanChange: boolean;
404
406
  }
405
407
 
406
- interface CommerceSettingsJSON extends ClerkResourceJSON {
407
- billing: {
408
- enabled: boolean;
409
- stripe_publishable_key: string;
410
- has_paid_user_plans: boolean;
411
- has_paid_org_plans: boolean;
412
- };
413
- }
414
- interface CommerceSettingsResource extends ClerkResource {
415
- billing: {
416
- enabled: boolean;
417
- stripePublishableKey: string;
418
- hasPaidUserPlans: boolean;
419
- hasPaidOrgPlans: boolean;
420
- };
421
- __internal_toSnapshot: () => CommerceSettingsJSONSnapshot;
422
- }
423
-
424
408
  type PreferredSignInStrategy = 'password' | 'otp';
425
409
  type CaptchaWidgetType = 'smart' | 'invisible' | null;
426
410
  type CaptchaProvider = 'turnstile';
@@ -577,6 +561,7 @@ interface OrganizationInvitationResource extends ClerkResource {
577
561
  organizationId: string;
578
562
  publicMetadata: OrganizationInvitationPublicMetadata;
579
563
  role: OrganizationCustomRoleKey;
564
+ roleName: string;
580
565
  status: OrganizationInvitationStatus;
581
566
  createdAt: Date;
582
567
  updatedAt: Date;
@@ -877,11 +862,26 @@ interface SessionVerificationResource extends ClerkResource {
877
862
  supportedSecondFactors: SessionVerificationSecondFactor[] | null;
878
863
  }
879
864
  type SessionVerificationStatus = 'needs_first_factor' | 'needs_second_factor' | 'complete';
865
+ /**
866
+ * @inline
867
+ */
880
868
  type SessionVerificationTypes = 'strict_mfa' | 'strict' | 'moderate' | 'lax';
869
+ /**
870
+ * The `ReverificationConfig` type has the following properties:
871
+ */
881
872
  type ReverificationConfig = SessionVerificationTypes | {
873
+ /**
874
+ * The reverification level of credentials to check for.
875
+ */
882
876
  level: SessionVerificationLevel;
877
+ /**
878
+ * The age of the factor level to check for. Value should be greater than or equal to 1 and less than 99,999.
879
+ */
883
880
  afterMinutes: SessionVerificationAfterMinutes;
884
881
  };
882
+ /**
883
+ * @inline
884
+ */
885
885
  type SessionVerificationLevel = 'first_factor' | 'second_factor' | 'multi_factor';
886
886
  type SessionVerificationAfterMinutes = number;
887
887
  type SessionVerificationFirstFactor = EmailCodeFactor | PhoneCodeFactor | PasswordFactor | PasskeyFactor;
@@ -1377,12 +1377,27 @@ type CheckAuthorizationFn<Params> = (isAuthorizedParams: Params) => boolean;
1377
1377
  /** @inline */
1378
1378
  type CheckAuthorizationWithCustomPermissions = CheckAuthorizationFn<CheckAuthorizationParamsWithCustomPermissions>;
1379
1379
  type WithReverification<T> = T & {
1380
+ /**
1381
+ * The reverification configuration to check for. This feature is currently in public beta. **It is not recommended for production use.**
1382
+ */
1380
1383
  reverification?: ReverificationConfig;
1381
1384
  };
1382
1385
  type CheckAuthorizationParamsWithCustomPermissions = WithReverification<{
1386
+ /**
1387
+ * The [role](https://clerk.com/docs/organizations/roles-permissions) to check for.
1388
+ */
1383
1389
  role: OrganizationCustomRoleKey;
1390
+ /**
1391
+ * The [permission](https://clerk.com/docs/organizations/roles-permissions) to check for.
1392
+ */
1384
1393
  permission?: never;
1394
+ /**
1395
+ * The [feature](https://clerk.com/docs/billing/overview) to check for.
1396
+ */
1385
1397
  feature?: never;
1398
+ /**
1399
+ * The [plan](https://clerk.com/docs/billing/overview) to check for.
1400
+ */
1386
1401
  plan?: never;
1387
1402
  } | {
1388
1403
  role?: never;
@@ -1407,9 +1422,21 @@ type CheckAuthorizationParamsWithCustomPermissions = WithReverification<{
1407
1422
  }>;
1408
1423
  type CheckAuthorization = CheckAuthorizationFn<CheckAuthorizationParams>;
1409
1424
  type CheckAuthorizationParams = WithReverification<{
1425
+ /**
1426
+ * The [role](https://clerk.com/docs/organizations/roles-permissions) to check for.
1427
+ */
1410
1428
  role: OrganizationCustomRoleKey;
1429
+ /**
1430
+ * The [permission](https://clerk.com/docs/organizations/roles-permissions) to check for.
1431
+ */
1411
1432
  permission?: never;
1433
+ /**
1434
+ * The [feature](https://clerk.com/docs/billing/overview) to check for.
1435
+ */
1412
1436
  feature?: never;
1437
+ /**
1438
+ * The [plan](https://clerk.com/docs/billing/overview) to check for.
1439
+ */
1413
1440
  plan?: never;
1414
1441
  } | {
1415
1442
  role?: never;
@@ -1438,10 +1465,25 @@ type CheckAuthorizationParams = WithReverification<{
1438
1465
  * in session claims and cannot be verified on the server side.
1439
1466
  */
1440
1467
  type CheckAuthorizationFromSessionClaims = <P extends OrganizationCustomPermissionKey>(isAuthorizedParams: CheckAuthorizationParamsFromSessionClaims<P>) => boolean;
1468
+ /**
1469
+ * @interface
1470
+ */
1441
1471
  type CheckAuthorizationParamsFromSessionClaims<P extends OrganizationCustomPermissionKey> = WithReverification<{
1472
+ /**
1473
+ * The [role](https://clerk.com/docs/organizations/roles-permissions) to check for.
1474
+ */
1442
1475
  role: OrganizationCustomRoleKey;
1476
+ /**
1477
+ * The [permission](https://clerk.com/docs/organizations/roles-permissions) to check for.
1478
+ */
1443
1479
  permission?: never;
1480
+ /**
1481
+ * The [feature](https://clerk.com/docs/billing/overview) to check for.
1482
+ */
1444
1483
  feature?: never;
1484
+ /**
1485
+ * The [plan](https://clerk.com/docs/billing/overview) to check for.
1486
+ */
1445
1487
  plan?: never;
1446
1488
  } | {
1447
1489
  role?: never;
@@ -1767,6 +1809,7 @@ interface OrganizationMembershipResource extends ClerkResource {
1767
1809
  publicMetadata: OrganizationMembershipPublicMetadata;
1768
1810
  publicUserData?: PublicUserData;
1769
1811
  role: OrganizationCustomRoleKey;
1812
+ roleName: string;
1770
1813
  createdAt: Date;
1771
1814
  updatedAt: Date;
1772
1815
  destroy: () => Promise<OrganizationMembershipResource>;
@@ -1956,7 +1999,7 @@ interface ActClaim {
1956
1999
  [x: string]: unknown;
1957
2000
  }
1958
2001
  /**
1959
- * Session status
2002
+ * The current state of the session which can only be `active` or `pending`.
1960
2003
  */
1961
2004
  type SessionStatusClaim = Extract<SessionStatus, 'active' | 'pending'>;
1962
2005
 
@@ -2574,7 +2617,6 @@ interface ImageJSON {
2574
2617
  }
2575
2618
  interface EnvironmentJSON extends ClerkResourceJSON {
2576
2619
  auth_config: AuthConfigJSON;
2577
- api_keys_settings: APIKeysSettingsJSON;
2578
2620
  commerce_settings: CommerceSettingsJSON;
2579
2621
  display_config: DisplayConfigJSON;
2580
2622
  user_settings: UserSettingsJSON;
@@ -2871,6 +2913,7 @@ interface OrganizationMembershipJSON extends ClerkResourceJSON {
2871
2913
  public_metadata: OrganizationMembershipPublicMetadata;
2872
2914
  public_user_data?: PublicUserDataJSON;
2873
2915
  role: OrganizationCustomRoleKey;
2916
+ role_name: string;
2874
2917
  created_at: number;
2875
2918
  updated_at: number;
2876
2919
  }
@@ -2882,6 +2925,7 @@ interface OrganizationInvitationJSON extends ClerkResourceJSON {
2882
2925
  public_metadata: OrganizationInvitationPublicMetadata;
2883
2926
  status: OrganizationInvitationStatus;
2884
2927
  role: OrganizationCustomRoleKey;
2928
+ role_name: string;
2885
2929
  created_at: number;
2886
2930
  updated_at: number;
2887
2931
  }
@@ -3090,6 +3134,7 @@ interface CommercePaymentSourceJSON extends ClerkResourceJSON {
3090
3134
  payment_method: string;
3091
3135
  card_type: string;
3092
3136
  is_default: boolean;
3137
+ is_removable: boolean;
3093
3138
  status: CommercePaymentSourceStatus;
3094
3139
  wallet_type: string | null;
3095
3140
  }
@@ -3097,6 +3142,7 @@ interface CommerceInitializedPaymentSourceJSON extends ClerkResourceJSON {
3097
3142
  object: 'commerce_payment_source_initialize';
3098
3143
  external_client_secret: string;
3099
3144
  external_gateway_id: string;
3145
+ payment_method_order: string[];
3100
3146
  }
3101
3147
  interface CommerceStatementJSON extends ClerkResourceJSON {
3102
3148
  object: 'commerce_statement';
@@ -3164,30 +3210,23 @@ interface CommerceCheckoutJSON extends ClerkResourceJSON {
3164
3210
  totals: CommerceCheckoutTotalsJSON;
3165
3211
  is_immediate_plan_change: boolean;
3166
3212
  }
3167
- interface ApiKeyJSON extends ClerkResourceJSON {
3168
- id: string;
3169
- type: string;
3170
- name: string;
3171
- subject: string;
3172
- scopes: string[];
3173
- claims: Record<string, any> | null;
3174
- revoked: boolean;
3175
- revocation_reason: string | null;
3176
- expired: boolean;
3177
- expiration: number | null;
3178
- created_by: string | null;
3179
- description: string | null;
3180
- last_used_at: number | null;
3181
- created_at: number;
3182
- updated_at: number;
3183
- }
3184
3213
 
3185
- interface APIKeysSettingsJSON extends ClerkResourceJSON {
3186
- enabled: boolean;
3214
+ interface CommerceSettingsJSON extends ClerkResourceJSON {
3215
+ billing: {
3216
+ enabled: boolean;
3217
+ stripe_publishable_key: string;
3218
+ has_paid_user_plans: boolean;
3219
+ has_paid_org_plans: boolean;
3220
+ };
3187
3221
  }
3188
- interface APIKeysSettingsResource extends ClerkResource {
3189
- enabled: boolean;
3190
- __internal_toSnapshot: () => APIKeysSettingsJSONSnapshot;
3222
+ interface CommerceSettingsResource extends ClerkResource {
3223
+ billing: {
3224
+ enabled: boolean;
3225
+ stripePublishableKey: string;
3226
+ hasPaidUserPlans: boolean;
3227
+ hasPaidOrgPlans: boolean;
3228
+ };
3229
+ __internal_toSnapshot: () => CommerceSettingsJSONSnapshot;
3191
3230
  }
3192
3231
 
3193
3232
  type SignInJSONSnapshot = Override<Nullable<SignInJSON, 'status' | 'identifier' | 'supported_first_factors' | 'supported_second_factors'>, {
@@ -3260,7 +3299,6 @@ type PublicUserDataJSONSnapshot = PublicUserDataJSON;
3260
3299
  type CommerceSettingsJSONSnapshot = CommerceSettingsJSON;
3261
3300
  type CommercePlanJSONSnapshot = CommercePlanJSON;
3262
3301
  type CommerceFeatureJSONSnapshot = CommerceFeatureJSON;
3263
- type APIKeysSettingsJSONSnapshot = APIKeysSettingsJSON;
3264
3302
 
3265
3303
  type EnterpriseProtocol = 'saml' | 'oauth';
3266
3304
  type EnterpriseProvider = SamlIdpSlug | `oauth_${OAuthProvider}`;
@@ -3996,7 +4034,7 @@ type WaitlistTheme = Theme;
3996
4034
  type PricingTableTheme = Theme;
3997
4035
  type CheckoutTheme = Theme;
3998
4036
  type PlanDetailTheme = Theme;
3999
- type APIKeysTheme = Theme;
4037
+ type OAuthConsentTheme = Theme;
4000
4038
  type GlobalAppearanceOptions = {
4001
4039
  /**
4002
4040
  * The name of the CSS layer for Clerk component styles.
@@ -4059,9 +4097,9 @@ type Appearance<T = Theme> = T & GlobalAppearanceOptions & {
4059
4097
  */
4060
4098
  checkout?: T;
4061
4099
  /**
4062
- * Theme overrides that only apply to the `<ApiKeys />` component
4100
+ * Theme overrides that only apply to the `<OAuthConsent />` component
4063
4101
  */
4064
- apiKeys?: T;
4102
+ __internal_oauthConsent?: T;
4065
4103
  };
4066
4104
 
4067
4105
  interface AuthConfigResource extends ClerkResource {
@@ -4085,24 +4123,6 @@ interface AuthConfigResource extends ClerkResource {
4085
4123
  __internal_toSnapshot: () => AuthConfigJSONSnapshot;
4086
4124
  }
4087
4125
 
4088
- interface APIKeyResource extends ClerkResource {
4089
- id: string;
4090
- type: string;
4091
- name: string;
4092
- subject: string;
4093
- scopes: string[];
4094
- claims: Record<string, any> | null;
4095
- revoked: boolean;
4096
- revocationReason: string | null;
4097
- expired: boolean;
4098
- expiration: Date | null;
4099
- createdBy: string | null;
4100
- description: string | null;
4101
- lastUsedAt: Date | null;
4102
- createdAt: Date;
4103
- updatedAt: Date;
4104
- }
4105
-
4106
4126
  interface ClientResource extends ClerkResource {
4107
4127
  sessions: SessionResource[];
4108
4128
  signedInSessions: SignedInSessionResource[];
@@ -4203,10 +4223,6 @@ type _LocalizationResource = {
4203
4223
  formFieldLabel__confirmDeletion: LocalizationValue;
4204
4224
  formFieldLabel__role: LocalizationValue;
4205
4225
  formFieldLabel__passkeyName: LocalizationValue;
4206
- formFieldLabel__apiKeyName: LocalizationValue;
4207
- formFieldLabel__apiKeyDescription: LocalizationValue;
4208
- formFieldLabel__apiKeyExpiration: LocalizationValue;
4209
- formFieldLabel__apiKeyExpirationDate: LocalizationValue;
4210
4226
  formFieldInputPlaceholder__emailAddress: LocalizationValue;
4211
4227
  formFieldInputPlaceholder__emailAddresses: LocalizationValue;
4212
4228
  formFieldInputPlaceholder__phoneNumber: LocalizationValue;
@@ -4221,9 +4237,6 @@ type _LocalizationResource = {
4221
4237
  formFieldInputPlaceholder__organizationDomain: LocalizationValue;
4222
4238
  formFieldInputPlaceholder__organizationDomainEmailAddress: LocalizationValue;
4223
4239
  formFieldInputPlaceholder__confirmDeletionUserAccount: LocalizationValue;
4224
- formFieldInputPlaceholder__apiKeyName: LocalizationValue;
4225
- formFieldInputPlaceholder__apiKeyDescription: LocalizationValue;
4226
- formFieldInputPlaceholder__apiKeyExpirationDate: LocalizationValue;
4227
4240
  formFieldError__notMatchingPasswords: LocalizationValue;
4228
4241
  formFieldError__matchingPasswords: LocalizationValue;
4229
4242
  formFieldError__verificationLinkExpired: LocalizationValue;
@@ -4652,7 +4665,6 @@ type _LocalizationResource = {
4652
4665
  account: LocalizationValue;
4653
4666
  security: LocalizationValue;
4654
4667
  billing: LocalizationValue;
4655
- apiKeys: LocalizationValue;
4656
4668
  };
4657
4669
  start: {
4658
4670
  headerTitle__account: LocalizationValue;
@@ -4793,10 +4805,6 @@ type _LocalizationResource = {
4793
4805
  successMessage: LocalizationValue;
4794
4806
  };
4795
4807
  };
4796
- apiKeysPage: {
4797
- title: LocalizationValue;
4798
- detailsTitle__emptyRow: LocalizationValue;
4799
- };
4800
4808
  passkeyScreen: {
4801
4809
  title__rename: LocalizationValue;
4802
4810
  subtitle__rename: LocalizationValue;
@@ -4982,7 +4990,6 @@ type _LocalizationResource = {
4982
4990
  general: LocalizationValue;
4983
4991
  members: LocalizationValue;
4984
4992
  billing: LocalizationValue;
4985
- apiKeys: LocalizationValue;
4986
4993
  };
4987
4994
  badge__unverified: LocalizationValue;
4988
4995
  badge__automaticInvitation: LocalizationValue;
@@ -5160,10 +5167,6 @@ type _LocalizationResource = {
5160
5167
  noPermissionsToManageBilling: LocalizationValue;
5161
5168
  };
5162
5169
  };
5163
- apiKeysPage: {
5164
- title: LocalizationValue;
5165
- detailsTitle__emptyRow: LocalizationValue;
5166
- };
5167
5170
  };
5168
5171
  createOrganization: {
5169
5172
  title: LocalizationValue;
@@ -5206,20 +5209,6 @@ type _LocalizationResource = {
5206
5209
  message: LocalizationValue;
5207
5210
  };
5208
5211
  };
5209
- apiKeys: {
5210
- formTitle: LocalizationValue;
5211
- formHint: LocalizationValue;
5212
- formButtonPrimary__add: LocalizationValue;
5213
- menuAction__revoke: LocalizationValue;
5214
- action__search: LocalizationValue;
5215
- action__add: LocalizationValue;
5216
- detailsTitle__emptyRow: LocalizationValue;
5217
- revokeConfirmation: {
5218
- formTitle: LocalizationValue;
5219
- formHint: LocalizationValue;
5220
- formButtonPrimary__revoke: LocalizationValue;
5221
- };
5222
- };
5223
5212
  };
5224
5213
  type WithParamName<T> = T & Partial<Record<`${keyof T & string}__${CamelToSnake<Exclude<FieldId, 'role'>>}`, LocalizationValue>>;
5225
5214
  type UnstableErrors = WithParamName<{
@@ -5705,24 +5694,16 @@ interface Clerk {
5705
5694
  */
5706
5695
  unmountPricingTable: (targetNode: HTMLDivElement) => void;
5707
5696
  /**
5708
- * @experimental
5709
- * This API is in early access and may change in future releases.
5710
- *
5711
- * Mount a api keys component at the target element.
5712
- * @param targetNode Target to mount the APIKeys component.
5713
- * @param props Configuration parameters.
5697
+ * Mounts a OAuth consent component at the target element.
5698
+ * @param targetNode Target node to mount the OAuth consent component.
5699
+ * @param oauthConsentProps OAuth consent configuration parameters.
5714
5700
  */
5715
- mountApiKeys: (targetNode: HTMLDivElement, props?: APIKeysProps) => void;
5701
+ __internal_mountOAuthConsent: (targetNode: HTMLDivElement, oauthConsentProps?: __internal_OAuthConsentProps) => void;
5716
5702
  /**
5717
- * @experimental
5718
- * This API is in early access and may change in future releases.
5719
- *
5720
- * Unmount a api keys component from the target element.
5721
- * If there is no component mounted at the target node, results in a noop.
5722
- *
5723
- * @param targetNode Target node to unmount the ApiKeys component from.
5703
+ * Unmounts a OAuth consent component from the target element.
5704
+ * @param targetNode Target node to unmount the OAuth consent component from.
5724
5705
  */
5725
- unmountApiKeys: (targetNode: HTMLDivElement) => void;
5706
+ __internal_unmountOAuthConsent: (targetNode: HTMLDivElement) => void;
5726
5707
  /**
5727
5708
  * Register a listener that triggers a callback each time important Clerk resources are changed.
5728
5709
  * Allows to hook up at different steps in the sign up, sign in processes.
@@ -5953,30 +5934,6 @@ interface Clerk {
5953
5934
  * initiated outside of the Clerk class.
5954
5935
  */
5955
5936
  __internal_setActiveInProgress: boolean;
5956
- /**
5957
- * This API is in early access and may change in future releases.
5958
- *
5959
- * Retrieves all API keys for the current user or organization.
5960
- */
5961
- getApiKeys: (params?: GetAPIKeysParams) => Promise<APIKeyResource[]>;
5962
- /**
5963
- * This API is in early access and may change in future releases.
5964
- *
5965
- * Retrieves the secret for a given API key ID.
5966
- */
5967
- getApiKeySecret: (apiKeyID: string) => Promise<string>;
5968
- /**
5969
- * This API is in early access and may change in future releases.
5970
- *
5971
- * Creates a new API key.
5972
- */
5973
- createApiKey: (params: CreateAPIKeyParams) => Promise<APIKeyResource>;
5974
- /**
5975
- * This API is in early access and may change in future releases.
5976
- *
5977
- * Revokes a given API key by ID.
5978
- */
5979
- revokeApiKey: (params: RevokeAPIKeyParams) => Promise<APIKeyResource>;
5980
5937
  }
5981
5938
  type HandleOAuthCallbackParams = TransferableOption & SignInForceRedirectUrl & SignInFallbackRedirectUrl & SignUpForceRedirectUrl & SignUpFallbackRedirectUrl & LegacyRedirectProps & {
5982
5939
  /**
@@ -6740,39 +6697,6 @@ type PricingTableBaseProps = {
6740
6697
  };
6741
6698
  type PortalRoot = HTMLElement | null | undefined;
6742
6699
  type PricingTableProps = PricingTableBaseProps & PricingTableDefaultProps;
6743
- type APIKeysProps = {
6744
- /**
6745
- * The type of API key to filter by.
6746
- * Currently, only 'api_key' is supported.
6747
- * @default 'api_key'
6748
- */
6749
- type?: 'api_key';
6750
- /**
6751
- * The number of API keys to show per page.
6752
- * @default 5
6753
- */
6754
- perPage?: number;
6755
- /**
6756
- * Customisation options to fully match the Clerk components to your own brand.
6757
- * These options serve as overrides and will be merged with the global `appearance`
6758
- * prop of ClerkProvider (if one is provided)
6759
- */
6760
- appearance?: APIKeysTheme;
6761
- };
6762
- type GetAPIKeysParams = {
6763
- subject?: string;
6764
- };
6765
- type CreateAPIKeyParams = {
6766
- type?: 'api_key';
6767
- name: string;
6768
- subject?: string;
6769
- secondsUntilExpiration?: number;
6770
- description?: string;
6771
- };
6772
- type RevokeAPIKeyParams = {
6773
- apiKeyID: string;
6774
- revocationReason?: string;
6775
- };
6776
6700
  type __internal_CheckoutProps = {
6777
6701
  appearance?: CheckoutTheme;
6778
6702
  planId?: string;
@@ -6797,6 +6721,37 @@ type __internal_PlanDetailsProps = {
6797
6721
  portalId?: string;
6798
6722
  portalRoot?: PortalRoot;
6799
6723
  };
6724
+ type __internal_OAuthConsentProps = {
6725
+ appearance?: OAuthConsentTheme;
6726
+ /**
6727
+ * Name of the OAuth application.
6728
+ */
6729
+ oAuthApplicationName: string;
6730
+ /**
6731
+ * Logo URL of the OAuth application.
6732
+ */
6733
+ oAuthApplicationLogoUrl?: string;
6734
+ /**
6735
+ * Scopes requested by the OAuth application.
6736
+ */
6737
+ scopes: {
6738
+ scope: string;
6739
+ description: string | null;
6740
+ requires_consent: boolean;
6741
+ }[];
6742
+ /**
6743
+ * Full URL or path to navigate to after the user allows access.
6744
+ */
6745
+ redirectUrl: string;
6746
+ /**
6747
+ * Called when user allows access.
6748
+ */
6749
+ onAllow: () => void;
6750
+ /**
6751
+ * Called when user denies access.
6752
+ */
6753
+ onDeny: () => void;
6754
+ };
6800
6755
  interface HandleEmailLinkVerificationParams {
6801
6756
  /**
6802
6757
  * Full URL or path to navigate to after successful magic link verification
@@ -6901,7 +6856,6 @@ interface EnvironmentResource extends ClerkResource {
6901
6856
  authConfig: AuthConfigResource;
6902
6857
  displayConfig: DisplayConfigResource;
6903
6858
  commerceSettings: CommerceSettingsResource;
6904
- apiKeysSettings: APIKeysSettingsResource;
6905
6859
  isSingleSession: () => boolean;
6906
6860
  isProduction: () => boolean;
6907
6861
  isDevelopmentOrStaging: () => boolean;
@@ -7234,21 +7188,46 @@ type InitialState = Serializable<{
7234
7188
  * @internal
7235
7189
  */
7236
7190
  type SharedSignedInAuthObjectProperties = {
7191
+ /**
7192
+ * The current user's [session claims](https://clerk.com/docs/backend-requests/resources/session-tokens).
7193
+ */
7237
7194
  sessionClaims: JwtPayload;
7195
+ /**
7196
+ * The ID of the current session.
7197
+ */
7238
7198
  sessionId: string;
7199
+ /**
7200
+ * The current state of the session.
7201
+ */
7239
7202
  sessionStatus: SessionStatusClaim | null;
7203
+ /**
7204
+ * Holds identifier for the user that is impersonating the current user. Read more about [impersonation](https://clerk.com/docs/users/user-impersonation).
7205
+ */
7240
7206
  actor: ActClaim | undefined;
7207
+ /**
7208
+ * The ID of the current user.
7209
+ */
7241
7210
  userId: string;
7211
+ /**
7212
+ * The ID of the user's active organization.
7213
+ */
7242
7214
  orgId: string | undefined;
7215
+ /**
7216
+ * The current user's role in their active organization.
7217
+ */
7243
7218
  orgRole: OrganizationCustomRoleKey | undefined;
7219
+ /**
7220
+ * The URL-friendly identifier of the user's active organization.
7221
+ */
7244
7222
  orgSlug: string | undefined;
7223
+ /**
7224
+ * The current user's active organization permissions.
7225
+ */
7245
7226
  orgPermissions: OrganizationCustomPermissionKey[] | undefined;
7246
7227
  /**
7247
- * Factor Verification Age
7248
- * Each item represents the minutes that have passed since the last time a first or second factor were verified.
7249
- * [fistFactorAge, secondFactorAge]
7228
+ * An array where each item represents the number of minutes since the last verification of a first or second factor: `[firstFactorAge, secondFactorAge]`.
7250
7229
  */
7251
7230
  factorVerificationAge: [firstFactorAge: number, secondFactorAge: number] | null;
7252
7231
  };
7253
7232
 
7254
- export { type APIKeyResource, type APIKeysProps, type APIKeysSettingsJSON, type APIKeysSettingsJSONSnapshot, type APIKeysSettingsResource, type APIKeysTheme, type ActClaim, type ActJWTClaim, type Actions, type ActiveSessionResource, type AddMemberParams, type AddPaymentSourceParams, type AfterMultiSessionSingleSignOutUrl, type AfterSignOutUrl, type AlertId, type AlphaColorScale, type ApiKeyJSON, type Appearance, type AppleOauthProvider, type AtlassianOauthProvider, type AttemptAffiliationVerificationParams, type AttemptEmailAddressVerificationParams, type AttemptFirstFactorParams, type AttemptPhoneNumberVerificationParams, type AttemptSecondFactorParams, type AttemptVerificationParams, type AttemptWeb3WalletVerificationParams, type Attribute, type AttributeData, type AttributeDataJSON, type Attributes, type AttributesJSON, type AuthConfigJSON, type AuthConfigJSONSnapshot, type AuthConfigResource, type AuthenticateWithCoinbaseWalletParams, type AuthenticateWithGoogleOneTapParams, type AuthenticateWithMetamaskParams, type AuthenticateWithOKXWalletParams, type AuthenticateWithPasskeyParams, type AuthenticateWithPopupParams, type AuthenticateWithRedirectParams, type AuthenticateWithWeb3Params, type Autocomplete, type BackupCodeAttempt, type BackupCodeFactor, type BackupCodeJSON, type BackupCodeResource, type BackupCodeStrategy, type BaseTheme, type BaseThemeTaggedType, type BeforeEmitCallback, type BitbucketOauthProvider, type BoxOauthProvider, type BoxShadow, type BuiltInColors, type CamelToSnake, type CancelSubscriptionParams, type CaptchaAppearanceOptions, type CaptchaProvider, type CaptchaWidgetType, type CardActionId, type CheckAuthorization, type CheckAuthorizationFn, type CheckAuthorizationFromSessionClaims, type CheckAuthorizationParamsFromSessionClaims, type CheckAuthorizationParamsWithCustomPermissions, type CheckAuthorizationWithCustomPermissions, type CheckoutTheme, type Clerk, type ClerkAPIError, type ClerkAPIErrorJSON, type ClerkAuthenticateWithWeb3Params, type ClerkEventPayload, type ClerkHostRouter, type ClerkJWTClaims, type ClerkOptions, type ClerkPaginatedResponse, type ClerkPaginationParams, type ClerkPaginationRequest, type ClerkResource, type ClerkResourceJSON, type ClerkResourceReloadParams, type ClerkRuntimeError, type ClerkStatus, type ClerkThemeOptions, type ClientJSON, type ClientJSONSnapshot, type ClientResource, type CodeVerificationAttemptParam, type CoinbaseOauthProvider, type CoinbaseWalletWeb3Provider, type Color, type ColorScale, type ColorScaleWithRequiredBase, type ColorString, type CommerceBillingNamespace, type CommerceCheckoutJSON, type CommerceCheckoutResource, type CommerceCheckoutTotals, type CommerceCheckoutTotalsJSON, type CommerceFeatureJSON, type CommerceFeatureJSONSnapshot, type CommerceFeatureResource, type CommerceInitializedPaymentSourceJSON, type CommerceInitializedPaymentSourceResource, type CommerceMoney, type CommerceMoneyJSON, type CommercePayment, type CommercePaymentChargeType, type CommercePaymentJSON, type CommercePaymentSourceJSON, type CommercePaymentSourceMethods, type CommercePaymentSourceResource, type CommercePaymentSourceStatus, type CommercePaymentStatus, type CommercePlanJSON, type CommercePlanJSONSnapshot, type CommercePlanResource, type CommerceProductJSON, type CommerceProductResource, type CommerceSettingsJSON, type CommerceSettingsJSONSnapshot, type CommerceSettingsResource, type CommerceStatementGroup, type CommerceStatementGroupJSON, type CommerceStatementJSON, type CommerceStatementResource, type CommerceStatementStatus, type CommerceStatementTotals, type CommerceStatementTotalsJSON, type CommerceSubscriberType, type CommerceSubscriptionJSON, type CommerceSubscriptionPlanPeriod, type CommerceSubscriptionResource, type CommerceSubscriptionStatus, type ComplexityErrors, type ConfirmCheckoutParams, type CreateAPIKeyParams, type CreateBulkOrganizationInvitationParams, type CreateCheckoutParams, type CreateEmailAddressParams, type CreateEmailLinkFlowReturn, type CreateEnterpriseSSOLinkFlowReturn, type CreateExternalAccountParams, type CreateOrganizationInvitationParams, type CreateOrganizationModalProps, type CreateOrganizationParams, type CreateOrganizationProps, type CreateOrganizationTheme, type CreatePhoneNumberParams, type CreateWeb3WalletParams, type CredentialReturn, type CssColorOrAlphaScale, type CssColorOrScale, type CustomMenuItem, type CustomNavigation, type CustomOAuthStrategy, type CustomOauthProvider, type CustomPage, type DeepCamelToSnake, type DeepPartial, type DeepRequired, type DeepSnakeToCamel, type DeletedObjectJSON, type DeletedObjectResource, type DiscordOauthProvider, type DisplayConfigJSON, type DisplayConfigJSONSnapshot, type DisplayConfigResource, type DisplayThemeJSON, type DomainOrProxyUrl, type DropboxOauthProvider, type ElementObjectKey, type ElementState, type Elements, type ElementsConfig, type EmUnit, type EmailAddressIdentifier, type EmailAddressJSON, type EmailAddressJSONSnapshot, type EmailAddressOrPhoneNumberIdentifier, type EmailAddressResource, type EmailCodeAttempt, type EmailCodeConfig, type EmailCodeFactor, type EmailCodeStrategy, type EmailLinkConfig, type EmailLinkFactor, type EmailLinkStrategy, type EnstallOauthProvider, type EnterpriseAccountConnectionJSON, type EnterpriseAccountConnectionJSONSnapshot, type EnterpriseAccountConnectionResource, type EnterpriseAccountJSON, type EnterpriseAccountJSONSnapshot, type EnterpriseAccountResource, type EnterpriseProtocol, type EnterpriseProvider, type EnterpriseSSOConfig, type EnterpriseSSOFactor, type EnterpriseSSOSettings, type EnterpriseSSOStrategy, type EnvironmentJSON, type EnvironmentJSONSnapshot, type EnvironmentResource, type ExternalAccountJSON, type ExternalAccountJSONSnapshot, type ExternalAccountResource, type FacebookOauthProvider, type FieldId, type FirstNameAttribute, type FontFamily, type FontWeight, type GenerateSignature, type GenerateSignatureParams, type GetAPIKeysParams, type GetDomainsParams, type GetInvitationsParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetPaymentSourcesParams, type GetPlansParams, type GetRolesParams, type GetStatementsParams, type GetSubscriptionsParams, type GetToken, type GetTokenOptions, type GetUserOrganizationInvitationsParams, type GetUserOrganizationMembershipParams, type GetUserOrganizationSuggestionsParams, type GithubOauthProvider, type GitlabOauthProvider, type GoogleOauthProvider, type GoogleOneTapProps, type GoogleOneTapStrategy, type HandleEmailLinkVerificationParams, type HandleOAuthCallbackParams, type HandleSamlCallbackParams, type HexColor, type HexColorString, type HslaColor, type HslaColorString, type HubspotOauthProvider, type HuggingfaceOAuthProvider, type IdSelectors, type IdentificationLinkJSON, type IdentificationLinkJSONSnapshot, type IdentificationLinkResource, type ImageJSON, type ImageResource, type InitialState, type InitializePaymentSourceParams, type InstagramOauthProvider, type InstanceType, type InviteMemberParams, type InviteMembersParams, type JWT, type JWTClaims, type JWTHeader, type JoinWaitlistParams, type Jwt, type JwtHeader, type JwtPayload, type LastNameAttribute, type Layout, type LegacyRedirectProps, type LegalAcceptedAttribute, type LineOauthProvider, type LinearOauthProvider, type LinkedinOIDCOauthProvider, type LinkedinOauthProvider, type ListenerCallback, type LoadedClerk, type LocalizationResource, type LocalizationValue, type MakeDefaultPaymentSourceParams, type MenuId, type MetamaskWeb3Provider, type MicrosoftOauthProvider, type MultiDomainAndOrProxy, type MultiDomainAndOrProxyPrimitives, type NavigateOptions, type NewSubscriptionRedirectUrl, type NextTaskParams, type NotionOauthProvider, type Nullable, OAUTH_PROVIDERS, type OAuthConfig, type OAuthProvider, type OAuthProviderData, type OAuthProviderSettings, type OAuthProviders, type OAuthScope, type OAuthStrategy, type OKXWalletWeb3Provider, type OauthFactor, type OrganizationCustomPermissionKey, type OrganizationCustomRoleKey, type OrganizationDomainJSON, type OrganizationDomainResource, type OrganizationDomainVerification, type OrganizationDomainVerificationJSON, type OrganizationDomainVerificationStatus, type OrganizationEnrollmentMode, type OrganizationInvitationJSON, type OrganizationInvitationResource, type OrganizationInvitationStatus, type OrganizationJSON, type OrganizationJSONSnapshot, type OrganizationListProps, type OrganizationListTheme, type OrganizationMembershipJSON, type OrganizationMembershipJSONSnapshot, type OrganizationMembershipRequestJSON, type OrganizationMembershipRequestResource, type OrganizationMembershipResource, type OrganizationPermissionKey, type OrganizationPreviewId, type OrganizationProfileModalProps, type OrganizationProfileProps, type OrganizationProfileTheme, type OrganizationResource, type OrganizationSettingsJSON, type OrganizationSettingsJSONSnapshot, type OrganizationSettingsResource, type OrganizationSuggestionJSON, type OrganizationSuggestionResource, type OrganizationSuggestionStatus, type OrganizationSwitcherProps, type OrganizationSwitcherTheme, type OrganizationSystemPermissionKey, type OrganizationSystemPermissionPrefix, type OrganizationsJWTClaim, type Override, type PartialWithClerkResource, type PassKeyConfig, type PasskeyAttempt, type PasskeyFactor, type PasskeyJSON, type PasskeyJSONSnapshot, type PasskeyResource, type PasskeySettingsData, type PasskeyStrategy, type PasskeyVerificationResource, type PasswordAttempt, type PasswordAttribute, type PasswordFactor, type PasswordSettingsData, type PasswordStrategy, type PasswordStrength, type PasswordValidation, type PathValue, type PaymentGateway, type PendingSessionOptions, type PendingSessionResource, type PermissionJSON, type PermissionResource, type PhoneCodeAttempt, type PhoneCodeChannel, type PhoneCodeChannelData, type PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeProvider, type PhoneCodeSMSChannel, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, type PhoneCodeWhatsAppChannel, type PhoneNumberIdentifier, type PhoneNumberJSON, type PhoneNumberJSONSnapshot, type PhoneNumberResource, type PhoneNumberVerificationStrategy, type PlanDetailTheme, type PreferredSignInStrategy, type PrepareAffiliationVerificationParams, type PrepareEmailAddressVerificationParams, type PrepareFirstFactorParams, type PreparePhoneNumberVerificationParams, type PrepareSecondFactorParams, type PrepareVerificationParams, type PrepareWeb3WalletVerificationParams, type PricingTableProps, type PricingTableTheme, type ProfilePageId, type ProfileSectionId, type PublicKeyCredentialCreationOptionsJSON, type PublicKeyCredentialCreationOptionsWithoutExtensions, type PublicKeyCredentialRequestOptionsJSON, type PublicKeyCredentialRequestOptionsWithoutExtensions, type PublicKeyCredentialWithAuthenticatorAssertionResponse, type PublicKeyCredentialWithAuthenticatorAttestationResponse, type PublicOrganizationDataJSON, type PublicUserData, type PublicUserDataJSON, type PublicUserDataJSONSnapshot, type PublishableKey, type ReauthorizeExternalAccountParams, type RecordToPath, type RedirectOptions, type RedirectUrlProp, type RemovePaymentSourceParams, type RemoveUserPasswordParams, type ResetPasswordCodeFactor, type ResetPasswordEmailCodeAttempt, type ResetPasswordEmailCodeFactor, type ResetPasswordEmailCodeFactorConfig, type ResetPasswordEmailCodeStrategy, type ResetPasswordParams, type ResetPasswordPhoneCodeAttempt, type ResetPasswordPhoneCodeFactor, type ResetPasswordPhoneCodeFactorConfig, type ResetPasswordPhoneCodeStrategy, type Resources, type ReverificationConfig, type RevokeAPIKeyParams, type RgbaColor, type RgbaColorString, type RoleJSON, type RoleResource, type RoutingMode, type RoutingOptions, type RoutingStrategy, SAML_IDPS, type SDKMetadata, type SamlAccountConnectionJSON, type SamlAccountConnectionJSONSnapshot, type SamlAccountConnectionResource, type SamlAccountJSON, type SamlAccountJSONSnapshot, type SamlAccountResource, type SamlConfig, type SamlFactor, type SamlIdp, type SamlIdpMap, type SamlIdpSlug, type SamlSettings, type SamlStrategy, type SelectId, type Serializable, type ServerGetToken, type ServerGetTokenOptions, type SessionActivity, type SessionActivityJSON, type SessionJSON, type SessionJSONSnapshot, type SessionResource, type SessionStatus, type SessionStatusClaim, type SessionTask, type SessionVerificationAfterMinutes, type SessionVerificationFirstFactor, type SessionVerificationJSON, type SessionVerificationLevel, type SessionVerificationResource, type SessionVerificationSecondFactor, type SessionVerificationStatus, type SessionVerificationTypes, type SessionVerifyAttemptFirstFactorParams, type SessionVerifyAttemptSecondFactorParams, type SessionVerifyCreateParams, type SessionVerifyPrepareFirstFactorParams, type SessionVerifyPrepareSecondFactorParams, type SessionWithActivitiesJSON, type SessionWithActivitiesResource, type SetActive, type SetActiveParams, type SetOrganizationLogoParams, type SetProfileImageParams, type SetReservedForSecondFactorParams, type SharedSignedInAuthObjectProperties, type SignInButtonProps, type SignInCreateParams, type SignInData, type SignInFactor, type SignInFallbackRedirectUrl, type SignInFirstFactor, type SignInFirstFactorJSON, type SignInForceRedirectUrl, type SignInIdentifier, type SignInInitialValues, type SignInJSON, type SignInJSONSnapshot, type SignInModalProps, type SignInProps, type SignInRedirectOptions, type SignInResource, type SignInSecondFactor, type SignInSecondFactorJSON, type SignInStartEmailLinkFlowParams, type SignInStatus, type SignInStrategy, type SignInTheme, type SignOut, type SignOutCallback, type SignOutOptions, type SignUpAttributeField, type SignUpAuthenticateWithMetamaskParams, type SignUpAuthenticateWithWeb3Params, type SignUpButtonProps, type SignUpCreateParams, type SignUpData, type SignUpFallbackRedirectUrl, type SignUpField, type SignUpForceRedirectUrl, type SignUpIdentificationField, type SignUpInitialValues, type SignUpJSON, type SignUpJSONSnapshot, type SignUpModalProps, type SignUpModes, type SignUpProps, type SignUpRedirectOptions, type SignUpResource, type SignUpStatus, type SignUpTheme, type SignUpUpdateParams, type SignUpVerifiableField, type SignUpVerificationJSON, type SignUpVerificationJSONSnapshot, type SignUpVerificationResource, type SignUpVerificationsJSON, type SignUpVerificationsJSONSnapshot, type SignUpVerificationsResource, type SignatureVerificationAttemptParam, type SignedInSessionResource, type SlackOauthProvider, type SnakeToCamel, type SpotifyOauthProvider, type StartEmailLinkFlowParams, type StartEnterpriseSSOLinkFlowParams, type StateSelectors, type TOTPAttempt, type TOTPFactor, type TOTPJSON, type TOTPResource, type TOTPStrategy, type TelemetryCollector, type TelemetryEvent, type TelemetryEventRaw, type Theme, type TicketStrategy, type TiktokOauthProvider, type TokenJSON, type TokenJSONSnapshot, type TokenResource, type TransferableOption, type TransparentColor, type TwitchOauthProvider, type TwitterOauthProvider, type UnsubscribeCallback, type UpdateEnrollmentModeParams, type UpdateMembershipParams, type UpdateOrganizationMembershipParams, type UpdateOrganizationParams, type UpdatePasskeyParams, type UpdateUserParams, type UpdateUserPasswordParams, type UseAuthReturn, type UseSessionListReturn, type UseSessionReturn, type UseSignInReturn, type UseSignUpReturn, type UseUserReturn, type UserButtonProps, type UserButtonTheme, type UserData, type UserDataJSON, type UserDataJSONSnapshot, type UserJSON, type UserJSONSnapshot, type UserOrganizationInvitationJSON, type UserOrganizationInvitationResource, type UserPreviewId, type UserProfileModalProps, type UserProfileProps, type UserProfileTheme, type UserResource, type UserSettingsJSON, type UserSettingsJSONSnapshot, type UserSettingsResource, type UserVerificationTheme, type UsernameIdentifier, type UsernameSettingsData, type ValidatePasswordCallbacks, type Variables, type VerificationAttemptParams, type VerificationJSON, type VerificationJSONSnapshot, type VerificationResource, type VerificationStatus, type VerificationStrategy, type VerifyTOTPParams, type VersionedJwtPayload, WEB3_PROVIDERS, type WaitlistJSON, type WaitlistModalProps, type WaitlistProps, type WaitlistResource, type WaitlistTheme, type Web3Attempt, type Web3Provider, type Web3ProviderData, type Web3SignatureConfig, type Web3SignatureFactor, type Web3Strategy, type Web3WalletIdentifier, type Web3WalletJSON, type Web3WalletJSONSnapshot, type Web3WalletResource, type Without, type WithoutRouting, type XOauthProvider, type XeroOauthProvider, type ZxcvbnResult, type __internal_CheckoutProps, type __internal_ComponentNavigationContext, type __internal_PlanDetailsProps, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
7233
+ export { type ActClaim, type ActJWTClaim, type Actions, type ActiveSessionResource, type AddMemberParams, type AddPaymentSourceParams, type AfterMultiSessionSingleSignOutUrl, type AfterSignOutUrl, type AlertId, type AlphaColorScale, type Appearance, type AppleOauthProvider, type AtlassianOauthProvider, type AttemptAffiliationVerificationParams, type AttemptEmailAddressVerificationParams, type AttemptFirstFactorParams, type AttemptPhoneNumberVerificationParams, type AttemptSecondFactorParams, type AttemptVerificationParams, type AttemptWeb3WalletVerificationParams, type Attribute, type AttributeData, type AttributeDataJSON, type Attributes, type AttributesJSON, type AuthConfigJSON, type AuthConfigJSONSnapshot, type AuthConfigResource, type AuthenticateWithCoinbaseWalletParams, type AuthenticateWithGoogleOneTapParams, type AuthenticateWithMetamaskParams, type AuthenticateWithOKXWalletParams, type AuthenticateWithPasskeyParams, type AuthenticateWithPopupParams, type AuthenticateWithRedirectParams, type AuthenticateWithWeb3Params, type Autocomplete, type BackupCodeAttempt, type BackupCodeFactor, type BackupCodeJSON, type BackupCodeResource, type BackupCodeStrategy, type BaseTheme, type BaseThemeTaggedType, type BeforeEmitCallback, type BitbucketOauthProvider, type BoxOauthProvider, type BoxShadow, type BuiltInColors, type CamelToSnake, type CancelSubscriptionParams, type CaptchaAppearanceOptions, type CaptchaProvider, type CaptchaWidgetType, type CardActionId, type CheckAuthorization, type CheckAuthorizationFn, type CheckAuthorizationFromSessionClaims, type CheckAuthorizationParamsFromSessionClaims, type CheckAuthorizationParamsWithCustomPermissions, type CheckAuthorizationWithCustomPermissions, type CheckoutTheme, type Clerk, type ClerkAPIError, type ClerkAPIErrorJSON, type ClerkAuthenticateWithWeb3Params, type ClerkEventPayload, type ClerkHostRouter, type ClerkJWTClaims, type ClerkOptions, type ClerkPaginatedResponse, type ClerkPaginationParams, type ClerkPaginationRequest, type ClerkResource, type ClerkResourceJSON, type ClerkResourceReloadParams, type ClerkRuntimeError, type ClerkStatus, type ClerkThemeOptions, type ClientJSON, type ClientJSONSnapshot, type ClientResource, type CodeVerificationAttemptParam, type CoinbaseOauthProvider, type CoinbaseWalletWeb3Provider, type Color, type ColorScale, type ColorScaleWithRequiredBase, type ColorString, type CommerceBillingNamespace, type CommerceCheckoutJSON, type CommerceCheckoutResource, type CommerceCheckoutTotals, type CommerceCheckoutTotalsJSON, type CommerceFeatureJSON, type CommerceFeatureJSONSnapshot, type CommerceFeatureResource, type CommerceInitializedPaymentSourceJSON, type CommerceInitializedPaymentSourceResource, type CommerceMoney, type CommerceMoneyJSON, type CommercePayment, type CommercePaymentChargeType, type CommercePaymentJSON, type CommercePaymentSourceJSON, type CommercePaymentSourceMethods, type CommercePaymentSourceResource, type CommercePaymentSourceStatus, type CommercePaymentStatus, type CommercePlanJSON, type CommercePlanJSONSnapshot, type CommercePlanResource, type CommerceProductJSON, type CommerceProductResource, type CommerceSettingsJSON, type CommerceSettingsJSONSnapshot, type CommerceSettingsResource, type CommerceStatementGroup, type CommerceStatementGroupJSON, type CommerceStatementJSON, type CommerceStatementResource, type CommerceStatementStatus, type CommerceStatementTotals, type CommerceStatementTotalsJSON, type CommerceSubscriberType, type CommerceSubscriptionJSON, type CommerceSubscriptionPlanPeriod, type CommerceSubscriptionResource, type CommerceSubscriptionStatus, type ComplexityErrors, type ConfirmCheckoutParams, type CreateBulkOrganizationInvitationParams, type CreateCheckoutParams, type CreateEmailAddressParams, type CreateEmailLinkFlowReturn, type CreateEnterpriseSSOLinkFlowReturn, type CreateExternalAccountParams, type CreateOrganizationInvitationParams, type CreateOrganizationModalProps, type CreateOrganizationParams, type CreateOrganizationProps, type CreateOrganizationTheme, type CreatePhoneNumberParams, type CreateWeb3WalletParams, type CredentialReturn, type CssColorOrAlphaScale, type CssColorOrScale, type CustomMenuItem, type CustomNavigation, type CustomOAuthStrategy, type CustomOauthProvider, type CustomPage, type DeepCamelToSnake, type DeepPartial, type DeepRequired, type DeepSnakeToCamel, type DeletedObjectJSON, type DeletedObjectResource, type DiscordOauthProvider, type DisplayConfigJSON, type DisplayConfigJSONSnapshot, type DisplayConfigResource, type DisplayThemeJSON, type DomainOrProxyUrl, type DropboxOauthProvider, type ElementObjectKey, type ElementState, type Elements, type ElementsConfig, type EmUnit, type EmailAddressIdentifier, type EmailAddressJSON, type EmailAddressJSONSnapshot, type EmailAddressOrPhoneNumberIdentifier, type EmailAddressResource, type EmailCodeAttempt, type EmailCodeConfig, type EmailCodeFactor, type EmailCodeStrategy, type EmailLinkConfig, type EmailLinkFactor, type EmailLinkStrategy, type EnstallOauthProvider, type EnterpriseAccountConnectionJSON, type EnterpriseAccountConnectionJSONSnapshot, type EnterpriseAccountConnectionResource, type EnterpriseAccountJSON, type EnterpriseAccountJSONSnapshot, type EnterpriseAccountResource, type EnterpriseProtocol, type EnterpriseProvider, type EnterpriseSSOConfig, type EnterpriseSSOFactor, type EnterpriseSSOSettings, type EnterpriseSSOStrategy, type EnvironmentJSON, type EnvironmentJSONSnapshot, type EnvironmentResource, type ExternalAccountJSON, type ExternalAccountJSONSnapshot, type ExternalAccountResource, type FacebookOauthProvider, type FieldId, type FirstNameAttribute, type FontFamily, type FontWeight, type GenerateSignature, type GenerateSignatureParams, type GetDomainsParams, type GetInvitationsParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetPaymentSourcesParams, type GetPlansParams, type GetRolesParams, type GetStatementsParams, type GetSubscriptionsParams, type GetToken, type GetTokenOptions, type GetUserOrganizationInvitationsParams, type GetUserOrganizationMembershipParams, type GetUserOrganizationSuggestionsParams, type GithubOauthProvider, type GitlabOauthProvider, type GoogleOauthProvider, type GoogleOneTapProps, type GoogleOneTapStrategy, type HandleEmailLinkVerificationParams, type HandleOAuthCallbackParams, type HandleSamlCallbackParams, type HexColor, type HexColorString, type HslaColor, type HslaColorString, type HubspotOauthProvider, type HuggingfaceOAuthProvider, type IdSelectors, type IdentificationLinkJSON, type IdentificationLinkJSONSnapshot, type IdentificationLinkResource, type ImageJSON, type ImageResource, type InitialState, type InitializePaymentSourceParams, type InstagramOauthProvider, type InstanceType, type InviteMemberParams, type InviteMembersParams, type JWT, type JWTClaims, type JWTHeader, type JoinWaitlistParams, type Jwt, type JwtHeader, type JwtPayload, type LastNameAttribute, type Layout, type LegacyRedirectProps, type LegalAcceptedAttribute, type LineOauthProvider, type LinearOauthProvider, type LinkedinOIDCOauthProvider, type LinkedinOauthProvider, type ListenerCallback, type LoadedClerk, type LocalizationResource, type LocalizationValue, type MakeDefaultPaymentSourceParams, type MenuId, type MetamaskWeb3Provider, type MicrosoftOauthProvider, type MultiDomainAndOrProxy, type MultiDomainAndOrProxyPrimitives, type NavigateOptions, type NewSubscriptionRedirectUrl, type NextTaskParams, type NotionOauthProvider, type Nullable, OAUTH_PROVIDERS, type OAuthConfig, type OAuthConsentTheme, type OAuthProvider, type OAuthProviderData, type OAuthProviderSettings, type OAuthProviders, type OAuthScope, type OAuthStrategy, type OKXWalletWeb3Provider, type OauthFactor, type OrganizationCustomPermissionKey, type OrganizationCustomRoleKey, type OrganizationDomainJSON, type OrganizationDomainResource, type OrganizationDomainVerification, type OrganizationDomainVerificationJSON, type OrganizationDomainVerificationStatus, type OrganizationEnrollmentMode, type OrganizationInvitationJSON, type OrganizationInvitationResource, type OrganizationInvitationStatus, type OrganizationJSON, type OrganizationJSONSnapshot, type OrganizationListProps, type OrganizationListTheme, type OrganizationMembershipJSON, type OrganizationMembershipJSONSnapshot, type OrganizationMembershipRequestJSON, type OrganizationMembershipRequestResource, type OrganizationMembershipResource, type OrganizationPermissionKey, type OrganizationPreviewId, type OrganizationProfileModalProps, type OrganizationProfileProps, type OrganizationProfileTheme, type OrganizationResource, type OrganizationSettingsJSON, type OrganizationSettingsJSONSnapshot, type OrganizationSettingsResource, type OrganizationSuggestionJSON, type OrganizationSuggestionResource, type OrganizationSuggestionStatus, type OrganizationSwitcherProps, type OrganizationSwitcherTheme, type OrganizationSystemPermissionKey, type OrganizationSystemPermissionPrefix, type OrganizationsJWTClaim, type Override, type PartialWithClerkResource, type PassKeyConfig, type PasskeyAttempt, type PasskeyFactor, type PasskeyJSON, type PasskeyJSONSnapshot, type PasskeyResource, type PasskeySettingsData, type PasskeyStrategy, type PasskeyVerificationResource, type PasswordAttempt, type PasswordAttribute, type PasswordFactor, type PasswordSettingsData, type PasswordStrategy, type PasswordStrength, type PasswordValidation, type PathValue, type PaymentGateway, type PendingSessionOptions, type PendingSessionResource, type PermissionJSON, type PermissionResource, type PhoneCodeAttempt, type PhoneCodeChannel, type PhoneCodeChannelData, type PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeProvider, type PhoneCodeSMSChannel, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, type PhoneCodeWhatsAppChannel, type PhoneNumberIdentifier, type PhoneNumberJSON, type PhoneNumberJSONSnapshot, type PhoneNumberResource, type PhoneNumberVerificationStrategy, type PlanDetailTheme, type PreferredSignInStrategy, type PrepareAffiliationVerificationParams, type PrepareEmailAddressVerificationParams, type PrepareFirstFactorParams, type PreparePhoneNumberVerificationParams, type PrepareSecondFactorParams, type PrepareVerificationParams, type PrepareWeb3WalletVerificationParams, type PricingTableProps, type PricingTableTheme, type ProfilePageId, type ProfileSectionId, type PublicKeyCredentialCreationOptionsJSON, type PublicKeyCredentialCreationOptionsWithoutExtensions, type PublicKeyCredentialRequestOptionsJSON, type PublicKeyCredentialRequestOptionsWithoutExtensions, type PublicKeyCredentialWithAuthenticatorAssertionResponse, type PublicKeyCredentialWithAuthenticatorAttestationResponse, type PublicOrganizationDataJSON, type PublicUserData, type PublicUserDataJSON, type PublicUserDataJSONSnapshot, type PublishableKey, type ReauthorizeExternalAccountParams, type RecordToPath, type RedirectOptions, type RedirectUrlProp, type RemovePaymentSourceParams, type RemoveUserPasswordParams, type ResetPasswordCodeFactor, type ResetPasswordEmailCodeAttempt, type ResetPasswordEmailCodeFactor, type ResetPasswordEmailCodeFactorConfig, type ResetPasswordEmailCodeStrategy, type ResetPasswordParams, type ResetPasswordPhoneCodeAttempt, type ResetPasswordPhoneCodeFactor, type ResetPasswordPhoneCodeFactorConfig, type ResetPasswordPhoneCodeStrategy, type Resources, type ReverificationConfig, type RgbaColor, type RgbaColorString, type RoleJSON, type RoleResource, type RoutingMode, type RoutingOptions, type RoutingStrategy, SAML_IDPS, type SDKMetadata, type SamlAccountConnectionJSON, type SamlAccountConnectionJSONSnapshot, type SamlAccountConnectionResource, type SamlAccountJSON, type SamlAccountJSONSnapshot, type SamlAccountResource, type SamlConfig, type SamlFactor, type SamlIdp, type SamlIdpMap, type SamlIdpSlug, type SamlSettings, type SamlStrategy, type SelectId, type Serializable, type ServerGetToken, type ServerGetTokenOptions, type SessionActivity, type SessionActivityJSON, type SessionJSON, type SessionJSONSnapshot, type SessionResource, type SessionStatus, type SessionStatusClaim, type SessionTask, type SessionVerificationAfterMinutes, type SessionVerificationFirstFactor, type SessionVerificationJSON, type SessionVerificationLevel, type SessionVerificationResource, type SessionVerificationSecondFactor, type SessionVerificationStatus, type SessionVerificationTypes, type SessionVerifyAttemptFirstFactorParams, type SessionVerifyAttemptSecondFactorParams, type SessionVerifyCreateParams, type SessionVerifyPrepareFirstFactorParams, type SessionVerifyPrepareSecondFactorParams, type SessionWithActivitiesJSON, type SessionWithActivitiesResource, type SetActive, type SetActiveParams, type SetOrganizationLogoParams, type SetProfileImageParams, type SetReservedForSecondFactorParams, type SharedSignedInAuthObjectProperties, type SignInButtonProps, type SignInCreateParams, type SignInData, type SignInFactor, type SignInFallbackRedirectUrl, type SignInFirstFactor, type SignInFirstFactorJSON, type SignInForceRedirectUrl, type SignInIdentifier, type SignInInitialValues, type SignInJSON, type SignInJSONSnapshot, type SignInModalProps, type SignInProps, type SignInRedirectOptions, type SignInResource, type SignInSecondFactor, type SignInSecondFactorJSON, type SignInStartEmailLinkFlowParams, type SignInStatus, type SignInStrategy, type SignInTheme, type SignOut, type SignOutCallback, type SignOutOptions, type SignUpAttributeField, type SignUpAuthenticateWithMetamaskParams, type SignUpAuthenticateWithWeb3Params, type SignUpButtonProps, type SignUpCreateParams, type SignUpData, type SignUpFallbackRedirectUrl, type SignUpField, type SignUpForceRedirectUrl, type SignUpIdentificationField, type SignUpInitialValues, type SignUpJSON, type SignUpJSONSnapshot, type SignUpModalProps, type SignUpModes, type SignUpProps, type SignUpRedirectOptions, type SignUpResource, type SignUpStatus, type SignUpTheme, type SignUpUpdateParams, type SignUpVerifiableField, type SignUpVerificationJSON, type SignUpVerificationJSONSnapshot, type SignUpVerificationResource, type SignUpVerificationsJSON, type SignUpVerificationsJSONSnapshot, type SignUpVerificationsResource, type SignatureVerificationAttemptParam, type SignedInSessionResource, type SlackOauthProvider, type SnakeToCamel, type SpotifyOauthProvider, type StartEmailLinkFlowParams, type StartEnterpriseSSOLinkFlowParams, type StateSelectors, type TOTPAttempt, type TOTPFactor, type TOTPJSON, type TOTPResource, type TOTPStrategy, type TelemetryCollector, type TelemetryEvent, type TelemetryEventRaw, type Theme, type TicketStrategy, type TiktokOauthProvider, type TokenJSON, type TokenJSONSnapshot, type TokenResource, type TransferableOption, type TransparentColor, type TwitchOauthProvider, type TwitterOauthProvider, type UnsubscribeCallback, type UpdateEnrollmentModeParams, type UpdateMembershipParams, type UpdateOrganizationMembershipParams, type UpdateOrganizationParams, type UpdatePasskeyParams, type UpdateUserParams, type UpdateUserPasswordParams, type UseAuthReturn, type UseSessionListReturn, type UseSessionReturn, type UseSignInReturn, type UseSignUpReturn, type UseUserReturn, type UserButtonProps, type UserButtonTheme, type UserData, type UserDataJSON, type UserDataJSONSnapshot, type UserJSON, type UserJSONSnapshot, type UserOrganizationInvitationJSON, type UserOrganizationInvitationResource, type UserPreviewId, type UserProfileModalProps, type UserProfileProps, type UserProfileTheme, type UserResource, type UserSettingsJSON, type UserSettingsJSONSnapshot, type UserSettingsResource, type UserVerificationTheme, type UsernameIdentifier, type UsernameSettingsData, type ValidatePasswordCallbacks, type Variables, type VerificationAttemptParams, type VerificationJSON, type VerificationJSONSnapshot, type VerificationResource, type VerificationStatus, type VerificationStrategy, type VerifyTOTPParams, type VersionedJwtPayload, WEB3_PROVIDERS, type WaitlistJSON, type WaitlistModalProps, type WaitlistProps, type WaitlistResource, type WaitlistTheme, type Web3Attempt, type Web3Provider, type Web3ProviderData, type Web3SignatureConfig, type Web3SignatureFactor, type Web3Strategy, type Web3WalletIdentifier, type Web3WalletJSON, type Web3WalletJSONSnapshot, type Web3WalletResource, type Without, type WithoutRouting, type XOauthProvider, type XeroOauthProvider, type ZxcvbnResult, type __internal_CheckoutProps, type __internal_ComponentNavigationContext, type __internal_OAuthConsentProps, type __internal_PlanDetailsProps, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };