@pushwoosh/rpc-gateway-ai-assistant 0.1.602 → 0.1.604

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/data.js CHANGED
@@ -3678,6 +3678,9 @@ export const data = {
3678
3678
  },
3679
3679
  "iterationCapped": {
3680
3680
  "type": "boolean"
3681
+ },
3682
+ "cardId": {
3683
+ "type": "number"
3681
3684
  }
3682
3685
  }
3683
3686
  },
@@ -5225,6 +5228,9 @@ export const data = {
5225
5228
  },
5226
5229
  "view": {
5227
5230
  "type": "pushwoosh.uds.onyx.v1.CardView"
5231
+ },
5232
+ "expiresAt": {
5233
+ "type": "Date"
5228
5234
  }
5229
5235
  }
5230
5236
  },
@@ -5531,6 +5537,9 @@ export const data = {
5531
5537
  "hidden": {
5532
5538
  "type": "pushwoosh.uds.onyx.v1.Card",
5533
5539
  "array": true
5540
+ },
5541
+ "hiddenCount": {
5542
+ "type": "number"
5534
5543
  }
5535
5544
  }
5536
5545
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.602",
3
+ "version": "0.1.604",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -22,6 +22,8 @@ export type Message = {
22
22
  * widget offers Continue on it. Its content may be empty.
23
23
  */
24
24
  iterationCapped: boolean;
25
+ /** The board card this message announces; the widget draws the card under the text. */
26
+ cardId: number;
25
27
  };
26
28
  /** SuggestedActionKind says what a click does; UNSPECIFIED keeps today's rule: prompt or url. */
27
29
  export type SuggestedActionKind = 'SUGGESTED_ACTION_KIND_UNSPECIFIED'
@@ -36,6 +36,8 @@ export type Card = {
36
36
  createdAt: Date;
37
37
  updatedAt: Date;
38
38
  view: CardView;
39
+ /** The user's decision window; unset when the card does not wait for the user. */
40
+ expiresAt: Date;
39
41
  };
40
42
  /** CardView is the whole card as the board draws it; every layer is optional. */
41
43
  export type CardView = {
@@ -159,6 +161,8 @@ export type GetBoardResponse = {
159
161
  pendingForUser: number;
160
162
  /** Filled only with include_hidden. */
161
163
  hidden: Card[];
164
+ /** How many cards are hidden, counted with or without include_hidden. */
165
+ hiddenCount: number;
162
166
  };
163
167
  export type MoveCardRequest = {
164
168
  application: string;