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