@distilled.cloud/cloudflare 0.29.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (458) hide show
  1. package/lib/services/abuse-reports.d.ts.map +1 -1
  2. package/lib/services/abuse-reports.js +26 -26
  3. package/lib/services/abuse-reports.js.map +1 -1
  4. package/lib/services/accounts.d.ts.map +1 -1
  5. package/lib/services/accounts.js +114 -123
  6. package/lib/services/accounts.js.map +1 -1
  7. package/lib/services/acm.d.ts.map +1 -1
  8. package/lib/services/acm.js +23 -23
  9. package/lib/services/acm.js.map +1 -1
  10. package/lib/services/addressing.d.ts.map +1 -1
  11. package/lib/services/addressing.js +132 -132
  12. package/lib/services/addressing.js.map +1 -1
  13. package/lib/services/ai-gateway.d.ts.map +1 -1
  14. package/lib/services/ai-gateway.js +213 -207
  15. package/lib/services/ai-gateway.js.map +1 -1
  16. package/lib/services/ai-security.d.ts.map +1 -1
  17. package/lib/services/ai-security.js +13 -13
  18. package/lib/services/ai-security.js.map +1 -1
  19. package/lib/services/ai.d.ts.map +1 -1
  20. package/lib/services/ai.js +62 -62
  21. package/lib/services/ai.js.map +1 -1
  22. package/lib/services/aisearch.d.ts.map +1 -1
  23. package/lib/services/aisearch.js +187 -193
  24. package/lib/services/aisearch.js.map +1 -1
  25. package/lib/services/alerting.d.ts.map +1 -1
  26. package/lib/services/alerting.js +78 -78
  27. package/lib/services/alerting.js.map +1 -1
  28. package/lib/services/api-gateway.d.ts.map +1 -1
  29. package/lib/services/api-gateway.js +168 -177
  30. package/lib/services/api-gateway.js.map +1 -1
  31. package/lib/services/argo.js +12 -12
  32. package/lib/services/argo.js.map +1 -1
  33. package/lib/services/audit-logs.d.ts.map +1 -1
  34. package/lib/services/audit-logs.js +9 -9
  35. package/lib/services/audit-logs.js.map +1 -1
  36. package/lib/services/billing.d.ts.map +1 -1
  37. package/lib/services/billing.js +11 -11
  38. package/lib/services/billing.js.map +1 -1
  39. package/lib/services/bot-management.d.ts.map +1 -1
  40. package/lib/services/bot-management.js +18 -30
  41. package/lib/services/bot-management.js.map +1 -1
  42. package/lib/services/botnet-feed.d.ts.map +1 -1
  43. package/lib/services/botnet-feed.js +12 -12
  44. package/lib/services/botnet-feed.js.map +1 -1
  45. package/lib/services/brand-protection.d.ts.map +1 -1
  46. package/lib/services/brand-protection.js +59 -59
  47. package/lib/services/brand-protection.js.map +1 -1
  48. package/lib/services/browser-rendering.d.ts.map +1 -1
  49. package/lib/services/browser-rendering.js +103 -103
  50. package/lib/services/browser-rendering.js.map +1 -1
  51. package/lib/services/cache.d.ts.map +1 -1
  52. package/lib/services/cache.js +72 -72
  53. package/lib/services/cache.js.map +1 -1
  54. package/lib/services/calls.d.ts.map +1 -1
  55. package/lib/services/calls.js +31 -31
  56. package/lib/services/calls.js.map +1 -1
  57. package/lib/services/certificate-authorities.js +6 -6
  58. package/lib/services/certificate-authorities.js.map +1 -1
  59. package/lib/services/client-certificates.js +18 -18
  60. package/lib/services/client-certificates.js.map +1 -1
  61. package/lib/services/cloud-connector.d.ts.map +1 -1
  62. package/lib/services/cloud-connector.js +8 -8
  63. package/lib/services/cloud-connector.js.map +1 -1
  64. package/lib/services/cloudforce-one.d.ts.map +1 -1
  65. package/lib/services/cloudforce-one.js +178 -178
  66. package/lib/services/cloudforce-one.js.map +1 -1
  67. package/lib/services/connectivity.js +25 -25
  68. package/lib/services/connectivity.js.map +1 -1
  69. package/lib/services/containers.js +49 -49
  70. package/lib/services/containers.js.map +1 -1
  71. package/lib/services/content-scanning.d.ts.map +1 -1
  72. package/lib/services/content-scanning.js +29 -29
  73. package/lib/services/content-scanning.js.map +1 -1
  74. package/lib/services/csam-scanner.d.ts.map +1 -1
  75. package/lib/services/csam-scanner.js +8 -8
  76. package/lib/services/csam-scanner.js.map +1 -1
  77. package/lib/services/custom-certificates.d.ts.map +1 -1
  78. package/lib/services/custom-certificates.js +24 -24
  79. package/lib/services/custom-certificates.js.map +1 -1
  80. package/lib/services/custom-csrs.d.ts.map +1 -1
  81. package/lib/services/custom-csrs.js +22 -22
  82. package/lib/services/custom-csrs.js.map +1 -1
  83. package/lib/services/custom-hostnames.d.ts.map +1 -1
  84. package/lib/services/custom-hostnames.js +40 -40
  85. package/lib/services/custom-hostnames.js.map +1 -1
  86. package/lib/services/custom-nameservers.js +11 -11
  87. package/lib/services/custom-nameservers.js.map +1 -1
  88. package/lib/services/custom-pages.d.ts.map +1 -1
  89. package/lib/services/custom-pages.js +43 -43
  90. package/lib/services/custom-pages.js.map +1 -1
  91. package/lib/services/d1.d.ts +4 -4
  92. package/lib/services/d1.d.ts.map +1 -1
  93. package/lib/services/d1.js +69 -51
  94. package/lib/services/d1.js.map +1 -1
  95. package/lib/services/dcv-delegation.js +3 -3
  96. package/lib/services/dcv-delegation.js.map +1 -1
  97. package/lib/services/ddos-protection.js +126 -126
  98. package/lib/services/ddos-protection.js.map +1 -1
  99. package/lib/services/diagnostics.js +27 -27
  100. package/lib/services/diagnostics.js.map +1 -1
  101. package/lib/services/dls.d.ts.map +1 -1
  102. package/lib/services/dls.js +26 -26
  103. package/lib/services/dls.js.map +1 -1
  104. package/lib/services/dns-firewall.d.ts.map +1 -1
  105. package/lib/services/dns-firewall.js +34 -34
  106. package/lib/services/dns-firewall.js.map +1 -1
  107. package/lib/services/dns.d.ts.map +1 -1
  108. package/lib/services/dns.js +268 -268
  109. package/lib/services/dns.js.map +1 -1
  110. package/lib/services/durable-objects.d.ts.map +1 -1
  111. package/lib/services/durable-objects.js +11 -11
  112. package/lib/services/durable-objects.js.map +1 -1
  113. package/lib/services/email-auth.d.ts.map +1 -1
  114. package/lib/services/email-auth.js +13 -13
  115. package/lib/services/email-auth.js.map +1 -1
  116. package/lib/services/email-routing.d.ts.map +1 -1
  117. package/lib/services/email-routing.js +70 -70
  118. package/lib/services/email-routing.js.map +1 -1
  119. package/lib/services/email-security.d.ts.map +1 -1
  120. package/lib/services/email-security.js +195 -195
  121. package/lib/services/email-security.js.map +1 -1
  122. package/lib/services/email-sending.d.ts.map +1 -1
  123. package/lib/services/email-sending.js +28 -28
  124. package/lib/services/email-sending.js.map +1 -1
  125. package/lib/services/filters.d.ts.map +1 -1
  126. package/lib/services/filters.js +25 -25
  127. package/lib/services/filters.js.map +1 -1
  128. package/lib/services/firewall.d.ts.map +1 -1
  129. package/lib/services/firewall.js +149 -149
  130. package/lib/services/firewall.js.map +1 -1
  131. package/lib/services/flagship.d.ts.map +1 -1
  132. package/lib/services/flagship.js +52 -52
  133. package/lib/services/flagship.js.map +1 -1
  134. package/lib/services/fraud.js +8 -8
  135. package/lib/services/fraud.js.map +1 -1
  136. package/lib/services/google-tag-gateway.d.ts.map +1 -1
  137. package/lib/services/google-tag-gateway.js +7 -7
  138. package/lib/services/google-tag-gateway.js.map +1 -1
  139. package/lib/services/healthchecks.d.ts.map +1 -1
  140. package/lib/services/healthchecks.js +31 -31
  141. package/lib/services/healthchecks.js.map +1 -1
  142. package/lib/services/hostnames.d.ts.map +1 -1
  143. package/lib/services/hostnames.js +10 -10
  144. package/lib/services/hostnames.js.map +1 -1
  145. package/lib/services/hyperdrive.d.ts.map +1 -1
  146. package/lib/services/hyperdrive.js +32 -32
  147. package/lib/services/hyperdrive.js.map +1 -1
  148. package/lib/services/iam.d.ts.map +1 -1
  149. package/lib/services/iam.js +113 -113
  150. package/lib/services/iam.js.map +1 -1
  151. package/lib/services/images.d.ts.map +1 -1
  152. package/lib/services/images.js +59 -59
  153. package/lib/services/images.js.map +1 -1
  154. package/lib/services/intel.d.ts.map +1 -1
  155. package/lib/services/intel.js +102 -102
  156. package/lib/services/intel.js.map +1 -1
  157. package/lib/services/ips.js +5 -5
  158. package/lib/services/ips.js.map +1 -1
  159. package/lib/services/keyless-certificates.js +17 -17
  160. package/lib/services/keyless-certificates.js.map +1 -1
  161. package/lib/services/kv.d.ts.map +1 -1
  162. package/lib/services/kv.js +54 -54
  163. package/lib/services/kv.js.map +1 -1
  164. package/lib/services/leaked-credential-checks.d.ts.map +1 -1
  165. package/lib/services/leaked-credential-checks.js +22 -22
  166. package/lib/services/leaked-credential-checks.js.map +1 -1
  167. package/lib/services/load-balancers.d.ts.map +1 -1
  168. package/lib/services/load-balancers.js +139 -157
  169. package/lib/services/load-balancers.js.map +1 -1
  170. package/lib/services/logpush.d.ts.map +1 -1
  171. package/lib/services/logpush.js +69 -69
  172. package/lib/services/logpush.js.map +1 -1
  173. package/lib/services/logs.d.ts.map +1 -1
  174. package/lib/services/logs.js +58 -58
  175. package/lib/services/logs.js.map +1 -1
  176. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  177. package/lib/services/magic-cloud-networking.js +138 -168
  178. package/lib/services/magic-cloud-networking.js.map +1 -1
  179. package/lib/services/magic-network-monitoring.d.ts.map +1 -1
  180. package/lib/services/magic-network-monitoring.js +47 -65
  181. package/lib/services/magic-network-monitoring.js.map +1 -1
  182. package/lib/services/magic-transit.d.ts.map +1 -1
  183. package/lib/services/magic-transit.js +340 -364
  184. package/lib/services/magic-transit.js.map +1 -1
  185. package/lib/services/managed-transforms.js +11 -11
  186. package/lib/services/managed-transforms.js.map +1 -1
  187. package/lib/services/memberships.d.ts.map +1 -1
  188. package/lib/services/memberships.js +25 -25
  189. package/lib/services/memberships.js.map +1 -1
  190. package/lib/services/moq.d.ts.map +1 -1
  191. package/lib/services/moq.js +23 -23
  192. package/lib/services/moq.js.map +1 -1
  193. package/lib/services/mtls-certificates.d.ts.map +1 -1
  194. package/lib/services/mtls-certificates.js +17 -17
  195. package/lib/services/mtls-certificates.js.map +1 -1
  196. package/lib/services/network-interconnects.d.ts.map +1 -1
  197. package/lib/services/network-interconnects.js +56 -56
  198. package/lib/services/network-interconnects.js.map +1 -1
  199. package/lib/services/organizations.d.ts.map +1 -1
  200. package/lib/services/organizations.js +42 -42
  201. package/lib/services/organizations.js.map +1 -1
  202. package/lib/services/origin-ca-certificates.js +14 -14
  203. package/lib/services/origin-ca-certificates.js.map +1 -1
  204. package/lib/services/origin-post-quantum-encryption.js +6 -6
  205. package/lib/services/origin-post-quantum-encryption.js.map +1 -1
  206. package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
  207. package/lib/services/origin-tls-client-auth.js +52 -52
  208. package/lib/services/origin-tls-client-auth.js.map +1 -1
  209. package/lib/services/origin-tls-compliance-modes.js +12 -12
  210. package/lib/services/origin-tls-compliance-modes.js.map +1 -1
  211. package/lib/services/page-rules.d.ts.map +1 -1
  212. package/lib/services/page-rules.js +62 -62
  213. package/lib/services/page-rules.js.map +1 -1
  214. package/lib/services/page-shield.d.ts.map +1 -1
  215. package/lib/services/page-shield.js +45 -48
  216. package/lib/services/page-shield.js.map +1 -1
  217. package/lib/services/pages.d.ts.map +1 -1
  218. package/lib/services/pages.js +78 -78
  219. package/lib/services/pages.js.map +1 -1
  220. package/lib/services/pipelines.d.ts.map +1 -1
  221. package/lib/services/pipelines.js +102 -102
  222. package/lib/services/pipelines.js.map +1 -1
  223. package/lib/services/queues.d.ts.map +1 -1
  224. package/lib/services/queues.js +100 -103
  225. package/lib/services/queues.js.map +1 -1
  226. package/lib/services/r2-data-catalog.d.ts.map +1 -1
  227. package/lib/services/r2-data-catalog.js +42 -42
  228. package/lib/services/r2-data-catalog.js.map +1 -1
  229. package/lib/services/r2.d.ts.map +1 -1
  230. package/lib/services/r2.js +190 -190
  231. package/lib/services/r2.js.map +1 -1
  232. package/lib/services/radar.d.ts.map +1 -1
  233. package/lib/services/radar.js +991 -1009
  234. package/lib/services/radar.js.map +1 -1
  235. package/lib/services/rate-limits.d.ts.map +1 -1
  236. package/lib/services/rate-limits.js +24 -24
  237. package/lib/services/rate-limits.js.map +1 -1
  238. package/lib/services/realtime-kit.d.ts.map +1 -1
  239. package/lib/services/realtime-kit.js +276 -276
  240. package/lib/services/realtime-kit.js.map +1 -1
  241. package/lib/services/registrar.d.ts.map +1 -1
  242. package/lib/services/registrar.js +28 -28
  243. package/lib/services/registrar.js.map +1 -1
  244. package/lib/services/request-tracers.d.ts.map +1 -1
  245. package/lib/services/request-tracers.js +7 -7
  246. package/lib/services/request-tracers.js.map +1 -1
  247. package/lib/services/resource-sharing.d.ts.map +1 -1
  248. package/lib/services/resource-sharing.js +49 -49
  249. package/lib/services/resource-sharing.js.map +1 -1
  250. package/lib/services/resource-tagging.d.ts.map +1 -1
  251. package/lib/services/resource-tagging.js +56 -56
  252. package/lib/services/resource-tagging.js.map +1 -1
  253. package/lib/services/rules.d.ts.map +1 -1
  254. package/lib/services/rules.js +50 -50
  255. package/lib/services/rules.js.map +1 -1
  256. package/lib/services/rulesets.d.ts +2 -2
  257. package/lib/services/rulesets.d.ts.map +1 -1
  258. package/lib/services/rulesets.js +226 -190
  259. package/lib/services/rulesets.js.map +1 -1
  260. package/lib/services/rum.d.ts.map +1 -1
  261. package/lib/services/rum.js +35 -35
  262. package/lib/services/rum.js.map +1 -1
  263. package/lib/services/schema-validation.d.ts.map +1 -1
  264. package/lib/services/schema-validation.js +43 -46
  265. package/lib/services/schema-validation.js.map +1 -1
  266. package/lib/services/secrets-store.d.ts.map +1 -1
  267. package/lib/services/secrets-store.js +41 -41
  268. package/lib/services/secrets-store.js.map +1 -1
  269. package/lib/services/security-center.d.ts.map +1 -1
  270. package/lib/services/security-center.js +54 -57
  271. package/lib/services/security-center.js.map +1 -1
  272. package/lib/services/security-txt.d.ts.map +1 -1
  273. package/lib/services/security-txt.js +12 -12
  274. package/lib/services/security-txt.js.map +1 -1
  275. package/lib/services/snippets.d.ts.map +1 -1
  276. package/lib/services/snippets.js +31 -31
  277. package/lib/services/snippets.js.map +1 -1
  278. package/lib/services/spectrum.d.ts.map +1 -1
  279. package/lib/services/spectrum.js +35 -35
  280. package/lib/services/spectrum.js.map +1 -1
  281. package/lib/services/speed.d.ts.map +1 -1
  282. package/lib/services/speed.js +41 -41
  283. package/lib/services/speed.js.map +1 -1
  284. package/lib/services/ssl.d.ts.map +1 -1
  285. package/lib/services/ssl.js +48 -48
  286. package/lib/services/ssl.js.map +1 -1
  287. package/lib/services/stream.d.ts.map +1 -1
  288. package/lib/services/stream.js +147 -147
  289. package/lib/services/stream.js.map +1 -1
  290. package/lib/services/tenant-custom-nameservers.js +11 -11
  291. package/lib/services/tenant-custom-nameservers.js.map +1 -1
  292. package/lib/services/tenants.d.ts.map +1 -1
  293. package/lib/services/tenants.js +28 -28
  294. package/lib/services/tenants.js.map +1 -1
  295. package/lib/services/token-validation.d.ts.map +1 -1
  296. package/lib/services/token-validation.js +56 -56
  297. package/lib/services/token-validation.js.map +1 -1
  298. package/lib/services/turnstile.d.ts.map +1 -1
  299. package/lib/services/turnstile.js +27 -54
  300. package/lib/services/turnstile.js.map +1 -1
  301. package/lib/services/url-normalization.js +9 -9
  302. package/lib/services/url-normalization.js.map +1 -1
  303. package/lib/services/url-scanner.d.ts.map +1 -1
  304. package/lib/services/url-scanner.js +120 -120
  305. package/lib/services/url-scanner.js.map +1 -1
  306. package/lib/services/user.d.ts.map +1 -1
  307. package/lib/services/user.js +95 -95
  308. package/lib/services/user.js.map +1 -1
  309. package/lib/services/vectorize.d.ts +10 -10
  310. package/lib/services/vectorize.d.ts.map +1 -1
  311. package/lib/services/vectorize.js +59 -57
  312. package/lib/services/vectorize.js.map +1 -1
  313. package/lib/services/vulnerability-scanner.d.ts.map +1 -1
  314. package/lib/services/vulnerability-scanner.js +95 -95
  315. package/lib/services/vulnerability-scanner.js.map +1 -1
  316. package/lib/services/waiting-rooms.d.ts.map +1 -1
  317. package/lib/services/waiting-rooms.js +81 -81
  318. package/lib/services/waiting-rooms.js.map +1 -1
  319. package/lib/services/web3.d.ts.map +1 -1
  320. package/lib/services/web3.js +39 -39
  321. package/lib/services/web3.js.map +1 -1
  322. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  323. package/lib/services/workers-for-platforms.js +139 -139
  324. package/lib/services/workers-for-platforms.js.map +1 -1
  325. package/lib/services/workers.d.ts.map +1 -1
  326. package/lib/services/workers.js +420 -420
  327. package/lib/services/workers.js.map +1 -1
  328. package/lib/services/workflows.d.ts.map +1 -1
  329. package/lib/services/workflows.js +88 -88
  330. package/lib/services/workflows.js.map +1 -1
  331. package/lib/services/zaraz.d.ts.map +1 -1
  332. package/lib/services/zaraz.js +36 -39
  333. package/lib/services/zaraz.js.map +1 -1
  334. package/lib/services/zero-trust.d.ts.map +1 -1
  335. package/lib/services/zero-trust.js +1765 -1771
  336. package/lib/services/zero-trust.js.map +1 -1
  337. package/lib/services/zones.d.ts.map +1 -1
  338. package/lib/services/zones.js +168 -168
  339. package/lib/services/zones.js.map +1 -1
  340. package/package.json +3 -2
  341. package/src/services/abuse-reports.ts +35 -36
  342. package/src/services/accounts.ts +714 -760
  343. package/src/services/acm.ts +115 -125
  344. package/src/services/addressing.ts +484 -512
  345. package/src/services/ai-gateway.ts +653 -672
  346. package/src/services/ai-security.ts +47 -53
  347. package/src/services/ai.ts +172 -185
  348. package/src/services/aisearch.ts +1814 -1861
  349. package/src/services/alerting.ts +710 -742
  350. package/src/services/api-gateway.ts +481 -508
  351. package/src/services/argo.ts +12 -12
  352. package/src/services/audit-logs.ts +45 -49
  353. package/src/services/billing.ts +121 -136
  354. package/src/services/bot-management.ts +122 -136
  355. package/src/services/botnet-feed.ts +68 -74
  356. package/src/services/brand-protection.ts +275 -294
  357. package/src/services/browser-rendering.ts +758 -769
  358. package/src/services/cache.ts +148 -158
  359. package/src/services/calls.ts +110 -120
  360. package/src/services/certificate-authorities.ts +6 -6
  361. package/src/services/client-certificates.ts +18 -18
  362. package/src/services/cloud-connector.ts +11 -12
  363. package/src/services/cloudforce-one.ts +589 -617
  364. package/src/services/connectivity.ts +25 -25
  365. package/src/services/containers.ts +49 -49
  366. package/src/services/content-scanning.ts +80 -89
  367. package/src/services/csam-scanner.ts +16 -17
  368. package/src/services/custom-certificates.ts +36 -38
  369. package/src/services/custom-csrs.ts +103 -105
  370. package/src/services/custom-hostnames.ts +44 -45
  371. package/src/services/custom-nameservers.ts +11 -11
  372. package/src/services/custom-pages.ts +173 -184
  373. package/src/services/d1.ts +335 -325
  374. package/src/services/dcv-delegation.ts +3 -3
  375. package/src/services/ddos-protection.ts +126 -126
  376. package/src/services/diagnostics.ts +27 -27
  377. package/src/services/dls.ts +82 -86
  378. package/src/services/dns-firewall.ts +65 -69
  379. package/src/services/dns.ts +1080 -1107
  380. package/src/services/durable-objects.ts +36 -38
  381. package/src/services/email-auth.ts +47 -52
  382. package/src/services/email-routing.ts +264 -288
  383. package/src/services/email-security.ts +205 -208
  384. package/src/services/email-sending.ts +94 -99
  385. package/src/services/filters.ts +97 -111
  386. package/src/services/firewall.ts +698 -753
  387. package/src/services/flagship.ts +321 -336
  388. package/src/services/fraud.ts +8 -8
  389. package/src/services/google-tag-gateway.ts +17 -19
  390. package/src/services/healthchecks.ts +269 -286
  391. package/src/services/hostnames.ts +94 -99
  392. package/src/services/hyperdrive.ts +310 -324
  393. package/src/services/iam.ts +205 -212
  394. package/src/services/images.ts +138 -150
  395. package/src/services/intel.ts +248 -261
  396. package/src/services/ips.ts +5 -5
  397. package/src/services/keyless-certificates.ts +17 -17
  398. package/src/services/kv.ts +106 -110
  399. package/src/services/leaked-credential-checks.ts +49 -53
  400. package/src/services/load-balancers.ts +1119 -1212
  401. package/src/services/logpush.ts +298 -313
  402. package/src/services/logs.ts +74 -77
  403. package/src/services/magic-cloud-networking.ts +1219 -1311
  404. package/src/services/magic-network-monitoring.ts +647 -685
  405. package/src/services/magic-transit.ts +1988 -2119
  406. package/src/services/managed-transforms.ts +11 -11
  407. package/src/services/memberships.ts +101 -105
  408. package/src/services/moq.ts +100 -110
  409. package/src/services/mtls-certificates.ts +30 -32
  410. package/src/services/network-interconnects.ts +137 -145
  411. package/src/services/organizations.ts +189 -192
  412. package/src/services/origin-ca-certificates.ts +14 -14
  413. package/src/services/origin-post-quantum-encryption.ts +6 -6
  414. package/src/services/origin-tls-client-auth.ts +219 -236
  415. package/src/services/origin-tls-compliance-modes.ts +12 -12
  416. package/src/services/page-rules.ts +365 -373
  417. package/src/services/page-shield.ts +489 -528
  418. package/src/services/pages.ts +309 -319
  419. package/src/services/pipelines.ts +534 -573
  420. package/src/services/queues.ts +598 -635
  421. package/src/services/r2-data-catalog.ts +59 -60
  422. package/src/services/r2.ts +654 -689
  423. package/src/services/radar.ts +3395 -3487
  424. package/src/services/rate-limits.ts +81 -93
  425. package/src/services/realtime-kit.ts +386 -399
  426. package/src/services/registrar.ts +90 -96
  427. package/src/services/request-tracers.ts +41 -43
  428. package/src/services/resource-sharing.ts +293 -305
  429. package/src/services/resource-tagging.ts +354 -366
  430. package/src/services/rules.ts +272 -292
  431. package/src/services/rulesets.ts +1214 -1116
  432. package/src/services/rum.ts +252 -273
  433. package/src/services/schema-validation.ts +284 -305
  434. package/src/services/secrets-store.ts +130 -138
  435. package/src/services/security-center.ts +64 -69
  436. package/src/services/security-txt.ts +48 -50
  437. package/src/services/snippets.ts +132 -142
  438. package/src/services/spectrum.ts +75 -80
  439. package/src/services/speed.ts +385 -397
  440. package/src/services/ssl.ts +64 -65
  441. package/src/services/stream.ts +658 -718
  442. package/src/services/tenant-custom-nameservers.ts +11 -11
  443. package/src/services/tenants.ts +86 -93
  444. package/src/services/token-validation.ts +145 -151
  445. package/src/services/turnstile.ts +344 -381
  446. package/src/services/url-normalization.ts +9 -9
  447. package/src/services/url-scanner.ts +393 -399
  448. package/src/services/user.ts +479 -503
  449. package/src/services/vectorize.ts +215 -230
  450. package/src/services/vulnerability-scanner.ts +145 -148
  451. package/src/services/waiting-rooms.ts +759 -825
  452. package/src/services/web3.ts +186 -197
  453. package/src/services/workers-for-platforms.ts +408 -432
  454. package/src/services/workers.ts +1175 -1239
  455. package/src/services/workflows.ts +585 -616
  456. package/src/services/zaraz.ts +168 -192
  457. package/src/services/zero-trust.ts +2965 -3074
  458. package/src/services/zones.ts +753 -785
