@thinkai/tai-api-contract 2.1.0 → 2.2.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.
- package/dist/generated/openapi.d.ts +181 -312
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.d.ts.map +1 -1
- package/openapi/openapi.yaml +189 -368
- package/package.json +1 -1
- package/src/generated/openapi.ts +181 -312
- package/src/index.ts +6 -3
package/src/index.ts
CHANGED
|
@@ -397,9 +397,10 @@ export interface CycleTimeBreakdownDto {
|
|
|
397
397
|
items: CycleTimeBreakdownItemDto[];
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
-
/** CTO Dashboard: response for GET /
|
|
400
|
+
/** CTO Dashboard: response for GET /workspaces/:workspaceId/dashboard/productivity */
|
|
401
401
|
export interface DashboardProductivityDto {
|
|
402
|
-
|
|
402
|
+
workspaceId: string;
|
|
403
|
+
generatedAt?: string;
|
|
403
404
|
windowStart: string;
|
|
404
405
|
windowEnd: string;
|
|
405
406
|
scope: "org" | "team" | "person";
|
|
@@ -407,8 +408,10 @@ export interface DashboardProductivityDto {
|
|
|
407
408
|
meta?: { sourceWindow?: string; computedAt?: string };
|
|
408
409
|
}
|
|
409
410
|
|
|
410
|
-
/** CTO Dashboard: time-series for GET /
|
|
411
|
+
/** CTO Dashboard: time-series for GET /workspaces/:workspaceId/dashboard/productivity/history */
|
|
411
412
|
export interface DashboardProductivityHistoryDto {
|
|
413
|
+
workspaceId: string;
|
|
414
|
+
bucket: "day" | "week" | "month";
|
|
412
415
|
buckets: {
|
|
413
416
|
bucketStart: string;
|
|
414
417
|
bucketEnd: string;
|