@embedreach/components 0.1.57 → 0.1.59

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/dist/index.d.ts CHANGED
@@ -106,6 +106,12 @@ declare interface SDKCallbacks {
106
106
  onTenantInformationRequested?: () => void;
107
107
  }
108
108
 
109
+ export declare function SegmentBuilder({ segmentId, setOpen, onSegmentUpdated, }: {
110
+ segmentId?: string;
111
+ setOpen: (open: boolean) => void;
112
+ onSegmentUpdated?: SegmentBuilderDialogProps['onSegmentUpdated'];
113
+ }): JSX_2.Element;
114
+
109
115
  export declare function SegmentBuilderDialog({ open, setOpen, segmentId, onSegmentUpdated, }: SegmentBuilderDialogProps): JSX_2.Element;
110
116
 
111
117
  declare interface SegmentBuilderDialogProps {
@@ -198,6 +204,10 @@ declare type ViewAutomationModalProps = {
198
204
  * Optional logo url to display in the top left corner
199
205
  */
200
206
  logoUrl?: string;
207
+ /**
208
+ * Optional callback when a duplication is created
209
+ */
210
+ onDuplicationCreated?: (duplicationId: string) => void;
201
211
  /**
202
212
  * Optional function to call prior to scheduling if a user wants to implement custom
203
213
  * logic to block scheduling
package/dist/index.es.js CHANGED
@@ -1,8 +1,9 @@
1
- import { X, Y, W, Z, _ } from "./chunks/index.js";
1
+ import { X, Y, W, Z, _, a0 } from "./chunks/index.js";
2
2
  export {
3
3
  X as CreateAutomationModal,
4
4
  Y as Engage,
5
5
  W as ReachProvider,
6
- Z as SegmentBuilderDialog,
7
- _ as ViewAutomationModal
6
+ Z as SegmentBuilder,
7
+ _ as SegmentBuilderDialog,
8
+ a0 as ViewAutomationModal
8
9
  };