@distilled.cloud/cloudflare 0.2.5-alpha2 → 0.3.0-alpha
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.
- package/README.md +12 -2
- package/lib/auth.d.ts +3 -2
- package/lib/auth.d.ts.map +1 -1
- package/lib/auth.js +4 -3
- package/lib/auth.js.map +1 -1
- package/lib/client/api.d.ts +7 -9
- package/lib/client/api.d.ts.map +1 -1
- package/lib/client/api.js +60 -13
- package/lib/client/api.js.map +1 -1
- package/lib/credentials.d.ts +58 -4
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +126 -7
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +12 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/sensitive.d.ts +5 -0
- package/lib/sensitive.d.ts.map +1 -0
- package/lib/sensitive.js +5 -0
- package/lib/sensitive.js.map +1 -0
- package/lib/services/abuse-reports.d.ts +116 -44
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +171 -110
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts +146 -62
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +208 -153
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +8 -4
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts +200 -87
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +288 -201
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts +302 -121
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +407 -283
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai.d.ts +83 -29
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +95 -42
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts +266 -112
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +510 -393
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts +249 -112
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +382 -325
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +458 -200
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +725 -618
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.d.ts.map +1 -1
- package/lib/services/argo.js +16 -8
- package/lib/services/argo.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +4 -2
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +2 -2
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +10 -6
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts +8 -2
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +9 -2
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +15 -14
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +49 -25
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts +35 -14
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +35 -22
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.d.ts.map +1 -1
- package/lib/services/certificate-authorities.js +2 -2
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.d.ts +57 -23
- package/lib/services/client-certificates.d.ts.map +1 -1
- package/lib/services/client-certificates.js +91 -62
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts +51 -22
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +57 -44
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts +119 -50
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +181 -124
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.d.ts +74 -31
- package/lib/services/connectivity.d.ts.map +1 -1
- package/lib/services/connectivity.js +84 -57
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/content-scanning.d.ts +40 -15
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +40 -21
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +48 -19
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +80 -53
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +116 -51
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +210 -170
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.d.ts +32 -12
- package/lib/services/custom-nameservers.d.ts.map +1 -1
- package/lib/services/custom-nameservers.js +36 -21
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts +26 -11
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +39 -24
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +114 -48
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +150 -111
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.d.ts.map +1 -1
- package/lib/services/dcv-delegation.js +1 -1
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/diagnostics.d.ts +59 -26
- package/lib/services/diagnostics.d.ts.map +1 -1
- package/lib/services/diagnostics.js +97 -82
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +48 -19
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +75 -48
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +206 -87
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +335 -219
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts +44 -13
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +56 -19
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-routing.d.ts +90 -34
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +133 -80
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts +439 -181
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +753 -557
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/filters.d.ts +64 -24
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +61 -28
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts +455 -183
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +777 -574
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +76 -33
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +129 -100
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts +20 -8
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +32 -21
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +10 -9
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +162 -59
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +219 -119
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +36 -12
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -32
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +159 -62
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +238 -151
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.d.ts.map +1 -1
- package/lib/services/ips.js +1 -1
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.d.ts +36 -16
- package/lib/services/keyless-certificates.d.ts.map +1 -1
- package/lib/services/keyless-certificates.js +50 -37
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts +42 -12
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +87 -36
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts +16 -6
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +20 -12
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts +373 -167
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +603 -490
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +23 -15
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +11 -7
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts +542 -249
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +890 -804
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +44 -22
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts +432 -196
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +730 -566
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.d.ts.map +1 -1
- package/lib/services/managed-transforms.js +8 -4
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts +54 -22
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +79 -53
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts +41 -17
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +52 -33
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/organizations.d.ts +56 -25
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +74 -59
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.d.ts +30 -10
- package/lib/services/origin-ca-certificates.d.ts.map +1 -1
- package/lib/services/origin-ca-certificates.js +62 -35
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +8 -4
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts +60 -25
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +94 -60
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +18 -10
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts +145 -66
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +166 -130
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts +520 -225
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +643 -567
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +461 -206
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +859 -780
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +177 -80
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +233 -177
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +30 -16
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts +85 -39
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +146 -126
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts +152 -63
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +421 -360
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts +76 -31
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +106 -82
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +34 -33
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts +75 -35
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +116 -103
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +5 -2
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts +132 -50
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +232 -149
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/rules.d.ts +86 -37
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +122 -87
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +75 -30
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +274 -222
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts +40 -15
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +78 -45
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts +47 -14
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +102 -43
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts +116 -44
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +145 -78
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts +56 -22
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +90 -64
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +1 -1
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts +85 -33
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +106 -63
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts +58 -24
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +90 -65
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +47 -17
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +51 -24
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts +77 -35
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +146 -123
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts +173 -77
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +167 -131
- package/lib/services/stream.js.map +1 -1
- package/lib/services/token-validation.d.ts +203 -88
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +238 -172
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts +38 -14
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +72 -41
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.d.ts.map +1 -1
- package/lib/services/url-normalization.js +2 -2
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/user.d.ts +106 -40
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +156 -89
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +26 -11
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +46 -35
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts +244 -104
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +398 -296
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts +26 -11
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +62 -43
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts +323 -153
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +331 -288
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +601 -272
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +771 -633
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts +130 -47
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +190 -107
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts +20 -8
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +20 -13
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts +5436 -2650
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +9008 -7934
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +188 -84
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +257 -196
- package/lib/services/zones.js.map +1 -1
- package/package.json +3 -2
- package/src/auth.ts +4 -3
- package/src/client/api.ts +105 -13
- package/src/credentials.ts +253 -12
- package/src/errors.ts +17 -1
- package/src/sensitive.ts +4 -0
- package/src/services/abuse-reports.ts +416 -208
- package/src/services/accounts.ts +511 -306
- package/src/services/acm.ts +22 -14
- package/src/services/addressing.ts +865 -550
- package/src/services/ai-gateway.ts +1148 -710
- package/src/services/ai.ts +265 -91
- package/src/services/aisearch.ts +1460 -995
- package/src/services/alerting.ts +1027 -671
- package/src/services/api-gateway.ts +1628 -1129
- package/src/services/argo.ts +48 -32
- package/src/services/billing.ts +47 -43
- package/src/services/bot-management.ts +6 -2
- package/src/services/botnet-feed.ts +28 -16
- package/src/services/brand-protection.ts +28 -6
- package/src/services/browser-rendering.ts +23 -10
- package/src/services/cache.ts +147 -97
- package/src/services/calls.ts +107 -42
- package/src/services/certificate-authorities.ts +6 -2
- package/src/services/client-certificates.ts +270 -173
- package/src/services/cloud-connector.ts +149 -82
- package/src/services/cloudforce-one.ts +515 -287
- package/src/services/connectivity.ts +184 -107
- package/src/services/content-scanning.ts +115 -42
- package/src/services/custom-certificates.ts +200 -121
- package/src/services/custom-hostnames.ts +583 -395
- package/src/services/custom-nameservers.ts +98 -45
- package/src/services/custom-pages.ts +109 -62
- package/src/services/d1.ts +409 -235
- package/src/services/dcv-delegation.ts +3 -1
- package/src/services/diagnostics.ts +267 -193
- package/src/services/dns-firewall.ts +197 -116
- package/src/services/dns.ts +916 -536
- package/src/services/durable-objects.ts +126 -37
- package/src/services/email-routing.ts +375 -181
- package/src/services/email-security.ts +1881 -1112
- package/src/services/filters.ts +176 -58
- package/src/services/firewall.ts +1843 -1011
- package/src/services/healthchecks.ts +374 -258
- package/src/services/hostnames.ts +83 -47
- package/src/services/hyperdrive.ts +12 -9
- package/src/services/iam.ts +560 -259
- package/src/services/images.ts +148 -54
- package/src/services/intel.ts +677 -373
- package/src/services/ips.ts +1 -1
- package/src/services/keyless-certificates.ts +139 -92
- package/src/services/kv.ts +204 -86
- package/src/services/leaked-credential-checks.ts +58 -19
- package/src/services/load-balancers.ts +1755 -1200
- package/src/services/logpush.ts +100 -72
- package/src/services/logs.ts +29 -15
- package/src/services/magic-cloud-networking.ts +2453 -1726
- package/src/services/magic-network-monitoring.ts +163 -119
- package/src/services/magic-transit.ts +2153 -1530
- package/src/services/managed-transforms.ts +20 -12
- package/src/services/memberships.ts +196 -113
- package/src/services/mtls-certificates.ts +158 -88
- package/src/services/organizations.ts +185 -121
- package/src/services/origin-ca-certificates.ts +130 -64
- package/src/services/origin-post-quantum-encryption.ts +24 -16
- package/src/services/origin-tls-client-auth.ts +282 -158
- package/src/services/page-rules.ts +64 -44
- package/src/services/page-shield.ts +492 -316
- package/src/services/pages.ts +1612 -1154
- package/src/services/pipelines.ts +1735 -1280
- package/src/services/queues.ts +617 -419
- package/src/services/r2-data-catalog.ts +82 -50
- package/src/services/r2.ts +420 -239
- package/src/services/radar.ts +1107 -423
- package/src/services/rate-limits.ts +254 -152
- package/src/services/realtime-kit.ts +34 -33
- package/src/services/registrar.ts +262 -167
- package/src/services/request-tracers.ts +7 -4
- package/src/services/resource-sharing.ts +628 -378
- package/src/services/rules.ts +292 -176
- package/src/services/rulesets.ts +643 -426
- package/src/services/rum.ts +204 -111
- package/src/services/schema-validation.ts +240 -104
- package/src/services/secrets-store.ts +356 -166
- package/src/services/security-center.ts +196 -98
- package/src/services/security-txt.ts +2 -0
- package/src/services/snippets.ts +259 -117
- package/src/services/spectrum.ts +215 -128
- package/src/services/speed.ts +144 -46
- package/src/services/ssl.ts +420 -293
- package/src/services/stream.ts +496 -244
- package/src/services/token-validation.ts +583 -343
- package/src/services/turnstile.ts +206 -124
- package/src/services/url-normalization.ts +6 -2
- package/src/services/user.ts +480 -277
- package/src/services/vectorize.ts +123 -64
- package/src/services/waiting-rooms.ts +1156 -747
- package/src/services/web3.ts +178 -113
- package/src/services/workers-for-platforms.ts +814 -539
- package/src/services/workers.ts +1888 -1227
- package/src/services/workflows.ts +453 -205
- package/src/services/zaraz.ts +61 -25
- package/src/services/zero-trust.ts +17859 -12103
- package/src/services/zones.ts +690 -459
package/src/services/rulesets.ts
CHANGED
|
@@ -5,12 +5,14 @@
|
|
|
5
5
|
* DO NOT EDIT - regenerate with: bun scripts/generate.ts --service rulesets
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
import * as stream from "effect/Stream";
|
|
8
9
|
import * as Schema from "effect/Schema";
|
|
9
10
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
11
|
import * as API from "../client/api.ts";
|
|
11
12
|
import * as T from "../traits.ts";
|
|
12
13
|
import type { Credentials } from "../credentials.ts";
|
|
13
14
|
import { type DefaultErrors } from "../errors.ts";
|
|
15
|
+
import { SensitiveString } from "../sensitive.ts";
|
|
14
16
|
|
|
15
17
|
// =============================================================================
|
|
16
18
|
// Pha
|
|
@@ -178,7 +180,7 @@ export const GetPhasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
178
180
|
exposedCredentialCheck: Schema.optional(
|
|
179
181
|
Schema.Union([
|
|
180
182
|
Schema.Struct({
|
|
181
|
-
passwordExpression:
|
|
183
|
+
passwordExpression: SensitiveString,
|
|
182
184
|
usernameExpression: Schema.String,
|
|
183
185
|
}).pipe(
|
|
184
186
|
Schema.encodeKeys({
|
|
@@ -267,7 +269,7 @@ export const GetPhasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
267
269
|
exposedCredentialCheck: Schema.optional(
|
|
268
270
|
Schema.Union([
|
|
269
271
|
Schema.Struct({
|
|
270
|
-
passwordExpression:
|
|
272
|
+
passwordExpression: SensitiveString,
|
|
271
273
|
usernameExpression: Schema.String,
|
|
272
274
|
}).pipe(
|
|
273
275
|
Schema.encodeKeys({
|
|
@@ -340,18 +342,20 @@ export const GetPhasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
340
342
|
),
|
|
341
343
|
version: Schema.String,
|
|
342
344
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
343
|
-
})
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
)
|
|
345
|
+
})
|
|
346
|
+
.pipe(
|
|
347
|
+
Schema.encodeKeys({
|
|
348
|
+
id: "id",
|
|
349
|
+
kind: "kind",
|
|
350
|
+
lastUpdated: "last_updated",
|
|
351
|
+
name: "name",
|
|
352
|
+
phase: "phase",
|
|
353
|
+
rules: "rules",
|
|
354
|
+
version: "version",
|
|
355
|
+
description: "description",
|
|
356
|
+
}),
|
|
357
|
+
)
|
|
358
|
+
.pipe(T.ResponsePath("result")) as unknown as Schema.Schema<GetPhasResponse>;
|
|
355
359
|
|
|
356
360
|
export type GetPhasError = DefaultErrors;
|
|
357
361
|
|
|
@@ -446,7 +450,7 @@ export const PutPhasRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
446
450
|
enabled: Schema.optional(Schema.Boolean),
|
|
447
451
|
exposedCredentialCheck: Schema.optional(
|
|
448
452
|
Schema.Struct({
|
|
449
|
-
passwordExpression:
|
|
453
|
+
passwordExpression: SensitiveString,
|
|
450
454
|
usernameExpression: Schema.String,
|
|
451
455
|
}).pipe(
|
|
452
456
|
Schema.encodeKeys({
|
|
@@ -503,7 +507,7 @@ export const PutPhasRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
503
507
|
enabled: Schema.optional(Schema.Boolean),
|
|
504
508
|
exposedCredentialCheck: Schema.optional(
|
|
505
509
|
Schema.Struct({
|
|
506
|
-
passwordExpression:
|
|
510
|
+
passwordExpression: SensitiveString,
|
|
507
511
|
usernameExpression: Schema.String,
|
|
508
512
|
}).pipe(
|
|
509
513
|
Schema.encodeKeys({
|
|
@@ -713,7 +717,7 @@ export const PutPhasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
713
717
|
exposedCredentialCheck: Schema.optional(
|
|
714
718
|
Schema.Union([
|
|
715
719
|
Schema.Struct({
|
|
716
|
-
passwordExpression:
|
|
720
|
+
passwordExpression: SensitiveString,
|
|
717
721
|
usernameExpression: Schema.String,
|
|
718
722
|
}).pipe(
|
|
719
723
|
Schema.encodeKeys({
|
|
@@ -802,7 +806,7 @@ export const PutPhasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
802
806
|
exposedCredentialCheck: Schema.optional(
|
|
803
807
|
Schema.Union([
|
|
804
808
|
Schema.Struct({
|
|
805
|
-
passwordExpression:
|
|
809
|
+
passwordExpression: SensitiveString,
|
|
806
810
|
usernameExpression: Schema.String,
|
|
807
811
|
}).pipe(
|
|
808
812
|
Schema.encodeKeys({
|
|
@@ -875,18 +879,20 @@ export const PutPhasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
875
879
|
),
|
|
876
880
|
version: Schema.String,
|
|
877
881
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
878
|
-
})
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
)
|
|
882
|
+
})
|
|
883
|
+
.pipe(
|
|
884
|
+
Schema.encodeKeys({
|
|
885
|
+
id: "id",
|
|
886
|
+
kind: "kind",
|
|
887
|
+
lastUpdated: "last_updated",
|
|
888
|
+
name: "name",
|
|
889
|
+
phase: "phase",
|
|
890
|
+
rules: "rules",
|
|
891
|
+
version: "version",
|
|
892
|
+
description: "description",
|
|
893
|
+
}),
|
|
894
|
+
)
|
|
895
|
+
.pipe(T.ResponsePath("result")) as unknown as Schema.Schema<PutPhasResponse>;
|
|
890
896
|
|
|
891
897
|
export type PutPhasError = DefaultErrors;
|
|
892
898
|
|
|
@@ -1070,7 +1076,7 @@ export const GetPhasVersionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
1070
1076
|
exposedCredentialCheck: Schema.optional(
|
|
1071
1077
|
Schema.Union([
|
|
1072
1078
|
Schema.Struct({
|
|
1073
|
-
passwordExpression:
|
|
1079
|
+
passwordExpression: SensitiveString,
|
|
1074
1080
|
usernameExpression: Schema.String,
|
|
1075
1081
|
}).pipe(
|
|
1076
1082
|
Schema.encodeKeys({
|
|
@@ -1161,7 +1167,7 @@ export const GetPhasVersionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
1161
1167
|
exposedCredentialCheck: Schema.optional(
|
|
1162
1168
|
Schema.Union([
|
|
1163
1169
|
Schema.Struct({
|
|
1164
|
-
passwordExpression:
|
|
1170
|
+
passwordExpression: SensitiveString,
|
|
1165
1171
|
usernameExpression: Schema.String,
|
|
1166
1172
|
}).pipe(
|
|
1167
1173
|
Schema.encodeKeys({
|
|
@@ -1237,18 +1243,22 @@ export const GetPhasVersionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
1237
1243
|
version: Schema.String,
|
|
1238
1244
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1239
1245
|
},
|
|
1240
|
-
)
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
)
|
|
1246
|
+
)
|
|
1247
|
+
.pipe(
|
|
1248
|
+
Schema.encodeKeys({
|
|
1249
|
+
id: "id",
|
|
1250
|
+
kind: "kind",
|
|
1251
|
+
lastUpdated: "last_updated",
|
|
1252
|
+
name: "name",
|
|
1253
|
+
phase: "phase",
|
|
1254
|
+
rules: "rules",
|
|
1255
|
+
version: "version",
|
|
1256
|
+
description: "description",
|
|
1257
|
+
}),
|
|
1258
|
+
)
|
|
1259
|
+
.pipe(
|
|
1260
|
+
T.ResponsePath("result"),
|
|
1261
|
+
) as unknown as Schema.Schema<GetPhasVersionResponse>;
|
|
1252
1262
|
|
|
1253
1263
|
export type GetPhasVersionError = DefaultErrors;
|
|
1254
1264
|
|
|
@@ -1273,97 +1283,151 @@ export const ListPhasVersionsRequest =
|
|
|
1273
1283
|
}),
|
|
1274
1284
|
) as unknown as Schema.Schema<ListPhasVersionsRequest>;
|
|
1275
1285
|
|
|
1276
|
-
export
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1286
|
+
export interface ListPhasVersionsResponse {
|
|
1287
|
+
result: {
|
|
1288
|
+
id: string;
|
|
1289
|
+
kind: "zone" | "managed" | "custom" | "root";
|
|
1290
|
+
lastUpdated: string;
|
|
1291
|
+
name: string;
|
|
1292
|
+
phase:
|
|
1293
|
+
| "ddos_l4"
|
|
1294
|
+
| "ddos_l7"
|
|
1295
|
+
| "http_config_settings"
|
|
1296
|
+
| "http_custom_errors"
|
|
1297
|
+
| "http_log_custom_fields"
|
|
1298
|
+
| "http_ratelimit"
|
|
1299
|
+
| "http_request_cache_settings"
|
|
1300
|
+
| "http_request_dynamic_redirect"
|
|
1301
|
+
| "http_request_firewall_custom"
|
|
1302
|
+
| "http_request_firewall_managed"
|
|
1303
|
+
| "http_request_late_transform"
|
|
1304
|
+
| "http_request_origin"
|
|
1305
|
+
| "http_request_redirect"
|
|
1306
|
+
| "http_request_sanitize"
|
|
1307
|
+
| "http_request_sbfm"
|
|
1308
|
+
| "http_request_transform"
|
|
1309
|
+
| "http_response_compression"
|
|
1310
|
+
| "http_response_firewall_managed"
|
|
1311
|
+
| "http_response_headers_transform"
|
|
1312
|
+
| "magic_transit"
|
|
1313
|
+
| "magic_transit_ids_managed"
|
|
1314
|
+
| "magic_transit_managed"
|
|
1315
|
+
| "magic_transit_ratelimit";
|
|
1316
|
+
version: string;
|
|
1317
|
+
description?: string | null;
|
|
1318
|
+
}[];
|
|
1319
|
+
}
|
|
1308
1320
|
|
|
1309
1321
|
export const ListPhasVersionsResponse =
|
|
1310
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
1311
|
-
Schema.
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1322
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1323
|
+
result: Schema.Array(
|
|
1324
|
+
Schema.Struct({
|
|
1325
|
+
id: Schema.String,
|
|
1326
|
+
kind: Schema.Literals(["zone", "managed", "custom", "root"]),
|
|
1327
|
+
lastUpdated: Schema.String,
|
|
1328
|
+
name: Schema.String,
|
|
1329
|
+
phase: Schema.Literals([
|
|
1330
|
+
"ddos_l4",
|
|
1331
|
+
"ddos_l7",
|
|
1332
|
+
"http_config_settings",
|
|
1333
|
+
"http_custom_errors",
|
|
1334
|
+
"http_log_custom_fields",
|
|
1335
|
+
"http_ratelimit",
|
|
1336
|
+
"http_request_cache_settings",
|
|
1337
|
+
"http_request_dynamic_redirect",
|
|
1338
|
+
"http_request_firewall_custom",
|
|
1339
|
+
"http_request_firewall_managed",
|
|
1340
|
+
"http_request_late_transform",
|
|
1341
|
+
"http_request_origin",
|
|
1342
|
+
"http_request_redirect",
|
|
1343
|
+
"http_request_sanitize",
|
|
1344
|
+
"http_request_sbfm",
|
|
1345
|
+
"http_request_transform",
|
|
1346
|
+
"http_response_compression",
|
|
1347
|
+
"http_response_firewall_managed",
|
|
1348
|
+
"http_response_headers_transform",
|
|
1349
|
+
"magic_transit",
|
|
1350
|
+
"magic_transit_ids_managed",
|
|
1351
|
+
"magic_transit_managed",
|
|
1352
|
+
"magic_transit_ratelimit",
|
|
1353
|
+
]),
|
|
1354
|
+
version: Schema.String,
|
|
1355
|
+
description: Schema.optional(
|
|
1356
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1357
|
+
),
|
|
1358
|
+
}).pipe(
|
|
1359
|
+
Schema.encodeKeys({
|
|
1360
|
+
id: "id",
|
|
1361
|
+
kind: "kind",
|
|
1362
|
+
lastUpdated: "last_updated",
|
|
1363
|
+
name: "name",
|
|
1364
|
+
phase: "phase",
|
|
1365
|
+
version: "version",
|
|
1366
|
+
description: "description",
|
|
1367
|
+
}),
|
|
1368
|
+
),
|
|
1353
1369
|
),
|
|
1354
|
-
) as unknown as Schema.Schema<ListPhasVersionsResponse>;
|
|
1370
|
+
}) as unknown as Schema.Schema<ListPhasVersionsResponse>;
|
|
1355
1371
|
|
|
1356
1372
|
export type ListPhasVersionsError = DefaultErrors;
|
|
1357
1373
|
|
|
1358
|
-
export const listPhasVersions: API.
|
|
1374
|
+
export const listPhasVersions: API.PaginatedOperationMethod<
|
|
1359
1375
|
ListPhasVersionsRequest,
|
|
1360
1376
|
ListPhasVersionsResponse,
|
|
1361
1377
|
ListPhasVersionsError,
|
|
1362
1378
|
Credentials | HttpClient.HttpClient
|
|
1363
|
-
>
|
|
1379
|
+
> & {
|
|
1380
|
+
pages: (
|
|
1381
|
+
input: ListPhasVersionsRequest,
|
|
1382
|
+
) => stream.Stream<
|
|
1383
|
+
ListPhasVersionsResponse,
|
|
1384
|
+
ListPhasVersionsError,
|
|
1385
|
+
Credentials | HttpClient.HttpClient
|
|
1386
|
+
>;
|
|
1387
|
+
items: (input: ListPhasVersionsRequest) => stream.Stream<
|
|
1388
|
+
{
|
|
1389
|
+
id: string;
|
|
1390
|
+
kind: "zone" | "managed" | "custom" | "root";
|
|
1391
|
+
lastUpdated: string;
|
|
1392
|
+
name: string;
|
|
1393
|
+
phase:
|
|
1394
|
+
| "ddos_l4"
|
|
1395
|
+
| "ddos_l7"
|
|
1396
|
+
| "http_config_settings"
|
|
1397
|
+
| "http_custom_errors"
|
|
1398
|
+
| "http_log_custom_fields"
|
|
1399
|
+
| "http_ratelimit"
|
|
1400
|
+
| "http_request_cache_settings"
|
|
1401
|
+
| "http_request_dynamic_redirect"
|
|
1402
|
+
| "http_request_firewall_custom"
|
|
1403
|
+
| "http_request_firewall_managed"
|
|
1404
|
+
| "http_request_late_transform"
|
|
1405
|
+
| "http_request_origin"
|
|
1406
|
+
| "http_request_redirect"
|
|
1407
|
+
| "http_request_sanitize"
|
|
1408
|
+
| "http_request_sbfm"
|
|
1409
|
+
| "http_request_transform"
|
|
1410
|
+
| "http_response_compression"
|
|
1411
|
+
| "http_response_firewall_managed"
|
|
1412
|
+
| "http_response_headers_transform"
|
|
1413
|
+
| "magic_transit"
|
|
1414
|
+
| "magic_transit_ids_managed"
|
|
1415
|
+
| "magic_transit_managed"
|
|
1416
|
+
| "magic_transit_ratelimit";
|
|
1417
|
+
version: string;
|
|
1418
|
+
description?: string | null;
|
|
1419
|
+
},
|
|
1420
|
+
ListPhasVersionsError,
|
|
1421
|
+
Credentials | HttpClient.HttpClient
|
|
1422
|
+
>;
|
|
1423
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
1364
1424
|
input: ListPhasVersionsRequest,
|
|
1365
1425
|
output: ListPhasVersionsResponse,
|
|
1366
1426
|
errors: [],
|
|
1427
|
+
pagination: {
|
|
1428
|
+
mode: "single",
|
|
1429
|
+
items: "result",
|
|
1430
|
+
} as const,
|
|
1367
1431
|
}));
|
|
1368
1432
|
|
|
1369
1433
|
// =============================================================================
|
|
@@ -1441,7 +1505,7 @@ export const CreateRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1441
1505
|
enabled: Schema.optional(Schema.Boolean),
|
|
1442
1506
|
exposedCredentialCheck: Schema.optional(
|
|
1443
1507
|
Schema.Struct({
|
|
1444
|
-
passwordExpression:
|
|
1508
|
+
passwordExpression: SensitiveString,
|
|
1445
1509
|
usernameExpression: Schema.String,
|
|
1446
1510
|
}).pipe(
|
|
1447
1511
|
Schema.encodeKeys({
|
|
@@ -2403,7 +2467,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2403
2467
|
exposedCredentialCheck: Schema.optional(
|
|
2404
2468
|
Schema.Union([
|
|
2405
2469
|
Schema.Struct({
|
|
2406
|
-
passwordExpression:
|
|
2470
|
+
passwordExpression: SensitiveString,
|
|
2407
2471
|
usernameExpression: Schema.String,
|
|
2408
2472
|
}).pipe(
|
|
2409
2473
|
Schema.encodeKeys({
|
|
@@ -2521,7 +2585,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2521
2585
|
exposedCredentialCheck: Schema.optional(
|
|
2522
2586
|
Schema.Union([
|
|
2523
2587
|
Schema.Struct({
|
|
2524
|
-
passwordExpression:
|
|
2588
|
+
passwordExpression: SensitiveString,
|
|
2525
2589
|
usernameExpression: Schema.String,
|
|
2526
2590
|
}).pipe(
|
|
2527
2591
|
Schema.encodeKeys({
|
|
@@ -2631,7 +2695,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2631
2695
|
exposedCredentialCheck: Schema.optional(
|
|
2632
2696
|
Schema.Union([
|
|
2633
2697
|
Schema.Struct({
|
|
2634
|
-
passwordExpression:
|
|
2698
|
+
passwordExpression: SensitiveString,
|
|
2635
2699
|
usernameExpression: Schema.String,
|
|
2636
2700
|
}).pipe(
|
|
2637
2701
|
Schema.encodeKeys({
|
|
@@ -2724,7 +2788,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2724
2788
|
exposedCredentialCheck: Schema.optional(
|
|
2725
2789
|
Schema.Union([
|
|
2726
2790
|
Schema.Struct({
|
|
2727
|
-
passwordExpression:
|
|
2791
|
+
passwordExpression: SensitiveString,
|
|
2728
2792
|
usernameExpression: Schema.String,
|
|
2729
2793
|
}).pipe(
|
|
2730
2794
|
Schema.encodeKeys({
|
|
@@ -2957,7 +3021,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2957
3021
|
exposedCredentialCheck: Schema.optional(
|
|
2958
3022
|
Schema.Union([
|
|
2959
3023
|
Schema.Struct({
|
|
2960
|
-
passwordExpression:
|
|
3024
|
+
passwordExpression: SensitiveString,
|
|
2961
3025
|
usernameExpression: Schema.String,
|
|
2962
3026
|
}).pipe(
|
|
2963
3027
|
Schema.encodeKeys({
|
|
@@ -3072,7 +3136,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3072
3136
|
exposedCredentialCheck: Schema.optional(
|
|
3073
3137
|
Schema.Union([
|
|
3074
3138
|
Schema.Struct({
|
|
3075
|
-
passwordExpression:
|
|
3139
|
+
passwordExpression: SensitiveString,
|
|
3076
3140
|
usernameExpression: Schema.String,
|
|
3077
3141
|
}).pipe(
|
|
3078
3142
|
Schema.encodeKeys({
|
|
@@ -3190,7 +3254,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3190
3254
|
exposedCredentialCheck: Schema.optional(
|
|
3191
3255
|
Schema.Union([
|
|
3192
3256
|
Schema.Struct({
|
|
3193
|
-
passwordExpression:
|
|
3257
|
+
passwordExpression: SensitiveString,
|
|
3194
3258
|
usernameExpression: Schema.String,
|
|
3195
3259
|
}).pipe(
|
|
3196
3260
|
Schema.encodeKeys({
|
|
@@ -3276,7 +3340,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3276
3340
|
exposedCredentialCheck: Schema.optional(
|
|
3277
3341
|
Schema.Union([
|
|
3278
3342
|
Schema.Struct({
|
|
3279
|
-
passwordExpression:
|
|
3343
|
+
passwordExpression: SensitiveString,
|
|
3280
3344
|
usernameExpression: Schema.String,
|
|
3281
3345
|
}).pipe(
|
|
3282
3346
|
Schema.encodeKeys({
|
|
@@ -3469,7 +3533,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3469
3533
|
exposedCredentialCheck: Schema.optional(
|
|
3470
3534
|
Schema.Union([
|
|
3471
3535
|
Schema.Struct({
|
|
3472
|
-
passwordExpression:
|
|
3536
|
+
passwordExpression: SensitiveString,
|
|
3473
3537
|
usernameExpression: Schema.String,
|
|
3474
3538
|
}).pipe(
|
|
3475
3539
|
Schema.encodeKeys({
|
|
@@ -3584,7 +3648,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3584
3648
|
exposedCredentialCheck: Schema.optional(
|
|
3585
3649
|
Schema.Union([
|
|
3586
3650
|
Schema.Struct({
|
|
3587
|
-
passwordExpression:
|
|
3651
|
+
passwordExpression: SensitiveString,
|
|
3588
3652
|
usernameExpression: Schema.String,
|
|
3589
3653
|
}).pipe(
|
|
3590
3654
|
Schema.encodeKeys({
|
|
@@ -3747,7 +3811,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3747
3811
|
exposedCredentialCheck: Schema.optional(
|
|
3748
3812
|
Schema.Union([
|
|
3749
3813
|
Schema.Struct({
|
|
3750
|
-
passwordExpression:
|
|
3814
|
+
passwordExpression: SensitiveString,
|
|
3751
3815
|
usernameExpression: Schema.String,
|
|
3752
3816
|
}).pipe(
|
|
3753
3817
|
Schema.encodeKeys({
|
|
@@ -3896,7 +3960,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3896
3960
|
exposedCredentialCheck: Schema.optional(
|
|
3897
3961
|
Schema.Union([
|
|
3898
3962
|
Schema.Struct({
|
|
3899
|
-
passwordExpression:
|
|
3963
|
+
passwordExpression: SensitiveString,
|
|
3900
3964
|
usernameExpression: Schema.String,
|
|
3901
3965
|
}).pipe(
|
|
3902
3966
|
Schema.encodeKeys({
|
|
@@ -4045,7 +4109,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4045
4109
|
exposedCredentialCheck: Schema.optional(
|
|
4046
4110
|
Schema.Union([
|
|
4047
4111
|
Schema.Struct({
|
|
4048
|
-
passwordExpression:
|
|
4112
|
+
passwordExpression: SensitiveString,
|
|
4049
4113
|
usernameExpression: Schema.String,
|
|
4050
4114
|
}).pipe(
|
|
4051
4115
|
Schema.encodeKeys({
|
|
@@ -4165,7 +4229,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4165
4229
|
exposedCredentialCheck: Schema.optional(
|
|
4166
4230
|
Schema.Union([
|
|
4167
4231
|
Schema.Struct({
|
|
4168
|
-
passwordExpression:
|
|
4232
|
+
passwordExpression: SensitiveString,
|
|
4169
4233
|
usernameExpression: Schema.String,
|
|
4170
4234
|
}).pipe(
|
|
4171
4235
|
Schema.encodeKeys({
|
|
@@ -4330,7 +4394,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4330
4394
|
exposedCredentialCheck: Schema.optional(
|
|
4331
4395
|
Schema.Union([
|
|
4332
4396
|
Schema.Struct({
|
|
4333
|
-
passwordExpression:
|
|
4397
|
+
passwordExpression: SensitiveString,
|
|
4334
4398
|
usernameExpression: Schema.String,
|
|
4335
4399
|
}).pipe(
|
|
4336
4400
|
Schema.encodeKeys({
|
|
@@ -4754,7 +4818,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4754
4818
|
exposedCredentialCheck: Schema.optional(
|
|
4755
4819
|
Schema.Union([
|
|
4756
4820
|
Schema.Struct({
|
|
4757
|
-
passwordExpression:
|
|
4821
|
+
passwordExpression: SensitiveString,
|
|
4758
4822
|
usernameExpression: Schema.String,
|
|
4759
4823
|
}).pipe(
|
|
4760
4824
|
Schema.encodeKeys({
|
|
@@ -4996,7 +5060,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4996
5060
|
exposedCredentialCheck: Schema.optional(
|
|
4997
5061
|
Schema.Union([
|
|
4998
5062
|
Schema.Struct({
|
|
4999
|
-
passwordExpression:
|
|
5063
|
+
passwordExpression: SensitiveString,
|
|
5000
5064
|
usernameExpression: Schema.String,
|
|
5001
5065
|
}).pipe(
|
|
5002
5066
|
Schema.encodeKeys({
|
|
@@ -5153,7 +5217,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5153
5217
|
exposedCredentialCheck: Schema.optional(
|
|
5154
5218
|
Schema.Union([
|
|
5155
5219
|
Schema.Struct({
|
|
5156
|
-
passwordExpression:
|
|
5220
|
+
passwordExpression: SensitiveString,
|
|
5157
5221
|
usernameExpression: Schema.String,
|
|
5158
5222
|
}).pipe(
|
|
5159
5223
|
Schema.encodeKeys({
|
|
@@ -5255,18 +5319,22 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5255
5319
|
),
|
|
5256
5320
|
version: Schema.String,
|
|
5257
5321
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5258
|
-
})
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
)
|
|
5322
|
+
})
|
|
5323
|
+
.pipe(
|
|
5324
|
+
Schema.encodeKeys({
|
|
5325
|
+
id: "id",
|
|
5326
|
+
kind: "kind",
|
|
5327
|
+
lastUpdated: "last_updated",
|
|
5328
|
+
name: "name",
|
|
5329
|
+
phase: "phase",
|
|
5330
|
+
rules: "rules",
|
|
5331
|
+
version: "version",
|
|
5332
|
+
description: "description",
|
|
5333
|
+
}),
|
|
5334
|
+
)
|
|
5335
|
+
.pipe(
|
|
5336
|
+
T.ResponsePath("result"),
|
|
5337
|
+
) as unknown as Schema.Schema<CreateRuleResponse>;
|
|
5270
5338
|
|
|
5271
5339
|
export type CreateRuleError = DefaultErrors;
|
|
5272
5340
|
|
|
@@ -5354,7 +5422,7 @@ export const PatchRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5354
5422
|
enabled: Schema.optional(Schema.Boolean),
|
|
5355
5423
|
exposedCredentialCheck: Schema.optional(
|
|
5356
5424
|
Schema.Struct({
|
|
5357
|
-
passwordExpression:
|
|
5425
|
+
passwordExpression: SensitiveString,
|
|
5358
5426
|
usernameExpression: Schema.String,
|
|
5359
5427
|
}).pipe(
|
|
5360
5428
|
Schema.encodeKeys({
|
|
@@ -6316,7 +6384,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6316
6384
|
exposedCredentialCheck: Schema.optional(
|
|
6317
6385
|
Schema.Union([
|
|
6318
6386
|
Schema.Struct({
|
|
6319
|
-
passwordExpression:
|
|
6387
|
+
passwordExpression: SensitiveString,
|
|
6320
6388
|
usernameExpression: Schema.String,
|
|
6321
6389
|
}).pipe(
|
|
6322
6390
|
Schema.encodeKeys({
|
|
@@ -6434,7 +6502,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6434
6502
|
exposedCredentialCheck: Schema.optional(
|
|
6435
6503
|
Schema.Union([
|
|
6436
6504
|
Schema.Struct({
|
|
6437
|
-
passwordExpression:
|
|
6505
|
+
passwordExpression: SensitiveString,
|
|
6438
6506
|
usernameExpression: Schema.String,
|
|
6439
6507
|
}).pipe(
|
|
6440
6508
|
Schema.encodeKeys({
|
|
@@ -6544,7 +6612,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6544
6612
|
exposedCredentialCheck: Schema.optional(
|
|
6545
6613
|
Schema.Union([
|
|
6546
6614
|
Schema.Struct({
|
|
6547
|
-
passwordExpression:
|
|
6615
|
+
passwordExpression: SensitiveString,
|
|
6548
6616
|
usernameExpression: Schema.String,
|
|
6549
6617
|
}).pipe(
|
|
6550
6618
|
Schema.encodeKeys({
|
|
@@ -6637,7 +6705,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6637
6705
|
exposedCredentialCheck: Schema.optional(
|
|
6638
6706
|
Schema.Union([
|
|
6639
6707
|
Schema.Struct({
|
|
6640
|
-
passwordExpression:
|
|
6708
|
+
passwordExpression: SensitiveString,
|
|
6641
6709
|
usernameExpression: Schema.String,
|
|
6642
6710
|
}).pipe(
|
|
6643
6711
|
Schema.encodeKeys({
|
|
@@ -6870,7 +6938,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6870
6938
|
exposedCredentialCheck: Schema.optional(
|
|
6871
6939
|
Schema.Union([
|
|
6872
6940
|
Schema.Struct({
|
|
6873
|
-
passwordExpression:
|
|
6941
|
+
passwordExpression: SensitiveString,
|
|
6874
6942
|
usernameExpression: Schema.String,
|
|
6875
6943
|
}).pipe(
|
|
6876
6944
|
Schema.encodeKeys({
|
|
@@ -6985,7 +7053,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6985
7053
|
exposedCredentialCheck: Schema.optional(
|
|
6986
7054
|
Schema.Union([
|
|
6987
7055
|
Schema.Struct({
|
|
6988
|
-
passwordExpression:
|
|
7056
|
+
passwordExpression: SensitiveString,
|
|
6989
7057
|
usernameExpression: Schema.String,
|
|
6990
7058
|
}).pipe(
|
|
6991
7059
|
Schema.encodeKeys({
|
|
@@ -7103,7 +7171,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7103
7171
|
exposedCredentialCheck: Schema.optional(
|
|
7104
7172
|
Schema.Union([
|
|
7105
7173
|
Schema.Struct({
|
|
7106
|
-
passwordExpression:
|
|
7174
|
+
passwordExpression: SensitiveString,
|
|
7107
7175
|
usernameExpression: Schema.String,
|
|
7108
7176
|
}).pipe(
|
|
7109
7177
|
Schema.encodeKeys({
|
|
@@ -7189,7 +7257,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7189
7257
|
exposedCredentialCheck: Schema.optional(
|
|
7190
7258
|
Schema.Union([
|
|
7191
7259
|
Schema.Struct({
|
|
7192
|
-
passwordExpression:
|
|
7260
|
+
passwordExpression: SensitiveString,
|
|
7193
7261
|
usernameExpression: Schema.String,
|
|
7194
7262
|
}).pipe(
|
|
7195
7263
|
Schema.encodeKeys({
|
|
@@ -7382,7 +7450,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7382
7450
|
exposedCredentialCheck: Schema.optional(
|
|
7383
7451
|
Schema.Union([
|
|
7384
7452
|
Schema.Struct({
|
|
7385
|
-
passwordExpression:
|
|
7453
|
+
passwordExpression: SensitiveString,
|
|
7386
7454
|
usernameExpression: Schema.String,
|
|
7387
7455
|
}).pipe(
|
|
7388
7456
|
Schema.encodeKeys({
|
|
@@ -7497,7 +7565,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7497
7565
|
exposedCredentialCheck: Schema.optional(
|
|
7498
7566
|
Schema.Union([
|
|
7499
7567
|
Schema.Struct({
|
|
7500
|
-
passwordExpression:
|
|
7568
|
+
passwordExpression: SensitiveString,
|
|
7501
7569
|
usernameExpression: Schema.String,
|
|
7502
7570
|
}).pipe(
|
|
7503
7571
|
Schema.encodeKeys({
|
|
@@ -7660,7 +7728,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7660
7728
|
exposedCredentialCheck: Schema.optional(
|
|
7661
7729
|
Schema.Union([
|
|
7662
7730
|
Schema.Struct({
|
|
7663
|
-
passwordExpression:
|
|
7731
|
+
passwordExpression: SensitiveString,
|
|
7664
7732
|
usernameExpression: Schema.String,
|
|
7665
7733
|
}).pipe(
|
|
7666
7734
|
Schema.encodeKeys({
|
|
@@ -7809,7 +7877,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7809
7877
|
exposedCredentialCheck: Schema.optional(
|
|
7810
7878
|
Schema.Union([
|
|
7811
7879
|
Schema.Struct({
|
|
7812
|
-
passwordExpression:
|
|
7880
|
+
passwordExpression: SensitiveString,
|
|
7813
7881
|
usernameExpression: Schema.String,
|
|
7814
7882
|
}).pipe(
|
|
7815
7883
|
Schema.encodeKeys({
|
|
@@ -7958,7 +8026,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7958
8026
|
exposedCredentialCheck: Schema.optional(
|
|
7959
8027
|
Schema.Union([
|
|
7960
8028
|
Schema.Struct({
|
|
7961
|
-
passwordExpression:
|
|
8029
|
+
passwordExpression: SensitiveString,
|
|
7962
8030
|
usernameExpression: Schema.String,
|
|
7963
8031
|
}).pipe(
|
|
7964
8032
|
Schema.encodeKeys({
|
|
@@ -8078,7 +8146,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
8078
8146
|
exposedCredentialCheck: Schema.optional(
|
|
8079
8147
|
Schema.Union([
|
|
8080
8148
|
Schema.Struct({
|
|
8081
|
-
passwordExpression:
|
|
8149
|
+
passwordExpression: SensitiveString,
|
|
8082
8150
|
usernameExpression: Schema.String,
|
|
8083
8151
|
}).pipe(
|
|
8084
8152
|
Schema.encodeKeys({
|
|
@@ -8243,7 +8311,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
8243
8311
|
exposedCredentialCheck: Schema.optional(
|
|
8244
8312
|
Schema.Union([
|
|
8245
8313
|
Schema.Struct({
|
|
8246
|
-
passwordExpression:
|
|
8314
|
+
passwordExpression: SensitiveString,
|
|
8247
8315
|
usernameExpression: Schema.String,
|
|
8248
8316
|
}).pipe(
|
|
8249
8317
|
Schema.encodeKeys({
|
|
@@ -8667,7 +8735,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
8667
8735
|
exposedCredentialCheck: Schema.optional(
|
|
8668
8736
|
Schema.Union([
|
|
8669
8737
|
Schema.Struct({
|
|
8670
|
-
passwordExpression:
|
|
8738
|
+
passwordExpression: SensitiveString,
|
|
8671
8739
|
usernameExpression: Schema.String,
|
|
8672
8740
|
}).pipe(
|
|
8673
8741
|
Schema.encodeKeys({
|
|
@@ -8909,7 +8977,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
8909
8977
|
exposedCredentialCheck: Schema.optional(
|
|
8910
8978
|
Schema.Union([
|
|
8911
8979
|
Schema.Struct({
|
|
8912
|
-
passwordExpression:
|
|
8980
|
+
passwordExpression: SensitiveString,
|
|
8913
8981
|
usernameExpression: Schema.String,
|
|
8914
8982
|
}).pipe(
|
|
8915
8983
|
Schema.encodeKeys({
|
|
@@ -9066,7 +9134,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
9066
9134
|
exposedCredentialCheck: Schema.optional(
|
|
9067
9135
|
Schema.Union([
|
|
9068
9136
|
Schema.Struct({
|
|
9069
|
-
passwordExpression:
|
|
9137
|
+
passwordExpression: SensitiveString,
|
|
9070
9138
|
usernameExpression: Schema.String,
|
|
9071
9139
|
}).pipe(
|
|
9072
9140
|
Schema.encodeKeys({
|
|
@@ -9168,18 +9236,22 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
9168
9236
|
),
|
|
9169
9237
|
version: Schema.String,
|
|
9170
9238
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
9171
|
-
})
|
|
9172
|
-
|
|
9173
|
-
|
|
9174
|
-
|
|
9175
|
-
|
|
9176
|
-
|
|
9177
|
-
|
|
9178
|
-
|
|
9179
|
-
|
|
9180
|
-
|
|
9181
|
-
|
|
9182
|
-
)
|
|
9239
|
+
})
|
|
9240
|
+
.pipe(
|
|
9241
|
+
Schema.encodeKeys({
|
|
9242
|
+
id: "id",
|
|
9243
|
+
kind: "kind",
|
|
9244
|
+
lastUpdated: "last_updated",
|
|
9245
|
+
name: "name",
|
|
9246
|
+
phase: "phase",
|
|
9247
|
+
rules: "rules",
|
|
9248
|
+
version: "version",
|
|
9249
|
+
description: "description",
|
|
9250
|
+
}),
|
|
9251
|
+
)
|
|
9252
|
+
.pipe(
|
|
9253
|
+
T.ResponsePath("result"),
|
|
9254
|
+
) as unknown as Schema.Schema<PatchRuleResponse>;
|
|
9183
9255
|
|
|
9184
9256
|
export type PatchRuleError = DefaultErrors;
|
|
9185
9257
|
|
|
@@ -10099,7 +10171,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10099
10171
|
exposedCredentialCheck: Schema.optional(
|
|
10100
10172
|
Schema.Union([
|
|
10101
10173
|
Schema.Struct({
|
|
10102
|
-
passwordExpression:
|
|
10174
|
+
passwordExpression: SensitiveString,
|
|
10103
10175
|
usernameExpression: Schema.String,
|
|
10104
10176
|
}).pipe(
|
|
10105
10177
|
Schema.encodeKeys({
|
|
@@ -10217,7 +10289,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10217
10289
|
exposedCredentialCheck: Schema.optional(
|
|
10218
10290
|
Schema.Union([
|
|
10219
10291
|
Schema.Struct({
|
|
10220
|
-
passwordExpression:
|
|
10292
|
+
passwordExpression: SensitiveString,
|
|
10221
10293
|
usernameExpression: Schema.String,
|
|
10222
10294
|
}).pipe(
|
|
10223
10295
|
Schema.encodeKeys({
|
|
@@ -10327,7 +10399,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10327
10399
|
exposedCredentialCheck: Schema.optional(
|
|
10328
10400
|
Schema.Union([
|
|
10329
10401
|
Schema.Struct({
|
|
10330
|
-
passwordExpression:
|
|
10402
|
+
passwordExpression: SensitiveString,
|
|
10331
10403
|
usernameExpression: Schema.String,
|
|
10332
10404
|
}).pipe(
|
|
10333
10405
|
Schema.encodeKeys({
|
|
@@ -10420,7 +10492,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10420
10492
|
exposedCredentialCheck: Schema.optional(
|
|
10421
10493
|
Schema.Union([
|
|
10422
10494
|
Schema.Struct({
|
|
10423
|
-
passwordExpression:
|
|
10495
|
+
passwordExpression: SensitiveString,
|
|
10424
10496
|
usernameExpression: Schema.String,
|
|
10425
10497
|
}).pipe(
|
|
10426
10498
|
Schema.encodeKeys({
|
|
@@ -10653,7 +10725,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10653
10725
|
exposedCredentialCheck: Schema.optional(
|
|
10654
10726
|
Schema.Union([
|
|
10655
10727
|
Schema.Struct({
|
|
10656
|
-
passwordExpression:
|
|
10728
|
+
passwordExpression: SensitiveString,
|
|
10657
10729
|
usernameExpression: Schema.String,
|
|
10658
10730
|
}).pipe(
|
|
10659
10731
|
Schema.encodeKeys({
|
|
@@ -10768,7 +10840,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10768
10840
|
exposedCredentialCheck: Schema.optional(
|
|
10769
10841
|
Schema.Union([
|
|
10770
10842
|
Schema.Struct({
|
|
10771
|
-
passwordExpression:
|
|
10843
|
+
passwordExpression: SensitiveString,
|
|
10772
10844
|
usernameExpression: Schema.String,
|
|
10773
10845
|
}).pipe(
|
|
10774
10846
|
Schema.encodeKeys({
|
|
@@ -10886,7 +10958,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10886
10958
|
exposedCredentialCheck: Schema.optional(
|
|
10887
10959
|
Schema.Union([
|
|
10888
10960
|
Schema.Struct({
|
|
10889
|
-
passwordExpression:
|
|
10961
|
+
passwordExpression: SensitiveString,
|
|
10890
10962
|
usernameExpression: Schema.String,
|
|
10891
10963
|
}).pipe(
|
|
10892
10964
|
Schema.encodeKeys({
|
|
@@ -10972,7 +11044,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10972
11044
|
exposedCredentialCheck: Schema.optional(
|
|
10973
11045
|
Schema.Union([
|
|
10974
11046
|
Schema.Struct({
|
|
10975
|
-
passwordExpression:
|
|
11047
|
+
passwordExpression: SensitiveString,
|
|
10976
11048
|
usernameExpression: Schema.String,
|
|
10977
11049
|
}).pipe(
|
|
10978
11050
|
Schema.encodeKeys({
|
|
@@ -11165,7 +11237,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
11165
11237
|
exposedCredentialCheck: Schema.optional(
|
|
11166
11238
|
Schema.Union([
|
|
11167
11239
|
Schema.Struct({
|
|
11168
|
-
passwordExpression:
|
|
11240
|
+
passwordExpression: SensitiveString,
|
|
11169
11241
|
usernameExpression: Schema.String,
|
|
11170
11242
|
}).pipe(
|
|
11171
11243
|
Schema.encodeKeys({
|
|
@@ -11280,7 +11352,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
11280
11352
|
exposedCredentialCheck: Schema.optional(
|
|
11281
11353
|
Schema.Union([
|
|
11282
11354
|
Schema.Struct({
|
|
11283
|
-
passwordExpression:
|
|
11355
|
+
passwordExpression: SensitiveString,
|
|
11284
11356
|
usernameExpression: Schema.String,
|
|
11285
11357
|
}).pipe(
|
|
11286
11358
|
Schema.encodeKeys({
|
|
@@ -11443,7 +11515,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
11443
11515
|
exposedCredentialCheck: Schema.optional(
|
|
11444
11516
|
Schema.Union([
|
|
11445
11517
|
Schema.Struct({
|
|
11446
|
-
passwordExpression:
|
|
11518
|
+
passwordExpression: SensitiveString,
|
|
11447
11519
|
usernameExpression: Schema.String,
|
|
11448
11520
|
}).pipe(
|
|
11449
11521
|
Schema.encodeKeys({
|
|
@@ -11592,7 +11664,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
11592
11664
|
exposedCredentialCheck: Schema.optional(
|
|
11593
11665
|
Schema.Union([
|
|
11594
11666
|
Schema.Struct({
|
|
11595
|
-
passwordExpression:
|
|
11667
|
+
passwordExpression: SensitiveString,
|
|
11596
11668
|
usernameExpression: Schema.String,
|
|
11597
11669
|
}).pipe(
|
|
11598
11670
|
Schema.encodeKeys({
|
|
@@ -11741,7 +11813,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
11741
11813
|
exposedCredentialCheck: Schema.optional(
|
|
11742
11814
|
Schema.Union([
|
|
11743
11815
|
Schema.Struct({
|
|
11744
|
-
passwordExpression:
|
|
11816
|
+
passwordExpression: SensitiveString,
|
|
11745
11817
|
usernameExpression: Schema.String,
|
|
11746
11818
|
}).pipe(
|
|
11747
11819
|
Schema.encodeKeys({
|
|
@@ -11861,7 +11933,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
11861
11933
|
exposedCredentialCheck: Schema.optional(
|
|
11862
11934
|
Schema.Union([
|
|
11863
11935
|
Schema.Struct({
|
|
11864
|
-
passwordExpression:
|
|
11936
|
+
passwordExpression: SensitiveString,
|
|
11865
11937
|
usernameExpression: Schema.String,
|
|
11866
11938
|
}).pipe(
|
|
11867
11939
|
Schema.encodeKeys({
|
|
@@ -12026,7 +12098,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
12026
12098
|
exposedCredentialCheck: Schema.optional(
|
|
12027
12099
|
Schema.Union([
|
|
12028
12100
|
Schema.Struct({
|
|
12029
|
-
passwordExpression:
|
|
12101
|
+
passwordExpression: SensitiveString,
|
|
12030
12102
|
usernameExpression: Schema.String,
|
|
12031
12103
|
}).pipe(
|
|
12032
12104
|
Schema.encodeKeys({
|
|
@@ -12450,7 +12522,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
12450
12522
|
exposedCredentialCheck: Schema.optional(
|
|
12451
12523
|
Schema.Union([
|
|
12452
12524
|
Schema.Struct({
|
|
12453
|
-
passwordExpression:
|
|
12525
|
+
passwordExpression: SensitiveString,
|
|
12454
12526
|
usernameExpression: Schema.String,
|
|
12455
12527
|
}).pipe(
|
|
12456
12528
|
Schema.encodeKeys({
|
|
@@ -12692,7 +12764,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
12692
12764
|
exposedCredentialCheck: Schema.optional(
|
|
12693
12765
|
Schema.Union([
|
|
12694
12766
|
Schema.Struct({
|
|
12695
|
-
passwordExpression:
|
|
12767
|
+
passwordExpression: SensitiveString,
|
|
12696
12768
|
usernameExpression: Schema.String,
|
|
12697
12769
|
}).pipe(
|
|
12698
12770
|
Schema.encodeKeys({
|
|
@@ -12849,7 +12921,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
12849
12921
|
exposedCredentialCheck: Schema.optional(
|
|
12850
12922
|
Schema.Union([
|
|
12851
12923
|
Schema.Struct({
|
|
12852
|
-
passwordExpression:
|
|
12924
|
+
passwordExpression: SensitiveString,
|
|
12853
12925
|
usernameExpression: Schema.String,
|
|
12854
12926
|
}).pipe(
|
|
12855
12927
|
Schema.encodeKeys({
|
|
@@ -12951,18 +13023,22 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
12951
13023
|
),
|
|
12952
13024
|
version: Schema.String,
|
|
12953
13025
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
12954
|
-
})
|
|
12955
|
-
|
|
12956
|
-
|
|
12957
|
-
|
|
12958
|
-
|
|
12959
|
-
|
|
12960
|
-
|
|
12961
|
-
|
|
12962
|
-
|
|
12963
|
-
|
|
12964
|
-
|
|
12965
|
-
)
|
|
13026
|
+
})
|
|
13027
|
+
.pipe(
|
|
13028
|
+
Schema.encodeKeys({
|
|
13029
|
+
id: "id",
|
|
13030
|
+
kind: "kind",
|
|
13031
|
+
lastUpdated: "last_updated",
|
|
13032
|
+
name: "name",
|
|
13033
|
+
phase: "phase",
|
|
13034
|
+
rules: "rules",
|
|
13035
|
+
version: "version",
|
|
13036
|
+
description: "description",
|
|
13037
|
+
}),
|
|
13038
|
+
)
|
|
13039
|
+
.pipe(
|
|
13040
|
+
T.ResponsePath("result"),
|
|
13041
|
+
) as unknown as Schema.Schema<DeleteRuleResponse>;
|
|
12966
13042
|
|
|
12967
13043
|
export type DeleteRuleError = DefaultErrors;
|
|
12968
13044
|
|
|
@@ -13145,7 +13221,7 @@ export const GetRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
13145
13221
|
exposedCredentialCheck: Schema.optional(
|
|
13146
13222
|
Schema.Union([
|
|
13147
13223
|
Schema.Struct({
|
|
13148
|
-
passwordExpression:
|
|
13224
|
+
passwordExpression: SensitiveString,
|
|
13149
13225
|
usernameExpression: Schema.String,
|
|
13150
13226
|
}).pipe(
|
|
13151
13227
|
Schema.encodeKeys({
|
|
@@ -13234,7 +13310,7 @@ export const GetRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
13234
13310
|
exposedCredentialCheck: Schema.optional(
|
|
13235
13311
|
Schema.Union([
|
|
13236
13312
|
Schema.Struct({
|
|
13237
|
-
passwordExpression:
|
|
13313
|
+
passwordExpression: SensitiveString,
|
|
13238
13314
|
usernameExpression: Schema.String,
|
|
13239
13315
|
}).pipe(
|
|
13240
13316
|
Schema.encodeKeys({
|
|
@@ -13307,18 +13383,22 @@ export const GetRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
13307
13383
|
),
|
|
13308
13384
|
version: Schema.String,
|
|
13309
13385
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
13310
|
-
})
|
|
13311
|
-
|
|
13312
|
-
|
|
13313
|
-
|
|
13314
|
-
|
|
13315
|
-
|
|
13316
|
-
|
|
13317
|
-
|
|
13318
|
-
|
|
13319
|
-
|
|
13320
|
-
|
|
13321
|
-
)
|
|
13386
|
+
})
|
|
13387
|
+
.pipe(
|
|
13388
|
+
Schema.encodeKeys({
|
|
13389
|
+
id: "id",
|
|
13390
|
+
kind: "kind",
|
|
13391
|
+
lastUpdated: "last_updated",
|
|
13392
|
+
name: "name",
|
|
13393
|
+
phase: "phase",
|
|
13394
|
+
rules: "rules",
|
|
13395
|
+
version: "version",
|
|
13396
|
+
description: "description",
|
|
13397
|
+
}),
|
|
13398
|
+
)
|
|
13399
|
+
.pipe(
|
|
13400
|
+
T.ResponsePath("result"),
|
|
13401
|
+
) as unknown as Schema.Schema<GetRulesetResponse>;
|
|
13322
13402
|
|
|
13323
13403
|
export type GetRulesetError = DefaultErrors;
|
|
13324
13404
|
|
|
@@ -13344,96 +13424,169 @@ export const ListRulesetsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
13344
13424
|
}),
|
|
13345
13425
|
) as unknown as Schema.Schema<ListRulesetsRequest>;
|
|
13346
13426
|
|
|
13347
|
-
export
|
|
13348
|
-
|
|
13349
|
-
|
|
13350
|
-
|
|
13351
|
-
|
|
13352
|
-
|
|
13353
|
-
|
|
13354
|
-
|
|
13355
|
-
|
|
13356
|
-
|
|
13357
|
-
|
|
13358
|
-
|
|
13359
|
-
|
|
13360
|
-
|
|
13361
|
-
|
|
13362
|
-
|
|
13363
|
-
|
|
13364
|
-
|
|
13365
|
-
|
|
13366
|
-
|
|
13367
|
-
|
|
13368
|
-
|
|
13369
|
-
|
|
13370
|
-
|
|
13371
|
-
|
|
13372
|
-
|
|
13373
|
-
|
|
13374
|
-
|
|
13375
|
-
|
|
13376
|
-
|
|
13377
|
-
|
|
13378
|
-
|
|
13427
|
+
export interface ListRulesetsResponse {
|
|
13428
|
+
result: {
|
|
13429
|
+
id: string;
|
|
13430
|
+
kind: "zone" | "managed" | "custom" | "root";
|
|
13431
|
+
lastUpdated: string;
|
|
13432
|
+
name: string;
|
|
13433
|
+
phase:
|
|
13434
|
+
| "ddos_l4"
|
|
13435
|
+
| "ddos_l7"
|
|
13436
|
+
| "http_config_settings"
|
|
13437
|
+
| "http_custom_errors"
|
|
13438
|
+
| "http_log_custom_fields"
|
|
13439
|
+
| "http_ratelimit"
|
|
13440
|
+
| "http_request_cache_settings"
|
|
13441
|
+
| "http_request_dynamic_redirect"
|
|
13442
|
+
| "http_request_firewall_custom"
|
|
13443
|
+
| "http_request_firewall_managed"
|
|
13444
|
+
| "http_request_late_transform"
|
|
13445
|
+
| "http_request_origin"
|
|
13446
|
+
| "http_request_redirect"
|
|
13447
|
+
| "http_request_sanitize"
|
|
13448
|
+
| "http_request_sbfm"
|
|
13449
|
+
| "http_request_transform"
|
|
13450
|
+
| "http_response_compression"
|
|
13451
|
+
| "http_response_firewall_managed"
|
|
13452
|
+
| "http_response_headers_transform"
|
|
13453
|
+
| "magic_transit"
|
|
13454
|
+
| "magic_transit_ids_managed"
|
|
13455
|
+
| "magic_transit_managed"
|
|
13456
|
+
| "magic_transit_ratelimit";
|
|
13457
|
+
version: string;
|
|
13458
|
+
description?: string | null;
|
|
13459
|
+
}[];
|
|
13460
|
+
resultInfo: {
|
|
13461
|
+
count?: number | null;
|
|
13462
|
+
cursor?: string | null;
|
|
13463
|
+
perPage?: number | null;
|
|
13464
|
+
};
|
|
13465
|
+
}
|
|
13379
13466
|
|
|
13380
|
-
export const ListRulesetsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
13381
|
-
Schema.
|
|
13382
|
-
|
|
13383
|
-
|
|
13384
|
-
|
|
13385
|
-
|
|
13386
|
-
|
|
13387
|
-
|
|
13388
|
-
|
|
13389
|
-
|
|
13390
|
-
|
|
13391
|
-
|
|
13392
|
-
|
|
13393
|
-
|
|
13394
|
-
|
|
13395
|
-
|
|
13396
|
-
|
|
13397
|
-
|
|
13398
|
-
|
|
13399
|
-
|
|
13400
|
-
|
|
13401
|
-
|
|
13402
|
-
|
|
13403
|
-
|
|
13404
|
-
|
|
13405
|
-
|
|
13406
|
-
|
|
13407
|
-
|
|
13408
|
-
|
|
13409
|
-
|
|
13410
|
-
|
|
13411
|
-
|
|
13412
|
-
|
|
13467
|
+
export const ListRulesetsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
13468
|
+
result: Schema.Array(
|
|
13469
|
+
Schema.Struct({
|
|
13470
|
+
id: Schema.String,
|
|
13471
|
+
kind: Schema.Literals(["zone", "managed", "custom", "root"]),
|
|
13472
|
+
lastUpdated: Schema.String,
|
|
13473
|
+
name: Schema.String,
|
|
13474
|
+
phase: Schema.Literals([
|
|
13475
|
+
"ddos_l4",
|
|
13476
|
+
"ddos_l7",
|
|
13477
|
+
"http_config_settings",
|
|
13478
|
+
"http_custom_errors",
|
|
13479
|
+
"http_log_custom_fields",
|
|
13480
|
+
"http_ratelimit",
|
|
13481
|
+
"http_request_cache_settings",
|
|
13482
|
+
"http_request_dynamic_redirect",
|
|
13483
|
+
"http_request_firewall_custom",
|
|
13484
|
+
"http_request_firewall_managed",
|
|
13485
|
+
"http_request_late_transform",
|
|
13486
|
+
"http_request_origin",
|
|
13487
|
+
"http_request_redirect",
|
|
13488
|
+
"http_request_sanitize",
|
|
13489
|
+
"http_request_sbfm",
|
|
13490
|
+
"http_request_transform",
|
|
13491
|
+
"http_response_compression",
|
|
13492
|
+
"http_response_firewall_managed",
|
|
13493
|
+
"http_response_headers_transform",
|
|
13494
|
+
"magic_transit",
|
|
13495
|
+
"magic_transit_ids_managed",
|
|
13496
|
+
"magic_transit_managed",
|
|
13497
|
+
"magic_transit_ratelimit",
|
|
13498
|
+
]),
|
|
13499
|
+
version: Schema.String,
|
|
13500
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
13501
|
+
}).pipe(
|
|
13502
|
+
Schema.encodeKeys({
|
|
13503
|
+
id: "id",
|
|
13504
|
+
kind: "kind",
|
|
13505
|
+
lastUpdated: "last_updated",
|
|
13506
|
+
name: "name",
|
|
13507
|
+
phase: "phase",
|
|
13508
|
+
version: "version",
|
|
13509
|
+
description: "description",
|
|
13510
|
+
}),
|
|
13511
|
+
),
|
|
13512
|
+
),
|
|
13513
|
+
resultInfo: Schema.Struct({
|
|
13514
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
13515
|
+
cursor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
13516
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
13413
13517
|
}).pipe(
|
|
13414
13518
|
Schema.encodeKeys({
|
|
13415
|
-
|
|
13416
|
-
|
|
13417
|
-
|
|
13418
|
-
name: "name",
|
|
13419
|
-
phase: "phase",
|
|
13420
|
-
version: "version",
|
|
13421
|
-
description: "description",
|
|
13519
|
+
count: "count",
|
|
13520
|
+
cursor: "cursor",
|
|
13521
|
+
perPage: "per_page",
|
|
13422
13522
|
}),
|
|
13423
13523
|
),
|
|
13524
|
+
}).pipe(
|
|
13525
|
+
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
13424
13526
|
) as unknown as Schema.Schema<ListRulesetsResponse>;
|
|
13425
13527
|
|
|
13426
13528
|
export type ListRulesetsError = DefaultErrors;
|
|
13427
13529
|
|
|
13428
|
-
export const listRulesets: API.
|
|
13530
|
+
export const listRulesets: API.PaginatedOperationMethod<
|
|
13429
13531
|
ListRulesetsRequest,
|
|
13430
13532
|
ListRulesetsResponse,
|
|
13431
13533
|
ListRulesetsError,
|
|
13432
13534
|
Credentials | HttpClient.HttpClient
|
|
13433
|
-
>
|
|
13535
|
+
> & {
|
|
13536
|
+
pages: (
|
|
13537
|
+
input: ListRulesetsRequest,
|
|
13538
|
+
) => stream.Stream<
|
|
13539
|
+
ListRulesetsResponse,
|
|
13540
|
+
ListRulesetsError,
|
|
13541
|
+
Credentials | HttpClient.HttpClient
|
|
13542
|
+
>;
|
|
13543
|
+
items: (input: ListRulesetsRequest) => stream.Stream<
|
|
13544
|
+
{
|
|
13545
|
+
id: string;
|
|
13546
|
+
kind: "zone" | "managed" | "custom" | "root";
|
|
13547
|
+
lastUpdated: string;
|
|
13548
|
+
name: string;
|
|
13549
|
+
phase:
|
|
13550
|
+
| "ddos_l4"
|
|
13551
|
+
| "ddos_l7"
|
|
13552
|
+
| "http_config_settings"
|
|
13553
|
+
| "http_custom_errors"
|
|
13554
|
+
| "http_log_custom_fields"
|
|
13555
|
+
| "http_ratelimit"
|
|
13556
|
+
| "http_request_cache_settings"
|
|
13557
|
+
| "http_request_dynamic_redirect"
|
|
13558
|
+
| "http_request_firewall_custom"
|
|
13559
|
+
| "http_request_firewall_managed"
|
|
13560
|
+
| "http_request_late_transform"
|
|
13561
|
+
| "http_request_origin"
|
|
13562
|
+
| "http_request_redirect"
|
|
13563
|
+
| "http_request_sanitize"
|
|
13564
|
+
| "http_request_sbfm"
|
|
13565
|
+
| "http_request_transform"
|
|
13566
|
+
| "http_response_compression"
|
|
13567
|
+
| "http_response_firewall_managed"
|
|
13568
|
+
| "http_response_headers_transform"
|
|
13569
|
+
| "magic_transit"
|
|
13570
|
+
| "magic_transit_ids_managed"
|
|
13571
|
+
| "magic_transit_managed"
|
|
13572
|
+
| "magic_transit_ratelimit";
|
|
13573
|
+
version: string;
|
|
13574
|
+
description?: string | null;
|
|
13575
|
+
},
|
|
13576
|
+
ListRulesetsError,
|
|
13577
|
+
Credentials | HttpClient.HttpClient
|
|
13578
|
+
>;
|
|
13579
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
13434
13580
|
input: ListRulesetsRequest,
|
|
13435
13581
|
output: ListRulesetsResponse,
|
|
13436
13582
|
errors: [],
|
|
13583
|
+
pagination: {
|
|
13584
|
+
mode: "cursor",
|
|
13585
|
+
inputToken: "cursor",
|
|
13586
|
+
outputToken: "resultInfo.cursor",
|
|
13587
|
+
items: "result",
|
|
13588
|
+
pageSize: "perPage",
|
|
13589
|
+
} as const,
|
|
13437
13590
|
}));
|
|
13438
13591
|
|
|
13439
13592
|
export interface CreateRulesetRequest {
|
|
@@ -13569,7 +13722,7 @@ export const CreateRulesetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
13569
13722
|
enabled: Schema.optional(Schema.Boolean),
|
|
13570
13723
|
exposedCredentialCheck: Schema.optional(
|
|
13571
13724
|
Schema.Struct({
|
|
13572
|
-
passwordExpression:
|
|
13725
|
+
passwordExpression: SensitiveString,
|
|
13573
13726
|
usernameExpression: Schema.String,
|
|
13574
13727
|
}).pipe(
|
|
13575
13728
|
Schema.encodeKeys({
|
|
@@ -13626,7 +13779,7 @@ export const CreateRulesetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
13626
13779
|
enabled: Schema.optional(Schema.Boolean),
|
|
13627
13780
|
exposedCredentialCheck: Schema.optional(
|
|
13628
13781
|
Schema.Struct({
|
|
13629
|
-
passwordExpression:
|
|
13782
|
+
passwordExpression: SensitiveString,
|
|
13630
13783
|
usernameExpression: Schema.String,
|
|
13631
13784
|
}).pipe(
|
|
13632
13785
|
Schema.encodeKeys({
|
|
@@ -13836,7 +13989,7 @@ export const CreateRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
13836
13989
|
exposedCredentialCheck: Schema.optional(
|
|
13837
13990
|
Schema.Union([
|
|
13838
13991
|
Schema.Struct({
|
|
13839
|
-
passwordExpression:
|
|
13992
|
+
passwordExpression: SensitiveString,
|
|
13840
13993
|
usernameExpression: Schema.String,
|
|
13841
13994
|
}).pipe(
|
|
13842
13995
|
Schema.encodeKeys({
|
|
@@ -13925,7 +14078,7 @@ export const CreateRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
13925
14078
|
exposedCredentialCheck: Schema.optional(
|
|
13926
14079
|
Schema.Union([
|
|
13927
14080
|
Schema.Struct({
|
|
13928
|
-
passwordExpression:
|
|
14081
|
+
passwordExpression: SensitiveString,
|
|
13929
14082
|
usernameExpression: Schema.String,
|
|
13930
14083
|
}).pipe(
|
|
13931
14084
|
Schema.encodeKeys({
|
|
@@ -13998,18 +14151,22 @@ export const CreateRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
13998
14151
|
),
|
|
13999
14152
|
version: Schema.String,
|
|
14000
14153
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
14001
|
-
})
|
|
14002
|
-
|
|
14003
|
-
|
|
14004
|
-
|
|
14005
|
-
|
|
14006
|
-
|
|
14007
|
-
|
|
14008
|
-
|
|
14009
|
-
|
|
14010
|
-
|
|
14011
|
-
|
|
14012
|
-
)
|
|
14154
|
+
})
|
|
14155
|
+
.pipe(
|
|
14156
|
+
Schema.encodeKeys({
|
|
14157
|
+
id: "id",
|
|
14158
|
+
kind: "kind",
|
|
14159
|
+
lastUpdated: "last_updated",
|
|
14160
|
+
name: "name",
|
|
14161
|
+
phase: "phase",
|
|
14162
|
+
rules: "rules",
|
|
14163
|
+
version: "version",
|
|
14164
|
+
description: "description",
|
|
14165
|
+
}),
|
|
14166
|
+
)
|
|
14167
|
+
.pipe(
|
|
14168
|
+
T.ResponsePath("result"),
|
|
14169
|
+
) as unknown as Schema.Schema<CreateRulesetResponse>;
|
|
14013
14170
|
|
|
14014
14171
|
export type CreateRulesetError = DefaultErrors;
|
|
14015
14172
|
|
|
@@ -14161,7 +14318,7 @@ export const UpdateRulesetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
14161
14318
|
enabled: Schema.optional(Schema.Boolean),
|
|
14162
14319
|
exposedCredentialCheck: Schema.optional(
|
|
14163
14320
|
Schema.Struct({
|
|
14164
|
-
passwordExpression:
|
|
14321
|
+
passwordExpression: SensitiveString,
|
|
14165
14322
|
usernameExpression: Schema.String,
|
|
14166
14323
|
}).pipe(
|
|
14167
14324
|
Schema.encodeKeys({
|
|
@@ -14218,7 +14375,7 @@ export const UpdateRulesetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
14218
14375
|
enabled: Schema.optional(Schema.Boolean),
|
|
14219
14376
|
exposedCredentialCheck: Schema.optional(
|
|
14220
14377
|
Schema.Struct({
|
|
14221
|
-
passwordExpression:
|
|
14378
|
+
passwordExpression: SensitiveString,
|
|
14222
14379
|
usernameExpression: Schema.String,
|
|
14223
14380
|
}).pipe(
|
|
14224
14381
|
Schema.encodeKeys({
|
|
@@ -14428,7 +14585,7 @@ export const UpdateRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
14428
14585
|
exposedCredentialCheck: Schema.optional(
|
|
14429
14586
|
Schema.Union([
|
|
14430
14587
|
Schema.Struct({
|
|
14431
|
-
passwordExpression:
|
|
14588
|
+
passwordExpression: SensitiveString,
|
|
14432
14589
|
usernameExpression: Schema.String,
|
|
14433
14590
|
}).pipe(
|
|
14434
14591
|
Schema.encodeKeys({
|
|
@@ -14517,7 +14674,7 @@ export const UpdateRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
14517
14674
|
exposedCredentialCheck: Schema.optional(
|
|
14518
14675
|
Schema.Union([
|
|
14519
14676
|
Schema.Struct({
|
|
14520
|
-
passwordExpression:
|
|
14677
|
+
passwordExpression: SensitiveString,
|
|
14521
14678
|
usernameExpression: Schema.String,
|
|
14522
14679
|
}).pipe(
|
|
14523
14680
|
Schema.encodeKeys({
|
|
@@ -14590,18 +14747,22 @@ export const UpdateRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
14590
14747
|
),
|
|
14591
14748
|
version: Schema.String,
|
|
14592
14749
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
14593
|
-
})
|
|
14594
|
-
|
|
14595
|
-
|
|
14596
|
-
|
|
14597
|
-
|
|
14598
|
-
|
|
14599
|
-
|
|
14600
|
-
|
|
14601
|
-
|
|
14602
|
-
|
|
14603
|
-
|
|
14604
|
-
)
|
|
14750
|
+
})
|
|
14751
|
+
.pipe(
|
|
14752
|
+
Schema.encodeKeys({
|
|
14753
|
+
id: "id",
|
|
14754
|
+
kind: "kind",
|
|
14755
|
+
lastUpdated: "last_updated",
|
|
14756
|
+
name: "name",
|
|
14757
|
+
phase: "phase",
|
|
14758
|
+
rules: "rules",
|
|
14759
|
+
version: "version",
|
|
14760
|
+
description: "description",
|
|
14761
|
+
}),
|
|
14762
|
+
)
|
|
14763
|
+
.pipe(
|
|
14764
|
+
T.ResponsePath("result"),
|
|
14765
|
+
) as unknown as Schema.Schema<UpdateRulesetResponse>;
|
|
14605
14766
|
|
|
14606
14767
|
export type UpdateRulesetError = DefaultErrors;
|
|
14607
14768
|
|
|
@@ -14817,7 +14978,7 @@ export const GetVersionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
14817
14978
|
exposedCredentialCheck: Schema.optional(
|
|
14818
14979
|
Schema.Union([
|
|
14819
14980
|
Schema.Struct({
|
|
14820
|
-
passwordExpression:
|
|
14981
|
+
passwordExpression: SensitiveString,
|
|
14821
14982
|
usernameExpression: Schema.String,
|
|
14822
14983
|
}).pipe(
|
|
14823
14984
|
Schema.encodeKeys({
|
|
@@ -14906,7 +15067,7 @@ export const GetVersionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
14906
15067
|
exposedCredentialCheck: Schema.optional(
|
|
14907
15068
|
Schema.Union([
|
|
14908
15069
|
Schema.Struct({
|
|
14909
|
-
passwordExpression:
|
|
15070
|
+
passwordExpression: SensitiveString,
|
|
14910
15071
|
usernameExpression: Schema.String,
|
|
14911
15072
|
}).pipe(
|
|
14912
15073
|
Schema.encodeKeys({
|
|
@@ -14979,18 +15140,22 @@ export const GetVersionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
14979
15140
|
),
|
|
14980
15141
|
version: Schema.String,
|
|
14981
15142
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
14982
|
-
})
|
|
14983
|
-
|
|
14984
|
-
|
|
14985
|
-
|
|
14986
|
-
|
|
14987
|
-
|
|
14988
|
-
|
|
14989
|
-
|
|
14990
|
-
|
|
14991
|
-
|
|
14992
|
-
|
|
14993
|
-
)
|
|
15143
|
+
})
|
|
15144
|
+
.pipe(
|
|
15145
|
+
Schema.encodeKeys({
|
|
15146
|
+
id: "id",
|
|
15147
|
+
kind: "kind",
|
|
15148
|
+
lastUpdated: "last_updated",
|
|
15149
|
+
name: "name",
|
|
15150
|
+
phase: "phase",
|
|
15151
|
+
rules: "rules",
|
|
15152
|
+
version: "version",
|
|
15153
|
+
description: "description",
|
|
15154
|
+
}),
|
|
15155
|
+
)
|
|
15156
|
+
.pipe(
|
|
15157
|
+
T.ResponsePath("result"),
|
|
15158
|
+
) as unknown as Schema.Schema<GetVersionResponse>;
|
|
14994
15159
|
|
|
14995
15160
|
export type GetVersionError = DefaultErrors;
|
|
14996
15161
|
|
|
@@ -15018,96 +15183,148 @@ export const ListVersionsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
15018
15183
|
}),
|
|
15019
15184
|
) as unknown as Schema.Schema<ListVersionsRequest>;
|
|
15020
15185
|
|
|
15021
|
-
export
|
|
15022
|
-
|
|
15023
|
-
|
|
15024
|
-
|
|
15025
|
-
|
|
15026
|
-
|
|
15027
|
-
|
|
15028
|
-
|
|
15029
|
-
|
|
15030
|
-
|
|
15031
|
-
|
|
15032
|
-
|
|
15033
|
-
|
|
15034
|
-
|
|
15035
|
-
|
|
15036
|
-
|
|
15037
|
-
|
|
15038
|
-
|
|
15039
|
-
|
|
15040
|
-
|
|
15041
|
-
|
|
15042
|
-
|
|
15043
|
-
|
|
15044
|
-
|
|
15045
|
-
|
|
15046
|
-
|
|
15047
|
-
|
|
15048
|
-
|
|
15049
|
-
|
|
15050
|
-
|
|
15051
|
-
|
|
15052
|
-
|
|
15186
|
+
export interface ListVersionsResponse {
|
|
15187
|
+
result: {
|
|
15188
|
+
id: string;
|
|
15189
|
+
kind: "zone" | "managed" | "custom" | "root";
|
|
15190
|
+
lastUpdated: string;
|
|
15191
|
+
name: string;
|
|
15192
|
+
phase:
|
|
15193
|
+
| "ddos_l4"
|
|
15194
|
+
| "ddos_l7"
|
|
15195
|
+
| "http_config_settings"
|
|
15196
|
+
| "http_custom_errors"
|
|
15197
|
+
| "http_log_custom_fields"
|
|
15198
|
+
| "http_ratelimit"
|
|
15199
|
+
| "http_request_cache_settings"
|
|
15200
|
+
| "http_request_dynamic_redirect"
|
|
15201
|
+
| "http_request_firewall_custom"
|
|
15202
|
+
| "http_request_firewall_managed"
|
|
15203
|
+
| "http_request_late_transform"
|
|
15204
|
+
| "http_request_origin"
|
|
15205
|
+
| "http_request_redirect"
|
|
15206
|
+
| "http_request_sanitize"
|
|
15207
|
+
| "http_request_sbfm"
|
|
15208
|
+
| "http_request_transform"
|
|
15209
|
+
| "http_response_compression"
|
|
15210
|
+
| "http_response_firewall_managed"
|
|
15211
|
+
| "http_response_headers_transform"
|
|
15212
|
+
| "magic_transit"
|
|
15213
|
+
| "magic_transit_ids_managed"
|
|
15214
|
+
| "magic_transit_managed"
|
|
15215
|
+
| "magic_transit_ratelimit";
|
|
15216
|
+
version: string;
|
|
15217
|
+
description?: string | null;
|
|
15218
|
+
}[];
|
|
15219
|
+
}
|
|
15053
15220
|
|
|
15054
|
-
export const ListVersionsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
15055
|
-
Schema.
|
|
15056
|
-
|
|
15057
|
-
|
|
15058
|
-
|
|
15059
|
-
|
|
15060
|
-
|
|
15061
|
-
|
|
15062
|
-
|
|
15063
|
-
|
|
15064
|
-
|
|
15065
|
-
|
|
15066
|
-
|
|
15067
|
-
|
|
15068
|
-
|
|
15069
|
-
|
|
15070
|
-
|
|
15071
|
-
|
|
15072
|
-
|
|
15073
|
-
|
|
15074
|
-
|
|
15075
|
-
|
|
15076
|
-
|
|
15077
|
-
|
|
15078
|
-
|
|
15079
|
-
|
|
15080
|
-
|
|
15081
|
-
|
|
15082
|
-
|
|
15083
|
-
|
|
15084
|
-
|
|
15085
|
-
|
|
15086
|
-
|
|
15087
|
-
|
|
15088
|
-
|
|
15089
|
-
|
|
15090
|
-
|
|
15091
|
-
|
|
15092
|
-
|
|
15093
|
-
|
|
15094
|
-
|
|
15095
|
-
|
|
15096
|
-
|
|
15221
|
+
export const ListVersionsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
15222
|
+
result: Schema.Array(
|
|
15223
|
+
Schema.Struct({
|
|
15224
|
+
id: Schema.String,
|
|
15225
|
+
kind: Schema.Literals(["zone", "managed", "custom", "root"]),
|
|
15226
|
+
lastUpdated: Schema.String,
|
|
15227
|
+
name: Schema.String,
|
|
15228
|
+
phase: Schema.Literals([
|
|
15229
|
+
"ddos_l4",
|
|
15230
|
+
"ddos_l7",
|
|
15231
|
+
"http_config_settings",
|
|
15232
|
+
"http_custom_errors",
|
|
15233
|
+
"http_log_custom_fields",
|
|
15234
|
+
"http_ratelimit",
|
|
15235
|
+
"http_request_cache_settings",
|
|
15236
|
+
"http_request_dynamic_redirect",
|
|
15237
|
+
"http_request_firewall_custom",
|
|
15238
|
+
"http_request_firewall_managed",
|
|
15239
|
+
"http_request_late_transform",
|
|
15240
|
+
"http_request_origin",
|
|
15241
|
+
"http_request_redirect",
|
|
15242
|
+
"http_request_sanitize",
|
|
15243
|
+
"http_request_sbfm",
|
|
15244
|
+
"http_request_transform",
|
|
15245
|
+
"http_response_compression",
|
|
15246
|
+
"http_response_firewall_managed",
|
|
15247
|
+
"http_response_headers_transform",
|
|
15248
|
+
"magic_transit",
|
|
15249
|
+
"magic_transit_ids_managed",
|
|
15250
|
+
"magic_transit_managed",
|
|
15251
|
+
"magic_transit_ratelimit",
|
|
15252
|
+
]),
|
|
15253
|
+
version: Schema.String,
|
|
15254
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
15255
|
+
}).pipe(
|
|
15256
|
+
Schema.encodeKeys({
|
|
15257
|
+
id: "id",
|
|
15258
|
+
kind: "kind",
|
|
15259
|
+
lastUpdated: "last_updated",
|
|
15260
|
+
name: "name",
|
|
15261
|
+
phase: "phase",
|
|
15262
|
+
version: "version",
|
|
15263
|
+
description: "description",
|
|
15264
|
+
}),
|
|
15265
|
+
),
|
|
15097
15266
|
),
|
|
15098
|
-
) as unknown as Schema.Schema<ListVersionsResponse>;
|
|
15267
|
+
}) as unknown as Schema.Schema<ListVersionsResponse>;
|
|
15099
15268
|
|
|
15100
15269
|
export type ListVersionsError = DefaultErrors;
|
|
15101
15270
|
|
|
15102
|
-
export const listVersions: API.
|
|
15271
|
+
export const listVersions: API.PaginatedOperationMethod<
|
|
15103
15272
|
ListVersionsRequest,
|
|
15104
15273
|
ListVersionsResponse,
|
|
15105
15274
|
ListVersionsError,
|
|
15106
15275
|
Credentials | HttpClient.HttpClient
|
|
15107
|
-
>
|
|
15276
|
+
> & {
|
|
15277
|
+
pages: (
|
|
15278
|
+
input: ListVersionsRequest,
|
|
15279
|
+
) => stream.Stream<
|
|
15280
|
+
ListVersionsResponse,
|
|
15281
|
+
ListVersionsError,
|
|
15282
|
+
Credentials | HttpClient.HttpClient
|
|
15283
|
+
>;
|
|
15284
|
+
items: (input: ListVersionsRequest) => stream.Stream<
|
|
15285
|
+
{
|
|
15286
|
+
id: string;
|
|
15287
|
+
kind: "zone" | "managed" | "custom" | "root";
|
|
15288
|
+
lastUpdated: string;
|
|
15289
|
+
name: string;
|
|
15290
|
+
phase:
|
|
15291
|
+
| "ddos_l4"
|
|
15292
|
+
| "ddos_l7"
|
|
15293
|
+
| "http_config_settings"
|
|
15294
|
+
| "http_custom_errors"
|
|
15295
|
+
| "http_log_custom_fields"
|
|
15296
|
+
| "http_ratelimit"
|
|
15297
|
+
| "http_request_cache_settings"
|
|
15298
|
+
| "http_request_dynamic_redirect"
|
|
15299
|
+
| "http_request_firewall_custom"
|
|
15300
|
+
| "http_request_firewall_managed"
|
|
15301
|
+
| "http_request_late_transform"
|
|
15302
|
+
| "http_request_origin"
|
|
15303
|
+
| "http_request_redirect"
|
|
15304
|
+
| "http_request_sanitize"
|
|
15305
|
+
| "http_request_sbfm"
|
|
15306
|
+
| "http_request_transform"
|
|
15307
|
+
| "http_response_compression"
|
|
15308
|
+
| "http_response_firewall_managed"
|
|
15309
|
+
| "http_response_headers_transform"
|
|
15310
|
+
| "magic_transit"
|
|
15311
|
+
| "magic_transit_ids_managed"
|
|
15312
|
+
| "magic_transit_managed"
|
|
15313
|
+
| "magic_transit_ratelimit";
|
|
15314
|
+
version: string;
|
|
15315
|
+
description?: string | null;
|
|
15316
|
+
},
|
|
15317
|
+
ListVersionsError,
|
|
15318
|
+
Credentials | HttpClient.HttpClient
|
|
15319
|
+
>;
|
|
15320
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
15108
15321
|
input: ListVersionsRequest,
|
|
15109
15322
|
output: ListVersionsResponse,
|
|
15110
15323
|
errors: [],
|
|
15324
|
+
pagination: {
|
|
15325
|
+
mode: "single",
|
|
15326
|
+
items: "result",
|
|
15327
|
+
} as const,
|
|
15111
15328
|
}));
|
|
15112
15329
|
|
|
15113
15330
|
export interface DeleteVersionRequest {
|