@gemina/sdk 0.5.1 → 0.5.2

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/README.md CHANGED
@@ -215,7 +215,7 @@ for (const msg of transcript.messages) {
215
215
  await client.chat.purgeChatSession({ sessionId: listing.sessions[0].id });
216
216
  ```
217
217
 
218
- `purgeChatSession` permanently deletes the transcript and the server-side copy of its content — it cannot be undone. Purged sessions vanish from the list; pass `withPurged: true` to see their content-free stubs — title cleared, `purgedAt`/`purgeReason` set; timestamps and `turnCount` survive. Transcripts also age out automatically under your account's data-retention setting (each session's `purgeAt` tells you when). Purging requires an API key or a console sign-in — browser session tokens can list and read history, but never purge.
218
+ `purgeChatSession` permanently deletes the transcript and the server-side copy of its content — it cannot be undone. Purged sessions vanish from the list; pass `withPurged: true` to see their content-free stubs — title cleared, `purgedAt`/`purgeReason` set; timestamps, `turnCount`, and `endUserId` survive. Transcripts also age out automatically under your account's data-retention setting (each session's `purgeAt` tells you when). Purging requires an API key or a console sign-in — browser session tokens can list and read history, but never purge.
219
219
 
220
220
  ## Session tokens (browser embedding)
221
221
 
package/dist/index.cjs CHANGED
@@ -1558,6 +1558,7 @@ function ChatSessionOutDTOFromJSONTyped(json, ignoreDiscriminator) {
1558
1558
  return {
1559
1559
  "createdAt": json["createdAt"] == null ? void 0 : new Date(json["createdAt"]),
1560
1560
  "createdAtTimestamp": json["createdAtTimestamp"] == null ? void 0 : json["createdAtTimestamp"],
1561
+ "endUserId": json["endUserId"] == null ? void 0 : json["endUserId"],
1561
1562
  "id": json["id"],
1562
1563
  "lastActivityAt": json["lastActivityAt"] == null ? void 0 : new Date(json["lastActivityAt"]),
1563
1564
  "purgeAt": json["purgeAt"] == null ? void 0 : new Date(json["purgeAt"]),
@@ -1578,6 +1579,7 @@ function ChatSessionOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
1578
1579
  return {
1579
1580
  "createdAt": value["createdAt"] == null ? value["createdAt"] : value["createdAt"].toISOString(),
1580
1581
  "createdAtTimestamp": value["createdAtTimestamp"],
1582
+ "endUserId": value["endUserId"],
1581
1583
  "id": value["id"],
1582
1584
  "lastActivityAt": value["lastActivityAt"] == null ? value["lastActivityAt"] : value["lastActivityAt"].toISOString(),
1583
1585
  "purgeAt": value["purgeAt"] == null ? value["purgeAt"] : value["purgeAt"].toISOString(),
@@ -10967,7 +10969,7 @@ async function asProcessingErrorIfFailedResult(error) {
10967
10969
  }
10968
10970
 
10969
10971
  // src/version.ts
10970
- var VERSION = "0.5.1";
10972
+ var VERSION = "0.5.2";
10971
10973
  // Annotate the CommonJS export names for ESM import in node:
10972
10974
  0 && (module.exports = {
10973
10975
  AggregateMetaDTOFromJSON,