@thinkai/tai-api-contract 2.59.0 → 2.60.0-pr.908.ff5ee5ac

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.
@@ -1397,6 +1397,86 @@ export interface paths {
1397
1397
  patch?: never;
1398
1398
  trace?: never;
1399
1399
  };
1400
+ "/workspaces/{workspaceId}/integrations/prometheus": {
1401
+ parameters: {
1402
+ query?: never;
1403
+ header?: never;
1404
+ path?: never;
1405
+ cookie?: never;
1406
+ };
1407
+ /**
1408
+ * Prometheus monitoring integration status
1409
+ * @description Returns whether Prometheus/Alertmanager is connected and the last monitoring ingest sync outcome.
1410
+ */
1411
+ get: operations["getWorkspacePrometheusIntegrationStatus"];
1412
+ put?: never;
1413
+ post?: never;
1414
+ delete?: never;
1415
+ options?: never;
1416
+ head?: never;
1417
+ patch?: never;
1418
+ trace?: never;
1419
+ };
1420
+ "/workspaces/{workspaceId}/integrations/prometheus/sync": {
1421
+ parameters: {
1422
+ query?: never;
1423
+ header?: never;
1424
+ path?: never;
1425
+ cookie?: never;
1426
+ };
1427
+ get?: never;
1428
+ put?: never;
1429
+ /**
1430
+ * Trigger Prometheus monitoring ingest now
1431
+ * @description Manually polls Alertmanager for firing/resolved alerts and refreshes Quality dashboard buckets. Requires editor role.
1432
+ */
1433
+ post: operations["postWorkspacePrometheusIntegrationSync"];
1434
+ delete?: never;
1435
+ options?: never;
1436
+ head?: never;
1437
+ patch?: never;
1438
+ trace?: never;
1439
+ };
1440
+ "/workspaces/{workspaceId}/integrations/grafana": {
1441
+ parameters: {
1442
+ query?: never;
1443
+ header?: never;
1444
+ path?: never;
1445
+ cookie?: never;
1446
+ };
1447
+ /**
1448
+ * Grafana monitoring integration status
1449
+ * @description Returns whether Grafana is connected and the last monitoring ingest sync outcome.
1450
+ */
1451
+ get: operations["getWorkspaceGrafanaIntegrationStatus"];
1452
+ put?: never;
1453
+ post?: never;
1454
+ delete?: never;
1455
+ options?: never;
1456
+ head?: never;
1457
+ patch?: never;
1458
+ trace?: never;
1459
+ };
1460
+ "/workspaces/{workspaceId}/integrations/grafana/sync": {
1461
+ parameters: {
1462
+ query?: never;
1463
+ header?: never;
1464
+ path?: never;
1465
+ cookie?: never;
1466
+ };
1467
+ get?: never;
1468
+ put?: never;
1469
+ /**
1470
+ * Trigger Grafana monitoring ingest now
1471
+ * @description Manually polls Grafana Unified Alerting and deploy annotations, persists canonical events, and refreshes Quality/DORA dashboard buckets. Requires editor role.
1472
+ */
1473
+ post: operations["postWorkspaceGrafanaIntegrationSync"];
1474
+ delete?: never;
1475
+ options?: never;
1476
+ head?: never;
1477
+ patch?: never;
1478
+ trace?: never;
1479
+ };
1400
1480
  "/integrations/github/webhook": {
1401
1481
  parameters: {
1402
1482
  query?: never;
@@ -2907,6 +2987,54 @@ export interface components {
2907
2987
  /** @description New Relic user name when known from the last successful verify. */
2908
2988
  userName?: string;
2909
2989
  };
2990
+ /** @description Prometheus / Alertmanager monitoring source for workspace sources PUT and connection test. Provide at least one URL; authentication is optional. */
2991
+ PrometheusSourceDto: {
2992
+ /** @enum {string} */
2993
+ type: "prometheus";
2994
+ /** @description Prometheus server URL (health check when Alertmanager is separate). */
2995
+ baseUrl?: string;
2996
+ /** @description Alertmanager API base URL (preferred for alert ingest). */
2997
+ alertmanagerUrl?: string;
2998
+ /** @description Optional bearer token (write-only on PUT). */
2999
+ token?: string;
3000
+ /** @description Optional HTTP basic auth username. */
3001
+ username?: string;
3002
+ /** @description Optional HTTP basic auth password (write-only on PUT). */
3003
+ password?: string;
3004
+ };
3005
+ /** @description Redacted Prometheus source returned by GET workspace config. */
3006
+ PrometheusSourceConfigDto: {
3007
+ /** @enum {string} */
3008
+ type: "prometheus";
3009
+ hasToken: boolean;
3010
+ hasPassword: boolean;
3011
+ baseUrl: string;
3012
+ alertmanagerUrl: string;
3013
+ /** @description Stored basic auth username when configured. */
3014
+ username?: string;
3015
+ };
3016
+ /** @description Grafana monitoring source for workspace sources PUT and connection test. */
3017
+ GrafanaSourceDto: {
3018
+ /** @enum {string} */
3019
+ type: "grafana";
3020
+ /** @description Grafana stack URL (Cloud or self-hosted). */
3021
+ baseUrl: string;
3022
+ /** @description Service account token (write-only on PUT). */
3023
+ token: string;
3024
+ /** @description Optional organization ID for multi-org stacks. */
3025
+ orgId?: string;
3026
+ /** @description Optional org display name from a successful connection test. */
3027
+ orgName?: string;
3028
+ };
3029
+ /** @description Redacted Grafana source returned by GET workspace config. */
3030
+ GrafanaSourceConfigDto: {
3031
+ /** @enum {string} */
3032
+ type: "grafana";
3033
+ hasToken: boolean;
3034
+ baseUrl: string;
3035
+ orgId?: string;
3036
+ orgName?: string;
3037
+ };
2910
3038
  /**
2911
3039
  * @description The agent execution account used for Agentic Foundation runs (readiness scanner + fix queue). Exactly one is active per workspace.
2912
3040
  * - `thinkai_platform_cursor`: ThinkAI platform Cursor key (Cursor Agent CLI) — opt-in, never default.
@@ -2916,7 +3044,7 @@ export interface components {
2916
3044
  */
2917
3045
  AgentExecutionProviderDto: "thinkai_platform_cursor" | "cursor_user_api_key" | "claude_api_key";
2918
3046
  WorkspaceConfigDto: {
2919
- sources: (components["schemas"]["CursorSourceConfigDto"] | components["schemas"]["ClaudeSourceConfigDto"] | components["schemas"]["NewRelicSourceConfigDto"] | components["schemas"]["TenantSourceEntryDto"])[];
3047
+ sources: (components["schemas"]["CursorSourceConfigDto"] | components["schemas"]["ClaudeSourceConfigDto"] | components["schemas"]["NewRelicSourceConfigDto"] | components["schemas"]["PrometheusSourceConfigDto"] | components["schemas"]["GrafanaSourceConfigDto"] | components["schemas"]["TenantSourceEntryDto"])[];
2920
3048
  orgChart?: components["schemas"]["ScoringOrgChartDto"] | null;
2921
3049
  /** @enum {string|null} */
2922
3050
  region?: "us" | "eu" | "me" | null;
@@ -2935,12 +3063,18 @@ export interface components {
2935
3063
  executionKeyValid?: boolean | null;
2936
3064
  /** @description Error detail when `executionKeyValid` is false. */
2937
3065
  executionKeyError?: string | null;
2938
- /** @description Present for New Relic verify success — authenticated New Relic user name. */
3066
+ /** @description Present for New Relic or Grafana verify success — authenticated user name. */
2939
3067
  userName?: string;
2940
3068
  /** @description Present for New Relic verify success — resolved account display name. */
2941
3069
  accountName?: string;
2942
3070
  /** @description Present for New Relic verify success — resolved account ID. */
2943
3071
  accountId?: string;
3072
+ /** @description Present for Grafana verify success — resolved organization name. */
3073
+ orgName?: string;
3074
+ /** @description Present for Prometheus verify success — Alertmanager cluster name. */
3075
+ clusterName?: string;
3076
+ /** @description Present for Prometheus verify success — Alertmanager version when available. */
3077
+ version?: string;
2944
3078
  };
2945
3079
  CursorKeyUsageDto: {
2946
3080
  /** @description Readiness runs this calendar month that used the ThinkAI platform Cursor key. */
@@ -4423,6 +4557,57 @@ export interface components {
4423
4557
  /** @description Error message when status is error. */
4424
4558
  error?: string;
4425
4559
  };
4560
+ PrometheusIntegrationStatusDto: {
4561
+ /** @description True when a type:prometheus workspace source is configured. */
4562
+ connected: boolean;
4563
+ /** Format: date-time */
4564
+ lastSyncAt?: string | null;
4565
+ /** @enum {string} */
4566
+ status: "ok" | "error" | "never";
4567
+ lastError?: string | null;
4568
+ /** @description Alerts fetched on the last successful sync. */
4569
+ issueCount?: number | null;
4570
+ deploymentCount?: number | null;
4571
+ eventCount?: number | null;
4572
+ };
4573
+ PrometheusTriggerSyncResultDto: {
4574
+ /** @enum {string} */
4575
+ status: "ok" | "skipped" | "error";
4576
+ code?: string;
4577
+ reason?: string;
4578
+ issueCount?: number;
4579
+ deploymentCount?: number;
4580
+ eventCount?: number;
4581
+ bucketsWritten?: number;
4582
+ durationMs?: number;
4583
+ error?: string;
4584
+ };
4585
+ GrafanaIntegrationStatusDto: {
4586
+ /** @description True when a type:grafana workspace source is configured. */
4587
+ connected: boolean;
4588
+ /** Format: date-time */
4589
+ lastSyncAt?: string | null;
4590
+ /** @enum {string} */
4591
+ status: "ok" | "error" | "never";
4592
+ lastError?: string | null;
4593
+ /** @description Unified alerts fetched on the last successful sync. */
4594
+ issueCount?: number | null;
4595
+ /** @description Deploy annotations ingested on the last successful sync. */
4596
+ deploymentCount?: number | null;
4597
+ eventCount?: number | null;
4598
+ };
4599
+ GrafanaTriggerSyncResultDto: {
4600
+ /** @enum {string} */
4601
+ status: "ok" | "skipped" | "error";
4602
+ code?: string;
4603
+ reason?: string;
4604
+ issueCount?: number;
4605
+ deploymentCount?: number;
4606
+ eventCount?: number;
4607
+ bucketsWritten?: number;
4608
+ durationMs?: number;
4609
+ error?: string;
4610
+ };
4426
4611
  GithubActionsEnableResponseDto: {
4427
4612
  /** @enum {string} */
4428
4613
  outcome: "enabled" | "needs_github" | "permissions_missing" | "error";
@@ -5504,7 +5689,7 @@ export interface components {
5504
5689
  * @description Type of workspace lifecycle event.
5505
5690
  * @enum {string}
5506
5691
  */
5507
- 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" | "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.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.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" | "readiness.scan_precheck_failed" | "productivity.ingest.completed" | "productivity.ingest.failed" | "productivity.ingest.skipped";
5692
+ 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" | "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.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.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" | "readiness.scan_precheck_failed" | "productivity.ingest.completed" | "productivity.ingest.failed" | "productivity.ingest.skipped" | "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";
5508
5693
  ActivityLogActorDto: {
5509
5694
  /** Format: uuid */
5510
5695
  userId: string;
@@ -5842,6 +6027,10 @@ export type ClaudeSourcePatchDto = components['schemas']['ClaudeSourcePatchDto']
5842
6027
  export type ClaudeSourceConfigDto = components['schemas']['ClaudeSourceConfigDto'];
5843
6028
  export type NewRelicSourceDto = components['schemas']['NewRelicSourceDto'];
5844
6029
  export type NewRelicSourceConfigDto = components['schemas']['NewRelicSourceConfigDto'];
6030
+ export type PrometheusSourceDto = components['schemas']['PrometheusSourceDto'];
6031
+ export type PrometheusSourceConfigDto = components['schemas']['PrometheusSourceConfigDto'];
6032
+ export type GrafanaSourceDto = components['schemas']['GrafanaSourceDto'];
6033
+ export type GrafanaSourceConfigDto = components['schemas']['GrafanaSourceConfigDto'];
5845
6034
  export type AgentExecutionProviderDto = components['schemas']['AgentExecutionProviderDto'];
5846
6035
  export type WorkspaceConfigDto = components['schemas']['WorkspaceConfigDto'];
5847
6036
  export type TestConnectionResponseDto = components['schemas']['TestConnectionResponseDto'];
@@ -5964,6 +6153,10 @@ export type GithubActionsWorkflowPreviewDto = components['schemas']['GithubActio
5964
6153
  export type GithubActionsIntegrationStatusDto = components['schemas']['GithubActionsIntegrationStatusDto'];
5965
6154
  export type NewRelicIntegrationStatusDto = components['schemas']['NewRelicIntegrationStatusDto'];
5966
6155
  export type NewRelicTriggerSyncResultDto = components['schemas']['NewRelicTriggerSyncResultDto'];
6156
+ export type PrometheusIntegrationStatusDto = components['schemas']['PrometheusIntegrationStatusDto'];
6157
+ export type PrometheusTriggerSyncResultDto = components['schemas']['PrometheusTriggerSyncResultDto'];
6158
+ export type GrafanaIntegrationStatusDto = components['schemas']['GrafanaIntegrationStatusDto'];
6159
+ export type GrafanaTriggerSyncResultDto = components['schemas']['GrafanaTriggerSyncResultDto'];
5967
6160
  export type GithubActionsEnableResponseDto = components['schemas']['GithubActionsEnableResponseDto'];
5968
6161
  export type GithubInstallationStatusDto = components['schemas']['GithubInstallationStatusDto'];
5969
6162
  export type GithubInstallUrlRequestDto = components['schemas']['GithubInstallUrlRequestDto'];
@@ -7487,7 +7680,7 @@ export interface operations {
7487
7680
  requestBody: {
7488
7681
  content: {
7489
7682
  "application/json": {
7490
- sources: (components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["TenantSourceEntryDto"])[];
7683
+ sources: (components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["TenantSourceEntryDto"])[];
7491
7684
  };
7492
7685
  };
7493
7686
  };
@@ -7541,7 +7734,7 @@ export interface operations {
7541
7734
  };
7542
7735
  requestBody: {
7543
7736
  content: {
7544
- "application/json": components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["TenantSourceEntryDto"];
7737
+ "application/json": components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["TenantSourceEntryDto"];
7545
7738
  };
7546
7739
  };
7547
7740
  responses: {
@@ -9851,6 +10044,174 @@ export interface operations {
9851
10044
  };
9852
10045
  };
9853
10046
  };
10047
+ getWorkspacePrometheusIntegrationStatus: {
10048
+ parameters: {
10049
+ query?: never;
10050
+ header?: never;
10051
+ path: {
10052
+ workspaceId: components["parameters"]["WorkspaceId"];
10053
+ };
10054
+ cookie?: never;
10055
+ };
10056
+ requestBody?: never;
10057
+ responses: {
10058
+ /** @description Prometheus integration status */
10059
+ 200: {
10060
+ headers: {
10061
+ [name: string]: unknown;
10062
+ };
10063
+ content: {
10064
+ "application/json": components["schemas"]["PrometheusIntegrationStatusDto"];
10065
+ };
10066
+ };
10067
+ 401: components["responses"]["Unauthorized"];
10068
+ 403: components["responses"]["Forbidden"];
10069
+ /** @description Workspace does not exist or malformed workspaceId */
10070
+ 404: {
10071
+ headers: {
10072
+ [name: string]: unknown;
10073
+ };
10074
+ content: {
10075
+ "application/json": components["schemas"]["ErrorMessageDto"];
10076
+ };
10077
+ };
10078
+ };
10079
+ };
10080
+ postWorkspacePrometheusIntegrationSync: {
10081
+ parameters: {
10082
+ query?: never;
10083
+ header?: never;
10084
+ path: {
10085
+ workspaceId: components["parameters"]["WorkspaceId"];
10086
+ };
10087
+ cookie?: never;
10088
+ };
10089
+ requestBody?: never;
10090
+ responses: {
10091
+ /** @description Sync completed */
10092
+ 200: {
10093
+ headers: {
10094
+ [name: string]: unknown;
10095
+ };
10096
+ content: {
10097
+ "application/json": components["schemas"]["PrometheusTriggerSyncResultDto"];
10098
+ };
10099
+ };
10100
+ 401: components["responses"]["Unauthorized"];
10101
+ 403: components["responses"]["Forbidden"];
10102
+ /** @description Workspace does not exist or malformed workspaceId */
10103
+ 404: {
10104
+ headers: {
10105
+ [name: string]: unknown;
10106
+ };
10107
+ content: {
10108
+ "application/json": components["schemas"]["ErrorMessageDto"];
10109
+ };
10110
+ };
10111
+ /** @description Prometheus is not connected on this workspace */
10112
+ 422: {
10113
+ headers: {
10114
+ [name: string]: unknown;
10115
+ };
10116
+ content: {
10117
+ "application/json": components["schemas"]["PrometheusTriggerSyncResultDto"];
10118
+ };
10119
+ };
10120
+ /** @description Sync failed */
10121
+ 503: {
10122
+ headers: {
10123
+ [name: string]: unknown;
10124
+ };
10125
+ content: {
10126
+ "application/json": components["schemas"]["PrometheusTriggerSyncResultDto"];
10127
+ };
10128
+ };
10129
+ };
10130
+ };
10131
+ getWorkspaceGrafanaIntegrationStatus: {
10132
+ parameters: {
10133
+ query?: never;
10134
+ header?: never;
10135
+ path: {
10136
+ workspaceId: components["parameters"]["WorkspaceId"];
10137
+ };
10138
+ cookie?: never;
10139
+ };
10140
+ requestBody?: never;
10141
+ responses: {
10142
+ /** @description Grafana integration status */
10143
+ 200: {
10144
+ headers: {
10145
+ [name: string]: unknown;
10146
+ };
10147
+ content: {
10148
+ "application/json": components["schemas"]["GrafanaIntegrationStatusDto"];
10149
+ };
10150
+ };
10151
+ 401: components["responses"]["Unauthorized"];
10152
+ 403: components["responses"]["Forbidden"];
10153
+ /** @description Workspace does not exist or malformed workspaceId */
10154
+ 404: {
10155
+ headers: {
10156
+ [name: string]: unknown;
10157
+ };
10158
+ content: {
10159
+ "application/json": components["schemas"]["ErrorMessageDto"];
10160
+ };
10161
+ };
10162
+ };
10163
+ };
10164
+ postWorkspaceGrafanaIntegrationSync: {
10165
+ parameters: {
10166
+ query?: never;
10167
+ header?: never;
10168
+ path: {
10169
+ workspaceId: components["parameters"]["WorkspaceId"];
10170
+ };
10171
+ cookie?: never;
10172
+ };
10173
+ requestBody?: never;
10174
+ responses: {
10175
+ /** @description Sync completed */
10176
+ 200: {
10177
+ headers: {
10178
+ [name: string]: unknown;
10179
+ };
10180
+ content: {
10181
+ "application/json": components["schemas"]["GrafanaTriggerSyncResultDto"];
10182
+ };
10183
+ };
10184
+ 401: components["responses"]["Unauthorized"];
10185
+ 403: components["responses"]["Forbidden"];
10186
+ /** @description Workspace does not exist or malformed workspaceId */
10187
+ 404: {
10188
+ headers: {
10189
+ [name: string]: unknown;
10190
+ };
10191
+ content: {
10192
+ "application/json": components["schemas"]["ErrorMessageDto"];
10193
+ };
10194
+ };
10195
+ /** @description Grafana is not connected on this workspace */
10196
+ 422: {
10197
+ headers: {
10198
+ [name: string]: unknown;
10199
+ };
10200
+ content: {
10201
+ "application/json": components["schemas"]["GrafanaTriggerSyncResultDto"];
10202
+ };
10203
+ };
10204
+ /** @description Sync failed */
10205
+ 503: {
10206
+ headers: {
10207
+ [name: string]: unknown;
10208
+ };
10209
+ content: {
10210
+ "application/json": components["schemas"]["GrafanaTriggerSyncResultDto"];
10211
+ };
10212
+ };
10213
+ };
10214
+ };
9854
10215
  postGithubWebhook: {
9855
10216
  parameters: {
9856
10217
  query?: never;