From 56c4c3b263cf5881b4c705b48d2c4e39a924939a Mon Sep 17 00:00:00 2001 From: Brady Wied Date: Tue, 30 Sep 2025 22:59:50 -0600 Subject: [PATCH 1/4] form step type added to clients --- src/FusionAuthClient.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/FusionAuthClient.ts b/src/FusionAuthClient.ts index 3df5431..0498d4a 100644 --- a/src/FusionAuthClient.ts +++ b/src/FusionAuthClient.ts @@ -7923,6 +7923,16 @@ export interface FormResponse { */ export interface FormStep { fields?: Array; + formStepType?: FormStepType; +} + +/** + * Which type of step is in use? + */ +export enum FormStepType { + collectData = "collectData", + verifyEmail = "verifyEmail", + verifyPhone = "verifyPhone" } /** From fd2c05b64d1ab4049c5f7133434c1fa0562ac74e Mon Sep 17 00:00:00 2001 From: Brady Wied Date: Thu, 2 Oct 2025 11:22:55 -0600 Subject: [PATCH 2/4] domain object updates --- src/FusionAuthClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FusionAuthClient.ts b/src/FusionAuthClient.ts index ce08dc7..b3f4fe6 100644 --- a/src/FusionAuthClient.ts +++ b/src/FusionAuthClient.ts @@ -7923,7 +7923,7 @@ export interface FormResponse { */ export interface FormStep { fields?: Array; - formStepType?: FormStepType; + type?: FormStepType; } /** From cea9bcef2d0d29e2e9d0d49a5f5fc358a49a5d67 Mon Sep 17 00:00:00 2001 From: Brady Wied Date: Mon, 6 Oct 2025 15:05:07 -0600 Subject: [PATCH 3/4] updated form step type --- src/FusionAuthClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FusionAuthClient.ts b/src/FusionAuthClient.ts index b3f4fe6..4afb360 100644 --- a/src/FusionAuthClient.ts +++ b/src/FusionAuthClient.ts @@ -7932,7 +7932,7 @@ export interface FormStep { export enum FormStepType { collectData = "collectData", verifyEmail = "verifyEmail", - verifyPhone = "verifyPhone" + verifyPhoneNumber = "verifyPhoneNumber" } /** From aedbf351aa787293c70df021323b72819578ef04 Mon Sep 17 00:00:00 2001 From: Brady Wied Date: Tue, 7 Oct 2025 10:11:49 -0600 Subject: [PATCH 4/4] better comments on enum --- src/FusionAuthClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FusionAuthClient.ts b/src/FusionAuthClient.ts index 4afb360..288d4ec 100644 --- a/src/FusionAuthClient.ts +++ b/src/FusionAuthClient.ts @@ -7927,7 +7927,7 @@ export interface FormStep { } /** - * Which type of step is in use? + * Denotes the type of form step. This is used to configure different behavior on form steps in the registration flow. */ export enum FormStepType { collectData = "collectData",