@epam/ai-dial-shared 0.50.0-dev.5 → 0.50.0-dev.50
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/index.esm.js +14 -1
- package/package.json +1 -1
- package/src/types/chat.d.ts +4 -0
- package/src/types/features.d.ts +2 -0
- package/src/types/toolsets.d.ts +6 -1
package/index.esm.js
CHANGED
|
@@ -71,6 +71,8 @@ var Feature;
|
|
|
71
71
|
Feature["HideCustomAppCreation"] = "hide-custom-app-creation";
|
|
72
72
|
Feature["CodeApps"] = "code-apps";
|
|
73
73
|
Feature["CodeInterpreter"] = "code-interpreter";
|
|
74
|
+
Feature["QuickAppWebFetch"] = "quick-app-web-fetch";
|
|
75
|
+
Feature["QuickAppAddAttachment"] = "quick-app-add-attachment";
|
|
74
76
|
// Marketplace
|
|
75
77
|
Feature["Marketplace"] = "marketplace";
|
|
76
78
|
Feature["MarketplaceTableView"] = "marketplace-table-view";
|
|
@@ -137,6 +139,11 @@ var ConversationResponseFormat;
|
|
|
137
139
|
ConversationResponseFormat["PlainText"] = "Plain text";
|
|
138
140
|
ConversationResponseFormat["Markdown"] = "Markdown";
|
|
139
141
|
})(ConversationResponseFormat || (ConversationResponseFormat = {}));
|
|
142
|
+
var CompactModeState;
|
|
143
|
+
(function (CompactModeState) {
|
|
144
|
+
CompactModeState["On"] = "On";
|
|
145
|
+
CompactModeState["Off"] = "Off";
|
|
146
|
+
})(CompactModeState || (CompactModeState = {}));
|
|
140
147
|
|
|
141
148
|
var JSONSchemaPropertyType;
|
|
142
149
|
(function (JSONSchemaPropertyType) {
|
|
@@ -187,6 +194,12 @@ var TokenEndpointAuthMethod;
|
|
|
187
194
|
TokenEndpointAuthMethod["ClientSecretBasic"] = "client_secret_basic";
|
|
188
195
|
TokenEndpointAuthMethod["None"] = "none";
|
|
189
196
|
})(TokenEndpointAuthMethod || (TokenEndpointAuthMethod = {}));
|
|
197
|
+
var PkceMethod;
|
|
198
|
+
(function (PkceMethod) {
|
|
199
|
+
PkceMethod["None"] = "none";
|
|
200
|
+
PkceMethod["Plain"] = "plain";
|
|
201
|
+
PkceMethod["S256"] = "S256";
|
|
202
|
+
})(PkceMethod || (PkceMethod = {}));
|
|
190
203
|
|
|
191
204
|
const validateFeature = (feature) => {
|
|
192
205
|
return Object.values(Feature).includes(feature);
|
|
@@ -392,4 +405,4 @@ var VisualizerConnectorRequests;
|
|
|
392
405
|
VisualizerConnectorRequests["setVisualizerOptions"] = "SET_VISUALIZER_OPTIONS";
|
|
393
406
|
})(VisualizerConnectorRequests || (VisualizerConnectorRequests = {}));
|
|
394
407
|
|
|
395
|
-
export { ConversationResponseFormat, DeferredRequest, DialSchemaProperties, Feature, FeatureType, FormSchemaPropertyWidget, JSONSchemaPropertyType, LikeState, MessageAnnotationSelectorType, MessageButtonPlacement, OverlayEvents, OverlayRequests, PublishActions, Role, SharePermission, Task, TokenEndpointAuthMethod, ToolsetAuthStatus, ToolsetAuthTypes, ToolsetTransportType, UploadStatus, VisualizerConnectorEvents, VisualizerConnectorRequests, overlayAppName, overlayLibName, setStyles, validateFeature, visualizerConnectorLibName };
|
|
408
|
+
export { CompactModeState, ConversationResponseFormat, DeferredRequest, DialSchemaProperties, Feature, FeatureType, FormSchemaPropertyWidget, JSONSchemaPropertyType, LikeState, MessageAnnotationSelectorType, MessageButtonPlacement, OverlayEvents, OverlayRequests, PkceMethod, PublishActions, Role, SharePermission, Task, TokenEndpointAuthMethod, ToolsetAuthStatus, ToolsetAuthTypes, ToolsetTransportType, UploadStatus, VisualizerConnectorEvents, VisualizerConnectorRequests, overlayAppName, overlayLibName, setStyles, validateFeature, visualizerConnectorLibName };
|
package/package.json
CHANGED
package/src/types/chat.d.ts
CHANGED
|
@@ -219,6 +219,10 @@ export declare enum ConversationResponseFormat {
|
|
|
219
219
|
PlainText = "Plain text",
|
|
220
220
|
Markdown = "Markdown"
|
|
221
221
|
}
|
|
222
|
+
export declare enum CompactModeState {
|
|
223
|
+
On = "On",
|
|
224
|
+
Off = "Off"
|
|
225
|
+
}
|
|
222
226
|
export interface Conversation extends ShareEntity, ConversationInfo {
|
|
223
227
|
messages: Message[];
|
|
224
228
|
prompt: string;
|
package/src/types/features.d.ts
CHANGED
|
@@ -53,6 +53,8 @@ export declare enum Feature {
|
|
|
53
53
|
HideCustomAppCreation = "hide-custom-app-creation",// Hide "Custom app" option in 'Add app' button/menu
|
|
54
54
|
CodeApps = "code-apps",// Enable creating of Code apps (into the 'Add app' menu)
|
|
55
55
|
CodeInterpreter = "code-interpreter",// Enable Code Interpreter feature
|
|
56
|
+
QuickAppWebFetch = "quick-app-web-fetch",// Enable 'Web fetch' toggle for quick apps 2
|
|
57
|
+
QuickAppAddAttachment = "quick-app-add-attachment",// Enable 'Add attachment' toggle for quick apps 2
|
|
56
58
|
Marketplace = "marketplace",// Enable Marketplace
|
|
57
59
|
MarketplaceTableView = "marketplace-table-view",// Enable table view in Marketplace
|
|
58
60
|
MarketplaceHideMyApps = "marketplace-hide-my-apps",// Hide user-created and shared-with-me entities in Marketplace
|
package/src/types/toolsets.d.ts
CHANGED
|
@@ -17,6 +17,11 @@ export declare enum TokenEndpointAuthMethod {
|
|
|
17
17
|
ClientSecretBasic = "client_secret_basic",
|
|
18
18
|
None = "none"
|
|
19
19
|
}
|
|
20
|
+
export declare enum PkceMethod {
|
|
21
|
+
None = "none",
|
|
22
|
+
Plain = "plain",
|
|
23
|
+
S256 = "S256"
|
|
24
|
+
}
|
|
20
25
|
export interface Toolset {
|
|
21
26
|
endpoint: string;
|
|
22
27
|
transport: ToolsetTransportType;
|
|
@@ -48,7 +53,7 @@ export interface Toolset {
|
|
|
48
53
|
client_secret?: string;
|
|
49
54
|
authorization_endpoint?: string;
|
|
50
55
|
code_challenge?: string;
|
|
51
|
-
code_challenge_method?:
|
|
56
|
+
code_challenge_method?: PkceMethod;
|
|
52
57
|
global_auth_status?: ToolsetAuthStatus;
|
|
53
58
|
user_level_auth_status?: ToolsetAuthStatus;
|
|
54
59
|
scopes_supported?: string[];
|