cloudflare 6.2.0 → 6.3.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 (389) hide show
  1. package/CHANGELOG.md +131 -0
  2. package/index.d.mts +3 -0
  3. package/index.d.ts +3 -0
  4. package/index.d.ts.map +1 -1
  5. package/index.js +3 -0
  6. package/index.js.map +1 -1
  7. package/index.mjs +3 -0
  8. package/index.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/ai/models/models.d.ts +5 -0
  11. package/resources/ai/models/models.d.ts.map +1 -1
  12. package/resources/ai/models/models.js.map +1 -1
  13. package/resources/ai/models/models.mjs.map +1 -1
  14. package/resources/aisearch/instances/instances.d.ts +5 -0
  15. package/resources/aisearch/instances/instances.d.ts.map +1 -1
  16. package/resources/aisearch/instances/instances.js.map +1 -1
  17. package/resources/aisearch/instances/instances.mjs.map +1 -1
  18. package/resources/aisearch/namespaces/instances/instances.d.ts +5 -0
  19. package/resources/aisearch/namespaces/instances/instances.d.ts.map +1 -1
  20. package/resources/aisearch/namespaces/instances/instances.js.map +1 -1
  21. package/resources/aisearch/namespaces/instances/instances.mjs.map +1 -1
  22. package/resources/billing/billing.d.ts +2 -2
  23. package/resources/billing/billing.d.ts.map +1 -1
  24. package/resources/billing/billing.js.map +1 -1
  25. package/resources/billing/billing.mjs.map +1 -1
  26. package/resources/billing/index.d.ts +1 -1
  27. package/resources/billing/index.d.ts.map +1 -1
  28. package/resources/billing/index.js.map +1 -1
  29. package/resources/billing/index.mjs +1 -1
  30. package/resources/billing/index.mjs.map +1 -1
  31. package/resources/billing/usage.d.ts +213 -3
  32. package/resources/billing/usage.d.ts.map +1 -1
  33. package/resources/billing/usage.js +20 -4
  34. package/resources/billing/usage.js.map +1 -1
  35. package/resources/billing/usage.mjs +20 -4
  36. package/resources/billing/usage.mjs.map +1 -1
  37. package/resources/cloudforce-one/threat-events/countries.d.ts +1 -0
  38. package/resources/cloudforce-one/threat-events/countries.d.ts.map +1 -1
  39. package/resources/custom-certificates/custom-certificates.d.ts +9 -7
  40. package/resources/custom-certificates/custom-certificates.d.ts.map +1 -1
  41. package/resources/custom-certificates/custom-certificates.js +0 -2
  42. package/resources/custom-certificates/custom-certificates.js.map +1 -1
  43. package/resources/custom-certificates/custom-certificates.mjs +0 -2
  44. package/resources/custom-certificates/custom-certificates.mjs.map +1 -1
  45. package/resources/dls/dls.d.ts +14 -0
  46. package/resources/dls/dls.d.ts.map +1 -0
  47. package/resources/dls/dls.js +44 -0
  48. package/resources/dls/dls.js.map +1 -0
  49. package/resources/dls/dls.mjs +17 -0
  50. package/resources/dls/dls.mjs.map +1 -0
  51. package/resources/dls/index.d.ts +4 -0
  52. package/resources/dls/index.d.ts.map +1 -0
  53. package/resources/dls/index.js +12 -0
  54. package/resources/dls/index.js.map +1 -0
  55. package/resources/dls/index.mjs +5 -0
  56. package/resources/dls/index.mjs.map +1 -0
  57. package/resources/dls/regional-services/index.d.ts +3 -0
  58. package/resources/dls/regional-services/index.d.ts.map +1 -0
  59. package/resources/dls/regional-services/index.js +10 -0
  60. package/resources/dls/regional-services/index.js.map +1 -0
  61. package/resources/dls/regional-services/index.mjs +4 -0
  62. package/resources/dls/regional-services/index.mjs.map +1 -0
  63. package/resources/dls/regional-services/prefix-bindings.d.ts +197 -0
  64. package/resources/dls/regional-services/prefix-bindings.d.ts.map +1 -0
  65. package/resources/dls/regional-services/prefix-bindings.js +103 -0
  66. package/resources/dls/regional-services/prefix-bindings.js.map +1 -0
  67. package/resources/dls/regional-services/prefix-bindings.mjs +98 -0
  68. package/resources/dls/regional-services/prefix-bindings.mjs.map +1 -0
  69. package/resources/dls/regional-services/regional-services.d.ts +10 -0
  70. package/resources/dls/regional-services/regional-services.d.ts.map +1 -0
  71. package/resources/dls/regional-services/regional-services.js +40 -0
  72. package/resources/dls/regional-services/regional-services.js.map +1 -0
  73. package/resources/dls/regional-services/regional-services.mjs +13 -0
  74. package/resources/dls/regional-services/regional-services.mjs.map +1 -0
  75. package/resources/dls/regional-services.d.ts +2 -0
  76. package/resources/dls/regional-services.d.ts.map +1 -0
  77. package/resources/dls/regional-services.js +19 -0
  78. package/resources/dls/regional-services.js.map +1 -0
  79. package/resources/dls/regional-services.mjs +3 -0
  80. package/resources/dls/regional-services.mjs.map +1 -0
  81. package/resources/dls/regions.d.ts +68 -0
  82. package/resources/dls/regions.d.ts.map +1 -0
  83. package/resources/dls/regions.js +46 -0
  84. package/resources/dls/regions.js.map +1 -0
  85. package/resources/dls/regions.mjs +41 -0
  86. package/resources/dls/regions.mjs.map +1 -0
  87. package/resources/dls.d.ts +2 -0
  88. package/resources/dls.d.ts.map +1 -0
  89. package/resources/dls.js +19 -0
  90. package/resources/dls.js.map +1 -0
  91. package/resources/dls.mjs +3 -0
  92. package/resources/dls.mjs.map +1 -0
  93. package/resources/email-sending/email-sending.d.ts +2 -2
  94. package/resources/index.d.ts +1 -0
  95. package/resources/index.d.ts.map +1 -1
  96. package/resources/index.js +5 -3
  97. package/resources/index.js.map +1 -1
  98. package/resources/index.mjs +1 -0
  99. package/resources/index.mjs.map +1 -1
  100. package/resources/intel/sinkholes.d.ts +9 -9
  101. package/resources/intel/sinkholes.js +1 -1
  102. package/resources/intel/sinkholes.mjs +1 -1
  103. package/resources/logpush/datasets/fields.d.ts +2 -2
  104. package/resources/logpush/datasets/fields.d.ts.map +1 -1
  105. package/resources/logpush/datasets/fields.js.map +1 -1
  106. package/resources/logpush/datasets/fields.mjs.map +1 -1
  107. package/resources/logpush/datasets/jobs.d.ts +2 -2
  108. package/resources/logpush/datasets/jobs.d.ts.map +1 -1
  109. package/resources/logpush/datasets/jobs.js.map +1 -1
  110. package/resources/logpush/datasets/jobs.mjs.map +1 -1
  111. package/resources/logpush/jobs.d.ts +2 -2
  112. package/resources/logpush/jobs.d.ts.map +1 -1
  113. package/resources/logpush/jobs.js.map +1 -1
  114. package/resources/logpush/jobs.mjs.map +1 -1
  115. package/resources/organizations/billing/billing.d.ts +10 -0
  116. package/resources/organizations/billing/billing.d.ts.map +1 -0
  117. package/resources/organizations/billing/billing.js +39 -0
  118. package/resources/organizations/billing/billing.js.map +1 -0
  119. package/resources/organizations/billing/billing.mjs +12 -0
  120. package/resources/organizations/billing/billing.mjs.map +1 -0
  121. package/resources/organizations/billing/index.d.ts +3 -0
  122. package/resources/organizations/billing/index.d.ts.map +1 -0
  123. package/resources/organizations/billing/index.js +9 -0
  124. package/resources/organizations/billing/index.js.map +1 -0
  125. package/resources/organizations/billing/index.mjs +4 -0
  126. package/resources/organizations/billing/index.mjs.map +1 -0
  127. package/resources/organizations/billing/usage.d.ts +210 -0
  128. package/resources/organizations/billing/usage.d.ts.map +1 -0
  129. package/resources/organizations/billing/usage.js +19 -0
  130. package/resources/organizations/billing/usage.js.map +1 -0
  131. package/resources/organizations/billing/usage.mjs +15 -0
  132. package/resources/organizations/billing/usage.mjs.map +1 -0
  133. package/resources/organizations/billing.d.ts +2 -0
  134. package/resources/organizations/billing.d.ts.map +1 -0
  135. package/resources/organizations/billing.js +19 -0
  136. package/resources/organizations/billing.js.map +1 -0
  137. package/resources/organizations/billing.mjs +3 -0
  138. package/resources/organizations/billing.mjs.map +1 -0
  139. package/resources/organizations/index.d.ts +1 -0
  140. package/resources/organizations/index.d.ts.map +1 -1
  141. package/resources/organizations/index.js +5 -3
  142. package/resources/organizations/index.js.map +1 -1
  143. package/resources/organizations/index.mjs +1 -0
  144. package/resources/organizations/index.mjs.map +1 -1
  145. package/resources/organizations/organization-profile.d.ts +2 -2
  146. package/resources/organizations/organization-profile.js +2 -2
  147. package/resources/organizations/organization-profile.mjs +2 -2
  148. package/resources/organizations/organizations.d.ts +9 -5
  149. package/resources/organizations/organizations.d.ts.map +1 -1
  150. package/resources/organizations/organizations.js +8 -4
  151. package/resources/organizations/organizations.js.map +1 -1
  152. package/resources/organizations/organizations.mjs +8 -4
  153. package/resources/organizations/organizations.mjs.map +1 -1
  154. package/resources/r2/buckets/buckets.d.ts +4 -0
  155. package/resources/r2/buckets/buckets.d.ts.map +1 -1
  156. package/resources/r2/buckets/buckets.js +5 -0
  157. package/resources/r2/buckets/buckets.js.map +1 -1
  158. package/resources/r2/buckets/buckets.mjs +5 -0
  159. package/resources/r2/buckets/buckets.mjs.map +1 -1
  160. package/resources/r2/buckets/index.d.ts +1 -0
  161. package/resources/r2/buckets/index.d.ts.map +1 -1
  162. package/resources/r2/buckets/index.js +4 -1
  163. package/resources/r2/buckets/index.js.map +1 -1
  164. package/resources/r2/buckets/index.mjs +1 -0
  165. package/resources/r2/buckets/index.mjs.map +1 -1
  166. package/resources/r2/buckets/objects.d.ts +281 -0
  167. package/resources/r2/buckets/objects.d.ts.map +1 -0
  168. package/resources/r2/buckets/objects.js +151 -0
  169. package/resources/r2/buckets/objects.js.map +1 -0
  170. package/resources/r2/buckets/objects.mjs +146 -0
  171. package/resources/r2/buckets/objects.mjs.map +1 -0
  172. package/resources/radar/http/http.d.ts +16 -4
  173. package/resources/radar/http/http.d.ts.map +1 -1
  174. package/resources/radar/http/http.js.map +1 -1
  175. package/resources/radar/http/http.mjs.map +1 -1
  176. package/resources/secrets-store/index.d.ts +1 -1
  177. package/resources/secrets-store/index.d.ts.map +1 -1
  178. package/resources/secrets-store/index.js.map +1 -1
  179. package/resources/secrets-store/index.mjs.map +1 -1
  180. package/resources/secrets-store/secrets-store.d.ts +2 -2
  181. package/resources/secrets-store/secrets-store.d.ts.map +1 -1
  182. package/resources/secrets-store/secrets-store.js.map +1 -1
  183. package/resources/secrets-store/secrets-store.mjs.map +1 -1
  184. package/resources/secrets-store/stores/index.d.ts +1 -1
  185. package/resources/secrets-store/stores/index.d.ts.map +1 -1
  186. package/resources/secrets-store/stores/index.js.map +1 -1
  187. package/resources/secrets-store/stores/index.mjs.map +1 -1
  188. package/resources/secrets-store/stores/stores.d.ts +41 -1
  189. package/resources/secrets-store/stores/stores.d.ts.map +1 -1
  190. package/resources/secrets-store/stores/stores.js +15 -0
  191. package/resources/secrets-store/stores/stores.js.map +1 -1
  192. package/resources/secrets-store/stores/stores.mjs +15 -0
  193. package/resources/secrets-store/stores/stores.mjs.map +1 -1
  194. package/resources/spectrum/apps.d.ts +30 -0
  195. package/resources/spectrum/apps.d.ts.map +1 -1
  196. package/resources/spectrum/apps.js.map +1 -1
  197. package/resources/spectrum/apps.mjs.map +1 -1
  198. package/resources/workers/beta/workers/workers.d.ts +32 -0
  199. package/resources/workers/beta/workers/workers.d.ts.map +1 -1
  200. package/resources/workers/beta/workers/workers.js.map +1 -1
  201. package/resources/workers/beta/workers/workers.mjs.map +1 -1
  202. package/resources/workers/observability/destinations.d.ts +5 -5
  203. package/resources/workers/observability/destinations.d.ts.map +1 -1
  204. package/resources/workers/observability/index.d.ts +1 -0
  205. package/resources/workers/observability/index.d.ts.map +1 -1
  206. package/resources/workers/observability/index.js +4 -1
  207. package/resources/workers/observability/index.js.map +1 -1
  208. package/resources/workers/observability/index.mjs +1 -0
  209. package/resources/workers/observability/index.mjs.map +1 -1
  210. package/resources/workers/observability/observability.d.ts +4 -0
  211. package/resources/workers/observability/observability.d.ts.map +1 -1
  212. package/resources/workers/observability/observability.js +5 -0
  213. package/resources/workers/observability/observability.js.map +1 -1
  214. package/resources/workers/observability/observability.mjs +5 -0
  215. package/resources/workers/observability/observability.mjs.map +1 -1
  216. package/resources/workers/observability/queries.d.ts +471 -0
  217. package/resources/workers/observability/queries.d.ts.map +1 -0
  218. package/resources/workers/observability/queries.js +52 -0
  219. package/resources/workers/observability/queries.js.map +1 -0
  220. package/resources/workers/observability/queries.mjs +47 -0
  221. package/resources/workers/observability/queries.mjs.map +1 -0
  222. package/resources/workers/observability/telemetry.d.ts +62 -36
  223. package/resources/workers/observability/telemetry.d.ts.map +1 -1
  224. package/resources/workers/observability/telemetry.js.map +1 -1
  225. package/resources/workers/observability/telemetry.mjs.map +1 -1
  226. package/resources/workers/scripts/index.d.ts +1 -1
  227. package/resources/workers/scripts/index.d.ts.map +1 -1
  228. package/resources/workers/scripts/index.js.map +1 -1
  229. package/resources/workers/scripts/index.mjs.map +1 -1
  230. package/resources/workers/scripts/script-and-version-settings.d.ts +24 -0
  231. package/resources/workers/scripts/script-and-version-settings.d.ts.map +1 -1
  232. package/resources/workers/scripts/scripts.d.ts +42 -2
  233. package/resources/workers/scripts/scripts.d.ts.map +1 -1
  234. package/resources/workers/scripts/scripts.js.map +1 -1
  235. package/resources/workers/scripts/scripts.mjs.map +1 -1
  236. package/resources/workers/scripts/secrets.d.ts +137 -1
  237. package/resources/workers/scripts/secrets.d.ts.map +1 -1
  238. package/resources/workers/scripts/secrets.js +27 -0
  239. package/resources/workers/scripts/secrets.js.map +1 -1
  240. package/resources/workers/scripts/secrets.mjs +27 -0
  241. package/resources/workers/scripts/secrets.mjs.map +1 -1
  242. package/resources/workers/scripts/settings.d.ts +8 -0
  243. package/resources/workers/scripts/settings.d.ts.map +1 -1
  244. package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.d.ts +1 -1
  245. package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.d.ts.map +1 -1
  246. package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.js.map +1 -1
  247. package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.mjs.map +1 -1
  248. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts +18 -2
  249. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts.map +1 -1
  250. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js.map +1 -1
  251. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs.map +1 -1
  252. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts +138 -1
  253. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts.map +1 -1
  254. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js +28 -0
  255. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js.map +1 -1
  256. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs +28 -0
  257. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs.map +1 -1
  258. package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts +24 -0
  259. package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts.map +1 -1
  260. package/resources/zero-trust/access/access.d.ts +4 -0
  261. package/resources/zero-trust/access/access.d.ts.map +1 -1
  262. package/resources/zero-trust/access/access.js +5 -0
  263. package/resources/zero-trust/access/access.js.map +1 -1
  264. package/resources/zero-trust/access/access.mjs +5 -0
  265. package/resources/zero-trust/access/access.mjs.map +1 -1
  266. package/resources/zero-trust/access/ai-controls/mcp/portals.d.ts +190 -0
  267. package/resources/zero-trust/access/ai-controls/mcp/portals.d.ts.map +1 -1
  268. package/resources/zero-trust/access/ai-controls/mcp/portals.js.map +1 -1
  269. package/resources/zero-trust/access/ai-controls/mcp/portals.mjs.map +1 -1
  270. package/resources/zero-trust/access/ai-controls/mcp/servers.d.ts +202 -2
  271. package/resources/zero-trust/access/ai-controls/mcp/servers.d.ts.map +1 -1
  272. package/resources/zero-trust/access/ai-controls/mcp/servers.js +2 -1
  273. package/resources/zero-trust/access/ai-controls/mcp/servers.js.map +1 -1
  274. package/resources/zero-trust/access/ai-controls/mcp/servers.mjs +2 -1
  275. package/resources/zero-trust/access/ai-controls/mcp/servers.mjs.map +1 -1
  276. package/resources/zero-trust/access/applications/policies.d.ts +32 -2
  277. package/resources/zero-trust/access/applications/policies.d.ts.map +1 -1
  278. package/resources/zero-trust/access/applications/policies.js.map +1 -1
  279. package/resources/zero-trust/access/applications/policies.mjs.map +1 -1
  280. package/resources/zero-trust/access/index.d.ts +1 -0
  281. package/resources/zero-trust/access/index.d.ts.map +1 -1
  282. package/resources/zero-trust/access/index.js +4 -1
  283. package/resources/zero-trust/access/index.js.map +1 -1
  284. package/resources/zero-trust/access/index.mjs +1 -0
  285. package/resources/zero-trust/access/index.mjs.map +1 -1
  286. package/resources/zero-trust/access/saml-certificates.d.ts +248 -0
  287. package/resources/zero-trust/access/saml-certificates.d.ts.map +1 -0
  288. package/resources/zero-trust/access/saml-certificates.js +100 -0
  289. package/resources/zero-trust/access/saml-certificates.js.map +1 -0
  290. package/resources/zero-trust/access/saml-certificates.mjs +95 -0
  291. package/resources/zero-trust/access/saml-certificates.mjs.map +1 -0
  292. package/resources/zero-trust/devices/posture/posture.d.ts +10 -0
  293. package/resources/zero-trust/devices/posture/posture.d.ts.map +1 -1
  294. package/resources/zero-trust/devices/posture/posture.js.map +1 -1
  295. package/resources/zero-trust/devices/posture/posture.mjs.map +1 -1
  296. package/resources/zero-trust/identity-providers/identity-providers.d.ts +2689 -108
  297. package/resources/zero-trust/identity-providers/identity-providers.d.ts.map +1 -1
  298. package/resources/zero-trust/identity-providers/identity-providers.js +4 -0
  299. package/resources/zero-trust/identity-providers/identity-providers.js.map +1 -1
  300. package/resources/zero-trust/identity-providers/identity-providers.mjs +4 -0
  301. package/resources/zero-trust/identity-providers/identity-providers.mjs.map +1 -1
  302. package/resources/zero-trust/identity-providers/index.d.ts +1 -0
  303. package/resources/zero-trust/identity-providers/index.d.ts.map +1 -1
  304. package/resources/zero-trust/identity-providers/index.js +3 -1
  305. package/resources/zero-trust/identity-providers/index.js.map +1 -1
  306. package/resources/zero-trust/identity-providers/index.mjs +1 -0
  307. package/resources/zero-trust/identity-providers/index.mjs.map +1 -1
  308. package/resources/zero-trust/identity-providers/saml-certificate.d.ts +91 -0
  309. package/resources/zero-trust/identity-providers/saml-certificate.d.ts.map +1 -0
  310. package/resources/zero-trust/identity-providers/saml-certificate.js +37 -0
  311. package/resources/zero-trust/identity-providers/saml-certificate.js.map +1 -0
  312. package/resources/zero-trust/identity-providers/saml-certificate.mjs +33 -0
  313. package/resources/zero-trust/identity-providers/saml-certificate.mjs.map +1 -0
  314. package/src/index.ts +5 -0
  315. package/src/resources/ai/models/models.ts +6 -0
  316. package/src/resources/aisearch/instances/instances.ts +6 -0
  317. package/src/resources/aisearch/namespaces/instances/instances.ts +6 -0
  318. package/src/resources/billing/api.md +3 -1
  319. package/src/resources/billing/billing.ts +3 -1
  320. package/src/resources/billing/index.ts +7 -1
  321. package/src/resources/billing/usage.ts +268 -7
  322. package/src/resources/cloudforce-one/threat-events/countries.ts +2 -0
  323. package/src/resources/custom-certificates/custom-certificates.ts +10 -8
  324. package/src/resources/dls/api.md +33 -0
  325. package/src/resources/dls/dls.ts +38 -0
  326. package/src/resources/dls/index.ts +12 -0
  327. package/src/resources/dls/regional-services/index.ts +17 -0
  328. package/src/resources/dls/regional-services/prefix-bindings.ts +301 -0
  329. package/src/resources/dls/regional-services/regional-services.ts +42 -0
  330. package/src/resources/dls/regional-services.ts +3 -0
  331. package/src/resources/dls/regions.ts +118 -0
  332. package/src/resources/dls.ts +3 -0
  333. package/src/resources/email-sending/email-sending.ts +2 -2
  334. package/src/resources/index.ts +1 -0
  335. package/src/resources/intel/sinkholes.ts +9 -9
  336. package/src/resources/logpush/datasets/fields.ts +3 -0
  337. package/src/resources/logpush/datasets/jobs.ts +3 -0
  338. package/src/resources/logpush/jobs.ts +2 -0
  339. package/src/resources/organizations/api.md +12 -0
  340. package/src/resources/organizations/billing/billing.ts +15 -0
  341. package/src/resources/organizations/billing/index.ts +4 -0
  342. package/src/resources/organizations/billing/usage.ts +270 -0
  343. package/src/resources/organizations/billing.ts +3 -0
  344. package/src/resources/organizations/index.ts +1 -0
  345. package/src/resources/organizations/organization-profile.ts +2 -2
  346. package/src/resources/organizations/organizations.ts +11 -5
  347. package/src/resources/r2/api.md +15 -0
  348. package/src/resources/r2/buckets/buckets.ts +27 -0
  349. package/src/resources/r2/buckets/index.ts +11 -0
  350. package/src/resources/r2/buckets/objects.ts +419 -0
  351. package/src/resources/radar/http/http.ts +72 -0
  352. package/src/resources/secrets-store/api.md +2 -0
  353. package/src/resources/secrets-store/index.ts +2 -0
  354. package/src/resources/secrets-store/secrets-store.ts +4 -0
  355. package/src/resources/secrets-store/stores/index.ts +2 -0
  356. package/src/resources/secrets-store/stores/stores.ts +61 -0
  357. package/src/resources/spectrum/apps.ts +36 -0
  358. package/src/resources/workers/api.md +14 -0
  359. package/src/resources/workers/beta/workers/workers.ts +36 -0
  360. package/src/resources/workers/observability/destinations.ts +5 -5
  361. package/src/resources/workers/observability/index.ts +8 -0
  362. package/src/resources/workers/observability/observability.ts +21 -0
  363. package/src/resources/workers/observability/queries.ts +825 -0
  364. package/src/resources/workers/observability/telemetry.ts +84 -36
  365. package/src/resources/workers/scripts/index.ts +2 -0
  366. package/src/resources/workers/scripts/script-and-version-settings.ts +27 -0
  367. package/src/resources/workers/scripts/scripts.ts +49 -0
  368. package/src/resources/workers/scripts/secrets.ts +180 -0
  369. package/src/resources/workers/scripts/settings.ts +9 -0
  370. package/src/resources/workers-for-platforms/api.md +2 -0
  371. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/index.ts +2 -0
  372. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.ts +22 -0
  373. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.ts +185 -0
  374. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.ts +27 -0
  375. package/src/resources/zero-trust/access/access.ts +29 -0
  376. package/src/resources/zero-trust/access/ai-controls/mcp/portals.ts +236 -0
  377. package/src/resources/zero-trust/access/ai-controls/mcp/servers.ts +246 -2
  378. package/src/resources/zero-trust/access/applications/policies.ts +38 -2
  379. package/src/resources/zero-trust/access/index.ts +11 -0
  380. package/src/resources/zero-trust/access/saml-certificates.ts +343 -0
  381. package/src/resources/zero-trust/api.md +25 -0
  382. package/src/resources/zero-trust/devices/posture/posture.ts +12 -0
  383. package/src/resources/zero-trust/identity-providers/identity-providers.ts +3045 -38
  384. package/src/resources/zero-trust/identity-providers/index.ts +5 -0
  385. package/src/resources/zero-trust/identity-providers/saml-certificate.ts +119 -0
  386. package/src/version.ts +1 -1
  387. package/version.d.ts +1 -1
  388. package/version.js +1 -1
  389. package/version.mjs +1 -1
