@distilled.cloud/cloudflare 0.29.0 → 0.29.1

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
@@ -52,7 +52,7 @@ interface ListAppsResponseResult {
52
52
  /** Email of the actor who last modified the app, or `edge-gateway` for gateway-authenticated changes. */
53
53
  updatedBy: string;
54
54
  }
55
- const ListAppsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
55
+ const ListAppsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
56
56
  Schema.Struct({
57
57
  id: Schema.String,
58
58
  createdAt: Schema.String,
@@ -89,7 +89,7 @@ interface GetAppFlagResponseRuleCondition {
89
89
  value: unknown;
90
90
  }
91
91
  const GetAppFlagResponseRuleCondition =
92
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
92
+ /*@__PURE__*/ Schema.suspend(() =>
93
93
  Schema.Struct({
94
94
  attribute: Schema.String,
95
95
  operator: Schema.Union([
@@ -183,7 +183,7 @@ interface GetAppFlagResponseRuleCondition1Claus1Claus1 {
183
183
  logicalOperator: "AND" | "OR" | (string & {});
184
184
  }
185
185
  const GetAppFlagResponseRuleCondition1Claus1Claus1 =
186
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
186
+ /*@__PURE__*/ Schema.suspend(() =>
187
187
  Schema.Struct({
188
188
  clauses: Schema.Array(
189
189
  Schema.Union([
@@ -374,7 +374,7 @@ interface GetAppFlagResponseRuleCondition1Claus1 {
374
374
  logicalOperator: "AND" | "OR" | (string & {});
375
375
  }
376
376
  const GetAppFlagResponseRuleCondition1Claus1 =
377
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
377
+ /*@__PURE__*/ Schema.suspend(() =>
378
378
  Schema.Struct({
379
379
  clauses: Schema.Array(
380
380
  Schema.Union([
@@ -465,7 +465,7 @@ interface GetAppFlagResponseRuleCondition1 {
465
465
  logicalOperator: "AND" | "OR" | (string & {});
466
466
  }
467
467
  const GetAppFlagResponseRuleCondition1 =
468
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
468
+ /*@__PURE__*/ Schema.suspend(() =>
469
469
  Schema.Struct({
470
470
  clauses: Schema.Array(
471
471
  Schema.Union([
@@ -491,7 +491,7 @@ interface Rollout {
491
491
  /** Context attribute used for sticky bucketing. Defaults to `targetingKey`. If absent at evaluation time, bucketing is random per request. */
492
492
  attribute?: string | null;
493
493
  }
494
- const Rollout = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
494
+ const Rollout = /*@__PURE__*/ Schema.suspend(() =>
495
495
  Schema.Struct({
496
496
  percentage: Schema.Number,
497
497
  attribute: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -573,7 +573,7 @@ interface Rule {
573
573
  serveVariation: string;
574
574
  rollout?: { percentage: number; attribute?: string | null } | null;
575
575
  }
576
- const Rule = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
576
+ const Rule = /*@__PURE__*/ Schema.suspend(() =>
577
577
  Schema.Struct({
578
578
  conditions: Schema.Array(
579
579
  Schema.Union([
@@ -665,7 +665,7 @@ interface ListAppFlagsResponseResultRuleCondition1Claus1 {
665
665
  logicalOperator: "AND" | "OR" | (string & {});
666
666
  }
667
667
  const ListAppFlagsResponseResultRuleCondition1Claus1 =
668
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
668
+ /*@__PURE__*/ Schema.suspend(() =>
669
669
  Schema.Struct({
670
670
  clauses: Schema.Array(
671
671
  Schema.Union([
@@ -856,7 +856,7 @@ interface ListAppFlagsResponseResultRuleCondition1 {
856
856
  logicalOperator: "AND" | "OR" | (string & {});
857
857
  }
858
858
  const ListAppFlagsResponseResultRuleCondition1 =
859
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
859
+ /*@__PURE__*/ Schema.suspend(() =>
860
860
  Schema.Struct({
861
861
  clauses: Schema.Array(
862
862
  Schema.Union([
@@ -951,7 +951,7 @@ interface Rule2 {
951
951
  serveVariation: string;
952
952
  rollout?: { percentage: number; attribute?: string | null } | null;
953
953
  }
954
- const Rule2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
954
+ const Rule2 = /*@__PURE__*/ Schema.suspend(() =>
955
955
  Schema.Struct({
956
956
  conditions: Schema.Array(
957
957
  Schema.Union([
@@ -1041,46 +1041,45 @@ interface ListAppFlagsResponseResult {
1041
1041
  updatedAt?: string | null;
1042
1042
  updatedBy?: string | null;
1043
1043
  }
1044
- const ListAppFlagsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1045
- () =>
1046
- Schema.Struct({
1047
- defaultVariation: Schema.String,
1048
- enabled: Schema.Boolean,
1049
- key: Schema.String,
1050
- rules: Schema.Array(Rule2),
1051
- variations: Schema.Record(Schema.String, Schema.Unknown),
1052
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1053
- type: Schema.optional(
1044
+ const ListAppFlagsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
1045
+ Schema.Struct({
1046
+ defaultVariation: Schema.String,
1047
+ enabled: Schema.Boolean,
1048
+ key: Schema.String,
1049
+ rules: Schema.Array(Rule2),
1050
+ variations: Schema.Record(Schema.String, Schema.Unknown),
1051
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1052
+ type: Schema.optional(
1053
+ Schema.Union([
1054
1054
  Schema.Union([
1055
- Schema.Union([
1056
- Schema.Literals(["boolean", "string", "number", "json"]),
1057
- Schema.String,
1058
- ]),
1059
- Schema.Null,
1055
+ Schema.Literals(["boolean", "string", "number", "json"]),
1056
+ Schema.String,
1060
1057
  ]),
1061
- ),
1062
- updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1063
- updatedBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1064
- }).pipe(
1065
- Schema.encodeKeys({
1066
- defaultVariation: "default_variation",
1067
- enabled: "enabled",
1068
- key: "key",
1069
- rules: "rules",
1070
- variations: "variations",
1071
- description: "description",
1072
- type: "type",
1073
- updatedAt: "updated_at",
1074
- updatedBy: "updated_by",
1075
- }),
1058
+ Schema.Null,
1059
+ ]),
1076
1060
  ),
1061
+ updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1062
+ updatedBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1063
+ }).pipe(
1064
+ Schema.encodeKeys({
1065
+ defaultVariation: "default_variation",
1066
+ enabled: "enabled",
1067
+ key: "key",
1068
+ rules: "rules",
1069
+ variations: "variations",
1070
+ description: "description",
1071
+ type: "type",
1072
+ updatedAt: "updated_at",
1073
+ updatedBy: "updated_by",
1074
+ }),
1075
+ ),
1077
1076
  ) as unknown as Schema.Codec<ListAppFlagsResponseResult>;
1078
1077
 
1079
1078
  interface ListAppFlagsResponseResultInfoCursors {
1080
1079
  after?: string | null;
1081
1080
  }
1082
1081
  const ListAppFlagsResponseResultInfoCursors =
1083
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1082
+ /*@__PURE__*/ Schema.suspend(() =>
1084
1083
  Schema.Struct({
1085
1084
  after: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1086
1085
  }),
@@ -1090,7 +1089,7 @@ interface ListAppFlagsResponseResultInfo {
1090
1089
  cursors?: { after?: string | null } | null;
1091
1090
  }
1092
1091
  const ListAppFlagsResponseResultInfo =
1093
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1092
+ /*@__PURE__*/ Schema.suspend(() =>
1094
1093
  Schema.Struct({
1095
1094
  cursors: Schema.optional(
1096
1095
  Schema.Union([ListAppFlagsResponseResultInfoCursors, Schema.Null]),
@@ -1163,7 +1162,7 @@ interface ListAppFlagChangelogsResponseResult {
1163
1162
  flagKey: string;
1164
1163
  }
1165
1164
  const ListAppFlagChangelogsResponseResult =
1166
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1165
+ /*@__PURE__*/ Schema.suspend(() =>
1167
1166
  Schema.Struct({
1168
1167
  after: ListAppFlagsResponseResult,
1169
1168
  event: Schema.Literal("create"),
@@ -1242,7 +1241,7 @@ interface ListAppFlagChangelogsResponseResult1 {
1242
1241
  flagKey: string;
1243
1242
  }
1244
1243
  const ListAppFlagChangelogsResponseResult1 =
1245
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1244
+ /*@__PURE__*/ Schema.suspend(() =>
1246
1245
  Schema.Struct({
1247
1246
  after: ListAppFlagsResponseResult,
1248
1247
  event: Schema.Literal("delete"),
@@ -1322,7 +1321,7 @@ interface ListAppFlagChangelogsResponseResult2 {
1322
1321
  flagKey: string;
1323
1322
  }
1324
1323
  const ListAppFlagChangelogsResponseResult2 =
1325
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1324
+ /*@__PURE__*/ Schema.suspend(() =>
1326
1325
  Schema.Struct({
1327
1326
  after: ListAppFlagsResponseResult,
1328
1327
  diff: Schema.Record(Schema.String, Schema.Unknown),
@@ -1348,7 +1347,7 @@ export interface GetAppRequest {
1348
1347
  accountId: string;
1349
1348
  }
1350
1349
 
1351
- export const GetAppRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1350
+ export const GetAppRequest = /*@__PURE__*/ Schema.suspend(() =>
1352
1351
  Schema.Struct({
1353
1352
  appId: Schema.String.pipe(T.HttpPath("appId")),
1354
1353
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1369,7 +1368,7 @@ export interface GetAppResponse {
1369
1368
  updatedBy: string;
1370
1369
  }
1371
1370
 
1372
- export const GetAppResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1371
+ export const GetAppResponse = /*@__PURE__*/ Schema.suspend(() =>
1373
1372
  Schema.Struct({
1374
1373
  id: Schema.String,
1375
1374
  createdAt: Schema.String,
@@ -1396,7 +1395,7 @@ export const getApp: API.OperationMethod<
1396
1395
  GetAppResponse,
1397
1396
  GetAppError,
1398
1397
  Credentials | HttpClient.HttpClient
1399
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1398
+ > = /*@__PURE__*/ API.make(() => ({
1400
1399
  input: GetAppRequest,
1401
1400
  output: GetAppResponse,
1402
1401
  errors: [FlagshipAppNotFound],
@@ -1407,7 +1406,7 @@ export interface ListAppsRequest {
1407
1406
  accountId: string;
1408
1407
  }
1409
1408
 
1410
- export const ListAppsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1409
+ export const ListAppsRequest = /*@__PURE__*/ Schema.suspend(() =>
1411
1410
  Schema.Struct({
1412
1411
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1413
1412
  }).pipe(
@@ -1425,7 +1424,7 @@ export interface ListAppsResponse {
1425
1424
  }[];
1426
1425
  }
1427
1426
 
1428
- export const ListAppsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1427
+ export const ListAppsResponse = /*@__PURE__*/ Schema.suspend(() =>
1429
1428
  Schema.Struct({
1430
1429
  result: Schema.Array(ListAppsResponseResult),
1431
1430
  }),
@@ -1438,7 +1437,7 @@ export const listApps: API.PaginatedOperationMethod<
1438
1437
  ListAppsResponse,
1439
1438
  ListAppsError,
1440
1439
  Credentials | HttpClient.HttpClient
1441
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1440
+ > = /*@__PURE__*/ API.makePaginated(() => ({
1442
1441
  input: ListAppsRequest,
1443
1442
  output: ListAppsResponse,
1444
1443
  errors: [],
@@ -1455,7 +1454,7 @@ export interface CreateAppRequest {
1455
1454
  name: string;
1456
1455
  }
1457
1456
 
1458
- export const CreateAppRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1457
+ export const CreateAppRequest = /*@__PURE__*/ Schema.suspend(() =>
1459
1458
  Schema.Struct({
1460
1459
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1461
1460
  name: Schema.String,
@@ -1473,25 +1472,24 @@ export interface CreateAppResponse {
1473
1472
  updatedBy: string;
1474
1473
  }
1475
1474
 
1476
- export const CreateAppResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1477
- () =>
1478
- Schema.Struct({
1479
- id: Schema.String,
1480
- createdAt: Schema.String,
1481
- name: Schema.String,
1482
- updatedAt: Schema.String,
1483
- updatedBy: Schema.String,
1484
- })
1485
- .pipe(
1486
- Schema.encodeKeys({
1487
- id: "id",
1488
- createdAt: "created_at",
1489
- name: "name",
1490
- updatedAt: "updated_at",
1491
- updatedBy: "updated_by",
1492
- }),
1493
- )
1494
- .pipe(T.ResponsePath("result")),
1475
+ export const CreateAppResponse = /*@__PURE__*/ Schema.suspend(() =>
1476
+ Schema.Struct({
1477
+ id: Schema.String,
1478
+ createdAt: Schema.String,
1479
+ name: Schema.String,
1480
+ updatedAt: Schema.String,
1481
+ updatedBy: Schema.String,
1482
+ })
1483
+ .pipe(
1484
+ Schema.encodeKeys({
1485
+ id: "id",
1486
+ createdAt: "created_at",
1487
+ name: "name",
1488
+ updatedAt: "updated_at",
1489
+ updatedBy: "updated_by",
1490
+ }),
1491
+ )
1492
+ .pipe(T.ResponsePath("result")),
1495
1493
  ) as unknown as Schema.Codec<CreateAppResponse>;
1496
1494
 
1497
1495
  export type CreateAppError = DefaultErrors;
@@ -1501,7 +1499,7 @@ export const createApp: API.OperationMethod<
1501
1499
  CreateAppResponse,
1502
1500
  CreateAppError,
1503
1501
  Credentials | HttpClient.HttpClient
1504
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1502
+ > = /*@__PURE__*/ API.make(() => ({
1505
1503
  input: CreateAppRequest,
1506
1504
  output: CreateAppResponse,
1507
1505
  errors: [],
@@ -1515,7 +1513,7 @@ export interface UpdateAppRequest {
1515
1513
  name?: string;
1516
1514
  }
1517
1515
 
1518
- export const UpdateAppRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1516
+ export const UpdateAppRequest = /*@__PURE__*/ Schema.suspend(() =>
1519
1517
  Schema.Struct({
1520
1518
  appId: Schema.String.pipe(T.HttpPath("appId")),
1521
1519
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1537,25 +1535,24 @@ export interface UpdateAppResponse {
1537
1535
  updatedBy: string;
1538
1536
  }
1539
1537
 
1540
- export const UpdateAppResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1541
- () =>
1542
- Schema.Struct({
1543
- id: Schema.String,
1544
- createdAt: Schema.String,
1545
- name: Schema.String,
1546
- updatedAt: Schema.String,
1547
- updatedBy: Schema.String,
1548
- })
1549
- .pipe(
1550
- Schema.encodeKeys({
1551
- id: "id",
1552
- createdAt: "created_at",
1553
- name: "name",
1554
- updatedAt: "updated_at",
1555
- updatedBy: "updated_by",
1556
- }),
1557
- )
1558
- .pipe(T.ResponsePath("result")),
1538
+ export const UpdateAppResponse = /*@__PURE__*/ Schema.suspend(() =>
1539
+ Schema.Struct({
1540
+ id: Schema.String,
1541
+ createdAt: Schema.String,
1542
+ name: Schema.String,
1543
+ updatedAt: Schema.String,
1544
+ updatedBy: Schema.String,
1545
+ })
1546
+ .pipe(
1547
+ Schema.encodeKeys({
1548
+ id: "id",
1549
+ createdAt: "created_at",
1550
+ name: "name",
1551
+ updatedAt: "updated_at",
1552
+ updatedBy: "updated_by",
1553
+ }),
1554
+ )
1555
+ .pipe(T.ResponsePath("result")),
1559
1556
  ) as unknown as Schema.Codec<UpdateAppResponse>;
1560
1557
 
1561
1558
  export type UpdateAppError = DefaultErrors | FlagshipAppNotFound;
@@ -1565,7 +1562,7 @@ export const updateApp: API.OperationMethod<
1565
1562
  UpdateAppResponse,
1566
1563
  UpdateAppError,
1567
1564
  Credentials | HttpClient.HttpClient
1568
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1565
+ > = /*@__PURE__*/ API.make(() => ({
1569
1566
  input: UpdateAppRequest,
1570
1567
  output: UpdateAppResponse,
1571
1568
  errors: [FlagshipAppNotFound],
@@ -1577,7 +1574,7 @@ export interface DeleteAppRequest {
1577
1574
  accountId: string;
1578
1575
  }
1579
1576
 
1580
- export const DeleteAppRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1577
+ export const DeleteAppRequest = /*@__PURE__*/ Schema.suspend(() =>
1581
1578
  Schema.Struct({
1582
1579
  appId: Schema.String.pipe(T.HttpPath("appId")),
1583
1580
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1593,11 +1590,10 @@ export interface DeleteAppResponse {
1593
1590
  id: string;
1594
1591
  }
1595
1592
 
1596
- export const DeleteAppResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1597
- () =>
1598
- Schema.Struct({
1599
- id: Schema.String,
1600
- }).pipe(T.ResponsePath("result")),
1593
+ export const DeleteAppResponse = /*@__PURE__*/ Schema.suspend(() =>
1594
+ Schema.Struct({
1595
+ id: Schema.String,
1596
+ }).pipe(T.ResponsePath("result")),
1601
1597
  ) as unknown as Schema.Codec<DeleteAppResponse>;
1602
1598
 
1603
1599
  export type DeleteAppError = DefaultErrors | FlagshipAppNotFound;
@@ -1607,7 +1603,7 @@ export const deleteApp: API.OperationMethod<
1607
1603
  DeleteAppResponse,
1608
1604
  DeleteAppError,
1609
1605
  Credentials | HttpClient.HttpClient
1610
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1606
+ > = /*@__PURE__*/ API.make(() => ({
1611
1607
  input: DeleteAppRequest,
1612
1608
  output: DeleteAppResponse,
1613
1609
  errors: [FlagshipAppNotFound],
@@ -1627,21 +1623,20 @@ export interface GetAppEvaluateRequest {
1627
1623
  targetingKey?: string;
1628
1624
  }
1629
1625
 
1630
- export const GetAppEvaluateRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1631
- () =>
1632
- Schema.Struct({
1633
- appId: Schema.String.pipe(T.HttpPath("appId")),
1634
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1635
- flagKey: Schema.String.pipe(T.HttpQuery("flagKey")),
1636
- targetingKey: Schema.optional(Schema.String).pipe(
1637
- T.HttpQuery("targetingKey"),
1638
- ),
1639
- }).pipe(
1640
- T.Http({
1641
- method: "GET",
1642
- path: "/accounts/{account_id}/flagship/apps/{appId}/evaluate",
1643
- }),
1626
+ export const GetAppEvaluateRequest = /*@__PURE__*/ Schema.suspend(() =>
1627
+ Schema.Struct({
1628
+ appId: Schema.String.pipe(T.HttpPath("appId")),
1629
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1630
+ flagKey: Schema.String.pipe(T.HttpQuery("flagKey")),
1631
+ targetingKey: Schema.optional(Schema.String).pipe(
1632
+ T.HttpQuery("targetingKey"),
1644
1633
  ),
1634
+ }).pipe(
1635
+ T.Http({
1636
+ method: "GET",
1637
+ path: "/accounts/{account_id}/flagship/apps/{appId}/evaluate",
1638
+ }),
1639
+ ),
1645
1640
  ) as unknown as Schema.Codec<GetAppEvaluateRequest>;
1646
1641
 
1647
1642
  export interface GetAppEvaluateResponse {
@@ -1658,7 +1653,7 @@ export interface GetAppEvaluateResponse {
1658
1653
  }
1659
1654
 
1660
1655
  export const GetAppEvaluateResponse =
1661
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1656
+ /*@__PURE__*/ Schema.suspend(() =>
1662
1657
  Schema.Struct({
1663
1658
  flagKey: Schema.String,
1664
1659
  reason: Schema.Union([
@@ -1686,7 +1681,7 @@ export const getAppEvaluate: API.OperationMethod<
1686
1681
  GetAppEvaluateResponse,
1687
1682
  GetAppEvaluateError,
1688
1683
  Credentials | HttpClient.HttpClient
1689
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1684
+ > = /*@__PURE__*/ API.make(() => ({
1690
1685
  input: GetAppEvaluateRequest,
1691
1686
  output: GetAppEvaluateResponse,
1692
1687
  errors: [],
@@ -1703,18 +1698,17 @@ export interface GetAppFlagRequest {
1703
1698
  accountId: string;
1704
1699
  }
1705
1700
 
1706
- export const GetAppFlagRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1707
- () =>
1708
- Schema.Struct({
1709
- appId: Schema.String.pipe(T.HttpPath("appId")),
1710
- flagKey: Schema.String.pipe(T.HttpPath("flagKey")),
1711
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1712
- }).pipe(
1713
- T.Http({
1714
- method: "GET",
1715
- path: "/accounts/{account_id}/flagship/apps/{appId}/flags/{flagKey}",
1716
- }),
1717
- ),
1701
+ export const GetAppFlagRequest = /*@__PURE__*/ Schema.suspend(() =>
1702
+ Schema.Struct({
1703
+ appId: Schema.String.pipe(T.HttpPath("appId")),
1704
+ flagKey: Schema.String.pipe(T.HttpPath("flagKey")),
1705
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1706
+ }).pipe(
1707
+ T.Http({
1708
+ method: "GET",
1709
+ path: "/accounts/{account_id}/flagship/apps/{appId}/flags/{flagKey}",
1710
+ }),
1711
+ ),
1718
1712
  ) as unknown as Schema.Codec<GetAppFlagRequest>;
1719
1713
 
1720
1714
  export interface GetAppFlagResponse {
@@ -1787,41 +1781,40 @@ export interface GetAppFlagResponse {
1787
1781
  updatedBy?: string | null;
1788
1782
  }
1789
1783
 
1790
- export const GetAppFlagResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1791
- () =>
1792
- Schema.Struct({
1793
- defaultVariation: Schema.String,
1794
- enabled: Schema.Boolean,
1795
- key: Schema.String,
1796
- rules: Schema.Array(Rule),
1797
- variations: Schema.Record(Schema.String, Schema.Unknown),
1798
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1799
- type: Schema.optional(
1784
+ export const GetAppFlagResponse = /*@__PURE__*/ Schema.suspend(() =>
1785
+ Schema.Struct({
1786
+ defaultVariation: Schema.String,
1787
+ enabled: Schema.Boolean,
1788
+ key: Schema.String,
1789
+ rules: Schema.Array(Rule),
1790
+ variations: Schema.Record(Schema.String, Schema.Unknown),
1791
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1792
+ type: Schema.optional(
1793
+ Schema.Union([
1800
1794
  Schema.Union([
1801
- Schema.Union([
1802
- Schema.Literals(["boolean", "string", "number", "json"]),
1803
- Schema.String,
1804
- ]),
1805
- Schema.Null,
1795
+ Schema.Literals(["boolean", "string", "number", "json"]),
1796
+ Schema.String,
1806
1797
  ]),
1807
- ),
1808
- updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1809
- updatedBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1810
- })
1811
- .pipe(
1812
- Schema.encodeKeys({
1813
- defaultVariation: "default_variation",
1814
- enabled: "enabled",
1815
- key: "key",
1816
- rules: "rules",
1817
- variations: "variations",
1818
- description: "description",
1819
- type: "type",
1820
- updatedAt: "updated_at",
1821
- updatedBy: "updated_by",
1822
- }),
1823
- )
1824
- .pipe(T.ResponsePath("result")),
1798
+ Schema.Null,
1799
+ ]),
1800
+ ),
1801
+ updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1802
+ updatedBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1803
+ })
1804
+ .pipe(
1805
+ Schema.encodeKeys({
1806
+ defaultVariation: "default_variation",
1807
+ enabled: "enabled",
1808
+ key: "key",
1809
+ rules: "rules",
1810
+ variations: "variations",
1811
+ description: "description",
1812
+ type: "type",
1813
+ updatedAt: "updated_at",
1814
+ updatedBy: "updated_by",
1815
+ }),
1816
+ )
1817
+ .pipe(T.ResponsePath("result")),
1825
1818
  ) as unknown as Schema.Codec<GetAppFlagResponse>;
1826
1819
 
1827
1820
  export type GetAppFlagError =
@@ -1834,7 +1827,7 @@ export const getAppFlag: API.OperationMethod<
1834
1827
  GetAppFlagResponse,
1835
1828
  GetAppFlagError,
1836
1829
  Credentials | HttpClient.HttpClient
1837
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1830
+ > = /*@__PURE__*/ API.make(() => ({
1838
1831
  input: GetAppFlagRequest,
1839
1832
  output: GetAppFlagResponse,
1840
1833
  errors: [FlagshipFlagNotFound, FlagshipAppNotFound],
@@ -1849,19 +1842,18 @@ export interface ListAppFlagsRequest {
1849
1842
  limit?: string;
1850
1843
  }
1851
1844
 
1852
- export const ListAppFlagsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1853
- () =>
1854
- Schema.Struct({
1855
- appId: Schema.String.pipe(T.HttpPath("appId")),
1856
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1857
- cursor: Schema.optional(Schema.String).pipe(T.HttpQuery("cursor")),
1858
- limit: Schema.optional(Schema.String).pipe(T.HttpQuery("limit")),
1859
- }).pipe(
1860
- T.Http({
1861
- method: "GET",
1862
- path: "/accounts/{account_id}/flagship/apps/{appId}/flags",
1863
- }),
1864
- ),
1845
+ export const ListAppFlagsRequest = /*@__PURE__*/ Schema.suspend(() =>
1846
+ Schema.Struct({
1847
+ appId: Schema.String.pipe(T.HttpPath("appId")),
1848
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1849
+ cursor: Schema.optional(Schema.String).pipe(T.HttpQuery("cursor")),
1850
+ limit: Schema.optional(Schema.String).pipe(T.HttpQuery("limit")),
1851
+ }).pipe(
1852
+ T.Http({
1853
+ method: "GET",
1854
+ path: "/accounts/{account_id}/flagship/apps/{appId}/flags",
1855
+ }),
1856
+ ),
1865
1857
  ) as unknown as Schema.Codec<ListAppFlagsRequest>;
1866
1858
 
1867
1859
  export interface ListAppFlagsResponse {
@@ -1913,14 +1905,13 @@ export interface ListAppFlagsResponse {
1913
1905
  resultInfo?: { cursors?: { after?: string | null } | null } | null;
1914
1906
  }
1915
1907
 
1916
- export const ListAppFlagsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1917
- () =>
1918
- Schema.Struct({
1919
- result: Schema.Array(ListAppFlagsResponseResult),
1920
- resultInfo: Schema.optional(
1921
- Schema.Union([ListAppFlagsResponseResultInfo, Schema.Null]),
1922
- ),
1923
- }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
1908
+ export const ListAppFlagsResponse = /*@__PURE__*/ Schema.suspend(() =>
1909
+ Schema.Struct({
1910
+ result: Schema.Array(ListAppFlagsResponseResult),
1911
+ resultInfo: Schema.optional(
1912
+ Schema.Union([ListAppFlagsResponseResultInfo, Schema.Null]),
1913
+ ),
1914
+ }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
1924
1915
  ) as unknown as Schema.Codec<ListAppFlagsResponse>;
1925
1916
 
1926
1917
  export type ListAppFlagsError = DefaultErrors | FlagshipAppNotFound;
@@ -1930,7 +1921,7 @@ export const listAppFlags: API.PaginatedOperationMethod<
1930
1921
  ListAppFlagsResponse,
1931
1922
  ListAppFlagsError,
1932
1923
  Credentials | HttpClient.HttpClient
1933
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1924
+ > = /*@__PURE__*/ API.makePaginated(() => ({
1934
1925
  input: ListAppFlagsRequest,
1935
1926
  output: ListAppFlagsResponse,
1936
1927
  errors: [FlagshipAppNotFound],
@@ -2014,38 +2005,37 @@ export interface CreateAppFlagRequest {
2014
2005
  type?: "boolean" | "string" | "number" | "json" | (string & {});
2015
2006
  }
2016
2007
 
2017
- export const CreateAppFlagRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2018
- () =>
2019
- Schema.Struct({
2020
- appId: Schema.String.pipe(T.HttpPath("appId")),
2021
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2022
- defaultVariation: Schema.String,
2023
- enabled: Schema.Boolean,
2024
- key: Schema.String,
2025
- rules: Schema.Array(Rule),
2026
- variations: Schema.Record(Schema.String, Schema.Unknown),
2027
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2028
- type: Schema.optional(
2029
- Schema.Union([
2030
- Schema.Literals(["boolean", "string", "number", "json"]),
2031
- Schema.String,
2032
- ]),
2033
- ),
2034
- }).pipe(
2035
- Schema.encodeKeys({
2036
- defaultVariation: "default_variation",
2037
- enabled: "enabled",
2038
- key: "key",
2039
- rules: "rules",
2040
- variations: "variations",
2041
- description: "description",
2042
- type: "type",
2043
- }),
2044
- T.Http({
2045
- method: "POST",
2046
- path: "/accounts/{account_id}/flagship/apps/{appId}/flags",
2047
- }),
2008
+ export const CreateAppFlagRequest = /*@__PURE__*/ Schema.suspend(() =>
2009
+ Schema.Struct({
2010
+ appId: Schema.String.pipe(T.HttpPath("appId")),
2011
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2012
+ defaultVariation: Schema.String,
2013
+ enabled: Schema.Boolean,
2014
+ key: Schema.String,
2015
+ rules: Schema.Array(Rule),
2016
+ variations: Schema.Record(Schema.String, Schema.Unknown),
2017
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2018
+ type: Schema.optional(
2019
+ Schema.Union([
2020
+ Schema.Literals(["boolean", "string", "number", "json"]),
2021
+ Schema.String,
2022
+ ]),
2048
2023
  ),
2024
+ }).pipe(
2025
+ Schema.encodeKeys({
2026
+ defaultVariation: "default_variation",
2027
+ enabled: "enabled",
2028
+ key: "key",
2029
+ rules: "rules",
2030
+ variations: "variations",
2031
+ description: "description",
2032
+ type: "type",
2033
+ }),
2034
+ T.Http({
2035
+ method: "POST",
2036
+ path: "/accounts/{account_id}/flagship/apps/{appId}/flags",
2037
+ }),
2038
+ ),
2049
2039
  ) as unknown as Schema.Codec<CreateAppFlagRequest>;
2050
2040
 
2051
2041
  export interface CreateAppFlagResponse {
@@ -2118,41 +2108,40 @@ export interface CreateAppFlagResponse {
2118
2108
  updatedBy?: string | null;
2119
2109
  }
2120
2110
 
2121
- export const CreateAppFlagResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2122
- () =>
2123
- Schema.Struct({
2124
- defaultVariation: Schema.String,
2125
- enabled: Schema.Boolean,
2126
- key: Schema.String,
2127
- rules: Schema.Array(Rule),
2128
- variations: Schema.Record(Schema.String, Schema.Unknown),
2129
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2130
- type: Schema.optional(
2111
+ export const CreateAppFlagResponse = /*@__PURE__*/ Schema.suspend(() =>
2112
+ Schema.Struct({
2113
+ defaultVariation: Schema.String,
2114
+ enabled: Schema.Boolean,
2115
+ key: Schema.String,
2116
+ rules: Schema.Array(Rule),
2117
+ variations: Schema.Record(Schema.String, Schema.Unknown),
2118
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2119
+ type: Schema.optional(
2120
+ Schema.Union([
2131
2121
  Schema.Union([
2132
- Schema.Union([
2133
- Schema.Literals(["boolean", "string", "number", "json"]),
2134
- Schema.String,
2135
- ]),
2136
- Schema.Null,
2122
+ Schema.Literals(["boolean", "string", "number", "json"]),
2123
+ Schema.String,
2137
2124
  ]),
2138
- ),
2139
- updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2140
- updatedBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2141
- })
2142
- .pipe(
2143
- Schema.encodeKeys({
2144
- defaultVariation: "default_variation",
2145
- enabled: "enabled",
2146
- key: "key",
2147
- rules: "rules",
2148
- variations: "variations",
2149
- description: "description",
2150
- type: "type",
2151
- updatedAt: "updated_at",
2152
- updatedBy: "updated_by",
2153
- }),
2154
- )
2155
- .pipe(T.ResponsePath("result")),
2125
+ Schema.Null,
2126
+ ]),
2127
+ ),
2128
+ updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2129
+ updatedBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2130
+ })
2131
+ .pipe(
2132
+ Schema.encodeKeys({
2133
+ defaultVariation: "default_variation",
2134
+ enabled: "enabled",
2135
+ key: "key",
2136
+ rules: "rules",
2137
+ variations: "variations",
2138
+ description: "description",
2139
+ type: "type",
2140
+ updatedAt: "updated_at",
2141
+ updatedBy: "updated_by",
2142
+ }),
2143
+ )
2144
+ .pipe(T.ResponsePath("result")),
2156
2145
  ) as unknown as Schema.Codec<CreateAppFlagResponse>;
2157
2146
 
2158
2147
  export type CreateAppFlagError =
@@ -2165,7 +2154,7 @@ export const createAppFlag: API.OperationMethod<
2165
2154
  CreateAppFlagResponse,
2166
2155
  CreateAppFlagError,
2167
2156
  Credentials | HttpClient.HttpClient
2168
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2157
+ > = /*@__PURE__*/ API.make(() => ({
2169
2158
  input: CreateAppFlagRequest,
2170
2159
  output: CreateAppFlagResponse,
2171
2160
  errors: [FlagshipFlagAlreadyExists, FlagshipAppNotFound],
@@ -2244,39 +2233,38 @@ export interface UpdateAppFlagRequest {
2244
2233
  type?: "boolean" | "string" | "number" | "json" | (string & {});
2245
2234
  }
2246
2235
 
2247
- export const UpdateAppFlagRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2248
- () =>
2249
- Schema.Struct({
2250
- appId: Schema.String.pipe(T.HttpPath("appId")),
2251
- flagKey: Schema.String.pipe(T.HttpPath("flagKey")),
2252
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2253
- defaultVariation: Schema.String,
2254
- enabled: Schema.Boolean,
2255
- key: Schema.String,
2256
- rules: Schema.Array(Rule),
2257
- variations: Schema.Record(Schema.String, Schema.Unknown),
2258
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2259
- type: Schema.optional(
2260
- Schema.Union([
2261
- Schema.Literals(["boolean", "string", "number", "json"]),
2262
- Schema.String,
2263
- ]),
2264
- ),
2265
- }).pipe(
2266
- Schema.encodeKeys({
2267
- defaultVariation: "default_variation",
2268
- enabled: "enabled",
2269
- key: "key",
2270
- rules: "rules",
2271
- variations: "variations",
2272
- description: "description",
2273
- type: "type",
2274
- }),
2275
- T.Http({
2276
- method: "PUT",
2277
- path: "/accounts/{account_id}/flagship/apps/{appId}/flags/{flagKey}",
2278
- }),
2236
+ export const UpdateAppFlagRequest = /*@__PURE__*/ Schema.suspend(() =>
2237
+ Schema.Struct({
2238
+ appId: Schema.String.pipe(T.HttpPath("appId")),
2239
+ flagKey: Schema.String.pipe(T.HttpPath("flagKey")),
2240
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2241
+ defaultVariation: Schema.String,
2242
+ enabled: Schema.Boolean,
2243
+ key: Schema.String,
2244
+ rules: Schema.Array(Rule),
2245
+ variations: Schema.Record(Schema.String, Schema.Unknown),
2246
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2247
+ type: Schema.optional(
2248
+ Schema.Union([
2249
+ Schema.Literals(["boolean", "string", "number", "json"]),
2250
+ Schema.String,
2251
+ ]),
2279
2252
  ),
2253
+ }).pipe(
2254
+ Schema.encodeKeys({
2255
+ defaultVariation: "default_variation",
2256
+ enabled: "enabled",
2257
+ key: "key",
2258
+ rules: "rules",
2259
+ variations: "variations",
2260
+ description: "description",
2261
+ type: "type",
2262
+ }),
2263
+ T.Http({
2264
+ method: "PUT",
2265
+ path: "/accounts/{account_id}/flagship/apps/{appId}/flags/{flagKey}",
2266
+ }),
2267
+ ),
2280
2268
  ) as unknown as Schema.Codec<UpdateAppFlagRequest>;
2281
2269
 
2282
2270
  export interface UpdateAppFlagResponse {
@@ -2349,41 +2337,40 @@ export interface UpdateAppFlagResponse {
2349
2337
  updatedBy?: string | null;
2350
2338
  }
2351
2339
 
2352
- export const UpdateAppFlagResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2353
- () =>
2354
- Schema.Struct({
2355
- defaultVariation: Schema.String,
2356
- enabled: Schema.Boolean,
2357
- key: Schema.String,
2358
- rules: Schema.Array(Rule),
2359
- variations: Schema.Record(Schema.String, Schema.Unknown),
2360
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2361
- type: Schema.optional(
2340
+ export const UpdateAppFlagResponse = /*@__PURE__*/ Schema.suspend(() =>
2341
+ Schema.Struct({
2342
+ defaultVariation: Schema.String,
2343
+ enabled: Schema.Boolean,
2344
+ key: Schema.String,
2345
+ rules: Schema.Array(Rule),
2346
+ variations: Schema.Record(Schema.String, Schema.Unknown),
2347
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2348
+ type: Schema.optional(
2349
+ Schema.Union([
2362
2350
  Schema.Union([
2363
- Schema.Union([
2364
- Schema.Literals(["boolean", "string", "number", "json"]),
2365
- Schema.String,
2366
- ]),
2367
- Schema.Null,
2351
+ Schema.Literals(["boolean", "string", "number", "json"]),
2352
+ Schema.String,
2368
2353
  ]),
2369
- ),
2370
- updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2371
- updatedBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2372
- })
2373
- .pipe(
2374
- Schema.encodeKeys({
2375
- defaultVariation: "default_variation",
2376
- enabled: "enabled",
2377
- key: "key",
2378
- rules: "rules",
2379
- variations: "variations",
2380
- description: "description",
2381
- type: "type",
2382
- updatedAt: "updated_at",
2383
- updatedBy: "updated_by",
2384
- }),
2385
- )
2386
- .pipe(T.ResponsePath("result")),
2354
+ Schema.Null,
2355
+ ]),
2356
+ ),
2357
+ updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2358
+ updatedBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2359
+ })
2360
+ .pipe(
2361
+ Schema.encodeKeys({
2362
+ defaultVariation: "default_variation",
2363
+ enabled: "enabled",
2364
+ key: "key",
2365
+ rules: "rules",
2366
+ variations: "variations",
2367
+ description: "description",
2368
+ type: "type",
2369
+ updatedAt: "updated_at",
2370
+ updatedBy: "updated_by",
2371
+ }),
2372
+ )
2373
+ .pipe(T.ResponsePath("result")),
2387
2374
  ) as unknown as Schema.Codec<UpdateAppFlagResponse>;
2388
2375
 
2389
2376
  export type UpdateAppFlagError =
@@ -2396,7 +2383,7 @@ export const updateAppFlag: API.OperationMethod<
2396
2383
  UpdateAppFlagResponse,
2397
2384
  UpdateAppFlagError,
2398
2385
  Credentials | HttpClient.HttpClient
2399
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2386
+ > = /*@__PURE__*/ API.make(() => ({
2400
2387
  input: UpdateAppFlagRequest,
2401
2388
  output: UpdateAppFlagResponse,
2402
2389
  errors: [FlagshipFlagNotFound, FlagshipAppNotFound],
@@ -2409,29 +2396,27 @@ export interface DeleteAppFlagRequest {
2409
2396
  accountId: string;
2410
2397
  }
2411
2398
 
2412
- export const DeleteAppFlagRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2413
- () =>
2414
- Schema.Struct({
2415
- appId: Schema.String.pipe(T.HttpPath("appId")),
2416
- flagKey: Schema.String.pipe(T.HttpPath("flagKey")),
2417
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2418
- }).pipe(
2419
- T.Http({
2420
- method: "DELETE",
2421
- path: "/accounts/{account_id}/flagship/apps/{appId}/flags/{flagKey}",
2422
- }),
2423
- ),
2399
+ export const DeleteAppFlagRequest = /*@__PURE__*/ Schema.suspend(() =>
2400
+ Schema.Struct({
2401
+ appId: Schema.String.pipe(T.HttpPath("appId")),
2402
+ flagKey: Schema.String.pipe(T.HttpPath("flagKey")),
2403
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2404
+ }).pipe(
2405
+ T.Http({
2406
+ method: "DELETE",
2407
+ path: "/accounts/{account_id}/flagship/apps/{appId}/flags/{flagKey}",
2408
+ }),
2409
+ ),
2424
2410
  ) as unknown as Schema.Codec<DeleteAppFlagRequest>;
2425
2411
 
2426
2412
  export interface DeleteAppFlagResponse {
2427
2413
  key: string;
2428
2414
  }
2429
2415
 
2430
- export const DeleteAppFlagResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2431
- () =>
2432
- Schema.Struct({
2433
- key: Schema.String,
2434
- }).pipe(T.ResponsePath("result")),
2416
+ export const DeleteAppFlagResponse = /*@__PURE__*/ Schema.suspend(() =>
2417
+ Schema.Struct({
2418
+ key: Schema.String,
2419
+ }).pipe(T.ResponsePath("result")),
2435
2420
  ) as unknown as Schema.Codec<DeleteAppFlagResponse>;
2436
2421
 
2437
2422
  export type DeleteAppFlagError =
@@ -2444,7 +2429,7 @@ export const deleteAppFlag: API.OperationMethod<
2444
2429
  DeleteAppFlagResponse,
2445
2430
  DeleteAppFlagError,
2446
2431
  Credentials | HttpClient.HttpClient
2447
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2432
+ > = /*@__PURE__*/ API.make(() => ({
2448
2433
  input: DeleteAppFlagRequest,
2449
2434
  output: DeleteAppFlagResponse,
2450
2435
  errors: [FlagshipFlagNotFound, FlagshipAppNotFound],
@@ -2465,7 +2450,7 @@ export interface ListAppFlagChangelogsRequest {
2465
2450
  }
2466
2451
 
2467
2452
  export const ListAppFlagChangelogsRequest =
2468
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2453
+ /*@__PURE__*/ Schema.suspend(() =>
2469
2454
  Schema.Struct({
2470
2455
  appId: Schema.String.pipe(T.HttpPath("appId")),
2471
2456
  flagKey: Schema.String.pipe(T.HttpPath("flagKey")),
@@ -2632,7 +2617,7 @@ export interface ListAppFlagChangelogsResponse {
2632
2617
  }
2633
2618
 
2634
2619
  export const ListAppFlagChangelogsResponse =
2635
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2620
+ /*@__PURE__*/ Schema.suspend(() =>
2636
2621
  Schema.Struct({
2637
2622
  result: Schema.Array(
2638
2623
  Schema.Union([
@@ -2654,7 +2639,7 @@ export const listAppFlagChangelogs: API.PaginatedOperationMethod<
2654
2639
  ListAppFlagChangelogsResponse,
2655
2640
  ListAppFlagChangelogsError,
2656
2641
  Credentials | HttpClient.HttpClient
2657
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2642
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2658
2643
  input: ListAppFlagChangelogsRequest,
2659
2644
  output: ListAppFlagChangelogsResponse,
2660
2645
  errors: [],