@distilled.cloud/cloudflare 0.2.0-alpha → 0.2.4

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 (516) hide show
  1. package/README.md +49 -0
  2. package/lib/client/api.d.ts.map +1 -1
  3. package/lib/client/api.js +51 -3
  4. package/lib/client/api.js.map +1 -1
  5. package/lib/errors.d.ts +1 -12
  6. package/lib/errors.d.ts.map +1 -1
  7. package/lib/errors.js +1 -8
  8. package/lib/errors.js.map +1 -1
  9. package/lib/services/abuse-reports.d.ts +2 -2
  10. package/lib/services/abuse-reports.d.ts.map +1 -1
  11. package/lib/services/abuse-reports.js +2 -2
  12. package/lib/services/abuse-reports.js.map +1 -1
  13. package/lib/services/accounts.d.ts +2 -2
  14. package/lib/services/accounts.d.ts.map +1 -1
  15. package/lib/services/accounts.js +2 -2
  16. package/lib/services/accounts.js.map +1 -1
  17. package/lib/services/acm.d.ts +2 -2
  18. package/lib/services/acm.d.ts.map +1 -1
  19. package/lib/services/acm.js +2 -2
  20. package/lib/services/acm.js.map +1 -1
  21. package/lib/services/addressing.d.ts +2 -2
  22. package/lib/services/addressing.d.ts.map +1 -1
  23. package/lib/services/addressing.js +2 -2
  24. package/lib/services/addressing.js.map +1 -1
  25. package/lib/services/ai-gateway.d.ts +2 -2
  26. package/lib/services/ai-gateway.d.ts.map +1 -1
  27. package/lib/services/ai-gateway.js +2 -2
  28. package/lib/services/ai-gateway.js.map +1 -1
  29. package/lib/services/ai.d.ts +2 -2
  30. package/lib/services/ai.d.ts.map +1 -1
  31. package/lib/services/ai.js +3 -3
  32. package/lib/services/ai.js.map +1 -1
  33. package/lib/services/aisearch.d.ts +2 -2
  34. package/lib/services/aisearch.d.ts.map +1 -1
  35. package/lib/services/aisearch.js +2 -2
  36. package/lib/services/aisearch.js.map +1 -1
  37. package/lib/services/alerting.d.ts +2 -2
  38. package/lib/services/alerting.d.ts.map +1 -1
  39. package/lib/services/alerting.js +2 -2
  40. package/lib/services/alerting.js.map +1 -1
  41. package/lib/services/api-gateway.d.ts +2 -2
  42. package/lib/services/api-gateway.d.ts.map +1 -1
  43. package/lib/services/api-gateway.js +4 -4
  44. package/lib/services/api-gateway.js.map +1 -1
  45. package/lib/services/argo.d.ts +2 -2
  46. package/lib/services/argo.d.ts.map +1 -1
  47. package/lib/services/argo.js +2 -2
  48. package/lib/services/argo.js.map +1 -1
  49. package/lib/services/audit-logs.d.ts +2 -2
  50. package/lib/services/audit-logs.d.ts.map +1 -1
  51. package/lib/services/audit-logs.js +2 -2
  52. package/lib/services/audit-logs.js.map +1 -1
  53. package/lib/services/billing.d.ts +2 -2
  54. package/lib/services/billing.d.ts.map +1 -1
  55. package/lib/services/billing.js +2 -2
  56. package/lib/services/billing.js.map +1 -1
  57. package/lib/services/bot-management.d.ts +2 -2
  58. package/lib/services/bot-management.d.ts.map +1 -1
  59. package/lib/services/bot-management.js +2 -2
  60. package/lib/services/bot-management.js.map +1 -1
  61. package/lib/services/botnet-feed.d.ts +2 -2
  62. package/lib/services/botnet-feed.d.ts.map +1 -1
  63. package/lib/services/botnet-feed.js +2 -2
  64. package/lib/services/botnet-feed.js.map +1 -1
  65. package/lib/services/brand-protection.d.ts +2 -2
  66. package/lib/services/brand-protection.d.ts.map +1 -1
  67. package/lib/services/brand-protection.js +3 -3
  68. package/lib/services/brand-protection.js.map +1 -1
  69. package/lib/services/browser-rendering.d.ts +2 -2
  70. package/lib/services/browser-rendering.d.ts.map +1 -1
  71. package/lib/services/browser-rendering.js +2 -2
  72. package/lib/services/browser-rendering.js.map +1 -1
  73. package/lib/services/cache.d.ts +2 -2
  74. package/lib/services/cache.d.ts.map +1 -1
  75. package/lib/services/cache.js +2 -2
  76. package/lib/services/cache.js.map +1 -1
  77. package/lib/services/calls.d.ts +2 -2
  78. package/lib/services/calls.d.ts.map +1 -1
  79. package/lib/services/calls.js +2 -2
  80. package/lib/services/calls.js.map +1 -1
  81. package/lib/services/certificate-authorities.d.ts +2 -2
  82. package/lib/services/certificate-authorities.d.ts.map +1 -1
  83. package/lib/services/certificate-authorities.js +2 -2
  84. package/lib/services/certificate-authorities.js.map +1 -1
  85. package/lib/services/client-certificates.d.ts +2 -2
  86. package/lib/services/client-certificates.d.ts.map +1 -1
  87. package/lib/services/client-certificates.js +2 -2
  88. package/lib/services/client-certificates.js.map +1 -1
  89. package/lib/services/cloud-connector.d.ts +2 -2
  90. package/lib/services/cloud-connector.d.ts.map +1 -1
  91. package/lib/services/cloud-connector.js +2 -2
  92. package/lib/services/cloud-connector.js.map +1 -1
  93. package/lib/services/cloudforce-one.d.ts +2 -2
  94. package/lib/services/cloudforce-one.d.ts.map +1 -1
  95. package/lib/services/cloudforce-one.js +3 -3
  96. package/lib/services/cloudforce-one.js.map +1 -1
  97. package/lib/services/connectivity.d.ts +2 -2
  98. package/lib/services/connectivity.d.ts.map +1 -1
  99. package/lib/services/connectivity.js +2 -2
  100. package/lib/services/connectivity.js.map +1 -1
  101. package/lib/services/content-scanning.d.ts +2 -2
  102. package/lib/services/content-scanning.d.ts.map +1 -1
  103. package/lib/services/content-scanning.js +2 -2
  104. package/lib/services/content-scanning.js.map +1 -1
  105. package/lib/services/custom-certificates.d.ts +2 -2
  106. package/lib/services/custom-certificates.d.ts.map +1 -1
  107. package/lib/services/custom-certificates.js +2 -2
  108. package/lib/services/custom-certificates.js.map +1 -1
  109. package/lib/services/custom-hostnames.d.ts +2 -2
  110. package/lib/services/custom-hostnames.d.ts.map +1 -1
  111. package/lib/services/custom-hostnames.js +2 -2
  112. package/lib/services/custom-hostnames.js.map +1 -1
  113. package/lib/services/custom-nameservers.d.ts +2 -2
  114. package/lib/services/custom-nameservers.d.ts.map +1 -1
  115. package/lib/services/custom-nameservers.js +2 -2
  116. package/lib/services/custom-nameservers.js.map +1 -1
  117. package/lib/services/custom-pages.d.ts +2 -2
  118. package/lib/services/custom-pages.d.ts.map +1 -1
  119. package/lib/services/custom-pages.js +2 -2
  120. package/lib/services/custom-pages.js.map +1 -1
  121. package/lib/services/d1.d.ts +2 -2
  122. package/lib/services/d1.d.ts.map +1 -1
  123. package/lib/services/d1.js +2 -2
  124. package/lib/services/d1.js.map +1 -1
  125. package/lib/services/dcv-delegation.d.ts +2 -2
  126. package/lib/services/dcv-delegation.d.ts.map +1 -1
  127. package/lib/services/dcv-delegation.js +2 -2
  128. package/lib/services/dcv-delegation.js.map +1 -1
  129. package/lib/services/diagnostics.d.ts +2 -2
  130. package/lib/services/diagnostics.d.ts.map +1 -1
  131. package/lib/services/diagnostics.js +2 -2
  132. package/lib/services/diagnostics.js.map +1 -1
  133. package/lib/services/dns-firewall.d.ts +2 -2
  134. package/lib/services/dns-firewall.d.ts.map +1 -1
  135. package/lib/services/dns-firewall.js +2 -2
  136. package/lib/services/dns-firewall.js.map +1 -1
  137. package/lib/services/dns.d.ts +2 -2
  138. package/lib/services/dns.d.ts.map +1 -1
  139. package/lib/services/dns.js +2 -2
  140. package/lib/services/dns.js.map +1 -1
  141. package/lib/services/durable-objects.d.ts +2 -2
  142. package/lib/services/durable-objects.d.ts.map +1 -1
  143. package/lib/services/durable-objects.js +2 -2
  144. package/lib/services/durable-objects.js.map +1 -1
  145. package/lib/services/email-routing.d.ts +2 -2
  146. package/lib/services/email-routing.d.ts.map +1 -1
  147. package/lib/services/email-routing.js +2 -2
  148. package/lib/services/email-routing.js.map +1 -1
  149. package/lib/services/email-security.d.ts +2 -2
  150. package/lib/services/email-security.d.ts.map +1 -1
  151. package/lib/services/email-security.js +2 -2
  152. package/lib/services/email-security.js.map +1 -1
  153. package/lib/services/filters.d.ts +2 -2
  154. package/lib/services/filters.d.ts.map +1 -1
  155. package/lib/services/filters.js +2 -2
  156. package/lib/services/filters.js.map +1 -1
  157. package/lib/services/firewall.d.ts +2 -2
  158. package/lib/services/firewall.d.ts.map +1 -1
  159. package/lib/services/firewall.js +2 -2
  160. package/lib/services/firewall.js.map +1 -1
  161. package/lib/services/healthchecks.d.ts +2 -2
  162. package/lib/services/healthchecks.d.ts.map +1 -1
  163. package/lib/services/healthchecks.js +2 -2
  164. package/lib/services/healthchecks.js.map +1 -1
  165. package/lib/services/hostnames.d.ts +2 -2
  166. package/lib/services/hostnames.d.ts.map +1 -1
  167. package/lib/services/hostnames.js +2 -2
  168. package/lib/services/hostnames.js.map +1 -1
  169. package/lib/services/hyperdrive.d.ts +2 -2
  170. package/lib/services/hyperdrive.d.ts.map +1 -1
  171. package/lib/services/hyperdrive.js +2 -2
  172. package/lib/services/hyperdrive.js.map +1 -1
  173. package/lib/services/iam.d.ts +2 -2
  174. package/lib/services/iam.d.ts.map +1 -1
  175. package/lib/services/iam.js +2 -2
  176. package/lib/services/iam.js.map +1 -1
  177. package/lib/services/images.d.ts +2 -2
  178. package/lib/services/images.d.ts.map +1 -1
  179. package/lib/services/images.js +3 -3
  180. package/lib/services/images.js.map +1 -1
  181. package/lib/services/intel.d.ts +2 -2
  182. package/lib/services/intel.d.ts.map +1 -1
  183. package/lib/services/intel.js +2 -2
  184. package/lib/services/intel.js.map +1 -1
  185. package/lib/services/ips.d.ts +2 -2
  186. package/lib/services/ips.d.ts.map +1 -1
  187. package/lib/services/ips.js +2 -2
  188. package/lib/services/ips.js.map +1 -1
  189. package/lib/services/keyless-certificates.d.ts +2 -2
  190. package/lib/services/keyless-certificates.d.ts.map +1 -1
  191. package/lib/services/keyless-certificates.js +2 -2
  192. package/lib/services/keyless-certificates.js.map +1 -1
  193. package/lib/services/kv.d.ts +2 -2
  194. package/lib/services/kv.d.ts.map +1 -1
  195. package/lib/services/kv.js +2 -2
  196. package/lib/services/kv.js.map +1 -1
  197. package/lib/services/leaked-credential-checks.d.ts +2 -2
  198. package/lib/services/leaked-credential-checks.d.ts.map +1 -1
  199. package/lib/services/leaked-credential-checks.js +2 -2
  200. package/lib/services/leaked-credential-checks.js.map +1 -1
  201. package/lib/services/load-balancers.d.ts +2 -2
  202. package/lib/services/load-balancers.d.ts.map +1 -1
  203. package/lib/services/load-balancers.js +2 -2
  204. package/lib/services/load-balancers.js.map +1 -1
  205. package/lib/services/logpush.d.ts +2 -2
  206. package/lib/services/logpush.d.ts.map +1 -1
  207. package/lib/services/logpush.js +2 -2
  208. package/lib/services/logpush.js.map +1 -1
  209. package/lib/services/logs.d.ts +2 -2
  210. package/lib/services/logs.d.ts.map +1 -1
  211. package/lib/services/logs.js +2 -2
  212. package/lib/services/logs.js.map +1 -1
  213. package/lib/services/magic-cloud-networking.d.ts +2 -2
  214. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  215. package/lib/services/magic-cloud-networking.js +2 -2
  216. package/lib/services/magic-cloud-networking.js.map +1 -1
  217. package/lib/services/magic-network-monitoring.d.ts +2 -2
  218. package/lib/services/magic-network-monitoring.d.ts.map +1 -1
  219. package/lib/services/magic-network-monitoring.js +2 -2
  220. package/lib/services/magic-network-monitoring.js.map +1 -1
  221. package/lib/services/magic-transit.d.ts +2 -2
  222. package/lib/services/magic-transit.d.ts.map +1 -1
  223. package/lib/services/magic-transit.js +2 -2
  224. package/lib/services/magic-transit.js.map +1 -1
  225. package/lib/services/managed-transforms.d.ts +2 -2
  226. package/lib/services/managed-transforms.d.ts.map +1 -1
  227. package/lib/services/managed-transforms.js +2 -2
  228. package/lib/services/managed-transforms.js.map +1 -1
  229. package/lib/services/memberships.d.ts +2 -2
  230. package/lib/services/memberships.d.ts.map +1 -1
  231. package/lib/services/memberships.js +2 -2
  232. package/lib/services/memberships.js.map +1 -1
  233. package/lib/services/mtls-certificates.d.ts +2 -2
  234. package/lib/services/mtls-certificates.d.ts.map +1 -1
  235. package/lib/services/mtls-certificates.js +2 -2
  236. package/lib/services/mtls-certificates.js.map +1 -1
  237. package/lib/services/network-interconnects.d.ts +2 -2
  238. package/lib/services/network-interconnects.d.ts.map +1 -1
  239. package/lib/services/network-interconnects.js +2 -2
  240. package/lib/services/network-interconnects.js.map +1 -1
  241. package/lib/services/organizations.d.ts +2 -2
  242. package/lib/services/organizations.d.ts.map +1 -1
  243. package/lib/services/organizations.js +2 -2
  244. package/lib/services/organizations.js.map +1 -1
  245. package/lib/services/origin-ca-certificates.d.ts +2 -2
  246. package/lib/services/origin-ca-certificates.d.ts.map +1 -1
  247. package/lib/services/origin-ca-certificates.js +2 -2
  248. package/lib/services/origin-ca-certificates.js.map +1 -1
  249. package/lib/services/origin-post-quantum-encryption.d.ts +2 -2
  250. package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -1
  251. package/lib/services/origin-post-quantum-encryption.js +2 -2
  252. package/lib/services/origin-post-quantum-encryption.js.map +1 -1
  253. package/lib/services/origin-tls-client-auth.d.ts +2 -2
  254. package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
  255. package/lib/services/origin-tls-client-auth.js +2 -2
  256. package/lib/services/origin-tls-client-auth.js.map +1 -1
  257. package/lib/services/page-rules.d.ts +2 -2
  258. package/lib/services/page-rules.d.ts.map +1 -1
  259. package/lib/services/page-rules.js +2 -2
  260. package/lib/services/page-rules.js.map +1 -1
  261. package/lib/services/page-shield.d.ts +2 -2
  262. package/lib/services/page-shield.d.ts.map +1 -1
  263. package/lib/services/page-shield.js +2 -2
  264. package/lib/services/page-shield.js.map +1 -1
  265. package/lib/services/pages.d.ts +2 -2
  266. package/lib/services/pages.d.ts.map +1 -1
  267. package/lib/services/pages.js +3 -3
  268. package/lib/services/pages.js.map +1 -1
  269. package/lib/services/pipelines.d.ts +2 -2
  270. package/lib/services/pipelines.d.ts.map +1 -1
  271. package/lib/services/pipelines.js +2 -2
  272. package/lib/services/pipelines.js.map +1 -1
  273. package/lib/services/queues.d.ts +2 -2
  274. package/lib/services/queues.d.ts.map +1 -1
  275. package/lib/services/queues.js +2 -2
  276. package/lib/services/queues.js.map +1 -1
  277. package/lib/services/r2-data-catalog.d.ts +2 -2
  278. package/lib/services/r2-data-catalog.d.ts.map +1 -1
  279. package/lib/services/r2-data-catalog.js +2 -2
  280. package/lib/services/r2-data-catalog.js.map +1 -1
  281. package/lib/services/r2.d.ts +2 -2
  282. package/lib/services/r2.d.ts.map +1 -1
  283. package/lib/services/r2.js +2 -2
  284. package/lib/services/r2.js.map +1 -1
  285. package/lib/services/radar.d.ts +2 -2
  286. package/lib/services/radar.d.ts.map +1 -1
  287. package/lib/services/radar.js +2 -2
  288. package/lib/services/radar.js.map +1 -1
  289. package/lib/services/rate-limits.d.ts +2 -2
  290. package/lib/services/rate-limits.d.ts.map +1 -1
  291. package/lib/services/rate-limits.js +2 -2
  292. package/lib/services/rate-limits.js.map +1 -1
  293. package/lib/services/realtime-kit.d.ts +2 -2
  294. package/lib/services/realtime-kit.d.ts.map +1 -1
  295. package/lib/services/realtime-kit.js +2 -2
  296. package/lib/services/realtime-kit.js.map +1 -1
  297. package/lib/services/registrar.d.ts +2 -2
  298. package/lib/services/registrar.d.ts.map +1 -1
  299. package/lib/services/registrar.js +2 -2
  300. package/lib/services/registrar.js.map +1 -1
  301. package/lib/services/request-tracers.d.ts +2 -2
  302. package/lib/services/request-tracers.d.ts.map +1 -1
  303. package/lib/services/request-tracers.js +2 -2
  304. package/lib/services/request-tracers.js.map +1 -1
  305. package/lib/services/resource-sharing.d.ts +2 -2
  306. package/lib/services/resource-sharing.d.ts.map +1 -1
  307. package/lib/services/resource-sharing.js +2 -2
  308. package/lib/services/resource-sharing.js.map +1 -1
  309. package/lib/services/rules.d.ts +2 -2
  310. package/lib/services/rules.d.ts.map +1 -1
  311. package/lib/services/rules.js +2 -2
  312. package/lib/services/rules.js.map +1 -1
  313. package/lib/services/rulesets.d.ts +2 -2
  314. package/lib/services/rulesets.d.ts.map +1 -1
  315. package/lib/services/rulesets.js +2 -2
  316. package/lib/services/rulesets.js.map +1 -1
  317. package/lib/services/rum.d.ts +2 -2
  318. package/lib/services/rum.d.ts.map +1 -1
  319. package/lib/services/rum.js +2 -2
  320. package/lib/services/rum.js.map +1 -1
  321. package/lib/services/schema-validation.d.ts +2 -2
  322. package/lib/services/schema-validation.d.ts.map +1 -1
  323. package/lib/services/schema-validation.js +2 -2
  324. package/lib/services/schema-validation.js.map +1 -1
  325. package/lib/services/secrets-store.d.ts +2 -2
  326. package/lib/services/secrets-store.d.ts.map +1 -1
  327. package/lib/services/secrets-store.js +2 -2
  328. package/lib/services/secrets-store.js.map +1 -1
  329. package/lib/services/security-center.d.ts +2 -2
  330. package/lib/services/security-center.d.ts.map +1 -1
  331. package/lib/services/security-center.js +2 -2
  332. package/lib/services/security-center.js.map +1 -1
  333. package/lib/services/security-txt.d.ts +2 -2
  334. package/lib/services/security-txt.d.ts.map +1 -1
  335. package/lib/services/security-txt.js +2 -2
  336. package/lib/services/security-txt.js.map +1 -1
  337. package/lib/services/snippets.d.ts +2 -2
  338. package/lib/services/snippets.d.ts.map +1 -1
  339. package/lib/services/snippets.js +2 -2
  340. package/lib/services/snippets.js.map +1 -1
  341. package/lib/services/spectrum.d.ts +2 -2
  342. package/lib/services/spectrum.d.ts.map +1 -1
  343. package/lib/services/spectrum.js +2 -2
  344. package/lib/services/spectrum.js.map +1 -1
  345. package/lib/services/speed.d.ts +2 -2
  346. package/lib/services/speed.d.ts.map +1 -1
  347. package/lib/services/speed.js +2 -2
  348. package/lib/services/speed.js.map +1 -1
  349. package/lib/services/ssl.d.ts +2 -2
  350. package/lib/services/ssl.d.ts.map +1 -1
  351. package/lib/services/ssl.js +2 -2
  352. package/lib/services/ssl.js.map +1 -1
  353. package/lib/services/stream.d.ts +2 -2
  354. package/lib/services/stream.d.ts.map +1 -1
  355. package/lib/services/stream.js +2 -2
  356. package/lib/services/stream.js.map +1 -1
  357. package/lib/services/token-validation.d.ts +2 -2
  358. package/lib/services/token-validation.d.ts.map +1 -1
  359. package/lib/services/token-validation.js +2 -2
  360. package/lib/services/token-validation.js.map +1 -1
  361. package/lib/services/turnstile.d.ts +2 -2
  362. package/lib/services/turnstile.d.ts.map +1 -1
  363. package/lib/services/turnstile.js +2 -2
  364. package/lib/services/turnstile.js.map +1 -1
  365. package/lib/services/url-normalization.d.ts +2 -2
  366. package/lib/services/url-normalization.d.ts.map +1 -1
  367. package/lib/services/url-normalization.js +2 -2
  368. package/lib/services/url-normalization.js.map +1 -1
  369. package/lib/services/url-scanner.d.ts +2 -2
  370. package/lib/services/url-scanner.d.ts.map +1 -1
  371. package/lib/services/url-scanner.js +2 -2
  372. package/lib/services/url-scanner.js.map +1 -1
  373. package/lib/services/user.d.ts +2 -2
  374. package/lib/services/user.d.ts.map +1 -1
  375. package/lib/services/user.js +2 -2
  376. package/lib/services/user.js.map +1 -1
  377. package/lib/services/vectorize.d.ts +2 -2
  378. package/lib/services/vectorize.d.ts.map +1 -1
  379. package/lib/services/vectorize.js +3 -3
  380. package/lib/services/vectorize.js.map +1 -1
  381. package/lib/services/waiting-rooms.d.ts +2 -2
  382. package/lib/services/waiting-rooms.d.ts.map +1 -1
  383. package/lib/services/waiting-rooms.js +2 -2
  384. package/lib/services/waiting-rooms.js.map +1 -1
  385. package/lib/services/web3.d.ts +2 -2
  386. package/lib/services/web3.d.ts.map +1 -1
  387. package/lib/services/web3.js +2 -2
  388. package/lib/services/web3.js.map +1 -1
  389. package/lib/services/workers-for-platforms.d.ts +2 -2
  390. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  391. package/lib/services/workers-for-platforms.js +3 -3
  392. package/lib/services/workers-for-platforms.js.map +1 -1
  393. package/lib/services/workers.d.ts +2 -2
  394. package/lib/services/workers.d.ts.map +1 -1
  395. package/lib/services/workers.js +3 -3
  396. package/lib/services/workers.js.map +1 -1
  397. package/lib/services/workflows.d.ts +2 -2
  398. package/lib/services/workflows.d.ts.map +1 -1
  399. package/lib/services/workflows.js +2 -2
  400. package/lib/services/workflows.js.map +1 -1
  401. package/lib/services/zaraz.d.ts +2 -2
  402. package/lib/services/zaraz.d.ts.map +1 -1
  403. package/lib/services/zaraz.js +2 -2
  404. package/lib/services/zaraz.js.map +1 -1
  405. package/lib/services/zero-trust.d.ts +27 -27
  406. package/lib/services/zero-trust.d.ts.map +1 -1
  407. package/lib/services/zero-trust.js +38 -38
  408. package/lib/services/zero-trust.js.map +1 -1
  409. package/lib/services/zones.d.ts +2 -2
  410. package/lib/services/zones.d.ts.map +1 -1
  411. package/lib/services/zones.js +2 -2
  412. package/lib/services/zones.js.map +1 -1
  413. package/package.json +12 -6
  414. package/src/client/api.ts +64 -4
  415. package/src/errors.ts +2 -10
  416. package/src/services/abuse-reports.ts +3 -3
  417. package/src/services/accounts.ts +3 -3
  418. package/src/services/acm.ts +3 -3
  419. package/src/services/addressing.ts +3 -3
  420. package/src/services/ai-gateway.ts +3 -3
  421. package/src/services/ai.ts +4 -4
  422. package/src/services/aisearch.ts +3 -3
  423. package/src/services/alerting.ts +3 -3
  424. package/src/services/api-gateway.ts +5 -5
  425. package/src/services/argo.ts +3 -3
  426. package/src/services/audit-logs.ts +3 -3
  427. package/src/services/billing.ts +3 -3
  428. package/src/services/bot-management.ts +3 -3
  429. package/src/services/botnet-feed.ts +3 -3
  430. package/src/services/brand-protection.ts +4 -4
  431. package/src/services/browser-rendering.ts +3 -3
  432. package/src/services/cache.ts +3 -3
  433. package/src/services/calls.ts +3 -3
  434. package/src/services/certificate-authorities.ts +3 -3
  435. package/src/services/client-certificates.ts +3 -3
  436. package/src/services/cloud-connector.ts +3 -3
  437. package/src/services/cloudforce-one.ts +4 -4
  438. package/src/services/connectivity.ts +3 -3
  439. package/src/services/content-scanning.ts +3 -3
  440. package/src/services/custom-certificates.ts +3 -3
  441. package/src/services/custom-hostnames.ts +3 -3
  442. package/src/services/custom-nameservers.ts +3 -3
  443. package/src/services/custom-pages.ts +3 -3
  444. package/src/services/d1.ts +3 -3
  445. package/src/services/dcv-delegation.ts +3 -3
  446. package/src/services/diagnostics.ts +3 -3
  447. package/src/services/dns-firewall.ts +3 -3
  448. package/src/services/dns.ts +3 -3
  449. package/src/services/durable-objects.ts +3 -3
  450. package/src/services/email-routing.ts +3 -3
  451. package/src/services/email-security.ts +3 -3
  452. package/src/services/filters.ts +3 -3
  453. package/src/services/firewall.ts +3 -3
  454. package/src/services/healthchecks.ts +3 -3
  455. package/src/services/hostnames.ts +3 -3
  456. package/src/services/hyperdrive.ts +3 -3
  457. package/src/services/iam.ts +3 -3
  458. package/src/services/images.ts +4 -4
  459. package/src/services/intel.ts +3 -3
  460. package/src/services/ips.ts +3 -3
  461. package/src/services/keyless-certificates.ts +3 -3
  462. package/src/services/kv.ts +3 -3
  463. package/src/services/leaked-credential-checks.ts +3 -3
  464. package/src/services/load-balancers.ts +3 -3
  465. package/src/services/logpush.ts +3 -3
  466. package/src/services/logs.ts +3 -3
  467. package/src/services/magic-cloud-networking.ts +3 -3
  468. package/src/services/magic-network-monitoring.ts +3 -3
  469. package/src/services/magic-transit.ts +3 -3
  470. package/src/services/managed-transforms.ts +3 -3
  471. package/src/services/memberships.ts +3 -3
  472. package/src/services/mtls-certificates.ts +3 -3
  473. package/src/services/network-interconnects.ts +3 -3
  474. package/src/services/organizations.ts +3 -3
  475. package/src/services/origin-ca-certificates.ts +3 -3
  476. package/src/services/origin-post-quantum-encryption.ts +3 -3
  477. package/src/services/origin-tls-client-auth.ts +3 -3
  478. package/src/services/page-rules.ts +3 -3
  479. package/src/services/page-shield.ts +3 -3
  480. package/src/services/pages.ts +4 -4
  481. package/src/services/pipelines.ts +3 -3
  482. package/src/services/queues.ts +3 -3
  483. package/src/services/r2-data-catalog.ts +3 -3
  484. package/src/services/r2.ts +3 -3
  485. package/src/services/radar.ts +3 -3
  486. package/src/services/rate-limits.ts +3 -3
  487. package/src/services/realtime-kit.ts +3 -3
  488. package/src/services/registrar.ts +3 -3
  489. package/src/services/request-tracers.ts +3 -3
  490. package/src/services/resource-sharing.ts +3 -3
  491. package/src/services/rules.ts +3 -3
  492. package/src/services/rulesets.ts +3 -3
  493. package/src/services/rum.ts +3 -3
  494. package/src/services/schema-validation.ts +3 -3
  495. package/src/services/secrets-store.ts +3 -3
  496. package/src/services/security-center.ts +3 -3
  497. package/src/services/security-txt.ts +3 -3
  498. package/src/services/snippets.ts +3 -3
  499. package/src/services/spectrum.ts +3 -3
  500. package/src/services/speed.ts +3 -3
  501. package/src/services/ssl.ts +3 -3
  502. package/src/services/stream.ts +3 -3
  503. package/src/services/token-validation.ts +3 -3
  504. package/src/services/turnstile.ts +3 -3
  505. package/src/services/url-normalization.ts +3 -3
  506. package/src/services/url-scanner.ts +3 -3
  507. package/src/services/user.ts +3 -3
  508. package/src/services/vectorize.ts +4 -4
  509. package/src/services/waiting-rooms.ts +3 -3
  510. package/src/services/web3.ts +3 -3
  511. package/src/services/workers-for-platforms.ts +4 -4
  512. package/src/services/workers.ts +4 -4
  513. package/src/services/workflows.ts +3 -3
  514. package/src/services/zaraz.ts +3 -3
  515. package/src/services/zero-trust.ts +86 -90
  516. package/src/services/zones.ts +3 -3
