@@ -7695,6 +7695,14 @@ export enum EventType {
76957695 UserIdentityUpdate = "user.identity.update"
76967696}
76977697
7698+ /**
7699+ * Represent the various states/expectations of a user in the context of starting verification
7700+ */
7701+ export enum ExistingUserStrategy {
7702+ mustExist = "mustExist" ,
7703+ mustNotExist = "mustNotExist"
7704+ }
7705+
76987706/**
76997707 * An expandable API request.
77007708 *
@@ -8052,6 +8060,16 @@ export interface FormResponse {
80528060 */
80538061export interface FormStep {
80548062 fields ?: Array < UUID > ;
8063+ type ?: FormStepType ;
8064+ }
8065+
8066+ /**
8067+ * Denotes the type of form step. This is used to configure different behavior on form steps in the registration flow.
8068+ */
8069+ export enum FormStepType {
8070+ collectData = "collectData" ,
8071+ verifyEmail = "verifyEmail" ,
8072+ verifyPhoneNumber = "verifyPhoneNumber"
80558073}
80568074
80578075/**
@@ -10398,6 +10416,7 @@ export interface RegistrationRequest extends BaseEventRequest {
1039810416 skipRegistrationVerification ?: boolean ;
1039910417 skipVerification ?: boolean ;
1040010418 user ?: User ;
10419+ verificationIds ?: Array < string > ;
1040110420}
1040210421
1040310422/**
@@ -10414,6 +10433,7 @@ export interface RegistrationResponse {
1041410433 token ?: string ;
1041510434 tokenExpirationInstant ?: number ;
1041610435 user ?: User ;
10436+ verificationIds ?: Array < VerificationId > ;
1041710437}
1041810438
1041910439/**
@@ -12536,6 +12556,7 @@ export interface VerifySendRequest {
1253612556 */
1253712557export interface VerifyStartRequest {
1253812558 applicationId ?: UUID ;
12559+ existingUserStrategy ?: ExistingUserStrategy ;
1253912560 loginId ?: string ;
1254012561 loginIdType ?: string ;
1254112562 state ?: Record < string , any > ;
0 commit comments