@epam/ai-dial-shared 0.50.0-dev.3 → 0.50.0-dev.31

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 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";
@@ -187,6 +189,12 @@ var TokenEndpointAuthMethod;
187
189
  TokenEndpointAuthMethod["ClientSecretBasic"] = "client_secret_basic";
188
190
  TokenEndpointAuthMethod["None"] = "none";
189
191
  })(TokenEndpointAuthMethod || (TokenEndpointAuthMethod = {}));
192
+ var PkceMethod;
193
+ (function (PkceMethod) {
194
+ PkceMethod["None"] = "none";
195
+ PkceMethod["Plain"] = "plain";
196
+ PkceMethod["S256"] = "S256";
197
+ })(PkceMethod || (PkceMethod = {}));
190
198
 
191
199
  const validateFeature = (feature) => {
192
200
  return Object.values(Feature).includes(feature);
@@ -392,4 +400,4 @@ var VisualizerConnectorRequests;
392
400
  VisualizerConnectorRequests["setVisualizerOptions"] = "SET_VISUALIZER_OPTIONS";
393
401
  })(VisualizerConnectorRequests || (VisualizerConnectorRequests = {}));
394
402
 
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 };
403
+ export { 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
@@ -2,7 +2,7 @@
2
2
  "name": "@epam/ai-dial-shared",
3
3
  "description": "Shared elements that support developing DIAL",
4
4
  "homepage": "https://dialx.ai",
5
- "version": "0.50.0-dev.3",
5
+ "version": "0.50.0-dev.31",
6
6
  "dependencies": {},
7
7
  "type": "module",
8
8
  "bugs": {
@@ -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
@@ -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?: string;
56
+ code_challenge_method?: PkceMethod;
52
57
  global_auth_status?: ToolsetAuthStatus;
53
58
  user_level_auth_status?: ToolsetAuthStatus;
54
59
  scopes_supported?: string[];