@distilled.cloud/cloudflare 0.28.2 → 0.29.1

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 (463) hide show
  1. package/lib/client/api.d.ts +1 -1
  2. package/lib/client/api.d.ts.map +1 -1
  3. package/lib/credentials.d.ts.map +1 -1
  4. package/lib/retry.d.ts.map +1 -1
  5. package/lib/services/abuse-reports.d.ts.map +1 -1
  6. package/lib/services/abuse-reports.js +26 -26
  7. package/lib/services/abuse-reports.js.map +1 -1
  8. package/lib/services/accounts.d.ts.map +1 -1
  9. package/lib/services/accounts.js +114 -123
  10. package/lib/services/accounts.js.map +1 -1
  11. package/lib/services/acm.d.ts.map +1 -1
  12. package/lib/services/acm.js +23 -23
  13. package/lib/services/acm.js.map +1 -1
  14. package/lib/services/addressing.d.ts.map +1 -1
  15. package/lib/services/addressing.js +132 -132
  16. package/lib/services/addressing.js.map +1 -1
  17. package/lib/services/ai-gateway.d.ts.map +1 -1
  18. package/lib/services/ai-gateway.js +213 -207
  19. package/lib/services/ai-gateway.js.map +1 -1
  20. package/lib/services/ai-security.d.ts.map +1 -1
  21. package/lib/services/ai-security.js +13 -13
  22. package/lib/services/ai-security.js.map +1 -1
  23. package/lib/services/ai.d.ts.map +1 -1
  24. package/lib/services/ai.js +62 -62
  25. package/lib/services/ai.js.map +1 -1
  26. package/lib/services/aisearch.d.ts.map +1 -1
  27. package/lib/services/aisearch.js +187 -193
  28. package/lib/services/aisearch.js.map +1 -1
  29. package/lib/services/alerting.d.ts.map +1 -1
  30. package/lib/services/alerting.js +78 -78
  31. package/lib/services/alerting.js.map +1 -1
  32. package/lib/services/api-gateway.d.ts.map +1 -1
  33. package/lib/services/api-gateway.js +168 -177
  34. package/lib/services/api-gateway.js.map +1 -1
  35. package/lib/services/argo.js +12 -12
  36. package/lib/services/argo.js.map +1 -1
  37. package/lib/services/audit-logs.d.ts.map +1 -1
  38. package/lib/services/audit-logs.js +9 -9
  39. package/lib/services/audit-logs.js.map +1 -1
  40. package/lib/services/billing.d.ts.map +1 -1
  41. package/lib/services/billing.js +11 -11
  42. package/lib/services/billing.js.map +1 -1
  43. package/lib/services/bot-management.d.ts.map +1 -1
  44. package/lib/services/bot-management.js +18 -30
  45. package/lib/services/bot-management.js.map +1 -1
  46. package/lib/services/botnet-feed.d.ts.map +1 -1
  47. package/lib/services/botnet-feed.js +12 -12
  48. package/lib/services/botnet-feed.js.map +1 -1
  49. package/lib/services/brand-protection.d.ts.map +1 -1
  50. package/lib/services/brand-protection.js +59 -59
  51. package/lib/services/brand-protection.js.map +1 -1
  52. package/lib/services/browser-rendering.d.ts.map +1 -1
  53. package/lib/services/browser-rendering.js +103 -103
  54. package/lib/services/browser-rendering.js.map +1 -1
  55. package/lib/services/cache.d.ts.map +1 -1
  56. package/lib/services/cache.js +72 -72
  57. package/lib/services/cache.js.map +1 -1
  58. package/lib/services/calls.d.ts.map +1 -1
  59. package/lib/services/calls.js +31 -31
  60. package/lib/services/calls.js.map +1 -1
  61. package/lib/services/certificate-authorities.js +6 -6
  62. package/lib/services/certificate-authorities.js.map +1 -1
  63. package/lib/services/client-certificates.js +18 -18
  64. package/lib/services/client-certificates.js.map +1 -1
  65. package/lib/services/cloud-connector.d.ts.map +1 -1
  66. package/lib/services/cloud-connector.js +8 -8
  67. package/lib/services/cloud-connector.js.map +1 -1
  68. package/lib/services/cloudforce-one.d.ts.map +1 -1
  69. package/lib/services/cloudforce-one.js +178 -178
  70. package/lib/services/cloudforce-one.js.map +1 -1
  71. package/lib/services/connectivity.js +25 -25
  72. package/lib/services/connectivity.js.map +1 -1
  73. package/lib/services/containers.js +49 -49
  74. package/lib/services/containers.js.map +1 -1
  75. package/lib/services/content-scanning.d.ts.map +1 -1
  76. package/lib/services/content-scanning.js +29 -29
  77. package/lib/services/content-scanning.js.map +1 -1
  78. package/lib/services/csam-scanner.d.ts.map +1 -1
  79. package/lib/services/csam-scanner.js +8 -8
  80. package/lib/services/csam-scanner.js.map +1 -1
  81. package/lib/services/custom-certificates.d.ts.map +1 -1
  82. package/lib/services/custom-certificates.js +24 -24
  83. package/lib/services/custom-certificates.js.map +1 -1
  84. package/lib/services/custom-csrs.d.ts.map +1 -1
  85. package/lib/services/custom-csrs.js +22 -22
  86. package/lib/services/custom-csrs.js.map +1 -1
  87. package/lib/services/custom-hostnames.d.ts.map +1 -1
  88. package/lib/services/custom-hostnames.js +40 -40
  89. package/lib/services/custom-hostnames.js.map +1 -1
  90. package/lib/services/custom-nameservers.js +11 -11
  91. package/lib/services/custom-nameservers.js.map +1 -1
  92. package/lib/services/custom-pages.d.ts.map +1 -1
  93. package/lib/services/custom-pages.js +43 -43
  94. package/lib/services/custom-pages.js.map +1 -1
  95. package/lib/services/d1.d.ts +4 -4
  96. package/lib/services/d1.d.ts.map +1 -1
  97. package/lib/services/d1.js +69 -51
  98. package/lib/services/d1.js.map +1 -1
  99. package/lib/services/dcv-delegation.js +3 -3
  100. package/lib/services/dcv-delegation.js.map +1 -1
  101. package/lib/services/ddos-protection.js +126 -126
  102. package/lib/services/ddos-protection.js.map +1 -1
  103. package/lib/services/diagnostics.js +27 -27
  104. package/lib/services/diagnostics.js.map +1 -1
  105. package/lib/services/dls.d.ts.map +1 -1
  106. package/lib/services/dls.js +26 -26
  107. package/lib/services/dls.js.map +1 -1
  108. package/lib/services/dns-firewall.d.ts.map +1 -1
  109. package/lib/services/dns-firewall.js +34 -34
  110. package/lib/services/dns-firewall.js.map +1 -1
  111. package/lib/services/dns.d.ts.map +1 -1
  112. package/lib/services/dns.js +268 -268
  113. package/lib/services/dns.js.map +1 -1
  114. package/lib/services/durable-objects.d.ts.map +1 -1
  115. package/lib/services/durable-objects.js +11 -11
  116. package/lib/services/durable-objects.js.map +1 -1
  117. package/lib/services/email-auth.d.ts.map +1 -1
  118. package/lib/services/email-auth.js +13 -13
  119. package/lib/services/email-auth.js.map +1 -1
  120. package/lib/services/email-routing.d.ts.map +1 -1
  121. package/lib/services/email-routing.js +70 -70
  122. package/lib/services/email-routing.js.map +1 -1
  123. package/lib/services/email-security.d.ts.map +1 -1
  124. package/lib/services/email-security.js +195 -195
  125. package/lib/services/email-security.js.map +1 -1
  126. package/lib/services/email-sending.d.ts.map +1 -1
  127. package/lib/services/email-sending.js +28 -28
  128. package/lib/services/email-sending.js.map +1 -1
  129. package/lib/services/filters.d.ts.map +1 -1
  130. package/lib/services/filters.js +25 -25
  131. package/lib/services/filters.js.map +1 -1
  132. package/lib/services/firewall.d.ts.map +1 -1
  133. package/lib/services/firewall.js +149 -149
  134. package/lib/services/firewall.js.map +1 -1
  135. package/lib/services/flagship.d.ts.map +1 -1
  136. package/lib/services/flagship.js +52 -52
  137. package/lib/services/flagship.js.map +1 -1
  138. package/lib/services/fraud.js +8 -8
  139. package/lib/services/fraud.js.map +1 -1
  140. package/lib/services/google-tag-gateway.d.ts.map +1 -1
  141. package/lib/services/google-tag-gateway.js +7 -7
  142. package/lib/services/google-tag-gateway.js.map +1 -1
  143. package/lib/services/healthchecks.d.ts.map +1 -1
  144. package/lib/services/healthchecks.js +31 -31
  145. package/lib/services/healthchecks.js.map +1 -1
  146. package/lib/services/hostnames.d.ts.map +1 -1
  147. package/lib/services/hostnames.js +10 -10
  148. package/lib/services/hostnames.js.map +1 -1
  149. package/lib/services/hyperdrive.d.ts.map +1 -1
  150. package/lib/services/hyperdrive.js +32 -32
  151. package/lib/services/hyperdrive.js.map +1 -1
  152. package/lib/services/iam.d.ts.map +1 -1
  153. package/lib/services/iam.js +113 -113
  154. package/lib/services/iam.js.map +1 -1
  155. package/lib/services/images.d.ts.map +1 -1
  156. package/lib/services/images.js +59 -59
  157. package/lib/services/images.js.map +1 -1
  158. package/lib/services/intel.d.ts.map +1 -1
  159. package/lib/services/intel.js +102 -102
  160. package/lib/services/intel.js.map +1 -1
  161. package/lib/services/ips.js +5 -5
  162. package/lib/services/ips.js.map +1 -1
  163. package/lib/services/keyless-certificates.js +17 -17
  164. package/lib/services/keyless-certificates.js.map +1 -1
  165. package/lib/services/kv.d.ts.map +1 -1
  166. package/lib/services/kv.js +54 -54
  167. package/lib/services/kv.js.map +1 -1
  168. package/lib/services/leaked-credential-checks.d.ts.map +1 -1
  169. package/lib/services/leaked-credential-checks.js +22 -22
  170. package/lib/services/leaked-credential-checks.js.map +1 -1
  171. package/lib/services/load-balancers.d.ts.map +1 -1
  172. package/lib/services/load-balancers.js +139 -157
  173. package/lib/services/load-balancers.js.map +1 -1
  174. package/lib/services/logpush.d.ts.map +1 -1
  175. package/lib/services/logpush.js +69 -69
  176. package/lib/services/logpush.js.map +1 -1
  177. package/lib/services/logs.d.ts.map +1 -1
  178. package/lib/services/logs.js +58 -58
  179. package/lib/services/logs.js.map +1 -1
  180. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  181. package/lib/services/magic-cloud-networking.js +138 -168
  182. package/lib/services/magic-cloud-networking.js.map +1 -1
  183. package/lib/services/magic-network-monitoring.d.ts.map +1 -1
  184. package/lib/services/magic-network-monitoring.js +47 -65
  185. package/lib/services/magic-network-monitoring.js.map +1 -1
  186. package/lib/services/magic-transit.d.ts.map +1 -1
  187. package/lib/services/magic-transit.js +340 -364
  188. package/lib/services/magic-transit.js.map +1 -1
  189. package/lib/services/managed-transforms.js +11 -11
  190. package/lib/services/managed-transforms.js.map +1 -1
  191. package/lib/services/memberships.d.ts.map +1 -1
  192. package/lib/services/memberships.js +25 -25
  193. package/lib/services/memberships.js.map +1 -1
  194. package/lib/services/moq.d.ts.map +1 -1
  195. package/lib/services/moq.js +23 -23
  196. package/lib/services/moq.js.map +1 -1
  197. package/lib/services/mtls-certificates.d.ts.map +1 -1
  198. package/lib/services/mtls-certificates.js +17 -17
  199. package/lib/services/mtls-certificates.js.map +1 -1
  200. package/lib/services/network-interconnects.d.ts.map +1 -1
  201. package/lib/services/network-interconnects.js +56 -56
  202. package/lib/services/network-interconnects.js.map +1 -1
  203. package/lib/services/organizations.d.ts.map +1 -1
  204. package/lib/services/organizations.js +42 -42
  205. package/lib/services/organizations.js.map +1 -1
  206. package/lib/services/origin-ca-certificates.js +14 -14
  207. package/lib/services/origin-ca-certificates.js.map +1 -1
  208. package/lib/services/origin-post-quantum-encryption.js +6 -6
  209. package/lib/services/origin-post-quantum-encryption.js.map +1 -1
  210. package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
  211. package/lib/services/origin-tls-client-auth.js +52 -52
  212. package/lib/services/origin-tls-client-auth.js.map +1 -1
  213. package/lib/services/origin-tls-compliance-modes.js +12 -12
  214. package/lib/services/origin-tls-compliance-modes.js.map +1 -1
  215. package/lib/services/page-rules.d.ts.map +1 -1
  216. package/lib/services/page-rules.js +62 -62
  217. package/lib/services/page-rules.js.map +1 -1
  218. package/lib/services/page-shield.d.ts.map +1 -1
  219. package/lib/services/page-shield.js +45 -48
  220. package/lib/services/page-shield.js.map +1 -1
  221. package/lib/services/pages.d.ts.map +1 -1
  222. package/lib/services/pages.js +78 -78
  223. package/lib/services/pages.js.map +1 -1
  224. package/lib/services/pipelines.d.ts.map +1 -1
  225. package/lib/services/pipelines.js +102 -102
  226. package/lib/services/pipelines.js.map +1 -1
  227. package/lib/services/queues.d.ts.map +1 -1
  228. package/lib/services/queues.js +100 -103
  229. package/lib/services/queues.js.map +1 -1
  230. package/lib/services/r2-data-catalog.d.ts.map +1 -1
  231. package/lib/services/r2-data-catalog.js +42 -42
  232. package/lib/services/r2-data-catalog.js.map +1 -1
  233. package/lib/services/r2.d.ts.map +1 -1
  234. package/lib/services/r2.js +190 -190
  235. package/lib/services/r2.js.map +1 -1
  236. package/lib/services/radar.d.ts.map +1 -1
  237. package/lib/services/radar.js +991 -1009
  238. package/lib/services/radar.js.map +1 -1
  239. package/lib/services/rate-limits.d.ts.map +1 -1
  240. package/lib/services/rate-limits.js +24 -24
  241. package/lib/services/rate-limits.js.map +1 -1
  242. package/lib/services/realtime-kit.d.ts.map +1 -1
  243. package/lib/services/realtime-kit.js +276 -276
  244. package/lib/services/realtime-kit.js.map +1 -1
  245. package/lib/services/registrar.d.ts.map +1 -1
  246. package/lib/services/registrar.js +28 -28
  247. package/lib/services/registrar.js.map +1 -1
  248. package/lib/services/request-tracers.d.ts.map +1 -1
  249. package/lib/services/request-tracers.js +7 -7
  250. package/lib/services/request-tracers.js.map +1 -1
  251. package/lib/services/resource-sharing.d.ts.map +1 -1
  252. package/lib/services/resource-sharing.js +49 -49
  253. package/lib/services/resource-sharing.js.map +1 -1
  254. package/lib/services/resource-tagging.d.ts.map +1 -1
  255. package/lib/services/resource-tagging.js +56 -56
  256. package/lib/services/resource-tagging.js.map +1 -1
  257. package/lib/services/rules.d.ts.map +1 -1
  258. package/lib/services/rules.js +50 -50
  259. package/lib/services/rules.js.map +1 -1
  260. package/lib/services/rulesets.d.ts +2 -2
  261. package/lib/services/rulesets.d.ts.map +1 -1
  262. package/lib/services/rulesets.js +226 -190
  263. package/lib/services/rulesets.js.map +1 -1
  264. package/lib/services/rum.d.ts.map +1 -1
  265. package/lib/services/rum.js +35 -35
  266. package/lib/services/rum.js.map +1 -1
  267. package/lib/services/schema-validation.d.ts.map +1 -1
  268. package/lib/services/schema-validation.js +43 -46
  269. package/lib/services/schema-validation.js.map +1 -1
  270. package/lib/services/secrets-store.d.ts.map +1 -1
  271. package/lib/services/secrets-store.js +41 -41
  272. package/lib/services/secrets-store.js.map +1 -1
  273. package/lib/services/security-center.d.ts.map +1 -1
  274. package/lib/services/security-center.js +54 -57
  275. package/lib/services/security-center.js.map +1 -1
  276. package/lib/services/security-txt.d.ts.map +1 -1
  277. package/lib/services/security-txt.js +12 -12
  278. package/lib/services/security-txt.js.map +1 -1
  279. package/lib/services/snippets.d.ts.map +1 -1
  280. package/lib/services/snippets.js +31 -31
  281. package/lib/services/snippets.js.map +1 -1
  282. package/lib/services/spectrum.d.ts.map +1 -1
  283. package/lib/services/spectrum.js +35 -35
  284. package/lib/services/spectrum.js.map +1 -1
  285. package/lib/services/speed.d.ts.map +1 -1
  286. package/lib/services/speed.js +41 -41
  287. package/lib/services/speed.js.map +1 -1
  288. package/lib/services/ssl.d.ts.map +1 -1
  289. package/lib/services/ssl.js +48 -48
  290. package/lib/services/ssl.js.map +1 -1
  291. package/lib/services/stream.d.ts.map +1 -1
  292. package/lib/services/stream.js +147 -147
  293. package/lib/services/stream.js.map +1 -1
  294. package/lib/services/tenant-custom-nameservers.js +11 -11
  295. package/lib/services/tenant-custom-nameservers.js.map +1 -1
  296. package/lib/services/tenants.d.ts.map +1 -1
  297. package/lib/services/tenants.js +28 -28
  298. package/lib/services/tenants.js.map +1 -1
  299. package/lib/services/token-validation.d.ts.map +1 -1
  300. package/lib/services/token-validation.js +56 -56
  301. package/lib/services/token-validation.js.map +1 -1
  302. package/lib/services/turnstile.d.ts.map +1 -1
  303. package/lib/services/turnstile.js +27 -54
  304. package/lib/services/turnstile.js.map +1 -1
  305. package/lib/services/url-normalization.js +9 -9
  306. package/lib/services/url-normalization.js.map +1 -1
  307. package/lib/services/url-scanner.d.ts.map +1 -1
  308. package/lib/services/url-scanner.js +120 -120
  309. package/lib/services/url-scanner.js.map +1 -1
  310. package/lib/services/user.d.ts.map +1 -1
  311. package/lib/services/user.js +95 -95
  312. package/lib/services/user.js.map +1 -1
  313. package/lib/services/vectorize.d.ts +10 -10
  314. package/lib/services/vectorize.d.ts.map +1 -1
  315. package/lib/services/vectorize.js +59 -57
  316. package/lib/services/vectorize.js.map +1 -1
  317. package/lib/services/vulnerability-scanner.d.ts.map +1 -1
  318. package/lib/services/vulnerability-scanner.js +95 -95
  319. package/lib/services/vulnerability-scanner.js.map +1 -1
  320. package/lib/services/waiting-rooms.d.ts.map +1 -1
  321. package/lib/services/waiting-rooms.js +81 -81
  322. package/lib/services/waiting-rooms.js.map +1 -1
  323. package/lib/services/web3.d.ts.map +1 -1
  324. package/lib/services/web3.js +39 -39
  325. package/lib/services/web3.js.map +1 -1
  326. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  327. package/lib/services/workers-for-platforms.js +139 -139
  328. package/lib/services/workers-for-platforms.js.map +1 -1
  329. package/lib/services/workers.d.ts.map +1 -1
  330. package/lib/services/workers.js +420 -420
  331. package/lib/services/workers.js.map +1 -1
  332. package/lib/services/workflows.d.ts.map +1 -1
  333. package/lib/services/workflows.js +88 -88
  334. package/lib/services/workflows.js.map +1 -1
  335. package/lib/services/zaraz.d.ts.map +1 -1
  336. package/lib/services/zaraz.js +36 -39
  337. package/lib/services/zaraz.js.map +1 -1
  338. package/lib/services/zero-trust.d.ts.map +1 -1
  339. package/lib/services/zero-trust.js +1765 -1771
  340. package/lib/services/zero-trust.js.map +1 -1
  341. package/lib/services/zones.d.ts.map +1 -1
  342. package/lib/services/zones.js +168 -168
  343. package/lib/services/zones.js.map +1 -1
  344. package/lib/traits.d.ts.map +1 -1
  345. package/package.json +10 -9
  346. package/src/services/abuse-reports.ts +35 -36
  347. package/src/services/accounts.ts +714 -760
  348. package/src/services/acm.ts +115 -125
  349. package/src/services/addressing.ts +484 -512
  350. package/src/services/ai-gateway.ts +653 -672
  351. package/src/services/ai-security.ts +47 -53
  352. package/src/services/ai.ts +172 -185
  353. package/src/services/aisearch.ts +1814 -1861
  354. package/src/services/alerting.ts +710 -742
  355. package/src/services/api-gateway.ts +481 -508
  356. package/src/services/argo.ts +12 -12
  357. package/src/services/audit-logs.ts +45 -49
  358. package/src/services/billing.ts +121 -136
  359. package/src/services/bot-management.ts +122 -136
  360. package/src/services/botnet-feed.ts +68 -74
  361. package/src/services/brand-protection.ts +275 -294
  362. package/src/services/browser-rendering.ts +758 -769
  363. package/src/services/cache.ts +148 -158
  364. package/src/services/calls.ts +110 -120
  365. package/src/services/certificate-authorities.ts +6 -6
  366. package/src/services/client-certificates.ts +18 -18
  367. package/src/services/cloud-connector.ts +11 -12
  368. package/src/services/cloudforce-one.ts +589 -617
  369. package/src/services/connectivity.ts +25 -25
  370. package/src/services/containers.ts +49 -49
  371. package/src/services/content-scanning.ts +80 -89
  372. package/src/services/csam-scanner.ts +16 -17
  373. package/src/services/custom-certificates.ts +36 -38
  374. package/src/services/custom-csrs.ts +103 -105
  375. package/src/services/custom-hostnames.ts +44 -45
  376. package/src/services/custom-nameservers.ts +11 -11
  377. package/src/services/custom-pages.ts +173 -184
  378. package/src/services/d1.ts +335 -325
  379. package/src/services/dcv-delegation.ts +3 -3
  380. package/src/services/ddos-protection.ts +126 -126
  381. package/src/services/diagnostics.ts +27 -27
  382. package/src/services/dls.ts +82 -86
  383. package/src/services/dns-firewall.ts +65 -69
  384. package/src/services/dns.ts +1080 -1107
  385. package/src/services/durable-objects.ts +36 -38
  386. package/src/services/email-auth.ts +47 -52
  387. package/src/services/email-routing.ts +264 -288
  388. package/src/services/email-security.ts +205 -208
  389. package/src/services/email-sending.ts +94 -99
  390. package/src/services/filters.ts +97 -111
  391. package/src/services/firewall.ts +698 -753
  392. package/src/services/flagship.ts +321 -336
  393. package/src/services/fraud.ts +8 -8
  394. package/src/services/google-tag-gateway.ts +17 -19
  395. package/src/services/healthchecks.ts +269 -286
  396. package/src/services/hostnames.ts +94 -99
  397. package/src/services/hyperdrive.ts +310 -324
  398. package/src/services/iam.ts +205 -212
  399. package/src/services/images.ts +138 -150
  400. package/src/services/intel.ts +248 -261
  401. package/src/services/ips.ts +5 -5
  402. package/src/services/keyless-certificates.ts +17 -17
  403. package/src/services/kv.ts +106 -110
  404. package/src/services/leaked-credential-checks.ts +49 -53
  405. package/src/services/load-balancers.ts +1119 -1212
  406. package/src/services/logpush.ts +298 -313
  407. package/src/services/logs.ts +74 -77
  408. package/src/services/magic-cloud-networking.ts +1219 -1311
  409. package/src/services/magic-network-monitoring.ts +647 -685
  410. package/src/services/magic-transit.ts +1988 -2119
  411. package/src/services/managed-transforms.ts +11 -11
  412. package/src/services/memberships.ts +101 -105
  413. package/src/services/moq.ts +100 -110
  414. package/src/services/mtls-certificates.ts +30 -32
  415. package/src/services/network-interconnects.ts +137 -145
  416. package/src/services/organizations.ts +189 -192
  417. package/src/services/origin-ca-certificates.ts +14 -14
  418. package/src/services/origin-post-quantum-encryption.ts +6 -6
  419. package/src/services/origin-tls-client-auth.ts +219 -236
  420. package/src/services/origin-tls-compliance-modes.ts +12 -12
  421. package/src/services/page-rules.ts +365 -373
  422. package/src/services/page-shield.ts +489 -528
  423. package/src/services/pages.ts +309 -319
  424. package/src/services/pipelines.ts +534 -573
  425. package/src/services/queues.ts +598 -635
  426. package/src/services/r2-data-catalog.ts +59 -60
  427. package/src/services/r2.ts +654 -689
  428. package/src/services/radar.ts +3395 -3487
  429. package/src/services/rate-limits.ts +81 -93
  430. package/src/services/realtime-kit.ts +386 -399
  431. package/src/services/registrar.ts +90 -96
  432. package/src/services/request-tracers.ts +41 -43
  433. package/src/services/resource-sharing.ts +293 -305
  434. package/src/services/resource-tagging.ts +354 -366
  435. package/src/services/rules.ts +272 -292
  436. package/src/services/rulesets.ts +1214 -1116
  437. package/src/services/rum.ts +252 -273
  438. package/src/services/schema-validation.ts +284 -305
  439. package/src/services/secrets-store.ts +130 -138
  440. package/src/services/security-center.ts +64 -69
  441. package/src/services/security-txt.ts +48 -50
  442. package/src/services/snippets.ts +132 -142
  443. package/src/services/spectrum.ts +75 -80
  444. package/src/services/speed.ts +385 -397
  445. package/src/services/ssl.ts +64 -65
  446. package/src/services/stream.ts +658 -718
  447. package/src/services/tenant-custom-nameservers.ts +11 -11
  448. package/src/services/tenants.ts +86 -93
  449. package/src/services/token-validation.ts +145 -151
  450. package/src/services/turnstile.ts +344 -381
  451. package/src/services/url-normalization.ts +9 -9
  452. package/src/services/url-scanner.ts +393 -399
  453. package/src/services/user.ts +479 -503
  454. package/src/services/vectorize.ts +215 -230
  455. package/src/services/vulnerability-scanner.ts +145 -148
  456. package/src/services/waiting-rooms.ts +759 -825
  457. package/src/services/web3.ts +186 -197
  458. package/src/services/workers-for-platforms.ts +408 -432
  459. package/src/services/workers.ts +1175 -1239
  460. package/src/services/workflows.ts +585 -616
  461. package/src/services/zaraz.ts +168 -192
  462. package/src/services/zero-trust.ts +2965 -3074
  463. package/src/services/zones.ts +753 -785
