@distilled.cloud/stackit 1.0.0-rc.19 → 1.0.0-rc.21

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 (369) hide show
  1. package/README.md +13 -2
  2. package/lib/.lazy.json +1 -1
  3. package/lib/_bundle/sdk.js +1 -1
  4. package/lib/_bundle/sdk.js.map +1 -1
  5. package/lib/credentials.d.ts +17 -3
  6. package/lib/credentials.d.ts.map +1 -1
  7. package/lib/credentials.js +1 -1
  8. package/lib/errors.d.ts +13 -8
  9. package/lib/errors.d.ts.map +1 -1
  10. package/lib/errors.js +1 -1
  11. package/lib/index.d.ts +9 -6
  12. package/lib/index.d.ts.map +1 -1
  13. package/lib/index.js +0 -1
  14. package/lib/pagination.d.ts.map +1 -1
  15. package/lib/protocol.d.ts +33 -12
  16. package/lib/protocol.d.ts.map +1 -1
  17. package/lib/retry.d.ts.map +1 -1
  18. package/lib/services/alb.d.ts +8 -0
  19. package/lib/services/alb.d.ts.map +1 -1
  20. package/lib/services/alb.js +26 -26
  21. package/lib/services/alb.js.map +1 -1
  22. package/lib/services/alb_waf.d.ts +8 -0
  23. package/lib/services/alb_waf.d.ts.map +1 -1
  24. package/lib/services/alb_waf.js +31 -31
  25. package/lib/services/alb_waf.js.map +1 -1
  26. package/lib/services/authorization.d.ts +13 -0
  27. package/lib/services/authorization.d.ts.map +1 -1
  28. package/lib/services/authorization.js +1 -1
  29. package/lib/services/authorization.js.map +1 -1
  30. package/lib/services/automation.d.ts +23 -0
  31. package/lib/services/automation.d.ts.map +1 -1
  32. package/lib/services/automation.js +23 -22
  33. package/lib/services/automation.js.map +1 -1
  34. package/lib/services/cdn.d.ts +39 -1
  35. package/lib/services/cdn.d.ts.map +1 -1
  36. package/lib/services/cdn.js +31 -30
  37. package/lib/services/cdn.js.map +1 -1
  38. package/lib/services/certificates.d.ts +6 -0
  39. package/lib/services/certificates.d.ts.map +1 -1
  40. package/lib/services/certificates.js +1 -1
  41. package/lib/services/certificates.js.map +1 -1
  42. package/lib/services/cost.d.ts +19 -0
  43. package/lib/services/cost.d.ts.map +1 -1
  44. package/lib/services/cost.js +1 -1
  45. package/lib/services/cost.js.map +1 -1
  46. package/lib/services/dns.d.ts +16 -0
  47. package/lib/services/dns.d.ts.map +1 -1
  48. package/lib/services/dns.js +40 -40
  49. package/lib/services/dns.js.map +1 -1
  50. package/lib/services/iaas.d.ts +17 -0
  51. package/lib/services/iaas.d.ts.map +1 -1
  52. package/lib/services/iaas.js +181 -180
  53. package/lib/services/iaas.js.map +1 -1
  54. package/lib/services/identity.d.ts +19 -0
  55. package/lib/services/identity.d.ts.map +1 -1
  56. package/lib/services/identity.js +1 -1
  57. package/lib/services/identity.js.map +1 -1
  58. package/lib/services/index.d.ts +0 -10
  59. package/lib/services/index.d.ts.map +1 -1
  60. package/lib/services/index.js +0 -10
  61. package/lib/services/kms.d.ts +16 -0
  62. package/lib/services/kms.d.ts.map +1 -1
  63. package/lib/services/kms.js +41 -40
  64. package/lib/services/kms.js.map +1 -1
  65. package/lib/services/load_balancer.d.ts +8 -0
  66. package/lib/services/load_balancer.d.ts.map +1 -1
  67. package/lib/services/load_balancer.js +27 -27
  68. package/lib/services/load_balancer.js.map +1 -1
  69. package/lib/services/logme.d.ts +14 -1
  70. package/lib/services/logme.d.ts.map +1 -1
  71. package/lib/services/logme.js +36 -35
  72. package/lib/services/logme.js.map +1 -1
  73. package/lib/services/logs.d.ts +6 -0
  74. package/lib/services/logs.d.ts.map +1 -1
  75. package/lib/services/logs.js +34 -34
  76. package/lib/services/logs.js.map +1 -1
  77. package/lib/services/mariadb.d.ts +14 -1
  78. package/lib/services/mariadb.d.ts.map +1 -1
  79. package/lib/services/mariadb.js +37 -36
  80. package/lib/services/mariadb.js.map +1 -1
  81. package/lib/services/model_experiments.d.ts +20 -0
  82. package/lib/services/model_experiments.d.ts.map +1 -1
  83. package/lib/services/model_experiments.js +1 -1
  84. package/lib/services/model_experiments.js.map +1 -1
  85. package/lib/services/model_serving.d.ts +13 -0
  86. package/lib/services/model_serving.d.ts.map +1 -1
  87. package/lib/services/model_serving.js +1 -1
  88. package/lib/services/model_serving.js.map +1 -1
  89. package/lib/services/mongodb_flex.d.ts +19 -0
  90. package/lib/services/mongodb_flex.d.ts.map +1 -1
  91. package/lib/services/mongodb_flex.js +42 -41
  92. package/lib/services/mongodb_flex.js.map +1 -1
  93. package/lib/services/object_storage.d.ts +34 -0
  94. package/lib/services/object_storage.d.ts.map +1 -1
  95. package/lib/services/object_storage.js +38 -37
  96. package/lib/services/object_storage.js.map +1 -1
  97. package/lib/services/observability.d.ts +34 -8
  98. package/lib/services/observability.d.ts.map +1 -1
  99. package/lib/services/observability.js +159 -158
  100. package/lib/services/observability.js.map +1 -1
  101. package/lib/services/opensearch.d.ts +14 -1
  102. package/lib/services/opensearch.d.ts.map +1 -1
  103. package/lib/services/opensearch.js +37 -36
  104. package/lib/services/opensearch.js.map +1 -1
  105. package/lib/services/pim.d.ts +22 -0
  106. package/lib/services/pim.d.ts.map +1 -1
  107. package/lib/services/pim.js +31 -30
  108. package/lib/services/pim.js.map +1 -1
  109. package/lib/services/postgres_flex.d.ts +37 -0
  110. package/lib/services/postgres_flex.d.ts.map +1 -1
  111. package/lib/services/postgres_flex.js +48 -47
  112. package/lib/services/postgres_flex.js.map +1 -1
  113. package/lib/services/rabbitmq.d.ts +14 -1
  114. package/lib/services/rabbitmq.d.ts.map +1 -1
  115. package/lib/services/rabbitmq.js +38 -37
  116. package/lib/services/rabbitmq.js.map +1 -1
  117. package/lib/services/registry.d.ts +37 -0
  118. package/lib/services/registry.d.ts.map +1 -1
  119. package/lib/services/registry.js +1 -1
  120. package/lib/services/registry.js.map +1 -1
  121. package/lib/services/resource_manager.d.ts +24 -0
  122. package/lib/services/resource_manager.d.ts.map +1 -1
  123. package/lib/services/resource_manager.js +36 -35
  124. package/lib/services/resource_manager.js.map +1 -1
  125. package/lib/services/run_command.d.ts +12 -0
  126. package/lib/services/run_command.d.ts.map +1 -1
  127. package/lib/services/run_command.js +1 -1
  128. package/lib/services/run_command.js.map +1 -1
  129. package/lib/services/scf.d.ts +13 -0
  130. package/lib/services/scf.d.ts.map +1 -1
  131. package/lib/services/scf.js +40 -39
  132. package/lib/services/scf.js.map +1 -1
  133. package/lib/services/secrets_manager.d.ts +21 -0
  134. package/lib/services/secrets_manager.d.ts.map +1 -1
  135. package/lib/services/secrets_manager.js +42 -41
  136. package/lib/services/secrets_manager.js.map +1 -1
  137. package/lib/services/server_backup.d.ts +6 -0
  138. package/lib/services/server_backup.d.ts.map +1 -1
  139. package/lib/services/server_backup.js +28 -28
  140. package/lib/services/server_backup.js.map +1 -1
  141. package/lib/services/server_update.d.ts +6 -0
  142. package/lib/services/server_update.d.ts.map +1 -1
  143. package/lib/services/server_update.js +1 -1
  144. package/lib/services/server_update.js.map +1 -1
  145. package/lib/services/service_account.d.ts +28 -0
  146. package/lib/services/service_account.d.ts.map +1 -1
  147. package/lib/services/service_account.js +30 -29
  148. package/lib/services/service_account.js.map +1 -1
  149. package/lib/services/service_enablement.d.ts +14 -0
  150. package/lib/services/service_enablement.d.ts.map +1 -1
  151. package/lib/services/service_enablement.js +1 -1
  152. package/lib/services/service_enablement.js.map +1 -1
  153. package/lib/services/sfs.d.ts +33 -0
  154. package/lib/services/sfs.d.ts.map +1 -1
  155. package/lib/services/sfs.js +46 -46
  156. package/lib/services/sfs.js.map +1 -1
  157. package/lib/services/ske.d.ts +8 -3
  158. package/lib/services/ske.d.ts.map +1 -1
  159. package/lib/services/ske.js +25 -25
  160. package/lib/services/ske.js.map +1 -1
  161. package/lib/services/sqlserverflex.d.ts +34 -0
  162. package/lib/services/sqlserverflex.d.ts.map +1 -1
  163. package/lib/services/sqlserverflex.js +46 -45
  164. package/lib/services/sqlserverflex.js.map +1 -1
  165. package/lib/services/stackit_marketplace.d.ts +26 -1
  166. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  167. package/lib/services/stackit_marketplace.js +26 -25
  168. package/lib/services/stackit_marketplace.js.map +1 -1
  169. package/lib/services/telemetry_link.d.ts +12 -0
  170. package/lib/services/telemetry_link.d.ts.map +1 -1
  171. package/lib/services/telemetry_link.js +35 -34
  172. package/lib/services/telemetry_link.js.map +1 -1
  173. package/lib/services/telemetry_router.d.ts +49 -3
  174. package/lib/services/telemetry_router.d.ts.map +1 -1
  175. package/lib/services/telemetry_router.js +33 -31
  176. package/lib/services/telemetry_router.js.map +1 -1
  177. package/lib/services/ufw.d.ts +15 -0
  178. package/lib/services/ufw.d.ts.map +1 -1
  179. package/lib/services/ufw.js +1 -1
  180. package/lib/services/ufw.js.map +1 -1
  181. package/lib/services/valkey.d.ts +14 -1
  182. package/lib/services/valkey.d.ts.map +1 -1
  183. package/lib/services/valkey.js +37 -36
  184. package/lib/services/valkey.js.map +1 -1
  185. package/lib/services/vpn.d.ts +43 -1
  186. package/lib/services/vpn.d.ts.map +1 -1
  187. package/lib/services/vpn.js +43 -42
  188. package/lib/services/vpn.js.map +1 -1
  189. package/lib/services.lazy/alb.js +1 -1
  190. package/lib/services.lazy/alb_waf.js +1 -1
  191. package/lib/services.lazy/automation.js +1 -1
  192. package/lib/services.lazy/cdn.js +1 -1
  193. package/lib/services.lazy/dns.js +1 -1
  194. package/lib/services.lazy/iaas.js +1 -1
  195. package/lib/services.lazy/index.js +2 -2
  196. package/lib/services.lazy/kms.js +1 -1
  197. package/lib/services.lazy/load_balancer.js +1 -1
  198. package/lib/services.lazy/logme.js +1 -1
  199. package/lib/services.lazy/logs.js +1 -1
  200. package/lib/services.lazy/mariadb.js +1 -1
  201. package/lib/services.lazy/mongodb_flex.js +1 -1
  202. package/lib/services.lazy/object_storage.js +1 -1
  203. package/lib/services.lazy/observability.js +1 -1
  204. package/lib/services.lazy/opensearch.js +1 -1
  205. package/lib/services.lazy/pim.js +1 -1
  206. package/lib/services.lazy/postgres_flex.js +1 -1
  207. package/lib/services.lazy/rabbitmq.js +1 -1
  208. package/lib/services.lazy/resource_manager.js +1 -1
  209. package/lib/services.lazy/scf.js +1 -1
  210. package/lib/services.lazy/secrets_manager.js +1 -1
  211. package/lib/services.lazy/server_backup.js +1 -1
  212. package/lib/services.lazy/service_account.js +1 -1
  213. package/lib/services.lazy/sfs.js +1 -1
  214. package/lib/services.lazy/ske.js +1 -1
  215. package/lib/services.lazy/sqlserverflex.js +1 -1
  216. package/lib/services.lazy/stackit_marketplace.js +1 -1
  217. package/lib/services.lazy/telemetry_link.js +1 -1
  218. package/lib/services.lazy/telemetry_router.js +1 -1
  219. package/lib/services.lazy/valkey.js +1 -1
  220. package/lib/services.lazy/vpn.js +1 -1
  221. package/lib/traits.d.ts.map +1 -1
  222. package/lib/{services → unstable-services}/dremio.d.ts +19 -4
  223. package/lib/unstable-services/dremio.d.ts.map +1 -0
  224. package/lib/unstable-services/dremio.js +2 -0
  225. package/lib/unstable-services/dremio.js.map +1 -0
  226. package/lib/{services → unstable-services}/edge.d.ts +13 -1
  227. package/lib/unstable-services/edge.d.ts.map +1 -0
  228. package/lib/unstable-services/edge.js +29 -0
  229. package/lib/unstable-services/edge.js.map +1 -0
  230. package/lib/unstable-services/functions.d.ts.map +1 -0
  231. package/lib/unstable-services/functions.js +28 -0
  232. package/lib/unstable-services/functions.js.map +1 -0
  233. package/lib/{services → unstable-services}/git.d.ts +42 -1
  234. package/lib/unstable-services/git.d.ts.map +1 -0
  235. package/lib/unstable-services/git.js +43 -0
  236. package/lib/unstable-services/git.js.map +1 -0
  237. package/lib/unstable-services/index.d.ts +11 -0
  238. package/lib/unstable-services/index.d.ts.map +1 -0
  239. package/lib/unstable-services/index.js +10 -0
  240. package/lib/{services → unstable-services}/intake.d.ts +8 -2
  241. package/lib/unstable-services/intake.d.ts.map +1 -0
  242. package/lib/unstable-services/intake.js +31 -0
  243. package/lib/unstable-services/intake.js.map +1 -0
  244. package/lib/{services → unstable-services}/lb_ip_lists.d.ts +9 -1
  245. package/lib/unstable-services/lb_ip_lists.d.ts.map +1 -0
  246. package/lib/unstable-services/lb_ip_lists.js +2 -0
  247. package/lib/unstable-services/lb_ip_lists.js.map +1 -0
  248. package/lib/{services → unstable-services}/mailout.d.ts +95 -126
  249. package/lib/unstable-services/mailout.d.ts.map +1 -0
  250. package/lib/unstable-services/mailout.js +30 -0
  251. package/lib/unstable-services/mailout.js.map +1 -0
  252. package/lib/{services → unstable-services}/pubsub.d.ts +10 -0
  253. package/lib/unstable-services/pubsub.d.ts.map +1 -0
  254. package/lib/unstable-services/pubsub.js +39 -0
  255. package/lib/unstable-services/pubsub.js.map +1 -0
  256. package/lib/{services → unstable-services}/sca.d.ts +73 -23
  257. package/lib/unstable-services/sca.d.ts.map +1 -0
  258. package/lib/unstable-services/sca.js +41 -0
  259. package/lib/unstable-services/sca.js.map +1 -0
  260. package/lib/{services → unstable-services}/workflows.d.ts +29 -1
  261. package/lib/unstable-services/workflows.d.ts.map +1 -0
  262. package/lib/unstable-services/workflows.js +30 -0
  263. package/lib/unstable-services/workflows.js.map +1 -0
  264. package/lib/unstable-services.lazy/dremio.js +1 -0
  265. package/lib/{services.lazy → unstable-services.lazy}/edge.js +1 -1
  266. package/lib/{services.lazy → unstable-services.lazy}/functions.js +1 -1
  267. package/lib/{services.lazy → unstable-services.lazy}/git.js +2 -2
  268. package/lib/unstable-services.lazy/index.js +3 -0
  269. package/lib/{services.lazy → unstable-services.lazy}/intake.js +1 -1
  270. package/lib/unstable-services.lazy/lb_ip_lists.js +1 -0
  271. package/lib/unstable-services.lazy/mailout.js +4 -0
  272. package/lib/{services.lazy → unstable-services.lazy}/pubsub.js +1 -1
  273. package/lib/{services.lazy → unstable-services.lazy}/sca.js +2 -2
  274. package/lib/{services.lazy → unstable-services.lazy}/workflows.js +1 -1
  275. package/package.json +12 -6
  276. package/src/credentials.ts +44 -7
  277. package/src/errors.ts +14 -5
  278. package/src/index.ts +9 -6
  279. package/src/protocol.ts +108 -126
  280. package/src/services/alb.ts +35 -14
  281. package/src/services/alb_waf.ts +41 -17
  282. package/src/services/authorization.ts +121 -75
  283. package/src/services/automation.ts +151 -76
  284. package/src/services/cdn.ts +284 -187
  285. package/src/services/certificates.ts +17 -6
  286. package/src/services/cost.ts +75 -17
  287. package/src/services/dns.ts +219 -149
  288. package/src/services/iaas.ts +888 -708
  289. package/src/services/identity.ts +109 -51
  290. package/src/services/index.ts +0 -10
  291. package/src/services/kms.ts +185 -118
  292. package/src/services/load_balancer.ts +35 -14
  293. package/src/services/logme.ts +181 -123
  294. package/src/services/logs.ts +43 -19
  295. package/src/services/mariadb.ts +179 -121
  296. package/src/services/model_experiments.ts +122 -64
  297. package/src/services/model_serving.ts +102 -58
  298. package/src/services/mongodb_flex.ts +196 -131
  299. package/src/services/object_storage.ts +226 -106
  300. package/src/services/observability.ts +880 -709
  301. package/src/services/opensearch.ts +182 -124
  302. package/src/services/pim.ts +166 -104
  303. package/src/services/postgres_flex.ts +291 -170
  304. package/src/services/rabbitmq.ts +188 -130
  305. package/src/services/registry.ts +146 -40
  306. package/src/services/resource_manager.ts +180 -110
  307. package/src/services/run_command.ts +73 -37
  308. package/src/services/scf.ts +178 -119
  309. package/src/services/secrets_manager.ts +198 -129
  310. package/src/services/server_backup.ts +39 -17
  311. package/src/services/server_update.ts +31 -13
  312. package/src/services/service_account.ts +180 -85
  313. package/src/services/service_enablement.ts +64 -28
  314. package/src/services/sfs.ts +265 -163
  315. package/src/services/ske.ts +39 -20
  316. package/src/services/sqlserverflex.ts +290 -175
  317. package/src/services/stackit_marketplace.ts +138 -70
  318. package/src/services/telemetry_link.ts +151 -100
  319. package/src/services/telemetry_router.ts +241 -109
  320. package/src/services/ufw.ts +97 -50
  321. package/src/services/valkey.ts +179 -121
  322. package/src/services/vpn.ts +305 -194
  323. package/src/{services → unstable-services}/dremio.ts +113 -74
  324. package/src/{services → unstable-services}/edge.ts +113 -72
  325. package/src/{services → unstable-services}/functions.ts +31 -16
  326. package/src/{services → unstable-services}/git.ts +285 -133
  327. package/src/unstable-services/index.ts +11 -0
  328. package/src/{services → unstable-services}/intake.ts +41 -20
  329. package/src/{services → unstable-services}/lb_ip_lists.ts +20 -7
  330. package/src/{services → unstable-services}/mailout.ts +290 -381
  331. package/src/{services → unstable-services}/pubsub.ts +47 -19
  332. package/src/{services → unstable-services}/sca.ts +349 -172
  333. package/src/{services → unstable-services}/workflows.ts +149 -76
  334. package/lib/index.lazy.js +0 -7
  335. package/lib/index.lazy.js.map +0 -1
  336. package/lib/services/dremio.d.ts.map +0 -1
  337. package/lib/services/dremio.js +0 -2
  338. package/lib/services/dremio.js.map +0 -1
  339. package/lib/services/edge.d.ts.map +0 -1
  340. package/lib/services/edge.js +0 -29
  341. package/lib/services/edge.js.map +0 -1
  342. package/lib/services/functions.d.ts.map +0 -1
  343. package/lib/services/functions.js +0 -28
  344. package/lib/services/functions.js.map +0 -1
  345. package/lib/services/git.d.ts.map +0 -1
  346. package/lib/services/git.js +0 -41
  347. package/lib/services/git.js.map +0 -1
  348. package/lib/services/intake.d.ts.map +0 -1
  349. package/lib/services/intake.js +0 -31
  350. package/lib/services/intake.js.map +0 -1
  351. package/lib/services/lb_ip_lists.d.ts.map +0 -1
  352. package/lib/services/lb_ip_lists.js +0 -2
  353. package/lib/services/lb_ip_lists.js.map +0 -1
  354. package/lib/services/mailout.d.ts.map +0 -1
  355. package/lib/services/mailout.js +0 -33
  356. package/lib/services/mailout.js.map +0 -1
  357. package/lib/services/pubsub.d.ts.map +0 -1
  358. package/lib/services/pubsub.js +0 -39
  359. package/lib/services/pubsub.js.map +0 -1
  360. package/lib/services/sca.d.ts.map +0 -1
  361. package/lib/services/sca.js +0 -35
  362. package/lib/services/sca.js.map +0 -1
  363. package/lib/services/workflows.d.ts.map +0 -1
  364. package/lib/services/workflows.js +0 -29
  365. package/lib/services/workflows.js.map +0 -1
  366. package/lib/services.lazy/dremio.js +0 -1
  367. package/lib/services.lazy/lb_ip_lists.js +0 -1
  368. package/lib/services.lazy/mailout.js +0 -4
  369. /package/lib/{services → unstable-services}/functions.d.ts +0 -0
