@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
@@ -3,7 +3,7 @@ import * as C from "@distilled.cloud/core/category";
3
3
  // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
4
4
  import * as S from "@distilled.cloud/core/schema-lite";
5
5
  import * as __L from "@distilled.cloud/core/schema-lite";
6
- import { UnknownStackitError } from "../errors.ts";
6
+ import { StackitServiceErrors } from "../errors.ts";
7
7
  import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
8
8
  import * as Retry from "../retry.ts";
9
9
  import * as T from "../traits.ts";
@@ -30,18 +30,32 @@ export class BadRequest
30
30
  /*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
31
31
  code: S.Number,
32
32
  message: S.String,
33
+ body: /*@__PURE__*/ S.optional(
34
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
35
+ ),
36
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
33
37
  }).pipe(C.withBadRequestError),
34
38
  [{ status: 400 }],
35
- ) {}
39
+ )
40
+ {
41
+ declare readonly body?: ValidationError | string;
42
+ }
36
43
 
37
44
  export class Conflict
38
45
  extends /*@__PURE__*/ T.applyErrorMatchers(
39
46
  /*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
40
47
  code: S.Number,
41
48
  message: S.String,
49
+ body: /*@__PURE__*/ S.optional(
50
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(8, __c1, 0)), S.String]),
51
+ ),
52
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
42
53
  }).pipe(C.withConflictError),
43
54
  [{ status: 409 }],
44
- ) {}
55
+ )
56
+ {
57
+ declare readonly body?: ConflictError | string;
58
+ }
45
59
 
46
60
  /** List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) */
47
61
  export type CreateResourcePoolRequestIpAclList = Array<string>;
