@embedreach/components 0.2.19 → 0.2.21
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/chunks/index.js +19303 -16767
- package/dist/index.d.ts +32 -4
- package/dist/index.umd.js +118 -127
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare enum AutomationTriggerType {
|
|
|
6
6
|
TRIGGER_BASED = "trigger_based"
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export declare function CreateAutomationDialog({ open, setOpen, onClose, automationType, getExtraMergeFields, }: CreateAutomationDialogProps): JSX_2.Element;
|
|
9
|
+
export declare function CreateAutomationDialog({ open, setOpen, onClose, automationType, getExtraMergeFields, replyToSettingsText, replyToSettingsLink, fromNameSettingsText, fromNameSettingsLink, }: CreateAutomationDialogProps): JSX_2.Element;
|
|
10
10
|
|
|
11
11
|
declare interface CreateAutomationDialogProps extends CreateAutomationModalProps {
|
|
12
12
|
/**
|
|
@@ -51,6 +51,18 @@ declare interface CreateAutomationModalProps {
|
|
|
51
51
|
estimatedEmailRecipients: number;
|
|
52
52
|
estimatedSmsRecipients: number;
|
|
53
53
|
}) => Promise<true | string>;
|
|
54
|
+
/**
|
|
55
|
+
* Optional text and hyperlink to display for
|
|
56
|
+
* replyTo settings
|
|
57
|
+
*/
|
|
58
|
+
replyToSettingsText?: string;
|
|
59
|
+
replyToSettingsLink?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Optional text and hyperlink to display for
|
|
62
|
+
* from name settings
|
|
63
|
+
*/
|
|
64
|
+
fromNameSettingsText?: string;
|
|
65
|
+
fromNameSettingsLink?: string;
|
|
54
66
|
}
|
|
55
67
|
|
|
56
68
|
/**
|
|
@@ -89,7 +101,8 @@ declare interface EngageTypedOverrides {
|
|
|
89
101
|
automation_other?: string;
|
|
90
102
|
segment?: string;
|
|
91
103
|
segment_other?: string;
|
|
92
|
-
|
|
104
|
+
broadcast?: string;
|
|
105
|
+
broadcast_other?: string;
|
|
93
106
|
trigger_based?: string;
|
|
94
107
|
insight?: string;
|
|
95
108
|
insight_other?: string;
|
|
@@ -166,13 +179,16 @@ export declare const ReachProvider: ({ authToken, language, children, theme, deb
|
|
|
166
179
|
/**
|
|
167
180
|
* Callback function for requesting new token from parent
|
|
168
181
|
* @callback ReauthCallback@callback ReauthCallback
|
|
169
|
-
* @returns {Promise<string>
|
|
182
|
+
* @returns {Promise<string>} New JWT token
|
|
170
183
|
*/
|
|
171
|
-
declare type ReauthCallback = () => Promise<string
|
|
184
|
+
declare type ReauthCallback = () => Promise<string>;
|
|
172
185
|
|
|
173
186
|
/**
|
|
174
187
|
* Callback configuration for SDK events
|
|
175
188
|
* @interface SDKCallbacks
|
|
189
|
+
*
|
|
190
|
+
* to register a new callback see all steps in 'Adding New Callbacks' section of the README
|
|
191
|
+
* @see {@link https://github.com/EmbedReach/conversion-tracking/blob/main/apps/web/sdk-reach-admin/src/iframe/README.md#adding-new-callbacks}
|
|
176
192
|
*/
|
|
177
193
|
declare interface SDKCallbacks {
|
|
178
194
|
/** Called when reauthentication is required */
|
|
@@ -305,6 +321,18 @@ export declare type ViewAutomationProps = {
|
|
|
305
321
|
*/
|
|
306
322
|
hideSms?: boolean;
|
|
307
323
|
hideSales?: boolean;
|
|
324
|
+
/**
|
|
325
|
+
* Optional text and hyperlink to display for
|
|
326
|
+
* replyTo settings
|
|
327
|
+
*/
|
|
328
|
+
replyToSettingsText?: string;
|
|
329
|
+
replyToSettingsLink?: string;
|
|
330
|
+
/**
|
|
331
|
+
* Optional text and hyperlink to display for
|
|
332
|
+
* from name settings
|
|
333
|
+
*/
|
|
334
|
+
fromNameSettingsText?: string;
|
|
335
|
+
fromNameSettingsLink?: string;
|
|
308
336
|
};
|
|
309
337
|
|
|
310
338
|
export { }
|