@@ -4,7 +4,7 @@ import * as C from "@distilled.cloud/core/category";
4
4
  import * as S from "@distilled.cloud/core/schema-lite";
5
5
  import * as __L from "@distilled.cloud/core/schema-lite";
6
6
  import type * as Redacted from "effect/Redacted";
7
- import { UnknownStackitError } from "../errors.ts";
7
+ import { StackitServiceErrors } from "../errors.ts";
8
8
  import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
9
9
  import * as Retry from "../retry.ts";
10
10
  import * as T from "../traits.ts";
@@ -31,27 +31,48 @@ export class BadRequest
31
31
  /*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
32
32
  code: S.Number,
33
33
  message: S.String,
34
+ body: /*@__PURE__*/ S.optional(
35
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
36
+ ),
37
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
34
38
  }).pipe(C.withBadRequestError),
35
39
  [{ status: 400 }],
36
- ) {}
40
+ )
41
+ {
42
+ declare readonly body?: GenericJsonResponse | string;
43
+ }
37
44
 
38
45
  export class NotFound
39
46
  extends /*@__PURE__*/ T.applyErrorMatchers(
40
47
  /*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
41
48
  code: S.Number,
42
49
  message: S.String,
50
+ body: /*@__PURE__*/ S.optional(
51
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
52
+ ),
53
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
43
54
  }).pipe(C.withBadRequestError),
