@wise/dynamic-flow-types 3.3.5 → 3.5.0

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.
@@ -1,4 +1,5 @@
1
- export type { AlertCallToAction, AlertRendererProps } from './AlertRendererProps';
1
+ import type { CallToAction } from './CallToAction';
2
+ export type { AlertRendererProps } from './AlertRendererProps';
2
3
  export type { BoxRendererProps } from './BoxRendererProps';
3
4
  export type { ButtonRendererProps } from './ButtonRendererProps';
4
5
  export type { CheckboxInputRendererProps } from './CheckboxInputRendererProps';
@@ -9,6 +10,7 @@ export type { DecisionOption, DecisionRendererProps } from './DecisionRendererPr
9
10
  export type { DividerRendererProps } from './DividerRendererProps';
10
11
  export type { ExternalConfirmationRendererProps } from './ExternalConfirmationRendererProps';
11
12
  export type { FormRendererProps } from './FormRendererProps';
13
+ export type { FormSectionRendererProps } from './FormSectionRendererProps';
12
14
  export type { HeadingRendererProps } from './HeadingRendererProps';
13
15
  export type { HiddenRendererProps } from './HiddenRendererProps';
14
16
  export type { ImageRendererProps } from './ImageRendererProps';
@@ -23,14 +25,14 @@ export type { MultiSelectInputRendererProps } from './MultiSelectInputRendererPr
23
25
  export type { MultiUploadInputRendererProps } from './MultiUploadInputRendererProps';
24
26
  export type { NumberInputRendererProps } from './NumberInputRendererProps';
25
27
  export type { ParagraphRendererProps } from './ParagraphRendererProps';
26
- export type { RepeatableItemRendererProps, RepeatableRendererProps } from './RepeatableRendererProps';
27
- export type { ReviewCallToAction, ReviewField, ReviewRendererProps } from './ReviewRendererProps';
28
+ export type { RepeatableItemRendererProps, RepeatableRendererProps, } from './RepeatableRendererProps';
29
+ export type { ReviewField, ReviewRendererProps } from './ReviewRendererProps';
28
30
  export type { RootRendererProps } from './RootRendererProps';
29
- export type { ErrorSearchState, NoResultsSearchState, PendingSearchState, ResultsSearchState, SearchRendererProps, SearchResult, SearchState } from './SearchRendererProps';
30
- export type { FormSectionRendererProps } from './FormSectionRendererProps';
31
- export type { SelectInputRendererOption, SelectInputRendererProps } from './SelectInputRendererProps';
32
- export type { StatusListItem, StatusListItemCallToAction, StatusListItemStatus, StatusListRendererProps } from './StatusListRendererProps';
33
- export type { AnalyticsEventDispatcher, LoadingState, StepRendererProps } from './StepRendererProps';
31
+ export type { ErrorSearchState, NoResultsSearchState, PendingSearchState, ResultsSearchState, SearchRendererProps, SearchResult, SearchState, } from './SearchRendererProps';
32
+ export type { SectionRendererProps } from './SectionRendererProps';
33
+ export type { SelectInputRendererOption, SelectInputRendererProps, } from './SelectInputRendererProps';
34
+ export type { StatusListItem, StatusListItemStatus, StatusListRendererProps, } from './StatusListRendererProps';
35
+ export type { AnalyticsEventDispatcher, LoadingState, StepRendererProps, } from './StepRendererProps';
34
36
  export type { TextInputRendererProps } from './TextInputRendererProps';
35
37
  export type { UploadInputRendererProps } from './UploadInputRendererProps';
36
38
  export type { ValidationResult } from './BaseInputRendererProps';
@@ -38,3 +40,10 @@ export type { Align, Context, Margin, Size } from './constants';
38
40
  export type { Icon } from './Icon';
39
41
  export type { Image } from './Image';
40
42
  export type { Renderer, RendererProps, Renderers, RenderFunction } from './RendererProps';
