cloudflare 5.1.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 (676) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/package.json +1 -1
  3. package/resources/addressing/prefixes/prefixes.d.ts +16 -8
  4. package/resources/addressing/prefixes/prefixes.d.ts.map +1 -1
  5. package/resources/addressing/prefixes/prefixes.js.map +1 -1
  6. package/resources/addressing/prefixes/prefixes.mjs.map +1 -1
  7. package/resources/ai/ai.d.ts +4 -0
  8. package/resources/ai/ai.d.ts.map +1 -1
  9. package/resources/ai/ai.js +5 -0
  10. package/resources/ai/ai.js.map +1 -1
  11. package/resources/ai/ai.mjs +5 -0
  12. package/resources/ai/ai.mjs.map +1 -1
  13. package/resources/ai/index.d.ts +1 -0
  14. package/resources/ai/index.d.ts.map +1 -1
  15. package/resources/ai/index.js +4 -1
  16. package/resources/ai/index.js.map +1 -1
  17. package/resources/ai/index.mjs +1 -0
  18. package/resources/ai/index.mjs.map +1 -1
  19. package/resources/ai/to-markdown.d.ts +29 -0
  20. package/resources/ai/to-markdown.d.ts.map +1 -0
  21. package/resources/ai/to-markdown.js +27 -0
  22. package/resources/ai/to-markdown.js.map +1 -0
  23. package/resources/ai/to-markdown.mjs +22 -0
  24. package/resources/ai/to-markdown.mjs.map +1 -0
  25. package/resources/ai-gateway/ai-gateway.d.ts +204 -12
  26. package/resources/ai-gateway/ai-gateway.d.ts.map +1 -1
  27. package/resources/ai-gateway/ai-gateway.js.map +1 -1
  28. package/resources/ai-gateway/ai-gateway.mjs.map +1 -1
  29. package/resources/ai-gateway/logs.d.ts +2 -2
  30. package/resources/ai-gateway/logs.d.ts.map +1 -1
  31. package/resources/ai-gateway/logs.js.map +1 -1
  32. package/resources/ai-gateway/logs.mjs.map +1 -1
  33. package/resources/alerting/destinations/pagerduty.d.ts +9 -21
  34. package/resources/alerting/destinations/pagerduty.d.ts.map +1 -1
  35. package/resources/alerting/destinations/pagerduty.js.map +1 -1
  36. package/resources/alerting/destinations/pagerduty.mjs.map +1 -1
  37. package/resources/alerting/destinations/webhooks.d.ts +9 -21
  38. package/resources/alerting/destinations/webhooks.d.ts.map +1 -1
  39. package/resources/alerting/destinations/webhooks.js.map +1 -1
  40. package/resources/alerting/destinations/webhooks.mjs.map +1 -1
  41. package/resources/alerting/policies.d.ts +10 -3
  42. package/resources/alerting/policies.d.ts.map +1 -1
  43. package/resources/alerting/policies.js.map +1 -1
  44. package/resources/alerting/policies.mjs.map +1 -1
  45. package/resources/bot-management.d.ts +49 -0
  46. package/resources/bot-management.d.ts.map +1 -1
  47. package/resources/bot-management.js +1 -0
  48. package/resources/bot-management.js.map +1 -1
  49. package/resources/bot-management.mjs +1 -0
  50. package/resources/bot-management.mjs.map +1 -1
  51. package/resources/browser-rendering/json.d.ts +3 -3
  52. package/resources/browser-rendering/json.d.ts.map +1 -1
  53. package/resources/browser-rendering/links.d.ts +4 -0
  54. package/resources/browser-rendering/links.d.ts.map +1 -1
  55. package/resources/calls/turn.d.ts.map +1 -1
  56. package/resources/calls/turn.js +1 -1
  57. package/resources/calls/turn.js.map +1 -1
  58. package/resources/calls/turn.mjs +1 -1
  59. package/resources/calls/turn.mjs.map +1 -1
  60. package/resources/cloudforce-one/threat-events/crons.d.ts +0 -47
  61. package/resources/cloudforce-one/threat-events/crons.d.ts.map +1 -1
  62. package/resources/cloudforce-one/threat-events/crons.js +0 -30
  63. package/resources/cloudforce-one/threat-events/crons.js.map +1 -1
  64. package/resources/cloudforce-one/threat-events/crons.mjs +0 -30
  65. package/resources/cloudforce-one/threat-events/crons.mjs.map +1 -1
  66. package/resources/cloudforce-one/threat-events/datasets/datasets.d.ts +2 -2
  67. package/resources/cloudforce-one/threat-events/datasets/datasets.d.ts.map +1 -1
  68. package/resources/cloudforce-one/threat-events/datasets/datasets.js.map +1 -1
  69. package/resources/cloudforce-one/threat-events/datasets/datasets.mjs.map +1 -1
  70. package/resources/cloudforce-one/threat-events/datasets/health.d.ts +0 -120
  71. package/resources/cloudforce-one/threat-events/datasets/health.d.ts.map +1 -1
  72. package/resources/cloudforce-one/threat-events/datasets/health.js +0 -16
  73. package/resources/cloudforce-one/threat-events/datasets/health.js.map +1 -1
  74. package/resources/cloudforce-one/threat-events/datasets/health.mjs +0 -16
  75. package/resources/cloudforce-one/threat-events/datasets/health.mjs.map +1 -1
  76. package/resources/cloudforce-one/threat-events/datasets/index.d.ts +1 -1
  77. package/resources/cloudforce-one/threat-events/datasets/index.d.ts.map +1 -1
  78. package/resources/cloudforce-one/threat-events/datasets/index.js.map +1 -1
  79. package/resources/cloudforce-one/threat-events/datasets/index.mjs.map +1 -1
  80. package/resources/cloudforce-one/threat-events/index.d.ts +1 -1
  81. package/resources/cloudforce-one/threat-events/index.d.ts.map +1 -1
  82. package/resources/cloudforce-one/threat-events/index.js.map +1 -1
  83. package/resources/cloudforce-one/threat-events/index.mjs +1 -1
  84. package/resources/cloudforce-one/threat-events/index.mjs.map +1 -1
  85. package/resources/cloudforce-one/threat-events/tags.d.ts +79 -4
  86. package/resources/cloudforce-one/threat-events/tags.d.ts.map +1 -1
  87. package/resources/cloudforce-one/threat-events/tags.js +2 -2
  88. package/resources/cloudforce-one/threat-events/tags.mjs +2 -2
  89. package/resources/cloudforce-one/threat-events/threat-events.d.ts +27 -4
  90. package/resources/cloudforce-one/threat-events/threat-events.d.ts.map +1 -1
  91. package/resources/cloudforce-one/threat-events/threat-events.js +2 -0
  92. package/resources/cloudforce-one/threat-events/threat-events.js.map +1 -1
  93. package/resources/cloudforce-one/threat-events/threat-events.mjs +2 -0
  94. package/resources/cloudforce-one/threat-events/threat-events.mjs.map +1 -1
  95. package/resources/dns/dns.d.ts +4 -4
  96. package/resources/dns/dns.d.ts.map +1 -1
  97. package/resources/dns/dns.js +1 -0
  98. package/resources/dns/dns.js.map +1 -1
  99. package/resources/dns/dns.mjs +2 -1
  100. package/resources/dns/dns.mjs.map +1 -1
  101. package/resources/dns/index.d.ts +2 -2
  102. package/resources/dns/index.d.ts.map +1 -1
  103. package/resources/dns/index.js +2 -1
  104. package/resources/dns/index.js.map +1 -1
  105. package/resources/dns/index.mjs +1 -1
  106. package/resources/dns/index.mjs.map +1 -1
  107. package/resources/dns/records.d.ts +174 -5
  108. package/resources/dns/records.d.ts.map +1 -1
  109. package/resources/dns/records.js +60 -6
  110. package/resources/dns/records.js.map +1 -1
  111. package/resources/dns/records.mjs +59 -6
  112. package/resources/dns/records.mjs.map +1 -1
  113. package/resources/dns/settings/account/account.d.ts +48 -45
  114. package/resources/dns/settings/account/account.d.ts.map +1 -1
  115. package/resources/dns/settings/account/account.js.map +1 -1
  116. package/resources/dns/settings/account/account.mjs.map +1 -1
  117. package/resources/dns/settings/index.d.ts +1 -1
  118. package/resources/dns/settings/index.d.ts.map +1 -1
  119. package/resources/dns/settings/index.js.map +1 -1
  120. package/resources/dns/settings/index.mjs.map +1 -1
  121. package/resources/dns/settings/settings.d.ts +0 -87
  122. package/resources/dns/settings/settings.d.ts.map +1 -1
  123. package/resources/dns/settings/settings.js.map +1 -1
  124. package/resources/dns/settings/settings.mjs.map +1 -1
  125. package/resources/dns/settings/zone.d.ts +49 -46
  126. package/resources/dns/settings/zone.d.ts.map +1 -1
  127. package/resources/dns-firewall/dns-firewall.d.ts +156 -48
  128. package/resources/dns-firewall/dns-firewall.d.ts.map +1 -1
  129. package/resources/dns-firewall/dns-firewall.js.map +1 -1
  130. package/resources/dns-firewall/dns-firewall.mjs.map +1 -1
  131. package/resources/email-routing/dns.d.ts +2 -4
  132. package/resources/email-routing/dns.d.ts.map +1 -1
  133. package/resources/email-routing/dns.js +0 -2
  134. package/resources/email-routing/dns.js.map +1 -1
  135. package/resources/email-routing/dns.mjs +0 -2
  136. package/resources/email-routing/dns.mjs.map +1 -1
  137. package/resources/email-security/settings/domains.d.ts +6 -0
  138. package/resources/email-security/settings/domains.d.ts.map +1 -1
  139. package/resources/email-security/settings/domains.js.map +1 -1
  140. package/resources/email-security/settings/domains.mjs.map +1 -1
  141. package/resources/images/v1/stats.d.ts +3 -1
  142. package/resources/images/v1/stats.d.ts.map +1 -1
  143. package/resources/images/v1/stats.js +3 -1
  144. package/resources/images/v1/stats.js.map +1 -1
  145. package/resources/images/v1/stats.mjs +3 -1
  146. package/resources/images/v1/stats.mjs.map +1 -1
  147. package/resources/intel/indicator-feeds/downloads.d.ts +0 -36
  148. package/resources/intel/indicator-feeds/downloads.d.ts.map +1 -1
  149. package/resources/intel/indicator-feeds/downloads.js +0 -15
  150. package/resources/intel/indicator-feeds/downloads.js.map +1 -1
  151. package/resources/intel/indicator-feeds/downloads.mjs +0 -15
  152. package/resources/intel/indicator-feeds/downloads.mjs.map +1 -1
  153. package/resources/intel/indicator-feeds/index.d.ts +1 -1
  154. package/resources/intel/indicator-feeds/index.d.ts.map +1 -1
  155. package/resources/intel/indicator-feeds/index.js.map +1 -1
  156. package/resources/intel/indicator-feeds/index.mjs.map +1 -1
  157. package/resources/intel/indicator-feeds/indicator-feeds.d.ts +2 -2
  158. package/resources/intel/indicator-feeds/indicator-feeds.d.ts.map +1 -1
  159. package/resources/intel/indicator-feeds/indicator-feeds.js.map +1 -1
  160. package/resources/intel/indicator-feeds/indicator-feeds.mjs.map +1 -1
  161. package/resources/load-balancers/index.d.ts +1 -0
  162. package/resources/load-balancers/index.d.ts.map +1 -1
  163. package/resources/load-balancers/index.js +4 -1
  164. package/resources/load-balancers/index.js.map +1 -1
  165. package/resources/load-balancers/index.mjs +1 -0
  166. package/resources/load-balancers/index.mjs.map +1 -1
  167. package/resources/load-balancers/load-balancers.d.ts +4 -0
  168. package/resources/load-balancers/load-balancers.d.ts.map +1 -1
  169. package/resources/load-balancers/load-balancers.js +5 -0
  170. package/resources/load-balancers/load-balancers.js.map +1 -1
  171. package/resources/load-balancers/load-balancers.mjs +5 -0
  172. package/resources/load-balancers/load-balancers.mjs.map +1 -1
  173. package/resources/load-balancers/monitor-groups.d.ts +313 -0
  174. package/resources/load-balancers/monitor-groups.d.ts.map +1 -0
  175. package/resources/load-balancers/monitor-groups.js +153 -0
  176. package/resources/load-balancers/monitor-groups.js.map +1 -0
  177. package/resources/load-balancers/monitor-groups.mjs +148 -0
  178. package/resources/load-balancers/monitor-groups.mjs.map +1 -0
  179. package/resources/load-balancers/pools/pools.d.ts +20 -0
  180. package/resources/load-balancers/pools/pools.d.ts.map +1 -1
  181. package/resources/load-balancers/pools/pools.js.map +1 -1
  182. package/resources/load-balancers/pools/pools.mjs.map +1 -1
  183. package/resources/logs/rayid.d.ts +1 -1
  184. package/resources/logs/received/fields.d.ts +1 -1
  185. package/resources/logs/received/received.d.ts +1 -1
  186. package/resources/magic-transit/cf-interconnects.d.ts +25 -0
  187. package/resources/magic-transit/cf-interconnects.d.ts.map +1 -1
  188. package/resources/magic-transit/gre-tunnels.d.ts +40 -0
  189. package/resources/magic-transit/gre-tunnels.d.ts.map +1 -1
  190. package/resources/magic-transit/ipsec-tunnels.d.ts +124 -0
  191. package/resources/magic-transit/ipsec-tunnels.d.ts.map +1 -1
  192. package/resources/magic-transit/pcaps/download.d.ts +1 -1
  193. package/resources/magic-transit/pcaps/ownership.d.ts +4 -4
  194. package/resources/magic-transit/pcaps/pcaps.d.ts +6 -6
  195. package/resources/magic-transit/pcaps/pcaps.js +1 -1
  196. package/resources/magic-transit/pcaps/pcaps.mjs +1 -1
  197. package/resources/page-rules.d.ts +20 -4
  198. package/resources/page-rules.d.ts.map +1 -1
  199. package/resources/page-rules.js +20 -4
  200. package/resources/page-rules.js.map +1 -1
  201. package/resources/page-rules.mjs +20 -4
  202. package/resources/page-rules.mjs.map +1 -1
  203. package/resources/page-shield/connections.d.ts +1 -1
  204. package/resources/page-shield/cookies.d.ts +1 -1
  205. package/resources/page-shield/scripts.d.ts +1 -1
  206. package/resources/radar/ai/inference/summary.d.ts +2 -10
  207. package/resources/radar/ai/inference/summary.d.ts.map +1 -1
  208. package/resources/radar/ai/inference/summary.js.map +1 -1
  209. package/resources/radar/ai/inference/summary.mjs.map +1 -1
  210. package/resources/radar/ai/inference/timeseries-groups/summary.d.ts +2 -10
  211. package/resources/radar/ai/inference/timeseries-groups/summary.d.ts.map +1 -1
  212. package/resources/radar/ai/inference/timeseries-groups/summary.js.map +1 -1
  213. package/resources/radar/ai/inference/timeseries-groups/summary.mjs.map +1 -1
  214. package/resources/radar/entities/asns.d.ts +56 -1
  215. package/resources/radar/entities/asns.d.ts.map +1 -1
  216. package/resources/radar/entities/asns.js +6 -0
  217. package/resources/radar/entities/asns.js.map +1 -1
  218. package/resources/radar/entities/asns.mjs +6 -0
  219. package/resources/radar/entities/asns.mjs.map +1 -1
  220. package/resources/radar/entities/entities.d.ts +2 -2
  221. package/resources/radar/entities/entities.d.ts.map +1 -1
  222. package/resources/radar/entities/entities.js.map +1 -1
  223. package/resources/radar/entities/entities.mjs.map +1 -1
  224. package/resources/radar/entities/index.d.ts +1 -1
  225. package/resources/radar/entities/index.d.ts.map +1 -1
  226. package/resources/radar/entities/index.js.map +1 -1
  227. package/resources/radar/entities/index.mjs.map +1 -1
  228. package/resources/radar/http/ases/ases.d.ts +7 -0
  229. package/resources/radar/http/ases/ases.d.ts.map +1 -1
  230. package/resources/radar/http/ases/ases.js.map +1 -1
  231. package/resources/radar/http/ases/ases.mjs.map +1 -1
  232. package/resources/radar/http/ases/bot-class.d.ts +7 -0
  233. package/resources/radar/http/ases/bot-class.d.ts.map +1 -1
  234. package/resources/radar/http/ases/browser-family.d.ts +7 -0
  235. package/resources/radar/http/ases/browser-family.d.ts.map +1 -1
  236. package/resources/radar/http/ases/device-type.d.ts +7 -0
  237. package/resources/radar/http/ases/device-type.d.ts.map +1 -1
  238. package/resources/radar/http/ases/http-method.d.ts +7 -0
  239. package/resources/radar/http/ases/http-method.d.ts.map +1 -1
  240. package/resources/radar/http/ases/http-protocol.d.ts +7 -0
  241. package/resources/radar/http/ases/http-protocol.d.ts.map +1 -1
  242. package/resources/radar/http/ases/ip-version.d.ts +7 -0
  243. package/resources/radar/http/ases/ip-version.d.ts.map +1 -1
  244. package/resources/radar/http/ases/os.d.ts +7 -0
  245. package/resources/radar/http/ases/os.d.ts.map +1 -1
  246. package/resources/radar/http/ases/tls-version.d.ts +7 -0
  247. package/resources/radar/http/ases/tls-version.d.ts.map +1 -1
  248. package/resources/radar/http/http.d.ts +7 -0
  249. package/resources/radar/http/http.d.ts.map +1 -1
  250. package/resources/radar/http/http.js.map +1 -1
  251. package/resources/radar/http/http.mjs.map +1 -1
  252. package/resources/radar/http/locations/bot-class.d.ts +7 -0
  253. package/resources/radar/http/locations/bot-class.d.ts.map +1 -1
  254. package/resources/radar/http/locations/browser-family.d.ts +7 -0
  255. package/resources/radar/http/locations/browser-family.d.ts.map +1 -1
  256. package/resources/radar/http/locations/device-type.d.ts +7 -0
  257. package/resources/radar/http/locations/device-type.d.ts.map +1 -1
  258. package/resources/radar/http/locations/http-method.d.ts +7 -0
  259. package/resources/radar/http/locations/http-method.d.ts.map +1 -1
  260. package/resources/radar/http/locations/http-protocol.d.ts +7 -0
  261. package/resources/radar/http/locations/http-protocol.d.ts.map +1 -1
  262. package/resources/radar/http/locations/ip-version.d.ts +7 -0
  263. package/resources/radar/http/locations/ip-version.d.ts.map +1 -1
  264. package/resources/radar/http/locations/locations.d.ts +7 -0
  265. package/resources/radar/http/locations/locations.d.ts.map +1 -1
  266. package/resources/radar/http/locations/locations.js.map +1 -1
  267. package/resources/radar/http/locations/locations.mjs.map +1 -1
  268. package/resources/radar/http/locations/os.d.ts +7 -0
  269. package/resources/radar/http/locations/os.d.ts.map +1 -1
  270. package/resources/radar/http/locations/tls-version.d.ts +7 -0
  271. package/resources/radar/http/locations/tls-version.d.ts.map +1 -1
  272. package/resources/radar/http/summary.d.ts +64 -38
  273. package/resources/radar/http/summary.d.ts.map +1 -1
  274. package/resources/radar/http/summary.js.map +1 -1
  275. package/resources/radar/http/summary.mjs.map +1 -1
  276. package/resources/radar/http/timeseries-groups.d.ts +80 -50
  277. package/resources/radar/http/timeseries-groups.d.ts.map +1 -1
  278. package/resources/radar/http/timeseries-groups.js.map +1 -1
  279. package/resources/radar/http/timeseries-groups.mjs.map +1 -1
  280. package/resources/radar/http/top.d.ts +14 -0
  281. package/resources/radar/http/top.d.ts.map +1 -1
  282. package/resources/radar/leaked-credentials/summary.d.ts +2 -10
  283. package/resources/radar/leaked-credentials/summary.d.ts.map +1 -1
  284. package/resources/radar/leaked-credentials/summary.js.map +1 -1
  285. package/resources/radar/leaked-credentials/summary.mjs.map +1 -1
  286. package/resources/radar/leaked-credentials/timeseries-groups.d.ts +2 -10
  287. package/resources/radar/leaked-credentials/timeseries-groups.d.ts.map +1 -1
  288. package/resources/radar/leaked-credentials/timeseries-groups.js.map +1 -1
  289. package/resources/radar/leaked-credentials/timeseries-groups.mjs.map +1 -1
  290. package/resources/radar/netflows/netflows.d.ts +15 -4
  291. package/resources/radar/netflows/netflows.d.ts.map +1 -1
  292. package/resources/radar/netflows/netflows.js.map +1 -1
  293. package/resources/radar/netflows/netflows.mjs.map +1 -1
  294. package/resources/radar/netflows/top.d.ts +14 -0
  295. package/resources/radar/netflows/top.d.ts.map +1 -1
  296. package/resources/radar/search.d.ts +2 -2
  297. package/resources/radar/search.d.ts.map +1 -1
  298. package/resources/request-tracers/traces.d.ts +1 -1
  299. package/resources/resource-sharing/recipients.d.ts +77 -1
  300. package/resources/resource-sharing/recipients.d.ts.map +1 -1
  301. package/resources/resource-sharing/recipients.js +5 -2
  302. package/resources/resource-sharing/recipients.js.map +1 -1
  303. package/resources/resource-sharing/recipients.mjs +5 -2
  304. package/resources/resource-sharing/recipients.mjs.map +1 -1
  305. package/resources/resource-sharing/resource-sharing.d.ts +347 -2
  306. package/resources/resource-sharing/resource-sharing.d.ts.map +1 -1
  307. package/resources/resource-sharing/resource-sharing.js +5 -2
  308. package/resources/resource-sharing/resource-sharing.js.map +1 -1
  309. package/resources/resource-sharing/resource-sharing.mjs +5 -2
  310. package/resources/resource-sharing/resource-sharing.mjs.map +1 -1
  311. package/resources/resource-sharing/resources.d.ts +7 -7
  312. package/resources/resource-sharing/resources.d.ts.map +1 -1
  313. package/resources/resource-sharing/resources.js.map +1 -1
  314. package/resources/resource-sharing/resources.mjs.map +1 -1
  315. package/resources/rules/lists/items.d.ts +9 -0
  316. package/resources/rules/lists/items.d.ts.map +1 -1
  317. package/resources/rules/lists/items.js +9 -0
  318. package/resources/rules/lists/items.js.map +1 -1
  319. package/resources/rules/lists/items.mjs +9 -0
  320. package/resources/rules/lists/items.mjs.map +1 -1
  321. package/resources/snippets/snippets.d.ts +1 -4
  322. package/resources/snippets/snippets.d.ts.map +1 -1
  323. package/resources/snippets/snippets.js.map +1 -1
  324. package/resources/snippets/snippets.mjs.map +1 -1
  325. package/resources/stream/downloads.d.ts +4 -2
  326. package/resources/stream/downloads.d.ts.map +1 -1
  327. package/resources/stream/downloads.js +4 -2
  328. package/resources/stream/downloads.js.map +1 -1
  329. package/resources/stream/downloads.mjs +4 -2
  330. package/resources/stream/downloads.mjs.map +1 -1
  331. package/resources/workers/beta/beta.d.ts +2 -2
  332. package/resources/workers/beta/beta.d.ts.map +1 -1
  333. package/resources/workers/beta/beta.js.map +1 -1
  334. package/resources/workers/beta/beta.mjs.map +1 -1
  335. package/resources/workers/beta/index.d.ts +1 -1
  336. package/resources/workers/beta/index.d.ts.map +1 -1
  337. package/resources/workers/beta/index.js.map +1 -1
  338. package/resources/workers/beta/index.mjs.map +1 -1
  339. package/resources/workers/beta/workers/index.d.ts +1 -1
  340. package/resources/workers/beta/workers/index.d.ts.map +1 -1
  341. package/resources/workers/beta/workers/index.js.map +1 -1
  342. package/resources/workers/beta/workers/index.mjs.map +1 -1
  343. package/resources/workers/beta/workers/versions.d.ts +276 -17
  344. package/resources/workers/beta/workers/versions.d.ts.map +1 -1
  345. package/resources/workers/beta/workers/versions.js +8 -7
  346. package/resources/workers/beta/workers/versions.js.map +1 -1
  347. package/resources/workers/beta/workers/versions.mjs +8 -7
  348. package/resources/workers/beta/workers/versions.mjs.map +1 -1
  349. package/resources/workers/beta/workers/workers.d.ts +133 -18
  350. package/resources/workers/beta/workers/workers.d.ts.map +1 -1
  351. package/resources/workers/beta/workers/workers.js +35 -4
  352. package/resources/workers/beta/workers/workers.js.map +1 -1
  353. package/resources/workers/beta/workers/workers.mjs +35 -4
  354. package/resources/workers/beta/workers/workers.mjs.map +1 -1
  355. package/resources/workers/index.d.ts +1 -1
  356. package/resources/workers/index.d.ts.map +1 -1
  357. package/resources/workers/index.js.map +1 -1
  358. package/resources/workers/index.mjs.map +1 -1
  359. package/resources/workers/scripts/index.d.ts +1 -1
  360. package/resources/workers/scripts/index.d.ts.map +1 -1
  361. package/resources/workers/scripts/index.js.map +1 -1
  362. package/resources/workers/scripts/index.mjs.map +1 -1
  363. package/resources/workers/scripts/script-and-version-settings.d.ts +354 -15
  364. package/resources/workers/scripts/script-and-version-settings.d.ts.map +1 -1
  365. package/resources/workers/scripts/scripts.d.ts +206 -10
  366. package/resources/workers/scripts/scripts.d.ts.map +1 -1
  367. package/resources/workers/scripts/scripts.js +17 -0
  368. package/resources/workers/scripts/scripts.js.map +1 -1
  369. package/resources/workers/scripts/scripts.mjs +17 -0
  370. package/resources/workers/scripts/scripts.mjs.map +1 -1
  371. package/resources/workers/scripts/secrets.d.ts +10 -2
  372. package/resources/workers/scripts/secrets.d.ts.map +1 -1
  373. package/resources/workers/scripts/secrets.js +10 -4
  374. package/resources/workers/scripts/secrets.js.map +1 -1
  375. package/resources/workers/scripts/secrets.mjs +10 -4
  376. package/resources/workers/scripts/secrets.mjs.map +1 -1
  377. package/resources/workers/scripts/settings.d.ts +12 -0
  378. package/resources/workers/scripts/settings.d.ts.map +1 -1
  379. package/resources/workers/scripts/versions.d.ts +327 -12
  380. package/resources/workers/scripts/versions.d.ts.map +1 -1
  381. package/resources/workers/scripts/versions.js.map +1 -1
  382. package/resources/workers/scripts/versions.mjs.map +1 -1
  383. package/resources/workers/workers.d.ts +2 -2
  384. package/resources/workers/workers.d.ts.map +1 -1
  385. package/resources/workers/workers.js.map +1 -1
  386. package/resources/workers/workers.mjs.map +1 -1
  387. package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.d.ts +109 -4
  388. package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.d.ts.map +1 -1
  389. package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.js.map +1 -1
  390. package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.mjs.map +1 -1
  391. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts +121 -9
  392. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts.map +1 -1
  393. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js.map +1 -1
  394. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs.map +1 -1
  395. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts +10 -2
  396. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts.map +1 -1
  397. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js +4 -4
  398. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js.map +1 -1
  399. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs +4 -4
  400. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs.map +1 -1
  401. package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts +354 -15
  402. package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts.map +1 -1
  403. package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.d.ts +2 -8
  404. package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.d.ts.map +1 -1
  405. package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.js +1 -1
  406. package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.js.map +1 -1
  407. package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.mjs +1 -1
  408. package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.mjs.map +1 -1
  409. package/resources/workflows/instances/instances.d.ts +5 -0
  410. package/resources/workflows/instances/instances.d.ts.map +1 -1
  411. package/resources/workflows/instances/instances.js.map +1 -1
  412. package/resources/workflows/instances/instances.mjs.map +1 -1
  413. package/resources/zero-trust/access/applications/applications.d.ts +0 -84
  414. package/resources/zero-trust/access/applications/applications.d.ts.map +1 -1
  415. package/resources/zero-trust/access/applications/applications.js.map +1 -1
  416. package/resources/zero-trust/access/applications/applications.mjs.map +1 -1
  417. package/resources/zero-trust/access/bookmarks.d.ts +0 -2
  418. package/resources/zero-trust/access/bookmarks.d.ts.map +1 -1
  419. package/resources/zero-trust/access/bookmarks.js.map +1 -1
  420. package/resources/zero-trust/access/bookmarks.mjs.map +1 -1
  421. package/resources/zero-trust/access/certificates/certificates.d.ts +0 -2
  422. package/resources/zero-trust/access/certificates/certificates.d.ts.map +1 -1
  423. package/resources/zero-trust/access/certificates/certificates.js.map +1 -1
  424. package/resources/zero-trust/access/certificates/certificates.mjs.map +1 -1
  425. package/resources/zero-trust/access/custom-pages.d.ts +0 -20
  426. package/resources/zero-trust/access/custom-pages.d.ts.map +1 -1
  427. package/resources/zero-trust/access/custom-pages.js.map +1 -1
  428. package/resources/zero-trust/access/custom-pages.mjs.map +1 -1
  429. package/resources/zero-trust/access/groups.d.ts +0 -8
  430. package/resources/zero-trust/access/groups.d.ts.map +1 -1
  431. package/resources/zero-trust/access/groups.js.map +1 -1
  432. package/resources/zero-trust/access/groups.mjs.map +1 -1
  433. package/resources/zero-trust/access/service-tokens.d.ts +37 -8
  434. package/resources/zero-trust/access/service-tokens.d.ts.map +1 -1
  435. package/resources/zero-trust/access/service-tokens.js +5 -2
  436. package/resources/zero-trust/access/service-tokens.js.map +1 -1
  437. package/resources/zero-trust/access/service-tokens.mjs +5 -2
  438. package/resources/zero-trust/access/service-tokens.mjs.map +1 -1
  439. package/resources/zero-trust/access/tags.d.ts +0 -6
  440. package/resources/zero-trust/access/tags.d.ts.map +1 -1
  441. package/resources/zero-trust/access/tags.js.map +1 -1
  442. package/resources/zero-trust/access/tags.mjs.map +1 -1
  443. package/resources/zero-trust/devices/devices_.d.ts +94 -1
  444. package/resources/zero-trust/devices/devices_.d.ts.map +1 -1
  445. package/resources/zero-trust/devices/devices_.js +5 -2
  446. package/resources/zero-trust/devices/devices_.js.map +1 -1
  447. package/resources/zero-trust/devices/devices_.mjs +5 -2
  448. package/resources/zero-trust/devices/devices_.mjs.map +1 -1
  449. package/resources/zero-trust/devices/registrations.d.ts +70 -1
  450. package/resources/zero-trust/devices/registrations.d.ts.map +1 -1
  451. package/resources/zero-trust/devices/registrations.js +5 -2
  452. package/resources/zero-trust/devices/registrations.js.map +1 -1
  453. package/resources/zero-trust/devices/registrations.mjs +5 -2
  454. package/resources/zero-trust/devices/registrations.mjs.map +1 -1
  455. package/resources/zero-trust/gateway/app-types.d.ts +10 -10
  456. package/resources/zero-trust/gateway/app-types.js +1 -1
  457. package/resources/zero-trust/gateway/app-types.mjs +1 -1
  458. package/resources/zero-trust/gateway/audit-ssh-settings.d.ts +11 -11
  459. package/resources/zero-trust/gateway/audit-ssh-settings.js +5 -5
  460. package/resources/zero-trust/gateway/audit-ssh-settings.mjs +5 -5
  461. package/resources/zero-trust/gateway/categories.d.ts +17 -19
  462. package/resources/zero-trust/gateway/categories.d.ts.map +1 -1
  463. package/resources/zero-trust/gateway/categories.js +1 -1
  464. package/resources/zero-trust/gateway/categories.js.map +1 -1
  465. package/resources/zero-trust/gateway/categories.mjs +1 -1
  466. package/resources/zero-trust/gateway/categories.mjs.map +1 -1
  467. package/resources/zero-trust/gateway/certificates.d.ts +84 -83
  468. package/resources/zero-trust/gateway/certificates.d.ts.map +1 -1
  469. package/resources/zero-trust/gateway/certificates.js +7 -7
  470. package/resources/zero-trust/gateway/certificates.js.map +1 -1
  471. package/resources/zero-trust/gateway/certificates.mjs +7 -7
  472. package/resources/zero-trust/gateway/certificates.mjs.map +1 -1
  473. package/resources/zero-trust/gateway/configurations/configurations.d.ts +212 -192
  474. package/resources/zero-trust/gateway/configurations/configurations.d.ts.map +1 -1
  475. package/resources/zero-trust/gateway/configurations/configurations.js +7 -7
  476. package/resources/zero-trust/gateway/configurations/configurations.js.map +1 -1
  477. package/resources/zero-trust/gateway/configurations/configurations.mjs +7 -7
  478. package/resources/zero-trust/gateway/configurations/configurations.mjs.map +1 -1
  479. package/resources/zero-trust/gateway/configurations/custom-certificate.d.ts +1 -1
  480. package/resources/zero-trust/gateway/configurations/custom-certificate.js +1 -1
  481. package/resources/zero-trust/gateway/configurations/custom-certificate.mjs +1 -1
  482. package/resources/zero-trust/gateway/gateway.d.ts +8 -8
  483. package/resources/zero-trust/gateway/gateway.js +2 -2
  484. package/resources/zero-trust/gateway/gateway.mjs +2 -2
  485. package/resources/zero-trust/gateway/lists/items.d.ts +2 -2
  486. package/resources/zero-trust/gateway/lists/items.js +1 -1
  487. package/resources/zero-trust/gateway/lists/items.mjs +1 -1
  488. package/resources/zero-trust/gateway/lists/lists.d.ts +32 -32
  489. package/resources/zero-trust/gateway/lists/lists.js +3 -3
  490. package/resources/zero-trust/gateway/lists/lists.mjs +3 -3
  491. package/resources/zero-trust/gateway/locations.d.ts +84 -98
  492. package/resources/zero-trust/gateway/locations.d.ts.map +1 -1
  493. package/resources/zero-trust/gateway/locations.js +5 -5
  494. package/resources/zero-trust/gateway/locations.js.map +1 -1
  495. package/resources/zero-trust/gateway/locations.mjs +5 -5
  496. package/resources/zero-trust/gateway/locations.mjs.map +1 -1
  497. package/resources/zero-trust/gateway/logging.d.ts +60 -23
  498. package/resources/zero-trust/gateway/logging.d.ts.map +1 -1
  499. package/resources/zero-trust/gateway/logging.js +2 -2
  500. package/resources/zero-trust/gateway/logging.mjs +2 -2
  501. package/resources/zero-trust/gateway/proxy-endpoints.d.ts +16 -16
  502. package/resources/zero-trust/gateway/proxy-endpoints.js +5 -5
  503. package/resources/zero-trust/gateway/proxy-endpoints.mjs +5 -5
  504. package/resources/zero-trust/gateway/rules.d.ts +514 -439
  505. package/resources/zero-trust/gateway/rules.d.ts.map +1 -1
  506. package/resources/zero-trust/gateway/rules.js +8 -10
  507. package/resources/zero-trust/gateway/rules.js.map +1 -1
  508. package/resources/zero-trust/gateway/rules.mjs +8 -10
  509. package/resources/zero-trust/gateway/rules.mjs.map +1 -1
  510. package/resources/zero-trust/networks/hostname-routes.d.ts +188 -0
  511. package/resources/zero-trust/networks/hostname-routes.d.ts.map +1 -0
  512. package/resources/zero-trust/networks/hostname-routes.js +100 -0
  513. package/resources/zero-trust/networks/hostname-routes.js.map +1 -0
  514. package/resources/zero-trust/networks/hostname-routes.mjs +95 -0
  515. package/resources/zero-trust/networks/hostname-routes.mjs.map +1 -0
  516. package/resources/zero-trust/networks/index.d.ts +1 -0
  517. package/resources/zero-trust/networks/index.d.ts.map +1 -1
  518. package/resources/zero-trust/networks/index.js +4 -1
  519. package/resources/zero-trust/networks/index.js.map +1 -1
  520. package/resources/zero-trust/networks/index.mjs +1 -0
  521. package/resources/zero-trust/networks/index.mjs.map +1 -1
  522. package/resources/zero-trust/networks/networks.d.ts +4 -0
  523. package/resources/zero-trust/networks/networks.d.ts.map +1 -1
  524. package/resources/zero-trust/networks/networks.js +5 -0
  525. package/resources/zero-trust/networks/networks.js.map +1 -1
  526. package/resources/zero-trust/networks/networks.mjs +5 -0
  527. package/resources/zero-trust/networks/networks.mjs.map +1 -1
  528. package/resources/zero-trust/organizations/doh.d.ts +0 -6
  529. package/resources/zero-trust/organizations/doh.d.ts.map +1 -1
  530. package/resources/zero-trust/organizations/organizations.d.ts +0 -2
  531. package/resources/zero-trust/organizations/organizations.d.ts.map +1 -1
  532. package/resources/zero-trust/organizations/organizations.js.map +1 -1
  533. package/resources/zero-trust/organizations/organizations.mjs.map +1 -1
  534. package/resources/zero-trust/tunnels/cloudflared/configurations.d.ts +0 -24
  535. package/resources/zero-trust/tunnels/cloudflared/configurations.d.ts.map +1 -1
  536. package/src/resources/addressing/prefixes/prefixes.ts +16 -8
  537. package/src/resources/ai/ai.ts +17 -0
  538. package/src/resources/ai/index.ts +6 -0
  539. package/src/resources/ai/to-markdown.ts +61 -0
  540. package/src/resources/ai-gateway/ai-gateway.ts +282 -12
  541. package/src/resources/ai-gateway/logs.ts +4 -2
  542. package/src/resources/alerting/destinations/pagerduty.ts +12 -25
  543. package/src/resources/alerting/destinations/webhooks.ts +12 -25
  544. package/src/resources/alerting/policies.ts +14 -3
  545. package/src/resources/bot-management.ts +61 -0
  546. package/src/resources/browser-rendering/json.ts +1 -1
  547. package/src/resources/browser-rendering/links.ts +5 -0
  548. package/src/resources/calls/turn.ts +5 -1
  549. package/src/resources/cloudforce-one/threat-events/crons.ts +1 -67
  550. package/src/resources/cloudforce-one/threat-events/datasets/datasets.ts +2 -6
  551. package/src/resources/cloudforce-one/threat-events/datasets/health.ts +1 -175
  552. package/src/resources/cloudforce-one/threat-events/datasets/index.ts +1 -1
  553. package/src/resources/cloudforce-one/threat-events/index.ts +1 -7
  554. package/src/resources/cloudforce-one/threat-events/tags.ts +110 -5
  555. package/src/resources/cloudforce-one/threat-events/threat-events.ts +45 -10
  556. package/src/resources/dns/dns.ts +15 -2
  557. package/src/resources/dns/index.ts +7 -1
  558. package/src/resources/dns/records.ts +267 -8
  559. package/src/resources/dns/settings/account/account.ts +48 -45
  560. package/src/resources/dns/settings/index.ts +1 -1
  561. package/src/resources/dns/settings/settings.ts +0 -104
  562. package/src/resources/dns/settings/zone.ts +49 -46
  563. package/src/resources/dns-firewall/dns-firewall.ts +156 -48
  564. package/src/resources/email-routing/dns.ts +2 -4
  565. package/src/resources/email-security/settings/domains.ts +12 -0
  566. package/src/resources/images/v1/stats.ts +3 -1
  567. package/src/resources/intel/indicator-feeds/downloads.ts +1 -55
  568. package/src/resources/intel/indicator-feeds/index.ts +1 -1
  569. package/src/resources/intel/indicator-feeds/indicator-feeds.ts +2 -6
  570. package/src/resources/load-balancers/index.ts +11 -0
  571. package/src/resources/load-balancers/load-balancers.ts +27 -0
  572. package/src/resources/load-balancers/monitor-groups.ts +436 -0
  573. package/src/resources/load-balancers/pools/pools.ts +24 -0
  574. package/src/resources/logs/rayid.ts +1 -1
  575. package/src/resources/logs/received/fields.ts +1 -1
  576. package/src/resources/logs/received/received.ts +1 -1
  577. package/src/resources/magic-transit/cf-interconnects.ts +30 -0
  578. package/src/resources/magic-transit/gre-tunnels.ts +48 -0
  579. package/src/resources/magic-transit/ipsec-tunnels.ts +144 -0
  580. package/src/resources/magic-transit/pcaps/download.ts +1 -1
  581. package/src/resources/magic-transit/pcaps/ownership.ts +4 -4
  582. package/src/resources/magic-transit/pcaps/pcaps.ts +6 -6
  583. package/src/resources/page-rules.ts +20 -4
  584. package/src/resources/page-shield/connections.ts +1 -1
  585. package/src/resources/page-shield/cookies.ts +1 -1
  586. package/src/resources/page-shield/scripts.ts +1 -1
  587. package/src/resources/radar/ai/inference/summary.ts +2 -10
  588. package/src/resources/radar/ai/inference/timeseries-groups/summary.ts +2 -10
  589. package/src/resources/radar/entities/asns.ts +86 -0
  590. package/src/resources/radar/entities/entities.ts +4 -0
  591. package/src/resources/radar/entities/index.ts +2 -0
  592. package/src/resources/radar/http/ases/ases.ts +8 -0
  593. package/src/resources/radar/http/ases/bot-class.ts +8 -0
  594. package/src/resources/radar/http/ases/browser-family.ts +8 -0
  595. package/src/resources/radar/http/ases/device-type.ts +8 -0
  596. package/src/resources/radar/http/ases/http-method.ts +8 -0
  597. package/src/resources/radar/http/ases/http-protocol.ts +8 -0
  598. package/src/resources/radar/http/ases/ip-version.ts +8 -0
  599. package/src/resources/radar/http/ases/os.ts +8 -0
  600. package/src/resources/radar/http/ases/tls-version.ts +8 -0
  601. package/src/resources/radar/http/http.ts +8 -0
  602. package/src/resources/radar/http/locations/bot-class.ts +8 -0
  603. package/src/resources/radar/http/locations/browser-family.ts +8 -0
  604. package/src/resources/radar/http/locations/device-type.ts +8 -0
  605. package/src/resources/radar/http/locations/http-method.ts +8 -0
  606. package/src/resources/radar/http/locations/http-protocol.ts +8 -0
  607. package/src/resources/radar/http/locations/ip-version.ts +8 -0
  608. package/src/resources/radar/http/locations/locations.ts +8 -0
  609. package/src/resources/radar/http/locations/os.ts +8 -0
  610. package/src/resources/radar/http/locations/tls-version.ts +8 -0
  611. package/src/resources/radar/http/summary.ts +72 -38
  612. package/src/resources/radar/http/timeseries-groups.ts +90 -50
  613. package/src/resources/radar/http/top.ts +16 -0
  614. package/src/resources/radar/leaked-credentials/summary.ts +2 -10
  615. package/src/resources/radar/leaked-credentials/timeseries-groups.ts +2 -10
  616. package/src/resources/radar/netflows/netflows.ts +17 -4
  617. package/src/resources/radar/netflows/top.ts +16 -0
  618. package/src/resources/radar/search.ts +2 -0
  619. package/src/resources/request-tracers/traces.ts +1 -1
  620. package/src/resources/resource-sharing/recipients.ts +100 -6
  621. package/src/resources/resource-sharing/resource-sharing.ts +470 -6
  622. package/src/resources/resource-sharing/resources.ts +49 -7
  623. package/src/resources/rules/lists/items.ts +9 -0
  624. package/src/resources/snippets/snippets.ts +2 -5
  625. package/src/resources/stream/downloads.ts +4 -2
  626. package/src/resources/workers/beta/beta.ts +2 -0
  627. package/src/resources/workers/beta/index.ts +1 -0
  628. package/src/resources/workers/beta/workers/index.ts +1 -0
  629. package/src/resources/workers/beta/workers/versions.ts +331 -16
  630. package/src/resources/workers/beta/workers/workers.ts +160 -18
  631. package/src/resources/workers/index.ts +2 -0
  632. package/src/resources/workers/scripts/index.ts +2 -0
  633. package/src/resources/workers/scripts/script-and-version-settings.ts +438 -12
  634. package/src/resources/workers/scripts/scripts.ts +261 -8
  635. package/src/resources/workers/scripts/secrets.ts +22 -12
  636. package/src/resources/workers/scripts/settings.ts +15 -0
  637. package/src/resources/workers/scripts/versions.ts +405 -9
  638. package/src/resources/workers/workers.ts +4 -0
  639. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.ts +136 -4
  640. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.ts +149 -8
  641. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.ts +16 -6
  642. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.ts +438 -12
  643. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.ts +2 -8
  644. package/src/resources/workflows/instances/instances.ts +6 -0
  645. package/src/resources/zero-trust/access/applications/applications.ts +0 -168
  646. package/src/resources/zero-trust/access/bookmarks.ts +0 -4
  647. package/src/resources/zero-trust/access/certificates/certificates.ts +0 -4
  648. package/src/resources/zero-trust/access/custom-pages.ts +0 -28
  649. package/src/resources/zero-trust/access/groups.ts +0 -16
  650. package/src/resources/zero-trust/access/service-tokens.ts +47 -20
  651. package/src/resources/zero-trust/access/tags.ts +0 -9
  652. package/src/resources/zero-trust/devices/devices_.ts +114 -6
  653. package/src/resources/zero-trust/devices/registrations.ts +88 -6
  654. package/src/resources/zero-trust/gateway/app-types.ts +10 -10
  655. package/src/resources/zero-trust/gateway/audit-ssh-settings.ts +11 -11
  656. package/src/resources/zero-trust/gateway/categories.ts +17 -19
  657. package/src/resources/zero-trust/gateway/certificates.ts +84 -83
  658. package/src/resources/zero-trust/gateway/configurations/configurations.ts +212 -192
  659. package/src/resources/zero-trust/gateway/configurations/custom-certificate.ts +1 -1
  660. package/src/resources/zero-trust/gateway/gateway.ts +8 -8
  661. package/src/resources/zero-trust/gateway/lists/items.ts +2 -2
  662. package/src/resources/zero-trust/gateway/lists/lists.ts +32 -32
  663. package/src/resources/zero-trust/gateway/locations.ts +84 -98
  664. package/src/resources/zero-trust/gateway/logging.ts +60 -23
  665. package/src/resources/zero-trust/gateway/proxy-endpoints.ts +16 -16
  666. package/src/resources/zero-trust/gateway/rules.ts +515 -440
  667. package/src/resources/zero-trust/networks/hostname-routes.ts +283 -0
  668. package/src/resources/zero-trust/networks/index.ts +10 -0
  669. package/src/resources/zero-trust/networks/networks.ts +25 -0
  670. package/src/resources/zero-trust/organizations/doh.ts +0 -12
  671. package/src/resources/zero-trust/organizations/organizations.ts +0 -4
  672. package/src/resources/zero-trust/tunnels/cloudflared/configurations.ts +0 -28
  673. package/src/version.ts +1 -1
  674. package/version.d.ts +1 -1
  675. package/version.js +1 -1
  676. package/version.mjs +1 -1
