@thinkai/tai-api-contract 2.164.0 → 2.165.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.164.0
4
+ version: 2.165.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}/...`.
@@ -16532,6 +16532,8 @@ components:
16532
16532
  - automatedFixesEnabled
16533
16533
  - writeAppInstalled
16534
16534
  - canEnableAutomatedFixes
16535
+ - suspended
16536
+ - writeSuspended
16535
16537
  properties:
16536
16538
  installationId:
16537
16539
  type: string
@@ -16651,6 +16653,24 @@ components:
16651
16653
  description: >
16652
16654
  True when the Automations app is configured and automated fixes are not yet
16653
16655
  enabled for this installation (UI may show Enable automated fixes).
16656
+ suspended:
16657
+ type: boolean
16658
+ description: >
16659
+ True when this Insights (read) GitHub App installation is suspended on GitHub.
16660
+ The workspace row is kept; token mint and core permissions are fail-closed.
16661
+ suspendedMessage:
16662
+ type: string
16663
+ nullable: true
16664
+ description: Human-readable summary when this Insights installation is suspended.
16665
+ writeSuspended:
16666
+ type: boolean
16667
+ description: >
16668
+ True when the linked Automations (write) GitHub App installation is suspended.
16669
+ Does not disconnect source control; automated fixes stay disabled.
16670
+ writeSuspendedMessage:
16671
+ type: string
16672
+ nullable: true
16673
+ description: Human-readable summary when the Automations installation is suspended.
16654
16674
 
16655
16675
  GithubPendingApprovalDto:
16656
16676
  type: object
@@ -16944,6 +16964,8 @@ components:
16944
16964
  - financialPermissionsOk
16945
16965
  - writePermissionsOk
16946
16966
  - writePermissionsUpgradeRequired
16967
+ - suspended
16968
+ - writeSuspended
16947
16969
  properties:
16948
16970
  installed:
16949
16971
  type: boolean
@@ -16992,6 +17014,22 @@ components:
16992
17014
  writePermissionsUpgradeRequired:
16993
17015
  type: boolean
16994
17016
  description: True when any connected installation lacks write permissions for automated fixes.
17017
+ suspended:
17018
+ type: boolean
17019
+ description: >
17020
+ True when any Insights (read) installation on this workspace is suspended.
17021
+ Source-control unlock still succeeds when at least one installation remains active.
17022
+ suspendedMessage:
17023
+ type: string
17024
+ nullable: true
17025
+ description: Human-readable summary when one or more Insights installations are suspended.
17026
+ writeSuspended:
17027
+ type: boolean
17028
+ description: True when any linked Automations (write) installation is suspended.
17029
+ writeSuspendedMessage:
17030
+ type: string
17031
+ nullable: true
17032
+ description: Human-readable summary when Automations write access is suspended.
16995
17033
  missingWritePermissions:
16996
17034
  type: array
16997
17035
  items:
@@ -20590,6 +20628,8 @@ components:
20590
20628
  - integration.github.updated
20591
20629
  - integration.github.removed
20592
20630
  - integration.github.permissions_changed
20631
+ - integration.github.suspended
20632
+ - integration.github.unsuspended
20593
20633
  - integration.github.repo_added
20594
20634
  - integration.github.repo_removed
20595
20635
  - fix.requested
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkai/tai-api-contract",
3
- "version": "2.164.0",
3
+ "version": "2.165.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -6992,6 +6992,14 @@ export interface components {
6992
6992
  writeManageUrl?: string | null;
6993
6993
  /** @description True when the Automations app is configured and automated fixes are not yet enabled for this installation (UI may show Enable automated fixes). */
6994
6994
  canEnableAutomatedFixes: boolean;
6995
+ /** @description True when this Insights (read) GitHub App installation is suspended on GitHub. The workspace row is kept; token mint and core permissions are fail-closed. */
6996
+ suspended: boolean;
6997
+ /** @description Human-readable summary when this Insights installation is suspended. */
6998
+ suspendedMessage?: string | null;
6999
+ /** @description True when the linked Automations (write) GitHub App installation is suspended. Does not disconnect source control; automated fixes stay disabled. */
7000
+ writeSuspended: boolean;
7001
+ /** @description Human-readable summary when the Automations installation is suspended. */
7002
+ writeSuspendedMessage?: string | null;
6995
7003
  };
6996
7004
  GithubPendingApprovalDto: {
6997
7005
  /**
@@ -7169,6 +7177,14 @@ export interface components {
7169
7177
  writePermissionsOk: boolean;
7170
7178
  /** @description True when any connected installation lacks write permissions for automated fixes. */
7171
7179
  writePermissionsUpgradeRequired: boolean;
7180
+ /** @description True when any Insights (read) installation on this workspace is suspended. Source-control unlock still succeeds when at least one installation remains active. */
7181
+ suspended: boolean;
7182
+ /** @description Human-readable summary when one or more Insights installations are suspended. */
7183
+ suspendedMessage?: string | null;
7184
+ /** @description True when any linked Automations (write) installation is suspended. */
7185
+ writeSuspended: boolean;
7186
+ /** @description Human-readable summary when Automations write access is suspended. */
7187
+ writeSuspendedMessage?: string | null;
7172
7188
  /** @description Aggregated write permissions missing on installations that lack write access. */
7173
7189
  missingWritePermissions?: components["schemas"]["GithubMissingPermissionDto"][];
7174
7190
  /** @description Human-readable summary when write permissions are missing. */
@@ -8747,7 +8763,7 @@ export interface components {
8747
8763
  * @description Type of workspace lifecycle event.
8748
8764
  * @enum {string}
8749
8765
  */
8750
- 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" | "code_insights.design_run_started" | "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.invite_accepted" | "member.invite_rejected" | "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.zelt.sync_started" | "hris.zelt.sync_completed" | "hris.zelt.sync_failed" | "hris.hibob.sync_started" | "hris.hibob.sync_completed" | "hris.hibob.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" | "integrations.code_intelligence.settings_changed" | "integrations.code_intelligence.execution_key.added" | "integrations.code_intelligence.execution_key.updated" | "integrations.code_intelligence.execution_key.removed" | "integrations.code_intelligence.execution_key.check_failed" | "readiness.scan_precheck_failed" | "productivity.ingest.completed" | "productivity.ingest.failed" | "productivity.ingest.skipped" | "productivity.ingest.repo_skipped" | "productivity.ingest.coverage_gap_detected" | "integrations.newrelic.added" | "integrations.newrelic.removed" | "integrations.newrelic.sync_completed" | "integrations.newrelic.sync_failed" | "integrations.prometheus.added" | "integrations.prometheus.removed" | "integrations.prometheus.sync_completed" | "integrations.prometheus.sync_failed" | "integrations.grafana.added" | "integrations.grafana.removed" | "integrations.grafana.sync_completed" | "integrations.grafana.sync_failed" | "integrations.zelt.added" | "integrations.zelt.removed" | "report.exported" | "workspace.aggregate_use.changed";
8766
+ ActivityLogEventTypeDto: "repo.added" | "repo.removed" | "repo.readded" | "integration.github.added" | "integration.github.updated" | "integration.github.removed" | "integration.github.permissions_changed" | "integration.github.suspended" | "integration.github.unsuspended" | "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" | "code_insights.design_run_started" | "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.invite_accepted" | "member.invite_rejected" | "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.zelt.sync_started" | "hris.zelt.sync_completed" | "hris.zelt.sync_failed" | "hris.hibob.sync_started" | "hris.hibob.sync_completed" | "hris.hibob.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" | "integrations.code_intelligence.settings_changed" | "integrations.code_intelligence.execution_key.added" | "integrations.code_intelligence.execution_key.updated" | "integrations.code_intelligence.execution_key.removed" | "integrations.code_intelligence.execution_key.check_failed" | "readiness.scan_precheck_failed" | "productivity.ingest.completed" | "productivity.ingest.failed" | "productivity.ingest.skipped" | "productivity.ingest.repo_skipped" | "productivity.ingest.coverage_gap_detected" | "integrations.newrelic.added" | "integrations.newrelic.removed" | "integrations.newrelic.sync_completed" | "integrations.newrelic.sync_failed" | "integrations.prometheus.added" | "integrations.prometheus.removed" | "integrations.prometheus.sync_completed" | "integrations.prometheus.sync_failed" | "integrations.grafana.added" | "integrations.grafana.removed" | "integrations.grafana.sync_completed" | "integrations.grafana.sync_failed" | "integrations.zelt.added" | "integrations.zelt.removed" | "report.exported" | "workspace.aggregate_use.changed";
8751
8767
  UnsetAssessmentDecisionDto: {
8752
8768
  /** @enum {string} */
8753
8769
  status: "unset";