@distilled.cloud/stackit 1.0.0-rc.13 → 1.0.0-rc.15

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.
Files changed (289) hide show
  1. package/lib/credentials.d.ts +2 -2
  2. package/lib/credentials.d.ts.map +1 -1
  3. package/lib/credentials.js +3 -3
  4. package/lib/credentials.js.map +1 -1
  5. package/lib/errors.d.ts.map +1 -1
  6. package/lib/errors.js +1 -1
  7. package/lib/errors.js.map +1 -1
  8. package/lib/pagination.d.ts +1 -1
  9. package/lib/pagination.d.ts.map +1 -1
  10. package/lib/pagination.js +2 -5
  11. package/lib/pagination.js.map +1 -1
  12. package/lib/protocol.d.ts +3 -3
  13. package/lib/protocol.d.ts.map +1 -1
  14. package/lib/protocol.js +9 -10
  15. package/lib/protocol.js.map +1 -1
  16. package/lib/protocol.test.d.ts +2 -0
  17. package/lib/protocol.test.d.ts.map +1 -0
  18. package/lib/protocol.test.js +181 -0
  19. package/lib/protocol.test.js.map +1 -0
  20. package/lib/retry.d.ts +1 -1
  21. package/lib/retry.d.ts.map +1 -1
  22. package/lib/retry.js +1 -1
  23. package/lib/retry.js.map +1 -1
  24. package/lib/services/alb.d.ts +1 -1
  25. package/lib/services/alb.d.ts.map +1 -1
  26. package/lib/services/alb.js +33 -82
  27. package/lib/services/alb.js.map +1 -1
  28. package/lib/services/alb_waf.d.ts +1 -1
  29. package/lib/services/alb_waf.d.ts.map +1 -1
  30. package/lib/services/alb_waf.js +23 -47
  31. package/lib/services/alb_waf.js.map +1 -1
  32. package/lib/services/authorization.d.ts +1 -1
  33. package/lib/services/authorization.d.ts.map +1 -1
  34. package/lib/services/authorization.js +19 -49
  35. package/lib/services/authorization.js.map +1 -1
  36. package/lib/services/automation.d.ts +21 -58
  37. package/lib/services/automation.d.ts.map +1 -1
  38. package/lib/services/automation.js +49 -112
  39. package/lib/services/automation.js.map +1 -1
  40. package/lib/services/cdn.d.ts +2 -2
  41. package/lib/services/cdn.d.ts.map +1 -1
  42. package/lib/services/cdn.js +91 -177
  43. package/lib/services/cdn.js.map +1 -1
  44. package/lib/services/certificates.d.ts +1 -1
  45. package/lib/services/certificates.d.ts.map +1 -1
  46. package/lib/services/certificates.js +13 -31
  47. package/lib/services/certificates.js.map +1 -1
  48. package/lib/services/cost.d.ts +1 -1
  49. package/lib/services/cost.d.ts.map +1 -1
  50. package/lib/services/cost.js +17 -28
  51. package/lib/services/cost.js.map +1 -1
  52. package/lib/services/dns.d.ts +22 -55
  53. package/lib/services/dns.d.ts.map +1 -1
  54. package/lib/services/dns.js +72 -200
  55. package/lib/services/dns.js.map +1 -1
  56. package/lib/services/dremio.d.ts +1 -1
  57. package/lib/services/dremio.d.ts.map +1 -1
  58. package/lib/services/dremio.js +28 -50
  59. package/lib/services/dremio.js.map +1 -1
  60. package/lib/services/edge.d.ts +1 -1
  61. package/lib/services/edge.d.ts.map +1 -1
  62. package/lib/services/edge.js +14 -32
  63. package/lib/services/edge.js.map +1 -1
  64. package/lib/services/functions.d.ts +1 -1
  65. package/lib/services/functions.d.ts.map +1 -1
  66. package/lib/services/functions.js +19 -43
  67. package/lib/services/functions.js.map +1 -1
  68. package/lib/services/git.d.ts +1 -1
  69. package/lib/services/git.d.ts.map +1 -1
  70. package/lib/services/git.js +25 -57
  71. package/lib/services/git.js.map +1 -1
  72. package/lib/services/iaas.d.ts +31 -10
  73. package/lib/services/iaas.d.ts.map +1 -1
  74. package/lib/services/iaas.js +151 -376
  75. package/lib/services/iaas.js.map +1 -1
  76. package/lib/services/intake.d.ts +1 -1
  77. package/lib/services/intake.d.ts.map +1 -1
  78. package/lib/services/intake.js +45 -83
  79. package/lib/services/intake.js.map +1 -1
  80. package/lib/services/kms.d.ts +1 -1
  81. package/lib/services/kms.d.ts.map +1 -1
  82. package/lib/services/kms.js +63 -103
  83. package/lib/services/kms.js.map +1 -1
  84. package/lib/services/lb_ip_lists.d.ts +1 -3
  85. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  86. package/lib/services/lb_ip_lists.js +18 -37
  87. package/lib/services/lb_ip_lists.js.map +1 -1
  88. package/lib/services/load_balancer.d.ts +1 -1
  89. package/lib/services/load_balancer.d.ts.map +1 -1
  90. package/lib/services/load_balancer.js +32 -77
  91. package/lib/services/load_balancer.js.map +1 -1
  92. package/lib/services/logme.d.ts +1 -1
  93. package/lib/services/logme.d.ts.map +1 -1
  94. package/lib/services/logme.js +39 -101
  95. package/lib/services/logme.js.map +1 -1
  96. package/lib/services/logs.d.ts +1 -1
  97. package/lib/services/logs.d.ts.map +1 -1
  98. package/lib/services/logs.js +36 -59
  99. package/lib/services/logs.js.map +1 -1
  100. package/lib/services/mariadb.d.ts +1 -1
  101. package/lib/services/mariadb.d.ts.map +1 -1
  102. package/lib/services/mariadb.js +37 -97
  103. package/lib/services/mariadb.js.map +1 -1
  104. package/lib/services/model_experiments.d.ts +2 -2
  105. package/lib/services/model_experiments.d.ts.map +1 -1
  106. package/lib/services/model_experiments.js +27 -47
  107. package/lib/services/model_experiments.js.map +1 -1
  108. package/lib/services/model_serving.d.ts +2 -2
  109. package/lib/services/model_serving.d.ts.map +1 -1
  110. package/lib/services/model_serving.js +29 -61
  111. package/lib/services/model_serving.js.map +1 -1
  112. package/lib/services/mongodb_flex.d.ts +1 -1
  113. package/lib/services/mongodb_flex.d.ts.map +1 -1
  114. package/lib/services/mongodb_flex.js +76 -162
  115. package/lib/services/mongodb_flex.js.map +1 -1
  116. package/lib/services/object_storage.d.ts +25 -1
  117. package/lib/services/object_storage.d.ts.map +1 -1
  118. package/lib/services/object_storage.js +52 -89
  119. package/lib/services/object_storage.js.map +1 -1
  120. package/lib/services/observability.d.ts +5 -5
  121. package/lib/services/observability.d.ts.map +1 -1
  122. package/lib/services/observability.js +170 -419
  123. package/lib/services/observability.js.map +1 -1
  124. package/lib/services/opensearch.d.ts +1 -1
  125. package/lib/services/opensearch.d.ts.map +1 -1
  126. package/lib/services/opensearch.js +40 -100
  127. package/lib/services/opensearch.js.map +1 -1
  128. package/lib/services/pim.d.ts +1 -1
  129. package/lib/services/pim.d.ts.map +1 -1
  130. package/lib/services/pim.js +45 -98
  131. package/lib/services/pim.js.map +1 -1
  132. package/lib/services/postgres_flex.d.ts +2 -2
  133. package/lib/services/postgres_flex.d.ts.map +1 -1
  134. package/lib/services/postgres_flex.js +96 -261
  135. package/lib/services/postgres_flex.js.map +1 -1
  136. package/lib/services/pubsub.d.ts +2 -2
  137. package/lib/services/pubsub.d.ts.map +1 -1
  138. package/lib/services/pubsub.js +53 -148
  139. package/lib/services/pubsub.js.map +1 -1
  140. package/lib/services/rabbitmq.d.ts +2 -2
  141. package/lib/services/rabbitmq.d.ts.map +1 -1
  142. package/lib/services/rabbitmq.js +41 -103
  143. package/lib/services/rabbitmq.js.map +1 -1
  144. package/lib/services/registry.d.ts +1 -1
  145. package/lib/services/registry.d.ts.map +1 -1
  146. package/lib/services/registry.js +16 -39
  147. package/lib/services/registry.js.map +1 -1
  148. package/lib/services/resource_manager.d.ts +5 -5
  149. package/lib/services/resource_manager.d.ts.map +1 -1
  150. package/lib/services/resource_manager.js +23 -53
  151. package/lib/services/resource_manager.js.map +1 -1
  152. package/lib/services/run_command.d.ts +1 -1
  153. package/lib/services/run_command.d.ts.map +1 -1
  154. package/lib/services/run_command.js +15 -33
  155. package/lib/services/run_command.js.map +1 -1
  156. package/lib/services/sca.d.ts +18 -6
  157. package/lib/services/sca.d.ts.map +1 -1
  158. package/lib/services/sca.js +42 -75
  159. package/lib/services/sca.js.map +1 -1
  160. package/lib/services/scf.d.ts +1 -1
  161. package/lib/services/scf.d.ts.map +1 -1
  162. package/lib/services/scf.js +30 -78
  163. package/lib/services/scf.js.map +1 -1
  164. package/lib/services/secrets_manager.d.ts +1 -1
  165. package/lib/services/secrets_manager.d.ts.map +1 -1
  166. package/lib/services/secrets_manager.js +32 -78
  167. package/lib/services/secrets_manager.js.map +1 -1
  168. package/lib/services/server_backup.d.ts +1 -1
  169. package/lib/services/server_backup.d.ts.map +1 -1
  170. package/lib/services/server_backup.js +16 -36
  171. package/lib/services/server_backup.js.map +1 -1
  172. package/lib/services/server_update.d.ts +1 -1
  173. package/lib/services/server_update.d.ts.map +1 -1
  174. package/lib/services/server_update.js +10 -22
  175. package/lib/services/server_update.js.map +1 -1
  176. package/lib/services/service_account.d.ts +1 -1
  177. package/lib/services/service_account.d.ts.map +1 -1
  178. package/lib/services/service_account.js +32 -49
  179. package/lib/services/service_account.js.map +1 -1
  180. package/lib/services/service_enablement.d.ts +1 -1
  181. package/lib/services/service_enablement.d.ts.map +1 -1
  182. package/lib/services/service_enablement.js +11 -13
  183. package/lib/services/service_enablement.js.map +1 -1
  184. package/lib/services/sfs.d.ts +17 -17
  185. package/lib/services/sfs.d.ts.map +1 -1
  186. package/lib/services/sfs.js +34 -89
  187. package/lib/services/sfs.js.map +1 -1
  188. package/lib/services/ske.d.ts +27 -1
  189. package/lib/services/ske.d.ts.map +1 -1
  190. package/lib/services/ske.js +49 -89
  191. package/lib/services/ske.js.map +1 -1
  192. package/lib/services/sqlserverflex.d.ts +2 -2
  193. package/lib/services/sqlserverflex.d.ts.map +1 -1
  194. package/lib/services/sqlserverflex.js +104 -255
  195. package/lib/services/sqlserverflex.js.map +1 -1
  196. package/lib/services/stackit_marketplace.d.ts +4 -4
  197. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  198. package/lib/services/stackit_marketplace.js +17 -31
  199. package/lib/services/stackit_marketplace.js.map +1 -1
  200. package/lib/services/telemetry_link.d.ts +1 -1
  201. package/lib/services/telemetry_link.d.ts.map +1 -1
  202. package/lib/services/telemetry_link.js +34 -52
  203. package/lib/services/telemetry_link.js.map +1 -1
  204. package/lib/services/telemetry_router.d.ts +1 -1
  205. package/lib/services/telemetry_router.d.ts.map +1 -1
  206. package/lib/services/telemetry_router.js +49 -88
  207. package/lib/services/telemetry_router.js.map +1 -1
  208. package/lib/services/ufw.d.ts +1 -1
  209. package/lib/services/ufw.d.ts.map +1 -1
  210. package/lib/services/ufw.js +25 -47
  211. package/lib/services/ufw.js.map +1 -1
  212. package/lib/services/valkey.d.ts +2 -2
  213. package/lib/services/valkey.d.ts.map +1 -1
  214. package/lib/services/valkey.js +40 -100
  215. package/lib/services/valkey.js.map +1 -1
  216. package/lib/services/vpn.d.ts +1 -1
  217. package/lib/services/vpn.d.ts.map +1 -1
  218. package/lib/services/vpn.js +98 -180
  219. package/lib/services/vpn.js.map +1 -1
  220. package/lib/services/workflows.d.ts +1 -1
  221. package/lib/services/workflows.d.ts.map +1 -1
  222. package/lib/services/workflows.js +40 -88
  223. package/lib/services/workflows.js.map +1 -1
  224. package/lib/traits.d.ts.map +1 -1
  225. package/lib/traits.js +1 -1
  226. package/lib/traits.js.map +1 -1
  227. package/package.json +13 -11
  228. package/src/credentials.ts +10 -16
  229. package/src/errors.ts +1 -1
  230. package/src/pagination.ts +6 -22
  231. package/src/protocol.test.ts +304 -0
  232. package/src/protocol.ts +29 -47
  233. package/src/retry.ts +2 -8
  234. package/src/services/alb.ts +45 -128
  235. package/src/services/alb_waf.ts +35 -94
  236. package/src/services/authorization.ts +20 -56
  237. package/src/services/automation.ts +92 -262
  238. package/src/services/cdn.ts +191 -351
  239. package/src/services/certificates.ts +17 -49
  240. package/src/services/cost.ts +29 -64
  241. package/src/services/dns.ts +160 -495
  242. package/src/services/dremio.ts +35 -85
  243. package/src/services/edge.ts +37 -96
  244. package/src/services/functions.ts +31 -84
  245. package/src/services/git.ts +41 -122
  246. package/src/services/iaas.ts +392 -1184
  247. package/src/services/intake.ts +57 -124
  248. package/src/services/kms.ts +91 -192
  249. package/src/services/lb_ip_lists.ts +21 -56
  250. package/src/services/load_balancer.ts +43 -119
  251. package/src/services/logme.ts +55 -150
  252. package/src/services/logs.ts +57 -158
  253. package/src/services/mariadb.ts +45 -126
  254. package/src/services/model_experiments.ts +36 -92
  255. package/src/services/model_serving.ts +33 -76
  256. package/src/services/mongodb_flex.ts +113 -259
  257. package/src/services/object_storage.ts +101 -154
  258. package/src/services/observability.ts +635 -1127
  259. package/src/services/opensearch.ts +52 -141
  260. package/src/services/pim.ts +78 -183
  261. package/src/services/postgres_flex.ts +120 -366
  262. package/src/services/pubsub.ts +134 -277
  263. package/src/services/rabbitmq.ts +53 -145
  264. package/src/services/registry.ts +24 -72
  265. package/src/services/resource_manager.ts +46 -129
  266. package/src/services/run_command.ts +17 -45
  267. package/src/services/sca.ts +63 -98
  268. package/src/services/scf.ts +54 -195
  269. package/src/services/secrets_manager.ts +54 -136
  270. package/src/services/server_backup.ts +26 -75
  271. package/src/services/server_update.ts +15 -44
  272. package/src/services/service_account.ts +185 -272
  273. package/src/services/service_enablement.ts +18 -47
  274. package/src/services/sfs.ts +84 -166
  275. package/src/services/ske.ts +91 -113
  276. package/src/services/sqlserverflex.ts +147 -383
  277. package/src/services/stackit_marketplace.ts +184 -250
  278. package/src/services/telemetry_link.ts +199 -278
  279. package/src/services/telemetry_router.ts +73 -168
  280. package/src/services/ufw.ts +32 -82
  281. package/src/services/valkey.ts +54 -145
  282. package/src/services/vpn.ts +215 -404
  283. package/src/services/workflows.ts +57 -169
  284. package/src/traits.ts +2 -7
  285. package/lib/response-validation.test.d.ts +0 -4
  286. package/lib/response-validation.test.d.ts.map +0 -1
  287. package/lib/response-validation.test.js +0 -31
  288. package/lib/response-validation.test.js.map +0 -1
  289. package/src/response-validation.test.ts +0 -45
@@ -1,16 +1,12 @@
1
+ import * as API from "@distilled.cloud/core/api";
2
+ import * as C from "@distilled.cloud/core/category";
1
3
  // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
2
4
  import * as S from "@distilled.cloud/core/schema";
3
5
  import * as Redacted from "effect/Redacted";
4
- import * as API from "@distilled.cloud/core/api";
5
- import * as C from "@distilled.cloud/core/category";
6
- import * as T from "../traits.ts";
7
- import {
8
- StackitProtocol,
9
- type StackitOpError,
10
- type StackitOpContext,
11
- } from "../protocol.ts";
12
6
  import { UnknownStackitError } from "../errors.ts";
7
+ import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
13
8
  import * as Retry from "../retry.ts";
9
+ import * as T from "../traits.ts";
14
10
 
15
11
  export type { StackitOpError, StackitOpContext };
16
12
 
@@ -57,28 +53,26 @@ export interface CreateAlertConfigReceiverRequestEmailConfigsItem {
57
53
  /** The email address to send notifications to. `Additional Validators:` * must be a syntactically valid email address */
58
54
  to?: string;
59
55
  }
60
- export const CreateAlertConfigReceiverRequestEmailConfigsItem =
61
- /*@__PURE__*/ S.suspend(() =>
62
- S.Struct({
63
- authIdentity: S.optional(S.String),
64
- authPassword: S.optional(S.String.pipe(T.SensitiveValue({}))),
65
- authUsername: S.optional(S.String),
66
- from: S.optional(S.String),
67
- sendResolved: S.optional(S.Boolean),
68
- smarthost: S.optional(S.String),
69
- to: S.optional(S.String),
70
- }),
71
- ).annotate({
72
- identifier: "CreateAlertConfigReceiverRequestEmailConfigsItem",
73
- }) as any as S.Schema<CreateAlertConfigReceiverRequestEmailConfigsItem>;
56
+ export const CreateAlertConfigReceiverRequestEmailConfigsItem = /*@__PURE__*/ S.suspend(() =>
57
+ S.Struct({
58
+ authIdentity: S.optional(S.String),
59
+ authPassword: S.optional(S.String.pipe(T.SensitiveValue({}))),
60
+ authUsername: S.optional(S.String),
61
+ from: S.optional(S.String),
62
+ sendResolved: S.optional(S.Boolean),
63
+ smarthost: S.optional(S.String),
64
+ to: S.optional(S.String),
65
+ }),
66
+ ).annotate({
67
+ identifier: "CreateAlertConfigReceiverRequestEmailConfigsItem",
68
+ }) as any as S.Schema<CreateAlertConfigReceiverRequestEmailConfigsItem>;
74
69
 
75
70
  /** Email configurations */
76
71
  export type CreateAlertConfigReceiverRequestEmailConfigsList =
77
72
  Array<CreateAlertConfigReceiverRequestEmailConfigsItem>;
78
- export const CreateAlertConfigReceiverRequestEmailConfigsList =
79
- /*@__PURE__*/ S.Array(
80
- CreateAlertConfigReceiverRequestEmailConfigsItem,
81
- ) as any as S.Schema<CreateAlertConfigReceiverRequestEmailConfigsList>;
73
+ export const CreateAlertConfigReceiverRequestEmailConfigsList = /*@__PURE__*/ S.Array(
74
+ CreateAlertConfigReceiverRequestEmailConfigsItem,
75
+ ) as any as S.Schema<CreateAlertConfigReceiverRequestEmailConfigsList>;
82
76
 
83
77
  export interface CreateAlertConfigReceiverRequestOpsgenieConfigsItem {
84
78
  /** The API key to use when talking to the OpsGenie API. `Additional Validators:` * should only include the characters: a-zA-Z0-9- */
@@ -92,26 +86,24 @@ export interface CreateAlertConfigReceiverRequestOpsgenieConfigsItem {
92
86
  /** Comma separated list of tags attached to the notifications. */
93
87
  tags?: string;
94
88
  }
95
- export const CreateAlertConfigReceiverRequestOpsgenieConfigsItem =
96
- /*@__PURE__*/ S.suspend(() =>
97
- S.Struct({
98
- apiKey: S.optional(S.String.pipe(T.SensitiveValue({}))),
99
- apiUrl: S.optional(S.String),
100
- priority: S.optional(S.String),
101
- sendResolved: S.optional(S.Boolean),
102
- tags: S.optional(S.String),
103
- }),
104
- ).annotate({
105
- identifier: "CreateAlertConfigReceiverRequestOpsgenieConfigsItem",
106
- }) as any as S.Schema<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
89
+ export const CreateAlertConfigReceiverRequestOpsgenieConfigsItem = /*@__PURE__*/ S.suspend(() =>
90
+ S.Struct({
91
+ apiKey: S.optional(S.String.pipe(T.SensitiveValue({}))),
92
+ apiUrl: S.optional(S.String),
93
+ priority: S.optional(S.String),
94
+ sendResolved: S.optional(S.Boolean),
95
+ tags: S.optional(S.String),
96
+ }),
97
+ ).annotate({
98
+ identifier: "CreateAlertConfigReceiverRequestOpsgenieConfigsItem",
99
+ }) as any as S.Schema<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
107
100
 
108
101
  /** Configuration for ops genie. */
109
102
  export type CreateAlertConfigReceiverRequestOpsgenieConfigsList =
110
103
  Array<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
111
- export const CreateAlertConfigReceiverRequestOpsgenieConfigsList =
112
- /*@__PURE__*/ S.Array(
113
- CreateAlertConfigReceiverRequestOpsgenieConfigsItem,
114
- ) as any as S.Schema<CreateAlertConfigReceiverRequestOpsgenieConfigsList>;
104
+ export const CreateAlertConfigReceiverRequestOpsgenieConfigsList = /*@__PURE__*/ S.Array(
105
+ CreateAlertConfigReceiverRequestOpsgenieConfigsItem,
106
+ ) as any as S.Schema<CreateAlertConfigReceiverRequestOpsgenieConfigsList>;
115
107
 
116
108
  export interface CreateAlertConfigReceiverRequestWebHookConfigsItem {
117
109
  /** Google Chat webhooks require special handling. If you set this property to true, it is treated as such. `Additional Validators:` * When set to true, msTeams must be false. */
@@ -123,24 +115,22 @@ export interface CreateAlertConfigReceiverRequestWebHookConfigsItem {
123
115
  /** The endpoint to send HTTP POST requests to. `Additional Validators:` * must be a syntactically valid url address */
124
116
  url?: string;
125
117
  }
126
- export const CreateAlertConfigReceiverRequestWebHookConfigsItem =
127
- /*@__PURE__*/ S.suspend(() =>
128
- S.Struct({
129
- googleChat: S.optional(S.Boolean),
130
- msTeams: S.optional(S.Boolean),
131
- sendResolved: S.optional(S.Boolean),
132
- url: S.optional(S.String),
133
- }),
134
- ).annotate({
135
- identifier: "CreateAlertConfigReceiverRequestWebHookConfigsItem",
136
- }) as any as S.Schema<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
118
+ export const CreateAlertConfigReceiverRequestWebHookConfigsItem = /*@__PURE__*/ S.suspend(() =>
119
+ S.Struct({
120
+ googleChat: S.optional(S.Boolean),
121
+ msTeams: S.optional(S.Boolean),
122
+ sendResolved: S.optional(S.Boolean),
123
+ url: S.optional(S.String),
124
+ }),
125
+ ).annotate({
126
+ identifier: "CreateAlertConfigReceiverRequestWebHookConfigsItem",
127
+ }) as any as S.Schema<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
137
128
 
138
129
  export type CreateAlertConfigReceiverRequestWebHookConfigsList =
139
130
  Array<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
140
- export const CreateAlertConfigReceiverRequestWebHookConfigsList =
141
- /*@__PURE__*/ S.Array(
142
- CreateAlertConfigReceiverRequestWebHookConfigsItem,
143
- ) as any as S.Schema<CreateAlertConfigReceiverRequestWebHookConfigsList>;
131
+ export const CreateAlertConfigReceiverRequestWebHookConfigsList = /*@__PURE__*/ S.Array(
132
+ CreateAlertConfigReceiverRequestWebHookConfigsItem,
133
+ ) as any as S.Schema<CreateAlertConfigReceiverRequestWebHookConfigsList>;
144
134
 
145
135
  export interface CreateAlertConfigReceiverRequest {
146
136
  projectId: string;
@@ -159,12 +149,8 @@ export const CreateAlertConfigReceiverRequest = /*@__PURE__*/ S.suspend(() =>
159
149
  instanceId: S.String.pipe(T.Label()),
160
150
  emailConfigs: S.optional(CreateAlertConfigReceiverRequestEmailConfigsList),
161
151
  name: S.String,
162
- opsgenieConfigs: S.optional(
163
- CreateAlertConfigReceiverRequestOpsgenieConfigsList,
164
- ),
165
- webHookConfigs: S.optional(
166
- CreateAlertConfigReceiverRequestWebHookConfigsList,
167
- ),
152
+ opsgenieConfigs: S.optional(CreateAlertConfigReceiverRequestOpsgenieConfigsList),
153
+ webHookConfigs: S.optional(CreateAlertConfigReceiverRequestWebHookConfigsList),
168
154
  }).pipe(
169
155
  T.Http({
170
156
  method: "POST",
@@ -291,24 +277,21 @@ export const CreateAlertConfigRouteRequestMatchersList = /*@__PURE__*/ S.Array(
291
277
  ) as any as S.Schema<CreateAlertConfigRouteRequestMatchersList>;
292
278
 
293
279
  export type CreateAlertConfigRouteRequestRoutesItemGroupByList = Array<string>;
294
- export const CreateAlertConfigRouteRequestRoutesItemGroupByList =
295
- /*@__PURE__*/ S.Array(
296
- S.String,
297
- ) as any as S.Schema<CreateAlertConfigRouteRequestRoutesItemGroupByList>;
280
+ export const CreateAlertConfigRouteRequestRoutesItemGroupByList = /*@__PURE__*/ S.Array(
281
+ S.String,
282
+ ) as any as S.Schema<CreateAlertConfigRouteRequestRoutesItemGroupByList>;
298
283
 
299
284
  /** As in one level above */
300
285
  export type CreateAlertConfigRouteRequestRoutesItemMatchersList = Array<string>;
301
- export const CreateAlertConfigRouteRequestRoutesItemMatchersList =
302
- /*@__PURE__*/ S.Array(
303
- S.String,
304
- ) as any as S.Schema<CreateAlertConfigRouteRequestRoutesItemMatchersList>;
286
+ export const CreateAlertConfigRouteRequestRoutesItemMatchersList = /*@__PURE__*/ S.Array(
287
+ S.String,
288
+ ) as any as S.Schema<CreateAlertConfigRouteRequestRoutesItemMatchersList>;
305
289
 
306
290
  /** Another child routes */
307
291
  export type CreateAlertConfigRouteRequestRoutesItemRoutesList = Array<unknown>;
308
- export const CreateAlertConfigRouteRequestRoutesItemRoutesList =
309
- /*@__PURE__*/ S.Array(
310
- S.Unknown,
311
- ) as any as S.Schema<CreateAlertConfigRouteRequestRoutesItemRoutesList>;
292
+ export const CreateAlertConfigRouteRequestRoutesItemRoutesList = /*@__PURE__*/ S.Array(
293
+ S.Unknown,
294
+ ) as any as S.Schema<CreateAlertConfigRouteRequestRoutesItemRoutesList>;
312
295
 
313
296
  /** As in one level above */
314
297
  export interface CreateAlertConfigRouteRequestRoutesItem {
@@ -332,20 +315,19 @@ export interface CreateAlertConfigRouteRequestRoutesItem {
332
315
  /** Another child routes */
333
316
  routes?: CreateAlertConfigRouteRequestRoutesItemRoutesList;
334
317
  }
335
- export const CreateAlertConfigRouteRequestRoutesItem = /*@__PURE__*/ S.suspend(
336
- () =>
337
- S.Struct({
338
- continue: S.optional(S.Boolean),
339
- groupBy: S.optional(CreateAlertConfigRouteRequestRoutesItemGroupByList),
340
- groupInterval: S.optional(S.String),
341
- groupWait: S.optional(S.String),
342
- match: S.optional(S.Unknown),
343
- matchRe: S.optional(S.Unknown),
344
- matchers: S.optional(CreateAlertConfigRouteRequestRoutesItemMatchersList),
345
- receiver: S.optional(S.String),
346
- repeatInterval: S.optional(S.String),
347
- routes: S.optional(CreateAlertConfigRouteRequestRoutesItemRoutesList),
348
- }),
318
+ export const CreateAlertConfigRouteRequestRoutesItem = /*@__PURE__*/ S.suspend(() =>
319
+ S.Struct({
320
+ continue: S.optional(S.Boolean),
321
+ groupBy: S.optional(CreateAlertConfigRouteRequestRoutesItemGroupByList),
322
+ groupInterval: S.optional(S.String),
323
+ groupWait: S.optional(S.String),
324
+ match: S.optional(S.Unknown),
325
+ matchRe: S.optional(S.Unknown),
326
+ matchers: S.optional(CreateAlertConfigRouteRequestRoutesItemMatchersList),
327
+ receiver: S.optional(S.String),
328
+ repeatInterval: S.optional(S.String),
329
+ routes: S.optional(CreateAlertConfigRouteRequestRoutesItemRoutesList),
330
+ }),
349
331
  ).annotate({
350
332
  identifier: "CreateAlertConfigRouteRequestRoutesItem",
351
333
  }) as any as S.Schema<CreateAlertConfigRouteRequestRoutesItem>;
@@ -451,12 +433,10 @@ export const RouteSerializerMatchersList = /*@__PURE__*/ S.Array(
451
433
  S.String,
452
434
  ) as any as S.Schema<RouteSerializerMatchersList>;
453
435
 
454
- export type RouteSerializerRoutesItemMap = {
455
- [key: string]: string | undefined;
456
- };
436
+ export type RouteSerializerRoutesItemMap = { [key: string]: string | null | undefined };
457
437
  export const RouteSerializerRoutesItemMap = /*@__PURE__*/ S.Record(
458
438
  S.String,
459
- S.String,
439
+ S.NullOr(S.String),
460
440
  ) as any as S.Schema<RouteSerializerRoutesItemMap>;
461
441
 
462
442
  export type RouteSerializerRoutesList = Array<RouteSerializerRoutesItemMap>;
@@ -489,9 +469,7 @@ export const RouteSerializer = /*@__PURE__*/ S.suspend(() =>
489
469
  repeatInterval: S.optional(S.String),
490
470
  routes: S.optional(RouteSerializerRoutesList),
491
471
  }),
492
- ).annotate({
493
- identifier: "RouteSerializer",
494
- }) as any as S.Schema<RouteSerializer>;
472
+ ).annotate({ identifier: "RouteSerializer" }) as any as S.Schema<RouteSerializer>;
495
473
 
496
474
  export type RouteRoutesList = Array<RouteSerializer>;
497
475
  export const RouteRoutesList = /*@__PURE__*/ S.Array(
@@ -534,9 +512,7 @@ export const AlertConfigRouteResponse = /*@__PURE__*/ S.suspend(() =>
534
512
  data: Route,
535
513
  message: S.String,
536
514
  }),
537
- ).annotate({
538
- identifier: "AlertConfigRouteResponse",
539
- }) as any as S.Schema<AlertConfigRouteResponse>;
515
+ ).annotate({ identifier: "AlertConfigRouteResponse" }) as any as S.Schema<AlertConfigRouteResponse>;
540
516
 
541
517
  /** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
542
518
  export interface CreateAlertgroupsRequestRulesItem {
@@ -567,8 +543,7 @@ export const CreateAlertgroupsRequestRulesItem = /*@__PURE__*/ S.suspend(() =>
567
543
  }) as any as S.Schema<CreateAlertgroupsRequestRulesItem>;
568
544
 
569
545
  /** rules for the alert group */
570
- export type CreateAlertgroupsRequestRulesList =
571
- Array<CreateAlertgroupsRequestRulesItem>;
546
+ export type CreateAlertgroupsRequestRulesList = Array<CreateAlertgroupsRequestRulesItem>;
572
547
  export const CreateAlertgroupsRequestRulesList = /*@__PURE__*/ S.Array(
573
548
  CreateAlertgroupsRequestRulesItem,
574
549
  ) as any as S.Schema<CreateAlertgroupsRequestRulesList>;
@@ -598,13 +573,9 @@ export const CreateAlertgroupsRequest = /*@__PURE__*/ S.suspend(() =>
598
573
  baseUrl: "https://argus.api.{region}stackit.cloud",
599
574
  }),
