@thinkai/tai-api-contract 1.0.2 → 1.0.3

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.
@@ -1,10 +1,11 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ThinkAI API
4
- version: 0.16.0
4
+ version: 0.16.1
5
5
  description: >
6
6
  Contract surface for the Performance Intelligence Platform backend used by ThinkAI.
7
- Tenant-scoped routes use `/tenants/{tenantId}/...` and require membership.
7
+ Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
8
+ Legacy tenant-scoped routes (`/tenants/{tenantId}/...`, `/me/tenants`) are deprecated in runtime and return `410 Gone`.
8
9
  Admin routes use `/admin/...` and require role `admin`.
9
10
  Legacy HTTP routes that exist on the server but are not listed here (for example
10
11
  `PUT /tenants/{tenantId}/dashboard-settings`) remain supported for existing PIP clients;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkai/tai-api-contract",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",