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

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
 
@@ -56,9 +52,7 @@ export const HttpBackendCreateGeofencingMap = /*@__PURE__*/ S.Record(
56
52
  ) as any as S.Schema<HttpBackendCreateGeofencingMap>;
57
53
 
58
54
  /** Headers that will be sent with every request to the configured origin. **WARNING**: Do not store sensitive values in the headers. The configuration is stored as plain text. */
59
- export type HttpBackendCreateOriginRequestHeadersMap = {
60
- [key: string]: string | undefined;
61
- };
55
+ export type HttpBackendCreateOriginRequestHeadersMap = { [key: string]: string | undefined };
62
56
  export const HttpBackendCreateOriginRequestHeadersMap = /*@__PURE__*/ S.Record(
63
57
  S.String,
64
58
  S.String,
@@ -66,7 +60,7 @@ export const HttpBackendCreateOriginRequestHeadersMap = /*@__PURE__*/ S.Record(
66
60
 
67
61
  /** Defines the type of content origin. For this schema, it must be set to `http`. */
68
62
  export type HttpBackendCreateType = "http";
69
- export const HttpBackendCreateType = /*@__PURE__*/ S.String;
63
+ export const HttpBackendCreateType = S.String;
70
64
 
71
65
  export interface HttpBackendCreate {
72
66
  /** An object mapping multiple alternative origins to country codes. Any request from one of those country codes will route to the alternative origin. Do note that country codes may only be used once. You cannot have a country be assigned to multiple alternative origins. */
@@ -85,9 +79,7 @@ export const HttpBackendCreate = /*@__PURE__*/ S.suspend(() =>
85
79
  originUrl: S.String,
86
80
  type: HttpBackendCreateType,
87
81
  }),
88
- ).annotate({
89
- identifier: "HttpBackendCreate",
90
- }) as any as S.Schema<HttpBackendCreate>;
82
+ ).annotate({ identifier: "HttpBackendCreate" }) as any as S.Schema<HttpBackendCreate>;
91
83
 
92
84
  export interface BucketCredentials {
93
85
  accessKeyId: string | Redacted.Redacted<string>;
@@ -98,13 +90,11 @@ export const BucketCredentials = /*@__PURE__*/ S.suspend(() =>
98
90
  accessKeyId: S.String.pipe(T.SensitiveValue({})),
99
91
  secretAccessKey: S.String.pipe(T.SensitiveValue({})),
100
92
  }),
101
- ).annotate({
102
- identifier: "BucketCredentials",
103
- }) as any as S.Schema<BucketCredentials>;
93
+ ).annotate({ identifier: "BucketCredentials" }) as any as S.Schema<BucketCredentials>;
104
94
 
105
95
  /** Defines the type of content origin. For this schema, it must be set to `bucket`. */
106
96
  export type BucketBackendCreateType = "bucket";
107
- export const BucketBackendCreateType = /*@__PURE__*/ S.String;
97
+ export const BucketBackendCreateType = S.String;
108
98
 
109
99
  export interface BucketBackendCreate {
110
100
  /** The fully qualified URL of your cloud storage bucket (for example, `https://s3.eu-central-1.amazonaws.com/my-bucket`). */
@@ -122,23 +112,18 @@ export const BucketBackendCreate = /*@__PURE__*/ S.suspend(() =>
122
112
  region: S.String,
123
113
  type: BucketBackendCreateType,
124
114
  }),
125
- ).annotate({
126
- identifier: "BucketBackendCreate",
127
- }) as any as S.Schema<BucketBackendCreate>;
115
+ ).annotate({ identifier: "BucketBackendCreate" }) as any as S.Schema<BucketBackendCreate>;
128
116
 
129
117
  /** Configuration for the content origin backend. */
130
- export type CreateDistributionRequestBackend =
131
- | HttpBackendCreate
132
- | BucketBackendCreate;
118
+ export type CreateDistributionRequestBackend = HttpBackendCreate | BucketBackendCreate;
133
119
  export const CreateDistributionRequestBackend =
134
120
  /*@__PURE__*/ S.Unknown as any as S.Schema<CreateDistributionRequestBackend>;
135
121
 
136
122
  /** Restricts access to your content based on country. We use the ISO 3166-1 alpha-2 standard for country codes (e.g., DE, ES, GB). This setting blocks users from the specified countries. */
137
123
  export type CreateDistributionRequestBlockedCountriesList = Array<string>;
138
- export const CreateDistributionRequestBlockedCountriesList =
139
- /*@__PURE__*/ S.Array(
140
- S.String,
141
- ) as any as S.Schema<CreateDistributionRequestBlockedCountriesList>;
124
+ export const CreateDistributionRequestBlockedCountriesList = /*@__PURE__*/ S.Array(
125
+ S.String,
126
+ ) as any as S.Schema<CreateDistributionRequestBlockedCountriesList>;
142
127
 
143
128
  /** Restricts access to your content by specifying a list of blocked IPv4 addresses. This feature enhances security and privacy by preventing these addresses from accessing your distribution. */
144
129
  export type CreateDistributionRequestBlockedIpsList = Array<string>;
@@ -154,10 +139,9 @@ export const CacheConfigCreateCacheKeyHeadersList = /*@__PURE__*/ S.Array(
154
139
 
155
140
  /** Allowlist of query-string parameter names that participate in the cache key when `queryStringVaryEnabled` is true. Ignored while `queryStringVaryEnabled` is false, but still stored so it can be re-activated without losing the list. */
156
141
  export type CacheConfigCreateQueryStringVaryParametersList = Array<string>;
157
- export const CacheConfigCreateQueryStringVaryParametersList =
158
- /*@__PURE__*/ S.Array(
159
- S.String,
160
- ) as any as S.Schema<CacheConfigCreateQueryStringVaryParametersList>;
142
+ export const CacheConfigCreateQueryStringVaryParametersList = /*@__PURE__*/ S.Array(
143
+ S.String,
144
+ ) as any as S.Schema<CacheConfigCreateQueryStringVaryParametersList>;
161
145
 
162
146
  /** Groups the cache options that influence how the CDN builds its cache key on distribution creation. **Cache cardinality warning:** enabling query-string vary produces one cache entry per unique query-string combination (**unbounded** when `queryStringVaryParameters` is empty). Each entry in `cacheKeyHeaders` multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. `queryStringVaryParameters` is stored independently of `queryStringVaryEnabled` so that this feature can be toggled on and off without losing the configured allowlist. Only `queryStringVaryEnabled` gates whether the parameter allowlist actually varies the cache. **Optimizer interaction:** when the Optimizer is enabled, the CDN automatically enables query-string vary for image responses regardless of this setting. */
163
147
  export interface CacheConfigCreate {
@@ -172,18 +156,12 @@ export const CacheConfigCreate = /*@__PURE__*/ S.suspend(() =>
172
156
  S.Struct({
173
157
  cacheKeyHeaders: S.optional(CacheConfigCreateCacheKeyHeadersList),
174
158
  queryStringVaryEnabled: S.optional(S.Boolean),
175
- queryStringVaryParameters: S.optional(
176
- CacheConfigCreateQueryStringVaryParametersList,
177
- ),
159
+ queryStringVaryParameters: S.optional(CacheConfigCreateQueryStringVaryParametersList),
178
160
  }),
179
- ).annotate({
180
- identifier: "CacheConfigCreate",
181
- }) as any as S.Schema<CacheConfigCreate>;
161
+ ).annotate({ identifier: "CacheConfigCreate" }) as any as S.Schema<CacheConfigCreate>;
182
162
 
183
163
  /** Labels are key-value string pairs that can be attached to a distribution. */
184
- export type CreateDistributionRequestLabelsMap = {
185
- [key: string]: string | undefined;
186
- };
164
+ export type CreateDistributionRequestLabelsMap = { [key: string]: string | undefined };
187
165
  export const CreateDistributionRequestLabelsMap = /*@__PURE__*/ S.Record(
188
166
  S.String,
189
167
  S.String,
@@ -201,13 +179,11 @@ export const LokiLogSinkCredentials = /*@__PURE__*/ S.suspend(() =>
201
179
  password: S.String.pipe(T.SensitiveValue({})),
202
180
  username: S.String,
203
181
  }),
204
- ).annotate({
205
- identifier: "LokiLogSinkCredentials",
206
- }) as any as S.Schema<LokiLogSinkCredentials>;
182
+ ).annotate({ identifier: "LokiLogSinkCredentials" }) as any as S.Schema<LokiLogSinkCredentials>;
207
183
 
208
184
  /** Defines the type of the log sink. For Grafana Loki, this must be set to `loki`. */
209
185
  export type LokiLogSinkCreateType = "loki";
210
- export const LokiLogSinkCreateType = /*@__PURE__*/ S.String;
186
+ export const LokiLogSinkCreateType = S.String;
211
187
 
212
188
  export interface LokiLogSinkCreate {
213
189
  credentials: LokiLogSinkCredentials;
@@ -222,13 +198,11 @@ export const LokiLogSinkCreate = /*@__PURE__*/ S.suspend(() =>
222
198
  pushUrl: S.String,
223
199
  type: LokiLogSinkCreateType,
224
200
  }),
225
- ).annotate({
226
- identifier: "LokiLogSinkCreate",
227
- }) as any as S.Schema<LokiLogSinkCreate>;
201
+ ).annotate({ identifier: "LokiLogSinkCreate" }) as any as S.Schema<LokiLogSinkCreate>;
228
202
 
229
203
  /** Defines bearer token authentication. */
230
204
  export type OtlpLogSinkBearerCredentialsType = "bearer";
231
- export const OtlpLogSinkBearerCredentialsType = /*@__PURE__*/ S.String;
205
+ export const OtlpLogSinkBearerCredentialsType = S.String;
232
206
 
233
207
  /** Bearer token authentication credentials for OTLP. */
