@embedreach/components 0.3.17 → 0.3.19

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
@@ -8,7 +8,7 @@ export declare enum AutomationTriggerType {
8
8
  DATE_BASED = "date_based"
9
9
  }
10
10
 
11
- export declare function CreateAutomationDialog({ open, setOpen, onClose, automationType, getExtraMergeFields, replyToSettingsText, replyToSettingsLink, fromNameSettingsText, fromNameSettingsLink, }: CreateAutomationDialogProps): JSX_2.Element;
11
+ export declare function CreateAutomationDialog({ open, setOpen, onClose, automationType, getExtraMergeFields, replyToSettingsText, replyToSettingsLink, fromNameSettingsText, fromNameSettingsLink, hideSms, }: CreateAutomationDialogProps): JSX_2.Element;
12
12
 
13
13
  declare interface CreateAutomationDialogProps extends CreateAutomationModalProps {
14
14
  /**
@@ -65,6 +65,10 @@ declare interface CreateAutomationModalProps {
65
65
  */
66
66
  fromNameSettingsText?: string;
67
67
  fromNameSettingsLink?: string;
68
+ /**
69
+ * Optional boolean to hide SMS features
70
+ */
71
+ hideSms?: boolean;
68
72
  }
69
73
 
70
74
  /**
@@ -113,13 +117,17 @@ declare interface EngageTypedOverrides {
113
117
  insight_other?: string;
114
118
  merge_field?: string;
115
119
  merge_field_other?: string;
120
+ extra_merge_field_name?: string;
121
+ extra_merge_field_name_other?: string;
122
+ advanced_merge_field_name?: string;
123
+ advanced_merge_field_name_other?: string;
116
124
  }
117
125
 
118
126
  /**
119
127
  * Represents the available features in our application.
120
128
  * Each feature corresponds to a specific section of the marketing hub.
121
129
  */
122
- declare type FeatureKey = 'measure' | 'measure-setup' | 'acquire-setup' | 'reputation' | 'engage-segment-builder' | 'engage-automations-create-modal' | 'engage-automations-view-modal' | 'engage';
130
+ declare type FeatureKey = 'measure' | 'measure-setup' | 'acquire-setup' | 'reputation-setup' | 'reputation' | 'engage-segment-builder' | 'engage-automations-create-modal' | 'engage-automations-view-modal' | 'engage';
123
131
 
124
132
  declare type ImageMergeFieldType = {
125
133
  placeholderUrl: string;
@@ -176,6 +184,14 @@ export declare interface ReachConfig {
176
184
  language?: LanguageConfig;
177
185
  sandbox?: boolean;
178
186
  children?: default_2.ReactNode;
187
+ /**
188
+ * Features to hide
189
+ */
190
+ hideFeature?: {
191
+ engage: {
192
+ sms?: boolean;
193
+ };
194
+ };
179
195
  }
180
196
 
181
197
  export declare type ReachMergeField = StaticMergeField | DynamicMergeField;
@@ -196,7 +212,7 @@ export declare enum ReachMergeFieldTypeEnum {
196
212
  DYNAMIC = "dynamic"
197
213
  }
198
214
 
199
- export declare const ReachProvider: ({ authToken, language, children, theme, debug, callbacks, feature, sandbox, clientEntryPoint, }: ReachConfig & _PrivateProps) => JSX_2.Element;
215
+ export declare const ReachProvider: ({ authToken, language, children, theme, debug, callbacks, feature, sandbox, clientEntryPoint, hideFeature, }: ReachConfig & _PrivateProps) => JSX_2.Element;
200
216
 
201
217
  /**
202
218
  * Callback function for requesting new token from parent
package/dist/index.es.js CHANGED
@@ -1,9 +1,9 @@
1
- import { A, C, b, E, a, S, V } from "./chunks/index.js";
1
+ import { A, b, c, E, a, S, V } from "./chunks/index.js";
2
2
  import "react";
3
3
  export {
4
4
  A as AutomationTriggerType,
5
- C as CreateAutomationDialog,
6
- b as CreateAutomationModal,
5
+ b as CreateAutomationDialog,
6
+ c as CreateAutomationModal,
7
7
  E as Engage,
8
8
  a as ReachProvider,
9
9
  S as SegmentBuilderDialog,