44
55
  [{ status: 404 }],
45
- ) {}
56
+ )
57
+ {
58
+ declare readonly body?: GenericJsonResponse | string;
59
+ }
46
60
 
47
61
  export class UnprocessableEntity
48
62
  extends /*@__PURE__*/ T.applyErrorMatchers(
49
63
  /*@__PURE__*/ S.TaggedError<UnprocessableEntity>()("UnprocessableEntity", {
50
64
  code: S.Number,
51
65
  message: S.String,
66
+ body: /*@__PURE__*/ S.optional(
67
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
68
+ ),
69
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
52
70
  }).pipe(C.withBadRequestError),
53
71
  [{ status: 422 }],
54
- ) {}
72
+ )
73
+ {
74
+ declare readonly body?: GenericJsonResponse | string;
75
+ }
55
76
 
56
77
  export type HttpBackendCreateGeofencingValueList = Array<string>;
57
78
  /** 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. */
@@ -129,7 +150,7 @@ export type OtlpLogSinkBearerCredentialsType = "bearer";
129
150
  /** Bearer token authentication credentials for OTLP. */
130
151
  export interface OtlpLogSinkBearerCredentials {
131
152
  /** The bearer token used to authenticate against your OTLP endpoint. */
132
- token: string;
153
+ token: string | Redacted.Redacted<string>;
133
154
  /** Defines bearer token authentication. */
134
155
  type: OtlpLogSinkBearerCredentialsType;
135
156
  }