@@ -54,30 +54,36 @@ export class ProviderConfigSecretNotFound extends T.applyErrorMatchers(Schema.Ta
54
54
  export class RouteAlreadyExists extends T.applyErrorMatchers(Schema.TaggedErrorClass()("RouteAlreadyExists", {
55
55
  code: Schema.Number,
56
56
  message: Schema.String,
57
- }), [{ code: 7005, message: { includes: "already exists" } }]) {
57
+ }), [
58
+ { code: 7005, message: { includes: "already exists" } },
59
+ {
60
+ status: 500,
61
+ message: { includes: "UNIQUE constraint failed: routes.name" },
62
+ },
63
+ ]) {
58
64
  }
59
65
  export class RouteNotFound extends T.applyErrorMatchers(Schema.TaggedErrorClass()("RouteNotFound", {
60
66
  code: Schema.Number,
61
67
  message: Schema.String,
62
68
  }), [{ code: 7005, message: { includes: "not found" } }]) {
63
69
  }
64
- const GetAiGatewayResponseDlp = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
70
+ const GetAiGatewayResponseDlp = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
65
71
  action: Schema.Union([Schema.Literals(["BLOCK", "FLAG"]), Schema.String]),
66
72
  enabled: Schema.Boolean,
67
73
  profiles: Schema.Array(Schema.String),
