@clerk/types 4.57.0-snapshot.v20250505124755 → 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,6 +38,62 @@ interface ClerkRuntimeError {
38
38
  message: string;
39
39
  }
40
40
 
41
+ type AlertId = 'danger' | 'warning' | 'info';
42
+ type FieldId = 'firstName' | 'lastName' | 'name' | 'slug' | 'emailAddress' | 'phoneNumber' | 'currentPassword' | 'newPassword' | 'signOutOfOtherSessions' | 'passkeyName' | 'password' | 'confirmPassword' | 'identifier' | 'username' | 'code' | 'role' | 'deleteConfirmation' | 'deleteOrganizationConfirmation' | 'enrollmentMode' | 'affiliationEmailAddress' | 'deleteExistingInvitationsSuggestions' | 'legalAccepted';
43
+ type ProfileSectionId = 'profile' | 'username' | 'emailAddresses' | 'phoneNumbers' | 'connectedAccounts' | 'enterpriseAccounts' | 'web3Wallets' | 'password' | 'passkeys' | 'mfa' | 'danger' | 'activeDevices' | 'organizationProfile' | 'organizationDanger' | 'organizationDomains' | 'manageVerifiedDomains' | 'subscriptionsList' | 'paymentSources';
44
+ type ProfilePageId = 'account' | 'security' | 'organizationGeneral' | 'organizationMembers' | 'billing';
45
+ type UserPreviewId = 'userButton' | 'personalWorkspace';
46
+ type OrganizationPreviewId = 'organizationSwitcherTrigger' | 'organizationList' | 'organizationSwitcherListedOrganization' | 'organizationSwitcherActiveOrganization';
47
+ type CardActionId = 'havingTrouble' | 'alternativeMethods' | 'signUp' | 'signIn' | 'usePasskey' | 'waitlist';
48
+ type MenuId = 'invitation' | 'member' | ProfileSectionId;
49
+ type SelectId = 'countryCode' | 'role' | 'paymentSource';
50
+
51
+ interface Web3ProviderData {
52
+ provider: Web3Provider;
53
+ strategy: Web3Strategy;
54
+ name: string;
55
+ }
56
+ type MetamaskWeb3Provider = 'metamask';
57
+ type CoinbaseWalletWeb3Provider = 'coinbase_wallet';
58
+ type OKXWalletWeb3Provider = 'okx_wallet';
59
+ type Web3Provider = MetamaskWeb3Provider | CoinbaseWalletWeb3Provider | OKXWalletWeb3Provider;
60
+ /**
61
+ * @deprecated Use `import { WEB3_PROVIDERS } from "@clerk/shared/web3"` instead.
62
+ *
63
+ * @hidden
64
+ */
65
+ declare const WEB3_PROVIDERS: Web3ProviderData[];
66
+ interface getWeb3ProviderDataProps {
67
+ provider?: Web3Provider;
68
+ strategy?: Web3Strategy;
69
+ }
70
+ /**
71
+ * @deprecated This utility will be dropped in the next major release.
72
+ *
73
+ * @hidden
74
+ */
75
+ declare function getWeb3ProviderData({ provider, strategy, }: getWeb3ProviderDataProps): Web3ProviderData | undefined | null;
76
+
77
+ type GoogleOneTapStrategy = 'google_one_tap';
78
+ type PasskeyStrategy = 'passkey';
79
+ type PasswordStrategy = 'password';
80
+ type PhoneCodeStrategy = 'phone_code';
81
+ type EmailCodeStrategy = 'email_code';
82
+ type EmailLinkStrategy = 'email_link';
83
+ type TicketStrategy = 'ticket';
84
+ type TOTPStrategy = 'totp';
85
+ type BackupCodeStrategy = 'backup_code';
86
+ type ResetPasswordPhoneCodeStrategy = 'reset_password_phone_code';
87
+ type ResetPasswordEmailCodeStrategy = 'reset_password_email_code';
88
+ type CustomOAuthStrategy = `oauth_custom_${string}`;
89
+ type EnterpriseSSOStrategy = 'enterprise_sso';
90
+ type OAuthStrategy = `oauth_${OAuthProvider}` | CustomOAuthStrategy;
91
+ type Web3Strategy = `web3_${Web3Provider}_signature`;
92
+ /**
93
+ * @deprecated Use `EnterpriseSSOStrategy` instead.
94
+ */
95
+ type SamlStrategy = 'saml';
96
+
41
97
  type OAuthScope = string;