600
575
  ),
601
- ).annotate({
602
- identifier: "CreateAlertgroupsRequest",
603
- }) as any as S.Schema<CreateAlertgroupsRequest>;
576
+ ).annotate({ identifier: "CreateAlertgroupsRequest" }) as any as S.Schema<CreateAlertgroupsRequest>;
604
577
 
605
- export type AlertRuleRecordAnnotationsMap = {
606
- [key: string]: string | undefined;
607
- };
578
+ export type AlertRuleRecordAnnotationsMap = { [key: string]: string | undefined };
608
579
  export const AlertRuleRecordAnnotationsMap = /*@__PURE__*/ S.Record(
609
580
  S.String,
610
581
  S.String,
@@ -633,9 +604,7 @@ export const AlertRuleRecord = /*@__PURE__*/ S.suspend(() =>
633
604
  labels: S.optional(AlertRuleRecordLabelsMap),
634
605
  record: S.optional(S.String),
635
606
  }),
636
- ).annotate({
637
- identifier: "AlertRuleRecord",
638
- }) as any as S.Schema<AlertRuleRecord>;
607
+ ).annotate({ identifier: "AlertRuleRecord" }) as any as S.Schema<AlertRuleRecord>;
639
608
 
640
609
  export type AlertGroupRulesList = Array<AlertRuleRecord>;
641
610
  export const AlertGroupRulesList = /*@__PURE__*/ S.Array(
@@ -669,9 +638,7 @@ export const AlertGroupsResponse = /*@__PURE__*/ S.suspend(() =>
669
638
  data: AlertGroupsResponseDataList,
670
639
  message: S.String,
671
640
  }),
672
- ).annotate({
673
- identifier: "AlertGroupsResponse",
674
- }) as any as S.Schema<AlertGroupsResponse>;
641
+ ).annotate({ identifier: "AlertGroupsResponse" }) as any as S.Schema<AlertGroupsResponse>;
675
642
 
676
643
  export interface CreateAlertRecordRequest {
677
644
  projectId: string;
@@ -700,9 +667,7 @@ export const CreateAlertRecordRequest = /*@__PURE__*/ S.suspend(() =>
700
667
  baseUrl: "https://argus.api.{region}stackit.cloud",
701
668
  }),
702
669
  ),
703
- ).annotate({
704
- identifier: "CreateAlertRecordRequest",
705
- }) as any as S.Schema<CreateAlertRecordRequest>;
670
+ ).annotate({ identifier: "CreateAlertRecordRequest" }) as any as S.Schema<CreateAlertRecordRequest>;
706
671
 
707
672
  export type AlertRecordLabelsMap = { [key: string]: string | undefined };
708
673
  export const AlertRecordLabelsMap = /*@__PURE__*/ S.Record(
@@ -737,9 +702,7 @@ export const AlertRecordsResponse = /*@__PURE__*/ S.suspend(() =>
737
702
  data: AlertRecordsResponseDataList,
738
703
  message: S.String,
739
704
  }),
740
- ).annotate({
741
- identifier: "AlertRecordsResponse",
742
- }) as any as S.Schema<AlertRecordsResponse>;
705
+ ).annotate({ identifier: "AlertRecordsResponse" }) as any as S.Schema<AlertRecordsResponse>;
743
706
 
744
707
  export interface CreateAlertrulesRequest {
745
708
  projectId: string;
@@ -774,9 +737,7 @@ export const CreateAlertrulesRequest = /*@__PURE__*/ S.suspend(() =>
774
737
  baseUrl: "https://argus.api.{region}stackit.cloud",
775
738
  }),
776
739
  ),
777
- ).annotate({
778
- identifier: "CreateAlertrulesRequest",
779
- }) as any as S.Schema<CreateAlertrulesRequest>;
740
+ ).annotate({ identifier: "CreateAlertrulesRequest" }) as any as S.Schema<CreateAlertrulesRequest>;
780
741
 
781
742
  export type AlertRuleAnnotationsMap = { [key: string]: string | undefined };
782
743
  export const AlertRuleAnnotationsMap = /*@__PURE__*/ S.Record(
@@ -821,16 +782,14 @@ export const AlertRulesResponse = /*@__PURE__*/ S.suspend(() =>
821
782
  data: AlertRulesResponseDataList,
822
783
  message: S.String,
823
784
  }),
824
- ).annotate({
825
- identifier: "AlertRulesResponse",
826
- }) as any as S.Schema<AlertRulesResponse>;
785
+ ).annotate({ identifier: "AlertRulesResponse" }) as any as S.Schema<AlertRulesResponse>;
827
786
 
828
787
  export type CreateBackupRequestBackupTargetItem =
829
788
  | "alertConfig"
830
789
  | "alertRules"
831
790
  | "scrapeConfig"
832
791
  | "grafana";
833
- export const CreateBackupRequestBackupTargetItem = /*@__PURE__*/ S.String;
792
+ export const CreateBackupRequestBackupTargetItem = S.String;
834
793
 
835
794
  export type CreateBackupRequestBackupTargetList = Array<
836
795
  CreateBackupRequestBackupTargetItem | (string & {})
@@ -849,9 +808,7 @@ export const CreateBackupRequest = /*@__PURE__*/ S.suspend(() =>
849
808
  S.Struct({
850
809
  projectId: S.String.pipe(T.Label()),
851
810
  instanceId: S.String.pipe(T.Label()),
852
- backupTarget: S.optional(
853
- CreateBackupRequestBackupTargetList.pipe(T.Query()),
854
- ),
811
+ backupTarget: S.optional(CreateBackupRequestBackupTargetList.pipe(T.Query())),
855
812
  }).pipe(
856
813
  T.Http({
857
814
  method: "POST",
@@ -860,9 +817,7 @@ export const CreateBackupRequest = /*@__PURE__*/ S.suspend(() =>
860
817
  baseUrl: "https://argus.api.{region}stackit.cloud",
861
818
  }),
862
819
  ),
863
- ).annotate({
864
- identifier: "CreateBackupRequest",
865
- }) as any as S.Schema<CreateBackupRequest>;
820
+ ).annotate({ identifier: "CreateBackupRequest" }) as any as S.Schema<CreateBackupRequest>;
866
821
 
867
822
  export interface Message {
868
823
  message: string;
@@ -878,16 +833,14 @@ export type CreateBackupScheduleRequestBackupTargetItem =
878
833
  | "alertRules"
879
834
  | "scrapeConfig"
880
835
  | "grafana";
881
- export const CreateBackupScheduleRequestBackupTargetItem =
882
- /*@__PURE__*/ S.String;
836
+ export const CreateBackupScheduleRequestBackupTargetItem = S.String;
883
837
 
884
838
  export type CreateBackupScheduleRequestBackupTargetList = Array<
885
839
  CreateBackupScheduleRequestBackupTargetItem | (string & {})
886
840
  >;
887
- export const CreateBackupScheduleRequestBackupTargetList =
888
- /*@__PURE__*/ S.Array(
889
- CreateBackupScheduleRequestBackupTargetItem,
890
- ) as any as S.Schema<CreateBackupScheduleRequestBackupTargetList>;
841
+ export const CreateBackupScheduleRequestBackupTargetList = /*@__PURE__*/ S.Array(
842
+ CreateBackupScheduleRequestBackupTargetItem,
843
+ ) as any as S.Schema<CreateBackupScheduleRequestBackupTargetList>;
891
844
 
892
845
  export interface CreateBackupScheduleRequest {
893
846
  projectId: string;
@@ -901,9 +854,7 @@ export const CreateBackupScheduleRequest = /*@__PURE__*/ S.suspend(() =>
901
854
  S.Struct({
902
855
  projectId: S.String.pipe(T.Label()),
903
856
  instanceId: S.String.pipe(T.Label()),
904
- backupTarget: S.optional(
905
- CreateBackupScheduleRequestBackupTargetList.pipe(T.Query()),
906
- ),
857
+ backupTarget: S.optional(CreateBackupScheduleRequestBackupTargetList.pipe(T.Query())),
907
858
  schedule: S.String,
908
859
  }).pipe(
909
860
  T.Http({
@@ -949,9 +900,7 @@ export const CreateCertCheckRequest = /*@__PURE__*/ S.suspend(() =>
949
900
  baseUrl: "https://argus.api.{region}stackit.cloud",
950
901
  }),
951
902
  ),
952
- ).annotate({
953
- identifier: "CreateCertCheckRequest",
954
- }) as any as S.Schema<CreateCertCheckRequest>;
903
+ ).annotate({ identifier: "CreateCertCheckRequest" }) as any as S.Schema<CreateCertCheckRequest>;
955
904
 
956
905
  export interface CertCheckChildResponse {
957
906
  id: string;
@@ -962,9 +911,7 @@ export const CertCheckChildResponse = /*@__PURE__*/ S.suspend(() =>
962
911
  id: S.String,
963
912
  source: S.String,
964
913
  }),
965
- ).annotate({
966
- identifier: "CertCheckChildResponse",
967
- }) as any as S.Schema<CertCheckChildResponse>;
914
+ ).annotate({ identifier: "CertCheckChildResponse" }) as any as S.Schema<CertCheckChildResponse>;
968
915
 
969
916
  export type CertCheckResponseCertChecksList = Array<CertCheckChildResponse>;
970
917
  export const CertCheckResponseCertChecksList = /*@__PURE__*/ S.Array(
@@ -982,9 +929,7 @@ export const CertCheckResponse = /*@__PURE__*/ S.suspend(() =>
982
929
  certChecks: CertCheckResponseCertChecksList,
983
930
  message: S.String,
984
931
  }),
985
- ).annotate({
986
- identifier: "CertCheckResponse",
987
- }) as any as S.Schema<CertCheckResponse>;
932
+ ).annotate({ identifier: "CertCheckResponse" }) as any as S.Schema<CertCheckResponse>;
988
933
 
989
934
  export interface CreateCredentialsRequest {
990
935
  projectId: string;
@@ -1005,9 +950,7 @@ export const CreateCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
1005
950
  baseUrl: "https://argus.api.{region}stackit.cloud",
1006
951
  }),
1007
952
  ),
1008
- ).annotate({
1009
- identifier: "CreateCredentialsRequest",
1010
- }) as any as S.Schema<CreateCredentialsRequest>;
953
+ ).annotate({ identifier: "CreateCredentialsRequest" }) as any as S.Schema<CreateCredentialsRequest>;
1011
954
 
1012
955
  export interface Credentials {
1013
956
  description?: string;
@@ -1083,10 +1026,9 @@ export const ElasticsearchCheckChildResponse = /*@__PURE__*/ S.suspend(() =>
1083
1026
 
1084
1027
  export type ElasticsearchCheckResponseElasticsearchChecksList =
1085
1028
  Array<ElasticsearchCheckChildResponse>;
1086
- export const ElasticsearchCheckResponseElasticsearchChecksList =
1087
- /*@__PURE__*/ S.Array(
1088
- ElasticsearchCheckChildResponse,
1089
- ) as any as S.Schema<ElasticsearchCheckResponseElasticsearchChecksList>;
1029
+ export const ElasticsearchCheckResponseElasticsearchChecksList = /*@__PURE__*/ S.Array(
1030
+ ElasticsearchCheckChildResponse,
1031
+ ) as any as S.Schema<ElasticsearchCheckResponseElasticsearchChecksList>;
1090
1032
 
1091
1033
  export interface ElasticsearchCheckResponse {
1092
1034
  elasticsearchCheck?: ElasticsearchCheckChildResponse;
@@ -1122,9 +1064,7 @@ export const CreateHttpCheckRequest = /*@__PURE__*/ S.suspend(() =>
1122
1064
  baseUrl: "https://argus.api.{region}stackit.cloud",
1123
1065
  }),
1124
1066
  ),
1125
- ).annotate({
1126
- identifier: "CreateHttpCheckRequest",
1127
- }) as any as S.Schema<CreateHttpCheckRequest>;
1067
+ ).annotate({ identifier: "CreateHttpCheckRequest" }) as any as S.Schema<CreateHttpCheckRequest>;
1128
1068
 
1129
1069
  export interface HttpCheckChildResponse {
1130
1070
  id: string;
@@ -1135,9 +1075,7 @@ export const HttpCheckChildResponse = /*@__PURE__*/ S.suspend(() =>
1135
1075
  id: S.String,
1136
1076
  url: S.String,
1137
1077
  }),
1138
- ).annotate({
1139
- identifier: "HttpCheckChildResponse",
1140
- }) as any as S.Schema<HttpCheckChildResponse>;
1078
+ ).annotate({ identifier: "HttpCheckChildResponse" }) as any as S.Schema<HttpCheckChildResponse>;
1141
1079
 
1142
1080
  export type HttpCheckResponseHttpChecksList = Array<HttpCheckChildResponse>;
1143
1081
  export const HttpCheckResponseHttpChecksList = /*@__PURE__*/ S.Array(
@@ -1155,9 +1093,7 @@ export const HttpCheckResponse = /*@__PURE__*/ S.suspend(() =>
1155
1093
  httpChecks: HttpCheckResponseHttpChecksList,
1156
1094
  message: S.String,
1157
1095
  }),
1158
- ).annotate({
1159
- identifier: "HttpCheckResponse",
1160
- }) as any as S.Schema<HttpCheckResponse>;
1096
+ ).annotate({ identifier: "HttpCheckResponse" }) as any as S.Schema<HttpCheckResponse>;
1161
1097
 
1162
1098
  export interface CreateInstanceRequest {
1163
1099
  projectId: string;
@@ -1185,9 +1121,7 @@ export const CreateInstanceRequest = /*@__PURE__*/ S.suspend(() =>
1185
1121
  baseUrl: "https://argus.api.{region}stackit.cloud",
1186
1122
  }),
1187
1123
  ),
1188
- ).annotate({
1189
- identifier: "CreateInstanceRequest",
1190
- }) as any as S.Schema<CreateInstanceRequest>;
1124
+ ).annotate({ identifier: "CreateInstanceRequest" }) as any as S.Schema<CreateInstanceRequest>;
1191
1125
 
1192
1126
  export interface CreateInstanceResponse {
1193
1127
  dashboardUrl: string;
@@ -1200,9 +1134,7 @@ export const CreateInstanceResponse = /*@__PURE__*/ S.suspend(() =>
1200
1134
  instanceId: S.String,
1201
1135
  message: S.String,
1202
1136
  }),
1203
- ).annotate({
1204
- identifier: "CreateInstanceResponse",
1205
- }) as any as S.Schema<CreateInstanceResponse>;
1137
+ ).annotate({ identifier: "CreateInstanceResponse" }) as any as S.Schema<CreateInstanceResponse>;
1206
1138
 
1207
1139
  /** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
1208
1140
  export interface CreateLogsAlertgroupsRequestRulesItem {
@@ -1219,23 +1151,21 @@ export interface CreateLogsAlertgroupsRequestRulesItem {
1219
1151
  /** The name of the metric. When this attribute is used, an Recording Rule will be created. `Additional Validators:` * is the identifier and so unique in the group * should only include the characters: a-zA-Z0-9:_ * required when 'alert' is not used in this rule, otherwise not allowed */
1220
1152
  record?: string;
1221
1153
  }
1222
- export const CreateLogsAlertgroupsRequestRulesItem = /*@__PURE__*/ S.suspend(
1223
- () =>
1224
- S.Struct({
1225
- alert: S.optional(S.String),
1226
- annotations: S.optional(S.Unknown),
1227
- expr: S.String,
1228
- for: S.optional(S.String),
1229
- labels: S.optional(S.Unknown),
1230
- record: S.optional(S.String),
1231
- }),
1154
+ export const CreateLogsAlertgroupsRequestRulesItem = /*@__PURE__*/ S.suspend(() =>
1155
+ S.Struct({
1156
+ alert: S.optional(S.String),
1157
+ annotations: S.optional(S.Unknown),
1158
+ expr: S.String,
1159
+ for: S.optional(S.String),
1160
+ labels: S.optional(S.Unknown),
1161
+ record: S.optional(S.String),
1162
+ }),
1232
1163
  ).annotate({
1233
1164
  identifier: "CreateLogsAlertgroupsRequestRulesItem",
1234
1165
  }) as any as S.Schema<CreateLogsAlertgroupsRequestRulesItem>;
1235
1166
 
1236
1167
  /** rules for the alert group */
1237
- export type CreateLogsAlertgroupsRequestRulesList =
1238
- Array<CreateLogsAlertgroupsRequestRulesItem>;
1168
+ export type CreateLogsAlertgroupsRequestRulesList = Array<CreateLogsAlertgroupsRequestRulesItem>;
1239
1169
  export const CreateLogsAlertgroupsRequestRulesList = /*@__PURE__*/ S.Array(
1240
1170
  CreateLogsAlertgroupsRequestRulesItem,
1241
1171
  ) as any as S.Schema<CreateLogsAlertgroupsRequestRulesList>;
@@ -1305,8 +1235,7 @@ export const MongodbCheckChildResponse = /*@__PURE__*/ S.suspend(() =>
1305
1235
  identifier: "MongodbCheckChildResponse",
1306
1236
  }) as any as S.Schema<MongodbCheckChildResponse>;
1307
1237
 
1308
- export type MongodbCheckResponseMongodbChecksList =
1309
- Array<MongodbCheckChildResponse>;
1238
+ export type MongodbCheckResponseMongodbChecksList = Array<MongodbCheckChildResponse>;
1310
1239
  export const MongodbCheckResponseMongodbChecksList = /*@__PURE__*/ S.Array(
1311
1240
  MongodbCheckChildResponse,
1312
1241
  ) as any as S.Schema<MongodbCheckResponseMongodbChecksList>;
@@ -1322,9 +1251,7 @@ export const MongodbCheckResponse = /*@__PURE__*/ S.suspend(() =>
1322
1251
  mongodbCheck: S.optional(MongodbCheckChildResponse),
1323
1252
  mongodbChecks: MongodbCheckResponseMongodbChecksList,
1324
1253
  }),
1325
- ).annotate({
1326
- identifier: "MongodbCheckResponse",
1327
- }) as any as S.Schema<MongodbCheckResponse>;
1254
+ ).annotate({ identifier: "MongodbCheckResponse" }) as any as S.Schema<MongodbCheckResponse>;
1328
1255
 
1329
1256
  export interface CreateMysqlCheckRequest {
1330
1257
  projectId: string;
@@ -1345,15 +1272,12 @@ export const CreateMysqlCheckRequest = /*@__PURE__*/ S.suspend(() =>
1345
1272
  baseUrl: "https://argus.api.{region}stackit.cloud",
1346
1273
  }),
1347
1274
  ),
1348
- ).annotate({
1349
- identifier: "CreateMysqlCheckRequest",
1350
- }) as any as S.Schema<CreateMysqlCheckRequest>;
1275
+ ).annotate({ identifier: "CreateMysqlCheckRequest" }) as any as S.Schema<CreateMysqlCheckRequest>;
1351
1276
 
1352
1277
  export type MysqlCheckChildResponse = MongodbCheckChildResponse;
1353
1278
  export const MysqlCheckChildResponse = MongodbCheckChildResponse;
1354
1279
 
1355
- export type MysqlCheckResponseMysqlChecksList =
1356
- Array<MongodbCheckChildResponse>;
1280
+ export type MysqlCheckResponseMysqlChecksList = Array<MongodbCheckChildResponse>;
1357
1281
  export const MysqlCheckResponseMysqlChecksList = /*@__PURE__*/ S.Array(
1358
1282
  MongodbCheckChildResponse,
1359
1283
  ) as any as S.Schema<MysqlCheckResponseMysqlChecksList>;
@@ -1369,9 +1293,7 @@ export const MysqlCheckResponse = /*@__PURE__*/ S.suspend(() =>
1369
1293
  mysqlCheck: S.optional(MongodbCheckChildResponse),
1370
1294
  mysqlChecks: MysqlCheckResponseMysqlChecksList,
1371
1295
  }),
1372
- ).annotate({
1373
- identifier: "MysqlCheckResponse",
1374
- }) as any as S.Schema<MysqlCheckResponse>;
1296
+ ).annotate({ identifier: "MysqlCheckResponse" }) as any as S.Schema<MysqlCheckResponse>;
1375
1297
 
