@distilled.cloud/cloudflare 0.0.0 → 0.2.0-alpha

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 (560) hide show
  1. package/lib/auth.d.ts +13 -0
  2. package/lib/auth.d.ts.map +1 -0
  3. package/lib/auth.js +12 -0
  4. package/lib/auth.js.map +1 -0
  5. package/lib/category.d.ts +2 -0
  6. package/lib/category.d.ts.map +1 -0
  7. package/lib/category.js +2 -0
  8. package/lib/category.js.map +1 -0
  9. package/lib/client/api.d.ts +14 -0
  10. package/lib/client/api.d.ts.map +1 -0
  11. package/lib/client/api.js +197 -0
  12. package/lib/client/api.js.map +1 -0
  13. package/lib/client/index.d.ts +8 -0
  14. package/lib/client/index.d.ts.map +1 -0
  15. package/lib/client/index.js +8 -0
  16. package/lib/client/index.js.map +1 -0
  17. package/lib/credentials.d.ts +14 -0
  18. package/lib/credentials.d.ts.map +1 -0
  19. package/lib/credentials.js +17 -0
  20. package/lib/credentials.js.map +1 -0
  21. package/lib/errors.d.ts +48 -0
  22. package/lib/errors.d.ts.map +1 -0
  23. package/lib/errors.js +38 -0
  24. package/lib/errors.js.map +1 -0
  25. package/lib/index.d.ts +10 -0
  26. package/lib/index.d.ts.map +1 -0
  27. package/lib/index.js +10 -0
  28. package/lib/index.js.map +1 -0
  29. package/lib/retry.d.ts +14 -0
  30. package/lib/retry.d.ts.map +1 -0
  31. package/lib/retry.js +14 -0
  32. package/lib/retry.js.map +1 -0
  33. package/lib/schemas.d.ts +29 -0
  34. package/lib/schemas.d.ts.map +1 -0
  35. package/lib/schemas.js +34 -0
  36. package/lib/schemas.js.map +1 -0
  37. package/lib/services/abuse-reports.d.ts +224 -0
  38. package/lib/services/abuse-reports.d.ts.map +1 -0
  39. package/lib/services/abuse-reports.js +353 -0
  40. package/lib/services/abuse-reports.js.map +1 -0
  41. package/lib/services/accounts.d.ts +682 -0
  42. package/lib/services/accounts.d.ts.map +1 -0
  43. package/lib/services/accounts.js +805 -0
  44. package/lib/services/accounts.js.map +1 -0
  45. package/lib/services/acm.d.ts +73 -0
  46. package/lib/services/acm.d.ts.map +1 -0
  47. package/lib/services/acm.js +76 -0
  48. package/lib/services/acm.js.map +1 -0
  49. package/lib/services/addressing.d.ts +1208 -0
  50. package/lib/services/addressing.d.ts.map +1 -0
  51. package/lib/services/addressing.js +1776 -0
  52. package/lib/services/addressing.js.map +1 -0
  53. package/lib/services/ai-gateway.d.ts +956 -0
  54. package/lib/services/ai-gateway.d.ts.map +1 -0
  55. package/lib/services/ai-gateway.js +1706 -0
  56. package/lib/services/ai-gateway.js.map +1 -0
  57. package/lib/services/ai.d.ts +243 -0
  58. package/lib/services/ai.d.ts.map +1 -0
  59. package/lib/services/ai.js +299 -0
  60. package/lib/services/ai.js.map +1 -0
  61. package/lib/services/aisearch.d.ts +915 -0
  62. package/lib/services/aisearch.d.ts.map +1 -0
  63. package/lib/services/aisearch.js +2425 -0
  64. package/lib/services/aisearch.js.map +1 -0
  65. package/lib/services/alerting.d.ts +718 -0
  66. package/lib/services/alerting.d.ts.map +1 -0
  67. package/lib/services/alerting.js +1388 -0
  68. package/lib/services/alerting.js.map +1 -0
  69. package/lib/services/api-gateway.d.ts +830 -0
  70. package/lib/services/api-gateway.d.ts.map +1 -0
  71. package/lib/services/api-gateway.js +1548 -0
  72. package/lib/services/api-gateway.js.map +1 -0
  73. package/lib/services/argo.d.ts +101 -0
  74. package/lib/services/argo.d.ts.map +1 -0
  75. package/lib/services/argo.js +105 -0
  76. package/lib/services/argo.js.map +1 -0
  77. package/lib/services/audit-logs.d.ts +46 -0
  78. package/lib/services/audit-logs.d.ts.map +1 -0
  79. package/lib/services/audit-logs.js +37 -0
  80. package/lib/services/audit-logs.js.map +1 -0
  81. package/lib/services/billing.d.ts +62 -0
  82. package/lib/services/billing.d.ts.map +1 -0
  83. package/lib/services/billing.js +100 -0
  84. package/lib/services/billing.js.map +1 -0
  85. package/lib/services/bot-management.d.ts +124 -0
  86. package/lib/services/bot-management.d.ts.map +1 -0
  87. package/lib/services/bot-management.js +262 -0
  88. package/lib/services/bot-management.js.map +1 -0
  89. package/lib/services/botnet-feed.d.ts +65 -0
  90. package/lib/services/botnet-feed.d.ts.map +1 -0
  91. package/lib/services/botnet-feed.js +84 -0
  92. package/lib/services/botnet-feed.js.map +1 -0
  93. package/lib/services/brand-protection.d.ts +188 -0
  94. package/lib/services/brand-protection.d.ts.map +1 -0
  95. package/lib/services/brand-protection.js +214 -0
  96. package/lib/services/brand-protection.js.map +1 -0
  97. package/lib/services/browser-rendering.d.ts +857 -0
  98. package/lib/services/browser-rendering.d.ts.map +1 -0
  99. package/lib/services/browser-rendering.js +1141 -0
  100. package/lib/services/browser-rendering.js.map +1 -0
  101. package/lib/services/cache.d.ts +287 -0
  102. package/lib/services/cache.d.ts.map +1 -0
  103. package/lib/services/cache.js +330 -0
  104. package/lib/services/cache.js.map +1 -0
  105. package/lib/services/calls.d.ts +202 -0
  106. package/lib/services/calls.d.ts.map +1 -0
  107. package/lib/services/calls.js +175 -0
  108. package/lib/services/calls.js.map +1 -0
  109. package/lib/services/certificate-authorities.d.ts +40 -0
  110. package/lib/services/certificate-authorities.d.ts.map +1 -0
  111. package/lib/services/certificate-authorities.js +49 -0
  112. package/lib/services/certificate-authorities.js.map +1 -0
  113. package/lib/services/client-certificates.d.ts +254 -0
  114. package/lib/services/client-certificates.d.ts.map +1 -0
  115. package/lib/services/client-certificates.js +350 -0
  116. package/lib/services/client-certificates.js.map +1 -0
  117. package/lib/services/cloud-connector.d.ts +59 -0
  118. package/lib/services/cloud-connector.d.ts.map +1 -0
  119. package/lib/services/cloud-connector.js +84 -0
  120. package/lib/services/cloud-connector.js.map +1 -0
  121. package/lib/services/cloudforce-one.d.ts +1318 -0
  122. package/lib/services/cloudforce-one.d.ts.map +1 -0
  123. package/lib/services/cloudforce-one.js +1684 -0
  124. package/lib/services/cloudforce-one.js.map +1 -0
  125. package/lib/services/connectivity.d.ts +248 -0
  126. package/lib/services/connectivity.d.ts.map +1 -0
  127. package/lib/services/connectivity.js +377 -0
  128. package/lib/services/connectivity.js.map +1 -0
  129. package/lib/services/content-scanning.d.ts +131 -0
  130. package/lib/services/content-scanning.d.ts.map +1 -0
  131. package/lib/services/content-scanning.js +156 -0
  132. package/lib/services/content-scanning.js.map +1 -0
  133. package/lib/services/custom-certificates.d.ts +211 -0
  134. package/lib/services/custom-certificates.d.ts.map +1 -0
  135. package/lib/services/custom-certificates.js +309 -0
  136. package/lib/services/custom-certificates.js.map +1 -0
  137. package/lib/services/custom-hostnames.d.ts +525 -0
  138. package/lib/services/custom-hostnames.d.ts.map +1 -0
  139. package/lib/services/custom-hostnames.js +1164 -0
  140. package/lib/services/custom-hostnames.js.map +1 -0
  141. package/lib/services/custom-nameservers.d.ts +67 -0
  142. package/lib/services/custom-nameservers.d.ts.map +1 -0
  143. package/lib/services/custom-nameservers.js +80 -0
  144. package/lib/services/custom-nameservers.js.map +1 -0
  145. package/lib/services/custom-pages.d.ts +74 -0
  146. package/lib/services/custom-pages.d.ts.map +1 -0
  147. package/lib/services/custom-pages.js +125 -0
  148. package/lib/services/custom-pages.js.map +1 -0
  149. package/lib/services/d1.d.ts +326 -0
  150. package/lib/services/d1.d.ts.map +1 -0
  151. package/lib/services/d1.js +448 -0
  152. package/lib/services/d1.js.map +1 -0
  153. package/lib/services/dcv-delegation.d.ts +24 -0
  154. package/lib/services/dcv-delegation.d.ts.map +1 -0
  155. package/lib/services/dcv-delegation.js +24 -0
  156. package/lib/services/dcv-delegation.js.map +1 -0
  157. package/lib/services/diagnostics.d.ts +175 -0
  158. package/lib/services/diagnostics.d.ts.map +1 -0
  159. package/lib/services/diagnostics.js +273 -0
  160. package/lib/services/diagnostics.js.map +1 -0
  161. package/lib/services/dns-firewall.d.ts +288 -0
  162. package/lib/services/dns-firewall.d.ts.map +1 -0
  163. package/lib/services/dns-firewall.js +373 -0
  164. package/lib/services/dns-firewall.js.map +1 -0
  165. package/lib/services/dns.d.ts +2946 -0
  166. package/lib/services/dns.d.ts.map +1 -0
  167. package/lib/services/dns.js +4511 -0
  168. package/lib/services/dns.js.map +1 -0
  169. package/lib/services/durable-objects.d.ts +61 -0
  170. package/lib/services/durable-objects.d.ts.map +1 -0
  171. package/lib/services/durable-objects.js +66 -0
  172. package/lib/services/durable-objects.js.map +1 -0
  173. package/lib/services/email-routing.d.ts +542 -0
  174. package/lib/services/email-routing.d.ts.map +1 -0
  175. package/lib/services/email-routing.js +662 -0
  176. package/lib/services/email-routing.js.map +1 -0
  177. package/lib/services/email-security.d.ts +1131 -0
  178. package/lib/services/email-security.d.ts.map +1 -0
  179. package/lib/services/email-security.js +2065 -0
  180. package/lib/services/email-security.js.map +1 -0
  181. package/lib/services/filters.d.ts +157 -0
  182. package/lib/services/filters.d.ts.map +1 -0
  183. package/lib/services/filters.js +135 -0
  184. package/lib/services/filters.js.map +1 -0
  185. package/lib/services/firewall.d.ts +1080 -0
  186. package/lib/services/firewall.d.ts.map +1 -0
  187. package/lib/services/firewall.js +1881 -0
  188. package/lib/services/firewall.js.map +1 -0
  189. package/lib/services/healthchecks.d.ts +464 -0
  190. package/lib/services/healthchecks.d.ts.map +1 -0
  191. package/lib/services/healthchecks.js +838 -0
  192. package/lib/services/healthchecks.js.map +1 -0
  193. package/lib/services/hostnames.d.ts +74 -0
  194. package/lib/services/hostnames.d.ts.map +1 -0
  195. package/lib/services/hostnames.js +100 -0
  196. package/lib/services/hostnames.js.map +1 -0
  197. package/lib/services/hyperdrive.d.ts +203 -0
  198. package/lib/services/hyperdrive.d.ts.map +1 -0
  199. package/lib/services/hyperdrive.js +299 -0
  200. package/lib/services/hyperdrive.js.map +1 -0
  201. package/lib/services/iam.d.ts +554 -0
  202. package/lib/services/iam.d.ts.map +1 -0
  203. package/lib/services/iam.js +743 -0
  204. package/lib/services/iam.js.map +1 -0
  205. package/lib/services/images.d.ts +403 -0
  206. package/lib/services/images.d.ts.map +1 -0
  207. package/lib/services/images.js +417 -0
  208. package/lib/services/images.js.map +1 -0
  209. package/lib/services/intel.d.ts +768 -0
  210. package/lib/services/intel.d.ts.map +1 -0
  211. package/lib/services/intel.js +1179 -0
  212. package/lib/services/intel.js.map +1 -0
  213. package/lib/services/ips.d.ts +28 -0
  214. package/lib/services/ips.d.ts.map +1 -0
  215. package/lib/services/ips.js +39 -0
  216. package/lib/services/ips.js.map +1 -0
  217. package/lib/services/keyless-certificates.d.ts +177 -0
  218. package/lib/services/keyless-certificates.d.ts.map +1 -0
  219. package/lib/services/keyless-certificates.js +216 -0
  220. package/lib/services/keyless-certificates.js.map +1 -0
  221. package/lib/services/kv.d.ts +339 -0
  222. package/lib/services/kv.d.ts.map +1 -0
  223. package/lib/services/kv.js +402 -0
  224. package/lib/services/kv.js.map +1 -0
  225. package/lib/services/leaked-credential-checks.d.ts +119 -0
  226. package/lib/services/leaked-credential-checks.d.ts.map +1 -0
  227. package/lib/services/leaked-credential-checks.js +130 -0
  228. package/lib/services/leaked-credential-checks.js.map +1 -0
  229. package/lib/services/load-balancers.d.ts +1767 -0
  230. package/lib/services/load-balancers.d.ts.map +1 -0
  231. package/lib/services/load-balancers.js +3068 -0
  232. package/lib/services/load-balancers.js.map +1 -0
  233. package/lib/services/logpush.d.ts +401 -0
  234. package/lib/services/logpush.d.ts.map +1 -0
  235. package/lib/services/logpush.js +724 -0
  236. package/lib/services/logpush.js.map +1 -0
  237. package/lib/services/logs.d.ts +125 -0
  238. package/lib/services/logs.d.ts.map +1 -0
  239. package/lib/services/logs.js +145 -0
  240. package/lib/services/logs.js.map +1 -0
  241. package/lib/services/magic-cloud-networking.d.ts +1599 -0
  242. package/lib/services/magic-cloud-networking.d.ts.map +1 -0
  243. package/lib/services/magic-cloud-networking.js +5205 -0
  244. package/lib/services/magic-cloud-networking.js.map +1 -0
  245. package/lib/services/magic-network-monitoring.d.ts +379 -0
  246. package/lib/services/magic-network-monitoring.d.ts.map +1 -0
  247. package/lib/services/magic-network-monitoring.js +535 -0
  248. package/lib/services/magic-network-monitoring.js.map +1 -0
  249. package/lib/services/magic-transit.d.ts +3650 -0
  250. package/lib/services/magic-transit.d.ts.map +1 -0
  251. package/lib/services/magic-transit.js +6120 -0
  252. package/lib/services/magic-transit.js.map +1 -0
  253. package/lib/services/managed-transforms.d.ts +79 -0
  254. package/lib/services/managed-transforms.d.ts.map +1 -0
  255. package/lib/services/managed-transforms.js +107 -0
  256. package/lib/services/managed-transforms.js.map +1 -0
  257. package/lib/services/memberships.d.ts +172 -0
  258. package/lib/services/memberships.d.ts.map +1 -0
  259. package/lib/services/memberships.js +282 -0
  260. package/lib/services/memberships.js.map +1 -0
  261. package/lib/services/mtls-certificates.d.ts +140 -0
  262. package/lib/services/mtls-certificates.d.ts.map +1 -0
  263. package/lib/services/mtls-certificates.js +173 -0
  264. package/lib/services/mtls-certificates.js.map +1 -0
  265. package/lib/services/network-interconnects.d.ts +410 -0
  266. package/lib/services/network-interconnects.d.ts.map +1 -0
  267. package/lib/services/network-interconnects.js +583 -0
  268. package/lib/services/network-interconnects.js.map +1 -0
  269. package/lib/services/organizations.d.ts +201 -0
  270. package/lib/services/organizations.d.ts.map +1 -0
  271. package/lib/services/organizations.js +355 -0
  272. package/lib/services/organizations.js.map +1 -0
  273. package/lib/services/origin-ca-certificates.d.ts +99 -0
  274. package/lib/services/origin-ca-certificates.d.ts.map +1 -0
  275. package/lib/services/origin-ca-certificates.js +156 -0
  276. package/lib/services/origin-ca-certificates.js.map +1 -0
  277. package/lib/services/origin-post-quantum-encryption.d.ts +50 -0
  278. package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -0
  279. package/lib/services/origin-post-quantum-encryption.js +60 -0
  280. package/lib/services/origin-post-quantum-encryption.js.map +1 -0
  281. package/lib/services/origin-tls-client-auth.d.ts +273 -0
  282. package/lib/services/origin-tls-client-auth.d.ts.map +1 -0
  283. package/lib/services/origin-tls-client-auth.js +401 -0
  284. package/lib/services/origin-tls-client-auth.js.map +1 -0
  285. package/lib/services/page-rules.d.ts +773 -0
  286. package/lib/services/page-rules.d.ts.map +1 -0
  287. package/lib/services/page-rules.js +1365 -0
  288. package/lib/services/page-rules.js.map +1 -0
  289. package/lib/services/page-shield.d.ts +426 -0
  290. package/lib/services/page-shield.d.ts.map +1 -0
  291. package/lib/services/page-shield.js +484 -0
  292. package/lib/services/page-shield.js.map +1 -0
  293. package/lib/services/pages.d.ts +1654 -0
  294. package/lib/services/pages.d.ts.map +1 -0
  295. package/lib/services/pages.js +2954 -0
  296. package/lib/services/pages.js.map +1 -0
  297. package/lib/services/pipelines.d.ts +1461 -0
  298. package/lib/services/pipelines.d.ts.map +1 -0
  299. package/lib/services/pipelines.js +2912 -0
  300. package/lib/services/pipelines.js.map +1 -0
  301. package/lib/services/queues.d.ts +807 -0
  302. package/lib/services/queues.d.ts.map +1 -0
  303. package/lib/services/queues.js +1194 -0
  304. package/lib/services/queues.js.map +1 -0
  305. package/lib/services/r2-data-catalog.d.ts +341 -0
  306. package/lib/services/r2-data-catalog.d.ts.map +1 -0
  307. package/lib/services/r2-data-catalog.js +499 -0
  308. package/lib/services/r2-data-catalog.js.map +1 -0
  309. package/lib/services/r2.d.ts +1041 -0
  310. package/lib/services/r2.d.ts.map +1 -0
  311. package/lib/services/r2.js +1384 -0
  312. package/lib/services/r2.js.map +1 -0
  313. package/lib/services/radar.d.ts +9276 -0
  314. package/lib/services/radar.d.ts.map +1 -0
  315. package/lib/services/radar.js +20491 -0
  316. package/lib/services/radar.js.map +1 -0
  317. package/lib/services/rate-limits.d.ts +315 -0
  318. package/lib/services/rate-limits.d.ts.map +1 -0
  319. package/lib/services/rate-limits.js +521 -0
  320. package/lib/services/rate-limits.js.map +1 -0
  321. package/lib/services/realtime-kit.d.ts +2728 -0
  322. package/lib/services/realtime-kit.d.ts.map +1 -0
  323. package/lib/services/realtime-kit.js +5401 -0
  324. package/lib/services/realtime-kit.js.map +1 -0
  325. package/lib/services/registrar.d.ts +81 -0
  326. package/lib/services/registrar.d.ts.map +1 -0
  327. package/lib/services/registrar.js +154 -0
  328. package/lib/services/registrar.js.map +1 -0
  329. package/lib/services/request-tracers.d.ts +61 -0
  330. package/lib/services/request-tracers.d.ts.map +1 -0
  331. package/lib/services/request-tracers.js +82 -0
  332. package/lib/services/request-tracers.js.map +1 -0
  333. package/lib/services/resource-sharing.d.ts +540 -0
  334. package/lib/services/resource-sharing.d.ts.map +1 -0
  335. package/lib/services/resource-sharing.js +846 -0
  336. package/lib/services/resource-sharing.js.map +1 -0
  337. package/lib/services/rules.d.ts +297 -0
  338. package/lib/services/rules.d.ts.map +1 -0
  339. package/lib/services/rules.js +396 -0
  340. package/lib/services/rules.js.map +1 -0
  341. package/lib/services/rulesets.d.ts +3300 -0
  342. package/lib/services/rulesets.d.ts.map +1 -0
  343. package/lib/services/rulesets.js +7852 -0
  344. package/lib/services/rulesets.js.map +1 -0
  345. package/lib/services/rum.d.ts +289 -0
  346. package/lib/services/rum.d.ts.map +1 -0
  347. package/lib/services/rum.js +409 -0
  348. package/lib/services/rum.js.map +1 -0
  349. package/lib/services/schema-validation.d.ts +240 -0
  350. package/lib/services/schema-validation.d.ts.map +1 -0
  351. package/lib/services/schema-validation.js +306 -0
  352. package/lib/services/schema-validation.js.map +1 -0
  353. package/lib/services/secrets-store.d.ts +321 -0
  354. package/lib/services/secrets-store.d.ts.map +1 -0
  355. package/lib/services/secrets-store.js +385 -0
  356. package/lib/services/secrets-store.js.map +1 -0
  357. package/lib/services/security-center.d.ts +102 -0
  358. package/lib/services/security-center.d.ts.map +1 -0
  359. package/lib/services/security-center.js +170 -0
  360. package/lib/services/security-center.js.map +1 -0
  361. package/lib/services/security-txt.d.ts +105 -0
  362. package/lib/services/security-txt.d.ts.map +1 -0
  363. package/lib/services/security-txt.js +136 -0
  364. package/lib/services/security-txt.js.map +1 -0
  365. package/lib/services/snippets.d.ts +138 -0
  366. package/lib/services/snippets.d.ts.map +1 -0
  367. package/lib/services/snippets.js +178 -0
  368. package/lib/services/snippets.js.map +1 -0
  369. package/lib/services/spectrum.d.ts +316 -0
  370. package/lib/services/spectrum.d.ts.map +1 -0
  371. package/lib/services/spectrum.js +510 -0
  372. package/lib/services/spectrum.js.map +1 -0
  373. package/lib/services/speed.d.ts +227 -0
  374. package/lib/services/speed.d.ts.map +1 -0
  375. package/lib/services/speed.js +444 -0
  376. package/lib/services/speed.js.map +1 -0
  377. package/lib/services/ssl.d.ts +370 -0
  378. package/lib/services/ssl.d.ts.map +1 -0
  379. package/lib/services/ssl.js +732 -0
  380. package/lib/services/ssl.js.map +1 -0
  381. package/lib/services/stream.d.ts +1014 -0
  382. package/lib/services/stream.d.ts.map +1 -0
  383. package/lib/services/stream.js +1049 -0
  384. package/lib/services/stream.js.map +1 -0
  385. package/lib/services/token-validation.d.ts +547 -0
  386. package/lib/services/token-validation.d.ts.map +1 -0
  387. package/lib/services/token-validation.js +768 -0
  388. package/lib/services/token-validation.js.map +1 -0
  389. package/lib/services/turnstile.d.ts +248 -0
  390. package/lib/services/turnstile.d.ts.map +1 -0
  391. package/lib/services/turnstile.js +308 -0
  392. package/lib/services/turnstile.js.map +1 -0
  393. package/lib/services/url-normalization.d.ts +53 -0
  394. package/lib/services/url-normalization.d.ts.map +1 -0
  395. package/lib/services/url-normalization.js +52 -0
  396. package/lib/services/url-normalization.js.map +1 -0
  397. package/lib/services/url-scanner.d.ts +612 -0
  398. package/lib/services/url-scanner.d.ts.map +1 -0
  399. package/lib/services/url-scanner.js +915 -0
  400. package/lib/services/url-scanner.js.map +1 -0
  401. package/lib/services/user.d.ts +441 -0
  402. package/lib/services/user.d.ts.map +1 -0
  403. package/lib/services/user.js +567 -0
  404. package/lib/services/user.js.map +1 -0
  405. package/lib/services/vectorize.d.ts +282 -0
  406. package/lib/services/vectorize.d.ts.map +1 -0
  407. package/lib/services/vectorize.js +340 -0
  408. package/lib/services/vectorize.js.map +1 -0
  409. package/lib/services/waiting-rooms.d.ts +1009 -0
  410. package/lib/services/waiting-rooms.d.ts.map +1 -0
  411. package/lib/services/waiting-rooms.js +1757 -0
  412. package/lib/services/waiting-rooms.js.map +1 -0
  413. package/lib/services/web3.d.ts +274 -0
  414. package/lib/services/web3.d.ts.map +1 -0
  415. package/lib/services/web3.js +362 -0
  416. package/lib/services/web3.js.map +1 -0
  417. package/lib/services/workers-for-platforms.d.ts +1224 -0
  418. package/lib/services/workers-for-platforms.d.ts.map +1 -0
  419. package/lib/services/workers-for-platforms.js +2078 -0
  420. package/lib/services/workers-for-platforms.js.map +1 -0
  421. package/lib/services/workers.d.ts +3498 -0
  422. package/lib/services/workers.d.ts.map +1 -0
  423. package/lib/services/workers.js +5967 -0
  424. package/lib/services/workers.js.map +1 -0
  425. package/lib/services/workflows.d.ts +359 -0
  426. package/lib/services/workflows.d.ts.map +1 -0
  427. package/lib/services/workflows.js +516 -0
  428. package/lib/services/workflows.js.map +1 -0
  429. package/lib/services/zaraz.d.ts +300 -0
  430. package/lib/services/zaraz.d.ts.map +1 -0
  431. package/lib/services/zaraz.js +298 -0
  432. package/lib/services/zaraz.js.map +1 -0
  433. package/lib/services/zero-trust.d.ts +15449 -0
  434. package/lib/services/zero-trust.d.ts.map +1 -0
  435. package/lib/services/zero-trust.js +29194 -0
  436. package/lib/services/zero-trust.js.map +1 -0
  437. package/lib/services/zones.d.ts +1278 -0
  438. package/lib/services/zones.d.ts.map +1 -0
  439. package/lib/services/zones.js +2416 -0
  440. package/lib/services/zones.js.map +1 -0
  441. package/lib/traits.d.ts +28 -0
  442. package/lib/traits.d.ts.map +1 -0
  443. package/lib/traits.js +26 -0
  444. package/lib/traits.js.map +1 -0
  445. package/package.json +67 -5
  446. package/src/auth.ts +14 -0
  447. package/src/category.ts +1 -0
  448. package/src/client/api.ts +269 -0
  449. package/src/client/index.ts +7 -0
  450. package/src/credentials.ts +30 -0
  451. package/src/errors.ts +65 -0
  452. package/src/index.ts +9 -0
  453. package/src/retry.ts +35 -0
  454. package/src/schemas.ts +51 -0
  455. package/src/services/abuse-reports.ts +747 -0
  456. package/src/services/accounts.ts +1947 -0
  457. package/src/services/acm.ts +170 -0
  458. package/src/services/addressing.ts +3947 -0
  459. package/src/services/ai-gateway.ts +3335 -0
  460. package/src/services/ai.ts +727 -0
  461. package/src/services/aisearch.ts +4750 -0
  462. package/src/services/alerting.ts +2947 -0
  463. package/src/services/api-gateway.ts +3391 -0
  464. package/src/services/argo.ts +254 -0
  465. package/src/services/audit-logs.ts +90 -0
  466. package/src/services/billing.ts +172 -0
  467. package/src/services/bot-management.ts +541 -0
  468. package/src/services/botnet-feed.ts +193 -0
  469. package/src/services/brand-protection.ts +553 -0
  470. package/src/services/browser-rendering.ts +2707 -0
  471. package/src/services/cache.ts +827 -0
  472. package/src/services/calls.ts +483 -0
  473. package/src/services/certificate-authorities.ts +110 -0
  474. package/src/services/client-certificates.ts +718 -0
  475. package/src/services/cloud-connector.ts +181 -0
  476. package/src/services/cloudforce-one.ts +3876 -0
  477. package/src/services/connectivity.ts +629 -0
  478. package/src/services/content-scanning.ts +385 -0
  479. package/src/services/custom-certificates.ts +611 -0
  480. package/src/services/custom-hostnames.ts +2453 -0
  481. package/src/services/custom-nameservers.ts +182 -0
  482. package/src/services/custom-pages.ts +264 -0
  483. package/src/services/d1.ts +1034 -0
  484. package/src/services/dcv-delegation.ts +52 -0
  485. package/src/services/diagnostics.ts +603 -0
  486. package/src/services/dns-firewall.ts +823 -0
  487. package/src/services/dns.ts +8897 -0
  488. package/src/services/durable-objects.ts +148 -0
  489. package/src/services/email-routing.ts +1602 -0
  490. package/src/services/email-security.ts +4283 -0
  491. package/src/services/filters.ts +370 -0
  492. package/src/services/firewall.ts +3896 -0
  493. package/src/services/healthchecks.ts +1750 -0
  494. package/src/services/hostnames.ts +218 -0
  495. package/src/services/hyperdrive.ts +592 -0
  496. package/src/services/iam.ts +1668 -0
  497. package/src/services/images.ts +1086 -0
  498. package/src/services/intel.ts +2768 -0
  499. package/src/services/ips.ts +88 -0
  500. package/src/services/keyless-certificates.ts +462 -0
  501. package/src/services/kv.ts +1011 -0
  502. package/src/services/leaked-credential-checks.ts +325 -0
  503. package/src/services/load-balancers.ts +6438 -0
  504. package/src/services/logpush.ts +1667 -0
  505. package/src/services/logs.ts +375 -0
  506. package/src/services/magic-cloud-networking.ts +10020 -0
  507. package/src/services/magic-network-monitoring.ts +1156 -0
  508. package/src/services/magic-transit.ts +13050 -0
  509. package/src/services/managed-transforms.ts +237 -0
  510. package/src/services/memberships.ts +615 -0
  511. package/src/services/mtls-certificates.ts +374 -0
  512. package/src/services/network-interconnects.ts +1253 -0
  513. package/src/services/organizations.ts +674 -0
  514. package/src/services/origin-ca-certificates.ts +303 -0
  515. package/src/services/origin-post-quantum-encryption.ts +128 -0
  516. package/src/services/origin-tls-client-auth.ts +878 -0
  517. package/src/services/page-rules.ts +2612 -0
  518. package/src/services/page-shield.ts +1195 -0
  519. package/src/services/pages.ts +5709 -0
  520. package/src/services/pipelines.ts +6000 -0
  521. package/src/services/queues.ts +2629 -0
  522. package/src/services/r2-data-catalog.ts +1119 -0
  523. package/src/services/r2.ts +3348 -0
  524. package/src/services/radar.ts +42152 -0
  525. package/src/services/rate-limits.ts +1150 -0
  526. package/src/services/realtime-kit.ts +11079 -0
  527. package/src/services/registrar.ts +295 -0
  528. package/src/services/request-tracers.ts +158 -0
  529. package/src/services/resource-sharing.ts +1832 -0
  530. package/src/services/rules.ts +837 -0
  531. package/src/services/rulesets.ts +15144 -0
  532. package/src/services/rum.ts +901 -0
  533. package/src/services/schema-validation.ts +733 -0
  534. package/src/services/secrets-store.ts +860 -0
  535. package/src/services/security-center.ts +397 -0
  536. package/src/services/security-txt.ts +315 -0
  537. package/src/services/snippets.ts +420 -0
  538. package/src/services/spectrum.ts +1103 -0
  539. package/src/services/speed.ts +1056 -0
  540. package/src/services/ssl.ts +1587 -0
  541. package/src/services/stream.ts +2756 -0
  542. package/src/services/token-validation.ts +1585 -0
  543. package/src/services/turnstile.ts +643 -0
  544. package/src/services/url-normalization.ts +129 -0
  545. package/src/services/url-scanner.ts +1851 -0
  546. package/src/services/user.ts +1384 -0
  547. package/src/services/vectorize.ts +816 -0
  548. package/src/services/waiting-rooms.ts +3807 -0
  549. package/src/services/web3.ts +834 -0
  550. package/src/services/workers-for-platforms.ts +3859 -0
  551. package/src/services/workers.ts +11637 -0
  552. package/src/services/workflows.ts +1124 -0
  553. package/src/services/zaraz.ts +797 -0
  554. package/src/services/zero-trust.ts +58933 -0
  555. package/src/services/zones.ts +4875 -0
  556. package/src/traits.ts +47 -0
  557. package/README.md +0 -15
  558. package/bun.lock +0 -26
  559. package/index.ts +0 -1
  560. package/tsconfig.json +0 -29
