@squidcloud/client 1.0.271 → 1.0.272

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.
@@ -104,7 +104,7 @@ export interface AiSearchRequest {
104
104
  profileId: string;
105
105
  integrationId: IntegrationId;
106
106
  }
107
- export type AiChatbotMutationType = 'insert' | 'update' | 'delete';
107
+ export type AiChatbotMutationType = 'insert' | 'update' | 'delete' | 'append';
108
108
  export type AiChatbotResourceType = 'instruction' | 'context' | 'profile';
109
109
  export type AiChatbotContextType = 'text' | 'url' | 'file';
110
110
  export interface AiChatbotContextBase {
@@ -131,6 +131,12 @@ export declare class AiChatbotContextReference {
131
131
  * @returns A promise that resolves when the context is successfully created.
132
132
  */
133
133
  insert(data: AiChatBotContextData, file?: File): Promise<void>;
134
+ /**
135
+ * Appends data to an existing context entry on the chatbot profile. This will result in an error if an entry has not
136
+ * @param data An object containing options for appending the entry.
137
+ * @param file - The file to append.
138
+ */
139
+ append(data: AiChatBotContextData, file?: File): Promise<void>;
134
140
  /**
135
141
  * Updates an existing context entry on the chatbot profile. This will result in an error if an entry has not yet
136
142
  * been created for the current context id.
@@ -1 +1 @@
1
- export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.271";
1
+ export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.272";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/client",
3
- "version": "1.0.271",
3
+ "version": "1.0.272",
4
4
  "description": "A typescript implementation of the Squid client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/typescript-client/src/index.d.ts",