234
208
  export interface OtlpLogSinkBearerCredentials {
@@ -248,7 +222,7 @@ export const OtlpLogSinkBearerCredentials = /*@__PURE__*/ S.suspend(() =>
248
222
 
249
223
  /** Defines basic authentication. */
250
224
  export type OtlpLogSinkBasicCredentialsType = "basic";
251
- export const OtlpLogSinkBasicCredentialsType = /*@__PURE__*/ S.String;
225
+ export const OtlpLogSinkBasicCredentialsType = S.String;
252
226
 
253
227
  /** Basic authentication credentials for OTLP. */
254
228
  export interface OtlpLogSinkBasicCredentials {
@@ -278,7 +252,7 @@ export const OtlpLogSinkCreateCredentials =
278
252
 
279
253
  /** Defines the type of the log sink. */
280
254
  export type OtlpLogSinkCreateType = "otlp";
281
- export const OtlpLogSinkCreateType = /*@__PURE__*/ S.String;
255
+ export const OtlpLogSinkCreateType = S.String;
282
256
 
283
257
  export interface OtlpLogSinkCreate {
284
258
  /** The authentication credentials required for the CDN to push logs to your OTLP endpoint. */
@@ -294,13 +268,9 @@ export const OtlpLogSinkCreate = /*@__PURE__*/ S.suspend(() =>
294
268
  pushUrl: S.String,
295
269
  type: OtlpLogSinkCreateType,
296
270
  }),
297
- ).annotate({
298
- identifier: "OtlpLogSinkCreate",
299
- }) as any as S.Schema<OtlpLogSinkCreate>;
271
+ ).annotate({ identifier: "OtlpLogSinkCreate" }) as any as S.Schema<OtlpLogSinkCreate>;
300
272
 
301
- export type CreateDistributionRequestLogSink =
302
- | LokiLogSinkCreate
303
- | OtlpLogSinkCreate;
273
+ export type CreateDistributionRequestLogSink = LokiLogSinkCreate | OtlpLogSinkCreate;
304
274
  export const CreateDistributionRequestLogSink =
305
275
  /*@__PURE__*/ S.Unknown as any as S.Schema<CreateDistributionRequestLogSink>;
306
276
 
@@ -317,7 +287,7 @@ export const Optimizer = /*@__PURE__*/ S.suspend(() =>
317
287
 
318
288
  /** Defines how multiple matchers within this rule are combined (ALL, ANY, NONE). Defaults to ANY. */
319
289
  export type MatchCondition = "ANY" | "ALL" | "NONE";
320
- export const MatchCondition = /*@__PURE__*/ S.String;
290
+ export const MatchCondition = S.String;
321
291
 
322
292
  /** A list of glob patterns to match against the request path. At least one value is required. Examples: "/shop/*" or "*\/img/*" */
323
293
  export type MatcherValuesList = Array<string>;
@@ -346,7 +316,7 @@ export const RedirectRuleMatchersList = /*@__PURE__*/ S.Array(
346
316
 
347
317
  /** The HTTP status code for the redirect. Must be one of 301, 302, 303, 307, or 308. */
348
318
  export type RedirectRuleStatusCode = 301 | 302 | 303 | 307 | 308;
349
- export const RedirectRuleStatusCode = /*@__PURE__*/ S.Number;
319
+ export const RedirectRuleStatusCode = S.Number;
350
320
 
351
321
  /** A single redirect rule defining a source pattern and a target URL. */
352
322
  export interface RedirectRule {
@@ -392,12 +362,10 @@ export const RedirectConfig = /*@__PURE__*/ S.suspend(() =>
392
362
 
393
363
  /** The following regions exist: - `EU` - Europe - `US` - United States / North America - `AF` - Africa - `SA` - South America - `ASIA` - Asia and Oceania */
394
364
  export type Region = "EU" | "US" | "AF" | "SA" | "ASIA";
395
- export const Region = /*@__PURE__*/ S.String;
365
+ export const Region = S.String;
396
366
 
397
367
  /** Define in which regions you would like your content to be cached. */
398
- export type CreateDistributionRequestRegionsList = Array<
399
- Region | (string & {})
400
- >;
368
+ export type CreateDistributionRequestRegionsList = Array<Region | (string & {})>;
401
369
  export const CreateDistributionRequestRegionsList = /*@__PURE__*/ S.Array(
402
370
  Region,
403
371
  ) as any as S.Schema<CreateDistributionRequestRegionsList>;
@@ -489,15 +457,15 @@ export const WafConfigLogOnlyRuleIdsList = /*@__PURE__*/ S.Array(
489
457
 
490
458
  /** - `ENABLED`: The WAF actively inspects and blocks malicious requests. - `DISABLED`: The WAF is completely off. No inspection occurs. - `LOG_ONLY`: The WAF inspects requests and logs matches but never blocks. */
491
459
  export type WafMode = "DISABLED" | "ENABLED" | "LOG_ONLY";
492
- export const WafMode = /*@__PURE__*/ S.String;
460
+ export const WafMode = S.String;
493
461
 
494
462
  /** The paranoia level defines how aggressively the WAF should action on requests. It ranges from `L1` (least strict, lowest chance of false positives) to `L4` (most strict, highest chance of false positives). A higher paranoia level is more effective at catching attacks but can also block legitimate traffic. */
495
463
  export type WafParanoiaLevel = "L1" | "L2" | "L3" | "L4";
496
- export const WafParanoiaLevel = /*@__PURE__*/ S.String;
464
+ export const WafParanoiaLevel = S.String;
497
465
 
498
466
  /** Enable or disable the Premium WAF. Do note that enabling the Premium WAF will cause additional fees. Some features are gated behind the Premium WAF, like additional, **premium-only rules** and the ability to create **custom rules** (not yet implemented) */
499
467
  export type WafType = "FREE" | "PREMIUM";
500
- export const WafType = /*@__PURE__*/ S.String;
468
+ export const WafType = S.String;
501
469
 
502
470
  /** Configuration of the WAF of a distribution A WAF Config always contains a WAF Mode and Type. If a WAF was never enabled, most of the properties are not present. To **enable** the WAF for your Distribution, you must set the `mode` to `ENABLED` or `LOG_ONLY`. This causes the other properties to be populated. ## Rules There are 9 properties used to control which Rules are enabled, disabled or set to Log-Only. These properties can be grouped in 3 groups of 3. Each of these groups varies in specificity: Rules are more specific than Rule Groups, which in turn are more specific than Collections. More specific definitions override more generic definitions. ### Collections - `enabledRuleCollectionIds` - `disabledRuleCollectionIds` - `logOnlyRuleCollectionIds` These are the least specific selectors. As of 2025, only two collections exist: - `@builtin/crs/response`, containing all Rules regarding Responses - `@builtin/crs/request`, containing all Rules regarding Requests More collections may be added in the future ### Rule Groups - `enabledRuleGroupIds` - `disabledRuleGroupIds` - `logOnlyRuleGroupIds` These are more specific than Collections and will override their selector. You can find all available Rule Groups by calling the `ListWafCollections` Operation. ### Rules - `enabledRuleIds` - `disabledRuleIds` - `logOnlyRuleGds` Being the most specific selectors, these will override both Collection and Rule Group selectors. You can find all available Rule Groups by calling the `ListWafCollections` Operation. ### TIP: Review resolved config If you call `GetDistribution` with `?withWafStatus=true`, you get back a resolved WAF Rules Config which contains a `waf` property which you can inspect to see why a Rule is either enabled, disabled or logOnly. */
503
471
  export interface WafConfig {
@@ -532,12 +500,8 @@ export const WafConfig = /*@__PURE__*/ S.suspend(() =>
532
500
  S.Struct({
533
501
  allowedHttpMethods: S.optional(WafConfigAllowedHttpMethodsList),
534
502
  allowedHttpVersions: S.optional(WafConfigAllowedHttpVersionsList),
535
- allowedRequestContentTypes: S.optional(
536
- WafConfigAllowedRequestContentTypesList,
537
- ),
538
- disabledRuleCollectionIds: S.optional(
539
- WafConfigDisabledRuleCollectionIdsList,
540
- ),
503
+ allowedRequestContentTypes: S.optional(WafConfigAllowedRequestContentTypesList),
504
+ disabledRuleCollectionIds: S.optional(WafConfigDisabledRuleCollectionIdsList),
541
505
  disabledRuleGroupIds: S.optional(WafConfigDisabledRuleGroupIdsList),
542
506
  disabledRuleIds: S.optional(WafConfigDisabledRuleIdsList),
543
507
  enabledRuleCollectionIds: S.optional(WafConfigEnabledRuleCollectionIdsList),
@@ -628,9 +592,7 @@ export const HttpBackendGeofencingMap = /*@__PURE__*/ S.Record(
628
592
  ) as any as S.Schema<HttpBackendGeofencingMap>;
629
593
 
630
594
  /** Headers that will be sent with every request to the configured origin. **WARNING**: Do not store sensitive values in the headers. The configuration is stored as plain text. */
631
- export type HttpBackendOriginRequestHeadersMap = {
632
- [key: string]: string | undefined;
633
- };
595
+ export type HttpBackendOriginRequestHeadersMap = { [key: string]: string | undefined };
634
596
  export const HttpBackendOriginRequestHeadersMap = /*@__PURE__*/ S.Record(
635
597
  S.String,
636
598
  S.String,
@@ -638,7 +600,7 @@ export const HttpBackendOriginRequestHeadersMap = /*@__PURE__*/ S.Record(
638
600
 
639
601
  /** Defines the type of content origin. For this schema, it must be set to `http`. */
640
602
  export type HttpBackendType = "http";
641
- export const HttpBackendType = /*@__PURE__*/ S.String;
603
+ export const HttpBackendType = S.String;
642
604
 
643
605
  export interface HttpBackend {
644
606
  /** An object mapping multiple alternative origins to country codes. Any request from one of those country codes will route to the alternative origin. Do note that country codes may only be used once. You cannot have a country be assigned to multiple alternative origins. */
@@ -661,7 +623,7 @@ export const HttpBackend = /*@__PURE__*/ S.suspend(() =>
661
623
 
662
624
  /** Defines the type of content origin. For this schema, it must be set to `bucket`. */
663
625
  export type BucketBackendType = "bucket";
664
- export const BucketBackendType = /*@__PURE__*/ S.String;
626
+ export const BucketBackendType = S.String;
665
627
 
666
628
  export interface BucketBackend {
667
629
  /** The fully qualified URL of your cloud storage bucket (for example, `https://s3.eu-central-1.amazonaws.com/my-bucket`). */
@@ -680,8 +642,7 @@ export const BucketBackend = /*@__PURE__*/ S.suspend(() =>
680
642
  ).annotate({ identifier: "BucketBackend" }) as any as S.Schema<BucketBackend>;
681
643
 
682
644
  export type ConfigBackend = HttpBackend | BucketBackend;
683
- export const ConfigBackend =
684
- /*@__PURE__*/ S.Unknown as any as S.Schema<ConfigBackend>;
645
+ export const ConfigBackend = /*@__PURE__*/ S.Unknown as any as S.Schema<ConfigBackend>;
685
646
 
686
647
  /** Restricts access to your content based on country. We use the ISO 3166-1 alpha-2 standard for country codes (e.g. DE, ES, GB). This setting blocks users from the specified countries. */
687
648
  export type ConfigBlockedCountriesList = Array<string>;
@@ -733,7 +694,7 @@ export const ConfigLabelsMap = /*@__PURE__*/ S.Record(
733
694
 
734
695
  /** Defines the type of the log sink. */
735
696
  export type LokiLogSinkType = "loki";
736
- export const LokiLogSinkType = /*@__PURE__*/ S.String;
697
+ export const LokiLogSinkType = S.String;
737
698
 
738
699
  export interface LokiLogSink {
739
700
  /** The fully qualified URL where the CDN should push logs to your Loki instance (for example, `https://loki.example.com/loki/api/v1/push`). */
@@ -750,7 +711,7 @@ export const LokiLogSink = /*@__PURE__*/ S.suspend(() =>
750
711
 
751
712
  /** Defines the type of the log sink. */
752
713
  export type OtlpLogSinkType = "otlp";
753
- export const OtlpLogSinkType = /*@__PURE__*/ S.String;
714
+ export const OtlpLogSinkType = S.String;
754
715
 
755
716
  export interface OtlpLogSink {
756
717
  /** The fully qualified URL where the CDN should push logs to your OTLP endpoint (for example, `https://otlp.example.com/otlp/v1/logs`). */
@@ -766,8 +727,7 @@ export const OtlpLogSink = /*@__PURE__*/ S.suspend(() =>
766
727
  ).annotate({ identifier: "OtlpLogSink" }) as any as S.Schema<OtlpLogSink>;
767
728
 
768
729
  export type ConfigLogSink = LokiLogSink | OtlpLogSink;
769
- export const ConfigLogSink =
770
- /*@__PURE__*/ S.Unknown as any as S.Schema<ConfigLogSink>;
730
+ export const ConfigLogSink = /*@__PURE__*/ S.Unknown as any as S.Schema<ConfigLogSink>;
771
731
 
772
732
  export type ConfigRegionsList = Array<Region>;
773
733
  export const ConfigRegionsList = /*@__PURE__*/ S.Array(
@@ -819,7 +779,7 @@ export const Config = /*@__PURE__*/ S.suspend(() =>
819
779
  ).annotate({ identifier: "Config" }) as any as S.Schema<Config>;
820
780
 
821
781
  export type DomainCertificateType = "managed" | "custom";
822
- export const DomainCertificateType = /*@__PURE__*/ S.String;
782
+ export const DomainCertificateType = S.String;
823
783
 
824
784
  /** An enum value that describes a Status Error. */
825
785
  export type StatusErrorKey =
@@ -829,7 +789,7 @@ export type StatusErrorKey =
829
789
  | "PUBLIC_BETA_QUOTA_REACHED"
830
790
  | "LOG_SINK_INSTANCE_UNAVAILABLE"
831
791
  | "EXTERNAL_QUOTA_REACHED";
832
- export const StatusErrorKey = /*@__PURE__*/ S.String;
792
+ export const StatusErrorKey = S.String;
833
793
 
834
794
  export interface StatusError {
835
795
  /** A german translation string corresponding to the error key. Note that we do not guarantee german translations are present. */
@@ -854,17 +814,12 @@ export const DomainErrorsList = /*@__PURE__*/ S.Array(
854
814
  ) as any as S.Schema<DomainErrorsList>;
855
815
 
856
816
  /** The status of the domain: CREATING indicates that the custom domain is being set up. UPDATING means that requested changes are being applied to the custom domain. ACTIVE means the custom domain is currently configured and active. DELETING means that the domain is in the process of being removed from the distribution. In case the domain has the ERROR state, more information will be available in the errors list. */
857
- export type DomainStatus =
858
- | "CREATING"
859
- | "ACTIVE"
860
- | "UPDATING"
861
- | "DELETING"
862
- | "ERROR";
863
- export const DomainStatus = /*@__PURE__*/ S.String;
817
+ export type DomainStatus = "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "ERROR";
818
+ export const DomainStatus = S.String;
864
819
 
865
820
  /** Specifies the type of this Domain. Custom Domain can be further queries using the GetCustomDomain Endpoint */
866
821
  export type DomainType = "managed" | "custom";
867
- export const DomainType = /*@__PURE__*/ S.String;
822
+ export const DomainType = S.String;
868
823
 
869
824
  /** Definition of a custom or managed domain without any certificates or keys */
870
825
  export interface Domain {
@@ -899,24 +854,18 @@ export const DistributionErrorsList = /*@__PURE__*/ S.Array(
899
854
  ) as any as S.Schema<DistributionErrorsList>;
900
855
 
901
856
  /** - `CREATING`: The distribution was just created. All the relevant resources are created in the background. Once fully reconciled, this switches to `ACTIVE`. If there are any issues, the status changes to `ERROR`. You can look at the `errors` array to get more infos. - `ACTIVE`: The usual state. The desired configuration is synced, there are no errors - `UPDATING`: The state when there is a discrepancy between the desired and actual configuration state. This occurs right after an update. Will switch to `ACTIVE` or `ERROR`, depending on if synchronizing succeeds or not. - `DELETING`: The state right after a delete request was received. The distribution will stay in this status until all resources have been successfully removed, or until we encounter an `ERROR` state. **NOTE:** You can keep fetching the distribution while it is deleting. After successful deletion, trying to get a distribution will return a 404 Not Found response - `ERROR`: The error state. Look at the `errors` array for more info. */
902
- export type DistributionStatus =
903
- | "CREATING"
904
- | "ACTIVE"
905
- | "UPDATING"
906
- | "DELETING"
907
- | "ERROR";
908
- export const DistributionStatus = /*@__PURE__*/ S.String;
857
+ export type DistributionStatus = "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "ERROR";
858
+ export const DistributionStatus = S.String;
909
859
 
910
860
  /** This object only ever shows up in the disabled rules section. If rules are never defined (e.g. no collection, rule group, or the rule itself is ever mentioned), they are implicitly disabled */
911
861
  export interface WafStatusRuleBlockReasonNeverDefined {
912
862
  /** This is always `neverDefined` */
913
863
  type: string;
914
864
  }
915
- export const WafStatusRuleBlockReasonNeverDefined = /*@__PURE__*/ S.suspend(
916
- () =>
917
- S.Struct({
918
- type: S.String,
919
- }),
865
+ export const WafStatusRuleBlockReasonNeverDefined = /*@__PURE__*/ S.suspend(() =>
866
+ S.Struct({
867
+ type: S.String,
868
+ }),
920
869
  ).annotate({
921
870
  identifier: "WafStatusRuleBlockReasonNeverDefined",
922
871
  }) as any as S.Schema<WafStatusRuleBlockReasonNeverDefined>;
@@ -925,22 +874,19 @@ export interface WafStatusRuleBlockReasonDirectlyDefined {
925
874
  /** This is always `directlyDefined` */
926
875
  type: string;
927
876
  }
928
- export const WafStatusRuleBlockReasonDirectlyDefined = /*@__PURE__*/ S.suspend(
929
- () =>
930
- S.Struct({
931
- type: S.String,
932
- }),
877
+ export const WafStatusRuleBlockReasonDirectlyDefined = /*@__PURE__*/ S.suspend(() =>
878
+ S.Struct({
879
+ type: S.String,
880
+ }),
933
881
  ).annotate({
934
882
  identifier: "WafStatusRuleBlockReasonDirectlyDefined",
935
883
  }) as any as S.Schema<WafStatusRuleBlockReasonDirectlyDefined>;
936
884
 
937
885
  /** A list containing all WAF Types which can use this Rule. You must patch you WAF to one of these WAF Types to make use of this rule. Rules show up with this state if they would have been enabled or logOnly otherwise. */
938
- export type WafStatusRuleBlockReasonInvalidWafTypeAllowedWafTypesList =
939
- Array<WafType>;
940
- export const WafStatusRuleBlockReasonInvalidWafTypeAllowedWafTypesList =
941
- /*@__PURE__*/ S.Array(
942
- WafType,
943
- ) as any as S.Schema<WafStatusRuleBlockReasonInvalidWafTypeAllowedWafTypesList>;
886
+ export type WafStatusRuleBlockReasonInvalidWafTypeAllowedWafTypesList = Array<WafType>;
887
+ export const WafStatusRuleBlockReasonInvalidWafTypeAllowedWafTypesList = /*@__PURE__*/ S.Array(
888
+ WafType,
889
+ ) as any as S.Schema<WafStatusRuleBlockReasonInvalidWafTypeAllowedWafTypesList>;
944
890
 
945
891
  export interface WafStatusRuleBlockReasonInvalidWafType {
946
892
  /** A list containing all WAF Types which can use this Rule. You must patch you WAF to one of these WAF Types to make use of this rule. Rules show up with this state if they would have been enabled or logOnly otherwise. */
@@ -948,13 +894,11 @@ export interface WafStatusRuleBlockReasonInvalidWafType {
948
894
  /** This is always `invalidWafType` */
949
895
  type: string;
950
896
  }
951
- export const WafStatusRuleBlockReasonInvalidWafType = /*@__PURE__*/ S.suspend(
952
- () =>
953
- S.Struct({
954
- allowedWafTypes:
955
- WafStatusRuleBlockReasonInvalidWafTypeAllowedWafTypesList,
956
- type: S.String,
957
- }),
897
+ export const WafStatusRuleBlockReasonInvalidWafType = /*@__PURE__*/ S.suspend(() =>
898
+ S.Struct({
899
+ allowedWafTypes: WafStatusRuleBlockReasonInvalidWafTypeAllowedWafTypesList,
900
+ type: S.String,
901
+ }),
958
902
  ).annotate({
959
903
  identifier: "WafStatusRuleBlockReasonInvalidWafType",
960
904
  }) as any as S.Schema<WafStatusRuleBlockReasonInvalidWafType>;
@@ -965,15 +909,14 @@ export interface WafStatusRuleBlockReasonInheritedFromCollection {
965
909
  /** This is always `inheritedFromCollection` */
966
910
  type: string;
967
911
  }
968
- export const WafStatusRuleBlockReasonInheritedFromCollection =
969
- /*@__PURE__*/ S.suspend(() =>
970
- S.Struct({
971
- collectionId: S.String,
972
- type: S.String,
973
- }),
974
- ).annotate({
975
- identifier: "WafStatusRuleBlockReasonInheritedFromCollection",
976
- }) as any as S.Schema<WafStatusRuleBlockReasonInheritedFromCollection>;
912
+ export const WafStatusRuleBlockReasonInheritedFromCollection = /*@__PURE__*/ S.suspend(() =>
913
+ S.Struct({
914
+ collectionId: S.String,
915
+ type: S.String,
916
+ }),
917
+ ).annotate({
918
+ identifier: "WafStatusRuleBlockReasonInheritedFromCollection",
919
+ }) as any as S.Schema<WafStatusRuleBlockReasonInheritedFromCollection>;
977
920
 
978
921
  export interface WafStatusRuleBlockReasonInheritedFromGroup {
979
922
  /** The Group that caused this rule to be in its current state. */
@@ -981,15 +924,14 @@ export interface WafStatusRuleBlockReasonInheritedFromGroup {
981
924
  /** This is always `inheritedFromGroup` */
982
925
  type: string;
983
926
  }
984
- export const WafStatusRuleBlockReasonInheritedFromGroup =
985
- /*@__PURE__*/ S.suspend(() =>
986
- S.Struct({
987
- groupId: S.String,
988
- type: S.String,
989
- }),
990
- ).annotate({
991
- identifier: "WafStatusRuleBlockReasonInheritedFromGroup",
992
- }) as any as S.Schema<WafStatusRuleBlockReasonInheritedFromGroup>;
927
+ export const WafStatusRuleBlockReasonInheritedFromGroup = /*@__PURE__*/ S.suspend(() =>
928
+ S.Struct({
929
+ groupId: S.String,
930
+ type: S.String,
931
+ }),
932
+ ).annotate({
933
+ identifier: "WafStatusRuleBlockReasonInheritedFromGroup",
934
+ }) as any as S.Schema<WafStatusRuleBlockReasonInheritedFromGroup>;
993
935
 
994
936
  /** Defines the Reason why a Rule is in the specified state (set to be enabled, disabled or logOnly). */
995
937
  export type WafStatusRuleBlockReason =
@@ -1011,9 +953,7 @@ export const WafStatusRuleBlock = /*@__PURE__*/ S.suspend(() =>
1011
953
  id: S.String,
1012
954
  reason: WafStatusRuleBlockReason,
1013
955
  }),
1014
- ).annotate({
1015
- identifier: "WafStatusRuleBlock",
1016
- }) as any as S.Schema<WafStatusRuleBlock>;
956
+ ).annotate({ identifier: "WafStatusRuleBlock" }) as any as S.Schema<WafStatusRuleBlock>;
1017
957
 
1018
958
  export type DistributionWafDisabledRulesList = Array<WafStatusRuleBlock>;
1019
959
  export const DistributionWafDisabledRulesList = /*@__PURE__*/ S.Array(
@@ -1042,9 +982,7 @@ export const DistributionWaf = /*@__PURE__*/ S.suspend(() =>
1042
982
  enabledRules: DistributionWafEnabledRulesList,
1043
983
  logOnlyRules: DistributionWafLogOnlyRulesList,
1044
984
  }),
1045
- ).annotate({
1046
- identifier: "DistributionWaf",
1047
- }) as any as S.Schema<DistributionWaf>;
985
+ ).annotate({ identifier: "DistributionWaf" }) as any as S.Schema<DistributionWaf>;
1048
986
 
1049
987
  export interface Distribution {
1050
988
  config: Config;
@@ -1201,9 +1139,7 @@ export const FindCachePathsRequest = /*@__PURE__*/ S.suspend(() =>
1201
1139
  baseUrl: "https://cdn.api.stackit.cloud",
1202
1140
  }),
1203
1141
  ),
1204
- ).annotate({
1205
- identifier: "FindCachePathsRequest",
1206
- }) as any as S.Schema<FindCachePathsRequest>;
1142
+ ).annotate({ identifier: "FindCachePathsRequest" }) as any as S.Schema<FindCachePathsRequest>;
1207
1143
 
1208
1144
  export interface FindCachePathsResponseEntry {
1209
1145
  /** Defines one path that was previously used as part of a granular purge */
@@ -1217,8 +1153,7 @@ export const FindCachePathsResponseEntry = /*@__PURE__*/ S.suspend(() =>
1217
1153
  identifier: "FindCachePathsResponseEntry",
1218
1154
  }) as any as S.Schema<FindCachePathsResponseEntry>;
1219
1155
 
1220
- export type FindCachePathsResponseResponseList =
1221
- Array<FindCachePathsResponseEntry>;
1156
+ export type FindCachePathsResponseResponseList = Array<FindCachePathsResponseEntry>;
1222
1157
  export const FindCachePathsResponseResponseList = /*@__PURE__*/ S.Array(
1223
1158
  FindCachePathsResponseEntry,
1224
1159
  ) as any as S.Schema<FindCachePathsResponseResponseList>;
@@ -1230,9 +1165,7 @@ export const FindCachePathsResponse = /*@__PURE__*/ S.suspend(() =>
1230
1165
  S.Struct({
1231
1166
  response: FindCachePathsResponseResponseList,
1232
1167
  }),
1233
- ).annotate({
1234
- identifier: "FindCachePathsResponse",
1235
- }) as any as S.Schema<FindCachePathsResponse>;
1168
+ ).annotate({ identifier: "FindCachePathsResponse" }) as any as S.Schema<FindCachePathsResponse>;
1236
1169
 
1237
1170
  export interface GetCacheInfoRequest {
1238
1171
  /** Your STACKIT Project Id */
@@ -1253,12 +1186,10 @@ export const GetCacheInfoRequest = /*@__PURE__*/ S.suspend(() =>
1253
1186
  baseUrl: "https://cdn.api.stackit.cloud",
1254
1187
  }),
1255
1188
  ),
1256
- ).annotate({
1257
- identifier: "GetCacheInfoRequest",
1258
- }) as any as S.Schema<GetCacheInfoRequest>;
1189
+ ).annotate({ identifier: "GetCacheInfoRequest" }) as any as S.Schema<GetCacheInfoRequest>;
1259
1190
 
1260
1191
  export type GetCacheInfoResponseHistoryEntryType = "full" | "granular";
1261
- export const GetCacheInfoResponseHistoryEntryType = /*@__PURE__*/ S.String;
1192
+ export const GetCacheInfoResponseHistoryEntryType = S.String;
1262
1193
 
1263
1194
  export interface GetCacheInfoResponseHistoryEntry {
1264
1195
  occurredAt: string;
@@ -1273,8 +1204,7 @@ export const GetCacheInfoResponseHistoryEntry = /*@__PURE__*/ S.suspend(() =>
1273
1204
  identifier: "GetCacheInfoResponseHistoryEntry",
1274
1205
  }) as any as S.Schema<GetCacheInfoResponseHistoryEntry>;
1275
1206
 
1276
- export type GetCacheInfoResponseHistoryList =
1277
- Array<GetCacheInfoResponseHistoryEntry>;
1207
+ export type GetCacheInfoResponseHistoryList = Array<GetCacheInfoResponseHistoryEntry>;
1278
1208
  export const GetCacheInfoResponseHistoryList = /*@__PURE__*/ S.Array(
1279
1209
  GetCacheInfoResponseHistoryEntry,
1280
1210
  ) as any as S.Schema<GetCacheInfoResponseHistoryList>;
@@ -1289,9 +1219,7 @@ export const GetCacheInfoResponse = /*@__PURE__*/ S.suspend(() =>
1289
1219
  history: GetCacheInfoResponseHistoryList,
1290
1220
  lastPurgeTime: S.NullOr(S.String),
1291
1221
  }),
1292
- ).annotate({
1293
- identifier: "GetCacheInfoResponse",
1294
- }) as any as S.Schema<GetCacheInfoResponse>;
1222
+ ).annotate({ identifier: "GetCacheInfoResponse" }) as any as S.Schema<GetCacheInfoResponse>;
1295
1223
 
1296
1224
  export interface GetCustomDomainRequest {
1297
1225
  /** Your STACKIT Project Id */
@@ -1312,9 +1240,7 @@ export const GetCustomDomainRequest = /*@__PURE__*/ S.suspend(() =>
1312
1240
  baseUrl: "https://cdn.api.stackit.cloud",
1313
1241
  }),
1314
1242
  ),
1315
- ).annotate({
1316
- identifier: "GetCustomDomainRequest",
1317
- }) as any as S.Schema<GetCustomDomainRequest>;
1243
+ ).annotate({ identifier: "GetCustomDomainRequest" }) as any as S.Schema<GetCustomDomainRequest>;
1318
1244
 
1319
1245
  /** This is returned when no custom certificate is used. We provision and manage a Let's Encrypt Certificate for you */
1320
1246
  export interface GetCustomDomainManagedCertificate {
@@ -1361,9 +1287,7 @@ export const GetCustomDomainResponse = /*@__PURE__*/ S.suspend(() =>
1361
1287
  certificate: GetCustomDomainResponseCertificate,
1362
1288
  customDomain: CustomDomain,
1363
1289
  }),
1364
- ).annotate({
1365
- identifier: "GetCustomDomainResponse",
1366
- }) as any as S.Schema<GetCustomDomainResponse>;
1290
+ ).annotate({ identifier: "GetCustomDomainResponse" }) as any as S.Schema<GetCustomDomainResponse>;
1367
1291
 
1368
1292
  export interface GetDistributionRequest {
1369
1293
  /** Your STACKIT Project Id */
@@ -1385,9 +1309,7 @@ export const GetDistributionRequest = /*@__PURE__*/ S.suspend(() =>
1385
1309
  baseUrl: "https://cdn.api.stackit.cloud",
1386
1310
  }),
1387
1311
  ),
1388
- ).annotate({
1389
- identifier: "GetDistributionRequest",
1390
- }) as any as S.Schema<GetDistributionRequest>;
1312
+ ).annotate({ identifier: "GetDistributionRequest" }) as any as S.Schema<GetDistributionRequest>;
1391
1313
 
1392
1314
  export interface GetDistributionResponse {
1393
1315
  distribution: Distribution;
@@ -1396,9 +1318,7 @@ export const GetDistributionResponse = /*@__PURE__*/ S.suspend(() =>
1396
1318
  S.Struct({
1397
1319
  distribution: Distribution,
1398
1320
  }),
1399
- ).annotate({
1400
- identifier: "GetDistributionResponse",
1401
- }) as any as S.Schema<GetDistributionResponse>;
1321
+ ).annotate({ identifier: "GetDistributionResponse" }) as any as S.Schema<GetDistributionResponse>;
1402
1322
 
1403
1323
  export type GetLogsRequestSortBy =
1404
1324
  | "timestamp"
@@ -1409,14 +1329,14 @@ export type GetLogsRequestSortBy =
1409
1329
  | "size"
1410
1330
  | "path"
1411
1331
  | "host";
1412
- export const GetLogsRequestSortBy = /*@__PURE__*/ S.String;
1332
+ export const GetLogsRequestSortBy = S.String;
1413
1333
 
1414
1334
  export type GetLogsRequestSortOrder = "ascending" | "descending";
1415
- export const GetLogsRequestSortOrder = /*@__PURE__*/ S.String;
1335
+ export const GetLogsRequestSortOrder = S.String;
1416
1336
 
1417
1337
  /** The action a WAF rule can take based on a request */
1418
1338
  export type WAFRuleAction = "BLOCKED" | "LOGGED" | "ALLOWED";
1419
- export const WAFRuleAction = /*@__PURE__*/ S.String;
1339
+ export const WAFRuleAction = S.String;
1420
1340
 
1421
1341
  export interface GetLogsRequest {
1422
1342
  /** Your STACKIT Project Id */
@@ -1470,9 +1390,7 @@ export const GetLogsRequest = /*@__PURE__*/ S.suspend(() =>
1470
1390
  ),
1471
1391
  ).annotate({ identifier: "GetLogsRequest" }) as any as S.Schema<GetLogsRequest>;
1472
1392
 
1473
- export type WAFViolationRequestHeadersMap = {
1474
- [key: string]: string | undefined;
1475
- };
1393
+ export type WAFViolationRequestHeadersMap = { [key: string]: string | undefined };
1476
1394
  export const WAFViolationRequestHeadersMap = /*@__PURE__*/ S.Record(
1477
1395
  S.String,
1478
1396
  S.String,
@@ -1528,9 +1446,7 @@ export const DistributionLogsRecord = /*@__PURE__*/ S.suspend(() =>
1528
1446
  timestamp: S.String,
1529
1447
  wafViolation: S.optional(WAFViolation),
1530
1448
  }),
1531
- ).annotate({
1532
- identifier: "DistributionLogsRecord",
1533
- }) as any as S.Schema<DistributionLogsRecord>;
1449
+ ).annotate({ identifier: "DistributionLogsRecord" }) as any as S.Schema<DistributionLogsRecord>;
1534
1450
 
1535
1451
  export type GetLogsResponseLogsList = Array<DistributionLogsRecord>;
1536
1452
  export const GetLogsResponseLogsList = /*@__PURE__*/ S.Array(
@@ -1546,9 +1462,7 @@ export const GetLogsResponse = /*@__PURE__*/ S.suspend(() =>
1546
1462
  logs: GetLogsResponseLogsList,
1547
1463
  nextPageIdentifier: S.optional(S.String),
1548
1464
  }),
1549
- ).annotate({
1550
- identifier: "GetLogsResponse",
1551
- }) as any as S.Schema<GetLogsResponse>;
1465
+ ).annotate({ identifier: "GetLogsResponse" }) as any as S.Schema<GetLogsResponse>;
1552
1466
 