1376
1298
  export interface CreateNetworkCheckRequest {
1377
1299
  projectId: string;
@@ -1409,8 +1331,7 @@ export const NetworkCheckChildResponse = /*@__PURE__*/ S.suspend(() =>
1409
1331
  identifier: "NetworkCheckChildResponse",
1410
1332
  }) as any as S.Schema<NetworkCheckChildResponse>;
1411
1333
 
1412
- export type NetworkCheckResponseNetworkChecksList =
1413
- Array<NetworkCheckChildResponse>;
1334
+ export type NetworkCheckResponseNetworkChecksList = Array<NetworkCheckChildResponse>;
1414
1335
  export const NetworkCheckResponseNetworkChecksList = /*@__PURE__*/ S.Array(
1415
1336
  NetworkCheckChildResponse,
1416
1337
  ) as any as S.Schema<NetworkCheckResponseNetworkChecksList>;
@@ -1426,9 +1347,7 @@ export const NetworkCheckResponse = /*@__PURE__*/ S.suspend(() =>
1426
1347
  networkCheck: S.optional(NetworkCheckChildResponse),
1427
1348
  networkChecks: NetworkCheckResponseNetworkChecksList,
1428
1349
  }),
1429
- ).annotate({
1430
- identifier: "NetworkCheckResponse",
1431
- }) as any as S.Schema<NetworkCheckResponse>;
1350
+ ).annotate({ identifier: "NetworkCheckResponse" }) as any as S.Schema<NetworkCheckResponse>;
1432
1351
 
1433
1352
  export interface CreatePingCheckRequest {
1434
1353
  projectId: string;
@@ -1449,9 +1368,7 @@ export const CreatePingCheckRequest = /*@__PURE__*/ S.suspend(() =>
1449
1368
  baseUrl: "https://argus.api.{region}stackit.cloud",
1450
1369
  }),
1451
1370
  ),
1452
- ).annotate({
1453
- identifier: "CreatePingCheckRequest",
1454
- }) as any as S.Schema<CreatePingCheckRequest>;
1371
+ ).annotate({ identifier: "CreatePingCheckRequest" }) as any as S.Schema<CreatePingCheckRequest>;
1455
1372
 
1456
1373
  export type PingCheckChildResponse = HttpCheckChildResponse;
1457
1374
  export const PingCheckChildResponse = HttpCheckChildResponse;
@@ -1472,9 +1389,7 @@ export const PingCheckResponse = /*@__PURE__*/ S.suspend(() =>
1472
1389
  pingCheck: S.optional(HttpCheckChildResponse),
1473
1390
  pingChecks: PingCheckResponsePingChecksList,
1474
1391
  }),
1475
- ).annotate({
1476
- identifier: "PingCheckResponse",
1477
- }) as any as S.Schema<PingCheckResponse>;
1392
+ ).annotate({ identifier: "PingCheckResponse" }) as any as S.Schema<PingCheckResponse>;
1478
1393
 
1479
1394
  export interface CreatePostgresqlCheckRequest {
1480
1395
  projectId: string;
@@ -1502,12 +1417,10 @@ export const CreatePostgresqlCheckRequest = /*@__PURE__*/ S.suspend(() =>
1502
1417
  export type PostgresqlCheckChildResponse = NetworkCheckChildResponse;
1503
1418
  export const PostgresqlCheckChildResponse = NetworkCheckChildResponse;
1504
1419
 
1505
- export type PostgresqlCheckResponsePostgresqlChecksList =
1506
- Array<NetworkCheckChildResponse>;
1507
- export const PostgresqlCheckResponsePostgresqlChecksList =
1508
- /*@__PURE__*/ S.Array(
1509
- NetworkCheckChildResponse,
1510
- ) as any as S.Schema<PostgresqlCheckResponsePostgresqlChecksList>;
1420
+ export type PostgresqlCheckResponsePostgresqlChecksList = Array<NetworkCheckChildResponse>;
1421
+ export const PostgresqlCheckResponsePostgresqlChecksList = /*@__PURE__*/ S.Array(
1422
+ NetworkCheckChildResponse,
1423
+ ) as any as S.Schema<PostgresqlCheckResponsePostgresqlChecksList>;
1511
1424
 
1512
1425
  export interface PostgresqlCheckResponse {
1513
1426
  message: string;
@@ -1520,9 +1433,7 @@ export const PostgresqlCheckResponse = /*@__PURE__*/ S.suspend(() =>
1520
1433
  postgresqlCheck: S.optional(NetworkCheckChildResponse),
1521
1434
  postgresqlChecks: PostgresqlCheckResponsePostgresqlChecksList,
1522
1435
  }),
1523
- ).annotate({
1524
- identifier: "PostgresqlCheckResponse",
1525
- }) as any as S.Schema<PostgresqlCheckResponse>;
1436
+ ).annotate({ identifier: "PostgresqlCheckResponse" }) as any as S.Schema<PostgresqlCheckResponse>;
1526
1437
 
1527
1438
  export interface CreateRabbitmqCheckRequest {
1528
1439
  projectId: string;
@@ -1570,8 +1481,7 @@ export const RabbitMQCheckChildResponse = /*@__PURE__*/ S.suspend(() =>
1570
1481
  identifier: "RabbitMQCheckChildResponse",
1571
1482
  }) as any as S.Schema<RabbitMQCheckChildResponse>;
1572
1483
 
1573
- export type RabbitmqCheckResponseRabbitmqChecksList =
1574
- Array<RabbitMQCheckChildResponse>;
1484
+ export type RabbitmqCheckResponseRabbitmqChecksList = Array<RabbitMQCheckChildResponse>;
1575
1485
  export const RabbitmqCheckResponseRabbitmqChecksList = /*@__PURE__*/ S.Array(
1576
1486
  RabbitMQCheckChildResponse,
1577
1487
  ) as any as S.Schema<RabbitmqCheckResponseRabbitmqChecksList>;
@@ -1587,9 +1497,7 @@ export const RabbitmqCheckResponse = /*@__PURE__*/ S.suspend(() =>
1587
1497
  rabbitmqCheck: S.optional(RabbitMQCheckChildResponse),
1588
1498
  rabbitmqChecks: RabbitmqCheckResponseRabbitmqChecksList,
1589
1499
  }),
1590
- ).annotate({
1591
- identifier: "RabbitmqCheckResponse",
1592
- }) as any as S.Schema<RabbitmqCheckResponse>;
1500
+ ).annotate({ identifier: "RabbitmqCheckResponse" }) as any as S.Schema<RabbitmqCheckResponse>;
1593
1501
 
1594
1502
  export interface CreateRedisCheckRequest {
1595
1503
  projectId: string;
@@ -1616,15 +1524,12 @@ export const CreateRedisCheckRequest = /*@__PURE__*/ S.suspend(() =>
1616
1524
  baseUrl: "https://argus.api.{region}stackit.cloud",
1617
1525
  }),
1618
1526
  ),
1619
- ).annotate({
1620
- identifier: "CreateRedisCheckRequest",
1621
- }) as any as S.Schema<CreateRedisCheckRequest>;
1527
+ ).annotate({ identifier: "CreateRedisCheckRequest" }) as any as S.Schema<CreateRedisCheckRequest>;
1622
1528
 
1623
1529
  export type RedisCheckChildResponse = ElasticsearchCheckChildResponse;
1624
1530
  export const RedisCheckChildResponse = ElasticsearchCheckChildResponse;
1625
1531
 
1626
- export type RedisCheckResponseRedisChecksList =
1627
- Array<ElasticsearchCheckChildResponse>;
1532
+ export type RedisCheckResponseRedisChecksList = Array<ElasticsearchCheckChildResponse>;
1628
1533
  export const RedisCheckResponseRedisChecksList = /*@__PURE__*/ S.Array(
1629
1534
  ElasticsearchCheckChildResponse,
1630
1535
  ) as any as S.Schema<RedisCheckResponseRedisChecksList>;
@@ -1640,9 +1545,7 @@ export const RedisCheckResponse = /*@__PURE__*/ S.suspend(() =>
1640
1545
  redisCheck: S.optional(ElasticsearchCheckChildResponse),
1641
1546
  redisChecks: RedisCheckResponseRedisChecksList,
1642
1547
  }),
1643
- ).annotate({
1644
- identifier: "RedisCheckResponse",
1645
- }) as any as S.Schema<RedisCheckResponse>;
1548
+ ).annotate({ identifier: "RedisCheckResponse" }) as any as S.Schema<RedisCheckResponse>;
1646
1549
 
1647
1550
  /** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
1648
1551
  export interface CreateScrapeConfigRequestBasicAuth {
@@ -1667,26 +1570,24 @@ export const CreateScrapeConfigRequestHttpSdConfigsItemBasicAuth =
1667
1570
  CreateScrapeConfigRequestBasicAuth;
1668
1571
 
1669
1572
  /** The URL to fetch the token from. */
1670
- export type CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList =
1671
- Array<string>;
1672
- export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList =
1673
- /*@__PURE__*/ S.Array(
1674
- S.String,
1675
- ) as any as S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList>;
1573
+ export type CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList = Array<string>;
1574
+ export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList = /*@__PURE__*/ S.Array(
1575
+ S.String,
1576
+ ) as any as S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList>;
1676
1577
 
1677
1578
  /** Configures the scrape request's TLS settings. */
1678
1579
  export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig {
1679
1580
  /** Disable validation of the server certificate. */
1680
1581
  insecureSkipVerify?: boolean;
1681
1582
  }
1682
- export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig =
1683
- /*@__PURE__*/ S.suspend(() =>
1583
+ export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig = /*@__PURE__*/ S.suspend(
1584
+ () =>
1684
1585
  S.Struct({
1685
1586
  insecureSkipVerify: S.optional(S.Boolean),
1686
1587
  }),
1687
- ).annotate({
1688
- identifier: "CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig",
1689
- }) as any as S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
1588
+ ).annotate({
1589
+ identifier: "CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig",
1590
+ }) as any as S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
1690
1591
 
1691
1592
  /** OAuth 2.0 authentication using the client credentials grant type. Prometheus fetches an access token from the specified endpoint with the given client access and secret keys. `Additional Validators:` * if oauth2 is in the body no other authentication method should be in the body */
1692
1593
  export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2 {
@@ -1701,22 +1602,17 @@ export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2 {
1701
1602
  /** The URL to fetch the token from. */
1702
1603
  tokenUrl: string;
1703
1604
  }
1704
- export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2 =
1705
- /*@__PURE__*/ S.suspend(() =>
1706
- S.Struct({
1707
- clientId: S.String,
1708
- clientSecret: S.String.pipe(T.SensitiveValue({})),
1709
- scopes: S.optional(
1710
- CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList,
1711
- ),
1712
- tlsConfig: S.optional(
1713
- CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig,
1714
- ),
1715
- tokenUrl: S.String,
1716
- }),
1717
- ).annotate({
1718
- identifier: "CreateScrapeConfigRequestHttpSdConfigsItemOauth2",
1719
- }) as any as S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2>;
1605
+ export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2 = /*@__PURE__*/ S.suspend(() =>
1606
+ S.Struct({
1607
+ clientId: S.String,
1608
+ clientSecret: S.String.pipe(T.SensitiveValue({})),
1609
+ scopes: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList),
1610
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
1611
+ tokenUrl: S.String,
1612
+ }),
1613
+ ).annotate({
1614
+ identifier: "CreateScrapeConfigRequestHttpSdConfigsItemOauth2",
1615
+ }) as any as S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2>;
1720
1616
 
1721
1617
  /** Configures the scrape request's TLS settings. */
1722
1618
  export type CreateScrapeConfigRequestHttpSdConfigsItemTlsConfig =
@@ -1736,20 +1632,17 @@ export interface CreateScrapeConfigRequestHttpSdConfigsItem {
1736
1632
  /** URL from which the targets are fetched. */
1737
1633
  url: string;
1738
1634
  }
1739
- export const CreateScrapeConfigRequestHttpSdConfigsItem =
1740
- /*@__PURE__*/ S.suspend(() =>
1741
- S.Struct({
1742
- basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
1743
- oauth2: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2),
1744
- refreshInterval: S.optional(S.String),
1745
- tlsConfig: S.optional(
1746
- CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig,
1747
- ),
1748
- url: S.String,
1749
- }),
1750
- ).annotate({
1751
- identifier: "CreateScrapeConfigRequestHttpSdConfigsItem",
1752
- }) as any as S.Schema<CreateScrapeConfigRequestHttpSdConfigsItem>;
1635
+ export const CreateScrapeConfigRequestHttpSdConfigsItem = /*@__PURE__*/ S.suspend(() =>
1636
+ S.Struct({
1637
+ basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
1638
+ oauth2: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2),
1639
+ refreshInterval: S.optional(S.String),
1640
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
1641
+ url: S.String,
1642
+ }),
1643
+ ).annotate({
1644
+ identifier: "CreateScrapeConfigRequestHttpSdConfigsItem",
1645
+ }) as any as S.Schema<CreateScrapeConfigRequestHttpSdConfigsItem>;
1753
1646
 
1754
1647
  /** HTTP-based service discovery provides a more generic way to configure static targets and serves as an interface to plug in custom service discovery mechanisms. */
1755
1648
  export type CreateScrapeConfigRequestHttpSdConfigsList =
@@ -1767,12 +1660,10 @@ export type CreateScrapeConfigRequestMetricsRelabelConfigsItemAction =
1767
1660
  | "labelmap"
1768
1661
  | "labeldrop"
1769
1662
  | "labelkeep";
1770
- export const CreateScrapeConfigRequestMetricsRelabelConfigsItemAction =
1771
- /*@__PURE__*/ S.String;
1663
+ export const CreateScrapeConfigRequestMetricsRelabelConfigsItemAction = S.String;
1772
1664
 
1773
1665
  /** The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions. */
1774
- export type CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList =
1775
- Array<string>;
1666
+ export type CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList = Array<string>;
1776
1667
  export const CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList =
1777
1668
  /*@__PURE__*/ S.Array(
1778
1669
  S.String,
@@ -1780,9 +1671,7 @@ export const CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList
1780
1671
 
1781
1672
  export interface CreateScrapeConfigRequestMetricsRelabelConfigsItem {
1782
1673
  /** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
1783
- action?:
1784
- | CreateScrapeConfigRequestMetricsRelabelConfigsItemAction
1785
- | (string & {});
1674
+ action?: CreateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {});
1786
1675
  /** Modulus to take of the hash of the source label values. */
1787
1676
  modulus?: number;
1788
1677
  /** Regular expression against which the extracted value is matched. */
@@ -1796,32 +1685,26 @@ export interface CreateScrapeConfigRequestMetricsRelabelConfigsItem {
1796
1685
  /** Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available. */
1797
1686
  targetLabel?: string;
1798
1687
  }
1799
- export const CreateScrapeConfigRequestMetricsRelabelConfigsItem =
1800
- /*@__PURE__*/ S.suspend(() =>
1801
- S.Struct({
1802
- action: S.optional(
1803
- CreateScrapeConfigRequestMetricsRelabelConfigsItemAction,
1804
- ),
1805
- modulus: S.optional(S.Number),
1806
- regex: S.optional(S.String),
1807
- replacement: S.optional(S.String),
1808
- separator: S.optional(S.String),
1809
- sourceLabels: S.optional(
1810
- CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList,
1811
- ),
1812
- targetLabel: S.optional(S.String),
1813
- }),
1814
- ).annotate({
1815
- identifier: "CreateScrapeConfigRequestMetricsRelabelConfigsItem",
1816
- }) as any as S.Schema<CreateScrapeConfigRequestMetricsRelabelConfigsItem>;
1688
+ export const CreateScrapeConfigRequestMetricsRelabelConfigsItem = /*@__PURE__*/ S.suspend(() =>
1689
+ S.Struct({
1690
+ action: S.optional(CreateScrapeConfigRequestMetricsRelabelConfigsItemAction),
1691
+ modulus: S.optional(S.Number),
1692
+ regex: S.optional(S.String),
1693
+ replacement: S.optional(S.String),
1694
+ separator: S.optional(S.String),
1695
+ sourceLabels: S.optional(CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList),
1696
+ targetLabel: S.optional(S.String),
1697
+ }),
1698
+ ).annotate({
1699
+ identifier: "CreateScrapeConfigRequestMetricsRelabelConfigsItem",
1700
+ }) as any as S.Schema<CreateScrapeConfigRequestMetricsRelabelConfigsItem>;
1817
1701
 
1818
1702
  /** List of metric relabel configurations */
1819
1703
  export type CreateScrapeConfigRequestMetricsRelabelConfigsList =
1820
1704
  Array<CreateScrapeConfigRequestMetricsRelabelConfigsItem>;
1821
- export const CreateScrapeConfigRequestMetricsRelabelConfigsList =
1822
- /*@__PURE__*/ S.Array(
1823
- CreateScrapeConfigRequestMetricsRelabelConfigsItem,
1824
- ) as any as S.Schema<CreateScrapeConfigRequestMetricsRelabelConfigsList>;
1705
+ export const CreateScrapeConfigRequestMetricsRelabelConfigsList = /*@__PURE__*/ S.Array(
1706
+ CreateScrapeConfigRequestMetricsRelabelConfigsItem,
1707
+ ) as any as S.Schema<CreateScrapeConfigRequestMetricsRelabelConfigsList>;
1825
1708
 
1826
1709
  /** The URL to fetch the token from. */
1827
1710
  export type CreateScrapeConfigRequestOauth2ScopesList = Array<string>;
@@ -1853,9 +1736,7 @@ export const CreateScrapeConfigRequestOauth2 = /*@__PURE__*/ S.suspend(() =>
1853
1736
  clientId: S.String,
1854
1737
  clientSecret: S.String.pipe(T.SensitiveValue({})),
1855
1738
  scopes: S.optional(CreateScrapeConfigRequestOauth2ScopesList),
1856
- tlsConfig: S.optional(
1857
- CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig,
1858
- ),
1739
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
1859
1740
  tokenUrl: S.String,
1860
1741
  }),
1861
1742
  ).annotate({
@@ -1864,15 +1745,13 @@ export const CreateScrapeConfigRequestOauth2 = /*@__PURE__*/ S.suspend(() =>
1864
1745
 
1865
1746
  /** Configures the protocol scheme used for requests. https or http */
1866
1747
  export type CreateScrapeConfigRequestScheme = "http" | "https";
1867
- export const CreateScrapeConfigRequestScheme = /*@__PURE__*/ S.String;
1748
+ export const CreateScrapeConfigRequestScheme = S.String;
1868
1749
 
1869
1750
  /** The targets specified by the static config. */
1870
- export type CreateScrapeConfigRequestStaticConfigsItemTargetsList =
1871
- Array<string>;
1872
- export const CreateScrapeConfigRequestStaticConfigsItemTargetsList =
1873
- /*@__PURE__*/ S.Array(
1874
- S.String,
1875
- ) as any as S.Schema<CreateScrapeConfigRequestStaticConfigsItemTargetsList>;
1751
+ export type CreateScrapeConfigRequestStaticConfigsItemTargetsList = Array<string>;
1752
+ export const CreateScrapeConfigRequestStaticConfigsItemTargetsList = /*@__PURE__*/ S.Array(
1753
+ S.String,
1754
+ ) as any as S.Schema<CreateScrapeConfigRequestStaticConfigsItemTargetsList>;
1876
1755
 
1877
1756
  export interface CreateScrapeConfigRequestStaticConfigsItem {
1878
1757
  /** Labels assigned to all metrics scraped from the targets. `Additional Validators:` * should not contain more than 10 keys * each key and value should not be longer than 200 characters */
@@ -1880,15 +1759,14 @@ export interface CreateScrapeConfigRequestStaticConfigsItem {
1880
1759
  /** The targets specified by the static config. */
1881
1760
  targets: CreateScrapeConfigRequestStaticConfigsItemTargetsList;
1882
1761
  }
1883
- export const CreateScrapeConfigRequestStaticConfigsItem =
1884
- /*@__PURE__*/ S.suspend(() =>
1885
- S.Struct({
1886
- labels: S.optional(S.Unknown),
1887
- targets: CreateScrapeConfigRequestStaticConfigsItemTargetsList,
1888
- }),
1889
- ).annotate({
1890
- identifier: "CreateScrapeConfigRequestStaticConfigsItem",
1891
- }) as any as S.Schema<CreateScrapeConfigRequestStaticConfigsItem>;
1762
+ export const CreateScrapeConfigRequestStaticConfigsItem = /*@__PURE__*/ S.suspend(() =>
1763
+ S.Struct({
1764
+ labels: S.optional(S.Unknown),
1765
+ targets: CreateScrapeConfigRequestStaticConfigsItemTargetsList,
1766
+ }),
1767
+ ).annotate({
1768
+ identifier: "CreateScrapeConfigRequestStaticConfigsItem",
1769
+ }) as any as S.Schema<CreateScrapeConfigRequestStaticConfigsItem>;
1892
1770
 
1893
1771
  /** A list of scrape configurations. */
1894
1772
  export type CreateScrapeConfigRequestStaticConfigsList =
@@ -1950,9 +1828,7 @@ export const CreateScrapeConfigRequest = /*@__PURE__*/ S.suspend(() =>
1950
1828
  httpSdConfigs: S.optional(CreateScrapeConfigRequestHttpSdConfigsList),
1951
1829
  jobName: S.String,
1952
1830
  metricsPath: S.optional(S.String),
1953
- metricsRelabelConfigs: S.optional(
1954
- CreateScrapeConfigRequestMetricsRelabelConfigsList,
1955
- ),
1831
+ metricsRelabelConfigs: S.optional(CreateScrapeConfigRequestMetricsRelabelConfigsList),
1956
1832
  oauth2: S.optional(CreateScrapeConfigRequestOauth2),
1957
1833
  params: S.optional(S.Unknown),
1958
1834
  sampleLimit: S.optional(S.Number),
@@ -1960,9 +1836,7 @@ export const CreateScrapeConfigRequest = /*@__PURE__*/ S.suspend(() =>
1960
1836
  scrapeInterval: S.String,
1961
1837
  scrapeTimeout: S.String,
1962
1838
  staticConfigs: CreateScrapeConfigRequestStaticConfigsList,
1963
- tlsConfig: S.optional(
1964
- CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig,
1965
- ),
1839
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
1966
1840
  }).pipe(
1967
1841
  T.Http({
1968
1842
  method: "POST",
@@ -2047,7 +1921,7 @@ export type MetricsRelabelConfigAction =
2047
1921
  | "labelmap"
2048
1922
  | "labeldrop"
2049
1923
  | "labelkeep";
2050
- export const MetricsRelabelConfigAction = /*@__PURE__*/ S.String;
1924
+ export const MetricsRelabelConfigAction = S.String;
2051
1925
 
2052
1926
  export type MetricsRelabelConfigSourceLabelsList = Array<string>;
2053
1927
  export const MetricsRelabelConfigSourceLabelsList = /*@__PURE__*/ S.Array(
@@ -2073,9 +1947,7 @@ export const MetricsRelabelConfig = /*@__PURE__*/ S.suspend(() =>
2073
1947
  sourceLabels: MetricsRelabelConfigSourceLabelsList,
2074
1948
  targetLabel: S.optional(S.String),
2075
1949
  }),
2076
- ).annotate({
2077
- identifier: "MetricsRelabelConfig",
2078
- }) as any as S.Schema<MetricsRelabelConfig>;
1950
+ ).annotate({ identifier: "MetricsRelabelConfig" }) as any as S.Schema<MetricsRelabelConfig>;
2079
1951
 
2080
1952
  export type JobMetricsRelabelConfigsList = Array<MetricsRelabelConfig>;
2081
1953
  export const JobMetricsRelabelConfigsList = /*@__PURE__*/ S.Array(
@@ -2094,7 +1966,7 @@ export const JobParamsMap = /*@__PURE__*/ S.Record(
2094
1966
  ) as any as S.Schema<JobParamsMap>;
2095
1967
 
2096
1968
  export type JobScheme = "http" | "https";
2097
- export const JobScheme = /*@__PURE__*/ S.String;
1969
+ export const JobScheme = S.String;
2098
1970
 
2099
1971
  export type StaticConfigsLabelsMap = { [key: string]: string | undefined };
2100
1972
  export const StaticConfigsLabelsMap = /*@__PURE__*/ S.Record(
@@ -2176,9 +2048,7 @@ export const ScrapeConfigsResponse = /*@__PURE__*/ S.suspend(() =>
2176
2048
  data: ScrapeConfigsResponseDataList,
2177
2049
  message: S.String,
2178
2050
  }),
2179
- ).annotate({
2180
- identifier: "ScrapeConfigsResponse",
2181
- }) as any as S.Schema<ScrapeConfigsResponse>;
2051
+ ).annotate({ identifier: "ScrapeConfigsResponse" }) as any as S.Schema<ScrapeConfigsResponse>;
2182
2052
 
2183
2053
  export interface DeleteAlertConfigReceiverRequest {
2184
2054
  projectId: string;
@@ -2242,9 +2112,7 @@ export const DeleteAlertgroupRequest = /*@__PURE__*/ S.suspend(() =>
2242
2112
  baseUrl: "https://argus.api.{region}stackit.cloud",
2243
2113
  }),
2244
2114
  ),
2245
- ).annotate({
2246
- identifier: "DeleteAlertgroupRequest",
2247
- }) as any as S.Schema<DeleteAlertgroupRequest>;
2115
+ ).annotate({ identifier: "DeleteAlertgroupRequest" }) as any as S.Schema<DeleteAlertgroupRequest>;
2248
2116
 
2249
2117
  export type DeleteAlertgroupsRequestGroupNameList = Array<string>;
2250
2118
  export const DeleteAlertgroupsRequestGroupNameList = /*@__PURE__*/ S.Array(
@@ -2270,9 +2138,7 @@ export const DeleteAlertgroupsRequest = /*@__PURE__*/ S.suspend(() =>
2270
2138
  baseUrl: "https://argus.api.{region}stackit.cloud",
2271
2139
  }),
2272
2140
  ),
2273
- ).annotate({
2274
- identifier: "DeleteAlertgroupsRequest",
2275
- }) as any as S.Schema<DeleteAlertgroupsRequest>;
2141
+ ).annotate({ identifier: "DeleteAlertgroupsRequest" }) as any as S.Schema<DeleteAlertgroupsRequest>;
2276
2142
 