@@ -0,0 +1,283 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../../resource';
4
+ import * as Core from '../../../core';
5
+ import { V4PagePaginationArray, type V4PagePaginationArrayParams } from '../../../pagination';
6
+
7
+ export class HostnameRoutes extends APIResource {
8
+ /**
9
+ * Create a hostname route.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const hostnameRoute =
14
+ * await client.zeroTrust.networks.hostnameRoutes.create({
15
+ * account_id: '699d98642c564d2e855e9661899b7252',
16
+ * });
17
+ * ```
18
+ */
19
+ create(params: HostnameRouteCreateParams, options?: Core.RequestOptions): Core.APIPromise<HostnameRoute> {
20
+ const { account_id, ...body } = params;
21
+ return (
22
+ this._client.post(`/accounts/${account_id}/zerotrust/routes/hostname`, {
23
+ body,
24
+ ...options,
25
+ }) as Core.APIPromise<{ result: HostnameRoute }>
26
+ )._thenUnwrap((obj) => obj.result);
27
+ }
28
+
29
+ /**
30
+ * Lists and filters hostname routes in an account.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * // Automatically fetches more pages as needed.
35
+ * for await (const hostnameRoute of client.zeroTrust.networks.hostnameRoutes.list(
36
+ * { account_id: '699d98642c564d2e855e9661899b7252' },
37
+ * )) {
38
+ * // ...
39
+ * }
40
+ * ```
41
+ */
42
+ list(
43
+ params: HostnameRouteListParams,
44
+ options?: Core.RequestOptions,
45
+ ): Core.PagePromise<HostnameRoutesV4PagePaginationArray, HostnameRoute> {
46
+ const { account_id, ...query } = params;
47
+ return this._client.getAPIList(
48
+ `/accounts/${account_id}/zerotrust/routes/hostname`,
49
+ HostnameRoutesV4PagePaginationArray,
50
+ { query, ...options },
51
+ );
52
+ }
53
+
54
+ /**
55
+ * Delete a hostname route.
56
+ *
57
+ * @example
58
+ * ```ts
59
+ * const hostnameRoute =
60
+ * await client.zeroTrust.networks.hostnameRoutes.delete(
61
+ * 'f70ff985-a4ef-4643-bbbc-4a0ed4fc8415',
62
+ * { account_id: '699d98642c564d2e855e9661899b7252' },
63
+ * );
64
+ * ```
65
+ */
66
+ delete(
67
+ hostnameRouteId: string,
68
+ params: HostnameRouteDeleteParams,
69
+ options?: Core.RequestOptions,
70
+ ): Core.APIPromise<HostnameRoute> {
71
+ const { account_id } = params;
72
+ return (
73
+ this._client.delete(
74
+ `/accounts/${account_id}/zerotrust/routes/hostname/${hostnameRouteId}`,
75
+ options,
76
+ ) as Core.APIPromise<{ result: HostnameRoute }>
77
+ )._thenUnwrap((obj) => obj.result);
78
+ }
79
+
80
+ /**
81
+ * Updates a hostname route.
82
+ *
83
+ * @example
84
+ * ```ts
85
+ * const hostnameRoute =
86
+ * await client.zeroTrust.networks.hostnameRoutes.edit(
87
+ * 'f70ff985-a4ef-4643-bbbc-4a0ed4fc8415',
88
+ * { account_id: '699d98642c564d2e855e9661899b7252' },
89
+ * );
90
+ * ```
91
+ */
92
+ edit(
93
+ hostnameRouteId: string,
94
+ params: HostnameRouteEditParams,
95
+ options?: Core.RequestOptions,
96
+ ): Core.APIPromise<HostnameRoute> {
97
+ const { account_id, ...body } = params;
98
+ return (
99
+ this._client.patch(`/accounts/${account_id}/zerotrust/routes/hostname/${hostnameRouteId}`, {
100
+ body,
101
+ ...options,
102
+ }) as Core.APIPromise<{ result: HostnameRoute }>
103
+ )._thenUnwrap((obj) => obj.result);
104
+ }
105
+
106
+ /**
107
+ * Get a hostname route.
108
+ *
109
+ * @example
110
+ * ```ts
111
+ * const hostnameRoute =
112
+ * await client.zeroTrust.networks.hostnameRoutes.get(
113
+ * 'f70ff985-a4ef-4643-bbbc-4a0ed4fc8415',
114
+ * { account_id: '699d98642c564d2e855e9661899b7252' },
115
+ * );
116
+ * ```
117
+ */
118
+ get(
119
+ hostnameRouteId: string,
120
+ params: HostnameRouteGetParams,
121
+ options?: Core.RequestOptions,
122
+ ): Core.APIPromise<HostnameRoute> {
123
+ const { account_id } = params;
124
+ return (
125
+ this._client.get(
126
+ `/accounts/${account_id}/zerotrust/routes/hostname/${hostnameRouteId}`,
127
+ options,
128
+ ) as Core.APIPromise<{ result: HostnameRoute }>
129
+ )._thenUnwrap((obj) => obj.result);
130
+ }
131
+ }
132
+
133
+ export class HostnameRoutesV4PagePaginationArray extends V4PagePaginationArray<HostnameRoute> {}
134
+
135
+ export interface HostnameRoute {
136
+ /**
137
+ * The hostname route ID.
138
+ */
139
+ id?: string;
140
+
141
+ /**
142
+ * An optional description of the hostname route.
143
+ */
144
+ comment?: string;
145
+
146
+ /**
147
+ * Timestamp of when the resource was created.
148
+ */
149
+ created_at?: string;
150
+
151
+ /**
152
+ * Timestamp of when the resource was deleted. If `null`, the resource has not been
153
+ * deleted.
154
+ */
155
+ deleted_at?: string;
156
+
157
+ /**
158
+ * The hostname of the route.
159
+ */
160
+ hostname?: string;
161
+
162
+ /**
163
+ * UUID of the tunnel.
164
+ */
165
+ tunnel_id?: string;
166
+
167
+ /**
168
+ * A user-friendly name for a tunnel.
169
+ */
170
+ tunnel_name?: string;
171
+ }
172
+
173
+ export interface HostnameRouteCreateParams {
174
+ /**
175
+ * Path param: Cloudflare account ID
176
+ */
177
+ account_id: string;
178
+
179
+ /**
180
+ * Body param: An optional description of the hostname route.
181
+ */
182
+ comment?: string;
183
+
184
+ /**
185
+ * Body param: The hostname of the route.
186
+ */
187
+ hostname?: string;
188
+
189
+ /**
190
+ * Body param: UUID of the tunnel.
191
+ */
192
+ tunnel_id?: string;
193
+ }
194
+
195
+ export interface HostnameRouteListParams extends V4PagePaginationArrayParams {
196
+ /**
197
+ * Path param: Cloudflare account ID
198
+ */
199
+ account_id: string;
200
+
201
+ /**
202
+ * Query param: The hostname route ID.
203
+ */
204
+ id?: string;
205
+
206
+ /**
207
+ * Query param: If set, only list hostname routes with the given comment.
208
+ */
209
+ comment?: string;
210
+
211
+ /**
212
+ * Query param: If provided, include only resources that were created (and not
213
+ * deleted) before this time. URL encoded.
214
+ */
215
+ existed_at?: string;
216
+
217
+ /**
218
+ * Query param: If set, only list hostname routes that contain a substring of the
219
+ * given value, the filter is case-insensitive.
220
+ */
221
+ hostname?: string;
222
+
223
+ /**
224
+ * Query param: If `true`, only return deleted hostname routes. If `false`, exclude
225
+ * deleted hostname routes.
226
+ */
227
+ is_deleted?: boolean;
228
+
229
+ /**
230
+ * Query param: If set, only list hostname routes that point to a specific tunnel.
231
+ */
232
+ tunnel_id?: string;
233
+ }
234
+
235
+ export interface HostnameRouteDeleteParams {
236
+ /**
237
+ * Cloudflare account ID
238
+ */
239
+ account_id: string;
240
+ }
241
+
242
+ export interface HostnameRouteEditParams {
243
+ /**
244
+ * Path param: Cloudflare account ID
245
+ */
246
+ account_id: string;
247
+
248
+ /**
249
+ * Body param: An optional description of the hostname route.
250
+ */
251
+ comment?: string;
252
+
253
+ /**
254
+ * Body param: The hostname of the route.
255
+ */
256
+ hostname?: string;
257
+
258
+ /**
259
+ * Body param: UUID of the tunnel.
260
+ */
261
+ tunnel_id?: string;
262
+ }
263
+
264
+ export interface HostnameRouteGetParams {
265
+ /**
266
+ * Cloudflare account ID
267
+ */
268
+ account_id: string;
269
+ }
270
+
271
+ HostnameRoutes.HostnameRoutesV4PagePaginationArray = HostnameRoutesV4PagePaginationArray;
272
+
273
+ export declare namespace HostnameRoutes {
274
+ export {
275
+ type HostnameRoute as HostnameRoute,
276
+ HostnameRoutesV4PagePaginationArray as HostnameRoutesV4PagePaginationArray,
277
+ type HostnameRouteCreateParams as HostnameRouteCreateParams,
278
+ type HostnameRouteListParams as HostnameRouteListParams,
279
+ type HostnameRouteDeleteParams as HostnameRouteDeleteParams,
280
+ type HostnameRouteEditParams as HostnameRouteEditParams,
281
+ type HostnameRouteGetParams as HostnameRouteGetParams,
282
+ };
283
+ }
@@ -1,5 +1,15 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ export {
4
+ HostnameRoutesV4PagePaginationArray,
5
+ HostnameRoutes,
6
+ type HostnameRoute,
7
+ type HostnameRouteCreateParams,
8
+ type HostnameRouteListParams,
9
+ type HostnameRouteDeleteParams,
10
+ type HostnameRouteEditParams,
11
+ type HostnameRouteGetParams,
12
+ } from './hostname-routes';
3
13
  export { Networks } from './networks';