1553
1467
  export interface GetLogsSearchFiltersRequest {
1554
1468
  /** Your STACKIT Project ID. */
@@ -1576,10 +1490,9 @@ export const GetLogsSearchFiltersRequest = /*@__PURE__*/ S.suspend(() =>
1576
1490
  }) as any as S.Schema<GetLogsSearchFiltersRequest>;
1577
1491
 
1578
1492
  export type GetLogsSearchFiltersResponseCacheItem = "HIT" | "MISS";
1579
- export const GetLogsSearchFiltersResponseCacheItem = /*@__PURE__*/ S.String;
1493
+ export const GetLogsSearchFiltersResponseCacheItem = S.String;
1580
1494
 
1581
- export type GetLogsSearchFiltersResponseCacheList =
1582
- Array<GetLogsSearchFiltersResponseCacheItem>;
1495
+ export type GetLogsSearchFiltersResponseCacheList = Array<GetLogsSearchFiltersResponseCacheItem>;
1583
1496
  export const GetLogsSearchFiltersResponseCacheList = /*@__PURE__*/ S.Array(
1584
1497
  GetLogsSearchFiltersResponseCacheItem,
1585
1498
  ) as any as S.Schema<GetLogsSearchFiltersResponseCacheList>;
@@ -1589,50 +1502,44 @@ export interface GetLogsSearchFiltersResponseDatacenterBlockItem {
1589
1502
  displayName: string;
1590
1503
  id: string;
1591
1504
  }