2277
2143
  export interface DeleteAlertRecordRequest {
2278
2144
  projectId: string;
@@ -2294,9 +2160,7 @@ export const DeleteAlertRecordRequest = /*@__PURE__*/ S.suspend(() =>
2294
2160
  baseUrl: "https://argus.api.{region}stackit.cloud",
2295
2161
  }),
2296
2162
  ),
2297
- ).annotate({
2298
- identifier: "DeleteAlertRecordRequest",
2299
- }) as any as S.Schema<DeleteAlertRecordRequest>;
2163
+ ).annotate({ identifier: "DeleteAlertRecordRequest" }) as any as S.Schema<DeleteAlertRecordRequest>;
2300
2164
 
2301
2165
  export type DeleteAlertRecordsRequestAlertRecordList = Array<string>;
2302
2166
  export const DeleteAlertRecordsRequestAlertRecordList = /*@__PURE__*/ S.Array(
@@ -2348,9 +2212,7 @@ export const DeleteAlertruleRequest = /*@__PURE__*/ S.suspend(() =>
2348
2212
  baseUrl: "https://argus.api.{region}stackit.cloud",
2349
2213
  }),
2350
2214
  ),
2351
- ).annotate({
2352
- identifier: "DeleteAlertruleRequest",
2353
- }) as any as S.Schema<DeleteAlertruleRequest>;
2215
+ ).annotate({ identifier: "DeleteAlertruleRequest" }) as any as S.Schema<DeleteAlertruleRequest>;
2354
2216
 
2355
2217
  export type DeleteAlertrulesRequestAlertNameList = Array<string>;
2356
2218
  export const DeleteAlertrulesRequestAlertNameList = /*@__PURE__*/ S.Array(
@@ -2378,9 +2240,7 @@ export const DeleteAlertrulesRequest = /*@__PURE__*/ S.suspend(() =>
2378
2240
  baseUrl: "https://argus.api.{region}stackit.cloud",
2379
2241
  }),
2380
2242
  ),
2381
- ).annotate({
2382
- identifier: "DeleteAlertrulesRequest",
2383
- }) as any as S.Schema<DeleteAlertrulesRequest>;
2243
+ ).annotate({ identifier: "DeleteAlertrulesRequest" }) as any as S.Schema<DeleteAlertrulesRequest>;
2384
2244
 
2385
2245
  export interface DeleteCertCheckRequest {
2386
2246
  projectId: string;
@@ -2400,9 +2260,7 @@ export const DeleteCertCheckRequest = /*@__PURE__*/ S.suspend(() =>
2400
2260
  baseUrl: "https://argus.api.{region}stackit.cloud",
2401
2261
  }),
2402
2262
  ),
2403
- ).annotate({
2404
- identifier: "DeleteCertCheckRequest",
2405
- }) as any as S.Schema<DeleteCertCheckRequest>;
2263
+ ).annotate({ identifier: "DeleteCertCheckRequest" }) as any as S.Schema<DeleteCertCheckRequest>;
2406
2264
 
2407
2265
  export interface DeleteCredentialsRequest {
2408
2266
  projectId: string;
@@ -2422,43 +2280,39 @@ export const DeleteCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
2422
2280
  baseUrl: "https://argus.api.{region}stackit.cloud",
2423
2281
  }),
2424
2282
  ),
2425
- ).annotate({
2426
- identifier: "DeleteCredentialsRequest",
2427
- }) as any as S.Schema<DeleteCredentialsRequest>;
2283
+ ).annotate({ identifier: "DeleteCredentialsRequest" }) as any as S.Schema<DeleteCredentialsRequest>;
2428
2284
 
2429
2285
  export interface DeleteCredentialsRemoteWriteConfigRequest {
2430
2286
  projectId: string;
2431
2287
  instanceId: string;
2432
2288
  username: string;
2433
2289
  }
2434
- export const DeleteCredentialsRemoteWriteConfigRequest =
2435
- /*@__PURE__*/ S.suspend(() =>
2436
- S.Struct({
2437
- projectId: S.String.pipe(T.Label()),
2438
- instanceId: S.String.pipe(T.Label()),
2439
- username: S.String.pipe(T.Label()),
2440
- }).pipe(
2441
- T.Http({
2442
- method: "DELETE",
2443
- uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}/remote-write-limits",
2444
- code: 200,
2445
- baseUrl: "https://argus.api.{region}stackit.cloud",
2446
- }),
2447
- ),
2448
- ).annotate({
2449
- identifier: "DeleteCredentialsRemoteWriteConfigRequest",
2450
- }) as any as S.Schema<DeleteCredentialsRemoteWriteConfigRequest>;
2290
+ export const DeleteCredentialsRemoteWriteConfigRequest = /*@__PURE__*/ S.suspend(() =>
2291
+ S.Struct({
2292
+ projectId: S.String.pipe(T.Label()),
2293
+ instanceId: S.String.pipe(T.Label()),
2294
+ username: S.String.pipe(T.Label()),
2295
+ }).pipe(
2296
+ T.Http({
2297
+ method: "DELETE",
2298
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}/remote-write-limits",
2299
+ code: 200,
2300
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2301
+ }),
2302
+ ),
2303
+ ).annotate({
2304
+ identifier: "DeleteCredentialsRemoteWriteConfigRequest",
2305
+ }) as any as S.Schema<DeleteCredentialsRemoteWriteConfigRequest>;
2451
2306
 
2452
2307
  export interface CredentialsRemoteWriteDeleteResponse {
2453
2308
  maxLimit: number;
2454
2309
  message: string;
2455
2310
  }
2456
- export const CredentialsRemoteWriteDeleteResponse = /*@__PURE__*/ S.suspend(
2457
- () =>
2458
- S.Struct({
2459
- maxLimit: S.Number,
2460
- message: S.String,
2461
- }),
2311
+ export const CredentialsRemoteWriteDeleteResponse = /*@__PURE__*/ S.suspend(() =>
2312
+ S.Struct({
2313
+ maxLimit: S.Number,
2314
+ message: S.String,
2315
+ }),
2462
2316
  ).annotate({
2463
2317
  identifier: "CredentialsRemoteWriteDeleteResponse",
2464
2318
  }) as any as S.Schema<CredentialsRemoteWriteDeleteResponse>;
@@ -2503,9 +2357,7 @@ export const DeleteHttpCheckRequest = /*@__PURE__*/ S.suspend(() =>
2503
2357
  baseUrl: "https://argus.api.{region}stackit.cloud",
2504
2358
  }),
2505
2359
  ),
2506
- ).annotate({
2507
- identifier: "DeleteHttpCheckRequest",
2508
- }) as any as S.Schema<DeleteHttpCheckRequest>;
2360
+ ).annotate({ identifier: "DeleteHttpCheckRequest" }) as any as S.Schema<DeleteHttpCheckRequest>;
2509
2361
 
2510
2362
  export interface DeleteInstanceRequest {
2511
2363
  projectId: string;
@@ -2523,9 +2375,7 @@ export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() =>
2523
2375
  baseUrl: "https://argus.api.{region}stackit.cloud",
2524
2376
  }),
2525
2377
  ),
2526
- ).annotate({
2527
- identifier: "DeleteInstanceRequest",
2528
- }) as any as S.Schema<DeleteInstanceRequest>;
2378
+ ).annotate({ identifier: "DeleteInstanceRequest" }) as any as S.Schema<DeleteInstanceRequest>;
2529
2379
 
2530
2380
  export interface InstanceResponse {
2531
2381
  message: string;
@@ -2534,9 +2384,7 @@ export const InstanceResponse = /*@__PURE__*/ S.suspend(() =>
2534
2384
  S.Struct({
2535
2385
  message: S.String,
2536
2386
  }),
2537
- ).annotate({
2538
- identifier: "InstanceResponse",
2539
- }) as any as S.Schema<InstanceResponse>;
2387
+ ).annotate({ identifier: "InstanceResponse" }) as any as S.Schema<InstanceResponse>;
2540
2388
 
2541
2389
  export interface DeleteLogsAlertgroupRequest {
2542
2390
  projectId: string;
@@ -2600,9 +2448,7 @@ export const DeleteMysqlCheckRequest = /*@__PURE__*/ S.suspend(() =>
2600
2448
  baseUrl: "https://argus.api.{region}stackit.cloud",
2601
2449
  }),
2602
2450
  ),
2603
- ).annotate({
2604
- identifier: "DeleteMysqlCheckRequest",
2605
- }) as any as S.Schema<DeleteMysqlCheckRequest>;
2451
+ ).annotate({ identifier: "DeleteMysqlCheckRequest" }) as any as S.Schema<DeleteMysqlCheckRequest>;
2606
2452
 
2607
2453
  export interface DeleteNetworkCheckRequest {
2608
2454
  projectId: string;
@@ -2644,9 +2490,7 @@ export const DeletePingCheckRequest = /*@__PURE__*/ S.suspend(() =>
2644
2490
  baseUrl: "https://argus.api.{region}stackit.cloud",
2645
2491
  }),
2646
2492
  ),
2647
- ).annotate({
2648
- identifier: "DeletePingCheckRequest",
2649
- }) as any as S.Schema<DeletePingCheckRequest>;
2493
+ ).annotate({ identifier: "DeletePingCheckRequest" }) as any as S.Schema<DeletePingCheckRequest>;
2650
2494
 
2651
2495
  export interface DeletePostgresqlCheckRequest {
2652
2496
  projectId: string;
@@ -2710,9 +2554,7 @@ export const DeleteRedisCheckRequest = /*@__PURE__*/ S.suspend(() =>
2710
2554
  baseUrl: "https://argus.api.{region}stackit.cloud",
2711
2555
  }),
2712
2556
  ),
2713
- ).annotate({
2714
- identifier: "DeleteRedisCheckRequest",
2715
- }) as any as S.Schema<DeleteRedisCheckRequest>;
2557
+ ).annotate({ identifier: "DeleteRedisCheckRequest" }) as any as S.Schema<DeleteRedisCheckRequest>;
2716
2558
 
2717
2559
  export interface DeleteScrapeConfigRequest {
2718
2560
  projectId: string;
@@ -2853,9 +2695,7 @@ export const GetAlertConfigsRequest = /*@__PURE__*/ S.suspend(() =>
2853
2695
  baseUrl: "https://argus.api.{region}stackit.cloud",
2854
2696
  }),
2855
2697
  ),
2856
- ).annotate({
2857
- identifier: "GetAlertConfigsRequest",
2858
- }) as any as S.Schema<GetAlertConfigsRequest>;
2698
+ ).annotate({ identifier: "GetAlertConfigsRequest" }) as any as S.Schema<GetAlertConfigsRequest>;
2859
2699
 
2860
2700
  export interface Global {
2861
2701
  opsgenieApiKey?: string;
@@ -2891,9 +2731,7 @@ export const InhibitRulesSourceMatchMap = /*@__PURE__*/ S.Record(
2891
2731
  S.String,
2892
2732
  ) as any as S.Schema<InhibitRulesSourceMatchMap>;
2893
2733
 
2894
- export type InhibitRulesSourceMatchReMap = {
2895
- [key: string]: string | undefined;
2896
- };
2734
+ export type InhibitRulesSourceMatchReMap = { [key: string]: string | undefined };
2897
2735
  export const InhibitRulesSourceMatchReMap = /*@__PURE__*/ S.Record(
2898
2736
  S.String,
2899
2737
  S.String,
@@ -2910,9 +2748,7 @@ export const InhibitRulesTargetMatchMap = /*@__PURE__*/ S.Record(
2910
2748
  S.String,
2911
2749
  ) as any as S.Schema<InhibitRulesTargetMatchMap>;
2912
2750
 
2913
- export type InhibitRulesTargetMatchReMap = {
2914
- [key: string]: string | undefined;
2915
- };
2751
+ export type InhibitRulesTargetMatchReMap = { [key: string]: string | undefined };
2916
2752
  export const InhibitRulesTargetMatchReMap = /*@__PURE__*/ S.Record(
2917
2753
  S.String,
2918
2754
  S.String,
@@ -2978,9 +2814,7 @@ export const GetAlertConfigsResponse = /*@__PURE__*/ S.suspend(() =>
2978
2814
  data: Alert,
2979
2815
  message: S.String,
2980
2816
  }),
2981
- ).annotate({
2982
- identifier: "GetAlertConfigsResponse",
2983
- }) as any as S.Schema<GetAlertConfigsResponse>;
2817
+ ).annotate({ identifier: "GetAlertConfigsResponse" }) as any as S.Schema<GetAlertConfigsResponse>;
2984
2818
 
2985
2819
  export interface GetAlertgroupRequest {
2986
2820
  projectId: string;
@@ -3000,9 +2834,7 @@ export const GetAlertgroupRequest = /*@__PURE__*/ S.suspend(() =>
3000
2834
  baseUrl: "https://argus.api.{region}stackit.cloud",
3001
2835
  }),
3002
2836
  ),
3003
- ).annotate({
3004
- identifier: "GetAlertgroupRequest",
3005
- }) as any as S.Schema<GetAlertgroupRequest>;
2837
+ ).annotate({ identifier: "GetAlertgroupRequest" }) as any as S.Schema<GetAlertgroupRequest>;
3006
2838
 
3007
2839
  export interface AlertGroupResponse {
3008
2840
  data: AlertGroup;
@@ -3013,9 +2845,7 @@ export const AlertGroupResponse = /*@__PURE__*/ S.suspend(() =>
3013
2845
  data: AlertGroup,
3014
2846
  message: S.String,
3015
2847
  }),
3016
- ).annotate({
3017
- identifier: "AlertGroupResponse",
3018
- }) as any as S.Schema<AlertGroupResponse>;
2848
+ ).annotate({ identifier: "AlertGroupResponse" }) as any as S.Schema<AlertGroupResponse>;
3019
2849
 
3020
2850
  export interface GetAlertRecordRequest {
3021
2851
  projectId: string;
@@ -3037,9 +2867,7 @@ export const GetAlertRecordRequest = /*@__PURE__*/ S.suspend(() =>
3037
2867
  baseUrl: "https://argus.api.{region}stackit.cloud",
3038
2868
  }),
3039
2869
  ),
3040
- ).annotate({
3041
- identifier: "GetAlertRecordRequest",
3042
- }) as any as S.Schema<GetAlertRecordRequest>;
2870
+ ).annotate({ identifier: "GetAlertRecordRequest" }) as any as S.Schema<GetAlertRecordRequest>;
3043
2871
 
3044
2872
  export interface AlertRecordResponse {
3045
2873
  data: AlertRecord;
@@ -3050,9 +2878,7 @@ export const AlertRecordResponse = /*@__PURE__*/ S.suspend(() =>
3050
2878
  data: AlertRecord,
3051
2879
  message: S.String,
3052
2880
  }),
3053
- ).annotate({
3054
- identifier: "AlertRecordResponse",
3055
- }) as any as S.Schema<AlertRecordResponse>;
2881
+ ).annotate({ identifier: "AlertRecordResponse" }) as any as S.Schema<AlertRecordResponse>;
3056
2882
 
3057
2883
  export interface GetAlertruleRequest {
3058
2884
  projectId: string;
@@ -3074,9 +2900,7 @@ export const GetAlertruleRequest = /*@__PURE__*/ S.suspend(() =>
3074
2900
  baseUrl: "https://argus.api.{region}stackit.cloud",
3075
2901
  }),
3076
2902
  ),
3077
- ).annotate({
3078
- identifier: "GetAlertruleRequest",
3079
- }) as any as S.Schema<GetAlertruleRequest>;
2903
+ ).annotate({ identifier: "GetAlertruleRequest" }) as any as S.Schema<GetAlertruleRequest>;
3080
2904
 
3081
2905
  export interface AlertRuleResponse {
3082
2906
  data: AlertRule;
@@ -3087,9 +2911,7 @@ export const AlertRuleResponse = /*@__PURE__*/ S.suspend(() =>
3087
2911
  data: AlertRule,
3088
2912
  message: S.String,
3089
2913
  }),
3090
- ).annotate({
3091
- identifier: "AlertRuleResponse",
3092
- }) as any as S.Schema<AlertRuleResponse>;
2914
+ ).annotate({ identifier: "AlertRuleResponse" }) as any as S.Schema<AlertRuleResponse>;
3093
2915
 
3094
2916
  export interface GetCredentialsRequest {
3095
2917
  projectId: string;
@@ -3109,16 +2931,12 @@ export const GetCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
3109
2931
  baseUrl: "https://argus.api.{region}stackit.cloud",
3110
2932
  }),
3111
2933
  ),
3112
- ).annotate({
3113
- identifier: "GetCredentialsRequest",
3114
- }) as any as S.Schema<GetCredentialsRequest>;
2934
+ ).annotate({ identifier: "GetCredentialsRequest" }) as any as S.Schema<GetCredentialsRequest>;
3115
2935
 
3116
- export type GetCredentialsResponseCredentialsInfoMap = {
3117
- [key: string]: string | undefined;
3118
- };
2936
+ export type GetCredentialsResponseCredentialsInfoMap = { [key: string]: string | null | undefined };
3119
2937
  export const GetCredentialsResponseCredentialsInfoMap = /*@__PURE__*/ S.Record(
3120
2938
  S.String,
3121
- S.String,
2939
+ S.NullOr(S.String),
3122
2940
  ) as any as S.Schema<GetCredentialsResponseCredentialsInfoMap>;
3123
2941
 
3124
2942
  export interface GetCredentialsResponse {
@@ -3134,29 +2952,26 @@ export const GetCredentialsResponse = /*@__PURE__*/ S.suspend(() =>
3134
2952
  message: S.String,
3135
2953
  name: S.String,
3136
2954
  }),
3137
- ).annotate({
3138
- identifier: "GetCredentialsResponse",
3139
- }) as any as S.Schema<GetCredentialsResponse>;
2955
+ ).annotate({ identifier: "GetCredentialsResponse" }) as any as S.Schema<GetCredentialsResponse>;
3140
2956
 
3141
2957
  export interface GetCredentialsRemoteWriteConfigRequest {
3142
2958
  projectId: string;
3143
2959
  instanceId: string;
3144
2960
  username: string;
3145
2961
  }
3146
- export const GetCredentialsRemoteWriteConfigRequest = /*@__PURE__*/ S.suspend(
3147
- () =>
3148
- S.Struct({
3149
- projectId: S.String.pipe(T.Label()),
3150
- instanceId: S.String.pipe(T.Label()),
3151
- username: S.String.pipe(T.Label()),
3152
- }).pipe(
3153
- T.Http({
3154
- method: "GET",
3155
- uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}/remote-write-limits",
3156
- code: 200,
3157
- baseUrl: "https://argus.api.{region}stackit.cloud",
3158
- }),
3159
- ),
2962
+ export const GetCredentialsRemoteWriteConfigRequest = /*@__PURE__*/ S.suspend(() =>
2963
+ S.Struct({
2964
+ projectId: S.String.pipe(T.Label()),
2965
+ instanceId: S.String.pipe(T.Label()),
2966
+ username: S.String.pipe(T.Label()),
2967
+ }).pipe(
2968
+ T.Http({
2969
+ method: "GET",
2970
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}/remote-write-limits",
2971
+ code: 200,
2972
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2973
+ }),
2974
+ ),
3160
2975
  ).annotate({
3161
2976
  identifier: "GetCredentialsRemoteWriteConfigRequest",
3162
2977
  }) as any as S.Schema<GetCredentialsRemoteWriteConfigRequest>;
@@ -3192,9 +3007,7 @@ export const GetGrafanaConfigsRequest = /*@__PURE__*/ S.suspend(() =>
3192
3007
  baseUrl: "https://argus.api.{region}stackit.cloud",
3193
3008
  }),
3194
3009
  ),
3195
- ).annotate({
3196
- identifier: "GetGrafanaConfigsRequest",
3197
- }) as any as S.Schema<GetGrafanaConfigsRequest>;
3010
+ ).annotate({ identifier: "GetGrafanaConfigsRequest" }) as any as S.Schema<GetGrafanaConfigsRequest>;
3198
3011
 
3199
3012
  export interface GrafanaOauth {
3200
3013
  allowAssignGrafanaAdmin?: boolean;
@@ -3258,9 +3071,7 @@ export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() =>
3258
3071
  baseUrl: "https://argus.api.{region}stackit.cloud",
3259
3072
  }),
3260
3073
  ),
3261
- ).annotate({
3262
- identifier: "GetInstanceRequest",
3263
- }) as any as S.Schema<GetInstanceRequest>;
3074
+ ).annotate({ identifier: "GetInstanceRequest" }) as any as S.Schema<GetInstanceRequest>;
3264
3075
 
3265
3076
  export interface PlanModel {
3266
3077
  alertMatchers: number;
@@ -3370,16 +3181,12 @@ export const InstanceSensitiveData = /*@__PURE__*/ S.suspend(() =>
3370
3181
  targetsUrl: S.String,
3371
3182
  zipkinSpansUrl: S.String,
3372
3183
  }),
3373
- ).annotate({
3374
- identifier: "InstanceSensitiveData",
3375
- }) as any as S.Schema<InstanceSensitiveData>;
3184
+ ).annotate({ identifier: "InstanceSensitiveData" }) as any as S.Schema<InstanceSensitiveData>;
3376
3185
 
3377
- export type GetInstanceResponseParametersMap = {
3378
- [key: string]: string | undefined;
3379
- };
3186
+ export type GetInstanceResponseParametersMap = { [key: string]: string | null | undefined };
3380
3187
  export const GetInstanceResponseParametersMap = /*@__PURE__*/ S.Record(
3381
3188
  S.String,
3382
- S.String,
3189
+ S.NullOr(S.String),
3383
3190
  ) as any as S.Schema<GetInstanceResponseParametersMap>;
3384
3191
 
3385
3192
  export type GetInstanceResponseStatus =
@@ -3392,7 +3199,7 @@ export type GetInstanceResponseStatus =
3392
3199
  | "UPDATING"
3393
3200
  | "UPDATE_SUCCEEDED"
3394
3201
  | "UPDATE_FAILED";
3395
- export const GetInstanceResponseStatus = /*@__PURE__*/ S.String;
3202
+ export const GetInstanceResponseStatus = S.String;
3396
3203
 
3397
3204
  export interface GetInstanceResponse {
3398
3205
  dashboardUrl: string;
@@ -3425,9 +3232,7 @@ export const GetInstanceResponse = /*@__PURE__*/ S.suspend(() =>
3425
3232
  serviceName: S.String,
3426
3233
  status: GetInstanceResponseStatus,
3427
3234
  }),
3428
- ).annotate({
3429
- identifier: "GetInstanceResponse",
3430
- }) as any as S.Schema<GetInstanceResponse>;
3235
+ ).annotate({ identifier: "GetInstanceResponse" }) as any as S.Schema<GetInstanceResponse>;
3431
3236
 
3432
3237
  export interface GetLogsAlertgroupRequest {
3433
3238
  projectId: string;
@@ -3447,9 +3252,7 @@ export const GetLogsAlertgroupRequest = /*@__PURE__*/ S.suspend(() =>
3447
3252
  baseUrl: "https://argus.api.{region}stackit.cloud",
3448
3253
  }),
3449
3254
  ),
3450
- ).annotate({
3451
- identifier: "GetLogsAlertgroupRequest",
3452
- }) as any as S.Schema<GetLogsAlertgroupRequest>;
3255
+ ).annotate({ identifier: "GetLogsAlertgroupRequest" }) as any as S.Schema<GetLogsAlertgroupRequest>;
3453
3256
 
3454
3257
  export interface GetLogsConfigsRequest {
3455
3258
  projectId: string;
@@ -3467,9 +3270,7 @@ export const GetLogsConfigsRequest = /*@__PURE__*/ S.suspend(() =>
3467
3270
  baseUrl: "https://argus.api.{region}stackit.cloud",
3468
3271
  }),
3469
3272
  ),
3470
- ).annotate({
3471
- identifier: "GetLogsConfigsRequest",
3472
- }) as any as S.Schema<GetLogsConfigsRequest>;
3273
+ ).annotate({ identifier: "GetLogsConfigsRequest" }) as any as S.Schema<GetLogsConfigsRequest>;
3473
3274
 
3474
3275
  export interface LogsConfig {
3475
3276
  retention: string;
@@ -3489,9 +3290,7 @@ export const LogsConfigResponse = /*@__PURE__*/ S.suspend(() =>
3489
3290
  config: LogsConfig,
3490
3291
  message: S.String,
3491
3292
  }),
3492
- ).annotate({
3493
- identifier: "LogsConfigResponse",
3494
- }) as any as S.Schema<LogsConfigResponse>;
3293
+ ).annotate({ identifier: "LogsConfigResponse" }) as any as S.Schema<LogsConfigResponse>;
3495
3294
 
3496
3295
  export interface GetMetricsStorageRetentionRequest {
3497
3296
  projectId: string;
@@ -3548,9 +3347,7 @@ export const GetScrapeConfigRequest = /*@__PURE__*/ S.suspend(() =>
3548
3347
  baseUrl: "https://argus.api.{region}stackit.cloud",
3549
3348
  }),
3550
3349
  ),
3551
- ).annotate({
3552
- identifier: "GetScrapeConfigRequest",
3553
- }) as any as S.Schema<GetScrapeConfigRequest>;
3350
+ ).annotate({ identifier: "GetScrapeConfigRequest" }) as any as S.Schema<GetScrapeConfigRequest>;
3554
3351
 
3555
3352
  export interface GetScrapeConfigResponse {
3556
3353
  data: Job;
@@ -3561,9 +3358,7 @@ export const GetScrapeConfigResponse = /*@__PURE__*/ S.suspend(() =>
3561
3358
  data: Job,
3562
3359
  message: S.String,
3563
3360
  }),
3564
- ).annotate({
3565
- identifier: "GetScrapeConfigResponse",
3566
- }) as any as S.Schema<GetScrapeConfigResponse>;
3361
+ ).annotate({ identifier: "GetScrapeConfigResponse" }) as any as S.Schema<GetScrapeConfigResponse>;
3567
3362
 
3568
3363
  export interface GetTracesConfigsRequest {
3569
3364
  projectId: string;
@@ -3581,9 +3376,7 @@ export const GetTracesConfigsRequest = /*@__PURE__*/ S.suspend(() =>
3581
3376
  baseUrl: "https://argus.api.{region}stackit.cloud",
3582
3377
  }),
3583
3378
  ),
3584
- ).annotate({
3585
- identifier: "GetTracesConfigsRequest",
3586
- }) as any as S.Schema<GetTracesConfigsRequest>;
3379
+ ).annotate({ identifier: "GetTracesConfigsRequest" }) as any as S.Schema<GetTracesConfigsRequest>;
3587
3380
 