4
14
  export {
5
15
  SubnetListResponsesV4PagePaginationArray,
@@ -1,6 +1,17 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../../../resource';
4
+ import * as HostnameRoutesAPI from './hostname-routes';
5
+ import {
6
+ HostnameRoute,
7
+ HostnameRouteCreateParams,
8
+ HostnameRouteDeleteParams,
9
+ HostnameRouteEditParams,
10
+ HostnameRouteGetParams,
11
+ HostnameRouteListParams,
12
+ HostnameRoutes,
13
+ HostnameRoutesV4PagePaginationArray,
14
+ } from './hostname-routes';
4
15
  import * as VirtualNetworksAPI from './virtual-networks';
5
16
  import {
6
17
  VirtualNetwork,
@@ -37,6 +48,7 @@ export class Networks extends APIResource {
37
48
  routes: RoutesAPI.Routes = new RoutesAPI.Routes(this._client);
38
49
  virtualNetworks: VirtualNetworksAPI.VirtualNetworks = new VirtualNetworksAPI.VirtualNetworks(this._client);
39
50
  subnets: SubnetsAPI.Subnets = new SubnetsAPI.Subnets(this._client);
51
+ hostnameRoutes: HostnameRoutesAPI.HostnameRoutes = new HostnameRoutesAPI.HostnameRoutes(this._client);
40
52
  }
41
53
 
42
54
  Networks.Routes = Routes;
@@ -45,6 +57,8 @@ Networks.VirtualNetworks = VirtualNetworks;
45
57
  Networks.VirtualNetworksSinglePage = VirtualNetworksSinglePage;
46
58
  Networks.Subnets = Subnets;
47
59
  Networks.SubnetListResponsesV4PagePaginationArray = SubnetListResponsesV4PagePaginationArray;
60
+ Networks.HostnameRoutes = HostnameRoutes;
61
+ Networks.HostnameRoutesV4PagePaginationArray = HostnameRoutesV4PagePaginationArray;
48
62
 
49
63
  export declare namespace Networks {
50
64
  export {
@@ -77,4 +91,15 @@ export declare namespace Networks {
77
91
  SubnetListResponsesV4PagePaginationArray as SubnetListResponsesV4PagePaginationArray,
78
92
  type SubnetListParams as SubnetListParams,
79
93
  };
94
+
95
+ export {
96
+ HostnameRoutes as HostnameRoutes,
97
+ type HostnameRoute as HostnameRoute,
98
+ HostnameRoutesV4PagePaginationArray as HostnameRoutesV4PagePaginationArray,
99
+ type HostnameRouteCreateParams as HostnameRouteCreateParams,
100
+ type HostnameRouteListParams as HostnameRouteListParams,
101
+ type HostnameRouteDeleteParams as HostnameRouteDeleteParams,
102
+ type HostnameRouteEditParams as HostnameRouteEditParams,
103
+ type HostnameRouteGetParams as HostnameRouteGetParams,
104
+ };
80
105
  }
@@ -56,8 +56,6 @@ export interface DOHUpdateResponse {
56
56
  */
57
57
  client_id?: string;
58
58
 
59
- created_at?: string;
60
-
61
59
  /**
62
60
  * The duration the DoH JWT is valid for. Must be in the format `300ms` or `2h45m`.
63
61
  * Valid time units are: ns, us (or µs), ms, s, m, h. Note that the maximum
@@ -75,14 +73,10 @@ export interface DOHUpdateResponse {
75
73
 
76
74
  expires_at?: string;
77
75
 
78
- last_seen_at?: string;
79
-
80
76
  /**
81
77
  * The name of the service token.
82
78
  */
83
79
  name?: string;
84
-
85
- updated_at?: string;
86
80
  }
87
81
 
88
82
  export interface DOHGetResponse {
@@ -97,8 +91,6 @@ export interface DOHGetResponse {
97
91
  */
98
92
  client_id?: string;
99
93
 
100
- created_at?: string;
101
-
102
94
  /**
103
95
  * The duration the DoH JWT is valid for. Must be in the format `300ms` or `2h45m`.
104
96
  * Valid time units are: ns, us (or µs), ms, s, m, h. Note that the maximum
@@ -115,14 +107,10 @@ export interface DOHGetResponse {
115
107
 
116
108
  expires_at?: string;
117
109
 
118
- last_seen_at?: string;
119
-
120
110
  /**
121
111
  * The name of the service token.
122
112
  */
123
113
  name?: string;
124
-
125
- updated_at?: string;
126
114
  }
127
115
 
128
116
  export interface DOHUpdateParams {
@@ -246,8 +246,6 @@ export interface Organization {
246
246
  */
247
247
  auto_redirect_to_identity?: boolean;
248
248
 
249
- created_at?: string;
250
-
251
249
  custom_pages?: Organization.CustomPages;
252
250
 
253
251
  /**
@@ -275,8 +273,6 @@ export interface Organization {
275
273
  */
276
274
  ui_read_only_toggle_reason?: string;
277
275
 
278
- updated_at?: string;
279
-
280
276
  /**
281
277
  * The amount of time a user seat is inactive before it expires. When the user seat
282
278
  * exceeds the set time of inactivity, the user is removed as an active seat and no
@@ -107,12 +107,6 @@ export namespace ConfigurationUpdateResponse {
107
107
  * between cloudflared and origin server.
108
108
  */
109
109
  originRequest?: Config.OriginRequest;
110
-
111
- /**
112
- * Enable private network access from WARP users to private network routes. This is
113
- * enabled if the tunnel has an assigned route.
114
- */
115
- 'warp-routing'?: Config.WARPRouting;
116
110
  }
117
111
 
118
112
  export namespace Config {
@@ -363,14 +357,6 @@ export namespace ConfigurationUpdateResponse {
363
357
  required?: boolean;
364
358
  }
365
359
  }
366
-
367
- /**
368
- * Enable private network access from WARP users to private network routes. This is
369
- * enabled if the tunnel has an assigned route.
370
- */
371
- export interface WARPRouting {
372
- enabled?: boolean;
373
- }
374
360
  }
375
361
  }
376
362
 
@@ -424,12 +410,6 @@ export namespace ConfigurationGetResponse {
424
410
  * between cloudflared and origin server.
425
411
  */
426
412
  originRequest?: Config.OriginRequest;
427
-
428
- /**
429
- * Enable private network access from WARP users to private network routes. This is
430
- * enabled if the tunnel has an assigned route.
431
- */
432
- 'warp-routing'?: Config.WARPRouting;
433
413
  }
434
414
 
435
415
  export namespace Config {
@@ -680,14 +660,6 @@ export namespace ConfigurationGetResponse {
680
660
  required?: boolean;
681
661
  }
682
662
  }
683
-
684
- /**
685
- * Enable private network access from WARP users to private network routes. This is
686
- * enabled if the tunnel has an assigned route.
687
- */
688
- export interface WARPRouting {
689
- enabled?: boolean;
690
- }
691
663
  }
692
664
  }
693
665
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '5.1.0'; // x-release-please-version
1
+ export const VERSION = '5.2.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.1.0";
1
+ export declare const VERSION = "5.2.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '5.1.0'; // x-release-please-version
4
+ exports.VERSION = '5.2.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '5.1.0'; // x-release-please-version
1
+ export const VERSION = '5.2.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map