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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"billing.js","sourceRoot":"","sources":["../../../src/resources/organizations/billing/billing.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,mDAAgD;AAChD,qDAAoC;AACpC,sCAAkE;AAElE,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC3D,CAAC;CAAA;AAFD,0BAEC;AAED,OAAO,CAAC,KAAK,GAAG,aAAK,CAAC"}
@@ -0,0 +1,12 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../resource.mjs";
3
+ import * as UsageAPI from "./usage.mjs";
4
+ import { Usage } from "./usage.mjs";
5
+ export class Billing extends APIResource {
6
+ constructor() {
7
+ super(...arguments);
8
+ this.usage = new UsageAPI.Usage(this._client);
9
+ }
10
+ }
11
+ Billing.Usage = Usage;
12
+ //# sourceMappingURL=billing.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"billing.mjs","sourceRoot":"","sources":["../../../src/resources/organizations/billing/billing.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EAAE,KAAK,EAAoC;AAElD,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC3D,CAAC;CAAA;AAED,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Billing } from "./billing.js";
2
+ export { Usage, type UsageGetResponse, type UsageGetParams } from "./usage.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/organizations/billing/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Usage = exports.Billing = void 0;
5
+ var billing_1 = require("./billing.js");
6
+ Object.defineProperty(exports, "Billing", { enumerable: true, get: function () { return billing_1.Billing; } });
7
+ var usage_1 = require("./usage.js");
8
+ Object.defineProperty(exports, "Usage", { enumerable: true, get: function () { return usage_1.Usage; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/organizations/billing/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,oCAA4E;AAAnE,8FAAA,KAAK,OAAA"}
@@ -0,0 +1,4 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Billing } from "./billing.mjs";
3
+ export { Usage } from "./usage.mjs";
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/organizations/billing/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAE;OACX,EAAE,KAAK,EAA8C"}
@@ -0,0 +1,210 @@
1
+ import { APIResource } from "../../../resource.js";
2
+ import * as Core from "../../../core.js";
3
+ export declare class Usage extends APIResource {
4
+ /**
5
+ * Returns cost and usage data for all accounts within an organization, aligned
6
+ * with the [FinOps FOCUS v1.3](https://focus.finops.org/focus-specification/v1-3/)
7
+ * Cost and Usage dataset specification.
8
+ *
9
+ * Each record represents one billable metric for one account on one day. This
10
+ * includes all metered usage, including usage that falls within free-tier
11
+ * allowances and may result in zero cost. The response includes usage for every
12
+ * account belonging to the specified organization.
13
+ *
14
+ * **Note:** Cost and pricing fields are not yet populated and will be absent from
15
+ * responses until billing integration is complete.
16
+ *
17
+ * When `from` and `to` are omitted, defaults to the start of the current month
18
+ * through today. The maximum date range is 31 days.
19
+ */
20
+ get(organizationId: string, query?: UsageGetParams, options?: Core.RequestOptions): Core.APIPromise<UsageGetResponse>;
21
+ get(organizationId: string, options?: Core.RequestOptions): Core.APIPromise<UsageGetResponse>;
22
+ }
23
+ /**
24
+ * Contains the array of cost and usage records.
25
+ */
26
+ export type UsageGetResponse = Array<UsageGetResponse.UsageGetResponseItem>;
27
+ export declare namespace UsageGetResponse {
28
+ /**
29
+ * A single cost and usage record for a metered product within a specific charge
30
+ * period, aligned with the FinOps FOCUS v1.3 specification.
31
+ */
32
+ interface UsageGetResponseItem {
33
+ /**
34
+ * Public identifier of the Cloudflare account (account tag).
35
+ */
36
+ BillingAccountId: string;
37
+ /**
38
+ * Display name of the Cloudflare account.
39
+ */
40
+ BillingAccountName: string;
41
+ /**
42
+ * Highest-level classification of a charge based on the nature of how it gets
43
+ * billed. Currently only "Usage" is supported.
44
+ */
45
+ ChargeCategory: 'Usage';
46
+ /**
47
+ * Self-contained summary of the charge's purpose and price.
48
+ */
49
+ ChargeDescription: string;
50
+ /**
51
+ * Indicates how often a charge occurs. Currently only "Usage-Based" is supported.
52
+ */
53
+ ChargeFrequency: 'Usage-Based';
54
+ /**
55
+ * Exclusive end of the time interval during which the usage was consumed.
56
+ */
57
+ ChargePeriodEnd: string;
58
+ /**
59
+ * Inclusive start of the time interval during which the usage was consumed.
60
+ */
61
+ ChargePeriodStart: string;
62
+ /**
63
+ * Measured usage amount within the charge period. Reflects raw metered consumption
64
+ * before pricing transformations.
65
+ */
66
+ ConsumedQuantity: number;
67
+ /**
68
+ * Unit of measure for the consumed quantity (e.g., "GB", "Requests",
69
+ * "vCPU-Hours").
70
+ */
71
+ ConsumedUnit: string;
72
+ /**
73
+ * Name of the entity providing the underlying infrastructure or platform.
74
+ */
75
+ HostProviderName: string;
76
+ /**
77
+ * Name of the entity responsible for invoicing for the services consumed.
78
+ */
79
+ InvoiceIssuerName: string;
80
+ /**
81
+ * Name of the entity that made the services available for purchase.
82
+ */
83
+ ServiceProviderName: string;
84
+ /**
85
+ * The display name of the billable metric. Cloudflare extension; replaces FOCUS
86
+ * SkuMeter.
87
+ */
88
+ x_BillableMetricName: string;
89
+ /**
90
+ * A charge serving as the basis for invoicing, inclusive of all reduced rates and
91
+ * discounts while excluding the amortization of upfront charges (one-time or
92
+ * recurring).
93
+ */
94
+ BilledCost?: number | null;
95
+ /**
96
+ * Currency that a charge was billed in (ISO 4217).
97
+ */
98
+ BillingCurrency?: string | null;
99
+ /**
100
+ * Exclusive end of the billing cycle that contains this usage record.
101
+ */
102
+ BillingPeriodEnd?: string | null;
103
+ /**
104
+ * Inclusive start of the billing cycle that contains this usage record.
105
+ */
106
+ BillingPeriodStart?: string | null;
107
+ /**
108
+ * Indicates whether the row represents a correction to one or more charges
109
+ * invoiced in a previous billing period.
110
+ */
111
+ ChargeClass?: 'Correction' | null;
112
+ /**
113
+ * Cost calculated by multiplying ContractedUnitPrice and the corresponding
114
+ * PricingQuantity.
115
+ */
116
+ ContractedCost?: number | null;
117
+ /**
118
+ * The agreed-upon unit price for a single PricingUnit of the associated billable
119
+ * metric, inclusive of negotiated discounts, if present, while excluding any other
120
+ * discounts.
121
+ */
122
+ ContractedUnitPrice?: number | null;
123
+ /**
124
+ * The amortized cost of the charge after applying all reduced rates, discounts,
125
+ * and the applicable portion of relevant, prepaid purchases (one-time or
126
+ * recurring) that covered the charge.
127
+ */
128
+ EffectiveCost?: number | null;
129
+ /**
130
+ * Cost calculated by multiplying ListUnitPrice and the corresponding
131
+ * PricingQuantity.
132
+ */
133
+ ListCost?: number | null;
134
+ /**
135
+ * Suggested provider-published unit price for a single PricingUnit of the
136
+ * associated billable metric, exclusive of any discounts.
137
+ */
138
+ ListUnitPrice?: number | null;
139
+ /**
140
+ * Volume of a given service used or purchased, based on the PricingUnit.
141
+ */
142
+ PricingQuantity?: number | null;
143
+ /**
144
+ * Provider-specified measurement unit for determining unit prices, indicating how
145
+ * the provider rates measured usage after applying pricing rules like block
146
+ * pricing.
147
+ */
148
+ PricingUnit?: string | null;
149
+ /**
150
+ * Provider-assigned identifier for an isolated geographic area where a service is
151
+ * provided.
152
+ */
153
+ RegionId?: string | null;
154
+ /**
155
+ * Name of an isolated geographic area where a service is provided.
156
+ */
157
+ RegionName?: string | null;
158
+ /**
159
+ * Unique identifier assigned to a grouping of services. For Cloudflare, this is
160
+ * the subscription or contract ID.
161
+ */
162
+ SubAccountId?: string;
163
+ /**
164
+ * Name assigned to a grouping of services. For Cloudflare, this is the
165
+ * subscription or contract display name.
166
+ */
167
+ SubAccountName?: string;
168
+ /**
169
+ * The unique identifier for the billable metric in the Cloudflare catalog.
170
+ * Cloudflare extension; replaces FOCUS SkuId.
171
+ */
172
+ x_BillableMetricId?: string;
173
+ /**
174
+ * The product family the charge belongs to (e.g., "R2", "Workers"). Cloudflare
175
+ * extension; replaces FOCUS ServiceName.
176
+ */
177
+ x_ProductFamilyName?: string;
178
+ /**
179
+ * The identifier for the Cloudflare zone (zone tag). Cloudflare extension.
180
+ */
181
+ x_ZoneId?: string | null;
182
+ /**
183
+ * The display name of the Cloudflare zone. Cloudflare extension.
184
+ */
185
+ x_ZoneName?: string | null;
186
+ }
187
+ }
188
+ export interface UsageGetParams {
189
+ /**
190
+ * Start date for the usage query (ISO 8601). Required if `to` is set. When omitted
191
+ * along with `to`, defaults to the start of the current month. Filters by charge
192
+ * period (when consumption happened), not billing period. The maximum date range
193
+ * is 31 days.
194
+ */
195
+ from?: string;
196
+ /**
197
+ * Filter results by billable metric id (e.g., workers_standard_requests).
198
+ */
199
+ metric?: string;
200
+ /**
201
+ * End date for the usage query (ISO 8601). Required if `from` is set. When omitted
202
+ * along with `from`, defaults to today. Filters by charge period (when consumption
203
+ * happened), not billing period. The maximum date range is 31 days.
204
+ */
205
+ to?: string;
206
+ }
207
+ export declare namespace Usage {
208
+ export { type UsageGetResponse as UsageGetResponse, type UsageGetParams as UsageGetParams };
209
+ }
210
+ //# sourceMappingURL=usage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage.d.ts","sourceRoot":"","sources":["../../../src/resources/organizations/billing/usage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AAEtC,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;;OAeG;IACH,GAAG,CACD,cAAc,EAAE,MAAM,EACtB,KAAK,CAAC,EAAE,cAAc,EACtB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC;IACpC,GAAG,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC;CAgB9F;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AAE5E,yBAAiB,gBAAgB,CAAC;IAChC;;;OAGG;IACH,UAAiB,oBAAoB;QACnC;;WAEG;QACH,gBAAgB,EAAE,MAAM,CAAC;QAEzB;;WAEG;QACH,kBAAkB,EAAE,MAAM,CAAC;QAE3B;;;WAGG;QACH,cAAc,EAAE,OAAO,CAAC;QAExB;;WAEG;QACH,iBAAiB,EAAE,MAAM,CAAC;QAE1B;;WAEG;QACH,eAAe,EAAE,aAAa,CAAC;QAE/B;;WAEG;QACH,eAAe,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,iBAAiB,EAAE,MAAM,CAAC;QAE1B;;;WAGG;QACH,gBAAgB,EAAE,MAAM,CAAC;QAEzB;;;WAGG;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AE,MAAM,CAAC;QAE5B;;;WAGG;QACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAE7B;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAEzB;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC5B;CACF;AAED,MAAM,WAAW,cAAc;IAC7B;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,KAAK,cAAc,IAAI,cAAc,EAAE,CAAC;CAC7F"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Usage = void 0;
5
+ const resource_1 = require("../../../resource.js");
6
+ const core_1 = require("../../../core.js");
7
+ class Usage extends resource_1.APIResource {
8
+ get(organizationId, query = {}, options) {
9
+ if ((0, core_1.isRequestOptions)(query)) {
10
+ return this.get(organizationId, {}, query);
11
+ }
12
+ return this._client.get(`/organizations/${organizationId}/billable/usage`, {
13
+ query,
14
+ ...options,
15
+ })._thenUnwrap((obj) => obj.result);
16
+ }
17
+ }
18
+ exports.Usage = Usage;
19
+ //# sourceMappingURL=usage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage.js","sourceRoot":"","sources":["../../../src/resources/organizations/billing/usage.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mDAAgD;AAChD,2CAAiD;AAGjD,MAAa,KAAM,SAAQ,sBAAW;IAuBpC,GAAG,CACD,cAAsB,EACtB,QAA8C,EAAE,EAChD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;SAC5C;QACD,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,cAAc,iBAAiB,EAAE;YAClE,KAAK;YACL,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACF;AAtCD,sBAsCC"}
@@ -0,0 +1,15 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../resource.mjs";
3
+ import { isRequestOptions } from "../../../core.mjs";
4
+ export class Usage extends APIResource {
5
+ get(organizationId, query = {}, options) {
6
+ if (isRequestOptions(query)) {
7
+ return this.get(organizationId, {}, query);
8
+ }
9
+ return this._client.get(`/organizations/${organizationId}/billable/usage`, {
10
+ query,
11
+ ...options,
12
+ })._thenUnwrap((obj) => obj.result);
13
+ }
14
+ }
15
+ //# sourceMappingURL=usage.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage.mjs","sourceRoot":"","sources":["../../../src/resources/organizations/billing/usage.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;AAG3B,MAAM,OAAO,KAAM,SAAQ,WAAW;IAuBpC,GAAG,CACD,cAAsB,EACtB,QAA8C,EAAE,EAChD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;SAC5C;QACD,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,cAAc,iBAAiB,EAAE;YAClE,KAAK;YACL,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACF"}
@@ -0,0 +1,2 @@
1
+ export * from "./billing/index.js";
2
+ //# sourceMappingURL=billing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"billing.d.ts","sourceRoot":"","sources":["../../src/resources/organizations/billing.ts"],"names":[],"mappings":"AAEA,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ __exportStar(require("./billing/index.js"), exports);
19
+ //# sourceMappingURL=billing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"billing.js","sourceRoot":"","sources":["../../src/resources/organizations/billing.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;AAEtF,qDAAgC"}
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export * from "./billing/index.mjs";
3
+ //# sourceMappingURL=billing.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"billing.mjs","sourceRoot":"","sources":["../../src/resources/organizations/billing.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
@@ -1,3 +1,4 @@
1
+ export { Billing } from "./billing/index.js";
1
2
  export { Logs } from "./logs/index.js";
2
3
  export { OrganizationProfileResource, type OrganizationProfile, type OrganizationProfileUpdateParams, } from "./organization-profile.js";
3
4
  export { Organizations } from "./organizations.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EACL,2BAA2B,EAC3B,KAAK,mBAAmB,EACxB,KAAK,+BAA+B,GACrC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EACL,2BAA2B,EAC3B,KAAK,mBAAmB,EACxB,KAAK,+BAA+B,GACrC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,9 +1,11 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Organizations = exports.OrganizationProfileResource = exports.Logs = void 0;
5
- var index_1 = require("./logs/index.js");
6
- Object.defineProperty(exports, "Logs", { enumerable: true, get: function () { return index_1.Logs; } });
4
+ exports.Organizations = exports.OrganizationProfileResource = exports.Logs = exports.Billing = void 0;
5
+ var index_1 = require("./billing/index.js");
6
+ Object.defineProperty(exports, "Billing", { enumerable: true, get: function () { return index_1.Billing; } });
7
+ var index_2 = require("./logs/index.js");
8
+ Object.defineProperty(exports, "Logs", { enumerable: true, get: function () { return index_2.Logs; } });
7
9
  var organization_profile_1 = require("./organization-profile.js");
8
10
  Object.defineProperty(exports, "OrganizationProfileResource", { enumerable: true, get: function () { return organization_profile_1.OrganizationProfileResource; } });
9
11
  var organizations_1 = require("./organizations.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,yCAAoC;AAA3B,6FAAA,IAAI,OAAA;AACb,kEAIgC;AAH9B,mIAAA,2BAA2B,OAAA;AAI7B,oDAAgD;AAAvC,8GAAA,aAAa,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAA0C;AAAjC,gGAAA,OAAO,OAAA;AAChB,yCAAoC;AAA3B,6FAAA,IAAI,OAAA;AACb,kEAIgC;AAH9B,mIAAA,2BAA2B,OAAA;AAI7B,oDAAgD;AAAvC,8GAAA,aAAa,OAAA"}
@@ -1,4 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Billing } from "./billing/index.mjs";
2
3
  export { Logs } from "./logs/index.mjs";
3
4
  export { OrganizationProfileResource, } from "./organization-profile.mjs";
4
5
  export { Organizations } from "./organizations.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,IAAI,EAAE;OACR,EACL,2BAA2B,GAG5B;OACM,EAAE,aAAa,EAAE"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAE;OACX,EAAE,IAAI,EAAE;OACR,EACL,2BAA2B,GAG5B;OACM,EAAE,aAAa,EAAE"}
@@ -2,12 +2,12 @@ import { APIResource } from "../../resource.js";
2
2
  import * as Core from "../../core.js";
3
3
  export declare class OrganizationProfileResource extends APIResource {
4
4
  /**
5
- * Modify organization profile. (Currently in Closed Beta - see
5
+ * Modify organization profile. (Currently in Public Beta - see
6
6
  * https://developers.cloudflare.com/fundamentals/organizations/)
7
7
  */
8
8
  update(organizationId: string, body: OrganizationProfileUpdateParams, options?: Core.RequestOptions): Core.APIPromise<void>;
9
9
  /**
10
- * Get an organizations profile if it exists. (Currently in Closed Beta - see
10
+ * Get an organizations profile if it exists. (Currently in Public Beta - see
11
11
  * https://developers.cloudflare.com/fundamentals/organizations/)
12
12
  */
13
13
  get(organizationId: string, options?: Core.RequestOptions): Core.APIPromise<OrganizationProfile>;
@@ -5,7 +5,7 @@ exports.OrganizationProfileResource = void 0;
5
5
  const resource_1 = require("../../resource.js");
6
6
  class OrganizationProfileResource extends resource_1.APIResource {
7
7
  /**
8
- * Modify organization profile. (Currently in Closed Beta - see
8
+ * Modify organization profile. (Currently in Public Beta - see
9
9
  * https://developers.cloudflare.com/fundamentals/organizations/)
10
10
  */
11
11
  update(organizationId, body, options) {
@@ -16,7 +16,7 @@ class OrganizationProfileResource extends resource_1.APIResource {
16
16
  });
17
17
  }
18
18
  /**
19
- * Get an organizations profile if it exists. (Currently in Closed Beta - see
19
+ * Get an organizations profile if it exists. (Currently in Public Beta - see
20
20
  * https://developers.cloudflare.com/fundamentals/organizations/)
21
21
  */
22
22
  get(organizationId, options) {
@@ -2,7 +2,7 @@
2
2
  import { APIResource } from "../../resource.mjs";
3
3
  export class OrganizationProfileResource extends APIResource {
4
4
  /**
5
- * Modify organization profile. (Currently in Closed Beta - see
5
+ * Modify organization profile. (Currently in Public Beta - see
6
6
  * https://developers.cloudflare.com/fundamentals/organizations/)
7
7
  */
8
8
  update(organizationId, body, options) {
@@ -13,7 +13,7 @@ export class OrganizationProfileResource extends APIResource {
13
13
  });
14
14
  }
15
15
  /**
16
- * Get an organizations profile if it exists. (Currently in Closed Beta - see
16
+ * Get an organizations profile if it exists. (Currently in Public Beta - see
17
17
  * https://developers.cloudflare.com/fundamentals/organizations/)
18
18
  */
19
19
  get(organizationId, options) {
@@ -2,36 +2,39 @@ import { APIResource } from "../../resource.js";
2
2
  import * as Core from "../../core.js";
3
3
  import * as OrganizationProfileAPI from "./organization-profile.js";
4
4
  import { OrganizationProfile, OrganizationProfileResource, OrganizationProfileUpdateParams } from "./organization-profile.js";
5
+ import * as BillingAPI from "./billing/billing.js";
6
+ import { Billing } from "./billing/billing.js";
5
7
  import * as LogsAPI from "./logs/logs.js";
6
8
  import { Logs } from "./logs/logs.js";
7
9
  import { SinglePage } from "../../pagination.js";
8
10
  export declare class Organizations extends APIResource {
9
11
  organizationProfile: OrganizationProfileAPI.OrganizationProfileResource;
10
12
  logs: LogsAPI.Logs;
13
+ billing: BillingAPI.Billing;
11
14
  /**
12
- * Create a new organization for a user. (Currently in Closed Beta - see
15
+ * Create a new organization for a user. (Currently in Public Beta - see
13
16
  * https://developers.cloudflare.com/fundamentals/organizations/)
14
17
  */
15
18
  create(body: OrganizationCreateParams, options?: Core.RequestOptions): Core.APIPromise<Organization>;
16
19
  /**
17
- * Modify organization. (Currently in Closed Beta - see
20
+ * Modify organization. (Currently in Public Beta - see
18
21
  * https://developers.cloudflare.com/fundamentals/organizations/)
19
22
  */
20
23
  update(organizationId: string, body: OrganizationUpdateParams, options?: Core.RequestOptions): Core.APIPromise<Organization>;
21
24
  /**
22
25
  * Retrieve a list of organizations a particular user has access to. (Currently in
23
- * Closed Beta - see https://developers.cloudflare.com/fundamentals/organizations/)
26
+ * Public Beta - see https://developers.cloudflare.com/fundamentals/organizations/)
24
27
  */
25
28
  list(query?: OrganizationListParams, options?: Core.RequestOptions): Core.PagePromise<OrganizationsSinglePage, Organization>;
26
29
  list(options?: Core.RequestOptions): Core.PagePromise<OrganizationsSinglePage, Organization>;
27
30
  /**
28
31
  * Delete an organization. The organization MUST be empty before deleting. It must
29
32
  * not contain any sub-organizations, accounts, members or users. (Currently in
30
- * Closed Beta - see https://developers.cloudflare.com/fundamentals/organizations/)
33
+ * Public Beta - see https://developers.cloudflare.com/fundamentals/organizations/)
31
34
  */
32
35
  delete(organizationId: string, options?: Core.RequestOptions): Core.APIPromise<OrganizationDeleteResponse>;
33
36
  /**
34
- * Retrieve the details of a certain organization. (Currently in Closed Beta - see
37
+ * Retrieve the details of a certain organization. (Currently in Public Beta - see
35
38
  * https://developers.cloudflare.com/fundamentals/organizations/)
36
39
  */
37
40
  get(organizationId: string, options?: Core.RequestOptions): Core.APIPromise<Organization>;
@@ -195,5 +198,6 @@ export declare namespace Organizations {
195
198
  export { type Organization as Organization, type OrganizationDeleteResponse as OrganizationDeleteResponse, OrganizationsSinglePage as OrganizationsSinglePage, type OrganizationCreateParams as OrganizationCreateParams, type OrganizationUpdateParams as OrganizationUpdateParams, type OrganizationListParams as OrganizationListParams, };
196
199
  export { OrganizationProfileResource as OrganizationProfileResource, type OrganizationProfile as OrganizationProfile, type OrganizationProfileUpdateParams as OrganizationProfileUpdateParams, };
197
200
  export { Logs as Logs };
201
+ export { Billing as Billing };
198
202
  }
199
203
  //# sourceMappingURL=organizations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,sBAAsB,MAAM,wBAAwB,CAAC;AACjE,OAAO,EACL,mBAAmB,EACnB,2BAA2B,EAC3B,+BAA+B,EAChC,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,OAAO,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,qBAAa,aAAc,SAAQ,WAAW;IAC5C,mBAAmB,EAAE,sBAAsB,CAAC,2BAA2B,CACA;IACvE,IAAI,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AM,CAAC;KAC7B;CACF;AAMD,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,uBAAuB,IAAI,uBAAuB,EAClD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;IAEF,OAAO,EACL,2BAA2B,IAAI,2BAA2B,EAC1D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;IAEF,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC;CACzB"}
1
+ {"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,sBAAsB,MAAM,wBAAwB,CAAC;AACjE,OAAO,EACL,mBAAmB,EACnB,2BAA2B,EAC3B,+BAA+B,EAChC,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,qBAAa,aAAc,SAAQ,WAAW;IAC5C,mBAAmB,EAAE,sBAAsB,CAAC,2BAA2B,CACA;IACvE,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IACpD,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAA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AAY,IAAI,YAAY,EACjC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,uBAAuB,IAAI,uBAAuB,EAClD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;IAEF,OAAO,EACL,2BAA2B,IAAI,2BAA2B,EAC1D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;IAEF,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC;IAExB,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC;CAC/B"}
@@ -29,6 +29,8 @@ const resource_1 = require("../../resource.js");
29
29
  const core_1 = require("../../core.js");
30
30
  const OrganizationProfileAPI = __importStar(require("./organization-profile.js"));
31
31
  const organization_profile_1 = require("./organization-profile.js");
32
+ const BillingAPI = __importStar(require("./billing/billing.js"));
33
+ const billing_1 = require("./billing/billing.js");
32
34
  const LogsAPI = __importStar(require("./logs/logs.js"));
33
35
  const logs_1 = require("./logs/logs.js");
34
36
  const pagination_1 = require("../../pagination.js");
@@ -37,16 +39,17 @@ class Organizations extends resource_1.APIResource {
37
39
  super(...arguments);
38
40
  this.organizationProfile = new OrganizationProfileAPI.OrganizationProfileResource(this._client);
39
41
  this.logs = new LogsAPI.Logs(this._client);
42
+ this.billing = new BillingAPI.Billing(this._client);
40
43
  }
41
44
  /**
42
- * Create a new organization for a user. (Currently in Closed Beta - see
45
+ * Create a new organization for a user. (Currently in Public Beta - see
43
46
  * https://developers.cloudflare.com/fundamentals/organizations/)
44
47
  */
45
48
  create(body, options) {
46
49
  return this._client.post('/organizations', { body, ...options })._thenUnwrap((obj) => obj.result);
47
50
  }
48
51
  /**
49
- * Modify organization. (Currently in Closed Beta - see
52
+ * Modify organization. (Currently in Public Beta - see
50
53
  * https://developers.cloudflare.com/fundamentals/organizations/)
51
54
  */
52
55
  update(organizationId, body, options) {
@@ -61,13 +64,13 @@ class Organizations extends resource_1.APIResource {
61
64
  /**
62
65
  * Delete an organization. The organization MUST be empty before deleting. It must
63
66
  * not contain any sub-organizations, accounts, members or users. (Currently in
64
- * Closed Beta - see https://developers.cloudflare.com/fundamentals/organizations/)
67
+ * Public Beta - see https://developers.cloudflare.com/fundamentals/organizations/)
65
68
  */
66
69
  delete(organizationId, options) {
67
70
  return this._client.delete(`/organizations/${organizationId}`, options)._thenUnwrap((obj) => obj.result);
68
71
  }
69
72
  /**
70
- * Retrieve the details of a certain organization. (Currently in Closed Beta - see
73
+ * Retrieve the details of a certain organization. (Currently in Public Beta - see
71
74
  * https://developers.cloudflare.com/fundamentals/organizations/)
72
75
  */
73
76
  get(organizationId, options) {
@@ -81,4 +84,5 @@ exports.OrganizationsSinglePage = OrganizationsSinglePage;
81
84
  Organizations.OrganizationsSinglePage = OrganizationsSinglePage;
82
85
  Organizations.OrganizationProfileResource = organization_profile_1.OrganizationProfileResource;
83
86
  Organizations.Logs = logs_1.Logs;
87
+ Organizations.Billing = billing_1.Billing;
84
88
  //# sourceMappingURL=organizations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"organizations.js","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAE9C,kFAAiE;AACjE,oEAIgC;AAChC,wDAAuC;AACvC,yCAAmC;AACnC,oDAA8C;AAE9C,MAAa,aAAc,SAAQ,sBAAW;IAA9C;;QACE,wBAAmB,GACjB,IAAI,sBAAsB,CAAC,2BAA2B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAuEtD,CAAC;IArEC;;;OAGG;IACH,MAAM,CAAC,IAA8B,EAAE,OAA6B;QAClE,OACE,IAAI,CAAC,O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AAa,uBAAwB,SAAQ,uBAAwB;CAAG;AAAxE,0DAAwE;AAgNxE,aAAa,CAAC,uBAAuB,GAAG,uBAAuB,CAAC;AAChE,aAAa,CAAC,2BAA2B,GAAG,kDAA2B,CAAC;AACxE,aAAa,CAAC,IAAI,GAAG,WAAI,CAAC"}
1
+ {"version":3,"file":"organizations.js","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAE9C,kFAAiE;AACjE,oEAIgC;AAChC,iEAAgD;AAChD,kDAA4C;AAC5C,wDAAuC;AACvC,yCAAmC;AACnC,oDAA8C;AAE9C,MAAa,aAAc,SAAQ,sBAAW;IAA9C;;QACE,wBAAmB,GACjB,IAAI,sBAAsB,CAAC,2BAA2B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAuErE,CAAC;IArEC;;;OAGG;IACH,MAAM,CAAC,IAA8B,EAAE,OAA6B;QAClE,OACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CACzD,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,cAAsB,EACtB,IAA8B,EAC9B,OAA6B;QAE7B,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,cAAc,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAG1E,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC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