3588
3381
  export type TraceConfig = LogsConfig;
3589
3382
  export const TraceConfig = LogsConfig;
@@ -3597,9 +3390,7 @@ export const TracesConfigResponse = /*@__PURE__*/ S.suspend(() =>
3597
3390
  config: LogsConfig,
3598
3391
  message: S.String,
3599
3392
  }),
3600
- ).annotate({
3601
- identifier: "TracesConfigResponse",
3602
- }) as any as S.Schema<TracesConfigResponse>;
3393
+ ).annotate({ identifier: "TracesConfigResponse" }) as any as S.Schema<TracesConfigResponse>;
3603
3394
 
3604
3395
  export interface ListACLRequest {
3605
3396
  projectId: string;
@@ -3633,9 +3424,7 @@ export const ListACLResponse = /*@__PURE__*/ S.suspend(() =>
3633
3424
  acl: ListACLResponseAclList,
3634
3425
  message: S.String,
3635
3426
  }),
3636
- ).annotate({
3637
- identifier: "ListACLResponse",
3638
- }) as any as S.Schema<ListACLResponse>;
3427
+ ).annotate({ identifier: "ListACLResponse" }) as any as S.Schema<ListACLResponse>;
3639
3428
 
3640
3429
  export interface ListAlertConfigReceiversRequest {
3641
3430
  projectId: string;
@@ -3693,9 +3482,7 @@ export const ListAlertgroupsRequest = /*@__PURE__*/ S.suspend(() =>
3693
3482
  baseUrl: "https://argus.api.{region}stackit.cloud",
3694
3483
  }),
3695
3484
  ),
3696
- ).annotate({
3697
- identifier: "ListAlertgroupsRequest",
3698
- }) as any as S.Schema<ListAlertgroupsRequest>;
3485
+ ).annotate({ identifier: "ListAlertgroupsRequest" }) as any as S.Schema<ListAlertgroupsRequest>;
3699
3486
 
3700
3487
  export interface ListAlertRecordsRequest {
3701
3488
  projectId: string;
@@ -3715,9 +3502,7 @@ export const ListAlertRecordsRequest = /*@__PURE__*/ S.suspend(() =>
3715
3502
  baseUrl: "https://argus.api.{region}stackit.cloud",
3716
3503
  }),
3717
3504
  ),
3718
- ).annotate({
3719
- identifier: "ListAlertRecordsRequest",
3720
- }) as any as S.Schema<ListAlertRecordsRequest>;
3505
+ ).annotate({ identifier: "ListAlertRecordsRequest" }) as any as S.Schema<ListAlertRecordsRequest>;
3721
3506
 
3722
3507
  export interface ListAlertrulesRequest {
3723
3508
  projectId: string;
@@ -3737,9 +3522,7 @@ export const ListAlertrulesRequest = /*@__PURE__*/ S.suspend(() =>
3737
3522
  baseUrl: "https://argus.api.{region}stackit.cloud",
3738
3523
  }),
3739
3524
  ),
3740
- ).annotate({
3741
- identifier: "ListAlertrulesRequest",
3742
- }) as any as S.Schema<ListAlertrulesRequest>;
3525
+ ).annotate({ identifier: "ListAlertrulesRequest" }) as any as S.Schema<ListAlertrulesRequest>;
3743
3526
 
3744
3527
  export interface ListBackupRetentionsRequest {
3745
3528
  projectId: string;
@@ -3776,16 +3559,14 @@ export const BackupRetentionResponse = /*@__PURE__*/ S.suspend(() =>
3776
3559
  message: S.String,
3777
3560
  scrapeConfigBackupRetention: S.String,
3778
3561
  }),
3779
- ).annotate({
3780
- identifier: "BackupRetentionResponse",
3781
- }) as any as S.Schema<BackupRetentionResponse>;
3562
+ ).annotate({ identifier: "BackupRetentionResponse" }) as any as S.Schema<BackupRetentionResponse>;
3782
3563
 
3783
3564
  export type ListBackupsRequestBackupTargetItem =
3784
3565
  | "alertConfig"
3785
3566
  | "alertRules"
3786
3567
  | "scrapeConfig"
3787
3568
  | "grafana";
3788
- export const ListBackupsRequestBackupTargetItem = /*@__PURE__*/ S.String;
3569
+ export const ListBackupsRequestBackupTargetItem = S.String;
3789
3570
 
3790
3571
  export type ListBackupsRequestBackupTargetList = Array<
3791
3572
  ListBackupsRequestBackupTargetItem | (string & {})
@@ -3804,9 +3585,7 @@ export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() =>
3804
3585
  S.Struct({
3805
3586
  projectId: S.String.pipe(T.Label()),
3806
3587
  instanceId: S.String.pipe(T.Label()),
3807
- backupTarget: S.optional(
3808
- ListBackupsRequestBackupTargetList.pipe(T.Query()),
3809
- ),
3588
+ backupTarget: S.optional(ListBackupsRequestBackupTargetList.pipe(T.Query())),
3810
3589
  }).pipe(
3811
3590
  T.Http({
3812
3591
  method: "GET",
@@ -3815,9 +3594,7 @@ export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() =>
3815
3594
  baseUrl: "https://argus.api.{region}stackit.cloud",
3816
3595
  }),
3817
3596
  ),
3818
- ).annotate({
3819
- identifier: "ListBackupsRequest",
3820
- }) as any as S.Schema<ListBackupsRequest>;
3597
+ ).annotate({ identifier: "ListBackupsRequest" }) as any as S.Schema<ListBackupsRequest>;
3821
3598
 
3822
3599
  export type BackupResponseAlertConfigBackupsList = Array<string>;
3823
3600
  export const BackupResponseAlertConfigBackupsList = /*@__PURE__*/ S.Array(
@@ -3861,8 +3638,7 @@ export type ListBackupSchedulesRequestBackupTargetItem =
3861
3638
  | "alertRules"
3862
3639
  | "scrapeConfig"
3863
3640
  | "grafana";
3864
- export const ListBackupSchedulesRequestBackupTargetItem =
3865
- /*@__PURE__*/ S.String;
3641
+ export const ListBackupSchedulesRequestBackupTargetItem = S.String;
3866
3642
 
3867
3643
  export type ListBackupSchedulesRequestBackupTargetList = Array<
3868
3644
  ListBackupSchedulesRequestBackupTargetItem | (string & {})
@@ -3881,9 +3657,7 @@ export const ListBackupSchedulesRequest = /*@__PURE__*/ S.suspend(() =>
3881
3657
  S.Struct({
3882
3658
  projectId: S.String.pipe(T.Label()),
3883
3659
  instanceId: S.String.pipe(T.Label()),
3884
- backupTarget: S.optional(
3885
- ListBackupSchedulesRequestBackupTargetList.pipe(T.Query()),
3886
- ),
3660
+ backupTarget: S.optional(ListBackupSchedulesRequestBackupTargetList.pipe(T.Query())),
3887
3661
  }).pipe(
3888
3662
  T.Http({
3889
3663
  method: "GET",
@@ -3907,33 +3681,25 @@ export const BackupSchedule = /*@__PURE__*/ S.suspend(() =>
3907
3681
  }),
3908
3682
  ).annotate({ identifier: "BackupSchedule" }) as any as S.Schema<BackupSchedule>;
3909
3683
 
3910
- export type BackupScheduleResponseAlertConfigBackupSchedulesList =
3911
- Array<BackupSchedule>;
3912
- export const BackupScheduleResponseAlertConfigBackupSchedulesList =
3913
- /*@__PURE__*/ S.Array(
3914
- BackupSchedule,
3915
- ) as any as S.Schema<BackupScheduleResponseAlertConfigBackupSchedulesList>;
3684
+ export type BackupScheduleResponseAlertConfigBackupSchedulesList = Array<BackupSchedule>;
3685
+ export const BackupScheduleResponseAlertConfigBackupSchedulesList = /*@__PURE__*/ S.Array(
3686
+ BackupSchedule,
3687
+ ) as any as S.Schema<BackupScheduleResponseAlertConfigBackupSchedulesList>;
3916
3688
 
3917
- export type BackupScheduleResponseAlertRulesBackupSchedulesList =
3918
- Array<BackupSchedule>;
3919
- export const BackupScheduleResponseAlertRulesBackupSchedulesList =
3920
- /*@__PURE__*/ S.Array(
3921
- BackupSchedule,
3922
- ) as any as S.Schema<BackupScheduleResponseAlertRulesBackupSchedulesList>;
3689
+ export type BackupScheduleResponseAlertRulesBackupSchedulesList = Array<BackupSchedule>;
3690
+ export const BackupScheduleResponseAlertRulesBackupSchedulesList = /*@__PURE__*/ S.Array(
3691
+ BackupSchedule,
3692
+ ) as any as S.Schema<BackupScheduleResponseAlertRulesBackupSchedulesList>;
3923
3693
 
3924
- export type BackupScheduleResponseGrafanaBackupSchedulesList =
3925
- Array<BackupSchedule>;
3926
- export const BackupScheduleResponseGrafanaBackupSchedulesList =
3927
- /*@__PURE__*/ S.Array(
3928
- BackupSchedule,
3929
- ) as any as S.Schema<BackupScheduleResponseGrafanaBackupSchedulesList>;
3694
+ export type BackupScheduleResponseGrafanaBackupSchedulesList = Array<BackupSchedule>;
3695
+ export const BackupScheduleResponseGrafanaBackupSchedulesList = /*@__PURE__*/ S.Array(
3696
+ BackupSchedule,
3697
+ ) as any as S.Schema<BackupScheduleResponseGrafanaBackupSchedulesList>;
3930
3698
 
3931
- export type BackupScheduleResponseScrapeConfigBackupSchedulesList =
3932
- Array<BackupSchedule>;
3933
- export const BackupScheduleResponseScrapeConfigBackupSchedulesList =
3934
- /*@__PURE__*/ S.Array(
3935
- BackupSchedule,
3936
- ) as any as S.Schema<BackupScheduleResponseScrapeConfigBackupSchedulesList>;
3699
+ export type BackupScheduleResponseScrapeConfigBackupSchedulesList = Array<BackupSchedule>;
3700
+ export const BackupScheduleResponseScrapeConfigBackupSchedulesList = /*@__PURE__*/ S.Array(
3701
+ BackupSchedule,
3702
+ ) as any as S.Schema<BackupScheduleResponseScrapeConfigBackupSchedulesList>;
3937
3703
 
3938
3704
  export interface BackupScheduleResponse {
3939
3705
  alertConfigBackupSchedules?: BackupScheduleResponseAlertConfigBackupSchedulesList;
@@ -3944,23 +3710,13 @@ export interface BackupScheduleResponse {
3944
3710
  }
3945
3711
  export const BackupScheduleResponse = /*@__PURE__*/ S.suspend(() =>
3946
3712
  S.Struct({
3947
- alertConfigBackupSchedules: S.optional(
3948
- BackupScheduleResponseAlertConfigBackupSchedulesList,
3949
- ),
3950
- alertRulesBackupSchedules: S.optional(
3951
- BackupScheduleResponseAlertRulesBackupSchedulesList,
3952
- ),
3953
- grafanaBackupSchedules: S.optional(
3954
- BackupScheduleResponseGrafanaBackupSchedulesList,
3955
- ),
3713
+ alertConfigBackupSchedules: S.optional(BackupScheduleResponseAlertConfigBackupSchedulesList),
3714
+ alertRulesBackupSchedules: S.optional(BackupScheduleResponseAlertRulesBackupSchedulesList),
3715
+ grafanaBackupSchedules: S.optional(BackupScheduleResponseGrafanaBackupSchedulesList),
3956
3716
  message: S.String,
3957
- scrapeConfigBackupSchedules: S.optional(
3958
- BackupScheduleResponseScrapeConfigBackupSchedulesList,
3959
- ),
3717
+ scrapeConfigBackupSchedules: S.optional(BackupScheduleResponseScrapeConfigBackupSchedulesList),
3960
3718
  }),
3961
- ).annotate({
3962
- identifier: "BackupScheduleResponse",
3963
- }) as any as S.Schema<BackupScheduleResponse>;
3719
+ ).annotate({ identifier: "BackupScheduleResponse" }) as any as S.Schema<BackupScheduleResponse>;
3964
3720
 
3965
3721
  export interface ListCertChecksRequest {
3966
3722
  projectId: string;
@@ -3978,9 +3734,7 @@ export const ListCertChecksRequest = /*@__PURE__*/ S.suspend(() =>
3978
3734
  baseUrl: "https://argus.api.{region}stackit.cloud",
3979
3735
  }),
3980
3736
  ),
3981
- ).annotate({
3982
- identifier: "ListCertChecksRequest",
3983
- }) as any as S.Schema<ListCertChecksRequest>;
3737
+ ).annotate({ identifier: "ListCertChecksRequest" }) as any as S.Schema<ListCertChecksRequest>;
3984
3738
 
3985
3739
  export interface ListCredentialsRequest {
3986
3740
  projectId: string;
@@ -3998,16 +3752,12 @@ export const ListCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
3998
3752
  baseUrl: "https://argus.api.{region}stackit.cloud",
3999
3753
  }),
4000
3754
  ),
4001
- ).annotate({
4002
- identifier: "ListCredentialsRequest",
4003
- }) as any as S.Schema<ListCredentialsRequest>;
3755
+ ).annotate({ identifier: "ListCredentialsRequest" }) as any as S.Schema<ListCredentialsRequest>;
4004
3756
 
4005
- export type ServiceKeysListCredentialsInfoMap = {
4006
- [key: string]: string | undefined;
4007
- };
3757
+ export type ServiceKeysListCredentialsInfoMap = { [key: string]: string | null | undefined };
4008
3758
  export const ServiceKeysListCredentialsInfoMap = /*@__PURE__*/ S.Record(
4009
3759
  S.String,
4010
- S.String,
3760
+ S.NullOr(S.String),
4011
3761
  ) as any as S.Schema<ServiceKeysListCredentialsInfoMap>;
4012
3762
 
4013
3763
  export interface ServiceKeysList {
@@ -4023,9 +3773,7 @@ export const ServiceKeysList = /*@__PURE__*/ S.suspend(() =>
4023
3773
  id: S.String,
4024
3774
  name: S.String,
4025
3775
  }),
4026
- ).annotate({
4027
- identifier: "ServiceKeysList",
4028
- }) as any as S.Schema<ServiceKeysList>;
3776
+ ).annotate({ identifier: "ServiceKeysList" }) as any as S.Schema<ServiceKeysList>;
4029
3777
 
4030
3778
  export type ListCredentialsResponseCredentialsList = Array<ServiceKeysList>;
4031
3779
  export const ListCredentialsResponseCredentialsList = /*@__PURE__*/ S.Array(
@@ -4041,9 +3789,7 @@ export const ListCredentialsResponse = /*@__PURE__*/ S.suspend(() =>
4041
3789
  credentials: ListCredentialsResponseCredentialsList,
4042
3790
  message: S.String,
4043
3791
  }),
4044
- ).annotate({
4045
- identifier: "ListCredentialsResponse",
4046
- }) as any as S.Schema<ListCredentialsResponse>;
3792
+ ).annotate({ identifier: "ListCredentialsResponse" }) as any as S.Schema<ListCredentialsResponse>;
4047
3793
 
4048
3794
  export interface ListElasticsearchChecksRequest {
4049
3795
  projectId: string;
@@ -4081,9 +3827,7 @@ export const ListHttpChecksRequest = /*@__PURE__*/ S.suspend(() =>
4081
3827
  baseUrl: "https://argus.api.{region}stackit.cloud",
4082
3828
  }),
4083
3829
  ),
4084
- ).annotate({
4085
- identifier: "ListHttpChecksRequest",
4086
- }) as any as S.Schema<ListHttpChecksRequest>;
3830
+ ).annotate({ identifier: "ListHttpChecksRequest" }) as any as S.Schema<ListHttpChecksRequest>;
4087
3831
 
4088
3832
  export interface ListInstancesRequest {
4089
3833
  projectId: string;
@@ -4099,9 +3843,7 @@ export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() =>
4099
3843
  baseUrl: "https://argus.api.{region}stackit.cloud",
4100
3844
  }),
4101
3845
  ),
4102
- ).annotate({
4103
- identifier: "ListInstancesRequest",
4104
- }) as any as S.Schema<ListInstancesRequest>;
3846
+ ).annotate({ identifier: "ListInstancesRequest" }) as any as S.Schema<ListInstancesRequest>;
4105
3847
 
4106
3848
  export type ProjectInstanceFullStatus =
4107
3849
  | "CREATING"
@@ -4113,7 +3855,7 @@ export type ProjectInstanceFullStatus =
4113
3855
  | "UPDATING"
4114
3856
  | "UPDATE_SUCCEEDED"
4115
3857
  | "UPDATE_FAILED";
4116
- export const ProjectInstanceFullStatus = /*@__PURE__*/ S.String;
3858
+ export const ProjectInstanceFullStatus = S.String;
4117
3859
 
4118
3860
  export interface ProjectInstanceFull {
4119
3861
  error?: string | null;
@@ -4134,9 +3876,7 @@ export const ProjectInstanceFull = /*@__PURE__*/ S.suspend(() =>
4134
3876
  serviceName: S.String,
4135
3877
  status: ProjectInstanceFullStatus,
4136
3878
  }),
4137
- ).annotate({
4138
- identifier: "ProjectInstanceFull",
4139
- }) as any as S.Schema<ProjectInstanceFull>;
3879
+ ).annotate({ identifier: "ProjectInstanceFull" }) as any as S.Schema<ProjectInstanceFull>;
4140
3880
 
4141
3881
  export type ListInstancesResponseInstancesList = Array<ProjectInstanceFull>;
4142
3882
  export const ListInstancesResponseInstancesList = /*@__PURE__*/ S.Array(
@@ -4152,9 +3892,7 @@ export const ListInstancesResponse = /*@__PURE__*/ S.suspend(() =>
4152
3892
  instances: ListInstancesResponseInstancesList,
4153
3893
  message: S.String,
4154
3894
  }),
4155
- ).annotate({
4156
- identifier: "ListInstancesResponse",
4157
- }) as any as S.Schema<ListInstancesResponse>;
3895
+ ).annotate({ identifier: "ListInstancesResponse" }) as any as S.Schema<ListInstancesResponse>;
4158
3896
 
4159
3897
  export interface ListLogsAlertgroupsRequest {
4160
3898
  projectId: string;
@@ -4192,9 +3930,7 @@ export const ListMongodbChecksRequest = /*@__PURE__*/ S.suspend(() =>
4192
3930
  baseUrl: "https://argus.api.{region}stackit.cloud",
4193
3931
  }),
4194
3932
  ),
4195
- ).annotate({
4196
- identifier: "ListMongodbChecksRequest",
4197
- }) as any as S.Schema<ListMongodbChecksRequest>;
3933
+ ).annotate({ identifier: "ListMongodbChecksRequest" }) as any as S.Schema<ListMongodbChecksRequest>;
4198
3934
 
4199
3935
  export interface ListMysqlChecksRequest {
4200
3936
  projectId: string;
@@ -4212,9 +3948,7 @@ export const ListMysqlChecksRequest = /*@__PURE__*/ S.suspend(() =>
4212
3948
  baseUrl: "https://argus.api.{region}stackit.cloud",
4213
3949
  }),
4214
3950
  ),
4215
- ).annotate({
4216
- identifier: "ListMysqlChecksRequest",
4217
- }) as any as S.Schema<ListMysqlChecksRequest>;
3951
+ ).annotate({ identifier: "ListMysqlChecksRequest" }) as any as S.Schema<ListMysqlChecksRequest>;
4218
3952
 
4219
3953
  export interface ListNetworkChecksRequest {
4220
3954
  projectId: string;
@@ -4232,9 +3966,7 @@ export const ListNetworkChecksRequest = /*@__PURE__*/ S.suspend(() =>
4232
3966
  baseUrl: "https://argus.api.{region}stackit.cloud",
4233
3967
  }),
4234
3968
  ),
4235
- ).annotate({
4236
- identifier: "ListNetworkChecksRequest",
4237
- }) as any as S.Schema<ListNetworkChecksRequest>;
3969
+ ).annotate({ identifier: "ListNetworkChecksRequest" }) as any as S.Schema<ListNetworkChecksRequest>;
4238
3970
 
4239
3971
  export interface ListOfferingsRequest {
4240
3972
  projectId: string;
@@ -4250,9 +3982,7 @@ export const ListOfferingsRequest = /*@__PURE__*/ S.suspend(() =>
4250
3982
  baseUrl: "https://argus.api.{region}stackit.cloud",
4251
3983
  }),
4252
3984
  ),
4253
- ).annotate({
4254
- identifier: "ListOfferingsRequest",
4255
- }) as any as S.Schema<ListOfferingsRequest>;
3985
+ ).annotate({ identifier: "ListOfferingsRequest" }) as any as S.Schema<ListOfferingsRequest>;
4256
3986
 
4257
3987
  export interface Plan {
4258
3988
  alertMatchers: number;
@@ -4350,9 +4080,7 @@ export const ListPingChecksRequest = /*@__PURE__*/ S.suspend(() =>
4350
4080
  baseUrl: "https://argus.api.{region}stackit.cloud",
4351
4081
  }),
4352
4082
  ),
4353
- ).annotate({
4354
- identifier: "ListPingChecksRequest",
4355
- }) as any as S.Schema<ListPingChecksRequest>;
4083
+ ).annotate({ identifier: "ListPingChecksRequest" }) as any as S.Schema<ListPingChecksRequest>;
4356
4084
 
4357
4085
  export interface ListPlansRequest {
4358
4086
  projectId: string;
@@ -4368,9 +4096,7 @@ export const ListPlansRequest = /*@__PURE__*/ S.suspend(() =>
4368
4096
  baseUrl: "https://argus.api.{region}stackit.cloud",
4369
4097
  }),
4370
4098
  ),
4371
- ).annotate({
4372
- identifier: "ListPlansRequest",
4373
- }) as any as S.Schema<ListPlansRequest>;
4099
+ ).annotate({ identifier: "ListPlansRequest" }) as any as S.Schema<ListPlansRequest>;
4374
4100
 
4375
4101
  export type PlansResponsePlansList = Array<Plan>;
4376
4102
  export const PlansResponsePlansList = /*@__PURE__*/ S.Array(
@@ -4444,9 +4170,7 @@ export const ListRedisChecksRequest = /*@__PURE__*/ S.suspend(() =>
4444
4170
  baseUrl: "https://argus.api.{region}stackit.cloud",
4445
4171
  }),
4446
4172
  ),
4447
- ).annotate({
4448
- identifier: "ListRedisChecksRequest",
4449
- }) as any as S.Schema<ListRedisChecksRequest>;
4173
+ ).annotate({ identifier: "ListRedisChecksRequest" }) as any as S.Schema<ListRedisChecksRequest>;
4450
4174
 
4451
4175
  export interface ListScrapeConfigsRequest {
4452
4176
  projectId: string;
@@ -4464,9 +4188,7 @@ export const ListScrapeConfigsRequest = /*@__PURE__*/ S.suspend(() =>
4464
4188
  baseUrl: "https://argus.api.{region}stackit.cloud",
4465
4189
  }),
4466
4190
  ),
4467
- ).annotate({
4468
- identifier: "ListScrapeConfigsRequest",
4469
- }) as any as S.Schema<ListScrapeConfigsRequest>;
4191
+ ).annotate({ identifier: "ListScrapeConfigsRequest" }) as any as S.Schema<ListScrapeConfigsRequest>;
4470
4192
 
4471
4193
  export type ListScrapeConfigsResponseDataList = Array<Job>;
4472
4194
  export const ListScrapeConfigsResponseDataList = /*@__PURE__*/ S.Array(
@@ -4487,18 +4209,15 @@ export const ListScrapeConfigsResponse = /*@__PURE__*/ S.suspend(() =>
4487
4209
  }) as any as S.Schema<ListScrapeConfigsResponse>;
4488
4210
 
4489
4211
  /** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
4490
- export type PartialUpdateAlertgroupsRequestBodyItemRulesItem =
4491
- CreateAlertgroupsRequestRulesItem;
4492
- export const PartialUpdateAlertgroupsRequestBodyItemRulesItem =
4493
- CreateAlertgroupsRequestRulesItem;
4212
+ export type PartialUpdateAlertgroupsRequestBodyItemRulesItem = CreateAlertgroupsRequestRulesItem;
4213
+ export const PartialUpdateAlertgroupsRequestBodyItemRulesItem = CreateAlertgroupsRequestRulesItem;
4494
4214
 
4495
4215
  /** rules for the alert group */
4496
4216
  export type PartialUpdateAlertgroupsRequestBodyItemRulesList =
4497
4217
  Array<CreateAlertgroupsRequestRulesItem>;
4498
- export const PartialUpdateAlertgroupsRequestBodyItemRulesList =
4499
- /*@__PURE__*/ S.Array(
4500
- CreateAlertgroupsRequestRulesItem,
4501
- ) as any as S.Schema<PartialUpdateAlertgroupsRequestBodyItemRulesList>;
4218
+ export const PartialUpdateAlertgroupsRequestBodyItemRulesList = /*@__PURE__*/ S.Array(
4219
+ CreateAlertgroupsRequestRulesItem,
4220
+ ) as any as S.Schema<PartialUpdateAlertgroupsRequestBodyItemRulesList>;
4502
4221
 
4503
4222
  /** Alert group that should be created or updated. `Additional Validators:` * total config should not be bigger than 500000 characters as string since this the limitation of prometheus. */
