@thinkai/tai-api-contract 2.206.0 → 2.207.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.
|
@@ -6302,6 +6302,28 @@ export interface components {
|
|
|
6302
6302
|
/** @description PagerDuty user email when known from the last successful verify. */
|
|
6303
6303
|
userEmail?: string;
|
|
6304
6304
|
};
|
|
6305
|
+
/** @description incident.io incident-management source for `PUT /workspaces/{workspaceId}/sources` and `POST /workspaces/{workspaceId}/sources/test`. Requires an incident.io API key (incident.io → Settings → API keys) with permission to view incidents. The API host is fixed (`https://api.incident.io`); there is no base URL field. */
|
|
6306
|
+
IncidentIoSourceDto: {
|
|
6307
|
+
/** @enum {string} */
|
|
6308
|
+
type: "incidentio";
|
|
6309
|
+
/** @description incident.io API key (Bearer, write-only on PUT). */
|
|
6310
|
+
token: string;
|
|
6311
|
+
/** @description Optional API key name from a successful connection test (echo-after-test). */
|
|
6312
|
+
keyName?: string;
|
|
6313
|
+
/** @description Optional incident.io dashboard URL from a successful connection test (echo-after-test). */
|
|
6314
|
+
dashboardUrl?: string;
|
|
6315
|
+
};
|
|
6316
|
+
/** @description Redacted incident.io source returned by `GET /workspaces/{workspaceId}/config`. Raw token is never returned. */
|
|
6317
|
+
IncidentIoSourceConfigDto: {
|
|
6318
|
+
/** @enum {string} */
|
|
6319
|
+
type: "incidentio";
|
|
6320
|
+
/** @description Whether an API key is stored for this workspace. */
|
|
6321
|
+
hasToken: boolean;
|
|
6322
|
+
/** @description incident.io API key name when known from the last successful verify. */
|
|
6323
|
+
keyName?: string;
|
|
6324
|
+
/** @description incident.io dashboard URL when known from the last successful verify. */
|
|
6325
|
+
dashboardUrl?: string;
|
|
6326
|
+
};
|
|
6305
6327
|
/** @description Sentry incident and release source for `PUT /workspaces/{workspaceId}/sources` and `POST /workspaces/{workspaceId}/sources/test`. Requires an organization slug and an auth token with `org:read`, `event:read`, and `project:read`. Issues map to incident events and releases with a commit or environment map to deployment events. */
|
|
6306
6328
|
SentrySourceDto: {
|
|
6307
6329
|
/** @enum {string} */
|
|
@@ -6456,7 +6478,7 @@ export interface components {
|
|
|
6456
6478
|
topics?: components["schemas"]["CodeWikiGuidanceTopicDto"][];
|
|
6457
6479
|
};
|
|
6458
6480
|
WorkspaceConfigDto: {
|
|
6459
|
-
sources: (components["schemas"]["CursorSourceConfigDto"] | components["schemas"]["ClaudeSourceConfigDto"] | components["schemas"]["CodeIntelligenceSourceConfigDto"] | components["schemas"]["NewRelicSourceConfigDto"] | components["schemas"]["DatadogSourceConfigDto"] | components["schemas"]["PrometheusSourceConfigDto"] | components["schemas"]["GrafanaSourceConfigDto"] | components["schemas"]["SonarQubeSourceConfigDto"] | components["schemas"]["PagerDutySourceConfigDto"] | components["schemas"]["SentrySourceConfigDto"] | components["schemas"]["JiraSourceConfigDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
6481
|
+
sources: (components["schemas"]["CursorSourceConfigDto"] | components["schemas"]["ClaudeSourceConfigDto"] | components["schemas"]["CodeIntelligenceSourceConfigDto"] | components["schemas"]["NewRelicSourceConfigDto"] | components["schemas"]["DatadogSourceConfigDto"] | components["schemas"]["PrometheusSourceConfigDto"] | components["schemas"]["GrafanaSourceConfigDto"] | components["schemas"]["SonarQubeSourceConfigDto"] | components["schemas"]["PagerDutySourceConfigDto"] | components["schemas"]["IncidentIoSourceConfigDto"] | components["schemas"]["SentrySourceConfigDto"] | components["schemas"]["JiraSourceConfigDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
6460
6482
|
orgChart?: components["schemas"]["ScoringOrgChartDto"] | null;
|
|
6461
6483
|
/** @enum {string|null} */
|
|
6462
6484
|
region?: "us" | "eu" | "me" | null;
|
|
@@ -6651,6 +6673,10 @@ export interface components {
|
|
|
6651
6673
|
accountId?: string;
|
|
6652
6674
|
/** @description Present for Grafana, Datadog, or Sentry verify success — resolved organization name. */
|
|
6653
6675
|
orgName?: string;
|
|
6676
|
+
/** @description Present for incident.io verify success — API key name from `GET /v1/identity`. */
|
|
6677
|
+
keyName?: string;
|
|
6678
|
+
/** @description Present for incident.io verify success — organization dashboard URL from `GET /v1/identity`. */
|
|
6679
|
+
dashboardUrl?: string;
|
|
6654
6680
|
/** @description Present for Prometheus verify success — Alertmanager cluster name. */
|
|
6655
6681
|
clusterName?: string;
|
|
6656
6682
|
/** @description Present for Prometheus verify success — Alertmanager version when available. */
|
|
@@ -13404,6 +13430,8 @@ export type SonarQubeRepoMappingValidateRowDto = components['schemas']['SonarQub
|
|
|
13404
13430
|
export type SonarQubeRepoMappingsValidateResponseDto = components['schemas']['SonarQubeRepoMappingsValidateResponseDto'];
|
|
13405
13431
|
export type PagerDutySourceDto = components['schemas']['PagerDutySourceDto'];
|
|
13406
13432
|
export type PagerDutySourceConfigDto = components['schemas']['PagerDutySourceConfigDto'];
|
|
13433
|
+
export type IncidentIoSourceDto = components['schemas']['IncidentIoSourceDto'];
|
|
13434
|
+
export type IncidentIoSourceConfigDto = components['schemas']['IncidentIoSourceConfigDto'];
|
|
13407
13435
|
export type SentrySourceDto = components['schemas']['SentrySourceDto'];
|
|
13408
13436
|
export type SentrySourceConfigDto = components['schemas']['SentrySourceConfigDto'];
|
|
13409
13437
|
export type JiraSourceDto = components['schemas']['JiraSourceDto'];
|
|
@@ -17080,7 +17108,7 @@ export interface operations {
|
|
|
17080
17108
|
requestBody: {
|
|
17081
17109
|
content: {
|
|
17082
17110
|
"application/json": {
|
|
17083
|
-
sources: (components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["DatadogSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
17111
|
+
sources: (components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["DatadogSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["IncidentIoSourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
17084
17112
|
};
|
|
17085
17113
|
};
|
|
17086
17114
|
};
|
|
@@ -17134,7 +17162,7 @@ export interface operations {
|
|
|
17134
17162
|
};
|
|
17135
17163
|
requestBody: {
|
|
17136
17164
|
content: {
|
|
17137
|
-
"application/json": components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["DatadogSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["TenantSourceEntryDto"];
|
|
17165
|
+
"application/json": components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["DatadogSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["IncidentIoSourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["TenantSourceEntryDto"];
|
|
17138
17166
|
};
|
|
17139
17167
|
};
|
|
17140
17168
|
responses: {
|