@thinkai/tai-api-contract 2.188.0 → 2.189.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.
|
@@ -6117,6 +6117,36 @@ export interface components {
|
|
|
6117
6117
|
/** @description PagerDuty user email when known from the last successful verify. */
|
|
6118
6118
|
userEmail?: string;
|
|
6119
6119
|
};
|
|
6120
|
+
/** @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. */
|
|
6121
|
+
SentrySourceDto: {
|
|
6122
|
+
/** @enum {string} */
|
|
6123
|
+
type: "sentry";
|
|
6124
|
+
/** @description Sentry organization slug (the `{slug}` in `sentry.io/organizations/{slug}/`). */
|
|
6125
|
+
orgSlug: string;
|
|
6126
|
+
/** @description Sentry auth token (organization or internal integration token, write-only on PUT). */
|
|
6127
|
+
token: string;
|
|
6128
|
+
/** @description Optional API base URL for self-hosted Sentry. Default `https://sentry.io/api/0`. */
|
|
6129
|
+
baseUrl?: string;
|
|
6130
|
+
/** @description Optional project slug. When set, only that project's issues and releases are ingested. */
|
|
6131
|
+
projectSlug?: string;
|
|
6132
|
+
/** @description Optional organization display name from a successful connection test (echo-after-test). */
|
|
6133
|
+
orgName?: string;
|
|
6134
|
+
};
|
|
6135
|
+
/** @description Redacted Sentry source returned by `GET /workspaces/{workspaceId}/config`. Raw token is never returned. */
|
|
6136
|
+
SentrySourceConfigDto: {
|
|
6137
|
+
/** @enum {string} */
|
|
6138
|
+
type: "sentry";
|
|
6139
|
+
/** @description Whether an auth token is stored for this workspace. */
|
|
6140
|
+
hasToken: boolean;
|
|
6141
|
+
/** @description Configured Sentry organization slug. */
|
|
6142
|
+
orgSlug: string;
|
|
6143
|
+
/** @description Configured API base URL override, when set. */
|
|
6144
|
+
baseUrl?: string;
|
|
6145
|
+
/** @description Configured project filter, when set. */
|
|
6146
|
+
projectSlug?: string;
|
|
6147
|
+
/** @description Sentry organization name when known from the last successful verify. */
|
|
6148
|
+
orgName?: string;
|
|
6149
|
+
};
|
|
6120
6150
|
/** @description Jira Cloud source for `PUT /workspaces/{workspaceId}/sources` and `POST /workspaces/{workspaceId}/sources/test`. Uses Atlassian Cloud email + API token (Basic auth). Provide `apiToken` (preferred) or legacy write-only `api_key`; the server normalizes `api_key` to `apiToken` on write. */
|
|
6121
6151
|
JiraSourceDto: {
|
|
6122
6152
|
/** @enum {string} */
|
|
@@ -6241,7 +6271,7 @@ export interface components {
|
|
|
6241
6271
|
topics?: components["schemas"]["CodeWikiGuidanceTopicDto"][];
|
|
6242
6272
|
};
|
|
6243
6273
|
WorkspaceConfigDto: {
|
|
6244
|
-
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"]["JiraSourceConfigDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
6274
|
+
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"])[];
|
|
6245
6275
|
orgChart?: components["schemas"]["ScoringOrgChartDto"] | null;
|
|
6246
6276
|
/** @enum {string|null} */
|
|
6247
6277
|
region?: "us" | "eu" | "me" | null;
|
|
@@ -6364,7 +6394,7 @@ export interface components {
|
|
|
6364
6394
|
accountName?: string;
|
|
6365
6395
|
/** @description Present for New Relic or Jira verify success — resolved account ID. */
|
|
6366
6396
|
accountId?: string;
|
|
6367
|
-
/** @description Present for Grafana or
|
|
6397
|
+
/** @description Present for Grafana, Datadog, or Sentry verify success — resolved organization name. */
|
|
6368
6398
|
orgName?: string;
|
|
6369
6399
|
/** @description Present for Prometheus verify success — Alertmanager cluster name. */
|
|
6370
6400
|
clusterName?: string;
|
|
@@ -12991,6 +13021,8 @@ export type SonarQubeRepoMappingValidateRowDto = components['schemas']['SonarQub
|
|
|
12991
13021
|
export type SonarQubeRepoMappingsValidateResponseDto = components['schemas']['SonarQubeRepoMappingsValidateResponseDto'];
|
|
12992
13022
|
export type PagerDutySourceDto = components['schemas']['PagerDutySourceDto'];
|
|
12993
13023
|
export type PagerDutySourceConfigDto = components['schemas']['PagerDutySourceConfigDto'];
|
|
13024
|
+
export type SentrySourceDto = components['schemas']['SentrySourceDto'];
|
|
13025
|
+
export type SentrySourceConfigDto = components['schemas']['SentrySourceConfigDto'];
|
|
12994
13026
|
export type JiraSourceDto = components['schemas']['JiraSourceDto'];
|
|
12995
13027
|
export type JiraSourceConfigDto = components['schemas']['JiraSourceConfigDto'];
|
|
12996
13028
|
export type AgentExecutionProviderDto = components['schemas']['AgentExecutionProviderDto'];
|
|
@@ -16329,7 +16361,7 @@ export interface operations {
|
|
|
16329
16361
|
requestBody: {
|
|
16330
16362
|
content: {
|
|
16331
16363
|
"application/json": {
|
|
16332
|
-
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"]["JiraSourceDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
16364
|
+
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"])[];
|
|
16333
16365
|
};
|
|
16334
16366
|
};
|
|
16335
16367
|
};
|
|
@@ -16383,7 +16415,7 @@ export interface operations {
|
|
|
16383
16415
|
};
|
|
16384
16416
|
requestBody: {
|
|
16385
16417
|
content: {
|
|
16386
|
-
"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"]["JiraSourceDto"] | components["schemas"]["TenantSourceEntryDto"];
|
|
16418
|
+
"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"];
|
|
16387
16419
|
};
|
|
16388
16420
|
};
|
|
16389
16421
|
responses: {
|