1592
- export const GetLogsSearchFiltersResponseDatacenterBlockItem =
1593
- /*@__PURE__*/ S.suspend(() =>
1594
- S.Struct({
1595
- displayName: S.String,
1596
- id: S.String,
1597
- }),
1598
- ).annotate({
1599
- identifier: "GetLogsSearchFiltersResponseDatacenterBlockItem",
1600
- }) as any as S.Schema<GetLogsSearchFiltersResponseDatacenterBlockItem>;
1505
+ export const GetLogsSearchFiltersResponseDatacenterBlockItem = /*@__PURE__*/ S.suspend(() =>
1506
+ S.Struct({
1507
+ displayName: S.String,
1508
+ id: S.String,
1509
+ }),
1510
+ ).annotate({
1511
+ identifier: "GetLogsSearchFiltersResponseDatacenterBlockItem",
1512
+ }) as any as S.Schema<GetLogsSearchFiltersResponseDatacenterBlockItem>;
1601
1513
 
1602
1514
  export type GetLogsSearchFiltersResponseDatacenterBlockAFList =
1603
1515
  Array<GetLogsSearchFiltersResponseDatacenterBlockItem>;
1604
- export const GetLogsSearchFiltersResponseDatacenterBlockAFList =
1605
- /*@__PURE__*/ S.Array(
1606
- GetLogsSearchFiltersResponseDatacenterBlockItem,
1607
- ) as any as S.Schema<GetLogsSearchFiltersResponseDatacenterBlockAFList>;
1516
+ export const GetLogsSearchFiltersResponseDatacenterBlockAFList = /*@__PURE__*/ S.Array(
1517
+ GetLogsSearchFiltersResponseDatacenterBlockItem,
1518
+ ) as any as S.Schema<GetLogsSearchFiltersResponseDatacenterBlockAFList>;
1608
1519
 
