@distilled.cloud/cloudflare 0.0.0 → 0.2.3

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 (560) hide show
  1. package/README.md +41 -7
  2. package/lib/auth.d.ts +13 -0
  3. package/lib/auth.d.ts.map +1 -0
  4. package/lib/auth.js +12 -0
  5. package/lib/auth.js.map +1 -0
  6. package/lib/category.d.ts +2 -0
  7. package/lib/category.d.ts.map +1 -0
  8. package/lib/category.js +2 -0
  9. package/lib/category.js.map +1 -0
  10. package/lib/client/api.d.ts +14 -0
  11. package/lib/client/api.d.ts.map +1 -0
  12. package/lib/client/api.js +245 -0
  13. package/lib/client/api.js.map +1 -0
  14. package/lib/client/index.d.ts +8 -0
  15. package/lib/client/index.d.ts.map +1 -0
  16. package/lib/client/index.js +8 -0
  17. package/lib/client/index.js.map +1 -0
  18. package/lib/credentials.d.ts +14 -0
  19. package/lib/credentials.d.ts.map +1 -0
  20. package/lib/credentials.js +17 -0
  21. package/lib/credentials.js.map +1 -0
  22. package/lib/errors.d.ts +37 -0
  23. package/lib/errors.d.ts.map +1 -0
  24. package/lib/errors.js +31 -0
  25. package/lib/errors.js.map +1 -0
  26. package/lib/index.d.ts +10 -0
  27. package/lib/index.d.ts.map +1 -0
  28. package/lib/index.js +10 -0
  29. package/lib/index.js.map +1 -0
  30. package/lib/retry.d.ts +14 -0
  31. package/lib/retry.d.ts.map +1 -0
  32. package/lib/retry.js +14 -0
  33. package/lib/retry.js.map +1 -0
  34. package/lib/schemas.d.ts +29 -0
  35. package/lib/schemas.d.ts.map +1 -0
  36. package/lib/schemas.js +34 -0
  37. package/lib/schemas.js.map +1 -0
  38. package/lib/services/abuse-reports.d.ts +224 -0
  39. package/lib/services/abuse-reports.d.ts.map +1 -0
  40. package/lib/services/abuse-reports.js +353 -0
  41. package/lib/services/abuse-reports.js.map +1 -0
  42. package/lib/services/accounts.d.ts +682 -0
  43. package/lib/services/accounts.d.ts.map +1 -0
  44. package/lib/services/accounts.js +805 -0
  45. package/lib/services/accounts.js.map +1 -0
  46. package/lib/services/acm.d.ts +73 -0
  47. package/lib/services/acm.d.ts.map +1 -0
  48. package/lib/services/acm.js +76 -0
  49. package/lib/services/acm.js.map +1 -0
  50. package/lib/services/addressing.d.ts +1208 -0
  51. package/lib/services/addressing.d.ts.map +1 -0
  52. package/lib/services/addressing.js +1776 -0
  53. package/lib/services/addressing.js.map +1 -0
  54. package/lib/services/ai-gateway.d.ts +956 -0
  55. package/lib/services/ai-gateway.d.ts.map +1 -0
  56. package/lib/services/ai-gateway.js +1706 -0
  57. package/lib/services/ai-gateway.js.map +1 -0
  58. package/lib/services/ai.d.ts +243 -0
  59. package/lib/services/ai.d.ts.map +1 -0
  60. package/lib/services/ai.js +299 -0
  61. package/lib/services/ai.js.map +1 -0
  62. package/lib/services/aisearch.d.ts +915 -0
  63. package/lib/services/aisearch.d.ts.map +1 -0
  64. package/lib/services/aisearch.js +2425 -0
  65. package/lib/services/aisearch.js.map +1 -0
  66. package/lib/services/alerting.d.ts +718 -0
  67. package/lib/services/alerting.d.ts.map +1 -0
  68. package/lib/services/alerting.js +1388 -0
  69. package/lib/services/alerting.js.map +1 -0
  70. package/lib/services/api-gateway.d.ts +830 -0
  71. package/lib/services/api-gateway.d.ts.map +1 -0
  72. package/lib/services/api-gateway.js +1548 -0
  73. package/lib/services/api-gateway.js.map +1 -0
  74. package/lib/services/argo.d.ts +101 -0
  75. package/lib/services/argo.d.ts.map +1 -0
  76. package/lib/services/argo.js +105 -0
  77. package/lib/services/argo.js.map +1 -0
  78. package/lib/services/audit-logs.d.ts +46 -0
  79. package/lib/services/audit-logs.d.ts.map +1 -0
  80. package/lib/services/audit-logs.js +37 -0
  81. package/lib/services/audit-logs.js.map +1 -0
  82. package/lib/services/billing.d.ts +62 -0
  83. package/lib/services/billing.d.ts.map +1 -0
  84. package/lib/services/billing.js +100 -0
  85. package/lib/services/billing.js.map +1 -0
  86. package/lib/services/bot-management.d.ts +124 -0
  87. package/lib/services/bot-management.d.ts.map +1 -0
  88. package/lib/services/bot-management.js +262 -0
  89. package/lib/services/bot-management.js.map +1 -0
  90. package/lib/services/botnet-feed.d.ts +65 -0
  91. package/lib/services/botnet-feed.d.ts.map +1 -0
  92. package/lib/services/botnet-feed.js +84 -0
  93. package/lib/services/botnet-feed.js.map +1 -0
  94. package/lib/services/brand-protection.d.ts +188 -0
  95. package/lib/services/brand-protection.d.ts.map +1 -0
  96. package/lib/services/brand-protection.js +214 -0
  97. package/lib/services/brand-protection.js.map +1 -0
  98. package/lib/services/browser-rendering.d.ts +857 -0
  99. package/lib/services/browser-rendering.d.ts.map +1 -0
  100. package/lib/services/browser-rendering.js +1141 -0
  101. package/lib/services/browser-rendering.js.map +1 -0
  102. package/lib/services/cache.d.ts +287 -0
  103. package/lib/services/cache.d.ts.map +1 -0
  104. package/lib/services/cache.js +330 -0
  105. package/lib/services/cache.js.map +1 -0
  106. package/lib/services/calls.d.ts +202 -0
  107. package/lib/services/calls.d.ts.map +1 -0
  108. package/lib/services/calls.js +175 -0
  109. package/lib/services/calls.js.map +1 -0
  110. package/lib/services/certificate-authorities.d.ts +40 -0
  111. package/lib/services/certificate-authorities.d.ts.map +1 -0
  112. package/lib/services/certificate-authorities.js +49 -0
  113. package/lib/services/certificate-authorities.js.map +1 -0
  114. package/lib/services/client-certificates.d.ts +254 -0
  115. package/lib/services/client-certificates.d.ts.map +1 -0
  116. package/lib/services/client-certificates.js +350 -0
  117. package/lib/services/client-certificates.js.map +1 -0
  118. package/lib/services/cloud-connector.d.ts +59 -0
  119. package/lib/services/cloud-connector.d.ts.map +1 -0
  120. package/lib/services/cloud-connector.js +84 -0
  121. package/lib/services/cloud-connector.js.map +1 -0
  122. package/lib/services/cloudforce-one.d.ts +1318 -0
  123. package/lib/services/cloudforce-one.d.ts.map +1 -0
  124. package/lib/services/cloudforce-one.js +1684 -0
  125. package/lib/services/cloudforce-one.js.map +1 -0
  126. package/lib/services/connectivity.d.ts +248 -0
  127. package/lib/services/connectivity.d.ts.map +1 -0
  128. package/lib/services/connectivity.js +377 -0
  129. package/lib/services/connectivity.js.map +1 -0
  130. package/lib/services/content-scanning.d.ts +131 -0
  131. package/lib/services/content-scanning.d.ts.map +1 -0
  132. package/lib/services/content-scanning.js +156 -0
  133. package/lib/services/content-scanning.js.map +1 -0
  134. package/lib/services/custom-certificates.d.ts +211 -0
  135. package/lib/services/custom-certificates.d.ts.map +1 -0
  136. package/lib/services/custom-certificates.js +309 -0
  137. package/lib/services/custom-certificates.js.map +1 -0
  138. package/lib/services/custom-hostnames.d.ts +525 -0
  139. package/lib/services/custom-hostnames.d.ts.map +1 -0
  140. package/lib/services/custom-hostnames.js +1164 -0
  141. package/lib/services/custom-hostnames.js.map +1 -0
  142. package/lib/services/custom-nameservers.d.ts +67 -0
  143. package/lib/services/custom-nameservers.d.ts.map +1 -0
  144. package/lib/services/custom-nameservers.js +80 -0
  145. package/lib/services/custom-nameservers.js.map +1 -0
  146. package/lib/services/custom-pages.d.ts +74 -0
  147. package/lib/services/custom-pages.d.ts.map +1 -0
  148. package/lib/services/custom-pages.js +125 -0
  149. package/lib/services/custom-pages.js.map +1 -0
  150. package/lib/services/d1.d.ts +326 -0
  151. package/lib/services/d1.d.ts.map +1 -0
  152. package/lib/services/d1.js +448 -0
  153. package/lib/services/d1.js.map +1 -0
  154. package/lib/services/dcv-delegation.d.ts +24 -0
  155. package/lib/services/dcv-delegation.d.ts.map +1 -0
  156. package/lib/services/dcv-delegation.js +24 -0
  157. package/lib/services/dcv-delegation.js.map +1 -0
  158. package/lib/services/diagnostics.d.ts +175 -0
  159. package/lib/services/diagnostics.d.ts.map +1 -0
  160. package/lib/services/diagnostics.js +273 -0
  161. package/lib/services/diagnostics.js.map +1 -0
  162. package/lib/services/dns-firewall.d.ts +288 -0
  163. package/lib/services/dns-firewall.d.ts.map +1 -0
  164. package/lib/services/dns-firewall.js +373 -0
  165. package/lib/services/dns-firewall.js.map +1 -0
  166. package/lib/services/dns.d.ts +2946 -0
  167. package/lib/services/dns.d.ts.map +1 -0
  168. package/lib/services/dns.js +4511 -0
  169. package/lib/services/dns.js.map +1 -0
  170. package/lib/services/durable-objects.d.ts +61 -0
  171. package/lib/services/durable-objects.d.ts.map +1 -0
  172. package/lib/services/durable-objects.js +66 -0
  173. package/lib/services/durable-objects.js.map +1 -0
  174. package/lib/services/email-routing.d.ts +542 -0
  175. package/lib/services/email-routing.d.ts.map +1 -0
  176. package/lib/services/email-routing.js +662 -0
  177. package/lib/services/email-routing.js.map +1 -0
  178. package/lib/services/email-security.d.ts +1131 -0
  179. package/lib/services/email-security.d.ts.map +1 -0
  180. package/lib/services/email-security.js +2065 -0
  181. package/lib/services/email-security.js.map +1 -0
  182. package/lib/services/filters.d.ts +157 -0
  183. package/lib/services/filters.d.ts.map +1 -0
  184. package/lib/services/filters.js +135 -0
  185. package/lib/services/filters.js.map +1 -0
  186. package/lib/services/firewall.d.ts +1080 -0
  187. package/lib/services/firewall.d.ts.map +1 -0
  188. package/lib/services/firewall.js +1881 -0
  189. package/lib/services/firewall.js.map +1 -0
  190. package/lib/services/healthchecks.d.ts +464 -0
  191. package/lib/services/healthchecks.d.ts.map +1 -0
  192. package/lib/services/healthchecks.js +838 -0
  193. package/lib/services/healthchecks.js.map +1 -0
  194. package/lib/services/hostnames.d.ts +74 -0
  195. package/lib/services/hostnames.d.ts.map +1 -0
  196. package/lib/services/hostnames.js +100 -0
  197. package/lib/services/hostnames.js.map +1 -0
  198. package/lib/services/hyperdrive.d.ts +203 -0
  199. package/lib/services/hyperdrive.d.ts.map +1 -0
  200. package/lib/services/hyperdrive.js +299 -0
  201. package/lib/services/hyperdrive.js.map +1 -0
  202. package/lib/services/iam.d.ts +554 -0
  203. package/lib/services/iam.d.ts.map +1 -0
  204. package/lib/services/iam.js +743 -0
  205. package/lib/services/iam.js.map +1 -0
  206. package/lib/services/images.d.ts +403 -0
  207. package/lib/services/images.d.ts.map +1 -0
  208. package/lib/services/images.js +417 -0
  209. package/lib/services/images.js.map +1 -0
  210. package/lib/services/intel.d.ts +768 -0
  211. package/lib/services/intel.d.ts.map +1 -0
  212. package/lib/services/intel.js +1179 -0
  213. package/lib/services/intel.js.map +1 -0
  214. package/lib/services/ips.d.ts +28 -0
  215. package/lib/services/ips.d.ts.map +1 -0
  216. package/lib/services/ips.js +39 -0
  217. package/lib/services/ips.js.map +1 -0
  218. package/lib/services/keyless-certificates.d.ts +177 -0
  219. package/lib/services/keyless-certificates.d.ts.map +1 -0
  220. package/lib/services/keyless-certificates.js +216 -0
  221. package/lib/services/keyless-certificates.js.map +1 -0
  222. package/lib/services/kv.d.ts +339 -0
  223. package/lib/services/kv.d.ts.map +1 -0
  224. package/lib/services/kv.js +402 -0
  225. package/lib/services/kv.js.map +1 -0
  226. package/lib/services/leaked-credential-checks.d.ts +119 -0
  227. package/lib/services/leaked-credential-checks.d.ts.map +1 -0
  228. package/lib/services/leaked-credential-checks.js +130 -0
  229. package/lib/services/leaked-credential-checks.js.map +1 -0
  230. package/lib/services/load-balancers.d.ts +1767 -0
  231. package/lib/services/load-balancers.d.ts.map +1 -0
  232. package/lib/services/load-balancers.js +3068 -0
  233. package/lib/services/load-balancers.js.map +1 -0
  234. package/lib/services/logpush.d.ts +401 -0
  235. package/lib/services/logpush.d.ts.map +1 -0
  236. package/lib/services/logpush.js +724 -0
  237. package/lib/services/logpush.js.map +1 -0
  238. package/lib/services/logs.d.ts +125 -0
  239. package/lib/services/logs.d.ts.map +1 -0
  240. package/lib/services/logs.js +145 -0
  241. package/lib/services/logs.js.map +1 -0
  242. package/lib/services/magic-cloud-networking.d.ts +1599 -0
  243. package/lib/services/magic-cloud-networking.d.ts.map +1 -0
  244. package/lib/services/magic-cloud-networking.js +5205 -0
  245. package/lib/services/magic-cloud-networking.js.map +1 -0
  246. package/lib/services/magic-network-monitoring.d.ts +379 -0
  247. package/lib/services/magic-network-monitoring.d.ts.map +1 -0
  248. package/lib/services/magic-network-monitoring.js +535 -0
  249. package/lib/services/magic-network-monitoring.js.map +1 -0
  250. package/lib/services/magic-transit.d.ts +3650 -0
  251. package/lib/services/magic-transit.d.ts.map +1 -0
  252. package/lib/services/magic-transit.js +6120 -0
  253. package/lib/services/magic-transit.js.map +1 -0
  254. package/lib/services/managed-transforms.d.ts +79 -0
  255. package/lib/services/managed-transforms.d.ts.map +1 -0
  256. package/lib/services/managed-transforms.js +107 -0
  257. package/lib/services/managed-transforms.js.map +1 -0
  258. package/lib/services/memberships.d.ts +172 -0
  259. package/lib/services/memberships.d.ts.map +1 -0
  260. package/lib/services/memberships.js +282 -0
  261. package/lib/services/memberships.js.map +1 -0
  262. package/lib/services/mtls-certificates.d.ts +140 -0
  263. package/lib/services/mtls-certificates.d.ts.map +1 -0
  264. package/lib/services/mtls-certificates.js +173 -0
  265. package/lib/services/mtls-certificates.js.map +1 -0
  266. package/lib/services/network-interconnects.d.ts +410 -0
  267. package/lib/services/network-interconnects.d.ts.map +1 -0
  268. package/lib/services/network-interconnects.js +583 -0
  269. package/lib/services/network-interconnects.js.map +1 -0
  270. package/lib/services/organizations.d.ts +201 -0
  271. package/lib/services/organizations.d.ts.map +1 -0
  272. package/lib/services/organizations.js +355 -0
  273. package/lib/services/organizations.js.map +1 -0
  274. package/lib/services/origin-ca-certificates.d.ts +99 -0
  275. package/lib/services/origin-ca-certificates.d.ts.map +1 -0
  276. package/lib/services/origin-ca-certificates.js +156 -0
  277. package/lib/services/origin-ca-certificates.js.map +1 -0
  278. package/lib/services/origin-post-quantum-encryption.d.ts +50 -0
  279. package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -0
  280. package/lib/services/origin-post-quantum-encryption.js +60 -0
  281. package/lib/services/origin-post-quantum-encryption.js.map +1 -0
  282. package/lib/services/origin-tls-client-auth.d.ts +273 -0
  283. package/lib/services/origin-tls-client-auth.d.ts.map +1 -0
  284. package/lib/services/origin-tls-client-auth.js +401 -0
  285. package/lib/services/origin-tls-client-auth.js.map +1 -0
  286. package/lib/services/page-rules.d.ts +773 -0
  287. package/lib/services/page-rules.d.ts.map +1 -0
  288. package/lib/services/page-rules.js +1365 -0
  289. package/lib/services/page-rules.js.map +1 -0
  290. package/lib/services/page-shield.d.ts +426 -0
  291. package/lib/services/page-shield.d.ts.map +1 -0
  292. package/lib/services/page-shield.js +484 -0
  293. package/lib/services/page-shield.js.map +1 -0
  294. package/lib/services/pages.d.ts +1654 -0
  295. package/lib/services/pages.d.ts.map +1 -0
  296. package/lib/services/pages.js +2954 -0
  297. package/lib/services/pages.js.map +1 -0
  298. package/lib/services/pipelines.d.ts +1461 -0
  299. package/lib/services/pipelines.d.ts.map +1 -0
  300. package/lib/services/pipelines.js +2912 -0
  301. package/lib/services/pipelines.js.map +1 -0
  302. package/lib/services/queues.d.ts +807 -0
  303. package/lib/services/queues.d.ts.map +1 -0
  304. package/lib/services/queues.js +1194 -0
  305. package/lib/services/queues.js.map +1 -0
  306. package/lib/services/r2-data-catalog.d.ts +341 -0
  307. package/lib/services/r2-data-catalog.d.ts.map +1 -0
  308. package/lib/services/r2-data-catalog.js +499 -0
  309. package/lib/services/r2-data-catalog.js.map +1 -0
  310. package/lib/services/r2.d.ts +1041 -0
  311. package/lib/services/r2.d.ts.map +1 -0
  312. package/lib/services/r2.js +1384 -0
  313. package/lib/services/r2.js.map +1 -0
  314. package/lib/services/radar.d.ts +9276 -0
  315. package/lib/services/radar.d.ts.map +1 -0
  316. package/lib/services/radar.js +20491 -0
  317. package/lib/services/radar.js.map +1 -0
  318. package/lib/services/rate-limits.d.ts +315 -0
  319. package/lib/services/rate-limits.d.ts.map +1 -0
  320. package/lib/services/rate-limits.js +521 -0
  321. package/lib/services/rate-limits.js.map +1 -0
  322. package/lib/services/realtime-kit.d.ts +2728 -0
  323. package/lib/services/realtime-kit.d.ts.map +1 -0
  324. package/lib/services/realtime-kit.js +5401 -0
  325. package/lib/services/realtime-kit.js.map +1 -0
  326. package/lib/services/registrar.d.ts +81 -0
  327. package/lib/services/registrar.d.ts.map +1 -0
  328. package/lib/services/registrar.js +154 -0
  329. package/lib/services/registrar.js.map +1 -0
  330. package/lib/services/request-tracers.d.ts +61 -0
  331. package/lib/services/request-tracers.d.ts.map +1 -0
  332. package/lib/services/request-tracers.js +82 -0
  333. package/lib/services/request-tracers.js.map +1 -0
  334. package/lib/services/resource-sharing.d.ts +540 -0
  335. package/lib/services/resource-sharing.d.ts.map +1 -0
  336. package/lib/services/resource-sharing.js +846 -0
  337. package/lib/services/resource-sharing.js.map +1 -0
  338. package/lib/services/rules.d.ts +297 -0
  339. package/lib/services/rules.d.ts.map +1 -0
  340. package/lib/services/rules.js +396 -0
  341. package/lib/services/rules.js.map +1 -0
  342. package/lib/services/rulesets.d.ts +3300 -0
  343. package/lib/services/rulesets.d.ts.map +1 -0
  344. package/lib/services/rulesets.js +7852 -0
  345. package/lib/services/rulesets.js.map +1 -0
  346. package/lib/services/rum.d.ts +289 -0
  347. package/lib/services/rum.d.ts.map +1 -0
  348. package/lib/services/rum.js +409 -0
  349. package/lib/services/rum.js.map +1 -0
  350. package/lib/services/schema-validation.d.ts +240 -0
  351. package/lib/services/schema-validation.d.ts.map +1 -0
  352. package/lib/services/schema-validation.js +306 -0
  353. package/lib/services/schema-validation.js.map +1 -0
  354. package/lib/services/secrets-store.d.ts +321 -0
  355. package/lib/services/secrets-store.d.ts.map +1 -0
  356. package/lib/services/secrets-store.js +385 -0
  357. package/lib/services/secrets-store.js.map +1 -0
  358. package/lib/services/security-center.d.ts +102 -0
  359. package/lib/services/security-center.d.ts.map +1 -0
  360. package/lib/services/security-center.js +170 -0
  361. package/lib/services/security-center.js.map +1 -0
  362. package/lib/services/security-txt.d.ts +105 -0
  363. package/lib/services/security-txt.d.ts.map +1 -0
  364. package/lib/services/security-txt.js +136 -0
  365. package/lib/services/security-txt.js.map +1 -0
  366. package/lib/services/snippets.d.ts +138 -0
  367. package/lib/services/snippets.d.ts.map +1 -0
  368. package/lib/services/snippets.js +178 -0
  369. package/lib/services/snippets.js.map +1 -0
  370. package/lib/services/spectrum.d.ts +316 -0
  371. package/lib/services/spectrum.d.ts.map +1 -0
  372. package/lib/services/spectrum.js +510 -0
  373. package/lib/services/spectrum.js.map +1 -0
  374. package/lib/services/speed.d.ts +227 -0
  375. package/lib/services/speed.d.ts.map +1 -0
  376. package/lib/services/speed.js +444 -0
  377. package/lib/services/speed.js.map +1 -0
  378. package/lib/services/ssl.d.ts +370 -0
  379. package/lib/services/ssl.d.ts.map +1 -0
  380. package/lib/services/ssl.js +732 -0
  381. package/lib/services/ssl.js.map +1 -0
  382. package/lib/services/stream.d.ts +1014 -0
  383. package/lib/services/stream.d.ts.map +1 -0
  384. package/lib/services/stream.js +1049 -0
  385. package/lib/services/stream.js.map +1 -0
  386. package/lib/services/token-validation.d.ts +547 -0
  387. package/lib/services/token-validation.d.ts.map +1 -0
  388. package/lib/services/token-validation.js +768 -0
  389. package/lib/services/token-validation.js.map +1 -0
  390. package/lib/services/turnstile.d.ts +248 -0
  391. package/lib/services/turnstile.d.ts.map +1 -0
  392. package/lib/services/turnstile.js +308 -0
  393. package/lib/services/turnstile.js.map +1 -0
  394. package/lib/services/url-normalization.d.ts +53 -0
  395. package/lib/services/url-normalization.d.ts.map +1 -0
  396. package/lib/services/url-normalization.js +52 -0
  397. package/lib/services/url-normalization.js.map +1 -0
  398. package/lib/services/url-scanner.d.ts +612 -0
  399. package/lib/services/url-scanner.d.ts.map +1 -0
  400. package/lib/services/url-scanner.js +915 -0
  401. package/lib/services/url-scanner.js.map +1 -0
  402. package/lib/services/user.d.ts +441 -0
  403. package/lib/services/user.d.ts.map +1 -0
  404. package/lib/services/user.js +567 -0
  405. package/lib/services/user.js.map +1 -0
  406. package/lib/services/vectorize.d.ts +282 -0
  407. package/lib/services/vectorize.d.ts.map +1 -0
  408. package/lib/services/vectorize.js +340 -0
  409. package/lib/services/vectorize.js.map +1 -0
  410. package/lib/services/waiting-rooms.d.ts +1009 -0
  411. package/lib/services/waiting-rooms.d.ts.map +1 -0
  412. package/lib/services/waiting-rooms.js +1757 -0
  413. package/lib/services/waiting-rooms.js.map +1 -0
  414. package/lib/services/web3.d.ts +274 -0
  415. package/lib/services/web3.d.ts.map +1 -0
  416. package/lib/services/web3.js +362 -0
  417. package/lib/services/web3.js.map +1 -0
  418. package/lib/services/workers-for-platforms.d.ts +1224 -0
  419. package/lib/services/workers-for-platforms.d.ts.map +1 -0
  420. package/lib/services/workers-for-platforms.js +2078 -0
  421. package/lib/services/workers-for-platforms.js.map +1 -0
  422. package/lib/services/workers.d.ts +3498 -0
  423. package/lib/services/workers.d.ts.map +1 -0
  424. package/lib/services/workers.js +5967 -0
  425. package/lib/services/workers.js.map +1 -0
  426. package/lib/services/workflows.d.ts +359 -0
  427. package/lib/services/workflows.d.ts.map +1 -0
  428. package/lib/services/workflows.js +516 -0
  429. package/lib/services/workflows.js.map +1 -0
  430. package/lib/services/zaraz.d.ts +300 -0
  431. package/lib/services/zaraz.d.ts.map +1 -0
  432. package/lib/services/zaraz.js +298 -0
  433. package/lib/services/zaraz.js.map +1 -0
  434. package/lib/services/zero-trust.d.ts +15449 -0
  435. package/lib/services/zero-trust.d.ts.map +1 -0
  436. package/lib/services/zero-trust.js +29194 -0
  437. package/lib/services/zero-trust.js.map +1 -0
  438. package/lib/services/zones.d.ts +1278 -0
  439. package/lib/services/zones.d.ts.map +1 -0
  440. package/lib/services/zones.js +2416 -0
  441. package/lib/services/zones.js.map +1 -0
  442. package/lib/traits.d.ts +28 -0
  443. package/lib/traits.d.ts.map +1 -0
  444. package/lib/traits.js +26 -0
  445. package/lib/traits.js.map +1 -0
  446. package/package.json +68 -5
  447. package/src/auth.ts +14 -0
  448. package/src/category.ts +1 -0
  449. package/src/client/api.ts +329 -0
  450. package/src/client/index.ts +7 -0
  451. package/src/credentials.ts +30 -0
  452. package/src/errors.ts +57 -0
  453. package/src/index.ts +9 -0
  454. package/src/retry.ts +35 -0
  455. package/src/schemas.ts +51 -0
  456. package/src/services/abuse-reports.ts +747 -0
  457. package/src/services/accounts.ts +1947 -0
  458. package/src/services/acm.ts +170 -0
  459. package/src/services/addressing.ts +3947 -0
  460. package/src/services/ai-gateway.ts +3335 -0
  461. package/src/services/ai.ts +727 -0
  462. package/src/services/aisearch.ts +4750 -0
  463. package/src/services/alerting.ts +2947 -0
  464. package/src/services/api-gateway.ts +3391 -0
  465. package/src/services/argo.ts +254 -0
  466. package/src/services/audit-logs.ts +90 -0
  467. package/src/services/billing.ts +172 -0
  468. package/src/services/bot-management.ts +541 -0
  469. package/src/services/botnet-feed.ts +193 -0
  470. package/src/services/brand-protection.ts +553 -0
  471. package/src/services/browser-rendering.ts +2707 -0
  472. package/src/services/cache.ts +827 -0
  473. package/src/services/calls.ts +483 -0
  474. package/src/services/certificate-authorities.ts +110 -0
  475. package/src/services/client-certificates.ts +718 -0
  476. package/src/services/cloud-connector.ts +181 -0
  477. package/src/services/cloudforce-one.ts +3876 -0
  478. package/src/services/connectivity.ts +629 -0
  479. package/src/services/content-scanning.ts +385 -0
  480. package/src/services/custom-certificates.ts +611 -0
  481. package/src/services/custom-hostnames.ts +2453 -0
  482. package/src/services/custom-nameservers.ts +182 -0
  483. package/src/services/custom-pages.ts +264 -0
  484. package/src/services/d1.ts +1034 -0
  485. package/src/services/dcv-delegation.ts +52 -0
  486. package/src/services/diagnostics.ts +603 -0
  487. package/src/services/dns-firewall.ts +823 -0
  488. package/src/services/dns.ts +8897 -0
  489. package/src/services/durable-objects.ts +148 -0
  490. package/src/services/email-routing.ts +1602 -0
  491. package/src/services/email-security.ts +4283 -0
  492. package/src/services/filters.ts +370 -0
  493. package/src/services/firewall.ts +3896 -0
  494. package/src/services/healthchecks.ts +1750 -0
  495. package/src/services/hostnames.ts +218 -0
  496. package/src/services/hyperdrive.ts +592 -0
  497. package/src/services/iam.ts +1668 -0
  498. package/src/services/images.ts +1086 -0
  499. package/src/services/intel.ts +2768 -0
  500. package/src/services/ips.ts +88 -0
  501. package/src/services/keyless-certificates.ts +462 -0
  502. package/src/services/kv.ts +1011 -0
  503. package/src/services/leaked-credential-checks.ts +325 -0
  504. package/src/services/load-balancers.ts +6438 -0
  505. package/src/services/logpush.ts +1667 -0
  506. package/src/services/logs.ts +375 -0
  507. package/src/services/magic-cloud-networking.ts +10020 -0
  508. package/src/services/magic-network-monitoring.ts +1156 -0
  509. package/src/services/magic-transit.ts +13050 -0
  510. package/src/services/managed-transforms.ts +237 -0
  511. package/src/services/memberships.ts +615 -0
  512. package/src/services/mtls-certificates.ts +374 -0
  513. package/src/services/network-interconnects.ts +1253 -0
  514. package/src/services/organizations.ts +674 -0
  515. package/src/services/origin-ca-certificates.ts +303 -0
  516. package/src/services/origin-post-quantum-encryption.ts +128 -0
  517. package/src/services/origin-tls-client-auth.ts +878 -0
  518. package/src/services/page-rules.ts +2612 -0
  519. package/src/services/page-shield.ts +1195 -0
  520. package/src/services/pages.ts +5709 -0
  521. package/src/services/pipelines.ts +6000 -0
  522. package/src/services/queues.ts +2629 -0
  523. package/src/services/r2-data-catalog.ts +1119 -0
  524. package/src/services/r2.ts +3348 -0
  525. package/src/services/radar.ts +42152 -0
  526. package/src/services/rate-limits.ts +1150 -0
  527. package/src/services/realtime-kit.ts +11079 -0
  528. package/src/services/registrar.ts +295 -0
  529. package/src/services/request-tracers.ts +158 -0
  530. package/src/services/resource-sharing.ts +1832 -0
  531. package/src/services/rules.ts +837 -0
  532. package/src/services/rulesets.ts +15144 -0
  533. package/src/services/rum.ts +901 -0
  534. package/src/services/schema-validation.ts +733 -0
  535. package/src/services/secrets-store.ts +860 -0
  536. package/src/services/security-center.ts +397 -0
  537. package/src/services/security-txt.ts +315 -0
  538. package/src/services/snippets.ts +420 -0
  539. package/src/services/spectrum.ts +1103 -0
  540. package/src/services/speed.ts +1056 -0
  541. package/src/services/ssl.ts +1587 -0
  542. package/src/services/stream.ts +2756 -0
  543. package/src/services/token-validation.ts +1585 -0
  544. package/src/services/turnstile.ts +643 -0
  545. package/src/services/url-normalization.ts +129 -0
  546. package/src/services/url-scanner.ts +1851 -0
  547. package/src/services/user.ts +1384 -0
  548. package/src/services/vectorize.ts +816 -0
  549. package/src/services/waiting-rooms.ts +3807 -0
  550. package/src/services/web3.ts +834 -0
  551. package/src/services/workers-for-platforms.ts +3859 -0
  552. package/src/services/workers.ts +11637 -0
  553. package/src/services/workflows.ts +1124 -0
  554. package/src/services/zaraz.ts +797 -0
  555. package/src/services/zero-trust.ts +58929 -0
  556. package/src/services/zones.ts +4875 -0
  557. package/src/traits.ts +47 -0
  558. package/bun.lock +0 -26
  559. package/index.ts +0 -1
  560. package/tsconfig.json +0 -29
