@thinkai/tai-api-contract 2.136.0 → 2.137.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.
@@ -4147,7 +4147,7 @@ export interface paths {
4147
4147
  };
4148
4148
  /**
4149
4149
  * Ingest / backfill data coverage
4150
- * @description Read-only snapshot of historical ingest coverage for connected pipelines (productivity GitHub, AI usage/spend per provider, SDLC components, monitoring, HRIS). Aggregates existing watermarks and stored day/week evidence — does not trigger ingest or refresh. Productivity detail may include `selfHeal` (latest depth scan and week reconcile) read from stored activity rows; this GET does not run a scan. `selfHeal` is null when neither event exists. Requires workspace membership. Disconnected sources are omitted.
4150
+ * @description Read-only snapshot of historical ingest coverage for connected pipelines (productivity GitHub, AI usage/spend per provider, SDLC components, monitoring, HRIS). Aggregates existing watermarks and stored day/week evidence — does not trigger ingest or refresh. Productivity detail may include `selfHeal` (latest depth scan and week reconcile) read from stored activity rows; this GET does not run a scan. `selfHeal` is null when neither event exists. `nextScheduledAt` is the scheduled poll instant for `ai_usage`, `hris`, and `monitoring`. It is null for productivity and SDLC, when that sync worker is disabled, or when there has been no attempt. A past instant means the poll is overdue; it is not moved forward to now and is not an ETA. Monitoring `sync` copies stored `issueCount`, `deploymentCount`, and `eventCount` (null when unset). HRIS leaves those three null. Requires workspace membership. Disconnected sources are omitted.
4151
4151
  */
4152
4152
  get: operations["getWorkspaceIngestCoverage"];
4153
4153
  put?: never;
@@ -8257,6 +8257,12 @@ export interface components {
8257
8257
  provider?: string;
8258
8258
  /** @enum {string} */
8259
8259
  syncStatus?: "ok" | "error" | "never";
8260
+ /** @description Monitoring meta issue count. Null for HRIS and when the stored count is unset. */
8261
+ issueCount?: number | null;
8262
+ /** @description Monitoring meta deployment count. Null for HRIS and when the stored count is unset. */
8263
+ deploymentCount?: number | null;
8264
+ /** @description Monitoring meta event count. Null for HRIS and when the stored count is unset. */
8265
+ eventCount?: number | null;
8260
8266
  };
8261
8267
  IngestCoveragePipelineDto: {
8262
8268
  id: string;
@@ -8275,6 +8281,11 @@ export interface components {
8275
8281
  lastAttemptAt?: string | null;
8276
8282
  lastErrorKind?: string | null;
8277
8283
  lastErrorMessage?: string | null;
8284
+ /**
8285
+ * Format: date-time
8286
+ * @description Scheduled poll instant. Set for ai_usage (next weekly workspace slot), hris, and monitoring (last attempt plus the worker interval, including when that instant is already past). Null for productivity_github and sdlc_github, when the sync worker is disabled, or when lastAttemptAt is null. Not an ETA and not advanced to now when the worker is late.
8287
+ */
8288
+ nextScheduledAt?: string | null;
8278
8289
  /** Format: int64 */
8279
8290
  staleForMs?: number | null;
8280
8291
  isStale: boolean;