@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/alerting.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* DO NOT EDIT - regenerate with: bun scripts/generate.ts --service alerting
|
|
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";
|
|
@@ -100,8 +101,8 @@ export const ListAvailableAlertsRequest =
|
|
|
100
101
|
export type ListAvailableAlertsResponse = Record<string, unknown>;
|
|
101
102
|
|
|
102
103
|
export const ListAvailableAlertsResponse =
|
|
103
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
104
|
-
|
|
104
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
|
|
105
|
+
T.ResponsePath("result"),
|
|
105
106
|
) as unknown as Schema.Schema<ListAvailableAlertsResponse>;
|
|
106
107
|
|
|
107
108
|
export type ListAvailableAlertsError = DefaultErrors | InvalidRoute;
|
|
@@ -139,8 +140,8 @@ export const GetDestinationEligibleRequest =
|
|
|
139
140
|
export type GetDestinationEligibleResponse = Record<string, unknown>;
|
|
140
141
|
|
|
141
142
|
export const GetDestinationEligibleResponse =
|
|
142
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
143
|
-
|
|
143
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
|
|
144
|
+
T.ResponsePath("result"),
|
|
144
145
|
) as unknown as Schema.Schema<GetDestinationEligibleResponse>;
|
|
145
146
|
|
|
146
147
|
export type GetDestinationEligibleError = DefaultErrors | InvalidRoute;
|
|
@@ -175,30 +176,50 @@ export const GetDestinationPagerdutyRequest =
|
|
|
175
176
|
}),
|
|
176
177
|
) as unknown as Schema.Schema<GetDestinationPagerdutyRequest>;
|
|
177
178
|
|
|
178
|
-
export
|
|
179
|
-
id?: string | null;
|
|
180
|
-
|
|
181
|
-
}[];
|
|
179
|
+
export interface GetDestinationPagerdutyResponse {
|
|
180
|
+
result: { id?: string | null; name?: string | null }[];
|
|
181
|
+
}
|
|
182
182
|
|
|
183
183
|
export const GetDestinationPagerdutyResponse =
|
|
184
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
185
|
-
Schema.
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
184
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
185
|
+
result: Schema.Array(
|
|
186
|
+
Schema.Struct({
|
|
187
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
188
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
189
|
+
}),
|
|
190
|
+
),
|
|
191
|
+
}) as unknown as Schema.Schema<GetDestinationPagerdutyResponse>;
|
|
190
192
|
|
|
191
193
|
export type GetDestinationPagerdutyError = DefaultErrors;
|
|
192
194
|
|
|
193
|
-
export const getDestinationPagerduty: API.
|
|
195
|
+
export const getDestinationPagerduty: API.PaginatedOperationMethod<
|
|
194
196
|
GetDestinationPagerdutyRequest,
|
|
195
197
|
GetDestinationPagerdutyResponse,
|
|
196
198
|
GetDestinationPagerdutyError,
|
|
197
199
|
Credentials | HttpClient.HttpClient
|
|
198
|
-
>
|
|
200
|
+
> & {
|
|
201
|
+
pages: (
|
|
202
|
+
input: GetDestinationPagerdutyRequest,
|
|
203
|
+
) => stream.Stream<
|
|
204
|
+
GetDestinationPagerdutyResponse,
|
|
205
|
+
GetDestinationPagerdutyError,
|
|
206
|
+
Credentials | HttpClient.HttpClient
|
|
207
|
+
>;
|
|
208
|
+
items: (
|
|
209
|
+
input: GetDestinationPagerdutyRequest,
|
|
210
|
+
) => stream.Stream<
|
|
211
|
+
{ id?: string | null; name?: string | null },
|
|
212
|
+
GetDestinationPagerdutyError,
|
|
213
|
+
Credentials | HttpClient.HttpClient
|
|
214
|
+
>;
|
|
215
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
199
216
|
input: GetDestinationPagerdutyRequest,
|
|
200
217
|
output: GetDestinationPagerdutyResponse,
|
|
201
218
|
errors: [],
|
|
219
|
+
pagination: {
|
|
220
|
+
mode: "single",
|
|
221
|
+
items: "result",
|
|
222
|
+
} as const,
|
|
202
223
|
}));
|
|
203
224
|
|
|
204
225
|
export interface CreateDestinationPagerdutyRequest {
|
|
@@ -224,7 +245,9 @@ export interface CreateDestinationPagerdutyResponse {
|
|
|
224
245
|
export const CreateDestinationPagerdutyResponse =
|
|
225
246
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
226
247
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
227
|
-
})
|
|
248
|
+
}).pipe(
|
|
249
|
+
T.ResponsePath("result"),
|
|
250
|
+
) as unknown as Schema.Schema<CreateDestinationPagerdutyResponse>;
|
|
228
251
|
|
|
229
252
|
export type CreateDestinationPagerdutyError = DefaultErrors | InvalidRoute;
|
|
230
253
|
|
|
@@ -316,7 +339,9 @@ export interface LinkDestinationPagerdutyResponse {
|
|
|
316
339
|
export const LinkDestinationPagerdutyResponse =
|
|
317
340
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
318
341
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
319
|
-
})
|
|
342
|
+
}).pipe(
|
|
343
|
+
T.ResponsePath("result"),
|
|
344
|
+
) as unknown as Schema.Schema<LinkDestinationPagerdutyResponse>;
|
|
320
345
|
|
|
321
346
|
export type LinkDestinationPagerdutyError = DefaultErrors | InvalidRoute;
|
|
322
347
|
|
|
@@ -401,17 +426,21 @@ export const GetDestinationWebhookResponse =
|
|
|
401
426
|
]),
|
|
402
427
|
),
|
|
403
428
|
url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
404
|
-
})
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
429
|
+
})
|
|
430
|
+
.pipe(
|
|
431
|
+
Schema.encodeKeys({
|
|
432
|
+
id: "id",
|
|
433
|
+
createdAt: "created_at",
|
|
434
|
+
lastFailure: "last_failure",
|
|
435
|
+
lastSuccess: "last_success",
|
|
436
|
+
name: "name",
|
|
437
|
+
type: "type",
|
|
438
|
+
url: "url",
|
|
439
|
+
}),
|
|
440
|
+
)
|
|
441
|
+
.pipe(
|
|
442
|
+
T.ResponsePath("result"),
|
|
443
|
+
) as unknown as Schema.Schema<GetDestinationWebhookResponse>;
|
|
415
444
|
|
|
416
445
|
export type GetDestinationWebhookError =
|
|
417
446
|
| DefaultErrors
|
|
@@ -444,73 +473,115 @@ export const ListDestinationWebhooksRequest =
|
|
|
444
473
|
}),
|
|
445
474
|
) as unknown as Schema.Schema<ListDestinationWebhooksRequest>;
|
|
446
475
|
|
|
447
|
-
export
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
476
|
+
export interface ListDestinationWebhooksResponse {
|
|
477
|
+
result: {
|
|
478
|
+
id?: string | null;
|
|
479
|
+
createdAt?: string | null;
|
|
480
|
+
lastFailure?: string | null;
|
|
481
|
+
lastSuccess?: string | null;
|
|
482
|
+
name?: string | null;
|
|
483
|
+
type?:
|
|
484
|
+
| "datadog"
|
|
485
|
+
| "discord"
|
|
486
|
+
| "feishu"
|
|
487
|
+
| "gchat"
|
|
488
|
+
| "generic"
|
|
489
|
+
| "opsgenie"
|
|
490
|
+
| "slack"
|
|
491
|
+
| "splunk"
|
|
492
|
+
| null;
|
|
493
|
+
url?: string | null;
|
|
494
|
+
}[];
|
|
495
|
+
}
|
|
465
496
|
|
|
466
497
|
export const ListDestinationWebhooksResponse =
|
|
467
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
468
|
-
Schema.
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
Schema.
|
|
476
|
-
Schema.
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
498
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
499
|
+
result: Schema.Array(
|
|
500
|
+
Schema.Struct({
|
|
501
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
502
|
+
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
503
|
+
lastFailure: Schema.optional(
|
|
504
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
505
|
+
),
|
|
506
|
+
lastSuccess: Schema.optional(
|
|
507
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
508
|
+
),
|
|
509
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
510
|
+
type: Schema.optional(
|
|
511
|
+
Schema.Union([
|
|
512
|
+
Schema.Literals([
|
|
513
|
+
"datadog",
|
|
514
|
+
"discord",
|
|
515
|
+
"feishu",
|
|
516
|
+
"gchat",
|
|
517
|
+
"generic",
|
|
518
|
+
"opsgenie",
|
|
519
|
+
"slack",
|
|
520
|
+
"splunk",
|
|
521
|
+
]),
|
|
522
|
+
Schema.Null,
|
|
485
523
|
]),
|
|
486
|
-
|
|
487
|
-
]),
|
|
524
|
+
),
|
|
525
|
+
url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
526
|
+
}).pipe(
|
|
527
|
+
Schema.encodeKeys({
|
|
528
|
+
id: "id",
|
|
529
|
+
createdAt: "created_at",
|
|
530
|
+
lastFailure: "last_failure",
|
|
531
|
+
lastSuccess: "last_success",
|
|
532
|
+
name: "name",
|
|
533
|
+
type: "type",
|
|
534
|
+
url: "url",
|
|
535
|
+
}),
|
|
488
536
|
),
|
|
489
|
-
url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
490
|
-
}).pipe(
|
|
491
|
-
Schema.encodeKeys({
|
|
492
|
-
id: "id",
|
|
493
|
-
createdAt: "created_at",
|
|
494
|
-
lastFailure: "last_failure",
|
|
495
|
-
lastSuccess: "last_success",
|
|
496
|
-
name: "name",
|
|
497
|
-
type: "type",
|
|
498
|
-
url: "url",
|
|
499
|
-
}),
|
|
500
537
|
),
|
|
501
|
-
) as unknown as Schema.Schema<ListDestinationWebhooksResponse>;
|
|
538
|
+
}) as unknown as Schema.Schema<ListDestinationWebhooksResponse>;
|
|
502
539
|
|
|
503
540
|
export type ListDestinationWebhooksError = DefaultErrors;
|
|
504
541
|
|
|
505
|
-
export const listDestinationWebhooks: API.
|
|
542
|
+
export const listDestinationWebhooks: API.PaginatedOperationMethod<
|
|
506
543
|
ListDestinationWebhooksRequest,
|
|
507
544
|
ListDestinationWebhooksResponse,
|
|
508
545
|
ListDestinationWebhooksError,
|
|
509
546
|
Credentials | HttpClient.HttpClient
|
|
510
|
-
>
|
|
547
|
+
> & {
|
|
548
|
+
pages: (
|
|
549
|
+
input: ListDestinationWebhooksRequest,
|
|
550
|
+
) => stream.Stream<
|
|
551
|
+
ListDestinationWebhooksResponse,
|
|
552
|
+
ListDestinationWebhooksError,
|
|
553
|
+
Credentials | HttpClient.HttpClient
|
|
554
|
+
>;
|
|
555
|
+
items: (input: ListDestinationWebhooksRequest) => stream.Stream<
|
|
556
|
+
{
|
|
557
|
+
id?: string | null;
|
|
558
|
+
createdAt?: string | null;
|
|
559
|
+
lastFailure?: string | null;
|
|
560
|
+
lastSuccess?: string | null;
|
|
561
|
+
name?: string | null;
|
|
562
|
+
type?:
|
|
563
|
+
| "datadog"
|
|
564
|
+
| "discord"
|
|
565
|
+
| "feishu"
|
|
566
|
+
| "gchat"
|
|
567
|
+
| "generic"
|
|
568
|
+
| "opsgenie"
|
|
569
|
+
| "slack"
|
|
570
|
+
| "splunk"
|
|
571
|
+
| null;
|
|
572
|
+
url?: string | null;
|
|
573
|
+
},
|
|
574
|
+
ListDestinationWebhooksError,
|
|
575
|
+
Credentials | HttpClient.HttpClient
|
|
576
|
+
>;
|
|
577
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
511
578
|
input: ListDestinationWebhooksRequest,
|
|
512
579
|
output: ListDestinationWebhooksResponse,
|
|
513
580
|
errors: [],
|
|
581
|
+
pagination: {
|
|
582
|
+
mode: "single",
|
|
583
|
+
items: "result",
|
|
584
|
+
} as const,
|
|
514
585
|
}));
|
|
515
586
|
|
|
516
587
|
export interface CreateDestinationWebhookRequest {
|
|
@@ -545,7 +616,9 @@ export interface CreateDestinationWebhookResponse {
|
|
|
545
616
|
export const CreateDestinationWebhookResponse =
|
|
546
617
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
547
618
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
548
|
-
})
|
|
619
|
+
}).pipe(
|
|
620
|
+
T.ResponsePath("result"),
|
|
621
|
+
) as unknown as Schema.Schema<CreateDestinationWebhookResponse>;
|
|
549
622
|
|
|
550
623
|
export type CreateDestinationWebhookError =
|
|
551
624
|
| DefaultErrors
|
|
@@ -597,7 +670,9 @@ export interface UpdateDestinationWebhookResponse {
|
|
|
597
670
|
export const UpdateDestinationWebhookResponse =
|
|
598
671
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
599
672
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
600
|
-
})
|
|
673
|
+
}).pipe(
|
|
674
|
+
T.ResponsePath("result"),
|
|
675
|
+
) as unknown as Schema.Schema<UpdateDestinationWebhookResponse>;
|
|
601
676
|
|
|
602
677
|
export type UpdateDestinationWebhookError =
|
|
603
678
|
| DefaultErrors
|
|
@@ -693,60 +768,115 @@ export const ListHistoriesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
693
768
|
T.Http({ method: "GET", path: "/accounts/{account_id}/alerting/v3/history" }),
|
|
694
769
|
) as unknown as Schema.Schema<ListHistoriesRequest>;
|
|
695
770
|
|
|
696
|
-
export
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
771
|
+
export interface ListHistoriesResponse {
|
|
772
|
+
result: {
|
|
773
|
+
id?: string | null;
|
|
774
|
+
alertBody?: string | null;
|
|
775
|
+
alertType?: string | null;
|
|
776
|
+
description?: string | null;
|
|
777
|
+
mechanism?: string | null;
|
|
778
|
+
mechanismType?: "email" | "pagerduty" | "webhook" | null;
|
|
779
|
+
name?: string | null;
|
|
780
|
+
policyId?: string | null;
|
|
781
|
+
sent?: string | null;
|
|
782
|
+
}[];
|
|
783
|
+
resultInfo: {
|
|
784
|
+
count?: number | null;
|
|
785
|
+
page?: number | null;
|
|
786
|
+
perPage?: number | null;
|
|
787
|
+
totalCount?: number | null;
|
|
788
|
+
};
|
|
789
|
+
}
|
|
707
790
|
|
|
708
|
-
export const ListHistoriesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
709
|
-
Schema.
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
Schema.
|
|
717
|
-
Schema.
|
|
718
|
-
|
|
719
|
-
|
|
791
|
+
export const ListHistoriesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
792
|
+
result: Schema.Array(
|
|
793
|
+
Schema.Struct({
|
|
794
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
795
|
+
alertBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
796
|
+
alertType: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
797
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
798
|
+
mechanism: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
799
|
+
mechanismType: Schema.optional(
|
|
800
|
+
Schema.Union([
|
|
801
|
+
Schema.Literals(["email", "pagerduty", "webhook"]),
|
|
802
|
+
Schema.Null,
|
|
803
|
+
]),
|
|
804
|
+
),
|
|
805
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
806
|
+
policyId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
807
|
+
sent: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
808
|
+
}).pipe(
|
|
809
|
+
Schema.encodeKeys({
|
|
810
|
+
id: "id",
|
|
811
|
+
alertBody: "alert_body",
|
|
812
|
+
alertType: "alert_type",
|
|
813
|
+
description: "description",
|
|
814
|
+
mechanism: "mechanism",
|
|
815
|
+
mechanismType: "mechanism_type",
|
|
816
|
+
name: "name",
|
|
817
|
+
policyId: "policy_id",
|
|
818
|
+
sent: "sent",
|
|
819
|
+
}),
|
|
720
820
|
),
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
821
|
+
),
|
|
822
|
+
resultInfo: Schema.Struct({
|
|
823
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
824
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
825
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
826
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
724
827
|
}).pipe(
|
|
725
828
|
Schema.encodeKeys({
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
mechanism: "mechanism",
|
|
731
|
-
mechanismType: "mechanism_type",
|
|
732
|
-
name: "name",
|
|
733
|
-
policyId: "policy_id",
|
|
734
|
-
sent: "sent",
|
|
829
|
+
count: "count",
|
|
830
|
+
page: "page",
|
|
831
|
+
perPage: "per_page",
|
|
832
|
+
totalCount: "total_count",
|
|
735
833
|
}),
|
|
736
834
|
),
|
|
835
|
+
}).pipe(
|
|
836
|
+
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
737
837
|
) as unknown as Schema.Schema<ListHistoriesResponse>;
|
|
738
838
|
|
|
739
839
|
export type ListHistoriesError = DefaultErrors;
|
|
740
840
|
|
|
741
|
-
export const listHistories: API.
|
|
841
|
+
export const listHistories: API.PaginatedOperationMethod<
|
|
742
842
|
ListHistoriesRequest,
|
|
743
843
|
ListHistoriesResponse,
|
|
744
844
|
ListHistoriesError,
|
|
745
845
|
Credentials | HttpClient.HttpClient
|
|
746
|
-
>
|
|
846
|
+
> & {
|
|
847
|
+
pages: (
|
|
848
|
+
input: ListHistoriesRequest,
|
|
849
|
+
) => stream.Stream<
|
|
850
|
+
ListHistoriesResponse,
|
|
851
|
+
ListHistoriesError,
|
|
852
|
+
Credentials | HttpClient.HttpClient
|
|
853
|
+
>;
|
|
854
|
+
items: (input: ListHistoriesRequest) => stream.Stream<
|
|
855
|
+
{
|
|
856
|
+
id?: string | null;
|
|
857
|
+
alertBody?: string | null;
|
|
858
|
+
alertType?: string | null;
|
|
859
|
+
description?: string | null;
|
|
860
|
+
mechanism?: string | null;
|
|
861
|
+
mechanismType?: "email" | "pagerduty" | "webhook" | null;
|
|
862
|
+
name?: string | null;
|
|
863
|
+
policyId?: string | null;
|
|
864
|
+
sent?: string | null;
|
|
865
|
+
},
|
|
866
|
+
ListHistoriesError,
|
|
867
|
+
Credentials | HttpClient.HttpClient
|
|
868
|
+
>;
|
|
869
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
747
870
|
input: ListHistoriesRequest,
|
|
748
871
|
output: ListHistoriesResponse,
|
|
749
872
|
errors: [],
|
|
873
|
+
pagination: {
|
|
874
|
+
mode: "page",
|
|
875
|
+
inputToken: "page",
|
|
876
|
+
outputToken: "resultInfo.page",
|
|
877
|
+
items: "result",
|
|
878
|
+
pageSize: "perPage",
|
|
879
|
+
} as const,
|
|
750
880
|
}));
|
|
751
881
|
|
|
752
882
|
// =============================================================================
|
|
@@ -1229,20 +1359,24 @@ export const GetPolicyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1229
1359
|
),
|
|
1230
1360
|
modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1231
1361
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1232
|
-
})
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
)
|
|
1362
|
+
})
|
|
1363
|
+
.pipe(
|
|
1364
|
+
Schema.encodeKeys({
|
|
1365
|
+
id: "id",
|
|
1366
|
+
alertInterval: "alert_interval",
|
|
1367
|
+
alertType: "alert_type",
|
|
1368
|
+
created: "created",
|
|
1369
|
+
description: "description",
|
|
1370
|
+
enabled: "enabled",
|
|
1371
|
+
filters: "filters",
|
|
1372
|
+
mechanisms: "mechanisms",
|
|
1373
|
+
modified: "modified",
|
|
1374
|
+
name: "name",
|
|
1375
|
+
}),
|
|
1376
|
+
)
|
|
1377
|
+
.pipe(
|
|
1378
|
+
T.ResponsePath("result"),
|
|
1379
|
+
) as unknown as Schema.Schema<GetPolicyResponse>;
|
|
1246
1380
|
|
|
1247
1381
|
export type GetPolicyError = DefaultErrors | InvalidRoute | PolicyNotFound;
|
|
1248
1382
|
|
|
@@ -1271,492 +1405,650 @@ export const ListPoliciesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1271
1405
|
}),
|
|
1272
1406
|
) as unknown as Schema.Schema<ListPoliciesRequest>;
|
|
1273
1407
|
|
|
1274
|
-
export
|
|
1275
|
-
|
|
1276
|
-
|
|
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
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
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
|
-
created?: string | null;
|
|
1348
|
-
description?: string | null;
|
|
1349
|
-
enabled?: boolean | null;
|
|
1350
|
-
filters?: {
|
|
1351
|
-
actions?: string[] | null;
|
|
1352
|
-
affectedAsns?: string[] | null;
|
|
1353
|
-
affectedComponents?: string[] | null;
|
|
1354
|
-
affectedLocations?: string[] | null;
|
|
1355
|
-
airportCode?: string[] | null;
|
|
1356
|
-
alertTriggerPreferences?: string[] | null;
|
|
1357
|
-
alertTriggerPreferencesValue?: string[] | null;
|
|
1358
|
-
enabled?: string[] | null;
|
|
1359
|
-
environment?: string[] | null;
|
|
1360
|
-
event?: string[] | null;
|
|
1361
|
-
eventSource?: string[] | null;
|
|
1362
|
-
eventType?: string[] | null;
|
|
1363
|
-
groupBy?: string[] | null;
|
|
1364
|
-
healthCheckId?: string[] | null;
|
|
1365
|
-
incidentImpact?:
|
|
1366
|
-
| (
|
|
1367
|
-
| "INCIDENT_IMPACT_NONE"
|
|
1368
|
-
| "INCIDENT_IMPACT_MINOR"
|
|
1369
|
-
| "INCIDENT_IMPACT_MAJOR"
|
|
1370
|
-
| "INCIDENT_IMPACT_CRITICAL"
|
|
1371
|
-
)[]
|
|
1408
|
+
export interface ListPoliciesResponse {
|
|
1409
|
+
result: {
|
|
1410
|
+
id?: string | null;
|
|
1411
|
+
alertInterval?: string | null;
|
|
1412
|
+
alertType?:
|
|
1413
|
+
| "abuse_report_alert"
|
|
1414
|
+
| "access_custom_certificate_expiration_type"
|
|
1415
|
+
| "advanced_ddos_attack_l4_alert"
|
|
1416
|
+
| "advanced_ddos_attack_l7_alert"
|
|
1417
|
+
| "advanced_http_alert_error"
|
|
1418
|
+
| "bgp_hijack_notification"
|
|
1419
|
+
| "billing_usage_alert"
|
|
1420
|
+
| "block_notification_block_removed"
|
|
1421
|
+
| "block_notification_new_block"
|
|
1422
|
+
| "block_notification_review_rejected"
|
|
1423
|
+
| "bot_traffic_basic_alert"
|
|
1424
|
+
| "brand_protection_alert"
|
|
1425
|
+
| "brand_protection_digest"
|
|
1426
|
+
| "clickhouse_alert_fw_anomaly"
|
|
1427
|
+
| "clickhouse_alert_fw_ent_anomaly"
|
|
1428
|
+
| "cloudforce_one_request_notification"
|
|
1429
|
+
| "custom_analytics"
|
|
1430
|
+
| "custom_bot_detection_alert"
|
|
1431
|
+
| "custom_ssl_certificate_event_type"
|
|
1432
|
+
| "dedicated_ssl_certificate_event_type"
|
|
1433
|
+
| "device_connectivity_anomaly_alert"
|
|
1434
|
+
| "dos_attack_l4"
|
|
1435
|
+
| "dos_attack_l7"
|
|
1436
|
+
| "expiring_service_token_alert"
|
|
1437
|
+
| "failing_logpush_job_disabled_alert"
|
|
1438
|
+
| "fbm_auto_advertisement"
|
|
1439
|
+
| "fbm_dosd_attack"
|
|
1440
|
+
| "fbm_volumetric_attack"
|
|
1441
|
+
| "health_check_status_notification"
|
|
1442
|
+
| "hostname_aop_custom_certificate_expiration_type"
|
|
1443
|
+
| "http_alert_edge_error"
|
|
1444
|
+
| "http_alert_origin_error"
|
|
1445
|
+
| "image_notification"
|
|
1446
|
+
| "image_resizing_notification"
|
|
1447
|
+
| "incident_alert"
|
|
1448
|
+
| "load_balancing_health_alert"
|
|
1449
|
+
| "load_balancing_pool_enablement_alert"
|
|
1450
|
+
| "logo_match_alert"
|
|
1451
|
+
| "magic_tunnel_health_check_event"
|
|
1452
|
+
| "magic_wan_tunnel_health"
|
|
1453
|
+
| "maintenance_event_notification"
|
|
1454
|
+
| "mtls_certificate_store_certificate_expiration_type"
|
|
1455
|
+
| "pages_event_alert"
|
|
1456
|
+
| "radar_notification"
|
|
1457
|
+
| "real_origin_monitoring"
|
|
1458
|
+
| "scriptmonitor_alert_new_code_change_detections"
|
|
1459
|
+
| "scriptmonitor_alert_new_hosts"
|
|
1460
|
+
| "scriptmonitor_alert_new_malicious_hosts"
|
|
1461
|
+
| "scriptmonitor_alert_new_malicious_scripts"
|
|
1462
|
+
| "scriptmonitor_alert_new_malicious_url"
|
|
1463
|
+
| "scriptmonitor_alert_new_max_length_resource_url"
|
|
1464
|
+
| "scriptmonitor_alert_new_resources"
|
|
1465
|
+
| "secondary_dns_all_primaries_failing"
|
|
1466
|
+
| "secondary_dns_primaries_failing"
|
|
1467
|
+
| "secondary_dns_warning"
|
|
1468
|
+
| "secondary_dns_zone_successfully_updated"
|
|
1469
|
+
| "secondary_dns_zone_validation_warning"
|
|
1470
|
+
| "security_insights_alert"
|
|
1471
|
+
| "sentinel_alert"
|
|
1472
|
+
| "stream_live_notifications"
|
|
1473
|
+
| "synthetic_test_latency_alert"
|
|
1474
|
+
| "synthetic_test_low_availability_alert"
|
|
1475
|
+
| "traffic_anomalies_alert"
|
|
1476
|
+
| "tunnel_health_event"
|
|
1477
|
+
| "tunnel_update_event"
|
|
1478
|
+
| "universal_ssl_event_type"
|
|
1479
|
+
| "web_analytics_metrics_update"
|
|
1480
|
+
| "zone_aop_custom_certificate_expiration_type"
|
|
1372
1481
|
| null;
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1482
|
+
created?: string | null;
|
|
1483
|
+
description?: string | null;
|
|
1484
|
+
enabled?: boolean | null;
|
|
1485
|
+
filters?: {
|
|
1486
|
+
actions?: string[] | null;
|
|
1487
|
+
affectedAsns?: string[] | null;
|
|
1488
|
+
affectedComponents?: string[] | null;
|
|
1489
|
+
affectedLocations?: string[] | null;
|
|
1490
|
+
airportCode?: string[] | null;
|
|
1491
|
+
alertTriggerPreferences?: string[] | null;
|
|
1492
|
+
alertTriggerPreferencesValue?: string[] | null;
|
|
1493
|
+
enabled?: string[] | null;
|
|
1494
|
+
environment?: string[] | null;
|
|
1495
|
+
event?: string[] | null;
|
|
1496
|
+
eventSource?: string[] | null;
|
|
1497
|
+
eventType?: string[] | null;
|
|
1498
|
+
groupBy?: string[] | null;
|
|
1499
|
+
healthCheckId?: string[] | null;
|
|
1500
|
+
incidentImpact?:
|
|
1501
|
+
| (
|
|
1502
|
+
| "INCIDENT_IMPACT_NONE"
|
|
1503
|
+
| "INCIDENT_IMPACT_MINOR"
|
|
1504
|
+
| "INCIDENT_IMPACT_MAJOR"
|
|
1505
|
+
| "INCIDENT_IMPACT_CRITICAL"
|
|
1506
|
+
)[]
|
|
1507
|
+
| null;
|
|
1508
|
+
inputId?: string[] | null;
|
|
1509
|
+
insightClass?: string[] | null;
|
|
1510
|
+
limit?: string[] | null;
|
|
1511
|
+
logoTag?: string[] | null;
|
|
1512
|
+
megabitsPerSecond?: string[] | null;
|
|
1513
|
+
newHealth?: string[] | null;
|
|
1514
|
+
newStatus?: string[] | null;
|
|
1515
|
+
packetsPerSecond?: string[] | null;
|
|
1516
|
+
poolId?: string[] | null;
|
|
1517
|
+
popNames?: string[] | null;
|
|
1518
|
+
product?: string[] | null;
|
|
1519
|
+
projectId?: string[] | null;
|
|
1520
|
+
protocol?: string[] | null;
|
|
1521
|
+
queryTag?: string[] | null;
|
|
1522
|
+
requestsPerSecond?: string[] | null;
|
|
1523
|
+
selectors?: string[] | null;
|
|
1524
|
+
services?: string[] | null;
|
|
1525
|
+
slo?: string[] | null;
|
|
1526
|
+
status?: string[] | null;
|
|
1527
|
+
targetHostname?: string[] | null;
|
|
1528
|
+
targetIp?: string[] | null;
|
|
1529
|
+
targetZoneName?: string[] | null;
|
|
1530
|
+
trafficExclusions?: "security_events"[] | null;
|
|
1531
|
+
tunnelId?: string[] | null;
|
|
1532
|
+
tunnelName?: string[] | null;
|
|
1533
|
+
type?: string[] | null;
|
|
1534
|
+
where?: string[] | null;
|
|
1535
|
+
zones?: string[] | null;
|
|
1536
|
+
} | null;
|
|
1537
|
+
mechanisms?: {
|
|
1538
|
+
email?: { id?: string | null }[] | null;
|
|
1539
|
+
pagerduty?: { id?: string | null }[] | null;
|
|
1540
|
+
webhooks?: { id?: string | null }[] | null;
|
|
1541
|
+
} | null;
|
|
1542
|
+
modified?: string | null;
|
|
1543
|
+
name?: string | null;
|
|
1544
|
+
}[];
|
|
1545
|
+
}
|
|
1410
1546
|
|
|
1411
|
-
export const ListPoliciesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
1412
|
-
Schema.
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1547
|
+
export const ListPoliciesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1548
|
+
result: Schema.Array(
|
|
1549
|
+
Schema.Struct({
|
|
1550
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1551
|
+
alertInterval: Schema.optional(
|
|
1552
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1553
|
+
),
|
|
1554
|
+
alertType: Schema.optional(
|
|
1555
|
+
Schema.Union([
|
|
1556
|
+
Schema.Literals([
|
|
1557
|
+
"abuse_report_alert",
|
|
1558
|
+
"access_custom_certificate_expiration_type",
|
|
1559
|
+
"advanced_ddos_attack_l4_alert",
|
|
1560
|
+
"advanced_ddos_attack_l7_alert",
|
|
1561
|
+
"advanced_http_alert_error",
|
|
1562
|
+
"bgp_hijack_notification",
|
|
1563
|
+
"billing_usage_alert",
|
|
1564
|
+
"block_notification_block_removed",
|
|
1565
|
+
"block_notification_new_block",
|
|
1566
|
+
"block_notification_review_rejected",
|
|
1567
|
+
"bot_traffic_basic_alert",
|
|
1568
|
+
"brand_protection_alert",
|
|
1569
|
+
"brand_protection_digest",
|
|
1570
|
+
"clickhouse_alert_fw_anomaly",
|
|
1571
|
+
"clickhouse_alert_fw_ent_anomaly",
|
|
1572
|
+
"cloudforce_one_request_notification",
|
|
1573
|
+
"custom_analytics",
|
|
1574
|
+
"custom_bot_detection_alert",
|
|
1575
|
+
"custom_ssl_certificate_event_type",
|
|
1576
|
+
"dedicated_ssl_certificate_event_type",
|
|
1577
|
+
"device_connectivity_anomaly_alert",
|
|
1578
|
+
"dos_attack_l4",
|
|
1579
|
+
"dos_attack_l7",
|
|
1580
|
+
"expiring_service_token_alert",
|
|
1581
|
+
"failing_logpush_job_disabled_alert",
|
|
1582
|
+
"fbm_auto_advertisement",
|
|
1583
|
+
"fbm_dosd_attack",
|
|
1584
|
+
"fbm_volumetric_attack",
|
|
1585
|
+
"health_check_status_notification",
|
|
1586
|
+
"hostname_aop_custom_certificate_expiration_type",
|
|
1587
|
+
"http_alert_edge_error",
|
|
1588
|
+
"http_alert_origin_error",
|
|
1589
|
+
"image_notification",
|
|
1590
|
+
"image_resizing_notification",
|
|
1591
|
+
"incident_alert",
|
|
1592
|
+
"load_balancing_health_alert",
|
|
1593
|
+
"load_balancing_pool_enablement_alert",
|
|
1594
|
+
"logo_match_alert",
|
|
1595
|
+
"magic_tunnel_health_check_event",
|
|
1596
|
+
"magic_wan_tunnel_health",
|
|
1597
|
+
"maintenance_event_notification",
|
|
1598
|
+
"mtls_certificate_store_certificate_expiration_type",
|
|
1599
|
+
"pages_event_alert",
|
|
1600
|
+
"radar_notification",
|
|
1601
|
+
"real_origin_monitoring",
|
|
1602
|
+
"scriptmonitor_alert_new_code_change_detections",
|
|
1603
|
+
"scriptmonitor_alert_new_hosts",
|
|
1604
|
+
"scriptmonitor_alert_new_malicious_hosts",
|
|
1605
|
+
"scriptmonitor_alert_new_malicious_scripts",
|
|
1606
|
+
"scriptmonitor_alert_new_malicious_url",
|
|
1607
|
+
"scriptmonitor_alert_new_max_length_resource_url",
|
|
1608
|
+
"scriptmonitor_alert_new_resources",
|
|
1609
|
+
"secondary_dns_all_primaries_failing",
|
|
1610
|
+
"secondary_dns_primaries_failing",
|
|
1611
|
+
"secondary_dns_warning",
|
|
1612
|
+
"secondary_dns_zone_successfully_updated",
|
|
1613
|
+
"secondary_dns_zone_validation_warning",
|
|
1614
|
+
"security_insights_alert",
|
|
1615
|
+
"sentinel_alert",
|
|
1616
|
+
"stream_live_notifications",
|
|
1617
|
+
"synthetic_test_latency_alert",
|
|
1618
|
+
"synthetic_test_low_availability_alert",
|
|
1619
|
+
"traffic_anomalies_alert",
|
|
1620
|
+
"tunnel_health_event",
|
|
1621
|
+
"tunnel_update_event",
|
|
1622
|
+
"universal_ssl_event_type",
|
|
1623
|
+
"web_analytics_metrics_update",
|
|
1624
|
+
"zone_aop_custom_certificate_expiration_type",
|
|
1625
|
+
]),
|
|
1626
|
+
Schema.Null,
|
|
1486
1627
|
]),
|
|
1487
|
-
|
|
1488
|
-
]),
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
Schema.
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
Schema.
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
Schema.
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
Schema.
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
Schema.
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
Schema.
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
Schema.
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
Schema.
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
Schema.
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
Schema.
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
Schema.
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
Schema.
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
Schema.
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
Schema.
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
),
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
Schema.
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
Schema.
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
Schema.
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
Schema.
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
Schema.
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
Schema.
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
Schema.
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
Schema.
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
Schema.
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
Schema.
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
Schema.
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
Schema.
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
Schema.
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
Schema.
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
Schema.
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
Schema.
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
Schema.
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
Schema.
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
Schema.
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
Schema.
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
Schema.
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
Schema.
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
Schema.
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
Schema.
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
Schema.
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
Schema.
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1628
|
+
),
|
|
1629
|
+
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1630
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1631
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1632
|
+
filters: Schema.optional(
|
|
1633
|
+
Schema.Union([
|
|
1634
|
+
Schema.Struct({
|
|
1635
|
+
actions: Schema.optional(
|
|
1636
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1637
|
+
),
|
|
1638
|
+
affectedAsns: Schema.optional(
|
|
1639
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1640
|
+
),
|
|
1641
|
+
affectedComponents: Schema.optional(
|
|
1642
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1643
|
+
),
|
|
1644
|
+
affectedLocations: Schema.optional(
|
|
1645
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1646
|
+
),
|
|
1647
|
+
airportCode: Schema.optional(
|
|
1648
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1649
|
+
),
|
|
1650
|
+
alertTriggerPreferences: Schema.optional(
|
|
1651
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1652
|
+
),
|
|
1653
|
+
alertTriggerPreferencesValue: Schema.optional(
|
|
1654
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1655
|
+
),
|
|
1656
|
+
enabled: Schema.optional(
|
|
1657
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1658
|
+
),
|
|
1659
|
+
environment: Schema.optional(
|
|
1660
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1661
|
+
),
|
|
1662
|
+
event: Schema.optional(
|
|
1663
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1664
|
+
),
|
|
1665
|
+
eventSource: Schema.optional(
|
|
1666
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1667
|
+
),
|
|
1668
|
+
eventType: Schema.optional(
|
|
1669
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1670
|
+
),
|
|
1671
|
+
groupBy: Schema.optional(
|
|
1672
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1673
|
+
),
|
|
1674
|
+
healthCheckId: Schema.optional(
|
|
1675
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1676
|
+
),
|
|
1677
|
+
incidentImpact: Schema.optional(
|
|
1678
|
+
Schema.Union([
|
|
1679
|
+
Schema.Array(
|
|
1680
|
+
Schema.Literals([
|
|
1681
|
+
"INCIDENT_IMPACT_NONE",
|
|
1682
|
+
"INCIDENT_IMPACT_MINOR",
|
|
1683
|
+
"INCIDENT_IMPACT_MAJOR",
|
|
1684
|
+
"INCIDENT_IMPACT_CRITICAL",
|
|
1685
|
+
]),
|
|
1686
|
+
),
|
|
1687
|
+
Schema.Null,
|
|
1688
|
+
]),
|
|
1689
|
+
),
|
|
1690
|
+
inputId: Schema.optional(
|
|
1691
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1692
|
+
),
|
|
1693
|
+
insightClass: Schema.optional(
|
|
1694
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1695
|
+
),
|
|
1696
|
+
limit: Schema.optional(
|
|
1697
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1698
|
+
),
|
|
1699
|
+
logoTag: Schema.optional(
|
|
1700
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1701
|
+
),
|
|
1702
|
+
megabitsPerSecond: Schema.optional(
|
|
1703
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1704
|
+
),
|
|
1705
|
+
newHealth: Schema.optional(
|
|
1706
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1707
|
+
),
|
|
1708
|
+
newStatus: Schema.optional(
|
|
1709
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1710
|
+
),
|
|
1711
|
+
packetsPerSecond: Schema.optional(
|
|
1712
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1713
|
+
),
|
|
1714
|
+
poolId: Schema.optional(
|
|
1715
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1716
|
+
),
|
|
1717
|
+
popNames: Schema.optional(
|
|
1718
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1719
|
+
),
|
|
1720
|
+
product: Schema.optional(
|
|
1721
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1722
|
+
),
|
|
1723
|
+
projectId: Schema.optional(
|
|
1724
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1725
|
+
),
|
|
1726
|
+
protocol: Schema.optional(
|
|
1727
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1728
|
+
),
|
|
1729
|
+
queryTag: Schema.optional(
|
|
1730
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1731
|
+
),
|
|
1732
|
+
requestsPerSecond: Schema.optional(
|
|
1733
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1734
|
+
),
|
|
1735
|
+
selectors: Schema.optional(
|
|
1736
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1737
|
+
),
|
|
1738
|
+
services: Schema.optional(
|
|
1739
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1740
|
+
),
|
|
1741
|
+
slo: Schema.optional(
|
|
1742
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1743
|
+
),
|
|
1744
|
+
status: Schema.optional(
|
|
1745
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1746
|
+
),
|
|
1747
|
+
targetHostname: Schema.optional(
|
|
1748
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1749
|
+
),
|
|
1750
|
+
targetIp: Schema.optional(
|
|
1751
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1752
|
+
),
|
|
1753
|
+
targetZoneName: Schema.optional(
|
|
1754
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1755
|
+
),
|
|
1756
|
+
trafficExclusions: Schema.optional(
|
|
1757
|
+
Schema.Union([
|
|
1758
|
+
Schema.Array(Schema.Literal("security_events")),
|
|
1759
|
+
Schema.Null,
|
|
1760
|
+
]),
|
|
1761
|
+
),
|
|
1762
|
+
tunnelId: Schema.optional(
|
|
1763
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1764
|
+
),
|
|
1765
|
+
tunnelName: Schema.optional(
|
|
1766
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1767
|
+
),
|
|
1768
|
+
type: Schema.optional(
|
|
1769
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1770
|
+
),
|
|
1771
|
+
where: Schema.optional(
|
|
1772
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1773
|
+
),
|
|
1774
|
+
zones: Schema.optional(
|
|
1775
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1776
|
+
),
|
|
1777
|
+
}).pipe(
|
|
1778
|
+
Schema.encodeKeys({
|
|
1779
|
+
actions: "actions",
|
|
1780
|
+
affectedAsns: "affected_asns",
|
|
1781
|
+
affectedComponents: "affected_components",
|
|
1782
|
+
affectedLocations: "affected_locations",
|
|
1783
|
+
airportCode: "airport_code",
|
|
1784
|
+
alertTriggerPreferences: "alert_trigger_preferences",
|
|
1785
|
+
alertTriggerPreferencesValue: "alert_trigger_preferences_value",
|
|
1786
|
+
enabled: "enabled",
|
|
1787
|
+
environment: "environment",
|
|
1788
|
+
event: "event",
|
|
1789
|
+
eventSource: "event_source",
|
|
1790
|
+
eventType: "event_type",
|
|
1791
|
+
groupBy: "group_by",
|
|
1792
|
+
healthCheckId: "health_check_id",
|
|
1793
|
+
incidentImpact: "incident_impact",
|
|
1794
|
+
inputId: "input_id",
|
|
1795
|
+
insightClass: "insight_class",
|
|
1796
|
+
limit: "limit",
|
|
1797
|
+
logoTag: "logo_tag",
|
|
1798
|
+
megabitsPerSecond: "megabits_per_second",
|
|
1799
|
+
newHealth: "new_health",
|
|
1800
|
+
newStatus: "new_status",
|
|
1801
|
+
packetsPerSecond: "packets_per_second",
|
|
1802
|
+
poolId: "pool_id",
|
|
1803
|
+
popNames: "pop_names",
|
|
1804
|
+
product: "product",
|
|
1805
|
+
projectId: "project_id",
|
|
1806
|
+
protocol: "protocol",
|
|
1807
|
+
queryTag: "query_tag",
|
|
1808
|
+
requestsPerSecond: "requests_per_second",
|
|
1809
|
+
selectors: "selectors",
|
|
1810
|
+
services: "services",
|
|
1811
|
+
slo: "slo",
|
|
1812
|
+
status: "status",
|
|
1813
|
+
targetHostname: "target_hostname",
|
|
1814
|
+
targetIp: "target_ip",
|
|
1815
|
+
targetZoneName: "target_zone_name",
|
|
1816
|
+
trafficExclusions: "traffic_exclusions",
|
|
1817
|
+
tunnelId: "tunnel_id",
|
|
1818
|
+
tunnelName: "tunnel_name",
|
|
1819
|
+
type: "type",
|
|
1820
|
+
where: "where",
|
|
1821
|
+
zones: "zones",
|
|
1822
|
+
}),
|
|
1637
1823
|
),
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
type: "type",
|
|
1681
|
-
where: "where",
|
|
1682
|
-
zones: "zones",
|
|
1824
|
+
Schema.Null,
|
|
1825
|
+
]),
|
|
1826
|
+
),
|
|
1827
|
+
mechanisms: Schema.optional(
|
|
1828
|
+
Schema.Union([
|
|
1829
|
+
Schema.Struct({
|
|
1830
|
+
email: Schema.optional(
|
|
1831
|
+
Schema.Union([
|
|
1832
|
+
Schema.Array(
|
|
1833
|
+
Schema.Struct({
|
|
1834
|
+
id: Schema.optional(
|
|
1835
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1836
|
+
),
|
|
1837
|
+
}),
|
|
1838
|
+
),
|
|
1839
|
+
Schema.Null,
|
|
1840
|
+
]),
|
|
1841
|
+
),
|
|
1842
|
+
pagerduty: Schema.optional(
|
|
1843
|
+
Schema.Union([
|
|
1844
|
+
Schema.Array(
|
|
1845
|
+
Schema.Struct({
|
|
1846
|
+
id: Schema.optional(
|
|
1847
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1848
|
+
),
|
|
1849
|
+
}),
|
|
1850
|
+
),
|
|
1851
|
+
Schema.Null,
|
|
1852
|
+
]),
|
|
1853
|
+
),
|
|
1854
|
+
webhooks: Schema.optional(
|
|
1855
|
+
Schema.Union([
|
|
1856
|
+
Schema.Array(
|
|
1857
|
+
Schema.Struct({
|
|
1858
|
+
id: Schema.optional(
|
|
1859
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1860
|
+
),
|
|
1861
|
+
}),
|
|
1862
|
+
),
|
|
1863
|
+
Schema.Null,
|
|
1864
|
+
]),
|
|
1865
|
+
),
|
|
1683
1866
|
}),
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
),
|
|
1703
|
-
pagerduty: Schema.optional(
|
|
1704
|
-
Schema.Union([
|
|
1705
|
-
Schema.Array(
|
|
1706
|
-
Schema.Struct({
|
|
1707
|
-
id: Schema.optional(
|
|
1708
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1709
|
-
),
|
|
1710
|
-
}),
|
|
1711
|
-
),
|
|
1712
|
-
Schema.Null,
|
|
1713
|
-
]),
|
|
1714
|
-
),
|
|
1715
|
-
webhooks: Schema.optional(
|
|
1716
|
-
Schema.Union([
|
|
1717
|
-
Schema.Array(
|
|
1718
|
-
Schema.Struct({
|
|
1719
|
-
id: Schema.optional(
|
|
1720
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1721
|
-
),
|
|
1722
|
-
}),
|
|
1723
|
-
),
|
|
1724
|
-
Schema.Null,
|
|
1725
|
-
]),
|
|
1726
|
-
),
|
|
1727
|
-
}),
|
|
1728
|
-
Schema.Null,
|
|
1729
|
-
]),
|
|
1867
|
+
Schema.Null,
|
|
1868
|
+
]),
|
|
1869
|
+
),
|
|
1870
|
+
modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1871
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1872
|
+
}).pipe(
|
|
1873
|
+
Schema.encodeKeys({
|
|
1874
|
+
id: "id",
|
|
1875
|
+
alertInterval: "alert_interval",
|
|
1876
|
+
alertType: "alert_type",
|
|
1877
|
+
created: "created",
|
|
1878
|
+
description: "description",
|
|
1879
|
+
enabled: "enabled",
|
|
1880
|
+
filters: "filters",
|
|
1881
|
+
mechanisms: "mechanisms",
|
|
1882
|
+
modified: "modified",
|
|
1883
|
+
name: "name",
|
|
1884
|
+
}),
|
|
1730
1885
|
),
|
|
1731
|
-
modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1732
|
-
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1733
|
-
}).pipe(
|
|
1734
|
-
Schema.encodeKeys({
|
|
1735
|
-
id: "id",
|
|
1736
|
-
alertInterval: "alert_interval",
|
|
1737
|
-
alertType: "alert_type",
|
|
1738
|
-
created: "created",
|
|
1739
|
-
description: "description",
|
|
1740
|
-
enabled: "enabled",
|
|
1741
|
-
filters: "filters",
|
|
1742
|
-
mechanisms: "mechanisms",
|
|
1743
|
-
modified: "modified",
|
|
1744
|
-
name: "name",
|
|
1745
|
-
}),
|
|
1746
1886
|
),
|
|
1747
|
-
) as unknown as Schema.Schema<ListPoliciesResponse>;
|
|
1887
|
+
}) as unknown as Schema.Schema<ListPoliciesResponse>;
|
|
1748
1888
|
|
|
1749
1889
|
export type ListPoliciesError = DefaultErrors;
|
|
1750
1890
|
|
|
1751
|
-
export const listPolicies: API.
|
|
1891
|
+
export const listPolicies: API.PaginatedOperationMethod<
|
|
1752
1892
|
ListPoliciesRequest,
|
|
1753
1893
|
ListPoliciesResponse,
|
|
1754
1894
|
ListPoliciesError,
|
|
1755
1895
|
Credentials | HttpClient.HttpClient
|
|
1756
|
-
>
|
|
1896
|
+
> & {
|
|
1897
|
+
pages: (
|
|
1898
|
+
input: ListPoliciesRequest,
|
|
1899
|
+
) => stream.Stream<
|
|
1900
|
+
ListPoliciesResponse,
|
|
1901
|
+
ListPoliciesError,
|
|
1902
|
+
Credentials | HttpClient.HttpClient
|
|
1903
|
+
>;
|
|
1904
|
+
items: (input: ListPoliciesRequest) => stream.Stream<
|
|
1905
|
+
{
|
|
1906
|
+
id?: string | null;
|
|
1907
|
+
alertInterval?: string | null;
|
|
1908
|
+
alertType?:
|
|
1909
|
+
| "abuse_report_alert"
|
|
1910
|
+
| "access_custom_certificate_expiration_type"
|
|
1911
|
+
| "advanced_ddos_attack_l4_alert"
|
|
1912
|
+
| "advanced_ddos_attack_l7_alert"
|
|
1913
|
+
| "advanced_http_alert_error"
|
|
1914
|
+
| "bgp_hijack_notification"
|
|
1915
|
+
| "billing_usage_alert"
|
|
1916
|
+
| "block_notification_block_removed"
|
|
1917
|
+
| "block_notification_new_block"
|
|
1918
|
+
| "block_notification_review_rejected"
|
|
1919
|
+
| "bot_traffic_basic_alert"
|
|
1920
|
+
| "brand_protection_alert"
|
|
1921
|
+
| "brand_protection_digest"
|
|
1922
|
+
| "clickhouse_alert_fw_anomaly"
|
|
1923
|
+
| "clickhouse_alert_fw_ent_anomaly"
|
|
1924
|
+
| "cloudforce_one_request_notification"
|
|
1925
|
+
| "custom_analytics"
|
|
1926
|
+
| "custom_bot_detection_alert"
|
|
1927
|
+
| "custom_ssl_certificate_event_type"
|
|
1928
|
+
| "dedicated_ssl_certificate_event_type"
|
|
1929
|
+
| "device_connectivity_anomaly_alert"
|
|
1930
|
+
| "dos_attack_l4"
|
|
1931
|
+
| "dos_attack_l7"
|
|
1932
|
+
| "expiring_service_token_alert"
|
|
1933
|
+
| "failing_logpush_job_disabled_alert"
|
|
1934
|
+
| "fbm_auto_advertisement"
|
|
1935
|
+
| "fbm_dosd_attack"
|
|
1936
|
+
| "fbm_volumetric_attack"
|
|
1937
|
+
| "health_check_status_notification"
|
|
1938
|
+
| "hostname_aop_custom_certificate_expiration_type"
|
|
1939
|
+
| "http_alert_edge_error"
|
|
1940
|
+
| "http_alert_origin_error"
|
|
1941
|
+
| "image_notification"
|
|
1942
|
+
| "image_resizing_notification"
|
|
1943
|
+
| "incident_alert"
|
|
1944
|
+
| "load_balancing_health_alert"
|
|
1945
|
+
| "load_balancing_pool_enablement_alert"
|
|
1946
|
+
| "logo_match_alert"
|
|
1947
|
+
| "magic_tunnel_health_check_event"
|
|
1948
|
+
| "magic_wan_tunnel_health"
|
|
1949
|
+
| "maintenance_event_notification"
|
|
1950
|
+
| "mtls_certificate_store_certificate_expiration_type"
|
|
1951
|
+
| "pages_event_alert"
|
|
1952
|
+
| "radar_notification"
|
|
1953
|
+
| "real_origin_monitoring"
|
|
1954
|
+
| "scriptmonitor_alert_new_code_change_detections"
|
|
1955
|
+
| "scriptmonitor_alert_new_hosts"
|
|
1956
|
+
| "scriptmonitor_alert_new_malicious_hosts"
|
|
1957
|
+
| "scriptmonitor_alert_new_malicious_scripts"
|
|
1958
|
+
| "scriptmonitor_alert_new_malicious_url"
|
|
1959
|
+
| "scriptmonitor_alert_new_max_length_resource_url"
|
|
1960
|
+
| "scriptmonitor_alert_new_resources"
|
|
1961
|
+
| "secondary_dns_all_primaries_failing"
|
|
1962
|
+
| "secondary_dns_primaries_failing"
|
|
1963
|
+
| "secondary_dns_warning"
|
|
1964
|
+
| "secondary_dns_zone_successfully_updated"
|
|
1965
|
+
| "secondary_dns_zone_validation_warning"
|
|
1966
|
+
| "security_insights_alert"
|
|
1967
|
+
| "sentinel_alert"
|
|
1968
|
+
| "stream_live_notifications"
|
|
1969
|
+
| "synthetic_test_latency_alert"
|
|
1970
|
+
| "synthetic_test_low_availability_alert"
|
|
1971
|
+
| "traffic_anomalies_alert"
|
|
1972
|
+
| "tunnel_health_event"
|
|
1973
|
+
| "tunnel_update_event"
|
|
1974
|
+
| "universal_ssl_event_type"
|
|
1975
|
+
| "web_analytics_metrics_update"
|
|
1976
|
+
| "zone_aop_custom_certificate_expiration_type"
|
|
1977
|
+
| null;
|
|
1978
|
+
created?: string | null;
|
|
1979
|
+
description?: string | null;
|
|
1980
|
+
enabled?: boolean | null;
|
|
1981
|
+
filters?: {
|
|
1982
|
+
actions?: string[] | null;
|
|
1983
|
+
affectedAsns?: string[] | null;
|
|
1984
|
+
affectedComponents?: string[] | null;
|
|
1985
|
+
affectedLocations?: string[] | null;
|
|
1986
|
+
airportCode?: string[] | null;
|
|
1987
|
+
alertTriggerPreferences?: string[] | null;
|
|
1988
|
+
alertTriggerPreferencesValue?: string[] | null;
|
|
1989
|
+
enabled?: string[] | null;
|
|
1990
|
+
environment?: string[] | null;
|
|
1991
|
+
event?: string[] | null;
|
|
1992
|
+
eventSource?: string[] | null;
|
|
1993
|
+
eventType?: string[] | null;
|
|
1994
|
+
groupBy?: string[] | null;
|
|
1995
|
+
healthCheckId?: string[] | null;
|
|
1996
|
+
incidentImpact?:
|
|
1997
|
+
| (
|
|
1998
|
+
| "INCIDENT_IMPACT_NONE"
|
|
1999
|
+
| "INCIDENT_IMPACT_MINOR"
|
|
2000
|
+
| "INCIDENT_IMPACT_MAJOR"
|
|
2001
|
+
| "INCIDENT_IMPACT_CRITICAL"
|
|
2002
|
+
)[]
|
|
2003
|
+
| null;
|
|
2004
|
+
inputId?: string[] | null;
|
|
2005
|
+
insightClass?: string[] | null;
|
|
2006
|
+
limit?: string[] | null;
|
|
2007
|
+
logoTag?: string[] | null;
|
|
2008
|
+
megabitsPerSecond?: string[] | null;
|
|
2009
|
+
newHealth?: string[] | null;
|
|
2010
|
+
newStatus?: string[] | null;
|
|
2011
|
+
packetsPerSecond?: string[] | null;
|
|
2012
|
+
poolId?: string[] | null;
|
|
2013
|
+
popNames?: string[] | null;
|
|
2014
|
+
product?: string[] | null;
|
|
2015
|
+
projectId?: string[] | null;
|
|
2016
|
+
protocol?: string[] | null;
|
|
2017
|
+
queryTag?: string[] | null;
|
|
2018
|
+
requestsPerSecond?: string[] | null;
|
|
2019
|
+
selectors?: string[] | null;
|
|
2020
|
+
services?: string[] | null;
|
|
2021
|
+
slo?: string[] | null;
|
|
2022
|
+
status?: string[] | null;
|
|
2023
|
+
targetHostname?: string[] | null;
|
|
2024
|
+
targetIp?: string[] | null;
|
|
2025
|
+
targetZoneName?: string[] | null;
|
|
2026
|
+
trafficExclusions?: "security_events"[] | null;
|
|
2027
|
+
tunnelId?: string[] | null;
|
|
2028
|
+
tunnelName?: string[] | null;
|
|
2029
|
+
type?: string[] | null;
|
|
2030
|
+
where?: string[] | null;
|
|
2031
|
+
zones?: string[] | null;
|
|
2032
|
+
} | null;
|
|
2033
|
+
mechanisms?: {
|
|
2034
|
+
email?: { id?: string | null }[] | null;
|
|
2035
|
+
pagerduty?: { id?: string | null }[] | null;
|
|
2036
|
+
webhooks?: { id?: string | null }[] | null;
|
|
2037
|
+
} | null;
|
|
2038
|
+
modified?: string | null;
|
|
2039
|
+
name?: string | null;
|
|
2040
|
+
},
|
|
2041
|
+
ListPoliciesError,
|
|
2042
|
+
Credentials | HttpClient.HttpClient
|
|
2043
|
+
>;
|
|
2044
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
1757
2045
|
input: ListPoliciesRequest,
|
|
1758
2046
|
output: ListPoliciesResponse,
|
|
1759
2047
|
errors: [],
|
|
2048
|
+
pagination: {
|
|
2049
|
+
mode: "single",
|
|
2050
|
+
items: "result",
|
|
2051
|
+
} as const,
|
|
1760
2052
|
}));
|
|
1761
2053
|
|
|
1762
2054
|
export interface CreatePolicyRequest {
|
|
@@ -2127,7 +2419,9 @@ export interface CreatePolicyResponse {
|
|
|
2127
2419
|
|
|
2128
2420
|
export const CreatePolicyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2129
2421
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2130
|
-
})
|
|
2422
|
+
}).pipe(
|
|
2423
|
+
T.ResponsePath("result"),
|
|
2424
|
+
) as unknown as Schema.Schema<CreatePolicyResponse>;
|
|
2131
2425
|
|
|
2132
2426
|
export type CreatePolicyError =
|
|
2133
2427
|
| DefaultErrors
|
|
@@ -2520,7 +2814,9 @@ export interface UpdatePolicyResponse {
|
|
|
2520
2814
|
|
|
2521
2815
|
export const UpdatePolicyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2522
2816
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2523
|
-
})
|
|
2817
|
+
}).pipe(
|
|
2818
|
+
T.ResponsePath("result"),
|
|
2819
|
+
) as unknown as Schema.Schema<UpdatePolicyResponse>;
|
|
2524
2820
|
|
|
2525
2821
|
export type UpdatePolicyError =
|
|
2526
2822
|
| DefaultErrors
|
|
@@ -2675,16 +2971,20 @@ export const GetSilenceResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2675
2971
|
policyId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2676
2972
|
startTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2677
2973
|
updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2678
|
-
})
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
)
|
|
2974
|
+
})
|
|
2975
|
+
.pipe(
|
|
2976
|
+
Schema.encodeKeys({
|
|
2977
|
+
id: "id",
|
|
2978
|
+
createdAt: "created_at",
|
|
2979
|
+
endTime: "end_time",
|
|
2980
|
+
policyId: "policy_id",
|
|
2981
|
+
startTime: "start_time",
|
|
2982
|
+
updatedAt: "updated_at",
|
|
2983
|
+
}),
|
|
2984
|
+
)
|
|
2985
|
+
.pipe(
|
|
2986
|
+
T.ResponsePath("result"),
|
|
2987
|
+
) as unknown as Schema.Schema<GetSilenceResponse>;
|
|
2688
2988
|
|
|
2689
2989
|
export type GetSilenceError =
|
|
2690
2990
|
| DefaultErrors
|
|
@@ -2716,46 +3016,74 @@ export const ListSilencesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2716
3016
|
}),
|
|
2717
3017
|
) as unknown as Schema.Schema<ListSilencesRequest>;
|
|
2718
3018
|
|
|
2719
|
-
export
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
3019
|
+
export interface ListSilencesResponse {
|
|
3020
|
+
result: {
|
|
3021
|
+
id?: string | null;
|
|
3022
|
+
createdAt?: string | null;
|
|
3023
|
+
endTime?: string | null;
|
|
3024
|
+
policyId?: string | null;
|
|
3025
|
+
startTime?: string | null;
|
|
3026
|
+
updatedAt?: string | null;
|
|
3027
|
+
}[];
|
|
3028
|
+
}
|
|
2727
3029
|
|
|
2728
|
-
export const ListSilencesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
2729
|
-
Schema.
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
3030
|
+
export const ListSilencesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3031
|
+
result: Schema.Array(
|
|
3032
|
+
Schema.Struct({
|
|
3033
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3034
|
+
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3035
|
+
endTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3036
|
+
policyId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3037
|
+
startTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3038
|
+
updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3039
|
+
}).pipe(
|
|
3040
|
+
Schema.encodeKeys({
|
|
3041
|
+
id: "id",
|
|
3042
|
+
createdAt: "created_at",
|
|
3043
|
+
endTime: "end_time",
|
|
3044
|
+
policyId: "policy_id",
|
|
3045
|
+
startTime: "start_time",
|
|
3046
|
+
updatedAt: "updated_at",
|
|
3047
|
+
}),
|
|
3048
|
+
),
|
|
2745
3049
|
),
|
|
2746
|
-
) as unknown as Schema.Schema<ListSilencesResponse>;
|
|
3050
|
+
}) as unknown as Schema.Schema<ListSilencesResponse>;
|
|
2747
3051
|
|
|
2748
3052
|
export type ListSilencesError = DefaultErrors;
|
|
2749
3053
|
|
|
2750
|
-
export const listSilences: API.
|
|
3054
|
+
export const listSilences: API.PaginatedOperationMethod<
|
|
2751
3055
|
ListSilencesRequest,
|
|
2752
3056
|
ListSilencesResponse,
|
|
2753
3057
|
ListSilencesError,
|
|
2754
3058
|
Credentials | HttpClient.HttpClient
|
|
2755
|
-
>
|
|
3059
|
+
> & {
|
|
3060
|
+
pages: (
|
|
3061
|
+
input: ListSilencesRequest,
|
|
3062
|
+
) => stream.Stream<
|
|
3063
|
+
ListSilencesResponse,
|
|
3064
|
+
ListSilencesError,
|
|
3065
|
+
Credentials | HttpClient.HttpClient
|
|
3066
|
+
>;
|
|
3067
|
+
items: (input: ListSilencesRequest) => stream.Stream<
|
|
3068
|
+
{
|
|
3069
|
+
id?: string | null;
|
|
3070
|
+
createdAt?: string | null;
|
|
3071
|
+
endTime?: string | null;
|
|
3072
|
+
policyId?: string | null;
|
|
3073
|
+
startTime?: string | null;
|
|
3074
|
+
updatedAt?: string | null;
|
|
3075
|
+
},
|
|
3076
|
+
ListSilencesError,
|
|
3077
|
+
Credentials | HttpClient.HttpClient
|
|
3078
|
+
>;
|
|
3079
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
2756
3080
|
input: ListSilencesRequest,
|
|
2757
3081
|
output: ListSilencesResponse,
|
|
2758
3082
|
errors: [],
|
|
3083
|
+
pagination: {
|
|
3084
|
+
mode: "single",
|
|
3085
|
+
items: "result",
|
|
3086
|
+
} as const,
|
|
2759
3087
|
}));
|
|
2760
3088
|
|
|
2761
3089
|
export interface CreateSilenceRequest {
|
|
@@ -2852,46 +3180,74 @@ export const UpdateSilenceRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2852
3180
|
}),
|
|
2853
3181
|
) as unknown as Schema.Schema<UpdateSilenceRequest>;
|
|
2854
3182
|
|
|
2855
|
-
export
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
3183
|
+
export interface UpdateSilenceResponse {
|
|
3184
|
+
result: {
|
|
3185
|
+
id?: string | null;
|
|
3186
|
+
createdAt?: string | null;
|
|
3187
|
+
endTime?: string | null;
|
|
3188
|
+
policyId?: string | null;
|
|
3189
|
+
startTime?: string | null;
|
|
3190
|
+
updatedAt?: string | null;
|
|
3191
|
+
}[];
|
|
3192
|
+
}
|
|
2863
3193
|
|
|
2864
|
-
export const UpdateSilenceResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
2865
|
-
Schema.
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
3194
|
+
export const UpdateSilenceResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3195
|
+
result: Schema.Array(
|
|
3196
|
+
Schema.Struct({
|
|
3197
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3198
|
+
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3199
|
+
endTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3200
|
+
policyId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3201
|
+
startTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3202
|
+
updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3203
|
+
}).pipe(
|
|
3204
|
+
Schema.encodeKeys({
|
|
3205
|
+
id: "id",
|
|
3206
|
+
createdAt: "created_at",
|
|
3207
|
+
endTime: "end_time",
|
|
3208
|
+
policyId: "policy_id",
|
|
3209
|
+
startTime: "start_time",
|
|
3210
|
+
updatedAt: "updated_at",
|
|
3211
|
+
}),
|
|
3212
|
+
),
|
|
2881
3213
|
),
|
|
2882
|
-
) as unknown as Schema.Schema<UpdateSilenceResponse>;
|
|
3214
|
+
}) as unknown as Schema.Schema<UpdateSilenceResponse>;
|
|
2883
3215
|
|
|
2884
3216
|
export type UpdateSilenceError = DefaultErrors;
|
|
2885
3217
|
|
|
2886
|
-
export const updateSilence: API.
|
|
3218
|
+
export const updateSilence: API.PaginatedOperationMethod<
|
|
2887
3219
|
UpdateSilenceRequest,
|
|
2888
3220
|
UpdateSilenceResponse,
|
|
2889
3221
|
UpdateSilenceError,
|
|
2890
3222
|
Credentials | HttpClient.HttpClient
|
|
2891
|
-
>
|
|
3223
|
+
> & {
|
|
3224
|
+
pages: (
|
|
3225
|
+
input: UpdateSilenceRequest,
|
|
3226
|
+
) => stream.Stream<
|
|
3227
|
+
UpdateSilenceResponse,
|
|
3228
|
+
UpdateSilenceError,
|
|
3229
|
+
Credentials | HttpClient.HttpClient
|
|
3230
|
+
>;
|
|
3231
|
+
items: (input: UpdateSilenceRequest) => stream.Stream<
|
|
3232
|
+
{
|
|
3233
|
+
id?: string | null;
|
|
3234
|
+
createdAt?: string | null;
|
|
3235
|
+
endTime?: string | null;
|
|
3236
|
+
policyId?: string | null;
|
|
3237
|
+
startTime?: string | null;
|
|
3238
|
+
updatedAt?: string | null;
|
|
3239
|
+
},
|
|
3240
|
+
UpdateSilenceError,
|
|
3241
|
+
Credentials | HttpClient.HttpClient
|
|
3242
|
+
>;
|
|
3243
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
2892
3244
|
input: UpdateSilenceRequest,
|
|
2893
3245
|
output: UpdateSilenceResponse,
|
|
2894
3246
|
errors: [],
|
|
3247
|
+
pagination: {
|
|
3248
|
+
mode: "single",
|
|
3249
|
+
items: "result",
|
|
3250
|
+
} as const,
|
|
2895
3251
|
}));
|
|
2896
3252
|
|
|
2897
3253
|
export interface DeleteSilenceRequest {
|