@cimulate/copilot-sdk 3.11.0 → 3.12.0

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.
@@ -1,4 +1,6 @@
1
+ import { Attachments } from './Attachments';
1
2
  interface AskCim {
2
3
  userPrompt: string;
4
+ attachments?: Attachments;
3
5
  }
4
6
  export { AskCim };
@@ -0,0 +1,4 @@
1
+ interface Attachments {
2
+ image?: string;
3
+ }
4
+ export { Attachments };
@@ -2,6 +2,7 @@
2
2
  This not generated automatically by the generate model script.
3
3
  For any new event, manually create an entry here.
4
4
  */
5
+ import { AskCimAck } from "./AskCimAck";
5
6
  import { CancelAck } from "./CancelAck";
6
7
  import { ConversationResetAck } from "./ConversationResetAck";
7
8
  import { CopilotBrowseAck } from "./CopilotBrowseAck";
@@ -9,5 +10,4 @@ import { CopilotError } from "./CopilotError";
9
10
  import { CopilotSearchAck } from "./CopilotSearchAck";
10
11
  import { FacetedNavigationAck } from "./FacetedNavigationAck";
11
12
  import { ProductViewAck } from "./ProductViewAck";
12
- import { AskCimAck } from "./AskCimAck";
13
13
  export type CopilotAPIAck = AskCimAck | CancelAck | CopilotBrowseAck | CopilotSearchAck | ConversationResetAck | FacetedNavigationAck | ProductViewAck | CopilotError;
@@ -1,6 +1,8 @@
1
+ import { Attachments } from './Attachments';
1
2
  import { BrowseParams } from './BrowseParams';
2
3
  interface CopilotBrowse {
3
4
  browseParams: BrowseParams;
4
5
  userPrompt?: string;
6
+ attachments?: Attachments;
5
7
  }
6
8
  export { CopilotBrowse };
@@ -1,6 +1,8 @@
1
+ import { Attachments } from './Attachments';
1
2
  import { SearchParams } from './SearchParams';
2
3
  interface CopilotSearch {
3
4
  searchParams: SearchParams;
4
5
  userPrompt?: string;
6
+ attachments?: Attachments;
5
7
  }
6
8
  export { CopilotSearch };
@@ -1,6 +1,8 @@
1
+ import { Attachments } from './Attachments';
1
2
  interface ProductView {
2
3
  productId: string;
3
4
  pdpLink?: string;
4
5
  userPrompt?: string;
6
+ attachments?: Attachments;
5
7
  }
6
8
  export { ProductView };
@@ -1,5 +1,6 @@
1
1
  export * from './AskCim';
2
2
  export * from './AskCimAck';
3
+ export * from './Attachments';
3
4
  export * from './BrowseParams';
4
5
  export * from './Cancel';
5
6
  export * from './CancelAck';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cimulate/copilot-sdk",
3
- "version": "3.11.0",
3
+ "version": "3.12.0",
4
4
  "description": "A lightweight API client SDK for Cimulate Copilot",
5
5
  "files": [
6
6
  "dist/**",
@@ -1,5 +1,6 @@
1
-
1
+ import { Attachments } from './Attachments';
2
2
  interface AskCim {
3
3
  userPrompt: string;
4
+ attachments?: Attachments;
4
5
  }
5
6
  export { AskCim };
@@ -0,0 +1,5 @@
1
+
2
+ interface Attachments {
3
+ image?: string;
4
+ }
5
+ export { Attachments };
@@ -2,6 +2,7 @@
2
2
  This not generated automatically by the generate model script.
3
3
  For any new event, manually create an entry here.
4
4
  */
5
+ import { AskCimAck } from "./AskCimAck";
5
6
  import { CancelAck } from "./CancelAck";
6
7
  import { ConversationResetAck } from "./ConversationResetAck";
7
8
  import { CopilotBrowseAck } from "./CopilotBrowseAck";
@@ -9,7 +10,6 @@ import { CopilotError } from "./CopilotError";
9
10
  import { CopilotSearchAck } from "./CopilotSearchAck";
10
11
  import { FacetedNavigationAck } from "./FacetedNavigationAck";
11
12
  import { ProductViewAck } from "./ProductViewAck";
12
- import { AskCimAck } from "./AskCimAck";
13
13
 
14
14
  export type CopilotAPIAck =
15
15
  | AskCimAck
@@ -1,6 +1,8 @@
1
+ import { Attachments } from './Attachments';
1
2
  import { BrowseParams } from './BrowseParams';
2
3
  interface CopilotBrowse {
3
4
  browseParams: BrowseParams;
4
5
  userPrompt?: string;
6
+ attachments?: Attachments;
5
7
  }
6
8
  export { CopilotBrowse };
@@ -1,6 +1,8 @@
1
+ import { Attachments } from './Attachments';
1
2
  import { SearchParams } from './SearchParams';
2
3
  interface CopilotSearch {
3
4
  searchParams: SearchParams;
4
5
  userPrompt?: string;
6
+ attachments?: Attachments;
5
7
  }
6
8
  export { CopilotSearch };
@@ -1,7 +1,8 @@
1
-
1
+ import { Attachments } from './Attachments';
2
2
  interface ProductView {
3
3
  productId: string;
4
4
  pdpLink?: string;
5
5
  userPrompt?: string;
6
+ attachments?: Attachments;
6
7
  }
7
8
  export { ProductView };
@@ -1,5 +1,6 @@
1
1
  export * from './AskCim';
2
2
  export * from './AskCimAck';
3
+ export * from './Attachments';
3
4
  export * from './BrowseParams';
4
5
  export * from './Cancel';
5
6
  export * from './CancelAck';