4504
4223
  export interface PartialUpdateAlertgroupsRequestBodyItem {
@@ -4509,13 +4228,12 @@ export interface PartialUpdateAlertgroupsRequestBodyItem {
4509
4228
  /** rules for the alert group */
4510
4229
  rules: PartialUpdateAlertgroupsRequestBodyItemRulesList;
4511
4230
  }
4512
- export const PartialUpdateAlertgroupsRequestBodyItem = /*@__PURE__*/ S.suspend(
4513
- () =>
4514
- S.Struct({
4515
- interval: S.optional(S.String),
4516
- name: S.String,
4517
- rules: PartialUpdateAlertgroupsRequestBodyItemRulesList,
4518
- }),
4231
+ export const PartialUpdateAlertgroupsRequestBodyItem = /*@__PURE__*/ S.suspend(() =>
4232
+ S.Struct({
4233
+ interval: S.optional(S.String),
4234
+ name: S.String,
4235
+ rules: PartialUpdateAlertgroupsRequestBodyItemRulesList,
4236
+ }),
4519
4237
  ).annotate({
4520
4238
  identifier: "PartialUpdateAlertgroupsRequestBodyItem",
4521
4239
  }) as any as S.Schema<PartialUpdateAlertgroupsRequestBodyItem>;
@@ -4558,13 +4276,12 @@ export interface PartialUpdateAlertRecordsRequestBodyItem {
4558
4276
  /** The name of the record. `Additional Validators:` * is the identifier and so unique in the group */
4559
4277
  record: string;
4560
4278
  }
4561
- export const PartialUpdateAlertRecordsRequestBodyItem = /*@__PURE__*/ S.suspend(
4562
- () =>
4563
- S.Struct({
4564
- expr: S.String,
4565
- labels: S.optional(S.Unknown),
4566
- record: S.String,
4567
- }),
4279
+ export const PartialUpdateAlertRecordsRequestBodyItem = /*@__PURE__*/ S.suspend(() =>
4280
+ S.Struct({
4281
+ expr: S.String,
4282
+ labels: S.optional(S.Unknown),
4283
+ record: S.String,
4284
+ }),
4568
4285
  ).annotate({
4569
4286
  identifier: "PartialUpdateAlertRecordsRequestBodyItem",
4570
4287
  }) as any as S.Schema<PartialUpdateAlertRecordsRequestBodyItem>;
@@ -4613,22 +4330,20 @@ export interface PartialUpdateAlertrulesRequestBodyItem {
4613
4330
  /** map of key:value. Labels to add or overwrite for each alert. `Additional Validators:` * should not contain more than 10 keys * each key and value should not be longer than 200 characters */
4614
4331
  labels?: unknown;
4615
4332
  }
4616
- export const PartialUpdateAlertrulesRequestBodyItem = /*@__PURE__*/ S.suspend(
4617
- () =>
4618
- S.Struct({
4619
- alert: S.String,
4620
- annotations: S.optional(S.Unknown),
4621
- expr: S.String,
4622
- for: S.optional(S.String),
4623
- labels: S.optional(S.Unknown),
4624
- }),
4333
+ export const PartialUpdateAlertrulesRequestBodyItem = /*@__PURE__*/ S.suspend(() =>
4334
+ S.Struct({
4335
+ alert: S.String,
4336
+ annotations: S.optional(S.Unknown),
4337
+ expr: S.String,
4338
+ for: S.optional(S.String),
4339
+ labels: S.optional(S.Unknown),
4340
+ }),
4625
4341
  ).annotate({
4626
4342
  identifier: "PartialUpdateAlertrulesRequestBodyItem",
4627
4343
  }) as any as S.Schema<PartialUpdateAlertrulesRequestBodyItem>;
4628
4344
 
4629
4345
  /** Array of alert rules that should be created or updated */
4630
- export type PartialUpdateAlertrulesRequestBodyList =
4631
- Array<PartialUpdateAlertrulesRequestBodyItem>;
4346
+ export type PartialUpdateAlertrulesRequestBodyList = Array<PartialUpdateAlertrulesRequestBodyItem>;
4632
4347
  export const PartialUpdateAlertrulesRequestBodyList = /*@__PURE__*/ S.Array(
4633
4348
  PartialUpdateAlertrulesRequestBodyItem,
4634
4349
  ) as any as S.Schema<PartialUpdateAlertrulesRequestBodyList>;
@@ -4658,8 +4373,7 @@ export const PartialUpdateAlertrulesRequest = /*@__PURE__*/ S.suspend(() =>
4658
4373
  }) as any as S.Schema<PartialUpdateAlertrulesRequest>;
4659
4374
 
4660
4375
  /** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
4661
- export type PartialUpdateScrapeConfigsRequestBodyItemBasicAuth =
4662
- CreateScrapeConfigRequestBasicAuth;
4376
+ export type PartialUpdateScrapeConfigsRequestBodyItemBasicAuth = CreateScrapeConfigRequestBasicAuth;
4663
4377
  export const PartialUpdateScrapeConfigsRequestBodyItemBasicAuth =
4664
4378
  CreateScrapeConfigRequestBasicAuth;
4665
4379
 
@@ -4704,14 +4418,11 @@ export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2 =
4704
4418
  scopes: S.optional(
4705
4419
  PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList,
4706
4420
  ),
4707
- tlsConfig: S.optional(
4708
- CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig,
4709
- ),
4421
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
4710
4422
  tokenUrl: S.String,
4711
4423
  }),
4712
4424
  ).annotate({
4713
- identifier:
4714
- "PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2",
4425
+ identifier: "PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2",
4715
4426
  }) as any as S.Schema<PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2>;
4716
4427
 
4717
4428
  /** Configures the scrape request's TLS settings. */
@@ -4732,30 +4443,25 @@ export interface PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem {
4732
4443
  /** URL from which the targets are fetched. */
4733
4444
  url: string;
4734
4445
  }
4735
- export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem =
4736
- /*@__PURE__*/ S.suspend(() =>
4446
+ export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem = /*@__PURE__*/ S.suspend(
4447
+ () =>
4737
4448
  S.Struct({
4738
4449
  basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
4739
- oauth2: S.optional(
4740
- PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2,
4741
- ),
4450
+ oauth2: S.optional(PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2),
4742
4451
  refreshInterval: S.optional(S.String),
4743
- tlsConfig: S.optional(
4744
- CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig,
4745
- ),
4452
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
4746
4453
  url: S.String,
4747
4454
  }),
4748
- ).annotate({
4749
- identifier: "PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem",
4750
- }) as any as S.Schema<PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem>;
4455
+ ).annotate({
4456
+ identifier: "PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem",
4457
+ }) as any as S.Schema<PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem>;
4751
4458
 
4752
4459
  /** HTTP-based service discovery provides a more generic way to configure static targets and serves as an interface to plug in custom service discovery mechanisms. */
4753
4460
  export type PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList =
4754
4461
  Array<PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem>;
4755
- export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList =
4756
- /*@__PURE__*/ S.Array(
4757
- PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem,
4758
- ) as any as S.Schema<PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList>;
4462
+ export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList = /*@__PURE__*/ S.Array(
4463
+ PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem,
4464
+ ) as any as S.Schema<PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList>;
4759
4465
 
4760
4466
  /** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
4761
4467
  export type PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction =
@@ -4766,8 +4472,7 @@ export type PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAc
4766
4472
  | "labelmap"
4767
4473
  | "labeldrop"
4768
4474
  | "labelkeep";
4769
- export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction =
4770
- /*@__PURE__*/ S.String;
4475
+ export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction = S.String;
4771
4476
 
4772
4477
  /** The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions. */
4773
4478
  export type PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList =
@@ -4779,9 +4484,7 @@ export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemS
4779
4484
 
4780
4485
  export interface PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem {
4781
4486
  /** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
4782
- action?:
4783
- | PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction
4784
- | (string & {});
4487
+ action?: PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction | (string & {});
4785
4488
  /** Modulus to take of the hash of the source label values. */
4786
4489
  modulus?: number;
4787
4490
  /** Regular expression against which the extracted value is matched. */
@@ -4798,9 +4501,7 @@ export interface PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsI
4798
4501
  export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem =
4799
4502
  /*@__PURE__*/ S.suspend(() =>
4800
4503
  S.Struct({
4801
- action: S.optional(
4802
- PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction,
4803
- ),
4504
+ action: S.optional(PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction),
4804
4505
  modulus: S.optional(S.Number),
4805
4506
  regex: S.optional(S.String),
4806
4507
  replacement: S.optional(S.String),
@@ -4811,8 +4512,7 @@ export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem
4811
4512
  targetLabel: S.optional(S.String),
4812
4513
  }),
4813
4514
  ).annotate({
4814
- identifier:
4815
- "PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem",
4515
+ identifier: "PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem",
4816
4516
  }) as any as S.Schema<PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem>;
4817
4517
 
4818
4518
  /** List of metric relabel configurations */
@@ -4824,12 +4524,10 @@ export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList
4824
4524
  ) as any as S.Schema<PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList>;
4825
4525
 
4826
4526
  /** The URL to fetch the token from. */
4827
- export type PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList =
4828
- Array<string>;
4829
- export const PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList =
4830
- /*@__PURE__*/ S.Array(
4831
- S.String,
4832
- ) as any as S.Schema<PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList>;
4527
+ export type PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList = Array<string>;
4528
+ export const PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList = /*@__PURE__*/ S.Array(
4529
+ S.String,
4530
+ ) as any as S.Schema<PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList>;
4833
4531
 
4834
4532
  /** Configures the scrape request's TLS settings. */
4835
4533
  export type PartialUpdateScrapeConfigsRequestBodyItemOauth2TlsConfig =
@@ -4850,31 +4548,24 @@ export interface PartialUpdateScrapeConfigsRequestBodyItemOauth2 {
4850
4548
  /** The URL to fetch the token from. */
4851
4549
  tokenUrl: string;
4852
4550
  }
4853
- export const PartialUpdateScrapeConfigsRequestBodyItemOauth2 =
4854
- /*@__PURE__*/ S.suspend(() =>
4855
- S.Struct({
4856
- clientId: S.String,
4857
- clientSecret: S.String.pipe(T.SensitiveValue({})),
4858
- scopes: S.optional(
4859
- PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList,
4860
- ),
4861
- tlsConfig: S.optional(
4862
- CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig,
4863
- ),
4864
- tokenUrl: S.String,
4865
- }),
4866
- ).annotate({
4867
- identifier: "PartialUpdateScrapeConfigsRequestBodyItemOauth2",
4868
- }) as any as S.Schema<PartialUpdateScrapeConfigsRequestBodyItemOauth2>;
4551
+ export const PartialUpdateScrapeConfigsRequestBodyItemOauth2 = /*@__PURE__*/ S.suspend(() =>
4552
+ S.Struct({
4553
+ clientId: S.String,
4554
+ clientSecret: S.String.pipe(T.SensitiveValue({})),
4555
+ scopes: S.optional(PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList),
4556
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
4557
+ tokenUrl: S.String,
4558
+ }),
4559
+ ).annotate({
4560
+ identifier: "PartialUpdateScrapeConfigsRequestBodyItemOauth2",
4561
+ }) as any as S.Schema<PartialUpdateScrapeConfigsRequestBodyItemOauth2>;
4869
4562
 
4870
4563
  /** Configures the protocol scheme used for requests. https or http */
4871
4564
  export type PartialUpdateScrapeConfigsRequestBodyItemScheme = "http" | "https";
4872
- export const PartialUpdateScrapeConfigsRequestBodyItemScheme =
4873
- /*@__PURE__*/ S.String;
4565
+ export const PartialUpdateScrapeConfigsRequestBodyItemScheme = S.String;
4874
4566
 
4875
4567
  /** The targets specified by the static config. */
4876
- export type PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList =
4877
- Array<string>;
4568
+ export type PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList = Array<string>;
4878
4569
  export const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList =
4879
4570
  /*@__PURE__*/ S.Array(
4880
4571
  S.String,
@@ -4886,24 +4577,22 @@ export interface PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem {
4886
4577
  /** The targets specified by the static config. */
4887
4578
  targets: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList;
4888
4579
  }
4889
- export const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem =
4890
- /*@__PURE__*/ S.suspend(() =>
4580
+ export const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem = /*@__PURE__*/ S.suspend(
4581
+ () =>
4891
4582
  S.Struct({
4892
4583
  labels: S.optional(S.Unknown),
4893
- targets:
4894
- PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList,
4584
+ targets: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList,
4895
4585
  }),
4896
- ).annotate({
4897
- identifier: "PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem",
4898
- }) as any as S.Schema<PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem>;
4586
+ ).annotate({
4587
+ identifier: "PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem",
4588
+ }) as any as S.Schema<PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem>;
4899
4589
 
4900
4590
  /** A list of scrape configurations. */
4901
4591
  export type PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList =
4902
4592
  Array<PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem>;
4903
- export const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList =
4904
- /*@__PURE__*/ S.Array(
4905
- PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem,
4906
- ) as any as S.Schema<PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList>;
4593
+ export const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList = /*@__PURE__*/ S.Array(
4594
+ PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem,
4595
+ ) as any as S.Schema<PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList>;
4907
4596
 
4908
4597
  /** Configures the scrape request's TLS settings. */
4909
4598
  export type PartialUpdateScrapeConfigsRequestBodyItemTlsConfig =
@@ -4945,35 +4634,30 @@ export interface PartialUpdateScrapeConfigsRequestBodyItem {
4945
4634
  /** Configures the scrape request's TLS settings. */
4946
4635
  tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
4947
4636
  }
4948
- export const PartialUpdateScrapeConfigsRequestBodyItem =
4949
- /*@__PURE__*/ S.suspend(() =>
4950
- S.Struct({
4951
- basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
4952
- bearerToken: S.optional(S.String),
4953
- honorLabels: S.optional(S.Boolean),
4954
- honorTimeStamps: S.optional(S.Boolean),
4955
- httpSdConfigs: S.optional(
4956
- PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList,
4957
- ),
4958
- jobName: S.String,
4959
- metricsPath: S.optional(S.String),
4960
- metricsRelabelConfigs: S.optional(
4961
- PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList,
4962
- ),
4963
- oauth2: S.optional(PartialUpdateScrapeConfigsRequestBodyItemOauth2),
4964
- params: S.optional(S.Unknown),
4965
- sampleLimit: S.optional(S.Number),
4966
- scheme: PartialUpdateScrapeConfigsRequestBodyItemScheme,
4967
- scrapeInterval: S.String,
4968
- scrapeTimeout: S.String,
4969
- staticConfigs: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList,
4970
- tlsConfig: S.optional(
4971
- CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig,
4972
- ),
4973
- }),
4974
- ).annotate({
4975
- identifier: "PartialUpdateScrapeConfigsRequestBodyItem",
4976
- }) as any as S.Schema<PartialUpdateScrapeConfigsRequestBodyItem>;
4637
+ export const PartialUpdateScrapeConfigsRequestBodyItem = /*@__PURE__*/ S.suspend(() =>
4638
+ S.Struct({
4639
+ basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
4640
+ bearerToken: S.optional(S.String),
4641
+ honorLabels: S.optional(S.Boolean),
4642
+ honorTimeStamps: S.optional(S.Boolean),
4643
+ httpSdConfigs: S.optional(PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList),
4644
+ jobName: S.String,
4645
+ metricsPath: S.optional(S.String),
4646
+ metricsRelabelConfigs: S.optional(
4647
+ PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList,
4648
+ ),
4649
+ oauth2: S.optional(PartialUpdateScrapeConfigsRequestBodyItemOauth2),
4650
+ params: S.optional(S.Unknown),
4651
+ sampleLimit: S.optional(S.Number),
4652
+ scheme: PartialUpdateScrapeConfigsRequestBodyItemScheme,
4653
+ scrapeInterval: S.String,
4654
+ scrapeTimeout: S.String,
4655
+ staticConfigs: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList,
4656
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
4657
+ }),
4658
+ ).annotate({
4659
+ identifier: "PartialUpdateScrapeConfigsRequestBodyItem",
4660
+ }) as any as S.Schema<PartialUpdateScrapeConfigsRequestBodyItem>;
4977
4661
 
4978
4662
  /** Array of jobs that should be created or updated */
4979
4663
  export type PartialUpdateScrapeConfigsRequestBodyList =
@@ -5009,7 +4693,7 @@ export type RestoreBackupRequestRestoreTarget =
5009
4693
  | "alertRules"
5010
4694
  | "scrapeConfig"
5011
4695
  | "grafana";
5012
- export const RestoreBackupRequestRestoreTarget = /*@__PURE__*/ S.String;
4696
+ export const RestoreBackupRequestRestoreTarget = S.String;
5013
4697
 
5014
4698
  export interface RestoreBackupRequest {
5015
4699
  projectId: string;
@@ -5032,9 +4716,7 @@ export const RestoreBackupRequest = /*@__PURE__*/ S.suspend(() =>
5032
4716
  baseUrl: "https://argus.api.{region}stackit.cloud",
5033
4717
  }),
5034
4718
  ),
5035
- ).annotate({
5036
- identifier: "RestoreBackupRequest",
5037
- }) as any as S.Schema<RestoreBackupRequest>;
4719
+ ).annotate({ identifier: "RestoreBackupRequest" }) as any as S.Schema<RestoreBackupRequest>;
5038
4720
 
5039
4721
  /** list of cidr */
5040
4722
  export type UpdateACLRequestAclList = Array<string>;
@@ -5061,9 +4743,7 @@ export const UpdateACLRequest = /*@__PURE__*/ S.suspend(() =>
5061
4743
  baseUrl: "https://argus.api.{region}stackit.cloud",
5062
4744
  }),
5063
4745
  ),
5064
- ).annotate({
5065
- identifier: "UpdateACLRequest",
5066
- }) as any as S.Schema<UpdateACLRequest>;
4746
+ ).annotate({ identifier: "UpdateACLRequest" }) as any as S.Schema<UpdateACLRequest>;
5067
4747
 
5068
4748
  export type UpdateAlertConfigReceiverRequestEmailConfigsItem =
5069
4749
  CreateAlertConfigReceiverRequestEmailConfigsItem;
@@ -5073,10 +4753,9 @@ export const UpdateAlertConfigReceiverRequestEmailConfigsItem =
5073
4753
  /** Email configurations */
5074
4754
  export type UpdateAlertConfigReceiverRequestEmailConfigsList =
5075
4755
  Array<CreateAlertConfigReceiverRequestEmailConfigsItem>;
5076
- export const UpdateAlertConfigReceiverRequestEmailConfigsList =
5077
- /*@__PURE__*/ S.Array(
5078
- CreateAlertConfigReceiverRequestEmailConfigsItem,
5079
- ) as any as S.Schema<UpdateAlertConfigReceiverRequestEmailConfigsList>;
4756
+ export const UpdateAlertConfigReceiverRequestEmailConfigsList = /*@__PURE__*/ S.Array(
4757
+ CreateAlertConfigReceiverRequestEmailConfigsItem,
4758
+ ) as any as S.Schema<UpdateAlertConfigReceiverRequestEmailConfigsList>;
5080
4759
 
5081
4760
  export type UpdateAlertConfigReceiverRequestOpsgenieConfigsItem =
5082
4761
  CreateAlertConfigReceiverRequestOpsgenieConfigsItem;
@@ -5086,10 +4765,9 @@ export const UpdateAlertConfigReceiverRequestOpsgenieConfigsItem =
5086
4765
  /** Configuration for ops genie. */
5087
4766
  export type UpdateAlertConfigReceiverRequestOpsgenieConfigsList =
5088
4767
  Array<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
5089
- export const UpdateAlertConfigReceiverRequestOpsgenieConfigsList =
5090
- /*@__PURE__*/ S.Array(
5091
- CreateAlertConfigReceiverRequestOpsgenieConfigsItem,
5092
- ) as any as S.Schema<UpdateAlertConfigReceiverRequestOpsgenieConfigsList>;
4768
+ export const UpdateAlertConfigReceiverRequestOpsgenieConfigsList = /*@__PURE__*/ S.Array(
4769
+ CreateAlertConfigReceiverRequestOpsgenieConfigsItem,
4770
+ ) as any as S.Schema<UpdateAlertConfigReceiverRequestOpsgenieConfigsList>;
5093
4771
 
5094
4772
  export type UpdateAlertConfigReceiverRequestWebHookConfigsItem =
5095
4773
  CreateAlertConfigReceiverRequestWebHookConfigsItem;
@@ -5098,10 +4776,9 @@ export const UpdateAlertConfigReceiverRequestWebHookConfigsItem =
5098
4776
 
5099
4777
  export type UpdateAlertConfigReceiverRequestWebHookConfigsList =
5100
4778
  Array<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
5101
- export const UpdateAlertConfigReceiverRequestWebHookConfigsList =
5102
- /*@__PURE__*/ S.Array(
5103
- CreateAlertConfigReceiverRequestWebHookConfigsItem,
5104
- ) as any as S.Schema<UpdateAlertConfigReceiverRequestWebHookConfigsList>;
4779
+ export const UpdateAlertConfigReceiverRequestWebHookConfigsList = /*@__PURE__*/ S.Array(
4780
+ CreateAlertConfigReceiverRequestWebHookConfigsItem,
4781
+ ) as any as S.Schema<UpdateAlertConfigReceiverRequestWebHookConfigsList>;
5105
4782
 
