@clerk/types 4.54.0-snapshot.v20250412011738 → 4.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +110 -66
- package/dist/index.d.ts +110 -66
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -46,7 +46,7 @@ type UserPreviewId = 'userButton' | 'personalWorkspace';
|
|
|
46
46
|
type OrganizationPreviewId = 'organizationSwitcherTrigger' | 'organizationList' | 'organizationSwitcherListedOrganization' | 'organizationSwitcherActiveOrganization';
|
|
47
47
|
type CardActionId = 'havingTrouble' | 'alternativeMethods' | 'signUp' | 'signIn' | 'usePasskey' | 'waitlist';
|
|
48
48
|
type MenuId = 'invitation' | 'member' | ProfileSectionId;
|
|
49
|
-
type SelectId = 'countryCode' | 'role';
|
|
49
|
+
type SelectId = 'countryCode' | 'role' | 'paymentSource';
|
|
50
50
|
|
|
51
51
|
interface Web3ProviderData {
|
|
52
52
|
provider: Web3Provider;
|
|
@@ -469,6 +469,10 @@ type OrganizationDomainVerificationStatus = 'unverified' | 'verified';
|
|
|
469
469
|
* @inline
|
|
470
470
|
*/
|
|
471
471
|
type OrganizationEnrollmentMode = 'manual_invitation' | 'automatic_invitation' | 'automatic_suggestion';
|
|
472
|
+
/**
|
|
473
|
+
* The `OrganizationDomain` object is the model around an organization domain.
|
|
474
|
+
* @interface
|
|
475
|
+
*/
|
|
472
476
|
interface OrganizationDomainResource extends ClerkResource {
|
|
473
477
|
id: string;
|
|
474
478
|
name: string;
|
|
@@ -508,6 +512,10 @@ declare global {
|
|
|
508
512
|
[k: string]: unknown;
|
|
509
513
|
}
|
|
510
514
|
}
|
|
515
|
+
/**
|
|
516
|
+
* The `OrganizationInvitation` object is the model around an organization invitation.
|
|
517
|
+
* @interface
|
|
518
|
+
*/
|
|
511
519
|
interface OrganizationInvitationResource extends ClerkResource {
|
|
512
520
|
id: string;
|
|
513
521
|
emailAddress: string;
|
|
@@ -997,6 +1005,10 @@ interface ImageResource extends ClerkResource {
|
|
|
997
1005
|
* @inline
|
|
998
1006
|
*/
|
|
999
1007
|
type OrganizationSuggestionStatus = 'pending' | 'accepted';
|
|
1008
|
+
/**
|
|
1009
|
+
* An interface representing an organization suggestion.
|
|
1010
|
+
* @interface
|
|
1011
|
+
*/
|
|
1000
1012
|
interface OrganizationSuggestionResource extends ClerkResource {
|
|
1001
1013
|
id: string;
|
|
1002
1014
|
publicOrganizationData: {
|
|
@@ -1090,6 +1102,10 @@ declare global {
|
|
|
1090
1102
|
[k: string]: unknown;
|
|
1091
1103
|
}
|
|
1092
1104
|
}
|
|
1105
|
+
/**
|
|
1106
|
+
* The `OrganizationInvitation` object is the model around an organization invitation.
|
|
1107
|
+
* @interface
|
|
1108
|
+
*/
|
|
1093
1109
|
interface UserOrganizationInvitationResource extends ClerkResource {
|
|
1094
1110
|
id: string;
|
|
1095
1111
|
emailAddress: string;
|
|
@@ -1298,23 +1314,55 @@ type WithReverification<T> = T & {
|
|
|
1298
1314
|
type CheckAuthorizationParamsWithCustomPermissions = WithReverification<{
|
|
1299
1315
|
role: OrganizationCustomRoleKey;
|
|
1300
1316
|
permission?: never;
|
|
1317
|
+
feature?: never;
|
|
1318
|
+
plan?: never;
|
|
1301
1319
|
} | {
|
|
1302
1320
|
role?: never;
|
|
1303
1321
|
permission: OrganizationCustomPermissionKey;
|
|
1322
|
+
feature?: never;
|
|
1323
|
+
plan?: never;
|
|
1324
|
+
} | {
|
|
1325
|
+
role?: never;
|
|
1326
|
+
permission?: never;
|
|
1327
|
+
feature: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1328
|
+
plan?: never;
|
|
1304
1329
|
} | {
|
|
1305
1330
|
role?: never;
|
|
1306
1331
|
permission?: never;
|
|
1332
|
+
feature?: never;
|
|
1333
|
+
plan: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1334
|
+
} | {
|
|
1335
|
+
role?: never;
|
|
1336
|
+
permission?: never;
|
|
1337
|
+
feature?: never;
|
|
1338
|
+
plan?: never;
|
|
1307
1339
|
}>;
|
|
1308
1340
|
type CheckAuthorization = CheckAuthorizationFn<CheckAuthorizationParams>;
|
|
1309
1341
|
type CheckAuthorizationParams = WithReverification<{
|
|
1310
1342
|
role: OrganizationCustomRoleKey;
|
|
1311
1343
|
permission?: never;
|
|
1344
|
+
feature?: never;
|
|
1345
|
+
plan?: never;
|
|
1312
1346
|
} | {
|
|
1313
1347
|
role?: never;
|
|
1314
1348
|
permission: OrganizationPermissionKey;
|
|
1349
|
+
feature?: never;
|
|
1350
|
+
plan?: never;
|
|
1351
|
+
} | {
|
|
1352
|
+
role?: never;
|
|
1353
|
+
permission?: never;
|
|
1354
|
+
feature: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1355
|
+
plan?: never;
|
|
1356
|
+
} | {
|
|
1357
|
+
role?: never;
|
|
1358
|
+
permission?: never;
|
|
1359
|
+
feature?: never;
|
|
1360
|
+
plan: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1315
1361
|
} | {
|
|
1316
1362
|
role?: never;
|
|
1317
1363
|
permission?: never;
|
|
1364
|
+
feature?: never;
|
|
1365
|
+
plan?: never;
|
|
1318
1366
|
}>;
|
|
1319
1367
|
/**
|
|
1320
1368
|
* Type guard for server-side authorization checks using session claims.
|
|
@@ -1325,12 +1373,28 @@ type CheckAuthorizationFromSessionClaims = <P extends OrganizationCustomPermissi
|
|
|
1325
1373
|
type CheckAuthorizationParamsFromSessionClaims<P extends OrganizationCustomPermissionKey> = WithReverification<{
|
|
1326
1374
|
role: OrganizationCustomRoleKey;
|
|
1327
1375
|
permission?: never;
|
|
1376
|
+
feature?: never;
|
|
1377
|
+
plan?: never;
|
|
1328
1378
|
} | {
|
|
1329
1379
|
role?: never;
|
|
1330
1380
|
permission: DisallowSystemPermissions<P>;
|
|
1381
|
+
feature?: never;
|
|
1382
|
+
plan?: never;
|
|
1331
1383
|
} | {
|
|
1332
1384
|
role?: never;
|
|
1333
1385
|
permission?: never;
|
|
1386
|
+
feature: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1387
|
+
plan?: never;
|
|
1388
|
+
} | {
|
|
1389
|
+
role?: never;
|
|
1390
|
+
permission?: never;
|
|
1391
|
+
feature?: never;
|
|
1392
|
+
plan: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1393
|
+
} | {
|
|
1394
|
+
role?: never;
|
|
1395
|
+
permission?: never;
|
|
1396
|
+
feature?: never;
|
|
1397
|
+
plan?: never;
|
|
1334
1398
|
}>;
|
|
1335
1399
|
/**
|
|
1336
1400
|
* The `Session` object is an abstraction over an HTTP session. It models the period of information exchange between a user and the server.
|
|
@@ -1462,6 +1526,10 @@ type SessionVerifyAttemptFirstFactorParams = EmailCodeAttempt | PhoneCodeAttempt
|
|
|
1462
1526
|
type SessionVerifyPrepareSecondFactorParams = PhoneCodeSecondFactorConfig;
|
|
1463
1527
|
type SessionVerifyAttemptSecondFactorParams = PhoneCodeAttempt | TOTPAttempt | BackupCodeAttempt;
|
|
1464
1528
|
|
|
1529
|
+
/**
|
|
1530
|
+
* The `OrganizationMembershipRequest` object is the model that describes the request of a user to join an organization.
|
|
1531
|
+
* @interface
|
|
1532
|
+
*/
|
|
1465
1533
|
interface OrganizationMembershipRequestResource extends ClerkResource {
|
|
1466
1534
|
id: string;
|
|
1467
1535
|
organizationId: string;
|
|
@@ -1511,6 +1579,13 @@ declare global {
|
|
|
1511
1579
|
[k: string]: unknown;
|
|
1512
1580
|
}
|
|
1513
1581
|
}
|
|
1582
|
+
/**
|
|
1583
|
+
* The `Organization` object holds information about an organization, as well as methods for managing it.
|
|
1584
|
+
*
|
|
1585
|
+
* To use these methods, you must have the **Organizations** feature [enabled in your app's settings in the Clerk Dashboard](https://clerk.com/docs/organizations/overview#enable-organizations-in-your-application).
|
|
1586
|
+
*
|
|
1587
|
+
* @interface
|
|
1588
|
+
*/
|
|
1514
1589
|
interface OrganizationResource extends ClerkResource {
|
|
1515
1590
|
id: string;
|
|
1516
1591
|
name: string;
|
|
@@ -1613,6 +1688,10 @@ declare global {
|
|
|
1613
1688
|
[k: string]: unknown;
|
|
1614
1689
|
}
|
|
1615
1690
|
}
|
|
1691
|
+
/**
|
|
1692
|
+
* The `OrganizationMembership` object is the model around an organization membership entity and describes the relationship between users and organizations.
|
|
1693
|
+
* @interface
|
|
1694
|
+
*/
|
|
1616
1695
|
interface OrganizationMembershipResource extends ClerkResource {
|
|
1617
1696
|
id: string;
|
|
1618
1697
|
organization: OrganizationResource;
|
|
@@ -1624,6 +1703,9 @@ interface OrganizationMembershipResource extends ClerkResource {
|
|
|
1624
1703
|
updatedAt: Date;
|
|
1625
1704
|
destroy: () => Promise<OrganizationMembershipResource>;
|
|
1626
1705
|
update: (updateParams: UpdateOrganizationMembershipParams) => Promise<OrganizationMembershipResource>;
|
|
1706
|
+
/**
|
|
1707
|
+
* @internal
|
|
1708
|
+
*/
|
|
1627
1709
|
__internal_toSnapshot: () => OrganizationMembershipJSONSnapshot;
|
|
1628
1710
|
}
|
|
1629
1711
|
type OrganizationCustomPermissionKey = ClerkAuthorization extends Placeholder ? ClerkAuthorization['permission'] extends string ? ClerkAuthorization['permission'] : Base['permission'] : Base['permission'];
|
|
@@ -1760,6 +1842,10 @@ type VersionedJwtPayload = {
|
|
|
1760
1842
|
* Features for session.
|
|
1761
1843
|
*/
|
|
1762
1844
|
fea?: string;
|
|
1845
|
+
/**
|
|
1846
|
+
* Plans for session.
|
|
1847
|
+
*/
|
|
1848
|
+
pla?: string;
|
|
1763
1849
|
/**
|
|
1764
1850
|
* @experimental - This structure is subject to change.
|
|
1765
1851
|
*
|
|
@@ -2964,12 +3050,16 @@ interface __experimental_CommerceCheckoutJSON extends ClerkResourceJSON {
|
|
|
2964
3050
|
}
|
|
2965
3051
|
|
|
2966
3052
|
interface __experimental_CommerceSettingsJSON extends ClerkResourceJSON {
|
|
2967
|
-
|
|
2968
|
-
|
|
3053
|
+
billing: {
|
|
3054
|
+
enabled: boolean;
|
|
3055
|
+
stripe_publishable_key: string;
|
|
3056
|
+
};
|
|
2969
3057
|
}
|
|
2970
3058
|
interface __experimental_CommerceSettingsResource extends ClerkResource {
|
|
2971
|
-
|
|
2972
|
-
|
|
3059
|
+
billing: {
|
|
3060
|
+
enabled: boolean;
|
|
3061
|
+
stripePublishableKey: string;
|
|
3062
|
+
};
|
|
2973
3063
|
__internal_toSnapshot: () => __experimental_CommerceSettingsJSONSnapshot;
|
|
2974
3064
|
}
|
|
2975
3065
|
|
|
@@ -3421,6 +3511,12 @@ type ElementsConfig = {
|
|
|
3421
3511
|
selectButtonIcon: WithOptions<SelectId>;
|
|
3422
3512
|
selectOptionsContainer: WithOptions<SelectId>;
|
|
3423
3513
|
selectOption: WithOptions<SelectId>;
|
|
3514
|
+
paymentSourceRow: WithOptions;
|
|
3515
|
+
paymentSourceRowIcon: WithOptions;
|
|
3516
|
+
paymentSourceRowText: WithOptions;
|
|
3517
|
+
paymentSourceRowType: WithOptions;
|
|
3518
|
+
paymentSourceRowValue: WithOptions;
|
|
3519
|
+
paymentSourceRowBadge: WithOptions<'default' | 'expired'>;
|
|
3424
3520
|
menuButton: WithOptions<MenuId>;
|
|
3425
3521
|
menuButtonEllipsis: WithOptions;
|
|
3426
3522
|
menuList: WithOptions<MenuId>;
|
|
@@ -3803,7 +3899,6 @@ interface ClientResource extends ClerkResource {
|
|
|
3803
3899
|
signIn: SignInResource;
|
|
3804
3900
|
isNew: () => boolean;
|
|
3805
3901
|
create: () => Promise<ClientResource>;
|
|
3806
|
-
sendCaptchaToken: (params: unknown) => Promise<ClientResource>;
|
|
3807
3902
|
destroy: () => Promise<void>;
|
|
3808
3903
|
removeSessions: () => Promise<ClientResource>;
|
|
3809
3904
|
clearCache: () => void;
|
|
@@ -3816,6 +3911,7 @@ interface ClientResource extends ClerkResource {
|
|
|
3816
3911
|
cookieExpiresAt: Date | null;
|
|
3817
3912
|
createdAt: Date | null;
|
|
3818
3913
|
updatedAt: Date | null;
|
|
3914
|
+
__internal_sendCaptchaToken: (params: unknown) => Promise<ClientResource>;
|
|
3819
3915
|
__internal_toSnapshot: () => ClientJSONSnapshot;
|
|
3820
3916
|
/**
|
|
3821
3917
|
* @deprecated Use `signedInSessions` instead
|
|
@@ -4909,19 +5005,6 @@ interface SignOut {
|
|
|
4909
5005
|
(options?: SignOutOptions): Promise<void>;
|
|
4910
5006
|
(signOutCallback?: SignOutCallback, options?: SignOutOptions): Promise<void>;
|
|
4911
5007
|
}
|
|
4912
|
-
type ClerkEvent = keyof ClerkEventPayload;
|
|
4913
|
-
type EventHandler<E extends ClerkEvent> = (payload: ClerkEventPayload[E]) => void;
|
|
4914
|
-
type ClerkEventPayload = {
|
|
4915
|
-
status: ClerkStatus;
|
|
4916
|
-
};
|
|
4917
|
-
type OnEventListener = <E extends ClerkEvent>(event: E, handler: EventHandler<E>, opt?: {
|
|
4918
|
-
notify: boolean;
|
|
4919
|
-
}) => void;
|
|
4920
|
-
type OffEventListener = <E extends ClerkEvent>(event: E, handler: EventHandler<E>) => void;
|
|
4921
|
-
/**
|
|
4922
|
-
* @inline
|
|
4923
|
-
*/
|
|
4924
|
-
type ClerkStatus = 'degraded' | 'error' | 'loading' | 'ready';
|
|
4925
5008
|
/**
|
|
4926
5009
|
* Main Clerk SDK object.
|
|
4927
5010
|
*/
|
|
@@ -4939,14 +5022,6 @@ interface Clerk {
|
|
|
4939
5022
|
* If true the bootstrapping of Clerk.load() has completed successfully.
|
|
4940
5023
|
*/
|
|
4941
5024
|
loaded: boolean;
|
|
4942
|
-
/**
|
|
4943
|
-
* Describes the state the clerk singleton operates in:
|
|
4944
|
-
* - `"error"`: Clerk failed to initialize.
|
|
4945
|
-
* - `"loading"`: Clerk is still attempting to load.
|
|
4946
|
-
* - `"ready"`: Clerk singleton is fully operational.
|
|
4947
|
-
* - `"degraded"`: Clerk singleton is partially operational.
|
|
4948
|
-
*/
|
|
4949
|
-
status: ClerkStatus;
|
|
4950
5025
|
/**
|
|
4951
5026
|
* @internal
|
|
4952
5027
|
*/
|
|
@@ -5213,20 +5288,6 @@ interface Clerk {
|
|
|
5213
5288
|
* @returns - Unsubscribe callback
|
|
5214
5289
|
*/
|
|
5215
5290
|
addListener: (callback: ListenerCallback) => UnsubscribeCallback;
|
|
5216
|
-
/**
|
|
5217
|
-
* Registers an event handler for a specific Clerk event.
|
|
5218
|
-
* @param event - The event name to subscribe to
|
|
5219
|
-
* @param handler - The callback function to execute when the event is dispatched
|
|
5220
|
-
* @param opt - Optional configuration object
|
|
5221
|
-
* @param opt.notify - If true and the event was previously dispatched, handler will be called immediately with the latest payload
|
|
5222
|
-
*/
|
|
5223
|
-
on: OnEventListener;
|
|
5224
|
-
/**
|
|
5225
|
-
* Removes an event handler for a specific Clerk event.
|
|
5226
|
-
* @param event - The event name to unsubscribe from
|
|
5227
|
-
* @param handler - The callback function to remove
|
|
5228
|
-
*/
|
|
5229
|
-
off: OffEventListener;
|
|
5230
5291
|
/**
|
|
5231
5292
|
* Registers an internal listener that triggers a callback each time `Clerk.navigate` is called.
|
|
5232
5293
|
* Its purpose is to notify modal UI components when a navigation event occurs, allowing them to close if necessary.
|
|
@@ -5492,11 +5553,11 @@ type ClerkOptionsNavigation = {
|
|
|
5492
5553
|
};
|
|
5493
5554
|
type ClerkOptions = PendingSessionOptions & ClerkOptionsNavigation & SignInForceRedirectUrl & SignInFallbackRedirectUrl & SignUpForceRedirectUrl & SignUpFallbackRedirectUrl & LegacyRedirectProps & AfterSignOutUrl & AfterMultiSessionSingleSignOutUrl & {
|
|
5494
5555
|
/**
|
|
5495
|
-
* Optional object to style your components. Will only affect [Clerk Components](https://clerk.com/docs/components/overview) and not [Account Portal](https://clerk.com/docs/
|
|
5556
|
+
* Optional object to style your components. Will only affect [Clerk Components](https://clerk.com/docs/components/overview) and not [Account Portal](https://clerk.com/docs/account-portal/overview) pages.
|
|
5496
5557
|
*/
|
|
5497
5558
|
appearance?: Appearance;
|
|
5498
5559
|
/**
|
|
5499
|
-
* Optional object to localize your components. Will only affect [Clerk Components](https://clerk.com/docs/components/overview) and not [Account Portal](https://clerk.com/docs/
|
|
5560
|
+
* Optional object to localize your components. Will only affect [Clerk Components](https://clerk.com/docs/components/overview) and not [Account Portal](https://clerk.com/docs/account-portal/overview) pages.
|
|
5500
5561
|
*/
|
|
5501
5562
|
localization?: LocalizationResource;
|
|
5502
5563
|
polling?: boolean;
|
|
@@ -5509,7 +5570,7 @@ type ClerkOptions = PendingSessionOptions & ClerkOptionsNavigation & SignInForce
|
|
|
5509
5570
|
*/
|
|
5510
5571
|
standardBrowser?: boolean;
|
|
5511
5572
|
/**
|
|
5512
|
-
* Optional support email for display in authentication screens. Will only affect [Clerk Components](https://clerk.com/docs/components/overview) and not [Account Portal](https://clerk.com/docs/
|
|
5573
|
+
* Optional support email for display in authentication screens. Will only affect [Clerk Components](https://clerk.com/docs/components/overview) and not [Account Portal](https://clerk.com/docs/account-portal/overview) pages.
|
|
5513
5574
|
*/
|
|
5514
5575
|
supportEmail?: string;
|
|
5515
5576
|
/**
|
|
@@ -6205,7 +6266,6 @@ type CreateBulkOrganizationInvitationParams = {
|
|
|
6205
6266
|
role: OrganizationCustomRoleKey;
|
|
6206
6267
|
};
|
|
6207
6268
|
/**
|
|
6208
|
-
* Parameters for the `createOrganization()` method.
|
|
6209
6269
|
* @interface
|
|
6210
6270
|
*/
|
|
6211
6271
|
interface CreateOrganizationParams {
|
|
@@ -6291,11 +6351,7 @@ type CheckAuthorizationWithoutOrgOrUser = (params: Parameters<CheckAuthorization
|
|
|
6291
6351
|
/**
|
|
6292
6352
|
* @inline
|
|
6293
6353
|
*/
|
|
6294
|
-
type UseAuthReturn =
|
|
6295
|
-
/**
|
|
6296
|
-
* During initialization
|
|
6297
|
-
*/
|
|
6298
|
-
{
|
|
6354
|
+
type UseAuthReturn = {
|
|
6299
6355
|
/**
|
|
6300
6356
|
* A boolean that indicates whether Clerk has completed initialization. Initially `false`, becomes `true` once Clerk loads.
|
|
6301
6357
|
*/
|
|
@@ -6344,11 +6400,7 @@ type UseAuthReturn =
|
|
|
6344
6400
|
* A function that retrieves the current user's session token or a custom JWT template. Returns a promise that resolves to the token. See the [reference doc](https://clerk.com/docs/references/javascript/session#get-token).
|
|
6345
6401
|
*/
|
|
6346
6402
|
getToken: GetToken;
|
|
6347
|
-
}
|
|
6348
|
-
/**
|
|
6349
|
-
* When signed out
|
|
6350
|
-
*/
|
|
6351
|
-
| {
|
|
6403
|
+
} | {
|
|
6352
6404
|
isLoaded: true;
|
|
6353
6405
|
isSignedIn: false;
|
|
6354
6406
|
userId: null;
|
|
@@ -6361,11 +6413,7 @@ type UseAuthReturn =
|
|
|
6361
6413
|
has: CheckAuthorizationWithoutOrgOrUser;
|
|
6362
6414
|
signOut: SignOut;
|
|
6363
6415
|
getToken: GetToken;
|
|
6364
|
-
}
|
|
6365
|
-
/**
|
|
6366
|
-
* When signed in (no active organization)
|
|
6367
|
-
*/
|
|
6368
|
-
| {
|
|
6416
|
+
} | {
|
|
6369
6417
|
isLoaded: true;
|
|
6370
6418
|
isSignedIn: true;
|
|
6371
6419
|
userId: string;
|
|
@@ -6378,11 +6426,7 @@ type UseAuthReturn =
|
|
|
6378
6426
|
has: CheckAuthorizationWithCustomPermissions;
|
|
6379
6427
|
signOut: SignOut;
|
|
6380
6428
|
getToken: GetToken;
|
|
6381
|
-
}
|
|
6382
|
-
/**
|
|
6383
|
-
* When signed in (with active organization)
|
|
6384
|
-
*/
|
|
6385
|
-
| {
|
|
6429
|
+
} | {
|
|
6386
6430
|
isLoaded: true;
|
|
6387
6431
|
isSignedIn: true;
|
|
6388
6432
|
userId: string;
|
|
@@ -6637,4 +6681,4 @@ type SharedSignedInAuthObjectProperties = {
|
|
|
6637
6681
|
factorVerificationAge: [firstFactorAge: number, secondFactorAge: number] | null;
|
|
6638
6682
|
};
|
|
6639
6683
|
|
|
6640
|
-
export { type ActClaim, type ActJWTClaim, type Actions, type ActiveSessionResource, type AddMemberParams, type AfterMultiSessionSingleSignOutUrl, type AfterSignOutUrl, type AlertId, type AlphaColorScale, type Appearance, type AppleOauthProvider, type AtlassianOauthProvider, type AttemptAffiliationVerificationParams, type AttemptEmailAddressVerificationParams, type AttemptFirstFactorParams, type AttemptPhoneNumberVerificationParams, type AttemptSecondFactorParams, type AttemptVerificationParams, type AttemptWeb3WalletVerificationParams, type Attribute, type AttributeData, type AttributeDataJSON, type Attributes, type AttributesJSON, type AuthConfigJSON, type AuthConfigJSONSnapshot, type AuthConfigResource, type AuthenticateWithCoinbaseWalletParams, type AuthenticateWithGoogleOneTapParams, type AuthenticateWithMetamaskParams, type AuthenticateWithOKXWalletParams, type AuthenticateWithPasskeyParams, type AuthenticateWithPopupParams, type AuthenticateWithRedirectParams, type AuthenticateWithWeb3Params, type Autocomplete, type BackupCodeAttempt, type BackupCodeFactor, type BackupCodeJSON, type BackupCodeResource, type BackupCodeStrategy, type BaseTheme, type BaseThemeTaggedType, type BeforeEmitCallback, type BitbucketOauthProvider, type BoxOauthProvider, type BoxShadow, type BuiltInColors, type CamelToSnake, type CaptchaAppearanceOptions, type CaptchaProvider, type CaptchaWidgetType, type CardActionId, type CheckAuthorization, type CheckAuthorizationFn, type CheckAuthorizationFromSessionClaims, type CheckAuthorizationParamsFromSessionClaims, type CheckAuthorizationParamsWithCustomPermissions, type CheckAuthorizationWithCustomPermissions, type CheckoutTheme, type Clerk, type ClerkAPIError, type ClerkAPIErrorJSON, type ClerkAuthenticateWithWeb3Params, type ClerkEventPayload, type ClerkHostRouter, type ClerkJWTClaims, type ClerkOptions, type ClerkPaginatedResponse, type ClerkPaginationParams, type ClerkPaginationRequest, type ClerkResource, type ClerkResourceJSON, type ClerkResourceReloadParams, type ClerkRuntimeError, type ClerkStatus, type ClerkThemeOptions, type ClientJSON, type ClientJSONSnapshot, type ClientResource, type CodeVerificationAttemptParam, type CoinbaseOauthProvider, type CoinbaseWalletWeb3Provider, type Color, type ColorScale, type ColorScaleWithRequiredBase, type ColorString, type ComplexityErrors, type CreateBulkOrganizationInvitationParams, type CreateEmailAddressParams, type CreateEmailLinkFlowReturn, type CreateEnterpriseSSOLinkFlowReturn, type CreateExternalAccountParams, type CreateOrganizationInvitationParams, type CreateOrganizationModalProps, type CreateOrganizationParams, type CreateOrganizationProps, type CreateOrganizationTheme, type CreatePhoneNumberParams, type CreateWeb3WalletParams, type CredentialReturn, type CssColorOrAlphaScale, type CssColorOrScale, type CustomMenuItem, type CustomNavigation, type CustomOAuthStrategy, type CustomOauthProvider, type CustomPage, type DeepCamelToSnake, type DeepPartial, type DeepRequired, type DeepSnakeToCamel, type DeletedObjectJSON, type DeletedObjectResource, type DiscordOauthProvider, type DisplayConfigJSON, type DisplayConfigJSONSnapshot, type DisplayConfigResource, type DisplayThemeJSON, type DomainOrProxyUrl, type DropboxOauthProvider, type ElementObjectKey, type ElementState, type Elements, type ElementsConfig, type EmUnit, type EmailAddressIdentifier, type EmailAddressJSON, type EmailAddressJSONSnapshot, type EmailAddressOrPhoneNumberIdentifier, type EmailAddressResource, type EmailCodeAttempt, type EmailCodeConfig, type EmailCodeFactor, type EmailCodeStrategy, type EmailLinkConfig, type EmailLinkFactor, type EmailLinkStrategy, type EnstallOauthProvider, type EnterpriseAccountConnectionJSON, type EnterpriseAccountConnectionJSONSnapshot, type EnterpriseAccountConnectionResource, type EnterpriseAccountJSON, type EnterpriseAccountJSONSnapshot, type EnterpriseAccountResource, type EnterpriseProtocol, type EnterpriseProvider, type EnterpriseSSOConfig, type EnterpriseSSOFactor, type EnterpriseSSOSettings, type EnterpriseSSOStrategy, type EnvironmentJSON, type EnvironmentJSONSnapshot, type EnvironmentResource, type ExternalAccountJSON, type ExternalAccountJSONSnapshot, type ExternalAccountResource, type FacebookOauthProvider, type FieldId, type FirstNameAttribute, type FontFamily, type FontWeight, type GenerateSignature, type GenerateSignatureParams, type GetDomainsParams, type GetInvitationsParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetRolesParams, type GetToken, type GetTokenOptions, type GetUserOrganizationInvitationsParams, type GetUserOrganizationMembershipParams, type GetUserOrganizationSuggestionsParams, type GithubOauthProvider, type GitlabOauthProvider, type GoogleOauthProvider, type GoogleOneTapProps, type GoogleOneTapStrategy, type HandleEmailLinkVerificationParams, type HandleOAuthCallbackParams, type HandleSamlCallbackParams, type HexColor, type HexColorString, type HslaColor, type HslaColorString, type HubspotOauthProvider, type HuggingfaceOAuthProvider, type IdSelectors, type IdentificationLinkJSON, type IdentificationLinkJSONSnapshot, type IdentificationLinkResource, type ImageJSON, type ImageResource, type InitialState, type InstagramOauthProvider, type InstanceType, type InviteMemberParams, type InviteMembersParams, type JWT, type JWTClaims, type JWTHeader, type JoinWaitlistParams, type Jwt, type JwtHeader, type JwtPayload, type LastNameAttribute, type Layout, type LegacyRedirectProps, type LegalAcceptedAttribute, type LineOauthProvider, type LinearOauthProvider, type LinkedinOIDCOauthProvider, type LinkedinOauthProvider, type ListenerCallback, type LoadedClerk, type LocalizationResource, type LocalizationValue, type MenuId, type MetamaskWeb3Provider, type MicrosoftOauthProvider, type MultiDomainAndOrProxy, type MultiDomainAndOrProxyPrimitives, type NavigateOptions, type NextTaskParams, type NotionOauthProvider, type Nullable, OAUTH_PROVIDERS, type OAuthConfig, type OAuthProvider, type OAuthProviderData, type OAuthProviderSettings, type OAuthProviders, type OAuthScope, type OAuthStrategy, type OKXWalletWeb3Provider, type OauthFactor, type OrganizationCustomPermissionKey, type OrganizationCustomRoleKey, type OrganizationDomainJSON, type OrganizationDomainResource, type OrganizationDomainVerification, type OrganizationDomainVerificationJSON, type OrganizationDomainVerificationStatus, type OrganizationEnrollmentMode, type OrganizationInvitationJSON, type OrganizationInvitationResource, type OrganizationInvitationStatus, type OrganizationJSON, type OrganizationJSONSnapshot, type OrganizationListProps, type OrganizationListTheme, type OrganizationMembershipJSON, type OrganizationMembershipJSONSnapshot, type OrganizationMembershipRequestJSON, type OrganizationMembershipRequestResource, type OrganizationMembershipResource, type OrganizationPermissionKey, type OrganizationPreviewId, type OrganizationProfileModalProps, type OrganizationProfileProps, type OrganizationProfileTheme, type OrganizationResource, type OrganizationSettingsJSON, type OrganizationSettingsJSONSnapshot, type OrganizationSettingsResource, type OrganizationSuggestionJSON, type OrganizationSuggestionResource, type OrganizationSuggestionStatus, type OrganizationSwitcherProps, type OrganizationSwitcherTheme, type OrganizationSystemPermissionKey, type OrganizationSystemPermissionPrefix, type OrganizationsJWTClaim, type Override, type PartialWithClerkResource, type PassKeyConfig, type PasskeyAttempt, type PasskeyFactor, type PasskeyJSON, type PasskeyJSONSnapshot, type PasskeyResource, type PasskeySettingsData, type PasskeyStrategy, type PasskeyVerificationResource, type PasswordAttempt, type PasswordAttribute, type PasswordFactor, type PasswordSettingsData, type PasswordStrategy, type PasswordStrength, type PasswordValidation, type PathValue, type PendingSessionOptions, type PendingSessionResource, type PermissionJSON, type PermissionResource, type PhoneCodeAttempt, type PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, type PhoneNumberIdentifier, type PhoneNumberJSON, type PhoneNumberJSONSnapshot, type PhoneNumberResource, type PhoneNumberVerificationStrategy, type PreferredSignInStrategy, type PrepareAffiliationVerificationParams, type PrepareEmailAddressVerificationParams, type PrepareFirstFactorParams, type PreparePhoneNumberVerificationParams, type PrepareSecondFactorParams, type PrepareVerificationParams, type PrepareWeb3WalletVerificationParams, type PricingTableTheme, type ProfilePageId, type ProfileSectionId, type PublicKeyCredentialCreationOptionsJSON, type PublicKeyCredentialCreationOptionsWithoutExtensions, type PublicKeyCredentialRequestOptionsJSON, type PublicKeyCredentialRequestOptionsWithoutExtensions, type PublicKeyCredentialWithAuthenticatorAssertionResponse, type PublicKeyCredentialWithAuthenticatorAttestationResponse, type PublicOrganizationDataJSON, type PublicUserData, type PublicUserDataJSON, type PublicUserDataJSONSnapshot, type PublishableKey, type ReauthorizeExternalAccountParams, type RecordToPath, type RedirectOptions, type RedirectUrlProp, type RemoveUserPasswordParams, type ResetPasswordCodeFactor, type ResetPasswordEmailCodeAttempt, type ResetPasswordEmailCodeFactor, type ResetPasswordEmailCodeFactorConfig, type ResetPasswordEmailCodeStrategy, type ResetPasswordParams, type ResetPasswordPhoneCodeAttempt, type ResetPasswordPhoneCodeFactor, type ResetPasswordPhoneCodeFactorConfig, type ResetPasswordPhoneCodeStrategy, type Resources, type ReverificationConfig, type RgbaColor, type RgbaColorString, type RoleJSON, type RoleResource, type RoutingMode, type RoutingOptions, type RoutingStrategy, SAML_IDPS, type SDKMetadata, type SamlAccountConnectionJSON, type SamlAccountConnectionJSONSnapshot, type SamlAccountConnectionResource, type SamlAccountJSON, type SamlAccountJSONSnapshot, type SamlAccountResource, type SamlConfig, type SamlFactor, type SamlIdp, type SamlIdpMap, type SamlIdpSlug, type SamlSettings, type SamlStrategy, type SelectId, type Serializable, type ServerGetToken, type ServerGetTokenOptions, type SessionActivity, type SessionActivityJSON, type SessionJSON, type SessionJSONSnapshot, type SessionResource, type SessionStatus, type SessionStatusClaim, type SessionTask, type SessionVerificationAfterMinutes, type SessionVerificationFirstFactor, type SessionVerificationJSON, type SessionVerificationLevel, type SessionVerificationResource, type SessionVerificationSecondFactor, type SessionVerificationStatus, type SessionVerificationTypes, type SessionVerifyAttemptFirstFactorParams, type SessionVerifyAttemptSecondFactorParams, type SessionVerifyCreateParams, type SessionVerifyPrepareFirstFactorParams, type SessionVerifyPrepareSecondFactorParams, type SessionWithActivitiesJSON, type SessionWithActivitiesResource, type SetActive, type SetActiveParams, type SetOrganizationLogoParams, type SetProfileImageParams, type SetReservedForSecondFactorParams, type SharedSignedInAuthObjectProperties, type SignInButtonProps, type SignInCreateParams, type SignInData, type SignInFactor, type SignInFallbackRedirectUrl, type SignInFirstFactor, type SignInFirstFactorJSON, type SignInForceRedirectUrl, type SignInIdentifier, type SignInInitialValues, type SignInJSON, type SignInJSONSnapshot, type SignInModalProps, type SignInProps, type SignInRedirectOptions, type SignInResource, type SignInSecondFactor, type SignInSecondFactorJSON, type SignInStartEmailLinkFlowParams, type SignInStatus, type SignInStrategy, type SignInTheme, type SignOut, type SignOutCallback, type SignOutOptions, type SignUpAttributeField, type SignUpAuthenticateWithMetamaskParams, type SignUpAuthenticateWithWeb3Params, type SignUpButtonProps, type SignUpCreateParams, type SignUpData, type SignUpFallbackRedirectUrl, type SignUpField, type SignUpForceRedirectUrl, type SignUpIdentificationField, type SignUpInitialValues, type SignUpJSON, type SignUpJSONSnapshot, type SignUpModalProps, type SignUpModes, type SignUpProps, type SignUpRedirectOptions, type SignUpResource, type SignUpStatus, type SignUpTheme, type SignUpUpdateParams, type SignUpVerifiableField, type SignUpVerificationJSON, type SignUpVerificationJSONSnapshot, type SignUpVerificationResource, type SignUpVerificationsJSON, type SignUpVerificationsJSONSnapshot, type SignUpVerificationsResource, type SignatureVerificationAttemptParam, type SignedInSessionResource, type SlackOauthProvider, type SnakeToCamel, type SpotifyOauthProvider, type StartEmailLinkFlowParams, type StartEnterpriseSSOLinkFlowParams, type StateSelectors, type TOTPAttempt, type TOTPFactor, type TOTPJSON, type TOTPResource, type TOTPStrategy, type TelemetryCollector, type TelemetryEvent, type TelemetryEventRaw, type Theme, type TicketStrategy, type TiktokOauthProvider, type TokenJSON, type TokenJSONSnapshot, type TokenResource, type TransferableOption, type TransparentColor, type TwitchOauthProvider, type TwitterOauthProvider, type UnsubscribeCallback, type UpdateEnrollmentModeParams, type UpdateMembershipParams, type UpdateOrganizationMembershipParams, type UpdateOrganizationParams, type UpdatePasskeyParams, type UpdateUserParams, type UpdateUserPasswordParams, type UseAuthReturn, type UseSessionListReturn, type UseSessionReturn, type UseSignInReturn, type UseSignUpReturn, type UseUserReturn, type UserButtonProps, type UserButtonTheme, type UserData, type UserDataJSON, type UserDataJSONSnapshot, type UserJSON, type UserJSONSnapshot, type UserOrganizationInvitationJSON, type UserOrganizationInvitationResource, type UserPreviewId, type UserProfileModalProps, type UserProfileProps, type UserProfileTheme, type UserResource, type UserSettingsJSON, type UserSettingsJSONSnapshot, type UserSettingsResource, type UserVerificationTheme, type UsernameIdentifier, type UsernameSettingsData, type ValidatePasswordCallbacks, type Variables, type VerificationAttemptParams, type VerificationJSON, type VerificationJSONSnapshot, type VerificationResource, type VerificationStatus, type VerificationStrategy, type VerifyTOTPParams, type VersionedJwtPayload, WEB3_PROVIDERS, type WaitlistJSON, type WaitlistModalProps, type WaitlistProps, type WaitlistResource, type WaitlistTheme, type Web3Attempt, type Web3Provider, type Web3ProviderData, type Web3SignatureConfig, type Web3SignatureFactor, type Web3Strategy, type Web3WalletIdentifier, type Web3WalletJSON, type Web3WalletJSONSnapshot, type Web3WalletResource, type Without, type WithoutRouting, type XOauthProvider, type XeroOauthProvider, type ZxcvbnResult, type __experimental_AddPaymentSourceParams, type __experimental_CancelSubscriptionParams, type __experimental_CheckoutProps, type __experimental_CommerceBillingNamespace, type __experimental_CommerceCheckoutJSON, type __experimental_CommerceCheckoutResource, type __experimental_CommerceFeatureJSON, type __experimental_CommerceFeatureResource, type __experimental_CommerceInitializedPaymentSourceJSON, type __experimental_CommerceInitializedPaymentSourceResource, type __experimental_CommerceInvoiceJSON, type __experimental_CommerceInvoiceResource, type __experimental_CommerceMoney, type __experimental_CommerceMoneyJSON, type __experimental_CommerceNamespace, type __experimental_CommercePaymentSourceJSON, type __experimental_CommercePaymentSourceResource, type __experimental_CommercePaymentSourceStatus, type __experimental_CommercePlanJSON, type __experimental_CommercePlanResource, type __experimental_CommerceProductJSON, type __experimental_CommerceProductResource, type __experimental_CommerceSettingsJSON, type __experimental_CommerceSettingsJSONSnapshot, type __experimental_CommerceSettingsResource, type __experimental_CommerceSubscriberType, type __experimental_CommerceSubscriptionJSON, type __experimental_CommerceSubscriptionPlanPeriod, type __experimental_CommerceSubscriptionResource, type __experimental_CommerceSubscriptionStatus, type __experimental_CommerceTotals, type __experimental_CommerceTotalsJSON, type __experimental_ConfirmCheckoutParams, type __experimental_CreateCheckoutParams, type __experimental_GetPaymentSourcesParams, type __experimental_GetPlansParams, type __experimental_GetSubscriptionsParams, type __experimental_InitializePaymentSourceParams, type __experimental_MakeDefaultPaymentSourceParams, type __experimental_PaymentSourcesProps, type __experimental_PricingTableProps, type __experimental_RemovePaymentSourceParams, type __internal_ComponentNavigationContext, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
|
|
6684
|
+
export { type ActClaim, type ActJWTClaim, type Actions, type ActiveSessionResource, type AddMemberParams, type AfterMultiSessionSingleSignOutUrl, type AfterSignOutUrl, type AlertId, type AlphaColorScale, type Appearance, type AppleOauthProvider, type AtlassianOauthProvider, type AttemptAffiliationVerificationParams, type AttemptEmailAddressVerificationParams, type AttemptFirstFactorParams, type AttemptPhoneNumberVerificationParams, type AttemptSecondFactorParams, type AttemptVerificationParams, type AttemptWeb3WalletVerificationParams, type Attribute, type AttributeData, type AttributeDataJSON, type Attributes, type AttributesJSON, type AuthConfigJSON, type AuthConfigJSONSnapshot, type AuthConfigResource, type AuthenticateWithCoinbaseWalletParams, type AuthenticateWithGoogleOneTapParams, type AuthenticateWithMetamaskParams, type AuthenticateWithOKXWalletParams, type AuthenticateWithPasskeyParams, type AuthenticateWithPopupParams, type AuthenticateWithRedirectParams, type AuthenticateWithWeb3Params, type Autocomplete, type BackupCodeAttempt, type BackupCodeFactor, type BackupCodeJSON, type BackupCodeResource, type BackupCodeStrategy, type BaseTheme, type BaseThemeTaggedType, type BeforeEmitCallback, type BitbucketOauthProvider, type BoxOauthProvider, type BoxShadow, type BuiltInColors, type CamelToSnake, type CaptchaAppearanceOptions, type CaptchaProvider, type CaptchaWidgetType, type CardActionId, type CheckAuthorization, type CheckAuthorizationFn, type CheckAuthorizationFromSessionClaims, type CheckAuthorizationParamsFromSessionClaims, type CheckAuthorizationParamsWithCustomPermissions, type CheckAuthorizationWithCustomPermissions, type CheckoutTheme, type Clerk, type ClerkAPIError, type ClerkAPIErrorJSON, type ClerkAuthenticateWithWeb3Params, type ClerkHostRouter, type ClerkJWTClaims, type ClerkOptions, type ClerkPaginatedResponse, type ClerkPaginationParams, type ClerkPaginationRequest, type ClerkResource, type ClerkResourceJSON, type ClerkResourceReloadParams, type ClerkRuntimeError, type ClerkThemeOptions, type ClientJSON, type ClientJSONSnapshot, type ClientResource, type CodeVerificationAttemptParam, type CoinbaseOauthProvider, type CoinbaseWalletWeb3Provider, type Color, type ColorScale, type ColorScaleWithRequiredBase, type ColorString, type ComplexityErrors, type CreateBulkOrganizationInvitationParams, type CreateEmailAddressParams, type CreateEmailLinkFlowReturn, type CreateEnterpriseSSOLinkFlowReturn, type CreateExternalAccountParams, type CreateOrganizationInvitationParams, type CreateOrganizationModalProps, type CreateOrganizationParams, type CreateOrganizationProps, type CreateOrganizationTheme, type CreatePhoneNumberParams, type CreateWeb3WalletParams, type CredentialReturn, type CssColorOrAlphaScale, type CssColorOrScale, type CustomMenuItem, type CustomNavigation, type CustomOAuthStrategy, type CustomOauthProvider, type CustomPage, type DeepCamelToSnake, type DeepPartial, type DeepRequired, type DeepSnakeToCamel, type DeletedObjectJSON, type DeletedObjectResource, type DiscordOauthProvider, type DisplayConfigJSON, type DisplayConfigJSONSnapshot, type DisplayConfigResource, type DisplayThemeJSON, type DomainOrProxyUrl, type DropboxOauthProvider, type ElementObjectKey, type ElementState, type Elements, type ElementsConfig, type EmUnit, type EmailAddressIdentifier, type EmailAddressJSON, type EmailAddressJSONSnapshot, type EmailAddressOrPhoneNumberIdentifier, type EmailAddressResource, type EmailCodeAttempt, type EmailCodeConfig, type EmailCodeFactor, type EmailCodeStrategy, type EmailLinkConfig, type EmailLinkFactor, type EmailLinkStrategy, type EnstallOauthProvider, type EnterpriseAccountConnectionJSON, type EnterpriseAccountConnectionJSONSnapshot, type EnterpriseAccountConnectionResource, type EnterpriseAccountJSON, type EnterpriseAccountJSONSnapshot, type EnterpriseAccountResource, type EnterpriseProtocol, type EnterpriseProvider, type EnterpriseSSOConfig, type EnterpriseSSOFactor, type EnterpriseSSOSettings, type EnterpriseSSOStrategy, type EnvironmentJSON, type EnvironmentJSONSnapshot, type EnvironmentResource, type ExternalAccountJSON, type ExternalAccountJSONSnapshot, type ExternalAccountResource, type FacebookOauthProvider, type FieldId, type FirstNameAttribute, type FontFamily, type FontWeight, type GenerateSignature, type GenerateSignatureParams, type GetDomainsParams, type GetInvitationsParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetRolesParams, type GetToken, type GetTokenOptions, type GetUserOrganizationInvitationsParams, type GetUserOrganizationMembershipParams, type GetUserOrganizationSuggestionsParams, type GithubOauthProvider, type GitlabOauthProvider, type GoogleOauthProvider, type GoogleOneTapProps, type GoogleOneTapStrategy, type HandleEmailLinkVerificationParams, type HandleOAuthCallbackParams, type HandleSamlCallbackParams, type HexColor, type HexColorString, type HslaColor, type HslaColorString, type HubspotOauthProvider, type HuggingfaceOAuthProvider, type IdSelectors, type IdentificationLinkJSON, type IdentificationLinkJSONSnapshot, type IdentificationLinkResource, type ImageJSON, type ImageResource, type InitialState, type InstagramOauthProvider, type InstanceType, type InviteMemberParams, type InviteMembersParams, type JWT, type JWTClaims, type JWTHeader, type JoinWaitlistParams, type Jwt, type JwtHeader, type JwtPayload, type LastNameAttribute, type Layout, type LegacyRedirectProps, type LegalAcceptedAttribute, type LineOauthProvider, type LinearOauthProvider, type LinkedinOIDCOauthProvider, type LinkedinOauthProvider, type ListenerCallback, type LoadedClerk, type LocalizationResource, type LocalizationValue, type MenuId, type MetamaskWeb3Provider, type MicrosoftOauthProvider, type MultiDomainAndOrProxy, type MultiDomainAndOrProxyPrimitives, type NavigateOptions, type NextTaskParams, type NotionOauthProvider, type Nullable, OAUTH_PROVIDERS, type OAuthConfig, type OAuthProvider, type OAuthProviderData, type OAuthProviderSettings, type OAuthProviders, type OAuthScope, type OAuthStrategy, type OKXWalletWeb3Provider, type OauthFactor, type OrganizationCustomPermissionKey, type OrganizationCustomRoleKey, type OrganizationDomainJSON, type OrganizationDomainResource, type OrganizationDomainVerification, type OrganizationDomainVerificationJSON, type OrganizationDomainVerificationStatus, type OrganizationEnrollmentMode, type OrganizationInvitationJSON, type OrganizationInvitationResource, type OrganizationInvitationStatus, type OrganizationJSON, type OrganizationJSONSnapshot, type OrganizationListProps, type OrganizationListTheme, type OrganizationMembershipJSON, type OrganizationMembershipJSONSnapshot, type OrganizationMembershipRequestJSON, type OrganizationMembershipRequestResource, type OrganizationMembershipResource, type OrganizationPermissionKey, type OrganizationPreviewId, type OrganizationProfileModalProps, type OrganizationProfileProps, type OrganizationProfileTheme, type OrganizationResource, type OrganizationSettingsJSON, type OrganizationSettingsJSONSnapshot, type OrganizationSettingsResource, type OrganizationSuggestionJSON, type OrganizationSuggestionResource, type OrganizationSuggestionStatus, type OrganizationSwitcherProps, type OrganizationSwitcherTheme, type OrganizationSystemPermissionKey, type OrganizationSystemPermissionPrefix, type OrganizationsJWTClaim, type Override, type PartialWithClerkResource, type PassKeyConfig, type PasskeyAttempt, type PasskeyFactor, type PasskeyJSON, type PasskeyJSONSnapshot, type PasskeyResource, type PasskeySettingsData, type PasskeyStrategy, type PasskeyVerificationResource, type PasswordAttempt, type PasswordAttribute, type PasswordFactor, type PasswordSettingsData, type PasswordStrategy, type PasswordStrength, type PasswordValidation, type PathValue, type PendingSessionOptions, type PendingSessionResource, type PermissionJSON, type PermissionResource, type PhoneCodeAttempt, type PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, type PhoneNumberIdentifier, type PhoneNumberJSON, type PhoneNumberJSONSnapshot, type PhoneNumberResource, type PhoneNumberVerificationStrategy, type PreferredSignInStrategy, type PrepareAffiliationVerificationParams, type PrepareEmailAddressVerificationParams, type PrepareFirstFactorParams, type PreparePhoneNumberVerificationParams, type PrepareSecondFactorParams, type PrepareVerificationParams, type PrepareWeb3WalletVerificationParams, type PricingTableTheme, type ProfilePageId, type ProfileSectionId, type PublicKeyCredentialCreationOptionsJSON, type PublicKeyCredentialCreationOptionsWithoutExtensions, type PublicKeyCredentialRequestOptionsJSON, type PublicKeyCredentialRequestOptionsWithoutExtensions, type PublicKeyCredentialWithAuthenticatorAssertionResponse, type PublicKeyCredentialWithAuthenticatorAttestationResponse, type PublicOrganizationDataJSON, type PublicUserData, type PublicUserDataJSON, type PublicUserDataJSONSnapshot, type PublishableKey, type ReauthorizeExternalAccountParams, type RecordToPath, type RedirectOptions, type RedirectUrlProp, type RemoveUserPasswordParams, type ResetPasswordCodeFactor, type ResetPasswordEmailCodeAttempt, type ResetPasswordEmailCodeFactor, type ResetPasswordEmailCodeFactorConfig, type ResetPasswordEmailCodeStrategy, type ResetPasswordParams, type ResetPasswordPhoneCodeAttempt, type ResetPasswordPhoneCodeFactor, type ResetPasswordPhoneCodeFactorConfig, type ResetPasswordPhoneCodeStrategy, type Resources, type ReverificationConfig, type RgbaColor, type RgbaColorString, type RoleJSON, type RoleResource, type RoutingMode, type RoutingOptions, type RoutingStrategy, SAML_IDPS, type SDKMetadata, type SamlAccountConnectionJSON, type SamlAccountConnectionJSONSnapshot, type SamlAccountConnectionResource, type SamlAccountJSON, type SamlAccountJSONSnapshot, type SamlAccountResource, type SamlConfig, type SamlFactor, type SamlIdp, type SamlIdpMap, type SamlIdpSlug, type SamlSettings, type SamlStrategy, type SelectId, type Serializable, type ServerGetToken, type ServerGetTokenOptions, type SessionActivity, type SessionActivityJSON, type SessionJSON, type SessionJSONSnapshot, type SessionResource, type SessionStatus, type SessionStatusClaim, type SessionTask, type SessionVerificationAfterMinutes, type SessionVerificationFirstFactor, type SessionVerificationJSON, type SessionVerificationLevel, type SessionVerificationResource, type SessionVerificationSecondFactor, type SessionVerificationStatus, type SessionVerificationTypes, type SessionVerifyAttemptFirstFactorParams, type SessionVerifyAttemptSecondFactorParams, type SessionVerifyCreateParams, type SessionVerifyPrepareFirstFactorParams, type SessionVerifyPrepareSecondFactorParams, type SessionWithActivitiesJSON, type SessionWithActivitiesResource, type SetActive, type SetActiveParams, type SetOrganizationLogoParams, type SetProfileImageParams, type SetReservedForSecondFactorParams, type SharedSignedInAuthObjectProperties, type SignInButtonProps, type SignInCreateParams, type SignInData, type SignInFactor, type SignInFallbackRedirectUrl, type SignInFirstFactor, type SignInFirstFactorJSON, type SignInForceRedirectUrl, type SignInIdentifier, type SignInInitialValues, type SignInJSON, type SignInJSONSnapshot, type SignInModalProps, type SignInProps, type SignInRedirectOptions, type SignInResource, type SignInSecondFactor, type SignInSecondFactorJSON, type SignInStartEmailLinkFlowParams, type SignInStatus, type SignInStrategy, type SignInTheme, type SignOut, type SignOutCallback, type SignOutOptions, type SignUpAttributeField, type SignUpAuthenticateWithMetamaskParams, type SignUpAuthenticateWithWeb3Params, type SignUpButtonProps, type SignUpCreateParams, type SignUpData, type SignUpFallbackRedirectUrl, type SignUpField, type SignUpForceRedirectUrl, type SignUpIdentificationField, type SignUpInitialValues, type SignUpJSON, type SignUpJSONSnapshot, type SignUpModalProps, type SignUpModes, type SignUpProps, type SignUpRedirectOptions, type SignUpResource, type SignUpStatus, type SignUpTheme, type SignUpUpdateParams, type SignUpVerifiableField, type SignUpVerificationJSON, type SignUpVerificationJSONSnapshot, type SignUpVerificationResource, type SignUpVerificationsJSON, type SignUpVerificationsJSONSnapshot, type SignUpVerificationsResource, type SignatureVerificationAttemptParam, type SignedInSessionResource, type SlackOauthProvider, type SnakeToCamel, type SpotifyOauthProvider, type StartEmailLinkFlowParams, type StartEnterpriseSSOLinkFlowParams, type StateSelectors, type TOTPAttempt, type TOTPFactor, type TOTPJSON, type TOTPResource, type TOTPStrategy, type TelemetryCollector, type TelemetryEvent, type TelemetryEventRaw, type Theme, type TicketStrategy, type TiktokOauthProvider, type TokenJSON, type TokenJSONSnapshot, type TokenResource, type TransferableOption, type TransparentColor, type TwitchOauthProvider, type TwitterOauthProvider, type UnsubscribeCallback, type UpdateEnrollmentModeParams, type UpdateMembershipParams, type UpdateOrganizationMembershipParams, type UpdateOrganizationParams, type UpdatePasskeyParams, type UpdateUserParams, type UpdateUserPasswordParams, type UseAuthReturn, type UseSessionListReturn, type UseSessionReturn, type UseSignInReturn, type UseSignUpReturn, type UseUserReturn, type UserButtonProps, type UserButtonTheme, type UserData, type UserDataJSON, type UserDataJSONSnapshot, type UserJSON, type UserJSONSnapshot, type UserOrganizationInvitationJSON, type UserOrganizationInvitationResource, type UserPreviewId, type UserProfileModalProps, type UserProfileProps, type UserProfileTheme, type UserResource, type UserSettingsJSON, type UserSettingsJSONSnapshot, type UserSettingsResource, type UserVerificationTheme, type UsernameIdentifier, type UsernameSettingsData, type ValidatePasswordCallbacks, type Variables, type VerificationAttemptParams, type VerificationJSON, type VerificationJSONSnapshot, type VerificationResource, type VerificationStatus, type VerificationStrategy, type VerifyTOTPParams, type VersionedJwtPayload, WEB3_PROVIDERS, type WaitlistJSON, type WaitlistModalProps, type WaitlistProps, type WaitlistResource, type WaitlistTheme, type Web3Attempt, type Web3Provider, type Web3ProviderData, type Web3SignatureConfig, type Web3SignatureFactor, type Web3Strategy, type Web3WalletIdentifier, type Web3WalletJSON, type Web3WalletJSONSnapshot, type Web3WalletResource, type Without, type WithoutRouting, type XOauthProvider, type XeroOauthProvider, type ZxcvbnResult, type __experimental_AddPaymentSourceParams, type __experimental_CancelSubscriptionParams, type __experimental_CheckoutProps, type __experimental_CommerceBillingNamespace, type __experimental_CommerceCheckoutJSON, type __experimental_CommerceCheckoutResource, type __experimental_CommerceFeatureJSON, type __experimental_CommerceFeatureResource, type __experimental_CommerceInitializedPaymentSourceJSON, type __experimental_CommerceInitializedPaymentSourceResource, type __experimental_CommerceInvoiceJSON, type __experimental_CommerceInvoiceResource, type __experimental_CommerceMoney, type __experimental_CommerceMoneyJSON, type __experimental_CommerceNamespace, type __experimental_CommercePaymentSourceJSON, type __experimental_CommercePaymentSourceResource, type __experimental_CommercePaymentSourceStatus, type __experimental_CommercePlanJSON, type __experimental_CommercePlanResource, type __experimental_CommerceProductJSON, type __experimental_CommerceProductResource, type __experimental_CommerceSettingsJSON, type __experimental_CommerceSettingsJSONSnapshot, type __experimental_CommerceSettingsResource, type __experimental_CommerceSubscriberType, type __experimental_CommerceSubscriptionJSON, type __experimental_CommerceSubscriptionPlanPeriod, type __experimental_CommerceSubscriptionResource, type __experimental_CommerceSubscriptionStatus, type __experimental_CommerceTotals, type __experimental_CommerceTotalsJSON, type __experimental_ConfirmCheckoutParams, type __experimental_CreateCheckoutParams, type __experimental_GetPaymentSourcesParams, type __experimental_GetPlansParams, type __experimental_GetSubscriptionsParams, type __experimental_InitializePaymentSourceParams, type __experimental_MakeDefaultPaymentSourceParams, type __experimental_PaymentSourcesProps, type __experimental_PricingTableProps, type __experimental_RemovePaymentSourceParams, type __internal_ComponentNavigationContext, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
|
package/dist/index.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ type UserPreviewId = 'userButton' | 'personalWorkspace';
|
|
|
46
46
|
type OrganizationPreviewId = 'organizationSwitcherTrigger' | 'organizationList' | 'organizationSwitcherListedOrganization' | 'organizationSwitcherActiveOrganization';
|
|
47
47
|
type CardActionId = 'havingTrouble' | 'alternativeMethods' | 'signUp' | 'signIn' | 'usePasskey' | 'waitlist';
|
|
48
48
|
type MenuId = 'invitation' | 'member' | ProfileSectionId;
|
|
49
|
-
type SelectId = 'countryCode' | 'role';
|
|
49
|
+
type SelectId = 'countryCode' | 'role' | 'paymentSource';
|
|
50
50
|
|
|
51
51
|
interface Web3ProviderData {
|
|
52
52
|
provider: Web3Provider;
|
|
@@ -469,6 +469,10 @@ type OrganizationDomainVerificationStatus = 'unverified' | 'verified';
|
|
|
469
469
|
* @inline
|
|
470
470
|
*/
|
|
471
471
|
type OrganizationEnrollmentMode = 'manual_invitation' | 'automatic_invitation' | 'automatic_suggestion';
|
|
472
|
+
/**
|
|
473
|
+
* The `OrganizationDomain` object is the model around an organization domain.
|
|
474
|
+
* @interface
|
|
475
|
+
*/
|
|
472
476
|
interface OrganizationDomainResource extends ClerkResource {
|
|
473
477
|
id: string;
|
|
474
478
|
name: string;
|
|
@@ -508,6 +512,10 @@ declare global {
|
|
|
508
512
|
[k: string]: unknown;
|
|
509
513
|
}
|
|
510
514
|
}
|
|
515
|
+
/**
|
|
516
|
+
* The `OrganizationInvitation` object is the model around an organization invitation.
|
|
517
|
+
* @interface
|
|
518
|
+
*/
|
|
511
519
|
interface OrganizationInvitationResource extends ClerkResource {
|
|
512
520
|
id: string;
|
|
513
521
|
emailAddress: string;
|
|
@@ -997,6 +1005,10 @@ interface ImageResource extends ClerkResource {
|
|
|
997
1005
|
* @inline
|
|
998
1006
|
*/
|
|
999
1007
|
type OrganizationSuggestionStatus = 'pending' | 'accepted';
|
|
1008
|
+
/**
|
|
1009
|
+
* An interface representing an organization suggestion.
|
|
1010
|
+
* @interface
|
|
1011
|
+
*/
|
|
1000
1012
|
interface OrganizationSuggestionResource extends ClerkResource {
|
|
1001
1013
|
id: string;
|
|
1002
1014
|
publicOrganizationData: {
|
|
@@ -1090,6 +1102,10 @@ declare global {
|
|
|
1090
1102
|
[k: string]: unknown;
|
|
1091
1103
|
}
|
|
1092
1104
|
}
|
|
1105
|
+
/**
|
|
1106
|
+
* The `OrganizationInvitation` object is the model around an organization invitation.
|
|
1107
|
+
* @interface
|
|
1108
|
+
*/
|
|
1093
1109
|
interface UserOrganizationInvitationResource extends ClerkResource {
|
|
1094
1110
|
id: string;
|
|
1095
1111
|
emailAddress: string;
|
|
@@ -1298,23 +1314,55 @@ type WithReverification<T> = T & {
|
|
|
1298
1314
|
type CheckAuthorizationParamsWithCustomPermissions = WithReverification<{
|
|
1299
1315
|
role: OrganizationCustomRoleKey;
|
|
1300
1316
|
permission?: never;
|
|
1317
|
+
feature?: never;
|
|
1318
|
+
plan?: never;
|
|
1301
1319
|
} | {
|
|
1302
1320
|
role?: never;
|
|
1303
1321
|
permission: OrganizationCustomPermissionKey;
|
|
1322
|
+
feature?: never;
|
|
1323
|
+
plan?: never;
|
|
1324
|
+
} | {
|
|
1325
|
+
role?: never;
|
|
1326
|
+
permission?: never;
|
|
1327
|
+
feature: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1328
|
+
plan?: never;
|
|
1304
1329
|
} | {
|
|
1305
1330
|
role?: never;
|
|
1306
1331
|
permission?: never;
|
|
1332
|
+
feature?: never;
|
|
1333
|
+
plan: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1334
|
+
} | {
|
|
1335
|
+
role?: never;
|
|
1336
|
+
permission?: never;
|
|
1337
|
+
feature?: never;
|
|
1338
|
+
plan?: never;
|
|
1307
1339
|
}>;
|
|
1308
1340
|
type CheckAuthorization = CheckAuthorizationFn<CheckAuthorizationParams>;
|
|
1309
1341
|
type CheckAuthorizationParams = WithReverification<{
|
|
1310
1342
|
role: OrganizationCustomRoleKey;
|
|
1311
1343
|
permission?: never;
|
|
1344
|
+
feature?: never;
|
|
1345
|
+
plan?: never;
|
|
1312
1346
|
} | {
|
|
1313
1347
|
role?: never;
|
|
1314
1348
|
permission: OrganizationPermissionKey;
|
|
1349
|
+
feature?: never;
|
|
1350
|
+
plan?: never;
|
|
1351
|
+
} | {
|
|
1352
|
+
role?: never;
|
|
1353
|
+
permission?: never;
|
|
1354
|
+
feature: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1355
|
+
plan?: never;
|
|
1356
|
+
} | {
|
|
1357
|
+
role?: never;
|
|
1358
|
+
permission?: never;
|
|
1359
|
+
feature?: never;
|
|
1360
|
+
plan: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1315
1361
|
} | {
|
|
1316
1362
|
role?: never;
|
|
1317
1363
|
permission?: never;
|
|
1364
|
+
feature?: never;
|
|
1365
|
+
plan?: never;
|
|
1318
1366
|
}>;
|
|
1319
1367
|
/**
|
|
1320
1368
|
* Type guard for server-side authorization checks using session claims.
|
|
@@ -1325,12 +1373,28 @@ type CheckAuthorizationFromSessionClaims = <P extends OrganizationCustomPermissi
|
|
|
1325
1373
|
type CheckAuthorizationParamsFromSessionClaims<P extends OrganizationCustomPermissionKey> = WithReverification<{
|
|
1326
1374
|
role: OrganizationCustomRoleKey;
|
|
1327
1375
|
permission?: never;
|
|
1376
|
+
feature?: never;
|
|
1377
|
+
plan?: never;
|
|
1328
1378
|
} | {
|
|
1329
1379
|
role?: never;
|
|
1330
1380
|
permission: DisallowSystemPermissions<P>;
|
|
1381
|
+
feature?: never;
|
|
1382
|
+
plan?: never;
|
|
1331
1383
|
} | {
|
|
1332
1384
|
role?: never;
|
|
1333
1385
|
permission?: never;
|
|
1386
|
+
feature: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1387
|
+
plan?: never;
|
|
1388
|
+
} | {
|
|
1389
|
+
role?: never;
|
|
1390
|
+
permission?: never;
|
|
1391
|
+
feature?: never;
|
|
1392
|
+
plan: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1393
|
+
} | {
|
|
1394
|
+
role?: never;
|
|
1395
|
+
permission?: never;
|
|
1396
|
+
feature?: never;
|
|
1397
|
+
plan?: never;
|
|
1334
1398
|
}>;
|
|
1335
1399
|
/**
|
|
1336
1400
|
* The `Session` object is an abstraction over an HTTP session. It models the period of information exchange between a user and the server.
|
|
@@ -1462,6 +1526,10 @@ type SessionVerifyAttemptFirstFactorParams = EmailCodeAttempt | PhoneCodeAttempt
|
|
|
1462
1526
|
type SessionVerifyPrepareSecondFactorParams = PhoneCodeSecondFactorConfig;
|
|
1463
1527
|
type SessionVerifyAttemptSecondFactorParams = PhoneCodeAttempt | TOTPAttempt | BackupCodeAttempt;
|
|
1464
1528
|
|
|
1529
|
+
/**
|
|
1530
|
+
* The `OrganizationMembershipRequest` object is the model that describes the request of a user to join an organization.
|
|
1531
|
+
* @interface
|
|
1532
|
+
*/
|
|
1465
1533
|
interface OrganizationMembershipRequestResource extends ClerkResource {
|
|
1466
1534
|
id: string;
|
|
1467
1535
|
organizationId: string;
|
|
@@ -1511,6 +1579,13 @@ declare global {
|
|
|
1511
1579
|
[k: string]: unknown;
|
|
1512
1580
|
}
|
|
1513
1581
|
}
|
|
1582
|
+
/**
|
|
1583
|
+
* The `Organization` object holds information about an organization, as well as methods for managing it.
|
|
1584
|
+
*
|
|
1585
|
+
* To use these methods, you must have the **Organizations** feature [enabled in your app's settings in the Clerk Dashboard](https://clerk.com/docs/organizations/overview#enable-organizations-in-your-application).
|
|
1586
|
+
*
|
|
1587
|
+
* @interface
|
|
1588
|
+
*/
|
|
1514
1589
|
interface OrganizationResource extends ClerkResource {
|
|
1515
1590
|
id: string;
|
|
1516
1591
|
name: string;
|
|
@@ -1613,6 +1688,10 @@ declare global {
|
|
|
1613
1688
|
[k: string]: unknown;
|
|
1614
1689
|
}
|
|
1615
1690
|
}
|
|
1691
|
+
/**
|
|
1692
|
+
* The `OrganizationMembership` object is the model around an organization membership entity and describes the relationship between users and organizations.
|
|
1693
|
+
* @interface
|
|
1694
|
+
*/
|
|
1616
1695
|
interface OrganizationMembershipResource extends ClerkResource {
|
|
1617
1696
|
id: string;
|
|
1618
1697
|
organization: OrganizationResource;
|
|
@@ -1624,6 +1703,9 @@ interface OrganizationMembershipResource extends ClerkResource {
|
|
|
1624
1703
|
updatedAt: Date;
|
|
1625
1704
|
destroy: () => Promise<OrganizationMembershipResource>;
|
|
1626
1705
|
update: (updateParams: UpdateOrganizationMembershipParams) => Promise<OrganizationMembershipResource>;
|
|
1706
|
+
/**
|
|
1707
|
+
* @internal
|
|
1708
|
+
*/
|
|
1627
1709
|
__internal_toSnapshot: () => OrganizationMembershipJSONSnapshot;
|
|
1628
1710
|
}
|
|
1629
1711
|
type OrganizationCustomPermissionKey = ClerkAuthorization extends Placeholder ? ClerkAuthorization['permission'] extends string ? ClerkAuthorization['permission'] : Base['permission'] : Base['permission'];
|
|
@@ -1760,6 +1842,10 @@ type VersionedJwtPayload = {
|
|
|
1760
1842
|
* Features for session.
|
|
1761
1843
|
*/
|
|
1762
1844
|
fea?: string;
|
|
1845
|
+
/**
|
|
1846
|
+
* Plans for session.
|
|
1847
|
+
*/
|
|
1848
|
+
pla?: string;
|
|
1763
1849
|
/**
|
|
1764
1850
|
* @experimental - This structure is subject to change.
|
|
1765
1851
|
*
|
|
@@ -2964,12 +3050,16 @@ interface __experimental_CommerceCheckoutJSON extends ClerkResourceJSON {
|
|
|
2964
3050
|
}
|
|
2965
3051
|
|
|
2966
3052
|
interface __experimental_CommerceSettingsJSON extends ClerkResourceJSON {
|
|
2967
|
-
|
|
2968
|
-
|
|
3053
|
+
billing: {
|
|
3054
|
+
enabled: boolean;
|
|
3055
|
+
stripe_publishable_key: string;
|
|
3056
|
+
};
|
|
2969
3057
|
}
|
|
2970
3058
|
interface __experimental_CommerceSettingsResource extends ClerkResource {
|
|
2971
|
-
|
|
2972
|
-
|
|
3059
|
+
billing: {
|
|
3060
|
+
enabled: boolean;
|
|
3061
|
+
stripePublishableKey: string;
|
|
3062
|
+
};
|
|
2973
3063
|
__internal_toSnapshot: () => __experimental_CommerceSettingsJSONSnapshot;
|
|
2974
3064
|
}
|
|
2975
3065
|
|
|
@@ -3421,6 +3511,12 @@ type ElementsConfig = {
|
|
|
3421
3511
|
selectButtonIcon: WithOptions<SelectId>;
|
|
3422
3512
|
selectOptionsContainer: WithOptions<SelectId>;
|
|
3423
3513
|
selectOption: WithOptions<SelectId>;
|
|
3514
|
+
paymentSourceRow: WithOptions;
|
|
3515
|
+
paymentSourceRowIcon: WithOptions;
|
|
3516
|
+
paymentSourceRowText: WithOptions;
|
|
3517
|
+
paymentSourceRowType: WithOptions;
|
|
3518
|
+
paymentSourceRowValue: WithOptions;
|
|
3519
|
+
paymentSourceRowBadge: WithOptions<'default' | 'expired'>;
|
|
3424
3520
|
menuButton: WithOptions<MenuId>;
|
|
3425
3521
|
menuButtonEllipsis: WithOptions;
|
|
3426
3522
|
menuList: WithOptions<MenuId>;
|
|
@@ -3803,7 +3899,6 @@ interface ClientResource extends ClerkResource {
|
|
|
3803
3899
|
signIn: SignInResource;
|
|
3804
3900
|
isNew: () => boolean;
|
|
3805
3901
|
create: () => Promise<ClientResource>;
|
|
3806
|
-
sendCaptchaToken: (params: unknown) => Promise<ClientResource>;
|
|
3807
3902
|
destroy: () => Promise<void>;
|
|
3808
3903
|
removeSessions: () => Promise<ClientResource>;
|
|
3809
3904
|
clearCache: () => void;
|
|
@@ -3816,6 +3911,7 @@ interface ClientResource extends ClerkResource {
|
|
|
3816
3911
|
cookieExpiresAt: Date | null;
|
|
3817
3912
|
createdAt: Date | null;
|
|
3818
3913
|
updatedAt: Date | null;
|
|
3914
|
+
__internal_sendCaptchaToken: (params: unknown) => Promise<ClientResource>;
|
|
3819
3915
|
__internal_toSnapshot: () => ClientJSONSnapshot;
|
|
3820
3916
|
/**
|
|
3821
3917
|
* @deprecated Use `signedInSessions` instead
|
|
@@ -4909,19 +5005,6 @@ interface SignOut {
|
|
|
4909
5005
|
(options?: SignOutOptions): Promise<void>;
|
|
4910
5006
|
(signOutCallback?: SignOutCallback, options?: SignOutOptions): Promise<void>;
|
|
4911
5007
|
}
|
|
4912
|
-
type ClerkEvent = keyof ClerkEventPayload;
|
|
4913
|
-
type EventHandler<E extends ClerkEvent> = (payload: ClerkEventPayload[E]) => void;
|
|
4914
|
-
type ClerkEventPayload = {
|
|
4915
|
-
status: ClerkStatus;
|
|
4916
|
-
};
|
|
4917
|
-
type OnEventListener = <E extends ClerkEvent>(event: E, handler: EventHandler<E>, opt?: {
|
|
4918
|
-
notify: boolean;
|
|
4919
|
-
}) => void;
|
|
4920
|
-
type OffEventListener = <E extends ClerkEvent>(event: E, handler: EventHandler<E>) => void;
|
|
4921
|
-
/**
|
|
4922
|
-
* @inline
|
|
4923
|
-
*/
|
|
4924
|
-
type ClerkStatus = 'degraded' | 'error' | 'loading' | 'ready';
|
|
4925
5008
|
/**
|
|
4926
5009
|
* Main Clerk SDK object.
|
|
4927
5010
|
*/
|
|
@@ -4939,14 +5022,6 @@ interface Clerk {
|
|
|
4939
5022
|
* If true the bootstrapping of Clerk.load() has completed successfully.
|
|
4940
5023
|
*/
|
|
4941
5024
|
loaded: boolean;
|
|
4942
|
-
/**
|
|
4943
|
-
* Describes the state the clerk singleton operates in:
|
|
4944
|
-
* - `"error"`: Clerk failed to initialize.
|
|
4945
|
-
* - `"loading"`: Clerk is still attempting to load.
|
|
4946
|
-
* - `"ready"`: Clerk singleton is fully operational.
|
|
4947
|
-
* - `"degraded"`: Clerk singleton is partially operational.
|
|
4948
|
-
*/
|
|
4949
|
-
status: ClerkStatus;
|
|
4950
5025
|
/**
|
|
4951
5026
|
* @internal
|
|
4952
5027
|
*/
|
|
@@ -5213,20 +5288,6 @@ interface Clerk {
|
|
|
5213
5288
|
* @returns - Unsubscribe callback
|
|
5214
5289
|
*/
|
|
5215
5290
|
addListener: (callback: ListenerCallback) => UnsubscribeCallback;
|
|
5216
|
-
/**
|
|
5217
|
-
* Registers an event handler for a specific Clerk event.
|
|
5218
|
-
* @param event - The event name to subscribe to
|
|
5219
|
-
* @param handler - The callback function to execute when the event is dispatched
|
|
5220
|
-
* @param opt - Optional configuration object
|
|
5221
|
-
* @param opt.notify - If true and the event was previously dispatched, handler will be called immediately with the latest payload
|
|
5222
|
-
*/
|
|
5223
|
-
on: OnEventListener;
|
|
5224
|
-
/**
|
|
5225
|
-
* Removes an event handler for a specific Clerk event.
|
|
5226
|
-
* @param event - The event name to unsubscribe from
|
|
5227
|
-
* @param handler - The callback function to remove
|
|
5228
|
-
*/
|
|
5229
|
-
off: OffEventListener;
|
|
5230
5291
|
/**
|
|
5231
5292
|
* Registers an internal listener that triggers a callback each time `Clerk.navigate` is called.
|
|
5232
5293
|
* Its purpose is to notify modal UI components when a navigation event occurs, allowing them to close if necessary.
|
|
@@ -5492,11 +5553,11 @@ type ClerkOptionsNavigation = {
|
|
|
5492
5553
|
};
|
|
5493
5554
|
type ClerkOptions = PendingSessionOptions & ClerkOptionsNavigation & SignInForceRedirectUrl & SignInFallbackRedirectUrl & SignUpForceRedirectUrl & SignUpFallbackRedirectUrl & LegacyRedirectProps & AfterSignOutUrl & AfterMultiSessionSingleSignOutUrl & {
|
|
5494
5555
|
/**
|
|
5495
|
-
* Optional object to style your components. Will only affect [Clerk Components](https://clerk.com/docs/components/overview) and not [Account Portal](https://clerk.com/docs/
|
|
5556
|
+
* Optional object to style your components. Will only affect [Clerk Components](https://clerk.com/docs/components/overview) and not [Account Portal](https://clerk.com/docs/account-portal/overview) pages.
|
|
5496
5557
|
*/
|
|
5497
5558
|
appearance?: Appearance;
|
|
5498
5559
|
/**
|
|
5499
|
-
* Optional object to localize your components. Will only affect [Clerk Components](https://clerk.com/docs/components/overview) and not [Account Portal](https://clerk.com/docs/
|
|
5560
|
+
* Optional object to localize your components. Will only affect [Clerk Components](https://clerk.com/docs/components/overview) and not [Account Portal](https://clerk.com/docs/account-portal/overview) pages.
|
|
5500
5561
|
*/
|
|
5501
5562
|
localization?: LocalizationResource;
|
|
5502
5563
|
polling?: boolean;
|
|
@@ -5509,7 +5570,7 @@ type ClerkOptions = PendingSessionOptions & ClerkOptionsNavigation & SignInForce
|
|
|
5509
5570
|
*/
|
|
5510
5571
|
standardBrowser?: boolean;
|
|
5511
5572
|
/**
|
|
5512
|
-
* Optional support email for display in authentication screens. Will only affect [Clerk Components](https://clerk.com/docs/components/overview) and not [Account Portal](https://clerk.com/docs/
|
|
5573
|
+
* Optional support email for display in authentication screens. Will only affect [Clerk Components](https://clerk.com/docs/components/overview) and not [Account Portal](https://clerk.com/docs/account-portal/overview) pages.
|
|
5513
5574
|
*/
|
|
5514
5575
|
supportEmail?: string;
|
|
5515
5576
|
/**
|
|
@@ -6205,7 +6266,6 @@ type CreateBulkOrganizationInvitationParams = {
|
|
|
6205
6266
|
role: OrganizationCustomRoleKey;
|
|
6206
6267
|
};
|
|
6207
6268
|
/**
|
|
6208
|
-
* Parameters for the `createOrganization()` method.
|
|
6209
6269
|
* @interface
|
|
6210
6270
|
*/
|
|
6211
6271
|
interface CreateOrganizationParams {
|
|
@@ -6291,11 +6351,7 @@ type CheckAuthorizationWithoutOrgOrUser = (params: Parameters<CheckAuthorization
|
|
|
6291
6351
|
/**
|
|
6292
6352
|
* @inline
|
|
6293
6353
|
*/
|
|
6294
|
-
type UseAuthReturn =
|
|
6295
|
-
/**
|
|
6296
|
-
* During initialization
|
|
6297
|
-
*/
|
|
6298
|
-
{
|
|
6354
|
+
type UseAuthReturn = {
|
|
6299
6355
|
/**
|
|
6300
6356
|
* A boolean that indicates whether Clerk has completed initialization. Initially `false`, becomes `true` once Clerk loads.
|
|
6301
6357
|
*/
|
|
@@ -6344,11 +6400,7 @@ type UseAuthReturn =
|
|
|
6344
6400
|
* A function that retrieves the current user's session token or a custom JWT template. Returns a promise that resolves to the token. See the [reference doc](https://clerk.com/docs/references/javascript/session#get-token).
|
|
6345
6401
|
*/
|
|
6346
6402
|
getToken: GetToken;
|
|
6347
|
-
}
|
|
6348
|
-
/**
|
|
6349
|
-
* When signed out
|
|
6350
|
-
*/
|
|
6351
|
-
| {
|
|
6403
|
+
} | {
|
|
6352
6404
|
isLoaded: true;
|
|
6353
6405
|
isSignedIn: false;
|
|
6354
6406
|
userId: null;
|
|
@@ -6361,11 +6413,7 @@ type UseAuthReturn =
|
|
|
6361
6413
|
has: CheckAuthorizationWithoutOrgOrUser;
|
|
6362
6414
|
signOut: SignOut;
|
|
6363
6415
|
getToken: GetToken;
|
|
6364
|
-
}
|
|
6365
|
-
/**
|
|
6366
|
-
* When signed in (no active organization)
|
|
6367
|
-
*/
|
|
6368
|
-
| {
|
|
6416
|
+
} | {
|
|
6369
6417
|
isLoaded: true;
|
|
6370
6418
|
isSignedIn: true;
|
|
6371
6419
|
userId: string;
|
|
@@ -6378,11 +6426,7 @@ type UseAuthReturn =
|
|
|
6378
6426
|
has: CheckAuthorizationWithCustomPermissions;
|
|
6379
6427
|
signOut: SignOut;
|
|
6380
6428
|
getToken: GetToken;
|
|
6381
|
-
}
|
|
6382
|
-
/**
|
|
6383
|
-
* When signed in (with active organization)
|
|
6384
|
-
*/
|
|
6385
|
-
| {
|
|
6429
|
+
} | {
|
|
6386
6430
|
isLoaded: true;
|
|
6387
6431
|
isSignedIn: true;
|
|
6388
6432
|
userId: string;
|
|
@@ -6637,4 +6681,4 @@ type SharedSignedInAuthObjectProperties = {
|
|
|
6637
6681
|
factorVerificationAge: [firstFactorAge: number, secondFactorAge: number] | null;
|
|
6638
6682
|
};
|
|
6639
6683
|
|
|
6640
|
-
export { type ActClaim, type ActJWTClaim, type Actions, type ActiveSessionResource, type AddMemberParams, type AfterMultiSessionSingleSignOutUrl, type AfterSignOutUrl, type AlertId, type AlphaColorScale, type Appearance, type AppleOauthProvider, type AtlassianOauthProvider, type AttemptAffiliationVerificationParams, type AttemptEmailAddressVerificationParams, type AttemptFirstFactorParams, type AttemptPhoneNumberVerificationParams, type AttemptSecondFactorParams, type AttemptVerificationParams, type AttemptWeb3WalletVerificationParams, type Attribute, type AttributeData, type AttributeDataJSON, type Attributes, type AttributesJSON, type AuthConfigJSON, type AuthConfigJSONSnapshot, type AuthConfigResource, type AuthenticateWithCoinbaseWalletParams, type AuthenticateWithGoogleOneTapParams, type AuthenticateWithMetamaskParams, type AuthenticateWithOKXWalletParams, type AuthenticateWithPasskeyParams, type AuthenticateWithPopupParams, type AuthenticateWithRedirectParams, type AuthenticateWithWeb3Params, type Autocomplete, type BackupCodeAttempt, type BackupCodeFactor, type BackupCodeJSON, type BackupCodeResource, type BackupCodeStrategy, type BaseTheme, type BaseThemeTaggedType, type BeforeEmitCallback, type BitbucketOauthProvider, type BoxOauthProvider, type BoxShadow, type BuiltInColors, type CamelToSnake, type CaptchaAppearanceOptions, type CaptchaProvider, type CaptchaWidgetType, type CardActionId, type CheckAuthorization, type CheckAuthorizationFn, type CheckAuthorizationFromSessionClaims, type CheckAuthorizationParamsFromSessionClaims, type CheckAuthorizationParamsWithCustomPermissions, type CheckAuthorizationWithCustomPermissions, type CheckoutTheme, type Clerk, type ClerkAPIError, type ClerkAPIErrorJSON, type ClerkAuthenticateWithWeb3Params, type ClerkEventPayload, type ClerkHostRouter, type ClerkJWTClaims, type ClerkOptions, type ClerkPaginatedResponse, type ClerkPaginationParams, type ClerkPaginationRequest, type ClerkResource, type ClerkResourceJSON, type ClerkResourceReloadParams, type ClerkRuntimeError, type ClerkStatus, type ClerkThemeOptions, type ClientJSON, type ClientJSONSnapshot, type ClientResource, type CodeVerificationAttemptParam, type CoinbaseOauthProvider, type CoinbaseWalletWeb3Provider, type Color, type ColorScale, type ColorScaleWithRequiredBase, type ColorString, type ComplexityErrors, type CreateBulkOrganizationInvitationParams, type CreateEmailAddressParams, type CreateEmailLinkFlowReturn, type CreateEnterpriseSSOLinkFlowReturn, type CreateExternalAccountParams, type CreateOrganizationInvitationParams, type CreateOrganizationModalProps, type CreateOrganizationParams, type CreateOrganizationProps, type CreateOrganizationTheme, type CreatePhoneNumberParams, type CreateWeb3WalletParams, type CredentialReturn, type CssColorOrAlphaScale, type CssColorOrScale, type CustomMenuItem, type CustomNavigation, type CustomOAuthStrategy, type CustomOauthProvider, type CustomPage, type DeepCamelToSnake, type DeepPartial, type DeepRequired, type DeepSnakeToCamel, type DeletedObjectJSON, type DeletedObjectResource, type DiscordOauthProvider, type DisplayConfigJSON, type DisplayConfigJSONSnapshot, type DisplayConfigResource, type DisplayThemeJSON, type DomainOrProxyUrl, type DropboxOauthProvider, type ElementObjectKey, type ElementState, type Elements, type ElementsConfig, type EmUnit, type EmailAddressIdentifier, type EmailAddressJSON, type EmailAddressJSONSnapshot, type EmailAddressOrPhoneNumberIdentifier, type EmailAddressResource, type EmailCodeAttempt, type EmailCodeConfig, type EmailCodeFactor, type EmailCodeStrategy, type EmailLinkConfig, type EmailLinkFactor, type EmailLinkStrategy, type EnstallOauthProvider, type EnterpriseAccountConnectionJSON, type EnterpriseAccountConnectionJSONSnapshot, type EnterpriseAccountConnectionResource, type EnterpriseAccountJSON, type EnterpriseAccountJSONSnapshot, type EnterpriseAccountResource, type EnterpriseProtocol, type EnterpriseProvider, type EnterpriseSSOConfig, type EnterpriseSSOFactor, type EnterpriseSSOSettings, type EnterpriseSSOStrategy, type EnvironmentJSON, type EnvironmentJSONSnapshot, type EnvironmentResource, type ExternalAccountJSON, type ExternalAccountJSONSnapshot, type ExternalAccountResource, type FacebookOauthProvider, type FieldId, type FirstNameAttribute, type FontFamily, type FontWeight, type GenerateSignature, type GenerateSignatureParams, type GetDomainsParams, type GetInvitationsParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetRolesParams, type GetToken, type GetTokenOptions, type GetUserOrganizationInvitationsParams, type GetUserOrganizationMembershipParams, type GetUserOrganizationSuggestionsParams, type GithubOauthProvider, type GitlabOauthProvider, type GoogleOauthProvider, type GoogleOneTapProps, type GoogleOneTapStrategy, type HandleEmailLinkVerificationParams, type HandleOAuthCallbackParams, type HandleSamlCallbackParams, type HexColor, type HexColorString, type HslaColor, type HslaColorString, type HubspotOauthProvider, type HuggingfaceOAuthProvider, type IdSelectors, type IdentificationLinkJSON, type IdentificationLinkJSONSnapshot, type IdentificationLinkResource, type ImageJSON, type ImageResource, type InitialState, type InstagramOauthProvider, type InstanceType, type InviteMemberParams, type InviteMembersParams, type JWT, type JWTClaims, type JWTHeader, type JoinWaitlistParams, type Jwt, type JwtHeader, type JwtPayload, type LastNameAttribute, type Layout, type LegacyRedirectProps, type LegalAcceptedAttribute, type LineOauthProvider, type LinearOauthProvider, type LinkedinOIDCOauthProvider, type LinkedinOauthProvider, type ListenerCallback, type LoadedClerk, type LocalizationResource, type LocalizationValue, type MenuId, type MetamaskWeb3Provider, type MicrosoftOauthProvider, type MultiDomainAndOrProxy, type MultiDomainAndOrProxyPrimitives, type NavigateOptions, type NextTaskParams, type NotionOauthProvider, type Nullable, OAUTH_PROVIDERS, type OAuthConfig, type OAuthProvider, type OAuthProviderData, type OAuthProviderSettings, type OAuthProviders, type OAuthScope, type OAuthStrategy, type OKXWalletWeb3Provider, type OauthFactor, type OrganizationCustomPermissionKey, type OrganizationCustomRoleKey, type OrganizationDomainJSON, type OrganizationDomainResource, type OrganizationDomainVerification, type OrganizationDomainVerificationJSON, type OrganizationDomainVerificationStatus, type OrganizationEnrollmentMode, type OrganizationInvitationJSON, type OrganizationInvitationResource, type OrganizationInvitationStatus, type OrganizationJSON, type OrganizationJSONSnapshot, type OrganizationListProps, type OrganizationListTheme, type OrganizationMembershipJSON, type OrganizationMembershipJSONSnapshot, type OrganizationMembershipRequestJSON, type OrganizationMembershipRequestResource, type OrganizationMembershipResource, type OrganizationPermissionKey, type OrganizationPreviewId, type OrganizationProfileModalProps, type OrganizationProfileProps, type OrganizationProfileTheme, type OrganizationResource, type OrganizationSettingsJSON, type OrganizationSettingsJSONSnapshot, type OrganizationSettingsResource, type OrganizationSuggestionJSON, type OrganizationSuggestionResource, type OrganizationSuggestionStatus, type OrganizationSwitcherProps, type OrganizationSwitcherTheme, type OrganizationSystemPermissionKey, type OrganizationSystemPermissionPrefix, type OrganizationsJWTClaim, type Override, type PartialWithClerkResource, type PassKeyConfig, type PasskeyAttempt, type PasskeyFactor, type PasskeyJSON, type PasskeyJSONSnapshot, type PasskeyResource, type PasskeySettingsData, type PasskeyStrategy, type PasskeyVerificationResource, type PasswordAttempt, type PasswordAttribute, type PasswordFactor, type PasswordSettingsData, type PasswordStrategy, type PasswordStrength, type PasswordValidation, type PathValue, type PendingSessionOptions, type PendingSessionResource, type PermissionJSON, type PermissionResource, type PhoneCodeAttempt, type PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, type PhoneNumberIdentifier, type PhoneNumberJSON, type PhoneNumberJSONSnapshot, type PhoneNumberResource, type PhoneNumberVerificationStrategy, type PreferredSignInStrategy, type PrepareAffiliationVerificationParams, type PrepareEmailAddressVerificationParams, type PrepareFirstFactorParams, type PreparePhoneNumberVerificationParams, type PrepareSecondFactorParams, type PrepareVerificationParams, type PrepareWeb3WalletVerificationParams, type PricingTableTheme, type ProfilePageId, type ProfileSectionId, type PublicKeyCredentialCreationOptionsJSON, type PublicKeyCredentialCreationOptionsWithoutExtensions, type PublicKeyCredentialRequestOptionsJSON, type PublicKeyCredentialRequestOptionsWithoutExtensions, type PublicKeyCredentialWithAuthenticatorAssertionResponse, type PublicKeyCredentialWithAuthenticatorAttestationResponse, type PublicOrganizationDataJSON, type PublicUserData, type PublicUserDataJSON, type PublicUserDataJSONSnapshot, type PublishableKey, type ReauthorizeExternalAccountParams, type RecordToPath, type RedirectOptions, type RedirectUrlProp, type RemoveUserPasswordParams, type ResetPasswordCodeFactor, type ResetPasswordEmailCodeAttempt, type ResetPasswordEmailCodeFactor, type ResetPasswordEmailCodeFactorConfig, type ResetPasswordEmailCodeStrategy, type ResetPasswordParams, type ResetPasswordPhoneCodeAttempt, type ResetPasswordPhoneCodeFactor, type ResetPasswordPhoneCodeFactorConfig, type ResetPasswordPhoneCodeStrategy, type Resources, type ReverificationConfig, type RgbaColor, type RgbaColorString, type RoleJSON, type RoleResource, type RoutingMode, type RoutingOptions, type RoutingStrategy, SAML_IDPS, type SDKMetadata, type SamlAccountConnectionJSON, type SamlAccountConnectionJSONSnapshot, type SamlAccountConnectionResource, type SamlAccountJSON, type SamlAccountJSONSnapshot, type SamlAccountResource, type SamlConfig, type SamlFactor, type SamlIdp, type SamlIdpMap, type SamlIdpSlug, type SamlSettings, type SamlStrategy, type SelectId, type Serializable, type ServerGetToken, type ServerGetTokenOptions, type SessionActivity, type SessionActivityJSON, type SessionJSON, type SessionJSONSnapshot, type SessionResource, type SessionStatus, type SessionStatusClaim, type SessionTask, type SessionVerificationAfterMinutes, type SessionVerificationFirstFactor, type SessionVerificationJSON, type SessionVerificationLevel, type SessionVerificationResource, type SessionVerificationSecondFactor, type SessionVerificationStatus, type SessionVerificationTypes, type SessionVerifyAttemptFirstFactorParams, type SessionVerifyAttemptSecondFactorParams, type SessionVerifyCreateParams, type SessionVerifyPrepareFirstFactorParams, type SessionVerifyPrepareSecondFactorParams, type SessionWithActivitiesJSON, type SessionWithActivitiesResource, type SetActive, type SetActiveParams, type SetOrganizationLogoParams, type SetProfileImageParams, type SetReservedForSecondFactorParams, type SharedSignedInAuthObjectProperties, type SignInButtonProps, type SignInCreateParams, type SignInData, type SignInFactor, type SignInFallbackRedirectUrl, type SignInFirstFactor, type SignInFirstFactorJSON, type SignInForceRedirectUrl, type SignInIdentifier, type SignInInitialValues, type SignInJSON, type SignInJSONSnapshot, type SignInModalProps, type SignInProps, type SignInRedirectOptions, type SignInResource, type SignInSecondFactor, type SignInSecondFactorJSON, type SignInStartEmailLinkFlowParams, type SignInStatus, type SignInStrategy, type SignInTheme, type SignOut, type SignOutCallback, type SignOutOptions, type SignUpAttributeField, type SignUpAuthenticateWithMetamaskParams, type SignUpAuthenticateWithWeb3Params, type SignUpButtonProps, type SignUpCreateParams, type SignUpData, type SignUpFallbackRedirectUrl, type SignUpField, type SignUpForceRedirectUrl, type SignUpIdentificationField, type SignUpInitialValues, type SignUpJSON, type SignUpJSONSnapshot, type SignUpModalProps, type SignUpModes, type SignUpProps, type SignUpRedirectOptions, type SignUpResource, type SignUpStatus, type SignUpTheme, type SignUpUpdateParams, type SignUpVerifiableField, type SignUpVerificationJSON, type SignUpVerificationJSONSnapshot, type SignUpVerificationResource, type SignUpVerificationsJSON, type SignUpVerificationsJSONSnapshot, type SignUpVerificationsResource, type SignatureVerificationAttemptParam, type SignedInSessionResource, type SlackOauthProvider, type SnakeToCamel, type SpotifyOauthProvider, type StartEmailLinkFlowParams, type StartEnterpriseSSOLinkFlowParams, type StateSelectors, type TOTPAttempt, type TOTPFactor, type TOTPJSON, type TOTPResource, type TOTPStrategy, type TelemetryCollector, type TelemetryEvent, type TelemetryEventRaw, type Theme, type TicketStrategy, type TiktokOauthProvider, type TokenJSON, type TokenJSONSnapshot, type TokenResource, type TransferableOption, type TransparentColor, type TwitchOauthProvider, type TwitterOauthProvider, type UnsubscribeCallback, type UpdateEnrollmentModeParams, type UpdateMembershipParams, type UpdateOrganizationMembershipParams, type UpdateOrganizationParams, type UpdatePasskeyParams, type UpdateUserParams, type UpdateUserPasswordParams, type UseAuthReturn, type UseSessionListReturn, type UseSessionReturn, type UseSignInReturn, type UseSignUpReturn, type UseUserReturn, type UserButtonProps, type UserButtonTheme, type UserData, type UserDataJSON, type UserDataJSONSnapshot, type UserJSON, type UserJSONSnapshot, type UserOrganizationInvitationJSON, type UserOrganizationInvitationResource, type UserPreviewId, type UserProfileModalProps, type UserProfileProps, type UserProfileTheme, type UserResource, type UserSettingsJSON, type UserSettingsJSONSnapshot, type UserSettingsResource, type UserVerificationTheme, type UsernameIdentifier, type UsernameSettingsData, type ValidatePasswordCallbacks, type Variables, type VerificationAttemptParams, type VerificationJSON, type VerificationJSONSnapshot, type VerificationResource, type VerificationStatus, type VerificationStrategy, type VerifyTOTPParams, type VersionedJwtPayload, WEB3_PROVIDERS, type WaitlistJSON, type WaitlistModalProps, type WaitlistProps, type WaitlistResource, type WaitlistTheme, type Web3Attempt, type Web3Provider, type Web3ProviderData, type Web3SignatureConfig, type Web3SignatureFactor, type Web3Strategy, type Web3WalletIdentifier, type Web3WalletJSON, type Web3WalletJSONSnapshot, type Web3WalletResource, type Without, type WithoutRouting, type XOauthProvider, type XeroOauthProvider, type ZxcvbnResult, type __experimental_AddPaymentSourceParams, type __experimental_CancelSubscriptionParams, type __experimental_CheckoutProps, type __experimental_CommerceBillingNamespace, type __experimental_CommerceCheckoutJSON, type __experimental_CommerceCheckoutResource, type __experimental_CommerceFeatureJSON, type __experimental_CommerceFeatureResource, type __experimental_CommerceInitializedPaymentSourceJSON, type __experimental_CommerceInitializedPaymentSourceResource, type __experimental_CommerceInvoiceJSON, type __experimental_CommerceInvoiceResource, type __experimental_CommerceMoney, type __experimental_CommerceMoneyJSON, type __experimental_CommerceNamespace, type __experimental_CommercePaymentSourceJSON, type __experimental_CommercePaymentSourceResource, type __experimental_CommercePaymentSourceStatus, type __experimental_CommercePlanJSON, type __experimental_CommercePlanResource, type __experimental_CommerceProductJSON, type __experimental_CommerceProductResource, type __experimental_CommerceSettingsJSON, type __experimental_CommerceSettingsJSONSnapshot, type __experimental_CommerceSettingsResource, type __experimental_CommerceSubscriberType, type __experimental_CommerceSubscriptionJSON, type __experimental_CommerceSubscriptionPlanPeriod, type __experimental_CommerceSubscriptionResource, type __experimental_CommerceSubscriptionStatus, type __experimental_CommerceTotals, type __experimental_CommerceTotalsJSON, type __experimental_ConfirmCheckoutParams, type __experimental_CreateCheckoutParams, type __experimental_GetPaymentSourcesParams, type __experimental_GetPlansParams, type __experimental_GetSubscriptionsParams, type __experimental_InitializePaymentSourceParams, type __experimental_MakeDefaultPaymentSourceParams, type __experimental_PaymentSourcesProps, type __experimental_PricingTableProps, type __experimental_RemovePaymentSourceParams, type __internal_ComponentNavigationContext, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
|
|
6684
|
+
export { type ActClaim, type ActJWTClaim, type Actions, type ActiveSessionResource, type AddMemberParams, type AfterMultiSessionSingleSignOutUrl, type AfterSignOutUrl, type AlertId, type AlphaColorScale, type Appearance, type AppleOauthProvider, type AtlassianOauthProvider, type AttemptAffiliationVerificationParams, type AttemptEmailAddressVerificationParams, type AttemptFirstFactorParams, type AttemptPhoneNumberVerificationParams, type AttemptSecondFactorParams, type AttemptVerificationParams, type AttemptWeb3WalletVerificationParams, type Attribute, type AttributeData, type AttributeDataJSON, type Attributes, type AttributesJSON, type AuthConfigJSON, type AuthConfigJSONSnapshot, type AuthConfigResource, type AuthenticateWithCoinbaseWalletParams, type AuthenticateWithGoogleOneTapParams, type AuthenticateWithMetamaskParams, type AuthenticateWithOKXWalletParams, type AuthenticateWithPasskeyParams, type AuthenticateWithPopupParams, type AuthenticateWithRedirectParams, type AuthenticateWithWeb3Params, type Autocomplete, type BackupCodeAttempt, type BackupCodeFactor, type BackupCodeJSON, type BackupCodeResource, type BackupCodeStrategy, type BaseTheme, type BaseThemeTaggedType, type BeforeEmitCallback, type BitbucketOauthProvider, type BoxOauthProvider, type BoxShadow, type BuiltInColors, type CamelToSnake, type CaptchaAppearanceOptions, type CaptchaProvider, type CaptchaWidgetType, type CardActionId, type CheckAuthorization, type CheckAuthorizationFn, type CheckAuthorizationFromSessionClaims, type CheckAuthorizationParamsFromSessionClaims, type CheckAuthorizationParamsWithCustomPermissions, type CheckAuthorizationWithCustomPermissions, type CheckoutTheme, type Clerk, type ClerkAPIError, type ClerkAPIErrorJSON, type ClerkAuthenticateWithWeb3Params, type ClerkHostRouter, type ClerkJWTClaims, type ClerkOptions, type ClerkPaginatedResponse, type ClerkPaginationParams, type ClerkPaginationRequest, type ClerkResource, type ClerkResourceJSON, type ClerkResourceReloadParams, type ClerkRuntimeError, type ClerkThemeOptions, type ClientJSON, type ClientJSONSnapshot, type ClientResource, type CodeVerificationAttemptParam, type CoinbaseOauthProvider, type CoinbaseWalletWeb3Provider, type Color, type ColorScale, type ColorScaleWithRequiredBase, type ColorString, type ComplexityErrors, type CreateBulkOrganizationInvitationParams, type CreateEmailAddressParams, type CreateEmailLinkFlowReturn, type CreateEnterpriseSSOLinkFlowReturn, type CreateExternalAccountParams, type CreateOrganizationInvitationParams, type CreateOrganizationModalProps, type CreateOrganizationParams, type CreateOrganizationProps, type CreateOrganizationTheme, type CreatePhoneNumberParams, type CreateWeb3WalletParams, type CredentialReturn, type CssColorOrAlphaScale, type CssColorOrScale, type CustomMenuItem, type CustomNavigation, type CustomOAuthStrategy, type CustomOauthProvider, type CustomPage, type DeepCamelToSnake, type DeepPartial, type DeepRequired, type DeepSnakeToCamel, type DeletedObjectJSON, type DeletedObjectResource, type DiscordOauthProvider, type DisplayConfigJSON, type DisplayConfigJSONSnapshot, type DisplayConfigResource, type DisplayThemeJSON, type DomainOrProxyUrl, type DropboxOauthProvider, type ElementObjectKey, type ElementState, type Elements, type ElementsConfig, type EmUnit, type EmailAddressIdentifier, type EmailAddressJSON, type EmailAddressJSONSnapshot, type EmailAddressOrPhoneNumberIdentifier, type EmailAddressResource, type EmailCodeAttempt, type EmailCodeConfig, type EmailCodeFactor, type EmailCodeStrategy, type EmailLinkConfig, type EmailLinkFactor, type EmailLinkStrategy, type EnstallOauthProvider, type EnterpriseAccountConnectionJSON, type EnterpriseAccountConnectionJSONSnapshot, type EnterpriseAccountConnectionResource, type EnterpriseAccountJSON, type EnterpriseAccountJSONSnapshot, type EnterpriseAccountResource, type EnterpriseProtocol, type EnterpriseProvider, type EnterpriseSSOConfig, type EnterpriseSSOFactor, type EnterpriseSSOSettings, type EnterpriseSSOStrategy, type EnvironmentJSON, type EnvironmentJSONSnapshot, type EnvironmentResource, type ExternalAccountJSON, type ExternalAccountJSONSnapshot, type ExternalAccountResource, type FacebookOauthProvider, type FieldId, type FirstNameAttribute, type FontFamily, type FontWeight, type GenerateSignature, type GenerateSignatureParams, type GetDomainsParams, type GetInvitationsParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetRolesParams, type GetToken, type GetTokenOptions, type GetUserOrganizationInvitationsParams, type GetUserOrganizationMembershipParams, type GetUserOrganizationSuggestionsParams, type GithubOauthProvider, type GitlabOauthProvider, type GoogleOauthProvider, type GoogleOneTapProps, type GoogleOneTapStrategy, type HandleEmailLinkVerificationParams, type HandleOAuthCallbackParams, type HandleSamlCallbackParams, type HexColor, type HexColorString, type HslaColor, type HslaColorString, type HubspotOauthProvider, type HuggingfaceOAuthProvider, type IdSelectors, type IdentificationLinkJSON, type IdentificationLinkJSONSnapshot, type IdentificationLinkResource, type ImageJSON, type ImageResource, type InitialState, type InstagramOauthProvider, type InstanceType, type InviteMemberParams, type InviteMembersParams, type JWT, type JWTClaims, type JWTHeader, type JoinWaitlistParams, type Jwt, type JwtHeader, type JwtPayload, type LastNameAttribute, type Layout, type LegacyRedirectProps, type LegalAcceptedAttribute, type LineOauthProvider, type LinearOauthProvider, type LinkedinOIDCOauthProvider, type LinkedinOauthProvider, type ListenerCallback, type LoadedClerk, type LocalizationResource, type LocalizationValue, type MenuId, type MetamaskWeb3Provider, type MicrosoftOauthProvider, type MultiDomainAndOrProxy, type MultiDomainAndOrProxyPrimitives, type NavigateOptions, type NextTaskParams, type NotionOauthProvider, type Nullable, OAUTH_PROVIDERS, type OAuthConfig, type OAuthProvider, type OAuthProviderData, type OAuthProviderSettings, type OAuthProviders, type OAuthScope, type OAuthStrategy, type OKXWalletWeb3Provider, type OauthFactor, type OrganizationCustomPermissionKey, type OrganizationCustomRoleKey, type OrganizationDomainJSON, type OrganizationDomainResource, type OrganizationDomainVerification, type OrganizationDomainVerificationJSON, type OrganizationDomainVerificationStatus, type OrganizationEnrollmentMode, type OrganizationInvitationJSON, type OrganizationInvitationResource, type OrganizationInvitationStatus, type OrganizationJSON, type OrganizationJSONSnapshot, type OrganizationListProps, type OrganizationListTheme, type OrganizationMembershipJSON, type OrganizationMembershipJSONSnapshot, type OrganizationMembershipRequestJSON, type OrganizationMembershipRequestResource, type OrganizationMembershipResource, type OrganizationPermissionKey, type OrganizationPreviewId, type OrganizationProfileModalProps, type OrganizationProfileProps, type OrganizationProfileTheme, type OrganizationResource, type OrganizationSettingsJSON, type OrganizationSettingsJSONSnapshot, type OrganizationSettingsResource, type OrganizationSuggestionJSON, type OrganizationSuggestionResource, type OrganizationSuggestionStatus, type OrganizationSwitcherProps, type OrganizationSwitcherTheme, type OrganizationSystemPermissionKey, type OrganizationSystemPermissionPrefix, type OrganizationsJWTClaim, type Override, type PartialWithClerkResource, type PassKeyConfig, type PasskeyAttempt, type PasskeyFactor, type PasskeyJSON, type PasskeyJSONSnapshot, type PasskeyResource, type PasskeySettingsData, type PasskeyStrategy, type PasskeyVerificationResource, type PasswordAttempt, type PasswordAttribute, type PasswordFactor, type PasswordSettingsData, type PasswordStrategy, type PasswordStrength, type PasswordValidation, type PathValue, type PendingSessionOptions, type PendingSessionResource, type PermissionJSON, type PermissionResource, type PhoneCodeAttempt, type PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, type PhoneNumberIdentifier, type PhoneNumberJSON, type PhoneNumberJSONSnapshot, type PhoneNumberResource, type PhoneNumberVerificationStrategy, type PreferredSignInStrategy, type PrepareAffiliationVerificationParams, type PrepareEmailAddressVerificationParams, type PrepareFirstFactorParams, type PreparePhoneNumberVerificationParams, type PrepareSecondFactorParams, type PrepareVerificationParams, type PrepareWeb3WalletVerificationParams, type PricingTableTheme, type ProfilePageId, type ProfileSectionId, type PublicKeyCredentialCreationOptionsJSON, type PublicKeyCredentialCreationOptionsWithoutExtensions, type PublicKeyCredentialRequestOptionsJSON, type PublicKeyCredentialRequestOptionsWithoutExtensions, type PublicKeyCredentialWithAuthenticatorAssertionResponse, type PublicKeyCredentialWithAuthenticatorAttestationResponse, type PublicOrganizationDataJSON, type PublicUserData, type PublicUserDataJSON, type PublicUserDataJSONSnapshot, type PublishableKey, type ReauthorizeExternalAccountParams, type RecordToPath, type RedirectOptions, type RedirectUrlProp, type RemoveUserPasswordParams, type ResetPasswordCodeFactor, type ResetPasswordEmailCodeAttempt, type ResetPasswordEmailCodeFactor, type ResetPasswordEmailCodeFactorConfig, type ResetPasswordEmailCodeStrategy, type ResetPasswordParams, type ResetPasswordPhoneCodeAttempt, type ResetPasswordPhoneCodeFactor, type ResetPasswordPhoneCodeFactorConfig, type ResetPasswordPhoneCodeStrategy, type Resources, type ReverificationConfig, type RgbaColor, type RgbaColorString, type RoleJSON, type RoleResource, type RoutingMode, type RoutingOptions, type RoutingStrategy, SAML_IDPS, type SDKMetadata, type SamlAccountConnectionJSON, type SamlAccountConnectionJSONSnapshot, type SamlAccountConnectionResource, type SamlAccountJSON, type SamlAccountJSONSnapshot, type SamlAccountResource, type SamlConfig, type SamlFactor, type SamlIdp, type SamlIdpMap, type SamlIdpSlug, type SamlSettings, type SamlStrategy, type SelectId, type Serializable, type ServerGetToken, type ServerGetTokenOptions, type SessionActivity, type SessionActivityJSON, type SessionJSON, type SessionJSONSnapshot, type SessionResource, type SessionStatus, type SessionStatusClaim, type SessionTask, type SessionVerificationAfterMinutes, type SessionVerificationFirstFactor, type SessionVerificationJSON, type SessionVerificationLevel, type SessionVerificationResource, type SessionVerificationSecondFactor, type SessionVerificationStatus, type SessionVerificationTypes, type SessionVerifyAttemptFirstFactorParams, type SessionVerifyAttemptSecondFactorParams, type SessionVerifyCreateParams, type SessionVerifyPrepareFirstFactorParams, type SessionVerifyPrepareSecondFactorParams, type SessionWithActivitiesJSON, type SessionWithActivitiesResource, type SetActive, type SetActiveParams, type SetOrganizationLogoParams, type SetProfileImageParams, type SetReservedForSecondFactorParams, type SharedSignedInAuthObjectProperties, type SignInButtonProps, type SignInCreateParams, type SignInData, type SignInFactor, type SignInFallbackRedirectUrl, type SignInFirstFactor, type SignInFirstFactorJSON, type SignInForceRedirectUrl, type SignInIdentifier, type SignInInitialValues, type SignInJSON, type SignInJSONSnapshot, type SignInModalProps, type SignInProps, type SignInRedirectOptions, type SignInResource, type SignInSecondFactor, type SignInSecondFactorJSON, type SignInStartEmailLinkFlowParams, type SignInStatus, type SignInStrategy, type SignInTheme, type SignOut, type SignOutCallback, type SignOutOptions, type SignUpAttributeField, type SignUpAuthenticateWithMetamaskParams, type SignUpAuthenticateWithWeb3Params, type SignUpButtonProps, type SignUpCreateParams, type SignUpData, type SignUpFallbackRedirectUrl, type SignUpField, type SignUpForceRedirectUrl, type SignUpIdentificationField, type SignUpInitialValues, type SignUpJSON, type SignUpJSONSnapshot, type SignUpModalProps, type SignUpModes, type SignUpProps, type SignUpRedirectOptions, type SignUpResource, type SignUpStatus, type SignUpTheme, type SignUpUpdateParams, type SignUpVerifiableField, type SignUpVerificationJSON, type SignUpVerificationJSONSnapshot, type SignUpVerificationResource, type SignUpVerificationsJSON, type SignUpVerificationsJSONSnapshot, type SignUpVerificationsResource, type SignatureVerificationAttemptParam, type SignedInSessionResource, type SlackOauthProvider, type SnakeToCamel, type SpotifyOauthProvider, type StartEmailLinkFlowParams, type StartEnterpriseSSOLinkFlowParams, type StateSelectors, type TOTPAttempt, type TOTPFactor, type TOTPJSON, type TOTPResource, type TOTPStrategy, type TelemetryCollector, type TelemetryEvent, type TelemetryEventRaw, type Theme, type TicketStrategy, type TiktokOauthProvider, type TokenJSON, type TokenJSONSnapshot, type TokenResource, type TransferableOption, type TransparentColor, type TwitchOauthProvider, type TwitterOauthProvider, type UnsubscribeCallback, type UpdateEnrollmentModeParams, type UpdateMembershipParams, type UpdateOrganizationMembershipParams, type UpdateOrganizationParams, type UpdatePasskeyParams, type UpdateUserParams, type UpdateUserPasswordParams, type UseAuthReturn, type UseSessionListReturn, type UseSessionReturn, type UseSignInReturn, type UseSignUpReturn, type UseUserReturn, type UserButtonProps, type UserButtonTheme, type UserData, type UserDataJSON, type UserDataJSONSnapshot, type UserJSON, type UserJSONSnapshot, type UserOrganizationInvitationJSON, type UserOrganizationInvitationResource, type UserPreviewId, type UserProfileModalProps, type UserProfileProps, type UserProfileTheme, type UserResource, type UserSettingsJSON, type UserSettingsJSONSnapshot, type UserSettingsResource, type UserVerificationTheme, type UsernameIdentifier, type UsernameSettingsData, type ValidatePasswordCallbacks, type Variables, type VerificationAttemptParams, type VerificationJSON, type VerificationJSONSnapshot, type VerificationResource, type VerificationStatus, type VerificationStrategy, type VerifyTOTPParams, type VersionedJwtPayload, WEB3_PROVIDERS, type WaitlistJSON, type WaitlistModalProps, type WaitlistProps, type WaitlistResource, type WaitlistTheme, type Web3Attempt, type Web3Provider, type Web3ProviderData, type Web3SignatureConfig, type Web3SignatureFactor, type Web3Strategy, type Web3WalletIdentifier, type Web3WalletJSON, type Web3WalletJSONSnapshot, type Web3WalletResource, type Without, type WithoutRouting, type XOauthProvider, type XeroOauthProvider, type ZxcvbnResult, type __experimental_AddPaymentSourceParams, type __experimental_CancelSubscriptionParams, type __experimental_CheckoutProps, type __experimental_CommerceBillingNamespace, type __experimental_CommerceCheckoutJSON, type __experimental_CommerceCheckoutResource, type __experimental_CommerceFeatureJSON, type __experimental_CommerceFeatureResource, type __experimental_CommerceInitializedPaymentSourceJSON, type __experimental_CommerceInitializedPaymentSourceResource, type __experimental_CommerceInvoiceJSON, type __experimental_CommerceInvoiceResource, type __experimental_CommerceMoney, type __experimental_CommerceMoneyJSON, type __experimental_CommerceNamespace, type __experimental_CommercePaymentSourceJSON, type __experimental_CommercePaymentSourceResource, type __experimental_CommercePaymentSourceStatus, type __experimental_CommercePlanJSON, type __experimental_CommercePlanResource, type __experimental_CommerceProductJSON, type __experimental_CommerceProductResource, type __experimental_CommerceSettingsJSON, type __experimental_CommerceSettingsJSONSnapshot, type __experimental_CommerceSettingsResource, type __experimental_CommerceSubscriberType, type __experimental_CommerceSubscriptionJSON, type __experimental_CommerceSubscriptionPlanPeriod, type __experimental_CommerceSubscriptionResource, type __experimental_CommerceSubscriptionStatus, type __experimental_CommerceTotals, type __experimental_CommerceTotalsJSON, type __experimental_ConfirmCheckoutParams, type __experimental_CreateCheckoutParams, type __experimental_GetPaymentSourcesParams, type __experimental_GetPlansParams, type __experimental_GetSubscriptionsParams, type __experimental_InitializePaymentSourceParams, type __experimental_MakeDefaultPaymentSourceParams, type __experimental_PaymentSourcesProps, type __experimental_PricingTableProps, type __experimental_RemovePaymentSourceParams, type __internal_ComponentNavigationContext, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
|