@thinkai/tai-api-contract 2.102.0 → 2.103.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.
@@ -1,7 +1,7 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ThinkAI API
4
- version: 2.102.0
4
+ version: 2.103.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}/...`.
@@ -9504,6 +9504,14 @@ components:
9504
9504
  readinessAnonymize:
9505
9505
  type: boolean
9506
9506
  description: Clear `requested_by_user_id` on readiness runs for matching app users.
9507
+ codeChat:
9508
+ type: boolean
9509
+ description: >
9510
+ Delete Engineering Context Graph / Code Chat threads for matching app users
9511
+ in the workspace (messages cascade).
9512
+ codeKnowledgeAnonymize:
9513
+ type: boolean
9514
+ description: Clear `requested_by_user_id` on code-knowledge jobs for matching app users.
9507
9515
 
9508
9516
  EraseInsightsPersonResultDto:
9509
9517
  type: object
@@ -9526,6 +9534,12 @@ components:
9526
9534
  readinessRunsAnonymized:
9527
9535
  type: integer
9528
9536
  minimum: 0
9537
+ codeChatThreadsDeleted:
9538
+ type: integer
9539
+ minimum: 0
9540
+ codeKnowledgeJobsAnonymized:
9541
+ type: integer
9542
+ minimum: 0
9529
9543
  auditEntriesAnonymized:
9530
9544
  type: integer
9531
9545
  minimum: 0
@@ -13290,6 +13304,10 @@ components:
13290
13304
  type: boolean
13291
13305
  readinessAnonymize:
13292
13306
  type: boolean
13307
+ codeChat:
13308
+ type: boolean
13309
+ codeKnowledgeAnonymize:
13310
+ type: boolean
13293
13311
 
13294
13312
  PrivacyRequestPersonErasureResultDto:
13295
13313
  type: object
@@ -13303,6 +13321,10 @@ components:
13303
13321
  type: integer
13304
13322
  readinessRunsAnonymized:
13305
13323
  type: integer
13324
+ codeChatThreadsDeleted:
13325
+ type: integer
13326
+ codeKnowledgeJobsAnonymized:
13327
+ type: integer
13306
13328
  auditEntriesAnonymized:
13307
13329
  type: integer
13308
13330
 
@@ -13344,7 +13366,7 @@ components:
13344
13366
  sections:
13345
13367
  type: object
13346
13368
  additionalProperties: true
13347
- description: Per-source personal data (memberships, AI-tool, dashboard, absences, org chart, activity).
13369
+ description: Per-source personal data (memberships, AI-tool, dashboard, absences, org chart, activity, code chat).
13348
13370
  residualPersonData:
13349
13371
  type: array
13350
13372
  items:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkai/tai-api-contract",
3
- "version": "2.102.0",
3
+ "version": "2.103.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -3760,6 +3760,10 @@ export interface components {
3760
3760
  absences?: boolean;
3761
3761
  /** @description Clear `requested_by_user_id` on readiness runs for matching app users. */
3762
3762
  readinessAnonymize?: boolean;
3763
+ /** @description Delete Engineering Context Graph / Code Chat threads for matching app users in the workspace (messages cascade). */
3764
+ codeChat?: boolean;
3765
+ /** @description Clear `requested_by_user_id` on code-knowledge jobs for matching app users. */
3766
+ codeKnowledgeAnonymize?: boolean;
3763
3767
  };
3764
3768
  EraseInsightsPersonResultDto: {
3765
3769
  /** @enum {boolean} */
@@ -3767,6 +3771,8 @@ export interface components {
3767
3771
  aiToolRowsDeleted: number;
3768
3772
  absencesDeleted: number;
3769
3773
  readinessRunsAnonymized: number;
3774
+ codeChatThreadsDeleted?: number;
3775
+ codeKnowledgeJobsAnonymized?: number;
3770
3776
  auditEntriesAnonymized: number;
3771
3777
  };
3772
3778
  OrgChartNodeDto: {
@@ -5569,12 +5575,16 @@ export interface components {
5569
5575
  aiToolData?: boolean;
5570
5576
  absences?: boolean;
5571
5577
  readinessAnonymize?: boolean;
5578
+ codeChat?: boolean;
5579
+ codeKnowledgeAnonymize?: boolean;
5572
5580
  };
5573
5581
  PrivacyRequestPersonErasureResultDto: {
5574
5582
  deleted: boolean;
5575
5583
  aiToolRowsDeleted?: number;
5576
5584
  absencesDeleted?: number;
5577
5585
  readinessRunsAnonymized?: number;
5586
+ codeChatThreadsDeleted?: number;
5587
+ codeKnowledgeJobsAnonymized?: number;
5578
5588
  auditEntriesAnonymized?: number;
5579
5589
  };
5580
5590
  /** @description DSAR export bundle assembled on demand for an access/portability request. `sections` holds the subject's data grouped by source; shapes vary by section, so values are opaque objects. */
@@ -5595,7 +5605,7 @@ export interface components {
5595
5605
  subject: {
5596
5606
  [key: string]: unknown;
5597
5607
  };
5598
- /** @description Per-source personal data (memberships, AI-tool, dashboard, absences, org chart, activity). */
5608
+ /** @description Per-source personal data (memberships, AI-tool, dashboard, absences, org chart, activity, code chat). */
5599
5609
  sections?: {
5600
5610
  [key: string]: unknown;
5601
5611
  };