@clerk/types 4.60.1-snapshot.v20250613182735 → 4.60.1
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 +244 -22
- package/dist/index.d.ts +244 -22
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -46,7 +46,7 @@ interface ClerkRuntimeError {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
type AlertId = 'danger' | 'warning' | 'info';
|
|
49
|
-
type FieldId = 'firstName' | 'lastName' | 'name' | 'slug' | 'emailAddress' | 'phoneNumber' | 'currentPassword' | 'newPassword' | 'signOutOfOtherSessions' | 'passkeyName' | 'password' | 'confirmPassword' | 'identifier' | 'username' | 'code' | 'role' | 'deleteConfirmation' | 'deleteOrganizationConfirmation' | 'enrollmentMode' | 'affiliationEmailAddress' | 'deleteExistingInvitationsSuggestions' | 'legalAccepted';
|
|
49
|
+
type FieldId = 'firstName' | 'lastName' | 'name' | 'slug' | 'emailAddress' | 'phoneNumber' | 'currentPassword' | 'newPassword' | 'signOutOfOtherSessions' | 'passkeyName' | 'password' | 'confirmPassword' | 'identifier' | 'username' | 'code' | 'role' | 'deleteConfirmation' | 'deleteOrganizationConfirmation' | 'enrollmentMode' | 'affiliationEmailAddress' | 'deleteExistingInvitationsSuggestions' | 'legalAccepted' | 'apiKeyDescription' | 'apiKeyExpirationDate' | 'apiKeyRevokeConfirmation';
|
|
50
50
|
type ProfileSectionId = 'profile' | 'username' | 'emailAddresses' | 'phoneNumbers' | 'connectedAccounts' | 'enterpriseAccounts' | 'web3Wallets' | 'password' | 'passkeys' | 'mfa' | 'danger' | 'activeDevices' | 'organizationProfile' | 'organizationDanger' | 'organizationDomains' | 'manageVerifiedDomains' | 'subscriptionsList' | 'paymentSources';
|
|
51
51
|
type ProfilePageId = 'account' | 'security' | 'organizationGeneral' | 'organizationMembers' | 'billing';
|
|
52
52
|
type UserPreviewId = 'userButton' | 'personalWorkspace';
|
|
@@ -334,9 +334,9 @@ type CommercePaymentStatus = 'pending' | 'paid' | 'failed';
|
|
|
334
334
|
interface CommercePaymentResource extends ClerkResource {
|
|
335
335
|
id: string;
|
|
336
336
|
amount: CommerceMoney;
|
|
337
|
-
paidAt?:
|
|
338
|
-
failedAt?:
|
|
339
|
-
updatedAt:
|
|
337
|
+
paidAt?: Date;
|
|
338
|
+
failedAt?: Date;
|
|
339
|
+
updatedAt: Date;
|
|
340
340
|
paymentSource: CommercePaymentSourceResource;
|
|
341
341
|
subscription: CommerceSubscriptionResource;
|
|
342
342
|
subscriptionItem: CommerceSubscriptionResource;
|
|
@@ -350,11 +350,11 @@ interface CommerceStatementResource extends ClerkResource {
|
|
|
350
350
|
id: string;
|
|
351
351
|
totals: CommerceStatementTotals;
|
|
352
352
|
status: CommerceStatementStatus;
|
|
353
|
-
timestamp:
|
|
353
|
+
timestamp: Date;
|
|
354
354
|
groups: CommerceStatementGroup[];
|
|
355
355
|
}
|
|
356
356
|
interface CommerceStatementGroup {
|
|
357
|
-
timestamp:
|
|
357
|
+
timestamp: Date;
|
|
358
358
|
items: CommercePaymentResource[];
|
|
359
359
|
}
|
|
360
360
|
type GetSubscriptionsParams = WithOptionalOrgType<ClerkPaginationParams>;
|
|
@@ -418,6 +418,24 @@ interface CommerceCheckoutResource extends ClerkResource {
|
|
|
418
418
|
isImmediatePlanChange: boolean;
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
+
interface CommerceSettingsJSON extends ClerkResourceJSON {
|
|
422
|
+
billing: {
|
|
423
|
+
enabled: boolean;
|
|
424
|
+
stripe_publishable_key: string;
|
|
425
|
+
has_paid_user_plans: boolean;
|
|
426
|
+
has_paid_org_plans: boolean;
|
|
427
|
+
};
|
|
428
|
+
}
|
|
429
|
+
interface CommerceSettingsResource extends ClerkResource {
|
|
430
|
+
billing: {
|
|
431
|
+
enabled: boolean;
|
|
432
|
+
stripePublishableKey: string;
|
|
433
|
+
hasPaidUserPlans: boolean;
|
|
434
|
+
hasPaidOrgPlans: boolean;
|
|
435
|
+
};
|
|
436
|
+
__internal_toSnapshot: () => CommerceSettingsJSONSnapshot;
|
|
437
|
+
}
|
|
438
|
+
|
|
421
439
|
type PreferredSignInStrategy = 'password' | 'otp';
|
|
422
440
|
type CaptchaWidgetType = 'smart' | 'invisible' | null;
|
|
423
441
|
type CaptchaProvider = 'turnstile';
|
|
@@ -2630,6 +2648,7 @@ interface ImageJSON {
|
|
|
2630
2648
|
}
|
|
2631
2649
|
interface EnvironmentJSON extends ClerkResourceJSON {
|
|
2632
2650
|
auth_config: AuthConfigJSON;
|
|
2651
|
+
api_keys_settings: APIKeysSettingsJSON;
|
|
2633
2652
|
commerce_settings: CommerceSettingsJSON;
|
|
2634
2653
|
display_config: DisplayConfigJSON;
|
|
2635
2654
|
user_settings: UserSettingsJSON;
|
|
@@ -3234,23 +3253,30 @@ interface CommerceCheckoutJSON extends ClerkResourceJSON {
|
|
|
3234
3253
|
totals: CommerceCheckoutTotalsJSON;
|
|
3235
3254
|
is_immediate_plan_change: boolean;
|
|
3236
3255
|
}
|
|
3256
|
+
interface ApiKeyJSON extends ClerkResourceJSON {
|
|
3257
|
+
id: string;
|
|
3258
|
+
type: string;
|
|
3259
|
+
name: string;
|
|
3260
|
+
subject: string;
|
|
3261
|
+
scopes: string[];
|
|
3262
|
+
claims: Record<string, any> | null;
|
|
3263
|
+
revoked: boolean;
|
|
3264
|
+
revocation_reason: string | null;
|
|
3265
|
+
expired: boolean;
|
|
3266
|
+
expiration: number | null;
|
|
3267
|
+
created_by: string | null;
|
|
3268
|
+
description: string | null;
|
|
3269
|
+
last_used_at: number | null;
|
|
3270
|
+
created_at: number;
|
|
3271
|
+
updated_at: number;
|
|
3272
|
+
}
|
|
3237
3273
|
|
|
3238
|
-
interface
|
|
3239
|
-
|
|
3240
|
-
enabled: boolean;
|
|
3241
|
-
stripe_publishable_key: string;
|
|
3242
|
-
has_paid_user_plans: boolean;
|
|
3243
|
-
has_paid_org_plans: boolean;
|
|
3244
|
-
};
|
|
3274
|
+
interface APIKeysSettingsJSON extends ClerkResourceJSON {
|
|
3275
|
+
enabled: boolean;
|
|
3245
3276
|
}
|
|
3246
|
-
interface
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
stripePublishableKey: string;
|
|
3250
|
-
hasPaidUserPlans: boolean;
|
|
3251
|
-
hasPaidOrgPlans: boolean;
|
|
3252
|
-
};
|
|
3253
|
-
__internal_toSnapshot: () => CommerceSettingsJSONSnapshot;
|
|
3277
|
+
interface APIKeysSettingsResource extends ClerkResource {
|
|
3278
|
+
enabled: boolean;
|
|
3279
|
+
__internal_toSnapshot: () => APIKeysSettingsJSONSnapshot;
|
|
3254
3280
|
}
|
|
3255
3281
|
|
|
3256
3282
|
type SignInJSONSnapshot = Override<Nullable<SignInJSON, 'status' | 'identifier' | 'supported_first_factors' | 'supported_second_factors'>, {
|
|
@@ -3323,6 +3349,7 @@ type PublicUserDataJSONSnapshot = PublicUserDataJSON;
|
|
|
3323
3349
|
type CommerceSettingsJSONSnapshot = CommerceSettingsJSON;
|
|
3324
3350
|
type CommercePlanJSONSnapshot = CommercePlanJSON;
|
|
3325
3351
|
type CommerceFeatureJSONSnapshot = CommerceFeatureJSON;
|
|
3352
|
+
type APIKeysSettingsJSONSnapshot = APIKeysSettingsJSON;
|
|
3326
3353
|
|
|
3327
3354
|
type EnterpriseProtocol = 'saml' | 'oauth';
|
|
3328
3355
|
type EnterpriseProvider = SamlIdpSlug | `oauth_${OAuthProvider}`;
|
|
@@ -3380,6 +3407,7 @@ type FontWeightNumericValue = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 90
|
|
|
3380
3407
|
type FontWeightScale = {
|
|
3381
3408
|
normal?: FontWeightNamedValue | FontWeightNumericValue;
|
|
3382
3409
|
medium?: FontWeightNamedValue | FontWeightNumericValue;
|
|
3410
|
+
semibold?: FontWeightNamedValue | FontWeightNumericValue;
|
|
3383
3411
|
bold?: FontWeightNamedValue | FontWeightNumericValue;
|
|
3384
3412
|
};
|
|
3385
3413
|
type WebSafeFont = 'Arial' | 'Brush Script MT' | 'Courier New' | 'Garamond' | 'Georgia' | 'Helvetica' | 'Tahoma' | 'Times New Roman' | 'Trebuchet MS' | 'Verdana';
|
|
@@ -4070,6 +4098,7 @@ type WaitlistTheme = Theme;
|
|
|
4070
4098
|
type PricingTableTheme = Theme;
|
|
4071
4099
|
type CheckoutTheme = Theme;
|
|
4072
4100
|
type PlanDetailTheme = Theme;
|
|
4101
|
+
type APIKeysTheme = Theme;
|
|
4073
4102
|
type OAuthConsentTheme = Theme;
|
|
4074
4103
|
type GlobalAppearanceOptions = {
|
|
4075
4104
|
/**
|
|
@@ -4132,6 +4161,10 @@ type Appearance<T = Theme> = T & GlobalAppearanceOptions & {
|
|
|
4132
4161
|
* Theme overrides that only apply to the `<Checkout />` component
|
|
4133
4162
|
*/
|
|
4134
4163
|
checkout?: T;
|
|
4164
|
+
/**
|
|
4165
|
+
* Theme overrides that only apply to the `<APIKeys />` component
|
|
4166
|
+
*/
|
|
4167
|
+
apiKeys?: T;
|
|
4135
4168
|
/**
|
|
4136
4169
|
* Theme overrides that only apply to the `<OAuthConsent />` component
|
|
4137
4170
|
*/
|
|
@@ -4159,6 +4192,54 @@ interface AuthConfigResource extends ClerkResource {
|
|
|
4159
4192
|
__internal_toSnapshot: () => AuthConfigJSONSnapshot;
|
|
4160
4193
|
}
|
|
4161
4194
|
|
|
4195
|
+
interface APIKeyResource extends ClerkResource {
|
|
4196
|
+
id: string;
|
|
4197
|
+
type: string;
|
|
4198
|
+
name: string;
|
|
4199
|
+
subject: string;
|
|
4200
|
+
scopes: string[];
|
|
4201
|
+
claims: Record<string, any> | null;
|
|
4202
|
+
revoked: boolean;
|
|
4203
|
+
revocationReason: string | null;
|
|
4204
|
+
expired: boolean;
|
|
4205
|
+
expiration: Date | null;
|
|
4206
|
+
createdBy: string | null;
|
|
4207
|
+
description: string | null;
|
|
4208
|
+
lastUsedAt: Date | null;
|
|
4209
|
+
createdAt: Date;
|
|
4210
|
+
updatedAt: Date;
|
|
4211
|
+
}
|
|
4212
|
+
interface APIKeysNamespace {
|
|
4213
|
+
/**
|
|
4214
|
+
* @experimental
|
|
4215
|
+
* This API is in early access and may change in future releases.
|
|
4216
|
+
*
|
|
4217
|
+
* Retrieves all API keys for the current user or organization.
|
|
4218
|
+
*/
|
|
4219
|
+
getAll(params?: GetAPIKeysParams): Promise<APIKeyResource[]>;
|
|
4220
|
+
/**
|
|
4221
|
+
* @experimental
|
|
4222
|
+
* This API is in early access and may change in future releases.
|
|
4223
|
+
*
|
|
4224
|
+
* Retrieves the secret for a given API key ID.
|
|
4225
|
+
*/
|
|
4226
|
+
getSecret(id: string): Promise<string>;
|
|
4227
|
+
/**
|
|
4228
|
+
* @experimental
|
|
4229
|
+
* This API is in early access and may change in future releases.
|
|
4230
|
+
*
|
|
4231
|
+
* Creates a new API key.
|
|
4232
|
+
*/
|
|
4233
|
+
create(params: CreateAPIKeyParams): Promise<APIKeyResource>;
|
|
4234
|
+
/**
|
|
4235
|
+
* @experimental
|
|
4236
|
+
* This API is in early access and may change in future releases.
|
|
4237
|
+
*
|
|
4238
|
+
* Revokes a given API key by ID.
|
|
4239
|
+
*/
|
|
4240
|
+
revoke(params: RevokeAPIKeyParams): Promise<APIKeyResource>;
|
|
4241
|
+
}
|
|
4242
|
+
|
|
4162
4243
|
interface ClientResource extends ClerkResource {
|
|
4163
4244
|
sessions: SessionResource[];
|
|
4164
4245
|
signedInSessions: SignedInSessionResource[];
|
|
@@ -4259,6 +4340,10 @@ type _LocalizationResource = {
|
|
|
4259
4340
|
formFieldLabel__confirmDeletion: LocalizationValue;
|
|
4260
4341
|
formFieldLabel__role: LocalizationValue;
|
|
4261
4342
|
formFieldLabel__passkeyName: LocalizationValue;
|
|
4343
|
+
formFieldLabel__apiKeyName: LocalizationValue;
|
|
4344
|
+
formFieldLabel__apiKeyDescription: LocalizationValue;
|
|
4345
|
+
formFieldLabel__apiKeyExpiration: LocalizationValue;
|
|
4346
|
+
formFieldLabel__apiKeyExpirationDate: LocalizationValue;
|
|
4262
4347
|
formFieldInputPlaceholder__emailAddress: LocalizationValue;
|
|
4263
4348
|
formFieldInputPlaceholder__emailAddresses: LocalizationValue;
|
|
4264
4349
|
formFieldInputPlaceholder__phoneNumber: LocalizationValue;
|
|
@@ -4273,6 +4358,9 @@ type _LocalizationResource = {
|
|
|
4273
4358
|
formFieldInputPlaceholder__organizationDomain: LocalizationValue;
|
|
4274
4359
|
formFieldInputPlaceholder__organizationDomainEmailAddress: LocalizationValue;
|
|
4275
4360
|
formFieldInputPlaceholder__confirmDeletionUserAccount: LocalizationValue;
|
|
4361
|
+
formFieldInputPlaceholder__apiKeyName: LocalizationValue;
|
|
4362
|
+
formFieldInputPlaceholder__apiKeyDescription: LocalizationValue;
|
|
4363
|
+
formFieldInputPlaceholder__apiKeyExpirationDate: LocalizationValue;
|
|
4276
4364
|
formFieldError__notMatchingPasswords: LocalizationValue;
|
|
4277
4365
|
formFieldError__matchingPasswords: LocalizationValue;
|
|
4278
4366
|
formFieldError__verificationLinkExpired: LocalizationValue;
|
|
@@ -4336,6 +4424,7 @@ type _LocalizationResource = {
|
|
|
4336
4424
|
subtotal: LocalizationValue;
|
|
4337
4425
|
credit: LocalizationValue;
|
|
4338
4426
|
creditRemainder: LocalizationValue;
|
|
4427
|
+
totalDue: LocalizationValue;
|
|
4339
4428
|
totalDueToday: LocalizationValue;
|
|
4340
4429
|
pastDue: LocalizationValue;
|
|
4341
4430
|
paymentMethods: LocalizationValue;
|
|
@@ -4703,6 +4792,7 @@ type _LocalizationResource = {
|
|
|
4703
4792
|
account: LocalizationValue;
|
|
4704
4793
|
security: LocalizationValue;
|
|
4705
4794
|
billing: LocalizationValue;
|
|
4795
|
+
apiKeys: LocalizationValue;
|
|
4706
4796
|
};
|
|
4707
4797
|
start: {
|
|
4708
4798
|
headerTitle__account: LocalizationValue;
|
|
@@ -4843,6 +4933,10 @@ type _LocalizationResource = {
|
|
|
4843
4933
|
successMessage: LocalizationValue;
|
|
4844
4934
|
};
|
|
4845
4935
|
};
|
|
4936
|
+
apiKeysPage: {
|
|
4937
|
+
title: LocalizationValue;
|
|
4938
|
+
detailsTitle__emptyRow: LocalizationValue;
|
|
4939
|
+
};
|
|
4846
4940
|
passkeyScreen: {
|
|
4847
4941
|
title__rename: LocalizationValue;
|
|
4848
4942
|
subtitle__rename: LocalizationValue;
|
|
@@ -4967,14 +5061,35 @@ type _LocalizationResource = {
|
|
|
4967
5061
|
headerTitle__subscriptions: LocalizationValue;
|
|
4968
5062
|
headerTitle__statements: LocalizationValue;
|
|
4969
5063
|
};
|
|
5064
|
+
statementsSection: {
|
|
5065
|
+
empty: LocalizationValue;
|
|
5066
|
+
itemCaption__paidForPlan: LocalizationValue;
|
|
5067
|
+
itemCaption__proratedCredit: LocalizationValue;
|
|
5068
|
+
itemCaption__subscribedAndPaidForPlan: LocalizationValue;
|
|
5069
|
+
notFound: LocalizationValue;
|
|
5070
|
+
tableHeader__date: LocalizationValue;
|
|
5071
|
+
tableHeader__amount: LocalizationValue;
|
|
5072
|
+
title: LocalizationValue;
|
|
5073
|
+
totalPaid: LocalizationValue;
|
|
5074
|
+
};
|
|
4970
5075
|
switchPlansSection: {
|
|
4971
5076
|
title: LocalizationValue;
|
|
4972
5077
|
};
|
|
4973
5078
|
subscriptionsListSection: {
|
|
5079
|
+
tableHeader__plan: LocalizationValue;
|
|
5080
|
+
tableHeader__startDate: LocalizationValue;
|
|
5081
|
+
tableHeader__edit: LocalizationValue;
|
|
4974
5082
|
title: LocalizationValue;
|
|
4975
5083
|
actionLabel__newSubscription: LocalizationValue;
|
|
4976
5084
|
actionLabel__switchPlan: LocalizationValue;
|
|
4977
5085
|
};
|
|
5086
|
+
paymentHistorySection: {
|
|
5087
|
+
empty: LocalizationValue;
|
|
5088
|
+
notFound: LocalizationValue;
|
|
5089
|
+
tableHeader__date: LocalizationValue;
|
|
5090
|
+
tableHeader__amount: LocalizationValue;
|
|
5091
|
+
tableHeader__status: LocalizationValue;
|
|
5092
|
+
};
|
|
4978
5093
|
paymentSourcesSection: {
|
|
4979
5094
|
title: LocalizationValue;
|
|
4980
5095
|
add: LocalizationValue;
|
|
@@ -5029,6 +5144,7 @@ type _LocalizationResource = {
|
|
|
5029
5144
|
general: LocalizationValue;
|
|
5030
5145
|
members: LocalizationValue;
|
|
5031
5146
|
billing: LocalizationValue;
|
|
5147
|
+
apiKeys: LocalizationValue;
|
|
5032
5148
|
};
|
|
5033
5149
|
badge__unverified: LocalizationValue;
|
|
5034
5150
|
badge__automaticInvitation: LocalizationValue;
|
|
@@ -5172,14 +5288,35 @@ type _LocalizationResource = {
|
|
|
5172
5288
|
headerTitle__subscriptions: LocalizationValue;
|
|
5173
5289
|
headerTitle__statements: LocalizationValue;
|
|
5174
5290
|
};
|
|
5291
|
+
statementsSection: {
|
|
5292
|
+
empty: LocalizationValue;
|
|
5293
|
+
itemCaption__paidForPlan: LocalizationValue;
|
|
5294
|
+
itemCaption__proratedCredit: LocalizationValue;
|
|
5295
|
+
itemCaption__subscribedAndPaidForPlan: LocalizationValue;
|
|
5296
|
+
notFound: LocalizationValue;
|
|
5297
|
+
tableHeader__date: LocalizationValue;
|
|
5298
|
+
tableHeader__amount: LocalizationValue;
|
|
5299
|
+
title: LocalizationValue;
|
|
5300
|
+
totalPaid: LocalizationValue;
|
|
5301
|
+
};
|
|
5175
5302
|
switchPlansSection: {
|
|
5176
5303
|
title: LocalizationValue;
|
|
5177
5304
|
};
|
|
5178
5305
|
subscriptionsListSection: {
|
|
5306
|
+
tableHeader__plan: LocalizationValue;
|
|
5307
|
+
tableHeader__startDate: LocalizationValue;
|
|
5308
|
+
tableHeader__edit: LocalizationValue;
|
|
5179
5309
|
title: LocalizationValue;
|
|
5180
5310
|
actionLabel__newSubscription: LocalizationValue;
|
|
5181
5311
|
actionLabel__switchPlan: LocalizationValue;
|
|
5182
5312
|
};
|
|
5313
|
+
paymentHistorySection: {
|
|
5314
|
+
empty: LocalizationValue;
|
|
5315
|
+
notFound: LocalizationValue;
|
|
5316
|
+
tableHeader__date: LocalizationValue;
|
|
5317
|
+
tableHeader__amount: LocalizationValue;
|
|
5318
|
+
tableHeader__status: LocalizationValue;
|
|
5319
|
+
};
|
|
5183
5320
|
paymentSourcesSection: {
|
|
5184
5321
|
title: LocalizationValue;
|
|
5185
5322
|
add: LocalizationValue;
|
|
@@ -5207,6 +5344,10 @@ type _LocalizationResource = {
|
|
|
5207
5344
|
noPermissionsToManageBilling: LocalizationValue;
|
|
5208
5345
|
};
|
|
5209
5346
|
};
|
|
5347
|
+
apiKeysPage: {
|
|
5348
|
+
title: LocalizationValue;
|
|
5349
|
+
detailsTitle__emptyRow: LocalizationValue;
|
|
5350
|
+
};
|
|
5210
5351
|
};
|
|
5211
5352
|
createOrganization: {
|
|
5212
5353
|
title: LocalizationValue;
|
|
@@ -5249,6 +5390,28 @@ type _LocalizationResource = {
|
|
|
5249
5390
|
message: LocalizationValue;
|
|
5250
5391
|
};
|
|
5251
5392
|
};
|
|
5393
|
+
apiKeys: {
|
|
5394
|
+
formTitle: LocalizationValue;
|
|
5395
|
+
formHint: LocalizationValue;
|
|
5396
|
+
formButtonPrimary__add: LocalizationValue;
|
|
5397
|
+
menuAction__revoke: LocalizationValue;
|
|
5398
|
+
action__search: LocalizationValue;
|
|
5399
|
+
action__add: LocalizationValue;
|
|
5400
|
+
detailsTitle__emptyRow: LocalizationValue;
|
|
5401
|
+
revokeConfirmation: {
|
|
5402
|
+
formTitle: LocalizationValue;
|
|
5403
|
+
formHint: LocalizationValue;
|
|
5404
|
+
formButtonPrimary__revoke: LocalizationValue;
|
|
5405
|
+
};
|
|
5406
|
+
dates: {
|
|
5407
|
+
lastUsed__seconds: LocalizationValue;
|
|
5408
|
+
lastUsed__minutes: LocalizationValue;
|
|
5409
|
+
lastUsed__hours: LocalizationValue;
|
|
5410
|
+
lastUsed__days: LocalizationValue;
|
|
5411
|
+
lastUsed__months: LocalizationValue;
|
|
5412
|
+
lastUsed__years: LocalizationValue;
|
|
5413
|
+
};
|
|
5414
|
+
};
|
|
5252
5415
|
};
|
|
5253
5416
|
type WithParamName<T> = T & Partial<Record<`${keyof T & string}__${CamelToSnake<Exclude<FieldId, 'role'>>}`, LocalizationValue>>;
|
|
5254
5417
|
type UnstableErrors = WithParamName<{
|
|
@@ -5733,6 +5896,25 @@ interface Clerk {
|
|
|
5733
5896
|
* @param targetNode Target node to unmount the PricingTable component from.
|
|
5734
5897
|
*/
|
|
5735
5898
|
unmountPricingTable: (targetNode: HTMLDivElement) => void;
|
|
5899
|
+
/**
|
|
5900
|
+
* @experimental
|
|
5901
|
+
* This API is in early access and may change in future releases.
|
|
5902
|
+
*
|
|
5903
|
+
* Mount a api keys component at the target element.
|
|
5904
|
+
* @param targetNode Target to mount the APIKeys component.
|
|
5905
|
+
* @param props Configuration parameters.
|
|
5906
|
+
*/
|
|
5907
|
+
mountApiKeys: (targetNode: HTMLDivElement, props?: APIKeysProps) => void;
|
|
5908
|
+
/**
|
|
5909
|
+
* @experimental
|
|
5910
|
+
* This API is in early access and may change in future releases.
|
|
5911
|
+
*
|
|
5912
|
+
* Unmount a api keys component from the target element.
|
|
5913
|
+
* If there is no component mounted at the target node, results in a noop.
|
|
5914
|
+
*
|
|
5915
|
+
* @param targetNode Target node to unmount the ApiKeys component from.
|
|
5916
|
+
*/
|
|
5917
|
+
unmountApiKeys: (targetNode: HTMLDivElement) => void;
|
|
5736
5918
|
/**
|
|
5737
5919
|
* Mounts a OAuth consent component at the target element.
|
|
5738
5920
|
* @param targetNode Target node to mount the OAuth consent component.
|
|
@@ -5974,6 +6156,12 @@ interface Clerk {
|
|
|
5974
6156
|
* initiated outside of the Clerk class.
|
|
5975
6157
|
*/
|
|
5976
6158
|
__internal_setActiveInProgress: boolean;
|
|
6159
|
+
/**
|
|
6160
|
+
* API Keys Object
|
|
6161
|
+
* @experimental
|
|
6162
|
+
* This API is in early access and may change in future releases.
|
|
6163
|
+
*/
|
|
6164
|
+
apiKeys: APIKeysNamespace;
|
|
5977
6165
|
}
|
|
5978
6166
|
type HandleOAuthCallbackParams = TransferableOption & SignInForceRedirectUrl & SignInFallbackRedirectUrl & SignUpForceRedirectUrl & SignUpFallbackRedirectUrl & LegacyRedirectProps & {
|
|
5979
6167
|
/**
|
|
@@ -6737,6 +6925,39 @@ type PricingTableBaseProps = {
|
|
|
6737
6925
|
};
|
|
6738
6926
|
type PortalRoot = HTMLElement | null | undefined;
|
|
6739
6927
|
type PricingTableProps = PricingTableBaseProps & PricingTableDefaultProps;
|
|
6928
|
+
type APIKeysProps = {
|
|
6929
|
+
/**
|
|
6930
|
+
* The type of API key to filter by.
|
|
6931
|
+
* Currently, only 'api_key' is supported.
|
|
6932
|
+
* @default 'api_key'
|
|
6933
|
+
*/
|
|
6934
|
+
type?: 'api_key';
|
|
6935
|
+
/**
|
|
6936
|
+
* The number of API keys to show per page.
|
|
6937
|
+
* @default 5
|
|
6938
|
+
*/
|
|
6939
|
+
perPage?: number;
|
|
6940
|
+
/**
|
|
6941
|
+
* Customisation options to fully match the Clerk components to your own brand.
|
|
6942
|
+
* These options serve as overrides and will be merged with the global `appearance`
|
|
6943
|
+
* prop of ClerkProvider (if one is provided)
|
|
6944
|
+
*/
|
|
6945
|
+
appearance?: APIKeysTheme;
|
|
6946
|
+
};
|
|
6947
|
+
type GetAPIKeysParams = {
|
|
6948
|
+
subject?: string;
|
|
6949
|
+
};
|
|
6950
|
+
type CreateAPIKeyParams = {
|
|
6951
|
+
type?: 'api_key';
|
|
6952
|
+
name: string;
|
|
6953
|
+
subject?: string;
|
|
6954
|
+
secondsUntilExpiration?: number;
|
|
6955
|
+
description?: string;
|
|
6956
|
+
};
|
|
6957
|
+
type RevokeAPIKeyParams = {
|
|
6958
|
+
apiKeyID: string;
|
|
6959
|
+
revocationReason?: string;
|
|
6960
|
+
};
|
|
6740
6961
|
type __internal_CheckoutProps = {
|
|
6741
6962
|
appearance?: CheckoutTheme;
|
|
6742
6963
|
planId?: string;
|
|
@@ -6896,6 +7117,7 @@ interface EnvironmentResource extends ClerkResource {
|
|
|
6896
7117
|
authConfig: AuthConfigResource;
|
|
6897
7118
|
displayConfig: DisplayConfigResource;
|
|
6898
7119
|
commerceSettings: CommerceSettingsResource;
|
|
7120
|
+
apiKeysSettings: APIKeysSettingsResource;
|
|
6899
7121
|
isSingleSession: () => boolean;
|
|
6900
7122
|
isProduction: () => boolean;
|
|
6901
7123
|
isDevelopmentOrStaging: () => boolean;
|
|
@@ -7270,4 +7492,4 @@ type SharedSignedInAuthObjectProperties = {
|
|
|
7270
7492
|
factorVerificationAge: [firstFactorAge: number, secondFactorAge: number] | null;
|
|
7271
7493
|
};
|
|
7272
7494
|
|
|
7273
|
-
export { type ActClaim, type ActJWTClaim, type Actions, type ActiveSessionResource, type AddMemberParams, type AddPaymentSourceParams, type AfterMultiSessionSingleSignOutUrl, type AfterSignOutUrl, type AlertId, type AlphaColorScale, type Appearance, type AppleOauthProvider, type AtlassianOauthProvider, type AttemptAffiliationVerificationParams, type AttemptEmailAddressVerificationParams, type AttemptFirstFactorParams, type AttemptPhoneNumberVerificationParams, type AttemptSecondFactorParams, type AttemptVerificationParams, type AttemptWeb3WalletVerificationParams, type Attribute, type AttributeData, type AttributeDataJSON, type Attributes, type AttributesJSON, type AuthConfigJSON, type AuthConfigJSONSnapshot, type AuthConfigResource, type AuthenticateWithCoinbaseWalletParams, type AuthenticateWithGoogleOneTapParams, type AuthenticateWithMetamaskParams, type AuthenticateWithOKXWalletParams, type AuthenticateWithPasskeyParams, type AuthenticateWithPopupParams, type AuthenticateWithRedirectParams, type AuthenticateWithWeb3Params, type Autocomplete, type BackupCodeAttempt, type BackupCodeFactor, type BackupCodeJSON, type BackupCodeResource, type BackupCodeStrategy, type BaseTheme, type BaseThemeTaggedType, type BeforeEmitCallback, type BitbucketOauthProvider, type BoxOauthProvider, type BoxShadow, type BuiltInColors, type CamelToSnake, type CancelSubscriptionParams, type CaptchaAppearanceOptions, type CaptchaProvider, type CaptchaWidgetType, type CardActionId, type CheckAuthorization, type CheckAuthorizationFn, type CheckAuthorizationFromSessionClaims, type CheckAuthorizationParamsFromSessionClaims, type CheckAuthorizationParamsWithCustomPermissions, type CheckAuthorizationWithCustomPermissions, type CheckoutTheme, type Clerk, type ClerkAPIError, type ClerkAPIErrorJSON, type ClerkAuthenticateWithWeb3Params, type ClerkEventPayload, type ClerkHostRouter, type ClerkJWTClaims, type ClerkOptions, type ClerkPaginatedResponse, type ClerkPaginationParams, type ClerkPaginationRequest, type ClerkResource, type ClerkResourceJSON, type ClerkResourceReloadParams, type ClerkRuntimeError, type ClerkStatus, type ClerkThemeOptions, type ClientJSON, type ClientJSONSnapshot, type ClientResource, type CodeVerificationAttemptParam, type CoinbaseOauthProvider, type CoinbaseWalletWeb3Provider, type Color, type ColorScale, type ColorScaleWithRequiredBase, type ColorString, type CommerceBillingNamespace, type CommerceCheckoutJSON, type CommerceCheckoutResource, type CommerceCheckoutTotals, type CommerceCheckoutTotalsJSON, type CommerceFeatureJSON, type CommerceFeatureJSONSnapshot, type CommerceFeatureResource, type CommerceInitializedPaymentSourceJSON, type CommerceInitializedPaymentSourceResource, type CommerceMoney, type CommerceMoneyJSON, type CommercePaymentChargeType, type CommercePaymentJSON, type CommercePaymentResource, type CommercePaymentSourceJSON, type CommercePaymentSourceMethods, type CommercePaymentSourceResource, type CommercePaymentSourceStatus, type CommercePaymentStatus, type CommercePlanJSON, type CommercePlanJSONSnapshot, type CommercePlanResource, type CommerceProductJSON, type CommerceProductResource, type CommerceSettingsJSON, type CommerceSettingsJSONSnapshot, type CommerceSettingsResource, type CommerceStatementGroup, type CommerceStatementGroupJSON, type CommerceStatementJSON, type CommerceStatementResource, type CommerceStatementStatus, type CommerceStatementTotals, type CommerceStatementTotalsJSON, type CommerceSubscriberType, type CommerceSubscriptionJSON, type CommerceSubscriptionPlanPeriod, type CommerceSubscriptionResource, type CommerceSubscriptionStatus, type ComplexityErrors, type ConfirmCheckoutParams, type CreateBulkOrganizationInvitationParams, type CreateCheckoutParams, type CreateEmailAddressParams, type CreateEmailLinkFlowReturn, type CreateEnterpriseSSOLinkFlowReturn, type CreateExternalAccountParams, type CreateOrganizationInvitationParams, type CreateOrganizationModalProps, type CreateOrganizationParams, type CreateOrganizationProps, type CreateOrganizationTheme, type CreatePhoneNumberParams, type CreateWeb3WalletParams, type CredentialReturn, type CssColorOrAlphaScale, type CssColorOrScale, type CustomMenuItem, type CustomNavigation, type CustomOAuthStrategy, type CustomOauthProvider, type CustomPage, type DeepCamelToSnake, type DeepPartial, type DeepRequired, type DeepSnakeToCamel, type DeletedObjectJSON, type DeletedObjectResource, type DiscordOauthProvider, type DisplayConfigJSON, type DisplayConfigJSONSnapshot, type DisplayConfigResource, type DisplayThemeJSON, type DomainOrProxyUrl, type DropboxOauthProvider, type ElementObjectKey, type ElementState, type Elements, type ElementsConfig, type EmUnit, type EmailAddressIdentifier, type EmailAddressJSON, type EmailAddressJSONSnapshot, type EmailAddressOrPhoneNumberIdentifier, type EmailAddressResource, type EmailCodeAttempt, type EmailCodeConfig, type EmailCodeFactor, type EmailCodeStrategy, type EmailLinkConfig, type EmailLinkFactor, type EmailLinkStrategy, type EnstallOauthProvider, type EnterpriseAccountConnectionJSON, type EnterpriseAccountConnectionJSONSnapshot, type EnterpriseAccountConnectionResource, type EnterpriseAccountJSON, type EnterpriseAccountJSONSnapshot, type EnterpriseAccountResource, type EnterpriseProtocol, type EnterpriseProvider, type EnterpriseSSOConfig, type EnterpriseSSOFactor, type EnterpriseSSOSettings, type EnterpriseSSOStrategy, type EnvironmentJSON, type EnvironmentJSONSnapshot, type EnvironmentResource, type ExternalAccountJSON, type ExternalAccountJSONSnapshot, type ExternalAccountResource, type FacebookOauthProvider, type FieldId, type FirstNameAttribute, type FontFamily, type FontWeight, type GenerateSignature, type GenerateSignatureParams, type GetDomainsParams, type GetInvitationsParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetPaymentAttemptsParams, type GetPaymentSourcesParams, type GetPlansParams, type GetRolesParams, type GetStatementsParams, type GetSubscriptionsParams, type GetToken, type GetTokenOptions, type GetUserOrganizationInvitationsParams, type GetUserOrganizationMembershipParams, type GetUserOrganizationSuggestionsParams, type GithubOauthProvider, type GitlabOauthProvider, type GoogleOauthProvider, type GoogleOneTapProps, type GoogleOneTapStrategy, type HandleEmailLinkVerificationParams, type HandleOAuthCallbackParams, type HandleSamlCallbackParams, type HexColor, type HexColorString, type HslaColor, type HslaColorString, type HubspotOauthProvider, type HuggingfaceOAuthProvider, type IdSelectors, type IdentificationLinkJSON, type IdentificationLinkJSONSnapshot, type IdentificationLinkResource, type ImageJSON, type ImageResource, type InitialState, type InitializePaymentSourceParams, type InstagramOauthProvider, type InstanceType, type InviteMemberParams, type InviteMembersParams, type JWT, type JWTClaims, type JWTHeader, type JoinWaitlistParams, type Jwt, type JwtHeader, type JwtPayload, type LastNameAttribute, type Layout, type LegacyRedirectProps, type LegalAcceptedAttribute, type LineOauthProvider, type LinearOauthProvider, type LinkedinOIDCOauthProvider, type LinkedinOauthProvider, type ListenerCallback, type LoadedClerk, type LocalizationResource, type LocalizationValue, type MakeDefaultPaymentSourceParams, type MenuId, type MetamaskWeb3Provider, type MicrosoftOauthProvider, type MultiDomainAndOrProxy, type MultiDomainAndOrProxyPrimitives, type NavigateOptions, type NewSubscriptionRedirectUrl, type NextTaskParams, type NotionOauthProvider, type Nullable, OAUTH_PROVIDERS, type OAuthConfig, type OAuthConsentTheme, type OAuthProvider, type OAuthProviderData, type OAuthProviderSettings, type OAuthProviders, type OAuthScope, type OAuthStrategy, type OKXWalletWeb3Provider, type OauthFactor, type OrganizationCustomPermissionKey, type OrganizationCustomRoleKey, type OrganizationDomainJSON, type OrganizationDomainResource, type OrganizationDomainVerification, type OrganizationDomainVerificationJSON, type OrganizationDomainVerificationStatus, type OrganizationEnrollmentMode, type OrganizationInvitationJSON, type OrganizationInvitationResource, type OrganizationInvitationStatus, type OrganizationJSON, type OrganizationJSONSnapshot, type OrganizationListProps, type OrganizationListTheme, type OrganizationMembershipJSON, type OrganizationMembershipJSONSnapshot, type OrganizationMembershipRequestJSON, type OrganizationMembershipRequestResource, type OrganizationMembershipResource, type OrganizationPermissionKey, type OrganizationPreviewId, type OrganizationProfileModalProps, type OrganizationProfileProps, type OrganizationProfileTheme, type OrganizationResource, type OrganizationSettingsJSON, type OrganizationSettingsJSONSnapshot, type OrganizationSettingsResource, type OrganizationSuggestionJSON, type OrganizationSuggestionResource, type OrganizationSuggestionStatus, type OrganizationSwitcherProps, type OrganizationSwitcherTheme, type OrganizationSystemPermissionKey, type OrganizationSystemPermissionPrefix, type OrganizationsJWTClaim, type Override, type PartialWithClerkResource, type PassKeyConfig, type PasskeyAttempt, type PasskeyFactor, type PasskeyJSON, type PasskeyJSONSnapshot, type PasskeyResource, type PasskeySettingsData, type PasskeyStrategy, type PasskeyVerificationResource, type PasswordAttempt, type PasswordAttribute, type PasswordFactor, type PasswordSettingsData, type PasswordStrategy, type PasswordStrength, type PasswordValidation, type PathValue, type PaymentGateway, type PendingSessionOptions, type PendingSessionResource, type PermissionJSON, type PermissionResource, type PhoneCodeAttempt, type PhoneCodeChannel, type PhoneCodeChannelData, type PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeProvider, type PhoneCodeSMSChannel, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, type PhoneCodeWhatsAppChannel, type PhoneNumberIdentifier, type PhoneNumberJSON, type PhoneNumberJSONSnapshot, type PhoneNumberResource, type PhoneNumberVerificationStrategy, type PlanDetailTheme, type PreferredSignInStrategy, type PrepareAffiliationVerificationParams, type PrepareEmailAddressVerificationParams, type PrepareFirstFactorParams, type PreparePhoneNumberVerificationParams, type PrepareSecondFactorParams, type PrepareVerificationParams, type PrepareWeb3WalletVerificationParams, type PricingTableProps, type PricingTableTheme, type ProfilePageId, type ProfileSectionId, type PublicKeyCredentialCreationOptionsJSON, type PublicKeyCredentialCreationOptionsWithoutExtensions, type PublicKeyCredentialRequestOptionsJSON, type PublicKeyCredentialRequestOptionsWithoutExtensions, type PublicKeyCredentialWithAuthenticatorAssertionResponse, type PublicKeyCredentialWithAuthenticatorAttestationResponse, type PublicOrganizationDataJSON, type PublicUserData, type PublicUserDataJSON, type PublicUserDataJSONSnapshot, type PublishableKey, type ReauthorizeExternalAccountParams, type RecordToPath, type RedirectOptions, type RedirectUrlProp, type RemovePaymentSourceParams, type RemoveUserPasswordParams, type ResetPasswordCodeFactor, type ResetPasswordEmailCodeAttempt, type ResetPasswordEmailCodeFactor, type ResetPasswordEmailCodeFactorConfig, type ResetPasswordEmailCodeStrategy, type ResetPasswordParams, type ResetPasswordPhoneCodeAttempt, type ResetPasswordPhoneCodeFactor, type ResetPasswordPhoneCodeFactorConfig, type ResetPasswordPhoneCodeStrategy, type Resources, type ReverificationConfig, type RgbaColor, type RgbaColorString, type RoleJSON, type RoleResource, type RoutingMode, type RoutingOptions, type RoutingStrategy, SAML_IDPS, type SDKMetadata, type SamlAccountConnectionJSON, type SamlAccountConnectionJSONSnapshot, type SamlAccountConnectionResource, type SamlAccountJSON, type SamlAccountJSONSnapshot, type SamlAccountResource, type SamlConfig, type SamlFactor, type SamlIdp, type SamlIdpMap, type SamlIdpSlug, type SamlSettings, type SamlStrategy, type SelectId, type Serializable, type ServerGetToken, type ServerGetTokenOptions, type SessionActivity, type SessionActivityJSON, type SessionJSON, type SessionJSONSnapshot, type SessionResource, type SessionStatus, type SessionStatusClaim, type SessionTask, type SessionVerificationAfterMinutes, type SessionVerificationFirstFactor, type SessionVerificationJSON, type SessionVerificationLevel, type SessionVerificationResource, type SessionVerificationSecondFactor, type SessionVerificationStatus, type SessionVerificationTypes, type SessionVerifyAttemptFirstFactorParams, type SessionVerifyAttemptSecondFactorParams, type SessionVerifyCreateParams, type SessionVerifyPrepareFirstFactorParams, type SessionVerifyPrepareSecondFactorParams, type SessionWithActivitiesJSON, type SessionWithActivitiesResource, type SetActive, type SetActiveParams, type SetOrganizationLogoParams, type SetProfileImageParams, type SetReservedForSecondFactorParams, type SharedSignedInAuthObjectProperties, type SignInButtonProps, type SignInCreateParams, type SignInData, type SignInFactor, type SignInFallbackRedirectUrl, type SignInFirstFactor, type SignInFirstFactorJSON, type SignInForceRedirectUrl, type SignInIdentifier, type SignInInitialValues, type SignInJSON, type SignInJSONSnapshot, type SignInModalProps, type SignInProps, type SignInRedirectOptions, type SignInResource, type SignInSecondFactor, type SignInSecondFactorJSON, type SignInStartEmailLinkFlowParams, type SignInStatus, type SignInStrategy, type SignInTheme, type SignOut, type SignOutCallback, type SignOutOptions, type SignUpAttributeField, type SignUpAuthenticateWithMetamaskParams, type SignUpAuthenticateWithWeb3Params, type SignUpButtonProps, type SignUpCreateParams, type SignUpData, type SignUpFallbackRedirectUrl, type SignUpField, type SignUpForceRedirectUrl, type SignUpIdentificationField, type SignUpInitialValues, type SignUpJSON, type SignUpJSONSnapshot, type SignUpModalProps, type SignUpModes, type SignUpProps, type SignUpRedirectOptions, type SignUpResource, type SignUpStatus, type SignUpTheme, type SignUpUpdateParams, type SignUpVerifiableField, type SignUpVerificationJSON, type SignUpVerificationJSONSnapshot, type SignUpVerificationResource, type SignUpVerificationsJSON, type SignUpVerificationsJSONSnapshot, type SignUpVerificationsResource, type SignatureVerificationAttemptParam, type SignedInSessionResource, type SlackOauthProvider, type SnakeToCamel, type SpotifyOauthProvider, type StartEmailLinkFlowParams, type StartEnterpriseSSOLinkFlowParams, type StateSelectors, type TOTPAttempt, type TOTPFactor, type TOTPJSON, type TOTPResource, type TOTPStrategy, type TelemetryCollector, type TelemetryEvent, type TelemetryEventRaw, type Theme, type TicketStrategy, type TiktokOauthProvider, type TokenJSON, type TokenJSONSnapshot, type TokenResource, type TransferableOption, type TransparentColor, type TwitchOauthProvider, type TwitterOauthProvider, type UnsubscribeCallback, type UpdateEnrollmentModeParams, type UpdateMembershipParams, type UpdateOrganizationMembershipParams, type UpdateOrganizationParams, type UpdatePasskeyParams, type UpdateUserParams, type UpdateUserPasswordParams, type UseAuthReturn, type UseSessionListReturn, type UseSessionReturn, type UseSignInReturn, type UseSignUpReturn, type UseUserReturn, type UserButtonProps, type UserButtonTheme, type UserData, type UserDataJSON, type UserDataJSONSnapshot, type UserJSON, type UserJSONSnapshot, type UserOrganizationInvitationJSON, type UserOrganizationInvitationResource, type UserPreviewId, type UserProfileModalProps, type UserProfileProps, type UserProfileTheme, type UserResource, type UserSettingsJSON, type UserSettingsJSONSnapshot, type UserSettingsResource, type UserVerificationTheme, type UsernameIdentifier, type UsernameSettingsData, type ValidatePasswordCallbacks, type Variables, type VerificationAttemptParams, type VerificationJSON, type VerificationJSONSnapshot, type VerificationResource, type VerificationStatus, type VerificationStrategy, type VerifyTOTPParams, type VersionedJwtPayload, WEB3_PROVIDERS, type WaitlistJSON, type WaitlistModalProps, type WaitlistProps, type WaitlistResource, type WaitlistTheme, type Web3Attempt, type Web3Provider, type Web3ProviderData, type Web3SignatureConfig, type Web3SignatureFactor, type Web3Strategy, type Web3WalletIdentifier, type Web3WalletJSON, type Web3WalletJSONSnapshot, type Web3WalletResource, type Without, type WithoutRouting, type XOauthProvider, type XeroOauthProvider, type ZxcvbnResult, type __internal_CheckoutProps, type __internal_ComponentNavigationContext, type __internal_OAuthConsentProps, type __internal_PlanDetailsProps, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
|
|
7495
|
+
export { type APIKeyResource, type APIKeysNamespace, type APIKeysProps, type APIKeysSettingsJSON, type APIKeysSettingsJSONSnapshot, type APIKeysSettingsResource, type APIKeysTheme, type ActClaim, type ActJWTClaim, type Actions, type ActiveSessionResource, type AddMemberParams, type AddPaymentSourceParams, type AfterMultiSessionSingleSignOutUrl, type AfterSignOutUrl, type AlertId, type AlphaColorScale, type ApiKeyJSON, type Appearance, type AppleOauthProvider, type AtlassianOauthProvider, type AttemptAffiliationVerificationParams, type AttemptEmailAddressVerificationParams, type AttemptFirstFactorParams, type AttemptPhoneNumberVerificationParams, type AttemptSecondFactorParams, type AttemptVerificationParams, type AttemptWeb3WalletVerificationParams, type Attribute, type AttributeData, type AttributeDataJSON, type Attributes, type AttributesJSON, type AuthConfigJSON, type AuthConfigJSONSnapshot, type AuthConfigResource, type AuthenticateWithCoinbaseWalletParams, type AuthenticateWithGoogleOneTapParams, type AuthenticateWithMetamaskParams, type AuthenticateWithOKXWalletParams, type AuthenticateWithPasskeyParams, type AuthenticateWithPopupParams, type AuthenticateWithRedirectParams, type AuthenticateWithWeb3Params, type Autocomplete, type BackupCodeAttempt, type BackupCodeFactor, type BackupCodeJSON, type BackupCodeResource, type BackupCodeStrategy, type BaseTheme, type BaseThemeTaggedType, type BeforeEmitCallback, type BitbucketOauthProvider, type BoxOauthProvider, type BoxShadow, type BuiltInColors, type CamelToSnake, type CancelSubscriptionParams, type CaptchaAppearanceOptions, type CaptchaProvider, type CaptchaWidgetType, type CardActionId, type CheckAuthorization, type CheckAuthorizationFn, type CheckAuthorizationFromSessionClaims, type CheckAuthorizationParamsFromSessionClaims, type CheckAuthorizationParamsWithCustomPermissions, type CheckAuthorizationWithCustomPermissions, type CheckoutTheme, type Clerk, type ClerkAPIError, type ClerkAPIErrorJSON, type ClerkAuthenticateWithWeb3Params, type ClerkEventPayload, type ClerkHostRouter, type ClerkJWTClaims, type ClerkOptions, type ClerkPaginatedResponse, type ClerkPaginationParams, type ClerkPaginationRequest, type ClerkResource, type ClerkResourceJSON, type ClerkResourceReloadParams, type ClerkRuntimeError, type ClerkStatus, type ClerkThemeOptions, type ClientJSON, type ClientJSONSnapshot, type ClientResource, type CodeVerificationAttemptParam, type CoinbaseOauthProvider, type CoinbaseWalletWeb3Provider, type Color, type ColorScale, type ColorScaleWithRequiredBase, type ColorString, type CommerceBillingNamespace, type CommerceCheckoutJSON, type CommerceCheckoutResource, type CommerceCheckoutTotals, type CommerceCheckoutTotalsJSON, type CommerceFeatureJSON, type CommerceFeatureJSONSnapshot, type CommerceFeatureResource, type CommerceInitializedPaymentSourceJSON, type CommerceInitializedPaymentSourceResource, type CommerceMoney, type CommerceMoneyJSON, type CommercePaymentChargeType, type CommercePaymentJSON, type CommercePaymentResource, type CommercePaymentSourceJSON, type CommercePaymentSourceMethods, type CommercePaymentSourceResource, type CommercePaymentSourceStatus, type CommercePaymentStatus, type CommercePlanJSON, type CommercePlanJSONSnapshot, type CommercePlanResource, type CommerceProductJSON, type CommerceProductResource, type CommerceSettingsJSON, type CommerceSettingsJSONSnapshot, type CommerceSettingsResource, type CommerceStatementGroup, type CommerceStatementGroupJSON, type CommerceStatementJSON, type CommerceStatementResource, type CommerceStatementStatus, type CommerceStatementTotals, type CommerceStatementTotalsJSON, type CommerceSubscriberType, type CommerceSubscriptionJSON, type CommerceSubscriptionPlanPeriod, type CommerceSubscriptionResource, type CommerceSubscriptionStatus, type ComplexityErrors, type ConfirmCheckoutParams, type CreateAPIKeyParams, type CreateBulkOrganizationInvitationParams, type CreateCheckoutParams, type CreateEmailAddressParams, type CreateEmailLinkFlowReturn, type CreateEnterpriseSSOLinkFlowReturn, type CreateExternalAccountParams, type CreateOrganizationInvitationParams, type CreateOrganizationModalProps, type CreateOrganizationParams, type CreateOrganizationProps, type CreateOrganizationTheme, type CreatePhoneNumberParams, type CreateWeb3WalletParams, type CredentialReturn, type CssColorOrAlphaScale, type CssColorOrScale, type CustomMenuItem, type CustomNavigation, type CustomOAuthStrategy, type CustomOauthProvider, type CustomPage, type DeepCamelToSnake, type DeepPartial, type DeepRequired, type DeepSnakeToCamel, type DeletedObjectJSON, type DeletedObjectResource, type DiscordOauthProvider, type DisplayConfigJSON, type DisplayConfigJSONSnapshot, type DisplayConfigResource, type DisplayThemeJSON, type DomainOrProxyUrl, type DropboxOauthProvider, type ElementObjectKey, type ElementState, type Elements, type ElementsConfig, type EmUnit, type EmailAddressIdentifier, type EmailAddressJSON, type EmailAddressJSONSnapshot, type EmailAddressOrPhoneNumberIdentifier, type EmailAddressResource, type EmailCodeAttempt, type EmailCodeConfig, type EmailCodeFactor, type EmailCodeStrategy, type EmailLinkConfig, type EmailLinkFactor, type EmailLinkStrategy, type EnstallOauthProvider, type EnterpriseAccountConnectionJSON, type EnterpriseAccountConnectionJSONSnapshot, type EnterpriseAccountConnectionResource, type EnterpriseAccountJSON, type EnterpriseAccountJSONSnapshot, type EnterpriseAccountResource, type EnterpriseProtocol, type EnterpriseProvider, type EnterpriseSSOConfig, type EnterpriseSSOFactor, type EnterpriseSSOSettings, type EnterpriseSSOStrategy, type EnvironmentJSON, type EnvironmentJSONSnapshot, type EnvironmentResource, type ExternalAccountJSON, type ExternalAccountJSONSnapshot, type ExternalAccountResource, type FacebookOauthProvider, type FieldId, type FirstNameAttribute, type FontFamily, type FontWeight, type GenerateSignature, type GenerateSignatureParams, type GetAPIKeysParams, type GetDomainsParams, type GetInvitationsParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetPaymentAttemptsParams, type GetPaymentSourcesParams, type GetPlansParams, type GetRolesParams, type GetStatementsParams, type GetSubscriptionsParams, type GetToken, type GetTokenOptions, type GetUserOrganizationInvitationsParams, type GetUserOrganizationMembershipParams, type GetUserOrganizationSuggestionsParams, type GithubOauthProvider, type GitlabOauthProvider, type GoogleOauthProvider, type GoogleOneTapProps, type GoogleOneTapStrategy, type HandleEmailLinkVerificationParams, type HandleOAuthCallbackParams, type HandleSamlCallbackParams, type HexColor, type HexColorString, type HslaColor, type HslaColorString, type HubspotOauthProvider, type HuggingfaceOAuthProvider, type IdSelectors, type IdentificationLinkJSON, type IdentificationLinkJSONSnapshot, type IdentificationLinkResource, type ImageJSON, type ImageResource, type InitialState, type InitializePaymentSourceParams, type InstagramOauthProvider, type InstanceType, type InviteMemberParams, type InviteMembersParams, type JWT, type JWTClaims, type JWTHeader, type JoinWaitlistParams, type Jwt, type JwtHeader, type JwtPayload, type LastNameAttribute, type Layout, type LegacyRedirectProps, type LegalAcceptedAttribute, type LineOauthProvider, type LinearOauthProvider, type LinkedinOIDCOauthProvider, type LinkedinOauthProvider, type ListenerCallback, type LoadedClerk, type LocalizationResource, type LocalizationValue, type MakeDefaultPaymentSourceParams, type MenuId, type MetamaskWeb3Provider, type MicrosoftOauthProvider, type MultiDomainAndOrProxy, type MultiDomainAndOrProxyPrimitives, type NavigateOptions, type NewSubscriptionRedirectUrl, type NextTaskParams, type NotionOauthProvider, type Nullable, OAUTH_PROVIDERS, type OAuthConfig, type OAuthConsentTheme, type OAuthProvider, type OAuthProviderData, type OAuthProviderSettings, type OAuthProviders, type OAuthScope, type OAuthStrategy, type OKXWalletWeb3Provider, type OauthFactor, type OrganizationCustomPermissionKey, type OrganizationCustomRoleKey, type OrganizationDomainJSON, type OrganizationDomainResource, type OrganizationDomainVerification, type OrganizationDomainVerificationJSON, type OrganizationDomainVerificationStatus, type OrganizationEnrollmentMode, type OrganizationInvitationJSON, type OrganizationInvitationResource, type OrganizationInvitationStatus, type OrganizationJSON, type OrganizationJSONSnapshot, type OrganizationListProps, type OrganizationListTheme, type OrganizationMembershipJSON, type OrganizationMembershipJSONSnapshot, type OrganizationMembershipRequestJSON, type OrganizationMembershipRequestResource, type OrganizationMembershipResource, type OrganizationPermissionKey, type OrganizationPreviewId, type OrganizationProfileModalProps, type OrganizationProfileProps, type OrganizationProfileTheme, type OrganizationResource, type OrganizationSettingsJSON, type OrganizationSettingsJSONSnapshot, type OrganizationSettingsResource, type OrganizationSuggestionJSON, type OrganizationSuggestionResource, type OrganizationSuggestionStatus, type OrganizationSwitcherProps, type OrganizationSwitcherTheme, type OrganizationSystemPermissionKey, type OrganizationSystemPermissionPrefix, type OrganizationsJWTClaim, type Override, type PartialWithClerkResource, type PassKeyConfig, type PasskeyAttempt, type PasskeyFactor, type PasskeyJSON, type PasskeyJSONSnapshot, type PasskeyResource, type PasskeySettingsData, type PasskeyStrategy, type PasskeyVerificationResource, type PasswordAttempt, type PasswordAttribute, type PasswordFactor, type PasswordSettingsData, type PasswordStrategy, type PasswordStrength, type PasswordValidation, type PathValue, type PaymentGateway, type PendingSessionOptions, type PendingSessionResource, type PermissionJSON, type PermissionResource, type PhoneCodeAttempt, type PhoneCodeChannel, type PhoneCodeChannelData, type PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeProvider, type PhoneCodeSMSChannel, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, type PhoneCodeWhatsAppChannel, type PhoneNumberIdentifier, type PhoneNumberJSON, type PhoneNumberJSONSnapshot, type PhoneNumberResource, type PhoneNumberVerificationStrategy, type PlanDetailTheme, type PreferredSignInStrategy, type PrepareAffiliationVerificationParams, type PrepareEmailAddressVerificationParams, type PrepareFirstFactorParams, type PreparePhoneNumberVerificationParams, type PrepareSecondFactorParams, type PrepareVerificationParams, type PrepareWeb3WalletVerificationParams, type PricingTableProps, type PricingTableTheme, type ProfilePageId, type ProfileSectionId, type PublicKeyCredentialCreationOptionsJSON, type PublicKeyCredentialCreationOptionsWithoutExtensions, type PublicKeyCredentialRequestOptionsJSON, type PublicKeyCredentialRequestOptionsWithoutExtensions, type PublicKeyCredentialWithAuthenticatorAssertionResponse, type PublicKeyCredentialWithAuthenticatorAttestationResponse, type PublicOrganizationDataJSON, type PublicUserData, type PublicUserDataJSON, type PublicUserDataJSONSnapshot, type PublishableKey, type ReauthorizeExternalAccountParams, type RecordToPath, type RedirectOptions, type RedirectUrlProp, type RemovePaymentSourceParams, type RemoveUserPasswordParams, type ResetPasswordCodeFactor, type ResetPasswordEmailCodeAttempt, type ResetPasswordEmailCodeFactor, type ResetPasswordEmailCodeFactorConfig, type ResetPasswordEmailCodeStrategy, type ResetPasswordParams, type ResetPasswordPhoneCodeAttempt, type ResetPasswordPhoneCodeFactor, type ResetPasswordPhoneCodeFactorConfig, type ResetPasswordPhoneCodeStrategy, type Resources, type ReverificationConfig, type RevokeAPIKeyParams, type RgbaColor, type RgbaColorString, type RoleJSON, type RoleResource, type RoutingMode, type RoutingOptions, type RoutingStrategy, SAML_IDPS, type SDKMetadata, type SamlAccountConnectionJSON, type SamlAccountConnectionJSONSnapshot, type SamlAccountConnectionResource, type SamlAccountJSON, type SamlAccountJSONSnapshot, type SamlAccountResource, type SamlConfig, type SamlFactor, type SamlIdp, type SamlIdpMap, type SamlIdpSlug, type SamlSettings, type SamlStrategy, type SelectId, type Serializable, type ServerGetToken, type ServerGetTokenOptions, type SessionActivity, type SessionActivityJSON, type SessionJSON, type SessionJSONSnapshot, type SessionResource, type SessionStatus, type SessionStatusClaim, type SessionTask, type SessionVerificationAfterMinutes, type SessionVerificationFirstFactor, type SessionVerificationJSON, type SessionVerificationLevel, type SessionVerificationResource, type SessionVerificationSecondFactor, type SessionVerificationStatus, type SessionVerificationTypes, type SessionVerifyAttemptFirstFactorParams, type SessionVerifyAttemptSecondFactorParams, type SessionVerifyCreateParams, type SessionVerifyPrepareFirstFactorParams, type SessionVerifyPrepareSecondFactorParams, type SessionWithActivitiesJSON, type SessionWithActivitiesResource, type SetActive, type SetActiveParams, type SetOrganizationLogoParams, type SetProfileImageParams, type SetReservedForSecondFactorParams, type SharedSignedInAuthObjectProperties, type SignInButtonProps, type SignInCreateParams, type SignInData, type SignInFactor, type SignInFallbackRedirectUrl, type SignInFirstFactor, type SignInFirstFactorJSON, type SignInForceRedirectUrl, type SignInIdentifier, type SignInInitialValues, type SignInJSON, type SignInJSONSnapshot, type SignInModalProps, type SignInProps, type SignInRedirectOptions, type SignInResource, type SignInSecondFactor, type SignInSecondFactorJSON, type SignInStartEmailLinkFlowParams, type SignInStatus, type SignInStrategy, type SignInTheme, type SignOut, type SignOutCallback, type SignOutOptions, type SignUpAttributeField, type SignUpAuthenticateWithMetamaskParams, type SignUpAuthenticateWithWeb3Params, type SignUpButtonProps, type SignUpCreateParams, type SignUpData, type SignUpFallbackRedirectUrl, type SignUpField, type SignUpForceRedirectUrl, type SignUpIdentificationField, type SignUpInitialValues, type SignUpJSON, type SignUpJSONSnapshot, type SignUpModalProps, type SignUpModes, type SignUpProps, type SignUpRedirectOptions, type SignUpResource, type SignUpStatus, type SignUpTheme, type SignUpUpdateParams, type SignUpVerifiableField, type SignUpVerificationJSON, type SignUpVerificationJSONSnapshot, type SignUpVerificationResource, type SignUpVerificationsJSON, type SignUpVerificationsJSONSnapshot, type SignUpVerificationsResource, type SignatureVerificationAttemptParam, type SignedInSessionResource, type SlackOauthProvider, type SnakeToCamel, type SpotifyOauthProvider, type StartEmailLinkFlowParams, type StartEnterpriseSSOLinkFlowParams, type StateSelectors, type TOTPAttempt, type TOTPFactor, type TOTPJSON, type TOTPResource, type TOTPStrategy, type TelemetryCollector, type TelemetryEvent, type TelemetryEventRaw, type Theme, type TicketStrategy, type TiktokOauthProvider, type TokenJSON, type TokenJSONSnapshot, type TokenResource, type TransferableOption, type TransparentColor, type TwitchOauthProvider, type TwitterOauthProvider, type UnsubscribeCallback, type UpdateEnrollmentModeParams, type UpdateMembershipParams, type UpdateOrganizationMembershipParams, type UpdateOrganizationParams, type UpdatePasskeyParams, type UpdateUserParams, type UpdateUserPasswordParams, type UseAuthReturn, type UseSessionListReturn, type UseSessionReturn, type UseSignInReturn, type UseSignUpReturn, type UseUserReturn, type UserButtonProps, type UserButtonTheme, type UserData, type UserDataJSON, type UserDataJSONSnapshot, type UserJSON, type UserJSONSnapshot, type UserOrganizationInvitationJSON, type UserOrganizationInvitationResource, type UserPreviewId, type UserProfileModalProps, type UserProfileProps, type UserProfileTheme, type UserResource, type UserSettingsJSON, type UserSettingsJSONSnapshot, type UserSettingsResource, type UserVerificationTheme, type UsernameIdentifier, type UsernameSettingsData, type ValidatePasswordCallbacks, type Variables, type VerificationAttemptParams, type VerificationJSON, type VerificationJSONSnapshot, type VerificationResource, type VerificationStatus, type VerificationStrategy, type VerifyTOTPParams, type VersionedJwtPayload, WEB3_PROVIDERS, type WaitlistJSON, type WaitlistModalProps, type WaitlistProps, type WaitlistResource, type WaitlistTheme, type Web3Attempt, type Web3Provider, type Web3ProviderData, type Web3SignatureConfig, type Web3SignatureFactor, type Web3Strategy, type Web3WalletIdentifier, type Web3WalletJSON, type Web3WalletJSONSnapshot, type Web3WalletResource, type Without, type WithoutRouting, type XOauthProvider, type XeroOauthProvider, type ZxcvbnResult, type __internal_CheckoutProps, type __internal_ComponentNavigationContext, type __internal_OAuthConsentProps, type __internal_PlanDetailsProps, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
|
package/dist/index.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ interface ClerkRuntimeError {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
type AlertId = 'danger' | 'warning' | 'info';
|
|
49
|
-
type FieldId = 'firstName' | 'lastName' | 'name' | 'slug' | 'emailAddress' | 'phoneNumber' | 'currentPassword' | 'newPassword' | 'signOutOfOtherSessions' | 'passkeyName' | 'password' | 'confirmPassword' | 'identifier' | 'username' | 'code' | 'role' | 'deleteConfirmation' | 'deleteOrganizationConfirmation' | 'enrollmentMode' | 'affiliationEmailAddress' | 'deleteExistingInvitationsSuggestions' | 'legalAccepted';
|
|
49
|
+
type FieldId = 'firstName' | 'lastName' | 'name' | 'slug' | 'emailAddress' | 'phoneNumber' | 'currentPassword' | 'newPassword' | 'signOutOfOtherSessions' | 'passkeyName' | 'password' | 'confirmPassword' | 'identifier' | 'username' | 'code' | 'role' | 'deleteConfirmation' | 'deleteOrganizationConfirmation' | 'enrollmentMode' | 'affiliationEmailAddress' | 'deleteExistingInvitationsSuggestions' | 'legalAccepted' | 'apiKeyDescription' | 'apiKeyExpirationDate' | 'apiKeyRevokeConfirmation';
|
|
50
50
|
type ProfileSectionId = 'profile' | 'username' | 'emailAddresses' | 'phoneNumbers' | 'connectedAccounts' | 'enterpriseAccounts' | 'web3Wallets' | 'password' | 'passkeys' | 'mfa' | 'danger' | 'activeDevices' | 'organizationProfile' | 'organizationDanger' | 'organizationDomains' | 'manageVerifiedDomains' | 'subscriptionsList' | 'paymentSources';
|
|
51
51
|
type ProfilePageId = 'account' | 'security' | 'organizationGeneral' | 'organizationMembers' | 'billing';
|
|
52
52
|
type UserPreviewId = 'userButton' | 'personalWorkspace';
|
|
@@ -334,9 +334,9 @@ type CommercePaymentStatus = 'pending' | 'paid' | 'failed';
|
|
|
334
334
|
interface CommercePaymentResource extends ClerkResource {
|
|
335
335
|
id: string;
|
|
336
336
|
amount: CommerceMoney;
|
|
337
|
-
paidAt?:
|
|
338
|
-
failedAt?:
|
|
339
|
-
updatedAt:
|
|
337
|
+
paidAt?: Date;
|
|
338
|
+
failedAt?: Date;
|
|
339
|
+
updatedAt: Date;
|
|
340
340
|
paymentSource: CommercePaymentSourceResource;
|
|
341
341
|
subscription: CommerceSubscriptionResource;
|
|
342
342
|
subscriptionItem: CommerceSubscriptionResource;
|
|
@@ -350,11 +350,11 @@ interface CommerceStatementResource extends ClerkResource {
|
|
|
350
350
|
id: string;
|
|
351
351
|
totals: CommerceStatementTotals;
|
|
352
352
|
status: CommerceStatementStatus;
|
|
353
|
-
timestamp:
|
|
353
|
+
timestamp: Date;
|
|
354
354
|
groups: CommerceStatementGroup[];
|
|
355
355
|
}
|
|
356
356
|
interface CommerceStatementGroup {
|
|
357
|
-
timestamp:
|
|
357
|
+
timestamp: Date;
|
|
358
358
|
items: CommercePaymentResource[];
|
|
359
359
|
}
|
|
360
360
|
type GetSubscriptionsParams = WithOptionalOrgType<ClerkPaginationParams>;
|
|
@@ -418,6 +418,24 @@ interface CommerceCheckoutResource extends ClerkResource {
|
|
|
418
418
|
isImmediatePlanChange: boolean;
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
+
interface CommerceSettingsJSON extends ClerkResourceJSON {
|
|
422
|
+
billing: {
|
|
423
|
+
enabled: boolean;
|
|
424
|
+
stripe_publishable_key: string;
|
|
425
|
+
has_paid_user_plans: boolean;
|
|
426
|
+
has_paid_org_plans: boolean;
|
|
427
|
+
};
|
|
428
|
+
}
|
|
429
|
+
interface CommerceSettingsResource extends ClerkResource {
|
|
430
|
+
billing: {
|
|
431
|
+
enabled: boolean;
|
|
432
|
+
stripePublishableKey: string;
|
|
433
|
+
hasPaidUserPlans: boolean;
|
|
434
|
+
hasPaidOrgPlans: boolean;
|
|
435
|
+
};
|
|
436
|
+
__internal_toSnapshot: () => CommerceSettingsJSONSnapshot;
|
|
437
|
+
}
|
|
438
|
+
|
|
421
439
|
type PreferredSignInStrategy = 'password' | 'otp';
|
|
422
440
|
type CaptchaWidgetType = 'smart' | 'invisible' | null;
|
|
423
441
|
type CaptchaProvider = 'turnstile';
|
|
@@ -2630,6 +2648,7 @@ interface ImageJSON {
|
|
|
2630
2648
|
}
|
|
2631
2649
|
interface EnvironmentJSON extends ClerkResourceJSON {
|
|
2632
2650
|
auth_config: AuthConfigJSON;
|
|
2651
|
+
api_keys_settings: APIKeysSettingsJSON;
|
|
2633
2652
|
commerce_settings: CommerceSettingsJSON;
|
|
2634
2653
|
display_config: DisplayConfigJSON;
|
|
2635
2654
|
user_settings: UserSettingsJSON;
|
|
@@ -3234,23 +3253,30 @@ interface CommerceCheckoutJSON extends ClerkResourceJSON {
|
|
|
3234
3253
|
totals: CommerceCheckoutTotalsJSON;
|
|
3235
3254
|
is_immediate_plan_change: boolean;
|
|
3236
3255
|
}
|
|
3256
|
+
interface ApiKeyJSON extends ClerkResourceJSON {
|
|
3257
|
+
id: string;
|
|
3258
|
+
type: string;
|
|
3259
|
+
name: string;
|
|
3260
|
+
subject: string;
|
|
3261
|
+
scopes: string[];
|
|
3262
|
+
claims: Record<string, any> | null;
|
|
3263
|
+
revoked: boolean;
|
|
3264
|
+
revocation_reason: string | null;
|
|
3265
|
+
expired: boolean;
|
|
3266
|
+
expiration: number | null;
|
|
3267
|
+
created_by: string | null;
|
|
3268
|
+
description: string | null;
|
|
3269
|
+
last_used_at: number | null;
|
|
3270
|
+
created_at: number;
|
|
3271
|
+
updated_at: number;
|
|
3272
|
+
}
|
|
3237
3273
|
|
|
3238
|
-
interface
|
|
3239
|
-
|
|
3240
|
-
enabled: boolean;
|
|
3241
|
-
stripe_publishable_key: string;
|
|
3242
|
-
has_paid_user_plans: boolean;
|
|
3243
|
-
has_paid_org_plans: boolean;
|
|
3244
|
-
};
|
|
3274
|
+
interface APIKeysSettingsJSON extends ClerkResourceJSON {
|
|
3275
|
+
enabled: boolean;
|
|
3245
3276
|
}
|
|
3246
|
-
interface
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
stripePublishableKey: string;
|
|
3250
|
-
hasPaidUserPlans: boolean;
|
|
3251
|
-
hasPaidOrgPlans: boolean;
|
|
3252
|
-
};
|
|
3253
|
-
__internal_toSnapshot: () => CommerceSettingsJSONSnapshot;
|
|
3277
|
+
interface APIKeysSettingsResource extends ClerkResource {
|
|
3278
|
+
enabled: boolean;
|
|
3279
|
+
__internal_toSnapshot: () => APIKeysSettingsJSONSnapshot;
|
|
3254
3280
|
}
|
|
3255
3281
|
|
|
3256
3282
|
type SignInJSONSnapshot = Override<Nullable<SignInJSON, 'status' | 'identifier' | 'supported_first_factors' | 'supported_second_factors'>, {
|
|
@@ -3323,6 +3349,7 @@ type PublicUserDataJSONSnapshot = PublicUserDataJSON;
|
|
|
3323
3349
|
type CommerceSettingsJSONSnapshot = CommerceSettingsJSON;
|
|
3324
3350
|
type CommercePlanJSONSnapshot = CommercePlanJSON;
|
|
3325
3351
|
type CommerceFeatureJSONSnapshot = CommerceFeatureJSON;
|
|
3352
|
+
type APIKeysSettingsJSONSnapshot = APIKeysSettingsJSON;
|
|
3326
3353
|
|
|
3327
3354
|
type EnterpriseProtocol = 'saml' | 'oauth';
|
|
3328
3355
|
type EnterpriseProvider = SamlIdpSlug | `oauth_${OAuthProvider}`;
|
|
@@ -3380,6 +3407,7 @@ type FontWeightNumericValue = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 90
|
|
|
3380
3407
|
type FontWeightScale = {
|
|
3381
3408
|
normal?: FontWeightNamedValue | FontWeightNumericValue;
|
|
3382
3409
|
medium?: FontWeightNamedValue | FontWeightNumericValue;
|
|
3410
|
+
semibold?: FontWeightNamedValue | FontWeightNumericValue;
|
|
3383
3411
|
bold?: FontWeightNamedValue | FontWeightNumericValue;
|
|
3384
3412
|
};
|
|
3385
3413
|
type WebSafeFont = 'Arial' | 'Brush Script MT' | 'Courier New' | 'Garamond' | 'Georgia' | 'Helvetica' | 'Tahoma' | 'Times New Roman' | 'Trebuchet MS' | 'Verdana';
|
|
@@ -4070,6 +4098,7 @@ type WaitlistTheme = Theme;
|
|
|
4070
4098
|
type PricingTableTheme = Theme;
|
|
4071
4099
|
type CheckoutTheme = Theme;
|
|
4072
4100
|
type PlanDetailTheme = Theme;
|
|
4101
|
+
type APIKeysTheme = Theme;
|
|
4073
4102
|
type OAuthConsentTheme = Theme;
|
|
4074
4103
|
type GlobalAppearanceOptions = {
|
|
4075
4104
|
/**
|
|
@@ -4132,6 +4161,10 @@ type Appearance<T = Theme> = T & GlobalAppearanceOptions & {
|
|
|
4132
4161
|
* Theme overrides that only apply to the `<Checkout />` component
|
|
4133
4162
|
*/
|
|
4134
4163
|
checkout?: T;
|
|
4164
|
+
/**
|
|
4165
|
+
* Theme overrides that only apply to the `<APIKeys />` component
|
|
4166
|
+
*/
|
|
4167
|
+
apiKeys?: T;
|
|
4135
4168
|
/**
|
|
4136
4169
|
* Theme overrides that only apply to the `<OAuthConsent />` component
|
|
4137
4170
|
*/
|
|
@@ -4159,6 +4192,54 @@ interface AuthConfigResource extends ClerkResource {
|
|
|
4159
4192
|
__internal_toSnapshot: () => AuthConfigJSONSnapshot;
|
|
4160
4193
|
}
|
|
4161
4194
|
|
|
4195
|
+
interface APIKeyResource extends ClerkResource {
|
|
4196
|
+
id: string;
|
|
4197
|
+
type: string;
|
|
4198
|
+
name: string;
|
|
4199
|
+
subject: string;
|
|
4200
|
+
scopes: string[];
|
|
4201
|
+
claims: Record<string, any> | null;
|
|
4202
|
+
revoked: boolean;
|
|
4203
|
+
revocationReason: string | null;
|
|
4204
|
+
expired: boolean;
|
|
4205
|
+
expiration: Date | null;
|
|
4206
|
+
createdBy: string | null;
|
|
4207
|
+
description: string | null;
|
|
4208
|
+
lastUsedAt: Date | null;
|
|
4209
|
+
createdAt: Date;
|
|
4210
|
+
updatedAt: Date;
|
|
4211
|
+
}
|
|
4212
|
+
interface APIKeysNamespace {
|
|
4213
|
+
/**
|
|
4214
|
+
* @experimental
|
|
4215
|
+
* This API is in early access and may change in future releases.
|
|
4216
|
+
*
|
|
4217
|
+
* Retrieves all API keys for the current user or organization.
|
|
4218
|
+
*/
|
|
4219
|
+
getAll(params?: GetAPIKeysParams): Promise<APIKeyResource[]>;
|
|
4220
|
+
/**
|
|
4221
|
+
* @experimental
|
|
4222
|
+
* This API is in early access and may change in future releases.
|
|
4223
|
+
*
|
|
4224
|
+
* Retrieves the secret for a given API key ID.
|
|
4225
|
+
*/
|
|
4226
|
+
getSecret(id: string): Promise<string>;
|
|
4227
|
+
/**
|
|
4228
|
+
* @experimental
|
|
4229
|
+
* This API is in early access and may change in future releases.
|
|
4230
|
+
*
|
|
4231
|
+
* Creates a new API key.
|
|
4232
|
+
*/
|
|
4233
|
+
create(params: CreateAPIKeyParams): Promise<APIKeyResource>;
|
|
4234
|
+
/**
|
|
4235
|
+
* @experimental
|
|
4236
|
+
* This API is in early access and may change in future releases.
|
|
4237
|
+
*
|
|
4238
|
+
* Revokes a given API key by ID.
|
|
4239
|
+
*/
|
|
4240
|
+
revoke(params: RevokeAPIKeyParams): Promise<APIKeyResource>;
|
|
4241
|
+
}
|
|
4242
|
+
|
|
4162
4243
|
interface ClientResource extends ClerkResource {
|
|
4163
4244
|
sessions: SessionResource[];
|
|
4164
4245
|
signedInSessions: SignedInSessionResource[];
|
|
@@ -4259,6 +4340,10 @@ type _LocalizationResource = {
|
|
|
4259
4340
|
formFieldLabel__confirmDeletion: LocalizationValue;
|
|
4260
4341
|
formFieldLabel__role: LocalizationValue;
|
|
4261
4342
|
formFieldLabel__passkeyName: LocalizationValue;
|
|
4343
|
+
formFieldLabel__apiKeyName: LocalizationValue;
|
|
4344
|
+
formFieldLabel__apiKeyDescription: LocalizationValue;
|
|
4345
|
+
formFieldLabel__apiKeyExpiration: LocalizationValue;
|
|
4346
|
+
formFieldLabel__apiKeyExpirationDate: LocalizationValue;
|
|
4262
4347
|
formFieldInputPlaceholder__emailAddress: LocalizationValue;
|
|
4263
4348
|
formFieldInputPlaceholder__emailAddresses: LocalizationValue;
|
|
4264
4349
|
formFieldInputPlaceholder__phoneNumber: LocalizationValue;
|
|
@@ -4273,6 +4358,9 @@ type _LocalizationResource = {
|
|
|
4273
4358
|
formFieldInputPlaceholder__organizationDomain: LocalizationValue;
|
|
4274
4359
|
formFieldInputPlaceholder__organizationDomainEmailAddress: LocalizationValue;
|
|
4275
4360
|
formFieldInputPlaceholder__confirmDeletionUserAccount: LocalizationValue;
|
|
4361
|
+
formFieldInputPlaceholder__apiKeyName: LocalizationValue;
|
|
4362
|
+
formFieldInputPlaceholder__apiKeyDescription: LocalizationValue;
|
|
4363
|
+
formFieldInputPlaceholder__apiKeyExpirationDate: LocalizationValue;
|
|
4276
4364
|
formFieldError__notMatchingPasswords: LocalizationValue;
|
|
4277
4365
|
formFieldError__matchingPasswords: LocalizationValue;
|
|
4278
4366
|
formFieldError__verificationLinkExpired: LocalizationValue;
|
|
@@ -4336,6 +4424,7 @@ type _LocalizationResource = {
|
|
|
4336
4424
|
subtotal: LocalizationValue;
|
|
4337
4425
|
credit: LocalizationValue;
|
|
4338
4426
|
creditRemainder: LocalizationValue;
|
|
4427
|
+
totalDue: LocalizationValue;
|
|
4339
4428
|
totalDueToday: LocalizationValue;
|
|
4340
4429
|
pastDue: LocalizationValue;
|
|
4341
4430
|
paymentMethods: LocalizationValue;
|
|
@@ -4703,6 +4792,7 @@ type _LocalizationResource = {
|
|
|
4703
4792
|
account: LocalizationValue;
|
|
4704
4793
|
security: LocalizationValue;
|
|
4705
4794
|
billing: LocalizationValue;
|
|
4795
|
+
apiKeys: LocalizationValue;
|
|
4706
4796
|
};
|
|
4707
4797
|
start: {
|
|
4708
4798
|
headerTitle__account: LocalizationValue;
|
|
@@ -4843,6 +4933,10 @@ type _LocalizationResource = {
|
|
|
4843
4933
|
successMessage: LocalizationValue;
|
|
4844
4934
|
};
|
|
4845
4935
|
};
|
|
4936
|
+
apiKeysPage: {
|
|
4937
|
+
title: LocalizationValue;
|
|
4938
|
+
detailsTitle__emptyRow: LocalizationValue;
|
|
4939
|
+
};
|
|
4846
4940
|
passkeyScreen: {
|
|
4847
4941
|
title__rename: LocalizationValue;
|
|
4848
4942
|
subtitle__rename: LocalizationValue;
|
|
@@ -4967,14 +5061,35 @@ type _LocalizationResource = {
|
|
|
4967
5061
|
headerTitle__subscriptions: LocalizationValue;
|
|
4968
5062
|
headerTitle__statements: LocalizationValue;
|
|
4969
5063
|
};
|
|
5064
|
+
statementsSection: {
|
|
5065
|
+
empty: LocalizationValue;
|
|
5066
|
+
itemCaption__paidForPlan: LocalizationValue;
|
|
5067
|
+
itemCaption__proratedCredit: LocalizationValue;
|
|
5068
|
+
itemCaption__subscribedAndPaidForPlan: LocalizationValue;
|
|
5069
|
+
notFound: LocalizationValue;
|
|
5070
|
+
tableHeader__date: LocalizationValue;
|
|
5071
|
+
tableHeader__amount: LocalizationValue;
|
|
5072
|
+
title: LocalizationValue;
|
|
5073
|
+
totalPaid: LocalizationValue;
|
|
5074
|
+
};
|
|
4970
5075
|
switchPlansSection: {
|
|
4971
5076
|
title: LocalizationValue;
|
|
4972
5077
|
};
|
|
4973
5078
|
subscriptionsListSection: {
|
|
5079
|
+
tableHeader__plan: LocalizationValue;
|
|
5080
|
+
tableHeader__startDate: LocalizationValue;
|
|
5081
|
+
tableHeader__edit: LocalizationValue;
|
|
4974
5082
|
title: LocalizationValue;
|
|
4975
5083
|
actionLabel__newSubscription: LocalizationValue;
|
|
4976
5084
|
actionLabel__switchPlan: LocalizationValue;
|
|
4977
5085
|
};
|
|
5086
|
+
paymentHistorySection: {
|
|
5087
|
+
empty: LocalizationValue;
|
|
5088
|
+
notFound: LocalizationValue;
|
|
5089
|
+
tableHeader__date: LocalizationValue;
|
|
5090
|
+
tableHeader__amount: LocalizationValue;
|
|
5091
|
+
tableHeader__status: LocalizationValue;
|
|
5092
|
+
};
|
|
4978
5093
|
paymentSourcesSection: {
|
|
4979
5094
|
title: LocalizationValue;
|
|
4980
5095
|
add: LocalizationValue;
|
|
@@ -5029,6 +5144,7 @@ type _LocalizationResource = {
|
|
|
5029
5144
|
general: LocalizationValue;
|
|
5030
5145
|
members: LocalizationValue;
|
|
5031
5146
|
billing: LocalizationValue;
|
|
5147
|
+
apiKeys: LocalizationValue;
|
|
5032
5148
|
};
|
|
5033
5149
|
badge__unverified: LocalizationValue;
|
|
5034
5150
|
badge__automaticInvitation: LocalizationValue;
|
|
@@ -5172,14 +5288,35 @@ type _LocalizationResource = {
|
|
|
5172
5288
|
headerTitle__subscriptions: LocalizationValue;
|
|
5173
5289
|
headerTitle__statements: LocalizationValue;
|
|
5174
5290
|
};
|
|
5291
|
+
statementsSection: {
|
|
5292
|
+
empty: LocalizationValue;
|
|
5293
|
+
itemCaption__paidForPlan: LocalizationValue;
|
|
5294
|
+
itemCaption__proratedCredit: LocalizationValue;
|
|
5295
|
+
itemCaption__subscribedAndPaidForPlan: LocalizationValue;
|
|
5296
|
+
notFound: LocalizationValue;
|
|
5297
|
+
tableHeader__date: LocalizationValue;
|
|
5298
|
+
tableHeader__amount: LocalizationValue;
|
|
5299
|
+
title: LocalizationValue;
|
|
5300
|
+
totalPaid: LocalizationValue;
|
|
5301
|
+
};
|
|
5175
5302
|
switchPlansSection: {
|
|
5176
5303
|
title: LocalizationValue;
|
|
5177
5304
|
};
|
|
5178
5305
|
subscriptionsListSection: {
|
|
5306
|
+
tableHeader__plan: LocalizationValue;
|
|
5307
|
+
tableHeader__startDate: LocalizationValue;
|
|
5308
|
+
tableHeader__edit: LocalizationValue;
|
|
5179
5309
|
title: LocalizationValue;
|
|
5180
5310
|
actionLabel__newSubscription: LocalizationValue;
|
|
5181
5311
|
actionLabel__switchPlan: LocalizationValue;
|
|
5182
5312
|
};
|
|
5313
|
+
paymentHistorySection: {
|
|
5314
|
+
empty: LocalizationValue;
|
|
5315
|
+
notFound: LocalizationValue;
|
|
5316
|
+
tableHeader__date: LocalizationValue;
|
|
5317
|
+
tableHeader__amount: LocalizationValue;
|
|
5318
|
+
tableHeader__status: LocalizationValue;
|
|
5319
|
+
};
|
|
5183
5320
|
paymentSourcesSection: {
|
|
5184
5321
|
title: LocalizationValue;
|
|
5185
5322
|
add: LocalizationValue;
|
|
@@ -5207,6 +5344,10 @@ type _LocalizationResource = {
|
|
|
5207
5344
|
noPermissionsToManageBilling: LocalizationValue;
|
|
5208
5345
|
};
|
|
5209
5346
|
};
|
|
5347
|
+
apiKeysPage: {
|
|
5348
|
+
title: LocalizationValue;
|
|
5349
|
+
detailsTitle__emptyRow: LocalizationValue;
|
|
5350
|
+
};
|
|
5210
5351
|
};
|
|
5211
5352
|
createOrganization: {
|
|
5212
5353
|
title: LocalizationValue;
|
|
@@ -5249,6 +5390,28 @@ type _LocalizationResource = {
|
|
|
5249
5390
|
message: LocalizationValue;
|
|
5250
5391
|
};
|
|
5251
5392
|
};
|
|
5393
|
+
apiKeys: {
|
|
5394
|
+
formTitle: LocalizationValue;
|
|
5395
|
+
formHint: LocalizationValue;
|
|
5396
|
+
formButtonPrimary__add: LocalizationValue;
|
|
5397
|
+
menuAction__revoke: LocalizationValue;
|
|
5398
|
+
action__search: LocalizationValue;
|
|
5399
|
+
action__add: LocalizationValue;
|
|
5400
|
+
detailsTitle__emptyRow: LocalizationValue;
|
|
5401
|
+
revokeConfirmation: {
|
|
5402
|
+
formTitle: LocalizationValue;
|
|
5403
|
+
formHint: LocalizationValue;
|
|
5404
|
+
formButtonPrimary__revoke: LocalizationValue;
|
|
5405
|
+
};
|
|
5406
|
+
dates: {
|
|
5407
|
+
lastUsed__seconds: LocalizationValue;
|
|
5408
|
+
lastUsed__minutes: LocalizationValue;
|
|
5409
|
+
lastUsed__hours: LocalizationValue;
|
|
5410
|
+
lastUsed__days: LocalizationValue;
|
|
5411
|
+
lastUsed__months: LocalizationValue;
|
|
5412
|
+
lastUsed__years: LocalizationValue;
|
|
5413
|
+
};
|
|
5414
|
+
};
|
|
5252
5415
|
};
|
|
5253
5416
|
type WithParamName<T> = T & Partial<Record<`${keyof T & string}__${CamelToSnake<Exclude<FieldId, 'role'>>}`, LocalizationValue>>;
|
|
5254
5417
|
type UnstableErrors = WithParamName<{
|
|
@@ -5733,6 +5896,25 @@ interface Clerk {
|
|
|
5733
5896
|
* @param targetNode Target node to unmount the PricingTable component from.
|
|
5734
5897
|
*/
|
|
5735
5898
|
unmountPricingTable: (targetNode: HTMLDivElement) => void;
|
|
5899
|
+
/**
|
|
5900
|
+
* @experimental
|
|
5901
|
+
* This API is in early access and may change in future releases.
|
|
5902
|
+
*
|
|
5903
|
+
* Mount a api keys component at the target element.
|
|
5904
|
+
* @param targetNode Target to mount the APIKeys component.
|
|
5905
|
+
* @param props Configuration parameters.
|
|
5906
|
+
*/
|
|
5907
|
+
mountApiKeys: (targetNode: HTMLDivElement, props?: APIKeysProps) => void;
|
|
5908
|
+
/**
|
|
5909
|
+
* @experimental
|
|
5910
|
+
* This API is in early access and may change in future releases.
|
|
5911
|
+
*
|
|
5912
|
+
* Unmount a api keys component from the target element.
|
|
5913
|
+
* If there is no component mounted at the target node, results in a noop.
|
|
5914
|
+
*
|
|
5915
|
+
* @param targetNode Target node to unmount the ApiKeys component from.
|
|
5916
|
+
*/
|
|
5917
|
+
unmountApiKeys: (targetNode: HTMLDivElement) => void;
|
|
5736
5918
|
/**
|
|
5737
5919
|
* Mounts a OAuth consent component at the target element.
|
|
5738
5920
|
* @param targetNode Target node to mount the OAuth consent component.
|
|
@@ -5974,6 +6156,12 @@ interface Clerk {
|
|
|
5974
6156
|
* initiated outside of the Clerk class.
|
|
5975
6157
|
*/
|
|
5976
6158
|
__internal_setActiveInProgress: boolean;
|
|
6159
|
+
/**
|
|
6160
|
+
* API Keys Object
|
|
6161
|
+
* @experimental
|
|
6162
|
+
* This API is in early access and may change in future releases.
|
|
6163
|
+
*/
|
|
6164
|
+
apiKeys: APIKeysNamespace;
|
|
5977
6165
|
}
|
|
5978
6166
|
type HandleOAuthCallbackParams = TransferableOption & SignInForceRedirectUrl & SignInFallbackRedirectUrl & SignUpForceRedirectUrl & SignUpFallbackRedirectUrl & LegacyRedirectProps & {
|
|
5979
6167
|
/**
|
|
@@ -6737,6 +6925,39 @@ type PricingTableBaseProps = {
|
|
|
6737
6925
|
};
|
|
6738
6926
|
type PortalRoot = HTMLElement | null | undefined;
|
|
6739
6927
|
type PricingTableProps = PricingTableBaseProps & PricingTableDefaultProps;
|
|
6928
|
+
type APIKeysProps = {
|
|
6929
|
+
/**
|
|
6930
|
+
* The type of API key to filter by.
|
|
6931
|
+
* Currently, only 'api_key' is supported.
|
|
6932
|
+
* @default 'api_key'
|
|
6933
|
+
*/
|
|
6934
|
+
type?: 'api_key';
|
|
6935
|
+
/**
|
|
6936
|
+
* The number of API keys to show per page.
|
|
6937
|
+
* @default 5
|
|
6938
|
+
*/
|
|
6939
|
+
perPage?: number;
|
|
6940
|
+
/**
|
|
6941
|
+
* Customisation options to fully match the Clerk components to your own brand.
|
|
6942
|
+
* These options serve as overrides and will be merged with the global `appearance`
|
|
6943
|
+
* prop of ClerkProvider (if one is provided)
|
|
6944
|
+
*/
|
|
6945
|
+
appearance?: APIKeysTheme;
|
|
6946
|
+
};
|
|
6947
|
+
type GetAPIKeysParams = {
|
|
6948
|
+
subject?: string;
|
|
6949
|
+
};
|
|
6950
|
+
type CreateAPIKeyParams = {
|
|
6951
|
+
type?: 'api_key';
|
|
6952
|
+
name: string;
|
|
6953
|
+
subject?: string;
|
|
6954
|
+
secondsUntilExpiration?: number;
|
|
6955
|
+
description?: string;
|
|
6956
|
+
};
|
|
6957
|
+
type RevokeAPIKeyParams = {
|
|
6958
|
+
apiKeyID: string;
|
|
6959
|
+
revocationReason?: string;
|
|
6960
|
+
};
|
|
6740
6961
|
type __internal_CheckoutProps = {
|
|
6741
6962
|
appearance?: CheckoutTheme;
|
|
6742
6963
|
planId?: string;
|
|
@@ -6896,6 +7117,7 @@ interface EnvironmentResource extends ClerkResource {
|
|
|
6896
7117
|
authConfig: AuthConfigResource;
|
|
6897
7118
|
displayConfig: DisplayConfigResource;
|
|
6898
7119
|
commerceSettings: CommerceSettingsResource;
|
|
7120
|
+
apiKeysSettings: APIKeysSettingsResource;
|
|
6899
7121
|
isSingleSession: () => boolean;
|
|
6900
7122
|
isProduction: () => boolean;
|
|
6901
7123
|
isDevelopmentOrStaging: () => boolean;
|
|
@@ -7270,4 +7492,4 @@ type SharedSignedInAuthObjectProperties = {
|
|
|
7270
7492
|
factorVerificationAge: [firstFactorAge: number, secondFactorAge: number] | null;
|
|
7271
7493
|
};
|
|
7272
7494
|
|
|
7273
|
-
export { type ActClaim, type ActJWTClaim, type Actions, type ActiveSessionResource, type AddMemberParams, type AddPaymentSourceParams, type AfterMultiSessionSingleSignOutUrl, type AfterSignOutUrl, type AlertId, type AlphaColorScale, type Appearance, type AppleOauthProvider, type AtlassianOauthProvider, type AttemptAffiliationVerificationParams, type AttemptEmailAddressVerificationParams, type AttemptFirstFactorParams, type AttemptPhoneNumberVerificationParams, type AttemptSecondFactorParams, type AttemptVerificationParams, type AttemptWeb3WalletVerificationParams, type Attribute, type AttributeData, type AttributeDataJSON, type Attributes, type AttributesJSON, type AuthConfigJSON, type AuthConfigJSONSnapshot, type AuthConfigResource, type AuthenticateWithCoinbaseWalletParams, type AuthenticateWithGoogleOneTapParams, type AuthenticateWithMetamaskParams, type AuthenticateWithOKXWalletParams, type AuthenticateWithPasskeyParams, type AuthenticateWithPopupParams, type AuthenticateWithRedirectParams, type AuthenticateWithWeb3Params, type Autocomplete, type BackupCodeAttempt, type BackupCodeFactor, type BackupCodeJSON, type BackupCodeResource, type BackupCodeStrategy, type BaseTheme, type BaseThemeTaggedType, type BeforeEmitCallback, type BitbucketOauthProvider, type BoxOauthProvider, type BoxShadow, type BuiltInColors, type CamelToSnake, type CancelSubscriptionParams, type CaptchaAppearanceOptions, type CaptchaProvider, type CaptchaWidgetType, type CardActionId, type CheckAuthorization, type CheckAuthorizationFn, type CheckAuthorizationFromSessionClaims, type CheckAuthorizationParamsFromSessionClaims, type CheckAuthorizationParamsWithCustomPermissions, type CheckAuthorizationWithCustomPermissions, type CheckoutTheme, type Clerk, type ClerkAPIError, type ClerkAPIErrorJSON, type ClerkAuthenticateWithWeb3Params, type ClerkEventPayload, type ClerkHostRouter, type ClerkJWTClaims, type ClerkOptions, type ClerkPaginatedResponse, type ClerkPaginationParams, type ClerkPaginationRequest, type ClerkResource, type ClerkResourceJSON, type ClerkResourceReloadParams, type ClerkRuntimeError, type ClerkStatus, type ClerkThemeOptions, type ClientJSON, type ClientJSONSnapshot, type ClientResource, type CodeVerificationAttemptParam, type CoinbaseOauthProvider, type CoinbaseWalletWeb3Provider, type Color, type ColorScale, type ColorScaleWithRequiredBase, type ColorString, type CommerceBillingNamespace, type CommerceCheckoutJSON, type CommerceCheckoutResource, type CommerceCheckoutTotals, type CommerceCheckoutTotalsJSON, type CommerceFeatureJSON, type CommerceFeatureJSONSnapshot, type CommerceFeatureResource, type CommerceInitializedPaymentSourceJSON, type CommerceInitializedPaymentSourceResource, type CommerceMoney, type CommerceMoneyJSON, type CommercePaymentChargeType, type CommercePaymentJSON, type CommercePaymentResource, type CommercePaymentSourceJSON, type CommercePaymentSourceMethods, type CommercePaymentSourceResource, type CommercePaymentSourceStatus, type CommercePaymentStatus, type CommercePlanJSON, type CommercePlanJSONSnapshot, type CommercePlanResource, type CommerceProductJSON, type CommerceProductResource, type CommerceSettingsJSON, type CommerceSettingsJSONSnapshot, type CommerceSettingsResource, type CommerceStatementGroup, type CommerceStatementGroupJSON, type CommerceStatementJSON, type CommerceStatementResource, type CommerceStatementStatus, type CommerceStatementTotals, type CommerceStatementTotalsJSON, type CommerceSubscriberType, type CommerceSubscriptionJSON, type CommerceSubscriptionPlanPeriod, type CommerceSubscriptionResource, type CommerceSubscriptionStatus, type ComplexityErrors, type ConfirmCheckoutParams, type CreateBulkOrganizationInvitationParams, type CreateCheckoutParams, type CreateEmailAddressParams, type CreateEmailLinkFlowReturn, type CreateEnterpriseSSOLinkFlowReturn, type CreateExternalAccountParams, type CreateOrganizationInvitationParams, type CreateOrganizationModalProps, type CreateOrganizationParams, type CreateOrganizationProps, type CreateOrganizationTheme, type CreatePhoneNumberParams, type CreateWeb3WalletParams, type CredentialReturn, type CssColorOrAlphaScale, type CssColorOrScale, type CustomMenuItem, type CustomNavigation, type CustomOAuthStrategy, type CustomOauthProvider, type CustomPage, type DeepCamelToSnake, type DeepPartial, type DeepRequired, type DeepSnakeToCamel, type DeletedObjectJSON, type DeletedObjectResource, type DiscordOauthProvider, type DisplayConfigJSON, type DisplayConfigJSONSnapshot, type DisplayConfigResource, type DisplayThemeJSON, type DomainOrProxyUrl, type DropboxOauthProvider, type ElementObjectKey, type ElementState, type Elements, type ElementsConfig, type EmUnit, type EmailAddressIdentifier, type EmailAddressJSON, type EmailAddressJSONSnapshot, type EmailAddressOrPhoneNumberIdentifier, type EmailAddressResource, type EmailCodeAttempt, type EmailCodeConfig, type EmailCodeFactor, type EmailCodeStrategy, type EmailLinkConfig, type EmailLinkFactor, type EmailLinkStrategy, type EnstallOauthProvider, type EnterpriseAccountConnectionJSON, type EnterpriseAccountConnectionJSONSnapshot, type EnterpriseAccountConnectionResource, type EnterpriseAccountJSON, type EnterpriseAccountJSONSnapshot, type EnterpriseAccountResource, type EnterpriseProtocol, type EnterpriseProvider, type EnterpriseSSOConfig, type EnterpriseSSOFactor, type EnterpriseSSOSettings, type EnterpriseSSOStrategy, type EnvironmentJSON, type EnvironmentJSONSnapshot, type EnvironmentResource, type ExternalAccountJSON, type ExternalAccountJSONSnapshot, type ExternalAccountResource, type FacebookOauthProvider, type FieldId, type FirstNameAttribute, type FontFamily, type FontWeight, type GenerateSignature, type GenerateSignatureParams, type GetDomainsParams, type GetInvitationsParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetPaymentAttemptsParams, type GetPaymentSourcesParams, type GetPlansParams, type GetRolesParams, type GetStatementsParams, type GetSubscriptionsParams, type GetToken, type GetTokenOptions, type GetUserOrganizationInvitationsParams, type GetUserOrganizationMembershipParams, type GetUserOrganizationSuggestionsParams, type GithubOauthProvider, type GitlabOauthProvider, type GoogleOauthProvider, type GoogleOneTapProps, type GoogleOneTapStrategy, type HandleEmailLinkVerificationParams, type HandleOAuthCallbackParams, type HandleSamlCallbackParams, type HexColor, type HexColorString, type HslaColor, type HslaColorString, type HubspotOauthProvider, type HuggingfaceOAuthProvider, type IdSelectors, type IdentificationLinkJSON, type IdentificationLinkJSONSnapshot, type IdentificationLinkResource, type ImageJSON, type ImageResource, type InitialState, type InitializePaymentSourceParams, type InstagramOauthProvider, type InstanceType, type InviteMemberParams, type InviteMembersParams, type JWT, type JWTClaims, type JWTHeader, type JoinWaitlistParams, type Jwt, type JwtHeader, type JwtPayload, type LastNameAttribute, type Layout, type LegacyRedirectProps, type LegalAcceptedAttribute, type LineOauthProvider, type LinearOauthProvider, type LinkedinOIDCOauthProvider, type LinkedinOauthProvider, type ListenerCallback, type LoadedClerk, type LocalizationResource, type LocalizationValue, type MakeDefaultPaymentSourceParams, type MenuId, type MetamaskWeb3Provider, type MicrosoftOauthProvider, type MultiDomainAndOrProxy, type MultiDomainAndOrProxyPrimitives, type NavigateOptions, type NewSubscriptionRedirectUrl, type NextTaskParams, type NotionOauthProvider, type Nullable, OAUTH_PROVIDERS, type OAuthConfig, type OAuthConsentTheme, type OAuthProvider, type OAuthProviderData, type OAuthProviderSettings, type OAuthProviders, type OAuthScope, type OAuthStrategy, type OKXWalletWeb3Provider, type OauthFactor, type OrganizationCustomPermissionKey, type OrganizationCustomRoleKey, type OrganizationDomainJSON, type OrganizationDomainResource, type OrganizationDomainVerification, type OrganizationDomainVerificationJSON, type OrganizationDomainVerificationStatus, type OrganizationEnrollmentMode, type OrganizationInvitationJSON, type OrganizationInvitationResource, type OrganizationInvitationStatus, type OrganizationJSON, type OrganizationJSONSnapshot, type OrganizationListProps, type OrganizationListTheme, type OrganizationMembershipJSON, type OrganizationMembershipJSONSnapshot, type OrganizationMembershipRequestJSON, type OrganizationMembershipRequestResource, type OrganizationMembershipResource, type OrganizationPermissionKey, type OrganizationPreviewId, type OrganizationProfileModalProps, type OrganizationProfileProps, type OrganizationProfileTheme, type OrganizationResource, type OrganizationSettingsJSON, type OrganizationSettingsJSONSnapshot, type OrganizationSettingsResource, type OrganizationSuggestionJSON, type OrganizationSuggestionResource, type OrganizationSuggestionStatus, type OrganizationSwitcherProps, type OrganizationSwitcherTheme, type OrganizationSystemPermissionKey, type OrganizationSystemPermissionPrefix, type OrganizationsJWTClaim, type Override, type PartialWithClerkResource, type PassKeyConfig, type PasskeyAttempt, type PasskeyFactor, type PasskeyJSON, type PasskeyJSONSnapshot, type PasskeyResource, type PasskeySettingsData, type PasskeyStrategy, type PasskeyVerificationResource, type PasswordAttempt, type PasswordAttribute, type PasswordFactor, type PasswordSettingsData, type PasswordStrategy, type PasswordStrength, type PasswordValidation, type PathValue, type PaymentGateway, type PendingSessionOptions, type PendingSessionResource, type PermissionJSON, type PermissionResource, type PhoneCodeAttempt, type PhoneCodeChannel, type PhoneCodeChannelData, type PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeProvider, type PhoneCodeSMSChannel, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, type PhoneCodeWhatsAppChannel, type PhoneNumberIdentifier, type PhoneNumberJSON, type PhoneNumberJSONSnapshot, type PhoneNumberResource, type PhoneNumberVerificationStrategy, type PlanDetailTheme, type PreferredSignInStrategy, type PrepareAffiliationVerificationParams, type PrepareEmailAddressVerificationParams, type PrepareFirstFactorParams, type PreparePhoneNumberVerificationParams, type PrepareSecondFactorParams, type PrepareVerificationParams, type PrepareWeb3WalletVerificationParams, type PricingTableProps, type PricingTableTheme, type ProfilePageId, type ProfileSectionId, type PublicKeyCredentialCreationOptionsJSON, type PublicKeyCredentialCreationOptionsWithoutExtensions, type PublicKeyCredentialRequestOptionsJSON, type PublicKeyCredentialRequestOptionsWithoutExtensions, type PublicKeyCredentialWithAuthenticatorAssertionResponse, type PublicKeyCredentialWithAuthenticatorAttestationResponse, type PublicOrganizationDataJSON, type PublicUserData, type PublicUserDataJSON, type PublicUserDataJSONSnapshot, type PublishableKey, type ReauthorizeExternalAccountParams, type RecordToPath, type RedirectOptions, type RedirectUrlProp, type RemovePaymentSourceParams, type RemoveUserPasswordParams, type ResetPasswordCodeFactor, type ResetPasswordEmailCodeAttempt, type ResetPasswordEmailCodeFactor, type ResetPasswordEmailCodeFactorConfig, type ResetPasswordEmailCodeStrategy, type ResetPasswordParams, type ResetPasswordPhoneCodeAttempt, type ResetPasswordPhoneCodeFactor, type ResetPasswordPhoneCodeFactorConfig, type ResetPasswordPhoneCodeStrategy, type Resources, type ReverificationConfig, type RgbaColor, type RgbaColorString, type RoleJSON, type RoleResource, type RoutingMode, type RoutingOptions, type RoutingStrategy, SAML_IDPS, type SDKMetadata, type SamlAccountConnectionJSON, type SamlAccountConnectionJSONSnapshot, type SamlAccountConnectionResource, type SamlAccountJSON, type SamlAccountJSONSnapshot, type SamlAccountResource, type SamlConfig, type SamlFactor, type SamlIdp, type SamlIdpMap, type SamlIdpSlug, type SamlSettings, type SamlStrategy, type SelectId, type Serializable, type ServerGetToken, type ServerGetTokenOptions, type SessionActivity, type SessionActivityJSON, type SessionJSON, type SessionJSONSnapshot, type SessionResource, type SessionStatus, type SessionStatusClaim, type SessionTask, type SessionVerificationAfterMinutes, type SessionVerificationFirstFactor, type SessionVerificationJSON, type SessionVerificationLevel, type SessionVerificationResource, type SessionVerificationSecondFactor, type SessionVerificationStatus, type SessionVerificationTypes, type SessionVerifyAttemptFirstFactorParams, type SessionVerifyAttemptSecondFactorParams, type SessionVerifyCreateParams, type SessionVerifyPrepareFirstFactorParams, type SessionVerifyPrepareSecondFactorParams, type SessionWithActivitiesJSON, type SessionWithActivitiesResource, type SetActive, type SetActiveParams, type SetOrganizationLogoParams, type SetProfileImageParams, type SetReservedForSecondFactorParams, type SharedSignedInAuthObjectProperties, type SignInButtonProps, type SignInCreateParams, type SignInData, type SignInFactor, type SignInFallbackRedirectUrl, type SignInFirstFactor, type SignInFirstFactorJSON, type SignInForceRedirectUrl, type SignInIdentifier, type SignInInitialValues, type SignInJSON, type SignInJSONSnapshot, type SignInModalProps, type SignInProps, type SignInRedirectOptions, type SignInResource, type SignInSecondFactor, type SignInSecondFactorJSON, type SignInStartEmailLinkFlowParams, type SignInStatus, type SignInStrategy, type SignInTheme, type SignOut, type SignOutCallback, type SignOutOptions, type SignUpAttributeField, type SignUpAuthenticateWithMetamaskParams, type SignUpAuthenticateWithWeb3Params, type SignUpButtonProps, type SignUpCreateParams, type SignUpData, type SignUpFallbackRedirectUrl, type SignUpField, type SignUpForceRedirectUrl, type SignUpIdentificationField, type SignUpInitialValues, type SignUpJSON, type SignUpJSONSnapshot, type SignUpModalProps, type SignUpModes, type SignUpProps, type SignUpRedirectOptions, type SignUpResource, type SignUpStatus, type SignUpTheme, type SignUpUpdateParams, type SignUpVerifiableField, type SignUpVerificationJSON, type SignUpVerificationJSONSnapshot, type SignUpVerificationResource, type SignUpVerificationsJSON, type SignUpVerificationsJSONSnapshot, type SignUpVerificationsResource, type SignatureVerificationAttemptParam, type SignedInSessionResource, type SlackOauthProvider, type SnakeToCamel, type SpotifyOauthProvider, type StartEmailLinkFlowParams, type StartEnterpriseSSOLinkFlowParams, type StateSelectors, type TOTPAttempt, type TOTPFactor, type TOTPJSON, type TOTPResource, type TOTPStrategy, type TelemetryCollector, type TelemetryEvent, type TelemetryEventRaw, type Theme, type TicketStrategy, type TiktokOauthProvider, type TokenJSON, type TokenJSONSnapshot, type TokenResource, type TransferableOption, type TransparentColor, type TwitchOauthProvider, type TwitterOauthProvider, type UnsubscribeCallback, type UpdateEnrollmentModeParams, type UpdateMembershipParams, type UpdateOrganizationMembershipParams, type UpdateOrganizationParams, type UpdatePasskeyParams, type UpdateUserParams, type UpdateUserPasswordParams, type UseAuthReturn, type UseSessionListReturn, type UseSessionReturn, type UseSignInReturn, type UseSignUpReturn, type UseUserReturn, type UserButtonProps, type UserButtonTheme, type UserData, type UserDataJSON, type UserDataJSONSnapshot, type UserJSON, type UserJSONSnapshot, type UserOrganizationInvitationJSON, type UserOrganizationInvitationResource, type UserPreviewId, type UserProfileModalProps, type UserProfileProps, type UserProfileTheme, type UserResource, type UserSettingsJSON, type UserSettingsJSONSnapshot, type UserSettingsResource, type UserVerificationTheme, type UsernameIdentifier, type UsernameSettingsData, type ValidatePasswordCallbacks, type Variables, type VerificationAttemptParams, type VerificationJSON, type VerificationJSONSnapshot, type VerificationResource, type VerificationStatus, type VerificationStrategy, type VerifyTOTPParams, type VersionedJwtPayload, WEB3_PROVIDERS, type WaitlistJSON, type WaitlistModalProps, type WaitlistProps, type WaitlistResource, type WaitlistTheme, type Web3Attempt, type Web3Provider, type Web3ProviderData, type Web3SignatureConfig, type Web3SignatureFactor, type Web3Strategy, type Web3WalletIdentifier, type Web3WalletJSON, type Web3WalletJSONSnapshot, type Web3WalletResource, type Without, type WithoutRouting, type XOauthProvider, type XeroOauthProvider, type ZxcvbnResult, type __internal_CheckoutProps, type __internal_ComponentNavigationContext, type __internal_OAuthConsentProps, type __internal_PlanDetailsProps, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
|
|
7495
|
+
export { type APIKeyResource, type APIKeysNamespace, type APIKeysProps, type APIKeysSettingsJSON, type APIKeysSettingsJSONSnapshot, type APIKeysSettingsResource, type APIKeysTheme, type ActClaim, type ActJWTClaim, type Actions, type ActiveSessionResource, type AddMemberParams, type AddPaymentSourceParams, type AfterMultiSessionSingleSignOutUrl, type AfterSignOutUrl, type AlertId, type AlphaColorScale, type ApiKeyJSON, type Appearance, type AppleOauthProvider, type AtlassianOauthProvider, type AttemptAffiliationVerificationParams, type AttemptEmailAddressVerificationParams, type AttemptFirstFactorParams, type AttemptPhoneNumberVerificationParams, type AttemptSecondFactorParams, type AttemptVerificationParams, type AttemptWeb3WalletVerificationParams, type Attribute, type AttributeData, type AttributeDataJSON, type Attributes, type AttributesJSON, type AuthConfigJSON, type AuthConfigJSONSnapshot, type AuthConfigResource, type AuthenticateWithCoinbaseWalletParams, type AuthenticateWithGoogleOneTapParams, type AuthenticateWithMetamaskParams, type AuthenticateWithOKXWalletParams, type AuthenticateWithPasskeyParams, type AuthenticateWithPopupParams, type AuthenticateWithRedirectParams, type AuthenticateWithWeb3Params, type Autocomplete, type BackupCodeAttempt, type BackupCodeFactor, type BackupCodeJSON, type BackupCodeResource, type BackupCodeStrategy, type BaseTheme, type BaseThemeTaggedType, type BeforeEmitCallback, type BitbucketOauthProvider, type BoxOauthProvider, type BoxShadow, type BuiltInColors, type CamelToSnake, type CancelSubscriptionParams, type CaptchaAppearanceOptions, type CaptchaProvider, type CaptchaWidgetType, type CardActionId, type CheckAuthorization, type CheckAuthorizationFn, type CheckAuthorizationFromSessionClaims, type CheckAuthorizationParamsFromSessionClaims, type CheckAuthorizationParamsWithCustomPermissions, type CheckAuthorizationWithCustomPermissions, type CheckoutTheme, type Clerk, type ClerkAPIError, type ClerkAPIErrorJSON, type ClerkAuthenticateWithWeb3Params, type ClerkEventPayload, type ClerkHostRouter, type ClerkJWTClaims, type ClerkOptions, type ClerkPaginatedResponse, type ClerkPaginationParams, type ClerkPaginationRequest, type ClerkResource, type ClerkResourceJSON, type ClerkResourceReloadParams, type ClerkRuntimeError, type ClerkStatus, type ClerkThemeOptions, type ClientJSON, type ClientJSONSnapshot, type ClientResource, type CodeVerificationAttemptParam, type CoinbaseOauthProvider, type CoinbaseWalletWeb3Provider, type Color, type ColorScale, type ColorScaleWithRequiredBase, type ColorString, type CommerceBillingNamespace, type CommerceCheckoutJSON, type CommerceCheckoutResource, type CommerceCheckoutTotals, type CommerceCheckoutTotalsJSON, type CommerceFeatureJSON, type CommerceFeatureJSONSnapshot, type CommerceFeatureResource, type CommerceInitializedPaymentSourceJSON, type CommerceInitializedPaymentSourceResource, type CommerceMoney, type CommerceMoneyJSON, type CommercePaymentChargeType, type CommercePaymentJSON, type CommercePaymentResource, type CommercePaymentSourceJSON, type CommercePaymentSourceMethods, type CommercePaymentSourceResource, type CommercePaymentSourceStatus, type CommercePaymentStatus, type CommercePlanJSON, type CommercePlanJSONSnapshot, type CommercePlanResource, type CommerceProductJSON, type CommerceProductResource, type CommerceSettingsJSON, type CommerceSettingsJSONSnapshot, type CommerceSettingsResource, type CommerceStatementGroup, type CommerceStatementGroupJSON, type CommerceStatementJSON, type CommerceStatementResource, type CommerceStatementStatus, type CommerceStatementTotals, type CommerceStatementTotalsJSON, type CommerceSubscriberType, type CommerceSubscriptionJSON, type CommerceSubscriptionPlanPeriod, type CommerceSubscriptionResource, type CommerceSubscriptionStatus, type ComplexityErrors, type ConfirmCheckoutParams, type CreateAPIKeyParams, type CreateBulkOrganizationInvitationParams, type CreateCheckoutParams, type CreateEmailAddressParams, type CreateEmailLinkFlowReturn, type CreateEnterpriseSSOLinkFlowReturn, type CreateExternalAccountParams, type CreateOrganizationInvitationParams, type CreateOrganizationModalProps, type CreateOrganizationParams, type CreateOrganizationProps, type CreateOrganizationTheme, type CreatePhoneNumberParams, type CreateWeb3WalletParams, type CredentialReturn, type CssColorOrAlphaScale, type CssColorOrScale, type CustomMenuItem, type CustomNavigation, type CustomOAuthStrategy, type CustomOauthProvider, type CustomPage, type DeepCamelToSnake, type DeepPartial, type DeepRequired, type DeepSnakeToCamel, type DeletedObjectJSON, type DeletedObjectResource, type DiscordOauthProvider, type DisplayConfigJSON, type DisplayConfigJSONSnapshot, type DisplayConfigResource, type DisplayThemeJSON, type DomainOrProxyUrl, type DropboxOauthProvider, type ElementObjectKey, type ElementState, type Elements, type ElementsConfig, type EmUnit, type EmailAddressIdentifier, type EmailAddressJSON, type EmailAddressJSONSnapshot, type EmailAddressOrPhoneNumberIdentifier, type EmailAddressResource, type EmailCodeAttempt, type EmailCodeConfig, type EmailCodeFactor, type EmailCodeStrategy, type EmailLinkConfig, type EmailLinkFactor, type EmailLinkStrategy, type EnstallOauthProvider, type EnterpriseAccountConnectionJSON, type EnterpriseAccountConnectionJSONSnapshot, type EnterpriseAccountConnectionResource, type EnterpriseAccountJSON, type EnterpriseAccountJSONSnapshot, type EnterpriseAccountResource, type EnterpriseProtocol, type EnterpriseProvider, type EnterpriseSSOConfig, type EnterpriseSSOFactor, type EnterpriseSSOSettings, type EnterpriseSSOStrategy, type EnvironmentJSON, type EnvironmentJSONSnapshot, type EnvironmentResource, type ExternalAccountJSON, type ExternalAccountJSONSnapshot, type ExternalAccountResource, type FacebookOauthProvider, type FieldId, type FirstNameAttribute, type FontFamily, type FontWeight, type GenerateSignature, type GenerateSignatureParams, type GetAPIKeysParams, type GetDomainsParams, type GetInvitationsParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetPaymentAttemptsParams, type GetPaymentSourcesParams, type GetPlansParams, type GetRolesParams, type GetStatementsParams, type GetSubscriptionsParams, type GetToken, type GetTokenOptions, type GetUserOrganizationInvitationsParams, type GetUserOrganizationMembershipParams, type GetUserOrganizationSuggestionsParams, type GithubOauthProvider, type GitlabOauthProvider, type GoogleOauthProvider, type GoogleOneTapProps, type GoogleOneTapStrategy, type HandleEmailLinkVerificationParams, type HandleOAuthCallbackParams, type HandleSamlCallbackParams, type HexColor, type HexColorString, type HslaColor, type HslaColorString, type HubspotOauthProvider, type HuggingfaceOAuthProvider, type IdSelectors, type IdentificationLinkJSON, type IdentificationLinkJSONSnapshot, type IdentificationLinkResource, type ImageJSON, type ImageResource, type InitialState, type InitializePaymentSourceParams, type InstagramOauthProvider, type InstanceType, type InviteMemberParams, type InviteMembersParams, type JWT, type JWTClaims, type JWTHeader, type JoinWaitlistParams, type Jwt, type JwtHeader, type JwtPayload, type LastNameAttribute, type Layout, type LegacyRedirectProps, type LegalAcceptedAttribute, type LineOauthProvider, type LinearOauthProvider, type LinkedinOIDCOauthProvider, type LinkedinOauthProvider, type ListenerCallback, type LoadedClerk, type LocalizationResource, type LocalizationValue, type MakeDefaultPaymentSourceParams, type MenuId, type MetamaskWeb3Provider, type MicrosoftOauthProvider, type MultiDomainAndOrProxy, type MultiDomainAndOrProxyPrimitives, type NavigateOptions, type NewSubscriptionRedirectUrl, type NextTaskParams, type NotionOauthProvider, type Nullable, OAUTH_PROVIDERS, type OAuthConfig, type OAuthConsentTheme, type OAuthProvider, type OAuthProviderData, type OAuthProviderSettings, type OAuthProviders, type OAuthScope, type OAuthStrategy, type OKXWalletWeb3Provider, type OauthFactor, type OrganizationCustomPermissionKey, type OrganizationCustomRoleKey, type OrganizationDomainJSON, type OrganizationDomainResource, type OrganizationDomainVerification, type OrganizationDomainVerificationJSON, type OrganizationDomainVerificationStatus, type OrganizationEnrollmentMode, type OrganizationInvitationJSON, type OrganizationInvitationResource, type OrganizationInvitationStatus, type OrganizationJSON, type OrganizationJSONSnapshot, type OrganizationListProps, type OrganizationListTheme, type OrganizationMembershipJSON, type OrganizationMembershipJSONSnapshot, type OrganizationMembershipRequestJSON, type OrganizationMembershipRequestResource, type OrganizationMembershipResource, type OrganizationPermissionKey, type OrganizationPreviewId, type OrganizationProfileModalProps, type OrganizationProfileProps, type OrganizationProfileTheme, type OrganizationResource, type OrganizationSettingsJSON, type OrganizationSettingsJSONSnapshot, type OrganizationSettingsResource, type OrganizationSuggestionJSON, type OrganizationSuggestionResource, type OrganizationSuggestionStatus, type OrganizationSwitcherProps, type OrganizationSwitcherTheme, type OrganizationSystemPermissionKey, type OrganizationSystemPermissionPrefix, type OrganizationsJWTClaim, type Override, type PartialWithClerkResource, type PassKeyConfig, type PasskeyAttempt, type PasskeyFactor, type PasskeyJSON, type PasskeyJSONSnapshot, type PasskeyResource, type PasskeySettingsData, type PasskeyStrategy, type PasskeyVerificationResource, type PasswordAttempt, type PasswordAttribute, type PasswordFactor, type PasswordSettingsData, type PasswordStrategy, type PasswordStrength, type PasswordValidation, type PathValue, type PaymentGateway, type PendingSessionOptions, type PendingSessionResource, type PermissionJSON, type PermissionResource, type PhoneCodeAttempt, type PhoneCodeChannel, type PhoneCodeChannelData, type PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeProvider, type PhoneCodeSMSChannel, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, type PhoneCodeWhatsAppChannel, type PhoneNumberIdentifier, type PhoneNumberJSON, type PhoneNumberJSONSnapshot, type PhoneNumberResource, type PhoneNumberVerificationStrategy, type PlanDetailTheme, type PreferredSignInStrategy, type PrepareAffiliationVerificationParams, type PrepareEmailAddressVerificationParams, type PrepareFirstFactorParams, type PreparePhoneNumberVerificationParams, type PrepareSecondFactorParams, type PrepareVerificationParams, type PrepareWeb3WalletVerificationParams, type PricingTableProps, type PricingTableTheme, type ProfilePageId, type ProfileSectionId, type PublicKeyCredentialCreationOptionsJSON, type PublicKeyCredentialCreationOptionsWithoutExtensions, type PublicKeyCredentialRequestOptionsJSON, type PublicKeyCredentialRequestOptionsWithoutExtensions, type PublicKeyCredentialWithAuthenticatorAssertionResponse, type PublicKeyCredentialWithAuthenticatorAttestationResponse, type PublicOrganizationDataJSON, type PublicUserData, type PublicUserDataJSON, type PublicUserDataJSONSnapshot, type PublishableKey, type ReauthorizeExternalAccountParams, type RecordToPath, type RedirectOptions, type RedirectUrlProp, type RemovePaymentSourceParams, type RemoveUserPasswordParams, type ResetPasswordCodeFactor, type ResetPasswordEmailCodeAttempt, type ResetPasswordEmailCodeFactor, type ResetPasswordEmailCodeFactorConfig, type ResetPasswordEmailCodeStrategy, type ResetPasswordParams, type ResetPasswordPhoneCodeAttempt, type ResetPasswordPhoneCodeFactor, type ResetPasswordPhoneCodeFactorConfig, type ResetPasswordPhoneCodeStrategy, type Resources, type ReverificationConfig, type RevokeAPIKeyParams, type RgbaColor, type RgbaColorString, type RoleJSON, type RoleResource, type RoutingMode, type RoutingOptions, type RoutingStrategy, SAML_IDPS, type SDKMetadata, type SamlAccountConnectionJSON, type SamlAccountConnectionJSONSnapshot, type SamlAccountConnectionResource, type SamlAccountJSON, type SamlAccountJSONSnapshot, type SamlAccountResource, type SamlConfig, type SamlFactor, type SamlIdp, type SamlIdpMap, type SamlIdpSlug, type SamlSettings, type SamlStrategy, type SelectId, type Serializable, type ServerGetToken, type ServerGetTokenOptions, type SessionActivity, type SessionActivityJSON, type SessionJSON, type SessionJSONSnapshot, type SessionResource, type SessionStatus, type SessionStatusClaim, type SessionTask, type SessionVerificationAfterMinutes, type SessionVerificationFirstFactor, type SessionVerificationJSON, type SessionVerificationLevel, type SessionVerificationResource, type SessionVerificationSecondFactor, type SessionVerificationStatus, type SessionVerificationTypes, type SessionVerifyAttemptFirstFactorParams, type SessionVerifyAttemptSecondFactorParams, type SessionVerifyCreateParams, type SessionVerifyPrepareFirstFactorParams, type SessionVerifyPrepareSecondFactorParams, type SessionWithActivitiesJSON, type SessionWithActivitiesResource, type SetActive, type SetActiveParams, type SetOrganizationLogoParams, type SetProfileImageParams, type SetReservedForSecondFactorParams, type SharedSignedInAuthObjectProperties, type SignInButtonProps, type SignInCreateParams, type SignInData, type SignInFactor, type SignInFallbackRedirectUrl, type SignInFirstFactor, type SignInFirstFactorJSON, type SignInForceRedirectUrl, type SignInIdentifier, type SignInInitialValues, type SignInJSON, type SignInJSONSnapshot, type SignInModalProps, type SignInProps, type SignInRedirectOptions, type SignInResource, type SignInSecondFactor, type SignInSecondFactorJSON, type SignInStartEmailLinkFlowParams, type SignInStatus, type SignInStrategy, type SignInTheme, type SignOut, type SignOutCallback, type SignOutOptions, type SignUpAttributeField, type SignUpAuthenticateWithMetamaskParams, type SignUpAuthenticateWithWeb3Params, type SignUpButtonProps, type SignUpCreateParams, type SignUpData, type SignUpFallbackRedirectUrl, type SignUpField, type SignUpForceRedirectUrl, type SignUpIdentificationField, type SignUpInitialValues, type SignUpJSON, type SignUpJSONSnapshot, type SignUpModalProps, type SignUpModes, type SignUpProps, type SignUpRedirectOptions, type SignUpResource, type SignUpStatus, type SignUpTheme, type SignUpUpdateParams, type SignUpVerifiableField, type SignUpVerificationJSON, type SignUpVerificationJSONSnapshot, type SignUpVerificationResource, type SignUpVerificationsJSON, type SignUpVerificationsJSONSnapshot, type SignUpVerificationsResource, type SignatureVerificationAttemptParam, type SignedInSessionResource, type SlackOauthProvider, type SnakeToCamel, type SpotifyOauthProvider, type StartEmailLinkFlowParams, type StartEnterpriseSSOLinkFlowParams, type StateSelectors, type TOTPAttempt, type TOTPFactor, type TOTPJSON, type TOTPResource, type TOTPStrategy, type TelemetryCollector, type TelemetryEvent, type TelemetryEventRaw, type Theme, type TicketStrategy, type TiktokOauthProvider, type TokenJSON, type TokenJSONSnapshot, type TokenResource, type TransferableOption, type TransparentColor, type TwitchOauthProvider, type TwitterOauthProvider, type UnsubscribeCallback, type UpdateEnrollmentModeParams, type UpdateMembershipParams, type UpdateOrganizationMembershipParams, type UpdateOrganizationParams, type UpdatePasskeyParams, type UpdateUserParams, type UpdateUserPasswordParams, type UseAuthReturn, type UseSessionListReturn, type UseSessionReturn, type UseSignInReturn, type UseSignUpReturn, type UseUserReturn, type UserButtonProps, type UserButtonTheme, type UserData, type UserDataJSON, type UserDataJSONSnapshot, type UserJSON, type UserJSONSnapshot, type UserOrganizationInvitationJSON, type UserOrganizationInvitationResource, type UserPreviewId, type UserProfileModalProps, type UserProfileProps, type UserProfileTheme, type UserResource, type UserSettingsJSON, type UserSettingsJSONSnapshot, type UserSettingsResource, type UserVerificationTheme, type UsernameIdentifier, type UsernameSettingsData, type ValidatePasswordCallbacks, type Variables, type VerificationAttemptParams, type VerificationJSON, type VerificationJSONSnapshot, type VerificationResource, type VerificationStatus, type VerificationStrategy, type VerifyTOTPParams, type VersionedJwtPayload, WEB3_PROVIDERS, type WaitlistJSON, type WaitlistModalProps, type WaitlistProps, type WaitlistResource, type WaitlistTheme, type Web3Attempt, type Web3Provider, type Web3ProviderData, type Web3SignatureConfig, type Web3SignatureFactor, type Web3Strategy, type Web3WalletIdentifier, type Web3WalletJSON, type Web3WalletJSONSnapshot, type Web3WalletResource, type Without, type WithoutRouting, type XOauthProvider, type XeroOauthProvider, type ZxcvbnResult, type __internal_CheckoutProps, type __internal_ComponentNavigationContext, type __internal_OAuthConsentProps, type __internal_PlanDetailsProps, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../src/oauth.ts","../src/saml.ts","../src/web3.ts"],"sourcesContent":["export * from './api';\nexport * from './appearance';\nexport * from './elementIds';\nexport * from './attributes';\nexport * from './authConfig';\nexport * from './backupCode';\nexport * from './clerk';\nexport * from './client';\nexport * from './commerce';\nexport * from './commerceSettings';\nexport * from './deletedObject';\nexport * from './displayConfig';\nexport * from './emailAddress';\nexport * from './environment';\nexport * from './externalAccount';\nexport * from './enterpriseAccount';\nexport * from './factors';\nexport * from './hooks';\nexport * from './identificationLink';\nexport * from './identifiers';\nexport * from './image';\nexport * from './instance';\nexport * from './json';\nexport * from './jwt';\nexport * from './key';\nexport * from './localization';\nexport * from './jwtv2';\nexport * from './multiDomain';\nexport * from './oauth';\nexport * from './organization';\nexport * from './organizationDomain';\nexport * from './organizationInvitation';\nexport * from './organizationMembership';\nexport * from './organizationMembershipRequest';\nexport * from './organizationSettings';\nexport * from './organizationSuggestion';\nexport * from './passwords';\nexport * from './permission';\nexport * from './phoneNumber';\nexport * from './redirects';\nexport * from './resource';\nexport * from './role';\nexport * from './router';\nexport * from './saml';\nexport * from './samlAccount';\nexport * from './session';\nexport * from './sessionVerification';\nexport * from './signIn';\nexport * from './signUp';\nexport * from './ssr';\nexport * from './strategies';\nexport * from './theme';\nexport * from './token';\nexport * from './totp';\nexport * from './telemetry';\nexport * from './user';\nexport * from './userOrganizationInvitation';\nexport * from './userSettings';\nexport * from './utils';\nexport * from './verification';\nexport * from './web3';\nexport * from './web3Wallet';\nexport * from './customPages';\nexport * from './pagination';\nexport * from './passkey';\nexport * from './customMenuItems';\nexport * from './samlConnection';\nexport * from './waitlist';\nexport * from './snapshots';\nexport * from './authObject';\nexport * from './phoneCodeChannel';\n","import type { OAuthStrategy } from './strategies';\n\nexport type OAuthScope = string;\n\nexport interface OAuthProviderData {\n provider: OAuthProvider;\n strategy: OAuthStrategy;\n name: string;\n docsUrl: string;\n}\n\nexport type FacebookOauthProvider = 'facebook';\nexport type GoogleOauthProvider = 'google';\nexport type HubspotOauthProvider = 'hubspot';\nexport type GithubOauthProvider = 'github';\nexport type TiktokOauthProvider = 'tiktok';\nexport type GitlabOauthProvider = 'gitlab';\nexport type DiscordOauthProvider = 'discord';\nexport type TwitterOauthProvider = 'twitter';\nexport type TwitchOauthProvider = 'twitch';\nexport type LinkedinOauthProvider = 'linkedin';\nexport type LinkedinOIDCOauthProvider = 'linkedin_oidc';\nexport type DropboxOauthProvider = 'dropbox';\nexport type AtlassianOauthProvider = 'atlassian';\nexport type BitbucketOauthProvider = 'bitbucket';\nexport type MicrosoftOauthProvider = 'microsoft';\nexport type NotionOauthProvider = 'notion';\nexport type AppleOauthProvider = 'apple';\nexport type LineOauthProvider = 'line';\nexport type InstagramOauthProvider = 'instagram';\nexport type CoinbaseOauthProvider = 'coinbase';\nexport type SpotifyOauthProvider = 'spotify';\nexport type XeroOauthProvider = 'xero';\nexport type BoxOauthProvider = 'box';\nexport type SlackOauthProvider = 'slack';\nexport type LinearOauthProvider = 'linear';\nexport type XOauthProvider = 'x';\nexport type EnstallOauthProvider = 'enstall';\nexport type HuggingfaceOAuthProvider = 'huggingface';\nexport type CustomOauthProvider = `custom_${string}`;\n\nexport type OAuthProvider =\n | FacebookOauthProvider\n | GoogleOauthProvider\n | HubspotOauthProvider\n | GithubOauthProvider\n | TiktokOauthProvider\n | GitlabOauthProvider\n | DiscordOauthProvider\n | TwitterOauthProvider\n | TwitchOauthProvider\n | LinkedinOauthProvider\n | LinkedinOIDCOauthProvider\n | DropboxOauthProvider\n | AtlassianOauthProvider\n | BitbucketOauthProvider\n | MicrosoftOauthProvider\n | NotionOauthProvider\n | AppleOauthProvider\n | LineOauthProvider\n | InstagramOauthProvider\n | CoinbaseOauthProvider\n | SpotifyOauthProvider\n | XeroOauthProvider\n | BoxOauthProvider\n | SlackOauthProvider\n | LinearOauthProvider\n | XOauthProvider\n | EnstallOauthProvider\n | HuggingfaceOAuthProvider\n | CustomOauthProvider;\n\n/**\n * @deprecated Use `import { OAUTH_PROVIDERS } from \"@clerk/shared/oauth\"` instead.\n *\n * @hidden\n */\nexport const OAUTH_PROVIDERS: OAuthProviderData[] = [\n {\n provider: 'google',\n strategy: 'oauth_google',\n name: 'Google',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/google',\n },\n {\n provider: 'discord',\n strategy: 'oauth_discord',\n name: 'Discord',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/discord',\n },\n {\n provider: 'facebook',\n strategy: 'oauth_facebook',\n name: 'Facebook',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/facebook',\n },\n {\n provider: 'twitch',\n strategy: 'oauth_twitch',\n name: 'Twitch',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/twitch',\n },\n {\n provider: 'twitter',\n strategy: 'oauth_twitter',\n name: 'Twitter',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/twitter',\n },\n {\n provider: 'microsoft',\n strategy: 'oauth_microsoft',\n name: 'Microsoft',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/microsoft',\n },\n {\n provider: 'tiktok',\n strategy: 'oauth_tiktok',\n name: 'TikTok',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/tiktok',\n },\n {\n provider: 'linkedin',\n strategy: 'oauth_linkedin',\n name: 'LinkedIn',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/linkedin',\n },\n {\n provider: 'linkedin_oidc',\n strategy: 'oauth_linkedin_oidc',\n name: 'LinkedIn',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/linkedin-oidc',\n },\n {\n provider: 'github',\n strategy: 'oauth_github',\n name: 'GitHub',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/github',\n },\n {\n provider: 'gitlab',\n strategy: 'oauth_gitlab',\n name: 'GitLab',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/gitlab',\n },\n {\n provider: 'dropbox',\n strategy: 'oauth_dropbox',\n name: 'Dropbox',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/dropbox',\n },\n {\n provider: 'atlassian',\n strategy: 'oauth_atlassian',\n name: 'Atlassian',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/atlassian',\n },\n {\n provider: 'bitbucket',\n strategy: 'oauth_bitbucket',\n name: 'Bitbucket',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/bitbucket',\n },\n {\n provider: 'hubspot',\n strategy: 'oauth_hubspot',\n name: 'HubSpot',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/hubspot',\n },\n {\n provider: 'notion',\n strategy: 'oauth_notion',\n name: 'Notion',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/notion',\n },\n {\n provider: 'apple',\n strategy: 'oauth_apple',\n name: 'Apple',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/apple',\n },\n {\n provider: 'line',\n strategy: 'oauth_line',\n name: 'LINE',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/line',\n },\n {\n provider: 'instagram',\n strategy: 'oauth_instagram',\n name: 'Instagram',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/instagram',\n },\n {\n provider: 'coinbase',\n strategy: 'oauth_coinbase',\n name: 'Coinbase',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/coinbase',\n },\n {\n provider: 'spotify',\n strategy: 'oauth_spotify',\n name: 'Spotify',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/spotify',\n },\n {\n provider: 'xero',\n strategy: 'oauth_xero',\n name: 'Xero',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/xero',\n },\n {\n provider: 'box',\n strategy: 'oauth_box',\n name: 'Box',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/box',\n },\n {\n provider: 'slack',\n strategy: 'oauth_slack',\n name: 'Slack',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/slack',\n },\n {\n provider: 'linear',\n strategy: 'oauth_linear',\n name: 'Linear',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/linear',\n },\n {\n provider: 'x',\n strategy: 'oauth_x',\n name: 'X / Twitter',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/x-twitter-v2',\n },\n {\n provider: 'enstall',\n strategy: 'oauth_enstall',\n name: 'Enstall',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/enstall',\n },\n {\n provider: 'huggingface',\n strategy: 'oauth_huggingface',\n name: 'Hugging Face',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/huggingface',\n },\n];\n\ninterface getOAuthProviderDataProps {\n provider?: OAuthProvider;\n strategy?: OAuthStrategy;\n}\n\n/**\n * @deprecated This utility will be dropped in the next major release.\n *\n * @hidden\n */\nexport function getOAuthProviderData({\n provider,\n strategy,\n}: getOAuthProviderDataProps): OAuthProviderData | undefined | null {\n if (provider) {\n return OAUTH_PROVIDERS.find(oauth_provider => oauth_provider.provider == provider);\n }\n\n return OAUTH_PROVIDERS.find(oauth_provider => oauth_provider.strategy == strategy);\n}\n\n/**\n * @deprecated This utility will be dropped in the next major release.\n *\n * @hidden\n */\nexport function sortedOAuthProviders(sortingArray: OAuthStrategy[]) {\n return OAUTH_PROVIDERS.slice().sort((a, b) => {\n let aPos = sortingArray.indexOf(a.strategy);\n if (aPos == -1) {\n aPos = Number.MAX_SAFE_INTEGER;\n }\n\n let bPos = sortingArray.indexOf(b.strategy);\n if (bPos == -1) {\n bPos = Number.MAX_SAFE_INTEGER;\n }\n\n return aPos - bPos;\n });\n}\n","export type SamlIdpSlug = 'saml_okta' | 'saml_google' | 'saml_microsoft' | 'saml_custom';\n\nexport type SamlIdp = {\n name: string;\n logo: string;\n};\n\nexport type SamlIdpMap = Record<SamlIdpSlug, SamlIdp>;\n\nexport const SAML_IDPS: SamlIdpMap = {\n saml_okta: {\n name: 'Okta Workforce',\n logo: 'okta',\n },\n saml_google: {\n name: 'Google Workspace',\n logo: 'google',\n },\n saml_microsoft: {\n name: 'Microsoft Entra ID (Formerly AD)',\n logo: 'azure',\n },\n saml_custom: {\n name: 'SAML',\n logo: 'saml',\n },\n};\n","import type { Web3Strategy } from './strategies';\n\nexport interface Web3ProviderData {\n provider: Web3Provider;\n strategy: Web3Strategy;\n name: string;\n}\n\nexport type MetamaskWeb3Provider = 'metamask';\nexport type CoinbaseWalletWeb3Provider = 'coinbase_wallet';\nexport type OKXWalletWeb3Provider = 'okx_wallet';\n\nexport type Web3Provider = MetamaskWeb3Provider | CoinbaseWalletWeb3Provider | OKXWalletWeb3Provider;\n\n/**\n * @deprecated Use `import { WEB3_PROVIDERS } from \"@clerk/shared/web3\"` instead.\n *\n * @hidden\n */\nexport const WEB3_PROVIDERS: Web3ProviderData[] = [\n {\n provider: 'metamask',\n strategy: 'web3_metamask_signature',\n name: 'MetaMask',\n },\n {\n provider: 'coinbase_wallet',\n strategy: 'web3_coinbase_wallet_signature',\n name: 'Coinbase Wallet',\n },\n {\n provider: 'okx_wallet',\n strategy: 'web3_okx_wallet_signature',\n name: 'OKX Wallet',\n },\n];\n\ninterface getWeb3ProviderDataProps {\n provider?: Web3Provider;\n strategy?: Web3Strategy;\n}\n\n/**\n * @deprecated This utility will be dropped in the next major release.\n *\n * @hidden\n */\nexport function getWeb3ProviderData({\n provider,\n strategy,\n}: getWeb3ProviderDataProps): Web3ProviderData | undefined | null {\n if (provider) {\n return WEB3_PROVIDERS.find(p => p.provider == provider);\n }\n\n return WEB3_PROVIDERS.find(p => p.strategy == strategy);\n}\n"],"mappings":"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","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/oauth.ts","../src/saml.ts","../src/web3.ts"],"sourcesContent":["export * from './api';\nexport * from './appearance';\nexport * from './elementIds';\nexport * from './attributes';\nexport * from './authConfig';\nexport * from './backupCode';\nexport * from './clerk';\nexport * from './client';\nexport * from './commerce';\nexport * from './commerceSettings';\nexport * from './deletedObject';\nexport * from './displayConfig';\nexport * from './emailAddress';\nexport * from './environment';\nexport * from './externalAccount';\nexport * from './enterpriseAccount';\nexport * from './factors';\nexport * from './hooks';\nexport * from './identificationLink';\nexport * from './identifiers';\nexport * from './image';\nexport * from './instance';\nexport * from './json';\nexport * from './jwt';\nexport * from './key';\nexport * from './localization';\nexport * from './jwtv2';\nexport * from './multiDomain';\nexport * from './oauth';\nexport * from './organization';\nexport * from './organizationDomain';\nexport * from './organizationInvitation';\nexport * from './organizationMembership';\nexport * from './organizationMembershipRequest';\nexport * from './organizationSettings';\nexport * from './organizationSuggestion';\nexport * from './passwords';\nexport * from './permission';\nexport * from './phoneNumber';\nexport * from './redirects';\nexport * from './resource';\nexport * from './role';\nexport * from './router';\nexport * from './saml';\nexport * from './samlAccount';\nexport * from './session';\nexport * from './sessionVerification';\nexport * from './signIn';\nexport * from './signUp';\nexport * from './ssr';\nexport * from './strategies';\nexport * from './theme';\nexport * from './token';\nexport * from './totp';\nexport * from './telemetry';\nexport * from './user';\nexport * from './userOrganizationInvitation';\nexport * from './userSettings';\nexport * from './utils';\nexport * from './verification';\nexport * from './web3';\nexport * from './web3Wallet';\nexport * from './customPages';\nexport * from './pagination';\nexport * from './passkey';\nexport * from './customMenuItems';\nexport * from './samlConnection';\nexport * from './waitlist';\nexport * from './apiKeys';\nexport * from './apiKeysSettings';\nexport * from './snapshots';\nexport * from './authObject';\nexport * from './phoneCodeChannel';\n","import type { OAuthStrategy } from './strategies';\n\nexport type OAuthScope = string;\n\nexport interface OAuthProviderData {\n provider: OAuthProvider;\n strategy: OAuthStrategy;\n name: string;\n docsUrl: string;\n}\n\nexport type FacebookOauthProvider = 'facebook';\nexport type GoogleOauthProvider = 'google';\nexport type HubspotOauthProvider = 'hubspot';\nexport type GithubOauthProvider = 'github';\nexport type TiktokOauthProvider = 'tiktok';\nexport type GitlabOauthProvider = 'gitlab';\nexport type DiscordOauthProvider = 'discord';\nexport type TwitterOauthProvider = 'twitter';\nexport type TwitchOauthProvider = 'twitch';\nexport type LinkedinOauthProvider = 'linkedin';\nexport type LinkedinOIDCOauthProvider = 'linkedin_oidc';\nexport type DropboxOauthProvider = 'dropbox';\nexport type AtlassianOauthProvider = 'atlassian';\nexport type BitbucketOauthProvider = 'bitbucket';\nexport type MicrosoftOauthProvider = 'microsoft';\nexport type NotionOauthProvider = 'notion';\nexport type AppleOauthProvider = 'apple';\nexport type LineOauthProvider = 'line';\nexport type InstagramOauthProvider = 'instagram';\nexport type CoinbaseOauthProvider = 'coinbase';\nexport type SpotifyOauthProvider = 'spotify';\nexport type XeroOauthProvider = 'xero';\nexport type BoxOauthProvider = 'box';\nexport type SlackOauthProvider = 'slack';\nexport type LinearOauthProvider = 'linear';\nexport type XOauthProvider = 'x';\nexport type EnstallOauthProvider = 'enstall';\nexport type HuggingfaceOAuthProvider = 'huggingface';\nexport type CustomOauthProvider = `custom_${string}`;\n\nexport type OAuthProvider =\n | FacebookOauthProvider\n | GoogleOauthProvider\n | HubspotOauthProvider\n | GithubOauthProvider\n | TiktokOauthProvider\n | GitlabOauthProvider\n | DiscordOauthProvider\n | TwitterOauthProvider\n | TwitchOauthProvider\n | LinkedinOauthProvider\n | LinkedinOIDCOauthProvider\n | DropboxOauthProvider\n | AtlassianOauthProvider\n | BitbucketOauthProvider\n | MicrosoftOauthProvider\n | NotionOauthProvider\n | AppleOauthProvider\n | LineOauthProvider\n | InstagramOauthProvider\n | CoinbaseOauthProvider\n | SpotifyOauthProvider\n | XeroOauthProvider\n | BoxOauthProvider\n | SlackOauthProvider\n | LinearOauthProvider\n | XOauthProvider\n | EnstallOauthProvider\n | HuggingfaceOAuthProvider\n | CustomOauthProvider;\n\n/**\n * @deprecated Use `import { OAUTH_PROVIDERS } from \"@clerk/shared/oauth\"` instead.\n *\n * @hidden\n */\nexport const OAUTH_PROVIDERS: OAuthProviderData[] = [\n {\n provider: 'google',\n strategy: 'oauth_google',\n name: 'Google',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/google',\n },\n {\n provider: 'discord',\n strategy: 'oauth_discord',\n name: 'Discord',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/discord',\n },\n {\n provider: 'facebook',\n strategy: 'oauth_facebook',\n name: 'Facebook',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/facebook',\n },\n {\n provider: 'twitch',\n strategy: 'oauth_twitch',\n name: 'Twitch',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/twitch',\n },\n {\n provider: 'twitter',\n strategy: 'oauth_twitter',\n name: 'Twitter',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/twitter',\n },\n {\n provider: 'microsoft',\n strategy: 'oauth_microsoft',\n name: 'Microsoft',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/microsoft',\n },\n {\n provider: 'tiktok',\n strategy: 'oauth_tiktok',\n name: 'TikTok',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/tiktok',\n },\n {\n provider: 'linkedin',\n strategy: 'oauth_linkedin',\n name: 'LinkedIn',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/linkedin',\n },\n {\n provider: 'linkedin_oidc',\n strategy: 'oauth_linkedin_oidc',\n name: 'LinkedIn',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/linkedin-oidc',\n },\n {\n provider: 'github',\n strategy: 'oauth_github',\n name: 'GitHub',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/github',\n },\n {\n provider: 'gitlab',\n strategy: 'oauth_gitlab',\n name: 'GitLab',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/gitlab',\n },\n {\n provider: 'dropbox',\n strategy: 'oauth_dropbox',\n name: 'Dropbox',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/dropbox',\n },\n {\n provider: 'atlassian',\n strategy: 'oauth_atlassian',\n name: 'Atlassian',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/atlassian',\n },\n {\n provider: 'bitbucket',\n strategy: 'oauth_bitbucket',\n name: 'Bitbucket',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/bitbucket',\n },\n {\n provider: 'hubspot',\n strategy: 'oauth_hubspot',\n name: 'HubSpot',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/hubspot',\n },\n {\n provider: 'notion',\n strategy: 'oauth_notion',\n name: 'Notion',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/notion',\n },\n {\n provider: 'apple',\n strategy: 'oauth_apple',\n name: 'Apple',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/apple',\n },\n {\n provider: 'line',\n strategy: 'oauth_line',\n name: 'LINE',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/line',\n },\n {\n provider: 'instagram',\n strategy: 'oauth_instagram',\n name: 'Instagram',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/instagram',\n },\n {\n provider: 'coinbase',\n strategy: 'oauth_coinbase',\n name: 'Coinbase',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/coinbase',\n },\n {\n provider: 'spotify',\n strategy: 'oauth_spotify',\n name: 'Spotify',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/spotify',\n },\n {\n provider: 'xero',\n strategy: 'oauth_xero',\n name: 'Xero',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/xero',\n },\n {\n provider: 'box',\n strategy: 'oauth_box',\n name: 'Box',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/box',\n },\n {\n provider: 'slack',\n strategy: 'oauth_slack',\n name: 'Slack',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/slack',\n },\n {\n provider: 'linear',\n strategy: 'oauth_linear',\n name: 'Linear',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/linear',\n },\n {\n provider: 'x',\n strategy: 'oauth_x',\n name: 'X / Twitter',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/x-twitter-v2',\n },\n {\n provider: 'enstall',\n strategy: 'oauth_enstall',\n name: 'Enstall',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/enstall',\n },\n {\n provider: 'huggingface',\n strategy: 'oauth_huggingface',\n name: 'Hugging Face',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/huggingface',\n },\n];\n\ninterface getOAuthProviderDataProps {\n provider?: OAuthProvider;\n strategy?: OAuthStrategy;\n}\n\n/**\n * @deprecated This utility will be dropped in the next major release.\n *\n * @hidden\n */\nexport function getOAuthProviderData({\n provider,\n strategy,\n}: getOAuthProviderDataProps): OAuthProviderData | undefined | null {\n if (provider) {\n return OAUTH_PROVIDERS.find(oauth_provider => oauth_provider.provider == provider);\n }\n\n return OAUTH_PROVIDERS.find(oauth_provider => oauth_provider.strategy == strategy);\n}\n\n/**\n * @deprecated This utility will be dropped in the next major release.\n *\n * @hidden\n */\nexport function sortedOAuthProviders(sortingArray: OAuthStrategy[]) {\n return OAUTH_PROVIDERS.slice().sort((a, b) => {\n let aPos = sortingArray.indexOf(a.strategy);\n if (aPos == -1) {\n aPos = Number.MAX_SAFE_INTEGER;\n }\n\n let bPos = sortingArray.indexOf(b.strategy);\n if (bPos == -1) {\n bPos = Number.MAX_SAFE_INTEGER;\n }\n\n return aPos - bPos;\n });\n}\n","export type SamlIdpSlug = 'saml_okta' | 'saml_google' | 'saml_microsoft' | 'saml_custom';\n\nexport type SamlIdp = {\n name: string;\n logo: string;\n};\n\nexport type SamlIdpMap = Record<SamlIdpSlug, SamlIdp>;\n\nexport const SAML_IDPS: SamlIdpMap = {\n saml_okta: {\n name: 'Okta Workforce',\n logo: 'okta',\n },\n saml_google: {\n name: 'Google Workspace',\n logo: 'google',\n },\n saml_microsoft: {\n name: 'Microsoft Entra ID (Formerly AD)',\n logo: 'azure',\n },\n saml_custom: {\n name: 'SAML',\n logo: 'saml',\n },\n};\n","import type { Web3Strategy } from './strategies';\n\nexport interface Web3ProviderData {\n provider: Web3Provider;\n strategy: Web3Strategy;\n name: string;\n}\n\nexport type MetamaskWeb3Provider = 'metamask';\nexport type CoinbaseWalletWeb3Provider = 'coinbase_wallet';\nexport type OKXWalletWeb3Provider = 'okx_wallet';\n\nexport type Web3Provider = MetamaskWeb3Provider | CoinbaseWalletWeb3Provider | OKXWalletWeb3Provider;\n\n/**\n * @deprecated Use `import { WEB3_PROVIDERS } from \"@clerk/shared/web3\"` instead.\n *\n * @hidden\n */\nexport const WEB3_PROVIDERS: Web3ProviderData[] = [\n {\n provider: 'metamask',\n strategy: 'web3_metamask_signature',\n name: 'MetaMask',\n },\n {\n provider: 'coinbase_wallet',\n strategy: 'web3_coinbase_wallet_signature',\n name: 'Coinbase Wallet',\n },\n {\n provider: 'okx_wallet',\n strategy: 'web3_okx_wallet_signature',\n name: 'OKX Wallet',\n },\n];\n\ninterface getWeb3ProviderDataProps {\n provider?: Web3Provider;\n strategy?: Web3Strategy;\n}\n\n/**\n * @deprecated This utility will be dropped in the next major release.\n *\n * @hidden\n */\nexport function getWeb3ProviderData({\n provider,\n strategy,\n}: getWeb3ProviderDataProps): Web3ProviderData | undefined | null {\n if (provider) {\n return WEB3_PROVIDERS.find(p => p.provider == provider);\n }\n\n return WEB3_PROVIDERS.find(p => p.strategy == strategy);\n}\n"],"mappings":"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","names":[]}
|