42
98
  interface OAuthProviderData {
43
99
  provider: OAuthProvider;
@@ -98,71 +154,6 @@ declare function getOAuthProviderData({ provider, strategy, }: getOAuthProviderD
98
154
  */
99
155
  declare function sortedOAuthProviders(sortingArray: OAuthStrategy[]): OAuthProviderData[];
100
156
 
101
- interface Web3ProviderData {
102
- provider: Web3Provider;
103
- strategy: Web3Strategy;
104
- name: string;
105
- }
106
- type MetamaskWeb3Provider = 'metamask';
107
- type CoinbaseWalletWeb3Provider = 'coinbase_wallet';
108
- type OKXWalletWeb3Provider = 'okx_wallet';
109
- type Web3Provider = MetamaskWeb3Provider | CoinbaseWalletWeb3Provider | OKXWalletWeb3Provider;
110
- /**
111
- * @deprecated Use `import { WEB3_PROVIDERS } from "@clerk/shared/web3"` instead.
112
- *
113
- * @hidden
114
- */
115
- declare const WEB3_PROVIDERS: Web3ProviderData[];
116
- interface getWeb3ProviderDataProps {
117
- provider?: Web3Provider;
118
- strategy?: Web3Strategy;
119
- }
120
- /**
121
- * @deprecated This utility will be dropped in the next major release.
122
- *
123
- * @hidden
124
- */
125
- declare function getWeb3ProviderData({ provider, strategy, }: getWeb3ProviderDataProps): Web3ProviderData | undefined | null;
126
-
127
- type GoogleOneTapStrategy = 'google_one_tap';
128
- type PasskeyStrategy = 'passkey';
129
- type PasswordStrategy = 'password';
130
- type PhoneCodeStrategy = 'phone_code';
131
- type EmailCodeStrategy = 'email_code';
132
- type EmailLinkStrategy = 'email_link';
133
- type TicketStrategy = 'ticket';
134
- type TOTPStrategy = 'totp';
135
- type BackupCodeStrategy = 'backup_code';
136
- type ResetPasswordPhoneCodeStrategy = 'reset_password_phone_code';
137
- type ResetPasswordEmailCodeStrategy = 'reset_password_email_code';
138
- type CustomOAuthStrategy = `oauth_custom_${string}`;
139
- type EnterpriseSSOStrategy = 'enterprise_sso';
140
- type OAuthStrategy = `oauth_${OAuthProvider}` | CustomOAuthStrategy;
141
- type Web3Strategy = `web3_${Web3Provider}_signature`;
142
- type AlternativePhoneCodeStrategy = 'whatsapp_code';
143
- /**
144
- * @deprecated Use `EnterpriseSSOStrategy` instead.
145
- */
146
- type SamlStrategy = 'saml';
147
-
148
- interface AlternativePhoneCodeProviderData {
149
- provider: AlternativePhoneCodeProvider;
150
- strategy: AlternativePhoneCodeStrategy;
151
- name: string;
152
- }
153
- type WhatsAppProvider = 'whatsapp';
154
- type AlternativePhoneCodeProvider = WhatsAppProvider;
155
-
156
- type AlertId = 'danger' | 'warning';
157
- type FieldId = 'firstName' | 'lastName' | 'name' | 'slug' | 'emailAddress' | 'phoneNumber' | 'currentPassword' | 'newPassword' | 'signOutOfOtherSessions' | 'passkeyName' | 'password' | 'confirmPassword' | 'identifier' | 'username' | 'code' | 'role' | 'deleteConfirmation' | 'deleteOrganizationConfirmation' | 'enrollmentMode' | 'affiliationEmailAddress' | 'deleteExistingInvitationsSuggestions' | 'legalAccepted';
158
- type ProfileSectionId = 'profile' | 'username' | 'emailAddresses' | 'phoneNumbers' | 'connectedAccounts' | 'enterpriseAccounts' | 'web3Wallets' | 'password' | 'passkeys' | 'mfa' | 'danger' | 'activeDevices' | 'organizationProfile' | 'organizationDanger' | 'organizationDomains' | 'manageVerifiedDomains' | 'paymentSources';
159
- type ProfilePageId = 'account' | 'security' | 'organizationGeneral' | 'organizationMembers' | 'billing';
160
- type UserPreviewId = 'userButton' | 'personalWorkspace';
161
- type OrganizationPreviewId = 'organizationSwitcherTrigger' | 'organizationList' | 'organizationSwitcherListedOrganization' | 'organizationSwitcherActiveOrganization';
162
- type CardActionId = 'havingTrouble' | 'alternativeMethods' | 'signUp' | 'signIn' | 'usePasskey' | 'waitlist';
163
- type MenuId = 'invitation' | 'member' | ProfileSectionId;
164
- type SelectId = 'countryCode' | 'role' | 'paymentSource';
165
-
166
157
  type ClerkResourceReloadParams = {
167
158
  rotatingTokenNonce?: string;
168
159
  };
@@ -247,32 +238,31 @@ type ClerkPaginationParams<T = object> = {
247
238
  type WithOptionalOrgType<T> = T & {
248
239
  orgId?: string;
249
240
  };
250
- interface __experimental_CommerceNamespace {
251
- __experimental_billing: __experimental_CommerceBillingNamespace;
252
- getPaymentSources: (params: __experimental_GetPaymentSourcesParams) => Promise<ClerkPaginatedResponse<__experimental_CommercePaymentSourceResource>>;
253
- initializePaymentSource: (params: __experimental_InitializePaymentSourceParams) => Promise<__experimental_CommerceInitializedPaymentSourceResource>;
254
- addPaymentSource: (params: __experimental_AddPaymentSourceParams) => Promise<__experimental_CommercePaymentSourceResource>;
255
- }
256
- interface __experimental_CommerceBillingNamespace {
257
- getPlans: () => Promise<__experimental_CommercePlanResource[]>;
258
- getSubscriptions: (params: __experimental_GetSubscriptionsParams) => Promise<ClerkPaginatedResponse<__experimental_CommerceSubscriptionResource>>;
259
- getInvoices: (params: __experimental_GetInvoicesParams) => Promise<ClerkPaginatedResponse<__experimental_CommerceInvoiceResource>>;
260
- startCheckout: (params: __experimental_CreateCheckoutParams) => Promise<__experimental_CommerceCheckoutResource>;
261
- }
262
- type __experimental_CommerceSubscriberType = 'org' | 'user';
263
- type __experimental_CommerceSubscriptionStatus = 'active' | 'ended' | 'upcoming';
264
- type __experimental_CommerceSubscriptionPlanPeriod = 'month' | 'annual';
265
- interface __experimental_CommerceProductResource extends ClerkResource {
241
+ interface CommerceBillingNamespace {
242
+ getPlans: () => Promise<CommercePlanResource[]>;
243
+ getSubscriptions: (params: GetSubscriptionsParams) => Promise<ClerkPaginatedResponse<CommerceSubscriptionResource>>;
244
+ getInvoices: (params: GetInvoicesParams) => Promise<ClerkPaginatedResponse<CommerceInvoiceResource>>;
245
+ startCheckout: (params: CreateCheckoutParams) => Promise<CommerceCheckoutResource>;
246
+ }
247
+ type CommerceSubscriberType = 'org' | 'user';
248
+ type CommerceSubscriptionStatus = 'active' | 'ended' | 'upcoming';
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
+ }
255
+ interface CommerceProductResource extends ClerkResource {
266
256
  id: string;
267
257
  slug: string | null;
268
258
  currency: string;
269
259
  isDefault: boolean;
270
- plans: __experimental_CommercePlanResource[];
260
+ plans: CommercePlanResource[];
271
261
  }
272
- interface __experimental_GetPlansParams {
273
- subscriberType?: __experimental_CommerceSubscriberType;
262
+ interface GetPlansParams {
263
+ subscriberType?: CommerceSubscriberType;
274
264
  }
275
- interface __experimental_CommercePlanResource extends ClerkResource {
265
+ interface CommercePlanResource extends ClerkResource {
276
266
  id: string;
277
267
  name: string;
278
268
  amount: number;
@@ -289,103 +279,104 @@ interface __experimental_CommercePlanResource extends ClerkResource {
289
279
  publiclyVisible: boolean;
290
280
  slug: string;
291
281
  avatarUrl: string;
292
- features: __experimental_CommerceFeatureResource[];
282
+ features: CommerceFeatureResource[];
293
283
  }
294
- interface __experimental_CommerceFeatureResource extends ClerkResource {
284
+ interface CommerceFeatureResource extends ClerkResource {
295
285
  id: string;
296
286
  name: string;
297
287
  description: string;
298
288
  slug: string;
299
289
  avatarUrl: string;
300
290
  }
301
- type __experimental_CommercePaymentSourceStatus = 'active' | 'expired' | 'disconnected';
302
- type __experimental_GetPaymentSourcesParams = WithOptionalOrgType<ClerkPaginationParams>;
303
- type __experimental_PaymentGateway = 'stripe' | 'paypal';
304
- type __experimental_InitializePaymentSourceParams = WithOptionalOrgType<{
305
- gateway: __experimental_PaymentGateway;
291
+ type CommercePaymentSourceStatus = 'active' | 'expired' | 'disconnected';
292
+ type GetPaymentSourcesParams = WithOptionalOrgType<ClerkPaginationParams>;
293
+ type PaymentGateway = 'stripe' | 'paypal';
294
+ type InitializePaymentSourceParams = WithOptionalOrgType<{
295
+ gateway: PaymentGateway;
306
296
  }>;
307
- type __experimental_AddPaymentSourceParams = WithOptionalOrgType<{
308
- gateway: __experimental_PaymentGateway;
297
+ type AddPaymentSourceParams = WithOptionalOrgType<{
298
+ gateway: PaymentGateway;
309
299
  paymentToken: string;
310
300
  }>;
311
- type __experimental_RemovePaymentSourceParams = WithOptionalOrgType<unknown>;
312
- type __experimental_MakeDefaultPaymentSourceParams = WithOptionalOrgType<unknown>;
313
- interface __experimental_CommercePaymentSourceResource extends ClerkResource {
301
+ type RemovePaymentSourceParams = WithOptionalOrgType<unknown>;
302
+ type MakeDefaultPaymentSourceParams = WithOptionalOrgType<unknown>;
303
+ interface CommercePaymentSourceResource extends ClerkResource {
314
304
  id: string;
315
305
  last4: string;
316
306
  paymentMethod: string;
317
307
  cardType: string;
318
308
  isDefault: boolean;
319
- status: __experimental_CommercePaymentSourceStatus;
309
+ status: CommercePaymentSourceStatus;
320
310
  walletType: string | undefined;
321
- remove: (params?: __experimental_RemovePaymentSourceParams) => Promise<DeletedObjectResource>;
322
- makeDefault: (params?: __experimental_MakeDefaultPaymentSourceParams) => Promise<null>;
311
+ remove: (params?: RemovePaymentSourceParams) => Promise<DeletedObjectResource>;
312
+ makeDefault: (params?: MakeDefaultPaymentSourceParams) => Promise<null>;
323
313
  }
324
- interface __experimental_CommerceInitializedPaymentSourceResource extends ClerkResource {
314
+ interface CommerceInitializedPaymentSourceResource extends ClerkResource {
325
315
  externalClientSecret: string;
326
316
  externalGatewayId: string;
327
317
  }
328
- type __experimental_GetInvoicesParams = WithOptionalOrgType<ClerkPaginationParams>;
329
- type __experimental_CommerceInvoiceStatus = 'paid' | 'unpaid' | 'past_due';
330
- interface __experimental_CommerceInvoiceResource extends ClerkResource {
318
+ type GetInvoicesParams = WithOptionalOrgType<ClerkPaginationParams>;
319
+ type CommerceInvoiceStatus = 'paid' | 'unpaid' | 'past_due';
320
+ interface CommerceInvoiceResource extends ClerkResource {
331
321
  id: string;
332
- totals: __experimental_CommerceInvoiceTotals;
322
+ totals: CommerceInvoiceTotals;
333
323
  paymentDueOn: number;
334
324
  paidOn: number;
335
- status: __experimental_CommerceInvoiceStatus;
325
+ status: CommerceInvoiceStatus;
336
326
  }
337
- type __experimental_GetSubscriptionsParams = WithOptionalOrgType<ClerkPaginationParams>;
338
- type __experimental_CancelSubscriptionParams = WithOptionalOrgType<unknown>;
339
- interface __experimental_CommerceSubscriptionResource extends ClerkResource {
327
+ type GetSubscriptionsParams = WithOptionalOrgType<ClerkPaginationParams>;
328
+ type CancelSubscriptionParams = WithOptionalOrgType<unknown>;
329
+ interface CommerceSubscriptionResource extends ClerkResource {
340
330
  id: string;
341
331
  paymentSourceId: string;
342
- plan: __experimental_CommercePlanResource;
343
- planPeriod: __experimental_CommerceSubscriptionPlanPeriod;
344
- status: __experimental_CommerceSubscriptionStatus;
332
+ plan: CommercePlanResource;
333
+ planPeriod: CommerceSubscriptionPlanPeriod;
334
+ status: CommerceSubscriptionStatus;
345
335
  periodStart: number;
346
336
  periodEnd: number;
347
337
  canceledAt: number | null;
348
- cancel: (params: __experimental_CancelSubscriptionParams) => Promise<DeletedObjectResource>;
338
+ cancel: (params: CancelSubscriptionParams) => Promise<DeletedObjectResource>;
349
339
  }
350
- interface __experimental_CommerceMoney {
340
+ interface CommerceMoney {
351
341
  amount: number;
352
342
  amountFormatted: string;
353
343
  currency: string;
354
344
  currencySymbol: string;
355
345
  }
356
- interface __experimental_CommerceCheckoutTotals {
357
- subtotal: __experimental_CommerceMoney;
358
- grandTotal: __experimental_CommerceMoney;
359
- taxTotal: __experimental_CommerceMoney;
360
- totalDueNow: __experimental_CommerceMoney;
361
- proration?: {
362
- credit: __experimental_CommerceMoney;
363
- };
346
+ interface CommerceCheckoutTotals {
347
+ subtotal: CommerceMoney;
348
+ grandTotal: CommerceMoney;
349
+ taxTotal: CommerceMoney;
350
+ totalDueNow: CommerceMoney;
351
+ credit: CommerceMoney;
364
352
  }
365
- interface __experimental_CommerceInvoiceTotals extends Omit<__experimental_CommerceCheckoutTotals, 'totalDueNow'> {
353
+ interface CommerceInvoiceTotals extends Omit<CommerceCheckoutTotals, 'totalDueNow'> {
366
354
  }
367
- type __experimental_CreateCheckoutParams = WithOptionalOrgType<{
355
+ type CreateCheckoutParams = WithOptionalOrgType<{
368
356
  planId: string;
369
- planPeriod: __experimental_CommerceSubscriptionPlanPeriod;
357
+ planPeriod: CommerceSubscriptionPlanPeriod;
370
358
  }>;
371
- type __experimental_ConfirmCheckoutParams = WithOptionalOrgType<{
359
+ type ConfirmCheckoutParams = WithOptionalOrgType<{
372
360
  paymentSourceId?: string;
373
361
  } | {
374
362
  paymentToken?: string;
375
- gateway?: __experimental_PaymentGateway;
363
+ gateway?: PaymentGateway;
364
+ } | {
365
+ gateway?: PaymentGateway;
366
+ useTestCard?: boolean;
376
367
  }>;
377
- interface __experimental_CommerceCheckoutResource extends ClerkResource {
368
+ interface CommerceCheckoutResource extends ClerkResource {
378
369
  id: string;
379
370
  externalClientSecret: string;
380
371
  externalGatewayId: string;
381
372
  invoice_id: string;
382
- paymentSource?: __experimental_CommercePaymentSourceResource;
383
- plan: __experimental_CommercePlanResource;
384
- planPeriod: __experimental_CommerceSubscriptionPlanPeriod;
373
+ paymentSource?: CommercePaymentSourceResource;
374
+ plan: CommercePlanResource;
375
+ planPeriod: CommerceSubscriptionPlanPeriod;
385
376
  status: string;
386
- totals: __experimental_CommerceCheckoutTotals;
387
- subscription?: __experimental_CommerceSubscriptionResource;
388
- confirm: (params: __experimental_ConfirmCheckoutParams) => Promise<__experimental_CommerceCheckoutResource>;
377
+ totals: CommerceCheckoutTotals;
378
+ subscription?: CommerceSubscriptionResource;
379
+ confirm: (params: ConfirmCheckoutParams) => Promise<CommerceCheckoutResource>;
389
380
  isImmediatePlanChange: boolean;
390
381
  }
391
382
 
@@ -1049,10 +1040,9 @@ interface OrganizationSuggestionResource extends ClerkResource {
1049
1040
 
1050
1041
  type PhoneNumberVerificationStrategy = PhoneCodeStrategy;
1051
1042
  type PreparePhoneNumberVerificationParams = {
1052
- strategy: PhoneNumberVerificationStrategy | AlternativePhoneCodeStrategy;
1043
+ strategy: PhoneNumberVerificationStrategy;
1053
1044
  };
1054
1045
  type AttemptPhoneNumberVerificationParams = {
1055
- strategy?: PhoneNumberVerificationStrategy | AlternativePhoneCodeStrategy;
1056
1046
  code: string;
1057
1047
  };
1058
1048
  type SetReservedForSecondFactorParams = {
@@ -1213,7 +1203,7 @@ declare global {
1213
1203
  *
1214
1204
  * The ClerkJS SDK provides some helper [methods](#methods) on the `User` object to help retrieve and update user information and authentication status.
1215
1205
  */
1216
- interface UserResource extends ClerkResource {
1206
+ interface UserResource extends ClerkResource, CommercePaymentSourceMethods {
1217
1207
  id: string;
1218
1208
  externalId: string | null;
1219
1209
  primaryEmailAddressId: string | null;
@@ -1610,7 +1600,7 @@ declare global {
1610
1600
  *
1611
1601
  * @interface
1612
1602
  */
1613
- interface OrganizationResource extends ClerkResource {
1603
+ interface OrganizationResource extends ClerkResource, CommercePaymentSourceMethods {
1614
1604
  id: string;
1615
1605
  name: string;
1616
1606
  slug: string | null;
@@ -1629,7 +1619,7 @@ interface OrganizationResource extends ClerkResource {
1629
1619
  getRoles: (params?: GetRolesParams) => Promise<ClerkPaginatedResponse<RoleResource>>;
1630
1620
  getDomains: (params?: GetDomainsParams) => Promise<ClerkPaginatedResponse<OrganizationDomainResource>>;
1631
1621
  getMembershipRequests: (params?: GetMembershipRequestParams) => Promise<ClerkPaginatedResponse<OrganizationMembershipRequestResource>>;
1632
- __experimental_getSubscriptions: (params?: __experimental_GetSubscriptionsParams) => Promise<ClerkPaginatedResponse<__experimental_CommerceSubscriptionResource>>;
1622
+ getSubscriptions: (params?: GetSubscriptionsParams) => Promise<ClerkPaginatedResponse<CommerceSubscriptionResource>>;
1633
1623
  addMember: (params: AddMemberParams) => Promise<OrganizationMembershipResource>;
1634
1624
  inviteMember: (params: InviteMemberParams) => Promise<OrganizationInvitationResource>;
1635
1625
  inviteMembers: (params: InviteMembersParams) => Promise<OrganizationInvitationResource[]>;
@@ -2063,7 +2053,6 @@ interface UserSettingsResource extends ClerkResource {
2063
2053
  socialProviderStrategies: OAuthStrategy[];
2064
2054
  authenticatableSocialStrategies: OAuthStrategy[];
2065
2055
  web3FirstFactors: Web3Strategy[];
2066
- alternativePhoneCodeFirstFactors: AlternativePhoneCodeStrategy[];
2067
2056
  enabledFirstFactorIdentifiers: Attribute[];
2068
2057
  instanceIsPasswordBased: boolean;
2069
2058
  hasValidAuthFactor: boolean;
@@ -2204,11 +2193,11 @@ type SignInForceRedirectUrl = {
2204
2193
  */
2205
2194
  signInForceRedirectUrl?: string | null;
2206
2195
  };
2207
- type __experimental_CheckoutContinueUrl = {
2196
+ type NewSubscriptionRedirectUrl = {
2208
2197
  /**
2209
2198
  * The URL to navigate to after the user completes the checkout and clicks the "Continue" button.
2210
2199
  */
2211
- __experimental_checkoutContinueUrl?: string | null;
2200
+ newSubscriptionRedirectUrl?: string | null;
2212
2201
  };
2213
2202
 
2214
2203
  /**
@@ -2402,7 +2391,7 @@ type PrepareVerificationParams = {
2402
2391
  strategy: EmailLinkStrategy;
2403
2392
  redirectUrl?: string;
2404
2393
  } | {
2405
- strategy: PhoneCodeStrategy | AlternativePhoneCodeStrategy;
2394
+ strategy: PhoneCodeStrategy;
2406
2395
  } | {
2407
2396
  strategy: Web3Strategy;
2408
2397
  } | {
@@ -2417,7 +2406,7 @@ type PrepareVerificationParams = {
2417
2406
  actionCompleteRedirectUrl?: string;
2418
2407
  };
2419
2408
  type AttemptVerificationParams = {
2420
- strategy: EmailCodeStrategy | PhoneCodeStrategy | AlternativePhoneCodeStrategy;
2409
+ strategy: EmailCodeStrategy | PhoneCodeStrategy;
2421
2410
  code: string;
2422
2411
  } | {
2423
2412
  strategy: Web3Strategy;
@@ -2523,7 +2512,7 @@ interface ImageJSON {
2523
2512
  }
2524
2513
  interface EnvironmentJSON extends ClerkResourceJSON {
2525
2514
  auth_config: AuthConfigJSON;
2526
- commerce_settings: __experimental_CommerceSettingsJSON;
2515
+ commerce_settings: CommerceSettingsJSON;
2527
2516
  display_config: DisplayConfigJSON;
2528
2517
  user_settings: UserSettingsJSON;
2529
2518
  organization_settings: OrganizationSettingsJSON;
@@ -2990,7 +2979,7 @@ interface WaitlistJSON extends ClerkResourceJSON {
2990
2979
  created_at: number;
2991
2980
  updated_at: number;
2992
2981
  }
2993
- interface __experimental_CommerceFeatureJSON extends ClerkResourceJSON {
2982
+ interface CommerceFeatureJSON extends ClerkResourceJSON {
2994
2983
  object: 'commerce_feature';
2995
2984
  id: string;
2996
2985
  name: string;
@@ -2998,7 +2987,7 @@ interface __experimental_CommerceFeatureJSON extends ClerkResourceJSON {
2998
2987
  slug: string;
2999
2988
  avatar_url: string;
3000
2989
  }
3001
- interface __experimental_CommercePlanJSON extends ClerkResourceJSON {
2990
+ interface CommercePlanJSON extends ClerkResourceJSON {
3002
2991
  object: 'commerce_plan';
3003
2992
  id: string;
3004
2993
  name: string;
@@ -3016,85 +3005,81 @@ interface __experimental_CommercePlanJSON extends ClerkResourceJSON {
3016
3005
  publicly_visible: boolean;
3017
3006
  slug: string;
3018
3007
  avatar_url: string;
3019
- features: __experimental_CommerceFeatureJSON[];
3008
+ features: CommerceFeatureJSON[];
3020
3009
  }
3021
- interface __experimental_CommerceProductJSON extends ClerkResourceJSON {
3010
+ interface CommerceProductJSON extends ClerkResourceJSON {
3022
3011
  object: 'commerce_product';
3023
3012
  id: string;
3024
3013
  slug: string;
3025
3014
  currency: string;
3026
3015
  is_default: boolean;
3027
- plans: __experimental_CommercePlanJSON[];
3016
+ plans: CommercePlanJSON[];
3028
3017
  }
3029
- interface __experimental_CommercePaymentSourceJSON extends ClerkResourceJSON {
3018
+ interface CommercePaymentSourceJSON extends ClerkResourceJSON {
3030
3019
  object: 'commerce_payment_source';
3031
3020
  id: string;
3032
3021
  last4: string;
3033
3022
  payment_method: string;
3034
3023
  card_type: string;
3035
3024
  is_default: boolean;
3036
- status: __experimental_CommercePaymentSourceStatus;
3025
+ status: CommercePaymentSourceStatus;
3037
3026
  wallet_type: string | null;
3038
3027
  }
3039
- interface __experimental_CommerceInitializedPaymentSourceJSON extends ClerkResourceJSON {
3028
+ interface CommerceInitializedPaymentSourceJSON extends ClerkResourceJSON {
3040
3029
  object: 'commerce_payment_source_initialize';
3041
3030
  external_client_secret: string;
3042
3031
  external_gateway_id: string;
3043
3032
  }
3044
- interface __experimental_CommerceInvoiceJSON extends ClerkResourceJSON {
3033
+ interface CommerceInvoiceJSON extends ClerkResourceJSON {
3045
3034
  object: 'commerce_invoice';
3046
3035
  id: string;
3047
3036
  paid_on: number;
3048
3037
  payment_due_on: number;
3049
- status: __experimental_CommerceInvoiceStatus;
3050
- totals: __experimental_CommerceInvoiceTotalsJSON;
3038
+ status: CommerceInvoiceStatus;
3039
+ totals: CommerceInvoiceTotalsJSON;
3051
3040
  }
3052
- interface __experimental_CommerceSubscriptionJSON extends ClerkResourceJSON {
3041
+ interface CommerceSubscriptionJSON extends ClerkResourceJSON {
3053
3042
  object: 'commerce_subscription';
3054
3043
  id: string;
3055
3044
  payment_source_id: string;
3056
- plan: __experimental_CommercePlanJSON;
3057
- plan_period: __experimental_CommerceSubscriptionPlanPeriod;
3058
- status: __experimental_CommerceSubscriptionStatus;
3045
+ plan: CommercePlanJSON;
3046
+ plan_period: CommerceSubscriptionPlanPeriod;
3047
+ status: CommerceSubscriptionStatus;
3059
3048
  period_start: number;
3060
3049
  period_end: number;
3061
3050
  canceled_at: number | null;
3062
3051
  }
3063
- interface __experimental_CommerceMoneyJSON {
3052
+ interface CommerceMoneyJSON {
3064
3053
  amount: number;
3065
3054
  amount_formatted: string;
3066
3055
  currency: string;
3067
3056
  currency_symbol: string;
3068
3057
  }
3069
- interface __experimental_CommerceCheckoutTotalsJSON {
3070
- grand_total: __experimental_CommerceMoneyJSON;
3071
- subtotal: __experimental_CommerceMoneyJSON;
3072
- tax_total: __experimental_CommerceMoneyJSON;
3073
- total_due_now: __experimental_CommerceMoneyJSON;
3074
- proration?: {
3075
- days: number;
3076
- rate_per_day: __experimental_CommerceMoneyJSON;
3077
- total_proration: __experimental_CommerceMoneyJSON;
3078
- };
3058
+ interface CommerceCheckoutTotalsJSON {
3059
+ grand_total: CommerceMoneyJSON;
3060
+ subtotal: CommerceMoneyJSON;
3061
+ tax_total: CommerceMoneyJSON;
3062
+ total_due_now: CommerceMoneyJSON;
3063
+ credit: CommerceMoneyJSON;
3079
3064
  }
3080
- interface __experimental_CommerceInvoiceTotalsJSON extends Omit<__experimental_CommerceCheckoutTotalsJSON, 'total_due_now'> {
3065
+ interface CommerceInvoiceTotalsJSON extends Omit<CommerceCheckoutTotalsJSON, 'total_due_now'> {
3081
3066
  }
3082
- interface __experimental_CommerceCheckoutJSON extends ClerkResourceJSON {
3067
+ interface CommerceCheckoutJSON extends ClerkResourceJSON {
3083
3068
  object: 'commerce_checkout';
3084
3069
  id: string;
3085
3070
  external_client_secret: string;
3086
3071
  external_gateway_id: string;
3087
3072
  invoice_id: string;
3088
- payment_source?: __experimental_CommercePaymentSourceJSON;
3089
- plan: __experimental_CommercePlanJSON;
3090
- plan_period: __experimental_CommerceSubscriptionPlanPeriod;
3073
+ payment_source?: CommercePaymentSourceJSON;
3074
+ plan: CommercePlanJSON;
3075
+ plan_period: CommerceSubscriptionPlanPeriod;
3091
3076
  status: string;
3092
- subscription?: __experimental_CommerceSubscriptionJSON;
3093
- totals: __experimental_CommerceCheckoutTotalsJSON;
3077
+ subscription?: CommerceSubscriptionJSON;
3078
+ totals: CommerceCheckoutTotalsJSON;
3094
3079
  is_immediate_plan_change: boolean;
3095
3080
  }
3096
3081
 
3097
- interface __experimental_CommerceSettingsJSON extends ClerkResourceJSON {
3082
+ interface CommerceSettingsJSON extends ClerkResourceJSON {
3098
3083
  billing: {
3099
3084
  enabled: boolean;
3100
3085
  stripe_publishable_key: string;
@@ -3102,14 +3087,14 @@ interface __experimental_CommerceSettingsJSON extends ClerkResourceJSON {
3102
3087
  has_paid_org_plans: boolean;
3103
3088
  };
3104
3089
  }
3105
- interface __experimental_CommerceSettingsResource extends ClerkResource {
3090
+ interface CommerceSettingsResource extends ClerkResource {
3106
3091
  billing: {
3107
3092
  enabled: boolean;
3108
3093
  stripePublishableKey: string;
3109
3094
  hasPaidUserPlans: boolean;
3110
3095
  hasPaidOrgPlans: boolean;
3111
3096
  };
3112
- __internal_toSnapshot: () => __experimental_CommerceSettingsJSONSnapshot;
3097
+ __internal_toSnapshot: () => CommerceSettingsJSONSnapshot;
3113
3098
  }
3114
3099
 
3115
3100
  type SignInJSONSnapshot = Override<Nullable<SignInJSON, 'status' | 'identifier' | 'supported_first_factors' | 'supported_second_factors'>, {
@@ -3179,7 +3164,7 @@ type Web3WalletJSONSnapshot = Override<Web3WalletJSON, {
3179
3164
  verification: VerificationJSONSnapshot | null;
3180
3165
  }>;
3181
3166
  type PublicUserDataJSONSnapshot = PublicUserDataJSON;
3182
- type __experimental_CommerceSettingsJSONSnapshot = __experimental_CommerceSettingsJSON;
3167
+ type CommerceSettingsJSONSnapshot = CommerceSettingsJSON;
3183
3168
 
3184
3169
  type EnterpriseProtocol = 'saml' | 'oauth';
3185
3170
  type EnterpriseProvider = SamlIdpSlug | `oauth_${OAuthProvider}`;
@@ -3334,18 +3319,18 @@ type ElementsConfig = {
3334
3319
  footerPagesLink: WithOptions<'help' | 'terms' | 'privacy'>;
3335
3320
  socialButtonsRoot: WithOptions;
3336
3321
  socialButtons: WithOptions;
3337
- socialButtonsIconButton: WithOptions<OAuthProvider | Web3Provider | AlternativePhoneCodeProvider, LoadingState>;
3338
- socialButtonsBlockButton: WithOptions<OAuthProvider | Web3Provider | AlternativePhoneCodeProvider, LoadingState>;
3339
- socialButtonsBlockButtonText: WithOptions<OAuthProvider | Web3Provider | AlternativePhoneCodeProvider>;
3340
- socialButtonsProviderIcon: WithOptions<OAuthProvider | Web3Provider | AlternativePhoneCodeProvider, LoadingState>;
3341
- socialButtonsProviderInitialIcon: WithOptions<OAuthProvider | Web3Provider | AlternativePhoneCodeProvider, LoadingState>;
3322
+ socialButtonsIconButton: WithOptions<OAuthProvider | Web3Provider, LoadingState>;
3323
+ socialButtonsBlockButton: WithOptions<OAuthProvider | Web3Provider, LoadingState>;
3324
+ socialButtonsBlockButtonText: WithOptions<OAuthProvider | Web3Provider>;
3325
+ socialButtonsProviderIcon: WithOptions<OAuthProvider | Web3Provider, LoadingState>;
3326
+ socialButtonsProviderInitialIcon: WithOptions<OAuthProvider | Web3Provider, LoadingState>;
3342
3327
  enterpriseButtonsProviderIcon: WithOptions<EnterpriseProvider, LoadingState>;
3343
- providerIcon: WithOptions<OAuthProvider | Web3Provider | AlternativePhoneCodeProvider | SamlIdpSlug, LoadingState>;
3344
- providerInitialIcon: WithOptions<OAuthProvider | Web3Provider | AlternativePhoneCodeProvider | SamlIdpSlug, LoadingState>;
3328
+ providerIcon: WithOptions<OAuthProvider | Web3Provider | SamlIdpSlug, LoadingState>;
3329
+ providerInitialIcon: WithOptions<OAuthProvider | Web3Provider | SamlIdpSlug, LoadingState>;
3345
3330
  alternativeMethods: WithOptions;
3346
- alternativeMethodsBlockButton: WithOptions<OAuthProvider | Web3Provider | AlternativePhoneCodeProvider, LoadingState>;
3347
- alternativeMethodsBlockButtonText: WithOptions<OAuthProvider | Web3Provider | AlternativePhoneCodeProvider>;
3348
- alternativeMethodsBlockButtonArrow: WithOptions<OAuthProvider | Web3Provider | AlternativePhoneCodeProvider>;
3331
+ alternativeMethodsBlockButton: WithOptions<OAuthProvider | Web3Provider, LoadingState>;
3332
+ alternativeMethodsBlockButtonText: WithOptions<OAuthProvider | Web3Provider>;
3333
+ alternativeMethodsBlockButtonArrow: WithOptions<OAuthProvider | Web3Provider>;
3349
3334
  checkoutFormLineItemsRoot: WithOptions;
3350
3335
  checkoutFormElementsRoot: WithOptions;
3351
3336
  checkoutSuccessRoot: WithOptions;
@@ -3414,6 +3399,10 @@ type ElementsConfig = {
3414
3399
  formInputGroup: WithOptions<never, ControlState>;
3415
3400
  segmentedControlRoot: WithOptions;
3416
3401
  segmentedControlButton: WithOptions;
3402
+ switchRoot: WithOptions;
3403
+ switchIndicator: WithOptions;
3404
+ switchThumb: WithOptions;
3405
+ switchLabel: WithOptions;
3417
3406
  avatarBox: WithOptions;
3418
3407
  avatarImage: WithOptions;
3419
3408
  avatarImageActions: WithOptions;
@@ -3485,26 +3474,24 @@ type ElementsConfig = {
3485
3474
  pricingTable: WithOptions;
3486
3475
  pricingTableCard: WithOptions<string>;
3487
3476
  pricingTableCardHeader: WithOptions;
3488
- pricingTableCardBadgeTitleContainer: WithOptions;
3489
- pricingTableCardAvatar: WithOptions;
3490
- pricingTableCardBadgeContainer: WithOptions;
3491
- pricingTableCardBadge: WithOptions;
3477
+ pricingTableCardTitleContainer: WithOptions;
3492
3478
  pricingTableCardTitle: WithOptions;
3493
3479
  pricingTableCardDescription: WithOptions;
3480
+ pricingTableCardFeeContainer: WithOptions;
3481
+ pricingTableCardFee: WithOptions;
3482
+ pricingTableCardFeePeriod: WithOptions;
3483
+ pricingTableCardPeriodToggle: WithOptions;
3484
+ pricingTableCardFeePeriodNotice: WithOptions;
3485
+ pricingTableCardBody: WithOptions;
3494
3486
  pricingTableCardFeatures: WithOptions;
3495
3487
  pricingTableCardFeaturesList: WithOptions<string>;
3496
3488
  pricingTableCardFeaturesListItem: WithOptions<string>;
3497
3489
  pricingTableCardFeaturesListItemContent: WithOptions;
3498
3490
  pricingTableCardFeaturesListItemTitle: WithOptions;
3499
- pricingTableCardFeaturesListItemDescription: WithOptions;
3491
+ pricingTableCardStatusRow: WithOptions;
3492
+ pricingTableCardStatus: WithOptions;
3500
3493
  pricingTableCardAction: WithOptions;
3501
- pricingTableCardPeriodToggle: WithOptions;
3502
- pricingTableCardFeeContainer: WithOptions;
3503
- pricingTableCardFee: WithOptions;
3504
- pricingTableCardFeePeriod: WithOptions;
3505
- pricingTableCardFeePeriodNotice: WithOptions;
3506
- pricingTableCardFeePeriodNoticeInner: WithOptions;
3507
- pricingTableCardFeePeriodNoticeLabel: WithOptions;
3494
+ pricingTableCardActionButton: WithOptions;
3508
3495
  pricingTableMatrix: WithOptions;
3509
3496
  pricingTableMatrixTable: WithOptions;
3510
3497
  pricingTableMatrixRowGroup: WithOptions;
@@ -3631,6 +3618,9 @@ type ElementsConfig = {
3631
3618
  impersonationFabIconContainer: WithOptions;
3632
3619
  impersonationFabTitle: WithOptions;
3633
3620
  impersonationFabActionLink: WithOptions;
3621
+ tooltip: WithOptions;
3622
+ tooltipContent: WithOptions;
3623
+ tooltipText: WithOptions;
3634
3624
  invitationsSentIconBox: WithOptions;
3635
3625
  invitationsSentIcon: WithOptions;
3636
3626
  qrCodeRow: WithOptions;
@@ -4101,6 +4091,7 @@ type _LocalizationResource = {
4101
4091
  badge__you: LocalizationValue;
4102
4092
  badge__currentPlan: LocalizationValue;
4103
4093
  badge__upcomingPlan: LocalizationValue;
4094
+ badge__activePlan: LocalizationValue;
4104
4095
  badge__startsAt: LocalizationValue;
4105
4096
  badge__endsAt: LocalizationValue;
4106
4097
  badge__expired: LocalizationValue;
@@ -4116,7 +4107,7 @@ type _LocalizationResource = {
4116
4107
  membershipRole__admin: LocalizationValue;
4117
4108
  membershipRole__basicMember: LocalizationValue;
4118
4109
  membershipRole__guestMember: LocalizationValue;
4119
- __experimental_commerce: {
4110
+ commerce: {
4120
4111
  month: LocalizationValue;
4121
4112
  free: LocalizationValue;
4122
4113
  getStarted: LocalizationValue;
@@ -4125,9 +4116,12 @@ type _LocalizationResource = {
4125
4116
  cancelSubscription: LocalizationValue;
4126
4117
  keepSubscription: LocalizationValue;
4127
4118
  reSubscribe: LocalizationValue;
4119
+ subscribe: LocalizationValue;
4128
4120
  switchPlan: LocalizationValue;
4129
4121
  switchToAnnual: LocalizationValue;
4130
4122
  billedAnnually: LocalizationValue;
4123
+ billedMonthlyOnly: LocalizationValue;
4124
+ alwaysFree: LocalizationValue;
4131
4125
  accountFunds: LocalizationValue;
4132
4126
  defaultFreePlanActive: LocalizationValue;
4133
4127
  viewFeatures: LocalizationValue;
@@ -4148,6 +4142,7 @@ type _LocalizationResource = {
4148
4142
  title: LocalizationValue;
4149
4143
  subtitle: LocalizationValue;
4150
4144
  };
4145
+ downgradeNotice: LocalizationValue;
4151
4146
  };
4152
4147
  };
4153
4148
  signUp: {
@@ -4697,13 +4692,16 @@ type _LocalizationResource = {
4697
4692
  actionDescription: LocalizationValue;
4698
4693
  confirm: LocalizationValue;
4699
4694
  };
4700
- __experimental_billingPage: {
4695
+ billingPage: {
4701
4696
  title: LocalizationValue;
4702
4697
  start: {
4703
4698
  headerTitle__plans: LocalizationValue;
4704
4699
  headerTitle__subscriptions: LocalizationValue;
4705
4700
  headerTitle__invoices: LocalizationValue;
4706
- headerTitle__paymentMethods: LocalizationValue;
4701
+ };
4702
+ subscriptionsListSection: {
4703
+ title: LocalizationValue;
4704
+ actionLabel__switchPlan: LocalizationValue;
4707
4705
  };
4708
4706
  paymentSourcesSection: {
4709
4707
  title: LocalizationValue;
@@ -4720,6 +4718,7 @@ type _LocalizationResource = {
4720
4718
  messageLine2: LocalizationValue;
4721
4719
  successMessage: LocalizationValue;
4722
4720
  };
4721
+ payWithTestCardButton: LocalizationValue;
4723
4722
  };
4724
4723
  subscriptionsSection: {
4725
4724
  actionLabel__default: LocalizationValue;
@@ -4887,6 +4886,41 @@ type _LocalizationResource = {
4887
4886
  };
4888
4887
  };
4889
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
+ };
4890
4924
  };
4891
4925
  createOrganization: {
4892
4926
  title: LocalizationValue;
@@ -5181,8 +5215,8 @@ interface Clerk {
5181
5215
  organization: OrganizationResource | null | undefined;
5182
5216
  /** Current User. */
5183
5217
  user: UserResource | null | undefined;
5184
- /** Commerce Object */
5185
- __experimental_commerce: __experimental_CommerceNamespace;
5218
+ /** Billing Object */
5219
+ billing: CommerceBillingNamespace;
5186
5220
  telemetry: TelemetryCollector | undefined;
5187
5221
  __internal_country?: string | null;
5188
5222
  /**
@@ -5205,7 +5239,7 @@ interface Clerk {
5205
5239
  * Opens the Clerk Checkout component in a drawer.
5206
5240
  * @param props Optional checkout configuration parameters.
5207
5241
  */
5208
- __internal_openCheckout: (props?: __experimental_CheckoutProps) => void;
5242
+ __internal_openCheckout: (props?: __internal_CheckoutProps) => void;
5209
5243
  /**
5210
5244
  * Closes the Clerk Checkout drawer.
5211
5245
  */
@@ -5214,7 +5248,7 @@ interface Clerk {
5214
5248
  * Opens the Clerk PlanDetails drawer component in a drawer.
5215
5249
  * @param props Optional subscription details drawer configuration parameters.
5216
5250
  */
5217
- __internal_openPlanDetails: (props?: __experimental_PlanDetailsProps) => void;
5251
+ __internal_openPlanDetails: (props?: __internal_PlanDetailsProps) => void;
5218
5252
  /**
5219
5253
  * Closes the Clerk PlanDetails drawer.
5220
5254
  */
@@ -5405,14 +5439,14 @@ interface Clerk {
5405
5439
  * @param targetNode Target node to mount the PricingTable component.
5406
5440
  * @param props configuration parameters.
5407
5441
  */
5408
- __experimental_mountPricingTable: (targetNode: HTMLDivElement, props?: __experimental_PricingTableProps) => void;
5442
+ mountPricingTable: (targetNode: HTMLDivElement, props?: PricingTableProps) => void;
5409
5443
  /**
5410
5444
  * Unmount a pricing table component from the target element.
5411
5445
  * If there is no component mounted at the target node, results in a noop.
5412
5446
  *
5413
5447
  * @param targetNode Target node to unmount the PricingTable component from.
5414
5448
  */
5415
- __experimental_unmountPricingTable: (targetNode: HTMLDivElement) => void;
5449
+ unmountPricingTable: (targetNode: HTMLDivElement) => void;
5416
5450
  /**
5417
5451
  * Register a listener that triggers a callback each time important Clerk resources are changed.
5418
5452
  * Allows to hook up at different steps in the sign up, sign in processes.
@@ -5510,9 +5544,9 @@ interface Clerk {
5510
5544
  */
5511
5545
  buildAfterSignOutUrl(): string;
5512
5546
  /**
5513
- * Returns the configured checkoutContinueUrl of the instance.
5547
+ * Returns the configured newSubscriptionRedirectUrl of the instance.
5514
5548
  */
5515
- __experimental_buildCheckoutContinueUrl(): string;
5549
+ buildNewSubscriptionRedirectUrl(): string;
5516
5550
  /**
5517
5551
  * Returns the configured afterMultiSessionSingleSignOutUrl of the instance.
5518
5552
  */
@@ -5707,7 +5741,7 @@ type ClerkOptionsNavigation = {
5707
5741
  routerReplace: RouterFn;
5708
5742
  routerDebug?: boolean;
5709
5743
  };
5710
- type ClerkOptions = PendingSessionOptions & ClerkOptionsNavigation & SignInForceRedirectUrl & SignInFallbackRedirectUrl & SignUpForceRedirectUrl & SignUpFallbackRedirectUrl & __experimental_CheckoutContinueUrl & LegacyRedirectProps & AfterSignOutUrl & AfterMultiSessionSingleSignOutUrl & {
5744
+ type ClerkOptions = PendingSessionOptions & ClerkOptionsNavigation & SignInForceRedirectUrl & SignInFallbackRedirectUrl & SignUpForceRedirectUrl & SignUpFallbackRedirectUrl & NewSubscriptionRedirectUrl & LegacyRedirectProps & AfterSignOutUrl & AfterMultiSessionSingleSignOutUrl & {
5711
5745
  /**
5712
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.
5713
5747
  */
@@ -6360,23 +6394,23 @@ type WaitlistProps = {
6360
6394
  signInUrl?: string;
6361
6395
  };
6362
6396
  type WaitlistModalProps = WaitlistProps;
6363
- type __experimental_PricingTableDefaultProps = {
6397
+ type PricingTableDefaultProps = {
6364
6398
  ctaPosition?: 'top' | 'bottom';
6365
6399
  collapseFeatures?: boolean;
6366
- __experimental_checkoutContinueUrl?: string;
6400
+ newSubscriptionRedirectUrl?: string;
6367
6401
  };
6368
- type __experimental_PricingTableBaseProps = {
6402
+ type PricingTableBaseProps = {
6369
6403
  forOrganizations?: boolean;
6370
6404
  appearance?: PricingTableTheme;
6371
- checkoutProps?: Pick<__experimental_CheckoutProps, 'appearance'>;
6405
+ __internal_CheckoutProps?: Pick<__internal_CheckoutProps, 'appearance'>;
6372
6406
  };
6373
6407
  type PortalRoot = HTMLElement | null | undefined;
6374
- type __experimental_PricingTableProps = __experimental_PricingTableBaseProps & __experimental_PricingTableDefaultProps;
6375
- type __experimental_CheckoutProps = {
6408
+ type PricingTableProps = PricingTableBaseProps & PricingTableDefaultProps;
6409
+ type __internal_CheckoutProps = {
6376
6410
  appearance?: CheckoutTheme;
6377
6411
  planId?: string;
6378
- planPeriod?: __experimental_CommerceSubscriptionPlanPeriod;
6379
- subscriberType?: __experimental_CommerceSubscriberType;
6412
+ planPeriod?: CommerceSubscriptionPlanPeriod;
6413
+ subscriberType?: CommerceSubscriberType;
6380
6414
  onSubscriptionComplete?: () => void;
6381
6415
  portalId?: string;
6382
6416
  portalRoot?: PortalRoot;
@@ -6384,13 +6418,13 @@ type __experimental_CheckoutProps = {
6384
6418
  * Full URL or path to navigate to after checkout is complete and the user clicks the "Continue" button.
6385
6419
  * @default undefined
6386
6420
  */
6387
- __experimental_checkoutContinueUrl?: string;
6421
+ newSubscriptionRedirectUrl?: string;
6388
6422
  };
6389
- type __experimental_PlanDetailsProps = {
6423
+ type __internal_PlanDetailsProps = {
6390
6424
  appearance?: PlanDetailTheme;
6391
- plan?: __experimental_CommercePlanResource;
6392
- subscriberType?: __experimental_CommerceSubscriberType;
6393
- planPeriod?: __experimental_CommerceSubscriptionPlanPeriod;
6425
+ plan?: CommercePlanResource;
6426
+ subscriberType?: CommerceSubscriberType;
6427
+ planPeriod?: CommerceSubscriptionPlanPeriod;
6394
6428
  onSubscriptionCancel?: () => void;
6395
6429
  portalId?: string;
6396
6430
  portalRoot?: PortalRoot;
@@ -6498,7 +6532,7 @@ interface EnvironmentResource extends ClerkResource {
6498
6532
  organizationSettings: OrganizationSettingsResource;
6499
6533
  authConfig: AuthConfigResource;
6500
6534
  displayConfig: DisplayConfigResource;
6501
- __experimental_commerceSettings: __experimental_CommerceSettingsResource;
6535
+ commerceSettings: CommerceSettingsResource;
6502
6536
  isSingleSession: () => boolean;
6503
6537
  isProduction: () => boolean;
6504
6538
  isDevelopmentOrStaging: () => boolean;
@@ -6848,4 +6882,4 @@ type SharedSignedInAuthObjectProperties = {
6848
6882
  factorVerificationAge: [firstFactorAge: number, secondFactorAge: number] | null;
6849
6883
  };
6850
6884
 
6851
- export { type ActClaim, type ActJWTClaim, type Actions, type ActiveSessionResource, type AddMemberParams, type AfterMultiSessionSingleSignOutUrl, type AfterSignOutUrl, type AlertId, type AlphaColorScale, type AlternativePhoneCodeProvider, type AlternativePhoneCodeProviderData, type AlternativePhoneCodeStrategy, 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 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 ComplexityErrors, type CreateBulkOrganizationInvitationParams, type CreateEmailAddressParams, type CreateEmailLinkFlowReturn, type CreateEnterpriseSSOLinkFlowReturn, type CreateExternalAccountParams, type CreateOrganizationInvitationParams, type CreateOrganizationModalProps, type CreateOrganizationParams, type CreateOrganizationProps, type CreateOrganizationTheme, type CreatePhoneNumberParams, type CreateWeb3WalletParams, type CredentialReturn, type CssColorOrAlphaScale, type CssColorOrScale, type CustomMenuItem, type CustomNavigation, type CustomOAuthStrategy, type CustomOauthProvider, type CustomPage, type DeepCamelToSnake, type DeepPartial, type DeepRequired, type DeepSnakeToCamel, type DeletedObjectJSON, type DeletedObjectResource, type DiscordOauthProvider, type DisplayConfigJSON, type DisplayConfigJSONSnapshot, type DisplayConfigResource, type DisplayThemeJSON, type DomainOrProxyUrl, type DropboxOauthProvider, type ElementObjectKey, type ElementState, type Elements, type ElementsConfig, type EmUnit, type EmailAddressIdentifier, type EmailAddressJSON, type EmailAddressJSONSnapshot, type EmailAddressOrPhoneNumberIdentifier, type EmailAddressResource, type EmailCodeAttempt, type EmailCodeConfig, type EmailCodeFactor, type EmailCodeStrategy, type EmailLinkConfig, type EmailLinkFactor, type EmailLinkStrategy, type EnstallOauthProvider, type EnterpriseAccountConnectionJSON, type EnterpriseAccountConnectionJSONSnapshot, type EnterpriseAccountConnectionResource, type EnterpriseAccountJSON, type EnterpriseAccountJSONSnapshot, type EnterpriseAccountResource, type EnterpriseProtocol, type EnterpriseProvider, type EnterpriseSSOConfig, type EnterpriseSSOFactor, type EnterpriseSSOSettings, type EnterpriseSSOStrategy, type EnvironmentJSON, type EnvironmentJSONSnapshot, type EnvironmentResource, type ExternalAccountJSON, type ExternalAccountJSONSnapshot, type ExternalAccountResource, type FacebookOauthProvider, type FieldId, type FirstNameAttribute, type FontFamily, type FontWeight, type GenerateSignature, type GenerateSignatureParams, type GetDomainsParams, type GetInvitationsParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetRolesParams, 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 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 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 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 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 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 WhatsAppProvider, type Without, type WithoutRouting, type XOauthProvider, type XeroOauthProvider, type ZxcvbnResult, type __experimental_AddPaymentSourceParams, type __experimental_CancelSubscriptionParams, type __experimental_CheckoutContinueUrl, type __experimental_CheckoutProps, type __experimental_CommerceBillingNamespace, type __experimental_CommerceCheckoutJSON, type __experimental_CommerceCheckoutResource, type __experimental_CommerceCheckoutTotals, type __experimental_CommerceCheckoutTotalsJSON, type __experimental_CommerceFeatureJSON, type __experimental_CommerceFeatureResource, type __experimental_CommerceInitializedPaymentSourceJSON, type __experimental_CommerceInitializedPaymentSourceResource, type __experimental_CommerceInvoiceJSON, type __experimental_CommerceInvoiceResource, type __experimental_CommerceInvoiceStatus, type __experimental_CommerceInvoiceTotals, type __experimental_CommerceInvoiceTotalsJSON, type __experimental_CommerceMoney, type __experimental_CommerceMoneyJSON, type __experimental_CommerceNamespace, type __experimental_CommercePaymentSourceJSON, type __experimental_CommercePaymentSourceResource, type __experimental_CommercePaymentSourceStatus, type __experimental_CommercePlanJSON, type __experimental_CommercePlanResource, type __experimental_CommerceProductJSON, type __experimental_CommerceProductResource, type __experimental_CommerceSettingsJSON, type __experimental_CommerceSettingsJSONSnapshot, type __experimental_CommerceSettingsResource, type __experimental_CommerceSubscriberType, type __experimental_CommerceSubscriptionJSON, type __experimental_CommerceSubscriptionPlanPeriod, type __experimental_CommerceSubscriptionResource, type __experimental_CommerceSubscriptionStatus, type __experimental_ConfirmCheckoutParams, type __experimental_CreateCheckoutParams, type __experimental_GetInvoicesParams, type __experimental_GetPaymentSourcesParams, type __experimental_GetPlansParams, type __experimental_GetSubscriptionsParams, type __experimental_InitializePaymentSourceParams, type __experimental_MakeDefaultPaymentSourceParams, type __experimental_PaymentGateway, type __experimental_PlanDetailsProps, type __experimental_PricingTableProps, type __experimental_RemovePaymentSourceParams, type __internal_ComponentNavigationContext, 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 };