@deepdesk/deepdesk-sdk 19.6.2-beta.6 → 19.6.2-beta.7

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
@@ -1199,6 +1199,10 @@ declare class DeepdeskAPI {
1199
1199
  * Request autocomplete suggestions based on the agent text input
1200
1200
  */
1201
1201
  getAutocompleteSuggestions(conversationId: string, params: CamelCaseKeys<Server.GetAutocompleteSuggestionsParams>): Promise<TextSuggestion[]>;
1202
+ /**
1203
+ * Replace in-engine personal collection for the agent with items scoped to the conversation profile.
1204
+ */
1205
+ syncPersonalCollection(conversationId: string | number): Promise<void>;
1202
1206
  /**
1203
1207
  * Request pinned messages
1204
1208
  */
@@ -3509,6 +3513,8 @@ declare class DeepdeskSDK {
3509
3513
  private handleError;
3510
3514
  private loadProfileConfigPromise;
3511
3515
  private loadProfileConfigPromiseKey;
3516
+ private personalCollectionSyncPendingKey;
3517
+ private personalCollectionSyncDrainPromise;
3512
3518
  /**
3513
3519
  * Subscription/dedupe key for conversation + profile. Admin validates profile codes as
3514
3520
  * `[a-z0-9-]+` (no colon), so the last `:` separates conversation id from profileCode
@@ -3519,6 +3525,9 @@ declare class DeepdeskSDK {
3519
3525
  private isCurrentProfileLoadKey;
3520
3526
  private getConversationLoadedKey;
3521
3527
  private resetProfileDerivedSettings;
3528
+ private syncPersonalCollectionForConversation;
3529
+ private ensurePersonalCollectionSyncDrain;
3530
+ private drainPersonalCollectionSync;
3522
3531
  private loadProfileConfig;
3523
3532
  /**
3524
3533
  * Authenticates user via popup window.
package/dist/index.d.ts CHANGED
@@ -1199,6 +1199,10 @@ declare class DeepdeskAPI {
1199
1199
  * Request autocomplete suggestions based on the agent text input
1200
1200
  */
1201
1201
  getAutocompleteSuggestions(conversationId: string, params: CamelCaseKeys<Server.GetAutocompleteSuggestionsParams>): Promise<TextSuggestion[]>;
1202
+ /**
1203
+ * Replace in-engine personal collection for the agent with items scoped to the conversation profile.
1204
+ */
1205
+ syncPersonalCollection(conversationId: string | number): Promise<void>;
1202
1206
  /**
1203
1207
  * Request pinned messages
1204
1208
  */
@@ -3509,6 +3513,8 @@ declare class DeepdeskSDK {
3509
3513
  private handleError;
3510
3514
  private loadProfileConfigPromise;
3511
3515
  private loadProfileConfigPromiseKey;
3516
+ private personalCollectionSyncPendingKey;
3517
+ private personalCollectionSyncDrainPromise;
3512
3518
  /**
3513
3519
  * Subscription/dedupe key for conversation + profile. Admin validates profile codes as
3514
3520
  * `[a-z0-9-]+` (no colon), so the last `:` separates conversation id from profileCode
@@ -3519,6 +3525,9 @@ declare class DeepdeskSDK {
3519
3525
  private isCurrentProfileLoadKey;
3520
3526
  private getConversationLoadedKey;
3521
3527
  private resetProfileDerivedSettings;
3528
+ private syncPersonalCollectionForConversation;
3529
+ private ensurePersonalCollectionSyncDrain;
3530
+ private drainPersonalCollectionSync;
3522
3531
  private loadProfileConfig;
3523
3532
  /**
3524
3533
  * Authenticates user via popup window.