package/src/client/api.ts CHANGED
@@ -14,10 +14,54 @@ import {
14
14
  type OperationMethod,
15
15
  type PaginatedOperationMethod,
16
16
  } from "@distilled.cloud/core/client";
17
- import { CloudflareHttpError, UnknownCloudflareError } from "../errors.ts";
17
+ import {
18
+ CloudflareHttpError,
19
+ HTTP_STATUS_MAP,
20
+ InternalServerError,
21
+ TooManyRequests,
22
+ UnknownCloudflareError,
23
+ } from "../errors.ts";
18
24
  import { Credentials } from "../credentials.ts";
19
25
  import { type ErrorMatcher, getErrorMatchers } from "../traits.ts";
20
26
 
27
+ // ============================================================================
28
+ // Global Cloudflare error codes
29
+ // ============================================================================
30
+
31
+ /**
32
+ * Cloudflare error codes that map to global/default errors regardless of operation.
33
+ * These are infrastructure-level errors that can occur on any endpoint.
34
+ */
35
+ const GLOBAL_ERROR_CODE_MAP: Record<number, (message: string) => unknown> = {
36
+ // "Please wait and consider throttling your request speed"
37
+ 971: (message) => new TooManyRequests({ message }),
38
+ };
39
+
40
+ /**
41
+ * Create an appropriate error for an HTTP status code.
42
+ *
43
+ * For status codes in HTTP_STATUS_MAP (400, 401, 500, 502, 503, 504, etc.),
44
+ * returns the properly categorized error (with retry categories for 5xx).
45
+ * For unmapped 5xx codes (e.g., Cloudflare-specific 520-530), returns a
46
+ * CloudflareHttpError so the status is preserved.
47
+ */
48
+ function httpStatusError(status: number, body?: string): unknown {
49
+ const ErrorClass = HTTP_STATUS_MAP[status as keyof typeof HTTP_STATUS_MAP];
50
+ if (ErrorClass) {
51
+ return new ErrorClass({ message: body ?? String(status) });
52
+ }
53
+ // For unmapped 5xx codes (e.g., Cloudflare-specific 520-530), use
54
+ // InternalServerError so they get ServerError + Retryable categories
55
+ if (status >= 500) {
56
+ return new InternalServerError({ message: body ?? String(status) });
57
+ }
58
+ return new CloudflareHttpError({
59
+ status,
60
+ statusText: String(status),
61
+ body,
62
+ });
63
+ }
64
+
21
65
  export type { OperationMethod, PaginatedOperationMethod };
