@distilled.cloud/cloudflare 0.29.0 → 0.30.0

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 (458) hide show
  1. package/lib/services/abuse-reports.d.ts.map +1 -1
  2. package/lib/services/abuse-reports.js +26 -26
  3. package/lib/services/abuse-reports.js.map +1 -1
  4. package/lib/services/accounts.d.ts.map +1 -1
  5. package/lib/services/accounts.js +114 -123
  6. package/lib/services/accounts.js.map +1 -1
  7. package/lib/services/acm.d.ts.map +1 -1
  8. package/lib/services/acm.js +23 -23
  9. package/lib/services/acm.js.map +1 -1
  10. package/lib/services/addressing.d.ts.map +1 -1
  11. package/lib/services/addressing.js +132 -132
  12. package/lib/services/addressing.js.map +1 -1
  13. package/lib/services/ai-gateway.d.ts.map +1 -1
  14. package/lib/services/ai-gateway.js +213 -207
  15. package/lib/services/ai-gateway.js.map +1 -1
  16. package/lib/services/ai-security.d.ts.map +1 -1
  17. package/lib/services/ai-security.js +13 -13
  18. package/lib/services/ai-security.js.map +1 -1
  19. package/lib/services/ai.d.ts.map +1 -1
  20. package/lib/services/ai.js +62 -62
  21. package/lib/services/ai.js.map +1 -1
  22. package/lib/services/aisearch.d.ts.map +1 -1
  23. package/lib/services/aisearch.js +187 -193
  24. package/lib/services/aisearch.js.map +1 -1
  25. package/lib/services/alerting.d.ts.map +1 -1
  26. package/lib/services/alerting.js +78 -78
  27. package/lib/services/alerting.js.map +1 -1
  28. package/lib/services/api-gateway.d.ts.map +1 -1
  29. package/lib/services/api-gateway.js +168 -177
  30. package/lib/services/api-gateway.js.map +1 -1
  31. package/lib/services/argo.js +12 -12
  32. package/lib/services/argo.js.map +1 -1
  33. package/lib/services/audit-logs.d.ts.map +1 -1
  34. package/lib/services/audit-logs.js +9 -9
  35. package/lib/services/audit-logs.js.map +1 -1
  36. package/lib/services/billing.d.ts.map +1 -1
  37. package/lib/services/billing.js +11 -11
  38. package/lib/services/billing.js.map +1 -1
  39. package/lib/services/bot-management.d.ts.map +1 -1
  40. package/lib/services/bot-management.js +18 -30
  41. package/lib/services/bot-management.js.map +1 -1
  42. package/lib/services/botnet-feed.d.ts.map +1 -1
  43. package/lib/services/botnet-feed.js +12 -12
  44. package/lib/services/botnet-feed.js.map +1 -1
  45. package/lib/services/brand-protection.d.ts.map +1 -1
  46. package/lib/services/brand-protection.js +59 -59
  47. package/lib/services/brand-protection.js.map +1 -1
  48. package/lib/services/browser-rendering.d.ts.map +1 -1
  49. package/lib/services/browser-rendering.js +103 -103
  50. package/lib/services/browser-rendering.js.map +1 -1
  51. package/lib/services/cache.d.ts.map +1 -1
  52. package/lib/services/cache.js +72 -72
  53. package/lib/services/cache.js.map +1 -1
  54. package/lib/services/calls.d.ts.map +1 -1
  55. package/lib/services/calls.js +31 -31
  56. package/lib/services/calls.js.map +1 -1
  57. package/lib/services/certificate-authorities.js +6 -6
  58. package/lib/services/certificate-authorities.js.map +1 -1
  59. package/lib/services/client-certificates.js +18 -18
  60. package/lib/services/client-certificates.js.map +1 -1
  61. package/lib/services/cloud-connector.d.ts.map +1 -1
  62. package/lib/services/cloud-connector.js +8 -8
  63. package/lib/services/cloud-connector.js.map +1 -1
  64. package/lib/services/cloudforce-one.d.ts.map +1 -1
  65. package/lib/services/cloudforce-one.js +178 -178
  66. package/lib/services/cloudforce-one.js.map +1 -1
  67. package/lib/services/connectivity.js +25 -25
  68. package/lib/services/connectivity.js.map +1 -1
  69. package/lib/services/containers.js +49 -49
  70. package/lib/services/containers.js.map +1 -1
  71. package/lib/services/content-scanning.d.ts.map +1 -1
  72. package/lib/services/content-scanning.js +29 -29
  73. package/lib/services/content-scanning.js.map +1 -1
  74. package/lib/services/csam-scanner.d.ts.map +1 -1
  75. package/lib/services/csam-scanner.js +8 -8
  76. package/lib/services/csam-scanner.js.map +1 -1
  77. package/lib/services/custom-certificates.d.ts.map +1 -1
  78. package/lib/services/custom-certificates.js +24 -24
  79. package/lib/services/custom-certificates.js.map +1 -1
  80. package/lib/services/custom-csrs.d.ts.map +1 -1
  81. package/lib/services/custom-csrs.js +22 -22
  82. package/lib/services/custom-csrs.js.map +1 -1
  83. package/lib/services/custom-hostnames.d.ts.map +1 -1
  84. package/lib/services/custom-hostnames.js +40 -40
  85. package/lib/services/custom-hostnames.js.map +1 -1
  86. package/lib/services/custom-nameservers.js +11 -11
  87. package/lib/services/custom-nameservers.js.map +1 -1
  88. package/lib/services/custom-pages.d.ts.map +1 -1
  89. package/lib/services/custom-pages.js +43 -43
  90. package/lib/services/custom-pages.js.map +1 -1
  91. package/lib/services/d1.d.ts +4 -4
  92. package/lib/services/d1.d.ts.map +1 -1
  93. package/lib/services/d1.js +69 -51
  94. package/lib/services/d1.js.map +1 -1
  95. package/lib/services/dcv-delegation.js +3 -3
  96. package/lib/services/dcv-delegation.js.map +1 -1
  97. package/lib/services/ddos-protection.js +126 -126
  98. package/lib/services/ddos-protection.js.map +1 -1
  99. package/lib/services/diagnostics.js +27 -27
  100. package/lib/services/diagnostics.js.map +1 -1
  101. package/lib/services/dls.d.ts.map +1 -1
  102. package/lib/services/dls.js +26 -26
  103. package/lib/services/dls.js.map +1 -1
  104. package/lib/services/dns-firewall.d.ts.map +1 -1
  105. package/lib/services/dns-firewall.js +34 -34
  106. package/lib/services/dns-firewall.js.map +1 -1
  107. package/lib/services/dns.d.ts.map +1 -1
  108. package/lib/services/dns.js +268 -268
  109. package/lib/services/dns.js.map +1 -1
  110. package/lib/services/durable-objects.d.ts.map +1 -1
  111. package/lib/services/durable-objects.js +11 -11
  112. package/lib/services/durable-objects.js.map +1 -1
  113. package/lib/services/email-auth.d.ts.map +1 -1
  114. package/lib/services/email-auth.js +13 -13
  115. package/lib/services/email-auth.js.map +1 -1
  116. package/lib/services/email-routing.d.ts.map +1 -1
  117. package/lib/services/email-routing.js +70 -70
  118. package/lib/services/email-routing.js.map +1 -1
  119. package/lib/services/email-security.d.ts.map +1 -1
  120. package/lib/services/email-security.js +195 -195
  121. package/lib/services/email-security.js.map +1 -1
  122. package/lib/services/email-sending.d.ts.map +1 -1
  123. package/lib/services/email-sending.js +28 -28
  124. package/lib/services/email-sending.js.map +1 -1
  125. package/lib/services/filters.d.ts.map +1 -1
  126. package/lib/services/filters.js +25 -25
  127. package/lib/services/filters.js.map +1 -1
  128. package/lib/services/firewall.d.ts.map +1 -1
  129. package/lib/services/firewall.js +149 -149
  130. package/lib/services/firewall.js.map +1 -1
  131. package/lib/services/flagship.d.ts.map +1 -1
  132. package/lib/services/flagship.js +52 -52
  133. package/lib/services/flagship.js.map +1 -1
  134. package/lib/services/fraud.js +8 -8
  135. package/lib/services/fraud.js.map +1 -1
  136. package/lib/services/google-tag-gateway.d.ts.map +1 -1
  137. package/lib/services/google-tag-gateway.js +7 -7
  138. package/lib/services/google-tag-gateway.js.map +1 -1
  139. package/lib/services/healthchecks.d.ts.map +1 -1
  140. package/lib/services/healthchecks.js +31 -31
  141. package/lib/services/healthchecks.js.map +1 -1
  142. package/lib/services/hostnames.d.ts.map +1 -1
  143. package/lib/services/hostnames.js +10 -10
  144. package/lib/services/hostnames.js.map +1 -1
  145. package/lib/services/hyperdrive.d.ts.map +1 -1
  146. package/lib/services/hyperdrive.js +32 -32
  147. package/lib/services/hyperdrive.js.map +1 -1
  148. package/lib/services/iam.d.ts.map +1 -1
  149. package/lib/services/iam.js +113 -113
  150. package/lib/services/iam.js.map +1 -1
  151. package/lib/services/images.d.ts.map +1 -1
  152. package/lib/services/images.js +59 -59
  153. package/lib/services/images.js.map +1 -1
  154. package/lib/services/intel.d.ts.map +1 -1
  155. package/lib/services/intel.js +102 -102
  156. package/lib/services/intel.js.map +1 -1
  157. package/lib/services/ips.js +5 -5
  158. package/lib/services/ips.js.map +1 -1
  159. package/lib/services/keyless-certificates.js +17 -17
  160. package/lib/services/keyless-certificates.js.map +1 -1
  161. package/lib/services/kv.d.ts.map +1 -1
  162. package/lib/services/kv.js +54 -54
  163. package/lib/services/kv.js.map +1 -1
  164. package/lib/services/leaked-credential-checks.d.ts.map +1 -1
  165. package/lib/services/leaked-credential-checks.js +22 -22
  166. package/lib/services/leaked-credential-checks.js.map +1 -1
  167. package/lib/services/load-balancers.d.ts.map +1 -1
  168. package/lib/services/load-balancers.js +139 -157
  169. package/lib/services/load-balancers.js.map +1 -1
  170. package/lib/services/logpush.d.ts.map +1 -1
  171. package/lib/services/logpush.js +69 -69
  172. package/lib/services/logpush.js.map +1 -1
  173. package/lib/services/logs.d.ts.map +1 -1
  174. package/lib/services/logs.js +58 -58
  175. package/lib/services/logs.js.map +1 -1
  176. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  177. package/lib/services/magic-cloud-networking.js +138 -168
  178. package/lib/services/magic-cloud-networking.js.map +1 -1
  179. package/lib/services/magic-network-monitoring.d.ts.map +1 -1
  180. package/lib/services/magic-network-monitoring.js +47 -65
  181. package/lib/services/magic-network-monitoring.js.map +1 -1
  182. package/lib/services/magic-transit.d.ts.map +1 -1
  183. package/lib/services/magic-transit.js +340 -364
  184. package/lib/services/magic-transit.js.map +1 -1
  185. package/lib/services/managed-transforms.js +11 -11
  186. package/lib/services/managed-transforms.js.map +1 -1
  187. package/lib/services/memberships.d.ts.map +1 -1
  188. package/lib/services/memberships.js +25 -25
  189. package/lib/services/memberships.js.map +1 -1
  190. package/lib/services/moq.d.ts.map +1 -1
  191. package/lib/services/moq.js +23 -23
  192. package/lib/services/moq.js.map +1 -1
  193. package/lib/services/mtls-certificates.d.ts.map +1 -1
  194. package/lib/services/mtls-certificates.js +17 -17
  195. package/lib/services/mtls-certificates.js.map +1 -1
  196. package/lib/services/network-interconnects.d.ts.map +1 -1
  197. package/lib/services/network-interconnects.js +56 -56
  198. package/lib/services/network-interconnects.js.map +1 -1
  199. package/lib/services/organizations.d.ts.map +1 -1
  200. package/lib/services/organizations.js +42 -42
  201. package/lib/services/organizations.js.map +1 -1
  202. package/lib/services/origin-ca-certificates.js +14 -14
  203. package/lib/services/origin-ca-certificates.js.map +1 -1
  204. package/lib/services/origin-post-quantum-encryption.js +6 -6
  205. package/lib/services/origin-post-quantum-encryption.js.map +1 -1
  206. package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
  207. package/lib/services/origin-tls-client-auth.js +52 -52
  208. package/lib/services/origin-tls-client-auth.js.map +1 -1
  209. package/lib/services/origin-tls-compliance-modes.js +12 -12
  210. package/lib/services/origin-tls-compliance-modes.js.map +1 -1
  211. package/lib/services/page-rules.d.ts.map +1 -1
  212. package/lib/services/page-rules.js +62 -62
  213. package/lib/services/page-rules.js.map +1 -1
  214. package/lib/services/page-shield.d.ts.map +1 -1
  215. package/lib/services/page-shield.js +45 -48
  216. package/lib/services/page-shield.js.map +1 -1
  217. package/lib/services/pages.d.ts.map +1 -1
  218. package/lib/services/pages.js +78 -78
  219. package/lib/services/pages.js.map +1 -1
  220. package/lib/services/pipelines.d.ts.map +1 -1
  221. package/lib/services/pipelines.js +102 -102
  222. package/lib/services/pipelines.js.map +1 -1
  223. package/lib/services/queues.d.ts.map +1 -1
  224. package/lib/services/queues.js +100 -103
  225. package/lib/services/queues.js.map +1 -1
  226. package/lib/services/r2-data-catalog.d.ts.map +1 -1
  227. package/lib/services/r2-data-catalog.js +42 -42
  228. package/lib/services/r2-data-catalog.js.map +1 -1
  229. package/lib/services/r2.d.ts.map +1 -1
  230. package/lib/services/r2.js +190 -190
  231. package/lib/services/r2.js.map +1 -1
  232. package/lib/services/radar.d.ts.map +1 -1
  233. package/lib/services/radar.js +991 -1009
  234. package/lib/services/radar.js.map +1 -1
  235. package/lib/services/rate-limits.d.ts.map +1 -1
  236. package/lib/services/rate-limits.js +24 -24
  237. package/lib/services/rate-limits.js.map +1 -1
  238. package/lib/services/realtime-kit.d.ts.map +1 -1
  239. package/lib/services/realtime-kit.js +276 -276
  240. package/lib/services/realtime-kit.js.map +1 -1
  241. package/lib/services/registrar.d.ts.map +1 -1
  242. package/lib/services/registrar.js +28 -28
  243. package/lib/services/registrar.js.map +1 -1
  244. package/lib/services/request-tracers.d.ts.map +1 -1
  245. package/lib/services/request-tracers.js +7 -7
  246. package/lib/services/request-tracers.js.map +1 -1
  247. package/lib/services/resource-sharing.d.ts.map +1 -1
  248. package/lib/services/resource-sharing.js +49 -49
  249. package/lib/services/resource-sharing.js.map +1 -1
  250. package/lib/services/resource-tagging.d.ts.map +1 -1
  251. package/lib/services/resource-tagging.js +56 -56
  252. package/lib/services/resource-tagging.js.map +1 -1
  253. package/lib/services/rules.d.ts.map +1 -1
  254. package/lib/services/rules.js +50 -50
  255. package/lib/services/rules.js.map +1 -1
  256. package/lib/services/rulesets.d.ts +2 -2
  257. package/lib/services/rulesets.d.ts.map +1 -1
  258. package/lib/services/rulesets.js +226 -190
  259. package/lib/services/rulesets.js.map +1 -1
  260. package/lib/services/rum.d.ts.map +1 -1
  261. package/lib/services/rum.js +35 -35
  262. package/lib/services/rum.js.map +1 -1
  263. package/lib/services/schema-validation.d.ts.map +1 -1
  264. package/lib/services/schema-validation.js +43 -46
  265. package/lib/services/schema-validation.js.map +1 -1
  266. package/lib/services/secrets-store.d.ts.map +1 -1
  267. package/lib/services/secrets-store.js +41 -41
  268. package/lib/services/secrets-store.js.map +1 -1
  269. package/lib/services/security-center.d.ts.map +1 -1
  270. package/lib/services/security-center.js +54 -57
  271. package/lib/services/security-center.js.map +1 -1
  272. package/lib/services/security-txt.d.ts.map +1 -1
  273. package/lib/services/security-txt.js +12 -12
  274. package/lib/services/security-txt.js.map +1 -1
  275. package/lib/services/snippets.d.ts.map +1 -1
  276. package/lib/services/snippets.js +31 -31
  277. package/lib/services/snippets.js.map +1 -1
  278. package/lib/services/spectrum.d.ts.map +1 -1
  279. package/lib/services/spectrum.js +35 -35
  280. package/lib/services/spectrum.js.map +1 -1
  281. package/lib/services/speed.d.ts.map +1 -1
  282. package/lib/services/speed.js +41 -41
  283. package/lib/services/speed.js.map +1 -1
  284. package/lib/services/ssl.d.ts.map +1 -1
  285. package/lib/services/ssl.js +48 -48
  286. package/lib/services/ssl.js.map +1 -1
  287. package/lib/services/stream.d.ts.map +1 -1
  288. package/lib/services/stream.js +147 -147
  289. package/lib/services/stream.js.map +1 -1
  290. package/lib/services/tenant-custom-nameservers.js +11 -11
  291. package/lib/services/tenant-custom-nameservers.js.map +1 -1
  292. package/lib/services/tenants.d.ts.map +1 -1
  293. package/lib/services/tenants.js +28 -28
  294. package/lib/services/tenants.js.map +1 -1
  295. package/lib/services/token-validation.d.ts.map +1 -1
  296. package/lib/services/token-validation.js +56 -56
  297. package/lib/services/token-validation.js.map +1 -1
  298. package/lib/services/turnstile.d.ts.map +1 -1
  299. package/lib/services/turnstile.js +27 -54
  300. package/lib/services/turnstile.js.map +1 -1
  301. package/lib/services/url-normalization.js +9 -9
  302. package/lib/services/url-normalization.js.map +1 -1
  303. package/lib/services/url-scanner.d.ts.map +1 -1
  304. package/lib/services/url-scanner.js +120 -120
  305. package/lib/services/url-scanner.js.map +1 -1
  306. package/lib/services/user.d.ts.map +1 -1
  307. package/lib/services/user.js +95 -95
  308. package/lib/services/user.js.map +1 -1
  309. package/lib/services/vectorize.d.ts +10 -10
  310. package/lib/services/vectorize.d.ts.map +1 -1
  311. package/lib/services/vectorize.js +59 -57
  312. package/lib/services/vectorize.js.map +1 -1
  313. package/lib/services/vulnerability-scanner.d.ts.map +1 -1
  314. package/lib/services/vulnerability-scanner.js +95 -95
  315. package/lib/services/vulnerability-scanner.js.map +1 -1
  316. package/lib/services/waiting-rooms.d.ts.map +1 -1
  317. package/lib/services/waiting-rooms.js +81 -81
  318. package/lib/services/waiting-rooms.js.map +1 -1
  319. package/lib/services/web3.d.ts.map +1 -1
  320. package/lib/services/web3.js +39 -39
  321. package/lib/services/web3.js.map +1 -1
  322. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  323. package/lib/services/workers-for-platforms.js +139 -139
  324. package/lib/services/workers-for-platforms.js.map +1 -1
  325. package/lib/services/workers.d.ts.map +1 -1
  326. package/lib/services/workers.js +420 -420
  327. package/lib/services/workers.js.map +1 -1
  328. package/lib/services/workflows.d.ts.map +1 -1
  329. package/lib/services/workflows.js +88 -88
  330. package/lib/services/workflows.js.map +1 -1
  331. package/lib/services/zaraz.d.ts.map +1 -1
  332. package/lib/services/zaraz.js +36 -39
  333. package/lib/services/zaraz.js.map +1 -1
  334. package/lib/services/zero-trust.d.ts.map +1 -1
  335. package/lib/services/zero-trust.js +1765 -1771
  336. package/lib/services/zero-trust.js.map +1 -1
  337. package/lib/services/zones.d.ts.map +1 -1
  338. package/lib/services/zones.js +168 -168
  339. package/lib/services/zones.js.map +1 -1
  340. package/package.json +3 -2
  341. package/src/services/abuse-reports.ts +35 -36
  342. package/src/services/accounts.ts +714 -760
  343. package/src/services/acm.ts +115 -125
  344. package/src/services/addressing.ts +484 -512
  345. package/src/services/ai-gateway.ts +653 -672
  346. package/src/services/ai-security.ts +47 -53
  347. package/src/services/ai.ts +172 -185
  348. package/src/services/aisearch.ts +1814 -1861
  349. package/src/services/alerting.ts +710 -742
  350. package/src/services/api-gateway.ts +481 -508
  351. package/src/services/argo.ts +12 -12
  352. package/src/services/audit-logs.ts +45 -49
  353. package/src/services/billing.ts +121 -136
  354. package/src/services/bot-management.ts +122 -136
  355. package/src/services/botnet-feed.ts +68 -74
  356. package/src/services/brand-protection.ts +275 -294
  357. package/src/services/browser-rendering.ts +758 -769
  358. package/src/services/cache.ts +148 -158
  359. package/src/services/calls.ts +110 -120
  360. package/src/services/certificate-authorities.ts +6 -6
  361. package/src/services/client-certificates.ts +18 -18
  362. package/src/services/cloud-connector.ts +11 -12
  363. package/src/services/cloudforce-one.ts +589 -617
  364. package/src/services/connectivity.ts +25 -25
  365. package/src/services/containers.ts +49 -49
  366. package/src/services/content-scanning.ts +80 -89
  367. package/src/services/csam-scanner.ts +16 -17
  368. package/src/services/custom-certificates.ts +36 -38
  369. package/src/services/custom-csrs.ts +103 -105
  370. package/src/services/custom-hostnames.ts +44 -45
  371. package/src/services/custom-nameservers.ts +11 -11
  372. package/src/services/custom-pages.ts +173 -184
  373. package/src/services/d1.ts +335 -325
  374. package/src/services/dcv-delegation.ts +3 -3
  375. package/src/services/ddos-protection.ts +126 -126
  376. package/src/services/diagnostics.ts +27 -27
  377. package/src/services/dls.ts +82 -86
  378. package/src/services/dns-firewall.ts +65 -69
  379. package/src/services/dns.ts +1080 -1107
  380. package/src/services/durable-objects.ts +36 -38
  381. package/src/services/email-auth.ts +47 -52
  382. package/src/services/email-routing.ts +264 -288
  383. package/src/services/email-security.ts +205 -208
  384. package/src/services/email-sending.ts +94 -99
  385. package/src/services/filters.ts +97 -111
  386. package/src/services/firewall.ts +698 -753
  387. package/src/services/flagship.ts +321 -336
  388. package/src/services/fraud.ts +8 -8
  389. package/src/services/google-tag-gateway.ts +17 -19
  390. package/src/services/healthchecks.ts +269 -286
  391. package/src/services/hostnames.ts +94 -99
  392. package/src/services/hyperdrive.ts +310 -324
  393. package/src/services/iam.ts +205 -212
  394. package/src/services/images.ts +138 -150
  395. package/src/services/intel.ts +248 -261
  396. package/src/services/ips.ts +5 -5
  397. package/src/services/keyless-certificates.ts +17 -17
  398. package/src/services/kv.ts +106 -110
  399. package/src/services/leaked-credential-checks.ts +49 -53
  400. package/src/services/load-balancers.ts +1119 -1212
  401. package/src/services/logpush.ts +298 -313
  402. package/src/services/logs.ts +74 -77
  403. package/src/services/magic-cloud-networking.ts +1219 -1311
  404. package/src/services/magic-network-monitoring.ts +647 -685
  405. package/src/services/magic-transit.ts +1988 -2119
  406. package/src/services/managed-transforms.ts +11 -11
  407. package/src/services/memberships.ts +101 -105
  408. package/src/services/moq.ts +100 -110
  409. package/src/services/mtls-certificates.ts +30 -32
  410. package/src/services/network-interconnects.ts +137 -145
  411. package/src/services/organizations.ts +189 -192
  412. package/src/services/origin-ca-certificates.ts +14 -14
  413. package/src/services/origin-post-quantum-encryption.ts +6 -6
  414. package/src/services/origin-tls-client-auth.ts +219 -236
  415. package/src/services/origin-tls-compliance-modes.ts +12 -12
  416. package/src/services/page-rules.ts +365 -373
  417. package/src/services/page-shield.ts +489 -528
  418. package/src/services/pages.ts +309 -319
  419. package/src/services/pipelines.ts +534 -573
  420. package/src/services/queues.ts +598 -635
  421. package/src/services/r2-data-catalog.ts +59 -60
  422. package/src/services/r2.ts +654 -689
  423. package/src/services/radar.ts +3395 -3487
  424. package/src/services/rate-limits.ts +81 -93
  425. package/src/services/realtime-kit.ts +386 -399
  426. package/src/services/registrar.ts +90 -96
  427. package/src/services/request-tracers.ts +41 -43
  428. package/src/services/resource-sharing.ts +293 -305
  429. package/src/services/resource-tagging.ts +354 -366
  430. package/src/services/rules.ts +272 -292
  431. package/src/services/rulesets.ts +1214 -1116
  432. package/src/services/rum.ts +252 -273
  433. package/src/services/schema-validation.ts +284 -305
  434. package/src/services/secrets-store.ts +130 -138
  435. package/src/services/security-center.ts +64 -69
  436. package/src/services/security-txt.ts +48 -50
  437. package/src/services/snippets.ts +132 -142
  438. package/src/services/spectrum.ts +75 -80
  439. package/src/services/speed.ts +385 -397
  440. package/src/services/ssl.ts +64 -65
  441. package/src/services/stream.ts +658 -718
  442. package/src/services/tenant-custom-nameservers.ts +11 -11
  443. package/src/services/tenants.ts +86 -93
  444. package/src/services/token-validation.ts +145 -151
  445. package/src/services/turnstile.ts +344 -381
  446. package/src/services/url-normalization.ts +9 -9
  447. package/src/services/url-scanner.ts +393 -399
  448. package/src/services/user.ts +479 -503
  449. package/src/services/vectorize.ts +215 -230
  450. package/src/services/vulnerability-scanner.ts +145 -148
  451. package/src/services/waiting-rooms.ts +759 -825
  452. package/src/services/web3.ts +186 -197
  453. package/src/services/workers-for-platforms.ts +408 -432
  454. package/src/services/workers.ts +1175 -1239
  455. package/src/services/workflows.ts +585 -616
  456. package/src/services/zaraz.ts +168 -192
  457. package/src/services/zero-trust.ts +2965 -3074
  458. package/src/services/zones.ts +753 -785
