@iveri/contracts 0.102.0 → 0.103.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.
@@ -14,6 +14,12 @@ export interface EmbeddedChatParticipant {
14
14
  avatarUrl?: Nullable<string>;
15
15
  /** `request` puts it in their Requests until they accept, which is how Ezo's message requests work. */
16
16
  asRequest?: boolean;
17
+ /**
18
+ * Whether somebody arriving reads what was said before they came. Omitted means false: a newcomer starts at the
19
+ * current end. A shop sets it for a member of staff taking up an order's conversation, who has to read what the
20
+ * customer already asked. Read only when the participant arrives or comes back.
21
+ */
22
+ seesHistory?: boolean;
17
23
  }
18
24
  /**
19
25
  * `PUT /embed/conversations`, under `chat:embed:manage`. An upsert keyed on the context, so a retry,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iveri/contracts",
3
- "version": "0.102.0",
3
+ "version": "0.103.0",
4
4
  "description": "Wire contracts shared by every Iveri backend and frontend. Zero runtime dependencies.",
5
5
  "license": "MIT",
6
6
  "repository": {