5106
4783
  export interface UpdateAlertConfigReceiverRequest {
5107
4784
  projectId: string;
@@ -5122,12 +4799,8 @@ export const UpdateAlertConfigReceiverRequest = /*@__PURE__*/ S.suspend(() =>
5122
4799
  receiver: S.String.pipe(T.Label()),
5123
4800
  emailConfigs: S.optional(UpdateAlertConfigReceiverRequestEmailConfigsList),
5124
4801
  name: S.String,
5125
- opsgenieConfigs: S.optional(
5126
- UpdateAlertConfigReceiverRequestOpsgenieConfigsList,
5127
- ),
5128
- webHookConfigs: S.optional(
5129
- UpdateAlertConfigReceiverRequestWebHookConfigsList,
5130
- ),
4802
+ opsgenieConfigs: S.optional(UpdateAlertConfigReceiverRequestOpsgenieConfigsList),
4803
+ webHookConfigs: S.optional(UpdateAlertConfigReceiverRequestWebHookConfigsList),
5131
4804
  }).pipe(
5132
4805
  T.Http({
5133
4806
  method: "PUT",
@@ -5153,24 +4826,21 @@ export const UpdateAlertConfigRouteRequestMatchersList = /*@__PURE__*/ S.Array(
5153
4826
  ) as any as S.Schema<UpdateAlertConfigRouteRequestMatchersList>;
5154
4827
 
5155
4828
  export type UpdateAlertConfigRouteRequestRoutesItemGroupByList = Array<string>;
5156
- export const UpdateAlertConfigRouteRequestRoutesItemGroupByList =
5157
- /*@__PURE__*/ S.Array(
5158
- S.String,
5159
- ) as any as S.Schema<UpdateAlertConfigRouteRequestRoutesItemGroupByList>;
4829
+ export const UpdateAlertConfigRouteRequestRoutesItemGroupByList = /*@__PURE__*/ S.Array(
4830
+ S.String,
4831
+ ) as any as S.Schema<UpdateAlertConfigRouteRequestRoutesItemGroupByList>;
5160
4832
 
5161
4833
  /** As in one level above */
5162
4834
  export type UpdateAlertConfigRouteRequestRoutesItemMatchersList = Array<string>;
5163
- export const UpdateAlertConfigRouteRequestRoutesItemMatchersList =
5164
- /*@__PURE__*/ S.Array(
5165
- S.String,
5166
- ) as any as S.Schema<UpdateAlertConfigRouteRequestRoutesItemMatchersList>;
4835
+ export const UpdateAlertConfigRouteRequestRoutesItemMatchersList = /*@__PURE__*/ S.Array(
4836
+ S.String,
4837
+ ) as any as S.Schema<UpdateAlertConfigRouteRequestRoutesItemMatchersList>;
5167
4838
 
5168
4839
  /** Another child routes */
5169
4840
  export type UpdateAlertConfigRouteRequestRoutesItemRoutesList = Array<unknown>;
5170
- export const UpdateAlertConfigRouteRequestRoutesItemRoutesList =
5171
- /*@__PURE__*/ S.Array(
5172
- S.Unknown,
5173
- ) as any as S.Schema<UpdateAlertConfigRouteRequestRoutesItemRoutesList>;
4841
+ export const UpdateAlertConfigRouteRequestRoutesItemRoutesList = /*@__PURE__*/ S.Array(
4842
+ S.Unknown,
4843
+ ) as any as S.Schema<UpdateAlertConfigRouteRequestRoutesItemRoutesList>;
5174
4844
 
5175
4845
  /** As in one level above */
5176
4846
  export interface UpdateAlertConfigRouteRequestRoutesItem {
@@ -5194,20 +4864,19 @@ export interface UpdateAlertConfigRouteRequestRoutesItem {
5194
4864
  /** Another child routes */
5195
4865
  routes?: UpdateAlertConfigRouteRequestRoutesItemRoutesList;
5196
4866
  }
5197
- export const UpdateAlertConfigRouteRequestRoutesItem = /*@__PURE__*/ S.suspend(
5198
- () =>
5199
- S.Struct({
5200
- continue: S.optional(S.Boolean),
5201
- groupBy: S.optional(UpdateAlertConfigRouteRequestRoutesItemGroupByList),
5202
- groupInterval: S.optional(S.String),
5203
- groupWait: S.optional(S.String),
5204
- match: S.optional(S.Unknown),
5205
- matchRe: S.optional(S.Unknown),
5206
- matchers: S.optional(UpdateAlertConfigRouteRequestRoutesItemMatchersList),
5207
- receiver: S.optional(S.String),
5208
- repeatInterval: S.optional(S.String),
5209
- routes: S.optional(UpdateAlertConfigRouteRequestRoutesItemRoutesList),
5210
- }),
4867
+ export const UpdateAlertConfigRouteRequestRoutesItem = /*@__PURE__*/ S.suspend(() =>
4868
+ S.Struct({
4869
+ continue: S.optional(S.Boolean),
4870
+ groupBy: S.optional(UpdateAlertConfigRouteRequestRoutesItemGroupByList),
4871
+ groupInterval: S.optional(S.String),
4872
+ groupWait: S.optional(S.String),
4873
+ match: S.optional(S.Unknown),
4874
+ matchRe: S.optional(S.Unknown),
4875
+ matchers: S.optional(UpdateAlertConfigRouteRequestRoutesItemMatchersList),
4876
+ receiver: S.optional(S.String),
4877
+ repeatInterval: S.optional(S.String),
4878
+ routes: S.optional(UpdateAlertConfigRouteRequestRoutesItemRoutesList),
4879
+ }),
5211
4880
  ).annotate({
5212
4881
  identifier: "UpdateAlertConfigRouteRequestRoutesItem",
5213
4882
  }) as any as S.Schema<UpdateAlertConfigRouteRequestRoutesItem>;
@@ -5304,10 +4973,9 @@ export const UpdateAlertConfigsRequestGlobal = /*@__PURE__*/ S.suspend(() =>
5304
4973
 
5305
4974
  /** Labels that must have an equal value in the source and target alert for the inhibition to take effect. `Additional Validators:` * should only include the characters: a-zA-Z0-9_./@&?:- */
5306
4975
  export type UpdateAlertConfigsRequestInhibitRulesEqualList = Array<string>;
5307
- export const UpdateAlertConfigsRequestInhibitRulesEqualList =
5308
- /*@__PURE__*/ S.Array(
5309
- S.String,
5310
- ) as any as S.Schema<UpdateAlertConfigsRequestInhibitRulesEqualList>;
4976
+ export const UpdateAlertConfigsRequestInhibitRulesEqualList = /*@__PURE__*/ S.Array(
4977
+ S.String,
4978
+ ) as any as S.Schema<UpdateAlertConfigsRequestInhibitRulesEqualList>;
5311
4979
 
5312
4980
  /** A list of inhibition rules. */
5313
4981
  export interface UpdateAlertConfigsRequestInhibitRules {
@@ -5322,15 +4990,14 @@ export interface UpdateAlertConfigsRequestInhibitRules {
5322
4990
  /** map of key:value. Matchers that have to be fulfilled in the alerts to be muted. Regex. `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters */
5323
4991
  targetMatchRe?: unknown;
5324
4992
  }
5325
- export const UpdateAlertConfigsRequestInhibitRules = /*@__PURE__*/ S.suspend(
5326
- () =>
5327
- S.Struct({
5328
- equal: S.optional(UpdateAlertConfigsRequestInhibitRulesEqualList),
5329
- sourceMatch: S.optional(S.Unknown),
5330
- sourceMatchRe: S.optional(S.Unknown),
5331
- targetMatch: S.optional(S.Unknown),
5332
- targetMatchRe: S.optional(S.Unknown),
5333
- }),
4993
+ export const UpdateAlertConfigsRequestInhibitRules = /*@__PURE__*/ S.suspend(() =>
4994
+ S.Struct({
4995
+ equal: S.optional(UpdateAlertConfigsRequestInhibitRulesEqualList),
4996
+ sourceMatch: S.optional(S.Unknown),
4997
+ sourceMatchRe: S.optional(S.Unknown),
4998
+ targetMatch: S.optional(S.Unknown),
4999
+ targetMatchRe: S.optional(S.Unknown),
5000
+ }),
5334
5001
  ).annotate({
5335
5002
  identifier: "UpdateAlertConfigsRequestInhibitRules",
5336
5003
  }) as any as S.Schema<UpdateAlertConfigsRequestInhibitRules>;
@@ -5343,10 +5010,9 @@ export const UpdateAlertConfigsRequestReceiversItemEmailConfigsItem =
5343
5010
  /** Email configurations */
5344
5011
  export type UpdateAlertConfigsRequestReceiversItemEmailConfigsList =
5345
5012
  Array<CreateAlertConfigReceiverRequestEmailConfigsItem>;
5346
- export const UpdateAlertConfigsRequestReceiversItemEmailConfigsList =
5347
- /*@__PURE__*/ S.Array(
5348
- CreateAlertConfigReceiverRequestEmailConfigsItem,
5349
- ) as any as S.Schema<UpdateAlertConfigsRequestReceiversItemEmailConfigsList>;
5013
+ export const UpdateAlertConfigsRequestReceiversItemEmailConfigsList = /*@__PURE__*/ S.Array(
5014
+ CreateAlertConfigReceiverRequestEmailConfigsItem,
5015
+ ) as any as S.Schema<UpdateAlertConfigsRequestReceiversItemEmailConfigsList>;
5350
5016
 
5351
5017
  export type UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsItem =
5352
5018
  CreateAlertConfigReceiverRequestOpsgenieConfigsItem;
@@ -5356,10 +5022,9 @@ export const UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsItem =
5356
5022
  /** Configuration for ops genie. */
5357
5023
  export type UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList =
5358
5024
  Array<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
5359
- export const UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList =
5360
- /*@__PURE__*/ S.Array(
5361
- CreateAlertConfigReceiverRequestOpsgenieConfigsItem,
5362
- ) as any as S.Schema<UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList>;
5025
+ export const UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList = /*@__PURE__*/ S.Array(
5026
+ CreateAlertConfigReceiverRequestOpsgenieConfigsItem,
5027
+ ) as any as S.Schema<UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList>;
5363
5028
 
5364
5029
  export type UpdateAlertConfigsRequestReceiversItemWebHookConfigsItem =
5365
5030
  CreateAlertConfigReceiverRequestWebHookConfigsItem;
@@ -5368,10 +5033,9 @@ export const UpdateAlertConfigsRequestReceiversItemWebHookConfigsItem =
5368
5033
 
5369
5034
  export type UpdateAlertConfigsRequestReceiversItemWebHookConfigsList =
5370
5035
  Array<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
5371
- export const UpdateAlertConfigsRequestReceiversItemWebHookConfigsList =
5372
- /*@__PURE__*/ S.Array(
5373
- CreateAlertConfigReceiverRequestWebHookConfigsItem,
5374
- ) as any as S.Schema<UpdateAlertConfigsRequestReceiversItemWebHookConfigsList>;
5036
+ export const UpdateAlertConfigsRequestReceiversItemWebHookConfigsList = /*@__PURE__*/ S.Array(
5037
+ CreateAlertConfigReceiverRequestWebHookConfigsItem,
5038
+ ) as any as S.Schema<UpdateAlertConfigsRequestReceiversItemWebHookConfigsList>;
5375
5039
 
5376
5040
  /** Receivers */
5377
5041
  export interface UpdateAlertConfigsRequestReceiversItem {
@@ -5383,27 +5047,19 @@ export interface UpdateAlertConfigsRequestReceiversItem {
5383
5047
  opsgenieConfigs?: UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList;
5384
5048
  webHookConfigs?: UpdateAlertConfigsRequestReceiversItemWebHookConfigsList;
5385
5049
  }
5386
- export const UpdateAlertConfigsRequestReceiversItem = /*@__PURE__*/ S.suspend(
5387
- () =>
5388
- S.Struct({
5389
- emailConfigs: S.optional(
5390
- UpdateAlertConfigsRequestReceiversItemEmailConfigsList,
5391
- ),
5392
- name: S.String,
5393
- opsgenieConfigs: S.optional(
5394
- UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList,
5395
- ),
5396
- webHookConfigs: S.optional(
5397
- UpdateAlertConfigsRequestReceiversItemWebHookConfigsList,
5398
- ),
5399
- }),
5050
+ export const UpdateAlertConfigsRequestReceiversItem = /*@__PURE__*/ S.suspend(() =>
5051
+ S.Struct({
5052
+ emailConfigs: S.optional(UpdateAlertConfigsRequestReceiversItemEmailConfigsList),
5053
+ name: S.String,
5054
+ opsgenieConfigs: S.optional(UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList),
5055
+ webHookConfigs: S.optional(UpdateAlertConfigsRequestReceiversItemWebHookConfigsList),
5056
+ }),
5400
5057
  ).annotate({
5401
5058
  identifier: "UpdateAlertConfigsRequestReceiversItem",
5402
5059
  }) as any as S.Schema<UpdateAlertConfigsRequestReceiversItem>;
5403
5060
 
5404
5061
  /** A list of notification receivers. */
5405
- export type UpdateAlertConfigsRequestReceiversList =
5406
- Array<UpdateAlertConfigsRequestReceiversItem>;
5062
+ export type UpdateAlertConfigsRequestReceiversList = Array<UpdateAlertConfigsRequestReceiversItem>;
5407
5063
  export const UpdateAlertConfigsRequestReceiversList = /*@__PURE__*/ S.Array(
5408
5064
  UpdateAlertConfigsRequestReceiversItem,
5409
5065
  ) as any as S.Schema<UpdateAlertConfigsRequestReceiversList>;
@@ -5415,25 +5071,21 @@ export const UpdateAlertConfigsRequestRouteGroupByList = /*@__PURE__*/ S.Array(
5415
5071
  ) as any as S.Schema<UpdateAlertConfigsRequestRouteGroupByList>;
5416
5072
 
5417
5073
  export type UpdateAlertConfigsRequestRouteRoutesItemGroupByList = Array<string>;
5418
- export const UpdateAlertConfigsRequestRouteRoutesItemGroupByList =
5419
- /*@__PURE__*/ S.Array(
5420
- S.String,
5421
- ) as any as S.Schema<UpdateAlertConfigsRequestRouteRoutesItemGroupByList>;
5074
+ export const UpdateAlertConfigsRequestRouteRoutesItemGroupByList = /*@__PURE__*/ S.Array(
5075
+ S.String,
5076
+ ) as any as S.Schema<UpdateAlertConfigsRequestRouteRoutesItemGroupByList>;
5422
5077
 
5423
5078
  /** A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. The syntax of a matcher consists of three tokens: * A valid Prometheus label name. * One of =, !=, =~, or !~. = means equals, != means that the strings are not equal, =~ is used for equality of regex expressions and !~ is used for un-equality of regex expressions. They have the same meaning as known from PromQL selectors. * A UTF-8 string, which may be enclosed in double quotes. Before or after each token, there may be any amount of whitespace. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
5424
- export type UpdateAlertConfigsRequestRouteRoutesItemMatchersList =
5425
- Array<string>;
5426
- export const UpdateAlertConfigsRequestRouteRoutesItemMatchersList =
5427
- /*@__PURE__*/ S.Array(
5428
- S.String,
5429
- ) as any as S.Schema<UpdateAlertConfigsRequestRouteRoutesItemMatchersList>;
5079
+ export type UpdateAlertConfigsRequestRouteRoutesItemMatchersList = Array<string>;
5080
+ export const UpdateAlertConfigsRequestRouteRoutesItemMatchersList = /*@__PURE__*/ S.Array(
5081
+ S.String,
5082
+ ) as any as S.Schema<UpdateAlertConfigsRequestRouteRoutesItemMatchersList>;
5430
5083
 
5431
5084
  /** Another child routes */
5432
5085
  export type UpdateAlertConfigsRequestRouteRoutesItemRoutesList = Array<unknown>;
5433
- export const UpdateAlertConfigsRequestRouteRoutesItemRoutesList =
5434
- /*@__PURE__*/ S.Array(
5435
- S.Unknown,
5436
- ) as any as S.Schema<UpdateAlertConfigsRequestRouteRoutesItemRoutesList>;
5086
+ export const UpdateAlertConfigsRequestRouteRoutesItemRoutesList = /*@__PURE__*/ S.Array(
5087
+ S.Unknown,
5088
+ ) as any as S.Schema<UpdateAlertConfigsRequestRouteRoutesItemRoutesList>;
5437
5089
 
5438
5090
  /** As in one level above */
5439
5091
  export interface UpdateAlertConfigsRequestRouteRoutesItem {
@@ -5457,22 +5109,19 @@ export interface UpdateAlertConfigsRequestRouteRoutesItem {
5457
5109
  /** Another child routes */
5458
5110
  routes?: UpdateAlertConfigsRequestRouteRoutesItemRoutesList;
5459
5111
  }
5460
- export const UpdateAlertConfigsRequestRouteRoutesItem = /*@__PURE__*/ S.suspend(
5461
- () =>
5462
- S.Struct({
5463
- continue: S.optional(S.Boolean),
5464
- groupBy: S.optional(UpdateAlertConfigsRequestRouteRoutesItemGroupByList),
5465
- groupInterval: S.optional(S.String),
5466
- groupWait: S.optional(S.String),
5467
- match: S.optional(S.Unknown),
5468
- matchRe: S.optional(S.Unknown),
5469
- matchers: S.optional(
5470
- UpdateAlertConfigsRequestRouteRoutesItemMatchersList,
5471
- ),
5472
- receiver: S.optional(S.String),
5473
- repeatInterval: S.optional(S.String),
5474
- routes: S.optional(UpdateAlertConfigsRequestRouteRoutesItemRoutesList),
5475
- }),
5112
+ export const UpdateAlertConfigsRequestRouteRoutesItem = /*@__PURE__*/ S.suspend(() =>
5113
+ S.Struct({
5114
+ continue: S.optional(S.Boolean),
5115
+ groupBy: S.optional(UpdateAlertConfigsRequestRouteRoutesItemGroupByList),
5116
+ groupInterval: S.optional(S.String),
5117
+ groupWait: S.optional(S.String),
5118
+ match: S.optional(S.Unknown),
5119
+ matchRe: S.optional(S.Unknown),
5120
+ matchers: S.optional(UpdateAlertConfigsRequestRouteRoutesItemMatchersList),
5121
+ receiver: S.optional(S.String),
5122
+ repeatInterval: S.optional(S.String),
5123
+ routes: S.optional(UpdateAlertConfigsRequestRouteRoutesItemRoutesList),
5124
+ }),
5476
5125
  ).annotate({
5477
5126
  identifier: "UpdateAlertConfigsRequestRouteRoutesItem",
5478
5127
  }) as any as S.Schema<UpdateAlertConfigsRequestRouteRoutesItem>;
@@ -5567,14 +5216,11 @@ export const UpdateAlertConfigsResponse = /*@__PURE__*/ S.suspend(() =>
5567
5216
  }) as any as S.Schema<UpdateAlertConfigsResponse>;
5568
5217
 
5569
5218
  /** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
5570
- export type UpdateAlertgroupRequestRulesItem =
5571
- CreateAlertgroupsRequestRulesItem;
5572
- export const UpdateAlertgroupRequestRulesItem =
5573
- CreateAlertgroupsRequestRulesItem;
5219
+ export type UpdateAlertgroupRequestRulesItem = CreateAlertgroupsRequestRulesItem;
5220
+ export const UpdateAlertgroupRequestRulesItem = CreateAlertgroupsRequestRulesItem;
5574
5221
 
5575
5222
  /** rules for the alert group */
5576
- export type UpdateAlertgroupRequestRulesList =
5577
- Array<CreateAlertgroupsRequestRulesItem>;
5223
+ export type UpdateAlertgroupRequestRulesList = Array<CreateAlertgroupsRequestRulesItem>;
5578
5224
  export const UpdateAlertgroupRequestRulesList = /*@__PURE__*/ S.Array(
5579
5225
  CreateAlertgroupsRequestRulesItem,
5580
5226
  ) as any as S.Schema<UpdateAlertgroupRequestRulesList>;
@@ -5603,19 +5249,14 @@ export const UpdateAlertgroupRequest = /*@__PURE__*/ S.suspend(() =>
5603
5249
  baseUrl: "https://argus.api.{region}stackit.cloud",
5604
5250
  }),
5605
5251
  ),
5606
- ).annotate({
5607
- identifier: "UpdateAlertgroupRequest",
5608
- }) as any as S.Schema<UpdateAlertgroupRequest>;
5252
+ ).annotate({ identifier: "UpdateAlertgroupRequest" }) as any as S.Schema<UpdateAlertgroupRequest>;
5609
5253
 
5610
5254
  /** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
5611
- export type UpdateAlertgroupsRequestBodyItemRulesItem =
5612
- CreateAlertgroupsRequestRulesItem;
5613
- export const UpdateAlertgroupsRequestBodyItemRulesItem =
5614
- CreateAlertgroupsRequestRulesItem;
5255
+ export type UpdateAlertgroupsRequestBodyItemRulesItem = CreateAlertgroupsRequestRulesItem;
5256
+ export const UpdateAlertgroupsRequestBodyItemRulesItem = CreateAlertgroupsRequestRulesItem;
5615
5257
 
5616
5258
  /** rules for the alert group */
5617
- export type UpdateAlertgroupsRequestBodyItemRulesList =
5618
- Array<CreateAlertgroupsRequestRulesItem>;
5259
+ export type UpdateAlertgroupsRequestBodyItemRulesList = Array<CreateAlertgroupsRequestRulesItem>;
5619
5260
  export const UpdateAlertgroupsRequestBodyItemRulesList = /*@__PURE__*/ S.Array(
5620
5261
  CreateAlertgroupsRequestRulesItem,
5621
5262
  ) as any as S.Schema<UpdateAlertgroupsRequestBodyItemRulesList>;
@@ -5640,8 +5281,7 @@ export const UpdateAlertgroupsRequestBodyItem = /*@__PURE__*/ S.suspend(() =>
5640
5281
  }) as any as S.Schema<UpdateAlertgroupsRequestBodyItem>;
5641
5282
 
5642
5283
  /** Array of alert groups that should be set. It will override all existing alert groups. */
5643
- export type UpdateAlertgroupsRequestBodyList =
5644
- Array<UpdateAlertgroupsRequestBodyItem>;
5284
+ export type UpdateAlertgroupsRequestBodyList = Array<UpdateAlertgroupsRequestBodyItem>;
5645
5285
  export const UpdateAlertgroupsRequestBodyList = /*@__PURE__*/ S.Array(
5646
5286
  UpdateAlertgroupsRequestBodyItem,
5647
5287
  ) as any as S.Schema<UpdateAlertgroupsRequestBodyList>;
@@ -5664,9 +5304,7 @@ export const UpdateAlertgroupsRequest = /*@__PURE__*/ S.suspend(() =>
5664
5304
  baseUrl: "https://argus.api.{region}stackit.cloud",
5665
5305
  }),
5666
5306
  ),
5667
- ).annotate({
5668
- identifier: "UpdateAlertgroupsRequest",
5669
- }) as any as S.Schema<UpdateAlertgroupsRequest>;
5307
+ ).annotate({ identifier: "UpdateAlertgroupsRequest" }) as any as S.Schema<UpdateAlertgroupsRequest>;
5670
5308
 
5671
5309
  export interface UpdateAlertRecordRequest {
5672
5310
  projectId: string;
@@ -5694,9 +5332,7 @@ export const UpdateAlertRecordRequest = /*@__PURE__*/ S.suspend(() =>
5694
5332
  baseUrl: "https://argus.api.{region}stackit.cloud",
5695
5333
  }),
5696
5334
  ),
5697
- ).annotate({
5698
- identifier: "UpdateAlertRecordRequest",
5699
- }) as any as S.Schema<UpdateAlertRecordRequest>;
5335
+ ).annotate({ identifier: "UpdateAlertRecordRequest" }) as any as S.Schema<UpdateAlertRecordRequest>;
5700
5336
 
5701
5337
  export interface UpdateAlertruleRequest {
5702
5338
  projectId: string;
@@ -5730,9 +5366,7 @@ export const UpdateAlertruleRequest = /*@__PURE__*/ S.suspend(() =>
5730
5366
  baseUrl: "https://argus.api.{region}stackit.cloud",
5731
5367
  }),
5732
5368
  ),
5733
- ).annotate({
5734
- identifier: "UpdateAlertruleRequest",
5735
- }) as any as S.Schema<UpdateAlertruleRequest>;
5369
+ ).annotate({ identifier: "UpdateAlertruleRequest" }) as any as S.Schema<UpdateAlertruleRequest>;
5736
5370
 
5737
5371
  export interface UpdateCredentialsRemoteWriteConfigRequest {
5738
5372
  projectId: string;
@@ -5741,24 +5375,23 @@ export interface UpdateCredentialsRemoteWriteConfigRequest {
5741
5375
  /** Remote write metric sample limit for credential to push in a single minute. */
5742
5376
  maxLimit?: number;
5743
5377
  }
5744
- export const UpdateCredentialsRemoteWriteConfigRequest =
5745
- /*@__PURE__*/ S.suspend(() =>
5746
- S.Struct({
5747
- projectId: S.String.pipe(T.Label()),
5748
- instanceId: S.String.pipe(T.Label()),
5749
- username: S.String.pipe(T.Label()),
5750
- maxLimit: S.optional(S.Number),
5751
- }).pipe(
5752
- T.Http({
5753
- method: "PUT",
5754
- uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}/remote-write-limits",
5755
- code: 200,
5756
- baseUrl: "https://argus.api.{region}stackit.cloud",
5757
- }),
5758
- ),
5759
- ).annotate({
5760
- identifier: "UpdateCredentialsRemoteWriteConfigRequest",
5761
- }) as any as S.Schema<UpdateCredentialsRemoteWriteConfigRequest>;
5378
+ export const UpdateCredentialsRemoteWriteConfigRequest = /*@__PURE__*/ S.suspend(() =>
5379
+ S.Struct({
5380
+ projectId: S.String.pipe(T.Label()),
5381
+ instanceId: S.String.pipe(T.Label()),
5382
+ username: S.String.pipe(T.Label()),
5383
+ maxLimit: S.optional(S.Number),
5384
+ }).pipe(
5385
+ T.Http({
5386
+ method: "PUT",
5387
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}/remote-write-limits",
5388
+ code: 200,
5389
+ baseUrl: "https://argus.api.{region}stackit.cloud",
5390
+ }),
5391
+ ),
5392
+ ).annotate({
5393
+ identifier: "UpdateCredentialsRemoteWriteConfigRequest",
5394
+ }) as any as S.Schema<UpdateCredentialsRemoteWriteConfigRequest>;
5762
5395
 
5763
5396
  export interface UpdateGrafanaConfigsRequestGenericOauth {
5764
5397
  /** Set to true to enable automatic sync of the Grafana server administrator role. If this option is set to true and the result of evaluating role_attribute_path for a user is GrafanaAdmin, Grafana grants the user the server administrator privileges and organization administrator role. If this option is set to false and the result of evaluating role_attribute_path for a user is GrafanaAdmin, Grafana grants the user only organization administrator role. */
@@ -5786,22 +5419,21 @@ export interface UpdateGrafanaConfigsRequestGenericOauth {
5786
5419
  /** Enable or disable Proof Key for Code Exchange */
5787
5420
  usePkce?: boolean;
5788
5421
  }
5789
- export const UpdateGrafanaConfigsRequestGenericOauth = /*@__PURE__*/ S.suspend(
5790
- () =>
5791
- S.Struct({
5792
- allowAssignGrafanaAdmin: S.optional(S.Boolean),
5793
- apiUrl: S.String,
5794
- authUrl: S.String,
5795
- enabled: S.Boolean,
5796
- name: S.optional(S.String),
5797
- oauthClientId: S.String,
5798
- oauthClientSecret: S.String,
5799
- roleAttributePath: S.String,
5800
- roleAttributeStrict: S.optional(S.Boolean),
5801
- scopes: S.optional(S.String),
5802
- tokenUrl: S.String,
5803
- usePkce: S.optional(S.Boolean),
5804
- }),
5422
+ export const UpdateGrafanaConfigsRequestGenericOauth = /*@__PURE__*/ S.suspend(() =>
5423
+ S.Struct({
5424
+ allowAssignGrafanaAdmin: S.optional(S.Boolean),
5425
+ apiUrl: S.String,
5426
+ authUrl: S.String,
5427
+ enabled: S.Boolean,
5428
+ name: S.optional(S.String),
5429
+ oauthClientId: S.String,
5430
+ oauthClientSecret: S.String,
5431
+ roleAttributePath: S.String,
5432
+ roleAttributeStrict: S.optional(S.Boolean),
5433
+ scopes: S.optional(S.String),
5434
+ tokenUrl: S.String,
5435
+ usePkce: S.optional(S.Boolean),
5436
+ }),
5805
5437
  ).annotate({
5806
5438
  identifier: "UpdateGrafanaConfigsRequestGenericOauth",
5807
5439
  }) as any as S.Schema<UpdateGrafanaConfigsRequestGenericOauth>;
@@ -5862,19 +5494,14 @@ export const UpdateInstanceRequest = /*@__PURE__*/ S.suspend(() =>
5862
5494
  baseUrl: "https://argus.api.{region}stackit.cloud",
5863
5495
  }),
5864
5496
  ),
5865
- ).annotate({
5866
- identifier: "UpdateInstanceRequest",
5867
- }) as any as S.Schema<UpdateInstanceRequest>;
5497
+ ).annotate({ identifier: "UpdateInstanceRequest" }) as any as S.Schema<UpdateInstanceRequest>;
5868
5498
 
5869
5499
  /** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
5870
- export type UpdateLogsAlertgroupRequestRulesItem =
5871
- CreateLogsAlertgroupsRequestRulesItem;
5872
- export const UpdateLogsAlertgroupRequestRulesItem =
5873
- CreateLogsAlertgroupsRequestRulesItem;
5500
+ export type UpdateLogsAlertgroupRequestRulesItem = CreateLogsAlertgroupsRequestRulesItem;
5501
+ export const UpdateLogsAlertgroupRequestRulesItem = CreateLogsAlertgroupsRequestRulesItem;
5874
5502
 
5875
5503
  /** rules for the alert group */
5876
- export type UpdateLogsAlertgroupRequestRulesList =
5877
- Array<CreateLogsAlertgroupsRequestRulesItem>;
5504
+ export type UpdateLogsAlertgroupRequestRulesList = Array<CreateLogsAlertgroupsRequestRulesItem>;
5878
5505
  export const UpdateLogsAlertgroupRequestRulesList = /*@__PURE__*/ S.Array(
5879
5506
  CreateLogsAlertgroupsRequestRulesItem,
5880
5507
  ) as any as S.Schema<UpdateLogsAlertgroupRequestRulesList>;
@@ -5926,9 +5553,7 @@ export const UpdateLogsConfigsRequest = /*@__PURE__*/ S.suspend(() =>
5926
5553
  baseUrl: "https://argus.api.{region}stackit.cloud",
5927
5554
  }),
5928
5555
  ),
5929
- ).annotate({
5930
- identifier: "UpdateLogsConfigsRequest",
5931
- }) as any as S.Schema<UpdateLogsConfigsRequest>;
5556
+ ).annotate({ identifier: "UpdateLogsConfigsRequest" }) as any as S.Schema<UpdateLogsConfigsRequest>;
5932
5557
 
