@clerk/shared 4.0.0-snapshot.v20251208202852 → 4.0.0-snapshot.v20251211120550

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.
Files changed (130) hide show
  1. package/dist/runtime/alternativePhoneCode.d.mts +1 -1
  2. package/dist/runtime/alternativePhoneCode.d.ts +1 -1
  3. package/dist/runtime/authorization-errors.d.mts +1 -1
  4. package/dist/runtime/authorization-errors.d.ts +1 -1
  5. package/dist/runtime/authorization.d.mts +1 -1
  6. package/dist/runtime/authorization.d.ts +1 -1
  7. package/dist/runtime/clerkEventBus.d.mts +1 -1
  8. package/dist/runtime/clerkEventBus.d.ts +1 -1
  9. package/dist/runtime/color.d.mts +1 -1
  10. package/dist/runtime/color.d.ts +1 -1
  11. package/dist/runtime/deriveState.d.mts +1 -1
  12. package/dist/runtime/deriveState.d.ts +1 -1
  13. package/dist/runtime/{error-D6MGXq-n.mjs → error--xlRIO4Z.mjs} +42 -2
  14. package/dist/runtime/error--xlRIO4Z.mjs.map +1 -0
  15. package/dist/runtime/{error-DSsmf214.d.ts → error-Bar-OO4s.d.mts} +40 -3
  16. package/dist/runtime/error-Bar-OO4s.d.mts.map +1 -0
  17. package/dist/runtime/{error-C4TyorFL.js → error-CJmIhSJi.js} +47 -1
  18. package/dist/runtime/error-CJmIhSJi.js.map +1 -0
  19. package/dist/runtime/{error-CWA4ukvl.d.mts → error-Du4UdKtF.d.ts} +40 -3
  20. package/dist/runtime/error-Du4UdKtF.d.ts.map +1 -0
  21. package/dist/runtime/error.d.mts +3 -3
  22. package/dist/runtime/error.d.ts +3 -3
  23. package/dist/runtime/error.js +2 -1
  24. package/dist/runtime/error.mjs +2 -2
  25. package/dist/runtime/{index-CBjE4nAT.d.mts → index-CPEYkfCA.d.mts} +145 -136
  26. package/dist/runtime/{index-CBjE4nAT.d.mts.map → index-CPEYkfCA.d.mts.map} +1 -1
  27. package/dist/runtime/{index-eJWs3zJx.d.ts → index-D42gIYCP.d.ts} +145 -136
  28. package/dist/runtime/index-D42gIYCP.d.ts.map +1 -0
  29. package/dist/runtime/internal/clerk-js/completeSignUpFlow.d.mts +1 -1
  30. package/dist/runtime/internal/clerk-js/completeSignUpFlow.d.ts +1 -1
  31. package/dist/runtime/internal/clerk-js/componentGuards.d.mts +1 -1
  32. package/dist/runtime/internal/clerk-js/componentGuards.d.ts +1 -1
  33. package/dist/runtime/internal/clerk-js/injectedWeb3Providers.d.mts +1 -1
  34. package/dist/runtime/internal/clerk-js/injectedWeb3Providers.d.ts +1 -1
  35. package/dist/runtime/internal/clerk-js/organization.d.mts +1 -1
  36. package/dist/runtime/internal/clerk-js/organization.d.ts +1 -1
  37. package/dist/runtime/internal/clerk-js/organization.js +1 -1
  38. package/dist/runtime/internal/clerk-js/organization.js.map +1 -1
  39. package/dist/runtime/internal/clerk-js/organization.mjs +1 -1
  40. package/dist/runtime/internal/clerk-js/organization.mjs.map +1 -1
  41. package/dist/runtime/internal/clerk-js/passkeys.d.mts +2 -2
  42. package/dist/runtime/internal/clerk-js/passkeys.d.ts +2 -2
  43. package/dist/runtime/internal/clerk-js/passkeys.js +1 -1
  44. package/dist/runtime/internal/clerk-js/passkeys.mjs +1 -1
  45. package/dist/runtime/internal/clerk-js/passwords/complexity.d.mts +1 -1
  46. package/dist/runtime/internal/clerk-js/passwords/complexity.d.ts +1 -1
  47. package/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.mts +1 -1
  48. package/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.ts +1 -1
  49. package/dist/runtime/internal/clerk-js/passwords/password.d.mts +1 -1
  50. package/dist/runtime/internal/clerk-js/passwords/password.d.ts +1 -1
  51. package/dist/runtime/internal/clerk-js/passwords/strength.d.mts +1 -1
  52. package/dist/runtime/internal/clerk-js/passwords/strength.d.ts +1 -1
  53. package/dist/runtime/internal/clerk-js/queryParams.d.mts +2 -2
  54. package/dist/runtime/internal/clerk-js/queryParams.d.ts +2 -2
  55. package/dist/runtime/internal/clerk-js/redirectUrls.d.mts +1 -1
  56. package/dist/runtime/internal/clerk-js/redirectUrls.d.ts +1 -1
  57. package/dist/runtime/internal/clerk-js/sessionTasks.d.mts +2 -2
  58. package/dist/runtime/internal/clerk-js/sessionTasks.d.ts +2 -2
  59. package/dist/runtime/internal/clerk-js/url.d.mts +2 -2
  60. package/dist/runtime/internal/clerk-js/url.d.ts +2 -2
  61. package/dist/runtime/internal/clerk-js/user.d.mts +1 -1
  62. package/dist/runtime/internal/clerk-js/user.d.ts +1 -1
  63. package/dist/runtime/internal/clerk-js/web3.d.mts +1 -1
  64. package/dist/runtime/internal/clerk-js/web3.d.ts +1 -1
  65. package/dist/runtime/jwtPayloadParser.d.mts +1 -1
  66. package/dist/runtime/jwtPayloadParser.d.ts +1 -1
  67. package/dist/runtime/keys.d.mts +1 -1
  68. package/dist/runtime/keys.d.ts +1 -1
  69. package/dist/runtime/loadClerkJsScript.d.mts +1 -1
  70. package/dist/runtime/loadClerkJsScript.d.ts +1 -1
  71. package/dist/runtime/loadClerkJsScript.js +3 -3
  72. package/dist/runtime/loadClerkJsScript.js.map +1 -1
  73. package/dist/runtime/loadClerkJsScript.mjs +3 -3
  74. package/dist/runtime/loadClerkJsScript.mjs.map +1 -1
  75. package/dist/runtime/oauth.d.mts +1 -1
  76. package/dist/runtime/oauth.d.ts +1 -1
  77. package/dist/runtime/{organization-BzYWUtt4.js → organization-BOnxJJGM.js} +5 -6
  78. package/dist/runtime/organization-BOnxJJGM.js.map +1 -0
  79. package/dist/runtime/{organization-JwY1zGRo.mjs → organization-CDNOZNzF.mjs} +5 -6
  80. package/dist/runtime/organization-CDNOZNzF.mjs.map +1 -0
  81. package/dist/runtime/organization.d.mts +5 -6
  82. package/dist/runtime/organization.d.mts.map +1 -1
  83. package/dist/runtime/organization.d.ts +5 -6
  84. package/dist/runtime/organization.d.ts.map +1 -1
  85. package/dist/runtime/organization.js +1 -1
  86. package/dist/runtime/organization.mjs +1 -1
  87. package/dist/runtime/pathMatcher.d.mts +1 -1
  88. package/dist/runtime/pathMatcher.d.ts +1 -1
  89. package/dist/runtime/react/index.d.mts +23 -23
  90. package/dist/runtime/react/index.d.ts +23 -23
  91. package/dist/runtime/react/index.js +7 -7
  92. package/dist/runtime/react/index.js.map +1 -1
  93. package/dist/runtime/react/index.mjs +7 -7
  94. package/dist/runtime/react/index.mjs.map +1 -1
  95. package/dist/runtime/router.d.mts +1 -1
  96. package/dist/runtime/router.d.mts.map +1 -1
  97. package/dist/runtime/router.d.ts +1 -1
  98. package/dist/runtime/router.d.ts.map +1 -1
  99. package/dist/runtime/saml.d.mts +1 -1
  100. package/dist/runtime/saml.d.ts +1 -1
  101. package/dist/runtime/telemetry.d.mts +1 -1
  102. package/dist/runtime/telemetry.d.ts +1 -1
  103. package/dist/runtime/types/index.d.mts +1 -1
  104. package/dist/runtime/types/index.d.ts +1 -1
  105. package/dist/runtime/ui/index.d.mts +1 -1
  106. package/dist/runtime/ui/index.d.ts +1 -1
  107. package/dist/runtime/{url-CeALciQG.d.ts → url-B0fryQyT.d.ts} +2 -2
  108. package/dist/runtime/{url-CeALciQG.d.ts.map → url-B0fryQyT.d.ts.map} +1 -1
  109. package/dist/runtime/{url-BQX5m-Ax.d.mts → url-BXe3Tvsn.d.mts} +2 -2
  110. package/dist/runtime/{url-BQX5m-Ax.d.mts.map → url-BXe3Tvsn.d.mts.map} +1 -1
  111. package/dist/runtime/{versionSelector-CwoA_vh7.js → versionSelector-BMFwS2IR.js} +3 -3
  112. package/dist/runtime/{versionSelector-CwoA_vh7.js.map → versionSelector-BMFwS2IR.js.map} +1 -1
  113. package/dist/runtime/{versionSelector-BCQasG48.mjs → versionSelector-v6LvGO6I.mjs} +3 -3
  114. package/dist/runtime/{versionSelector-BCQasG48.mjs.map → versionSelector-v6LvGO6I.mjs.map} +1 -1
  115. package/dist/runtime/versionSelector.js +1 -1
  116. package/dist/runtime/versionSelector.mjs +1 -1
  117. package/dist/runtime/web3.d.mts +1 -1
  118. package/dist/runtime/web3.d.ts +1 -1
  119. package/dist/types/index.d.mts +144 -135
  120. package/dist/types/index.d.mts.map +1 -1
  121. package/dist/types/index.d.ts +144 -135
  122. package/dist/types/index.d.ts.map +1 -1
  123. package/package.json +1 -1
  124. package/dist/runtime/error-C4TyorFL.js.map +0 -1
  125. package/dist/runtime/error-CWA4ukvl.d.mts.map +0 -1
  126. package/dist/runtime/error-D6MGXq-n.mjs.map +0 -1
  127. package/dist/runtime/error-DSsmf214.d.ts.map +0 -1
  128. package/dist/runtime/index-eJWs3zJx.d.ts.map +0 -1
  129. package/dist/runtime/organization-BzYWUtt4.js.map +0 -1
  130. package/dist/runtime/organization-JwY1zGRo.mjs.map +0 -1
