cloudflare 5.0.0 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (708) hide show
  1. package/CHANGELOG.md +92 -0
  2. package/core.js +3 -3
  3. package/core.js.map +1 -1
  4. package/core.mjs +3 -3
  5. package/core.mjs.map +1 -1
  6. package/package.json +1 -1
  7. package/resources/addressing/prefixes/prefixes.d.ts +16 -8
  8. package/resources/addressing/prefixes/prefixes.d.ts.map +1 -1
  9. package/resources/addressing/prefixes/prefixes.js.map +1 -1
  10. package/resources/addressing/prefixes/prefixes.mjs.map +1 -1
  11. package/resources/ai/ai.d.ts +4 -0
  12. package/resources/ai/ai.d.ts.map +1 -1
  13. package/resources/ai/ai.js +5 -0
  14. package/resources/ai/ai.js.map +1 -1
  15. package/resources/ai/ai.mjs +5 -0
  16. package/resources/ai/ai.mjs.map +1 -1
  17. package/resources/ai/index.d.ts +1 -0
  18. package/resources/ai/index.d.ts.map +1 -1
  19. package/resources/ai/index.js +4 -1
  20. package/resources/ai/index.js.map +1 -1
  21. package/resources/ai/index.mjs +1 -0
  22. package/resources/ai/index.mjs.map +1 -1
  23. package/resources/ai/to-markdown.d.ts +29 -0
  24. package/resources/ai/to-markdown.d.ts.map +1 -0
  25. package/resources/ai/to-markdown.js +27 -0
  26. package/resources/ai/to-markdown.js.map +1 -0
  27. package/resources/ai/to-markdown.mjs +22 -0
  28. package/resources/ai/to-markdown.mjs.map +1 -0
  29. package/resources/ai-gateway/ai-gateway.d.ts +204 -12
  30. package/resources/ai-gateway/ai-gateway.d.ts.map +1 -1
  31. package/resources/ai-gateway/ai-gateway.js.map +1 -1
  32. package/resources/ai-gateway/ai-gateway.mjs.map +1 -1
  33. package/resources/ai-gateway/logs.d.ts +2 -2
  34. package/resources/ai-gateway/logs.d.ts.map +1 -1
  35. package/resources/ai-gateway/logs.js.map +1 -1
  36. package/resources/ai-gateway/logs.mjs.map +1 -1
  37. package/resources/alerting/destinations/pagerduty.d.ts +9 -21
  38. package/resources/alerting/destinations/pagerduty.d.ts.map +1 -1
  39. package/resources/alerting/destinations/pagerduty.js.map +1 -1
  40. package/resources/alerting/destinations/pagerduty.mjs.map +1 -1
  41. package/resources/alerting/destinations/webhooks.d.ts +9 -21
  42. package/resources/alerting/destinations/webhooks.d.ts.map +1 -1
  43. package/resources/alerting/destinations/webhooks.js.map +1 -1
  44. package/resources/alerting/destinations/webhooks.mjs.map +1 -1
  45. package/resources/alerting/policies.d.ts +10 -3
  46. package/resources/alerting/policies.d.ts.map +1 -1
  47. package/resources/alerting/policies.js.map +1 -1
  48. package/resources/alerting/policies.mjs.map +1 -1
  49. package/resources/bot-management.d.ts +49 -0
  50. package/resources/bot-management.d.ts.map +1 -1
  51. package/resources/bot-management.js +1 -0
  52. package/resources/bot-management.js.map +1 -1
  53. package/resources/bot-management.mjs +1 -0
  54. package/resources/bot-management.mjs.map +1 -1
  55. package/resources/browser-rendering/json.d.ts +3 -3
  56. package/resources/browser-rendering/json.d.ts.map +1 -1
  57. package/resources/browser-rendering/links.d.ts +4 -0
  58. package/resources/browser-rendering/links.d.ts.map +1 -1
  59. package/resources/calls/turn.d.ts.map +1 -1
  60. package/resources/calls/turn.js +1 -1
  61. package/resources/calls/turn.js.map +1 -1
  62. package/resources/calls/turn.mjs +1 -1
  63. package/resources/calls/turn.mjs.map +1 -1
  64. package/resources/cloudforce-one/threat-events/crons.d.ts +0 -47
  65. package/resources/cloudforce-one/threat-events/crons.d.ts.map +1 -1
  66. package/resources/cloudforce-one/threat-events/crons.js +0 -30
  67. package/resources/cloudforce-one/threat-events/crons.js.map +1 -1
  68. package/resources/cloudforce-one/threat-events/crons.mjs +0 -30
  69. package/resources/cloudforce-one/threat-events/crons.mjs.map +1 -1
  70. package/resources/cloudforce-one/threat-events/datasets/datasets.d.ts +2 -2
  71. package/resources/cloudforce-one/threat-events/datasets/datasets.d.ts.map +1 -1
  72. package/resources/cloudforce-one/threat-events/datasets/datasets.js.map +1 -1
  73. package/resources/cloudforce-one/threat-events/datasets/datasets.mjs.map +1 -1
  74. package/resources/cloudforce-one/threat-events/datasets/health.d.ts +0 -120
  75. package/resources/cloudforce-one/threat-events/datasets/health.d.ts.map +1 -1
  76. package/resources/cloudforce-one/threat-events/datasets/health.js +0 -16
  77. package/resources/cloudforce-one/threat-events/datasets/health.js.map +1 -1
  78. package/resources/cloudforce-one/threat-events/datasets/health.mjs +0 -16
  79. package/resources/cloudforce-one/threat-events/datasets/health.mjs.map +1 -1
  80. package/resources/cloudforce-one/threat-events/datasets/index.d.ts +1 -1
  81. package/resources/cloudforce-one/threat-events/datasets/index.d.ts.map +1 -1
  82. package/resources/cloudforce-one/threat-events/datasets/index.js.map +1 -1
  83. package/resources/cloudforce-one/threat-events/datasets/index.mjs.map +1 -1
  84. package/resources/cloudforce-one/threat-events/index.d.ts +1 -1
  85. package/resources/cloudforce-one/threat-events/index.d.ts.map +1 -1
  86. package/resources/cloudforce-one/threat-events/index.js.map +1 -1
  87. package/resources/cloudforce-one/threat-events/index.mjs +1 -1
  88. package/resources/cloudforce-one/threat-events/index.mjs.map +1 -1
  89. package/resources/cloudforce-one/threat-events/tags.d.ts +79 -4
  90. package/resources/cloudforce-one/threat-events/tags.d.ts.map +1 -1
  91. package/resources/cloudforce-one/threat-events/tags.js +2 -2
  92. package/resources/cloudforce-one/threat-events/tags.mjs +2 -2
  93. package/resources/cloudforce-one/threat-events/threat-events.d.ts +27 -4
  94. package/resources/cloudforce-one/threat-events/threat-events.d.ts.map +1 -1
  95. package/resources/cloudforce-one/threat-events/threat-events.js +2 -0
  96. package/resources/cloudforce-one/threat-events/threat-events.js.map +1 -1
  97. package/resources/cloudforce-one/threat-events/threat-events.mjs +2 -0
  98. package/resources/cloudforce-one/threat-events/threat-events.mjs.map +1 -1
  99. package/resources/dns/dns.d.ts +4 -4
  100. package/resources/dns/dns.d.ts.map +1 -1
  101. package/resources/dns/dns.js +1 -0
  102. package/resources/dns/dns.js.map +1 -1
  103. package/resources/dns/dns.mjs +2 -1
  104. package/resources/dns/dns.mjs.map +1 -1
  105. package/resources/dns/index.d.ts +2 -2
  106. package/resources/dns/index.d.ts.map +1 -1
  107. package/resources/dns/index.js +2 -1
  108. package/resources/dns/index.js.map +1 -1
  109. package/resources/dns/index.mjs +1 -1
  110. package/resources/dns/index.mjs.map +1 -1
  111. package/resources/dns/records.d.ts +174 -5
  112. package/resources/dns/records.d.ts.map +1 -1
  113. package/resources/dns/records.js +60 -6
  114. package/resources/dns/records.js.map +1 -1
  115. package/resources/dns/records.mjs +59 -6
  116. package/resources/dns/records.mjs.map +1 -1
  117. package/resources/dns/settings/account/account.d.ts +48 -45
  118. package/resources/dns/settings/account/account.d.ts.map +1 -1
  119. package/resources/dns/settings/account/account.js.map +1 -1
  120. package/resources/dns/settings/account/account.mjs.map +1 -1
  121. package/resources/dns/settings/index.d.ts +1 -1
  122. package/resources/dns/settings/index.d.ts.map +1 -1
  123. package/resources/dns/settings/index.js.map +1 -1
  124. package/resources/dns/settings/index.mjs.map +1 -1
  125. package/resources/dns/settings/settings.d.ts +0 -87
  126. package/resources/dns/settings/settings.d.ts.map +1 -1
  127. package/resources/dns/settings/settings.js.map +1 -1
  128. package/resources/dns/settings/settings.mjs.map +1 -1
  129. package/resources/dns/settings/zone.d.ts +49 -46
  130. package/resources/dns/settings/zone.d.ts.map +1 -1
  131. package/resources/dns-firewall/dns-firewall.d.ts +156 -48
  132. package/resources/dns-firewall/dns-firewall.d.ts.map +1 -1
  133. package/resources/dns-firewall/dns-firewall.js.map +1 -1
  134. package/resources/dns-firewall/dns-firewall.mjs.map +1 -1
  135. package/resources/email-routing/dns.d.ts +2 -4
  136. package/resources/email-routing/dns.d.ts.map +1 -1
  137. package/resources/email-routing/dns.js +0 -2
  138. package/resources/email-routing/dns.js.map +1 -1
  139. package/resources/email-routing/dns.mjs +0 -2
  140. package/resources/email-routing/dns.mjs.map +1 -1
  141. package/resources/email-security/settings/domains.d.ts +6 -0
  142. package/resources/email-security/settings/domains.d.ts.map +1 -1
  143. package/resources/email-security/settings/domains.js.map +1 -1
  144. package/resources/email-security/settings/domains.mjs.map +1 -1
  145. package/resources/images/v1/stats.d.ts +3 -1
  146. package/resources/images/v1/stats.d.ts.map +1 -1
  147. package/resources/images/v1/stats.js +3 -1
  148. package/resources/images/v1/stats.js.map +1 -1
  149. package/resources/images/v1/stats.mjs +3 -1
  150. package/resources/images/v1/stats.mjs.map +1 -1
  151. package/resources/intel/indicator-feeds/downloads.d.ts +0 -36
  152. package/resources/intel/indicator-feeds/downloads.d.ts.map +1 -1
  153. package/resources/intel/indicator-feeds/downloads.js +0 -15
  154. package/resources/intel/indicator-feeds/downloads.js.map +1 -1
  155. package/resources/intel/indicator-feeds/downloads.mjs +0 -15
  156. package/resources/intel/indicator-feeds/downloads.mjs.map +1 -1
  157. package/resources/intel/indicator-feeds/index.d.ts +1 -1
  158. package/resources/intel/indicator-feeds/index.d.ts.map +1 -1
  159. package/resources/intel/indicator-feeds/index.js.map +1 -1
  160. package/resources/intel/indicator-feeds/index.mjs.map +1 -1
  161. package/resources/intel/indicator-feeds/indicator-feeds.d.ts +2 -2
  162. package/resources/intel/indicator-feeds/indicator-feeds.d.ts.map +1 -1
  163. package/resources/intel/indicator-feeds/indicator-feeds.js.map +1 -1
  164. package/resources/intel/indicator-feeds/indicator-feeds.mjs.map +1 -1
  165. package/resources/load-balancers/index.d.ts +1 -0
  166. package/resources/load-balancers/index.d.ts.map +1 -1
  167. package/resources/load-balancers/index.js +4 -1
  168. package/resources/load-balancers/index.js.map +1 -1
  169. package/resources/load-balancers/index.mjs +1 -0
  170. package/resources/load-balancers/index.mjs.map +1 -1
  171. package/resources/load-balancers/load-balancers.d.ts +4 -0
  172. package/resources/load-balancers/load-balancers.d.ts.map +1 -1
  173. package/resources/load-balancers/load-balancers.js +5 -0
  174. package/resources/load-balancers/load-balancers.js.map +1 -1
  175. package/resources/load-balancers/load-balancers.mjs +5 -0
  176. package/resources/load-balancers/load-balancers.mjs.map +1 -1
  177. package/resources/load-balancers/monitor-groups.d.ts +313 -0
  178. package/resources/load-balancers/monitor-groups.d.ts.map +1 -0
  179. package/resources/load-balancers/monitor-groups.js +153 -0
  180. package/resources/load-balancers/monitor-groups.js.map +1 -0
  181. package/resources/load-balancers/monitor-groups.mjs +148 -0
  182. package/resources/load-balancers/monitor-groups.mjs.map +1 -0
  183. package/resources/load-balancers/pools/pools.d.ts +20 -0
  184. package/resources/load-balancers/pools/pools.d.ts.map +1 -1
  185. package/resources/load-balancers/pools/pools.js.map +1 -1
  186. package/resources/load-balancers/pools/pools.mjs.map +1 -1
  187. package/resources/logs/rayid.d.ts +1 -1
  188. package/resources/logs/received/fields.d.ts +1 -1
  189. package/resources/logs/received/received.d.ts +1 -1
  190. package/resources/magic-transit/cf-interconnects.d.ts +25 -0
  191. package/resources/magic-transit/cf-interconnects.d.ts.map +1 -1
  192. package/resources/magic-transit/gre-tunnels.d.ts +40 -0
  193. package/resources/magic-transit/gre-tunnels.d.ts.map +1 -1
  194. package/resources/magic-transit/ipsec-tunnels.d.ts +124 -0
  195. package/resources/magic-transit/ipsec-tunnels.d.ts.map +1 -1
  196. package/resources/magic-transit/pcaps/download.d.ts +1 -1
  197. package/resources/magic-transit/pcaps/ownership.d.ts +4 -4
  198. package/resources/magic-transit/pcaps/pcaps.d.ts +6 -6
  199. package/resources/magic-transit/pcaps/pcaps.js +1 -1
  200. package/resources/magic-transit/pcaps/pcaps.mjs +1 -1
  201. package/resources/page-rules.d.ts +20 -4
  202. package/resources/page-rules.d.ts.map +1 -1
  203. package/resources/page-rules.js +20 -4
  204. package/resources/page-rules.js.map +1 -1
  205. package/resources/page-rules.mjs +20 -4
  206. package/resources/page-rules.mjs.map +1 -1
  207. package/resources/page-shield/connections.d.ts +1 -1
  208. package/resources/page-shield/cookies.d.ts +1 -1
  209. package/resources/page-shield/scripts.d.ts +1 -1
  210. package/resources/radar/ai/inference/summary.d.ts +2 -10
  211. package/resources/radar/ai/inference/summary.d.ts.map +1 -1
  212. package/resources/radar/ai/inference/summary.js.map +1 -1
  213. package/resources/radar/ai/inference/summary.mjs.map +1 -1
  214. package/resources/radar/ai/inference/timeseries-groups/summary.d.ts +2 -10
  215. package/resources/radar/ai/inference/timeseries-groups/summary.d.ts.map +1 -1
  216. package/resources/radar/ai/inference/timeseries-groups/summary.js.map +1 -1
  217. package/resources/radar/ai/inference/timeseries-groups/summary.mjs.map +1 -1
  218. package/resources/radar/ai/to-markdown.js +1 -1
  219. package/resources/radar/ai/to-markdown.js.map +1 -1
  220. package/resources/radar/ai/to-markdown.mjs +1 -1
  221. package/resources/radar/ai/to-markdown.mjs.map +1 -1
  222. package/resources/radar/entities/asns.d.ts +56 -1
  223. package/resources/radar/entities/asns.d.ts.map +1 -1
  224. package/resources/radar/entities/asns.js +6 -0
  225. package/resources/radar/entities/asns.js.map +1 -1
  226. package/resources/radar/entities/asns.mjs +6 -0
  227. package/resources/radar/entities/asns.mjs.map +1 -1
  228. package/resources/radar/entities/entities.d.ts +2 -2
  229. package/resources/radar/entities/entities.d.ts.map +1 -1
  230. package/resources/radar/entities/entities.js.map +1 -1
  231. package/resources/radar/entities/entities.mjs.map +1 -1
  232. package/resources/radar/entities/index.d.ts +1 -1
  233. package/resources/radar/entities/index.d.ts.map +1 -1
  234. package/resources/radar/entities/index.js.map +1 -1
  235. package/resources/radar/entities/index.mjs.map +1 -1
  236. package/resources/radar/http/ases/ases.d.ts +7 -0
  237. package/resources/radar/http/ases/ases.d.ts.map +1 -1
  238. package/resources/radar/http/ases/ases.js.map +1 -1
  239. package/resources/radar/http/ases/ases.mjs.map +1 -1
  240. package/resources/radar/http/ases/bot-class.d.ts +7 -0
  241. package/resources/radar/http/ases/bot-class.d.ts.map +1 -1
  242. package/resources/radar/http/ases/browser-family.d.ts +7 -0
  243. package/resources/radar/http/ases/browser-family.d.ts.map +1 -1
  244. package/resources/radar/http/ases/device-type.d.ts +7 -0
  245. package/resources/radar/http/ases/device-type.d.ts.map +1 -1
  246. package/resources/radar/http/ases/http-method.d.ts +7 -0
  247. package/resources/radar/http/ases/http-method.d.ts.map +1 -1
  248. package/resources/radar/http/ases/http-protocol.d.ts +7 -0
  249. package/resources/radar/http/ases/http-protocol.d.ts.map +1 -1
  250. package/resources/radar/http/ases/ip-version.d.ts +7 -0
  251. package/resources/radar/http/ases/ip-version.d.ts.map +1 -1
  252. package/resources/radar/http/ases/os.d.ts +7 -0
  253. package/resources/radar/http/ases/os.d.ts.map +1 -1
  254. package/resources/radar/http/ases/tls-version.d.ts +7 -0
  255. package/resources/radar/http/ases/tls-version.d.ts.map +1 -1
  256. package/resources/radar/http/http.d.ts +7 -0
  257. package/resources/radar/http/http.d.ts.map +1 -1
  258. package/resources/radar/http/http.js.map +1 -1
  259. package/resources/radar/http/http.mjs.map +1 -1
  260. package/resources/radar/http/locations/bot-class.d.ts +7 -0
  261. package/resources/radar/http/locations/bot-class.d.ts.map +1 -1
  262. package/resources/radar/http/locations/browser-family.d.ts +7 -0
  263. package/resources/radar/http/locations/browser-family.d.ts.map +1 -1
  264. package/resources/radar/http/locations/device-type.d.ts +7 -0
  265. package/resources/radar/http/locations/device-type.d.ts.map +1 -1
  266. package/resources/radar/http/locations/http-method.d.ts +7 -0
  267. package/resources/radar/http/locations/http-method.d.ts.map +1 -1
  268. package/resources/radar/http/locations/http-protocol.d.ts +7 -0
  269. package/resources/radar/http/locations/http-protocol.d.ts.map +1 -1
  270. package/resources/radar/http/locations/ip-version.d.ts +7 -0
  271. package/resources/radar/http/locations/ip-version.d.ts.map +1 -1
  272. package/resources/radar/http/locations/locations.d.ts +7 -0
  273. package/resources/radar/http/locations/locations.d.ts.map +1 -1
  274. package/resources/radar/http/locations/locations.js.map +1 -1
  275. package/resources/radar/http/locations/locations.mjs.map +1 -1
  276. package/resources/radar/http/locations/os.d.ts +7 -0
  277. package/resources/radar/http/locations/os.d.ts.map +1 -1
  278. package/resources/radar/http/locations/tls-version.d.ts +7 -0
  279. package/resources/radar/http/locations/tls-version.d.ts.map +1 -1
  280. package/resources/radar/http/summary.d.ts +64 -38
  281. package/resources/radar/http/summary.d.ts.map +1 -1
  282. package/resources/radar/http/summary.js.map +1 -1
  283. package/resources/radar/http/summary.mjs.map +1 -1
  284. package/resources/radar/http/timeseries-groups.d.ts +80 -50
  285. package/resources/radar/http/timeseries-groups.d.ts.map +1 -1
  286. package/resources/radar/http/timeseries-groups.js.map +1 -1
  287. package/resources/radar/http/timeseries-groups.mjs.map +1 -1
  288. package/resources/radar/http/top.d.ts +14 -0
  289. package/resources/radar/http/top.d.ts.map +1 -1
  290. package/resources/radar/leaked-credentials/summary.d.ts +2 -10
  291. package/resources/radar/leaked-credentials/summary.d.ts.map +1 -1
  292. package/resources/radar/leaked-credentials/summary.js.map +1 -1
  293. package/resources/radar/leaked-credentials/summary.mjs.map +1 -1
  294. package/resources/radar/leaked-credentials/timeseries-groups.d.ts +2 -10
  295. package/resources/radar/leaked-credentials/timeseries-groups.d.ts.map +1 -1
  296. package/resources/radar/leaked-credentials/timeseries-groups.js.map +1 -1
  297. package/resources/radar/leaked-credentials/timeseries-groups.mjs.map +1 -1
  298. package/resources/radar/netflows/netflows.d.ts +15 -4
  299. package/resources/radar/netflows/netflows.d.ts.map +1 -1
  300. package/resources/radar/netflows/netflows.js.map +1 -1
  301. package/resources/radar/netflows/netflows.mjs.map +1 -1
  302. package/resources/radar/netflows/top.d.ts +14 -0
  303. package/resources/radar/netflows/top.d.ts.map +1 -1
  304. package/resources/radar/search.d.ts +2 -2
  305. package/resources/radar/search.d.ts.map +1 -1
  306. package/resources/request-tracers/traces.d.ts +1 -1
  307. package/resources/resource-sharing/recipients.d.ts +77 -1
  308. package/resources/resource-sharing/recipients.d.ts.map +1 -1
  309. package/resources/resource-sharing/recipients.js +5 -2
  310. package/resources/resource-sharing/recipients.js.map +1 -1
  311. package/resources/resource-sharing/recipients.mjs +5 -2
  312. package/resources/resource-sharing/recipients.mjs.map +1 -1
  313. package/resources/resource-sharing/resource-sharing.d.ts +347 -2
  314. package/resources/resource-sharing/resource-sharing.d.ts.map +1 -1
  315. package/resources/resource-sharing/resource-sharing.js +5 -2
  316. package/resources/resource-sharing/resource-sharing.js.map +1 -1
  317. package/resources/resource-sharing/resource-sharing.mjs +5 -2
  318. package/resources/resource-sharing/resource-sharing.mjs.map +1 -1
  319. package/resources/resource-sharing/resources.d.ts +7 -7
  320. package/resources/resource-sharing/resources.d.ts.map +1 -1
  321. package/resources/resource-sharing/resources.js.map +1 -1
  322. package/resources/resource-sharing/resources.mjs.map +1 -1
  323. package/resources/rules/lists/items.d.ts +9 -0
  324. package/resources/rules/lists/items.d.ts.map +1 -1
  325. package/resources/rules/lists/items.js +9 -0
  326. package/resources/rules/lists/items.js.map +1 -1
  327. package/resources/rules/lists/items.mjs +9 -0
  328. package/resources/rules/lists/items.mjs.map +1 -1
  329. package/resources/snippets/snippets.d.ts +1 -4
  330. package/resources/snippets/snippets.d.ts.map +1 -1
  331. package/resources/snippets/snippets.js +1 -1
  332. package/resources/snippets/snippets.js.map +1 -1
  333. package/resources/snippets/snippets.mjs +1 -1
  334. package/resources/snippets/snippets.mjs.map +1 -1
  335. package/resources/stream/downloads.d.ts +4 -2
  336. package/resources/stream/downloads.d.ts.map +1 -1
  337. package/resources/stream/downloads.js +4 -2
  338. package/resources/stream/downloads.js.map +1 -1
  339. package/resources/stream/downloads.mjs +4 -2
  340. package/resources/stream/downloads.mjs.map +1 -1
  341. package/resources/workers/beta/beta.d.ts +2 -2
  342. package/resources/workers/beta/beta.d.ts.map +1 -1
  343. package/resources/workers/beta/beta.js.map +1 -1
  344. package/resources/workers/beta/beta.mjs.map +1 -1
  345. package/resources/workers/beta/index.d.ts +1 -1
  346. package/resources/workers/beta/index.d.ts.map +1 -1
  347. package/resources/workers/beta/index.js.map +1 -1
  348. package/resources/workers/beta/index.mjs.map +1 -1
  349. package/resources/workers/beta/workers/index.d.ts +1 -1
  350. package/resources/workers/beta/workers/index.d.ts.map +1 -1
  351. package/resources/workers/beta/workers/index.js.map +1 -1
  352. package/resources/workers/beta/workers/index.mjs.map +1 -1
  353. package/resources/workers/beta/workers/versions.d.ts +276 -17
  354. package/resources/workers/beta/workers/versions.d.ts.map +1 -1
  355. package/resources/workers/beta/workers/versions.js +8 -7
  356. package/resources/workers/beta/workers/versions.js.map +1 -1
  357. package/resources/workers/beta/workers/versions.mjs +8 -7
  358. package/resources/workers/beta/workers/versions.mjs.map +1 -1
  359. package/resources/workers/beta/workers/workers.d.ts +133 -18
  360. package/resources/workers/beta/workers/workers.d.ts.map +1 -1
  361. package/resources/workers/beta/workers/workers.js +35 -4
  362. package/resources/workers/beta/workers/workers.js.map +1 -1
  363. package/resources/workers/beta/workers/workers.mjs +35 -4
  364. package/resources/workers/beta/workers/workers.mjs.map +1 -1
  365. package/resources/workers/index.d.ts +1 -1
  366. package/resources/workers/index.d.ts.map +1 -1
  367. package/resources/workers/index.js.map +1 -1
  368. package/resources/workers/index.mjs.map +1 -1
  369. package/resources/workers/scripts/content.d.ts.map +1 -1
  370. package/resources/workers/scripts/content.js +1 -0
  371. package/resources/workers/scripts/content.js.map +1 -1
  372. package/resources/workers/scripts/content.mjs +1 -0
  373. package/resources/workers/scripts/content.mjs.map +1 -1
  374. package/resources/workers/scripts/index.d.ts +1 -1
  375. package/resources/workers/scripts/index.d.ts.map +1 -1
  376. package/resources/workers/scripts/index.js.map +1 -1
  377. package/resources/workers/scripts/index.mjs.map +1 -1
  378. package/resources/workers/scripts/script-and-version-settings.d.ts +354 -15
  379. package/resources/workers/scripts/script-and-version-settings.d.ts.map +1 -1
  380. package/resources/workers/scripts/script-and-version-settings.js +1 -1
  381. package/resources/workers/scripts/script-and-version-settings.js.map +1 -1
  382. package/resources/workers/scripts/script-and-version-settings.mjs +1 -1
  383. package/resources/workers/scripts/script-and-version-settings.mjs.map +1 -1
  384. package/resources/workers/scripts/scripts.d.ts +206 -10
  385. package/resources/workers/scripts/scripts.d.ts.map +1 -1
  386. package/resources/workers/scripts/scripts.js +17 -0
  387. package/resources/workers/scripts/scripts.js.map +1 -1
  388. package/resources/workers/scripts/scripts.mjs +17 -0
  389. package/resources/workers/scripts/scripts.mjs.map +1 -1
  390. package/resources/workers/scripts/secrets.d.ts +10 -2
  391. package/resources/workers/scripts/secrets.d.ts.map +1 -1
  392. package/resources/workers/scripts/secrets.js +10 -4
  393. package/resources/workers/scripts/secrets.js.map +1 -1
  394. package/resources/workers/scripts/secrets.mjs +10 -4
  395. package/resources/workers/scripts/secrets.mjs.map +1 -1
  396. package/resources/workers/scripts/settings.d.ts +12 -0
  397. package/resources/workers/scripts/settings.d.ts.map +1 -1
  398. package/resources/workers/scripts/versions.d.ts +327 -12
  399. package/resources/workers/scripts/versions.d.ts.map +1 -1
  400. package/resources/workers/scripts/versions.js.map +1 -1
  401. package/resources/workers/scripts/versions.mjs.map +1 -1
  402. package/resources/workers/workers.d.ts +2 -2
  403. package/resources/workers/workers.d.ts.map +1 -1
  404. package/resources/workers/workers.js.map +1 -1
  405. package/resources/workers/workers.mjs.map +1 -1
  406. package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.d.ts +109 -4
  407. package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.d.ts.map +1 -1
  408. package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.js.map +1 -1
  409. package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.mjs.map +1 -1
  410. package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.d.ts.map +1 -1
  411. package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.js +1 -0
  412. package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.js.map +1 -1
  413. package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.mjs +1 -0
  414. package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.mjs.map +1 -1
  415. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts +121 -9
  416. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts.map +1 -1
  417. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js.map +1 -1
  418. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs.map +1 -1
  419. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts +10 -2
  420. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts.map +1 -1
  421. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js +4 -4
  422. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js.map +1 -1
  423. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs +4 -4
  424. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs.map +1 -1
  425. package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts +354 -15
  426. package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts.map +1 -1
  427. package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.js +1 -1
  428. package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.js.map +1 -1
  429. package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.mjs +1 -1
  430. package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.mjs.map +1 -1
  431. package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.d.ts +2 -8
  432. package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.d.ts.map +1 -1
  433. package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.js +1 -1
  434. package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.js.map +1 -1
  435. package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.mjs +1 -1
  436. package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.mjs.map +1 -1
  437. package/resources/workflows/instances/instances.d.ts +5 -0
  438. package/resources/workflows/instances/instances.d.ts.map +1 -1
  439. package/resources/workflows/instances/instances.js.map +1 -1
  440. package/resources/workflows/instances/instances.mjs.map +1 -1
  441. package/resources/zero-trust/access/applications/applications.d.ts +0 -84
  442. package/resources/zero-trust/access/applications/applications.d.ts.map +1 -1
  443. package/resources/zero-trust/access/applications/applications.js.map +1 -1
  444. package/resources/zero-trust/access/applications/applications.mjs.map +1 -1
  445. package/resources/zero-trust/access/bookmarks.d.ts +0 -2
  446. package/resources/zero-trust/access/bookmarks.d.ts.map +1 -1
  447. package/resources/zero-trust/access/bookmarks.js.map +1 -1
  448. package/resources/zero-trust/access/bookmarks.mjs.map +1 -1
  449. package/resources/zero-trust/access/certificates/certificates.d.ts +0 -2
  450. package/resources/zero-trust/access/certificates/certificates.d.ts.map +1 -1
  451. package/resources/zero-trust/access/certificates/certificates.js.map +1 -1
  452. package/resources/zero-trust/access/certificates/certificates.mjs.map +1 -1
  453. package/resources/zero-trust/access/custom-pages.d.ts +0 -20
  454. package/resources/zero-trust/access/custom-pages.d.ts.map +1 -1
  455. package/resources/zero-trust/access/custom-pages.js.map +1 -1
  456. package/resources/zero-trust/access/custom-pages.mjs.map +1 -1
  457. package/resources/zero-trust/access/groups.d.ts +0 -8
  458. package/resources/zero-trust/access/groups.d.ts.map +1 -1
  459. package/resources/zero-trust/access/groups.js.map +1 -1
  460. package/resources/zero-trust/access/groups.mjs.map +1 -1
  461. package/resources/zero-trust/access/service-tokens.d.ts +37 -8
  462. package/resources/zero-trust/access/service-tokens.d.ts.map +1 -1
  463. package/resources/zero-trust/access/service-tokens.js +5 -2
  464. package/resources/zero-trust/access/service-tokens.js.map +1 -1
  465. package/resources/zero-trust/access/service-tokens.mjs +5 -2
  466. package/resources/zero-trust/access/service-tokens.mjs.map +1 -1
  467. package/resources/zero-trust/access/tags.d.ts +0 -6
  468. package/resources/zero-trust/access/tags.d.ts.map +1 -1
  469. package/resources/zero-trust/access/tags.js.map +1 -1
  470. package/resources/zero-trust/access/tags.mjs.map +1 -1
  471. package/resources/zero-trust/devices/devices_.d.ts +94 -1
  472. package/resources/zero-trust/devices/devices_.d.ts.map +1 -1
  473. package/resources/zero-trust/devices/devices_.js +5 -2
  474. package/resources/zero-trust/devices/devices_.js.map +1 -1
  475. package/resources/zero-trust/devices/devices_.mjs +5 -2
  476. package/resources/zero-trust/devices/devices_.mjs.map +1 -1
  477. package/resources/zero-trust/devices/registrations.d.ts +70 -1
  478. package/resources/zero-trust/devices/registrations.d.ts.map +1 -1
  479. package/resources/zero-trust/devices/registrations.js +5 -2
  480. package/resources/zero-trust/devices/registrations.js.map +1 -1
  481. package/resources/zero-trust/devices/registrations.mjs +5 -2
  482. package/resources/zero-trust/devices/registrations.mjs.map +1 -1
  483. package/resources/zero-trust/gateway/app-types.d.ts +10 -10
  484. package/resources/zero-trust/gateway/app-types.js +1 -1
  485. package/resources/zero-trust/gateway/app-types.mjs +1 -1
  486. package/resources/zero-trust/gateway/audit-ssh-settings.d.ts +11 -11
  487. package/resources/zero-trust/gateway/audit-ssh-settings.js +5 -5
  488. package/resources/zero-trust/gateway/audit-ssh-settings.mjs +5 -5
  489. package/resources/zero-trust/gateway/categories.d.ts +17 -19
  490. package/resources/zero-trust/gateway/categories.d.ts.map +1 -1
  491. package/resources/zero-trust/gateway/categories.js +1 -1
  492. package/resources/zero-trust/gateway/categories.js.map +1 -1
  493. package/resources/zero-trust/gateway/categories.mjs +1 -1
  494. package/resources/zero-trust/gateway/categories.mjs.map +1 -1
  495. package/resources/zero-trust/gateway/certificates.d.ts +84 -83
  496. package/resources/zero-trust/gateway/certificates.d.ts.map +1 -1
  497. package/resources/zero-trust/gateway/certificates.js +7 -7
  498. package/resources/zero-trust/gateway/certificates.js.map +1 -1
  499. package/resources/zero-trust/gateway/certificates.mjs +7 -7
  500. package/resources/zero-trust/gateway/certificates.mjs.map +1 -1
  501. package/resources/zero-trust/gateway/configurations/configurations.d.ts +212 -192
  502. package/resources/zero-trust/gateway/configurations/configurations.d.ts.map +1 -1
  503. package/resources/zero-trust/gateway/configurations/configurations.js +7 -7
  504. package/resources/zero-trust/gateway/configurations/configurations.js.map +1 -1
  505. package/resources/zero-trust/gateway/configurations/configurations.mjs +7 -7
  506. package/resources/zero-trust/gateway/configurations/configurations.mjs.map +1 -1
  507. package/resources/zero-trust/gateway/configurations/custom-certificate.d.ts +1 -1
  508. package/resources/zero-trust/gateway/configurations/custom-certificate.js +1 -1
  509. package/resources/zero-trust/gateway/configurations/custom-certificate.mjs +1 -1
  510. package/resources/zero-trust/gateway/gateway.d.ts +8 -8
  511. package/resources/zero-trust/gateway/gateway.js +2 -2
  512. package/resources/zero-trust/gateway/gateway.mjs +2 -2
  513. package/resources/zero-trust/gateway/lists/items.d.ts +2 -2
  514. package/resources/zero-trust/gateway/lists/items.js +1 -1
  515. package/resources/zero-trust/gateway/lists/items.mjs +1 -1
  516. package/resources/zero-trust/gateway/lists/lists.d.ts +32 -32
  517. package/resources/zero-trust/gateway/lists/lists.js +3 -3
  518. package/resources/zero-trust/gateway/lists/lists.mjs +3 -3
  519. package/resources/zero-trust/gateway/locations.d.ts +84 -98
  520. package/resources/zero-trust/gateway/locations.d.ts.map +1 -1
  521. package/resources/zero-trust/gateway/locations.js +5 -5
  522. package/resources/zero-trust/gateway/locations.js.map +1 -1
  523. package/resources/zero-trust/gateway/locations.mjs +5 -5
  524. package/resources/zero-trust/gateway/locations.mjs.map +1 -1
  525. package/resources/zero-trust/gateway/logging.d.ts +60 -23
  526. package/resources/zero-trust/gateway/logging.d.ts.map +1 -1
  527. package/resources/zero-trust/gateway/logging.js +2 -2
  528. package/resources/zero-trust/gateway/logging.mjs +2 -2
  529. package/resources/zero-trust/gateway/proxy-endpoints.d.ts +16 -16
  530. package/resources/zero-trust/gateway/proxy-endpoints.js +5 -5
  531. package/resources/zero-trust/gateway/proxy-endpoints.mjs +5 -5
  532. package/resources/zero-trust/gateway/rules.d.ts +514 -439
  533. package/resources/zero-trust/gateway/rules.d.ts.map +1 -1
  534. package/resources/zero-trust/gateway/rules.js +8 -10
  535. package/resources/zero-trust/gateway/rules.js.map +1 -1
  536. package/resources/zero-trust/gateway/rules.mjs +8 -10
  537. package/resources/zero-trust/gateway/rules.mjs.map +1 -1
  538. package/resources/zero-trust/networks/hostname-routes.d.ts +188 -0
  539. package/resources/zero-trust/networks/hostname-routes.d.ts.map +1 -0
  540. package/resources/zero-trust/networks/hostname-routes.js +100 -0
  541. package/resources/zero-trust/networks/hostname-routes.js.map +1 -0
  542. package/resources/zero-trust/networks/hostname-routes.mjs +95 -0
  543. package/resources/zero-trust/networks/hostname-routes.mjs.map +1 -0
  544. package/resources/zero-trust/networks/index.d.ts +1 -0
  545. package/resources/zero-trust/networks/index.d.ts.map +1 -1
  546. package/resources/zero-trust/networks/index.js +4 -1
  547. package/resources/zero-trust/networks/index.js.map +1 -1
  548. package/resources/zero-trust/networks/index.mjs +1 -0
  549. package/resources/zero-trust/networks/index.mjs.map +1 -1
  550. package/resources/zero-trust/networks/networks.d.ts +4 -0
  551. package/resources/zero-trust/networks/networks.d.ts.map +1 -1
  552. package/resources/zero-trust/networks/networks.js +5 -0
  553. package/resources/zero-trust/networks/networks.js.map +1 -1
  554. package/resources/zero-trust/networks/networks.mjs +5 -0
  555. package/resources/zero-trust/networks/networks.mjs.map +1 -1
  556. package/resources/zero-trust/organizations/doh.d.ts +0 -6
  557. package/resources/zero-trust/organizations/doh.d.ts.map +1 -1
  558. package/resources/zero-trust/organizations/organizations.d.ts +0 -2
  559. package/resources/zero-trust/organizations/organizations.d.ts.map +1 -1
  560. package/resources/zero-trust/organizations/organizations.js.map +1 -1
  561. package/resources/zero-trust/organizations/organizations.mjs.map +1 -1
  562. package/resources/zero-trust/tunnels/cloudflared/configurations.d.ts +0 -24
  563. package/resources/zero-trust/tunnels/cloudflared/configurations.d.ts.map +1 -1
  564. package/src/core.ts +3 -3
  565. package/src/resources/addressing/prefixes/prefixes.ts +16 -8
  566. package/src/resources/ai/ai.ts +17 -0
  567. package/src/resources/ai/index.ts +6 -0
  568. package/src/resources/ai/to-markdown.ts +61 -0
  569. package/src/resources/ai-gateway/ai-gateway.ts +282 -12
  570. package/src/resources/ai-gateway/logs.ts +4 -2
  571. package/src/resources/alerting/destinations/pagerduty.ts +12 -25
  572. package/src/resources/alerting/destinations/webhooks.ts +12 -25
  573. package/src/resources/alerting/policies.ts +14 -3
  574. package/src/resources/bot-management.ts +61 -0
  575. package/src/resources/browser-rendering/json.ts +1 -1
  576. package/src/resources/browser-rendering/links.ts +5 -0
  577. package/src/resources/calls/turn.ts +5 -1
  578. package/src/resources/cloudforce-one/threat-events/crons.ts +1 -67
  579. package/src/resources/cloudforce-one/threat-events/datasets/datasets.ts +2 -6
  580. package/src/resources/cloudforce-one/threat-events/datasets/health.ts +1 -175
  581. package/src/resources/cloudforce-one/threat-events/datasets/index.ts +1 -1
  582. package/src/resources/cloudforce-one/threat-events/index.ts +1 -7
  583. package/src/resources/cloudforce-one/threat-events/tags.ts +110 -5
  584. package/src/resources/cloudforce-one/threat-events/threat-events.ts +45 -10
  585. package/src/resources/dns/dns.ts +15 -2
  586. package/src/resources/dns/index.ts +7 -1
  587. package/src/resources/dns/records.ts +267 -8
  588. package/src/resources/dns/settings/account/account.ts +48 -45
  589. package/src/resources/dns/settings/index.ts +1 -1
  590. package/src/resources/dns/settings/settings.ts +0 -104
  591. package/src/resources/dns/settings/zone.ts +49 -46
  592. package/src/resources/dns-firewall/dns-firewall.ts +156 -48
  593. package/src/resources/email-routing/dns.ts +2 -4
  594. package/src/resources/email-security/settings/domains.ts +12 -0
  595. package/src/resources/images/v1/stats.ts +3 -1
  596. package/src/resources/intel/indicator-feeds/downloads.ts +1 -55
  597. package/src/resources/intel/indicator-feeds/index.ts +1 -1
  598. package/src/resources/intel/indicator-feeds/indicator-feeds.ts +2 -6
  599. package/src/resources/load-balancers/index.ts +11 -0
  600. package/src/resources/load-balancers/load-balancers.ts +27 -0
  601. package/src/resources/load-balancers/monitor-groups.ts +436 -0
  602. package/src/resources/load-balancers/pools/pools.ts +24 -0
  603. package/src/resources/logs/rayid.ts +1 -1
  604. package/src/resources/logs/received/fields.ts +1 -1
  605. package/src/resources/logs/received/received.ts +1 -1
  606. package/src/resources/magic-transit/cf-interconnects.ts +30 -0
  607. package/src/resources/magic-transit/gre-tunnels.ts +48 -0
  608. package/src/resources/magic-transit/ipsec-tunnels.ts +144 -0
  609. package/src/resources/magic-transit/pcaps/download.ts +1 -1
  610. package/src/resources/magic-transit/pcaps/ownership.ts +4 -4
  611. package/src/resources/magic-transit/pcaps/pcaps.ts +6 -6
  612. package/src/resources/page-rules.ts +20 -4
  613. package/src/resources/page-shield/connections.ts +1 -1
  614. package/src/resources/page-shield/cookies.ts +1 -1
  615. package/src/resources/page-shield/scripts.ts +1 -1
  616. package/src/resources/radar/ai/inference/summary.ts +2 -10
  617. package/src/resources/radar/ai/inference/timeseries-groups/summary.ts +2 -10
  618. package/src/resources/radar/ai/to-markdown.ts +1 -1
  619. package/src/resources/radar/entities/asns.ts +86 -0
  620. package/src/resources/radar/entities/entities.ts +4 -0
  621. package/src/resources/radar/entities/index.ts +2 -0
  622. package/src/resources/radar/http/ases/ases.ts +8 -0
  623. package/src/resources/radar/http/ases/bot-class.ts +8 -0
  624. package/src/resources/radar/http/ases/browser-family.ts +8 -0
  625. package/src/resources/radar/http/ases/device-type.ts +8 -0
  626. package/src/resources/radar/http/ases/http-method.ts +8 -0
  627. package/src/resources/radar/http/ases/http-protocol.ts +8 -0
  628. package/src/resources/radar/http/ases/ip-version.ts +8 -0
  629. package/src/resources/radar/http/ases/os.ts +8 -0
  630. package/src/resources/radar/http/ases/tls-version.ts +8 -0
  631. package/src/resources/radar/http/http.ts +8 -0
  632. package/src/resources/radar/http/locations/bot-class.ts +8 -0
  633. package/src/resources/radar/http/locations/browser-family.ts +8 -0
  634. package/src/resources/radar/http/locations/device-type.ts +8 -0
  635. package/src/resources/radar/http/locations/http-method.ts +8 -0
  636. package/src/resources/radar/http/locations/http-protocol.ts +8 -0
  637. package/src/resources/radar/http/locations/ip-version.ts +8 -0
  638. package/src/resources/radar/http/locations/locations.ts +8 -0
  639. package/src/resources/radar/http/locations/os.ts +8 -0
  640. package/src/resources/radar/http/locations/tls-version.ts +8 -0
  641. package/src/resources/radar/http/summary.ts +72 -38
  642. package/src/resources/radar/http/timeseries-groups.ts +90 -50
  643. package/src/resources/radar/http/top.ts +16 -0
  644. package/src/resources/radar/leaked-credentials/summary.ts +2 -10
  645. package/src/resources/radar/leaked-credentials/timeseries-groups.ts +2 -10
  646. package/src/resources/radar/netflows/netflows.ts +17 -4
  647. package/src/resources/radar/netflows/top.ts +16 -0
  648. package/src/resources/radar/search.ts +2 -0
  649. package/src/resources/request-tracers/traces.ts +1 -1
  650. package/src/resources/resource-sharing/recipients.ts +100 -6
  651. package/src/resources/resource-sharing/resource-sharing.ts +470 -6
  652. package/src/resources/resource-sharing/resources.ts +49 -7
  653. package/src/resources/rules/lists/items.ts +9 -0
  654. package/src/resources/snippets/snippets.ts +3 -6
  655. package/src/resources/stream/downloads.ts +4 -2
  656. package/src/resources/workers/beta/beta.ts +2 -0
  657. package/src/resources/workers/beta/index.ts +1 -0
  658. package/src/resources/workers/beta/workers/index.ts +1 -0
  659. package/src/resources/workers/beta/workers/versions.ts +331 -16
  660. package/src/resources/workers/beta/workers/workers.ts +160 -18
  661. package/src/resources/workers/index.ts +2 -0
  662. package/src/resources/workers/scripts/content.ts +1 -0
  663. package/src/resources/workers/scripts/index.ts +2 -0
  664. package/src/resources/workers/scripts/script-and-version-settings.ts +439 -13
  665. package/src/resources/workers/scripts/scripts.ts +261 -8
  666. package/src/resources/workers/scripts/secrets.ts +22 -12
  667. package/src/resources/workers/scripts/settings.ts +15 -0
  668. package/src/resources/workers/scripts/versions.ts +405 -9
  669. package/src/resources/workers/workers.ts +4 -0
  670. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.ts +136 -4
  671. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/content.ts +1 -0
  672. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.ts +149 -8
  673. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.ts +16 -6
  674. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.ts +439 -13
  675. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.ts +2 -8
  676. package/src/resources/workflows/instances/instances.ts +6 -0
  677. package/src/resources/zero-trust/access/applications/applications.ts +0 -168
  678. package/src/resources/zero-trust/access/bookmarks.ts +0 -4
  679. package/src/resources/zero-trust/access/certificates/certificates.ts +0 -4
  680. package/src/resources/zero-trust/access/custom-pages.ts +0 -28
  681. package/src/resources/zero-trust/access/groups.ts +0 -16
  682. package/src/resources/zero-trust/access/service-tokens.ts +47 -20
  683. package/src/resources/zero-trust/access/tags.ts +0 -9
  684. package/src/resources/zero-trust/devices/devices_.ts +114 -6
  685. package/src/resources/zero-trust/devices/registrations.ts +88 -6
  686. package/src/resources/zero-trust/gateway/app-types.ts +10 -10
  687. package/src/resources/zero-trust/gateway/audit-ssh-settings.ts +11 -11
  688. package/src/resources/zero-trust/gateway/categories.ts +17 -19
  689. package/src/resources/zero-trust/gateway/certificates.ts +84 -83
  690. package/src/resources/zero-trust/gateway/configurations/configurations.ts +212 -192
  691. package/src/resources/zero-trust/gateway/configurations/custom-certificate.ts +1 -1
  692. package/src/resources/zero-trust/gateway/gateway.ts +8 -8
  693. package/src/resources/zero-trust/gateway/lists/items.ts +2 -2
  694. package/src/resources/zero-trust/gateway/lists/lists.ts +32 -32
  695. package/src/resources/zero-trust/gateway/locations.ts +84 -98
  696. package/src/resources/zero-trust/gateway/logging.ts +60 -23
  697. package/src/resources/zero-trust/gateway/proxy-endpoints.ts +16 -16
  698. package/src/resources/zero-trust/gateway/rules.ts +515 -440
  699. package/src/resources/zero-trust/networks/hostname-routes.ts +283 -0
  700. package/src/resources/zero-trust/networks/index.ts +10 -0
  701. package/src/resources/zero-trust/networks/networks.ts +25 -0
  702. package/src/resources/zero-trust/organizations/doh.ts +0 -12
  703. package/src/resources/zero-trust/organizations/organizations.ts +0 -4
  704. package/src/resources/zero-trust/tunnels/cloudflared/configurations.ts +0 -28
  705. package/src/version.ts +1 -1
  706. package/version.d.ts +1 -1
  707. package/version.js +1 -1
  708. package/version.mjs +1 -1