5933
5558
  export interface UpdateMetricsStorageRetentionRequest {
5934
5559
  projectId: string;
@@ -5940,31 +5565,28 @@ export interface UpdateMetricsStorageRetentionRequest {
5940
5565
  /** Retention time of longtime storage of raw data. After that time the raw data will be deleted permanently. All raw resolution metrics that are older than 40 hours are downsampled at a 5m resolution. The default value is 90 days. `Additional Validators:` * Should be a valid time string (e.g. '90d'). * Should be between '2d' and '780d'. * Note: For compatibility reasons, values between '0d' and '792d' are also accepted. However, these will be automatically adjusted in the backend to the recommended range of '2d' to '780d'. */
5941
5566
  metricsRetentionTimeRaw: string;
5942
5567
  }
5943
- export const UpdateMetricsStorageRetentionRequest = /*@__PURE__*/ S.suspend(
5944
- () =>
5945
- S.Struct({
5946
- projectId: S.String.pipe(T.Label()),
5947
- instanceId: S.String.pipe(T.Label()),
5948
- metricsRetentionTime1h: S.String,
5949
- metricsRetentionTime5m: S.String,
5950
- metricsRetentionTimeRaw: S.String,
5951
- }).pipe(
5952
- T.Http({
5953
- method: "PUT",
5954
- uri: "/v1/projects/{projectId}/instances/{instanceId}/metrics-storage-retentions",
5955
- code: 200,
5956
- baseUrl: "https://argus.api.{region}stackit.cloud",
5957
- }),
5958
- ),
5568
+ export const UpdateMetricsStorageRetentionRequest = /*@__PURE__*/ S.suspend(() =>
5569
+ S.Struct({
5570
+ projectId: S.String.pipe(T.Label()),
5571
+ instanceId: S.String.pipe(T.Label()),
5572
+ metricsRetentionTime1h: S.String,
5573
+ metricsRetentionTime5m: S.String,
5574
+ metricsRetentionTimeRaw: S.String,
5575
+ }).pipe(
5576
+ T.Http({
5577
+ method: "PUT",
5578
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/metrics-storage-retentions",
5579
+ code: 200,
5580
+ baseUrl: "https://argus.api.{region}stackit.cloud",
5581
+ }),
5582
+ ),
5959
5583
  ).annotate({
5960
5584
  identifier: "UpdateMetricsStorageRetentionRequest",
5961
5585
  }) as any as S.Schema<UpdateMetricsStorageRetentionRequest>;
5962
5586
 
5963
5587
  /** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
5964
- export type UpdateScrapeConfigRequestBasicAuth =
5965
- CreateScrapeConfigRequestBasicAuth;
5966
- export const UpdateScrapeConfigRequestBasicAuth =
5967
- CreateScrapeConfigRequestBasicAuth;
5588
+ export type UpdateScrapeConfigRequestBasicAuth = CreateScrapeConfigRequestBasicAuth;
5589
+ export const UpdateScrapeConfigRequestBasicAuth = CreateScrapeConfigRequestBasicAuth;
5968
5590
 
5969
5591
  /** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
5970
5592
  export type UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction =
@@ -5975,12 +5597,10 @@ export type UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction =
5975
5597
  | "labelmap"
5976
5598
  | "labeldrop"
5977
5599
  | "labelkeep";
5978
- export const UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction =
5979
- /*@__PURE__*/ S.String;
5600
+ export const UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction = S.String;
5980
5601
 
5981
5602
  /** The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions. */
5982
- export type UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList =
5983
- Array<string>;
5603
+ export type UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList = Array<string>;
5984
5604
  export const UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList =
5985
5605
  /*@__PURE__*/ S.Array(
5986
5606
  S.String,
@@ -5988,9 +5608,7 @@ export const UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList
5988
5608
 
5989
5609
  export interface UpdateScrapeConfigRequestMetricsRelabelConfigsItem {
5990
5610
  /** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
5991
- action?:
5992
- | UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction
5993
- | (string & {});
5611
+ action?: UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {});
5994
5612
  /** Modulus to take of the hash of the source label values. */
5995
5613
  modulus?: number;
5996
5614
  /** Regular expression against which the extracted value is matched. */
@@ -6004,44 +5622,36 @@ export interface UpdateScrapeConfigRequestMetricsRelabelConfigsItem {
6004
5622
  /** Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available. */
6005
5623
  targetLabel?: string;
6006
5624
  }
6007
- export const UpdateScrapeConfigRequestMetricsRelabelConfigsItem =
6008
- /*@__PURE__*/ S.suspend(() =>
6009
- S.Struct({
6010
- action: S.optional(
6011
- UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction,
6012
- ),
6013
- modulus: S.optional(S.Number),
6014
- regex: S.optional(S.String),
6015
- replacement: S.optional(S.String),
6016
- separator: S.optional(S.String),
6017
- sourceLabels: S.optional(
6018
- UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList,
6019
- ),
6020
- targetLabel: S.optional(S.String),
6021
- }),
6022
- ).annotate({
6023
- identifier: "UpdateScrapeConfigRequestMetricsRelabelConfigsItem",
6024
- }) as any as S.Schema<UpdateScrapeConfigRequestMetricsRelabelConfigsItem>;
5625
+ export const UpdateScrapeConfigRequestMetricsRelabelConfigsItem = /*@__PURE__*/ S.suspend(() =>
5626
+ S.Struct({
5627
+ action: S.optional(UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction),
5628
+ modulus: S.optional(S.Number),
5629
+ regex: S.optional(S.String),
5630
+ replacement: S.optional(S.String),
5631
+ separator: S.optional(S.String),
5632
+ sourceLabels: S.optional(UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList),
5633
+ targetLabel: S.optional(S.String),
5634
+ }),
5635
+ ).annotate({
5636
+ identifier: "UpdateScrapeConfigRequestMetricsRelabelConfigsItem",
5637
+ }) as any as S.Schema<UpdateScrapeConfigRequestMetricsRelabelConfigsItem>;
6025
5638
 
6026
5639
  /** List of metric relabel configurations */
6027
5640
  export type UpdateScrapeConfigRequestMetricsRelabelConfigsList =
6028
5641
  Array<UpdateScrapeConfigRequestMetricsRelabelConfigsItem>;
6029
- export const UpdateScrapeConfigRequestMetricsRelabelConfigsList =
6030
- /*@__PURE__*/ S.Array(
6031
- UpdateScrapeConfigRequestMetricsRelabelConfigsItem,
6032
- ) as any as S.Schema<UpdateScrapeConfigRequestMetricsRelabelConfigsList>;
5642
+ export const UpdateScrapeConfigRequestMetricsRelabelConfigsList = /*@__PURE__*/ S.Array(
5643
+ UpdateScrapeConfigRequestMetricsRelabelConfigsItem,
5644
+ ) as any as S.Schema<UpdateScrapeConfigRequestMetricsRelabelConfigsList>;
6033
5645
 
6034
5646
  /** Configures the protocol scheme used for requests. https or http */
6035
5647
  export type UpdateScrapeConfigRequestScheme = "http" | "https";
6036
- export const UpdateScrapeConfigRequestScheme = /*@__PURE__*/ S.String;
5648
+ export const UpdateScrapeConfigRequestScheme = S.String;
6037
5649
 
6038
5650
  /** The targets specified by the static config. */
6039
- export type UpdateScrapeConfigRequestStaticConfigsItemTargetsList =
6040
- Array<string>;
6041
- export const UpdateScrapeConfigRequestStaticConfigsItemTargetsList =
6042
- /*@__PURE__*/ S.Array(
6043
- S.String,
6044
- ) as any as S.Schema<UpdateScrapeConfigRequestStaticConfigsItemTargetsList>;
5651
+ export type UpdateScrapeConfigRequestStaticConfigsItemTargetsList = Array<string>;
5652
+ export const UpdateScrapeConfigRequestStaticConfigsItemTargetsList = /*@__PURE__*/ S.Array(
5653
+ S.String,
5654
+ ) as any as S.Schema<UpdateScrapeConfigRequestStaticConfigsItemTargetsList>;
6045
5655
 
6046
5656
  export interface UpdateScrapeConfigRequestStaticConfigsItem {
6047
5657
  /** Labels assigned to all metrics scraped from the targets. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
@@ -6049,15 +5659,14 @@ export interface UpdateScrapeConfigRequestStaticConfigsItem {
6049
5659
  /** The targets specified by the static config. */
6050
5660
  targets: UpdateScrapeConfigRequestStaticConfigsItemTargetsList;
6051
5661
  }
6052
- export const UpdateScrapeConfigRequestStaticConfigsItem =
6053
- /*@__PURE__*/ S.suspend(() =>
6054
- S.Struct({
6055
- labels: S.optional(S.Unknown),
6056
- targets: UpdateScrapeConfigRequestStaticConfigsItemTargetsList,
6057
- }),
6058
- ).annotate({
6059
- identifier: "UpdateScrapeConfigRequestStaticConfigsItem",
6060
- }) as any as S.Schema<UpdateScrapeConfigRequestStaticConfigsItem>;
5662
+ export const UpdateScrapeConfigRequestStaticConfigsItem = /*@__PURE__*/ S.suspend(() =>
5663
+ S.Struct({
5664
+ labels: S.optional(S.Unknown),
5665
+ targets: UpdateScrapeConfigRequestStaticConfigsItemTargetsList,
5666
+ }),
5667
+ ).annotate({
5668
+ identifier: "UpdateScrapeConfigRequestStaticConfigsItem",
5669
+ }) as any as S.Schema<UpdateScrapeConfigRequestStaticConfigsItem>;
6061
5670
 
6062
5671
  /** A list of scrape configurations. */
6063
5672
  export type UpdateScrapeConfigRequestStaticConfigsList =
@@ -6113,18 +5722,14 @@ export const UpdateScrapeConfigRequest = /*@__PURE__*/ S.suspend(() =>
6113
5722
  honorLabels: S.optional(S.Boolean),
6114
5723
  honorTimeStamps: S.optional(S.Boolean),
6115
5724
  metricsPath: S.String,
6116
- metricsRelabelConfigs: S.optional(
6117
- UpdateScrapeConfigRequestMetricsRelabelConfigsList,
6118
- ),
5725
+ metricsRelabelConfigs: S.optional(UpdateScrapeConfigRequestMetricsRelabelConfigsList),
6119
5726
  params: S.optional(S.Unknown),
6120
5727
  sampleLimit: S.optional(S.Number),
6121
5728
  scheme: UpdateScrapeConfigRequestScheme,
6122
5729
  scrapeInterval: S.String,
6123
5730
  scrapeTimeout: S.String,
6124
5731
  staticConfigs: UpdateScrapeConfigRequestStaticConfigsList,
6125
- tlsConfig: S.optional(
6126
- CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig,
6127
- ),
5732
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
6128
5733
  }).pipe(
6129
5734
  T.Http({
6130
5735
  method: "PUT",
@@ -6160,10 +5765,7 @@ export const UpdateTracesConfigsRequest = /*@__PURE__*/ S.suspend(() =>
6160
5765
  identifier: "UpdateTracesConfigsRequest",
6161
5766
  }) as any as S.Schema<UpdateTracesConfigsRequest>;
6162
5767
 
6163
- export type CreateAlertConfigReceiverError =
6164
- | BadRequest
6165
- | Forbidden
6166
- | StackitOpError;
5768
+ export type CreateAlertConfigReceiverError = BadRequest | Forbidden | StackitOpError;
6167
5769
  /** Create alert config receiver. */
6168
5770
  export const createAlertConfigReceiver: API.OperationMethod<
6169
5771
  CreateAlertConfigReceiverRequest,
@@ -6178,10 +5780,7 @@ export const createAlertConfigReceiver: API.OperationMethod<
6178
5780
  retry: Retry.Retry,
6179
5781
  }));
6180
5782
 
6181
- export type CreateAlertConfigRouteError =
6182
- | BadRequest
6183
- | Forbidden
6184
- | StackitOpError;
5783
+ export type CreateAlertConfigRouteError = BadRequest | Forbidden | StackitOpError;
6185
5784
  /** Create alert config route in routes of route. */
6186
5785
  export const createAlertConfigRoute: API.OperationMethod<
6187
5786
  CreateAlertConfigRouteRequest,
@@ -6301,10 +5900,7 @@ export const createCredentials: API.OperationMethod<
6301
5900
  retry: Retry.Retry,
6302
5901
  }));
6303
5902
 
6304
- export type CreateElasticsearchCheckError =
6305
- | BadRequest
6306
- | Forbidden
6307
- | StackitOpError;
5903
+ export type CreateElasticsearchCheckError = BadRequest | Forbidden | StackitOpError;
6308
5904
  /** Create elasticsearch check. */
6309
5905
  export const createElasticsearchCheck: API.OperationMethod<
6310
5906
  CreateElasticsearchCheckRequest,
@@ -6349,10 +5945,7 @@ export const createInstance: API.OperationMethod<
6349
5945
  retry: Retry.Retry,
6350
5946
  }));
6351
5947
 
6352
- export type CreateLogsAlertgroupsError =
6353
- | BadRequest
6354
- | Forbidden
6355
- | StackitOpError;
5948
+ export type CreateLogsAlertgroupsError = BadRequest | Forbidden | StackitOpError;
6356
5949
  /** Create logs alert group config. */
6357
5950
  export const createLogsAlertgroups: API.OperationMethod<
6358
5951
  CreateLogsAlertgroupsRequest,
@@ -6427,10 +6020,7 @@ export const createPingCheck: API.OperationMethod<
6427
6020
  retry: Retry.Retry,
6428
6021
  }));
6429
6022
 
6430
- export type CreatePostgresqlCheckError =
6431
- | BadRequest
6432
- | Forbidden
6433
- | StackitOpError;
6023
+ export type CreatePostgresqlCheckError = BadRequest | Forbidden | StackitOpError;
6434
6024
  /** Create postgresql check. */
6435
6025
  export const createPostgresqlCheck: API.OperationMethod<
6436
6026
  CreatePostgresqlCheckRequest,
@@ -6490,10 +6080,7 @@ export const createScrapeConfig: API.OperationMethod<
6490
6080
  retry: Retry.Retry,
6491
6081
  }));
6492
6082
 
6493
- export type DeleteAlertConfigReceiverError =
6494
- | Forbidden
6495
- | NotFound
6496
- | StackitOpError;
6083
+ export type DeleteAlertConfigReceiverError = Forbidden | NotFound | StackitOpError;
6497
6084
  /** Delete alert config receiver. */
6498
6085
  export const deleteAlertConfigReceiver: API.OperationMethod<
6499
6086
  DeleteAlertConfigReceiverRequest,
@@ -6523,11 +6110,7 @@ export const deleteAlertConfigRoute: API.OperationMethod<
6523
6110
  retry: Retry.Retry,
6524
6111
  }));
6525
6112
 
6526
- export type DeleteAlertgroupError =
6527
- | BadRequest
6528
- | Forbidden
6529
- | NotFound
6530
- | StackitOpError;
6113
+ export type DeleteAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
6531
6114
  /** Delete alert group config. */
6532
6115
  export const deleteAlertgroup: API.OperationMethod<
6533
6116
  DeleteAlertgroupRequest,
@@ -6587,11 +6170,7 @@ export const deleteAlertRecords: API.OperationMethod<
6587
6170
  retry: Retry.Retry,
6588
6171
  }));
6589
6172
 
6590
- export type DeleteAlertruleError =
6591
- | BadRequest
6592
- | Forbidden
6593
- | NotFound
6594
- | StackitOpError;
6173
+ export type DeleteAlertruleError = BadRequest | Forbidden | NotFound | StackitOpError;
6595
6174
  /** Delete alert rule. */
6596
6175
  export const deleteAlertrule: API.OperationMethod<
6597
6176
  DeleteAlertruleRequest,
@@ -6670,10 +6249,7 @@ export const deleteCredentialsRemoteWriteConfig: API.OperationMethod<
6670
6249
  retry: Retry.Retry,
6671
6250
  }));
6672
6251
 
6673
- export type DeleteElasticsearchCheckError =
6674
- | BadRequest
6675
- | Forbidden
6676
- | StackitOpError;
6252
+ export type DeleteElasticsearchCheckError = BadRequest | Forbidden | StackitOpError;
6677
6253
  /** Delete elasticsearch check. */
6678
6254
  export const deleteElasticsearchCheck: API.OperationMethod<
6679
6255
  DeleteElasticsearchCheckRequest,
@@ -6718,11 +6294,7 @@ export const deleteInstance: API.OperationMethod<
6718
6294
  retry: Retry.Retry,
6719
6295
  }));
6720
6296
 
6721
- export type DeleteLogsAlertgroupError =
6722
- | BadRequest
6723
- | Forbidden
6724
- | NotFound
6725
- | StackitOpError;
6297
+ export type DeleteLogsAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
6726
6298
  /** Delete logs alert group config. */
6727
6299
  export const deleteLogsAlertgroup: API.OperationMethod<
6728
6300
  DeleteLogsAlertgroupRequest,
@@ -6797,10 +6369,7 @@ export const deletePingCheck: API.OperationMethod<
6797
6369
  retry: Retry.Retry,
6798
6370
  }));
6799
6371
 
6800
- export type DeletePostgresqlCheckError =
6801
- | BadRequest
6802
- | Forbidden
6803
- | StackitOpError;
6372
+ export type DeletePostgresqlCheckError = BadRequest | Forbidden | StackitOpError;
6804
6373
  /** Delete postgresql check. */
6805
6374
  export const deletePostgresqlCheck: API.OperationMethod<
6806
6375
  DeletePostgresqlCheckRequest,
@@ -6920,11 +6489,7 @@ export const getAlertConfigs: API.OperationMethod<
6920
6489
  retry: Retry.Retry,
6921
6490
  }));
6922
6491
 
6923
- export type GetAlertgroupError =
6924
- | BadRequest
6925
- | Forbidden
6926
- | NotFound
6927
- | StackitOpError;
6492
+ export type GetAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
6928
6493
  /** Get alert group. */
6929
6494
  export const getAlertgroup: API.OperationMethod<
6930
6495
  GetAlertgroupRequest,
@@ -6939,11 +6504,7 @@ export const getAlertgroup: API.OperationMethod<
6939
6504
  retry: Retry.Retry,
6940
6505
  }));
6941
6506
 
6942
- export type GetAlertRecordError =
6943
- | BadRequest
6944
- | Forbidden
6945
- | NotFound
6946
- | StackitOpError;
6507
+ export type GetAlertRecordError = BadRequest | Forbidden | NotFound | StackitOpError;
6947
6508
  /** Get alert record. */
6948
6509
  export const getAlertRecord: API.OperationMethod<
6949
6510
  GetAlertRecordRequest,
@@ -6988,10 +6549,7 @@ export const getCredentials: API.OperationMethod<
6988
6549
  retry: Retry.Retry,
6989
6550
  }));
6990
6551
 
6991
- export type GetCredentialsRemoteWriteConfigError =
6992
- | Forbidden
6993
- | NotFound
6994
- | StackitOpError;
6552
+ export type GetCredentialsRemoteWriteConfigError = Forbidden | NotFound | StackitOpError;
6995
6553
  /** Get remote write config. */
6996
6554
  export const getCredentialsRemoteWriteConfig: API.OperationMethod<
6997
6555
  GetCredentialsRemoteWriteConfigRequest,
@@ -7036,11 +6594,7 @@ export const getInstance: API.OperationMethod<
7036
6594
  retry: Retry.Retry,
7037
6595
  }));
7038
6596
 
7039
- export type GetLogsAlertgroupError =
7040
- | BadRequest
7041
- | Forbidden
7042
- | NotFound
7043
- | StackitOpError;
6597
+ export type GetLogsAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
7044
6598
  /** Get logs alert group config. */
7045
6599
  export const getLogsAlertgroup: API.OperationMethod<
7046
6600
  GetLogsAlertgroupRequest,
@@ -7280,10 +6834,7 @@ export const listCredentials: API.OperationMethod<
7280
6834
  retry: Retry.Retry,
7281
6835
  }));
7282
6836
 
7283
- export type ListElasticsearchChecksError =
7284
- | BadRequest
7285
- | Forbidden
7286
- | StackitOpError;
6837
+ export type ListElasticsearchChecksError = BadRequest | Forbidden | StackitOpError;
7287
6838
  /** Get all elasticsearch checks configured. */
7288
6839
  export const listElasticsearchChecks: API.OperationMethod<
7289
6840
  ListElasticsearchChecksRequest,
@@ -7493,10 +7044,7 @@ export const listScrapeConfigs: API.OperationMethod<
7493
7044
  retry: Retry.Retry,
7494
7045
  }));
7495
7046
 
7496
- export type PartialUpdateAlertgroupsError =
7497
- | BadRequest
7498
- | Forbidden
7499
- | StackitOpError;
7047
+ export type PartialUpdateAlertgroupsError = BadRequest | Forbidden | StackitOpError;
7500
7048
  /** Patch alert groups. */
7501
7049
  export const partialUpdateAlertgroups: API.OperationMethod<
7502
7050
  PartialUpdateAlertgroupsRequest,
@@ -7511,10 +7059,7 @@ export const partialUpdateAlertgroups: API.OperationMethod<
7511
7059
  retry: Retry.Retry,
7512
7060
  }));
7513
7061
 
7514
- export type PartialUpdateAlertRecordsError =
7515
- | BadRequest
7516
- | Forbidden
7517
- | StackitOpError;
7062
+ export type PartialUpdateAlertRecordsError = BadRequest | Forbidden | StackitOpError;
7518
7063
  /** Patch alert records. */
7519
7064
  export const partialUpdateAlertRecords: API.OperationMethod<
7520
7065
  PartialUpdateAlertRecordsRequest,
@@ -7529,10 +7074,7 @@ export const partialUpdateAlertRecords: API.OperationMethod<
7529
7074
  retry: Retry.Retry,
7530
7075
  }));
7531
7076
 
7532
- export type PartialUpdateAlertrulesError =
7533
- | BadRequest
7534
- | Forbidden
7535
- | StackitOpError;
7077
+ export type PartialUpdateAlertrulesError = BadRequest | Forbidden | StackitOpError;
7536
7078
  /** Patch alert rules. */
7537
7079
  export const partialUpdateAlertrules: API.OperationMethod<
7538
7080
  PartialUpdateAlertrulesRequest,
@@ -7547,10 +7089,7 @@ export const partialUpdateAlertrules: API.OperationMethod<
7547
7089
  retry: Retry.Retry,
7548
7090
  }));
7549
7091
 
7550
- export type PartialUpdateScrapeConfigsError =
7551
- | BadRequest
7552
- | Forbidden
7553
- | StackitOpError;
7092
+ export type PartialUpdateScrapeConfigsError = BadRequest | Forbidden | StackitOpError;
7554
7093
  /** Update scrape configs. */
7555
7094
  export const partialUpdateScrapeConfigs: API.OperationMethod<
7556
7095
  PartialUpdateScrapeConfigsRequest,
@@ -7595,11 +7134,7 @@ export const updateACL: API.OperationMethod<
7595
7134
  retry: Retry.Retry,
7596
7135
  }));
7597
7136
 
7598
- export type UpdateAlertConfigReceiverError =
7599
- | BadRequest
7600
- | Forbidden
7601
- | NotFound
7602
- | StackitOpError;
7137
+ export type UpdateAlertConfigReceiverError = BadRequest | Forbidden | NotFound | StackitOpError;
7603
7138
  /** Update alert config receiver. */
7604
7139
  export const updateAlertConfigReceiver: API.OperationMethod<
7605
7140
  UpdateAlertConfigReceiverRequest,
@@ -7614,11 +7149,7 @@ export const updateAlertConfigReceiver: API.OperationMethod<
7614
7149
  retry: Retry.Retry,
7615
7150
  }));
7616
7151
 
7617
- export type UpdateAlertConfigRouteError =
7618
- | BadRequest
7619
- | Forbidden
7620
- | NotFound
7621
- | StackitOpError;
7152
+ export type UpdateAlertConfigRouteError = BadRequest | Forbidden | NotFound | StackitOpError;
7622
7153
  /** Update alert receiver for route. */
7623
7154
  export const updateAlertConfigRoute: API.OperationMethod<
7624
7155
  UpdateAlertConfigRouteRequest,
@@ -7648,11 +7179,7 @@ export const updateAlertConfigs: API.OperationMethod<
7648
7179
  retry: Retry.Retry,
7649
7180
  }));
7650
7181
 
7651
- export type UpdateAlertgroupError =
7652
- | BadRequest
7653
- | Forbidden
7654
- | NotFound
7655
- | StackitOpError;
7182
+ export type UpdateAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
7656
7183
  /** Update alert group config. */
7657
7184
  export const updateAlertgroup: API.OperationMethod<
7658
7185
  UpdateAlertgroupRequest,
@@ -7682,11 +7209,7 @@ export const updateAlertgroups: API.OperationMethod<
7682
7209
  retry: Retry.Retry,
7683
7210
  }));
7684
7211
 
7685
- export type UpdateAlertRecordError =
7686
- | BadRequest
7687
- | Forbidden
7688
- | NotFound
7689
- | StackitOpError;
7212
+ export type UpdateAlertRecordError = BadRequest | Forbidden | NotFound | StackitOpError;
7690
7213
  /** Update alert record. */
7691
7214
  export const updateAlertRecord: API.OperationMethod<
7692
7215
  UpdateAlertRecordRequest,
@@ -7701,11 +7224,7 @@ export const updateAlertRecord: API.OperationMethod<
7701
7224
  retry: Retry.Retry,
7702
7225
  }));
7703
7226
 
7704
- export type UpdateAlertruleError =
7705
- | BadRequest
7706
- | Forbidden
7707
- | NotFound
7708
- | StackitOpError;
7227
+ export type UpdateAlertruleError = BadRequest | Forbidden | NotFound | StackitOpError;
7709
7228
  /** Update alert rule. */
7710
7229
  export const updateAlertrule: API.OperationMethod<
7711
7230
  UpdateAlertruleRequest,
@@ -7769,11 +7288,7 @@ export const updateInstance: API.OperationMethod<
7769
7288
  retry: Retry.Retry,
7770
7289
  }));
7771
7290
 
7772
- export type UpdateLogsAlertgroupError =
7773
- | BadRequest
7774
- | Forbidden
7775
- | NotFound
7776
- | StackitOpError;
7291
+ export type UpdateLogsAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
7777
7292
  /** Update logs alert group config. */
7778
7293
  export const updateLogsAlertgroup: API.OperationMethod<
7779
7294
  UpdateLogsAlertgroupRequest,
@@ -7803,10 +7318,7 @@ export const updateLogsConfigs: API.OperationMethod<
7803
7318
  retry: Retry.Retry,
7804
7319
  }));
7805
7320
 
7806
- export type UpdateMetricsStorageRetentionError =
7807
- | BadRequest
7808
- | Forbidden
7809
- | StackitOpError;
7321
+ export type UpdateMetricsStorageRetentionError = BadRequest | Forbidden | StackitOpError;
7810
7322
  /** Update metric update retention time. */
7811
7323
  export const updateMetricsStorageRetention: API.OperationMethod<
7812
7324
  UpdateMetricsStorageRetentionRequest,
@@ -7821,11 +7333,7 @@ export const updateMetricsStorageRetention: API.OperationMethod<
7821
7333
  retry: Retry.Retry,
7822
7334
  }));
7823
7335
 
7824
- export type UpdateScrapeConfigError =
7825
- | BadRequest
7826
- | Forbidden
7827
- | NotFound
7828
- | StackitOpError;
7336
+ export type UpdateScrapeConfigError = BadRequest | Forbidden | NotFound | StackitOpError;
7829
7337
  /** Update scrape config. */
7830
7338
  export const updateScrapeConfig: API.OperationMethod<
7831
7339
  UpdateScrapeConfigRequest,