@distilled.cloud/cloudflare 0.28.2 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client/api.d.ts +1 -1
- package/lib/client/api.d.ts.map +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- 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/lib/traits.d.ts.map +1 -1
- package/package.json +10 -9
- 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
|
@@ -37,7 +37,7 @@ interface ListByInsightInsightAuditLogResponseResult {
|
|
|
37
37
|
zoneId?: number | null;
|
|
38
38
|
}
|
|
39
39
|
const ListByInsightInsightAuditLogResponseResult =
|
|
40
|
-
/*@__PURE__*/
|
|
40
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
41
41
|
Schema.Struct({
|
|
42
42
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
43
43
|
changedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -79,7 +79,7 @@ interface ListByInsightInsightAuditLogResponseResultInfo {
|
|
|
79
79
|
perPage?: number | null;
|
|
80
80
|
}
|
|
81
81
|
const ListByInsightInsightAuditLogResponseResultInfo =
|
|
82
|
-
/*@__PURE__*/
|
|
82
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
83
83
|
Schema.Struct({
|
|
84
84
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
85
85
|
cursor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -98,7 +98,7 @@ interface Payload {
|
|
|
98
98
|
detectionMethod?: string | null;
|
|
99
99
|
zoneTag?: string | null;
|
|
100
100
|
}
|
|
101
|
-
const Payload = /*@__PURE__*/
|
|
101
|
+
const Payload = /*@__PURE__*/ Schema.suspend(() =>
|
|
102
102
|
Schema.Struct({
|
|
103
103
|
detectionMethod: Schema.optional(
|
|
104
104
|
Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -139,7 +139,7 @@ interface Issue {
|
|
|
139
139
|
/** User-defined classification for the insight. Can be 'false_positive', 'accept_risk', 'other', or null. */
|
|
140
140
|
userClassification?: "false_positive" | "accept_risk" | "other" | null;
|
|
141
141
|
}
|
|
142
|
-
const Issue = /*@__PURE__*/
|
|
142
|
+
const Issue = /*@__PURE__*/ Schema.suspend(() =>
|
|
143
143
|
Schema.Struct({
|
|
144
144
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
145
145
|
dismissed: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -250,7 +250,7 @@ interface ListInsightsResponseResultItem {
|
|
|
250
250
|
perPage?: number | null;
|
|
251
251
|
}
|
|
252
252
|
const ListInsightsResponseResultItem =
|
|
253
|
-
/*@__PURE__*/
|
|
253
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
254
254
|
Schema.Struct({
|
|
255
255
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
256
256
|
issues: Schema.optional(Schema.Union([Schema.Array(Issue), Schema.Null])),
|
|
@@ -308,16 +308,12 @@ interface ListInsightsResponseResult {
|
|
|
308
308
|
}[]
|
|
309
309
|
| null;
|
|
310
310
|
}
|
|
311
|
-
const ListInsightsResponseResult = /*@__PURE__*/
|
|
312
|
-
(
|
|
313
|
-
Schema.
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
Schema.Null,
|
|
318
|
-
]),
|
|
319
|
-
),
|
|
320
|
-
}),
|
|
311
|
+
const ListInsightsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
312
|
+
Schema.Struct({
|
|
313
|
+
items: Schema.optional(
|
|
314
|
+
Schema.Union([Schema.Array(ListInsightsResponseResultItem), Schema.Null]),
|
|
315
|
+
),
|
|
316
|
+
}),
|
|
321
317
|
) as unknown as Schema.Codec<ListInsightsResponseResult>;
|
|
322
318
|
|
|
323
319
|
interface ListInsightsResponseResultInfo {
|
|
@@ -327,7 +323,7 @@ interface ListInsightsResponseResultInfo {
|
|
|
327
323
|
totalCount?: number | null;
|
|
328
324
|
}
|
|
329
325
|
const ListInsightsResponseResultInfo =
|
|
330
|
-
/*@__PURE__*/
|
|
326
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
331
327
|
Schema.Struct({
|
|
332
328
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
333
329
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -346,7 +342,7 @@ const ListInsightsResponseResultInfo =
|
|
|
346
342
|
interface Source {
|
|
347
343
|
pointer?: string | null;
|
|
348
344
|
}
|
|
349
|
-
const Source = /*@__PURE__*/
|
|
345
|
+
const Source = /*@__PURE__*/ Schema.suspend(() =>
|
|
350
346
|
Schema.Struct({
|
|
351
347
|
pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
352
348
|
}),
|
|
@@ -358,7 +354,7 @@ interface Error2 {
|
|
|
358
354
|
documentationUrl?: string | null;
|
|
359
355
|
source?: { pointer?: string | null } | null;
|
|
360
356
|
}
|
|
361
|
-
const Error2 = /*@__PURE__*/
|
|
357
|
+
const Error2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
362
358
|
Schema.Struct({
|
|
363
359
|
code: Schema.Number,
|
|
364
360
|
message: Schema.String,
|
|
@@ -380,7 +376,7 @@ interface ClassGetResponseItem {
|
|
|
380
376
|
count?: number | null;
|
|
381
377
|
value?: string | null;
|
|
382
378
|
}
|
|
383
|
-
const ClassGetResponseItem = /*@__PURE__*/
|
|
379
|
+
const ClassGetResponseItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
384
380
|
Schema.Struct({
|
|
385
381
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
386
382
|
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -436,7 +432,7 @@ export interface ListByInsightInsightAuditLogForZoneRequest extends ListByInsigh
|
|
|
436
432
|
}
|
|
437
433
|
|
|
438
434
|
export const ListByInsightInsightAuditLogForAccountRequest =
|
|
439
|
-
/*@__PURE__*/
|
|
435
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
440
436
|
Schema.Struct({
|
|
441
437
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
442
438
|
...ListByInsightInsightAuditLogBaseFields,
|
|
@@ -449,7 +445,7 @@ export const ListByInsightInsightAuditLogForAccountRequest =
|
|
|
449
445
|
) as unknown as Schema.Codec<ListByInsightInsightAuditLogForAccountRequest>;
|
|
450
446
|
|
|
451
447
|
export const ListByInsightInsightAuditLogForZoneRequest =
|
|
452
|
-
/*@__PURE__*/
|
|
448
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
453
449
|
Schema.Struct({
|
|
454
450
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
455
451
|
...ListByInsightInsightAuditLogBaseFields,
|
|
@@ -481,7 +477,7 @@ export interface ListByInsightInsightAuditLogResponse {
|
|
|
481
477
|
}
|
|
482
478
|
|
|
483
479
|
export const ListByInsightInsightAuditLogResponse =
|
|
484
|
-
/*@__PURE__*/
|
|
480
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
485
481
|
Schema.Struct({
|
|
486
482
|
result: Schema.Array(ListByInsightInsightAuditLogResponseResult),
|
|
487
483
|
resultInfo: Schema.optional(
|
|
@@ -500,7 +496,7 @@ export const listByInsightInsightAuditLogForAccount: API.PaginatedOperationMetho
|
|
|
500
496
|
ListByInsightInsightAuditLogResponse,
|
|
501
497
|
ListByInsightInsightAuditLogError,
|
|
502
498
|
Credentials | HttpClient.HttpClient
|
|
503
|
-
> = /*@__PURE__*/
|
|
499
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
504
500
|
input: ListByInsightInsightAuditLogForAccountRequest,
|
|
505
501
|
output: ListByInsightInsightAuditLogResponse,
|
|
506
502
|
errors: [],
|
|
@@ -518,7 +514,7 @@ export const listByInsightInsightAuditLogForZone: API.PaginatedOperationMethod<
|
|
|
518
514
|
ListByInsightInsightAuditLogResponse,
|
|
519
515
|
ListByInsightInsightAuditLogError,
|
|
520
516
|
Credentials | HttpClient.HttpClient
|
|
521
|
-
> = /*@__PURE__*/
|
|
517
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
522
518
|
input: ListByInsightInsightAuditLogForZoneRequest,
|
|
523
519
|
output: ListByInsightInsightAuditLogResponse,
|
|
524
520
|
errors: [],
|
|
@@ -659,7 +655,7 @@ export interface ListInsightsForZoneRequest extends ListInsightsBaseRequest {
|
|
|
659
655
|
}
|
|
660
656
|
|
|
661
657
|
export const ListInsightsForAccountRequest =
|
|
662
|
-
/*@__PURE__*/
|
|
658
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
663
659
|
Schema.Struct({
|
|
664
660
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
665
661
|
...ListInsightsBaseFields,
|
|
@@ -672,7 +668,7 @@ export const ListInsightsForAccountRequest =
|
|
|
672
668
|
) as unknown as Schema.Codec<ListInsightsForAccountRequest>;
|
|
673
669
|
|
|
674
670
|
export const ListInsightsForZoneRequest =
|
|
675
|
-
/*@__PURE__*/
|
|
671
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
676
672
|
Schema.Struct({
|
|
677
673
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
678
674
|
...ListInsightsBaseFields,
|
|
@@ -740,14 +736,13 @@ export interface ListInsightsResponse {
|
|
|
740
736
|
} | null;
|
|
741
737
|
}
|
|
742
738
|
|
|
743
|
-
export const ListInsightsResponse = /*@__PURE__*/
|
|
744
|
-
(
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
|
|
739
|
+
export const ListInsightsResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
740
|
+
Schema.Struct({
|
|
741
|
+
result: ListInsightsResponseResult,
|
|
742
|
+
resultInfo: Schema.optional(
|
|
743
|
+
Schema.Union([ListInsightsResponseResultInfo, Schema.Null]),
|
|
744
|
+
),
|
|
745
|
+
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
|
|
751
746
|
) as unknown as Schema.Codec<ListInsightsResponse>;
|
|
752
747
|
|
|
753
748
|
export type ListInsightsError = DefaultErrors;
|
|
@@ -757,7 +752,7 @@ export const listInsightsForAccount: API.PaginatedOperationMethod<
|
|
|
757
752
|
ListInsightsResponse,
|
|
758
753
|
ListInsightsError,
|
|
759
754
|
Credentials | HttpClient.HttpClient
|
|
760
|
-
> = /*@__PURE__*/
|
|
755
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
761
756
|
input: ListInsightsForAccountRequest,
|
|
762
757
|
output: ListInsightsResponse,
|
|
763
758
|
errors: [],
|
|
@@ -775,7 +770,7 @@ export const listInsightsForZone: API.PaginatedOperationMethod<
|
|
|
775
770
|
ListInsightsResponse,
|
|
776
771
|
ListInsightsError,
|
|
777
772
|
Credentials | HttpClient.HttpClient
|
|
778
|
-
> = /*@__PURE__*/
|
|
773
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
779
774
|
input: ListInsightsForZoneRequest,
|
|
780
775
|
output: ListInsightsResponse,
|
|
781
776
|
errors: [],
|
|
@@ -810,7 +805,7 @@ export interface DismissInsightForZoneRequest extends DismissInsightBaseRequest
|
|
|
810
805
|
}
|
|
811
806
|
|
|
812
807
|
export const DismissInsightForAccountRequest =
|
|
813
|
-
/*@__PURE__*/
|
|
808
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
814
809
|
Schema.Struct({
|
|
815
810
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
816
811
|
...DismissInsightBaseFields,
|
|
@@ -823,7 +818,7 @@ export const DismissInsightForAccountRequest =
|
|
|
823
818
|
) as unknown as Schema.Codec<DismissInsightForAccountRequest>;
|
|
824
819
|
|
|
825
820
|
export const DismissInsightForZoneRequest =
|
|
826
|
-
/*@__PURE__*/
|
|
821
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
827
822
|
Schema.Struct({
|
|
828
823
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
829
824
|
...DismissInsightBaseFields,
|
|
@@ -853,7 +848,7 @@ export interface DismissInsightResponse {
|
|
|
853
848
|
}
|
|
854
849
|
|
|
855
850
|
export const DismissInsightResponse =
|
|
856
|
-
/*@__PURE__*/
|
|
851
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
857
852
|
Schema.Struct({
|
|
858
853
|
errors: Schema.Array(Error2),
|
|
859
854
|
messages: Schema.Array(Error2),
|
|
@@ -868,7 +863,7 @@ export const dismissInsightForAccount: API.OperationMethod<
|
|
|
868
863
|
DismissInsightResponse,
|
|
869
864
|
DismissInsightError,
|
|
870
865
|
Credentials | HttpClient.HttpClient
|
|
871
|
-
> = /*@__PURE__*/
|
|
866
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
872
867
|
input: DismissInsightForAccountRequest,
|
|
873
868
|
output: DismissInsightResponse,
|
|
874
869
|
errors: [],
|
|
@@ -879,7 +874,7 @@ export const dismissInsightForZone: API.OperationMethod<
|
|
|
879
874
|
DismissInsightResponse,
|
|
880
875
|
DismissInsightError,
|
|
881
876
|
Credentials | HttpClient.HttpClient
|
|
882
|
-
> = /*@__PURE__*/
|
|
877
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
883
878
|
input: DismissInsightForZoneRequest,
|
|
884
879
|
output: DismissInsightResponse,
|
|
885
880
|
errors: [],
|
|
@@ -932,7 +927,7 @@ export interface ListInsightAuditLogsForZoneRequest extends ListInsightAuditLogs
|
|
|
932
927
|
}
|
|
933
928
|
|
|
934
929
|
export const ListInsightAuditLogsForAccountRequest =
|
|
935
|
-
/*@__PURE__*/
|
|
930
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
936
931
|
Schema.Struct({
|
|
937
932
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
938
933
|
...ListInsightAuditLogsBaseFields,
|
|
@@ -945,7 +940,7 @@ export const ListInsightAuditLogsForAccountRequest =
|
|
|
945
940
|
) as unknown as Schema.Codec<ListInsightAuditLogsForAccountRequest>;
|
|
946
941
|
|
|
947
942
|
export const ListInsightAuditLogsForZoneRequest =
|
|
948
|
-
/*@__PURE__*/
|
|
943
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
949
944
|
Schema.Struct({
|
|
950
945
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
951
946
|
...ListInsightAuditLogsBaseFields,
|
|
@@ -977,7 +972,7 @@ export interface ListInsightAuditLogsResponse {
|
|
|
977
972
|
}
|
|
978
973
|
|
|
979
974
|
export const ListInsightAuditLogsResponse =
|
|
980
|
-
/*@__PURE__*/
|
|
975
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
981
976
|
Schema.Struct({
|
|
982
977
|
result: Schema.Array(ListByInsightInsightAuditLogResponseResult),
|
|
983
978
|
resultInfo: Schema.optional(
|
|
@@ -996,7 +991,7 @@ export const listInsightAuditLogsForAccount: API.PaginatedOperationMethod<
|
|
|
996
991
|
ListInsightAuditLogsResponse,
|
|
997
992
|
ListInsightAuditLogsError,
|
|
998
993
|
Credentials | HttpClient.HttpClient
|
|
999
|
-
> = /*@__PURE__*/
|
|
994
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1000
995
|
input: ListInsightAuditLogsForAccountRequest,
|
|
1001
996
|
output: ListInsightAuditLogsResponse,
|
|
1002
997
|
errors: [],
|
|
@@ -1014,7 +1009,7 @@ export const listInsightAuditLogsForZone: API.PaginatedOperationMethod<
|
|
|
1014
1009
|
ListInsightAuditLogsResponse,
|
|
1015
1010
|
ListInsightAuditLogsError,
|
|
1016
1011
|
Credentials | HttpClient.HttpClient
|
|
1017
|
-
> = /*@__PURE__*/
|
|
1012
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1018
1013
|
input: ListInsightAuditLogsForZoneRequest,
|
|
1019
1014
|
output: ListInsightAuditLogsResponse,
|
|
1020
1015
|
errors: [],
|
|
@@ -1151,7 +1146,7 @@ export interface GetInsightClassForZoneRequest extends GetInsightClassBaseReques
|
|
|
1151
1146
|
}
|
|
1152
1147
|
|
|
1153
1148
|
export const GetInsightClassForAccountRequest =
|
|
1154
|
-
/*@__PURE__*/
|
|
1149
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1155
1150
|
Schema.Struct({
|
|
1156
1151
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1157
1152
|
...GetInsightClassBaseFields,
|
|
@@ -1164,7 +1159,7 @@ export const GetInsightClassForAccountRequest =
|
|
|
1164
1159
|
) as unknown as Schema.Codec<GetInsightClassForAccountRequest>;
|
|
1165
1160
|
|
|
1166
1161
|
export const GetInsightClassForZoneRequest =
|
|
1167
|
-
/*@__PURE__*/
|
|
1162
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1168
1163
|
Schema.Struct({
|
|
1169
1164
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1170
1165
|
...GetInsightClassBaseFields,
|
|
@@ -1182,7 +1177,7 @@ export type GetInsightClassResponse = {
|
|
|
1182
1177
|
}[];
|
|
1183
1178
|
|
|
1184
1179
|
export const GetInsightClassResponse =
|
|
1185
|
-
/*@__PURE__*/
|
|
1180
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1186
1181
|
Schema.Array(ClassGetResponseItem).pipe(T.ResponsePath("result")),
|
|
1187
1182
|
) as unknown as Schema.Codec<GetInsightClassResponse>;
|
|
1188
1183
|
|
|
@@ -1193,7 +1188,7 @@ export const getInsightClassForAccount: API.OperationMethod<
|
|
|
1193
1188
|
GetInsightClassResponse,
|
|
1194
1189
|
GetInsightClassError,
|
|
1195
1190
|
Credentials | HttpClient.HttpClient
|
|
1196
|
-
> = /*@__PURE__*/
|
|
1191
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1197
1192
|
input: GetInsightClassForAccountRequest,
|
|
1198
1193
|
output: GetInsightClassResponse,
|
|
1199
1194
|
errors: [],
|
|
@@ -1204,7 +1199,7 @@ export const getInsightClassForZone: API.OperationMethod<
|
|
|
1204
1199
|
GetInsightClassResponse,
|
|
1205
1200
|
GetInsightClassError,
|
|
1206
1201
|
Credentials | HttpClient.HttpClient
|
|
1207
|
-
> = /*@__PURE__*/
|
|
1202
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1208
1203
|
input: GetInsightClassForZoneRequest,
|
|
1209
1204
|
output: GetInsightClassResponse,
|
|
1210
1205
|
errors: [],
|
|
@@ -1246,7 +1241,7 @@ export interface PatchInsightClassificationForZoneRequest extends PatchInsightCl
|
|
|
1246
1241
|
}
|
|
1247
1242
|
|
|
1248
1243
|
export const PatchInsightClassificationForAccountRequest =
|
|
1249
|
-
/*@__PURE__*/
|
|
1244
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1250
1245
|
Schema.Struct({
|
|
1251
1246
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1252
1247
|
...PatchInsightClassificationBaseFields,
|
|
@@ -1259,7 +1254,7 @@ export const PatchInsightClassificationForAccountRequest =
|
|
|
1259
1254
|
) as unknown as Schema.Codec<PatchInsightClassificationForAccountRequest>;
|
|
1260
1255
|
|
|
1261
1256
|
export const PatchInsightClassificationForZoneRequest =
|
|
1262
|
-
/*@__PURE__*/
|
|
1257
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1263
1258
|
Schema.Struct({
|
|
1264
1259
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1265
1260
|
...PatchInsightClassificationBaseFields,
|
|
@@ -1289,7 +1284,7 @@ export interface PatchInsightClassificationResponse {
|
|
|
1289
1284
|
}
|
|
1290
1285
|
|
|
1291
1286
|
export const PatchInsightClassificationResponse =
|
|
1292
|
-
/*@__PURE__*/
|
|
1287
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1293
1288
|
Schema.Struct({
|
|
1294
1289
|
errors: Schema.Array(Error2),
|
|
1295
1290
|
messages: Schema.Array(Error2),
|
|
@@ -1304,7 +1299,7 @@ export const patchInsightClassificationForAccount: API.OperationMethod<
|
|
|
1304
1299
|
PatchInsightClassificationResponse,
|
|
1305
1300
|
PatchInsightClassificationError,
|
|
1306
1301
|
Credentials | HttpClient.HttpClient
|
|
1307
|
-
> = /*@__PURE__*/
|
|
1302
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1308
1303
|
input: PatchInsightClassificationForAccountRequest,
|
|
1309
1304
|
output: PatchInsightClassificationResponse,
|
|
1310
1305
|
errors: [],
|
|
@@ -1315,7 +1310,7 @@ export const patchInsightClassificationForZone: API.OperationMethod<
|
|
|
1315
1310
|
PatchInsightClassificationResponse,
|
|
1316
1311
|
PatchInsightClassificationError,
|
|
1317
1312
|
Credentials | HttpClient.HttpClient
|
|
1318
|
-
> = /*@__PURE__*/
|
|
1313
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1319
1314
|
input: PatchInsightClassificationForZoneRequest,
|
|
1320
1315
|
output: PatchInsightClassificationResponse,
|
|
1321
1316
|
errors: [],
|
|
@@ -1332,7 +1327,7 @@ export interface GetInsightContextRequest {
|
|
|
1332
1327
|
}
|
|
1333
1328
|
|
|
1334
1329
|
export const GetInsightContextRequest =
|
|
1335
|
-
/*@__PURE__*/
|
|
1330
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1336
1331
|
Schema.Struct({
|
|
1337
1332
|
issueId: Schema.String.pipe(T.HttpPath("issueId")),
|
|
1338
1333
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1347,7 +1342,7 @@ export const GetInsightContextRequest =
|
|
|
1347
1342
|
export type GetInsightContextResponse = Record<string, unknown>;
|
|
1348
1343
|
|
|
1349
1344
|
export const GetInsightContextResponse =
|
|
1350
|
-
/*@__PURE__*/
|
|
1345
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1351
1346
|
Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")),
|
|
1352
1347
|
) as unknown as Schema.Codec<GetInsightContextResponse>;
|
|
1353
1348
|
|
|
@@ -1358,7 +1353,7 @@ export const getInsightContext: API.OperationMethod<
|
|
|
1358
1353
|
GetInsightContextResponse,
|
|
1359
1354
|
GetInsightContextError,
|
|
1360
1355
|
Credentials | HttpClient.HttpClient
|
|
1361
|
-
> = /*@__PURE__*/
|
|
1356
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1362
1357
|
input: GetInsightContextRequest,
|
|
1363
1358
|
output: GetInsightContextResponse,
|
|
1364
1359
|
errors: [],
|
|
@@ -1488,7 +1483,7 @@ export interface GetInsightSeverityForZoneRequest extends GetInsightSeverityBase
|
|
|
1488
1483
|
}
|
|
1489
1484
|
|
|
1490
1485
|
export const GetInsightSeverityForAccountRequest =
|
|
1491
|
-
/*@__PURE__*/
|
|
1486
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1492
1487
|
Schema.Struct({
|
|
1493
1488
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1494
1489
|
...GetInsightSeverityBaseFields,
|
|
@@ -1501,7 +1496,7 @@ export const GetInsightSeverityForAccountRequest =
|
|
|
1501
1496
|
) as unknown as Schema.Codec<GetInsightSeverityForAccountRequest>;
|
|
1502
1497
|
|
|
1503
1498
|
export const GetInsightSeverityForZoneRequest =
|
|
1504
|
-
/*@__PURE__*/
|
|
1499
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1505
1500
|
Schema.Struct({
|
|
1506
1501
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1507
1502
|
...GetInsightSeverityBaseFields,
|
|
@@ -1519,7 +1514,7 @@ export type GetInsightSeverityResponse = {
|
|
|
1519
1514
|
}[];
|
|
1520
1515
|
|
|
1521
1516
|
export const GetInsightSeverityResponse =
|
|
1522
|
-
/*@__PURE__*/
|
|
1517
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1523
1518
|
Schema.Array(ClassGetResponseItem).pipe(T.ResponsePath("result")),
|
|
1524
1519
|
) as unknown as Schema.Codec<GetInsightSeverityResponse>;
|
|
1525
1520
|
|
|
@@ -1530,7 +1525,7 @@ export const getInsightSeverityForAccount: API.OperationMethod<
|
|
|
1530
1525
|
GetInsightSeverityResponse,
|
|
1531
1526
|
GetInsightSeverityError,
|
|
1532
1527
|
Credentials | HttpClient.HttpClient
|
|
1533
|
-
> = /*@__PURE__*/
|
|
1528
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1534
1529
|
input: GetInsightSeverityForAccountRequest,
|
|
1535
1530
|
output: GetInsightSeverityResponse,
|
|
1536
1531
|
errors: [],
|
|
@@ -1541,7 +1536,7 @@ export const getInsightSeverityForZone: API.OperationMethod<
|
|
|
1541
1536
|
GetInsightSeverityResponse,
|
|
1542
1537
|
GetInsightSeverityError,
|
|
1543
1538
|
Credentials | HttpClient.HttpClient
|
|
1544
|
-
> = /*@__PURE__*/
|
|
1539
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1545
1540
|
input: GetInsightSeverityForZoneRequest,
|
|
1546
1541
|
output: GetInsightSeverityResponse,
|
|
1547
1542
|
errors: [],
|
|
@@ -1671,7 +1666,7 @@ export interface GetInsightTypeForZoneRequest extends GetInsightTypeBaseRequest
|
|
|
1671
1666
|
}
|
|
1672
1667
|
|
|
1673
1668
|
export const GetInsightTypeForAccountRequest =
|
|
1674
|
-
/*@__PURE__*/
|
|
1669
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1675
1670
|
Schema.Struct({
|
|
1676
1671
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1677
1672
|
...GetInsightTypeBaseFields,
|
|
@@ -1684,7 +1679,7 @@ export const GetInsightTypeForAccountRequest =
|
|
|
1684
1679
|
) as unknown as Schema.Codec<GetInsightTypeForAccountRequest>;
|
|
1685
1680
|
|
|
1686
1681
|
export const GetInsightTypeForZoneRequest =
|
|
1687
|
-
/*@__PURE__*/
|
|
1682
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1688
1683
|
Schema.Struct({
|
|
1689
1684
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1690
1685
|
...GetInsightTypeBaseFields,
|
|
@@ -1702,7 +1697,7 @@ export type GetInsightTypeResponse = {
|
|
|
1702
1697
|
}[];
|
|
1703
1698
|
|
|
1704
1699
|
export const GetInsightTypeResponse =
|
|
1705
|
-
/*@__PURE__*/
|
|
1700
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1706
1701
|
Schema.Array(ClassGetResponseItem).pipe(T.ResponsePath("result")),
|
|
1707
1702
|
) as unknown as Schema.Codec<GetInsightTypeResponse>;
|
|
1708
1703
|
|
|
@@ -1713,7 +1708,7 @@ export const getInsightTypeForAccount: API.OperationMethod<
|
|
|
1713
1708
|
GetInsightTypeResponse,
|
|
1714
1709
|
GetInsightTypeError,
|
|
1715
1710
|
Credentials | HttpClient.HttpClient
|
|
1716
|
-
> = /*@__PURE__*/
|
|
1711
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1717
1712
|
input: GetInsightTypeForAccountRequest,
|
|
1718
1713
|
output: GetInsightTypeResponse,
|
|
1719
1714
|
errors: [],
|
|
@@ -1724,7 +1719,7 @@ export const getInsightTypeForZone: API.OperationMethod<
|
|
|
1724
1719
|
GetInsightTypeResponse,
|
|
1725
1720
|
GetInsightTypeError,
|
|
1726
1721
|
Credentials | HttpClient.HttpClient
|
|
1727
|
-
> = /*@__PURE__*/
|
|
1722
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1728
1723
|
input: GetInsightTypeForZoneRequest,
|
|
1729
1724
|
output: GetInsightTypeResponse,
|
|
1730
1725
|
errors: [],
|
|
@@ -47,7 +47,7 @@ interface GetSecurityTxtResponse2 {
|
|
|
47
47
|
policy?: string[] | null;
|
|
48
48
|
preferredLanguages?: string | null;
|
|
49
49
|
}
|
|
50
|
-
const GetSecurityTxtResponse2 = /*@__PURE__*/
|
|
50
|
+
const GetSecurityTxtResponse2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
51
51
|
Schema.Struct({
|
|
52
52
|
acknowledgments: Schema.optional(
|
|
53
53
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
@@ -90,7 +90,7 @@ const GetSecurityTxtResponse2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
90
90
|
interface Source {
|
|
91
91
|
pointer?: string | null;
|
|
92
92
|
}
|
|
93
|
-
const Source = /*@__PURE__*/
|
|
93
|
+
const Source = /*@__PURE__*/ Schema.suspend(() =>
|
|
94
94
|
Schema.Struct({
|
|
95
95
|
pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
96
96
|
}),
|
|
@@ -102,7 +102,7 @@ interface Error2 {
|
|
|
102
102
|
documentationUrl?: string | null;
|
|
103
103
|
source?: { pointer?: string | null } | null;
|
|
104
104
|
}
|
|
105
|
-
const Error2 = /*@__PURE__*/
|
|
105
|
+
const Error2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
106
106
|
Schema.Struct({
|
|
107
107
|
code: Schema.Number,
|
|
108
108
|
message: Schema.String,
|
|
@@ -129,16 +129,15 @@ export interface GetSecurityTxtRequest {
|
|
|
129
129
|
zoneId: string;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
export const GetSecurityTxtRequest = /*@__PURE__*/
|
|
133
|
-
(
|
|
134
|
-
Schema.
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
),
|
|
132
|
+
export const GetSecurityTxtRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
133
|
+
Schema.Struct({
|
|
134
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
135
|
+
}).pipe(
|
|
136
|
+
T.Http({
|
|
137
|
+
method: "GET",
|
|
138
|
+
path: "/zones/{zone_id}/security-center/securitytxt",
|
|
139
|
+
}),
|
|
140
|
+
),
|
|
142
141
|
) as unknown as Schema.Codec<GetSecurityTxtRequest>;
|
|
143
142
|
|
|
144
143
|
export type GetSecurityTxtResponse =
|
|
@@ -156,7 +155,7 @@ export type GetSecurityTxtResponse =
|
|
|
156
155
|
| string;
|
|
157
156
|
|
|
158
157
|
export const GetSecurityTxtResponse =
|
|
159
|
-
/*@__PURE__*/
|
|
158
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
160
159
|
Schema.Union([GetSecurityTxtResponse2, Schema.String]).pipe(
|
|
161
160
|
T.ResponsePath("result"),
|
|
162
161
|
),
|
|
@@ -169,7 +168,7 @@ export const getSecurityTxt: API.OperationMethod<
|
|
|
169
168
|
GetSecurityTxtResponse,
|
|
170
169
|
GetSecurityTxtError,
|
|
171
170
|
Credentials | HttpClient.HttpClient
|
|
172
|
-
> = /*@__PURE__*/
|
|
171
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
173
172
|
input: GetSecurityTxtRequest,
|
|
174
173
|
output: GetSecurityTxtResponse,
|
|
175
174
|
errors: [Forbidden],
|
|
@@ -198,36 +197,35 @@ export interface PutSecurityTxtRequest {
|
|
|
198
197
|
preferredLanguages?: string;
|
|
199
198
|
}
|
|
200
199
|
|
|
201
|
-
export const PutSecurityTxtRequest = /*@__PURE__*/
|
|
202
|
-
(
|
|
203
|
-
Schema.
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
),
|
|
200
|
+
export const PutSecurityTxtRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
201
|
+
Schema.Struct({
|
|
202
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
203
|
+
acknowledgments: Schema.optional(Schema.Array(Schema.String)),
|
|
204
|
+
canonical: Schema.optional(Schema.Array(Schema.String)),
|
|
205
|
+
contact: Schema.optional(Schema.Array(Schema.String)),
|
|
206
|
+
enabled: Schema.optional(Schema.Boolean),
|
|
207
|
+
encryption: Schema.optional(Schema.Array(Schema.String)),
|
|
208
|
+
expires: Schema.optional(Schema.String),
|
|
209
|
+
hiring: Schema.optional(Schema.Array(Schema.String)),
|
|
210
|
+
policy: Schema.optional(Schema.Array(Schema.String)),
|
|
211
|
+
preferredLanguages: Schema.optional(Schema.String),
|
|
212
|
+
}).pipe(
|
|
213
|
+
Schema.encodeKeys({
|
|
214
|
+
acknowledgments: "acknowledgments",
|
|
215
|
+
canonical: "canonical",
|
|
216
|
+
contact: "contact",
|
|
217
|
+
enabled: "enabled",
|
|
218
|
+
encryption: "encryption",
|
|
219
|
+
expires: "expires",
|
|
220
|
+
hiring: "hiring",
|
|
221
|
+
policy: "policy",
|
|
222
|
+
preferredLanguages: "preferred_languages",
|
|
223
|
+
}),
|
|
224
|
+
T.Http({
|
|
225
|
+
method: "PUT",
|
|
226
|
+
path: "/zones/{zone_id}/security-center/securitytxt",
|
|
227
|
+
}),
|
|
228
|
+
),
|
|
231
229
|
) as unknown as Schema.Codec<PutSecurityTxtRequest>;
|
|
232
230
|
|
|
233
231
|
export interface PutSecurityTxtResponse {
|
|
@@ -248,7 +246,7 @@ export interface PutSecurityTxtResponse {
|
|
|
248
246
|
}
|
|
249
247
|
|
|
250
248
|
export const PutSecurityTxtResponse =
|
|
251
|
-
/*@__PURE__*/
|
|
249
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
252
250
|
Schema.Struct({
|
|
253
251
|
errors: Schema.Array(Error2),
|
|
254
252
|
messages: Schema.Array(Error2),
|
|
@@ -266,7 +264,7 @@ export const putSecurityTxt: API.OperationMethod<
|
|
|
266
264
|
PutSecurityTxtResponse,
|
|
267
265
|
PutSecurityTxtError,
|
|
268
266
|
Credentials | HttpClient.HttpClient
|
|
269
|
-
> = /*@__PURE__*/
|
|
267
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
270
268
|
input: PutSecurityTxtRequest,
|
|
271
269
|
output: PutSecurityTxtResponse,
|
|
272
270
|
errors: [Forbidden, SecurityTxtInvalid],
|
|
@@ -278,7 +276,7 @@ export interface DeleteSecurityTxtRequest {
|
|
|
278
276
|
}
|
|
279
277
|
|
|
280
278
|
export const DeleteSecurityTxtRequest =
|
|
281
|
-
/*@__PURE__*/
|
|
279
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
282
280
|
Schema.Struct({
|
|
283
281
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
284
282
|
}).pipe(
|
|
@@ -307,7 +305,7 @@ export interface DeleteSecurityTxtResponse {
|
|
|
307
305
|
}
|
|
308
306
|
|
|
309
307
|
export const DeleteSecurityTxtResponse =
|
|
310
|
-
/*@__PURE__*/
|
|
308
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
311
309
|
Schema.Struct({
|
|
312
310
|
errors: Schema.Array(Error2),
|
|
313
311
|
messages: Schema.Array(Error2),
|
|
@@ -322,7 +320,7 @@ export const deleteSecurityTxt: API.OperationMethod<
|
|
|
322
320
|
DeleteSecurityTxtResponse,
|
|
323
321
|
DeleteSecurityTxtError,
|
|
324
322
|
Credentials | HttpClient.HttpClient
|
|
325
|
-
> = /*@__PURE__*/
|
|
323
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
326
324
|
input: DeleteSecurityTxtRequest,
|
|
327
325
|
output: DeleteSecurityTxtResponse,
|
|
328
326
|
errors: [Forbidden],
|