68
74
  }));
69
- const Policy = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
75
+ const Policy = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
70
76
  id: Schema.String,
71
77
  action: Schema.Union([Schema.Literals(["FLAG", "BLOCK"]), Schema.String]),
72
78
  check: Schema.Array(Schema.Union([Schema.Literals(["REQUEST", "RESPONSE"]), Schema.String])),
73
79
  enabled: Schema.Boolean,
74
80
  profiles: Schema.Array(Schema.String),
75
81
  }));
76
- const GetAiGatewayResponseDlp1 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
82
+ const GetAiGatewayResponseDlp1 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
77
83
  enabled: Schema.Boolean,
78
84
  policies: Schema.Array(Policy),
79
85
  }));
80
- const Prompt = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
86
+ const Prompt = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
81
87
  p1: Schema.optional(Schema.Union([
82
88
  Schema.Union([Schema.Literals(["FLAG", "BLOCK"]), Schema.String]),
83
89
  Schema.Null,
@@ -150,11 +156,11 @@ const Prompt = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
150
156
  s8: "S8",
151
157
  s9: "S9",
152
158
  })));
153
- const Guardrails = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
159
+ const Guardrails = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
154
160
  prompt: Prompt,
155
161
  response: Prompt,
156
162
  }));
157
- const Otel = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
163
+ const Otel = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
158
164
  headers: Schema.Record(Schema.String, Schema.Unknown),
159
165
  url: Schema.String,
160
166
  authorization: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -168,11 +174,11 @@ const Otel = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
168
174
  authorization: "authorization",
169
175
  contentType: "content_type",
170
176
  })));
171
- const Model = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
177
+ const Model = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
172
178
  mode: Schema.Literal("filter"),
173
179
  values: Schema.Array(Schema.String),
174
180
  }));
175
- const Rule = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
181
+ const Rule = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
176
182
  limit: Schema.Number,
177
183
  limitType: Schema.Literal("cost"),
178
184
  window: Schema.Number,
@@ -186,21 +192,21 @@ const Rule = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
186
192
  Schema.Null,
187
193
  ])),
188
194
  }));
189
- const SpendLimits = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
195
+ const SpendLimits = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
190
196
  enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
191
197
  rules: Schema.optional(Schema.Union([Schema.Array(Rule), Schema.Null])),
192
198
  }));
193
- const UsageEvent = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
199
+ const UsageEvent = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
194
200
  payload: Schema.String,
195
201
  }));
196
- const Stripe = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
202
+ const Stripe = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
197
203
  authorization: Schema.String,
198
204
  usageEvents: Schema.Array(UsageEvent),
199
205
  }).pipe(Schema.encodeKeys({
200
206
  authorization: "authorization",
201
207
  usageEvents: "usage_events",
202
208
  })));
203
- const ListAiGatewaysResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
209
+ const ListAiGatewaysResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
204
210
  id: Schema.String,
205
211
  cacheInvalidateOnUpdate: Schema.Boolean,
206
212
  cacheTtl: Schema.Union([Schema.Number, Schema.Null]),
@@ -272,7 +278,7 @@ const ListAiGatewaysResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
272
278
  zdr: "zdr",
273
279
  })));
274
280
  const ListAiGatewaysResponseResultInfo =
275
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
281
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
276
282
  count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
277
283
  page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
278
284
  perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -283,24 +289,24 @@ const ListAiGatewaysResponseResultInfo =
283
289
  perPage: "per_page",
284
290
  totalCount: "total_count",
285
291
  })));
286
- const PaymentMethod = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
292
+ const PaymentMethod = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
287
293
  brand: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
288
294
  last4: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
289
295
  }));
290
- const TopupConfig = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
296
+ const TopupConfig = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
291
297
  amount: Schema.Union([Schema.Number, Schema.Null]),
292
298
  disabledReason: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
293
299
  error: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
294
300
  lastFailedAt: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
295
301
  threshold: Schema.Union([Schema.Number, Schema.Null]),
296
302
  }));
297
- const Config = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
303
+ const Config = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
298
304
  amount: Schema.Union([Schema.Number, Schema.Null]),
299
305
  duration: Schema.Union([Schema.String, Schema.Null]),
300
306
  strategy: Schema.Union([Schema.String, Schema.Null]),
301
307
  }));
302
308
  const ListCustomProvidersResponseResult =
303
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
309
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
304
310
  id: Schema.String,
305
311
  baseUrl: Schema.String,
306
312
  createdAt: Schema.String,
@@ -333,7 +339,7 @@ const ListCustomProvidersResponseResult =
333
339
  logo: "logo",
334
340
  position: "position",
335
341
  })));
336
- const Filter = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
342
+ const Filter = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
337
343
  key: Schema.Union([
338
344
  Schema.Literals([
339
345
  "created_at",
@@ -358,7 +364,7 @@ const Filter = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
358
364
  ]),
359
365
  value: Schema.Array(Schema.Union([Schema.String, Schema.Number, Schema.Boolean])),
360
366
  }));
361
- const ListDatasetsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
367
+ const ListDatasetsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
362
368
  id: Schema.String,
363
369
  createdAt: Schema.String,
364
370
  enable: Schema.Boolean,
@@ -375,43 +381,43 @@ const ListDatasetsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
375
381
  modifiedAt: "modified_at",
376
382
  name: "name",
377
383
  })));
378
- const Next = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
384
+ const Next = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
379
385
  elementId: Schema.String,
380
386
  }));
381
- const Outputs = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
387
+ const Outputs = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
382
388
  next: Next,
383
389
  }));
384
390
  const CreateDeploymentDynamicRoutingResponseElement =
385
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
391
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
386
392
  id: Schema.String,
387
393
  outputs: Outputs,
388
394
  type: Schema.Literal("start"),
389
395
  }));
390
- const Outputs2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
396
+ const Outputs2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
391
397
  false: Next,
392
398
  true: Next,
393
399
  }));
394
- const Properties = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
400
+ const Properties = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
395
401
  conditions: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
396
402
  }));
397
403
  const CreateDeploymentDynamicRoutingResponseElement1 =
398
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
404
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
399
405
  id: Schema.String,
400
406
  outputs: Outputs2,
401
407
  properties: Properties,
402
408
  type: Schema.Literal("conditional"),
403
409
  }));
404
410
  const CreateDeploymentDynamicRoutingResponseElement2 =
405
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
411
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
406
412
  id: Schema.String,
407
413
  outputs: Schema.Record(Schema.String, Schema.Unknown),
408
414
  type: Schema.Literal("percentage"),
409
415
  }));
410
- const Outputs3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
416
+ const Outputs3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
411
417
  fallback: Next,
412
418
  success: Next,
413
419
  }));
414
- const Properties2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
420
+ const Properties2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
415
421
  key: Schema.String,
416
422
  limit: Schema.Number,
417
423
  limitType: Schema.Union([
@@ -421,32 +427,32 @@ const Properties2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
421
427
  window: Schema.Number,
422
428
  }));
423
429
  const CreateDeploymentDynamicRoutingResponseElement3 =
424
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
430
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
425
431
  id: Schema.String,
426
432
  outputs: Outputs3,
427
433
  properties: Properties2,
428
434
  type: Schema.Literal("rate"),