22
66
 
23
67
  // ============================================================================
@@ -123,12 +167,18 @@ const matchError = (
123
167
  errorBody: unknown,
124
168
  errors?: readonly ApiErrorClass[],
125
169
  ): Effect.Effect<never, unknown> => {
126
- // Handle non-JSON error responses (e.g., HTML from malformed URLs)
170
+ // Handle non-JSON error responses (e.g., HTML from malformed URLs, 520 pages)
127
171
  const isNonJsonError =
128
172
  typeof errorBody === "object" &&
129
173
  errorBody !== null &&
130
174
  "_nonJsonError" in errorBody;
131
175
  if (isNonJsonError) {
176
+ // For 5xx errors, return a properly categorized error so retries work
177
+ if (status >= 500) {
178
+ return Effect.fail(
179
+ httpStatusError(status, String((errorBody as any).body)),
180
+ );
181
+ }
132
182
  return Effect.fail(
133
183
  new CloudflareHttpError({
134
184
  status,
@@ -165,12 +215,17 @@ const matchError = (
165
215
 
166
216
  if (!isEnvelope) {
167
217
  // Not a Cloudflare envelope — HTTP-level error
218
+ // For 5xx errors, return a properly categorized error so retries work
219
+ const bodyStr =
220
+ typeof errorBody === "string" ? errorBody : JSON.stringify(errorBody);
221
+ if (status >= 500) {
222
+ return Effect.fail(httpStatusError(status, bodyStr));
223
+ }
168
224
  return Effect.fail(
169
225
  new CloudflareHttpError({
170
226
  status,
171
227
  statusText: String(status),
172
- body:
173
- typeof errorBody === "string" ? errorBody : JSON.stringify(errorBody),
228
+ body: bodyStr,
174
229
  }),
175
230
  );
176
231
  }
@@ -221,6 +276,11 @@ const matchError = (
221
276
  }
222
277
  }
223
278
 
279
+ // Check global error codes before falling through to unknown
280
+ if (errorCode !== undefined && errorCode in GLOBAL_ERROR_CODE_MAP) {
281
+ return Effect.fail(GLOBAL_ERROR_CODE_MAP[errorCode](errorMessage));
282
+ }
283
+
224
284
  // No match — return unknown Cloudflare error
225
285
  return Effect.fail(
226
286
  new UnknownCloudflareError({
package/src/errors.ts CHANGED
@@ -2,10 +2,12 @@
2
2
  * Cloudflare-specific error types.
3
3
  */
4
4
  export {
5
+ BadGateway,
5
6
  BadRequest,
6
7
  Conflict,
7
8
  ConfigError,
8
9
  Forbidden,
10
+ GatewayTimeout,
9
11
  InternalServerError,
10
12
  NotFound,
11
13
  ServiceUnavailable,
@@ -21,16 +23,6 @@ export type { DefaultErrors } from "@distilled.cloud/core/errors";
21
23
  import * as Schema from "effect/Schema";
22
24
  import * as Category from "@distilled.cloud/core/category";
23
25
 
24
- // Generic Cloudflare API Error
25
- export class CloudflareApiError extends Schema.TaggedErrorClass<CloudflareApiError>()(
26
- "CloudflareApiError",
27
- {
28
- code: Schema.optional(Schema.Number),
29
- message: Schema.optional(Schema.String),
30
- body: Schema.Unknown,
31
- },
32
- ).pipe(Category.withServerError) {}
33
-
34
26
  // Schema parse error wrapper
35
27
  export class CloudflareParseError extends Schema.TaggedErrorClass<CloudflareParseError>()(
36
28
  "CloudflareParseError",
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // Errors
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // Errors
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // Errors
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // Errors
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // Errors
@@ -8,10 +8,10 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
14
- import { UploadableSchema } from "../schemas";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
+ import { UploadableSchema } from "../schemas.ts";
15
15
 
16
16
  // =============================================================================
17
17
  // Errors
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // Errors
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // Errors
@@ -8,10 +8,10 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
14
- import { UploadableSchema } from "../schemas";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
+ import { UploadableSchema } from "../schemas.ts";
15
15
 
16
16
  // =============================================================================
17
17
  // Errors
@@ -27,7 +27,7 @@ export class NotEntitled extends Schema.TaggedErrorClass<NotEntitled>()(
27
27
  "NotEntitled",
28
28
  { code: Schema.Number, message: Schema.String },
29
29
  ) {}
30
- T.applyErrorMatchers(NotEntitled, [{ code: 10403 }]);
30
+ T.applyErrorMatchers(NotEntitled, [{ code: 10403 }, { code: 10404 }]);
31
31
 
32
32
  export class OperationNotFound extends Schema.TaggedErrorClass<OperationNotFound>()(
33
33
  "OperationNotFound",
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // Errors
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // AuditLog
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // Profile
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // BotManagement
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // ConfigAsn
@@ -8,10 +8,10 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
14
- import { UploadableSchema } from "../schemas";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
+ import { UploadableSchema } from "../schemas.ts";
15
15
 
16
16
  // =============================================================================
17
17
  // BrandProtection
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // Content
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // Cache
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // Sfu
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // HostnameAssociation
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // ClientCertificate
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // Rule
@@ -8,10 +8,10 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
14
- import { UploadableSchema } from "../schemas";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
+ import { UploadableSchema } from "../schemas.ts";
15
15
 
16
16
  // =============================================================================
17
17
  // BinaryStorage
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // DirectoryService
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // ContentScanning
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // CustomCertificate
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // CertificatePackCertificate
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // CustomNameserver
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // CustomPage
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // Errors
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // DCVDelegation
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // EndpointHealthcheck
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // AnalyticReport
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // AnalyticReport
@@ -8,9 +8,9 @@
8
8
  import * as Schema from "effect/Schema";
9
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
10
10
  import * as API from "../client/api.ts";
11
- import * as T from "../traits";
12
- import type { Credentials } from "../credentials";
13
- import { type DefaultErrors } from "../errors";
11
+ import * as T from "../traits.ts";
12
+ import type { Credentials } from "../credentials.ts";
13
+ import { type DefaultErrors } from "../errors.ts";
14
14
 
15
15
  // =============================================================================
16
16
  // Errors