You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1ef84c3
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/backend/src/api/endpoints/UserApi.ts
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -233,13 +233,13 @@ export type UserPasswordHashingParams = {
233
233
exporttypeCreateUserParams={
234
234
/** The ID of the user as used in your external systems or your previous authentication solution. Must be unique across your instance. */
235
235
externalId?: string;
236
-
/** The email address(es) to assign to the user. Must be unique across your instance. The first email address will be set as the users primary email address. Created verified by default; see `emailAddressIdentificationStatus` to create them reserved. */
236
+
/** The email addresses to assign to the user. Each address must be unique across your instance. The first email address becomes the user's primary email address. Addresses are created as verified by default; use `emailAddressIdentificationStatus` to create reserved addresses. */
237
237
emailAddress?: string[];
238
-
/** Controls the status each email address is created with. Runs parallel to `emailAddress`: when provided, it must contain exactly one item per email address, applied by position. When omitted or empty, every email address is created `'verified'`. Set an item to `'reserved'` to create the corresponding email address reserved instead (unverified but usable for sign-in and locked so no other user can claim it). */
238
+
/** Sets the creation status of each email address. Entries correspond by index to `emailAddress`, and the array must contain exactly one entry per email address. If omitted, every email address is created as `'verified'`. Use `'reserved'` to create an unverified address that can still be used for sign-in and cannot be claimed by another user. */
/** The phone number(s) to assign to the user. Must be unique across your instance. The first phone number will be set as the users primary phone number. Created verified by default; see `phoneNumberIdentificationStatus` to create them reserved. */
240
+
/** The phone numbers to assign to the user. Each number must be unique across your instance. The first phone number becomes the user's primary phone number. Numbers are created as verified by default; use `phoneNumberIdentificationStatus` to create reserved numbers. */
241
241
phoneNumber?: string[];
242
-
/** Controls the status each phone number is created with. Runs parallel to `phoneNumber`: when provided, it must contain exactly one item per phone number, applied by position. When omitted or empty, every phone number is created `'verified'`. Set an item to `'reserved'` to create the corresponding phone number reserved instead (unverified but usable for sign-in and locked so no other user can claim it). */
242
+
/** Sets the creation status of each phone number. Entries correspond by index to `phoneNumber`, and the array must contain exactly one entry per phone number. If omitted, every phone number is created as `'verified'`. Use `'reserved'` to create an unverified number that can still be used for sign-in and cannot be claimed by another user. */
/** The username to assign to the user. Must be unique across your instance. */
245
245
username?: string;
@@ -457,7 +457,7 @@ export class UserAPI extends AbstractAPI {
457
457
*
458
458
* Your settings in the [Clerk Dashboard](https://dashboard.clerk.com) determine how you should setup your user model. Anything **Required** will need to be provided when creating a user. Trying to add a field that isn't enabled will result in an error.
459
459
*
460
-
* By default, any email address and phone number created using this method is automatically verified. Use `emailAddressIdentificationStatus` and `phoneNumberIdentificationStatus` to instead create some or all of them as reserved (unverified but usable for sign-in and locked so no other user can claim them).
460
+
* By default, email addresses and phone numbers created using this method are verified automatically. Use `emailAddressIdentificationStatus` and `phoneNumberIdentificationStatus` to create any of them as reserved. Reserved identifiers are unverified, but they can still be used for sign-in and cannot be claimed by another user.
* The possible lifecycle states of a Backend `BillingSubscriptionItem`.
1034
+
*
1035
+
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
1036
+
*/
1037
+
exporttypeBillingSubscriptionItemStatus=
1038
+
/** The Subscription Item is in the abandoned state. */
1033
1039
|'abandoned'
1040
+
/** The Subscription Item is active. */
1034
1041
|'active'
1042
+
/** The Subscription Item is canceled. */
1035
1043
|'canceled'
1044
+
/** The Subscription Item has ended. */
1036
1045
|'ended'
1046
+
/** The Subscription Item has expired. */
1037
1047
|'expired'
1048
+
/** The Subscription Item is incomplete. */
1038
1049
|'incomplete'
1050
+
/** The Subscription Item has a past-due payment. */
Copy file name to clipboardExpand all lines: packages/shared/src/types/clerk.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1445,7 +1445,7 @@ export type ClerkOptions = ClerkOptionsNavigation &
1445
1445
*/
1446
1446
supportEmail?: string;
1447
1447
/**
1448
-
* By default, the [Clerk Frontend API `touch` endpoint](https://clerk.com/docs/reference/frontend-api/tag/Sessions#operation/touchSession){{ target: '_blank' }} is called during page focus to keep the last active session alive. This option allows you to disable this behavior.
1448
+
* By default, the [Clerk Frontend API `touch` endpoint](https://clerk.com/docs/reference/frontend-api/tag/sessions/POST/v1/client/sessions/%7Bsession_id%7D/touch){{ target: '_blank' }} is called during page focus to keep the last active session alive. This option allows you to disable this behavior.
0 commit comments