@deepdesk/deepdesk-sdk 19.6.2-beta.11 → 19.6.2-beta.12

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
@@ -406,7 +406,15 @@ declare enum FetchState {
406
406
  ERROR = "error"
407
407
  }
408
408
 
409
- interface State$a {
409
+ type State$a = {
410
+ data: Profile | null;
411
+ fetchState: FetchState;
412
+ /** Bumped on reset/clear so in-flight getProfile cannot repopulate profile. */
413
+ generation: number;
414
+ inFlightRequestId: string | null;
415
+ };
416
+
417
+ interface State$9 {
410
418
  current: Conversation | null;
411
419
  isSupported: boolean | null;
412
420
  }
@@ -447,7 +455,7 @@ type AssistantInteraction = {
447
455
  };
448
456
  evaluationId: string;
449
457
  };
450
- type State$9 = {
458
+ type State$8 = {
451
459
  cues: Cue[];
452
460
  threads: Record<number, AssistantInteraction[]>;
453
461
  pending: string[];
@@ -473,6 +481,7 @@ interface EvaluateInput {
473
481
  includeMetadata?: boolean;
474
482
  externalConversationId?: string;
475
483
  skipState?: boolean;
484
+ silent?: boolean;
476
485
  }
477
486
 
478
487
  type QueueMicrotaskErrorEventData = {
@@ -1287,19 +1296,11 @@ declare class DeepdeskAPI {
1287
1296
  }
1288
1297
 
1289
1298
  type StyleSuggestion = CamelCaseKeys<Server.StyleSuggestion>;
1290
- interface State$8 {
1299
+ interface State$7 {
1291
1300
  list: StyleSuggestion;
1292
1301
  fetchState: FetchState;
1293
1302
  }
1294
1303
 
1295
- type State$7 = {
1296
- data: Profile | null;
1297
- fetchState: FetchState;
1298
- /** Bumped on reset/clear so in-flight getProfile cannot repopulate profile. */
1299
- generation: number;
1300
- inFlightRequestId: string | null;
1301
- };
1302
-
1303
1304
  /**
1304
1305
  * A selection range representation for textarea's and contenteditables only using offsets.
1305
1306
  */
@@ -1469,9 +1470,9 @@ interface StoreConfig {
1469
1470
  preloadedState?: any;
1470
1471
  }
1471
1472
  declare const reducers: redux.Reducer<{
1472
- assistants: State$9;
1473
+ assistants: State$8;
1473
1474
  auth: State$2;
1474
- conversation: State$a;
1475
+ conversation: State$9;
1475
1476
  contentTypes: State$3;
1476
1477
  passwordlessToken: State$4;
1477
1478
  entities: State$1;
@@ -1523,9 +1524,9 @@ declare const reducers: redux.Reducer<{
1523
1524
  enableFeedbackForm: boolean;
1524
1525
  hasKeyboardInput: boolean;
1525
1526
  };
1526
- profile: State$7;
1527
+ profile: State$a;
1527
1528
  search: State$b;
1528
- styleSuggestions: State$8;
1529
+ styleSuggestions: State$7;
1529
1530
  ui: {
1530
1531
  showTabHint: boolean;
1531
1532
  inputHasFocus: boolean;
@@ -1535,9 +1536,9 @@ declare const reducers: redux.Reducer<{
1535
1536
  };
1536
1537
  textSuggestions: TextSuggestionState;
1537
1538
  }, redux.UnknownAction, Partial<{
1538
- assistants: State$9 | undefined;
1539
+ assistants: State$8 | undefined;
1539
1540
  auth: State$2 | undefined;
1540
- conversation: State$a | undefined;
1541
+ conversation: State$9 | undefined;
1541
1542
  contentTypes: State$3 | undefined;
1542
1543
  passwordlessToken: State$4 | undefined;
1543
1544
  entities: State$1 | undefined;
@@ -1589,9 +1590,9 @@ declare const reducers: redux.Reducer<{
1589
1590
  enableFeedbackForm: boolean;
1590
1591
  hasKeyboardInput: boolean;
1591
1592
  } | undefined;
1592
- profile: State$7 | undefined;
1593
+ profile: State$a | undefined;
1593
1594
  search: State$b | undefined;
1594
- styleSuggestions: State$8 | undefined;
1595
+ styleSuggestions: State$7 | undefined;
1595
1596
  ui: {
1596
1597
  showTabHint: boolean;
1597
1598
  inputHasFocus: boolean;
@@ -1602,9 +1603,9 @@ declare const reducers: redux.Reducer<{
1602
1603
  textSuggestions: TextSuggestionState | undefined;
1603
1604
  }>>;
1604
1605
  declare function createStore(config: StoreConfig): _reduxjs_toolkit.EnhancedStore<{
1605
- assistants: State$9;
1606
+ assistants: State$8;
1606
1607
  auth: State$2;
1607
- conversation: State$a;
1608
+ conversation: State$9;
1608
1609
  contentTypes: State$3;
1609
1610
  passwordlessToken: State$4;
1610
1611
  entities: State$1;
@@ -1656,9 +1657,9 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit.EnhancedStor
1656
1657
  enableFeedbackForm: boolean;
1657
1658
  hasKeyboardInput: boolean;
1658
1659
  };
1659
- profile: State$7;
1660
+ profile: State$a;
1660
1661
  search: State$b;
1661
- styleSuggestions: State$8;
1662
+ styleSuggestions: State$7;
1662
1663
  ui: {
1663
1664
  showTabHint: boolean;
1664
1665
  inputHasFocus: boolean;
@@ -2238,9 +2239,9 @@ declare class DeepdeskSDK {
2238
2239
  */
2239
2240
  constructor({ deepdeskUrl, version, locale, token, fetch, productName, createCustomChannel, websocketClient, }: SDKOptions);
2240
2241
  get state(): {
2241
- assistants: State$9;
2242
+ assistants: State$8;
2242
2243
  auth: State$2;
2243
- conversation: State$a;
2244
+ conversation: State$9;
2244
2245
  contentTypes: State$3;
2245
2246
  passwordlessToken: State$4;
2246
2247
  entities: State$1;
@@ -2292,9 +2293,9 @@ declare class DeepdeskSDK {
2292
2293
  enableFeedbackForm: boolean;
2293
2294
  hasKeyboardInput: boolean;
2294
2295
  };
2295
- profile: State$7;
2296
+ profile: State$a;
2296
2297
  search: State$b;
2297
- styleSuggestions: State$8;
2298
+ styleSuggestions: State$7;
2298
2299
  ui: {
2299
2300
  showTabHint: boolean;
2300
2301
  inputHasFocus: boolean;
package/dist/index.d.ts CHANGED
@@ -406,7 +406,15 @@ declare enum FetchState {
406
406
  ERROR = "error"
407
407
  }
408
408
 
409
- interface State$a {
409
+ type State$a = {
410
+ data: Profile | null;
411
+ fetchState: FetchState;
412
+ /** Bumped on reset/clear so in-flight getProfile cannot repopulate profile. */
413
+ generation: number;
414
+ inFlightRequestId: string | null;
415
+ };
416
+
417
+ interface State$9 {
410
418
  current: Conversation | null;
411
419
  isSupported: boolean | null;
412
420
  }
@@ -447,7 +455,7 @@ type AssistantInteraction = {
447
455
  };
448
456
  evaluationId: string;
449
457
  };
450
- type State$9 = {
458
+ type State$8 = {
451
459
  cues: Cue[];
452
460
  threads: Record<number, AssistantInteraction[]>;
453
461
  pending: string[];
@@ -473,6 +481,7 @@ interface EvaluateInput {
473
481
  includeMetadata?: boolean;
474
482
  externalConversationId?: string;
475
483
  skipState?: boolean;
484
+ silent?: boolean;
476
485
  }
477
486
 
478
487
  type QueueMicrotaskErrorEventData = {
@@ -1287,19 +1296,11 @@ declare class DeepdeskAPI {
1287
1296
  }
1288
1297
 
1289
1298
  type StyleSuggestion = CamelCaseKeys<Server.StyleSuggestion>;
1290
- interface State$8 {
1299
+ interface State$7 {
1291
1300
  list: StyleSuggestion;
1292
1301
  fetchState: FetchState;
1293
1302
  }
1294
1303
 
1295
- type State$7 = {
1296
- data: Profile | null;
1297
- fetchState: FetchState;
1298
- /** Bumped on reset/clear so in-flight getProfile cannot repopulate profile. */
1299
- generation: number;
1300
- inFlightRequestId: string | null;
1301
- };
1302
-
1303
1304
  /**
1304
1305
  * A selection range representation for textarea's and contenteditables only using offsets.
1305
1306
  */
@@ -1469,9 +1470,9 @@ interface StoreConfig {
1469
1470
  preloadedState?: any;
1470
1471
  }
1471
1472
  declare const reducers: redux.Reducer<{
1472
- assistants: State$9;
1473
+ assistants: State$8;
1473
1474
  auth: State$2;
1474
- conversation: State$a;
1475
+ conversation: State$9;
1475
1476
  contentTypes: State$3;
1476
1477
  passwordlessToken: State$4;
1477
1478
  entities: State$1;
@@ -1523,9 +1524,9 @@ declare const reducers: redux.Reducer<{
1523
1524
  enableFeedbackForm: boolean;
1524
1525
  hasKeyboardInput: boolean;
1525
1526
  };
1526
- profile: State$7;
1527
+ profile: State$a;
1527
1528
  search: State$b;
1528
- styleSuggestions: State$8;
1529
+ styleSuggestions: State$7;
1529
1530
  ui: {
1530
1531
  showTabHint: boolean;
1531
1532
  inputHasFocus: boolean;
@@ -1535,9 +1536,9 @@ declare const reducers: redux.Reducer<{
1535
1536
  };
1536
1537
  textSuggestions: TextSuggestionState;
1537
1538
  }, redux.UnknownAction, Partial<{
1538
- assistants: State$9 | undefined;
1539
+ assistants: State$8 | undefined;
1539
1540
  auth: State$2 | undefined;
1540
- conversation: State$a | undefined;
1541
+ conversation: State$9 | undefined;
1541
1542
  contentTypes: State$3 | undefined;
1542
1543
  passwordlessToken: State$4 | undefined;
1543
1544
  entities: State$1 | undefined;
@@ -1589,9 +1590,9 @@ declare const reducers: redux.Reducer<{
1589
1590
  enableFeedbackForm: boolean;
1590
1591
  hasKeyboardInput: boolean;
1591
1592
  } | undefined;
1592
- profile: State$7 | undefined;
1593
+ profile: State$a | undefined;
1593
1594
  search: State$b | undefined;
1594
- styleSuggestions: State$8 | undefined;
1595
+ styleSuggestions: State$7 | undefined;
1595
1596
  ui: {
1596
1597
  showTabHint: boolean;
1597
1598
  inputHasFocus: boolean;
@@ -1602,9 +1603,9 @@ declare const reducers: redux.Reducer<{
1602
1603
  textSuggestions: TextSuggestionState | undefined;
1603
1604
  }>>;
1604
1605
  declare function createStore(config: StoreConfig): _reduxjs_toolkit.EnhancedStore<{
1605
- assistants: State$9;
1606
+ assistants: State$8;
1606
1607
  auth: State$2;
1607
- conversation: State$a;
1608
+ conversation: State$9;
1608
1609
  contentTypes: State$3;
1609
1610
  passwordlessToken: State$4;
1610
1611
  entities: State$1;
@@ -1656,9 +1657,9 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit.EnhancedStor
1656
1657
  enableFeedbackForm: boolean;
1657
1658
  hasKeyboardInput: boolean;
1658
1659
  };
1659
- profile: State$7;
1660
+ profile: State$a;
1660
1661
  search: State$b;
1661
- styleSuggestions: State$8;
1662
+ styleSuggestions: State$7;
1662
1663
  ui: {
1663
1664
  showTabHint: boolean;
1664
1665
  inputHasFocus: boolean;
@@ -2238,9 +2239,9 @@ declare class DeepdeskSDK {
2238
2239
  */
2239
2240
  constructor({ deepdeskUrl, version, locale, token, fetch, productName, createCustomChannel, websocketClient, }: SDKOptions);
2240
2241
  get state(): {
2241
- assistants: State$9;
2242
+ assistants: State$8;
2242
2243
  auth: State$2;
2243
- conversation: State$a;
2244
+ conversation: State$9;
2244
2245
  contentTypes: State$3;
2245
2246
  passwordlessToken: State$4;
2246
2247
  entities: State$1;
@@ -2292,9 +2293,9 @@ declare class DeepdeskSDK {
2292
2293
  enableFeedbackForm: boolean;
2293
2294
  hasKeyboardInput: boolean;
2294
2295
  };
2295
- profile: State$7;
2296
+ profile: State$a;
2296
2297
  search: State$b;
2297
- styleSuggestions: State$8;
2298
+ styleSuggestions: State$7;
2298
2299
  ui: {
2299
2300
  showTabHint: boolean;
2300
2301
  inputHasFocus: boolean;