@@ -278,8 +299,12 @@ export interface CreateDistributionRequest {
278
299
  /** 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. */
279
300
  blockedIps?: CreateDistributionRequestBlockedIpsList | undefined;
280
301
  cacheConfig?: CacheConfigCreate | undefined;
302
+ /** Configures a custom origin path to serve when the origin returns a 404 Not Found status (e.g. index.html or /404.html). Must not contain a URL scheme. */
303
+ custom404ErrorResponse?: string | undefined;
281
304
  /** Sets the default cache duration for the distribution. The default cache duration is applied when a 'Cache-Control' header is not presented in the origin's response. We use ISO8601 duration format for cache duration (e.g. P1DT2H30M) */
282
305
  defaultCacheDuration?: string | undefined;
306
+ /** Configures the default root object served when a request targets the root path '/' of the distribution (e.g. index.html or /index.html). Must not contain a URL scheme. */
307
+ defaultRootObject?: string | undefined;
283
308
  /** Enabling this allows the 'Host' header to be passed through to the origin. */
284
309
  forwardHostHeader?: boolean | undefined;
285
310
  /** While optional, it is greatly encouraged to provide an `intentId`. This is used to deduplicate requests. If multiple POST-Requests with the same `intentId` for a given `projectId` are received, all but the first request are dropped. */
@@ -372,8 +397,12 @@ export interface Config {
372
397
  /** 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. */
373
398
  blockedIps: ConfigBlockedIpsList;
374
399
  cacheConfig: CacheConfig;
400
+ /** Configures a custom origin path to serve when the origin returns a 404 Not Found status (e.g. index.html or /404.html). Must not contain a URL scheme. */
401
+ custom404ErrorResponse?: string | null | undefined;
375
402
  /** Sets the default cache duration for the distribution. The default cache duration is applied when a 'Cache-Control' header is not presented in the origin's response. We use ISO8601 duration format for cache duration (e.g. P1DT2H30M) */
376
403
  defaultCacheDuration?: string | null | undefined;
404
+ /** Configures the default root object served when a request targets the root path '/' of the distribution (e.g. index.html or /index.html). Must not contain a URL scheme. */
405
+ defaultRootObject?: string | null | undefined;
377
406
  /** Enabling this allows the 'Host' header to be passed through to the origin. */
378
407
  forwardHostHeader: boolean;
379
408
  /** Labels are key-value string pairs that can be attached to a distribution. */
@@ -952,8 +981,12 @@ export interface ConfigPatch {
952
981
  /** 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. */
953
982
  blockedIps?: ConfigPatchBlockedIpsList | undefined;
954
983
  cacheConfig?: CacheConfigPatch | undefined;
984
+ /** Configures a custom origin path to serve when the origin returns a 404 Not Found status (e.g. index.html or /404.html). Must not contain a URL scheme. Setting to null removes the custom 404 error response. */
985
+ custom404ErrorResponse?: string | null | undefined;
955
986
  /** Sets the default cache duration for the distribution. The default cache duration is applied when a 'Cache-Control' header is not presented in the origin's response. We use ISO8601 duration format for cache duration (e.g. P1DT2H30M) */
956
987
  defaultCacheDuration?: string | null | undefined;
988
+ /** Configures the default root object served when a request targets the root path '/' of the distribution (e.g. index.html or /index.html). Must not contain a URL scheme. Setting to null removes the default root object. */
989
+ defaultRootObject?: string | null | undefined;
957
990
  /** Enabling this allows the 'Host' header to be passed through to the origin. */
958
991
  forwardHostHeader?: boolean | undefined;
959
992
  /** 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. */
@@ -1023,6 +1056,27 @@ export interface PutCustomDomainResponse {
1023
1056
  certificate?: PutCustomDomainResponseCertificate | undefined;
1024
1057
  customDomain: CustomDomain;
1025
1058
  }
1059
+ export type ErrorDetailsKey =
1060
+ | "UNKNOWN"
1061
+ | "CUSTOM_DOMAIN_CNAME_MISSING"
1062
+ | "INVALID_ARGUMENT"
1063
+ | "LOG_SINK_INSTANCE_UNAVAILABLE";
1064
+ export interface ErrorDetails {
1065
+ /** German description of the error */
1066
+ de?: string | undefined;
1067
+ /** English description of the error */
1068
+ en: string;
1069
+ /** Optional field in the request this error detail refers to */
1070
+ field?: string | undefined;
1071
+ key: ErrorDetailsKey;
1072
+ }
1073
+ /** Listing of issues with your request */
1074
+ export type GenericJsonResponseDetailsList = Array<ErrorDetails>;
1075
+ export interface GenericJsonResponse {
1076
+ /** Listing of issues with your request */
1077
+ details?: GenericJsonResponseDetailsList | undefined;
1078
+ message: string;
1079
+ }
1026
1080
  export type CreateDistributionError = BadRequest | UnprocessableEntity | StackitOpError;
1027
1081
  /** Create new distribution CreateDistribution will create a new CDN distribution */
1028
1082
  export const createDistribution: API.OperationMethod<
@@ -1031,9 +1085,10 @@ export const createDistribution: API.OperationMethod<
1031
1085
  CreateDistributionError,
1032
1086
  StackitOpContext
1033
1087
  > = /*@__PURE__*/ API.make(() => ({
1034
- input: __S(128, __c8, 0) as any as S.Schema<CreateDistributionRequest>,
1035
- output: __S(224, __c14, 0) as any as S.Schema<CreateDistributionResponse>,
1036
- errors: [BadRequest, UnprocessableEntity, UnknownStackitError],
1088
+ input: __S(144, __c9, 0) as any as S.Schema<CreateDistributionRequest>,
1089
+ output: __S(240, __c15, 0) as any as S.Schema<CreateDistributionResponse>,
1090
+ errors: [BadRequest, UnprocessableEntity],
1091
+ serviceErrors: StackitServiceErrors,
1037
1092
  protocol: StackitProtocol,
1038
1093
  retry: Retry.Retry,
1039
1094
  telemetry: TELEMETRY,
@@ -1048,9 +1103,10 @@ export const deleteCustomDomain: API.OperationMethod<
1048
1103
  DeleteCustomDomainError,
1049
1104
  StackitOpContext
1050
1105
  > = /*@__PURE__*/ API.make(() => ({
1051
- input: __S(240, __c15, 0) as any as S.Schema<DeleteCustomDomainRequest>,
1052
- output: __S(241, __c15, 1) as any as S.Schema<DeleteCustomDomainResponse>,
1053
- errors: [UnprocessableEntity, UnknownStackitError],
1106
+ input: __S(256, __c16, 0) as any as S.Schema<DeleteCustomDomainRequest>,
1107
+ output: __S(257, __c16, 1) as any as S.Schema<DeleteCustomDomainResponse>,
1108
+ errors: [UnprocessableEntity],
1109
+ serviceErrors: StackitServiceErrors,
1054
1110
  protocol: StackitProtocol,
1055
1111
  retry: Retry.Retry,
1056
1112
  telemetry: TELEMETRY,
@@ -1065,9 +1121,10 @@ export const deleteDistribution: API.OperationMethod<
1065
1121
  DeleteDistributionError,
1066
1122
  StackitOpContext
1067
1123
  > = /*@__PURE__*/ API.make(() => ({
1068
- input: __S(272, __c17, 0) as any as S.Schema<DeleteDistributionRequest>,
1069
- output: __S(273, __c17, 1) as any as S.Schema<DeleteDistributionResponse>,
1070
- errors: [UnprocessableEntity, UnknownStackitError],
1124
+ input: __S(288, __c18, 0) as any as S.Schema<DeleteDistributionRequest>,
1125
+ output: __S(289, __c18, 1) as any as S.Schema<DeleteDistributionResponse>,
1126
+ errors: [UnprocessableEntity],
1127
+ serviceErrors: StackitServiceErrors,
1071
1128
  protocol: StackitProtocol,
1072
1129
  retry: Retry.Retry,
1073
1130
  telemetry: TELEMETRY,
@@ -1082,9 +1139,10 @@ export const findCachePaths: API.OperationMethod<
1082
1139
  FindCachePathsError,
1083
1140
  StackitOpContext
1084
1141
  > = /*@__PURE__*/ API.make(() => ({
1085
- input: __S(288, __c18, 0) as any as S.Schema<FindCachePathsRequest>,
1086
- output: __S(291, __c18, 3) as any as S.Schema<FindCachePathsResponse>,
1087
- errors: [UnprocessableEntity, UnknownStackitError],
1142
+ input: __S(304, __c19, 0) as any as S.Schema<FindCachePathsRequest>,
1143
+ output: __S(307, __c19, 3) as any as S.Schema<FindCachePathsResponse>,
1144
+ errors: [UnprocessableEntity],
1145
+ serviceErrors: StackitServiceErrors,
1088
1146
  protocol: StackitProtocol,
1089
1147
  retry: Retry.Retry,
1090
1148
  telemetry: TELEMETRY,
@@ -1099,9 +1157,10 @@ export const getCacheInfo: API.OperationMethod<
1099
1157
  GetCacheInfoError,
1100
1158
  StackitOpContext
1101
1159
  > = /*@__PURE__*/ API.make(() => ({
1102
- input: __S(304, __c19, 0) as any as S.Schema<GetCacheInfoRequest>,
1103
- output: __S(307, __c19, 3) as any as S.Schema<GetCacheInfoResponse>,
1104
- errors: [UnprocessableEntity, UnknownStackitError],
1160
+ input: __S(320, __c20, 0) as any as S.Schema<GetCacheInfoRequest>,
1161
+ output: __S(323, __c20, 3) as any as S.Schema<GetCacheInfoResponse>,
1162
+ errors: [UnprocessableEntity],
1163
+ serviceErrors: StackitServiceErrors,
1105
1164
  protocol: StackitProtocol,
1106
1165
  retry: Retry.Retry,
1107
1166
  telemetry: TELEMETRY,
@@ -1116,9 +1175,10 @@ export const getCustomDomain: API.OperationMethod<
1116
1175
  GetCustomDomainError,
1117
1176
  StackitOpContext
1118
1177
  > = /*@__PURE__*/ API.make(() => ({
1119
- input: __S(320, __c20, 0) as any as S.Schema<GetCustomDomainRequest>,
1120
- output: __S(321, __c20, 1) as any as S.Schema<GetCustomDomainResponse>,
1121
- errors: [NotFound, UnprocessableEntity, UnknownStackitError],
1178
+ input: __S(336, __c21, 0) as any as S.Schema<GetCustomDomainRequest>,
1179
+ output: __S(337, __c21, 1) as any as S.Schema<GetCustomDomainResponse>,
1180
+ errors: [NotFound, UnprocessableEntity],
1181
+ serviceErrors: StackitServiceErrors,
1122
1182
  protocol: StackitProtocol,
1123
1183
  retry: Retry.Retry,
1124
1184
  telemetry: TELEMETRY,
@@ -1133,9 +1193,10 @@ export const getDistribution: API.OperationMethod<
1133
1193
  GetDistributionError,
1134
1194
  StackitOpContext
1135
1195
  > = /*@__PURE__*/ API.make(() => ({
1136
- input: __S(336, __c21, 0) as any as S.Schema<GetDistributionRequest>,
1137
- output: __S(224, __c14, 0) as any as S.Schema<GetDistributionResponse>,
1138
- errors: [NotFound, UnprocessableEntity, UnknownStackitError],
1196
+ input: __S(352, __c22, 0) as any as S.Schema<GetDistributionRequest>,
1197
+ output: __S(240, __c15, 0) as any as S.Schema<GetDistributionResponse>,
1198
+ errors: [NotFound, UnprocessableEntity],
1199
+ serviceErrors: StackitServiceErrors,
1139
1200
  protocol: StackitProtocol,
1140
1201
  retry: Retry.Retry,
1141
1202
  telemetry: TELEMETRY,
@@ -1150,9 +1211,10 @@ export const getLogs: API.OperationMethod<
1150
1211
  GetLogsError,
1151
1212
  StackitOpContext
1152
1213
  > = /*@__PURE__*/ API.make(() => ({
1153
- input: __S(0, __c0, 0) as any as S.Schema<GetLogsRequest>,
1154
- output: __S(4, __c0, 4) as any as S.Schema<GetLogsResponse>,
1155
- errors: [UnprocessableEntity, UnknownStackitError],
1214
+ input: __S(16, __c1, 0) as any as S.Schema<GetLogsRequest>,
1215
+ output: __S(20, __c1, 4) as any as S.Schema<GetLogsResponse>,
1216
+ errors: [UnprocessableEntity],
1217
+ serviceErrors: StackitServiceErrors,
1156
1218
  protocol: StackitProtocol,
1157
1219
  retry: Retry.Retry,
1158
1220
  telemetry: TELEMETRY,
@@ -1167,9 +1229,10 @@ export const getLogsSearchFilters: API.OperationMethod<
1167
1229
  GetLogsSearchFiltersError,
1168
1230
  StackitOpContext
1169
1231
  > = /*@__PURE__*/ API.make(() => ({
1170
- input: __S(16, __c1, 0) as any as S.Schema<GetLogsSearchFiltersRequest>,
1171
- output: __S(21, __c1, 5) as any as S.Schema<GetLogsSearchFiltersResponse>,
1172
- errors: [BadRequest, UnprocessableEntity, UnknownStackitError],
1232
+ input: __S(32, __c2, 0) as any as S.Schema<GetLogsSearchFiltersRequest>,
1233
+ output: __S(37, __c2, 5) as any as S.Schema<GetLogsSearchFiltersResponse>,
1234
+ errors: [BadRequest, UnprocessableEntity],
1235
+ serviceErrors: StackitServiceErrors,
1173
1236
  protocol: StackitProtocol,
1174
1237
  retry: Retry.Retry,
1175
1238
  telemetry: TELEMETRY,
@@ -1184,9 +1247,10 @@ export const getStatistics: API.OperationMethod<
1184
1247
  GetStatisticsError,
1185
1248
  StackitOpContext
1186
1249
  > = /*@__PURE__*/ API.make(() => ({
1187
- input: __S(32, __c2, 0) as any as S.Schema<GetStatisticsRequest>,
1188
- output: __S(37, __c2, 5) as any as S.Schema<GetStatisticsResponse>,
1189
- errors: [UnprocessableEntity, UnknownStackitError],
1250
+ input: __S(48, __c3, 0) as any as S.Schema<GetStatisticsRequest>,
1251
+ output: __S(53, __c3, 5) as any as S.Schema<GetStatisticsResponse>,
1252
+ errors: [UnprocessableEntity],
1253
+ serviceErrors: StackitServiceErrors,
1190
1254
  protocol: StackitProtocol,
1191
1255
  retry: Retry.Retry,
1192
1256
  telemetry: TELEMETRY,
@@ -1201,9 +1265,10 @@ export const listDistributions: API.OperationMethod<
1201
1265
  ListDistributionsError,
1202
1266
  StackitOpContext
1203
1267
  > = /*@__PURE__*/ API.make(() => ({
1204
- input: __S(48, __c3, 0) as any as S.Schema<ListDistributionsRequest>,
1205
- output: __S(50, __c3, 2) as any as S.Schema<ListDistributionsResponse>,
1206
- errors: [UnprocessableEntity, UnknownStackitError],
1268
+ input: __S(64, __c4, 0) as any as S.Schema<ListDistributionsRequest>,
1269
+ output: __S(66, __c4, 2) as any as S.Schema<ListDistributionsResponse>,
1270
+ errors: [UnprocessableEntity],
1271
+ serviceErrors: StackitServiceErrors,
1207
1272
  protocol: StackitProtocol,
1208
1273
  retry: Retry.Retry,
1209
1274
  telemetry: TELEMETRY,
@@ -1218,9 +1283,10 @@ export const listWafCollections: API.OperationMethod<
1218
1283
  ListWafCollectionsError,
1219
1284
  StackitOpContext
1220
1285
  > = /*@__PURE__*/ API.make(() => ({
1221
- input: __S(64, __c4, 0) as any as S.Schema<ListWafCollectionsRequest>,
1222
- output: __S(71, __c4, 7) as any as S.Schema<ListWafCollectionsResponse>,
1223
- errors: [UnprocessableEntity, UnknownStackitError],
1286
+ input: __S(80, __c5, 0) as any as S.Schema<ListWafCollectionsRequest>,
1287
+ output: __S(87, __c5, 7) as any as S.Schema<ListWafCollectionsResponse>,
1288
+ errors: [UnprocessableEntity],
1289
+ serviceErrors: StackitServiceErrors,
1224
1290
  protocol: StackitProtocol,
1225
1291
  retry: Retry.Retry,
1226
1292
  telemetry: TELEMETRY,
@@ -1235,9 +1301,10 @@ export const patchDistribution: API.OperationMethod<
1235
1301
  PatchDistributionError,
1236
1302
  StackitOpContext
1237
1303
  > = /*@__PURE__*/ API.make(() => ({
1238
- input: __S(85, __c5, 5) as any as S.Schema<PatchDistributionRequest>,
1239
- output: __S(224, __c14, 0) as any as S.Schema<PatchDistributionResponse>,
1240
- errors: [UnprocessableEntity, UnknownStackitError],
1304
+ input: __S(101, __c6, 5) as any as S.Schema<PatchDistributionRequest>,
1305
+ output: __S(240, __c15, 0) as any as S.Schema<PatchDistributionResponse>,
1306
+ errors: [UnprocessableEntity],
1307
+ serviceErrors: StackitServiceErrors,
1241
1308
  protocol: StackitProtocol,
1242
1309
  retry: Retry.Retry,
1243
1310
  telemetry: TELEMETRY,
@@ -1252,9 +1319,10 @@ export const purgeCache: API.OperationMethod<
1252
1319
  PurgeCacheError,
1253
1320
  StackitOpContext
1254
1321
  > = /*@__PURE__*/ API.make(() => ({
1255
- input: __S(96, __c6, 0) as any as S.Schema<PurgeCacheRequest>,
1256
- output: __S(97, __c6, 1) as any as S.Schema<PurgeCacheResponse2>,
1257
- errors: [UnprocessableEntity, UnknownStackitError],
1322
+ input: __S(112, __c7, 0) as any as S.Schema<PurgeCacheRequest>,
1323
+ output: __S(113, __c7, 1) as any as S.Schema<PurgeCacheResponse2>,
1324
+ errors: [UnprocessableEntity],
1325
+ serviceErrors: StackitServiceErrors,
1258
1326
  protocol: StackitProtocol,
1259
1327
  retry: Retry.Retry,
1260
1328
  telemetry: TELEMETRY,
@@ -1269,9 +1337,10 @@ export const putCustomDomain: API.OperationMethod<
1269
1337
  PutCustomDomainError,
1270
1338
  StackitOpContext
1271
1339
  > = /*@__PURE__*/ API.make(() => ({
1272
- input: __S(112, __c7, 0) as any as S.Schema<PutCustomDomainRequest>,
1273
- output: __S(113, __c7, 1) as any as S.Schema<PutCustomDomainResponse>,
1274
- errors: [UnprocessableEntity, UnknownStackitError],
1340
+ input: __S(128, __c8, 0) as any as S.Schema<PutCustomDomainRequest>,
1341
+ output: __S(129, __c8, 1) as any as S.Schema<PutCustomDomainResponse>,
1342
+ errors: [UnprocessableEntity],
1343
+ serviceErrors: StackitServiceErrors,
1275
1344
  protocol: StackitProtocol,
1276
1345
  retry: Retry.Retry,
1277
1346
  telemetry: TELEMETRY,
@@ -1280,6 +1349,28 @@ export const putCustomDomain: API.OperationMethod<
1280
1349
 
1281
1350
  // Schema builders: each runs one schema initializer, on that schema's first use.
1282
1351
  function __c0(j: number): any {
1352
+ switch (j) {
1353
+ case 0:
1354
+ return S.suspend(() =>
1355
+ S.Struct({
1356
+ de: S.optional(S.String),
1357
+ en: S.String,
1358
+ field: S.optional(S.String),
1359
+ key: S.String,
1360
+ }),
1361
+ ).annotate({ identifier: "ErrorDetails" });
1362
+ case 1:
1363
+ return S.Array(__S(0, __c0, 0));
1364
+ case 2:
1365
+ return S.suspend(() =>
1366
+ S.Struct({
1367
+ details: S.optional(__S(1, __c0, 1)),
1368
+ message: S.String,
1369
+ }),
1370
+ ).annotate({ identifier: "GenericJsonResponse" });
1371
+ }
1372
+ }
1373
+ function __c1(j: number): any {
1283
1374
  switch (j) {
1284
1375
  case 0:
1285
1376
  return S.suspend(() =>
@@ -1313,7 +1404,7 @@ function __c0(j: number): any {
1313
1404
  asn: S.String,
1314
1405
  message: S.String,
1315
1406
  method: S.String,
1316
- requestHeaders: __S(176, __c11, 0),
1407
+ requestHeaders: __S(192, __c12, 0),
1317
1408
  ruleId: S.String,
1318
1409
  }),
1319
1410
  ).annotate({ identifier: "WAFViolation" });
@@ -1329,21 +1420,21 @@ function __c0(j: number): any {
1329
1420
  size: S.Number,
1330
1421
  statusCode: S.Number,
1331
1422
  timestamp: S.String,
1332
- wafViolation: S.optional(__S(1, __c0, 1)),
1423
+ wafViolation: S.optional(__S(17, __c1, 1)),
1333
1424
  }),
1334
1425
  ).annotate({ identifier: "DistributionLogsRecord" });
1335
1426
  case 3:
1336
- return S.Array(__S(2, __c0, 2));
1427
+ return S.Array(__S(18, __c1, 2));
1337
1428
  case 4:
1338
1429
  return S.suspend(() =>
1339
1430
  S.Struct({
1340
- logs: __S(3, __c0, 3),
1431
+ logs: __S(19, __c1, 3),
1341
1432
  nextPageIdentifier: S.optional(S.String),
1342
1433
  }),
1343
1434
  ).annotate({ identifier: "GetLogsResponse" });
1344
1435
  }
1345
1436
  }
1346
- function __c1(j: number): any {
1437
+ function __c2(j: number): any {
1347
1438
  switch (j) {
1348
1439
  case 0:
1349
1440
  return S.suspend(() =>
@@ -1368,15 +1459,15 @@ function __c1(j: number): any {
1368
1459
  }),
1369
1460
  ).annotate({ identifier: "GetLogsSearchFiltersResponseDatacenterBlockItem" });
1370
1461
  case 2:
1371
- return S.Array(__S(17, __c1, 1));
1462
+ return S.Array(__S(33, __c2, 1));
1372
1463
  case 3:
1373
1464
  return S.suspend(() =>
1374
1465
  S.Struct({
1375
- AF: __S(18, __c1, 2),
1376
- ASIA: __S(18, __c1, 2),
1377
- EU: __S(18, __c1, 2),
1378
- NA: __S(18, __c1, 2),
1379
- SA: __S(18, __c1, 2),
1466
+ AF: __S(34, __c2, 2),
1467
+ ASIA: __S(34, __c2, 2),
1468
+ EU: __S(34, __c2, 2),
1469
+ NA: __S(34, __c2, 2),
1470
+ SA: __S(34, __c2, 2),
1380
1471
  }),
1381
1472
  ).annotate({ identifier: "GetLogsSearchFiltersResponseDatacenterBlock" });
1382
1473
  case 4:
@@ -1384,15 +1475,15 @@ function __c1(j: number): any {
1384
1475
  case 5:
1385
1476
  return S.suspend(() =>
1386
1477
  S.Struct({
1387
- cache: __S(193, __c12, 1),
1388
- dataCenter: __S(19, __c1, 3),
1389
- remoteCountry: __S(192, __c12, 0),
1390
- status: __S(20, __c1, 4),
1478
+ cache: __S(209, __c13, 1),
1479
+ dataCenter: __S(35, __c2, 3),
1480
+ remoteCountry: __S(208, __c13, 0),
1481
+ status: __S(36, __c2, 4),
1391
1482
  }),
1392
1483
  ).annotate({ identifier: "GetLogsSearchFiltersResponse" });
1393
1484
  }
1394
1485
  }
1395
- function __c2(j: number): any {
1486
+ function __c3(j: number): any {
1396
1487
  switch (j) {
1397
1488
  case 0:
1398
1489
  return S.suspend(() =>
@@ -1422,11 +1513,11 @@ function __c2(j: number): any {
1422
1513
  case 2:
1423
1514
  return S.suspend(() =>
1424
1515
  S.Struct({
1425
- AF: __S(33, __c2, 1),
1426
- ASIA: __S(33, __c2, 1),
1427
- EU: __S(33, __c2, 1),
1428
- SA: __S(33, __c2, 1),
1429
- US: __S(33, __c2, 1),
1516
+ AF: __S(49, __c3, 1),
1517
+ ASIA: __S(49, __c3, 1),
1518
+ EU: __S(49, __c3, 1),
1519
+ SA: __S(49, __c3, 1),
1520
+ US: __S(49, __c3, 1),
1430
1521
  }),
1431
1522
  ).annotate({ identifier: "DistributionStatisticsRecordRegions" });
1432
1523
  case 3:
@@ -1436,21 +1527,21 @@ function __c2(j: number): any {
1436
1527
  totalRequests: S.Number,
1437
1528
  totalTrafficBytes: S.Number,
1438
1529
  end: S.String,
1439
- regions: __S(34, __c2, 2),
1530
+ regions: __S(50, __c3, 2),
1440
1531
  start: S.String,
1441
1532
  }),
1442
1533
  ).annotate({ identifier: "DistributionStatisticsRecord" });
1443
1534
  case 4:
1444
- return S.Array(__S(35, __c2, 3));
1535
+ return S.Array(__S(51, __c3, 3));
1445
1536
  case 5:
1446
1537
  return S.suspend(() =>
1447
1538
  S.Struct({
1448
- records: __S(36, __c2, 4),
1539
+ records: __S(52, __c3, 4),
1449
1540
  }),
1450
1541
  ).annotate({ identifier: "GetStatisticsResponse" });
1451
1542
  }
1452
1543
  }
1453
- function __c3(j: number): any {
1544
+ function __c4(j: number): any {
1454
1545
  switch (j) {
1455
1546
  case 0:
1456
1547
  return S.suspend(() =>
@@ -1471,17 +1562,17 @@ function __c3(j: number): any {
1471
1562
  ),
1472
1563
  ).annotate({ identifier: "ListDistributionsRequest" });
1473
1564
  case 1:
1474
- return S.Array(__S(223, __c13, 15));
1565
+ return S.Array(__S(239, __c14, 15));
1475
1566
  case 2:
1476
1567
  return S.suspend(() =>
1477
1568
  S.Struct({
1478
- distributions: __S(49, __c3, 1),
1569
+ distributions: __S(65, __c4, 1),
1479
1570
  nextPageIdentifier: S.optional(S.String),
1480
1571
  }),
1481
1572
  ).annotate({ identifier: "ListDistributionsResponse" });
1482
1573
  }
1483
1574
  }
1484
- function __c4(j: number): any {
1575
+ function __c5(j: number): any {
1485
1576
  switch (j) {
1486
1577
  case 0:
1487
1578
  return S.suspend(() =>
@@ -1500,41 +1591,41 @@ function __c4(j: number): any {
1500
1591
  return S.suspend(() =>
1501
1592
  S.Struct({
1502
1593
  code: S.optional(S.String),
1503
- description: __S(176, __c11, 0),
1594
+ description: __S(192, __c12, 0),
1504
1595
  id: S.String,
1505
1596
  }),
1506
1597
  ).annotate({ identifier: "WafRule" });
1507
1598
  case 2:
1508
- return S.Array(__S(65, __c4, 1));
1599
+ return S.Array(__S(81, __c5, 1));
1509
1600
  case 3:
1510
1601
  return S.suspend(() =>
1511
1602
  S.Struct({
1512
- description: __S(176, __c11, 0),
1513
- name: __S(176, __c11, 0),
1514
- rules: __S(66, __c4, 2),
1603
+ description: __S(192, __c12, 0),
1604
+ name: __S(192, __c12, 0),
1605
+ rules: __S(82, __c5, 2),
1515
1606
  }),
1516
1607
  ).annotate({ identifier: "WafRuleGroup" });
1517
1608
  case 4:
1518
- return S.Array(__S(67, __c4, 3));
1609
+ return S.Array(__S(83, __c5, 3));
1519
1610
  case 5:
1520
1611
  return S.suspend(() =>
1521
1612
  S.Struct({
1522
- groups: __S(68, __c4, 4),
1613
+ groups: __S(84, __c5, 4),
1523
1614
  id: S.String,
1524
- name: __S(176, __c11, 0),
1615
+ name: __S(192, __c12, 0),
1525
1616
  }),
1526
1617
  ).annotate({ identifier: "WafRuleCollection" });
1527
1618
  case 6:
1528
- return S.Array(__S(69, __c4, 5));
1619
+ return S.Array(__S(85, __c5, 5));
1529
1620
  case 7:
1530
1621
  return S.suspend(() =>
1531
1622
  S.Struct({
1532
- collections: __S(70, __c4, 6),
1623
+ collections: __S(86, __c5, 6),
1533
1624
  }),
1534
1625
  ).annotate({ identifier: "ListWafCollectionsResponse" });
1535
1626
  }
1536
1627
  }
1537
- function __c5(j: number): any {
1628
+ function __c6(j: number): any {
1538
1629
  switch (j) {
1539
1630
  case 0:
1540
1631
  return S.Record(S.String, /*@__PURE__*/ S.NullOr(S.String));
@@ -1554,18 +1645,18 @@ function __c5(j: number): any {
1554
1645
  case 3:
1555
1646
  return S.suspend(() =>
1556
1647
  S.Struct({
1557
- allowedHttpMethods: S.optional(__S(192, __c12, 0)),
1558
- allowedHttpVersions: S.optional(__S(192, __c12, 0)),
1559
- allowedRequestContentTypes: S.optional(__S(192, __c12, 0)),
1560
- disabledRuleCollectionIds: S.optional(__S(192, __c12, 0)),
1561
- disabledRuleGroupIds: S.optional(__S(192, __c12, 0)),
1562
- disabledRuleIds: S.optional(__S(192, __c12, 0)),
1563
- enabledRuleCollectionIds: S.optional(__S(192, __c12, 0)),
1564
- enabledRuleGroupIds: S.optional(__S(192, __c12, 0)),
1565
- enabledRuleIds: S.optional(__S(192, __c12, 0)),
1566
- logOnlyRuleCollectionIds: S.optional(__S(192, __c12, 0)),
1567
- logOnlyRuleGroupIds: S.optional(__S(192, __c12, 0)),
1568
- logOnlyRuleIds: S.optional(__S(192, __c12, 0)),
1648
+ allowedHttpMethods: S.optional(__S(208, __c13, 0)),
1649
+ allowedHttpVersions: S.optional(__S(208, __c13, 0)),
1650
+ allowedRequestContentTypes: S.optional(__S(208, __c13, 0)),
1651
+ disabledRuleCollectionIds: S.optional(__S(208, __c13, 0)),
1652
+ disabledRuleGroupIds: S.optional(__S(208, __c13, 0)),
1653
+ disabledRuleIds: S.optional(__S(208, __c13, 0)),
1654
+ enabledRuleCollectionIds: S.optional(__S(208, __c13, 0)),
1655
+ enabledRuleGroupIds: S.optional(__S(208, __c13, 0)),
1656
+ enabledRuleIds: S.optional(__S(208, __c13, 0)),
1657
+ logOnlyRuleCollectionIds: S.optional(__S(208, __c13, 0)),
1658
+ logOnlyRuleGroupIds: S.optional(__S(208, __c13, 0)),
1659
+ logOnlyRuleIds: S.optional(__S(208, __c13, 0)),
1569
1660
  mode: S.optional(S.String),
1570
1661
  paranoiaLevel: S.optional(S.String),
1571
1662
  type: S.optional(S.String),
@@ -1575,20 +1666,22 @@ function __c5(j: number): any {
1575
1666
  return S.suspend(() =>
1576
1667
  S.Struct({
1577
1668
  backend: S.optional(S.Unknown),
1578
- blockedCountries: S.optional(__S(192, __c12, 0)),
1579
- blockedIps: S.optional(__S(192, __c12, 0)),
1580
- cacheConfig: S.optional(__S(144, __c9, 0)),
1669
+ blockedCountries: S.optional(__S(208, __c13, 0)),
1670
+ blockedIps: S.optional(__S(208, __c13, 0)),
1671
+ cacheConfig: S.optional(__S(160, __c10, 0)),
1672
+ custom404ErrorResponse: S.optional(S.NullOr(S.String)),
1581
1673
  defaultCacheDuration: S.optional(S.NullOr(S.String)),
1674
+ defaultRootObject: S.optional(S.NullOr(S.String)),
1582
1675
  forwardHostHeader: S.optional(S.Boolean),
1583
- labels: S.optional(__S(80, __c5, 0)),
1676
+ labels: S.optional(__S(96, __c6, 0)),
1584
1677
  logSink: S.optional(S.NullOr(S.Unknown)),
1585
1678
  monthlyLimitBytes: S.optional(S.NullOr(S.Number)),
1586
- optimizer: S.optional(__S(81, __c5, 1)),
1587
- redirects: S.optional(__S(213, __c13, 5)),
1588
- regions: S.optional(__S(193, __c12, 1)),
1679
+ optimizer: S.optional(__S(97, __c6, 1)),
1680
+ redirects: S.optional(__S(229, __c14, 5)),
1681
+ regions: S.optional(__S(209, __c13, 1)),
1589
1682
  stripResponseCookies: S.optional(S.Boolean),
1590
- tls: S.optional(__S(82, __c5, 2)),
1591
- waf: S.optional(__S(83, __c5, 3)),
1683
+ tls: S.optional(__S(98, __c6, 2)),
1684
+ waf: S.optional(__S(99, __c6, 3)),
1592
1685
  }),
1593
1686
  ).annotate({ identifier: "ConfigPatch" });
1594
1687
  case 5:
@@ -1596,7 +1689,7 @@ function __c5(j: number): any {
1596
1689
  S.Struct({
1597
1690
  projectId: S.String.pipe(T.Label()),
1598
1691
  distributionId: S.String.pipe(T.Label()),
1599
- config: S.optional(__S(84, __c5, 4)),
1692
+ config: S.optional(__S(100, __c6, 4)),
1600
1693
  intentId: S.optional(S.String),
1601
1694
  }).pipe(
1602
1695
  T.Http({
@@ -1609,7 +1702,7 @@ function __c5(j: number): any {
1609
1702
  ).annotate({ identifier: "PatchDistributionRequest" });
1610
1703
  }
1611
1704
  }
1612
- function __c6(j: number): any {
1705
+ function __c7(j: number): any {
1613
1706
  switch (j) {
1614
1707
  case 0:
1615
1708
  return S.suspend(() =>
@@ -1632,7 +1725,7 @@ function __c6(j: number): any {
1632
1725
  });
1633
1726
  }
1634
1727
  }
1635
- function __c7(j: number): any {
1728
+ function __c8(j: number): any {
1636
1729
  switch (j) {
1637
1730
  case 0:
1638
1731
  return S.suspend(() =>
@@ -1655,33 +1748,35 @@ function __c7(j: number): any {
1655
1748
  return S.suspend(() =>
1656
1749
  S.Struct({
1657
1750
  certificate: S.optional(S.Unknown),
1658
- customDomain: __S(256, __c16, 0),
1751
+ customDomain: __S(272, __c17, 0),
1659
1752
  }),
1660
1753
  ).annotate({ identifier: "PutCustomDomainResponse" });
1661
1754
  }
1662
1755
  }
1663
- function __c8(j: number): any {
1756
+ function __c9(j: number): any {
1664
1757
  switch (j) {
1665
1758
  case 0:
1666
1759
  return S.suspend(() =>
1667
1760
  S.Struct({
1668
1761
  projectId: S.String.pipe(T.Label()),
1669
1762
  backend: S.Unknown,
1670
- blockedCountries: S.optional(__S(192, __c12, 0)),
1671
- blockedIps: S.optional(__S(192, __c12, 0)),
1672
- cacheConfig: S.optional(__S(144, __c9, 0)),
1763
+ blockedCountries: S.optional(__S(208, __c13, 0)),
1764
+ blockedIps: S.optional(__S(208, __c13, 0)),
1765
+ cacheConfig: S.optional(__S(160, __c10, 0)),
1766
+ custom404ErrorResponse: S.optional(S.String),
1673
1767
  defaultCacheDuration: S.optional(S.String),
1768
+ defaultRootObject: S.optional(S.String),
1674
1769
  forwardHostHeader: S.optional(S.Boolean),
1675
1770
  intentId: S.optional(S.String),
1676
- labels: S.optional(__S(176, __c11, 0)),
1771
+ labels: S.optional(__S(192, __c12, 0)),
1677
1772
  logSink: S.optional(S.Unknown),
1678
1773
  monthlyLimitBytes: S.optional(S.Number),
1679
- optimizer: S.optional(__S(208, __c13, 0)),
1680
- redirects: S.optional(__S(213, __c13, 5)),
1681
- regions: __S(193, __c12, 1),
1774
+ optimizer: S.optional(__S(224, __c14, 0)),
1775
+ redirects: S.optional(__S(229, __c14, 5)),
1776
+ regions: __S(209, __c13, 1),
1682
1777
  stripResponseCookies: S.optional(S.Boolean),
1683
- tls: S.optional(__S(214, __c13, 6)),
1684
- waf: S.optional(__S(215, __c13, 7)),
1778
+ tls: S.optional(__S(230, __c14, 6)),
1779
+ waf: S.optional(__S(231, __c14, 7)),
1685
1780
  }).pipe(
1686
1781
  T.Http({
1687
1782
  method: "POST",
@@ -1693,19 +1788,19 @@ function __c8(j: number): any {
1693
1788
  ).annotate({ identifier: "CreateDistributionRequest" });
1694
1789
  }
1695
1790
  }
1696
- function __c9(j: number): any {
1791
+ function __c10(j: number): any {
1697
1792
  switch (j) {
1698
1793
  case 0:
1699
1794
  return S.suspend(() =>
1700
1795
  S.Struct({
1701
- cacheKeyHeaders: S.optional(__S(192, __c12, 0)),
1796
+ cacheKeyHeaders: S.optional(__S(208, __c13, 0)),
1702
1797
  queryStringVaryEnabled: S.optional(S.Boolean),
1703
- queryStringVaryParameters: S.optional(__S(192, __c12, 0)),
1798
+ queryStringVaryParameters: S.optional(__S(208, __c13, 0)),
1704
1799
  }),
1705
1800
  ).annotate({ identifier: "CacheConfigCreate" });
1706
1801
  }
1707
1802
  }
1708
- function __c10(j: number): any {
1803
+ function __c11(j: number): any {
1709
1804
  switch (j) {
1710
1805
  case 0:
1711
1806
  return S.suspend(() =>
@@ -1716,16 +1811,16 @@ function __c10(j: number): any {
1716
1811
  }),
1717
1812
  ).annotate({ identifier: "StatusError" });
1718
1813
  case 1:
1719
- return S.Array(__S(160, __c10, 0));
1814
+ return S.Array(__S(176, __c11, 0));
1720
1815
  }
1721
1816
  }
1722
- function __c11(j: number): any {
1817
+ function __c12(j: number): any {
1723
1818
  switch (j) {
1724
1819
  case 0:
1725
1820
  return S.Record(S.String, S.String);
1726
1821
  }
1727
1822
  }
1728
- function __c12(j: number): any {
1823
+ function __c13(j: number): any {
1729
1824
  switch (j) {
1730
1825
  case 0:
1731
1826
  return S.Array(S.String);
@@ -1733,7 +1828,7 @@ function __c12(j: number): any {
1733
1828
  return S.Array(S.String);
1734
1829
  }
1735
1830
  }
1736
- function __c13(j: number): any {
1831
+ function __c14(j: number): any {
1737
1832
  switch (j) {
1738
1833
  case 0:
1739
1834
  return S.suspend(() =>
@@ -1745,28 +1840,28 @@ function __c13(j: number): any {
1745
1840
  return S.suspend(() =>
1746
1841
  S.Struct({
1747
1842
  valueMatchCondition: S.optional(S.String),
1748
- values: __S(192, __c12, 0),
1843
+ values: __S(208, __c13, 0),
1749
1844
  }),
1750
1845
  ).annotate({ identifier: "Matcher" });
1751
1846
  case 2:
1752
- return S.Array(__S(209, __c13, 1));
1847
+ return S.Array(__S(225, __c14, 1));
1753
1848
  case 3:
1754
1849
  return S.suspend(() =>
1755
1850
  S.Struct({
1756
1851
  description: S.optional(S.String),
1757
1852
  enabled: S.optional(S.Boolean),
1758
- matchers: __S(210, __c13, 2),
1853
+ matchers: __S(226, __c14, 2),
1759
1854
  ruleMatchCondition: S.optional(S.String),
1760
1855
  statusCode: S.Number,
1761
1856
  targetUrl: S.String,
1762
1857
  }),
1763
1858
  ).annotate({ identifier: "RedirectRule" });
1764
1859
  case 4:
1765
- return S.Array(__S(211, __c13, 3));
1860
+ return S.Array(__S(227, __c14, 3));
1766
1861
  case 5:
1767
1862
  return S.suspend(() =>
1768
1863
  S.Struct({
1769
- rules: S.optional(__S(212, __c13, 4)),
1864
+ rules: S.optional(__S(228, __c14, 4)),
1770
1865
  }),
1771
1866
  ).annotate({ identifier: "RedirectConfig" });
1772
1867
  case 6:
@@ -1779,18 +1874,18 @@ function __c13(j: number): any {
1779
1874
  case 7:
1780
1875
  return S.suspend(() =>
1781
1876
  S.Struct({
1782
- allowedHttpMethods: S.optional(__S(192, __c12, 0)),
1783
- allowedHttpVersions: S.optional(__S(192, __c12, 0)),
1784
- allowedRequestContentTypes: S.optional(__S(192, __c12, 0)),
1785
- disabledRuleCollectionIds: S.optional(__S(192, __c12, 0)),
1786
- disabledRuleGroupIds: S.optional(__S(192, __c12, 0)),
1787
- disabledRuleIds: S.optional(__S(192, __c12, 0)),
1788
- enabledRuleCollectionIds: S.optional(__S(192, __c12, 0)),
1789
- enabledRuleGroupIds: S.optional(__S(192, __c12, 0)),
1790
- enabledRuleIds: __S(192, __c12, 0),
1791
- logOnlyRuleCollectionIds: S.optional(__S(192, __c12, 0)),
1792
- logOnlyRuleGroupIds: S.optional(__S(192, __c12, 0)),
1793
- logOnlyRuleIds: S.optional(__S(192, __c12, 0)),
1877
+ allowedHttpMethods: S.optional(__S(208, __c13, 0)),
1878
+ allowedHttpVersions: S.optional(__S(208, __c13, 0)),
1879
+ allowedRequestContentTypes: S.optional(__S(208, __c13, 0)),
1880
+ disabledRuleCollectionIds: S.optional(__S(208, __c13, 0)),
1881
+ disabledRuleGroupIds: S.optional(__S(208, __c13, 0)),
1882
+ disabledRuleIds: S.optional(__S(208, __c13, 0)),
1883
+ enabledRuleCollectionIds: S.optional(__S(208, __c13, 0)),
1884
+ enabledRuleGroupIds: S.optional(__S(208, __c13, 0)),
1885
+ enabledRuleIds: __S(208, __c13, 0),
1886
+ logOnlyRuleCollectionIds: S.optional(__S(208, __c13, 0)),
1887
+ logOnlyRuleGroupIds: S.optional(__S(208, __c13, 0)),
1888
+ logOnlyRuleIds: S.optional(__S(208, __c13, 0)),
1794
1889
  mode: S.String,
1795
1890
  paranoiaLevel: S.optional(S.String),
1796
1891
  type: S.String,
@@ -1799,43 +1894,45 @@ function __c13(j: number): any {
1799
1894
  case 8:
1800
1895
  return S.suspend(() =>
1801
1896
  S.Struct({
1802
- cacheKeyHeaders: __S(192, __c12, 0),
1897
+ cacheKeyHeaders: __S(208, __c13, 0),
1803
1898
  queryStringVaryEnabled: S.Boolean,
1804
- queryStringVaryParameters: __S(192, __c12, 0),
1899
+ queryStringVaryParameters: __S(208, __c13, 0),
1805
1900
  }),
1806
1901
  ).annotate({ identifier: "CacheConfig" });
1807
1902
  case 9:
1808
1903
  return S.suspend(() =>
1809
1904
  S.Struct({
1810
1905
  backend: S.Unknown,
1811
- blockedCountries: __S(192, __c12, 0),
1812
- blockedIps: __S(192, __c12, 0),
1813
- cacheConfig: __S(216, __c13, 8),
1906
+ blockedCountries: __S(208, __c13, 0),
1907
+ blockedIps: __S(208, __c13, 0),
1908
+ cacheConfig: __S(232, __c14, 8),
1909
+ custom404ErrorResponse: S.optional(S.NullOr(S.String)),
1814
1910
  defaultCacheDuration: S.optional(S.NullOr(S.String)),
1911
+ defaultRootObject: S.optional(S.NullOr(S.String)),
1815
1912
  forwardHostHeader: S.Boolean,
1816
- labels: S.optional(__S(176, __c11, 0)),
1913
+ labels: S.optional(__S(192, __c12, 0)),
1817
1914
  logSink: S.optional(S.Unknown),
1818
1915
  monthlyLimitBytes: S.optional(S.NullOr(S.Number)),
1819
- optimizer: S.optional(__S(208, __c13, 0)),
1820
- redirects: S.optional(__S(213, __c13, 5)),
1821
- regions: __S(193, __c12, 1),
1916
+ optimizer: S.optional(__S(224, __c14, 0)),
1917
+ redirects: S.optional(__S(229, __c14, 5)),
1918
+ regions: __S(209, __c13, 1),
1822
1919
  stripResponseCookies: S.Boolean,
1823
- tls: __S(214, __c13, 6),
1824
- waf: __S(215, __c13, 7),
1920
+ tls: __S(230, __c14, 6),
1921
+ waf: __S(231, __c14, 7),
1825
1922
  }),
1826
1923
  ).annotate({ identifier: "Config" });
1827
1924
  case 10:
1828
1925
  return S.suspend(() =>
1829
1926
  S.Struct({
1830
1927
  certificateType: S.String,
1831
- errors: S.optional(__S(161, __c10, 1)),
1928
+ errors: S.optional(__S(177, __c11, 1)),
1832
1929
  name: S.String,
1833
1930
  status: S.String,
1834
1931
  type: S.String,
1835
1932
  }),
1836
1933
  ).annotate({ identifier: "Domain" });
1837
1934
  case 11:
1838
- return S.Array(__S(218, __c13, 10));
1935
+ return S.Array(__S(234, __c14, 10));
1839
1936
  case 12:
1840
1937
  return S.suspend(() =>
1841
1938
  S.Struct({
@@ -1844,42 +1941,42 @@ function __c13(j: number): any {
1844
1941
  }),
1845
1942
  ).annotate({ identifier: "WafStatusRuleBlock" });
1846
1943
  case 13:
1847
- return S.Array(__S(220, __c13, 12));
1944
+ return S.Array(__S(236, __c14, 12));
1848
1945
  case 14:
1849
1946
  return S.suspend(() =>
1850
1947
  S.Struct({
1851
- disabledRules: __S(221, __c13, 13),
1852
- enabledRules: __S(221, __c13, 13),
1853
- logOnlyRules: __S(221, __c13, 13),
1948
+ disabledRules: __S(237, __c14, 13),
1949
+ enabledRules: __S(237, __c14, 13),
1950
+ logOnlyRules: __S(237, __c14, 13),
1854
1951
  }),
1855
1952
  ).annotate({ identifier: "DistributionWaf" });
1856
1953
  case 15:
1857
1954
  return S.suspend(() =>
1858
1955
  S.Struct({
1859
- config: __S(217, __c13, 9),
1956
+ config: __S(233, __c14, 9),
1860
1957
  createdAt: S.String,
1861
- domains: __S(219, __c13, 11),
1862
- errors: S.optional(__S(161, __c10, 1)),
1958
+ domains: __S(235, __c14, 11),
1959
+ errors: S.optional(__S(177, __c11, 1)),
1863
1960
  id: S.String,
1864
1961
  projectId: S.String,
1865
1962
  status: S.String,
1866
1963
  updatedAt: S.String,
1867
- waf: S.optional(__S(222, __c13, 14)),
1964
+ waf: S.optional(__S(238, __c14, 14)),
1868
1965
  }),
1869
1966
  ).annotate({ identifier: "Distribution" });
1870
1967
  }
1871
1968
  }
1872
- function __c14(j: number): any {
1969
+ function __c15(j: number): any {
1873
1970
  switch (j) {
1874
1971
  case 0:
1875
1972
  return S.suspend(() =>
1876
1973
  S.Struct({
1877
- distribution: __S(223, __c13, 15),
1974
+ distribution: __S(239, __c14, 15),
1878
1975
  }),
1879
1976
  ).annotate({ identifier: "CreateDistributionResponse" });
1880
1977
  }
1881
1978
  }
1882
- function __c15(j: number): any {
1979
+ function __c16(j: number): any {
1883
1980
  switch (j) {
1884
1981
  case 0:
1885
1982
  return S.suspend(() =>
@@ -1900,24 +1997,24 @@ function __c15(j: number): any {
1900
1997
  case 1:
1901
1998
  return S.suspend(() =>
1902
1999
  S.Struct({
1903
- customDomain: S.optional(__S(256, __c16, 0)),
2000
+ customDomain: S.optional(__S(272, __c17, 0)),
1904
2001
  }),
1905
2002
  ).annotate({ identifier: "DeleteCustomDomainResponse" });
1906
2003
  }
1907
2004
  }
1908
- function __c16(j: number): any {
2005
+ function __c17(j: number): any {
1909
2006
  switch (j) {
1910
2007
  case 0:
1911
2008
  return S.suspend(() =>
1912
2009
  S.Struct({
1913
- errors: S.optional(__S(161, __c10, 1)),
2010
+ errors: S.optional(__S(177, __c11, 1)),
1914
2011
  name: S.String,
1915
2012
  status: S.String,
1916
2013
  }),
1917
2014
  ).annotate({ identifier: "CustomDomain" });
1918
2015
  }
1919
2016
  }
1920
- function __c17(j: number): any {
2017
+ function __c18(j: number): any {
1921
2018
  switch (j) {
1922
2019
  case 0:
1923
2020
  return S.suspend(() =>
@@ -1937,12 +2034,12 @@ function __c17(j: number): any {
1937
2034
  case 1:
1938
2035
  return S.suspend(() =>
1939
2036
  S.Struct({
1940
- distribution: S.optional(__S(223, __c13, 15)),
2037
+ distribution: S.optional(__S(239, __c14, 15)),
1941
2038
  }),
1942
2039
  ).annotate({ identifier: "DeleteDistributionResponse" });
1943
2040
  }
1944
2041
  }
1945
- function __c18(j: number): any {
2042
+ function __c19(j: number): any {
1946
2043
  switch (j) {
1947
2044
  case 0:
1948
2045
  return S.suspend(() =>
@@ -1966,16 +2063,16 @@ function __c18(j: number): any {
1966
2063
  }),
1967
2064
  ).annotate({ identifier: "FindCachePathsResponseEntry" });
1968
2065
  case 2:
1969
- return S.Array(__S(289, __c18, 1));
2066
+ return S.Array(__S(305, __c19, 1));
1970
2067
  case 3:
1971
2068
  return S.suspend(() =>
1972
2069
  S.Struct({
1973
- response: __S(290, __c18, 2),
2070
+ response: __S(306, __c19, 2),
1974
2071
  }),
1975
2072
  ).annotate({ identifier: "FindCachePathsResponse" });
1976
2073
  }
1977
2074
  }
1978
- function __c19(j: number): any {
2075
+ function __c20(j: number): any {
1979
2076
  switch (j) {
1980
2077
  case 0:
1981
2078
  return S.suspend(() =>
@@ -2000,17 +2097,17 @@ function __c19(j: number): any {
2000
2097
  }),
2001
2098
  ).annotate({ identifier: "GetCacheInfoResponseHistoryEntry" });
2002
2099
  case 2:
2003
- return S.Array(__S(305, __c19, 1));
2100
+ return S.Array(__S(321, __c20, 1));
2004
2101
  case 3:
2005
2102
  return S.suspend(() =>
2006
2103
  S.Struct({
2007
- history: __S(306, __c19, 2),
2104
+ history: __S(322, __c20, 2),
2008
2105
  lastPurgeTime: S.NullOr(S.String),
2009
2106
  }),
2010
2107
  ).annotate({ identifier: "GetCacheInfoResponse" });
2011
2108
  }
2012
2109
  }
2013
- function __c20(j: number): any {
2110
+ function __c21(j: number): any {
2014
2111
  switch (j) {
2015
2112
  case 0:
2016
2113
  return S.suspend(() =>
@@ -2031,12 +2128,12 @@ function __c20(j: number): any {
2031
2128
  return S.suspend(() =>
2032
2129
  S.Struct({
2033
2130
  certificate: S.Unknown,
2034
- customDomain: __S(256, __c16, 0),
2131
+ customDomain: __S(272, __c17, 0),
2035
2132
  }),
2036
2133
  ).annotate({ identifier: "GetCustomDomainResponse" });
2037
2134
  }
2038
2135
  }
2039
- function __c21(j: number): any {
2136
+ function __c22(j: number): any {
2040
2137
  switch (j) {
2041
2138
  case 0:
2042
2139
  return S.suspend(() =>