429
435
  }));
430
- const Properties3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
436
+ const Properties3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
431
437
  model: Schema.String,
432
438
  provider: Schema.String,
433
439
  retries: Schema.Number,
434
440
  timeout: Schema.Number,
435
441
  }));
436
442
  const CreateDeploymentDynamicRoutingResponseElement4 =
437
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
443
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
438
444
  id: Schema.String,
439
445
  outputs: Outputs3,
440
446
  properties: Properties3,
441
447
  type: Schema.Literal("model"),
442
448
  }));
443
449
  const CreateDeploymentDynamicRoutingResponseElement5 =
444
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
450
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
445
451
  id: Schema.String,
446
452
  outputs: Schema.Record(Schema.String, Schema.Unknown),
447
453
  type: Schema.Literal("end"),
448
454
  }));
449
- const Deployment = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
455
+ const Deployment = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
450
456
  createdAt: Schema.String,
451
457
  deploymentId: Schema.String,
452
458
  versionId: Schema.String,
@@ -455,7 +461,7 @@ const Deployment = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
455
461
  deploymentId: "deployment_id",
456
462
  versionId: "version_id",
457
463
  })));
458
- const Data = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
464
+ const Data = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
459
465
  deployments: Schema.Array(Deployment),
460
466
  orderBy: Schema.String,
461
467
  orderByDirection: Schema.String,
@@ -468,7 +474,7 @@ const Data = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
468
474
  page: "page",
469
475
  perPage: "per_page",
470
476
  })));
471
- const Version = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
477
+ const Version = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
472
478
  active: Schema.Boolean,
473
479
  createdAt: Schema.String,
474
480
  data: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
@@ -481,7 +487,7 @@ const Version = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
481
487
  versionId: "version_id",
482
488
  isValid: "is_valid",
483
489
  })));
484
- const Route = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
490
+ const Route = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
485
491
  id: Schema.String,
486
492
  accountTag: Schema.String,
487
493
  createdAt: Schema.String,
@@ -512,7 +518,7 @@ const Route = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
512
518
  name: "name",
513
519
  version: "version",
514
520
  })));
515
- const Data2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
521
+ const Data2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
516
522
  orderBy: Schema.String,
517
523
  orderByDirection: Schema.String,
518
524
  page: Schema.Number,
@@ -525,7 +531,7 @@ const Data2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
525
531
  perPage: "per_page",
526
532
  routes: "routes",
527
533
  })));
528
- const Route2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
534
+ const Route2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
529
535
  id: Schema.String,
530
536
  accountTag: Schema.String,
531
537
  createdAt: Schema.String,
@@ -556,7 +562,7 @@ const Route2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
556
562
  name: "name",
557
563
  version: "version",
558
564
  })));
559
- const Dataset = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
565
+ const Dataset = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
560
566
  id: Schema.String,
561
567
  accountId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
562
568
  accountTag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -577,7 +583,7 @@ const Dataset = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
577
583
  modifiedAt: "modified_at",
578
584
  name: "name",
579
585
  })));
580
- const Result = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
586
+ const Result = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
581
587
  id: Schema.String,
582
588
  createdAt: Schema.String,
583
589
  evaluationId: Schema.String,
@@ -599,7 +605,7 @@ const Result = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
599
605
  totalLogs: "total_logs",
600
606
  })));
601
607
  const ListEvaluationsResponseResult =
602
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
608
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
603
609
  id: Schema.String,
604
610
  createdAt: Schema.String,
605
611
  datasets: Schema.Array(Dataset),
@@ -621,7 +627,7 @@ const ListEvaluationsResponseResult =
621
627
  totalLogs: "total_logs",
622
628
  })));
623
629
  const ListEvaluationTypesResponseResult =
624
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
630
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
625
631
  id: Schema.String,
626
632
  createdAt: Schema.String,
627
633
  description: Schema.String,
@@ -640,7 +646,7 @@ const ListEvaluationTypesResponseResult =
640
646
  name: "name",
641
647
  type: "type",
642
648
  })));
643
- const Invoice = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
649
+ const Invoice = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
644
650
  amountDue: Schema.Number,
645
651
  amountPaid: Schema.Number,
646
652
  amountRemaining: Schema.Number,
@@ -671,7 +677,7 @@ const Invoice = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
671
677
  invoicePdf: "invoice_pdf",
672
678
  status: "status",
673
679
  })));
674
- const Pagination = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
680
+ const Pagination = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
675
681
  hasMore: Schema.Boolean,
676
682
  page: Schema.Number,
677
683
  perPage: Schema.Number,
@@ -682,7 +688,7 @@ const Pagination = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
682
688
  perPage: "per_page",
683
689
  totalCount: "total_count",
684
690
  })));
685
- const History = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
691
+ const History = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
686
692
  id: Schema.String,
687
693
  aggregatedValue: Schema.Number,
688
694
  endTime: Schema.Number,
@@ -693,7 +699,7 @@ const History = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
693
699
  endTime: "end_time",
694
700
  startTime: "start_time",
695
701
  })));
696
- const ListLogsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
702
+ const ListLogsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
697
703
  id: Schema.String,
698
704
  cached: Schema.Boolean,
699
705
  createdAt: Schema.String,
@@ -734,14 +740,14 @@ const ListLogsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
734
740
  statusCode: "status_code",
735
741
  step: "step",
736
742
  })));
737
- const Period = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
743
+ const Period = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
738
744
  end: Schema.Number,
739
745
  start: Schema.Number,
740
746
  }));
741
- const Pricing = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
747
+ const Pricing = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
742
748
  unitAmountDecimal: Schema.Union([Schema.String, Schema.Null]),
743
749
  }).pipe(Schema.encodeKeys({ unitAmountDecimal: "unit_amount_decimal" })));
744
- const PretaxCreditAmount = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
750
+ const PretaxCreditAmount = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
745
751
  amount: Schema.Number,
746
752
  type: Schema.String,
747
753
  creditBalanceTransaction: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -752,7 +758,7 @@ const PretaxCreditAmount = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sche
752
758
  creditBalanceTransaction: "credit_balance_transaction",
753
759
  discount: "discount",
754
760
  })));
755
- const InvoiceLine = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
761
+ const InvoiceLine = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
756
762
  amount: Schema.Number,
757
763
  currency: Schema.String,
758
764
  description: Schema.Union([Schema.String, Schema.Null]),
@@ -770,7 +776,7 @@ const InvoiceLine = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
770
776
  pretaxCreditAmounts: "pretax_credit_amounts",
771
777
  })));
772
778
  const ListProviderConfigsResponseResult =
773
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
779
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
774
780
  id: Schema.String,
775
781
  alias: Schema.String,
776
782
  defaultConfig: Schema.Unknown,
@@ -793,7 +799,7 @@ const ListProviderConfigsResponseResult =
793
799
  rateLimit: "rate_limit",
794
800
  rateLimitPeriod: "rate_limit_period",
795
801
  })));
796
- const Version2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
802
+ const Version2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
797
803
  active: Schema.Boolean,
798
804
  createdAt: Schema.String,
799
805
  data: Schema.String,
@@ -806,7 +812,7 @@ const Version2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
806
812
  versionId: "version_id",
807
813
  isValid: "is_valid",
808
814
  })));
809
- const Data3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
815
+ const Data3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
810
816
  orderBy: Schema.String,
811
817
  orderByDirection: Schema.String,
812
818
  page: Schema.Number,
@@ -819,14 +825,14 @@ const Data3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
819
825
  perPage: "per_page",
820
826
  versions: "versions",
821
827
  })));
822
- export const GetAiGatewayRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
828
+ export const GetAiGatewayRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
823
829
  id: Schema.String.pipe(T.HttpPath("id")),
824
830
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
825
831
  }).pipe(T.Http({
826
832
  method: "GET",
827
833
  path: "/accounts/{account_id}/ai-gateway/gateways/{id}",
828
834
  })));
829
- export const GetAiGatewayResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
835
+ export const GetAiGatewayResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
830
836
  id: Schema.String,
831
837
  cacheInvalidateOnUpdate: Schema.Boolean,
832
838
  cacheTtl: Schema.Union([Schema.Number, Schema.Null]),
@@ -899,12 +905,12 @@ export const GetAiGatewayResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
899
905
  zdr: "zdr",
900
906
  }))
901
907
  .pipe(T.ResponsePath("result")));
902
- export const getAiGateway = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
908
+ export const getAiGateway = /*@__PURE__*/ API.make(() => ({
903
909
  input: GetAiGatewayRequest,
904
910
  output: GetAiGatewayResponse,
905
911
  errors: [GatewayNotFound],
906
912
  }));
907
- export const ListAiGatewaysRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
913
+ export const ListAiGatewaysRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
908
914
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
909
915
  page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
910
916
  perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
@@ -914,11 +920,11 @@ export const ListAiGatewaysRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
914
920
  path: "/accounts/{account_id}/ai-gateway/gateways",
915
921
  })));
916
922
  export const ListAiGatewaysResponse =
917
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
923
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
918
924
  result: Schema.Array(ListAiGatewaysResponseResult),
919
925
  resultInfo: Schema.optional(Schema.Union([ListAiGatewaysResponseResultInfo, Schema.Null])),
920
926
  }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
921
- export const listAiGateways = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
927
+ export const listAiGateways = /*@__PURE__*/ API.makePaginated(() => ({
922
928
  input: ListAiGatewaysRequest,
923
929
  output: ListAiGatewaysResponse,
924
930
  errors: [],
@@ -931,7 +937,7 @@ export const listAiGateways = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =
931
937
  },
932
938
  }));
933
939
  export const CreateAiGatewayRequest =
934
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
940
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
935
941
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
936
942
  id: Schema.String,
937
943
  cacheInvalidateOnUpdate: Schema.Boolean,
@@ -986,7 +992,7 @@ export const CreateAiGatewayRequest =
986
992
  path: "/accounts/{account_id}/ai-gateway/gateways",
987
993
  })));
988
994
  export const CreateAiGatewayResponse =
989
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
995
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
990
996
  id: Schema.String,
991
997
  cacheInvalidateOnUpdate: Schema.Boolean,
992
998
  cacheTtl: Schema.Union([Schema.Number, Schema.Null]),
@@ -1059,13 +1065,13 @@ export const CreateAiGatewayResponse =
1059
1065
  zdr: "zdr",
1060
1066
  }))
1061
1067
  .pipe(T.ResponsePath("result")));
1062
- export const createAiGateway = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1068
+ export const createAiGateway = /*@__PURE__*/ API.make(() => ({
1063
1069
  input: CreateAiGatewayRequest,
1064
1070
  output: CreateAiGatewayResponse,
1065
1071
  errors: [GatewayAlreadyExists],
1066
1072
  }));
1067
1073
  export const UpdateAiGatewayRequest =
1068
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1074
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1069
1075
  id: Schema.String.pipe(T.HttpPath("id")),
1070
1076
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1071
1077
  cacheInvalidateOnUpdate: Schema.Boolean,
@@ -1131,7 +1137,7 @@ export const UpdateAiGatewayRequest =
1131
1137
  path: "/accounts/{account_id}/ai-gateway/gateways/{id}",
1132
1138
  })));
1133
1139
  export const UpdateAiGatewayResponse =
1134
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1140
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1135
1141
  id: Schema.String,
1136
1142
  cacheInvalidateOnUpdate: Schema.Boolean,
1137
1143
  cacheTtl: Schema.Union([Schema.Number, Schema.Null]),
@@ -1204,13 +1210,13 @@ export const UpdateAiGatewayResponse =
1204
1210
  zdr: "zdr",
1205
1211
  }))
1206
1212
  .pipe(T.ResponsePath("result")));
1207
- export const updateAiGateway = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1213
+ export const updateAiGateway = /*@__PURE__*/ API.make(() => ({
1208
1214
  input: UpdateAiGatewayRequest,
1209
1215
  output: UpdateAiGatewayResponse,
1210
1216
  errors: [GatewayNotFound],
1211
1217
  }));
