@cimulate/copilot-sdk 3.13.0 → 3.14.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.
@@ -2,5 +2,6 @@ import { Attachments } from './Attachments';
2
2
  interface AskCim {
3
3
  userPrompt: string;
4
4
  attachments?: Attachments;
5
+ clientContext?: Record<string, string | number>;
5
6
  }
6
7
  export { AskCim };
@@ -0,0 +1,3 @@
1
+ interface AskCimSuggestions {
2
+ }
3
+ export { AskCimSuggestions };
@@ -4,5 +4,6 @@ interface CopilotBrowse {
4
4
  browseParams: BrowseParams;
5
5
  userPrompt?: string;
6
6
  attachments?: Attachments;
7
+ clientContext?: Record<string, string | number>;
7
8
  }
8
9
  export { CopilotBrowse };
@@ -0,0 +1,5 @@
1
+ import { BrowseParams } from './BrowseParams';
2
+ interface CopilotBrowseSuggestions {
3
+ browseParams: BrowseParams;
4
+ }
5
+ export { CopilotBrowseSuggestions };
@@ -4,5 +4,6 @@ interface CopilotSearch {
4
4
  searchParams: SearchParams;
5
5
  userPrompt?: string;
6
6
  attachments?: Attachments;
7
+ clientContext?: Record<string, string | number>;
7
8
  }
8
9
  export { CopilotSearch };
@@ -0,0 +1,5 @@
1
+ import { SearchParams } from './SearchParams';
2
+ interface CopilotSearchSuggestions {
3
+ searchParams: SearchParams;
4
+ }
5
+ export { CopilotSearchSuggestions };
@@ -4,5 +4,6 @@ interface ProductView {
4
4
  pdpLink?: string;
5
5
  userPrompt?: string;
6
6
  attachments?: Attachments;
7
+ clientContext?: Record<string, string | number>;
7
8
  }
8
9
  export { ProductView };
@@ -0,0 +1,4 @@
1
+ interface ProductViewSuggestions {
2
+ productId: string;
3
+ }
4
+ export { ProductViewSuggestions };
@@ -1,5 +1,6 @@
1
1
  export * from './AskCim';
2
2
  export * from './AskCimAck';
3
+ export * from './AskCimSuggestions';
3
4
  export * from './Attachments';
4
5
  export * from './BrowseParams';
5
6
  export * from './Cancel';
@@ -18,11 +19,13 @@ export * from './CopilotAPIEvent';
18
19
  export * from './CopilotBrowse';
19
20
  export * from './CopilotBrowseAck';
20
21
  export * from './CopilotBrowseSuggestion';
22
+ export * from './CopilotBrowseSuggestions';
21
23
  export * from './CopilotError';
22
24
  export * from './CopilotEvent';
23
25
  export * from './CopilotSearch';
24
26
  export * from './CopilotSearchAck';
25
27
  export * from './CopilotSearchSuggestion';
28
+ export * from './CopilotSearchSuggestions';
26
29
  export * from './customization';
27
30
  export * from './DisplayProducts';
28
31
  export * from './Done';
@@ -38,6 +41,7 @@ export * from './PartialInquiry';
38
41
  export * from './ProductView';
39
42
  export * from './ProductViewAck';
40
43
  export * from './ProductViewSuggestion';
44
+ export * from './ProductViewSuggestions';
41
45
  export * from './Progress';
42
46
  export * from './ProgressToolKwargs';
43
47
  export * from './RefinedBrowse';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cimulate/copilot-sdk",
3
- "version": "3.13.0",
3
+ "version": "3.14.0",
4
4
  "description": "A lightweight API client SDK for Cimulate Copilot",
5
5
  "files": [
6
6
  "dist/**",
@@ -53,5 +53,8 @@
53
53
  "webpack": "^5.97.1",
54
54
  "webpack-cli": "^6.0.1",
55
55
  "webpack-node-externals": "^3.0.0"
56
+ },
57
+ "overrides": {
58
+ "brace-expansion": "~2.0.2"
56
59
  }
57
60
  }
@@ -2,5 +2,6 @@ import { Attachments } from './Attachments';
2
2
  interface AskCim {
3
3
  userPrompt: string;
4
4
  attachments?: Attachments;
5
+ clientContext?: Record<string, string | number>;
5
6
  }
6
7
  export { AskCim };
@@ -0,0 +1,5 @@
1
+
2
+ interface AskCimSuggestions {
3
+
4
+ }
5
+ export { AskCimSuggestions };
@@ -4,5 +4,6 @@ interface CopilotBrowse {
4
4
  browseParams: BrowseParams;
5
5
  userPrompt?: string;
6
6
  attachments?: Attachments;
7
+ clientContext?: Record<string, string | number>;
7
8
  }
8
9
  export { CopilotBrowse };
@@ -0,0 +1,5 @@
1
+ import { BrowseParams } from './BrowseParams';
2
+ interface CopilotBrowseSuggestions {
3
+ browseParams: BrowseParams;
4
+ }
5
+ export { CopilotBrowseSuggestions };
@@ -4,5 +4,6 @@ interface CopilotSearch {
4
4
  searchParams: SearchParams;
5
5
  userPrompt?: string;
6
6
  attachments?: Attachments;
7
+ clientContext?: Record<string, string | number>;
7
8
  }
8
9
  export { CopilotSearch };
@@ -0,0 +1,5 @@
1
+ import { SearchParams } from './SearchParams';
2
+ interface CopilotSearchSuggestions {
3
+ searchParams: SearchParams;
4
+ }
5
+ export { CopilotSearchSuggestions };
@@ -4,5 +4,6 @@ interface ProductView {
4
4
  pdpLink?: string;
5
5
  userPrompt?: string;
6
6
  attachments?: Attachments;
7
+ clientContext?: Record<string, string | number>;
7
8
  }
8
9
  export { ProductView };
@@ -0,0 +1,5 @@
1
+
2
+ interface ProductViewSuggestions {
3
+ productId: string;
4
+ }
5
+ export { ProductViewSuggestions };
@@ -1,5 +1,6 @@
1
1
  export * from './AskCim';
2
2
  export * from './AskCimAck';
3
+ export * from './AskCimSuggestions';
3
4
  export * from './Attachments';
4
5
  export * from './BrowseParams';
5
6
  export * from './Cancel';
@@ -18,11 +19,13 @@ export * from './CopilotAPIEvent';
18
19
  export * from './CopilotBrowse';
19
20
  export * from './CopilotBrowseAck';
20
21
  export * from './CopilotBrowseSuggestion';
22
+ export * from './CopilotBrowseSuggestions';
21
23
  export * from './CopilotError';
22
24
  export * from './CopilotEvent';
23
25
  export * from './CopilotSearch';
24
26
  export * from './CopilotSearchAck';
25
27
  export * from './CopilotSearchSuggestion';
28
+ export * from './CopilotSearchSuggestions';
26
29
  export * from './customization';
27
30
  export * from './DisplayProducts';
28
31
  export * from './Done';
@@ -38,6 +41,7 @@ export * from './PartialInquiry';
38
41
  export * from './ProductView';
39
42
  export * from './ProductViewAck';
40
43
  export * from './ProductViewSuggestion';
44
+ export * from './ProductViewSuggestions';
41
45
  export * from './Progress';
42
46
  export * from './ProgressToolKwargs';
43
47
  export * from './RefinedBrowse';