@frigade/react 1.35.12 → 1.35.14

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/lib/index.d.ts CHANGED
@@ -260,6 +260,13 @@ interface FlowResponse {
260
260
  blocked: boolean;
261
261
  hidden: boolean;
262
262
  }
263
+ interface PublicStepState {
264
+ stepId: string;
265
+ actionType: 'COMPLETED_STEP' | 'STARTED_STEP' | 'NOT_STARTED_STEP';
266
+ blocked: boolean;
267
+ hidden: boolean;
268
+ createdAt: Date;
269
+ }
263
270
  declare function useFlowResponses(): {
264
271
  addResponse: (flowResponse: FlowResponse) => Promise<void>;
265
272
  setFlowResponses: React.Dispatch<React.SetStateAction<FlowResponse[]>>;
@@ -682,6 +689,7 @@ declare function useUser(): {
682
689
  declare function useOrganization(): {
683
690
  readonly organizationId: string | null;
684
691
  readonly setOrganizationId: React__default.Dispatch<React__default.SetStateAction<string | null>>;
692
+ readonly setOrganizationIdWithProperties: (organizationId: string, properties?: EntityProperties) => void;
685
693
  readonly addPropertiesToOrganization: (properties: EntityProperties) => Promise<void>;
686
694
  readonly trackEventForOrganization: (event: string, properties?: EntityProperties) => Promise<void>;
687
695
  };
@@ -989,4 +997,4 @@ declare const tokens: {
989
997
  };
990
998
  };
991
999
 
992
- export { Appearance, Box, Button, CheckBox, CustomFormTypeProps, EntityProperties, FormInputProps, FormInputType, Label as FormLabel, TextField as FormTextField, FormValidationError, FrigadeAnnouncement, FrigadeBanner, FrigadeChecklist, DefaultAppearance as FrigadeDefaultAppearance, FrigadeEmbeddedTip, FrigadeForm, FrigadeGuide, FrigadeHeroChecklist, FrigadeNPSSurvey, FrigadeProgressBadge, FrigadeProvider, FrigadeSupportWidget, BaseTheme as FrigadeTheme, FrigadeTour, ProgressRing, StepContentProps, StepData, Text, tokens, useFlowOpens, useFlowResponses, useFlows, useOrganization, useUser, useUserFlowStates };
1000
+ export { Appearance, Box, Button, CheckBox, CustomFormTypeProps, EntityProperties, Flow, FlowResponse, FlowType, FormInputProps, FormInputType, Label as FormLabel, TextField as FormTextField, FormValidationError, FrigadeAnnouncement, FrigadeBanner, FrigadeChecklist, DefaultAppearance as FrigadeDefaultAppearance, FrigadeEmbeddedTip, FrigadeForm, FrigadeGuide, FrigadeHeroChecklist, FrigadeNPSSurvey, FrigadeProgressBadge, FrigadeProvider, FrigadeSupportWidget, BaseTheme as FrigadeTheme, FrigadeTour, ProgressRing, PublicStepState, StepContentProps, StepData, Text, tokens, useFlowOpens, useFlowResponses, useFlows, useOrganization, useUser, useUserFlowStates };