1609
1520
  export type GetLogsSearchFiltersResponseDatacenterBlockASIAList =
1610
1521
  Array<GetLogsSearchFiltersResponseDatacenterBlockItem>;
1611
- export const GetLogsSearchFiltersResponseDatacenterBlockASIAList =
1612
- /*@__PURE__*/ S.Array(
1613
- GetLogsSearchFiltersResponseDatacenterBlockItem,
1614
- ) as any as S.Schema<GetLogsSearchFiltersResponseDatacenterBlockASIAList>;
1522
+ export const GetLogsSearchFiltersResponseDatacenterBlockASIAList = /*@__PURE__*/ S.Array(
1523
+ GetLogsSearchFiltersResponseDatacenterBlockItem,
1524
+ ) as any as S.Schema<GetLogsSearchFiltersResponseDatacenterBlockASIAList>;
1615
1525
 
1616
1526
  export type GetLogsSearchFiltersResponseDatacenterBlockEUList =
1617
1527
  Array<GetLogsSearchFiltersResponseDatacenterBlockItem>;
1618
- export const GetLogsSearchFiltersResponseDatacenterBlockEUList =
1619
- /*@__PURE__*/ S.Array(
1620
- GetLogsSearchFiltersResponseDatacenterBlockItem,
1621
- ) as any as S.Schema<GetLogsSearchFiltersResponseDatacenterBlockEUList>;
1528
+ export const GetLogsSearchFiltersResponseDatacenterBlockEUList = /*@__PURE__*/ S.Array(
1529
+ GetLogsSearchFiltersResponseDatacenterBlockItem,
1530
+ ) as any as S.Schema<GetLogsSearchFiltersResponseDatacenterBlockEUList>;
1622
1531
 