@@ -120,7 +120,7 @@ interface AdaptiveRouting {
120
120
  /** Extends zero-downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin ste */
121
121
  failoverAcrossPools?: boolean | null;
122
122
  }
123
- const AdaptiveRouting = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
123
+ const AdaptiveRouting = /*@__PURE__*/ Schema.suspend(() =>
124
124
  Schema.Struct({
125
125
  failoverAcrossPools: Schema.optional(
126
126
  Schema.Union([Schema.Boolean, Schema.Null]),
@@ -134,7 +134,7 @@ interface LocationStrategy {
134
134
  /** Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. - `"always"`: Always prefer ECS. - `"never"`: Never prefer ECS. - `"proximity"`: Prefer ECS only when `st */
135
135
  preferEcs?: "always" | "never" | "proximity" | "geo" | (string & {}) | null;
136
136
  }
137
- const LocationStrategy = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
137
+ const LocationStrategy = /*@__PURE__*/ Schema.suspend(() =>
138
138
  Schema.Struct({
139
139
  mode: Schema.optional(
140
140
  Schema.Union([
@@ -160,7 +160,7 @@ interface RandomSteering {
160
160
  /** A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. */
161
161
  poolWeights?: Record<string, unknown> | null;
162
162
  }
163
- const RandomSteering = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
163
+ const RandomSteering = /*@__PURE__*/ Schema.suspend(() =>
164
164
  Schema.Struct({
165
165
  defaultWeight: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
166
166
  poolWeights: Schema.optional(
@@ -184,7 +184,7 @@ interface FixedResponse {
184
184
  /** The http status code to respond with. */
185
185
  statusCode?: number | null;
186
186
  }
187
- const FixedResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
187
+ const FixedResponse = /*@__PURE__*/ Schema.suspend(() =>
188
188
  Schema.Struct({
189
189
  contentType: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
190
190
  location: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -214,55 +214,52 @@ interface SessionAffinityAttributes {
214
214
  /** Configures the zero-downtime failover between origins within a pool when session affinity is enabled. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. The suppor */
215
215
  zeroDowntimeFailover?: "none" | "temporary" | "sticky" | (string & {}) | null;
216
216
  }
217
- const SessionAffinityAttributes = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
218
- () =>
219
- Schema.Struct({
220
- drainDuration: Schema.optional(
221
- Schema.Union([Schema.Number, Schema.Null]),
222
- ),
223
- headers: Schema.optional(
224
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
225
- ),
226
- requireAllHeaders: Schema.optional(
227
- Schema.Union([Schema.Boolean, Schema.Null]),
228
- ),
229
- samesite: Schema.optional(
217
+ const SessionAffinityAttributes = /*@__PURE__*/ Schema.suspend(() =>
218
+ Schema.Struct({
219
+ drainDuration: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
220
+ headers: Schema.optional(
221
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
222
+ ),
223
+ requireAllHeaders: Schema.optional(
224
+ Schema.Union([Schema.Boolean, Schema.Null]),
225
+ ),
226
+ samesite: Schema.optional(
227
+ Schema.Union([
230
228
  Schema.Union([
231
- Schema.Union([
232
- Schema.Literals(["Auto", "Lax", "None", "Strict"]),
233
- Schema.String,
234
- ]),
235
- Schema.Null,
229
+ Schema.Literals(["Auto", "Lax", "None", "Strict"]),
230
+ Schema.String,
236
231
  ]),
237
- ),
238
- secure: Schema.optional(
232
+ Schema.Null,
233
+ ]),
234
+ ),
235
+ secure: Schema.optional(
236
+ Schema.Union([
239
237
  Schema.Union([
240
- Schema.Union([
241
- Schema.Literals(["Auto", "Always", "Never"]),
242
- Schema.String,
243
- ]),
244
- Schema.Null,
238
+ Schema.Literals(["Auto", "Always", "Never"]),
239
+ Schema.String,
245
240
  ]),
246
- ),
247
- zeroDowntimeFailover: Schema.optional(
241
+ Schema.Null,
242
+ ]),
243
+ ),
244
+ zeroDowntimeFailover: Schema.optional(
245
+ Schema.Union([
248
246
  Schema.Union([
249
- Schema.Union([
250
- Schema.Literals(["none", "temporary", "sticky"]),
251
- Schema.String,
252
- ]),
253
- Schema.Null,
247
+ Schema.Literals(["none", "temporary", "sticky"]),
248
+ Schema.String,
254
249
  ]),
255
- ),
256
- }).pipe(
257
- Schema.encodeKeys({
258
- drainDuration: "drain_duration",
259
- headers: "headers",
260
- requireAllHeaders: "require_all_headers",
261
- samesite: "samesite",
262
- secure: "secure",
263
- zeroDowntimeFailover: "zero_downtime_failover",
264
- }),
250
+ Schema.Null,
251
+ ]),
265
252
  ),
253
+ }).pipe(
254
+ Schema.encodeKeys({
255
+ drainDuration: "drain_duration",
256
+ headers: "headers",
257
+ requireAllHeaders: "require_all_headers",
258
+ samesite: "samesite",
259
+ secure: "secure",
260
+ zeroDowntimeFailover: "zero_downtime_failover",
261
+ }),
262
+ ),
266
263
  ) as unknown as Schema.Codec<SessionAffinityAttributes>;
267
264
 
268
265
  interface Overrides {
@@ -327,7 +324,7 @@ interface Overrides {
327
324
  /** Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers. */
328
325
  ttl?: number | null;
329
326
  }
330
- const Overrides = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
327
+ const Overrides = /*@__PURE__*/ Schema.suspend(() =>
331
328
  Schema.Struct({
332
329
  adaptiveRouting: Schema.optional(
333
330
  Schema.Union([AdaptiveRouting, Schema.Null]),
@@ -479,7 +476,7 @@ interface Rules {
479
476
  /** If this rule's condition is true, this causes rule evaluation to stop after processing this rule. */
480
477
  terminates?: boolean | null;
481
478
  }
482
- const Rules = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
479
+ const Rules = /*@__PURE__*/ Schema.suspend(() =>
483
480
  Schema.Struct({
484
481
  condition: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
485
482
  disabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
@@ -655,7 +652,7 @@ interface ListLoadBalancersResponseResult {
655
652
  zoneName?: string | null;
656
653
  }
657
654
  const ListLoadBalancersResponseResult =
658
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
655
+ /*@__PURE__*/ Schema.suspend(() =>
659
656
  Schema.Struct({
660
657
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
661
658
  adaptiveRouting: Schema.optional(
@@ -808,81 +805,71 @@ interface ListMonitorsResponseResult {
808
805
  | (string & {})
809
806
  | null;
810
807
  }
811
- const ListMonitorsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
812
- () =>
813
- Schema.Struct({
814
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
815
- allowInsecure: Schema.optional(
816
- Schema.Union([Schema.Boolean, Schema.Null]),
817
- ),
818
- consecutiveDown: Schema.optional(
819
- Schema.Union([Schema.Number, Schema.Null]),
820
- ),
821
- consecutiveUp: Schema.optional(
822
- Schema.Union([Schema.Number, Schema.Null]),
823
- ),
824
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
825
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
826
- expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
827
- expectedCodes: Schema.optional(
828
- Schema.Union([Schema.String, Schema.Null]),
829
- ),
830
- followRedirects: Schema.optional(
831
- Schema.Union([Schema.Boolean, Schema.Null]),
832
- ),
833
- header: Schema.optional(
834
- Schema.Union([
835
- Schema.Record(Schema.String, Schema.Unknown),
836
- Schema.Null,
837
- ]),
838
- ),
839
- interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
840
- method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
841
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
842
- path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
843
- port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
844
- probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
845
- retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
846
- timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
847
- type: Schema.optional(
808
+ const ListMonitorsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
809
+ Schema.Struct({
810
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
811
+ allowInsecure: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
812
+ consecutiveDown: Schema.optional(
813
+ Schema.Union([Schema.Number, Schema.Null]),
814
+ ),
815
+ consecutiveUp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
816
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
817
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
818
+ expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
819
+ expectedCodes: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
820
+ followRedirects: Schema.optional(
821
+ Schema.Union([Schema.Boolean, Schema.Null]),
822
+ ),
823
+ header: Schema.optional(
824
+ Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
825
+ ),
826
+ interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
827
+ method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
828
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
829
+ path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
830
+ port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
831
+ probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
832
+ retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
833
+ timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
834
+ type: Schema.optional(
835
+ Schema.Union([
848
836
  Schema.Union([
849
- Schema.Union([
850
- Schema.Literals([
851
- "http",
852
- "https",
853
- "tcp",
854
- "udp_icmp",
855
- "icmp_ping",
856
- "smtp",
857
- ]),
858
- Schema.String,
837
+ Schema.Literals([
838
+ "http",
839
+ "https",
840
+ "tcp",
841
+ "udp_icmp",
842
+ "icmp_ping",
843
+ "smtp",
859
844
  ]),
860
- Schema.Null,
845
+ Schema.String,
861
846
  ]),
862
- ),
863
- }).pipe(
864
- Schema.encodeKeys({
865
- id: "id",
866
- allowInsecure: "allow_insecure",
867
- consecutiveDown: "consecutive_down",
868
- consecutiveUp: "consecutive_up",
869
- createdOn: "created_on",
870
- description: "description",
871
- expectedBody: "expected_body",
872
- expectedCodes: "expected_codes",
873
- followRedirects: "follow_redirects",
874
- header: "header",
875
- interval: "interval",
876
- method: "method",
877
- modifiedOn: "modified_on",
878
- path: "path",
879
- port: "port",
880
- probeZone: "probe_zone",
881
- retries: "retries",
882
- timeout: "timeout",
883
- type: "type",
884
- }),
847
+ Schema.Null,
848
+ ]),
885
849
  ),
850
+ }).pipe(
851
+ Schema.encodeKeys({
852
+ id: "id",
853
+ allowInsecure: "allow_insecure",
854
+ consecutiveDown: "consecutive_down",
855
+ consecutiveUp: "consecutive_up",
856
+ createdOn: "created_on",
857
+ description: "description",
858
+ expectedBody: "expected_body",
859
+ expectedCodes: "expected_codes",
860
+ followRedirects: "follow_redirects",
861
+ header: "header",
862
+ interval: "interval",
863
+ method: "method",
864
+ modifiedOn: "modified_on",
865
+ path: "path",
866
+ port: "port",
867
+ probeZone: "probe_zone",
868
+ retries: "retries",
869
+ timeout: "timeout",
870
+ type: "type",
871
+ }),
872
+ ),
886
873
  ) as unknown as Schema.Codec<ListMonitorsResponseResult>;
887
874
 
888
875
  interface Member {
@@ -899,7 +886,7 @@ interface Member {
899
886
  /** The timestamp of when the monitor group member was last updated */
900
887
  updatedAt?: string | null;
901
888
  }
902
- const Member = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
889
+ const Member = /*@__PURE__*/ Schema.suspend(() =>
903
890
  Schema.Struct({
904
891
  enabled: Schema.Boolean,
905
892
  monitorId: Schema.String,
@@ -939,7 +926,7 @@ interface ListMonitorGroupsResponseResult {
939
926
  modifiedOn?: string | null;
940
927
  }
941
928
  const ListMonitorGroupsResponseResult =
942
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
929
+ /*@__PURE__*/ Schema.suspend(() =>
943
930
  Schema.Struct({
944
931
  id: Schema.String,
945
932
  description: Schema.String,
@@ -967,7 +954,7 @@ interface Member2 {
967
954
  /** Whether this monitor must be healthy for the pool to be considered healthy */
968
955
  mustBeHealthy: boolean;
969
956
  }
970
- const Member2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
957
+ const Member2 = /*@__PURE__*/ Schema.suspend(() =>
971
958
  Schema.Struct({
972
959
  enabled: Schema.Boolean,
973
960
  monitorId: Schema.String,
@@ -990,7 +977,7 @@ interface GetMonitorGroupReferenceResponseResult {
990
977
  resourceType?: string | null;
991
978
  }
992
979
  const GetMonitorGroupReferenceResponseResult =
993
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
980
+ /*@__PURE__*/ Schema.suspend(() =>
994
981
  Schema.Struct({
995
982
  referenceType: Schema.optional(
996
983
  Schema.Union([
@@ -1024,7 +1011,7 @@ interface LoadShedding {
1024
1011
  /** Only the hash policy is supported for existing sessions (to avoid exponential decay). */
1025
1012
  sessionPolicy?: "hash" | null;
1026
1013
  }
1027
- const LoadShedding = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1014
+ const LoadShedding = /*@__PURE__*/ Schema.suspend(() =>
1028
1015
  Schema.Struct({
1029
1016
  defaultPercent: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1030
1017
  defaultPolicy: Schema.optional(
@@ -1053,7 +1040,7 @@ interface FilterOptions {
1053
1040
  /** If present, send notifications only for this health status (e.g. false for only DOWN events). Use null to reset (all events). */
1054
1041
  healthy?: boolean | null;
1055
1042
  }
1056
- const FilterOptions = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1043
+ const FilterOptions = /*@__PURE__*/ Schema.suspend(() =>
1057
1044
  Schema.Struct({
1058
1045
  disable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1059
1046
  healthy: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
@@ -1066,7 +1053,7 @@ interface NotificationFilter {
1066
1053
  /** Filter options for a particular resource type (pool or origin). Use null to reset. */
1067
1054
  pool?: { disable?: boolean | null; healthy?: boolean | null } | null;
1068
1055
  }
1069
- const NotificationFilter = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1056
+ const NotificationFilter = /*@__PURE__*/ Schema.suspend(() =>
1070
1057
  Schema.Struct({
1071
1058
  origin: Schema.optional(Schema.Union([FilterOptions, Schema.Null])),
1072
1059
  pool: Schema.optional(Schema.Union([FilterOptions, Schema.Null])),
@@ -1083,7 +1070,7 @@ interface OriginSteering {
1083
1070
  | (string & {})
1084
1071
  | null;
1085
1072
  }
1086
- const OriginSteering = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1073
+ const OriginSteering = /*@__PURE__*/ Schema.suspend(() =>
1087
1074
  Schema.Struct({
1088
1075
  policy: Schema.optional(
1089
1076
  Schema.Union([
@@ -1106,7 +1093,7 @@ interface Header {
1106
1093
  /** The 'Host' header allows to override the hostname set in the HTTP request. Current support is 1 'Host' header override per origin. */
1107
1094
  host?: string[] | null;
1108
1095
  }
1109
- const Header = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1096
+ const Header = /*@__PURE__*/ Schema.suspend(() =>
1110
1097
  Schema.Struct({
1111
1098
  host: Schema.optional(
1112
1099
  Schema.Union([Schema.Array(Schema.String), Schema.Null]),
@@ -1134,7 +1121,7 @@ interface Origin {
1134
1121
  /** The weight of this origin relative to other origins in the pool. Based on the configured weight the total traffic is distributed among origins within the pool. - `origin_steering.policy="least_outsta */
1135
1122
  weight?: number | null;
1136
1123
  }
1137
- const Origin = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1124
+ const Origin = /*@__PURE__*/ Schema.suspend(() =>
1138
1125
  Schema.Struct({
1139
1126
  address: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1140
1127
  disabledAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -1245,7 +1232,7 @@ interface ListPoolsResponseResult {
1245
1232
  }[]
1246
1233
  | null;
1247
1234
  }
1248
- const ListPoolsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1235
+ const ListPoolsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
1249
1236
  Schema.Struct({
1250
1237
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1251
1238
  checkRegions: Schema.optional(
@@ -1342,7 +1329,7 @@ interface OriginParam {
1342
1329
  /** The weight of this origin relative to other origins in the pool. Based on the configured weight the total traffic is distributed among origins within the pool. - `origin_steering.policy="least_outsta */
1343
1330
  weight?: number | null;
1344
1331
  }
1345
- const OriginParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1332
+ const OriginParam = /*@__PURE__*/ Schema.suspend(() =>
1346
1333
  Schema.Struct({
1347
1334
  address: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1348
1335
  enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
@@ -1378,7 +1365,7 @@ interface Ip {
1378
1365
  /** Origin RTT (Round Trip Time) response. */
1379
1366
  rtt?: string | null;
1380
1367
  }
1381
- const Ip = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1368
+ const Ip = /*@__PURE__*/ Schema.suspend(() =>
1382
1369
  Schema.Struct({
1383
1370
  failureReason: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1384
1371
  healthy: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
@@ -1402,7 +1389,7 @@ interface Origin2 {
1402
1389
  rtt?: string | null;
1403
1390
  } | null;
1404
1391
  }
1405
- const Origin2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1392
+ const Origin2 = /*@__PURE__*/ Schema.suspend(() =>
1406
1393
  Schema.Struct({
1407
1394
  ip: Schema.optional(Schema.Union([Ip, Schema.Null])),
1408
1395
  }),
@@ -1422,7 +1409,7 @@ interface Pophealth {
1422
1409
  }[]
1423
1410
  | null;
1424
1411
  }
1425
- const Pophealth = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1412
+ const Pophealth = /*@__PURE__*/ Schema.suspend(() =>
1426
1413
  Schema.Struct({
1427
1414
  healthy: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1428
1415
  origins: Schema.optional(
@@ -1442,7 +1429,7 @@ interface Resource {
1442
1429
  /** The type of the resource. */
1443
1430
  resourceType?: "load_balancer" | "monitor" | "pool" | (string & {}) | null;
1444
1431
  }
1445
- const Resource = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1432
+ const Resource = /*@__PURE__*/ Schema.suspend(() =>
1446
1433
  Schema.Struct({
1447
1434
  referenceType: Schema.optional(
1448
1435
  Schema.Union([
@@ -1496,7 +1483,7 @@ interface ListSearchesResponseResultItem {
1496
1483
  | null;
1497
1484
  }
1498
1485
  const ListSearchesResponseResultItem =
1499
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1486
+ /*@__PURE__*/ Schema.suspend(() =>
1500
1487
  Schema.Struct({
1501
1488
  resources: Schema.optional(
1502
1489
  Schema.Union([Schema.Array(Resource), Schema.Null]),
@@ -1524,16 +1511,12 @@ interface ListSearchesResponseResult {
1524
1511
  }[]
1525
1512
  | null;
1526
1513
  }
1527
- const ListSearchesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1528
- () =>
1529
- Schema.Struct({
1530
- items: Schema.optional(
1531
- Schema.Union([
1532
- Schema.Array(ListSearchesResponseResultItem),
1533
- Schema.Null,
1534
- ]),
1535
- ),
1536
- }),
1514
+ const ListSearchesResponseResult = /*@__PURE__*/ Schema.suspend(() =>
1515
+ Schema.Struct({
1516
+ items: Schema.optional(
1517
+ Schema.Union([Schema.Array(ListSearchesResponseResultItem), Schema.Null]),
1518
+ ),
1519
+ }),
1537
1520
  ) as unknown as Schema.Codec<ListSearchesResponseResult>;
1538
1521
 
1539
1522
  interface ListSearchesResponseResultInfo {
@@ -1543,7 +1526,7 @@ interface ListSearchesResponseResultInfo {
1543
1526
  totalCount?: number | null;
1544
1527
  }
1545
1528
  const ListSearchesResponseResultInfo =
1546
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1529
+ /*@__PURE__*/ Schema.suspend(() =>
1547
1530
  Schema.Struct({
1548
1531
  count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1549
1532
  page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -1569,7 +1552,7 @@ export interface GetLoadBalancerRequest {
1569
1552
  }
1570
1553
 
1571
1554
  export const GetLoadBalancerRequest =
1572
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1555
+ /*@__PURE__*/ Schema.suspend(() =>
1573
1556
  Schema.Struct({
1574
1557
  loadBalancerId: Schema.String.pipe(T.HttpPath("loadBalancerId")),
1575
1558
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -1736,7 +1719,7 @@ export interface GetLoadBalancerResponse {
1736
1719
  }
1737
1720
 
1738
1721
  export const GetLoadBalancerResponse =
1739
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1722
+ /*@__PURE__*/ Schema.suspend(() =>
1740
1723
  Schema.Struct({
1741
1724
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1742
1725
  adaptiveRouting: Schema.optional(
@@ -1856,7 +1839,7 @@ export const getLoadBalancer: API.OperationMethod<
1856
1839
  GetLoadBalancerResponse,
1857
1840
  GetLoadBalancerError,
1858
1841
  Credentials | HttpClient.HttpClient
1859
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1842
+ > = /*@__PURE__*/ API.make(() => ({
1860
1843
  input: GetLoadBalancerRequest,
1861
1844
  output: GetLoadBalancerResponse,
1862
1845
  errors: [LoadBalancerNotFound, Forbidden],
@@ -1867,7 +1850,7 @@ export interface ListLoadBalancersRequest {
1867
1850
  }
1868
1851
 
1869
1852
  export const ListLoadBalancersRequest =
1870
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1853
+ /*@__PURE__*/ Schema.suspend(() =>
1871
1854
  Schema.Struct({
1872
1855
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1873
1856
  }).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/load_balancers" })),
@@ -2017,7 +2000,7 @@ export interface ListLoadBalancersResponse {
2017
2000
  }
2018
2001
 
2019
2002
  export const ListLoadBalancersResponse =
2020
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2003
+ /*@__PURE__*/ Schema.suspend(() =>
2021
2004
  Schema.Struct({
2022
2005
  result: Schema.Array(ListLoadBalancersResponseResult),
2023
2006
  }),
@@ -2030,7 +2013,7 @@ export const listLoadBalancers: API.PaginatedOperationMethod<
2030
2013
  ListLoadBalancersResponse,
2031
2014
  ListLoadBalancersError,
2032
2015
  Credentials | HttpClient.HttpClient
2033
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2016
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2034
2017
  input: ListLoadBalancersRequest,
2035
2018
  output: ListLoadBalancersResponse,
2036
2019
  errors: [],
@@ -2158,7 +2141,7 @@ export interface CreateLoadBalancerRequest {
2158
2141
  }
2159
2142
 
2160
2143
  export const CreateLoadBalancerRequest =
2161
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2144
+ /*@__PURE__*/ Schema.suspend(() =>
2162
2145
  Schema.Struct({
2163
2146
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2164
2147
  defaultPools: Schema.Array(Schema.String),
@@ -2382,7 +2365,7 @@ export interface CreateLoadBalancerResponse {
2382
2365
  }
2383
2366
 
2384
2367
  export const CreateLoadBalancerResponse =
2385
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2368
+ /*@__PURE__*/ Schema.suspend(() =>
2386
2369
  Schema.Struct({
2387
2370
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2388
2371
  adaptiveRouting: Schema.optional(
@@ -2502,7 +2485,7 @@ export const createLoadBalancer: API.OperationMethod<
2502
2485
  CreateLoadBalancerResponse,
2503
2486
  CreateLoadBalancerError,
2504
2487
  Credentials | HttpClient.HttpClient
2505
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2488
+ > = /*@__PURE__*/ API.make(() => ({
2506
2489
  input: CreateLoadBalancerRequest,
2507
2490
  output: CreateLoadBalancerResponse,
2508
2491
  errors: [LoadBalancingNotEnabledForZone, Forbidden],
@@ -2629,7 +2612,7 @@ export interface UpdateLoadBalancerRequest {
2629
2612
  }
2630
2613
 
2631
2614
  export const UpdateLoadBalancerRequest =
2632
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2615
+ /*@__PURE__*/ Schema.suspend(() =>
2633
2616
  Schema.Struct({
2634
2617
  loadBalancerId: Schema.String.pipe(T.HttpPath("loadBalancerId")),
2635
2618
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -2859,7 +2842,7 @@ export interface UpdateLoadBalancerResponse {
2859
2842
  }
2860
2843
 
2861
2844
  export const UpdateLoadBalancerResponse =
2862
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2845
+ /*@__PURE__*/ Schema.suspend(() =>
2863
2846
  Schema.Struct({
2864
2847
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2865
2848
  adaptiveRouting: Schema.optional(
@@ -2980,7 +2963,7 @@ export const updateLoadBalancer: API.OperationMethod<
2980
2963
  UpdateLoadBalancerResponse,
2981
2964
  UpdateLoadBalancerError,
2982
2965
  Credentials | HttpClient.HttpClient
2983
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2966
+ > = /*@__PURE__*/ API.make(() => ({
2984
2967
  input: UpdateLoadBalancerRequest,
2985
2968
  output: UpdateLoadBalancerResponse,
2986
2969
  errors: [LoadBalancerNotFound, LoadBalancingNotEnabledForZone, Forbidden],
@@ -3105,7 +3088,7 @@ export interface PatchLoadBalancerRequest {
3105
3088
  }
3106
3089
 
3107
3090
  export const PatchLoadBalancerRequest =
3108
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3091
+ /*@__PURE__*/ Schema.suspend(() =>
3109
3092
  Schema.Struct({
3110
3093
  loadBalancerId: Schema.String.pipe(T.HttpPath("loadBalancerId")),
3111
3094
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -3333,7 +3316,7 @@ export interface PatchLoadBalancerResponse {
3333
3316
  }
3334
3317
 
3335
3318
  export const PatchLoadBalancerResponse =
3336
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3319
+ /*@__PURE__*/ Schema.suspend(() =>
3337
3320
  Schema.Struct({
3338
3321
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3339
3322
  adaptiveRouting: Schema.optional(
@@ -3450,7 +3433,7 @@ export const patchLoadBalancer: API.OperationMethod<
3450
3433
  PatchLoadBalancerResponse,
3451
3434
  PatchLoadBalancerError,
3452
3435
  Credentials | HttpClient.HttpClient
3453
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3436
+ > = /*@__PURE__*/ API.make(() => ({
3454
3437
  input: PatchLoadBalancerRequest,
3455
3438
  output: PatchLoadBalancerResponse,
3456
3439
  errors: [],
@@ -3462,7 +3445,7 @@ export interface DeleteLoadBalancerRequest {
3462
3445
  }
3463
3446
 
3464
3447
  export const DeleteLoadBalancerRequest =
3465
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3448
+ /*@__PURE__*/ Schema.suspend(() =>
3466
3449
  Schema.Struct({
3467
3450
  loadBalancerId: Schema.String.pipe(T.HttpPath("loadBalancerId")),
3468
3451
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -3479,7 +3462,7 @@ export interface DeleteLoadBalancerResponse {
3479
3462
  }
3480
3463
 
3481
3464
  export const DeleteLoadBalancerResponse =
3482
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3465
+ /*@__PURE__*/ Schema.suspend(() =>
3483
3466
  Schema.Struct({
3484
3467
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3485
3468
  }).pipe(T.ResponsePath("result")),
@@ -3495,7 +3478,7 @@ export const deleteLoadBalancer: API.OperationMethod<
3495
3478
  DeleteLoadBalancerResponse,
3496
3479
  DeleteLoadBalancerError,
3497
3480
  Credentials | HttpClient.HttpClient
3498
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3481
+ > = /*@__PURE__*/ API.make(() => ({
3499
3482
  input: DeleteLoadBalancerRequest,
3500
3483
  output: DeleteLoadBalancerResponse,
3501
3484
  errors: [LoadBalancerNotFound, Forbidden],
@@ -3511,17 +3494,16 @@ export interface GetMonitorRequest {
3511
3494
  accountId: string;
3512
3495
  }
3513
3496
 
3514
- export const GetMonitorRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3515
- () =>
3516
- Schema.Struct({
3517
- monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
3518
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
3519
- }).pipe(
3520
- T.Http({
3521
- method: "GET",
3522
- path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
3523
- }),
3524
- ),
3497
+ export const GetMonitorRequest = /*@__PURE__*/ Schema.suspend(() =>
3498
+ Schema.Struct({
3499
+ monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
3500
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
3501
+ }).pipe(
3502
+ T.Http({
3503
+ method: "GET",
3504
+ path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
3505
+ }),
3506
+ ),
3525
3507
  ) as unknown as Schema.Codec<GetMonitorRequest>;
3526
3508
 
3527
3509
  export interface GetMonitorResponse {
@@ -3570,83 +3552,73 @@ export interface GetMonitorResponse {
3570
3552
  | null;
3571
3553
  }
3572
3554
 
3573
- export const GetMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3574
- () =>
3575
- Schema.Struct({
3576
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3577
- allowInsecure: Schema.optional(
3578
- Schema.Union([Schema.Boolean, Schema.Null]),
3579
- ),
3580
- consecutiveDown: Schema.optional(
3581
- Schema.Union([Schema.Number, Schema.Null]),
3582
- ),
3583
- consecutiveUp: Schema.optional(
3584
- Schema.Union([Schema.Number, Schema.Null]),
3585
- ),
3586
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3587
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3588
- expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3589
- expectedCodes: Schema.optional(
3590
- Schema.Union([Schema.String, Schema.Null]),
3591
- ),
3592
- followRedirects: Schema.optional(
3593
- Schema.Union([Schema.Boolean, Schema.Null]),
3594
- ),
3595
- header: Schema.optional(
3596
- Schema.Union([
3597
- Schema.Record(Schema.String, Schema.Unknown),
3598
- Schema.Null,
3599
- ]),
3600
- ),
3601
- interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3602
- method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3603
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3604
- path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3605
- port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3606
- probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3607
- retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3608
- timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3609
- type: Schema.optional(
3555
+ export const GetMonitorResponse = /*@__PURE__*/ Schema.suspend(() =>
3556
+ Schema.Struct({
3557
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3558
+ allowInsecure: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
3559
+ consecutiveDown: Schema.optional(
3560
+ Schema.Union([Schema.Number, Schema.Null]),
3561
+ ),
3562
+ consecutiveUp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3563
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3564
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3565
+ expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3566
+ expectedCodes: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3567
+ followRedirects: Schema.optional(
3568
+ Schema.Union([Schema.Boolean, Schema.Null]),
3569
+ ),
3570
+ header: Schema.optional(
3571
+ Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
3572
+ ),
3573
+ interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3574
+ method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3575
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3576
+ path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3577
+ port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3578
+ probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3579
+ retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3580
+ timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3581
+ type: Schema.optional(
3582
+ Schema.Union([
3610
3583
  Schema.Union([
3611
- Schema.Union([
3612
- Schema.Literals([
3613
- "http",
3614
- "https",
3615
- "tcp",
3616
- "udp_icmp",
3617
- "icmp_ping",
3618
- "smtp",
3619
- ]),
3620
- Schema.String,
3584
+ Schema.Literals([
3585
+ "http",
3586
+ "https",
3587
+ "tcp",
3588
+ "udp_icmp",
3589
+ "icmp_ping",
3590
+ "smtp",
3621
3591
  ]),
3622
- Schema.Null,
3592
+ Schema.String,
3623
3593
  ]),
3624
- ),
3625
- })
3626
- .pipe(
3627
- Schema.encodeKeys({
3628
- id: "id",
3629
- allowInsecure: "allow_insecure",
3630
- consecutiveDown: "consecutive_down",
3631
- consecutiveUp: "consecutive_up",
3632
- createdOn: "created_on",
3633
- description: "description",
3634
- expectedBody: "expected_body",
3635
- expectedCodes: "expected_codes",
3636
- followRedirects: "follow_redirects",
3637
- header: "header",
3638
- interval: "interval",
3639
- method: "method",
3640
- modifiedOn: "modified_on",
3641
- path: "path",
3642
- port: "port",
3643
- probeZone: "probe_zone",
3644
- retries: "retries",
3645
- timeout: "timeout",
3646
- type: "type",
3647
- }),
3648
- )
3649
- .pipe(T.ResponsePath("result")),
3594
+ Schema.Null,
3595
+ ]),
3596
+ ),
3597
+ })
3598
+ .pipe(
3599
+ Schema.encodeKeys({
3600
+ id: "id",
3601
+ allowInsecure: "allow_insecure",
3602
+ consecutiveDown: "consecutive_down",
3603
+ consecutiveUp: "consecutive_up",
3604
+ createdOn: "created_on",
3605
+ description: "description",
3606
+ expectedBody: "expected_body",
3607
+ expectedCodes: "expected_codes",
3608
+ followRedirects: "follow_redirects",
3609
+ header: "header",
3610
+ interval: "interval",
3611
+ method: "method",
3612
+ modifiedOn: "modified_on",
3613
+ path: "path",
3614
+ port: "port",
3615
+ probeZone: "probe_zone",
3616
+ retries: "retries",
3617
+ timeout: "timeout",
3618
+ type: "type",
3619
+ }),
3620
+ )
3621
+ .pipe(T.ResponsePath("result")),
3650
3622
  ) as unknown as Schema.Codec<GetMonitorResponse>;
3651
3623
 
3652
3624
  export type GetMonitorError = DefaultErrors | MonitorNotFound | Forbidden;
@@ -3656,7 +3628,7 @@ export const getMonitor: API.OperationMethod<
3656
3628
  GetMonitorResponse,
3657
3629
  GetMonitorError,
3658
3630
  Credentials | HttpClient.HttpClient
3659
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3631
+ > = /*@__PURE__*/ API.make(() => ({
3660
3632
  input: GetMonitorRequest,
3661
3633
  output: GetMonitorResponse,
3662
3634
  errors: [MonitorNotFound, Forbidden],
@@ -3667,16 +3639,15 @@ export interface ListMonitorsRequest {
3667
3639
  accountId: string;
3668
3640
  }
3669
3641
 
3670
- export const ListMonitorsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3671
- () =>
3672
- Schema.Struct({
3673
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
3674
- }).pipe(
3675
- T.Http({
3676
- method: "GET",
3677
- path: "/accounts/{account_id}/load_balancers/monitors",
3678
- }),
3679
- ),
3642
+ export const ListMonitorsRequest = /*@__PURE__*/ Schema.suspend(() =>
3643
+ Schema.Struct({
3644
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
3645
+ }).pipe(
3646
+ T.Http({
3647
+ method: "GET",
3648
+ path: "/accounts/{account_id}/load_balancers/monitors",
3649
+ }),
3650
+ ),
3680
3651
  ) as unknown as Schema.Codec<ListMonitorsRequest>;
3681
3652
 
3682
3653
  export interface ListMonitorsResponse {
@@ -3711,11 +3682,10 @@ export interface ListMonitorsResponse {
3711
3682
  }[];
3712
3683
  }
3713
3684
 
3714
- export const ListMonitorsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3715
- () =>
3716
- Schema.Struct({
3717
- result: Schema.Array(ListMonitorsResponseResult),
3718
- }),
3685
+ export const ListMonitorsResponse = /*@__PURE__*/ Schema.suspend(() =>
3686
+ Schema.Struct({
3687
+ result: Schema.Array(ListMonitorsResponseResult),
3688
+ }),
3719
3689
  ) as unknown as Schema.Codec<ListMonitorsResponse>;
3720
3690
 
3721
3691
  export type ListMonitorsError = DefaultErrors;
@@ -3725,7 +3695,7 @@ export const listMonitors: API.PaginatedOperationMethod<
3725
3695
  ListMonitorsResponse,
3726
3696
  ListMonitorsError,
3727
3697
  Credentials | HttpClient.HttpClient
3728
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
3698
+ > = /*@__PURE__*/ API.makePaginated(() => ({
3729
3699
  input: ListMonitorsRequest,
3730
3700
  output: ListMonitorsResponse,
3731
3701
  errors: [],
@@ -3779,62 +3749,61 @@ export interface CreateMonitorRequest {
3779
3749
  | (string & {});
3780
3750
  }
3781
3751
 
3782
- export const CreateMonitorRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3783
- () =>
3784
- Schema.Struct({
3785
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
3786
- allowInsecure: Schema.optional(Schema.Boolean),
3787
- consecutiveDown: Schema.optional(Schema.Number),
3788
- consecutiveUp: Schema.optional(Schema.Number),
3789
- description: Schema.optional(Schema.String),
3790
- expectedBody: Schema.optional(Schema.String),
3791
- expectedCodes: Schema.optional(Schema.String),
3792
- followRedirects: Schema.optional(Schema.Boolean),
3793
- header: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
3794
- interval: Schema.optional(Schema.Number),
3795
- method: Schema.optional(Schema.String),
3796
- path: Schema.optional(Schema.String),
3797
- port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3798
- probeZone: Schema.optional(Schema.String),
3799
- retries: Schema.optional(Schema.Number),
3800
- timeout: Schema.optional(Schema.Number),
3801
- type: Schema.optional(
3802
- Schema.Union([
3803
- Schema.Literals([
3804
- "http",
3805
- "https",
3806
- "tcp",
3807
- "udp_icmp",
3808
- "icmp_ping",
3809
- "smtp",
3810
- ]),
3811
- Schema.String,
3752
+ export const CreateMonitorRequest = /*@__PURE__*/ Schema.suspend(() =>
3753
+ Schema.Struct({
3754
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
3755
+ allowInsecure: Schema.optional(Schema.Boolean),
3756
+ consecutiveDown: Schema.optional(Schema.Number),
3757
+ consecutiveUp: Schema.optional(Schema.Number),
3758
+ description: Schema.optional(Schema.String),
3759
+ expectedBody: Schema.optional(Schema.String),
3760
+ expectedCodes: Schema.optional(Schema.String),
3761
+ followRedirects: Schema.optional(Schema.Boolean),
3762
+ header: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
3763
+ interval: Schema.optional(Schema.Number),
3764
+ method: Schema.optional(Schema.String),
3765
+ path: Schema.optional(Schema.String),
3766
+ port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3767
+ probeZone: Schema.optional(Schema.String),
3768
+ retries: Schema.optional(Schema.Number),
3769
+ timeout: Schema.optional(Schema.Number),
3770
+ type: Schema.optional(
3771
+ Schema.Union([
3772
+ Schema.Literals([
3773
+ "http",
3774
+ "https",
3775
+ "tcp",
3776
+ "udp_icmp",
3777
+ "icmp_ping",
3778
+ "smtp",
3812
3779
  ]),
3813
- ),
3814
- }).pipe(
3815
- Schema.encodeKeys({
3816
- allowInsecure: "allow_insecure",
3817
- consecutiveDown: "consecutive_down",
3818
- consecutiveUp: "consecutive_up",
3819
- description: "description",
3820
- expectedBody: "expected_body",
3821
- expectedCodes: "expected_codes",
3822
- followRedirects: "follow_redirects",
3823
- header: "header",
3824
- interval: "interval",
3825
- method: "method",
3826
- path: "path",
3827
- port: "port",
3828
- probeZone: "probe_zone",
3829
- retries: "retries",
3830
- timeout: "timeout",
3831
- type: "type",
3832
- }),
3833
- T.Http({
3834
- method: "POST",
3835
- path: "/accounts/{account_id}/load_balancers/monitors",
3836
- }),
3780
+ Schema.String,
3781
+ ]),
3837
3782
  ),
3783
+ }).pipe(
3784
+ Schema.encodeKeys({
3785
+ allowInsecure: "allow_insecure",
3786
+ consecutiveDown: "consecutive_down",
3787
+ consecutiveUp: "consecutive_up",
3788
+ description: "description",
3789
+ expectedBody: "expected_body",
3790
+ expectedCodes: "expected_codes",
3791
+ followRedirects: "follow_redirects",
3792
+ header: "header",
3793
+ interval: "interval",
3794
+ method: "method",
3795
+ path: "path",
3796
+ port: "port",
3797
+ probeZone: "probe_zone",
3798
+ retries: "retries",
3799
+ timeout: "timeout",
3800
+ type: "type",
3801
+ }),
3802
+ T.Http({
3803
+ method: "POST",
3804
+ path: "/accounts/{account_id}/load_balancers/monitors",
3805
+ }),
3806
+ ),
3838
3807
  ) as unknown as Schema.Codec<CreateMonitorRequest>;
3839
3808
 
3840
3809
  export interface CreateMonitorResponse {
@@ -3883,83 +3852,73 @@ export interface CreateMonitorResponse {
3883
3852
  | null;
3884
3853
  }
3885
3854
 
3886
- export const CreateMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3887
- () =>
3888
- Schema.Struct({
3889
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3890
- allowInsecure: Schema.optional(
3891
- Schema.Union([Schema.Boolean, Schema.Null]),
3892
- ),
3893
- consecutiveDown: Schema.optional(
3894
- Schema.Union([Schema.Number, Schema.Null]),
3895
- ),
3896
- consecutiveUp: Schema.optional(
3897
- Schema.Union([Schema.Number, Schema.Null]),
3898
- ),
3899
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3900
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3901
- expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3902
- expectedCodes: Schema.optional(
3903
- Schema.Union([Schema.String, Schema.Null]),
3904
- ),
3905
- followRedirects: Schema.optional(
3906
- Schema.Union([Schema.Boolean, Schema.Null]),
3907
- ),
3908
- header: Schema.optional(
3909
- Schema.Union([
3910
- Schema.Record(Schema.String, Schema.Unknown),
3911
- Schema.Null,
3912
- ]),
3913
- ),
3914
- interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3915
- method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3916
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3917
- path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3918
- port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3919
- probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3920
- retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3921
- timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3922
- type: Schema.optional(
3855
+ export const CreateMonitorResponse = /*@__PURE__*/ Schema.suspend(() =>
3856
+ Schema.Struct({
3857
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3858
+ allowInsecure: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
3859
+ consecutiveDown: Schema.optional(
3860
+ Schema.Union([Schema.Number, Schema.Null]),
3861
+ ),
3862
+ consecutiveUp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3863
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3864
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3865
+ expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3866
+ expectedCodes: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3867
+ followRedirects: Schema.optional(
3868
+ Schema.Union([Schema.Boolean, Schema.Null]),
3869
+ ),
3870
+ header: Schema.optional(
3871
+ Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
3872
+ ),
3873
+ interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3874
+ method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3875
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3876
+ path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3877
+ port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3878
+ probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3879
+ retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3880
+ timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3881
+ type: Schema.optional(
3882
+ Schema.Union([
3923
3883
  Schema.Union([
3924
- Schema.Union([
3925
- Schema.Literals([
3926
- "http",
3927
- "https",
3928
- "tcp",
3929
- "udp_icmp",
3930
- "icmp_ping",
3931
- "smtp",
3932
- ]),
3933
- Schema.String,
3884
+ Schema.Literals([
3885
+ "http",
3886
+ "https",
3887
+ "tcp",
3888
+ "udp_icmp",
3889
+ "icmp_ping",
3890
+ "smtp",
3934
3891
  ]),
3935
- Schema.Null,
3892
+ Schema.String,
3936
3893
  ]),
3937
- ),
3938
- })
3939
- .pipe(
3940
- Schema.encodeKeys({
3941
- id: "id",
3942
- allowInsecure: "allow_insecure",
3943
- consecutiveDown: "consecutive_down",
3944
- consecutiveUp: "consecutive_up",
3945
- createdOn: "created_on",
3946
- description: "description",
3947
- expectedBody: "expected_body",
3948
- expectedCodes: "expected_codes",
3949
- followRedirects: "follow_redirects",
3950
- header: "header",
3951
- interval: "interval",
3952
- method: "method",
3953
- modifiedOn: "modified_on",
3954
- path: "path",
3955
- port: "port",
3956
- probeZone: "probe_zone",
3957
- retries: "retries",
3958
- timeout: "timeout",
3959
- type: "type",
3960
- }),
3961
- )
3962
- .pipe(T.ResponsePath("result")),
3894
+ Schema.Null,
3895
+ ]),
3896
+ ),
3897
+ })
3898
+ .pipe(
3899
+ Schema.encodeKeys({
3900
+ id: "id",
3901
+ allowInsecure: "allow_insecure",
3902
+ consecutiveDown: "consecutive_down",
3903
+ consecutiveUp: "consecutive_up",
3904
+ createdOn: "created_on",
3905
+ description: "description",
3906
+ expectedBody: "expected_body",
3907
+ expectedCodes: "expected_codes",
3908
+ followRedirects: "follow_redirects",
3909
+ header: "header",
3910
+ interval: "interval",
3911
+ method: "method",
3912
+ modifiedOn: "modified_on",
3913
+ path: "path",
3914
+ port: "port",
3915
+ probeZone: "probe_zone",
3916
+ retries: "retries",
3917
+ timeout: "timeout",
3918
+ type: "type",
3919
+ }),
3920
+ )
3921
+ .pipe(T.ResponsePath("result")),
3963
3922
  ) as unknown as Schema.Codec<CreateMonitorResponse>;
3964
3923
 
3965
3924
  export type CreateMonitorError =
@@ -3972,7 +3931,7 @@ export const createMonitor: API.OperationMethod<
3972
3931
  CreateMonitorResponse,
3973
3932
  CreateMonitorError,
3974
3933
  Credentials | HttpClient.HttpClient
3975
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3934
+ > = /*@__PURE__*/ API.make(() => ({
3976
3935
  input: CreateMonitorRequest,
3977
3936
  output: CreateMonitorResponse,
3978
3937
  errors: [MonitorIntervalOutOfRange, Forbidden],
@@ -4023,63 +3982,62 @@ export interface UpdateMonitorRequest {
4023
3982
  | (string & {});
4024
3983
  }
4025
3984
 
4026
- export const UpdateMonitorRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4027
- () =>
4028
- Schema.Struct({
4029
- monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
4030
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
4031
- allowInsecure: Schema.optional(Schema.Boolean),
4032
- consecutiveDown: Schema.optional(Schema.Number),
4033
- consecutiveUp: Schema.optional(Schema.Number),
4034
- description: Schema.optional(Schema.String),
4035
- expectedBody: Schema.optional(Schema.String),
4036
- expectedCodes: Schema.optional(Schema.String),
4037
- followRedirects: Schema.optional(Schema.Boolean),
4038
- header: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
4039
- interval: Schema.optional(Schema.Number),
4040
- method: Schema.optional(Schema.String),
4041
- path: Schema.optional(Schema.String),
4042
- port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4043
- probeZone: Schema.optional(Schema.String),
4044
- retries: Schema.optional(Schema.Number),
4045
- timeout: Schema.optional(Schema.Number),
4046
- type: Schema.optional(
4047
- Schema.Union([
4048
- Schema.Literals([
4049
- "http",
4050
- "https",
4051
- "tcp",
4052
- "udp_icmp",
4053
- "icmp_ping",
4054
- "smtp",
4055
- ]),
4056
- Schema.String,
3985
+ export const UpdateMonitorRequest = /*@__PURE__*/ Schema.suspend(() =>
3986
+ Schema.Struct({
3987
+ monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
3988
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
3989
+ allowInsecure: Schema.optional(Schema.Boolean),
3990
+ consecutiveDown: Schema.optional(Schema.Number),
3991
+ consecutiveUp: Schema.optional(Schema.Number),
3992
+ description: Schema.optional(Schema.String),
3993
+ expectedBody: Schema.optional(Schema.String),
3994
+ expectedCodes: Schema.optional(Schema.String),
3995
+ followRedirects: Schema.optional(Schema.Boolean),
3996
+ header: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
3997
+ interval: Schema.optional(Schema.Number),
3998
+ method: Schema.optional(Schema.String),
3999
+ path: Schema.optional(Schema.String),
4000
+ port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4001
+ probeZone: Schema.optional(Schema.String),
4002
+ retries: Schema.optional(Schema.Number),
4003
+ timeout: Schema.optional(Schema.Number),
4004
+ type: Schema.optional(
4005
+ Schema.Union([
4006
+ Schema.Literals([
4007
+ "http",
4008
+ "https",
4009
+ "tcp",
4010
+ "udp_icmp",
4011
+ "icmp_ping",
4012
+ "smtp",
4057
4013
  ]),
4058
- ),
4059
- }).pipe(
4060
- Schema.encodeKeys({
4061
- allowInsecure: "allow_insecure",
4062
- consecutiveDown: "consecutive_down",
4063
- consecutiveUp: "consecutive_up",
4064
- description: "description",
4065
- expectedBody: "expected_body",
4066
- expectedCodes: "expected_codes",
4067
- followRedirects: "follow_redirects",
4068
- header: "header",
4069
- interval: "interval",
4070
- method: "method",
4071
- path: "path",
4072
- port: "port",
4073
- probeZone: "probe_zone",
4074
- retries: "retries",
4075
- timeout: "timeout",
4076
- type: "type",
4077
- }),
4078
- T.Http({
4079
- method: "PUT",
4080
- path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
4081
- }),
4014
+ Schema.String,
4015
+ ]),
4082
4016
  ),
4017
+ }).pipe(
4018
+ Schema.encodeKeys({
4019
+ allowInsecure: "allow_insecure",
4020
+ consecutiveDown: "consecutive_down",
4021
+ consecutiveUp: "consecutive_up",
4022
+ description: "description",
4023
+ expectedBody: "expected_body",
4024
+ expectedCodes: "expected_codes",
4025
+ followRedirects: "follow_redirects",
4026
+ header: "header",
4027
+ interval: "interval",
4028
+ method: "method",
4029
+ path: "path",
4030
+ port: "port",
4031
+ probeZone: "probe_zone",
4032
+ retries: "retries",
4033
+ timeout: "timeout",
4034
+ type: "type",
4035
+ }),
4036
+ T.Http({
4037
+ method: "PUT",
4038
+ path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
4039
+ }),
4040
+ ),
4083
4041
  ) as unknown as Schema.Codec<UpdateMonitorRequest>;
4084
4042
 
4085
4043
  export interface UpdateMonitorResponse {
@@ -4128,83 +4086,73 @@ export interface UpdateMonitorResponse {
4128
4086
  | null;
4129
4087
  }
4130
4088
 
4131
- export const UpdateMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4132
- () =>
4133
- Schema.Struct({
4134
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4135
- allowInsecure: Schema.optional(
4136
- Schema.Union([Schema.Boolean, Schema.Null]),
4137
- ),
4138
- consecutiveDown: Schema.optional(
4139
- Schema.Union([Schema.Number, Schema.Null]),
4140
- ),
4141
- consecutiveUp: Schema.optional(
4142
- Schema.Union([Schema.Number, Schema.Null]),
4143
- ),
4144
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4145
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4146
- expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4147
- expectedCodes: Schema.optional(
4148
- Schema.Union([Schema.String, Schema.Null]),
4149
- ),
4150
- followRedirects: Schema.optional(
4151
- Schema.Union([Schema.Boolean, Schema.Null]),
4152
- ),
4153
- header: Schema.optional(
4154
- Schema.Union([
4155
- Schema.Record(Schema.String, Schema.Unknown),
4156
- Schema.Null,
4157
- ]),
4158
- ),
4159
- interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4160
- method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4161
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4162
- path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4163
- port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4164
- probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4165
- retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4166
- timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4167
- type: Schema.optional(
4089
+ export const UpdateMonitorResponse = /*@__PURE__*/ Schema.suspend(() =>
4090
+ Schema.Struct({
4091
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4092
+ allowInsecure: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
4093
+ consecutiveDown: Schema.optional(
4094
+ Schema.Union([Schema.Number, Schema.Null]),
4095
+ ),
4096
+ consecutiveUp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4097
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4098
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4099
+ expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4100
+ expectedCodes: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4101
+ followRedirects: Schema.optional(
4102
+ Schema.Union([Schema.Boolean, Schema.Null]),
4103
+ ),
4104
+ header: Schema.optional(
4105
+ Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
4106
+ ),
4107
+ interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4108
+ method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4109
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4110
+ path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4111
+ port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4112
+ probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4113
+ retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4114
+ timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4115
+ type: Schema.optional(
4116
+ Schema.Union([
4168
4117
  Schema.Union([
4169
- Schema.Union([
4170
- Schema.Literals([
4171
- "http",
4172
- "https",
4173
- "tcp",
4174
- "udp_icmp",
4175
- "icmp_ping",
4176
- "smtp",
4177
- ]),
4178
- Schema.String,
4118
+ Schema.Literals([
4119
+ "http",
4120
+ "https",
4121
+ "tcp",
4122
+ "udp_icmp",
4123
+ "icmp_ping",
4124
+ "smtp",
4179
4125
  ]),
4180
- Schema.Null,
4126
+ Schema.String,
4181
4127
  ]),
4182
- ),
4183
- })
4184
- .pipe(
4185
- Schema.encodeKeys({
4186
- id: "id",
4187
- allowInsecure: "allow_insecure",
4188
- consecutiveDown: "consecutive_down",
4189
- consecutiveUp: "consecutive_up",
4190
- createdOn: "created_on",
4191
- description: "description",
4192
- expectedBody: "expected_body",
4193
- expectedCodes: "expected_codes",
4194
- followRedirects: "follow_redirects",
4195
- header: "header",
4196
- interval: "interval",
4197
- method: "method",
4198
- modifiedOn: "modified_on",
4199
- path: "path",
4200
- port: "port",
4201
- probeZone: "probe_zone",
4202
- retries: "retries",
4203
- timeout: "timeout",
4204
- type: "type",
4205
- }),
4206
- )
4207
- .pipe(T.ResponsePath("result")),
4128
+ Schema.Null,
4129
+ ]),
4130
+ ),
4131
+ })
4132
+ .pipe(
4133
+ Schema.encodeKeys({
4134
+ id: "id",
4135
+ allowInsecure: "allow_insecure",
4136
+ consecutiveDown: "consecutive_down",
4137
+ consecutiveUp: "consecutive_up",
4138
+ createdOn: "created_on",
4139
+ description: "description",
4140
+ expectedBody: "expected_body",
4141
+ expectedCodes: "expected_codes",
4142
+ followRedirects: "follow_redirects",
4143
+ header: "header",
4144
+ interval: "interval",
4145
+ method: "method",
4146
+ modifiedOn: "modified_on",
4147
+ path: "path",
4148
+ port: "port",
4149
+ probeZone: "probe_zone",
4150
+ retries: "retries",
4151
+ timeout: "timeout",
4152
+ type: "type",
4153
+ }),
4154
+ )
4155
+ .pipe(T.ResponsePath("result")),
4208
4156
  ) as unknown as Schema.Codec<UpdateMonitorResponse>;
4209
4157
 
4210
4158
  export type UpdateMonitorError =
@@ -4218,7 +4166,7 @@ export const updateMonitor: API.OperationMethod<
4218
4166
  UpdateMonitorResponse,
4219
4167
  UpdateMonitorError,
4220
4168
  Credentials | HttpClient.HttpClient
4221
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4169
+ > = /*@__PURE__*/ API.make(() => ({
4222
4170
  input: UpdateMonitorRequest,
4223
4171
  output: UpdateMonitorResponse,
4224
4172
  errors: [MonitorNotFound, MonitorIntervalOutOfRange, Forbidden],
@@ -4261,71 +4209,70 @@ export interface PatchMonitorRequest {
4261
4209
  /** Body param: The protocol to use for the health check. Currently supported protocols are 'HTTP','HTTPS', 'TCP', 'ICMP-PING', 'UDP-ICMP', and 'SMTP'. */
4262
4210
  type?:
4263
4211
  | "http"
4264
- | "https"
4265
- | "tcp"
4266
- | "udp_icmp"
4267
- | "icmp_ping"
4268
- | "smtp"
4269
- | (string & {});
4270
- }
4271
-
4272
- export const PatchMonitorRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4273
- () =>
4274
- Schema.Struct({
4275
- monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
4276
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
4277
- allowInsecure: Schema.optional(Schema.Boolean),
4278
- consecutiveDown: Schema.optional(Schema.Number),
4279
- consecutiveUp: Schema.optional(Schema.Number),
4280
- description: Schema.optional(Schema.String),
4281
- expectedBody: Schema.optional(Schema.String),
4282
- expectedCodes: Schema.optional(Schema.String),
4283
- followRedirects: Schema.optional(Schema.Boolean),
4284
- header: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
4285
- interval: Schema.optional(Schema.Number),
4286
- method: Schema.optional(Schema.String),
4287
- path: Schema.optional(Schema.String),
4288
- port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4289
- probeZone: Schema.optional(Schema.String),
4290
- retries: Schema.optional(Schema.Number),
4291
- timeout: Schema.optional(Schema.Number),
4292
- type: Schema.optional(
4293
- Schema.Union([
4294
- Schema.Literals([
4295
- "http",
4296
- "https",
4297
- "tcp",
4298
- "udp_icmp",
4299
- "icmp_ping",
4300
- "smtp",
4301
- ]),
4302
- Schema.String,
4212
+ | "https"
4213
+ | "tcp"
4214
+ | "udp_icmp"
4215
+ | "icmp_ping"
4216
+ | "smtp"
4217
+ | (string & {});
4218
+ }
4219
+
4220
+ export const PatchMonitorRequest = /*@__PURE__*/ Schema.suspend(() =>
4221
+ Schema.Struct({
4222
+ monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
4223
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
4224
+ allowInsecure: Schema.optional(Schema.Boolean),
4225
+ consecutiveDown: Schema.optional(Schema.Number),
4226
+ consecutiveUp: Schema.optional(Schema.Number),
4227
+ description: Schema.optional(Schema.String),
4228
+ expectedBody: Schema.optional(Schema.String),
4229
+ expectedCodes: Schema.optional(Schema.String),
4230
+ followRedirects: Schema.optional(Schema.Boolean),
4231
+ header: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
4232
+ interval: Schema.optional(Schema.Number),
4233
+ method: Schema.optional(Schema.String),
4234
+ path: Schema.optional(Schema.String),
4235
+ port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4236
+ probeZone: Schema.optional(Schema.String),
4237
+ retries: Schema.optional(Schema.Number),
4238
+ timeout: Schema.optional(Schema.Number),
4239
+ type: Schema.optional(
4240
+ Schema.Union([
4241
+ Schema.Literals([
4242
+ "http",
4243
+ "https",
4244
+ "tcp",
4245
+ "udp_icmp",
4246
+ "icmp_ping",
4247
+ "smtp",
4303
4248
  ]),
4304
- ),
4305
- }).pipe(
4306
- Schema.encodeKeys({
4307
- allowInsecure: "allow_insecure",
4308
- consecutiveDown: "consecutive_down",
4309
- consecutiveUp: "consecutive_up",
4310
- description: "description",
4311
- expectedBody: "expected_body",
4312
- expectedCodes: "expected_codes",
4313
- followRedirects: "follow_redirects",
4314
- header: "header",
4315
- interval: "interval",
4316
- method: "method",
4317
- path: "path",
4318
- port: "port",
4319
- probeZone: "probe_zone",
4320
- retries: "retries",
4321
- timeout: "timeout",
4322
- type: "type",
4323
- }),
4324
- T.Http({
4325
- method: "PATCH",
4326
- path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
4327
- }),
4249
+ Schema.String,
4250
+ ]),
4328
4251
  ),
4252
+ }).pipe(
4253
+ Schema.encodeKeys({
4254
+ allowInsecure: "allow_insecure",
4255
+ consecutiveDown: "consecutive_down",
4256
+ consecutiveUp: "consecutive_up",
4257
+ description: "description",
4258
+ expectedBody: "expected_body",
4259
+ expectedCodes: "expected_codes",
4260
+ followRedirects: "follow_redirects",
4261
+ header: "header",
4262
+ interval: "interval",
4263
+ method: "method",
4264
+ path: "path",
4265
+ port: "port",
4266
+ probeZone: "probe_zone",
4267
+ retries: "retries",
4268
+ timeout: "timeout",
4269
+ type: "type",
4270
+ }),
4271
+ T.Http({
4272
+ method: "PATCH",
4273
+ path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
4274
+ }),
4275
+ ),
4329
4276
  ) as unknown as Schema.Codec<PatchMonitorRequest>;
4330
4277
 
4331
4278
  export interface PatchMonitorResponse {
@@ -4374,83 +4321,73 @@ export interface PatchMonitorResponse {
4374
4321
  | null;
4375
4322
  }
4376
4323
 
4377
- export const PatchMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4378
- () =>
4379
- Schema.Struct({
4380
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4381
- allowInsecure: Schema.optional(
4382
- Schema.Union([Schema.Boolean, Schema.Null]),
4383
- ),
4384
- consecutiveDown: Schema.optional(
4385
- Schema.Union([Schema.Number, Schema.Null]),
4386
- ),
4387
- consecutiveUp: Schema.optional(
4388
- Schema.Union([Schema.Number, Schema.Null]),
4389
- ),
4390
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4391
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4392
- expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4393
- expectedCodes: Schema.optional(
4394
- Schema.Union([Schema.String, Schema.Null]),
4395
- ),
4396
- followRedirects: Schema.optional(
4397
- Schema.Union([Schema.Boolean, Schema.Null]),
4398
- ),
4399
- header: Schema.optional(
4400
- Schema.Union([
4401
- Schema.Record(Schema.String, Schema.Unknown),
4402
- Schema.Null,
4403
- ]),
4404
- ),
4405
- interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4406
- method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4407
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4408
- path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4409
- port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4410
- probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4411
- retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4412
- timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4413
- type: Schema.optional(
4324
+ export const PatchMonitorResponse = /*@__PURE__*/ Schema.suspend(() =>
4325
+ Schema.Struct({
4326
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4327
+ allowInsecure: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
4328
+ consecutiveDown: Schema.optional(
4329
+ Schema.Union([Schema.Number, Schema.Null]),
4330
+ ),
4331
+ consecutiveUp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4332
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4333
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4334
+ expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4335
+ expectedCodes: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4336
+ followRedirects: Schema.optional(
4337
+ Schema.Union([Schema.Boolean, Schema.Null]),
4338
+ ),
4339
+ header: Schema.optional(
4340
+ Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
4341
+ ),
4342
+ interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4343
+ method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4344
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4345
+ path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4346
+ port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4347
+ probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4348
+ retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4349
+ timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4350
+ type: Schema.optional(
4351
+ Schema.Union([
4414
4352
  Schema.Union([
4415
- Schema.Union([
4416
- Schema.Literals([
4417
- "http",
4418
- "https",
4419
- "tcp",
4420
- "udp_icmp",
4421
- "icmp_ping",
4422
- "smtp",
4423
- ]),
4424
- Schema.String,
4353
+ Schema.Literals([
4354
+ "http",
4355
+ "https",
4356
+ "tcp",
4357
+ "udp_icmp",
4358
+ "icmp_ping",
4359
+ "smtp",
4425
4360
  ]),
4426
- Schema.Null,
4361
+ Schema.String,
4427
4362
  ]),
4428
- ),
4429
- })
4430
- .pipe(
4431
- Schema.encodeKeys({
4432
- id: "id",
4433
- allowInsecure: "allow_insecure",
4434
- consecutiveDown: "consecutive_down",
4435
- consecutiveUp: "consecutive_up",
4436
- createdOn: "created_on",
4437
- description: "description",
4438
- expectedBody: "expected_body",
4439
- expectedCodes: "expected_codes",
4440
- followRedirects: "follow_redirects",
4441
- header: "header",
4442
- interval: "interval",
4443
- method: "method",
4444
- modifiedOn: "modified_on",
4445
- path: "path",
4446
- port: "port",
4447
- probeZone: "probe_zone",
4448
- retries: "retries",
4449
- timeout: "timeout",
4450
- type: "type",
4451
- }),
4452
- )
4453
- .pipe(T.ResponsePath("result")),
4363
+ Schema.Null,
4364
+ ]),
4365
+ ),
4366
+ })
4367
+ .pipe(
4368
+ Schema.encodeKeys({
4369
+ id: "id",
4370
+ allowInsecure: "allow_insecure",
4371
+ consecutiveDown: "consecutive_down",
4372
+ consecutiveUp: "consecutive_up",
4373
+ createdOn: "created_on",
4374
+ description: "description",
4375
+ expectedBody: "expected_body",
4376
+ expectedCodes: "expected_codes",
4377
+ followRedirects: "follow_redirects",
4378
+ header: "header",
4379
+ interval: "interval",
4380
+ method: "method",
4381
+ modifiedOn: "modified_on",
4382
+ path: "path",
4383
+ port: "port",
4384
+ probeZone: "probe_zone",
4385
+ retries: "retries",
4386
+ timeout: "timeout",
4387
+ type: "type",
4388
+ }),
4389
+ )
4390
+ .pipe(T.ResponsePath("result")),
4454
4391
  ) as unknown as Schema.Codec<PatchMonitorResponse>;
4455
4392
 
4456
4393
  export type PatchMonitorError = DefaultErrors;
@@ -4460,7 +4397,7 @@ export const patchMonitor: API.OperationMethod<
4460
4397
  PatchMonitorResponse,
4461
4398
  PatchMonitorError,
4462
4399
  Credentials | HttpClient.HttpClient
4463
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4400
+ > = /*@__PURE__*/ API.make(() => ({
4464
4401
  input: PatchMonitorRequest,
4465
4402
  output: PatchMonitorResponse,
4466
4403
  errors: [],
@@ -4472,28 +4409,26 @@ export interface DeleteMonitorRequest {
4472
4409
  accountId: string;
4473
4410
  }
4474
4411
 
4475
- export const DeleteMonitorRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4476
- () =>
4477
- Schema.Struct({
4478
- monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
4479
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
4480
- }).pipe(
4481
- T.Http({
4482
- method: "DELETE",
4483
- path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
4484
- }),
4485
- ),
4412
+ export const DeleteMonitorRequest = /*@__PURE__*/ Schema.suspend(() =>
4413
+ Schema.Struct({
4414
+ monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
4415
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
4416
+ }).pipe(
4417
+ T.Http({
4418
+ method: "DELETE",
4419
+ path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
4420
+ }),
4421
+ ),
4486
4422
  ) as unknown as Schema.Codec<DeleteMonitorRequest>;
4487
4423
 
4488
4424
  export interface DeleteMonitorResponse {
4489
4425
  id?: string | null;
4490
4426
  }
4491
4427
 
4492
- export const DeleteMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4493
- () =>
4494
- Schema.Struct({
4495
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4496
- }).pipe(T.ResponsePath("result")),
4428
+ export const DeleteMonitorResponse = /*@__PURE__*/ Schema.suspend(() =>
4429
+ Schema.Struct({
4430
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4431
+ }).pipe(T.ResponsePath("result")),
4497
4432
  ) as unknown as Schema.Codec<DeleteMonitorResponse>;
4498
4433
 
4499
4434
  export type DeleteMonitorError =
@@ -4507,7 +4442,7 @@ export const deleteMonitor: API.OperationMethod<
4507
4442
  DeleteMonitorResponse,
4508
4443
  DeleteMonitorError,
4509
4444
  Credentials | HttpClient.HttpClient
4510
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4445
+ > = /*@__PURE__*/ API.make(() => ({
4511
4446
  input: DeleteMonitorRequest,
4512
4447
  output: DeleteMonitorResponse,
4513
4448
  errors: [MonitorNotFound, MonitorInUse, Forbidden],
@@ -4524,7 +4459,7 @@ export interface GetMonitorGroupRequest {
4524
4459
  }
4525
4460
 
4526
4461
  export const GetMonitorGroupRequest =
4527
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4462
+ /*@__PURE__*/ Schema.suspend(() =>
4528
4463
  Schema.Struct({
4529
4464
  monitorGroupId: Schema.String.pipe(T.HttpPath("monitorGroupId")),
4530
4465
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -4557,7 +4492,7 @@ export interface GetMonitorGroupResponse {
4557
4492
  }
4558
4493
 
4559
4494
  export const GetMonitorGroupResponse =
4560
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4495
+ /*@__PURE__*/ Schema.suspend(() =>
4561
4496
  Schema.Struct({
4562
4497
  id: Schema.String,
4563
4498
  description: Schema.String,
@@ -4587,7 +4522,7 @@ export const getMonitorGroup: API.OperationMethod<
4587
4522
  GetMonitorGroupResponse,
4588
4523
  GetMonitorGroupError,
4589
4524
  Credentials | HttpClient.HttpClient
4590
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4525
+ > = /*@__PURE__*/ API.make(() => ({
4591
4526
  input: GetMonitorGroupRequest,
4592
4527
  output: GetMonitorGroupResponse,
4593
4528
  errors: [MonitorGroupNotFound, Forbidden],
@@ -4599,7 +4534,7 @@ export interface ListMonitorGroupsRequest {
4599
4534
  }
4600
4535
 
4601
4536
  export const ListMonitorGroupsRequest =
4602
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4537
+ /*@__PURE__*/ Schema.suspend(() =>
4603
4538
  Schema.Struct({
4604
4539
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
4605
4540
  }).pipe(
@@ -4628,7 +4563,7 @@ export interface ListMonitorGroupsResponse {
4628
4563
  }
4629
4564
 
4630
4565
  export const ListMonitorGroupsResponse =
4631
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4566
+ /*@__PURE__*/ Schema.suspend(() =>
4632
4567
  Schema.Struct({
4633
4568
  result: Schema.Array(ListMonitorGroupsResponseResult),
4634
4569
  }),
@@ -4641,7 +4576,7 @@ export const listMonitorGroups: API.PaginatedOperationMethod<
4641
4576
  ListMonitorGroupsResponse,
4642
4577
  ListMonitorGroupsError,
4643
4578
  Credentials | HttpClient.HttpClient
4644
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
4579
+ > = /*@__PURE__*/ API.makePaginated(() => ({
4645
4580
  input: ListMonitorGroupsRequest,
4646
4581
  output: ListMonitorGroupsResponse,
4647
4582
  errors: [],
@@ -4666,7 +4601,7 @@ export interface CreateMonitorGroupRequest {
4666
4601
  }
4667
4602
 
4668
4603
  export const CreateMonitorGroupRequest =
4669
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4604
+ /*@__PURE__*/ Schema.suspend(() =>
4670
4605
  Schema.Struct({
4671
4606
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
4672
4607
  description: Schema.String,
@@ -4700,7 +4635,7 @@ export interface CreateMonitorGroupResponse {
4700
4635
  }
4701
4636
 
4702
4637
  export const CreateMonitorGroupResponse =
4703
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4638
+ /*@__PURE__*/ Schema.suspend(() =>
4704
4639
  Schema.Struct({
4705
4640
  id: Schema.String,
4706
4641
  description: Schema.String,
@@ -4730,7 +4665,7 @@ export const createMonitorGroup: API.OperationMethod<
4730
4665
  CreateMonitorGroupResponse,
4731
4666
  CreateMonitorGroupError,
4732
4667
  Credentials | HttpClient.HttpClient
4733
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4668
+ > = /*@__PURE__*/ API.make(() => ({
4734
4669
  input: CreateMonitorGroupRequest,
4735
4670
  output: CreateMonitorGroupResponse,
4736
4671
  errors: [MonitorGroupsNotEnabled, Forbidden],
@@ -4752,7 +4687,7 @@ export interface UpdateMonitorGroupRequest {
4752
4687
  }
4753
4688
 
4754
4689
  export const UpdateMonitorGroupRequest =
4755
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4690
+ /*@__PURE__*/ Schema.suspend(() =>
4756
4691
  Schema.Struct({
4757
4692
  monitorGroupId: Schema.String.pipe(T.HttpPath("monitorGroupId")),
4758
4693
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -4787,7 +4722,7 @@ export interface UpdateMonitorGroupResponse {
4787
4722
  }
4788
4723
 
4789
4724
  export const UpdateMonitorGroupResponse =
4790
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4725
+ /*@__PURE__*/ Schema.suspend(() =>
4791
4726
  Schema.Struct({
4792
4727
  id: Schema.String,
4793
4728
  description: Schema.String,
@@ -4818,7 +4753,7 @@ export const updateMonitorGroup: API.OperationMethod<
4818
4753
  UpdateMonitorGroupResponse,
4819
4754
  UpdateMonitorGroupError,
4820
4755
  Credentials | HttpClient.HttpClient
4821
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4756
+ > = /*@__PURE__*/ API.make(() => ({
4822
4757
  input: UpdateMonitorGroupRequest,
4823
4758
  output: UpdateMonitorGroupResponse,
4824
4759
  errors: [MonitorGroupNotFound, MonitorGroupsNotEnabled, Forbidden],
@@ -4840,7 +4775,7 @@ export interface PatchMonitorGroupRequest {
4840
4775
  }
4841
4776
 
4842
4777
  export const PatchMonitorGroupRequest =
4843
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4778
+ /*@__PURE__*/ Schema.suspend(() =>
4844
4779
  Schema.Struct({
4845
4780
  monitorGroupId: Schema.String.pipe(T.HttpPath("monitorGroupId")),
4846
4781
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -4875,7 +4810,7 @@ export interface PatchMonitorGroupResponse {
4875
4810
  }
4876
4811
 
4877
4812
  export const PatchMonitorGroupResponse =
4878
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4813
+ /*@__PURE__*/ Schema.suspend(() =>
4879
4814
  Schema.Struct({
4880
4815
  id: Schema.String,
4881
4816
  description: Schema.String,
@@ -4902,7 +4837,7 @@ export const patchMonitorGroup: API.OperationMethod<
4902
4837
  PatchMonitorGroupResponse,
4903
4838
  PatchMonitorGroupError,
4904
4839
  Credentials | HttpClient.HttpClient
4905
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4840
+ > = /*@__PURE__*/ API.make(() => ({
4906
4841
  input: PatchMonitorGroupRequest,
4907
4842
  output: PatchMonitorGroupResponse,
4908
4843
  errors: [],
@@ -4915,7 +4850,7 @@ export interface DeleteMonitorGroupRequest {
4915
4850
  }
4916
4851
 
4917
4852
  export const DeleteMonitorGroupRequest =
4918
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4853
+ /*@__PURE__*/ Schema.suspend(() =>
4919
4854
  Schema.Struct({
4920
4855
  monitorGroupId: Schema.String.pipe(T.HttpPath("monitorGroupId")),
4921
4856
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -4948,7 +4883,7 @@ export interface DeleteMonitorGroupResponse {
4948
4883
  }
4949
4884
 
4950
4885
  export const DeleteMonitorGroupResponse =
4951
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4886
+ /*@__PURE__*/ Schema.suspend(() =>
4952
4887
  Schema.Struct({
4953
4888
  id: Schema.String,
4954
4889
  description: Schema.String,
@@ -4979,7 +4914,7 @@ export const deleteMonitorGroup: API.OperationMethod<
4979
4914
  DeleteMonitorGroupResponse,
4980
4915
  DeleteMonitorGroupError,
4981
4916
  Credentials | HttpClient.HttpClient
4982
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4917
+ > = /*@__PURE__*/ API.make(() => ({
4983
4918
  input: DeleteMonitorGroupRequest,
4984
4919
  output: DeleteMonitorGroupResponse,
4985
4920
  errors: [MonitorGroupNotFound, MonitorGroupInUse, Forbidden],
@@ -4996,7 +4931,7 @@ export interface GetMonitorGroupReferenceRequest {
4996
4931
  }
4997
4932
 
4998
4933
  export const GetMonitorGroupReferenceRequest =
4999
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4934
+ /*@__PURE__*/ Schema.suspend(() =>
5000
4935
  Schema.Struct({
5001
4936
  monitorGroupId: Schema.String.pipe(T.HttpPath("monitorGroupId")),
5002
4937
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -5018,7 +4953,7 @@ export interface GetMonitorGroupReferenceResponse {
5018
4953
  }
5019
4954
 
5020
4955
  export const GetMonitorGroupReferenceResponse =
5021
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4956
+ /*@__PURE__*/ Schema.suspend(() =>
5022
4957
  Schema.Struct({
5023
4958
  result: Schema.Array(GetMonitorGroupReferenceResponseResult),
5024
4959
  }),
@@ -5031,7 +4966,7 @@ export const getMonitorGroupReference: API.PaginatedOperationMethod<
5031
4966
  GetMonitorGroupReferenceResponse,
5032
4967
  GetMonitorGroupReferenceError,
5033
4968
  Credentials | HttpClient.HttpClient
5034
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
4969
+ > = /*@__PURE__*/ API.makePaginated(() => ({
5035
4970
  input: GetMonitorGroupReferenceRequest,
5036
4971
  output: GetMonitorGroupReferenceResponse,
5037
4972
  errors: [],
@@ -5091,7 +5026,7 @@ export interface CreateMonitorPreviewRequest {
5091
5026
  }
5092
5027
 
5093
5028
  export const CreateMonitorPreviewRequest =
5094
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
5029
+ /*@__PURE__*/ Schema.suspend(() =>
5095
5030
  Schema.Struct({
5096
5031
  monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
5097
5032
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -5156,7 +5091,7 @@ export interface CreateMonitorPreviewResponse {
5156
5091
  }
5157
5092
 
5158
5093
  export const CreateMonitorPreviewResponse =
5159
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
5094
+ /*@__PURE__*/ Schema.suspend(() =>
5160
5095
  Schema.Struct({
5161
5096
  pools: Schema.optional(
5162
5097
  Schema.Union([
@@ -5177,7 +5112,7 @@ export const createMonitorPreview: API.OperationMethod<
5177
5112
  CreateMonitorPreviewResponse,
5178
5113
  CreateMonitorPreviewError,
5179
5114
  Credentials | HttpClient.HttpClient
5180
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
5115
+ > = /*@__PURE__*/ API.make(() => ({
5181
5116
  input: CreateMonitorPreviewRequest,
5182
5117
  output: CreateMonitorPreviewResponse,
5183
5118
  errors: [],
@@ -5194,7 +5129,7 @@ export interface GetMonitorReferenceRequest {
5194
5129
  }
5195
5130
 
5196
5131
  export const GetMonitorReferenceRequest =
5197
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
5132
+ /*@__PURE__*/ Schema.suspend(() =>
5198
5133
  Schema.Struct({
5199
5134
  monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
5200
5135
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -5216,7 +5151,7 @@ export interface GetMonitorReferenceResponse {
5216
5151
  }
5217
5152
 
5218
5153
  export const GetMonitorReferenceResponse =
5219
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
5154
+ /*@__PURE__*/ Schema.suspend(() =>
5220
5155
  Schema.Struct({
5221
5156
  result: Schema.Array(GetMonitorGroupReferenceResponseResult),
5222
5157
  }),
@@ -5229,7 +5164,7 @@ export const getMonitorReference: API.PaginatedOperationMethod<
5229
5164
  GetMonitorReferenceResponse,
5230
5165
  GetMonitorReferenceError,
5231
5166
  Credentials | HttpClient.HttpClient
5232
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
5167
+ > = /*@__PURE__*/ API.makePaginated(() => ({
5233
5168
  input: GetMonitorReferenceRequest,
5234
5169
  output: GetMonitorReferenceResponse,
5235
5170
  errors: [],
@@ -5249,7 +5184,7 @@ export interface GetPoolRequest {
5249
5184
  accountId: string;
5250
5185
  }
5251
5186
 
5252
- export const GetPoolRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
5187
+ export const GetPoolRequest = /*@__PURE__*/ Schema.suspend(() =>
5253
5188
  Schema.Struct({
5254
5189
  poolId: Schema.String.pipe(T.HttpPath("poolId")),
5255
5190
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -5345,7 +5280,7 @@ export interface GetPoolResponse {
5345
5280
  | null;
5346
5281
  }
5347
5282
 
5348
- export const GetPoolResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
5283
+ export const GetPoolResponse = /*@__PURE__*/ Schema.suspend(() =>
5349
5284
  Schema.Struct({
5350
5285
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5351
5286
  checkRegions: Schema.optional(
@@ -5433,7 +5368,7 @@ export const getPool: API.OperationMethod<
5433
5368
  GetPoolResponse,
5434
5369
  GetPoolError,
5435
5370
  Credentials | HttpClient.HttpClient
5436
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
5371
+ > = /*@__PURE__*/ API.make(() => ({
5437
5372
  input: GetPoolRequest,
5438
5373
  output: GetPoolResponse,
5439
5374
  errors: [PoolNotFound, Forbidden],
@@ -5446,7 +5381,7 @@ export interface ListPoolsRequest {
5446
5381
  monitor?: string;
5447
5382
  }
5448
5383
 
5449
- export const ListPoolsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
5384
+ export const ListPoolsRequest = /*@__PURE__*/ Schema.suspend(() =>
5450
5385
  Schema.Struct({
5451
5386
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
5452
5387
  monitor: Schema.optional(Schema.String).pipe(T.HttpQuery("monitor")),
@@ -5528,11 +5463,10 @@ export interface ListPoolsResponse {
5528
5463
  }[];
5529
5464
  }
5530
5465
 
5531
- export const ListPoolsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
5532
- () =>
5533
- Schema.Struct({
5534
- result: Schema.Array(ListPoolsResponseResult),
5535
- }),
5466
+ export const ListPoolsResponse = /*@__PURE__*/ Schema.suspend(() =>
5467
+ Schema.Struct({
5468
+ result: Schema.Array(ListPoolsResponseResult),
5469
+ }),
5536
5470
  ) as unknown as Schema.Codec<ListPoolsResponse>;
5537
5471
 
5538
5472
  export type ListPoolsError = DefaultErrors;
@@ -5542,7 +5476,7 @@ export const listPools: API.PaginatedOperationMethod<
5542
5476
  ListPoolsResponse,
5543
5477
  ListPoolsError,
5544
5478
  Credentials | HttpClient.HttpClient
5545
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
5479
+ > = /*@__PURE__*/ API.makePaginated(() => ({
5546
5480
  input: ListPoolsRequest,
5547
5481
  output: ListPoolsResponse,
5548
5482
  errors: [],
@@ -5607,48 +5541,47 @@ export interface CreatePoolRequest {
5607
5541
  } | null;
5608
5542
  }
5609
5543
 
5610
- export const CreatePoolRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
5611
- () =>
5612
- Schema.Struct({
5613
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
5614
- name: Schema.String,
5615
- origins: Schema.Array(OriginParam),
5616
- description: Schema.optional(Schema.String),
5617
- enabled: Schema.optional(Schema.Boolean),
5618
- latitude: Schema.optional(Schema.Number),
5619
- loadShedding: Schema.optional(Schema.Union([LoadShedding, Schema.Null])),
5620
- longitude: Schema.optional(Schema.Number),
5621
- minimumOrigins: Schema.optional(Schema.Number),
5622
- monitor: Schema.optional(Schema.String),
5623
- monitorGroup: Schema.optional(Schema.String),
5624
- notificationEmail: Schema.optional(Schema.String),
5625
- notificationFilter: Schema.optional(
5626
- Schema.Union([NotificationFilter, Schema.Null]),
5627
- ),
5628
- originSteering: Schema.optional(
5629
- Schema.Union([OriginSteering, Schema.Null]),
5630
- ),
5631
- }).pipe(
5632
- Schema.encodeKeys({
5633
- name: "name",
5634
- origins: "origins",
5635
- description: "description",
5636
- enabled: "enabled",
5637
- latitude: "latitude",
5638
- loadShedding: "load_shedding",
5639
- longitude: "longitude",
5640
- minimumOrigins: "minimum_origins",
5641
- monitor: "monitor",
5642
- monitorGroup: "monitor_group",
5643
- notificationEmail: "notification_email",
5644
- notificationFilter: "notification_filter",
5645
- originSteering: "origin_steering",
5646
- }),
5647
- T.Http({
5648
- method: "POST",
5649
- path: "/accounts/{account_id}/load_balancers/pools",
5650
- }),
5544
+ export const CreatePoolRequest = /*@__PURE__*/ Schema.suspend(() =>
5545
+ Schema.Struct({
5546
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
5547
+ name: Schema.String,
5548
+ origins: Schema.Array(OriginParam),
5549
+ description: Schema.optional(Schema.String),
5550
+ enabled: Schema.optional(Schema.Boolean),
5551
+ latitude: Schema.optional(Schema.Number),
5552
+ loadShedding: Schema.optional(Schema.Union([LoadShedding, Schema.Null])),
5553
+ longitude: Schema.optional(Schema.Number),
5554
+ minimumOrigins: Schema.optional(Schema.Number),
5555
+ monitor: Schema.optional(Schema.String),
5556
+ monitorGroup: Schema.optional(Schema.String),
5557
+ notificationEmail: Schema.optional(Schema.String),
5558
+ notificationFilter: Schema.optional(
5559
+ Schema.Union([NotificationFilter, Schema.Null]),
5560
+ ),
5561
+ originSteering: Schema.optional(
5562
+ Schema.Union([OriginSteering, Schema.Null]),
5651
5563
  ),
5564
+ }).pipe(
5565
+ Schema.encodeKeys({
5566
+ name: "name",
5567
+ origins: "origins",
5568
+ description: "description",
5569
+ enabled: "enabled",
5570
+ latitude: "latitude",
5571
+ loadShedding: "load_shedding",
5572
+ longitude: "longitude",
5573
+ minimumOrigins: "minimum_origins",
5574
+ monitor: "monitor",
5575
+ monitorGroup: "monitor_group",
5576
+ notificationEmail: "notification_email",
5577
+ notificationFilter: "notification_filter",
5578
+ originSteering: "origin_steering",
5579
+ }),
5580
+ T.Http({
5581
+ method: "POST",
5582
+ path: "/accounts/{account_id}/load_balancers/pools",
5583
+ }),
5584
+ ),
5652
5585
  ) as unknown as Schema.Codec<CreatePoolRequest>;
5653
5586
 
5654
5587
  export interface CreatePoolResponse {
@@ -5730,95 +5663,90 @@ export interface CreatePoolResponse {
5730
5663
  name?: string | null;
5731
5664
  port?: number | null;
5732
5665
  virtualNetworkId?: string | null;
5733
- weight?: number | null;
5734
- }[]
5735
- | null;
5736
- }
5737
-
5738
- export const CreatePoolResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
5739
- () =>
5740
- Schema.Struct({
5741
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5742
- checkRegions: Schema.optional(
5743
- Schema.Union([
5744
- Schema.Array(
5745
- Schema.Union([
5746
- Schema.Literals([
5747
- "WNAM",
5748
- "ENAM",
5749
- "WEU",
5750
- "EEU",
5751
- "NSAM",
5752
- "SSAM",
5753
- "OC",
5754
- "ME",
5755
- "NAF",
5756
- "SAF",
5757
- "SAS",
5758
- "SEAS",
5759
- "NEAS",
5760
- "ALL_REGIONS",
5761
- ]),
5762
- Schema.String,
5763
- ]),
5764
- ),
5765
- Schema.Null,
5766
- ]),
5767
- ),
5768
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5769
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5770
- disabledAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5771
- enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
5772
- latitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
5773
- loadShedding: Schema.optional(Schema.Union([LoadShedding, Schema.Null])),
5774
- longitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
5775
- minimumOrigins: Schema.optional(
5776
- Schema.Union([Schema.Number, Schema.Null]),
5777
- ),
5778
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5779
- monitor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5780
- monitorGroup: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5781
- name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5782
- networks: Schema.optional(
5783
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
5784
- ),
5785
- notificationEmail: Schema.optional(
5786
- Schema.Union([Schema.String, Schema.Null]),
5787
- ),
5788
- notificationFilter: Schema.optional(
5789
- Schema.Union([NotificationFilter, Schema.Null]),
5790
- ),
5791
- originSteering: Schema.optional(
5792
- Schema.Union([OriginSteering, Schema.Null]),
5793
- ),
5794
- origins: Schema.optional(
5795
- Schema.Union([Schema.Array(Origin), Schema.Null]),
5796
- ),
5797
- })
5798
- .pipe(
5799
- Schema.encodeKeys({
5800
- id: "id",
5801
- checkRegions: "check_regions",
5802
- createdOn: "created_on",
5803
- description: "description",
5804
- disabledAt: "disabled_at",
5805
- enabled: "enabled",
5806
- latitude: "latitude",
5807
- loadShedding: "load_shedding",
5808
- longitude: "longitude",
5809
- minimumOrigins: "minimum_origins",
5810
- modifiedOn: "modified_on",
5811
- monitor: "monitor",
5812
- monitorGroup: "monitor_group",
5813
- name: "name",
5814
- networks: "networks",
5815
- notificationEmail: "notification_email",
5816
- notificationFilter: "notification_filter",
5817
- originSteering: "origin_steering",
5818
- origins: "origins",
5819
- }),
5820
- )
5821
- .pipe(T.ResponsePath("result")),
5666
+ weight?: number | null;
5667
+ }[]
5668
+ | null;
5669
+ }
5670
+
5671
+ export const CreatePoolResponse = /*@__PURE__*/ Schema.suspend(() =>
5672
+ Schema.Struct({
5673
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5674
+ checkRegions: Schema.optional(
5675
+ Schema.Union([
5676
+ Schema.Array(
5677
+ Schema.Union([
5678
+ Schema.Literals([
5679
+ "WNAM",
5680
+ "ENAM",
5681
+ "WEU",
5682
+ "EEU",
5683
+ "NSAM",
5684
+ "SSAM",
5685
+ "OC",
5686
+ "ME",
5687
+ "NAF",
5688
+ "SAF",
5689
+ "SAS",
5690
+ "SEAS",
5691
+ "NEAS",
5692
+ "ALL_REGIONS",
5693
+ ]),
5694
+ Schema.String,
5695
+ ]),
5696
+ ),
5697
+ Schema.Null,
5698
+ ]),
5699
+ ),
5700
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5701
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5702
+ disabledAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5703
+ enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
5704
+ latitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
5705
+ loadShedding: Schema.optional(Schema.Union([LoadShedding, Schema.Null])),
5706
+ longitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
5707
+ minimumOrigins: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
5708
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5709
+ monitor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5710
+ monitorGroup: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5711
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5712
+ networks: Schema.optional(
5713
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
5714
+ ),
5715
+ notificationEmail: Schema.optional(
5716
+ Schema.Union([Schema.String, Schema.Null]),
5717
+ ),
5718
+ notificationFilter: Schema.optional(
5719
+ Schema.Union([NotificationFilter, Schema.Null]),
5720
+ ),
5721
+ originSteering: Schema.optional(
5722
+ Schema.Union([OriginSteering, Schema.Null]),
5723
+ ),
5724
+ origins: Schema.optional(Schema.Union([Schema.Array(Origin), Schema.Null])),
5725
+ })
5726
+ .pipe(
5727
+ Schema.encodeKeys({
5728
+ id: "id",
5729
+ checkRegions: "check_regions",
5730
+ createdOn: "created_on",
5731
+ description: "description",
5732
+ disabledAt: "disabled_at",
5733
+ enabled: "enabled",
5734
+ latitude: "latitude",
5735
+ loadShedding: "load_shedding",
5736
+ longitude: "longitude",
5737
+ minimumOrigins: "minimum_origins",
5738
+ modifiedOn: "modified_on",
5739
+ monitor: "monitor",
5740
+ monitorGroup: "monitor_group",
5741
+ name: "name",
5742
+ networks: "networks",
5743
+ notificationEmail: "notification_email",
5744
+ notificationFilter: "notification_filter",
5745
+ originSteering: "origin_steering",
5746
+ origins: "origins",
5747
+ }),
5748
+ )
5749
+ .pipe(T.ResponsePath("result")),
5822
5750
  ) as unknown as Schema.Codec<CreatePoolResponse>;
5823
5751
 
5824
5752
  export type CreatePoolError = DefaultErrors | PoolAccessFailed | Forbidden;
@@ -5828,7 +5756,7 @@ export const createPool: API.OperationMethod<
5828
5756
  CreatePoolResponse,
5829
5757
  CreatePoolError,
5830
5758
  Credentials | HttpClient.HttpClient
5831
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
5759
+ > = /*@__PURE__*/ API.make(() => ({
5832
5760
  input: CreatePoolRequest,
5833
5761
  output: CreatePoolResponse,
5834
5762
  errors: [PoolAccessFailed, Forbidden],
@@ -5910,76 +5838,75 @@ export interface UpdatePoolRequest {
5910
5838
  } | null;
5911
5839
  }
5912
5840
 
5913
- export const UpdatePoolRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
5914
- () =>
5915
- Schema.Struct({
5916
- poolId: Schema.String.pipe(T.HttpPath("poolId")),
5917
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
5918
- name: Schema.String,
5919
- origins: Schema.Array(OriginParam),
5920
- checkRegions: Schema.optional(
5921
- Schema.Union([
5922
- Schema.Array(
5923
- Schema.Union([
5924
- Schema.Literals([
5925
- "WNAM",
5926
- "ENAM",
5927
- "WEU",
5928
- "EEU",
5929
- "NSAM",
5930
- "SSAM",
5931
- "OC",
5932
- "ME",
5933
- "NAF",
5934
- "SAF",
5935
- "SAS",
5936
- "SEAS",
5937
- "NEAS",
5938
- "ALL_REGIONS",
5939
- ]),
5940
- Schema.String,
5841
+ export const UpdatePoolRequest = /*@__PURE__*/ Schema.suspend(() =>
5842
+ Schema.Struct({
5843
+ poolId: Schema.String.pipe(T.HttpPath("poolId")),
5844
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
5845
+ name: Schema.String,
5846
+ origins: Schema.Array(OriginParam),
5847
+ checkRegions: Schema.optional(
5848
+ Schema.Union([
5849
+ Schema.Array(
5850
+ Schema.Union([
5851
+ Schema.Literals([
5852
+ "WNAM",
5853
+ "ENAM",
5854
+ "WEU",
5855
+ "EEU",
5856
+ "NSAM",
5857
+ "SSAM",
5858
+ "OC",
5859
+ "ME",
5860
+ "NAF",
5861
+ "SAF",
5862
+ "SAS",
5863
+ "SEAS",
5864
+ "NEAS",
5865
+ "ALL_REGIONS",
5941
5866
  ]),
5942
- ),
5943
- Schema.Null,
5944
- ]),
5945
- ),
5946
- description: Schema.optional(Schema.String),
5947
- enabled: Schema.optional(Schema.Boolean),
5948
- latitude: Schema.optional(Schema.Number),
5949
- loadShedding: Schema.optional(Schema.Union([LoadShedding, Schema.Null])),
5950
- longitude: Schema.optional(Schema.Number),
5951
- minimumOrigins: Schema.optional(Schema.Number),
5952
- monitor: Schema.optional(Schema.String),
5953
- monitorGroup: Schema.optional(Schema.String),
5954
- notificationEmail: Schema.optional(Schema.String),
5955
- notificationFilter: Schema.optional(
5956
- Schema.Union([NotificationFilter, Schema.Null]),
5957
- ),
5958
- originSteering: Schema.optional(
5959
- Schema.Union([OriginSteering, Schema.Null]),
5960
- ),
5961
- }).pipe(
5962
- Schema.encodeKeys({
5963
- name: "name",
5964
- origins: "origins",
5965
- checkRegions: "check_regions",
5966
- description: "description",
5967
- enabled: "enabled",
5968
- latitude: "latitude",
5969
- loadShedding: "load_shedding",
5970
- longitude: "longitude",
5971
- minimumOrigins: "minimum_origins",
5972
- monitor: "monitor",
5973
- monitorGroup: "monitor_group",
5974
- notificationEmail: "notification_email",
5975
- notificationFilter: "notification_filter",
5976
- originSteering: "origin_steering",
5977
- }),
5978
- T.Http({
5979
- method: "PUT",
5980
- path: "/accounts/{account_id}/load_balancers/pools/{poolId}",
5981
- }),
5867
+ Schema.String,
5868
+ ]),
5869
+ ),
5870
+ Schema.Null,
5871
+ ]),
5872
+ ),
5873
+ description: Schema.optional(Schema.String),
5874
+ enabled: Schema.optional(Schema.Boolean),
5875
+ latitude: Schema.optional(Schema.Number),
5876
+ loadShedding: Schema.optional(Schema.Union([LoadShedding, Schema.Null])),
5877
+ longitude: Schema.optional(Schema.Number),
5878
+ minimumOrigins: Schema.optional(Schema.Number),
5879
+ monitor: Schema.optional(Schema.String),
5880
+ monitorGroup: Schema.optional(Schema.String),
5881
+ notificationEmail: Schema.optional(Schema.String),
5882
+ notificationFilter: Schema.optional(
5883
+ Schema.Union([NotificationFilter, Schema.Null]),
5884
+ ),
5885
+ originSteering: Schema.optional(
5886
+ Schema.Union([OriginSteering, Schema.Null]),
5982
5887
  ),
5888
+ }).pipe(
5889
+ Schema.encodeKeys({
5890
+ name: "name",
5891
+ origins: "origins",
5892
+ checkRegions: "check_regions",
5893
+ description: "description",
5894
+ enabled: "enabled",
5895
+ latitude: "latitude",
5896
+ loadShedding: "load_shedding",
5897
+ longitude: "longitude",
5898
+ minimumOrigins: "minimum_origins",
5899
+ monitor: "monitor",
5900
+ monitorGroup: "monitor_group",
5901
+ notificationEmail: "notification_email",
5902
+ notificationFilter: "notification_filter",
5903
+ originSteering: "origin_steering",
5904
+ }),
5905
+ T.Http({
5906
+ method: "PUT",
5907
+ path: "/accounts/{account_id}/load_balancers/pools/{poolId}",
5908
+ }),
5909
+ ),
5983
5910
  ) as unknown as Schema.Codec<UpdatePoolRequest>;
5984
5911
 
5985
5912
  export interface UpdatePoolResponse {
@@ -6066,90 +5993,85 @@ export interface UpdatePoolResponse {
6066
5993
  | null;
6067
5994
  }
6068
5995
 
6069
- export const UpdatePoolResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
6070
- () =>
6071
- Schema.Struct({
6072
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6073
- checkRegions: Schema.optional(
6074
- Schema.Union([
6075
- Schema.Array(
6076
- Schema.Union([
6077
- Schema.Literals([
6078
- "WNAM",
6079
- "ENAM",
6080
- "WEU",
6081
- "EEU",
6082
- "NSAM",
6083
- "SSAM",
6084
- "OC",
6085
- "ME",
6086
- "NAF",
6087
- "SAF",
6088
- "SAS",
6089
- "SEAS",
6090
- "NEAS",
6091
- "ALL_REGIONS",
6092
- ]),
6093
- Schema.String,
5996
+ export const UpdatePoolResponse = /*@__PURE__*/ Schema.suspend(() =>
5997
+ Schema.Struct({
5998
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5999
+ checkRegions: Schema.optional(
6000
+ Schema.Union([
6001
+ Schema.Array(
6002
+ Schema.Union([
6003
+ Schema.Literals([
6004
+ "WNAM",
6005
+ "ENAM",
6006
+ "WEU",
6007
+ "EEU",
6008
+ "NSAM",
6009
+ "SSAM",
6010
+ "OC",
6011
+ "ME",
6012
+ "NAF",
6013
+ "SAF",
6014
+ "SAS",
6015
+ "SEAS",
6016
+ "NEAS",
6017
+ "ALL_REGIONS",
6094
6018
  ]),
6095
- ),
6096
- Schema.Null,
6097
- ]),
6098
- ),
6099
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6100
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6101
- disabledAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6102
- enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
6103
- latitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
6104
- loadShedding: Schema.optional(Schema.Union([LoadShedding, Schema.Null])),
6105
- longitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
6106
- minimumOrigins: Schema.optional(
6107
- Schema.Union([Schema.Number, Schema.Null]),
6108
- ),
6109
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6110
- monitor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6111
- monitorGroup: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6112
- name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6113
- networks: Schema.optional(
6114
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
6115
- ),
6116
- notificationEmail: Schema.optional(
6117
- Schema.Union([Schema.String, Schema.Null]),
6118
- ),
6119
- notificationFilter: Schema.optional(
6120
- Schema.Union([NotificationFilter, Schema.Null]),
6121
- ),
6122
- originSteering: Schema.optional(
6123
- Schema.Union([OriginSteering, Schema.Null]),
6124
- ),
6125
- origins: Schema.optional(
6126
- Schema.Union([Schema.Array(Origin), Schema.Null]),
6127
- ),
6128
- })
6129
- .pipe(
6130
- Schema.encodeKeys({
6131
- id: "id",
6132
- checkRegions: "check_regions",
6133
- createdOn: "created_on",
6134
- description: "description",
6135
- disabledAt: "disabled_at",
6136
- enabled: "enabled",
6137
- latitude: "latitude",
6138
- loadShedding: "load_shedding",
6139
- longitude: "longitude",
6140
- minimumOrigins: "minimum_origins",
6141
- modifiedOn: "modified_on",
6142
- monitor: "monitor",
6143
- monitorGroup: "monitor_group",
6144
- name: "name",
6145
- networks: "networks",
6146
- notificationEmail: "notification_email",
6147
- notificationFilter: "notification_filter",
6148
- originSteering: "origin_steering",
6149
- origins: "origins",
6150
- }),
6151
- )
6152
- .pipe(T.ResponsePath("result")),
6019
+ Schema.String,
6020
+ ]),
6021
+ ),
6022
+ Schema.Null,
6023
+ ]),
6024
+ ),
6025
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6026
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6027
+ disabledAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6028
+ enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
6029
+ latitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
6030
+ loadShedding: Schema.optional(Schema.Union([LoadShedding, Schema.Null])),
6031
+ longitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
6032
+ minimumOrigins: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
6033
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6034
+ monitor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6035
+ monitorGroup: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6036
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6037
+ networks: Schema.optional(
6038
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
6039
+ ),
6040
+ notificationEmail: Schema.optional(
6041
+ Schema.Union([Schema.String, Schema.Null]),
6042
+ ),
6043
+ notificationFilter: Schema.optional(
6044
+ Schema.Union([NotificationFilter, Schema.Null]),
6045
+ ),
6046
+ originSteering: Schema.optional(
6047
+ Schema.Union([OriginSteering, Schema.Null]),
6048
+ ),
6049
+ origins: Schema.optional(Schema.Union([Schema.Array(Origin), Schema.Null])),
6050
+ })
6051
+ .pipe(
6052
+ Schema.encodeKeys({
6053
+ id: "id",
6054
+ checkRegions: "check_regions",
6055
+ createdOn: "created_on",
6056
+ description: "description",
6057
+ disabledAt: "disabled_at",
6058
+ enabled: "enabled",
6059
+ latitude: "latitude",
6060
+ loadShedding: "load_shedding",
6061
+ longitude: "longitude",
6062
+ minimumOrigins: "minimum_origins",
6063
+ modifiedOn: "modified_on",
6064
+ monitor: "monitor",
6065
+ monitorGroup: "monitor_group",
6066
+ name: "name",
6067
+ networks: "networks",
6068
+ notificationEmail: "notification_email",
6069
+ notificationFilter: "notification_filter",
6070
+ originSteering: "origin_steering",
6071
+ origins: "origins",
6072
+ }),
6073
+ )
6074
+ .pipe(T.ResponsePath("result")),
6153
6075
  ) as unknown as Schema.Codec<UpdatePoolResponse>;
6154
6076
 
6155
6077
  export type UpdatePoolError =
@@ -6163,7 +6085,7 @@ export const updatePool: API.OperationMethod<
6163
6085
  UpdatePoolResponse,
6164
6086
  UpdatePoolError,
6165
6087
  Credentials | HttpClient.HttpClient
6166
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
6088
+ > = /*@__PURE__*/ API.make(() => ({
6167
6089
  input: UpdatePoolRequest,
6168
6090
  output: UpdatePoolResponse,
6169
6091
  errors: [PoolNotFound, PoolAccessFailed, Forbidden],
@@ -6245,7 +6167,7 @@ export interface PatchPoolRequest {
6245
6167
  }[];
6246
6168
  }
6247
6169
 
6248
- export const PatchPoolRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
6170
+ export const PatchPoolRequest = /*@__PURE__*/ Schema.suspend(() =>
6249
6171
  Schema.Struct({
6250
6172
  poolId: Schema.String.pipe(T.HttpPath("poolId")),
6251
6173
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -6400,90 +6322,85 @@ export interface PatchPoolResponse {
6400
6322
  | null;
6401
6323
  }
6402
6324
 
6403
- export const PatchPoolResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
6404
- () =>
6405
- Schema.Struct({
6406
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6407
- checkRegions: Schema.optional(
6408
- Schema.Union([
6409
- Schema.Array(
6410
- Schema.Union([
6411
- Schema.Literals([
6412
- "WNAM",
6413
- "ENAM",
6414
- "WEU",
6415
- "EEU",
6416
- "NSAM",
6417
- "SSAM",
6418
- "OC",
6419
- "ME",
6420
- "NAF",
6421
- "SAF",
6422
- "SAS",
6423
- "SEAS",
6424
- "NEAS",
6425
- "ALL_REGIONS",
6426
- ]),
6427
- Schema.String,
6325
+ export const PatchPoolResponse = /*@__PURE__*/ Schema.suspend(() =>
6326
+ Schema.Struct({
6327
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6328
+ checkRegions: Schema.optional(
6329
+ Schema.Union([
6330
+ Schema.Array(
6331
+ Schema.Union([
6332
+ Schema.Literals([
6333
+ "WNAM",
6334
+ "ENAM",
6335
+ "WEU",
6336
+ "EEU",
6337
+ "NSAM",
6338
+ "SSAM",
6339
+ "OC",
6340
+ "ME",
6341
+ "NAF",
6342
+ "SAF",
6343
+ "SAS",
6344
+ "SEAS",
6345
+ "NEAS",
6346
+ "ALL_REGIONS",
6428
6347
  ]),
6429
- ),
6430
- Schema.Null,
6431
- ]),
6432
- ),
6433
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6434
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6435
- disabledAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6436
- enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
6437
- latitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
6438
- loadShedding: Schema.optional(Schema.Union([LoadShedding, Schema.Null])),
6439
- longitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
6440
- minimumOrigins: Schema.optional(
6441
- Schema.Union([Schema.Number, Schema.Null]),
6442
- ),
6443
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6444
- monitor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6445
- monitorGroup: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6446
- name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6447
- networks: Schema.optional(
6448
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
6449
- ),
6450
- notificationEmail: Schema.optional(
6451
- Schema.Union([Schema.String, Schema.Null]),
6452
- ),
6453
- notificationFilter: Schema.optional(
6454
- Schema.Union([NotificationFilter, Schema.Null]),
6455
- ),
6456
- originSteering: Schema.optional(
6457
- Schema.Union([OriginSteering, Schema.Null]),
6458
- ),
6459
- origins: Schema.optional(
6460
- Schema.Union([Schema.Array(Origin), Schema.Null]),
6461
- ),
6462
- })
6463
- .pipe(
6464
- Schema.encodeKeys({
6465
- id: "id",
6466
- checkRegions: "check_regions",
6467
- createdOn: "created_on",
6468
- description: "description",
6469
- disabledAt: "disabled_at",
6470
- enabled: "enabled",
6471
- latitude: "latitude",
6472
- loadShedding: "load_shedding",
6473
- longitude: "longitude",
6474
- minimumOrigins: "minimum_origins",
6475
- modifiedOn: "modified_on",
6476
- monitor: "monitor",
6477
- monitorGroup: "monitor_group",
6478
- name: "name",
6479
- networks: "networks",
6480
- notificationEmail: "notification_email",
6481
- notificationFilter: "notification_filter",
6482
- originSteering: "origin_steering",
6483
- origins: "origins",
6484
- }),
6485
- )
6486
- .pipe(T.ResponsePath("result")),
6348
+ Schema.String,
6349
+ ]),
6350
+ ),
6351
+ Schema.Null,
6352
+ ]),
6353
+ ),
6354
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6355
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6356
+ disabledAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6357
+ enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
6358
+ latitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
6359
+ loadShedding: Schema.optional(Schema.Union([LoadShedding, Schema.Null])),
6360
+ longitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
6361
+ minimumOrigins: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
6362
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6363
+ monitor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6364
+ monitorGroup: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6365
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6366
+ networks: Schema.optional(
6367
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
6368
+ ),
6369
+ notificationEmail: Schema.optional(
6370
+ Schema.Union([Schema.String, Schema.Null]),
6371
+ ),
6372
+ notificationFilter: Schema.optional(
6373
+ Schema.Union([NotificationFilter, Schema.Null]),
6374
+ ),
6375
+ originSteering: Schema.optional(
6376
+ Schema.Union([OriginSteering, Schema.Null]),
6377
+ ),
6378
+ origins: Schema.optional(Schema.Union([Schema.Array(Origin), Schema.Null])),
6379
+ })
6380
+ .pipe(
6381
+ Schema.encodeKeys({
6382
+ id: "id",
6383
+ checkRegions: "check_regions",
6384
+ createdOn: "created_on",
6385
+ description: "description",
6386
+ disabledAt: "disabled_at",
6387
+ enabled: "enabled",
6388
+ latitude: "latitude",
6389
+ loadShedding: "load_shedding",
6390
+ longitude: "longitude",
6391
+ minimumOrigins: "minimum_origins",
6392
+ modifiedOn: "modified_on",
6393
+ monitor: "monitor",
6394
+ monitorGroup: "monitor_group",
6395
+ name: "name",
6396
+ networks: "networks",
6397
+ notificationEmail: "notification_email",
6398
+ notificationFilter: "notification_filter",
6399
+ originSteering: "origin_steering",
6400
+ origins: "origins",
6401
+ }),
6402
+ )
6403
+ .pipe(T.ResponsePath("result")),
6487
6404
  ) as unknown as Schema.Codec<PatchPoolResponse>;
6488
6405
 
6489
6406
  export type PatchPoolError = DefaultErrors;
@@ -6493,7 +6410,7 @@ export const patchPool: API.OperationMethod<
6493
6410
  PatchPoolResponse,
6494
6411
  PatchPoolError,
6495
6412
  Credentials | HttpClient.HttpClient
6496
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
6413
+ > = /*@__PURE__*/ API.make(() => ({
6497
6414
  input: PatchPoolRequest,
6498
6415
  output: PatchPoolResponse,
6499
6416
  errors: [],
@@ -6505,28 +6422,26 @@ export interface DeletePoolRequest {
6505
6422
  accountId: string;
6506
6423
  }
6507
6424
 
6508
- export const DeletePoolRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
6509
- () =>
6510
- Schema.Struct({
6511
- poolId: Schema.String.pipe(T.HttpPath("poolId")),
6512
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
6513
- }).pipe(
6514
- T.Http({
6515
- method: "DELETE",
6516
- path: "/accounts/{account_id}/load_balancers/pools/{poolId}",
6517
- }),
6518
- ),
6425
+ export const DeletePoolRequest = /*@__PURE__*/ Schema.suspend(() =>
6426
+ Schema.Struct({
6427
+ poolId: Schema.String.pipe(T.HttpPath("poolId")),
6428
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
6429
+ }).pipe(
6430
+ T.Http({
6431
+ method: "DELETE",
6432
+ path: "/accounts/{account_id}/load_balancers/pools/{poolId}",
6433
+ }),
6434
+ ),
6519
6435
  ) as unknown as Schema.Codec<DeletePoolRequest>;
6520
6436
 
6521
6437
  export interface DeletePoolResponse {
6522
6438
  id?: string | null;
6523
6439
  }
6524
6440
 
6525
- export const DeletePoolResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
6526
- () =>
6527
- Schema.Struct({
6528
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6529
- }).pipe(T.ResponsePath("result")),
6441
+ export const DeletePoolResponse = /*@__PURE__*/ Schema.suspend(() =>
6442
+ Schema.Struct({
6443
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6444
+ }).pipe(T.ResponsePath("result")),
6530
6445
  ) as unknown as Schema.Codec<DeletePoolResponse>;
6531
6446
 
6532
6447
  export type DeletePoolError =
@@ -6540,7 +6455,7 @@ export const deletePool: API.OperationMethod<
6540
6455
  DeletePoolResponse,
6541
6456
  DeletePoolError,
6542
6457
  Credentials | HttpClient.HttpClient
6543
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
6458
+ > = /*@__PURE__*/ API.make(() => ({
6544
6459
  input: DeletePoolRequest,
6545
6460
  output: DeletePoolResponse,
6546
6461
  errors: [PoolNotFound, PoolInUse, Forbidden],
@@ -6553,18 +6468,17 @@ export interface BulkPatchPoolsRequest {
6553
6468
  notificationEmail?: "";
6554
6469
  }
6555
6470
 
6556
- export const BulkPatchPoolsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
6557
- () =>
6558
- Schema.Struct({
6559
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
6560
- notificationEmail: Schema.optional(Schema.Literal("")),
6561
- }).pipe(
6562
- Schema.encodeKeys({ notificationEmail: "notification_email" }),
6563
- T.Http({
6564
- method: "PATCH",
6565
- path: "/accounts/{account_id}/load_balancers/pools",
6566
- }),
6567
- ),
6471
+ export const BulkPatchPoolsRequest = /*@__PURE__*/ Schema.suspend(() =>
6472
+ Schema.Struct({
6473
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
6474
+ notificationEmail: Schema.optional(Schema.Literal("")),
6475
+ }).pipe(
6476
+ Schema.encodeKeys({ notificationEmail: "notification_email" }),
6477
+ T.Http({
6478
+ method: "PATCH",
6479
+ path: "/accounts/{account_id}/load_balancers/pools",
6480
+ }),
6481
+ ),
6568
6482
  ) as unknown as Schema.Codec<BulkPatchPoolsRequest>;
6569
6483
 
6570
6484
  export interface BulkPatchPoolsResponse {
@@ -6638,7 +6552,7 @@ export interface BulkPatchPoolsResponse {
6638
6552
  }
6639
6553
 
6640
6554
  export const BulkPatchPoolsResponse =
6641
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
6555
+ /*@__PURE__*/ Schema.suspend(() =>
6642
6556
  Schema.Struct({
6643
6557
  result: Schema.Array(ListPoolsResponseResult),
6644
6558
  }),
@@ -6651,7 +6565,7 @@ export const bulkPatchPools: API.PaginatedOperationMethod<
6651
6565
  BulkPatchPoolsResponse,
6652
6566
  BulkPatchPoolsError,
6653
6567
  Credentials | HttpClient.HttpClient
6654
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
6568
+ > = /*@__PURE__*/ API.makePaginated(() => ({
6655
6569
  input: BulkPatchPoolsRequest,
6656
6570
  output: BulkPatchPoolsResponse,
6657
6571
  errors: [],
@@ -6671,17 +6585,16 @@ export interface GetPoolHealthRequest {
6671
6585
  accountId: string;
6672
6586
  }
6673
6587
 
6674
- export const GetPoolHealthRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
6675
- () =>
6676
- Schema.Struct({
6677
- poolId: Schema.String.pipe(T.HttpPath("poolId")),
6678
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
6679
- }).pipe(
6680
- T.Http({
6681
- method: "GET",
6682
- path: "/accounts/{account_id}/load_balancers/pools/{poolId}/health",
6683
- }),
6684
- ),
6588
+ export const GetPoolHealthRequest = /*@__PURE__*/ Schema.suspend(() =>
6589
+ Schema.Struct({
6590
+ poolId: Schema.String.pipe(T.HttpPath("poolId")),
6591
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
6592
+ }).pipe(
6593
+ T.Http({
6594
+ method: "GET",
6595
+ path: "/accounts/{account_id}/load_balancers/pools/{poolId}/health",
6596
+ }),
6597
+ ),
6685
6598
  ) as unknown as Schema.Codec<GetPoolHealthRequest>;
6686
6599
 
6687
6600
  export interface GetPoolHealthResponse {
@@ -6703,14 +6616,13 @@ export interface GetPoolHealthResponse {
6703
6616
  } | null;
6704
6617
  }
6705
6618
 
6706
- export const GetPoolHealthResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
6707
- () =>
6708
- Schema.Struct({
6709
- poolId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6710
- popHealth: Schema.optional(Schema.Union([Pophealth, Schema.Null])),
6711
- })
6712
- .pipe(Schema.encodeKeys({ poolId: "pool_id", popHealth: "pop_health" }))
6713
- .pipe(T.ResponsePath("result")),
6619
+ export const GetPoolHealthResponse = /*@__PURE__*/ Schema.suspend(() =>
6620
+ Schema.Struct({
6621
+ poolId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6622
+ popHealth: Schema.optional(Schema.Union([Pophealth, Schema.Null])),
6623
+ })
6624
+ .pipe(Schema.encodeKeys({ poolId: "pool_id", popHealth: "pop_health" }))
6625
+ .pipe(T.ResponsePath("result")),
6714
6626
  ) as unknown as Schema.Codec<GetPoolHealthResponse>;
6715
6627
 
6716
6628
  export type GetPoolHealthError = DefaultErrors;
@@ -6720,7 +6632,7 @@ export const getPoolHealth: API.OperationMethod<
6720
6632
  GetPoolHealthResponse,
6721
6633
  GetPoolHealthError,
6722
6634
  Credentials | HttpClient.HttpClient
6723
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
6635
+ > = /*@__PURE__*/ API.make(() => ({
6724
6636
  input: GetPoolHealthRequest,
6725
6637
  output: GetPoolHealthResponse,
6726
6638
  errors: [],
@@ -6772,7 +6684,7 @@ export interface CreatePoolHealthRequest {
6772
6684
  }
6773
6685
 
6774
6686
  export const CreatePoolHealthRequest =
6775
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
6687
+ /*@__PURE__*/ Schema.suspend(() =>
6776
6688
  Schema.Struct({
6777
6689
  poolId: Schema.String.pipe(T.HttpPath("poolId")),
6778
6690
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -6837,7 +6749,7 @@ export interface CreatePoolHealthResponse {
6837
6749
  }
6838
6750
 
6839
6751
  export const CreatePoolHealthResponse =
6840
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
6752
+ /*@__PURE__*/ Schema.suspend(() =>
6841
6753
  Schema.Struct({
6842
6754
  pools: Schema.optional(
6843
6755
  Schema.Union([
@@ -6858,7 +6770,7 @@ export const createPoolHealth: API.OperationMethod<
6858
6770
  CreatePoolHealthResponse,
6859
6771
  CreatePoolHealthError,
6860
6772
  Credentials | HttpClient.HttpClient
6861
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
6773
+ > = /*@__PURE__*/ API.make(() => ({
6862
6774
  input: CreatePoolHealthRequest,
6863
6775
  output: CreatePoolHealthResponse,
6864
6776
  errors: [],
@@ -6875,7 +6787,7 @@ export interface GetPoolReferenceRequest {
6875
6787
  }
6876
6788
 
6877
6789
  export const GetPoolReferenceRequest =
6878
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
6790
+ /*@__PURE__*/ Schema.suspend(() =>
6879
6791
  Schema.Struct({
6880
6792
  poolId: Schema.String.pipe(T.HttpPath("poolId")),
6881
6793
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -6897,7 +6809,7 @@ export interface GetPoolReferenceResponse {
6897
6809
  }
6898
6810
 
6899
6811
  export const GetPoolReferenceResponse =
6900
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
6812
+ /*@__PURE__*/ Schema.suspend(() =>
6901
6813
  Schema.Struct({
6902
6814
  result: Schema.Array(GetMonitorGroupReferenceResponseResult),
6903
6815
  }),
@@ -6910,7 +6822,7 @@ export const getPoolReference: API.PaginatedOperationMethod<
6910
6822
  GetPoolReferenceResponse,
6911
6823
  GetPoolReferenceError,
6912
6824
  Credentials | HttpClient.HttpClient
6913
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
6825
+ > = /*@__PURE__*/ API.makePaginated(() => ({
6914
6826
  input: GetPoolReferenceRequest,
6915
6827
  output: GetPoolReferenceResponse,
6916
6828
  errors: [],
@@ -6930,24 +6842,22 @@ export interface GetPreviewRequest {
6930
6842
  accountId: string;
6931
6843
  }
6932
6844
 
6933
- export const GetPreviewRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
6934
- () =>
6935
- Schema.Struct({
6936
- previewId: Schema.String.pipe(T.HttpPath("previewId")),
6937
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
6938
- }).pipe(
6939
- T.Http({
6940
- method: "GET",
6941
- path: "/accounts/{account_id}/load_balancers/preview/{previewId}",
6942
- }),
6943
- ),
6845
+ export const GetPreviewRequest = /*@__PURE__*/ Schema.suspend(() =>
6846
+ Schema.Struct({
6847
+ previewId: Schema.String.pipe(T.HttpPath("previewId")),
6848
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
6849
+ }).pipe(
6850
+ T.Http({
6851
+ method: "GET",
6852
+ path: "/accounts/{account_id}/load_balancers/preview/{previewId}",
6853
+ }),
6854
+ ),
6944
6855
  ) as unknown as Schema.Codec<GetPreviewRequest>;
6945
6856
 
6946
6857
  export type GetPreviewResponse = Record<string, unknown>;
6947
6858
 
6948
- export const GetPreviewResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
6949
- () =>
6950
- Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")),
6859
+ export const GetPreviewResponse = /*@__PURE__*/ Schema.suspend(() =>
6860
+ Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")),
6951
6861
  ) as unknown as Schema.Codec<GetPreviewResponse>;
6952
6862
 
6953
6863
  export type GetPreviewError = DefaultErrors;
@@ -6957,7 +6867,7 @@ export const getPreview: API.OperationMethod<
6957
6867
  GetPreviewResponse,
6958
6868
  GetPreviewError,
6959
6869
  Credentials | HttpClient.HttpClient
6960
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
6870
+ > = /*@__PURE__*/ API.make(() => ({
6961
6871
  input: GetPreviewRequest,
6962
6872
  output: GetPreviewResponse,
6963
6873
  errors: [],
@@ -6973,7 +6883,7 @@ export interface GetRegionRequest {
6973
6883
  regionId: string;
6974
6884
  }
6975
6885
 
6976
- export const GetRegionRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
6886
+ export const GetRegionRequest = /*@__PURE__*/ Schema.suspend(() =>
6977
6887
  Schema.Struct({
6978
6888
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
6979
6889
  regionId: Schema.String.pipe(T.HttpPath("regionId")),
@@ -6987,8 +6897,8 @@ export const GetRegionRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
6987
6897
 
6988
6898
  export type GetRegionResponse = unknown;
6989
6899
 
6990
- export const GetRegionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
6991
- () => Schema.Unknown.pipe(T.ResponsePath("result")),
6900
+ export const GetRegionResponse = /*@__PURE__*/ Schema.suspend(() =>
6901
+ Schema.Unknown.pipe(T.ResponsePath("result")),
6992
6902
  ) as unknown as Schema.Codec<GetRegionResponse>;
6993
6903
 
6994
6904
  export type GetRegionError = DefaultErrors;
@@ -6998,7 +6908,7 @@ export const getRegion: API.OperationMethod<
6998
6908
  GetRegionResponse,
6999
6909
  GetRegionError,
7000
6910
  Credentials | HttpClient.HttpClient
7001
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
6911
+ > = /*@__PURE__*/ API.make(() => ({
7002
6912
  input: GetRegionRequest,
7003
6913
  output: GetRegionResponse,
7004
6914
  errors: [],
@@ -7015,31 +6925,30 @@ export interface ListRegionsRequest {
7015
6925
  subdivisionCodeA2?: string;
7016
6926
  }
7017
6927
 
7018
- export const ListRegionsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
7019
- () =>
7020
- Schema.Struct({
7021
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
7022
- countryCodeA2: Schema.optional(Schema.String).pipe(
7023
- T.HttpQuery("country_code_a2"),
7024
- ),
7025
- subdivisionCode: Schema.optional(Schema.String).pipe(
7026
- T.HttpQuery("subdivision_code"),
7027
- ),
7028
- subdivisionCodeA2: Schema.optional(Schema.String).pipe(
7029
- T.HttpQuery("subdivision_code_a2"),
7030
- ),
7031
- }).pipe(
7032
- T.Http({
7033
- method: "GET",
7034
- path: "/accounts/{account_id}/load_balancers/regions",
7035
- }),
6928
+ export const ListRegionsRequest = /*@__PURE__*/ Schema.suspend(() =>
6929
+ Schema.Struct({
6930
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
6931
+ countryCodeA2: Schema.optional(Schema.String).pipe(
6932
+ T.HttpQuery("country_code_a2"),
6933
+ ),
6934
+ subdivisionCode: Schema.optional(Schema.String).pipe(
6935
+ T.HttpQuery("subdivision_code"),
7036
6936
  ),
6937
+ subdivisionCodeA2: Schema.optional(Schema.String).pipe(
6938
+ T.HttpQuery("subdivision_code_a2"),
6939
+ ),
6940
+ }).pipe(
6941
+ T.Http({
6942
+ method: "GET",
6943
+ path: "/accounts/{account_id}/load_balancers/regions",
6944
+ }),
6945
+ ),
7037
6946
  ) as unknown as Schema.Codec<ListRegionsRequest>;
7038
6947
 
7039
6948
  export type ListRegionsResponse = unknown;
7040
6949
 
7041
- export const ListRegionsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
7042
- () => Schema.Unknown.pipe(T.ResponsePath("result")),
6950
+ export const ListRegionsResponse = /*@__PURE__*/ Schema.suspend(() =>
6951
+ Schema.Unknown.pipe(T.ResponsePath("result")),
7043
6952
  ) as unknown as Schema.Codec<ListRegionsResponse>;
7044
6953
 
7045
6954
  export type ListRegionsError = DefaultErrors;
@@ -7049,7 +6958,7 @@ export const listRegions: API.OperationMethod<
7049
6958
  ListRegionsResponse,
7050
6959
  ListRegionsError,
7051
6960
  Credentials | HttpClient.HttpClient
7052
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
6961
+ > = /*@__PURE__*/ API.make(() => ({
7053
6962
  input: ListRegionsRequest,
7054
6963
  output: ListRegionsResponse,
7055
6964
  errors: [],
@@ -7070,25 +6979,24 @@ export interface ListSearchesRequest {
7070
6979
  references?: "" | "*" | "referral" | "referrer" | (string & {});
7071
6980
  }
7072
6981
 
7073
- export const ListSearchesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
7074
- () =>
7075
- Schema.Struct({
7076
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
7077
- page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
7078
- perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
7079
- query: Schema.optional(Schema.String).pipe(T.HttpQuery("query")),
7080
- references: Schema.optional(
7081
- Schema.Union([
7082
- Schema.Literals(["", "*", "referral", "referrer"]),
7083
- Schema.String,
7084
- ]),
7085
- ).pipe(T.HttpQuery("references")),
7086
- }).pipe(
7087
- T.Http({
7088
- method: "GET",
7089
- path: "/accounts/{account_id}/load_balancers/search",
7090
- }),
7091
- ),
6982
+ export const ListSearchesRequest = /*@__PURE__*/ Schema.suspend(() =>
6983
+ Schema.Struct({
6984
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
6985
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
6986
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
6987
+ query: Schema.optional(Schema.String).pipe(T.HttpQuery("query")),
6988
+ references: Schema.optional(
6989
+ Schema.Union([
6990
+ Schema.Literals(["", "*", "referral", "referrer"]),
6991
+ Schema.String,
6992
+ ]),
6993
+ ).pipe(T.HttpQuery("references")),
6994
+ }).pipe(
6995
+ T.Http({
6996
+ method: "GET",
6997
+ path: "/accounts/{account_id}/load_balancers/search",
6998
+ }),
6999
+ ),
7092
7000
  ) as unknown as Schema.Codec<ListSearchesRequest>;
7093
7001
 
7094
7002
  export interface ListSearchesResponse {
@@ -7120,14 +7028,13 @@ export interface ListSearchesResponse {
7120
7028
  } | null;
7121
7029
  }
7122
7030
 
7123
- export const ListSearchesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
7124
- () =>
7125
- Schema.Struct({
7126
- result: ListSearchesResponseResult,
7127
- resultInfo: Schema.optional(
7128
- Schema.Union([ListSearchesResponseResultInfo, Schema.Null]),
7129
- ),
7130
- }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
7031
+ export const ListSearchesResponse = /*@__PURE__*/ Schema.suspend(() =>
7032
+ Schema.Struct({
7033
+ result: ListSearchesResponseResult,
7034
+ resultInfo: Schema.optional(
7035
+ Schema.Union([ListSearchesResponseResultInfo, Schema.Null]),
7036
+ ),
7037
+ }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
7131
7038
  ) as unknown as Schema.Codec<ListSearchesResponse>;
7132
7039
 
7133
7040
  export type ListSearchesError = DefaultErrors;
@@ -7137,7 +7044,7 @@ export const listSearches: API.PaginatedOperationMethod<
7137
7044
  ListSearchesResponse,
7138
7045
  ListSearchesError,
7139
7046
  Credentials | HttpClient.HttpClient
7140
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
7047
+ > = /*@__PURE__*/ API.makePaginated(() => ({
7141
7048
  input: ListSearchesRequest,
7142
7049
  output: ListSearchesResponse,
7143
7050
  errors: [],