@thinkai/tai-api-contract 2.163.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.
|
@@ -4747,7 +4747,7 @@ export interface components {
|
|
|
4747
4747
|
* @enum {string}
|
|
4748
4748
|
*/
|
|
4749
4749
|
WorkspaceInvitationStatusDto: "pending" | "accepted" | "expired" | "revoked" | "rejected";
|
|
4750
|
-
/** @description Workspace invitation as seen by an authenticated admin or invitee. */
|
|
4750
|
+
/** @description Workspace invitation as seen by an authenticated admin or invitee. Inviter identity is omitted from this DTO (mailer uses store rows; public preview exposes `invitedByName` on `WorkspaceInvitationPreviewDto` only). */
|
|
4751
4751
|
WorkspaceInvitationDto: {
|
|
4752
4752
|
/** Format: uuid */
|
|
4753
4753
|
id: string;
|
|
@@ -4759,8 +4759,6 @@ export interface components {
|
|
|
4759
4759
|
/** @enum {string} */
|
|
4760
4760
|
role: "admin" | "editor" | "viewer";
|
|
4761
4761
|
status: components["schemas"]["WorkspaceInvitationStatusDto"];
|
|
4762
|
-
invitedByName?: string | null;
|
|
4763
|
-
invitedByEmail?: string | null;
|
|
4764
4762
|
/** Format: date-time */
|
|
4765
4763
|
expiresAt: string;
|
|
4766
4764
|
/** Format: date-time */
|
|
@@ -6551,10 +6549,10 @@ export interface components {
|
|
|
6551
6549
|
heatmap: components["schemas"]["AiToolMemberHeatmapDayDto"][];
|
|
6552
6550
|
};
|
|
6553
6551
|
MeProfileDto: {
|
|
6552
|
+
/** @description Authenticated subject id (JWT `sub`). */
|
|
6554
6553
|
id: string;
|
|
6555
6554
|
email: string;
|
|
6556
6555
|
name: string;
|
|
6557
|
-
roles: string[];
|
|
6558
6556
|
defaultWorkspaceId?: string | null;
|
|
6559
6557
|
/** @description True when the caller's email is on the `PLATFORM_ADMIN_EMAILS` allowlist. Lets the frontend gate platform-admin surfaces (e.g. the privacy-request queue) without duplicating the allowlist client-side. */
|
|
6560
6558
|
isPlatformAdmin?: boolean;
|
|
@@ -6993,6 +6991,14 @@ export interface components {
|
|
|
6993
6991
|
writeManageUrl?: string | null;
|
|
6994
6992
|
/** @description True when the Automations app is configured and automated fixes are not yet enabled for this installation (UI may show Enable automated fixes). */
|
|
6995
6993
|
canEnableAutomatedFixes: boolean;
|
|
6994
|
+
/** @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. */
|
|
6995
|
+
suspended: boolean;
|
|
6996
|
+
/** @description Human-readable summary when this Insights installation is suspended. */
|
|
6997
|
+
suspendedMessage?: string | null;
|
|
6998
|
+
/** @description True when the linked Automations (write) GitHub App installation is suspended. Does not disconnect source control; automated fixes stay disabled. */
|
|
6999
|
+
writeSuspended: boolean;
|
|
7000
|
+
/** @description Human-readable summary when the Automations installation is suspended. */
|
|
7001
|
+
writeSuspendedMessage?: string | null;
|
|
6996
7002
|
};
|
|
6997
7003
|
GithubPendingApprovalDto: {
|
|
6998
7004
|
/**
|
|
@@ -7170,6 +7176,14 @@ export interface components {
|
|
|
7170
7176
|
writePermissionsOk: boolean;
|
|
7171
7177
|
/** @description True when any connected installation lacks write permissions for automated fixes. */
|
|
7172
7178
|
writePermissionsUpgradeRequired: boolean;
|
|
7179
|
+
/** @description True when any Insights (read) installation on this workspace is suspended. Source-control unlock still succeeds when at least one installation remains active. */
|
|
7180
|
+
suspended: boolean;
|
|
7181
|
+
/** @description Human-readable summary when one or more Insights installations are suspended. */
|
|
7182
|
+
suspendedMessage?: string | null;
|
|
7183
|
+
/** @description True when any linked Automations (write) installation is suspended. */
|
|
7184
|
+
writeSuspended: boolean;
|
|
7185
|
+
/** @description Human-readable summary when Automations write access is suspended. */
|
|
7186
|
+
writeSuspendedMessage?: string | null;
|
|
7173
7187
|
/** @description Aggregated write permissions missing on installations that lack write access. */
|
|
7174
7188
|
missingWritePermissions?: components["schemas"]["GithubMissingPermissionDto"][];
|
|
7175
7189
|
/** @description Human-readable summary when write permissions are missing. */
|
|
@@ -8748,7 +8762,7 @@ export interface components {
|
|
|
8748
8762
|
* @description Type of workspace lifecycle event.
|
|
8749
8763
|
* @enum {string}
|
|
8750
8764
|
*/
|
|
8751
|
-
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";
|
|
8765
|
+
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";
|
|
8752
8766
|
UnsetAssessmentDecisionDto: {
|
|
8753
8767
|
/** @enum {string} */
|
|
8754
8768
|
status: "unset";
|