1623
1532
  export type GetLogsSearchFiltersResponseDatacenterBlockNAList =
1624
1533
  Array<GetLogsSearchFiltersResponseDatacenterBlockItem>;
1625
- export const GetLogsSearchFiltersResponseDatacenterBlockNAList =
1626
- /*@__PURE__*/ S.Array(
1627
- GetLogsSearchFiltersResponseDatacenterBlockItem,
1628
- ) as any as S.Schema<GetLogsSearchFiltersResponseDatacenterBlockNAList>;
1534
+ export const GetLogsSearchFiltersResponseDatacenterBlockNAList = /*@__PURE__*/ S.Array(
1535
+ GetLogsSearchFiltersResponseDatacenterBlockItem,
1536
+ ) as any as S.Schema<GetLogsSearchFiltersResponseDatacenterBlockNAList>;
1629
1537
 
1630
1538
  export type GetLogsSearchFiltersResponseDatacenterBlockSAList =
1631
1539
  Array<GetLogsSearchFiltersResponseDatacenterBlockItem>;
1632
- export const GetLogsSearchFiltersResponseDatacenterBlockSAList =
1633
- /*@__PURE__*/ S.Array(
1634
- GetLogsSearchFiltersResponseDatacenterBlockItem,
1635
- ) as any as S.Schema<GetLogsSearchFiltersResponseDatacenterBlockSAList>;
1540
+ export const GetLogsSearchFiltersResponseDatacenterBlockSAList = /*@__PURE__*/ S.Array(
1541
+ GetLogsSearchFiltersResponseDatacenterBlockItem,
1542
+ ) as any as S.Schema<GetLogsSearchFiltersResponseDatacenterBlockSAList>;
1636
1543
 
1637
1544
  /** Object containing Datacenters to filter for. Each datacenter is grouped to the respective region. */
1638
1545
  export interface GetLogsSearchFiltersResponseDatacenterBlock {
@@ -1642,25 +1549,23 @@ export interface GetLogsSearchFiltersResponseDatacenterBlock {
1642
1549
  NA: GetLogsSearchFiltersResponseDatacenterBlockNAList;
1643
1550
  SA: GetLogsSearchFiltersResponseDatacenterBlockSAList;
1644
1551
  }
1645
- export const GetLogsSearchFiltersResponseDatacenterBlock =
1646
- /*@__PURE__*/ S.suspend(() =>
1647
- S.Struct({
1648
- AF: GetLogsSearchFiltersResponseDatacenterBlockAFList,
1649
- ASIA: GetLogsSearchFiltersResponseDatacenterBlockASIAList,
1650
- EU: GetLogsSearchFiltersResponseDatacenterBlockEUList,
1651
- NA: GetLogsSearchFiltersResponseDatacenterBlockNAList,
1652
- SA: GetLogsSearchFiltersResponseDatacenterBlockSAList,
1653
- }),
1654
- ).annotate({
1655
- identifier: "GetLogsSearchFiltersResponseDatacenterBlock",
1656
- }) as any as S.Schema<GetLogsSearchFiltersResponseDatacenterBlock>;
1552
+ export const GetLogsSearchFiltersResponseDatacenterBlock = /*@__PURE__*/ S.suspend(() =>
1553
+ S.Struct({
1554
+ AF: GetLogsSearchFiltersResponseDatacenterBlockAFList,
1555
+ ASIA: GetLogsSearchFiltersResponseDatacenterBlockASIAList,
1556
+ EU: GetLogsSearchFiltersResponseDatacenterBlockEUList,
1557
+ NA: GetLogsSearchFiltersResponseDatacenterBlockNAList,
1558
+ SA: GetLogsSearchFiltersResponseDatacenterBlockSAList,
1559
+ }),
1560
+ ).annotate({
1561
+ identifier: "GetLogsSearchFiltersResponseDatacenterBlock",
1562
+ }) as any as S.Schema<GetLogsSearchFiltersResponseDatacenterBlock>;
1657
1563
 
1658
1564
  /** List of ISO-3166 Alpha2 Country Codes matching the input filter. Response is ordered in ascending order. For more Info about the country codes, see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 */
1659
1565
  export type GetLogsSearchFiltersResponseRemoteCountryList = Array<string>;
1660
- export const GetLogsSearchFiltersResponseRemoteCountryList =
1661
- /*@__PURE__*/ S.Array(
1662
- S.String,
1663
- ) as any as S.Schema<GetLogsSearchFiltersResponseRemoteCountryList>;
1566
+ export const GetLogsSearchFiltersResponseRemoteCountryList = /*@__PURE__*/ S.Array(
1567
+ S.String,
1568
+ ) as any as S.Schema<GetLogsSearchFiltersResponseRemoteCountryList>;
1664
1569
 
1665
1570
  /** List of Status Codes matching the input filter. Response is ordered in ascending order. */
1666
1571
  export type GetLogsSearchFiltersResponseStatusList = Array<number>;
@@ -1687,12 +1592,8 @@ export const GetLogsSearchFiltersResponse = /*@__PURE__*/ S.suspend(() =>
1687
1592
  identifier: "GetLogsSearchFiltersResponse",
1688
1593
  }) as any as S.Schema<GetLogsSearchFiltersResponse>;
1689
1594
 
1690
- export type GetStatisticsRequestInterval =
1691
- | "hourly"
1692
- | "daily"
1693
- | "monthly"
1694
- | "yearly";
1695
- export const GetStatisticsRequestInterval = /*@__PURE__*/ S.String;
1595
+ export type GetStatisticsRequestInterval = "hourly" | "daily" | "monthly" | "yearly";
1596
+ export const GetStatisticsRequestInterval = S.String;
1696
1597
 
1697
1598
  export interface GetStatisticsRequest {
1698
1599
  /** Your STACKIT Project Id */
@@ -1720,9 +1621,7 @@ export const GetStatisticsRequest = /*@__PURE__*/ S.suspend(() =>
1720
1621
  baseUrl: "https://cdn.api.stackit.cloud",
1721
1622
  }),
1722
1623
  ),
1723
- ).annotate({
1724
- identifier: "GetStatisticsRequest",
1725
- }) as any as S.Schema<GetStatisticsRequest>;
1624
+ ).annotate({ identifier: "GetStatisticsRequest" }) as any as S.Schema<GetStatisticsRequest>;
1726
1625
 
1727
1626
  export interface DistributionStatisticsRecordEntry {
1728
1627
  /** Number of cached requests that were served */
@@ -1789,8 +1688,7 @@ export const DistributionStatisticsRecord = /*@__PURE__*/ S.suspend(() =>
1789
1688
  identifier: "DistributionStatisticsRecord",
1790
1689
  }) as any as S.Schema<DistributionStatisticsRecord>;
1791
1690
 
1792
- export type GetStatisticsResponseRecordsList =
1793
- Array<DistributionStatisticsRecord>;
1691
+ export type GetStatisticsResponseRecordsList = Array<DistributionStatisticsRecord>;
1794
1692
  export const GetStatisticsResponseRecordsList = /*@__PURE__*/ S.Array(
1795
1693
  DistributionStatisticsRecord,
1796
1694
  ) as any as S.Schema<GetStatisticsResponseRecordsList>;
@@ -1802,9 +1700,7 @@ export const GetStatisticsResponse = /*@__PURE__*/ S.suspend(() =>
1802
1700
  S.Struct({
1803
1701
  records: GetStatisticsResponseRecordsList,
1804
1702
  }),
1805
- ).annotate({
1806
- identifier: "GetStatisticsResponse",
1807
- }) as any as S.Schema<GetStatisticsResponse>;
1703
+ ).annotate({ identifier: "GetStatisticsResponse" }) as any as S.Schema<GetStatisticsResponse>;
1808
1704
 
1809
1705
  export type ListDistributionsRequestSortBy =
1810
1706
  | "id"
@@ -1813,10 +1709,10 @@ export type ListDistributionsRequestSortBy =
1813
1709
  | "originUrl"
1814
1710
  | "status"
1815
1711
  | "originUrlRelated";
1816
- export const ListDistributionsRequestSortBy = /*@__PURE__*/ S.String;
1712
+ export const ListDistributionsRequestSortBy = S.String;
1817
1713
 
1818
1714
  export type ListDistributionsRequestSortOrder = "ascending" | "descending";
1819
- export const ListDistributionsRequestSortOrder = /*@__PURE__*/ S.String;
1715
+ export const ListDistributionsRequestSortOrder = S.String;
1820
1716
 
1821
1717
  export interface ListDistributionsRequest {
1822
1718
  /** Your STACKIT Project Id */
@@ -1847,9 +1743,7 @@ export const ListDistributionsRequest = /*@__PURE__*/ S.suspend(() =>
1847
1743
  baseUrl: "https://cdn.api.stackit.cloud",
1848
1744
  }),
1849
1745
  ),
1850
- ).annotate({
1851
- identifier: "ListDistributionsRequest",
1852
- }) as any as S.Schema<ListDistributionsRequest>;
1746
+ ).annotate({ identifier: "ListDistributionsRequest" }) as any as S.Schema<ListDistributionsRequest>;
1853
1747
 
1854
1748
  export type ListDistributionsResponseDistributionsList = Array<Distribution>;
1855
1749
  export const ListDistributionsResponseDistributionsList = /*@__PURE__*/ S.Array(
@@ -1943,12 +1837,9 @@ export const WafRuleCollection = /*@__PURE__*/ S.suspend(() =>
1943
1837
  id: S.String,
1944
1838
  name: LocalizedString,
1945
1839
  }),
1946
- ).annotate({
1947
- identifier: "WafRuleCollection",
1948
- }) as any as S.Schema<WafRuleCollection>;
1840
+ ).annotate({ identifier: "WafRuleCollection" }) as any as S.Schema<WafRuleCollection>;
1949
1841
 