1212
1218
  export const DeleteAiGatewayRequest =
1213
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1219
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1214
1220
  id: Schema.String.pipe(T.HttpPath("id")),
1215
1221
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1216
1222
  }).pipe(T.Http({
@@ -1218,7 +1224,7 @@ export const DeleteAiGatewayRequest =
1218
1224
  path: "/accounts/{account_id}/ai-gateway/gateways/{id}",
1219
1225
  })));
1220
1226
  export const DeleteAiGatewayResponse =
1221
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1227
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1222
1228
  id: Schema.String,
1223
1229
  cacheInvalidateOnUpdate: Schema.Boolean,
1224
1230
  cacheTtl: Schema.Union([Schema.Number, Schema.Null]),
@@ -1291,20 +1297,20 @@ export const DeleteAiGatewayResponse =
1291
1297
  zdr: "zdr",
1292
1298
  }))
1293
1299
  .pipe(T.ResponsePath("result")));
1294
- export const deleteAiGateway = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1300
+ export const deleteAiGateway = /*@__PURE__*/ API.make(() => ({
1295
1301
  input: DeleteAiGatewayRequest,
1296
1302
  output: DeleteAiGatewayResponse,
1297
1303
  errors: [GatewayNotFound],
1298
1304
  }));
1299
1305
  export const CreditBalanceBillingRequest =
1300
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1306
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1301
1307
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1302
1308
  }).pipe(T.Http({
1303
1309
  method: "GET",
1304
1310
  path: "/accounts/{account_id}/ai-gateway/billing/credit-balance",
1305
1311
  })));
1306
1312
  export const CreditBalanceBillingResponse =
1307
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1313
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1308
1314
  balance: Schema.Number,
1309
1315
  hasDefaultPaymentMethod: Schema.Boolean,
1310
1316
  paymentMethod: Schema.Union([PaymentMethod, Schema.Null]),
@@ -1319,30 +1325,30 @@ export const CreditBalanceBillingResponse =
1319
1325
  firstTopupSuccess: "first_topup_success",
1320
1326
  }))
1321
1327
  .pipe(T.ResponsePath("result")));
1322
- export const creditBalanceBilling = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1328
+ export const creditBalanceBilling = /*@__PURE__*/ API.make(() => ({
1323
1329
  input: CreditBalanceBillingRequest,
1324
1330
  output: CreditBalanceBillingResponse,
1325
1331
  errors: [],
1326
1332
  }));
1327
1333
  export const GetBillingSpendingLimitRequest =
1328
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1334
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1329
1335
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1330
1336
  }).pipe(T.Http({
1331
1337
  method: "GET",
1332
1338
  path: "/accounts/{account_id}/ai-gateway/billing/spending-limit",
1333
1339
  })));
1334
1340
  export const GetBillingSpendingLimitResponse =
1335
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1341
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1336
1342
  config: Config,
1337
1343
  enabled: Schema.Boolean,
1338
1344
  }).pipe(T.ResponsePath("result")));
1339
- export const getBillingSpendingLimit = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1345
+ export const getBillingSpendingLimit = /*@__PURE__*/ API.make(() => ({
1340
1346
  input: GetBillingSpendingLimitRequest,
1341
1347
  output: GetBillingSpendingLimitResponse,
1342
1348
  errors: [],
1343
1349
  }));
1344
1350
  export const CreateBillingSpendingLimitRequest =
1345
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1351
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1346
1352
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1347
1353
  amount: Schema.Number,
1348
1354
  duration: Schema.Union([
@@ -1358,28 +1364,28 @@ export const CreateBillingSpendingLimitRequest =
1358
1364
  path: "/accounts/{account_id}/ai-gateway/billing/spending-limit",
1359
1365
  })));
1360
1366
  export const CreateBillingSpendingLimitResponse =
1361
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
1362
- export const createBillingSpendingLimit = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1367
+ /*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
1368
+ export const createBillingSpendingLimit = /*@__PURE__*/ API.make(() => ({
1363
1369
  input: CreateBillingSpendingLimitRequest,
1364
1370
  output: CreateBillingSpendingLimitResponse,
1365
1371
  errors: [NoManualTopup, AiGatewaySpendingLimitDeprecated],
1366
1372
  }));
1367
1373
  export const DeleteBillingSpendingLimitRequest =
1368
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1374
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1369
1375
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1370
1376
  }).pipe(T.Http({
1371
1377
  method: "DELETE",
1372
1378
  path: "/accounts/{account_id}/ai-gateway/billing/spending-limit",
1373
1379
  })));
1374
1380
  export const DeleteBillingSpendingLimitResponse =
1375
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
1376
- export const deleteBillingSpendingLimit = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1381
+ /*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
1382
+ export const deleteBillingSpendingLimit = /*@__PURE__*/ API.make(() => ({
1377
1383
  input: DeleteBillingSpendingLimitRequest,
1378
1384
  output: DeleteBillingSpendingLimitResponse,
1379
1385
  errors: [],
1380
1386
  }));
1381
1387
  export const CreateBillingTopupRequest =
1382
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1388
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1383
1389
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1384
1390
  amount: Schema.Number,
1385
1391
  }).pipe(T.Http({
@@ -1387,7 +1393,7 @@ export const CreateBillingTopupRequest =
1387
1393
  path: "/accounts/{account_id}/ai-gateway/billing/topup",
1388
1394
  })));
1389
1395
  export const CreateBillingTopupResponse =
1390
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1396
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1391
1397
  clientSecret: Schema.Union([Schema.String, Schema.Null]),
1392
1398
  onboarding: Schema.Boolean,
1393
1399
  paymentIntentId: Schema.String,
@@ -1402,13 +1408,13 @@ export const CreateBillingTopupResponse =
1402
1408
  last4: "last4",
1403
1409
  }))
1404
1410
  .pipe(T.ResponsePath("result")));
1405
- export const createBillingTopup = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1411
+ export const createBillingTopup = /*@__PURE__*/ API.make(() => ({
1406
1412
  input: CreateBillingTopupRequest,
1407
1413
  output: CreateBillingTopupResponse,
1408
1414
  errors: [],
1409
1415
  }));
1410
1416
  export const StatusBillingTopupRequest =
1411
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1417
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1412
1418
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1413
1419
  paymentIntentId: Schema.String,
1414
1420
  }).pipe(Schema.encodeKeys({ paymentIntentId: "payment_intent_id" }), T.Http({
@@ -1416,7 +1422,7 @@ export const StatusBillingTopupRequest =
1416
1422
  path: "/accounts/{account_id}/ai-gateway/billing/topup/status",
1417
1423
  })));
1418
1424
  export const StatusBillingTopupResponse =
1419
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1425
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1420
1426
  paymentIntentId: Schema.String,
1421
1427
  status: Schema.Union([
1422
1428
  Schema.Literals(["completed", "pending"]),
@@ -1428,33 +1434,33 @@ export const StatusBillingTopupResponse =
1428
1434
  status: "status",
1429
1435
  }))
1430
1436
  .pipe(T.ResponsePath("result")));
1431
- export const statusBillingTopup = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1437
+ export const statusBillingTopup = /*@__PURE__*/ API.make(() => ({
1432
1438
  input: StatusBillingTopupRequest,
1433
1439
  output: StatusBillingTopupResponse,
1434
1440
  errors: [],
1435
1441
  }));
1436
1442
  export const GetBillingTopupConfigRequest =
1437
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1443
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1438
1444
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1439
1445
  }).pipe(T.Http({
1440
1446
  method: "GET",
1441
1447
  path: "/accounts/{account_id}/ai-gateway/billing/topup/config",
1442
1448
  })));
1443
1449
  export const GetBillingTopupConfigResponse =
1444
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1450
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1445
1451
  amount: Schema.Union([Schema.Number, Schema.Null]),
1446
1452
  disabledReason: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1447
1453
  error: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1448
1454
  lastFailedAt: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1449
1455
  threshold: Schema.Union([Schema.Number, Schema.Null]),
1450
1456
  }).pipe(T.ResponsePath("result")));
1451
- export const getBillingTopupConfig = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1457
+ export const getBillingTopupConfig = /*@__PURE__*/ API.make(() => ({
1452
1458
  input: GetBillingTopupConfigRequest,
1453
1459
  output: GetBillingTopupConfigResponse,
1454
1460
  errors: [],
1455
1461
  }));
1456
1462
  export const CreateBillingTopupConfigRequest =
1457
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1463
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1458
1464
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1459
1465
  amount: Schema.Number,
1460
1466
  threshold: Schema.Number,
@@ -1463,31 +1469,31 @@ export const CreateBillingTopupConfigRequest =
1463
1469
  path: "/accounts/{account_id}/ai-gateway/billing/topup/config",
1464
1470
  })));
1465
1471
  export const CreateBillingTopupConfigResponse =
1466
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1472
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1467
1473
  amount: Schema.Number,
1468
1474
  threshold: Schema.Number,
1469
1475
  }).pipe(T.ResponsePath("result")));
1470
- export const createBillingTopupConfig = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1476
+ export const createBillingTopupConfig = /*@__PURE__*/ API.make(() => ({
1471
1477
  input: CreateBillingTopupConfigRequest,
1472
1478
  output: CreateBillingTopupConfigResponse,
1473
1479
  errors: [],
1474
1480
  }));
1475
1481
  export const DeleteBillingTopupConfigRequest =
1476
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1482
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1477
1483
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1478
1484
  }).pipe(T.Http({
1479
1485
  method: "DELETE",
1480
1486
  path: "/accounts/{account_id}/ai-gateway/billing/topup/config",
1481
1487
  })));
1482
1488
  export const DeleteBillingTopupConfigResponse =
1483
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
1484
- export const deleteBillingTopupConfig = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1489
+ /*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
1490
+ export const deleteBillingTopupConfig = /*@__PURE__*/ API.make(() => ({
1485
1491
  input: DeleteBillingTopupConfigRequest,
1486
1492
  output: DeleteBillingTopupConfigResponse,
1487
1493
  errors: [],
1488
1494
  }));
1489
1495
  export const GetCustomProviderRequest =
1490
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1496
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1491
1497
  id: Schema.String.pipe(T.HttpPath("id")),
1492
1498
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1493
1499
  }).pipe(T.Http({
@@ -1495,7 +1501,7 @@ export const GetCustomProviderRequest =
1495
1501
  path: "/accounts/{account_id}/ai-gateway/custom-providers/{id}",
1496
1502
  })));
1497
1503
  export const GetCustomProviderResponse =
1498
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1504
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1499
1505
  id: Schema.String,
1500
1506
  baseUrl: Schema.String,
1501
1507
  createdAt: Schema.String,
@@ -1530,13 +1536,13 @@ export const GetCustomProviderResponse =
1530
1536
  position: "position",
1531
1537
  }))
1532
1538
  .pipe(T.ResponsePath("result")));
1533
- export const getCustomProvider = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1539
+ export const getCustomProvider = /*@__PURE__*/ API.make(() => ({
1534
1540
  input: GetCustomProviderRequest,
1535
1541
  output: GetCustomProviderResponse,
1536
1542
  errors: [],
1537
1543
  }));
1538
1544
  export const ListCustomProvidersRequest =
1539
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1545
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1540
1546
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1541
1547
  page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
1542
1548
  perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
@@ -1548,11 +1554,11 @@ export const ListCustomProvidersRequest =
1548
1554
  path: "/accounts/{account_id}/ai-gateway/custom-providers",
1549
1555
  })));
1550
1556
  export const ListCustomProvidersResponse =
1551
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1557
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1552
1558
  result: Schema.Array(ListCustomProvidersResponseResult),
1553
1559
  resultInfo: Schema.optional(Schema.Union([ListAiGatewaysResponseResultInfo, Schema.Null])),
