doover-js 0.5.0 → 0.5.1

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.
@@ -3,7 +3,19 @@ export type { AgentAggregate, AgentPermission, Alarm, Aggregate, Channel, Connec
3
3
  export interface BatchMessagesResponse {
4
4
  results: MessageStructure[];
5
5
  count: number;
6
- next?: string;
6
+ /**
7
+ * Snowflake cursor for the next sub-page — non-null means at least one
8
+ * agent returned a full `agent_message_limit` worth and may have more
9
+ * older messages within the window. Re-request with `before=<next>`.
10
+ */
11
+ next?: string | null;
12
+ /**
13
+ * Agent ids that returned a full `agent_message_limit` worth in this
14
+ * response — those that may have more older messages within the window.
15
+ * Pass these (and only these) as `agent_id` on the next sub-page so the
16
+ * server doesn't repeat DDB lookups for already-exhausted agents.
17
+ */
18
+ at_limit_agent_ids?: string[];
7
19
  }
8
20
  export interface BatchAggregatesResponse {
9
21
  results: AgentAggregate[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doover-js",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "TypeScript client for Doover.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",