@distilled.cloud/cloudflare 0.2.6 → 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/lib/services/rulesets.js
CHANGED
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
* Generated from Cloudflare TypeScript SDK.
|
|
5
5
|
* DO NOT EDIT - regenerate with: bun scripts/generate.ts --service rulesets
|
|
6
6
|
*/
|
|
7
|
+
import * as stream from "effect/Stream";
|
|
7
8
|
import * as Schema from "effect/Schema";
|
|
8
9
|
import * as API from "../client/api.js";
|
|
9
10
|
import * as T from "../traits.js";
|
|
10
11
|
import {} from "../errors.js";
|
|
12
|
+
import { SensitiveString } from "../sensitive.js";
|
|
11
13
|
export const GetPhasRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({
|
|
12
14
|
method: "GET",
|
|
13
15
|
path: "/{accountOrZone}/{accountOrZoneId}/rulesets/phases/{rulesetPhase}/entrypoint",
|
|
@@ -55,7 +57,7 @@ export const GetPhasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
55
57
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
56
58
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
57
59
|
Schema.Struct({
|
|
58
|
-
passwordExpression:
|
|
60
|
+
passwordExpression: SensitiveString,
|
|
59
61
|
usernameExpression: Schema.String,
|
|
60
62
|
}).pipe(Schema.encodeKeys({
|
|
61
63
|
passwordExpression: "password_expression",
|
|
@@ -114,7 +116,7 @@ export const GetPhasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
114
116
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
115
117
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
116
118
|
Schema.Struct({
|
|
117
|
-
passwordExpression:
|
|
119
|
+
passwordExpression: SensitiveString,
|
|
118
120
|
usernameExpression: Schema.String,
|
|
119
121
|
}).pipe(Schema.encodeKeys({
|
|
120
122
|
passwordExpression: "password_expression",
|
|
@@ -165,7 +167,8 @@ export const GetPhasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
165
167
|
])),
|
|
166
168
|
version: Schema.String,
|
|
167
169
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
168
|
-
})
|
|
170
|
+
})
|
|
171
|
+
.pipe(Schema.encodeKeys({
|
|
169
172
|
id: "id",
|
|
170
173
|
kind: "kind",
|
|
171
174
|
lastUpdated: "last_updated",
|
|
@@ -174,7 +177,8 @@ export const GetPhasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
174
177
|
rules: "rules",
|
|
175
178
|
version: "version",
|
|
176
179
|
description: "description",
|
|
177
|
-
}))
|
|
180
|
+
}))
|
|
181
|
+
.pipe(T.ResponsePath("result"));
|
|
178
182
|
export const getPhas = API.make(() => ({
|
|
179
183
|
input: GetPhasRequest,
|
|
180
184
|
output: GetPhasResponse,
|
|
@@ -194,7 +198,7 @@ export const PutPhasRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
194
198
|
description: Schema.optional(Schema.String),
|
|
195
199
|
enabled: Schema.optional(Schema.Boolean),
|
|
196
200
|
exposedCredentialCheck: Schema.optional(Schema.Struct({
|
|
197
|
-
passwordExpression:
|
|
201
|
+
passwordExpression: SensitiveString,
|
|
198
202
|
usernameExpression: Schema.String,
|
|
199
203
|
}).pipe(Schema.encodeKeys({
|
|
200
204
|
passwordExpression: "password_expression",
|
|
@@ -241,7 +245,7 @@ export const PutPhasRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
241
245
|
description: Schema.optional(Schema.String),
|
|
242
246
|
enabled: Schema.optional(Schema.Boolean),
|
|
243
247
|
exposedCredentialCheck: Schema.optional(Schema.Struct({
|
|
244
|
-
passwordExpression:
|
|
248
|
+
passwordExpression: SensitiveString,
|
|
245
249
|
usernameExpression: Schema.String,
|
|
246
250
|
}).pipe(Schema.encodeKeys({
|
|
247
251
|
passwordExpression: "password_expression",
|
|
@@ -329,7 +333,7 @@ export const PutPhasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
329
333
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
330
334
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
331
335
|
Schema.Struct({
|
|
332
|
-
passwordExpression:
|
|
336
|
+
passwordExpression: SensitiveString,
|
|
333
337
|
usernameExpression: Schema.String,
|
|
334
338
|
}).pipe(Schema.encodeKeys({
|
|
335
339
|
passwordExpression: "password_expression",
|
|
@@ -388,7 +392,7 @@ export const PutPhasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
388
392
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
389
393
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
390
394
|
Schema.Struct({
|
|
391
|
-
passwordExpression:
|
|
395
|
+
passwordExpression: SensitiveString,
|
|
392
396
|
usernameExpression: Schema.String,
|
|
393
397
|
}).pipe(Schema.encodeKeys({
|
|
394
398
|
passwordExpression: "password_expression",
|
|
@@ -439,7 +443,8 @@ export const PutPhasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
439
443
|
])),
|
|
440
444
|
version: Schema.String,
|
|
441
445
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
442
|
-
})
|
|
446
|
+
})
|
|
447
|
+
.pipe(Schema.encodeKeys({
|
|
443
448
|
id: "id",
|
|
444
449
|
kind: "kind",
|
|
445
450
|
lastUpdated: "last_updated",
|
|
@@ -448,7 +453,8 @@ export const PutPhasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
448
453
|
rules: "rules",
|
|
449
454
|
version: "version",
|
|
450
455
|
description: "description",
|
|
451
|
-
}))
|
|
456
|
+
}))
|
|
457
|
+
.pipe(T.ResponsePath("result"));
|
|
452
458
|
export const putPhas = API.make(() => ({
|
|
453
459
|
input: PutPhasRequest,
|
|
454
460
|
output: PutPhasResponse,
|
|
@@ -503,7 +509,7 @@ export const GetPhasVersionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
503
509
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
504
510
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
505
511
|
Schema.Struct({
|
|
506
|
-
passwordExpression:
|
|
512
|
+
passwordExpression: SensitiveString,
|
|
507
513
|
usernameExpression: Schema.String,
|
|
508
514
|
}).pipe(Schema.encodeKeys({
|
|
509
515
|
passwordExpression: "password_expression",
|
|
@@ -562,7 +568,7 @@ export const GetPhasVersionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
562
568
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
563
569
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
564
570
|
Schema.Struct({
|
|
565
|
-
passwordExpression:
|
|
571
|
+
passwordExpression: SensitiveString,
|
|
566
572
|
usernameExpression: Schema.String,
|
|
567
573
|
}).pipe(Schema.encodeKeys({
|
|
568
574
|
passwordExpression: "password_expression",
|
|
@@ -613,7 +619,8 @@ export const GetPhasVersionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
613
619
|
])),
|
|
614
620
|
version: Schema.String,
|
|
615
621
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
616
|
-
})
|
|
622
|
+
})
|
|
623
|
+
.pipe(Schema.encodeKeys({
|
|
617
624
|
id: "id",
|
|
618
625
|
kind: "kind",
|
|
619
626
|
lastUpdated: "last_updated",
|
|
@@ -622,7 +629,8 @@ export const GetPhasVersionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
622
629
|
rules: "rules",
|
|
623
630
|
version: "version",
|
|
624
631
|
description: "description",
|
|
625
|
-
}))
|
|
632
|
+
}))
|
|
633
|
+
.pipe(T.ResponsePath("result"));
|
|
626
634
|
export const getPhasVersion = API.make(() => ({
|
|
627
635
|
input: GetPhasVersionRequest,
|
|
628
636
|
output: GetPhasVersionResponse,
|
|
@@ -634,51 +642,57 @@ export const ListPhasVersionsRequest =
|
|
|
634
642
|
path: "/{accountOrZone}/{accountOrZoneId}/rulesets/phases/{rulesetPhase}/entrypoint/versions",
|
|
635
643
|
}));
|
|
636
644
|
export const ListPhasVersionsResponse =
|
|
637
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
645
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
646
|
+
result: Schema.Array(Schema.Struct({
|
|
647
|
+
id: Schema.String,
|
|
648
|
+
kind: Schema.Literals(["zone", "managed", "custom", "root"]),
|
|
649
|
+
lastUpdated: Schema.String,
|
|
650
|
+
name: Schema.String,
|
|
651
|
+
phase: Schema.Literals([
|
|
652
|
+
"ddos_l4",
|
|
653
|
+
"ddos_l7",
|
|
654
|
+
"http_config_settings",
|
|
655
|
+
"http_custom_errors",
|
|
656
|
+
"http_log_custom_fields",
|
|
657
|
+
"http_ratelimit",
|
|
658
|
+
"http_request_cache_settings",
|
|
659
|
+
"http_request_dynamic_redirect",
|
|
660
|
+
"http_request_firewall_custom",
|
|
661
|
+
"http_request_firewall_managed",
|
|
662
|
+
"http_request_late_transform",
|
|
663
|
+
"http_request_origin",
|
|
664
|
+
"http_request_redirect",
|
|
665
|
+
"http_request_sanitize",
|
|
666
|
+
"http_request_sbfm",
|
|
667
|
+
"http_request_transform",
|
|
668
|
+
"http_response_compression",
|
|
669
|
+
"http_response_firewall_managed",
|
|
670
|
+
"http_response_headers_transform",
|
|
671
|
+
"magic_transit",
|
|
672
|
+
"magic_transit_ids_managed",
|
|
673
|
+
"magic_transit_managed",
|
|
674
|
+
"magic_transit_ratelimit",
|
|
675
|
+
]),
|
|
676
|
+
version: Schema.String,
|
|
677
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
678
|
+
}).pipe(Schema.encodeKeys({
|
|
679
|
+
id: "id",
|
|
680
|
+
kind: "kind",
|
|
681
|
+
lastUpdated: "last_updated",
|
|
682
|
+
name: "name",
|
|
683
|
+
phase: "phase",
|
|
684
|
+
version: "version",
|
|
685
|
+
description: "description",
|
|
686
|
+
}))),
|
|
687
|
+
});
|
|
688
|
+
export const listPhasVersions = API.makePaginated(() => ({
|
|
679
689
|
input: ListPhasVersionsRequest,
|
|
680
690
|
output: ListPhasVersionsResponse,
|
|
681
691
|
errors: [],
|
|
692
|
+
pagination: {
|
|
693
|
+
mode: "single",
|
|
694
|
+
items: "result",
|
|
695
|
+
},
|
|
682
696
|
}));
|
|
683
697
|
export const CreateRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
684
698
|
rulesetId: Schema.String.pipe(T.HttpPath("rulesetId")),
|
|
@@ -700,7 +714,7 @@ export const CreateRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
700
714
|
description: Schema.optional(Schema.String),
|
|
701
715
|
enabled: Schema.optional(Schema.Boolean),
|
|
702
716
|
exposedCredentialCheck: Schema.optional(Schema.Struct({
|
|
703
|
-
passwordExpression:
|
|
717
|
+
passwordExpression: SensitiveString,
|
|
704
718
|
usernameExpression: Schema.String,
|
|
705
719
|
}).pipe(Schema.encodeKeys({
|
|
706
720
|
passwordExpression: "password_expression",
|
|
@@ -814,7 +828,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
814
828
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
815
829
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
816
830
|
Schema.Struct({
|
|
817
|
-
passwordExpression:
|
|
831
|
+
passwordExpression: SensitiveString,
|
|
818
832
|
usernameExpression: Schema.String,
|
|
819
833
|
}).pipe(Schema.encodeKeys({
|
|
820
834
|
passwordExpression: "password_expression",
|
|
@@ -892,7 +906,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
892
906
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
893
907
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
894
908
|
Schema.Struct({
|
|
895
|
-
passwordExpression:
|
|
909
|
+
passwordExpression: SensitiveString,
|
|
896
910
|
usernameExpression: Schema.String,
|
|
897
911
|
}).pipe(Schema.encodeKeys({
|
|
898
912
|
passwordExpression: "password_expression",
|
|
@@ -968,7 +982,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
968
982
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
969
983
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
970
984
|
Schema.Struct({
|
|
971
|
-
passwordExpression:
|
|
985
|
+
passwordExpression: SensitiveString,
|
|
972
986
|
usernameExpression: Schema.String,
|
|
973
987
|
}).pipe(Schema.encodeKeys({
|
|
974
988
|
passwordExpression: "password_expression",
|
|
@@ -1031,7 +1045,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1031
1045
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1032
1046
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
1033
1047
|
Schema.Struct({
|
|
1034
|
-
passwordExpression:
|
|
1048
|
+
passwordExpression: SensitiveString,
|
|
1035
1049
|
usernameExpression: Schema.String,
|
|
1036
1050
|
}).pipe(Schema.encodeKeys({
|
|
1037
1051
|
passwordExpression: "password_expression",
|
|
@@ -1186,7 +1200,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1186
1200
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1187
1201
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
1188
1202
|
Schema.Struct({
|
|
1189
|
-
passwordExpression:
|
|
1203
|
+
passwordExpression: SensitiveString,
|
|
1190
1204
|
usernameExpression: Schema.String,
|
|
1191
1205
|
}).pipe(Schema.encodeKeys({
|
|
1192
1206
|
passwordExpression: "password_expression",
|
|
@@ -1263,7 +1277,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1263
1277
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1264
1278
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
1265
1279
|
Schema.Struct({
|
|
1266
|
-
passwordExpression:
|
|
1280
|
+
passwordExpression: SensitiveString,
|
|
1267
1281
|
usernameExpression: Schema.String,
|
|
1268
1282
|
}).pipe(Schema.encodeKeys({
|
|
1269
1283
|
passwordExpression: "password_expression",
|
|
@@ -1341,7 +1355,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1341
1355
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1342
1356
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
1343
1357
|
Schema.Struct({
|
|
1344
|
-
passwordExpression:
|
|
1358
|
+
passwordExpression: SensitiveString,
|
|
1345
1359
|
usernameExpression: Schema.String,
|
|
1346
1360
|
}).pipe(Schema.encodeKeys({
|
|
1347
1361
|
passwordExpression: "password_expression",
|
|
@@ -1399,7 +1413,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1399
1413
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1400
1414
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
1401
1415
|
Schema.Struct({
|
|
1402
|
-
passwordExpression:
|
|
1416
|
+
passwordExpression: SensitiveString,
|
|
1403
1417
|
usernameExpression: Schema.String,
|
|
1404
1418
|
}).pipe(Schema.encodeKeys({
|
|
1405
1419
|
passwordExpression: "password_expression",
|
|
@@ -1524,7 +1538,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1524
1538
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1525
1539
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
1526
1540
|
Schema.Struct({
|
|
1527
|
-
passwordExpression:
|
|
1541
|
+
passwordExpression: SensitiveString,
|
|
1528
1542
|
usernameExpression: Schema.String,
|
|
1529
1543
|
}).pipe(Schema.encodeKeys({
|
|
1530
1544
|
passwordExpression: "password_expression",
|
|
@@ -1601,7 +1615,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1601
1615
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1602
1616
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
1603
1617
|
Schema.Struct({
|
|
1604
|
-
passwordExpression:
|
|
1618
|
+
passwordExpression: SensitiveString,
|
|
1605
1619
|
usernameExpression: Schema.String,
|
|
1606
1620
|
}).pipe(Schema.encodeKeys({
|
|
1607
1621
|
passwordExpression: "password_expression",
|
|
@@ -1710,7 +1724,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1710
1724
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1711
1725
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
1712
1726
|
Schema.Struct({
|
|
1713
|
-
passwordExpression:
|
|
1727
|
+
passwordExpression: SensitiveString,
|
|
1714
1728
|
usernameExpression: Schema.String,
|
|
1715
1729
|
}).pipe(Schema.encodeKeys({
|
|
1716
1730
|
passwordExpression: "password_expression",
|
|
@@ -1809,7 +1823,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1809
1823
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1810
1824
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
1811
1825
|
Schema.Struct({
|
|
1812
|
-
passwordExpression:
|
|
1826
|
+
passwordExpression: SensitiveString,
|
|
1813
1827
|
usernameExpression: Schema.String,
|
|
1814
1828
|
}).pipe(Schema.encodeKeys({
|
|
1815
1829
|
passwordExpression: "password_expression",
|
|
@@ -1908,7 +1922,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1908
1922
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1909
1923
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
1910
1924
|
Schema.Struct({
|
|
1911
|
-
passwordExpression:
|
|
1925
|
+
passwordExpression: SensitiveString,
|
|
1912
1926
|
usernameExpression: Schema.String,
|
|
1913
1927
|
}).pipe(Schema.encodeKeys({
|
|
1914
1928
|
passwordExpression: "password_expression",
|
|
@@ -1990,7 +2004,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1990
2004
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1991
2005
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
1992
2006
|
Schema.Struct({
|
|
1993
|
-
passwordExpression:
|
|
2007
|
+
passwordExpression: SensitiveString,
|
|
1994
2008
|
usernameExpression: Schema.String,
|
|
1995
2009
|
}).pipe(Schema.encodeKeys({
|
|
1996
2010
|
passwordExpression: "password_expression",
|
|
@@ -2105,7 +2119,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2105
2119
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2106
2120
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
2107
2121
|
Schema.Struct({
|
|
2108
|
-
passwordExpression:
|
|
2122
|
+
passwordExpression: SensitiveString,
|
|
2109
2123
|
usernameExpression: Schema.String,
|
|
2110
2124
|
}).pipe(Schema.encodeKeys({
|
|
2111
2125
|
passwordExpression: "password_expression",
|
|
@@ -2379,7 +2393,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2379
2393
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2380
2394
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
2381
2395
|
Schema.Struct({
|
|
2382
|
-
passwordExpression:
|
|
2396
|
+
passwordExpression: SensitiveString,
|
|
2383
2397
|
usernameExpression: Schema.String,
|
|
2384
2398
|
}).pipe(Schema.encodeKeys({
|
|
2385
2399
|
passwordExpression: "password_expression",
|
|
@@ -2537,7 +2551,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2537
2551
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2538
2552
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
2539
2553
|
Schema.Struct({
|
|
2540
|
-
passwordExpression:
|
|
2554
|
+
passwordExpression: SensitiveString,
|
|
2541
2555
|
usernameExpression: Schema.String,
|
|
2542
2556
|
}).pipe(Schema.encodeKeys({
|
|
2543
2557
|
passwordExpression: "password_expression",
|
|
@@ -2648,7 +2662,7 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2648
2662
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2649
2663
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
2650
2664
|
Schema.Struct({
|
|
2651
|
-
passwordExpression:
|
|
2665
|
+
passwordExpression: SensitiveString,
|
|
2652
2666
|
usernameExpression: Schema.String,
|
|
2653
2667
|
}).pipe(Schema.encodeKeys({
|
|
2654
2668
|
passwordExpression: "password_expression",
|
|
@@ -2718,7 +2732,8 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2718
2732
|
])),
|
|
2719
2733
|
version: Schema.String,
|
|
2720
2734
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2721
|
-
})
|
|
2735
|
+
})
|
|
2736
|
+
.pipe(Schema.encodeKeys({
|
|
2722
2737
|
id: "id",
|
|
2723
2738
|
kind: "kind",
|
|
2724
2739
|
lastUpdated: "last_updated",
|
|
@@ -2727,7 +2742,8 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2727
2742
|
rules: "rules",
|
|
2728
2743
|
version: "version",
|
|
2729
2744
|
description: "description",
|
|
2730
|
-
}))
|
|
2745
|
+
}))
|
|
2746
|
+
.pipe(T.ResponsePath("result"));
|
|
2731
2747
|
export const createRule = API.make(() => ({
|
|
2732
2748
|
input: CreateRuleRequest,
|
|
2733
2749
|
output: CreateRuleResponse,
|
|
@@ -2754,7 +2770,7 @@ export const PatchRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2754
2770
|
description: Schema.optional(Schema.String),
|
|
2755
2771
|
enabled: Schema.optional(Schema.Boolean),
|
|
2756
2772
|
exposedCredentialCheck: Schema.optional(Schema.Struct({
|
|
2757
|
-
passwordExpression:
|
|
2773
|
+
passwordExpression: SensitiveString,
|
|
2758
2774
|
usernameExpression: Schema.String,
|
|
2759
2775
|
}).pipe(Schema.encodeKeys({
|
|
2760
2776
|
passwordExpression: "password_expression",
|
|
@@ -2868,7 +2884,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2868
2884
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2869
2885
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
2870
2886
|
Schema.Struct({
|
|
2871
|
-
passwordExpression:
|
|
2887
|
+
passwordExpression: SensitiveString,
|
|
2872
2888
|
usernameExpression: Schema.String,
|
|
2873
2889
|
}).pipe(Schema.encodeKeys({
|
|
2874
2890
|
passwordExpression: "password_expression",
|
|
@@ -2946,7 +2962,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2946
2962
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2947
2963
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
2948
2964
|
Schema.Struct({
|
|
2949
|
-
passwordExpression:
|
|
2965
|
+
passwordExpression: SensitiveString,
|
|
2950
2966
|
usernameExpression: Schema.String,
|
|
2951
2967
|
}).pipe(Schema.encodeKeys({
|
|
2952
2968
|
passwordExpression: "password_expression",
|
|
@@ -3022,7 +3038,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3022
3038
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3023
3039
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
3024
3040
|
Schema.Struct({
|
|
3025
|
-
passwordExpression:
|
|
3041
|
+
passwordExpression: SensitiveString,
|
|
3026
3042
|
usernameExpression: Schema.String,
|
|
3027
3043
|
}).pipe(Schema.encodeKeys({
|
|
3028
3044
|
passwordExpression: "password_expression",
|
|
@@ -3085,7 +3101,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3085
3101
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3086
3102
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
3087
3103
|
Schema.Struct({
|
|
3088
|
-
passwordExpression:
|
|
3104
|
+
passwordExpression: SensitiveString,
|
|
3089
3105
|
usernameExpression: Schema.String,
|
|
3090
3106
|
}).pipe(Schema.encodeKeys({
|
|
3091
3107
|
passwordExpression: "password_expression",
|
|
@@ -3240,7 +3256,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3240
3256
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3241
3257
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
3242
3258
|
Schema.Struct({
|
|
3243
|
-
passwordExpression:
|
|
3259
|
+
passwordExpression: SensitiveString,
|
|
3244
3260
|
usernameExpression: Schema.String,
|
|
3245
3261
|
}).pipe(Schema.encodeKeys({
|
|
3246
3262
|
passwordExpression: "password_expression",
|
|
@@ -3317,7 +3333,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3317
3333
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3318
3334
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
3319
3335
|
Schema.Struct({
|
|
3320
|
-
passwordExpression:
|
|
3336
|
+
passwordExpression: SensitiveString,
|
|
3321
3337
|
usernameExpression: Schema.String,
|
|
3322
3338
|
}).pipe(Schema.encodeKeys({
|
|
3323
3339
|
passwordExpression: "password_expression",
|
|
@@ -3395,7 +3411,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3395
3411
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3396
3412
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
3397
3413
|
Schema.Struct({
|
|
3398
|
-
passwordExpression:
|
|
3414
|
+
passwordExpression: SensitiveString,
|
|
3399
3415
|
usernameExpression: Schema.String,
|
|
3400
3416
|
}).pipe(Schema.encodeKeys({
|
|
3401
3417
|
passwordExpression: "password_expression",
|
|
@@ -3453,7 +3469,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3453
3469
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3454
3470
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
3455
3471
|
Schema.Struct({
|
|
3456
|
-
passwordExpression:
|
|
3472
|
+
passwordExpression: SensitiveString,
|
|
3457
3473
|
usernameExpression: Schema.String,
|
|
3458
3474
|
}).pipe(Schema.encodeKeys({
|
|
3459
3475
|
passwordExpression: "password_expression",
|
|
@@ -3578,7 +3594,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3578
3594
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3579
3595
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
3580
3596
|
Schema.Struct({
|
|
3581
|
-
passwordExpression:
|
|
3597
|
+
passwordExpression: SensitiveString,
|
|
3582
3598
|
usernameExpression: Schema.String,
|
|
3583
3599
|
}).pipe(Schema.encodeKeys({
|
|
3584
3600
|
passwordExpression: "password_expression",
|
|
@@ -3655,7 +3671,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3655
3671
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3656
3672
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
3657
3673
|
Schema.Struct({
|
|
3658
|
-
passwordExpression:
|
|
3674
|
+
passwordExpression: SensitiveString,
|
|
3659
3675
|
usernameExpression: Schema.String,
|
|
3660
3676
|
}).pipe(Schema.encodeKeys({
|
|
3661
3677
|
passwordExpression: "password_expression",
|
|
@@ -3764,7 +3780,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3764
3780
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3765
3781
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
3766
3782
|
Schema.Struct({
|
|
3767
|
-
passwordExpression:
|
|
3783
|
+
passwordExpression: SensitiveString,
|
|
3768
3784
|
usernameExpression: Schema.String,
|
|
3769
3785
|
}).pipe(Schema.encodeKeys({
|
|
3770
3786
|
passwordExpression: "password_expression",
|
|
@@ -3863,7 +3879,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3863
3879
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3864
3880
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
3865
3881
|
Schema.Struct({
|
|
3866
|
-
passwordExpression:
|
|
3882
|
+
passwordExpression: SensitiveString,
|
|
3867
3883
|
usernameExpression: Schema.String,
|
|
3868
3884
|
}).pipe(Schema.encodeKeys({
|
|
3869
3885
|
passwordExpression: "password_expression",
|
|
@@ -3962,7 +3978,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3962
3978
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3963
3979
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
3964
3980
|
Schema.Struct({
|
|
3965
|
-
passwordExpression:
|
|
3981
|
+
passwordExpression: SensitiveString,
|
|
3966
3982
|
usernameExpression: Schema.String,
|
|
3967
3983
|
}).pipe(Schema.encodeKeys({
|
|
3968
3984
|
passwordExpression: "password_expression",
|
|
@@ -4044,7 +4060,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4044
4060
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
4045
4061
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
4046
4062
|
Schema.Struct({
|
|
4047
|
-
passwordExpression:
|
|
4063
|
+
passwordExpression: SensitiveString,
|
|
4048
4064
|
usernameExpression: Schema.String,
|
|
4049
4065
|
}).pipe(Schema.encodeKeys({
|
|
4050
4066
|
passwordExpression: "password_expression",
|
|
@@ -4159,7 +4175,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4159
4175
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
4160
4176
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
4161
4177
|
Schema.Struct({
|
|
4162
|
-
passwordExpression:
|
|
4178
|
+
passwordExpression: SensitiveString,
|
|
4163
4179
|
usernameExpression: Schema.String,
|
|
4164
4180
|
}).pipe(Schema.encodeKeys({
|
|
4165
4181
|
passwordExpression: "password_expression",
|
|
@@ -4433,7 +4449,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4433
4449
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
4434
4450
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
4435
4451
|
Schema.Struct({
|
|
4436
|
-
passwordExpression:
|
|
4452
|
+
passwordExpression: SensitiveString,
|
|
4437
4453
|
usernameExpression: Schema.String,
|
|
4438
4454
|
}).pipe(Schema.encodeKeys({
|
|
4439
4455
|
passwordExpression: "password_expression",
|
|
@@ -4591,7 +4607,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4591
4607
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
4592
4608
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
4593
4609
|
Schema.Struct({
|
|
4594
|
-
passwordExpression:
|
|
4610
|
+
passwordExpression: SensitiveString,
|
|
4595
4611
|
usernameExpression: Schema.String,
|
|
4596
4612
|
}).pipe(Schema.encodeKeys({
|
|
4597
4613
|
passwordExpression: "password_expression",
|
|
@@ -4702,7 +4718,7 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4702
4718
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
4703
4719
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
4704
4720
|
Schema.Struct({
|
|
4705
|
-
passwordExpression:
|
|
4721
|
+
passwordExpression: SensitiveString,
|
|
4706
4722
|
usernameExpression: Schema.String,
|
|
4707
4723
|
}).pipe(Schema.encodeKeys({
|
|
4708
4724
|
passwordExpression: "password_expression",
|
|
@@ -4772,7 +4788,8 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4772
4788
|
])),
|
|
4773
4789
|
version: Schema.String,
|
|
4774
4790
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4775
|
-
})
|
|
4791
|
+
})
|
|
4792
|
+
.pipe(Schema.encodeKeys({
|
|
4776
4793
|
id: "id",
|
|
4777
4794
|
kind: "kind",
|
|
4778
4795
|
lastUpdated: "last_updated",
|
|
@@ -4781,7 +4798,8 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4781
4798
|
rules: "rules",
|
|
4782
4799
|
version: "version",
|
|
4783
4800
|
description: "description",
|
|
4784
|
-
}))
|
|
4801
|
+
}))
|
|
4802
|
+
.pipe(T.ResponsePath("result"));
|
|
4785
4803
|
export const patchRule = API.make(() => ({
|
|
4786
4804
|
input: PatchRuleRequest,
|
|
4787
4805
|
output: PatchRuleResponse,
|
|
@@ -4851,7 +4869,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4851
4869
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
4852
4870
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
4853
4871
|
Schema.Struct({
|
|
4854
|
-
passwordExpression:
|
|
4872
|
+
passwordExpression: SensitiveString,
|
|
4855
4873
|
usernameExpression: Schema.String,
|
|
4856
4874
|
}).pipe(Schema.encodeKeys({
|
|
4857
4875
|
passwordExpression: "password_expression",
|
|
@@ -4929,7 +4947,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4929
4947
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
4930
4948
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
4931
4949
|
Schema.Struct({
|
|
4932
|
-
passwordExpression:
|
|
4950
|
+
passwordExpression: SensitiveString,
|
|
4933
4951
|
usernameExpression: Schema.String,
|
|
4934
4952
|
}).pipe(Schema.encodeKeys({
|
|
4935
4953
|
passwordExpression: "password_expression",
|
|
@@ -5005,7 +5023,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5005
5023
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
5006
5024
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
5007
5025
|
Schema.Struct({
|
|
5008
|
-
passwordExpression:
|
|
5026
|
+
passwordExpression: SensitiveString,
|
|
5009
5027
|
usernameExpression: Schema.String,
|
|
5010
5028
|
}).pipe(Schema.encodeKeys({
|
|
5011
5029
|
passwordExpression: "password_expression",
|
|
@@ -5068,7 +5086,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5068
5086
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
5069
5087
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
5070
5088
|
Schema.Struct({
|
|
5071
|
-
passwordExpression:
|
|
5089
|
+
passwordExpression: SensitiveString,
|
|
5072
5090
|
usernameExpression: Schema.String,
|
|
5073
5091
|
}).pipe(Schema.encodeKeys({
|
|
5074
5092
|
passwordExpression: "password_expression",
|
|
@@ -5223,7 +5241,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5223
5241
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
5224
5242
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
5225
5243
|
Schema.Struct({
|
|
5226
|
-
passwordExpression:
|
|
5244
|
+
passwordExpression: SensitiveString,
|
|
5227
5245
|
usernameExpression: Schema.String,
|
|
5228
5246
|
}).pipe(Schema.encodeKeys({
|
|
5229
5247
|
passwordExpression: "password_expression",
|
|
@@ -5300,7 +5318,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5300
5318
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
5301
5319
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
5302
5320
|
Schema.Struct({
|
|
5303
|
-
passwordExpression:
|
|
5321
|
+
passwordExpression: SensitiveString,
|
|
5304
5322
|
usernameExpression: Schema.String,
|
|
5305
5323
|
}).pipe(Schema.encodeKeys({
|
|
5306
5324
|
passwordExpression: "password_expression",
|
|
@@ -5378,7 +5396,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5378
5396
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
5379
5397
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
5380
5398
|
Schema.Struct({
|
|
5381
|
-
passwordExpression:
|
|
5399
|
+
passwordExpression: SensitiveString,
|
|
5382
5400
|
usernameExpression: Schema.String,
|
|
5383
5401
|
}).pipe(Schema.encodeKeys({
|
|
5384
5402
|
passwordExpression: "password_expression",
|
|
@@ -5436,7 +5454,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5436
5454
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
5437
5455
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
5438
5456
|
Schema.Struct({
|
|
5439
|
-
passwordExpression:
|
|
5457
|
+
passwordExpression: SensitiveString,
|
|
5440
5458
|
usernameExpression: Schema.String,
|
|
5441
5459
|
}).pipe(Schema.encodeKeys({
|
|
5442
5460
|
passwordExpression: "password_expression",
|
|
@@ -5561,7 +5579,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5561
5579
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
5562
5580
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
5563
5581
|
Schema.Struct({
|
|
5564
|
-
passwordExpression:
|
|
5582
|
+
passwordExpression: SensitiveString,
|
|
5565
5583
|
usernameExpression: Schema.String,
|
|
5566
5584
|
}).pipe(Schema.encodeKeys({
|
|
5567
5585
|
passwordExpression: "password_expression",
|
|
@@ -5638,7 +5656,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5638
5656
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
5639
5657
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
5640
5658
|
Schema.Struct({
|
|
5641
|
-
passwordExpression:
|
|
5659
|
+
passwordExpression: SensitiveString,
|
|
5642
5660
|
usernameExpression: Schema.String,
|
|
5643
5661
|
}).pipe(Schema.encodeKeys({
|
|
5644
5662
|
passwordExpression: "password_expression",
|
|
@@ -5747,7 +5765,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5747
5765
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
5748
5766
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
5749
5767
|
Schema.Struct({
|
|
5750
|
-
passwordExpression:
|
|
5768
|
+
passwordExpression: SensitiveString,
|
|
5751
5769
|
usernameExpression: Schema.String,
|
|
5752
5770
|
}).pipe(Schema.encodeKeys({
|
|
5753
5771
|
passwordExpression: "password_expression",
|
|
@@ -5846,7 +5864,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5846
5864
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
5847
5865
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
5848
5866
|
Schema.Struct({
|
|
5849
|
-
passwordExpression:
|
|
5867
|
+
passwordExpression: SensitiveString,
|
|
5850
5868
|
usernameExpression: Schema.String,
|
|
5851
5869
|
}).pipe(Schema.encodeKeys({
|
|
5852
5870
|
passwordExpression: "password_expression",
|
|
@@ -5945,7 +5963,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5945
5963
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
5946
5964
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
5947
5965
|
Schema.Struct({
|
|
5948
|
-
passwordExpression:
|
|
5966
|
+
passwordExpression: SensitiveString,
|
|
5949
5967
|
usernameExpression: Schema.String,
|
|
5950
5968
|
}).pipe(Schema.encodeKeys({
|
|
5951
5969
|
passwordExpression: "password_expression",
|
|
@@ -6027,7 +6045,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6027
6045
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
6028
6046
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
6029
6047
|
Schema.Struct({
|
|
6030
|
-
passwordExpression:
|
|
6048
|
+
passwordExpression: SensitiveString,
|
|
6031
6049
|
usernameExpression: Schema.String,
|
|
6032
6050
|
}).pipe(Schema.encodeKeys({
|
|
6033
6051
|
passwordExpression: "password_expression",
|
|
@@ -6142,7 +6160,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6142
6160
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
6143
6161
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
6144
6162
|
Schema.Struct({
|
|
6145
|
-
passwordExpression:
|
|
6163
|
+
passwordExpression: SensitiveString,
|
|
6146
6164
|
usernameExpression: Schema.String,
|
|
6147
6165
|
}).pipe(Schema.encodeKeys({
|
|
6148
6166
|
passwordExpression: "password_expression",
|
|
@@ -6416,7 +6434,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6416
6434
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
6417
6435
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
6418
6436
|
Schema.Struct({
|
|
6419
|
-
passwordExpression:
|
|
6437
|
+
passwordExpression: SensitiveString,
|
|
6420
6438
|
usernameExpression: Schema.String,
|
|
6421
6439
|
}).pipe(Schema.encodeKeys({
|
|
6422
6440
|
passwordExpression: "password_expression",
|
|
@@ -6574,7 +6592,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6574
6592
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
6575
6593
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
6576
6594
|
Schema.Struct({
|
|
6577
|
-
passwordExpression:
|
|
6595
|
+
passwordExpression: SensitiveString,
|
|
6578
6596
|
usernameExpression: Schema.String,
|
|
6579
6597
|
}).pipe(Schema.encodeKeys({
|
|
6580
6598
|
passwordExpression: "password_expression",
|
|
@@ -6685,7 +6703,7 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6685
6703
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
6686
6704
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
6687
6705
|
Schema.Struct({
|
|
6688
|
-
passwordExpression:
|
|
6706
|
+
passwordExpression: SensitiveString,
|
|
6689
6707
|
usernameExpression: Schema.String,
|
|
6690
6708
|
}).pipe(Schema.encodeKeys({
|
|
6691
6709
|
passwordExpression: "password_expression",
|
|
@@ -6755,7 +6773,8 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6755
6773
|
])),
|
|
6756
6774
|
version: Schema.String,
|
|
6757
6775
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6758
|
-
})
|
|
6776
|
+
})
|
|
6777
|
+
.pipe(Schema.encodeKeys({
|
|
6759
6778
|
id: "id",
|
|
6760
6779
|
kind: "kind",
|
|
6761
6780
|
lastUpdated: "last_updated",
|
|
@@ -6764,7 +6783,8 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6764
6783
|
rules: "rules",
|
|
6765
6784
|
version: "version",
|
|
6766
6785
|
description: "description",
|
|
6767
|
-
}))
|
|
6786
|
+
}))
|
|
6787
|
+
.pipe(T.ResponsePath("result"));
|
|
6768
6788
|
export const deleteRule = API.make(() => ({
|
|
6769
6789
|
input: DeleteRuleRequest,
|
|
6770
6790
|
output: DeleteRuleResponse,
|
|
@@ -6819,7 +6839,7 @@ export const GetRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6819
6839
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
6820
6840
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
6821
6841
|
Schema.Struct({
|
|
6822
|
-
passwordExpression:
|
|
6842
|
+
passwordExpression: SensitiveString,
|
|
6823
6843
|
usernameExpression: Schema.String,
|
|
6824
6844
|
}).pipe(Schema.encodeKeys({
|
|
6825
6845
|
passwordExpression: "password_expression",
|
|
@@ -6878,7 +6898,7 @@ export const GetRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6878
6898
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
6879
6899
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
6880
6900
|
Schema.Struct({
|
|
6881
|
-
passwordExpression:
|
|
6901
|
+
passwordExpression: SensitiveString,
|
|
6882
6902
|
usernameExpression: Schema.String,
|
|
6883
6903
|
}).pipe(Schema.encodeKeys({
|
|
6884
6904
|
passwordExpression: "password_expression",
|
|
@@ -6929,7 +6949,8 @@ export const GetRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6929
6949
|
])),
|
|
6930
6950
|
version: Schema.String,
|
|
6931
6951
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6932
|
-
})
|
|
6952
|
+
})
|
|
6953
|
+
.pipe(Schema.encodeKeys({
|
|
6933
6954
|
id: "id",
|
|
6934
6955
|
kind: "kind",
|
|
6935
6956
|
lastUpdated: "last_updated",
|
|
@@ -6938,7 +6959,8 @@ export const GetRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6938
6959
|
rules: "rules",
|
|
6939
6960
|
version: "version",
|
|
6940
6961
|
description: "description",
|
|
6941
|
-
}))
|
|
6962
|
+
}))
|
|
6963
|
+
.pipe(T.ResponsePath("result"));
|
|
6942
6964
|
export const getRuleset = API.make(() => ({
|
|
6943
6965
|
input: GetRulesetRequest,
|
|
6944
6966
|
output: GetRulesetResponse,
|
|
@@ -6948,51 +6970,69 @@ export const ListRulesetsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({})
|
|
|
6948
6970
|
method: "GET",
|
|
6949
6971
|
path: "/{accountOrZone}/{accountOrZoneId}/rulesets",
|
|
6950
6972
|
}));
|
|
6951
|
-
export const ListRulesetsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
6952
|
-
|
|
6953
|
-
|
|
6954
|
-
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
|
|
6962
|
-
|
|
6963
|
-
|
|
6964
|
-
|
|
6965
|
-
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
|
|
6969
|
-
|
|
6970
|
-
|
|
6971
|
-
|
|
6972
|
-
|
|
6973
|
-
|
|
6974
|
-
|
|
6975
|
-
|
|
6976
|
-
|
|
6977
|
-
|
|
6978
|
-
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
6973
|
+
export const ListRulesetsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6974
|
+
result: Schema.Array(Schema.Struct({
|
|
6975
|
+
id: Schema.String,
|
|
6976
|
+
kind: Schema.Literals(["zone", "managed", "custom", "root"]),
|
|
6977
|
+
lastUpdated: Schema.String,
|
|
6978
|
+
name: Schema.String,
|
|
6979
|
+
phase: Schema.Literals([
|
|
6980
|
+
"ddos_l4",
|
|
6981
|
+
"ddos_l7",
|
|
6982
|
+
"http_config_settings",
|
|
6983
|
+
"http_custom_errors",
|
|
6984
|
+
"http_log_custom_fields",
|
|
6985
|
+
"http_ratelimit",
|
|
6986
|
+
"http_request_cache_settings",
|
|
6987
|
+
"http_request_dynamic_redirect",
|
|
6988
|
+
"http_request_firewall_custom",
|
|
6989
|
+
"http_request_firewall_managed",
|
|
6990
|
+
"http_request_late_transform",
|
|
6991
|
+
"http_request_origin",
|
|
6992
|
+
"http_request_redirect",
|
|
6993
|
+
"http_request_sanitize",
|
|
6994
|
+
"http_request_sbfm",
|
|
6995
|
+
"http_request_transform",
|
|
6996
|
+
"http_response_compression",
|
|
6997
|
+
"http_response_firewall_managed",
|
|
6998
|
+
"http_response_headers_transform",
|
|
6999
|
+
"magic_transit",
|
|
7000
|
+
"magic_transit_ids_managed",
|
|
7001
|
+
"magic_transit_managed",
|
|
7002
|
+
"magic_transit_ratelimit",
|
|
7003
|
+
]),
|
|
7004
|
+
version: Schema.String,
|
|
7005
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
7006
|
+
}).pipe(Schema.encodeKeys({
|
|
7007
|
+
id: "id",
|
|
7008
|
+
kind: "kind",
|
|
7009
|
+
lastUpdated: "last_updated",
|
|
7010
|
+
name: "name",
|
|
7011
|
+
phase: "phase",
|
|
7012
|
+
version: "version",
|
|
7013
|
+
description: "description",
|
|
7014
|
+
}))),
|
|
7015
|
+
resultInfo: Schema.Struct({
|
|
7016
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
7017
|
+
cursor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
7018
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
7019
|
+
}).pipe(Schema.encodeKeys({
|
|
7020
|
+
count: "count",
|
|
7021
|
+
cursor: "cursor",
|
|
7022
|
+
perPage: "per_page",
|
|
7023
|
+
})),
|
|
7024
|
+
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
7025
|
+
export const listRulesets = API.makePaginated(() => ({
|
|
6993
7026
|
input: ListRulesetsRequest,
|
|
6994
7027
|
output: ListRulesetsResponse,
|
|
6995
7028
|
errors: [],
|
|
7029
|
+
pagination: {
|
|
7030
|
+
mode: "cursor",
|
|
7031
|
+
inputToken: "cursor",
|
|
7032
|
+
outputToken: "resultInfo.cursor",
|
|
7033
|
+
items: "result",
|
|
7034
|
+
pageSize: "perPage",
|
|
7035
|
+
},
|
|
6996
7036
|
}));
|
|
6997
7037
|
export const CreateRulesetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6998
7038
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -7034,7 +7074,7 @@ export const CreateRulesetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7034
7074
|
description: Schema.optional(Schema.String),
|
|
7035
7075
|
enabled: Schema.optional(Schema.Boolean),
|
|
7036
7076
|
exposedCredentialCheck: Schema.optional(Schema.Struct({
|
|
7037
|
-
passwordExpression:
|
|
7077
|
+
passwordExpression: SensitiveString,
|
|
7038
7078
|
usernameExpression: Schema.String,
|
|
7039
7079
|
}).pipe(Schema.encodeKeys({
|
|
7040
7080
|
passwordExpression: "password_expression",
|
|
@@ -7081,7 +7121,7 @@ export const CreateRulesetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7081
7121
|
description: Schema.optional(Schema.String),
|
|
7082
7122
|
enabled: Schema.optional(Schema.Boolean),
|
|
7083
7123
|
exposedCredentialCheck: Schema.optional(Schema.Struct({
|
|
7084
|
-
passwordExpression:
|
|
7124
|
+
passwordExpression: SensitiveString,
|
|
7085
7125
|
usernameExpression: Schema.String,
|
|
7086
7126
|
}).pipe(Schema.encodeKeys({
|
|
7087
7127
|
passwordExpression: "password_expression",
|
|
@@ -7169,7 +7209,7 @@ export const CreateRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7169
7209
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
7170
7210
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
7171
7211
|
Schema.Struct({
|
|
7172
|
-
passwordExpression:
|
|
7212
|
+
passwordExpression: SensitiveString,
|
|
7173
7213
|
usernameExpression: Schema.String,
|
|
7174
7214
|
}).pipe(Schema.encodeKeys({
|
|
7175
7215
|
passwordExpression: "password_expression",
|
|
@@ -7228,7 +7268,7 @@ export const CreateRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7228
7268
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
7229
7269
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
7230
7270
|
Schema.Struct({
|
|
7231
|
-
passwordExpression:
|
|
7271
|
+
passwordExpression: SensitiveString,
|
|
7232
7272
|
usernameExpression: Schema.String,
|
|
7233
7273
|
}).pipe(Schema.encodeKeys({
|
|
7234
7274
|
passwordExpression: "password_expression",
|
|
@@ -7279,7 +7319,8 @@ export const CreateRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7279
7319
|
])),
|
|
7280
7320
|
version: Schema.String,
|
|
7281
7321
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
7282
|
-
})
|
|
7322
|
+
})
|
|
7323
|
+
.pipe(Schema.encodeKeys({
|
|
7283
7324
|
id: "id",
|
|
7284
7325
|
kind: "kind",
|
|
7285
7326
|
lastUpdated: "last_updated",
|
|
@@ -7288,7 +7329,8 @@ export const CreateRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7288
7329
|
rules: "rules",
|
|
7289
7330
|
version: "version",
|
|
7290
7331
|
description: "description",
|
|
7291
|
-
}))
|
|
7332
|
+
}))
|
|
7333
|
+
.pipe(T.ResponsePath("result"));
|
|
7292
7334
|
export const createRuleset = API.make(() => ({
|
|
7293
7335
|
input: CreateRulesetRequest,
|
|
7294
7336
|
output: CreateRulesetResponse,
|
|
@@ -7335,7 +7377,7 @@ export const UpdateRulesetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7335
7377
|
description: Schema.optional(Schema.String),
|
|
7336
7378
|
enabled: Schema.optional(Schema.Boolean),
|
|
7337
7379
|
exposedCredentialCheck: Schema.optional(Schema.Struct({
|
|
7338
|
-
passwordExpression:
|
|
7380
|
+
passwordExpression: SensitiveString,
|
|
7339
7381
|
usernameExpression: Schema.String,
|
|
7340
7382
|
}).pipe(Schema.encodeKeys({
|
|
7341
7383
|
passwordExpression: "password_expression",
|
|
@@ -7382,7 +7424,7 @@ export const UpdateRulesetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7382
7424
|
description: Schema.optional(Schema.String),
|
|
7383
7425
|
enabled: Schema.optional(Schema.Boolean),
|
|
7384
7426
|
exposedCredentialCheck: Schema.optional(Schema.Struct({
|
|
7385
|
-
passwordExpression:
|
|
7427
|
+
passwordExpression: SensitiveString,
|
|
7386
7428
|
usernameExpression: Schema.String,
|
|
7387
7429
|
}).pipe(Schema.encodeKeys({
|
|
7388
7430
|
passwordExpression: "password_expression",
|
|
@@ -7470,7 +7512,7 @@ export const UpdateRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7470
7512
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
7471
7513
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
7472
7514
|
Schema.Struct({
|
|
7473
|
-
passwordExpression:
|
|
7515
|
+
passwordExpression: SensitiveString,
|
|
7474
7516
|
usernameExpression: Schema.String,
|
|
7475
7517
|
}).pipe(Schema.encodeKeys({
|
|
7476
7518
|
passwordExpression: "password_expression",
|
|
@@ -7529,7 +7571,7 @@ export const UpdateRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7529
7571
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
7530
7572
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
7531
7573
|
Schema.Struct({
|
|
7532
|
-
passwordExpression:
|
|
7574
|
+
passwordExpression: SensitiveString,
|
|
7533
7575
|
usernameExpression: Schema.String,
|
|
7534
7576
|
}).pipe(Schema.encodeKeys({
|
|
7535
7577
|
passwordExpression: "password_expression",
|
|
@@ -7580,7 +7622,8 @@ export const UpdateRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7580
7622
|
])),
|
|
7581
7623
|
version: Schema.String,
|
|
7582
7624
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
7583
|
-
})
|
|
7625
|
+
})
|
|
7626
|
+
.pipe(Schema.encodeKeys({
|
|
7584
7627
|
id: "id",
|
|
7585
7628
|
kind: "kind",
|
|
7586
7629
|
lastUpdated: "last_updated",
|
|
@@ -7589,7 +7632,8 @@ export const UpdateRulesetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7589
7632
|
rules: "rules",
|
|
7590
7633
|
version: "version",
|
|
7591
7634
|
description: "description",
|
|
7592
|
-
}))
|
|
7635
|
+
}))
|
|
7636
|
+
.pipe(T.ResponsePath("result"));
|
|
7593
7637
|
export const updateRuleset = API.make(() => ({
|
|
7594
7638
|
input: UpdateRulesetRequest,
|
|
7595
7639
|
output: UpdateRulesetResponse,
|
|
@@ -7658,7 +7702,7 @@ export const GetVersionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7658
7702
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
7659
7703
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
7660
7704
|
Schema.Struct({
|
|
7661
|
-
passwordExpression:
|
|
7705
|
+
passwordExpression: SensitiveString,
|
|
7662
7706
|
usernameExpression: Schema.String,
|
|
7663
7707
|
}).pipe(Schema.encodeKeys({
|
|
7664
7708
|
passwordExpression: "password_expression",
|
|
@@ -7717,7 +7761,7 @@ export const GetVersionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7717
7761
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
7718
7762
|
exposedCredentialCheck: Schema.optional(Schema.Union([
|
|
7719
7763
|
Schema.Struct({
|
|
7720
|
-
passwordExpression:
|
|
7764
|
+
passwordExpression: SensitiveString,
|
|
7721
7765
|
usernameExpression: Schema.String,
|
|
7722
7766
|
}).pipe(Schema.encodeKeys({
|
|
7723
7767
|
passwordExpression: "password_expression",
|
|
@@ -7768,7 +7812,8 @@ export const GetVersionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7768
7812
|
])),
|
|
7769
7813
|
version: Schema.String,
|
|
7770
7814
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
7771
|
-
})
|
|
7815
|
+
})
|
|
7816
|
+
.pipe(Schema.encodeKeys({
|
|
7772
7817
|
id: "id",
|
|
7773
7818
|
kind: "kind",
|
|
7774
7819
|
lastUpdated: "last_updated",
|
|
@@ -7777,7 +7822,8 @@ export const GetVersionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7777
7822
|
rules: "rules",
|
|
7778
7823
|
version: "version",
|
|
7779
7824
|
description: "description",
|
|
7780
|
-
}))
|
|
7825
|
+
}))
|
|
7826
|
+
.pipe(T.ResponsePath("result"));
|
|
7781
7827
|
export const getVersion = API.make(() => ({
|
|
7782
7828
|
input: GetVersionRequest,
|
|
7783
7829
|
output: GetVersionResponse,
|
|
@@ -7789,51 +7835,57 @@ export const ListVersionsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7789
7835
|
method: "GET",
|
|
7790
7836
|
path: "/{accountOrZone}/{accountOrZoneId}/rulesets/{rulesetId}/versions",
|
|
7791
7837
|
}));
|
|
7792
|
-
export const ListVersionsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
|
|
7808
|
-
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
|
|
7819
|
-
|
|
7820
|
-
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
7838
|
+
export const ListVersionsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7839
|
+
result: Schema.Array(Schema.Struct({
|
|
7840
|
+
id: Schema.String,
|
|
7841
|
+
kind: Schema.Literals(["zone", "managed", "custom", "root"]),
|
|
7842
|
+
lastUpdated: Schema.String,
|
|
7843
|
+
name: Schema.String,
|
|
7844
|
+
phase: Schema.Literals([
|
|
7845
|
+
"ddos_l4",
|
|
7846
|
+
"ddos_l7",
|
|
7847
|
+
"http_config_settings",
|
|
7848
|
+
"http_custom_errors",
|
|
7849
|
+
"http_log_custom_fields",
|
|
7850
|
+
"http_ratelimit",
|
|
7851
|
+
"http_request_cache_settings",
|
|
7852
|
+
"http_request_dynamic_redirect",
|
|
7853
|
+
"http_request_firewall_custom",
|
|
7854
|
+
"http_request_firewall_managed",
|
|
7855
|
+
"http_request_late_transform",
|
|
7856
|
+
"http_request_origin",
|
|
7857
|
+
"http_request_redirect",
|
|
7858
|
+
"http_request_sanitize",
|
|
7859
|
+
"http_request_sbfm",
|
|
7860
|
+
"http_request_transform",
|
|
7861
|
+
"http_response_compression",
|
|
7862
|
+
"http_response_firewall_managed",
|
|
7863
|
+
"http_response_headers_transform",
|
|
7864
|
+
"magic_transit",
|
|
7865
|
+
"magic_transit_ids_managed",
|
|
7866
|
+
"magic_transit_managed",
|
|
7867
|
+
"magic_transit_ratelimit",
|
|
7868
|
+
]),
|
|
7869
|
+
version: Schema.String,
|
|
7870
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
7871
|
+
}).pipe(Schema.encodeKeys({
|
|
7872
|
+
id: "id",
|
|
7873
|
+
kind: "kind",
|
|
7874
|
+
lastUpdated: "last_updated",
|
|
7875
|
+
name: "name",
|
|
7876
|
+
phase: "phase",
|
|
7877
|
+
version: "version",
|
|
7878
|
+
description: "description",
|
|
7879
|
+
}))),
|
|
7880
|
+
});
|
|
7881
|
+
export const listVersions = API.makePaginated(() => ({
|
|
7834
7882
|
input: ListVersionsRequest,
|
|
7835
7883
|
output: ListVersionsResponse,
|
|
7836
7884
|
errors: [],
|
|
7885
|
+
pagination: {
|
|
7886
|
+
mode: "single",
|
|
7887
|
+
items: "result",
|
|
7888
|
+
},
|
|
7837
7889
|
}));
|
|
7838
7890
|
export const DeleteVersionRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7839
7891
|
rulesetId: Schema.String.pipe(T.HttpPath("rulesetId")),
|