@clerk/types 4.57.0-snapshot.v20250430130545 → 4.57.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
@@ -38,9 +38,9 @@ interface ClerkRuntimeError {
38
38
  message: string;
39
39
  }
40
40
 
41
- type AlertId = 'danger' | 'warning';
41
+ type AlertId = 'danger' | 'warning' | 'info';
42
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
- type ProfileSectionId = 'profile' | 'username' | 'emailAddresses' | 'phoneNumbers' | 'connectedAccounts' | 'enterpriseAccounts' | 'web3Wallets' | 'password' | 'passkeys' | 'mfa' | 'danger' | 'activeDevices' | 'organizationProfile' | 'organizationDanger' | 'organizationDomains' | 'manageVerifiedDomains' | 'paymentSources';
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';
46
46
  type OrganizationPreviewId = 'organizationSwitcherTrigger' | 'organizationList' | 'organizationSwitcherListedOrganization' | 'organizationSwitcherActiveOrganization';
@@ -238,12 +238,6 @@ type ClerkPaginationParams<T = object> = {
238
238
  type WithOptionalOrgType<T> = T & {
239
239
  orgId?: string;
240
240
  };
241
- interface CommerceNamespace {
242
- billing: CommerceBillingNamespace;
243
- getPaymentSources: (params: GetPaymentSourcesParams) => Promise<ClerkPaginatedResponse<CommercePaymentSourceResource>>;
244
- initializePaymentSource: (params: InitializePaymentSourceParams) => Promise<CommerceInitializedPaymentSourceResource>;
245
- addPaymentSource: (params: AddPaymentSourceParams) => Promise<CommercePaymentSourceResource>;
246
- }
247
241
  interface CommerceBillingNamespace {
248
242
  getPlans: () => Promise<CommercePlanResource[]>;
249
243
  getSubscriptions: (params: GetSubscriptionsParams) => Promise<ClerkPaginatedResponse<CommerceSubscriptionResource>>;
@@ -253,6 +247,11 @@ interface CommerceBillingNamespace {
253
247
  type CommerceSubscriberType = 'org' | 'user';
254
248
  type CommerceSubscriptionStatus = 'active' | 'ended' | 'upcoming';
255
249
  type CommerceSubscriptionPlanPeriod = 'month' | 'annual';
250
+ interface CommercePaymentSourceMethods {
251
+ initializePaymentSource: (params: Exclude<InitializePaymentSourceParams, 'orgId'>) => Promise<CommerceInitializedPaymentSourceResource>;
252
+ addPaymentSource: (params: Exclude<AddPaymentSourceParams, 'orgId'>) => Promise<CommercePaymentSourceResource>;
253
+ getPaymentSources: (params: Exclude<GetPaymentSourcesParams, 'orgId'>) => Promise<ClerkPaginatedResponse<CommercePaymentSourceResource>>;
254
+ }
256
255
  interface CommerceProductResource extends ClerkResource {
257
256
  id: string;
258
257
  slug: string | null;
@@ -349,11 +348,7 @@ interface CommerceCheckoutTotals {
349
348
  grandTotal: CommerceMoney;
350
349
  taxTotal: CommerceMoney;
351
350
  totalDueNow: CommerceMoney;
352
- proration?: {
353
- days: number;
354
- ratePerDay: CommerceMoney;
355
- totalProration: CommerceMoney;
356
- };
351
+ credit: CommerceMoney;
357
352
  }
358
353
  interface CommerceInvoiceTotals extends Omit<CommerceCheckoutTotals, 'totalDueNow'> {
359
354
  }
@@ -366,6 +361,9 @@ type ConfirmCheckoutParams = WithOptionalOrgType<{
366
361
  } | {
367
362
  paymentToken?: string;
368
363
  gateway?: PaymentGateway;
364
+ } | {
365
+ gateway?: PaymentGateway;
366
+ useTestCard?: boolean;
369
367
  }>;
370
368
  interface CommerceCheckoutResource extends ClerkResource {
371
369
  id: string;
@@ -379,6 +377,7 @@ interface CommerceCheckoutResource extends ClerkResource {
379
377
  totals: CommerceCheckoutTotals;
380
378
  subscription?: CommerceSubscriptionResource;
381
379
  confirm: (params: ConfirmCheckoutParams) => Promise<CommerceCheckoutResource>;
380
+ isImmediatePlanChange: boolean;
382
381
  }
383
382
 
384
383
  type PreferredSignInStrategy = 'password' | 'otp';
@@ -1204,7 +1203,7 @@ declare global {
1204
1203
  *
1205
1204
  * The ClerkJS SDK provides some helper [methods](#methods) on the `User` object to help retrieve and update user information and authentication status.
1206
1205
  */
1207
- interface UserResource extends ClerkResource {
1206
+ interface UserResource extends ClerkResource, CommercePaymentSourceMethods {
1208
1207
  id: string;
1209
1208
  externalId: string | null;
1210
1209
  primaryEmailAddressId: string | null;
@@ -1601,7 +1600,7 @@ declare global {
1601
1600
  *
1602
1601
  * @interface
1603
1602
  */
1604
- interface OrganizationResource extends ClerkResource {
1603
+ interface OrganizationResource extends ClerkResource, CommercePaymentSourceMethods {
1605
1604
  id: string;
1606
1605
  name: string;
1607
1606
  slug: string | null;
@@ -2194,6 +2193,12 @@ type SignInForceRedirectUrl = {
2194
2193
  */
2195
2194
  signInForceRedirectUrl?: string | null;
2196
2195
  };
2196
+ type NewSubscriptionRedirectUrl = {
2197
+ /**
2198
+ * The URL to navigate to after the user completes the checkout and clicks the "Continue" button.
2199
+ */
2200
+ newSubscriptionRedirectUrl?: string | null;
2201
+ };
2197
2202
 
2198
2203
  /**
2199
2204
  * The `SignIn` object holds the state of the current sign-in and provides helper methods to navigate and complete the sign-in process. It is used to manage the sign-in lifecycle, including the first and second factor verification, and the creation of a new session.
@@ -3055,11 +3060,7 @@ interface CommerceCheckoutTotalsJSON {
3055
3060
  subtotal: CommerceMoneyJSON;
3056
3061
  tax_total: CommerceMoneyJSON;
3057
3062
  total_due_now: CommerceMoneyJSON;
3058
- proration?: {
3059
- days: number;
3060
- rate_per_day: CommerceMoneyJSON;
3061
- total_proration: CommerceMoneyJSON;
3062
- };
3063
+ credit: CommerceMoneyJSON;
3063
3064
  }
3064
3065
  interface CommerceInvoiceTotalsJSON extends Omit<CommerceCheckoutTotalsJSON, 'total_due_now'> {
3065
3066
  }
@@ -3075,6 +3076,7 @@ interface CommerceCheckoutJSON extends ClerkResourceJSON {
3075
3076
  status: string;
3076
3077
  subscription?: CommerceSubscriptionJSON;
3077
3078
  totals: CommerceCheckoutTotalsJSON;
3079
+ is_immediate_plan_change: boolean;
3078
3080
  }
3079
3081
 
3080
3082
  interface CommerceSettingsJSON extends ClerkResourceJSON {
@@ -3397,6 +3399,10 @@ type ElementsConfig = {
3397
3399
  formInputGroup: WithOptions<never, ControlState>;
3398
3400
  segmentedControlRoot: WithOptions;
3399
3401
  segmentedControlButton: WithOptions;
3402
+ switchRoot: WithOptions;
3403
+ switchIndicator: WithOptions;
3404
+ switchThumb: WithOptions;
3405
+ switchLabel: WithOptions;
3400
3406
  avatarBox: WithOptions;
3401
3407
  avatarImage: WithOptions;
3402
3408
  avatarImageActions: WithOptions;
@@ -3468,27 +3474,25 @@ type ElementsConfig = {
3468
3474
  pricingTable: WithOptions;
3469
3475
  pricingTableCard: WithOptions<string>;
3470
3476
  pricingTableCardHeader: WithOptions;
3471
- pricingTableCardAvatarBadgeContainer: WithOptions;
3472
- pricingTableCardAvatar: WithOptions;
3473
- pricingTableCardBadgeContainer: WithOptions;
3474
- pricingTableCardBadge: WithOptions;
3477
+ pricingTableCardTitleContainer: WithOptions;
3475
3478
  pricingTableCardTitle: WithOptions;
3476
3479
  pricingTableCardDescription: WithOptions;
3480
+ pricingTableCardFeeContainer: WithOptions;
3481
+ pricingTableCardFee: WithOptions;
3482
+ pricingTableCardFeePeriod: WithOptions;
3483
+ pricingTableCardPeriodToggle: WithOptions;
3484
+ pricingTableCardFeePeriodNotice: WithOptions;
3485
+ pricingTableCardBody: WithOptions;
3477
3486
  pricingTableCardFeatures: WithOptions;
3478
3487
  pricingTableCardFeaturesList: WithOptions<string>;
3479
3488
  pricingTableCardFeaturesListItem: WithOptions<string>;
3480
3489
  pricingTableCardFeaturesListItemContent: WithOptions;
3481
3490
  pricingTableCardFeaturesListItemTitle: WithOptions;
3482
- pricingTableCardFeaturesListItemDescription: WithOptions;
3491
+ pricingTableCardStatusRow: WithOptions;
3492
+ pricingTableCardStatus: WithOptions;
3483
3493
  pricingTableCardAction: WithOptions;
3484
- pricingTableCardPeriodToggle: WithOptions;
3485
- pricingTableCardFeeContainer: WithOptions;
3486
- pricingTableCardFee: WithOptions;
3487
- pricingTableCardFeePeriod: WithOptions;
3488
- pricingTableCardFeePeriodNotice: WithOptions;
3489
- pricingTableCardFeePeriodNoticeInner: WithOptions;
3490
- pricingTableCardFeePeriodNoticeLabel: WithOptions;
3491
- pricingTableMatrixRoot: WithOptions;
3494
+ pricingTableCardActionButton: WithOptions;
3495
+ pricingTableMatrix: WithOptions;
3492
3496
  pricingTableMatrixTable: WithOptions;
3493
3497
  pricingTableMatrixRowGroup: WithOptions;
3494
3498
  pricingTableMatrixRowGroupHeader: WithOptions;
@@ -3614,6 +3618,9 @@ type ElementsConfig = {
3614
3618
  impersonationFabIconContainer: WithOptions;
3615
3619
  impersonationFabTitle: WithOptions;
3616
3620
  impersonationFabActionLink: WithOptions;
3621
+ tooltip: WithOptions;
3622
+ tooltipContent: WithOptions;
3623
+ tooltipText: WithOptions;
3617
3624
  invitationsSentIconBox: WithOptions;
3618
3625
  invitationsSentIcon: WithOptions;
3619
3626
  qrCodeRow: WithOptions;
@@ -4084,6 +4091,7 @@ type _LocalizationResource = {
4084
4091
  badge__you: LocalizationValue;
4085
4092
  badge__currentPlan: LocalizationValue;
4086
4093
  badge__upcomingPlan: LocalizationValue;
4094
+ badge__activePlan: LocalizationValue;
4087
4095
  badge__startsAt: LocalizationValue;
4088
4096
  badge__endsAt: LocalizationValue;
4089
4097
  badge__expired: LocalizationValue;
@@ -4099,7 +4107,7 @@ type _LocalizationResource = {
4099
4107
  membershipRole__admin: LocalizationValue;
4100
4108
  membershipRole__basicMember: LocalizationValue;
4101
4109
  membershipRole__guestMember: LocalizationValue;
4102
- __experimental_commerce: {
4110
+ commerce: {
4103
4111
  month: LocalizationValue;
4104
4112
  free: LocalizationValue;
4105
4113
  getStarted: LocalizationValue;
@@ -4108,8 +4116,12 @@ type _LocalizationResource = {
4108
4116
  cancelSubscription: LocalizationValue;
4109
4117
  keepSubscription: LocalizationValue;
4110
4118
  reSubscribe: LocalizationValue;
4119
+ subscribe: LocalizationValue;
4111
4120
  switchPlan: LocalizationValue;
4121
+ switchToAnnual: LocalizationValue;
4112
4122
  billedAnnually: LocalizationValue;
4123
+ billedMonthlyOnly: LocalizationValue;
4124
+ alwaysFree: LocalizationValue;
4113
4125
  accountFunds: LocalizationValue;
4114
4126
  defaultFreePlanActive: LocalizationValue;
4115
4127
  viewFeatures: LocalizationValue;
@@ -4130,6 +4142,7 @@ type _LocalizationResource = {
4130
4142
  title: LocalizationValue;
4131
4143
  subtitle: LocalizationValue;
4132
4144
  };
4145
+ downgradeNotice: LocalizationValue;
4133
4146
  };
4134
4147
  };
4135
4148
  signUp: {
@@ -4679,13 +4692,16 @@ type _LocalizationResource = {
4679
4692
  actionDescription: LocalizationValue;
4680
4693
  confirm: LocalizationValue;
4681
4694
  };
4682
- __experimental_billingPage: {
4695
+ billingPage: {
4683
4696
  title: LocalizationValue;
4684
4697
  start: {
4685
4698
  headerTitle__plans: LocalizationValue;
4686
4699
  headerTitle__subscriptions: LocalizationValue;
4687
4700
  headerTitle__invoices: LocalizationValue;
4688
- headerTitle__paymentMethods: LocalizationValue;
4701
+ };
4702
+ subscriptionsListSection: {
4703
+ title: LocalizationValue;
4704
+ actionLabel__switchPlan: LocalizationValue;
4689
4705
  };
4690
4706
  paymentSourcesSection: {
4691
4707
  title: LocalizationValue;
@@ -4702,6 +4718,7 @@ type _LocalizationResource = {
4702
4718
  messageLine2: LocalizationValue;
4703
4719
  successMessage: LocalizationValue;
4704
4720
  };
4721
+ payWithTestCardButton: LocalizationValue;
4705
4722
  };
4706
4723
  subscriptionsSection: {
4707
4724
  actionLabel__default: LocalizationValue;
@@ -4869,6 +4886,41 @@ type _LocalizationResource = {
4869
4886
  };
4870
4887
  };
4871
4888
  };
4889
+ billingPage: {
4890
+ title: LocalizationValue;
4891
+ start: {
4892
+ headerTitle__plans: LocalizationValue;
4893
+ headerTitle__subscriptions: LocalizationValue;
4894
+ headerTitle__invoices: LocalizationValue;
4895
+ };
4896
+ subscriptionsListSection: {
4897
+ title: LocalizationValue;
4898
+ actionLabel__switchPlan: LocalizationValue;
4899
+ };
4900
+ paymentSourcesSection: {
4901
+ title: LocalizationValue;
4902
+ add: LocalizationValue;
4903
+ addSubtitle: LocalizationValue;
4904
+ cancelButton: LocalizationValue;
4905
+ actionLabel__default: LocalizationValue;
4906
+ actionLabel__remove: LocalizationValue;
4907
+ formButtonPrimary__add: LocalizationValue;
4908
+ formButtonPrimary__pay: LocalizationValue;
4909
+ removeResource: {
4910
+ title: LocalizationValue;
4911
+ messageLine1: LocalizationValue;
4912
+ messageLine2: LocalizationValue;
4913
+ successMessage: LocalizationValue;
4914
+ };
4915
+ payWithTestCardButton: LocalizationValue;
4916
+ };
4917
+ subscriptionsSection: {
4918
+ actionLabel__default: LocalizationValue;
4919
+ };
4920
+ alerts: {
4921
+ noPermissionsToManageBilling: LocalizationValue;
4922
+ };
4923
+ };
4872
4924
  };
4873
4925
  createOrganization: {
4874
4926
  title: LocalizationValue;
@@ -5163,8 +5215,8 @@ interface Clerk {
5163
5215
  organization: OrganizationResource | null | undefined;
5164
5216
  /** Current User. */
5165
5217
  user: UserResource | null | undefined;
5166
- /** Commerce Object */
5167
- commerce: CommerceNamespace;
5218
+ /** Billing Object */
5219
+ billing: CommerceBillingNamespace;
5168
5220
  telemetry: TelemetryCollector | undefined;
5169
5221
  __internal_country?: string | null;
5170
5222
  /**
@@ -5491,6 +5543,10 @@ interface Clerk {
5491
5543
  * Returns the configured afterSignOutUrl of the instance.
5492
5544
  */
5493
5545
  buildAfterSignOutUrl(): string;
5546
+ /**
5547
+ * Returns the configured newSubscriptionRedirectUrl of the instance.
5548
+ */
5549
+ buildNewSubscriptionRedirectUrl(): string;
5494
5550
  /**
5495
5551
  * Returns the configured afterMultiSessionSingleSignOutUrl of the instance.
5496
5552
  */
@@ -5598,10 +5654,10 @@ interface Clerk {
5598
5654
  /**
5599
5655
  * Navigates to the next task or redirects to completion URL.
5600
5656
  * If the current session has pending tasks, it navigates to the next task.
5601
- * If all tasks are complete, it navigates to the provided completion URL.
5657
+ * If all tasks are complete, it navigates to the provided completion URL or defaults to the origin redirect URL (either from sign-in or sign-up).
5602
5658
  * @experimental
5603
5659
  */
5604
- __experimental_nextTask: (params?: NextTaskParams) => Promise<void>;
5660
+ __experimental_navigateToTask: (params?: NextTaskParams) => Promise<void>;
5605
5661
  /**
5606
5662
  * This is an optional function.
5607
5663
  * This function is used to load cached Client and Environment resources if Clerk fails to load them from the Frontend API.
@@ -5685,7 +5741,7 @@ type ClerkOptionsNavigation = {
5685
5741
  routerReplace: RouterFn;
5686
5742
  routerDebug?: boolean;
5687
5743
  };
5688
- type ClerkOptions = PendingSessionOptions & ClerkOptionsNavigation & SignInForceRedirectUrl & SignInFallbackRedirectUrl & SignUpForceRedirectUrl & SignUpFallbackRedirectUrl & LegacyRedirectProps & AfterSignOutUrl & AfterMultiSessionSingleSignOutUrl & {
5744
+ type ClerkOptions = PendingSessionOptions & ClerkOptionsNavigation & SignInForceRedirectUrl & SignInFallbackRedirectUrl & SignUpForceRedirectUrl & SignUpFallbackRedirectUrl & NewSubscriptionRedirectUrl & LegacyRedirectProps & AfterSignOutUrl & AfterMultiSessionSingleSignOutUrl & {
5689
5745
  /**
5690
5746
  * Optional object to style your components. Will only affect [Clerk Components](https://clerk.com/docs/components/overview) and not [Account Portal](https://clerk.com/docs/account-portal/overview) pages.
5691
5747
  */
@@ -6341,73 +6397,37 @@ type WaitlistModalProps = WaitlistProps;
6341
6397
  type PricingTableDefaultProps = {
6342
6398
  ctaPosition?: 'top' | 'bottom';
6343
6399
  collapseFeatures?: boolean;
6400
+ newSubscriptionRedirectUrl?: string;
6344
6401
  };
6345
6402
  type PricingTableBaseProps = {
6346
6403
  forOrganizations?: boolean;
6347
- /**
6348
- * Customisation options to fully match the Clerk components to your own brand.
6349
- * These options serve as overrides and will be merged with the global `appearance`
6350
- * prop of ClerkProvided (if one is provided)
6351
- */
6352
6404
  appearance?: PricingTableTheme;
6353
- checkoutProps?: Pick<__internal_CheckoutProps, 'appearance'>;
6405
+ __internal_CheckoutProps?: Pick<__internal_CheckoutProps, 'appearance'>;
6354
6406
  };
6407
+ type PortalRoot = HTMLElement | null | undefined;
6355
6408
  type PricingTableProps = PricingTableBaseProps & PricingTableDefaultProps;
6356
6409
  type __internal_CheckoutProps = {
6357
- /**
6358
- * Customisation options to fully match the Clerk components to your own brand.
6359
- * These options serve as overrides and will be merged with the global `appearance`
6360
- * prop of ClerkProvided (if one is provided)
6361
- */
6362
6410
  appearance?: CheckoutTheme;
6363
- /**
6364
- * The ID of the plan a user or organization is subscribing to.
6365
- */
6366
6411
  planId?: string;
6367
- /**
6368
- * The period of the plan a user or organization is subscribing to.
6369
- */
6370
6412
  planPeriod?: CommerceSubscriptionPlanPeriod;
6371
- /**
6372
- * The type of subscriber the planId is for.
6373
- */
6374
6413
  subscriberType?: CommerceSubscriberType;
6375
- /**
6376
- * A callback function to be executed after a subscription is completed.
6377
- */
6378
6414
  onSubscriptionComplete?: () => void;
6415
+ portalId?: string;
6416
+ portalRoot?: PortalRoot;
6379
6417
  /**
6380
- * The ID of a html element where the drawer will mount to.
6418
+ * Full URL or path to navigate to after checkout is complete and the user clicks the "Continue" button.
6419
+ * @default undefined
6381
6420
  */
6382
- portalId?: string;
6421
+ newSubscriptionRedirectUrl?: string;
6383
6422
  };
6384
6423
  type __internal_PlanDetailsProps = {
6385
- /**
6386
- * Customisation options to fully match the Clerk components to your own brand.
6387
- * These options serve as overrides and will be merged with the global `appearance`
6388
- * prop of ClerkProvided (if one is provided)
6389
- */
6390
6424
  appearance?: PlanDetailTheme;
6391
- /**
6392
- * The plan of a user or organization to see details of.
6393
- */
6394
6425
  plan?: CommercePlanResource;
6395
- /**
6396
- * The type of subscriber the planId is for.
6397
- */
6398
6426
  subscriberType?: CommerceSubscriberType;
6399
- /**
6400
- * The period of the plan a user or organization is subscribing to.
6401
- */
6402
6427
  planPeriod?: CommerceSubscriptionPlanPeriod;
6403
- /**
6404
- * A callback function to be executed after a subscription is cancelled.
6405
- */
6406
6428
  onSubscriptionCancel?: () => void;
6407
- /**
6408
- * The ID of a html element where the drawer will mount to.
6409
- */
6410
6429
  portalId?: string;
6430
+ portalRoot?: PortalRoot;
6411
6431
  };
6412
6432
  interface HandleEmailLinkVerificationParams {
6413
6433
  /**
@@ -6862,4 +6882,4 @@ type SharedSignedInAuthObjectProperties = {
6862
6882
  factorVerificationAge: [firstFactorAge: number, secondFactorAge: number] | null;
6863
6883
  };
6864
6884
 
6865
- 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 CommerceFeatureResource, type CommerceInitializedPaymentSourceJSON, type CommerceInitializedPaymentSourceResource, type CommerceInvoiceJSON, type CommerceInvoiceResource, type CommerceInvoiceStatus, type CommerceInvoiceTotals, type CommerceInvoiceTotalsJSON, type CommerceMoney, type CommerceMoneyJSON, type CommerceNamespace, type CommercePaymentSourceJSON, type CommercePaymentSourceResource, type CommercePaymentSourceStatus, type CommercePlanJSON, type CommercePlanResource, type CommerceProductJSON, type CommerceProductResource, type CommerceSettingsJSON, type CommerceSettingsJSONSnapshot, type CommerceSettingsResource, 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 GetInvoicesParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetPaymentSourcesParams, type GetPlansParams, type GetRolesParams, 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 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 PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, 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_PlanDetailsProps, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
6885
+ 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 CommerceFeatureResource, type CommerceInitializedPaymentSourceJSON, type CommerceInitializedPaymentSourceResource, type CommerceInvoiceJSON, type CommerceInvoiceResource, type CommerceInvoiceStatus, type CommerceInvoiceTotals, type CommerceInvoiceTotalsJSON, type CommerceMoney, type CommerceMoneyJSON, type CommercePaymentSourceJSON, type CommercePaymentSourceMethods, type CommercePaymentSourceResource, type CommercePaymentSourceStatus, type CommercePlanJSON, type CommercePlanResource, type CommerceProductJSON, type CommerceProductResource, type CommerceSettingsJSON, type CommerceSettingsJSONSnapshot, type CommerceSettingsResource, 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 GetInvoicesParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetPaymentSourcesParams, type GetPlansParams, type GetRolesParams, 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 PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, 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_PlanDetailsProps, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
package/dist/index.d.ts CHANGED
@@ -38,9 +38,9 @@ interface ClerkRuntimeError {
38
38
  message: string;
39
39
  }
40
40
 
41
- type AlertId = 'danger' | 'warning';
41
+ type AlertId = 'danger' | 'warning' | 'info';
42
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
- type ProfileSectionId = 'profile' | 'username' | 'emailAddresses' | 'phoneNumbers' | 'connectedAccounts' | 'enterpriseAccounts' | 'web3Wallets' | 'password' | 'passkeys' | 'mfa' | 'danger' | 'activeDevices' | 'organizationProfile' | 'organizationDanger' | 'organizationDomains' | 'manageVerifiedDomains' | 'paymentSources';
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';
46
46
  type OrganizationPreviewId = 'organizationSwitcherTrigger' | 'organizationList' | 'organizationSwitcherListedOrganization' | 'organizationSwitcherActiveOrganization';
@@ -238,12 +238,6 @@ type ClerkPaginationParams<T = object> = {
238
238
  type WithOptionalOrgType<T> = T & {
239
239
  orgId?: string;
240
240
  };
241
- interface CommerceNamespace {
242
- billing: CommerceBillingNamespace;
243
- getPaymentSources: (params: GetPaymentSourcesParams) => Promise<ClerkPaginatedResponse<CommercePaymentSourceResource>>;
244
- initializePaymentSource: (params: InitializePaymentSourceParams) => Promise<CommerceInitializedPaymentSourceResource>;
245
- addPaymentSource: (params: AddPaymentSourceParams) => Promise<CommercePaymentSourceResource>;
246
- }
247
241
  interface CommerceBillingNamespace {
248
242
  getPlans: () => Promise<CommercePlanResource[]>;
249
243
  getSubscriptions: (params: GetSubscriptionsParams) => Promise<ClerkPaginatedResponse<CommerceSubscriptionResource>>;
@@ -253,6 +247,11 @@ interface CommerceBillingNamespace {
253
247
  type CommerceSubscriberType = 'org' | 'user';
254
248
  type CommerceSubscriptionStatus = 'active' | 'ended' | 'upcoming';
255
249
  type CommerceSubscriptionPlanPeriod = 'month' | 'annual';
250
+ interface CommercePaymentSourceMethods {
251
+ initializePaymentSource: (params: Exclude<InitializePaymentSourceParams, 'orgId'>) => Promise<CommerceInitializedPaymentSourceResource>;
252
+ addPaymentSource: (params: Exclude<AddPaymentSourceParams, 'orgId'>) => Promise<CommercePaymentSourceResource>;
253
+ getPaymentSources: (params: Exclude<GetPaymentSourcesParams, 'orgId'>) => Promise<ClerkPaginatedResponse<CommercePaymentSourceResource>>;
254
+ }
256
255
  interface CommerceProductResource extends ClerkResource {
257
256
  id: string;
258
257
  slug: string | null;
@@ -349,11 +348,7 @@ interface CommerceCheckoutTotals {
349
348
  grandTotal: CommerceMoney;
350
349
  taxTotal: CommerceMoney;
351
350
  totalDueNow: CommerceMoney;
352
- proration?: {
353
- days: number;
354
- ratePerDay: CommerceMoney;
355
- totalProration: CommerceMoney;
356
- };
351
+ credit: CommerceMoney;
357
352
  }
358
353
  interface CommerceInvoiceTotals extends Omit<CommerceCheckoutTotals, 'totalDueNow'> {
359
354
  }
@@ -366,6 +361,9 @@ type ConfirmCheckoutParams = WithOptionalOrgType<{
366
361
  } | {
367
362
  paymentToken?: string;
368
363
  gateway?: PaymentGateway;
364
+ } | {
365
+ gateway?: PaymentGateway;
366
+ useTestCard?: boolean;
369
367
  }>;
370
368
  interface CommerceCheckoutResource extends ClerkResource {
371
369
  id: string;
@@ -379,6 +377,7 @@ interface CommerceCheckoutResource extends ClerkResource {
379
377
  totals: CommerceCheckoutTotals;
380
378
  subscription?: CommerceSubscriptionResource;
381
379
  confirm: (params: ConfirmCheckoutParams) => Promise<CommerceCheckoutResource>;
380
+ isImmediatePlanChange: boolean;
382
381
  }
383
382
 
384
383
  type PreferredSignInStrategy = 'password' | 'otp';
@@ -1204,7 +1203,7 @@ declare global {
1204
1203
  *
1205
1204
  * The ClerkJS SDK provides some helper [methods](#methods) on the `User` object to help retrieve and update user information and authentication status.
1206
1205
  */
1207
- interface UserResource extends ClerkResource {
1206
+ interface UserResource extends ClerkResource, CommercePaymentSourceMethods {
1208
1207
  id: string;
1209
1208
  externalId: string | null;
1210
1209
  primaryEmailAddressId: string | null;
@@ -1601,7 +1600,7 @@ declare global {
1601
1600
  *
1602
1601
  * @interface
1603
1602
  */
1604
- interface OrganizationResource extends ClerkResource {
1603
+ interface OrganizationResource extends ClerkResource, CommercePaymentSourceMethods {
1605
1604
  id: string;
1606
1605
  name: string;
1607
1606
  slug: string | null;
@@ -2194,6 +2193,12 @@ type SignInForceRedirectUrl = {
2194
2193
  */
2195
2194
  signInForceRedirectUrl?: string | null;
2196
2195
  };
2196
+ type NewSubscriptionRedirectUrl = {
2197
+ /**
2198
+ * The URL to navigate to after the user completes the checkout and clicks the "Continue" button.
2199
+ */
2200
+ newSubscriptionRedirectUrl?: string | null;
2201
+ };
2197
2202
 
2198
2203
  /**
2199
2204
  * The `SignIn` object holds the state of the current sign-in and provides helper methods to navigate and complete the sign-in process. It is used to manage the sign-in lifecycle, including the first and second factor verification, and the creation of a new session.
@@ -3055,11 +3060,7 @@ interface CommerceCheckoutTotalsJSON {
3055
3060
  subtotal: CommerceMoneyJSON;
3056
3061
  tax_total: CommerceMoneyJSON;
3057
3062
  total_due_now: CommerceMoneyJSON;
3058
- proration?: {
3059
- days: number;
3060
- rate_per_day: CommerceMoneyJSON;
3061
- total_proration: CommerceMoneyJSON;
3062
- };
3063
+ credit: CommerceMoneyJSON;
3063
3064
  }
3064
3065
  interface CommerceInvoiceTotalsJSON extends Omit<CommerceCheckoutTotalsJSON, 'total_due_now'> {
3065
3066
  }
@@ -3075,6 +3076,7 @@ interface CommerceCheckoutJSON extends ClerkResourceJSON {
3075
3076
  status: string;
3076
3077
  subscription?: CommerceSubscriptionJSON;
3077
3078
  totals: CommerceCheckoutTotalsJSON;
3079
+ is_immediate_plan_change: boolean;
3078
3080
  }
3079
3081
 
3080
3082
  interface CommerceSettingsJSON extends ClerkResourceJSON {
@@ -3397,6 +3399,10 @@ type ElementsConfig = {
3397
3399
  formInputGroup: WithOptions<never, ControlState>;
3398
3400
  segmentedControlRoot: WithOptions;
3399
3401
  segmentedControlButton: WithOptions;
3402
+ switchRoot: WithOptions;
3403
+ switchIndicator: WithOptions;
3404
+ switchThumb: WithOptions;
3405
+ switchLabel: WithOptions;
3400
3406
  avatarBox: WithOptions;
3401
3407
  avatarImage: WithOptions;
3402
3408
  avatarImageActions: WithOptions;
@@ -3468,27 +3474,25 @@ type ElementsConfig = {
3468
3474
  pricingTable: WithOptions;
3469
3475
  pricingTableCard: WithOptions<string>;
3470
3476
  pricingTableCardHeader: WithOptions;
3471
- pricingTableCardAvatarBadgeContainer: WithOptions;
3472
- pricingTableCardAvatar: WithOptions;
3473
- pricingTableCardBadgeContainer: WithOptions;
3474
- pricingTableCardBadge: WithOptions;
3477
+ pricingTableCardTitleContainer: WithOptions;
3475
3478
  pricingTableCardTitle: WithOptions;
3476
3479
  pricingTableCardDescription: WithOptions;
3480
+ pricingTableCardFeeContainer: WithOptions;
3481
+ pricingTableCardFee: WithOptions;
3482
+ pricingTableCardFeePeriod: WithOptions;
3483
+ pricingTableCardPeriodToggle: WithOptions;
3484
+ pricingTableCardFeePeriodNotice: WithOptions;
3485
+ pricingTableCardBody: WithOptions;
3477
3486
  pricingTableCardFeatures: WithOptions;
3478
3487
  pricingTableCardFeaturesList: WithOptions<string>;
3479
3488
  pricingTableCardFeaturesListItem: WithOptions<string>;
3480
3489
  pricingTableCardFeaturesListItemContent: WithOptions;
3481
3490
  pricingTableCardFeaturesListItemTitle: WithOptions;
3482
- pricingTableCardFeaturesListItemDescription: WithOptions;
3491
+ pricingTableCardStatusRow: WithOptions;
3492
+ pricingTableCardStatus: WithOptions;
3483
3493
  pricingTableCardAction: WithOptions;
3484
- pricingTableCardPeriodToggle: WithOptions;
3485
- pricingTableCardFeeContainer: WithOptions;
3486
- pricingTableCardFee: WithOptions;
3487
- pricingTableCardFeePeriod: WithOptions;
3488
- pricingTableCardFeePeriodNotice: WithOptions;
3489
- pricingTableCardFeePeriodNoticeInner: WithOptions;
3490
- pricingTableCardFeePeriodNoticeLabel: WithOptions;
3491
- pricingTableMatrixRoot: WithOptions;
3494
+ pricingTableCardActionButton: WithOptions;
3495
+ pricingTableMatrix: WithOptions;
3492
3496
  pricingTableMatrixTable: WithOptions;
3493
3497
  pricingTableMatrixRowGroup: WithOptions;
3494
3498
  pricingTableMatrixRowGroupHeader: WithOptions;
@@ -3614,6 +3618,9 @@ type ElementsConfig = {
3614
3618
  impersonationFabIconContainer: WithOptions;
3615
3619
  impersonationFabTitle: WithOptions;
3616
3620
  impersonationFabActionLink: WithOptions;
3621
+ tooltip: WithOptions;
3622
+ tooltipContent: WithOptions;
3623
+ tooltipText: WithOptions;
3617
3624
  invitationsSentIconBox: WithOptions;
3618
3625
  invitationsSentIcon: WithOptions;
3619
3626
  qrCodeRow: WithOptions;
@@ -4084,6 +4091,7 @@ type _LocalizationResource = {
4084
4091
  badge__you: LocalizationValue;
4085
4092
  badge__currentPlan: LocalizationValue;
4086
4093
  badge__upcomingPlan: LocalizationValue;
4094
+ badge__activePlan: LocalizationValue;
4087
4095
  badge__startsAt: LocalizationValue;
4088
4096
  badge__endsAt: LocalizationValue;
4089
4097
  badge__expired: LocalizationValue;
@@ -4099,7 +4107,7 @@ type _LocalizationResource = {
4099
4107
  membershipRole__admin: LocalizationValue;
4100
4108
  membershipRole__basicMember: LocalizationValue;
4101
4109
  membershipRole__guestMember: LocalizationValue;
4102
- __experimental_commerce: {
4110
+ commerce: {
4103
4111
  month: LocalizationValue;
4104
4112
  free: LocalizationValue;
4105
4113
  getStarted: LocalizationValue;
@@ -4108,8 +4116,12 @@ type _LocalizationResource = {
4108
4116
  cancelSubscription: LocalizationValue;
4109
4117
  keepSubscription: LocalizationValue;
4110
4118
  reSubscribe: LocalizationValue;
4119
+ subscribe: LocalizationValue;
4111
4120
  switchPlan: LocalizationValue;
4121
+ switchToAnnual: LocalizationValue;
4112
4122
  billedAnnually: LocalizationValue;
4123
+ billedMonthlyOnly: LocalizationValue;
4124
+ alwaysFree: LocalizationValue;
4113
4125
  accountFunds: LocalizationValue;
4114
4126
  defaultFreePlanActive: LocalizationValue;
4115
4127
  viewFeatures: LocalizationValue;
@@ -4130,6 +4142,7 @@ type _LocalizationResource = {
4130
4142
  title: LocalizationValue;
4131
4143
  subtitle: LocalizationValue;
4132
4144
  };
4145
+ downgradeNotice: LocalizationValue;
4133
4146
  };
4134
4147
  };
4135
4148
  signUp: {
@@ -4679,13 +4692,16 @@ type _LocalizationResource = {
4679
4692
  actionDescription: LocalizationValue;
4680
4693
  confirm: LocalizationValue;
4681
4694
  };
4682
- __experimental_billingPage: {
4695
+ billingPage: {
4683
4696
  title: LocalizationValue;
4684
4697
  start: {
4685
4698
  headerTitle__plans: LocalizationValue;
4686
4699
  headerTitle__subscriptions: LocalizationValue;
4687
4700
  headerTitle__invoices: LocalizationValue;
4688
- headerTitle__paymentMethods: LocalizationValue;
4701
+ };
4702
+ subscriptionsListSection: {
4703
+ title: LocalizationValue;
4704
+ actionLabel__switchPlan: LocalizationValue;
4689
4705
  };
4690
4706
  paymentSourcesSection: {
4691
4707
  title: LocalizationValue;
@@ -4702,6 +4718,7 @@ type _LocalizationResource = {
4702
4718
  messageLine2: LocalizationValue;
4703
4719
  successMessage: LocalizationValue;
4704
4720
  };
4721
+ payWithTestCardButton: LocalizationValue;
4705
4722
  };
4706
4723
  subscriptionsSection: {
4707
4724
  actionLabel__default: LocalizationValue;
@@ -4869,6 +4886,41 @@ type _LocalizationResource = {
4869
4886
  };
4870
4887
  };
4871
4888
  };
4889
+ billingPage: {
4890
+ title: LocalizationValue;
4891
+ start: {
4892
+ headerTitle__plans: LocalizationValue;
4893
+ headerTitle__subscriptions: LocalizationValue;
4894
+ headerTitle__invoices: LocalizationValue;
4895
+ };
4896
+ subscriptionsListSection: {
4897
+ title: LocalizationValue;
4898
+ actionLabel__switchPlan: LocalizationValue;
4899
+ };
4900
+ paymentSourcesSection: {
4901
+ title: LocalizationValue;
4902
+ add: LocalizationValue;
4903
+ addSubtitle: LocalizationValue;
4904
+ cancelButton: LocalizationValue;
4905
+ actionLabel__default: LocalizationValue;
4906
+ actionLabel__remove: LocalizationValue;
4907
+ formButtonPrimary__add: LocalizationValue;
4908
+ formButtonPrimary__pay: LocalizationValue;
4909
+ removeResource: {
4910
+ title: LocalizationValue;
4911
+ messageLine1: LocalizationValue;
4912
+ messageLine2: LocalizationValue;
4913
+ successMessage: LocalizationValue;
4914
+ };
4915
+ payWithTestCardButton: LocalizationValue;
4916
+ };
4917
+ subscriptionsSection: {
4918
+ actionLabel__default: LocalizationValue;
4919
+ };
4920
+ alerts: {
4921
+ noPermissionsToManageBilling: LocalizationValue;
4922
+ };
4923
+ };
4872
4924
  };
4873
4925
  createOrganization: {
4874
4926
  title: LocalizationValue;
@@ -5163,8 +5215,8 @@ interface Clerk {
5163
5215
  organization: OrganizationResource | null | undefined;
5164
5216
  /** Current User. */
5165
5217
  user: UserResource | null | undefined;
5166
- /** Commerce Object */
5167
- commerce: CommerceNamespace;
5218
+ /** Billing Object */
5219
+ billing: CommerceBillingNamespace;
5168
5220
  telemetry: TelemetryCollector | undefined;
5169
5221
  __internal_country?: string | null;
5170
5222
  /**
@@ -5491,6 +5543,10 @@ interface Clerk {
5491
5543
  * Returns the configured afterSignOutUrl of the instance.
5492
5544
  */
5493
5545
  buildAfterSignOutUrl(): string;
5546
+ /**
5547
+ * Returns the configured newSubscriptionRedirectUrl of the instance.
5548
+ */
5549
+ buildNewSubscriptionRedirectUrl(): string;
5494
5550
  /**
5495
5551
  * Returns the configured afterMultiSessionSingleSignOutUrl of the instance.
5496
5552
  */
@@ -5598,10 +5654,10 @@ interface Clerk {
5598
5654
  /**
5599
5655
  * Navigates to the next task or redirects to completion URL.
5600
5656
  * If the current session has pending tasks, it navigates to the next task.
5601
- * If all tasks are complete, it navigates to the provided completion URL.
5657
+ * If all tasks are complete, it navigates to the provided completion URL or defaults to the origin redirect URL (either from sign-in or sign-up).
5602
5658
  * @experimental
5603
5659
  */
5604
- __experimental_nextTask: (params?: NextTaskParams) => Promise<void>;
5660
+ __experimental_navigateToTask: (params?: NextTaskParams) => Promise<void>;
5605
5661
  /**
5606
5662
  * This is an optional function.
5607
5663
  * This function is used to load cached Client and Environment resources if Clerk fails to load them from the Frontend API.
@@ -5685,7 +5741,7 @@ type ClerkOptionsNavigation = {
5685
5741
  routerReplace: RouterFn;
5686
5742
  routerDebug?: boolean;
5687
5743
  };
5688
- type ClerkOptions = PendingSessionOptions & ClerkOptionsNavigation & SignInForceRedirectUrl & SignInFallbackRedirectUrl & SignUpForceRedirectUrl & SignUpFallbackRedirectUrl & LegacyRedirectProps & AfterSignOutUrl & AfterMultiSessionSingleSignOutUrl & {
5744
+ type ClerkOptions = PendingSessionOptions & ClerkOptionsNavigation & SignInForceRedirectUrl & SignInFallbackRedirectUrl & SignUpForceRedirectUrl & SignUpFallbackRedirectUrl & NewSubscriptionRedirectUrl & LegacyRedirectProps & AfterSignOutUrl & AfterMultiSessionSingleSignOutUrl & {
5689
5745
  /**
5690
5746
  * Optional object to style your components. Will only affect [Clerk Components](https://clerk.com/docs/components/overview) and not [Account Portal](https://clerk.com/docs/account-portal/overview) pages.
5691
5747
  */
@@ -6341,73 +6397,37 @@ type WaitlistModalProps = WaitlistProps;
6341
6397
  type PricingTableDefaultProps = {
6342
6398
  ctaPosition?: 'top' | 'bottom';
6343
6399
  collapseFeatures?: boolean;
6400
+ newSubscriptionRedirectUrl?: string;
6344
6401
  };
6345
6402
  type PricingTableBaseProps = {
6346
6403
  forOrganizations?: boolean;
6347
- /**
6348
- * Customisation options to fully match the Clerk components to your own brand.
6349
- * These options serve as overrides and will be merged with the global `appearance`
6350
- * prop of ClerkProvided (if one is provided)
6351
- */
6352
6404
  appearance?: PricingTableTheme;
6353
- checkoutProps?: Pick<__internal_CheckoutProps, 'appearance'>;
6405
+ __internal_CheckoutProps?: Pick<__internal_CheckoutProps, 'appearance'>;
6354
6406
  };
6407
+ type PortalRoot = HTMLElement | null | undefined;
6355
6408
  type PricingTableProps = PricingTableBaseProps & PricingTableDefaultProps;
6356
6409
  type __internal_CheckoutProps = {
6357
- /**
6358
- * Customisation options to fully match the Clerk components to your own brand.
6359
- * These options serve as overrides and will be merged with the global `appearance`
6360
- * prop of ClerkProvided (if one is provided)
6361
- */
6362
6410
  appearance?: CheckoutTheme;
6363
- /**
6364
- * The ID of the plan a user or organization is subscribing to.
6365
- */
6366
6411
  planId?: string;
6367
- /**
6368
- * The period of the plan a user or organization is subscribing to.
6369
- */
6370
6412
  planPeriod?: CommerceSubscriptionPlanPeriod;
6371
- /**
6372
- * The type of subscriber the planId is for.
6373
- */
6374
6413
  subscriberType?: CommerceSubscriberType;
6375
- /**
6376
- * A callback function to be executed after a subscription is completed.
6377
- */
6378
6414
  onSubscriptionComplete?: () => void;
6415
+ portalId?: string;
6416
+ portalRoot?: PortalRoot;
6379
6417
  /**
6380
- * The ID of a html element where the drawer will mount to.
6418
+ * Full URL or path to navigate to after checkout is complete and the user clicks the "Continue" button.
6419
+ * @default undefined
6381
6420
  */
6382
- portalId?: string;
6421
+ newSubscriptionRedirectUrl?: string;
6383
6422
  };
6384
6423
  type __internal_PlanDetailsProps = {
6385
- /**
6386
- * Customisation options to fully match the Clerk components to your own brand.
6387
- * These options serve as overrides and will be merged with the global `appearance`
6388
- * prop of ClerkProvided (if one is provided)
6389
- */
6390
6424
  appearance?: PlanDetailTheme;
6391
- /**
6392
- * The plan of a user or organization to see details of.
6393
- */
6394
6425
  plan?: CommercePlanResource;
6395
- /**
6396
- * The type of subscriber the planId is for.
6397
- */
6398
6426
  subscriberType?: CommerceSubscriberType;
6399
- /**
6400
- * The period of the plan a user or organization is subscribing to.
6401
- */
6402
6427
  planPeriod?: CommerceSubscriptionPlanPeriod;
6403
- /**
6404
- * A callback function to be executed after a subscription is cancelled.
6405
- */
6406
6428
  onSubscriptionCancel?: () => void;
6407
- /**
6408
- * The ID of a html element where the drawer will mount to.
6409
- */
6410
6429
  portalId?: string;
6430
+ portalRoot?: PortalRoot;
6411
6431
  };
6412
6432
  interface HandleEmailLinkVerificationParams {
6413
6433
  /**
@@ -6862,4 +6882,4 @@ type SharedSignedInAuthObjectProperties = {
6862
6882
  factorVerificationAge: [firstFactorAge: number, secondFactorAge: number] | null;
6863
6883
  };
6864
6884
 
6865
- 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 CommerceFeatureResource, type CommerceInitializedPaymentSourceJSON, type CommerceInitializedPaymentSourceResource, type CommerceInvoiceJSON, type CommerceInvoiceResource, type CommerceInvoiceStatus, type CommerceInvoiceTotals, type CommerceInvoiceTotalsJSON, type CommerceMoney, type CommerceMoneyJSON, type CommerceNamespace, type CommercePaymentSourceJSON, type CommercePaymentSourceResource, type CommercePaymentSourceStatus, type CommercePlanJSON, type CommercePlanResource, type CommerceProductJSON, type CommerceProductResource, type CommerceSettingsJSON, type CommerceSettingsJSONSnapshot, type CommerceSettingsResource, 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 GetInvoicesParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetPaymentSourcesParams, type GetPlansParams, type GetRolesParams, 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 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 PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, 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_PlanDetailsProps, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
6885
+ 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 CommerceFeatureResource, type CommerceInitializedPaymentSourceJSON, type CommerceInitializedPaymentSourceResource, type CommerceInvoiceJSON, type CommerceInvoiceResource, type CommerceInvoiceStatus, type CommerceInvoiceTotals, type CommerceInvoiceTotalsJSON, type CommerceMoney, type CommerceMoneyJSON, type CommercePaymentSourceJSON, type CommercePaymentSourceMethods, type CommercePaymentSourceResource, type CommercePaymentSourceStatus, type CommercePlanJSON, type CommercePlanResource, type CommerceProductJSON, type CommerceProductResource, type CommerceSettingsJSON, type CommerceSettingsJSONSnapshot, type CommerceSettingsResource, 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 GetInvoicesParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetPaymentSourcesParams, type GetPlansParams, type GetRolesParams, 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 PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, 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_PlanDetailsProps, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clerk/types",
3
- "version": "4.57.0-snapshot.v20250430130545",
3
+ "version": "4.57.0",
4
4
  "description": "Typings for Clerk libraries.",
5
5
  "keywords": [
6
6
  "clerk",