@@ -561,6 +575,33 @@ export interface UpdateShareExportPolicyRequest {
561
575
  export interface UpdateShareExportPolicyResponse {
562
576
  shareExportPolicy?: ShareExportPolicy | undefined;
563
577
  }
578
+ export interface ValidationErrorField {
579
+ /** The name of the field in the request that has failed the validation */
580
+ field: string;
581
+ /** The reason why the validation failed */
582
+ reason: string;
583
+ }
584
+ export type ValidationErrorFieldsList = Array<ValidationErrorField>;
585
+ export interface ValidationError {
586
+ /** Human-readable string of the error that occured */
587
+ error_description?: unknown | undefined;
588
+ /** Human-readable description of the error that occurred. */
589
+ title: string;
590
+ /** URI Uniquely identifies the error type. It will be in the format of storage.stackit.cloud/<error-type> e.g. storage.stackit.cloud/validation-error */
591
+ type: string;
592
+ fields: ValidationErrorFieldsList;
593
+ }
594
+ /** Conflict error response */
595
+ export interface ConflictError {
596
+ /** Human-readable explanation of the specific problem */
597
+ detail: string;
598
+ /** Human-readable string of the error that occurred */
599
+ error_description: string;
600
+ /** The HTTP status code */
601
+ status_code: number;
602
+ /** URI Uniquely identifies the error type. It will be in the format of storage.stackit.cloud/<error-type> e.g. storage.stackit.cloud/conflict */
603
+ type: string;
604
+ }
564
605
  export type CreateResourcePoolError = BadRequest | Conflict | StackitOpError;
565
606
  /** Create Resource Pool Create a Resource Pool in a project. */
566
607
  export const createResourcePool: API.OperationMethod<
@@ -569,9 +610,10 @@ export const createResourcePool: API.OperationMethod<
569
610
  CreateResourcePoolError,
570
611
  StackitOpContext
571
612
  > = /*@__PURE__*/ API.make(() => ({
572
- input: __S(96, __c12, 0) as any as S.Schema<CreateResourcePoolRequest>,
573
- output: __S(112, __c14, 0) as any as S.Schema<CreateResourcePoolResponse>,
574
- errors: [BadRequest, Conflict, UnknownStackitError],
613
+ input: __S(112, __c14, 0) as any as S.Schema<CreateResourcePoolRequest>,
614
+ output: __S(128, __c16, 0) as any as S.Schema<CreateResourcePoolResponse>,
615
+ errors: [BadRequest, Conflict],
616
+ serviceErrors: StackitServiceErrors,
575
617
  protocol: StackitProtocol,
576
618
  retry: Retry.Retry,
577
619
  telemetry: TELEMETRY,
@@ -586,9 +628,10 @@ export const createResourcePoolSnapshot: API.OperationMethod<
586
628
  CreateResourcePoolSnapshotError,
587
629
  StackitOpContext
588
630
  > = /*@__PURE__*/ API.make(() => ({
589
- input: __S(192, __c24, 0) as any as S.Schema<CreateResourcePoolSnapshotRequest>,
590
- output: __S(208, __c26, 0) as any as S.Schema<CreateResourcePoolSnapshotResponse>,
591
- errors: [BadRequest, Conflict, UnknownStackitError],
631
+ input: __S(208, __c26, 0) as any as S.Schema<CreateResourcePoolSnapshotRequest>,
632
+ output: __S(224, __c28, 0) as any as S.Schema<CreateResourcePoolSnapshotResponse>,
633
+ errors: [BadRequest, Conflict],
634
+ serviceErrors: StackitServiceErrors,
592
635
  protocol: StackitProtocol,
593
636
  retry: Retry.Retry,
594
637
  telemetry: TELEMETRY,
@@ -603,9 +646,10 @@ export const createShare: API.OperationMethod<
603
646
  CreateShareError,
604
647
  StackitOpContext
605
648
  > = /*@__PURE__*/ API.make(() => ({
606
- input: __S(216, __c27, 0) as any as S.Schema<CreateShareRequest>,
607
- output: __S(232, __c29, 0) as any as S.Schema<CreateShareResponse>,
608
- errors: [BadRequest, Conflict, UnknownStackitError],
649
+ input: __S(232, __c29, 0) as any as S.Schema<CreateShareRequest>,
650
+ output: __S(248, __c31, 0) as any as S.Schema<CreateShareResponse>,
651
+ errors: [BadRequest, Conflict],
652
+ serviceErrors: StackitServiceErrors,
609
653
  protocol: StackitProtocol,
610
654
  retry: Retry.Retry,
611
655
  telemetry: TELEMETRY,
@@ -620,9 +664,10 @@ export const createShareExportPolicy: API.OperationMethod<
620
664
  CreateShareExportPolicyError,
621
665
  StackitOpContext
622
666
  > = /*@__PURE__*/ API.make(() => ({
623
- input: __S(248, __c31, 0) as any as S.Schema<CreateShareExportPolicyRequest>,
624
- output: __S(256, __c32, 0) as any as S.Schema<CreateShareExportPolicyResponse>,
625
- errors: [BadRequest, Conflict, UnknownStackitError],
667
+ input: __S(264, __c33, 0) as any as S.Schema<CreateShareExportPolicyRequest>,
668
+ output: __S(272, __c34, 0) as any as S.Schema<CreateShareExportPolicyResponse>,
669
+ errors: [BadRequest, Conflict],
670
+ serviceErrors: StackitServiceErrors,
626
671
  protocol: StackitProtocol,
627
672
  retry: Retry.Retry,
628
673
  telemetry: TELEMETRY,
@@ -637,9 +682,10 @@ export const deleteResourcePool: API.OperationMethod<
637
682
  DeleteResourcePoolError,
638
683
  StackitOpContext
639
684
  > = /*@__PURE__*/ API.make(() => ({
640
- input: __S(272, __c34, 0) as any as S.Schema<DeleteResourcePoolRequest>,
641
- output: __S(280, __c35, 0) as any as S.Schema<DeleteResourcePoolResponse2>,
642
- errors: [BadRequest, Conflict, UnknownStackitError],
685
+ input: __S(288, __c36, 0) as any as S.Schema<DeleteResourcePoolRequest>,
686
+ output: __S(296, __c37, 0) as any as S.Schema<DeleteResourcePoolResponse2>,
687
+ errors: [BadRequest, Conflict],
688
+ serviceErrors: StackitServiceErrors,
643
689
  protocol: StackitProtocol,
644
690
  retry: Retry.Retry,
645
691
  telemetry: TELEMETRY,
@@ -654,9 +700,10 @@ export const deleteResourcePoolSnapshot: API.OperationMethod<
654
700
  DeleteResourcePoolSnapshotError,
655
701
  StackitOpContext
656
702
  > = /*@__PURE__*/ API.make(() => ({
657
- input: __S(288, __c36, 0) as any as S.Schema<DeleteResourcePoolSnapshotRequest>,
658
- output: __S(280, __c35, 0) as any as S.Schema<DeleteResourcePoolSnapshotResponse2>,
659
- errors: [BadRequest, Conflict, UnknownStackitError],
703
+ input: __S(304, __c38, 0) as any as S.Schema<DeleteResourcePoolSnapshotRequest>,
704
+ output: __S(296, __c37, 0) as any as S.Schema<DeleteResourcePoolSnapshotResponse2>,
705
+ errors: [BadRequest, Conflict],
706
+ serviceErrors: StackitServiceErrors,
660
707
  protocol: StackitProtocol,
661
708
  retry: Retry.Retry,
662
709
  telemetry: TELEMETRY,
@@ -671,9 +718,10 @@ export const deleteShare: API.OperationMethod<
671
718
  DeleteShareError,
672
719
  StackitOpContext
673
720
  > = /*@__PURE__*/ API.make(() => ({
674
- input: __S(296, __c37, 0) as any as S.Schema<DeleteShareRequest>,
675
- output: __S(280, __c35, 0) as any as S.Schema<DeleteShareResponse2>,
676
- errors: [BadRequest, UnknownStackitError],
721
+ input: __S(312, __c39, 0) as any as S.Schema<DeleteShareRequest>,
722
+ output: __S(296, __c37, 0) as any as S.Schema<DeleteShareResponse2>,
723
+ errors: [BadRequest],
724
+ serviceErrors: StackitServiceErrors,
677
725
  protocol: StackitProtocol,
678
726
  retry: Retry.Retry,
679
727
  telemetry: TELEMETRY,
@@ -688,9 +736,10 @@ export const deleteShareExportPolicy: API.OperationMethod<
688
736
  DeleteShareExportPolicyError,
689
737
  StackitOpContext
690
738
  > = /*@__PURE__*/ API.make(() => ({
691
- input: __S(304, __c38, 0) as any as S.Schema<DeleteShareExportPolicyRequest>,
692
- output: __S(280, __c35, 0) as any as S.Schema<DeleteShareExportPolicyResponse2>,
693
- errors: [BadRequest, UnknownStackitError],
739
+ input: __S(320, __c40, 0) as any as S.Schema<DeleteShareExportPolicyRequest>,
740
+ output: __S(296, __c37, 0) as any as S.Schema<DeleteShareExportPolicyResponse2>,
741
+ errors: [BadRequest],
742
+ serviceErrors: StackitServiceErrors,
694
743
  protocol: StackitProtocol,
695
744
  retry: Retry.Retry,
696
745
  telemetry: TELEMETRY,
@@ -705,9 +754,10 @@ export const disableLock: API.OperationMethod<
705
754
  DisableLockError,
706
755
  StackitOpContext
707
756
  > = /*@__PURE__*/ API.make(() => ({
708
- input: __S(0, __c0, 0) as any as S.Schema<DisableLockRequest>,
709
- output: __S(280, __c35, 0) as any as S.Schema<DisableLockResponse2>,
710
- errors: [Conflict, UnknownStackitError],
757
+ input: __S(16, __c2, 0) as any as S.Schema<DisableLockRequest>,
758
+ output: __S(296, __c37, 0) as any as S.Schema<DisableLockResponse2>,
759
+ errors: [Conflict],
760
+ serviceErrors: StackitServiceErrors,
711
761
  protocol: StackitProtocol,
712
762
  retry: Retry.Retry,
713
763
  telemetry: TELEMETRY,
@@ -722,9 +772,10 @@ export const enableLock: API.OperationMethod<
722
772
  EnableLockError,
723
773
  StackitOpContext
724
774
  > = /*@__PURE__*/ API.make(() => ({
725
- input: __S(8, __c1, 0) as any as S.Schema<EnableLockRequest>,
726
- output: __S(16, __c2, 0) as any as S.Schema<EnableLockResponse>,
727
- errors: [Conflict, UnknownStackitError],
775
+ input: __S(24, __c3, 0) as any as S.Schema<EnableLockRequest>,
776
+ output: __S(32, __c4, 0) as any as S.Schema<EnableLockResponse>,
777
+ errors: [Conflict],
778
+ serviceErrors: StackitServiceErrors,
728
779
  protocol: StackitProtocol,
729
780
  retry: Retry.Retry,
730
781
  telemetry: TELEMETRY,
@@ -739,9 +790,10 @@ export const getLock: API.OperationMethod<
739
790
  GetLockError,
740
791
  StackitOpContext
741
792
  > = /*@__PURE__*/ API.make(() => ({
742
- input: __S(24, __c3, 0) as any as S.Schema<GetLockRequest>,
743
- output: __S(16, __c2, 0) as any as S.Schema<GetLockResponse>,
744
- errors: [UnknownStackitError],
793
+ input: __S(40, __c5, 0) as any as S.Schema<GetLockRequest>,
794
+ output: __S(32, __c4, 0) as any as S.Schema<GetLockResponse>,
795
+ errors: [],
796
+ serviceErrors: StackitServiceErrors,
745
797
  protocol: StackitProtocol,
746
798
  retry: Retry.Retry,
747
799
  telemetry: TELEMETRY,
@@ -756,9 +808,10 @@ export const getResourcePool: API.OperationMethod<
756
808
  GetResourcePoolError,
757
809
  StackitOpContext
758
810
  > = /*@__PURE__*/ API.make(() => ({
759
- input: __S(32, __c4, 0) as any as S.Schema<GetResourcePoolRequest>,
760
- output: __S(112, __c14, 0) as any as S.Schema<GetResourcePoolResponse>,
761
- errors: [BadRequest, UnknownStackitError],
811
+ input: __S(48, __c6, 0) as any as S.Schema<GetResourcePoolRequest>,
812
+ output: __S(128, __c16, 0) as any as S.Schema<GetResourcePoolResponse>,
813
+ errors: [BadRequest],
814
+ serviceErrors: StackitServiceErrors,
762
815
  protocol: StackitProtocol,
763
816
  retry: Retry.Retry,
764
817
  telemetry: TELEMETRY,
@@ -773,9 +826,10 @@ export const getResourcePoolSnapshot: API.OperationMethod<
773
826
  GetResourcePoolSnapshotError,
774
827
  StackitOpContext
775
828
  > = /*@__PURE__*/ API.make(() => ({
776
- input: __S(40, __c5, 0) as any as S.Schema<GetResourcePoolSnapshotRequest>,
777
- output: __S(208, __c26, 0) as any as S.Schema<GetResourcePoolSnapshotResponse>,
778
- errors: [BadRequest, UnknownStackitError],
829
+ input: __S(56, __c7, 0) as any as S.Schema<GetResourcePoolSnapshotRequest>,
830
+ output: __S(224, __c28, 0) as any as S.Schema<GetResourcePoolSnapshotResponse>,
831
+ errors: [BadRequest],
832
+ serviceErrors: StackitServiceErrors,
779
833
  protocol: StackitProtocol,
780
834
  retry: Retry.Retry,
781
835
  telemetry: TELEMETRY,
@@ -790,9 +844,10 @@ export const getShare: API.OperationMethod<
790
844
  GetShareError,
791
845
  StackitOpContext
792
846
  > = /*@__PURE__*/ API.make(() => ({
793
- input: __S(48, __c6, 0) as any as S.Schema<GetShareRequest>,
794
- output: __S(232, __c29, 0) as any as S.Schema<GetShareResponse>,
795
- errors: [BadRequest, UnknownStackitError],
847
+ input: __S(64, __c8, 0) as any as S.Schema<GetShareRequest>,
848
+ output: __S(248, __c31, 0) as any as S.Schema<GetShareResponse>,
849
+ errors: [BadRequest],
850
+ serviceErrors: StackitServiceErrors,
796
851
  protocol: StackitProtocol,
797
852
  retry: Retry.Retry,
798
853
  telemetry: TELEMETRY,
@@ -807,9 +862,10 @@ export const getShareExportPolicy: API.OperationMethod<
807
862
  GetShareExportPolicyError,
808
863
  StackitOpContext
809
864
  > = /*@__PURE__*/ API.make(() => ({
810
- input: __S(56, __c7, 0) as any as S.Schema<GetShareExportPolicyRequest>,
811
- output: __S(256, __c32, 0) as any as S.Schema<GetShareExportPolicyResponse>,
812
- errors: [BadRequest, UnknownStackitError],
865
+ input: __S(72, __c9, 0) as any as S.Schema<GetShareExportPolicyRequest>,
866
+ output: __S(272, __c34, 0) as any as S.Schema<GetShareExportPolicyResponse>,
867
+ errors: [BadRequest],
868
+ serviceErrors: StackitServiceErrors,
813
869
  protocol: StackitProtocol,
814
870
  retry: Retry.Retry,
815
871
  telemetry: TELEMETRY,
@@ -824,9 +880,10 @@ export const getSnapshotPolicy: API.OperationMethod<
824
880
  GetSnapshotPolicyError,
825
881
  StackitOpContext
826
882
  > = /*@__PURE__*/ API.make(() => ({
827
- input: __S(64, __c8, 0) as any as S.Schema<GetSnapshotPolicyRequest>,
828
- output: __S(65, __c8, 1) as any as S.Schema<GetSnapshotPolicyResponse>,
829
- errors: [UnknownStackitError],
883
+ input: __S(80, __c10, 0) as any as S.Schema<GetSnapshotPolicyRequest>,
884
+ output: __S(81, __c10, 1) as any as S.Schema<GetSnapshotPolicyResponse>,
885
+ errors: [],
886
+ serviceErrors: StackitServiceErrors,
830
887
  protocol: StackitProtocol,
831
888
  retry: Retry.Retry,
832
889
  telemetry: TELEMETRY,
@@ -841,9 +898,10 @@ export const listPerformanceClasses: API.OperationMethod<
841
898
  ListPerformanceClassesError,
842
899
  StackitOpContext
843
900
  > = /*@__PURE__*/ API.make(() => ({
844
- input: __S(80, __c10, 0) as any as S.Schema<ListPerformanceClassesRequest>,
845
- output: __S(83, __c10, 3) as any as S.Schema<ListPerformanceClassesResponse>,
846
- errors: [BadRequest, UnknownStackitError],
901
+ input: __S(96, __c12, 0) as any as S.Schema<ListPerformanceClassesRequest>,
902
+ output: __S(99, __c12, 3) as any as S.Schema<ListPerformanceClassesResponse>,
903
+ errors: [BadRequest],
904
+ serviceErrors: StackitServiceErrors,
847
905
  protocol: StackitProtocol,
848
906
  retry: Retry.Retry,
849
907
  telemetry: TELEMETRY,
@@ -858,9 +916,10 @@ export const listResourcePools: API.OperationMethod<
858
916
  ListResourcePoolsError,
859
917
  StackitOpContext
860
918
  > = /*@__PURE__*/ API.make(() => ({
861
- input: __S(88, __c11, 0) as any as S.Schema<ListResourcePoolsRequest>,
862
- output: __S(90, __c11, 2) as any as S.Schema<ListResourcePoolsResponse>,
863
- errors: [BadRequest, UnknownStackitError],
919
+ input: __S(104, __c13, 0) as any as S.Schema<ListResourcePoolsRequest>,
920
+ output: __S(106, __c13, 2) as any as S.Schema<ListResourcePoolsResponse>,
921
+ errors: [BadRequest],
922
+ serviceErrors: StackitServiceErrors,
864
923
  protocol: StackitProtocol,
865
924
  retry: Retry.Retry,
866
925
  telemetry: TELEMETRY,
@@ -875,9 +934,10 @@ export const listResourcePoolSnapshots: API.OperationMethod<
875
934
  ListResourcePoolSnapshotsError,
876
935
  StackitOpContext
877
936
  > = /*@__PURE__*/ API.make(() => ({
878
- input: __S(128, __c16, 0) as any as S.Schema<ListResourcePoolSnapshotsRequest>,
879
- output: __S(130, __c16, 2) as any as S.Schema<ListResourcePoolSnapshotsResponse>,
880
- errors: [BadRequest, UnknownStackitError],
937
+ input: __S(144, __c18, 0) as any as S.Schema<ListResourcePoolSnapshotsRequest>,
938
+ output: __S(146, __c18, 2) as any as S.Schema<ListResourcePoolSnapshotsResponse>,
939
+ errors: [BadRequest],
940
+ serviceErrors: StackitServiceErrors,
881
941
  protocol: StackitProtocol,
882
942
  retry: Retry.Retry,
883
943
  telemetry: TELEMETRY,
@@ -892,9 +952,10 @@ export const listShareExportPolicies: API.OperationMethod<
892
952
  ListShareExportPoliciesError,
893
953
  StackitOpContext
894
954
  > = /*@__PURE__*/ API.make(() => ({
895
- input: __S(136, __c17, 0) as any as S.Schema<ListShareExportPoliciesRequest>,
896
- output: __S(138, __c17, 2) as any as S.Schema<ListShareExportPoliciesResponse>,
897
- errors: [BadRequest, UnknownStackitError],
955
+ input: __S(152, __c19, 0) as any as S.Schema<ListShareExportPoliciesRequest>,
956
+ output: __S(154, __c19, 2) as any as S.Schema<ListShareExportPoliciesResponse>,
957
+ errors: [BadRequest],
958
+ serviceErrors: StackitServiceErrors,
898
959
  protocol: StackitProtocol,
899
960
  retry: Retry.Retry,
900
961
  telemetry: TELEMETRY,
@@ -909,9 +970,10 @@ export const listShares: API.OperationMethod<
909
970
  ListSharesError,
910
971
  StackitOpContext
911
972
  > = /*@__PURE__*/ API.make(() => ({
912
- input: __S(144, __c18, 0) as any as S.Schema<ListSharesRequest>,
913
- output: __S(146, __c18, 2) as any as S.Schema<ListSharesResponse>,
914
- errors: [BadRequest, UnknownStackitError],
973
+ input: __S(160, __c20, 0) as any as S.Schema<ListSharesRequest>,
974
+ output: __S(162, __c20, 2) as any as S.Schema<ListSharesResponse>,
975
+ errors: [BadRequest],
976
+ serviceErrors: StackitServiceErrors,
915
977
  protocol: StackitProtocol,
916
978
  retry: Retry.Retry,
917
979
  telemetry: TELEMETRY,
@@ -926,9 +988,10 @@ export const listSnapshotPolicies: API.OperationMethod<
926
988
  ListSnapshotPoliciesError,
927
989
  StackitOpContext
928
990
  > = /*@__PURE__*/ API.make(() => ({
929
- input: __S(152, __c19, 0) as any as S.Schema<ListSnapshotPoliciesRequest>,
930
- output: __S(154, __c19, 2) as any as S.Schema<ListSnapshotPoliciesResponse>,
931
- errors: [UnknownStackitError],
991
+ input: __S(168, __c21, 0) as any as S.Schema<ListSnapshotPoliciesRequest>,
992
+ output: __S(170, __c21, 2) as any as S.Schema<ListSnapshotPoliciesResponse>,
993
+ errors: [],
994
+ serviceErrors: StackitServiceErrors,
932
995
  protocol: StackitProtocol,
933
996
  retry: Retry.Retry,
934
997
  telemetry: TELEMETRY,
@@ -943,9 +1006,10 @@ export const updateResourcePool: API.OperationMethod<
943
1006
  UpdateResourcePoolError,
944
1007
  StackitOpContext
945
1008
  > = /*@__PURE__*/ API.make(() => ({
946
- input: __S(160, __c20, 0) as any as S.Schema<UpdateResourcePoolRequest>,
947
- output: __S(112, __c14, 0) as any as S.Schema<UpdateResourcePoolResponse>,
948
- errors: [BadRequest, Conflict, UnknownStackitError],
1009
+ input: __S(176, __c22, 0) as any as S.Schema<UpdateResourcePoolRequest>,
1010
+ output: __S(128, __c16, 0) as any as S.Schema<UpdateResourcePoolResponse>,
1011
+ errors: [BadRequest, Conflict],
1012
+ serviceErrors: StackitServiceErrors,
949
1013
  protocol: StackitProtocol,
950
1014
  retry: Retry.Retry,
951
1015
  telemetry: TELEMETRY,
@@ -960,9 +1024,10 @@ export const updateResourcePoolSnapshot: API.OperationMethod<
960
1024
  UpdateResourcePoolSnapshotError,
961
1025
  StackitOpContext
962
1026
  > = /*@__PURE__*/ API.make(() => ({
963
- input: __S(168, __c21, 0) as any as S.Schema<UpdateResourcePoolSnapshotRequest>,
964
- output: __S(208, __c26, 0) as any as S.Schema<UpdateResourcePoolSnapshotResponse>,
965
- errors: [BadRequest, UnknownStackitError],
1027
+ input: __S(184, __c23, 0) as any as S.Schema<UpdateResourcePoolSnapshotRequest>,
1028
+ output: __S(224, __c28, 0) as any as S.Schema<UpdateResourcePoolSnapshotResponse>,
1029
+ errors: [BadRequest],
1030
+ serviceErrors: StackitServiceErrors,
966
1031
  protocol: StackitProtocol,
967
1032
  retry: Retry.Retry,
968
1033
  telemetry: TELEMETRY,
@@ -977,9 +1042,10 @@ export const updateShare: API.OperationMethod<
977
1042
  UpdateShareError,
978
1043
  StackitOpContext
979
1044
  > = /*@__PURE__*/ API.make(() => ({
980
- input: __S(176, __c22, 0) as any as S.Schema<UpdateShareRequest>,
981
- output: __S(232, __c29, 0) as any as S.Schema<UpdateShareResponse>,
982
- errors: [BadRequest, UnknownStackitError],
1045
+ input: __S(192, __c24, 0) as any as S.Schema<UpdateShareRequest>,
1046
+ output: __S(248, __c31, 0) as any as S.Schema<UpdateShareResponse>,
1047
+ errors: [BadRequest],
1048
+ serviceErrors: StackitServiceErrors,
983
1049
  protocol: StackitProtocol,
984
1050
  retry: Retry.Retry,
985
1051
  telemetry: TELEMETRY,
@@ -994,9 +1060,10 @@ export const updateShareExportPolicy: API.OperationMethod<
994
1060
  UpdateShareExportPolicyError,
995
1061
  StackitOpContext
996
1062
  > = /*@__PURE__*/ API.make(() => ({
997
- input: __S(184, __c23, 0) as any as S.Schema<UpdateShareExportPolicyRequest>,
998
- output: __S(256, __c32, 0) as any as S.Schema<UpdateShareExportPolicyResponse>,
999
- errors: [BadRequest, UnknownStackitError],
1063
+ input: __S(200, __c25, 0) as any as S.Schema<UpdateShareExportPolicyRequest>,
1064
+ output: __S(272, __c34, 0) as any as S.Schema<UpdateShareExportPolicyResponse>,
1065
+ errors: [BadRequest],
1066
+ serviceErrors: StackitServiceErrors,
1000
1067
  protocol: StackitProtocol,
1001
1068
  retry: Retry.Retry,
1002
1069
  telemetry: TELEMETRY,
@@ -1005,6 +1072,41 @@ export const updateShareExportPolicy: API.OperationMethod<
1005
1072
 
1006
1073
  // Schema builders: each runs one schema initializer, on that schema's first use.
1007
1074
  function __c0(j: number): any {
1075
+ switch (j) {
1076
+ case 0:
1077
+ return S.suspend(() =>
1078
+ S.Struct({
1079
+ field: S.String,
1080
+ reason: S.String,
1081
+ }),
1082
+ ).annotate({ identifier: "ValidationErrorField" });
1083
+ case 1:
1084
+ return S.Array(__S(0, __c0, 0));
1085
+ case 2:
1086
+ return S.suspend(() =>
1087
+ S.Struct({
1088
+ error_description: S.optional(S.Unknown),
1089
+ title: S.String,
1090
+ type: S.String,
1091
+ fields: __S(1, __c0, 1),
1092
+ }),
1093
+ ).annotate({ identifier: "ValidationError" });
1094
+ }
1095
+ }
1096
+ function __c1(j: number): any {
1097
+ switch (j) {
1098
+ case 0:
1099
+ return S.suspend(() =>
1100
+ S.Struct({
1101
+ detail: S.String,
1102
+ error_description: S.String,
1103
+ status_code: S.Number,
1104
+ type: S.String,
1105
+ }),
1106
+ ).annotate({ identifier: "ConflictError" });
1107
+ }
1108
+ }
1109
+ function __c2(j: number): any {
1008
1110
  switch (j) {
1009
1111
  case 0:
1010
1112
  return S.suspend(() =>
@@ -1022,7 +1124,7 @@ function __c0(j: number): any {
1022
1124
  ).annotate({ identifier: "DisableLockRequest" });
1023
1125
  }
1024
1126
  }
1025
- function __c1(j: number): any {
1127
+ function __c3(j: number): any {
1026
1128
  switch (j) {
1027
1129
  case 0:
1028
1130
  return S.suspend(() =>
@@ -1040,7 +1142,7 @@ function __c1(j: number): any {
1040
1142
  ).annotate({ identifier: "EnableLockRequest" });
1041
1143
  }
1042
1144
  }
1043
- function __c2(j: number): any {
1145
+ function __c4(j: number): any {
1044
1146
  switch (j) {
1045
1147
  case 0:
1046
1148
  return S.suspend(() =>
@@ -1050,7 +1152,7 @@ function __c2(j: number): any {
1050
1152
  ).annotate({ identifier: "EnableLockResponse" });
1051
1153
  }
1052
1154
  }
1053
- function __c3(j: number): any {
1155
+ function __c5(j: number): any {
1054
1156
  switch (j) {
1055
1157
  case 0:
1056
1158
  return S.suspend(() =>
@@ -1068,7 +1170,7 @@ function __c3(j: number): any {
1068
1170
  ).annotate({ identifier: "GetLockRequest" });
1069
1171
  }
1070
1172
  }
1071
- function __c4(j: number): any {
1173
+ function __c6(j: number): any {
1072
1174
  switch (j) {
1073
1175
  case 0:
1074
1176
  return S.suspend(() =>
@@ -1087,7 +1189,7 @@ function __c4(j: number): any {
1087
1189
  ).annotate({ identifier: "GetResourcePoolRequest" });
1088
1190
  }
1089
1191
  }
1090
- function __c5(j: number): any {
1192
+ function __c7(j: number): any {
1091
1193
  switch (j) {
1092
1194
  case 0:
1093
1195
  return S.suspend(() =>
@@ -1107,7 +1209,7 @@ function __c5(j: number): any {
1107
1209
  ).annotate({ identifier: "GetResourcePoolSnapshotRequest" });
1108
1210
  }
1109
1211
  }
1110
- function __c6(j: number): any {
1212
+ function __c8(j: number): any {
1111
1213
  switch (j) {
1112
1214
  case 0:
1113
1215
  return S.suspend(() =>
@@ -1127,7 +1229,7 @@ function __c6(j: number): any {
1127
1229
  ).annotate({ identifier: "GetShareRequest" });
1128
1230
  }
1129
1231
  }
1130
- function __c7(j: number): any {
1232
+ function __c9(j: number): any {
1131
1233
  switch (j) {
1132
1234
  case 0:
1133
1235
  return S.suspend(() =>
@@ -1146,7 +1248,7 @@ function __c7(j: number): any {
1146
1248
  ).annotate({ identifier: "GetShareExportPolicyRequest" });
1147
1249
  }
1148
1250
  }
1149
- function __c8(j: number): any {
1251
+ function __c10(j: number): any {
1150
1252
  switch (j) {
1151
1253
  case 0:
1152
1254
  return S.suspend(() =>
@@ -1165,12 +1267,12 @@ function __c8(j: number): any {
1165
1267
  case 1:
1166
1268
  return S.suspend(() =>
1167
1269
  S.Struct({
1168
- snapshotPolicy: S.optional(__S(76, __c9, 4)),
1270
+ snapshotPolicy: S.optional(__S(92, __c11, 4)),
1169
1271
  }),
1170
1272
  ).annotate({ identifier: "GetSnapshotPolicyResponse" });
1171
1273
  }
1172
1274
  }
1173
- function __c9(j: number): any {
1275
+ function __c11(j: number): any {
1174
1276
  switch (j) {
1175
1277
  case 0:
1176
1278
  return S.suspend(() =>
@@ -1183,7 +1285,7 @@ function __c9(j: number): any {
1183
1285
  }),
1184
1286
  ).annotate({ identifier: "SnapshotPolicySchedule" });
1185
1287
  case 1:
1186
- return S.Array(__S(72, __c9, 0));
1288
+ return S.Array(__S(88, __c11, 0));
1187
1289
  case 2:
1188
1290
  return S.suspend(() =>
1189
1291
  S.Struct({
@@ -1197,7 +1299,7 @@ function __c9(j: number): any {
1197
1299
  }),
1198
1300
  ).annotate({ identifier: "SnapshotPolicySnapshotPolicySchedule" });
1199
1301
  case 3:
1200
- return S.Array(__S(74, __c9, 2));
1302
+ return S.Array(__S(90, __c11, 2));
1201
1303
  case 4:
1202
1304
  return S.suspend(() =>
1203
1305
  S.Struct({
@@ -1206,13 +1308,13 @@ function __c9(j: number): any {
1206
1308
  enabled: S.optional(S.Boolean),
1207
1309
  id: S.optional(S.String),
1208
1310
  name: S.optional(S.String),
1209
- schedules: S.optional(__S(73, __c9, 1)),
1210
- snapshotSchedules: S.optional(__S(75, __c9, 3)),
1311
+ schedules: S.optional(__S(89, __c11, 1)),
1312
+ snapshotSchedules: S.optional(__S(91, __c11, 3)),
1211
1313
  }),
1212
1314
  ).annotate({ identifier: "SnapshotPolicy" });
1213
1315
  }
1214
1316
  }
1215
- function __c10(j: number): any {
1317
+ function __c12(j: number): any {
1216
1318
  switch (j) {
1217
1319
  case 0:
1218
1320
  return S.suspend(() =>
@@ -1234,16 +1336,16 @@ function __c10(j: number): any {
1234
1336
  }),
1235
1337
  ).annotate({ identifier: "PerformanceClass" });
1236
1338
  case 2:
1237
- return S.Array(__S(81, __c10, 1));
1339
+ return S.Array(__S(97, __c12, 1));
1238
1340
  case 3:
1239
1341
  return S.suspend(() =>
1240
1342
  S.Struct({
1241
- performanceClasses: S.optional(__S(82, __c10, 2)),
1343
+ performanceClasses: S.optional(__S(98, __c12, 2)),
1242
1344
  }),
1243
1345
  ).annotate({ identifier: "ListPerformanceClassesResponse" });
1244
1346
  }
1245
1347
  }
1246
- function __c11(j: number): any {
1348
+ function __c13(j: number): any {
1247
1349
  switch (j) {
1248
1350
  case 0:
1249
1351
  return S.suspend(() =>
@@ -1260,16 +1362,16 @@ function __c11(j: number): any {
1260
1362
  ),
1261
1363
  ).annotate({ identifier: "ListResourcePoolsRequest" });
1262
1364
  case 1:
1263
- return S.Array(__S(107, __c13, 3));
1365
+ return S.Array(__S(123, __c15, 3));
1264
1366
  case 2:
1265
1367
  return S.suspend(() =>
1266
1368
  S.Struct({
1267
- resourcePools: S.optional(__S(89, __c11, 1)),
1369
+ resourcePools: S.optional(__S(105, __c13, 1)),
1268
1370
  }),
1269
1371
  ).annotate({ identifier: "ListResourcePoolsResponse" });
1270
1372
  }
1271
1373
  }
1272
- function __c12(j: number): any {
1374
+ function __c14(j: number): any {
1273
1375
  switch (j) {
1274
1376
  case 0:
1275
1377
  return S.suspend(() =>
@@ -1277,8 +1379,8 @@ function __c12(j: number): any {
1277
1379
  projectId: S.String.pipe(T.Label()),
1278
1380
  region: S.String.pipe(T.Label()),
1279
1381
  availabilityZone: S.String,
1280
- ipAcl: __S(120, __c15, 0),
1281
- labels: S.optional(__S(121, __c15, 1)),
1382
+ ipAcl: __S(136, __c17, 0),
1383
+ labels: S.optional(__S(137, __c17, 1)),
1282
1384
  name: S.String,
1283
1385
  performanceClass: S.String,
1284
1386
  sizeGigabytes: S.Number,
@@ -1295,7 +1397,7 @@ function __c12(j: number): any {
1295
1397
  ).annotate({ identifier: "CreateResourcePoolRequest" });
1296
1398
  }
1297
1399
  }
1298
- function __c13(j: number): any {
1400
+ function __c15(j: number): any {
1299
1401
  switch (j) {
1300
1402
  case 0:
1301
1403
  return S.suspend(() =>
@@ -1328,32 +1430,32 @@ function __c13(j: number): any {
1328
1430
  countShares: S.optional(S.Number),
1329
1431
  createdAt: S.optional(S.String),
1330
1432
  id: S.optional(S.String),
1331
- ipAcl: S.optional(__S(120, __c15, 0)),
1332
- labels: S.optional(__S(121, __c15, 1)),
1433
+ ipAcl: S.optional(__S(136, __c17, 0)),
1434
+ labels: S.optional(__S(137, __c17, 1)),
1333
1435
  mountPath: S.optional(S.String),
1334
1436
  name: S.optional(S.String),
1335
- performanceClass: S.optional(__S(104, __c13, 0)),
1437
+ performanceClass: S.optional(__S(120, __c15, 0)),
1336
1438
  performanceClassDowngradableAt: S.optional(S.String),
1337
1439
  sizeReducibleAt: S.optional(S.String),
1338
- snapshotPolicy: S.optional(S.NullOr(__S(105, __c13, 1))),
1440
+ snapshotPolicy: S.optional(S.NullOr(__S(121, __c15, 1))),
1339
1441
  snapshotsAreVisible: S.optional(S.Boolean),
1340
- space: S.optional(__S(106, __c13, 2)),
1442
+ space: S.optional(__S(122, __c15, 2)),
1341
1443
  state: S.optional(S.String),
1342
1444
  }),
1343
1445
  ).annotate({ identifier: "ResourcePool" });
1344
1446
  }
1345
1447
  }
1346
- function __c14(j: number): any {
1448
+ function __c16(j: number): any {
1347
1449
  switch (j) {
1348
1450
  case 0:
1349
1451
  return S.suspend(() =>
1350
1452
  S.Struct({
1351
- resourcePool: S.optional(__S(107, __c13, 3)),
1453
+ resourcePool: S.optional(__S(123, __c15, 3)),
1352
1454
  }),
1353
1455
  ).annotate({ identifier: "CreateResourcePoolResponse" });
1354
1456
  }
1355
1457
  }
1356
- function __c15(j: number): any {
1458
+ function __c17(j: number): any {
1357
1459
  switch (j) {
1358
1460
  case 0:
1359
1461
  return S.Array(S.String);
@@ -1361,7 +1463,7 @@ function __c15(j: number): any {
1361
1463
  return S.Record(S.String, S.String);
1362
1464
  }
1363
1465
  }
1364
- function __c16(j: number): any {
1466
+ function __c18(j: number): any {
1365
1467
  switch (j) {
1366
1468
  case 0:
1367
1469
  return S.suspend(() =>
@@ -1379,16 +1481,16 @@ function __c16(j: number): any {
1379
1481
  ),
1380
1482
  ).annotate({ identifier: "ListResourcePoolSnapshotsRequest" });
1381
1483
  case 1:
1382
- return S.Array(__S(200, __c25, 0));
1484
+ return S.Array(__S(216, __c27, 0));
1383
1485
  case 2:
1384
1486
  return S.suspend(() =>
1385
1487
  S.Struct({
1386
- resourcePoolSnapshots: S.optional(__S(129, __c16, 1)),
1488
+ resourcePoolSnapshots: S.optional(__S(145, __c18, 1)),
1387
1489
  }),
1388
1490
  ).annotate({ identifier: "ListResourcePoolSnapshotsResponse" });
1389
1491
  }
1390
1492
  }
1391
- function __c17(j: number): any {
1493
+ function __c19(j: number): any {
1392
1494
  switch (j) {
1393
1495
  case 0:
1394
1496
  return S.suspend(() =>
@@ -1405,16 +1507,16 @@ function __c17(j: number): any {
1405
1507
  ),
1406
1508
  ).annotate({ identifier: "ListShareExportPoliciesRequest" });
1407
1509
  case 1:
1408
- return S.Array(__S(242, __c30, 2));
1510
+ return S.Array(__S(258, __c32, 2));
1409
1511
  case 2:
1410
1512
  return S.suspend(() =>
1411
1513
  S.Struct({
1412
- shareExportPolicies: S.optional(__S(137, __c17, 1)),
1514
+ shareExportPolicies: S.optional(__S(153, __c19, 1)),
1413
1515
  }),
1414
1516
  ).annotate({ identifier: "ListShareExportPoliciesResponse" });
1415
1517
  }
1416
1518
  }
1417
- function __c18(j: number): any {
1519
+ function __c20(j: number): any {
1418
1520
  switch (j) {
1419
1521
  case 0:
1420
1522
  return S.suspend(() =>
@@ -1432,16 +1534,16 @@ function __c18(j: number): any {
1432
1534
  ),
1433
1535
  ).annotate({ identifier: "ListSharesRequest" });
1434
1536
  case 1:
1435
- return S.Array(__S(224, __c28, 0));
1537
+ return S.Array(__S(240, __c30, 0));
1436
1538
  case 2:
1437
1539
  return S.suspend(() =>
1438
1540
  S.Struct({
1439
- shares: S.optional(__S(145, __c18, 1)),
1541
+ shares: S.optional(__S(161, __c20, 1)),
1440
1542
  }),
1441
1543
  ).annotate({ identifier: "ListSharesResponse" });
1442
1544
  }
1443
1545
  }
1444
- function __c19(j: number): any {
1546
+ function __c21(j: number): any {
1445
1547
  switch (j) {
1446
1548
  case 0:
1447
1549
  return S.suspend(() =>
@@ -1458,16 +1560,16 @@ function __c19(j: number): any {
1458
1560
  ),
1459
1561
  ).annotate({ identifier: "ListSnapshotPoliciesRequest" });
1460
1562
  case 1:
1461
- return S.Array(__S(76, __c9, 4));
1563
+ return S.Array(__S(92, __c11, 4));
1462
1564
  case 2:
1463
1565
  return S.suspend(() =>
1464
1566
  S.Struct({
1465
- snapshotPolicies: S.optional(__S(153, __c19, 1)),
1567
+ snapshotPolicies: S.optional(__S(169, __c21, 1)),
1466
1568
  }),
1467
1569
  ).annotate({ identifier: "ListSnapshotPoliciesResponse" });
1468
1570
  }
1469
1571
  }
1470
- function __c20(j: number): any {
1572
+ function __c22(j: number): any {
1471
1573
  switch (j) {
1472
1574
  case 0:
1473
1575
  return S.suspend(() =>
@@ -1475,8 +1577,8 @@ function __c20(j: number): any {
1475
1577
  projectId: S.String.pipe(T.Label()),
1476
1578
  region: S.String.pipe(T.Label()),
1477
1579
  resourcePoolId: S.String.pipe(T.Label()),
1478
- ipAcl: S.optional(__S(120, __c15, 0)),
1479
- labels: S.optional(__S(121, __c15, 1)),
1580
+ ipAcl: S.optional(__S(136, __c17, 0)),
1581
+ labels: S.optional(__S(137, __c17, 1)),
1480
1582
  performanceClass: S.optional(S.String),
1481
1583
  sizeGigabytes: S.optional(S.NullOr(S.Number)),
1482
1584
  snapshotPolicyId: S.optional(S.NullOr(S.String)),
@@ -1492,7 +1594,7 @@ function __c20(j: number): any {
1492
1594
  ).annotate({ identifier: "UpdateResourcePoolRequest" });
1493
1595
  }
1494
1596
  }
1495
- function __c21(j: number): any {
1597
+ function __c23(j: number): any {
1496
1598
  switch (j) {
1497
1599
  case 0:
1498
1600
  return S.suspend(() =>
@@ -1514,7 +1616,7 @@ function __c21(j: number): any {
1514
1616
  ).annotate({ identifier: "UpdateResourcePoolSnapshotRequest" });
1515
1617
  }
1516
1618
  }
1517
- function __c22(j: number): any {
1619
+ function __c24(j: number): any {
1518
1620
  switch (j) {
1519
1621
  case 0:
1520
1622
  return S.suspend(() =>
@@ -1524,7 +1626,7 @@ function __c22(j: number): any {
1524
1626
  resourcePoolId: S.String.pipe(T.Label()),
1525
1627
  shareId: S.String.pipe(T.Label()),
1526
1628
  exportPolicyName: S.optional(S.NullOr(S.String)),
1527
- labels: S.optional(__S(121, __c15, 1)),
1629
+ labels: S.optional(__S(137, __c17, 1)),
1528
1630
  spaceHardLimitGigabytes: S.optional(S.NullOr(S.Number)),
1529
1631
  }).pipe(
1530
1632
  T.Http({
@@ -1537,7 +1639,7 @@ function __c22(j: number): any {
1537
1639
  ).annotate({ identifier: "UpdateShareRequest" });
1538
1640
  }
1539
1641
  }
1540
- function __c23(j: number): any {
1642
+ function __c25(j: number): any {
1541
1643
  switch (j) {
1542
1644
  case 0:
1543
1645
  return S.suspend(() =>
@@ -1545,8 +1647,8 @@ function __c23(j: number): any {
1545
1647
  projectId: S.String.pipe(T.Label()),
1546
1648
  region: S.String.pipe(T.Label()),
1547
1649
  policyId: S.String.pipe(T.Label()),
1548
- labels: S.optional(__S(121, __c15, 1)),
1549
- rules: S.optional(S.NullOr(__S(265, __c33, 1))),
1650
+ labels: S.optional(__S(137, __c17, 1)),
1651
+ rules: S.optional(S.NullOr(__S(281, __c35, 1))),
1550
1652
  }).pipe(
1551
1653
  T.Http({
1552
1654
  method: "PATCH",
@@ -1558,7 +1660,7 @@ function __c23(j: number): any {
1558
1660
  ).annotate({ identifier: "UpdateShareExportPolicyRequest" });
1559
1661
  }
1560
1662
  }
1561
- function __c24(j: number): any {
1663
+ function __c26(j: number): any {
1562
1664
  switch (j) {
1563
1665
  case 0:
1564
1666
  return S.suspend(() =>
@@ -1580,7 +1682,7 @@ function __c24(j: number): any {
1580
1682
  ).annotate({ identifier: "CreateResourcePoolSnapshotRequest" });
1581
1683
  }
1582
1684
  }
1583
- function __c25(j: number): any {
1685
+ function __c27(j: number): any {
1584
1686
  switch (j) {
1585
1687
  case 0:
1586
1688
  return S.suspend(() =>
@@ -1596,17 +1698,17 @@ function __c25(j: number): any {
1596
1698
  ).annotate({ identifier: "ResourcePoolSnapshot" });
1597
1699
  }
1598
1700
  }
1599
- function __c26(j: number): any {
1701
+ function __c28(j: number): any {
1600
1702
  switch (j) {
1601
1703
  case 0:
1602
1704
  return S.suspend(() =>
1603
1705
  S.Struct({
1604
- resourcePoolSnapshot: S.optional(__S(200, __c25, 0)),
1706
+ resourcePoolSnapshot: S.optional(__S(216, __c27, 0)),
1605
1707
  }),
1606
1708
  ).annotate({ identifier: "CreateResourcePoolSnapshotResponse" });
1607
1709
  }
1608
1710
  }
1609
- function __c27(j: number): any {
1711
+ function __c29(j: number): any {
1610
1712
  switch (j) {
1611
1713
  case 0:
1612
1714
  return S.suspend(() =>
@@ -1615,7 +1717,7 @@ function __c27(j: number): any {
1615
1717
  region: S.String.pipe(T.Label()),
1616
1718
  resourcePoolId: S.String.pipe(T.Label()),
1617
1719
  exportPolicyName: S.optional(S.NullOr(S.String)),
1618
- labels: S.optional(__S(121, __c15, 1)),
1720
+ labels: S.optional(__S(137, __c17, 1)),
1619
1721
  name: S.String,
1620
1722
  spaceHardLimitGigabytes: S.Number,
1621
1723
  }).pipe(
@@ -1629,15 +1731,15 @@ function __c27(j: number): any {
1629
1731
  ).annotate({ identifier: "CreateShareRequest" });
1630
1732
  }
1631
1733
  }
1632
- function __c28(j: number): any {
1734
+ function __c30(j: number): any {
1633
1735
  switch (j) {
1634
1736
  case 0:
1635
1737
  return S.suspend(() =>
1636
1738
  S.Struct({
1637
1739
  createdAt: S.optional(S.String),
1638
- exportPolicy: S.optional(S.NullOr(__S(242, __c30, 2))),
1740
+ exportPolicy: S.optional(S.NullOr(__S(258, __c32, 2))),
1639
1741
  id: S.optional(S.String),
1640
- labels: S.optional(__S(121, __c15, 1)),
1742
+ labels: S.optional(__S(137, __c17, 1)),
1641
1743
  mountPath: S.optional(S.String),
1642
1744
  name: S.optional(S.String),
1643
1745
  spaceHardLimitGigabytes: S.optional(S.Number),
@@ -1646,17 +1748,17 @@ function __c28(j: number): any {
1646
1748
  ).annotate({ identifier: "Share" });
1647
1749
  }
1648
1750
  }
1649
- function __c29(j: number): any {
1751
+ function __c31(j: number): any {
1650
1752
  switch (j) {
1651
1753
  case 0:
1652
1754
  return S.suspend(() =>
1653
1755
  S.Struct({
1654
- share: S.optional(__S(224, __c28, 0)),
1756
+ share: S.optional(__S(240, __c30, 0)),
1655
1757
  }),
1656
1758
  ).annotate({ identifier: "CreateShareResponse" });
1657
1759
  }
1658
1760
  }
1659
- function __c30(j: number): any {
1761
+ function __c32(j: number): any {
1660
1762
  switch (j) {
1661
1763
  case 0:
1662
1764
  return S.suspend(() =>
@@ -1664,7 +1766,7 @@ function __c30(j: number): any {
1664
1766
  createdAt: S.optional(S.String),
1665
1767
  description: S.optional(S.NullOr(S.String)),
1666
1768
  id: S.optional(S.String),
1667
- ipAcl: S.optional(__S(120, __c15, 0)),
1769
+ ipAcl: S.optional(__S(136, __c17, 0)),
1668
1770
  order: S.optional(S.Number),
1669
1771
  readOnly: S.optional(S.Boolean),
1670
1772
  setUuid: S.optional(S.Boolean),
@@ -1672,30 +1774,30 @@ function __c30(j: number): any {
1672
1774
  }),
1673
1775
  ).annotate({ identifier: "ShareExportPolicyRule" });
1674
1776
  case 1:
1675
- return S.Array(__S(240, __c30, 0));
1777
+ return S.Array(__S(256, __c32, 0));
1676
1778
  case 2:
1677
1779
  return S.suspend(() =>
1678
1780
  S.Struct({
1679
1781
  createdAt: S.optional(S.String),
1680
1782
  id: S.optional(S.String),
1681
- labels: S.optional(__S(121, __c15, 1)),
1783
+ labels: S.optional(__S(137, __c17, 1)),
1682
1784
  name: S.optional(S.String),
1683
- rules: S.optional(__S(241, __c30, 1)),
1785
+ rules: S.optional(__S(257, __c32, 1)),
1684
1786
  sharesUsingExportPolicy: S.optional(S.Number),
1685
1787
  }),
1686
1788
  ).annotate({ identifier: "ShareExportPolicy" });
1687
1789
  }
1688
1790
  }
1689
- function __c31(j: number): any {
1791
+ function __c33(j: number): any {
1690
1792
  switch (j) {
1691
1793
  case 0:
1692
1794
  return S.suspend(() =>
1693
1795
  S.Struct({
1694
1796
  projectId: S.String.pipe(T.Label()),
1695
1797
  region: S.String.pipe(T.Label()),
1696
- labels: S.optional(__S(121, __c15, 1)),
1798
+ labels: S.optional(__S(137, __c17, 1)),
1697
1799
  name: S.String,
1698
- rules: S.optional(__S(265, __c33, 1)),
1800
+ rules: S.optional(__S(281, __c35, 1)),
1699
1801
  }).pipe(
1700
1802
  T.Http({
1701
1803
  method: "POST",
@@ -1707,23 +1809,23 @@ function __c31(j: number): any {
1707
1809
  ).annotate({ identifier: "CreateShareExportPolicyRequest" });
1708
1810
  }
1709
1811
  }
1710
- function __c32(j: number): any {
1812
+ function __c34(j: number): any {
1711
1813
  switch (j) {
1712
1814
  case 0:
1713
1815
  return S.suspend(() =>
1714
1816
  S.Struct({
1715
- shareExportPolicy: S.optional(__S(242, __c30, 2)),
1817
+ shareExportPolicy: S.optional(__S(258, __c32, 2)),
1716
1818
  }),
1717
1819
  ).annotate({ identifier: "CreateShareExportPolicyResponse" });
1718
1820
  }
1719
1821
  }
1720
- function __c33(j: number): any {
1822
+ function __c35(j: number): any {
1721
1823
  switch (j) {
1722
1824
  case 0:
1723
1825
  return S.suspend(() =>
1724
1826
  S.Struct({
1725
1827
  description: S.optional(S.NullOr(S.String)),
1726
- ipAcl: S.optional(__S(120, __c15, 0)),
1828
+ ipAcl: S.optional(__S(136, __c17, 0)),
1727
1829
  order: S.optional(S.Number),
1728
1830
  readOnly: S.optional(S.Boolean),
1729
1831
  setUuid: S.optional(S.Boolean),
@@ -1731,10 +1833,10 @@ function __c33(j: number): any {
1731
1833
  }),
1732
1834
  ).annotate({ identifier: "CreateShareExportPolicyRequestRule" });
1733
1835
  case 1:
1734
- return S.Array(__S(264, __c33, 0));
1836
+ return S.Array(__S(280, __c35, 0));
1735
1837
  }
1736
1838
  }
1737
- function __c34(j: number): any {
1839
+ function __c36(j: number): any {
1738
1840
  switch (j) {
1739
1841
  case 0:
1740
1842
  return S.suspend(() =>
@@ -1753,7 +1855,7 @@ function __c34(j: number): any {
1753
1855
  ).annotate({ identifier: "DeleteResourcePoolRequest" });
1754
1856
  }
1755
1857
  }
1756
- function __c35(j: number): any {
1858
+ function __c37(j: number): any {
1757
1859
  switch (j) {
1758
1860
  case 0:
1759
1861
  return S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
@@ -1761,7 +1863,7 @@ function __c35(j: number): any {
1761
1863
  });
1762
1864
  }
1763
1865
  }
1764
- function __c36(j: number): any {
1866
+ function __c38(j: number): any {
1765
1867
  switch (j) {
1766
1868
  case 0:
1767
1869
  return S.suspend(() =>
@@ -1781,7 +1883,7 @@ function __c36(j: number): any {
1781
1883
  ).annotate({ identifier: "DeleteResourcePoolSnapshotRequest" });
1782
1884
  }
1783
1885
  }
1784
- function __c37(j: number): any {
1886
+ function __c39(j: number): any {
1785
1887
  switch (j) {
1786
1888
  case 0:
1787
1889
  return S.suspend(() =>
@@ -1801,7 +1903,7 @@ function __c37(j: number): any {
1801
1903
  ).annotate({ identifier: "DeleteShareRequest" });
1802
1904
  }
1803
1905
  }
1804
- function __c38(j: number): any {
1906
+ function __c40(j: number): any {
1805
1907
  switch (j) {
1806
1908
  case 0:
1807
1909
  return S.suspend(() =>