1950
- export type ListWafCollectionsResponseCollectionsList =
1951
- Array<WafRuleCollection>;
1842
+ export type ListWafCollectionsResponseCollectionsList = Array<WafRuleCollection>;
1952
1843
  export const ListWafCollectionsResponseCollectionsList = /*@__PURE__*/ S.Array(
1953
1844
  WafRuleCollection,
1954
1845
  ) as any as S.Schema<ListWafCollectionsResponseCollectionsList>;
@@ -1979,9 +1870,7 @@ export const HttpBackendPatchGeofencingMap = /*@__PURE__*/ S.Record(
1979
1870
  ) as any as S.Schema<HttpBackendPatchGeofencingMap>;
1980
1871
 
1981
1872
  /** Headers that will be sent with every request to the configured origin. **WARNING**: Do not store sensitive values in the headers. The configuration is stored as plain text. */
1982
- export type HttpBackendPatchOriginRequestHeadersMap = {
1983
- [key: string]: string | undefined;
1984
- };
1873
+ export type HttpBackendPatchOriginRequestHeadersMap = { [key: string]: string | undefined };
1985
1874
  export const HttpBackendPatchOriginRequestHeadersMap = /*@__PURE__*/ S.Record(
1986
1875
  S.String,
1987
1876
  S.String,
@@ -1989,7 +1878,7 @@ export const HttpBackendPatchOriginRequestHeadersMap = /*@__PURE__*/ S.Record(
1989
1878
 
1990
1879
  /** Defines the type of content origin. For this schema, it must be set to `http`. */
1991
1880
  export type HttpBackendPatchType = "http";
1992
- export const HttpBackendPatchType = /*@__PURE__*/ S.String;
1881
+ export const HttpBackendPatchType = S.String;
1993
1882
 
1994
1883
  /** A partial HTTP Backend */
1995
1884
  export interface HttpBackendPatch {
@@ -2009,13 +1898,11 @@ export const HttpBackendPatch = /*@__PURE__*/ S.suspend(() =>
2009
1898
  originUrl: S.optional(S.String),
2010
1899
  type: HttpBackendPatchType,
2011
1900
  }),
2012
- ).annotate({
2013
- identifier: "HttpBackendPatch",
2014
- }) as any as S.Schema<HttpBackendPatch>;
1901
+ ).annotate({ identifier: "HttpBackendPatch" }) as any as S.Schema<HttpBackendPatch>;
2015
1902
 
2016
1903
  /** Defines the type of content origin. For this schema, it must be set to `bucket`. */
2017
1904
  export type BucketBackendPatchType = "bucket";
2018
- export const BucketBackendPatchType = /*@__PURE__*/ S.String;
1905
+ export const BucketBackendPatchType = S.String;
2019
1906
 
2020
1907
  export interface BucketBackendPatch {
2021
1908
  /** The fully qualified URL of your cloud storage bucket (for example, `https://s3.eu-central-1.amazonaws.com/my-bucket`). */
@@ -2033,13 +1920,10 @@ export const BucketBackendPatch = /*@__PURE__*/ S.suspend(() =>
2033
1920
  region: S.optional(S.String),
2034
1921
  type: BucketBackendPatchType,
2035
1922
  }),
2036
- ).annotate({
2037
- identifier: "BucketBackendPatch",
2038
- }) as any as S.Schema<BucketBackendPatch>;
1923
+ ).annotate({ identifier: "BucketBackendPatch" }) as any as S.Schema<BucketBackendPatch>;
2039
1924
 
2040
1925
  export type ConfigPatchBackend = HttpBackendPatch | BucketBackendPatch;
2041
- export const ConfigPatchBackend =
2042
- /*@__PURE__*/ S.Unknown as any as S.Schema<ConfigPatchBackend>;
1926
+ export const ConfigPatchBackend = /*@__PURE__*/ S.Unknown as any as S.Schema<ConfigPatchBackend>;
2043
1927
 
2044
1928
  /** Restricts access to your content based on country. We use the ISO 3166-1 alpha-2 standard for country codes (e.g., DE, ES, GB). This setting blocks users from the specified countries. */
2045
1929
  export type ConfigPatchBlockedCountriesList = Array<string>;
@@ -2061,10 +1945,9 @@ export const CacheConfigPatchCacheKeyHeadersList = /*@__PURE__*/ S.Array(
2061
1945
 
2062
1946
  /** Allowlist of query-string parameter names. Omit to leave unchanged; send `[]` to clear. */
2063
1947
  export type CacheConfigPatchQueryStringVaryParametersList = Array<string>;
2064
- export const CacheConfigPatchQueryStringVaryParametersList =
2065
- /*@__PURE__*/ S.Array(
2066
- S.String,
2067
- ) as any as S.Schema<CacheConfigPatchQueryStringVaryParametersList>;
1948
+ export const CacheConfigPatchQueryStringVaryParametersList = /*@__PURE__*/ S.Array(
1949
+ S.String,
1950
+ ) as any as S.Schema<CacheConfigPatchQueryStringVaryParametersList>;
2068
1951
 
2069
1952
  /** PATCH variant of `CacheConfig`. Follows the standard PATCH conventions for this API: - Field omitted from the request: current value is left unchanged. - Array field sent as `[]`: current list is cleared. - `queryStringVaryEnabled` is a plain boolean (non-nullable); omit it to leave unchanged. `queryStringVaryParameters` is stored independently of `queryStringVaryEnabled`. Sending a non-empty `queryStringVaryParameters` together with `queryStringVaryEnabled=false` is accepted: the list is persisted for later re-activation but does not affect the cache while the flag is false. */
2070
1953
  export interface CacheConfigPatch {
@@ -2079,24 +1962,20 @@ export const CacheConfigPatch = /*@__PURE__*/ S.suspend(() =>
2079
1962
  S.Struct({
2080
1963
  cacheKeyHeaders: S.optional(CacheConfigPatchCacheKeyHeadersList),
2081
1964
  queryStringVaryEnabled: S.optional(S.Boolean),
2082
- queryStringVaryParameters: S.optional(
2083
- CacheConfigPatchQueryStringVaryParametersList,
2084
- ),
1965
+ queryStringVaryParameters: S.optional(CacheConfigPatchQueryStringVaryParametersList),
2085
1966
  }),
2086
- ).annotate({
2087
- identifier: "CacheConfigPatch",
2088
- }) as any as S.Schema<CacheConfigPatch>;
1967
+ ).annotate({ identifier: "CacheConfigPatch" }) as any as S.Schema<CacheConfigPatch>;
2089
1968
 
2090
1969
  /** Labels are key-value string pairs that can be attached to a distribution. JSON Merge Patch is supported, meaning setting a key to null will remove it. */
2091
- export type ConfigPatchLabelsMap = { [key: string]: string | undefined };
1970
+ export type ConfigPatchLabelsMap = { [key: string]: string | null | undefined };
2092
1971
  export const ConfigPatchLabelsMap = /*@__PURE__*/ S.Record(
2093
1972
  S.String,
2094
- S.String,
1973
+ S.NullOr(S.String),
2095
1974
  ) as any as S.Schema<ConfigPatchLabelsMap>;
2096
1975
 
2097
1976
  /** Defines the type of the log sink. For Grafana Loki, this must be set to `loki`. */
2098
1977
  export type LokiLogSinkPatchType = "loki";
2099
- export const LokiLogSinkPatchType = /*@__PURE__*/ S.String;
1978
+ export const LokiLogSinkPatchType = S.String;
2100
1979
 
2101
1980
  export interface LokiLogSinkPatch {
2102
1981
  credentials?: LokiLogSinkCredentials;
@@ -2111,9 +1990,7 @@ export const LokiLogSinkPatch = /*@__PURE__*/ S.suspend(() =>
2111
1990
  pushUrl: S.optional(S.String),
2112
1991
  type: LokiLogSinkPatchType,
2113
1992
  }),
2114
- ).annotate({
2115
- identifier: "LokiLogSinkPatch",
2116
- }) as any as S.Schema<LokiLogSinkPatch>;
1993
+ ).annotate({ identifier: "LokiLogSinkPatch" }) as any as S.Schema<LokiLogSinkPatch>;
2117
1994
 
2118
1995
  /** The authentication credentials required for the CDN to push logs to your OTLP endpoint. */
2119
1996
  export type OtlpLogSinkPatchCredentials =
@@ -2124,7 +2001,7 @@ export const OtlpLogSinkPatchCredentials =
2124
2001
 
2125
2002
  /** Defines the type of the log sink. */
2126
2003
  export type OtlpLogSinkPatchType = "otlp";
2127
- export const OtlpLogSinkPatchType = /*@__PURE__*/ S.String;
2004
+ export const OtlpLogSinkPatchType = S.String;
2128
2005
 
2129
2006
  export interface OtlpLogSinkPatch {
2130
2007
  /** The authentication credentials required for the CDN to push logs to your OTLP endpoint. */
@@ -2140,13 +2017,10 @@ export const OtlpLogSinkPatch = /*@__PURE__*/ S.suspend(() =>
2140
2017
  pushUrl: S.optional(S.String),
2141
2018
  type: OtlpLogSinkPatchType,
2142
2019
  }),
2143
- ).annotate({
2144
- identifier: "OtlpLogSinkPatch",
2145
- }) as any as S.Schema<OtlpLogSinkPatch>;
2020
+ ).annotate({ identifier: "OtlpLogSinkPatch" }) as any as S.Schema<OtlpLogSinkPatch>;
2146
2021
 
2147
2022
  export type ConfigPatchLogSink = LokiLogSinkPatch | OtlpLogSinkPatch;
2148
- export const ConfigPatchLogSink =
2149
- /*@__PURE__*/ S.Unknown as any as S.Schema<ConfigPatchLogSink>;
2023
+ export const ConfigPatchLogSink = /*@__PURE__*/ S.Unknown as any as S.Schema<ConfigPatchLogSink>;
2150
2024
 
