@deepdesk/deepdesk-sdk 12.0.2-beta.2 → 12.0.2-beta.3

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.mts CHANGED
@@ -479,6 +479,7 @@ declare const reducers: redux.Reducer<redux.CombinedState<{
479
479
  agentSettings: unknown;
480
480
  visitorInfo?: VisitorInfo | undefined;
481
481
  customData?: CustomData | undefined;
482
+ platformVariables?: VariableMapping | undefined;
482
483
  fetchState: FetchState;
483
484
  };
484
485
  input: State$6;
@@ -543,6 +544,7 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit_dist_configu
543
544
  agentSettings: unknown;
544
545
  visitorInfo?: VisitorInfo | undefined;
545
546
  customData?: CustomData | undefined;
547
+ platformVariables?: VariableMapping | undefined;
546
548
  fetchState: FetchState;
547
549
  };
548
550
  input: State$6;
@@ -606,6 +608,7 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit_dist_configu
606
608
  agentSettings: unknown;
607
609
  visitorInfo?: VisitorInfo | undefined;
608
610
  customData?: CustomData | undefined;
611
+ platformVariables?: VariableMapping | undefined;
609
612
  fetchState: FetchState;
610
613
  };
611
614
  input: State$6;
@@ -1494,6 +1497,7 @@ interface Entity {
1494
1497
  label: string;
1495
1498
  }
1496
1499
  type CustomData = Record<string, unknown>;
1500
+ type VariableMapping = Record<string, string>;
1497
1501
  type CustomDataSchema = Array<{
1498
1502
  path: string;
1499
1503
  label: string;
@@ -2055,6 +2059,7 @@ declare class DeepdeskSDK {
2055
2059
  agentSettings: unknown;
2056
2060
  visitorInfo?: VisitorInfo | undefined;
2057
2061
  customData?: CustomData | undefined;
2062
+ platformVariables?: VariableMapping | undefined;
2058
2063
  fetchState: FetchState;
2059
2064
  };
2060
2065
  input: State$6;
@@ -2253,6 +2258,7 @@ declare class DeepdeskSDK {
2253
2258
  source: string;
2254
2259
  text: string;
2255
2260
  }>>): void;
2261
+ setPlatformVariables(mapping: VariableMapping): void;
2256
2262
  whenConversationLoaded(callback: () => void): void;
2257
2263
  private overlayContainerFactory;
2258
2264
  private createInlineContainer;
package/dist/index.d.ts CHANGED
@@ -479,6 +479,7 @@ declare const reducers: redux.Reducer<redux.CombinedState<{
479
479
  agentSettings: unknown;
480
480
  visitorInfo?: VisitorInfo | undefined;
481
481
  customData?: CustomData | undefined;
482
+ platformVariables?: VariableMapping | undefined;
482
483
  fetchState: FetchState;
483
484
  };
484
485
  input: State$6;
@@ -543,6 +544,7 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit_dist_configu
543
544
  agentSettings: unknown;
544
545
  visitorInfo?: VisitorInfo | undefined;
545
546
  customData?: CustomData | undefined;
547
+ platformVariables?: VariableMapping | undefined;
546
548
  fetchState: FetchState;
547
549
  };
548
550
  input: State$6;
@@ -606,6 +608,7 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit_dist_configu
606
608
  agentSettings: unknown;
607
609
  visitorInfo?: VisitorInfo | undefined;
608
610
  customData?: CustomData | undefined;
611
+ platformVariables?: VariableMapping | undefined;
609
612
  fetchState: FetchState;
610
613
  };
611
614
  input: State$6;
@@ -1494,6 +1497,7 @@ interface Entity {
1494
1497
  label: string;
1495
1498
  }
1496
1499
  type CustomData = Record<string, unknown>;
1500
+ type VariableMapping = Record<string, string>;
1497
1501
  type CustomDataSchema = Array<{
1498
1502
  path: string;
1499
1503
  label: string;
@@ -2055,6 +2059,7 @@ declare class DeepdeskSDK {
2055
2059
  agentSettings: unknown;
2056
2060
  visitorInfo?: VisitorInfo | undefined;
2057
2061
  customData?: CustomData | undefined;
2062
+ platformVariables?: VariableMapping | undefined;
2058
2063
  fetchState: FetchState;
2059
2064
  };
2060
2065
  input: State$6;
@@ -2253,6 +2258,7 @@ declare class DeepdeskSDK {
2253
2258
  source: string;
2254
2259
  text: string;
2255
2260
  }>>): void;
2261
+ setPlatformVariables(mapping: VariableMapping): void;
2256
2262
  whenConversationLoaded(callback: () => void): void;
2257
2263
  private overlayContainerFactory;
2258
2264
  private createInlineContainer;