@@ -100,7 +100,7 @@ interface ApishieldAuthIDCharacteristic {
100
100
  type: "header" | "cookie" | (string & {});
101
101
  }
102
102
  const ApishieldAuthIDCharacteristic =
103
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
103
+ /*@__PURE__*/ Schema.suspend(() =>
104
104
  Schema.Struct({
105
105
  name: Schema.String,
106
106
  type: Schema.Union([
@@ -117,7 +117,7 @@ interface ApishieldAuthIDCharacteristicJWTClaim {
117
117
  type: "jwt";
118
118
  }
119
119
  const ApishieldAuthIDCharacteristicJWTClaim =
120
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
120
+ /*@__PURE__*/ Schema.suspend(() =>
121
121
  Schema.Struct({
122
122
  name: Schema.String,
123
123
  type: Schema.Literal("jwt"),
@@ -131,7 +131,7 @@ interface TrafficStats {
131
131
  /** The average number of requests seen during this period */
132
132
  requests: number;
133
133
  }
134
- const TrafficStats = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
134
+ const TrafficStats = /*@__PURE__*/ Schema.suspend(() =>
135
135
  Schema.Struct({
136
136
  lastUpdated: Schema.String,
137
137
  periodSeconds: Schema.Number,
@@ -152,7 +152,7 @@ interface Features {
152
152
  requests: number;
153
153
  } | null;
154
154
  }
155
- const Features = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
155
+ const Features = /*@__PURE__*/ Schema.suspend(() =>
156
156
  Schema.Struct({
157
157
  trafficStats: Schema.optional(Schema.Union([TrafficStats, Schema.Null])),
158
158
  }).pipe(Schema.encodeKeys({ trafficStats: "traffic_stats" })),
@@ -190,7 +190,7 @@ interface DiscoveryOperation {
190
190
  } | null;
191
191
  } | null;
192
192
  }
193
- const DiscoveryOperation = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
193
+ const DiscoveryOperation = /*@__PURE__*/ Schema.suspend(() =>
194
194
  Schema.Struct({
195
195
  id: Schema.String,
196
196
  endpoint: Schema.String,
@@ -242,7 +242,7 @@ interface ListDiscoveryOperationsResponseResultInfo {
242
242
  totalCount?: number | null;
243
243
  }
244
244
  const ListDiscoveryOperationsResponseResultInfo =
245
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
245
+ /*@__PURE__*/ Schema.suspend(() =>
246
246
  Schema.Struct({
247
247
  count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
248
248
  page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -272,38 +272,34 @@ interface ListLabelsResponseResult {
272
272
  /** Provides counts of what resources are linked to this label */
273
273
  mappedResources?: unknown | null;
274
274
  }
275
- const ListLabelsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
276
- () =>
277
- Schema.Struct({
278
- createdAt: Schema.String,
279
- description: Schema.String,
280
- lastUpdated: Schema.String,
281
- metadata: Schema.Unknown,
282
- name: Schema.String,
283
- source: Schema.Union([
284
- Schema.Literals(["user", "managed"]),
285
- Schema.String,
286
- ]),
287
- mappedResources: Schema.optional(
288
- Schema.Union([Schema.Unknown, Schema.Null]),
289
- ),
290
- }).pipe(
291
- Schema.encodeKeys({
292
- createdAt: "created_at",
293
- description: "description",
294
- lastUpdated: "last_updated",
295
- metadata: "metadata",
296
- name: "name",
297
- source: "source",
298
- mappedResources: "mapped_resources",
299
- }),
275
+ const ListLabelsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
276
+ Schema.Struct({
277
+ createdAt: Schema.String,
278
+ description: Schema.String,
279
+ lastUpdated: Schema.String,
280
+ metadata: Schema.Unknown,
281
+ name: Schema.String,
282
+ source: Schema.Union([Schema.Literals(["user", "managed"]), Schema.String]),
283
+ mappedResources: Schema.optional(
284
+ Schema.Union([Schema.Unknown, Schema.Null]),
300
285
  ),
286
+ }).pipe(
287
+ Schema.encodeKeys({
288
+ createdAt: "created_at",
289
+ description: "description",
290
+ lastUpdated: "last_updated",
291
+ metadata: "metadata",
292
+ name: "name",
293
+ source: "source",
294
+ mappedResources: "mapped_resources",
295
+ }),
296
+ ),
301
297
  ) as unknown as Schema.Codec<ListLabelsResponseResult>;
302
298
 
303
299
  interface Include {
304
300
  operationIds: string[];
305
301
  }
306
- const Include = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
302
+ const Include = /*@__PURE__*/ Schema.suspend(() =>
307
303
  Schema.Struct({
308
304
  operationIds: Schema.Array(Schema.String),
309
305
  }).pipe(Schema.encodeKeys({ operationIds: "operation_ids" })),
@@ -312,7 +308,7 @@ const Include = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
312
308
  interface Selector {
313
309
  include: { operationIds: string[] };
314
310
  }
315
- const Selector = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
311
+ const Selector = /*@__PURE__*/ Schema.suspend(() =>
316
312
  Schema.Struct({
317
313
  include: Include,
318
314
  }),
@@ -326,7 +322,7 @@ interface Body {
326
322
  /** Metadata for the label */
327
323
  metadata?: unknown | null;
328
324
  }
329
- const Body = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
325
+ const Body = /*@__PURE__*/ Schema.suspend(() =>
330
326
  Schema.Struct({
331
327
  name: Schema.String,
332
328
  description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -347,7 +343,7 @@ interface BulkCreateLabelUsersResponseResult {
347
343
  source: "user" | "managed" | (string & {});
348
344
  }
349
345
  const BulkCreateLabelUsersResponseResult =
350
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
346
+ /*@__PURE__*/ Schema.suspend(() =>
351
347
  Schema.Struct({
352
348
  createdAt: Schema.String,
353
349
  description: Schema.String,
@@ -389,7 +385,7 @@ interface Thresholds {
389
385
  /** The suggested threshold in requests done by the same auth_id or period_seconds. */
390
386
  suggestedThreshold?: number | null;
391
387
  }
392
- const Thresholds = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
388
+ const Thresholds = /*@__PURE__*/ Schema.suspend(() =>
393
389
  Schema.Struct({
394
390
  authIdTokens: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
395
391
  dataPoints: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -431,7 +427,7 @@ interface ApishieldOperationFeatureThresholds {
431
427
  } | null;
432
428
  }
433
429
  const ApishieldOperationFeatureThresholds =
434
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
430
+ /*@__PURE__*/ Schema.suspend(() =>
435
431
  Schema.Struct({
436
432
  thresholds: Schema.optional(Schema.Union([Thresholds, Schema.Null])),
437
433
  }),
@@ -443,7 +439,7 @@ interface ParameterSchemas {
443
439
  /** An empty response object. This field is required to yield a valid operation schema. */
444
440
  responses?: unknown | null;
445
441
  }
446
- const ParameterSchemas = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
442
+ const ParameterSchemas = /*@__PURE__*/ Schema.suspend(() =>
447
443
  Schema.Struct({
448
444
  parameters: Schema.optional(
449
445
  Schema.Union([Schema.Array(Schema.Unknown), Schema.Null]),
@@ -460,7 +456,7 @@ interface ParameterSchemas2 {
460
456
  responses?: unknown | null;
461
457
  } | null;
462
458
  }
463
- const ParameterSchemas2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
459
+ const ParameterSchemas2 = /*@__PURE__*/ Schema.suspend(() =>
464
460
  Schema.Struct({
465
461
  lastUpdated: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
466
462
  parameterSchemas: Schema.optional(
@@ -484,7 +480,7 @@ interface ApishieldOperationFeatureParameterSchemas {
484
480
  };
485
481
  }
486
482
  const ApishieldOperationFeatureParameterSchemas =
487
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
483
+ /*@__PURE__*/ Schema.suspend(() =>
488
484
  Schema.Struct({
489
485
  parameterSchemas: ParameterSchemas2,
490
486
  }).pipe(Schema.encodeKeys({ parameterSchemas: "parameter_schemas" })),
@@ -495,7 +491,7 @@ interface Apirouting {
495
491
  /** Target route. */
496
492
  route?: string | null;
497
493
  }
498
- const Apirouting = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
494
+ const Apirouting = /*@__PURE__*/ Schema.suspend(() =>
499
495
  Schema.Struct({
500
496
  lastUpdated: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
501
497
  route: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -507,7 +503,7 @@ interface ApishieldOperationFeatureAPIRouting {
507
503
  apiRouting?: { lastUpdated?: string | null; route?: string | null } | null;
508
504
  }
509
505
  const ApishieldOperationFeatureAPIRouting =
510
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
506
+ /*@__PURE__*/ Schema.suspend(() =>
511
507
  Schema.Struct({
512
508
  apiRouting: Schema.optional(Schema.Union([Apirouting, Schema.Null])),
513
509
  }).pipe(Schema.encodeKeys({ apiRouting: "api_routing" })),
@@ -519,7 +515,7 @@ interface P90 {
519
515
  /** Upper bound for percentile estimate */
520
516
  upper?: number | null;
521
517
  }
522
- const P90 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
518
+ const P90 = /*@__PURE__*/ Schema.suspend(() =>
523
519
  Schema.Struct({
524
520
  lower: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
525
521
  upper: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -534,7 +530,7 @@ interface ConfidenceIntervals {
534
530
  /** Upper and lower bound for percentile estimate */
535
531
  p99?: { lower?: number | null; upper?: number | null } | null;
536
532
  }
537
- const ConfidenceIntervals = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
533
+ const ConfidenceIntervals = /*@__PURE__*/ Schema.suspend(() =>
538
534
  Schema.Struct({
539
535
  p90: Schema.optional(Schema.Union([P90, Schema.Null])),
540
536
  p95: Schema.optional(Schema.Union([P90, Schema.Null])),
@@ -551,7 +547,7 @@ interface SuggestedThreshold {
551
547
  /** Suggested threshold. */
552
548
  mean?: number | null;
553
549
  }
554
- const SuggestedThreshold = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
550
+ const SuggestedThreshold = /*@__PURE__*/ Schema.suspend(() =>
555
551
  Schema.Struct({
556
552
  confidenceIntervals: Schema.optional(
557
553
  Schema.Union([ConfidenceIntervals, Schema.Null]),
@@ -576,7 +572,7 @@ interface ConfidenceIntervals2 {
576
572
  mean?: number | null;
577
573
  } | null;
578
574
  }
579
- const ConfidenceIntervals2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
575
+ const ConfidenceIntervals2 = /*@__PURE__*/ Schema.suspend(() =>
580
576
  Schema.Struct({
581
577
  lastUpdated: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
582
578
  suggestedThreshold: Schema.optional(
@@ -604,7 +600,7 @@ interface ApishieldOperationFeatureConfidenceIntervals {
604
600
  } | null;
605
601
  }
606
602
  const ApishieldOperationFeatureConfidenceIntervals =
607
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
603
+ /*@__PURE__*/ Schema.suspend(() =>
608
604
  Schema.Struct({
609
605
  confidenceIntervals: Schema.optional(
610
606
  Schema.Union([ConfidenceIntervals2, Schema.Null]),
@@ -621,7 +617,7 @@ interface ActiveSchema {
621
617
  /** Schema file name. */
622
618
  name?: string | null;
623
619
  }
624
- const ActiveSchema = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
620
+ const ActiveSchema = /*@__PURE__*/ Schema.suspend(() =>
625
621
  Schema.Struct({
626
622
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
627
623
  createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -650,7 +646,7 @@ interface SchemaInfo {
650
646
  /** Action taken on requests failing validation. */
651
647
  mitigationAction?: "none" | "log" | "block" | null;
652
648
  }
653
- const SchemaInfo = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
649
+ const SchemaInfo = /*@__PURE__*/ Schema.suspend(() =>
654
650
  Schema.Struct({
655
651
  activeSchema: Schema.optional(Schema.Union([ActiveSchema, Schema.Null])),
656
652
  learnedAvailable: Schema.optional(
@@ -686,7 +682,7 @@ interface ApishieldOperationFeatureSchemaInfo {
686
682
  } | null;
687
683
  }
688
684
  const ApishieldOperationFeatureSchemaInfo =
689
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
685
+ /*@__PURE__*/ Schema.suspend(() =>
690
686
  Schema.Struct({
691
687
  schemaInfo: Schema.optional(Schema.Union([SchemaInfo, Schema.Null])),
692
688
  }).pipe(Schema.encodeKeys({ schemaInfo: "schema_info" })),
@@ -698,7 +694,7 @@ interface Learned {
698
694
  /** OpenAPI request body object describing the expected request payload. */
699
695
  requestBody?: Record<string, unknown> | null;
700
696
  }
701
- const Learned = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
697
+ const Learned = /*@__PURE__*/ Schema.suspend(() =>
702
698
  Schema.Struct({
703
699
  parameters: Schema.optional(
704
700
  Schema.Union([
@@ -724,7 +720,7 @@ interface Schemas {
724
720
  requestBody?: Record<string, unknown> | null;
725
721
  } | null;
726
722
  }
727
- const Schemas = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
723
+ const Schemas = /*@__PURE__*/ Schema.suspend(() =>
728
724
  Schema.Struct({
729
725
  learned: Schema.optional(Schema.Union([Learned, Schema.Null])),
730
726
  uploaded: Schema.optional(Schema.Union([Learned, Schema.Null])),
@@ -807,55 +803,54 @@ interface ListOperationsResponseResult {
807
803
  }
808
804
  | null;
809
805
  }
810
- const ListOperationsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
811
- () =>
812
- Schema.Struct({
813
- endpoint: Schema.String,
814
- host: Schema.String,
815
- lastUpdated: Schema.String,
816
- method: Schema.Union([
817
- Schema.Literals([
818
- "GET",
819
- "POST",
820
- "HEAD",
821
- "OPTIONS",
822
- "PUT",
823
- "DELETE",
824
- "CONNECT",
825
- "PATCH",
826
- "TRACE",
827
- ]),
828
- Schema.String,
806
+ const ListOperationsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
807
+ Schema.Struct({
808
+ endpoint: Schema.String,
809
+ host: Schema.String,
810
+ lastUpdated: Schema.String,
811
+ method: Schema.Union([
812
+ Schema.Literals([
813
+ "GET",
814
+ "POST",
815
+ "HEAD",
816
+ "OPTIONS",
817
+ "PUT",
818
+ "DELETE",
819
+ "CONNECT",
820
+ "PATCH",
821
+ "TRACE",
829
822
  ]),
830
- operationId: Schema.String,
831
- features: Schema.optional(
823
+ Schema.String,
824
+ ]),
825
+ operationId: Schema.String,
826
+ features: Schema.optional(
827
+ Schema.Union([
832
828
  Schema.Union([
833
- Schema.Union([
834
- ApishieldOperationFeatureParameterSchemas,
835
- ApishieldOperationFeatureThresholds,
836
- ApishieldOperationFeatureAPIRouting,
837
- ApishieldOperationFeatureConfidenceIntervals,
838
- ApishieldOperationFeatureSchemaInfo,
839
- ]),
840
- Schema.Null,
829
+ ApishieldOperationFeatureParameterSchemas,
830
+ ApishieldOperationFeatureThresholds,
831
+ ApishieldOperationFeatureAPIRouting,
832
+ ApishieldOperationFeatureConfidenceIntervals,
833
+ ApishieldOperationFeatureSchemaInfo,
841
834
  ]),
842
- ),
843
- }).pipe(
844
- Schema.encodeKeys({
845
- endpoint: "endpoint",
846
- host: "host",
847
- lastUpdated: "last_updated",
848
- method: "method",
849
- operationId: "operation_id",
850
- features: "features",
851
- }),
835
+ Schema.Null,
836
+ ]),
852
837
  ),
838
+ }).pipe(
839
+ Schema.encodeKeys({
840
+ endpoint: "endpoint",
841
+ host: "host",
842
+ lastUpdated: "last_updated",
843
+ method: "method",
844
+ operationId: "operation_id",
845
+ features: "features",
846
+ }),
847
+ ),
853
848
  ) as unknown as Schema.Codec<ListOperationsResponseResult>;
854
849
 
855
850
  interface Source {
856
851
  pointer?: string | null;
857
852
  }
858
- const Source = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
853
+ const Source = /*@__PURE__*/ Schema.suspend(() =>
859
854
  Schema.Struct({
860
855
  pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
861
856
  }),
@@ -867,7 +862,7 @@ interface MessageItem {
867
862
  documentationUrl?: string | null;
868
863
  source?: { pointer?: string | null } | null;
869
864
  }
870
- const MessageItem = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
865
+ const MessageItem = /*@__PURE__*/ Schema.suspend(() =>
871
866
  Schema.Struct({
872
867
  code: Schema.Number,
873
868
  message: Schema.String,
@@ -903,7 +898,7 @@ interface Body2 {
903
898
  | "TRACE"
904
899
  | (string & {});
905
900
  }
906
- const Body2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
901
+ const Body2 = /*@__PURE__*/ Schema.suspend(() =>
907
902
  Schema.Struct({
908
903
  endpoint: Schema.String,
909
904
  host: Schema.String,
@@ -928,7 +923,7 @@ interface Managed {
928
923
  /** List of managed label names. */
929
924
  labels?: string[] | null;
930
925
  }
931
- const Managed = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
926
+ const Managed = /*@__PURE__*/ Schema.suspend(() =>
932
927
  Schema.Struct({
933
928
  labels: Schema.optional(
934
929
  Schema.Union([Schema.Array(Schema.String), Schema.Null]),
@@ -968,7 +963,7 @@ interface BulkCreateOperationLabelsResponseResult {
968
963
  | null;
969
964
  }
970
965
  const BulkCreateOperationLabelsResponseResult =
971
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
966
+ /*@__PURE__*/ Schema.suspend(() =>
972
967
  Schema.Struct({
973
968
  endpoint: Schema.String,
974
969
  host: Schema.String,
@@ -1010,7 +1005,7 @@ interface Managed2 {
1010
1005
  /** List of managed label names. Providing an empty array will result in all managed labels being removed from all affected operations */
1011
1006
  labels: string[];
1012
1007
  }
1013
- const Managed2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1008
+ const Managed2 = /*@__PURE__*/ Schema.suspend(() =>
1014
1009
  Schema.Struct({
1015
1010
  labels: Schema.Array(Schema.String),
1016
1011
  }),
@@ -1030,7 +1025,7 @@ interface ListUserSchemasResponseResult {
1030
1025
  validationEnabled?: boolean | null;
1031
1026
  }
1032
1027
  const ListUserSchemasResponseResult =
1033
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1028
+ /*@__PURE__*/ Schema.suspend(() =>
1034
1029
  Schema.Struct({
1035
1030
  createdAt: Schema.String,
1036
1031
  kind: Schema.Literal("openapi_v3"),
@@ -1060,7 +1055,7 @@ interface Warning {
1060
1055
  /** Diagnostic message that describes the event. */
1061
1056
  message?: string | null;
1062
1057
  }
1063
- const Warning = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1058
+ const Warning = /*@__PURE__*/ Schema.suspend(() =>
1064
1059
  Schema.Struct({
1065
1060
  code: Schema.Number,
1066
1061
  locations: Schema.optional(
@@ -1076,7 +1071,7 @@ interface UploadDetails {
1076
1071
  | { code: number; locations?: string[] | null; message?: string | null }[]
1077
1072
  | null;
1078
1073
  }
1079
- const UploadDetails = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1074
+ const UploadDetails = /*@__PURE__*/ Schema.suspend(() =>
1080
1075
  Schema.Struct({
1081
1076
  warnings: Schema.optional(
1082
1077
  Schema.Union([Schema.Array(Warning), Schema.Null]),
@@ -1094,7 +1089,7 @@ interface ListUserSchemaHostsResponseResult {
1094
1089
  schemaId: string;
1095
1090
  }
1096
1091
  const ListUserSchemaHostsResponseResult =
1097
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1092
+ /*@__PURE__*/ Schema.suspend(() =>
1098
1093
  Schema.Struct({
1099
1094
  createdAt: Schema.String,
1100
1095
  hosts: Schema.Array(Schema.String),
@@ -1122,7 +1117,7 @@ export interface GetConfigurationRequest {
1122
1117
  }
1123
1118
 
1124
1119
  export const GetConfigurationRequest =
1125
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1120
+ /*@__PURE__*/ Schema.suspend(() =>
1126
1121
  Schema.Struct({
1127
1122
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1128
1123
  normalize: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("normalize")),
@@ -1142,7 +1137,7 @@ export interface GetConfigurationResponse {
1142
1137
  }
1143
1138
 
1144
1139
  export const GetConfigurationResponse =
1145
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1140
+ /*@__PURE__*/ Schema.suspend(() =>
1146
1141
  Schema.Struct({
1147
1142
  authIdCharacteristics: Schema.Array(
1148
1143
  Schema.Union([
@@ -1168,7 +1163,7 @@ export const getConfiguration: API.OperationMethod<
1168
1163
  GetConfigurationResponse,
1169
1164
  GetConfigurationError,
1170
1165
  Credentials | HttpClient.HttpClient
1171
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1166
+ > = /*@__PURE__*/ API.make(() => ({
1172
1167
  input: GetConfigurationRequest,
1173
1168
  output: GetConfigurationResponse,
1174
1169
  errors: [InvalidObjectIdentifier, NotEntitled, Forbidden],
@@ -1187,7 +1182,7 @@ export interface PutConfigurationRequest {
1187
1182
  }
1188
1183
 
1189
1184
  export const PutConfigurationRequest =
1190
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1185
+ /*@__PURE__*/ Schema.suspend(() =>
1191
1186
  Schema.Struct({
1192
1187
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1193
1188
  normalize: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("normalize")),
@@ -1214,7 +1209,7 @@ export interface PutConfigurationResponse {
1214
1209
  }
1215
1210
 
1216
1211
  export const PutConfigurationResponse =
1217
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1212
+ /*@__PURE__*/ Schema.suspend(() =>
1218
1213
  Schema.Struct({
1219
1214
  authIdCharacteristics: Schema.Array(
1220
1215
  Schema.Union([
@@ -1240,7 +1235,7 @@ export const putConfiguration: API.OperationMethod<
1240
1235
  PutConfigurationResponse,
1241
1236
  PutConfigurationError,
1242
1237
  Credentials | HttpClient.HttpClient
1243
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1238
+ > = /*@__PURE__*/ API.make(() => ({
1244
1239
  input: PutConfigurationRequest,
1245
1240
  output: PutConfigurationResponse,
1246
1241
  errors: [InvalidObjectIdentifier, NotEntitled, Forbidden],
@@ -1255,13 +1250,12 @@ export interface GetDiscoveryRequest {
1255
1250
  zoneId: string;
1256
1251
  }
1257
1252
 
1258
- export const GetDiscoveryRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1259
- () =>
1260
- Schema.Struct({
1261
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1262
- }).pipe(
1263
- T.Http({ method: "GET", path: "/zones/{zone_id}/api_gateway/discovery" }),
1264
- ),
1253
+ export const GetDiscoveryRequest = /*@__PURE__*/ Schema.suspend(() =>
1254
+ Schema.Struct({
1255
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1256
+ }).pipe(
1257
+ T.Http({ method: "GET", path: "/zones/{zone_id}/api_gateway/discovery" }),
1258
+ ),
1265
1259
  ) as unknown as Schema.Codec<GetDiscoveryRequest>;
1266
1260
 
1267
1261
  export interface GetDiscoveryResponse {
@@ -1269,12 +1263,11 @@ export interface GetDiscoveryResponse {
1269
1263
  timestamp: string;
1270
1264
  }
1271
1265
 
1272
- export const GetDiscoveryResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1273
- () =>
1274
- Schema.Struct({
1275
- schemas: Schema.Array(Schema.Unknown),
1276
- timestamp: Schema.String,
1277
- }).pipe(T.ResponsePath("result")),
1266
+ export const GetDiscoveryResponse = /*@__PURE__*/ Schema.suspend(() =>
1267
+ Schema.Struct({
1268
+ schemas: Schema.Array(Schema.Unknown),
1269
+ timestamp: Schema.String,
1270
+ }).pipe(T.ResponsePath("result")),
1278
1271
  ) as unknown as Schema.Codec<GetDiscoveryResponse>;
1279
1272
 
1280
1273
  export type GetDiscoveryError =
@@ -1287,7 +1280,7 @@ export const getDiscovery: API.OperationMethod<
1287
1280
  GetDiscoveryResponse,
1288
1281
  GetDiscoveryError,
1289
1282
  Credentials | HttpClient.HttpClient
1290
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1283
+ > = /*@__PURE__*/ API.make(() => ({
1291
1284
  input: GetDiscoveryRequest,
1292
1285
  output: GetDiscoveryResponse,
1293
1286
  errors: [InvalidObjectIdentifier, NotEntitled],
@@ -1327,7 +1320,7 @@ export interface ListDiscoveryOperationsRequest {
1327
1320
  }
1328
1321
 
1329
1322
  export const ListDiscoveryOperationsRequest =
1330
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1323
+ /*@__PURE__*/ Schema.suspend(() =>
1331
1324
  Schema.Struct({
1332
1325
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1333
1326
  page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
@@ -1411,7 +1404,7 @@ export interface ListDiscoveryOperationsResponse {
1411
1404
  }
1412
1405
 
1413
1406
  export const ListDiscoveryOperationsResponse =
1414
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1407
+ /*@__PURE__*/ Schema.suspend(() =>
1415
1408
  Schema.Struct({
1416
1409
  result: Schema.Array(DiscoveryOperation),
1417
1410
  resultInfo: Schema.optional(
@@ -1427,7 +1420,7 @@ export const listDiscoveryOperations: API.PaginatedOperationMethod<
1427
1420
  ListDiscoveryOperationsResponse,
1428
1421
  ListDiscoveryOperationsError,
1429
1422
  Credentials | HttpClient.HttpClient
1430
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1423
+ > = /*@__PURE__*/ API.makePaginated(() => ({
1431
1424
  input: ListDiscoveryOperationsRequest,
1432
1425
  output: ListDiscoveryOperationsResponse,
1433
1426
  errors: [],
@@ -1448,7 +1441,7 @@ export interface BulkPatchDiscoveryOperationsRequest {
1448
1441
  }
1449
1442
 
1450
1443
  export const BulkPatchDiscoveryOperationsRequest =
1451
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1444
+ /*@__PURE__*/ Schema.suspend(() =>
1452
1445
  Schema.Struct({
1453
1446
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1454
1447
  body: Schema.Record(Schema.String, Schema.Unknown).pipe(T.HttpBody()),
@@ -1463,7 +1456,7 @@ export const BulkPatchDiscoveryOperationsRequest =
1463
1456
  export type BulkPatchDiscoveryOperationsResponse = Record<string, unknown>;
1464
1457
 
1465
1458
  export const BulkPatchDiscoveryOperationsResponse =
1466
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1459
+ /*@__PURE__*/ Schema.suspend(() =>
1467
1460
  Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")),
1468
1461
  ) as unknown as Schema.Codec<BulkPatchDiscoveryOperationsResponse>;
1469
1462
 
@@ -1477,7 +1470,7 @@ export const bulkPatchDiscoveryOperations: API.OperationMethod<
1477
1470
  BulkPatchDiscoveryOperationsResponse,
1478
1471
  BulkPatchDiscoveryOperationsError,
1479
1472
  Credentials | HttpClient.HttpClient
1480
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1473
+ > = /*@__PURE__*/ API.make(() => ({
1481
1474
  input: BulkPatchDiscoveryOperationsRequest,
1482
1475
  output: BulkPatchDiscoveryOperationsResponse,
1483
1476
  errors: [InvalidObjectIdentifier, NotEntitled],
@@ -1495,7 +1488,7 @@ export interface CreateExpressionTemplateFallthroughRequest {
1495
1488
  }
1496
1489
 
1497
1490
  export const CreateExpressionTemplateFallthroughRequest =
1498
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1491
+ /*@__PURE__*/ Schema.suspend(() =>
1499
1492
  Schema.Struct({
1500
1493
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1501
1494
  hosts: Schema.Array(Schema.String),
@@ -1515,7 +1508,7 @@ export interface CreateExpressionTemplateFallthroughResponse {
1515
1508
  }
1516
1509
 
1517
1510
  export const CreateExpressionTemplateFallthroughResponse =
1518
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1511
+ /*@__PURE__*/ Schema.suspend(() =>
1519
1512
  Schema.Struct({
1520
1513
  expression: Schema.String,
1521
1514
  title: Schema.String,
@@ -1531,7 +1524,7 @@ export const createExpressionTemplateFallthrough: API.OperationMethod<
1531
1524
  CreateExpressionTemplateFallthroughResponse,
1532
1525
  CreateExpressionTemplateFallthroughError,
1533
1526
  Credentials | HttpClient.HttpClient
1534
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1527
+ > = /*@__PURE__*/ API.make(() => ({
1535
1528
  input: CreateExpressionTemplateFallthroughRequest,
1536
1529
  output: CreateExpressionTemplateFallthroughResponse,
1537
1530
  errors: [InvalidObjectIdentifier],
@@ -1564,37 +1557,36 @@ export interface ListLabelsRequest {
1564
1557
  withMappedResourceCounts?: boolean;
1565
1558
  }
1566
1559
 
1567
- export const ListLabelsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1568
- () =>
1569
- Schema.Struct({
1570
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1571
- page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
1572
- perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
1573
- direction: Schema.optional(
1574
- Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String]),
1575
- ).pipe(T.HttpQuery("direction")),
1576
- filter: Schema.optional(Schema.String).pipe(T.HttpQuery("filter")),
1577
- order: Schema.optional(
1578
- Schema.Union([
1579
- Schema.Literals([
1580
- "name",
1581
- "description",
1582
- "created_at",
1583
- "last_updated",
1584
- "mapped_resources.operations",
1585
- ]),
1586
- Schema.String,
1560
+ export const ListLabelsRequest = /*@__PURE__*/ Schema.suspend(() =>
1561
+ Schema.Struct({
1562
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1563
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
1564
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
1565
+ direction: Schema.optional(
1566
+ Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String]),
1567
+ ).pipe(T.HttpQuery("direction")),
1568
+ filter: Schema.optional(Schema.String).pipe(T.HttpQuery("filter")),
1569
+ order: Schema.optional(
1570
+ Schema.Union([
1571
+ Schema.Literals([
1572
+ "name",
1573
+ "description",
1574
+ "created_at",
1575
+ "last_updated",
1576
+ "mapped_resources.operations",
1587
1577
  ]),
1588
- ).pipe(T.HttpQuery("order")),
1589
- source: Schema.optional(
1590
- Schema.Union([Schema.Literals(["user", "managed"]), Schema.String]),
1591
- ).pipe(T.HttpQuery("source")),
1592
- withMappedResourceCounts: Schema.optional(Schema.Boolean).pipe(
1593
- T.HttpQuery("with_mapped_resource_counts"),
1594
- ),
1595
- }).pipe(
1596
- T.Http({ method: "GET", path: "/zones/{zone_id}/api_gateway/labels" }),
1578
+ Schema.String,
1579
+ ]),
1580
+ ).pipe(T.HttpQuery("order")),
1581
+ source: Schema.optional(
1582
+ Schema.Union([Schema.Literals(["user", "managed"]), Schema.String]),
1583
+ ).pipe(T.HttpQuery("source")),
1584
+ withMappedResourceCounts: Schema.optional(Schema.Boolean).pipe(
1585
+ T.HttpQuery("with_mapped_resource_counts"),
1597
1586
  ),
1587
+ }).pipe(
1588
+ T.Http({ method: "GET", path: "/zones/{zone_id}/api_gateway/labels" }),
1589
+ ),
1598
1590
  ) as unknown as Schema.Codec<ListLabelsRequest>;
1599
1591
 
1600
1592
  export interface ListLabelsResponse {
@@ -1615,14 +1607,13 @@ export interface ListLabelsResponse {
1615
1607
  } | null;
1616
1608
  }
1617
1609
 
1618
- export const ListLabelsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1619
- () =>
1620
- Schema.Struct({
1621
- result: Schema.Array(ListLabelsResponseResult),
1622
- resultInfo: Schema.optional(
1623
- Schema.Union([ListDiscoveryOperationsResponseResultInfo, Schema.Null]),
1624
- ),
1625
- }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
1610
+ export const ListLabelsResponse = /*@__PURE__*/ Schema.suspend(() =>
1611
+ Schema.Struct({
1612
+ result: Schema.Array(ListLabelsResponseResult),
1613
+ resultInfo: Schema.optional(
1614
+ Schema.Union([ListDiscoveryOperationsResponseResultInfo, Schema.Null]),
1615
+ ),
1616
+ }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
1626
1617
  ) as unknown as Schema.Codec<ListLabelsResponse>;
1627
1618
 
1628
1619
  export type ListLabelsError = DefaultErrors | ZonePurged | Forbidden | NotFound;
@@ -1632,7 +1623,7 @@ export const listLabels: API.PaginatedOperationMethod<
1632
1623
  ListLabelsResponse,
1633
1624
  ListLabelsError,
1634
1625
  Credentials | HttpClient.HttpClient
1635
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1626
+ > = /*@__PURE__*/ API.makePaginated(() => ({
1636
1627
  input: ListLabelsRequest,
1637
1628
  output: ListLabelsResponse,
1638
1629
  errors: [ZonePurged, Forbidden, NotFound],
@@ -1658,7 +1649,7 @@ export interface GetLabelManagedRequest {
1658
1649
  }
1659
1650
 
1660
1651
  export const GetLabelManagedRequest =
1661
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1652
+ /*@__PURE__*/ Schema.suspend(() =>
1662
1653
  Schema.Struct({
1663
1654
  name: Schema.String.pipe(T.HttpPath("name")),
1664
1655
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -1689,7 +1680,7 @@ export interface GetLabelManagedResponse {
1689
1680
  }
1690
1681
 
1691
1682
  export const GetLabelManagedResponse =
1692
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1683
+ /*@__PURE__*/ Schema.suspend(() =>
1693
1684
  Schema.Struct({
1694
1685
  createdAt: Schema.String,
1695
1686
  description: Schema.String,
@@ -1725,7 +1716,7 @@ export const getLabelManaged: API.OperationMethod<
1725
1716
  GetLabelManagedResponse,
1726
1717
  GetLabelManagedError,
1727
1718
  Credentials | HttpClient.HttpClient
1728
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1719
+ > = /*@__PURE__*/ API.make(() => ({
1729
1720
  input: GetLabelManagedRequest,
1730
1721
  output: GetLabelManagedResponse,
1731
1722
  errors: [],
@@ -1744,7 +1735,7 @@ export interface PutLabelManagedResourceOperationRequest {
1744
1735
  }
1745
1736
 
1746
1737
  export const PutLabelManagedResourceOperationRequest =
1747
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1738
+ /*@__PURE__*/ Schema.suspend(() =>
1748
1739
  Schema.Struct({
1749
1740
  name: Schema.String.pipe(T.HttpPath("name")),
1750
1741
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -1773,7 +1764,7 @@ export interface PutLabelManagedResourceOperationResponse {
1773
1764
  }
1774
1765
 
1775
1766
  export const PutLabelManagedResourceOperationResponse =
1776
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1767
+ /*@__PURE__*/ Schema.suspend(() =>
1777
1768
  Schema.Struct({
1778
1769
  createdAt: Schema.String,
1779
1770
  description: Schema.String,
@@ -1809,7 +1800,7 @@ export const putLabelManagedResourceOperation: API.OperationMethod<
1809
1800
  PutLabelManagedResourceOperationResponse,
1810
1801
  PutLabelManagedResourceOperationError,
1811
1802
  Credentials | HttpClient.HttpClient
1812
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1803
+ > = /*@__PURE__*/ API.make(() => ({
1813
1804
  input: PutLabelManagedResourceOperationRequest,
1814
1805
  output: PutLabelManagedResourceOperationResponse,
1815
1806
  errors: [],
@@ -1827,20 +1818,19 @@ export interface GetLabelUserRequest {
1827
1818
  withMappedResourceCounts?: boolean;
1828
1819
  }
1829
1820
 
1830
- export const GetLabelUserRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1831
- () =>
1832
- Schema.Struct({
1833
- name: Schema.String.pipe(T.HttpPath("name")),
1834
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1835
- withMappedResourceCounts: Schema.optional(Schema.Boolean).pipe(
1836
- T.HttpQuery("with_mapped_resource_counts"),
1837
- ),
1838
- }).pipe(
1839
- T.Http({
1840
- method: "GET",
1841
- path: "/zones/{zone_id}/api_gateway/labels/user/{name}",
1842
- }),
1821
+ export const GetLabelUserRequest = /*@__PURE__*/ Schema.suspend(() =>
1822
+ Schema.Struct({
1823
+ name: Schema.String.pipe(T.HttpPath("name")),
1824
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1825
+ withMappedResourceCounts: Schema.optional(Schema.Boolean).pipe(
1826
+ T.HttpQuery("with_mapped_resource_counts"),
1843
1827
  ),
1828
+ }).pipe(
1829
+ T.Http({
1830
+ method: "GET",
1831
+ path: "/zones/{zone_id}/api_gateway/labels/user/{name}",
1832
+ }),
1833
+ ),
1844
1834
  ) as unknown as Schema.Codec<GetLabelUserRequest>;
1845
1835
 
1846
1836
  export interface GetLabelUserResponse {
@@ -1858,34 +1848,30 @@ export interface GetLabelUserResponse {
1858
1848
  mappedResources?: unknown | null;
1859
1849
  }
1860
1850
 
1861
- export const GetLabelUserResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1862
- () =>
1863
- Schema.Struct({
1864
- createdAt: Schema.String,
1865
- description: Schema.String,
1866
- lastUpdated: Schema.String,
1867
- metadata: Schema.Unknown,
1868
- name: Schema.String,
1869
- source: Schema.Union([
1870
- Schema.Literals(["user", "managed"]),
1871
- Schema.String,
1872
- ]),
1873
- mappedResources: Schema.optional(
1874
- Schema.Union([Schema.Unknown, Schema.Null]),
1875
- ),
1876
- })
1877
- .pipe(
1878
- Schema.encodeKeys({
1879
- createdAt: "created_at",
1880
- description: "description",
1881
- lastUpdated: "last_updated",
1882
- metadata: "metadata",
1883
- name: "name",
1884
- source: "source",
1885
- mappedResources: "mapped_resources",
1886
- }),
1887
- )
1888
- .pipe(T.ResponsePath("result")),
1851
+ export const GetLabelUserResponse = /*@__PURE__*/ Schema.suspend(() =>
1852
+ Schema.Struct({
1853
+ createdAt: Schema.String,
1854
+ description: Schema.String,
1855
+ lastUpdated: Schema.String,
1856
+ metadata: Schema.Unknown,
1857
+ name: Schema.String,
1858
+ source: Schema.Union([Schema.Literals(["user", "managed"]), Schema.String]),
1859
+ mappedResources: Schema.optional(
1860
+ Schema.Union([Schema.Unknown, Schema.Null]),
1861
+ ),
1862
+ })
1863
+ .pipe(
1864
+ Schema.encodeKeys({
1865
+ createdAt: "created_at",
1866
+ description: "description",
1867
+ lastUpdated: "last_updated",
1868
+ metadata: "metadata",
1869
+ name: "name",
1870
+ source: "source",
1871
+ mappedResources: "mapped_resources",
1872
+ }),
1873
+ )
1874
+ .pipe(T.ResponsePath("result")),
1889
1875
  ) as unknown as Schema.Codec<GetLabelUserResponse>;
1890
1876
 
1891
1877
  export type GetLabelUserError = DefaultErrors | LabelNotFound | Forbidden;
@@ -1895,7 +1881,7 @@ export const getLabelUser: API.OperationMethod<
1895
1881
  GetLabelUserResponse,
1896
1882
  GetLabelUserError,
1897
1883
  Credentials | HttpClient.HttpClient
1898
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1884
+ > = /*@__PURE__*/ API.make(() => ({
1899
1885
  input: GetLabelUserRequest,
1900
1886
  output: GetLabelUserResponse,
1901
1887
  errors: [LabelNotFound, Forbidden],
@@ -1911,19 +1897,18 @@ export interface PutLabelUserRequest {
1911
1897
  metadata?: unknown;
1912
1898
  }
1913
1899
 
1914
- export const PutLabelUserRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1915
- () =>
1916
- Schema.Struct({
1917
- name: Schema.String.pipe(T.HttpPath("name")),
1918
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1919
- description: Schema.optional(Schema.String),
1920
- metadata: Schema.optional(Schema.Unknown),
1921
- }).pipe(
1922
- T.Http({
1923
- method: "PUT",
1924
- path: "/zones/{zone_id}/api_gateway/labels/user/{name}",
1925
- }),
1926
- ),
1900
+ export const PutLabelUserRequest = /*@__PURE__*/ Schema.suspend(() =>
1901
+ Schema.Struct({
1902
+ name: Schema.String.pipe(T.HttpPath("name")),
1903
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1904
+ description: Schema.optional(Schema.String),
1905
+ metadata: Schema.optional(Schema.Unknown),
1906
+ }).pipe(
1907
+ T.Http({
1908
+ method: "PUT",
1909
+ path: "/zones/{zone_id}/api_gateway/labels/user/{name}",
1910
+ }),
1911
+ ),
1927
1912
  ) as unknown as Schema.Codec<PutLabelUserRequest>;
1928
1913
 
1929
1914
  export interface PutLabelUserResponse {
@@ -1939,30 +1924,26 @@ export interface PutLabelUserResponse {
1939
1924
  source: "user" | "managed" | (string & {});
1940
1925
  }
1941
1926
 
1942
- export const PutLabelUserResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1943
- () =>
1944
- Schema.Struct({
1945
- createdAt: Schema.String,
1946
- description: Schema.String,
1947
- lastUpdated: Schema.String,
1948
- metadata: Schema.Unknown,
1949
- name: Schema.String,
1950
- source: Schema.Union([
1951
- Schema.Literals(["user", "managed"]),
1952
- Schema.String,
1953
- ]),
1954
- })
1955
- .pipe(
1956
- Schema.encodeKeys({
1957
- createdAt: "created_at",
1958
- description: "description",
1959
- lastUpdated: "last_updated",
1960
- metadata: "metadata",
1961
- name: "name",
1962
- source: "source",
1963
- }),
1964
- )
1965
- .pipe(T.ResponsePath("result")),
1927
+ export const PutLabelUserResponse = /*@__PURE__*/ Schema.suspend(() =>
1928
+ Schema.Struct({
1929
+ createdAt: Schema.String,
1930
+ description: Schema.String,
1931
+ lastUpdated: Schema.String,
1932
+ metadata: Schema.Unknown,
1933
+ name: Schema.String,
1934
+ source: Schema.Union([Schema.Literals(["user", "managed"]), Schema.String]),
1935
+ })
1936
+ .pipe(
1937
+ Schema.encodeKeys({
1938
+ createdAt: "created_at",
1939
+ description: "description",
1940
+ lastUpdated: "last_updated",
1941
+ metadata: "metadata",
1942
+ name: "name",
1943
+ source: "source",
1944
+ }),
1945
+ )
1946
+ .pipe(T.ResponsePath("result")),
1966
1947
  ) as unknown as Schema.Codec<PutLabelUserResponse>;
1967
1948
 
1968
1949
  export type PutLabelUserError = DefaultErrors | LabelNotFound;
@@ -1972,7 +1953,7 @@ export const putLabelUser: API.OperationMethod<
1972
1953
  PutLabelUserResponse,
1973
1954
  PutLabelUserError,
1974
1955
  Credentials | HttpClient.HttpClient
1975
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1956
+ > = /*@__PURE__*/ API.make(() => ({
1976
1957
  input: PutLabelUserRequest,
1977
1958
  output: PutLabelUserResponse,
1978
1959
  errors: [LabelNotFound],
@@ -1988,19 +1969,18 @@ export interface PatchLabelUserRequest {
1988
1969
  metadata?: unknown;
1989
1970
  }
1990
1971
 
1991
- export const PatchLabelUserRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1992
- () =>
1993
- Schema.Struct({
1994
- name: Schema.String.pipe(T.HttpPath("name")),
1995
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1996
- description: Schema.optional(Schema.String),
1997
- metadata: Schema.optional(Schema.Unknown),
1998
- }).pipe(
1999
- T.Http({
2000
- method: "PATCH",
2001
- path: "/zones/{zone_id}/api_gateway/labels/user/{name}",
2002
- }),
2003
- ),
1972
+ export const PatchLabelUserRequest = /*@__PURE__*/ Schema.suspend(() =>
1973
+ Schema.Struct({
1974
+ name: Schema.String.pipe(T.HttpPath("name")),
1975
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1976
+ description: Schema.optional(Schema.String),
1977
+ metadata: Schema.optional(Schema.Unknown),
1978
+ }).pipe(
1979
+ T.Http({
1980
+ method: "PATCH",
1981
+ path: "/zones/{zone_id}/api_gateway/labels/user/{name}",
1982
+ }),
1983
+ ),
2004
1984
  ) as unknown as Schema.Codec<PatchLabelUserRequest>;
2005
1985
 
2006
1986
  export interface PatchLabelUserResponse {
@@ -2017,7 +1997,7 @@ export interface PatchLabelUserResponse {
2017
1997
  }
2018
1998
 
2019
1999
  export const PatchLabelUserResponse =
2020
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2000
+ /*@__PURE__*/ Schema.suspend(() =>
2021
2001
  Schema.Struct({
2022
2002
  createdAt: Schema.String,
2023
2003
  description: Schema.String,
@@ -2049,7 +2029,7 @@ export const patchLabelUser: API.OperationMethod<
2049
2029
  PatchLabelUserResponse,
2050
2030
  PatchLabelUserError,
2051
2031
  Credentials | HttpClient.HttpClient
2052
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2032
+ > = /*@__PURE__*/ API.make(() => ({
2053
2033
  input: PatchLabelUserRequest,
2054
2034
  output: PatchLabelUserResponse,
2055
2035
  errors: [LabelNotFound],
@@ -2062,7 +2042,7 @@ export interface DeleteLabelUserRequest {
2062
2042
  }
2063
2043
 
2064
2044
  export const DeleteLabelUserRequest =
2065
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2045
+ /*@__PURE__*/ Schema.suspend(() =>
2066
2046
  Schema.Struct({
2067
2047
  name: Schema.String.pipe(T.HttpPath("name")),
2068
2048
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -2088,7 +2068,7 @@ export interface DeleteLabelUserResponse {
2088
2068
  }
2089
2069
 
2090
2070
  export const DeleteLabelUserResponse =
2091
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2071
+ /*@__PURE__*/ Schema.suspend(() =>
2092
2072
  Schema.Struct({
2093
2073
  createdAt: Schema.String,
2094
2074
  description: Schema.String,
@@ -2120,7 +2100,7 @@ export const deleteLabelUser: API.OperationMethod<
2120
2100
  DeleteLabelUserResponse,
2121
2101
  DeleteLabelUserError,
2122
2102
  Credentials | HttpClient.HttpClient
2123
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2103
+ > = /*@__PURE__*/ API.make(() => ({
2124
2104
  input: DeleteLabelUserRequest,
2125
2105
  output: DeleteLabelUserResponse,
2126
2106
  errors: [LabelNotFound, Forbidden],
@@ -2134,7 +2114,7 @@ export interface BulkCreateLabelUsersRequest {
2134
2114
  }
2135
2115
 
2136
2116
  export const BulkCreateLabelUsersRequest =
2137
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2117
+ /*@__PURE__*/ Schema.suspend(() =>
2138
2118
  Schema.Struct({
2139
2119
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2140
2120
  body: Schema.Array(Body).pipe(T.HttpBody()),
@@ -2158,7 +2138,7 @@ export interface BulkCreateLabelUsersResponse {
2158
2138
  }
2159
2139
 
2160
2140
  export const BulkCreateLabelUsersResponse =
2161
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2141
+ /*@__PURE__*/ Schema.suspend(() =>
2162
2142
  Schema.Struct({
2163
2143
  result: Schema.Array(BulkCreateLabelUsersResponseResult),
2164
2144
  }),
@@ -2174,7 +2154,7 @@ export const bulkCreateLabelUsers: API.PaginatedOperationMethod<
2174
2154
  BulkCreateLabelUsersResponse,
2175
2155
  BulkCreateLabelUsersError,
2176
2156
  Credentials | HttpClient.HttpClient
2177
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2157
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2178
2158
  input: BulkCreateLabelUsersRequest,
2179
2159
  output: BulkCreateLabelUsersResponse,
2180
2160
  errors: [LabelAlreadyExists, Forbidden],
@@ -2190,7 +2170,7 @@ export interface BulkDeleteLabelUsersRequest {
2190
2170
  }
2191
2171
 
2192
2172
  export const BulkDeleteLabelUsersRequest =
2193
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2173
+ /*@__PURE__*/ Schema.suspend(() =>
2194
2174
  Schema.Struct({
2195
2175
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2196
2176
  }).pipe(
@@ -2213,7 +2193,7 @@ export interface BulkDeleteLabelUsersResponse {
2213
2193
  }
2214
2194
 
2215
2195
  export const BulkDeleteLabelUsersResponse =
2216
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2196
+ /*@__PURE__*/ Schema.suspend(() =>
2217
2197
  Schema.Struct({
2218
2198
  result: Schema.Array(BulkCreateLabelUsersResponseResult),
2219
2199
  }),
@@ -2226,7 +2206,7 @@ export const bulkDeleteLabelUsers: API.PaginatedOperationMethod<
2226
2206
  BulkDeleteLabelUsersResponse,
2227
2207
  BulkDeleteLabelUsersError,
2228
2208
  Credentials | HttpClient.HttpClient
2229
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2209
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2230
2210
  input: BulkDeleteLabelUsersRequest,
2231
2211
  output: BulkDeleteLabelUsersResponse,
2232
2212
  errors: [],
@@ -2249,7 +2229,7 @@ export interface PutLabelUserResourceOperationRequest {
2249
2229
  }
2250
2230
 
2251
2231
  export const PutLabelUserResourceOperationRequest =
2252
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2232
+ /*@__PURE__*/ Schema.suspend(() =>
2253
2233
  Schema.Struct({
2254
2234
  name: Schema.String.pipe(T.HttpPath("name")),
2255
2235
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -2278,7 +2258,7 @@ export interface PutLabelUserResourceOperationResponse {
2278
2258
  }
2279
2259
 
2280
2260
  export const PutLabelUserResourceOperationResponse =
2281
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2261
+ /*@__PURE__*/ Schema.suspend(() =>
2282
2262
  Schema.Struct({
2283
2263
  createdAt: Schema.String,
2284
2264
  description: Schema.String,
@@ -2314,7 +2294,7 @@ export const putLabelUserResourceOperation: API.OperationMethod<
2314
2294
  PutLabelUserResourceOperationResponse,
2315
2295
  PutLabelUserResourceOperationError,
2316
2296
  Credentials | HttpClient.HttpClient
2317
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2297
+ > = /*@__PURE__*/ API.make(() => ({
2318
2298
  input: PutLabelUserResourceOperationRequest,
2319
2299
  output: PutLabelUserResourceOperationResponse,
2320
2300
  errors: [],
@@ -2339,28 +2319,27 @@ export interface GetOperationRequest {
2339
2319
  withSchemas?: boolean;
2340
2320
  }
2341
2321
 
2342
- export const GetOperationRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2343
- () =>
2344
- Schema.Struct({
2345
- operationId: Schema.String.pipe(T.HttpPath("operationId")),
2346
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2347
- feature: Schema.optional(
2348
- Schema.Array(
2349
- Schema.Union([
2350
- Schema.Literals(["thresholds", "parameter_schemas", "schema_info"]),
2351
- Schema.String,
2352
- ]),
2353
- ),
2354
- ).pipe(T.HttpQuery("feature")),
2355
- withSchemas: Schema.optional(Schema.Boolean).pipe(
2356
- T.HttpQuery("with_schemas"),
2322
+ export const GetOperationRequest = /*@__PURE__*/ Schema.suspend(() =>
2323
+ Schema.Struct({
2324
+ operationId: Schema.String.pipe(T.HttpPath("operationId")),
2325
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2326
+ feature: Schema.optional(
2327
+ Schema.Array(
2328
+ Schema.Union([
2329
+ Schema.Literals(["thresholds", "parameter_schemas", "schema_info"]),
2330
+ Schema.String,
2331
+ ]),
2357
2332
  ),
2358
- }).pipe(
2359
- T.Http({
2360
- method: "GET",
2361
- path: "/zones/{zone_id}/api_gateway/operations/{operationId}",
2362
- }),
2333
+ ).pipe(T.HttpQuery("feature")),
2334
+ withSchemas: Schema.optional(Schema.Boolean).pipe(
2335
+ T.HttpQuery("with_schemas"),
2363
2336
  ),
2337
+ }).pipe(
2338
+ T.Http({
2339
+ method: "GET",
2340
+ path: "/zones/{zone_id}/api_gateway/operations/{operationId}",
2341
+ }),
2342
+ ),
2364
2343
  ) as unknown as Schema.Codec<GetOperationRequest>;
2365
2344
 
2366
2345
  export interface GetOperationResponse {
@@ -2451,53 +2430,52 @@ export interface GetOperationResponse {
2451
2430
  } | null;
2452
2431
  }
2453
2432
 
2454
- export const GetOperationResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2455
- () =>
2456
- Schema.Struct({
2457
- endpoint: Schema.String,
2458
- host: Schema.String,
2459
- lastUpdated: Schema.String,
2460
- method: Schema.Union([
2461
- Schema.Literals([
2462
- "GET",
2463
- "POST",
2464
- "HEAD",
2465
- "OPTIONS",
2466
- "PUT",
2467
- "DELETE",
2468
- "CONNECT",
2469
- "PATCH",
2470
- "TRACE",
2471
- ]),
2472
- Schema.String,
2433
+ export const GetOperationResponse = /*@__PURE__*/ Schema.suspend(() =>
2434
+ Schema.Struct({
2435
+ endpoint: Schema.String,
2436
+ host: Schema.String,
2437
+ lastUpdated: Schema.String,
2438
+ method: Schema.Union([
2439
+ Schema.Literals([
2440
+ "GET",
2441
+ "POST",
2442
+ "HEAD",
2443
+ "OPTIONS",
2444
+ "PUT",
2445
+ "DELETE",
2446
+ "CONNECT",
2447
+ "PATCH",
2448
+ "TRACE",
2473
2449
  ]),
2474
- operationId: Schema.String,
2475
- features: Schema.optional(
2450
+ Schema.String,
2451
+ ]),
2452
+ operationId: Schema.String,
2453
+ features: Schema.optional(
2454
+ Schema.Union([
2476
2455
  Schema.Union([
2477
- Schema.Union([
2478
- ApishieldOperationFeatureParameterSchemas,
2479
- ApishieldOperationFeatureThresholds,
2480
- ApishieldOperationFeatureAPIRouting,
2481
- ApishieldOperationFeatureConfidenceIntervals,
2482
- ApishieldOperationFeatureSchemaInfo,
2483
- ]),
2484
- Schema.Null,
2456
+ ApishieldOperationFeatureParameterSchemas,
2457
+ ApishieldOperationFeatureThresholds,
2458
+ ApishieldOperationFeatureAPIRouting,
2459
+ ApishieldOperationFeatureConfidenceIntervals,
2460
+ ApishieldOperationFeatureSchemaInfo,
2485
2461
  ]),
2486
- ),
2487
- schemas: Schema.optional(Schema.Union([Schemas, Schema.Null])),
2488
- })
2489
- .pipe(
2490
- Schema.encodeKeys({
2491
- endpoint: "endpoint",
2492
- host: "host",
2493
- lastUpdated: "last_updated",
2494
- method: "method",
2495
- operationId: "operation_id",
2496
- features: "features",
2497
- schemas: "schemas",
2498
- }),
2499
- )
2500
- .pipe(T.ResponsePath("result")),
2462
+ Schema.Null,
2463
+ ]),
2464
+ ),
2465
+ schemas: Schema.optional(Schema.Union([Schemas, Schema.Null])),
2466
+ })
2467
+ .pipe(
2468
+ Schema.encodeKeys({
2469
+ endpoint: "endpoint",
2470
+ host: "host",
2471
+ lastUpdated: "last_updated",
2472
+ method: "method",
2473
+ operationId: "operation_id",
2474
+ features: "features",
2475
+ schemas: "schemas",
2476
+ }),
2477
+ )
2478
+ .pipe(T.ResponsePath("result")),
2501
2479
  ) as unknown as Schema.Codec<GetOperationResponse>;
2502
2480
 
2503
2481
  export type GetOperationError =
@@ -2511,7 +2489,7 @@ export const getOperation: API.OperationMethod<
2511
2489
  GetOperationResponse,
2512
2490
  GetOperationError,
2513
2491
  Credentials | HttpClient.HttpClient
2514
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2492
+ > = /*@__PURE__*/ API.make(() => ({
2515
2493
  input: GetOperationRequest,
2516
2494
  output: GetOperationResponse,
2517
2495
  errors: [InvalidObjectIdentifier, OperationNotFound, Forbidden],
@@ -2541,42 +2519,41 @@ export interface ListOperationsRequest {
2541
2519
  order?: "method" | "host" | "endpoint" | "thresholds.$key" | (string & {});
2542
2520
  }
2543
2521
 
2544
- export const ListOperationsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2545
- () =>
2546
- Schema.Struct({
2547
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2548
- page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
2549
- perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
2550
- direction: Schema.optional(
2551
- Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String]),
2552
- ).pipe(T.HttpQuery("direction")),
2553
- endpoint: Schema.optional(Schema.String).pipe(T.HttpQuery("endpoint")),
2554
- feature: Schema.optional(
2555
- Schema.Array(
2556
- Schema.Union([
2557
- Schema.Literals(["thresholds", "parameter_schemas", "schema_info"]),
2558
- Schema.String,
2559
- ]),
2560
- ),
2561
- ).pipe(T.HttpQuery("feature")),
2562
- host: Schema.optional(Schema.Array(Schema.String)).pipe(
2563
- T.HttpQuery("host"),
2564
- ),
2565
- method: Schema.optional(Schema.Array(Schema.String)).pipe(
2566
- T.HttpQuery("method"),
2567
- ),
2568
- order: Schema.optional(
2522
+ export const ListOperationsRequest = /*@__PURE__*/ Schema.suspend(() =>
2523
+ Schema.Struct({
2524
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2525
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
2526
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
2527
+ direction: Schema.optional(
2528
+ Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String]),
2529
+ ).pipe(T.HttpQuery("direction")),
2530
+ endpoint: Schema.optional(Schema.String).pipe(T.HttpQuery("endpoint")),
2531
+ feature: Schema.optional(
2532
+ Schema.Array(
2569
2533
  Schema.Union([
2570
- Schema.Literals(["method", "host", "endpoint", "thresholds.$key"]),
2534
+ Schema.Literals(["thresholds", "parameter_schemas", "schema_info"]),
2571
2535
  Schema.String,
2572
2536
  ]),
2573
- ).pipe(T.HttpQuery("order")),
2574
- }).pipe(
2575
- T.Http({
2576
- method: "GET",
2577
- path: "/zones/{zone_id}/api_gateway/operations",
2578
- }),
2537
+ ),
2538
+ ).pipe(T.HttpQuery("feature")),
2539
+ host: Schema.optional(Schema.Array(Schema.String)).pipe(
2540
+ T.HttpQuery("host"),
2541
+ ),
2542
+ method: Schema.optional(Schema.Array(Schema.String)).pipe(
2543
+ T.HttpQuery("method"),
2579
2544
  ),
2545
+ order: Schema.optional(
2546
+ Schema.Union([
2547
+ Schema.Literals(["method", "host", "endpoint", "thresholds.$key"]),
2548
+ Schema.String,
2549
+ ]),
2550
+ ).pipe(T.HttpQuery("order")),
2551
+ }).pipe(
2552
+ T.Http({
2553
+ method: "GET",
2554
+ path: "/zones/{zone_id}/api_gateway/operations",
2555
+ }),
2556
+ ),
2580
2557
  ) as unknown as Schema.Codec<ListOperationsRequest>;
2581
2558
 
2582
2559
  export interface ListOperationsResponse {
@@ -2661,7 +2638,7 @@ export interface ListOperationsResponse {
2661
2638
  }
2662
2639
 
2663
2640
  export const ListOperationsResponse =
2664
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2641
+ /*@__PURE__*/ Schema.suspend(() =>
2665
2642
  Schema.Struct({
2666
2643
  result: Schema.Array(ListOperationsResponseResult),
2667
2644
  resultInfo: Schema.optional(
@@ -2677,7 +2654,7 @@ export const listOperations: API.PaginatedOperationMethod<
2677
2654
  ListOperationsResponse,
2678
2655
  ListOperationsError,
2679
2656
  Credentials | HttpClient.HttpClient
2680
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2657
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2681
2658
  input: ListOperationsRequest,
2682
2659
  output: ListOperationsResponse,
2683
2660
  errors: [Forbidden],
@@ -2712,7 +2689,7 @@ export interface CreateOperationRequest {
2712
2689
  }
2713
2690
 
2714
2691
  export const CreateOperationRequest =
2715
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2692
+ /*@__PURE__*/ Schema.suspend(() =>
2716
2693
  Schema.Struct({
2717
2694
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2718
2695
  endpoint: Schema.String,
@@ -2828,7 +2805,7 @@ export interface CreateOperationResponse {
2828
2805
  }
2829
2806
 
2830
2807
  export const CreateOperationResponse =
2831
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2808
+ /*@__PURE__*/ Schema.suspend(() =>
2832
2809
  Schema.Struct({
2833
2810
  endpoint: Schema.String,
2834
2811
  host: Schema.String,
@@ -2886,7 +2863,7 @@ export const createOperation: API.OperationMethod<
2886
2863
  CreateOperationResponse,
2887
2864
  CreateOperationError,
2888
2865
  Credentials | HttpClient.HttpClient
2889
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2866
+ > = /*@__PURE__*/ API.make(() => ({
2890
2867
  input: CreateOperationRequest,
2891
2868
  output: CreateOperationResponse,
2892
2869
  errors: [InvalidObjectIdentifier, Forbidden],
@@ -2899,7 +2876,7 @@ export interface DeleteOperationRequest {
2899
2876
  }
2900
2877
 
2901
2878
  export const DeleteOperationRequest =
2902
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2879
+ /*@__PURE__*/ Schema.suspend(() =>
2903
2880
  Schema.Struct({
2904
2881
  operationId: Schema.String.pipe(T.HttpPath("operationId")),
2905
2882
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -2929,7 +2906,7 @@ export interface DeleteOperationResponse {
2929
2906
  }
2930
2907
 
2931
2908
  export const DeleteOperationResponse =
2932
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2909
+ /*@__PURE__*/ Schema.suspend(() =>
2933
2910
  Schema.Struct({
2934
2911
  errors: Schema.Array(MessageItem),
2935
2912
  messages: Schema.Array(MessageItem),
@@ -2948,7 +2925,7 @@ export const deleteOperation: API.OperationMethod<
2948
2925
  DeleteOperationResponse,
2949
2926
  DeleteOperationError,
2950
2927
  Credentials | HttpClient.HttpClient
2951
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2928
+ > = /*@__PURE__*/ API.make(() => ({
2952
2929
  input: DeleteOperationRequest,
2953
2930
  output: DeleteOperationResponse,
2954
2931
  errors: [InvalidObjectIdentifier, OperationNotFound, Forbidden],
@@ -2976,7 +2953,7 @@ export interface BulkCreateOperationsRequest {
2976
2953
  }
2977
2954
 
2978
2955
  export const BulkCreateOperationsRequest =
2979
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2956
+ /*@__PURE__*/ Schema.suspend(() =>
2980
2957
  Schema.Struct({
2981
2958
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2982
2959
  body: Schema.Array(Body2).pipe(T.HttpBody()),
@@ -3064,7 +3041,7 @@ export interface BulkCreateOperationsResponse {
3064
3041
  }
3065
3042
 
3066
3043
  export const BulkCreateOperationsResponse =
3067
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3044
+ /*@__PURE__*/ Schema.suspend(() =>
3068
3045
  Schema.Struct({
3069
3046
  result: Schema.Array(ListOperationsResponseResult),
3070
3047
  }),
@@ -3077,7 +3054,7 @@ export const bulkCreateOperations: API.PaginatedOperationMethod<
3077
3054
  BulkCreateOperationsResponse,
3078
3055
  BulkCreateOperationsError,
3079
3056
  Credentials | HttpClient.HttpClient
3080
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
3057
+ > = /*@__PURE__*/ API.makePaginated(() => ({
3081
3058
  input: BulkCreateOperationsRequest,
3082
3059
  output: BulkCreateOperationsResponse,
3083
3060
  errors: [],
@@ -3093,7 +3070,7 @@ export interface BulkDeleteOperationsRequest {
3093
3070
  }
3094
3071
 
3095
3072
  export const BulkDeleteOperationsRequest =
3096
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3073
+ /*@__PURE__*/ Schema.suspend(() =>
3097
3074
  Schema.Struct({
3098
3075
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3099
3076
  }).pipe(
@@ -3122,7 +3099,7 @@ export interface BulkDeleteOperationsResponse {
3122
3099
  }
3123
3100
 
3124
3101
  export const BulkDeleteOperationsResponse =
3125
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3102
+ /*@__PURE__*/ Schema.suspend(() =>
3126
3103
  Schema.Struct({
3127
3104
  errors: Schema.Array(MessageItem),
3128
3105
  messages: Schema.Array(MessageItem),
@@ -3137,7 +3114,7 @@ export const bulkDeleteOperations: API.OperationMethod<
3137
3114
  BulkDeleteOperationsResponse,
3138
3115
  BulkDeleteOperationsError,
3139
3116
  Credentials | HttpClient.HttpClient
3140
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3117
+ > = /*@__PURE__*/ API.make(() => ({
3141
3118
  input: BulkDeleteOperationsRequest,
3142
3119
  output: BulkDeleteOperationsResponse,
3143
3120
  errors: [InvalidObjectIdentifier],
@@ -3158,7 +3135,7 @@ export interface CreateOperationLabelRequest {
3158
3135
  }
3159
3136
 
3160
3137
  export const CreateOperationLabelRequest =
3161
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3138
+ /*@__PURE__*/ Schema.suspend(() =>
3162
3139
  Schema.Struct({
3163
3140
  operationId: Schema.String.pipe(T.HttpPath("operationId")),
3164
3141
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -3205,7 +3182,7 @@ export interface CreateOperationLabelResponse {
3205
3182
  }
3206
3183
 
3207
3184
  export const CreateOperationLabelResponse =
3208
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3185
+ /*@__PURE__*/ Schema.suspend(() =>
3209
3186
  Schema.Struct({
3210
3187
  endpoint: Schema.String,
3211
3188
  host: Schema.String,
@@ -3252,7 +3229,7 @@ export const createOperationLabel: API.OperationMethod<
3252
3229
  CreateOperationLabelResponse,
3253
3230
  CreateOperationLabelError,
3254
3231
  Credentials | HttpClient.HttpClient
3255
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3232
+ > = /*@__PURE__*/ API.make(() => ({
3256
3233
  input: CreateOperationLabelRequest,
3257
3234
  output: CreateOperationLabelResponse,
3258
3235
  errors: [],
@@ -3269,7 +3246,7 @@ export interface UpdateOperationLabelRequest {
3269
3246
  }
3270
3247
 
3271
3248
  export const UpdateOperationLabelRequest =
3272
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3249
+ /*@__PURE__*/ Schema.suspend(() =>
3273
3250
  Schema.Struct({
3274
3251
  operationId: Schema.String.pipe(T.HttpPath("operationId")),
3275
3252
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -3316,7 +3293,7 @@ export interface UpdateOperationLabelResponse {
3316
3293
  }
3317
3294
 
3318
3295
  export const UpdateOperationLabelResponse =
3319
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3296
+ /*@__PURE__*/ Schema.suspend(() =>
3320
3297
  Schema.Struct({
3321
3298
  endpoint: Schema.String,
3322
3299
  host: Schema.String,
@@ -3363,7 +3340,7 @@ export const updateOperationLabel: API.OperationMethod<
3363
3340
  UpdateOperationLabelResponse,
3364
3341
  UpdateOperationLabelError,
3365
3342
  Credentials | HttpClient.HttpClient
3366
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3343
+ > = /*@__PURE__*/ API.make(() => ({
3367
3344
  input: UpdateOperationLabelRequest,
3368
3345
  output: UpdateOperationLabelResponse,
3369
3346
  errors: [],
@@ -3376,7 +3353,7 @@ export interface DeleteOperationLabelRequest {
3376
3353
  }
3377
3354
 
3378
3355
  export const DeleteOperationLabelRequest =
3379
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3356
+ /*@__PURE__*/ Schema.suspend(() =>
3380
3357
  Schema.Struct({
3381
3358
  operationId: Schema.String.pipe(T.HttpPath("operationId")),
3382
3359
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -3421,7 +3398,7 @@ export interface DeleteOperationLabelResponse {
3421
3398
  }
3422
3399
 
3423
3400
  export const DeleteOperationLabelResponse =
3424
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3401
+ /*@__PURE__*/ Schema.suspend(() =>
3425
3402
  Schema.Struct({
3426
3403
  endpoint: Schema.String,
3427
3404
  host: Schema.String,
@@ -3468,7 +3445,7 @@ export const deleteOperationLabel: API.OperationMethod<
3468
3445
  DeleteOperationLabelResponse,
3469
3446
  DeleteOperationLabelError,
3470
3447
  Credentials | HttpClient.HttpClient
3471
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3448
+ > = /*@__PURE__*/ API.make(() => ({
3472
3449
  input: DeleteOperationLabelRequest,
3473
3450
  output: DeleteOperationLabelResponse,
3474
3451
  errors: [],
@@ -3486,7 +3463,7 @@ export interface BulkCreateOperationLabelsRequest {
3486
3463
  }
3487
3464
 
3488
3465
  export const BulkCreateOperationLabelsRequest =
3489
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3466
+ /*@__PURE__*/ Schema.suspend(() =>
3490
3467
  Schema.Struct({
3491
3468
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3492
3469
  selector: Selector,
@@ -3531,7 +3508,7 @@ export interface BulkCreateOperationLabelsResponse {
3531
3508
  }
3532
3509
 
3533
3510
  export const BulkCreateOperationLabelsResponse =
3534
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3511
+ /*@__PURE__*/ Schema.suspend(() =>
3535
3512
  Schema.Struct({
3536
3513
  result: Schema.Array(BulkCreateOperationLabelsResponseResult),
3537
3514
  }),
@@ -3544,7 +3521,7 @@ export const bulkCreateOperationLabels: API.PaginatedOperationMethod<
3544
3521
  BulkCreateOperationLabelsResponse,
3545
3522
  BulkCreateOperationLabelsError,
3546
3523
  Credentials | HttpClient.HttpClient
3547
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
3524
+ > = /*@__PURE__*/ API.makePaginated(() => ({
3548
3525
  input: BulkCreateOperationLabelsRequest,
3549
3526
  output: BulkCreateOperationLabelsResponse,
3550
3527
  errors: [],
@@ -3566,7 +3543,7 @@ export interface BulkUpdateOperationLabelsRequest {
3566
3543
  }
3567
3544
 
3568
3545
  export const BulkUpdateOperationLabelsRequest =
3569
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3546
+ /*@__PURE__*/ Schema.suspend(() =>
3570
3547
  Schema.Struct({
3571
3548
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3572
3549
  managed: Managed2,
@@ -3611,7 +3588,7 @@ export interface BulkUpdateOperationLabelsResponse {
3611
3588
  }
3612
3589
 
3613
3590
  export const BulkUpdateOperationLabelsResponse =
3614
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3591
+ /*@__PURE__*/ Schema.suspend(() =>
3615
3592
  Schema.Struct({
3616
3593
  result: Schema.Array(BulkCreateOperationLabelsResponseResult),
3617
3594
  }),
@@ -3624,7 +3601,7 @@ export const bulkUpdateOperationLabels: API.PaginatedOperationMethod<
3624
3601
  BulkUpdateOperationLabelsResponse,
3625
3602
  BulkUpdateOperationLabelsError,
3626
3603
  Credentials | HttpClient.HttpClient
3627
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
3604
+ > = /*@__PURE__*/ API.makePaginated(() => ({
3628
3605
  input: BulkUpdateOperationLabelsRequest,
3629
3606
  output: BulkUpdateOperationLabelsResponse,
3630
3607
  errors: [],
@@ -3640,7 +3617,7 @@ export interface BulkDeleteOperationLabelsRequest {
3640
3617
  }
3641
3618
 
3642
3619
  export const BulkDeleteOperationLabelsRequest =
3643
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3620
+ /*@__PURE__*/ Schema.suspend(() =>
3644
3621
  Schema.Struct({
3645
3622
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3646
3623
  }).pipe(
@@ -3682,7 +3659,7 @@ export interface BulkDeleteOperationLabelsResponse {
3682
3659
  }
3683
3660
 
3684
3661
  export const BulkDeleteOperationLabelsResponse =
3685
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3662
+ /*@__PURE__*/ Schema.suspend(() =>
3686
3663
  Schema.Struct({
3687
3664
  result: Schema.Array(BulkCreateOperationLabelsResponseResult),
3688
3665
  }),
@@ -3695,7 +3672,7 @@ export const bulkDeleteOperationLabels: API.PaginatedOperationMethod<
3695
3672
  BulkDeleteOperationLabelsResponse,
3696
3673
  BulkDeleteOperationLabelsError,
3697
3674
  Credentials | HttpClient.HttpClient
3698
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
3675
+ > = /*@__PURE__*/ API.makePaginated(() => ({
3699
3676
  input: BulkDeleteOperationLabelsRequest,
3700
3677
  output: BulkDeleteOperationLabelsResponse,
3701
3678
  errors: [],
@@ -3716,7 +3693,7 @@ export interface GetOperationSchemaValidationRequest {
3716
3693
  }
3717
3694
 
3718
3695
  export const GetOperationSchemaValidationRequest =
3719
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3696
+ /*@__PURE__*/ Schema.suspend(() =>
3720
3697
  Schema.Struct({
3721
3698
  operationId: Schema.String.pipe(T.HttpPath("operationId")),
3722
3699
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -3736,7 +3713,7 @@ export interface GetOperationSchemaValidationResponse {
3736
3713
  }
3737
3714
 
3738
3715
  export const GetOperationSchemaValidationResponse =
3739
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3716
+ /*@__PURE__*/ Schema.suspend(() =>
3740
3717
  Schema.Struct({
3741
3718
  mitigationAction: Schema.optional(
3742
3719
  Schema.Union([
@@ -3765,7 +3742,7 @@ export const getOperationSchemaValidation: API.OperationMethod<
3765
3742
  GetOperationSchemaValidationResponse,
3766
3743
  GetOperationSchemaValidationError,
3767
3744
  Credentials | HttpClient.HttpClient
3768
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3745
+ > = /*@__PURE__*/ API.make(() => ({
3769
3746
  input: GetOperationSchemaValidationRequest,
3770
3747
  output: GetOperationSchemaValidationResponse,
3771
3748
  errors: [InvalidObjectIdentifier, OperationNotFound],
@@ -3780,7 +3757,7 @@ export interface PutOperationSchemaValidationRequest {
3780
3757
  }
3781
3758
 
3782
3759
  export const PutOperationSchemaValidationRequest =
3783
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3760
+ /*@__PURE__*/ Schema.suspend(() =>
3784
3761
  Schema.Struct({
3785
3762
  operationId: Schema.String.pipe(T.HttpPath("operationId")),
3786
3763
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -3809,7 +3786,7 @@ export interface PutOperationSchemaValidationResponse {
3809
3786
  }
3810
3787
 
3811
3788
  export const PutOperationSchemaValidationResponse =
3812
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3789
+ /*@__PURE__*/ Schema.suspend(() =>
3813
3790
  Schema.Struct({
3814
3791
  mitigationAction: Schema.optional(
3815
3792
  Schema.Union([
@@ -3838,7 +3815,7 @@ export const putOperationSchemaValidation: API.OperationMethod<
3838
3815
  PutOperationSchemaValidationResponse,
3839
3816
  PutOperationSchemaValidationError,
3840
3817
  Credentials | HttpClient.HttpClient
3841
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3818
+ > = /*@__PURE__*/ API.make(() => ({
3842
3819
  input: PutOperationSchemaValidationRequest,
3843
3820
  output: PutOperationSchemaValidationResponse,
3844
3821
  errors: [InvalidObjectIdentifier, OperationNotFound],
@@ -3852,7 +3829,7 @@ export interface PatchOperationSchemaValidationRequest {
3852
3829
  }
3853
3830
 
3854
3831
  export const PatchOperationSchemaValidationRequest =
3855
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3832
+ /*@__PURE__*/ Schema.suspend(() =>
3856
3833
  Schema.Struct({
3857
3834
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3858
3835
  settingsMultipleRequest: Schema.Record(Schema.String, Schema.Unknown),
@@ -3870,7 +3847,7 @@ export const PatchOperationSchemaValidationRequest =
3870
3847
  export type PatchOperationSchemaValidationResponse = Record<string, unknown>;
3871
3848
 
3872
3849
  export const PatchOperationSchemaValidationResponse =
3873
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3850
+ /*@__PURE__*/ Schema.suspend(() =>
3874
3851
  Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")),
3875
3852
  ) as unknown as Schema.Codec<PatchOperationSchemaValidationResponse>;
3876
3853
 
@@ -3883,7 +3860,7 @@ export const patchOperationSchemaValidation: API.OperationMethod<
3883
3860
  PatchOperationSchemaValidationResponse,
3884
3861
  PatchOperationSchemaValidationError,
3885
3862
  Credentials | HttpClient.HttpClient
3886
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3863
+ > = /*@__PURE__*/ API.make(() => ({
3887
3864
  input: PatchOperationSchemaValidationRequest,
3888
3865
  output: PatchOperationSchemaValidationResponse,
3889
3866
  errors: [InvalidObjectIdentifier],
@@ -3907,24 +3884,23 @@ export interface ListSchemasRequest {
3907
3884
  host?: string[];
3908
3885
  }
3909
3886
 
3910
- export const ListSchemasRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3911
- () =>
3912
- Schema.Struct({
3913
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3914
- feature: Schema.optional(
3915
- Schema.Array(
3916
- Schema.Union([
3917
- Schema.Literals(["thresholds", "parameter_schemas", "schema_info"]),
3918
- Schema.String,
3919
- ]),
3920
- ),
3921
- ).pipe(T.HttpQuery("feature")),
3922
- host: Schema.optional(Schema.Array(Schema.String)).pipe(
3923
- T.HttpQuery("host"),
3887
+ export const ListSchemasRequest = /*@__PURE__*/ Schema.suspend(() =>
3888
+ Schema.Struct({
3889
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3890
+ feature: Schema.optional(
3891
+ Schema.Array(
3892
+ Schema.Union([
3893
+ Schema.Literals(["thresholds", "parameter_schemas", "schema_info"]),
3894
+ Schema.String,
3895
+ ]),
3924
3896
  ),
3925
- }).pipe(
3926
- T.Http({ method: "GET", path: "/zones/{zone_id}/api_gateway/schemas" }),
3897
+ ).pipe(T.HttpQuery("feature")),
3898
+ host: Schema.optional(Schema.Array(Schema.String)).pipe(
3899
+ T.HttpQuery("host"),
3927
3900
  ),
3901
+ }).pipe(
3902
+ T.Http({ method: "GET", path: "/zones/{zone_id}/api_gateway/schemas" }),
3903
+ ),
3928
3904
  ) as unknown as Schema.Codec<ListSchemasRequest>;
3929
3905
 
3930
3906
  export interface ListSchemasResponse {
@@ -3932,14 +3908,13 @@ export interface ListSchemasResponse {
3932
3908
  timestamp?: string | null;
3933
3909
  }
3934
3910
 
3935
- export const ListSchemasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3936
- () =>
3937
- Schema.Struct({
3938
- schemas: Schema.optional(
3939
- Schema.Union([Schema.Array(Schema.Unknown), Schema.Null]),
3940
- ),
3941
- timestamp: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3942
- }).pipe(T.ResponsePath("result")),
3911
+ export const ListSchemasResponse = /*@__PURE__*/ Schema.suspend(() =>
3912
+ Schema.Struct({
3913
+ schemas: Schema.optional(
3914
+ Schema.Union([Schema.Array(Schema.Unknown), Schema.Null]),
3915
+ ),
3916
+ timestamp: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3917
+ }).pipe(T.ResponsePath("result")),
3943
3918
  ) as unknown as Schema.Codec<ListSchemasResponse>;
3944
3919
 
3945
3920
  export type ListSchemasError = DefaultErrors | InvalidObjectIdentifier;
@@ -3949,7 +3924,7 @@ export const listSchemas: API.OperationMethod<
3949
3924
  ListSchemasResponse,
3950
3925
  ListSchemasError,
3951
3926
  Credentials | HttpClient.HttpClient
3952
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3927
+ > = /*@__PURE__*/ API.make(() => ({
3953
3928
  input: ListSchemasRequest,
3954
3929
  output: ListSchemasResponse,
3955
3930
  errors: [InvalidObjectIdentifier],
@@ -3965,7 +3940,7 @@ export interface GetSettingSchemaValidationRequest {
3965
3940
  }
3966
3941
 
3967
3942
  export const GetSettingSchemaValidationRequest =
3968
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3943
+ /*@__PURE__*/ Schema.suspend(() =>
3969
3944
  Schema.Struct({
3970
3945
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3971
3946
  }).pipe(
@@ -3989,7 +3964,7 @@ export interface GetSettingSchemaValidationResponse {
3989
3964
  }
3990
3965
 
3991
3966
  export const GetSettingSchemaValidationResponse =
3992
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3967
+ /*@__PURE__*/ Schema.suspend(() =>
3993
3968
  Schema.Struct({
3994
3969
  validationDefaultMitigationAction: Schema.optional(
3995
3970
  Schema.Union([
@@ -4022,7 +3997,7 @@ export const getSettingSchemaValidation: API.OperationMethod<
4022
3997
  GetSettingSchemaValidationResponse,
4023
3998
  GetSettingSchemaValidationError,
4024
3999
  Credentials | HttpClient.HttpClient
4025
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4000
+ > = /*@__PURE__*/ API.make(() => ({
4026
4001
  input: GetSettingSchemaValidationRequest,
4027
4002
  output: GetSettingSchemaValidationResponse,
4028
4003
  errors: [InvalidObjectIdentifier],
@@ -4038,7 +4013,7 @@ export interface PutSettingSchemaValidationRequest {
4038
4013
  }
4039
4014
 
4040
4015
  export const PutSettingSchemaValidationRequest =
4041
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4016
+ /*@__PURE__*/ Schema.suspend(() =>
4042
4017
  Schema.Struct({
4043
4018
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
4044
4019
  validationDefaultMitigationAction: Schema.Union([
@@ -4079,7 +4054,7 @@ export interface PutSettingSchemaValidationResponse {
4079
4054
  }
4080
4055
 
4081
4056
  export const PutSettingSchemaValidationResponse =
4082
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4057
+ /*@__PURE__*/ Schema.suspend(() =>
4083
4058
  Schema.Struct({
4084
4059
  validationDefaultMitigationAction: Schema.optional(
4085
4060
  Schema.Union([
@@ -4112,7 +4087,7 @@ export const putSettingSchemaValidation: API.OperationMethod<
4112
4087
  PutSettingSchemaValidationResponse,
4113
4088
  PutSettingSchemaValidationError,
4114
4089
  Credentials | HttpClient.HttpClient
4115
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4090
+ > = /*@__PURE__*/ API.make(() => ({
4116
4091
  input: PutSettingSchemaValidationRequest,
4117
4092
  output: PutSettingSchemaValidationResponse,
4118
4093
  errors: [InvalidObjectIdentifier],
@@ -4128,7 +4103,7 @@ export interface PatchSettingSchemaValidationRequest {
4128
4103
  }
4129
4104
 
4130
4105
  export const PatchSettingSchemaValidationRequest =
4131
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4106
+ /*@__PURE__*/ Schema.suspend(() =>
4132
4107
  Schema.Struct({
4133
4108
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
4134
4109
  validationDefaultMitigationAction: Schema.optional(
@@ -4173,7 +4148,7 @@ export interface PatchSettingSchemaValidationResponse {
4173
4148
  }
4174
4149
 
4175
4150
  export const PatchSettingSchemaValidationResponse =
4176
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4151
+ /*@__PURE__*/ Schema.suspend(() =>
4177
4152
  Schema.Struct({
4178
4153
  validationDefaultMitigationAction: Schema.optional(
4179
4154
  Schema.Union([
@@ -4206,7 +4181,7 @@ export const patchSettingSchemaValidation: API.OperationMethod<
4206
4181
  PatchSettingSchemaValidationResponse,
4207
4182
  PatchSettingSchemaValidationError,
4208
4183
  Credentials | HttpClient.HttpClient
4209
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4184
+ > = /*@__PURE__*/ API.make(() => ({
4210
4185
  input: PatchSettingSchemaValidationRequest,
4211
4186
  output: PatchSettingSchemaValidationResponse,
4212
4187
  errors: [InvalidObjectIdentifier],
@@ -4224,20 +4199,19 @@ export interface GetUserSchemaRequest {
4224
4199
  omitSource?: boolean;
4225
4200
  }
4226
4201
 
4227
- export const GetUserSchemaRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4228
- () =>
4229
- Schema.Struct({
4230
- schemaId: Schema.String.pipe(T.HttpPath("schemaId")),
4231
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
4232
- omitSource: Schema.optional(Schema.Boolean).pipe(
4233
- T.HttpQuery("omit_source"),
4234
- ),
4235
- }).pipe(
4236
- T.Http({
4237
- method: "GET",
4238
- path: "/zones/{zone_id}/api_gateway/user_schemas/{schemaId}",
4239
- }),
4202
+ export const GetUserSchemaRequest = /*@__PURE__*/ Schema.suspend(() =>
4203
+ Schema.Struct({
4204
+ schemaId: Schema.String.pipe(T.HttpPath("schemaId")),
4205
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
4206
+ omitSource: Schema.optional(Schema.Boolean).pipe(
4207
+ T.HttpQuery("omit_source"),
4240
4208
  ),
4209
+ }).pipe(
4210
+ T.Http({
4211
+ method: "GET",
4212
+ path: "/zones/{zone_id}/api_gateway/user_schemas/{schemaId}",
4213
+ }),
4214
+ ),
4241
4215
  ) as unknown as Schema.Codec<GetUserSchemaRequest>;
4242
4216
 
4243
4217
  export interface GetUserSchemaResponse {
@@ -4254,29 +4228,28 @@ export interface GetUserSchemaResponse {
4254
4228
  validationEnabled?: boolean | null;
4255
4229
  }
4256
4230
 
4257
- export const GetUserSchemaResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4258
- () =>
4259
- Schema.Struct({
4260
- createdAt: Schema.String,
4261
- kind: Schema.Literal("openapi_v3"),
4262
- name: Schema.String,
4263
- schemaId: Schema.String,
4264
- source: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4265
- validationEnabled: Schema.optional(
4266
- Schema.Union([Schema.Boolean, Schema.Null]),
4267
- ),
4268
- })
4269
- .pipe(
4270
- Schema.encodeKeys({
4271
- createdAt: "created_at",
4272
- kind: "kind",
4273
- name: "name",
4274
- schemaId: "schema_id",
4275
- source: "source",
4276
- validationEnabled: "validation_enabled",
4277
- }),
4278
- )
4279
- .pipe(T.ResponsePath("result")),
4231
+ export const GetUserSchemaResponse = /*@__PURE__*/ Schema.suspend(() =>
4232
+ Schema.Struct({
4233
+ createdAt: Schema.String,
4234
+ kind: Schema.Literal("openapi_v3"),
4235
+ name: Schema.String,
4236
+ schemaId: Schema.String,
4237
+ source: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4238
+ validationEnabled: Schema.optional(
4239
+ Schema.Union([Schema.Boolean, Schema.Null]),
4240
+ ),
4241
+ })
4242
+ .pipe(
4243
+ Schema.encodeKeys({
4244
+ createdAt: "created_at",
4245
+ kind: "kind",
4246
+ name: "name",
4247
+ schemaId: "schema_id",
4248
+ source: "source",
4249
+ validationEnabled: "validation_enabled",
4250
+ }),
4251
+ )
4252
+ .pipe(T.ResponsePath("result")),
4280
4253
  ) as unknown as Schema.Codec<GetUserSchemaResponse>;
4281
4254
 
4282
4255
  export type GetUserSchemaError =
@@ -4290,7 +4263,7 @@ export const getUserSchema: API.OperationMethod<
4290
4263
  GetUserSchemaResponse,
4291
4264
  GetUserSchemaError,
4292
4265
  Credentials | HttpClient.HttpClient
4293
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4266
+ > = /*@__PURE__*/ API.make(() => ({
4294
4267
  input: GetUserSchemaRequest,
4295
4268
  output: GetUserSchemaResponse,
4296
4269
  errors: [InvalidObjectIdentifier, SchemaNotFound, Forbidden],
@@ -4308,7 +4281,7 @@ export interface ListUserSchemasRequest {
4308
4281
  }
4309
4282
 
4310
4283
  export const ListUserSchemasRequest =
4311
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4284
+ /*@__PURE__*/ Schema.suspend(() =>
4312
4285
  Schema.Struct({
4313
4286
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
4314
4287
  page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
@@ -4345,7 +4318,7 @@ export interface ListUserSchemasResponse {
4345
4318
  }
4346
4319
 
4347
4320
  export const ListUserSchemasResponse =
4348
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4321
+ /*@__PURE__*/ Schema.suspend(() =>
4349
4322
  Schema.Struct({
4350
4323
  result: Schema.Array(ListUserSchemasResponseResult),
4351
4324
  resultInfo: Schema.optional(
@@ -4361,7 +4334,7 @@ export const listUserSchemas: API.PaginatedOperationMethod<
4361
4334
  ListUserSchemasResponse,
4362
4335
  ListUserSchemasError,
4363
4336
  Credentials | HttpClient.HttpClient
4364
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
4337
+ > = /*@__PURE__*/ API.makePaginated(() => ({
4365
4338
  input: ListUserSchemasRequest,
4366
4339
  output: ListUserSchemasResponse,
4367
4340
  errors: [ZonePurged, Forbidden],
@@ -4388,7 +4361,7 @@ export interface CreateUserSchemaRequest {
4388
4361
  }
4389
4362
 
4390
4363
  export const CreateUserSchemaRequest =
4391
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4364
+ /*@__PURE__*/ Schema.suspend(() =>
4392
4365
  Schema.Struct({
4393
4366
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
4394
4367
  file: UploadableSchema.pipe(T.HttpFormDataFile()),
@@ -4427,7 +4400,7 @@ export interface CreateUserSchemaResponse {
4427
4400
  }
4428
4401
 
4429
4402
  export const CreateUserSchemaResponse =
4430
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4403
+ /*@__PURE__*/ Schema.suspend(() =>
4431
4404
  Schema.Struct({
4432
4405
  schema: ListUserSchemasResponseResult,
4433
4406
  uploadDetails: Schema.optional(
@@ -4453,7 +4426,7 @@ export const createUserSchema: API.OperationMethod<
4453
4426
  CreateUserSchemaResponse,
4454
4427
  CreateUserSchemaError,
4455
4428
  Credentials | HttpClient.HttpClient
4456
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4429
+ > = /*@__PURE__*/ API.make(() => ({
4457
4430
  input: CreateUserSchemaRequest,
4458
4431
  output: CreateUserSchemaResponse,
4459
4432
  errors: [InvalidObjectIdentifier, Forbidden],
@@ -4468,7 +4441,7 @@ export interface PatchUserSchemaRequest {
4468
4441
  }
4469
4442
 
4470
4443
  export const PatchUserSchemaRequest =
4471
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4444
+ /*@__PURE__*/ Schema.suspend(() =>
4472
4445
  Schema.Struct({
4473
4446
  schemaId: Schema.String.pipe(T.HttpPath("schemaId")),
4474
4447
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -4497,7 +4470,7 @@ export interface PatchUserSchemaResponse {
4497
4470
  }
4498
4471
 
4499
4472
  export const PatchUserSchemaResponse =
4500
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4473
+ /*@__PURE__*/ Schema.suspend(() =>
4501
4474
  Schema.Struct({
4502
4475
  createdAt: Schema.String,
4503
4476
  kind: Schema.Literal("openapi_v3"),
@@ -4532,7 +4505,7 @@ export const patchUserSchema: API.OperationMethod<
4532
4505
  PatchUserSchemaResponse,
4533
4506
  PatchUserSchemaError,
4534
4507
  Credentials | HttpClient.HttpClient
4535
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4508
+ > = /*@__PURE__*/ API.make(() => ({
4536
4509
  input: PatchUserSchemaRequest,
4537
4510
  output: PatchUserSchemaResponse,
4538
4511
  errors: [InvalidObjectIdentifier, SchemaNotFound, Forbidden],
@@ -4545,7 +4518,7 @@ export interface DeleteUserSchemaRequest {
4545
4518
  }
4546
4519
 
4547
4520
  export const DeleteUserSchemaRequest =
4548
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4521
+ /*@__PURE__*/ Schema.suspend(() =>
4549
4522
  Schema.Struct({
4550
4523
  schemaId: Schema.String.pipe(T.HttpPath("schemaId")),
4551
4524
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -4575,7 +4548,7 @@ export interface DeleteUserSchemaResponse {
4575
4548
  }
4576
4549
 
4577
4550
  export const DeleteUserSchemaResponse =
4578
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4551
+ /*@__PURE__*/ Schema.suspend(() =>
4579
4552
  Schema.Struct({
4580
4553
  errors: Schema.Array(MessageItem),
4581
4554
  messages: Schema.Array(MessageItem),
@@ -4594,7 +4567,7 @@ export const deleteUserSchema: API.OperationMethod<
4594
4567
  DeleteUserSchemaResponse,
4595
4568
  DeleteUserSchemaError,
4596
4569
  Credentials | HttpClient.HttpClient
4597
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4570
+ > = /*@__PURE__*/ API.make(() => ({
4598
4571
  input: DeleteUserSchemaRequest,
4599
4572
  output: DeleteUserSchemaResponse,
4600
4573
  errors: [InvalidObjectIdentifier, SchemaNotFound, Forbidden],
@@ -4612,7 +4585,7 @@ export interface ListUserSchemaHostsRequest {
4612
4585
  }
4613
4586
 
4614
4587
  export const ListUserSchemaHostsRequest =
4615
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4588
+ /*@__PURE__*/ Schema.suspend(() =>
4616
4589
  Schema.Struct({
4617
4590
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
4618
4591
  page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
@@ -4641,7 +4614,7 @@ export interface ListUserSchemaHostsResponse {
4641
4614
  }
4642
4615
 
4643
4616
  export const ListUserSchemaHostsResponse =
4644
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4617
+ /*@__PURE__*/ Schema.suspend(() =>
4645
4618
  Schema.Struct({
4646
4619
  result: Schema.Array(ListUserSchemaHostsResponseResult),
4647
4620
  resultInfo: Schema.optional(
@@ -4657,7 +4630,7 @@ export const listUserSchemaHosts: API.PaginatedOperationMethod<
4657
4630
  ListUserSchemaHostsResponse,
4658
4631
  ListUserSchemaHostsError,
4659
4632
  Credentials | HttpClient.HttpClient
4660
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
4633
+ > = /*@__PURE__*/ API.makePaginated(() => ({
4661
4634
  input: ListUserSchemaHostsRequest,
4662
4635
  output: ListUserSchemaHostsResponse,
4663
4636
  errors: [],
@@ -4698,7 +4671,7 @@ export interface ListUserSchemaOperationsRequest {
4698
4671
  }
4699
4672
 
4700
4673
  export const ListUserSchemaOperationsRequest =
4701
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4674
+ /*@__PURE__*/ Schema.suspend(() =>
4702
4675
  Schema.Struct({
4703
4676
  schemaId: Schema.String.pipe(T.HttpPath("schemaId")),
4704
4677
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -4838,7 +4811,7 @@ export interface ListUserSchemaOperationsResponse {
4838
4811
  }
4839
4812
 
4840
4813
  export const ListUserSchemaOperationsResponse =
4841
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4814
+ /*@__PURE__*/ Schema.suspend(() =>
4842
4815
  Schema.Struct({
4843
4816
  result: Schema.Array(Schema.Union([ListOperationsResponseResult, Body2])),
4844
4817
  resultInfo: Schema.optional(
@@ -4854,7 +4827,7 @@ export const listUserSchemaOperations: API.PaginatedOperationMethod<
4854
4827
  ListUserSchemaOperationsResponse,
4855
4828
  ListUserSchemaOperationsError,
4856
4829
  Credentials | HttpClient.HttpClient
4857
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
4830
+ > = /*@__PURE__*/ API.makePaginated(() => ({
4858
4831
  input: ListUserSchemaOperationsRequest,
4859
4832
  output: ListUserSchemaOperationsResponse,
4860
4833
  errors: [],