@@ -2365,6 +2365,12 @@ export namespace InstanceSearchResponse {
2365
2365
  export interface InstanceStatsResponse {
2366
2366
  completed?: number;
2367
2367
 
2368
+ /**
2369
+ * True when status counts are unavailable (e.g. legacy stats query exceeded D1
2370
+ * statement-size limit). Counts are omitted in this case.
2371
+ */
2372
+ degraded?: boolean;
2373
+
2368
2374
  /**
2369
2375
  * Engine-specific metadata. Present only for managed (v3) instances.
2370
2376
  */
@@ -14,8 +14,10 @@ Methods:
14
14
 
15
15
  Types:
16
16
 
17
+ - <code><a href="./src/resources/billing/usage.ts">UsageGetResponse</a></code>
17
18
  - <code><a href="./src/resources/billing/usage.ts">UsagePaygoResponse</a></code>
18
19
 
19
20
  Methods:
20
21
 
21
- - <code title="get /accounts/{account_id}/billing/usage/paygo">client.billing.usage.<a href="./src/resources/billing/usage.ts">paygo</a>({ ...params }) -> UsagePaygoResponse</code>
22
+ - <code title="get /accounts/{account_id}/billable/usage">client.billing.usage.<a href="./src/resources/billing/usage.ts">get</a>({ ...params }) -> UsageGetResponse</code>
23
+ - <code title="get /accounts/{account_id}/paygo-usage">client.billing.usage.<a href="./src/resources/billing/usage.ts">paygo</a>({ ...params }) -> UsagePaygoResponse</code>
@@ -4,7 +4,7 @@ import { APIResource } from '../../resource';
4
4
  import * as ProfilesAPI from './profiles';
5
5
  import { ProfileGetParams, ProfileGetResponse, Profiles } from './profiles';
6
6
  import * as UsageAPI from './usage';
7
- import { Usage, UsagePaygoParams, UsagePaygoResponse } from './usage';
7
+ import { Usage, UsageGetParams, UsageGetResponse, UsagePaygoParams, UsagePaygoResponse } from './usage';
8
8
 
9
9
  export class Billing extends APIResource {
10
10
  profiles: ProfilesAPI.Profiles = new ProfilesAPI.Profiles(this._client);
@@ -23,7 +23,9 @@ export declare namespace Billing {
23
23
 
24
24
  export {
25
25
  Usage as Usage,
26
+ type UsageGetResponse as UsageGetResponse,
26
27
  type UsagePaygoResponse as UsagePaygoResponse,
28
+ type UsageGetParams as UsageGetParams,
27
29
  type UsagePaygoParams as UsagePaygoParams,
28
30
  };
29
31
  }
@@ -2,4 +2,10 @@
2
2
 
3
3
  export { Billing } from './billing';
4
4
  export { Profiles, type ProfileGetResponse, type ProfileGetParams } from './profiles';
5
- export { Usage, type UsagePaygoResponse, type UsagePaygoParams } from './usage';
5
+ export {
6
+ Usage,
7
+ type UsageGetResponse,
8
+ type UsagePaygoResponse,
9
+ type UsageGetParams,
10
+ type UsagePaygoParams,
11
+ } from './usage';
@@ -4,6 +4,30 @@ import { APIResource } from '../../resource';
4
4
  import * as Core from '../../core';
5
5
 
6
6
  export class Usage extends APIResource {
7
+ /**
8
+ * Returns cost and usage data for a single Cloudflare account, aligned with the
9
+ * [FinOps FOCUS v1.3](https://focus.finops.org/focus-specification/v1-3/) Cost and
10
+ * Usage dataset specification.
11
+ *
12
+ * Each record represents one billable metric for one account on one day. This
13
+ * includes all metered usage, including usage that falls within free-tier
14
+ * allowances and may result in zero cost.
15
+ *
16
+ * **Note:** Cost and pricing fields are not yet populated and will be absent from
17
+ * responses until billing integration is complete.
18
+ *
19
+ * When `from` and `to` are omitted, defaults to the start of the current month
20
+ * through today. The maximum date range is 31 days.
21
+ */
22
+ get(params: UsageGetParams, options?: Core.RequestOptions): Core.APIPromise<UsageGetResponse> {
23
+ const { account_id, ...query } = params;
24
+ return (
25
+ this._client.get(`/accounts/${account_id}/billable/usage`, { query, ...options }) as Core.APIPromise<{
26
+ result: UsageGetResponse;
27
+ }>
28
+ )._thenUnwrap((obj) => obj.result);
29
+ }
30
+
7
31
  /**
8
32
  * Returns billable usage data for PayGo (self-serve) accounts. When no query
9
33
  * parameters are provided, returns usage for the current billing period. This
@@ -13,14 +37,212 @@ export class Usage extends APIResource {
13
37
  paygo(params: UsagePaygoParams, options?: Core.RequestOptions): Core.APIPromise<UsagePaygoResponse> {
14
38
  const { account_id, ...query } = params;
15
39
  return (
16
- this._client.get(`/accounts/${account_id}/billing/usage/paygo`, {
17
- query,
18
- ...options,
19
- }) as Core.APIPromise<{ result: UsagePaygoResponse }>
40
+ this._client.get(`/accounts/${account_id}/paygo-usage`, { query, ...options }) as Core.APIPromise<{
41
+ result: UsagePaygoResponse;
42
+ }>
20
43
  )._thenUnwrap((obj) => obj.result);
21
44
  }
22
45
  }
23
46
 
47
+ /**
48
+ * Contains the array of cost and usage records.
49
+ */
50
+ export type UsageGetResponse = Array<UsageGetResponse.UsageGetResponseItem>;
51
+
52
+ export namespace UsageGetResponse {
53
+ /**
54
+ * A single cost and usage record for a metered product within a specific charge
55
+ * period, aligned with the FinOps FOCUS v1.3 specification.
56
+ */
57
+ export interface UsageGetResponseItem {
58
+ /**
59
+ * Public identifier of the Cloudflare account (account tag).
60
+ */
61
+ BillingAccountId: string;
62
+
63
+ /**
64
+ * Display name of the Cloudflare account.
65
+ */
66
+ BillingAccountName: string;
67
+
68
+ /**
69
+ * Highest-level classification of a charge based on the nature of how it gets
70
+ * billed. Currently only "Usage" is supported.
71
+ */
72
+ ChargeCategory: 'Usage';
73
+
74
+ /**
75
+ * Self-contained summary of the charge's purpose and price.
76
+ */
77
+ ChargeDescription: string;
78
+
79
+ /**
80
+ * Indicates how often a charge occurs. Currently only "Usage-Based" is supported.
81
+ */
82
+ ChargeFrequency: 'Usage-Based';
83
+
84
+ /**
85
+ * Exclusive end of the time interval during which the usage was consumed.
86
+ */
87
+ ChargePeriodEnd: string;
88
+
89
+ /**
90
+ * Inclusive start of the time interval during which the usage was consumed.
91
+ */
92
+ ChargePeriodStart: string;
93
+
94
+ /**
95
+ * Measured usage amount within the charge period. Reflects raw metered consumption
96
+ * before pricing transformations.
97
+ */
98
+ ConsumedQuantity: number;
99
+
100
+ /**
101
+ * Unit of measure for the consumed quantity (e.g., "GB", "Requests",
102
+ * "vCPU-Hours").
103
+ */
104
+ ConsumedUnit: string;
105
+
106
+ /**
107
+ * Name of the entity providing the underlying infrastructure or platform.
108
+ */
109
+ HostProviderName: string;
110
+
111
+ /**
112
+ * Name of the entity responsible for invoicing for the services consumed.
113
+ */
114
+ InvoiceIssuerName: string;
115
+
116
+ /**
117
+ * Name of the entity that made the services available for purchase.
118
+ */
119
+ ServiceProviderName: string;
120
+
121
+ /**
122
+ * The display name of the billable metric. Cloudflare extension; replaces FOCUS
123
+ * SkuMeter.
124
+ */
125
+ x_BillableMetricName: string;
126
+
127
+ /**
128
+ * A charge serving as the basis for invoicing, inclusive of all reduced rates and
129
+ * discounts while excluding the amortization of upfront charges (one-time or
130
+ * recurring).
131
+ */
132
+ BilledCost?: number | null;
133
+
134
+ /**
135
+ * Currency that a charge was billed in (ISO 4217).
136
+ */
137
+ BillingCurrency?: string | null;
138
+
139
+ /**
140
+ * Exclusive end of the billing cycle that contains this usage record.
141
+ */
142
+ BillingPeriodEnd?: string | null;
143
+
144
+ /**
145
+ * Inclusive start of the billing cycle that contains this usage record.
146
+ */
147
+ BillingPeriodStart?: string | null;
148
+
149
+ /**
150
+ * Indicates whether the row represents a correction to one or more charges
151
+ * invoiced in a previous billing period.
152
+ */
153
+ ChargeClass?: 'Correction' | null;
154
+
155
+ /**
156
+ * Cost calculated by multiplying ContractedUnitPrice and the corresponding
157
+ * PricingQuantity.
158
+ */
159
+ ContractedCost?: number | null;
160
+
161
+ /**
162
+ * The agreed-upon unit price for a single PricingUnit of the associated billable
163
+ * metric, inclusive of negotiated discounts, if present, while excluding any other
164
+ * discounts.
165
+ */
166
+ ContractedUnitPrice?: number | null;
167
+
168
+ /**
169
+ * The amortized cost of the charge after applying all reduced rates, discounts,
170
+ * and the applicable portion of relevant, prepaid purchases (one-time or
171
+ * recurring) that covered the charge.
172
+ */
173
+ EffectiveCost?: number | null;
174
+
175
+ /**
176
+ * Cost calculated by multiplying ListUnitPrice and the corresponding
177
+ * PricingQuantity.
178
+ */
179
+ ListCost?: number | null;
180
+
181
+ /**
182
+ * Suggested provider-published unit price for a single PricingUnit of the
183
+ * associated billable metric, exclusive of any discounts.
184
+ */
185
+ ListUnitPrice?: number | null;
186
+
187
+ /**
188
+ * Volume of a given service used or purchased, based on the PricingUnit.
189
+ */
190
+ PricingQuantity?: number | null;
191
+
192
+ /**
193
+ * Provider-specified measurement unit for determining unit prices, indicating how
194
+ * the provider rates measured usage after applying pricing rules like block
195
+ * pricing.
196
+ */
197
+ PricingUnit?: string | null;
198
+
199
+ /**
200
+ * Provider-assigned identifier for an isolated geographic area where a service is
201
+ * provided.
202
+ */
203
+ RegionId?: string | null;
204
+
205
+ /**
206
+ * Name of an isolated geographic area where a service is provided.
207
+ */
208
+ RegionName?: string | null;
209
+
210
+ /**
211
+ * Unique identifier assigned to a grouping of services. For Cloudflare, this is
212
+ * the subscription or contract ID.
213
+ */
214
+ SubAccountId?: string;
215
+
216
+ /**
217
+ * Name assigned to a grouping of services. For Cloudflare, this is the
218
+ * subscription or contract display name.
219
+ */
220
+ SubAccountName?: string;
221
+
222
+ /**
223
+ * The unique identifier for the billable metric in the Cloudflare catalog.
224
+ * Cloudflare extension; replaces FOCUS SkuId.
225
+ */
226
+ x_BillableMetricId?: string;
227
+
228
+ /**
229
+ * The product family the charge belongs to (e.g., "R2", "Workers"). Cloudflare
230
+ * extension; replaces FOCUS ServiceName.
231
+ */
232
+ x_ProductFamilyName?: string;
233
+
234
+ /**
235
+ * The identifier for the Cloudflare zone (zone tag). Cloudflare extension.
236
+ */
237
+ x_ZoneId?: string | null;
238
+
239
+ /**
240
+ * The display name of the Cloudflare zone. Cloudflare extension.
241
+ */
242
+ x_ZoneName?: string | null;
243
+ }
244
+ }
245
+
24
246
  /**
25
247
  * Contains the array of billable usage records.
26
248
  */
@@ -87,9 +309,43 @@ export namespace UsagePaygoResponse {
87
309
  * Identifies the Cloudflare service.
88
310
  */
89
311
  ServiceName: string;
312
+
313
+ /**
314
+ * Identifies the product family for the Cloudflare service.
315
+ */
316
+ ServiceFamilyName?: string;
90
317
  }
91
318
  }
92
319
 
320
+ export interface UsageGetParams {
321
+ /**
322
+ * Path param: Represents a Cloudflare resource identifier tag.
323
+ */
324
+ account_id: string;
325
+
326
+ /**
327
+ * Query param: Start date for the usage query (ISO 8601). Required if `to` is set.
328
+ * When omitted along with `to`, defaults to the start of the current month.
329
+ * Filters by charge period (when consumption happened), not billing period. The
330
+ * maximum date range is 31 days.
331
+ */
332
+ from?: string;
333
+
334
+ /**
335
+ * Query param: Filter results by billable metric id (e.g.,
336
+ * workers_standard_requests).
337
+ */
338
+ metric?: string;
339
+
340
+ /**
341
+ * Query param: End date for the usage query (ISO 8601). Required if `from` is set.
342
+ * When omitted along with `from`, defaults to today. Filters by charge period
343
+ * (when consumption happened), not billing period. The maximum date range is 31
344
+ * days.
345
+ */
346
+ to?: string;
347
+ }
348
+
93
349
  export interface UsagePaygoParams {
94
350
  /**
95
351
  * Path param: Represents a Cloudflare resource identifier tag.
@@ -97,16 +353,21 @@ export interface UsagePaygoParams {
97
353
  account_id: string;
98
354
 
99
355
  /**
100
- * Query param: Defines the start date for the usage query (e.g., 2025-02-01).
356
+ * Query param: Start date for the usage query (ISO 8601).
101
357
  */
102
358
  from?: string;
103
359
 
104
360
  /**
105
- * Query param: Defines the end date for the usage query (e.g., 2025-03-01).
361
+ * Query param: End date for the usage query (ISO 8601).
106
362
  */
107
363
  to?: string;
108
364
  }
109
365
 
110
366
  export declare namespace Usage {
111
- export { type UsagePaygoResponse as UsagePaygoResponse, type UsagePaygoParams as UsagePaygoParams };
367
+ export {
368
+ type UsageGetResponse as UsageGetResponse,
369
+ type UsagePaygoResponse as UsagePaygoResponse,
370
+ type UsageGetParams as UsageGetParams,
371
+ type UsagePaygoParams as UsagePaygoParams,
372
+ };
112
373
  }
@@ -32,6 +32,8 @@ export namespace CountryListResponse {
32
32
 
33
33
  export namespace CountryListResponseItem {
34
34
  export interface Result {
35
+ alpha2: string;
36
+
35
37
  alpha3: string;
36
38
 
37
39
  name: string;
@@ -21,8 +21,6 @@ export class CustomCertificates extends APIResource {
21
21
  * zone_id: '023e105f4ecef8ad9ca31a8372d0c353',
22
22
  * certificate:
23
23
  * '-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMHAwfXZ5/PWMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTYwODI0MTY0MzAxWhcNMTYxMTIyMTY0MzAxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmGdtcGbg/1\nCGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKnabIRuGvB\nKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpidtnKX/a+5\n0GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+pyFxIXjbEI\ndZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pEewooaeO2\nizNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABo4GnMIGkMB0GA1UdDgQWBBT/LbE4\n9rWf288N6sJA5BRb6FJIGDB1BgNVHSMEbjBsgBT/LbE49rWf288N6sJA5BRb6FJI\nGKFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMHAwfXZ5/PWMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHHFwl0tH0quUYZYO0dZYt4R7SJ0pCm2\n2satiyzHl4OnXcHDpekAo7/a09c6Lz6AU83cKy/+x3/djYHXWba7HpEu0dR3ugQP\nMlr4zrhd9xKZ0KZKiYmtJH+ak4OM4L3FbT0owUZPyjLSlhMtJVcoRp5CJsjAMBUG\nSvD8RX+T01wzox/Qb+lnnNnOlaWpqu8eoOenybxKp1a9ULzIVvN/LAcc+14vioFq\n2swRWtmocBAs8QR9n4uvbpiYvS8eYueDCWMM4fvFfBhaDZ3N9IbtySh3SpFdQDhw\nYbjM2rxXiyLGxB4Bol7QTv4zHif7Zt89FReT/NBy4rzaskDJY5L6xmY=\n-----END CERTIFICATE-----\n',
24
- * private_key:
25
- * '-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n',
26
24
  * });
27
25
  * ```
28
26
  */
@@ -291,11 +289,6 @@ export interface CustomCertificateCreateParams {
291
289
  */
292
290
  certificate: string;
293
291
 
294
- /**
295
- * Body param: The zone's private key.
296
- */
297
- private_key: string;
298
-
299
292
  /**
300
293
  * Body param: A ubiquitous bundle has the highest probability of being verified
301
294
  * everywhere, even by clients using outdated or unusual trust stores. An optimal
@@ -340,6 +333,13 @@ export interface CustomCertificateCreateParams {
340
333
  */
341
334
  policy?: string;
342
335
 
336
+ /**
337
+ * Body param: The zone's private key. Not required if custom_csr_id is provided,
338
+ * in which case the private key is retrieved from the CSR record held by
339
+ * Cloudflare.
340
+ */
341
+ private_key?: string;
342
+
343
343
  /**
344
344
  * Body param: The type 'legacy_custom' enables support for legacy clients which do
345
345
  * not include SNI in the TLS handshake.
@@ -427,7 +427,9 @@ export interface CustomCertificateEditParams {
427
427
  policy?: string;
428
428
 
429
429
  /**
430
- * Body param: The zone's private key.
430
+ * Body param: The zone's private key. Not required if custom_csr_id is provided,
431
+ * in which case the private key is retrieved from the CSR record held by
432
+ * Cloudflare.
431
433
  */
432
434
  private_key?: string;
433
435
  }
@@ -0,0 +1,33 @@
1
+ # DLS
2
+
3
+ ## Regions
4
+
5
+ Types:
6
+
7
+ - <code><a href="./src/resources/dls/regions.ts">RegionListResponse</a></code>
8
+ - <code><a href="./src/resources/dls/regions.ts">RegionGetResponse</a></code>
9
+
10
+ Methods:
11
+
12
+ - <code title="get /accounts/{account_id}/dls/regions">client.dls.regions.<a href="./src/resources/dls/regions.ts">list</a>({ ...params }) -> RegionListResponsesCursorPagination</code>
13
+ - <code title="get /accounts/{account_id}/dls/regions/{region_id}">client.dls.regions.<a href="./src/resources/dls/regions.ts">get</a>(regionId, { ...params }) -> RegionGetResponse</code>
14
+
15
+ ## RegionalServices
16
+
17
+ ### PrefixBindings
18
+
19
+ Types:
20
+
21
+ - <code><a href="./src/resources/dls/regional-services/prefix-bindings.ts">PrefixBindingCreateResponse</a></code>
22
+ - <code><a href="./src/resources/dls/regional-services/prefix-bindings.ts">PrefixBindingListResponse</a></code>
23
+ - <code><a href="./src/resources/dls/regional-services/prefix-bindings.ts">PrefixBindingDeleteResponse</a></code>
24
+ - <code><a href="./src/resources/dls/regional-services/prefix-bindings.ts">PrefixBindingEditResponse</a></code>
25
+ - <code><a href="./src/resources/dls/regional-services/prefix-bindings.ts">PrefixBindingGetResponse</a></code>
26
+
27
+ Methods:
28
+
29
+ - <code title="post /accounts/{account_id}/dls/regional_services/prefix_bindings">client.dls.regionalServices.prefixBindings.<a href="./src/resources/dls/regional-services/prefix-bindings.ts">create</a>({ ...params }) -> PrefixBindingCreateResponse</code>
30
+ - <code title="get /accounts/{account_id}/dls/regional_services/prefix_bindings">client.dls.regionalServices.prefixBindings.<a href="./src/resources/dls/regional-services/prefix-bindings.ts">list</a>({ ...params }) -> PrefixBindingListResponsesCursorPagination</code>
31
+ - <code title="delete /accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id}">client.dls.regionalServices.prefixBindings.<a href="./src/resources/dls/regional-services/prefix-bindings.ts">delete</a>(bindingId, { ...params }) -> PrefixBindingDeleteResponse</code>
32
+ - <code title="patch /accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id}">client.dls.regionalServices.prefixBindings.<a href="./src/resources/dls/regional-services/prefix-bindings.ts">edit</a>(bindingId, { ...params }) -> PrefixBindingEditResponse</code>
33
+ - <code title="get /accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id}">client.dls.regionalServices.prefixBindings.<a href="./src/resources/dls/regional-services/prefix-bindings.ts">get</a>(bindingId, { ...params }) -> PrefixBindingGetResponse</code>
@@ -0,0 +1,38 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../resource';
4
+ import * as RegionsAPI from './regions';
5
+ import {
6
+ RegionGetParams,
7
+ RegionGetResponse,
8
+ RegionListParams,
9
+ RegionListResponse,
10
+ RegionListResponsesCursorPagination,
11
+ Regions,
12
+ } from './regions';
13
+ import * as RegionalServicesAPI from './regional-services/regional-services';
14
+ import { RegionalServices } from './regional-services/regional-services';
15
+
16
+ export class DLS extends APIResource {
17
+ regions: RegionsAPI.Regions = new RegionsAPI.Regions(this._client);
18
+ regionalServices: RegionalServicesAPI.RegionalServices = new RegionalServicesAPI.RegionalServices(
19
+ this._client,
20
+ );
21
+ }
22
+
23
+ DLS.Regions = Regions;
24
+ DLS.RegionListResponsesCursorPagination = RegionListResponsesCursorPagination;
25
+ DLS.RegionalServices = RegionalServices;
26
+
27
+ export declare namespace DLS {
28
+ export {
29
+ Regions as Regions,
30
+ type RegionListResponse as RegionListResponse,
31
+ type RegionGetResponse as RegionGetResponse,
32
+ RegionListResponsesCursorPagination as RegionListResponsesCursorPagination,
33
+ type RegionListParams as RegionListParams,
34
+ type RegionGetParams as RegionGetParams,
35
+ };
36
+
37
+ export { RegionalServices as RegionalServices };
38
+ }
@@ -0,0 +1,12 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export { DLS } from './dls';
4
+ export {
5
+ RegionListResponsesCursorPagination,
6
+ Regions,
7
+ type RegionListResponse,
8
+ type RegionGetResponse,
9
+ type RegionListParams,
10
+ type RegionGetParams,
11
+ } from './regions';
12
+ export { RegionalServices } from './regional-services/index';
@@ -0,0 +1,17 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export {
4
+ PrefixBindingListResponsesCursorPagination,
5
+ PrefixBindings,
6
+ type PrefixBindingCreateResponse,
7
+ type PrefixBindingListResponse,
8
+ type PrefixBindingDeleteResponse,
9
+ type PrefixBindingEditResponse,
10
+ type PrefixBindingGetResponse,
11
+ type PrefixBindingCreateParams,
12
+ type PrefixBindingListParams,
13
+ type PrefixBindingDeleteParams,
14
+ type PrefixBindingEditParams,
15
+ type PrefixBindingGetParams,
16
+ } from './prefix-bindings';
17
+ export { RegionalServices } from './regional-services';