1554
1560
  }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
1555
- export const listCustomProviders = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1561
+ export const listCustomProviders = /*@__PURE__*/ API.makePaginated(() => ({
1556
1562
  input: ListCustomProvidersRequest,
1557
1563
  output: ListCustomProvidersResponse,
1558
1564
  errors: [],
@@ -1565,7 +1571,7 @@ export const listCustomProviders = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated
1565
1571
  },
1566
1572
  }));
1567
1573
  export const CreateCustomProviderRequest =
1568
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1574
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1569
1575
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1570
1576
  baseUrl: Schema.String,
1571
1577
  name: Schema.String,
@@ -1595,7 +1601,7 @@ export const CreateCustomProviderRequest =
1595
1601
  path: "/accounts/{account_id}/ai-gateway/custom-providers",
1596
1602
  })));
1597
1603
  export const CreateCustomProviderResponse =
1598
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1604
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1599
1605
  id: Schema.String,
1600
1606
  baseUrl: Schema.String,
1601
1607
  createdAt: Schema.String,
@@ -1630,13 +1636,13 @@ export const CreateCustomProviderResponse =
1630
1636
  position: "position",
1631
1637
  }))
1632
1638
  .pipe(T.ResponsePath("result")));
1633
- export const createCustomProvider = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1639
+ export const createCustomProvider = /*@__PURE__*/ API.make(() => ({
1634
1640
  input: CreateCustomProviderRequest,
1635
1641
  output: CreateCustomProviderResponse,
1636
1642
  errors: [],
1637
1643
  }));
1638
1644
  export const DeleteCustomProviderRequest =
1639
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1645
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1640
1646
  id: Schema.String.pipe(T.HttpPath("id")),
1641
1647
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1642
1648
  }).pipe(T.Http({
@@ -1644,7 +1650,7 @@ export const DeleteCustomProviderRequest =
1644
1650
  path: "/accounts/{account_id}/ai-gateway/custom-providers/{id}",
1645
1651
  })));
1646
1652
  export const DeleteCustomProviderResponse =
1647
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1653
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1648
1654
  id: Schema.String,
1649
1655
  baseUrl: Schema.String,
1650
1656
  createdAt: Schema.String,
@@ -1679,12 +1685,12 @@ export const DeleteCustomProviderResponse =
1679
1685
  position: "position",
1680
1686
  }))
1681
1687
  .pipe(T.ResponsePath("result")));
1682
- export const deleteCustomProvider = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1688
+ export const deleteCustomProvider = /*@__PURE__*/ API.make(() => ({
1683
1689
  input: DeleteCustomProviderRequest,
1684
1690
  output: DeleteCustomProviderResponse,
1685
1691
  errors: [],
1686
1692
  }));
1687
- export const GetDatasetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1693
+ export const GetDatasetRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1688
1694
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
1689
1695
  id: Schema.String.pipe(T.HttpPath("id")),
1690
1696
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1692,7 +1698,7 @@ export const GetDatasetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
1692
1698
  method: "GET",
1693
1699
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/datasets/{id}",
1694
1700
  })));
1695
- export const GetDatasetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1701
+ export const GetDatasetResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1696
1702
  id: Schema.String,
1697
1703
  createdAt: Schema.String,
1698
1704
  enable: Schema.Boolean,
@@ -1711,12 +1717,12 @@ export const GetDatasetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
1711
1717
  name: "name",
1712
1718
  }))
1713
1719
  .pipe(T.ResponsePath("result")));
1714
- export const getDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1720
+ export const getDataset = /*@__PURE__*/ API.make(() => ({
1715
1721
  input: GetDatasetRequest,
1716
1722
  output: GetDatasetResponse,
1717
1723
  errors: [DatasetNotFound],
1718
1724
  }));
1719
- export const ListDatasetsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1725
+ export const ListDatasetsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1720
1726
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
1721
1727
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1722
1728
  page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
@@ -1728,11 +1734,11 @@ export const ListDatasetsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
1728
1734
  method: "GET",
1729
1735
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/datasets",
1730
1736
  })));
1731
- export const ListDatasetsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1737
+ export const ListDatasetsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1732
1738
  result: Schema.Array(ListDatasetsResponseResult),
1733
1739
  resultInfo: Schema.optional(Schema.Union([ListAiGatewaysResponseResultInfo, Schema.Null])),
1734
1740
  }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
1735
- export const listDatasets = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1741
+ export const listDatasets = /*@__PURE__*/ API.makePaginated(() => ({
1736
1742
  input: ListDatasetsRequest,
1737
1743
  output: ListDatasetsResponse,
1738
1744
  errors: [GatewayNotFound],
@@ -1744,7 +1750,7 @@ export const listDatasets = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =>
1744
1750
  pageSize: "perPage",
1745
1751
  },
1746
1752
  }));
1747
- export const CreateDatasetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1753
+ export const CreateDatasetRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1748
1754
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
1749
1755
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1750
1756
  enable: Schema.Boolean,
@@ -1754,7 +1760,7 @@ export const CreateDatasetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
1754
1760
  method: "POST",
1755
1761
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/datasets",
1756
1762
  })));
1757
- export const CreateDatasetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1763
+ export const CreateDatasetResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1758
1764
  id: Schema.String,
1759
1765
  createdAt: Schema.String,
1760
1766
  enable: Schema.Boolean,
@@ -1773,12 +1779,12 @@ export const CreateDatasetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1773
1779
  name: "name",
1774
1780
  }))
1775
1781
  .pipe(T.ResponsePath("result")));
1776
- export const createDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1782
+ export const createDataset = /*@__PURE__*/ API.make(() => ({
1777
1783
  input: CreateDatasetRequest,
1778
1784
  output: CreateDatasetResponse,
1779
1785
  errors: [GatewayNotFound, DatasetNameAlreadyExists],
1780
1786
  }));
1781
- export const UpdateDatasetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1787
+ export const UpdateDatasetRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1782
1788
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
1783
1789
  id: Schema.String.pipe(T.HttpPath("id")),
1784
1790
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1789,7 +1795,7 @@ export const UpdateDatasetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
1789
1795
  method: "PUT",
1790
1796
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/datasets/{id}",
1791
1797
  })));
1792
- export const UpdateDatasetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1798
+ export const UpdateDatasetResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1793
1799
  id: Schema.String,
1794
1800
  createdAt: Schema.String,
1795
1801
  enable: Schema.Boolean,
@@ -1808,12 +1814,12 @@ export const UpdateDatasetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1808
1814
  name: "name",
1809
1815
  }))
1810
1816
  .pipe(T.ResponsePath("result")));
1811
- export const updateDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1817
+ export const updateDataset = /*@__PURE__*/ API.make(() => ({
1812
1818
  input: UpdateDatasetRequest,
1813
1819
  output: UpdateDatasetResponse,
1814
1820
  errors: [DatasetNotFound],
1815
1821
  }));
1816
- export const DeleteDatasetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1822
+ export const DeleteDatasetRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1817
1823
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
1818
1824
  id: Schema.String.pipe(T.HttpPath("id")),
1819
1825
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1821,7 +1827,7 @@ export const DeleteDatasetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
1821
1827
  method: "DELETE",
1822
1828
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/datasets/{id}",
1823
1829
  })));
1824
- export const DeleteDatasetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1830
+ export const DeleteDatasetResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1825
1831
  id: Schema.String,
1826
1832
  createdAt: Schema.String,
1827
1833
  enable: Schema.Boolean,
@@ -1840,13 +1846,13 @@ export const DeleteDatasetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1840
1846
  name: "name",
1841
1847
  }))
1842
1848
  .pipe(T.ResponsePath("result")));
1843
- export const deleteDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1849
+ export const deleteDataset = /*@__PURE__*/ API.make(() => ({
1844
1850
  input: DeleteDatasetRequest,
1845
1851
  output: DeleteDatasetResponse,
1846
1852
  errors: [DatasetNotFound],
1847
1853
  }));
1848
1854
  export const CreateDeploymentDynamicRoutingRequest =
1849
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1855
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1850
1856
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
1851
1857
  id: Schema.String.pipe(T.HttpPath("id")),
1852
1858
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1856,7 +1862,7 @@ export const CreateDeploymentDynamicRoutingRequest =
1856
1862
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/routes/{id}/deployments",
1857
1863
  })));
1858
1864
  export const CreateDeploymentDynamicRoutingResponse =
1859
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1865
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1860
1866
  id: Schema.String,
1861
1867
  createdAt: Schema.String,
1862
1868
  elements: Schema.optional(Schema.Union([
@@ -1883,13 +1889,13 @@ export const CreateDeploymentDynamicRoutingResponse =
1883
1889
  name: "name",
1884
1890
  }))
1885
1891
  .pipe(T.ResponsePath("result")));
1886
- export const createDeploymentDynamicRouting = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1892
+ export const createDeploymentDynamicRouting = /*@__PURE__*/ API.make(() => ({
1887
1893
  input: CreateDeploymentDynamicRoutingRequest,
1888
1894
  output: CreateDeploymentDynamicRoutingResponse,
1889
1895
  errors: [RouteNotFound],
1890
1896
  }));
1891
1897
  export const ListDeploymentsDynamicRoutingRequest =
1892
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1898
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1893
1899
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
1894
1900
  id: Schema.String.pipe(T.HttpPath("id")),
1895
1901
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1898,17 +1904,17 @@ export const ListDeploymentsDynamicRoutingRequest =
1898
1904
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/routes/{id}/deployments",
1899
1905
  })));
1900
1906
  export const ListDeploymentsDynamicRoutingResponse =
1901
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1907
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1902
1908
  data: Data,
1903
1909
  success: Schema.Boolean,
1904
1910
  }));
1905
- export const listDeploymentsDynamicRouting = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1911
+ export const listDeploymentsDynamicRouting = /*@__PURE__*/ API.make(() => ({
1906
1912
  input: ListDeploymentsDynamicRoutingRequest,
1907
1913
  output: ListDeploymentsDynamicRoutingResponse,
1908
1914
  errors: [],
1909
1915
  }));
1910
1916
  export const GetDynamicRoutingRequest =
1911
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1917
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1912
1918
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
1913
1919
  id: Schema.String.pipe(T.HttpPath("id")),
1914
1920
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1917,7 +1923,7 @@ export const GetDynamicRoutingRequest =
1917
1923
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/routes/{id}",
1918
1924
  })));
1919
1925
  export const GetDynamicRoutingResponse =
1920
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1926
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1921
1927
  id: Schema.String,
1922
1928
  createdAt: Schema.String,
1923
1929
  deployment: Deployment,
@@ -1948,13 +1954,13 @@ export const GetDynamicRoutingResponse =
1948
1954
  version: "version",
1949
1955
  }))
1950
1956
  .pipe(T.ResponsePath("result")));
1951
- export const getDynamicRouting = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1957
+ export const getDynamicRouting = /*@__PURE__*/ API.make(() => ({
1952
1958
  input: GetDynamicRoutingRequest,
1953
1959
  output: GetDynamicRoutingResponse,
1954
1960
  errors: [RouteNotFound, GatewayNotFound],
1955
1961
  }));
1956
1962
  export const ListDynamicRoutingsRequest =
1957
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1963
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1958
1964
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
1959
1965
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1960
1966
  page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
@@ -1964,17 +1970,17 @@ export const ListDynamicRoutingsRequest =
1964
1970
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/routes",
1965
1971
  })));
1966
1972
  export const ListDynamicRoutingsResponse =
1967
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1973
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1968
1974
  data: Data2,
1969
1975
  success: Schema.Boolean,
1970
1976
  }));
1971
- export const listDynamicRoutings = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1977
+ export const listDynamicRoutings = /*@__PURE__*/ API.make(() => ({
1972
1978
  input: ListDynamicRoutingsRequest,
1973
1979
  output: ListDynamicRoutingsResponse,
1974
1980
  errors: [GatewayNotFound],
1975
1981
  }));
