@thinkai/tai-api-contract 2.152.0 → 2.153.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.
package/openapi/openapi.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ThinkAI API
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.153.0
|
|
5
5
|
description: >
|
|
6
6
|
Contract surface for the AI Driven SDLC backend used by ThinkAI.
|
|
7
7
|
Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
|
|
@@ -9664,6 +9664,27 @@ paths:
|
|
|
9664
9664
|
"401":
|
|
9665
9665
|
$ref: "#/components/responses/Unauthorized"
|
|
9666
9666
|
|
|
9667
|
+
/workspaces/{workspaceId}/notifications/{id}/unread:
|
|
9668
|
+
post:
|
|
9669
|
+
tags: [Notifications]
|
|
9670
|
+
summary: Mark notification unread
|
|
9671
|
+
description: Clears read state for the current member's row. Does not follow a route.
|
|
9672
|
+
operationId: postNotificationUnread
|
|
9673
|
+
parameters:
|
|
9674
|
+
- $ref: "#/components/parameters/WorkspaceId"
|
|
9675
|
+
- $ref: "#/components/parameters/NotificationId"
|
|
9676
|
+
responses:
|
|
9677
|
+
"204":
|
|
9678
|
+
description: Updated
|
|
9679
|
+
"401":
|
|
9680
|
+
$ref: "#/components/responses/Unauthorized"
|
|
9681
|
+
"404":
|
|
9682
|
+
description: Notification was not found for this member
|
|
9683
|
+
content:
|
|
9684
|
+
application/json:
|
|
9685
|
+
schema:
|
|
9686
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
9687
|
+
|
|
9667
9688
|
/workspaces/{workspaceId}/notifications/read-all:
|
|
9668
9689
|
post:
|
|
9669
9690
|
tags: [Notifications]
|
package/package.json
CHANGED
package/src/generated/openapi.ts
CHANGED
|
@@ -3910,6 +3910,26 @@ export interface paths {
|
|
|
3910
3910
|
patch?: never;
|
|
3911
3911
|
trace?: never;
|
|
3912
3912
|
};
|
|
3913
|
+
"/workspaces/{workspaceId}/notifications/{id}/unread": {
|
|
3914
|
+
parameters: {
|
|
3915
|
+
query?: never;
|
|
3916
|
+
header?: never;
|
|
3917
|
+
path?: never;
|
|
3918
|
+
cookie?: never;
|
|
3919
|
+
};
|
|
3920
|
+
get?: never;
|
|
3921
|
+
put?: never;
|
|
3922
|
+
/**
|
|
3923
|
+
* Mark notification unread
|
|
3924
|
+
* @description Clears read state for the current member's row. Does not follow a route.
|
|
3925
|
+
*/
|
|
3926
|
+
post: operations["postNotificationUnread"];
|
|
3927
|
+
delete?: never;
|
|
3928
|
+
options?: never;
|
|
3929
|
+
head?: never;
|
|
3930
|
+
patch?: never;
|
|
3931
|
+
trace?: never;
|
|
3932
|
+
};
|
|
3913
3933
|
"/workspaces/{workspaceId}/notifications/read-all": {
|
|
3914
3934
|
parameters: {
|
|
3915
3935
|
query?: never;
|
|
@@ -21486,6 +21506,37 @@ export interface operations {
|
|
|
21486
21506
|
401: components["responses"]["Unauthorized"];
|
|
21487
21507
|
};
|
|
21488
21508
|
};
|
|
21509
|
+
postNotificationUnread: {
|
|
21510
|
+
parameters: {
|
|
21511
|
+
query?: never;
|
|
21512
|
+
header?: never;
|
|
21513
|
+
path: {
|
|
21514
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
21515
|
+
id: components["parameters"]["NotificationId"];
|
|
21516
|
+
};
|
|
21517
|
+
cookie?: never;
|
|
21518
|
+
};
|
|
21519
|
+
requestBody?: never;
|
|
21520
|
+
responses: {
|
|
21521
|
+
/** @description Updated */
|
|
21522
|
+
204: {
|
|
21523
|
+
headers: {
|
|
21524
|
+
[name: string]: unknown;
|
|
21525
|
+
};
|
|
21526
|
+
content?: never;
|
|
21527
|
+
};
|
|
21528
|
+
401: components["responses"]["Unauthorized"];
|
|
21529
|
+
/** @description Notification was not found for this member */
|
|
21530
|
+
404: {
|
|
21531
|
+
headers: {
|
|
21532
|
+
[name: string]: unknown;
|
|
21533
|
+
};
|
|
21534
|
+
content: {
|
|
21535
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
21536
|
+
};
|
|
21537
|
+
};
|
|
21538
|
+
};
|
|
21539
|
+
};
|
|
21489
21540
|
postNotificationsReadAll: {
|
|
21490
21541
|
parameters: {
|
|
21491
21542
|
query?: never;
|