@thinkai/tai-api-contract 2.52.0 → 2.53.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.
|
@@ -2056,6 +2056,23 @@ export interface paths {
|
|
|
2056
2056
|
patch?: never;
|
|
2057
2057
|
trace?: never;
|
|
2058
2058
|
};
|
|
2059
|
+
"/workspaces/{workspaceId}/notifications/unread-count": {
|
|
2060
|
+
parameters: {
|
|
2061
|
+
query?: never;
|
|
2062
|
+
header?: never;
|
|
2063
|
+
path?: never;
|
|
2064
|
+
cookie?: never;
|
|
2065
|
+
};
|
|
2066
|
+
/** Unread notification count */
|
|
2067
|
+
get: operations["getNotificationUnreadCount"];
|
|
2068
|
+
put?: never;
|
|
2069
|
+
post?: never;
|
|
2070
|
+
delete?: never;
|
|
2071
|
+
options?: never;
|
|
2072
|
+
head?: never;
|
|
2073
|
+
patch?: never;
|
|
2074
|
+
trace?: never;
|
|
2075
|
+
};
|
|
2059
2076
|
"/workspaces/{workspaceId}/notifications/{id}/read": {
|
|
2060
2077
|
parameters: {
|
|
2061
2078
|
query?: never;
|
|
@@ -4783,11 +4800,17 @@ export interface components {
|
|
|
4783
4800
|
/** Format: date-time */
|
|
4784
4801
|
createdAt: string;
|
|
4785
4802
|
route?: string;
|
|
4803
|
+
/** @enum {string} */
|
|
4804
|
+
severity?: "success" | "warning" | "destructive" | "muted" | "neutral";
|
|
4805
|
+
triggeredBy?: string | null;
|
|
4786
4806
|
};
|
|
4787
4807
|
NotificationListDto: {
|
|
4788
4808
|
items: components["schemas"]["NotificationDto"][];
|
|
4789
4809
|
total: number;
|
|
4790
4810
|
};
|
|
4811
|
+
NotificationUnreadCountDto: {
|
|
4812
|
+
count: number;
|
|
4813
|
+
};
|
|
4791
4814
|
EffectiveTaskRowDto: {
|
|
4792
4815
|
id: string;
|
|
4793
4816
|
name: string;
|
|
@@ -5049,7 +5072,7 @@ export interface components {
|
|
|
5049
5072
|
* @description Type of workspace lifecycle event.
|
|
5050
5073
|
* @enum {string}
|
|
5051
5074
|
*/
|
|
5052
|
-
ActivityLogEventTypeDto: "repo.added" | "repo.removed" | "repo.readded" | "integration.github.added" | "integration.github.updated" | "integration.github.removed" | "integration.github.permissions_changed" | "integration.github.repo_added" | "integration.github.repo_removed" | "fix.requested" | "fix.generating" | "fix.pr_created" | "fix.merged" | "fix.failed" | "readiness.scan_started" | "readiness.scan_completed" | "readiness.scan_failed" | "readiness.scan_partial" | "integrations.agent_execution.provider_changed" | "integrations.repo_eligibility.overrides_changed" | "integrations.repo_eligibility.languages_refresh_requested" | "integrations.cursor.platform_key_enabled" | "integrations.cursor.platform_key_disabled" | "member.invited" | "member.role_changed" | "member.removed" | "hris.personio.sync_started" | "hris.personio.sync_completed" | "hris.personio.sync_failed" | "hris.sync_started" | "hris.sync_completed" | "hris.sync_failed" | "repo.sync_skipped" | "integrations.cursor.execution_key.added" | "integrations.cursor.execution_key.updated" | "integrations.cursor.execution_key.removed" | "integrations.cursor.execution_key.check_failed" | "integrations.cursor.admin_key.added" | "integrations.cursor.admin_key.updated" | "integrations.cursor.admin_key.removed" | "integrations.claude.execution_key.added" | "integrations.claude.execution_key.updated" | "integrations.claude.execution_key.removed" | "integrations.claude.execution_key.check_failed" | "integrations.claude.admin_key.added" | "integrations.claude.admin_key.updated" | "integrations.claude.admin_key.removed" | "integrations.claude.analytics_key.added" | "integrations.claude.analytics_key.updated" | "integrations.claude.analytics_key.removed" | "readiness.scan_precheck_failed" | "productivity.ingest.completed" | "productivity.ingest.failed" | "productivity.ingest.skipped";
|
|
5075
|
+
ActivityLogEventTypeDto: "repo.added" | "repo.removed" | "repo.readded" | "integration.github.added" | "integration.github.updated" | "integration.github.removed" | "integration.github.permissions_changed" | "integration.github.repo_added" | "integration.github.repo_removed" | "fix.requested" | "fix.generating" | "fix.pr_created" | "fix.merged" | "fix.failed" | "readiness.scan_started" | "readiness.scan_completed" | "readiness.scan_failed" | "readiness.scan_partial" | "integrations.agent_execution.provider_changed" | "integrations.repo_eligibility.overrides_changed" | "integrations.repo_eligibility.languages_refresh_requested" | "integrations.cursor.platform_key_enabled" | "integrations.cursor.platform_key_disabled" | "member.invited" | "member.role_changed" | "member.removed" | "hris.personio.sync_started" | "hris.personio.sync_completed" | "hris.personio.sync_failed" | "hris.zenhr.sync_started" | "hris.zenhr.sync_completed" | "hris.zenhr.sync_failed" | "hris.sync_started" | "hris.sync_completed" | "hris.sync_failed" | "repo.sync_skipped" | "integrations.cursor.execution_key.added" | "integrations.cursor.execution_key.updated" | "integrations.cursor.execution_key.removed" | "integrations.cursor.execution_key.check_failed" | "integrations.cursor.admin_key.added" | "integrations.cursor.admin_key.updated" | "integrations.cursor.admin_key.removed" | "integrations.claude.execution_key.added" | "integrations.claude.execution_key.updated" | "integrations.claude.execution_key.removed" | "integrations.claude.execution_key.check_failed" | "integrations.claude.admin_key.added" | "integrations.claude.admin_key.updated" | "integrations.claude.admin_key.removed" | "integrations.claude.analytics_key.added" | "integrations.claude.analytics_key.updated" | "integrations.claude.analytics_key.removed" | "readiness.scan_precheck_failed" | "productivity.ingest.completed" | "productivity.ingest.failed" | "productivity.ingest.skipped";
|
|
5053
5076
|
ActivityLogActorDto: {
|
|
5054
5077
|
/** Format: uuid */
|
|
5055
5078
|
userId: string;
|
|
@@ -5570,6 +5593,7 @@ export type ProjectDto = components['schemas']['ProjectDto'];
|
|
|
5570
5593
|
export type ProjectPatchDto = components['schemas']['ProjectPatchDto'];
|
|
5571
5594
|
export type NotificationDto = components['schemas']['NotificationDto'];
|
|
5572
5595
|
export type NotificationListDto = components['schemas']['NotificationListDto'];
|
|
5596
|
+
export type NotificationUnreadCountDto = components['schemas']['NotificationUnreadCountDto'];
|
|
5573
5597
|
export type EffectiveTaskRowDto = components['schemas']['EffectiveTaskRowDto'];
|
|
5574
5598
|
export type EffectivePhaseTasksBlockDto = components['schemas']['EffectivePhaseTasksBlockDto'];
|
|
5575
5599
|
export type AiStrategyRecommendBodyDto = components['schemas']['AiStrategyRecommendBodyDto'];
|
|
@@ -11054,6 +11078,29 @@ export interface operations {
|
|
|
11054
11078
|
401: components["responses"]["Unauthorized"];
|
|
11055
11079
|
};
|
|
11056
11080
|
};
|
|
11081
|
+
getNotificationUnreadCount: {
|
|
11082
|
+
parameters: {
|
|
11083
|
+
query?: never;
|
|
11084
|
+
header?: never;
|
|
11085
|
+
path: {
|
|
11086
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
11087
|
+
};
|
|
11088
|
+
cookie?: never;
|
|
11089
|
+
};
|
|
11090
|
+
requestBody?: never;
|
|
11091
|
+
responses: {
|
|
11092
|
+
/** @description Unread count for the current user in this workspace (respecting notification preferences) */
|
|
11093
|
+
200: {
|
|
11094
|
+
headers: {
|
|
11095
|
+
[name: string]: unknown;
|
|
11096
|
+
};
|
|
11097
|
+
content: {
|
|
11098
|
+
"application/json": components["schemas"]["NotificationUnreadCountDto"];
|
|
11099
|
+
};
|
|
11100
|
+
};
|
|
11101
|
+
401: components["responses"]["Unauthorized"];
|
|
11102
|
+
};
|
|
11103
|
+
};
|
|
11057
11104
|
postNotificationRead: {
|
|
11058
11105
|
parameters: {
|
|
11059
11106
|
query?: never;
|