@@ -7,7 +7,7 @@ import { SinglePage } from '../../../pagination';
7
7
 
8
8
  export class Rules extends APIResource {
9
9
  /**
10
- * Creates a new Zero Trust Gateway rule.
10
+ * Create a new Zero Trust Gateway rule.
11
11
  *
12
12
  * @example
13
13
  * ```ts
@@ -29,7 +29,7 @@ export class Rules extends APIResource {
29
29
  }
30
30
 
31
31
  /**
32
- * Updates a configured Zero Trust Gateway rule.
32
+ * Update a configured Zero Trust Gateway rule.
33
33
  *
34
34
  * @example
35
35
  * ```ts
@@ -59,7 +59,7 @@ export class Rules extends APIResource {
59
59
  }
60
60
 
61
61
  /**
62
- * Fetches the Zero Trust Gateway rules for an account.
62
+ * List Zero Trust Gateway rules for an account.
63
63
  *
64
64
  * @example
65
65
  * ```ts
@@ -80,7 +80,7 @@ export class Rules extends APIResource {
80
80
  }
81
81
 
82
82
  /**
83
- * Deletes a Zero Trust Gateway rule.
83
+ * Delete a Zero Trust Gateway rule.
84
84
  *
85
85
  * @example
86
86
  * ```ts
@@ -104,7 +104,7 @@ export class Rules extends APIResource {
104
104
  }
105
105
 
106
106
  /**
107
- * Fetches a single Zero Trust Gateway rule.
107
+ * Get a single Zero Trust Gateway rule.
108
108
  *
109
109
  * @example
110
110
  * ```ts
@@ -125,11 +125,9 @@ export class Rules extends APIResource {
125
125
  }
126
126
 
127
127
  /**
128
- * Resets the expiration of a Zero Trust Gateway Rule if its duration has elapsed
129
- * and it has a default duration.
130
- *
131
- * The Zero Trust Gateway Rule must have values for both `expiration.expires_at`
132
- * and `expiration.duration`.
128
+ * Resets the expiration of a Zero Trust Gateway Rule if its duration elapsed and
129
+ * it has a default duration. The Zero Trust Gateway Rule must have values for both
130
+ * `expiration.expires_at` and `expiration.duration`.
133
131
  *
134
132
  * @example
135
133
  * ```ts
@@ -159,23 +157,24 @@ export class GatewayRulesSinglePage extends SinglePage<GatewayRule> {}
159
157
 
160
158
  export interface DNSResolverSettingsV4 {
161
159
  /**
162
- * IPv4 address of upstream resolver.
160
+ * Specify the IPv4 address of the upstream resolver.
163
161
  */
164
162
  ip: string;
165
163
 
166
164
  /**
167
- * A port number to use for upstream resolver. Defaults to 53 if unspecified.
165
+ * Specify a port number to use for the upstream resolver. Defaults to 53 if
166
+ * unspecified.
168
167
  */
169
168
  port?: number;
170
169
 
171
170
  /**
172
- * Whether to connect to this resolver over a private network. Must be set when
173
- * vnet_id is set.
171
+ * Indicate whether to connect to this resolver over a private network. Must set
172
+ * when vnet_id set.
174
173
  */
175
174
  route_through_private_network?: boolean;
176
175
 
177
176
  /**
178
- * Optionally specify a virtual network for this resolver. Uses default virtual
177
+ * Specify an optional virtual network for this resolver. Uses default virtual
179
178
  * network id if omitted.
180
179
  */
181
180
  vnet_id?: string;
@@ -183,23 +182,24 @@ export interface DNSResolverSettingsV4 {
183
182
 
184
183
  export interface DNSResolverSettingsV4Param {
185
184
  /**
186
- * IPv4 address of upstream resolver.
185
+ * Specify the IPv4 address of the upstream resolver.
187
186
  */
188
187
  ip: string;
189
188
 
190
189
  /**
191
- * A port number to use for upstream resolver. Defaults to 53 if unspecified.
190
+ * Specify a port number to use for the upstream resolver. Defaults to 53 if
191
+ * unspecified.
192
192
  */
193
193
  port?: number;
194
194
 
195
195
  /**
196
- * Whether to connect to this resolver over a private network. Must be set when
197
- * vnet_id is set.
196
+ * Indicate whether to connect to this resolver over a private network. Must set
197
+ * when vnet_id set.
198
198
  */
199
199
  route_through_private_network?: boolean;
200
200
 
201
201
  /**
202
- * Optionally specify a virtual network for this resolver. Uses default virtual
202
+ * Specify an optional virtual network for this resolver. Uses default virtual
203
203
  * network id if omitted.
204
204
  */
205
205
  vnet_id?: string;
@@ -207,23 +207,24 @@ export interface DNSResolverSettingsV4Param {
207
207
 
208
208
  export interface DNSResolverSettingsV6 {
209
209
  /**
210
- * IPv6 address of upstream resolver.
210
+ * Specify the IPv6 address of the upstream resolver.
211
211
  */
212
212
  ip: string;
213
213
 
214
214
  /**
215
- * A port number to use for upstream resolver. Defaults to 53 if unspecified.
215
+ * Specify a port number to use for the upstream resolver. Defaults to 53 if
216
+ * unspecified.
216
217
  */
217
218
  port?: number;
218
219
 
219
220
  /**
220
- * Whether to connect to this resolver over a private network. Must be set when
221
- * vnet_id is set.
221
+ * Indicate whether to connect to this resolver over a private network. Must set
222
+ * when vnet_id set.
222
223
  */
223
224
  route_through_private_network?: boolean;
224
225
 
225
226
  /**
226
- * Optionally specify a virtual network for this resolver. Uses default virtual
227
+ * Specify an optional virtual network for this resolver. Uses default virtual
227
228
  * network id if omitted.
228
229
  */
229
230
  vnet_id?: string;
@@ -231,42 +232,43 @@ export interface DNSResolverSettingsV6 {
231
232
 
232
233
  export interface DNSResolverSettingsV6Param {
233
234
  /**
234
- * IPv6 address of upstream resolver.
235
+ * Specify the IPv6 address of the upstream resolver.
235
236
  */
236
237
  ip: string;
237
238
 
238
239
  /**
239
- * A port number to use for upstream resolver. Defaults to 53 if unspecified.
240
+ * Specify a port number to use for the upstream resolver. Defaults to 53 if
241
+ * unspecified.
240
242
  */
241
243
  port?: number;
242
244
 
243
245
  /**
244
- * Whether to connect to this resolver over a private network. Must be set when
245
- * vnet_id is set.
246
+ * Indicate whether to connect to this resolver over a private network. Must set
247
+ * when vnet_id set.
246
248
  */
247
249
  route_through_private_network?: boolean;
248
250
 
249
251
  /**
250
- * Optionally specify a virtual network for this resolver. Uses default virtual
252
+ * Specify an optional virtual network for this resolver. Uses default virtual
251
253
  * network id if omitted.
252
254
  */
253
255
  vnet_id?: string;
254
256
  }
255
257
 
256
258
  /**
257
- * The protocol or layer to use.
259
+ * Specify the protocol or layer to use.
258
260
  */
259
261
  export type GatewayFilter = 'http' | 'dns' | 'l4' | 'egress' | 'dns_resolver';
260
262
 
261
263
  /**
262
- * The protocol or layer to use.
264
+ * Specify the protocol or layer to use.
263
265
  */
264
266
  export type GatewayFilterParam = 'http' | 'dns' | 'l4' | 'egress' | 'dns_resolver';
265
267
 
266
268
  export interface GatewayRule {
267
269
  /**
268
- * The action to perform when the associated traffic, identity, and device posture
269
- * expressions are either absent or evaluate to `true`.
270
+ * Specify the action to perform when the associated traffic, identity, and device
271
+ * posture expressions either absent or evaluate to `true`.
270
272
  */
271
273
  action:
272
274
  | 'on'
@@ -287,318 +289,343 @@ export interface GatewayRule {
287
289
  | 'redirect';
288
290
 
289
291
  /**
290
- * True if the rule is enabled.
292
+ * Specify whether the rule is enabled.
291
293
  */
292
294
  enabled: boolean;
293
295
 
294
296
  /**
295
- * The protocol or layer to evaluate the traffic, identity, and device. posture
296
- * expressions.
297
+ * Specify the protocol or layer to evaluate the traffic, identity, and device
298
+ * posture expressions.
297
299
  */
298
300
  filters: Array<GatewayFilter>;
299
301
 
300
302
  /**
301
- * The name of the rule.
303
+ * Specify the rule name.
302
304
  */
303
305
  name: string;
304
306
 
305
307
  /**
306
- * Precedence sets the order of your rules. Lower values indicate higher
307
- * precedence. At each processing phase, applicable rules are evaluated in
308
- * ascending order of this value. Refer to
308
+ * Set the order of your rules. Lower values indicate higher precedence. At each
309
+ * processing phase, evaluate applicable rules in ascending order of this value.
310
+ * Refer to
309
311
  * [Order of enforcement](http://developers.cloudflare.com/learning-paths/secure-internet-traffic/understand-policies/order-of-enforcement/#manage-precedence-with-terraform)
310
- * docs on how to manage precedence via Terraform.
312
+ * to manage precedence via Terraform.
311
313
  */
312
314
  precedence: number;
313
315
 
314
316
  /**
315
- * The wirefilter expression used for traffic matching. The API automatically
316
- * formats and sanitizes this expression. This returns a normalized version that
317
- * may differ from your input and cause Terraform state drift.
317
+ * Specify the wirefilter expression used for traffic matching. The API
318
+ * automatically formats and sanitizes expressions before storing them. To prevent
319
+ * Terraform state drift, use the formatted expression returned in the API
320
+ * response.
318
321
  */
319
322
  traffic: string;
320
323
 
321
324
  /**
322
- * The API resource UUID.
325
+ * Identify the API resource with a UUID.
323
326
  */
324
327
  id?: string;
325
328
 
326
329
  created_at?: string;
327
330
 
328
331
  /**
329
- * Date of deletion, if any.
332
+ * Indicate the date of deletion, if any.
330
333
  */
331
334
  deleted_at?: string | null;
332
335
 
333
336
  /**
334
- * The description of the rule.
337
+ * Specify the rule description.
335
338
  */
336
339
  description?: string;
337
340
 
338
341
  /**
339
- * The wirefilter expression used for device posture check matching. The API
340
- * automatically formats and sanitizes this expression. This returns a normalized
341
- * version that may differ from your input and cause Terraform state drift.
342
+ * Specify the wirefilter expression used for device posture check. The API
343
+ * automatically formats and sanitizes expressions before storing them. To prevent
344
+ * Terraform state drift, use the formatted expression returned in the API
345
+ * response.
342
346
  */
343
347
  device_posture?: string;
344
348
 
345
349
  /**
346
- * The expiration time stamp and default duration of a DNS policy. Takes precedence
347
- * over the policy's `schedule` configuration, if any.
348
- *
349
- * This does not apply to HTTP or network policies.
350
+ * Defines the expiration time stamp and default duration of a DNS policy. Takes
351
+ * precedence over the policy's `schedule` configuration, if any. This does not
352
+ * apply to HTTP or network policies. Settable only for `dns` rules.
350
353
  */
351
354
  expiration?: GatewayRule.Expiration | null;
352
355
 
353
356
  /**
354
- * The wirefilter expression used for identity matching. The API automatically
355
- * formats and sanitizes this expression. This returns a normalized version that
356
- * may differ from your input and cause Terraform state drift.
357
+ * Specify the wirefilter expression used for identity matching. The API
358
+ * automatically formats and sanitizes expressions before storing them. To prevent
359
+ * Terraform state drift, use the formatted expression returned in the API
360
+ * response.
357
361
  */
358
362
  identity?: string;
359
363
 
360
364
  /**
361
- * The rule cannot be shared via the Orgs API.
362
- */
363
- not_sharable?: boolean;
364
-
365
- /**
366
- * The rule was shared via the Orgs API and cannot be edited by the current
367
- * account.
365
+ * Indicate that this rule is shared via the Orgs API and read only.
368
366
  */
369
367
  read_only?: boolean;
370
368
 
371
369
  /**
372
- * Additional settings that modify the rule's action.
370
+ * Set settings related to this rule. Each setting is only valid for specific rule
371
+ * types and can only be used with the appropriate selectors. If Terraform drift is
372
+ * observed in these setting values, verify that the setting is supported for the
373
+ * given rule type and that the API response reflects the requested value. If the
374
+ * API response returns sanitized or modified values that differ from the request,
375
+ * use the API-provided values in Terraform to ensure consistency.
373
376
  */
374
377
  rule_settings?: RuleSetting;
375
378
 
376
379
  /**
377
- * The schedule for activating DNS policies. This does not apply to HTTP or network
378
- * policies.
380
+ * Defines the schedule for activating DNS policies. Settable only for `dns` and
381
+ * `dns_resolver` rules.
379
382
  */
380
383
  schedule?: Schedule | null;
381
384
 
382
385
  /**
383
- * account tag of account that created the rule.
386
+ * Indicate that this rule is sharable via the Orgs API.
387
+ */
388
+ sharable?: boolean;
389
+
390
+ /**
391
+ * Provide the account tag of the account that created the rule.
384
392
  */
385
393
  source_account?: string;
386
394
 
387
395
  updated_at?: string;
388
396
 
389
397
  /**
390
- * version number of the rule.
398
+ * Indicate the version number of the rule(read-only).
391
399
  */
392
400
  version?: number;
393
401
 
394
402
  /**
395
- * Warning for a misconfigured rule, if any.
403
+ * Indicate a warning for a misconfigured rule, if any.
396
404
  */
397
405
  warning_status?: string | null;
398
406
  }
399
407
 
400
408
  export namespace GatewayRule {
401
409
  /**
402
- * The expiration time stamp and default duration of a DNS policy. Takes precedence
403
- * over the policy's `schedule` configuration, if any.
404
- *
405
- * This does not apply to HTTP or network policies.
410
+ * Defines the expiration time stamp and default duration of a DNS policy. Takes
411
+ * precedence over the policy's `schedule` configuration, if any. This does not
412
+ * apply to HTTP or network policies. Settable only for `dns` rules.
406
413
  */
407
414
  export interface Expiration {
408
415
  /**
409
- * The time stamp at which the policy will expire and cease to be applied.
410
- *
411
- * Must adhere to RFC 3339 and include a UTC offset. Non-zero offsets are accepted
412
- * but will be converted to the equivalent value with offset zero (UTC+00:00) and
413
- * will be returned as time stamps with offset zero denoted by a trailing 'Z'.
414
- *
415
- * Policies with an expiration do not consider the timezone of clients they are
416
- * applied to, and expire "globally" at the point given by their `expires_at`
417
- * value.
416
+ * Show the timestamp when the policy expires and stops applying. The value must
417
+ * follow RFC 3339 and include a UTC offset. The system accepts non-zero offsets
418
+ * but converts them to the equivalent UTC+00:00 value and returns timestamps with
419
+ * a trailing Z. Expiration policies ignore client timezones and expire globally at
420
+ * the specified expires_at time.
418
421
  */
419
422
  expires_at: string;
420
423
 
421
424
  /**
422
- * The default duration a policy will be active in minutes. Must be set in order to
425
+ * Defines the default duration a policy active in minutes. Must set in order to
423
426
  * use the `reset_expiration` endpoint on this rule.
424
427
  */
425
428
  duration?: number;
426
429
 
427
430
  /**
428
- * Whether the policy has expired.
431
+ * Indicates whether the policy is expired.
429
432
  */
430
433
  expired?: boolean;
431
434
  }
432
435
  }
433
436
 
434
437
  /**
435
- * Additional settings that modify the rule's action.
438
+ * Set settings related to this rule. Each setting is only valid for specific rule
439
+ * types and can only be used with the appropriate selectors. If Terraform drift is
440
+ * observed in these setting values, verify that the setting is supported for the
441
+ * given rule type and that the API response reflects the requested value. If the
442
+ * API response returns sanitized or modified values that differ from the request,
443
+ * use the API-provided values in Terraform to ensure consistency.
436
444
  */
437
445
  export interface RuleSetting {
438
446
  /**
439
- * Add custom headers to allowed requests, in the form of key-value pairs. Keys are
440
- * header names, pointing to an array with its header value(s).
447
+ * Add custom headers to allowed requests as key-value pairs. Use header names as
448
+ * keys that map to arrays of header values. Settable only for `http` rules with
449
+ * the action set to `allow`.
441
450
  */
442
451
  add_headers?: { [key: string]: Array<string> } | null;
443
452
 
444
453
  /**
445
- * Set by parent MSP accounts to enable their children to bypass this rule.
454
+ * Set to enable MSP children to bypass this rule. Only parent MSP accounts can set
455
+ * this. this rule. Settable for all types of rules.
446
456
  */
447
457
  allow_child_bypass?: boolean | null;
448
458
 
449
459
  /**
450
- * Settings for the Audit SSH action.
460
+ * Define the settings for the Audit SSH action. Settable only for `l4` rules with
461
+ * `audit_ssh` action.
451
462
  */
452
463
  audit_ssh?: RuleSetting.AuditSSH | null;
453
464
 
454
465
  /**
455
- * Configure how browser isolation behaves.
466
+ * Configure browser isolation behavior. Settable only for `http` rules with the
467
+ * action set to `isolate`.
456
468
  */
457
469
  biso_admin_controls?: RuleSetting.BISOAdminControls;
458
470
 
459
471
  /**
460
- * Custom block page settings. If missing/null, blocking will use the the account
461
- * settings.
472
+ * Configure custom block page settings. If missing or null, use the account
473
+ * settings. Settable only for `http` rules with the action set to `block`.
462
474
  */
463
475
  block_page?: RuleSetting.BlockPage | null;
464
476
 
465
477
  /**
466
- * Enable the custom block page.
478
+ * Enable the custom block page. Settable only for `dns` rules with action `block`.
467
479
  */
468
480
  block_page_enabled?: boolean;
469
481
 
470
482
  /**
471
- * The text describing why this block occurred, displayed on the custom block page
472
- * (if enabled).
483
+ * Explain why the rule blocks the request. The custom block page shows this text
484
+ * (if enabled). Settable only for `dns`, `l4`, and `http` rules when the action
485
+ * set to `block`.
473
486
  */
474
487
  block_reason?: string | null;
475
488
 
476
489
  /**
477
- * Set by children MSP accounts to bypass their parent's rules.
490
+ * Set to enable MSP accounts to bypass their parent's rules. Only MSP child
491
+ * accounts can set this. Settable for all types of rules.
478
492
  */
479
493
  bypass_parent_rule?: boolean | null;
480
494
 
481
495
  /**
482
- * Configure how session check behaves.
496
+ * Configure session check behavior. Settable only for `l4` and `http` rules with
497
+ * the action set to `allow`.
483
498
  */
484
499
  check_session?: RuleSetting.CheckSession | null;
485
500
 
486
501
  /**
487
- * Add your own custom resolvers to route queries that match the resolver policy.
488
- * Cannot be used when 'resolve_dns_through_cloudflare' or 'resolve_dns_internally'
489
- * are set. DNS queries will route to the address closest to their origin. Only
490
- * valid when a rule's action is set to 'resolve'.
502
+ * Configure custom resolvers to route queries that match the resolver policy.
503
+ * Unused with 'resolve_dns_through_cloudflare' or 'resolve_dns_internally'
504
+ * settings. DNS queries get routed to the address closest to their origin. Only
505
+ * valid when a rule's action set to 'resolve'. Settable only for `dns_resolver`
506
+ * rules.
491
507
  */
492
508
  dns_resolvers?: RuleSetting.DNSResolvers | null;
493
509
 
494
510
  /**
495
511
  * Configure how Gateway Proxy traffic egresses. You can enable this setting for
496
512
  * rules with Egress actions and filters, or omit it to indicate local egress via
497
- * WARP IPs.
513
+ * WARP IPs. Settable only for `egress` rules.
498
514
  */
499
515
  egress?: RuleSetting.Egress | null;
500
516
 
501
517
  /**
502
- * Set to true, to ignore the category matches at CNAME domains in a response. If
503
- * unchecked, the categories in this rule will be checked against all the CNAME
504
- * domain categories in a response.
518
+ * Ignore category matches at CNAME domains in a response. When off, evaluate
519
+ * categories in this rule against all CNAME domain categories in the response.
520
+ * Settable only for `dns` and `dns_resolver` rules.
505
521
  */
506
522
  ignore_cname_category_matches?: boolean;
507
523
 
508
524
  /**
509
- * INSECURE - disable DNSSEC validation (for Allow actions).
525
+ * Specify whether to disable DNSSEC validation (for Allow actions) [INSECURE].
526
+ * Settable only for `dns` rules.
510
527
  */
511
528
  insecure_disable_dnssec_validation?: boolean;
512
529
 
513
530
  /**
514
- * Set to true to enable IPs in DNS resolver category blocks. By default categories
515
- * only block based on domain names.
531
+ * Enable IPs in DNS resolver category blocks. The system blocks only domain name
532
+ * categories unless you enable this setting. Settable only for `dns` and
533
+ * `dns_resolver` rules.
516
534
  */
517
535
  ip_categories?: boolean;
518
536
 
519
537
  /**
520
- * Set to true to include IPs in DNS resolver indicator feed blocks. By default
521
- * indicator feeds only block based on domain names.
538
+ * Indicates whether to include IPs in DNS resolver indicator feed blocks. Default,
539
+ * indicator feeds block only domain names. Settable only for `dns` and
540
+ * `dns_resolver` rules.
522
541
  */
523
542
  ip_indicator_feeds?: boolean;
524
543
 
525
544
  /**
526
- * Send matching traffic to the supplied destination IP address. and port.
545
+ * Send matching traffic to the supplied destination IP address and port. Settable
546
+ * only for `l4` rules with the action set to `l4_override`.
527
547
  */
528
548
  l4override?: RuleSetting.L4override | null;
529
549
 
530
550
  /**
531
- * Configure a notification to display on the user's device when this rule is
532
- * matched.
551
+ * Configure a notification to display on the user's device when this rule matched.
552
+ * Settable for all types of rules with the action set to `block`.
533
553
  */
534
554
  notification_settings?: RuleSetting.NotificationSettings | null;
535
555
 
536
556
  /**
537
- * Override matching DNS queries with a hostname.
557
+ * Defines a hostname for override, for the matching DNS queries. Settable only for
558
+ * `dns` rules with the action set to `override`.
538
559
  */
539
560
  override_host?: string;
540
561
 
541
562
  /**
542
- * Override matching DNS queries with an IP or set of IPs.
563
+ * Defines a an IP or set of IPs for overriding matched DNS queries. Settable only
564
+ * for `dns` rules with the action set to `override`.
543
565
  */
544
566
  override_ips?: Array<string> | null;
545
567
 
546
568
  /**
547
- * Configure DLP payload logging.
569
+ * Configure DLP payload logging. Settable only for `http` rules.
548
570
  */
549
571
  payload_log?: RuleSetting.PayloadLog | null;
550
572
 
551
573
  /**
552
- * Settings that apply to quarantine rules.
574
+ * Configure settings that apply to quarantine rules. Settable only for `http`
575
+ * rules.
553
576
  */
554
577
  quarantine?: RuleSetting.Quarantine | null;
555
578
 
556
579
  /**
557
- * Settings that apply to redirect rules.
580
+ * Apply settings to redirect rules. Settable only for `http` rules with the action
581
+ * set to `redirect`.
558
582
  */
559
583
  redirect?: RuleSetting.Redirect | null;
560
584
 
561
585
  /**
562
586
  * Configure to forward the query to the internal DNS service, passing the
563
- * specified 'view_id' as input. Cannot be set when 'dns_resolvers' are specified
564
- * or 'resolve_dns_through_cloudflare' is set. Only valid when a rule's action is
565
- * set to 'resolve'.
587
+ * specified 'view_id' as input. Not used when 'dns_resolvers' is specified or
588
+ * 'resolve_dns_through_cloudflare' is set. Only valid when a rule's action set to
589
+ * 'resolve'. Settable only for `dns_resolver` rules.
566
590
  */
567
591
  resolve_dns_internally?: RuleSetting.ResolveDNSInternally | null;
568
592
 
569
593
  /**
570
594
  * Enable to send queries that match the policy to Cloudflare's default 1.1.1.1 DNS
571
- * resolver. Cannot be set when 'dns_resolvers' are specified or
572
- * 'resolve_dns_internally' is set. Only valid when a rule's action is set to
573
- * 'resolve'.
595
+ * resolver. Cannot set when 'dns_resolvers' specified or 'resolve_dns_internally'
596
+ * is set. Only valid when a rule's action set to 'resolve'. Settable only for
597
+ * `dns_resolver` rules.
574
598
  */
575
599
  resolve_dns_through_cloudflare?: boolean | null;
576
600
 
577
601
  /**
578
- * Configure behavior when an upstream cert is invalid or an SSL error occurs.
602
+ * Configure behavior when an upstream certificate is invalid or an SSL error
603
+ * occurs. Settable only for `http` rules with the action set to `allow`.
579
604
  */
580
605
  untrusted_cert?: RuleSetting.UntrustedCERT | null;
581
606
  }
582
607
 
583
608
  export namespace RuleSetting {
584
609
  /**
585
- * Settings for the Audit SSH action.
610
+ * Define the settings for the Audit SSH action. Settable only for `l4` rules with
611
+ * `audit_ssh` action.
586
612
  */
587
613
  export interface AuditSSH {
588
614
  /**
589
- * Enable to turn on SSH command logging.
615
+ * Enable SSH command logging.
590
616
  */
591
617
  command_logging?: boolean;
592
618
  }
593
619
 
594
620
  /**
595
- * Configure how browser isolation behaves.
621
+ * Configure browser isolation behavior. Settable only for `http` rules with the
622
+ * action set to `isolate`.
596
623
  */
597
624
  export interface BISOAdminControls {
598
625
  /**
599
- * Configure whether copy is enabled or not. When set with "remote_only", copying
600
- * isolated content from the remote browser to the user's local clipboard is
601
- * disabled. When absent, copy is enabled. Only applies when `version == "v2"`.
626
+ * Configure copy behavior. If set to remote_only, users cannot copy isolated
627
+ * content from the remote browser to the local clipboard. If this field is absent,
628
+ * copying remains enabled. Applies only when version == "v2".
602
629
  */
603
630
  copy?: 'enabled' | 'disabled' | 'remote_only';
604
631
 
@@ -618,8 +645,8 @@ export namespace RuleSetting {
618
645
  dk?: boolean;
619
646
 
620
647
  /**
621
- * Configure whether downloading enabled or not. When set with "remote_only",
622
- * downloads are only available for viewing. Only applies when `version == "v2"`.
648
+ * Configure download behavior. When set to remote_only, users can view downloads
649
+ * but cannot save them. Applies only when version == "v2".
623
650
  */
624
651
  download?: 'enabled' | 'disabled' | 'remote_only';
625
652
 
@@ -634,74 +661,75 @@ export namespace RuleSetting {
634
661
  du?: boolean;
635
662
 
636
663
  /**
637
- * Configure whether keyboard usage is enabled or not. When absent, keyboard usage
638
- * is enabled. Only applies when `version == "v2"`.
664
+ * Configure keyboard usage behavior. If this field is absent, keyboard usage
665
+ * remains enabled. Applies only when version == "v2".
639
666
  */
640
667
  keyboard?: 'enabled' | 'disabled';
641
668
 
642
669
  /**
643
- * Configure whether pasting is enabled or not. When set with "remote_only",
644
- * pasting content from the user's local clipboard into isolated pages is disabled.
645
- * When absent, paste is enabled. Only applies when `version == "v2"`.
670
+ * Configure paste behavior. If set to remote_only, users cannot paste content from
671
+ * the local clipboard into isolated pages. If this field is absent, pasting
672
+ * remains enabled. Applies only when version == "v2".
646
673
  */
647
674
  paste?: 'enabled' | 'disabled' | 'remote_only';
648
675
 
649
676
  /**
650
- * Configure whether printing is enabled or not. When absent, printing is enabled.
651
- * Only applies when `version == "v2"`.
677
+ * Configure print behavior. Default, Printing is enabled. Applies only when
678
+ * version == "v2".
652
679
  */
653
680
  printing?: 'enabled' | 'disabled';
654
681
 
655
682
  /**
656
- * Configure whether uploading is enabled or not. When absent, uploading is
657
- * enabled. Only applies when `version == "v2"`.
683
+ * Configure upload behavior. If this field is absent, uploading remains enabled.
684
+ * Applies only when version == "v2".
658
685
  */
659
686
  upload?: 'enabled' | 'disabled';
660
687
 
661
688
  /**
662
- * Indicates which version of the browser isolation controls should apply.
689
+ * Indicate which version of the browser isolation controls should apply.
663
690
  */
664
691
  version?: 'v1' | 'v2';
665
692
  }
666
693
 
667
694
  /**
668
- * Custom block page settings. If missing/null, blocking will use the the account
669
- * settings.
695
+ * Configure custom block page settings. If missing or null, use the account
696
+ * settings. Settable only for `http` rules with the action set to `block`.
670
697
  */
671
698
  export interface BlockPage {
672
699
  /**
673
- * URI to which the user will be redirected.
700
+ * Specify the URI to which the user is redirected.
674
701
  */
675
702
  target_uri: string;
676
703
 
677
704
  /**
678
- * If true, context information will be passed as query parameters.
705
+ * Specify whether to pass the context information as query parameters.
679
706
  */
680
707
  include_context?: boolean;
681
708
  }
682
709
 
683
710
  /**
684
- * Configure how session check behaves.
711
+ * Configure session check behavior. Settable only for `l4` and `http` rules with
712
+ * the action set to `allow`.
685
713
  */
686
714
  export interface CheckSession {
687
715
  /**
688
- * Configure how fresh the session needs to be to be considered valid. The API
689
- * automatically formats and sanitizes this expression. This returns a normalized
690
- * version that may differ from your input and cause Terraform state drift.
716
+ * Sets the required session freshness threshold. The API returns a normalized
717
+ * version of this value.
691
718
  */
692
719
  duration?: string;
693
720
 
694
721
  /**
695
- * Set to true to enable session enforcement.
722
+ * Enable session enforcement.
696
723
  */
697
724
  enforce?: boolean;
698
725
  }
699
726
 
700
727
  /**
701
- * Add your own custom resolvers to route queries that match the resolver policy.
702
- * Cannot be used when 'resolve_dns_through_cloudflare' or 'resolve_dns_internally'
703
- * are set. DNS queries will route to the address closest to their origin. Only
704
- * valid when a rule's action is set to 'resolve'.
728
+ * Configure custom resolvers to route queries that match the resolver policy.
729
+ * Unused with 'resolve_dns_through_cloudflare' or 'resolve_dns_internally'
730
+ * settings. DNS queries get routed to the address closest to their origin. Only
731
+ * valid when a rule's action set to 'resolve'. Settable only for `dns_resolver`
732
+ * rules.
705
733
  */
706
734
  export interface DNSResolvers {
707
735
  ipv4?: Array<RulesAPI.DNSResolverSettingsV4>;
@@ -712,54 +740,54 @@ export namespace RuleSetting {
712
740
  /**
713
741
  * Configure how Gateway Proxy traffic egresses. You can enable this setting for
714
742
  * rules with Egress actions and filters, or omit it to indicate local egress via
715
- * WARP IPs.
743
+ * WARP IPs. Settable only for `egress` rules.
716
744
  */
717
745
  export interface Egress {
718
746
  /**
719
- * The IPv4 address to be used for egress.
747
+ * Specify the IPv4 address to use for egress.
720
748
  */
721
749
  ipv4?: string;
722
750
 
723
751
  /**
724
- * The fallback IPv4 address to be used for egress in the event of an error
725
- * egressing with the primary IPv4. Can be '0.0.0.0' to indicate local egress via
726
- * WARP IPs.
752
+ * Specify the fallback IPv4 address to use for egress when the primary IPv4 fails.
753
+ * Set '0.0.0.0' to indicate local egress via WARP IPs.
727
754
  */
728
755
  ipv4_fallback?: string;
729
756
 
730
757
  /**
731
- * The IPv6 range to be used for egress.
758
+ * Specify the IPv6 range to use for egress.
732
759
  */
733
760
  ipv6?: string;
734
761
  }
735
762
 
736
763
  /**
737
- * Send matching traffic to the supplied destination IP address. and port.
764
+ * Send matching traffic to the supplied destination IP address and port. Settable
765
+ * only for `l4` rules with the action set to `l4_override`.
738
766
  */
739
767
  export interface L4override {
740
768
  /**
741
- * IPv4 or IPv6 address.
769
+ * Defines the IPv4 or IPv6 address.
742
770
  */
743
771
  ip?: string;
744
772
 
745
773
  /**
746
- * A port number to use for TCP/UDP overrides.
774
+ * Defines a port number to use for TCP/UDP overrides.
747
775
  */
748
776
  port?: number;
749
777
  }
750
778
 
751
779
  /**
752
- * Configure a notification to display on the user's device when this rule is
753
- * matched.
780
+ * Configure a notification to display on the user's device when this rule matched.
781
+ * Settable for all types of rules with the action set to `block`.
754
782
  */
755
783
  export interface NotificationSettings {
756
784
  /**
757
- * Set notification on.
785
+ * Enable notification.
758
786
  */
759
787
  enabled?: boolean;
760
788
 
761
789
  /**
762
- * If true, context information will be passed as query parameters.
790
+ * Indicates whether to pass the context information as query parameters.
763
791
  */
764
792
  include_context?: boolean;
765
793
 
@@ -769,28 +797,29 @@ export namespace RuleSetting {
769
797
  msg?: string;
770
798
 
771
799
  /**
772
- * Optional URL to direct users to additional information. If not set, the
773
- * notification will open a block page.
800
+ * Defines an optional URL to direct users to additional information. If unset, the
801
+ * notification opens a block page.
774
802
  */
775
803
  support_url?: string;
776
804
  }
777
805
 
778
806
  /**
779
- * Configure DLP payload logging.
807
+ * Configure DLP payload logging. Settable only for `http` rules.
780
808
  */
781
809
  export interface PayloadLog {
782
810
  /**
783
- * Set to true to enable DLP payload logging for this rule.
811
+ * Enable DLP payload logging for this rule.
784
812
  */
785
813
  enabled?: boolean;
786
814
  }
787
815
 
788
816
  /**
789
- * Settings that apply to quarantine rules.
817
+ * Configure settings that apply to quarantine rules. Settable only for `http`
818
+ * rules.
790
819
  */
791
820
  export interface Quarantine {
792
821
  /**
793
- * Types of files to sandbox.
822
+ * Specify the types of files to sandbox.
794
823
  */
795
824
  file_types?: Array<
796
825
  | 'exe'
@@ -810,226 +839,252 @@ export namespace RuleSetting {
810
839
  }
811
840
 
812
841
  /**
813
- * Settings that apply to redirect rules.
842
+ * Apply settings to redirect rules. Settable only for `http` rules with the action
843
+ * set to `redirect`.
814
844
  */
815
845
  export interface Redirect {
816
846
  /**
817
- * URI to which the user will be redirected.
847
+ * Specify the URI to which the user is redirected.
818
848
  */
819
849
  target_uri: string;
820
850
 
821
851
  /**
822
- * If true, context information will be passed as query parameters.
852
+ * Specify whether to pass the context information as query parameters.
823
853
  */
824
854
  include_context?: boolean;
825
855
 
826
856
  /**
827
- * If true, the path and query parameters from the original request will be
828
- * appended to target_uri.
857
+ * Specify whether to append the path and query parameters from the original
858
+ * request to target_uri.
829
859
  */
830
860
  preserve_path_and_query?: boolean;
831
861
  }
832
862
 
833
863
  /**
834
864
  * Configure to forward the query to the internal DNS service, passing the
835
- * specified 'view_id' as input. Cannot be set when 'dns_resolvers' are specified
836
- * or 'resolve_dns_through_cloudflare' is set. Only valid when a rule's action is
837
- * set to 'resolve'.
865
+ * specified 'view_id' as input. Not used when 'dns_resolvers' is specified or
866
+ * 'resolve_dns_through_cloudflare' is set. Only valid when a rule's action set to
867
+ * 'resolve'. Settable only for `dns_resolver` rules.
838
868
  */
839
869
  export interface ResolveDNSInternally {
840
870
  /**
841
- * The fallback behavior to apply when the internal DNS response code is different
842
- * from 'NOERROR' or when the response data only contains CNAME records for 'A' or
843
- * 'AAAA' queries.
871
+ * Specify the fallback behavior to apply when the internal DNS response code
872
+ * differs from 'NOERROR' or when the response data contains only CNAME records for
873
+ * 'A' or 'AAAA' queries.
844
874
  */
845
875
  fallback?: 'none' | 'public_dns';
846
876
 
847
877
  /**
848
- * The internal DNS view identifier that's passed to the internal DNS service.
878
+ * Specify the internal DNS view identifier to pass to the internal DNS service.
849
879
  */
850
880
  view_id?: string;
851
881
  }
852
882
 
853
883
  /**
854
- * Configure behavior when an upstream cert is invalid or an SSL error occurs.
884
+ * Configure behavior when an upstream certificate is invalid or an SSL error
885
+ * occurs. Settable only for `http` rules with the action set to `allow`.
855
886
  */
856
887
  export interface UntrustedCERT {
857
888
  /**
858
- * The action performed when an untrusted certificate is seen. The default action
859
- * is an error with HTTP code 526.
889
+ * Defines the action performed when an untrusted certificate seen. The default
890
+ * action an error with HTTP code 526.
860
891
  */
861
892
  action?: 'pass_through' | 'block' | 'error';
862
893
  }
863
894
  }
864
895
 
865
896
  /**
866
- * Additional settings that modify the rule's action.
897
+ * Set settings related to this rule. Each setting is only valid for specific rule
898
+ * types and can only be used with the appropriate selectors. If Terraform drift is
899
+ * observed in these setting values, verify that the setting is supported for the
900
+ * given rule type and that the API response reflects the requested value. If the
901
+ * API response returns sanitized or modified values that differ from the request,
902
+ * use the API-provided values in Terraform to ensure consistency.
867
903
  */
868
904
  export interface RuleSettingParam {
869
905
  /**
870
- * Add custom headers to allowed requests, in the form of key-value pairs. Keys are
871
- * header names, pointing to an array with its header value(s).
906
+ * Add custom headers to allowed requests as key-value pairs. Use header names as
907
+ * keys that map to arrays of header values. Settable only for `http` rules with
908
+ * the action set to `allow`.
872
909
  */
873
910
  add_headers?: { [key: string]: Array<string> } | null;
874
911
 
875
912
  /**
876
- * Set by parent MSP accounts to enable their children to bypass this rule.
913
+ * Set to enable MSP children to bypass this rule. Only parent MSP accounts can set
914
+ * this. this rule. Settable for all types of rules.
877
915
  */
878
916
  allow_child_bypass?: boolean | null;
879
917
 
880
918
  /**
881
- * Settings for the Audit SSH action.
919
+ * Define the settings for the Audit SSH action. Settable only for `l4` rules with
920
+ * `audit_ssh` action.
882
921
  */
883
922
  audit_ssh?: RuleSettingParam.AuditSSH | null;
884
923
 
885
924
  /**
886
- * Configure how browser isolation behaves.
925
+ * Configure browser isolation behavior. Settable only for `http` rules with the
926
+ * action set to `isolate`.
887
927
  */
888
928
  biso_admin_controls?: RuleSettingParam.BISOAdminControls;
889
929
 
890
930
  /**
891
- * Custom block page settings. If missing/null, blocking will use the the account
892
- * settings.
931
+ * Configure custom block page settings. If missing or null, use the account
932
+ * settings. Settable only for `http` rules with the action set to `block`.
893
933
  */
894
934
  block_page?: RuleSettingParam.BlockPage | null;
895
935
 
896
936
  /**
897
- * Enable the custom block page.
937
+ * Enable the custom block page. Settable only for `dns` rules with action `block`.
898
938
  */
899
939
  block_page_enabled?: boolean;
900
940
 
901
941
  /**
902
- * The text describing why this block occurred, displayed on the custom block page
903
- * (if enabled).
942
+ * Explain why the rule blocks the request. The custom block page shows this text
943
+ * (if enabled). Settable only for `dns`, `l4`, and `http` rules when the action
944
+ * set to `block`.
904
945
  */
905
946
  block_reason?: string | null;
906
947
 
907
948
  /**
908
- * Set by children MSP accounts to bypass their parent's rules.
949
+ * Set to enable MSP accounts to bypass their parent's rules. Only MSP child
950
+ * accounts can set this. Settable for all types of rules.
909
951
  */
910
952
  bypass_parent_rule?: boolean | null;
911
953
 
912
954
  /**
913
- * Configure how session check behaves.
955
+ * Configure session check behavior. Settable only for `l4` and `http` rules with
956
+ * the action set to `allow`.
914
957
  */
915
958
  check_session?: RuleSettingParam.CheckSession | null;
916
959
 
917
960
  /**
918
- * Add your own custom resolvers to route queries that match the resolver policy.
919
- * Cannot be used when 'resolve_dns_through_cloudflare' or 'resolve_dns_internally'
920
- * are set. DNS queries will route to the address closest to their origin. Only
921
- * valid when a rule's action is set to 'resolve'.
961
+ * Configure custom resolvers to route queries that match the resolver policy.
962
+ * Unused with 'resolve_dns_through_cloudflare' or 'resolve_dns_internally'
963
+ * settings. DNS queries get routed to the address closest to their origin. Only
964
+ * valid when a rule's action set to 'resolve'. Settable only for `dns_resolver`
965
+ * rules.
922
966
  */
923
967
  dns_resolvers?: RuleSettingParam.DNSResolvers | null;
924
968
 
925
969
  /**
926
970
  * Configure how Gateway Proxy traffic egresses. You can enable this setting for
927
971
  * rules with Egress actions and filters, or omit it to indicate local egress via
928
- * WARP IPs.
972
+ * WARP IPs. Settable only for `egress` rules.
929
973
  */
930
974
  egress?: RuleSettingParam.Egress | null;
931
975
 
932
976
  /**
933
- * Set to true, to ignore the category matches at CNAME domains in a response. If
934
- * unchecked, the categories in this rule will be checked against all the CNAME
935
- * domain categories in a response.
977
+ * Ignore category matches at CNAME domains in a response. When off, evaluate
978
+ * categories in this rule against all CNAME domain categories in the response.
979
+ * Settable only for `dns` and `dns_resolver` rules.
936
980
  */
937
981
  ignore_cname_category_matches?: boolean;
938
982
 
939
983
  /**
940
- * INSECURE - disable DNSSEC validation (for Allow actions).
984
+ * Specify whether to disable DNSSEC validation (for Allow actions) [INSECURE].
985
+ * Settable only for `dns` rules.
941
986
  */
942
987
  insecure_disable_dnssec_validation?: boolean;
943
988
 
944
989
  /**
945
- * Set to true to enable IPs in DNS resolver category blocks. By default categories
946
- * only block based on domain names.
990
+ * Enable IPs in DNS resolver category blocks. The system blocks only domain name
991
+ * categories unless you enable this setting. Settable only for `dns` and
992
+ * `dns_resolver` rules.
947
993
  */
948
994
  ip_categories?: boolean;
949
995
 
950
996
  /**
951
- * Set to true to include IPs in DNS resolver indicator feed blocks. By default
952
- * indicator feeds only block based on domain names.
997
+ * Indicates whether to include IPs in DNS resolver indicator feed blocks. Default,
998
+ * indicator feeds block only domain names. Settable only for `dns` and
999
+ * `dns_resolver` rules.
953
1000
  */
954
1001
  ip_indicator_feeds?: boolean;
955
1002
 
956
1003
  /**
957
- * Send matching traffic to the supplied destination IP address. and port.
1004
+ * Send matching traffic to the supplied destination IP address and port. Settable
1005
+ * only for `l4` rules with the action set to `l4_override`.
958
1006
  */
959
1007
  l4override?: RuleSettingParam.L4override | null;
960
1008
 
961
1009
  /**
962
- * Configure a notification to display on the user's device when this rule is
963
- * matched.
1010
+ * Configure a notification to display on the user's device when this rule matched.
1011
+ * Settable for all types of rules with the action set to `block`.
964
1012
  */
965
1013
  notification_settings?: RuleSettingParam.NotificationSettings | null;
966
1014
 
967
1015
  /**
968
- * Override matching DNS queries with a hostname.
1016
+ * Defines a hostname for override, for the matching DNS queries. Settable only for
1017
+ * `dns` rules with the action set to `override`.
969
1018
  */
970
1019
  override_host?: string;
971
1020
 
972
1021
  /**
973
- * Override matching DNS queries with an IP or set of IPs.
1022
+ * Defines a an IP or set of IPs for overriding matched DNS queries. Settable only
1023
+ * for `dns` rules with the action set to `override`.
974
1024
  */
975
1025
  override_ips?: Array<string> | null;
976
1026
 
977
1027
  /**
978
- * Configure DLP payload logging.
1028
+ * Configure DLP payload logging. Settable only for `http` rules.
979
1029
  */
980
1030
  payload_log?: RuleSettingParam.PayloadLog | null;
981
1031
 
982
1032
  /**
983
- * Settings that apply to quarantine rules.
1033
+ * Configure settings that apply to quarantine rules. Settable only for `http`
1034
+ * rules.
984
1035
  */
985
1036
  quarantine?: RuleSettingParam.Quarantine | null;
986
1037
 
987
1038
  /**
988
- * Settings that apply to redirect rules.
1039
+ * Apply settings to redirect rules. Settable only for `http` rules with the action
1040
+ * set to `redirect`.
989
1041
  */
990
1042
  redirect?: RuleSettingParam.Redirect | null;
991
1043
 
992
1044
  /**
993
1045
  * Configure to forward the query to the internal DNS service, passing the
994
- * specified 'view_id' as input. Cannot be set when 'dns_resolvers' are specified
995
- * or 'resolve_dns_through_cloudflare' is set. Only valid when a rule's action is
996
- * set to 'resolve'.
1046
+ * specified 'view_id' as input. Not used when 'dns_resolvers' is specified or
1047
+ * 'resolve_dns_through_cloudflare' is set. Only valid when a rule's action set to
1048
+ * 'resolve'. Settable only for `dns_resolver` rules.
997
1049
  */
998
1050
  resolve_dns_internally?: RuleSettingParam.ResolveDNSInternally | null;
999
1051
 
1000
1052
  /**
1001
1053
  * Enable to send queries that match the policy to Cloudflare's default 1.1.1.1 DNS
1002
- * resolver. Cannot be set when 'dns_resolvers' are specified or
1003
- * 'resolve_dns_internally' is set. Only valid when a rule's action is set to
1004
- * 'resolve'.
1054
+ * resolver. Cannot set when 'dns_resolvers' specified or 'resolve_dns_internally'
1055
+ * is set. Only valid when a rule's action set to 'resolve'. Settable only for
1056
+ * `dns_resolver` rules.
1005
1057
  */
1006
1058
  resolve_dns_through_cloudflare?: boolean | null;
1007
1059
 
1008
1060
  /**
1009
- * Configure behavior when an upstream cert is invalid or an SSL error occurs.
1061
+ * Configure behavior when an upstream certificate is invalid or an SSL error
1062
+ * occurs. Settable only for `http` rules with the action set to `allow`.
1010
1063
  */
1011
1064
  untrusted_cert?: RuleSettingParam.UntrustedCERT | null;
1012
1065
  }
1013
1066
 
1014
1067
  export namespace RuleSettingParam {
1015
1068
  /**
1016
- * Settings for the Audit SSH action.
1069
+ * Define the settings for the Audit SSH action. Settable only for `l4` rules with
1070
+ * `audit_ssh` action.
1017
1071
  */
1018
1072
  export interface AuditSSH {
1019
1073
  /**
1020
- * Enable to turn on SSH command logging.
1074
+ * Enable SSH command logging.
1021
1075
  */
1022
1076
  command_logging?: boolean;
1023
1077
  }
1024
1078
 
1025
1079
  /**
1026
- * Configure how browser isolation behaves.
1080
+ * Configure browser isolation behavior. Settable only for `http` rules with the
1081
+ * action set to `isolate`.
1027
1082
  */
1028
1083
  export interface BISOAdminControls {
1029
1084
  /**
1030
- * Configure whether copy is enabled or not. When set with "remote_only", copying
1031
- * isolated content from the remote browser to the user's local clipboard is
1032
- * disabled. When absent, copy is enabled. Only applies when `version == "v2"`.
1085
+ * Configure copy behavior. If set to remote_only, users cannot copy isolated
1086
+ * content from the remote browser to the local clipboard. If this field is absent,
1087
+ * copying remains enabled. Applies only when version == "v2".
1033
1088
  */
1034
1089
  copy?: 'enabled' | 'disabled' | 'remote_only';
1035
1090
 
@@ -1049,8 +1104,8 @@ export namespace RuleSettingParam {
1049
1104
  dk?: boolean;
1050
1105
 
1051
1106
  /**
1052
- * Configure whether downloading enabled or not. When set with "remote_only",
1053
- * downloads are only available for viewing. Only applies when `version == "v2"`.
1107
+ * Configure download behavior. When set to remote_only, users can view downloads
1108
+ * but cannot save them. Applies only when version == "v2".
1054
1109
  */
1055
1110
  download?: 'enabled' | 'disabled' | 'remote_only';
1056
1111
 
@@ -1065,74 +1120,75 @@ export namespace RuleSettingParam {
1065
1120
  du?: boolean;
1066
1121
 
1067
1122
  /**
1068
- * Configure whether keyboard usage is enabled or not. When absent, keyboard usage
1069
- * is enabled. Only applies when `version == "v2"`.
1123
+ * Configure keyboard usage behavior. If this field is absent, keyboard usage
1124
+ * remains enabled. Applies only when version == "v2".
1070
1125
  */
1071
1126
  keyboard?: 'enabled' | 'disabled';
1072
1127
 
1073
1128
  /**
1074
- * Configure whether pasting is enabled or not. When set with "remote_only",
1075
- * pasting content from the user's local clipboard into isolated pages is disabled.
1076
- * When absent, paste is enabled. Only applies when `version == "v2"`.
1129
+ * Configure paste behavior. If set to remote_only, users cannot paste content from
1130
+ * the local clipboard into isolated pages. If this field is absent, pasting
1131
+ * remains enabled. Applies only when version == "v2".
1077
1132
  */
1078
1133
  paste?: 'enabled' | 'disabled' | 'remote_only';
1079
1134
 
1080
1135
  /**
1081
- * Configure whether printing is enabled or not. When absent, printing is enabled.
1082
- * Only applies when `version == "v2"`.
1136
+ * Configure print behavior. Default, Printing is enabled. Applies only when
1137
+ * version == "v2".
1083
1138
  */
1084
1139
  printing?: 'enabled' | 'disabled';
1085
1140
 
1086
1141
  /**
1087
- * Configure whether uploading is enabled or not. When absent, uploading is
1088
- * enabled. Only applies when `version == "v2"`.
1142
+ * Configure upload behavior. If this field is absent, uploading remains enabled.
1143
+ * Applies only when version == "v2".
1089
1144
  */
1090
1145
  upload?: 'enabled' | 'disabled';
1091
1146
 
1092
1147
  /**
1093
- * Indicates which version of the browser isolation controls should apply.
1148
+ * Indicate which version of the browser isolation controls should apply.
1094
1149
  */
1095
1150
  version?: 'v1' | 'v2';
1096
1151
  }
1097
1152
 
1098
1153
  /**
1099
- * Custom block page settings. If missing/null, blocking will use the the account
1100
- * settings.
1154
+ * Configure custom block page settings. If missing or null, use the account
1155
+ * settings. Settable only for `http` rules with the action set to `block`.
1101
1156
  */
1102
1157
  export interface BlockPage {
1103
1158
  /**
1104
- * URI to which the user will be redirected.
1159
+ * Specify the URI to which the user is redirected.
1105
1160
  */
1106
1161
  target_uri: string;
1107
1162
 
1108
1163
  /**
1109
- * If true, context information will be passed as query parameters.
1164
+ * Specify whether to pass the context information as query parameters.
1110
1165
  */
1111
1166
  include_context?: boolean;
1112
1167
  }
1113
1168
 
1114
1169
  /**
1115
- * Configure how session check behaves.
1170
+ * Configure session check behavior. Settable only for `l4` and `http` rules with
1171
+ * the action set to `allow`.
1116
1172
  */
1117
1173
  export interface CheckSession {
1118
1174
  /**
1119
- * Configure how fresh the session needs to be to be considered valid. The API
1120
- * automatically formats and sanitizes this expression. This returns a normalized
1121
- * version that may differ from your input and cause Terraform state drift.
1175
+ * Sets the required session freshness threshold. The API returns a normalized
1176
+ * version of this value.
1122
1177
  */
1123
1178
  duration?: string;
1124
1179
 
1125
1180
  /**
1126
- * Set to true to enable session enforcement.
1181
+ * Enable session enforcement.
1127
1182
  */
1128
1183
  enforce?: boolean;
1129
1184
  }
1130
1185
 
1131
1186
  /**
1132
- * Add your own custom resolvers to route queries that match the resolver policy.
1133
- * Cannot be used when 'resolve_dns_through_cloudflare' or 'resolve_dns_internally'
1134
- * are set. DNS queries will route to the address closest to their origin. Only
1135
- * valid when a rule's action is set to 'resolve'.
1187
+ * Configure custom resolvers to route queries that match the resolver policy.
1188
+ * Unused with 'resolve_dns_through_cloudflare' or 'resolve_dns_internally'
1189
+ * settings. DNS queries get routed to the address closest to their origin. Only
1190
+ * valid when a rule's action set to 'resolve'. Settable only for `dns_resolver`
1191
+ * rules.
1136
1192
  */
1137
1193
  export interface DNSResolvers {
1138
1194
  ipv4?: Array<RulesAPI.DNSResolverSettingsV4Param>;
@@ -1143,54 +1199,54 @@ export namespace RuleSettingParam {
1143
1199
  /**
1144
1200
  * Configure how Gateway Proxy traffic egresses. You can enable this setting for
1145
1201
  * rules with Egress actions and filters, or omit it to indicate local egress via
1146
- * WARP IPs.
1202
+ * WARP IPs. Settable only for `egress` rules.
1147
1203
  */
1148
1204
  export interface Egress {
1149
1205
  /**
1150
- * The IPv4 address to be used for egress.
1206
+ * Specify the IPv4 address to use for egress.
1151
1207
  */
1152
1208
  ipv4?: string;
1153
1209
 
1154
1210
  /**
1155
- * The fallback IPv4 address to be used for egress in the event of an error
1156
- * egressing with the primary IPv4. Can be '0.0.0.0' to indicate local egress via
1157
- * WARP IPs.
1211
+ * Specify the fallback IPv4 address to use for egress when the primary IPv4 fails.
1212
+ * Set '0.0.0.0' to indicate local egress via WARP IPs.
1158
1213
  */
1159
1214
  ipv4_fallback?: string;
1160
1215
 
1161
1216
  /**
1162
- * The IPv6 range to be used for egress.
1217
+ * Specify the IPv6 range to use for egress.
1163
1218
  */
1164
1219
  ipv6?: string;
1165
1220
  }
1166
1221
 
1167
1222
  /**
1168
- * Send matching traffic to the supplied destination IP address. and port.
1223
+ * Send matching traffic to the supplied destination IP address and port. Settable
1224
+ * only for `l4` rules with the action set to `l4_override`.
1169
1225
  */
1170
1226
  export interface L4override {
1171
1227
  /**
1172
- * IPv4 or IPv6 address.
1228
+ * Defines the IPv4 or IPv6 address.
1173
1229
  */
1174
1230
  ip?: string;
1175
1231
 
1176
1232
  /**
1177
- * A port number to use for TCP/UDP overrides.
1233
+ * Defines a port number to use for TCP/UDP overrides.
1178
1234
  */
1179
1235
  port?: number;
1180
1236
  }
1181
1237
 
1182
1238
  /**
1183
- * Configure a notification to display on the user's device when this rule is
1184
- * matched.
1239
+ * Configure a notification to display on the user's device when this rule matched.
1240
+ * Settable for all types of rules with the action set to `block`.
1185
1241
  */
1186
1242
  export interface NotificationSettings {
1187
1243
  /**
1188
- * Set notification on.
1244
+ * Enable notification.
1189
1245
  */
1190
1246
  enabled?: boolean;
1191
1247
 
1192
1248
  /**
1193
- * If true, context information will be passed as query parameters.
1249
+ * Indicates whether to pass the context information as query parameters.
1194
1250
  */
1195
1251
  include_context?: boolean;
1196
1252
 
@@ -1200,28 +1256,29 @@ export namespace RuleSettingParam {
1200
1256
  msg?: string;
1201
1257
 
1202
1258
  /**
1203
- * Optional URL to direct users to additional information. If not set, the
1204
- * notification will open a block page.
1259
+ * Defines an optional URL to direct users to additional information. If unset, the
1260
+ * notification opens a block page.
1205
1261
  */
1206
1262
  support_url?: string;
1207
1263
  }
1208
1264
 
1209
1265
  /**
1210
- * Configure DLP payload logging.
1266
+ * Configure DLP payload logging. Settable only for `http` rules.
1211
1267
  */
1212
1268
  export interface PayloadLog {
1213
1269
  /**
1214
- * Set to true to enable DLP payload logging for this rule.
1270
+ * Enable DLP payload logging for this rule.
1215
1271
  */
1216
1272
  enabled?: boolean;
1217
1273
  }
1218
1274
 
1219
1275
  /**
1220
- * Settings that apply to quarantine rules.
1276
+ * Configure settings that apply to quarantine rules. Settable only for `http`
1277
+ * rules.
1221
1278
  */
1222
1279
  export interface Quarantine {
1223
1280
  /**
1224
- * Types of files to sandbox.
1281
+ * Specify the types of files to sandbox.
1225
1282
  */
1226
1283
  file_types?: Array<
1227
1284
  | 'exe'
@@ -1241,186 +1298,200 @@ export namespace RuleSettingParam {
1241
1298
  }
1242
1299
 
1243
1300
  /**
1244
- * Settings that apply to redirect rules.
1301
+ * Apply settings to redirect rules. Settable only for `http` rules with the action
1302
+ * set to `redirect`.
1245
1303
  */
1246
1304
  export interface Redirect {
1247
1305
  /**
1248
- * URI to which the user will be redirected.
1306
+ * Specify the URI to which the user is redirected.
1249
1307
  */
1250
1308
  target_uri: string;
1251
1309
 
1252
1310
  /**
1253
- * If true, context information will be passed as query parameters.
1311
+ * Specify whether to pass the context information as query parameters.
1254
1312
  */
1255
1313
  include_context?: boolean;
1256
1314
 
1257
1315
  /**
1258
- * If true, the path and query parameters from the original request will be
1259
- * appended to target_uri.
1316
+ * Specify whether to append the path and query parameters from the original
1317
+ * request to target_uri.
1260
1318
  */
1261
1319
  preserve_path_and_query?: boolean;
1262
1320
  }
1263
1321
 
1264
1322
  /**
1265
1323
  * Configure to forward the query to the internal DNS service, passing the
1266
- * specified 'view_id' as input. Cannot be set when 'dns_resolvers' are specified
1267
- * or 'resolve_dns_through_cloudflare' is set. Only valid when a rule's action is
1268
- * set to 'resolve'.
1324
+ * specified 'view_id' as input. Not used when 'dns_resolvers' is specified or
1325
+ * 'resolve_dns_through_cloudflare' is set. Only valid when a rule's action set to
1326
+ * 'resolve'. Settable only for `dns_resolver` rules.
1269
1327
  */
1270
1328
  export interface ResolveDNSInternally {
1271
1329
  /**
1272
- * The fallback behavior to apply when the internal DNS response code is different
1273
- * from 'NOERROR' or when the response data only contains CNAME records for 'A' or
1274
- * 'AAAA' queries.
1330
+ * Specify the fallback behavior to apply when the internal DNS response code
1331
+ * differs from 'NOERROR' or when the response data contains only CNAME records for
1332
+ * 'A' or 'AAAA' queries.
1275
1333
  */
1276
1334
  fallback?: 'none' | 'public_dns';
1277
1335
 
1278
1336
  /**
1279
- * The internal DNS view identifier that's passed to the internal DNS service.
1337
+ * Specify the internal DNS view identifier to pass to the internal DNS service.
1280
1338
  */
1281
1339
  view_id?: string;
1282
1340
  }
1283
1341
 
1284
1342
  /**
1285
- * Configure behavior when an upstream cert is invalid or an SSL error occurs.
1343
+ * Configure behavior when an upstream certificate is invalid or an SSL error
1344
+ * occurs. Settable only for `http` rules with the action set to `allow`.
1286
1345
  */
1287
1346
  export interface UntrustedCERT {
1288
1347
  /**
1289
- * The action performed when an untrusted certificate is seen. The default action
1290
- * is an error with HTTP code 526.
1348
+ * Defines the action performed when an untrusted certificate seen. The default
1349
+ * action an error with HTTP code 526.
1291
1350
  */
1292
1351
  action?: 'pass_through' | 'block' | 'error';
1293
1352
  }
1294
1353
  }
1295
1354
 
1296
1355
  /**
1297
- * The schedule for activating DNS policies. This does not apply to HTTP or network
1298
- * policies.
1356
+ * Defines the schedule for activating DNS policies. Settable only for `dns` and
1357
+ * `dns_resolver` rules.
1299
1358
  */
1300
1359
  export interface Schedule {
1301
1360
  /**
1302
- * The time intervals when the rule will be active on Fridays, in increasing order
1303
- * from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on
1304
- * Fridays.
1361
+ * Specify the time intervals when the rule is active on Fridays, in the increasing
1362
+ * order from 00:00-24:00. If this parameter omitted, the rule is deactivated on
1363
+ * Fridays. API returns a formatted version of this string, which may cause
1364
+ * Terraform drift if a unformatted value is used.
1305
1365
  */
1306
1366
  fri?: string;
1307
1367
 
1308
1368
  /**
1309
- * The time intervals when the rule will be active on Mondays, in increasing order
1310
- * from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on
1311
- * Mondays.
1369
+ * Specify the time intervals when the rule is active on Mondays, in the increasing
1370
+ * order from 00:00-24:00(capped at maximum of 6 time splits). If this parameter
1371
+ * omitted, the rule is deactivated on Mondays. API returns a formatted version of
1372
+ * this string, which may cause Terraform drift if a unformatted value is used.
1312
1373
  */
1313
1374
  mon?: string;
1314
1375
 
1315
1376
  /**
1316
- * The time intervals when the rule will be active on Saturdays, in increasing
1317
- * order from 00:00-24:00. If this parameter is omitted, the rule will be
1318
- * deactivated on Saturdays.
1377
+ * Specify the time intervals when the rule is active on Saturdays, in the
1378
+ * increasing order from 00:00-24:00. If this parameter omitted, the rule is
1379
+ * deactivated on Saturdays. API returns a formatted version of this string, which
1380
+ * may cause Terraform drift if a unformatted value is used.
1319
1381
  */
1320
1382
  sat?: string;
1321
1383
 
1322
1384
  /**
1323
- * The time intervals when the rule will be active on Sundays, in increasing order
1324
- * from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on
1325
- * Sundays.
1385
+ * Specify the time intervals when the rule is active on Sundays, in the increasing
1386
+ * order from 00:00-24:00. If this parameter omitted, the rule is deactivated on
1387
+ * Sundays. API returns a formatted version of this string, which may cause
1388
+ * Terraform drift if a unformatted value is used.
1326
1389
  */
1327
1390
  sun?: string;
1328
1391
 
1329
1392
  /**
1330
- * The time intervals when the rule will be active on Thursdays, in increasing
1331
- * order from 00:00-24:00. If this parameter is omitted, the rule will be
1332
- * deactivated on Thursdays.
1393
+ * Specify the time intervals when the rule is active on Thursdays, in the
1394
+ * increasing order from 00:00-24:00. If this parameter omitted, the rule is
1395
+ * deactivated on Thursdays. API returns a formatted version of this string, which
1396
+ * may cause Terraform drift if a unformatted value is used.
1333
1397
  */
1334
1398
  thu?: string;
1335
1399
 
1336
1400
  /**
1337
- * The time zone the rule will be evaluated against. If a
1401
+ * Specify the time zone for rule evaluation. When a
1338
1402
  * [valid time zone city name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)
1339
- * is provided, Gateway will always use the current time at that time zone. If this
1340
- * parameter is omitted, then Gateway will use the time zone inferred from the
1341
- * user's source IP to evaluate the rule. If Gateway cannot determine the time zone
1342
- * from the IP, we will fall back to the time zone of the user's connected data
1343
- * center.
1403
+ * is provided, Gateway always uses the current time for that time zone. When this
1404
+ * parameter is omitted, Gateway uses the time zone determined from the user's IP
1405
+ * address. Colo time zone is used when the user's IP address does not resolve to a
1406
+ * location.
1344
1407
  */
1345
1408
  time_zone?: string;
1346
1409
 
1347
1410
  /**
1348
- * The time intervals when the rule will be active on Tuesdays, in increasing order
1349
- * from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on
1350
- * Tuesdays.
1411
+ * Specify the time intervals when the rule is active on Tuesdays, in the
1412
+ * increasing order from 00:00-24:00. If this parameter omitted, the rule is
1413
+ * deactivated on Tuesdays. API returns a formatted version of this string, which
1414
+ * may cause Terraform drift if a unformatted value is used.
1351
1415
  */
1352
1416
  tue?: string;
1353
1417
 
1354
1418
  /**
1355
- * The time intervals when the rule will be active on Wednesdays, in increasing
1356
- * order from 00:00-24:00. If this parameter is omitted, the rule will be
1357
- * deactivated on Wednesdays.
1419
+ * Specify the time intervals when the rule is active on Wednesdays, in the
1420
+ * increasing order from 00:00-24:00. If this parameter omitted, the rule is
1421
+ * deactivated on Wednesdays. API returns a formatted version of this string, which
1422
+ * may cause Terraform drift if a unformatted value is used.
1358
1423
  */
1359
1424
  wed?: string;
1360
1425
  }
1361
1426
 
1362
1427
  /**
1363
- * The schedule for activating DNS policies. This does not apply to HTTP or network
1364
- * policies.
1428
+ * Defines the schedule for activating DNS policies. Settable only for `dns` and
1429
+ * `dns_resolver` rules.
1365
1430
  */
1366
1431
  export interface ScheduleParam {
1367
1432
  /**
1368
- * The time intervals when the rule will be active on Fridays, in increasing order
1369
- * from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on
1370
- * Fridays.
1433
+ * Specify the time intervals when the rule is active on Fridays, in the increasing
1434
+ * order from 00:00-24:00. If this parameter omitted, the rule is deactivated on
1435
+ * Fridays. API returns a formatted version of this string, which may cause
1436
+ * Terraform drift if a unformatted value is used.
1371
1437
  */
1372
1438
  fri?: string;
1373
1439
 
1374
1440
  /**
1375
- * The time intervals when the rule will be active on Mondays, in increasing order
1376
- * from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on
1377
- * Mondays.
1441
+ * Specify the time intervals when the rule is active on Mondays, in the increasing
1442
+ * order from 00:00-24:00(capped at maximum of 6 time splits). If this parameter
1443
+ * omitted, the rule is deactivated on Mondays. API returns a formatted version of
1444
+ * this string, which may cause Terraform drift if a unformatted value is used.
1378
1445
  */
1379
1446
  mon?: string;
1380
1447
 
1381
1448
  /**
1382
- * The time intervals when the rule will be active on Saturdays, in increasing
1383
- * order from 00:00-24:00. If this parameter is omitted, the rule will be
1384
- * deactivated on Saturdays.
1449
+ * Specify the time intervals when the rule is active on Saturdays, in the
1450
+ * increasing order from 00:00-24:00. If this parameter omitted, the rule is
1451
+ * deactivated on Saturdays. API returns a formatted version of this string, which
1452
+ * may cause Terraform drift if a unformatted value is used.
1385
1453
  */
1386
1454
  sat?: string;
1387
1455
 
1388
1456
  /**
1389
- * The time intervals when the rule will be active on Sundays, in increasing order
1390
- * from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on
1391
- * Sundays.
1457
+ * Specify the time intervals when the rule is active on Sundays, in the increasing
1458
+ * order from 00:00-24:00. If this parameter omitted, the rule is deactivated on
1459
+ * Sundays. API returns a formatted version of this string, which may cause
1460
+ * Terraform drift if a unformatted value is used.
1392
1461
  */
1393
1462
  sun?: string;
1394
1463
 
1395
1464
  /**
1396
- * The time intervals when the rule will be active on Thursdays, in increasing
1397
- * order from 00:00-24:00. If this parameter is omitted, the rule will be
1398
- * deactivated on Thursdays.
1465
+ * Specify the time intervals when the rule is active on Thursdays, in the
1466
+ * increasing order from 00:00-24:00. If this parameter omitted, the rule is
1467
+ * deactivated on Thursdays. API returns a formatted version of this string, which
1468
+ * may cause Terraform drift if a unformatted value is used.
1399
1469
  */
1400
1470
  thu?: string;
1401
1471
 
1402
1472
  /**
1403
- * The time zone the rule will be evaluated against. If a
1473
+ * Specify the time zone for rule evaluation. When a
1404
1474
  * [valid time zone city name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)
1405
- * is provided, Gateway will always use the current time at that time zone. If this
1406
- * parameter is omitted, then Gateway will use the time zone inferred from the
1407
- * user's source IP to evaluate the rule. If Gateway cannot determine the time zone
1408
- * from the IP, we will fall back to the time zone of the user's connected data
1409
- * center.
1475
+ * is provided, Gateway always uses the current time for that time zone. When this
1476
+ * parameter is omitted, Gateway uses the time zone determined from the user's IP
1477
+ * address. Colo time zone is used when the user's IP address does not resolve to a
1478
+ * location.
1410
1479
  */
1411
1480
  time_zone?: string;
1412
1481
 
1413
1482
  /**
1414
- * The time intervals when the rule will be active on Tuesdays, in increasing order
1415
- * from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on
1416
- * Tuesdays.
1483
+ * Specify the time intervals when the rule is active on Tuesdays, in the
1484
+ * increasing order from 00:00-24:00. If this parameter omitted, the rule is
1485
+ * deactivated on Tuesdays. API returns a formatted version of this string, which
1486
+ * may cause Terraform drift if a unformatted value is used.
1417
1487
  */
1418
1488
  tue?: string;
1419
1489
 
1420
1490
  /**
1421
- * The time intervals when the rule will be active on Wednesdays, in increasing
1422
- * order from 00:00-24:00. If this parameter is omitted, the rule will be
1423
- * deactivated on Wednesdays.
1491
+ * Specify the time intervals when the rule is active on Wednesdays, in the
1492
+ * increasing order from 00:00-24:00. If this parameter omitted, the rule is
1493
+ * deactivated on Wednesdays. API returns a formatted version of this string, which
1494
+ * may cause Terraform drift if a unformatted value is used.
1424
1495
  */
1425
1496
  wed?: string;
1426
1497
  }
@@ -1434,8 +1505,8 @@ export interface RuleCreateParams {
1434
1505
  account_id: string;
1435
1506
 
1436
1507
  /**
1437
- * Body param: The action to perform when the associated traffic, identity, and
1438
- * device posture expressions are either absent or evaluate to `true`.
1508
+ * Body param: Specify the action to perform when the associated traffic, identity,
1509
+ * and device posture expressions either absent or evaluate to `true`.
1439
1510
  */
1440
1511
  action:
1441
1512
  | 'on'
@@ -1456,100 +1527,102 @@ export interface RuleCreateParams {
1456
1527
  | 'redirect';
1457
1528
 
1458
1529
  /**
1459
- * Body param: The name of the rule.
1530
+ * Body param: Specify the rule name.
1460
1531
  */
1461
1532
  name: string;
1462
1533
 
1463
1534
  /**
1464
- * Body param: The description of the rule.
1535
+ * Body param: Specify the rule description.
1465
1536
  */
1466
1537
  description?: string;
1467
1538
 
1468
1539
  /**
1469
- * Body param: The wirefilter expression used for device posture check matching.
1470
- * The API automatically formats and sanitizes this expression. This returns a
1471
- * normalized version that may differ from your input and cause Terraform state
1472
- * drift.
1540
+ * Body param: Specify the wirefilter expression used for device posture check. The
1541
+ * API automatically formats and sanitizes expressions before storing them. To
1542
+ * prevent Terraform state drift, use the formatted expression returned in the API
1543
+ * response.
1473
1544
  */
1474
1545
  device_posture?: string;
1475
1546
 
1476
1547
  /**
1477
- * Body param: True if the rule is enabled.
1548
+ * Body param: Specify whether the rule is enabled.
1478
1549
  */
1479
1550
  enabled?: boolean;
1480
1551
 
1481
1552
  /**
1482
- * Body param: The expiration time stamp and default duration of a DNS policy.
1483
- * Takes precedence over the policy's `schedule` configuration, if any.
1484
- *
1485
- * This does not apply to HTTP or network policies.
1553
+ * Body param: Defines the expiration time stamp and default duration of a DNS
1554
+ * policy. Takes precedence over the policy's `schedule` configuration, if any.
1555
+ * This does not apply to HTTP or network policies. Settable only for `dns` rules.
1486
1556
  */
1487
1557
  expiration?: RuleCreateParams.Expiration | null;
1488
1558
 
1489
1559
  /**
1490
- * Body param: The protocol or layer to evaluate the traffic, identity, and device.
1491
- * posture expressions.
1560
+ * Body param: Specify the protocol or layer to evaluate the traffic, identity, and
1561
+ * device posture expressions.
1492
1562
  */
1493
1563
  filters?: Array<GatewayFilterParam>;
1494
1564
 
1495
1565
  /**
1496
- * Body param: The wirefilter expression used for identity matching. The API
1497
- * automatically formats and sanitizes this expression. This returns a normalized
1498
- * version that may differ from your input and cause Terraform state drift.
1566
+ * Body param: Specify the wirefilter expression used for identity matching. The
1567
+ * API automatically formats and sanitizes expressions before storing them. To
1568
+ * prevent Terraform state drift, use the formatted expression returned in the API
1569
+ * response.
1499
1570
  */
1500
1571
  identity?: string;
1501
1572
 
1502
1573
  /**
1503
- * Body param: Precedence sets the order of your rules. Lower values indicate
1504
- * higher precedence. At each processing phase, applicable rules are evaluated in
1505
- * ascending order of this value. Refer to
1574
+ * Body param: Set the order of your rules. Lower values indicate higher
1575
+ * precedence. At each processing phase, evaluate applicable rules in ascending
1576
+ * order of this value. Refer to
1506
1577
  * [Order of enforcement](http://developers.cloudflare.com/learning-paths/secure-internet-traffic/understand-policies/order-of-enforcement/#manage-precedence-with-terraform)
1507
- * docs on how to manage precedence via Terraform.
1578
+ * to manage precedence via Terraform.
1508
1579
  */
1509
1580
  precedence?: number;
1510
1581
 
1511
1582
  /**
1512
- * Body param: Additional settings that modify the rule's action.
1583
+ * Body param: Set settings related to this rule. Each setting is only valid for
1584
+ * specific rule types and can only be used with the appropriate selectors. If
1585
+ * Terraform drift is observed in these setting values, verify that the setting is
1586
+ * supported for the given rule type and that the API response reflects the
1587
+ * requested value. If the API response returns sanitized or modified values that
1588
+ * differ from the request, use the API-provided values in Terraform to ensure
1589
+ * consistency.
1513
1590
  */
1514
1591
  rule_settings?: RuleSettingParam;
1515
1592
 
1516
1593
  /**
1517
- * Body param: The schedule for activating DNS policies. This does not apply to
1518
- * HTTP or network policies.
1594
+ * Body param: Defines the schedule for activating DNS policies. Settable only for
1595
+ * `dns` and `dns_resolver` rules.
1519
1596
  */
1520
1597
  schedule?: ScheduleParam | null;
1521
1598
 
1522
1599
  /**
1523
- * Body param: The wirefilter expression used for traffic matching. The API
1524
- * automatically formats and sanitizes this expression. This returns a normalized
1525
- * version that may differ from your input and cause Terraform state drift.
1600
+ * Body param: Specify the wirefilter expression used for traffic matching. The API
1601
+ * automatically formats and sanitizes expressions before storing them. To prevent
1602
+ * Terraform state drift, use the formatted expression returned in the API
1603
+ * response.
1526
1604
  */
1527
1605
  traffic?: string;
1528
1606
  }
1529
1607
 
1530
1608
  export namespace RuleCreateParams {
1531
1609
  /**
1532
- * The expiration time stamp and default duration of a DNS policy. Takes precedence
1533
- * over the policy's `schedule` configuration, if any.
1534
- *
1535
- * This does not apply to HTTP or network policies.
1610
+ * Defines the expiration time stamp and default duration of a DNS policy. Takes
1611
+ * precedence over the policy's `schedule` configuration, if any. This does not
1612
+ * apply to HTTP or network policies. Settable only for `dns` rules.
1536
1613
  */
1537
1614
  export interface Expiration {
1538
1615
  /**
1539
- * The time stamp at which the policy will expire and cease to be applied.
1540
- *
1541
- * Must adhere to RFC 3339 and include a UTC offset. Non-zero offsets are accepted
1542
- * but will be converted to the equivalent value with offset zero (UTC+00:00) and
1543
- * will be returned as time stamps with offset zero denoted by a trailing 'Z'.
1544
- *
1545
- * Policies with an expiration do not consider the timezone of clients they are
1546
- * applied to, and expire "globally" at the point given by their `expires_at`
1547
- * value.
1616
+ * Show the timestamp when the policy expires and stops applying. The value must
1617
+ * follow RFC 3339 and include a UTC offset. The system accepts non-zero offsets
1618
+ * but converts them to the equivalent UTC+00:00 value and returns timestamps with
1619
+ * a trailing Z. Expiration policies ignore client timezones and expire globally at
1620
+ * the specified expires_at time.
1548
1621
  */
1549
1622
  expires_at: string;
1550
1623
 
1551
1624
  /**
1552
- * The default duration a policy will be active in minutes. Must be set in order to
1625
+ * Defines the default duration a policy active in minutes. Must set in order to
1553
1626
  * use the `reset_expiration` endpoint on this rule.
1554
1627
  */
1555
1628
  duration?: number;
@@ -1563,8 +1636,8 @@ export interface RuleUpdateParams {
1563
1636
  account_id: string;
1564
1637
 
1565
1638
  /**
1566
- * Body param: The action to perform when the associated traffic, identity, and
1567
- * device posture expressions are either absent or evaluate to `true`.
1639
+ * Body param: Specify the action to perform when the associated traffic, identity,
1640
+ * and device posture expressions either absent or evaluate to `true`.
1568
1641
  */
1569
1642
  action:
1570
1643
  | 'on'
@@ -1585,100 +1658,102 @@ export interface RuleUpdateParams {
1585
1658
  | 'redirect';
1586
1659
 
1587
1660
  /**
1588
- * Body param: The name of the rule.
1661
+ * Body param: Specify the rule name.
1589
1662
  */
1590
1663
  name: string;
1591
1664
 
1592
1665
  /**
1593
- * Body param: The description of the rule.
1666
+ * Body param: Specify the rule description.
1594
1667
  */
1595
1668
  description?: string;
1596
1669
 
1597
1670
  /**
1598
- * Body param: The wirefilter expression used for device posture check matching.
1599
- * The API automatically formats and sanitizes this expression. This returns a
1600
- * normalized version that may differ from your input and cause Terraform state
1601
- * drift.
1671
+ * Body param: Specify the wirefilter expression used for device posture check. The
1672
+ * API automatically formats and sanitizes expressions before storing them. To
1673
+ * prevent Terraform state drift, use the formatted expression returned in the API
1674
+ * response.
1602
1675
  */
1603
1676
  device_posture?: string;
1604
1677
 
1605
1678
  /**
1606
- * Body param: True if the rule is enabled.
1679
+ * Body param: Specify whether the rule is enabled.
1607
1680
  */
1608
1681
  enabled?: boolean;
1609
1682
 
1610
1683
  /**
1611
- * Body param: The expiration time stamp and default duration of a DNS policy.
1612
- * Takes precedence over the policy's `schedule` configuration, if any.
1613
- *
1614
- * This does not apply to HTTP or network policies.
1684
+ * Body param: Defines the expiration time stamp and default duration of a DNS
1685
+ * policy. Takes precedence over the policy's `schedule` configuration, if any.
1686
+ * This does not apply to HTTP or network policies. Settable only for `dns` rules.
1615
1687
  */
1616
1688
  expiration?: RuleUpdateParams.Expiration | null;
1617
1689
 
1618
1690
  /**
1619
- * Body param: The protocol or layer to evaluate the traffic, identity, and device.
1620
- * posture expressions.
1691
+ * Body param: Specify the protocol or layer to evaluate the traffic, identity, and
1692
+ * device posture expressions.
1621
1693
  */
1622
1694
  filters?: Array<GatewayFilterParam>;
1623
1695
 
1624
1696
  /**
1625
- * Body param: The wirefilter expression used for identity matching. The API
1626
- * automatically formats and sanitizes this expression. This returns a normalized
1627
- * version that may differ from your input and cause Terraform state drift.
1697
+ * Body param: Specify the wirefilter expression used for identity matching. The
1698
+ * API automatically formats and sanitizes expressions before storing them. To
1699
+ * prevent Terraform state drift, use the formatted expression returned in the API
1700
+ * response.
1628
1701
  */
1629
1702
  identity?: string;
1630
1703
 
1631
1704
  /**
1632
- * Body param: Precedence sets the order of your rules. Lower values indicate
1633
- * higher precedence. At each processing phase, applicable rules are evaluated in
1634
- * ascending order of this value. Refer to
1705
+ * Body param: Set the order of your rules. Lower values indicate higher
1706
+ * precedence. At each processing phase, evaluate applicable rules in ascending
1707
+ * order of this value. Refer to
1635
1708
  * [Order of enforcement](http://developers.cloudflare.com/learning-paths/secure-internet-traffic/understand-policies/order-of-enforcement/#manage-precedence-with-terraform)
1636
- * docs on how to manage precedence via Terraform.
1709
+ * to manage precedence via Terraform.
1637
1710
  */
1638
1711
  precedence?: number;
1639
1712
 
1640
1713
  /**
1641
- * Body param: Additional settings that modify the rule's action.
1714
+ * Body param: Set settings related to this rule. Each setting is only valid for
1715
+ * specific rule types and can only be used with the appropriate selectors. If
1716
+ * Terraform drift is observed in these setting values, verify that the setting is
1717
+ * supported for the given rule type and that the API response reflects the
1718
+ * requested value. If the API response returns sanitized or modified values that
1719
+ * differ from the request, use the API-provided values in Terraform to ensure
1720
+ * consistency.
1642
1721
  */
1643
1722
  rule_settings?: RuleSettingParam;
1644
1723
 
1645
1724
  /**
1646
- * Body param: The schedule for activating DNS policies. This does not apply to
1647
- * HTTP or network policies.
1725
+ * Body param: Defines the schedule for activating DNS policies. Settable only for
1726
+ * `dns` and `dns_resolver` rules.
1648
1727
  */
1649
1728
  schedule?: ScheduleParam | null;
1650
1729
 
1651
1730
  /**
1652
- * Body param: The wirefilter expression used for traffic matching. The API
1653
- * automatically formats and sanitizes this expression. This returns a normalized
1654
- * version that may differ from your input and cause Terraform state drift.
1731
+ * Body param: Specify the wirefilter expression used for traffic matching. The API
1732
+ * automatically formats and sanitizes expressions before storing them. To prevent
1733
+ * Terraform state drift, use the formatted expression returned in the API
1734
+ * response.
1655
1735
  */
1656
1736
  traffic?: string;
1657
1737
  }
1658
1738
 
1659
1739
  export namespace RuleUpdateParams {
1660
1740
  /**
1661
- * The expiration time stamp and default duration of a DNS policy. Takes precedence
1662
- * over the policy's `schedule` configuration, if any.
1663
- *
1664
- * This does not apply to HTTP or network policies.
1741
+ * Defines the expiration time stamp and default duration of a DNS policy. Takes
1742
+ * precedence over the policy's `schedule` configuration, if any. This does not
1743
+ * apply to HTTP or network policies. Settable only for `dns` rules.
1665
1744
  */
1666
1745
  export interface Expiration {
1667
1746
  /**
1668
- * The time stamp at which the policy will expire and cease to be applied.
1669
- *
1670
- * Must adhere to RFC 3339 and include a UTC offset. Non-zero offsets are accepted
1671
- * but will be converted to the equivalent value with offset zero (UTC+00:00) and
1672
- * will be returned as time stamps with offset zero denoted by a trailing 'Z'.
1673
- *
1674
- * Policies with an expiration do not consider the timezone of clients they are
1675
- * applied to, and expire "globally" at the point given by their `expires_at`
1676
- * value.
1747
+ * Show the timestamp when the policy expires and stops applying. The value must
1748
+ * follow RFC 3339 and include a UTC offset. The system accepts non-zero offsets
1749
+ * but converts them to the equivalent UTC+00:00 value and returns timestamps with
1750
+ * a trailing Z. Expiration policies ignore client timezones and expire globally at
1751
+ * the specified expires_at time.
1677
1752
  */
1678
1753
  expires_at: string;
1679
1754
 
1680
1755
  /**
1681
- * The default duration a policy will be active in minutes. Must be set in order to
1756
+ * Defines the default duration a policy active in minutes. Must set in order to
1682
1757
  * use the `reset_expiration` endpoint on this rule.
1683
1758
  */
1684
1759
  duration?: number;