43
+ export type { CallToAction } from './CallToAction';
44
+ /** @deprecated Please use `CallToAction` instead. */
45
+ export type AlertCallToAction = CallToAction;
46
+ /** @deprecated Please use `CallToAction` instead. */
47
+ export type ReviewCallToAction = CallToAction;
48
+ /** @deprecated Please use `CallToAction` instead. */
49
+ export type StatusListItemCallToAction = CallToAction;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import type { JsonElement, AdditionalInfo, Behavior, ReviewLayoutCallToAction, AlertLayout, AlertLayoutCallToAction, ListLayout, ListLayoutCallToAction, ListLayoutItem, DecisionLayout, DecisionLayoutOption, StatusListLayout, StatusListLayoutItem, ItemCallToAction, Layout, BoxLayout, ButtonLayout, ColumnsLayout, ModalLayout, ReviewLayout, ReviewLayoutField, ModalLayoutContent, ModalResponseBody, Step, Schema, Polling, LinkHandler, AllOfSchema, ArraySchema, BlobSchema, BooleanSchema, ConstSchema, IntegerSchema, NumberSchema, ObjectSchema, OneOfSchema, StringSchema, ArraySchemaList, PersistAsync, ArraySchemaTuple, PollingOnError, ModalBehavior } from '../next';
2
+ import type { JsonElement, AdditionalInfo, Behavior, ReviewLayoutCallToAction, AlertLayout, AlertLayoutCallToAction, ListLayout, ListLayoutCallToAction, ListLayoutItem, DecisionLayout, DecisionLayoutOption, SectionLayoutCallToAction, StatusListLayout, StatusListLayoutItem, SectionLayout, Layout, ItemCallToAction, BoxLayout, ButtonLayout, ColumnsLayout, ModalLayout, ReviewLayout, ReviewLayoutField, ModalLayoutContent, ModalResponseBody, Step, Schema, Polling, LinkHandler, AllOfSchema, ArraySchema, BlobSchema, BooleanSchema, ConstSchema, IntegerSchema, NumberSchema, ObjectSchema, OneOfSchema, StringSchema, ArraySchemaList, PersistAsync, ArraySchemaTuple, PollingOnError, ModalBehavior } from '../next';
3
3
  export declare const imageSchema: z.ZodObject<{
4
4
  text: z.ZodOptional<z.ZodString>;
5
5
  url: z.ZodOptional<z.ZodString>;
@@ -636,6 +636,13 @@ export declare const linkBehaviorSchema: z.ZodObject<{
636
636
  url: string;
637
637
  type: "link";
638
638
  }>;
639
+ export declare const refreshBehaviorSchema: z.ZodObject<{
640
+ type: z.ZodLiteral<"refresh">;
641
+ }, "strip", z.ZodTypeAny, {
642
+ type: "refresh";
643
+ }, {
644
+ type: "refresh";
645
+ }>;
639
646
  export declare const linkSchema: z.ZodObject<{
640
647
  url: z.ZodString;
641
648
  }, "strip", z.ZodTypeAny, {
@@ -2213,10 +2220,12 @@ export declare const listLayoutCallToActionSchema: z.ZodSchema<ListLayoutCallToA
2213
2220
  export declare const listLayoutItemSchema: z.ZodSchema<ListLayoutItem>;
2214
2221
  export declare const decisionLayoutSchema: z.ZodSchema<DecisionLayout>;
2215
2222
  export declare const decisionLayoutOptionSchema: z.ZodSchema<DecisionLayoutOption>;
2223
+ export declare const sectionLayoutCallToActionSchema: z.ZodSchema<SectionLayoutCallToAction>;
2216
2224
  export declare const statusListLayoutSchema: z.ZodSchema<StatusListLayout>;
2217
2225
  export declare const statusListLayoutItemSchema: z.ZodSchema<StatusListLayoutItem>;
2218
- export declare const itemCallToActionSchema: z.ZodSchema<ItemCallToAction>;
2226
+ export declare const sectionLayoutSchema: z.ZodSchema<SectionLayout>;
2219
2227
  export declare const layoutSchema: z.ZodSchema<Layout>;
2228
+ export declare const itemCallToActionSchema: z.ZodSchema<ItemCallToAction>;
2220
2229
  export declare const boxLayoutSchema: z.ZodSchema<BoxLayout>;
2221
2230
  export declare const buttonLayoutSchema: z.ZodSchema<ButtonLayout>;
2222
2231
  export declare const columnsLayoutSchema: z.ZodSchema<ColumnsLayout>;