1976
1982
  export const CreateDynamicRoutingRequest =
1977
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1983
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1978
1984
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
1979
1985
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1980
1986
  elements: Schema.Array(Schema.Union([
@@ -1991,7 +1997,7 @@ export const CreateDynamicRoutingRequest =
1991
1997
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/routes",
1992
1998
  })));
1993
1999
  export const CreateDynamicRoutingResponse =
1994
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2000
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1995
2001
  id: Schema.String,
1996
2002
  createdAt: Schema.String,
1997
2003
  deployment: Deployment,
@@ -2022,13 +2028,13 @@ export const CreateDynamicRoutingResponse =
2022
2028
  version: "version",
2023
2029
  }))
2024
2030
  .pipe(T.ResponsePath("result")));
2025
- export const createDynamicRouting = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2031
+ export const createDynamicRouting = /*@__PURE__*/ API.make(() => ({
2026
2032
  input: CreateDynamicRoutingRequest,
2027
2033
  output: CreateDynamicRoutingResponse,
2028
2034
  errors: [RouteAlreadyExists, GatewayNotFound],
2029
2035
  }));
2030
2036
  export const PatchDynamicRoutingRequest =
2031
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2037
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2032
2038
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2033
2039
  id: Schema.String.pipe(T.HttpPath("id")),
2034
2040
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2038,17 +2044,17 @@ export const PatchDynamicRoutingRequest =
2038
2044
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/routes/{id}",
2039
2045
  })));
2040
2046
  export const PatchDynamicRoutingResponse =
2041
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2047
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2042
2048
  route: Route2,
2043
2049
  success: Schema.Boolean,
2044
2050
  }));
2045
- export const patchDynamicRouting = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2051
+ export const patchDynamicRouting = /*@__PURE__*/ API.make(() => ({
2046
2052
  input: PatchDynamicRoutingRequest,
2047
2053
  output: PatchDynamicRoutingResponse,
2048
2054
  errors: [RouteNotFound, RouteAlreadyExists],
2049
2055
  }));
2050
2056
  export const DeleteDynamicRoutingRequest =
2051
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2057
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2052
2058
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2053
2059
  id: Schema.String.pipe(T.HttpPath("id")),
2054
2060
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2057,7 +2063,7 @@ export const DeleteDynamicRoutingRequest =
2057
2063
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/routes/{id}",
2058
2064
  })));
2059
2065
  export const DeleteDynamicRoutingResponse =
2060
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2066
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2061
2067
  id: Schema.String,
2062
2068
  createdAt: Schema.String,
2063
2069
  elements: Schema.optional(Schema.Union([
@@ -2084,12 +2090,12 @@ export const DeleteDynamicRoutingResponse =
2084
2090
  name: "name",
2085
2091
  }))
2086
2092
  .pipe(T.ResponsePath("result")));
2087
- export const deleteDynamicRouting = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2093
+ export const deleteDynamicRouting = /*@__PURE__*/ API.make(() => ({
2088
2094
  input: DeleteDynamicRoutingRequest,
2089
2095
  output: DeleteDynamicRoutingResponse,
2090
2096
  errors: [RouteNotFound, GatewayNotFound],
2091
2097
  }));
2092
- export const GetEvaluationRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2098
+ export const GetEvaluationRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2093
2099
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2094
2100
  id: Schema.String.pipe(T.HttpPath("id")),
2095
2101
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2097,7 +2103,7 @@ export const GetEvaluationRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
2097
2103
  method: "GET",
2098
2104
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/evaluations/{id}",
2099
2105
  })));
2100
- export const GetEvaluationResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2106
+ export const GetEvaluationResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2101
2107
  id: Schema.String,
2102
2108
  createdAt: Schema.String,
2103
2109
  datasets: Schema.Array(Dataset),
@@ -2120,13 +2126,13 @@ export const GetEvaluationResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2120
2126
  totalLogs: "total_logs",
2121
2127
  }))
2122
2128
  .pipe(T.ResponsePath("result")));
2123
- export const getEvaluation = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2129
+ export const getEvaluation = /*@__PURE__*/ API.make(() => ({
2124
2130
  input: GetEvaluationRequest,
2125
2131
  output: GetEvaluationResponse,
2126
2132
  errors: [EvaluationNotFound],
2127
2133
  }));
2128
2134
  export const ListEvaluationsRequest =
2129
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2135
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2130
2136
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2131
2137
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2132
2138
  page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
@@ -2139,11 +2145,11 @@ export const ListEvaluationsRequest =
2139
2145
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/evaluations",
2140
2146
  })));
2141
2147
  export const ListEvaluationsResponse =
2142
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2148
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2143
2149
  result: Schema.Array(ListEvaluationsResponseResult),
2144
2150
  resultInfo: Schema.optional(Schema.Union([ListAiGatewaysResponseResultInfo, Schema.Null])),
2145
2151
  }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
2146
- export const listEvaluations = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2152
+ export const listEvaluations = /*@__PURE__*/ API.makePaginated(() => ({
2147
2153
  input: ListEvaluationsRequest,
2148
2154
  output: ListEvaluationsResponse,
2149
2155
  errors: [],
@@ -2156,7 +2162,7 @@ export const listEvaluations = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(()
2156
2162
  },
2157
2163
  }));
2158
2164
  export const CreateEvaluationRequest =
2159
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2165
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2160
2166
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2161
2167
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2162
2168
  datasetIds: Schema.Array(Schema.String),
@@ -2171,7 +2177,7 @@ export const CreateEvaluationRequest =
2171
2177
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/evaluations",
2172
2178
  })));
2173
2179
  export const CreateEvaluationResponse =
2174
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2180
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2175
2181
  id: Schema.String,
2176
2182
  createdAt: Schema.String,
2177
2183
  datasets: Schema.Array(Dataset),
@@ -2194,13 +2200,13 @@ export const CreateEvaluationResponse =
2194
2200
  totalLogs: "total_logs",
2195
2201
  }))
2196
2202
  .pipe(T.ResponsePath("result")));
2197
- export const createEvaluation = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2203
+ export const createEvaluation = /*@__PURE__*/ API.make(() => ({
2198
2204
  input: CreateEvaluationRequest,
2199
2205
  output: CreateEvaluationResponse,
2200
2206
  errors: [GatewayNotFound, EvaluationNameAlreadyExists],
2201
2207
  }));
2202
2208
  export const DeleteEvaluationRequest =
2203
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2209
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2204
2210
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2205
2211
  id: Schema.String.pipe(T.HttpPath("id")),
2206
2212
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2209,7 +2215,7 @@ export const DeleteEvaluationRequest =
2209
2215
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/evaluations/{id}",
2210
2216
  })));
2211
2217
  export const DeleteEvaluationResponse =
2212
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2218
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2213
2219
  id: Schema.String,
2214
2220
  createdAt: Schema.String,
2215
2221
  datasets: Schema.optional(Schema.Union([Schema.Array(Dataset), Schema.Null])),
@@ -2232,13 +2238,13 @@ export const DeleteEvaluationResponse =
2232
2238
  totalLogs: "total_logs",
2233
2239
  }))
2234
2240
  .pipe(T.ResponsePath("result")));
2235
- export const deleteEvaluation = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2241
+ export const deleteEvaluation = /*@__PURE__*/ API.make(() => ({
2236
2242
  input: DeleteEvaluationRequest,
2237
2243
  output: DeleteEvaluationResponse,
2238
2244
  errors: [EvaluationNotFound],
2239
2245
  }));
2240
2246
  export const ListEvaluationTypesRequest =
2241
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2247
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2242
2248
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2243
2249
  page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
2244
2250
  perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
@@ -2249,11 +2255,11 @@ export const ListEvaluationTypesRequest =
2249
2255
  path: "/accounts/{account_id}/ai-gateway/evaluation-types",
2250
2256
  })));
2251
2257
  export const ListEvaluationTypesResponse =
2252
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2258
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2253
2259
  result: Schema.Array(ListEvaluationTypesResponseResult),
2254
2260
  resultInfo: Schema.optional(Schema.Union([ListAiGatewaysResponseResultInfo, Schema.Null])),
2255
2261
  }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
2256
- export const listEvaluationTypes = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2262
+ export const listEvaluationTypes = /*@__PURE__*/ API.makePaginated(() => ({
2257
2263
  input: ListEvaluationTypesRequest,
2258
2264
  output: ListEvaluationTypesResponse,
2259
2265
  errors: [],
@@ -2266,7 +2272,7 @@ export const listEvaluationTypes = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated
2266
2272
  },
2267
2273
  }));
2268
2274
  export const InvoiceHistoryBillingRequest =
2269
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2275
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2270
2276
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2271
2277
  type: Schema.optional(Schema.Union([
2272
2278
  Schema.Literals(["auto", "all", "manual"]),
@@ -2277,17 +2283,17 @@ export const InvoiceHistoryBillingRequest =
2277
2283
  path: "/accounts/{account_id}/ai-gateway/billing/invoice-history",
2278
2284
  })));
2279
2285
  export const InvoiceHistoryBillingResponse =
2280
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2286
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2281
2287
  invoices: Schema.Array(Invoice),
2282
2288
  pagination: Pagination,
2283
2289
  }).pipe(T.ResponsePath("result")));
2284
- export const invoiceHistoryBilling = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2290
+ export const invoiceHistoryBilling = /*@__PURE__*/ API.make(() => ({
2285
2291
  input: InvoiceHistoryBillingRequest,
2286
2292
  output: InvoiceHistoryBillingResponse,
2287
2293
  errors: [],
2288
2294
  }));
2289
2295
  export const UsageHistoryBillingRequest =
2290
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2296
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2291
2297
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2292
2298
  valueGroupingWindow: Schema.Union([
2293
2299
  Schema.Literals(["day", "hour"]),
@@ -2300,15 +2306,15 @@ export const UsageHistoryBillingRequest =
2300
2306
  path: "/accounts/{account_id}/ai-gateway/billing/usage-history",
2301
2307
  })));
2302
2308
  export const UsageHistoryBillingResponse =
2303
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2309
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2304
2310
  history: Schema.Array(History),
2305
2311
  }).pipe(T.ResponsePath("result")));
2306
- export const usageHistoryBilling = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2312
+ export const usageHistoryBilling = /*@__PURE__*/ API.make(() => ({
2307
2313
  input: UsageHistoryBillingRequest,
2308
2314
  output: UsageHistoryBillingResponse,
2309
2315
  errors: [],
2310
2316
  }));
2311
- export const GetLogRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2317
+ export const GetLogRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2312
2318
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2313
2319
  id: Schema.String.pipe(T.HttpPath("id")),
2314
2320
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2316,7 +2322,7 @@ export const GetLogRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sc
2316
2322
  method: "GET",
2317
2323
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/logs/{id}",
2318
2324
  })));
2319
- export const GetLogResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2325
+ export const GetLogResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2320
2326
  id: Schema.String,
2321
2327
  cached: Schema.Boolean,
2322
2328
  createdAt: Schema.String,
@@ -2371,12 +2377,12 @@ export const GetLogResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => S
2371
2377
  step: "step",
2372
2378
  }))
2373
2379
  .pipe(T.ResponsePath("result")));
2374
- export const getLog = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2380
+ export const getLog = /*@__PURE__*/ API.make(() => ({
2375
2381
  input: GetLogRequest,
2376
2382
  output: GetLogResponse,
2377
2383
  errors: [],
2378
2384
  }));
2379
- export const ListLogsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2385
+ export const ListLogsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2380
2386
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2381
2387
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2382
2388
  page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
@@ -2461,11 +2467,11 @@ export const ListLogsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2461
2467
  method: "GET",
2462
2468
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/logs",
2463
2469
  })));
2464
- export const ListLogsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2470
+ export const ListLogsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2465
2471
  result: Schema.Array(ListLogsResponseResult),
