@atlaskit/rovo-triggers 2.16.0 → 2.17.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 2.17.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#169814](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/169814)
8
+ [`40e4575b749e0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/40e4575b749e0) -
9
+ Added insertPrompt query param
10
+
3
11
  ## 2.16.0
4
12
 
5
13
  ### Minor Changes
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.ROVO_VALID_PARAMS = exports.ROVO_PARAM_PREFIX = void 0;
7
7
  var ROVO_PARAM_PREFIX = exports.ROVO_PARAM_PREFIX = 'rovoChat';
8
- var ROVO_VALID_PARAMS = exports.ROVO_VALID_PARAMS = ['pathway', 'agentId', 'conversationId', 'prompt', 'cloudId', 'triggerOpen'];
8
+ var ROVO_VALID_PARAMS = exports.ROVO_VALID_PARAMS = ['pathway', 'agentId', 'conversationId', 'prompt', 'cloudId', 'triggerOpen', 'insertPrompt'];
@@ -1,2 +1,2 @@
1
1
  export const ROVO_PARAM_PREFIX = 'rovoChat';
2
- export const ROVO_VALID_PARAMS = ['pathway', 'agentId', 'conversationId', 'prompt', 'cloudId', 'triggerOpen'];
2
+ export const ROVO_VALID_PARAMS = ['pathway', 'agentId', 'conversationId', 'prompt', 'cloudId', 'triggerOpen', 'insertPrompt'];
@@ -1,2 +1,2 @@
1
1
  export var ROVO_PARAM_PREFIX = 'rovoChat';
2
- export var ROVO_VALID_PARAMS = ['pathway', 'agentId', 'conversationId', 'prompt', 'cloudId', 'triggerOpen'];
2
+ export var ROVO_VALID_PARAMS = ['pathway', 'agentId', 'conversationId', 'prompt', 'cloudId', 'triggerOpen', 'insertPrompt'];
@@ -7,6 +7,7 @@ export interface BaseRovoChatParams {
7
7
  cloudId: string;
8
8
  triggerOpen: boolean;
9
9
  initiator: string;
10
+ insertPrompt: 'highlight-action';
10
11
  }
11
12
  export type ValidPrefix = 'rovoChat';
12
13
  export type ValidParam = keyof BaseRovoChatParams;
@@ -98,7 +98,7 @@ export type InsertPromptPayload = PayloadCore<'insert-prompt', {
98
98
  /**
99
99
  * Overrides the default placeholder type
100
100
  */
101
- placeholderType?: 'person' | 'link' | 'generic' | 'highlight-action';
101
+ placeholderType?: 'person' | 'link' | 'generic';
102
102
  }>;
103
103
  export type TransitionId = string;
104
104
  export type StatusId = string;
@@ -7,6 +7,7 @@ export interface BaseRovoChatParams {
7
7
  cloudId: string;
8
8
  triggerOpen: boolean;
9
9
  initiator: string;
10
+ insertPrompt: 'highlight-action';
10
11
  }
11
12
  export type ValidPrefix = 'rovoChat';
12
13
  export type ValidParam = keyof BaseRovoChatParams;
@@ -98,7 +98,7 @@ export type InsertPromptPayload = PayloadCore<'insert-prompt', {
98
98
  /**
99
99
  * Overrides the default placeholder type
100
100
  */
101
- placeholderType?: 'person' | 'link' | 'generic' | 'highlight-action';
101
+ placeholderType?: 'person' | 'link' | 'generic';
102
102
  }>;
103
103
  export type TransitionId = string;
104
104
  export type StatusId = string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "2.16.0",
3
+ "version": "2.17.0",
4
4
  "description": "Provides various trigger events to drive Rovo Chat functionality, such as a publish-subscribe and URL parameter hooks",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {