@deepdesk/deepdesk-sdk 19.6.2-beta.10 → 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 = {
@@ -921,6 +930,7 @@ declare namespace Server {
921
930
  assistant_name: string;
922
931
  display_name?: string;
923
932
  is_pinned: boolean;
933
+ is_silent?: boolean;
924
934
  };
925
935
  type ChatHistory = {
926
936
  question: string;
@@ -1286,19 +1296,11 @@ declare class DeepdeskAPI {
1286
1296
  }
1287
1297
 
1288
1298
  type StyleSuggestion = CamelCaseKeys<Server.StyleSuggestion>;
1289
- interface State$8 {
1299
+ interface State$7 {
1290
1300
  list: StyleSuggestion;
1291
1301
  fetchState: FetchState;
1292
1302
  }
1293
1303
 
1294
- type State$7 = {
1295
- data: Profile | null;
1296
- fetchState: FetchState;
1297
- /** Bumped on reset/clear so in-flight getProfile cannot repopulate profile. */
1298
- generation: number;
1299
- inFlightRequestId: string | null;
1300
- };
1301
-
1302
1304
  /**
1303
1305
  * A selection range representation for textarea's and contenteditables only using offsets.
1304
1306
  */
@@ -1468,9 +1470,9 @@ interface StoreConfig {
1468
1470
  preloadedState?: any;
1469
1471
  }
1470
1472
  declare const reducers: redux.Reducer<{
1471
- assistants: State$9;
1473
+ assistants: State$8;
1472
1474
  auth: State$2;
1473
- conversation: State$a;
1475
+ conversation: State$9;
1474
1476
  contentTypes: State$3;
1475
1477
  passwordlessToken: State$4;
1476
1478
  entities: State$1;
@@ -1522,9 +1524,9 @@ declare const reducers: redux.Reducer<{
1522
1524
  enableFeedbackForm: boolean;
1523
1525
  hasKeyboardInput: boolean;
1524
1526
  };
1525
- profile: State$7;
1527
+ profile: State$a;
1526
1528
  search: State$b;
1527
- styleSuggestions: State$8;
1529
+ styleSuggestions: State$7;
1528
1530
  ui: {
1529
1531
  showTabHint: boolean;
1530
1532
  inputHasFocus: boolean;
@@ -1534,9 +1536,9 @@ declare const reducers: redux.Reducer<{
1534
1536
  };
1535
1537
  textSuggestions: TextSuggestionState;
1536
1538
  }, redux.UnknownAction, Partial<{
1537
- assistants: State$9 | undefined;
1539
+ assistants: State$8 | undefined;
1538
1540
  auth: State$2 | undefined;
1539
- conversation: State$a | undefined;
1541
+ conversation: State$9 | undefined;
1540
1542
  contentTypes: State$3 | undefined;
1541
1543
  passwordlessToken: State$4 | undefined;
1542
1544
  entities: State$1 | undefined;
@@ -1588,9 +1590,9 @@ declare const reducers: redux.Reducer<{
1588
1590
  enableFeedbackForm: boolean;
1589
1591
  hasKeyboardInput: boolean;
1590
1592
  } | undefined;
1591
- profile: State$7 | undefined;
1593
+ profile: State$a | undefined;
1592
1594
  search: State$b | undefined;
1593
- styleSuggestions: State$8 | undefined;
1595
+ styleSuggestions: State$7 | undefined;
1594
1596
  ui: {
1595
1597
  showTabHint: boolean;
1596
1598
  inputHasFocus: boolean;
@@ -1601,9 +1603,9 @@ declare const reducers: redux.Reducer<{
1601
1603
  textSuggestions: TextSuggestionState | undefined;
1602
1604
  }>>;
1603
1605
  declare function createStore(config: StoreConfig): _reduxjs_toolkit.EnhancedStore<{
1604
- assistants: State$9;
1606
+ assistants: State$8;
1605
1607
  auth: State$2;
1606
- conversation: State$a;
1608
+ conversation: State$9;
1607
1609
  contentTypes: State$3;
1608
1610
  passwordlessToken: State$4;
1609
1611
  entities: State$1;
@@ -1655,9 +1657,9 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit.EnhancedStor
1655
1657
  enableFeedbackForm: boolean;
1656
1658
  hasKeyboardInput: boolean;
1657
1659
  };
1658
- profile: State$7;
1660
+ profile: State$a;
1659
1661
  search: State$b;
1660
- styleSuggestions: State$8;
1662
+ styleSuggestions: State$7;
1661
1663
  ui: {
1662
1664
  showTabHint: boolean;
1663
1665
  inputHasFocus: boolean;
@@ -2237,9 +2239,9 @@ declare class DeepdeskSDK {
2237
2239
  */
2238
2240
  constructor({ deepdeskUrl, version, locale, token, fetch, productName, createCustomChannel, websocketClient, }: SDKOptions);
2239
2241
  get state(): {
2240
- assistants: State$9;
2242
+ assistants: State$8;
2241
2243
  auth: State$2;
2242
- conversation: State$a;
2244
+ conversation: State$9;
2243
2245
  contentTypes: State$3;
2244
2246
  passwordlessToken: State$4;
2245
2247
  entities: State$1;
@@ -2291,9 +2293,9 @@ declare class DeepdeskSDK {
2291
2293
  enableFeedbackForm: boolean;
2292
2294
  hasKeyboardInput: boolean;
2293
2295
  };
2294
- profile: State$7;
2296
+ profile: State$a;
2295
2297
  search: State$b;
2296
- styleSuggestions: State$8;
2298
+ styleSuggestions: State$7;
2297
2299
  ui: {
2298
2300
  showTabHint: boolean;
2299
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 = {
@@ -921,6 +930,7 @@ declare namespace Server {
921
930
  assistant_name: string;
922
931
  display_name?: string;
923
932
  is_pinned: boolean;
933
+ is_silent?: boolean;
924
934
  };
925
935
  type ChatHistory = {
926
936
  question: string;
@@ -1286,19 +1296,11 @@ declare class DeepdeskAPI {
1286
1296
  }
1287
1297
 
1288
1298
  type StyleSuggestion = CamelCaseKeys<Server.StyleSuggestion>;
1289
- interface State$8 {
1299
+ interface State$7 {
1290
1300
  list: StyleSuggestion;
1291
1301
  fetchState: FetchState;
1292
1302
  }
1293
1303
 
1294
- type State$7 = {
1295
- data: Profile | null;
1296
- fetchState: FetchState;
1297
- /** Bumped on reset/clear so in-flight getProfile cannot repopulate profile. */
1298
- generation: number;
1299
- inFlightRequestId: string | null;
1300
- };
1301
-
1302
1304
  /**
1303
1305
  * A selection range representation for textarea's and contenteditables only using offsets.
1304
1306
  */
@@ -1468,9 +1470,9 @@ interface StoreConfig {
1468
1470
  preloadedState?: any;
1469
1471
  }
1470
1472
  declare const reducers: redux.Reducer<{
1471
- assistants: State$9;
1473
+ assistants: State$8;
1472
1474
  auth: State$2;
1473
- conversation: State$a;
1475
+ conversation: State$9;
1474
1476
  contentTypes: State$3;
1475
1477
  passwordlessToken: State$4;
1476
1478
  entities: State$1;
@@ -1522,9 +1524,9 @@ declare const reducers: redux.Reducer<{
1522
1524
  enableFeedbackForm: boolean;
1523
1525
  hasKeyboardInput: boolean;
1524
1526
  };
1525
- profile: State$7;
1527
+ profile: State$a;
1526
1528
  search: State$b;
1527
- styleSuggestions: State$8;
1529
+ styleSuggestions: State$7;
1528
1530
  ui: {
1529
1531
  showTabHint: boolean;
1530
1532
  inputHasFocus: boolean;
@@ -1534,9 +1536,9 @@ declare const reducers: redux.Reducer<{
1534
1536
  };
1535
1537
  textSuggestions: TextSuggestionState;
1536
1538
  }, redux.UnknownAction, Partial<{
1537
- assistants: State$9 | undefined;
1539
+ assistants: State$8 | undefined;
1538
1540
  auth: State$2 | undefined;
1539
- conversation: State$a | undefined;
1541
+ conversation: State$9 | undefined;
1540
1542
  contentTypes: State$3 | undefined;
1541
1543
  passwordlessToken: State$4 | undefined;
1542
1544
  entities: State$1 | undefined;
@@ -1588,9 +1590,9 @@ declare const reducers: redux.Reducer<{
1588
1590
  enableFeedbackForm: boolean;
1589
1591
  hasKeyboardInput: boolean;
1590
1592
  } | undefined;
1591
- profile: State$7 | undefined;
1593
+ profile: State$a | undefined;
1592
1594
  search: State$b | undefined;
1593
- styleSuggestions: State$8 | undefined;
1595
+ styleSuggestions: State$7 | undefined;
1594
1596
  ui: {
1595
1597
  showTabHint: boolean;
1596
1598
  inputHasFocus: boolean;
@@ -1601,9 +1603,9 @@ declare const reducers: redux.Reducer<{
1601
1603
  textSuggestions: TextSuggestionState | undefined;
1602
1604
  }>>;
1603
1605
  declare function createStore(config: StoreConfig): _reduxjs_toolkit.EnhancedStore<{
1604
- assistants: State$9;
1606
+ assistants: State$8;
1605
1607
  auth: State$2;
1606
- conversation: State$a;
1608
+ conversation: State$9;
1607
1609
  contentTypes: State$3;
1608
1610
  passwordlessToken: State$4;
1609
1611
  entities: State$1;
@@ -1655,9 +1657,9 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit.EnhancedStor
1655
1657
  enableFeedbackForm: boolean;
1656
1658
  hasKeyboardInput: boolean;
1657
1659
  };
1658
- profile: State$7;
1660
+ profile: State$a;
1659
1661
  search: State$b;
1660
- styleSuggestions: State$8;
1662
+ styleSuggestions: State$7;
1661
1663
  ui: {
1662
1664
  showTabHint: boolean;
1663
1665
  inputHasFocus: boolean;
@@ -2237,9 +2239,9 @@ declare class DeepdeskSDK {
2237
2239
  */
2238
2240
  constructor({ deepdeskUrl, version, locale, token, fetch, productName, createCustomChannel, websocketClient, }: SDKOptions);
2239
2241
  get state(): {
2240
- assistants: State$9;
2242
+ assistants: State$8;
2241
2243
  auth: State$2;
2242
- conversation: State$a;
2244
+ conversation: State$9;
2243
2245
  contentTypes: State$3;
2244
2246
  passwordlessToken: State$4;
2245
2247
  entities: State$1;
@@ -2291,9 +2293,9 @@ declare class DeepdeskSDK {
2291
2293
  enableFeedbackForm: boolean;
2292
2294
  hasKeyboardInput: boolean;
2293
2295
  };
2294
- profile: State$7;
2296
+ profile: State$a;
2295
2297
  search: State$b;
2296
- styleSuggestions: State$8;
2298
+ styleSuggestions: State$7;
2297
2299
  ui: {
2298
2300
  showTabHint: boolean;
2299
2301
  inputHasFocus: boolean;