@@ -0,0 +1,724 @@
1
+ /**
2
+ * Cloudflare LOGPUSH API
3
+ *
4
+ * Generated from Cloudflare TypeScript SDK.
5
+ * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service logpush
6
+ */
7
+ import * as Schema from "effect/Schema";
8
+ import * as API from "../client/api.js";
9
+ import * as T from "../traits";
10
+ import {} from "../errors";
11
+ export const GetDatasetFieldRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12
+ datasetId: Schema.Union([
13
+ Schema.Literal("access_requests"),
14
+ Schema.Literal("audit_logs"),
15
+ Schema.Literal("audit_logs_v2"),
16
+ Schema.Literal("biso_user_actions"),
17
+ Schema.Literal("casb_findings"),
18
+ Schema.Literal("device_posture_results"),
19
+ Schema.Literal("dex_application_tests"),
20
+ Schema.Literal("dex_device_state_events"),
21
+ Schema.Literal("dlp_forensic_copies"),
22
+ Schema.Literal("dns_firewall_logs"),
23
+ Schema.Literal("dns_logs"),
24
+ Schema.Literal("email_security_alerts"),
25
+ Schema.Literal("firewall_events"),
26
+ Schema.Literal("gateway_dns"),
27
+ Schema.Literal("gateway_http"),
28
+ Schema.Literal("gateway_network"),
29
+ Schema.Literal("http_requests"),
30
+ Schema.Literal("ipsec_logs"),
31
+ Schema.Literal("magic_ids_detections"),
32
+ Schema.Literal("nel_reports"),
33
+ Schema.Literal("network_analytics_logs"),
34
+ Schema.Literal("page_shield_events"),
35
+ Schema.Literal("sinkhole_http_logs"),
36
+ Schema.Literal("spectrum_events"),
37
+ Schema.Literal("ssh_logs"),
38
+ Schema.Literal("warp_config_changes"),
39
+ Schema.Literal("warp_toggle_changes"),
40
+ Schema.Literal("workers_trace_events"),
41
+ Schema.Literal("zaraz_events"),
42
+ Schema.Literal("zero_trust_network_sessions"),
43
+ Schema.Null,
44
+ ]).pipe(T.HttpPath("datasetId")),
45
+ }).pipe(T.Http({
46
+ method: "GET",
47
+ path: "/{accountOrZone}/{accountOrZoneId}/logpush/datasets/{datasetId}/fields",
48
+ }));
49
+ export const GetDatasetFieldResponse =
50
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Unknown;
51
+ export const getDatasetField = API.make(() => ({
52
+ input: GetDatasetFieldRequest,
53
+ output: GetDatasetFieldResponse,
54
+ errors: [],
55
+ }));
56
+ export const GetDatasetJobRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
57
+ datasetId: Schema.Union([
58
+ Schema.Literal("access_requests"),
59
+ Schema.Literal("audit_logs"),
60
+ Schema.Literal("audit_logs_v2"),
61
+ Schema.Literal("biso_user_actions"),
62
+ Schema.Literal("casb_findings"),
63
+ Schema.Literal("device_posture_results"),
64
+ Schema.Literal("dex_application_tests"),
65
+ Schema.Literal("dex_device_state_events"),
66
+ Schema.Literal("dlp_forensic_copies"),
67
+ Schema.Literal("dns_firewall_logs"),
68
+ Schema.Literal("dns_logs"),
69
+ Schema.Literal("email_security_alerts"),
70
+ Schema.Literal("firewall_events"),
71
+ Schema.Literal("gateway_dns"),
72
+ Schema.Literal("gateway_http"),
73
+ Schema.Literal("gateway_network"),
74
+ Schema.Literal("http_requests"),
75
+ Schema.Literal("ipsec_logs"),
76
+ Schema.Literal("magic_ids_detections"),
77
+ Schema.Literal("nel_reports"),
78
+ Schema.Literal("network_analytics_logs"),
79
+ Schema.Literal("page_shield_events"),
80
+ Schema.Literal("sinkhole_http_logs"),
81
+ Schema.Literal("spectrum_events"),
82
+ Schema.Literal("ssh_logs"),
83
+ Schema.Literal("warp_config_changes"),
84
+ Schema.Literal("warp_toggle_changes"),
85
+ Schema.Literal("workers_trace_events"),
86
+ Schema.Literal("zaraz_events"),
87
+ Schema.Literal("zero_trust_network_sessions"),
88
+ Schema.Null,
89
+ ]).pipe(T.HttpPath("datasetId")),
90
+ }).pipe(T.Http({
91
+ method: "GET",
92
+ path: "/{accountOrZone}/{accountOrZoneId}/logpush/datasets/{datasetId}/jobs",
93
+ }));
94
+ export const GetDatasetJobResponse =
95
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Unknown;
96
+ export const getDatasetJob = API.make(() => ({
97
+ input: GetDatasetJobRequest,
98
+ output: GetDatasetJobResponse,
99
+ errors: [],
100
+ }));
101
+ export const GetEdgeRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
102
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
103
+ }).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/logpush/edge/jobs" }));
104
+ export const GetEdgeResponse =
105
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Unknown;
106
+ export const getEdge = API.make(() => ({
107
+ input: GetEdgeRequest,
108
+ output: GetEdgeResponse,
109
+ errors: [],
110
+ }));
111
+ export const CreateEdgeRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
112
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
113
+ fields: Schema.optional(Schema.String),
114
+ filter: Schema.optional(Schema.String),
115
+ sample: Schema.optional(Schema.Number),
116
+ }).pipe(T.Http({ method: "POST", path: "/zones/{zone_id}/logpush/edge/jobs" }));
117
+ export const CreateEdgeResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
118
+ destinationConf: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
119
+ fields: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
120
+ filter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
121
+ sample: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
122
+ sessionId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
123
+ }).pipe(Schema.encodeKeys({
124
+ destinationConf: "destination_conf",
125
+ fields: "fields",
126
+ filter: "filter",
127
+ sample: "sample",
128
+ sessionId: "session_id",
129
+ }));
130
+ export const createEdge = API.make(() => ({
131
+ input: CreateEdgeRequest,
132
+ output: CreateEdgeResponse,
133
+ errors: [],
134
+ }));
135
+ export const DestinationExistsValidateRequest =
136
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
137
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
138
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
139
+ destinationConf: Schema.String,
140
+ }).pipe(Schema.encodeKeys({ destinationConf: "destination_conf" }), T.Http({
141
+ method: "POST",
142
+ path: "/{accountOrZone}/{accountOrZoneId}/logpush/validate/destination/exists",
143
+ }));
144
+ export const DestinationExistsValidateResponse =
145
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
146
+ exists: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
147
+ });
148
+ export const destinationExistsValidate = API.make(() => ({
149
+ input: DestinationExistsValidateRequest,
150
+ output: DestinationExistsValidateResponse,
151
+ errors: [],
152
+ }));
153
+ export const GetJobRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
154
+ jobId: Schema.Number.pipe(T.HttpPath("jobId")),
155
+ }).pipe(T.Http({
156
+ method: "GET",
157
+ path: "/{accountOrZone}/{accountOrZoneId}/logpush/jobs/{jobId}",
158
+ }));
159
+ export const GetJobResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
160
+ id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
161
+ dataset: Schema.optional(Schema.Union([
162
+ Schema.Literal("access_requests"),
163
+ Schema.Literal("audit_logs"),
164
+ Schema.Literal("audit_logs_v2"),
165
+ Schema.Literal("biso_user_actions"),
166
+ Schema.Literal("casb_findings"),
167
+ Schema.Literal("device_posture_results"),
168
+ Schema.Literal("dex_application_tests"),
169
+ Schema.Literal("dex_device_state_events"),
170
+ Schema.Literal("dlp_forensic_copies"),
171
+ Schema.Literal("dns_firewall_logs"),
172
+ Schema.Literal("dns_logs"),
173
+ Schema.Literal("email_security_alerts"),
174
+ Schema.Literal("firewall_events"),
175
+ Schema.Literal("gateway_dns"),
176
+ Schema.Literal("gateway_http"),
177
+ Schema.Literal("gateway_network"),
178
+ Schema.Literal("http_requests"),
179
+ Schema.Literal("ipsec_logs"),
180
+ Schema.Literal("magic_ids_detections"),
181
+ Schema.Literal("nel_reports"),
182
+ Schema.Literal("network_analytics_logs"),
183
+ Schema.Literal("page_shield_events"),
184
+ Schema.Literal("sinkhole_http_logs"),
185
+ Schema.Literal("spectrum_events"),
186
+ Schema.Literal("ssh_logs"),
187
+ Schema.Literal("warp_config_changes"),
188
+ Schema.Literal("warp_toggle_changes"),
189
+ Schema.Literal("workers_trace_events"),
190
+ Schema.Literal("zaraz_events"),
191
+ Schema.Literal("zero_trust_network_sessions"),
192
+ Schema.Null,
193
+ ])),
194
+ destinationConf: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
195
+ enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
196
+ errorMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
197
+ frequency: Schema.optional(Schema.Union([Schema.Literal("high"), Schema.Literal("low"), Schema.Null])),
198
+ kind: Schema.optional(Schema.Union([Schema.Literals(["", "edge"]), Schema.Null])),
199
+ lastComplete: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
200
+ lastError: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
201
+ logpullOptions: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
202
+ maxUploadBytes: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
203
+ maxUploadIntervalSeconds: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
204
+ maxUploadRecords: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
205
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
206
+ outputOptions: Schema.optional(Schema.Union([
207
+ Schema.Struct({
208
+ batchPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
209
+ batchSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
210
+ "cve-2021-44228": Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
211
+ fieldDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
212
+ fieldNames: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
213
+ outputType: Schema.optional(Schema.Union([Schema.Literals(["ndjson", "csv"]), Schema.Null])),
214
+ recordDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
215
+ recordPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
216
+ recordSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
217
+ recordTemplate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
218
+ sampleRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
219
+ timestampFormat: Schema.optional(Schema.Union([
220
+ Schema.Literals(["unixnano", "unix", "rfc3339"]),
221
+ Schema.Null,
222
+ ])),
223
+ }).pipe(Schema.encodeKeys({
224
+ batchPrefix: "batch_prefix",
225
+ batchSuffix: "batch_suffix",
226
+ "cve-2021-44228": "CVE-2021-44228",
227
+ fieldDelimiter: "field_delimiter",
228
+ fieldNames: "field_names",
229
+ outputType: "output_type",
230
+ recordDelimiter: "record_delimiter",
231
+ recordPrefix: "record_prefix",
232
+ recordSuffix: "record_suffix",
233
+ recordTemplate: "record_template",
234
+ sampleRate: "sample_rate",
235
+ timestampFormat: "timestamp_format",
236
+ })),
237
+ Schema.Null,
238
+ ])),
239
+ }).pipe(Schema.encodeKeys({
240
+ id: "id",
241
+ dataset: "dataset",
242
+ destinationConf: "destination_conf",
243
+ enabled: "enabled",
244
+ errorMessage: "error_message",
245
+ frequency: "frequency",
246
+ kind: "kind",
247
+ lastComplete: "last_complete",
248
+ lastError: "last_error",
249
+ logpullOptions: "logpull_options",
250
+ maxUploadBytes: "max_upload_bytes",
251
+ maxUploadIntervalSeconds: "max_upload_interval_seconds",
252
+ maxUploadRecords: "max_upload_records",
253
+ name: "name",
254
+ outputOptions: "output_options",
255
+ }));
256
+ export const getJob = API.make(() => ({
257
+ input: GetJobRequest,
258
+ output: GetJobResponse,
259
+ errors: [],
260
+ }));
261
+ export const ListJobsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({
262
+ method: "GET",
263
+ path: "/{accountOrZone}/{accountOrZoneId}/logpush/jobs",
264
+ }));
265
+ export const ListJobsResponse =
266
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Unknown;
267
+ export const listJobs = API.make(() => ({
268
+ input: ListJobsRequest,
269
+ output: ListJobsResponse,
270
+ errors: [],
271
+ }));
272
+ export const CreateJobRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
273
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
274
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
275
+ destinationConf: Schema.String,
276
+ dataset: Schema.optional(Schema.Union([
277
+ Schema.Literal("access_requests"),
278
+ Schema.Literal("audit_logs"),
279
+ Schema.Literal("audit_logs_v2"),
280
+ Schema.Literal("biso_user_actions"),
281
+ Schema.Literal("casb_findings"),
282
+ Schema.Literal("device_posture_results"),
283
+ Schema.Literal("dex_application_tests"),
284
+ Schema.Literal("dex_device_state_events"),
285
+ Schema.Literal("dlp_forensic_copies"),
286
+ Schema.Literal("dns_firewall_logs"),
287
+ Schema.Literal("dns_logs"),
288
+ Schema.Literal("email_security_alerts"),
289
+ Schema.Literal("firewall_events"),
290
+ Schema.Literal("gateway_dns"),
291
+ Schema.Literal("gateway_http"),
292
+ Schema.Literal("gateway_network"),
293
+ Schema.Literal("http_requests"),
294
+ Schema.Literal("ipsec_logs"),
295
+ Schema.Literal("magic_ids_detections"),
296
+ Schema.Literal("nel_reports"),
297
+ Schema.Literal("network_analytics_logs"),
298
+ Schema.Literal("page_shield_events"),
299
+ Schema.Literal("sinkhole_http_logs"),
300
+ Schema.Literal("spectrum_events"),
301
+ Schema.Literal("ssh_logs"),
302
+ Schema.Literal("warp_config_changes"),
303
+ Schema.Literal("warp_toggle_changes"),
304
+ Schema.Literal("workers_trace_events"),
305
+ Schema.Literal("zaraz_events"),
306
+ Schema.Literal("zero_trust_network_sessions"),
307
+ Schema.Null,
308
+ ])),
309
+ enabled: Schema.optional(Schema.Boolean),
310
+ filter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
311
+ frequency: Schema.optional(Schema.Union([Schema.Literal("high"), Schema.Literal("low"), Schema.Null])),
312
+ kind: Schema.optional(Schema.Literals(["", "edge"])),
313
+ logpullOptions: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
314
+ maxUploadBytes: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
315
+ maxUploadIntervalSeconds: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
316
+ maxUploadRecords: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
317
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
318
+ outputOptions: Schema.optional(Schema.Union([
319
+ Schema.Struct({
320
+ batchPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
321
+ batchSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
322
+ "cve-2021-44228": Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
323
+ fieldDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
324
+ fieldNames: Schema.optional(Schema.Array(Schema.String)),
325
+ outputType: Schema.optional(Schema.Literals(["ndjson", "csv"])),
326
+ recordDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
327
+ recordPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
328
+ recordSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
329
+ recordTemplate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
330
+ sampleRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
331
+ timestampFormat: Schema.optional(Schema.Literals(["unixnano", "unix", "rfc3339"])),
332
+ }).pipe(Schema.encodeKeys({
333
+ batchPrefix: "batch_prefix",
334
+ batchSuffix: "batch_suffix",
335
+ "cve-2021-44228": "CVE-2021-44228",
336
+ fieldDelimiter: "field_delimiter",
337
+ fieldNames: "field_names",
338
+ outputType: "output_type",
339
+ recordDelimiter: "record_delimiter",
340
+ recordPrefix: "record_prefix",
341
+ recordSuffix: "record_suffix",
342
+ recordTemplate: "record_template",
343
+ sampleRate: "sample_rate",
344
+ timestampFormat: "timestamp_format",
345
+ })),
346
+ Schema.Null,
347
+ ])),
348
+ ownershipChallenge: Schema.optional(Schema.String),
349
+ }).pipe(Schema.encodeKeys({
350
+ destinationConf: "destination_conf",
351
+ dataset: "dataset",
352
+ enabled: "enabled",
353
+ filter: "filter",
354
+ frequency: "frequency",
355
+ kind: "kind",
356
+ logpullOptions: "logpull_options",
357
+ maxUploadBytes: "max_upload_bytes",
358
+ maxUploadIntervalSeconds: "max_upload_interval_seconds",
359
+ maxUploadRecords: "max_upload_records",
360
+ name: "name",
361
+ outputOptions: "output_options",
362
+ ownershipChallenge: "ownership_challenge",
363
+ }), T.Http({
364
+ method: "POST",
365
+ path: "/{accountOrZone}/{accountOrZoneId}/logpush/jobs",
366
+ }));
367
+ export const CreateJobResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
368
+ id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
369
+ dataset: Schema.optional(Schema.Union([
370
+ Schema.Literal("access_requests"),
371
+ Schema.Literal("audit_logs"),
372
+ Schema.Literal("audit_logs_v2"),
373
+ Schema.Literal("biso_user_actions"),
374
+ Schema.Literal("casb_findings"),
375
+ Schema.Literal("device_posture_results"),
376
+ Schema.Literal("dex_application_tests"),
377
+ Schema.Literal("dex_device_state_events"),
378
+ Schema.Literal("dlp_forensic_copies"),
379
+ Schema.Literal("dns_firewall_logs"),
380
+ Schema.Literal("dns_logs"),
381
+ Schema.Literal("email_security_alerts"),
382
+ Schema.Literal("firewall_events"),
383
+ Schema.Literal("gateway_dns"),
384
+ Schema.Literal("gateway_http"),
385
+ Schema.Literal("gateway_network"),
386
+ Schema.Literal("http_requests"),
387
+ Schema.Literal("ipsec_logs"),
388
+ Schema.Literal("magic_ids_detections"),
389
+ Schema.Literal("nel_reports"),
390
+ Schema.Literal("network_analytics_logs"),
391
+ Schema.Literal("page_shield_events"),
392
+ Schema.Literal("sinkhole_http_logs"),
393
+ Schema.Literal("spectrum_events"),
394
+ Schema.Literal("ssh_logs"),
395
+ Schema.Literal("warp_config_changes"),
396
+ Schema.Literal("warp_toggle_changes"),
397
+ Schema.Literal("workers_trace_events"),
398
+ Schema.Literal("zaraz_events"),
399
+ Schema.Literal("zero_trust_network_sessions"),
400
+ Schema.Null,
401
+ ])),
402
+ destinationConf: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
403
+ enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
404
+ errorMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
405
+ frequency: Schema.optional(Schema.Union([Schema.Literal("high"), Schema.Literal("low"), Schema.Null])),
406
+ kind: Schema.optional(Schema.Union([Schema.Literals(["", "edge"]), Schema.Null])),
407
+ lastComplete: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
408
+ lastError: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
409
+ logpullOptions: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
410
+ maxUploadBytes: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
411
+ maxUploadIntervalSeconds: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
412
+ maxUploadRecords: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
413
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
414
+ outputOptions: Schema.optional(Schema.Union([
415
+ Schema.Struct({
416
+ batchPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
417
+ batchSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
418
+ "cve-2021-44228": Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
419
+ fieldDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
420
+ fieldNames: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
421
+ outputType: Schema.optional(Schema.Union([Schema.Literals(["ndjson", "csv"]), Schema.Null])),
422
+ recordDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
423
+ recordPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
424
+ recordSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
425
+ recordTemplate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
426
+ sampleRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
427
+ timestampFormat: Schema.optional(Schema.Union([
428
+ Schema.Literals(["unixnano", "unix", "rfc3339"]),
429
+ Schema.Null,
430
+ ])),
431
+ }).pipe(Schema.encodeKeys({
432
+ batchPrefix: "batch_prefix",
433
+ batchSuffix: "batch_suffix",
434
+ "cve-2021-44228": "CVE-2021-44228",
435
+ fieldDelimiter: "field_delimiter",
436
+ fieldNames: "field_names",
437
+ outputType: "output_type",
438
+ recordDelimiter: "record_delimiter",
439
+ recordPrefix: "record_prefix",
440
+ recordSuffix: "record_suffix",
441
+ recordTemplate: "record_template",
442
+ sampleRate: "sample_rate",
443
+ timestampFormat: "timestamp_format",
444
+ })),
445
+ Schema.Null,
446
+ ])),
447
+ }).pipe(Schema.encodeKeys({
448
+ id: "id",
449
+ dataset: "dataset",
450
+ destinationConf: "destination_conf",
451
+ enabled: "enabled",
452
+ errorMessage: "error_message",
453
+ frequency: "frequency",
454
+ kind: "kind",
455
+ lastComplete: "last_complete",
456
+ lastError: "last_error",
457
+ logpullOptions: "logpull_options",
458
+ maxUploadBytes: "max_upload_bytes",
459
+ maxUploadIntervalSeconds: "max_upload_interval_seconds",
460
+ maxUploadRecords: "max_upload_records",
461
+ name: "name",
462
+ outputOptions: "output_options",
463
+ }));
464
+ export const createJob = API.make(() => ({
465
+ input: CreateJobRequest,
466
+ output: CreateJobResponse,
467
+ errors: [],
468
+ }));
469
+ export const UpdateJobRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
470
+ jobId: Schema.Number.pipe(T.HttpPath("jobId")),
471
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
472
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
473
+ destinationConf: Schema.optional(Schema.String),
474
+ enabled: Schema.optional(Schema.Boolean),
475
+ filter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
476
+ frequency: Schema.optional(Schema.Union([Schema.Literal("high"), Schema.Literal("low"), Schema.Null])),
477
+ kind: Schema.optional(Schema.Literals(["", "edge"])),
478
+ logpullOptions: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
479
+ maxUploadBytes: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
480
+ maxUploadIntervalSeconds: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
481
+ maxUploadRecords: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
482
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
483
+ outputOptions: Schema.optional(Schema.Union([
484
+ Schema.Struct({
485
+ batchPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
486
+ batchSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
487
+ "cve-2021-44228": Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
488
+ fieldDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
489
+ fieldNames: Schema.optional(Schema.Array(Schema.String)),
490
+ outputType: Schema.optional(Schema.Literals(["ndjson", "csv"])),
491
+ recordDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
492
+ recordPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
493
+ recordSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
494
+ recordTemplate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
495
+ sampleRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
496
+ timestampFormat: Schema.optional(Schema.Literals(["unixnano", "unix", "rfc3339"])),
497
+ }).pipe(Schema.encodeKeys({
498
+ batchPrefix: "batch_prefix",
499
+ batchSuffix: "batch_suffix",
500
+ "cve-2021-44228": "CVE-2021-44228",
501
+ fieldDelimiter: "field_delimiter",
502
+ fieldNames: "field_names",
503
+ outputType: "output_type",
504
+ recordDelimiter: "record_delimiter",
505
+ recordPrefix: "record_prefix",
506
+ recordSuffix: "record_suffix",
507
+ recordTemplate: "record_template",
508
+ sampleRate: "sample_rate",
509
+ timestampFormat: "timestamp_format",
510
+ })),
511
+ Schema.Null,
512
+ ])),
513
+ ownershipChallenge: Schema.optional(Schema.String),
514
+ }).pipe(Schema.encodeKeys({
515
+ destinationConf: "destination_conf",
516
+ enabled: "enabled",
517
+ filter: "filter",
518
+ frequency: "frequency",
519
+ kind: "kind",
520
+ logpullOptions: "logpull_options",
521
+ maxUploadBytes: "max_upload_bytes",
522
+ maxUploadIntervalSeconds: "max_upload_interval_seconds",
523
+ maxUploadRecords: "max_upload_records",
524
+ name: "name",
525
+ outputOptions: "output_options",
526
+ ownershipChallenge: "ownership_challenge",
527
+ }), T.Http({
528
+ method: "PUT",
529
+ path: "/{accountOrZone}/{accountOrZoneId}/logpush/jobs/{jobId}",
530
+ }));
531
+ export const UpdateJobResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
532
+ id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
533
+ dataset: Schema.optional(Schema.Union([
534
+ Schema.Literal("access_requests"),
535
+ Schema.Literal("audit_logs"),
536
+ Schema.Literal("audit_logs_v2"),
537
+ Schema.Literal("biso_user_actions"),
538
+ Schema.Literal("casb_findings"),
539
+ Schema.Literal("device_posture_results"),
540
+ Schema.Literal("dex_application_tests"),
541
+ Schema.Literal("dex_device_state_events"),
542
+ Schema.Literal("dlp_forensic_copies"),
543
+ Schema.Literal("dns_firewall_logs"),
544
+ Schema.Literal("dns_logs"),
545
+ Schema.Literal("email_security_alerts"),
546
+ Schema.Literal("firewall_events"),
547
+ Schema.Literal("gateway_dns"),
548
+ Schema.Literal("gateway_http"),
549
+ Schema.Literal("gateway_network"),
550
+ Schema.Literal("http_requests"),
551
+ Schema.Literal("ipsec_logs"),
552
+ Schema.Literal("magic_ids_detections"),
553
+ Schema.Literal("nel_reports"),
554
+ Schema.Literal("network_analytics_logs"),
555
+ Schema.Literal("page_shield_events"),
556
+ Schema.Literal("sinkhole_http_logs"),
557
+ Schema.Literal("spectrum_events"),
558
+ Schema.Literal("ssh_logs"),
559
+ Schema.Literal("warp_config_changes"),
560
+ Schema.Literal("warp_toggle_changes"),
561
+ Schema.Literal("workers_trace_events"),
562
+ Schema.Literal("zaraz_events"),
563
+ Schema.Literal("zero_trust_network_sessions"),
564
+ Schema.Null,
565
+ ])),
566
+ destinationConf: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
567
+ enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
568
+ errorMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
569
+ frequency: Schema.optional(Schema.Union([Schema.Literal("high"), Schema.Literal("low"), Schema.Null])),
570
+ kind: Schema.optional(Schema.Union([Schema.Literals(["", "edge"]), Schema.Null])),
571
+ lastComplete: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
572
+ lastError: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
573
+ logpullOptions: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
574
+ maxUploadBytes: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
575
+ maxUploadIntervalSeconds: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
576
+ maxUploadRecords: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
577
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
578
+ outputOptions: Schema.optional(Schema.Union([
579
+ Schema.Struct({
580
+ batchPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
581
+ batchSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
582
+ "cve-2021-44228": Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
583
+ fieldDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
584
+ fieldNames: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
585
+ outputType: Schema.optional(Schema.Union([Schema.Literals(["ndjson", "csv"]), Schema.Null])),
586
+ recordDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
587
+ recordPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
588
+ recordSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
589
+ recordTemplate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
590
+ sampleRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
591
+ timestampFormat: Schema.optional(Schema.Union([
592
+ Schema.Literals(["unixnano", "unix", "rfc3339"]),
593
+ Schema.Null,
594
+ ])),
595
+ }).pipe(Schema.encodeKeys({
596
+ batchPrefix: "batch_prefix",
597
+ batchSuffix: "batch_suffix",
598
+ "cve-2021-44228": "CVE-2021-44228",
599
+ fieldDelimiter: "field_delimiter",
600
+ fieldNames: "field_names",
601
+ outputType: "output_type",
602
+ recordDelimiter: "record_delimiter",
603
+ recordPrefix: "record_prefix",
604
+ recordSuffix: "record_suffix",
605
+ recordTemplate: "record_template",
606
+ sampleRate: "sample_rate",
607
+ timestampFormat: "timestamp_format",
608
+ })),
609
+ Schema.Null,
610
+ ])),
611
+ }).pipe(Schema.encodeKeys({
612
+ id: "id",
613
+ dataset: "dataset",
614
+ destinationConf: "destination_conf",
615
+ enabled: "enabled",
616
+ errorMessage: "error_message",
617
+ frequency: "frequency",
618
+ kind: "kind",
619
+ lastComplete: "last_complete",
620
+ lastError: "last_error",
621
+ logpullOptions: "logpull_options",
622
+ maxUploadBytes: "max_upload_bytes",
623
+ maxUploadIntervalSeconds: "max_upload_interval_seconds",
624
+ maxUploadRecords: "max_upload_records",
625
+ name: "name",
626
+ outputOptions: "output_options",
627
+ }));
628
+ export const updateJob = API.make(() => ({
629
+ input: UpdateJobRequest,
630
+ output: UpdateJobResponse,
631
+ errors: [],
632
+ }));
633
+ export const DeleteJobRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
634
+ jobId: Schema.Number.pipe(T.HttpPath("jobId")),
635
+ }).pipe(T.Http({
636
+ method: "DELETE",
637
+ path: "/{accountOrZone}/{accountOrZoneId}/logpush/jobs/{jobId}",
638
+ }));
639
+ export const DeleteJobResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
640
+ id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
641
+ });
642
+ export const deleteJob = API.make(() => ({
643
+ input: DeleteJobRequest,
644
+ output: DeleteJobResponse,
645
+ errors: [],
646
+ }));
647
+ export const CreateOwnershipRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
648
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
649
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
650
+ destinationConf: Schema.String,
651
+ }).pipe(Schema.encodeKeys({ destinationConf: "destination_conf" }), T.Http({
652
+ method: "POST",
653
+ path: "/{accountOrZone}/{accountOrZoneId}/logpush/ownership",
654
+ }));
655
+ export const CreateOwnershipResponse =
656
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
657
+ filename: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
658
+ message: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
659
+ valid: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
660
+ });
661
+ export const createOwnership = API.make(() => ({
662
+ input: CreateOwnershipRequest,
663
+ output: CreateOwnershipResponse,
664
+ errors: [],
665
+ }));
666
+ export const ValidateOwnershipRequest =
667
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
668
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
669
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
670
+ destinationConf: Schema.String,
671
+ ownershipChallenge: Schema.String,
672
+ }).pipe(Schema.encodeKeys({
673
+ destinationConf: "destination_conf",
674
+ ownershipChallenge: "ownership_challenge",
675
+ }), T.Http({
676
+ method: "POST",
677
+ path: "/{accountOrZone}/{accountOrZoneId}/logpush/ownership/validate",
678
+ }));
679
+ export const ValidateOwnershipResponse =
680
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
681
+ valid: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
682
+ });
683
+ export const validateOwnership = API.make(() => ({
684
+ input: ValidateOwnershipRequest,
685
+ output: ValidateOwnershipResponse,
686
+ errors: [],
687
+ }));
688
+ export const DestinationValidateRequest =
689
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
690
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
691
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
692
+ destinationConf: Schema.String,
693
+ }).pipe(Schema.encodeKeys({ destinationConf: "destination_conf" }), T.Http({
694
+ method: "POST",
695
+ path: "/{accountOrZone}/{accountOrZoneId}/logpush/validate/destination",
696
+ }));
697
+ export const DestinationValidateResponse =
698
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
699
+ message: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
700
+ valid: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
701
+ });
702
+ export const destinationValidate = API.make(() => ({
703
+ input: DestinationValidateRequest,
704
+ output: DestinationValidateResponse,
705
+ errors: [],
706
+ }));
707
+ export const OriginValidateRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
708
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
709
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
710
+ logpullOptions: Schema.Union([Schema.String, Schema.Null]),
711
+ }).pipe(Schema.encodeKeys({ logpullOptions: "logpull_options" }), T.Http({
712
+ method: "POST",
713
+ path: "/{accountOrZone}/{accountOrZoneId}/logpush/validate/origin",
714
+ }));
715
+ export const OriginValidateResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
716
+ message: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
717
+ valid: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
718
+ });
719
+ export const originValidate = API.make(() => ({
720
+ input: OriginValidateRequest,
721
+ output: OriginValidateResponse,
722
+ errors: [],
723
+ }));
724
+ //# sourceMappingURL=logpush.js.map