@embedreach/components 0.1.78 → 0.1.80

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
@@ -97,6 +97,21 @@ declare const IconDefinitions: {
97
97
 
98
98
  declare type IconDefinitionsType = typeof IconDefinitions;
99
99
 
100
+ declare interface LanguageConfig {
101
+ /** Initial language code (e.g., 'en', 'es', 'fr') */
102
+ default: string;
103
+ /**
104
+ * Optionally provide custom verbs to override the default ones
105
+ * For example if you call your 'users' -> 'contacts', or 'automations' -> 'flows'
106
+ */
107
+ overrides?: {
108
+ engage: {
109
+ en: EngageTypedOverrides;
110
+ es: EngageTypedOverrides;
111
+ };
112
+ };
113
+ }
114
+
100
115
  /**
101
116
  * Complete SDK configuration interface
102
117
  * @interface ReachConfig
@@ -111,20 +126,7 @@ export declare interface ReachConfig {
111
126
  feature?: FeatureKey;
112
127
  /** Debug configuration */
113
128
  debug?: boolean;
114
- language?: {
115
- /** Initial language code (e.g., 'en', 'es', 'fr') */
116
- default: string;
117
- /**
118
- * Optionally provide custom verbs to override the default ones
119
- * For example if you call your 'users' -> 'contacts', or 'automations' -> 'flows'
120
- */
121
- overrides?: {
122
- engage: {
123
- en: EngageTypedOverrides;
124
- es: EngageTypedOverrides;
125
- };
126
- };
127
- };
129
+ language?: LanguageConfig;
128
130
  }
129
131
 
130
132
  declare type ReachMergeField = StaticMergeField;