@distilled.cloud/cloudflare 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +26 -26
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +114 -123
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +23 -23
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +132 -132
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +213 -207
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai-security.d.ts.map +1 -1
- package/lib/services/ai-security.js +13 -13
- package/lib/services/ai-security.js.map +1 -1
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +62 -62
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +187 -193
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +78 -78
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +168 -177
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.js +12 -12
- package/lib/services/argo.js.map +1 -1
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +9 -9
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +11 -11
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +18 -30
- 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 +12 -12
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +59 -59
- 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 +103 -103
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +72 -72
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +31 -31
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.js +6 -6
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.js +18 -18
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +8 -8
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +178 -178
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.js +25 -25
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/containers.js +49 -49
- package/lib/services/containers.js.map +1 -1
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +29 -29
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/csam-scanner.d.ts.map +1 -1
- package/lib/services/csam-scanner.js +8 -8
- package/lib/services/csam-scanner.js.map +1 -1
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +24 -24
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-csrs.d.ts.map +1 -1
- package/lib/services/custom-csrs.js +22 -22
- package/lib/services/custom-csrs.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +40 -40
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.js +11 -11
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +43 -43
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +4 -4
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +69 -51
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.js +3 -3
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/ddos-protection.js +126 -126
- package/lib/services/ddos-protection.js.map +1 -1
- package/lib/services/diagnostics.js +27 -27
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dls.d.ts.map +1 -1
- package/lib/services/dls.js +26 -26
- package/lib/services/dls.js.map +1 -1
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +34 -34
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +268 -268
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +11 -11
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-auth.d.ts.map +1 -1
- package/lib/services/email-auth.js +13 -13
- package/lib/services/email-auth.js.map +1 -1
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +70 -70
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +195 -195
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/email-sending.d.ts.map +1 -1
- package/lib/services/email-sending.js +28 -28
- package/lib/services/email-sending.js.map +1 -1
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +25 -25
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +149 -149
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/flagship.d.ts.map +1 -1
- package/lib/services/flagship.js +52 -52
- package/lib/services/flagship.js.map +1 -1
- package/lib/services/fraud.js +8 -8
- package/lib/services/fraud.js.map +1 -1
- package/lib/services/google-tag-gateway.d.ts.map +1 -1
- package/lib/services/google-tag-gateway.js +7 -7
- package/lib/services/google-tag-gateway.js.map +1 -1
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +31 -31
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +10 -10
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +32 -32
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +113 -113
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -59
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +102 -102
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.js +5 -5
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.js +17 -17
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +54 -54
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +22 -22
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +139 -157
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +69 -69
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +58 -58
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +138 -168
- 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 +47 -65
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +340 -364
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.js +11 -11
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +25 -25
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/moq.d.ts.map +1 -1
- package/lib/services/moq.js +23 -23
- package/lib/services/moq.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +17 -17
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/network-interconnects.d.ts.map +1 -1
- package/lib/services/network-interconnects.js +56 -56
- package/lib/services/network-interconnects.js.map +1 -1
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +42 -42
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.js +14 -14
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +6 -6
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +52 -52
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/origin-tls-compliance-modes.js +12 -12
- package/lib/services/origin-tls-compliance-modes.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +62 -62
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +45 -48
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +78 -78
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +102 -102
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +100 -103
- 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 +42 -42
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +190 -190
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +991 -1009
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +24 -24
- 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 +276 -276
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +28 -28
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +7 -7
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +49 -49
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/resource-tagging.d.ts.map +1 -1
- package/lib/services/resource-tagging.js +56 -56
- package/lib/services/resource-tagging.js.map +1 -1
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +50 -50
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +2 -2
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +226 -190
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +35 -35
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +43 -46
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +41 -41
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +54 -57
- 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 +12 -12
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +31 -31
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +35 -35
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +41 -41
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +48 -48
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +147 -147
- package/lib/services/stream.js.map +1 -1
- package/lib/services/tenant-custom-nameservers.js +11 -11
- package/lib/services/tenant-custom-nameservers.js.map +1 -1
- package/lib/services/tenants.d.ts.map +1 -1
- package/lib/services/tenants.js +28 -28
- package/lib/services/tenants.js.map +1 -1
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +56 -56
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +27 -54
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.js +9 -9
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +120 -120
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +95 -95
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +10 -10
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +59 -57
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/vulnerability-scanner.d.ts.map +1 -1
- package/lib/services/vulnerability-scanner.js +95 -95
- package/lib/services/vulnerability-scanner.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +81 -81
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +39 -39
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +139 -139
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +420 -420
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +88 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +36 -39
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +1765 -1771
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +168 -168
- package/lib/services/zones.js.map +1 -1
- package/package.json +3 -2
- package/src/services/abuse-reports.ts +35 -36
- package/src/services/accounts.ts +714 -760
- package/src/services/acm.ts +115 -125
- package/src/services/addressing.ts +484 -512
- package/src/services/ai-gateway.ts +653 -672
- package/src/services/ai-security.ts +47 -53
- package/src/services/ai.ts +172 -185
- package/src/services/aisearch.ts +1814 -1861
- package/src/services/alerting.ts +710 -742
- package/src/services/api-gateway.ts +481 -508
- package/src/services/argo.ts +12 -12
- package/src/services/audit-logs.ts +45 -49
- package/src/services/billing.ts +121 -136
- package/src/services/bot-management.ts +122 -136
- package/src/services/botnet-feed.ts +68 -74
- package/src/services/brand-protection.ts +275 -294
- package/src/services/browser-rendering.ts +758 -769
- package/src/services/cache.ts +148 -158
- package/src/services/calls.ts +110 -120
- package/src/services/certificate-authorities.ts +6 -6
- package/src/services/client-certificates.ts +18 -18
- package/src/services/cloud-connector.ts +11 -12
- package/src/services/cloudforce-one.ts +589 -617
- package/src/services/connectivity.ts +25 -25
- package/src/services/containers.ts +49 -49
- package/src/services/content-scanning.ts +80 -89
- package/src/services/csam-scanner.ts +16 -17
- package/src/services/custom-certificates.ts +36 -38
- package/src/services/custom-csrs.ts +103 -105
- package/src/services/custom-hostnames.ts +44 -45
- package/src/services/custom-nameservers.ts +11 -11
- package/src/services/custom-pages.ts +173 -184
- package/src/services/d1.ts +335 -325
- package/src/services/dcv-delegation.ts +3 -3
- package/src/services/ddos-protection.ts +126 -126
- package/src/services/diagnostics.ts +27 -27
- package/src/services/dls.ts +82 -86
- package/src/services/dns-firewall.ts +65 -69
- package/src/services/dns.ts +1080 -1107
- package/src/services/durable-objects.ts +36 -38
- package/src/services/email-auth.ts +47 -52
- package/src/services/email-routing.ts +264 -288
- package/src/services/email-security.ts +205 -208
- package/src/services/email-sending.ts +94 -99
- package/src/services/filters.ts +97 -111
- package/src/services/firewall.ts +698 -753
- package/src/services/flagship.ts +321 -336
- package/src/services/fraud.ts +8 -8
- package/src/services/google-tag-gateway.ts +17 -19
- package/src/services/healthchecks.ts +269 -286
- package/src/services/hostnames.ts +94 -99
- package/src/services/hyperdrive.ts +310 -324
- package/src/services/iam.ts +205 -212
- package/src/services/images.ts +138 -150
- package/src/services/intel.ts +248 -261
- package/src/services/ips.ts +5 -5
- package/src/services/keyless-certificates.ts +17 -17
- package/src/services/kv.ts +106 -110
- package/src/services/leaked-credential-checks.ts +49 -53
- package/src/services/load-balancers.ts +1119 -1212
- package/src/services/logpush.ts +298 -313
- package/src/services/logs.ts +74 -77
- package/src/services/magic-cloud-networking.ts +1219 -1311
- package/src/services/magic-network-monitoring.ts +647 -685
- package/src/services/magic-transit.ts +1988 -2119
- package/src/services/managed-transforms.ts +11 -11
- package/src/services/memberships.ts +101 -105
- package/src/services/moq.ts +100 -110
- package/src/services/mtls-certificates.ts +30 -32
- package/src/services/network-interconnects.ts +137 -145
- package/src/services/organizations.ts +189 -192
- package/src/services/origin-ca-certificates.ts +14 -14
- package/src/services/origin-post-quantum-encryption.ts +6 -6
- package/src/services/origin-tls-client-auth.ts +219 -236
- package/src/services/origin-tls-compliance-modes.ts +12 -12
- package/src/services/page-rules.ts +365 -373
- package/src/services/page-shield.ts +489 -528
- package/src/services/pages.ts +309 -319
- package/src/services/pipelines.ts +534 -573
- package/src/services/queues.ts +598 -635
- package/src/services/r2-data-catalog.ts +59 -60
- package/src/services/r2.ts +654 -689
- package/src/services/radar.ts +3395 -3487
- package/src/services/rate-limits.ts +81 -93
- package/src/services/realtime-kit.ts +386 -399
- package/src/services/registrar.ts +90 -96
- package/src/services/request-tracers.ts +41 -43
- package/src/services/resource-sharing.ts +293 -305
- package/src/services/resource-tagging.ts +354 -366
- package/src/services/rules.ts +272 -292
- package/src/services/rulesets.ts +1214 -1116
- package/src/services/rum.ts +252 -273
- package/src/services/schema-validation.ts +284 -305
- package/src/services/secrets-store.ts +130 -138
- package/src/services/security-center.ts +64 -69
- package/src/services/security-txt.ts +48 -50
- package/src/services/snippets.ts +132 -142
- package/src/services/spectrum.ts +75 -80
- package/src/services/speed.ts +385 -397
- package/src/services/ssl.ts +64 -65
- package/src/services/stream.ts +658 -718
- package/src/services/tenant-custom-nameservers.ts +11 -11
- package/src/services/tenants.ts +86 -93
- package/src/services/token-validation.ts +145 -151
- package/src/services/turnstile.ts +344 -381
- package/src/services/url-normalization.ts +9 -9
- package/src/services/url-scanner.ts +393 -399
- package/src/services/user.ts +479 -503
- package/src/services/vectorize.ts +215 -230
- package/src/services/vulnerability-scanner.ts +145 -148
- package/src/services/waiting-rooms.ts +759 -825
- package/src/services/web3.ts +186 -197
- package/src/services/workers-for-platforms.ts +408 -432
- package/src/services/workers.ts +1175 -1239
- package/src/services/workflows.ts +585 -616
- package/src/services/zaraz.ts +168 -192
- package/src/services/zero-trust.ts +2965 -3074
- package/src/services/zones.ts +753 -785
|
@@ -42,7 +42,7 @@ interface StaleZoneConfiguration {
|
|
|
42
42
|
/** Indicates that the zone's session score tracking is disabled. */
|
|
43
43
|
suppressSessionScore?: boolean | null;
|
|
44
44
|
}
|
|
45
|
-
const StaleZoneConfiguration = /*@__PURE__*/
|
|
45
|
+
const StaleZoneConfiguration = /*@__PURE__*/ Schema.suspend(() =>
|
|
46
46
|
Schema.Struct({
|
|
47
47
|
optimizeWordpress: Schema.optional(
|
|
48
48
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
@@ -106,66 +106,59 @@ interface BotFightModeConfiguration {
|
|
|
106
106
|
/** A read-only field that indicates whether the zone currently is running the latest ML model. */
|
|
107
107
|
usingLatestModel?: boolean | null;
|
|
108
108
|
}
|
|
109
|
-
const BotFightModeConfiguration = /*@__PURE__*/
|
|
110
|
-
(
|
|
111
|
-
Schema.
|
|
112
|
-
|
|
113
|
-
Schema.Union([
|
|
114
|
-
Schema.Union([
|
|
115
|
-
Schema.Literals(["block", "disabled", "only_on_ad_pages"]),
|
|
116
|
-
Schema.String,
|
|
117
|
-
]),
|
|
118
|
-
Schema.Null,
|
|
119
|
-
]),
|
|
120
|
-
),
|
|
121
|
-
cfRobotsVariant: Schema.optional(
|
|
122
|
-
Schema.Union([
|
|
123
|
-
Schema.Union([
|
|
124
|
-
Schema.Literals(["off", "policy_only"]),
|
|
125
|
-
Schema.String,
|
|
126
|
-
]),
|
|
127
|
-
Schema.Null,
|
|
128
|
-
]),
|
|
129
|
-
),
|
|
130
|
-
contentBotsProtection: Schema.optional(
|
|
131
|
-
Schema.Union([
|
|
132
|
-
Schema.Union([Schema.Literals(["block", "disabled"]), Schema.String]),
|
|
133
|
-
Schema.Null,
|
|
134
|
-
]),
|
|
135
|
-
),
|
|
136
|
-
crawlerProtection: Schema.optional(
|
|
109
|
+
const BotFightModeConfiguration = /*@__PURE__*/ Schema.suspend(() =>
|
|
110
|
+
Schema.Struct({
|
|
111
|
+
aiBotsProtection: Schema.optional(
|
|
112
|
+
Schema.Union([
|
|
137
113
|
Schema.Union([
|
|
138
|
-
Schema.
|
|
139
|
-
|
|
140
|
-
Schema.String,
|
|
141
|
-
]),
|
|
142
|
-
Schema.Null,
|
|
114
|
+
Schema.Literals(["block", "disabled", "only_on_ad_pages"]),
|
|
115
|
+
Schema.String,
|
|
143
116
|
]),
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
aiBotsProtection: "ai_bots_protection",
|
|
159
|
-
cfRobotsVariant: "cf_robots_variant",
|
|
160
|
-
contentBotsProtection: "content_bots_protection",
|
|
161
|
-
crawlerProtection: "crawler_protection",
|
|
162
|
-
enableJs: "enable_js",
|
|
163
|
-
fightMode: "fight_mode",
|
|
164
|
-
isRobotsTxtManaged: "is_robots_txt_managed",
|
|
165
|
-
staleZoneConfiguration: "stale_zone_configuration",
|
|
166
|
-
usingLatestModel: "using_latest_model",
|
|
167
|
-
}),
|
|
117
|
+
Schema.Null,
|
|
118
|
+
]),
|
|
119
|
+
),
|
|
120
|
+
cfRobotsVariant: Schema.optional(
|
|
121
|
+
Schema.Union([
|
|
122
|
+
Schema.Union([Schema.Literals(["off", "policy_only"]), Schema.String]),
|
|
123
|
+
Schema.Null,
|
|
124
|
+
]),
|
|
125
|
+
),
|
|
126
|
+
contentBotsProtection: Schema.optional(
|
|
127
|
+
Schema.Union([
|
|
128
|
+
Schema.Union([Schema.Literals(["block", "disabled"]), Schema.String]),
|
|
129
|
+
Schema.Null,
|
|
130
|
+
]),
|
|
168
131
|
),
|
|
132
|
+
crawlerProtection: Schema.optional(
|
|
133
|
+
Schema.Union([
|
|
134
|
+
Schema.Union([Schema.Literals(["enabled", "disabled"]), Schema.String]),
|
|
135
|
+
Schema.Null,
|
|
136
|
+
]),
|
|
137
|
+
),
|
|
138
|
+
enableJs: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
139
|
+
fightMode: Schema.Boolean,
|
|
140
|
+
isRobotsTxtManaged: Schema.optional(
|
|
141
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
142
|
+
),
|
|
143
|
+
staleZoneConfiguration: Schema.optional(
|
|
144
|
+
Schema.Union([StaleZoneConfiguration, Schema.Null]),
|
|
145
|
+
),
|
|
146
|
+
usingLatestModel: Schema.optional(
|
|
147
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
148
|
+
),
|
|
149
|
+
}).pipe(
|
|
150
|
+
Schema.encodeKeys({
|
|
151
|
+
aiBotsProtection: "ai_bots_protection",
|
|
152
|
+
cfRobotsVariant: "cf_robots_variant",
|
|
153
|
+
contentBotsProtection: "content_bots_protection",
|
|
154
|
+
crawlerProtection: "crawler_protection",
|
|
155
|
+
enableJs: "enable_js",
|
|
156
|
+
fightMode: "fight_mode",
|
|
157
|
+
isRobotsTxtManaged: "is_robots_txt_managed",
|
|
158
|
+
staleZoneConfiguration: "stale_zone_configuration",
|
|
159
|
+
usingLatestModel: "using_latest_model",
|
|
160
|
+
}),
|
|
161
|
+
),
|
|
169
162
|
) as unknown as Schema.Codec<BotFightModeConfiguration>;
|
|
170
163
|
|
|
171
164
|
interface StaleZoneConfiguration2 {
|
|
@@ -174,7 +167,7 @@ interface StaleZoneConfiguration2 {
|
|
|
174
167
|
/** Indicates that the zone's likely automated requests are being blocked or challenged. */
|
|
175
168
|
sbfmLikelyAutomated?: string | null;
|
|
176
169
|
}
|
|
177
|
-
const StaleZoneConfiguration2 = /*@__PURE__*/
|
|
170
|
+
const StaleZoneConfiguration2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
178
171
|
Schema.Struct({
|
|
179
172
|
fightMode: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
180
173
|
sbfmLikelyAutomated: Schema.optional(
|
|
@@ -227,7 +220,7 @@ interface SuperBotFightModeDefinitelyConfiguration {
|
|
|
227
220
|
usingLatestModel?: boolean | null;
|
|
228
221
|
}
|
|
229
222
|
const SuperBotFightModeDefinitelyConfiguration =
|
|
230
|
-
/*@__PURE__*/
|
|
223
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
231
224
|
Schema.Struct({
|
|
232
225
|
aiBotsProtection: Schema.optional(
|
|
233
226
|
Schema.Union([
|
|
@@ -310,7 +303,7 @@ interface StaleZoneConfiguration3 {
|
|
|
310
303
|
/** Indicates that the zone's Bot Fight Mode is turned on. */
|
|
311
304
|
fightMode?: boolean | null;
|
|
312
305
|
}
|
|
313
|
-
const StaleZoneConfiguration3 = /*@__PURE__*/
|
|
306
|
+
const StaleZoneConfiguration3 = /*@__PURE__*/ Schema.suspend(() =>
|
|
314
307
|
Schema.Struct({
|
|
315
308
|
fightMode: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
316
309
|
}).pipe(Schema.encodeKeys({ fightMode: "fight_mode" })),
|
|
@@ -359,7 +352,7 @@ interface SuperBotFightModeLikelyConfiguration {
|
|
|
359
352
|
usingLatestModel?: boolean | null;
|
|
360
353
|
}
|
|
361
354
|
const SuperBotFightModeLikelyConfiguration =
|
|
362
|
-
/*@__PURE__*/
|
|
355
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
363
356
|
Schema.Struct({
|
|
364
357
|
aiBotsProtection: Schema.optional(
|
|
365
358
|
Schema.Union([
|
|
@@ -462,7 +455,7 @@ interface StaleZoneConfiguration4 {
|
|
|
462
455
|
/** Indicates that the zone's verified bot requests are being blocked. */
|
|
463
456
|
sbfmVerifiedBots?: string | null;
|
|
464
457
|
}
|
|
465
|
-
const StaleZoneConfiguration4 = /*@__PURE__*/
|
|
458
|
+
const StaleZoneConfiguration4 = /*@__PURE__*/ Schema.suspend(() =>
|
|
466
459
|
Schema.Struct({
|
|
467
460
|
fightMode: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
468
461
|
optimizeWordpress: Schema.optional(
|
|
@@ -528,76 +521,69 @@ interface SubscriptionConfiguration {
|
|
|
528
521
|
/** A read-only field that indicates whether the zone currently is running the latest ML model. */
|
|
529
522
|
usingLatestModel?: boolean | null;
|
|
530
523
|
}
|
|
531
|
-
const SubscriptionConfiguration = /*@__PURE__*/
|
|
532
|
-
(
|
|
533
|
-
Schema.
|
|
534
|
-
|
|
535
|
-
Schema.Union([
|
|
536
|
-
Schema.Union([
|
|
537
|
-
Schema.Literals(["block", "disabled", "only_on_ad_pages"]),
|
|
538
|
-
Schema.String,
|
|
539
|
-
]),
|
|
540
|
-
Schema.Null,
|
|
541
|
-
]),
|
|
542
|
-
),
|
|
543
|
-
autoUpdateModel: Schema.optional(
|
|
544
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
545
|
-
),
|
|
546
|
-
bmCookieEnabled: Schema.optional(
|
|
547
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
548
|
-
),
|
|
549
|
-
cfRobotsVariant: Schema.optional(
|
|
550
|
-
Schema.Union([
|
|
551
|
-
Schema.Union([
|
|
552
|
-
Schema.Literals(["off", "policy_only"]),
|
|
553
|
-
Schema.String,
|
|
554
|
-
]),
|
|
555
|
-
Schema.Null,
|
|
556
|
-
]),
|
|
557
|
-
),
|
|
558
|
-
contentBotsProtection: Schema.optional(
|
|
559
|
-
Schema.Union([
|
|
560
|
-
Schema.Union([Schema.Literals(["block", "disabled"]), Schema.String]),
|
|
561
|
-
Schema.Null,
|
|
562
|
-
]),
|
|
563
|
-
),
|
|
564
|
-
crawlerProtection: Schema.optional(
|
|
524
|
+
const SubscriptionConfiguration = /*@__PURE__*/ Schema.suspend(() =>
|
|
525
|
+
Schema.Struct({
|
|
526
|
+
aiBotsProtection: Schema.optional(
|
|
527
|
+
Schema.Union([
|
|
565
528
|
Schema.Union([
|
|
566
|
-
Schema.
|
|
567
|
-
|
|
568
|
-
Schema.String,
|
|
569
|
-
]),
|
|
570
|
-
Schema.Null,
|
|
529
|
+
Schema.Literals(["block", "disabled", "only_on_ad_pages"]),
|
|
530
|
+
Schema.String,
|
|
571
531
|
]),
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
),
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
),
|
|
580
|
-
suppressSessionScore: Schema.optional(
|
|
581
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
582
|
-
),
|
|
583
|
-
usingLatestModel: Schema.optional(
|
|
584
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
585
|
-
),
|
|
586
|
-
}).pipe(
|
|
587
|
-
Schema.encodeKeys({
|
|
588
|
-
aiBotsProtection: "ai_bots_protection",
|
|
589
|
-
autoUpdateModel: "auto_update_model",
|
|
590
|
-
bmCookieEnabled: "bm_cookie_enabled",
|
|
591
|
-
cfRobotsVariant: "cf_robots_variant",
|
|
592
|
-
contentBotsProtection: "content_bots_protection",
|
|
593
|
-
crawlerProtection: "crawler_protection",
|
|
594
|
-
enableJs: "enable_js",
|
|
595
|
-
isRobotsTxtManaged: "is_robots_txt_managed",
|
|
596
|
-
staleZoneConfiguration: "stale_zone_configuration",
|
|
597
|
-
suppressSessionScore: "suppress_session_score",
|
|
598
|
-
usingLatestModel: "using_latest_model",
|
|
599
|
-
}),
|
|
532
|
+
Schema.Null,
|
|
533
|
+
]),
|
|
534
|
+
),
|
|
535
|
+
autoUpdateModel: Schema.optional(
|
|
536
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
537
|
+
),
|
|
538
|
+
bmCookieEnabled: Schema.optional(
|
|
539
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
600
540
|
),
|
|
541
|
+
cfRobotsVariant: Schema.optional(
|
|
542
|
+
Schema.Union([
|
|
543
|
+
Schema.Union([Schema.Literals(["off", "policy_only"]), Schema.String]),
|
|
544
|
+
Schema.Null,
|
|
545
|
+
]),
|
|
546
|
+
),
|
|
547
|
+
contentBotsProtection: Schema.optional(
|
|
548
|
+
Schema.Union([
|
|
549
|
+
Schema.Union([Schema.Literals(["block", "disabled"]), Schema.String]),
|
|
550
|
+
Schema.Null,
|
|
551
|
+
]),
|
|
552
|
+
),
|
|
553
|
+
crawlerProtection: Schema.optional(
|
|
554
|
+
Schema.Union([
|
|
555
|
+
Schema.Union([Schema.Literals(["enabled", "disabled"]), Schema.String]),
|
|
556
|
+
Schema.Null,
|
|
557
|
+
]),
|
|
558
|
+
),
|
|
559
|
+
enableJs: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
560
|
+
isRobotsTxtManaged: Schema.optional(
|
|
561
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
562
|
+
),
|
|
563
|
+
staleZoneConfiguration: Schema.optional(
|
|
564
|
+
Schema.Union([StaleZoneConfiguration4, Schema.Null]),
|
|
565
|
+
),
|
|
566
|
+
suppressSessionScore: Schema.optional(
|
|
567
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
568
|
+
),
|
|
569
|
+
usingLatestModel: Schema.optional(
|
|
570
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
571
|
+
),
|
|
572
|
+
}).pipe(
|
|
573
|
+
Schema.encodeKeys({
|
|
574
|
+
aiBotsProtection: "ai_bots_protection",
|
|
575
|
+
autoUpdateModel: "auto_update_model",
|
|
576
|
+
bmCookieEnabled: "bm_cookie_enabled",
|
|
577
|
+
cfRobotsVariant: "cf_robots_variant",
|
|
578
|
+
contentBotsProtection: "content_bots_protection",
|
|
579
|
+
crawlerProtection: "crawler_protection",
|
|
580
|
+
enableJs: "enable_js",
|
|
581
|
+
isRobotsTxtManaged: "is_robots_txt_managed",
|
|
582
|
+
staleZoneConfiguration: "stale_zone_configuration",
|
|
583
|
+
suppressSessionScore: "suppress_session_score",
|
|
584
|
+
usingLatestModel: "using_latest_model",
|
|
585
|
+
}),
|
|
586
|
+
),
|
|
601
587
|
) as unknown as Schema.Codec<SubscriptionConfiguration>;
|
|
602
588
|
|
|
603
589
|
// =============================================================================
|
|
@@ -610,7 +596,7 @@ export interface GetBotManagementRequest {
|
|
|
610
596
|
}
|
|
611
597
|
|
|
612
598
|
export const GetBotManagementRequest =
|
|
613
|
-
/*@__PURE__*/
|
|
599
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
614
600
|
Schema.Struct({
|
|
615
601
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
616
602
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/bot_management" })),
|
|
@@ -722,7 +708,7 @@ export type GetBotManagementResponse =
|
|
|
722
708
|
};
|
|
723
709
|
|
|
724
710
|
export const GetBotManagementResponse =
|
|
725
|
-
/*@__PURE__*/
|
|
711
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
726
712
|
Schema.Union([
|
|
727
713
|
BotFightModeConfiguration,
|
|
728
714
|
SuperBotFightModeDefinitelyConfiguration,
|
|
@@ -738,7 +724,7 @@ export const getBotManagement: API.OperationMethod<
|
|
|
738
724
|
GetBotManagementResponse,
|
|
739
725
|
GetBotManagementError,
|
|
740
726
|
Credentials | HttpClient.HttpClient
|
|
741
|
-
> = /*@__PURE__*/
|
|
727
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
742
728
|
input: GetBotManagementRequest,
|
|
743
729
|
output: GetBotManagementResponse,
|
|
744
730
|
errors: [Forbidden],
|
|
@@ -784,7 +770,7 @@ export interface PutBotManagementRequest {
|
|
|
784
770
|
}
|
|
785
771
|
|
|
786
772
|
export const PutBotManagementRequest =
|
|
787
|
-
/*@__PURE__*/
|
|
773
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
788
774
|
Schema.Struct({
|
|
789
775
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
790
776
|
aiBotsProtection: Schema.optional(
|
|
@@ -953,7 +939,7 @@ export type PutBotManagementResponse =
|
|
|
953
939
|
};
|
|
954
940
|
|
|
955
941
|
export const PutBotManagementResponse =
|
|
956
|
-
/*@__PURE__*/
|
|
942
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
957
943
|
Schema.Union([
|
|
958
944
|
BotFightModeConfiguration,
|
|
959
945
|
SuperBotFightModeDefinitelyConfiguration,
|
|
@@ -969,7 +955,7 @@ export const putBotManagement: API.OperationMethod<
|
|
|
969
955
|
PutBotManagementResponse,
|
|
970
956
|
PutBotManagementError,
|
|
971
957
|
Credentials | HttpClient.HttpClient
|
|
972
|
-
> = /*@__PURE__*/
|
|
958
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
973
959
|
input: PutBotManagementRequest,
|
|
974
960
|
output: PutBotManagementResponse,
|
|
975
961
|
errors: [Forbidden],
|
|
@@ -21,27 +21,25 @@ export interface GetConfigAsnRequest {
|
|
|
21
21
|
accountId: string;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export const GetConfigAsnRequest = /*@__PURE__*/
|
|
25
|
-
(
|
|
26
|
-
Schema.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
),
|
|
24
|
+
export const GetConfigAsnRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
25
|
+
Schema.Struct({
|
|
26
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
27
|
+
}).pipe(
|
|
28
|
+
T.Http({
|
|
29
|
+
method: "GET",
|
|
30
|
+
path: "/accounts/{account_id}/botnet_feed/configs/asn",
|
|
31
|
+
}),
|
|
32
|
+
),
|
|
34
33
|
) as unknown as Schema.Codec<GetConfigAsnRequest>;
|
|
35
34
|
|
|
36
35
|
export interface GetConfigAsnResponse {
|
|
37
36
|
asn?: number | null;
|
|
38
37
|
}
|
|
39
38
|
|
|
40
|
-
export const GetConfigAsnResponse = /*@__PURE__*/
|
|
41
|
-
(
|
|
42
|
-
Schema.
|
|
43
|
-
|
|
44
|
-
}).pipe(T.ResponsePath("result")),
|
|
39
|
+
export const GetConfigAsnResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
40
|
+
Schema.Struct({
|
|
41
|
+
asn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
42
|
+
}).pipe(T.ResponsePath("result")),
|
|
45
43
|
) as unknown as Schema.Codec<GetConfigAsnResponse>;
|
|
46
44
|
|
|
47
45
|
export type GetConfigAsnError = DefaultErrors;
|
|
@@ -51,7 +49,7 @@ export const getConfigAsn: API.OperationMethod<
|
|
|
51
49
|
GetConfigAsnResponse,
|
|
52
50
|
GetConfigAsnError,
|
|
53
51
|
Credentials | HttpClient.HttpClient
|
|
54
|
-
> = /*@__PURE__*/
|
|
52
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
55
53
|
input: GetConfigAsnRequest,
|
|
56
54
|
output: GetConfigAsnResponse,
|
|
57
55
|
errors: [],
|
|
@@ -64,7 +62,7 @@ export interface DeleteConfigAsnRequest {
|
|
|
64
62
|
}
|
|
65
63
|
|
|
66
64
|
export const DeleteConfigAsnRequest =
|
|
67
|
-
/*@__PURE__*/
|
|
65
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
68
66
|
Schema.Struct({
|
|
69
67
|
asnId: Schema.Number.pipe(T.HttpPath("asnId")),
|
|
70
68
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -81,7 +79,7 @@ export interface DeleteConfigAsnResponse {
|
|
|
81
79
|
}
|
|
82
80
|
|
|
83
81
|
export const DeleteConfigAsnResponse =
|
|
84
|
-
/*@__PURE__*/
|
|
82
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
85
83
|
Schema.Struct({
|
|
86
84
|
asn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
87
85
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -94,7 +92,7 @@ export const deleteConfigAsn: API.OperationMethod<
|
|
|
94
92
|
DeleteConfigAsnResponse,
|
|
95
93
|
DeleteConfigAsnError,
|
|
96
94
|
Credentials | HttpClient.HttpClient
|
|
97
|
-
> = /*@__PURE__*/
|
|
95
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
98
96
|
input: DeleteConfigAsnRequest,
|
|
99
97
|
output: DeleteConfigAsnResponse,
|
|
100
98
|
errors: [],
|
|
@@ -112,18 +110,17 @@ export interface DayReportAsnRequest {
|
|
|
112
110
|
date?: string;
|
|
113
111
|
}
|
|
114
112
|
|
|
115
|
-
export const DayReportAsnRequest = /*@__PURE__*/
|
|
116
|
-
(
|
|
117
|
-
Schema.
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
),
|
|
113
|
+
export const DayReportAsnRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
114
|
+
Schema.Struct({
|
|
115
|
+
asnId: Schema.Number.pipe(T.HttpPath("asnId")),
|
|
116
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
117
|
+
date: Schema.optional(Schema.String).pipe(T.HttpQuery("date")),
|
|
118
|
+
}).pipe(
|
|
119
|
+
T.Http({
|
|
120
|
+
method: "GET",
|
|
121
|
+
path: "/accounts/{account_id}/botnet_feed/asn/{asnId}/day_report",
|
|
122
|
+
}),
|
|
123
|
+
),
|
|
127
124
|
) as unknown as Schema.Codec<DayReportAsnRequest>;
|
|
128
125
|
|
|
129
126
|
export interface DayReportAsnResponse {
|
|
@@ -132,21 +129,20 @@ export interface DayReportAsnResponse {
|
|
|
132
129
|
offenseCount?: number | null;
|
|
133
130
|
}
|
|
134
131
|
|
|
135
|
-
export const DayReportAsnResponse = /*@__PURE__*/
|
|
136
|
-
(
|
|
137
|
-
Schema.
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
.
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
.pipe(T.ResponsePath("result")),
|
|
132
|
+
export const DayReportAsnResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
133
|
+
Schema.Struct({
|
|
134
|
+
cidr: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
135
|
+
date: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
136
|
+
offenseCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
137
|
+
})
|
|
138
|
+
.pipe(
|
|
139
|
+
Schema.encodeKeys({
|
|
140
|
+
cidr: "cidr",
|
|
141
|
+
date: "date",
|
|
142
|
+
offenseCount: "offense_count",
|
|
143
|
+
}),
|
|
144
|
+
)
|
|
145
|
+
.pipe(T.ResponsePath("result")),
|
|
150
146
|
) as unknown as Schema.Codec<DayReportAsnResponse>;
|
|
151
147
|
|
|
152
148
|
export type DayReportAsnError = DefaultErrors;
|
|
@@ -156,7 +152,7 @@ export const dayReportAsn: API.OperationMethod<
|
|
|
156
152
|
DayReportAsnResponse,
|
|
157
153
|
DayReportAsnError,
|
|
158
154
|
Credentials | HttpClient.HttpClient
|
|
159
|
-
> = /*@__PURE__*/
|
|
155
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
160
156
|
input: DayReportAsnRequest,
|
|
161
157
|
output: DayReportAsnResponse,
|
|
162
158
|
errors: [],
|
|
@@ -168,17 +164,16 @@ export interface FullReportAsnRequest {
|
|
|
168
164
|
accountId: string;
|
|
169
165
|
}
|
|
170
166
|
|
|
171
|
-
export const FullReportAsnRequest = /*@__PURE__*/
|
|
172
|
-
(
|
|
173
|
-
Schema.
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
),
|
|
167
|
+
export const FullReportAsnRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
168
|
+
Schema.Struct({
|
|
169
|
+
asnId: Schema.Number.pipe(T.HttpPath("asnId")),
|
|
170
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
171
|
+
}).pipe(
|
|
172
|
+
T.Http({
|
|
173
|
+
method: "GET",
|
|
174
|
+
path: "/accounts/{account_id}/botnet_feed/asn/{asnId}/full_report",
|
|
175
|
+
}),
|
|
176
|
+
),
|
|
182
177
|
) as unknown as Schema.Codec<FullReportAsnRequest>;
|
|
183
178
|
|
|
184
179
|
export interface FullReportAsnResponse {
|
|
@@ -187,21 +182,20 @@ export interface FullReportAsnResponse {
|
|
|
187
182
|
offenseCount?: number | null;
|
|
188
183
|
}
|
|
189
184
|
|
|
190
|
-
export const FullReportAsnResponse = /*@__PURE__*/
|
|
191
|
-
(
|
|
192
|
-
Schema.
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
.
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
.pipe(T.ResponsePath("result")),
|
|
185
|
+
export const FullReportAsnResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
186
|
+
Schema.Struct({
|
|
187
|
+
cidr: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
188
|
+
date: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
189
|
+
offenseCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
190
|
+
})
|
|
191
|
+
.pipe(
|
|
192
|
+
Schema.encodeKeys({
|
|
193
|
+
cidr: "cidr",
|
|
194
|
+
date: "date",
|
|
195
|
+
offenseCount: "offense_count",
|
|
196
|
+
}),
|
|
197
|
+
)
|
|
198
|
+
.pipe(T.ResponsePath("result")),
|
|
205
199
|
) as unknown as Schema.Codec<FullReportAsnResponse>;
|
|
206
200
|
|
|
207
201
|
export type FullReportAsnError = DefaultErrors;
|
|
@@ -211,7 +205,7 @@ export const fullReportAsn: API.OperationMethod<
|
|
|
211
205
|
FullReportAsnResponse,
|
|
212
206
|
FullReportAsnError,
|
|
213
207
|
Credentials | HttpClient.HttpClient
|
|
214
|
-
> = /*@__PURE__*/
|
|
208
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
215
209
|
input: FullReportAsnRequest,
|
|
216
210
|
output: FullReportAsnResponse,
|
|
217
211
|
errors: [],
|