@clerk/shared 4.0.0-snapshot.v20251208202852 → 4.0.0-snapshot.v20251215203425
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/runtime/alternativePhoneCode.d.mts +1 -1
- package/dist/runtime/alternativePhoneCode.d.ts +1 -1
- package/dist/runtime/authorization-errors.d.mts +1 -1
- package/dist/runtime/authorization-errors.d.ts +1 -1
- package/dist/runtime/authorization.d.mts +1 -1
- package/dist/runtime/authorization.d.ts +1 -1
- package/dist/runtime/clerkEventBus.d.mts +1 -1
- package/dist/runtime/clerkEventBus.d.ts +1 -1
- package/dist/runtime/color.d.mts +1 -1
- package/dist/runtime/color.d.ts +1 -1
- package/dist/runtime/deriveState.d.mts +1 -1
- package/dist/runtime/deriveState.d.ts +1 -1
- package/dist/runtime/{error-CWA4ukvl.d.mts → error-Btp0PBNP.d.mts} +2 -2
- package/dist/runtime/{error-CWA4ukvl.d.mts.map → error-Btp0PBNP.d.mts.map} +1 -1
- package/dist/runtime/{error-DSsmf214.d.ts → error-FQfTKcEF.d.ts} +2 -2
- package/dist/runtime/{error-DSsmf214.d.ts.map → error-FQfTKcEF.d.ts.map} +1 -1
- package/dist/runtime/error.d.mts +2 -2
- package/dist/runtime/error.d.ts +2 -2
- package/dist/runtime/globs.d.mts.map +1 -1
- package/dist/runtime/globs.d.ts.map +1 -1
- package/dist/runtime/{index-CBjE4nAT.d.mts → index-6lIp5q8s.d.mts} +195 -143
- package/dist/runtime/index-6lIp5q8s.d.mts.map +1 -0
- package/dist/runtime/{index-eJWs3zJx.d.ts → index-TCL_gZUn.d.ts} +195 -143
- package/dist/runtime/index-TCL_gZUn.d.ts.map +1 -0
- package/dist/runtime/internal/clerk-js/completeSignUpFlow.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/completeSignUpFlow.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/componentGuards.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/componentGuards.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/injectedWeb3Providers.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/injectedWeb3Providers.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/organization.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/organization.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/organization.js +1 -1
- package/dist/runtime/internal/clerk-js/organization.js.map +1 -1
- package/dist/runtime/internal/clerk-js/organization.mjs +1 -1
- package/dist/runtime/internal/clerk-js/organization.mjs.map +1 -1
- package/dist/runtime/internal/clerk-js/passkeys.d.mts +2 -2
- package/dist/runtime/internal/clerk-js/passkeys.d.ts +2 -2
- package/dist/runtime/internal/clerk-js/passwords/complexity.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/complexity.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/password.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/password.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/strength.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/strength.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/queryParams.d.mts +2 -2
- package/dist/runtime/internal/clerk-js/queryParams.d.ts +2 -2
- package/dist/runtime/internal/clerk-js/redirectUrls.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/redirectUrls.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/sessionTasks.d.mts +2 -2
- package/dist/runtime/internal/clerk-js/sessionTasks.d.ts +2 -2
- package/dist/runtime/internal/clerk-js/url.d.mts +2 -2
- package/dist/runtime/internal/clerk-js/url.d.ts +2 -2
- package/dist/runtime/internal/clerk-js/user.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/user.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/web3.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/web3.d.ts +1 -1
- package/dist/runtime/jwtPayloadParser.d.mts +1 -1
- package/dist/runtime/jwtPayloadParser.d.ts +1 -1
- package/dist/runtime/keys.d.mts +1 -1
- package/dist/runtime/keys.d.ts +1 -1
- package/dist/runtime/loadClerkJsScript.d.mts +1 -1
- package/dist/runtime/loadClerkJsScript.d.ts +1 -1
- package/dist/runtime/loadClerkJsScript.js +2 -2
- package/dist/runtime/loadClerkJsScript.js.map +1 -1
- package/dist/runtime/loadClerkJsScript.mjs +2 -2
- package/dist/runtime/loadClerkJsScript.mjs.map +1 -1
- package/dist/runtime/oauth.d.mts +1 -1
- package/dist/runtime/oauth.d.ts +1 -1
- package/dist/runtime/{organization-BzYWUtt4.js → organization-BOnxJJGM.js} +5 -6
- package/dist/runtime/organization-BOnxJJGM.js.map +1 -0
- package/dist/runtime/{organization-JwY1zGRo.mjs → organization-CDNOZNzF.mjs} +5 -6
- package/dist/runtime/organization-CDNOZNzF.mjs.map +1 -0
- package/dist/runtime/organization.d.mts +5 -6
- package/dist/runtime/organization.d.mts.map +1 -1
- package/dist/runtime/organization.d.ts +5 -6
- package/dist/runtime/organization.d.ts.map +1 -1
- package/dist/runtime/organization.js +1 -1
- package/dist/runtime/organization.mjs +1 -1
- package/dist/runtime/pathMatcher.d.mts +1 -1
- package/dist/runtime/pathMatcher.d.ts +1 -1
- package/dist/runtime/react/index.d.mts +66 -24
- package/dist/runtime/react/index.d.mts.map +1 -1
- package/dist/runtime/react/index.d.ts +66 -24
- package/dist/runtime/react/index.d.ts.map +1 -1
- package/dist/runtime/react/index.js +91 -6
- package/dist/runtime/react/index.js.map +1 -1
- package/dist/runtime/react/index.mjs +90 -7
- package/dist/runtime/react/index.mjs.map +1 -1
- package/dist/runtime/router.d.mts +1 -1
- package/dist/runtime/router.d.mts.map +1 -1
- package/dist/runtime/router.d.ts +1 -1
- package/dist/runtime/saml.d.mts +1 -1
- package/dist/runtime/saml.d.ts +1 -1
- package/dist/runtime/telemetry.d.mts +1 -1
- package/dist/runtime/telemetry.d.ts +1 -1
- package/dist/runtime/types/index.d.mts +1 -1
- package/dist/runtime/types/index.d.ts +1 -1
- package/dist/runtime/ui/index.d.mts +1 -1
- package/dist/runtime/ui/index.d.ts +1 -1
- package/dist/runtime/{url-CeALciQG.d.ts → url-8kDLvJOc.d.ts} +2 -2
- package/dist/runtime/{url-CeALciQG.d.ts.map → url-8kDLvJOc.d.ts.map} +1 -1
- package/dist/runtime/{url-BQX5m-Ax.d.mts → url-CixoZcz6.d.mts} +2 -2
- package/dist/runtime/{url-BQX5m-Ax.d.mts.map → url-CixoZcz6.d.mts.map} +1 -1
- package/dist/runtime/{versionSelector-BCQasG48.mjs → versionSelector-CxJwijym.mjs} +3 -3
- package/dist/runtime/{versionSelector-BCQasG48.mjs.map → versionSelector-CxJwijym.mjs.map} +1 -1
- package/dist/runtime/{versionSelector-CwoA_vh7.js → versionSelector-Dk9qBo_s.js} +3 -3
- package/dist/runtime/{versionSelector-CwoA_vh7.js.map → versionSelector-Dk9qBo_s.js.map} +1 -1
- package/dist/runtime/versionSelector.js +1 -1
- package/dist/runtime/versionSelector.mjs +1 -1
- package/dist/runtime/web3.d.mts +1 -1
- package/dist/runtime/web3.d.ts +1 -1
- package/dist/types/index.d.mts +194 -142
- package/dist/types/index.d.mts.map +1 -1
- package/dist/types/index.d.ts +194 -142
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/runtime/index-CBjE4nAT.d.mts.map +0 -1
- package/dist/runtime/index-eJWs3zJx.d.ts.map +0 -1
- package/dist/runtime/organization-BzYWUtt4.js.map +0 -1
- package/dist/runtime/organization-JwY1zGRo.mjs.map +0 -1
|
@@ -321,7 +321,7 @@ type ForceNull<T$1> = { [K in keyof T$1]: null };
|
|
|
321
321
|
//#region src/types/billing.d.ts
|
|
322
322
|
type WithOptionalOrgType<T$1> = T$1 & {
|
|
323
323
|
/**
|
|
324
|
-
* The
|
|
324
|
+
* The Organization ID to perform the request on.
|
|
325
325
|
*/
|
|
326
326
|
orgId?: string;
|
|
327
327
|
};
|
|
@@ -389,7 +389,7 @@ type ForPayerType = 'organization' | 'user';
|
|
|
389
389
|
*/
|
|
390
390
|
type BillingSubscriptionStatus = 'active' | 'ended' | 'upcoming' | 'past_due';
|
|
391
391
|
/**
|
|
392
|
-
* The billing period for the
|
|
392
|
+
* The billing period for the Plan.
|
|
393
393
|
*
|
|
394
394
|
* @inline
|
|
395
395
|
*/
|
|
@@ -416,107 +416,107 @@ interface BillingPayerMethods {
|
|
|
416
416
|
*/
|
|
417
417
|
type GetPlansParams = ClerkPaginationParams<{
|
|
418
418
|
/**
|
|
419
|
-
* The type of payer for the
|
|
419
|
+
* The type of payer for the Plans.
|
|
420
420
|
*/
|
|
421
421
|
for?: ForPayerType;
|
|
422
422
|
}>;
|
|
423
423
|
/**
|
|
424
|
-
* The `BillingPlanResource` type represents a
|
|
424
|
+
* The `BillingPlanResource` type represents a Subscription Plan with its details.
|
|
425
425
|
*
|
|
426
426
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
427
427
|
*/
|
|
428
428
|
interface BillingPlanResource extends ClerkResource {
|
|
429
429
|
/**
|
|
430
|
-
* The unique identifier for the
|
|
430
|
+
* The unique identifier for the Plan.
|
|
431
431
|
*/
|
|
432
432
|
id: string;
|
|
433
433
|
/**
|
|
434
|
-
* The name of the
|
|
434
|
+
* The name of the Plan.
|
|
435
435
|
*/
|
|
436
436
|
name: string;
|
|
437
437
|
/**
|
|
438
|
-
* The monthly price of the
|
|
438
|
+
* The monthly price of the Plan.
|
|
439
439
|
*/
|
|
440
440
|
fee: BillingMoneyAmount;
|
|
441
441
|
/**
|
|
442
|
-
* The annual price of the
|
|
442
|
+
* The annual price of the Plan or `null` if the Plan is not annual.
|
|
443
443
|
*/
|
|
444
444
|
annualFee: BillingMoneyAmount | null;
|
|
445
445
|
/**
|
|
446
|
-
* The effective monthly price when billed annually or `null` if the
|
|
446
|
+
* The effective monthly price when billed annually or `null` if the Plan is not annual.
|
|
447
447
|
*/
|
|
448
448
|
annualMonthlyFee: BillingMoneyAmount | null;
|
|
449
449
|
/**
|
|
450
|
-
* A short description of what the
|
|
450
|
+
* A short description of what the Plan offers, or `null` if no description is provided.
|
|
451
451
|
*/
|
|
452
452
|
description: string | null;
|
|
453
453
|
/**
|
|
454
|
-
* Whether the
|
|
454
|
+
* Whether the Plan is the default Plan.
|
|
455
455
|
*/
|
|
456
456
|
isDefault: boolean;
|
|
457
457
|
/**
|
|
458
|
-
* Whether the
|
|
458
|
+
* Whether the Plan is recurring.
|
|
459
459
|
*/
|
|
460
460
|
isRecurring: boolean;
|
|
461
461
|
/**
|
|
462
|
-
* Whether the
|
|
462
|
+
* Whether the Plan has a base fee.
|
|
463
463
|
*/
|
|
464
464
|
hasBaseFee: boolean;
|
|
465
465
|
/**
|
|
466
|
-
* Specifies the subscriber type this
|
|
466
|
+
* Specifies the subscriber type this Plan is designed for.
|
|
467
467
|
*
|
|
468
|
-
* Each
|
|
468
|
+
* Each Plan is exclusively created for either individual users or Organizations, and cannot be used interchangeably.
|
|
469
469
|
*/
|
|
470
470
|
forPayerType: BillingPayerResourceType;
|
|
471
471
|
/**
|
|
472
|
-
* Whether the
|
|
472
|
+
* Whether the Plan is visible to the public.
|
|
473
473
|
*/
|
|
474
474
|
publiclyVisible: boolean;
|
|
475
475
|
/**
|
|
476
|
-
* The URL-friendly identifier of the
|
|
476
|
+
* The URL-friendly identifier of the Plan.
|
|
477
477
|
*/
|
|
478
478
|
slug: string;
|
|
479
479
|
/**
|
|
480
|
-
* The URL of the
|
|
480
|
+
* The URL of the Plan's avatar image, or `null` if not set.
|
|
481
481
|
*/
|
|
482
482
|
avatarUrl: string | null;
|
|
483
483
|
/**
|
|
484
|
-
* The
|
|
484
|
+
* The Features the Plan offers.
|
|
485
485
|
*/
|
|
486
486
|
features: FeatureResource[];
|
|
487
487
|
/**
|
|
488
|
-
* The number of days of the free trial for the
|
|
488
|
+
* The number of days of the free trial for the Plan. `null` if the Plan does not have a free trial.
|
|
489
489
|
*/
|
|
490
490
|
freeTrialDays: number | null;
|
|
491
491
|
/**
|
|
492
|
-
* Whether the
|
|
492
|
+
* Whether the Plan has a free trial.
|
|
493
493
|
*/
|
|
494
494
|
freeTrialEnabled: boolean;
|
|
495
495
|
}
|
|
496
496
|
/**
|
|
497
|
-
* The `FeatureResource` type represents a
|
|
497
|
+
* The `FeatureResource` type represents a Feature of a Plan.
|
|
498
498
|
*
|
|
499
499
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
500
500
|
*/
|
|
501
501
|
interface FeatureResource extends ClerkResource {
|
|
502
502
|
/**
|
|
503
|
-
* The unique identifier for the
|
|
503
|
+
* The unique identifier for the Feature.
|
|
504
504
|
*/
|
|
505
505
|
id: string;
|
|
506
506
|
/**
|
|
507
|
-
* The display name of the
|
|
507
|
+
* The display name of the Feature.
|
|
508
508
|
*/
|
|
509
509
|
name: string;
|
|
510
510
|
/**
|
|
511
|
-
* A short description of what the
|
|
511
|
+
* A short description of what the Feature provides, or `null` if not provided.
|
|
512
512
|
*/
|
|
513
513
|
description: string | null;
|
|
514
514
|
/**
|
|
515
|
-
* A unique, URL-friendly identifier for the
|
|
515
|
+
* A unique, URL-friendly identifier for the Feature.
|
|
516
516
|
*/
|
|
517
517
|
slug: string;
|
|
518
518
|
/**
|
|
519
|
-
* The URL of the
|
|
519
|
+
* The URL of the Feature's avatar image, or `null` if not set.
|
|
520
520
|
*/
|
|
521
521
|
avatarUrl: string | null;
|
|
522
522
|
}
|
|
@@ -623,7 +623,7 @@ interface BillingPaymentMethodResource extends ClerkResource {
|
|
|
623
623
|
/**
|
|
624
624
|
* A function that removes this payment method from the account. Accepts the following parameters:
|
|
625
625
|
* <ul>
|
|
626
|
-
* <li>`orgId?` (`string`): The ID of the
|
|
626
|
+
* <li>`orgId?` (`string`): The ID of the Organization to remove the payment method from.</li>
|
|
627
627
|
* </ul>
|
|
628
628
|
*
|
|
629
629
|
* @param params - The parameters for the remove operation.
|
|
@@ -633,7 +633,7 @@ interface BillingPaymentMethodResource extends ClerkResource {
|
|
|
633
633
|
/**
|
|
634
634
|
* A function that sets this payment method as the default for the account. Accepts the following parameters:
|
|
635
635
|
* <ul>
|
|
636
|
-
* <li>`orgId?` (`string`): The ID of the
|
|
636
|
+
* <li>`orgId?` (`string`): The ID of the Organization to set as the default.</li>
|
|
637
637
|
* </ul>
|
|
638
638
|
*
|
|
639
639
|
* @param params - The parameters for the make default operation.
|
|
@@ -671,7 +671,7 @@ type BillingPaymentChargeType = 'checkout' | 'recurring';
|
|
|
671
671
|
*/
|
|
672
672
|
type BillingPaymentStatus = 'pending' | 'paid' | 'failed';
|
|
673
673
|
/**
|
|
674
|
-
* The `BillingPaymentResource` type represents a payment attempt for a user or
|
|
674
|
+
* The `BillingPaymentResource` type represents a payment attempt for a user or Organization.
|
|
675
675
|
*
|
|
676
676
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
677
677
|
*/
|
|
@@ -728,7 +728,7 @@ type GetStatementsParams = WithOptionalOrgType<ClerkPaginationParams>;
|
|
|
728
728
|
*/
|
|
729
729
|
type BillingStatementStatus = 'open' | 'closed';
|
|
730
730
|
/**
|
|
731
|
-
* The `BillingStatementResource` type represents a billing statement for a user or
|
|
731
|
+
* The `BillingStatementResource` type represents a billing statement for a user or Organization.
|
|
732
732
|
*
|
|
733
733
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
734
734
|
*/
|
|
@@ -790,7 +790,7 @@ interface BillingSubscriptionItemResource extends ClerkResource {
|
|
|
790
790
|
*/
|
|
791
791
|
id: string;
|
|
792
792
|
/**
|
|
793
|
-
* The
|
|
793
|
+
* The Plan associated with the subscription item.
|
|
794
794
|
*/
|
|
795
795
|
plan: BillingPlanResource;
|
|
796
796
|
/**
|
|
@@ -837,7 +837,7 @@ interface BillingSubscriptionItemResource extends ClerkResource {
|
|
|
837
837
|
/**
|
|
838
838
|
* A function to cancel the subscription item. Accepts the following parameters:
|
|
839
839
|
* <ul>
|
|
840
|
-
* <li>`orgId?` (`string`): The ID of the
|
|
840
|
+
* <li>`orgId?` (`string`): The ID of the Organization to cancel the subscription item from.</li>
|
|
841
841
|
* </ul>
|
|
842
842
|
*
|
|
843
843
|
* @param params - The parameters for the cancel operation.
|
|
@@ -931,7 +931,7 @@ interface BillingMoneyAmount {
|
|
|
931
931
|
*/
|
|
932
932
|
interface BillingCheckoutTotals {
|
|
933
933
|
/**
|
|
934
|
-
* The price of the items or
|
|
934
|
+
* The price of the items or Plan before taxes, credits, or discounts are applied.
|
|
935
935
|
*/
|
|
936
936
|
subtotal: BillingMoneyAmount;
|
|
937
937
|
/**
|
|
@@ -966,7 +966,7 @@ interface BillingCheckoutTotals {
|
|
|
966
966
|
*/
|
|
967
967
|
interface BillingStatementTotals {
|
|
968
968
|
/**
|
|
969
|
-
* The price of the items or
|
|
969
|
+
* The price of the items or Plan before taxes, credits, or discounts are applied.
|
|
970
970
|
*/
|
|
971
971
|
subtotal: BillingMoneyAmount;
|
|
972
972
|
/**
|
|
@@ -985,11 +985,11 @@ interface BillingStatementTotals {
|
|
|
985
985
|
*/
|
|
986
986
|
type CreateCheckoutParams = WithOptionalOrgType<{
|
|
987
987
|
/**
|
|
988
|
-
* The unique identifier for the
|
|
988
|
+
* The unique identifier for the Plan.
|
|
989
989
|
*/
|
|
990
990
|
planId: string;
|
|
991
991
|
/**
|
|
992
|
-
* The billing period for the
|
|
992
|
+
* The billing period for the Plan.
|
|
993
993
|
*/
|
|
994
994
|
planPeriod: BillingSubscriptionPlanPeriod;
|
|
995
995
|
}>;
|
|
@@ -1048,15 +1048,15 @@ interface BillingCheckoutResource extends ClerkResource {
|
|
|
1048
1048
|
*/
|
|
1049
1049
|
paymentMethod?: BillingPaymentMethodResource;
|
|
1050
1050
|
/**
|
|
1051
|
-
* The
|
|
1051
|
+
* The Subscription Plan details for the checkout.
|
|
1052
1052
|
*/
|
|
1053
1053
|
plan: BillingPlanResource;
|
|
1054
1054
|
/**
|
|
1055
|
-
* The billing period for the
|
|
1055
|
+
* The billing period for the Plan.
|
|
1056
1056
|
*/
|
|
1057
1057
|
planPeriod: BillingSubscriptionPlanPeriod;
|
|
1058
1058
|
/**
|
|
1059
|
-
* The start date of the
|
|
1059
|
+
* The start date of the Plan period, represented as a Unix timestamp.
|
|
1060
1060
|
*/
|
|
1061
1061
|
planPeriodStart?: number;
|
|
1062
1062
|
/**
|
|
@@ -1072,7 +1072,7 @@ interface BillingCheckoutResource extends ClerkResource {
|
|
|
1072
1072
|
*/
|
|
1073
1073
|
confirm: (params: ConfirmCheckoutParams) => Promise<BillingCheckoutResource>;
|
|
1074
1074
|
/**
|
|
1075
|
-
* Whether the
|
|
1075
|
+
* Whether the Plan change will take effect immediately after checkout.
|
|
1076
1076
|
*/
|
|
1077
1077
|
isImmediatePlanChange: boolean;
|
|
1078
1078
|
/**
|
|
@@ -1127,11 +1127,11 @@ interface BillingPayerResource extends ClerkResource {
|
|
|
1127
1127
|
*/
|
|
1128
1128
|
lastName?: string | null;
|
|
1129
1129
|
/**
|
|
1130
|
-
* The unique identifier for the
|
|
1130
|
+
* The unique identifier for the Organization that the payer belongs to.
|
|
1131
1131
|
*/
|
|
1132
1132
|
organizationId: string | null;
|
|
1133
1133
|
/**
|
|
1134
|
-
* The name of the
|
|
1134
|
+
* The name of the Organization that the payer belongs to.
|
|
1135
1135
|
*/
|
|
1136
1136
|
organizationName?: string | null;
|
|
1137
1137
|
}
|
|
@@ -2097,7 +2097,7 @@ type Web3WalletIdentifier = 'web3_wallet';
|
|
|
2097
2097
|
type EmailAddressOrPhoneNumberIdentifier = 'email_address_or_phone_number';
|
|
2098
2098
|
//#endregion
|
|
2099
2099
|
//#region src/types/signInCommon.d.ts
|
|
2100
|
-
type SignInStatus = 'needs_identifier' | 'needs_first_factor' | 'needs_second_factor' | 'needs_new_password' | 'complete';
|
|
2100
|
+
type SignInStatus = 'needs_identifier' | 'needs_first_factor' | 'needs_second_factor' | 'needs_client_trust' | 'needs_new_password' | 'complete';
|
|
2101
2101
|
type SignInIdentifier = UsernameIdentifier | EmailAddressIdentifier | PhoneNumberIdentifier | Web3WalletIdentifier;
|
|
2102
2102
|
type SignInFirstFactor = EmailCodeFactor | EmailLinkFactor | PhoneCodeFactor | PasswordFactor | PasskeyFactor | ResetPasswordPhoneCodeFactor | ResetPasswordEmailCodeFactor | Web3SignatureFactor | OauthFactor | EnterpriseSSOFactor;
|
|
2103
2103
|
type SignInSecondFactor = PhoneCodeFactor | TOTPFactor | BackupCodeFactor | EmailCodeFactor | EmailLinkFactor;
|
|
@@ -2850,7 +2850,7 @@ declare global {
|
|
|
2850
2850
|
/**
|
|
2851
2851
|
* If you want to provide custom types for the organizationInvitation.publicMetadata
|
|
2852
2852
|
* object, simply redeclare this rule in the global namespace.
|
|
2853
|
-
* Every
|
|
2853
|
+
* Every OrganizationInvitation object will use the provided type.
|
|
2854
2854
|
*/
|
|
2855
2855
|
interface OrganizationInvitationPublicMetadata {
|
|
2856
2856
|
[k: string]: unknown;
|
|
@@ -2860,7 +2860,7 @@ declare global {
|
|
|
2860
2860
|
}
|
|
2861
2861
|
}
|
|
2862
2862
|
/**
|
|
2863
|
-
* The `OrganizationInvitation` object is the model around an
|
|
2863
|
+
* The `OrganizationInvitation` object is the model around an Organization invitation.
|
|
2864
2864
|
*
|
|
2865
2865
|
* @interface
|
|
2866
2866
|
*/
|
|
@@ -2994,15 +2994,15 @@ interface ClerkJWTClaims {
|
|
|
2994
2994
|
*/
|
|
2995
2995
|
act?: ActClaim;
|
|
2996
2996
|
/**
|
|
2997
|
-
* Active
|
|
2997
|
+
* Active Organization ID.
|
|
2998
2998
|
*/
|
|
2999
2999
|
org_id?: string;
|
|
3000
3000
|
/**
|
|
3001
|
-
* Active
|
|
3001
|
+
* Active Organization Slug.
|
|
3002
3002
|
*/
|
|
3003
3003
|
org_slug?: string;
|
|
3004
3004
|
/**
|
|
3005
|
-
* Active
|
|
3005
|
+
* Active Organization Role.
|
|
3006
3006
|
*/
|
|
3007
3007
|
org_role?: OrganizationCustomRoleKey;
|
|
3008
3008
|
/**
|
|
@@ -3376,19 +3376,19 @@ type WithReverification<T$1> = T$1 & {
|
|
|
3376
3376
|
};
|
|
3377
3377
|
type CheckAuthorizationParamsWithCustomPermissions = WithReverification<{
|
|
3378
3378
|
/**
|
|
3379
|
-
* The [
|
|
3379
|
+
* The [Role](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for.
|
|
3380
3380
|
*/
|
|
3381
3381
|
role: OrganizationCustomRoleKey;
|
|
3382
3382
|
/**
|
|
3383
|
-
* The [
|
|
3383
|
+
* The [Permission](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for.
|
|
3384
3384
|
*/
|
|
3385
3385
|
permission?: never;
|
|
3386
3386
|
/**
|
|
3387
|
-
* The [
|
|
3387
|
+
* The [Feature](https://clerk.com/docs/guides/billing/overview) to check for.
|
|
3388
3388
|
*/
|
|
3389
3389
|
feature?: never;
|
|
3390
3390
|
/**
|
|
3391
|
-
* The [
|
|
3391
|
+
* The [Plan](https://clerk.com/docs/guides/billing/overview) to check for.
|
|
3392
3392
|
*/
|
|
3393
3393
|
plan?: never;
|
|
3394
3394
|
} | {
|
|
@@ -3415,19 +3415,19 @@ type CheckAuthorizationParamsWithCustomPermissions = WithReverification<{
|
|
|
3415
3415
|
type CheckAuthorization = CheckAuthorizationFn<CheckAuthorizationParams>;
|
|
3416
3416
|
type CheckAuthorizationParams = WithReverification<{
|
|
3417
3417
|
/**
|
|
3418
|
-
* The [
|
|
3418
|
+
* The [Role](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for.
|
|
3419
3419
|
*/
|
|
3420
3420
|
role: OrganizationCustomRoleKey;
|
|
3421
3421
|
/**
|
|
3422
|
-
* The [
|
|
3422
|
+
* The [Permission](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for.
|
|
3423
3423
|
*/
|
|
3424
3424
|
permission?: never;
|
|
3425
3425
|
/**
|
|
3426
|
-
* The [
|
|
3426
|
+
* The [Feature](https://clerk.com/docs/guides/billing/overview) to check for.
|
|
3427
3427
|
*/
|
|
3428
3428
|
feature?: never;
|
|
3429
3429
|
/**
|
|
3430
|
-
* The [
|
|
3430
|
+
* The [Plan](https://clerk.com/docs/guides/billing/overview) to check for.
|
|
3431
3431
|
*/
|
|
3432
3432
|
plan?: never;
|
|
3433
3433
|
} | {
|
|
@@ -3453,7 +3453,7 @@ type CheckAuthorizationParams = WithReverification<{
|
|
|
3453
3453
|
}>;
|
|
3454
3454
|
/**
|
|
3455
3455
|
* Type guard for server-side authorization checks using session claims.
|
|
3456
|
-
* System
|
|
3456
|
+
* System Permissions are not allowed since they are not included
|
|
3457
3457
|
* in session claims and cannot be verified on the server side.
|
|
3458
3458
|
*/
|
|
3459
3459
|
type CheckAuthorizationFromSessionClaims = <P extends OrganizationCustomPermissionKey>(isAuthorizedParams: CheckAuthorizationParamsFromSessionClaims<P>) => boolean;
|
|
@@ -3462,19 +3462,19 @@ type CheckAuthorizationFromSessionClaims = <P extends OrganizationCustomPermissi
|
|
|
3462
3462
|
*/
|
|
3463
3463
|
type CheckAuthorizationParamsFromSessionClaims<P$1 extends OrganizationCustomPermissionKey> = WithReverification<{
|
|
3464
3464
|
/**
|
|
3465
|
-
* The [
|
|
3465
|
+
* The [Role](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for.
|
|
3466
3466
|
*/
|
|
3467
3467
|
role: OrganizationCustomRoleKey;
|
|
3468
3468
|
/**
|
|
3469
|
-
* The [
|
|
3469
|
+
* The [Permission](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for.
|
|
3470
3470
|
*/
|
|
3471
3471
|
permission?: never;
|
|
3472
3472
|
/**
|
|
3473
|
-
* The [
|
|
3473
|
+
* The [Feature](https://clerk.com/docs/guides/billing/overview) to check for.
|
|
3474
3474
|
*/
|
|
3475
3475
|
feature?: never;
|
|
3476
3476
|
/**
|
|
3477
|
-
* The [
|
|
3477
|
+
* The [Plan](https://clerk.com/docs/guides/billing/overview) to check for.
|
|
3478
3478
|
*/
|
|
3479
3479
|
plan?: never;
|
|
3480
3480
|
} | {
|
|
@@ -3681,7 +3681,7 @@ declare global {
|
|
|
3681
3681
|
/**
|
|
3682
3682
|
* If you want to provide custom types for the organization.publicMetadata object,
|
|
3683
3683
|
* simply redeclare this rule in the global namespace.
|
|
3684
|
-
* Every
|
|
3684
|
+
* Every Organization object will use the provided type.
|
|
3685
3685
|
*/
|
|
3686
3686
|
interface OrganizationPublicMetadata {
|
|
3687
3687
|
[k: string]: unknown;
|
|
@@ -3689,16 +3689,16 @@ declare global {
|
|
|
3689
3689
|
/**
|
|
3690
3690
|
* If you want to provide custom types for the organization.privateMetadata object,
|
|
3691
3691
|
* simply redeclare this rule in the global namespace.
|
|
3692
|
-
* Every
|
|
3692
|
+
* Every Organization object will use the provided type.
|
|
3693
3693
|
*/
|
|
3694
3694
|
interface OrganizationPrivateMetadata {
|
|
3695
3695
|
[k: string]: unknown;
|
|
3696
3696
|
}
|
|
3697
3697
|
}
|
|
3698
3698
|
/**
|
|
3699
|
-
* The `Organization` object holds information about an
|
|
3699
|
+
* The `Organization` object holds information about an Organization, as well as methods for managing it.
|
|
3700
3700
|
*
|
|
3701
|
-
* To use these methods, you must have the **Organizations** feature [enabled in your app's settings in the Clerk Dashboard](https://clerk.com/docs/guides/organizations/
|
|
3701
|
+
* To use these methods, you must have the **Organizations** feature [enabled in your app's settings in the Clerk Dashboard](https://clerk.com/docs/guides/organizations/configure#enable-organizations).
|
|
3702
3702
|
*
|
|
3703
3703
|
* @interface
|
|
3704
3704
|
*/
|
|
@@ -3791,7 +3791,7 @@ declare global {
|
|
|
3791
3791
|
/**
|
|
3792
3792
|
* If you want to provide custom types for the organizationMembership.publicMetadata
|
|
3793
3793
|
* object, simply redeclare this rule in the global namespace.
|
|
3794
|
-
* Every
|
|
3794
|
+
* Every OrganizationMembership object will use the provided type.
|
|
3795
3795
|
*/
|
|
3796
3796
|
interface OrganizationMembershipPublicMetadata {
|
|
3797
3797
|
[k: string]: unknown;
|
|
@@ -3799,7 +3799,7 @@ declare global {
|
|
|
3799
3799
|
/**
|
|
3800
3800
|
* If you want to provide custom types for the organizationMembership.publicMetadata
|
|
3801
3801
|
* object, simply redeclare this rule in the global namespace.
|
|
3802
|
-
* Every
|
|
3802
|
+
* Every OrganizationMembership object will use the provided type.
|
|
3803
3803
|
*/
|
|
3804
3804
|
interface OrganizationMembershipPrivateMetadata {
|
|
3805
3805
|
[k: string]: unknown;
|
|
@@ -3829,9 +3829,9 @@ interface OrganizationMembershipResource extends ClerkResource {
|
|
|
3829
3829
|
}
|
|
3830
3830
|
type OrganizationCustomPermissionKey = ClerkAuthorization extends Placeholder ? ClerkAuthorization['permission'] extends string ? ClerkAuthorization['permission'] : Base['permission'] : Base['permission'];
|
|
3831
3831
|
/**
|
|
3832
|
-
* `OrganizationCustomRoleKey` is a type that represents the user's
|
|
3832
|
+
* `OrganizationCustomRoleKey` is a type that represents the user's Role in an Organization. It will be string unless the developer has provided their own types through [`ClerkAuthorization`](https://clerk.com/docs/guides/development/override-clerk-types-interfaces#example-custom-roles-and-permissions).
|
|
3833
3833
|
*
|
|
3834
|
-
* Clerk provides the [default
|
|
3834
|
+
* Clerk provides the [default Roles](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions#default-roles) `org:admin` and `org:member`. However, you can create [Custom Roles](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions#custom-roles) as well.
|
|
3835
3835
|
*
|
|
3836
3836
|
* @interface
|
|
3837
3837
|
*/
|
|
@@ -3839,8 +3839,8 @@ type OrganizationCustomRoleKey = ClerkAuthorization extends Placeholder ? ClerkA
|
|
|
3839
3839
|
type OrganizationSystemPermissionPrefix = 'org:sys_';
|
|
3840
3840
|
type OrganizationSystemPermissionKey = `${OrganizationSystemPermissionPrefix}domains:manage` | `${OrganizationSystemPermissionPrefix}profile:manage` | `${OrganizationSystemPermissionPrefix}profile:delete` | `${OrganizationSystemPermissionPrefix}memberships:read` | `${OrganizationSystemPermissionPrefix}memberships:manage` | `${OrganizationSystemPermissionPrefix}domains:read`;
|
|
3841
3841
|
/**
|
|
3842
|
-
* OrganizationPermissionKey is a combination of
|
|
3843
|
-
* System
|
|
3842
|
+
* OrganizationPermissionKey is a combination of System and Custom Permissions.
|
|
3843
|
+
* System Permissions are only accessible from FAPI and client-side operations/utils
|
|
3844
3844
|
*/
|
|
3845
3845
|
type OrganizationPermissionKey = ClerkAuthorization extends Placeholder ? ClerkAuthorization['permission'] extends string ? ClerkAuthorization['permission'] | OrganizationSystemPermissionKey : Autocomplete<OrganizationSystemPermissionKey> : Autocomplete<OrganizationSystemPermissionKey>;
|
|
3846
3846
|
type UpdateOrganizationMembershipParams = {
|
|
@@ -3936,19 +3936,19 @@ type VersionedJwtPayload = {
|
|
|
3936
3936
|
v?: undefined;
|
|
3937
3937
|
/**
|
|
3938
3938
|
*
|
|
3939
|
-
* Active
|
|
3939
|
+
* Active Organization Permissions.
|
|
3940
3940
|
*/
|
|
3941
3941
|
org_permissions?: OrganizationCustomPermissionKey[];
|
|
3942
3942
|
/**
|
|
3943
|
-
* Active
|
|
3943
|
+
* Active Organization ID.
|
|
3944
3944
|
*/
|
|
3945
3945
|
org_id?: string;
|
|
3946
3946
|
/**
|
|
3947
|
-
* Active
|
|
3947
|
+
* Active Organization slug.
|
|
3948
3948
|
*/
|
|
3949
3949
|
org_slug?: string;
|
|
3950
3950
|
/**
|
|
3951
|
-
* Active
|
|
3951
|
+
* Active Organization Role.
|
|
3952
3952
|
*/
|
|
3953
3953
|
org_role?: OrganizationCustomRoleKey;
|
|
3954
3954
|
} | {
|
|
@@ -3967,25 +3967,25 @@ type VersionedJwtPayload = {
|
|
|
3967
3967
|
*/
|
|
3968
3968
|
pla?: string;
|
|
3969
3969
|
/**
|
|
3970
|
-
* Active
|
|
3970
|
+
* Active Organization information.
|
|
3971
3971
|
*
|
|
3972
3972
|
* @experimental This structure is subject to change.
|
|
3973
3973
|
*/
|
|
3974
3974
|
o?: {
|
|
3975
3975
|
/**
|
|
3976
|
-
* Active
|
|
3976
|
+
* Active Organization ID.
|
|
3977
3977
|
*/
|
|
3978
3978
|
id: string;
|
|
3979
3979
|
/**
|
|
3980
|
-
* Active
|
|
3980
|
+
* Active Organization slug.
|
|
3981
3981
|
*/
|
|
3982
3982
|
slg?: string;
|
|
3983
3983
|
/**
|
|
3984
|
-
* Active
|
|
3984
|
+
* Active Organization role.
|
|
3985
3985
|
*/
|
|
3986
3986
|
rol?: OrganizationCustomRoleKey;
|
|
3987
3987
|
/**
|
|
3988
|
-
* Active
|
|
3988
|
+
* Active Organization permissions.
|
|
3989
3989
|
*/
|
|
3990
3990
|
per?: string;
|
|
3991
3991
|
/**
|
|
@@ -5456,7 +5456,7 @@ type __internal_LocalizationResource = {
|
|
|
5456
5456
|
locale: string;
|
|
5457
5457
|
maintenanceMode: LocalizationValue;
|
|
5458
5458
|
/**
|
|
5459
|
-
* Add
|
|
5459
|
+
* Add Role keys and their localized values, e.g. `roles: { 'org:teacher': 'Teacher'}`.
|
|
5460
5460
|
*
|
|
5461
5461
|
* @experimental
|
|
5462
5462
|
*/
|
|
@@ -6690,6 +6690,8 @@ type __internal_LocalizationResource = {
|
|
|
6690
6690
|
};
|
|
6691
6691
|
type WithParamName<T$1> = T$1 & Partial<Record<`${keyof T$1 & string}__${CamelToSnake<Exclude<FieldId, 'role'>>}`, LocalizationValue>>;
|
|
6692
6692
|
type UnstableErrors = WithParamName<{
|
|
6693
|
+
avatar_file_type_invalid: LocalizationValue;
|
|
6694
|
+
avatar_file_size_exceeded: LocalizationValue;
|
|
6693
6695
|
external_account_not_found: LocalizationValue;
|
|
6694
6696
|
identification_deletion_failed: LocalizationValue;
|
|
6695
6697
|
phone_number_exists: LocalizationValue;
|
|
@@ -6716,10 +6718,12 @@ type UnstableErrors = WithParamName<{
|
|
|
6716
6718
|
form_param_type_invalid: LocalizationValue;
|
|
6717
6719
|
form_param_type_invalid__phone_number: LocalizationValue;
|
|
6718
6720
|
form_param_type_invalid__email_address: LocalizationValue;
|
|
6721
|
+
form_email_address_blocked: LocalizationValue;
|
|
6719
6722
|
form_password_length_too_short: LocalizationValue;
|
|
6720
6723
|
form_param_nil: LocalizationValue;
|
|
6721
6724
|
form_code_incorrect: LocalizationValue;
|
|
6722
6725
|
form_password_incorrect: LocalizationValue;
|
|
6726
|
+
form_password_or_identifier_incorrect: LocalizationValue;
|
|
6723
6727
|
form_password_validation_failed: LocalizationValue;
|
|
6724
6728
|
not_allowed_access: LocalizationValue;
|
|
6725
6729
|
form_identifier_exists: LocalizationValue;
|
|
@@ -7481,14 +7485,14 @@ interface Clerk {
|
|
|
7481
7485
|
*/
|
|
7482
7486
|
unmountUserProfile: (targetNode: HTMLDivElement) => void;
|
|
7483
7487
|
/**
|
|
7484
|
-
* Mount an
|
|
7488
|
+
* Mount an Organization profile component at the target element.
|
|
7485
7489
|
*
|
|
7486
7490
|
* @param targetNode - Target to mount the OrganizationProfile component.
|
|
7487
7491
|
* @param props - Configuration parameters.
|
|
7488
7492
|
*/
|
|
7489
7493
|
mountOrganizationProfile: (targetNode: HTMLDivElement, props?: OrganizationProfileProps) => void;
|
|
7490
7494
|
/**
|
|
7491
|
-
* Unmount the
|
|
7495
|
+
* Unmount the Organization profile component from the target node.
|
|
7492
7496
|
*
|
|
7493
7497
|
* @param targetNode - Target node to unmount the OrganizationProfile component from.
|
|
7494
7498
|
*/
|
|
@@ -7507,20 +7511,20 @@ interface Clerk {
|
|
|
7507
7511
|
*/
|
|
7508
7512
|
unmountCreateOrganization: (targetNode: HTMLDivElement) => void;
|
|
7509
7513
|
/**
|
|
7510
|
-
* Mount an
|
|
7514
|
+
* Mount an Organization switcher component at the target element.
|
|
7511
7515
|
*
|
|
7512
7516
|
* @param targetNode - Target to mount the OrganizationSwitcher component.
|
|
7513
7517
|
* @param props - Configuration parameters.
|
|
7514
7518
|
*/
|
|
7515
7519
|
mountOrganizationSwitcher: (targetNode: HTMLDivElement, props?: OrganizationSwitcherProps) => void;
|
|
7516
7520
|
/**
|
|
7517
|
-
* Unmount the
|
|
7521
|
+
* Unmount the Organization switcher component from the target node.*
|
|
7518
7522
|
*
|
|
7519
7523
|
* @param targetNode - Target node to unmount the OrganizationSwitcher component from.
|
|
7520
7524
|
*/
|
|
7521
7525
|
unmountOrganizationSwitcher: (targetNode: HTMLDivElement) => void;
|
|
7522
7526
|
/**
|
|
7523
|
-
* Prefetches the data displayed by an
|
|
7527
|
+
* Prefetches the data displayed by an Organization switcher.
|
|
7524
7528
|
* It can be used when `mountOrganizationSwitcher({ asStandalone: true})`, to avoid unwanted loading states.
|
|
7525
7529
|
*
|
|
7526
7530
|
* @experimental This experimental API is subject to change.
|
|
@@ -7529,14 +7533,14 @@ interface Clerk {
|
|
|
7529
7533
|
*/
|
|
7530
7534
|
__experimental_prefetchOrganizationSwitcher: () => void;
|
|
7531
7535
|
/**
|
|
7532
|
-
* Mount an
|
|
7536
|
+
* Mount an Organization list component at the target element.
|
|
7533
7537
|
*
|
|
7534
7538
|
* @param targetNode - Target to mount the OrganizationList component.
|
|
7535
7539
|
* @param props - Configuration parameters.
|
|
7536
7540
|
*/
|
|
7537
7541
|
mountOrganizationList: (targetNode: HTMLDivElement, props?: OrganizationListProps) => void;
|
|
7538
7542
|
/**
|
|
7539
|
-
* Unmount the
|
|
7543
|
+
* Unmount the Organization list component from the target node.*
|
|
7540
7544
|
*
|
|
7541
7545
|
* @param targetNode - Target node to unmount the OrganizationList component from.
|
|
7542
7546
|
*/
|
|
@@ -7673,7 +7677,7 @@ interface Clerk {
|
|
|
7673
7677
|
*/
|
|
7674
7678
|
__internal_addNavigationListener: (callback: () => void) => UnsubscribeCallback;
|
|
7675
7679
|
/**
|
|
7676
|
-
* Set the active session and
|
|
7680
|
+
* Set the active session and Organization explicitly.
|
|
7677
7681
|
*
|
|
7678
7682
|
* If the session param is `null`, the active session is deleted.
|
|
7679
7683
|
* In a similar fashion, if the organization param is `null`, the current organization is removed as active.
|
|
@@ -7843,11 +7847,11 @@ interface Clerk {
|
|
|
7843
7847
|
*/
|
|
7844
7848
|
authenticateWithGoogleOneTap: (params: AuthenticateWithGoogleOneTapParams) => Promise<SignInResource | SignUpResource>;
|
|
7845
7849
|
/**
|
|
7846
|
-
* Creates an
|
|
7850
|
+
* Creates an Organization, adding the current user as admin.
|
|
7847
7851
|
*/
|
|
7848
7852
|
createOrganization: (params: CreateOrganizationParams) => Promise<OrganizationResource>;
|
|
7849
7853
|
/**
|
|
7850
|
-
* Retrieves a single
|
|
7854
|
+
* Retrieves a single Organization by ID.
|
|
7851
7855
|
*/
|
|
7852
7856
|
getOrganization: (organizationId: string) => Promise<OrganizationResource>;
|
|
7853
7857
|
/**
|
|
@@ -7964,7 +7968,7 @@ type ClerkOptions = ClerkOptionsNavigation & SignInForceRedirectUrl & SignInFall
|
|
|
7964
7968
|
*/
|
|
7965
7969
|
appearance?: any;
|
|
7966
7970
|
/**
|
|
7967
|
-
* Optional object to localize your components. Will only affect [Clerk Components](https://clerk.com/docs/reference/components/overview) and not [Account Portal](https://clerk.com/docs/guides/
|
|
7971
|
+
* Optional object to localize your components. Will only affect [Clerk Components](https://clerk.com/docs/reference/components/overview) and not [Account Portal](https://clerk.com/docs/guides/account-portal/overview) pages.
|
|
7968
7972
|
*/
|
|
7969
7973
|
localization?: LocalizationResource;
|
|
7970
7974
|
polling?: boolean;
|
|
@@ -7977,7 +7981,7 @@ type ClerkOptions = ClerkOptionsNavigation & SignInForceRedirectUrl & SignInFall
|
|
|
7977
7981
|
*/
|
|
7978
7982
|
standardBrowser?: boolean;
|
|
7979
7983
|
/**
|
|
7980
|
-
* Optional support email for display in authentication screens. Will only affect [Clerk Components](https://clerk.com/docs/reference/components/overview) and not [Account Portal](https://clerk.com/docs/guides/
|
|
7984
|
+
* Optional support email for display in authentication screens. Will only affect [Clerk Components](https://clerk.com/docs/reference/components/overview) and not [Account Portal](https://clerk.com/docs/guides/account-portal/overview) pages.
|
|
7981
7985
|
*/
|
|
7982
7986
|
supportEmail?: string;
|
|
7983
7987
|
/**
|
|
@@ -8025,7 +8029,7 @@ type ClerkOptions = ClerkOptionsNavigation & SignInForceRedirectUrl & SignInFall
|
|
|
8025
8029
|
*/
|
|
8026
8030
|
sdkMetadata?: SDKMetadata;
|
|
8027
8031
|
/**
|
|
8028
|
-
* The full URL or path to the waitlist page. If `undefined`, will redirect to the [Account Portal waitlist page](https://clerk.com/docs/guides/
|
|
8032
|
+
* The full URL or path to the waitlist page. If `undefined`, will redirect to the [Account Portal waitlist page](https://clerk.com/docs/guides/account-portal/overview#waitlist).
|
|
8029
8033
|
*/
|
|
8030
8034
|
waitlistUrl?: string;
|
|
8031
8035
|
/**
|
|
@@ -8168,7 +8172,7 @@ type SetActiveParams = {
|
|
|
8168
8172
|
*/
|
|
8169
8173
|
session?: SignedInSessionResource | string | null;
|
|
8170
8174
|
/**
|
|
8171
|
-
* The
|
|
8175
|
+
* The Organization resource or Organization ID/slug (string version) to be set as active in the current session. If `null`, the currently Active Organization is removed as active.
|
|
8172
8176
|
*/
|
|
8173
8177
|
organization?: OrganizationResource | string | null;
|
|
8174
8178
|
/**
|
|
@@ -8176,7 +8180,7 @@ type SetActiveParams = {
|
|
|
8176
8180
|
*/
|
|
8177
8181
|
redirectUrl?: string;
|
|
8178
8182
|
/**
|
|
8179
|
-
* A custom navigation function to be called just before the session and/or
|
|
8183
|
+
* A custom navigation function to be called just before the session and/or Organization is set.
|
|
8180
8184
|
*
|
|
8181
8185
|
* When provided, it takes precedence over the `redirectUrl` parameter for navigation.
|
|
8182
8186
|
*
|
|
@@ -8282,8 +8286,21 @@ interface TransferableOption {
|
|
|
8282
8286
|
*/
|
|
8283
8287
|
transferable?: boolean;
|
|
8284
8288
|
}
|
|
8285
|
-
type SignInModalProps = WithoutRouting<SignInProps
|
|
8289
|
+
type SignInModalProps = WithoutRouting<SignInProps> & {
|
|
8290
|
+
/**
|
|
8291
|
+
* Function that returns the container element where portals should be rendered.
|
|
8292
|
+
* This allows Clerk components to render inside external dialogs/popovers
|
|
8293
|
+
* (e.g., Radix Dialog, React Aria Components) instead of document.body.
|
|
8294
|
+
*/
|
|
8295
|
+
getContainer?: () => HTMLElement | null;
|
|
8296
|
+
};
|
|
8286
8297
|
type __internal_UserVerificationProps = RoutingOptions & {
|
|
8298
|
+
/**
|
|
8299
|
+
* Function that returns the container element where portals should be rendered.
|
|
8300
|
+
* This allows Clerk components to render inside external dialogs/popovers
|
|
8301
|
+
* (e.g., Radix Dialog, React Aria Components) instead of document.body.
|
|
8302
|
+
*/
|
|
8303
|
+
getContainer?: () => HTMLElement | null;
|
|
8287
8304
|
/**
|
|
8288
8305
|
* Non-awaitable callback for when verification is completed successfully
|
|
8289
8306
|
*/
|
|
@@ -8401,7 +8418,14 @@ type SignUpProps = RoutingOptions & {
|
|
|
8401
8418
|
*/
|
|
8402
8419
|
oidcPrompt?: string;
|
|
8403
8420
|
} & SignInFallbackRedirectUrl & SignInForceRedirectUrl & AfterSignOutUrl;
|
|
8404
|
-
type SignUpModalProps = WithoutRouting<SignUpProps
|
|
8421
|
+
type SignUpModalProps = WithoutRouting<SignUpProps> & {
|
|
8422
|
+
/**
|
|
8423
|
+
* Function that returns the container element where portals should be rendered.
|
|
8424
|
+
* This allows Clerk components to render inside external dialogs/popovers
|
|
8425
|
+
* (e.g., Radix Dialog, React Aria Components) instead of document.body.
|
|
8426
|
+
*/
|
|
8427
|
+
getContainer?: () => HTMLElement | null;
|
|
8428
|
+
};
|
|
8405
8429
|
type UserProfileProps = RoutingOptions & {
|
|
8406
8430
|
/**
|
|
8407
8431
|
* Customisation options to fully match the Clerk components to your own brand.
|
|
@@ -8434,10 +8458,17 @@ type UserProfileProps = RoutingOptions & {
|
|
|
8434
8458
|
hide?: boolean;
|
|
8435
8459
|
};
|
|
8436
8460
|
};
|
|
8437
|
-
type UserProfileModalProps = WithoutRouting<UserProfileProps
|
|
8461
|
+
type UserProfileModalProps = WithoutRouting<UserProfileProps> & {
|
|
8462
|
+
/**
|
|
8463
|
+
* Function that returns the container element where portals should be rendered.
|
|
8464
|
+
* This allows Clerk components to render inside external dialogs/popovers
|
|
8465
|
+
* (e.g., Radix Dialog, React Aria Components) instead of document.body.
|
|
8466
|
+
*/
|
|
8467
|
+
getContainer?: () => HTMLElement | null;
|
|
8468
|
+
};
|
|
8438
8469
|
type OrganizationProfileProps = RoutingOptions & {
|
|
8439
8470
|
/**
|
|
8440
|
-
* Full URL or path to navigate to after the user leaves the currently
|
|
8471
|
+
* Full URL or path to navigate to after the user leaves the currently Active Organization.
|
|
8441
8472
|
*
|
|
8442
8473
|
* @default undefined
|
|
8443
8474
|
*/
|
|
@@ -8450,7 +8481,7 @@ type OrganizationProfileProps = RoutingOptions & {
|
|
|
8450
8481
|
appearance?: ClerkAppearanceTheme;
|
|
8451
8482
|
customPages?: CustomPage[];
|
|
8452
8483
|
/**
|
|
8453
|
-
* Specify on which page the
|
|
8484
|
+
* Specify on which page the Organization profile modal will open.
|
|
8454
8485
|
*
|
|
8455
8486
|
* @example __experimental_startPath: '/organization-members'
|
|
8456
8487
|
*
|
|
@@ -8472,16 +8503,23 @@ type OrganizationProfileProps = RoutingOptions & {
|
|
|
8472
8503
|
hide?: boolean;
|
|
8473
8504
|
};
|
|
8474
8505
|
};
|
|
8475
|
-
type OrganizationProfileModalProps = WithoutRouting<OrganizationProfileProps
|
|
8506
|
+
type OrganizationProfileModalProps = WithoutRouting<OrganizationProfileProps> & {
|
|
8507
|
+
/**
|
|
8508
|
+
* Function that returns the container element where portals should be rendered.
|
|
8509
|
+
* This allows Clerk components to render inside external dialogs/popovers
|
|
8510
|
+
* (e.g., Radix Dialog, React Aria Components) instead of document.body.
|
|
8511
|
+
*/
|
|
8512
|
+
getContainer?: () => HTMLElement | null;
|
|
8513
|
+
};
|
|
8476
8514
|
type CreateOrganizationProps = RoutingOptions & {
|
|
8477
8515
|
/**
|
|
8478
|
-
* Full URL or path to navigate to after creating a new
|
|
8516
|
+
* Full URL or path to navigate to after creating a new Organization.
|
|
8479
8517
|
*
|
|
8480
8518
|
* @default undefined
|
|
8481
8519
|
*/
|
|
8482
8520
|
afterCreateOrganizationUrl?: ((organization: OrganizationResource) => string) | LooseExtractedParams<PrimitiveKeys<OrganizationResource>>;
|
|
8483
8521
|
/**
|
|
8484
|
-
* Hides the screen for sending invitations after an
|
|
8522
|
+
* Hides the screen for sending invitations after an Organization is created.
|
|
8485
8523
|
*
|
|
8486
8524
|
* @default undefined When left undefined Clerk will automatically hide the screen if
|
|
8487
8525
|
* the number of max allowed members is equal to 1
|
|
@@ -8494,7 +8532,14 @@ type CreateOrganizationProps = RoutingOptions & {
|
|
|
8494
8532
|
*/
|
|
8495
8533
|
appearance?: ClerkAppearanceTheme;
|
|
8496
8534
|
};
|
|
8497
|
-
type CreateOrganizationModalProps = WithoutRouting<CreateOrganizationProps
|
|
8535
|
+
type CreateOrganizationModalProps = WithoutRouting<CreateOrganizationProps> & {
|
|
8536
|
+
/**
|
|
8537
|
+
* Function that returns the container element where portals should be rendered.
|
|
8538
|
+
* This allows Clerk components to render inside external dialogs/popovers
|
|
8539
|
+
* (e.g., Radix Dialog, React Aria Components) instead of document.body.
|
|
8540
|
+
*/
|
|
8541
|
+
getContainer?: () => HTMLElement | null;
|
|
8542
|
+
};
|
|
8498
8543
|
type UserProfileMode = 'modal' | 'navigation';
|
|
8499
8544
|
type UserButtonProfileMode = {
|
|
8500
8545
|
userProfileUrl?: never;
|
|
@@ -8579,10 +8624,10 @@ type OrganizationSwitcherProps = CreateOrganizationMode & OrganizationProfileMod
|
|
|
8579
8624
|
*/
|
|
8580
8625
|
__experimental_asStandalone?: boolean | ((opened: boolean) => void);
|
|
8581
8626
|
/**
|
|
8582
|
-
* By default, users can switch between
|
|
8627
|
+
* By default, users can switch between Organization and their personal account.
|
|
8583
8628
|
* This option controls whether OrganizationSwitcher will include the user's personal account
|
|
8584
|
-
* in the
|
|
8585
|
-
* and users will only be able to switch between
|
|
8629
|
+
* in the Organization list. Setting this to `false` will hide the personal account entry,
|
|
8630
|
+
* and users will only be able to switch between Organizations.
|
|
8586
8631
|
*
|
|
8587
8632
|
* @default true
|
|
8588
8633
|
*/
|
|
@@ -8594,7 +8639,7 @@ type OrganizationSwitcherProps = CreateOrganizationMode & OrganizationProfileMod
|
|
|
8594
8639
|
*/
|
|
8595
8640
|
afterCreateOrganizationUrl?: ((organization: OrganizationResource) => string) | LooseExtractedParams<PrimitiveKeys<OrganizationResource>>;
|
|
8596
8641
|
/**
|
|
8597
|
-
* Full URL or path to navigate to after a successful
|
|
8642
|
+
* Full URL or path to navigate to after a successful Organization selection.
|
|
8598
8643
|
* Accepts a function that returns URL or path
|
|
8599
8644
|
*
|
|
8600
8645
|
* @default undefined`
|
|
@@ -8608,13 +8653,13 @@ type OrganizationSwitcherProps = CreateOrganizationMode & OrganizationProfileMod
|
|
|
8608
8653
|
*/
|
|
8609
8654
|
afterSelectPersonalUrl?: ((user: UserResource) => string) | LooseExtractedParams<PrimitiveKeys<UserResource>>;
|
|
8610
8655
|
/**
|
|
8611
|
-
* Full URL or path to navigate to after the user leaves the currently
|
|
8656
|
+
* Full URL or path to navigate to after the user leaves the currently Active Organization.
|
|
8612
8657
|
*
|
|
8613
8658
|
* @default undefined
|
|
8614
8659
|
*/
|
|
8615
8660
|
afterLeaveOrganizationUrl?: string;
|
|
8616
8661
|
/**
|
|
8617
|
-
* Hides the screen for sending invitations after an
|
|
8662
|
+
* Hides the screen for sending invitations after an Organization is created.
|
|
8618
8663
|
*
|
|
8619
8664
|
* @default undefined When left undefined Clerk will automatically hide the screen if
|
|
8620
8665
|
* the number of max allowed members is equal to 1
|
|
@@ -8630,13 +8675,13 @@ type OrganizationSwitcherProps = CreateOrganizationMode & OrganizationProfileMod
|
|
|
8630
8675
|
};
|
|
8631
8676
|
type OrganizationListProps = {
|
|
8632
8677
|
/**
|
|
8633
|
-
* Full URL or path to navigate to after creating a new
|
|
8678
|
+
* Full URL or path to navigate to after creating a new Organization.
|
|
8634
8679
|
*
|
|
8635
8680
|
* @default undefined
|
|
8636
8681
|
*/
|
|
8637
8682
|
afterCreateOrganizationUrl?: ((organization: OrganizationResource) => string) | LooseExtractedParams<PrimitiveKeys<OrganizationResource>>;
|
|
8638
8683
|
/**
|
|
8639
|
-
* Full URL or path to navigate to after a successful
|
|
8684
|
+
* Full URL or path to navigate to after a successful Organization selection.
|
|
8640
8685
|
* Accepts a function that returns URL or path
|
|
8641
8686
|
*
|
|
8642
8687
|
* @default undefined`
|
|
@@ -8649,17 +8694,17 @@ type OrganizationListProps = {
|
|
|
8649
8694
|
*/
|
|
8650
8695
|
appearance?: ClerkAppearanceTheme;
|
|
8651
8696
|
/**
|
|
8652
|
-
* Hides the screen for sending invitations after an
|
|
8697
|
+
* Hides the screen for sending invitations after an Organization is created.
|
|
8653
8698
|
*
|
|
8654
8699
|
* @default undefined When left undefined Clerk will automatically hide the screen if
|
|
8655
8700
|
* the number of max allowed members is equal to 1
|
|
8656
8701
|
*/
|
|
8657
8702
|
skipInvitationScreen?: boolean;
|
|
8658
8703
|
/**
|
|
8659
|
-
* By default, users can switch between
|
|
8704
|
+
* By default, users can switch between Organization and their personal account.
|
|
8660
8705
|
* This option controls whether OrganizationList will include the user's personal account
|
|
8661
|
-
* in the
|
|
8662
|
-
* and users will only be able to switch between
|
|
8706
|
+
* in the Organization list. Setting this to `false` will hide the personal account entry,
|
|
8707
|
+
* and users will only be able to switch between Organizations.
|
|
8663
8708
|
*
|
|
8664
8709
|
* @default true
|
|
8665
8710
|
*/
|
|
@@ -8688,7 +8733,14 @@ type WaitlistProps = {
|
|
|
8688
8733
|
*/
|
|
8689
8734
|
signInUrl?: string;
|
|
8690
8735
|
};
|
|
8691
|
-
type WaitlistModalProps = WaitlistProps
|
|
8736
|
+
type WaitlistModalProps = WaitlistProps & {
|
|
8737
|
+
/**
|
|
8738
|
+
* Function that returns the container element where portals should be rendered.
|
|
8739
|
+
* This allows Clerk components to render inside external dialogs/popovers
|
|
8740
|
+
* (e.g., Radix Dialog, React Aria Components) instead of document.body.
|
|
8741
|
+
*/
|
|
8742
|
+
getContainer?: () => HTMLElement | null;
|
|
8743
|
+
};
|
|
8692
8744
|
type PricingTableDefaultProps = {
|
|
8693
8745
|
/**
|
|
8694
8746
|
* The position of the CTA button.
|
|
@@ -8697,7 +8749,7 @@ type PricingTableDefaultProps = {
|
|
|
8697
8749
|
*/
|
|
8698
8750
|
ctaPosition?: 'top' | 'bottom';
|
|
8699
8751
|
/**
|
|
8700
|
-
* Whether to collapse
|
|
8752
|
+
* Whether to collapse Features on the pricing table.
|
|
8701
8753
|
*
|
|
8702
8754
|
* @default false
|
|
8703
8755
|
*/
|
|
@@ -8712,7 +8764,7 @@ type PricingTableDefaultProps = {
|
|
|
8712
8764
|
type PricingTableBaseProps = {
|
|
8713
8765
|
/**
|
|
8714
8766
|
* The subscriber type to display plans for.
|
|
8715
|
-
* If `organization`, show
|
|
8767
|
+
* If `organization`, show Plans for the Active Organization; otherwise for the user.
|
|
8716
8768
|
*
|
|
8717
8769
|
* @default 'user'
|
|
8718
8770
|
*/
|
|
@@ -8809,7 +8861,7 @@ type __internal_PlanDetailsProps = ({
|
|
|
8809
8861
|
plan?: never;
|
|
8810
8862
|
} | {
|
|
8811
8863
|
/**
|
|
8812
|
-
* The
|
|
8864
|
+
* The Plan object will be used as initial data until the Plan is fetched from the server.
|
|
8813
8865
|
*/
|
|
8814
8866
|
plan: BillingPlanResource;
|
|
8815
8867
|
planId?: never;
|
|
@@ -8827,7 +8879,7 @@ type __experimental_PlanDetailsButtonProps = ({
|
|
|
8827
8879
|
plan?: never;
|
|
8828
8880
|
} | {
|
|
8829
8881
|
/**
|
|
8830
|
-
* The
|
|
8882
|
+
* The Plan object will be used as initial data until the Plan is fetched from the server.
|
|
8831
8883
|
*/
|
|
8832
8884
|
plan: BillingPlanResource;
|
|
8833
8885
|
planId?: never;
|
|
@@ -8845,7 +8897,7 @@ type __experimental_PlanDetailsButtonProps = ({
|
|
|
8845
8897
|
type __internal_SubscriptionDetailsProps = {
|
|
8846
8898
|
/**
|
|
8847
8899
|
* The subscriber type to display the subscription details for.
|
|
8848
|
-
* If `organization` is provided, the subscription details will be displayed for the
|
|
8900
|
+
* If `organization` is provided, the subscription details will be displayed for the Active Organization.
|
|
8849
8901
|
*
|
|
8850
8902
|
* @default 'user'
|
|
8851
8903
|
*/
|
|
@@ -8861,7 +8913,7 @@ type __internal_SubscriptionDetailsProps = {
|
|
|
8861
8913
|
type __experimental_SubscriptionDetailsButtonProps = {
|
|
8862
8914
|
/**
|
|
8863
8915
|
* The subscriber type to display the subscription details for.
|
|
8864
|
-
* If `organization` is provided, the subscription details will be displayed for the
|
|
8916
|
+
* If `organization` is provided, the subscription details will be displayed for the Active Organization.
|
|
8865
8917
|
*
|
|
8866
8918
|
* @default 'user'
|
|
8867
8919
|
*/
|
|
@@ -8966,11 +9018,11 @@ type CreateBulkOrganizationInvitationParams = {
|
|
|
8966
9018
|
*/
|
|
8967
9019
|
interface CreateOrganizationParams {
|
|
8968
9020
|
/**
|
|
8969
|
-
* The name of the
|
|
9021
|
+
* The name of the Organization.
|
|
8970
9022
|
*/
|
|
8971
9023
|
name: string;
|
|
8972
9024
|
/**
|
|
8973
|
-
* The slug of the
|
|
9025
|
+
* The slug of the Organization.
|
|
8974
9026
|
*/
|
|
8975
9027
|
slug?: string;
|
|
8976
9028
|
}
|
|
@@ -9162,19 +9214,19 @@ type SharedSignedInAuthObjectProperties = {
|
|
|
9162
9214
|
*/
|
|
9163
9215
|
userId: string;
|
|
9164
9216
|
/**
|
|
9165
|
-
* The ID of the user's
|
|
9217
|
+
* The ID of the user's Active Organization.
|
|
9166
9218
|
*/
|
|
9167
9219
|
orgId: string | undefined;
|
|
9168
9220
|
/**
|
|
9169
|
-
* The current user's
|
|
9221
|
+
* The current user's Role in their Active Organization.
|
|
9170
9222
|
*/
|
|
9171
9223
|
orgRole: OrganizationCustomRoleKey | undefined;
|
|
9172
9224
|
/**
|
|
9173
|
-
* The URL-friendly identifier of the user's
|
|
9225
|
+
* The URL-friendly identifier of the user's Active Organization.
|
|
9174
9226
|
*/
|
|
9175
9227
|
orgSlug: string | undefined;
|
|
9176
9228
|
/**
|
|
9177
|
-
* The current user's
|
|
9229
|
+
* The current user's Organization Permissions.
|
|
9178
9230
|
*/
|
|
9179
9231
|
orgPermissions: OrganizationCustomPermissionKey[] | undefined;
|
|
9180
9232
|
/**
|
|
@@ -9252,19 +9304,19 @@ type UseAuthReturn = {
|
|
|
9252
9304
|
*/
|
|
9253
9305
|
actor: undefined;
|
|
9254
9306
|
/**
|
|
9255
|
-
* The ID of the user's active
|
|
9307
|
+
* The ID of the user's active Organization.
|
|
9256
9308
|
*/
|
|
9257
9309
|
orgId: undefined;
|
|
9258
9310
|
/**
|
|
9259
|
-
* The current user's
|
|
9311
|
+
* The current user's Role in their active Organization.
|
|
9260
9312
|
*/
|
|
9261
9313
|
orgRole: undefined;
|
|
9262
9314
|
/**
|
|
9263
|
-
* The URL-friendly identifier of the user's
|
|
9315
|
+
* The URL-friendly identifier of the user's Active Organization.
|
|
9264
9316
|
*/
|
|
9265
9317
|
orgSlug: undefined;
|
|
9266
9318
|
/**
|
|
9267
|
-
* A function that checks if the user has specific
|
|
9319
|
+
* A function that checks if the user has specific Permissions or Roles. See the [reference doc](https://clerk.com/docs/reference/backend/types/auth-object#has).
|
|
9268
9320
|
*/
|
|
9269
9321
|
has: CheckAuthorizationSignedOut;
|
|
9270
9322
|
/**
|
|
@@ -9395,7 +9447,7 @@ type UseSessionListReturn = {
|
|
|
9395
9447
|
*/
|
|
9396
9448
|
sessions: undefined;
|
|
9397
9449
|
/**
|
|
9398
|
-
* A function that sets the active session and/or
|
|
9450
|
+
* A function that sets the active session and/or Organization. See the [reference doc](https://clerk.com/docs/reference/javascript/clerk#set-active).
|
|
9399
9451
|
*/
|
|
9400
9452
|
setActive: undefined;
|
|
9401
9453
|
} | {
|
|
@@ -9439,24 +9491,24 @@ type PublishableKey = {
|
|
|
9439
9491
|
/**
|
|
9440
9492
|
* Props for the `<Protect />` component, which restricts access to its children based on authentication and authorization.
|
|
9441
9493
|
*
|
|
9442
|
-
* Use `ProtectProps` to specify the required
|
|
9494
|
+
* Use `ProtectProps` to specify the required Role, Permission, Feature, or Plan for access.
|
|
9443
9495
|
*
|
|
9444
9496
|
* @example
|
|
9445
9497
|
* ```tsx
|
|
9446
|
-
* // Require a specific
|
|
9498
|
+
* // Require a specific Permission
|
|
9447
9499
|
* <Protect permission="a_permission_key" />
|
|
9448
9500
|
*
|
|
9449
|
-
* // Require a specific
|
|
9501
|
+
* // Require a specific Role
|
|
9450
9502
|
* <Protect role="a_role_key" />
|
|
9451
9503
|
*
|
|
9452
9504
|
* // Use a custom condition callback
|
|
9453
9505
|
* <Protect condition={(has) => has({ permission: "a_permission_key" })} />
|
|
9454
9506
|
*
|
|
9455
|
-
* // Require a specific
|
|
9507
|
+
* // Require a specific Feature
|
|
9456
9508
|
* <Protect feature="a_feature_key" />
|
|
9457
9509
|
*
|
|
9458
|
-
* // Require a specific
|
|
9459
|
-
* <Protect plan=a_plan_key" />
|
|
9510
|
+
* // Require a specific Plan
|
|
9511
|
+
* <Protect plan="a_plan_key" />
|
|
9460
9512
|
* ```
|
|
9461
9513
|
*/
|
|
9462
9514
|
type ProtectProps = {
|
|
@@ -9599,4 +9651,4 @@ type InitialState = Serializable<{
|
|
|
9599
9651
|
}>;
|
|
9600
9652
|
//#endregion
|
|
9601
9653
|
export { GetAPIKeysParams as $, UpdateUserParams as $a, CreateEmailLinkFlowReturn as $c, InitializePaymentMethodParams as $d, OrganizationMembershipResource as $i, ProtectLoader as $l, SignUpFuturePhoneCodeVerifyParams as $n, EnterpriseAccountJSONSnapshot as $o, SessionVerificationJSON as $r, SignInFactor as $s, __experimental_SubscriptionDetailsButtonProps as $t, LinearOauthProvider as $u, AuthenticateWithGoogleOneTapParams as A, PendingSessionResource as Aa, PhoneCodeConfig as Ac, BillingPaymentStatus as Ad, createClerkGlobalHookError as Af, SignUpAttributeField as Ai, AttributeData as Al, LocalizationResource as An, SessionVerificationLevel as Ao, ExternalAccountJSON as Ar, SignInFutureCreateParams as As, SignOutCallback as At, BaseWeb3Provider as Au, ClerkAuthenticateWithWeb3Params as B, SessionVerifyPrepareSecondFactorParams as Ba, TOTPAttempt as Bc, CancelSubscriptionParams as Bd, SignUpVerificationsResource as Bi, SignUpData as Bl, SelectId as Bn, EnterpriseProvider as Bo, OrganizationMembershipRequestJSON as Br, SignInFutureResetPasswordSubmitParams as Bs, TransferableOption as Bt, CoinbaseOauthProvider as Bu, SharedSignedInAuthObjectProperties as C, CheckAuthorizationFromSessionClaims as Ca, OauthFactor as Cc, BillingPayerMethods as Cd, ClerkPaginationRequest as Cf, HslaColor as Ci, ComplexityErrors as Cl, SignUpFields as Cn, JWT as Co, ClientTrustState as Cr, AttemptWeb3WalletVerificationParams as Cs, SetActiveParams as Ct, PasswordStrategy as Cu, APIKeysProps as D, GetToken as Da, PasswordAttempt as Dc, BillingPaymentMethodResource as Dd, ClerkUiInstance as Df, TransparentColor as Di, ZxcvbnResult as Dl, DomainOrProxyUrl as Dn, ReverificationConfig as Do, EnterpriseAccountConnectionJSON as Dr, PrepareWeb3WalletVerificationParams as Ds, SignInProps as Dt, TOTPStrategy as Du, APIKeysNamespace as E, CheckAuthorizationWithCustomPermissions as Ea, PasskeyFactor as Ec, BillingPaymentChargeType as Ed, ClerkUiConstructor as Ef, RgbaColorString as Ei, ValidatePasswordCallbacks as El, State as En, OrganizationsJWTClaim as Eo, EmailAddressJSON as Er, GenerateSignatureParams as Es, SignInModalProps as Et, ResetPasswordPhoneCodeStrategy as Eu, CheckoutErrors as F, SessionTask as Fa, ResetPasswordEmailCodeFactor as Fc, BillingStatementTotals as Fd, SignUpIdentificationField as Fi, OAuthProviderSettings as Fl, FieldId as Fn, OrganizationInvitationResource as Fo, OrganizationDomainJSON as Fr, SignInFutureMFAPhoneCodeVerifyParams as Fs, SignUpProps as Ft, Web3ProviderData as Fu, ClerkThemeOptions as G, CreatePhoneNumberParams as Ga, CredentialReturn as Gc, CreateCheckoutParams as Gd, ActClaim as Gi, VerificationStrategy as Gl, ClientResource as Gn, APIKeysSettingsResource as Go, PhoneNumberJSON as Gr, SignInFutureWeb3Params as Gs, UserProfileProps as Gt, FacebookOauthProvider as Gu, ClerkOptions as H, SignedInSessionResource as Ha, Web3Attempt as Hc, CheckoutFlowResource as Hd, LastNameAttribute as Hi, UserSettingsJSON as Hl, InstanceType as Hn, SamlIdpMap as Ho, PartialWithClerkResource as Hr, SignInFutureSSOParams as Hs, UserAvatarProps as Ht, DiscordOauthProvider as Hu, CheckoutSignal as I, SessionVerifyAttemptFirstFactorParams as Ia, ResetPasswordEmailCodeFactorConfig as Ic, BillingSubscriptionItemResource as Id, SignUpStatus as Ii, OAuthProviders as Il, MenuId as In, OrganizationInvitationStatus as Io, OrganizationDomainVerificationJSON as Ir, SignInFuturePasskeyParams as Is, SignUpRedirectOptions as It, AppleOauthProvider as Iu, CreateOrganizationInvitationParams as J, GetUserOrganizationInvitationsParams as Ja, PublicKeyCredentialRequestOptionsWithoutExtensions as Jc, GetPaymentAttemptsParams as Jd, JwtPayload as Ji, PhoneCodeProvider as Jl, SignUpFutureCreateParams as Jn, ClientJSONSnapshot as Jo, PublicOrganizationDataJSON as Jr, AuthenticateWithPasskeyParams as Js, WithoutRouting as Jt, GoogleOauthProvider as Ju, CreateAPIKeyParams as K, CreateWeb3WalletParams as Ka, PasskeyResource as Kc, FeatureResource as Kd, Jwt as Ki, PhoneCodeChannel as Kl, SignUpEnterpriseConnectionResource as Kn, APIKeysSettingsJSONSnapshot as Ko, PublicKeyCredentialCreationOptionsJSON as Kr, AttemptFirstFactorParams as Ks, WaitlistModalProps as Kt, GithubOauthProvider as Ku, CheckoutSignalValue as L, SessionVerifyAttemptSecondFactorParams as La, ResetPasswordPhoneCodeAttempt as Lc, BillingSubscriptionPlanPeriod as Ld, SignUpUpdateParams as Li, PasskeySettingsData as Ll, OrganizationPreviewId as Ln, EnterpriseAccountConnectionResource as Lo, OrganizationInvitationJSON as Lr, SignInFuturePasswordParams as Ls, TaskChooseOrganizationProps as Lt, AtlassianOauthProvider as Lu, AuthenticateWithOKXWalletParams as M, SessionActivity as Ma, PhoneCodeSecondFactorConfig as Mc, BillingStatementGroup as Md, ClerkAPIResponseError$1 as Mf, SignUpAuthenticateWithWeb3Params as Mi, Attributes as Ml, __internal_LocalizationResource as Mn, SessionVerificationSecondFactor as Mo, IdentificationLinkJSON as Mr, SignInFutureEmailCodeVerifyParams as Ms, SignUpButtonProps as Mt, MetamaskWeb3Provider as Mu, BrowserClerk as N, SessionResource as Na, ResetPasswordCodeFactor as Nc, BillingStatementResource as Nd, ClerkError as Nf, SignUpCreateParams as Ni, AttributesJSON as Nl, AlertId as Nn, SessionVerificationStatus as No, ImageJSON as Nr, SignInFutureEmailLinkSendParams as Ns, SignUpInitialValues as Nt, OKXWalletWeb3Provider as Nu, AuthenticateWithBaseParams as O, GetTokenOptions as Oa, PasswordFactor as Oc, BillingPaymentMethodStatus as Od, ComponentControls as Of, AttemptVerificationParams as Oi, Actions as Ol, MultiDomainAndOrProxy as On, SessionVerificationAfterMinutes as Oo, EnterpriseAccountJSON as Or, Web3WalletResource as Os, SignInRedirectOptions as Ot, TicketStrategy as Ou, BrowserClerkConstructor as P, SessionStatus as Pa, ResetPasswordEmailCodeAttempt as Pc, BillingStatementStatus as Pd, ClerkAPIError$1 as Pf, SignUpField as Pi, EnterpriseSSOSettings as Pl, CardActionId as Pn, SessionVerificationTypes as Po, LastAuthenticationStrategy as Pr, SignInFutureFinalizeParams as Ps, SignUpModalProps as Pt, Web3Provider as Pu, CustomNavigation as Q, SetProfileImageParams as Qa, CodeVerificationAttemptParam as Qc, GetSubscriptionParams as Qd, OrganizationCustomRoleKey as Qi, ProtectConfigResource as Ql, SignUpFuturePhoneCodeSendParams as Qn, EnterpriseAccountConnectionJSONSnapshot as Qo, SessionJSON as Qr, SignInCreateParams as Qs, __experimental_PlanDetailsButtonProps as Qt, LineOauthProvider as Qu, Clerk as R, SessionVerifyCreateParams as Ra, ResetPasswordPhoneCodeFactor as Rc, BillingSubscriptionResource as Rd, SignUpVerifiableField as Ri, PasswordSettingsData as Rl, ProfilePageId as Rn, EnterpriseAccountResource as Ro, OrganizationJSON as Rr, SignInFuturePhoneCodeSendParams as Rs, TaskResetPasswordProps as Rt, BitbucketOauthProvider as Ru, EnableEnvironmentSettingParams as S, CheckAuthorizationFn as Sa, OAuthConfig as Sc, BillingNamespace as Sd, ClerkPaginationParams as Sf, HexColorString as Si, SignUpForceRedirectUrl as Sl, SignUpErrors as Sn, ClerkJWTClaims as So, ClientJSON as Sr, SignInResource as Ss, SetActiveNavigate as St, PasskeyStrategy as Su, APIKeyResource as T, CheckAuthorizationParamsWithCustomPermissions as Ta, PasskeyAttempt as Tc, BillingPayerResourceType as Td, ClerkUi as Tf, RgbaColor as Ti, PasswordValidation as Tl, SignUpSignalValue as Tn, JWTHeader as To, DisplayThemeJSON as Tr, GenerateSignature as Ts, SignInInitialValues as Tt, ResetPasswordEmailCodeStrategy as Tu, ClerkProp as U, CreateEmailAddressParams as Ua, Web3SignatureConfig as Uc, CheckoutFlowResourceNonStrict as Ud, LegalAcceptedAttribute as Ui, UserSettingsResource as Ul, CustomPage as Un, SamlIdpSlug as Uo, PasskeyJSON as Ur, SignInFutureTOTPVerifyParams as Us, UserButtonProps as Ut, DropboxOauthProvider as Uu, ClerkEventPayload as V, SessionWithActivitiesResource as Va, TOTPFactor as Vc, CheckoutFlowFinalizeParams as Vd, FirstNameAttribute as Vi, SignUpModes as Vl, UserPreviewId as Vn, SamlIdp as Vo, OrganizationSuggestionJSON as Vr, SignInFutureResource as Vs, UnsubscribeCallback as Vt, CustomOauthProvider as Vu, ClerkStatus as W, CreateExternalAccountParams as Wa, Web3SignatureFactor as Wc, ConfirmCheckoutParams as Wd, PasswordAttribute as Wi, UsernameSettingsData as Wl, CustomMenuItem as Wn, APIKeysSettingsJSON as Wo, PermissionJSON as Wr, SignInFutureTicketParams as Ws, UserProfileModalProps as Wt, EnstallOauthProvider as Wu, CreateOrganizationParams as X, GetUserOrganizationSuggestionsParams as Xa, PublicKeyCredentialWithAuthenticatorAttestationResponse as Xc, GetPlansParams as Xd, VersionedJwtPayload as Xi, PhoneCodeWhatsAppChannel as Xl, SignUpFutureFinalizeParams as Xn, DisplayConfigJSONSnapshot as Xo, RoleJSON as Xr, PrepareSecondFactorParams as Xs, __experimental_CheckoutCacheState as Xt, HuggingfaceOAuthProvider as Xu, CreateOrganizationModalProps as Y, GetUserOrganizationMembershipParams as Ya, PublicKeyCredentialWithAuthenticatorAssertionResponse as Yc, GetPaymentMethodsParams as Yd, SessionStatusClaim as Yi, PhoneCodeSMSChannel as Yl, SignUpFutureEmailCodeVerifyParams as Yn, CommerceSettingsJSONSnapshot as Yo, PublicUserDataJSON as Yr, PrepareFirstFactorParams as Ys, __experimental_CheckoutButtonProps as Yt, HubspotOauthProvider as Yu, CreateOrganizationProps as Z, RemoveUserPasswordParams as Za, UpdatePasskeyParams as Zc, GetStatementsParams as Zd, OrganizationCustomPermissionKey as Zi, ProtectConfigJSON as Zl, SignUpFuturePasswordParams as Zn, EmailAddressJSONSnapshot as Zo, SessionActivityJSON as Zr, ResetPasswordParams as Zs, __experimental_CheckoutOptions as Zt, InstagramOauthProvider as Zu, UseSignInReturn as _, RoleResource as _a, EmailCodeSecondFactorConfig as _c, AddPaymentMethodParams as _d, SnakeToCamel as _f, Color as _i, RedirectOptions as _l, NullableSignUpSignal as _n, PrepareEmailAddressVerificationParams as _o, BillingStatementJSON as _r, UserJSONSnapshot as _s, RevokeAPIKeyParams as _t, EmailCodeStrategy as _u, SAML_IDPS as a, GetDomainsParams as aa, SignInStrategy as ac, OAuthProviderData as ad, DeepCamelToSnake as af, SignUpVerificationJSON as ai, VerificationAttemptParams as al, __internal_PlanDetailsProps as an, AttemptPhoneNumberVerificationParams as ao, ApiKeyJSON as ar, OrganizationSettingsJSONSnapshot as as, HeadlessBrowserClerkConstructor as at, OrganizationDomainVerificationStatus as au, EnvironmentResource as b, ActiveSessionResource as ba, EnterpriseSSOConfig as bc, BillingInitializedPaymentMethodResource as bd, ClerkResourceReloadParams as bf, FontWeight as bi, SignInForceRedirectUrl as bl, SignInSignal as bn, TokenResource as bo, BillingSubscriptionJSON as br, Web3WalletJSONSnapshot as bs, SDKMetadata as bt, GoogleOneTapStrategy as bu, getWeb3ProviderData as c, GetMembershipRequestParams as ca, EmailAddressOrPhoneNumberIdentifier as cc, SpotifyOauthProvider as cd, DeepSnakeToCamel as cf, TokenJSON as ci, ClerkAPIError as cl, __internal_UserVerificationProps as cn, PreparePhoneNumberVerificationParams as co, BillingCheckoutJSON as cr, ProtectConfigJSONSnapshot as cs, ListenerCallback as ct, UpdateEnrollmentModeParams as cu, RoutingMode as d, InviteMemberParams as da, Web3WalletIdentifier as dc, TwitterOauthProvider as dd, Override as df, UserOrganizationInvitationJSON as di, ClerkRuntimeError as dl, TelemetryEvent as dn, OrganizationSuggestionStatus as do, BillingMoneyAmountJSON as dr, SignInJSONSnapshot as ds, OrganizationListProps as dt, DisplayConfigJSON as du, OrganizationPermissionKey as ea, SignInFirstFactor as ec, LinkedinOIDCOauthProvider as ed, MakeDefaultPaymentMethodParams as ef, SessionWithActivitiesJSON as ei, CreateEnterpriseSSOLinkFlowReturn as el, __internal_AttemptToEnableEnvironmentSettingParams as en, UpdateUserPasswordParams as eo, SignUpFutureResource as er, EnvironmentJSONSnapshot as es, GoogleOneTapProps as et, OrganizationSettingsJSON as eu, ProtectProps as f, InviteMembersParams as fa, BackupCodeAttempt as fc, VercelOauthProvider as fd, PathValue as ff, VerificationJSON as fi, AfterMultiSessionSingleSignOutUrl as fl, TelemetryEventRaw as fn, ImageResource as fo, BillingPayerJSON as fr, SignUpJSONSnapshot as fs, OrganizationProfileModalProps as ft, DisplayConfigResource as fu, UseSessionReturn as g, UpdateOrganizationParams as ga, EmailCodeFactor as gc, CommerceSettingsResource as gd, Simplify as gf, BuiltInColors as gi, NewSubscriptionRedirectUrl as gl, NullableSignInSignal as gn, EmailAddressResource as go, BillingStatementGroupJSON as gr, UserDataJSONSnapshot as gs, Resources as gt, CustomOAuthStrategy as gu, UseSessionListReturn as h, UpdateMembershipParams as ha, EmailCodeConfig as hc, CommerceSettingsJSON as hd, Serializable as hf, BoxShadow as hi, AuthenticateWithRedirectParams as hl, FieldError as hn, AttemptEmailAddressVerificationParams as ho, BillingPlanJSON as hr, TokenJSONSnapshot as hs, PricingTableProps as ht, BackupCodeStrategy as hu, OAUTH_PROVIDERS as i, AddMemberParams as ia, SignInStatus as ic, OAuthProvider as id, CamelToSnake as if, SignUpJSON as ii, StartEnterpriseSSOLinkFlowParams as il, __internal_OAuthConsentProps as in, TOTPResource as io, SignUpFutureWeb3Params as ir, OrganizationMembershipJSONSnapshot as is, HeadlessBrowserClerk as it, OrganizationDomainVerification as iu, AuthenticateWithMetamaskParams as j, PublicUserData as ja, PhoneCodeFactor as jc, BillingPlanResource as jd, ClerkRuntimeError$1 as jf, SignUpAuthenticateWithMetamaskParams as ji, AttributeDataJSON as jl, LocalizationValue as jn, SessionVerificationResource as jo, FeatureJSON as jr, SignInFutureEmailCodeSendParams as js, SignOutOptions as jt, CoinbaseWalletWeb3Provider as ju, AuthenticateWithCoinbaseWalletParams as k, PendingSessionOptions as ka, PhoneCodeAttempt as kc, BillingPaymentResource as kd, UIVersion as kf, PrepareVerificationParams as ki, Attribute as kl, MultiDomainAndOrProxyPrimitives as kn, SessionVerificationFirstFactor as ko, EnvironmentJSON as kr, SignInFutureBackupCodeVerifyParams as ks, SignOut as kt, Web3Strategy as ku, sortedOAuthProviders as l, GetMemberships as la, PhoneNumberIdentifier as lc, TiktokOauthProvider as ld, ForceNull as lf, UserDataJSON as li, ClerkAPIErrorJSON as ll, WaitlistResource as ln, SetReservedForSecondFactorParams as lo, BillingCheckoutTotalsJSON as lr, PublicUserDataJSONSnapshot as ls, LoadedClerk as lt, CaptchaProvider as lu, UseAuthReturn as m, SetOrganizationLogoParams as ma, EmailCodeAttempt as mc, XeroOauthProvider as md, RemoveFunctions as mf, Web3WalletJSON as mi, AuthenticateWithPopupParams as ml, Errors as mn, ReauthorizeExternalAccountParams as mo, BillingPaymentMethodJSON as mr, SignUpVerificationsJSONSnapshot as ms, OrganizationSwitcherProps as mt, AppleIdTokenStrategy as mu, ServerGetToken as n, OrganizationSystemPermissionPrefix as na, SignInSecondFactor as nc, MicrosoftOauthProvider as nd, RemovePaymentMethodParams as nf, SignInSecondFactorJSON as ni, SignatureVerificationAttemptParam as nl, __internal_CheckoutProps as nn, VerifyTOTPParams as no, SignUpFutureTicketParams as nr, IdentificationLinkJSONSnapshot as ns, HandleOAuthCallbackParams as nt, AttemptAffiliationVerificationParams as nu, WEB3_PROVIDERS as o, GetInvitationsParams as oa, UserData as oc, OAuthScope as od, DeepPartial as of, SignUpVerificationsJSON as oi, VerificationResource as ol, __internal_SubscriptionDetailsProps as on, PhoneNumberResource as oo, AuthConfigJSON as or, PasskeyJSONSnapshot as os, IsomorphicClerkOptions as ot, OrganizationEnrollmentMode as ou, PublishableKey as p, OrganizationResource as pa, BackupCodeFactor as pc, XOauthProvider as pd, RecordToPath as pf, WaitlistJSON as pi, AfterSignOutUrl as pl, TelemetryLogEntry as pn, ExternalAccountResource as po, BillingPaymentJSON as pr, SignUpVerificationJSONSnapshot as ps, OrganizationProfileProps as pt, PreferredSignInStrategy as pu, CreateBulkOrganizationInvitationParams as q, GetOrganizationMemberships as qa, PublicKeyCredentialCreationOptionsWithoutExtensions as qc, ForPayerType as qd, JwtHeader as qi, PhoneCodeChannelData as ql, SignUpResource as qn, AuthConfigJSONSnapshot as qo, PublicKeyCredentialRequestOptionsJSON as qr, AttemptSecondFactorParams as qs, WaitlistProps as qt, GitlabOauthProvider as qu, ServerGetTokenOptions as r, UpdateOrganizationMembershipParams as ra, SignInStartEmailLinkFlowParams as rc, NotionOauthProvider as rd, Autocomplete as rf, SignUpEnterpriseConnectionJSON as ri, StartEmailLinkFlowParams as rl, __internal_EnableOrganizationsPromptProps as rn, UserOrganizationInvitationResource as ro, SignUpFutureUpdateParams as rr, OrganizationJSONSnapshot as rs, HandleSamlCallbackParams as rt, OrganizationDomainResource as ru, getOAuthProviderData as s, GetMembersParams as sa, EmailAddressIdentifier as sc, SlackOauthProvider as sd, DeepRequired as sf, TOTPJSON as si, VerificationStatus as sl, __internal_UserVerificationModalProps as sn, PhoneNumberVerificationStrategy as so, BackupCodeJSON as sr, PhoneNumberJSONSnapshot as ss, JoinWaitlistParams as st, PrepareAffiliationVerificationParams as su, InitialState as t, OrganizationSystemPermissionKey as ta, SignInIdentifier as tc, LinkedinOauthProvider as td, PaymentGateway as tf, SignInFirstFactorJSON as ti, PasskeyVerificationResource as tl, __internal_AttemptToEnableEnvironmentSettingResult as tn, UserResource as to, SignUpFutureSSOParams as tr, ExternalAccountJSONSnapshot as ts, HandleEmailLinkVerificationParams as tt, OrganizationSettingsResource as tu, ClerkHostRouter as u, GetRolesParams as ua, UsernameIdentifier as uc, TwitchOauthProvider as ud, Nullable as uf, UserJSON as ui, ClerkAPIResponseError as ul, TelemetryCollector as un, OrganizationSuggestionResource as uo, BillingInitializedPaymentMethodJSON as ur, SessionJSONSnapshot as us, NavigateOptions as ut, CaptchaWidgetType as uu, UseSignUpReturn as v, PermissionResource as va, EmailLinkConfig as vc, BillingCheckoutResource as vd, Without as vf, ColorString as vi, RedirectUrlProp as vl, SignInErrors as vn, IdentificationLinkResource as vo, BillingStatementTotalsJSON as vr, UserSettingsJSONSnapshot as vs, RoutingOptions as vt, EmailLinkStrategy as vu, AuthConfigResource as w, CheckAuthorizationParamsFromSessionClaims as wa, PassKeyConfig as wc, BillingPayerResource as wd, DeletedObjectResource as wf, HslaColorString as wi, PasswordStrength as wl, SignUpSignal as wn, JWTClaims as wo, DeletedObjectJSON as wr, AuthenticateWithWeb3Params as ws, SignInButtonProps as wt, PhoneCodeStrategy as wu, DevToolsResource as x, CheckAuthorization as xa, EnterpriseSSOFactor as xc, BillingMoneyAmount as xd, ClerkPaginatedResponse as xf, HexColor as xi, SignUpFallbackRedirectUrl as xl, SignInSignalValue as xn, ActJWTClaim as xo, ClerkResourceJSON as xr, SignInJSON as xs, SetActive as xt, OAuthStrategy as xu, UseUserReturn as y, OrganizationMembershipRequestResource as ya, EmailLinkFactor as yc, BillingCheckoutTotals as yd, ClerkResource as yf, EmUnit as yi, SignInFallbackRedirectUrl as yl, SignInFields as yn, BackupCodeResource as yo, BillingSubscriptionItemJSON as yr, VerificationJSONSnapshot as ys, RoutingStrategy as yt, EnterpriseSSOStrategy as yu, ClerkAppearanceTheme as z, SessionVerifyPrepareFirstFactorParams as za, ResetPasswordPhoneCodeFactorConfig as zc, BillingSubscriptionStatus as zd, SignUpVerificationResource as zi, SignInData as zl, ProfileSectionId as zn, EnterpriseProtocol as zo, OrganizationMembershipJSON as zr, SignInFuturePhoneCodeVerifyParams as zs, TasksRedirectOptions as zt, BoxOauthProvider as zu };
|
|
9602
|
-
//# sourceMappingURL=index-
|
|
9654
|
+
//# sourceMappingURL=index-6lIp5q8s.d.mts.map
|