@thinkai/tai-api-contract 2.183.0 → 2.184.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.
@@ -5807,6 +5807,38 @@ export interface components {
5807
5807
  /** @description New Relic user name when known from the last successful verify. */
5808
5808
  userName?: string;
5809
5809
  };
5810
+ /** @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. */
5811
+ DatadogSourceDto: {
5812
+ /** @enum {string} */
5813
+ type: "datadog";
5814
+ /** @description Datadog API key (write-only on PUT; encrypted at rest). */
5815
+ apiKey: string;
5816
+ /** @description Datadog Application key (write-only on PUT; encrypted at rest). */
5817
+ appKey: string;
5818
+ /**
5819
+ * @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.
5820
+ * @enum {string}
5821
+ */
5822
+ site: "datadoghq.com" | "us3.datadoghq.com" | "us5.datadoghq.com" | "datadoghq.eu" | "ap1.datadoghq.com";
5823
+ /** @description Optional org display name returned from a successful connection test. */
5824
+ orgName?: string;
5825
+ };
5826
+ /** @description Redacted Datadog source returned by `GET /workspaces/{workspaceId}/config`. Raw `apiKey` and `appKey` are never returned. */
5827
+ DatadogSourceConfigDto: {
5828
+ /** @enum {string} */
5829
+ type: "datadog";
5830
+ /** @description Whether a Datadog API key is stored for this workspace. */
5831
+ hasApiKey: boolean;
5832
+ /** @description Whether a Datadog Application key is stored for this workspace. */
5833
+ hasAppKey: boolean;
5834
+ /**
5835
+ * @description Configured Datadog site host suffix.
5836
+ * @enum {string}
5837
+ */
5838
+ site: "datadoghq.com" | "us3.datadoghq.com" | "us5.datadoghq.com" | "datadoghq.eu" | "ap1.datadoghq.com";
5839
+ /** @description Org display name when known from the last successful verify. */
5840
+ orgName?: string;
5841
+ };
5810
5842
  /** @description Prometheus / Alertmanager monitoring source for workspace sources PUT and connection test. Provide at least one URL; authentication is optional. */
5811
5843
  PrometheusSourceDto: {
5812
5844
  /** @enum {string} */
@@ -6056,7 +6088,7 @@ export interface components {
6056
6088
  topics?: components["schemas"]["CodeWikiGuidanceTopicDto"][];
6057
6089
  };
6058
6090
  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"])[];
6091
+ 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
6092
  orgChart?: components["schemas"]["ScoringOrgChartDto"] | null;
6061
6093
  /** @enum {string|null} */
6062
6094
  region?: "us" | "eu" | "me" | null;
@@ -6179,7 +6211,7 @@ export interface components {
6179
6211
  accountName?: string;
6180
6212
  /** @description Present for New Relic or Jira verify success — resolved account ID. */
6181
6213
  accountId?: string;
6182
- /** @description Present for Grafana verify success — resolved organization name. */
6214
+ /** @description Present for Grafana or Datadog verify success — resolved organization name. */
6183
6215
  orgName?: string;
6184
6216
  /** @description Present for Prometheus verify success — Alertmanager cluster name. */
6185
6217
  clusterName?: string;
@@ -12556,6 +12588,8 @@ export type CodeIntelligenceSourcePatchDto = components['schemas']['CodeIntellig
12556
12588
  export type CodeIntelligenceSourceConfigDto = components['schemas']['CodeIntelligenceSourceConfigDto'];
12557
12589
  export type NewRelicSourceDto = components['schemas']['NewRelicSourceDto'];
12558
12590
  export type NewRelicSourceConfigDto = components['schemas']['NewRelicSourceConfigDto'];
12591
+ export type DatadogSourceDto = components['schemas']['DatadogSourceDto'];
12592
+ export type DatadogSourceConfigDto = components['schemas']['DatadogSourceConfigDto'];
12559
12593
  export type PrometheusSourceDto = components['schemas']['PrometheusSourceDto'];
12560
12594
  export type PrometheusSourceConfigDto = components['schemas']['PrometheusSourceConfigDto'];
12561
12595
  export type GrafanaSourceDto = components['schemas']['GrafanaSourceDto'];
@@ -15562,7 +15596,7 @@ export interface operations {
15562
15596
  requestBody: {
15563
15597
  content: {
15564
15598
  "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"])[];
15599
+ 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
15600
  };
15567
15601
  };
15568
15602
  };
@@ -15616,7 +15650,7 @@ export interface operations {
15616
15650
  };
15617
15651
  requestBody: {
15618
15652
  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"];
15653
+ "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
15654
  };
15621
15655
  };
15622
15656
  responses: {