2151
2025
  export interface OptimizerPatch {
2152
2026
  enabled?: boolean;
@@ -2187,17 +2061,15 @@ export const WafConfigPatchAllowedHttpVersionsList = /*@__PURE__*/ S.Array(
2187
2061
  ) as any as S.Schema<WafConfigPatchAllowedHttpVersionsList>;
2188
2062
 
2189
2063
  export type WafConfigPatchAllowedRequestContentTypesList = Array<string>;
2190
- export const WafConfigPatchAllowedRequestContentTypesList =
2191
- /*@__PURE__*/ S.Array(
2192
- S.String,
2193
- ) as any as S.Schema<WafConfigPatchAllowedRequestContentTypesList>;
2064
+ export const WafConfigPatchAllowedRequestContentTypesList = /*@__PURE__*/ S.Array(
2065
+ S.String,
2066
+ ) as any as S.Schema<WafConfigPatchAllowedRequestContentTypesList>;
2194
2067
 
2195
2068
  /** Ids of WAF Collections to mark as disabled */
2196
2069
  export type WafConfigPatchDisabledRuleCollectionIdsList = Array<string>;
2197
- export const WafConfigPatchDisabledRuleCollectionIdsList =
2198
- /*@__PURE__*/ S.Array(
2199
- S.String,
2200
- ) as any as S.Schema<WafConfigPatchDisabledRuleCollectionIdsList>;
2070
+ export const WafConfigPatchDisabledRuleCollectionIdsList = /*@__PURE__*/ S.Array(
2071
+ S.String,
2072
+ ) as any as S.Schema<WafConfigPatchDisabledRuleCollectionIdsList>;
2201
2073
 
2202
2074
  /** Ids of WAF Rule Groups to mark as disabled */
2203
2075
  export type WafConfigPatchDisabledRuleGroupIdsList = Array<string>;
@@ -2278,22 +2150,14 @@ export const WafConfigPatch = /*@__PURE__*/ S.suspend(() =>
2278
2150
  S.Struct({
2279
2151
  allowedHttpMethods: S.optional(WafConfigPatchAllowedHttpMethodsList),
2280
2152
  allowedHttpVersions: S.optional(WafConfigPatchAllowedHttpVersionsList),
2281
- allowedRequestContentTypes: S.optional(
2282
- WafConfigPatchAllowedRequestContentTypesList,
2283
- ),
2284
- disabledRuleCollectionIds: S.optional(
2285
- WafConfigPatchDisabledRuleCollectionIdsList,
2286
- ),
2153
+ allowedRequestContentTypes: S.optional(WafConfigPatchAllowedRequestContentTypesList),
2154
+ disabledRuleCollectionIds: S.optional(WafConfigPatchDisabledRuleCollectionIdsList),
2287
2155
  disabledRuleGroupIds: S.optional(WafConfigPatchDisabledRuleGroupIdsList),
2288
2156
  disabledRuleIds: S.optional(WafConfigPatchDisabledRuleIdsList),
2289
- enabledRuleCollectionIds: S.optional(
2290
- WafConfigPatchEnabledRuleCollectionIdsList,
2291
- ),
2157
+ enabledRuleCollectionIds: S.optional(WafConfigPatchEnabledRuleCollectionIdsList),
2292
2158
  enabledRuleGroupIds: S.optional(WafConfigPatchEnabledRuleGroupIdsList),
2293
2159
  enabledRuleIds: S.optional(WafConfigPatchEnabledRuleIdsList),
2294
- logOnlyRuleCollectionIds: S.optional(
2295
- WafConfigPatchLogOnlyRuleCollectionIdsList,
2296
- ),
2160
+ logOnlyRuleCollectionIds: S.optional(WafConfigPatchLogOnlyRuleCollectionIdsList),
2297
2161
  logOnlyRuleGroupIds: S.optional(WafConfigPatchLogOnlyRuleGroupIdsList),
2298
2162
  logOnlyRuleIds: S.optional(WafConfigPatchLogOnlyRuleIdsList),
2299
2163
  mode: S.optional(WafMode),
@@ -2368,9 +2232,7 @@ export const PatchDistributionRequest = /*@__PURE__*/ S.suspend(() =>
2368
2232
  baseUrl: "https://cdn.api.stackit.cloud",
2369
2233
  }),
2370
2234
  ),
2371
- ).annotate({
2372
- identifier: "PatchDistributionRequest",
2373
- }) as any as S.Schema<PatchDistributionRequest>;
2235
+ ).annotate({ identifier: "PatchDistributionRequest" }) as any as S.Schema<PatchDistributionRequest>;
2374
2236
 
2375
2237
  export interface PatchDistributionResponse {
2376
2238
  distribution: Distribution;
@@ -2403,22 +2265,16 @@ export const PurgeCacheRequest = /*@__PURE__*/ S.suspend(() =>
2403
2265
  baseUrl: "https://cdn.api.stackit.cloud",
2404
2266
  }),
2405
2267
  ),
2406
- ).annotate({
2407
- identifier: "PurgeCacheRequest",
2408
- }) as any as S.Schema<PurgeCacheRequest>;
2268
+ ).annotate({ identifier: "PurgeCacheRequest" }) as any as S.Schema<PurgeCacheRequest>;
2409
2269
 
2410
2270
  export type PurgeCacheResponse2 = unknown;
2411
2271
  export const PurgeCacheResponse2 = /*@__PURE__*/ S.suspend(() =>
2412
2272
  S.Unknown.pipe(T.RawResponseRoot()),
2413
- ).annotate({
2414
- identifier: "PurgeCacheResponse2",
2415
- }) as any as S.Schema<PurgeCacheResponse2>;
2273
+ ).annotate({ identifier: "PurgeCacheResponse2" }) as any as S.Schema<PurgeCacheResponse2>;
2416
2274
 
2417
2275
  /** This is returned when no custom certificate is used. We provision and manage a Let's Encrypt Certificate for you */
2418
- export type PutCustomDomainManagedCertificate =
2419
- GetCustomDomainManagedCertificate;
2420
- export const PutCustomDomainManagedCertificate =
2421
- GetCustomDomainManagedCertificate;
2276
+ export type PutCustomDomainManagedCertificate = GetCustomDomainManagedCertificate;
2277
+ export const PutCustomDomainManagedCertificate = GetCustomDomainManagedCertificate;
2422
2278
 
2423
2279
  /** Returned if a custom certificate is used. Response does not contain the certificate or key. */
2424
2280
  export interface PutCustomDomainCustomCertificate {
@@ -2473,9 +2329,7 @@ export const PutCustomDomainRequest = /*@__PURE__*/ S.suspend(() =>
2473
2329
  baseUrl: "https://cdn.api.stackit.cloud",
2474
2330
  }),
2475
2331
  ),
2476
- ).annotate({
2477
- identifier: "PutCustomDomainRequest",
2478
- }) as any as S.Schema<PutCustomDomainRequest>;
2332
+ ).annotate({ identifier: "PutCustomDomainRequest" }) as any as S.Schema<PutCustomDomainRequest>;
2479
2333
 
2480
2334
  /** Pass a custom certificate to be served by the CDN when calling the custom domain. Will use a managed certificate when omitted */
2481
2335
  export type PutCustomDomainResponseCertificate =
@@ -2494,14 +2348,9 @@ export const PutCustomDomainResponse = /*@__PURE__*/ S.suspend(() =>
2494
2348
  certificate: S.optional(PutCustomDomainResponseCertificate),
2495
2349
  customDomain: CustomDomain,
2496
2350
  }),
2497
- ).annotate({
2498
- identifier: "PutCustomDomainResponse",
2499
- }) as any as S.Schema<PutCustomDomainResponse>;
2351
+ ).annotate({ identifier: "PutCustomDomainResponse" }) as any as S.Schema<PutCustomDomainResponse>;
2500
2352
 
2501
- export type CreateDistributionError =
2502
- | BadRequest
2503
- | UnprocessableEntity
2504
- | StackitOpError;
2353
+ export type CreateDistributionError = BadRequest | UnprocessableEntity | StackitOpError;
2505
2354
  /** Create new distribution CreateDistribution will create a new CDN distribution */
2506
2355
  export const createDistribution: API.OperationMethod<
2507
2356
  CreateDistributionRequest,
@@ -2576,10 +2425,7 @@ export const getCacheInfo: API.OperationMethod<
2576
2425
  retry: Retry.Retry,
2577
2426
  }));
2578
2427
 
2579
- export type GetCustomDomainError =
2580
- | NotFound
2581
- | UnprocessableEntity
2582
- | StackitOpError;
2428
+ export type GetCustomDomainError = NotFound | UnprocessableEntity | StackitOpError;
2583
2429
  /** Retrieve a specific custom domain Returns a 200 and the custom domain if this custom domain was associated to this distribution, else 404 */
2584
2430
  export const getCustomDomain: API.OperationMethod<
2585
2431
  GetCustomDomainRequest,
@@ -2594,10 +2440,7 @@ export const getCustomDomain: API.OperationMethod<
2594
2440
  retry: Retry.Retry,
2595
2441
  }));
2596
2442
 
2597
- export type GetDistributionError =
2598
- | NotFound
2599
- | UnprocessableEntity
2600
- | StackitOpError;
2443
+ export type GetDistributionError = NotFound | UnprocessableEntity | StackitOpError;
2601
2444
  /** Get distribution by Id This returns a specific distribution by its Id. If no distribution with the given Id exists the endpoint returns 404. Trying to get a deleted distributions also return 404. */
2602
2445
  export const getDistribution: API.OperationMethod<
2603
2446
  GetDistributionRequest,
@@ -2627,10 +2470,7 @@ export const getLogs: API.OperationMethod<
2627
2470
  retry: Retry.Retry,
2628
2471
  }));
2629
2472
 
2630
- export type GetLogsSearchFiltersError =
2631
- | BadRequest
2632
- | UnprocessableEntity
2633
- | StackitOpError;
2473
+ export type GetLogsSearchFiltersError = BadRequest | UnprocessableEntity | StackitOpError;
2634
2474
  /** Get relevant search filters for this distribution based on user input. */
2635
2475
  export const getLogsSearchFilters: API.OperationMethod<
2636
2476
  GetLogsSearchFiltersRequest,