@thinkai/tai-api-contract 2.183.0 → 2.185.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.
- package/dist/generated/openapi.d.ts +211 -7
- package/dist/generated/openapi.d.ts.map +1 -1
- package/openapi/openapi.yaml +232 -6
- package/package.json +1 -1
- package/src/generated/openapi.ts +211 -7
|
@@ -2226,6 +2226,46 @@ export interface paths {
|
|
|
2226
2226
|
patch?: never;
|
|
2227
2227
|
trace?: never;
|
|
2228
2228
|
};
|
|
2229
|
+
"/workspaces/{workspaceId}/integrations/datadog": {
|
|
2230
|
+
parameters: {
|
|
2231
|
+
query?: never;
|
|
2232
|
+
header?: never;
|
|
2233
|
+
path?: never;
|
|
2234
|
+
cookie?: never;
|
|
2235
|
+
};
|
|
2236
|
+
/**
|
|
2237
|
+
* Datadog monitoring integration status
|
|
2238
|
+
* @description Returns whether Datadog is connected for the workspace (site + dual keys) and the last monitoring ingest sync outcome (incidents/deployments pulled into Quality and DORA metrics).
|
|
2239
|
+
*/
|
|
2240
|
+
get: operations["getWorkspaceDatadogIntegrationStatus"];
|
|
2241
|
+
put?: never;
|
|
2242
|
+
post?: never;
|
|
2243
|
+
delete?: never;
|
|
2244
|
+
options?: never;
|
|
2245
|
+
head?: never;
|
|
2246
|
+
patch?: never;
|
|
2247
|
+
trace?: never;
|
|
2248
|
+
};
|
|
2249
|
+
"/workspaces/{workspaceId}/integrations/datadog/sync": {
|
|
2250
|
+
parameters: {
|
|
2251
|
+
query?: never;
|
|
2252
|
+
header?: never;
|
|
2253
|
+
path?: never;
|
|
2254
|
+
cookie?: never;
|
|
2255
|
+
};
|
|
2256
|
+
get?: never;
|
|
2257
|
+
put?: never;
|
|
2258
|
+
/**
|
|
2259
|
+
* Trigger Datadog monitoring ingest now
|
|
2260
|
+
* @description Manually polls Datadog for incidents and deployment-tagged events, persists canonical monitoring events, and refreshes org-level Quality/DORA dashboard buckets. Requires editor role.
|
|
2261
|
+
*/
|
|
2262
|
+
post: operations["postWorkspaceDatadogIntegrationSync"];
|
|
2263
|
+
delete?: never;
|
|
2264
|
+
options?: never;
|
|
2265
|
+
head?: never;
|
|
2266
|
+
patch?: never;
|
|
2267
|
+
trace?: never;
|
|
2268
|
+
};
|
|
2229
2269
|
"/integrations/github/webhook": {
|
|
2230
2270
|
parameters: {
|
|
2231
2271
|
query?: never;
|
|
@@ -5807,6 +5847,38 @@ export interface components {
|
|
|
5807
5847
|
/** @description New Relic user name when known from the last successful verify. */
|
|
5808
5848
|
userName?: string;
|
|
5809
5849
|
};
|
|
5850
|
+
/** @description Datadog monitoring source for `PUT /workspaces/{workspaceId}/sources` and `POST /workspaces/{workspaceId}/sources/test`. Requires an API key, an Application key, and a site host suffix (US1/US3/US5/EU/AP1). Raw keys are write-only. */
|
|
5851
|
+
DatadogSourceDto: {
|
|
5852
|
+
/** @enum {string} */
|
|
5853
|
+
type: "datadog";
|
|
5854
|
+
/** @description Datadog API key (write-only on PUT; encrypted at rest). */
|
|
5855
|
+
apiKey: string;
|
|
5856
|
+
/** @description Datadog Application key (write-only on PUT; encrypted at rest). */
|
|
5857
|
+
appKey: string;
|
|
5858
|
+
/**
|
|
5859
|
+
* @description Datadog site host suffix. Maps to API host `api.{site}` (US1 `datadoghq.com`, US3 `us3.datadoghq.com`, US5 `us5.datadoghq.com`, EU `datadoghq.eu`, AP1 `ap1.datadoghq.com`). Gov/custom sites are out of scope.
|
|
5860
|
+
* @enum {string}
|
|
5861
|
+
*/
|
|
5862
|
+
site: "datadoghq.com" | "us3.datadoghq.com" | "us5.datadoghq.com" | "datadoghq.eu" | "ap1.datadoghq.com";
|
|
5863
|
+
/** @description Optional org display name returned from a successful connection test. */
|
|
5864
|
+
orgName?: string;
|
|
5865
|
+
};
|
|
5866
|
+
/** @description Redacted Datadog source returned by `GET /workspaces/{workspaceId}/config`. Raw `apiKey` and `appKey` are never returned. */
|
|
5867
|
+
DatadogSourceConfigDto: {
|
|
5868
|
+
/** @enum {string} */
|
|
5869
|
+
type: "datadog";
|
|
5870
|
+
/** @description Whether a Datadog API key is stored for this workspace. */
|
|
5871
|
+
hasApiKey: boolean;
|
|
5872
|
+
/** @description Whether a Datadog Application key is stored for this workspace. */
|
|
5873
|
+
hasAppKey: boolean;
|
|
5874
|
+
/**
|
|
5875
|
+
* @description Configured Datadog site host suffix.
|
|
5876
|
+
* @enum {string}
|
|
5877
|
+
*/
|
|
5878
|
+
site: "datadoghq.com" | "us3.datadoghq.com" | "us5.datadoghq.com" | "datadoghq.eu" | "ap1.datadoghq.com";
|
|
5879
|
+
/** @description Org display name when known from the last successful verify. */
|
|
5880
|
+
orgName?: string;
|
|
5881
|
+
};
|
|
5810
5882
|
/** @description Prometheus / Alertmanager monitoring source for workspace sources PUT and connection test. Provide at least one URL; authentication is optional. */
|
|
5811
5883
|
PrometheusSourceDto: {
|
|
5812
5884
|
/** @enum {string} */
|
|
@@ -6056,7 +6128,7 @@ export interface components {
|
|
|
6056
6128
|
topics?: components["schemas"]["CodeWikiGuidanceTopicDto"][];
|
|
6057
6129
|
};
|
|
6058
6130
|
WorkspaceConfigDto: {
|
|
6059
|
-
sources: (components["schemas"]["CursorSourceConfigDto"] | components["schemas"]["ClaudeSourceConfigDto"] | components["schemas"]["CodeIntelligenceSourceConfigDto"] | components["schemas"]["NewRelicSourceConfigDto"] | components["schemas"]["PrometheusSourceConfigDto"] | components["schemas"]["GrafanaSourceConfigDto"] | components["schemas"]["SonarQubeSourceConfigDto"] | components["schemas"]["PagerDutySourceConfigDto"] | components["schemas"]["JiraSourceConfigDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
6131
|
+
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"])[];
|
|
6060
6132
|
orgChart?: components["schemas"]["ScoringOrgChartDto"] | null;
|
|
6061
6133
|
/** @enum {string|null} */
|
|
6062
6134
|
region?: "us" | "eu" | "me" | null;
|
|
@@ -6179,7 +6251,7 @@ export interface components {
|
|
|
6179
6251
|
accountName?: string;
|
|
6180
6252
|
/** @description Present for New Relic or Jira verify success — resolved account ID. */
|
|
6181
6253
|
accountId?: string;
|
|
6182
|
-
/** @description Present for Grafana verify success — resolved organization name. */
|
|
6254
|
+
/** @description Present for Grafana or Datadog verify success — resolved organization name. */
|
|
6183
6255
|
orgName?: string;
|
|
6184
6256
|
/** @description Present for Prometheus verify success — Alertmanager cluster name. */
|
|
6185
6257
|
clusterName?: string;
|
|
@@ -7874,6 +7946,50 @@ export interface components {
|
|
|
7874
7946
|
durationMs?: number;
|
|
7875
7947
|
error?: string;
|
|
7876
7948
|
};
|
|
7949
|
+
DatadogIntegrationStatusDto: {
|
|
7950
|
+
/** @description True when a type:datadog workspace source is configured. */
|
|
7951
|
+
connected: boolean;
|
|
7952
|
+
/**
|
|
7953
|
+
* @description Configured Datadog site when connected.
|
|
7954
|
+
* @enum {string}
|
|
7955
|
+
*/
|
|
7956
|
+
site?: "datadoghq.com" | "us3.datadoghq.com" | "us5.datadoghq.com" | "datadoghq.eu" | "ap1.datadoghq.com";
|
|
7957
|
+
/** @description Org display name when known from the last successful verify. */
|
|
7958
|
+
orgName?: string;
|
|
7959
|
+
/**
|
|
7960
|
+
* Format: date-time
|
|
7961
|
+
* @description Timestamp of the last monitoring ingest attempt (success or failure).
|
|
7962
|
+
*/
|
|
7963
|
+
lastSyncAt?: string | null;
|
|
7964
|
+
/**
|
|
7965
|
+
* @description Outcome of the most recent sync (`never` when not yet synced).
|
|
7966
|
+
* @enum {string}
|
|
7967
|
+
*/
|
|
7968
|
+
status: "ok" | "error" | "never";
|
|
7969
|
+
lastError?: string | null;
|
|
7970
|
+
/** @description Incidents fetched on the last successful sync (30d lookback). */
|
|
7971
|
+
issueCount?: number | null;
|
|
7972
|
+
/** @description Deployment-tagged events fetched on the last successful sync (30d lookback). */
|
|
7973
|
+
deploymentCount?: number | null;
|
|
7974
|
+
/** @description Canonical monitoring events upserted on the last successful sync. */
|
|
7975
|
+
eventCount?: number | null;
|
|
7976
|
+
};
|
|
7977
|
+
DatadogTriggerSyncResultDto: {
|
|
7978
|
+
/** @enum {string} */
|
|
7979
|
+
status: "ok" | "skipped" | "error";
|
|
7980
|
+
/** @description Stable machine-readable code (e.g. `datadog_not_connected`). */
|
|
7981
|
+
code?: string;
|
|
7982
|
+
/** @description Human-readable skip reason when status is skipped. */
|
|
7983
|
+
reason?: string;
|
|
7984
|
+
issueCount?: number;
|
|
7985
|
+
deploymentCount?: number;
|
|
7986
|
+
eventCount?: number;
|
|
7987
|
+
/** @description Weekly dashboard metric buckets updated from monitoring events. */
|
|
7988
|
+
bucketsWritten?: number;
|
|
7989
|
+
durationMs?: number;
|
|
7990
|
+
/** @description Error message when status is error. */
|
|
7991
|
+
error?: string;
|
|
7992
|
+
};
|
|
7877
7993
|
GithubActionsEnableResponseDto: {
|
|
7878
7994
|
/** @enum {string} */
|
|
7879
7995
|
outcome: "enabled" | "needs_github" | "permissions_missing" | "error";
|
|
@@ -9569,7 +9685,7 @@ export interface components {
|
|
|
9569
9685
|
* @description Type of workspace lifecycle event.
|
|
9570
9686
|
* @enum {string}
|
|
9571
9687
|
*/
|
|
9572
|
-
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" | "report.assessment_stored" | "report.assessment_link_sent" | "report.assessment_link_revoked" | "report.assessment_downloaded" | "report.assessment_hidden" | "report.assessment_restored" | "workspace.aggregate_use.changed" | "workspace.assessment_rollout.changed";
|
|
9688
|
+
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.datadog.added" | "integrations.datadog.removed" | "integrations.datadog.sync_completed" | "integrations.datadog.sync_failed" | "integrations.zelt.added" | "integrations.zelt.removed" | "report.exported" | "report.assessment_stored" | "report.assessment_link_sent" | "report.assessment_link_revoked" | "report.assessment_downloaded" | "report.assessment_hidden" | "report.assessment_restored" | "workspace.aggregate_use.changed" | "workspace.assessment_rollout.changed";
|
|
9573
9689
|
/** @description Current legal-approved opt-in notice, or `unset` while opt-in is unavailable. */
|
|
9574
9690
|
AggregateUseNoticeStatusDto: {
|
|
9575
9691
|
/** @enum {string} */
|
|
@@ -9732,7 +9848,7 @@ export interface components {
|
|
|
9732
9848
|
};
|
|
9733
9849
|
AssessmentDictionaryDto: {
|
|
9734
9850
|
/** @enum {string} */
|
|
9735
|
-
version: "2026-10-
|
|
9851
|
+
version: "2026-10-25.1";
|
|
9736
9852
|
/** @enum {integer} */
|
|
9737
9853
|
periodDays: 90;
|
|
9738
9854
|
/** @enum {integer} */
|
|
@@ -9768,7 +9884,7 @@ export interface components {
|
|
|
9768
9884
|
aiProviders: ("cursor" | "claude" | "copilot")[];
|
|
9769
9885
|
optionalProviders: {
|
|
9770
9886
|
roadmap: "jira"[];
|
|
9771
|
-
incident: ("pagerduty" | "opsgenie" | "goalert" | "newrelic" | "prometheus" | "grafana")[];
|
|
9887
|
+
incident: ("pagerduty" | "opsgenie" | "goalert" | "newrelic" | "prometheus" | "grafana" | "datadog")[];
|
|
9772
9888
|
};
|
|
9773
9889
|
selfManagedGit: {
|
|
9774
9890
|
/** @enum {string} */
|
|
@@ -12556,6 +12672,8 @@ export type CodeIntelligenceSourcePatchDto = components['schemas']['CodeIntellig
|
|
|
12556
12672
|
export type CodeIntelligenceSourceConfigDto = components['schemas']['CodeIntelligenceSourceConfigDto'];
|
|
12557
12673
|
export type NewRelicSourceDto = components['schemas']['NewRelicSourceDto'];
|
|
12558
12674
|
export type NewRelicSourceConfigDto = components['schemas']['NewRelicSourceConfigDto'];
|
|
12675
|
+
export type DatadogSourceDto = components['schemas']['DatadogSourceDto'];
|
|
12676
|
+
export type DatadogSourceConfigDto = components['schemas']['DatadogSourceConfigDto'];
|
|
12559
12677
|
export type PrometheusSourceDto = components['schemas']['PrometheusSourceDto'];
|
|
12560
12678
|
export type PrometheusSourceConfigDto = components['schemas']['PrometheusSourceConfigDto'];
|
|
12561
12679
|
export type GrafanaSourceDto = components['schemas']['GrafanaSourceDto'];
|
|
@@ -12718,6 +12836,8 @@ export type PrometheusIntegrationStatusDto = components['schemas']['PrometheusIn
|
|
|
12718
12836
|
export type PrometheusTriggerSyncResultDto = components['schemas']['PrometheusTriggerSyncResultDto'];
|
|
12719
12837
|
export type GrafanaIntegrationStatusDto = components['schemas']['GrafanaIntegrationStatusDto'];
|
|
12720
12838
|
export type GrafanaTriggerSyncResultDto = components['schemas']['GrafanaTriggerSyncResultDto'];
|
|
12839
|
+
export type DatadogIntegrationStatusDto = components['schemas']['DatadogIntegrationStatusDto'];
|
|
12840
|
+
export type DatadogTriggerSyncResultDto = components['schemas']['DatadogTriggerSyncResultDto'];
|
|
12721
12841
|
export type GithubActionsEnableResponseDto = components['schemas']['GithubActionsEnableResponseDto'];
|
|
12722
12842
|
export type GithubInstallationStatusDto = components['schemas']['GithubInstallationStatusDto'];
|
|
12723
12843
|
export type GithubInstallUrlRequestDto = components['schemas']['GithubInstallUrlRequestDto'];
|
|
@@ -15562,7 +15682,7 @@ export interface operations {
|
|
|
15562
15682
|
requestBody: {
|
|
15563
15683
|
content: {
|
|
15564
15684
|
"application/json": {
|
|
15565
|
-
sources: (components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
15685
|
+
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"])[];
|
|
15566
15686
|
};
|
|
15567
15687
|
};
|
|
15568
15688
|
};
|
|
@@ -15616,7 +15736,7 @@ export interface operations {
|
|
|
15616
15736
|
};
|
|
15617
15737
|
requestBody: {
|
|
15618
15738
|
content: {
|
|
15619
|
-
"application/json": components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["TenantSourceEntryDto"];
|
|
15739
|
+
"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"];
|
|
15620
15740
|
};
|
|
15621
15741
|
};
|
|
15622
15742
|
responses: {
|
|
@@ -19372,6 +19492,90 @@ export interface operations {
|
|
|
19372
19492
|
};
|
|
19373
19493
|
};
|
|
19374
19494
|
};
|
|
19495
|
+
getWorkspaceDatadogIntegrationStatus: {
|
|
19496
|
+
parameters: {
|
|
19497
|
+
query?: never;
|
|
19498
|
+
header?: never;
|
|
19499
|
+
path: {
|
|
19500
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
19501
|
+
};
|
|
19502
|
+
cookie?: never;
|
|
19503
|
+
};
|
|
19504
|
+
requestBody?: never;
|
|
19505
|
+
responses: {
|
|
19506
|
+
/** @description Datadog integration status */
|
|
19507
|
+
200: {
|
|
19508
|
+
headers: {
|
|
19509
|
+
[name: string]: unknown;
|
|
19510
|
+
};
|
|
19511
|
+
content: {
|
|
19512
|
+
"application/json": components["schemas"]["DatadogIntegrationStatusDto"];
|
|
19513
|
+
};
|
|
19514
|
+
};
|
|
19515
|
+
401: components["responses"]["Unauthorized"];
|
|
19516
|
+
403: components["responses"]["Forbidden"];
|
|
19517
|
+
/** @description Workspace does not exist or malformed workspaceId */
|
|
19518
|
+
404: {
|
|
19519
|
+
headers: {
|
|
19520
|
+
[name: string]: unknown;
|
|
19521
|
+
};
|
|
19522
|
+
content: {
|
|
19523
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19524
|
+
};
|
|
19525
|
+
};
|
|
19526
|
+
};
|
|
19527
|
+
};
|
|
19528
|
+
postWorkspaceDatadogIntegrationSync: {
|
|
19529
|
+
parameters: {
|
|
19530
|
+
query?: never;
|
|
19531
|
+
header?: never;
|
|
19532
|
+
path: {
|
|
19533
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
19534
|
+
};
|
|
19535
|
+
cookie?: never;
|
|
19536
|
+
};
|
|
19537
|
+
requestBody?: never;
|
|
19538
|
+
responses: {
|
|
19539
|
+
/** @description Sync completed */
|
|
19540
|
+
200: {
|
|
19541
|
+
headers: {
|
|
19542
|
+
[name: string]: unknown;
|
|
19543
|
+
};
|
|
19544
|
+
content: {
|
|
19545
|
+
"application/json": components["schemas"]["DatadogTriggerSyncResultDto"];
|
|
19546
|
+
};
|
|
19547
|
+
};
|
|
19548
|
+
401: components["responses"]["Unauthorized"];
|
|
19549
|
+
403: components["responses"]["Forbidden"];
|
|
19550
|
+
/** @description Workspace does not exist or malformed workspaceId */
|
|
19551
|
+
404: {
|
|
19552
|
+
headers: {
|
|
19553
|
+
[name: string]: unknown;
|
|
19554
|
+
};
|
|
19555
|
+
content: {
|
|
19556
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19557
|
+
};
|
|
19558
|
+
};
|
|
19559
|
+
/** @description Datadog is not connected on this workspace */
|
|
19560
|
+
422: {
|
|
19561
|
+
headers: {
|
|
19562
|
+
[name: string]: unknown;
|
|
19563
|
+
};
|
|
19564
|
+
content: {
|
|
19565
|
+
"application/json": components["schemas"]["DatadogTriggerSyncResultDto"];
|
|
19566
|
+
};
|
|
19567
|
+
};
|
|
19568
|
+
/** @description Sync failed (Datadog API or persistence error) */
|
|
19569
|
+
503: {
|
|
19570
|
+
headers: {
|
|
19571
|
+
[name: string]: unknown;
|
|
19572
|
+
};
|
|
19573
|
+
content: {
|
|
19574
|
+
"application/json": components["schemas"]["DatadogTriggerSyncResultDto"];
|
|
19575
|
+
};
|
|
19576
|
+
};
|
|
19577
|
+
};
|
|
19578
|
+
};
|
|
19375
19579
|
postGithubWebhook: {
|
|
19376
19580
|
parameters: {
|
|
19377
19581
|
query?: never;
|