@clerk/types 4.54.0-snapshot.v20250411152148 → 4.54.0-snapshot.v20250412011738
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 +109 -60
- package/dist/index.d.ts +109 -60
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -461,7 +461,13 @@ interface OrganizationDomainVerification {
|
|
|
461
461
|
attempts: number;
|
|
462
462
|
expiresAt: Date;
|
|
463
463
|
}
|
|
464
|
+
/**
|
|
465
|
+
* @inline
|
|
466
|
+
*/
|
|
464
467
|
type OrganizationDomainVerificationStatus = 'unverified' | 'verified';
|
|
468
|
+
/**
|
|
469
|
+
* @inline
|
|
470
|
+
*/
|
|
465
471
|
type OrganizationEnrollmentMode = 'manual_invitation' | 'automatic_invitation' | 'automatic_suggestion';
|
|
466
472
|
interface OrganizationDomainResource extends ClerkResource {
|
|
467
473
|
id: string;
|
|
@@ -513,6 +519,9 @@ interface OrganizationInvitationResource extends ClerkResource {
|
|
|
513
519
|
updatedAt: Date;
|
|
514
520
|
revoke: () => Promise<OrganizationInvitationResource>;
|
|
515
521
|
}
|
|
522
|
+
/**
|
|
523
|
+
* @inline
|
|
524
|
+
*/
|
|
516
525
|
type OrganizationInvitationStatus = 'pending' | 'accepted' | 'revoked';
|
|
517
526
|
|
|
518
527
|
type SnakeToCamel<T> = T extends `${infer A}_${infer B}` ? `${Uncapitalize<A>}${Capitalize<SnakeToCamel<B>>}` : T extends object ? {
|
|
@@ -527,6 +536,9 @@ type DeepCamelToSnake<T> = T extends `${infer C0}${infer R}` ? `${C0 extends Upp
|
|
|
527
536
|
type CamelToSnake<T> = T extends `${infer C0}${infer R}` ? `${C0 extends Uppercase<C0> ? '_' : ''}${Lowercase<C0>}${CamelToSnake<R>}` : T extends object ? {
|
|
528
537
|
[K in keyof T as CamelToSnake<Extract<K, string>>]: T[K];
|
|
529
538
|
} : T;
|
|
539
|
+
/**
|
|
540
|
+
* @internal
|
|
541
|
+
*/
|
|
530
542
|
type DeepPartial<T> = {
|
|
531
543
|
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
|
|
532
544
|
};
|
|
@@ -981,6 +993,9 @@ interface ImageResource extends ClerkResource {
|
|
|
981
993
|
publicUrl: string | null;
|
|
982
994
|
}
|
|
983
995
|
|
|
996
|
+
/**
|
|
997
|
+
* @inline
|
|
998
|
+
*/
|
|
984
999
|
type OrganizationSuggestionStatus = 'pending' | 'accepted';
|
|
985
1000
|
interface OrganizationSuggestionResource extends ClerkResource {
|
|
986
1001
|
id: string;
|
|
@@ -1149,6 +1164,15 @@ declare global {
|
|
|
1149
1164
|
[k: string]: unknown;
|
|
1150
1165
|
}
|
|
1151
1166
|
}
|
|
1167
|
+
/**
|
|
1168
|
+
* The `User` object holds all of the information for a single user of your application and provides a set of methods to manage their account. Each `User` has at least one authentication [identifier](https://clerk.com/docs/authentication/configuration/sign-up-sign-in-options#identifiers), which might be their email address, phone number, or a username.
|
|
1169
|
+
*
|
|
1170
|
+
* A user can be contacted at their primary email address or primary phone number. They can have more than one registered email address, but only one of them will be their primary email address. This goes for phone numbers as well; a user can have more than one, but only one phone number will be their primary. At the same time, a user can also have one or more external accounts by connecting to [social providers](https://clerk.com/docs/authentication/social-connections/oauth) such as Google, Apple, Facebook, and many more.
|
|
1171
|
+
*
|
|
1172
|
+
* Finally, a `User` object holds profile data like the user's name, profile picture, and a set of [metadata](/docs/users/metadata) that can be used internally to store arbitrary information. The metadata are split into `publicMetadata` and `privateMetadata`. Both types are set from the [Backend API](https://clerk.com/docs/reference/backend-api){{ target: '_blank' }}, but public metadata can also be accessed from the [Frontend API](https://clerk.com/docs/reference/frontend-api){{ target: '_blank' }}.
|
|
1173
|
+
*
|
|
1174
|
+
* The ClerkJS SDK provides some helper [methods](#methods) on the `User` object to help retrieve and update user information and authentication status.
|
|
1175
|
+
*/
|
|
1152
1176
|
interface UserResource extends ClerkResource {
|
|
1153
1177
|
id: string;
|
|
1154
1178
|
externalId: string | null;
|
|
@@ -1253,6 +1277,9 @@ type GetUserOrganizationSuggestionsParams = ClerkPaginationParams<{
|
|
|
1253
1277
|
type GetUserOrganizationMembershipParams = ClerkPaginationParams;
|
|
1254
1278
|
type GetOrganizationMemberships = (params?: GetUserOrganizationMembershipParams) => Promise<ClerkPaginatedResponse<OrganizationMembershipResource>>;
|
|
1255
1279
|
|
|
1280
|
+
/**
|
|
1281
|
+
* @inline
|
|
1282
|
+
*/
|
|
1256
1283
|
type PendingSessionOptions = {
|
|
1257
1284
|
/**
|
|
1258
1285
|
* Determines if pending sessions are considered as signed-out state.
|
|
@@ -1261,7 +1288,9 @@ type PendingSessionOptions = {
|
|
|
1261
1288
|
treatPendingAsSignedOut?: boolean;
|
|
1262
1289
|
};
|
|
1263
1290
|
type DisallowSystemPermissions<P extends string> = P extends `${OrganizationSystemPermissionPrefix}${string}` ? 'System permissions are not included in session claims and cannot be used on the server-side' : P;
|
|
1291
|
+
/** @inline */
|
|
1264
1292
|
type CheckAuthorizationFn<Params> = (isAuthorizedParams: Params) => boolean;
|
|
1293
|
+
/** @inline */
|
|
1265
1294
|
type CheckAuthorizationWithCustomPermissions = CheckAuthorizationFn<CheckAuthorizationParamsWithCustomPermissions>;
|
|
1266
1295
|
type WithReverification<T> = T & {
|
|
1267
1296
|
reverification?: ReverificationConfig;
|
|
@@ -1269,55 +1298,23 @@ type WithReverification<T> = T & {
|
|
|
1269
1298
|
type CheckAuthorizationParamsWithCustomPermissions = WithReverification<{
|
|
1270
1299
|
role: OrganizationCustomRoleKey;
|
|
1271
1300
|
permission?: never;
|
|
1272
|
-
feature?: never;
|
|
1273
|
-
plan?: never;
|
|
1274
1301
|
} | {
|
|
1275
1302
|
role?: never;
|
|
1276
1303
|
permission: OrganizationCustomPermissionKey;
|
|
1277
|
-
feature?: never;
|
|
1278
|
-
plan?: never;
|
|
1279
|
-
} | {
|
|
1280
|
-
role?: never;
|
|
1281
|
-
permission?: never;
|
|
1282
|
-
feature: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1283
|
-
plan?: never;
|
|
1284
1304
|
} | {
|
|
1285
1305
|
role?: never;
|
|
1286
1306
|
permission?: never;
|
|
1287
|
-
feature?: never;
|
|
1288
|
-
plan: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1289
|
-
} | {
|
|
1290
|
-
role?: never;
|
|
1291
|
-
permission?: never;
|
|
1292
|
-
feature?: never;
|
|
1293
|
-
plan?: never;
|
|
1294
1307
|
}>;
|
|
1295
1308
|
type CheckAuthorization = CheckAuthorizationFn<CheckAuthorizationParams>;
|
|
1296
1309
|
type CheckAuthorizationParams = WithReverification<{
|
|
1297
1310
|
role: OrganizationCustomRoleKey;
|
|
1298
1311
|
permission?: never;
|
|
1299
|
-
feature?: never;
|
|
1300
|
-
plan?: never;
|
|
1301
1312
|
} | {
|
|
1302
1313
|
role?: never;
|
|
1303
1314
|
permission: OrganizationPermissionKey;
|
|
1304
|
-
feature?: never;
|
|
1305
|
-
plan?: never;
|
|
1306
1315
|
} | {
|
|
1307
1316
|
role?: never;
|
|
1308
1317
|
permission?: never;
|
|
1309
|
-
feature: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1310
|
-
plan?: never;
|
|
1311
|
-
} | {
|
|
1312
|
-
role?: never;
|
|
1313
|
-
permission?: never;
|
|
1314
|
-
feature?: never;
|
|
1315
|
-
plan: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1316
|
-
} | {
|
|
1317
|
-
role?: never;
|
|
1318
|
-
permission?: never;
|
|
1319
|
-
feature?: never;
|
|
1320
|
-
plan?: never;
|
|
1321
1318
|
}>;
|
|
1322
1319
|
/**
|
|
1323
1320
|
* Type guard for server-side authorization checks using session claims.
|
|
@@ -1328,28 +1325,12 @@ type CheckAuthorizationFromSessionClaims = <P extends OrganizationCustomPermissi
|
|
|
1328
1325
|
type CheckAuthorizationParamsFromSessionClaims<P extends OrganizationCustomPermissionKey> = WithReverification<{
|
|
1329
1326
|
role: OrganizationCustomRoleKey;
|
|
1330
1327
|
permission?: never;
|
|
1331
|
-
feature?: never;
|
|
1332
|
-
plan?: never;
|
|
1333
1328
|
} | {
|
|
1334
1329
|
role?: never;
|
|
1335
1330
|
permission: DisallowSystemPermissions<P>;
|
|
1336
|
-
feature?: never;
|
|
1337
|
-
plan?: never;
|
|
1338
|
-
} | {
|
|
1339
|
-
role?: never;
|
|
1340
|
-
permission?: never;
|
|
1341
|
-
feature: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1342
|
-
plan?: never;
|
|
1343
1331
|
} | {
|
|
1344
1332
|
role?: never;
|
|
1345
1333
|
permission?: never;
|
|
1346
|
-
feature?: never;
|
|
1347
|
-
plan: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1348
|
-
} | {
|
|
1349
|
-
role?: never;
|
|
1350
|
-
permission?: never;
|
|
1351
|
-
feature?: never;
|
|
1352
|
-
plan?: never;
|
|
1353
1334
|
}>;
|
|
1354
1335
|
/**
|
|
1355
1336
|
* The `Session` object is an abstraction over an HTTP session. It models the period of information exchange between a user and the server.
|
|
@@ -1469,6 +1450,9 @@ type GetTokenOptions = {
|
|
|
1469
1450
|
leewayInSeconds?: number;
|
|
1470
1451
|
skipCache?: boolean;
|
|
1471
1452
|
};
|
|
1453
|
+
/**
|
|
1454
|
+
* @inline
|
|
1455
|
+
*/
|
|
1472
1456
|
type GetToken = (options?: GetTokenOptions) => Promise<string | null>;
|
|
1473
1457
|
type SessionVerifyCreateParams = {
|
|
1474
1458
|
level: SessionVerificationLevel;
|
|
@@ -1644,7 +1628,11 @@ interface OrganizationMembershipResource extends ClerkResource {
|
|
|
1644
1628
|
}
|
|
1645
1629
|
type OrganizationCustomPermissionKey = ClerkAuthorization extends Placeholder ? ClerkAuthorization['permission'] extends string ? ClerkAuthorization['permission'] : Base['permission'] : Base['permission'];
|
|
1646
1630
|
/**
|
|
1647
|
-
* OrganizationCustomRoleKey will be string unless the developer has provided their own types through `ClerkAuthorization`
|
|
1631
|
+
* `OrganizationCustomRoleKey` is a type that represents the user's role in an organization. It will be string unless the developer has provided their own types through [`ClerkAuthorization`](https://clerk.com/docs/guides/custom-types#example-custom-roles-and-permissions).
|
|
1632
|
+
*
|
|
1633
|
+
* Clerk provides the [default roles](https://clerk.com/docs/organizations/roles-permissions#default-roles) `org:admin` and `org:member`. However, you can create [custom roles](https://clerk.com/docs/organizations/create-roles-permissions) as well.
|
|
1634
|
+
*
|
|
1635
|
+
* @interface
|
|
1648
1636
|
*/
|
|
1649
1637
|
type OrganizationCustomRoleKey = ClerkAuthorization extends Placeholder ? ClerkAuthorization['role'] extends string ? ClerkAuthorization['role'] : Base['role'] : Base['role'];
|
|
1650
1638
|
type OrganizationSystemPermissionPrefix = 'org:sys_';
|
|
@@ -1772,10 +1760,6 @@ type VersionedJwtPayload = {
|
|
|
1772
1760
|
* Features for session.
|
|
1773
1761
|
*/
|
|
1774
1762
|
fea?: string;
|
|
1775
|
-
/**
|
|
1776
|
-
* Plans for session.
|
|
1777
|
-
*/
|
|
1778
|
-
pla?: string;
|
|
1779
1763
|
/**
|
|
1780
1764
|
* @experimental - This structure is subject to change.
|
|
1781
1765
|
*
|
|
@@ -2110,6 +2094,7 @@ type SignInForceRedirectUrl = {
|
|
|
2110
2094
|
|
|
2111
2095
|
/**
|
|
2112
2096
|
* The `SignIn` object holds the state of the current sign-in and provides helper methods to navigate and complete the sign-in process. It is used to manage the sign-in lifecycle, including the first and second factor verification, and the creation of a new session.
|
|
2097
|
+
* @interface
|
|
2113
2098
|
*/
|
|
2114
2099
|
interface SignInResource extends ClerkResource {
|
|
2115
2100
|
/**
|
|
@@ -4924,6 +4909,19 @@ interface SignOut {
|
|
|
4924
4909
|
(options?: SignOutOptions): Promise<void>;
|
|
4925
4910
|
(signOutCallback?: SignOutCallback, options?: SignOutOptions): Promise<void>;
|
|
4926
4911
|
}
|
|
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';
|
|
4927
4925
|
/**
|
|
4928
4926
|
* Main Clerk SDK object.
|
|
4929
4927
|
*/
|
|
@@ -4941,6 +4939,14 @@ interface Clerk {
|
|
|
4941
4939
|
* If true the bootstrapping of Clerk.load() has completed successfully.
|
|
4942
4940
|
*/
|
|
4943
4941
|
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;
|
|
4944
4950
|
/**
|
|
4945
4951
|
* @internal
|
|
4946
4952
|
*/
|
|
@@ -5207,6 +5213,20 @@ interface Clerk {
|
|
|
5207
5213
|
* @returns - Unsubscribe callback
|
|
5208
5214
|
*/
|
|
5209
5215
|
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;
|
|
5210
5230
|
/**
|
|
5211
5231
|
* Registers an internal listener that triggers a callback each time `Clerk.navigate` is called.
|
|
5212
5232
|
* Its purpose is to notify modal UI components when a navigation event occurs, allowing them to close if necessary.
|
|
@@ -6185,10 +6205,17 @@ type CreateBulkOrganizationInvitationParams = {
|
|
|
6185
6205
|
role: OrganizationCustomRoleKey;
|
|
6186
6206
|
};
|
|
6187
6207
|
/**
|
|
6188
|
-
*
|
|
6208
|
+
* Parameters for the `createOrganization()` method.
|
|
6209
|
+
* @interface
|
|
6189
6210
|
*/
|
|
6190
6211
|
interface CreateOrganizationParams {
|
|
6212
|
+
/**
|
|
6213
|
+
* The name of the organization.
|
|
6214
|
+
*/
|
|
6191
6215
|
name: string;
|
|
6216
|
+
/**
|
|
6217
|
+
* The slug of the organization.
|
|
6218
|
+
*/
|
|
6192
6219
|
slug?: string;
|
|
6193
6220
|
}
|
|
6194
6221
|
interface ClerkAuthenticateWithWeb3Params {
|
|
@@ -6253,12 +6280,22 @@ interface EnvironmentResource extends ClerkResource {
|
|
|
6253
6280
|
__internal_toSnapshot: () => EnvironmentJSONSnapshot;
|
|
6254
6281
|
}
|
|
6255
6282
|
|
|
6283
|
+
/**
|
|
6284
|
+
* @inline
|
|
6285
|
+
*/
|
|
6256
6286
|
type CheckAuthorizationSignedOut = undefined;
|
|
6287
|
+
/**
|
|
6288
|
+
* @inline
|
|
6289
|
+
*/
|
|
6257
6290
|
type CheckAuthorizationWithoutOrgOrUser = (params: Parameters<CheckAuthorizationWithCustomPermissions>[0]) => false;
|
|
6258
6291
|
/**
|
|
6259
6292
|
* @inline
|
|
6260
6293
|
*/
|
|
6261
|
-
type UseAuthReturn =
|
|
6294
|
+
type UseAuthReturn =
|
|
6295
|
+
/**
|
|
6296
|
+
* During initialization
|
|
6297
|
+
*/
|
|
6298
|
+
{
|
|
6262
6299
|
/**
|
|
6263
6300
|
* A boolean that indicates whether Clerk has completed initialization. Initially `false`, becomes `true` once Clerk loads.
|
|
6264
6301
|
*/
|
|
@@ -6307,7 +6344,11 @@ type UseAuthReturn = {
|
|
|
6307
6344
|
* 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).
|
|
6308
6345
|
*/
|
|
6309
6346
|
getToken: GetToken;
|
|
6310
|
-
}
|
|
6347
|
+
}
|
|
6348
|
+
/**
|
|
6349
|
+
* When signed out
|
|
6350
|
+
*/
|
|
6351
|
+
| {
|
|
6311
6352
|
isLoaded: true;
|
|
6312
6353
|
isSignedIn: false;
|
|
6313
6354
|
userId: null;
|
|
@@ -6320,7 +6361,11 @@ type UseAuthReturn = {
|
|
|
6320
6361
|
has: CheckAuthorizationWithoutOrgOrUser;
|
|
6321
6362
|
signOut: SignOut;
|
|
6322
6363
|
getToken: GetToken;
|
|
6323
|
-
}
|
|
6364
|
+
}
|
|
6365
|
+
/**
|
|
6366
|
+
* When signed in (no active organization)
|
|
6367
|
+
*/
|
|
6368
|
+
| {
|
|
6324
6369
|
isLoaded: true;
|
|
6325
6370
|
isSignedIn: true;
|
|
6326
6371
|
userId: string;
|
|
@@ -6333,7 +6378,11 @@ type UseAuthReturn = {
|
|
|
6333
6378
|
has: CheckAuthorizationWithCustomPermissions;
|
|
6334
6379
|
signOut: SignOut;
|
|
6335
6380
|
getToken: GetToken;
|
|
6336
|
-
}
|
|
6381
|
+
}
|
|
6382
|
+
/**
|
|
6383
|
+
* When signed in (with active organization)
|
|
6384
|
+
*/
|
|
6385
|
+
| {
|
|
6337
6386
|
isLoaded: true;
|
|
6338
6387
|
isSignedIn: true;
|
|
6339
6388
|
userId: string;
|
|
@@ -6448,7 +6497,7 @@ type UseUserReturn = {
|
|
|
6448
6497
|
*/
|
|
6449
6498
|
isSignedIn: undefined;
|
|
6450
6499
|
/**
|
|
6451
|
-
* The
|
|
6500
|
+
* The `User` object for the current user. If the user isn't signed in, `user` will be `null`.
|
|
6452
6501
|
*/
|
|
6453
6502
|
user: undefined;
|
|
6454
6503
|
} | {
|
|
@@ -6588,4 +6637,4 @@ type SharedSignedInAuthObjectProperties = {
|
|
|
6588
6637
|
factorVerificationAge: [firstFactorAge: number, secondFactorAge: number] | null;
|
|
6589
6638
|
};
|
|
6590
6639
|
|
|
6591
|
-
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 };
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -461,7 +461,13 @@ interface OrganizationDomainVerification {
|
|
|
461
461
|
attempts: number;
|
|
462
462
|
expiresAt: Date;
|
|
463
463
|
}
|
|
464
|
+
/**
|
|
465
|
+
* @inline
|
|
466
|
+
*/
|
|
464
467
|
type OrganizationDomainVerificationStatus = 'unverified' | 'verified';
|
|
468
|
+
/**
|
|
469
|
+
* @inline
|
|
470
|
+
*/
|
|
465
471
|
type OrganizationEnrollmentMode = 'manual_invitation' | 'automatic_invitation' | 'automatic_suggestion';
|
|
466
472
|
interface OrganizationDomainResource extends ClerkResource {
|
|
467
473
|
id: string;
|
|
@@ -513,6 +519,9 @@ interface OrganizationInvitationResource extends ClerkResource {
|
|
|
513
519
|
updatedAt: Date;
|
|
514
520
|
revoke: () => Promise<OrganizationInvitationResource>;
|
|
515
521
|
}
|
|
522
|
+
/**
|
|
523
|
+
* @inline
|
|
524
|
+
*/
|
|
516
525
|
type OrganizationInvitationStatus = 'pending' | 'accepted' | 'revoked';
|
|
517
526
|
|
|
518
527
|
type SnakeToCamel<T> = T extends `${infer A}_${infer B}` ? `${Uncapitalize<A>}${Capitalize<SnakeToCamel<B>>}` : T extends object ? {
|
|
@@ -527,6 +536,9 @@ type DeepCamelToSnake<T> = T extends `${infer C0}${infer R}` ? `${C0 extends Upp
|
|
|
527
536
|
type CamelToSnake<T> = T extends `${infer C0}${infer R}` ? `${C0 extends Uppercase<C0> ? '_' : ''}${Lowercase<C0>}${CamelToSnake<R>}` : T extends object ? {
|
|
528
537
|
[K in keyof T as CamelToSnake<Extract<K, string>>]: T[K];
|
|
529
538
|
} : T;
|
|
539
|
+
/**
|
|
540
|
+
* @internal
|
|
541
|
+
*/
|
|
530
542
|
type DeepPartial<T> = {
|
|
531
543
|
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
|
|
532
544
|
};
|
|
@@ -981,6 +993,9 @@ interface ImageResource extends ClerkResource {
|
|
|
981
993
|
publicUrl: string | null;
|
|
982
994
|
}
|
|
983
995
|
|
|
996
|
+
/**
|
|
997
|
+
* @inline
|
|
998
|
+
*/
|
|
984
999
|
type OrganizationSuggestionStatus = 'pending' | 'accepted';
|
|
985
1000
|
interface OrganizationSuggestionResource extends ClerkResource {
|
|
986
1001
|
id: string;
|
|
@@ -1149,6 +1164,15 @@ declare global {
|
|
|
1149
1164
|
[k: string]: unknown;
|
|
1150
1165
|
}
|
|
1151
1166
|
}
|
|
1167
|
+
/**
|
|
1168
|
+
* The `User` object holds all of the information for a single user of your application and provides a set of methods to manage their account. Each `User` has at least one authentication [identifier](https://clerk.com/docs/authentication/configuration/sign-up-sign-in-options#identifiers), which might be their email address, phone number, or a username.
|
|
1169
|
+
*
|
|
1170
|
+
* A user can be contacted at their primary email address or primary phone number. They can have more than one registered email address, but only one of them will be their primary email address. This goes for phone numbers as well; a user can have more than one, but only one phone number will be their primary. At the same time, a user can also have one or more external accounts by connecting to [social providers](https://clerk.com/docs/authentication/social-connections/oauth) such as Google, Apple, Facebook, and many more.
|
|
1171
|
+
*
|
|
1172
|
+
* Finally, a `User` object holds profile data like the user's name, profile picture, and a set of [metadata](/docs/users/metadata) that can be used internally to store arbitrary information. The metadata are split into `publicMetadata` and `privateMetadata`. Both types are set from the [Backend API](https://clerk.com/docs/reference/backend-api){{ target: '_blank' }}, but public metadata can also be accessed from the [Frontend API](https://clerk.com/docs/reference/frontend-api){{ target: '_blank' }}.
|
|
1173
|
+
*
|
|
1174
|
+
* The ClerkJS SDK provides some helper [methods](#methods) on the `User` object to help retrieve and update user information and authentication status.
|
|
1175
|
+
*/
|
|
1152
1176
|
interface UserResource extends ClerkResource {
|
|
1153
1177
|
id: string;
|
|
1154
1178
|
externalId: string | null;
|
|
@@ -1253,6 +1277,9 @@ type GetUserOrganizationSuggestionsParams = ClerkPaginationParams<{
|
|
|
1253
1277
|
type GetUserOrganizationMembershipParams = ClerkPaginationParams;
|
|
1254
1278
|
type GetOrganizationMemberships = (params?: GetUserOrganizationMembershipParams) => Promise<ClerkPaginatedResponse<OrganizationMembershipResource>>;
|
|
1255
1279
|
|
|
1280
|
+
/**
|
|
1281
|
+
* @inline
|
|
1282
|
+
*/
|
|
1256
1283
|
type PendingSessionOptions = {
|
|
1257
1284
|
/**
|
|
1258
1285
|
* Determines if pending sessions are considered as signed-out state.
|
|
@@ -1261,7 +1288,9 @@ type PendingSessionOptions = {
|
|
|
1261
1288
|
treatPendingAsSignedOut?: boolean;
|
|
1262
1289
|
};
|
|
1263
1290
|
type DisallowSystemPermissions<P extends string> = P extends `${OrganizationSystemPermissionPrefix}${string}` ? 'System permissions are not included in session claims and cannot be used on the server-side' : P;
|
|
1291
|
+
/** @inline */
|
|
1264
1292
|
type CheckAuthorizationFn<Params> = (isAuthorizedParams: Params) => boolean;
|
|
1293
|
+
/** @inline */
|
|
1265
1294
|
type CheckAuthorizationWithCustomPermissions = CheckAuthorizationFn<CheckAuthorizationParamsWithCustomPermissions>;
|
|
1266
1295
|
type WithReverification<T> = T & {
|
|
1267
1296
|
reverification?: ReverificationConfig;
|
|
@@ -1269,55 +1298,23 @@ type WithReverification<T> = T & {
|
|
|
1269
1298
|
type CheckAuthorizationParamsWithCustomPermissions = WithReverification<{
|
|
1270
1299
|
role: OrganizationCustomRoleKey;
|
|
1271
1300
|
permission?: never;
|
|
1272
|
-
feature?: never;
|
|
1273
|
-
plan?: never;
|
|
1274
1301
|
} | {
|
|
1275
1302
|
role?: never;
|
|
1276
1303
|
permission: OrganizationCustomPermissionKey;
|
|
1277
|
-
feature?: never;
|
|
1278
|
-
plan?: never;
|
|
1279
|
-
} | {
|
|
1280
|
-
role?: never;
|
|
1281
|
-
permission?: never;
|
|
1282
|
-
feature: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1283
|
-
plan?: never;
|
|
1284
1304
|
} | {
|
|
1285
1305
|
role?: never;
|
|
1286
1306
|
permission?: never;
|
|
1287
|
-
feature?: never;
|
|
1288
|
-
plan: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1289
|
-
} | {
|
|
1290
|
-
role?: never;
|
|
1291
|
-
permission?: never;
|
|
1292
|
-
feature?: never;
|
|
1293
|
-
plan?: never;
|
|
1294
1307
|
}>;
|
|
1295
1308
|
type CheckAuthorization = CheckAuthorizationFn<CheckAuthorizationParams>;
|
|
1296
1309
|
type CheckAuthorizationParams = WithReverification<{
|
|
1297
1310
|
role: OrganizationCustomRoleKey;
|
|
1298
1311
|
permission?: never;
|
|
1299
|
-
feature?: never;
|
|
1300
|
-
plan?: never;
|
|
1301
1312
|
} | {
|
|
1302
1313
|
role?: never;
|
|
1303
1314
|
permission: OrganizationPermissionKey;
|
|
1304
|
-
feature?: never;
|
|
1305
|
-
plan?: never;
|
|
1306
1315
|
} | {
|
|
1307
1316
|
role?: never;
|
|
1308
1317
|
permission?: never;
|
|
1309
|
-
feature: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1310
|
-
plan?: never;
|
|
1311
|
-
} | {
|
|
1312
|
-
role?: never;
|
|
1313
|
-
permission?: never;
|
|
1314
|
-
feature?: never;
|
|
1315
|
-
plan: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1316
|
-
} | {
|
|
1317
|
-
role?: never;
|
|
1318
|
-
permission?: never;
|
|
1319
|
-
feature?: never;
|
|
1320
|
-
plan?: never;
|
|
1321
1318
|
}>;
|
|
1322
1319
|
/**
|
|
1323
1320
|
* Type guard for server-side authorization checks using session claims.
|
|
@@ -1328,28 +1325,12 @@ type CheckAuthorizationFromSessionClaims = <P extends OrganizationCustomPermissi
|
|
|
1328
1325
|
type CheckAuthorizationParamsFromSessionClaims<P extends OrganizationCustomPermissionKey> = WithReverification<{
|
|
1329
1326
|
role: OrganizationCustomRoleKey;
|
|
1330
1327
|
permission?: never;
|
|
1331
|
-
feature?: never;
|
|
1332
|
-
plan?: never;
|
|
1333
1328
|
} | {
|
|
1334
1329
|
role?: never;
|
|
1335
1330
|
permission: DisallowSystemPermissions<P>;
|
|
1336
|
-
feature?: never;
|
|
1337
|
-
plan?: never;
|
|
1338
|
-
} | {
|
|
1339
|
-
role?: never;
|
|
1340
|
-
permission?: never;
|
|
1341
|
-
feature: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1342
|
-
plan?: never;
|
|
1343
1331
|
} | {
|
|
1344
1332
|
role?: never;
|
|
1345
1333
|
permission?: never;
|
|
1346
|
-
feature?: never;
|
|
1347
|
-
plan: Autocomplete<`user:${string}` | `org:${string}`>;
|
|
1348
|
-
} | {
|
|
1349
|
-
role?: never;
|
|
1350
|
-
permission?: never;
|
|
1351
|
-
feature?: never;
|
|
1352
|
-
plan?: never;
|
|
1353
1334
|
}>;
|
|
1354
1335
|
/**
|
|
1355
1336
|
* The `Session` object is an abstraction over an HTTP session. It models the period of information exchange between a user and the server.
|
|
@@ -1469,6 +1450,9 @@ type GetTokenOptions = {
|
|
|
1469
1450
|
leewayInSeconds?: number;
|
|
1470
1451
|
skipCache?: boolean;
|
|
1471
1452
|
};
|
|
1453
|
+
/**
|
|
1454
|
+
* @inline
|
|
1455
|
+
*/
|
|
1472
1456
|
type GetToken = (options?: GetTokenOptions) => Promise<string | null>;
|
|
1473
1457
|
type SessionVerifyCreateParams = {
|
|
1474
1458
|
level: SessionVerificationLevel;
|
|
@@ -1644,7 +1628,11 @@ interface OrganizationMembershipResource extends ClerkResource {
|
|
|
1644
1628
|
}
|
|
1645
1629
|
type OrganizationCustomPermissionKey = ClerkAuthorization extends Placeholder ? ClerkAuthorization['permission'] extends string ? ClerkAuthorization['permission'] : Base['permission'] : Base['permission'];
|
|
1646
1630
|
/**
|
|
1647
|
-
* OrganizationCustomRoleKey will be string unless the developer has provided their own types through `ClerkAuthorization`
|
|
1631
|
+
* `OrganizationCustomRoleKey` is a type that represents the user's role in an organization. It will be string unless the developer has provided their own types through [`ClerkAuthorization`](https://clerk.com/docs/guides/custom-types#example-custom-roles-and-permissions).
|
|
1632
|
+
*
|
|
1633
|
+
* Clerk provides the [default roles](https://clerk.com/docs/organizations/roles-permissions#default-roles) `org:admin` and `org:member`. However, you can create [custom roles](https://clerk.com/docs/organizations/create-roles-permissions) as well.
|
|
1634
|
+
*
|
|
1635
|
+
* @interface
|
|
1648
1636
|
*/
|
|
1649
1637
|
type OrganizationCustomRoleKey = ClerkAuthorization extends Placeholder ? ClerkAuthorization['role'] extends string ? ClerkAuthorization['role'] : Base['role'] : Base['role'];
|
|
1650
1638
|
type OrganizationSystemPermissionPrefix = 'org:sys_';
|
|
@@ -1772,10 +1760,6 @@ type VersionedJwtPayload = {
|
|
|
1772
1760
|
* Features for session.
|
|
1773
1761
|
*/
|
|
1774
1762
|
fea?: string;
|
|
1775
|
-
/**
|
|
1776
|
-
* Plans for session.
|
|
1777
|
-
*/
|
|
1778
|
-
pla?: string;
|
|
1779
1763
|
/**
|
|
1780
1764
|
* @experimental - This structure is subject to change.
|
|
1781
1765
|
*
|
|
@@ -2110,6 +2094,7 @@ type SignInForceRedirectUrl = {
|
|
|
2110
2094
|
|
|
2111
2095
|
/**
|
|
2112
2096
|
* The `SignIn` object holds the state of the current sign-in and provides helper methods to navigate and complete the sign-in process. It is used to manage the sign-in lifecycle, including the first and second factor verification, and the creation of a new session.
|
|
2097
|
+
* @interface
|
|
2113
2098
|
*/
|
|
2114
2099
|
interface SignInResource extends ClerkResource {
|
|
2115
2100
|
/**
|
|
@@ -4924,6 +4909,19 @@ interface SignOut {
|
|
|
4924
4909
|
(options?: SignOutOptions): Promise<void>;
|
|
4925
4910
|
(signOutCallback?: SignOutCallback, options?: SignOutOptions): Promise<void>;
|
|
4926
4911
|
}
|
|
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';
|
|
4927
4925
|
/**
|
|
4928
4926
|
* Main Clerk SDK object.
|
|
4929
4927
|
*/
|
|
@@ -4941,6 +4939,14 @@ interface Clerk {
|
|
|
4941
4939
|
* If true the bootstrapping of Clerk.load() has completed successfully.
|
|
4942
4940
|
*/
|
|
4943
4941
|
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;
|
|
4944
4950
|
/**
|
|
4945
4951
|
* @internal
|
|
4946
4952
|
*/
|
|
@@ -5207,6 +5213,20 @@ interface Clerk {
|
|
|
5207
5213
|
* @returns - Unsubscribe callback
|
|
5208
5214
|
*/
|
|
5209
5215
|
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;
|
|
5210
5230
|
/**
|
|
5211
5231
|
* Registers an internal listener that triggers a callback each time `Clerk.navigate` is called.
|
|
5212
5232
|
* Its purpose is to notify modal UI components when a navigation event occurs, allowing them to close if necessary.
|
|
@@ -6185,10 +6205,17 @@ type CreateBulkOrganizationInvitationParams = {
|
|
|
6185
6205
|
role: OrganizationCustomRoleKey;
|
|
6186
6206
|
};
|
|
6187
6207
|
/**
|
|
6188
|
-
*
|
|
6208
|
+
* Parameters for the `createOrganization()` method.
|
|
6209
|
+
* @interface
|
|
6189
6210
|
*/
|
|
6190
6211
|
interface CreateOrganizationParams {
|
|
6212
|
+
/**
|
|
6213
|
+
* The name of the organization.
|
|
6214
|
+
*/
|
|
6191
6215
|
name: string;
|
|
6216
|
+
/**
|
|
6217
|
+
* The slug of the organization.
|
|
6218
|
+
*/
|
|
6192
6219
|
slug?: string;
|
|
6193
6220
|
}
|
|
6194
6221
|
interface ClerkAuthenticateWithWeb3Params {
|
|
@@ -6253,12 +6280,22 @@ interface EnvironmentResource extends ClerkResource {
|
|
|
6253
6280
|
__internal_toSnapshot: () => EnvironmentJSONSnapshot;
|
|
6254
6281
|
}
|
|
6255
6282
|
|
|
6283
|
+
/**
|
|
6284
|
+
* @inline
|
|
6285
|
+
*/
|
|
6256
6286
|
type CheckAuthorizationSignedOut = undefined;
|
|
6287
|
+
/**
|
|
6288
|
+
* @inline
|
|
6289
|
+
*/
|
|
6257
6290
|
type CheckAuthorizationWithoutOrgOrUser = (params: Parameters<CheckAuthorizationWithCustomPermissions>[0]) => false;
|
|
6258
6291
|
/**
|
|
6259
6292
|
* @inline
|
|
6260
6293
|
*/
|
|
6261
|
-
type UseAuthReturn =
|
|
6294
|
+
type UseAuthReturn =
|
|
6295
|
+
/**
|
|
6296
|
+
* During initialization
|
|
6297
|
+
*/
|
|
6298
|
+
{
|
|
6262
6299
|
/**
|
|
6263
6300
|
* A boolean that indicates whether Clerk has completed initialization. Initially `false`, becomes `true` once Clerk loads.
|
|
6264
6301
|
*/
|
|
@@ -6307,7 +6344,11 @@ type UseAuthReturn = {
|
|
|
6307
6344
|
* 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).
|
|
6308
6345
|
*/
|
|
6309
6346
|
getToken: GetToken;
|
|
6310
|
-
}
|
|
6347
|
+
}
|
|
6348
|
+
/**
|
|
6349
|
+
* When signed out
|
|
6350
|
+
*/
|
|
6351
|
+
| {
|
|
6311
6352
|
isLoaded: true;
|
|
6312
6353
|
isSignedIn: false;
|
|
6313
6354
|
userId: null;
|
|
@@ -6320,7 +6361,11 @@ type UseAuthReturn = {
|
|
|
6320
6361
|
has: CheckAuthorizationWithoutOrgOrUser;
|
|
6321
6362
|
signOut: SignOut;
|
|
6322
6363
|
getToken: GetToken;
|
|
6323
|
-
}
|
|
6364
|
+
}
|
|
6365
|
+
/**
|
|
6366
|
+
* When signed in (no active organization)
|
|
6367
|
+
*/
|
|
6368
|
+
| {
|
|
6324
6369
|
isLoaded: true;
|
|
6325
6370
|
isSignedIn: true;
|
|
6326
6371
|
userId: string;
|
|
@@ -6333,7 +6378,11 @@ type UseAuthReturn = {
|
|
|
6333
6378
|
has: CheckAuthorizationWithCustomPermissions;
|
|
6334
6379
|
signOut: SignOut;
|
|
6335
6380
|
getToken: GetToken;
|
|
6336
|
-
}
|
|
6381
|
+
}
|
|
6382
|
+
/**
|
|
6383
|
+
* When signed in (with active organization)
|
|
6384
|
+
*/
|
|
6385
|
+
| {
|
|
6337
6386
|
isLoaded: true;
|
|
6338
6387
|
isSignedIn: true;
|
|
6339
6388
|
userId: string;
|
|
@@ -6448,7 +6497,7 @@ type UseUserReturn = {
|
|
|
6448
6497
|
*/
|
|
6449
6498
|
isSignedIn: undefined;
|
|
6450
6499
|
/**
|
|
6451
|
-
* The
|
|
6500
|
+
* The `User` object for the current user. If the user isn't signed in, `user` will be `null`.
|
|
6452
6501
|
*/
|
|
6453
6502
|
user: undefined;
|
|
6454
6503
|
} | {
|
|
@@ -6588,4 +6637,4 @@ type SharedSignedInAuthObjectProperties = {
|
|
|
6588
6637
|
factorVerificationAge: [firstFactorAge: number, secondFactorAge: number] | null;
|
|
6589
6638
|
};
|
|
6590
6639
|
|
|
6591
|
-
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 };
|
|
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 };
|