@@ -338,7 +338,7 @@ type ForceNull<T$1> = { [K in keyof T$1]: null };
338
338
  //#region src/types/billing.d.ts
339
339
  type WithOptionalOrgType<T$1> = T$1 & {
340
340
  /**
341
- * The organization ID to perform the request on.
341
+ * The Organization ID to perform the request on.
342
342
  */
343
343
  orgId?: string;
344
344
  };
@@ -406,7 +406,7 @@ type ForPayerType = 'organization' | 'user';
406
406
  */
407
407
  type BillingSubscriptionStatus = 'active' | 'ended' | 'upcoming' | 'past_due';
408
408
  /**
409
- * The billing period for the plan.
409
+ * The billing period for the Plan.
410
410
  *
411
411
  * @inline
412
412
  */
@@ -433,107 +433,107 @@ interface BillingPayerMethods {
433
433
  */
434
434
  type GetPlansParams = ClerkPaginationParams<{
435
435
  /**
436
- * The type of payer for the plans.
436
+ * The type of payer for the Plans.
437
437
  */
438
438
  for?: ForPayerType;
439
439
  }>;
440
440
  /**
441
- * The `BillingPlanResource` type represents a subscription plan with its details.
441
+ * The `BillingPlanResource` type represents a Subscription Plan with its details.
442
442
  *
443
443
  * @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.
444
444
  */
445
445
  interface BillingPlanResource extends ClerkResource {
446
446
  /**
447
- * The unique identifier for the plan.
447
+ * The unique identifier for the Plan.
448
448
  */
449
449
  id: string;
450
450
  /**
451
- * The name of the plan.
451
+ * The name of the Plan.
452
452
  */
453
453
  name: string;
454
454
  /**
455
- * The monthly price of the plan.
455
+ * The monthly price of the Plan.
456
456
  */
457
457
  fee: BillingMoneyAmount;
458
458
  /**
459
- * The annual price of the plan or `null` if the plan is not annual.
459
+ * The annual price of the Plan or `null` if the Plan is not annual.
460
460
  */
461
461
  annualFee: BillingMoneyAmount | null;
462
462
  /**
463
- * The effective monthly price when billed annually or `null` if the plan is not annual.
463
+ * The effective monthly price when billed annually or `null` if the Plan is not annual.
464
464
  */
465
465
  annualMonthlyFee: BillingMoneyAmount | null;
466
466
  /**
467
- * A short description of what the plan offers, or `null` if no description is provided.
467
+ * A short description of what the Plan offers, or `null` if no description is provided.
468
468
  */
469
469
  description: string | null;
470
470
  /**
471
- * Whether the plan is the default plan.
471
+ * Whether the Plan is the default Plan.
472
472
  */
473
473
  isDefault: boolean;
474
474
  /**
475
- * Whether the plan is recurring.
475
+ * Whether the Plan is recurring.
476
476
  */
477
477
  isRecurring: boolean;
478
478
  /**
479
- * Whether the plan has a base fee.
479
+ * Whether the Plan has a base fee.
480
480
  */
481
481
  hasBaseFee: boolean;
482
482
  /**
483
- * Specifies the subscriber type this plan is designed for.
483
+ * Specifies the subscriber type this Plan is designed for.
484
484
  *
485
- * Each plan is exclusively created for either individual users or organizations, and cannot be used interchangeably.
485
+ * Each Plan is exclusively created for either individual users or Organizations, and cannot be used interchangeably.
486
486
  */
487
487
  forPayerType: BillingPayerResourceType;
488
488
  /**
489
- * Whether the plan is visible to the public.
489
+ * Whether the Plan is visible to the public.
490
490
  */
491
491
  publiclyVisible: boolean;
492
492
  /**
493
- * The URL-friendly identifier of the plan.
493
+ * The URL-friendly identifier of the Plan.
494
494
  */
495
495
  slug: string;
496
496
  /**
497
- * The URL of the plan's avatar image, or `null` if not set.
497
+ * The URL of the Plan's avatar image, or `null` if not set.
498
498
  */
499
499
  avatarUrl: string | null;
500
500
  /**
501
- * The features the plan offers.
501
+ * The Features the Plan offers.
502
502
  */
503
503
  features: FeatureResource[];
504
504
  /**
505
- * The number of days of the free trial for the plan. `null` if the plan does not have a free trial.
505
+ * The number of days of the free trial for the Plan. `null` if the Plan does not have a free trial.
506
506
  */
507
507
  freeTrialDays: number | null;
508
508
  /**
509
- * Whether the plan has a free trial.
509
+ * Whether the Plan has a free trial.
510
510
  */
511
511
  freeTrialEnabled: boolean;
512
512
  }
513
513
  /**
514
- * The `FeatureResource` type represents a feature of a plan.
514
+ * The `FeatureResource` type represents a Feature of a Plan.
515
515
  *
516
516
  * @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.
517
517
  */
518
518
  interface FeatureResource extends ClerkResource {
519
519
  /**
520
- * The unique identifier for the feature.
520
+ * The unique identifier for the Feature.
521
521
  */
522
522
  id: string;
523
523
  /**
524
- * The display name of the feature.
524
+ * The display name of the Feature.
525
525
  */
526
526
  name: string;
527
527
  /**
528
- * A short description of what the feature provides, or `null` if not provided.
528
+ * A short description of what the Feature provides, or `null` if not provided.
529
529
  */
530
530
  description: string | null;
531
531
  /**
532
- * A unique, URL-friendly identifier for the feature.
532
+ * A unique, URL-friendly identifier for the Feature.
533
533
  */
534
534
  slug: string;
535
535
  /**
536
- * The URL of the feature's avatar image, or `null` if not set.
536
+ * The URL of the Feature's avatar image, or `null` if not set.
537
537
  */
538
538
  avatarUrl: string | null;
539
539
  }
@@ -640,7 +640,7 @@ interface BillingPaymentMethodResource extends ClerkResource {
640
640
  /**
641
641
  * A function that removes this payment method from the account. Accepts the following parameters:
642
642
  * <ul>
643
- * <li>`orgId?` (`string`): The ID of the organization to remove the payment method from.</li>
643
+ * <li>`orgId?` (`string`): The ID of the Organization to remove the payment method from.</li>
644
644
  * </ul>
645
645
  *
646
646
  * @param params - The parameters for the remove operation.
@@ -650,7 +650,7 @@ interface BillingPaymentMethodResource extends ClerkResource {
650
650
  /**
651
651
  * A function that sets this payment method as the default for the account. Accepts the following parameters:
652
652
  * <ul>
653
- * <li>`orgId?` (`string`): The ID of the organization to set as the default.</li>
653
+ * <li>`orgId?` (`string`): The ID of the Organization to set as the default.</li>
654
654
  * </ul>
655
655
  *
656
656
  * @param params - The parameters for the make default operation.
@@ -688,7 +688,7 @@ type BillingPaymentChargeType = 'checkout' | 'recurring';
688
688
  */
689
689
  type BillingPaymentStatus = 'pending' | 'paid' | 'failed';
690
690
  /**
691
- * The `BillingPaymentResource` type represents a payment attempt for a user or organization.
691
+ * The `BillingPaymentResource` type represents a payment attempt for a user or Organization.
692
692
  *
693
693
  * @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.
694
694
  */
@@ -745,7 +745,7 @@ type GetStatementsParams = WithOptionalOrgType<ClerkPaginationParams>;
745
745
  */
746
746
  type BillingStatementStatus = 'open' | 'closed';
747
747
  /**
748
- * The `BillingStatementResource` type represents a billing statement for a user or organization.
748
+ * The `BillingStatementResource` type represents a billing statement for a user or Organization.
749
749
  *
750
750
  * @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.
751
751
  */
@@ -807,7 +807,7 @@ interface BillingSubscriptionItemResource extends ClerkResource {
807
807
  */
808
808
  id: string;
809
809
  /**
810
- * The plan associated with the subscription item.
810
+ * The Plan associated with the subscription item.
811
811
  */
812
812
  plan: BillingPlanResource;
813
813
  /**
@@ -854,7 +854,7 @@ interface BillingSubscriptionItemResource extends ClerkResource {
854
854
  /**
855
855
  * A function to cancel the subscription item. Accepts the following parameters:
856
856
  * <ul>
857
- * <li>`orgId?` (`string`): The ID of the organization to cancel the subscription item from.</li>
857
+ * <li>`orgId?` (`string`): The ID of the Organization to cancel the subscription item from.</li>
858
858
  * </ul>
859
859
  *
860
860
  * @param params - The parameters for the cancel operation.
@@ -948,7 +948,7 @@ interface BillingMoneyAmount {
948
948
  */
949
949
  interface BillingCheckoutTotals {
950
950
  /**
951
- * The price of the items or plan before taxes, credits, or discounts are applied.
951
+ * The price of the items or Plan before taxes, credits, or discounts are applied.
952
952
  */
953
953
  subtotal: BillingMoneyAmount;
954
954
  /**
@@ -983,7 +983,7 @@ interface BillingCheckoutTotals {
983
983
  */
984
984
  interface BillingStatementTotals {
985
985
  /**
986
- * The price of the items or plan before taxes, credits, or discounts are applied.
986
+ * The price of the items or Plan before taxes, credits, or discounts are applied.
987
987
  */
988
988
  subtotal: BillingMoneyAmount;
989
989
  /**
@@ -1002,11 +1002,11 @@ interface BillingStatementTotals {
1002
1002
  */
1003
1003
  type CreateCheckoutParams = WithOptionalOrgType<{
1004
1004
  /**
1005
- * The unique identifier for the plan.
1005
+ * The unique identifier for the Plan.
1006
1006
  */
1007
1007
  planId: string;
1008
1008
  /**
1009
- * The billing period for the plan.
1009
+ * The billing period for the Plan.
1010
1010
  */
1011
1011
  planPeriod: BillingSubscriptionPlanPeriod;
1012
1012
  }>;
@@ -1065,15 +1065,15 @@ interface BillingCheckoutResource extends ClerkResource {
1065
1065
  */
1066
1066
  paymentMethod?: BillingPaymentMethodResource;
1067
1067
  /**
1068
- * The subscription plan details for the checkout.
1068
+ * The Subscription Plan details for the checkout.
1069
1069
  */
1070
1070
  plan: BillingPlanResource;
1071
1071
  /**
1072
- * The billing period for the plan.
1072
+ * The billing period for the Plan.
1073
1073
  */
1074
1074
  planPeriod: BillingSubscriptionPlanPeriod;
1075
1075
  /**
1076
- * The start date of the plan period, represented as a Unix timestamp.
1076
+ * The start date of the Plan period, represented as a Unix timestamp.
1077
1077
  */
1078
1078
  planPeriodStart?: number;
1079
1079
  /**
@@ -1089,7 +1089,7 @@ interface BillingCheckoutResource extends ClerkResource {
1089
1089
  */
1090
1090
  confirm: (params: ConfirmCheckoutParams) => Promise<BillingCheckoutResource>;
1091
1091
  /**
1092
- * Whether the plan change will take effect immediately after checkout.
1092
+ * Whether the Plan change will take effect immediately after checkout.
1093
1093
  */
1094
1094
  isImmediatePlanChange: boolean;
1095
1095
  /**
@@ -1144,11 +1144,11 @@ interface BillingPayerResource extends ClerkResource {
1144
1144
  */
1145
1145
  lastName?: string | null;
1146
1146
  /**
1147
- * The unique identifier for the organization that the payer belongs to.
1147
+ * The unique identifier for the Organization that the payer belongs to.
1148
1148
  */
1149
1149
  organizationId: string | null;
1150
1150
  /**
1151
- * The name of the organization that the payer belongs to.
1151
+ * The name of the Organization that the payer belongs to.
1152
1152
  */
1153
1153
  organizationName?: string | null;
1154
1154
  }
@@ -2867,7 +2867,7 @@ declare global {
2867
2867
  /**
2868
2868
  * If you want to provide custom types for the organizationInvitation.publicMetadata
2869
2869
  * object, simply redeclare this rule in the global namespace.
2870
- * Every organizationInvitation object will use the provided type.
2870
+ * Every OrganizationInvitation object will use the provided type.
2871
2871
  */
2872
2872
  interface OrganizationInvitationPublicMetadata {
2873
2873
  [k: string]: unknown;
@@ -2877,7 +2877,7 @@ declare global {
2877
2877
  }
2878
2878
  }
2879
2879
  /**
2880
- * The `OrganizationInvitation` object is the model around an organization invitation.
2880
+ * The `OrganizationInvitation` object is the model around an Organization invitation.
2881
2881
  *
2882
2882
  * @interface
2883
2883
  */
@@ -3011,15 +3011,15 @@ interface ClerkJWTClaims {
3011
3011
  */
3012
3012
  act?: ActClaim;
3013
3013
  /**
3014
- * Active organization ID.
3014
+ * Active Organization ID.
3015
3015
  */
3016
3016
  org_id?: string;
3017
3017
  /**
3018
- * Active organization slug.
3018
+ * Active Organization Slug.
3019
3019
  */
3020
3020
  org_slug?: string;
3021
3021
  /**
3022
- * Active organization role.
3022
+ * Active Organization Role.
3023
3023
  */
3024
3024
  org_role?: OrganizationCustomRoleKey;
3025
3025
  /**
@@ -3393,19 +3393,19 @@ type WithReverification<T$1> = T$1 & {
3393
3393
  };
3394
3394
  type CheckAuthorizationParamsWithCustomPermissions = WithReverification<{
3395
3395
  /**
3396
- * The [role](https://clerk.com/docs/guides/organizations/roles-and-permissions) to check for.
3396
+ * The [Role](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for.
3397
3397
  */
3398
3398
  role: OrganizationCustomRoleKey;
3399
3399
  /**
3400
- * The [permission](https://clerk.com/docs/guides/organizations/roles-and-permissions) to check for.
3400
+ * The [Permission](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for.
3401
3401
  */
3402
3402
  permission?: never;
3403
3403
  /**
3404
- * The [feature](https://clerk.com/docs/guides/billing/overview) to check for.
3404
+ * The [Feature](https://clerk.com/docs/guides/billing/overview) to check for.
3405
3405
  */
3406
3406
  feature?: never;
3407
3407
  /**
3408
- * The [plan](https://clerk.com/docs/guides/billing/overview) to check for.
3408
+ * The [Plan](https://clerk.com/docs/guides/billing/overview) to check for.
3409
3409
  */
3410
3410
  plan?: never;
3411
3411
  } | {
@@ -3432,19 +3432,19 @@ type CheckAuthorizationParamsWithCustomPermissions = WithReverification<{
3432
3432
  type CheckAuthorization = CheckAuthorizationFn<CheckAuthorizationParams>;
3433
3433
  type CheckAuthorizationParams = WithReverification<{
3434
3434
  /**
3435
- * The [role](https://clerk.com/docs/guides/organizations/roles-and-permissions) to check for.
3435
+ * The [Role](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for.
3436
3436
  */
3437
3437
  role: OrganizationCustomRoleKey;
3438
3438
  /**
3439
- * The [permission](https://clerk.com/docs/guides/organizations/roles-and-permissions) to check for.
3439
+ * The [Permission](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for.
3440
3440
  */
3441
3441
  permission?: never;
3442
3442
  /**
3443
- * The [feature](https://clerk.com/docs/guides/billing/overview) to check for.
3443
+ * The [Feature](https://clerk.com/docs/guides/billing/overview) to check for.
3444
3444
  */
3445
3445
  feature?: never;
3446
3446
  /**
3447
- * The [plan](https://clerk.com/docs/guides/billing/overview) to check for.
3447
+ * The [Plan](https://clerk.com/docs/guides/billing/overview) to check for.
3448
3448
  */
3449
3449
  plan?: never;
3450
3450
  } | {
@@ -3470,7 +3470,7 @@ type CheckAuthorizationParams = WithReverification<{
3470
3470
  }>;
3471
3471
  /**
3472
3472
  * Type guard for server-side authorization checks using session claims.
3473
- * System permissions are not allowed since they are not included
3473
+ * System Permissions are not allowed since they are not included
3474
3474
  * in session claims and cannot be verified on the server side.
3475
3475
  */
3476
3476
  type CheckAuthorizationFromSessionClaims = <P extends OrganizationCustomPermissionKey>(isAuthorizedParams: CheckAuthorizationParamsFromSessionClaims<P>) => boolean;
@@ -3479,19 +3479,19 @@ type CheckAuthorizationFromSessionClaims = <P extends OrganizationCustomPermissi
3479
3479
  */
3480
3480
  type CheckAuthorizationParamsFromSessionClaims<P$1 extends OrganizationCustomPermissionKey> = WithReverification<{
3481
3481
  /**
3482
- * The [role](https://clerk.com/docs/guides/organizations/roles-and-permissions) to check for.
3482
+ * The [Role](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for.
3483
3483
  */
3484
3484
  role: OrganizationCustomRoleKey;
3485
3485
  /**
3486
- * The [permission](https://clerk.com/docs/guides/organizations/roles-and-permissions) to check for.
3486
+ * The [Permission](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for.
3487
3487
  */
3488
3488
  permission?: never;
3489
3489
  /**
3490
- * The [feature](https://clerk.com/docs/guides/billing/overview) to check for.
3490
+ * The [Feature](https://clerk.com/docs/guides/billing/overview) to check for.
3491
3491
  */
3492
3492
  feature?: never;
3493
3493
  /**
3494
- * The [plan](https://clerk.com/docs/guides/billing/overview) to check for.
3494
+ * The [Plan](https://clerk.com/docs/guides/billing/overview) to check for.
3495
3495
  */
3496
3496
  plan?: never;
3497
3497
  } | {
@@ -3698,7 +3698,7 @@ declare global {
3698
3698
  /**
3699
3699
  * If you want to provide custom types for the organization.publicMetadata object,
3700
3700
  * simply redeclare this rule in the global namespace.
3701
- * Every organization object will use the provided type.
3701
+ * Every Organization object will use the provided type.
3702
3702
  */
3703
3703
  interface OrganizationPublicMetadata {
3704
3704
  [k: string]: unknown;
@@ -3706,16 +3706,16 @@ declare global {
3706
3706
  /**
3707
3707
  * If you want to provide custom types for the organization.privateMetadata object,
3708
3708
  * simply redeclare this rule in the global namespace.
3709
- * Every organization object will use the provided type.
3709
+ * Every Organization object will use the provided type.
3710
3710
  */
3711
3711
  interface OrganizationPrivateMetadata {
3712
3712
  [k: string]: unknown;
3713
3713
  }
3714
3714
  }
3715
3715
  /**
3716
- * The `Organization` object holds information about an organization, as well as methods for managing it.
3716
+ * The `Organization` object holds information about an Organization, as well as methods for managing it.
3717
3717
  *
3718
- * 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/overview#enable-organizations-in-your-application).
3718
+ * 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).
3719
3719
  *
3720
3720
  * @interface
3721
3721
  */
@@ -3808,7 +3808,7 @@ declare global {
3808
3808
  /**
3809
3809
  * If you want to provide custom types for the organizationMembership.publicMetadata
3810
3810
  * object, simply redeclare this rule in the global namespace.
3811
- * Every organizationMembership object will use the provided type.
3811
+ * Every OrganizationMembership object will use the provided type.
3812
3812
  */
3813
3813
  interface OrganizationMembershipPublicMetadata {
3814
3814
  [k: string]: unknown;
@@ -3816,7 +3816,7 @@ declare global {
3816
3816
  /**
3817
3817
  * If you want to provide custom types for the organizationMembership.publicMetadata
3818
3818
  * object, simply redeclare this rule in the global namespace.
3819
- * Every organizationMembership object will use the provided type.
3819
+ * Every OrganizationMembership object will use the provided type.
3820
3820
  */
3821
3821
  interface OrganizationMembershipPrivateMetadata {
3822
3822
  [k: string]: unknown;
@@ -3846,9 +3846,9 @@ interface OrganizationMembershipResource extends ClerkResource {
3846
3846
  }
3847
3847
  type OrganizationCustomPermissionKey = ClerkAuthorization extends Placeholder ? ClerkAuthorization['permission'] extends string ? ClerkAuthorization['permission'] : Base['permission'] : Base['permission'];
3848
3848
  /**
3849
- * `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).
3849
+ * `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).
3850
3850
  *
3851
- * Clerk provides the [default roles](https://clerk.com/docs/guides/organizations/roles-and-permissions#default-roles) `org:admin` and `org:member`. However, you can create [custom roles](https://clerk.com/docs/guides/organizations/roles-and-permissions#custom-roles) as well.
3851
+ * 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.
3852
3852
  *
3853
3853
  * @interface
3854
3854
  */
@@ -3856,8 +3856,8 @@ type OrganizationCustomRoleKey = ClerkAuthorization extends Placeholder ? ClerkA
3856
3856
  type OrganizationSystemPermissionPrefix = 'org:sys_';
3857
3857
  type OrganizationSystemPermissionKey = `${OrganizationSystemPermissionPrefix}domains:manage` | `${OrganizationSystemPermissionPrefix}profile:manage` | `${OrganizationSystemPermissionPrefix}profile:delete` | `${OrganizationSystemPermissionPrefix}memberships:read` | `${OrganizationSystemPermissionPrefix}memberships:manage` | `${OrganizationSystemPermissionPrefix}domains:read`;
3858
3858
  /**
3859
- * OrganizationPermissionKey is a combination of system and custom permissions.
3860
- * System permissions are only accessible from FAPI and client-side operations/utils
3859
+ * OrganizationPermissionKey is a combination of System and Custom Permissions.
3860
+ * System Permissions are only accessible from FAPI and client-side operations/utils
3861
3861
  */
3862
3862
  type OrganizationPermissionKey = ClerkAuthorization extends Placeholder ? ClerkAuthorization['permission'] extends string ? ClerkAuthorization['permission'] | OrganizationSystemPermissionKey : Autocomplete<OrganizationSystemPermissionKey> : Autocomplete<OrganizationSystemPermissionKey>;
3863
3863
  type UpdateOrganizationMembershipParams = {
@@ -3953,19 +3953,19 @@ type VersionedJwtPayload = {
3953
3953
  v?: undefined;
3954
3954
  /**
3955
3955
  *
3956
- * Active organization permissions.
3956
+ * Active Organization Permissions.
3957
3957
  */
3958
3958
  org_permissions?: OrganizationCustomPermissionKey[];
3959
3959
  /**
3960
- * Active organization ID.
3960
+ * Active Organization ID.
3961
3961
  */
3962
3962
  org_id?: string;
3963
3963
  /**
3964
- * Active organization slug.
3964
+ * Active Organization slug.
3965
3965
  */
3966
3966
  org_slug?: string;
3967
3967
  /**
3968
- * Active organization role.
3968
+ * Active Organization Role.
3969
3969
  */
3970
3970
  org_role?: OrganizationCustomRoleKey;
3971
3971
  } | {
@@ -3984,25 +3984,25 @@ type VersionedJwtPayload = {
3984
3984
  */
3985
3985
  pla?: string;
3986
3986
  /**
3987
- * Active organization information.
3987
+ * Active Organization information.
3988
3988
  *
3989
3989
  * @experimental This structure is subject to change.
3990
3990
  */
3991
3991
  o?: {
3992
3992
  /**
3993
- * Active organization ID.
3993
+ * Active Organization ID.
3994
3994
  */
3995
3995
  id: string;
3996
3996
  /**
3997
- * Active organization slug.
3997
+ * Active Organization slug.
3998
3998
  */
3999
3999
  slg?: string;
4000
4000
  /**
4001
- * Active organization role.
4001
+ * Active Organization role.
4002
4002
  */
4003
4003
  rol?: OrganizationCustomRoleKey;
4004
4004
  /**
4005
- * Active organization permissions.
4005
+ * Active Organization permissions.
4006
4006
  */
4007
4007
  per?: string;
4008
4008
  /**
@@ -5473,7 +5473,7 @@ type __internal_LocalizationResource = {
5473
5473
  locale: string;
5474
5474
  maintenanceMode: LocalizationValue;
5475
5475
  /**
5476
- * Add role keys and their localized values, e.g. `roles: { 'org:teacher': 'Teacher'}`.
5476
+ * Add Role keys and their localized values, e.g. `roles: { 'org:teacher': 'Teacher'}`.
5477
5477
  *
5478
5478
  * @experimental
5479
5479
  */
@@ -6707,6 +6707,8 @@ type __internal_LocalizationResource = {
6707
6707
  };
6708
6708
  type WithParamName<T$1> = T$1 & Partial<Record<`${keyof T$1 & string}__${CamelToSnake<Exclude<FieldId, 'role'>>}`, LocalizationValue>>;
6709
6709
  type UnstableErrors = WithParamName<{
6710
+ avatar_file_type_invalid: LocalizationValue;
6711
+ avatar_file_size_exceeded: LocalizationValue;
6710
6712
  external_account_not_found: LocalizationValue;
6711
6713
  identification_deletion_failed: LocalizationValue;
6712
6714
  phone_number_exists: LocalizationValue;
@@ -7498,14 +7500,14 @@ interface Clerk {
7498
7500
  */
7499
7501
  unmountUserProfile: (targetNode: HTMLDivElement) => void;
7500
7502
  /**
7501
- * Mount an organization profile component at the target element.
7503
+ * Mount an Organization profile component at the target element.
7502
7504
  *
7503
7505
  * @param targetNode - Target to mount the OrganizationProfile component.
7504
7506
  * @param props - Configuration parameters.
7505
7507
  */
7506
7508
  mountOrganizationProfile: (targetNode: HTMLDivElement, props?: OrganizationProfileProps) => void;
7507
7509
  /**
7508
- * Unmount the organization profile component from the target node.
7510
+ * Unmount the Organization profile component from the target node.
7509
7511
  *
7510
7512
  * @param targetNode - Target node to unmount the OrganizationProfile component from.
7511
7513
  */
@@ -7524,20 +7526,20 @@ interface Clerk {
7524
7526
  */
7525
7527
  unmountCreateOrganization: (targetNode: HTMLDivElement) => void;
7526
7528
  /**
7527
- * Mount an organization switcher component at the target element.
7529
+ * Mount an Organization switcher component at the target element.
7528
7530
  *
7529
7531
  * @param targetNode - Target to mount the OrganizationSwitcher component.
7530
7532
  * @param props - Configuration parameters.
7531
7533
  */
7532
7534
  mountOrganizationSwitcher: (targetNode: HTMLDivElement, props?: OrganizationSwitcherProps) => void;
7533
7535
  /**
7534
- * Unmount the organization profile component from the target node.*
7536
+ * Unmount the Organization switcher component from the target node.*
7535
7537
  *
7536
7538
  * @param targetNode - Target node to unmount the OrganizationSwitcher component from.
7537
7539
  */
7538
7540
  unmountOrganizationSwitcher: (targetNode: HTMLDivElement) => void;
7539
7541
  /**
7540
- * Prefetches the data displayed by an organization switcher.
7542
+ * Prefetches the data displayed by an Organization switcher.
7541
7543
  * It can be used when `mountOrganizationSwitcher({ asStandalone: true})`, to avoid unwanted loading states.
7542
7544
  *
7543
7545
  * @experimental This experimental API is subject to change.
@@ -7546,14 +7548,14 @@ interface Clerk {
7546
7548
  */
7547
7549
  __experimental_prefetchOrganizationSwitcher: () => void;
7548
7550
  /**
7549
- * Mount an organization list component at the target element.
7551
+ * Mount an Organization list component at the target element.
7550
7552
  *
7551
7553
  * @param targetNode - Target to mount the OrganizationList component.
7552
7554
  * @param props - Configuration parameters.
7553
7555
  */
7554
7556
  mountOrganizationList: (targetNode: HTMLDivElement, props?: OrganizationListProps) => void;
7555
7557
  /**
7556
- * Unmount the organization list component from the target node.*
7558
+ * Unmount the Organization list component from the target node.*
7557
7559
  *
7558
7560
  * @param targetNode - Target node to unmount the OrganizationList component from.
7559
7561
  */
@@ -7690,7 +7692,7 @@ interface Clerk {
7690
7692
  */
7691
7693
  __internal_addNavigationListener: (callback: () => void) => UnsubscribeCallback;
7692
7694
  /**
7693
- * Set the active session and organization explicitly.
7695
+ * Set the active session and Organization explicitly.
7694
7696
  *
7695
7697
  * If the session param is `null`, the active session is deleted.
7696
7698
  * In a similar fashion, if the organization param is `null`, the current organization is removed as active.
@@ -7860,11 +7862,11 @@ interface Clerk {
7860
7862
  */
7861
7863
  authenticateWithGoogleOneTap: (params: AuthenticateWithGoogleOneTapParams) => Promise<SignInResource | SignUpResource>;
7862
7864
  /**
7863
- * Creates an organization, adding the current user as admin.
7865
+ * Creates an Organization, adding the current user as admin.
7864
7866
  */
7865
7867
  createOrganization: (params: CreateOrganizationParams) => Promise<OrganizationResource>;
7866
7868
  /**
7867
- * Retrieves a single organization by id.
7869
+ * Retrieves a single Organization by ID.
7868
7870
  */
7869
7871
  getOrganization: (organizationId: string) => Promise<OrganizationResource>;
7870
7872
  /**
@@ -7893,6 +7895,13 @@ interface Clerk {
7893
7895
  * initiated outside of the Clerk class.
7894
7896
  */
7895
7897
  __internal_setActiveInProgress: boolean;
7898
+ /**
7899
+ * Retrieves the session token from the browser cookie.
7900
+ * This is useful as a fallback when the in-memory lastActiveToken is not available.
7901
+ *
7902
+ * @internal
7903
+ */
7904
+ __internal_getSessionCookie?: () => string | undefined;
7896
7905
  /**
7897
7906
  * API Keys Object
7898
7907
  *
@@ -7981,7 +7990,7 @@ type ClerkOptions = ClerkOptionsNavigation & SignInForceRedirectUrl & SignInFall
7981
7990
  */
7982
7991
  appearance?: any;
7983
7992
  /**
7984
- * 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/customizing-clerk/account-portal) pages.
7993
+ * 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.
7985
7994
  */
7986
7995
  localization?: LocalizationResource;
7987
7996
  polling?: boolean;
@@ -7994,7 +8003,7 @@ type ClerkOptions = ClerkOptionsNavigation & SignInForceRedirectUrl & SignInFall
7994
8003
  */
7995
8004
  standardBrowser?: boolean;
7996
8005
  /**
7997
- * 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/customizing-clerk/account-portal) pages.
8006
+ * 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.
7998
8007
  */
7999
8008
  supportEmail?: string;
8000
8009
  /**
@@ -8042,7 +8051,7 @@ type ClerkOptions = ClerkOptionsNavigation & SignInForceRedirectUrl & SignInFall
8042
8051
  */
8043
8052
  sdkMetadata?: SDKMetadata;
8044
8053
  /**
8045
- * The full URL or path to the waitlist page. If `undefined`, will redirect to the [Account Portal waitlist page](https://clerk.com/docs/guides/customizing-clerk/account-portal#waitlist).
8054
+ * 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).
8046
8055
  */
8047
8056
  waitlistUrl?: string;
8048
8057
  /**
@@ -8185,7 +8194,7 @@ type SetActiveParams = {
8185
8194
  */
8186
8195
  session?: SignedInSessionResource | string | null;
8187
8196
  /**
8188
- * 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.
8197
+ * 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.
8189
8198
  */
8190
8199
  organization?: OrganizationResource | string | null;
8191
8200
  /**
@@ -8193,7 +8202,7 @@ type SetActiveParams = {
8193
8202
  */
8194
8203
  redirectUrl?: string;
8195
8204
  /**
8196
- * A custom navigation function to be called just before the session and/or organization is set.
8205
+ * A custom navigation function to be called just before the session and/or Organization is set.
8197
8206
  *
8198
8207
  * When provided, it takes precedence over the `redirectUrl` parameter for navigation.
8199
8208
  *
@@ -8454,7 +8463,7 @@ type UserProfileProps = RoutingOptions & {
8454
8463
  type UserProfileModalProps = WithoutRouting<UserProfileProps>;
8455
8464
  type OrganizationProfileProps = RoutingOptions & {
8456
8465
  /**
8457
- * Full URL or path to navigate to after the user leaves the currently active organization.
8466
+ * Full URL or path to navigate to after the user leaves the currently Active Organization.
8458
8467
  *
8459
8468
  * @default undefined
8460
8469
  */
@@ -8467,7 +8476,7 @@ type OrganizationProfileProps = RoutingOptions & {
8467
8476
  appearance?: ClerkAppearanceTheme;
8468
8477
  customPages?: CustomPage[];
8469
8478
  /**
8470
- * Specify on which page the organization profile modal will open.
8479
+ * Specify on which page the Organization profile modal will open.
8471
8480
  *
8472
8481
  * @example __experimental_startPath: '/organization-members'
8473
8482
  *
@@ -8492,13 +8501,13 @@ type OrganizationProfileProps = RoutingOptions & {
8492
8501
  type OrganizationProfileModalProps = WithoutRouting<OrganizationProfileProps>;
8493
8502
  type CreateOrganizationProps = RoutingOptions & {
8494
8503
  /**
8495
- * Full URL or path to navigate to after creating a new organization.
8504
+ * Full URL or path to navigate to after creating a new Organization.
8496
8505
  *
8497
8506
  * @default undefined
8498
8507
  */
8499
8508
  afterCreateOrganizationUrl?: ((organization: OrganizationResource) => string) | LooseExtractedParams<PrimitiveKeys<OrganizationResource>>;
8500
8509
  /**
8501
- * Hides the screen for sending invitations after an organization is created.
8510
+ * Hides the screen for sending invitations after an Organization is created.
8502
8511
  *
8503
8512
  * @default undefined When left undefined Clerk will automatically hide the screen if
8504
8513
  * the number of max allowed members is equal to 1
@@ -8596,10 +8605,10 @@ type OrganizationSwitcherProps = CreateOrganizationMode & OrganizationProfileMod
8596
8605
  */
8597
8606
  __experimental_asStandalone?: boolean | ((opened: boolean) => void);
8598
8607
  /**
8599
- * By default, users can switch between organization and their personal account.
8608
+ * By default, users can switch between Organization and their personal account.
8600
8609
  * This option controls whether OrganizationSwitcher will include the user's personal account
8601
- * in the organization list. Setting this to `false` will hide the personal account entry,
8602
- * and users will only be able to switch between organizations.
8610
+ * in the Organization list. Setting this to `false` will hide the personal account entry,
8611
+ * and users will only be able to switch between Organizations.
8603
8612
  *
8604
8613
  * @default true
8605
8614
  */
@@ -8611,7 +8620,7 @@ type OrganizationSwitcherProps = CreateOrganizationMode & OrganizationProfileMod
8611
8620
  */
8612
8621
  afterCreateOrganizationUrl?: ((organization: OrganizationResource) => string) | LooseExtractedParams<PrimitiveKeys<OrganizationResource>>;
8613
8622
  /**
8614
- * Full URL or path to navigate to after a successful organization selection.
8623
+ * Full URL or path to navigate to after a successful Organization selection.
8615
8624
  * Accepts a function that returns URL or path
8616
8625
  *
8617
8626
  * @default undefined`
@@ -8625,13 +8634,13 @@ type OrganizationSwitcherProps = CreateOrganizationMode & OrganizationProfileMod
8625
8634
  */
8626
8635
  afterSelectPersonalUrl?: ((user: UserResource) => string) | LooseExtractedParams<PrimitiveKeys<UserResource>>;
8627
8636
  /**
8628
- * Full URL or path to navigate to after the user leaves the currently active organization.
8637
+ * Full URL or path to navigate to after the user leaves the currently Active Organization.
8629
8638
  *
8630
8639
  * @default undefined
8631
8640
  */
8632
8641
  afterLeaveOrganizationUrl?: string;
8633
8642
  /**
8634
- * Hides the screen for sending invitations after an organization is created.
8643
+ * Hides the screen for sending invitations after an Organization is created.
8635
8644
  *
8636
8645
  * @default undefined When left undefined Clerk will automatically hide the screen if
8637
8646
  * the number of max allowed members is equal to 1
@@ -8647,13 +8656,13 @@ type OrganizationSwitcherProps = CreateOrganizationMode & OrganizationProfileMod
8647
8656
  };
8648
8657
  type OrganizationListProps = {
8649
8658
  /**
8650
- * Full URL or path to navigate to after creating a new organization.
8659
+ * Full URL or path to navigate to after creating a new Organization.
8651
8660
  *
8652
8661
  * @default undefined
8653
8662
  */
8654
8663
  afterCreateOrganizationUrl?: ((organization: OrganizationResource) => string) | LooseExtractedParams<PrimitiveKeys<OrganizationResource>>;
8655
8664
  /**
8656
- * Full URL or path to navigate to after a successful organization selection.
8665
+ * Full URL or path to navigate to after a successful Organization selection.
8657
8666
  * Accepts a function that returns URL or path
8658
8667
  *
8659
8668
  * @default undefined`
@@ -8666,17 +8675,17 @@ type OrganizationListProps = {
8666
8675
  */
8667
8676
  appearance?: ClerkAppearanceTheme;
8668
8677
  /**
8669
- * Hides the screen for sending invitations after an organization is created.
8678
+ * Hides the screen for sending invitations after an Organization is created.
8670
8679
  *
8671
8680
  * @default undefined When left undefined Clerk will automatically hide the screen if
8672
8681
  * the number of max allowed members is equal to 1
8673
8682
  */
8674
8683
  skipInvitationScreen?: boolean;
8675
8684
  /**
8676
- * By default, users can switch between organization and their personal account.
8685
+ * By default, users can switch between Organization and their personal account.
8677
8686
  * This option controls whether OrganizationList will include the user's personal account
8678
- * in the organization list. Setting this to `false` will hide the personal account entry,
8679
- * and users will only be able to switch between organizations.
8687
+ * in the Organization list. Setting this to `false` will hide the personal account entry,
8688
+ * and users will only be able to switch between Organizations.
8680
8689
  *
8681
8690
  * @default true
8682
8691
  */
@@ -8714,7 +8723,7 @@ type PricingTableDefaultProps = {
8714
8723
  */
8715
8724
  ctaPosition?: 'top' | 'bottom';
8716
8725
  /**
8717
- * Whether to collapse features on the pricing table.
8726
+ * Whether to collapse Features on the pricing table.
8718
8727
  *
8719
8728
  * @default false
8720
8729
  */
@@ -8729,7 +8738,7 @@ type PricingTableDefaultProps = {
8729
8738
  type PricingTableBaseProps = {
8730
8739
  /**
8731
8740
  * The subscriber type to display plans for.
8732
- * If `organization`, show plans for the active organization; otherwise for the user.
8741
+ * If `organization`, show Plans for the Active Organization; otherwise for the user.
8733
8742
  *
8734
8743
  * @default 'user'
8735
8744
  */
@@ -8826,7 +8835,7 @@ type __internal_PlanDetailsProps = ({
8826
8835
  plan?: never;
8827
8836
  } | {
8828
8837
  /**
8829
- * The plan object will be used as initial data until the plan is fetched from the server.
8838
+ * The Plan object will be used as initial data until the Plan is fetched from the server.
8830
8839
  */
8831
8840
  plan: BillingPlanResource;
8832
8841
  planId?: never;
@@ -8844,7 +8853,7 @@ type __experimental_PlanDetailsButtonProps = ({
8844
8853
  plan?: never;
8845
8854
  } | {
8846
8855
  /**
8847
- * The plan object will be used as initial data until the plan is fetched from the server.
8856
+ * The Plan object will be used as initial data until the Plan is fetched from the server.
8848
8857
  */
8849
8858
  plan: BillingPlanResource;
8850
8859
  planId?: never;
@@ -8862,7 +8871,7 @@ type __experimental_PlanDetailsButtonProps = ({
8862
8871
  type __internal_SubscriptionDetailsProps = {
8863
8872
  /**
8864
8873
  * The subscriber type to display the subscription details for.
8865
- * If `organization` is provided, the subscription details will be displayed for the active organization.
8874
+ * If `organization` is provided, the subscription details will be displayed for the Active Organization.
8866
8875
  *
8867
8876
  * @default 'user'
8868
8877
  */
@@ -8878,7 +8887,7 @@ type __internal_SubscriptionDetailsProps = {
8878
8887
  type __experimental_SubscriptionDetailsButtonProps = {
8879
8888
  /**
8880
8889
  * The subscriber type to display the subscription details for.
8881
- * If `organization` is provided, the subscription details will be displayed for the active organization.
8890
+ * If `organization` is provided, the subscription details will be displayed for the Active Organization.
8882
8891
  *
8883
8892
  * @default 'user'
8884
8893
  */
@@ -8983,11 +8992,11 @@ type CreateBulkOrganizationInvitationParams = {
8983
8992
  */
8984
8993
  interface CreateOrganizationParams {
8985
8994
  /**
8986
- * The name of the organization.
8995
+ * The name of the Organization.
8987
8996
  */
8988
8997
  name: string;
8989
8998
  /**
8990
- * The slug of the organization.
8999
+ * The slug of the Organization.
8991
9000
  */
8992
9001
  slug?: string;
8993
9002
  }
@@ -9179,19 +9188,19 @@ type SharedSignedInAuthObjectProperties = {
9179
9188
  */
9180
9189
  userId: string;
9181
9190
  /**
9182
- * The ID of the user's active organization.
9191
+ * The ID of the user's Active Organization.
9183
9192
  */
9184
9193
  orgId: string | undefined;
9185
9194
  /**
9186
- * The current user's role in their active organization.
9195
+ * The current user's Role in their Active Organization.
9187
9196
  */
9188
9197
  orgRole: OrganizationCustomRoleKey | undefined;
9189
9198
  /**
9190
- * The URL-friendly identifier of the user's active organization.
9199
+ * The URL-friendly identifier of the user's Active Organization.
9191
9200
  */
9192
9201
  orgSlug: string | undefined;
9193
9202
  /**
9194
- * The current user's active organization permissions.
9203
+ * The current user's Organization Permissions.
9195
9204
  */
9196
9205
  orgPermissions: OrganizationCustomPermissionKey[] | undefined;
9197
9206
  /**
@@ -9269,19 +9278,19 @@ type UseAuthReturn = {
9269
9278
  */
9270
9279
  actor: undefined;
9271
9280
  /**
9272
- * The ID of the user's active organization.
9281
+ * The ID of the user's active Organization.
9273
9282
  */
9274
9283
  orgId: undefined;
9275
9284
  /**
9276
- * The current user's role in their active organization.
9285
+ * The current user's Role in their active Organization.
9277
9286
  */
9278
9287
  orgRole: undefined;
9279
9288
  /**
9280
- * The URL-friendly identifier of the user's active organization.
9289
+ * The URL-friendly identifier of the user's Active Organization.
9281
9290
  */
9282
9291
  orgSlug: undefined;
9283
9292
  /**
9284
- * 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).
9293
+ * 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).
9285
9294
  */
9286
9295
  has: CheckAuthorizationSignedOut;
9287
9296
  /**
@@ -9412,7 +9421,7 @@ type UseSessionListReturn = {
9412
9421
  */
9413
9422
  sessions: undefined;
9414
9423
  /**
9415
- * A function that sets the active session and/or organization. See the [reference doc](https://clerk.com/docs/reference/javascript/clerk#set-active).
9424
+ * A function that sets the active session and/or Organization. See the [reference doc](https://clerk.com/docs/reference/javascript/clerk#set-active).
9416
9425
  */
9417
9426
  setActive: undefined;
9418
9427
  } | {
@@ -9456,24 +9465,24 @@ type PublishableKey = {
9456
9465
  /**
9457
9466
  * Props for the `<Protect />` component, which restricts access to its children based on authentication and authorization.
9458
9467
  *
9459
- * Use `ProtectProps` to specify the required role, permission, feature, or plan for access.
9468
+ * Use `ProtectProps` to specify the required Role, Permission, Feature, or Plan for access.
9460
9469
  *
9461
9470
  * @example
9462
9471
  * ```tsx
9463
- * // Require a specific permission
9472
+ * // Require a specific Permission
9464
9473
  * <Protect permission="a_permission_key" />
9465
9474
  *
9466
- * // Require a specific role
9475
+ * // Require a specific Role
9467
9476
  * <Protect role="a_role_key" />
9468
9477
  *
9469
9478
  * // Use a custom condition callback
9470
9479
  * <Protect condition={(has) => has({ permission: "a_permission_key" })} />
9471
9480
  *
9472
- * // Require a specific feature
9481
+ * // Require a specific Feature
9473
9482
  * <Protect feature="a_feature_key" />
9474
9483
  *
9475
- * // Require a specific plan
9476
- * <Protect plan=a_plan_key" />
9484
+ * // Require a specific Plan
9485
+ * <Protect plan="a_plan_key" />
9477
9486
  * ```
9478
9487
  */
9479
9488
  type ProtectProps = {