2466
2472
  resultInfo: Schema.optional(Schema.Union([ListAiGatewaysResponseResultInfo, Schema.Null])),
2467
2473
  }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
2468
- export const listLogs = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2474
+ export const listLogs = /*@__PURE__*/ API.makePaginated(() => ({
2469
2475
  input: ListLogsRequest,
2470
2476
  output: ListLogsResponse,
2471
2477
  errors: [],
@@ -2477,7 +2483,7 @@ export const listLogs = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2477
2483
  pageSize: "perPage",
2478
2484
  },
2479
2485
  }));
2480
- export const PatchLogRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2486
+ export const PatchLogRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2481
2487
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2482
2488
  id: Schema.String.pipe(T.HttpPath("id")),
2483
2489
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2488,13 +2494,13 @@ export const PatchLogRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2488
2494
  method: "PATCH",
2489
2495
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/logs/{id}",
2490
2496
  })));
2491
- export const PatchLogResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
2492
- export const patchLog = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2497
+ export const PatchLogResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
2498
+ export const patchLog = /*@__PURE__*/ API.make(() => ({
2493
2499
  input: PatchLogRequest,
2494
2500
  output: PatchLogResponse,
2495
2501
  errors: [],
2496
2502
  }));
2497
- export const DeleteLogRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2503
+ export const DeleteLogRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2498
2504
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2499
2505
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2500
2506
  filters: Schema.optional(Schema.Array(Schema.Struct({
@@ -2560,15 +2566,15 @@ export const DeleteLogRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2560
2566
  method: "DELETE",
2561
2567
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/logs",
2562
2568
  })));
2563
- export const DeleteLogResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2569
+ export const DeleteLogResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2564
2570
  success: Schema.Boolean,
2565
2571
  }));
2566
- export const deleteLog = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2572
+ export const deleteLog = /*@__PURE__*/ API.make(() => ({
2567
2573
  input: DeleteLogRequest,
2568
2574
  output: DeleteLogResponse,
2569
2575
  errors: [],
2570
2576
  }));
2571
- export const RequestLogRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2577
+ export const RequestLogRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2572
2578
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2573
2579
  id: Schema.String.pipe(T.HttpPath("id")),
2574
2580
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2576,13 +2582,13 @@ export const RequestLogRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
2576
2582
  method: "GET",
2577
2583
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/logs/{id}/request",
2578
2584
  })));
2579
- export const RequestLogResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Unknown);
2580
- export const requestLog = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2585
+ export const RequestLogResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
2586
+ export const requestLog = /*@__PURE__*/ API.make(() => ({
2581
2587
  input: RequestLogRequest,
2582
2588
  output: RequestLogResponse,
2583
2589
  errors: [],
2584
2590
  }));
2585
- export const ResponseLogRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2591
+ export const ResponseLogRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2586
2592
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2587
2593
  id: Schema.String.pipe(T.HttpPath("id")),
2588
2594
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2590,21 +2596,21 @@ export const ResponseLogRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
2590
2596
  method: "GET",
2591
2597
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/logs/{id}/response",
2592
2598
  })));
2593
- export const ResponseLogResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Unknown);
2594
- export const responseLog = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2599
+ export const ResponseLogResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
2600
+ export const responseLog = /*@__PURE__*/ API.make(() => ({
2595
2601
  input: ResponseLogRequest,
2596
2602
  output: ResponseLogResponse,
2597
2603
  errors: [],
2598
2604
  }));
2599
2605
  export const InvoicePreviewBillingRequest =
2600
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2606
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2601
2607
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2602
2608
  }).pipe(T.Http({
2603
2609
  method: "GET",
2604
2610
  path: "/accounts/{account_id}/ai-gateway/billing/invoice-preview",
2605
2611
  })));
2606
2612
  export const InvoicePreviewBillingResponse =
2607
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2613
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2608
2614
  id: Schema.String,
2609
2615
  amountDue: Schema.Number,
2610
2616
  amountPaid: Schema.Number,
@@ -2630,13 +2636,13 @@ export const InvoicePreviewBillingResponse =
2630
2636
  status: "status",
2631
2637
  }))
2632
2638
  .pipe(T.ResponsePath("result")));
2633
- export const invoicePreviewBilling = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2639
+ export const invoicePreviewBilling = /*@__PURE__*/ API.make(() => ({
2634
2640
  input: InvoicePreviewBillingRequest,
2635
2641
  output: InvoicePreviewBillingResponse,
2636
2642
  errors: [],
2637
2643
  }));
2638
2644
  export const ListProviderConfigsRequest =
2639
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2645
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2640
2646
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2641
2647
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2642
2648
  page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
@@ -2646,11 +2652,11 @@ export const ListProviderConfigsRequest =
2646
2652
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/provider_configs",
2647
2653
  })));
2648
2654
  export const ListProviderConfigsResponse =
2649
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2655
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2650
2656
  result: Schema.Array(ListProviderConfigsResponseResult),
2651
2657
  resultInfo: Schema.optional(Schema.Union([ListAiGatewaysResponseResultInfo, Schema.Null])),
2652
2658
  }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
2653
- export const listProviderConfigs = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2659
+ export const listProviderConfigs = /*@__PURE__*/ API.makePaginated(() => ({
2654
2660
  input: ListProviderConfigsRequest,
2655
2661
  output: ListProviderConfigsResponse,
2656
2662
  errors: [],
@@ -2663,7 +2669,7 @@ export const listProviderConfigs = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated
2663
2669
  },
2664
2670
  }));
2665
2671
  export const CreateProviderConfigRequest =
2666
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2672
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2667
2673
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2668
2674
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2669
2675
  alias: Schema.String,
@@ -2686,7 +2692,7 @@ export const CreateProviderConfigRequest =
2686
2692
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/provider_configs",
2687
2693
  })));
2688
2694
  export const CreateProviderConfigResponse =
2689
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2695
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2690
2696
  id: Schema.String,
2691
2697
  alias: Schema.String,
2692
2698
  defaultConfig: Schema.Unknown,
@@ -2711,7 +2717,7 @@ export const CreateProviderConfigResponse =
2711
2717
  rateLimitPeriod: "rate_limit_period",
2712
2718
  }))
2713
2719
  .pipe(T.ResponsePath("result")));
2714
- export const createProviderConfig = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2720
+ export const createProviderConfig = /*@__PURE__*/ API.make(() => ({
2715
2721
  input: CreateProviderConfigRequest,
2716
2722
  output: CreateProviderConfigResponse,
2717
2723
  errors: [
@@ -2721,7 +2727,7 @@ export const createProviderConfig = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
2721
2727
  ],
2722
2728
  }));
2723
2729
  export const DeleteProviderConfigRequest =
2724
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2730
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2725
2731
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2726
2732
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2727
2733
  id: Schema.String.pipe(T.HttpPath("id")),
@@ -2730,7 +2736,7 @@ export const DeleteProviderConfigRequest =
2730
2736
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/provider_configs/{id}",
2731
2737
  })));
2732
2738
  export const DeleteProviderConfigResponse =
2733
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2739
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2734
2740
  id: Schema.String,
2735
2741
  alias: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2736
2742
  providerSlug: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -2747,12 +2753,12 @@ export const DeleteProviderConfigResponse =
2747
2753
  modifiedAt: "modified_at",
2748
2754
  }))
2749
2755
  .pipe(T.ResponsePath("result")));
2750
- export const deleteProviderConfig = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2756
+ export const deleteProviderConfig = /*@__PURE__*/ API.make(() => ({
2751
2757
  input: DeleteProviderConfigRequest,
2752
2758
  output: DeleteProviderConfigResponse,
2753
2759
  errors: [ProviderConfigNotFound],
2754
2760
  }));
2755
- export const GetUrlRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2761
+ export const GetUrlRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2756
2762
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2757
2763
  provider: Schema.String.pipe(T.HttpPath("provider")),
2758
2764
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2760,14 +2766,14 @@ export const GetUrlRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sc
2760
2766
  method: "GET",
2761
2767
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/url/{provider}",
2762
2768
  })));
2763
- export const GetUrlResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
2764
- export const getUrl = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2769
+ export const GetUrlResponse = /*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
2770
+ export const getUrl = /*@__PURE__*/ API.make(() => ({
2765
2771
  input: GetUrlRequest,
2766
2772
  output: GetUrlResponse,
2767
2773
  errors: [],
2768
2774
  }));
2769
2775
  export const GetVersionDynamicRoutingRequest =
2770
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2776
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2771
2777
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2772
2778
  id: Schema.String.pipe(T.HttpPath("id")),
2773
2779
  versionId: Schema.String.pipe(T.HttpPath("versionId")),
@@ -2777,7 +2783,7 @@ export const GetVersionDynamicRoutingRequest =
2777
2783
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/routes/{id}/versions/{versionId}",
2778
2784
  })));
2779
2785
  export const GetVersionDynamicRoutingResponse =
2780
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2786
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2781
2787
  id: Schema.String,
2782
2788
  active: Schema.Boolean,
2783
2789
  createdAt: Schema.String,
@@ -2809,13 +2815,13 @@ export const GetVersionDynamicRoutingResponse =
2809
2815
  isValid: "is_valid",
2810
2816
  }))
2811
2817
  .pipe(T.ResponsePath("result")));
2812
- export const getVersionDynamicRouting = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2818
+ export const getVersionDynamicRouting = /*@__PURE__*/ API.make(() => ({
2813
2819
  input: GetVersionDynamicRoutingRequest,
2814
2820
  output: GetVersionDynamicRoutingResponse,
2815
2821
  errors: [],
2816
2822
  }));
2817
2823
  export const CreateVersionDynamicRoutingRequest =
2818
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2824
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2819
2825
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2820
2826
  id: Schema.String.pipe(T.HttpPath("id")),
2821
2827
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2832,7 +2838,7 @@ export const CreateVersionDynamicRoutingRequest =
2832
2838
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/routes/{id}/versions",
2833
2839
  })));
2834
2840
  export const CreateVersionDynamicRoutingResponse =
2835
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2841
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2836
2842
  id: Schema.String,
2837
2843
  createdAt: Schema.String,
2838
2844
  elements: Schema.optional(Schema.Union([
@@ -2861,13 +2867,13 @@ export const CreateVersionDynamicRoutingResponse =
2861
2867
  versionId: "version_id",
2862
2868
  }))
2863
2869
  .pipe(T.ResponsePath("result")));
2864
- export const createVersionDynamicRouting = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2870
+ export const createVersionDynamicRouting = /*@__PURE__*/ API.make(() => ({
2865
2871
  input: CreateVersionDynamicRoutingRequest,
2866
2872
  output: CreateVersionDynamicRoutingResponse,
2867
2873
  errors: [RouteNotFound],
2868
2874
  }));
2869
2875
  export const ListVersionsDynamicRoutingRequest =
2870
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2876
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2871
2877
  gatewayId: Schema.String.pipe(T.HttpPath("gatewayId")),
2872
2878
  id: Schema.String.pipe(T.HttpPath("id")),
2873
2879
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2876,11 +2882,11 @@ export const ListVersionsDynamicRoutingRequest =
2876
2882
  path: "/accounts/{account_id}/ai-gateway/gateways/{gatewayId}/routes/{id}/versions",
2877
2883
  })));
2878
2884
  export const ListVersionsDynamicRoutingResponse =
2879
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2885
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2880
2886
  data: Data3,
2881
2887
  success: Schema.Boolean,
2882
2888
  }));
2883
- export const listVersionsDynamicRouting = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2889
+ export const listVersionsDynamicRouting = /*@__PURE__*/ API.make(() => ({
2884
2890
  input: ListVersionsDynamicRoutingRequest,
2885
2891
  output: ListVersionsDynamicRoutingResponse,
2886
2892
  errors: [],