@@ -0,0 +1,1009 @@
1
+ /**
2
+ * Cloudflare WAITING-ROOMS API
3
+ *
4
+ * Generated from Cloudflare TypeScript SDK.
5
+ * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service waiting-rooms
6
+ */
7
+ import * as Schema from "effect/Schema";
8
+ import type * as HttpClient from "effect/unstable/http/HttpClient";
9
+ import * as API from "../client/api.ts";
10
+ import type { Credentials } from "../credentials";
11
+ import { type DefaultErrors } from "../errors";
12
+ export interface GetEventRequest {
13
+ waitingRoomId: string;
14
+ eventId: string;
15
+ /** Identifier. */
16
+ zoneId: string;
17
+ }
18
+ export declare const GetEventRequest: Schema.Schema<GetEventRequest>;
19
+ export interface GetEventResponse {
20
+ id?: string | null;
21
+ createdOn?: string | null;
22
+ /** If set, the event will override the waiting room's `custom_page_html` property while it is active. If null, the event will inherit it. */
23
+ customPageHtml?: string | null;
24
+ /** A note that you can use to add more details about the event. */
25
+ description?: string | null;
26
+ /** If set, the event will override the waiting room's `disable_session_renewal` property while it is active. If null, the event will inherit it. */
27
+ disableSessionRenewal?: boolean | null;
28
+ /** An ISO 8601 timestamp that marks the end of the event. */
29
+ eventEndTime?: string | null;
30
+ /** An ISO 8601 timestamp that marks the start of the event. At this time, queued users will be processed with the event's configuration. The start time must be at least one minute before `event_end_time` */
31
+ eventStartTime?: string | null;
32
+ modifiedOn?: string | null;
33
+ /** A unique name to identify the event. Only alphanumeric characters, hyphens and underscores are allowed. */
34
+ name?: string | null;
35
+ /** If set, the event will override the waiting room's `new_users_per_minute` property while it is active. If null, the event will inherit it. This can only be set if the event's `total_active_users` prop */
36
+ newUsersPerMinute?: number | null;
37
+ /** An ISO 8601 timestamp that marks when to begin queueing all users before the event starts. The prequeue must start at least five minutes before `event_start_time`. */
38
+ prequeueStartTime?: string | null;
39
+ /** If set, the event will override the waiting room's `queueing_method` property while it is active. If null, the event will inherit it. */
40
+ queueingMethod?: string | null;
41
+ /** If set, the event will override the waiting room's `session_duration` property while it is active. If null, the event will inherit it. */
42
+ sessionDuration?: number | null;
43
+ /** If enabled, users in the prequeue will be shuffled randomly at the `event_start_time`. Requires that `prequeue_start_time` is not null. This is useful for situations when many users will join the even */
44
+ shuffleAtEventStart?: boolean | null;
45
+ /** Suspends or allows an event. If set to `true`, the event is ignored and traffic will be handled based on the waiting room configuration. */
46
+ suspended?: boolean | null;
47
+ /** If set, the event will override the waiting room's `total_active_users` property while it is active. If null, the event will inherit it. This can only be set if the event's `new_users_per_minute` prop */
48
+ totalActiveUsers?: number | null;
49
+ /** If set, the event will override the waiting room's `turnstile_action` property while it is active. If null, the event will inherit it. */
50
+ turnstileAction?: "log" | "infinite_queue" | null;
51
+ /** If set, the event will override the waiting room's `turnstile_mode` property while it is active. If null, the event will inherit it. */
52
+ turnstileMode?: "off" | "invisible" | "visible_non_interactive" | "visible_managed" | null;
53
+ }
54
+ export declare const GetEventResponse: Schema.Schema<GetEventResponse>;
55
+ export type GetEventError = DefaultErrors;
56
+ export declare const getEvent: API.OperationMethod<GetEventRequest, GetEventResponse, GetEventError, Credentials | HttpClient.HttpClient>;
57
+ export interface ListEventsRequest {
58
+ waitingRoomId: string;
59
+ /** Path param: Identifier. */
60
+ zoneId: string;
61
+ }
62
+ export declare const ListEventsRequest: Schema.Schema<ListEventsRequest>;
63
+ export type ListEventsResponse = {
64
+ id?: string | null;
65
+ createdOn?: string | null;
66
+ customPageHtml?: string | null;
67
+ description?: string | null;
68
+ disableSessionRenewal?: boolean | null;
69
+ eventEndTime?: string | null;
70
+ eventStartTime?: string | null;
71
+ modifiedOn?: string | null;
72
+ name?: string | null;
73
+ newUsersPerMinute?: number | null;
74
+ prequeueStartTime?: string | null;
75
+ queueingMethod?: string | null;
76
+ sessionDuration?: number | null;
77
+ shuffleAtEventStart?: boolean | null;
78
+ suspended?: boolean | null;
79
+ totalActiveUsers?: number | null;
80
+ turnstileAction?: "log" | "infinite_queue" | null;
81
+ turnstileMode?: "off" | "invisible" | "visible_non_interactive" | "visible_managed" | null;
82
+ }[];
83
+ export declare const ListEventsResponse: Schema.Schema<ListEventsResponse>;
84
+ export type ListEventsError = DefaultErrors;
85
+ export declare const listEvents: API.OperationMethod<ListEventsRequest, ListEventsResponse, ListEventsError, Credentials | HttpClient.HttpClient>;
86
+ export interface CreateEventRequest {
87
+ waitingRoomId: string;
88
+ /** Path param: Identifier. */
89
+ zoneId: string;
90
+ /** Body param: An ISO 8601 timestamp that marks the end of the event. */
91
+ eventEndTime: string;
92
+ /** Body param: An ISO 8601 timestamp that marks the start of the event. At this time, queued users will be processed with the event's configuration. The start time must be at least one minute before `eve */
93
+ eventStartTime: string;
94
+ /** Body param: A unique name to identify the event. Only alphanumeric characters, hyphens and underscores are allowed. */
95
+ name: string;
96
+ /** Body param: If set, the event will override the waiting room's `custom_page_html` property while it is active. If null, the event will inherit it. */
97
+ customPageHtml?: string | null;
98
+ /** Body param: A note that you can use to add more details about the event. */
99
+ description?: string;
100
+ /** Body param: If set, the event will override the waiting room's `disable_session_renewal` property while it is active. If null, the event will inherit it. */
101
+ disableSessionRenewal?: boolean | null;
102
+ /** Body param: If set, the event will override the waiting room's `new_users_per_minute` property while it is active. If null, the event will inherit it. This can only be set if the event's `total_active */
103
+ newUsersPerMinute?: number | null;
104
+ /** Body param: An ISO 8601 timestamp that marks when to begin queueing all users before the event starts. The prequeue must start at least five minutes before `event_start_time`. */
105
+ prequeueStartTime?: string | null;
106
+ /** Body param: If set, the event will override the waiting room's `queueing_method` property while it is active. If null, the event will inherit it. */
107
+ queueingMethod?: string | null;
108
+ /** Body param: If set, the event will override the waiting room's `session_duration` property while it is active. If null, the event will inherit it. */
109
+ sessionDuration?: number | null;
110
+ /** Body param: If enabled, users in the prequeue will be shuffled randomly at the `event_start_time`. Requires that `prequeue_start_time` is not null. This is useful for situations when many users will j */
111
+ shuffleAtEventStart?: boolean;
112
+ /** Body param: Suspends or allows an event. If set to `true`, the event is ignored and traffic will be handled based on the waiting room configuration. */
113
+ suspended?: boolean;
114
+ /** Body param: If set, the event will override the waiting room's `total_active_users` property while it is active. If null, the event will inherit it. This can only be set if the event's `new_users_per_ */
115
+ totalActiveUsers?: number | null;
116
+ /** Body param: If set, the event will override the waiting room's `turnstile_action` property while it is active. If null, the event will inherit it. */
117
+ turnstileAction?: "log" | "infinite_queue" | null;
118
+ /** Body param: If set, the event will override the waiting room's `turnstile_mode` property while it is active. If null, the event will inherit it. */
119
+ turnstileMode?: "off" | "invisible" | "visible_non_interactive" | "visible_managed" | null;
120
+ }
121
+ export declare const CreateEventRequest: Schema.Schema<CreateEventRequest>;
122
+ export interface CreateEventResponse {
123
+ id?: string | null;
124
+ createdOn?: string | null;
125
+ /** If set, the event will override the waiting room's `custom_page_html` property while it is active. If null, the event will inherit it. */
126
+ customPageHtml?: string | null;
127
+ /** A note that you can use to add more details about the event. */
128
+ description?: string | null;
129
+ /** If set, the event will override the waiting room's `disable_session_renewal` property while it is active. If null, the event will inherit it. */
130
+ disableSessionRenewal?: boolean | null;
131
+ /** An ISO 8601 timestamp that marks the end of the event. */
132
+ eventEndTime?: string | null;
133
+ /** An ISO 8601 timestamp that marks the start of the event. At this time, queued users will be processed with the event's configuration. The start time must be at least one minute before `event_end_time` */
134
+ eventStartTime?: string | null;
135
+ modifiedOn?: string | null;
136
+ /** A unique name to identify the event. Only alphanumeric characters, hyphens and underscores are allowed. */
137
+ name?: string | null;
138
+ /** If set, the event will override the waiting room's `new_users_per_minute` property while it is active. If null, the event will inherit it. This can only be set if the event's `total_active_users` prop */
139
+ newUsersPerMinute?: number | null;
140
+ /** An ISO 8601 timestamp that marks when to begin queueing all users before the event starts. The prequeue must start at least five minutes before `event_start_time`. */
141
+ prequeueStartTime?: string | null;
142
+ /** If set, the event will override the waiting room's `queueing_method` property while it is active. If null, the event will inherit it. */
143
+ queueingMethod?: string | null;
144
+ /** If set, the event will override the waiting room's `session_duration` property while it is active. If null, the event will inherit it. */
145
+ sessionDuration?: number | null;
146
+ /** If enabled, users in the prequeue will be shuffled randomly at the `event_start_time`. Requires that `prequeue_start_time` is not null. This is useful for situations when many users will join the even */
147
+ shuffleAtEventStart?: boolean | null;
148
+ /** Suspends or allows an event. If set to `true`, the event is ignored and traffic will be handled based on the waiting room configuration. */
149
+ suspended?: boolean | null;
150
+ /** If set, the event will override the waiting room's `total_active_users` property while it is active. If null, the event will inherit it. This can only be set if the event's `new_users_per_minute` prop */
151
+ totalActiveUsers?: number | null;
152
+ /** If set, the event will override the waiting room's `turnstile_action` property while it is active. If null, the event will inherit it. */
153
+ turnstileAction?: "log" | "infinite_queue" | null;
154
+ /** If set, the event will override the waiting room's `turnstile_mode` property while it is active. If null, the event will inherit it. */
155
+ turnstileMode?: "off" | "invisible" | "visible_non_interactive" | "visible_managed" | null;
156
+ }
157
+ export declare const CreateEventResponse: Schema.Schema<CreateEventResponse>;
158
+ export type CreateEventError = DefaultErrors;
159
+ export declare const createEvent: API.OperationMethod<CreateEventRequest, CreateEventResponse, CreateEventError, Credentials | HttpClient.HttpClient>;
160
+ export interface UpdateEventRequest {
161
+ waitingRoomId: string;
162
+ eventId: string;
163
+ /** Path param: Identifier. */
164
+ zoneId: string;
165
+ /** Body param: An ISO 8601 timestamp that marks the end of the event. */
166
+ eventEndTime: string;
167
+ /** Body param: An ISO 8601 timestamp that marks the start of the event. At this time, queued users will be processed with the event's configuration. The start time must be at least one minute before `eve */
168
+ eventStartTime: string;
169
+ /** Body param: A unique name to identify the event. Only alphanumeric characters, hyphens and underscores are allowed. */
170
+ name: string;
171
+ /** Body param: If set, the event will override the waiting room's `custom_page_html` property while it is active. If null, the event will inherit it. */
172
+ customPageHtml?: string | null;
173
+ /** Body param: A note that you can use to add more details about the event. */
174
+ description?: string;
175
+ /** Body param: If set, the event will override the waiting room's `disable_session_renewal` property while it is active. If null, the event will inherit it. */
176
+ disableSessionRenewal?: boolean | null;
177
+ /** Body param: If set, the event will override the waiting room's `new_users_per_minute` property while it is active. If null, the event will inherit it. This can only be set if the event's `total_active */
178
+ newUsersPerMinute?: number | null;
179
+ /** Body param: An ISO 8601 timestamp that marks when to begin queueing all users before the event starts. The prequeue must start at least five minutes before `event_start_time`. */
180
+ prequeueStartTime?: string | null;
181
+ /** Body param: If set, the event will override the waiting room's `queueing_method` property while it is active. If null, the event will inherit it. */
182
+ queueingMethod?: string | null;
183
+ /** Body param: If set, the event will override the waiting room's `session_duration` property while it is active. If null, the event will inherit it. */
184
+ sessionDuration?: number | null;
185
+ /** Body param: If enabled, users in the prequeue will be shuffled randomly at the `event_start_time`. Requires that `prequeue_start_time` is not null. This is useful for situations when many users will j */
186
+ shuffleAtEventStart?: boolean;
187
+ /** Body param: Suspends or allows an event. If set to `true`, the event is ignored and traffic will be handled based on the waiting room configuration. */
188
+ suspended?: boolean;
189
+ /** Body param: If set, the event will override the waiting room's `total_active_users` property while it is active. If null, the event will inherit it. This can only be set if the event's `new_users_per_ */
190
+ totalActiveUsers?: number | null;
191
+ /** Body param: If set, the event will override the waiting room's `turnstile_action` property while it is active. If null, the event will inherit it. */
192
+ turnstileAction?: "log" | "infinite_queue" | null;
193
+ /** Body param: If set, the event will override the waiting room's `turnstile_mode` property while it is active. If null, the event will inherit it. */
194
+ turnstileMode?: "off" | "invisible" | "visible_non_interactive" | "visible_managed" | null;
195
+ }
196
+ export declare const UpdateEventRequest: Schema.Schema<UpdateEventRequest>;
197
+ export interface UpdateEventResponse {
198
+ id?: string | null;
199
+ createdOn?: string | null;
200
+ /** If set, the event will override the waiting room's `custom_page_html` property while it is active. If null, the event will inherit it. */
201
+ customPageHtml?: string | null;
202
+ /** A note that you can use to add more details about the event. */
203
+ description?: string | null;
204
+ /** If set, the event will override the waiting room's `disable_session_renewal` property while it is active. If null, the event will inherit it. */
205
+ disableSessionRenewal?: boolean | null;
206
+ /** An ISO 8601 timestamp that marks the end of the event. */
207
+ eventEndTime?: string | null;
208
+ /** An ISO 8601 timestamp that marks the start of the event. At this time, queued users will be processed with the event's configuration. The start time must be at least one minute before `event_end_time` */
209
+ eventStartTime?: string | null;
210
+ modifiedOn?: string | null;
211
+ /** A unique name to identify the event. Only alphanumeric characters, hyphens and underscores are allowed. */
212
+ name?: string | null;
213
+ /** If set, the event will override the waiting room's `new_users_per_minute` property while it is active. If null, the event will inherit it. This can only be set if the event's `total_active_users` prop */
214
+ newUsersPerMinute?: number | null;
215
+ /** An ISO 8601 timestamp that marks when to begin queueing all users before the event starts. The prequeue must start at least five minutes before `event_start_time`. */
216
+ prequeueStartTime?: string | null;
217
+ /** If set, the event will override the waiting room's `queueing_method` property while it is active. If null, the event will inherit it. */
218
+ queueingMethod?: string | null;
219
+ /** If set, the event will override the waiting room's `session_duration` property while it is active. If null, the event will inherit it. */
220
+ sessionDuration?: number | null;
221
+ /** If enabled, users in the prequeue will be shuffled randomly at the `event_start_time`. Requires that `prequeue_start_time` is not null. This is useful for situations when many users will join the even */
222
+ shuffleAtEventStart?: boolean | null;
223
+ /** Suspends or allows an event. If set to `true`, the event is ignored and traffic will be handled based on the waiting room configuration. */
224
+ suspended?: boolean | null;
225
+ /** If set, the event will override the waiting room's `total_active_users` property while it is active. If null, the event will inherit it. This can only be set if the event's `new_users_per_minute` prop */
226
+ totalActiveUsers?: number | null;
227
+ /** If set, the event will override the waiting room's `turnstile_action` property while it is active. If null, the event will inherit it. */
228
+ turnstileAction?: "log" | "infinite_queue" | null;
229
+ /** If set, the event will override the waiting room's `turnstile_mode` property while it is active. If null, the event will inherit it. */
230
+ turnstileMode?: "off" | "invisible" | "visible_non_interactive" | "visible_managed" | null;
231
+ }
232
+ export declare const UpdateEventResponse: Schema.Schema<UpdateEventResponse>;
233
+ export type UpdateEventError = DefaultErrors;
234
+ export declare const updateEvent: API.OperationMethod<UpdateEventRequest, UpdateEventResponse, UpdateEventError, Credentials | HttpClient.HttpClient>;
235
+ export interface PatchEventRequest {
236
+ waitingRoomId: string;
237
+ eventId: string;
238
+ /** Path param: Identifier. */
239
+ zoneId: string;
240
+ /** Body param: An ISO 8601 timestamp that marks the end of the event. */
241
+ eventEndTime: string;
242
+ /** Body param: An ISO 8601 timestamp that marks the start of the event. At this time, queued users will be processed with the event's configuration. The start time must be at least one minute before `eve */
243
+ eventStartTime: string;
244
+ /** Body param: A unique name to identify the event. Only alphanumeric characters, hyphens and underscores are allowed. */
245
+ name: string;
246
+ /** Body param: If set, the event will override the waiting room's `custom_page_html` property while it is active. If null, the event will inherit it. */
247
+ customPageHtml?: string | null;
248
+ /** Body param: A note that you can use to add more details about the event. */
249
+ description?: string;
250
+ /** Body param: If set, the event will override the waiting room's `disable_session_renewal` property while it is active. If null, the event will inherit it. */
251
+ disableSessionRenewal?: boolean | null;
252
+ /** Body param: If set, the event will override the waiting room's `new_users_per_minute` property while it is active. If null, the event will inherit it. This can only be set if the event's `total_active */
253
+ newUsersPerMinute?: number | null;
254
+ /** Body param: An ISO 8601 timestamp that marks when to begin queueing all users before the event starts. The prequeue must start at least five minutes before `event_start_time`. */
255
+ prequeueStartTime?: string | null;
256
+ /** Body param: If set, the event will override the waiting room's `queueing_method` property while it is active. If null, the event will inherit it. */
257
+ queueingMethod?: string | null;
258
+ /** Body param: If set, the event will override the waiting room's `session_duration` property while it is active. If null, the event will inherit it. */
259
+ sessionDuration?: number | null;
260
+ /** Body param: If enabled, users in the prequeue will be shuffled randomly at the `event_start_time`. Requires that `prequeue_start_time` is not null. This is useful for situations when many users will j */
261
+ shuffleAtEventStart?: boolean;
262
+ /** Body param: Suspends or allows an event. If set to `true`, the event is ignored and traffic will be handled based on the waiting room configuration. */
263
+ suspended?: boolean;
264
+ /** Body param: If set, the event will override the waiting room's `total_active_users` property while it is active. If null, the event will inherit it. This can only be set if the event's `new_users_per_ */
265
+ totalActiveUsers?: number | null;
266
+ /** Body param: If set, the event will override the waiting room's `turnstile_action` property while it is active. If null, the event will inherit it. */
267
+ turnstileAction?: "log" | "infinite_queue" | null;
268
+ /** Body param: If set, the event will override the waiting room's `turnstile_mode` property while it is active. If null, the event will inherit it. */
269
+ turnstileMode?: "off" | "invisible" | "visible_non_interactive" | "visible_managed" | null;
270
+ }
271
+ export declare const PatchEventRequest: Schema.Schema<PatchEventRequest>;
272
+ export interface PatchEventResponse {
273
+ id?: string | null;
274
+ createdOn?: string | null;
275
+ /** If set, the event will override the waiting room's `custom_page_html` property while it is active. If null, the event will inherit it. */
276
+ customPageHtml?: string | null;
277
+ /** A note that you can use to add more details about the event. */
278
+ description?: string | null;
279
+ /** If set, the event will override the waiting room's `disable_session_renewal` property while it is active. If null, the event will inherit it. */
280
+ disableSessionRenewal?: boolean | null;
281
+ /** An ISO 8601 timestamp that marks the end of the event. */
282
+ eventEndTime?: string | null;
283
+ /** An ISO 8601 timestamp that marks the start of the event. At this time, queued users will be processed with the event's configuration. The start time must be at least one minute before `event_end_time` */
284
+ eventStartTime?: string | null;
285
+ modifiedOn?: string | null;
286
+ /** A unique name to identify the event. Only alphanumeric characters, hyphens and underscores are allowed. */
287
+ name?: string | null;
288
+ /** If set, the event will override the waiting room's `new_users_per_minute` property while it is active. If null, the event will inherit it. This can only be set if the event's `total_active_users` prop */
289
+ newUsersPerMinute?: number | null;
290
+ /** An ISO 8601 timestamp that marks when to begin queueing all users before the event starts. The prequeue must start at least five minutes before `event_start_time`. */
291
+ prequeueStartTime?: string | null;
292
+ /** If set, the event will override the waiting room's `queueing_method` property while it is active. If null, the event will inherit it. */
293
+ queueingMethod?: string | null;
294
+ /** If set, the event will override the waiting room's `session_duration` property while it is active. If null, the event will inherit it. */
295
+ sessionDuration?: number | null;
296
+ /** If enabled, users in the prequeue will be shuffled randomly at the `event_start_time`. Requires that `prequeue_start_time` is not null. This is useful for situations when many users will join the even */
297
+ shuffleAtEventStart?: boolean | null;
298
+ /** Suspends or allows an event. If set to `true`, the event is ignored and traffic will be handled based on the waiting room configuration. */
299
+ suspended?: boolean | null;
300
+ /** If set, the event will override the waiting room's `total_active_users` property while it is active. If null, the event will inherit it. This can only be set if the event's `new_users_per_minute` prop */
301
+ totalActiveUsers?: number | null;
302
+ /** If set, the event will override the waiting room's `turnstile_action` property while it is active. If null, the event will inherit it. */
303
+ turnstileAction?: "log" | "infinite_queue" | null;
304
+ /** If set, the event will override the waiting room's `turnstile_mode` property while it is active. If null, the event will inherit it. */
305
+ turnstileMode?: "off" | "invisible" | "visible_non_interactive" | "visible_managed" | null;
306
+ }
307
+ export declare const PatchEventResponse: Schema.Schema<PatchEventResponse>;
308
+ export type PatchEventError = DefaultErrors;
309
+ export declare const patchEvent: API.OperationMethod<PatchEventRequest, PatchEventResponse, PatchEventError, Credentials | HttpClient.HttpClient>;
310
+ export interface DeleteEventRequest {
311
+ waitingRoomId: string;
312
+ eventId: string;
313
+ /** Identifier. */
314
+ zoneId: string;
315
+ }
316
+ export declare const DeleteEventRequest: Schema.Schema<DeleteEventRequest>;
317
+ export interface DeleteEventResponse {
318
+ id?: string | null;
319
+ }
320
+ export declare const DeleteEventResponse: Schema.Schema<DeleteEventResponse>;
321
+ export type DeleteEventError = DefaultErrors;
322
+ export declare const deleteEvent: API.OperationMethod<DeleteEventRequest, DeleteEventResponse, DeleteEventError, Credentials | HttpClient.HttpClient>;
323
+ export interface GetEventDetailRequest {
324
+ waitingRoomId: string;
325
+ eventId: string;
326
+ /** Identifier. */
327
+ zoneId: string;
328
+ }
329
+ export declare const GetEventDetailRequest: Schema.Schema<GetEventDetailRequest>;
330
+ export interface GetEventDetailResponse {
331
+ id?: string | null;
332
+ createdOn?: string | null;
333
+ customPageHtml?: string | null;
334
+ /** A note that you can use to add more details about the event. */
335
+ description?: string | null;
336
+ disableSessionRenewal?: boolean | null;
337
+ /** An ISO 8601 timestamp that marks the end of the event. */
338
+ eventEndTime?: string | null;
339
+ /** An ISO 8601 timestamp that marks the start of the event. At this time, queued users will be processed with the event's configuration. The start time must be at least one minute before `event_end_time` */
340
+ eventStartTime?: string | null;
341
+ modifiedOn?: string | null;
342
+ /** A unique name to identify the event. Only alphanumeric characters, hyphens and underscores are allowed. */
343
+ name?: string | null;
344
+ newUsersPerMinute?: number | null;
345
+ /** An ISO 8601 timestamp that marks when to begin queueing all users before the event starts. The prequeue must start at least five minutes before `event_start_time`. */
346
+ prequeueStartTime?: string | null;
347
+ queueingMethod?: string | null;
348
+ sessionDuration?: number | null;
349
+ /** If enabled, users in the prequeue will be shuffled randomly at the `event_start_time`. Requires that `prequeue_start_time` is not null. This is useful for situations when many users will join the even */
350
+ shuffleAtEventStart?: boolean | null;
351
+ /** Suspends or allows an event. If set to `true`, the event is ignored and traffic will be handled based on the waiting room configuration. */
352
+ suspended?: boolean | null;
353
+ totalActiveUsers?: number | null;
354
+ }
355
+ export declare const GetEventDetailResponse: Schema.Schema<GetEventDetailResponse>;
356
+ export type GetEventDetailError = DefaultErrors;
357
+ export declare const getEventDetail: API.OperationMethod<GetEventDetailRequest, GetEventDetailResponse, GetEventDetailError, Credentials | HttpClient.HttpClient>;
358
+ export interface PreviewPageRequest {
359
+ /** Path param: Identifier. */
360
+ zoneId: string;
361
+ /** Body param: Only available for the Waiting Room Advanced subscription. This is a template html file that will be rendered at the edge. If no custom_page_html is provided, the default waiting room will */
362
+ customHtml: string;
363
+ }
364
+ export declare const PreviewPageRequest: Schema.Schema<PreviewPageRequest>;
365
+ export interface PreviewPageResponse {
366
+ /** URL where the custom waiting room page can temporarily be previewed. */
367
+ previewUrl?: string | null;
368
+ }
369
+ export declare const PreviewPageResponse: Schema.Schema<PreviewPageResponse>;
370
+ export type PreviewPageError = DefaultErrors;
371
+ export declare const previewPage: API.OperationMethod<PreviewPageRequest, PreviewPageResponse, PreviewPageError, Credentials | HttpClient.HttpClient>;
372
+ export interface GetRuleRequest {
373
+ waitingRoomId: string;
374
+ /** Identifier. */
375
+ zoneId: string;
376
+ }
377
+ export declare const GetRuleRequest: Schema.Schema<GetRuleRequest>;
378
+ export type GetRuleResponse = {
379
+ id?: string | null;
380
+ action?: "bypass_waiting_room" | null;
381
+ description?: string | null;
382
+ enabled?: boolean | null;
383
+ expression?: string | null;
384
+ lastUpdated?: string | null;
385
+ version?: string | null;
386
+ }[];
387
+ export declare const GetRuleResponse: Schema.Schema<GetRuleResponse>;
388
+ export type GetRuleError = DefaultErrors;
389
+ export declare const getRule: API.OperationMethod<GetRuleRequest, GetRuleResponse, GetRuleError, Credentials | HttpClient.HttpClient>;
390
+ export interface CreateRuleRequest {
391
+ waitingRoomId: string;
392
+ /** Path param: Identifier. */
393
+ zoneId: string;
394
+ /** Body param: */
395
+ rules: {
396
+ action: "bypass_waiting_room";
397
+ expression: string;
398
+ description?: string;
399
+ enabled?: boolean;
400
+ };
401
+ }
402
+ export declare const CreateRuleRequest: Schema.Schema<CreateRuleRequest>;
403
+ export type CreateRuleResponse = {
404
+ id?: string | null;
405
+ action?: "bypass_waiting_room" | null;
406
+ description?: string | null;
407
+ enabled?: boolean | null;
408
+ expression?: string | null;
409
+ lastUpdated?: string | null;
410
+ version?: string | null;
411
+ }[];
412
+ export declare const CreateRuleResponse: Schema.Schema<CreateRuleResponse>;
413
+ export type CreateRuleError = DefaultErrors;
414
+ export declare const createRule: API.OperationMethod<CreateRuleRequest, CreateRuleResponse, CreateRuleError, Credentials | HttpClient.HttpClient>;
415
+ export interface UpdateRuleRequest {
416
+ waitingRoomId: string;
417
+ /** Path param: Identifier. */
418
+ zoneId: string;
419
+ /** Body param: */
420
+ rules: {
421
+ action: "bypass_waiting_room";
422
+ expression: string;
423
+ description?: string;
424
+ enabled?: boolean;
425
+ }[];
426
+ }
427
+ export declare const UpdateRuleRequest: Schema.Schema<UpdateRuleRequest>;
428
+ export type UpdateRuleResponse = {
429
+ id?: string | null;
430
+ action?: "bypass_waiting_room" | null;
431
+ description?: string | null;
432
+ enabled?: boolean | null;
433
+ expression?: string | null;
434
+ lastUpdated?: string | null;
435
+ version?: string | null;
436
+ }[];
437
+ export declare const UpdateRuleResponse: Schema.Schema<UpdateRuleResponse>;
438
+ export type UpdateRuleError = DefaultErrors;
439
+ export declare const updateRule: API.OperationMethod<UpdateRuleRequest, UpdateRuleResponse, UpdateRuleError, Credentials | HttpClient.HttpClient>;
440
+ export interface PatchRuleRequest {
441
+ waitingRoomId: string;
442
+ ruleId: string;
443
+ /** Path param: Identifier. */
444
+ zoneId: string;
445
+ /** Body param: The action to take when the expression matches. */
446
+ action: "bypass_waiting_room";
447
+ /** Body param: Criteria defining when there is a match for the current rule. */
448
+ expression: string;
449
+ /** Body param: The description of the rule. */
450
+ description?: string;
451
+ /** Body param: When set to true, the rule is enabled. */
452
+ enabled?: boolean;
453
+ /** Body param: Reorder the position of a rule */
454
+ position?: {
455
+ index?: number;
456
+ } | {
457
+ before?: string;
458
+ } | {
459
+ after?: string;
460
+ };
461
+ }
462
+ export declare const PatchRuleRequest: Schema.Schema<PatchRuleRequest>;
463
+ export type PatchRuleResponse = {
464
+ id?: string | null;
465
+ action?: "bypass_waiting_room" | null;
466
+ description?: string | null;
467
+ enabled?: boolean | null;
468
+ expression?: string | null;
469
+ lastUpdated?: string | null;
470
+ version?: string | null;
471
+ }[];
472
+ export declare const PatchRuleResponse: Schema.Schema<PatchRuleResponse>;
473
+ export type PatchRuleError = DefaultErrors;
474
+ export declare const patchRule: API.OperationMethod<PatchRuleRequest, PatchRuleResponse, PatchRuleError, Credentials | HttpClient.HttpClient>;
475
+ export interface DeleteRuleRequest {
476
+ waitingRoomId: string;
477
+ ruleId: string;
478
+ /** Identifier. */
479
+ zoneId: string;
480
+ }
481
+ export declare const DeleteRuleRequest: Schema.Schema<DeleteRuleRequest>;
482
+ export type DeleteRuleResponse = {
483
+ id?: string | null;
484
+ action?: "bypass_waiting_room" | null;
485
+ description?: string | null;
486
+ enabled?: boolean | null;
487
+ expression?: string | null;
488
+ lastUpdated?: string | null;
489
+ version?: string | null;
490
+ }[];
491
+ export declare const DeleteRuleResponse: Schema.Schema<DeleteRuleResponse>;
492
+ export type DeleteRuleError = DefaultErrors;
493
+ export declare const deleteRule: API.OperationMethod<DeleteRuleRequest, DeleteRuleResponse, DeleteRuleError, Credentials | HttpClient.HttpClient>;
494
+ export interface GetSettingRequest {
495
+ /** Identifier. */
496
+ zoneId: string;
497
+ }
498
+ export declare const GetSettingRequest: Schema.Schema<GetSettingRequest>;
499
+ export interface GetSettingResponse {
500
+ /** Whether to allow verified search engine crawlers to bypass all waiting rooms on this zone. Verified search engine crawlers will not be tracked or counted by the waiting room system, and will not appea */
501
+ searchEngineCrawlerBypass: boolean;
502
+ }
503
+ export declare const GetSettingResponse: Schema.Schema<GetSettingResponse>;
504
+ export type GetSettingError = DefaultErrors;
505
+ export declare const getSetting: API.OperationMethod<GetSettingRequest, GetSettingResponse, GetSettingError, Credentials | HttpClient.HttpClient>;
506
+ export interface PutSettingRequest {
507
+ /** Path param: Identifier. */
508
+ zoneId: string;
509
+ /** Body param: Whether to allow verified search engine crawlers to bypass all waiting rooms on this zone. Verified search engine crawlers will not be tracked or counted by the waiting room system, and wi */
510
+ searchEngineCrawlerBypass?: boolean;
511
+ }
512
+ export declare const PutSettingRequest: Schema.Schema<PutSettingRequest>;
513
+ export interface PutSettingResponse {
514
+ /** Whether to allow verified search engine crawlers to bypass all waiting rooms on this zone. Verified search engine crawlers will not be tracked or counted by the waiting room system, and will not appea */
515
+ searchEngineCrawlerBypass: boolean;
516
+ }
517
+ export declare const PutSettingResponse: Schema.Schema<PutSettingResponse>;
518
+ export type PutSettingError = DefaultErrors;
519
+ export declare const putSetting: API.OperationMethod<PutSettingRequest, PutSettingResponse, PutSettingError, Credentials | HttpClient.HttpClient>;
520
+ export interface PatchSettingRequest {
521
+ /** Path param: Identifier. */
522
+ zoneId: string;
523
+ /** Body param: Whether to allow verified search engine crawlers to bypass all waiting rooms on this zone. Verified search engine crawlers will not be tracked or counted by the waiting room system, and wi */
524
+ searchEngineCrawlerBypass?: boolean;
525
+ }
526
+ export declare const PatchSettingRequest: Schema.Schema<PatchSettingRequest>;
527
+ export interface PatchSettingResponse {
528
+ /** Whether to allow verified search engine crawlers to bypass all waiting rooms on this zone. Verified search engine crawlers will not be tracked or counted by the waiting room system, and will not appea */
529
+ searchEngineCrawlerBypass: boolean;
530
+ }
531
+ export declare const PatchSettingResponse: Schema.Schema<PatchSettingResponse>;
532
+ export type PatchSettingError = DefaultErrors;
533
+ export declare const patchSetting: API.OperationMethod<PatchSettingRequest, PatchSettingResponse, PatchSettingError, Credentials | HttpClient.HttpClient>;
534
+ export interface GetStatusRequest {
535
+ waitingRoomId: string;
536
+ /** Identifier. */
537
+ zoneId: string;
538
+ }
539
+ export declare const GetStatusRequest: Schema.Schema<GetStatusRequest>;
540
+ export interface GetStatusResponse {
541
+ estimatedQueuedUsers?: number | null;
542
+ estimatedTotalActiveUsers?: number | null;
543
+ eventId?: string | null;
544
+ maxEstimatedTimeMinutes?: number | null;
545
+ status?: "event_prequeueing" | "not_queueing" | "queueing" | "suspended" | null;
546
+ }
547
+ export declare const GetStatusResponse: Schema.Schema<GetStatusResponse>;
548
+ export type GetStatusError = DefaultErrors;
549
+ export declare const getStatus: API.OperationMethod<GetStatusRequest, GetStatusResponse, GetStatusError, Credentials | HttpClient.HttpClient>;
550
+ export interface GetWaitingRoomRequest {
551
+ waitingRoomId: string;
552
+ /** Identifier. */
553
+ zoneId: string;
554
+ }
555
+ export declare const GetWaitingRoomRequest: Schema.Schema<GetWaitingRoomRequest>;
556
+ export interface GetWaitingRoomResponse {
557
+ id?: string | null;
558
+ /** Only available for the Waiting Room Advanced subscription. Additional hostname and path combinations to which this waiting room will be applied. There is an implied wildcard at the end of the path. Th */
559
+ additionalRoutes?: {
560
+ host?: string | null;
561
+ path?: string | null;
562
+ }[] | null;
563
+ /** Configures cookie attributes for the waiting room cookie. This encrypted cookie stores a user's status in the waiting room, such as queue position. */
564
+ cookieAttributes?: {
565
+ samesite?: "auto" | "lax" | "none" | "strict" | null;
566
+ secure?: "auto" | "always" | "never" | null;
567
+ } | null;
568
+ /** Appends a '\_' + a custom suffix to the end of Cloudflare Waiting Room's cookie name( cf_waitingroom). If `cookie_suffix` is "abcd", the cookie name will be ` cf_waitingroom_abcd`. This field is req */
569
+ cookieSuffix?: string | null;
570
+ createdOn?: string | null;
571
+ /** Only available for the Waiting Room Advanced subscription. This is a template html file that will be rendered at the edge. If no custom_page_html is provided, the default waiting room will be used. Th */
572
+ customPageHtml?: string | null;
573
+ /** The language of the default page template. If no default_template_language is provided, then `en-US` (English) will be used. */
574
+ defaultTemplateLanguage?: "en-US" | "es-ES" | "de-DE" | "fr-FR" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "zh-CN" | "zh-TW" | "nl-NL" | "pl-PL" | "id-ID" | "tr-TR" | "ar-EG" | "ru-RU" | "fa-IR" | "bg-BG" | "hr-HR" | "cs-CZ" | "da-DK" | "fi-FI" | "lt-LT" | "ms-MY" | "nb-NO" | "ro-RO" | "el-GR" | "he-IL" | "hi-IN" | "hu-HU" | "sr-BA" | "sk-SK" | "sl-SI" | "sv-SE" | "tl-PH" | "th-TH" | "uk-UA" | "vi-VN" | null;
575
+ /** A note that you can use to add more details about the waiting room. */
576
+ description?: string | null;
577
+ /** Only available for the Waiting Room Advanced subscription. Disables automatic renewal of session cookies. If `true`, an accepted user will have session_duration minutes to browse the site. After that, */
578
+ disableSessionRenewal?: boolean | null;
579
+ /** A list of enabled origin commands. */
580
+ enabledOriginCommands?: "revoke"[] | null;
581
+ /** The host name to which the waiting room will be applied (no wildcards). Please do not include the scheme (http:// or https://). The host and path combination must be unique. */
582
+ host?: string | null;
583
+ /** Only available for the Waiting Room Advanced subscription. If `true`, requests to the waiting room with the header `Accept: application/json` will receive a JSON response object with information on th */
584
+ jsonResponseEnabled?: boolean | null;
585
+ modifiedOn?: string | null;
586
+ /** A unique name to identify the waiting room. Only alphanumeric characters, hyphens and underscores are allowed. */
587
+ name?: string | null;
588
+ /** Sets the number of new users that will be let into the route every minute. This value is used as baseline for the number of users that are let in per minute. So it is possible that there is a little m */
589
+ newUsersPerMinute?: number | null;
590
+ /** An ISO 8601 timestamp that marks when the next event will begin queueing. */
591
+ nextEventPrequeueStartTime?: string | null;
592
+ /** An ISO 8601 timestamp that marks when the next event will start. */
593
+ nextEventStartTime?: string | null;
594
+ /** Sets the path within the host to enable the waiting room on. The waiting room will be enabled for all subpaths as well. If there are two waiting rooms on the same subpath, the waiting room for the mos */
595
+ path?: string | null;
596
+ /** If queue_all is `true`, all the traffic that is coming to a route will be sent to the waiting room. No new traffic can get to the route once this field is set and estimated time will become unavailabl */
597
+ queueAll?: boolean | null;
598
+ /** Sets the queueing method used by the waiting room. Changing this parameter from the default queueing method is only available for the Waiting Room Advanced subscription. Regardless of the queueing m */
599
+ queueingMethod?: "fifo" | "random" | "passthrough" | "reject" | null;
600
+ /** HTTP status code returned to a user while in the queue. */
601
+ queueingStatusCode?: "200" | "202" | "429" | null;
602
+ /** Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the route. If a user is not seen by Cloudflare again in that time period, they will be treated as a new user that visits */
603
+ sessionDuration?: number | null;
604
+ /** Suspends or allows traffic going to the waiting room. If set to `true`, the traffic will not go to the waiting room. */
605
+ suspended?: boolean | null;
606
+ /** Sets the total number of active user sessions on the route at a point in time. A route is a combination of host and path on which a waiting room is available. This value is used as a baseline for the */
607
+ totalActiveUsers?: number | null;
608
+ /** Which action to take when a bot is detected using Turnstile. `log` will have no impact on queueing behavior, simply keeping track of how many bots are detected in Waiting Room Analytics. `infinite_que */
609
+ turnstileAction?: "log" | "infinite_queue" | null;
610
+ /** Which Turnstile widget type to use for detecting bot traffic. See [the Turnstile documentation](https://developers.cloudflare.com/turnstile/concepts/widget/#widget-types) for the definitions of these */
611
+ turnstileMode?: "off" | "invisible" | "visible_non_interactive" | "visible_managed" | null;
612
+ }
613
+ export declare const GetWaitingRoomResponse: Schema.Schema<GetWaitingRoomResponse>;
614
+ export type GetWaitingRoomError = DefaultErrors;
615
+ export declare const getWaitingRoom: API.OperationMethod<GetWaitingRoomRequest, GetWaitingRoomResponse, GetWaitingRoomError, Credentials | HttpClient.HttpClient>;
616
+ export interface ListWaitingRoomsRequest {
617
+ }
618
+ export declare const ListWaitingRoomsRequest: Schema.Schema<ListWaitingRoomsRequest>;
619
+ export type ListWaitingRoomsResponse = {
620
+ id?: string | null;
621
+ additionalRoutes?: {
622
+ host?: string | null;
623
+ path?: string | null;
624
+ }[] | null;
625
+ cookieAttributes?: {
626
+ samesite?: "auto" | "lax" | "none" | "strict" | null;
627
+ secure?: "auto" | "always" | "never" | null;
628
+ } | null;
629
+ cookieSuffix?: string | null;
630
+ createdOn?: string | null;
631
+ customPageHtml?: string | null;
632
+ defaultTemplateLanguage?: "en-US" | "es-ES" | "de-DE" | "fr-FR" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "zh-CN" | "zh-TW" | "nl-NL" | "pl-PL" | "id-ID" | "tr-TR" | "ar-EG" | "ru-RU" | "fa-IR" | "bg-BG" | "hr-HR" | "cs-CZ" | "da-DK" | "fi-FI" | "lt-LT" | "ms-MY" | "nb-NO" | "ro-RO" | "el-GR" | "he-IL" | "hi-IN" | "hu-HU" | "sr-BA" | "sk-SK" | "sl-SI" | "sv-SE" | "tl-PH" | "th-TH" | "uk-UA" | "vi-VN" | null;
633
+ description?: string | null;
634
+ disableSessionRenewal?: boolean | null;
635
+ enabledOriginCommands?: "revoke"[] | null;
636
+ host?: string | null;
637
+ jsonResponseEnabled?: boolean | null;
638
+ modifiedOn?: string | null;
639
+ name?: string | null;
640
+ newUsersPerMinute?: number | null;
641
+ nextEventPrequeueStartTime?: string | null;
642
+ nextEventStartTime?: string | null;
643
+ path?: string | null;
644
+ queueAll?: boolean | null;
645
+ queueingMethod?: "fifo" | "random" | "passthrough" | "reject" | null;
646
+ queueingStatusCode?: "200" | "202" | "429" | null;
647
+ sessionDuration?: number | null;
648
+ suspended?: boolean | null;
649
+ totalActiveUsers?: number | null;
650
+ turnstileAction?: "log" | "infinite_queue" | null;
651
+ turnstileMode?: "off" | "invisible" | "visible_non_interactive" | "visible_managed" | null;
652
+ }[];
653
+ export declare const ListWaitingRoomsResponse: Schema.Schema<ListWaitingRoomsResponse>;
654
+ export type ListWaitingRoomsError = DefaultErrors;
655
+ export declare const listWaitingRooms: API.OperationMethod<ListWaitingRoomsRequest, ListWaitingRoomsResponse, ListWaitingRoomsError, Credentials | HttpClient.HttpClient>;
656
+ export interface CreateWaitingRoomRequest {
657
+ /** Path param: Identifier. */
658
+ zoneId: string;
659
+ /** Body param: The host name to which the waiting room will be applied (no wildcards). Please do not include the scheme (http:// or https://). The host and path combination must be unique. */
660
+ host: string;
661
+ /** Body param: A unique name to identify the waiting room. Only alphanumeric characters, hyphens and underscores are allowed. */
662
+ name: string;
663
+ /** Body param: Sets the number of new users that will be let into the route every minute. This value is used as baseline for the number of users that are let in per minute. So it is possible that there i */
664
+ newUsersPerMinute: number;
665
+ /** Body param: Sets the total number of active user sessions on the route at a point in time. A route is a combination of host and path on which a waiting room is available. This value is used as a basel */
666
+ totalActiveUsers: number;
667
+ /** Body param: Only available for the Waiting Room Advanced subscription. Additional hostname and path combinations to which this waiting room will be applied. There is an implied wildcard at the end of */
668
+ additionalRoutes?: {
669
+ host?: string;
670
+ path?: string;
671
+ }[];
672
+ /** Body param: Configures cookie attributes for the waiting room cookie. This encrypted cookie stores a user's status in the waiting room, such as queue position. */
673
+ cookieAttributes?: {
674
+ samesite?: "auto" | "lax" | "none" | "strict";
675
+ secure?: "auto" | "always" | "never";
676
+ };
677
+ /** Body param: Appends a '\_' + a custom suffix to the end of Cloudflare Waiting Room's cookie name( cf_waitingroom). If `cookie_suffix` is "abcd", the cookie name will be ` cf_waitingroom_abcd`. This */
678
+ cookieSuffix?: string;
679
+ /** Body param: Only available for the Waiting Room Advanced subscription. This is a template html file that will be rendered at the edge. If no custom_page_html is provided, the default waiting room will */
680
+ customPageHtml?: string;
681
+ /** Body param: The language of the default page template. If no default_template_language is provided, then `en-US` (English) will be used. */
682
+ defaultTemplateLanguage?: "en-US" | "es-ES" | "de-DE" | "fr-FR" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "zh-CN" | "zh-TW" | "nl-NL" | "pl-PL" | "id-ID" | "tr-TR" | "ar-EG" | "ru-RU" | "fa-IR" | "bg-BG" | "hr-HR" | "cs-CZ" | "da-DK" | "fi-FI" | "lt-LT" | "ms-MY" | "nb-NO" | "ro-RO" | "el-GR" | "he-IL" | "hi-IN" | "hu-HU" | "sr-BA" | "sk-SK" | "sl-SI" | "sv-SE" | "tl-PH" | "th-TH" | "uk-UA" | "vi-VN";
683
+ /** Body param: A note that you can use to add more details about the waiting room. */
684
+ description?: string;
685
+ /** Body param: Only available for the Waiting Room Advanced subscription. Disables automatic renewal of session cookies. If `true`, an accepted user will have session_duration minutes to browse the site. */
686
+ disableSessionRenewal?: boolean;
687
+ /** Body param: A list of enabled origin commands. */
688
+ enabledOriginCommands?: "revoke"[];
689
+ /** Body param: Only available for the Waiting Room Advanced subscription. If `true`, requests to the waiting room with the header `Accept: application/json` will receive a JSON response object with infor */
690
+ jsonResponseEnabled?: boolean;
691
+ /** Body param: Sets the path within the host to enable the waiting room on. The waiting room will be enabled for all subpaths as well. If there are two waiting rooms on the same subpath, the waiting room */
692
+ path?: string;
693
+ /** Body param: If queue_all is `true`, all the traffic that is coming to a route will be sent to the waiting room. No new traffic can get to the route once this field is set and estimated time will becom */
694
+ queueAll?: boolean;
695
+ /** Body param: Sets the queueing method used by the waiting room. Changing this parameter from the default queueing method is only available for the Waiting Room Advanced subscription. Regardless of th */
696
+ queueingMethod?: "fifo" | "random" | "passthrough" | "reject";
697
+ /** Body param: HTTP status code returned to a user while in the queue. */
698
+ queueingStatusCode?: "200" | "202" | "429";
699
+ /** Body param: Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the route. If a user is not seen by Cloudflare again in that time period, they will be treated as a new user */
700
+ sessionDuration?: number;
701
+ /** Body param: Suspends or allows traffic going to the waiting room. If set to `true`, the traffic will not go to the waiting room. */
702
+ suspended?: boolean;
703
+ /** Body param: Which action to take when a bot is detected using Turnstile. `log` will have no impact on queueing behavior, simply keeping track of how many bots are detected in Waiting Room Analytics. ` */
704
+ turnstileAction?: "log" | "infinite_queue";
705
+ /** Body param: Which Turnstile widget type to use for detecting bot traffic. See [the Turnstile documentation](https://developers.cloudflare.com/turnstile/concepts/widget/#widget-types) for the definitio */
706
+ turnstileMode?: "off" | "invisible" | "visible_non_interactive" | "visible_managed";
707
+ }
708
+ export declare const CreateWaitingRoomRequest: Schema.Schema<CreateWaitingRoomRequest>;
709
+ export interface CreateWaitingRoomResponse {
710
+ id?: string | null;
711
+ /** Only available for the Waiting Room Advanced subscription. Additional hostname and path combinations to which this waiting room will be applied. There is an implied wildcard at the end of the path. Th */
712
+ additionalRoutes?: {
713
+ host?: string | null;
714
+ path?: string | null;
715
+ }[] | null;
716
+ /** Configures cookie attributes for the waiting room cookie. This encrypted cookie stores a user's status in the waiting room, such as queue position. */
717
+ cookieAttributes?: {
718
+ samesite?: "auto" | "lax" | "none" | "strict" | null;
719
+ secure?: "auto" | "always" | "never" | null;
720
+ } | null;
721
+ /** Appends a '\_' + a custom suffix to the end of Cloudflare Waiting Room's cookie name( cf_waitingroom). If `cookie_suffix` is "abcd", the cookie name will be ` cf_waitingroom_abcd`. This field is req */
722
+ cookieSuffix?: string | null;
723
+ createdOn?: string | null;
724
+ /** Only available for the Waiting Room Advanced subscription. This is a template html file that will be rendered at the edge. If no custom_page_html is provided, the default waiting room will be used. Th */
725
+ customPageHtml?: string | null;
726
+ /** The language of the default page template. If no default_template_language is provided, then `en-US` (English) will be used. */
727
+ defaultTemplateLanguage?: "en-US" | "es-ES" | "de-DE" | "fr-FR" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "zh-CN" | "zh-TW" | "nl-NL" | "pl-PL" | "id-ID" | "tr-TR" | "ar-EG" | "ru-RU" | "fa-IR" | "bg-BG" | "hr-HR" | "cs-CZ" | "da-DK" | "fi-FI" | "lt-LT" | "ms-MY" | "nb-NO" | "ro-RO" | "el-GR" | "he-IL" | "hi-IN" | "hu-HU" | "sr-BA" | "sk-SK" | "sl-SI" | "sv-SE" | "tl-PH" | "th-TH" | "uk-UA" | "vi-VN" | null;
728
+ /** A note that you can use to add more details about the waiting room. */
729
+ description?: string | null;
730
+ /** Only available for the Waiting Room Advanced subscription. Disables automatic renewal of session cookies. If `true`, an accepted user will have session_duration minutes to browse the site. After that, */
731
+ disableSessionRenewal?: boolean | null;
732
+ /** A list of enabled origin commands. */
733
+ enabledOriginCommands?: "revoke"[] | null;
734
+ /** The host name to which the waiting room will be applied (no wildcards). Please do not include the scheme (http:// or https://). The host and path combination must be unique. */
735
+ host?: string | null;
736
+ /** Only available for the Waiting Room Advanced subscription. If `true`, requests to the waiting room with the header `Accept: application/json` will receive a JSON response object with information on th */
737
+ jsonResponseEnabled?: boolean | null;
738
+ modifiedOn?: string | null;
739
+ /** A unique name to identify the waiting room. Only alphanumeric characters, hyphens and underscores are allowed. */
740
+ name?: string | null;
741
+ /** Sets the number of new users that will be let into the route every minute. This value is used as baseline for the number of users that are let in per minute. So it is possible that there is a little m */
742
+ newUsersPerMinute?: number | null;
743
+ /** An ISO 8601 timestamp that marks when the next event will begin queueing. */
744
+ nextEventPrequeueStartTime?: string | null;
745
+ /** An ISO 8601 timestamp that marks when the next event will start. */
746
+ nextEventStartTime?: string | null;
747
+ /** Sets the path within the host to enable the waiting room on. The waiting room will be enabled for all subpaths as well. If there are two waiting rooms on the same subpath, the waiting room for the mos */
748
+ path?: string | null;
749
+ /** If queue_all is `true`, all the traffic that is coming to a route will be sent to the waiting room. No new traffic can get to the route once this field is set and estimated time will become unavailabl */
750
+ queueAll?: boolean | null;
751
+ /** Sets the queueing method used by the waiting room. Changing this parameter from the default queueing method is only available for the Waiting Room Advanced subscription. Regardless of the queueing m */
752
+ queueingMethod?: "fifo" | "random" | "passthrough" | "reject" | null;
753
+ /** HTTP status code returned to a user while in the queue. */
754
+ queueingStatusCode?: "200" | "202" | "429" | null;
755
+ /** Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the route. If a user is not seen by Cloudflare again in that time period, they will be treated as a new user that visits */
756
+ sessionDuration?: number | null;
757
+ /** Suspends or allows traffic going to the waiting room. If set to `true`, the traffic will not go to the waiting room. */
758
+ suspended?: boolean | null;
759
+ /** Sets the total number of active user sessions on the route at a point in time. A route is a combination of host and path on which a waiting room is available. This value is used as a baseline for the */
760
+ totalActiveUsers?: number | null;
761
+ /** Which action to take when a bot is detected using Turnstile. `log` will have no impact on queueing behavior, simply keeping track of how many bots are detected in Waiting Room Analytics. `infinite_que */
762
+ turnstileAction?: "log" | "infinite_queue" | null;
763
+ /** Which Turnstile widget type to use for detecting bot traffic. See [the Turnstile documentation](https://developers.cloudflare.com/turnstile/concepts/widget/#widget-types) for the definitions of these */
764
+ turnstileMode?: "off" | "invisible" | "visible_non_interactive" | "visible_managed" | null;
765
+ }
766
+ export declare const CreateWaitingRoomResponse: Schema.Schema<CreateWaitingRoomResponse>;
767
+ export type CreateWaitingRoomError = DefaultErrors;
768
+ export declare const createWaitingRoom: API.OperationMethod<CreateWaitingRoomRequest, CreateWaitingRoomResponse, CreateWaitingRoomError, Credentials | HttpClient.HttpClient>;
769
+ export interface UpdateWaitingRoomRequest {
770
+ waitingRoomId: string;
771
+ /** Path param: Identifier. */
772
+ zoneId: string;
773
+ /** Body param: The host name to which the waiting room will be applied (no wildcards). Please do not include the scheme (http:// or https://). The host and path combination must be unique. */
774
+ host: string;
775
+ /** Body param: A unique name to identify the waiting room. Only alphanumeric characters, hyphens and underscores are allowed. */
776
+ name: string;
777
+ /** Body param: Sets the number of new users that will be let into the route every minute. This value is used as baseline for the number of users that are let in per minute. So it is possible that there i */
778
+ newUsersPerMinute: number;
779
+ /** Body param: Sets the total number of active user sessions on the route at a point in time. A route is a combination of host and path on which a waiting room is available. This value is used as a basel */
780
+ totalActiveUsers: number;
781
+ /** Body param: Only available for the Waiting Room Advanced subscription. Additional hostname and path combinations to which this waiting room will be applied. There is an implied wildcard at the end of */
782
+ additionalRoutes?: {
783
+ host?: string;
784
+ path?: string;
785
+ }[];
786
+ /** Body param: Configures cookie attributes for the waiting room cookie. This encrypted cookie stores a user's status in the waiting room, such as queue position. */
787
+ cookieAttributes?: {
788
+ samesite?: "auto" | "lax" | "none" | "strict";
789
+ secure?: "auto" | "always" | "never";
790
+ };
791
+ /** Body param: Appends a '\_' + a custom suffix to the end of Cloudflare Waiting Room's cookie name( cf_waitingroom). If `cookie_suffix` is "abcd", the cookie name will be ` cf_waitingroom_abcd`. This */
792
+ cookieSuffix?: string;
793
+ /** Body param: Only available for the Waiting Room Advanced subscription. This is a template html file that will be rendered at the edge. If no custom_page_html is provided, the default waiting room will */
794
+ customPageHtml?: string;
795
+ /** Body param: The language of the default page template. If no default_template_language is provided, then `en-US` (English) will be used. */
796
+ defaultTemplateLanguage?: "en-US" | "es-ES" | "de-DE" | "fr-FR" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "zh-CN" | "zh-TW" | "nl-NL" | "pl-PL" | "id-ID" | "tr-TR" | "ar-EG" | "ru-RU" | "fa-IR" | "bg-BG" | "hr-HR" | "cs-CZ" | "da-DK" | "fi-FI" | "lt-LT" | "ms-MY" | "nb-NO" | "ro-RO" | "el-GR" | "he-IL" | "hi-IN" | "hu-HU" | "sr-BA" | "sk-SK" | "sl-SI" | "sv-SE" | "tl-PH" | "th-TH" | "uk-UA" | "vi-VN";
797
+ /** Body param: A note that you can use to add more details about the waiting room. */
798
+ description?: string;
799
+ /** Body param: Only available for the Waiting Room Advanced subscription. Disables automatic renewal of session cookies. If `true`, an accepted user will have session_duration minutes to browse the site. */
800
+ disableSessionRenewal?: boolean;
801
+ /** Body param: A list of enabled origin commands. */
802
+ enabledOriginCommands?: "revoke"[];
803
+ /** Body param: Only available for the Waiting Room Advanced subscription. If `true`, requests to the waiting room with the header `Accept: application/json` will receive a JSON response object with infor */
804
+ jsonResponseEnabled?: boolean;
805
+ /** Body param: Sets the path within the host to enable the waiting room on. The waiting room will be enabled for all subpaths as well. If there are two waiting rooms on the same subpath, the waiting room */
806
+ path?: string;
807
+ /** Body param: If queue_all is `true`, all the traffic that is coming to a route will be sent to the waiting room. No new traffic can get to the route once this field is set and estimated time will becom */
808
+ queueAll?: boolean;
809
+ /** Body param: Sets the queueing method used by the waiting room. Changing this parameter from the default queueing method is only available for the Waiting Room Advanced subscription. Regardless of th */
810
+ queueingMethod?: "fifo" | "random" | "passthrough" | "reject";
811
+ /** Body param: HTTP status code returned to a user while in the queue. */
812
+ queueingStatusCode?: "200" | "202" | "429";
813
+ /** Body param: Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the route. If a user is not seen by Cloudflare again in that time period, they will be treated as a new user */
814
+ sessionDuration?: number;
815
+ /** Body param: Suspends or allows traffic going to the waiting room. If set to `true`, the traffic will not go to the waiting room. */
816
+ suspended?: boolean;
817
+ /** Body param: Which action to take when a bot is detected using Turnstile. `log` will have no impact on queueing behavior, simply keeping track of how many bots are detected in Waiting Room Analytics. ` */
818
+ turnstileAction?: "log" | "infinite_queue";
819
+ /** Body param: Which Turnstile widget type to use for detecting bot traffic. See [the Turnstile documentation](https://developers.cloudflare.com/turnstile/concepts/widget/#widget-types) for the definitio */
820
+ turnstileMode?: "off" | "invisible" | "visible_non_interactive" | "visible_managed";
821
+ }
822
+ export declare const UpdateWaitingRoomRequest: Schema.Schema<UpdateWaitingRoomRequest>;
823
+ export interface UpdateWaitingRoomResponse {
824
+ id?: string | null;
825
+ /** Only available for the Waiting Room Advanced subscription. Additional hostname and path combinations to which this waiting room will be applied. There is an implied wildcard at the end of the path. Th */
826
+ additionalRoutes?: {
827
+ host?: string | null;
828
+ path?: string | null;
829
+ }[] | null;
830
+ /** Configures cookie attributes for the waiting room cookie. This encrypted cookie stores a user's status in the waiting room, such as queue position. */
831
+ cookieAttributes?: {
832
+ samesite?: "auto" | "lax" | "none" | "strict" | null;
833
+ secure?: "auto" | "always" | "never" | null;
834
+ } | null;
835
+ /** Appends a '\_' + a custom suffix to the end of Cloudflare Waiting Room's cookie name( cf_waitingroom). If `cookie_suffix` is "abcd", the cookie name will be ` cf_waitingroom_abcd`. This field is req */
836
+ cookieSuffix?: string | null;
837
+ createdOn?: string | null;
838
+ /** Only available for the Waiting Room Advanced subscription. This is a template html file that will be rendered at the edge. If no custom_page_html is provided, the default waiting room will be used. Th */
839
+ customPageHtml?: string | null;
840
+ /** The language of the default page template. If no default_template_language is provided, then `en-US` (English) will be used. */
841
+ defaultTemplateLanguage?: "en-US" | "es-ES" | "de-DE" | "fr-FR" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "zh-CN" | "zh-TW" | "nl-NL" | "pl-PL" | "id-ID" | "tr-TR" | "ar-EG" | "ru-RU" | "fa-IR" | "bg-BG" | "hr-HR" | "cs-CZ" | "da-DK" | "fi-FI" | "lt-LT" | "ms-MY" | "nb-NO" | "ro-RO" | "el-GR" | "he-IL" | "hi-IN" | "hu-HU" | "sr-BA" | "sk-SK" | "sl-SI" | "sv-SE" | "tl-PH" | "th-TH" | "uk-UA" | "vi-VN" | null;
842
+ /** A note that you can use to add more details about the waiting room. */
843
+ description?: string | null;
844
+ /** Only available for the Waiting Room Advanced subscription. Disables automatic renewal of session cookies. If `true`, an accepted user will have session_duration minutes to browse the site. After that, */
845
+ disableSessionRenewal?: boolean | null;
846
+ /** A list of enabled origin commands. */
847
+ enabledOriginCommands?: "revoke"[] | null;
848
+ /** The host name to which the waiting room will be applied (no wildcards). Please do not include the scheme (http:// or https://). The host and path combination must be unique. */
849
+ host?: string | null;
850
+ /** Only available for the Waiting Room Advanced subscription. If `true`, requests to the waiting room with the header `Accept: application/json` will receive a JSON response object with information on th */
851
+ jsonResponseEnabled?: boolean | null;
852
+ modifiedOn?: string | null;
853
+ /** A unique name to identify the waiting room. Only alphanumeric characters, hyphens and underscores are allowed. */
854
+ name?: string | null;
855
+ /** Sets the number of new users that will be let into the route every minute. This value is used as baseline for the number of users that are let in per minute. So it is possible that there is a little m */
856
+ newUsersPerMinute?: number | null;
857
+ /** An ISO 8601 timestamp that marks when the next event will begin queueing. */
858
+ nextEventPrequeueStartTime?: string | null;
859
+ /** An ISO 8601 timestamp that marks when the next event will start. */
860
+ nextEventStartTime?: string | null;
861
+ /** Sets the path within the host to enable the waiting room on. The waiting room will be enabled for all subpaths as well. If there are two waiting rooms on the same subpath, the waiting room for the mos */
862
+ path?: string | null;
863
+ /** If queue_all is `true`, all the traffic that is coming to a route will be sent to the waiting room. No new traffic can get to the route once this field is set and estimated time will become unavailabl */
864
+ queueAll?: boolean | null;
865
+ /** Sets the queueing method used by the waiting room. Changing this parameter from the default queueing method is only available for the Waiting Room Advanced subscription. Regardless of the queueing m */
866
+ queueingMethod?: "fifo" | "random" | "passthrough" | "reject" | null;
867
+ /** HTTP status code returned to a user while in the queue. */
868
+ queueingStatusCode?: "200" | "202" | "429" | null;
869
+ /** Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the route. If a user is not seen by Cloudflare again in that time period, they will be treated as a new user that visits */
870
+ sessionDuration?: number | null;
871
+ /** Suspends or allows traffic going to the waiting room. If set to `true`, the traffic will not go to the waiting room. */
872
+ suspended?: boolean | null;
873
+ /** Sets the total number of active user sessions on the route at a point in time. A route is a combination of host and path on which a waiting room is available. This value is used as a baseline for the */
874
+ totalActiveUsers?: number | null;
875
+ /** Which action to take when a bot is detected using Turnstile. `log` will have no impact on queueing behavior, simply keeping track of how many bots are detected in Waiting Room Analytics. `infinite_que */
876
+ turnstileAction?: "log" | "infinite_queue" | null;
877
+ /** Which Turnstile widget type to use for detecting bot traffic. See [the Turnstile documentation](https://developers.cloudflare.com/turnstile/concepts/widget/#widget-types) for the definitions of these */
878
+ turnstileMode?: "off" | "invisible" | "visible_non_interactive" | "visible_managed" | null;
879
+ }
880
+ export declare const UpdateWaitingRoomResponse: Schema.Schema<UpdateWaitingRoomResponse>;
881
+ export type UpdateWaitingRoomError = DefaultErrors;
882
+ export declare const updateWaitingRoom: API.OperationMethod<UpdateWaitingRoomRequest, UpdateWaitingRoomResponse, UpdateWaitingRoomError, Credentials | HttpClient.HttpClient>;
883
+ export interface PatchWaitingRoomRequest {
884
+ waitingRoomId: string;
885
+ /** Path param: Identifier. */
886
+ zoneId: string;
887
+ /** Body param: The host name to which the waiting room will be applied (no wildcards). Please do not include the scheme (http:// or https://). The host and path combination must be unique. */
888
+ host: string;
889
+ /** Body param: A unique name to identify the waiting room. Only alphanumeric characters, hyphens and underscores are allowed. */
890
+ name: string;
891
+ /** Body param: Sets the number of new users that will be let into the route every minute. This value is used as baseline for the number of users that are let in per minute. So it is possible that there i */
892
+ newUsersPerMinute: number;
893
+ /** Body param: Sets the total number of active user sessions on the route at a point in time. A route is a combination of host and path on which a waiting room is available. This value is used as a basel */
894
+ totalActiveUsers: number;
895
+ /** Body param: Only available for the Waiting Room Advanced subscription. Additional hostname and path combinations to which this waiting room will be applied. There is an implied wildcard at the end of */
896
+ additionalRoutes?: {
897
+ host?: string;
898
+ path?: string;
899
+ }[];
900
+ /** Body param: Configures cookie attributes for the waiting room cookie. This encrypted cookie stores a user's status in the waiting room, such as queue position. */
901
+ cookieAttributes?: {
902
+ samesite?: "auto" | "lax" | "none" | "strict";
903
+ secure?: "auto" | "always" | "never";
904
+ };
905
+ /** Body param: Appends a '\_' + a custom suffix to the end of Cloudflare Waiting Room's cookie name( cf_waitingroom). If `cookie_suffix` is "abcd", the cookie name will be ` cf_waitingroom_abcd`. This */
906
+ cookieSuffix?: string;
907
+ /** Body param: Only available for the Waiting Room Advanced subscription. This is a template html file that will be rendered at the edge. If no custom_page_html is provided, the default waiting room will */
908
+ customPageHtml?: string;
909
+ /** Body param: The language of the default page template. If no default_template_language is provided, then `en-US` (English) will be used. */
910
+ defaultTemplateLanguage?: "en-US" | "es-ES" | "de-DE" | "fr-FR" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "zh-CN" | "zh-TW" | "nl-NL" | "pl-PL" | "id-ID" | "tr-TR" | "ar-EG" | "ru-RU" | "fa-IR" | "bg-BG" | "hr-HR" | "cs-CZ" | "da-DK" | "fi-FI" | "lt-LT" | "ms-MY" | "nb-NO" | "ro-RO" | "el-GR" | "he-IL" | "hi-IN" | "hu-HU" | "sr-BA" | "sk-SK" | "sl-SI" | "sv-SE" | "tl-PH" | "th-TH" | "uk-UA" | "vi-VN";
911
+ /** Body param: A note that you can use to add more details about the waiting room. */
912
+ description?: string;
913
+ /** Body param: Only available for the Waiting Room Advanced subscription. Disables automatic renewal of session cookies. If `true`, an accepted user will have session_duration minutes to browse the site. */
914
+ disableSessionRenewal?: boolean;
915
+ /** Body param: A list of enabled origin commands. */
916
+ enabledOriginCommands?: "revoke"[];
917
+ /** Body param: Only available for the Waiting Room Advanced subscription. If `true`, requests to the waiting room with the header `Accept: application/json` will receive a JSON response object with infor */
918
+ jsonResponseEnabled?: boolean;
919
+ /** Body param: Sets the path within the host to enable the waiting room on. The waiting room will be enabled for all subpaths as well. If there are two waiting rooms on the same subpath, the waiting room */
920
+ path?: string;
921
+ /** Body param: If queue_all is `true`, all the traffic that is coming to a route will be sent to the waiting room. No new traffic can get to the route once this field is set and estimated time will becom */
922
+ queueAll?: boolean;
923
+ /** Body param: Sets the queueing method used by the waiting room. Changing this parameter from the default queueing method is only available for the Waiting Room Advanced subscription. Regardless of th */
924
+ queueingMethod?: "fifo" | "random" | "passthrough" | "reject";
925
+ /** Body param: HTTP status code returned to a user while in the queue. */
926
+ queueingStatusCode?: "200" | "202" | "429";
927
+ /** Body param: Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the route. If a user is not seen by Cloudflare again in that time period, they will be treated as a new user */
928
+ sessionDuration?: number;
929
+ /** Body param: Suspends or allows traffic going to the waiting room. If set to `true`, the traffic will not go to the waiting room. */
930
+ suspended?: boolean;
931
+ /** Body param: Which action to take when a bot is detected using Turnstile. `log` will have no impact on queueing behavior, simply keeping track of how many bots are detected in Waiting Room Analytics. ` */
932
+ turnstileAction?: "log" | "infinite_queue";
933
+ /** Body param: Which Turnstile widget type to use for detecting bot traffic. See [the Turnstile documentation](https://developers.cloudflare.com/turnstile/concepts/widget/#widget-types) for the definitio */
934
+ turnstileMode?: "off" | "invisible" | "visible_non_interactive" | "visible_managed";
935
+ }
936
+ export declare const PatchWaitingRoomRequest: Schema.Schema<PatchWaitingRoomRequest>;
937
+ export interface PatchWaitingRoomResponse {
938
+ id?: string | null;
939
+ /** Only available for the Waiting Room Advanced subscription. Additional hostname and path combinations to which this waiting room will be applied. There is an implied wildcard at the end of the path. Th */
940
+ additionalRoutes?: {
941
+ host?: string | null;
942
+ path?: string | null;
943
+ }[] | null;
944
+ /** Configures cookie attributes for the waiting room cookie. This encrypted cookie stores a user's status in the waiting room, such as queue position. */
945
+ cookieAttributes?: {
946
+ samesite?: "auto" | "lax" | "none" | "strict" | null;
947
+ secure?: "auto" | "always" | "never" | null;
948
+ } | null;
949
+ /** Appends a '\_' + a custom suffix to the end of Cloudflare Waiting Room's cookie name( cf_waitingroom). If `cookie_suffix` is "abcd", the cookie name will be ` cf_waitingroom_abcd`. This field is req */
950
+ cookieSuffix?: string | null;
951
+ createdOn?: string | null;
952
+ /** Only available for the Waiting Room Advanced subscription. This is a template html file that will be rendered at the edge. If no custom_page_html is provided, the default waiting room will be used. Th */
953
+ customPageHtml?: string | null;
954
+ /** The language of the default page template. If no default_template_language is provided, then `en-US` (English) will be used. */
955
+ defaultTemplateLanguage?: "en-US" | "es-ES" | "de-DE" | "fr-FR" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "zh-CN" | "zh-TW" | "nl-NL" | "pl-PL" | "id-ID" | "tr-TR" | "ar-EG" | "ru-RU" | "fa-IR" | "bg-BG" | "hr-HR" | "cs-CZ" | "da-DK" | "fi-FI" | "lt-LT" | "ms-MY" | "nb-NO" | "ro-RO" | "el-GR" | "he-IL" | "hi-IN" | "hu-HU" | "sr-BA" | "sk-SK" | "sl-SI" | "sv-SE" | "tl-PH" | "th-TH" | "uk-UA" | "vi-VN" | null;
956
+ /** A note that you can use to add more details about the waiting room. */
957
+ description?: string | null;
958
+ /** Only available for the Waiting Room Advanced subscription. Disables automatic renewal of session cookies. If `true`, an accepted user will have session_duration minutes to browse the site. After that, */
959
+ disableSessionRenewal?: boolean | null;
960
+ /** A list of enabled origin commands. */
961
+ enabledOriginCommands?: "revoke"[] | null;
962
+ /** The host name to which the waiting room will be applied (no wildcards). Please do not include the scheme (http:// or https://). The host and path combination must be unique. */
963
+ host?: string | null;
964
+ /** Only available for the Waiting Room Advanced subscription. If `true`, requests to the waiting room with the header `Accept: application/json` will receive a JSON response object with information on th */
965
+ jsonResponseEnabled?: boolean | null;
966
+ modifiedOn?: string | null;
967
+ /** A unique name to identify the waiting room. Only alphanumeric characters, hyphens and underscores are allowed. */
968
+ name?: string | null;
969
+ /** Sets the number of new users that will be let into the route every minute. This value is used as baseline for the number of users that are let in per minute. So it is possible that there is a little m */
970
+ newUsersPerMinute?: number | null;
971
+ /** An ISO 8601 timestamp that marks when the next event will begin queueing. */
972
+ nextEventPrequeueStartTime?: string | null;
973
+ /** An ISO 8601 timestamp that marks when the next event will start. */
974
+ nextEventStartTime?: string | null;
975
+ /** Sets the path within the host to enable the waiting room on. The waiting room will be enabled for all subpaths as well. If there are two waiting rooms on the same subpath, the waiting room for the mos */
976
+ path?: string | null;
977
+ /** If queue_all is `true`, all the traffic that is coming to a route will be sent to the waiting room. No new traffic can get to the route once this field is set and estimated time will become unavailabl */
978
+ queueAll?: boolean | null;
979
+ /** Sets the queueing method used by the waiting room. Changing this parameter from the default queueing method is only available for the Waiting Room Advanced subscription. Regardless of the queueing m */
980
+ queueingMethod?: "fifo" | "random" | "passthrough" | "reject" | null;
981
+ /** HTTP status code returned to a user while in the queue. */
982
+ queueingStatusCode?: "200" | "202" | "429" | null;
983
+ /** Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the route. If a user is not seen by Cloudflare again in that time period, they will be treated as a new user that visits */
984
+ sessionDuration?: number | null;
985
+ /** Suspends or allows traffic going to the waiting room. If set to `true`, the traffic will not go to the waiting room. */
986
+ suspended?: boolean | null;
987
+ /** Sets the total number of active user sessions on the route at a point in time. A route is a combination of host and path on which a waiting room is available. This value is used as a baseline for the */
988
+ totalActiveUsers?: number | null;
989
+ /** Which action to take when a bot is detected using Turnstile. `log` will have no impact on queueing behavior, simply keeping track of how many bots are detected in Waiting Room Analytics. `infinite_que */
990
+ turnstileAction?: "log" | "infinite_queue" | null;
991
+ /** Which Turnstile widget type to use for detecting bot traffic. See [the Turnstile documentation](https://developers.cloudflare.com/turnstile/concepts/widget/#widget-types) for the definitions of these */
992
+ turnstileMode?: "off" | "invisible" | "visible_non_interactive" | "visible_managed" | null;
993
+ }
994
+ export declare const PatchWaitingRoomResponse: Schema.Schema<PatchWaitingRoomResponse>;
995
+ export type PatchWaitingRoomError = DefaultErrors;
996
+ export declare const patchWaitingRoom: API.OperationMethod<PatchWaitingRoomRequest, PatchWaitingRoomResponse, PatchWaitingRoomError, Credentials | HttpClient.HttpClient>;
997
+ export interface DeleteWaitingRoomRequest {
998
+ waitingRoomId: string;
999
+ /** Identifier. */
1000
+ zoneId: string;
1001
+ }
1002
+ export declare const DeleteWaitingRoomRequest: Schema.Schema<DeleteWaitingRoomRequest>;
1003
+ export interface DeleteWaitingRoomResponse {
1004
+ id?: string | null;
1005
+ }
1006
+ export declare const DeleteWaitingRoomResponse: Schema.Schema<DeleteWaitingRoomResponse>;
1007
+ export type DeleteWaitingRoomError = DefaultErrors;
1008
+ export declare const deleteWaitingRoom: API.OperationMethod<DeleteWaitingRoomRequest, DeleteWaitingRoomResponse, DeleteWaitingRoomError, Credentials | HttpClient.HttpClient>;
1009
+ //# sourceMappingURL=waiting-rooms.d.ts.map