@@ -7581,6 +7581,14 @@ export enum EventType {
75817581 UserIdentityUpdate = "user.identity.update"
75827582}
75837583
7584+ /**
7585+ * Represent the various states/expectations of a user in the context of starting verification
7586+ */
7587+ export enum ExistingUserStrategy {
7588+ mustExist = "mustExist" ,
7589+ mustNotExist = "mustNotExist"
7590+ }
7591+
75847592/**
75857593 * An expandable API request.
75867594 *
@@ -7938,6 +7946,16 @@ export interface FormResponse {
79387946 */
79397947export interface FormStep {
79407948 fields ?: Array < UUID > ;
7949+ type ?: FormStepType ;
7950+ }
7951+
7952+ /**
7953+ * Denotes the type of form step. This is used to configure different behavior on form steps in the registration flow.
7954+ */
7955+ export enum FormStepType {
7956+ collectData = "collectData" ,
7957+ verifyEmail = "verifyEmail" ,
7958+ verifyPhoneNumber = "verifyPhoneNumber"
79417959}
79427960
79437961/**
@@ -10262,6 +10280,7 @@ export interface RegistrationRequest extends BaseEventRequest {
1026210280 skipRegistrationVerification ?: boolean ;
1026310281 skipVerification ?: boolean ;
1026410282 user ?: User ;
10283+ verificationIds ?: Array < string > ;
1026510284}
1026610285
1026710286/**
@@ -10278,6 +10297,7 @@ export interface RegistrationResponse {
1027810297 token ?: string ;
1027910298 tokenExpirationInstant ?: number ;
1028010299 user ?: User ;
10300+ verificationIds ?: Array < VerificationId > ;
1028110301}
1028210302
1028310303/**
@@ -12360,6 +12380,7 @@ export interface VerifySendRequest {
1236012380 */
1236112381export interface VerifyStartRequest {
1236212382 applicationId ?: UUID ;
12383+ existingUserStrategy ?: ExistingUserStrategy ;
1236312384 loginId ?: string ;
1236412385 loginIdType ?: string ;
1236512386 state ?: Record < string , any > ;
0 commit comments